@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.
Files changed (508) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/build-manifest.json +3 -3
  4. package/standalone/.next/prerender-manifest.json +3 -3
  5. package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
  6. package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
  7. package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
  8. package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
  9. package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
  10. package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
  11. package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
  12. package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
  13. package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
  14. package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
  15. package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
  16. package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
  17. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
  18. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
  19. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
  20. package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
  21. package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
  22. package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
  23. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
  25. package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
  26. package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
  27. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  28. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
  29. package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
  31. package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
  33. package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
  34. package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
  35. package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
  36. package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
  37. package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
  39. package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
  40. package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
  41. package/standalone/.next/server/app/[locale]/jira/cache/page.js.nft.json +1 -1
  42. package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
  43. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
  44. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  45. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  46. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  47. package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
  48. package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
  49. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
  50. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
  51. package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
  52. package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
  53. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  54. package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  55. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
  57. package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
  59. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  60. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  61. package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
  62. package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
  63. package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
  65. package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
  66. package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
  67. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
  68. package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
  69. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
  70. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
  71. package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
  72. package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
  73. package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
  74. package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
  75. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
  76. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
  77. package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
  78. package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
  79. package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
  80. package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
  81. package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
  82. package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
  83. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
  84. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  85. package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
  86. package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
  87. package/standalone/.next/server/app/_global-error.html +1 -1
  88. package/standalone/.next/server/app/_global-error.rsc +1 -1
  89. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  90. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  91. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  92. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  93. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  94. package/standalone/.next/server/app/_not-found.html +1 -1
  95. package/standalone/.next/server/app/_not-found.rsc +1 -1
  96. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  97. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  98. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  99. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  100. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  101. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  102. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
  103. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
  104. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
  105. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
  106. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
  107. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
  108. package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
  109. package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
  110. package/standalone/.next/server/app/api/codebases/route.js +1 -1
  111. package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
  112. package/standalone/.next/server/app/api/graphql/route.js +1 -1
  113. package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
  114. package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
  115. package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
  116. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
  117. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
  118. package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
  119. package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
  120. package/standalone/.next/server/app/api/ios/enrollment-profile/route.js +1 -1
  121. package/standalone/.next/server/app/api/ios/enrollment-profile/route.js.nft.json +1 -1
  122. package/standalone/.next/server/app/api/ios/profile-response/route.js +1 -1
  123. package/standalone/.next/server/app/api/ios/profile-response/route.js.nft.json +1 -1
  124. package/standalone/.next/server/app/api/mcp/route.js +1 -1
  125. package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  126. package/standalone/.next/server/app/api/openapi.json/route.js +1 -1
  127. package/standalone/.next/server/app/api/openapi.json/route.js.nft.json +1 -1
  128. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
  129. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
  130. package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
  131. package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
  132. package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
  133. package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
  134. package/standalone/.next/server/app/api/tools/call/route.js +1 -1
  135. package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
  136. package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
  137. package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
  138. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
  139. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
  140. package/standalone/.next/server/chunks/{[root-of-the-server]__00h1t-5._.js → [root-of-the-server]__0-ptbns._.js} +1 -1
  141. package/standalone/.next/server/chunks/{[root-of-the-server]__0lrv7jk._.js → [root-of-the-server]__0-rk-gw._.js} +1 -1
  142. package/standalone/.next/server/chunks/{[root-of-the-server]__0783dgt._.js → [root-of-the-server]__0-siu15._.js} +1 -1
  143. package/standalone/.next/server/chunks/{[root-of-the-server]__0fbv1bw._.js → [root-of-the-server]__00l1ur7._.js} +1 -1
  144. package/standalone/.next/server/chunks/{[root-of-the-server]__09--bpf._.js → [root-of-the-server]__00pz9u-._.js} +1 -1
  145. package/standalone/.next/server/chunks/{[root-of-the-server]__00pg8ki._.js → [root-of-the-server]__00q730m._.js} +1 -1
  146. package/standalone/.next/server/chunks/{[root-of-the-server]__2195vvu._.js → [root-of-the-server]__03l7uod._.js} +2 -2
  147. package/standalone/.next/server/chunks/{[root-of-the-server]__09n1yz-._.js → [root-of-the-server]__04ytt8c._.js} +1 -1
  148. package/standalone/.next/server/chunks/{[root-of-the-server]__1t1-x5a._.js → [root-of-the-server]__05l-vh9._.js} +1 -1
  149. package/standalone/.next/server/chunks/{[root-of-the-server]__0gyqdmk._.js → [root-of-the-server]__05o3hc7._.js} +1 -1
  150. package/standalone/.next/server/chunks/{[root-of-the-server]__0kmxj4m._.js → [root-of-the-server]__0661gy0._.js} +1 -1
  151. package/standalone/.next/server/chunks/{[root-of-the-server]__03i41aw._.js → [root-of-the-server]__06v-y44._.js} +1 -1
  152. package/standalone/.next/server/chunks/{[root-of-the-server]__027a5vb._.js → [root-of-the-server]__0730ihs._.js} +1 -1
  153. package/standalone/.next/server/chunks/{[root-of-the-server]__1yxu--t._.js → [root-of-the-server]__076321a._.js} +1 -1
  154. package/standalone/.next/server/chunks/{[root-of-the-server]__0o-m0xx._.js → [root-of-the-server]__076y818._.js} +1 -1
  155. package/standalone/.next/server/chunks/[root-of-the-server]__0_d9q6w._.js +3 -0
  156. package/standalone/.next/server/chunks/{[root-of-the-server]__16u_xzt._.js → [root-of-the-server]__0_smoou._.js} +2 -2
  157. package/standalone/.next/server/chunks/{[root-of-the-server]__1pan46j._.js → [root-of-the-server]__0a61u23._.js} +1 -1
  158. package/standalone/.next/server/chunks/{[root-of-the-server]__0gm8rnl._.js → [root-of-the-server]__0a8ssv2._.js} +1 -1
  159. package/standalone/.next/server/chunks/{[root-of-the-server]__04ws4jm._.js → [root-of-the-server]__0cusg9h._.js} +1 -1
  160. package/standalone/.next/server/chunks/{[root-of-the-server]__0dfk0up._.js → [root-of-the-server]__0czmmn3._.js} +2 -2
  161. package/standalone/.next/server/chunks/{[root-of-the-server]__0gvldsm._.js → [root-of-the-server]__0d157q5._.js} +1 -1
  162. package/standalone/.next/server/chunks/[root-of-the-server]__0dq1b6t._.js +3 -0
  163. package/standalone/.next/server/chunks/[root-of-the-server]__0duw2z9._.js +3 -0
  164. package/standalone/.next/server/chunks/{[root-of-the-server]__0i8jv9o._.js → [root-of-the-server]__0f4mi_7._.js} +1 -1
  165. package/standalone/.next/server/chunks/[root-of-the-server]__0gwt8xn._.js +3 -0
  166. package/standalone/.next/server/chunks/{[root-of-the-server]__1mofk4t._.js → [root-of-the-server]__0jc7f-h._.js} +2 -2
  167. package/standalone/.next/server/chunks/{[root-of-the-server]__01k_3ze._.js → [root-of-the-server]__0ji4_aa._.js} +1 -1
  168. package/standalone/.next/server/chunks/[root-of-the-server]__0kffrvp._.js +3 -0
  169. package/standalone/.next/server/chunks/{[root-of-the-server]__1mlcdp1._.js → [root-of-the-server]__0lqruq_._.js} +1 -1
  170. package/standalone/.next/server/chunks/{[root-of-the-server]__0_yro61._.js → [root-of-the-server]__0m-o7gg._.js} +2 -2
  171. package/standalone/.next/server/chunks/[root-of-the-server]__0ny_w4c._.js +3 -0
  172. package/standalone/.next/server/chunks/[root-of-the-server]__0qay7yq._.js +3 -0
  173. package/standalone/.next/server/chunks/{[root-of-the-server]__0ksul8g._.js → [root-of-the-server]__0qpwbwq._.js} +1 -1
  174. package/standalone/.next/server/chunks/[root-of-the-server]__0r73w_w._.js +3 -0
  175. package/standalone/.next/server/chunks/[root-of-the-server]__0srh8bm._.js +3 -0
  176. package/standalone/.next/server/chunks/[root-of-the-server]__0syu0s0._.js +3 -0
  177. package/standalone/.next/server/chunks/{[root-of-the-server]__154lh-5._.js → [root-of-the-server]__0t0z79p._.js} +2 -2
  178. package/standalone/.next/server/chunks/{[root-of-the-server]__0olwy-c._.js → [root-of-the-server]__0tt2s67._.js} +1 -1
  179. package/standalone/.next/server/chunks/{[root-of-the-server]__1ric9t-._.js → [root-of-the-server]__0uz7ud6._.js} +2 -2
  180. package/standalone/.next/server/chunks/{[root-of-the-server]__0s5dxd3._.js → [root-of-the-server]__0x7nzft._.js} +1 -1
  181. package/standalone/.next/server/chunks/[root-of-the-server]__0xro-tn._.js +3 -0
  182. package/standalone/.next/server/chunks/{[root-of-the-server]__01lu84h._.js → [root-of-the-server]__10784d-._.js} +2 -2
  183. package/standalone/.next/server/chunks/[root-of-the-server]__123on-v._.js +3 -0
  184. package/standalone/.next/server/chunks/{[root-of-the-server]__1wn2s2e._.js → [root-of-the-server]__12i2_e-._.js} +2 -2
  185. package/standalone/.next/server/chunks/[root-of-the-server]__133en1z._.js +3 -0
  186. package/standalone/.next/server/chunks/[root-of-the-server]__13njn4x._.js +3 -0
  187. package/standalone/.next/server/chunks/[root-of-the-server]__145nk5b._.js +3 -0
  188. package/standalone/.next/server/chunks/[root-of-the-server]__14p-wic._.js +3 -0
  189. package/standalone/.next/server/chunks/[root-of-the-server]__14v5hwd._.js +3 -0
  190. package/standalone/.next/server/chunks/[root-of-the-server]__1549etm._.js +3 -0
  191. package/standalone/.next/server/chunks/[root-of-the-server]__15zod2l._.js +3 -0
  192. package/standalone/.next/server/chunks/{[root-of-the-server]__0xc-tua._.js → [root-of-the-server]__16lxm7i._.js} +2 -2
  193. package/standalone/.next/server/chunks/[root-of-the-server]__176ofx1._.js +3 -0
  194. package/standalone/.next/server/chunks/{[root-of-the-server]__1z2wsgn._.js → [root-of-the-server]__17yxr8i._.js} +1 -1
  195. package/standalone/.next/server/chunks/{[root-of-the-server]__1sfzs44._.js → [root-of-the-server]__18_g5so._.js} +2 -2
  196. package/standalone/.next/server/chunks/{[root-of-the-server]__0iayrsu._.js → [root-of-the-server]__198g-0l._.js} +1 -1
  197. package/standalone/.next/server/chunks/[root-of-the-server]__19n37bl._.js +3 -0
  198. package/standalone/.next/server/chunks/[root-of-the-server]__1_z0-o0._.js +3 -0
  199. package/standalone/.next/server/chunks/[root-of-the-server]__1c91-d3._.js +3 -0
  200. package/standalone/.next/server/chunks/[root-of-the-server]__1cmajoo._.js +3 -0
  201. package/standalone/.next/server/chunks/[root-of-the-server]__1cpfh84._.js +3 -0
  202. package/standalone/.next/server/chunks/[root-of-the-server]__1dn92tm._.js +3 -0
  203. package/standalone/.next/server/chunks/[root-of-the-server]__1elf__p._.js +3 -0
  204. package/standalone/.next/server/chunks/{[root-of-the-server]__0ynkv_7._.js → [root-of-the-server]__1f2c4fv._.js} +1 -1
  205. package/standalone/.next/server/chunks/[root-of-the-server]__1fnqwa3._.js +3 -0
  206. package/standalone/.next/server/chunks/[root-of-the-server]__1fumbd9._.js +3 -0
  207. package/standalone/.next/server/chunks/{[root-of-the-server]__0eaabcp._.js → [root-of-the-server]__1fwcg2w._.js} +2 -2
  208. package/standalone/.next/server/chunks/[root-of-the-server]__1gl82vr._.js +3 -0
  209. package/standalone/.next/server/chunks/{[root-of-the-server]__1f9ug94._.js → [root-of-the-server]__1j88891._.js} +1 -1
  210. package/standalone/.next/server/chunks/[root-of-the-server]__1j89nx9._.js +3 -0
  211. package/standalone/.next/server/chunks/[root-of-the-server]__1ke6fy2._.js +3 -0
  212. package/standalone/.next/server/chunks/{[root-of-the-server]__0bl-go3._.js → [root-of-the-server]__1kr6xrb._.js} +2 -2
  213. package/standalone/.next/server/chunks/[root-of-the-server]__1kvooj6._.js +3 -0
  214. package/standalone/.next/server/chunks/[root-of-the-server]__1m7y79-._.js +3 -0
  215. package/standalone/.next/server/chunks/[root-of-the-server]__1md2i2u._.js +3 -0
  216. package/standalone/.next/server/chunks/[root-of-the-server]__1mnaj5t._.js +3 -0
  217. package/standalone/.next/server/chunks/{[root-of-the-server]__1bfswt2._.js → [root-of-the-server]__1ohhyet._.js} +1 -1
  218. package/standalone/.next/server/chunks/{[root-of-the-server]__1v2l-cb._.js → [root-of-the-server]__1pf55w3._.js} +2 -2
  219. package/standalone/.next/server/chunks/[root-of-the-server]__1q247bc._.js +3 -0
  220. package/standalone/.next/server/chunks/[root-of-the-server]__1qaicnm._.js +3 -0
  221. package/standalone/.next/server/chunks/{[root-of-the-server]__15zmuuw._.js → [root-of-the-server]__1qpos_f._.js} +2 -2
  222. package/standalone/.next/server/chunks/[root-of-the-server]__1qr-aka._.js +3 -0
  223. package/standalone/.next/server/chunks/{[root-of-the-server]__0i2ljnx._.js → [root-of-the-server]__1syo7nr._.js} +2 -2
  224. package/standalone/.next/server/chunks/[root-of-the-server]__1v9n3yu._.js +3 -0
  225. package/standalone/.next/server/chunks/[root-of-the-server]__1xi2k6g._.js +3 -0
  226. package/standalone/.next/server/chunks/{[root-of-the-server]__1j0txpm._.js → [root-of-the-server]__1yta_xv._.js} +2 -2
  227. package/standalone/.next/server/chunks/[root-of-the-server]__1zadv3h._.js +3 -0
  228. package/standalone/.next/server/chunks/{[root-of-the-server]__13l3v-v._.js → [root-of-the-server]__1zdk-iw._.js} +2 -2
  229. package/standalone/.next/server/chunks/[root-of-the-server]__1zwqj_g._.js +3 -0
  230. package/standalone/.next/server/chunks/[root-of-the-server]__20rr3br._.js +3 -0
  231. package/standalone/.next/server/chunks/_00pgex-._.js +68 -66
  232. package/standalone/.next/server/chunks/_03k34hm._.js +4 -4
  233. package/standalone/.next/server/chunks/_04tltxp._.js +4 -4
  234. package/standalone/.next/server/chunks/_05ieldc._.js +4 -4
  235. package/standalone/.next/server/chunks/_0_3-lke._.js +2 -0
  236. package/standalone/.next/server/chunks/_1bpbnrs._.js +4 -4
  237. package/standalone/.next/server/chunks/_1hcmg6g._.js +4 -4
  238. package/standalone/.next/server/chunks/_1javz-p._.js +4 -4
  239. package/standalone/.next/server/chunks/_1qvlhr_._.js +4 -4
  240. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e80fhr._.js +3 -3
  241. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03nc3bp._.js → [root-of-the-server]__0k74961._.js} +4 -4
  242. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__04fj378._.js → [root-of-the-server]__0tz354o._.js} +3 -3
  243. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1i04gpy._.js +27 -0
  244. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wpef1o._.js +3 -0
  245. package/standalone/.next/server/chunks/ssr/_0-_e-ox._.js +1 -1
  246. package/standalone/.next/server/chunks/ssr/_0-ih50c._.js +3 -0
  247. package/standalone/.next/server/chunks/ssr/{_08lb8p6._.js → _00_gb4o._.js} +2 -2
  248. package/standalone/.next/server/chunks/ssr/_012q7w6._.js +10 -10
  249. package/standalone/.next/server/chunks/ssr/_03kzeos._.js +3 -0
  250. package/standalone/.next/server/chunks/ssr/_05ohevo._.js +1 -1
  251. package/standalone/.next/server/chunks/ssr/{_0jum_1m._.js → _0759zq8._.js} +2 -2
  252. package/standalone/.next/server/chunks/ssr/_07a5zv1._.js +3 -0
  253. package/standalone/.next/server/chunks/ssr/{_117jkyy._.js → _09wh5xv._.js} +8 -3
  254. package/standalone/.next/server/chunks/ssr/_0c7yfj8._.js +3 -0
  255. package/standalone/.next/server/chunks/ssr/{_01cun29._.js → _0cynmyr._.js} +2 -2
  256. package/standalone/.next/server/chunks/ssr/_0dir-eb._.js +34 -0
  257. package/standalone/.next/server/chunks/ssr/_0dvnys0._.js +5 -5
  258. package/standalone/.next/server/chunks/ssr/_0fha4pb._.js +1 -1
  259. package/standalone/.next/server/chunks/ssr/_0fk_1t_._.js +3 -0
  260. package/standalone/.next/server/chunks/ssr/_0k5jx04._.js +5 -5
  261. package/standalone/.next/server/chunks/ssr/_0n98rd4._.js +3 -0
  262. package/standalone/.next/server/chunks/ssr/_0nnwpvt._.js +3 -0
  263. package/standalone/.next/server/chunks/ssr/{_1c_ojfs._.js → _0pk2e_s._.js} +2 -2
  264. package/standalone/.next/server/chunks/ssr/_0pm3j9j._.js +3 -0
  265. package/standalone/.next/server/chunks/ssr/_0rcby6e._.js +5 -5
  266. package/standalone/.next/server/chunks/ssr/{_170xw1h._.js → _0rx-o1y._.js} +2 -2
  267. package/standalone/.next/server/chunks/ssr/_0ry7kff._.js +3 -0
  268. package/standalone/.next/server/chunks/ssr/_0t2jwg3._.js +31 -31
  269. package/standalone/.next/server/chunks/ssr/_0t5lgno._.js +1 -1
  270. package/standalone/.next/server/chunks/ssr/_0tc_1s_._.js +3 -0
  271. package/standalone/.next/server/chunks/ssr/{_0m5obko._.js → _0w9r25f._.js} +2 -2
  272. package/standalone/.next/server/chunks/ssr/_0ysjbys._.js +11 -0
  273. package/standalone/.next/server/chunks/ssr/_17q5b-5._.js +9 -0
  274. package/standalone/.next/server/chunks/ssr/{_1q79umx._.js → _196iuum._.js} +2 -2
  275. package/standalone/.next/server/chunks/ssr/_1bga6ml._.js +3 -0
  276. package/standalone/.next/server/chunks/ssr/_1biqcz_._.js +3 -0
  277. package/standalone/.next/server/chunks/ssr/_1bzibio._.js +31 -31
  278. package/standalone/.next/server/chunks/ssr/_1c34qp8._.js +2 -2
  279. package/standalone/.next/server/chunks/ssr/_1d-qtbz._.js +1 -1
  280. package/standalone/.next/server/chunks/ssr/{_04jk-xk._.js → _1ecln95._.js} +2 -2
  281. package/standalone/.next/server/chunks/ssr/_1eoq6hs._.js +3 -0
  282. package/standalone/.next/server/chunks/ssr/{_1zqt7an._.js → _1h2b2b5._.js} +2 -2
  283. package/standalone/.next/server/chunks/ssr/_1kwnjml._.js +34 -0
  284. package/standalone/.next/server/chunks/ssr/_1o8-fvv._.js +3 -0
  285. package/standalone/.next/server/chunks/ssr/_1pqjzks._.js +3 -0
  286. package/standalone/.next/server/chunks/ssr/{_1u7742_._.js → _1r1e3_z._.js} +2 -2
  287. package/standalone/.next/server/chunks/ssr/_1rqnk8t._.js +3 -0
  288. package/standalone/.next/server/chunks/ssr/_1sjzp8l._.js +3 -0
  289. package/standalone/.next/server/chunks/ssr/_1tmllxv._.js +24 -0
  290. package/standalone/.next/server/chunks/ssr/_1uoc7zb._.js +6 -0
  291. package/standalone/.next/server/chunks/ssr/_1xs2spu._.js +3 -3
  292. package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +7 -7
  293. package/standalone/.next/server/chunks/ssr/{_0y9d64c._.js → _1zsu_6o._.js} +2 -2
  294. package/standalone/.next/server/chunks/ssr/_20pbep2._.js +2 -2
  295. package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
  296. package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
  297. package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
  298. package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
  299. package/standalone/.next/server/chunks/ssr/node_modules_1fko13n._.js +3 -0
  300. package/standalone/.next/server/chunks/ssr/node_modules_1qembts._.js +3 -0
  301. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1nipfj2._.js +3 -0
  302. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-popper_dist_index_mjs_0428afp._.js +3 -0
  303. 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
  304. package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1ye04e4._.js +3 -0
  305. package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +16 -16
  306. package/standalone/.next/server/chunks/ssr/src_components_build-data_build-data-page_tsx_1t2rrh0._.js +11 -11
  307. package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +10 -10
  308. package/standalone/.next/server/chunks/ssr/src_components_builds_builds-page_tsx_17qzmsl._.js +8 -8
  309. package/standalone/.next/server/chunks/ssr/src_components_builds_configuration-icon_tsx_1v42ztc._.js +2 -2
  310. package/standalone/.next/server/chunks/ssr/src_components_cache-server_cache-page_tsx_0_-eo_e._.js +5 -5
  311. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +11 -11
  312. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebases-page_tsx_0wcj3k1._.js +10 -10
  313. package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +17 -17
  314. package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +7 -7
  315. package/standalone/.next/server/chunks/ssr/src_components_devices_devices-page_tsx_1y45lv2._.js +8 -8
  316. package/standalone/.next/server/chunks/ssr/src_components_github_actions-page_tsx_18434xt._.js +4 -4
  317. package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
  318. package/standalone/.next/server/chunks/ssr/src_components_github_pull-requests-page_tsx_1il3ga-._.js +12 -12
  319. package/standalone/.next/server/chunks/ssr/src_components_jira_cache-page_tsx_1znt1yl._.js +3 -3
  320. package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +15 -15
  321. package/standalone/.next/server/chunks/ssr/src_components_jira_tickets-page_tsx_0_ocldp._.js +3 -3
  322. package/standalone/.next/server/chunks/ssr/src_components_notifications_notifications-page_tsx_19f4ztg._.js +18 -18
  323. package/standalone/.next/server/chunks/ssr/src_components_push-notifications_push-notifications-page_tsx_1c_b-t4._.js +2 -2
  324. package/standalone/.next/server/chunks/ssr/src_components_settings-page_tsx_06dxqc7._.js +31 -31
  325. package/standalone/.next/server/chunks/ssr/src_components_signing-assets_provisioning-profiles-page_tsx_1zr20o7._.js +9 -9
  326. package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +3 -3
  327. package/standalone/.next/server/chunks/ssr/src_components_telemetry_telemetry-page_tsx_0yzdpy6._.js +14 -14
  328. package/standalone/.next/server/chunks/ssr/src_components_ui_date-time_tsx_0zuage9._.js +3 -0
  329. package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +4 -4
  330. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  331. package/standalone/.next/server/pages/404.html +1 -1
  332. package/standalone/.next/server/pages/500.html +1 -1
  333. package/standalone/.next/server/server-reference-manifest.js +1 -1
  334. package/standalone/.next/server/server-reference-manifest.json +1 -1
  335. package/standalone/.next/static/chunks/000lif3c0zhvu.js +80 -0
  336. package/standalone/.next/static/chunks/02wsz0adffqp8.js +28 -0
  337. package/standalone/.next/static/chunks/{2mth_pn5d54qo.js → 02zr1fj6sg9gn.js} +33 -33
  338. package/standalone/.next/static/chunks/{1k02pmb5ikjwl.js → 03cte61olt23o.js} +3 -3
  339. package/standalone/.next/static/chunks/{1ezpx5-kghuo6.js → 04inif3zp27ql.js} +11 -11
  340. package/standalone/.next/static/chunks/{2qe7etuh1bwv3.js → 04twsuitu09qc.js} +1 -1
  341. package/standalone/.next/static/chunks/{1g0hwagd4q811.js → 0ejnphkok3cbc.js} +1 -1
  342. package/standalone/.next/static/chunks/0f822nit06dft.js +9 -0
  343. package/standalone/.next/static/chunks/0fovjx-g7eta0.js +65 -0
  344. package/standalone/.next/static/chunks/{0b0w_wac5cqbn.js → 0fw1be4ry6k_r.js} +2 -2
  345. package/standalone/.next/static/chunks/{1ywyjstd4f1px.js → 0ikbwsq-7rewz.js} +1 -1
  346. package/standalone/.next/static/chunks/0ir2jvw5qtwnj.js +1 -0
  347. package/standalone/.next/static/chunks/0iwqaqr66hgne.js +1 -0
  348. package/standalone/.next/static/chunks/0k8int7jsgtz3.js +30 -0
  349. package/standalone/.next/static/chunks/{2a6rrto2ktoc_.js → 0nutq5ctjfc37.js} +5 -5
  350. package/standalone/.next/static/chunks/0u2tsyv0tassx.js +12 -0
  351. package/standalone/.next/static/chunks/0xaamcimitizu.js +1 -0
  352. package/standalone/.next/static/chunks/1-_hzodjvgft7.js +1 -0
  353. package/standalone/.next/static/chunks/10xbozbf30cv-.js +1 -0
  354. package/standalone/.next/static/chunks/{0579din_nqxhf.js → 14jtogt0f0nsh.js} +3 -3
  355. package/standalone/.next/static/chunks/169-gif_99pjd.js +41 -0
  356. package/standalone/.next/static/chunks/{349ls84c4dbp9.js → 18zmneu2dpo8s.js} +3 -3
  357. package/standalone/.next/static/chunks/{3bnkoq89szbzx.js → 1a4de2uh02g6b.js} +2 -2
  358. package/standalone/.next/static/chunks/1ch1iiugfh7pr.js +1 -0
  359. package/standalone/.next/static/chunks/1edawd0o38cx6.js +28 -0
  360. package/standalone/.next/static/chunks/1gz-q30e1qzuf.js +35 -0
  361. package/standalone/.next/static/chunks/{37kyqfr93cgmv.js → 1h5cc0dmoomfs.js} +33 -33
  362. package/standalone/.next/static/chunks/1hzt4mwdfnmv2.js +33 -0
  363. package/standalone/.next/static/chunks/{2b6qj3i_of-b7.js → 1k2n9o4o5p8s6.js} +1 -1
  364. package/standalone/.next/static/chunks/1ufkqj87rj6-i.js +1 -0
  365. package/standalone/.next/static/chunks/1z77ayhor3gtg.js +36 -0
  366. package/standalone/.next/static/chunks/2-1-vmcvalx28.js +1 -0
  367. package/standalone/.next/static/chunks/{1zqoc_5v6sshl.js → 28-e9fkcgfk62.js} +11 -11
  368. package/standalone/.next/static/chunks/{3rolhb6l918f3.js → 28jwnowa-b2u5.js} +5 -5
  369. package/standalone/.next/static/chunks/2ar0jmg8yo3_q.js +13 -0
  370. package/standalone/.next/static/chunks/{0duto9u8a-gcp.js → 2f9kasslyd1ss.js} +16 -16
  371. package/standalone/.next/static/chunks/{1jtaoae30sltr.js → 2ly2npblvc-_j.js} +17 -17
  372. package/standalone/.next/static/chunks/2vv30t-8y66id.js +1 -0
  373. package/standalone/.next/static/chunks/2x3_xry-6de68.css +1 -0
  374. package/standalone/.next/static/chunks/{1nc0w3yg2nwys.js → 2y3w6cb0dlmzd.js} +5 -5
  375. package/standalone/.next/static/chunks/2yayf07873iy6.js +1 -0
  376. package/standalone/.next/static/chunks/2yfhr6so_34cy.js +33 -0
  377. package/standalone/.next/static/chunks/{1jp3oxzet05xp.js → 2zftfpd-e3i12.js} +1 -1
  378. package/standalone/.next/static/chunks/{16n8heazfxgkp.js → 2zho87usah-sc.js} +1 -1
  379. package/standalone/.next/static/chunks/2zypdpeeqzci1.js +10 -0
  380. package/standalone/.next/static/chunks/{30xpb_0lt8jpx.js → 347ov6pk6gcg2.js} +11 -11
  381. package/standalone/.next/static/chunks/36h9gn_o83hax.js +4 -0
  382. package/standalone/.next/static/chunks/{0az2qcfmxe26_.js → 377e8qofcd6up.js} +9 -9
  383. package/standalone/.next/static/chunks/388484eodm15m.js +8 -0
  384. package/standalone/.next/static/chunks/3_as3_z1u3nnb.js +1 -0
  385. package/standalone/.next/static/chunks/3_g7zsn_y38wy.js +1 -0
  386. package/standalone/.next/static/chunks/{31pn-_jxgdd7h.js → 3ajafpxyeycth.js} +5 -5
  387. package/standalone/.next/static/chunks/3bqm7ynezy7eb.js +7 -0
  388. package/standalone/.next/static/chunks/3c4-hisg3lm8z.js +9 -0
  389. package/standalone/.next/static/chunks/{1h5y3qq56veer.js → 3f6axekan26k2.js} +3 -3
  390. package/standalone/.next/static/chunks/3gx3ywvr2ggbb.js +1 -0
  391. package/standalone/.next/static/chunks/3jqmoapzyq5tx.js +8 -0
  392. package/standalone/.next/static/chunks/3llcyep7mkp-i.js +155 -0
  393. package/standalone/.next/static/chunks/{1n1t0xlcfflb5.js → 3nmfnes9vz7cm.js} +8 -8
  394. package/standalone/.next/static/chunks/{2vu5ny7yd8uz6.js → 3o31isuqgjdgf.js} +17 -17
  395. package/standalone/.next/static/chunks/3u04m_dram50f.js +1 -0
  396. package/standalone/.next/static/chunks/3y3ginr-kriqa.js +39 -0
  397. package/standalone/.next/static/chunks/{1pmegdso5i73a.js → 40f0gc3x_52ei.js} +1 -1
  398. package/standalone/.next/static/chunks/40j-6wiq8b9d7.js +1 -0
  399. package/standalone/.next/static/chunks/{3tmt2fscg4x0a.js → 44pprg5jd-0j8.js} +13 -13
  400. package/standalone/.next/server/chunks/[root-of-the-server]__0hmxoy-._.js +0 -3
  401. package/standalone/.next/server/chunks/[root-of-the-server]__0na0kf5._.js +0 -3
  402. package/standalone/.next/server/chunks/[root-of-the-server]__0o2r2g3._.js +0 -3
  403. package/standalone/.next/server/chunks/[root-of-the-server]__0qn2s4y._.js +0 -3
  404. package/standalone/.next/server/chunks/[root-of-the-server]__0s36z37._.js +0 -3
  405. package/standalone/.next/server/chunks/[root-of-the-server]__0sl88nm._.js +0 -3
  406. package/standalone/.next/server/chunks/[root-of-the-server]__0tx5g5o._.js +0 -3
  407. package/standalone/.next/server/chunks/[root-of-the-server]__0uyjad8._.js +0 -3
  408. package/standalone/.next/server/chunks/[root-of-the-server]__0vwq0xl._.js +0 -3
  409. package/standalone/.next/server/chunks/[root-of-the-server]__0wtla_4._.js +0 -3
  410. package/standalone/.next/server/chunks/[root-of-the-server]__0z-lmzl._.js +0 -3
  411. package/standalone/.next/server/chunks/[root-of-the-server]__11bmvex._.js +0 -3
  412. package/standalone/.next/server/chunks/[root-of-the-server]__11zhw_f._.js +0 -3
  413. package/standalone/.next/server/chunks/[root-of-the-server]__12yyk-v._.js +0 -3
  414. package/standalone/.next/server/chunks/[root-of-the-server]__152ip4m._.js +0 -3
  415. package/standalone/.next/server/chunks/[root-of-the-server]__1a28vw2._.js +0 -3
  416. package/standalone/.next/server/chunks/[root-of-the-server]__1bo7dgt._.js +0 -3
  417. package/standalone/.next/server/chunks/[root-of-the-server]__1bzm9rj._.js +0 -3
  418. package/standalone/.next/server/chunks/[root-of-the-server]__1dc6__1._.js +0 -3
  419. package/standalone/.next/server/chunks/[root-of-the-server]__1duupjc._.js +0 -3
  420. package/standalone/.next/server/chunks/[root-of-the-server]__1dyeloz._.js +0 -3
  421. package/standalone/.next/server/chunks/[root-of-the-server]__1e5dea0._.js +0 -3
  422. package/standalone/.next/server/chunks/[root-of-the-server]__1f4gxqa._.js +0 -3
  423. package/standalone/.next/server/chunks/[root-of-the-server]__1gejcnd._.js +0 -3
  424. package/standalone/.next/server/chunks/[root-of-the-server]__1l-0_di._.js +0 -3
  425. package/standalone/.next/server/chunks/[root-of-the-server]__1l33gc2._.js +0 -3
  426. package/standalone/.next/server/chunks/[root-of-the-server]__1nm1v2v._.js +0 -3
  427. package/standalone/.next/server/chunks/[root-of-the-server]__1nzw_pg._.js +0 -3
  428. package/standalone/.next/server/chunks/[root-of-the-server]__1o02rgu._.js +0 -3
  429. package/standalone/.next/server/chunks/[root-of-the-server]__1ofzum5._.js +0 -3
  430. package/standalone/.next/server/chunks/[root-of-the-server]__1qf_jx0._.js +0 -3
  431. package/standalone/.next/server/chunks/[root-of-the-server]__1rz3t-8._.js +0 -3
  432. package/standalone/.next/server/chunks/[root-of-the-server]__1rzexif._.js +0 -3
  433. package/standalone/.next/server/chunks/[root-of-the-server]__1s_2-hp._.js +0 -3
  434. package/standalone/.next/server/chunks/[root-of-the-server]__1tl4gde._.js +0 -3
  435. package/standalone/.next/server/chunks/[root-of-the-server]__1u283f9._.js +0 -3
  436. package/standalone/.next/server/chunks/[root-of-the-server]__1uek0dm._.js +0 -3
  437. package/standalone/.next/server/chunks/[root-of-the-server]__1v1kr7z._.js +0 -3
  438. package/standalone/.next/server/chunks/[root-of-the-server]__1vhxr5_._.js +0 -3
  439. package/standalone/.next/server/chunks/[root-of-the-server]__1w36m17._.js +0 -3
  440. package/standalone/.next/server/chunks/[root-of-the-server]__1xws3pt._.js +0 -3
  441. package/standalone/.next/server/chunks/[root-of-the-server]__1z15fu5._.js +0 -3
  442. package/standalone/.next/server/chunks/[root-of-the-server]__20gqolc._.js +0 -3
  443. package/standalone/.next/server/chunks/[root-of-the-server]__20no38f._.js +0 -3
  444. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04beow0._.js +0 -3
  445. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b4pivw._.js +0 -6
  446. package/standalone/.next/server/chunks/ssr/_00pb_-u._.js +0 -3
  447. package/standalone/.next/server/chunks/ssr/_08ux-xx._.js +0 -35
  448. package/standalone/.next/server/chunks/ssr/_0_c2ksk._.js +0 -3
  449. package/standalone/.next/server/chunks/ssr/_0_nha02._.js +0 -3
  450. package/standalone/.next/server/chunks/ssr/_0bpm26t._.js +0 -3
  451. package/standalone/.next/server/chunks/ssr/_0e64d91._.js +0 -3
  452. package/standalone/.next/server/chunks/ssr/_0ho0wc7._.js +0 -3
  453. package/standalone/.next/server/chunks/ssr/_0jxepjk._.js +0 -3
  454. package/standalone/.next/server/chunks/ssr/_0l6y7z2._.js +0 -3
  455. package/standalone/.next/server/chunks/ssr/_0sdizo4._.js +0 -34
  456. package/standalone/.next/server/chunks/ssr/_0zg79hi._.js +0 -3
  457. package/standalone/.next/server/chunks/ssr/_11oshuh._.js +0 -3
  458. package/standalone/.next/server/chunks/ssr/_11z-hcq._.js +0 -34
  459. package/standalone/.next/server/chunks/ssr/_123h643._.js +0 -3
  460. package/standalone/.next/server/chunks/ssr/_1cc_dsb._.js +0 -34
  461. package/standalone/.next/server/chunks/ssr/_1mke0us._.js +0 -3
  462. package/standalone/.next/server/chunks/ssr/_1qy-wes._.js +0 -3
  463. package/standalone/.next/server/chunks/ssr/_1r4w1io._.js +0 -24
  464. package/standalone/.next/server/chunks/ssr/_1upie3e._.js +0 -3
  465. package/standalone/.next/server/chunks/ssr/_1vx9bqg._.js +0 -14
  466. package/standalone/.next/server/chunks/ssr/_1wmzpjb._.js +0 -3
  467. package/standalone/.next/server/chunks/ssr/node_modules_0blr8x6._.js +0 -3
  468. package/standalone/.next/server/chunks/ssr/node_modules_0ylkf4l._.js +0 -3
  469. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1n5j09z._.js +0 -3
  470. package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1_ugphm._.js +0 -3
  471. package/standalone/.next/server/chunks/ssr/src_components_ui_select_tsx_0m__-6s._.js +0 -3
  472. package/standalone/.next/static/chunks/06711eeflvyu7.js +0 -1
  473. package/standalone/.next/static/chunks/0c9r1f3che9mf.css +0 -1
  474. package/standalone/.next/static/chunks/0ddp859-x81j2.js +0 -1
  475. package/standalone/.next/static/chunks/0evao2rpxqreq.js +0 -80
  476. package/standalone/.next/static/chunks/0nt5uq75yrfm2.js +0 -13
  477. package/standalone/.next/static/chunks/0okpg2ejyn95o.js +0 -9
  478. package/standalone/.next/static/chunks/0udza_i0n8xhm.js +0 -36
  479. package/standalone/.next/static/chunks/0vtavvo7gx3rr.js +0 -33
  480. package/standalone/.next/static/chunks/0xybrwnbju35k.js +0 -41
  481. package/standalone/.next/static/chunks/0y-5_7jbnsr0m.js +0 -1
  482. package/standalone/.next/static/chunks/12qdfeyqgqh62.js +0 -1
  483. package/standalone/.next/static/chunks/193m8crej9xrt.js +0 -7
  484. package/standalone/.next/static/chunks/1nkkb5gu3-rhf.js +0 -28
  485. package/standalone/.next/static/chunks/1ny7skwqcfglg.js +0 -39
  486. package/standalone/.next/static/chunks/1qebx-2i3ao34.js +0 -28
  487. package/standalone/.next/static/chunks/1zt6tg-4jpdru.js +0 -1
  488. package/standalone/.next/static/chunks/2-5c1n7c9ncu0.js +0 -12
  489. package/standalone/.next/static/chunks/29axmq_boxoc_.js +0 -1
  490. package/standalone/.next/static/chunks/2giql1u6bn9gi.js +0 -33
  491. package/standalone/.next/static/chunks/2nco50dwradd6.js +0 -8
  492. package/standalone/.next/static/chunks/2nr9sxr9bqwin.js +0 -8
  493. package/standalone/.next/static/chunks/31_9e-uzmy7vp.js +0 -35
  494. package/standalone/.next/static/chunks/31t_wgps20fl1.js +0 -4
  495. package/standalone/.next/static/chunks/331lb29dcb1ta.js +0 -1
  496. package/standalone/.next/static/chunks/369biqq4fd0sk.js +0 -1
  497. package/standalone/.next/static/chunks/37dd1jthysw7j.js +0 -10
  498. package/standalone/.next/static/chunks/3apliool1acey.js +0 -155
  499. package/standalone/.next/static/chunks/3d95bb1fej1i5.js +0 -1
  500. package/standalone/.next/static/chunks/3eumqpi7f1fek.js +0 -30
  501. package/standalone/.next/static/chunks/3f1yh13gawn34.js +0 -1
  502. package/standalone/.next/static/chunks/3mtxpg0cke1s1.js +0 -9
  503. package/standalone/.next/static/chunks/3qovaml41zb61.js +0 -1
  504. package/standalone/.next/static/chunks/3vuv-wz2jb38o.js +0 -65
  505. package/standalone/.next/static/chunks/44sbqm3y2mvct.js +0 -1
  506. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_buildManifest.js +0 -0
  507. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_clientMiddlewareManifest.js +0 -0
  508. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_ssgManifest.js +0 -0
