@ai-development-environment/server 0.0.43 → 0.0.44
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.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment-profile/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment-profile/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/profile-response/route.js +1 -1
- package/standalone/.next/server/app/api/ios/profile-response/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/openapi.json/route.js +1 -1
- package/standalone/.next/server/app/api/openapi.json/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__00h1t-5._.js → [root-of-the-server]__0-ptbns._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0lrv7jk._.js → [root-of-the-server]__0-rk-gw._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0783dgt._.js → [root-of-the-server]__0-siu15._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0fbv1bw._.js → [root-of-the-server]__00l1ur7._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__09--bpf._.js → [root-of-the-server]__00pz9u-._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__00pg8ki._.js → [root-of-the-server]__00q730m._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__2195vvu._.js → [root-of-the-server]__03l7uod._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__09n1yz-._.js → [root-of-the-server]__04ytt8c._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1t1-x5a._.js → [root-of-the-server]__05l-vh9._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gyqdmk._.js → [root-of-the-server]__05o3hc7._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0kmxj4m._.js → [root-of-the-server]__0661gy0._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__03i41aw._.js → [root-of-the-server]__06v-y44._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__027a5vb._.js → [root-of-the-server]__0730ihs._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1yxu--t._.js → [root-of-the-server]__076321a._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0o-m0xx._.js → [root-of-the-server]__076y818._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0_d9q6w._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__16u_xzt._.js → [root-of-the-server]__0_smoou._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1pan46j._.js → [root-of-the-server]__0a61u23._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gm8rnl._.js → [root-of-the-server]__0a8ssv2._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__04ws4jm._.js → [root-of-the-server]__0cusg9h._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0dfk0up._.js → [root-of-the-server]__0czmmn3._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gvldsm._.js → [root-of-the-server]__0d157q5._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0dq1b6t._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0duw2z9._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0i8jv9o._.js → [root-of-the-server]__0f4mi_7._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0gwt8xn._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1mofk4t._.js → [root-of-the-server]__0jc7f-h._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__01k_3ze._.js → [root-of-the-server]__0ji4_aa._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0kffrvp._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1mlcdp1._.js → [root-of-the-server]__0lqruq_._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0_yro61._.js → [root-of-the-server]__0m-o7gg._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0ny_w4c._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qay7yq._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0ksul8g._.js → [root-of-the-server]__0qpwbwq._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0r73w_w._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0srh8bm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0syu0s0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__154lh-5._.js → [root-of-the-server]__0t0z79p._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0olwy-c._.js → [root-of-the-server]__0tt2s67._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1ric9t-._.js → [root-of-the-server]__0uz7ud6._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0s5dxd3._.js → [root-of-the-server]__0x7nzft._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0xro-tn._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__01lu84h._.js → [root-of-the-server]__10784d-._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__123on-v._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1wn2s2e._.js → [root-of-the-server]__12i2_e-._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__133en1z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13njn4x._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__145nk5b._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__14p-wic._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__14v5hwd._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1549etm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__15zod2l._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0xc-tua._.js → [root-of-the-server]__16lxm7i._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__176ofx1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1z2wsgn._.js → [root-of-the-server]__17yxr8i._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1sfzs44._.js → [root-of-the-server]__18_g5so._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0iayrsu._.js → [root-of-the-server]__198g-0l._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__19n37bl._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_z0-o0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1c91-d3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1cmajoo._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1cpfh84._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1dn92tm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1elf__p._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0ynkv_7._.js → [root-of-the-server]__1f2c4fv._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__1fnqwa3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1fumbd9._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0eaabcp._.js → [root-of-the-server]__1fwcg2w._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1gl82vr._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1f9ug94._.js → [root-of-the-server]__1j88891._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__1j89nx9._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ke6fy2._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0bl-go3._.js → [root-of-the-server]__1kr6xrb._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1kvooj6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1m7y79-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1md2i2u._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1mnaj5t._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1bfswt2._.js → [root-of-the-server]__1ohhyet._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1v2l-cb._.js → [root-of-the-server]__1pf55w3._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1q247bc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1qaicnm._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__15zmuuw._.js → [root-of-the-server]__1qpos_f._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1qr-aka._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0i2ljnx._.js → [root-of-the-server]__1syo7nr._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1v9n3yu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1xi2k6g._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1j0txpm._.js → [root-of-the-server]__1yta_xv._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1zadv3h._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__13l3v-v._.js → [root-of-the-server]__1zdk-iw._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1zwqj_g._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20rr3br._.js +3 -0
- package/standalone/.next/server/chunks/_00pgex-._.js +68 -66
- package/standalone/.next/server/chunks/_03k34hm._.js +4 -4
- package/standalone/.next/server/chunks/_04tltxp._.js +4 -4
- package/standalone/.next/server/chunks/_05ieldc._.js +4 -4
- package/standalone/.next/server/chunks/_0_3-lke._.js +2 -0
- package/standalone/.next/server/chunks/_1bpbnrs._.js +4 -4
- package/standalone/.next/server/chunks/_1hcmg6g._.js +4 -4
- package/standalone/.next/server/chunks/_1javz-p._.js +4 -4
- package/standalone/.next/server/chunks/_1qvlhr_._.js +4 -4
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e80fhr._.js +3 -3
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03nc3bp._.js → [root-of-the-server]__0k74961._.js} +4 -4
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__04fj378._.js → [root-of-the-server]__0tz354o._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1i04gpy._.js +27 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wpef1o._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0-_e-ox._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0-ih50c._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_08lb8p6._.js → _00_gb4o._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_012q7w6._.js +10 -10
- package/standalone/.next/server/chunks/ssr/_03kzeos._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_05ohevo._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_0jum_1m._.js → _0759zq8._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_07a5zv1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_117jkyy._.js → _09wh5xv._.js} +8 -3
- package/standalone/.next/server/chunks/ssr/_0c7yfj8._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_01cun29._.js → _0cynmyr._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0dir-eb._.js +34 -0
- package/standalone/.next/server/chunks/ssr/_0dvnys0._.js +5 -5
- package/standalone/.next/server/chunks/ssr/_0fha4pb._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0fk_1t_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0k5jx04._.js +5 -5
- package/standalone/.next/server/chunks/ssr/_0n98rd4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0nnwpvt._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_1c_ojfs._.js → _0pk2e_s._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0pm3j9j._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0rcby6e._.js +5 -5
- package/standalone/.next/server/chunks/ssr/{_170xw1h._.js → _0rx-o1y._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0ry7kff._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0t2jwg3._.js +31 -31
- package/standalone/.next/server/chunks/ssr/_0t5lgno._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0tc_1s_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_0m5obko._.js → _0w9r25f._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0ysjbys._.js +11 -0
- package/standalone/.next/server/chunks/ssr/_17q5b-5._.js +9 -0
- package/standalone/.next/server/chunks/ssr/{_1q79umx._.js → _196iuum._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1bga6ml._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1biqcz_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1bzibio._.js +31 -31
- package/standalone/.next/server/chunks/ssr/_1c34qp8._.js +2 -2
- package/standalone/.next/server/chunks/ssr/_1d-qtbz._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_04jk-xk._.js → _1ecln95._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1eoq6hs._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_1zqt7an._.js → _1h2b2b5._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1kwnjml._.js +34 -0
- package/standalone/.next/server/chunks/ssr/_1o8-fvv._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1pqjzks._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_1u7742_._.js → _1r1e3_z._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1rqnk8t._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1sjzp8l._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1tmllxv._.js +24 -0
- package/standalone/.next/server/chunks/ssr/_1uoc7zb._.js +6 -0
- package/standalone/.next/server/chunks/ssr/_1xs2spu._.js +3 -3
- package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +7 -7
- package/standalone/.next/server/chunks/ssr/{_0y9d64c._.js → _1zsu_6o._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_20pbep2._.js +2 -2
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/node_modules_1fko13n._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_1qembts._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1nipfj2._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-popper_dist_index_mjs_0428afp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_lucide-react_dist_esm_icons_1b76nr4._.js → node_modules_lucide-react_dist_esm_icons_15-ly7n._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1ye04e4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +16 -16
- package/standalone/.next/server/chunks/ssr/src_components_build-data_build-data-page_tsx_1t2rrh0._.js +11 -11
- package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +10 -10
- package/standalone/.next/server/chunks/ssr/src_components_builds_builds-page_tsx_17qzmsl._.js +8 -8
- package/standalone/.next/server/chunks/ssr/src_components_builds_configuration-icon_tsx_1v42ztc._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_cache-server_cache-page_tsx_0_-eo_e._.js +5 -5
- package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +11 -11
- package/standalone/.next/server/chunks/ssr/src_components_codebases_codebases-page_tsx_0wcj3k1._.js +10 -10
- package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +17 -17
- package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_devices_devices-page_tsx_1y45lv2._.js +8 -8
- package/standalone/.next/server/chunks/ssr/src_components_github_actions-page_tsx_18434xt._.js +4 -4
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-requests-page_tsx_1il3ga-._.js +12 -12
- package/standalone/.next/server/chunks/ssr/src_components_jira_cache-page_tsx_1znt1yl._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +15 -15
- package/standalone/.next/server/chunks/ssr/src_components_jira_tickets-page_tsx_0_ocldp._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_notifications_notifications-page_tsx_19f4ztg._.js +18 -18
- package/standalone/.next/server/chunks/ssr/src_components_push-notifications_push-notifications-page_tsx_1c_b-t4._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_settings-page_tsx_06dxqc7._.js +31 -31
- package/standalone/.next/server/chunks/ssr/src_components_signing-assets_provisioning-profiles-page_tsx_1zr20o7._.js +9 -9
- package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_telemetry_telemetry-page_tsx_0yzdpy6._.js +14 -14
- package/standalone/.next/server/chunks/ssr/src_components_ui_date-time_tsx_0zuage9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +4 -4
- 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/000lif3c0zhvu.js +80 -0
- package/standalone/.next/static/chunks/02wsz0adffqp8.js +28 -0
- package/standalone/.next/static/chunks/{2mth_pn5d54qo.js → 02zr1fj6sg9gn.js} +33 -33
- package/standalone/.next/static/chunks/{1k02pmb5ikjwl.js → 03cte61olt23o.js} +3 -3
- package/standalone/.next/static/chunks/{1ezpx5-kghuo6.js → 04inif3zp27ql.js} +11 -11
- package/standalone/.next/static/chunks/{2qe7etuh1bwv3.js → 04twsuitu09qc.js} +1 -1
- package/standalone/.next/static/chunks/{1g0hwagd4q811.js → 0ejnphkok3cbc.js} +1 -1
- package/standalone/.next/static/chunks/0f822nit06dft.js +9 -0
- package/standalone/.next/static/chunks/0fovjx-g7eta0.js +65 -0
- package/standalone/.next/static/chunks/{0b0w_wac5cqbn.js → 0fw1be4ry6k_r.js} +2 -2
- package/standalone/.next/static/chunks/{1ywyjstd4f1px.js → 0ikbwsq-7rewz.js} +1 -1
- package/standalone/.next/static/chunks/0ir2jvw5qtwnj.js +1 -0
- package/standalone/.next/static/chunks/0iwqaqr66hgne.js +1 -0
- package/standalone/.next/static/chunks/0k8int7jsgtz3.js +30 -0
- package/standalone/.next/static/chunks/{2a6rrto2ktoc_.js → 0nutq5ctjfc37.js} +5 -5
- package/standalone/.next/static/chunks/0u2tsyv0tassx.js +12 -0
- package/standalone/.next/static/chunks/0xaamcimitizu.js +1 -0
- package/standalone/.next/static/chunks/1-_hzodjvgft7.js +1 -0
- package/standalone/.next/static/chunks/10xbozbf30cv-.js +1 -0
- package/standalone/.next/static/chunks/{0579din_nqxhf.js → 14jtogt0f0nsh.js} +3 -3
- package/standalone/.next/static/chunks/169-gif_99pjd.js +41 -0
- package/standalone/.next/static/chunks/{349ls84c4dbp9.js → 18zmneu2dpo8s.js} +3 -3
- package/standalone/.next/static/chunks/{3bnkoq89szbzx.js → 1a4de2uh02g6b.js} +2 -2
- package/standalone/.next/static/chunks/1ch1iiugfh7pr.js +1 -0
- package/standalone/.next/static/chunks/1edawd0o38cx6.js +28 -0
- package/standalone/.next/static/chunks/1gz-q30e1qzuf.js +35 -0
- package/standalone/.next/static/chunks/{37kyqfr93cgmv.js → 1h5cc0dmoomfs.js} +33 -33
- package/standalone/.next/static/chunks/1hzt4mwdfnmv2.js +33 -0
- package/standalone/.next/static/chunks/{2b6qj3i_of-b7.js → 1k2n9o4o5p8s6.js} +1 -1
- package/standalone/.next/static/chunks/1ufkqj87rj6-i.js +1 -0
- package/standalone/.next/static/chunks/1z77ayhor3gtg.js +36 -0
- package/standalone/.next/static/chunks/2-1-vmcvalx28.js +1 -0
- package/standalone/.next/static/chunks/{1zqoc_5v6sshl.js → 28-e9fkcgfk62.js} +11 -11
- package/standalone/.next/static/chunks/{3rolhb6l918f3.js → 28jwnowa-b2u5.js} +5 -5
- package/standalone/.next/static/chunks/2ar0jmg8yo3_q.js +13 -0
- package/standalone/.next/static/chunks/{0duto9u8a-gcp.js → 2f9kasslyd1ss.js} +16 -16
- package/standalone/.next/static/chunks/{1jtaoae30sltr.js → 2ly2npblvc-_j.js} +17 -17
- package/standalone/.next/static/chunks/2vv30t-8y66id.js +1 -0
- package/standalone/.next/static/chunks/2x3_xry-6de68.css +1 -0
- package/standalone/.next/static/chunks/{1nc0w3yg2nwys.js → 2y3w6cb0dlmzd.js} +5 -5
- package/standalone/.next/static/chunks/2yayf07873iy6.js +1 -0
- package/standalone/.next/static/chunks/2yfhr6so_34cy.js +33 -0
- package/standalone/.next/static/chunks/{1jp3oxzet05xp.js → 2zftfpd-e3i12.js} +1 -1
- package/standalone/.next/static/chunks/{16n8heazfxgkp.js → 2zho87usah-sc.js} +1 -1
- package/standalone/.next/static/chunks/2zypdpeeqzci1.js +10 -0
- package/standalone/.next/static/chunks/{30xpb_0lt8jpx.js → 347ov6pk6gcg2.js} +11 -11
- package/standalone/.next/static/chunks/36h9gn_o83hax.js +4 -0
- package/standalone/.next/static/chunks/{0az2qcfmxe26_.js → 377e8qofcd6up.js} +9 -9
- package/standalone/.next/static/chunks/388484eodm15m.js +8 -0
- package/standalone/.next/static/chunks/3_as3_z1u3nnb.js +1 -0
- package/standalone/.next/static/chunks/3_g7zsn_y38wy.js +1 -0
- package/standalone/.next/static/chunks/{31pn-_jxgdd7h.js → 3ajafpxyeycth.js} +5 -5
- package/standalone/.next/static/chunks/3bqm7ynezy7eb.js +7 -0
- package/standalone/.next/static/chunks/3c4-hisg3lm8z.js +9 -0
- package/standalone/.next/static/chunks/{1h5y3qq56veer.js → 3f6axekan26k2.js} +3 -3
- package/standalone/.next/static/chunks/3gx3ywvr2ggbb.js +1 -0
- package/standalone/.next/static/chunks/3jqmoapzyq5tx.js +8 -0
- package/standalone/.next/static/chunks/3llcyep7mkp-i.js +155 -0
- package/standalone/.next/static/chunks/{1n1t0xlcfflb5.js → 3nmfnes9vz7cm.js} +8 -8
- package/standalone/.next/static/chunks/{2vu5ny7yd8uz6.js → 3o31isuqgjdgf.js} +17 -17
- package/standalone/.next/static/chunks/3u04m_dram50f.js +1 -0
- package/standalone/.next/static/chunks/3y3ginr-kriqa.js +39 -0
- package/standalone/.next/static/chunks/{1pmegdso5i73a.js → 40f0gc3x_52ei.js} +1 -1
- package/standalone/.next/static/chunks/40j-6wiq8b9d7.js +1 -0
- package/standalone/.next/static/chunks/{3tmt2fscg4x0a.js → 44pprg5jd-0j8.js} +13 -13
- package/standalone/.next/server/chunks/[root-of-the-server]__0hmxoy-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0na0kf5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o2r2g3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0qn2s4y._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0s36z37._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0sl88nm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0tx5g5o._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0uyjad8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0vwq0xl._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0wtla_4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0z-lmzl._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__11bmvex._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__11zhw_f._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__12yyk-v._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__152ip4m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1a28vw2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1bo7dgt._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1bzm9rj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dc6__1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1duupjc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dyeloz._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1e5dea0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1f4gxqa._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1gejcnd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1l-0_di._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1l33gc2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1nm1v2v._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1nzw_pg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1o02rgu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ofzum5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1qf_jx0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1rz3t-8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1rzexif._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1s_2-hp._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1tl4gde._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1u283f9._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1uek0dm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1v1kr7z._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1vhxr5_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1w36m17._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xws3pt._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1z15fu5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__20gqolc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__20no38f._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04beow0._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b4pivw._.js +0 -6
- package/standalone/.next/server/chunks/ssr/_00pb_-u._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_08ux-xx._.js +0 -35
- package/standalone/.next/server/chunks/ssr/_0_c2ksk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0_nha02._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0bpm26t._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0e64d91._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ho0wc7._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0jxepjk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0l6y7z2._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0sdizo4._.js +0 -34
- package/standalone/.next/server/chunks/ssr/_0zg79hi._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_11oshuh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_11z-hcq._.js +0 -34
- package/standalone/.next/server/chunks/ssr/_123h643._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1cc_dsb._.js +0 -34
- package/standalone/.next/server/chunks/ssr/_1mke0us._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1qy-wes._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1r4w1io._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1upie3e._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1vx9bqg._.js +0 -14
- package/standalone/.next/server/chunks/ssr/_1wmzpjb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0blr8x6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0ylkf4l._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1n5j09z._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1_ugphm._.js +0 -3
- package/standalone/.next/server/chunks/ssr/src_components_ui_select_tsx_0m__-6s._.js +0 -3
- package/standalone/.next/static/chunks/06711eeflvyu7.js +0 -1
- package/standalone/.next/static/chunks/0c9r1f3che9mf.css +0 -1
- package/standalone/.next/static/chunks/0ddp859-x81j2.js +0 -1
- package/standalone/.next/static/chunks/0evao2rpxqreq.js +0 -80
- package/standalone/.next/static/chunks/0nt5uq75yrfm2.js +0 -13
- package/standalone/.next/static/chunks/0okpg2ejyn95o.js +0 -9
- package/standalone/.next/static/chunks/0udza_i0n8xhm.js +0 -36
- package/standalone/.next/static/chunks/0vtavvo7gx3rr.js +0 -33
- package/standalone/.next/static/chunks/0xybrwnbju35k.js +0 -41
- package/standalone/.next/static/chunks/0y-5_7jbnsr0m.js +0 -1
- package/standalone/.next/static/chunks/12qdfeyqgqh62.js +0 -1
- package/standalone/.next/static/chunks/193m8crej9xrt.js +0 -7
- package/standalone/.next/static/chunks/1nkkb5gu3-rhf.js +0 -28
- package/standalone/.next/static/chunks/1ny7skwqcfglg.js +0 -39
- package/standalone/.next/static/chunks/1qebx-2i3ao34.js +0 -28
- package/standalone/.next/static/chunks/1zt6tg-4jpdru.js +0 -1
- package/standalone/.next/static/chunks/2-5c1n7c9ncu0.js +0 -12
- package/standalone/.next/static/chunks/29axmq_boxoc_.js +0 -1
- package/standalone/.next/static/chunks/2giql1u6bn9gi.js +0 -33
- package/standalone/.next/static/chunks/2nco50dwradd6.js +0 -8
- package/standalone/.next/static/chunks/2nr9sxr9bqwin.js +0 -8
- package/standalone/.next/static/chunks/31_9e-uzmy7vp.js +0 -35
- package/standalone/.next/static/chunks/31t_wgps20fl1.js +0 -4
- package/standalone/.next/static/chunks/331lb29dcb1ta.js +0 -1
- package/standalone/.next/static/chunks/369biqq4fd0sk.js +0 -1
- package/standalone/.next/static/chunks/37dd1jthysw7j.js +0 -10
- package/standalone/.next/static/chunks/3apliool1acey.js +0 -155
- package/standalone/.next/static/chunks/3d95bb1fej1i5.js +0 -1
- package/standalone/.next/static/chunks/3eumqpi7f1fek.js +0 -30
- package/standalone/.next/static/chunks/3f1yh13gawn34.js +0 -1
- package/standalone/.next/static/chunks/3mtxpg0cke1s1.js +0 -9
- package/standalone/.next/static/chunks/3qovaml41zb61.js +0 -1
- package/standalone/.next/static/chunks/3vuv-wz2jb38o.js +0 -65
- package/standalone/.next/static/chunks/44sbqm3y2mvct.js +0 -1
- /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_ssgManifest.js +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,624687,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Textarea",0,function({className:e,...r}){return(0,t.jsx)("textarea",{className:(0,a.cn)("min-h-24 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",e),...r})}])},711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},566595,e=>{"use strict";var t=e.i(630299);e.s(["Search",()=>t.default])},630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},59497,e=>{"use strict";var t=e.i(843476),a=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return a.useCallback(function(...e){return t=>{let a=!1,n=e.map(e=>{let n=r(e,t);return a||"function"!=typeof n||(a=!0),n});if(a)return()=>{for(let t=0;t<n.length;t++){let a=n[t];"function"==typeof a?a():r(e[t],null)}}}}(...e),e)}var i=e.i(30030);function s(e,t,{checkForDefaultPrevented:a=!0}={}){return function(r){if(e?.(r),!1===a||!r||!r.defaultPrevented)return t?.(r)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?a.useLayoutEffect:()=>{};a[" useEffectEvent ".trim().toString()],a[" useInsertionEffect ".trim().toString()];var o=a[" useInsertionEffect ".trim().toString()]||l;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"),m=Symbol.for("react.lazy");function x(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===m&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=a[" use ".trim().toString()],h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var i;let s,l=(i=`Primitive.${r}`,(s=a.forwardRef((e,t)=>{var r;let s,l,{children:o,...d}=e,c=null,u=!1,m=[];x(o)&&"function"==typeof f&&(o=f(o._payload)),a.Children.forEach(o,e=>{var t;if(t=e,a.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;x(t)&&"function"==typeof f&&(t=f(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null})(e,t),m.push(c?.props?.children)}else m.push(e)}),c?c=a.cloneElement(c,void 0,m):!u&&1===a.Children.count(o)&&a.isValidElement(o)&&(c=o);let h=c?(r=c,(l=(s=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?r.ref:(l=(s=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?r.props.ref:r.props.ref||r.ref):void 0,g=n(t,h);if(!c){if(o||0===o){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return o}let b=function(e,t){let a={...t};for(let r in t){let n=e[r],i=t[r];/^on[A-Z]/.test(r)?n&&i?a[r]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(a[r]=n):"style"===r?a[r]={...n,...i}:"className"===r&&(a[r]=[n,i].filter(Boolean).join(" "))}return{...e,...a}}(d,c.props??{});return c.type!==a.Fragment&&(b.ref=t?g:h),a.cloneElement(c,b)})).displayName=`${i}.Slot`,s),o=a.forwardRef((e,a)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:r,{...i,ref:a})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),g="Checkbox",[b,v]=(0,i.createContextScope)(g),[j,y]=b(g);function D(e){let{__scopeCheckbox:r,checked:n,children:i,defaultChecked:s,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:m="on",internal_do_not_use_render:x}=e,[f,h]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,s,l]=function({defaultProp:e,onChange:t}){let[r,n]=a.useState(e),i=a.useRef(r),s=a.useRef(t);return o(()=>{s.current=t},[t]),a.useEffect(()=>{i.current!==r&&(s.current?.(r),i.current=r)},[r,i]),[r,n,s]}({defaultProp:t,onChange:r}),d=void 0!==e,c=d?e:i;{let t=a.useRef(void 0!==e);a.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} 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,n])}return[c,a.useCallback(t=>{if(d){let a="function"==typeof t?t(e):t;a!==e&&l.current?.(a)}else s(t)},[d,e,s,l])]}({prop:n,defaultProp:s??!1,onChange:u,caller:g}),[b,v]=a.useState(null),[y,D]=a.useState(null),E=a.useRef(!1),C=!b||!!d||!!b.closest("form"),N={checked:f,disabled:l,setChecked:h,control:b,setControl:v,name:c,form:d,value:m,hasConsumerStoppedPropagationRef:E,required:p,defaultChecked:!A(s)&&s,isFormControl:C,bubbleInput:y,setBubbleInput:D};return(0,t.jsx)(j,{scope:r,...N,children:"function"==typeof x?x(N):i})}var E="CheckboxTrigger",C=a.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:i,...l},o)=>{let{control:d,value:c,disabled:u,checked:p,required:m,setControl:x,setChecked:f,hasConsumerStoppedPropagationRef:g,isFormControl:b,bubbleInput:v}=y(E,e),j=n(o,x),D=a.useRef(p);return a.useEffect(()=>{let e=d?.form;if(e){let t=()=>f(D.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,f]),(0,t.jsx)(h.button,{type:"button",role:"checkbox","aria-checked":A(p)?"mixed":p,"aria-required":m,"data-state":_(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:j,onKeyDown:s(r,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:s(i,e=>{f(e=>!!A(e)||!e),v&&b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});C.displayName=E;var N=a.forwardRef((e,a)=>{let{__scopeCheckbox:r,name:n,checked:i,defaultChecked:s,required:l,disabled:o,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(D,{__scopeCheckbox:r,checked:i,defaultChecked:s,disabled:o,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C,{...p,ref:a,__scopeCheckbox:r}),e&&(0,t.jsx)(I,{__scopeCheckbox:r})]})})});N.displayName=g;var S="CheckboxIndicator",w=a.forwardRef((e,a)=>{let{__scopeCheckbox:r,forceMount:n,...i}=e,s=y(S,r);return(0,t.jsx)(u.Presence,{present:n||A(s.checked)||!0===s.checked,children:(0,t.jsx)(h.span,{"data-state":_(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:a,style:{pointerEvents:"none",...e.style}})})});w.displayName=S;var T="CheckboxBubbleInput",I=a.forwardRef(({__scopeCheckbox:e,...r},i)=>{let{control:s,hasConsumerStoppedPropagationRef:l,checked:o,defaultChecked:u,required:p,disabled:m,name:x,value:f,form:g,bubbleInput:b,setBubbleInput:v}=y(T,e),j=n(i,v),D=(0,d.usePrevious)(o),E=(0,c.useSize)(s);a.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(D!==o&&e){let a=new Event("click",{bubbles:t});b.indeterminate=A(o),e.call(b,!A(o)&&o),b.dispatchEvent(a)}},[b,D,o,l]);let C=a.useRef(!A(o)&&o);return(0,t.jsx)(h.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??C.current,required:p,disabled:m,name:x,value:f,form:g,...r,tabIndex:-1,ref:j,style:{...r.style,...E,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function A(e){return"indeterminate"===e}function _(e){return A(e)?"indeterminate":e?"checked":"unchecked"}I.displayName=T,e.s(["Checkbox",0,N,"CheckboxIndicator",0,w,"Indicator",0,w,"Root",0,N,"createCheckboxScope",0,v,"unstable_BubbleInput",0,I,"unstable_CheckboxBubbleInput",0,I,"unstable_CheckboxProvider",0,D,"unstable_CheckboxTrigger",0,C,"unstable_Provider",0,D,"unstable_Trigger",0,C],388474);var R=e.i(388474),R=R,O=e.i(975157),B=e.i(593698);e.s(["Checkbox",0,function({className:e,...a}){return(0,t.jsx)(R.Root,{"data-slot":"checkbox",className:(0,O.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),...a,children:(0,t.jsx)(R.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(B.CheckIcon,{})})})}],59497)},929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let n=(0,a.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:a,...i}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,r.cn)(n({variant:a}),e),...i})},"AlertDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,r.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),...a})},"AlertTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,r.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...a})}])},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),a=e.i(975157),r=e.i(758379),r=r;e.s(["Spinner",0,function({className:e,...n}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...n})}],987968)},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.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),...n})},"CardAction",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,a.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...r})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.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),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(709840),n=e.i(975157);let i=(0,a.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:a="default",asChild:s=!1,...l}){let o=s?r.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,n.cn)(i({variant:a}),e),"data-slot":"badge","data-variant":a,...l})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...n}){return(0,t.jsx)("div",{className:(0,a.cn)("w-full overflow-x-auto",r),children:(0,t.jsx)("table",{className:(0,a.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{className:(0,a.cn)("divide-y",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{className:(0,a.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{className:(0,a.cn)("border-t bg-muted/50 font-medium",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{className:(0,a.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{className:(0,a.cn)("border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{className:(0,a.cn)("transition-colors hover:bg-muted/40",e),...r})}])},110204,e=>{"use strict";var t=e.i(843476),a=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var n=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=a[" use ".trim().toString()],o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{var o;let d,c=(o=`Primitive.${i}`,(d=a.forwardRef((e,t)=>{var i;let d,c,{children:u,...p}=e,m=null,x=!1,f=[];s(u)&&"function"==typeof l&&(u=l(u._payload)),a.Children.forEach(u,e=>{var t;if(t=e,a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===n){x=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof l&&(t=l(t._payload)),m=((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null})(e,t),f.push(m?.props?.children)}else f.push(e)}),m?m=a.cloneElement(m,void 0,f):!x&&1===a.Children.count(u)&&a.isValidElement(u)&&(m=u);let h=m?(i=m,(c=(d=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.ref:(c=(d=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,g=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,n=e.map(e=>{let n=r(e,t);return a||"function"!=typeof n||(a=!0),n});if(a)return()=>{for(let t=0;t<n.length;t++){let a=n[t];"function"==typeof a?a():r(e[t],null)}}}}(...e),e)}(t,h);if(!m){if(u||0===u){let e,t;throw Error(x?(e=o,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=o,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let a={...t};for(let r in t){let n=e[r],i=t[r];/^on[A-Z]/.test(r)?n&&i?a[r]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(a[r]=n):"style"===r?a[r]={...n,...i}:"className"===r&&(a[r]=[n,i].filter(Boolean).join(" "))}return{...e,...a}}(p,m.props??{});return m.type!==a.Fragment&&(b.ref=t?g:h),a.cloneElement(m,b)})).displayName=`${o}.Slot`,d),u=a.forwardRef((e,a)=>{let{asChild:r,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?c:i,{...n,ref:a})});return u.displayName=`Primitive.${i}`,{...e,[i]:u}},{}),d=a.forwardRef((e,a)=>(0,t.jsx)(o.label,{...e,ref:a,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,...a}){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),...a})}],110204)},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let a=t.useRef({value:e,previous:e});return t.useMemo(()=>(a.current.value!==e&&(a.current.previous=a.current.value,a.current.value=e),a.current.previous),[e])}])},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])},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let a=document.execCommand("copy");if(t.remove(),!a)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},867927,e=>{"use strict";var t=e.i(986253);e.s(["ChevronRight",()=>t.default])},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let n=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(n({variant:a,className:e})),...i})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},340953,e=>{"use strict";var t=e.i(843476),a=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 a.useCallback(function(...e){return t=>{let a=!1,r=e.map(e=>{let r=n(e,t);return a||"function"!=typeof r||(a=!0),r});if(a)return()=>{for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof a?a():n(e[t],null)}}}}(...e),e)}var s=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,r.createContextScope)(l,[s.createDialogScope]),c=(0,s.createDialogScope)(),u=e=>{let{__scopeAlertDialog:a,...r}=e,n=c(a);return(0,t.jsx)(s.Root,{...n,...r,modal:!0})};u.displayName=l;var p=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Trigger,{...i,...n,ref:a})});p.displayName="AlertDialogTrigger";var m=e=>{let{__scopeAlertDialog:a,...r}=e,n=c(a);return(0,t.jsx)(s.Portal,{...n,...r})};m.displayName="AlertDialogPortal";var x=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Overlay,{...i,...n,ref:a})});x.displayName="AlertDialogOverlay";var f="AlertDialogContent",[h,g]=o(f),b=a.forwardRef((e,r)=>{let{__scopeAlertDialog:n,children:l,...o}=e,d=c(n),u=i(r,a.useRef(null)),p=a.useRef(null);return(0,t.jsx)(h,{scope:n,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:a=!0}={}){return function(r){if(e?.(r),!1===a||!r||!r.defaultPrevented)return t?.(r)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});b.displayName=f;var v=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Title,{...i,...n,ref:a})});v.displayName="AlertDialogTitle";var j=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Description,{...i,...n,ref:a})});j.displayName="AlertDialogDescription";var y=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Close,{...i,...n,ref:a})});y.displayName="AlertDialogAction";var D="AlertDialogCancel",E=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:l}=g(D,r),o=c(r),d=i(a,l);return(0,t.jsx)(s.Close,{...o,...n,ref:d})});E.displayName=D,e.s(["Action",0,y,"AlertDialog",0,u,"AlertDialogAction",0,y,"AlertDialogCancel",0,E,"AlertDialogContent",0,b,"AlertDialogDescription",0,j,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,m,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,p,"Cancel",0,E,"Content",0,b,"Description",0,j,"Overlay",0,x,"Portal",0,m,"Root",0,u,"Title",0,v,"Trigger",0,p,"createAlertDialogScope",0,d],691162);var C=e.i(691162),C=C,N=e.i(975157),S=e.i(519455);function w({...e}){return(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e})}function T({...e}){return(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function I({...e}){return(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e})}function A({className:e,...a}){return(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.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),...a})}function _({className:e,size:a="default",...r}){return(0,t.jsxs)(I,{children:[(0,t.jsx)(A,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,N.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),...r})]})}function R({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.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),...a})}function O({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.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),...a})}function B({className:e,...a}){return(0,t.jsx)(C.Title,{"data-slot":"alert-dialog-title",className:(0,N.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),...a})}function k({className:e,...a}){return(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-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",e),...a})}function L({className:e,variant:a="default",size:r="default",...n}){return(0,t.jsx)(S.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...n})})}function $({className:e,variant:a="outline",size:r="default",...n}){return(0,t.jsx)(S.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:n,onOpenChange:i,open:s,title:l,trigger:o}){return(0,t.jsxs)(w,{onOpenChange:i,open:s,children:[o&&(0,t.jsx)(T,{asChild:!0,children:o}),(0,t.jsxs)(_,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(B,{children:l}),(0,t.jsx)(k,{children:r})]}),(0,t.jsxs)(O,{children:[(0,t.jsx)($,{children:a}),(0,t.jsx)(L,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},990142,e=>{"use strict";RegExp("^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$"),e.s(["CCUSAGE_REPORT_JOB_KIND",0,"ccusage.report"])},675926,e=>{"use strict";var t=e.i(843476),a=e.i(948148),r=e.i(487486),n=e.i(975157);e.s(["StatusBadge",0,function({status:e}){let i=(0,a.useTranslations)("status"),s="ONLINE"===e||"RUNNING"===e||"SUCCEEDED"===e,l="FAILED"===e||"TIMED_OUT"===e;return(0,t.jsx)(r.Badge,{className:(0,n.cn)(s&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",l&&"border-destructive/30 bg-destructive/10 text-destructive"),variant:s||l?"outline":"secondary",children:i(e.toLowerCase())})}])},929272,e=>{"use strict";let t=(0,e.i(456420).default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["Square",0,t],929272)},997695,e=>{"use strict";var t=e.i(843476),a=e.i(929272),r=e.i(948148),n=e.i(271645),i=e.i(929592),s=e.i(519455),l=e.i(515288),o=e.i(987968),d=e.i(520133),c=e.i(637611),u=e.i(975157),p=e.i(778434),m=e.i(675926);e.s(["JobMonitor",0,function({jobId:e,compact:x=!1}){let f=(0,r.useTranslations)("jobs"),[h,g]=(0,n.useState)(null),[b,v]=(0,n.useState)([]),[j,y]=(0,n.useState)(!0),[D,E]=(0,n.useState)(null),C=(0,n.useRef)(null),N=(0,n.useRef)(!0),S=(0,n.useCallback)(async()=>{try{let t=await (0,c.controlPlaneRequest)(`query Job($id: ID!) { agentJob(id: $id) { ${p.JOB_FIELDS} } agentJobLogs(jobId: $id) { ${p.JOB_LOG_FIELDS} } }`,{id:e});g(t.agentJob),v(t.agentJobLogs),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}finally{y(!1)}},[e]);(0,n.useEffect)(()=>{let t=window.setTimeout(()=>void S(),0),a=(0,c.controlPlaneSubscriptions)(),r=a.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${p.JOB_FIELDS} } }`,variables:{jobId:e}},{next:e=>e.data?.agentJobChanged&&g(e.data.agentJobChanged),error:()=>void 0,complete:()=>void 0}),n=a.subscribe({query:`subscription JobLog($jobId: ID!) { agentJobLogAdded(jobId: $jobId) { ${p.JOB_LOG_FIELDS} } }`,variables:{jobId:e}},{next:e=>{let t=e.data?.agentJobLogAdded;t&&v(e=>e.some(e=>e.sequence===t.sequence)?e:[...e,t].sort((e,t)=>e.sequence-t.sequence))},error:()=>void 0,complete:()=>void 0});return()=>{r(),n(),window.clearTimeout(t)}},[e,S]),(0,n.useEffect)(()=>{N.current&&C.current?.scrollTo({top:C.current.scrollHeight})},[b]);let w=async()=>{try{let t=await (0,c.controlPlaneRequest)(`mutation Cancel($jobId: ID!) { cancelAgentJob(jobId: $jobId) { ${p.JOB_FIELDS} } }`,{jobId:e});g(t.cancelAgentJob),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}};return D?(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:D})}):j?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(o.Spinner,{}),f("loading")]}):h?(0,t.jsx)(l.Card,{className:(0,u.cn)(x?"[--card-spacing:--spacing(4)]":void 0),children:(0,t.jsxs)(l.CardContent,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("h2",{className:"font-medium",children:h.kind}),(0,t.jsx)(m.StatusBadge,{status:h.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:h.id})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[x&&(0,t.jsx)(s.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(d.Link,{href:`/jobs/${h.id}`,children:f("open")})}),("QUEUED"===h.status||"RUNNING"===h.status)&&(0,t.jsxs)(s.Button,{onClick:()=>void w(),size:"sm",variant:"destructive",children:[(0,t.jsx)(a.Square,{}),f("cancel")]})]})]}),h.error&&(0,t.jsx)(i.Alert,{className:"mt-3",variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:h.error})}),(0,t.jsx)("div",{ref:C,className:(0,u.cn)("mt-4 overflow-auto rounded-lg border bg-zinc-950 p-3 font-mono text-xs leading-5 text-zinc-100",x?"h-80":"h-[32rem]"),onScroll:e=>{let t=e.currentTarget;N.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},children:0===b.length?(0,t.jsx)("span",{className:"text-zinc-500",children:f("waiting")}):b.map(e=>(0,t.jsxs)("div",{className:(0,u.cn)("whitespace-pre-wrap break-all","STDERR"===e.stream&&"text-amber-300","SYSTEM"===e.stream&&"text-sky-300"),children:[(0,t.jsx)("span",{className:"mr-2 select-none text-zinc-600",children:String(e.sequence).padStart(4,"0")}),e.message]},e.id))})]})}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:f("notFound")})}])},434719,e=>{"use strict";let t=String.raw`\b([A-Z][A-Z0-9_]*-\d+)\b`;e.s(["DEFAULT_JIRA_BRANCH_REGEX",0,t,"DEFAULT_WORKTREE_FETCH_INTERVAL_SECONDS",0,300,"MAX_WORKTREE_FETCH_INTERVAL_SECONDS",0,86400,"MIN_WORKTREE_FETCH_INTERVAL_SECONDS",0,60,"WORKTREE_BRANCH_JOB_KIND",0,"worktree.branch","WORKTREE_DELETE_JOB_KIND",0,"worktree.delete","WORKTREE_INSPECT_JOB_KIND",0,"worktree.inspect","WORKTREE_MOVE_CHECKOUT_JOB_KIND",0,"worktree.move.checkout","WORKTREE_MOVE_PUSH_JOB_KIND",0,"worktree.move.push","WORKTREE_OPERATION_JOB_KIND",0,"worktree.operation","WORKTREE_WATCH_JOB_KIND",0,"worktree.watch"])},421645,e=>{"use strict";e.s(["CODEBASE_BROWSE_JOB_KIND",0,"codebase.browse","CODEBASE_FETCH_JOB_KIND",0,"codebase.fetch","CODEBASE_GIT_INSPECT_JOB_KIND",0,"codebase.git.inspect","CODEBASE_GIT_OPERATION_JOB_KIND",0,"codebase.git.operation","CODEBASE_INSPECT_JOB_KIND",0,"codebase.inspect","CODEBASE_RECONCILE_EVENT_CAPABILITY",0,"codebase.reconcile.requested","CODEBASE_REFRESH_JOB_KIND",0,"codebase.refresh","DEFAULT_CODEBASE_RECONCILE_INTERVAL_SECONDS",0,30,"MAX_CODEBASE_RECONCILE_INTERVAL_SECONDS",0,3600,"MIN_CODEBASE_RECONCILE_INTERVAL_SECONDS",0,10])},874801,e=>{"use strict";var t=e.i(843476),a=e.i(867927),r=e.i(456420);let n=(0,r.default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),i=(0,r.default)("folder-check",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]]);var s=e.i(902434),s=s,l=e.i(948148),o=e.i(271645),d=e.i(929592),c=e.i(519455),u=e.i(59497),p=e.i(110204),m=e.i(987968),x=e.i(462777),f=e.i(637611);e.s(["AgentDirectoryBrowser",0,function({agentId:e,browseLabel:r,disabled:h=!1,initialPath:g=null,onPathChange:b,onSelect:v,selectIcon:j,selectLabel:y}){var D;let E=(0,l.useTranslations)("codebases"),[C,N]=(0,o.useState)(null),[S,w]=(0,o.useState)(!1),[T,I]=(0,o.useState)(!1),[A,_]=(0,o.useState)(null),R=(0,o.useRef)(0),O=(0,o.useCallback)(async t=>{let a=++R.current;I(!0);try{let r=await (0,f.controlPlaneRequest)(`mutation BrowseAgentDirectory($input: BrowseAgentDirectoryInput!) {
|
|
2
|
-
browseAgentDirectory(input: $input) {
|
|
3
|
-
path parentPath homePath truncated entries { name path hidden }
|
|
4
|
-
}
|
|
5
|
-
}`,{input:{agentId:e,path:t,requestId:(0,x.createClientId)()}});if(a!==R.current)return;N(r.browseAgentDirectory),b?.(r.browseAgentDirectory.path),_(null)}catch(e){if(a!==R.current)return;_(e instanceof Error?e.message:String(e))}finally{a===R.current&&I(!1)}},[e,b]);if((0,o.useEffect)(()=>{if(!g)return;let e=window.setTimeout(()=>void O(g),0);return()=>window.clearTimeout(e)},[O,g]),(0,o.useEffect)(()=>()=>{R.current+=1},[]),!C)return(0,t.jsxs)("div",{className:"space-y-3",children:[A&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:A})}),(0,t.jsxs)(c.Button,{disabled:T||h,onClick:()=>void O(null),type:"button",variant:"outline",children:[T?(0,t.jsx)(m.Spinner,{}):(0,t.jsx)(n,{})," ",r??E("browseHome")]})]});let B="/"===(D=C.path)?[{label:"/",path:"/"}]:[{label:"/",path:"/"},...D.split("/").filter(Boolean).map((e,t,a)=>({label:e,path:`/${a.slice(0,t+1).join("/")}`}))];return(0,t.jsxs)("div",{className:"space-y-3 rounded-lg border p-3",children:[A&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:A})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsx)(c.Button,{"aria-label":E("home"),disabled:T||h,onClick:()=>void O(C.homePath),size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(s.default,{})}),B.map((e,r)=>(0,t.jsxs)("span",{className:"flex items-center",children:[r>0&&(0,t.jsx)(a.ChevronRight,{className:"size-3 text-muted-foreground"}),(0,t.jsx)(c.Button,{disabled:T||h,onClick:()=>void O(e.path),size:"sm",type:"button",variant:"ghost",children:e.label})]},e.path))]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.Checkbox,{checked:S,id:`show-hidden-${e}`,onCheckedChange:e=>w(!!e)}),(0,t.jsx)(p.Label,{htmlFor:`show-hidden-${e}`,children:E("showHidden")})]}),(0,t.jsx)("div",{className:"max-h-64 overflow-y-auto rounded-md border",children:C.entries.filter(e=>S||!e.hidden).map(e=>(0,t.jsxs)(c.Button,{className:"h-auto w-full justify-start rounded-none border-b px-3 py-2 last:border-0",disabled:T||h,onClick:()=>void O(e.path),size:"sm",type:"button",variant:"ghost",children:[(0,t.jsx)(n,{className:"size-4"})," ",e.name]},e.path))}),C.truncated&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:E("truncated")}),v&&y&&(0,t.jsxs)(c.Button,{disabled:T||h,onClick:()=>void v(C.path),type:"button",children:[h?(0,t.jsx)(m.Spinner,{}):j??(0,t.jsx)(i,{})," ",y]})]})}],874801)},354576,e=>{"use strict";var t=e.i(843476),a=e.i(421645),r=e.i(711241),n=e.i(689664),i=e.i(716327),s=e.i(867927),l=e.i(508734),o=e.i(566595),d=e.i(573474),c=e.i(747925),u=e.i(861745),p=e.i(948148),m=e.i(271645),x=e.i(874801),f=e.i(997695),h=e.i(675926),g=e.i(340953),b=e.i(929592),v=e.i(487486),j=e.i(519455),y=e.i(515288),D=e.i(82612),E=e.i(793479),C=e.i(110204),N=e.i(987968),S=e.i(967489),w=e.i(784774),T=e.i(624687),I=e.i(520133),A=e.i(462777),_=e.i(637611),R=e.i(975157),O=e.i(778434),B=e.i(990142),k=e.i(434719);let L=()=>({codebaseId:"",folder:"",gitDirectory:"",expectedOrigin:"",baseBranch:null}),$=e=>"QUEUED"===e.status||"RUNNING"===e.status;function J(e,t){return e.some(e=>e.id===t.id)?e.map(e=>e.id===t.id?t:e):[t,...e]}function P({agent:e,canBrowseDirectories:a,onSaved:r}){let n=(0,p.useTranslations)("agentDetail"),[i,s]=(0,m.useState)(e.buildsDirectory??""),[l,o]=(0,m.useState)(!1),[c,u]=(0,m.useState)(null),f=async t=>{o(!0),u(null);try{let a=await (0,_.controlPlaneRequest)(`mutation UpdateAgentBuildsDirectory($agentId: ID!, $buildsDirectory: String) {
|
|
6
|
-
updateAgentBuildsDirectory(agentId: $agentId, buildsDirectory: $buildsDirectory) { ${O.AGENT_FIELDS} }
|
|
7
|
-
}`,{agentId:e.id,buildsDirectory:t});r(a.updateAgentBuildsDirectory),s(a.updateAgentBuildsDirectory.buildsDirectory??"")}catch(e){u(e instanceof Error?e.message:String(e))}finally{o(!1)}};return(0,t.jsxs)(y.Card,{children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:n("buildsDirectory")}),(0,t.jsx)(y.CardDescription,{children:n("buildsDirectoryDescription")})]}),(0,t.jsxs)(y.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"rounded-lg bg-muted p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("effectiveDirectory")}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:e.effectiveBuildsDirectory??n("notConfigured")}),!e.buildsDirectory&&e.baseRepoDirectory&&(0,t.jsx)(v.Badge,{className:"mt-2",variant:"outline",children:n("agentDefault")})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)(C.Label,{htmlFor:"builds-directory-path",children:n("customBuildsDirectory")}),(0,t.jsx)(E.Input,{disabled:l,id:"builds-directory-path",onChange:e=>s(e.target.value),placeholder:e.effectiveBuildsDirectory??"/Users/example/Repositories/Builds",value:i})]}),a&&(0,t.jsx)(x.AgentDirectoryBrowser,{agentId:e.id,browseLabel:n("browseBuildsDirectory"),disabled:l,onSelect:s,selectLabel:n("useDirectory")}),c&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:c})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(j.Button,{disabled:l||!i.trim(),onClick:()=>void f(i.trim()),children:[l&&(0,t.jsx)(N.Spinner,{})," ",n("saveBuildsDirectory")]}),e.buildsDirectory&&(0,t.jsxs)(j.Button,{disabled:l,onClick:()=>void f(null),variant:"outline",children:[(0,t.jsx)(d.Trash2,{})," ",n("useAgentDefault")]})]})]})]})}function F({agent:e,canBrowseDirectories:a,onSaved:r}){let n=(0,p.useTranslations)("agentDetail"),[i,s]=(0,m.useState)(e.derivedDataLocationMode??"DEFAULT"),[l,o]=(0,m.useState)(e.derivedDataPath??""),[d,c]=(0,m.useState)(!1),[u,f]=(0,m.useState)(null),h=async t=>{t.preventDefault(),c(!0),f(null);try{let t=await (0,_.controlPlaneRequest)(`mutation UpdateAgentDerivedDataSettings($agentId: ID!, $input: UpdateAgentDerivedDataSettingsInput!) {
|
|
8
|
-
updateAgentDerivedDataSettings(agentId: $agentId, input: $input) { ${O.AGENT_FIELDS} }
|
|
9
|
-
}`,{agentId:e.id,input:{mode:i,path:"DEFAULT"===i?null:l}});r(t.updateAgentDerivedDataSettings)}catch(e){f(e instanceof Error?e.message:String(e))}finally{c(!1)}};return(0,t.jsxs)(y.Card,{children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:n("derivedDataLocation")}),(0,t.jsx)(y.CardDescription,{children:n("derivedDataLocationDescription")})]}),(0,t.jsx)(y.CardContent,{children:(0,t.jsxs)("form",{className:"space-y-4",onSubmit:e=>void h(e),children:[(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)(C.Label,{htmlFor:"derived-data-mode",children:n("derivedDataMode")}),(0,t.jsxs)(S.Select,{disabled:d,onValueChange:e=>s(e),value:i,children:[(0,t.jsx)(S.SelectTrigger,{id:"derived-data-mode",children:(0,t.jsx)(S.SelectValue,{})}),(0,t.jsxs)(S.SelectContent,{children:[(0,t.jsx)(S.SelectItem,{value:"DEFAULT",children:n("derivedDataDefault")}),(0,t.jsx)(S.SelectItem,{value:"ABSOLUTE",children:n("derivedDataAbsolute")}),(0,t.jsx)(S.SelectItem,{value:"RELATIVE",children:n("derivedDataRelative")})]})]})]}),"DEFAULT"===i?(0,t.jsx)("div",{className:"rounded-lg bg-muted p-3 font-mono text-xs",children:"~/Library/Developer/Xcode/DerivedData"}):(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)(C.Label,{htmlFor:"derived-data-path",children:n("ABSOLUTE"===i?"derivedDataAbsolutePath":"derivedDataRelativePath")}),(0,t.jsx)(E.Input,{disabled:d,id:"derived-data-path",onChange:e=>o(e.target.value),placeholder:"ABSOLUTE"===i?"/Users/example/DerivedData":"DerivedData",value:l}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("ABSOLUTE"===i?"derivedDataAbsoluteHelp":"derivedDataRelativeHelp")})]}),"ABSOLUTE"===i&&a&&(0,t.jsx)(x.AgentDirectoryBrowser,{agentId:e.id,disabled:d,onSelect:o,selectLabel:n("useDirectory")}),u&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:u})}),(0,t.jsxs)(j.Button,{disabled:d||"DEFAULT"!==i&&!l.trim(),type:"submit",children:[d&&(0,t.jsx)(N.Spinner,{}),n("saveDerivedDataSettings")]})]})})]})}function H({label:e,value:a,mono:r=!1}){return(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:(0,R.cn)("truncate",r&&"font-mono text-xs"),title:a,children:a})]})}function z(e,t){let a=["B","KiB","MiB","GiB","TiB"],r=Math.min(Math.floor(Math.log(Math.max(e,1))/Math.log(1024)),a.length-1);return`${new Intl.NumberFormat(t,{maximumFractionDigits:1}).format(e/1024**r)} ${a[r]}`}function K({label:e,total:a,free:r,locale:n,unavailable:i,usedLabel:s,freeLabel:l}){if(null==a||null==r||a<=0)return(0,t.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,t.jsx)("p",{className:"font-medium",children:e}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:i})]});let o=Math.max(0,Math.min(r,a)),d=a-o,c=d/a*100;return(0,t.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("p",{className:"font-medium",children:e}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[Math.round(c),"%"]})]}),(0,t.jsx)("div",{className:"mt-3 h-2 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("div",{"aria-label":`${e}: ${Math.round(c)}%`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":Math.round(c),className:"h-full rounded-full bg-primary transition-[width]",role:"progressbar",style:{width:`${c}%`}})}),(0,t.jsxs)("dl",{className:"mt-3 grid grid-cols-2 gap-3 text-xs",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:s}),(0,t.jsx)("dd",{children:z(d,n)})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:l}),(0,t.jsx)("dd",{children:z(o,n)})]})]})]})}function M({agentId:e,capability:r,offline:n,onJobChanged:l}){let o=(0,p.useTranslations)("agentDetail"),[d,c]=(0,m.useState)(!1),u=r===a.CODEBASE_RECONCILE_EVENT_CAPABILITY,x=()=>c(e=>!e);return(0,t.jsxs)(m.Fragment,{children:[(0,t.jsxs)(w.TableRow,{"aria-expanded":d,"aria-label":o(d?"collapseCapability":"expandCapability",{capability:r}),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:x,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),x())},role:"button",tabIndex:0,children:[(0,t.jsx)(w.TableCell,{children:d?(0,t.jsx)(i.ChevronDown,{className:"size-4"}):(0,t.jsx)(s.ChevronRight,{className:"size-4"})}),(0,t.jsx)(w.TableCell,{className:"font-mono text-xs font-medium",children:r}),(0,t.jsx)(w.TableCell,{children:(0,t.jsx)(v.Badge,{variant:"outline",children:o(u?"event":"job")})})]}),(0,t.jsx)(w.TableRow,{className:d?"bg-muted/20 hover:bg-muted/20":"hidden",children:(0,t.jsx)(w.TableCell,{className:"whitespace-normal p-4",colSpan:3,children:(0,t.jsx)(U,{agentId:e,capability:r,eventCapability:u,offline:n,onJobChanged:l})})})]})}function U({agentId:e,capability:r,eventCapability:i,offline:s,onJobChanged:o}){let d=(0,p.useTranslations)("agentDetail"),u=(0,p.useTranslations)("tools"),[x,f]=(0,m.useState)(()=>JSON.stringify(function(e){switch(e){case"cloudflared.runTunnel":return{tunnelName:""};case B.CCUSAGE_REPORT_JOB_KIND:return{};case a.CODEBASE_BROWSE_JOB_KIND:return{path:null};case a.CODEBASE_INSPECT_JOB_KIND:return{folder:""};case a.CODEBASE_REFRESH_JOB_KIND:return{codebaseId:"",folder:"",expectedOrigin:""};case a.CODEBASE_FETCH_JOB_KIND:return{codebaseId:"",folder:"",expectedOrigin:"",baseBranch:"",keepBaseBranchUpToDate:!1};case a.CODEBASE_GIT_INSPECT_JOB_KIND:return{action:"STATE",codebaseId:"",folder:"",expectedOrigin:""};case a.CODEBASE_GIT_OPERATION_JOB_KIND:return{codebaseId:"",folder:"",expectedOrigin:"",defaultBranch:null,operation:"SWITCH_BRANCH",branch:"",stashChanges:!1};case k.WORKTREE_INSPECT_JOB_KIND:return L();case k.WORKTREE_OPERATION_JOB_KIND:return{...L(),operation:"SYNC"};case k.WORKTREE_WATCH_JOB_KIND:return{...L(),action:"START",watchId:""};case k.WORKTREE_BRANCH_JOB_KIND:return{codebaseId:"",rootFolder:"",folder:null,gitDirectory:null,expectedOrigin:"",baseBranch:"",action:"CREATE",mode:"NEW",candidates:[""],stashOnFailure:!1};case k.WORKTREE_MOVE_PUSH_JOB_KIND:return{moveId:"",codebaseId:"",folder:"",gitDirectory:"",expectedOrigin:"",branch:"",expectedHeadSha:""};case k.WORKTREE_MOVE_CHECKOUT_JOB_KIND:return{moveId:"",codebaseId:"",rootFolder:"",folder:null,gitDirectory:null,expectedOrigin:"",branch:"",expectedHeadSha:"",baseBranch:"",mode:"NEW",stashOnFailure:!1};case k.WORKTREE_DELETE_JOB_KIND:return{moveId:null,codebaseId:"",rootFolder:"",folder:"",gitDirectory:"",expectedOrigin:"",branch:null,defaultBranch:null,deleteRemoteBranch:!1,requireClean:!1,expectedHeadSha:null};default:return{}}}(r),null,2)),[h,g]=(0,m.useState)(null),[v,y]=(0,m.useState)(void 0),[D,E]=(0,m.useState)(null),[S,w]=(0,m.useState)(!1),[I,R]=(0,m.useState)(!1);(0,m.useEffect)(()=>{if(h&&$(h))return(0,_.controlPlaneSubscriptions)().subscribe({query:`subscription CapabilityJobChanged($jobId: ID!) {
|
|
10
|
-
agentJobChanged(jobId: $jobId) { ${O.JOB_FIELDS} }
|
|
11
|
-
}`,variables:{jobId:h.id}},{next:e=>{let t=e.data?.agentJobChanged;t&&(g(t),o(t))},error:()=>void 0,complete:()=>void 0})},[h,o]);let J=async t=>{t.preventDefault(),w(!0),E(null),R(!1);try{if(i){let t=await (0,_.controlPlaneRequest)(`mutation RequestAgentCodebaseReconcile($agentId: ID!) {
|
|
12
|
-
requestAgentCodebaseReconcile(agentId: $agentId)
|
|
13
|
-
}`,{agentId:e});y({accepted:t.requestAgentCodebaseReconcile}),g(null);return}let t=JSON.parse(x);if(!t||"object"!=typeof t||Array.isArray(t))throw Error(u("invalidJsonObject"));let a=await (0,_.controlPlaneRequest)(`mutation InvokeAgentCapability($input: CreateAgentJobInput!) {
|
|
14
|
-
createAgentJob(input: $input) { ${O.JOB_FIELDS} }
|
|
15
|
-
}`,{input:{agentId:e,kind:r,payload:t,idempotencyKey:`manual:${r}:${(0,A.createClientId)()}`,timeoutSeconds:86400}});g(a.createAgentJob),y(void 0),o(a.createAgentJob,!0)}catch(e){E(e instanceof SyntaxError?u("invalidJsonObject"):e instanceof Error?e.message:String(e)),g(null),y(void 0)}finally{w(!1)}},P=h?{status:h.status,result:h.result,error:h.error}:v,F=void 0===P?"":JSON.stringify(P,null,2),H=async()=>{try{await (0,A.copyText)(F),R(!0)}catch{E(u("copyFailed"))}};return(0,t.jsxs)("form",{className:"grid gap-4 lg:grid-cols-2",onSubmit:J,children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("h4",{className:"text-sm font-medium",children:u("parameters")}),i?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:d("eventCapabilityDescription")}):(0,t.jsxs)("div",{children:[(0,t.jsx)(C.Label,{className:"mb-1.5 block",htmlFor:`${r}-payload`,children:d("payload")}),(0,t.jsx)(T.Textarea,{className:"min-h-36 font-mono text-xs",id:`${r}-payload`,onChange:e=>f(e.target.value),spellCheck:!1,value:x})]}),(0,t.jsxs)(j.Button,{disabled:S||s,type:"submit",children:[S?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(c.Wrench,{}),S?u("running"):d("invoke")]}),s&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:d("invokeOffline")})]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsxs)("div",{className:"flex min-h-7 items-center justify-between gap-2",children:[(0,t.jsx)("h4",{className:"text-sm font-medium",children:u("response")}),void 0!==P&&(0,t.jsx)(j.Button,{"aria-label":I?u("copied"):u("copyResponse"),onClick:()=>void H(),size:"icon-sm",type:"button",variant:"ghost",children:I?(0,t.jsx)(n.Check,{}):(0,t.jsx)(l.Copy,{})})]}),D?(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:D})}):void 0===P?(0,t.jsx)("div",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:d("noCapabilityResponse")}):(0,t.jsx)("pre",{className:"max-h-96 overflow-auto rounded-lg bg-muted p-3 font-mono text-xs whitespace-pre-wrap",children:F})]})]})}function q({codebases:e,locale:a}){let r=(0,p.useTranslations)("agentDetail"),n=(0,p.useTranslations)("codebases");return(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:r("codebases")}),(0,t.jsx)(y.CardDescription,{children:r("codebasesDescription")})]}),0===e.length?(0,t.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:r("noCodebases")}):(0,t.jsxs)(w.Table,{children:[(0,t.jsx)(w.TableHeader,{children:(0,t.jsxs)(w.TableRow,{children:[(0,t.jsx)(w.TableHead,{children:r("repository")}),(0,t.jsx)(w.TableHead,{children:n("folder")}),(0,t.jsx)(w.TableHead,{children:n("branch")}),(0,t.jsx)(w.TableHead,{children:r("status")}),(0,t.jsx)(w.TableHead,{children:n("lastChecked")}),(0,t.jsx)(w.TableHead,{className:"w-20"})]})}),(0,t.jsx)(w.TableBody,{children:e.map(e=>(0,t.jsxs)(w.TableRow,{children:[(0,t.jsxs)(w.TableCell,{children:[(0,t.jsx)("p",{className:"font-medium",children:e.repository.name}),(0,t.jsx)("p",{className:"max-w-sm truncate font-mono text-xs text-muted-foreground",children:e.repository.displayOrigin})]}),(0,t.jsx)(w.TableCell,{className:"max-w-sm truncate font-mono text-xs",children:e.folder}),(0,t.jsx)(w.TableCell,{className:"font-mono text-xs",children:e.branch??e.headSha?.slice(0,10)??n("unknown")}),(0,t.jsx)(w.TableCell,{children:(0,t.jsx)(v.Badge,{className:(0,R.cn)("IN_SYNC"===e.syncState&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300"),variant:"outline",children:"AVAILABLE"===e.availability?n(`sync.${e.syncState}`):n(`availability.${e.availability}`)})}),(0,t.jsx)(w.TableCell,{children:e.lastCheckedAt?new Date(e.lastCheckedAt).toLocaleString(a):n("never")}),(0,t.jsx)(w.TableCell,{children:(0,t.jsx)(j.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsx)(I.Link,{href:`/codebases/${e.id}`,children:n("view")})})})]},e.id))})]})]})}e.s(["AgentDetail",0,function({agentId:e}){let n=(0,p.useTranslations)("agentDetail"),i=(0,p.useTranslations)("common"),s=(0,u.useLocale)(),l=(0,I.useRouter)(),[c,v]=(0,m.useState)(null),[C,S]=(0,m.useState)([]),[T,A]=(0,m.useState)([]),[B,k]=(0,m.useState)(""),[L,z]=(0,m.useState)(null),[U,V]=(0,m.useState)(!0),[W,G]=(0,m.useState)(null),[Z,X]=(0,m.useState)(!1),[Y,Q]=(0,m.useState)(!1),[ee,et]=(0,m.useState)(null),ea=(0,m.useRef)(0),er=(0,m.useCallback)(async()=>{let t=++ea.current;try{let a=await (0,_.controlPlaneRequest)(`query AgentDetail($id: ID!) {
|
|
16
|
-
agent(id: $id) { ${O.AGENT_FIELDS} }
|
|
17
|
-
agentJobs(agentId: $id) { ${O.JOB_FIELDS} }
|
|
18
|
-
codebaseOverview {
|
|
19
|
-
repositories {
|
|
20
|
-
id name description displayOrigin
|
|
21
|
-
codebases {
|
|
22
|
-
id folder branch headSha syncState availability lastCheckedAt
|
|
23
|
-
agent { id }
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}`,{id:e});if(t!==ea.current)return;v(a.agent),S(a.agentJobs),A((a.codebaseOverview?.repositories??[]).flatMap(t=>t.codebases.filter(t=>t.agent.id===e).map(e=>({id:e.id,folder:e.folder,branch:e.branch,headSha:e.headSha,syncState:e.syncState,availability:e.availability,lastCheckedAt:e.lastCheckedAt,repository:{id:t.id,name:t.name,description:t.description,displayOrigin:t.displayOrigin}})))),z(e=>e&&a.agentJobs.some(t=>t.id===e)?e:a.agentJobs[0]?.id??null),G(null)}catch(e){if(t!==ea.current)return;G(e instanceof Error?e.message:String(e))}finally{t===ea.current&&V(!1)}},[e]);(0,m.useEffect)(()=>{let t=window.setTimeout(()=>void er(),0),a=(0,_.controlPlaneSubscriptions)(),r=a.subscribe({query:`subscription AgentChanged($agentId: ID!) { agentChanged(agentId: $agentId) { ${O.AGENT_FIELDS} } }`,variables:{agentId:e}},{next:e=>e.data?.agentChanged&&v(e.data.agentChanged),error:()=>void 0,complete:()=>void 0}),n=a.subscribe({query:`subscription CodebaseOverviewChanged {
|
|
28
|
-
codebaseOverviewChanged { codebaseId repositoryId }
|
|
29
|
-
}`},{next:()=>void er(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),ea.current+=1,r(),n()}},[e,er]);let en=(0,m.useMemo)(()=>C.filter($).map(e=>e.id),[C]);(0,m.useEffect)(()=>{let e=(0,_.controlPlaneSubscriptions)(),t=en.map(t=>e.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${O.JOB_FIELDS} } }`,variables:{jobId:t}},{next:e=>{let t=e.data?.agentJobChanged;t&&S(e=>J(e,t))},error:()=>void 0,complete:()=>void 0}));return()=>t.forEach(e=>e())},[en]);let ei=async t=>{Q(!0),et(null);try{let a=await (0,_.controlPlaneRequest)(`mutation UpdateAgentBaseRepoDirectory($agentId: ID!, $baseRepoDirectory: String) {
|
|
30
|
-
updateAgentBaseRepoDirectory(agentId: $agentId, baseRepoDirectory: $baseRepoDirectory) {
|
|
31
|
-
${O.AGENT_FIELDS}
|
|
32
|
-
}
|
|
33
|
-
}`,{agentId:e,baseRepoDirectory:t});v(a.updateAgentBaseRepoDirectory)}catch(e){et(e instanceof Error?e.message:String(e))}finally{Q(!1)}},es=(0,m.useCallback)((e,t=!1)=>{S(t=>J(t,e)),t&&z(e.id)},[]),el=async()=>{X(!0),G(null);try{await (0,_.controlPlaneRequest)("mutation DeleteAgent($agentId: ID!) { deleteAgent(agentId: $agentId) }",{agentId:e}),l.push("/agents")}catch(e){G(e instanceof Error?e.message:String(e)),X(!1)}};if(U)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{}),n("loading")]});if(W&&!c)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-destructive",children:W});if(!c)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-muted-foreground",children:n("notFound")});let eo="ONLINE"===c.connectionStatus&&c.capabilities.includes(a.CODEBASE_BROWSE_JOB_KIND),ed=c.capabilities.filter(e=>e.toLocaleLowerCase().includes(B.toLocaleLowerCase()));return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)(j.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(I.Link,{href:"/agents",children:[(0,t.jsx)(r.ArrowLeft,{}),n("back")]})}),(0,t.jsx)(g.ConfirmationDialog,{actionLabel:n("deleteAgent"),cancelLabel:i("cancel"),description:n("deleteAgentDescription",{name:c.name}),onConfirm:el,title:n("deleteAgentTitle"),trigger:(0,t.jsxs)(j.Button,{disabled:Z,size:"sm",variant:"destructive",children:[Z?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(d.Trash2,{}),n("deleteAgent")]})})]}),W&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:W})}),(0,t.jsxs)(y.Card,{children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(y.CardTitle,{className:"text-2xl font-semibold tracking-tight",children:c.name}),(0,t.jsx)(h.StatusBadge,{status:c.connectionStatus})]}),(0,t.jsxs)(y.CardDescription,{className:"mt-1",children:[c.hostname," · ",c.osVersion," · ",c.architecture]})]}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:c.id})]})}),(0,t.jsxs)(y.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-medium",children:n("generalInformation")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("generalInformationDescription")})]}),(0,t.jsxs)("dl",{className:"grid gap-4 text-sm sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(H,{label:n("version"),value:c.version}),(0,t.jsx)(H,{label:n("cpuModel"),value:c.cpuModel??n("unavailable")}),(0,t.jsx)(H,{label:n("operatingSystem"),value:c.osVersion}),(0,t.jsx)(H,{label:n("architecture"),value:c.architecture}),(0,t.jsx)(H,{label:n("lastSeen"),value:c.lastSeenAt?new Date(c.lastSeenAt).toLocaleString(s):n("never")}),(0,t.jsx)(H,{label:n("ipAddress"),value:c.ipAddress??n("unavailable"),mono:!0})]}),(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsx)(K,{free:c.memoryFreeBytes,label:n("memory"),locale:s,total:c.memoryTotalBytes,unavailable:n("unavailable"),usedLabel:n("used"),freeLabel:n("free")}),(0,t.jsx)(K,{free:c.diskFreeBytes,label:n("disk"),locale:s,total:c.diskTotalBytes,unavailable:n("unavailable"),usedLabel:n("used"),freeLabel:n("free")})]})]})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:n("capabilities")}),(0,t.jsx)(y.CardDescription,{children:n("capabilitiesDescription")})]}),(0,t.jsx)("div",{className:"border-b p-4",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Search,{className:"pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(E.Input,{"aria-label":n("searchCapabilities"),className:"pl-9",onChange:e=>k(e.target.value),placeholder:n("searchCapabilitiesPlaceholder"),type:"search",value:B})]})}),0===ed.length?(0,t.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:n("noMatchingCapabilities")}):(0,t.jsxs)(w.Table,{children:[(0,t.jsx)(w.TableHeader,{children:(0,t.jsxs)(w.TableRow,{children:[(0,t.jsx)(w.TableHead,{className:"w-10"}),(0,t.jsx)(w.TableHead,{children:n("capability")}),(0,t.jsx)(w.TableHead,{children:n("kind")})]})}),(0,t.jsx)(w.TableBody,{children:ed.map(e=>(0,t.jsx)(M,{agentId:c.id,capability:e,offline:"ONLINE"!==c.connectionStatus,onJobChanged:es},e))})]})]}),(0,t.jsx)(q,{codebases:T,locale:s}),(0,t.jsxs)(y.Card,{children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:n("baseRepoDirectory")}),(0,t.jsx)(y.CardDescription,{children:n("baseRepoDirectoryDescription")})]}),(0,t.jsxs)(y.CardContent,{children:[(0,t.jsxs)("div",{className:"rounded-lg bg-muted p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("currentDirectory")}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:c.baseRepoDirectory??n("notConfigured")})]}),ee&&(0,t.jsx)(b.Alert,{className:"mt-4",variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:ee})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap items-start gap-2",children:[(0,t.jsx)("div",{className:"min-w-0 flex-1",children:eo?(0,t.jsx)(x.AgentDirectoryBrowser,{agentId:c.id,disabled:Y,onSelect:e=>ei(e),selectLabel:n("useDirectory")},`${c.id}:${c.baseRepoDirectory??""}`):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:n("directoryBrowsingUnavailable")})}),c.baseRepoDirectory&&(0,t.jsxs)(j.Button,{disabled:Y,onClick:()=>void ei(null),type:"button",variant:"outline",children:[(0,t.jsx)(d.Trash2,{})," ",n("clearDirectory")]})]})]})]}),(0,t.jsx)(F,{agent:c,canBrowseDirectories:eo,onSaved:v},`${c.id}:${c.derivedDataLocationMode??"DEFAULT"}:${c.derivedDataPath??""}`),(0,t.jsx)(P,{agent:c,canBrowseDirectories:eo,onSaved:v},`${c.id}:${c.buildsDirectory??"default"}:${c.defaultBuildsDirectory??""}`),L&&(0,t.jsx)(f.JobMonitor,{compact:!0,jobId:L},L),(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{className:"mb-3 font-medium",children:n("history")}),0===C.length?(0,t.jsx)(D.Empty,{children:(0,t.jsx)(D.EmptyHeader,{children:(0,t.jsx)(D.EmptyDescription,{children:n("noJobs")})})}):(0,t.jsx)(y.Card,{className:"gap-0 py-0",children:(0,t.jsxs)(w.Table,{children:[(0,t.jsx)(w.TableHeader,{children:(0,t.jsxs)(w.TableRow,{children:[(0,t.jsx)(w.TableHead,{children:n("job")}),(0,t.jsx)(w.TableHead,{children:n("status")}),(0,t.jsx)(w.TableHead,{children:n("created")}),(0,t.jsx)(w.TableHead,{children:n("finished")})]})}),(0,t.jsx)(w.TableBody,{children:C.map(e=>(0,t.jsxs)(w.TableRow,{"aria-current":L===e.id?"true":void 0,"aria-label":n("selectJob",{kind:e.kind}),className:(0,R.cn)("cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",L===e.id&&"bg-muted/50"),onClick:()=>z(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),z(e.id))},role:"button",tabIndex:0,children:[(0,t.jsx)(w.TableCell,{className:"font-mono text-xs font-medium",children:e.kind}),(0,t.jsx)(w.TableCell,{children:(0,t.jsx)(h.StatusBadge,{status:e.status})}),(0,t.jsx)(w.TableCell,{children:new Date(e.createdAt).toLocaleString(s)}),(0,t.jsx)(w.TableCell,{children:e.finishedAt?new Date(e.finishedAt).toLocaleString(s):"—"})]},e.id))})]})})]})]})}],354576)}]);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},688194,e=>{"use strict";e.s(["BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},687862,52253,e=>{"use strict";var t=e.i(843476),a=e.i(688194),l=e.i(636162),i=e.i(456420);let n=(0,i.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var s=e.i(876561);let r=(0,i.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),d=(0,i.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),c=(0,i.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var o=e.i(452330);let u=(0,i.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);var h=e.i(93384);let p=(0,i.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,i.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var g=e.i(21357);let x=(0,i.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var f=e.i(584026),v=e.i(986206),y=e.i(328623),b=e.i(604139);let S=(0,i.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var j=e.i(747925);let I={apple:l.Apple,"app-window":n,archive:s.Archive,beaker:r,box:d,bug:c,code:o.Code2,gauge:u,hammer:h.Hammer,layers:p,package:m,play:g.Play,rocket:x,shield:f.ShieldCheck,smartphone:v.Smartphone,sparkles:y.Sparkles,terminal:b.Terminal,"test-tube":S,wrench:j.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=I[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862);var k=e.i(77071);let C=(0,i.default)("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);var M=e.i(573474),N=e.i(948148),A=e.i(271645),E=e.i(929592),T=e.i(519455),P=e.i(59497),O=e.i(793479),w=e.i(110204),B=e.i(967489),V=e.i(987968),_=e.i(637611);e.s(["DEFAULT_EXPORT_SETTINGS",0,{method:"DEBUGGING",signingStyle:"AUTOMATIC",teamId:null,signingCertificate:null,provisioningProfiles:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1,stripSwiftSymbols:!0,thinning:null,iCloudContainerEnvironment:null,distributionBundleIdentifier:null},"ExportSettingsForm",0,function({value:e,onChange:l,onParseSigningRequirements:i,disabled:n=!1}){let s=(0,N.useTranslations)("builds"),[r,d]=(0,A.useState)(()=>Object.keys(e.provisioningProfiles).map(e=>({bundleId:e,name:e,target:e,platform:null,teamId:null,provisioningProfileSpecifier:null}))),[c,o]=(0,A.useState)(!1),[u,h]=(0,A.useState)(!1),[p,m]=(0,A.useState)(null),[g,x]=(0,A.useState)(""),[f,v]=(0,A.useState)(()=>new Set(Object.keys(e.provisioningProfiles))),y=(0,A.useId)(),[b,S]=(0,A.useState)(null);(0,A.useEffect)(()=>{let e=!1;return(0,_.controlPlaneRequest)(`query ExportSigningInventory {
|
|
2
|
-
signingAgents { supported }
|
|
3
|
-
signingCertificates { sha1 name teamId hasPrivateKey installedAgents { id } }
|
|
4
|
-
signingProfiles {
|
|
5
|
-
uuid name profileType bundleId teamId platforms expiresAt expired
|
|
6
|
-
certificateSha1s installedAgents { id }
|
|
7
|
-
}
|
|
8
|
-
}`).then(t=>{e||S({agentCount:t.signingAgents.filter(e=>e.supported).length,certificates:t.signingCertificates,profiles:t.signingProfiles})}).catch(()=>{e||S({agentCount:0,certificates:[],profiles:[]})}),()=>{e=!0}},[]);let j=(0,A.useMemo)(()=>[...new Set([...b?.certificates??[],...b?.profiles??[]].flatMap(e=>e.teamId??[]))],[b]),I=b?.certificates.find(t=>t.sha1===e.signingCertificate),R=Object.values(e.provisioningProfiles),L=R.flatMap(e=>{let t=b?.profiles.find(t=>t.uuid===e);return t?[t]:[]}),D=R.length>0&&L.length===R.length&&L.every(e=>e.certificateSha1s.length>0),U=t=>D?L.every(e=>e.certificateSha1s.map(e=>e.toUpperCase()).includes(t.sha1.toUpperCase())):!e.teamId||t.teamId===e.teamId,z=(b?.certificates??[]).filter(e=>e.hasPrivateKey).sort((e,t)=>Number(U(t))-Number(U(e))||e.name.localeCompare(t.name)),q=z.some(t=>t.sha1===e.signingCertificate),G=(t,a)=>l({...e,[t]:a}),H=(t,l=e.teamId)=>(b?.profiles??[]).filter(i=>{var n,s;return i.profileType===a.EXPORT_METHOD_PROFILE_TYPES[e.method]&&!i.expired&&(0,a.profileCoversBundle)(i.bundleId,t.bundleId)&&(n=i.platforms,!(s=t.platform)||0===n.length||("watchOS"===s?["watchOS","iOS"]:"visionOS"===s?["visionOS","xrOS"]:[s]).some(e=>n.includes(e)))&&(!l||!i.teamId||i.teamId===l)}).sort((e,t)=>(t.expiresAt??"").localeCompare(e.expiresAt??"")),F=async()=>{if(i){h(!0),m(null);try{let t=await i(),a=new Set(t.map(e=>e.bundleId)),n=r.filter(e=>f.has(e.bundleId)&&!a.has(e.bundleId)),s=[...t,...n];d(s),v(e=>new Set([...e].filter(e=>!a.has(e)))),o(!0);let c=[...new Set(t.flatMap(e=>e.teamId??[]))],u=e.teamId??(1===c.length?c[0]:null),h=Object.fromEntries(s.flatMap(t=>{let a=H(t,u),l=e.provisioningProfiles[t.bundleId],i=t.provisioningProfileSpecifier,n=(l?b?.profiles.find(e=>e.uuid===l&&!e.expired)??l:null)??a.find(e=>e.uuid===i||e.name===i)??a[0];return n?[[t.bundleId,"string"==typeof n?n:n.uuid]]:[]}));l({...e,teamId:u,provisioningProfiles:h})}catch(e){m(e instanceof Error?e.message:String(e))}finally{h(!1)}}};return(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 rounded-xl border p-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 sm:col-span-2 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("distributionMethod")}),(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("method",e),value:e.method,children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsx)(B.SelectContent,{children:a.BUILD_EXPORT_METHODS.map(e=>(0,t.jsx)(B.SelectItem,{value:e,children:s(`exportMethod.${e}`)},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("signingStyle")}),(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("signingStyle",e),value:e.signingStyle,children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsxs)(B.SelectContent,{children:[(0,t.jsx)(B.SelectItem,{value:"AUTOMATIC",children:s("automatic")}),(0,t.jsx)(B.SelectItem,{value:"MANUAL",children:s("manual")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("developmentTeam")}),j.length?(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("teamId",e),value:e.teamId??"",children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{placeholder:"ABCDE12345"})}),(0,t.jsx)(B.SelectContent,{children:j.map(e=>(0,t.jsx)(B.SelectItem,{value:e,children:e},e))})]}):(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("teamId",e.target.value||null),placeholder:"ABCDE12345",value:e.teamId??""})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(w.Label,{children:s("signingCertificate")}),b?.certificates.length?(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("signingCertificate","AUTOMATIC"===e?null:e),value:e.signingCertificate??"AUTOMATIC",children:[(0,t.jsx)(B.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsxs)(B.SelectContent,{children:[(0,t.jsx)(B.SelectItem,{value:"AUTOMATIC",children:s("certificateAutomatic")}),e.signingCertificate&&!q&&(0,t.jsxs)(B.SelectItem,{value:e.signingCertificate,children:[e.signingCertificate," · ",s("savedValueUnavailable")]}),z.map(e=>(0,t.jsxs)(B.SelectItem,{className:U(e)?void 0:"text-muted-foreground",value:e.sha1,children:[e.name," · ",e.sha1.slice(0,10),"…",!U(e)&&` \xb7 ${s("certificateMayNotMatch")}`]},e.sha1))]})]}):(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("signingCertificate",e.target.value||null),placeholder:s("certificateAutomatic"),value:e.signingCertificate??""})]}),I&&b&&I.installedAgents.length<b.agentCount&&(0,t.jsx)(E.Alert,{className:"sm:col-span-2",children:(0,t.jsx)(E.AlertDescription,{children:s("signingAssetCoverageWarning",{installed:I.installedAgents.length,total:b.agentCount})})}),"MANUAL"===e.signingStyle&&(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(w.Label,{children:s("provisioningProfiles")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:s("parseProvisioningProfilesHelp")})]}),i&&(0,t.jsxs)(T.Button,{disabled:n||u||!b,onClick:()=>void F(),size:"sm",type:"button",variant:"outline",children:[u?(0,t.jsx)(V.Spinner,{}):(0,t.jsx)(C,{}),s(c?"reparseProvisioningProfiles":"parseProvisioningProfiles")]})]}),(0,t.jsxs)("div",{className:"grid gap-2 rounded-lg border border-dashed p-3 sm:grid-cols-[minmax(0,1fr)_auto]",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:y,children:s("manualBundleIdentifier")}),(0,t.jsx)(O.Input,{disabled:n,id:y,onChange:e=>x(e.target.value),placeholder:s("manualBundleIdentifierPlaceholder"),value:g}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("manualBundleIdentifierHelp")})]}),(0,t.jsxs)(T.Button,{className:"sm:self-end",disabled:n||!g.trim()||r.some(e=>e.bundleId===g.trim()),onClick:()=>{let t=g.trim();!t||r.some(e=>e.bundleId===t)||(d(a=>[...a,{bundleId:t,name:t,target:t,platform:null,teamId:e.teamId,provisioningProfileSpecifier:null}]),v(e=>new Set(e).add(t)),x(""))},type:"button",variant:"outline",children:[(0,t.jsx)(k.Plus,{}),s("addBundleIdentifier")]})]}),p&&(0,t.jsx)(E.Alert,{variant:"destructive",children:(0,t.jsx)(E.AlertDescription,{children:p})}),!r.length&&c&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:s("noSigningRequirements")}),!r.length&&!c&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:s("parseProvisioningProfilesEmpty")}),r.map(a=>{let l,i=H(a),r=new Set(i.map(e=>e.uuid)),c=(l=new Set(H(a).map(e=>e.uuid)),(b?.profiles??[]).filter(e=>!e.expired).sort((e,t)=>Number(l.has(t.uuid))-Number(l.has(e.uuid))||(t.expiresAt??"").localeCompare(e.expiresAt??"")||e.name.localeCompare(t.name))),o=e.provisioningProfiles[a.bundleId]??"",u=c.some(e=>e.uuid===o);return(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:a.name}),(0,t.jsx)("p",{className:"break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:[a.target,a.platform,a.teamId].filter(Boolean).join(" · ")})]}),f.has(a.bundleId)&&(0,t.jsx)(T.Button,{"aria-label":s("removeBundleIdentifier",{bundleId:a.bundleId}),disabled:n,onClick:()=>{var t;let l;return t=a.bundleId,d(e=>e.filter(e=>e.bundleId!==t)),v(e=>{let a=new Set(e);return a.delete(t),a}),l={...e.provisioningProfiles},void(delete l[t],G("provisioningProfiles",l))},size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(M.Trash2,{})})]}),(0,t.jsxs)(B.Select,{disabled:n||!b,onValueChange:t=>G("provisioningProfiles",{...e.provisioningProfiles,[a.bundleId]:t}),value:o,children:[(0,t.jsx)(B.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(B.SelectValue,{placeholder:s("selectProfile")})}),(0,t.jsxs)(B.SelectContent,{children:[o&&!u&&(0,t.jsxs)(B.SelectItem,{value:o,children:[o," · ",s("savedValueUnavailable")]}),c.map(e=>{let a;return(0,t.jsxs)(B.SelectItem,{className:r.has(e.uuid)?void 0:"text-muted-foreground",value:e.uuid,children:[(a=e.expiresAt?new Date(e.expiresAt).toLocaleDateString():null)?`${e.name} — ${a}`:e.name,!r.has(e.uuid)&&` \xb7 ${s("profileMayNotMatch")}`]},e.uuid)})]})]}),!i.length&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:s("noMatchingProfiles")})]},a.bundleId)})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("thinning")}),(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("thinning",e.target.value||null),placeholder:"<none> / <thin-for-all-variants>",value:e.thinning??""})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("iCloudEnvironment")}),(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("iCloudContainerEnvironment","NONE"===e?null:e),value:e.iCloudContainerEnvironment??"NONE",children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsxs)(B.SelectContent,{children:[(0,t.jsx)(B.SelectItem,{value:"NONE",children:"—"}),(0,t.jsx)(B.SelectItem,{value:"Development",children:"Development"}),(0,t.jsx)(B.SelectItem,{value:"Production",children:"Production"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(w.Label,{children:s("distributionBundleIdentifier")}),(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("distributionBundleIdentifier",e.target.value||null),value:e.distributionBundleIdentifier??""})]}),[["uploadSymbols","uploadSymbols"],["manageAppVersionAndBuildNumber","manageBuildNumber"],["testFlightInternalTestingOnly","internalTestFlightOnly"],["stripSwiftSymbols","stripSwiftSymbols"]].map(([a,l])=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(P.Checkbox,{checked:e[a],disabled:n,onCheckedChange:e=>G(a,!!e)}),s(l)]},a)),(0,t.jsx)("p",{className:"text-xs text-muted-foreground sm:col-span-2",children:s("localExportOnly")})]})}],52253)}]);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,688194,e=>{"use strict";e.s(["BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},687862,52253,e=>{"use strict";var t=e.i(843476),a=e.i(688194),l=e.i(636162),i=e.i(456420);let n=(0,i.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var s=e.i(876561);let r=(0,i.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),d=(0,i.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),c=(0,i.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var o=e.i(452330);let u=(0,i.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);var h=e.i(93384);let p=(0,i.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,i.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var g=e.i(21357);let x=(0,i.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var f=e.i(584026),v=e.i(986206),y=e.i(328623),b=e.i(604139);let S=(0,i.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var j=e.i(747925);let I={apple:l.Apple,"app-window":n,archive:s.Archive,beaker:r,box:d,bug:c,code:o.Code2,gauge:u,hammer:h.Hammer,layers:p,package:m,play:g.Play,rocket:x,shield:f.ShieldCheck,smartphone:v.Smartphone,sparkles:y.Sparkles,terminal:b.Terminal,"test-tube":S,wrench:j.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=I[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862);var k=e.i(77071);let C=(0,i.default)("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);var M=e.i(573474),N=e.i(948148),A=e.i(271645),E=e.i(929592),T=e.i(519455),P=e.i(59497),O=e.i(793479),w=e.i(110204),B=e.i(967489),V=e.i(987968),_=e.i(637611);e.s(["DEFAULT_EXPORT_SETTINGS",0,{method:"DEBUGGING",signingStyle:"AUTOMATIC",teamId:null,signingCertificate:null,provisioningProfiles:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1,stripSwiftSymbols:!0,thinning:null,iCloudContainerEnvironment:null,distributionBundleIdentifier:null},"ExportSettingsForm",0,function({value:e,onChange:l,onParseSigningRequirements:i,disabled:n=!1}){let s=(0,N.useTranslations)("builds"),[r,d]=(0,A.useState)(()=>Object.keys(e.provisioningProfiles).map(e=>({bundleId:e,name:e,target:e,platform:null,teamId:null,provisioningProfileSpecifier:null}))),[c,o]=(0,A.useState)(!1),[u,h]=(0,A.useState)(!1),[p,m]=(0,A.useState)(null),[g,x]=(0,A.useState)(""),[f,v]=(0,A.useState)(()=>new Set(Object.keys(e.provisioningProfiles))),y=(0,A.useId)(),[b,S]=(0,A.useState)(null);(0,A.useEffect)(()=>{let e=!1;return(0,_.controlPlaneRequest)(`query ExportSigningInventory {
|
|
2
|
-
signingAgents { supported }
|
|
3
|
-
signingCertificates { sha1 name teamId hasPrivateKey installedAgents { id } }
|
|
4
|
-
signingProfiles {
|
|
5
|
-
uuid name profileType bundleId teamId platforms expiresAt expired
|
|
6
|
-
certificateSha1s installedAgents { id }
|
|
7
|
-
}
|
|
8
|
-
}`).then(t=>{e||S({agentCount:t.signingAgents.filter(e=>e.supported).length,certificates:t.signingCertificates,profiles:t.signingProfiles})}).catch(()=>{e||S({agentCount:0,certificates:[],profiles:[]})}),()=>{e=!0}},[]);let j=(0,A.useMemo)(()=>[...new Set([...b?.certificates??[],...b?.profiles??[]].flatMap(e=>e.teamId??[]))],[b]),I=b?.certificates.find(t=>t.sha1===e.signingCertificate),R=Object.values(e.provisioningProfiles),L=R.flatMap(e=>{let t=b?.profiles.find(t=>t.uuid===e);return t?[t]:[]}),D=R.length>0&&L.length===R.length&&L.every(e=>e.certificateSha1s.length>0),U=t=>D?L.every(e=>e.certificateSha1s.map(e=>e.toUpperCase()).includes(t.sha1.toUpperCase())):!e.teamId||t.teamId===e.teamId,z=(b?.certificates??[]).filter(e=>e.hasPrivateKey).sort((e,t)=>Number(U(t))-Number(U(e))||e.name.localeCompare(t.name)),q=z.some(t=>t.sha1===e.signingCertificate),G=(t,a)=>l({...e,[t]:a}),H=(t,l=e.teamId)=>(b?.profiles??[]).filter(i=>{var n,s;return i.profileType===a.EXPORT_METHOD_PROFILE_TYPES[e.method]&&!i.expired&&(0,a.profileCoversBundle)(i.bundleId,t.bundleId)&&(n=i.platforms,!(s=t.platform)||0===n.length||("watchOS"===s?["watchOS","iOS"]:"visionOS"===s?["visionOS","xrOS"]:[s]).some(e=>n.includes(e)))&&(!l||!i.teamId||i.teamId===l)}).sort((e,t)=>(t.expiresAt??"").localeCompare(e.expiresAt??"")),F=async()=>{if(i){h(!0),m(null);try{let t=await i(),a=new Set(t.map(e=>e.bundleId)),n=r.filter(e=>f.has(e.bundleId)&&!a.has(e.bundleId)),s=[...t,...n];d(s),v(e=>new Set([...e].filter(e=>!a.has(e)))),o(!0);let c=[...new Set(t.flatMap(e=>e.teamId??[]))],u=e.teamId??(1===c.length?c[0]:null),h=Object.fromEntries(s.flatMap(t=>{let a=H(t,u),l=e.provisioningProfiles[t.bundleId],i=t.provisioningProfileSpecifier,n=(l?b?.profiles.find(e=>e.uuid===l&&!e.expired)??l:null)??a.find(e=>e.uuid===i||e.name===i)??a[0];return n?[[t.bundleId,"string"==typeof n?n:n.uuid]]:[]}));l({...e,teamId:u,provisioningProfiles:h})}catch(e){m(e instanceof Error?e.message:String(e))}finally{h(!1)}}};return(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 rounded-xl border p-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 sm:col-span-2 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("distributionMethod")}),(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("method",e),value:e.method,children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsx)(B.SelectContent,{children:a.BUILD_EXPORT_METHODS.map(e=>(0,t.jsx)(B.SelectItem,{value:e,children:s(`exportMethod.${e}`)},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("signingStyle")}),(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("signingStyle",e),value:e.signingStyle,children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsxs)(B.SelectContent,{children:[(0,t.jsx)(B.SelectItem,{value:"AUTOMATIC",children:s("automatic")}),(0,t.jsx)(B.SelectItem,{value:"MANUAL",children:s("manual")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("developmentTeam")}),j.length?(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("teamId",e),value:e.teamId??"",children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{placeholder:"ABCDE12345"})}),(0,t.jsx)(B.SelectContent,{children:j.map(e=>(0,t.jsx)(B.SelectItem,{value:e,children:e},e))})]}):(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("teamId",e.target.value||null),placeholder:"ABCDE12345",value:e.teamId??""})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(w.Label,{children:s("signingCertificate")}),b?.certificates.length?(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("signingCertificate","AUTOMATIC"===e?null:e),value:e.signingCertificate??"AUTOMATIC",children:[(0,t.jsx)(B.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsxs)(B.SelectContent,{children:[(0,t.jsx)(B.SelectItem,{value:"AUTOMATIC",children:s("certificateAutomatic")}),e.signingCertificate&&!q&&(0,t.jsxs)(B.SelectItem,{value:e.signingCertificate,children:[e.signingCertificate," · ",s("savedValueUnavailable")]}),z.map(e=>(0,t.jsxs)(B.SelectItem,{className:U(e)?void 0:"text-muted-foreground",value:e.sha1,children:[e.name," · ",e.sha1.slice(0,10),"…",!U(e)&&` \xb7 ${s("certificateMayNotMatch")}`]},e.sha1))]})]}):(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("signingCertificate",e.target.value||null),placeholder:s("certificateAutomatic"),value:e.signingCertificate??""})]}),I&&b&&I.installedAgents.length<b.agentCount&&(0,t.jsx)(E.Alert,{className:"sm:col-span-2",children:(0,t.jsx)(E.AlertDescription,{children:s("signingAssetCoverageWarning",{installed:I.installedAgents.length,total:b.agentCount})})}),"MANUAL"===e.signingStyle&&(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(w.Label,{children:s("provisioningProfiles")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:s("parseProvisioningProfilesHelp")})]}),i&&(0,t.jsxs)(T.Button,{disabled:n||u||!b,onClick:()=>void F(),size:"sm",type:"button",variant:"outline",children:[u?(0,t.jsx)(V.Spinner,{}):(0,t.jsx)(C,{}),s(c?"reparseProvisioningProfiles":"parseProvisioningProfiles")]})]}),(0,t.jsxs)("div",{className:"grid gap-2 rounded-lg border border-dashed p-3 sm:grid-cols-[minmax(0,1fr)_auto]",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:y,children:s("manualBundleIdentifier")}),(0,t.jsx)(O.Input,{disabled:n,id:y,onChange:e=>x(e.target.value),placeholder:s("manualBundleIdentifierPlaceholder"),value:g}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("manualBundleIdentifierHelp")})]}),(0,t.jsxs)(T.Button,{className:"sm:self-end",disabled:n||!g.trim()||r.some(e=>e.bundleId===g.trim()),onClick:()=>{let t=g.trim();!t||r.some(e=>e.bundleId===t)||(d(a=>[...a,{bundleId:t,name:t,target:t,platform:null,teamId:e.teamId,provisioningProfileSpecifier:null}]),v(e=>new Set(e).add(t)),x(""))},type:"button",variant:"outline",children:[(0,t.jsx)(k.Plus,{}),s("addBundleIdentifier")]})]}),p&&(0,t.jsx)(E.Alert,{variant:"destructive",children:(0,t.jsx)(E.AlertDescription,{children:p})}),!r.length&&c&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:s("noSigningRequirements")}),!r.length&&!c&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:s("parseProvisioningProfilesEmpty")}),r.map(a=>{let l,i=H(a),r=new Set(i.map(e=>e.uuid)),c=(l=new Set(H(a).map(e=>e.uuid)),(b?.profiles??[]).filter(e=>!e.expired).sort((e,t)=>Number(l.has(t.uuid))-Number(l.has(e.uuid))||(t.expiresAt??"").localeCompare(e.expiresAt??"")||e.name.localeCompare(t.name))),o=e.provisioningProfiles[a.bundleId]??"",u=c.some(e=>e.uuid===o);return(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:a.name}),(0,t.jsx)("p",{className:"break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:[a.target,a.platform,a.teamId].filter(Boolean).join(" · ")})]}),f.has(a.bundleId)&&(0,t.jsx)(T.Button,{"aria-label":s("removeBundleIdentifier",{bundleId:a.bundleId}),disabled:n,onClick:()=>{var t;let l;return t=a.bundleId,d(e=>e.filter(e=>e.bundleId!==t)),v(e=>{let a=new Set(e);return a.delete(t),a}),l={...e.provisioningProfiles},void(delete l[t],G("provisioningProfiles",l))},size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(M.Trash2,{})})]}),(0,t.jsxs)(B.Select,{disabled:n||!b,onValueChange:t=>G("provisioningProfiles",{...e.provisioningProfiles,[a.bundleId]:t}),value:o,children:[(0,t.jsx)(B.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(B.SelectValue,{placeholder:s("selectProfile")})}),(0,t.jsxs)(B.SelectContent,{children:[o&&!u&&(0,t.jsxs)(B.SelectItem,{value:o,children:[o," · ",s("savedValueUnavailable")]}),c.map(e=>{let a;return(0,t.jsxs)(B.SelectItem,{className:r.has(e.uuid)?void 0:"text-muted-foreground",value:e.uuid,children:[(a=e.expiresAt?new Date(e.expiresAt).toLocaleDateString():null)?`${e.name} — ${a}`:e.name,!r.has(e.uuid)&&` \xb7 ${s("profileMayNotMatch")}`]},e.uuid)})]})]}),!i.length&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:s("noMatchingProfiles")})]},a.bundleId)})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("thinning")}),(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("thinning",e.target.value||null),placeholder:"<none> / <thin-for-all-variants>",value:e.thinning??""})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:s("iCloudEnvironment")}),(0,t.jsxs)(B.Select,{disabled:n,onValueChange:e=>G("iCloudContainerEnvironment","NONE"===e?null:e),value:e.iCloudContainerEnvironment??"NONE",children:[(0,t.jsx)(B.SelectTrigger,{children:(0,t.jsx)(B.SelectValue,{})}),(0,t.jsxs)(B.SelectContent,{children:[(0,t.jsx)(B.SelectItem,{value:"NONE",children:"—"}),(0,t.jsx)(B.SelectItem,{value:"Development",children:"Development"}),(0,t.jsx)(B.SelectItem,{value:"Production",children:"Production"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(w.Label,{children:s("distributionBundleIdentifier")}),(0,t.jsx)(O.Input,{disabled:n,onChange:e=>G("distributionBundleIdentifier",e.target.value||null),value:e.distributionBundleIdentifier??""})]}),[["uploadSymbols","uploadSymbols"],["manageAppVersionAndBuildNumber","manageBuildNumber"],["testFlightInternalTestingOnly","internalTestFlightOnly"],["stripSwiftSymbols","stripSwiftSymbols"]].map(([a,l])=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(P.Checkbox,{checked:e[a],disabled:n,onCheckedChange:e=>G(a,!!e)}),s(l)]},a)),(0,t.jsx)("p",{className:"text-xs text-muted-foreground sm:col-span-2",children:s("localExportOnly")})]})}],52253)}]);
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,534710,e=>{"use strict";var t=e.i(843476),a=e.i(551757),n=e.i(452330),s=e.i(482022),r=e.i(634398),i=e.i(758925),l=e.i(825398),o=e.i(856522),c=e.i(584026),d=e.i(573474);let u=(0,e.i(456420).default)("unplug",[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]]);var m=e.i(725981),p=e.i(948148),x=e.i(271645),g=e.i(340953),h=e.i(567745),f=e.i(77071),j=e.i(929592),v=e.i(487486),S=e.i(519455),C=e.i(515288),b=e.i(793479),y=e.i(110204),N=e.i(987968),k=e.i(637611),w=e.i(45407);function I(){let e=(0,p.useTranslations)("cacheServerSettings"),n=(0,p.useTranslations)("common"),[s,r]=(0,x.useState)(null),[i,l]=(0,x.useState)(""),[c,m]=(0,x.useState)(""),[I,E]=(0,x.useState)([]),[A,D]=(0,x.useState)(!0),[T,P]=(0,x.useState)(!1),[L,R]=(0,x.useState)(null),[K,q]=(0,x.useState)(null),$=(0,x.useCallback)(e=>{r(e),l(e.baseUrl??""),m(""),E(e.headers.map(e=>({...e,value:""})))},[]),H=(0,x.useCallback)(async()=>{try{let e=await (0,k.controlPlaneRequest)(`query CacheServerSettings { cacheServerSettings { ${w.CACHE_SERVER_SETTINGS_FIELDS} } }`);$(e.cacheServerSettings)}catch(e){R(e instanceof Error?e.message:String(e))}finally{D(!1)}},[$]);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>void H(),0);return()=>window.clearTimeout(e)},[H]);let F=(e,t,a)=>E(n=>n.map((n,s)=>s===e?{...n,[t]:a,..."name"===t&&a!==n.name?{valueConfigured:!1}:{}}:n)),G=async t=>{t.preventDefault(),P(!0);try{let t=I.map(e=>({name:e.name.trim(),value:e.value||null})).filter(e=>e.name),a=await (0,k.controlPlaneRequest)(`mutation SaveCacheServerSettings($input: SaveCacheServerSettingsInput!) {
|
|
2
|
-
saveCacheServerSettings(input: $input) { ${w.CACHE_SERVER_SETTINGS_FIELDS} }
|
|
3
|
-
}`,{input:{baseUrl:i.trim(),apiKey:c||null,headers:t}});$(a.saveCacheServerSettings),R(null),q(e("saved"))}catch(e){R(e instanceof Error?e.message:String(e)),q(null)}finally{P(!1)}},B=async()=>{P(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation TestCacheServerConnection {
|
|
4
|
-
testCacheServerConnection { ${w.CACHE_SERVER_SETTINGS_FIELDS} }
|
|
5
|
-
}`);$(t.testCacheServerConnection),R(null),q(e("connectionSucceeded"))}catch(e){R(e instanceof Error?e.message:String(e)),q(null)}finally{P(!1)}},V=async()=>{P(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation ClearCacheServerSettings {
|
|
6
|
-
clearCacheServerSettings { ${w.CACHE_SERVER_SETTINGS_FIELDS} }
|
|
7
|
-
}`);$(t.clearCacheServerSettings),R(null),q(e("removed"))}catch(e){R(e instanceof Error?e.message:String(e)),q(null)}finally{P(!1)}};return(0,t.jsx)("form",{onSubmit:G,children:(0,t.jsx)(C.Card,{children:(0,t.jsxs)(C.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(h.DatabaseZap,{className:"size-5"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-semibold",children:e("title")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("description")})]})]}),(0,t.jsx)(v.Badge,{className:s?.configured?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":void 0,children:s?.configured?e("configured"):e("notConfigured")})]}),A?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{}),e("loading")]}):(0,t.jsxs)(t.Fragment,{children:[L&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:L})}),K&&(0,t.jsxs)(j.Alert,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(a.CheckCircle2,{}),(0,t.jsx)(j.AlertDescription,{className:"text-current",children:K})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"cache-server-base-url",children:e("baseUrl")}),(0,t.jsx)(b.Input,{autoComplete:"url",id:"cache-server-base-url",onChange:e=>l(e.target.value),placeholder:"http://cache-server.internal:3006/management-api",required:!0,type:"url",value:i}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:e("baseUrlHelp")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"cache-server-api-key",children:e("apiKey")}),(0,t.jsx)(b.Input,{autoComplete:"new-password",id:"cache-server-api-key",onChange:e=>m(e.target.value),placeholder:s?.apiKeyConfigured?e("apiKeyPlaceholderConfigured"):e("apiKeyPlaceholder"),required:!s?.apiKeyConfigured,type:"password",value:c}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:s?.apiKeyConfigured?e("apiKeyKeepHelp"):e("apiKeyHelp")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(y.Label,{className:"text-sm font-medium",children:e("headers")}),(0,t.jsxs)(S.Button,{onClick:()=>E(e=>[...e,{name:"",value:"",valueConfigured:!1}]),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(f.Plus,{}),e("addHeader")]})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("headersHelp")}),0===I.length?(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("noHeaders")}):(0,t.jsx)("div",{className:"space-y-2",children:I.map((a,n)=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(b.Input,{"aria-label":e("headerName"),className:"flex-1",onChange:e=>F(n,"name",e.target.value),placeholder:e("headerName"),value:a.name}),(0,t.jsx)(b.Input,{"aria-label":e("headerValue"),autoComplete:"new-password",className:"flex-1",onChange:e=>F(n,"value",e.target.value),placeholder:a.valueConfigured?e("headerValuePlaceholderConfigured"):e("headerValue"),required:!a.valueConfigured,type:"password",value:a.value}),(0,t.jsx)(S.Button,{"aria-label":e("removeHeader"),onClick:()=>E(e=>e.filter((e,t)=>t!==n)),size:"icon",type:"button",variant:"ghost",children:(0,t.jsx)(d.Trash2,{})})]},n))})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2 border-t pt-4",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:n("cancel"),description:e("confirmRemoveDescription"),onConfirm:V,title:e("confirmRemove"),trigger:(0,t.jsxs)(S.Button,{disabled:T||!s?.configured,type:"button",variant:"ghost",children:[(0,t.jsx)(d.Trash2,{}),e("remove")]})}),(0,t.jsxs)(S.Button,{disabled:T||!s?.configured,onClick:()=>void B(),type:"button",variant:"outline",children:[(0,t.jsx)(u,{}),e("test")]}),(0,t.jsxs)(S.Button,{disabled:T,type:"submit",children:[T?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{}),e("save")]})]})]})]})})})}var E=e.i(636162),A=e.i(741120),D=e.i(861745),T=e.i(624687),P=e.i(938882);function L(){let e=(0,p.useTranslations)("iosDeviceSettings"),n=(0,p.useTranslations)("common"),s=(0,D.useLocale)(),[r,l]=(0,x.useState)(null),[u,h]=(0,x.useState)(""),[f,w]=(0,x.useState)(""),[I,L]=(0,x.useState)(""),[R,K]=(0,x.useState)(""),[q,$]=(0,x.useState)(""),[H,F]=(0,x.useState)(!1),[G,B]=(0,x.useState)(!0),[V,_]=(0,x.useState)(!1),[z,U]=(0,x.useState)(!1),[O,J]=(0,x.useState)(null),[M,W]=(0,x.useState)(null),Z=(0,x.useCallback)(e=>{l(e),h(e.organizationName),w(e.profileIdentifier),L(e.appStoreConnectIssuerId??""),K(e.appStoreConnectKeyId??""),$("")},[]),Y=(0,x.useCallback)(async()=>{try{let e=await (0,k.controlPlaneRequest)(`query IosDeviceSettings {
|
|
8
|
-
iosDeviceSettings { ${P.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
9
|
-
}`);Z(e.iosDeviceSettings)}catch(e){J(e instanceof Error?e.message:String(e))}finally{B(!1)}},[Z]);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>void Y(),0);return()=>window.clearTimeout(e)},[Y]);let X=t=>t?new Intl.DateTimeFormat(s,{dateStyle:"medium",timeStyle:"short"}).format(new Date(t)):e("unavailable"),Q=async t=>{t.preventDefault(),_(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation SaveIosProfileSettings($input: SaveIosProfileSettingsInput!) {
|
|
10
|
-
saveIosProfileSettings(input: $input) { ${P.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
11
|
-
}`,{input:{organizationName:u,profileIdentifier:f}});Z(t.saveIosProfileSettings),J(null),W(e("profileSaved"))}catch(e){J(e instanceof Error?e.message:String(e)),W(null)}finally{_(!1)}},ee=async()=>{_(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation RegenerateIosProfileSigner {
|
|
12
|
-
regenerateIosProfileSigner { ${P.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
13
|
-
}`);Z(t.regenerateIosProfileSigner),J(null),W(e("signerRegenerated"))}catch(e){J(e instanceof Error?e.message:String(e)),W(null)}finally{_(!1)}},et=async t=>{t.preventDefault(),U(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation SaveAppStoreConnectSettings($input: SaveAppStoreConnectSettingsInput!) {
|
|
14
|
-
saveAppStoreConnectSettings(input: $input) { ${P.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
15
|
-
}`,{input:{issuerId:I.trim(),keyId:R.trim(),privateKey:q||null}});Z(t.saveAppStoreConnectSettings),J(null),W(e("appleSaved"))}catch(e){J(e instanceof Error?e.message:String(e)),W(null)}finally{U(!1)}},ea=async()=>{U(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation TestAppStoreConnectSettings {
|
|
16
|
-
testAppStoreConnectSettings { ${P.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
17
|
-
}`);Z(t.testAppStoreConnectSettings),J(null),W(e("appleTestSucceeded"))}catch(e){J(e instanceof Error?e.message:String(e)),W(null),Y()}finally{U(!1)}},en=async()=>{U(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation ClearAppStoreConnectSettings {
|
|
18
|
-
clearAppStoreConnectSettings { ${P.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
19
|
-
}`);Z(t.clearAppStoreConnectSettings),J(null),W(e("appleCleared"))}catch(e){J(e instanceof Error?e.message:String(e)),W(null)}finally{U(!1)}},es=async t=>{if(!t.name.toLowerCase().endsWith(".p8")){J(e("p8Invalid")),W(null);return}try{let a=await t.text();if(!a.includes("-----BEGIN PRIVATE KEY-----")||!a.includes("-----END PRIVATE KEY-----")){J(e("p8Invalid")),W(null);return}$(a),J(null),W(e("p8Loaded",{filename:t.name}))}catch{J(e("p8ReadError")),W(null)}};return(0,t.jsx)(C.Card,{children:(0,t.jsxs)(C.CardContent,{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(E.Apple,{className:"size-5"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-semibold",children:e("title")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("description")})]})]}),O&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:O})}),M&&(0,t.jsxs)(j.Alert,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(a.CheckCircle2,{}),(0,t.jsx)(j.AlertDescription,{className:"text-current",children:M})]}),G?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",e("loading")]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{className:"space-y-4",onSubmit:Q,children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(c.ShieldCheck,{className:"size-4"})," ",e("profileTitle")]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:e("profileDescription")})]}),(0,t.jsx)(v.Badge,{variant:"outline",children:r?.signerConfigured?e("signerReady"):e("signerNotGenerated")})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(y.Label,{htmlFor:"ios-organization-name",children:e("organizationName")}),(0,t.jsx)(b.Input,{id:"ios-organization-name",maxLength:100,onChange:e=>h(e.target.value),required:!0,value:u})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(y.Label,{htmlFor:"ios-profile-identifier",children:e("profileIdentifier")}),(0,t.jsx)(b.Input,{autoCapitalize:"none",className:"font-mono text-sm",id:"ios-profile-identifier",maxLength:200,onChange:e=>w(e.target.value),required:!0,spellCheck:!1,value:f})]})]}),r?.signerConfigured&&(0,t.jsxs)("div",{className:"rounded-md border bg-muted/30 p-3 text-xs",children:[(0,t.jsx)("p",{children:e("signerCreated",{date:X(r.signerCreatedAt)})}),(0,t.jsx)("p",{children:e("signerExpires",{date:X(r.signerExpiresAt)})}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-muted-foreground",children:r.signerFingerprint}),(0,t.jsx)("p",{className:"mt-2 text-amber-700 dark:text-amber-300",children:e("unverifiedWarning")})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("regenerateSigner"),cancelLabel:n("cancel"),description:e("regenerateDescription"),onConfirm:ee,title:e("regenerateTitle"),trigger:(0,t.jsxs)(S.Button,{disabled:V,type:"button",variant:"outline",children:[(0,t.jsx)(A.RefreshCw,{})," ",e("regenerateSigner")]})}),(0,t.jsxs)(S.Button,{disabled:V,type:"submit",children:[V?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{})," ",e("saveProfile")]})]})]}),(0,t.jsxs)("form",{className:"space-y-4 border-t pt-6",onSubmit:et,children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(i.KeyRound,{className:"size-4"})," ",e("appleTitle")]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:e("appleDescription")})]}),(0,t.jsx)(v.Badge,{className:r?.appStoreConnectConfigured?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":void 0,children:r?.appStoreConnectConfigured?e("verified"):e("notVerified")})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(y.Label,{htmlFor:"app-store-issuer-id",children:e("issuerId")}),(0,t.jsx)(b.Input,{autoCapitalize:"none",id:"app-store-issuer-id",maxLength:100,onChange:e=>L(e.target.value),required:!0,spellCheck:!1,value:I})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(y.Label,{htmlFor:"app-store-key-id",children:e("keyId")}),(0,t.jsx)(b.Input,{autoCapitalize:"characters",id:"app-store-key-id",maxLength:100,onChange:e=>K(e.target.value),required:!0,spellCheck:!1,value:R})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(y.Label,{htmlFor:"app-store-private-key",children:e("privateKey")}),(0,t.jsxs)("div",{"aria-label":e("p8DropZone"),className:`rounded-md border border-dashed p-2 transition-colors ${H?"border-primary bg-primary/5":"border-input"}`,onDragEnter:e=>{e.preventDefault(),F(!0)},onDragLeave:()=>F(!1),onDragOver:e=>{e.preventDefault(),e.dataTransfer.dropEffect="copy",F(!0)},onDrop:e=>{e.preventDefault(),F(!1);let t=e.dataTransfer.files.item(0);t&&es(t)},role:"group",children:[(0,t.jsxs)("p",{className:"mb-2 flex items-center gap-1.5 text-xs text-muted-foreground",children:[(0,t.jsx)(m.Upload,{className:"size-3.5"})," ",e("p8DropHint")]}),(0,t.jsx)(T.Textarea,{autoComplete:"new-password",className:"min-h-36 border-0 bg-transparent font-mono text-xs shadow-none focus-visible:ring-0 dark:bg-transparent",id:"app-store-private-key",onChange:e=>$(e.target.value),placeholder:r?.appStoreConnectPrivateKeyConfigured?e("privateKeyConfiguredPlaceholder"):e("privateKeyPlaceholder"),required:!r?.appStoreConnectPrivateKeyConfigured,value:q}),(0,t.jsx)(b.Input,{accept:".p8,application/pkcs8,text/plain","aria-label":e("chooseP8"),className:"mt-2 h-auto text-xs",onChange:e=>{let t=e.target.files?.item(0);t&&es(t),e.target.value=""},type:"file"})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:r?.appStoreConnectPrivateKeyConfigured?e("privateKeyKeepHelp"):e("privateKeyHelp")})]}),(r?.appStoreConnectLastTestedAt||r?.appStoreConnectPrivateKeyFingerprint)&&(0,t.jsx)(j.Alert,{variant:r.appStoreConnectVerificationError?"destructive":"default",children:(0,t.jsxs)(j.AlertDescription,{children:[(0,t.jsx)("p",{className:"font-medium",children:r.appStoreConnectVerificationError?e("lastTestFailed",{date:X(r.appStoreConnectLastTestedAt)}):e("lastVerified",{date:X(r.appStoreConnectVerifiedAt)})}),r.appStoreConnectVerificationError&&(0,t.jsx)("p",{className:"mt-1 text-xs",children:r.appStoreConnectVerificationError}),r.appStoreConnectPrivateKeyFingerprint&&(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:r.appStoreConnectPrivateKeyFingerprint})]})}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("clear"),cancelLabel:n("cancel"),description:e("clearDescription"),onConfirm:en,title:e("clearTitle"),trigger:(0,t.jsxs)(S.Button,{disabled:z||!r?.appStoreConnectPrivateKeyConfigured,type:"button",variant:"ghost",children:[(0,t.jsx)(d.Trash2,{})," ",e("clear")]})}),(0,t.jsxs)(S.Button,{disabled:z||!r?.appStoreConnectPrivateKeyConfigured,onClick:()=>void ea(),type:"button",variant:"outline",children:[(0,t.jsx)(A.RefreshCw,{})," ",e("retest")]}),(0,t.jsxs)(S.Button,{disabled:z,type:"submit",children:[z?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{})," ",e("saveAndVerify")]})]})]})]})]})})}var R=e.i(967489);let K=`
|
|
20
|
-
tokenConfigured tokenTeamId tokenKeyId tokenPrivateKeyFingerprint
|
|
21
|
-
tokenConfiguredAt tokenLastUsedAt tokenLastError
|
|
22
|
-
certificates { id name topic environment fingerprint expiresAt lastTestedAt lastError }
|
|
23
|
-
`;function q(){let e=(0,p.useTranslations)("pushSettings"),a=(0,p.useTranslations)("common"),[n,s]=(0,x.useState)(null),[r,l]=(0,x.useState)(""),[c,u]=(0,x.useState)(""),[h,f]=(0,x.useState)(""),[w,I]=(0,x.useState)(""),[E,D]=(0,x.useState)(""),[T,P]=(0,x.useState)("SANDBOX"),[L,q]=(0,x.useState)(""),[$,H]=(0,x.useState)(""),[F,G]=(0,x.useState)(!1),[B,V]=(0,x.useState)(null),_=(0,x.useCallback)(async()=>{try{let e=await (0,k.controlPlaneRequest)(`query PushSettings { pushNotificationSettings { ${K} } }`);s(e.pushNotificationSettings),l(e.pushNotificationSettings.tokenTeamId??""),u(e.pushNotificationSettings.tokenKeyId??"")}catch(e){V(e instanceof Error?e.message:String(e))}},[]);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>void _(),0);return()=>window.clearTimeout(e)},[_]);let z=async e=>{e.preventDefault(),G(!0);try{let e=await (0,k.controlPlaneRequest)(`mutation SaveApnsToken($input: SaveApnsTokenSettingsInput!) { saveApnsTokenSettings(input: $input) { ${K} } }`,{input:{teamId:r,keyId:c,privateKey:h||null}});s(e.saveApnsTokenSettings),f(""),V(null)}catch(e){V(e instanceof Error?e.message:String(e))}finally{G(!1)}},U=async e=>{e.preventDefault(),G(!0);try{let e=await (0,k.controlPlaneRequest)(`mutation AddApnsCertificate($input: AddApnsCertificateCredentialInput!) { addApnsCertificateCredential(input: $input) { ${K} } }`,{input:{name:w,topic:E,environment:T,p12Base64:L,passphrase:$}});s(e.addApnsCertificateCredential),I(""),D(""),q(""),H(""),V(null)}catch(e){V(e instanceof Error?e.message:String(e))}finally{G(!1)}};return(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:e("title")})}),(0,t.jsxs)(C.CardContent,{className:"space-y-6",children:[B&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:B})}),(0,t.jsxs)("form",{className:"space-y-4",onSubmit:z,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-medium",children:e("tokenAuthentication")}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:e("tokenDescription")})]}),(0,t.jsx)(v.Badge,{variant:n?.tokenConfigured?"default":"secondary",children:n?.tokenConfigured?e("configured"):e("notConfigured")})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(y.Label,{htmlFor:"apns-team",children:e("teamId")}),(0,t.jsx)(b.Input,{id:"apns-team",onChange:e=>l(e.target.value),value:r})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(y.Label,{htmlFor:"apns-key",children:e("keyId")}),(0,t.jsx)(b.Input,{id:"apns-key",onChange:e=>u(e.target.value),value:c})]})]}),(0,t.jsxs)(y.Label,{className:"flex cursor-pointer items-center justify-center gap-2 rounded-xl border border-dashed p-6",children:[(0,t.jsx)(m.Upload,{})," ",h?e("p8Ready"):n?.tokenConfigured?e("replaceP8"):e("chooseP8"),(0,t.jsx)(b.Input,{accept:".p8",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&t.text().then(f)},type:"file"})]}),n?.tokenPrivateKeyFingerprint&&(0,t.jsxs)("p",{className:"break-all font-mono text-xs text-muted-foreground",children:["SHA-256 ",n.tokenPrivateKeyFingerprint]}),n?.tokenLastError&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:n.tokenLastError}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:a("cancel"),description:e("removeTokenDescription"),onConfirm:async()=>{s((await (0,k.controlPlaneRequest)(`mutation { clearApnsTokenSettings { ${K} } }`)).clearApnsTokenSettings),l(""),u("")},title:e("removeToken"),trigger:(0,t.jsxs)(S.Button,{disabled:F||!n?.tokenConfigured,type:"button",variant:"ghost",children:[(0,t.jsx)(d.Trash2,{})," ",e("remove")]})}),(0,t.jsxs)(S.Button,{disabled:F||!r||!c||!h&&!n?.tokenConfigured,type:"submit",children:[F?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{})," ",e("save")]})]})]}),(0,t.jsx)("div",{className:"border-t"}),(0,t.jsxs)("form",{className:"space-y-4",onSubmit:U,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-medium",children:e("certificateAuthentication")}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:e("certificateDescription")})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(y.Label,{children:e("name")}),(0,t.jsx)(b.Input,{onChange:e=>I(e.target.value),value:w})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(y.Label,{children:e("topic")}),(0,t.jsx)(b.Input,{onChange:e=>D(e.target.value),value:E})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(y.Label,{children:e("environment")}),(0,t.jsxs)(R.Select,{onValueChange:P,value:T,children:[(0,t.jsx)(R.SelectTrigger,{children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsxs)(R.SelectContent,{children:[(0,t.jsx)(R.SelectItem,{value:"SANDBOX",children:"Sandbox"}),(0,t.jsx)(R.SelectItem,{value:"PRODUCTION",children:"Production"})]})]})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)(y.Label,{className:"flex cursor-pointer items-center justify-center gap-2 rounded-xl border border-dashed p-5",children:[(0,t.jsx)(i.KeyRound,{})," ",L?e("p12Ready"):e("chooseP12"),(0,t.jsx)(b.Input,{accept:".p12,.pfx",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&new Promise((e,a)=>{let n=new FileReader;n.onerror=()=>a(n.error),n.onload=()=>e(String(n.result).split(",")[1]??""),n.readAsDataURL(t)}).then(q)},type:"file"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(y.Label,{children:e("passphrase")}),(0,t.jsx)(b.Input,{onChange:e=>H(e.target.value),type:"password",value:$})]})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(S.Button,{disabled:F||!w||!E||!L,type:"submit",children:[(0,t.jsx)(o.Save,{})," ",e("addCertificate")]})})]}),n?.certificates.map(n=>(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3 rounded-xl border p-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:n.name}),(0,t.jsxs)("p",{className:"font-mono text-xs",children:[n.topic," · ",n.environment]}),(0,t.jsxs)("p",{className:"font-mono text-xs text-muted-foreground",children:["SHA-256 ",n.fingerprint]}),n.expiresAt&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("expires",{date:new Date(n.expiresAt).toLocaleDateString()})}),n.lastTestedAt&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("lastTested",{date:new Date(n.lastTestedAt).toLocaleString()})}),n.lastError&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:n.lastError})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)(S.Button,{disabled:F,onClick:()=>void(async()=>{G(!0);try{let e=await (0,k.controlPlaneRequest)(`mutation Retest($id: ID!) { retestApnsCertificateCredential(id: $id) { ${K} } }`,{id:n.id});s(e.retestApnsCertificateCredential),V(null)}catch(e){V(e instanceof Error?e.message:String(e)),await _()}finally{G(!1)}})(),size:"sm",variant:"outline",children:[(0,t.jsx)(A.RefreshCw,{})," ",e("retest")]}),(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:a("cancel"),description:e("removeCertificateDescription"),onConfirm:async()=>{await (0,k.controlPlaneRequest)("mutation Delete($id: ID!) { deleteApnsCertificateCredential(id: $id) }",{id:n.id}),await _()},title:e("removeCertificate"),trigger:(0,t.jsx)(S.Button,{size:"icon-sm",variant:"ghost",children:(0,t.jsx)(d.Trash2,{})})})]})]},n.id))]})]})}let $="siteUrl email tokenConfigured cacheTtlSeconds updatedAt";function H({embedded:e=!1}={}){let n=(0,p.useTranslations)("jiraSettings"),s=(0,p.useTranslations)("common"),[r,l]=(0,x.useState)(null),[c,m]=(0,x.useState)(""),[h,f]=(0,x.useState)(""),[w,I]=(0,x.useState)(""),[E,A]=(0,x.useState)(null),[D,T]=(0,x.useState)(!0),[P,L]=(0,x.useState)(!1),[R,K]=(0,x.useState)(null),[q,F]=(0,x.useState)(null),[G,B]=(0,x.useState)(!1),V=e=>{l(e),m(e.siteUrl??""),f(e.email??""),I("")},_=(0,x.useCallback)(async()=>{try{let e=await (0,k.controlPlaneRequest)(`query { jiraSettings { ${$} } }`);V(e.jiraSettings)}catch(e){K(e instanceof Error?e.message:String(e))}finally{T(!1)}},[]);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>void _(),0);return()=>window.clearTimeout(e)},[_]);let z=async e=>{L(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation SaveJiraSettings($input: SaveJiraSettingsInput!) { saveJiraSettings(input: $input) { ${$} } }`,{input:{siteUrl:c,email:h,apiToken:w||null,resetSite:e}});V(t.saveJiraSettings),A(null),K(null),F(n("saved"))}catch(e){K(e instanceof Error?e.message:String(e)),F(null)}finally{L(!1)}},U=async()=>{L(!0);try{let e=await (0,k.controlPlaneRequest)("mutation { testJiraConnection { accountId displayName emailAddress } }");A(e.testJiraConnection),K(null),F(n("connectionSucceeded"))}catch(e){A(null),K(e instanceof Error?e.message:String(e)),F(null)}finally{L(!1)}},O=async()=>{L(!0);try{let e=await (0,k.controlPlaneRequest)(`mutation { clearJiraCredentials { ${$} } }`);V(e.clearJiraCredentials),A(null),K(null),F(n("removed"))}catch(e){K(e instanceof Error?e.message:String(e))}finally{L(!1)}};return(0,t.jsxs)("section",{className:e?"flex w-full flex-col gap-6":"mx-auto flex w-full max-w-3xl flex-col gap-6",children:[!e&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:n("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:n("description")})]}),D?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{}),n("loading")]}):(0,t.jsx)("form",{onSubmit:e=>{(e.preventDefault(),r?.siteUrl&&r.siteUrl!==c.trim().replace(/\/$/,""))?B(!0):z(!1)},children:(0,t.jsx)(C.Card,{children:(0,t.jsxs)(C.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.KeyRound,{className:"size-5"}),(0,t.jsx)("h2",{className:"font-semibold",children:n("credentials")})]}),(0,t.jsx)(v.Badge,{className:r?.tokenConfigured?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":void 0,children:r?.tokenConfigured?n("configured"):n("notConfigured")})]}),R&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:R})}),q&&(0,t.jsxs)(j.Alert,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(a.CheckCircle2,{}),(0,t.jsx)(j.AlertDescription,{className:"text-current",children:q})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"jira-site-url",children:n("siteUrl")}),(0,t.jsx)(b.Input,{autoComplete:"url",id:"jira-site-url",onChange:e=>m(e.target.value),placeholder:"https://example.atlassian.net",required:!0,type:"url",value:c}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:n("siteUrlHelp")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"jira-email",children:n("email")}),(0,t.jsx)(b.Input,{autoComplete:"username",id:"jira-email",onChange:e=>f(e.target.value),required:!0,type:"email",value:h})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"jira-token",children:n("apiToken")}),(0,t.jsx)(b.Input,{autoComplete:"new-password",id:"jira-token",onChange:e=>I(e.target.value),placeholder:r?.tokenConfigured?n("tokenPlaceholderConfigured"):n("tokenPlaceholder"),required:!r?.tokenConfigured,type:"password",value:w}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:r?.tokenConfigured?n("tokenKeepHelp"):n("tokenHelp")})]}),E&&(0,t.jsx)(j.Alert,{className:"bg-muted",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:E.displayName}),(0,t.jsx)("p",{className:"text-muted-foreground",children:E.emailAddress??E.accountId})]})}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2 border-t pt-4",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:n("remove"),cancelLabel:s("cancel"),description:s("cannotBeUndone"),onConfirm:O,title:n("confirmRemove"),trigger:(0,t.jsxs)(S.Button,{disabled:P||!r?.tokenConfigured,type:"button",variant:"ghost",children:[(0,t.jsx)(d.Trash2,{}),n("remove")]})}),(0,t.jsxs)(S.Button,{disabled:P||!r?.tokenConfigured,onClick:()=>void U(),type:"button",variant:"outline",children:[(0,t.jsx)(u,{}),n("test")]}),(0,t.jsxs)(S.Button,{disabled:P,type:"submit",children:[P?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{}),n("save")]})]})]})})}),(0,t.jsx)(g.ConfirmationDialog,{actionLabel:s("continue"),cancelLabel:s("cancel"),description:s("cannotBeUndone"),onConfirm:()=>z(!0),onOpenChange:B,open:G,title:n("confirmSiteChange")})]})}var F=e.i(468096);let G="tokenConfigured defaultJiraKeyRegex updatedAt",B="configured appId installationId privateKeyConfigured keyFingerprint appSlug accountLogin repositorySelection actionsPermission verifiedAt updatedAt";function V({children:e,description:a,id:n,title:s}){return(0,t.jsxs)("section",{"aria-labelledby":n,className:"min-w-0 space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1 border-b pb-3",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold tracking-tight",id:n,children:s}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:a})]}),(0,t.jsx)("div",{className:"flex min-w-0 flex-col gap-6",children:e})]})}function _(){let e=(0,p.useTranslations)("editorSettings"),[a,s]=(0,x.useState)("CODE"),[r,i]=(0,x.useState)(!0),[l,c]=(0,x.useState)(!1),[d,u]=(0,x.useState)(null),[m,g]=(0,x.useState)(null);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>{(0,k.controlPlaneRequest)("query EditorSettings { worktreeSettings { editorVariant } }").then(e=>s(e.worktreeSettings.editorVariant)).catch(e=>g(e instanceof Error?e.message:String(e))).finally(()=>i(!1))},0);return()=>window.clearTimeout(e)},[]);let h=async()=>{c(!0);try{await (0,k.controlPlaneRequest)(`mutation SaveEditorSettings($editorVariant: WorktreeEditorVariant!) {
|
|
24
|
-
saveWorktreeSettings(editorVariant: $editorVariant) { editorVariant }
|
|
25
|
-
}`,{editorVariant:a}),u(e("saved")),g(null)}catch(e){g(e instanceof Error?e.message:String(e)),u(null)}finally{c(!1)}};return(0,t.jsx)(C.Card,{children:(0,t.jsxs)(C.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(n.Code2,{className:"size-5"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-semibold",children:e("title")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("description")})]})]}),m&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:m})}),d&&(0,t.jsx)(j.Alert,{children:(0,t.jsx)(j.AlertDescription,{children:d})}),r?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",e("loading")]}):(0,t.jsxs)("div",{className:"flex flex-wrap items-end gap-3",children:[(0,t.jsxs)("div",{className:"min-w-64 flex-1 space-y-2",children:[(0,t.jsx)(y.Label,{htmlFor:"editor-variant",children:e("label")}),(0,t.jsxs)(R.Select,{onValueChange:e=>s(e),value:a,children:[(0,t.jsx)(R.SelectTrigger,{className:"w-full",id:"editor-variant",children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsxs)(R.SelectContent,{children:[(0,t.jsx)(R.SelectItem,{value:"CODE",children:e("code")}),(0,t.jsx)(R.SelectItem,{value:"CODE_INSIDERS",children:e("insiders")}),(0,t.jsx)(R.SelectItem,{value:"NONE",children:e("none")})]})]})]}),(0,t.jsxs)(S.Button,{disabled:l,onClick:()=>void h(),children:[l?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{})," ",e("save")]})]})]})})}function z(){let e=(0,p.useTranslations)("githubAppSettings"),n=(0,p.useTranslations)("common"),[r,h]=(0,x.useState)(null),[f,w]=(0,x.useState)(""),[I,E]=(0,x.useState)(""),[A,D]=(0,x.useState)(""),[P,L]=(0,x.useState)(""),[R,K]=(0,x.useState)(!1),[q,$]=(0,x.useState)(!0),[H,F]=(0,x.useState)(!1),[G,V]=(0,x.useState)(null),[_,z]=(0,x.useState)(null),U=(0,x.useCallback)(e=>{h(e),w(e.appId??""),E(e.installationId??""),D("")},[]),O=(0,x.useCallback)(async()=>{try{let e=await (0,k.controlPlaneRequest)(`query GitHubAppSettings { githubAppSettings { ${B} } }`);U(e.githubAppSettings)}catch(e){V(e instanceof Error?e.message:String(e))}finally{$(!1)}},[U]);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>{L(window.location.origin),O()},0);return()=>window.clearTimeout(e)},[O]);let J=async t=>{t.preventDefault(),F(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation SaveGitHubAppSettings($input: SaveGitHubAppSettingsInput!) {
|
|
26
|
-
saveGitHubAppSettings(input: $input) { ${B} }
|
|
27
|
-
}`,{input:{appId:f.trim(),installationId:I.trim(),privateKey:A||null}});U(t.saveGitHubAppSettings),V(null),z(A&&r?.configured?e("rotated"):e("saved"))}catch(e){V(e instanceof Error?e.message:String(e)),z(null)}finally{F(!1)}},M=async()=>{F(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation TestGitHubAppConnection {
|
|
28
|
-
testGitHubAppConnection { ${B} }
|
|
29
|
-
}`);U(t.testGitHubAppConnection),V(null),z(e("connectionSucceeded"))}catch(e){V(e instanceof Error?e.message:String(e)),z(null)}finally{F(!1)}},W=async()=>{F(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation ClearGitHubAppCredentials {
|
|
30
|
-
clearGitHubAppCredentials { ${B} }
|
|
31
|
-
}`);U(t.clearGitHubAppCredentials),V(null),z(e("removed"))}catch(e){V(e instanceof Error?e.message:String(e)),z(null)}finally{F(!1)}},Z=async t=>{if(!t.name.toLowerCase().endsWith(".pem")){V(e("pemFileInvalid")),z(null);return}try{let a=await t.text();if(!/-----BEGIN (?:RSA )?PRIVATE KEY-----/.test(a)||!/-----END (?:RSA )?PRIVATE KEY-----/.test(a)){V(e("pemFileInvalid")),z(null);return}D(a),V(null),z(e("pemFileLoaded",{filename:t.name}))}catch{V(e("pemFileReadError")),z(null)}};return(0,t.jsx)("form",{onSubmit:J,children:(0,t.jsx)(C.Card,{children:(0,t.jsxs)(C.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(c.ShieldCheck,{className:"size-5"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-semibold",children:e("title")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("description")})]})]}),(0,t.jsx)(v.Badge,{className:r?.configured?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":void 0,children:r?.configured?e("verified"):e("notConfigured")})]}),q?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{}),e("loading")]}):(0,t.jsxs)(t.Fragment,{children:[G&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:G})}),_&&(0,t.jsxs)(j.Alert,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(a.CheckCircle2,{}),(0,t.jsx)(j.AlertDescription,{className:"text-current",children:_})]}),(0,t.jsxs)("div",{className:"rounded-lg border bg-muted/30 p-4",children:[(0,t.jsx)("h3",{className:"font-medium",children:e("setupTitle")}),(0,t.jsxs)("ol",{className:"mt-3 list-decimal space-y-3 pl-5 text-sm text-muted-foreground",children:[(0,t.jsxs)("li",{children:[e("stepRegister")," ",(0,t.jsxs)("a",{className:"inline-flex items-center gap-1 text-primary hover:underline",href:"https://github.com/settings/apps/new",rel:"noreferrer",target:"_blank",children:[e("registerLink"),(0,t.jsx)(s.ExternalLink,{className:"size-3"})]})]}),(0,t.jsxs)("li",{children:[e("stepHomepage")," ",(0,t.jsx)("code",{className:"break-all rounded bg-muted px-1 py-0.5 text-xs text-foreground",children:P}),e("stepHomepageSuffix")]}),(0,t.jsx)("li",{children:e("stepPermissions")}),(0,t.jsx)("li",{children:e("stepInstall")}),(0,t.jsxs)("li",{children:[e("stepInstallationId")," ",(0,t.jsx)("code",{className:"break-all rounded bg-muted px-1 py-0.5 text-xs text-foreground",children:"https://github.com/organizations/<Organization-name>/settings/installations/<ID>"}),e("stepInstallationIdSuffix")]}),(0,t.jsx)("li",{children:e("stepCredentials")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"github-app-id",children:e("appId")}),(0,t.jsx)(b.Input,{id:"github-app-id",inputMode:"numeric",onChange:e=>w(e.target.value),placeholder:e("appIdPlaceholder"),required:!0,value:f})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"github-installation-id",children:e("installationId")}),(0,t.jsx)(b.Input,{id:"github-installation-id",inputMode:"numeric",onChange:e=>E(e.target.value),placeholder:e("installationIdPlaceholder"),required:!0,value:I})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"github-app-private-key",children:e("privateKey")}),(0,t.jsxs)("div",{"aria-label":e("privateKeyDropZone"),className:`rounded-md border border-dashed p-2 transition-colors ${R?"border-primary bg-primary/5":"border-input"}`,onDragEnter:e=>{e.preventDefault(),K(!0)},onDragLeave:()=>K(!1),onDragOver:e=>{e.preventDefault(),e.dataTransfer.dropEffect="copy",K(!0)},onDrop:e=>{e.preventDefault(),K(!1);let t=e.dataTransfer.files.item(0);t&&Z(t)},role:"group",children:[(0,t.jsxs)("p",{className:"mb-2 flex items-center gap-1.5 text-xs text-muted-foreground",children:[(0,t.jsx)(m.Upload,{className:"size-3.5"}),e("pemDropHint")]}),(0,t.jsx)(T.Textarea,{autoComplete:"new-password",className:"min-h-40 border-0 bg-transparent font-mono text-xs shadow-none focus-visible:ring-0 dark:bg-transparent",id:"github-app-private-key",onChange:e=>D(e.target.value),placeholder:r?.privateKeyConfigured?e("privateKeyPlaceholderConfigured"):e("privateKeyPlaceholder"),required:!r?.privateKeyConfigured,value:A})]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:r?.privateKeyConfigured?e("privateKeyKeepHelp"):e("privateKeyHelp")})]}),r?.configured&&(0,t.jsxs)(j.Alert,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(i.KeyRound,{}),(0,t.jsxs)(j.AlertDescription,{className:"text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)("p",{className:"font-medium",children:e("connectedAs",{app:r.appSlug??"—",account:r.accountLogin??"—"})}),(0,t.jsx)("p",{className:"mt-1 text-xs",children:e("connectionDetails",{permission:r.actionsPermission??"—",selection:r.repositorySelection??"—"})}),r.verifiedAt&&(0,t.jsx)("p",{className:"mt-1 text-xs",children:e("lastVerified",{date:new Date(r.verifiedAt).toLocaleString()})}),r.keyFingerprint&&(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:r.keyFingerprint})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2 border-t pt-4",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:n("cancel"),description:e("confirmRemoveDescription"),onConfirm:W,title:e("confirmRemove"),trigger:(0,t.jsxs)(S.Button,{disabled:H||!r?.configured,type:"button",variant:"ghost",children:[(0,t.jsx)(d.Trash2,{}),e("remove")]})}),(0,t.jsxs)(S.Button,{disabled:H||!r?.configured,onClick:()=>void M(),type:"button",variant:"outline",children:[(0,t.jsx)(u,{}),e("test")]}),(0,t.jsxs)(S.Button,{disabled:H,type:"submit",children:[H?(0,t.jsx)(N.Spinner,{}):A&&r?.configured?(0,t.jsx)(l.RotateCw,{}):(0,t.jsx)(o.Save,{}),A&&r?.configured?e("rotate"):e("save")]})]})]})]})})})}function U(){let e=(0,p.useTranslations)("githubSettings"),n=(0,p.useTranslations)("common"),[s,i]=(0,x.useState)(null),[l,c]=(0,x.useState)(""),[m,h]=(0,x.useState)(null),[f,w]=(0,x.useState)(!0),[I,E]=(0,x.useState)(!1),[A,D]=(0,x.useState)(null),[T,P]=(0,x.useState)(null),L=e=>{i(e),c("")},R=(0,x.useCallback)(async()=>{try{let e=await (0,k.controlPlaneRequest)(`query GitHubSettings { githubSettings { ${G} } }`);L(e.githubSettings)}catch(e){D(e instanceof Error?e.message:String(e))}finally{w(!1)}},[]);(0,x.useEffect)(()=>{let e=window.setTimeout(()=>void R(),0);return()=>window.clearTimeout(e)},[R]);let K=async t=>{t.preventDefault(),E(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation SaveGitHubSettings($input: SaveGitHubSettingsInput!) {
|
|
32
|
-
saveGitHubSettings(input: $input) { ${G} }
|
|
33
|
-
}`,{input:{apiToken:l||null}});L(t.saveGitHubSettings),h(null),D(null),P(e("saved"))}catch(e){D(e instanceof Error?e.message:String(e)),P(null)}finally{E(!1)}},q=async()=>{E(!0);try{let t=await (0,k.controlPlaneRequest)("mutation TestGitHubConnection { testGitHubConnection { login name avatarUrl url } }");h(t.testGitHubConnection),D(null),P(e("connectionSucceeded"))}catch(e){h(null),D(e instanceof Error?e.message:String(e)),P(null)}finally{E(!1)}},$=async()=>{E(!0);try{let t=await (0,k.controlPlaneRequest)(`mutation ClearGitHubCredentials {
|
|
34
|
-
clearGitHubCredentials { ${G} }
|
|
35
|
-
}`);L(t.clearGitHubCredentials),h(null),D(null),P(e("removed"))}catch(e){D(e instanceof Error?e.message:String(e)),P(null)}finally{E(!1)}};return(0,t.jsx)("form",{onSubmit:K,children:(0,t.jsx)(C.Card,{children:(0,t.jsxs)(C.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.GitPullRequest,{className:"size-5"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-semibold",children:e("title")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("description")})]})]}),(0,t.jsx)(v.Badge,{className:s?.tokenConfigured?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":void 0,children:s?.tokenConfigured?e("configured"):e("notConfigured")})]}),f?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{}),e("loading")]}):(0,t.jsxs)(t.Fragment,{children:[A&&(0,t.jsx)(j.Alert,{variant:"destructive",children:(0,t.jsx)(j.AlertDescription,{children:A})}),T&&(0,t.jsxs)(j.Alert,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(a.CheckCircle2,{}),(0,t.jsx)(j.AlertDescription,{className:"text-current",children:T})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(y.Label,{className:"mb-1.5 block text-sm font-medium",htmlFor:"github-token",children:e("apiToken")}),(0,t.jsx)(b.Input,{autoComplete:"new-password",id:"github-token",onChange:e=>c(e.target.value),placeholder:s?.tokenConfigured?e("tokenPlaceholderConfigured"):e("tokenPlaceholder"),required:!s?.tokenConfigured,type:"password",value:l}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:s?.tokenConfigured?e("tokenKeepHelp"):e("tokenHelp")})]}),m&&(0,t.jsx)(j.Alert,{className:"bg-muted",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:m.name??m.login}),(0,t.jsxs)("a",{className:"text-sm text-primary hover:underline",href:m.url,rel:"noreferrer",target:"_blank",children:["@",m.login]})]})}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2 border-t pt-4",children:[(0,t.jsx)(g.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:n("cancel"),description:e("confirmRemoveDescription"),onConfirm:$,title:e("confirmRemove"),trigger:(0,t.jsxs)(S.Button,{disabled:I||!s?.tokenConfigured,type:"button",variant:"ghost",children:[(0,t.jsx)(d.Trash2,{}),e("remove")]})}),(0,t.jsxs)(S.Button,{disabled:I||!s?.tokenConfigured,onClick:()=>void q(),type:"button",variant:"outline",children:[(0,t.jsx)(u,{}),e("test")]}),(0,t.jsxs)(S.Button,{disabled:I,type:"submit",children:[I?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(o.Save,{}),e("save")]})]})]})]})})})}e.s(["SettingsPage",0,function(){let e=(0,p.useTranslations)("settings");return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",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.jsx)(F.DatabaseEncryptionAlert,{}),(0,t.jsxs)("div",{className:"grid items-start gap-6 xl:grid-cols-2",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-8",children:[(0,t.jsx)(V,{description:e("developmentGroupDescription"),id:"settings-development",title:e("developmentGroup"),children:(0,t.jsx)(_,{})}),(0,t.jsxs)(V,{description:e("appleGroupDescription"),id:"settings-apple",title:e("appleGroup"),children:[(0,t.jsx)(L,{}),(0,t.jsx)(q,{})]})]}),(0,t.jsx)("div",{className:"min-w-0",children:(0,t.jsxs)(V,{description:e("integrationsGroupDescription"),id:"settings-integrations",title:e("integrationsGroup"),children:[(0,t.jsx)(H,{embedded:!0}),(0,t.jsx)(U,{}),(0,t.jsx)(z,{}),(0,t.jsx)(I,{})]})})]})]})}],534710)}]);
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return m},MiddlewareNotFoundError:function(){return k},MissingStaticPage:function(){return x},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return g},ST:function(){return b},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return s},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>l.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=s();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let g="u">typeof performance,b=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class k extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},618566,(e,t,r)=>{t.exports=e.r(976562)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return s},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${l}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return l(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(718967),o=e.r(652817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809),i=e.r(843476),l=a._(e.r(271645)),u=e.r(195057),s=e.r(8372),c=e.r(818581),d=e.r(718967),f=e.r(405550);e.r(233525);let p=e.r(388540),h=e.r(91949),g=e.r(573668),b=e.r(509396);function m(t){var r,n;let o,a,m,[v,x]=(0,l.useOptimistic)(h.IDLE_LINK_STATUS),k=(0,l.useRef)(null),{href:w,as:P,children:C,prefetch:M=null,passHref:R,replace:j,shallow:S,scroll:E,onClick:O,onMouseEnter:L,onTouchStart:_,legacyBehavior:A=!1,onNavigate:T,transitionTypes:I,ref:N,unstable_dynamicOnHover:$,...z}=t;o=C,A&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let D=l.default.useContext(s.AppRouterContext),U=!1!==M,F=!1!==M?null===(n=M)||"auto"===n?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,B="string"==typeof(r=P||w)?r:(0,u.formatUrl)(r);if(A){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(o)}let V=A?a&&"object"==typeof a&&a.ref:N,W=l.default.useCallback(e=>(null!==D&&(k.current=(0,h.mountLinkInstance)(e,B,D,F,U,x)),()=>{k.current&&((0,h.unmountLinkForCurrentNavigation)(k.current),k.current=null),(0,h.unmountPrefetchableInstance)(e)}),[U,B,D,F,x]),q={ref:(0,c.useMergedRef)(W,V),onClick(t){A||"function"!=typeof O||O(t),A&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!D||t.defaultPrevented||function(t,r,n,o,a,i,u){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(699781);l.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(t,B,k,j,E,T,I)},onMouseEnter(e){A||"function"!=typeof L||L(e),A&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),D&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){A||"function"!=typeof _||_(e),A&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),D&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,d.isAbsoluteUrl)(B)?q.href=B:A&&!R&&("a"!==a.type||"href"in a.props)||(q.href=(0,f.addBasePath)(B)),m=A?l.default.cloneElement(a,q):(0,i.jsx)("a",{...z,...q,children:o}),(0,i.jsx)(y.Provider,{value:v,children:m})}e.r(284508);let y=(0,l.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77105,549092,489790,33165,e=>{"use strict";var t=e.i(522016),r=e.i(618566),n=e.i(271645),o=e.i(861745),a=e.i(247167);function i(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function l(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function s(e){let t=function(){try{return"true"===a.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),o=n.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return o&&(i+="#"+o),i}function c(e,t){let r,n=s(e),o=s(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(o)}function d(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function g(e){return e.includes("[")}function b(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!g(t)&&g(o))return -1;if(g(t)&&!g(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1}}return 0}function m(e){return e.sort(b)}function y(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function v(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function x(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=v(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let l=`${a}=${n};`;for(let[e,t]of Object.entries(i))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}e.s(["getLocaleAsPrefix",0,f,"getLocalePrefix",0,d,"getLocalizedTemplate",0,u,"getSortedPathnames",0,m,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,i,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,c,"normalizeTrailingSlash",0,s,"prefixPathname",0,l,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],549092),e.s(["applyPathnamePrefix",0,function(e,t,r,n){let o,{mode:a}=r.localePrefix;if(void 0!==n)o=n;else if(i(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||a;"always"===n?o=!0:"as-needed"===n&&(o=e?t!==e.defaultLocale:t!==r.defaultLocale)}return o?l(d(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:n,query:o}){function a(e){let a,i=n[e];return i?(a=u(i,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=s(a),o&&(a+=y(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}},"getBasePath",0,v,"getRoute",0,function(e,t,r){let n=m(Object.keys(r)),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(c(n,o))return t}else if(c(u(n,e,t),o))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,y],489790),e.s(["default",0,x],33165);var k=e.i(843476),w=(0,n.forwardRef)(function({href:e,locale:n,localeCookie:a,onClick:i,prefetch:l,...u},s){let c=(0,o.useLocale)(),d=null!=n&&n!==c,f=(0,r.usePathname)();return d&&(l=!1),(0,k.jsx)(t.default,{ref:s,href:e,hrefLang:d?n:void 0,onClick:function(e){x(a,f,c,n),i&&i(e)},prefetch:l,...u})});e.s(["default",0,w],77105)},520133,e=>{"use strict";var t=e.i(618566),r=e.i(271645),n=e.i(861745),o=r["use".trim()],a=e.i(549092),i=e.i(77105),l=e.i(489790),u=e.i(843476),s=e.i(33165);let{Link:c,redirect:d,usePathname:f,useRouter:p,getPathname:h}=function(e){let{Link:c,config:d,getPathname:f,...p}=function(e,n){var s,c,d;let f={...s=n||{},localePrefix:"object"==typeof(d=s.localePrefix)?d:{mode:d||"always"},localeCookie:!!((c=s.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof c&&c},localeDetection:s.localeDetection??!0,alternateLinks:s.alternateLinks??!0},p=f.pathnames,h=(0,r.forwardRef)(function({href:t,locale:r,...n},l){let s,c;"object"==typeof t?(s=t.pathname,c=t.params):s=t;let d=(0,a.isLocalizableHref)(t),h=e(),b=(0,a.isPromise)(h)?o(h):h,m=d?g({locale:r||b,href:null==p?s:{pathname:s,params:c},forcePrefix:null!=r||void 0}):s;return(0,u.jsx)(i.default,{ref:l,href:"object"==typeof t?{...t,pathname:m}:m,locale:r,localeCookie:f.localeCookie,...n})});function g(e){let t,{forcePrefix:r,href:n,locale:o}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,l.serializeSearchParams)(n.query))):t=n:t=(0,l.compileLocalizedPathname)({locale:o,...(0,l.normalizeNameOrNameWithParams)(n),pathnames:f.pathnames}),(0,l.applyPathnamePrefix)(t,o,f,r)}function b(e){return function(t,...r){return e(g(t),...r)}}return{config:f,Link:h,redirect:b(t.redirect),permanentRedirect:b(t.permanentRedirect),getPathname:g}}(n.useLocale,e);return{...p,Link:c,usePathname:function(){let e,o,i=(e=(0,t.usePathname)(),o=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,a.getLocalePrefix)(o,d.localePrefix);if((0,a.hasPathnamePrefixed)(r,e))t=(0,a.unprefixPathname)(e,r);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let r=(0,a.getLocaleAsPrefix)(o);(0,a.hasPathnamePrefixed)(r,e)&&(t=(0,a.unprefixPathname)(e,r))}return t},[d.localePrefix,o,e])),u=(0,n.useLocale)();return(0,r.useMemo)(()=>i&&d.pathnames?(0,l.getRoute)(u,i,d.pathnames):i,[u,i])},useRouter:function(){let e=(0,t.useRouter)(),o=(0,n.useLocale)(),a=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...i}=r||{},l=[f({href:t,locale:n||o,forcePrefix:null!=n||void 0})];Object.keys(i).length>0&&l.push(i),(0,s.default)(d.localeCookie,a,o,n),e(...l)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[o,a,e])},getPathname:f}}({locales:["en","es","fr","de"],defaultLocale:"en",localePrefix:"always"});e.s(["Link",0,c,"usePathname",0,f,"useRouter",0,p],520133)},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)},793479,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Input",0,function({className:e,type:n,...o}){return(0,t.jsx)("input",{type:n,"data-slot":"input",className:(0,r.cn)("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e),...o})}])},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)},263676,e=>{"use strict";var t=e.i(814387);e.s(["X",()=>t.default])},166794,e=>{"use strict";let t=(0,e.i(456420).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",0,t],166794)},487812,e=>{"use strict";var t=e.i(843476);e.i(593698),e.i(746336);var r=e.i(271645);function n(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=e.i(30030);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),l=Symbol.for("react.lazy");function u(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 s=r[" use ".trim().toString()],c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var o;let l,c=(o=`Primitive.${n}`,(l=r.forwardRef((e,t)=>{var n;let l,c,{children:d,...f}=e,p=null,h=!1,g=[];u(d)&&"function"==typeof s&&(d=s(d._payload)),r.Children.forEach(d,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;u(t)&&"function"==typeof s&&(t=s(t._payload)),p=((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(p?.props?.children)}else g.push(e)}),p?p=r.cloneElement(p,void 0,g):!h&&1===r.Children.count(d)&&r.isValidElement(d)&&(p=d);let b=p?(n=p,(c=(l=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?n.ref:(c=(l=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,m=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(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():a(e[t],null)}}}}(...e),e)}(t,b);if(!p){if(d||0===d){let e,t;throw Error(h?(e=o,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=o,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return d}let y=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(y.ref=t?m:b),r.cloneElement(p,y)})).displayName=`${o}.Slot`,l),d=r.forwardRef((e,r)=>{let{asChild:o,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(o?c:n,{...a,ref:r})});return d.displayName=`Primitive.${n}`,{...e,[n]:d}},{}),d=e.i(832006),f=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var p=r[" useInsertionEffect ".trim().toString()]||f;function h({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){let[a,i,l]=function({defaultProp:e,onChange:t}){let[n,o]=r.useState(e),a=r.useRef(n),i=r.useRef(t);return p(()=>{i.current=t},[t]),r.useEffect(()=>{a.current!==n&&(i.current?.(n),a.current=n)},[n,a]),[n,o,i]}({defaultProp:t,onChange:n}),u=void 0!==e,s=u?e:a;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${o} 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=u},[u,o])}return[s,r.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else i(t)},[u,e,i,l])]}Symbol("RADIX:SYNC_STATE");var g="ContextMenu",[b,m]=(0,o.createContextScope)(g,[d.createMenuScope]),y=(0,d.createMenuScope)(),[v,x]=b(g),k=e=>{let{__scopeContextMenu:n,children:o,onOpenChange:a,open:i,dir:l,modal:u=!0}=e,s=r.useRef(!1);{let e=r.useRef(!1);r.useEffect(()=>{!0!==i||s.current||e.current||(e.current=!0,console.warn("ContextMenu: The `open` prop has been set to `true` before the user has interacted with the trigger, so its position is indeterminate. This is likely unintended and will result in the menu being anchored to the top-left corner of the viewport."))},[i])}let[c,f]=h({prop:i,defaultProp:!1,onChange:a,caller:g}),p=y(n);return(0,t.jsx)(v,{scope:n,open:c,onOpenChange:f,modal:u,hasInteractedRef:s,children:(0,t.jsx)(d.Root,{...p,dir:l,open:c,onOpenChange:f,modal:u,children:o})})};k.displayName=g;var w="ContextMenuTrigger",P=r.forwardRef((e,o)=>{let{__scopeContextMenu:a,disabled:i=!1,...l}=e,u=x(w,a),s=y(a),[f,p]=r.useState({x:0,y:0}),h=r.useMemo(()=>({current:{getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...f})}}),[f]),g=r.useRef(0),b=r.useCallback(()=>window.clearTimeout(g.current),[]),m=e=>{u.hasInteractedRef.current=!0,p({x:e.clientX,y:e.clientY}),u.onOpenChange(!0)};return r.useEffect(()=>b,[b]),r.useEffect(()=>void(i&&b()),[i,b]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Anchor,{...s,virtualRef:h}),(0,t.jsx)(c.span,{"data-state":u.open?"open":"closed","data-disabled":i?"":void 0,...l,ref:o,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:i?e.onContextMenu:n(e.onContextMenu,e=>{b(),m(e),e.preventDefault()}),onPointerDown:i?e.onPointerDown:n(e.onPointerDown,U(e=>{b(),u.open&&u.onOpenChange(!1),g.current=window.setTimeout(()=>m(e),700)})),onPointerMove:i?e.onPointerMove:n(e.onPointerMove,U(b)),onPointerCancel:i?e.onPointerCancel:n(e.onPointerCancel,U(b)),onPointerUp:i?e.onPointerUp:n(e.onPointerUp,U(b))})]})});P.displayName=w;var C=e=>{let{__scopeContextMenu:r,...n}=e,o=y(r);return(0,t.jsx)(d.Portal,{...o,...n})};C.displayName="ContextMenuPortal";var M="ContextMenuContent",R=r.forwardRef((e,n)=>{let{__scopeContextMenu:o,...a}=e,i=x(M,o),l=y(o),u=r.useRef(!1);return(0,t.jsx)(d.Content,{...l,...a,ref:n,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),!t.defaultPrevented&&u.current&&t.preventDefault(),u.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||i.modal||(u.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});R.displayName=M;var j=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.Group,{...a,...o,ref:r})});j.displayName="ContextMenuGroup";var S=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.Label,{...a,...o,ref:r})});S.displayName="ContextMenuLabel";var E=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.Item,{...a,...o,ref:r})});E.displayName="ContextMenuItem";var O=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.CheckboxItem,{...a,...o,ref:r})});O.displayName="ContextMenuCheckboxItem";var L=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.RadioGroup,{...a,...o,ref:r})});L.displayName="ContextMenuRadioGroup";var _=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.RadioItem,{...a,...o,ref:r})});_.displayName="ContextMenuRadioItem";var A=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.ItemIndicator,{...a,...o,ref:r})});A.displayName="ContextMenuItemIndicator";var T=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.Separator,{...a,...o,ref:r})});T.displayName="ContextMenuSeparator";var I=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.Arrow,{...a,...o,ref:r})});I.displayName="ContextMenuArrow";var N="ContextMenuSub",$=e=>{let{__scopeContextMenu:r,children:n,onOpenChange:o,open:a,defaultOpen:i}=e,l=y(r),[u,s]=h({prop:a,defaultProp:i??!1,onChange:o,caller:N});return(0,t.jsx)(d.Sub,{...l,open:u,onOpenChange:s,children:n})};$.displayName=N;var z=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.SubTrigger,{...a,...o,ref:r})});z.displayName="ContextMenuSubTrigger";var D=r.forwardRef((e,r)=>{let{__scopeContextMenu:n,...o}=e,a=y(n);return(0,t.jsx)(d.SubContent,{...a,...o,ref:r,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});function U(e){return t=>"mouse"!==t.pointerType?e(t):void 0}D.displayName="ContextMenuSubContent",e.s(["Arrow",0,I,"CheckboxItem",0,O,"Content",0,R,"ContextMenu",0,k,"ContextMenuArrow",0,I,"ContextMenuCheckboxItem",0,O,"ContextMenuContent",0,R,"ContextMenuGroup",0,j,"ContextMenuItem",0,E,"ContextMenuItemIndicator",0,A,"ContextMenuLabel",0,S,"ContextMenuPortal",0,C,"ContextMenuRadioGroup",0,L,"ContextMenuRadioItem",0,_,"ContextMenuSeparator",0,T,"ContextMenuSub",0,$,"ContextMenuSubContent",0,D,"ContextMenuSubTrigger",0,z,"ContextMenuTrigger",0,P,"Group",0,j,"Item",0,E,"ItemIndicator",0,A,"Label",0,S,"Portal",0,C,"RadioGroup",0,L,"RadioItem",0,_,"Root",0,k,"Separator",0,T,"Sub",0,$,"SubContent",0,D,"SubTrigger",0,z,"Trigger",0,P,"createContextMenuScope",0,m],79602);var F=e.i(79602),F=F,B=e.i(975157);function V(e){return(0,t.jsx)(F.Portal,{"data-slot":"context-menu-portal",...e})}e.s(["ContextMenu",0,function(e){return(0,t.jsx)(F.Root,{"data-slot":"context-menu",...e})},"ContextMenuContent",0,function({className:e,...r}){return(0,t.jsx)(V,{children:(0,t.jsx)(F.Content,{className:(0,B.cn)("z-50 min-w-40 overflow-hidden rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 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),"data-slot":"context-menu-content",...r})})},"ContextMenuItem",0,function({className:e,inset:r,variant:n="default",...o}){return(0,t.jsx)(F.Item,{className:(0,B.cn)("relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset=true]:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),"data-inset":r,"data-slot":"context-menu-item","data-variant":n,...o})},"ContextMenuLabel",0,function({className:e,inset:r,...n}){return(0,t.jsx)(F.Label,{className:(0,B.cn)("px-1.5 py-1 text-xs font-medium text-muted-foreground data-[inset=true]:pl-7",e),"data-inset":r,"data-slot":"context-menu-label",...n})},"ContextMenuSeparator",0,function({className:e,...r}){return(0,t.jsx)(F.Separator,{className:(0,B.cn)("-mx-1 my-1 h-px bg-border",e),"data-slot":"context-menu-separator",...r})},"ContextMenuTrigger",0,function(e){return(0,t.jsx)(F.Trigger,{"data-slot":"context-menu-trigger",...e})}],487812)},809584,e=>{"use strict";let t=(0,e.i(456420).default)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);e.s(["Database",0,t],809584)},567745,e=>{"use strict";let t=(0,e.i(456420).default)("database-zap",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]]);e.s(["DatabaseZap",0,t],567745)},902434,e=>{"use strict";let t=(0,e.i(456420).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);e.s(["default",0,t])},835079,e=>{"use strict";let t=(0,e.i(456420).default)("folder-git-2",[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);e.s(["FolderGit2",0,t],835079)},171502,e=>{"use strict";e.s(["worktreeHighlightAccentClasses",0,{gray:"border-l-slate-500",stone:"border-l-stone-500",red:"border-l-red-500",rose:"border-l-rose-500",orange:"border-l-orange-500",amber:"border-l-amber-500",yellow:"border-l-yellow-500",lime:"border-l-lime-500",green:"border-l-green-500",emerald:"border-l-emerald-500",teal:"border-l-teal-500",cyan:"border-l-cyan-500",sky:"border-l-sky-500",blue:"border-l-blue-500",indigo:"border-l-indigo-500",violet:"border-l-violet-500",purple:"border-l-purple-500",fuchsia:"border-l-fuchsia-500",pink:"border-l-pink-500"},"worktreeHighlightBackgroundClasses",0,{gray:"bg-slate-500/10 hover:bg-slate-500/20",stone:"bg-stone-500/10 hover:bg-stone-500/20",red:"bg-red-500/10 hover:bg-red-500/20",rose:"bg-rose-500/10 hover:bg-rose-500/20",orange:"bg-orange-500/10 hover:bg-orange-500/20",amber:"bg-amber-500/10 hover:bg-amber-500/20",yellow:"bg-yellow-500/10 hover:bg-yellow-500/20",lime:"bg-lime-500/10 hover:bg-lime-500/20",green:"bg-green-500/10 hover:bg-green-500/20",emerald:"bg-emerald-500/10 hover:bg-emerald-500/20",teal:"bg-teal-500/10 hover:bg-teal-500/20",cyan:"bg-cyan-500/10 hover:bg-cyan-500/20",sky:"bg-sky-500/10 hover:bg-sky-500/20",blue:"bg-blue-500/10 hover:bg-blue-500/20",indigo:"bg-indigo-500/10 hover:bg-indigo-500/20",violet:"bg-violet-500/10 hover:bg-violet-500/20",purple:"bg-purple-500/10 hover:bg-purple-500/20",fuchsia:"bg-fuchsia-500/10 hover:bg-fuchsia-500/20",pink:"bg-pink-500/10 hover:bg-pink-500/20"},"worktreeHighlightSurfaceClasses",0,{gray:"border-slate-500/30 bg-slate-500/10 hover:border-slate-500/50 hover:bg-slate-500/20",stone:"border-stone-500/30 bg-stone-500/10 hover:border-stone-500/50 hover:bg-stone-500/20",red:"border-red-500/30 bg-red-500/10 hover:border-red-500/50 hover:bg-red-500/20",rose:"border-rose-500/30 bg-rose-500/10 hover:border-rose-500/50 hover:bg-rose-500/20",orange:"border-orange-500/30 bg-orange-500/10 hover:border-orange-500/50 hover:bg-orange-500/20",amber:"border-amber-500/30 bg-amber-500/10 hover:border-amber-500/50 hover:bg-amber-500/20",yellow:"border-yellow-500/30 bg-yellow-500/10 hover:border-yellow-500/50 hover:bg-yellow-500/20",lime:"border-lime-500/30 bg-lime-500/10 hover:border-lime-500/50 hover:bg-lime-500/20",green:"border-green-500/30 bg-green-500/10 hover:border-green-500/50 hover:bg-green-500/20",emerald:"border-emerald-500/30 bg-emerald-500/10 hover:border-emerald-500/50 hover:bg-emerald-500/20",teal:"border-teal-500/30 bg-teal-500/10 hover:border-teal-500/50 hover:bg-teal-500/20",cyan:"border-cyan-500/30 bg-cyan-500/10 hover:border-cyan-500/50 hover:bg-cyan-500/20",sky:"border-sky-500/30 bg-sky-500/10 hover:border-sky-500/50 hover:bg-sky-500/20",blue:"border-blue-500/30 bg-blue-500/10 hover:border-blue-500/50 hover:bg-blue-500/20",indigo:"border-indigo-500/30 bg-indigo-500/10 hover:border-indigo-500/50 hover:bg-indigo-500/20",violet:"border-violet-500/30 bg-violet-500/10 hover:border-violet-500/50 hover:bg-violet-500/20",purple:"border-purple-500/30 bg-purple-500/10 hover:border-purple-500/50 hover:bg-purple-500/20",fuchsia:"border-fuchsia-500/30 bg-fuchsia-500/10 hover:border-fuchsia-500/50 hover:bg-fuchsia-500/20",pink:"border-pink-500/30 bg-pink-500/10 hover:border-pink-500/50 hover:bg-pink-500/20"}])},634398,e=>{"use strict";let t=(0,e.i(456420).default)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]]);e.s(["GitPullRequest",0,t],634398)},940276,e=>{"use strict";e.s(["findWorktreeOverviewEntry",0,function(e,t){for(let r of e.agents)for(let e of r.codebases){let n=e.worktrees.find(e=>e.id===t);if(n)return{agentGroup:r,group:e,worktree:n}}return null},"shouldNavigateWorktreeSurface",0,function(e){if(e.defaultPrevented||0!==e.button)return!1;let t=e.target;return t instanceof Element&&!!e.currentTarget.contains(t)&&!t.closest("a,button,input,select,textarea,[role='button'],[role='link'],[role='menuitem'],[data-worktree-navigation-ignore]")},"worktreeDetailHref",0,function(e){return`/worktrees/${encodeURIComponent(e)}`}])},986206,e=>{"use strict";let t=(0,e.i(456420).default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);e.s(["Smartphone",0,t],986206)},584026,e=>{"use strict";let t=(0,e.i(456420).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["ShieldCheck",0,t],584026)},747925,e=>{"use strict";let t=(0,e.i(456420).default)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]);e.s(["Wrench",0,t],747925)},93384,e=>{"use strict";let t=(0,e.i(456420).default)("hammer",[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]]);e.s(["Hammer",0,t],93384)},328623,e=>{"use strict";let t=(0,e.i(456420).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,t],328623)},604139,e=>{"use strict";let t=(0,e.i(456420).default)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);e.s(["Terminal",0,t],604139)},966473,e=>{"use strict";let t=(0,e.i(456420).default)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["PlayCircle",0,t],966473)},927735,e=>{"use strict";let t=(0,e.i(456420).default)("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]);e.s(["MessageSquareText",0,t],927735)},97194,e=>{"use strict";let t=(0,e.i(456420).default)("bell-ring",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]]);e.s(["BellRing",0,t],97194)},302493,e=>{"use strict";let t=`
|
|
2
|
-
id typeKey title body href resourceKind resourceId worktreeId highlightColor
|
|
3
|
-
sidebarRequested browserRequested webPushRequested sidebarDismissedAt createdAt updatedAt
|
|
4
|
-
`;e.s(["APP_NOTIFICATION_FIELDS",0,t])}]);
|