@ai-development-environment/server 0.0.63 → 0.0.64

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 (611) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/app-path-routes-manifest.json +0 -1
  4. package/standalone/.next/build-manifest.json +3 -3
  5. package/standalone/.next/prerender-manifest.json +3 -3
  6. package/standalone/.next/routes-manifest.json +0 -8
  7. package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
  8. package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
  9. package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
  10. package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
  11. package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
  12. package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
  13. package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
  14. package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
  15. package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
  16. package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
  17. package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
  18. package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
  19. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
  20. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
  21. package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js +1 -1
  22. package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js.nft.json +1 -1
  23. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
  25. package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
  26. package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
  27. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
  28. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
  29. package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
  31. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
  33. package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js.nft.json +1 -1
  34. package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page_client-reference-manifest.js +1 -1
  35. package/standalone/.next/server/app/[locale]/commands/new/page.js.nft.json +1 -1
  36. package/standalone/.next/server/app/[locale]/commands/new/page_client-reference-manifest.js +1 -1
  37. package/standalone/.next/server/app/[locale]/commands/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/commands/page_client-reference-manifest.js +1 -1
  39. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js +1 -1
  40. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js.nft.json +1 -1
  41. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js.nft.json +1 -1
  42. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page_client-reference-manifest.js +1 -1
  43. package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
  44. package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
  45. package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
  46. package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
  47. package/standalone/.next/server/app/[locale]/costs/page.js.nft.json +1 -1
  48. package/standalone/.next/server/app/[locale]/costs/page_client-reference-manifest.js +1 -1
  49. package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
  50. package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
  51. package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
  52. package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
  53. package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
  54. package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
  55. package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
  57. package/standalone/.next/server/app/[locale]/drafts/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/drafts/page_client-reference-manifest.js +1 -1
  59. package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js.nft.json +1 -1
  60. package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page_client-reference-manifest.js +1 -1
  61. package/standalone/.next/server/app/[locale]/github-cache/page.js.nft.json +1 -1
  62. package/standalone/.next/server/app/[locale]/github-cache/page_client-reference-manifest.js +1 -1
  63. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  65. package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
  66. package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
  67. package/standalone/.next/server/app/[locale]/jira-cache/page.js.nft.json +1 -1
  68. package/standalone/.next/server/app/[locale]/jira-cache/page_client-reference-manifest.js +1 -1
  69. package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js.nft.json +1 -1
  70. package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  71. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
  72. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
  73. package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
  74. package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
  75. package/standalone/.next/server/app/[locale]/page.js +2 -3
  76. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  77. package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  78. package/standalone/.next/server/app/[locale]/plans/[runId]/page.js.nft.json +1 -1
  79. package/standalone/.next/server/app/[locale]/plans/[runId]/page_client-reference-manifest.js +1 -1
  80. package/standalone/.next/server/app/[locale]/plans/page.js.nft.json +1 -1
  81. package/standalone/.next/server/app/[locale]/plans/page_client-reference-manifest.js +1 -1
  82. package/standalone/.next/server/app/[locale]/polling/page.js.nft.json +1 -1
  83. package/standalone/.next/server/app/[locale]/polling/page_client-reference-manifest.js +1 -1
  84. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
  85. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
  86. package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
  87. package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
  88. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  89. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  90. package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
  91. package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
  92. package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
  93. package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
  94. package/standalone/.next/server/app/[locale]/runs/new/page.js.nft.json +1 -1
  95. package/standalone/.next/server/app/[locale]/runs/new/page_client-reference-manifest.js +1 -1
  96. package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js.nft.json +1 -1
  97. package/standalone/.next/server/app/[locale]/sessions/[runId]/page_client-reference-manifest.js +1 -1
  98. package/standalone/.next/server/app/[locale]/sessions/page.js.nft.json +1 -1
  99. package/standalone/.next/server/app/[locale]/sessions/page_client-reference-manifest.js +1 -1
  100. package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
  101. package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
  102. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
  103. package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
  104. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
  105. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
  106. package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
  107. package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
  108. package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
  109. package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
  110. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
  111. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
  112. package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
  113. package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
  114. package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
  115. package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
  116. package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
  117. package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
  118. package/standalone/.next/server/app/[locale]/webhooks/page.js.nft.json +1 -1
  119. package/standalone/.next/server/app/[locale]/webhooks/page_client-reference-manifest.js +1 -1
  120. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js.nft.json +1 -1
  121. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
  122. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js.nft.json +1 -1
  123. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
  124. package/standalone/.next/server/app/[locale]/workflows/new/page.js.nft.json +1 -1
  125. package/standalone/.next/server/app/[locale]/workflows/new/page_client-reference-manifest.js +1 -1
  126. package/standalone/.next/server/app/[locale]/workflows/page.js.nft.json +1 -1
  127. package/standalone/.next/server/app/[locale]/workflows/page_client-reference-manifest.js +1 -1
  128. package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js.nft.json +1 -1
  129. package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
  130. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
  131. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  132. package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
  133. package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
  134. package/standalone/.next/server/app/_global-error.html +1 -1
  135. package/standalone/.next/server/app/_global-error.rsc +1 -1
  136. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  137. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  138. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  139. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  140. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  141. package/standalone/.next/server/app/_not-found.html +1 -1
  142. package/standalone/.next/server/app/_not-found.rsc +1 -1
  143. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  144. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  145. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  146. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  147. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  148. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  149. package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js +1 -1
  150. package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
  151. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
  152. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
  153. package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
  154. package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
  155. package/standalone/.next/server/app/api/codebases/route.js +1 -1
  156. package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
  157. package/standalone/.next/server/app/api/graphql/route.js +1 -1
  158. package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
  159. package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
  160. package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
  161. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
  162. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
  163. package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
  164. package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
  165. package/standalone/.next/server/app/api/mcp/route.js +1 -1
  166. package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  167. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
  168. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
  169. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
  170. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
  171. package/standalone/.next/server/app/api/public/github/webhook/route.js +1 -1
  172. package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
  173. package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js +1 -1
  174. package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
  175. package/standalone/.next/server/app/api/public/ios/profile-response/route.js +1 -1
  176. package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
  177. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
  178. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
  179. package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
  180. package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
  181. package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
  182. package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
  183. package/standalone/.next/server/app/api/tools/call/route.js +1 -1
  184. package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
  185. package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
  186. package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
  187. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
  188. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
  189. package/standalone/.next/server/app-paths-manifest.json +0 -1
  190. package/standalone/.next/server/chunks/{[root-of-the-server]__06u4xcm._.js → [root-of-the-server]__0-b1prw._.js} +1 -1
  191. package/standalone/.next/server/chunks/{[root-of-the-server]__09am6v3._.js → [root-of-the-server]__0-irvqy._.js} +1 -1
  192. package/standalone/.next/server/chunks/{[root-of-the-server]__0191hj1._.js → [root-of-the-server]__004x00m._.js} +3 -3
  193. package/standalone/.next/server/chunks/{[root-of-the-server]__0-tmw39._.js → [root-of-the-server]__03ov9dn._.js} +1 -1
  194. package/standalone/.next/server/chunks/{[root-of-the-server]__0eyltex._.js → [root-of-the-server]__04x0a1c._.js} +1 -1
  195. package/standalone/.next/server/chunks/{[root-of-the-server]__0595xpp._.js → [root-of-the-server]__05k_3_s._.js} +1 -1
  196. package/standalone/.next/server/chunks/{[root-of-the-server]__0by5o61._.js → [root-of-the-server]__05nr3-b._.js} +2 -2
  197. package/standalone/.next/server/chunks/{[root-of-the-server]__09cczk9._.js → [root-of-the-server]__05rm8ki._.js} +1 -1
  198. package/standalone/.next/server/chunks/{[root-of-the-server]__05yutuh._.js → [root-of-the-server]__06dz512._.js} +1 -1
  199. package/standalone/.next/server/chunks/{[root-of-the-server]__0-upwch._.js → [root-of-the-server]__06h8dq4._.js} +1 -1
  200. package/standalone/.next/server/chunks/{[root-of-the-server]__21815pw._.js → [root-of-the-server]__07lj58j._.js} +2 -2
  201. package/standalone/.next/server/chunks/{[root-of-the-server]__01s4hkv._.js → [root-of-the-server]__082w26v._.js} +1 -1
  202. package/standalone/.next/server/chunks/{[root-of-the-server]__06dvajv._.js → [root-of-the-server]__092univ._.js} +1 -1
  203. package/standalone/.next/server/chunks/{[root-of-the-server]__03arvyv._.js → [root-of-the-server]__098thvo._.js} +2 -2
  204. package/standalone/.next/server/chunks/{[root-of-the-server]__09ormhu._.js → [root-of-the-server]__0_1h4vu._.js} +1 -1
  205. package/standalone/.next/server/chunks/{[root-of-the-server]__0l4juv1._.js → [root-of-the-server]__0_ftuni._.js} +1 -1
  206. package/standalone/.next/server/chunks/[root-of-the-server]__0b-lts3._.js +3 -0
  207. package/standalone/.next/server/chunks/[root-of-the-server]__0ckici0._.js +3 -0
  208. package/standalone/.next/server/chunks/{[root-of-the-server]__02chrc6._.js → [root-of-the-server]__0cqe8td._.js} +1 -1
  209. package/standalone/.next/server/chunks/[root-of-the-server]__0dsyjgc._.js +3 -0
  210. package/standalone/.next/server/chunks/{[root-of-the-server]__02z6ofq._.js → [root-of-the-server]__0e29qi2._.js} +1 -1
  211. package/standalone/.next/server/chunks/{[root-of-the-server]__0bcw4i1._.js → [root-of-the-server]__0efv9_l._.js} +1 -1
  212. package/standalone/.next/server/chunks/{[root-of-the-server]__0dsr079._.js → [root-of-the-server]__0eplbf8._.js} +2 -2
  213. package/standalone/.next/server/chunks/[root-of-the-server]__0fv-9n6._.js +3 -0
  214. package/standalone/.next/server/chunks/{[root-of-the-server]__0e1uxby._.js → [root-of-the-server]__0g-h70v._.js} +1 -1
  215. package/standalone/.next/server/chunks/{[root-of-the-server]__0fzwzem._.js → [root-of-the-server]__0gedsnc._.js} +2 -2
  216. package/standalone/.next/server/chunks/[root-of-the-server]__0gorac4._.js +3 -0
  217. package/standalone/.next/server/chunks/[root-of-the-server]__0hd0i41._.js +3 -0
  218. package/standalone/.next/server/chunks/[root-of-the-server]__0hyrrl3._.js +3 -0
  219. package/standalone/.next/server/chunks/[root-of-the-server]__0kxris6._.js +3 -0
  220. package/standalone/.next/server/chunks/[root-of-the-server]__0lbyvuf._.js +3 -0
  221. package/standalone/.next/server/chunks/[root-of-the-server]__0lmlzy2._.js +3 -0
  222. package/standalone/.next/server/chunks/[root-of-the-server]__0lpn3y3._.js +3 -0
  223. package/standalone/.next/server/chunks/{[root-of-the-server]__0deutn6._.js → [root-of-the-server]__0njzyae._.js} +2 -2
  224. package/standalone/.next/server/chunks/[root-of-the-server]__0o1f0q0._.js +3 -0
  225. package/standalone/.next/server/chunks/[root-of-the-server]__0o2vsff._.js +3 -0
  226. package/standalone/.next/server/chunks/[root-of-the-server]__0o__n8q._.js +3 -0
  227. package/standalone/.next/server/chunks/[root-of-the-server]__0r4layw._.js +3 -0
  228. package/standalone/.next/server/chunks/[root-of-the-server]__0r6qwbg._.js +3 -0
  229. package/standalone/.next/server/chunks/[root-of-the-server]__0r_1lyd._.js +3 -0
  230. package/standalone/.next/server/chunks/{[root-of-the-server]__1sgz5xe._.js → [root-of-the-server]__0rwzlp5._.js} +2 -2
  231. package/standalone/.next/server/chunks/{[root-of-the-server]__0n9n0wa._.js → [root-of-the-server]__0su5xbh._.js} +2 -2
  232. package/standalone/.next/server/chunks/{[root-of-the-server]__1g5ehjo._.js → [root-of-the-server]__0t_1g6x._.js} +2 -2
  233. package/standalone/.next/server/chunks/[root-of-the-server]__0umrmgu._.js +3 -0
  234. package/standalone/.next/server/chunks/{[root-of-the-server]__119lu0l._.js → [root-of-the-server]__0xl63a7._.js} +2 -2
  235. package/standalone/.next/server/chunks/[root-of-the-server]__0xxlq9f._.js +3 -0
  236. package/standalone/.next/server/chunks/[root-of-the-server]__0ynqgwd._.js +3 -0
  237. package/standalone/.next/server/chunks/[root-of-the-server]__0yo97yw._.js +3 -0
  238. package/standalone/.next/server/chunks/[root-of-the-server]__0yukdx0._.js +3 -0
  239. package/standalone/.next/server/chunks/{[root-of-the-server]__0m09s1f._.js → [root-of-the-server]__0yx69ig._.js} +2 -2
  240. package/standalone/.next/server/chunks/[root-of-the-server]__0zdquaj._.js +3 -0
  241. package/standalone/.next/server/chunks/[root-of-the-server]__0zl_7f0._.js +3 -0
  242. package/standalone/.next/server/chunks/[root-of-the-server]__1-6ac7x._.js +3 -0
  243. package/standalone/.next/server/chunks/[root-of-the-server]__10ax2y3._.js +3 -0
  244. package/standalone/.next/server/chunks/[root-of-the-server]__111axgx._.js +3 -0
  245. package/standalone/.next/server/chunks/[root-of-the-server]__112_ym-._.js +3 -0
  246. package/standalone/.next/server/chunks/{[root-of-the-server]__03lh83x._.js → [root-of-the-server]__11_l9kh._.js} +2 -2
  247. package/standalone/.next/server/chunks/[root-of-the-server]__13atbqs._.js +3 -0
  248. package/standalone/.next/server/chunks/[root-of-the-server]__13f0rv7._.js +3 -0
  249. package/standalone/.next/server/chunks/[root-of-the-server]__13ghplc._.js +3 -0
  250. package/standalone/.next/server/chunks/[root-of-the-server]__13y3ap6._.js +3 -0
  251. package/standalone/.next/server/chunks/[root-of-the-server]__145854p._.js +3 -0
  252. package/standalone/.next/server/chunks/[root-of-the-server]__156bqk6._.js +3 -0
  253. package/standalone/.next/server/chunks/[root-of-the-server]__15anbvu._.js +3 -0
  254. package/standalone/.next/server/chunks/[root-of-the-server]__15fe1ky._.js +3 -0
  255. package/standalone/.next/server/chunks/[root-of-the-server]__16gno9l._.js +3 -0
  256. package/standalone/.next/server/chunks/[root-of-the-server]__16y0jw6._.js +3 -0
  257. package/standalone/.next/server/chunks/{[root-of-the-server]__1inrvz6._.js → [root-of-the-server]__17v3iu3._.js} +2 -2
  258. package/standalone/.next/server/chunks/[root-of-the-server]__17xi013._.js +3 -0
  259. package/standalone/.next/server/chunks/[root-of-the-server]__19yjsxi._.js +3 -0
  260. package/standalone/.next/server/chunks/[root-of-the-server]__1__181r._.js +3 -0
  261. package/standalone/.next/server/chunks/[root-of-the-server]__1_j58hk._.js +3 -0
  262. package/standalone/.next/server/chunks/[root-of-the-server]__1_u7utj._.js +3 -0
  263. package/standalone/.next/server/chunks/[root-of-the-server]__1_xypu8._.js +3 -0
  264. package/standalone/.next/server/chunks/[root-of-the-server]__1a9n6nb._.js +3 -0
  265. package/standalone/.next/server/chunks/[root-of-the-server]__1ahn_s1._.js +3 -0
  266. package/standalone/.next/server/chunks/{[root-of-the-server]__1v9pr22._.js → [root-of-the-server]__1amrm18._.js} +2 -2
  267. package/standalone/.next/server/chunks/[root-of-the-server]__1c93he1._.js +3 -0
  268. package/standalone/.next/server/chunks/{[root-of-the-server]__1ghtk-u._.js → [root-of-the-server]__1ca92tw._.js} +2 -2
  269. package/standalone/.next/server/chunks/[root-of-the-server]__1d2p5s7._.js +3 -0
  270. package/standalone/.next/server/chunks/[root-of-the-server]__1e-y964._.js +3 -0
  271. package/standalone/.next/server/chunks/{[root-of-the-server]__0jin988._.js → [root-of-the-server]__1em0xu9._.js} +2 -2
  272. package/standalone/.next/server/chunks/{[root-of-the-server]__1yt6tih._.js → [root-of-the-server]__1f0zhzz._.js} +2 -2
  273. package/standalone/.next/server/chunks/[root-of-the-server]__1fjzpw8._.js +3 -0
  274. package/standalone/.next/server/chunks/{[root-of-the-server]__046c9w0._.js → [root-of-the-server]__1fnlj9e._.js} +2 -2
  275. package/standalone/.next/server/chunks/[root-of-the-server]__1gg0deb._.js +3 -0
  276. package/standalone/.next/server/chunks/[root-of-the-server]__1isy66r._.js +3 -0
  277. package/standalone/.next/server/chunks/[root-of-the-server]__1iueadp._.js +3 -0
  278. package/standalone/.next/server/chunks/[root-of-the-server]__1lgrdmb._.js +3 -0
  279. package/standalone/.next/server/chunks/[root-of-the-server]__1ltxl89._.js +3 -0
  280. package/standalone/.next/server/chunks/{[root-of-the-server]__0w9qwef._.js → [root-of-the-server]__1n2pfid._.js} +2 -2
  281. package/standalone/.next/server/chunks/[root-of-the-server]__1pchrv1._.js +3 -0
  282. package/standalone/.next/server/chunks/[root-of-the-server]__1q3qhn3._.js +3 -0
  283. package/standalone/.next/server/chunks/{[root-of-the-server]__1l0i6bt._.js → [root-of-the-server]__1r3djqb._.js} +2 -2
  284. package/standalone/.next/server/chunks/[root-of-the-server]__1r6cfp_._.js +3 -0
  285. package/standalone/.next/server/chunks/[root-of-the-server]__1rkrr9y._.js +3 -0
  286. package/standalone/.next/server/chunks/[root-of-the-server]__1s_oovo._.js +3 -0
  287. package/standalone/.next/server/chunks/[root-of-the-server]__1syfm5l._.js +3 -0
  288. package/standalone/.next/server/chunks/[root-of-the-server]__1t_2g9l._.js +3 -0
  289. package/standalone/.next/server/chunks/[root-of-the-server]__1ug9sy_._.js +3 -0
  290. package/standalone/.next/server/chunks/[root-of-the-server]__1v6-hkq._.js +3 -0
  291. package/standalone/.next/server/chunks/[root-of-the-server]__1va_ptf._.js +3 -0
  292. package/standalone/.next/server/chunks/[root-of-the-server]__1w83ks0._.js +3 -0
  293. package/standalone/.next/server/chunks/{[root-of-the-server]__04z6da6._.js → [root-of-the-server]__1w_r8ug._.js} +2 -2
  294. package/standalone/.next/server/chunks/[root-of-the-server]__1wgorxu._.js +3 -0
  295. package/standalone/.next/server/chunks/[root-of-the-server]__1xh8f1z._.js +3 -0
  296. package/standalone/.next/server/chunks/[root-of-the-server]__1xqq0j2._.js +3 -0
  297. package/standalone/.next/server/chunks/[root-of-the-server]__1z1b8w4._.js +3 -0
  298. package/standalone/.next/server/chunks/[root-of-the-server]__1z8eo0j._.js +3 -0
  299. package/standalone/.next/server/chunks/[root-of-the-server]__20zebdq._.js +3 -0
  300. package/standalone/.next/server/chunks/_0_3-lke._.js +70 -9
  301. package/standalone/.next/server/chunks/_0d87yp6._.js +2 -2
  302. package/standalone/.next/server/chunks/_0rjgtla._.js +2 -2
  303. package/standalone/.next/server/chunks/_1_sa5xl._.js +2 -2
  304. package/standalone/.next/server/chunks/_1hmzed-._.js +63 -2
  305. package/standalone/.next/server/chunks/_1pc6dt_._.js +2 -2
  306. package/standalone/.next/server/chunks/_1xuucni._.js +2 -2
  307. package/standalone/.next/server/chunks/_1ya6q3e._.js +2 -2
  308. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-guq-9._.js +3 -0
  309. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__064h18r._.js +3 -0
  310. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0js6wx9._.js → [root-of-the-server]__07ll4k6._.js} +2 -2
  311. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0ljh3ky._.js → [root-of-the-server]__08m_tud._.js} +2 -2
  312. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0qvg807._.js → [root-of-the-server]__0iulojy._.js} +2 -2
  313. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0je1dve._.js +15 -0
  314. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1vww3f6._.js → [root-of-the-server]__0mpg4qq._.js} +2 -2
  315. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__10rfw-t._.js +3 -0
  316. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__08vwbx7._.js → [root-of-the-server]__1gemlo_._.js} +2 -2
  317. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1bd2arr._.js → [root-of-the-server]__1kzbjl5._.js} +3 -3
  318. package/standalone/.next/server/chunks/ssr/{_14leuy3._.js → _0-o8qp9._.js} +2 -2
  319. package/standalone/.next/server/chunks/ssr/_0158tm3._.js +22 -0
  320. package/standalone/.next/server/chunks/ssr/_01qjv4h._.js +10 -0
  321. package/standalone/.next/server/chunks/ssr/_022u7lb._.js +15 -0
  322. package/standalone/.next/server/chunks/ssr/_08p6s05._.js +1 -1
  323. package/standalone/.next/server/chunks/ssr/_0_6-vje._.js +3 -0
  324. package/standalone/.next/server/chunks/ssr/{_16kl8gr._.js → _0ecoxf6._.js} +2 -2
  325. package/standalone/.next/server/chunks/ssr/{_08g6bix._.js → _0ibt6d5._.js} +3 -3
  326. package/standalone/.next/server/chunks/ssr/{_18xrhsg._.js → _0ixrbdr._.js} +2 -2
  327. package/standalone/.next/server/chunks/ssr/_0k-c9_2._.js +3 -0
  328. package/standalone/.next/server/chunks/ssr/_0kp37lj._.js +3 -0
  329. package/standalone/.next/server/chunks/ssr/_0mwg_m-._.js +3 -0
  330. package/standalone/.next/server/chunks/ssr/_0qi2sb7._.js +3 -0
  331. package/standalone/.next/server/chunks/ssr/_0rewrau._.js +3 -0
  332. package/standalone/.next/server/chunks/ssr/{_09bcjtq._.js → _0ro_o-3._.js} +2 -2
  333. package/standalone/.next/server/chunks/ssr/{_0n86f1m._.js → _0sbsue7._.js} +2 -2
  334. package/standalone/.next/server/chunks/ssr/_0u04ikp._.js +3 -0
  335. package/standalone/.next/server/chunks/ssr/_0wc8st5._.js +3 -0
  336. package/standalone/.next/server/chunks/ssr/_0wdqa08._.js +24 -0
  337. package/standalone/.next/server/chunks/ssr/_13c2e2e._.js +3 -0
  338. package/standalone/.next/server/chunks/ssr/{_16lbtbj._.js → _154hqy7._.js} +3 -3
  339. package/standalone/.next/server/chunks/ssr/_184gcf9._.js +3 -0
  340. package/standalone/.next/server/chunks/ssr/{_15l7ork._.js → _18ql1ra._.js} +2 -2
  341. package/standalone/.next/server/chunks/ssr/{_1oc_qeb._.js → _18y675s._.js} +2 -2
  342. package/standalone/.next/server/chunks/ssr/_19uhr89._.js +3 -0
  343. package/standalone/.next/server/chunks/ssr/_1at-ti0._.js +5 -0
  344. package/standalone/.next/server/chunks/ssr/_1b-tglm._.js +3 -0
  345. package/standalone/.next/server/chunks/ssr/_1boywnc._.js +9 -0
  346. package/standalone/.next/server/chunks/ssr/{_0u_x0oc._.js → _1btl6f6._.js} +2 -2
  347. package/standalone/.next/server/chunks/ssr/_1cbynbc._.js +21 -0
  348. package/standalone/.next/server/chunks/ssr/_1hjrtvv._.js +3 -0
  349. package/standalone/.next/server/chunks/ssr/_1i-_huq._.js +5 -0
  350. package/standalone/.next/server/chunks/ssr/_1j9bac7._.js +57 -0
  351. package/standalone/.next/server/chunks/ssr/{_13boc9b._.js → _1m3dqvf._.js} +2 -2
  352. package/standalone/.next/server/chunks/ssr/_1nbvse5._.js +3 -0
  353. package/standalone/.next/server/chunks/ssr/_1njj5e5._.js +25 -0
  354. package/standalone/.next/server/chunks/ssr/_1q_8hby._.js +3 -0
  355. package/standalone/.next/server/chunks/ssr/_1t1ka5b._.js +3 -0
  356. package/standalone/.next/server/chunks/ssr/_1unm3n-._.js +3 -0
  357. package/standalone/.next/server/chunks/ssr/_1vx8nbn._.js +3 -0
  358. package/standalone/.next/server/chunks/ssr/_1wpqpq_._.js +3 -0
  359. package/standalone/.next/server/chunks/ssr/{_0s-_f4k._.js → _1ws3tm8._.js} +3 -3
  360. package/standalone/.next/server/chunks/ssr/_1xoejuo._.js +3 -0
  361. package/standalone/.next/server/chunks/ssr/_1xwodxm._.js +26 -0
  362. package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +24 -17
  363. package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
  364. package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
  365. package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
  366. package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
  367. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1up2wai._.js +3 -0
  368. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-menu_dist_index_mjs_0r8d9ly._.js +3 -0
  369. package/standalone/.next/server/chunks/ssr/src_components_runs_run-detail-page_tsx_0eje87-._.js +1 -1
  370. package/standalone/.next/server/chunks/ssr/src_components_ui_195oosa._.js +3 -0
  371. package/standalone/.next/server/chunks/ssr/src_components_ui_198y4_o._.js +3 -0
  372. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  373. package/standalone/.next/server/next-font-manifest.js +1 -1
  374. package/standalone/.next/server/next-font-manifest.json +0 -4
  375. package/standalone/.next/server/pages/404.html +1 -1
  376. package/standalone/.next/server/pages/500.html +1 -1
  377. package/standalone/.next/server/server-reference-manifest.js +1 -1
  378. package/standalone/.next/server/server-reference-manifest.json +1 -1
  379. package/standalone/.next/static/chunks/{1_2kx7s8a2159.js → 06vdflmowpip6.js} +6 -6
  380. package/standalone/.next/static/chunks/07vuhvr-qtb7x.js +28 -0
  381. package/standalone/.next/static/chunks/{3z1isz179y8rv.js → 0_uexv6neli5u.js} +7 -7
  382. package/standalone/.next/static/chunks/0eo18i30uko5v.js +15 -0
  383. package/standalone/.next/static/chunks/0kmg7qlu8ytwf.js +59 -0
  384. package/standalone/.next/static/chunks/0knpwbhdkzti0.js +1 -0
  385. package/standalone/.next/static/chunks/{1jn5l9964tm_t.js → 0m5tuf_eivume.js} +5 -5
  386. package/standalone/.next/static/chunks/0mcuo36rz9j57.js +55 -0
  387. package/standalone/.next/static/chunks/0mpcmi3wv5r7o.js +53 -0
  388. package/standalone/.next/static/chunks/0n0dnronw8ezg.js +85 -0
  389. package/standalone/.next/static/chunks/0pn4p6w3w-j20.js +1 -0
  390. package/standalone/.next/static/chunks/{2yg_hcy-xlokr.js → 0pv0lqmzjn6ar.js} +11 -11
  391. package/standalone/.next/static/chunks/0wrm-zqne-dc8.js +9 -0
  392. package/standalone/.next/static/chunks/0xe08f4_etyy8.js +3 -0
  393. package/standalone/.next/static/chunks/1-byqle1eur_a.js +75 -0
  394. package/standalone/.next/static/chunks/127vn4wn5xo9p.js +49 -0
  395. package/standalone/.next/static/chunks/12te8dyw3x2bn.js +1 -0
  396. package/standalone/.next/static/chunks/17bq0x-xdn9o4.js +88 -0
  397. package/standalone/.next/static/chunks/19dkpj43f8v40.js +42 -0
  398. package/standalone/.next/static/chunks/1c42xu-oct3-l.js +1 -0
  399. package/standalone/.next/static/chunks/1g2nga-bvjlja.js +88 -0
  400. package/standalone/.next/static/chunks/1gkhfdfmj-oh0.js +43 -0
  401. package/standalone/.next/static/chunks/1k-_4gvcm-pyb.js +1 -0
  402. package/standalone/.next/static/chunks/1kjs_7sxvaxng.js +27 -0
  403. package/standalone/.next/static/chunks/1p730oe_-y1hj.js +1 -0
  404. package/standalone/.next/static/chunks/1pcc30ztgbtfp.js +34 -0
  405. package/standalone/.next/static/chunks/{0__52m82mb813.js → 1popvhaprqxtf.js} +1 -1
  406. package/standalone/.next/static/chunks/1rcjbru7lya3t.js +7 -0
  407. package/standalone/.next/static/chunks/1vgurgb3_kw0d.js +33 -0
  408. package/standalone/.next/static/chunks/{0s60he_e08soe.js → 1vhe4q0cd7aqp.js} +2 -2
  409. package/standalone/.next/static/chunks/1z4uktkhpz4vk.js +3 -0
  410. package/standalone/.next/static/chunks/21xk5pyunaike.js +120 -0
  411. package/standalone/.next/static/chunks/26nqjwc9aov2w.js +1 -0
  412. package/standalone/.next/static/chunks/28xkjksksnsd_.css +1 -0
  413. package/standalone/.next/static/chunks/299mqzsp8p9u8.js +1 -0
  414. package/standalone/.next/static/chunks/2aacfhrhmknxw.js +90 -0
  415. package/standalone/.next/static/chunks/2d6gk7-wy11nz.js +13 -0
  416. package/standalone/.next/static/chunks/2k5n-lawvi3o1.js +29 -0
  417. package/standalone/.next/static/chunks/{104wb_0lixxfp.js → 2lfmdc3eqlsl4.js} +17 -17
  418. package/standalone/.next/static/chunks/2m0zo09ce60t-.js +1 -0
  419. package/standalone/.next/static/chunks/2ouwnzrx0591e.js +54 -0
  420. package/standalone/.next/static/chunks/{24alljtl2n1j_.js → 2svylmgfm08d9.js} +6 -6
  421. package/standalone/.next/static/chunks/2ucnry1pj6sw1.js +64 -0
  422. package/standalone/.next/static/chunks/{0o8_x0u4fxie7.js → 2wgg-jr0osw4i.js} +2 -2
  423. package/standalone/.next/static/chunks/{3018mq1s5v8kz.js → 2wsr9efe8r8ng.js} +4 -4
  424. package/standalone/.next/static/chunks/2z1q99_-1kg93.js +3 -0
  425. package/standalone/.next/static/chunks/31809uzps9w9e.js +64 -0
  426. package/standalone/.next/static/chunks/31is47ulkcw19.js +37 -0
  427. package/standalone/.next/static/chunks/34_yps6ppoo5k.js +1 -0
  428. package/standalone/.next/static/chunks/34wlxu_g_2g1y.js +26 -0
  429. package/standalone/.next/static/chunks/3gsir-iueghp2.js +23 -0
  430. package/standalone/.next/static/chunks/3jkg8wqh5nnam.js +29 -0
  431. package/standalone/.next/static/chunks/3kly0o0iaeig-.js +24 -0
  432. package/standalone/.next/static/chunks/3nme8562ujl6t.js +1 -0
  433. package/standalone/.next/static/chunks/3sgrm30gdqnhj.js +1 -0
  434. package/standalone/.next/static/chunks/3txqwzevvzjhy.js +42 -0
  435. package/standalone/.next/static/chunks/3uhr-ha19zo61.js +23 -0
  436. package/standalone/.next/static/chunks/{1pjy8b30-wkw9.js → 3umkd0xpssc3q.js} +3 -3
  437. package/standalone/.next/static/chunks/43wopct538msd.js +1 -0
  438. package/standalone/.next/server/app/[locale]/action-center/page/app-paths-manifest.json +0 -3
  439. package/standalone/.next/server/app/[locale]/action-center/page/build-manifest.json +0 -16
  440. package/standalone/.next/server/app/[locale]/action-center/page/next-font-manifest.json +0 -11
  441. package/standalone/.next/server/app/[locale]/action-center/page/react-loadable-manifest.json +0 -1
  442. package/standalone/.next/server/app/[locale]/action-center/page/server-reference-manifest.json +0 -4
  443. package/standalone/.next/server/app/[locale]/action-center/page.js +0 -17
  444. package/standalone/.next/server/app/[locale]/action-center/page.js.map +0 -5
  445. package/standalone/.next/server/app/[locale]/action-center/page.js.nft.json +0 -1
  446. package/standalone/.next/server/app/[locale]/action-center/page_client-reference-manifest.js +0 -3
  447. package/standalone/.next/server/chunks/[root-of-the-server]__0d21gjd._.js +0 -3
  448. package/standalone/.next/server/chunks/[root-of-the-server]__0gq25kr._.js +0 -3
  449. package/standalone/.next/server/chunks/[root-of-the-server]__0h05dmh._.js +0 -3
  450. package/standalone/.next/server/chunks/[root-of-the-server]__0h1j7no._.js +0 -3
  451. package/standalone/.next/server/chunks/[root-of-the-server]__0kprqh4._.js +0 -3
  452. package/standalone/.next/server/chunks/[root-of-the-server]__0m0ckek._.js +0 -3
  453. package/standalone/.next/server/chunks/[root-of-the-server]__0m8pxlb._.js +0 -3
  454. package/standalone/.next/server/chunks/[root-of-the-server]__0nu8ev9._.js +0 -3
  455. package/standalone/.next/server/chunks/[root-of-the-server]__0p-zaud._.js +0 -3
  456. package/standalone/.next/server/chunks/[root-of-the-server]__0p0u8fq._.js +0 -3
  457. package/standalone/.next/server/chunks/[root-of-the-server]__0p6gqiv._.js +0 -3
  458. package/standalone/.next/server/chunks/[root-of-the-server]__0p7s2k3._.js +0 -3
  459. package/standalone/.next/server/chunks/[root-of-the-server]__0rq8991._.js +0 -3
  460. package/standalone/.next/server/chunks/[root-of-the-server]__0sogo1p._.js +0 -3
  461. package/standalone/.next/server/chunks/[root-of-the-server]__0to2fqa._.js +0 -3
  462. package/standalone/.next/server/chunks/[root-of-the-server]__0uhlj3h._.js +0 -3
  463. package/standalone/.next/server/chunks/[root-of-the-server]__0v6d64m._.js +0 -3
  464. package/standalone/.next/server/chunks/[root-of-the-server]__0vs241l._.js +0 -3
  465. package/standalone/.next/server/chunks/[root-of-the-server]__0wzgw0m._.js +0 -3
  466. package/standalone/.next/server/chunks/[root-of-the-server]__0x5d6lo._.js +0 -3
  467. package/standalone/.next/server/chunks/[root-of-the-server]__0xazzjb._.js +0 -3
  468. package/standalone/.next/server/chunks/[root-of-the-server]__0xqm3n9._.js +0 -3
  469. package/standalone/.next/server/chunks/[root-of-the-server]__0zorfix._.js +0 -3
  470. package/standalone/.next/server/chunks/[root-of-the-server]__1-ljnib._.js +0 -3
  471. package/standalone/.next/server/chunks/[root-of-the-server]__11-o845._.js +0 -3
  472. package/standalone/.next/server/chunks/[root-of-the-server]__13_u_ro._.js +0 -3
  473. package/standalone/.next/server/chunks/[root-of-the-server]__13qagj_._.js +0 -3
  474. package/standalone/.next/server/chunks/[root-of-the-server]__14yfzp0._.js +0 -3
  475. package/standalone/.next/server/chunks/[root-of-the-server]__15h5kmz._.js +0 -3
  476. package/standalone/.next/server/chunks/[root-of-the-server]__18eaxef._.js +0 -3
  477. package/standalone/.next/server/chunks/[root-of-the-server]__18fpgua._.js +0 -3
  478. package/standalone/.next/server/chunks/[root-of-the-server]__1_e5221._.js +0 -3
  479. package/standalone/.next/server/chunks/[root-of-the-server]__1_pozkw._.js +0 -3
  480. package/standalone/.next/server/chunks/[root-of-the-server]__1amawad._.js +0 -3
  481. package/standalone/.next/server/chunks/[root-of-the-server]__1b2duzg._.js +0 -3
  482. package/standalone/.next/server/chunks/[root-of-the-server]__1b5470b._.js +0 -3
  483. package/standalone/.next/server/chunks/[root-of-the-server]__1cvxm3-._.js +0 -3
  484. package/standalone/.next/server/chunks/[root-of-the-server]__1dhuc2g._.js +0 -3
  485. package/standalone/.next/server/chunks/[root-of-the-server]__1dx2vmk._.js +0 -3
  486. package/standalone/.next/server/chunks/[root-of-the-server]__1ekrk8d._.js +0 -3
  487. package/standalone/.next/server/chunks/[root-of-the-server]__1el0rwx._.js +0 -3
  488. package/standalone/.next/server/chunks/[root-of-the-server]__1ex9wz4._.js +0 -3
  489. package/standalone/.next/server/chunks/[root-of-the-server]__1ez1qjo._.js +0 -3
  490. package/standalone/.next/server/chunks/[root-of-the-server]__1flzhuq._.js +0 -3
  491. package/standalone/.next/server/chunks/[root-of-the-server]__1hgzt9m._.js +0 -3
  492. package/standalone/.next/server/chunks/[root-of-the-server]__1i48xcq._.js +0 -3
  493. package/standalone/.next/server/chunks/[root-of-the-server]__1im_7cr._.js +0 -3
  494. package/standalone/.next/server/chunks/[root-of-the-server]__1jypemo._.js +0 -3
  495. package/standalone/.next/server/chunks/[root-of-the-server]__1l9m5vm._.js +0 -3
  496. package/standalone/.next/server/chunks/[root-of-the-server]__1lc23sg._.js +0 -3
  497. package/standalone/.next/server/chunks/[root-of-the-server]__1m14-al._.js +0 -3
  498. package/standalone/.next/server/chunks/[root-of-the-server]__1m2x6-i._.js +0 -3
  499. package/standalone/.next/server/chunks/[root-of-the-server]__1mlmrbg._.js +0 -3
  500. package/standalone/.next/server/chunks/[root-of-the-server]__1mttyay._.js +0 -3
  501. package/standalone/.next/server/chunks/[root-of-the-server]__1obl6rm._.js +0 -3
  502. package/standalone/.next/server/chunks/[root-of-the-server]__1oh_afd._.js +0 -3
  503. package/standalone/.next/server/chunks/[root-of-the-server]__1ph5-o-._.js +0 -3
  504. package/standalone/.next/server/chunks/[root-of-the-server]__1qcqxk2._.js +0 -3
  505. package/standalone/.next/server/chunks/[root-of-the-server]__1qnaf-5._.js +0 -3
  506. package/standalone/.next/server/chunks/[root-of-the-server]__1s8pdh3._.js +0 -3
  507. package/standalone/.next/server/chunks/[root-of-the-server]__1sav-w6._.js +0 -3
  508. package/standalone/.next/server/chunks/[root-of-the-server]__1sb1p64._.js +0 -3
  509. package/standalone/.next/server/chunks/[root-of-the-server]__1trf87b._.js +0 -3
  510. package/standalone/.next/server/chunks/[root-of-the-server]__1v0kdi4._.js +0 -3
  511. package/standalone/.next/server/chunks/[root-of-the-server]__1vgd_cg._.js +0 -3
  512. package/standalone/.next/server/chunks/[root-of-the-server]__1w9gjd5._.js +0 -3
  513. package/standalone/.next/server/chunks/[root-of-the-server]__1wey7bg._.js +0 -3
  514. package/standalone/.next/server/chunks/[root-of-the-server]__1xcsuq_._.js +0 -3
  515. package/standalone/.next/server/chunks/[root-of-the-server]__1zo0vbv._.js +0 -3
  516. package/standalone/.next/server/chunks/[root-of-the-server]__1zshyzr._.js +0 -3
  517. package/standalone/.next/server/chunks/[root-of-the-server]__1zv9v9b._.js +0 -3
  518. package/standalone/.next/server/chunks/[root-of-the-server]__201fjv-._.js +0 -3
  519. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-_5urd._.js +0 -57
  520. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cej3c3._.js +0 -3
  521. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rxp26l._.js +0 -3
  522. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-mk318._.js +0 -15
  523. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ct2_y9._.js +0 -3
  524. package/standalone/.next/server/chunks/ssr/_02hx02h._.js +0 -25
  525. package/standalone/.next/server/chunks/ssr/_08_kyiv._.js +0 -15
  526. package/standalone/.next/server/chunks/ssr/_0cz9xwo._.js +0 -3
  527. package/standalone/.next/server/chunks/ssr/_0ec1szn._.js +0 -3
  528. package/standalone/.next/server/chunks/ssr/_0ix0h2m._.js +0 -3
  529. package/standalone/.next/server/chunks/ssr/_0j-5kz6._.js +0 -3
  530. package/standalone/.next/server/chunks/ssr/_0le21ue._.js +0 -3
  531. package/standalone/.next/server/chunks/ssr/_0uuh5ne._.js +0 -9
  532. package/standalone/.next/server/chunks/ssr/_0wo43jn._.js +0 -3
  533. package/standalone/.next/server/chunks/ssr/_0wt_-w_._.js +0 -3
  534. package/standalone/.next/server/chunks/ssr/_0y-bz5b._.js +0 -3
  535. package/standalone/.next/server/chunks/ssr/_0yk3h5c._.js +0 -3
  536. package/standalone/.next/server/chunks/ssr/_0zfjp5l._.js +0 -26
  537. package/standalone/.next/server/chunks/ssr/_1-3pbk9._.js +0 -3
  538. package/standalone/.next/server/chunks/ssr/_1-s8jib._.js +0 -10
  539. package/standalone/.next/server/chunks/ssr/_11-g9w5._.js +0 -3
  540. package/standalone/.next/server/chunks/ssr/_12ekas6._.js +0 -3
  541. package/standalone/.next/server/chunks/ssr/_16zlatv._.js +0 -21
  542. package/standalone/.next/server/chunks/ssr/_1a-x7w1._.js +0 -3
  543. package/standalone/.next/server/chunks/ssr/_1bgz3gf._.js +0 -29
  544. package/standalone/.next/server/chunks/ssr/_1c5bgm_._.js +0 -3
  545. package/standalone/.next/server/chunks/ssr/_1dwtoxe._.js +0 -3
  546. package/standalone/.next/server/chunks/ssr/_1fy4o1o._.js +0 -22
  547. package/standalone/.next/server/chunks/ssr/_1jqp1me._.js +0 -3
  548. package/standalone/.next/server/chunks/ssr/_1lcmi6f._.js +0 -3
  549. package/standalone/.next/server/chunks/ssr/_1lxr3mb._.js +0 -24
  550. package/standalone/.next/server/chunks/ssr/_1opkxfb._.js +0 -5
  551. package/standalone/.next/server/chunks/ssr/_1xbulhi._.js +0 -5
  552. package/standalone/.next/server/chunks/ssr/_1yctl8w._.js +0 -3
  553. package/standalone/.next/server/chunks/ssr/_210pgrk._.js +0 -3
  554. package/standalone/.next/server/chunks/ssr/_next-internal_server_app_[locale]_action-center_page_actions_13rr4o6.js +0 -3
  555. package/standalone/.next/server/chunks/ssr/node_modules_0k28hjd._.js +0 -3
  556. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_0zzd3o1._.js +0 -3
  557. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1gjv--k.js +0 -4
  558. package/standalone/.next/server/chunks/ssr/src_app_[locale]_page_tsx_00h-a9t._.js +0 -3
  559. package/standalone/.next/server/chunks/ssr/src_components_ui_0wr97kq._.js +0 -3
  560. package/standalone/.next/static/chunks/01oxnu86_we4m.js +0 -27
  561. package/standalone/.next/static/chunks/04bs8b3m4jjfr.js +0 -1
  562. package/standalone/.next/static/chunks/0556n0z5a2tir.js +0 -75
  563. package/standalone/.next/static/chunks/05r79mew_ttoh.js +0 -3
  564. package/standalone/.next/static/chunks/09jeps1e4upyd.js +0 -27
  565. package/standalone/.next/static/chunks/0f01o_texfoo2.js +0 -3
  566. package/standalone/.next/static/chunks/0g6kioy8mgt7g.js +0 -1
  567. package/standalone/.next/static/chunks/0mv6tgkxvot06.css +0 -1
  568. package/standalone/.next/static/chunks/0o6ubiw38_cix.js +0 -1
  569. package/standalone/.next/static/chunks/0qj_41gt1wo57.js +0 -1
  570. package/standalone/.next/static/chunks/0qq_ney086s74.js +0 -26
  571. package/standalone/.next/static/chunks/0tpuj0br2ze72.js +0 -1
  572. package/standalone/.next/static/chunks/0vetr9kzsvj8y.js +0 -27
  573. package/standalone/.next/static/chunks/0wegc5r-um7u_.js +0 -49
  574. package/standalone/.next/static/chunks/0xcxze4dn_g4k.js +0 -1
  575. package/standalone/.next/static/chunks/0z9rkj63eff65.js +0 -98
  576. package/standalone/.next/static/chunks/1-c5wiq8svvl6.js +0 -1
  577. package/standalone/.next/static/chunks/16vhqh6nwwd7k.js +0 -92
  578. package/standalone/.next/static/chunks/17sqvm2t_n5w8.js +0 -71
  579. package/standalone/.next/static/chunks/1fgowguozghfx.js +0 -7
  580. package/standalone/.next/static/chunks/1fkbsex7h55uj.js +0 -26
  581. package/standalone/.next/static/chunks/1qd5oxoewa3-m.js +0 -23
  582. package/standalone/.next/static/chunks/1sd9kcg_rkzsu.js +0 -1
  583. package/standalone/.next/static/chunks/1vnglbvh2-2hk.js +0 -1
  584. package/standalone/.next/static/chunks/1zejpj9ig77ly.js +0 -3
  585. package/standalone/.next/static/chunks/26gi3xhwq--4r.js +0 -59
  586. package/standalone/.next/static/chunks/29xjwnfybrwxv.js +0 -1
  587. package/standalone/.next/static/chunks/2gepmmzvedd5t.js +0 -79
  588. package/standalone/.next/static/chunks/2ib66g1yoqcp0.js +0 -80
  589. package/standalone/.next/static/chunks/2kc9nohdlg9t0.js +0 -1
  590. package/standalone/.next/static/chunks/2pbe_7ml0_4a_.js +0 -24
  591. package/standalone/.next/static/chunks/2ratgipwpyy-4.js +0 -54
  592. package/standalone/.next/static/chunks/2vwr8tr2n27dp.js +0 -28
  593. package/standalone/.next/static/chunks/2w3pt99tr43fi.js +0 -1
  594. package/standalone/.next/static/chunks/2yf79r7q699-j.js +0 -29
  595. package/standalone/.next/static/chunks/2zx_h2f_a9r1j.js +0 -1
  596. package/standalone/.next/static/chunks/2zy-2tckw0276.js +0 -23
  597. package/standalone/.next/static/chunks/3-f9ycmnsbdq8.js +0 -55
  598. package/standalone/.next/static/chunks/34vrejlxl0pra.js +0 -59
  599. package/standalone/.next/static/chunks/3_6xtrl0kow9e.js +0 -1
  600. package/standalone/.next/static/chunks/3bn48ltoik3ze.js +0 -27
  601. package/standalone/.next/static/chunks/3c5mb2oebs86p.js +0 -53
  602. package/standalone/.next/static/chunks/3d7uu4x6cmams.js +0 -15
  603. package/standalone/.next/static/chunks/3g2-dbo8jvfd9.js +0 -1
  604. package/standalone/.next/static/chunks/3n4fg78e0htw8.js +0 -13
  605. package/standalone/.next/static/chunks/3r79mip8vpj0u.js +0 -88
  606. package/standalone/.next/static/chunks/3t347msjxauue.js +0 -42
  607. package/standalone/.next/static/chunks/3xme7jwjj_ntj.js +0 -157
  608. package/standalone/.next/static/chunks/44xkvdnq-prf1.js +0 -9
  609. /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_buildManifest.js +0 -0
  610. /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_clientMiddlewareManifest.js +0 -0
  611. /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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])},967489,470152,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(174080);function o(e,[t,n]){return Math.min(n,Math.max(t,e))}e.s(["clamp",0,o],470152);var l=e.i(981140),i=e.i(75830),a=e.i(820783),s=e.i(30030),c=e.i(586318),u=e.i(726330),d=e.i(303536),p=e.i(765491),f=e.i(610772),v=e.i(853660),m=e.i(774606),h=e.i(296626),g=e.i(248425),x=e.i(991918),w=e.i(30207),S=e.i(369340),b=e.i(934620),y=e.i(959411),C=e.i(186312),j=e.i(985369),P=Object.defineProperty,I=(e,t)=>P(e,"name",{value:t,configurable:!0}),E=[" ","Enter","ArrowUp","ArrowDown"],R=[" ","Enter"],T="Select",[k,L,D]=(0,i.createCollection)(T),[H,M]=(0,s.createContextScope)(T,[D,v.createPopperScope]),_=(0,v.createPopperScope)(),[B,A]=H(T),[z,V]=H(T);function N(e){let{__scopeSelect:r,children:o,open:l,defaultOpen:i,onOpenChange:a,value:s,defaultValue:u,onValueChange:d,dir:p,name:m,autoComplete:h,disabled:g,required:x,form:w,internal_do_not_use_render:b}=e,y=_(r),[C,j]=n.useState(null),[P,E]=n.useState(null),[R,L]=n.useState(!1),D=(0,c.useDirection)(p),[H,M]=(0,S.useControllableState)({prop:l,defaultProp:i??!1,onChange:a,caller:T}),[A,V]=(0,S.useControllableState)({prop:s,defaultProp:u,onChange:d,caller:T}),N=n.useRef(null),F=n.useRef(A);n.useEffect(()=>{let e=w?C?.ownerDocument.getElementById(w):C?.form;if(e instanceof HTMLFormElement){let t=I(()=>V(F.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[w,C,V]);let O=!C||!!w||!!C.closest("form"),[U,K]=n.useState(new Set),W=(0,f.useId)(),G=Array.from(U).map(e=>e.props.value).join(";"),Y=n.useCallback(e=>{K(t=>new Set(t).add(e))},[]),q=n.useCallback(e=>{K(t=>{let n=new Set(t);return n.delete(e),n})},[]),X={required:x,trigger:C,onTriggerChange:j,valueNode:P,onValueNodeChange:E,valueNodeHasChildren:R,onValueNodeHasChildrenChange:L,contentId:W,value:A,onValueChange:V,open:H,onOpenChange:M,dir:D,triggerPointerDownPosRef:N,disabled:g,name:m,autoComplete:h,form:w,nativeOptions:U,nativeSelectKey:G,isFormControl:O};return(0,t.jsx)(v.Root,{...y,children:(0,t.jsx)(B,{scope:r,...X,children:(0,t.jsx)(k.Provider,{scope:r,children:(0,t.jsx)(z,{scope:r,onNativeOptionAdd:Y,onNativeOptionRemove:q,children:eI(b)?b(X):o})})})})}I(N,"SelectProvider");var F=I(e=>{let{__scopeSelect:n,children:r,...o}=e;return(0,t.jsx)(N,{__scopeSelect:n,...o,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[r,e?(0,t.jsx)(eP,{__scopeSelect:n}):null]})})},"Select"),O=n.forwardRef(I(function(e,r){let{__scopeSelect:o,disabled:i=!1,...s}=e,c=_(o),u=A("SelectTrigger",o),d=u.disabled||i,p=(0,a.useComposedRefs)(r,u.onTriggerChange),f=L(o),m=n.useRef("touch"),[h,x,w]=eR(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=eT(t,e,n);void 0!==r&&u.onValueChange(r.value)}),S=I(e=>{d||(u.onOpenChange(!0),w()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})},"handleOpen");return(0,t.jsx)(v.Anchor,{asChild:!0,...c,children:(0,t.jsx)(g.Primitive.button,{type:"button",role:"combobox","aria-controls":u.open?u.contentId:void 0,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":eE(u.value)?"":void 0,...s,ref:p,onClick:(0,l.composeEventHandlers)(s.onClick,e=>{e.currentTarget.focus(),"mouse"!==m.current&&S(e)}),onPointerDown:(0,l.composeEventHandlers)(s.onPointerDown,e=>{m.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(S(e),e.preventDefault())}),onKeyDown:(0,l.composeEventHandlers)(s.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||x(e.key),(!t||" "!==e.key)&&E.includes(e.key)&&(S(),e.preventDefault())})})})},"SelectTrigger")),U=n.forwardRef(I(function(e,r){let{__scopeSelect:o,className:l,style:i,children:s,placeholder:c="",...u}=e,d=A("SelectValue",o),{onValueNodeHasChildrenChange:p}=d,f=void 0!==s,v=(0,a.useComposedRefs)(r,d.onValueNodeChange);(0,b.useLayoutEffect)(()=>{p(f)},[p,f]);let m=eE(d.value);return(0,t.jsx)(g.Primitive.span,{...u,asChild:!m&&u.asChild,ref:v,style:{pointerEvents:"none"},children:(0,t.jsx)(n.Fragment,{children:m?c:s},m?"placeholder":"value")})},"SelectValue")),K=n.forwardRef(I(function(e,n){let{__scopeSelect:r,children:o,...l}=e;return(0,t.jsx)(g.Primitive.span,{"aria-hidden":!0,...l,ref:n,children:o||"▼"})},"SelectIcon")),[W,G]=H("SelectPortal",{forceMount:void 0}),Y=I(e=>{let{__scopeSelect:n,forceMount:r,...o}=e;return(0,t.jsx)(W,{scope:e.__scopeSelect,forceMount:r,children:(0,t.jsx)(m.Portal,{asChild:!0,...o})})},"SelectPortal"),q="SelectContent",X=n.forwardRef(I(function(e,r){let o=G(q,e.__scopeSelect),{forceMount:l=o.forceMount,...i}=e,a=A(q,e.__scopeSelect),[s,c]=n.useState();return(0,b.useLayoutEffect)(()=>{c(new DocumentFragment)},[]),(0,t.jsx)(h.Presence,{present:l||a.open,children:({present:e})=>e?(0,t.jsx)(ee,{...i,ref:r}):(0,t.jsx)(Z,{...i,fragment:s})})},"SelectContent")),Z=n.forwardRef(I(function(e,n){let{__scopeSelect:o,children:l,fragment:i}=e;return i?r.createPortal((0,t.jsx)(J,{scope:o,children:(0,t.jsx)(k.Slot,{scope:o,children:(0,t.jsx)("div",{ref:n,children:l})})}),i):null},"SelectContentFragment")),[J,Q]=H(q),$=(0,x.createSlot)("SelectContent.RemoveScroll"),ee=n.forwardRef(I(function(e,r){let{__scopeSelect:o}=e,{position:i="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:c,onPointerDownOutside:f,side:v,sideOffset:m,align:h,alignOffset:g,arrowPadding:x,collisionBoundary:w,collisionPadding:S,sticky:b,hideWhenDetached:y,avoidCollisions:P,...E}=e,R=A(q,o),[T,k]=n.useState(null),[D,H]=n.useState(null),M=(0,a.useComposedRefs)(r,k),[_,B]=n.useState(null),[z,V]=n.useState(null),N=L(o),[F,O]=n.useState(!1),U=n.useRef(!1);n.useEffect(()=>{if(T)return(0,C.hideOthers)(T)},[T]),(0,d.useFocusGuards)();let K=n.useCallback(e=>{let[t,...n]=N().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(n?.scrollIntoView({block:"nearest"}),n===t&&D&&(D.scrollTop=0),n===r&&D&&(D.scrollTop=D.scrollHeight),n?.focus(),document.activeElement!==o))return},[N,D]),W=n.useCallback(()=>K([_,T]),[K,_,T]);n.useEffect(()=>{F&&W()},[F,W]);let{onOpenChange:G,triggerPointerDownPosRef:Y}=R;n.useEffect(()=>{if(T){let e={x:0,y:0},t=I(t=>{e={x:Math.abs(Math.round(t.pageX)-(Y.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(Y.current?.y??0))}},"handlePointerMove"),n=I(n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(T)||G(!1),document.removeEventListener("pointermove",t),Y.current=null},"handlePointerUp");return null!==Y.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[T,G,Y]),n.useEffect(()=>{let e=I(()=>G(!1),"close");return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[G]);let[X,Z]=eR(e=>{let t=N().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eT(t,e,n);r&&setTimeout(()=>r.ref.current?.focus())}),Q=n.useCallback((e,t,n)=>{let r=!U.current&&!n;(void 0!==R.value&&R.value===t||r)&&(B(e),r&&(U.current=!0))},[R.value]),ee=n.useCallback(()=>T?.focus(),[T]),er=n.useCallback((e,t,n)=>{let r=!U.current&&!n;(void 0!==R.value&&R.value===t||r)&&V(e)},[R.value]),eo="popper"===i?en:et;return(0,t.jsx)(J,{scope:o,content:T,viewport:D,onViewportChange:H,itemRefCallback:Q,selectedItem:_,onItemLeave:ee,itemTextRefCallback:er,focusSelectedItem:W,selectedItemText:z,position:i,isPositioned:F,searchRef:X,children:(0,t.jsx)(j.RemoveScroll,{as:$,allowPinchZoom:!0,children:(0,t.jsx)(p.FocusScope,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.composeEventHandlers)(s,e=>{R.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,t.jsx)(eo,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...E,...eo===en?{side:v,sideOffset:m,align:h,alignOffset:g,arrowPadding:x,collisionBoundary:w,collisionPadding:S,sticky:b,hideWhenDetached:y,avoidCollisions:P}:{},onPlaced:()=>O(!0),ref:M,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:(0,l.composeEventHandlers)(E.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=N().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>K(t)),e.preventDefault()}})})})})})})},"SelectContentImpl")),et=n.forwardRef(I(function(e,r){let{__scopeSelect:l,onPlaced:i,...s}=e,c=A(q,l),u=Q(q,l),[d,p]=n.useState(null),[f,v]=n.useState(null),m=(0,a.useComposedRefs)(r,v),h=L(l),x=n.useRef(!1),w=n.useRef(!0),{viewport:S,selectedItem:y,selectedItemText:C,focusSelectedItem:j}=u,P=n.useCallback(()=>{if(c.trigger&&c.valueNode&&d&&f&&S&&y&&C){let e=c.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=c.valueNode.getBoundingClientRect(),r=C.getBoundingClientRect();if("rtl"!==c.dir){let l=r.left-t.left,i=n.left-l,a=e.left-i,s=e.width+a,c=Math.max(s,t.width),u=o(i,[10,Math.max(10,window.innerWidth-10-c)]);d.style.minWidth=s+"px",d.style.left=u+"px"}else{let l=t.right-r.right,i=window.innerWidth-n.right-l,a=window.innerWidth-e.right-i,s=e.width+a,c=Math.max(s,t.width),u=o(i,[10,Math.max(10,window.innerWidth-10-c)]);d.style.minWidth=s+"px",d.style.right=u+"px"}let l=h(),a=window.innerHeight-20,s=S.scrollHeight,u=window.getComputedStyle(f),p=parseInt(u.borderTopWidth,10),v=parseInt(u.paddingTop,10),m=parseInt(u.borderBottomWidth,10),g=p+v+s+parseInt(u.paddingBottom,10)+m,w=Math.min(5*y.offsetHeight,g),b=window.getComputedStyle(S),j=parseInt(b.paddingTop,10),P=parseInt(b.paddingBottom,10),I=e.top+e.height/2-10,E=y.offsetHeight/2,R=p+v+(y.offsetTop+E);if(R<=I){let e=l.length>0&&y===l[l.length-1].ref.current;d.style.bottom="0px";let t=Math.max(a-I,E+(e?P:0)+(f.clientHeight-S.offsetTop-S.offsetHeight)+m);d.style.height=R+t+"px"}else{let e=l.length>0&&y===l[0].ref.current;d.style.top="0px";let t=Math.max(I,p+S.offsetTop+(e?j:0)+E);d.style.height=t+(g-R)+"px",S.scrollTop=R-I+S.offsetTop}d.style.margin="10px 0",d.style.minHeight=w+"px",d.style.maxHeight=a+"px",i?.(),requestAnimationFrame(()=>x.current=!0)}},[h,c.trigger,c.valueNode,d,f,S,y,C,c.dir,i]);(0,b.useLayoutEffect)(()=>P(),[P]);let[I,E]=n.useState();(0,b.useLayoutEffect)(()=>{f&&E(window.getComputedStyle(f).zIndex)},[f]);let R=n.useCallback(e=>{e&&!0===w.current&&(P(),j?.(),w.current=!1)},[P,j]);return(0,t.jsx)(er,{scope:l,contentWrapper:d,shouldExpandOnScrollRef:x,onScrollButtonChange:R,children:(0,t.jsx)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:I},children:(0,t.jsx)(g.Primitive.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),en=n.forwardRef(I(function(e,n){let{__scopeSelect:r,align:o="start",collisionPadding:l=10,...i}=e,a=_(r);return(0,t.jsx)(v.Content,{...a,...i,ref:n,align:o,collisionPadding:l,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[er,eo]=H(q,{}),el="SelectViewport",ei=n.forwardRef(I(function(e,r){let{__scopeSelect:o,nonce:i,...s}=e,c=Q(el,o),u=eo(el,o),d=(0,a.useComposedRefs)(r,c.onViewportChange),p=n.useRef(0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,t.jsx)(k.Slot,{scope:o,children:(0,t.jsx)(g.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:(0,l.composeEventHandlers)(s.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if(r?.current&&n){let e=Math.abs(p.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<r){let l=o+e,i=Math.min(r,l),a=l-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})},"SelectViewport")),[ea,es]=H("SelectGroup"),ec=n.forwardRef(I(function(e,n){let{__scopeSelect:r,...o}=e,l=(0,f.useId)();return(0,t.jsx)(ea,{scope:r,id:l,children:(0,t.jsx)(g.Primitive.div,{role:"group","aria-labelledby":l,...o,ref:n})})},"SelectGroup")),eu=n.forwardRef(I(function(e,n){let{__scopeSelect:r,...o}=e,l=es("SelectLabel",r);return(0,t.jsx)(g.Primitive.div,{id:l.id,...o,ref:n})},"SelectLabel")),ed="SelectItem",[ep,ef]=H(ed),ev=n.forwardRef(I(function(e,r){let{__scopeSelect:o,value:i,disabled:s=!1,textValue:c,...u}=e,d=A(ed,o),p=Q(ed,o),v=d.value===i,[m,h]=n.useState(c??""),[x,S]=n.useState(!1),b=(0,w.useCallbackRef)(e=>p.itemRefCallback?.(e,i,s)),y=(0,a.useComposedRefs)(r,b),C=(0,f.useId)(),j=n.useRef("touch"),P=I(()=>{s||(d.onValueChange(i),d.onOpenChange(!1))},"handleSelect");return(0,t.jsx)(ep,{scope:o,value:i,disabled:s,textId:C,isSelected:v,onItemTextChange:n.useCallback(e=>{h(t=>t||(e?.textContent??"").trim())},[]),children:(0,t.jsx)(k.ItemSlot,{scope:o,value:i,disabled:s,textValue:m,children:(0,t.jsx)(g.Primitive.div,{role:"option","aria-labelledby":C,"data-highlighted":x?"":void 0,"aria-selected":v&&x,"data-state":v?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...u,ref:y,onFocus:(0,l.composeEventHandlers)(u.onFocus,()=>S(!0)),onBlur:(0,l.composeEventHandlers)(u.onBlur,()=>S(!1)),onClick:(0,l.composeEventHandlers)(u.onClick,()=>{"mouse"!==j.current&&P()}),onPointerUp:(0,l.composeEventHandlers)(u.onPointerUp,()=>{"mouse"===j.current&&P()}),onPointerDown:(0,l.composeEventHandlers)(u.onPointerDown,e=>{j.current=e.pointerType}),onPointerMove:(0,l.composeEventHandlers)(u.onPointerMove,e=>{j.current=e.pointerType,s?p.onItemLeave?.():"mouse"===j.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.composeEventHandlers)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:(0,l.composeEventHandlers)(u.onKeyDown,e=>{s||e.target!==e.currentTarget||(p.searchRef?.current===""||" "!==e.key)&&(R.includes(e.key)&&P()," "===e.key&&e.preventDefault())})})})})},"SelectItem")),em="SelectItemText",eh=n.forwardRef(I(function(e,o){let{__scopeSelect:l,className:i,style:s,...c}=e,u=A(em,l),d=Q(em,l),p=ef(em,l),f=V(em,l),[v,m]=n.useState(null),h=(0,w.useCallbackRef)(e=>d.itemTextRefCallback?.(e,p.value,p.disabled)),x=(0,a.useComposedRefs)(o,m,p.onItemTextChange,h),S=v?.textContent,y=n.useMemo(()=>(0,t.jsx)("option",{value:p.value,disabled:p.disabled,children:S},p.value),[p.disabled,p.value,S]),{onNativeOptionAdd:C,onNativeOptionRemove:j}=f;return(0,b.useLayoutEffect)(()=>(C(y),()=>j(y)),[C,j,y]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Primitive.span,{id:p.textId,...c,ref:x}),p.isSelected&&u.valueNode&&!u.valueNodeHasChildren&&!eE(u.value)?r.createPortal(c.children,u.valueNode):null]})},"SelectItemText")),eg=n.forwardRef(I(function(e,n){let{__scopeSelect:r,...o}=e;return ef("SelectItemIndicator",r).isSelected?(0,t.jsx)(g.Primitive.span,{"aria-hidden":!0,...o,ref:n}):null},"SelectItemIndicator")),ex="SelectScrollUpButton",ew=n.forwardRef(I(function(e,r){let o=Q(ex,e.__scopeSelect),l=eo(ex,e.__scopeSelect),[i,s]=n.useState(!1),c=(0,a.useComposedRefs)(r,l.onScrollButtonChange);return(0,b.useLayoutEffect)(()=>{if(o.viewport&&o.isPositioned){let e=function(){s(t.scrollTop>0)};I(e,"handleScroll");let t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),i?(0,t.jsx)(ey,{...e,ref:c,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null},"SelectScrollUpButton")),eS="SelectScrollDownButton",eb=n.forwardRef(I(function(e,r){let o=Q(eS,e.__scopeSelect),l=eo(eS,e.__scopeSelect),[i,s]=n.useState(!1),c=(0,a.useComposedRefs)(r,l.onScrollButtonChange);return(0,b.useLayoutEffect)(()=>{if(o.viewport&&o.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)};I(e,"handleScroll");let t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),i?(0,t.jsx)(ey,{...e,ref:c,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null},"SelectScrollDownButton")),ey=n.forwardRef(I(function(e,r){let{__scopeSelect:o,onAutoScroll:i,...a}=e,s=Q("SelectScrollButton",o),c=n.useRef(null),u=L(o),d=n.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return n.useEffect(()=>()=>d(),[d]),(0,b.useLayoutEffect)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,t.jsx)(g.Primitive.div,{"aria-hidden":!0,...a,ref:r,style:{flexShrink:0,...a.style},onPointerDown:(0,l.composeEventHandlers)(a.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(i,50))}),onPointerMove:(0,l.composeEventHandlers)(a.onPointerMove,()=>{s.onItemLeave?.(),null===c.current&&(c.current=window.setInterval(i,50))}),onPointerLeave:(0,l.composeEventHandlers)(a.onPointerLeave,()=>{d()})})},"SelectScrollButtonImpl")),eC=n.forwardRef(I(function(e,n){let{__scopeSelect:r,...o}=e;return(0,t.jsx)(g.Primitive.div,{"aria-hidden":!0,...o,ref:n})},"SelectSeparator")),ej=n.forwardRef(I(function(e,n){let{__scopeSelect:r,...o}=e,l=_(r);return"popper"===Q("SelectArrow",r).position?(0,t.jsx)(v.Arrow,{...l,...o,ref:n}):null},"SelectArrow")),eP=n.forwardRef(I(function({__scopeSelect:e,...r},o){let l,i=A("SelectBubbleInput",e),{value:s,onValueChange:c,required:u,disabled:d,name:p,autoComplete:f,form:v}=i,{nativeOptions:m,nativeSelectKey:h}=i,x=n.useRef(null),w=(0,a.useComposedRefs)(o,x),S=s??"",b=(l=n.useRef({value:S,previous:S}),n.useMemo(()=>(l.current.value!==S&&(l.current.previous=l.current.value,l.current.value=S),l.current.previous),[S])),C=Array.from(m).some(e=>(e.props.value??"")==="");return n.useEffect(()=>{let e=x.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(b!==S&&t){let n=new Event("change",{bubbles:!0});t.call(e,S),e.dispatchEvent(n)}},[b,S]),(0,t.jsxs)(g.Primitive.select,{"aria-hidden":!0,required:u,tabIndex:-1,name:p,autoComplete:f,disabled:d,form:v,onChange:e=>c(e.target.value),...r,style:{...y.VISUALLY_HIDDEN_STYLES,...r.style},ref:w,defaultValue:S,children:[eE(s)&&!C?(0,t.jsx)("option",{value:""}):null,Array.from(m)]},h)},"SelectBubbleInput"));function eI(e){return"function"==typeof e}function eE(e){return""===e||void 0===e}function eR(e){let t=(0,w.useCallbackRef)(e),r=n.useRef(""),o=n.useRef(0),l=n.useCallback(e=>{t(r.current+e)},[t]),i=n.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,l,i]}function eT(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,l=ek(e,Math.max(o,0));1===r.length&&(l=l.filter(e=>e!==n));let i=l.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return i!==n?i:void 0}function ek(e,t){return e.map((n,r)=>e[(t+r)%e.length])}I(eI,"isFunction"),I(eE,"shouldShowPlaceholder"),I(eR,"useTypeaheadSearch"),I(eT,"findNextItem"),I(ek,"wrapArray"),e.s(["Arrow",0,ej,"Content",0,X,"Group",0,ec,"Icon",0,K,"Item",0,ev,"ItemIndicator",0,eg,"ItemText",0,eh,"Label",0,eu,"Portal",0,Y,"Root",0,F,"ScrollDownButton",0,eb,"ScrollUpButton",0,ew,"Select",0,F,"SelectArrow",0,ej,"SelectContent",0,X,"SelectGroup",0,ec,"SelectIcon",0,K,"SelectItem",0,ev,"SelectItemIndicator",0,eg,"SelectItemText",0,eh,"SelectLabel",0,eu,"SelectPortal",0,Y,"SelectScrollDownButton",0,eb,"SelectScrollUpButton",0,ew,"SelectSeparator",0,eC,"SelectTrigger",0,O,"SelectValue",0,U,"SelectViewport",0,ei,"Separator",0,eC,"Trigger",0,O,"Value",0,U,"Viewport",0,ei,"createSelectScope",0,M,"unstable_BubbleInput",0,eP,"unstable_Provider",0,N,"unstable_SelectBubbleInput",0,eP,"unstable_SelectProvider",0,N],129402);var eL=e.i(129402),eL=eL,eD=e.i(975157),eH=e.i(26495),eH=eH,eM=e.i(593698),e_=e.i(144716),e_=e_;function eB({className:e,...n}){return(0,t.jsx)(eL.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,eD.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...n,children:(0,t.jsx)(e_.default,{})})}function eA({className:e,...n}){return(0,t.jsx)(eL.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,eD.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...n,children:(0,t.jsx)(eH.default,{})})}e.s(["Select",0,function({...e}){return(0,t.jsx)(eL.Root,{"data-slot":"select",...e})},"SelectContent",0,function({className:e,children:n,position:r="item-aligned",align:o="center",...l}){return(0,t.jsx)(eL.Portal,{children:(0,t.jsxs)(eL.Content,{"data-slot":"select-content","data-align-trigger":"item-aligned"===r,className:(0,eD.cn)("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 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","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,align:o,...l,children:[(0,t.jsx)(eB,{}),(0,t.jsx)(eL.Viewport,{"data-position":r,className:(0,eD.cn)("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===r&&""),children:n}),(0,t.jsx)(eA,{})]})})},"SelectItem",0,function({className:e,children:n,...r}){return(0,t.jsxs)(eL.Item,{"data-slot":"select-item",className:(0,eD.cn)("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...r,children:[(0,t.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:(0,t.jsx)(eL.ItemIndicator,{children:(0,t.jsx)(eM.CheckIcon,{className:"pointer-events-none"})})}),(0,t.jsx)(eL.ItemText,{children:n})]})},"SelectTrigger",0,function({className:e,size:n="default",children:r,...o}){return(0,t.jsxs)(eL.Trigger,{"data-slot":"select-trigger","data-size":n,className:(0,eD.cn)("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none 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 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[r,(0,t.jsx)(eL.Icon,{asChild:!0,children:(0,t.jsx)(eH.default,{className:"pointer-events-none size-4 text-muted-foreground"})})]})},"SelectValue",0,function({...e}){return(0,t.jsx)(eL.Value,{"data-slot":"select-value",...e})}],967489)},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)}]);
@@ -1,13 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},566595,e=>{"use strict";var t=e.i(630299);e.s(["Search",()=>t.default])},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)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),l=e.i(30030),r=e.i(820783),s=e.i(326999),i=e.i(981140),o=Object.defineProperty,n=(e,t)=>o(e,"name",{value:t,configurable:!0}),[d,c]=(0,l.createContextScope)("AlertDialog",[s.createDialogScope]),u=(0,s.createDialogScope)(),p=n(e=>{let{__scopeAlertDialog:a,...l}=e,r=u(a);return(0,t.jsx)(s.Root,{...r,...l,modal:!0})},"AlertDialog"),g=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,i=u(l);return(0,t.jsx)(s.Trigger,{...i,...r,ref:a})},"AlertDialogTrigger")),x=n(e=>{let{__scopeAlertDialog:a,...l}=e,r=u(a);return(0,t.jsx)(s.Portal,{...r,...l})},"AlertDialogPortal"),f=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,i=u(l);return(0,t.jsx)(s.Overlay,{...i,...r,ref:a})},"AlertDialogOverlay")),[m,h]=d("AlertDialogContent"),j=a.forwardRef(n(function(e,l){let{__scopeAlertDialog:o,children:n,...d}=e,c=u(o),p=a.useRef(null),g=(0,r.useComposedRefs)(l,p),x=a.useRef(null);return(0,t.jsx)(m,{scope:o,cancelRef:x,children:(0,t.jsx)(s.Content,{role:"alertdialog",...c,...d,ref:g,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),x.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:n})})},"AlertDialogContent")),v=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,i=u(l);return(0,t.jsx)(s.Title,{...i,...r,ref:a})},"AlertDialogTitle")),k=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,i=u(l);return(0,t.jsx)(s.Description,{...i,...r,ref:a})},"AlertDialogDescription")),C=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,i=u(l);return(0,t.jsx)(s.Close,{...i,...r,ref:a})},"AlertDialogAction")),y=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...i}=e,{cancelRef:o}=h("AlertDialogCancel",l),n=u(l),d=(0,r.useComposedRefs)(a,o);return(0,t.jsx)(s.Close,{...n,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,C,"AlertDialog",0,p,"AlertDialogAction",0,C,"AlertDialogCancel",0,y,"AlertDialogContent",0,j,"AlertDialogDescription",0,k,"AlertDialogOverlay",0,f,"AlertDialogPortal",0,x,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,g,"Cancel",0,y,"Content",0,j,"Description",0,k,"Overlay",0,f,"Portal",0,x,"Root",0,p,"Title",0,v,"Trigger",0,g,"createAlertDialogScope",0,c],691162);var S=e.i(691162),S=S,w=e.i(975157),D=e.i(519455);function b({...e}){return(0,t.jsx)(S.Root,{"data-slot":"alert-dialog",...e})}function A({...e}){return(0,t.jsx)(S.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function N({...e}){return(0,t.jsx)(S.Portal,{"data-slot":"alert-dialog-portal",...e})}function R({className:e,...a}){return(0,t.jsx)(S.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,w.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function O({className:e,size:a="default",...l}){return(0,t.jsxs)(N,{children:[(0,t.jsx)(R,{}),(0,t.jsx)(S.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,w.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),...l})]})}function z({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,w.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function T({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,w.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function L({className:e,...a}){return(0,t.jsx)(S.Title,{"data-slot":"alert-dialog-title",className:(0,w.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function G({className:e,...a}){return(0,t.jsx)(S.Description,{"data-slot":"alert-dialog-description",className:(0,w.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function P({className:e,variant:a="default",size:l="default",...r}){return(0,t.jsx)(D.Button,{variant:a,size:l,asChild:!0,children:(0,t.jsx)(S.Action,{"data-slot":"alert-dialog-action",className:(0,w.cn)(e),...r})})}function $({className:e,variant:a="outline",size:l="default",...r}){return(0,t.jsx)(D.Button,{variant:a,size:l,asChild:!0,children:(0,t.jsx)(S.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,w.cn)(e),...r})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:l,onConfirm:r,onOpenChange:s,open:i,title:o,trigger:n}){return(0,t.jsxs)(b,{onOpenChange:s,open:i,children:[n&&(0,t.jsx)(A,{asChild:!0,children:n}),(0,t.jsxs)(O,{children:[(0,t.jsxs)(z,{children:[(0,t.jsx)(L,{children:o}),(0,t.jsx)(G,{children:l})]}),(0,t.jsxs)(T,{children:[(0,t.jsx)($,{children:a}),(0,t.jsx)(P,{onClick:()=>void r(),variant:"destructive",children:e})]})]})]})}],340953)},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)},753327,e=>{"use strict";var t=e.i(843476),a=e.i(711241),l=e.i(741120),r=e.i(856522),s=e.i(566595),i=e.i(573474),o=e.i(948148),n=e.i(271645),d=e.i(340953),c=e.i(929592),u=e.i(519455),p=e.i(515288),g=e.i(257428),x=e.i(793479),f=e.i(110204),m=e.i(987968),h=e.i(520133),j=e.i(637611);e.s(["SkillGroupDetailPage",0,function({groupId:e}){let v=(0,o.useTranslations)("skills"),k=(0,h.useRouter)(),[C,y]=(0,n.useState)(null),[S,w]=(0,n.useState)([]),[D,b]=(0,n.useState)([]),[A,N]=(0,n.useState)(""),[R,O]=(0,n.useState)([]),[z,T]=(0,n.useState)([]),[L,G]=(0,n.useState)(""),[P,$]=(0,n.useState)(""),[I,M]=(0,n.useState)(!0),[B,H]=(0,n.useState)(!1),[E,q]=(0,n.useState)(null),F=(0,n.useCallback)(async()=>{try{let t=await (0,j.controlPlaneRequest)(`query SkillGroupDetail { skillsOverview {
2
- groups {
3
- id name
4
- skills { id name description }
5
- repositories { id name displayOrigin }
6
- }
7
- skills { id name description syncGlobally packageHash updatedAt files { id path } groups { id name } }
8
- repositories { id name displayOrigin }
9
- } }`),a=t.skillsOverview.groups.find(t=>t.id===e);if(!a)throw Error(v("groupNotFound"));y(a),N(a.name),O(a.skills?.map(e=>e.id)??[]),T(a.repositories?.map(e=>e.id)??[]),w(t.skillsOverview.skills),b(t.skillsOverview.repositories)}catch(e){q(e instanceof Error?e.message:String(e))}finally{M(!1)}},[e,v]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void F(),0);return()=>window.clearTimeout(e)},[F]);let _=(0,n.useMemo)(()=>S.filter(e=>`${e.name} ${e.description}`.toLocaleLowerCase().includes(L.toLocaleLowerCase())),[L,S]),U=(0,n.useMemo)(()=>D.filter(e=>`${e.name} ${e.displayOrigin}`.toLocaleLowerCase().includes(P.toLocaleLowerCase())),[D,P]),K=async()=>{H(!0);try{await (0,j.controlPlaneRequest)(`mutation SaveSkillGroup($input: SaveSkillGroupInput!) {
10
- saveSkillGroup(input: $input) { id name }
11
- }`,{input:{id:e,name:A,skillIds:R,repositoryIds:z}}),await F()}catch(e){q(e instanceof Error?e.message:String(e))}finally{H(!1)}},V=async()=>{H(!0);try{let t=await (0,j.controlPlaneRequest)(`mutation SyncSkillGroup($groupId: ID!) {
12
- prepareSkillSync(kind: GROUP, groupId: $groupId) { id }
13
- }`,{groupId:e});k.push(`/skills/sync/${t.prepareSkillSync.id}`)}catch(e){q(e instanceof Error?e.message:String(e)),H(!1)}},J=async()=>{H(!0);try{await (0,j.controlPlaneRequest)("mutation DeleteSkillGroup($id: ID!) { deleteSkillGroup(id: $id) }",{id:e}),k.push("/skills/groups")}catch(e){q(e instanceof Error?e.message:String(e)),H(!1)}};return I||!C?(0,t.jsxs)("div",{className:"flex gap-2 p-6 text-sm text-muted-foreground",children:[(0,t.jsx)(m.Spinner,{})," ",v("loadingGroup")]}):(0,t.jsxs)("div",{className:"flex h-full min-h-0 flex-col gap-4 overflow-auto p-4 sm:p-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(u.Button,{asChild:!0,size:"icon",variant:"ghost",children:(0,t.jsx)(h.Link,{"aria-label":v("backToGroups"),href:"/skills/groups",children:(0,t.jsx)(a.ArrowLeft,{})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:C.name}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:v("groupSettingsDescription")})]})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(d.ConfirmationDialog,{actionLabel:v("delete"),cancelLabel:v("cancel"),description:v("deleteGroupDescription",{name:C.name}),onConfirm:J,title:v("deleteGroup"),trigger:(0,t.jsxs)(u.Button,{disabled:B,variant:"destructive",children:[(0,t.jsx)(i.Trash2,{})," ",v("delete")]})}),(0,t.jsxs)(u.Button,{disabled:B,onClick:()=>void V(),variant:"outline",children:[(0,t.jsx)(l.RefreshCw,{})," ",v("syncGroup")]}),(0,t.jsxs)(u.Button,{disabled:B,onClick:()=>void K(),children:[B?(0,t.jsx)(m.Spinner,{}):(0,t.jsx)(r.Save,{})," ",v("saveGroup")]})]})]}),E&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:E})}),(0,t.jsx)(p.Card,{children:(0,t.jsx)(p.CardContent,{children:(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(f.Label,{htmlFor:"skill-group-name",children:v("name")}),(0,t.jsx)(x.Input,{id:"skill-group-name",maxLength:80,onChange:e=>N(e.target.value),value:A})]})})}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsxs)(p.Card,{children:[(0,t.jsx)(p.CardHeader,{children:(0,t.jsx)(p.CardTitle,{children:v("groupSkills")})}),(0,t.jsxs)(p.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.Search,{className:"absolute top-2.5 left-3 size-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{className:"pl-9",onChange:e=>G(e.target.value),placeholder:v("searchSkills"),value:L})]}),(0,t.jsx)("div",{className:"max-h-96 space-y-1 overflow-auto",children:_.map(e=>(0,t.jsxs)("label",{className:"flex items-start gap-3 rounded-md border p-3",children:[(0,t.jsx)(g.Checkbox,{checked:R.includes(e.id),onCheckedChange:t=>O(a=>!0===t?[...new Set([...a,e.id])]:a.filter(t=>t!==e.id))}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block font-medium",children:e.name}),(0,t.jsx)("span",{className:"block text-xs text-muted-foreground",children:e.description})]})]},e.id))})]})]}),(0,t.jsxs)(p.Card,{children:[(0,t.jsx)(p.CardHeader,{children:(0,t.jsx)(p.CardTitle,{children:v("groupRepositories")})}),(0,t.jsxs)(p.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.Search,{className:"absolute top-2.5 left-3 size-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{className:"pl-9",onChange:e=>$(e.target.value),placeholder:v("searchRepositories"),value:P})]}),(0,t.jsx)("div",{className:"max-h-96 space-y-1 overflow-auto",children:U.map(e=>(0,t.jsxs)("label",{className:"flex items-start gap-3 rounded-md border p-3",children:[(0,t.jsx)(g.Checkbox,{checked:z.includes(e.id),onCheckedChange:t=>T(a=>!0===t?[...new Set([...a,e.id])]:a.filter(t=>t!==e.id))}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block font-medium",children:e.name}),(0,t.jsx)("span",{className:"block text-xs text-muted-foreground",children:e.displayOrigin})]})]},e.id))})]})]})]})]})}])}]);
@@ -1,88 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,489002,e=>{"use strict";let t=(0,e.i(456420).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"}]]);e.s(["CircleStop",0,t],489002)},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...s})})},"TableBody",0,function({className:e,...s}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...s})},"TableCell",0,function({className:e,...s}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...s})},"TableFooter",0,function({className:e,...s}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...s})},"TableHead",0,function({className:e,...s}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...s})},"TableHeader",0,function({className:e,...s}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...s})},"TableRow",0,function({className:e,...s}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...s})}])},755838,(e,t,r)=>{"use strict";var s=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=s.useState,o=s.useEffect,l=s.useLayoutEffect,i=s.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),s=a({inst:{value:r,getSnapshot:t}}),n=s[0].inst,c=s[1];return l(function(){n.value=r,n.getSnapshot=t,u(n)&&c({inst:n})},[e,r,t]),o(function(){return u(n)&&c({inst:n}),e(function(){u(n)&&c({inst:n})})},[e]),i(r),r};r.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:c},802239,(e,t,r)=>{"use strict";t.exports=e.r(755838)},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(30030),n=e.i(820783),a=e.i(326999),o=e.i(981140),l=Object.defineProperty,i=(e,t)=>l(e,"name",{value:t,configurable:!0}),[u,c]=(0,s.createContextScope)("AlertDialog",[a.createDialogScope]),d=(0,a.createDialogScope)(),p=i(e=>{let{__scopeAlertDialog:r,...s}=e,n=d(r);return(0,t.jsx)(a.Root,{...n,...s,modal:!0})},"AlertDialog"),m=r.forwardRef(i(function(e,r){let{__scopeAlertDialog:s,...n}=e,o=d(s);return(0,t.jsx)(a.Trigger,{...o,...n,ref:r})},"AlertDialogTrigger")),f=i(e=>{let{__scopeAlertDialog:r,...s}=e,n=d(r);return(0,t.jsx)(a.Portal,{...n,...s})},"AlertDialogPortal"),h=r.forwardRef(i(function(e,r){let{__scopeAlertDialog:s,...n}=e,o=d(s);return(0,t.jsx)(a.Overlay,{...o,...n,ref:r})},"AlertDialogOverlay")),[x,g]=u("AlertDialogContent"),w=r.forwardRef(i(function(e,s){let{__scopeAlertDialog:l,children:i,...u}=e,c=d(l),p=r.useRef(null),m=(0,n.useComposedRefs)(s,p),f=r.useRef(null);return(0,t.jsx)(x,{scope:l,cancelRef:f,children:(0,t.jsx)(a.Content,{role:"alertdialog",...c,...u,ref:m,onOpenAutoFocus:(0,o.composeEventHandlers)(u.onOpenAutoFocus,e=>{e.preventDefault(),f.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:i})})},"AlertDialogContent")),b=r.forwardRef(i(function(e,r){let{__scopeAlertDialog:s,...n}=e,o=d(s);return(0,t.jsx)(a.Title,{...o,...n,ref:r})},"AlertDialogTitle")),j=r.forwardRef(i(function(e,r){let{__scopeAlertDialog:s,...n}=e,o=d(s);return(0,t.jsx)(a.Description,{...o,...n,ref:r})},"AlertDialogDescription")),y=r.forwardRef(i(function(e,r){let{__scopeAlertDialog:s,...n}=e,o=d(s);return(0,t.jsx)(a.Close,{...o,...n,ref:r})},"AlertDialogAction")),R=r.forwardRef(i(function(e,r){let{__scopeAlertDialog:s,...o}=e,{cancelRef:l}=g("AlertDialogCancel",s),i=d(s),u=(0,n.useComposedRefs)(r,l);return(0,t.jsx)(a.Close,{...i,...o,ref:u})},"AlertDialogCancel"));e.s(["Action",0,y,"AlertDialog",0,p,"AlertDialogAction",0,y,"AlertDialogCancel",0,R,"AlertDialogContent",0,w,"AlertDialogDescription",0,j,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,f,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,m,"Cancel",0,R,"Content",0,w,"Description",0,j,"Overlay",0,h,"Portal",0,f,"Root",0,p,"Title",0,b,"Trigger",0,m,"createAlertDialogScope",0,c],691162);var k=e.i(691162),k=k,I=e.i(975157),S=e.i(519455);function v({...e}){return(0,t.jsx)(k.Root,{"data-slot":"alert-dialog",...e})}function D({...e}){return(0,t.jsx)(k.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function A({...e}){return(0,t.jsx)(k.Portal,{"data-slot":"alert-dialog-portal",...e})}function C({className:e,...r}){return(0,t.jsx)(k.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 N({className:e,size:r="default",...s}){return(0,t.jsxs)(A,{children:[(0,t.jsx)(C,{}),(0,t.jsx)(k.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),...s})]})}function $({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 T({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 E({className:e,...r}){return(0,t.jsx)(k.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 P({className:e,...r}){return(0,t.jsx)(k.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 q({className:e,variant:r="default",size:s="default",...n}){return(0,t.jsx)(S.Button,{variant:r,size:s,asChild:!0,children:(0,t.jsx)(k.Action,{"data-slot":"alert-dialog-action",className:(0,I.cn)(e),...n})})}function W({className:e,variant:r="outline",size:s="default",...n}){return(0,t.jsx)(S.Button,{variant:r,size:s,asChild:!0,children:(0,t.jsx)(k.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,I.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:s,onConfirm:n,onOpenChange:a,open:o,title:l,trigger:i}){return(0,t.jsxs)(v,{onOpenChange:a,open:o,children:[i&&(0,t.jsx)(D,{asChild:!0,children:i}),(0,t.jsxs)(N,{children:[(0,t.jsxs)($,{children:[(0,t.jsx)(E,{children:l}),(0,t.jsx)(P,{children:s})]}),(0,t.jsxs)(T,{children:[(0,t.jsx)(W,{children:r}),(0,t.jsx)(q,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},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])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},328523,e=>{"use strict";let t=(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"}]]);e.s(["Pause",0,t],328523)},9197,e=>{"use strict";var t=e.i(843476),r=e.i(328523),s=e.i(515281),n=e.i(21357),a=e.i(395925),o=e.i(856522),l=e.i(573474),i=e.i(948148),u=e.i(271645),c=e.i(929592),d=e.i(487486),p=e.i(519455),m=e.i(257428),f=e.i(776639),h=e.i(793479),x=e.i(110204),g=e.i(967489),w=e.i(987968),b=e.i(808562),j=e.i(637611);let y=`
2
- id scope codebaseRepositoryId repositoryGithubId worktreeId branch pullRequestNumber
3
- allWorkflows mode retryLimit failureStrategy status enabled lastError createdAt updatedAt
4
- targets { id workflowId workflowRunId jobName }
5
- executions { id workflowRunId workflowId targetKey status observedAttempt automaticRetries lastStatus lastError updatedAt }
6
- `;e.s(["AutoRetryDialog",0,function({codebaseRepositoryId:e,repositoryGithubId:R,currentRuns:k=[],allowFuture:I=!1,worktreeId:S,branch:v,pullRequestNumber:D,repositoryMode:A=!1,requestSource:C,trigger:N}){let $=(0,i.useTranslations)("githubAutomation"),[T,E]=(0,u.useState)(!1),[P,q]=(0,u.useState)(!0),[W,M]=(0,u.useState)(!1),[L,O]=(0,u.useState)(null),[G,H]=(0,u.useState)([]),[B,U]=(0,u.useState)(null),[z,K]=(0,u.useState)(!1),[F,_]=(0,u.useState)([]),[J,V]=(0,u.useState)(k),[Q,Y]=(0,u.useState)(A),[X,Z]=(0,u.useState)(A),[ee,et]=(0,u.useState)(new Set),[er,es]=(0,u.useState)("FAILURE"),[en,ea]=(0,u.useState)("3"),[eo,el]=(0,u.useState)(!1),[ei,eu]=(0,u.useState)("FAILED_JOBS"),ec=(0,u.useRef)(k),ed=(0,u.useRef)(!1);(0,u.useEffect)(()=>{ec.current=k},[k]);let ep=(0,u.useCallback)(async()=>{let t=await (0,j.controlPlaneRequest)(`query GitHubAutoRetryRules($codebaseRepositoryId: ID) {
7
- githubSettings { tokenConfigured }
8
- githubAppSettings { configured actionsPermission }
9
- githubAutoRetryRules(codebaseRepositoryId: $codebaseRepositoryId) { ${y} }
10
- }`,{codebaseRepositoryId:e});H(t.githubAutoRetryRules),K(t.githubSettings.tokenConfigured&&t.githubAppSettings.configured&&"write"===t.githubAppSettings.actionsPermission)},[e]),em=(0,u.useCallback)(async()=>{_((await (0,j.controlPlaneRequest)(`query GitHubRepositoryWorkflows($codebaseRepositoryId: ID!, $source: GitHubRequestSource!) {
11
- githubRepositoryWorkflows(source: $source, codebaseRepositoryId: $codebaseRepositoryId) {
12
- id name path state url jobNames
13
- }
14
- }`,{codebaseRepositoryId:e,source:C})).githubRepositoryWorkflows)},[e,C]),ef=(0,u.useCallback)(async()=>{ed.current||q(!0),O(null);try{await ep(),A&&await em();let t=await Promise.all(ec.current.map(async t=>{if(t.jobs?.length)return t;try{let r=await (0,j.controlPlaneRequest)(`query AutoRetryWorkflowJobs($repositoryId: ID!, $workflowRunId: ID!, $source: GitHubRequestSource!) {
15
- githubActionsWorkflowJobs(
16
- source: $source
17
- codebaseRepositoryId: $repositoryId
18
- workflowRunId: $workflowRunId
19
- ) { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }
20
- }`,{repositoryId:e,workflowRunId:t.id,source:C});return{...t,jobs:r.githubActionsWorkflowJobs}}catch{return t}}));V(t),A||et(e=>e.size?e:new Set(t.map(e=>`workflow:${e.id}`)))}catch(e){O(e instanceof Error?e.message:String(e))}finally{ed.current=!0,q(!1)}},[e,em,ep,A,C]);(0,u.useEffect)(()=>{if(!T)return;let e=window.setTimeout(()=>void ef(),0),t=window.setInterval(()=>void ep().catch(()=>void 0),1e4);return()=>{window.clearTimeout(e),window.clearInterval(t)}},[ef,T,ep]);let eh=(0,u.useMemo)(()=>Q?F.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)??[]})),[Q,J,F]),ex=(0,u.useMemo)(()=>{let e=new Set(J.map(e=>e.id));return G.filter(t=>"WORKFLOW_RUN"===t.scope?t.targets.some(t=>t.workflowRunId&&e.has(t.workflowRunId)):A?"REPOSITORY"===t.scope:D?"PULL_REQUEST"===t.scope&&t.pullRequestNumber===D:"WORKTREE_BRANCH"===t.scope&&t.worktreeId===S)},[J,D,A,G,S]),eg=async()=>{let t=eo&&"FAILURE"===er?null:Number(en);if(null!==t&&(!Number.isInteger(t)||t<1||t>100))return void O($("limitError"));let r=[];for(let e of eh){let t=`workflow:${e.id}`;if(ee.has(t)){r.push({workflowId:e.workflowId,workflowRunId:Q?null:e.id,jobName:null});continue}for(let t of e.jobNames)ee.has(`job:${e.id}:${t}`)&&r.push({workflowId:e.workflowId,workflowRunId:Q?null:e.id,jobName:t})}if(!X&&0===r.length)return void O($("targetRequired"));let s=A?"REPOSITORY":Q&&D?"PULL_REQUEST":Q?"WORKTREE_BRANCH":"WORKFLOW_RUN";M(!0);try{await (0,j.controlPlaneRequest)(`mutation SaveGitHubAutoRetryRule($input: SaveGitHubAutoRetryRuleInput!) {
21
- saveGitHubAutoRetryRule(input: $input) { ${y} }
22
- }`,{input:{id:B,scope:s,codebaseRepositoryId:e,repositoryGithubId:R??null,worktreeId:Q?S??null:null,branch:Q?v??null:null,pullRequestNumber:Q?D??null:null,allWorkflows:Q&&X,mode:er,retryLimit:t,failureStrategy:ei,targets:r}}),O(null),U(null),await ep()}catch(e){O(e instanceof Error?e.message:String(e))}finally{M(!1)}},ew=async e=>{try{await (0,j.controlPlaneRequest)(`mutation SetGitHubAutoRetryRuleEnabled($id: ID!, $enabled: Boolean!) {
23
- setGitHubAutoRetryRuleEnabled(id: $id, enabled: $enabled) { id enabled status }
24
- }`,{id:e.id,enabled:!e.enabled}),await ep()}catch(e){O(e instanceof Error?e.message:String(e))}},eb=async e=>{try{await (0,j.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await ep()}catch(e){O(e instanceof Error?e.message:String(e))}},ej=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===F.length){q(!0),O(null);try{await em()}catch(e){O(e instanceof Error?e.message:String(e));return}finally{q(!1)}}U(e.id),Y(t),Z(e.allWorkflows),es(e.mode),ea(String(e.retryLimit??3)),el("FAILURE"===e.mode&&null===e.retryLimit),eu(e.failureStrategy),et(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)(f.Dialog,{onOpenChange:E,open:T,children:[(0,t.jsx)(f.DialogTrigger,{asChild:!0,children:N??(0,t.jsxs)(p.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(a.RotateCcw,{})," ",$("autoRetry")]})}),(0,t.jsxs)(f.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(f.DialogHeader,{children:[(0,t.jsx)(f.DialogTitle,{children:$("title")}),(0,t.jsx)(f.DialogDescription,{children:$("description")})]}),L?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:L})}):null,P?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(w.Spinner,{})," ",$("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[z?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:$("credentialsRequired")})}),I&&!A?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:$("scope")}),(0,t.jsxs)(b.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;Y(t),Z(t),t&&0===F.length&&em().catch(e=>O(e instanceof Error?e.message:String(e))),et(t?new Set:new Set(J.map(e=>`workflow:${e.id}`)))},type:"single",value:Q?"future":"current",variant:"outline",children:[(0,t.jsx)(b.ToggleGroupItem,{value:"current",children:$("currentRuns")}),(0,t.jsx)(b.ToggleGroupItem,{value:"future",children:$("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:$("targets")}),Q?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(m.Checkbox,{checked:X,onCheckedChange:e=>Z(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:$("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)(m.Checkbox,{checked:ee.has(`workflow:${e.id}`),onCheckedChange:t=>{var r,s;return r=e.id,s=!0===t,void et(e=>{let t=new Set(e),n=`workflow:${r}`;if(s)for(let e of(t.add(n),t))e.startsWith(`job:${r}:`)&&t.delete(e);else t.delete(n);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)(m.Checkbox,{checked:ee.has(`job:${e.id}:${r}`),onCheckedChange:t=>{var s,n;return s=e.id,n=!0===t,void et(e=>{let t=new Set(e);t.delete(`workflow:${s}`);let a=`job:${s}:${r}`;return n?t.add(a):t.delete(a),t})}}),r]},r))}):null]},e.id)),eh.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:$("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:$("mode")}),(0,t.jsxs)(g.Select,{value:er,onValueChange:e=>es(e),children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"FAILURE",children:$("failureMode")}),(0,t.jsx)(g.SelectItem,{value:"COUNT",children:$("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{htmlFor:"auto-retry-limit",children:$("retryLimit")}),(0,t.jsx)(h.Input,{disabled:"FAILURE"===er&&eo,id:"auto-retry-limit",max:100,min:1,onChange:e=>ea(e.target.value),type:"number",value:en}),"FAILURE"===er?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(m.Checkbox,{checked:eo,onCheckedChange:e=>el(!0===e)}),$("unlimited")]}):null]})]}),"FAILURE"===er?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:$("failureStrategy")}),(0,t.jsxs)(g.Select,{value:ei,onValueChange:e=>eu(e),children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"FAILED_JOBS",children:$("failedJobs")}),(0,t.jsx)(g.SelectItem,{value:"ALL_JOBS",children:$("allJobs")})]})]})]}):null,ex.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(x.Label,{children:$("savedRules")}),ex.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)(d.Badge,{variant:e.enabled?"default":"secondary",children:$(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:$(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:$("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)(p.Button,{"aria-label":$("edit"),onClick:()=>void ej(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Pencil,{})}),(0,t.jsx)(p.Button,{"aria-label":e.enabled?$("pause"):$("resume"),onClick:()=>void ew(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(r.Pause,{}):(0,t.jsx)(n.Play,{})}),(0,t.jsx)(p.Button,{"aria-label":$("delete"),onClick:()=>void eb(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(l.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(f.DialogFooter,{children:[(0,t.jsx)(p.Button,{onClick:()=>E(!1),variant:"outline",children:$("close")}),(0,t.jsxs)(p.Button,{disabled:P||W||!z,onClick:()=>void eg(),children:[W?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(o.Save,{})," ",$("save")]})]})]})]})}])},321194,e=>{"use strict";var t=e.i(843476),r=e.i(861745),s=e.i(948148),n=e.i(271645),a=e.i(647776),o=e.i(799676),l=e.i(487486),i=e.i(987968),u=e.i(967489),c=e.i(637611),d=e.i(360583);e.s(["WorkflowAttemptSelect",0,function({repositoryId:e,workflowRunId:p,latestAttempt:m,requestSource:f,onAttemptChange:h}){let x=(0,s.useTranslations)("githubAutomation"),g=(0,s.useTranslations)("pullRequests"),w=(0,r.useLocale)(),[b,j]=(0,n.useState)("latest"),[y,R]=(0,n.useState)(!1),[k,I]=(0,n.useState)(!1),[S,v]=(0,n.useState)(null),[D,A]=(0,n.useState)({}),C=(0,n.useRef)({}),N=(0,n.useRef)({}),$=(0,n.useRef)({}),T=(0,n.useRef)({});if(m<=1)return null;let E=(t,r)=>{let s=r?N:C,n=r?T:$,a=s.current[t];if(a)return Promise.resolve(a);let o=n.current[t];if(o)return o;let l=(0,c.controlPlaneRequest)(`query GitHubActionsWorkflowRunAttempt(
25
- $repositoryId: ID!
26
- $workflowRunId: ID!
27
- $attempt: Int!
28
- $source: GitHubRequestSource!
29
- ) {
30
- githubActionsWorkflowRunAttempt(
31
- source: $source
32
- repositoryId: $repositoryId
33
- workflowRunId: $workflowRunId
34
- attempt: $attempt
35
- ) {
36
- workflowRunId runAttempt status url triggeringActor { login avatarUrl url } startedAt createdAt updatedAt
37
- ${r?"jobs { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }":""}
38
- }
39
- }`,{repositoryId:e,workflowRunId:p,attempt:t,source:f}).then(e=>{let n=e.githubActionsWorkflowRunAttempt;return s.current[t]=n,C.current[t]=n,r&&(N.current[t]=n),A(e=>({...e,[t]:n})),n});return n.current[t]=l,l.then(()=>delete n.current[t],()=>delete n.current[t]),l},P=async()=>{if(Array.from({length:m},(e,t)=>t+1).every(e=>C.current[e]))return;I(!0),v(null);let e=(await Promise.allSettled(Array.from({length:m},(e,t)=>E(m-t,!1)))).find(e=>"rejected"===e.status);e&&v(e.reason instanceof Error?e.reason.message:String(e.reason)),I(!1)},q=async e=>{if(j(e),v(null),"latest"===e)return void h(null);let t=Number(e);R(!0);try{h(await E(t,!0))}catch(e){v(e instanceof Error?e.message:String(e)),j("latest"),h(null)}finally{R(!1)}};return(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)(u.Select,{disabled:y,onOpenChange:e=>{e&&P()},onValueChange:e=>void q(e),value:b,children:[(0,t.jsxs)(u.SelectTrigger,{"aria-label":x("attemptSelector"),className:"h-8 w-48",children:[y?(0,t.jsx)(i.Spinner,{}):null,(0,t.jsx)(u.SelectValue,{children:"latest"===b?x("latestAttempt",{attempt:m}):x("attempt",{attempt:Number(b)})})]}),(0,t.jsx)(u.SelectContent,{align:"start",className:"w-80",position:"popper",children:Array.from({length:m},(e,t)=>m-t).map(e=>{var r;let s,n=D[e],c=n?.triggeringActor;return(0,t.jsx)(u.SelectItem,{className:"py-2",textValue:x("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?x("latestAttempt",{attempt:e}):x("attempt",{attempt:e})}),n?(0,t.jsx)(l.Badge,{className:(0,a.pipelineStateClass)(n.status),children:g(`pipelineStates.${n.status}`)}):k?(0,t.jsx)(i.Spinner,{className:"ml-auto"}):null]}),n?(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:(r=n.startedAt,Number.isFinite((s=new Date(r)).getTime())?(0,d.formatDateValue)(s,"short",{locale:w}):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)(o.Avatar,{className:"size-4",children:[(0,t.jsx)(o.AvatarImage,{alt:"",src:c.avatarUrl}),(0,t.jsx)(o.AvatarFallback,{children:c.login.slice(0,1).toUpperCase()})]}),(0,t.jsx)("span",{className:"min-w-0 truncate",children:x("attemptStartedBy",{actor:c.login})})]}):null]})},e)})})]}),S?(0,t.jsx)("p",{className:"text-xs text-destructive",children:S}):null]})}])},606740,e=>{"use strict";var t=e.i(843476),r=e.i(832297);let s=(0,e.i(456420).default)("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);var n=e.i(271645),a=e.i(948148),o=e.i(687862),l=e.i(776639),i=e.i(755146),u=e.i(987968),c=e.i(637611),d=e.i(586592);let p=new Map,m=new Set,f=!1;e.s(["WorkflowResourceDialog",0,function({resource:e,open:r,onOpenChange:s}){let n=(0,a.useTranslations)("workflows");return(0,t.jsx)(l.Dialog,{onOpenChange:s,open:r,children:(0,t.jsxs)(l.DialogContent,{className:"max-h-[85vh] overflow-y-auto sm:max-w-5xl",children:[(0,t.jsxs)(l.DialogHeader,{children:[(0,t.jsx)(l.DialogTitle,{children:n("resourceWorkflows")}),(0,t.jsx)(l.DialogDescription,{children:n("resourceWorkflowsDescription")})]}),(0,t.jsx)(d.WorkflowResourcePanel,{resourceId:e.id,resourceKind:e.kind,sessionData:e.sessionData})]})})},"WorkflowResourceMenuItems",0,function({resource:e,onError:l,onOpenLinked:d}){let h=(0,a.useTranslations)("workflows"),x=function(e){let[t,r]=(0,n.useState)([]),[s,a]=(0,n.useState)(0);return(0,n.useEffect)(()=>{f||(f=!0,(0,c.controlPlaneSubscriptions)().subscribe({query:"subscription QuickActionChanges { workflowsChanged { id } }"},{next:()=>{for(let e of(p.clear(),m))e()},error:()=>{f=!1},complete:()=>{f=!1}}));let e=()=>a(e=>e+1);return m.add(e),()=>{m.delete(e)}},[]),(0,n.useEffect)(()=>{let t=!1;return(function(e,t){let r=`${t??"all"}:${e}`,s=p.get(r);if(s)return s;let n=(0,c.controlPlaneRequest)(`query GitHubWorkflowQuickActions(
40
- $resourceKind: String!
41
- $repositoryId: ID
42
- ) {
43
- workflowQuickActions(
44
- kind: GITHUB_ACTIONS
45
- resourceKind: $resourceKind
46
- repositoryId: $repositoryId
47
- ) {
48
- id name description quickActionIconKey
49
- hasPlainTrigger(resourceKind: $resourceKind)
50
- triggerChoices(resourceKind: $resourceKind) { key label description }
51
- }
52
- }`,{resourceKind:e,repositoryId:t}).then(({workflowQuickActions:e})=>e);return p.set(r,n),n.catch(()=>{p.get(r)===n&&p.delete(r)}),n})(e.kind,e.repositoryId).then(e=>{t||r(e)}).catch(()=>{t||r([])}),()=>{t=!0}},[e.kind,e.repositoryId,s]),t}(e),[g,w]=(0,n.useState)(null),b=(0,n.useCallback)(async(t,r)=>{w(t);try{await (0,c.controlPlaneRequest)(`mutation TriggerGitHubResourceWorkflow($input: TriggerWorkflowInput!) {
53
- triggerWorkflow(input: $input) { id }
54
- }`,{input:{workflowId:t,sessionData:e.sessionData,resourceKind:e.kind,resourceId:e.id,subjectKey:`${e.kind}:${e.id}`,choice:r}}),l(null)}catch(e){l(e instanceof Error?e.message:String(e))}finally{w(null)}},[l,e]);return(0,t.jsxs)(t.Fragment,{children:[x.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.DropdownMenuSeparator,{}),(0,t.jsx)(i.DropdownMenuLabel,{children:h("quickActions")}),x.map(e=>{let s=e.triggerChoices??[];return s.length?(0,t.jsxs)(i.DropdownMenuSub,{children:[(0,t.jsxs)(i.DropdownMenuSubTrigger,{disabled:null!==g,children:[g===e.id?(0,t.jsx)(u.Spinner,{}):(0,t.jsx)(o.ConfigurationIcon,{iconKey:e.quickActionIconKey}),e.name]}),(0,t.jsxs)(i.DropdownMenuSubContent,{children:[e.hasPlainTrigger?(0,t.jsxs)(i.DropdownMenuItem,{onSelect:()=>void b(e.id,null),children:[(0,t.jsx)(r.CirclePlay,{})," ",h("run")]}):null,s.map(s=>(0,t.jsxs)(i.DropdownMenuItem,{onSelect:()=>void b(e.id,s.key),title:s.description||void 0,children:[(0,t.jsx)(r.CirclePlay,{})," ",s.label]},s.key))]})]},e.id):(0,t.jsxs)(i.DropdownMenuItem,{disabled:null!==g||!e.hasPlainTrigger,onSelect:()=>void b(e.id,null),title:e.description||void 0,children:[g===e.id?(0,t.jsx)(u.Spinner,{}):(0,t.jsx)(o.ConfigurationIcon,{iconKey:e.quickActionIconKey}),e.name]},e.id)})]}):null,(0,t.jsx)(i.DropdownMenuSeparator,{}),(0,t.jsxs)(i.DropdownMenuItem,{onSelect:d,children:[(0,t.jsx)(s,{})," ",h("resourceWorkflows")]})]})}],606740)},975856,57119,e=>{"use strict";var t=e.i(843476),r=e.i(716327),s=e.i(867927),n=e.i(482022),a=e.i(648119),o=e.i(395925),l=e.i(948148),i=e.i(271645),u=e.i(647776),c=e.i(487486),d=e.i(519455),p=e.i(987968),m=e.i(755146),f=e.i(637611),h=e.i(606740);function x({job:e,repositoryId:r,checkSuiteId:s,requestSource:u,onRetried:c,onError:g,workflowResource:w}){let b=(0,l.useTranslations)("pullRequestDetail"),j=(0,l.useTranslations)("pullRequests"),[y,R]=(0,i.useState)(!1),[k,I]=(0,i.useState)(!1),S=async()=>{if(e.canRetry&&s){R(!0);try{await (0,f.controlPlaneRequest)(`mutation RetryGitHubWorkflowJob(
55
- $repositoryId: ID!
56
- $checkSuiteId: ID!
57
- $jobId: ID!
58
- $source: GitHubRequestSource!
59
- ) {
60
- retryGitHubWorkflowJob(
61
- repositoryId: $repositoryId
62
- checkSuiteId: $checkSuiteId
63
- jobId: $jobId
64
- source: $source
65
- )
66
- }`,{repositoryId:r,checkSuiteId:s,jobId:e.id,source:u}),c?.(),g(null)}catch(e){g(e instanceof Error?e.message:String(e))}finally{R(!1)}}},v=e.retryUnavailableReason?j(`retryUnavailable.${e.retryUnavailableReason}`):void 0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(m.DropdownMenu,{children:[(0,t.jsx)(m.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(d.Button,{"aria-label":b("jobActions",{job:e.name}),size:"icon-sm",variant:"outline",children:(0,t.jsx)(a.MoreHorizontal,{})})}),(0,t.jsxs)(m.DropdownMenuContent,{align:"end",className:"w-48",children:[e.url?(0,t.jsx)(m.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.ExternalLink,{})," ",b("viewPipeline")]})}):(0,t.jsxs)(m.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(n.ExternalLink,{})," ",b("viewPipeline")]}),(0,t.jsx)(m.DropdownMenuSeparator,{}),(0,t.jsxs)(m.DropdownMenuItem,{disabled:y||!e.canRetry||!s,onSelect:()=>void S(),title:v,children:[y?(0,t.jsx)(p.Spinner,{}):(0,t.jsx)(o.RotateCcw,{}),j(y?"retrying":"retry")]}),w?(0,t.jsx)(h.WorkflowResourceMenuItems,{onError:g,onOpenLinked:()=>I(!0),resource:w}):null]})]}),w?(0,t.jsx)(h.WorkflowResourceDialog,{onOpenChange:I,open:k,resource:w}):null]})}e.s(["WorkflowJob",0,function({job:e,repositoryId:n,checkSuiteId:a,requestSource:o,onRetried:d,onError:p,workflowResource:m}){let f=(0,l.useTranslations)("pullRequestDetail"),h=(0,l.useTranslations)("pullRequests"),[g,w]=(0,i.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":g,"aria-label":f(g?"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:()=>w(e=>!e),type:"button",children:[g?(0,t.jsx)(r.ChevronDown,{className:"size-4 shrink-0"}):(0,t.jsx)(s.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)(c.Badge,{className:(0,u.pipelineStateClass)(e.status),children:h(`pipelineStates.${e.status}`)})]}),(0,t.jsx)(x,{checkSuiteId:a,job:e,onError:p,onRetried:d,repositoryId:n,requestSource:o,workflowResource:m})]}),g&&(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:f("steps")}),0===e.steps.length?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:f("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)(c.Badge,{className:(0,u.pipelineStateClass)(e.status),children:h(`pipelineStates.${e.status}`)})]},e.number))})]})]})}],975856);var g=e.i(596930);e.s(["githubJobWorkflowResource",0,function(e,t,r,s){let n=r??`github-${s}`;return{kind:"GITHUB_JOB",id:(0,g.githubJobResourceId)(n,t.id),repositoryId:r,sessionData:{...e.sessionData,job:{id:t.id,name:t.name,status:t.status,url:t.url,runAttempt:t.runAttempt}}}},"githubPipelineWorkflowResource",0,function(e,t={}){let r=e.codebaseRepositoryId??`github-${e.repositoryGithubId}`,s=e.pullRequests??[],n=t.worktree??(e.worktreeId?{id:e.worktreeId}:null),a=t.pullRequest??(!n&&s[0]?{number:s[0].number,url:s[0].url}:null),o=t.ticketKey??a?.jiraKey??e.jiraKey??null;return{kind:"GITHUB_PIPELINE",id:(0,g.githubPipelineResourceId)(r,e.workflowRunId,e.id),repositoryId:e.codebaseRepositoryId,sessionData:{repo:{id:e.codebaseRepositoryId,githubId:e.repositoryGithubId,displayOrigin:e.repositoryNameWithOwner,url:e.repositoryUrl},pipeline:{id:e.id,runId:e.workflowRunId??e.id,workflowId:e.workflowId,name:e.name,displayTitle:e.displayTitle,status:e.status,url:e.url,checkSuiteId:e.checkSuiteId,runNumber:e.runNumber,runAttempt:e.runAttempt,headBranch:e.headBranch,headSha:e.headSha,pullRequests:s,jiraKey:e.jiraKey},...a?{pr:a}:{},...n?{worktree:n}:{},...o?{ticket:{key:o}}:{}}}}],57119)},847211,e=>{"use strict";let t=(0,e.i(456420).default)("ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]);e.s(["Ban",0,t],847211)},567153,e=>{"use strict";var t=e.i(843476),r=e.i(847211),s=e.i(489002),n=e.i(482022),a=e.i(269846),o=e.i(882505),l=e.i(648119),i=e.i(395925),u=e.i(948148),c=e.i(271645),d=e.i(340953),p=e.i(9197),m=e.i(519455),f=e.i(755146),h=e.i(987968),x=e.i(520133),g=e.i(637611),w=e.i(940276),b=e.i(606740);let j=new Set(["ACTION_REQUIRED","EXPECTED","IN_PROGRESS","PENDING","QUEUED"]);e.s(["WorkflowRunActionsMenu",0,function({run:e,requestSource:y,jobs:R=[],includeAutoRetry:k=!1,includeWorktree:I=!1,onCancelled:S,onRetried:v,onError:D,viewAllHref:A,workflowResource:C,autoRetryContext:N}){let $=(0,u.useTranslations)("actionsPage"),T=(0,u.useTranslations)("pullRequestDetail"),E=(0,u.useTranslations)("pullRequests"),[P,q]=(0,c.useState)(!1),[W,M]=(0,c.useState)(null),[L,O]=(0,c.useState)(!1),[G,H]=(0,c.useState)(!1),B=async()=>{if(e.canRetry&&e.checkSuiteId){q(!0);try{await (0,g.controlPlaneRequest)(`mutation RetryGitHubPipeline(
67
- $repositoryId: ID!
68
- $checkSuiteId: ID!
69
- $source: GitHubRequestSource!
70
- ) {
71
- retryGitHubPipeline(
72
- repositoryId: $repositoryId
73
- checkSuiteId: $checkSuiteId
74
- source: $source
75
- ) { id }
76
- }`,{repositoryId:e.repositoryGithubId,checkSuiteId:e.checkSuiteId,source:y}),v?.(),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{q(!1)}}},U=async t=>{if(e.codebaseRepositoryId&&j.has(e.status)&&!W){M(t?"force":"cancel");try{await (0,g.controlPlaneRequest)(`mutation CancelGitHubActionsWorkflowRun(
77
- $codebaseRepositoryId: ID!
78
- $workflowRunId: ID!
79
- $force: Boolean!
80
- $source: GitHubRequestSource!
81
- ) {
82
- cancelGitHubActionsWorkflowRun(
83
- codebaseRepositoryId: $codebaseRepositoryId
84
- workflowRunId: $workflowRunId
85
- force: $force
86
- source: $source
87
- )
88
- }`,{codebaseRepositoryId:e.codebaseRepositoryId,workflowRunId:e.id,force:t,source:y}),S?.(),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{M(null)}}},z=e.retryUnavailableReason?E(`retryUnavailable.${e.retryUnavailableReason}`):void 0,K=!!e.codebaseRepositoryId&&j.has(e.status);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(f.DropdownMenu,{children:[(0,t.jsx)(f.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(m.Button,{"aria-label":`${$("actions")}: ${e.displayTitle}`,size:"icon-sm",variant:"outline",children:(0,t.jsx)(l.MoreHorizontal,{})})}),(0,t.jsxs)(f.DropdownMenuContent,{align:"end",className:"w-44",children:[e.url?(0,t.jsx)(f.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.ExternalLink,{}),$("view")]})}):(0,t.jsxs)(f.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(n.ExternalLink,{}),$("view")]}),A?(0,t.jsx)(f.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(x.Link,{href:A,children:[(0,t.jsx)(o.List,{}),T("viewAll")]})}):null,I?e.worktreeId?(0,t.jsx)(f.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(x.Link,{href:(0,w.worktreeDetailHref)(e.worktreeId),children:[(0,t.jsx)(a.GitBranch,{}),$("worktree")]})}):(0,t.jsxs)(f.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(a.GitBranch,{}),$("worktree")]}):null,(0,t.jsx)(f.DropdownMenuSeparator,{}),(0,t.jsxs)(f.DropdownMenuItem,{disabled:!!W||!K,onSelect:()=>void U(!1),children:["cancel"===W?(0,t.jsx)(h.Spinner,{}):(0,t.jsx)(s.CircleStop,{}),$("cancel"===W?"cancelling":"cancel")]}),(0,t.jsxs)(f.DropdownMenuItem,{disabled:!!W||!K,onSelect:()=>O(!0),variant:"destructive",children:["force"===W?(0,t.jsx)(h.Spinner,{}):(0,t.jsx)(r.Ban,{}),$("force"===W?"forceCancelling":"forceCancel")]}),(0,t.jsx)(f.DropdownMenuSeparator,{}),(0,t.jsxs)(f.DropdownMenuItem,{disabled:P||!e.canRetry||!e.checkSuiteId,onSelect:()=>void B(),title:z,children:[P?(0,t.jsx)(h.Spinner,{}):(0,t.jsx)(i.RotateCcw,{}),E(P?"retrying":"retry")]}),k&&e.codebaseRepositoryId?(0,t.jsx)(p.AutoRetryDialog,{allowFuture:N?.allowFuture,branch:N?.branch,codebaseRepositoryId:e.codebaseRepositoryId,currentRuns:N?.currentRuns??[{id:e.id,workflowId:e.workflowId,name:e.name,jobs:R}],pullRequestNumber:N?.pullRequestNumber,repositoryGithubId:e.repositoryGithubId,requestSource:y,worktreeId:N?.worktreeId,trigger:(0,t.jsxs)(f.DropdownMenuItem,{onSelect:e=>e.preventDefault(),children:[(0,t.jsx)(i.RotateCcw,{}),$("autoRetry")]})}):null,C?(0,t.jsx)(b.WorkflowResourceMenuItems,{onError:D,onOpenLinked:()=>H(!0),resource:C}):null]})]}),(0,t.jsx)(d.ConfirmationDialog,{actionLabel:$("forceCancel"),cancelLabel:$("keepRunning"),description:$("forceCancelDescription"),onConfirm:()=>U(!0),onOpenChange:O,open:L,title:$("forceCancelTitle")}),C?(0,t.jsx)(b.WorkflowResourceDialog,{onOpenChange:H,open:G,resource:C}):null]})},"actionsForBranchHref",0,function(e,t,r){let s=new URLSearchParams({repository:e,branch:t});return r&&s.set("pipeline",r),`/actions?${s.toString()}`}])}]);
@@ -1,42 +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)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),i=e.i(975157);let s=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,i.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,i.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,i.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...l}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,i.cn)(s({variant:a,className:e})),...l})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,i.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(30030),s=e.i(820783),l=e.i(326999),r=e.i(981140),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0}),[d,c]=(0,i.createContextScope)("AlertDialog",[l.createDialogScope]),u=(0,l.createDialogScope)(),x=o(e=>{let{__scopeAlertDialog:a,...i}=e,s=u(a);return(0,t.jsx)(l.Root,{...s,...i,modal:!0})},"AlertDialog"),m=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:i,...s}=e,r=u(i);return(0,t.jsx)(l.Trigger,{...r,...s,ref:a})},"AlertDialogTrigger")),p=o(e=>{let{__scopeAlertDialog:a,...i}=e,s=u(a);return(0,t.jsx)(l.Portal,{...s,...i})},"AlertDialogPortal"),h=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:i,...s}=e,r=u(i);return(0,t.jsx)(l.Overlay,{...r,...s,ref:a})},"AlertDialogOverlay")),[f,g]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,i){let{__scopeAlertDialog:n,children:o,...d}=e,c=u(n),x=a.useRef(null),m=(0,s.useComposedRefs)(i,x),p=a.useRef(null);return(0,t.jsx)(f,{scope:n,cancelRef:p,children:(0,t.jsx)(l.Content,{role:"alertdialog",...c,...d,ref:m,onOpenAutoFocus:(0,r.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:i,...s}=e,r=u(i);return(0,t.jsx)(l.Title,{...r,...s,ref:a})},"AlertDialogTitle")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:i,...s}=e,r=u(i);return(0,t.jsx)(l.Description,{...r,...s,ref:a})},"AlertDialogDescription")),y=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:i,...s}=e,r=u(i);return(0,t.jsx)(l.Close,{...r,...s,ref:a})},"AlertDialogAction")),S=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:i,...r}=e,{cancelRef:n}=g("AlertDialogCancel",i),o=u(i),d=(0,s.useComposedRefs)(a,n);return(0,t.jsx)(l.Close,{...o,...r,ref:d})},"AlertDialogCancel"));e.s(["Action",0,y,"AlertDialog",0,x,"AlertDialogAction",0,y,"AlertDialogCancel",0,S,"AlertDialogContent",0,j,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,p,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,m,"Cancel",0,S,"Content",0,j,"Description",0,v,"Overlay",0,h,"Portal",0,p,"Root",0,x,"Title",0,b,"Trigger",0,m,"createAlertDialogScope",0,c],691162);var C=e.i(691162),C=C,w=e.i(975157),D=e.i(519455);function N({...e}){return(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e})}function B({...e}){return(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function T({...e}){return(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e})}function k({className:e,...a}){return(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,w.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function A({className:e,size:a="default",...i}){return(0,t.jsxs)(T,{children:[(0,t.jsx)(k,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,w.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),...i})]})}function E({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,w.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function I({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,w.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function R({className:e,...a}){return(0,t.jsx)(C.Title,{"data-slot":"alert-dialog-title",className:(0,w.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function L({className:e,...a}){return(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-description",className:(0,w.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function z({className:e,variant:a="default",size:i="default",...s}){return(0,t.jsx)(D.Button,{variant:a,size:i,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,w.cn)(e),...s})})}function $({className:e,variant:a="outline",size:i="default",...s}){return(0,t.jsx)(D.Button,{variant:a,size:i,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,w.cn)(e),...s})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:i,onConfirm:s,onOpenChange:l,open:r,title:n,trigger:o}){return(0,t.jsxs)(N,{onOpenChange:l,open:r,children:[o&&(0,t.jsx)(B,{asChild:!0,children:o}),(0,t.jsxs)(A,{children:[(0,t.jsxs)(E,{children:[(0,t.jsx)(R,{children:n}),(0,t.jsx)(L,{children:i})]}),(0,t.jsxs)(I,{children:[(0,t.jsx)($,{children:a}),(0,t.jsx)(z,{onClick:()=>void s(),variant:"destructive",children:e})]})]})]})}],340953)},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...i}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...i})},"TableCell",0,function({className:e,...i}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...i})},"TableFooter",0,function({className:e,...i}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...i})},"TableHead",0,function({className:e,...i}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...i})},"TableHeader",0,function({className:e,...i}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...i})},"TableRow",0,function({className:e,...i}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...i})}])},755838,(e,t,a)=>{"use strict";var i=e.r(271645),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=i.useState,r=i.useEffect,n=i.useLayoutEffect,o=i.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!s(e,a)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var a=t(),i=l({inst:{value:a,getSnapshot:t}}),s=i[0].inst,c=i[1];return n(function(){s.value=a,s.getSnapshot=t,d(s)&&c({inst:s})},[e,a,t]),r(function(){return d(s)&&c({inst:s}),e(function(){d(s)&&c({inst:s})})},[e]),o(a),a};a.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},802239,(e,t,a)=>{"use strict";t.exports=e.r(755838)},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,e=>{"use strict";e.s(["buildDuration",0,function(e,t=Date.now()){let a=e.durationMs??(e.startedAt&&null!==t&&["QUEUED","PREPARING","RUNNING"].includes(e.status)?t-Date.parse(e.startedAt):null);if(null===a||!Number.isFinite(a))return"—";let i=Math.max(0,Math.floor(a/1e3)),s=Math.floor(i/3600),l=Math.floor(i%3600/60),r=i%60;return s>0?`${s}h${l>0?` ${l}m`:""}`:l>0?`${l}m${r>0?` ${r}s`:""}`:`${r}s`},"buildSnapshotName",0,function(e){let t=e.snapshot.repository,a=e.snapshot.worktree;return{repository:t?.name??"—",worktree:a?.branch??a?.folder??"—"}},"buildStatusVariant",0,function(e){return"FAILED"===e?"destructive":"SUCCEEDED"===e?"success":"secondary"}],90969);var t=e.i(843476),a=e.i(395925),i=e.i(948148),s=e.i(271645),l=e.i(519455),r=e.i(987968),n=e.i(462777),o=e.i(637611);e.s(["RebuildButton",0,function({buildId:e,onCompleted:d,onError:c,size:u="default"}){let x=(0,i.useTranslations)("builds"),[m,p]=(0,s.useState)(!1),h=async()=>{p(!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,n.createClientId)()});await d?.(t.rebuildBuild)}catch(e){c(e instanceof Error?e.message:String(e))}finally{p(!1)}};return(0,t.jsxs)(l.Button,{disabled:m,onClick:e=>{e.stopPropagation(),h()},onKeyDown:e=>e.stopPropagation(),size:u,type:"button",variant:"outline",children:[m?(0,t.jsx)(r.Spinner,{}):(0,t.jsx)(a.RotateCcw,{})," ",x("rebuild")]})}],771777)},747047,111530,e=>{"use strict";let t=`
4
- id requestId jobId status action destinationType destination snapshot commandSummary artifactDirectory errorCode error outOfDate
5
- createdAt startedAt finishedAt durationMs updatedAt
6
- worktree { id highlightColor }
7
- artifacts { id kind relativePath sizeBytes checksum metadata createdAt }
8
- `;e.s(["BUILD_LIST_FIELDS",0,t],747047);var a=e.i(271645);e.s(["useBuildTimeTicker",0,function(){let[e,t]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=()=>t(Date.now()),a=window.setTimeout(e,0),i=window.setInterval(e,1e3);return()=>{window.clearTimeout(a),window.clearInterval(i)}},[]),e}],111530)},229490,e=>{"use strict";var t=e.i(843476),a=e.i(93384),i=e.i(77071);let s=(0,e.i(456420).default)("scroll-text",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);var l=e.i(573474),r=e.i(861745),n=e.i(948148),o=e.i(271645),d=e.i(340953),c=e.i(929592),u=e.i(487486),x=e.i(519455),m=e.i(515288),p=e.i(257428),h=e.i(816484),f=e.i(776639),g=e.i(82612),j=e.i(793479),b=e.i(110204),v=e.i(967489),y=e.i(987968),S=e.i(784774),C=e.i(677572),w=e.i(624687),D=e.i(520133),N=e.i(637611),B=e.i(360583),T=e.i(975157),k=e.i(171502),A=e.i(90969),E=e.i(747047),I=e.i(771777),R=e.i(866026),L=e.i(111530);let z=`
9
- id name preBuildScript postBuildScript enabledByDefault timeoutSeconds failureBehavior createdAt updatedAt
10
- `,$=`export default async function preBuild({
11
- buildId,
12
- branch,
13
- destination,
14
- action,
15
- telemetry,
16
- }) {
17
- // Runs before the build from the worktree root.
18
- // telemetry includes localBaseUrl, remoteBaseUrl, selectedBaseUrl,
19
- // consoleLogsUrl, analyticsEventsUrl, and both collection-enabled flags.
20
- }`,P=`export default async function postBuild({
21
- buildId,
22
- branch,
23
- destination,
24
- action,
25
- buildFolder,
26
- failed,
27
- cancelled,
28
- errorCode,
29
- error,
30
- telemetry,
31
- }) {
32
- // Runs after every build attempt from the worktree root.
33
- // telemetry is the same immutable URL and collection-settings snapshot.
34
- }`,U=["ALL","QUEUED","PREPARING","RUNNING","SUCCEEDED","FAILED","CANCELLED"];function H({open:e,script:a,onOpenChange:i,onSaved:s}){let l=(0,n.useTranslations)("builds"),[r,d]=(0,o.useState)(a?.name??""),[u,m]=(0,o.useState)(a?a.preBuildScript??"":$),[h,g]=(0,o.useState)(a?a.postBuildScript??"":P),[S,C]=(0,o.useState)(a?.enabledByDefault??!1),[D,B]=(0,o.useState)(a?.timeoutSeconds??300),[T,k]=(0,o.useState)(a?.failureBehavior??"FAIL_BUILD"),[A,E]=(0,o.useState)(!1),[I,R]=(0,o.useState)(null),L=async()=>{E(!0),R(null);try{await (0,N.controlPlaneRequest)(`mutation SaveBuildScript($input: SaveBuildScriptInput!) {
35
- saveBuildScript(input: $input) { id }
36
- }`,{input:{id:a?.id??null,name:r,preBuildScript:u||null,postBuildScript:h||null,enabledByDefault:S,timeoutSeconds:D,failureBehavior:T}}),await s(),i(!1)}catch(e){R(e instanceof Error?e.message:String(e))}finally{E(!1)}};return(0,t.jsx)(f.Dialog,{onOpenChange:i,open:e,children:(0,t.jsxs)(f.DialogContent,{className:"sm:max-w-2xl",children:[(0,t.jsxs)(f.DialogHeader,{children:[(0,t.jsx)(f.DialogTitle,{children:l(a?"editScript":"newScript")}),(0,t.jsx)(f.DialogDescription,{children:l("scriptDescription")})]}),I&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:I})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(b.Label,{htmlFor:"build-script-name",children:l("name")}),(0,t.jsx)(j.Input,{id:"build-script-name",onChange:e=>d(e.target.value),value:r})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(b.Label,{htmlFor:"pre-build-script",children:l("preBuildScript")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("preBuildScriptHelp")}),(0,t.jsx)(w.Textarea,{className:"font-mono text-xs",id:"pre-build-script",onChange:e=>m(e.target.value),rows:8,value:u})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(b.Label,{htmlFor:"post-build-script",children:l("postBuildScript")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("postBuildScriptHelp")}),(0,t.jsx)(w.Textarea,{className:"font-mono text-xs",id:"post-build-script",onChange:e=>g(e.target.value),rows:8,value:h})]}),(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)(b.Label,{htmlFor:"script-timeout",children:l("timeout")}),(0,t.jsx)(j.Input,{id:"script-timeout",min:1,max:3600,onChange:e=>B(Number(e.target.value)),type:"number",value:D})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(b.Label,{children:l("failureBehavior")}),(0,t.jsxs)(v.Select,{onValueChange:e=>k(e),value:T,children:[(0,t.jsx)(v.SelectTrigger,{children:(0,t.jsx)(v.SelectValue,{})}),(0,t.jsxs)(v.SelectContent,{children:[(0,t.jsx)(v.SelectItem,{value:"FAIL_BUILD",children:l("failureBehaviors.FAIL_BUILD")}),(0,t.jsx)(v.SelectItem,{value:"CONTINUE",children:l("failureBehaviors.CONTINUE")})]})]})]})]}),(0,t.jsxs)("label",{className:"flex items-center gap-2",children:[(0,t.jsx)(p.Checkbox,{checked:S,onCheckedChange:e=>C(!!e)}),l("enabledByDefault")]})]}),(0,t.jsxs)(f.DialogFooter,{children:[(0,t.jsx)(x.Button,{onClick:()=>i(!1),type:"button",variant:"outline",children:l("cancel")}),(0,t.jsxs)(x.Button,{disabled:A||!r.trim()||!u.trim()&&!h.trim(),onClick:()=>void L(),type:"button",children:[A&&(0,t.jsx)(y.Spinner,{})," ",l("save")]})]})]})})}e.s(["BuildsPage",0,function(){let e=(0,n.useTranslations)("builds"),f=(0,r.useLocale)(),j=(0,D.useRouter)(),b=(0,L.useBuildTimeTicker)(),[w,$]=(0,o.useState)([]),[P,O]=(0,o.useState)([]),[M,F]=(0,o.useState)("ALL"),[_,q]=(0,o.useState)(null),[V,K]=(0,o.useState)(!0),[G,Q]=(0,o.useState)(!1),[J,W]=(0,o.useState)(null),[X,Y]=(0,o.useState)(!1),[Z,ee]=(0,o.useState)(null),[et,ea]=(0,o.useState)(new Set),[ei,es]=(0,o.useState)(!1),[el,er]=(0,o.useState)(!1),en=(0,o.useCallback)(async e=>{e?Q(!0):K(!0);try{let t=await (0,N.controlPlaneRequest)(`query BuildsPage($after: ID, $status: BuildStatus) {
37
- builds(first: 50, after: $after, status: $status) {
38
- items { ${E.BUILD_LIST_FIELDS} }
39
- nextCursor
40
- }
41
- buildScripts { ${z} }
42
- }`,{after:e??null,status:"ALL"===M?null:M});$(a=>e?[...a,...t.builds.items]:t.builds.items),q(t.builds.nextCursor),O(t.buildScripts),W(null)}catch(e){W(e instanceof Error?e.message:String(e))}finally{K(!1),Q(!1)}},[M]);(0,o.useEffect)(()=>{let e=window.setTimeout(()=>void en(),0);return()=>window.clearTimeout(e)},[en]),(0,o.useEffect)(()=>(0,N.controlPlaneSubscriptions)().subscribe({query:"subscription BuildsChanged { buildsChanged { id } }"},{next:()=>void en(),error:()=>void 0,complete:()=>void 0}),[en]);let eo=async e=>{try{await (0,N.controlPlaneRequest)("mutation DeleteBuildScript($id: ID!) { deleteBuildScript(id: $id) }",{id:e}),await en()}catch(e){W(e instanceof Error?e.message:String(e))}},ed=(0,o.useMemo)(()=>{let e=[];for(let t of w){let a=t.startedAt??t.createdAt,i=new Date(a),s=(0,B.dayKey)(i)??a,l=e.at(-1);l?.dateKey===s?l.items.push(t):e.push({key:`${s}-${t.id}`,dateKey:s,label:(0,B.formatDateValue)(i,"long",{locale:f,showTime:!1}),items:[t]})}return e},[w,f]),ec=async()=>{if(et.size){er(!0),W(null);try{await (0,N.controlPlaneRequest)("mutation DeleteBuilds($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[...et]}),ea(new Set),es(!1),await en()}catch(e){W(e instanceof Error?e.message:String(e))}finally{er(!1)}}};return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:e("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("description")})]})}),J&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:J})}),(0,t.jsxs)(C.Tabs,{defaultValue:"history",children:[(0,t.jsxs)(C.TabsList,{children:[(0,t.jsxs)(C.TabsTrigger,{value:"history",children:[(0,t.jsx)(a.Hammer,{})," ",e("history")]}),(0,t.jsxs)(C.TabsTrigger,{value:"scripts",children:[(0,t.jsx)(s,{})," ",e("buildScripts")]})]}),(0,t.jsxs)(C.TabsContent,{className:"space-y-4",value:"history",children:[(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[et.size>0&&(0,t.jsxs)(x.Button,{disabled:el,onClick:()=>es(!0),variant:"destructive",children:[el?(0,t.jsx)(y.Spinner,{}):(0,t.jsx)(l.Trash2,{}),e("deleteSelected",{count:et.size})]}),(0,t.jsxs)(v.Select,{onValueChange:e=>{ea(new Set),F(e)},value:M,children:[(0,t.jsx)(v.SelectTrigger,{className:"w-48","aria-label":e("filterStatus"),children:(0,t.jsx)(v.SelectValue,{})}),(0,t.jsx)(v.SelectContent,{children:U.map(a=>(0,t.jsx)(v.SelectItem,{value:a,children:"ALL"===a?e("allStatuses"):e(`statuses.${a}`)},a))})]})]}),V&&!w.length?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(y.Spinner,{})," ",e("loading")]}):w.length?(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(m.Card,{className:"gap-0 py-0",children:(0,t.jsxs)(S.Table,{children:[(0,t.jsx)(S.TableHeader,{children:(0,t.jsxs)(S.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(S.TableHead,{className:"w-12",children:(0,t.jsx)("span",{className:"sr-only",children:e("selectBuilds")})}),(0,t.jsx)(S.TableHead,{children:e("build")}),(0,t.jsx)(S.TableHead,{children:e("status")}),(0,t.jsx)(S.TableHead,{children:e("action")}),(0,t.jsx)(S.TableHead,{children:e("destination")}),(0,t.jsx)(S.TableHead,{children:e("startedAt")}),(0,t.jsx)(S.TableHead,{className:"text-right",children:e("actionsLabel")})]})}),(0,t.jsx)(S.TableBody,{children:ed.map(a=>{let i=a.items.map(e=>e.id),s=i.filter(e=>et.has(e)).length;return(0,t.jsxs)(o.Fragment,{children:[(0,t.jsxs)(S.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:[(0,t.jsx)(S.TableCell,{className:"py-1.5",children:(0,t.jsx)(p.Checkbox,{"aria-label":e("selectDate",{date:a.label}),checked:s===i.length||s>0&&"indeterminate",onCheckedChange:e=>ea(t=>{let a=new Set(t);for(let t of i)!0===e?a.add(t):a.delete(t);return a})})}),(0,t.jsx)(S.TableCell,{className:"py-1.5 text-xs font-normal text-muted-foreground",colSpan:6,children:a.label})]}),a.items.map(a=>{let i=(0,A.buildSnapshotName)(a),s=a.startedAt??a.createdAt,l="SUCCEEDED"===a.status&&a.artifacts.some(e=>"RUNNABLE_APP"===e.kind),r=a.worktree?.highlightColor;return(0,t.jsxs)(S.TableRow,{"aria-label":e("viewBuild"),className:(0,T.cn)("cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",r&&k.worktreeHighlightBackgroundClasses[r]),onClick:()=>j.push(`/builds/${a.id}`),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),j.push(`/builds/${a.id}`))},role:"link",tabIndex:0,children:[(0,t.jsx)(S.TableCell,{className:(0,T.cn)("border-l-4 pl-2",r?k.worktreeHighlightAccentClasses[r]:"border-l-transparent"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:(0,t.jsx)(p.Checkbox,{"aria-label":e("selectBuild",{id:a.id}),checked:et.has(a.id),onCheckedChange:e=>ea(t=>{let i=new Set(t);return!0===e?i.add(a.id):i.delete(a.id),i})})}),(0,t.jsxs)(S.TableCell,{className:"min-w-56 whitespace-normal",children:[(0,t.jsx)(D.Link,{className:"font-medium hover:underline",href:`/builds/${a.id}`,onClick:e=>e.stopPropagation(),children:i.repository}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:i.worktree})]}),(0,t.jsx)(S.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,t.jsx)(u.Badge,{variant:(0,A.buildStatusVariant)(a.status),children:e(`statuses.${a.status}`)}),a.outOfDate&&(0,t.jsx)(u.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:e("outOfDate")})]})}),(0,t.jsx)(S.TableCell,{children:(0,t.jsx)(u.Badge,{variant:"outline",children:e(`actions.${a.action}`)})}),(0,t.jsx)(S.TableCell,{children:a.destination.name}),(0,t.jsx)(S.TableCell,{className:"text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)(h.DateTime,{kind:"time",relativeToday:!0,value:s}),(0,t.jsx)("span",{className:"text-xs",children:e("durationValue",{duration:(0,A.buildDuration)(a,b)})})]})}),(0,t.jsx)(S.TableCell,{className:"text-right",children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,t.jsx)(I.RebuildButton,{buildId:a.id,onCompleted:()=>en(),onError:W,size:"sm"}),l&&(0,t.jsx)(R.RunBuildControls,{buildId:a.id,destinationType:a.destinationType,onCompleted:en,onError:W,preferredDestination:a.destination,size:"sm"})]})})]},a.id)})]},a.key)})})]})}),_&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)(x.Button,{disabled:G,onClick:()=>void en(_),variant:"outline",children:[G&&(0,t.jsx)(y.Spinner,{})," ",e("loadMore")]})})]}):(0,t.jsx)(g.Empty,{className:"border py-12",children:(0,t.jsxs)(g.EmptyHeader,{children:[(0,t.jsx)(g.EmptyMedia,{variant:"icon",children:(0,t.jsx)(a.Hammer,{})}),(0,t.jsx)(g.EmptyTitle,{children:e("emptyTitle")}),(0,t.jsx)(g.EmptyDescription,{children:e("emptyDescription")})]})})]}),(0,t.jsxs)(C.TabsContent,{className:"space-y-4",value:"scripts",children:[(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(x.Button,{onClick:()=>{ee(null),Y(!0)},children:[(0,t.jsx)(i.Plus,{})," ",e("newScript")]})}),P.length?(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:P.map(a=>(0,t.jsxs)(m.Card,{children:[(0,t.jsx)(m.CardHeader,{children:(0,t.jsxs)(m.CardTitle,{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:a.name}),a.enabledByDefault&&(0,t.jsx)(u.Badge,{children:e("defaultEnabled")})]})}),(0,t.jsxs)(m.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2 text-xs text-muted-foreground",children:[a.preBuildScript&&(0,t.jsx)(u.Badge,{variant:"outline",children:e("preBuild")}),a.postBuildScript&&(0,t.jsx)(u.Badge,{variant:"outline",children:e("postBuild")}),(0,t.jsx)("span",{children:e("timeoutSeconds",{count:a.timeoutSeconds})}),(0,t.jsx)("span",{children:e(`failureBehaviors.${a.failureBehavior}`)})]}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsx)(x.Button,{onClick:()=>{ee(a),Y(!0)},size:"sm",variant:"outline",children:e("edit")}),(0,t.jsx)(x.Button,{"aria-label":e("deleteScript"),onClick:()=>void eo(a.id),size:"icon-sm",variant:"destructive",children:(0,t.jsx)(l.Trash2,{})})]})]})]},a.id))}):(0,t.jsx)(g.Empty,{className:"border py-12",children:(0,t.jsxs)(g.EmptyHeader,{children:[(0,t.jsx)(g.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s,{})}),(0,t.jsx)(g.EmptyTitle,{children:e("noScripts")}),(0,t.jsx)(g.EmptyDescription,{children:e("noScriptsDescription")})]})})]})]}),X&&(0,t.jsx)(H,{onOpenChange:Y,onSaved:en,open:X,script:Z}),(0,t.jsx)(d.ConfirmationDialog,{actionLabel:e("deleteBuilds"),cancelLabel:e("cancel"),description:e("deleteBuildsDescription",{count:et.size}),onConfirm:ec,onOpenChange:es,open:ei,title:e("deleteBuildsTitle",{count:et.size})})]})}],229490)}]);