@@ -1,155 +0,0 @@
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)},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)},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},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),r=e.i(271645),a=e.i(30030);function s(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,a=e.map(e=>{let a=s(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():s(e[t],null)}}}}(...e),e)}var n=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,a.createContextScope)(l,[n.createDialogScope]),c=(0,n.createDialogScope)(),u=e=>{let{__scopeAlertDialog:r,...a}=e,s=c(r);return(0,t.jsx)(n.Root,{...s,...a,modal:!0})};u.displayName=l;var m=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...s}=e,i=c(a);return(0,t.jsx)(n.Trigger,{...i,...s,ref:r})});m.displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:r,...a}=e,s=c(r);return(0,t.jsx)(n.Portal,{...s,...a})};p.displayName="AlertDialogPortal";var h=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...s}=e,i=c(a);return(0,t.jsx)(n.Overlay,{...i,...s,ref:r})});h.displayName="AlertDialogOverlay";var g="AlertDialogContent",[x,f]=o(g),b=r.forwardRef((e,a)=>{let{__scopeAlertDialog:s,children:l,...o}=e,d=c(s),u=i(a,r.useRef(null)),m=r.useRef(null);return(0,t.jsx)(x,{scope:s,cancelRef:m,children:(0,t.jsx)(n.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});b.displayName=g;var j=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...s}=e,i=c(a);return(0,t.jsx)(n.Title,{...i,...s,ref:r})});j.displayName="AlertDialogTitle";var v=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...s}=e,i=c(a);return(0,t.jsx)(n.Description,{...i,...s,ref:r})});v.displayName="AlertDialogDescription";var y=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...s}=e,i=c(a);return(0,t.jsx)(n.Close,{...i,...s,ref:r})});y.displayName="AlertDialogAction";var w="AlertDialogCancel",k=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...s}=e,{cancelRef:l}=f(w,a),o=c(a),d=i(r,l);return(0,t.jsx)(n.Close,{...o,...s,ref:d})});k.displayName=w,e.s(["Action",0,y,"AlertDialog",0,u,"AlertDialogAction",0,y,"AlertDialogCancel",0,k,"AlertDialogContent",0,b,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,p,"AlertDialogTitle",0,j,"AlertDialogTrigger",0,m,"Cancel",0,k,"Content",0,b,"Description",0,v,"Overlay",0,h,"Portal",0,p,"Root",0,u,"Title",0,j,"Trigger",0,m,"createAlertDialogScope",0,d],691162);var R=e.i(691162),R=R,I=e.i(975157),S=e.i(519455);function C({...e}){return(0,t.jsx)(R.Root,{"data-slot":"alert-dialog",...e})}function N({...e}){return(0,t.jsx)(R.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function T({...e}){return(0,t.jsx)(R.Portal,{"data-slot":"alert-dialog-portal",...e})}function D({className:e,...r}){return(0,t.jsx)(R.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,I.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function E({className:e,size:r="default",...a}){return(0,t.jsxs)(T,{children:[(0,t.jsx)(D,{}),(0,t.jsx)(R.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,I.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),...a})]})}function A({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,I.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function $({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,I.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function L({className:e,...r}){return(0,t.jsx)(R.Title,{"data-slot":"alert-dialog-title",className:(0,I.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function B({className:e,...r}){return(0,t.jsx)(R.Description,{"data-slot":"alert-dialog-description",className:(0,I.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function _({className:e,variant:r="default",size:a="default",...s}){return(0,t.jsx)(S.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(R.Action,{"data-slot":"alert-dialog-action",className:(0,I.cn)(e),...s})})}function P({className:e,variant:r="outline",size:a="default",...s}){return(0,t.jsx)(S.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(R.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,I.cn)(e),...s})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:s,onOpenChange:i,open:n,title:l,trigger:o}){return(0,t.jsxs)(C,{onOpenChange:i,open:n,children:[o&&(0,t.jsx)(N,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(A,{children:[(0,t.jsx)(L,{children:l}),(0,t.jsx)(B,{children:a})]}),(0,t.jsxs)($,{children:[(0,t.jsx)(P,{children:r}),(0,t.jsx)(_,{onClick:()=>void s(),variant:"destructive",children:e})]})]})]})}],340953)},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,...s}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...s})}],987968)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let s=(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,...i}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(s({variant:r}),e),...i})},"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",...s}){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),...s})},"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})}])},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),s=e.i(975157);let i=(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:n=!1,...l}){let o=n?a.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,s.cn)(i({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...s}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...s})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let s=(0,r.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,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.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),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(s({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},808562,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030);function s(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 l(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 o=r[" use ".trim().toString()],d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var n;let d,c=(n=`Primitive.${a}`,(d=r.forwardRef((e,t)=>{var a;let d,c,{children:u,...m}=e,p=null,h=!1,g=[];l(u)&&"function"==typeof o&&(u=o(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){h=!0;let t="child"in e.props?e.props.child:e.props.children;l(t)&&"function"==typeof o&&(t=o(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),g.push(p?.props?.children)}else g.push(e)}),p?p=r.cloneElement(p,void 0,g):!h&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let x=p?(a=p,(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,f=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=s(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():s(e[t],null)}}}}(...e),e)}(t,x);if(!p){if(u||0===u){let e,t;throw Error(h?(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 u}let b=function(e,t){let r={...t};for(let a in t){let s=e[a],i=t[a];/^on[A-Z]/.test(a)?s&&i?r[a]=(...e)=>{let t=i(...e);return s(...e),t}:s&&(r[a]=s):"style"===a?r[a]={...s,...i}:"className"===a&&(r[a]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}(m,p.props??{});return p.type!==r.Fragment&&(b.ref=t?f:x),r.cloneElement(p,b)})).displayName=`${n}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:s,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(s?c:a,{...i,ref:r})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),c=e.i(842727);"u">typeof window&&window.document&&window.document.createElement;var u=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var m=r[" useInsertionEffect ".trim().toString()]||u;function p({prop:e,defaultProp:t,onChange:a=()=>{},caller:s}){let[i,n,l]=function({defaultProp:e,onChange:t}){let[a,s]=r.useState(e),i=r.useRef(a),n=r.useRef(t);return m(()=>{n.current=t},[t]),r.useEffect(()=>{i.current!==a&&(n.current?.(a),i.current=a)},[a,i]),[a,s,n]}({defaultProp:t,onChange:a}),o=void 0!==e,d=o?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==o){let t=o?"controlled":"uncontrolled";console.warn(`${s} 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=o},[o,s])}return[d,r.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else n(t)},[o,e,n,l])]}Symbol("RADIX:SYNC_STATE");var h="Toggle",g=r.forwardRef((e,r)=>{let{pressed:a,defaultPressed:s,onPressedChange:i,...n}=e,[l,o]=p({prop:a,onChange:i,defaultProp:s??!1,caller:h});return(0,t.jsx)(d.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...n,ref:r,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(e.onClick,()=>{e.disabled||o(!l)})})});g.displayName=h;var x=e.i(586318),f="ToggleGroup",[b,j]=(0,a.createContextScope)(f,[c.createRovingFocusGroupScope]),v=(0,c.createRovingFocusGroupScope)(),y=r.forwardRef((e,r)=>{let{type:a,...s}=e;if("single"===a)return(0,t.jsx)(R,{role:"radiogroup",...s,ref:r});if("multiple"===a)return(0,t.jsx)(I,{role:"toolbar",...s,ref:r});throw Error(`Missing prop \`type\` expected on \`${f}\``)});y.displayName=f;var[w,k]=b(f),R=r.forwardRef((e,a)=>{let{value:s,defaultValue:i,onValueChange:n=()=>{},...l}=e,[o,d]=p({prop:s,defaultProp:i??"",onChange:n,caller:f});return(0,t.jsx)(w,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>o?[o]:[],[o]),onItemActivate:d,onItemDeactivate:r.useCallback(()=>d(""),[d]),children:(0,t.jsx)(N,{...l,ref:a})})}),I=r.forwardRef((e,a)=>{let{value:s,defaultValue:i,onValueChange:n=()=>{},...l}=e,[o,d]=p({prop:s,defaultProp:i??[],onChange:n,caller:f}),c=r.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=r.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(w,{scope:e.__scopeToggleGroup,type:"multiple",value:o,onItemActivate:c,onItemDeactivate:u,children:(0,t.jsx)(N,{...l,ref:a})})});y.displayName=f;var[S,C]=b(f),N=r.forwardRef((e,r)=>{let{__scopeToggleGroup:a,disabled:s=!1,rovingFocus:i=!0,orientation:n,dir:l,loop:o=!0,...u}=e,m=v(a),p=(0,x.useDirection)(l),h={dir:p,...u};return(0,t.jsx)(S,{scope:a,rovingFocus:i,disabled:s,children:i?(0,t.jsx)(c.Root,{asChild:!0,...m,orientation:n,dir:p,loop:o,children:(0,t.jsx)(d.div,{...h,ref:r})}):(0,t.jsx)(d.div,{...h,ref:r})})}),T="ToggleGroupItem",D=r.forwardRef((e,a)=>{let s=k(T,e.__scopeToggleGroup),i=C(T,e.__scopeToggleGroup),n=v(e.__scopeToggleGroup),l=s.value.includes(e.value),o=i.disabled||e.disabled,d={...e,pressed:l,disabled:o},u=r.useRef(null);return i.rovingFocus?(0,t.jsx)(c.Item,{asChild:!0,...n,focusable:!o,active:l,ref:u,children:(0,t.jsx)(E,{...d,ref:a})}):(0,t.jsx)(E,{...d,ref:a})});D.displayName=T;var E=r.forwardRef((e,r)=>{let{__scopeToggleGroup:a,value:s,...i}=e,n=k(T,a),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},o="single"===n.type?l:void 0;return(0,t.jsx)(g,{...o,...i,ref:r,onPressedChange:e=>{e?n.onItemActivate(s):n.onItemDeactivate(s)}})});e.s(["Item",0,D,"Root",0,y,"ToggleGroup",0,y,"ToggleGroupItem",0,D,"createToggleGroupScope",0,j],459881);var A=e.i(459881),A=A,$=e.i(975157),L=e.i(225913);"u">typeof window&&window.document&&window.document.createElement;var B=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var _=r[" useInsertionEffect ".trim().toString()]||B;Symbol("RADIX:SYNC_STATE");var P=e.i(743556),O=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let s=(0,P.createSlot)(`Primitive.${a}`),i=r.forwardRef((e,r)=>{let{asChild:i,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?s:a,{...n,ref:r})});return i.displayName=`Primitive.${a}`,{...e,[a]:i}},{}),M="Toggle",U=r.forwardRef((e,a)=>{let{pressed:s,defaultPressed:i,onPressedChange:n,...l}=e,[o,d]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:s}){let[i,n,l]=function({defaultProp:e,onChange:t}){let[a,s]=r.useState(e),i=r.useRef(a),n=r.useRef(t);return _(()=>{n.current=t},[t]),r.useEffect(()=>{i.current!==a&&(n.current?.(a),i.current=a)},[a,i]),[a,s,n]}({defaultProp:t,onChange:a}),o=void 0!==e,d=o?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==o){let t=o?"controlled":"uncontrolled";console.warn(`${s} 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=o},[o,s])}return[d,r.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else n(t)},[o,e,n,l])]}({prop:s,onChange:n,defaultProp:i??!1,caller:M});return(0,t.jsx)(O.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:a,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(e.onClick,()=>{e.disabled||d(!o)})})});U.displayName=M,e.s(["Root",0,U,"Toggle",0,U],864225),e.i(864225);let z=(0,L.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] 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 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),W=r.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:r,size:a,spacing:s=2,orientation:i="horizontal",children:n,...l}){return(0,t.jsx)(A.Root,{"data-slot":"toggle-group","data-variant":r,"data-size":a,"data-spacing":s,"data-orientation":i,style:{"--gap":s},className:(0,$.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,t.jsx)(W.Provider,{value:{variant:r,size:a,spacing:s,orientation:i},children:n})})},"ToggleGroupItem",0,function({className:e,children:a,variant:s="default",size:i="default",...n}){let l=r.useContext(W);return(0,t.jsx)(A.Item,{"data-slot":"toggle-group-item","data-variant":l.variant||s,"data-size":l.size||i,"data-spacing":l.spacing,className:(0,$.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",z({variant:l.variant||s,size:l.size||i}),e),...n,children:a})}],808562)},566595,e=>{"use strict";var t=e.i(630299);e.s(["Search",()=>t.default])},635416,96892,e=>{"use strict";var t=e.i(456420);let r=(0,t.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);e.s(["ArrowDown",0,r],635416);let a=(0,t.default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,a],96892)},506184,e=>{"use strict";let t=(0,e.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"}]]);e.s(["Paintbrush",0,t],506184)},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)},21357,e=>{"use strict";let t=(0,e.i(456420).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",0,t],21357)},395925,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",0,t],395925)},90969,771777,866026,e=>{"use strict";e.s(["buildDuration",0,function(e,t=Date.now()){let r=e.durationMs??(e.startedAt&&null!==t&&["QUEUED","PREPARING","RUNNING"].includes(e.status)?t-Date.parse(e.startedAt):null);if(null===r||!Number.isFinite(r))return"—";let a=Math.max(0,Math.floor(r/1e3)),s=Math.floor(a/3600),i=Math.floor(a%3600/60),n=a%60;return s>0?`${s}h${i>0?` ${i}m`:""}`:i>0?`${i}m${n>0?` ${n}s`:""}`:`${n}s`},"buildSnapshotName",0,function(e){let t=e.snapshot.repository,r=e.snapshot.worktree;return{repository:t?.name??"—",worktree:r?.branch??r?.folder??"—"}},"buildStatusVariant",0,function(e){return"FAILED"===e?"destructive":"SUCCEEDED"===e?"success":"secondary"},"relativeBuildAge",0,function(e,t,r=Date.now()){if(null===r)return"—";let a=Math.round((Date.parse(e)-r)/1e3),s=new Intl.RelativeTimeFormat(t,{numeric:"auto"});for(let[e,t]of[["year",31536e3],["month",2592e3],["week",604800],["day",86400],["hour",3600],["minute",60]])if(Math.abs(a)>=t)return s.format(Math.round(a/t),e);return s.format(a,"second")}],90969);var t=e.i(843476),r=e.i(395925),a=e.i(948148),s=e.i(271645),i=e.i(519455),n=e.i(987968),l=e.i(462777),o=e.i(637611);e.s(["RebuildButton",0,function({buildId:e,onCompleted:d,onError:c,size:u="default"}){let m=(0,a.useTranslations)("builds"),[p,h]=(0,s.useState)(!1),g=async()=>{h(!0),c(null);try{let t=await (0,o.controlPlaneRequest)(`mutation RebuildBuild($id: ID!, $requestId: ID!) {
2
- rebuildBuild(id: $id, requestId: $requestId) { id status }
3
- }`,{id:e,requestId:(0,l.createClientId)()});await d?.(t.rebuildBuild)}catch(e){c(e instanceof Error?e.message:String(e))}finally{h(!1)}};return(0,t.jsxs)(i.Button,{disabled:p,onClick:e=>{e.stopPropagation(),g()},onKeyDown:e=>e.stopPropagation(),size:u,type:"button",variant:"outline",children:[p?(0,t.jsx)(n.Spinner,{}):(0,t.jsx)(r.RotateCcw,{})," ",m("rebuild")]})}],771777);var d=e.i(716327),c=e.i(21357),u=e.i(755146);e.s(["RunBuildControls",0,function({buildId:e,destinationType:r,preferredDestination:m,onCompleted:p,onError:h,size:g="default"}){let x=(0,a.useTranslations)("builds"),f=m?.generic?null:m??null,[b,j]=(0,s.useState)(f?[f]:[]),[v,y]=(0,s.useState)(f?new Set([f.id]):new Set),[w,k]=(0,s.useState)(!1),[R,I]=(0,s.useState)(!1),[S,C]=(0,s.useState)(!1),N=(0,s.useMemo)(()=>b.filter(e=>v.has(e.id)).map(e=>e.name),[b,v]),T=async()=>{I(!0),h(null);try{let t=(await (0,o.controlPlaneRequest)(`mutation BuildRunDestinations($buildId: ID!, $requestId: ID!) {
4
- inspectBuildRunDestinations(buildId: $buildId, requestId: $requestId)
5
- }`,{buildId:e,requestId:(0,l.createClientId)()})).inspectBuildRunDestinations.filter(e=>e.type===r&&!e.generic);j(t),y(e=>{let r=new Set(t.map(e=>e.id));return new Set([...e].filter(e=>r.has(e)))}),k(!0)}catch(e){h(e instanceof Error?e.message:String(e))}finally{I(!1)}},D=async()=>{C(!0),h(null);try{await (0,o.controlPlaneRequest)(`mutation RunCompletedBuild($input: RunBuildInput!) {
6
- runBuild(input: $input) { id status }
7
- }`,{input:{buildId:e,destinations:b.filter(e=>v.has(e.id)),requestId:(0,l.createClientId)()}}),y(new Set),await p?.()}catch(e){h(e instanceof Error?e.message:String(e))}finally{C(!1)}};return(0,t.jsxs)("div",{className:"flex items-center justify-end gap-2",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:[(0,t.jsxs)(u.DropdownMenu,{onOpenChange:e=>{e&&!w&&T()},children:[(0,t.jsx)(u.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(i.Button,{disabled:R,size:g,type:"button",variant:"outline",children:[R?(0,t.jsx)(n.Spinner,{}):(0,t.jsx)(c.Play,{}),N.length?x("selectedDevices",{count:N.length}):x("selectRunDevices"),(0,t.jsx)(d.ChevronDown,{})]})}),(0,t.jsxs)(u.DropdownMenuContent,{align:"end",className:"w-72",children:[b.map(e=>(0,t.jsxs)(u.DropdownMenuCheckboxItem,{checked:v.has(e.id),onCheckedChange:t=>y(r=>{let a=new Set(r);return t?a.add(e.id):a.delete(e.id),a}),children:[e.name,e.osVersion?` \xb7 ${e.osVersion}`:""]},e.id)),w&&!b.length&&(0,t.jsx)("p",{className:"p-2 text-xs text-muted-foreground",children:x("noCompatibleDevices")})]})]}),(0,t.jsxs)(i.Button,{disabled:S||0===v.size,onClick:()=>void D(),size:g,type:"button",children:[S?(0,t.jsx)(n.Spinner,{}):(0,t.jsx)(c.Play,{})," ",x("run")]})]})}],866026)},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,a=e.i(482022),s=e.i(269846);let i=(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 n=e.i(948148),l=e.i(271645),o=e.i(653090),d=e.i(278015),c=e.i(762279),u=e.i(456743),m=e.i(929592),p=e.i(487486),h=e.i(519455),g=e.i(515288),x=e.i(906197),f=e.i(980376),b=e.i(987968),j=e.i(520133),v=e.i(637611),y=e.i(741725),w=e.i(467511);let k={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 R(e){return e?new Date(e).toLocaleString():"—"}function I({ticket:e}){let r=(0,n.useTranslations)("jiraTickets"),a=[[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"),R(e.createdAt)],[r("updated"),R(e.updatedAt)],[r("due"),R(e.dueAt)],[r("resolved"),R(e.resolvedAt)]];return(0,t.jsx)("dl",{className:"grid gap-3 rounded-lg bg-muted/50 p-4 text-sm sm:grid-cols-2",children:a.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 S({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:R}){let C=(0,n.useTranslations)("jiraTickets"),[N,T]=(0,l.useState)(null),[D,E]=(0,l.useState)(null),[A,$]=(0,l.useState)(!1),[L,B]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(!e){let e=window.setTimeout(()=>T(null),0);return()=>window.clearTimeout(e)}let t=window.setTimeout(async()=>{$(!0);try{let t=await (0,v.controlPlaneRequest)(`query JiraTicket($issueKey: ID!) { jiraTicket(issueKey: $issueKey) { ${w.JIRA_TICKET_DETAIL_FIELDS} } }`,{issueKey:e});T(t.jiraTicket),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}finally{$(!1)}},0);return()=>window.clearTimeout(t)},[e]);let _=e=>{T(e),R?.(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Sheet,{onOpenChange:e=>{e||o()},open:!!e,children:(0,t.jsxs)(f.SheetContent,{className:"w-[min(48rem,95vw)] overflow-y-auto sm:max-w-3xl",children:[(0,t.jsxs)(f.SheetHeader,{className:"border-b pr-12",children:[(0,t.jsx)(f.SheetTitle,{children:N?.key??e??C("ticket")}),(0,t.jsx)(f.SheetDescription,{children:N?.summary??C("loadingTicket")})]}),(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-6",children:[A&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{}),C("loadingTicket")]}),D&&(0,t.jsx)(m.Alert,{variant:"destructive",children:(0,t.jsx)(m.AlertDescription,{children:D})}),N&&(0,t.jsxs)(t.Fragment,{children:[(N.cache.stale||N.commentsCache.stale)&&(0,t.jsxs)(m.Alert,{className:"border-amber-500/30 bg-amber-500/10",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)(m.AlertDescription,{children:C("staleTicket")})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(p.Badge,{children:N.status}),N.issueType&&(0,t.jsx)(p.Badge,{children:N.issueType}),N.priority&&(0,t.jsx)(p.Badge,{className:k[N.priority.trim().toLowerCase()],children:N.priority})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(h.Button,{onClick:()=>B(!0),size:"sm",variant:"outline",children:[(0,t.jsx)(s.GitBranch,{})," ",C("worktreeAction")]}),(0,t.jsx)(h.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)(j.Link,{href:`/jira/tickets/${encodeURIComponent(N.key)}`,children:[(0,t.jsx)(i,{})," ",C("openFullDetails")]})}),(0,t.jsx)(h.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{href:N.jiraUrl,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(a.ExternalLink,{})," ",C("openInJira")]})})]})]}),(0,t.jsx)(c.JiraTicketActions,{onTicketChange:_,ticket:N}),(0,t.jsx)(I,{ticket:N}),(0,t.jsx)("section",{children:(0,t.jsx)(g.Card,{size:"sm",children:(0,t.jsx)(g.CardContent,{children:(0,t.jsx)(d.JiraRichTextBlock,{content:N.descriptionContent,header:(0,t.jsx)("h3",{className:"font-semibold",children:C("descriptionTitle")}),headerClassName:"border-b pb-2",value:N.description})})})}),(N.labels.length>0||N.components.length>0||N.fixVersions.length>0||N.sprintNames.length>0)&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:C("classification")}),(0,t.jsxs)("dl",{className:"grid gap-3 text-sm sm:grid-cols-2",children:[N.labels.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:C("labels")}),(0,t.jsx)("dd",{className:"mt-1 flex flex-wrap gap-1",children:N.labels.map(e=>(0,t.jsx)(p.Badge,{children:e},e))})]}),N.components.length>0&&(0,t.jsx)(S,{label:C("components"),values:N.components.map(e=>e.name)}),N.fixVersions.length>0&&(0,t.jsx)(S,{label:C("fixVersions"),values:N.fixVersions.map(e=>e.name)}),N.sprintNames.length>0&&(0,t.jsx)(S,{label:C("sprints"),values:N.sprintNames})]})]}),(N.parent||N.subtasks.length>0||N.issueLinks.length>0)&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:C("relatedIssues")}),(0,t.jsx)(x.ItemGroup,{className:"gap-2",children:[...N.parent?[N.parent]:[],...N.subtasks,...N.issueLinks].map((e,r)=>(0,t.jsx)(x.Item,{asChild:!0,size:"xs",variant:"outline",children:(0,t.jsxs)(j.Link,{href:`/jira/tickets/${encodeURIComponent(e.key)}`,children:[(0,t.jsxs)(x.ItemContent,{children:[(0,t.jsxs)(x.ItemTitle,{className:"leading-tight",children:[e.key," · ",e.summary]}),(0,t.jsx)(x.ItemDescription,{className:"leading-tight",children:e.relationship})]}),(0,t.jsx)(x.ItemActions,{children:e.status&&(0,t.jsx)(p.Badge,{children:e.status})})]})},`${e.key}-${r}`))})]}),N.attachments.length>0&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:C("attachments")}),(0,t.jsx)(x.ItemGroup,{className:"gap-2",children:N.attachments.map(e=>(0,t.jsx)(x.Item,{asChild:!0,variant:"outline",children:(0,t.jsxs)("a",{href:e.contentUrl??"#",rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(x.ItemContent,{children:(0,t.jsx)(x.ItemTitle,{children:e.filename})}),(0,t.jsx)(x.ItemActions,{className:"text-xs text-muted-foreground",children:e.size?`${Math.round(e.size/1024)} KB`:""})]})},e.id))})]}),(0,t.jsx)(u.JiraTicketComments,{onTicketChange:_,ticket:N})]})]})]})}),N&&(0,t.jsx)(y.TicketWorktreeDialog,{issueKey:N.key,onOpenChange:B,open:L})]})}],356505)},647776,e=>{"use strict";var t=e.i(843476),r=e.i(716327),a=e.i(482022),s=e.i(395925),i=e.i(948148),n=e.i(271645),l=e.i(487486),o=e.i(519455),d=e.i(755146),c=e.i(987968),u=e.i(746798),m=e.i(637611);function p({pipeline:e,repositoryId:r,onPipelineRetried:a,onError:l}){let d=(0,i.useTranslations)("pullRequests"),[h,g]=(0,n.useState)(!1),x=async t=>{if(t.stopPropagation(),e.canRetry&&e.checkSuiteId){g(!0);try{let t=await (0,m.controlPlaneRequest)(`mutation RetryGitHubPipeline(
8
- $repositoryId: ID!
9
- $checkSuiteId: ID!
10
- ) {
11
- retryGitHubPipeline(
12
- repositoryId: $repositoryId
13
- checkSuiteId: $checkSuiteId
14
- ) { id name status url checkSuiteId canRetry retryUnavailableReason jobs { id name status url canRetry retryUnavailableReason steps { number name status } } }
15
- }`,{repositoryId:r,checkSuiteId:e.checkSuiteId});a?.(t.retryGitHubPipeline),l?.(null)}catch(e){l?.(e instanceof Error?e.message:String(e))}finally{g(!1)}}},f=(0,t.jsxs)(o.Button,{disabled:h||!e.canRetry||!e.checkSuiteId,onClick:e=>void x(e),size:"sm",variant:"outline",children:[h?(0,t.jsx)(c.Spinner,{}):(0,t.jsx)(s.RotateCcw,{}),d(h?"retrying":"retry")]});if(!e.retryUnavailableReason||h)return f;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:f})}),(0,t.jsx)(u.TooltipContent,{children:b})]})})}function h(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:s,repositoryId:c,onPipelineRetried:u}){let m=(0,i.useTranslations)("pullRequests"),[g,x]=(0,n.useState)(null),f=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 ${h(e)}`,onClick:f,variant:"outline",children:[m(`pipelineStates.${e}`),(0,t.jsx)(r.ChevronDown,{className:"size-3"})]})}),(0,t.jsxs)(d.DropdownMenuContent,{align:"end",className:"w-80",onClick:f,children:[(0,t.jsx)(d.DropdownMenuLabel,{children:m("pipelineMenuTitle")}),(0,t.jsx)(d.DropdownMenuSeparator,{}),g&&(0,t.jsx)("p",{className:"px-2 py-1.5 text-xs text-destructive",children:g}),0===s.length?(0,t.jsx)("p",{className:"px-2 py-3 text-sm text-muted-foreground",children:m("noPipelines")}):(0,t.jsx)("div",{className:"space-y-1 p-1",children:s.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)(a.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 ${h(e.status)}`,children:m(`pipelineStates.${e.status}`)})]}),e.checkSuiteId&&(0,t.jsx)(p,{onError:x,onPipelineRetried:u,pipeline:e,repositoryId:c})]},e.id))})]})]})},"pipelineStateClass",0,h])},346194,113030,e=>{"use strict";var t=e.i(843476);let r=(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,r],113030);var a=e.i(948148),s=e.i(271645),i=e.i(929592),n=e.i(519455),l=e.i(776639),o=e.i(793479),d=e.i(110204),c=e.i(967489),u=e.i(987968),m=e.i(624687),p=e.i(637611);let h="__github_account_default__";e.s(["MergePullRequestButton",0,function({pullRequest:e,onMerged:g,size:x="sm",variant:f="outline",open:b,onOpenChange:j,showTrigger:v=!0}){let y=(0,a.useTranslations)("pullRequests"),[w,k]=(0,s.useState)(!1),[R,I]=(0,s.useState)(null),[S,C]=(0,s.useState)(""),[N,T]=(0,s.useState)(""),[D,E]=(0,s.useState)(""),[A,$]=(0,s.useState)(h),[L,B]=(0,s.useState)(!1),[_,P]=(0,s.useState)(!1),[O,M]=(0,s.useState)(null),[U="",z=""]=e.repositoryNameWithOwner.split("/",2),W=b??w,G=e=>{e||(B(!1),I(null),M(null)),void 0===b&&k(e),j?.(e)};(0,s.useEffect)(()=>{if(!W)return;let t=!0,r=window.setTimeout(()=>{B(!0),I(null),M(null),(0,p.controlPlaneRequest)(`query GitHubPullRequestMergeOptions(
16
- $owner: String!
17
- $name: String!
18
- $number: Int!
19
- ) {
20
- githubPullRequestMergeOptions(
21
- owner: $owner
22
- name: $name
23
- number: $number
24
- ) {
25
- availableMethods
26
- commitEmails
27
- defaultCommitEmail
28
- defaultCommitHeadline
29
- defaultCommitBody
30
- canMerge
31
- blockedReason
32
- }
33
- }`,{owner:U,name:z,number:e.number}).then(e=>{if(!t)return;let r=e.githubPullRequestMergeOptions;I(r),C(r.availableMethods[0]??""),T(r.defaultCommitHeadline),E(r.defaultCommitBody),$(r.defaultCommitEmail??h)}).catch(e=>{t&&M(e instanceof Error?e.message:String(e))}).finally(()=>{t&&B(!1)})},0);return()=>{t=!1,window.clearTimeout(r)}},[z,W,U,e.number]);let H=async()=>{if(S&&R?.canMerge&&N.trim()){P(!0),M(null);try{let t=await (0,p.controlPlaneRequest)(`mutation MergeGitHubPullRequest(
34
- $input: MergeGitHubPullRequestInput!
35
- ) {
36
- mergeGitHubPullRequest(input: $input) {
37
- id state url mergedAt
38
- }
39
- }`,{input:{owner:U,name:z,number:e.number,method:S,commitHeadline:N,commitBody:D,authorEmail:A===h?null:A}});G(!1),await g?.(t.mergeGitHubPullRequest)}catch(e){M(e instanceof Error?e.message:String(e))}finally{P(!1)}}},q=R?.blockedReason??null;return(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsxs)(n.Button,{onClick:e=>{e.stopPropagation(),G(!0)},size:x,type:"button",variant:f,children:[(0,t.jsx)(r,{}),y("merge")]}),(0,t.jsx)(l.Dialog,{onOpenChange:e=>{_||G(e)},open:W,children:(0,t.jsxs)(l.DialogContent,{className:"sm:max-w-xl",children:[(0,t.jsxs)(l.DialogHeader,{children:[(0,t.jsx)(l.DialogTitle,{children:y("mergePullRequest")}),(0,t.jsx)(l.DialogDescription,{children:y("mergePullRequestDescription",{repository:e.repositoryNameWithOwner,number:e.number})})]}),!L&&(R||O)?(0,t.jsxs)("div",{className:"space-y-4",children:[(O||q)&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:O||q})}),R&&(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)(c.Select,{disabled:_||0===R.availableMethods.length,onValueChange:e=>C(e),value:S,children:[(0,t.jsx)(c.SelectTrigger,{id:"merge-method",children:(0,t.jsx)(c.SelectValue,{placeholder:y("selectMergeType")})}),(0,t.jsx)(c.SelectContent,{children:R.availableMethods.map(e=>(0,t.jsx)(c.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=>T(e.target.value),value:N})]}),(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:D})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.Label,{className:"mb-1.5 block",htmlFor:"merge-email",children:y("commitEmail")}),(0,t.jsxs)(c.Select,{disabled:_,onValueChange:$,value:A,children:[(0,t.jsx)(c.SelectTrigger,{id:"merge-email",children:(0,t.jsx)(c.SelectValue,{})}),(0,t.jsxs)(c.SelectContent,{children:[(0,t.jsx)(c.SelectItem,{value:h,children:y("githubDefaultEmail")}),R.commitEmails.map(e=>(0,t.jsx)(c.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)(u.Spinner,{})," ",y("loadingMergeOptions")]}),(0,t.jsxs)(l.DialogFooter,{children:[(0,t.jsx)(n.Button,{disabled:_,onClick:()=>G(!1),type:"button",variant:"outline",children:y("cancelMerge")}),(0,t.jsxs)(n.Button,{disabled:L||_||!R?.canMerge||!S||!N.trim(),onClick:()=>void H(),type:"button",children:[_?(0,t.jsx)(u.Spinner,{}):(0,t.jsx)(r,{}),_?y("merging"):y("mergePullRequest")]})]})]})})]})}],346194)},851817,e=>{"use strict";let t=(0,e.i(456420).default)("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);e.s(["Grid2X2",0,t],851817)},768877,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],768877)},434719,e=>{"use strict";let t=String.raw`\b([A-Z][A-Z0-9_]*-\d+)\b`;e.s(["DEFAULT_JIRA_BRANCH_REGEX",0,t,"DEFAULT_WORKTREE_FETCH_INTERVAL_SECONDS",0,300,"MAX_WORKTREE_FETCH_INTERVAL_SECONDS",0,86400,"MIN_WORKTREE_FETCH_INTERVAL_SECONDS",0,60,"WORKTREE_BRANCH_JOB_KIND",0,"worktree.branch","WORKTREE_DELETE_JOB_KIND",0,"worktree.delete","WORKTREE_INSPECT_JOB_KIND",0,"worktree.inspect","WORKTREE_MOVE_CHECKOUT_JOB_KIND",0,"worktree.move.checkout","WORKTREE_MOVE_PUSH_JOB_KIND",0,"worktree.move.push","WORKTREE_OPERATION_JOB_KIND",0,"worktree.operation","WORKTREE_WATCH_JOB_KIND",0,"worktree.watch"])},747047,111530,e=>{"use strict";let t=`
40
- id requestId jobId status action destinationType destination snapshot commandSummary artifactDirectory errorCode error outOfDate
41
- createdAt startedAt finishedAt durationMs updatedAt
42
- worktree { id highlightColor }
43
- artifacts { id kind relativePath sizeBytes checksum metadata createdAt }
44
- `;e.s(["BUILD_LIST_FIELDS",0,t],747047);var r=e.i(271645);e.s(["useBuildTimeTicker",0,function(){let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=()=>t(Date.now()),r=window.setTimeout(e,0),a=window.setInterval(e,1e3);return()=>{window.clearTimeout(r),window.clearInterval(a)}},[]),e}],111530)},994043,360583,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["DetailItem",0,function({label:e,children:a,mono:s=!1,className:i,...n}){return(0,t.jsxs)("div",{className:(0,r.cn)("min-w-0",i),...n,children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:(0,r.cn)("mt-0.5 text-sm tabular-nums",s&&"break-all font-mono"),children:a})]})},"DetailList",0,function({className:e,...a}){return(0,t.jsx)("dl",{className:(0,r.cn)("grid gap-3 text-sm",e),...a})}],994043),e.s(["formatDateTime",0,function(e,t){return t?new Intl.DateTimeFormat(e,{dateStyle:"medium",timeStyle:"short"}).format(new Date(t)):"—"}],360583)},9197,e=>{"use strict";var t=e.i(843476);let r=(0,e.i(456420).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);var a=e.i(515281),s=e.i(21357),i=e.i(395925),n=e.i(856522),l=e.i(573474),o=e.i(948148),d=e.i(271645),c=e.i(929592),u=e.i(487486),m=e.i(519455),p=e.i(59497),h=e.i(776639),g=e.i(793479),x=e.i(110204),f=e.i(967489),b=e.i(987968),j=e.i(808562),v=e.i(637611);let y=`
45
- id scope codebaseRepositoryId repositoryGithubId worktreeId branch pullRequestNumber
46
- allWorkflows mode retryLimit failureStrategy status enabled lastError createdAt updatedAt
47
- targets { id workflowId workflowRunId jobName }
48
- executions { id workflowRunId workflowId targetKey status observedAttempt automaticRetries lastStatus lastError updatedAt }
49
- `;e.s(["AutoRetryDialog",0,function({codebaseRepositoryId:e,repositoryGithubId:w,currentRuns:k=[],allowFuture:R=!1,worktreeId:I,branch:S,pullRequestNumber:C,repositoryMode:N=!1,trigger:T}){let D=(0,o.useTranslations)("githubAutomation"),[E,A]=(0,d.useState)(!1),[$,L]=(0,d.useState)(!0),[B,_]=(0,d.useState)(!1),[P,O]=(0,d.useState)(null),[M,U]=(0,d.useState)([]),[z,W]=(0,d.useState)(null),[G,H]=(0,d.useState)(!1),[q,F]=(0,d.useState)([]),[J,K]=(0,d.useState)(k),[V,Q]=(0,d.useState)(N),[X,Y]=(0,d.useState)(N),[Z,ee]=(0,d.useState)(new Set),[et,er]=(0,d.useState)("FAILURE"),[ea,es]=(0,d.useState)("3"),[ei,en]=(0,d.useState)(!1),[el,eo]=(0,d.useState)("FAILED_JOBS"),ed=(0,d.useRef)(k),ec=(0,d.useRef)(!1);(0,d.useEffect)(()=>{ed.current=k},[k]);let eu=(0,d.useCallback)(async()=>{let t=await (0,v.controlPlaneRequest)(`query GitHubAutoRetryRules($codebaseRepositoryId: ID) {
50
- githubSettings { tokenConfigured }
51
- githubAppSettings { configured actionsPermission }
52
- githubAutoRetryRules(codebaseRepositoryId: $codebaseRepositoryId) { ${y} }
53
- }`,{codebaseRepositoryId:e});U(t.githubAutoRetryRules),H(t.githubSettings.tokenConfigured&&t.githubAppSettings.configured&&"write"===t.githubAppSettings.actionsPermission)},[e]),em=(0,d.useCallback)(async()=>{F((await (0,v.controlPlaneRequest)(`query GitHubRepositoryWorkflows($codebaseRepositoryId: ID!) {
54
- githubRepositoryWorkflows(codebaseRepositoryId: $codebaseRepositoryId) {
55
- id name path state url jobNames
56
- }
57
- }`,{codebaseRepositoryId:e})).githubRepositoryWorkflows)},[e]),ep=(0,d.useCallback)(async()=>{ec.current||L(!0),O(null);try{await eu(),N&&await em();let t=await Promise.all(ed.current.map(async t=>{if(t.jobs?.length)return t;try{let r=await (0,v.controlPlaneRequest)(`query AutoRetryWorkflowJobs($repositoryId: ID!, $workflowRunId: ID!) {
58
- githubActionsWorkflowJobs(
59
- codebaseRepositoryId: $repositoryId
60
- workflowRunId: $workflowRunId
61
- ) { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }
62
- }`,{repositoryId:e,workflowRunId:t.id});return{...t,jobs:r.githubActionsWorkflowJobs}}catch{return t}}));K(t),N||ee(e=>e.size?e:new Set(t.map(e=>`workflow:${e.id}`)))}catch(e){O(e instanceof Error?e.message:String(e))}finally{ec.current=!0,L(!1)}},[e,em,eu,N]);(0,d.useEffect)(()=>{if(!E)return;let e=window.setTimeout(()=>void ep(),0),t=window.setInterval(()=>void eu().catch(()=>void 0),1e4);return()=>{window.clearTimeout(e),window.clearInterval(t)}},[ep,E,eu]);let eh=(0,d.useMemo)(()=>V?q.map(e=>({id:e.id,workflowId:e.id,name:e.name,jobNames:e.jobNames})):J.map(e=>({id:e.id,workflowId:e.workflowId,name:e.name,jobNames:e.jobs?.map(e=>e.name)??[]})),[V,J,q]),eg=(0,d.useMemo)(()=>{let e=new Set(J.map(e=>e.id));return M.filter(t=>"WORKFLOW_RUN"===t.scope?t.targets.some(t=>t.workflowRunId&&e.has(t.workflowRunId)):N?"REPOSITORY"===t.scope:C?"PULL_REQUEST"===t.scope&&t.pullRequestNumber===C:"WORKTREE_BRANCH"===t.scope&&t.worktreeId===I)},[J,C,N,M,I]),ex=async()=>{let t=ei&&"FAILURE"===et?null:Number(ea);if(null!==t&&(!Number.isInteger(t)||t<1||t>100))return void O(D("limitError"));let r=[];for(let e of eh){let t=`workflow:${e.id}`;if(Z.has(t)){r.push({workflowId:e.workflowId,workflowRunId:V?null:e.id,jobName:null});continue}for(let t of e.jobNames)Z.has(`job:${e.id}:${t}`)&&r.push({workflowId:e.workflowId,workflowRunId:V?null:e.id,jobName:t})}if(!X&&0===r.length)return void O(D("targetRequired"));let a=N?"REPOSITORY":V&&C?"PULL_REQUEST":V?"WORKTREE_BRANCH":"WORKFLOW_RUN";_(!0);try{await (0,v.controlPlaneRequest)(`mutation SaveGitHubAutoRetryRule($input: SaveGitHubAutoRetryRuleInput!) {
63
- saveGitHubAutoRetryRule(input: $input) { ${y} }
64
- }`,{input:{id:z,scope:a,codebaseRepositoryId:e,repositoryGithubId:w??null,worktreeId:V?I??null:null,branch:V?S??null:null,pullRequestNumber:V?C??null:null,allWorkflows:V&&X,mode:et,retryLimit:t,failureStrategy:el,targets:r}}),O(null),W(null),await eu()}catch(e){O(e instanceof Error?e.message:String(e))}finally{_(!1)}},ef=async e=>{try{await (0,v.controlPlaneRequest)(`mutation SetGitHubAutoRetryRuleEnabled($id: ID!, $enabled: Boolean!) {
65
- setGitHubAutoRetryRuleEnabled(id: $id, enabled: $enabled) { id enabled status }
66
- }`,{id:e.id,enabled:!e.enabled}),await eu()}catch(e){O(e instanceof Error?e.message:String(e))}},eb=async e=>{try{await (0,v.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await eu()}catch(e){O(e instanceof Error?e.message:String(e))}},ej=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===q.length){L(!0),O(null);try{await em()}catch(e){O(e instanceof Error?e.message:String(e));return}finally{L(!1)}}W(e.id),Q(t),Y(e.allWorkflows),er(e.mode),es(String(e.retryLimit??3)),en("FAILURE"===e.mode&&null===e.retryLimit),eo(e.failureStrategy),ee(new Set(e.targets.map(e=>{let r=t?e.workflowId:e.workflowRunId;return e.jobName?`job:${r}:${e.jobName}`:`workflow:${r}`})))};return(0,t.jsxs)(h.Dialog,{onOpenChange:A,open:E,children:[(0,t.jsx)(h.DialogTrigger,{asChild:!0,children:T??(0,t.jsxs)(m.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(i.RotateCcw,{})," ",D("autoRetry")]})}),(0,t.jsxs)(h.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(h.DialogHeader,{children:[(0,t.jsx)(h.DialogTitle,{children:D("title")}),(0,t.jsx)(h.DialogDescription,{children:D("description")})]}),P?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:P})}):null,$?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",D("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[G?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:D("credentialsRequired")})}),R&&!N?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:D("scope")}),(0,t.jsxs)(j.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;Q(t),Y(t),t&&0===q.length&&em().catch(e=>O(e instanceof Error?e.message:String(e))),ee(t?new Set:new Set(J.map(e=>`workflow:${e.id}`)))},type:"single",value:V?"future":"current",variant:"outline",children:[(0,t.jsx)(j.ToggleGroupItem,{value:"current",children:D("currentRuns")}),(0,t.jsx)(j.ToggleGroupItem,{value:"future",children:D("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:D("targets")}),V?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(p.Checkbox,{checked:X,onCheckedChange:e=>Y(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:D("allWorkflows")})]}):null,X?null:(0,t.jsxs)("div",{className:"max-h-64 space-y-2 overflow-y-auto rounded-md border p-2",children:[eh.map(e=>(0,t.jsxs)("div",{className:"rounded-md border p-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(p.Checkbox,{checked:Z.has(`workflow:${e.id}`),onCheckedChange:t=>{var r,a;return r=e.id,a=!0===t,void ee(e=>{let t=new Set(e),s=`workflow:${r}`;if(a)for(let e of(t.add(s),t))e.startsWith(`job:${r}:`)&&t.delete(e);else t.delete(s);return t})}}),e.name]}),e.jobNames.length?(0,t.jsx)("div",{className:"ml-6 mt-2 space-y-1",children:e.jobNames.map(r=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(p.Checkbox,{checked:Z.has(`job:${e.id}:${r}`),onCheckedChange:t=>{var a,s;return a=e.id,s=!0===t,void ee(e=>{let t=new Set(e);t.delete(`workflow:${a}`);let i=`job:${a}:${r}`;return s?t.add(i):t.delete(i),t})}}),r]},r))}):null]},e.id)),eh.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:D("noWorkflows")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:D("mode")}),(0,t.jsxs)(f.Select,{value:et,onValueChange:e=>er(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILURE",children:D("failureMode")}),(0,t.jsx)(f.SelectItem,{value:"COUNT",children:D("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{htmlFor:"auto-retry-limit",children:D("retryLimit")}),(0,t.jsx)(g.Input,{disabled:"FAILURE"===et&&ei,id:"auto-retry-limit",max:100,min:1,onChange:e=>es(e.target.value),type:"number",value:ea}),"FAILURE"===et?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(p.Checkbox,{checked:ei,onCheckedChange:e=>en(!0===e)}),D("unlimited")]}):null]})]}),"FAILURE"===et?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:D("failureStrategy")}),(0,t.jsxs)(f.Select,{value:el,onValueChange:e=>eo(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILED_JOBS",children:D("failedJobs")}),(0,t.jsx)(f.SelectItem,{value:"ALL_JOBS",children:D("allJobs")})]})]})]}):null,eg.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(x.Label,{children:D("savedRules")}),eg.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(u.Badge,{variant:e.enabled?"default":"secondary",children:D(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:D(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:D("ruleProgress",{retries:e.executions.reduce((e,t)=>e+t.automaticRetries,0),executions:e.executions.length})}),e.lastError?(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.lastError}):null]}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(m.Button,{"aria-label":D("edit"),onClick:()=>void ej(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(a.Pencil,{})}),(0,t.jsx)(m.Button,{"aria-label":e.enabled?D("pause"):D("resume"),onClick:()=>void ef(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(r,{}):(0,t.jsx)(s.Play,{})}),(0,t.jsx)(m.Button,{"aria-label":D("delete"),onClick:()=>void eb(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(l.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(h.DialogFooter,{children:[(0,t.jsx)(m.Button,{onClick:()=>A(!1),variant:"outline",children:D("close")}),(0,t.jsxs)(m.Button,{disabled:$||B||!G,onClick:()=>void ex(),children:[B?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(n.Save,{})," ",D("save")]})]})]})]})}],9197)},321194,567153,e=>{"use strict";var t=e.i(843476),r=e.i(861745),a=e.i(948148),s=e.i(271645),i=e.i(647776),n=e.i(799676),l=e.i(487486),o=e.i(987968),d=e.i(967489),c=e.i(637611);e.s(["WorkflowAttemptSelect",0,function({repositoryId:e,workflowRunId:u,latestAttempt:m,onAttemptChange:p}){let h=(0,a.useTranslations)("githubAutomation"),g=(0,a.useTranslations)("pullRequests"),x=(0,r.useLocale)(),[f,b]=(0,s.useState)("latest"),[j,v]=(0,s.useState)(!1),[y,w]=(0,s.useState)(!1),[k,R]=(0,s.useState)(null),[I,S]=(0,s.useState)({}),C=(0,s.useRef)({}),N=(0,s.useRef)({}),T=(0,s.useRef)({}),D=(0,s.useRef)({});if(m<=1)return null;let E=(t,r)=>{let a=r?N:C,s=r?D:T,i=a.current[t];if(i)return Promise.resolve(i);let n=s.current[t];if(n)return n;let l=(0,c.controlPlaneRequest)(`query GitHubActionsWorkflowRunAttempt(
67
- $repositoryId: ID!
68
- $workflowRunId: ID!
69
- $attempt: Int!
70
- ) {
71
- githubActionsWorkflowRunAttempt(
72
- repositoryId: $repositoryId
73
- workflowRunId: $workflowRunId
74
- attempt: $attempt
75
- ) {
76
- workflowRunId runAttempt status url triggeringActor { login avatarUrl url } startedAt createdAt updatedAt
77
- ${r?"jobs { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }":""}
78
- }
79
- }`,{repositoryId:e,workflowRunId:u,attempt:t}).then(e=>{let s=e.githubActionsWorkflowRunAttempt;return a.current[t]=s,C.current[t]=s,r&&(N.current[t]=s),S(e=>({...e,[t]:s})),s});return s.current[t]=l,l.then(()=>delete s.current[t],()=>delete s.current[t]),l},A=async()=>{if(Array.from({length:m},(e,t)=>t+1).every(e=>C.current[e]))return;w(!0),R(null);let e=(await Promise.allSettled(Array.from({length:m},(e,t)=>E(m-t,!1)))).find(e=>"rejected"===e.status);e&&R(e.reason instanceof Error?e.reason.message:String(e.reason)),w(!1)},$=async e=>{if(b(e),R(null),"latest"===e)return void p(null);let t=Number(e);v(!0);try{p(await E(t,!0))}catch(e){R(e instanceof Error?e.message:String(e)),b("latest"),p(null)}finally{v(!1)}};return(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)(d.Select,{disabled:j,onOpenChange:e=>{e&&A()},onValueChange:e=>void $(e),value:f,children:[(0,t.jsxs)(d.SelectTrigger,{"aria-label":h("attemptSelector"),className:"h-8 w-48",children:[j?(0,t.jsx)(o.Spinner,{}):null,(0,t.jsx)(d.SelectValue,{children:"latest"===f?h("latestAttempt",{attempt:m}):h("attempt",{attempt:Number(f)})})]}),(0,t.jsx)(d.SelectContent,{align:"start",className:"w-80",position:"popper",children:Array.from({length:m},(e,t)=>m-t).map(e=>{var r;let a,s=I[e],c=s?.triggeringActor;return(0,t.jsx)(d.SelectItem,{className:"py-2",textValue:h("attempt",{attempt:e}),value:e===m?"latest":String(e),children:(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col items-start gap-1",children:[(0,t.jsxs)("span",{className:"flex w-full items-center gap-2",children:[(0,t.jsx)("span",{className:"font-medium",children:e===m?h("latestAttempt",{attempt:e}):h("attempt",{attempt:e})}),s?(0,t.jsx)(l.Badge,{className:(0,i.pipelineStateClass)(s.status),children:g(`pipelineStates.${s.status}`)}):y?(0,t.jsx)(o.Spinner,{className:"ml-auto"}):null]}),s?(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:(r=s.startedAt,Number.isFinite((a=new Date(r)).getTime())?new Intl.DateTimeFormat(x,{dateStyle:"medium",timeStyle:"short"}).format(a):r)}):null,c?(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground",children:[(0,t.jsxs)(n.Avatar,{className:"size-4",children:[(0,t.jsx)(n.AvatarImage,{alt:"",src:c.avatarUrl}),(0,t.jsx)(n.AvatarFallback,{children:c.login.slice(0,1).toUpperCase()})]}),(0,t.jsx)("span",{className:"min-w-0 truncate",children:h("attemptStartedBy",{actor:c.login})})]}):null]})},e)})})]}),k?(0,t.jsx)("p",{className:"text-xs text-destructive",children:k}):null]})}],321194);var u=e.i(456420);let m=(0,u.default)("ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]),p=(0,u.default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);var h=e.i(482022),g=e.i(269846),x=e.i(882505),f=e.i(648119),b=e.i(395925),j=e.i(340953),v=e.i(9197),y=e.i(519455),w=e.i(755146),k=e.i(520133),R=e.i(940276);let I=new Set(["ACTION_REQUIRED","EXPECTED","IN_PROGRESS","PENDING","QUEUED"]);e.s(["WorkflowRunActionsMenu",0,function({run:e,jobs:r=[],includeAutoRetry:i=!1,includeWorktree:n=!1,onCancelled:l,onRetried:d,onError:u,viewAllHref:S}){let C=(0,a.useTranslations)("actionsPage"),N=(0,a.useTranslations)("pullRequestDetail"),T=(0,a.useTranslations)("pullRequests"),[D,E]=(0,s.useState)(!1),[A,$]=(0,s.useState)(null),[L,B]=(0,s.useState)(!1),_=async()=>{if(e.canRetry&&e.checkSuiteId){E(!0);try{await (0,c.controlPlaneRequest)(`mutation RetryGitHubPipeline(
80
- $repositoryId: ID!
81
- $checkSuiteId: ID!
82
- ) {
83
- retryGitHubPipeline(
84
- repositoryId: $repositoryId
85
- checkSuiteId: $checkSuiteId
86
- ) { id }
87
- }`,{repositoryId:e.repositoryGithubId,checkSuiteId:e.checkSuiteId}),d(),u(null)}catch(e){u(e instanceof Error?e.message:String(e))}finally{E(!1)}}},P=async t=>{if(e.codebaseRepositoryId&&I.has(e.status)&&!A){$(t?"force":"cancel");try{await (0,c.controlPlaneRequest)(`mutation CancelGitHubActionsWorkflowRun(
88
- $codebaseRepositoryId: ID!
89
- $workflowRunId: ID!
90
- $force: Boolean!
91
- ) {
92
- cancelGitHubActionsWorkflowRun(
93
- codebaseRepositoryId: $codebaseRepositoryId
94
- workflowRunId: $workflowRunId
95
- force: $force
96
- )
97
- }`,{codebaseRepositoryId:e.codebaseRepositoryId,workflowRunId:e.id,force:t}),l(),u(null)}catch(e){u(e instanceof Error?e.message:String(e))}finally{$(null)}}},O=e.retryUnavailableReason?T(`retryUnavailable.${e.retryUnavailableReason}`):void 0,M=!!e.codebaseRepositoryId&&I.has(e.status);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w.DropdownMenu,{children:[(0,t.jsx)(w.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(y.Button,{"aria-label":`${C("actions")}: ${e.displayTitle}`,size:"icon-sm",variant:"outline",children:(0,t.jsx)(f.MoreHorizontal,{})})}),(0,t.jsxs)(w.DropdownMenuContent,{align:"end",className:"w-44",children:[e.url?(0,t.jsx)(w.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(h.ExternalLink,{}),C("view")]})}):(0,t.jsxs)(w.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(h.ExternalLink,{}),C("view")]}),S?(0,t.jsx)(w.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(k.Link,{href:S,children:[(0,t.jsx)(x.List,{}),N("viewAll")]})}):null,n?e.worktreeId?(0,t.jsx)(w.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(k.Link,{href:(0,R.worktreeDetailHref)(e.worktreeId),children:[(0,t.jsx)(g.GitBranch,{}),C("worktree")]})}):(0,t.jsxs)(w.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(g.GitBranch,{}),C("worktree")]}):null,(0,t.jsx)(w.DropdownMenuSeparator,{}),(0,t.jsxs)(w.DropdownMenuItem,{disabled:!!A||!M,onSelect:()=>void P(!1),children:["cancel"===A?(0,t.jsx)(o.Spinner,{}):(0,t.jsx)(p,{}),C("cancel"===A?"cancelling":"cancel")]}),(0,t.jsxs)(w.DropdownMenuItem,{disabled:!!A||!M,onSelect:()=>B(!0),variant:"destructive",children:["force"===A?(0,t.jsx)(o.Spinner,{}):(0,t.jsx)(m,{}),C("force"===A?"forceCancelling":"forceCancel")]}),(0,t.jsx)(w.DropdownMenuSeparator,{}),(0,t.jsxs)(w.DropdownMenuItem,{disabled:D||!e.canRetry||!e.checkSuiteId,onSelect:()=>void _(),title:O,children:[D?(0,t.jsx)(o.Spinner,{}):(0,t.jsx)(b.RotateCcw,{}),T(D?"retrying":"retry")]}),i&&e.codebaseRepositoryId?(0,t.jsx)(v.AutoRetryDialog,{codebaseRepositoryId:e.codebaseRepositoryId,currentRuns:[{id:e.id,workflowId:e.workflowId,name:e.name,jobs:r}],repositoryGithubId:e.repositoryGithubId,trigger:(0,t.jsxs)(w.DropdownMenuItem,{onSelect:e=>e.preventDefault(),children:[(0,t.jsx)(b.RotateCcw,{}),C("autoRetry")]})}):null]})]}),(0,t.jsx)(j.ConfirmationDialog,{actionLabel:C("forceCancel"),cancelLabel:C("keepRunning"),description:C("forceCancelDescription"),onConfirm:()=>P(!0),onOpenChange:B,open:L,title:C("forceCancelTitle")})]})},"actionsForBranchHref",0,function(e,t,r){let a=new URLSearchParams({repository:e,branch:t});return r&&a.set("pipeline",r),`/actions?${a.toString()}`}],567153)},975856,e=>{"use strict";var t=e.i(843476),r=e.i(716327),a=e.i(867927),s=e.i(482022),i=e.i(395925),n=e.i(948148),l=e.i(271645),o=e.i(647776),d=e.i(487486),c=e.i(519455),u=e.i(987968),m=e.i(637611);function p({job:e,repositoryId:r,checkSuiteId:a,onRetried:s,onError:o}){let d=(0,n.useTranslations)("pullRequestDetail"),h=(0,n.useTranslations)("pullRequests"),[g,x]=(0,l.useState)(!1),f=async t=>{if(t.stopPropagation(),e.canRetry&&a){x(!0);try{await (0,m.controlPlaneRequest)(`mutation RetryGitHubWorkflowJob(
98
- $repositoryId: ID!
99
- $checkSuiteId: ID!
100
- $jobId: ID!
101
- ) {
102
- retryGitHubWorkflowJob(
103
- repositoryId: $repositoryId
104
- checkSuiteId: $checkSuiteId
105
- jobId: $jobId
106
- )
107
- }`,{repositoryId:r,checkSuiteId:a,jobId:e.id}),s(),o(null)}catch(e){o(e instanceof Error?e.message:String(e))}finally{x(!1)}}},b=e.retryUnavailableReason?h(`retryUnavailable.${e.retryUnavailableReason}`):void 0;return(0,t.jsxs)(c.Button,{"aria-label":d("retryJob",{job:e.name}),disabled:g||!e.canRetry||!a,onClick:e=>void f(e),size:"sm",title:b,variant:"outline",children:[g?(0,t.jsx)(u.Spinner,{}):(0,t.jsx)(i.RotateCcw,{}),h(g?"retrying":"retry")]})}e.s(["WorkflowJob",0,function({job:e,repositoryId:i,checkSuiteId:u,onRetried:m,onError:h}){let g=(0,n.useTranslations)("pullRequestDetail"),x=(0,n.useTranslations)("pullRequests"),[f,b]=(0,l.useState)(!1);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1.5",children:[(0,t.jsxs)("button",{"aria-expanded":f,"aria-label":g(f?"hideJobSteps":"showJobSteps",{job:e.name}),className:"flex min-w-0 flex-1 items-center gap-2 rounded-md px-2 py-2 text-left hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:()=>b(e=>!e),type:"button",children:[f?(0,t.jsx)(r.ChevronDown,{className:"size-4 shrink-0"}):(0,t.jsx)(a.ChevronRight,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-sm font-medium",children:e.name}),(0,t.jsx)(d.Badge,{className:(0,o.pipelineStateClass)(e.status),children:x(`pipelineStates.${e.status}`)})]}),e.url&&(0,t.jsx)(c.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{"aria-label":g("viewJob",{job:e.name}),href:e.url,rel:"noreferrer",target:"_blank",children:[g("viewPipeline"),(0,t.jsx)(s.ExternalLink,{})]})}),(0,t.jsx)(p,{checkSuiteId:u,job:e,onError:h,onRetried:m,repositoryId:i})]}),f&&(0,t.jsxs)("div",{className:"mb-3 w-full rounded-md border bg-background p-3",children:[(0,t.jsx)("p",{className:"mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:g("steps")}),0===e.steps.length?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:g("noSteps")}):(0,t.jsx)("ol",{className:"space-y-2",children:e.steps.map(e=>(0,t.jsxs)("li",{className:"flex items-center gap-3 text-sm",children:[(0,t.jsx)("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-muted text-[11px] text-muted-foreground",children:e.number}),(0,t.jsx)("span",{className:"min-w-0 flex-1",children:e.name}),(0,t.jsx)(d.Badge,{className:(0,o.pipelineStateClass)(e.status),children:x(`pipelineStates.${e.status}`)})]},e.number))})]})]})}])},547,e=>{"use strict";var t=e.i(843476),r=e.i(434719),a=e.i(711241),s=e.i(269846),i=e.i(741120),n=e.i(861745),l=e.i(948148),o=e.i(271645),d=e.i(778434),c=e.i(90969),u=e.i(747047),m=e.i(771777),p=e.i(866026),h=e.i(448295),g=e.i(111530),x=e.i(9197),f=e.i(647776),b=e.i(321194),j=e.i(975856),v=e.i(567153),y=e.i(929592),w=e.i(487486),k=e.i(519455),R=e.i(515288),I=e.i(784774),S=e.i(520133),C=e.i(637611);let N=new Set(["CANCELLED","ERROR","FAILURE","STALE","STARTUP_FAILURE","TIMED_OUT"]),T=new Set(["ACTION_REQUIRED","EXPECTED","IN_PROGRESS","PENDING","QUEUED"]);function D({runs:e,error:r,worktreeId:a,branch:s,onCancelled:i,onError:n,onRetried:d}){let c=(0,l.useTranslations)("pullRequestDetail"),u=(0,l.useTranslations)("pullRequests"),[m,p]=(0,o.useState)({}),[h,g]=(0,o.useState)({});(0,o.useEffect)(()=>{let t=!1;return Promise.all(e.map(async e=>{try{let t=await (0,C.controlPlaneRequest)(`query WorktreePipelineJobs($repositoryId: ID!, $workflowRunId: ID!) {
108
- githubActionsWorkflowJobs(
109
- codebaseRepositoryId: $repositoryId
110
- workflowRunId: $workflowRunId
111
- ) { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }
112
- }`,{repositoryId:e.codebaseRepositoryId,workflowRunId:e.id});return[e.id,t.githubActionsWorkflowJobs]}catch{return[e.id,[]]}})).then(e=>{t||p(Object.fromEntries(e))}),()=>{t=!0}},[e]);let E=(0,o.useMemo)(()=>e.map(e=>{var t;return t=m[e.id]??[],{id:e.id,name:e.name,status:e.status,url:e.url,checkSuiteId:e.checkSuiteId,canRetry:e.canRetry,retryUnavailableReason:e.retryUnavailableReason,jobs:t,workflowRunId:e.id,workflowId:e.workflowId,runNumber:e.runNumber,runAttempt:e.runAttempt}}),[m,e]);return e.length||r?(0,t.jsxs)(R.Card,{className:"min-w-0 gap-0 py-0",children:[(0,t.jsxs)(R.CardHeader,{className:"flex grid-cols-none flex-row items-center justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(R.CardTitle,{children:c("pipelines")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:c("pipelineCount",{count:e.length})})]}),e.length?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[s?(0,t.jsx)(k.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(S.Link,{href:(0,v.actionsForBranchHref)(e[0].codebaseRepositoryId,s),children:c("viewAll")})}):null,(0,t.jsx)(x.AutoRetryDialog,{allowFuture:!!s,branch:s,codebaseRepositoryId:e[0].codebaseRepositoryId,currentRuns:e.map(e=>({id:e.id,workflowId:e.workflowId,name:e.name,jobs:m[e.id]})),repositoryGithubId:e[0].repositoryGithubId,worktreeId:a}),(0,t.jsx)(f.PipelineMenu,{pipelineStatus:e.some(e=>N.has(e.status))?"FAILURE":e.some(e=>T.has(e.status))?"PENDING":e.length&&e.every(e=>"SUCCESS"===e.status)?"SUCCESS":"NONE",pipelines:E,repositoryId:e[0].repositoryGithubId})]}):null]}),(0,t.jsxs)(R.CardContent,{className:"px-0",children:[r?(0,t.jsx)(y.Alert,{className:"m-4",variant:"destructive",children:(0,t.jsx)(y.AlertDescription,{children:r})}):null,e.length?(0,t.jsxs)(I.Table,{children:[(0,t.jsx)(I.TableHeader,{children:(0,t.jsxs)(I.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(I.TableHead,{children:c("pipelineName")}),(0,t.jsx)(I.TableHead,{children:c("pipelineStatus")}),(0,t.jsx)(I.TableHead,{className:"text-right",children:c("pipelineDetails")})]})}),(0,t.jsx)(I.TableBody,{children:e.map(e=>{let r=h[e.id]??null,a=r?.jobs??m[e.id]??[];return(0,t.jsxs)(o.Fragment,{children:[(0,t.jsxs)(I.TableRow,{children:[(0,t.jsxs)(I.TableCell,{className:"font-medium",children:[e.name,(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(b.WorkflowAttemptSelect,{latestAttempt:e.runAttempt,onAttemptChange:t=>g(r=>({...r,[e.id]:t})),repositoryId:e.codebaseRepositoryId,workflowRunId:e.id})})]}),(0,t.jsx)(I.TableCell,{children:(0,t.jsx)(w.Badge,{className:(0,f.pipelineStateClass)(r?.status??e.status),children:u(`pipelineStates.${r?.status??e.status}`)})}),(0,t.jsx)(I.TableCell,{children:(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(v.WorkflowRunActionsMenu,{onCancelled:()=>i(e.id),onError:n,onRetried:()=>d(e.id),run:r?{...e,status:r.status,url:r.url,checkSuiteId:null,canRetry:!1}:e,viewAllHref:s?(0,v.actionsForBranchHref)(e.codebaseRepositoryId,s,e.workflowId):null})})})]}),(0,t.jsx)(I.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:(0,t.jsx)(I.TableCell,{className:"p-0",colSpan:3,children:(0,t.jsxs)("div",{className:"border-l-2 border-muted-foreground/20 px-4 py-1",children:[(0,t.jsx)("p",{className:"px-3 py-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:c("jobCount",{count:a.length})}),0===a.length?(0,t.jsx)("p",{className:"px-3 pb-3 text-sm text-muted-foreground",children:c("noJobs")}):(0,t.jsx)("div",{className:"divide-y",children:a.map(r=>(0,t.jsx)(j.WorkflowJob,{checkSuiteId:e.checkSuiteId,job:r,onError:n,onRetried:()=>{var t,a;return t=e.id,a=r.id,void p(e=>({...e,[t]:(e[t]??[]).map(e=>e.id===a?{...e,status:"QUEUED",canRetry:!1,retryUnavailableReason:"NOT_COMPLETED",steps:[]}:{...e,canRetry:!1,retryUnavailableReason:"NOT_COMPLETED"})}))},repositoryId:e.repositoryGithubId},r.id))})]})})})]},e.id)})})]}):null]})]}):null}var E=e.i(356505),A=e.i(994043),$=e.i(82612),L=e.i(987968),B=e.i(360583),_=e.i(975157),P=e.i(171502),O=e.i(942230),M=e.i(455329),U=e.i(756283),z=e.i(940276),W=e.i(267572);let G=`query WorktreeDetailOverview($worktreeId: ID!) {
113
- worktreeOverview {
114
- hiddenCount
115
- settings { editorVariant updatedAt }
116
- tags { id name color createdAt updatedAt }
117
- activeMoves {
118
- id sourceWorktreeId sourceCodebaseId targetCodebaseId targetWorktreeId destinationMode
119
- branch headSha deleteSource status sourceJobId targetJobId cleanupJobId error warning
120
- createdAt updatedAt finishedAt
121
- }
122
- agents {
123
- agent { ${d.AGENT_FIELDS} }
124
- codebases {
125
- iosBuildConfigured
126
- repository { id canonicalOrigin displayOrigin name description jiraBranchRegex keepBaseBranchUpToDate createdAt updatedAt }
127
- codebase { ${M.CODEBASE_FIELDS} }
128
- worktrees { ${M.WORKTREE_FIELDS} }
129
- }
130
- }
131
- }
132
- builds(first: 50, worktreeId: $worktreeId) {
133
- items { ${u.BUILD_LIST_FIELDS} }
134
- nextCursor
135
- }
136
- worktreeCoverageReports(worktreeId: $worktreeId) {
137
- id kind source status summary error createdAt updatedAt finishedAt
138
- artifact { id kind relativePath sizeBytes checksum metadata createdAt }
139
- build {
140
- id status action destinationType destination snapshot createdAt startedAt finishedAt durationMs updatedAt outOfDate
141
- artifacts { id kind relativePath sizeBytes checksum metadata createdAt }
142
- }
143
- }
144
- }`;function H({builds:e,coverageReports:s,buildsLoadingMore:d,buildsNextCursor:c,entry:u,overview:m,pipelines:p,pipelinesError:h,loadError:g,onLoadMoreBuilds:x,onPipelineCancelled:f,onPipelineRetried:b,onReload:j,onUpdate:v}){let I=(0,l.useTranslations)("worktreeDetail"),N=(0,l.useTranslations)("worktrees"),T=(0,n.useLocale)(),$=(0,S.useRouter)(),[M,G]=(0,o.useState)(()=>new URLSearchParams(window.location.search).get("issue")),[F,K]=(0,o.useState)(null),[V,Q]=(0,o.useState)(!1),[X,Y]=(0,o.useState)(!1),[Z,ee]=(0,o.useState)(!1),[et,er]=(0,o.useState)(null),ea=(0,o.useRef)(0),{worktree:es,applyActivity:ei,setUnstagedChanges:en}=(0,U.useLiveWorktree)(u.worktree),el=m.activeMoves.some(e=>e.sourceCodebaseId===u.group.codebase.id||e.targetCodebaseId===u.group.codebase.id),eo="ONLINE"===u.agentGroup.agent.connectionStatus&&u.agentGroup.agent.capabilities.includes(r.WORKTREE_INSPECT_JOB_KIND)&&"AVAILABLE"===es.availability&&!es.activeJob&&!el,ed="ONLINE"===u.agentGroup.agent.connectionStatus&&u.agentGroup.agent.capabilities.includes(r.WORKTREE_WATCH_JOB_KIND),ec=(0,o.useCallback)(async()=>{if(!eo)return;let e=++ea.current;Y(!0);try{let t=await (0,U.inspectWorktree)(es.id);if(e!==ea.current)return;K(t),en(t.changes.some(e=>e.unstaged||e.untracked||e.conflicted)),er(null)}catch(t){e===ea.current&&er(t instanceof Error?t.message:String(t))}finally{e===ea.current&&Y(!1)}},[eo,en,es.id]),eu=(0,U.useQueuedWorktreeInspection)(ec);(0,o.useEffect)(()=>{if(!eo)return;let e=window.setTimeout(()=>void eu(),0);return()=>window.clearTimeout(e)},[eo,eu]);let em=(0,o.useCallback)(e=>{ei(e),eo&&eu()},[ei,eo,eu]);(0,U.useWorktreeActivitySubscription)(es.id,ed&&"AVAILABLE"===es.availability,em),(0,o.useEffect)(()=>{let e=()=>G(new URLSearchParams(window.location.search).get("issue"));return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let ep=e=>{let t,r;t=new URLSearchParams(window.location.search),e?t.set("issue",e):t.delete("issue"),r=t.toString(),window.history.pushState(null,"",`${window.location.pathname}${r?`?${r}`:""}`),G(e)},eh=(0,o.useCallback)(async()=>{await j(),eo&&await eu()},[eo,j,eu]),eg=async()=>{ee(!0);try{await (0,C.controlPlaneRequest)("mutation RefreshWorktrees { refreshWorktrees }"),await eh(),er(null)}catch(e){er(e instanceof Error?e.message:String(e))}finally{ee(!1)}},ex={worktree:es,group:u.group,allTags:m.tags,baseRepoDirectory:u.agentGroup.agent.baseRepoDirectory,branchManagementEnabled:"ONLINE"===u.agentGroup.agent.connectionStatus&&u.agentGroup.agent.capabilities.includes("worktree.branch"),editorVariant:m.settings.editorVariant,inspectionRefreshToken:0,liveUpdatesEnabled:ed,onReload:eh,onUpdate:v,onError:er,onManageTags:()=>Q(!0),onOpenTicket:e=>ep(e),onDeleted:()=>$.push("/worktrees"),onMoved:e=>{e.targetWorktreeId&&$.push((0,z.worktreeDetailHref)(e.targetWorktreeId))},overview:m},ef=e=>(0,B.formatDateTime)(T,e),eb=eo?null:"OFFLINE"===u.agentGroup.agent.connectionStatus?I("inspectionOffline"):"AVAILABLE"!==es.availability?es.statusError||I("inspectionUnavailable"):I(es.activeJob||el?"inspectionBusy":"inspectionUnsupported");return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-6xl flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(k.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(S.Link,{href:"/worktrees",children:[(0,t.jsx)(a.ArrowLeft,{})," ",I("back")]})})}),(0,t.jsxs)("div",{className:(0,_.cn)("flex flex-wrap items-start justify-between gap-4",es.highlightColor&&"rounded-lg border-l-4 px-4 py-3",es.highlightColor&&P.worktreeHighlightBackgroundClasses[es.highlightColor],es.highlightColor&&P.worktreeHighlightAccentClasses[es.highlightColor]),"data-testid":"worktree-summary",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[u.group.repository.name," · ",u.agentGroup.agent.name]}),(0,t.jsx)("h1",{className:"mt-1 truncate font-mono text-2xl font-semibold tracking-tight",children:es.branch??es.headSha?.slice(0,10)??N("detached")}),(0,t.jsx)("p",{className:"mt-1 truncate font-mono text-xs text-muted-foreground",title:es.folder,children:(0,W.displayedWorktreePath)(es.folder,u.agentGroup.agent.baseRepoDirectory)}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[(0,t.jsx)(w.Badge,{variant:"secondary",children:es.primary?N("primary"):I("linked")}),(0,t.jsx)(W.OriginStatusBadges,{worktree:es}),es.hasStagedChanges||es.hasUnstagedChanges?(0,t.jsx)(w.Badge,{variant:"destructive",children:N("dirty")}):null,"AVAILABLE"!==es.availability&&(0,t.jsx)(w.Badge,{variant:"destructive",children:es.availability})]}),(es.ticketKey||es.ticketTitle)&&(0,t.jsx)(W.WorktreeTicketLink,{...ex})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(k.Button,{disabled:Z,onClick:()=>void eg(),variant:"outline",children:[(0,t.jsx)(i.RefreshCw,{className:Z?"animate-spin":void 0}),I("refresh")]}),(0,t.jsx)(W.WorktreeMenus,{...ex})]})]}),(g||et||es.statusError)&&(0,t.jsx)(y.Alert,{variant:"destructive",children:(0,t.jsx)(y.AlertDescription,{children:et||g||es.statusError})}),eb&&(0,t.jsx)(y.Alert,{children:(0,t.jsx)(y.AlertDescription,{children:eb})}),(0,t.jsxs)(R.Card,{children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsx)(R.CardTitle,{children:I("actions")})}),(0,t.jsx)(R.CardContent,{children:(0,t.jsx)(W.ActionRow,{...ex,onCompleted:eh})})]}),(0,t.jsx)(D,{branch:es.branch,error:h,onCancelled:f,onError:er,onRetried:b,runs:p,worktreeId:es.id}),(0,t.jsxs)("div",{className:"grid gap-5 lg:grid-cols-2",children:[(0,t.jsxs)(R.Card,{children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsx)(R.CardTitle,{children:I("overview")})}),(0,t.jsx)(R.CardContent,{children:(0,t.jsxs)(A.DetailList,{className:"sm:grid-cols-2",children:[(0,t.jsx)(A.DetailItem,{label:I("repository"),children:(0,t.jsx)(S.Link,{className:"text-primary hover:underline",href:`/codebases/${u.group.codebase.id}`,children:u.group.repository.name})}),(0,t.jsx)(A.DetailItem,{label:I("origin"),mono:!0,children:u.group.repository.displayOrigin}),(0,t.jsxs)(A.DetailItem,{label:I("agent"),children:[u.agentGroup.agent.name," ·"," ",u.agentGroup.agent.hostname]}),(0,t.jsx)(A.DetailItem,{label:I("folder"),mono:!0,children:es.folder}),(0,t.jsx)(A.DetailItem,{label:I("head"),mono:!0,children:es.headSha??"—"}),(0,t.jsx)(A.DetailItem,{label:I("upstream"),mono:!0,children:es.upstream??"—"}),(0,t.jsx)(A.DetailItem,{label:I("originStatus"),children:(0,t.jsx)(W.OriginStatusBadges,{worktree:es})}),(0,t.jsx)(A.DetailItem,{label:I("baseStatus"),children:(0,t.jsx)(W.BaseFreshnessBadge,{worktree:es})}),(0,t.jsx)(A.DetailItem,{label:I("lastChecked"),children:ef(es.lastCheckedAt)}),(0,t.jsx)(A.DetailItem,{label:I("lastFetched"),children:ef(u.group.codebase.lastFetchedAt)})]})})]}),(0,t.jsxs)(R.Card,{children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsx)(R.CardTitle,{children:I("management")})}),(0,t.jsx)(R.CardContent,{children:(0,t.jsx)(W.WorktreeMetadata,{...ex})})]})]}),u.group.iosBuildConfigured&&(0,t.jsx)(q,{codebaseId:u.group.codebase.id,disabled:!eo,onReload:j,reports:s,worktreeId:es.id}),(0,t.jsx)(J,{builds:e,loadingMore:d,nextCursor:c,onError:er,onLoadMore:x,onReload:j}),(0,t.jsxs)(R.Card,{className:"min-w-0",children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsx)(R.CardTitle,{children:I("workingTree")})}),(0,t.jsx)(R.CardContent,{children:X&&!F?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(L.Spinner,{})," ",N("loadingDetails")]}):F?(0,t.jsx)(O.WorktreeDetailPanel,{detail:F,worktreeId:es.id}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:eo?I("inspectionFailed"):"—"})})]}),(0,t.jsxs)(R.Card,{className:"min-w-0",children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsx)(R.CardTitle,{children:I("branchChanges")})}),(0,t.jsx)(R.CardContent,{children:F?(0,t.jsx)(O.BranchChangesPanel,{files:F.branchChanges??[],truncated:!0===F.branchChangesTruncated,worktreeId:es.id}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"—"})})]}),(0,t.jsx)(E.JiraTicketDrawer,{issueKey:M,onClose:()=>ep(null)}),(0,t.jsx)(W.TagManagerDialog,{onChanged:j,onOpenChange:Q,open:V,tags:m.tags})]})}function q({codebaseId:e,worktreeId:r,reports:a,disabled:s,onReload:i}){let o=(0,l.useTranslations)("worktreeDetail"),d=(0,n.useLocale)(),c=e=>"number"==typeof e?new Intl.NumberFormat(d,{style:"percent",maximumFractionDigits:1}).format(e):"—";return(0,t.jsxs)(R.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)(R.CardTitle,{children:o("codeCoverage")}),(0,t.jsx)("div",{className:"sm:ml-auto",children:(0,t.jsx)(h.WorktreeCoverageButton,{codebaseId:e,disabled:s,onStarted:()=>void i(),worktreeId:r})})]})}),a.length?(0,t.jsxs)(I.Table,{children:[(0,t.jsx)(I.TableHeader,{children:(0,t.jsxs)(I.TableRow,{children:[(0,t.jsx)(I.TableHead,{children:o("coverageBuild")}),(0,t.jsx)(I.TableHead,{children:o("coverageStatus")}),(0,t.jsx)(I.TableHead,{children:o("overallCoverage")}),(0,t.jsx)(I.TableHead,{children:o("changedCoverage")}),(0,t.jsx)(I.TableHead,{children:o("generated")}),(0,t.jsx)(I.TableHead,{className:"text-right",children:o("viewReport")})]})}),(0,t.jsx)(I.TableBody,{children:a.map(e=>{let r=e.build.snapshot.configuration;return(0,t.jsxs)(I.TableRow,{children:[(0,t.jsxs)(I.TableCell,{children:[(0,t.jsx)("p",{className:"font-medium",children:r?.name??e.build.id}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.build.id.slice(0,8)})]}),(0,t.jsx)(I.TableCell,{children:(0,t.jsx)(w.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:o(`coverageStatuses.${e.status}`)})}),(0,t.jsx)(I.TableCell,{children:(0,t.jsx)(F,{percent:c,value:e.summary.lineCoverage})}),(0,t.jsx)(I.TableCell,{children:(0,t.jsx)(F,{percent:c,value:e.summary.changedLineCoverage})}),(0,t.jsx)(I.TableCell,{className:"text-muted-foreground",children:new Date(e.finishedAt??e.createdAt).toLocaleString(d)}),(0,t.jsx)(I.TableCell,{className:"text-right",children:"READY"===e.status&&(0,t.jsx)(k.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(S.Link,{href:`/builds/${e.build.id}/coverage`,children:o("viewReport")})})})]},e.id)})})]}):(0,t.jsx)(R.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noCoverageReports")})]})}function F({percent:e,value:r}){if("number"!=typeof r)return(0,t.jsx)(t.Fragment,{children:"—"});let a=Math.max(0,Math.min(1,r));return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 tabular-nums",children:[e(r),(0,t.jsx)("span",{"aria-hidden":"true",className:`size-3.5 shrink-0 rounded-full ring-1 ring-foreground/10 ${a>=.8?"text-emerald-500":a>=.5?"text-amber-500":"text-red-500"}`,"data-coverage-indicator":!0,style:{background:`conic-gradient(currentColor ${360*a}deg, var(--muted) 0deg)`}})]})}function J({builds:e,loadingMore:r,nextCursor:a,onError:s,onLoadMore:i,onReload:o}){let d=(0,l.useTranslations)("builds"),u=(0,n.useLocale)(),h=(0,S.useRouter)(),x=(0,g.useBuildTimeTicker)();return(0,t.jsxs)(R.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(R.CardHeader,{children:(0,t.jsx)(R.CardTitle,{children:d("title")})}),e.length?(0,t.jsxs)(I.Table,{children:[(0,t.jsx)(I.TableHeader,{children:(0,t.jsxs)(I.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(I.TableHead,{children:d("build")}),(0,t.jsx)(I.TableHead,{children:d("status")}),(0,t.jsx)(I.TableHead,{children:d("action")}),(0,t.jsx)(I.TableHead,{children:d("destination")}),(0,t.jsx)(I.TableHead,{children:d("startedAt")}),(0,t.jsx)(I.TableHead,{className:"text-right",children:d("actionsLabel")})]})}),(0,t.jsx)(I.TableBody,{children:e.map(e=>{let r=e.snapshot.configuration,a=e.startedAt??e.createdAt,i="SUCCEEDED"===e.status&&e.artifacts.some(e=>"RUNNABLE_APP"===e.kind);return(0,t.jsxs)(I.TableRow,{"aria-label":d("viewBuild"),className:"cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",onClick:()=>h.push(`/builds/${e.id}`),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),h.push(`/builds/${e.id}`))},role:"link",tabIndex:0,children:[(0,t.jsxs)(I.TableCell,{className:"min-w-52 whitespace-normal",children:[(0,t.jsx)(S.Link,{className:"font-medium hover:underline",href:`/builds/${e.id}`,onClick:e=>e.stopPropagation(),children:r?.name??e.id}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.id})]}),(0,t.jsx)(I.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,t.jsx)(w.Badge,{variant:(0,c.buildStatusVariant)(e.status),children:d(`statuses.${e.status}`)}),e.outOfDate&&(0,t.jsx)(w.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:d("outOfDate")})]})}),(0,t.jsx)(I.TableCell,{children:(0,t.jsx)(w.Badge,{variant:"outline",children:d(`actions.${e.action}`)})}),(0,t.jsx)(I.TableCell,{children:e.destination.name}),(0,t.jsx)(I.TableCell,{className:"text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("time",{dateTime:a,title:new Date(a).toLocaleString(u),children:(0,c.relativeBuildAge)(a,u,x)}),(0,t.jsx)("span",{className:"text-xs",children:d("durationValue",{duration:(0,c.buildDuration)(e,x)})})]})}),(0,t.jsx)(I.TableCell,{className:"text-right",children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,t.jsx)(m.RebuildButton,{buildId:e.id,onCompleted:()=>o(),onError:s,size:"sm"}),i&&(0,t.jsx)(p.RunBuildControls,{buildId:e.id,destinationType:e.destinationType,onCompleted:o,onError:s,preferredDestination:e.destination,size:"sm"})]})})]},e.id)})})]}):(0,t.jsx)(R.CardContent,{className:"py-6 text-sm text-muted-foreground",children:d("emptyTitle")}),a&&(0,t.jsx)("div",{className:"flex justify-center border-t p-3",children:(0,t.jsxs)(k.Button,{disabled:r,onClick:()=>void i(),variant:"outline",children:[r&&(0,t.jsx)(L.Spinner,{})," ",d("loadMore")]})})]})}e.s(["WorktreeDetailPage",0,function({worktreeId:e}){let r=(0,l.useTranslations)("worktreeDetail"),[i,n]=(0,o.useState)(null),[d,c]=(0,o.useState)([]),[m,p]=(0,o.useState)(null),[h,g]=(0,o.useState)(!1),[x,f]=(0,o.useState)([]),[b,j]=(0,o.useState)(!0),[v,w]=(0,o.useState)(null),[R,I]=(0,o.useState)([]),[N,T]=(0,o.useState)(null),D=(0,o.useRef)(0),E=(0,o.useRef)(null),A=(0,o.useCallback)(async()=>{let t=++D.current;try{let r=await (0,C.controlPlaneRequest)(G,{worktreeId:e});if(t!==D.current)return;E.current=(0,z.findWorktreeOverviewEntry)(r.worktreeOverview,e)?.group.codebase.id??null,n(r.worktreeOverview),c(r.builds?.items??[]),p(r.builds?.nextCursor??null),f(r.worktreeCoverageReports??[]),w(null);try{let r=await (0,C.controlPlaneRequest)(`query GitHubWorktreeWorkflowRuns($worktreeId: ID!) {
145
- githubWorktreeWorkflowRuns(worktreeId: $worktreeId) {
146
- id workflowId repositoryGithubId codebaseRepositoryId repositoryNameWithOwner repositoryUrl
147
- name displayTitle runNumber runAttempt event status url headBranch headSha checkSuiteId
148
- canRetry retryUnavailableReason pullRequests { number url } jiraKey worktreeId startedAt createdAt updatedAt
149
- }
150
- }`,{worktreeId:e});t===D.current&&(I(r.githubWorktreeWorkflowRuns??[]),T(null))}catch(e){t===D.current&&T(e instanceof Error?e.message:String(e))}}catch(e){t===D.current&&w(e instanceof Error?e.message:String(e))}finally{t===D.current&&j(!1)}},[e]),B=(0,o.useCallback)(async()=>{if(m){g(!0);try{let t=await (0,C.controlPlaneRequest)(`query WorktreeDetailBuilds($worktreeId: ID!, $after: ID!) {
151
- builds(first: 50, after: $after, worktreeId: $worktreeId) {
152
- items { ${u.BUILD_LIST_FIELDS} }
153
- nextCursor
154
- }
155
- }`,{worktreeId:e,after:m});c(e=>{let r=new Set(e.map(e=>e.id));return[...e,...t.builds.items.filter(e=>!r.has(e.id))]}),p(t.builds.nextCursor),w(null)}catch(e){w(e instanceof Error?e.message:String(e))}finally{g(!1)}}},[m,e]);(0,o.useEffect)(()=>{E.current=null;let t=window.setTimeout(()=>void A(),0),r=window.setInterval(()=>void A(),3e4),a=(0,C.controlPlaneSubscriptions)(),s=a.subscribe({query:"subscription WorktreeDetailChanged { worktreeOverviewChanged { worktreeId codebaseId } }"},{next:t=>{let r=t.data?.worktreeOverviewChanged;r&&null!==r.worktreeId&&r.worktreeId!==e&&(null===r.codebaseId||r.codebaseId!==E.current)||A()},error:()=>void 0,complete:()=>void 0}),i=a.subscribe({query:"subscription WorktreeDetailBuildsChanged { buildsChanged { id } }"},{next:()=>void A(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),window.clearInterval(r),D.current+=1,s(),i()}},[A,e]);let _=(0,o.useMemo)(()=>i?(0,z.findWorktreeOverviewEntry)(i,e):null,[i,e]),P=(0,o.useCallback)(e=>{n(t=>t?{...t,agents:t.agents.map(t=>({...t,codebases:t.codebases.map(t=>({...t,worktrees:t.worktrees.map(t=>t.id===e.id?{...t,...e,ticketKey:e.ticketKey??t.ticketKey,ticketTitle:e.ticketTitle??t.ticketTitle,ticketStatus:e.ticketStatus??t.ticketStatus,pullRequest:e.pullRequest??t.pullRequest}:t)}))}))}:t)},[]);return b&&!i?(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(L.Spinner,{})," ",r("loading")]}):i&&_?(0,t.jsx)(H,{builds:d,coverageReports:x,buildsLoadingMore:h,buildsNextCursor:m,entry:_,loadError:v,onLoadMoreBuilds:B,onPipelineCancelled:e=>I(t=>t.map(t=>t.id===e?{...t,status:"CANCELLED",canRetry:!1,retryUnavailableReason:"NOT_COMPLETED",updatedAt:new Date().toISOString()}:t)),onPipelineRetried:e=>I(t=>t.map(t=>t.id===e?{...t,status:"QUEUED",canRetry:!1,retryUnavailableReason:"NOT_COMPLETED"}:t)),onReload:A,onUpdate:P,overview:i,pipelines:R,pipelinesError:N},_.worktree.id):(0,t.jsxs)("section",{className:"mx-auto w-full max-w-6xl space-y-5",children:[v&&(0,t.jsx)(y.Alert,{variant:"destructive",children:(0,t.jsx)(y.AlertDescription,{children:v})}),(0,t.jsxs)($.Empty,{className:"border py-12",children:[(0,t.jsxs)($.EmptyHeader,{children:[(0,t.jsx)($.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.GitBranch,{})}),(0,t.jsx)($.EmptyTitle,{children:r("notFound")}),(0,t.jsx)($.EmptyDescription,{children:r("notFoundDescription")})]}),(0,t.jsx)(k.Button,{asChild:!0,className:"mt-4",variant:"outline",children:(0,t.jsxs)(S.Link,{href:"/worktrees",children:[(0,t.jsx)(a.ArrowLeft,{})," ",r("back")]})})]})]})}],547)}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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)},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=n(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}var i=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[s,d]=(0,a.createContextScope)(l,[i.createDialogScope]),c=(0,i.createDialogScope)(),u=e=>{let{__scopeAlertDialog:r,...a}=e,n=c(r);return(0,t.jsx)(i.Root,{...n,...a,modal:!0})};u.displayName=l;var f=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,o=c(a);return(0,t.jsx)(i.Trigger,{...o,...n,ref:r})});f.displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:r,...a}=e,n=c(r);return(0,t.jsx)(i.Portal,{...n,...a})};p.displayName="AlertDialogPortal";var g=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,o=c(a);return(0,t.jsx)(i.Overlay,{...o,...n,ref:r})});g.displayName="AlertDialogOverlay";var m="AlertDialogContent",[x,v]=s(m),h=r.forwardRef((e,a)=>{let{__scopeAlertDialog:n,children:l,...s}=e,d=c(n),u=o(a,r.useRef(null)),f=r.useRef(null);return(0,t.jsx)(x,{scope:n,cancelRef:f,children:(0,t.jsx)(i.Content,{role:"alertdialog",...d,...s,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(s.onOpenAutoFocus,e=>{e.preventDefault(),f.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});h.displayName=m;var b=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,o=c(a);return(0,t.jsx)(i.Title,{...o,...n,ref:r})});b.displayName="AlertDialogTitle";var y=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,o=c(a);return(0,t.jsx)(i.Description,{...o,...n,ref:r})});y.displayName="AlertDialogDescription";var j=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,o=c(a);return(0,t.jsx)(i.Close,{...o,...n,ref:r})});j.displayName="AlertDialogAction";var w="AlertDialogCancel",k=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,{cancelRef:l}=v(w,a),s=c(a),d=o(r,l);return(0,t.jsx)(i.Close,{...s,...n,ref:d})});k.displayName=w,e.s(["Action",0,j,"AlertDialog",0,u,"AlertDialogAction",0,j,"AlertDialogCancel",0,k,"AlertDialogContent",0,h,"AlertDialogDescription",0,y,"AlertDialogOverlay",0,g,"AlertDialogPortal",0,p,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,f,"Cancel",0,k,"Content",0,h,"Description",0,y,"Overlay",0,g,"Portal",0,p,"Root",0,u,"Title",0,b,"Trigger",0,f,"createAlertDialogScope",0,d],691162);var C=e.i(691162),C=C,D=e.i(975157),N=e.i(519455);function R({...e}){return(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e})}function E({...e}){return(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function S({...e}){return(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e})}function T({className:e,...r}){return(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,D.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function _({className:e,size:r="default",...a}){return(0,t.jsxs)(S,{children:[(0,t.jsx)(T,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,D.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),...a})]})}function z({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,D.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function A({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,D.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function P({className:e,...r}){return(0,t.jsx)(C.Title,{"data-slot":"alert-dialog-title",className:(0,D.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function O({className:e,...r}){return(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-description",className:(0,D.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function $({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(N.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,D.cn)(e),...n})})}function I({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(N.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,D.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:o,open:i,title:l,trigger:s}){return(0,t.jsxs)(R,{onOpenChange:o,open:i,children:[s&&(0,t.jsx)(E,{asChild:!0,children:s}),(0,t.jsxs)(_,{children:[(0,t.jsxs)(z,{children:[(0,t.jsx)(P,{children:l}),(0,t.jsx)(O,{children:a})]}),(0,t.jsxs)(A,{children:[(0,t.jsx)(I,{children:r}),(0,t.jsx)($,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},624687,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Textarea",0,function({className:e,...a}){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),...a})}])},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 n=Symbol.for("radix.slottable"),o=Symbol.for("react.lazy");function i(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_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,o)=>{var s;let d,c=(s=`Primitive.${o}`,(d=r.forwardRef((e,t)=>{var o;let d,c,{children:u,...f}=e,p=null,g=!1,m=[];i(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===n){g=!0;let t="child"in e.props?e.props.child:e.props.children;i(t)&&"function"==typeof l&&(t=l(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(p?.props?.children)}else m.push(e)}),p?p=r.cloneElement(p,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let x=p?(o=p,(c=(d=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.ref:(c=(d=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,v=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(t,x);if(!p){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 n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(h.ref=t?v:x),r.cloneElement(p,h)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?c:o,{...n,ref:r})});return u.displayName=`Primitive.${o}`,{...e,[o]: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)},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])},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),a=e.i(964053),n=e.i(519455),o=e.i(975157);function i({...e}){return(0,t.jsx)(a.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(a.Dialog.Overlay,{className:(0,o.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)(a.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(i,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(a.Dialog.Content,{className:(0,o.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:[s,d&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.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)(a.Dialog.Description,{className:(0,o.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:i,...l}){return(0,t.jsxs)("div",{className:(0,o.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:[i,r&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,o.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Title,{className:(0,o.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(a.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},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])},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(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,...o}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...o})},"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",...n}){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),...n})},"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,...n}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...n})}],987968)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),n=e.i(975157);let o=(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:i=!1,...l}){let s=i?a.Slot.Root:"span";return(0,t.jsx)(s,{className:(0,n.cn)(o({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},59497,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)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}var o=e.i(30030);function i(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var s=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 f=Symbol.for("radix.slottable"),p=Symbol.for("react.lazy");function g(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===p&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var m=r[" use ".trim().toString()],x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var o;let i,l=(o=`Primitive.${a}`,(i=r.forwardRef((e,t)=>{var a;let i,l,{children:s,...d}=e,c=null,u=!1,p=[];g(s)&&"function"==typeof m&&(s=m(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===f){u=!0;let t="child"in e.props?e.props.child:e.props.children;g(t)&&"function"==typeof m&&(t=m(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),p.push(c?.props?.children)}else p.push(e)}),c?c=r.cloneElement(c,void 0,p):!u&&1===r.Children.count(s)&&r.isValidElement(s)&&(c=s);let x=c?(a=c,(l=(i=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.ref:(l=(i=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,v=n(t,x);if(!c){if(s||0===s){let e,t;throw Error(u?(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 s}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(h.ref=t?v:x),r.cloneElement(c,h)})).displayName=`${o}.Slot`,i),s=r.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:a,{...o,ref:r})});return s.displayName=`Primitive.${a}`,{...e,[a]:s}},{}),v="Checkbox",[h,b]=(0,o.createContextScope)(v),[y,j]=h(v);function w(e){let{__scopeCheckbox:a,checked:n,children:o,defaultChecked:i,disabled:l,form:d,name:c,onCheckedChange:u,required:f,value:p="on",internal_do_not_use_render:g}=e,[m,x]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[o,i,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),o=r.useRef(a),i=r.useRef(t);return s(()=>{i.current=t},[t]),r.useEffect(()=>{o.current!==a&&(i.current?.(a),o.current=a)},[a,o]),[a,n,i]}({defaultProp:t,onChange:a}),d=void 0!==e,c=d?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else i(t)},[d,e,i,l])]}({prop:n,defaultProp:i??!1,onChange:u,caller:v}),[h,b]=r.useState(null),[j,w]=r.useState(null),k=r.useRef(!1),C=!h||!!d||!!h.closest("form"),D={checked:m,disabled:l,setChecked:x,control:h,setControl:b,name:c,form:d,value:p,hasConsumerStoppedPropagationRef:k,required:f,defaultChecked:!T(i)&&i,isFormControl:C,bubbleInput:j,setBubbleInput:w};return(0,t.jsx)(y,{scope:a,...D,children:"function"==typeof g?g(D):o})}var k="CheckboxTrigger",C=r.forwardRef(({__scopeCheckbox:e,onKeyDown:a,onClick:o,...l},s)=>{let{control:d,value:c,disabled:u,checked:f,required:p,setControl:g,setChecked:m,hasConsumerStoppedPropagationRef:v,isFormControl:h,bubbleInput:b}=j(k,e),y=n(s,g),w=r.useRef(f);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>m(w.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,m]),(0,t.jsx)(x.button,{type:"button",role:"checkbox","aria-checked":T(f)?"mixed":f,"aria-required":p,"data-state":_(f),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:y,onKeyDown:i(a,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:i(o,e=>{m(e=>!!T(e)||!e),b&&h&&(v.current=e.isPropagationStopped(),v.current||e.stopPropagation())})})});C.displayName=k;var D=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:n,checked:o,defaultChecked:i,required:l,disabled:s,value:d,onCheckedChange:c,form:u,...f}=e;return(0,t.jsx)(w,{__scopeCheckbox:a,checked:o,defaultChecked:i,disabled:s,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C,{...f,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(S,{__scopeCheckbox:a})]})})});D.displayName=v;var N="CheckboxIndicator",R=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...o}=e,i=j(N,a);return(0,t.jsx)(u.Presence,{present:n||T(i.checked)||!0===i.checked,children:(0,t.jsx)(x.span,{"data-state":_(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:r,style:{pointerEvents:"none",...e.style}})})});R.displayName=N;var E="CheckboxBubbleInput",S=r.forwardRef(({__scopeCheckbox:e,...a},o)=>{let{control:i,hasConsumerStoppedPropagationRef:l,checked:s,defaultChecked:u,required:f,disabled:p,name:g,value:m,form:v,bubbleInput:h,setBubbleInput:b}=j(E,e),y=n(o,b),w=(0,d.usePrevious)(s),k=(0,c.useSize)(i);r.useEffect(()=>{if(!h)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(w!==s&&e){let r=new Event("click",{bubbles:t});h.indeterminate=T(s),e.call(h,!T(s)&&s),h.dispatchEvent(r)}},[h,w,s,l]);let C=r.useRef(!T(s)&&s);return(0,t.jsx)(x.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??C.current,required:f,disabled:p,name:g,value:m,form:v,...a,tabIndex:-1,ref:y,style:{...a.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function T(e){return"indeterminate"===e}function _(e){return T(e)?"indeterminate":e?"checked":"unchecked"}S.displayName=E,e.s(["Checkbox",0,D,"CheckboxIndicator",0,R,"Indicator",0,R,"Root",0,D,"createCheckboxScope",0,b,"unstable_BubbleInput",0,S,"unstable_CheckboxBubbleInput",0,S,"unstable_CheckboxProvider",0,w,"unstable_CheckboxTrigger",0,C,"unstable_Provider",0,w,"unstable_Trigger",0,C],388474);var z=e.i(388474),z=z,A=e.i(975157),P=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(z.Root,{"data-slot":"checkbox",className:(0,A.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)(z.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(P.CheckIcon,{})})})}],59497)},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])},730274,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],730274)},994004,e=>{"use strict";let t=(0,e.i(456420).default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["History",0,t],994004)}]);