@ai-development-environment/server 0.0.43 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (508) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/build-manifest.json +3 -3
  4. package/standalone/.next/prerender-manifest.json +3 -3
  5. package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
  6. package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
  7. package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
  8. package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
  9. package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
  10. package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
  11. package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
  12. package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
  13. package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
  14. package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
  15. package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
  16. package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
  17. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
  18. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
  19. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
  20. package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
  21. package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
  22. package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
  23. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
  25. package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
  26. package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
  27. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  28. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
  29. package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
  31. package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
  33. package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
  34. package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
  35. package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
  36. package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
  37. package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
  39. package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
  40. package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
  41. package/standalone/.next/server/app/[locale]/jira/cache/page.js.nft.json +1 -1
  42. package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
  43. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
  44. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  45. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  46. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  47. package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
  48. package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
  49. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
  50. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
  51. package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
  52. package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
  53. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  54. package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  55. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
  57. package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
  59. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  60. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  61. package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
  62. package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
  63. package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
  65. package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
  66. package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
  67. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
  68. package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
  69. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
  70. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
  71. package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
  72. package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
  73. package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
  74. package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
  75. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
  76. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
  77. package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
  78. package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
  79. package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
  80. package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
  81. package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
  82. package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
  83. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
  84. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  85. package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
  86. package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
  87. package/standalone/.next/server/app/_global-error.html +1 -1
  88. package/standalone/.next/server/app/_global-error.rsc +1 -1
  89. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  90. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  91. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  92. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  93. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  94. package/standalone/.next/server/app/_not-found.html +1 -1
  95. package/standalone/.next/server/app/_not-found.rsc +1 -1
  96. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  97. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  98. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  99. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  100. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  101. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  102. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
  103. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
  104. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
  105. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
  106. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
  107. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
  108. package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
  109. package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
  110. package/standalone/.next/server/app/api/codebases/route.js +1 -1
  111. package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
  112. package/standalone/.next/server/app/api/graphql/route.js +1 -1
  113. package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
  114. package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
  115. package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
  116. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
  117. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
  118. package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
  119. package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
  120. package/standalone/.next/server/app/api/ios/enrollment-profile/route.js +1 -1
  121. package/standalone/.next/server/app/api/ios/enrollment-profile/route.js.nft.json +1 -1
  122. package/standalone/.next/server/app/api/ios/profile-response/route.js +1 -1
  123. package/standalone/.next/server/app/api/ios/profile-response/route.js.nft.json +1 -1
  124. package/standalone/.next/server/app/api/mcp/route.js +1 -1
  125. package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  126. package/standalone/.next/server/app/api/openapi.json/route.js +1 -1
  127. package/standalone/.next/server/app/api/openapi.json/route.js.nft.json +1 -1
  128. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
  129. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
  130. package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
  131. package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
  132. package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
  133. package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
  134. package/standalone/.next/server/app/api/tools/call/route.js +1 -1
  135. package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
  136. package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
  137. package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
  138. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
  139. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
  140. package/standalone/.next/server/chunks/{[root-of-the-server]__00h1t-5._.js → [root-of-the-server]__0-ptbns._.js} +1 -1
  141. package/standalone/.next/server/chunks/{[root-of-the-server]__0lrv7jk._.js → [root-of-the-server]__0-rk-gw._.js} +1 -1
  142. package/standalone/.next/server/chunks/{[root-of-the-server]__0783dgt._.js → [root-of-the-server]__0-siu15._.js} +1 -1
  143. package/standalone/.next/server/chunks/{[root-of-the-server]__0fbv1bw._.js → [root-of-the-server]__00l1ur7._.js} +1 -1
  144. package/standalone/.next/server/chunks/{[root-of-the-server]__09--bpf._.js → [root-of-the-server]__00pz9u-._.js} +1 -1
  145. package/standalone/.next/server/chunks/{[root-of-the-server]__00pg8ki._.js → [root-of-the-server]__00q730m._.js} +1 -1
  146. package/standalone/.next/server/chunks/{[root-of-the-server]__2195vvu._.js → [root-of-the-server]__03l7uod._.js} +2 -2
  147. package/standalone/.next/server/chunks/{[root-of-the-server]__09n1yz-._.js → [root-of-the-server]__04ytt8c._.js} +1 -1
  148. package/standalone/.next/server/chunks/{[root-of-the-server]__1t1-x5a._.js → [root-of-the-server]__05l-vh9._.js} +1 -1
  149. package/standalone/.next/server/chunks/{[root-of-the-server]__0gyqdmk._.js → [root-of-the-server]__05o3hc7._.js} +1 -1
  150. package/standalone/.next/server/chunks/{[root-of-the-server]__0kmxj4m._.js → [root-of-the-server]__0661gy0._.js} +1 -1
  151. package/standalone/.next/server/chunks/{[root-of-the-server]__03i41aw._.js → [root-of-the-server]__06v-y44._.js} +1 -1
  152. package/standalone/.next/server/chunks/{[root-of-the-server]__027a5vb._.js → [root-of-the-server]__0730ihs._.js} +1 -1
  153. package/standalone/.next/server/chunks/{[root-of-the-server]__1yxu--t._.js → [root-of-the-server]__076321a._.js} +1 -1
  154. package/standalone/.next/server/chunks/{[root-of-the-server]__0o-m0xx._.js → [root-of-the-server]__076y818._.js} +1 -1
  155. package/standalone/.next/server/chunks/[root-of-the-server]__0_d9q6w._.js +3 -0
  156. package/standalone/.next/server/chunks/{[root-of-the-server]__16u_xzt._.js → [root-of-the-server]__0_smoou._.js} +2 -2
  157. package/standalone/.next/server/chunks/{[root-of-the-server]__1pan46j._.js → [root-of-the-server]__0a61u23._.js} +1 -1
  158. package/standalone/.next/server/chunks/{[root-of-the-server]__0gm8rnl._.js → [root-of-the-server]__0a8ssv2._.js} +1 -1
  159. package/standalone/.next/server/chunks/{[root-of-the-server]__04ws4jm._.js → [root-of-the-server]__0cusg9h._.js} +1 -1
  160. package/standalone/.next/server/chunks/{[root-of-the-server]__0dfk0up._.js → [root-of-the-server]__0czmmn3._.js} +2 -2
  161. package/standalone/.next/server/chunks/{[root-of-the-server]__0gvldsm._.js → [root-of-the-server]__0d157q5._.js} +1 -1
  162. package/standalone/.next/server/chunks/[root-of-the-server]__0dq1b6t._.js +3 -0
  163. package/standalone/.next/server/chunks/[root-of-the-server]__0duw2z9._.js +3 -0
  164. package/standalone/.next/server/chunks/{[root-of-the-server]__0i8jv9o._.js → [root-of-the-server]__0f4mi_7._.js} +1 -1
  165. package/standalone/.next/server/chunks/[root-of-the-server]__0gwt8xn._.js +3 -0
  166. package/standalone/.next/server/chunks/{[root-of-the-server]__1mofk4t._.js → [root-of-the-server]__0jc7f-h._.js} +2 -2
  167. package/standalone/.next/server/chunks/{[root-of-the-server]__01k_3ze._.js → [root-of-the-server]__0ji4_aa._.js} +1 -1
  168. package/standalone/.next/server/chunks/[root-of-the-server]__0kffrvp._.js +3 -0
  169. package/standalone/.next/server/chunks/{[root-of-the-server]__1mlcdp1._.js → [root-of-the-server]__0lqruq_._.js} +1 -1
  170. package/standalone/.next/server/chunks/{[root-of-the-server]__0_yro61._.js → [root-of-the-server]__0m-o7gg._.js} +2 -2
  171. package/standalone/.next/server/chunks/[root-of-the-server]__0ny_w4c._.js +3 -0
  172. package/standalone/.next/server/chunks/[root-of-the-server]__0qay7yq._.js +3 -0
  173. package/standalone/.next/server/chunks/{[root-of-the-server]__0ksul8g._.js → [root-of-the-server]__0qpwbwq._.js} +1 -1
  174. package/standalone/.next/server/chunks/[root-of-the-server]__0r73w_w._.js +3 -0
  175. package/standalone/.next/server/chunks/[root-of-the-server]__0srh8bm._.js +3 -0
  176. package/standalone/.next/server/chunks/[root-of-the-server]__0syu0s0._.js +3 -0
  177. package/standalone/.next/server/chunks/{[root-of-the-server]__154lh-5._.js → [root-of-the-server]__0t0z79p._.js} +2 -2
  178. package/standalone/.next/server/chunks/{[root-of-the-server]__0olwy-c._.js → [root-of-the-server]__0tt2s67._.js} +1 -1
  179. package/standalone/.next/server/chunks/{[root-of-the-server]__1ric9t-._.js → [root-of-the-server]__0uz7ud6._.js} +2 -2
  180. package/standalone/.next/server/chunks/{[root-of-the-server]__0s5dxd3._.js → [root-of-the-server]__0x7nzft._.js} +1 -1
  181. package/standalone/.next/server/chunks/[root-of-the-server]__0xro-tn._.js +3 -0
  182. package/standalone/.next/server/chunks/{[root-of-the-server]__01lu84h._.js → [root-of-the-server]__10784d-._.js} +2 -2
  183. package/standalone/.next/server/chunks/[root-of-the-server]__123on-v._.js +3 -0
  184. package/standalone/.next/server/chunks/{[root-of-the-server]__1wn2s2e._.js → [root-of-the-server]__12i2_e-._.js} +2 -2
  185. package/standalone/.next/server/chunks/[root-of-the-server]__133en1z._.js +3 -0
  186. package/standalone/.next/server/chunks/[root-of-the-server]__13njn4x._.js +3 -0
  187. package/standalone/.next/server/chunks/[root-of-the-server]__145nk5b._.js +3 -0
  188. package/standalone/.next/server/chunks/[root-of-the-server]__14p-wic._.js +3 -0
  189. package/standalone/.next/server/chunks/[root-of-the-server]__14v5hwd._.js +3 -0
  190. package/standalone/.next/server/chunks/[root-of-the-server]__1549etm._.js +3 -0
  191. package/standalone/.next/server/chunks/[root-of-the-server]__15zod2l._.js +3 -0
  192. package/standalone/.next/server/chunks/{[root-of-the-server]__0xc-tua._.js → [root-of-the-server]__16lxm7i._.js} +2 -2
  193. package/standalone/.next/server/chunks/[root-of-the-server]__176ofx1._.js +3 -0
  194. package/standalone/.next/server/chunks/{[root-of-the-server]__1z2wsgn._.js → [root-of-the-server]__17yxr8i._.js} +1 -1
  195. package/standalone/.next/server/chunks/{[root-of-the-server]__1sfzs44._.js → [root-of-the-server]__18_g5so._.js} +2 -2
  196. package/standalone/.next/server/chunks/{[root-of-the-server]__0iayrsu._.js → [root-of-the-server]__198g-0l._.js} +1 -1
  197. package/standalone/.next/server/chunks/[root-of-the-server]__19n37bl._.js +3 -0
  198. package/standalone/.next/server/chunks/[root-of-the-server]__1_z0-o0._.js +3 -0
  199. package/standalone/.next/server/chunks/[root-of-the-server]__1c91-d3._.js +3 -0
  200. package/standalone/.next/server/chunks/[root-of-the-server]__1cmajoo._.js +3 -0
  201. package/standalone/.next/server/chunks/[root-of-the-server]__1cpfh84._.js +3 -0
  202. package/standalone/.next/server/chunks/[root-of-the-server]__1dn92tm._.js +3 -0
  203. package/standalone/.next/server/chunks/[root-of-the-server]__1elf__p._.js +3 -0
  204. package/standalone/.next/server/chunks/{[root-of-the-server]__0ynkv_7._.js → [root-of-the-server]__1f2c4fv._.js} +1 -1
  205. package/standalone/.next/server/chunks/[root-of-the-server]__1fnqwa3._.js +3 -0
  206. package/standalone/.next/server/chunks/[root-of-the-server]__1fumbd9._.js +3 -0
  207. package/standalone/.next/server/chunks/{[root-of-the-server]__0eaabcp._.js → [root-of-the-server]__1fwcg2w._.js} +2 -2
  208. package/standalone/.next/server/chunks/[root-of-the-server]__1gl82vr._.js +3 -0
  209. package/standalone/.next/server/chunks/{[root-of-the-server]__1f9ug94._.js → [root-of-the-server]__1j88891._.js} +1 -1
  210. package/standalone/.next/server/chunks/[root-of-the-server]__1j89nx9._.js +3 -0
  211. package/standalone/.next/server/chunks/[root-of-the-server]__1ke6fy2._.js +3 -0
  212. package/standalone/.next/server/chunks/{[root-of-the-server]__0bl-go3._.js → [root-of-the-server]__1kr6xrb._.js} +2 -2
  213. package/standalone/.next/server/chunks/[root-of-the-server]__1kvooj6._.js +3 -0
  214. package/standalone/.next/server/chunks/[root-of-the-server]__1m7y79-._.js +3 -0
  215. package/standalone/.next/server/chunks/[root-of-the-server]__1md2i2u._.js +3 -0
  216. package/standalone/.next/server/chunks/[root-of-the-server]__1mnaj5t._.js +3 -0
  217. package/standalone/.next/server/chunks/{[root-of-the-server]__1bfswt2._.js → [root-of-the-server]__1ohhyet._.js} +1 -1
  218. package/standalone/.next/server/chunks/{[root-of-the-server]__1v2l-cb._.js → [root-of-the-server]__1pf55w3._.js} +2 -2
  219. package/standalone/.next/server/chunks/[root-of-the-server]__1q247bc._.js +3 -0
  220. package/standalone/.next/server/chunks/[root-of-the-server]__1qaicnm._.js +3 -0
  221. package/standalone/.next/server/chunks/{[root-of-the-server]__15zmuuw._.js → [root-of-the-server]__1qpos_f._.js} +2 -2
  222. package/standalone/.next/server/chunks/[root-of-the-server]__1qr-aka._.js +3 -0
  223. package/standalone/.next/server/chunks/{[root-of-the-server]__0i2ljnx._.js → [root-of-the-server]__1syo7nr._.js} +2 -2
  224. package/standalone/.next/server/chunks/[root-of-the-server]__1v9n3yu._.js +3 -0
  225. package/standalone/.next/server/chunks/[root-of-the-server]__1xi2k6g._.js +3 -0
  226. package/standalone/.next/server/chunks/{[root-of-the-server]__1j0txpm._.js → [root-of-the-server]__1yta_xv._.js} +2 -2
  227. package/standalone/.next/server/chunks/[root-of-the-server]__1zadv3h._.js +3 -0
  228. package/standalone/.next/server/chunks/{[root-of-the-server]__13l3v-v._.js → [root-of-the-server]__1zdk-iw._.js} +2 -2
  229. package/standalone/.next/server/chunks/[root-of-the-server]__1zwqj_g._.js +3 -0
  230. package/standalone/.next/server/chunks/[root-of-the-server]__20rr3br._.js +3 -0
  231. package/standalone/.next/server/chunks/_00pgex-._.js +68 -66
  232. package/standalone/.next/server/chunks/_03k34hm._.js +4 -4
  233. package/standalone/.next/server/chunks/_04tltxp._.js +4 -4
  234. package/standalone/.next/server/chunks/_05ieldc._.js +4 -4
  235. package/standalone/.next/server/chunks/_0_3-lke._.js +2 -0
  236. package/standalone/.next/server/chunks/_1bpbnrs._.js +4 -4
  237. package/standalone/.next/server/chunks/_1hcmg6g._.js +4 -4
  238. package/standalone/.next/server/chunks/_1javz-p._.js +4 -4
  239. package/standalone/.next/server/chunks/_1qvlhr_._.js +4 -4
  240. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e80fhr._.js +3 -3
  241. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03nc3bp._.js → [root-of-the-server]__0k74961._.js} +4 -4
  242. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__04fj378._.js → [root-of-the-server]__0tz354o._.js} +3 -3
  243. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1i04gpy._.js +27 -0
  244. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wpef1o._.js +3 -0
  245. package/standalone/.next/server/chunks/ssr/_0-_e-ox._.js +1 -1
  246. package/standalone/.next/server/chunks/ssr/_0-ih50c._.js +3 -0
  247. package/standalone/.next/server/chunks/ssr/{_08lb8p6._.js → _00_gb4o._.js} +2 -2
  248. package/standalone/.next/server/chunks/ssr/_012q7w6._.js +10 -10
  249. package/standalone/.next/server/chunks/ssr/_03kzeos._.js +3 -0
  250. package/standalone/.next/server/chunks/ssr/_05ohevo._.js +1 -1
  251. package/standalone/.next/server/chunks/ssr/{_0jum_1m._.js → _0759zq8._.js} +2 -2
  252. package/standalone/.next/server/chunks/ssr/_07a5zv1._.js +3 -0
  253. package/standalone/.next/server/chunks/ssr/{_117jkyy._.js → _09wh5xv._.js} +8 -3
  254. package/standalone/.next/server/chunks/ssr/_0c7yfj8._.js +3 -0
  255. package/standalone/.next/server/chunks/ssr/{_01cun29._.js → _0cynmyr._.js} +2 -2
  256. package/standalone/.next/server/chunks/ssr/_0dir-eb._.js +34 -0
  257. package/standalone/.next/server/chunks/ssr/_0dvnys0._.js +5 -5
  258. package/standalone/.next/server/chunks/ssr/_0fha4pb._.js +1 -1
  259. package/standalone/.next/server/chunks/ssr/_0fk_1t_._.js +3 -0
  260. package/standalone/.next/server/chunks/ssr/_0k5jx04._.js +5 -5
  261. package/standalone/.next/server/chunks/ssr/_0n98rd4._.js +3 -0
  262. package/standalone/.next/server/chunks/ssr/_0nnwpvt._.js +3 -0
  263. package/standalone/.next/server/chunks/ssr/{_1c_ojfs._.js → _0pk2e_s._.js} +2 -2
  264. package/standalone/.next/server/chunks/ssr/_0pm3j9j._.js +3 -0
  265. package/standalone/.next/server/chunks/ssr/_0rcby6e._.js +5 -5
  266. package/standalone/.next/server/chunks/ssr/{_170xw1h._.js → _0rx-o1y._.js} +2 -2
  267. package/standalone/.next/server/chunks/ssr/_0ry7kff._.js +3 -0
  268. package/standalone/.next/server/chunks/ssr/_0t2jwg3._.js +31 -31
  269. package/standalone/.next/server/chunks/ssr/_0t5lgno._.js +1 -1
  270. package/standalone/.next/server/chunks/ssr/_0tc_1s_._.js +3 -0
  271. package/standalone/.next/server/chunks/ssr/{_0m5obko._.js → _0w9r25f._.js} +2 -2
  272. package/standalone/.next/server/chunks/ssr/_0ysjbys._.js +11 -0
  273. package/standalone/.next/server/chunks/ssr/_17q5b-5._.js +9 -0
  274. package/standalone/.next/server/chunks/ssr/{_1q79umx._.js → _196iuum._.js} +2 -2
  275. package/standalone/.next/server/chunks/ssr/_1bga6ml._.js +3 -0
  276. package/standalone/.next/server/chunks/ssr/_1biqcz_._.js +3 -0
  277. package/standalone/.next/server/chunks/ssr/_1bzibio._.js +31 -31
  278. package/standalone/.next/server/chunks/ssr/_1c34qp8._.js +2 -2
  279. package/standalone/.next/server/chunks/ssr/_1d-qtbz._.js +1 -1
  280. package/standalone/.next/server/chunks/ssr/{_04jk-xk._.js → _1ecln95._.js} +2 -2
  281. package/standalone/.next/server/chunks/ssr/_1eoq6hs._.js +3 -0
  282. package/standalone/.next/server/chunks/ssr/{_1zqt7an._.js → _1h2b2b5._.js} +2 -2
  283. package/standalone/.next/server/chunks/ssr/_1kwnjml._.js +34 -0
  284. package/standalone/.next/server/chunks/ssr/_1o8-fvv._.js +3 -0
  285. package/standalone/.next/server/chunks/ssr/_1pqjzks._.js +3 -0
  286. package/standalone/.next/server/chunks/ssr/{_1u7742_._.js → _1r1e3_z._.js} +2 -2
  287. package/standalone/.next/server/chunks/ssr/_1rqnk8t._.js +3 -0
  288. package/standalone/.next/server/chunks/ssr/_1sjzp8l._.js +3 -0
  289. package/standalone/.next/server/chunks/ssr/_1tmllxv._.js +24 -0
  290. package/standalone/.next/server/chunks/ssr/_1uoc7zb._.js +6 -0
  291. package/standalone/.next/server/chunks/ssr/_1xs2spu._.js +3 -3
  292. package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +7 -7
  293. package/standalone/.next/server/chunks/ssr/{_0y9d64c._.js → _1zsu_6o._.js} +2 -2
  294. package/standalone/.next/server/chunks/ssr/_20pbep2._.js +2 -2
  295. package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
  296. package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
  297. package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
  298. package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
  299. package/standalone/.next/server/chunks/ssr/node_modules_1fko13n._.js +3 -0
  300. package/standalone/.next/server/chunks/ssr/node_modules_1qembts._.js +3 -0
  301. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1nipfj2._.js +3 -0
  302. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-popper_dist_index_mjs_0428afp._.js +3 -0
  303. package/standalone/.next/server/chunks/ssr/{node_modules_lucide-react_dist_esm_icons_1b76nr4._.js → node_modules_lucide-react_dist_esm_icons_15-ly7n._.js} +2 -2
  304. package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1ye04e4._.js +3 -0
  305. package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +16 -16
  306. package/standalone/.next/server/chunks/ssr/src_components_build-data_build-data-page_tsx_1t2rrh0._.js +11 -11
  307. package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +10 -10
  308. package/standalone/.next/server/chunks/ssr/src_components_builds_builds-page_tsx_17qzmsl._.js +8 -8
  309. package/standalone/.next/server/chunks/ssr/src_components_builds_configuration-icon_tsx_1v42ztc._.js +2 -2
  310. package/standalone/.next/server/chunks/ssr/src_components_cache-server_cache-page_tsx_0_-eo_e._.js +5 -5
  311. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +11 -11
  312. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebases-page_tsx_0wcj3k1._.js +10 -10
  313. package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +17 -17
  314. package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +7 -7
  315. package/standalone/.next/server/chunks/ssr/src_components_devices_devices-page_tsx_1y45lv2._.js +8 -8
  316. package/standalone/.next/server/chunks/ssr/src_components_github_actions-page_tsx_18434xt._.js +4 -4
  317. package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
  318. package/standalone/.next/server/chunks/ssr/src_components_github_pull-requests-page_tsx_1il3ga-._.js +12 -12
  319. package/standalone/.next/server/chunks/ssr/src_components_jira_cache-page_tsx_1znt1yl._.js +3 -3
  320. package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +15 -15
  321. package/standalone/.next/server/chunks/ssr/src_components_jira_tickets-page_tsx_0_ocldp._.js +3 -3
  322. package/standalone/.next/server/chunks/ssr/src_components_notifications_notifications-page_tsx_19f4ztg._.js +18 -18
  323. package/standalone/.next/server/chunks/ssr/src_components_push-notifications_push-notifications-page_tsx_1c_b-t4._.js +2 -2
  324. package/standalone/.next/server/chunks/ssr/src_components_settings-page_tsx_06dxqc7._.js +31 -31
  325. package/standalone/.next/server/chunks/ssr/src_components_signing-assets_provisioning-profiles-page_tsx_1zr20o7._.js +9 -9
  326. package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +3 -3
  327. package/standalone/.next/server/chunks/ssr/src_components_telemetry_telemetry-page_tsx_0yzdpy6._.js +14 -14
  328. package/standalone/.next/server/chunks/ssr/src_components_ui_date-time_tsx_0zuage9._.js +3 -0
  329. package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +4 -4
  330. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  331. package/standalone/.next/server/pages/404.html +1 -1
  332. package/standalone/.next/server/pages/500.html +1 -1
  333. package/standalone/.next/server/server-reference-manifest.js +1 -1
  334. package/standalone/.next/server/server-reference-manifest.json +1 -1
  335. package/standalone/.next/static/chunks/000lif3c0zhvu.js +80 -0
  336. package/standalone/.next/static/chunks/02wsz0adffqp8.js +28 -0
  337. package/standalone/.next/static/chunks/{2mth_pn5d54qo.js → 02zr1fj6sg9gn.js} +33 -33
  338. package/standalone/.next/static/chunks/{1k02pmb5ikjwl.js → 03cte61olt23o.js} +3 -3
  339. package/standalone/.next/static/chunks/{1ezpx5-kghuo6.js → 04inif3zp27ql.js} +11 -11
  340. package/standalone/.next/static/chunks/{2qe7etuh1bwv3.js → 04twsuitu09qc.js} +1 -1
  341. package/standalone/.next/static/chunks/{1g0hwagd4q811.js → 0ejnphkok3cbc.js} +1 -1
  342. package/standalone/.next/static/chunks/0f822nit06dft.js +9 -0
  343. package/standalone/.next/static/chunks/0fovjx-g7eta0.js +65 -0
  344. package/standalone/.next/static/chunks/{0b0w_wac5cqbn.js → 0fw1be4ry6k_r.js} +2 -2
  345. package/standalone/.next/static/chunks/{1ywyjstd4f1px.js → 0ikbwsq-7rewz.js} +1 -1
  346. package/standalone/.next/static/chunks/0ir2jvw5qtwnj.js +1 -0
  347. package/standalone/.next/static/chunks/0iwqaqr66hgne.js +1 -0
  348. package/standalone/.next/static/chunks/0k8int7jsgtz3.js +30 -0
  349. package/standalone/.next/static/chunks/{2a6rrto2ktoc_.js → 0nutq5ctjfc37.js} +5 -5
  350. package/standalone/.next/static/chunks/0u2tsyv0tassx.js +12 -0
  351. package/standalone/.next/static/chunks/0xaamcimitizu.js +1 -0
  352. package/standalone/.next/static/chunks/1-_hzodjvgft7.js +1 -0
  353. package/standalone/.next/static/chunks/10xbozbf30cv-.js +1 -0
  354. package/standalone/.next/static/chunks/{0579din_nqxhf.js → 14jtogt0f0nsh.js} +3 -3
  355. package/standalone/.next/static/chunks/169-gif_99pjd.js +41 -0
  356. package/standalone/.next/static/chunks/{349ls84c4dbp9.js → 18zmneu2dpo8s.js} +3 -3
  357. package/standalone/.next/static/chunks/{3bnkoq89szbzx.js → 1a4de2uh02g6b.js} +2 -2
  358. package/standalone/.next/static/chunks/1ch1iiugfh7pr.js +1 -0
  359. package/standalone/.next/static/chunks/1edawd0o38cx6.js +28 -0
  360. package/standalone/.next/static/chunks/1gz-q30e1qzuf.js +35 -0
  361. package/standalone/.next/static/chunks/{37kyqfr93cgmv.js → 1h5cc0dmoomfs.js} +33 -33
  362. package/standalone/.next/static/chunks/1hzt4mwdfnmv2.js +33 -0
  363. package/standalone/.next/static/chunks/{2b6qj3i_of-b7.js → 1k2n9o4o5p8s6.js} +1 -1
  364. package/standalone/.next/static/chunks/1ufkqj87rj6-i.js +1 -0
  365. package/standalone/.next/static/chunks/1z77ayhor3gtg.js +36 -0
  366. package/standalone/.next/static/chunks/2-1-vmcvalx28.js +1 -0
  367. package/standalone/.next/static/chunks/{1zqoc_5v6sshl.js → 28-e9fkcgfk62.js} +11 -11
  368. package/standalone/.next/static/chunks/{3rolhb6l918f3.js → 28jwnowa-b2u5.js} +5 -5
  369. package/standalone/.next/static/chunks/2ar0jmg8yo3_q.js +13 -0
  370. package/standalone/.next/static/chunks/{0duto9u8a-gcp.js → 2f9kasslyd1ss.js} +16 -16
  371. package/standalone/.next/static/chunks/{1jtaoae30sltr.js → 2ly2npblvc-_j.js} +17 -17
  372. package/standalone/.next/static/chunks/2vv30t-8y66id.js +1 -0
  373. package/standalone/.next/static/chunks/2x3_xry-6de68.css +1 -0
  374. package/standalone/.next/static/chunks/{1nc0w3yg2nwys.js → 2y3w6cb0dlmzd.js} +5 -5
  375. package/standalone/.next/static/chunks/2yayf07873iy6.js +1 -0
  376. package/standalone/.next/static/chunks/2yfhr6so_34cy.js +33 -0
  377. package/standalone/.next/static/chunks/{1jp3oxzet05xp.js → 2zftfpd-e3i12.js} +1 -1
  378. package/standalone/.next/static/chunks/{16n8heazfxgkp.js → 2zho87usah-sc.js} +1 -1
  379. package/standalone/.next/static/chunks/2zypdpeeqzci1.js +10 -0
  380. package/standalone/.next/static/chunks/{30xpb_0lt8jpx.js → 347ov6pk6gcg2.js} +11 -11
  381. package/standalone/.next/static/chunks/36h9gn_o83hax.js +4 -0
  382. package/standalone/.next/static/chunks/{0az2qcfmxe26_.js → 377e8qofcd6up.js} +9 -9
  383. package/standalone/.next/static/chunks/388484eodm15m.js +8 -0
  384. package/standalone/.next/static/chunks/3_as3_z1u3nnb.js +1 -0
  385. package/standalone/.next/static/chunks/3_g7zsn_y38wy.js +1 -0
  386. package/standalone/.next/static/chunks/{31pn-_jxgdd7h.js → 3ajafpxyeycth.js} +5 -5
  387. package/standalone/.next/static/chunks/3bqm7ynezy7eb.js +7 -0
  388. package/standalone/.next/static/chunks/3c4-hisg3lm8z.js +9 -0
  389. package/standalone/.next/static/chunks/{1h5y3qq56veer.js → 3f6axekan26k2.js} +3 -3
  390. package/standalone/.next/static/chunks/3gx3ywvr2ggbb.js +1 -0
  391. package/standalone/.next/static/chunks/3jqmoapzyq5tx.js +8 -0
  392. package/standalone/.next/static/chunks/3llcyep7mkp-i.js +155 -0
  393. package/standalone/.next/static/chunks/{1n1t0xlcfflb5.js → 3nmfnes9vz7cm.js} +8 -8
  394. package/standalone/.next/static/chunks/{2vu5ny7yd8uz6.js → 3o31isuqgjdgf.js} +17 -17
  395. package/standalone/.next/static/chunks/3u04m_dram50f.js +1 -0
  396. package/standalone/.next/static/chunks/3y3ginr-kriqa.js +39 -0
  397. package/standalone/.next/static/chunks/{1pmegdso5i73a.js → 40f0gc3x_52ei.js} +1 -1
  398. package/standalone/.next/static/chunks/40j-6wiq8b9d7.js +1 -0
  399. package/standalone/.next/static/chunks/{3tmt2fscg4x0a.js → 44pprg5jd-0j8.js} +13 -13
  400. package/standalone/.next/server/chunks/[root-of-the-server]__0hmxoy-._.js +0 -3
  401. package/standalone/.next/server/chunks/[root-of-the-server]__0na0kf5._.js +0 -3
  402. package/standalone/.next/server/chunks/[root-of-the-server]__0o2r2g3._.js +0 -3
  403. package/standalone/.next/server/chunks/[root-of-the-server]__0qn2s4y._.js +0 -3
  404. package/standalone/.next/server/chunks/[root-of-the-server]__0s36z37._.js +0 -3
  405. package/standalone/.next/server/chunks/[root-of-the-server]__0sl88nm._.js +0 -3
  406. package/standalone/.next/server/chunks/[root-of-the-server]__0tx5g5o._.js +0 -3
  407. package/standalone/.next/server/chunks/[root-of-the-server]__0uyjad8._.js +0 -3
  408. package/standalone/.next/server/chunks/[root-of-the-server]__0vwq0xl._.js +0 -3
  409. package/standalone/.next/server/chunks/[root-of-the-server]__0wtla_4._.js +0 -3
  410. package/standalone/.next/server/chunks/[root-of-the-server]__0z-lmzl._.js +0 -3
  411. package/standalone/.next/server/chunks/[root-of-the-server]__11bmvex._.js +0 -3
  412. package/standalone/.next/server/chunks/[root-of-the-server]__11zhw_f._.js +0 -3
  413. package/standalone/.next/server/chunks/[root-of-the-server]__12yyk-v._.js +0 -3
  414. package/standalone/.next/server/chunks/[root-of-the-server]__152ip4m._.js +0 -3
  415. package/standalone/.next/server/chunks/[root-of-the-server]__1a28vw2._.js +0 -3
  416. package/standalone/.next/server/chunks/[root-of-the-server]__1bo7dgt._.js +0 -3
  417. package/standalone/.next/server/chunks/[root-of-the-server]__1bzm9rj._.js +0 -3
  418. package/standalone/.next/server/chunks/[root-of-the-server]__1dc6__1._.js +0 -3
  419. package/standalone/.next/server/chunks/[root-of-the-server]__1duupjc._.js +0 -3
  420. package/standalone/.next/server/chunks/[root-of-the-server]__1dyeloz._.js +0 -3
  421. package/standalone/.next/server/chunks/[root-of-the-server]__1e5dea0._.js +0 -3
  422. package/standalone/.next/server/chunks/[root-of-the-server]__1f4gxqa._.js +0 -3
  423. package/standalone/.next/server/chunks/[root-of-the-server]__1gejcnd._.js +0 -3
  424. package/standalone/.next/server/chunks/[root-of-the-server]__1l-0_di._.js +0 -3
  425. package/standalone/.next/server/chunks/[root-of-the-server]__1l33gc2._.js +0 -3
  426. package/standalone/.next/server/chunks/[root-of-the-server]__1nm1v2v._.js +0 -3
  427. package/standalone/.next/server/chunks/[root-of-the-server]__1nzw_pg._.js +0 -3
  428. package/standalone/.next/server/chunks/[root-of-the-server]__1o02rgu._.js +0 -3
  429. package/standalone/.next/server/chunks/[root-of-the-server]__1ofzum5._.js +0 -3
  430. package/standalone/.next/server/chunks/[root-of-the-server]__1qf_jx0._.js +0 -3
  431. package/standalone/.next/server/chunks/[root-of-the-server]__1rz3t-8._.js +0 -3
  432. package/standalone/.next/server/chunks/[root-of-the-server]__1rzexif._.js +0 -3
  433. package/standalone/.next/server/chunks/[root-of-the-server]__1s_2-hp._.js +0 -3
  434. package/standalone/.next/server/chunks/[root-of-the-server]__1tl4gde._.js +0 -3
  435. package/standalone/.next/server/chunks/[root-of-the-server]__1u283f9._.js +0 -3
  436. package/standalone/.next/server/chunks/[root-of-the-server]__1uek0dm._.js +0 -3
  437. package/standalone/.next/server/chunks/[root-of-the-server]__1v1kr7z._.js +0 -3
  438. package/standalone/.next/server/chunks/[root-of-the-server]__1vhxr5_._.js +0 -3
  439. package/standalone/.next/server/chunks/[root-of-the-server]__1w36m17._.js +0 -3
  440. package/standalone/.next/server/chunks/[root-of-the-server]__1xws3pt._.js +0 -3
  441. package/standalone/.next/server/chunks/[root-of-the-server]__1z15fu5._.js +0 -3
  442. package/standalone/.next/server/chunks/[root-of-the-server]__20gqolc._.js +0 -3
  443. package/standalone/.next/server/chunks/[root-of-the-server]__20no38f._.js +0 -3
  444. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04beow0._.js +0 -3
  445. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b4pivw._.js +0 -6
  446. package/standalone/.next/server/chunks/ssr/_00pb_-u._.js +0 -3
  447. package/standalone/.next/server/chunks/ssr/_08ux-xx._.js +0 -35
  448. package/standalone/.next/server/chunks/ssr/_0_c2ksk._.js +0 -3
  449. package/standalone/.next/server/chunks/ssr/_0_nha02._.js +0 -3
  450. package/standalone/.next/server/chunks/ssr/_0bpm26t._.js +0 -3
  451. package/standalone/.next/server/chunks/ssr/_0e64d91._.js +0 -3
  452. package/standalone/.next/server/chunks/ssr/_0ho0wc7._.js +0 -3
  453. package/standalone/.next/server/chunks/ssr/_0jxepjk._.js +0 -3
  454. package/standalone/.next/server/chunks/ssr/_0l6y7z2._.js +0 -3
  455. package/standalone/.next/server/chunks/ssr/_0sdizo4._.js +0 -34
  456. package/standalone/.next/server/chunks/ssr/_0zg79hi._.js +0 -3
  457. package/standalone/.next/server/chunks/ssr/_11oshuh._.js +0 -3
  458. package/standalone/.next/server/chunks/ssr/_11z-hcq._.js +0 -34
  459. package/standalone/.next/server/chunks/ssr/_123h643._.js +0 -3
  460. package/standalone/.next/server/chunks/ssr/_1cc_dsb._.js +0 -34
  461. package/standalone/.next/server/chunks/ssr/_1mke0us._.js +0 -3
  462. package/standalone/.next/server/chunks/ssr/_1qy-wes._.js +0 -3
  463. package/standalone/.next/server/chunks/ssr/_1r4w1io._.js +0 -24
  464. package/standalone/.next/server/chunks/ssr/_1upie3e._.js +0 -3
  465. package/standalone/.next/server/chunks/ssr/_1vx9bqg._.js +0 -14
  466. package/standalone/.next/server/chunks/ssr/_1wmzpjb._.js +0 -3
  467. package/standalone/.next/server/chunks/ssr/node_modules_0blr8x6._.js +0 -3
  468. package/standalone/.next/server/chunks/ssr/node_modules_0ylkf4l._.js +0 -3
  469. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1n5j09z._.js +0 -3
  470. package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1_ugphm._.js +0 -3
  471. package/standalone/.next/server/chunks/ssr/src_components_ui_select_tsx_0m__-6s._.js +0 -3
  472. package/standalone/.next/static/chunks/06711eeflvyu7.js +0 -1
  473. package/standalone/.next/static/chunks/0c9r1f3che9mf.css +0 -1
  474. package/standalone/.next/static/chunks/0ddp859-x81j2.js +0 -1
  475. package/standalone/.next/static/chunks/0evao2rpxqreq.js +0 -80
  476. package/standalone/.next/static/chunks/0nt5uq75yrfm2.js +0 -13
  477. package/standalone/.next/static/chunks/0okpg2ejyn95o.js +0 -9
  478. package/standalone/.next/static/chunks/0udza_i0n8xhm.js +0 -36
  479. package/standalone/.next/static/chunks/0vtavvo7gx3rr.js +0 -33
  480. package/standalone/.next/static/chunks/0xybrwnbju35k.js +0 -41
  481. package/standalone/.next/static/chunks/0y-5_7jbnsr0m.js +0 -1
  482. package/standalone/.next/static/chunks/12qdfeyqgqh62.js +0 -1
  483. package/standalone/.next/static/chunks/193m8crej9xrt.js +0 -7
  484. package/standalone/.next/static/chunks/1nkkb5gu3-rhf.js +0 -28
  485. package/standalone/.next/static/chunks/1ny7skwqcfglg.js +0 -39
  486. package/standalone/.next/static/chunks/1qebx-2i3ao34.js +0 -28
  487. package/standalone/.next/static/chunks/1zt6tg-4jpdru.js +0 -1
  488. package/standalone/.next/static/chunks/2-5c1n7c9ncu0.js +0 -12
  489. package/standalone/.next/static/chunks/29axmq_boxoc_.js +0 -1
  490. package/standalone/.next/static/chunks/2giql1u6bn9gi.js +0 -33
  491. package/standalone/.next/static/chunks/2nco50dwradd6.js +0 -8
  492. package/standalone/.next/static/chunks/2nr9sxr9bqwin.js +0 -8
  493. package/standalone/.next/static/chunks/31_9e-uzmy7vp.js +0 -35
  494. package/standalone/.next/static/chunks/31t_wgps20fl1.js +0 -4
  495. package/standalone/.next/static/chunks/331lb29dcb1ta.js +0 -1
  496. package/standalone/.next/static/chunks/369biqq4fd0sk.js +0 -1
  497. package/standalone/.next/static/chunks/37dd1jthysw7j.js +0 -10
  498. package/standalone/.next/static/chunks/3apliool1acey.js +0 -155
  499. package/standalone/.next/static/chunks/3d95bb1fej1i5.js +0 -1
  500. package/standalone/.next/static/chunks/3eumqpi7f1fek.js +0 -30
  501. package/standalone/.next/static/chunks/3f1yh13gawn34.js +0 -1
  502. package/standalone/.next/static/chunks/3mtxpg0cke1s1.js +0 -9
  503. package/standalone/.next/static/chunks/3qovaml41zb61.js +0 -1
  504. package/standalone/.next/static/chunks/3vuv-wz2jb38o.js +0 -65
  505. package/standalone/.next/static/chunks/44sbqm3y2mvct.js +0 -1
  506. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_buildManifest.js +0 -0
  507. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_clientMiddlewareManifest.js +0 -0
  508. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_ssgManifest.js +0 -0
