@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
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
appStoreConnectPrivateKeyConfigured appStoreConnectPrivateKeyFingerprint
|
|
20
20
|
appStoreConnectVerifiedAt appStoreConnectLastTestedAt
|
|
21
21
|
appStoreConnectVerificationError updatedAt
|
|
22
|
-
`;e.s(["IOS_DEVICE_FIELDS",0,r,"IOS_DEVICE_FIRMWARE_FIELDS",0,a,"IOS_DEVICE_LIST_FIELDS",0,t,"IOS_DEVICE_SETTINGS_FIELDS",0,i])},725981,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",0,t],725981)},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)},77071,e=>{"use strict";let t=(0,e.i(456420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],77071)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),n=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===n&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var s;let d,c=(s=`Primitive.${n}`,(d=r.forwardRef((e,t)=>{var n;let d,c,{children:u,...p}=e,f=null,g=!1,m=[];o(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){g=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof l&&(t=l(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(f?.props?.children)}else m.push(e)}),f?f=r.cloneElement(f,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let v=f?(n=f,(c=(d=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?n.ref:(c=(d=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=a(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(t,v);if(!f){if(u||0===u){let e,t;throw Error(g?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let h=function(e,t){let r={...t};for(let a in t){let i=e[a],n=t[a];/^on[A-Z]/.test(a)?i&&n?r[a]=(...e)=>{let t=n(...e);return i(...e),t}:i&&(r[a]=i):"style"===a?r[a]={...i,...n}:"className"===a&&(r[a]=[i,n].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(f,h)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:a,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?c:n,{...i,ref:r})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let i=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...n}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(i({variant:r}),e),...n})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...i})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...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),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...i}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...i})}],987968)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),i=e.i(975157);let n=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:o=!1,...l}){let s=o?a.Slot.Root:"span";return(0,t.jsx)(s,{className:(0,i.cn)(n({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},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])},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)},551757,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,t],551757)},825398,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);e.s(["RotateCw",0,t],825398)},45407,e=>{"use strict";e.s(["CACHE_ENTRY_FIELDS",0,"id key version scope repoId updatedAt locationId","CACHE_SERVER_SETTINGS_FIELDS",0,"configured baseUrl apiKeyConfigured headers { name valueConfigured } updatedAt","STORAGE_LOCATION_FIELDS",0,"id folderName partCount mergeStartedAt mergedAt partsDeletedAt lastDownloadedAt sizeBytes"])},468096,e=>{"use strict";var t=e.i(843476),r=e.i(755566),r=r,a=e.i(948148),i=e.i(271645),n=e.i(929592),o=e.i(637611);e.s(["DatabaseEncryptionAlert",0,function({warningCodes:e}){let l=(0,a.useTranslations)("credentialEncryption"),[s,d]=(0,i.useState)(e??null);(0,i.useEffect)(()=>{if(void 0!==e)return;let t=!1;return(0,o.controlPlaneRequest)(`query CredentialEncryptionWarning {
|
|
22
|
+
`;e.s(["IOS_DEVICE_FIELDS",0,r,"IOS_DEVICE_FIRMWARE_FIELDS",0,a,"IOS_DEVICE_LIST_FIELDS",0,t,"IOS_DEVICE_SETTINGS_FIELDS",0,i])},725981,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",0,t],725981)},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)},77071,e=>{"use strict";let t=(0,e.i(456420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],77071)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),n=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===n&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var s;let d,c=(s=`Primitive.${n}`,(d=r.forwardRef((e,t)=>{var n;let d,c,{children:u,...p}=e,f=null,g=!1,m=[];o(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){g=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof l&&(t=l(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(f?.props?.children)}else m.push(e)}),f?f=r.cloneElement(f,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let v=f?(n=f,(c=(d=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?n.ref:(c=(d=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=a(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(t,v);if(!f){if(u||0===u){let e,t;throw Error(g?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let h=function(e,t){let r={...t};for(let a in t){let i=e[a],n=t[a];/^on[A-Z]/.test(a)?i&&n?r[a]=(...e)=>{let t=n(...e);return i(...e),t}:i&&(r[a]=i):"style"===a?r[a]={...i,...n}:"className"===a&&(r[a]=[i,n].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(f,h)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:a,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?c:n,{...i,ref:r})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let i=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...n}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(i({variant:r}),e),...n})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...i})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...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),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...i}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...i})}],987968)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),i=e.i(975157);let n=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:o=!1,...l}){let s=o?a.Slot.Root:"span";return(0,t.jsx)(s,{className:(0,i.cn)(n({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},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])},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)},551757,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,t],551757)},825398,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);e.s(["RotateCw",0,t],825398)},45407,e=>{"use strict";e.s(["CACHE_ENTRY_FIELDS",0,"id key version scope repoId updatedAt locationId","CACHE_SERVER_SETTINGS_FIELDS",0,"configured baseUrl apiKeyConfigured headers { name valueConfigured } updatedAt","STORAGE_LOCATION_FIELDS",0,"id folderName partCount mergeStartedAt mergedAt partsDeletedAt lastDownloadedAt sizeBytes"])},468096,e=>{"use strict";var t=e.i(843476),r=e.i(755566),r=r,a=e.i(948148),i=e.i(271645),n=e.i(929592),o=e.i(637611);e.s(["DatabaseEncryptionAlert",0,function({warningCodes:e}){let l=(0,a.useTranslations)("credentialEncryption"),[s,d]=(0,i.useState)(e??null);(0,i.useEffect)(()=>{if(void 0!==e)return;let t=!1;return(0,o.controlPlaneRequest)(`query CredentialEncryptionWarning {
|
|
23
23
|
credentialStoreStatus { warnings { code } }
|
|
24
24
|
}`).then(e=>{t||d(e.credentialStoreStatus.warnings.map(e=>e.code))}).catch(()=>void 0),()=>{t=!0}},[e]);let c=e??s;return c?.includes("DATABASE_UNENCRYPTED")?(0,t.jsxs)(n.Alert,{className:"border-amber-500/40 bg-amber-500/10",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)(n.AlertTitle,{children:l("title")}),(0,t.jsxs)(n.AlertDescription,{className:"space-y-3",children:[(0,t.jsx)("p",{children:l("description")}),(0,t.jsx)("pre",{className:"overflow-x-auto rounded-md border bg-background px-3 py-2 text-xs",children:(0,t.jsx)("code",{children:"openssl rand -base64 32"})}),(0,t.jsxs)("p",{children:[l("instructionsPrefix")," ",(0,t.jsx)("code",{children:"CREDENTIAL_ENCRYPTION_KEY"})," ",l("instructionsSuffix")]}),(0,t.jsx)("p",{className:"font-medium",children:l("backup")})]})]}):null}],468096)}]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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 r=document.execCommand("copy");if(t.remove(),!r)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])},624687,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Textarea",0,function({className:e,...n}){return(0,t.jsx)("textarea",{className:(0,r.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),...n})}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}var a=e.i(30030);function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var o=r[" 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 f(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 h=r[" use ".trim().toString()],x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var a;let s,l=(a=`Primitive.${n}`,(s=r.forwardRef((e,t)=>{var n;let s,l,{children:o,...d}=e,c=null,u=!1,m=[];f(o)&&"function"==typeof h&&(o=h(o._payload)),r.Children.forEach(o,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;f(t)&&"function"==typeof h&&(t=h(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(c?.props?.children)}else m.push(e)}),c?c=r.cloneElement(c,void 0,m):!u&&1===r.Children.count(o)&&r.isValidElement(o)&&(c=o);let x=c?(n=c,(l=(s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.ref:(l=(s=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,g=i(t,x);if(!c){if(o||0===o){let e,t;throw Error(u?(e=a,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=a,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return o}let b=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(b.ref=t?g:x),r.cloneElement(c,b)})).displayName=`${a}.Slot`,s),o=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?l:n,{...a,ref:r})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{}),g="Checkbox",[b,y]=(0,a.createContextScope)(g),[v,j]=b(g);function k(e){let{__scopeCheckbox:n,checked:i,children:a,defaultChecked:s,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:m="on",internal_do_not_use_render:f}=e,[h,x]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[a,s,l]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),a=r.useRef(n),s=r.useRef(t);return o(()=>{s.current=t},[t]),r.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,i,s]}({defaultProp:t,onChange:n}),d=void 0!==e,c=d?e:a;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,i])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[d,e,s,l])]}({prop:i,defaultProp:s??!1,onChange:u,caller:g}),[b,y]=r.useState(null),[j,k]=r.useState(null),w=r.useRef(!1),C=!b||!!d||!!b.closest("form"),N={checked:h,disabled:l,setChecked:x,control:b,setControl:y,name:c,form:d,value:m,hasConsumerStoppedPropagationRef:w,required:p,defaultChecked:!I(s)&&s,isFormControl:C,bubbleInput:j,setBubbleInput:k};return(0,t.jsx)(v,{scope:n,...N,children:"function"==typeof f?f(N):a})}var w="CheckboxTrigger",C=r.forwardRef(({__scopeCheckbox:e,onKeyDown:n,onClick:a,...l},o)=>{let{control:d,value:c,disabled:u,checked:p,required:m,setControl:f,setChecked:h,hasConsumerStoppedPropagationRef:g,isFormControl:b,bubbleInput:y}=j(w,e),v=i(o,f),k=r.useRef(p);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>h(k.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,h]),(0,t.jsx)(x.button,{type:"button",role:"checkbox","aria-checked":I(p)?"mixed":p,"aria-required":m,"data-state":D(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:v,onKeyDown:s(n,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:s(a,e=>{h(e=>!!I(e)||!e),y&&b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});C.displayName=w;var N=r.forwardRef((e,r)=>{let{__scopeCheckbox:n,name:i,checked:a,defaultChecked:s,required:l,disabled:o,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(k,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:o,required:l,onCheckedChange:c,name:i,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C,{...p,ref:r,__scopeCheckbox:n}),e&&(0,t.jsx)(R,{__scopeCheckbox:n})]})})});N.displayName=g;var T="CheckboxIndicator",S=r.forwardRef((e,r)=>{let{__scopeCheckbox:n,forceMount:i,...a}=e,s=j(T,n);return(0,t.jsx)(u.Presence,{present:i||I(s.checked)||!0===s.checked,children:(0,t.jsx)(x.span,{"data-state":D(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:r,style:{pointerEvents:"none",...e.style}})})});S.displayName=T;var E="CheckboxBubbleInput",R=r.forwardRef(({__scopeCheckbox:e,...n},a)=>{let{control:s,hasConsumerStoppedPropagationRef:l,checked:o,defaultChecked:u,required:p,disabled:m,name:f,value:h,form:g,bubbleInput:b,setBubbleInput:y}=j(E,e),v=i(a,y),k=(0,d.usePrevious)(o),w=(0,c.useSize)(s);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(k!==o&&e){let r=new Event("click",{bubbles:t});b.indeterminate=I(o),e.call(b,!I(o)&&o),b.dispatchEvent(r)}},[b,k,o,l]);let C=r.useRef(!I(o)&&o);return(0,t.jsx)(x.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??C.current,required:p,disabled:m,name:f,value:h,form:g,...n,tabIndex:-1,ref:v,style:{...n.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function I(e){return"indeterminate"===e}function D(e){return I(e)?"indeterminate":e?"checked":"unchecked"}R.displayName=E,e.s(["Checkbox",0,N,"CheckboxIndicator",0,S,"Indicator",0,S,"Root",0,N,"createCheckboxScope",0,y,"unstable_BubbleInput",0,R,"unstable_CheckboxBubbleInput",0,R,"unstable_CheckboxProvider",0,k,"unstable_CheckboxTrigger",0,C,"unstable_Provider",0,k,"unstable_Trigger",0,C],388474);var $=e.i(388474),$=$,P=e.i(975157),_=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)($.Root,{"data-slot":"checkbox",className:(0,P.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)($.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(_.CheckIcon,{})})})}],59497)},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])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),a=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var o;let d,c=(o=`Primitive.${a}`,(d=r.forwardRef((e,t)=>{var a;let d,c,{children:u,...p}=e,m=null,f=!1,h=[];s(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){f=!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 r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),h.push(m?.props?.children)}else h.push(e)}),m?m=r.cloneElement(m,void 0,h):!f&&1===r.Children.count(u)&&r.isValidElement(u)&&(m=u);let x=m?(a=m,(c=(d=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?a.ref:(c=(d=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,g=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}(t,x);if(!m){if(u||0===u){let e,t;throw Error(f?(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 r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(p,m.props??{});return m.type!==r.Fragment&&(b.ref=t?g:x),r.cloneElement(m,b)})).displayName=`${o}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?c:a,{...i,ref:r})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(o.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),n=e.i(964053),i=e.i(519455),a=e.i(975157);function s({...e}){return(0,t.jsx)(n.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(n.Dialog.Overlay,{className:(0,a.cn)("fixed inset-0 isolate 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),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(n.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:o,showCloseButton:d=!0,...c}){return(0,t.jsxs)(s,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(n.Dialog.Content,{className:(0,a.cn)("fixed top-1/2 left-1/2 z-50 grid max-h-[85dvh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none 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),"data-slot":"dialog-content",...c,children:[o,d&&(0,t.jsx)(n.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(i.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(r.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(n.Dialog.Description,{className:(0,a.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),"data-slot":"dialog-description",...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:s,...l}){return(0,t.jsxs)("div",{className:(0,a.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...l,children:[s,r&&(0,t.jsx)(n.Dialog.Close,{asChild:!0,children:(0,t.jsx)(i.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(n.Dialog.Title,{className:(0,a.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(n.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},515281,e=>{"use strict";let t=(0,e.i(456420).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],515281)},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)},560972,e=>{"use strict";let t=(0,e.i(456420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["default",0,t])},648119,e=>{"use strict";var t=e.i(560972);e.s(["MoreHorizontal",()=>t.default])},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},356505,853138,e=>{"use strict";var t=e.i(843476),r=e.i(755566);e.s(["AlertTriangle",()=>r.default],853138);var r=r,n=e.i(482022),i=e.i(269846);let a=(0,e.i(456420).default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var s=e.i(948148),l=e.i(271645),o=e.i(653090),d=e.i(278015),c=e.i(762279),u=e.i(456743),p=e.i(929592),m=e.i(487486),f=e.i(519455),h=e.i(515288),x=e.i(24265),g=e.i(906197),b=e.i(980376),y=e.i(987968),v=e.i(520133),j=e.i(637611),k=e.i(741725),w=e.i(467511);let C={highest:"border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-300",high:"border-orange-500/30 bg-orange-500/10 text-orange-700 dark:text-orange-300",medium:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",low:"border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300",lowest:"border-slate-500/30 bg-slate-500/10 text-slate-700 dark:text-slate-300"};function N({ticket:e}){let r=(0,s.useTranslations)("jiraTickets"),n=[[r("assignee"),(0,t.jsx)(o.JiraUser,{avatarUrl:e.assigneeAvatarUrl,name:e.assignee??r("unassigned")},"assignee")],[r("reporter"),e.reporter?(0,t.jsx)(o.JiraUser,{avatarUrl:e.reporter.avatarUrl,name:e.reporter.displayName},"reporter"):"—"],[r("created"),(0,t.jsx)(x.DateTime,{value:e.createdAt},"created")],[r("updated"),(0,t.jsx)(x.DateTime,{value:e.updatedAt},"updated")],[r("due"),(0,t.jsx)(x.DateTime,{value:e.dueAt},"due")],[r("resolved"),(0,t.jsx)(x.DateTime,{value:e.resolvedAt},"resolved")]];return(0,t.jsx)("dl",{className:"grid gap-3 rounded-lg bg-muted/50 p-4 text-sm sm:grid-cols-2",children:n.map(([e,r])=>(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"mt-0.5 font-medium",children:r})]},e))})}function T({label:e,values:r}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"mt-1",children:r.join(", ")})]})}e.s(["JiraTicketDrawer",0,function({issueKey:e,onClose:o,onTicketChange:x}){let S=(0,s.useTranslations)("jiraTickets"),[E,R]=(0,l.useState)(null),[I,D]=(0,l.useState)(null),[$,P]=(0,l.useState)(!1),[_,A]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(!e){let e=window.setTimeout(()=>R(null),0);return()=>window.clearTimeout(e)}let t=window.setTimeout(async()=>{P(!0);try{let t=await (0,j.controlPlaneRequest)(`query JiraTicket($issueKey: ID!) { jiraTicket(issueKey: $issueKey) { ${w.JIRA_TICKET_DETAIL_FIELDS} } }`,{issueKey:e});R(t.jiraTicket),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{P(!1)}},0);return()=>window.clearTimeout(t)},[e]);let U=e=>{R(e),x?.(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Sheet,{onOpenChange:e=>{e||o()},open:!!e,children:(0,t.jsxs)(b.SheetContent,{className:"w-[min(48rem,95vw)] overflow-y-auto sm:max-w-3xl",children:[(0,t.jsxs)(b.SheetHeader,{className:"border-b pr-12",children:[(0,t.jsx)(b.SheetTitle,{children:E?.key??e??S("ticket")}),(0,t.jsx)(b.SheetDescription,{children:E?.summary??S("loadingTicket")})]}),(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-6",children:[$&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(y.Spinner,{}),S("loadingTicket")]}),I&&(0,t.jsx)(p.Alert,{variant:"destructive",children:(0,t.jsx)(p.AlertDescription,{children:I})}),E&&(0,t.jsxs)(t.Fragment,{children:[(E.cache.stale||E.commentsCache.stale)&&(0,t.jsxs)(p.Alert,{className:"border-amber-500/30 bg-amber-500/10",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)(p.AlertDescription,{children:S("staleTicket")})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(m.Badge,{children:E.status}),E.issueType&&(0,t.jsx)(m.Badge,{children:E.issueType}),E.priority&&(0,t.jsx)(m.Badge,{className:C[E.priority.trim().toLowerCase()],children:E.priority})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(f.Button,{onClick:()=>A(!0),size:"sm",variant:"outline",children:[(0,t.jsx)(i.GitBranch,{})," ",S("worktreeAction")]}),(0,t.jsx)(f.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)(v.Link,{href:`/jira/tickets/${encodeURIComponent(E.key)}`,children:[(0,t.jsx)(a,{})," ",S("openFullDetails")]})}),(0,t.jsx)(f.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{href:E.jiraUrl,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.ExternalLink,{})," ",S("openInJira")]})})]})]}),(0,t.jsx)(c.JiraTicketActions,{onTicketChange:U,ticket:E}),(0,t.jsx)(N,{ticket:E}),(0,t.jsx)("section",{children:(0,t.jsx)(h.Card,{size:"sm",children:(0,t.jsx)(h.CardContent,{children:(0,t.jsx)(d.JiraRichTextBlock,{content:E.descriptionContent,header:(0,t.jsx)("h3",{className:"font-semibold",children:S("descriptionTitle")}),headerClassName:"border-b pb-2",value:E.description})})})}),(E.labels.length>0||E.components.length>0||E.fixVersions.length>0||E.sprintNames.length>0)&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:S("classification")}),(0,t.jsxs)("dl",{className:"grid gap-3 text-sm sm:grid-cols-2",children:[E.labels.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:S("labels")}),(0,t.jsx)("dd",{className:"mt-1 flex flex-wrap gap-1",children:E.labels.map(e=>(0,t.jsx)(m.Badge,{children:e},e))})]}),E.components.length>0&&(0,t.jsx)(T,{label:S("components"),values:E.components.map(e=>e.name)}),E.fixVersions.length>0&&(0,t.jsx)(T,{label:S("fixVersions"),values:E.fixVersions.map(e=>e.name)}),E.sprintNames.length>0&&(0,t.jsx)(T,{label:S("sprints"),values:E.sprintNames})]})]}),(E.parent||E.subtasks.length>0||E.issueLinks.length>0)&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:S("relatedIssues")}),(0,t.jsx)(g.ItemGroup,{className:"gap-2",children:[...E.parent?[E.parent]:[],...E.subtasks,...E.issueLinks].map((e,r)=>(0,t.jsx)(g.Item,{asChild:!0,size:"xs",variant:"outline",children:(0,t.jsxs)(v.Link,{href:`/jira/tickets/${encodeURIComponent(e.key)}`,children:[(0,t.jsxs)(g.ItemContent,{children:[(0,t.jsxs)(g.ItemTitle,{className:"leading-tight",children:[e.key," · ",e.summary]}),(0,t.jsx)(g.ItemDescription,{className:"leading-tight",children:e.relationship})]}),(0,t.jsx)(g.ItemActions,{children:e.status&&(0,t.jsx)(m.Badge,{children:e.status})})]})},`${e.key}-${r}`))})]}),E.attachments.length>0&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:S("attachments")}),(0,t.jsx)(g.ItemGroup,{className:"gap-2",children:E.attachments.map(e=>(0,t.jsx)(g.Item,{asChild:!0,variant:"outline",children:(0,t.jsxs)("a",{href:e.contentUrl??"#",rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(g.ItemContent,{children:(0,t.jsx)(g.ItemTitle,{children:e.filename})}),(0,t.jsx)(g.ItemActions,{className:"text-xs text-muted-foreground",children:e.size?`${Math.round(e.size/1024)} KB`:""})]})},e.id))})]}),(0,t.jsx)(u.JiraTicketComments,{onTicketChange:U,ticket:E})]})]})]})}),E&&(0,t.jsx)(k.TicketWorktreeDialog,{issueKey:E.key,onOpenChange:A,open:_})]})}],356505)},647776,e=>{"use strict";var t=e.i(843476),r=e.i(716327),n=e.i(482022),i=e.i(395925),a=e.i(948148),s=e.i(271645),l=e.i(487486),o=e.i(519455),d=e.i(755146),c=e.i(987968),u=e.i(746798),p=e.i(637611);function m({pipeline:e,repositoryId:r,onPipelineRetried:n,onError:l}){let d=(0,a.useTranslations)("pullRequests"),[f,h]=(0,s.useState)(!1),x=async t=>{if(t.stopPropagation(),e.canRetry&&e.checkSuiteId){h(!0);try{let t=await (0,p.controlPlaneRequest)(`mutation RetryGitHubPipeline(
|
|
2
|
+
$repositoryId: ID!
|
|
3
|
+
$checkSuiteId: ID!
|
|
4
|
+
) {
|
|
5
|
+
retryGitHubPipeline(
|
|
6
|
+
repositoryId: $repositoryId
|
|
7
|
+
checkSuiteId: $checkSuiteId
|
|
8
|
+
) { id name status url checkSuiteId canRetry retryUnavailableReason jobs { id name status url canRetry retryUnavailableReason steps { number name status } } }
|
|
9
|
+
}`,{repositoryId:r,checkSuiteId:e.checkSuiteId});n?.(t.retryGitHubPipeline),l?.(null)}catch(e){l?.(e instanceof Error?e.message:String(e))}finally{h(!1)}}},g=(0,t.jsxs)(o.Button,{disabled:f||!e.canRetry||!e.checkSuiteId,onClick:e=>void x(e),size:"sm",variant:"outline",children:[f?(0,t.jsx)(c.Spinner,{}):(0,t.jsx)(i.RotateCcw,{}),d(f?"retrying":"retry")]});if(!e.retryUnavailableReason||f)return g;let b=d(`retryUnavailable.${e.retryUnavailableReason}`);return(0,t.jsx)(u.TooltipProvider,{children:(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsx)(u.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("span",{"aria-label":b,className:"inline-flex",tabIndex:0,children:g})}),(0,t.jsx)(u.TooltipContent,{children:b})]})})}function f(e){return"SUCCESS"===e?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"PENDING"===e||"EXPECTED"===e||"QUEUED"===e||"IN_PROGRESS"===e||"ACTION_REQUIRED"===e?"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300":"FAILURE"===e||"ERROR"===e||"CANCELLED"===e||"STALE"===e||"STARTUP_FAILURE"===e||"TIMED_OUT"===e?"border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-300":"border-slate-500/30 bg-slate-500/10 text-slate-700 dark:text-slate-300"}e.s(["PipelineMenu",0,function({pipelineStatus:e,pipelines:i,repositoryId:c,onPipelineRetried:u}){let p=(0,a.useTranslations)("pullRequests"),[h,x]=(0,s.useState)(null),g=e=>e.stopPropagation();return(0,t.jsxs)(d.DropdownMenu,{children:[(0,t.jsx)(d.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(o.Button,{className:`h-5 rounded-full px-2 py-0.5 text-xs ${f(e)}`,onClick:g,variant:"outline",children:[p(`pipelineStates.${e}`),(0,t.jsx)(r.ChevronDown,{className:"size-3"})]})}),(0,t.jsxs)(d.DropdownMenuContent,{align:"end",className:"w-80",onClick:g,children:[(0,t.jsx)(d.DropdownMenuLabel,{children:p("pipelineMenuTitle")}),(0,t.jsx)(d.DropdownMenuSeparator,{}),h&&(0,t.jsx)("p",{className:"px-2 py-1.5 text-xs text-destructive",children:h}),0===i.length?(0,t.jsx)("p",{className:"px-2 py-3 text-sm text-muted-foreground",children:p("noPipelines")}):(0,t.jsx)("div",{className:"space-y-1 p-1",children:i.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-md px-2 py-2 hover:bg-muted",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[e.url?(0,t.jsxs)("a",{className:"flex min-w-0 items-center gap-1 text-sm font-medium hover:underline",href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)("span",{className:"truncate",children:e.name}),(0,t.jsx)(n.ExternalLink,{className:"size-3 shrink-0"})]}):(0,t.jsx)("p",{className:"truncate text-sm font-medium",children:e.name}),(0,t.jsx)(l.Badge,{className:`mt-1 ${f(e.status)}`,children:p(`pipelineStates.${e.status}`)})]}),e.checkSuiteId&&(0,t.jsx)(m,{onError:x,onPipelineRetried:u,pipeline:e,repositoryId:c})]},e.id))})]})]})},"pipelineStateClass",0,f])}]);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77071,e=>{"use strict";let t=(0,e.i(456420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],77071)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},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])},566595,e=>{"use strict";var t=e.i(630299);e.s(["Search",()=>t.default])},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)},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return a.useCallback(function(...e){return t=>{let a=!1,r=e.map(e=>{let r=i(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():i(e[t],null)}}}}(...e),e)}var l=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var n="AlertDialog",[o,d]=(0,r.createContextScope)(n,[l.createDialogScope]),u=(0,l.createDialogScope)(),c=e=>{let{__scopeAlertDialog:a,...r}=e,i=u(a);return(0,t.jsx)(l.Root,{...i,...r,modal:!0})};c.displayName=n;var m=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(l.Trigger,{...s,...i,ref:a})});m.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:a,...r}=e,i=u(a);return(0,t.jsx)(l.Portal,{...i,...r})};x.displayName="AlertDialogPortal";var p=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(l.Overlay,{...s,...i,ref:a})});p.displayName="AlertDialogOverlay";var g="AlertDialogContent",[h,f]=o(g),j=a.forwardRef((e,r)=>{let{__scopeAlertDialog:i,children:n,...o}=e,d=u(i),c=s(r,a.useRef(null)),m=a.useRef(null);return(0,t.jsx)(h,{scope:i,cancelRef:m,children:(0,t.jsx)(l.Content,{role:"alertdialog",...d,...o,ref:c,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(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:n})})});j.displayName=g;var b=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(l.Title,{...s,...i,ref:a})});b.displayName="AlertDialogTitle";var v=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(l.Description,{...s,...i,ref:a})});v.displayName="AlertDialogDescription";var y=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(l.Close,{...s,...i,ref:a})});y.displayName="AlertDialogAction";var w="AlertDialogCancel",R=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,{cancelRef:n}=f(w,r),o=u(r),d=s(a,n);return(0,t.jsx)(l.Close,{...o,...i,ref:d})});R.displayName=w,e.s(["Action",0,y,"AlertDialog",0,c,"AlertDialogAction",0,y,"AlertDialogCancel",0,R,"AlertDialogContent",0,j,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,p,"AlertDialogPortal",0,x,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,m,"Cancel",0,R,"Content",0,j,"Description",0,v,"Overlay",0,p,"Portal",0,x,"Root",0,c,"Title",0,b,"Trigger",0,m,"createAlertDialogScope",0,d],691162);var N=e.i(691162),N=N,C=e.i(975157),S=e.i(519455);function k({...e}){return(0,t.jsx)(N.Root,{"data-slot":"alert-dialog",...e})}function T({...e}){return(0,t.jsx)(N.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function D({...e}){return(0,t.jsx)(N.Portal,{"data-slot":"alert-dialog-portal",...e})}function P({className:e,...a}){return(0,t.jsx)(N.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,C.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 E({className:e,size:a="default",...r}){return(0,t.jsxs)(D,{children:[(0,t.jsx)(P,{}),(0,t.jsx)(N.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,C.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 A({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,C.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 M({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,C.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 H({className:e,...a}){return(0,t.jsx)(N.Title,{"data-slot":"alert-dialog-title",className:(0,C.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 q({className:e,...a}){return(0,t.jsx)(N.Description,{"data-slot":"alert-dialog-description",className:(0,C.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function $({className:e,variant:a="default",size:r="default",...i}){return(0,t.jsx)(S.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(N.Action,{"data-slot":"alert-dialog-action",className:(0,C.cn)(e),...i})})}function I({className:e,variant:a="outline",size:r="default",...i}){return(0,t.jsx)(S.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(N.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,C.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:i,onOpenChange:s,open:l,title:n,trigger:o}){return(0,t.jsxs)(k,{onOpenChange:s,open:l,children:[o&&(0,t.jsx)(T,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(A,{children:[(0,t.jsx)(H,{children:n}),(0,t.jsx)(q,{children:r})]}),(0,t.jsxs)(M,{children:[(0,t.jsx)(I,{children:a}),(0,t.jsx)($,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(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,...s}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,r.cn)(i({variant:a}),e),...s})},"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,...i}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...i})}],987968)},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...i}){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),...i})},"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),i=e.i(975157);let s=(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:l=!1,...n}){let o=l?r.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,i.cn)(s({variant:a}),e),"data-slot":"badge","data-variant":a,...n})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...i}){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),...i})})},"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})}])},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(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",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(i({variant:a,className:e})),...s})},"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})}])},250832,e=>{"use strict";let t=(0,e.i(456420).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["Settings2",0,t],250832)},346194,113030,e=>{"use strict";var t=e.i(843476);let a=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,a],113030);var r=e.i(948148),i=e.i(271645),s=e.i(929592),l=e.i(519455),n=e.i(776639),o=e.i(793479),d=e.i(110204),u=e.i(967489),c=e.i(987968),m=e.i(624687),x=e.i(637611);let p="__github_account_default__";e.s(["MergePullRequestButton",0,function({pullRequest:e,onMerged:g,size:h="sm",variant:f="outline",open:j,onOpenChange:b,showTrigger:v=!0}){let y=(0,r.useTranslations)("pullRequests"),[w,R]=(0,i.useState)(!1),[N,C]=(0,i.useState)(null),[S,k]=(0,i.useState)(""),[T,D]=(0,i.useState)(""),[P,E]=(0,i.useState)(""),[A,M]=(0,i.useState)(p),[H,q]=(0,i.useState)(!1),[$,I]=(0,i.useState)(!1),[O,z]=(0,i.useState)(null),[B="",G=""]=e.repositoryNameWithOwner.split("/",2),L=j??w,_=e=>{e||(q(!1),C(null),z(null)),void 0===j&&R(e),b?.(e)};(0,i.useEffect)(()=>{if(!L)return;let t=!0,a=window.setTimeout(()=>{q(!0),C(null),z(null),(0,x.controlPlaneRequest)(`query GitHubPullRequestMergeOptions(
|
|
2
|
+
$owner: String!
|
|
3
|
+
$name: String!
|
|
4
|
+
$number: Int!
|
|
5
|
+
) {
|
|
6
|
+
githubPullRequestMergeOptions(
|
|
7
|
+
owner: $owner
|
|
8
|
+
name: $name
|
|
9
|
+
number: $number
|
|
10
|
+
) {
|
|
11
|
+
availableMethods
|
|
12
|
+
commitEmails
|
|
13
|
+
defaultCommitEmail
|
|
14
|
+
defaultCommitHeadline
|
|
15
|
+
defaultCommitBody
|
|
16
|
+
canMerge
|
|
17
|
+
blockedReason
|
|
18
|
+
}
|
|
19
|
+
}`,{owner:B,name:G,number:e.number}).then(e=>{if(!t)return;let a=e.githubPullRequestMergeOptions;C(a),k(a.availableMethods[0]??""),D(a.defaultCommitHeadline),E(a.defaultCommitBody),M(a.defaultCommitEmail??p)}).catch(e=>{t&&z(e instanceof Error?e.message:String(e))}).finally(()=>{t&&q(!1)})},0);return()=>{t=!1,window.clearTimeout(a)}},[G,L,B,e.number]);let F=async()=>{if(S&&N?.canMerge&&T.trim()){I(!0),z(null);try{let t=await (0,x.controlPlaneRequest)(`mutation MergeGitHubPullRequest(
|
|
20
|
+
$input: MergeGitHubPullRequestInput!
|
|
21
|
+
) {
|
|
22
|
+
mergeGitHubPullRequest(input: $input) {
|
|
23
|
+
id state url mergedAt
|
|
24
|
+
}
|
|
25
|
+
}`,{input:{owner:B,name:G,number:e.number,method:S,commitHeadline:T,commitBody:P,authorEmail:A===p?null:A}});_(!1),await g?.(t.mergeGitHubPullRequest)}catch(e){z(e instanceof Error?e.message:String(e))}finally{I(!1)}}},K=N?.blockedReason??null;return(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsxs)(l.Button,{onClick:e=>{e.stopPropagation(),_(!0)},size:h,type:"button",variant:f,children:[(0,t.jsx)(a,{}),y("merge")]}),(0,t.jsx)(n.Dialog,{onOpenChange:e=>{$||_(e)},open:L,children:(0,t.jsxs)(n.DialogContent,{className:"sm:max-w-xl",children:[(0,t.jsxs)(n.DialogHeader,{children:[(0,t.jsx)(n.DialogTitle,{children:y("mergePullRequest")}),(0,t.jsx)(n.DialogDescription,{children:y("mergePullRequestDescription",{repository:e.repositoryNameWithOwner,number:e.number})})]}),!H&&(N||O)?(0,t.jsxs)("div",{className:"space-y-4",children:[(O||K)&&(0,t.jsx)(s.Alert,{variant:"destructive",children:(0,t.jsx)(s.AlertDescription,{children:O||K})}),N&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(d.Label,{className:"mb-1.5 block",htmlFor:"merge-method",children:y("mergeType")}),(0,t.jsxs)(u.Select,{disabled:$||0===N.availableMethods.length,onValueChange:e=>k(e),value:S,children:[(0,t.jsx)(u.SelectTrigger,{id:"merge-method",children:(0,t.jsx)(u.SelectValue,{placeholder:y("selectMergeType")})}),(0,t.jsx)(u.SelectContent,{children:N.availableMethods.map(e=>(0,t.jsx)(u.SelectItem,{value:e,children:y(`mergeTypes.${e}`)},e))})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.Label,{className:"mb-1.5 block",htmlFor:"merge-commit-headline",children:y("commitMessage")}),(0,t.jsx)(o.Input,{disabled:$,id:"merge-commit-headline",onChange:e=>D(e.target.value),value:T})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.Label,{className:"mb-1.5 block",htmlFor:"merge-commit-body",children:y("commitDescription")}),(0,t.jsx)(m.Textarea,{className:"min-h-28",disabled:$,id:"merge-commit-body",onChange:e=>E(e.target.value),value:P})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.Label,{className:"mb-1.5 block",htmlFor:"merge-email",children:y("commitEmail")}),(0,t.jsxs)(u.Select,{disabled:$,onValueChange:M,value:A,children:[(0,t.jsx)(u.SelectTrigger,{id:"merge-email",children:(0,t.jsx)(u.SelectValue,{})}),(0,t.jsxs)(u.SelectContent,{children:[(0,t.jsx)(u.SelectItem,{value:p,children:y("githubDefaultEmail")}),N.commitEmails.map(e=>(0,t.jsx)(u.SelectItem,{value:e,children:e},e))]})]})]})]})]}):(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(c.Spinner,{})," ",y("loadingMergeOptions")]}),(0,t.jsxs)(n.DialogFooter,{children:[(0,t.jsx)(l.Button,{disabled:$,onClick:()=>_(!1),type:"button",variant:"outline",children:y("cancelMerge")}),(0,t.jsxs)(l.Button,{disabled:H||$||!N?.canMerge||!S||!T.trim(),onClick:()=>void F(),type:"button",children:[$?(0,t.jsx)(c.Spinner,{}):(0,t.jsx)(a,{}),$?y("merging"):y("mergePullRequest")]})]})]})})]})}],346194)},689257,e=>{"use strict";var t=e.i(843476),a=e.i(482022),r=e.i(456420);let i=(0,r.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var s=e.i(113030),l=e.i(634398);let n=(0,r.default)("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);var o=e.i(648119),d=e.i(77071),u=e.i(741120),c=e.i(856522),m=e.i(566595),x=e.i(250832),p=e.i(573474),g=e.i(861745),h=e.i(948148),f=e.i(618566),j=e.i(271645),b=e.i(340953),v=e.i(346194),y=e.i(647776),w=e.i(948812),R=e.i(356505),N=e.i(929592),C=e.i(487486),S=e.i(519455),k=e.i(515288),T=e.i(24265),D=e.i(776639),P=e.i(755146),E=e.i(82612),A=e.i(793479),M=e.i(906197),H=e.i(110204),q=e.i(987968),$=e.i(337355),I=e.i(967489),O=e.i(784774),z=e.i(677572),B=e.i(520133),G=e.i(637611),L=e.i(360583);let _="id githubId owner name nameWithOwner url jiraKeyRegex";function F(e,t,a){return"repositories"===e?`${a}:repository:${t}`:`${a}:${e}`}function K(e){let t=new URLSearchParams(window.location.search);e?t.set("issue",e):t.delete("issue");let a=t.toString();window.history.pushState(null,"",`${window.location.pathname}${a?`?${a}`:""}`)}function V(e){if(!e.trim())return null;try{return RegExp(e,"i"),null}catch{return"invalid"}}function W({items:e,locale:a,onMerged:r,onPipelineRetried:i}){let s=(0,h.useTranslations)("pullRequests"),l=(0,B.useRouter)(),n=e=>e.stopPropagation(),o=(0,j.useMemo)(()=>{let t=[];for(let r of e){let e=new Date(r.createdAt),i=(0,L.dayKey)(e)??r.createdAt,s=t.at(-1);s?.dateKey===i?s.items.push(r):t.push({key:`${i}-${r.id}`,dateKey:i,label:(0,L.formatDateValue)(e,"long",{locale:a,showTime:!1}),items:[r]})}return t},[e,a]);return(0,t.jsx)(k.Card,{className:"gap-0 py-0",children:(0,t.jsxs)(O.Table,{children:[(0,t.jsx)(O.TableHeader,{children:(0,t.jsxs)(O.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(O.TableHead,{children:s("number")}),(0,t.jsx)(O.TableHead,{children:s("pullRequestAndRepository")}),(0,t.jsx)(O.TableHead,{children:s("labels")}),(0,t.jsx)(O.TableHead,{children:s("ticket")}),(0,t.jsx)(O.TableHead,{children:s("pipeline")}),(0,t.jsx)(O.TableHead,{children:s("approval")}),(0,t.jsx)(O.TableHead,{children:s("openComments")}),(0,t.jsx)(O.TableHead,{children:s("age")}),(0,t.jsx)(O.TableHead,{className:"text-right",children:s("actions")})]})}),(0,t.jsx)(O.TableBody,{children:o.map(e=>(0,t.jsxs)(j.Fragment,{children:[(0,t.jsx)(O.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:(0,t.jsx)(O.TableCell,{className:"py-1.5 text-xs font-normal text-muted-foreground",colSpan:9,children:e.label})}),e.items.map(e=>{var a;return(0,t.jsxs)(O.TableRow,{className:"cursor-pointer",onClick:()=>l.push((0,w.pullRequestDetailHref)(e)),children:[(0,t.jsx)(O.TableCell,{children:(0,t.jsx)(C.Badge,{asChild:!0,className:"cursor-pointer hover:bg-muted/80",variant:"outline",children:(0,t.jsxs)(B.Link,{href:(0,w.pullRequestDetailHref)(e),onClick:n,children:["#",e.number]})})}),(0,t.jsx)(O.TableCell,{className:"min-w-72 whitespace-normal",children:(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)(B.Link,{className:"font-medium hover:underline",href:(0,w.pullRequestDetailHref)(e),onClick:n,children:e.title}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-1.5 text-xs",children:(0,t.jsx)("a",{className:"text-muted-foreground hover:text-foreground",href:e.repositoryUrl,onClick:n,rel:"noreferrer",target:"_blank",children:e.repositoryNameWithOwner})}),(0,t.jsx)("p",{className:"font-mono text-xs break-all text-muted-foreground",children:e.headRefName})]})}),(0,t.jsx)(O.TableCell,{className:"min-w-40 whitespace-normal",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-1",children:e.labels.length>0?e.labels.map(e=>(0,t.jsx)(C.Badge,{children:e},e)):"—"})}),(0,t.jsx)(O.TableCell,{children:e.jiraKey?(0,t.jsx)(C.Badge,{asChild:!0,className:"cursor-pointer hover:bg-primary/80",children:(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),K(e.jiraKey)},type:"button",children:e.jiraKey})}):"—"}),(0,t.jsx)(O.TableCell,{children:(0,t.jsx)(y.PipelineMenu,{onPipelineRetried:t=>i(e.id,t),pipelineStatus:e.pipelineStatus,pipelines:e.pipelines,repositoryId:e.repositoryGithubId})}),(0,t.jsx)(O.TableCell,{children:(0,t.jsx)(C.Badge,{className:"APPROVED"===(a=e.reviewDecision)?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"CHANGES_REQUESTED"===a?"border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-300":"REVIEW_REQUIRED"===a?"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300":"border-slate-500/30 bg-slate-500/10 text-slate-700 dark:text-slate-300",children:s(`reviewStates.${e.reviewDecision}`)})}),(0,t.jsx)(O.TableCell,{children:(0,t.jsx)(C.Badge,{asChild:!0,className:0===e.unresolvedReviewThreadCount?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",children:(0,t.jsx)(B.Link,{"aria-label":s("viewOpenComments",{count:e.unresolvedReviewThreadCount}),href:(0,w.pullRequestCommentsHref)(e),onClick:n,children:e.unresolvedReviewThreadCount})})}),(0,t.jsx)(O.TableCell,{className:"whitespace-nowrap text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex flex-col items-start gap-1.5",children:[(0,t.jsx)(C.Badge,{variant:"outline",children:s(`pullRequestStates.${e.state}`)}),(0,t.jsx)(T.DateTime,{kind:"relative",value:e.createdAt})]})}),(0,t.jsx)(O.TableCell,{className:"text-right",children:(0,t.jsx)(U,{onMerged:r,pullRequest:e})})]},e.id)})]},e.key))})]})})}function U({pullRequest:e,onMerged:r}){let l=(0,h.useTranslations)("pullRequests"),[n,d]=(0,j.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(P.DropdownMenu,{children:[(0,t.jsx)(P.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(S.Button,{"aria-label":`${l("actions")}: #${e.number}`,onClick:e=>e.stopPropagation(),size:"icon-sm",variant:"outline",children:(0,t.jsx)(o.MoreHorizontal,{})})}),(0,t.jsxs)(P.DropdownMenuContent,{align:"end",className:"w-44",children:[(0,t.jsx)(P.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(B.Link,{href:(0,w.pullRequestDetailHref)(e),children:[(0,t.jsx)(i,{}),l("details")]})}),(0,t.jsx)(P.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(a.ExternalLink,{}),l("openInGitHub")]})}),"OPEN"===e.state&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.DropdownMenuSeparator,{}),(0,t.jsxs)(P.DropdownMenuItem,{onSelect:()=>d(!0),children:[(0,t.jsx)(s.GitMerge,{}),l("merge")]})]})]})]}),"OPEN"===e.state&&(0,t.jsx)(v.MergePullRequestButton,{onMerged:r,onOpenChange:d,open:n,pullRequest:e,showTrigger:!1})]})}function J({open:e,setOpen:a,repositories:r,settings:i,onRepositoriesChanged:s,onSettingsChanged:l,tokenConfigured:o}){let u=(0,h.useTranslations)("pullRequests"),[x,p]=(0,j.useState)([]),[g,f]=(0,j.useState)(null),[b,v]=(0,j.useState)(!1),[y,w]=(0,j.useState)(""),[R,C]=(0,j.useState)(""),[k,T]=(0,j.useState)(""),[P,E]=(0,j.useState)(i?.defaultJiraKeyRegex??""),[$,I]=(0,j.useState)(!1),[O,L]=(0,j.useState)(!1),[F,K]=(0,j.useState)(null),W=(0,j.useCallback)(async e=>{L(!0);try{let t=await (0,G.controlPlaneRequest)(`query GitHubAvailableRepositories($after: String) {
|
|
26
|
+
githubAvailableRepositories(after: $after) {
|
|
27
|
+
items { githubId nameWithOwner url isPrivate managed }
|
|
28
|
+
hasNextPage
|
|
29
|
+
endCursor
|
|
30
|
+
}
|
|
31
|
+
}`,{after:e});p(a=>e?[...a,...t.githubAvailableRepositories.items]:t.githubAvailableRepositories.items),v(t.githubAvailableRepositories.hasNextPage),f(t.githubAvailableRepositories.endCursor),K(null)}catch(e){K(e instanceof Error?e.message:String(e))}finally{L(!1)}},[]);(0,j.useEffect)(()=>{if(!e||!o||x.length>0)return;let t=window.setTimeout(()=>void W(null),0);return()=>window.clearTimeout(t)},[x.length,W,e,o]);let U=async(e,t)=>{if(V(t))return void K(u("invalidRegex"));I(!0);try{let a=await (0,G.controlPlaneRequest)(`mutation AddGitHubRepository($input: AddGitHubRepositoryInput!) {
|
|
32
|
+
addGitHubRepository(input: $input) { ${_} }
|
|
33
|
+
}`,{input:{nameWithOwner:e,jiraKeyRegex:t||null}});s(a.addGitHubRepository),C(""),T(""),K(null)}catch(e){K(e instanceof Error?e.message:String(e))}finally{I(!1)}},Y=async()=>{if(!P.trim()||V(P))return void K(u("invalidRegex"));I(!0);try{let e=await (0,G.controlPlaneRequest)(`mutation SaveDefaultGitHubJiraKeyRegex(
|
|
34
|
+
$input: SaveGitHubSettingsInput!
|
|
35
|
+
) {
|
|
36
|
+
saveGitHubSettings(input: $input) {
|
|
37
|
+
tokenConfigured defaultJiraKeyRegex updatedAt
|
|
38
|
+
}
|
|
39
|
+
}`,{input:{defaultJiraKeyRegex:P}});l(e.saveGitHubSettings),K(null)}catch(e){K(e instanceof Error?e.message:String(e))}finally{I(!1)}},X=x.filter(e=>e.nameWithOwner.toLowerCase().includes(y.trim().toLowerCase()));return(0,t.jsx)(D.Dialog,{onOpenChange:a,open:e,children:(0,t.jsxs)(D.DialogContent,{className:"max-h-[90vh] overflow-y-auto sm:max-w-5xl",children:[(0,t.jsxs)(D.DialogHeader,{children:[(0,t.jsx)(D.DialogTitle,{children:u("manageTitle")}),(0,t.jsx)(D.DialogDescription,{children:u("manageDescription")})]}),F&&(0,t.jsx)(N.Alert,{variant:"destructive",children:(0,t.jsx)(N.AlertDescription,{children:F})}),o?(0,t.jsxs)("div",{className:"grid min-w-0 gap-6 md:grid-cols-2",children:[(0,t.jsxs)("section",{className:"min-w-0 space-y-3",children:[(0,t.jsx)("h3",{className:"font-medium",children:u("managedRepositories")}),(0,t.jsxs)(M.Item,{className:"block space-y-2 p-3",variant:"outline",children:[(0,t.jsx)(H.Label,{htmlFor:"default-github-jira-regex",children:u("defaultJiraKeyRegex")}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(A.Input,{id:"default-github-jira-regex",onChange:e=>E(e.target.value),value:P}),(0,t.jsx)(S.Button,{"aria-label":u("saveDefaultRegex"),disabled:$,onClick:()=>void Y(),size:"icon",type:"button",children:$?(0,t.jsx)(q.Spinner,{}):(0,t.jsx)(c.Save,{})})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:u("defaultJiraKeyRegexHelp")})]}),0===r.length?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:u("noManagedRepositories")}):(0,t.jsx)("div",{className:"space-y-3",children:r.map(e=>(0,t.jsx)(Q,{busy:$,onBusyChange:I,onError:K,onRepositoriesChanged:s,repository:e},e.id))})]}),(0,t.jsxs)("section",{className:"min-w-0 space-y-3",children:[(0,t.jsx)("h3",{className:"font-medium",children:u("addRepository")}),(0,t.jsxs)(z.Tabs,{defaultValue:"browse",children:[(0,t.jsxs)(z.TabsList,{children:[(0,t.jsx)(z.TabsTrigger,{value:"browse",children:u("browse")}),(0,t.jsx)(z.TabsTrigger,{value:"manual",children:u("enterManually")})]}),(0,t.jsxs)(z.TabsContent,{className:"mt-3 space-y-2",value:"browse",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(m.Search,{className:"pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(A.Input,{"aria-label":u("searchAvailableRepositories"),className:"pl-8",onChange:e=>w(e.target.value),placeholder:u("searchAvailableRepositories"),value:y})]}),X.map(e=>{let a=r.some(t=>t.githubId===e.githubId);return(0,t.jsxs)(M.Item,{className:"flex-nowrap p-2",variant:"outline",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"truncate text-sm font-medium",children:e.nameWithOwner}),e.isPrivate&&(0,t.jsxs)("span",{className:"mt-1 flex items-center gap-1 text-xs text-muted-foreground",children:[(0,t.jsx)(n,{className:"size-3"}),u("privateRepository")]})]}),(0,t.jsxs)(S.Button,{disabled:$||a,onClick:()=>void U(e.nameWithOwner,""),size:"sm",children:[(0,t.jsx)(d.Plus,{}),a?u("managed"):u("add")]})]},e.githubId)}),!O&&0===X.length&&(0,t.jsx)("p",{className:"py-4 text-center text-sm text-muted-foreground",children:u("noRepositoryMatches")}),O&&(0,t.jsxs)("div",{className:"flex items-center gap-2 py-3 text-sm text-muted-foreground",children:[(0,t.jsx)(q.Spinner,{}),u("loadingRepositories")]}),b&&(0,t.jsx)(S.Button,{className:"w-full",disabled:O,onClick:()=>void W(g),variant:"outline",children:u("loadMore")})]}),(0,t.jsx)(z.TabsContent,{className:"mt-3",value:"manual",children:(0,t.jsxs)("form",{className:"space-y-4",onSubmit:e=>{e.preventDefault(),U(R,k)},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(H.Label,{className:"mb-1.5 block",htmlFor:"github-repository-name",children:u("repositoryName")}),(0,t.jsx)(A.Input,{id:"github-repository-name",onChange:e=>C(e.target.value),placeholder:"owner/repository",required:!0,value:R})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(H.Label,{className:"mb-1.5 block",htmlFor:"github-repository-regex",children:u("jiraKeyRegex")}),(0,t.jsx)(A.Input,{id:"github-repository-regex",onChange:e=>T(e.target.value),value:k}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:u("jiraKeyRegexOverrideHelp")})]}),(0,t.jsxs)(S.Button,{disabled:$,type:"submit",children:[$?(0,t.jsx)(q.Spinner,{}):(0,t.jsx)(d.Plus,{}),u("addRepository")]})]})})]})]})]}):(0,t.jsx)(N.Alert,{children:(0,t.jsxs)(N.AlertDescription,{children:[u("manageCredentialsRequired")," ",(0,t.jsx)(B.Link,{className:"text-primary underline",href:"/settings",children:u("openSettings")})]})}),(0,t.jsx)(D.DialogFooter,{children:(0,t.jsx)(S.Button,{onClick:()=>a(!1),variant:"outline",children:u("done")})})]})})}function Q({repository:e,busy:a,onBusyChange:r,onError:i,onRepositoriesChanged:s}){let l=(0,h.useTranslations)("pullRequests"),n=(0,h.useTranslations)("common"),[o,d]=(0,j.useState)(e.jiraKeyRegex??""),u=async()=>{if(V(o))return void i(l("invalidRegex"));r(!0);try{let t=await (0,G.controlPlaneRequest)(`mutation UpdateGitHubRepository($input: UpdateGitHubRepositoryInput!) {
|
|
40
|
+
updateGitHubRepository(input: $input) { ${_} }
|
|
41
|
+
}`,{input:{id:e.id,jiraKeyRegex:o||null}});s(t.updateGitHubRepository),i(null)}catch(e){i(e instanceof Error?e.message:String(e))}finally{r(!1)}},m=async()=>{r(!0);try{let t=await (0,G.controlPlaneRequest)(`mutation RemoveGitHubRepository($id: ID!) {
|
|
42
|
+
removeGitHubRepository(id: $id) { ${_} }
|
|
43
|
+
}`,{id:e.id});s(t.removeGitHubRepository),i(null)}catch(e){i(e instanceof Error?e.message:String(e))}finally{r(!1)}};return(0,t.jsxs)(M.Item,{className:"block space-y-3 p-3",variant:"outline",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsx)("a",{className:"min-w-0 truncate font-medium text-primary hover:underline",href:e.url,rel:"noreferrer",target:"_blank",children:e.nameWithOwner}),(0,t.jsx)(b.ConfirmationDialog,{actionLabel:l("removeRepository"),cancelLabel:n("cancel"),description:l("confirmRemoveRepositoryDescription"),onConfirm:m,title:l("confirmRemoveRepository"),trigger:(0,t.jsxs)(S.Button,{disabled:a,size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(p.Trash2,{}),(0,t.jsx)("span",{className:"sr-only",children:l("removeRepository")})]})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(H.Label,{className:"mb-1.5 block text-xs",htmlFor:`github-regex-${e.id}`,children:l("jiraKeyRegex")}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(A.Input,{id:`github-regex-${e.id}`,onChange:e=>d(e.target.value),value:o}),(0,t.jsxs)(S.Button,{disabled:a,onClick:()=>void u(),size:"icon",children:[a?(0,t.jsx)(q.Spinner,{}):(0,t.jsx)(c.Save,{}),(0,t.jsx)("span",{className:"sr-only",children:l("saveRegex")})]})]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:l("jiraKeyRegexOverrideHelp")})]})]})}e.s(["PullRequestsPage",0,function(){let e=(0,h.useTranslations)("pullRequests"),a=(0,f.useSearchParams)(),r=(0,g.useLocale)(),i=a.get("issue"),[s,n]=(0,j.useState)(null),[o,c]=(0,j.useState)([]),[m,p]=(0,j.useState)("mine"),[b,v]=(0,j.useState)("OPEN"),[y,w]=(0,j.useState)(""),[C,k]=(0,j.useState)({}),[T,D]=(0,j.useState)({}),[P,A]=(0,j.useState)({}),[M,H]=(0,j.useState)({}),[O,L]=(0,j.useState)(!0),[V,U]=(0,j.useState)(null),[Q,Y]=(0,j.useState)(!1),X=(0,j.useRef)(null),Z=(0,j.useRef)({}),ee=(0,j.useRef)({}),et=(0,j.useCallback)(async()=>{try{let e=await (0,G.controlPlaneRequest)(`query GitHubPullRequestConfiguration {
|
|
44
|
+
githubSettings { tokenConfigured defaultJiraKeyRegex updatedAt }
|
|
45
|
+
githubRepositories { ${_} }
|
|
46
|
+
}`);n(e.githubSettings),c(e.githubRepositories),w(t=>e.githubRepositories.some(e=>e.id===t)?t:e.githubRepositories[0]?.id??""),U(null)}catch(e){U(e instanceof Error?e.message:String(e))}finally{L(!1)}},[]);(0,j.useEffect)(()=>{let e=window.setTimeout(()=>void et(),0);return()=>window.clearTimeout(e)},[et]);let ea=(0,j.useCallback)(async(e,t,a,r={append:!1})=>{let i=F(e,t,a);if("repositories"===e&&!t)return;let s=Z.current[i]??0,l=r.append?s:s+1;if(r.append){if(!r.cursor||ee.current[i]===l)return;ee.current[i]=l,A(e=>({...e,[i]:!0}))}else Z.current[i]=l,delete ee.current[i],D(e=>({...e,[i]:!0})),A(e=>({...e,[i]:!1}));H(e=>({...e,[i]:null}));try{let s="repositories"===e?t:null,n=await (0,G.controlPlaneRequest)(`query GitHubPullRequests(
|
|
47
|
+
$scope: GitHubPullRequestScope!
|
|
48
|
+
$repositoryId: ID
|
|
49
|
+
$state: GitHubPullRequestStateFilter!
|
|
50
|
+
$first: Int!
|
|
51
|
+
$after: String
|
|
52
|
+
) {
|
|
53
|
+
githubPullRequests(
|
|
54
|
+
scope: $scope
|
|
55
|
+
repositoryId: $repositoryId
|
|
56
|
+
state: $state
|
|
57
|
+
first: $first
|
|
58
|
+
after: $after
|
|
59
|
+
) {
|
|
60
|
+
items { id number title url repositoryGithubId repositoryNameWithOwner repositoryUrl labels jiraKey pipelineStatus pipelines { id name status url checkSuiteId canRetry retryUnavailableReason } reviewDecision unresolvedReviewThreadCount state headRefName createdAt }
|
|
61
|
+
truncated
|
|
62
|
+
hasNextPage
|
|
63
|
+
endCursor
|
|
64
|
+
}
|
|
65
|
+
}`,{scope:s?"REPOSITORY":"review"===e?"REVIEW_REQUESTED":"MINE",repositoryId:s,state:a,first:25,after:r.cursor??null});if(Z.current[i]!==l)return;k(e=>({...e,[i]:r.append&&e[i]?{...n.githubPullRequests,items:[...e[i].items,...n.githubPullRequests.items.filter(t=>!e[i].items.some(e=>e.id===t.id))]}:n.githubPullRequests})),U(null)}catch(t){if(Z.current[i]!==l)return;let e=t instanceof Error?t.message:String(t);r.append?H(t=>({...t,[i]:e})):U(e)}finally{r.append?ee.current[i]===l&&(delete ee.current[i],A(e=>({...e,[i]:!1}))):Z.current[i]===l&&D(e=>({...e,[i]:!1}))}},[]),er=F(m,y,b);(0,j.useEffect)(()=>{if(s?.tokenConfigured&&("repositories"!==m||y)&&!C[er]&&!T[er]){let e=window.setTimeout(()=>void ea(m,y,b),0);return()=>window.clearTimeout(e)}},[m,ea,T,er,C,b,y,s?.tokenConfigured]),(0,j.useEffect)(()=>{if(!o.some(e=>e.id===y)){let e=window.setTimeout(()=>w(o[0]?.id??""),0);return()=>window.clearTimeout(e)}},[o,y]);let ei=C[er],es=!!T[er],el=!!P[er],en=M[er]??null;return(0,j.useEffect)(()=>{if(!s?.tokenConfigured||!ei?.hasNextPage||!ei.endCursor||es||el||en)return;let e=X.current;if(!e)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&ea(m,y,b,{append:!0,cursor:ei.endCursor})},{rootMargin:"400px 0px"});return t.observe(e),()=>t.disconnect()},[m,ea,es,el,ei?.endCursor,ei?.hasNextPage,en,b,y,s?.tokenConfigured]),(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1800px] flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:e("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("description")})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)(S.Button,{disabled:!s?.tokenConfigured||es,onClick:()=>void ea(m,y,b),variant:"outline",children:[(0,t.jsx)(u.RefreshCw,{className:es?"animate-spin":void 0}),e("refresh")]}),(0,t.jsxs)(S.Button,{onClick:()=>Y(!0),children:[(0,t.jsx)(x.Settings2,{}),e("manage")]})]})]}),V&&(0,t.jsx)(N.Alert,{variant:"destructive",children:(0,t.jsx)(N.AlertDescription,{children:V})}),O?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(q.Spinner,{}),e("loading")]}):s?.tokenConfigured?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"overflow-x-auto pb-1",children:(0,t.jsx)(z.Tabs,{onValueChange:e=>p(e),value:m,children:(0,t.jsxs)(z.TabsList,{"aria-label":e("tabsLabel"),children:[(0,t.jsx)(z.TabsTrigger,{value:"mine",children:e("mine")}),(0,t.jsx)(z.TabsTrigger,{value:"review",children:e("reviewRequests")}),(0,t.jsx)(z.TabsTrigger,{value:"repositories",children:e("repositories")})]})})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsxs)(I.Select,{onValueChange:e=>v(e),value:b,children:[(0,t.jsx)(I.SelectTrigger,{"aria-label":e("stateFilter"),className:"min-w-36",children:(0,t.jsx)(I.SelectValue,{})}),(0,t.jsx)(I.SelectContent,{align:"start",children:["ALL","OPEN","CLOSED","MERGED"].map(a=>(0,t.jsx)(I.SelectItem,{value:a,children:e(`pullRequestStates.${a}`)},a))})]}),"repositories"===m&&o.length>0&&(0,t.jsx)("div",{className:"min-w-64 max-w-lg flex-1",children:(0,t.jsx)($.SearchableSelect,{ariaLabel:e("repositoryFilter"),emptyMessage:e("noRepositoryMatches"),onValueChange:w,options:o.map(e=>({value:e.id,label:e.nameWithOwner,keywords:`${e.owner} ${e.name}`})),placeholder:e("selectRepository"),searchPlaceholder:e("searchRepositories"),value:y})})]}),ei?.truncated&&(0,t.jsx)(N.Alert,{className:"border-amber-500/30 bg-amber-500/10 text-amber-800 dark:text-amber-300",children:(0,t.jsx)(N.AlertDescription,{className:"text-current",children:e("truncated")})}),"repositories"===m&&0===o.length?(0,t.jsxs)(E.Empty,{className:"border py-12",children:[(0,t.jsxs)(E.EmptyHeader,{children:[(0,t.jsx)(E.EmptyTitle,{children:e("noManagedRepositories")}),(0,t.jsx)(E.EmptyDescription,{children:e("manageDescription")})]}),(0,t.jsxs)(S.Button,{className:"mt-4",onClick:()=>Y(!0),children:[(0,t.jsx)(d.Plus,{})," ",e("addRepository")]})]}):es&&!ei?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-10 text-sm text-muted-foreground",children:[(0,t.jsx)(q.Spinner,{}),e("loadingPullRequests")]}):ei?.items.length===0?(0,t.jsx)(E.Empty,{className:"border py-12",children:(0,t.jsxs)(E.EmptyHeader,{children:[(0,t.jsx)(E.EmptyTitle,{children:e("empty")}),(0,t.jsx)(E.EmptyDescription,{children:e("emptyDescription")})]})}):ei?(0,t.jsx)(W,{items:ei.items,locale:r,onMerged:()=>ea(m,y,b),onPipelineRetried:(e,t)=>{k(a=>{let r=a[er];return r?{...a,[er]:{...r,items:r.items.map(a=>a.id===e?{...a,pipelineStatus:"PENDING",pipelines:a.pipelines.map(e=>e.id===t.id?t:e)}:a)}}:a})}}):null,ei&&ei.items.length>0&&en?(0,t.jsx)(N.Alert,{variant:"destructive",children:(0,t.jsxs)(N.AlertDescription,{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{children:en}),(0,t.jsxs)(S.Button,{disabled:el||!ei.endCursor,onClick:()=>void ea(m,y,b,{append:!0,cursor:ei.endCursor}),size:"sm",variant:"outline",children:[(0,t.jsx)(u.RefreshCw,{})," ",e("retryLoad")]})]})}):ei?.hasNextPage&&ei.items.length>0?(0,t.jsx)("div",{className:"flex min-h-10 items-center justify-center gap-2 text-sm text-muted-foreground",ref:X,role:"status",children:el&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(q.Spinner,{})," ",e("loadingMore")]})}):null]}):(0,t.jsxs)(E.Empty,{className:"border py-12",children:[(0,t.jsxs)(E.EmptyHeader,{children:[(0,t.jsx)(E.EmptyMedia,{variant:"icon",children:(0,t.jsx)(l.GitPullRequest,{})}),(0,t.jsx)(E.EmptyTitle,{children:e("credentialsRequired")}),(0,t.jsx)(E.EmptyDescription,{children:e("credentialsRequiredDescription")})]}),(0,t.jsx)(S.Button,{asChild:!0,className:"mt-4",children:(0,t.jsx)(B.Link,{href:"/settings",children:e("openSettings")})})]}),(0,t.jsx)(J,{onRepositoriesChanged:e=>{c(e),k({}),w(t=>e.some(e=>e.id===t)?t:e[0]?.id??"")},onSettingsChanged:e=>{n(e),k({})},open:Q,repositories:o,settings:s,setOpen:Y,tokenConfigured:!!s?.tokenConfigured},s?.updatedAt??"loading"),(0,t.jsx)(R.JiraTicketDrawer,{issueKey:i,onClose:()=>K(null)})]})}],689257)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let s=(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)(s({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})}])},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...s}){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),...s})},"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})}])},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,...s}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...s})}],987968)},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(709840),s=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:n=!1,...d}){let l=n?r.Slot.Root:"span";return(0,t.jsx)(l,{className:(0,s.cn)(i({variant:a}),e),"data-slot":"badge","data-variant":a,...d})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...s}){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),...s})})},"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})}])},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)},312159,e=>{"use strict";var t=e.i(843476),a=e.i(711241),r=e.i(986206),s=e.i(948148),i=e.i(271645),n=e.i(929592),d=e.i(487486),l=e.i(519455),o=e.i(515288),c=e.i(
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let s=(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)(s({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})}])},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...s}){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),...s})},"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})}])},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,...s}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...s})}],987968)},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(709840),s=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:n=!1,...d}){let l=n?r.Slot.Root:"span";return(0,t.jsx)(l,{className:(0,s.cn)(i({variant:a}),e),"data-slot":"badge","data-variant":a,...d})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...s}){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),...s})})},"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})}])},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)},312159,e=>{"use strict";var t=e.i(843476),a=e.i(711241),r=e.i(986206),s=e.i(948148),i=e.i(271645),n=e.i(929592),d=e.i(487486),l=e.i(519455),o=e.i(515288),c=e.i(24265),u=e.i(987968),x=e.i(784774),m=e.i(520133),f=e.i(637611);function g({label:e,value:a,mono:r=!1,className:s}){return(0,t.jsxs)("div",{className:s,children:[(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:e}),(0,t.jsx)("p",{className:r?"break-all font-mono text-xs":"mt-1",children:a})]})}e.s(["ProvisioningProfileDetailPage",0,function({id:e}){let p=(0,s.useTranslations)("provisioningProfiles"),[v,h]=(0,i.useState)(null),[j,b]=(0,i.useState)(!0),[N,w]=(0,i.useState)(null),y=(0,i.useCallback)(async()=>{b(!0);try{let t=await (0,f.controlPlaneRequest)(`query ProvisioningProfileDetail($id: ID!) {
|
|
2
2
|
signingProfile(id: $id) {
|
|
3
3
|
id uuid contentHash name profileType bundleId teamId teamName
|
|
4
4
|
platforms deviceCount deviceUdids certificateSha1s createdAt expiresAt
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
udid deviceId displayName product osVersion status
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
}`,{id:e});
|
|
10
|
+
}`,{id:e});h(t.signingProfile),w(null)}catch(e){w(e instanceof Error?e.message:String(e))}finally{b(!1)}},[e]);if((0,i.useEffect)(()=>{let e=window.setTimeout(()=>void y(),0);return()=>window.clearTimeout(e)},[y]),j)return(0,t.jsxs)("p",{className:"flex items-center gap-2 p-6 text-sm text-muted-foreground",children:[(0,t.jsx)(u.Spinner,{})," ",p("loadingProfile")]});if(N)return(0,t.jsxs)("section",{className:"mx-auto w-full max-w-[1500px] space-y-4",children:[(0,t.jsx)(l.Button,{asChild:!0,variant:"ghost",children:(0,t.jsxs)(m.Link,{href:"/provisioning-profiles",children:[(0,t.jsx)(a.ArrowLeft,{})," ",p("backToProfiles")]})}),(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:N})})]});if(!v)return(0,t.jsxs)("section",{className:"mx-auto w-full max-w-[1500px] space-y-4",children:[(0,t.jsx)(l.Button,{asChild:!0,variant:"ghost",children:(0,t.jsxs)(m.Link,{href:"/provisioning-profiles",children:[(0,t.jsx)(a.ArrowLeft,{})," ",p("backToProfiles")]})}),(0,t.jsx)(o.Card,{children:(0,t.jsx)(o.CardContent,{className:"p-8 text-center text-muted-foreground",children:p("profileNotFound")})})]});let T=new Set,C=v.provisionedDevices.filter(e=>{let t=e.udid.toUpperCase();return!T.has(t)&&(T.add(t),!0)});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)(l.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(m.Link,{href:"/provisioning-profiles",children:[(0,t.jsx)(a.ArrowLeft,{})," ",p("backToProfiles")]})}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:v.name}),(0,t.jsx)(d.Badge,{variant:"outline",children:v.profileType}),v.expired&&(0,t.jsx)(d.Badge,{variant:"destructive",children:p("expired")}),v.xcodeManaged&&(0,t.jsx)(d.Badge,{variant:"secondary",children:"Xcode"})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:v.uuid})]}),(0,t.jsxs)(o.Card,{children:[(0,t.jsxs)(o.CardHeader,{children:[(0,t.jsx)(o.CardTitle,{children:p("profileDetails")}),(0,t.jsx)(o.CardDescription,{children:v.bundleId})]}),(0,t.jsxs)(o.CardContent,{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(g,{label:p("team"),value:v.teamName??v.teamId??"—"}),(0,t.jsx)(g,{label:p("platforms"),value:v.platforms.join(", ")||"—"}),(0,t.jsx)(g,{label:p("created"),value:(0,t.jsx)(c.DateTime,{showTime:!1,value:v.createdAt})}),(0,t.jsx)(g,{label:p("expires"),value:(0,t.jsx)(c.DateTime,{showTime:!1,value:v.expiresAt})}),(0,t.jsx)(g,{label:p("installedAgents"),value:v.installedAgents.map(e=>e.name).join(", ")||"—"}),(0,t.jsx)(g,{className:"sm:col-span-2 lg:col-span-3",label:p("acceptedCertificates"),value:v.certificateSha1s.join(", ")||"—",mono:!0})]})]}),(0,t.jsxs)(o.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(o.CardHeader,{children:[(0,t.jsxs)(o.CardTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(r.Smartphone,{})," ",p("provisionedDevices")]}),(0,t.jsx)(o.CardDescription,{children:p("provisionedDevicesDescription",{count:C.length})})]}),0===v.deviceUdids.length?(0,t.jsx)("p",{className:"p-8 text-center text-sm text-muted-foreground",children:v.deviceCount>0?p("deviceListPendingRefresh"):p("noProvisionedDevices")}):(0,t.jsxs)(x.Table,{children:[(0,t.jsx)(x.TableHeader,{children:(0,t.jsxs)(x.TableRow,{children:[(0,t.jsx)(x.TableHead,{children:p("device")}),(0,t.jsx)(x.TableHead,{children:p("udid")}),(0,t.jsx)(x.TableHead,{children:p("status")})]})}),(0,t.jsx)(x.TableBody,{children:C.map((e,a)=>(0,t.jsxs)(x.TableRow,{children:[(0,t.jsxs)(x.TableCell,{children:[e.deviceId&&e.displayName?(0,t.jsx)(m.Link,{className:"font-medium hover:underline",href:`/devices/${e.deviceId}`,children:e.displayName}):(0,t.jsx)("span",{className:"text-muted-foreground",children:p("unknownDevice")}),(e.product||e.osVersion)&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:[e.product,e.osVersion].filter(Boolean).join(" · ")})]}),(0,t.jsx)(x.TableCell,{className:"font-mono text-xs",children:e.udid}),(0,t.jsx)(x.TableCell,{children:e.status?(0,t.jsx)(d.Badge,{variant:"secondary",children:e.status}):"—"})]},`${e.udid}:${a}`))})]})]})]})}])}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,762368,t=>{"use strict";let e=(0,t.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);t.s(["Download",0,e],762368)},741120,t=>{"use strict";let e=(0,t.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);t.s(["RefreshCw",0,e],741120)},77071,t=>{"use strict";let e=(0,t.i(456420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);t.s(["Plus",0,e],77071)},566595,t=>{"use strict";var e=t.i(630299);t.s(["Search",()=>e.default])},635416,96892,t=>{"use strict";var e=t.i(456420);let a=(0,e.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);t.s(["ArrowDown",0,a],635416);let s=(0,e.default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);t.s(["ArrowUp",0,s],96892)},506184,t=>{"use strict";let e=(0,t.i(456420).default)("paintbrush",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);t.s(["Paintbrush",0,e],506184)},
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,762368,t=>{"use strict";let e=(0,t.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);t.s(["Download",0,e],762368)},741120,t=>{"use strict";let e=(0,t.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);t.s(["RefreshCw",0,e],741120)},77071,t=>{"use strict";let e=(0,t.i(456420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);t.s(["Plus",0,e],77071)},566595,t=>{"use strict";var e=t.i(630299);t.s(["Search",()=>e.default])},635416,96892,t=>{"use strict";var e=t.i(456420);let a=(0,e.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);t.s(["ArrowDown",0,a],635416);let s=(0,e.default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);t.s(["ArrowUp",0,s],96892)},506184,t=>{"use strict";let e=(0,t.i(456420).default)("paintbrush",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);t.s(["Paintbrush",0,e],506184)},667259,t=>{"use strict";let e=(0,t.i(456420).default)("columns-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);t.s(["Columns3",0,e],667259)},275043,t=>{"use strict";let e=(0,t.i(456420).default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);t.s(["default",0,e])},406930,t=>{"use strict";let e=(0,t.i(456420).default)("list-filter",[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]);t.s(["ListFilter",0,e],406930)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,396661,e=>{"use strict";e.s(["mergeClasses",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},871987,388973,e=>{"use strict";e.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],871987),e.s(["hasA11yProp",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],388973)},505014,e=>{"use strict";var t=e.i(271645),r=e.i(871987),n=e.i(388973),o=e.i(396661);let i=(0,t.createContext)({}),a=(0,t.forwardRef)(({color:e,size:a,strokeWidth:s,absoluteStrokeWidth:l,className:u="",children:c,iconNode:d,...p},f)=>{let{size:m=24,strokeWidth:y=2,absoluteStrokeWidth:g=!1,color:v="currentColor",className:h=""}=(0,t.useContext)(i)??{},b=l??g?24*Number(s??y)/Number(a??m):s??y;return(0,t.createElement)("svg",{ref:f,...r.default,width:a??m??r.default.width,height:a??m??r.default.height,stroke:e??v,strokeWidth:b,className:(0,o.mergeClasses)("lucide",h,u),...!c&&!(0,n.hasA11yProp)(p)&&{"aria-hidden":"true"},...p},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(c)?c:[c]])});e.s(["default",0,a],505014)},456420,948148,225913,e=>{"use strict";var t=e.i(271645),r=e.i(396661);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o=e.i(505014);e.s(["default",0,(e,i)=>{let a=(0,t.forwardRef)(({className:a,...s},l)=>(0,t.createElement)(o.default,{ref:l,iconNode:i,className:(0,r.mergeClasses)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...s}));return a.displayName=n(e),a}],456420);var i=e.i(861745);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let s=a(0,i.useTranslations);a(0,i.useFormatter),e.s(["useTranslations",0,s],948148);var l=e.i(207670);let u=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,c=l.clsx;e.s(["cva",0,(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return c(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:i}=t,a=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;let a=u(t)||u(n);return o[e][a]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return c(e,a,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...s}[t]):({...i,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}],225913)},519455,743556,709840,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(271645);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(e){let t=n.forwardRef((t,r)=>{var i;let a,l,{children:u,...d}=t,g=null,v=!1,h=[];p(u)&&"function"==typeof y&&(u=y(u._payload)),n.Children.forEach(u,e=>{var t;if(t=e,n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===s){v=!0;let t="child"in e.props?e.props.child:e.props.children;p(t)&&"function"==typeof y&&(t=y(t._payload)),g=c(e,t),h.push(g?.props?.children)}else h.push(e)}),g?g=n.cloneElement(g,void 0,h):!v&&1===n.Children.count(u)&&n.isValidElement(u)&&(g=u);let b=g?(i=g,(l=(a=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.ref:(l=(a=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,E=function(...e){return n.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(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():o(e[t],null)}}}}(...e),e)}(r,b);if(!g){if(u||0===u)throw Error(v?m(e):f(e));return u}let w=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(d,g.props??{});return g.type!==n.Fragment&&(w.ref=r?E:b),n.cloneElement(g,w)});return t.displayName=`${e}.Slot`,t}var a=i("Slot"),s=Symbol.for("radix.slottable");function l(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=s,t}var u=l("Slottable"),c=(e,t)=>{if("child"in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},d=Symbol.for("react.lazy");function p(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===d&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,m=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,y=n[" use ".trim().toString()];e.s(["Root",0,a,"Slot",0,a,"Slottable",0,u,"createSlot",0,i,"createSlottable",0,l],743556);var g=e.i(743556);e.s(["Slot",0,g],709840);var g=g,v=e.i(975157);let h=(0,r.cva)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:r="default",size:n="default",asChild:o=!1,...i}){let a=o?g.Root:"button";return(0,t.jsx)(a,{"data-slot":"button","data-variant":r,"data-size":n,className:(0,v.cn)(h({variant:r,size:n,className:e})),...i})},"buttonVariants",0,h],519455)},637611,e=>{"use strict";var t,r,n=e.i(247167);function o(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function i(e){return"object"===o(e)}function a(e,t){return e.length<124?e:t}var s=((t=s||{})[t.InternalServerError=4500]="InternalServerError",t[t.InternalClientError=4005]="InternalClientError",t[t.BadRequest=4400]="BadRequest",t[t.BadResponse=4004]="BadResponse",t[t.Unauthorized=4401]="Unauthorized",t[t.Forbidden=4403]="Forbidden",t[t.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",t[t.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",t[t.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",t[t.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",t[t.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",t),l=((r=l||{}).ConnectionInit="connection_init",r.ConnectionAck="connection_ack",r.Ping="ping",r.Pong="pong",r.Subscribe="subscribe",r.Next="next",r.Error="error",r.Complete="complete",r);function u(e){if(!i(e))throw Error(`Message is expected to be an object, but got ${o(e)}`);if(!e.type)throw Error("Message is missing the 'type' property");if("string"!=typeof e.type)throw Error(`Message is expects the 'type' property to be a string, but got ${o(e.type)}`);switch(e.type){case"connection_init":case"connection_ack":case"ping":case"pong":if(null!=e.payload&&!i(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break;case"subscribe":if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${o(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!i(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${o(e.payload)}`);if("string"!=typeof e.payload.query)throw Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${o(e.payload.query)}`);if(null!=e.payload.variables&&!i(e.payload.variables))throw Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${o(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==o(e.payload.operationName))throw Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${o(e.payload.operationName)}`);if(null!=e.payload.extensions&&!i(e.payload.extensions))throw Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${o(e.payload.extensions)}`);break;case"next":if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${o(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!i(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${o(e.payload)}`);break;case"error":var t;if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${o(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!(Array.isArray(t=e.payload)&&t.length>0&&t.every(e=>"message"in e)))throw Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case"complete":if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${o(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw Error(`Invalid message 'type' property "${e.type}"`)}return e}function c(e,t){return u(e),JSON.stringify(e,t)}class d extends Error{name="TerminatedCloseEvent";message="4499: Terminated";code=4499;reason="Terminated";wasClean=!1}function p(e){return i(e)&&"code"in e&&"reason"in e}async function f(e,t){let r=await fetch("/api/graphql",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({query:e,variables:t})}),n=await r.json();if(!r.ok||n.errors?.length||!n.data)throw Error(n.errors?.map(e=>e.message).join("; ")||`HTTP ${r.status}`);return n.data}let m=null;function y(){return function(e,t,r){let n=`${"https:"===t?"wss":"ws"}://${r}/graphql`;if(!e)return n;try{let r=new URL(e);if("https:"===t&&"wss:"!==r.protocol)return n}catch{}return e}(n.default.env.NEXT_PUBLIC_AGENT_WS_URL,window.location.protocol,window.location.host)}e.s(["controlPlaneRequest",0,f,"controlPlaneSubscriptions",0,function(){return m??=function(t){let r,n,o,i,{url:f,connectionParams:m,lazy:y=!0,onNonLazyError:g=console.error,lazyCloseTimeout:v=0,keepAlive:h=0,disablePong:b,connectionAckWaitTimeout:E=0,retryAttempts:w=5,retryWait:x=async function(e){let t=Math.pow(2,e);await new Promise(e=>setTimeout(e,1e3*t+Math.floor(2700*Math.random()+300)))},shouldRetry:S=p,on:C,webSocketImpl:N,generateID:R=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:$,jsonMessageReviver:k}=t;if(N){var O;if(!("function"==typeof(O=N)&&"constructor"in O&&"CLOSED"in O&&"CLOSING"in O&&"CONNECTING"in O&&"OPEN"in O))throw Error("Invalid WebSocket implementation provided");r=N}else r="u">typeof WebSocket?WebSocket:e.g.WebSocket||e.g.MozWebSocket;if(!r)throw Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");let P=r,T=(n={},o={on:(e,t)=>(n[e]=t,()=>{delete n[e]}),emit(e){"id"in e&&n[e.id]?.(e)}},i={connecting:C?.connecting?[C.connecting]:[],opened:C?.opened?[C.opened]:[],connected:C?.connected?[C.connected]:[],ping:C?.ping?[C.ping]:[],pong:C?.pong?[C.pong]:[],message:C?.message?[o.emit,C.message]:[o.emit],closed:C?.closed?[C.closed]:[],error:C?.error?[C.error]:[]},{onMessage:o.on,on(e,t){let r=i[e];return r.push(t),()=>{r.splice(r.indexOf(t),1)}},emit(e,...t){for(let r of[...i[e]])r(...t)}});function _(e){let t=[T.on("error",r=>{t.forEach(e=>e()),e(r)}),T.on("closed",r=>{t.forEach(e=>e()),e(r)})]}let A,L=0,j,I=!1,W=0,z=!1;async function D(){clearTimeout(j);let[e,t]=await (A??(A=new Promise((e,t)=>(async()=>{let r,n;if(I){if(await x(W),!L)return A=void 0,t({code:1e3,reason:"All Subscriptions Gone"});W++}T.emit("connecting",I);let o=new P("function"==typeof f?await f():f,"graphql-transport-ws");function i(){isFinite(h)&&h>0&&(clearTimeout(n),n=setTimeout(()=>{o.readyState===P.OPEN&&(o.send(c({type:l.Ping})),T.emit("ping",!1,void 0))},h))}_(e=>{A=void 0,clearTimeout(r),clearTimeout(n),t(e),e instanceof d&&(o.close(4499,"Terminated"),o.onerror=null,o.onclose=null)}),o.onerror=e=>T.emit("error",e),o.onclose=e=>T.emit("closed",e),o.onopen=async()=>{try{T.emit("opened",o);let e="function"==typeof m?await m():m;if(o.readyState!==P.OPEN)return;o.send(c(e?{type:l.ConnectionInit,payload:e}:{type:l.ConnectionInit},$)),isFinite(E)&&E>0&&(r=setTimeout(()=>{o.close(s.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},E)),i()}catch(e){T.emit("error",e),o.close(s.InternalClientError,a(e instanceof Error?e.message:String(e),"Internal client error"))}};let p=!1;o.onmessage=({data:t})=>{try{let n=u("string"==typeof t?JSON.parse(t,k):t);if(T.emit("message",n),"ping"===n.type||"pong"===n.type){T.emit(n.type,!0,n.payload),"pong"===n.type?i():b||(o.send(c(n.payload?{type:l.Pong,payload:n.payload}:{type:l.Pong})),T.emit("pong",!1,n.payload));return}if(p)return;if(n.type!==l.ConnectionAck)throw Error(`First message cannot be of type ${n.type}`);clearTimeout(r),p=!0,T.emit("connected",o,n.payload,I),I=!1,W=0,e([o,new Promise((e,t)=>_(t))])}catch(e){o.onmessage=null,T.emit("error",e),o.close(s.BadResponse,a(e instanceof Error?e.message:String(e),"Bad response"))}}})())));e.readyState===P.CLOSING&&await t;let r=()=>{},n=new Promise(e=>r=e);return[e,r,Promise.race([n.then(()=>{L||(isFinite(v)&&v>0?j=setTimeout(()=>{e.readyState===P.OPEN&&e.close(1e3,"Normal Closure")},v):e.close(1e3,"Normal Closure"))}),t])]}function M(e){var t;if(p(e)&&(![1e3,1001,1006,1005,1012,1013,1014].includes(t=e.code)&&t>=1e3&&t<=1999||[s.InternalServerError,s.InternalClientError,s.BadRequest,s.BadResponse,s.Unauthorized,s.SubprotocolNotAcceptable,s.SubscriberAlreadyExists,s.TooManyInitialisationRequests].includes(e.code)))throw e;if(z)return!1;if(p(e)&&1e3===e.code)return L>0;if(!w||W>=w||!S(e))throw e;return I=!0}function B(e,t){let r=R(e),n=!1,o=!1,i=()=>{L--,n=!0};return(async()=>{for(L++;;)try{let[a,s,u]=await D();if(n)return s();let d=T.onMessage(r,e=>{switch(e.type){case l.Next:return void t.next(e.payload);case l.Error:o=!0,n=!0,t.error(e.payload),i();return;case l.Complete:n=!0,i();return}});a.send(c({id:r,type:l.Subscribe,payload:e},$)),i=()=>{n||a.readyState!==P.OPEN||a.send(c({id:r,type:l.Complete},$)),L--,n=!0,s()},await u.finally(d);return}catch(e){if(!M(e))return}})().then(()=>{o||t.complete()}).catch(e=>{t.error(e)}),()=>{n||i()}}return y||(async()=>{for(L++;;)try{let[,,e]=await D();await e}catch(e){try{if(!M(e))return}catch(e){return g?.(e)}}})(),{on:T.on,subscribe:B,iterate(e){let t=[],r={done:!1,error:null,resolve:()=>{}},n=B(e,{next(e){t.push(e),r.resolve()},error(e){r.done=!0,r.error=e,r.resolve()},complete(){r.done=!0,r.resolve()}}),o=async function*(){for(;;){for(t.length||await new Promise(e=>r.resolve=e);t.length;)yield t.shift();if(r.error)throw r.error;if(r.done)return}}();return o.throw=async e=>(r.done||(r.done=!0,r.error=e,r.resolve()),{done:!0,value:void 0}),o.return=async()=>(n(),{done:!0,value:void 0}),o},async dispose(){if(z=!0,A){let[e]=await A;e.close(1e3,"Normal Closure")}},terminate(){A&&T.emit("closed",new d)}}}({url:y,lazy:!0,retryAttempts:1/0,shouldRetry:()=>!0})}],637611)},30030,e=>{"use strict";var t=e.i(271645),r=e.i(843476);e.s(["createContextScope",0,function(e,n=[]){let o=[],i=()=>{let r=o.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(n,i){let a=t.createContext(i);a.displayName=n+"Context";let s=o.length;o=[...o,i];let l=n=>{let{scope:o,children:i,...l}=n,u=o?.[e]?.[s]||a,c=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:i})};return l.displayName=n+"Provider",[l,function(r,o,l={}){let{optional:u=!1}=l,c=o?.[e]?.[s]||a,d=t.useContext(c);if(d)return d;if(void 0!==i)return i;if(!u)throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(i,...n)]}])},226381,102575,808112,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)}}],226381);var t=e.i(271645),r=e.i(174080);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t.useCallback(function(...e){return t=>{let r=!1,o=e.map(e=>{let o=n(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}e.s(["useComposedRefs",0,o],102575);var i=Symbol.for("radix.slottable"),a=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=t[" use ".trim().toString()],u=e.i(843476),c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var n;let a,c=(n=`Primitive.${r}`,(a=t.forwardRef((e,r)=>{var a;let u,c,{children:d,...p}=e,f=null,m=!1,y=[];s(d)&&"function"==typeof l&&(d=l(d._payload)),t.Children.forEach(d,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===i){m=!0;let r="child"in e.props?e.props.child:e.props.children;s(r)&&"function"==typeof l&&(r=l(r._payload)),f=((e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null})(e,r),y.push(f?.props?.children)}else y.push(e)}),f?f=t.cloneElement(f,void 0,y):!m&&1===t.Children.count(d)&&t.isValidElement(d)&&(f=d);let g=f?(a=f,(c=(u=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?a.ref:(c=(u=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,v=o(r,g);if(!f){if(d||0===d){let e,t;throw Error(m?(e=n,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=n,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return d}let h=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==t.Fragment&&(h.ref=r?v:g),t.cloneElement(f,h)})).displayName=`${n}.Slot`,a),d=t.forwardRef((e,t)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(n?c:r,{...o,ref:t})});return d.displayName=`Primitive.${r}`,{...e,[r]:d}},{});e.s(["Primitive",0,c,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}],808112)},30207,e=>{"use strict";var t=e.i(271645);e.s(["useCallbackRef",0,function(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}])},726330,e=>{"use strict";var t,r=e.i(271645),n=e.i(226381),o=e.i(808112),i=e.i(102575),a=e.i(30207),s=e.i(843476),l="dismissableLayer.update",u=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),c=r.forwardRef((e,c)=>{let{disableOutsidePointerEvents:m=!1,deferPointerDownOutside:y=!1,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:h,onInteractOutside:b,onDismiss:E,...w}=e,x=r.useContext(u),[S,C]=r.useState(null),N=S?.ownerDocument??globalThis?.document,[,R]=r.useState({}),$=(0,i.useComposedRefs)(c,C),k=Array.from(x.layers),[O]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),P=O?k.indexOf(O):-1,T=S?k.indexOf(S):-1,_=x.layersWithOutsidePointerEventsDisabled.size>0,A=T>=P,L=r.useRef(!1),j=function(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=d}=t,u=(0,a.useCallbackRef)(e),c=r.useRef(!1),p=r.useRef(!1),m=r.useRef(new Map),y=r.useRef(()=>{});return r.useEffect(()=>{function e(){p.current=!1,i.current=!1,m.current.clear()}function t(e){if(!p.current)return;let t=e.target;t instanceof Node&&[...s].some(e=>e.contains(t))||m.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{p.current&&y.current()},0)}function r(e){p.current&&m.current.set(e.type,!1)}let a=t=>{if(t.target&&!c.current){let r=function(){n.removeEventListener("click",y.current);let t=Array.from(m.current.values()).some(Boolean);e(),t||f("dismissableLayer.pointerDownOutside",u,a,{discrete:!0})};if(!l(t.target)){n.removeEventListener("click",y.current),e(),c.current=!1;return}let a={originalEvent:t};p.current=!0,i.current=o&&0===t.button,m.current.clear(),o&&0===t.button?(n.removeEventListener("click",y.current),y.current=r,n.addEventListener("click",y.current,{once:!0})):r()}else n.removeEventListener("click",y.current),e();c.current=!1},d=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of d)n.addEventListener(e,t,!0),n.addEventListener(e,r);let g=window.setTimeout(()=>{n.addEventListener("pointerdown",a)},0);return()=>{for(let e of(window.clearTimeout(g),n.removeEventListener("pointerdown",a),n.removeEventListener("click",y.current),d))n.removeEventListener(e,t,!0),n.removeEventListener(e,r)}},[n,u,o,i,s,l]),{onPointerDownCapture:()=>c.current=!0}}(e=>{v?.(e),b?.(e),e.defaultPrevented||E?.()},{ownerDocument:N,deferPointerDownOutside:y,isDeferredPointerDownOutsideRef:L,dismissableSurfaces:x.dismissableSurfaces,shouldHandlePointerDownOutside:r.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...x.branches].some(t=>t.contains(e));return A&&!t},[x.branches,A])}),I=function(e,t=globalThis?.document){let n=(0,a.useCallbackRef)(e),o=r.useRef(!1);return r.useEffect(()=>{let e=e=>{e.target&&!o.current&&f("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{if(y&&L.current)return;let t=e.target;![...x.branches].some(e=>e.contains(t))&&(h?.(e),b?.(e),e.defaultPrevented||E?.())},N),W=!!S&&T===k.length-1,z=(0,a.useCallbackRef)(e=>{"Escape"===e.key&&(g?.(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))});return r.useEffect(()=>{if(W)return N.addEventListener("keydown",z,{capture:!0}),()=>N.removeEventListener("keydown",z,{capture:!0})},[N,W,z]),r.useEffect(()=>{if(S)return m&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(t=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(S)),x.layers.add(S),p(),()=>{m&&(x.layersWithOutsidePointerEventsDisabled.delete(S),0===x.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=t))}},[S,N,m,x]),r.useEffect(()=>()=>{S&&(x.layers.delete(S),x.layersWithOutsidePointerEventsDisabled.delete(S),p())},[S,x]),r.useEffect(()=>{let e=()=>R({});return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,s.jsx)(o.Primitive.div,{...w,ref:$,style:{pointerEvents:_?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,n.composeEventHandlers)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,n.composeEventHandlers)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,n.composeEventHandlers)(e.onPointerDownCapture,j.onPointerDownCapture)})});c.displayName="DismissableLayer",r.forwardRef((e,t)=>{let n=r.useContext(u),a=r.useRef(null),l=(0,i.useComposedRefs)(t,a);return r.useEffect(()=>{let e=a.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(o.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch";var d=()=>!0;function p(){let e=new CustomEvent(l);document.dispatchEvent(e)}function f(e,t,r,{discrete:n}){let i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,o.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}e.s(["DismissableLayer",0,c,"useDismissableLayerSurface",0,function(){let e=r.useContext(u),[t,n]=r.useState(null);return r.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}])},635804,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useSize",0,function(e){let[n,o]=t.useState(void 0);return r(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;o({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),n}],635804)},774606,e=>{"use strict";var t=e.i(271645),r=e.i(174080);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var o=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function a(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 s=t[" use ".trim().toString()],l=e.i(843476),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var i;let u,c=(i=`Primitive.${r}`,(u=t.forwardRef((e,r)=>{var l;let u,c,{children:d,...p}=e,f=null,m=!1,y=[];a(d)&&"function"==typeof s&&(d=s(d._payload)),t.Children.forEach(d,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===o){m=!0;let r="child"in e.props?e.props.child:e.props.children;a(r)&&"function"==typeof s&&(r=s(r._payload)),f=((e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null})(e,r),y.push(f?.props?.children)}else y.push(e)}),f?f=t.cloneElement(f,void 0,y):!m&&1===t.Children.count(d)&&t.isValidElement(d)&&(f=d);let g=f?(l=f,(c=(u=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?l.ref:(c=(u=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?l.props.ref:l.props.ref||l.ref):void 0,v=function(...e){return t.useCallback(function(...e){return t=>{let r=!1,o=e.map(e=>{let o=n(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}(r,g);if(!f){if(d||0===d){let e,t;throw Error(m?(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 d}let h=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==t.Fragment&&(h.ref=r?v:g),t.cloneElement(f,h)})).displayName=`${i}.Slot`,u),d=t.forwardRef((e,t)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(n?c:r,{...o,ref:t})});return d.displayName=`Primitive.${r}`,{...e,[r]:d}},{}),c=globalThis?.document?t.useLayoutEffect:()=>{},d=t.forwardRef((e,n)=>{let{container:o,...i}=e,[a,s]=t.useState(!1);c(()=>s(!0),[]);let d=o||a&&globalThis?.document?.body;return d?r.createPortal((0,l.jsx)(u.div,{...i,ref:n}),d):null});d.displayName="Portal",e.s(["Portal",0,d],774606)},296626,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{},n=e=>{var n;let a,s,{present:l,children:u}=e,c=function(e){var n,o;let[a,s]=t.useState(),l=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),d=t.useRef(void 0),[p,f]=(n=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,n));return t.useEffect(()=>{"mounted"===p?(c.current=d.current??i(l.current),d.current=void 0):c.current="none"},[p]),r(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,o=i(t);e?(d.current=o,f("MOUNT")):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),r(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=i(l.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!u.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(c.current=i(l.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);l.current=t,d.current=i(t)}else l.current=null;s(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),p=function(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,i=t.map(t=>{let r=o(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<i.length;e++){let r=i[e];"function"==typeof r?r():o(t[e],null)}}},[])}(c.ref,(n=d,(s=(a=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?n.ref:(s=(a=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:p}):null};function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(e){return e?.animationName||"none"}n.displayName="Presence",e.s(["Presence",0,n],296626)}]);
|