@@ -1,41 +1,41 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=n(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}var s=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,a.createContextScope)(l,[s.createDialogScope]),c=(0,s.createDialogScope)(),u=e=>{let{__scopeAlertDialog:r,...a}=e,n=c(r);return(0,t.jsx)(s.Root,{...n,...a,modal:!0})};u.displayName=l;var p=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Trigger,{...i,...n,ref:r})});p.displayName="AlertDialogTrigger";var f=e=>{let{__scopeAlertDialog:r,...a}=e,n=c(r);return(0,t.jsx)(s.Portal,{...n,...a})};f.displayName="AlertDialogPortal";var h=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Overlay,{...i,...n,ref:r})});h.displayName="AlertDialogOverlay";var m="AlertDialogContent",[x,g]=o(m),b=r.forwardRef((e,a)=>{let{__scopeAlertDialog:n,children:l,...o}=e,d=c(n),u=i(a,r.useRef(null)),p=r.useRef(null);return(0,t.jsx)(x,{scope:n,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});b.displayName=m;var v=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Title,{...i,...n,ref:r})});v.displayName="AlertDialogTitle";var w=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Description,{...i,...n,ref:r})});w.displayName="AlertDialogDescription";var y=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Close,{...i,...n,ref:r})});y.displayName="AlertDialogAction";var j="AlertDialogCancel",C=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,{cancelRef:l}=g(j,a),o=c(a),d=i(r,l);return(0,t.jsx)(s.Close,{...o,...n,ref:d})});C.displayName=j,e.s(["Action",0,y,"AlertDialog",0,u,"AlertDialogAction",0,y,"AlertDialogCancel",0,C,"AlertDialogContent",0,b,"AlertDialogDescription",0,w,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,f,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,p,"Cancel",0,C,"Content",0,b,"Description",0,w,"Overlay",0,h,"Portal",0,f,"Root",0,u,"Title",0,v,"Trigger",0,p,"createAlertDialogScope",0,d],691162);var S=e.i(691162),S=S,N=e.i(975157),k=e.i(519455);function T({...e}){return(0,t.jsx)(S.Root,{"data-slot":"alert-dialog",...e})}function P({...e}){return(0,t.jsx)(S.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function D({...e}){return(0,t.jsx)(S.Portal,{"data-slot":"alert-dialog-portal",...e})}function A({className:e,...r}){return(0,t.jsx)(S.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function E({className:e,size:r="default",...a}){return(0,t.jsxs)(D,{children:[(0,t.jsx)(A,{}),(0,t.jsx)(S.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,N.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function $({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function I({className:e,...r}){return(0,t.jsx)(S.Title,{"data-slot":"alert-dialog-title",className:(0,N.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function _({className:e,...r}){return(0,t.jsx)(S.Description,{"data-slot":"alert-dialog-description",className:(0,N.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function z({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(k.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(S.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...n})})}function B({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(k.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(S.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:i,open:s,title:l,trigger:o}){return(0,t.jsxs)(T,{onOpenChange:i,open:s,children:[o&&(0,t.jsx)(P,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(I,{children:l}),(0,t.jsx)(_,{children:a})]}),(0,t.jsxs)($,{children:[(0,t.jsx)(B,{children:r}),(0,t.jsx)(z,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...i}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...i})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...n}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...n})}],987968)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),n=e.i(975157);let i=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:s=!1,...l}){let o=s?a.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,n.cn)(i({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}var i=e.i(30030);function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var o=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var p=Symbol.for("radix.slottable"),f=Symbol.for("react.lazy");function h(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var m=r[" use ".trim().toString()],x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var i;let s,l=(i=`Primitive.${a}`,(s=r.forwardRef((e,t)=>{var a;let s,l,{children:o,...d}=e,c=null,u=!1,f=[];h(o)&&"function"==typeof m&&(o=m(o._payload)),r.Children.forEach(o,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;h(t)&&"function"==typeof m&&(t=m(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),f.push(c?.props?.children)}else f.push(e)}),c?c=r.cloneElement(c,void 0,f):!u&&1===r.Children.count(o)&&r.isValidElement(o)&&(c=o);let x=c?(a=c,(l=(s=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?a.ref:(l=(s=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,g=n(t,x);if(!c){if(o||0===o){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return o}let b=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(b.ref=t?g:x),r.cloneElement(c,b)})).displayName=`${i}.Slot`,s),o=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:a,{...i,ref:r})});return o.displayName=`Primitive.${a}`,{...e,[a]:o}},{}),g="Checkbox",[b,v]=(0,i.createContextScope)(g),[w,y]=b(g);function j(e){let{__scopeCheckbox:a,checked:n,children:i,defaultChecked:s,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:f="on",internal_do_not_use_render:h}=e,[m,x]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[i,s,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),i=r.useRef(a),s=r.useRef(t);return o(()=>{s.current=t},[t]),r.useEffect(()=>{i.current!==a&&(s.current?.(a),i.current=a)},[a,i]),[a,n,s]}({defaultProp:t,onChange:a}),d=void 0!==e,c=d?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[d,e,s,l])]}({prop:n,defaultProp:s??!1,onChange:u,caller:g}),[b,v]=r.useState(null),[y,j]=r.useState(null),C=r.useRef(!1),S=!b||!!d||!!b.closest("form"),N={checked:m,disabled:l,setChecked:x,control:b,setControl:v,name:c,form:d,value:f,hasConsumerStoppedPropagationRef:C,required:p,defaultChecked:!A(s)&&s,isFormControl:S,bubbleInput:y,setBubbleInput:j};return(0,t.jsx)(w,{scope:a,...N,children:"function"==typeof h?h(N):i})}var C="CheckboxTrigger",S=r.forwardRef(({__scopeCheckbox:e,onKeyDown:a,onClick:i,...l},o)=>{let{control:d,value:c,disabled:u,checked:p,required:f,setControl:h,setChecked:m,hasConsumerStoppedPropagationRef:g,isFormControl:b,bubbleInput:v}=y(C,e),w=n(o,h),j=r.useRef(p);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>m(j.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,m]),(0,t.jsx)(x.button,{type:"button",role:"checkbox","aria-checked":A(p)?"mixed":p,"aria-required":f,"data-state":E(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:w,onKeyDown:s(a,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:s(i,e=>{m(e=>!!A(e)||!e),v&&b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});S.displayName=C;var N=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:n,checked:i,defaultChecked:s,required:l,disabled:o,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(j,{__scopeCheckbox:a,checked:i,defaultChecked:s,disabled:o,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S,{...p,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(D,{__scopeCheckbox:a})]})})});N.displayName=g;var k="CheckboxIndicator",T=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...i}=e,s=y(k,a);return(0,t.jsx)(u.Presence,{present:n||A(s.checked)||!0===s.checked,children:(0,t.jsx)(x.span,{"data-state":E(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:r,style:{pointerEvents:"none",...e.style}})})});T.displayName=k;var P="CheckboxBubbleInput",D=r.forwardRef(({__scopeCheckbox:e,...a},i)=>{let{control:s,hasConsumerStoppedPropagationRef:l,checked:o,defaultChecked:u,required:p,disabled:f,name:h,value:m,form:g,bubbleInput:b,setBubbleInput:v}=y(P,e),w=n(i,v),j=(0,d.usePrevious)(o),C=(0,c.useSize)(s);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(j!==o&&e){let r=new Event("click",{bubbles:t});b.indeterminate=A(o),e.call(b,!A(o)&&o),b.dispatchEvent(r)}},[b,j,o,l]);let S=r.useRef(!A(o)&&o);return(0,t.jsx)(x.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??S.current,required:p,disabled:f,name:h,value:m,form:g,...a,tabIndex:-1,ref:w,style:{...a.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function A(e){return"indeterminate"===e}function E(e){return A(e)?"indeterminate":e?"checked":"unchecked"}D.displayName=P,e.s(["Checkbox",0,N,"CheckboxIndicator",0,T,"Indicator",0,T,"Root",0,N,"createCheckboxScope",0,v,"unstable_BubbleInput",0,D,"unstable_CheckboxBubbleInput",0,D,"unstable_CheckboxProvider",0,j,"unstable_CheckboxTrigger",0,S,"unstable_Provider",0,j,"unstable_Trigger",0,S],388474);var R=e.i(388474),R=R,$=e.i(975157),I=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(R.Root,{"data-slot":"checkbox",className:(0,$.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)(R.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(I.CheckIcon,{})})})}],59497)},406930,e=>{"use strict";let t=(0,e.i(456420).default)("list-filter",[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]);e.s(["ListFilter",0,t],406930)},730274,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],730274)},551757,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,t],551757)},211545,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(97194),n=e.i(551757),i=e.i(406930),s=e.i(730274),l=e.i(573474),o=e.i(263676),d=e.i(861745),c=e.i(948148),u=e.i(340953),p=e.i(929592),f=e.i(487486),h=e.i(519455),m=e.i(515288),x=e.i(59497),g=e.i(987968),b=e.i(784774),v=e.i(520133),w=e.i(637611),y=e.i(975157),j=e.i(171502),C=e.i(302493);let S=`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=n(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}var s=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,a.createContextScope)(l,[s.createDialogScope]),c=(0,s.createDialogScope)(),u=e=>{let{__scopeAlertDialog:r,...a}=e,n=c(r);return(0,t.jsx)(s.Root,{...n,...a,modal:!0})};u.displayName=l;var p=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Trigger,{...i,...n,ref:r})});p.displayName="AlertDialogTrigger";var f=e=>{let{__scopeAlertDialog:r,...a}=e,n=c(r);return(0,t.jsx)(s.Portal,{...n,...a})};f.displayName="AlertDialogPortal";var h=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Overlay,{...i,...n,ref:r})});h.displayName="AlertDialogOverlay";var x="AlertDialogContent",[m,g]=o(x),b=r.forwardRef((e,a)=>{let{__scopeAlertDialog:n,children:l,...o}=e,d=c(n),u=i(a,r.useRef(null)),p=r.useRef(null);return(0,t.jsx)(m,{scope:n,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});b.displayName=x;var v=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Title,{...i,...n,ref:r})});v.displayName="AlertDialogTitle";var y=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Description,{...i,...n,ref:r})});y.displayName="AlertDialogDescription";var w=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,i=c(a);return(0,t.jsx)(s.Close,{...i,...n,ref:r})});w.displayName="AlertDialogAction";var j="AlertDialogCancel",C=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...n}=e,{cancelRef:l}=g(j,a),o=c(a),d=i(r,l);return(0,t.jsx)(s.Close,{...o,...n,ref:d})});C.displayName=j,e.s(["Action",0,w,"AlertDialog",0,u,"AlertDialogAction",0,w,"AlertDialogCancel",0,C,"AlertDialogContent",0,b,"AlertDialogDescription",0,y,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,f,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,p,"Cancel",0,C,"Content",0,b,"Description",0,y,"Overlay",0,h,"Portal",0,f,"Root",0,u,"Title",0,v,"Trigger",0,p,"createAlertDialogScope",0,d],691162);var S=e.i(691162),S=S,N=e.i(975157),k=e.i(519455);function T({...e}){return(0,t.jsx)(S.Root,{"data-slot":"alert-dialog",...e})}function P({...e}){return(0,t.jsx)(S.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function D({...e}){return(0,t.jsx)(S.Portal,{"data-slot":"alert-dialog-portal",...e})}function A({className:e,...r}){return(0,t.jsx)(S.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function E({className:e,size:r="default",...a}){return(0,t.jsxs)(D,{children:[(0,t.jsx)(A,{}),(0,t.jsx)(S.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,N.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function I({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function $({className:e,...r}){return(0,t.jsx)(S.Title,{"data-slot":"alert-dialog-title",className:(0,N.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function _({className:e,...r}){return(0,t.jsx)(S.Description,{"data-slot":"alert-dialog-description",className:(0,N.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function z({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(k.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(S.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...n})})}function B({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(k.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(S.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:i,open:s,title:l,trigger:o}){return(0,t.jsxs)(T,{onOpenChange:i,open:s,children:[o&&(0,t.jsx)(P,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)($,{children:l}),(0,t.jsx)(_,{children:a})]}),(0,t.jsxs)(I,{children:[(0,t.jsx)(B,{children:r}),(0,t.jsx)(z,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...i}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...i})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...n}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...n})}],987968)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),n=e.i(975157);let i=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:s=!1,...l}){let o=s?a.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,n.cn)(i({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}var i=e.i(30030);function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var o=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var p=Symbol.for("radix.slottable"),f=Symbol.for("react.lazy");function h(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var x=r[" use ".trim().toString()],m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var i;let s,l=(i=`Primitive.${a}`,(s=r.forwardRef((e,t)=>{var a;let s,l,{children:o,...d}=e,c=null,u=!1,f=[];h(o)&&"function"==typeof x&&(o=x(o._payload)),r.Children.forEach(o,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;h(t)&&"function"==typeof x&&(t=x(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),f.push(c?.props?.children)}else f.push(e)}),c?c=r.cloneElement(c,void 0,f):!u&&1===r.Children.count(o)&&r.isValidElement(o)&&(c=o);let m=c?(a=c,(l=(s=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?a.ref:(l=(s=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,g=n(t,m);if(!c){if(o||0===o){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return o}let b=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(b.ref=t?g:m),r.cloneElement(c,b)})).displayName=`${i}.Slot`,s),o=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:a,{...i,ref:r})});return o.displayName=`Primitive.${a}`,{...e,[a]:o}},{}),g="Checkbox",[b,v]=(0,i.createContextScope)(g),[y,w]=b(g);function j(e){let{__scopeCheckbox:a,checked:n,children:i,defaultChecked:s,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:f="on",internal_do_not_use_render:h}=e,[x,m]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[i,s,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),i=r.useRef(a),s=r.useRef(t);return o(()=>{s.current=t},[t]),r.useEffect(()=>{i.current!==a&&(s.current?.(a),i.current=a)},[a,i]),[a,n,s]}({defaultProp:t,onChange:a}),d=void 0!==e,c=d?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[d,e,s,l])]}({prop:n,defaultProp:s??!1,onChange:u,caller:g}),[b,v]=r.useState(null),[w,j]=r.useState(null),C=r.useRef(!1),S=!b||!!d||!!b.closest("form"),N={checked:x,disabled:l,setChecked:m,control:b,setControl:v,name:c,form:d,value:f,hasConsumerStoppedPropagationRef:C,required:p,defaultChecked:!A(s)&&s,isFormControl:S,bubbleInput:w,setBubbleInput:j};return(0,t.jsx)(y,{scope:a,...N,children:"function"==typeof h?h(N):i})}var C="CheckboxTrigger",S=r.forwardRef(({__scopeCheckbox:e,onKeyDown:a,onClick:i,...l},o)=>{let{control:d,value:c,disabled:u,checked:p,required:f,setControl:h,setChecked:x,hasConsumerStoppedPropagationRef:g,isFormControl:b,bubbleInput:v}=w(C,e),y=n(o,h),j=r.useRef(p);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>x(j.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,x]),(0,t.jsx)(m.button,{type:"button",role:"checkbox","aria-checked":A(p)?"mixed":p,"aria-required":f,"data-state":E(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:y,onKeyDown:s(a,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:s(i,e=>{x(e=>!!A(e)||!e),v&&b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});S.displayName=C;var N=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:n,checked:i,defaultChecked:s,required:l,disabled:o,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(j,{__scopeCheckbox:a,checked:i,defaultChecked:s,disabled:o,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S,{...p,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(D,{__scopeCheckbox:a})]})})});N.displayName=g;var k="CheckboxIndicator",T=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...i}=e,s=w(k,a);return(0,t.jsx)(u.Presence,{present:n||A(s.checked)||!0===s.checked,children:(0,t.jsx)(m.span,{"data-state":E(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:r,style:{pointerEvents:"none",...e.style}})})});T.displayName=k;var P="CheckboxBubbleInput",D=r.forwardRef(({__scopeCheckbox:e,...a},i)=>{let{control:s,hasConsumerStoppedPropagationRef:l,checked:o,defaultChecked:u,required:p,disabled:f,name:h,value:x,form:g,bubbleInput:b,setBubbleInput:v}=w(P,e),y=n(i,v),j=(0,d.usePrevious)(o),C=(0,c.useSize)(s);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(j!==o&&e){let r=new Event("click",{bubbles:t});b.indeterminate=A(o),e.call(b,!A(o)&&o),b.dispatchEvent(r)}},[b,j,o,l]);let S=r.useRef(!A(o)&&o);return(0,t.jsx)(m.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??S.current,required:p,disabled:f,name:h,value:x,form:g,...a,tabIndex:-1,ref:y,style:{...a.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function A(e){return"indeterminate"===e}function E(e){return A(e)?"indeterminate":e?"checked":"unchecked"}D.displayName=P,e.s(["Checkbox",0,N,"CheckboxIndicator",0,T,"Indicator",0,T,"Root",0,N,"createCheckboxScope",0,v,"unstable_BubbleInput",0,D,"unstable_CheckboxBubbleInput",0,D,"unstable_CheckboxProvider",0,j,"unstable_CheckboxTrigger",0,S,"unstable_Provider",0,j,"unstable_Trigger",0,S],388474);var R=e.i(388474),R=R,I=e.i(975157),$=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(R.Root,{"data-slot":"checkbox",className:(0,I.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)(R.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)($.CheckIcon,{})})})}],59497)},406930,e=>{"use strict";let t=(0,e.i(456420).default)("list-filter",[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]);e.s(["ListFilter",0,t],406930)},730274,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],730274)},551757,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,t],551757)},211545,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(97194),n=e.i(551757),i=e.i(406930),s=e.i(730274),l=e.i(573474),o=e.i(263676),d=e.i(861745),c=e.i(948148),u=e.i(340953),p=e.i(929592),f=e.i(487486),h=e.i(519455),x=e.i(515288),m=e.i(59497),g=e.i(24265),b=e.i(987968),v=e.i(784774),y=e.i(520133),w=e.i(637611),j=e.i(360583),C=e.i(975157),S=e.i(171502),N=e.i(302493);let k=`
2
2
  key category label description sidebarEnabled browserEnabled webPushEnabled updatedAt
3
- `;function N(){return window.isSecureContext&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window}function k(e,t){if(!e)return t;let r=/Edg\//.test(e)?"Edge":/OPR\//.test(e)?"Opera":/CriOS\//.test(e)?"Chrome":/FxiOS\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Firefox\//.test(e)?"Firefox":/Safari\//.test(e)?"Safari":"Browser",a=/iPad|iPhone|iPod/.test(e)?"iOS":/Android/.test(e)?"Android":/Windows/.test(e)?"Windows":/Macintosh/.test(e)?"macOS":/Linux/.test(e)?"Linux":null;return a?`${r} \xb7 ${a}`:r}e.s(["NotificationsPage",0,function(){let e=(0,c.useTranslations)("notifications"),T=(0,d.useLocale)(),[P,D]=(0,r.useState)([]),[A,E]=(0,r.useState)([]),[R,$]=(0,r.useState)(null),[I,_]=(0,r.useState)([]),[z,B]=(0,r.useState)(null),[O,H]=(0,r.useState)(0),[W,F]=(0,r.useState)(!0),[L,q]=(0,r.useState)(!1),[M,K]=(0,r.useState)(null),[U,V]=(0,r.useState)(!1),[Y,X]=(0,r.useState)(new Set),[J,Z]=(0,r.useState)(new Set),[G,Q]=(0,r.useState)([]),[ee,et]=(0,r.useState)([]),[er,ea]=(0,r.useState)(!1),[en,ei]=(0,r.useState)(null),[es,el]=(0,r.useState)("unsupported"),[eo,ed]=(0,r.useState)(!1),[ec,eu]=(0,r.useState)(null),[ep,ef]=(0,r.useState)(!1),[eh,em]=(0,r.useState)(null),[ex,eg]=(0,r.useState)(null),[eb,ev]=(0,r.useState)(!1),[ew,ey]=(0,r.useState)(!1),ej=(0,r.useRef)(null),eC=(0,r.useCallback)(async()=>{try{let e=await (0,w.controlPlaneRequest)(`query NotificationsPage {
3
+ `;function T(){return window.isSecureContext&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window}function P(e,t){if(!e)return t;let r=/Edg\//.test(e)?"Edge":/OPR\//.test(e)?"Opera":/CriOS\//.test(e)?"Chrome":/FxiOS\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Firefox\//.test(e)?"Firefox":/Safari\//.test(e)?"Safari":"Browser",a=/iPad|iPhone|iPod/.test(e)?"iOS":/Android/.test(e)?"Android":/Windows/.test(e)?"Windows":/Macintosh/.test(e)?"macOS":/Linux/.test(e)?"Linux":null;return a?`${r} \xb7 ${a}`:r}e.s(["NotificationsPage",0,function(){let e=(0,c.useTranslations)("notifications"),D=(0,d.useLocale)(),[A,E]=(0,r.useState)([]),[R,I]=(0,r.useState)([]),[$,_]=(0,r.useState)(null),[z,B]=(0,r.useState)([]),[O,H]=(0,r.useState)(null),[W,q]=(0,r.useState)(0),[F,L]=(0,r.useState)(!0),[M,K]=(0,r.useState)(!1),[U,V]=(0,r.useState)(null),[X,Y]=(0,r.useState)(!1),[J,Z]=(0,r.useState)(new Set),[G,Q]=(0,r.useState)(new Set),[ee,et]=(0,r.useState)([]),[er,ea]=(0,r.useState)([]),[en,ei]=(0,r.useState)(!1),[es,el]=(0,r.useState)(null),[eo,ed]=(0,r.useState)("unsupported"),[ec,eu]=(0,r.useState)(!1),[ep,ef]=(0,r.useState)(null),[eh,ex]=(0,r.useState)(!1),[em,eg]=(0,r.useState)(null),[eb,ev]=(0,r.useState)(null),[ey,ew]=(0,r.useState)(!1),[ej,eC]=(0,r.useState)(!1),eS=(0,r.useRef)(null),eN=(0,r.useCallback)(async()=>{try{let e=await (0,w.controlPlaneRequest)(`query NotificationsPage {
4
4
  notifications(first: 100) {
5
- items { ${C.APP_NOTIFICATION_FIELDS} }
5
+ items { ${N.APP_NOTIFICATION_FIELDS} }
6
6
  nextCursor totalCount
7
7
  }
8
- notificationPreferences { ${S} }
8
+ notificationPreferences { ${k} }
9
9
  webPushState { configured publicKey subscriptionCount }
10
10
  webPushSubscriptions {
11
11
  id endpoint expirationTime locale userAgent lastSeenAt createdAt updatedAt
12
12
  }
13
- }`);D(e.notifications.items),B(e.notifications.nextCursor),H(e.notifications.totalCount),E(e.notificationPreferences),$(e.webPushState),_(e.webPushSubscriptions),K(null)}catch(e){K(e instanceof Error?e.message:String(e))}finally{F(!1)}},[]),eS=(0,r.useCallback)(async()=>{if(z&&!L){q(!0);try{let e=await (0,w.controlPlaneRequest)(`query MoreNotifications($after: ID!) {
13
+ }`);E(e.notifications.items),H(e.notifications.nextCursor),q(e.notifications.totalCount),I(e.notificationPreferences),_(e.webPushState),B(e.webPushSubscriptions),V(null)}catch(e){V(e instanceof Error?e.message:String(e))}finally{L(!1)}},[]),ek=(0,r.useCallback)(async()=>{if(O&&!M){K(!0);try{let e=await (0,w.controlPlaneRequest)(`query MoreNotifications($after: ID!) {
14
14
  notifications(first: 100, after: $after) {
15
- items { ${C.APP_NOTIFICATION_FIELDS} }
15
+ items { ${N.APP_NOTIFICATION_FIELDS} }
16
16
  nextCursor totalCount
17
17
  }
18
- }`,{after:z});D(t=>{let r=new Set(t.map(({id:e})=>e));return[...t,...e.notifications.items.filter(({id:e})=>!r.has(e))]}),B(e.notifications.nextCursor),H(e.notifications.totalCount)}catch(e){K(e instanceof Error?e.message:String(e))}finally{q(!1)}}},[L,z]);(0,r.useEffect)(()=>{let e=window.setTimeout(()=>void eC(),0),t=window.setTimeout(()=>{"Notification"in window&&el(window.Notification.permission);let e=N();ed(e),ev(/iPad|iPhone|iPod/.test(navigator.userAgent)),ey(window.matchMedia("(display-mode: standalone)").matches),e&&navigator.serviceWorker.getRegistration("/").then(e=>e?.pushManager.getSubscription()).then(e=>eu(e??null))},0),r=(0,w.controlPlaneSubscriptions)().subscribe({query:`subscription NotificationsPageChanged {
18
+ }`,{after:O});E(t=>{let r=new Set(t.map(({id:e})=>e));return[...t,...e.notifications.items.filter(({id:e})=>!r.has(e))]}),H(e.notifications.nextCursor),q(e.notifications.totalCount)}catch(e){V(e instanceof Error?e.message:String(e))}finally{K(!1)}}},[M,O]);(0,r.useEffect)(()=>{let e=window.setTimeout(()=>void eN(),0),t=window.setTimeout(()=>{"Notification"in window&&ed(window.Notification.permission);let e=T();eu(e),ew(/iPad|iPhone|iPod/.test(navigator.userAgent)),eC(window.matchMedia("(display-mode: standalone)").matches),e&&navigator.serviceWorker.getRegistration("/").then(e=>e?.pushManager.getSubscription()).then(e=>ef(e??null))},0),r=(0,w.controlPlaneSubscriptions)().subscribe({query:`subscription NotificationsPageChanged {
19
19
  notificationsChanged {
20
20
  kind notificationId
21
- notification { ${C.APP_NOTIFICATION_FIELDS} }
21
+ notification { ${N.APP_NOTIFICATION_FIELDS} }
22
22
  }
23
- }`},{next:e=>{let t=e.data?.notificationsChanged;t&&("CREATED"===t.kind&&t.notification?(D(e=>[t.notification,...e.filter(({id:e})=>e!==t.notification.id)]),H(e=>e+1)):("DELETED"===t.kind||"HISTORY_CLEARED"===t.kind||"PREFERENCES_UPDATED"===t.kind)&&eC())},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),window.clearTimeout(t),r()}},[eC]),(0,r.useEffect)(()=>{let e=ej.current;if(!e||!z)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&eS()},{rootMargin:"300px"});return t.observe(e),()=>t.disconnect()},[eS,z]);let eN=(0,r.useMemo)(()=>{let e=new Intl.DateTimeFormat(T,{dateStyle:"full"}),t=[];for(let r of P){let a=function(e){let t,r=new Date(e),a=new Date(r.getFullYear(),r.getMonth(),r.getDate()),n=new Date(a);return n.setDate(n.getDate()+1),{key:`day:${t=new Date(e),`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`}`,start:a.toISOString(),end:n.toISOString()}}(r.createdAt),n=t.at(-1);n?.key===a.key?n.items.push(r):t.push({key:a.key,label:e.format(new Date(r.createdAt)),range:a,items:[r]})}return t},[T,P]),ek=(0,r.useMemo)(()=>{let e=new Map;for(let t of A){let r=e.get(t.category)??[];r.push(t),e.set(t.category,r)}return[...e.entries()]},[A]),eT=!!(ec&&I.some(({endpoint:e})=>e===ec.endpoint)),eP=(0,r.useCallback)(e=>{if(J.has(e.id))return!1;if(Y.has(e.id))return!0;let t=new Date(e.createdAt).getTime();return!ee.some(e=>t>=new Date(e.start).getTime()&&t<new Date(e.end).getTime())&&(!!er||G.some(e=>t>=new Date(e.start).getTime()&&t<new Date(e.end).getTime()))},[J,ee,er,Y,G]),eD=()=>{X(new Set),Z(new Set),Q([]),et([]),ea(!1)},eA=async()=>{try{await (0,w.controlPlaneRequest)(`mutation DeleteNotifications($selection: NotificationSelectionInput!) {
23
+ }`},{next:e=>{let t=e.data?.notificationsChanged;t&&("CREATED"===t.kind&&t.notification?(E(e=>[t.notification,...e.filter(({id:e})=>e!==t.notification.id)]),q(e=>e+1)):("DELETED"===t.kind||"HISTORY_CLEARED"===t.kind||"PREFERENCES_UPDATED"===t.kind)&&eN())},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),window.clearTimeout(t),r()}},[eN]),(0,r.useEffect)(()=>{let e=eS.current;if(!e||!O)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&ek()},{rootMargin:"300px"});return t.observe(e),()=>t.disconnect()},[ek,O]);let eT=(0,r.useMemo)(()=>{let e=[];for(let t of A){let r=function(e){let t=new Date(e),r=new Date(t.getFullYear(),t.getMonth(),t.getDate()),a=new Date(r);return a.setDate(a.getDate()+1),{key:`day:${(0,j.dayKey)(e)??e}`,start:r.toISOString(),end:a.toISOString()}}(t.createdAt),a=e.at(-1);a?.key===r.key?a.items.push(t):e.push({key:r.key,label:(0,j.formatDateValue)(t.createdAt,"long",{locale:D,showTime:!1}),range:r,items:[t]})}return e},[D,A]),eP=(0,r.useMemo)(()=>{let e=new Map;for(let t of R){let r=e.get(t.category)??[];r.push(t),e.set(t.category,r)}return[...e.entries()]},[R]),eD=!!(ep&&z.some(({endpoint:e})=>e===ep.endpoint)),eA=(0,r.useCallback)(e=>{if(G.has(e.id))return!1;if(J.has(e.id))return!0;let t=new Date(e.createdAt).getTime();return!er.some(e=>t>=new Date(e.start).getTime()&&t<new Date(e.end).getTime())&&(!!en||ee.some(e=>t>=new Date(e.start).getTime()&&t<new Date(e.end).getTime()))},[G,er,en,J,ee]),eE=()=>{Z(new Set),Q(new Set),et([]),ea([]),ei(!1)},eR=async()=>{try{await (0,w.controlPlaneRequest)(`mutation DeleteNotifications($selection: NotificationSelectionInput!) {
24
24
  deleteNotifications(selection: $selection)
25
- }`,{selection:{all:er,ids:[...Y],excludedIds:[...J],ranges:G.map(({start:e,end:t})=>({start:e,end:t})),excludedRanges:ee.map(({start:e,end:t})=>({start:e,end:t}))}}),eD(),await eC()}catch(e){K(e instanceof Error?e.message:String(e))}},eE=async()=>{try{await (0,w.controlPlaneRequest)("mutation DeleteAllNotifications { deleteAllNotifications }"),eD(),await eC()}catch(e){K(e instanceof Error?e.message:String(e))}},eR=async(e,t,r)=>{let a={...e,[t]:r};E(t=>t.map(t=>t.key===e.key?a:t)),ei(e.key);try{let t=await (0,w.controlPlaneRequest)(`mutation SaveNotificationPreference($input: SaveNotificationPreferenceInput!) {
26
- saveNotificationPreference(input: $input) { ${S} }
27
- }`,{input:{typeKey:e.key,sidebarEnabled:a.sidebarEnabled,browserEnabled:a.browserEnabled,webPushEnabled:a.webPushEnabled}});E(r=>r.map(r=>r.key===e.key?t.saveNotificationPreference:r))}catch(t){E(t=>t.map(t=>t.key===e.key?e:t)),K(t instanceof Error?t.message:String(t))}finally{ei(null)}},e$=async()=>{if("Notification"in window)try{let e=await window.Notification.requestPermission();el(e)}catch(e){K(e instanceof Error?e.message:String(e))}},eI=async()=>{ef(!0);try{if(!N())throw Error(e("pushUnsupported"));let t=window.Notification.permission;if("granted"!==t&&(t=await window.Notification.requestPermission(),el(t)),"granted"!==t)throw Error(e("permissionRequired"));let r=await (0,w.controlPlaneRequest)(`mutation PrepareWebPush {
25
+ }`,{selection:{all:en,ids:[...J],excludedIds:[...G],ranges:ee.map(({start:e,end:t})=>({start:e,end:t})),excludedRanges:er.map(({start:e,end:t})=>({start:e,end:t}))}}),eE(),await eN()}catch(e){V(e instanceof Error?e.message:String(e))}},eI=async()=>{try{await (0,w.controlPlaneRequest)("mutation DeleteAllNotifications { deleteAllNotifications }"),eE(),await eN()}catch(e){V(e instanceof Error?e.message:String(e))}},e$=async(e,t,r)=>{let a={...e,[t]:r};I(t=>t.map(t=>t.key===e.key?a:t)),el(e.key);try{let t=await (0,w.controlPlaneRequest)(`mutation SaveNotificationPreference($input: SaveNotificationPreferenceInput!) {
26
+ saveNotificationPreference(input: $input) { ${k} }
27
+ }`,{input:{typeKey:e.key,sidebarEnabled:a.sidebarEnabled,browserEnabled:a.browserEnabled,webPushEnabled:a.webPushEnabled}});I(r=>r.map(r=>r.key===e.key?t.saveNotificationPreference:r))}catch(t){I(t=>t.map(t=>t.key===e.key?e:t)),V(t instanceof Error?t.message:String(t))}finally{el(null)}},e_=async()=>{if("Notification"in window)try{let e=await window.Notification.requestPermission();ed(e)}catch(e){V(e instanceof Error?e.message:String(e))}},ez=async()=>{ex(!0);try{if(!T())throw Error(e("pushUnsupported"));let t=window.Notification.permission;if("granted"!==t&&(t=await window.Notification.requestPermission(),ed(t)),"granted"!==t)throw Error(e("permissionRequired"));let r=await (0,w.controlPlaneRequest)(`mutation PrepareWebPush {
28
28
  prepareWebPush { configured publicKey subscriptionCount }
29
29
  }`);if(!r.prepareWebPush.publicKey)throw Error(e("pushKeyUnavailable"));await navigator.serviceWorker.register("/sw.js",{scope:"/",updateViaCache:"none"});let a=await navigator.serviceWorker.ready,n=await a.pushManager.getSubscription(),i=(n??=await a.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:function(e){let t="=".repeat((4-e.length%4)%4),r=window.atob((e+t).replace(/-/g,"+").replace(/_/g,"/")),a=new Uint8Array(new ArrayBuffer(r.length));for(let e=0;e<r.length;e+=1)a[e]=r.charCodeAt(e);return a}(r.prepareWebPush.publicKey)})).toJSON();if(!i.endpoint||!i.keys?.p256dh||!i.keys.auth)throw Error(e("pushSubscriptionInvalid"));let s=await (0,w.controlPlaneRequest)(`mutation RegisterWebPushSubscription($input: RegisterWebPushSubscriptionInput!) {
30
30
  registerWebPushSubscription(input: $input) {
31
31
  configured publicKey subscriptionCount
32
32
  }
33
- }`,{input:{endpoint:i.endpoint,p256dh:i.keys.p256dh,auth:i.keys.auth,expirationTime:i.expirationTime??null,locale:T,userAgent:navigator.userAgent}});eu(n),$(s.registerWebPushSubscription),K(null),await eC()}catch(e){K(e instanceof Error?e.message:String(e))}finally{ef(!1)}},e_=async()=>{if(ec){ef(!0);try{let e=ec.endpoint;await ec.unsubscribe(),await (0,w.controlPlaneRequest)(`mutation UnregisterWebPushSubscription($endpoint: String!) {
33
+ }`,{input:{endpoint:i.endpoint,p256dh:i.keys.p256dh,auth:i.keys.auth,expirationTime:i.expirationTime??null,locale:D,userAgent:navigator.userAgent}});ef(n),_(s.registerWebPushSubscription),V(null),await eN()}catch(e){V(e instanceof Error?e.message:String(e))}finally{ex(!1)}},eB=async()=>{if(ep){ex(!0);try{let e=ep.endpoint;await ep.unsubscribe(),await (0,w.controlPlaneRequest)(`mutation UnregisterWebPushSubscription($endpoint: String!) {
34
34
  unregisterWebPushSubscription(endpoint: $endpoint)
35
- }`,{endpoint:e}),eu(null);let t=await (0,w.controlPlaneRequest)(`query WebPushState {
35
+ }`,{endpoint:e}),ef(null);let t=await (0,w.controlPlaneRequest)(`query WebPushState {
36
36
  webPushState { configured publicKey subscriptionCount }
37
- }`);$(t.webPushState),_(t=>t.filter(t=>t.endpoint!==e))}catch(e){K(e instanceof Error?e.message:String(e))}finally{ef(!1)}}},ez=async e=>{em(`test:${e}`),eg(null);try{await (0,w.controlPlaneRequest)(`mutation TestWebPushSubscription($id: ID!) {
37
+ }`);_(t.webPushState),B(t=>t.filter(t=>t.endpoint!==e))}catch(e){V(e instanceof Error?e.message:String(e))}finally{ex(!1)}}},eO=async e=>{eg(`test:${e}`),ev(null);try{await (0,w.controlPlaneRequest)(`mutation TestWebPushSubscription($id: ID!) {
38
38
  testWebPushSubscription(id: $id)
39
- }`,{id:e}),eg(e),K(null)}catch(e){K(e instanceof Error?e.message:String(e)),await eC()}finally{em(null)}},eB=async e=>{em(`delete:${e.id}`);try{ec?.endpoint===e.endpoint&&(await ec.unsubscribe(),eu(null)),await (0,w.controlPlaneRequest)(`mutation DeleteWebPushSubscription($id: ID!) {
39
+ }`,{id:e}),ev(e),V(null)}catch(e){V(e instanceof Error?e.message:String(e)),await eN()}finally{eg(null)}},eH=async e=>{eg(`delete:${e.id}`);try{ep?.endpoint===e.endpoint&&(await ep.unsubscribe(),ef(null)),await (0,w.controlPlaneRequest)(`mutation DeleteWebPushSubscription($id: ID!) {
40
40
  deleteWebPushSubscription(id: $id)
41
- }`,{id:e.id}),_(t=>t.filter(({id:t})=>t!==e.id)),$(e=>e?{...e,subscriptionCount:Math.max(0,e.subscriptionCount-1)}:e),eg(t=>t===e.id?null:t),K(null)}catch(e){K(e instanceof Error?e.message:String(e)),await eC()}finally{em(null)}},eO=er||Y.size>0||G.length>0;return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1700px] flex-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:e("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("description")})]}),M&&(0,t.jsx)(p.Alert,{variant:"destructive",children:(0,t.jsx)(p.AlertDescription,{children:M})}),(0,t.jsxs)("div",{className:"grid items-start gap-6 xl:grid-cols-2",children:[(0,t.jsxs)(m.Card,{children:[(0,t.jsxs)(m.CardHeader,{children:[(0,t.jsx)(m.CardTitle,{children:e("deliverySetup")}),(0,t.jsx)(m.CardDescription,{children:e("deliverySetupDescription")})]}),(0,t.jsxs)(m.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-lg border p-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:e("browserAlerts")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"unsupported"===es?e("browserUnsupported"):e(`permissions.${es}`)})]}),"granted"===es?(0,t.jsxs)(f.Badge,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(n.CheckCircle2,{})," ",e("enabled")]}):(0,t.jsxs)(h.Button,{disabled:"denied"===es||"unsupported"===es,onClick:()=>void e$(),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(a.BellRing,{})," ",e("enable")]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-lg border p-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:e("webPush")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:eo?eT?e("pushSubscribed"):e("pushNotSubscribed"):e("pushUnsupported")}),R&&(0,t.jsx)("p",{className:"mt-1 text-[11px] text-muted-foreground",children:e("subscriptionCount",{count:R.subscriptionCount})})]}),(0,t.jsxs)(h.Button,{disabled:!eo||ep,onClick:()=>void(eT?e_():eI()),size:"sm",type:"button",variant:eT?"outline":"default",children:[ep?(0,t.jsx)(g.Spinner,{}):(0,t.jsx)(s.Send,{}),eT?e("unsubscribe"):e("subscribe")]})]}),eb&&!ew&&(0,t.jsx)(p.Alert,{children:(0,t.jsx)(p.AlertDescription,{children:e("iosInstallHelp")})})]})]}),(0,t.jsxs)(m.Card,{children:[(0,t.jsxs)(m.CardHeader,{children:[(0,t.jsx)(m.CardTitle,{children:e("preferences")}),(0,t.jsx)(m.CardDescription,{children:e("preferencesDescription")})]}),(0,t.jsx)(m.CardContent,{className:"px-0",children:(0,t.jsxs)(b.Table,{children:[(0,t.jsx)(b.TableHeader,{children:(0,t.jsxs)(b.TableRow,{children:[(0,t.jsx)(b.TableHead,{className:"pl-4",children:e("notificationType")}),(0,t.jsx)(b.TableHead,{className:"w-24 text-center",children:e("sidebarChannel")}),(0,t.jsx)(b.TableHead,{className:"w-24 text-center",children:e("browserChannel")}),(0,t.jsx)(b.TableHead,{className:"w-24 text-center",children:e("pushChannel")})]})}),(0,t.jsx)(b.TableBody,{children:ek.map(([a,n])=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(b.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:(0,t.jsx)(b.TableCell,{className:"py-1.5 pl-4 text-xs font-medium text-muted-foreground",colSpan:4,children:e(`categories.${a}`)})}),n.map(r=>(0,t.jsxs)(b.TableRow,{children:[(0,t.jsxs)(b.TableCell,{className:"pl-4",children:[(0,t.jsx)("p",{className:"font-medium",children:e(`types.${r.key}.title`)}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e(`types.${r.key}.description`)})]}),["sidebarEnabled","browserEnabled","webPushEnabled"].map(a=>(0,t.jsx)(b.TableCell,{className:"w-24 text-center",children:(0,t.jsx)(x.Checkbox,{"aria-label":e("toggleChannel",{channel:e("sidebarEnabled"===a?"sidebarChannel":"browserEnabled"===a?"browserChannel":"pushChannel"),type:e(`types.${r.key}.title`)}),checked:r[a],className:"mx-auto",disabled:en===r.key,onCheckedChange:e=>void eR(r,a,!0===e)})},a))]},r.key))]},a))})]})})]})]}),(0,t.jsxs)(m.Card,{className:"gap-0 overflow-hidden py-0",children:[(0,t.jsx)(m.CardHeader,{className:"border-b",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(m.CardTitle,{children:e("subscribedBrowsers")}),(0,t.jsx)(m.CardDescription,{children:e("subscribedBrowsersDescription")})]}),(0,t.jsx)(f.Badge,{variant:"outline",children:e("subscriptionCount",{count:I.length})})]})}),(0,t.jsxs)(b.Table,{children:[(0,t.jsx)(b.TableHeader,{children:(0,t.jsxs)(b.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(b.TableHead,{className:"pl-4",children:e("browser")}),(0,t.jsx)(b.TableHead,{children:e("pushService")}),(0,t.jsx)(b.TableHead,{children:e("locale")}),(0,t.jsx)(b.TableHead,{children:e("lastSeen")}),(0,t.jsx)(b.TableHead,{className:"pr-4 text-right",children:e("actions")})]})}),(0,t.jsx)(b.TableBody,{children:0===I.length?(0,t.jsx)(b.TableRow,{children:(0,t.jsx)(b.TableCell,{className:"py-10 text-center text-muted-foreground",colSpan:5,children:e("noSubscribedBrowsers")})}):I.map(r=>{let a=ec?.endpoint===r.endpoint,i=eh===`test:${r.id}`,o=eh===`delete:${r.id}`,d=ex===r.id;return(0,t.jsxs)(b.TableRow,{children:[(0,t.jsxs)(b.TableCell,{className:"max-w-sm pl-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"font-medium",children:k(r.userAgent,e("unknownBrowser"))}),a&&(0,t.jsx)(f.Badge,{variant:"secondary",children:e("current")})]}),r.userAgent&&(0,t.jsx)("p",{className:"max-w-sm truncate text-xs text-muted-foreground",title:r.userAgent,children:r.userAgent})]}),(0,t.jsx)(b.TableCell,{children:(0,t.jsx)("span",{title:r.endpoint,children:function(e){try{return new URL(e).hostname}catch{return e}}(r.endpoint)})}),(0,t.jsx)(b.TableCell,{children:r.locale??"—"}),(0,t.jsx)(b.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)("time",{dateTime:r.lastSeenAt,children:new Date(r.lastSeenAt).toLocaleString(T,{dateStyle:"medium",timeStyle:"short"})})}),(0,t.jsx)(b.TableCell,{className:"pr-4",children:(0,t.jsxs)("div",{className:"flex justify-end gap-1",children:[(0,t.jsxs)(h.Button,{disabled:null!==eh,onClick:()=>void ez(r.id),size:"sm",type:"button",variant:"outline",children:[i?(0,t.jsx)(g.Spinner,{}):d?(0,t.jsx)(n.CheckCircle2,{}):(0,t.jsx)(s.Send,{}),d?e("testSent"):e("test")]}),(0,t.jsx)(u.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:e("cancel"),description:e("removeBrowserDescription"),onConfirm:()=>eB(r),title:e("removeBrowserTitle"),trigger:(0,t.jsx)(h.Button,{"aria-label":e("removeBrowser",{browser:k(r.userAgent,e("unknownBrowser"))}),disabled:null!==eh,size:"icon-sm",title:e("remove"),type:"button",variant:"ghost",children:o?(0,t.jsx)(g.Spinner,{}):(0,t.jsx)(l.Trash2,{})})})]})})]},r.id)})})]})]}),(0,t.jsxs)(m.Card,{className:"gap-0 overflow-hidden py-0",children:[(0,t.jsxs)(m.CardHeader,{children:[(0,t.jsx)(m.CardTitle,{children:e("history")}),(0,t.jsx)(m.CardDescription,{children:e("historyCount",{count:O})}),(0,t.jsxs)(m.CardAction,{className:"flex items-center gap-2",children:[(0,t.jsxs)(h.Button,{onClick:()=>{V(e=>!e),eD()},size:"sm",type:"button",variant:U?"default":"outline",children:[U?(0,t.jsx)(o.X,{}):(0,t.jsx)(i.ListFilter,{}),U?e("done"):e("edit")]}),(0,t.jsx)(u.ConfirmationDialog,{actionLabel:e("deleteAll"),cancelLabel:e("cancel"),description:e("deleteAllDescription"),onConfirm:eE,title:e("deleteAllTitle"),trigger:(0,t.jsxs)(h.Button,{disabled:!O,size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(l.Trash2,{})," ",e("deleteAll")]})})]})]}),U&&(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 border-b bg-muted/30 p-3",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:er?e("allSelected"):e("selectedCount",{count:P.filter(eP).length})}),(0,t.jsxs)(h.Button,{disabled:!eO,onClick:()=>void eA(),size:"sm",type:"button",variant:"destructive",children:[(0,t.jsx)(l.Trash2,{})," ",e("deleteSelected")]})]}),(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)(b.Table,{children:[(0,t.jsx)(b.TableHeader,{children:(0,t.jsxs)(b.TableRow,{className:"hover:bg-transparent",children:[U&&(0,t.jsx)(b.TableHead,{className:"w-10 pl-3",children:(0,t.jsx)(x.Checkbox,{"aria-label":e("selectAll"),checked:er&&(J.size||ee.length)?"indeterminate":er,onCheckedChange:e=>{ea(!0===e),X(new Set),Z(new Set),Q([]),et([])}})}),(0,t.jsx)(b.TableHead,{children:e("notification")}),(0,t.jsx)(b.TableHead,{children:e("channels")}),(0,t.jsx)(b.TableHead,{className:"text-right",children:e("received")})]})}),(0,t.jsx)(b.TableBody,{children:W?(0,t.jsx)(b.TableRow,{children:(0,t.jsx)(b.TableCell,{className:"py-12 text-center",colSpan:U?4:3,children:(0,t.jsx)(g.Spinner,{})})}):0===P.length?(0,t.jsx)(b.TableRow,{children:(0,t.jsx)(b.TableCell,{className:"py-12 text-center text-muted-foreground",colSpan:U?4:3,children:e("historyEmpty")})}):eN.map(a=>{let n=a.items.every(eP),i=a.items.some(eP);return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)(b.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:[U&&(0,t.jsx)(b.TableCell,{className:"pl-3",children:(0,t.jsx)(x.Checkbox,{"aria-label":e("selectDay",{day:a.label}),checked:!!n||!!i&&"indeterminate",onCheckedChange:e=>{var t;return t=!0===e,void(er?et(e=>t?e.filter(({key:e})=>e!==a.key):[...e.filter(({key:e})=>e!==a.key),a.range]):Q(e=>t?[...e.filter(({key:e})=>e!==a.key),a.range]:e.filter(({key:e})=>e!==a.key)),X(e=>{let r=new Set(e);return a.items.forEach(({id:e})=>!er&&t?r.add(e):r.delete(e)),r}),Z(e=>{let t=new Set(e);return a.items.forEach(({id:e})=>t.delete(e)),t}))}})}),(0,t.jsx)(b.TableCell,{className:"py-1.5 text-xs text-muted-foreground",colSpan:3,children:a.label})]}),a.items.map(r=>{let a=r.highlightColor;return(0,t.jsxs)(b.TableRow,{className:(0,y.cn)("transition-colors",a&&j.worktreeHighlightBackgroundClasses[a]),children:[U&&(0,t.jsx)(b.TableCell,{className:(0,y.cn)("border-l-4 pl-2",a?j.worktreeHighlightAccentClasses[a]:"border-l-transparent"),children:(0,t.jsx)(x.Checkbox,{"aria-label":e("selectNotification",{title:r.title}),checked:eP(r),onCheckedChange:e=>{!0===e?(X(e=>new Set(e).add(r.id)),Z(e=>{let t=new Set(e);return t.delete(r.id),t})):(X(e=>{let t=new Set(e);return t.delete(r.id),t}),(er||G.length)&&Z(e=>new Set(e).add(r.id)))}})}),(0,t.jsxs)(b.TableCell,{className:(0,y.cn)("min-w-80",!U&&"border-l-4 pl-2",!U&&(a?j.worktreeHighlightAccentClasses[a]:"border-l-transparent")),children:[(0,t.jsx)(v.Link,{className:"font-medium hover:underline",href:r.href,children:r.title}),(0,t.jsx)("p",{className:"mt-0.5 text-xs text-muted-foreground",children:r.body})]}),(0,t.jsx)(b.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1",children:[r.sidebarRequested&&(0,t.jsx)(f.Badge,{variant:"outline",children:e("sidebarChannel")}),r.browserRequested&&(0,t.jsx)(f.Badge,{variant:"outline",children:e("browserChannel")}),r.webPushRequested&&(0,t.jsx)(f.Badge,{variant:"outline",children:e("pushChannel")})]})}),(0,t.jsx)(b.TableCell,{className:"text-right text-xs text-muted-foreground",children:(0,t.jsx)("time",{dateTime:r.createdAt,title:new Date(r.createdAt).toLocaleString(T),children:new Date(r.createdAt).toLocaleTimeString(T,{hour:"numeric",minute:"2-digit"})})})]},r.id)})]},a.key)})})]})}),(0,t.jsx)("div",{ref:ej,className:"flex min-h-10 items-center justify-center p-2",children:L&&(0,t.jsx)(g.Spinner,{})})]})]})}])}]);
41
+ }`,{id:e.id}),B(t=>t.filter(({id:t})=>t!==e.id)),_(e=>e?{...e,subscriptionCount:Math.max(0,e.subscriptionCount-1)}:e),ev(t=>t===e.id?null:t),V(null)}catch(e){V(e instanceof Error?e.message:String(e)),await eN()}finally{eg(null)}},eW=en||J.size>0||ee.length>0;return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1700px] flex-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:e("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("description")})]}),U&&(0,t.jsx)(p.Alert,{variant:"destructive",children:(0,t.jsx)(p.AlertDescription,{children:U})}),(0,t.jsxs)("div",{className:"grid items-start gap-6 xl:grid-cols-2",children:[(0,t.jsxs)(x.Card,{children:[(0,t.jsxs)(x.CardHeader,{children:[(0,t.jsx)(x.CardTitle,{children:e("deliverySetup")}),(0,t.jsx)(x.CardDescription,{children:e("deliverySetupDescription")})]}),(0,t.jsxs)(x.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-lg border p-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:e("browserAlerts")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"unsupported"===eo?e("browserUnsupported"):e(`permissions.${eo}`)})]}),"granted"===eo?(0,t.jsxs)(f.Badge,{className:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:[(0,t.jsx)(n.CheckCircle2,{})," ",e("enabled")]}):(0,t.jsxs)(h.Button,{disabled:"denied"===eo||"unsupported"===eo,onClick:()=>void e_(),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(a.BellRing,{})," ",e("enable")]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-lg border p-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:e("webPush")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:ec?eD?e("pushSubscribed"):e("pushNotSubscribed"):e("pushUnsupported")}),$&&(0,t.jsx)("p",{className:"mt-1 text-[11px] text-muted-foreground",children:e("subscriptionCount",{count:$.subscriptionCount})})]}),(0,t.jsxs)(h.Button,{disabled:!ec||eh,onClick:()=>void(eD?eB():ez()),size:"sm",type:"button",variant:eD?"outline":"default",children:[eh?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(s.Send,{}),eD?e("unsubscribe"):e("subscribe")]})]}),ey&&!ej&&(0,t.jsx)(p.Alert,{children:(0,t.jsx)(p.AlertDescription,{children:e("iosInstallHelp")})})]})]}),(0,t.jsxs)(x.Card,{children:[(0,t.jsxs)(x.CardHeader,{children:[(0,t.jsx)(x.CardTitle,{children:e("preferences")}),(0,t.jsx)(x.CardDescription,{children:e("preferencesDescription")})]}),(0,t.jsx)(x.CardContent,{className:"px-0",children:(0,t.jsxs)(v.Table,{children:[(0,t.jsx)(v.TableHeader,{children:(0,t.jsxs)(v.TableRow,{children:[(0,t.jsx)(v.TableHead,{className:"pl-4",children:e("notificationType")}),(0,t.jsx)(v.TableHead,{className:"w-24 text-center",children:e("sidebarChannel")}),(0,t.jsx)(v.TableHead,{className:"w-24 text-center",children:e("browserChannel")}),(0,t.jsx)(v.TableHead,{className:"w-24 text-center",children:e("pushChannel")})]})}),(0,t.jsx)(v.TableBody,{children:eP.map(([a,n])=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(v.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:(0,t.jsx)(v.TableCell,{className:"py-1.5 pl-4 text-xs font-medium text-muted-foreground",colSpan:4,children:e(`categories.${a}`)})}),n.map(r=>(0,t.jsxs)(v.TableRow,{children:[(0,t.jsxs)(v.TableCell,{className:"pl-4",children:[(0,t.jsx)("p",{className:"font-medium",children:e(`types.${r.key}.title`)}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e(`types.${r.key}.description`)})]}),["sidebarEnabled","browserEnabled","webPushEnabled"].map(a=>(0,t.jsx)(v.TableCell,{className:"w-24 text-center",children:(0,t.jsx)(m.Checkbox,{"aria-label":e("toggleChannel",{channel:e("sidebarEnabled"===a?"sidebarChannel":"browserEnabled"===a?"browserChannel":"pushChannel"),type:e(`types.${r.key}.title`)}),checked:r[a],className:"mx-auto",disabled:es===r.key,onCheckedChange:e=>void e$(r,a,!0===e)})},a))]},r.key))]},a))})]})})]})]}),(0,t.jsxs)(x.Card,{className:"gap-0 overflow-hidden py-0",children:[(0,t.jsx)(x.CardHeader,{className:"border-b",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(x.CardTitle,{children:e("subscribedBrowsers")}),(0,t.jsx)(x.CardDescription,{children:e("subscribedBrowsersDescription")})]}),(0,t.jsx)(f.Badge,{variant:"outline",children:e("subscriptionCount",{count:z.length})})]})}),(0,t.jsxs)(v.Table,{children:[(0,t.jsx)(v.TableHeader,{children:(0,t.jsxs)(v.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(v.TableHead,{className:"pl-4",children:e("browser")}),(0,t.jsx)(v.TableHead,{children:e("pushService")}),(0,t.jsx)(v.TableHead,{children:e("locale")}),(0,t.jsx)(v.TableHead,{children:e("lastSeen")}),(0,t.jsx)(v.TableHead,{className:"pr-4 text-right",children:e("actions")})]})}),(0,t.jsx)(v.TableBody,{children:0===z.length?(0,t.jsx)(v.TableRow,{children:(0,t.jsx)(v.TableCell,{className:"py-10 text-center text-muted-foreground",colSpan:5,children:e("noSubscribedBrowsers")})}):z.map(r=>{let a=ep?.endpoint===r.endpoint,i=em===`test:${r.id}`,o=em===`delete:${r.id}`,d=eb===r.id;return(0,t.jsxs)(v.TableRow,{children:[(0,t.jsxs)(v.TableCell,{className:"max-w-sm pl-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"font-medium",children:P(r.userAgent,e("unknownBrowser"))}),a&&(0,t.jsx)(f.Badge,{variant:"secondary",children:e("current")})]}),r.userAgent&&(0,t.jsx)("p",{className:"max-w-sm truncate text-xs text-muted-foreground",title:r.userAgent,children:r.userAgent})]}),(0,t.jsx)(v.TableCell,{children:(0,t.jsx)("span",{title:r.endpoint,children:function(e){try{return new URL(e).hostname}catch{return e}}(r.endpoint)})}),(0,t.jsx)(v.TableCell,{children:r.locale??"—"}),(0,t.jsx)(v.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(g.DateTime,{value:r.lastSeenAt})}),(0,t.jsx)(v.TableCell,{className:"pr-4",children:(0,t.jsxs)("div",{className:"flex justify-end gap-1",children:[(0,t.jsxs)(h.Button,{disabled:null!==em,onClick:()=>void eO(r.id),size:"sm",type:"button",variant:"outline",children:[i?(0,t.jsx)(b.Spinner,{}):d?(0,t.jsx)(n.CheckCircle2,{}):(0,t.jsx)(s.Send,{}),d?e("testSent"):e("test")]}),(0,t.jsx)(u.ConfirmationDialog,{actionLabel:e("remove"),cancelLabel:e("cancel"),description:e("removeBrowserDescription"),onConfirm:()=>eH(r),title:e("removeBrowserTitle"),trigger:(0,t.jsx)(h.Button,{"aria-label":e("removeBrowser",{browser:P(r.userAgent,e("unknownBrowser"))}),disabled:null!==em,size:"icon-sm",title:e("remove"),type:"button",variant:"ghost",children:o?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(l.Trash2,{})})})]})})]},r.id)})})]})]}),(0,t.jsxs)(x.Card,{className:"gap-0 overflow-hidden py-0",children:[(0,t.jsxs)(x.CardHeader,{children:[(0,t.jsx)(x.CardTitle,{children:e("history")}),(0,t.jsx)(x.CardDescription,{children:e("historyCount",{count:W})}),(0,t.jsxs)(x.CardAction,{className:"flex items-center gap-2",children:[(0,t.jsxs)(h.Button,{onClick:()=>{Y(e=>!e),eE()},size:"sm",type:"button",variant:X?"default":"outline",children:[X?(0,t.jsx)(o.X,{}):(0,t.jsx)(i.ListFilter,{}),X?e("done"):e("edit")]}),(0,t.jsx)(u.ConfirmationDialog,{actionLabel:e("deleteAll"),cancelLabel:e("cancel"),description:e("deleteAllDescription"),onConfirm:eI,title:e("deleteAllTitle"),trigger:(0,t.jsxs)(h.Button,{disabled:!W,size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(l.Trash2,{})," ",e("deleteAll")]})})]})]}),X&&(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 border-b bg-muted/30 p-3",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:en?e("allSelected"):e("selectedCount",{count:A.filter(eA).length})}),(0,t.jsxs)(h.Button,{disabled:!eW,onClick:()=>void eR(),size:"sm",type:"button",variant:"destructive",children:[(0,t.jsx)(l.Trash2,{})," ",e("deleteSelected")]})]}),(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)(v.Table,{children:[(0,t.jsx)(v.TableHeader,{children:(0,t.jsxs)(v.TableRow,{className:"hover:bg-transparent",children:[X&&(0,t.jsx)(v.TableHead,{className:"w-10 pl-3",children:(0,t.jsx)(m.Checkbox,{"aria-label":e("selectAll"),checked:en&&(G.size||er.length)?"indeterminate":en,onCheckedChange:e=>{ei(!0===e),Z(new Set),Q(new Set),et([]),ea([])}})}),(0,t.jsx)(v.TableHead,{children:e("notification")}),(0,t.jsx)(v.TableHead,{children:e("channels")}),(0,t.jsx)(v.TableHead,{className:"text-right",children:e("received")})]})}),(0,t.jsx)(v.TableBody,{children:F?(0,t.jsx)(v.TableRow,{children:(0,t.jsx)(v.TableCell,{className:"py-12 text-center",colSpan:X?4:3,children:(0,t.jsx)(b.Spinner,{})})}):0===A.length?(0,t.jsx)(v.TableRow,{children:(0,t.jsx)(v.TableCell,{className:"py-12 text-center text-muted-foreground",colSpan:X?4:3,children:e("historyEmpty")})}):eT.map(a=>{let n=a.items.every(eA),i=a.items.some(eA);return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)(v.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:[X&&(0,t.jsx)(v.TableCell,{className:"pl-3",children:(0,t.jsx)(m.Checkbox,{"aria-label":e("selectDay",{day:a.label}),checked:!!n||!!i&&"indeterminate",onCheckedChange:e=>{var t;return t=!0===e,void(en?ea(e=>t?e.filter(({key:e})=>e!==a.key):[...e.filter(({key:e})=>e!==a.key),a.range]):et(e=>t?[...e.filter(({key:e})=>e!==a.key),a.range]:e.filter(({key:e})=>e!==a.key)),Z(e=>{let r=new Set(e);return a.items.forEach(({id:e})=>!en&&t?r.add(e):r.delete(e)),r}),Q(e=>{let t=new Set(e);return a.items.forEach(({id:e})=>t.delete(e)),t}))}})}),(0,t.jsx)(v.TableCell,{className:"py-1.5 text-xs text-muted-foreground",colSpan:3,children:a.label})]}),a.items.map(r=>{let a=r.highlightColor;return(0,t.jsxs)(v.TableRow,{className:(0,C.cn)("transition-colors",a&&S.worktreeHighlightBackgroundClasses[a]),children:[X&&(0,t.jsx)(v.TableCell,{className:(0,C.cn)("border-l-4 pl-2",a?S.worktreeHighlightAccentClasses[a]:"border-l-transparent"),children:(0,t.jsx)(m.Checkbox,{"aria-label":e("selectNotification",{title:r.title}),checked:eA(r),onCheckedChange:e=>{!0===e?(Z(e=>new Set(e).add(r.id)),Q(e=>{let t=new Set(e);return t.delete(r.id),t})):(Z(e=>{let t=new Set(e);return t.delete(r.id),t}),(en||ee.length)&&Q(e=>new Set(e).add(r.id)))}})}),(0,t.jsxs)(v.TableCell,{className:(0,C.cn)("min-w-80",!X&&"border-l-4 pl-2",!X&&(a?S.worktreeHighlightAccentClasses[a]:"border-l-transparent")),children:[(0,t.jsx)(y.Link,{className:"font-medium hover:underline",href:r.href,children:r.title}),(0,t.jsx)("p",{className:"mt-0.5 text-xs text-muted-foreground",children:r.body})]}),(0,t.jsx)(v.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1",children:[r.sidebarRequested&&(0,t.jsx)(f.Badge,{variant:"outline",children:e("sidebarChannel")}),r.browserRequested&&(0,t.jsx)(f.Badge,{variant:"outline",children:e("browserChannel")}),r.webPushRequested&&(0,t.jsx)(f.Badge,{variant:"outline",children:e("pushChannel")})]})}),(0,t.jsx)(v.TableCell,{className:"text-right text-xs text-muted-foreground",children:(0,t.jsx)(g.DateTime,{kind:"time",value:r.createdAt})})]},r.id)})]},a.key)})})]})}),(0,t.jsx)("div",{ref:eS,className:"flex min-h-10 items-center justify-center p-2",children:M&&(0,t.jsx)(b.Spinner,{})})]})]})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,624687,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Textarea",0,function({className:e,...a}){return(0,t.jsx)("textarea",{className:(0,r.cn)("min-h-24 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",e),...a})}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}var i=e.i(30030);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var s=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var f=Symbol.for("radix.slottable"),p=Symbol.for("react.lazy");function m(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===p&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var g=r[" use ".trim().toString()],v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var i;let o,l=(i=`Primitive.${a}`,(o=r.forwardRef((e,t)=>{var a;let o,l,{children:s,...d}=e,c=null,u=!1,p=[];m(s)&&"function"==typeof g&&(s=g(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===f){u=!0;let t="child"in e.props?e.props.child:e.props.children;m(t)&&"function"==typeof g&&(t=g(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),p.push(c?.props?.children)}else p.push(e)}),c?c=r.cloneElement(c,void 0,p):!u&&1===r.Children.count(s)&&r.isValidElement(s)&&(c=s);let v=c?(a=c,(l=(o=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?a.ref:(l=(o=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,x=n(t,v);if(!c){if(s||0===s){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return s}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(c,h)})).displayName=`${i}.Slot`,o),s=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:a,{...i,ref:r})});return s.displayName=`Primitive.${a}`,{...e,[a]:s}},{}),x="Checkbox",[h,b]=(0,i.createContextScope)(x),[y,j]=h(x);function w(e){let{__scopeCheckbox:a,checked:n,children:i,defaultChecked:o,disabled:l,form:d,name:c,onCheckedChange:u,required:f,value:p="on",internal_do_not_use_render:m}=e,[g,v]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[i,o,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),i=r.useRef(a),o=r.useRef(t);return s(()=>{o.current=t},[t]),r.useEffect(()=>{i.current!==a&&(o.current?.(a),i.current=a)},[a,i]),[a,n,o]}({defaultProp:t,onChange:a}),d=void 0!==e,c=d?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else o(t)},[d,e,o,l])]}({prop:n,defaultProp:o??!1,onChange:u,caller:x}),[h,b]=r.useState(null),[j,w]=r.useState(null),k=r.useRef(!1),N=!h||!!d||!!h.closest("form"),C={checked:g,disabled:l,setChecked:v,control:h,setControl:b,name:c,form:d,value:p,hasConsumerStoppedPropagationRef:k,required:f,defaultChecked:!_(o)&&o,isFormControl:N,bubbleInput:j,setBubbleInput:w};return(0,t.jsx)(y,{scope:a,...C,children:"function"==typeof m?m(C):i})}var k="CheckboxTrigger",N=r.forwardRef(({__scopeCheckbox:e,onKeyDown:a,onClick:i,...l},s)=>{let{control:d,value:c,disabled:u,checked:f,required:p,setControl:m,setChecked:g,hasConsumerStoppedPropagationRef:x,isFormControl:h,bubbleInput:b}=j(k,e),y=n(s,m),w=r.useRef(f);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>g(w.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,g]),(0,t.jsx)(v.button,{type:"button",role:"checkbox","aria-checked":_(f)?"mixed":f,"aria-required":p,"data-state":D(f),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:y,onKeyDown:o(a,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:o(i,e=>{g(e=>!!_(e)||!e),b&&h&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})});N.displayName=k;var C=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:n,checked:i,defaultChecked:o,required:l,disabled:s,value:d,onCheckedChange:c,form:u,...f}=e;return(0,t.jsx)(w,{__scopeCheckbox:a,checked:i,defaultChecked:o,disabled:s,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N,{...f,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(z,{__scopeCheckbox:a})]})})});C.displayName=x;var E="CheckboxIndicator",R=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...i}=e,o=j(E,a);return(0,t.jsx)(u.Presence,{present:n||_(o.checked)||!0===o.checked,children:(0,t.jsx)(v.span,{"data-state":D(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:r,style:{pointerEvents:"none",...e.style}})})});R.displayName=E;var S="CheckboxBubbleInput",z=r.forwardRef(({__scopeCheckbox:e,...a},i)=>{let{control:o,hasConsumerStoppedPropagationRef:l,checked:s,defaultChecked:u,required:f,disabled:p,name:m,value:g,form:x,bubbleInput:h,setBubbleInput:b}=j(S,e),y=n(i,b),w=(0,d.usePrevious)(s),k=(0,c.useSize)(o);r.useEffect(()=>{if(!h)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(w!==s&&e){let r=new Event("click",{bubbles:t});h.indeterminate=_(s),e.call(h,!_(s)&&s),h.dispatchEvent(r)}},[h,w,s,l]);let N=r.useRef(!_(s)&&s);return(0,t.jsx)(v.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??N.current,required:f,disabled:p,name:m,value:g,form:x,...a,tabIndex:-1,ref:y,style:{...a.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function _(e){return"indeterminate"===e}function D(e){return _(e)?"indeterminate":e?"checked":"unchecked"}z.displayName=S,e.s(["Checkbox",0,C,"CheckboxIndicator",0,R,"Indicator",0,R,"Root",0,C,"createCheckboxScope",0,b,"unstable_BubbleInput",0,z,"unstable_CheckboxBubbleInput",0,z,"unstable_CheckboxProvider",0,w,"unstable_CheckboxTrigger",0,N,"unstable_Provider",0,w,"unstable_Trigger",0,N],388474);var I=e.i(388474),I=I,T=e.i(975157),P=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(I.Root,{"data-slot":"checkbox",className:(0,T.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)(I.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(P.CheckIcon,{})})})}],59497)},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var n=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{var s;let d,c=(s=`Primitive.${i}`,(d=r.forwardRef((e,t)=>{var i;let d,c,{children:u,...f}=e,p=null,m=!1,g=[];o(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===n){m=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof l&&(t=l(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),g.push(p?.props?.children)}else g.push(e)}),p?p=r.cloneElement(p,void 0,g):!m&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let v=p?(i=p,(c=(d=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.ref:(c=(d=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(t,v);if(!p){if(u||0===u){let e,t;throw Error(m?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(p,h)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?c:i,{...n,ref:r})});return u.displayName=`Primitive.${i}`,{...e,[i]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),a=e.i(964053),n=e.i(519455),i=e.i(975157);function o({...e}){return(0,t.jsx)(a.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(a.Dialog.Overlay,{className:(0,i.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(a.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(o,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(a.Dialog.Content,{className:(0,i.cn)("fixed top-1/2 left-1/2 z-50 grid max-h-[85dvh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),"data-slot":"dialog-content",...c,children:[s,d&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(r.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Description,{className:(0,i.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),"data-slot":"dialog-description",...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:o,...l}){return(0,t.jsxs)("div",{className:(0,i.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...l,children:[o,r&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Title,{className:(0,i.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(a.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},515281,e=>{"use strict";let t=(0,e.i(456420).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],515281)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let r=document.execCommand("copy");if(t.remove(),!r)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},867927,e=>{"use strict";var t=e.i(986253);e.s(["ChevronRight",()=>t.default])},560972,e=>{"use strict";let t=(0,e.i(456420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["default",0,t])},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...i}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...i})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...n}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...n})}],987968)},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),n=e.i(975157);let i=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:o=!1,...l}){let s=o?a.Slot.Root:"span";return(0,t.jsx)(s,{className:(0,n.cn)(i({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(n({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},799676,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),n=e.i(30207),i=globalThis?.document?r.useLayoutEffect:()=>{};function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var l=Symbol.for("radix.slottable"),s=Symbol.for("react.lazy");function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=r[" use ".trim().toString()],u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var n;let i,s=(n=`Primitive.${a}`,(i=r.forwardRef((e,t)=>{var a;let i,s,{children:u,...f}=e,p=null,m=!1,g=[];d(u)&&"function"==typeof c&&(u=c(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===l){m=!0;let t="child"in e.props?e.props.child:e.props.children;d(t)&&"function"==typeof c&&(t=c(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),g.push(p?.props?.children)}else g.push(e)}),p?p=r.cloneElement(p,void 0,g):!m&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let v=p?(a=p,(s=(i=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.ref:(s=(i=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=o(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():o(e[t],null)}}}}(...e),e)}(t,v);if(!p){if(u||0===u){let e,t;throw Error(m?(e=n,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=n,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(p,h)})).displayName=`${n}.Slot`,i),u=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?s:a,{...i,ref:r})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),f="Avatar",[p,m]=(0,a.createContextScope)(f),g=[0,()=>void 0],[v,x]=p(f),h=r.forwardRef((e,a)=>{let{__scopeAvatar:n,...i}=e,[o,l]=r.useState("idle"),[s,d]=function(){let e=g;{let[t]=e=r.useState(0),a=r.useRef(!1);r.useEffect(()=>{t>1&&!a.current&&(a.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}();return(0,t.jsx)(v,{scope:n,imageLoadingStatus:o,setImageLoadingStatus:l,imageCount:s,setImageCount:d,children:(0,t.jsx)(u.span,{...i,ref:a})})});h.displayName=f;var b="AvatarImage",y=r.forwardRef((e,a)=>{var o;let{__scopeAvatar:l,src:s,onLoadingStatusChange:d,...c}=e,f=x(b,l);o=f.setImageCount,r.useEffect(()=>(o(e=>e+1),()=>{o(e=>e-1)}),[o]);let p=function(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:a,crossOrigin:n}){return i(()=>{if(!e)return void r("error");let t=new window.Image,i=e=>{r(k(e.currentTarget))},o=()=>r("error");return t.addEventListener("load",i),t.addEventListener("error",o),a&&(t.referrerPolicy=a),t.crossOrigin=n??null,t.src=e,r(k(t)),()=>{t.removeEventListener("load",i),t.removeEventListener("error",o),r("idle")}},[e,n,a,r]),t}(s,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:f.imageLoadingStatus,setLoadingStatus:f.setImageLoadingStatus}),m=(0,n.useCallbackRef)(e=>{d?.(e)}),g=r.useRef(p);return i(()=>{let e=g.current;g.current=p,p!==e&&m(p)},[p,m]),"loaded"===p?(0,t.jsx)(u.img,{...c,ref:a,src:s}):null});y.displayName=b;var j="AvatarFallback",w=r.forwardRef((e,a)=>{let{__scopeAvatar:n,delayMs:i,...o}=e,l=x(j,n),[s,d]=r.useState(void 0===i);return r.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>d(!0),i);return()=>window.clearTimeout(e)}},[i]),s&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(u.span,{...o,ref:a}):null});function k(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}w.displayName=j,e.s(["Avatar",0,h,"AvatarFallback",0,w,"AvatarImage",0,y,"Fallback",0,w,"Image",0,y,"Root",0,h,"createAvatarScope",0,m],97456);var N=e.i(97456),N=N,C=e.i(975157);e.s(["Avatar",0,function({className:e,size:r="default",...a}){return(0,t.jsx)(N.Root,{className:(0,C.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":r,"data-slot":"avatar",...a})},"AvatarFallback",0,function({className:e,...r}){return(0,t.jsx)(N.Fallback,{className:(0,C.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...r})},"AvatarImage",0,function({className:e,...r}){return(0,t.jsx)(N.Image,{className:(0,C.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...r})}],799676)},159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},337355,563707,906197,e=>{"use strict";var t=e.i(843476);let r=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,r],563707);var a=e.i(271645),n=e.i(519455),i=e.i(317056),o=e.i(225913),l=e.i(709840),s=e.i(975157);e.i(772436);let d=(0,o.cva)("group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"border-transparent bg-muted/50"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function c({className:e,variant:r="default",size:a="default",asChild:n=!1,...i}){let o=n?l.Slot.Root:"div";return(0,t.jsx)(o,{"data-slot":"item","data-variant":r,"data-size":a,className:(0,s.cn)(d({variant:r,size:a,className:e})),...i})}let u=(0,o.cva)("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function f({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"item-content",className:(0,s.cn)("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",e),...r})}function p({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"item-title",className:(0,s.cn)("line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",e),...r})}function m({className:e,...r}){return(0,t.jsx)("p",{"data-slot":"item-description",className:(0,s.cn)("line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})}e.s(["Item",0,c,"ItemActions",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"item-actions",className:(0,s.cn)("flex items-center gap-2",e),...r})},"ItemContent",0,f,"ItemDescription",0,m,"ItemGroup",0,function({className:e,...r}){return(0,t.jsx)("div",{role:"list","data-slot":"item-group",className:(0,s.cn)("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",e),...r})},"ItemMedia",0,function({className:e,variant:r="default",...a}){return(0,t.jsx)("div",{"data-slot":"item-media","data-variant":r,className:(0,s.cn)(u({variant:r,className:e})),...a})},"ItemTitle",0,p],906197);var g=e.i(337822);e.s(["SearchableSelect",0,function({value:e,onValueChange:o,options:l,placeholder:d,searchPlaceholder:u,emptyMessage:v,ariaLabel:x,disabled:h,className:b,showSelectedDetails:y=!1}){let[j,w]=(0,a.useState)(!1),k=l.find(t=>t.value===e);return(0,t.jsxs)(g.Popover,{onOpenChange:w,open:j,children:[(0,t.jsx)(g.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{"aria-expanded":j,"aria-label":x,className:(0,s.cn)("min-w-0 w-full justify-between font-normal",y&&k&&"h-auto min-h-8 py-2",b),disabled:h,role:"combobox",type:"button",variant:"outline",children:[y&&k?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:k.label}),k.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.description}),k.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:k?.label??d}),(0,t.jsx)(r,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(g.PopoverContent,{align:"start",className:"z-70 w-(--radix-popover-trigger-width) p-0",children:(0,t.jsxs)(i.Command,{label:u,children:[(0,t.jsx)(i.CommandInput,{"aria-label":u,autoFocus:!0,placeholder:u}),(0,t.jsxs)(i.CommandList,{children:[(0,t.jsx)(i.CommandEmpty,{children:v}),(0,t.jsx)(i.CommandGroup,{children:l.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{o(r.value),w(!1)},value:r.value,children:(0,t.jsx)(c,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(f,{className:"min-w-0",children:[(0,t.jsx)(p,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(m,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(m,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))})]})]})})]})}],337355)}]);