@madarco/agentbox 0.31.0 → 0.31.2

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 (918) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{_cloud-attach-CGH4ETV4.js → _cloud-attach-N3JJD7JF.js} +3 -3
  3. package/dist/{chunk-XR4DJ5CE.js → chunk-2756BRPK.js} +12 -12
  4. package/dist/{chunk-XAN5OA2G.js → chunk-3S5RZCIG.js} +2 -2
  5. package/dist/{chunk-AHGKZ4XT.js → chunk-3T4CPP3U.js} +3 -3
  6. package/dist/{chunk-T7HSUEJ2.js → chunk-EK32GLP5.js} +6 -6
  7. package/dist/{chunk-AVA37UUL.js → chunk-FDHOIH3V.js} +4 -4
  8. package/dist/{chunk-XGMVKF4D.js → chunk-FUJRTZBN.js} +2 -2
  9. package/dist/{chunk-7B5UQ4TZ.js → chunk-LFN6QCM6.js} +2 -2
  10. package/dist/{chunk-EE6QYX7K.js → chunk-RBEELJCJ.js} +2 -2
  11. package/dist/{chunk-CQSO43K2.js → chunk-S3LDXOIT.js} +4 -4
  12. package/dist/{control-plane-RVOT72RR.js → control-plane-54U2RAMT.js} +4 -4
  13. package/dist/{deploy-hetzner-XWLX4A27.js → deploy-hetzner-X6WUZPPJ.js} +2 -2
  14. package/dist/{hub-WELYMA4S.js → hub-PITRE4LQ.js} +5 -5
  15. package/dist/{hub-docker-target-FZEG42LK.js → hub-docker-target-JHOIAOIF.js} +4 -4
  16. package/dist/index.js +22 -22
  17. package/dist/{prepare-SO67S5YF.js → prepare-WAIDHKO3.js} +8 -8
  18. package/dist/{prepared-custody-SJSYXY64.js → prepared-custody-ALF6YHQC.js} +5 -5
  19. package/dist/{publish-credentials-WLHZK4BZ.js → publish-credentials-GKZGTWEI.js} +2 -2
  20. package/dist/{remote-docker-share-IHADSWLQ.js → remote-docker-share-YWI2UXGS.js} +2 -2
  21. package/package.json +1 -1
  22. package/runtime/_shared/agentbox-vnc-start +7 -4
  23. package/runtime/digitalocean/agentbox-vnc-start +7 -4
  24. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +7 -4
  25. package/runtime/e2b/agentbox-vnc-start +7 -4
  26. package/runtime/hetzner/agentbox-vnc-start +7 -4
  27. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -0
  28. package/runtime/hub/apps/hub/.next/app-path-routes-manifest.json +68 -0
  29. package/runtime/hub/apps/hub/.next/build-manifest.json +21 -0
  30. package/runtime/hub/apps/hub/.next/package.json +1 -0
  31. package/runtime/hub/apps/hub/.next/prerender-manifest.json +36 -0
  32. package/runtime/hub/apps/hub/.next/required-server-files.json +355 -0
  33. package/runtime/hub/apps/hub/.next/routes-manifest.json +528 -0
  34. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route/app-paths-manifest.json +3 -0
  35. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route/build-manifest.json +9 -0
  36. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route/server-reference-manifest.json +4 -0
  37. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js +13 -0
  38. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.map +5 -0
  39. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.nft.json +1 -0
  40. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route_client-reference-manifest.js +3 -0
  41. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page/app-paths-manifest.json +3 -0
  42. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page/build-manifest.json +17 -0
  43. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page/next-font-manifest.json +13 -0
  44. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page/react-loadable-manifest.json +1 -0
  45. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page/server-reference-manifest.json +4 -0
  46. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page.js +14 -0
  47. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page.js.map +5 -0
  48. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page.js.nft.json +1 -0
  49. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +3 -0
  50. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route/app-paths-manifest.json +3 -0
  51. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route/build-manifest.json +9 -0
  52. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route/server-reference-manifest.json +4 -0
  53. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route.js +7 -0
  54. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route.js.map +5 -0
  55. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route.js.nft.json +1 -0
  56. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/events/route_client-reference-manifest.js +3 -0
  57. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route/app-paths-manifest.json +3 -0
  58. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route/build-manifest.json +9 -0
  59. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route/server-reference-manifest.json +4 -0
  60. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route.js +7 -0
  61. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route.js.map +5 -0
  62. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route.js.nft.json +1 -0
  63. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/jobs/[id]/logs/route_client-reference-manifest.js +3 -0
  64. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route/app-paths-manifest.json +3 -0
  65. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route/build-manifest.json +9 -0
  66. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route/server-reference-manifest.json +4 -0
  67. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route.js +7 -0
  68. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route.js.map +5 -0
  69. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route.js.nft.json +1 -0
  70. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/agents/route_client-reference-manifest.js +3 -0
  71. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route/app-paths-manifest.json +3 -0
  72. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route/build-manifest.json +9 -0
  73. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route/server-reference-manifest.json +4 -0
  74. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js +10 -0
  75. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js.map +5 -0
  76. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js.nft.json +1 -0
  77. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route_client-reference-manifest.js +3 -0
  78. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route/app-paths-manifest.json +3 -0
  79. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route/build-manifest.json +9 -0
  80. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route/server-reference-manifest.json +4 -0
  81. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js +9 -0
  82. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js.map +5 -0
  83. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js.nft.json +1 -0
  84. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route_client-reference-manifest.js +3 -0
  85. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route/app-paths-manifest.json +3 -0
  86. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route/build-manifest.json +9 -0
  87. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route/server-reference-manifest.json +4 -0
  88. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js +10 -0
  89. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js.map +5 -0
  90. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js.nft.json +1 -0
  91. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route_client-reference-manifest.js +3 -0
  92. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route/app-paths-manifest.json +3 -0
  93. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route/build-manifest.json +9 -0
  94. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route/server-reference-manifest.json +4 -0
  95. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route.js +9 -0
  96. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route.js.map +5 -0
  97. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route.js.nft.json +1 -0
  98. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route_client-reference-manifest.js +3 -0
  99. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route/app-paths-manifest.json +3 -0
  100. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route/build-manifest.json +9 -0
  101. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route/server-reference-manifest.json +4 -0
  102. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route.js +10 -0
  103. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route.js.map +5 -0
  104. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route.js.nft.json +1 -0
  105. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route_client-reference-manifest.js +3 -0
  106. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route/app-paths-manifest.json +3 -0
  107. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route/build-manifest.json +9 -0
  108. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route/server-reference-manifest.json +4 -0
  109. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js +9 -0
  110. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js.map +5 -0
  111. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js.nft.json +1 -0
  112. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route_client-reference-manifest.js +3 -0
  113. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route/app-paths-manifest.json +3 -0
  114. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route/build-manifest.json +9 -0
  115. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route/server-reference-manifest.json +4 -0
  116. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js +10 -0
  117. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js.map +5 -0
  118. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js.nft.json +1 -0
  119. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route_client-reference-manifest.js +3 -0
  120. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route/app-paths-manifest.json +3 -0
  121. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route/build-manifest.json +9 -0
  122. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route/server-reference-manifest.json +4 -0
  123. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js +10 -0
  124. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js.map +5 -0
  125. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js.nft.json +1 -0
  126. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route_client-reference-manifest.js +3 -0
  127. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route/app-paths-manifest.json +3 -0
  128. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route/build-manifest.json +9 -0
  129. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route/server-reference-manifest.json +4 -0
  130. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js +10 -0
  131. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js.map +5 -0
  132. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js.nft.json +1 -0
  133. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route_client-reference-manifest.js +3 -0
  134. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route/app-paths-manifest.json +3 -0
  135. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route/build-manifest.json +9 -0
  136. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route/server-reference-manifest.json +4 -0
  137. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js +9 -0
  138. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js.map +5 -0
  139. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js.nft.json +1 -0
  140. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route_client-reference-manifest.js +3 -0
  141. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route/app-paths-manifest.json +3 -0
  142. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route/build-manifest.json +9 -0
  143. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route/server-reference-manifest.json +4 -0
  144. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route.js +9 -0
  145. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route.js.map +5 -0
  146. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route.js.nft.json +1 -0
  147. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route_client-reference-manifest.js +3 -0
  148. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route/app-paths-manifest.json +3 -0
  149. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route/build-manifest.json +9 -0
  150. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route/server-reference-manifest.json +4 -0
  151. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js +10 -0
  152. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.map +5 -0
  153. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.nft.json +1 -0
  154. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route_client-reference-manifest.js +3 -0
  155. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route/app-paths-manifest.json +3 -0
  156. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route/build-manifest.json +9 -0
  157. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route/server-reference-manifest.json +4 -0
  158. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js +10 -0
  159. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.map +5 -0
  160. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.nft.json +1 -0
  161. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route_client-reference-manifest.js +3 -0
  162. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route/app-paths-manifest.json +3 -0
  163. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route/build-manifest.json +9 -0
  164. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route/server-reference-manifest.json +4 -0
  165. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js +9 -0
  166. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js.map +5 -0
  167. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js.nft.json +1 -0
  168. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route_client-reference-manifest.js +3 -0
  169. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route/app-paths-manifest.json +3 -0
  170. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route/build-manifest.json +9 -0
  171. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route/server-reference-manifest.json +4 -0
  172. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js +10 -0
  173. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js.map +5 -0
  174. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js.nft.json +1 -0
  175. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route_client-reference-manifest.js +3 -0
  176. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route/app-paths-manifest.json +3 -0
  177. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route/build-manifest.json +9 -0
  178. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route/server-reference-manifest.json +4 -0
  179. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js +9 -0
  180. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js.map +5 -0
  181. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js.nft.json +1 -0
  182. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route_client-reference-manifest.js +3 -0
  183. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route/app-paths-manifest.json +3 -0
  184. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route/build-manifest.json +9 -0
  185. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route/server-reference-manifest.json +4 -0
  186. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route.js +7 -0
  187. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route.js.map +5 -0
  188. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route.js.nft.json +1 -0
  189. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/stream/route_client-reference-manifest.js +3 -0
  190. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route/app-paths-manifest.json +3 -0
  191. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route/build-manifest.json +9 -0
  192. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route/server-reference-manifest.json +4 -0
  193. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js +10 -0
  194. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js.map +5 -0
  195. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js.nft.json +1 -0
  196. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route_client-reference-manifest.js +3 -0
  197. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route/app-paths-manifest.json +3 -0
  198. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route/build-manifest.json +9 -0
  199. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route/server-reference-manifest.json +4 -0
  200. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js +9 -0
  201. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js.map +5 -0
  202. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js.nft.json +1 -0
  203. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route_client-reference-manifest.js +3 -0
  204. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route/app-paths-manifest.json +3 -0
  205. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route/build-manifest.json +9 -0
  206. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route/server-reference-manifest.json +4 -0
  207. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route.js +9 -0
  208. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route.js.map +5 -0
  209. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route.js.nft.json +1 -0
  210. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route_client-reference-manifest.js +3 -0
  211. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route/app-paths-manifest.json +3 -0
  212. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route/build-manifest.json +9 -0
  213. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route/server-reference-manifest.json +4 -0
  214. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js +10 -0
  215. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js.map +5 -0
  216. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js.nft.json +1 -0
  217. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route_client-reference-manifest.js +3 -0
  218. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route/app-paths-manifest.json +3 -0
  219. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route/build-manifest.json +9 -0
  220. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route/server-reference-manifest.json +4 -0
  221. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route.js +9 -0
  222. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route.js.map +5 -0
  223. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route.js.nft.json +1 -0
  224. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route_client-reference-manifest.js +3 -0
  225. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route/app-paths-manifest.json +3 -0
  226. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route/build-manifest.json +9 -0
  227. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route/server-reference-manifest.json +4 -0
  228. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route.js +9 -0
  229. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route.js.map +5 -0
  230. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route.js.nft.json +1 -0
  231. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route_client-reference-manifest.js +3 -0
  232. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route/app-paths-manifest.json +3 -0
  233. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route/build-manifest.json +9 -0
  234. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route/server-reference-manifest.json +4 -0
  235. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route.js +8 -0
  236. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route.js.map +5 -0
  237. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route.js.nft.json +1 -0
  238. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route_client-reference-manifest.js +3 -0
  239. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route/app-paths-manifest.json +3 -0
  240. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route/build-manifest.json +9 -0
  241. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route/server-reference-manifest.json +4 -0
  242. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route.js +7 -0
  243. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route.js.map +5 -0
  244. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route.js.nft.json +1 -0
  245. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/route_client-reference-manifest.js +3 -0
  246. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route/app-paths-manifest.json +3 -0
  247. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route/build-manifest.json +9 -0
  248. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route/server-reference-manifest.json +4 -0
  249. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route.js +8 -0
  250. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route.js.map +5 -0
  251. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route.js.nft.json +1 -0
  252. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/docs/route_client-reference-manifest.js +3 -0
  253. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route/app-paths-manifest.json +3 -0
  254. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route/build-manifest.json +9 -0
  255. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route/server-reference-manifest.json +4 -0
  256. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js +8 -0
  257. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js.map +5 -0
  258. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js.nft.json +1 -0
  259. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route_client-reference-manifest.js +3 -0
  260. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route/app-paths-manifest.json +3 -0
  261. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route/build-manifest.json +9 -0
  262. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route/server-reference-manifest.json +4 -0
  263. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js +9 -0
  264. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js.map +5 -0
  265. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js.nft.json +1 -0
  266. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route_client-reference-manifest.js +3 -0
  267. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route/app-paths-manifest.json +3 -0
  268. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route/build-manifest.json +9 -0
  269. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route/server-reference-manifest.json +4 -0
  270. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js +9 -0
  271. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js.map +5 -0
  272. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js.nft.json +1 -0
  273. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route_client-reference-manifest.js +3 -0
  274. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route/app-paths-manifest.json +3 -0
  275. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route/build-manifest.json +9 -0
  276. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route/server-reference-manifest.json +4 -0
  277. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js +10 -0
  278. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js.map +5 -0
  279. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js.nft.json +1 -0
  280. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route_client-reference-manifest.js +3 -0
  281. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route/app-paths-manifest.json +3 -0
  282. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route/build-manifest.json +9 -0
  283. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route/server-reference-manifest.json +4 -0
  284. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js +10 -0
  285. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js.map +5 -0
  286. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js.nft.json +1 -0
  287. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route_client-reference-manifest.js +3 -0
  288. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route/app-paths-manifest.json +3 -0
  289. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route/build-manifest.json +9 -0
  290. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route/server-reference-manifest.json +4 -0
  291. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js +9 -0
  292. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js.map +5 -0
  293. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js.nft.json +1 -0
  294. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route_client-reference-manifest.js +3 -0
  295. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route/app-paths-manifest.json +3 -0
  296. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route/build-manifest.json +9 -0
  297. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route/server-reference-manifest.json +4 -0
  298. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js +9 -0
  299. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js.map +5 -0
  300. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js.nft.json +1 -0
  301. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route_client-reference-manifest.js +3 -0
  302. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route/app-paths-manifest.json +3 -0
  303. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route/build-manifest.json +9 -0
  304. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route/server-reference-manifest.json +4 -0
  305. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route.js +9 -0
  306. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route.js.map +5 -0
  307. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route.js.nft.json +1 -0
  308. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route_client-reference-manifest.js +3 -0
  309. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route/app-paths-manifest.json +3 -0
  310. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route/build-manifest.json +9 -0
  311. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route/server-reference-manifest.json +4 -0
  312. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js +9 -0
  313. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.map +5 -0
  314. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.nft.json +1 -0
  315. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route_client-reference-manifest.js +3 -0
  316. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route/app-paths-manifest.json +3 -0
  317. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route/build-manifest.json +9 -0
  318. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route/server-reference-manifest.json +4 -0
  319. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route.js +8 -0
  320. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route.js.map +5 -0
  321. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route.js.nft.json +1 -0
  322. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/openapi.json/route_client-reference-manifest.js +3 -0
  323. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route/app-paths-manifest.json +3 -0
  324. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route/build-manifest.json +9 -0
  325. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route/server-reference-manifest.json +4 -0
  326. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route.js +9 -0
  327. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route.js.map +5 -0
  328. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route.js.nft.json +1 -0
  329. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route_client-reference-manifest.js +3 -0
  330. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route/app-paths-manifest.json +3 -0
  331. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route/build-manifest.json +9 -0
  332. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route/server-reference-manifest.json +4 -0
  333. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js +9 -0
  334. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js.map +5 -0
  335. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js.nft.json +1 -0
  336. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route_client-reference-manifest.js +3 -0
  337. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route/app-paths-manifest.json +3 -0
  338. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route/build-manifest.json +9 -0
  339. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route/server-reference-manifest.json +4 -0
  340. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route.js +10 -0
  341. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route.js.map +5 -0
  342. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route.js.nft.json +1 -0
  343. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route_client-reference-manifest.js +3 -0
  344. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route/app-paths-manifest.json +3 -0
  345. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route/build-manifest.json +9 -0
  346. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route/server-reference-manifest.json +4 -0
  347. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route.js +10 -0
  348. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route.js.map +5 -0
  349. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route.js.nft.json +1 -0
  350. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route_client-reference-manifest.js +3 -0
  351. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route/app-paths-manifest.json +3 -0
  352. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route/build-manifest.json +9 -0
  353. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route/server-reference-manifest.json +4 -0
  354. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js +9 -0
  355. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js.map +5 -0
  356. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js.nft.json +1 -0
  357. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route_client-reference-manifest.js +3 -0
  358. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route/app-paths-manifest.json +3 -0
  359. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route/build-manifest.json +9 -0
  360. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route/server-reference-manifest.json +4 -0
  361. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route.js +9 -0
  362. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route.js.map +5 -0
  363. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route.js.nft.json +1 -0
  364. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route_client-reference-manifest.js +3 -0
  365. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route/app-paths-manifest.json +3 -0
  366. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route/build-manifest.json +9 -0
  367. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route/server-reference-manifest.json +4 -0
  368. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js +10 -0
  369. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js.map +5 -0
  370. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js.nft.json +1 -0
  371. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route_client-reference-manifest.js +3 -0
  372. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route/app-paths-manifest.json +3 -0
  373. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route/build-manifest.json +9 -0
  374. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route/server-reference-manifest.json +4 -0
  375. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js +10 -0
  376. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js.map +5 -0
  377. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js.nft.json +1 -0
  378. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route_client-reference-manifest.js +3 -0
  379. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route/app-paths-manifest.json +3 -0
  380. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route/build-manifest.json +9 -0
  381. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route/server-reference-manifest.json +4 -0
  382. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js +10 -0
  383. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js.map +5 -0
  384. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js.nft.json +1 -0
  385. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route_client-reference-manifest.js +3 -0
  386. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route/app-paths-manifest.json +3 -0
  387. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route/build-manifest.json +9 -0
  388. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route/server-reference-manifest.json +4 -0
  389. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route.js +10 -0
  390. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route.js.map +5 -0
  391. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route.js.nft.json +1 -0
  392. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route_client-reference-manifest.js +3 -0
  393. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route/app-paths-manifest.json +3 -0
  394. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route/build-manifest.json +9 -0
  395. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route/server-reference-manifest.json +4 -0
  396. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js +9 -0
  397. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js.map +5 -0
  398. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js.nft.json +1 -0
  399. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route_client-reference-manifest.js +3 -0
  400. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route/app-paths-manifest.json +3 -0
  401. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route/build-manifest.json +9 -0
  402. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route/server-reference-manifest.json +4 -0
  403. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js +10 -0
  404. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js.map +5 -0
  405. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js.nft.json +1 -0
  406. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route_client-reference-manifest.js +3 -0
  407. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route/app-paths-manifest.json +3 -0
  408. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route/build-manifest.json +9 -0
  409. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route/server-reference-manifest.json +4 -0
  410. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js +9 -0
  411. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js.map +5 -0
  412. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js.nft.json +1 -0
  413. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route_client-reference-manifest.js +3 -0
  414. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/app-paths-manifest.json +3 -0
  415. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/build-manifest.json +17 -0
  416. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/next-font-manifest.json +13 -0
  417. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/react-loadable-manifest.json +1 -0
  418. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/server-reference-manifest.json +17 -0
  419. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js +17 -0
  420. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.map +5 -0
  421. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -0
  422. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +3 -0
  423. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/app-paths-manifest.json +3 -0
  424. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/build-manifest.json +17 -0
  425. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/next-font-manifest.json +13 -0
  426. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/react-loadable-manifest.json +1 -0
  427. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/server-reference-manifest.json +149 -0
  428. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js +17 -0
  429. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.map +5 -0
  430. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -0
  431. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +3 -0
  432. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route/app-paths-manifest.json +3 -0
  433. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route/build-manifest.json +9 -0
  434. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route/server-reference-manifest.json +4 -0
  435. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js +9 -0
  436. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js.map +5 -0
  437. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js.nft.json +1 -0
  438. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route_client-reference-manifest.js +3 -0
  439. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route/app-paths-manifest.json +3 -0
  440. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route/build-manifest.json +9 -0
  441. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route/server-reference-manifest.json +4 -0
  442. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route.js +9 -0
  443. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route.js.map +5 -0
  444. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route.js.nft.json +1 -0
  445. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route_client-reference-manifest.js +3 -0
  446. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page/app-paths-manifest.json +3 -0
  447. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page/build-manifest.json +17 -0
  448. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page/next-font-manifest.json +13 -0
  449. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page/react-loadable-manifest.json +1 -0
  450. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page/server-reference-manifest.json +4 -0
  451. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page.js +16 -0
  452. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page.js.map +5 -0
  453. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page.js.nft.json +1 -0
  454. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page_client-reference-manifest.js +3 -0
  455. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/app-paths-manifest.json +3 -0
  456. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/build-manifest.json +17 -0
  457. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/next-font-manifest.json +13 -0
  458. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/react-loadable-manifest.json +1 -0
  459. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/server-reference-manifest.json +149 -0
  460. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js +17 -0
  461. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.map +5 -0
  462. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -0
  463. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +3 -0
  464. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/app-paths-manifest.json +3 -0
  465. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/build-manifest.json +17 -0
  466. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/next-font-manifest.json +13 -0
  467. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/react-loadable-manifest.json +1 -0
  468. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/server-reference-manifest.json +101 -0
  469. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js +17 -0
  470. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.map +5 -0
  471. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -0
  472. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +3 -0
  473. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page/app-paths-manifest.json +3 -0
  474. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page/build-manifest.json +17 -0
  475. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page/next-font-manifest.json +13 -0
  476. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page/react-loadable-manifest.json +1 -0
  477. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page/server-reference-manifest.json +4 -0
  478. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js +16 -0
  479. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.map +5 -0
  480. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -0
  481. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +3 -0
  482. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page/app-paths-manifest.json +3 -0
  483. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page/build-manifest.json +17 -0
  484. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page/next-font-manifest.json +13 -0
  485. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page/react-loadable-manifest.json +1 -0
  486. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page/server-reference-manifest.json +4 -0
  487. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js +16 -0
  488. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js.map +5 -0
  489. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js.nft.json +1 -0
  490. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page_client-reference-manifest.js +3 -0
  491. package/runtime/hub/apps/hub/.next/server/app/[...path]/route/app-paths-manifest.json +3 -0
  492. package/runtime/hub/apps/hub/.next/server/app/[...path]/route/build-manifest.json +9 -0
  493. package/runtime/hub/apps/hub/.next/server/app/[...path]/route/server-reference-manifest.json +4 -0
  494. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js +13 -0
  495. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js.map +5 -0
  496. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js.nft.json +1 -0
  497. package/runtime/hub/apps/hub/.next/server/app/[...path]/route_client-reference-manifest.js +3 -0
  498. package/runtime/hub/apps/hub/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  499. package/runtime/hub/apps/hub/.next/server/app/_global-error/page/build-manifest.json +17 -0
  500. package/runtime/hub/apps/hub/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  501. package/runtime/hub/apps/hub/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  502. package/runtime/hub/apps/hub/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  503. package/runtime/hub/apps/hub/.next/server/app/_global-error/page.js +10 -0
  504. package/runtime/hub/apps/hub/.next/server/app/_global-error/page.js.map +5 -0
  505. package/runtime/hub/apps/hub/.next/server/app/_global-error/page.js.nft.json +1 -0
  506. package/runtime/hub/apps/hub/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  507. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -0
  508. package/runtime/hub/apps/hub/.next/server/app/_global-error.meta +15 -0
  509. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +14 -0
  510. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
  511. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  512. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
  513. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
  514. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  515. package/runtime/hub/apps/hub/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  516. package/runtime/hub/apps/hub/.next/server/app/_not-found/page/build-manifest.json +17 -0
  517. package/runtime/hub/apps/hub/.next/server/app/_not-found/page/next-font-manifest.json +13 -0
  518. package/runtime/hub/apps/hub/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  519. package/runtime/hub/apps/hub/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  520. package/runtime/hub/apps/hub/.next/server/app/_not-found/page.js +13 -0
  521. package/runtime/hub/apps/hub/.next/server/app/_not-found/page.js.map +5 -0
  522. package/runtime/hub/apps/hub/.next/server/app/_not-found/page.js.nft.json +1 -0
  523. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  524. package/runtime/hub/apps/hub/.next/server/app-paths-manifest.json +68 -0
  525. package/runtime/hub/apps/hub/.next/server/chunks/0-fj_better-auth_dist_adapters_kysely-adapter_index_mjs_0btft52._.js +3 -0
  526. package/runtime/hub/apps/hub/.next/server/chunks/01te_@better-auth_kysely-adapter_dist_0jw_ngm._.js +3 -0
  527. package/runtime/hub/apps/hub/.next/server/chunks/01te_@better-auth_kysely-adapter_dist_0z6cvsk._.js +3 -0
  528. package/runtime/hub/apps/hub/.next/server/chunks/01te_@better-auth_kysely-adapter_dist_210bxd8._.js +3 -0
  529. package/runtime/hub/apps/hub/.next/server/chunks/01te_@better-auth_kysely-adapter_dist_index_mjs_0h-j5xt._.js +4 -0
  530. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(auth)_api_auth_[___all]_route_actions_1agi0ag.js +3 -0
  531. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_agents_route_actions_086j7ku.js +3 -0
  532. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_boxes_route_actions_1ggp_5o.js +3 -0
  533. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_custody_route_actions_09f493i.js +3 -0
  534. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_health_route_actions_017gnzg.js +3 -0
  535. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_hosts_route_actions_0b_404_.js +3 -0
  536. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_projects_route_actions_04w8ozk.js +3 -0
  537. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_prune_route_actions_1hpttqf.js +3 -0
  538. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_system_route_actions_1-oi6mp.js +3 -0
  539. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_boxes_[id]_vnc_route_actions_1cy1392.js +3 -0
  540. package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_boxes_[id]_web_route_actions_0d77wbq.js +3 -0
  541. package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_projects_[id]_create-preflight_route_actions_1fz_8h-.js +3 -0
  542. package/runtime/hub/apps/hub/.next/server/chunks/09mp_@better-auth_memory-adapter_dist_index_mjs_0ti_30h._.js +3 -0
  543. package/runtime/hub/apps/hub/.next/server/chunks/09xn_next_0tn6frk._.js +6 -0
  544. package/runtime/hub/apps/hub/.next/server/chunks/09xn_next_dist_esm_build_templates_app-route_0qd2whc.js +461 -0
  545. package/runtime/hub/apps/hub/.next/server/chunks/0d-b_next_dist_server_app-render_after-task-async-storage_external_0-exn7p.js +3 -0
  546. package/runtime/hub/apps/hub/.next/server/chunks/0m4a_kysely_dist_095p8vu._.js +3 -0
  547. package/runtime/hub/apps/hub/.next/server/chunks/0m4a_kysely_dist_1skbhvx._.js +3 -0
  548. package/runtime/hub/apps/hub/.next/server/chunks/0sj1_@opentelemetry_api_build_esm_index_0xy-j06.js +3 -0
  549. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_jobs_[id]_logs_route_actions_01aqmf3.js +3 -0
  550. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_approvals_route_actions_1vwxs9a.js +3 -0
  551. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_boxes_[id]_route_actions_01510xg.js +3 -0
  552. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_checkpoints_route_actions_0f5ys2e.js +3 -0
  553. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_jobs_[id]_route_actions_0oc630h.js +3 -0
  554. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_open-targets_route_actions_1z-vd4m.js +3 -0
  555. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_openapi_json_route_actions_1lunxjz.js +3 -0
  556. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_providers_route_actions_1666ry8.js +3 -0
  557. package/runtime/hub/apps/hub/.next/server/chunks/0web_next-internal_server_app_(dashboard)_api_v1_hosts_[alias]_route_actions_0swypy5.js +3 -0
  558. package/runtime/hub/apps/hub/.next/server/chunks/0web_next-internal_server_app_(dashboard)_api_v1_projects_[id]_route_actions_1beikpx.js +3 -0
  559. package/runtime/hub/apps/hub/.next/server/chunks/151__@better-auth_core_dist_0ecdp_3._.js +5 -0
  560. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_approvals_[id]_answer_route_actions_1cq4z5x.js +3 -0
  561. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_[action]_route_actions_0cib0ju.js +3 -0
  562. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_agent_route_actions_108dlk0.js +3 -0
  563. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_backup_route_actions_1q8ne87.js +3 -0
  564. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_branches_route_actions_15snjix.js +3 -0
  565. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_checkpoint_route_actions_1jam6-g.js +3 -0
  566. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_clone_route_actions_1uyw4vk.js +3 -0
  567. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_git_[op]_route_actions_116a41w.js +3 -0
  568. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_git_route_actions_1a-q-i2.js +3 -0
  569. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_logs_route_actions_0uebl-z.js +3 -0
  570. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_open_route_actions_1agwl8h.js +3 -0
  571. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_rename_route_actions_0mf3a9p.js +3 -0
  572. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_services_restart_route_actions_1yvsbmm.js +3 -0
  573. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_services_route_actions_1uvv36v.js +3 -0
  574. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_stream_route_actions_10rv7cx.js +3 -0
  575. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_upload_route_actions_1sgpja3.js +3 -0
  576. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_vnc_route_actions_10y_e83.js +3 -0
  577. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_web_route_actions_1i6vjni.js +3 -0
  578. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_custody_[___path]_route_actions_0n8gxh6.js +3 -0
  579. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_custody_blob_[___path]_route_actions_0pblwu0.js +3 -0
  580. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_hosts_[alias]_bake_route_actions_1-_pu3n.js +3 -0
  581. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_jobs_[id]_login-code_route_actions_1825jmw.js +3 -0
  582. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_jobs_[id]_logs_route_actions_0msc0_w.js +3 -0
  583. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_projects_[id]_bots_route_actions_1ihq5kp.js +3 -0
  584. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_projects_[id]_branches_route_actions_07i0vrw.js +3 -0
  585. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_projects_[id]_restore_route_actions_02k7clv.js +3 -0
  586. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_projects_[id]_seed_route_actions_0_4p3gs.js +3 -0
  587. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_providers_[id]_credentials_route_actions_1cds5re.js +3 -0
  588. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_providers_[id]_prepare_route_actions_079fbng.js +3 -0
  589. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_providers_[id]_size-check_route_actions_0zgoguy.js +3 -0
  590. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_0gvv4ct._.js +4 -0
  591. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_0pn9b49._.js +4 -0
  592. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_145bz8z._.js +9 -0
  593. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_14y990b._.js +3 -0
  594. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_1nl4l3q._.js +3 -0
  595. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_sqlite-proxy_index_05v_j5r.js +15 -0
  596. package/runtime/hub/apps/hub/.next/server/chunks/[externals]__14ecq5v._.js +3 -0
  597. package/runtime/hub/apps/hub/.next/server/chunks/[externals]_pg_15jfwkh._.js +3 -0
  598. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-c97gb._.js +3 -0
  599. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__008zqfx._.js +3 -0
  600. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00bupbc._.js +3 -0
  601. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00o_3sf._.js +3 -0
  602. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01fy5q0._.js +3 -0
  603. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__028ifqb._.js +3 -0
  604. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02s5f9s._.js +3 -0
  605. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03fxkqp._.js +3 -0
  606. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04b75a4._.js +3 -0
  607. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05_wgfq._.js +3 -0
  608. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05uinnp._.js +3 -0
  609. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__074mxl5._.js +3 -0
  610. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08jg8w8._.js +3 -0
  611. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08xwxyo._.js +3 -0
  612. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09059m-._.js +3 -0
  613. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__092y7_z._.js +3 -0
  614. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_mog_h._.js +3 -0
  615. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0azx8z8._.js +3 -0
  616. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bmro0b._.js +3 -0
  617. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bv_k0d._.js +3 -0
  618. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c1o4qr._.js +3 -0
  619. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c5mzbr._.js +3 -0
  620. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cdoz9i._.js +3 -0
  621. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cmu4sk._.js +3 -0
  622. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cxjxz0._.js +3 -0
  623. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +105 -0
  624. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d34880._.js +3 -0
  625. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dm5oqm._.js +3 -0
  626. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dy5g2k._.js +3 -0
  627. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0e1uaxg._.js +3 -0
  628. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0engd-e._.js +3 -0
  629. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ets4cd._.js +3 -0
  630. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ewh0df._.js +3 -0
  631. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f2u0ul._.js +3 -0
  632. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f9p_4f._.js +3 -0
  633. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f_4fiu._.js +3 -0
  634. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f_jmq2._.js +3 -0
  635. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fksz_r._.js +3 -0
  636. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gaknnd._.js +3 -0
  637. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gym-rp._.js +3 -0
  638. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0h181r5._.js +3 -0
  639. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0hhlb2_._.js +3 -0
  640. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0i9phow._.js +3 -0
  641. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ikyoac._.js +3 -0
  642. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0j72bti._.js +3 -0
  643. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jb371p._.js +3 -0
  644. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kcw8t0._.js +3 -0
  645. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kdt9-i._.js +3 -0
  646. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0l27vs0._.js +3 -0
  647. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0m5woxc._.js +3 -0
  648. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nndlre._.js +3 -0
  649. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o3sjtx._.js +3 -0
  650. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o4rocd._.js +3 -0
  651. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0onk5r0._.js +3 -0
  652. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qde3vr._.js +3 -0
  653. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ry8baf._.js +3 -0
  654. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0s4vdow._.js +3 -0
  655. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0se1fty._.js +3 -0
  656. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sgjn2j._.js +3 -0
  657. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0spnud2._.js +3 -0
  658. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0st6oln._.js +3 -0
  659. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sz5p6g._.js +3 -0
  660. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0t0p64l._.js +3 -0
  661. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0t4qmv-._.js +3 -0
  662. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0tv5sah._.js +3 -0
  663. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ve_tqz._.js +3 -0
  664. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vxaujy._.js +6 -0
  665. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0w38hd_._.js +6 -0
  666. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wo4sqj._.js +3 -0
  667. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xl1-w6._.js +3 -0
  668. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yct1tu._.js +3 -0
  669. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yg67t0._.js +3 -0
  670. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0z2lkh_._.js +3 -0
  671. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zi14f-._.js +3 -0
  672. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-8sj4i._.js +3 -0
  673. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-mtsr6._.js +3 -0
  674. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10yfcvu._.js +3 -0
  675. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11s1mrd._.js +3 -0
  676. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11xey3v._.js +3 -0
  677. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12b2kuv._.js +3 -0
  678. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12gbq5m._.js +3 -0
  679. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12p0ia1._.js +3 -0
  680. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__139ha9-._.js +3 -0
  681. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13vl4-h._.js +3 -0
  682. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__153b7kv._.js +3 -0
  683. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__157kmse._.js +3 -0
  684. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16695dw._.js +3 -0
  685. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16o0ij7._.js +3 -0
  686. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__175lucf._.js +3 -0
  687. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17df14g._.js +3 -0
  688. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17jzikc._.js +3 -0
  689. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18pwzaw._.js +3 -0
  690. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18xpvkc._.js +3 -0
  691. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__198-esg._.js +3 -0
  692. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19grunx._.js +3 -0
  693. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_cbcl1._.js +3 -0
  694. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1abclgc._.js +3 -0
  695. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1aboxh4._.js +3 -0
  696. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c0ex8m._.js +3 -0
  697. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c1rcl-._.js +3 -0
  698. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c9f4uu._.js +3 -0
  699. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cggpv7._.js +3 -0
  700. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ci8hc2._.js +3 -0
  701. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cpr4qy._.js +3 -0
  702. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d75vsx._.js +6 -0
  703. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1diw0ei._.js +3 -0
  704. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dp2exz._.js +3 -0
  705. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1epnstn._.js +3 -0
  706. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g5wnt2._.js +3 -0
  707. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g9v7bq._.js +3 -0
  708. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h4akof._.js +3 -0
  709. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h_59cs._.js +3 -0
  710. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hlugb4._.js +3 -0
  711. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hux-70._.js +3 -0
  712. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1j6clag._.js +3 -0
  713. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1khvg39._.js +3 -0
  714. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m36v6k._.js +3 -0
  715. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1me3irq._.js +3 -0
  716. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mt32fu._.js +3 -0
  717. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1n1_2tw._.js +3 -0
  718. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ob9yn9._.js +3 -0
  719. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pe6m2l._.js +3 -0
  720. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pk410t._.js +3 -0
  721. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q6xrlt._.js +6 -0
  722. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qt1i63._.js +3 -0
  723. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rjs_x0._.js +3 -0
  724. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rxud0j._.js +3 -0
  725. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1s5app0._.js +3 -0
  726. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1slo4q_._.js +3 -0
  727. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ta1gr1._.js +3 -0
  728. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1tfkm3m._.js +3 -0
  729. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1twtnwr._.js +3 -0
  730. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1uch-60._.js +3 -0
  731. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1v9_her._.js +4 -0
  732. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1vnnuo1._.js +3 -0
  733. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wi5roz._.js +3 -0
  734. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1y9wbb2._.js +3 -0
  735. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ysubik._.js +3 -0
  736. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1z7mgd6._.js +3 -0
  737. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zml9me._.js +3 -0
  738. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zrf_a6._.js +3 -0
  739. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20jyxyo._.js +6 -0
  740. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20opvks._.js +3 -0
  741. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20ybhif._.js +3 -0
  742. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20zl5fr._.js +3 -0
  743. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__212dyoi._.js +3 -0
  744. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__218oup-._.js +3 -0
  745. package/runtime/hub/apps/hub/.next/server/chunks/[turbopack]_runtime.js +903 -0
  746. package/runtime/hub/apps/hub/.next/server/chunks/_0907rw0._.js +27 -0
  747. package/runtime/hub/apps/hub/.next/server/chunks/_0mcxq5g._.js +3 -0
  748. package/runtime/hub/apps/hub/.next/server/chunks/_0vg6gvw._.js +79 -0
  749. package/runtime/hub/apps/hub/.next/server/chunks/_0zfb0rb._.js +4 -0
  750. package/runtime/hub/apps/hub/.next/server/chunks/_1o5p4w_._.js +4 -0
  751. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub__next-internal_server_app_(dashboard)_api_events_route_actions_17s9lxs.js +3 -0
  752. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub__next-internal_server_app_(dashboard)_api_v1_docs_route_actions_0d-s_oo.js +3 -0
  753. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub__next-internal_server_app_(dashboard)_api_v1_jobs_route_actions_20qqrdq.js +3 -0
  754. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub__next-internal_server_app_[___path]_route_actions_1hdraye.js +3 -0
  755. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_openapi_ts_1yokmzt._.js +14 -0
  756. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_validate_ts_16dhbzz._.js +3 -0
  757. package/runtime/hub/apps/hub/.next/server/chunks/packages_agent-registry_dist_index_1h1jlup.js +3 -0
  758. package/runtime/hub/apps/hub/.next/server/chunks/packages_agent-registry_dist_index_1ze3mqq.js +107 -0
  759. package/runtime/hub/apps/hub/.next/server/chunks/packages_relay_dist_control-plane_03a-9aj.js +117 -0
  760. package/runtime/hub/apps/hub/.next/server/chunks/packages_sandbox-core_dist_index_12otajh.js +3 -0
  761. package/runtime/hub/apps/hub/.next/server/chunks/ssr/044u_hub__next-internal_server_app_(dashboard)_projects_[id]_page_actions_15f56np.js +3 -0
  762. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_1vemgz6._.js +6 -0
  763. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_0xy-j7z._.js +3 -0
  764. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_1uccfbf._.js +6 -0
  765. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_client_components_20xzgz2._.js +3 -0
  766. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_client_components_builtin_forbidden_1x5yo9-.js +3 -0
  767. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_client_components_builtin_global-error_14poel6.js +3 -0
  768. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_client_components_builtin_unauthorized_0vj9qge.js +3 -0
  769. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_010858m.js +4 -0
  770. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_04zwxnx.js +4 -0
  771. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_06exuc7.js +4 -0
  772. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2ldrt.js +4 -0
  773. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2tzep.js +4 -0
  774. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_116nh32.js +4 -0
  775. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_11dyjcb.js +4 -0
  776. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_12iql7k.js +4 -0
  777. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_1_4knli.js +4 -0
  778. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_1hcmkyz.js +4 -0
  779. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_0ebuy19._.js +3 -0
  780. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_0wxhi0-._.js +3 -0
  781. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_0xe4ick._.js +9 -0
  782. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_14oaveu._.js +4 -0
  783. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_sqlite-proxy_index_1a6wfdg.js +15 -0
  784. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[externals]_pg_15jfwkh._.js +3 -0
  785. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__03-x9xy._.js +19 -0
  786. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__08-1wwu._.js +3 -0
  787. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0c9mbcn._.js +3 -0
  788. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0gdfxj4._.js +3 -0
  789. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0kc-hwp._.js +3 -0
  790. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0lu73p6._.js +3 -0
  791. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0m1akem._.js +3 -0
  792. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0m1yf2b._.js +4 -0
  793. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0qmliyt._.js +33 -0
  794. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__10bfmwi._.js +3 -0
  795. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__140qlw0._.js +3 -0
  796. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__18qvdzb._.js +33 -0
  797. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1c1x9zr._.js +3 -0
  798. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1jqga8h._.js +3 -0
  799. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1l2urlw._.js +3 -0
  800. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1o7pwtt._.js +3 -0
  801. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1ogrfbc._.js +3 -0
  802. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1w78ucx._.js +3 -0
  803. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1z_fv26._.js +3 -0
  804. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
  805. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_053q38y._.js +3 -0
  806. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0kpdmm-._.js +3 -0
  807. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0kzd494._.js +3 -0
  808. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ozyjt1._.js +21 -0
  809. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r2xlss._.js +27 -0
  810. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_14-qzbg._.js +79 -0
  811. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_1hrzkwr._.js +3 -0
  812. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_202__6o._.js +3 -0
  813. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0glk9of._.js +3 -0
  814. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0i637dy._.js +3 -0
  815. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0j5-o0f._.js +3 -0
  816. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_1-hoscg._.js +3 -0
  817. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_111ly04._.js +3 -0
  818. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_17myqp5._.js +3 -0
  819. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_1ak245a._.js +3 -0
  820. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(auth)_signin_page_actions_1vmiwl7.js +3 -0
  821. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_approvals_page_actions_1mi0bpn.js +3 -0
  822. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_boxes_[id]_page_actions_0k7kgn2.js +3 -0
  823. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_custody_page_actions_1l3eye7.js +3 -0
  824. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_page_actions_1t3u0xy.js +3 -0
  825. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_settings_page_actions_0ti7gxm.js +3 -0
  826. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_system_page_actions_15ysdm5.js +3 -0
  827. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app__global-error_page_actions_1ofuxm1.js +3 -0
  828. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app__not-found_page_actions_1fmdkci.js +3 -0
  829. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +3 -0
  830. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_components_box-table_tsx_0a9pyn_._.js +3 -0
  831. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_page_tsx_0o2z21l._.js +3 -0
  832. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_settings_page_tsx_0hv6n82._.js +3 -0
  833. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_system_page_tsx_0af_pu3._.js +3 -0
  834. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_lib_auth_client_ts_1uxjxr_._.js +3 -0
  835. package/runtime/hub/apps/hub/.next/server/chunks/ssr/node_modules__pnpm_04qfi10._.js +3 -0
  836. package/runtime/hub/apps/hub/.next/server/chunks/ssr/node_modules__pnpm_0kvuy0s._.js +33 -0
  837. package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_agent-registry_dist_index_0z476w4.js +107 -0
  838. package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_agent-registry_dist_index_124y82q.js +3 -0
  839. package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_relay_dist_control-plane_0ve-wz4.js +57 -0
  840. package/runtime/hub/apps/hub/.next/server/functions-config-manifest.json +70 -0
  841. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +21 -0
  842. package/runtime/hub/apps/hub/.next/server/middleware-manifest.json +6 -0
  843. package/runtime/hub/apps/hub/.next/server/middleware.js +5 -0
  844. package/runtime/hub/apps/hub/.next/server/next-font-manifest.js +1 -0
  845. package/runtime/hub/apps/hub/.next/server/next-font-manifest.json +61 -0
  846. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -0
  847. package/runtime/hub/apps/hub/.next/server/pages-manifest.json +3 -0
  848. package/runtime/hub/apps/hub/.next/server/prefetch-hints.json +1 -0
  849. package/runtime/hub/apps/hub/.next/server/server-reference-manifest.js +1 -0
  850. package/runtime/hub/apps/hub/.next/server/server-reference-manifest.json +312 -0
  851. package/runtime/hub/apps/hub/.next/static/cXSQmUIAB12u7BgxO4JPy/_buildManifest.js +11 -0
  852. package/runtime/hub/apps/hub/.next/static/cXSQmUIAB12u7BgxO4JPy/_clientMiddlewareManifest.js +6 -0
  853. package/runtime/hub/apps/hub/.next/static/cXSQmUIAB12u7BgxO4JPy/_ssgManifest.js +1 -0
  854. package/runtime/hub/apps/hub/.next/static/chunks/05dzzanyo20wx.js +1 -0
  855. package/runtime/hub/apps/hub/.next/static/chunks/06i3hqhwldtiq.js +1 -0
  856. package/runtime/hub/apps/hub/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  857. package/runtime/hub/apps/hub/.next/static/chunks/0o-ash0w8ow06.js +1 -0
  858. package/runtime/hub/apps/hub/.next/static/chunks/0ptag81psa0nj.js +1 -0
  859. package/runtime/hub/apps/hub/.next/static/chunks/0tmbn9jje8ulx.js +1 -0
  860. package/runtime/hub/apps/hub/.next/static/chunks/13z_vo4y7za0y.js +1 -0
  861. package/runtime/hub/apps/hub/.next/static/chunks/1ct_kocalf1mw.js +1 -0
  862. package/runtime/hub/apps/hub/.next/static/chunks/22fqc0ktzjo6x.js +1 -0
  863. package/runtime/hub/apps/hub/.next/static/chunks/22ic_47gmsbhf.js +1 -0
  864. package/runtime/hub/apps/hub/.next/static/chunks/26ef4lcj-7-li.js +1 -0
  865. package/runtime/hub/apps/hub/.next/static/chunks/27t0b0mja1zpt.js +1 -0
  866. package/runtime/hub/apps/hub/.next/static/chunks/2hxatwkh8fha9.js +1 -0
  867. package/runtime/hub/apps/hub/.next/static/chunks/2ozcn3ku69ymf.js +1 -0
  868. package/runtime/hub/apps/hub/.next/static/chunks/2p2wxpcnygx0j.js +1 -0
  869. package/runtime/hub/apps/hub/.next/static/chunks/2vek3z0bw0bke.js +2 -0
  870. package/runtime/hub/apps/hub/.next/static/chunks/2x7nfpuaaba_a.js +1 -0
  871. package/runtime/hub/apps/hub/.next/static/chunks/31e1wjin30i__.css +3 -0
  872. package/runtime/hub/apps/hub/.next/static/chunks/38dg0m6sbz8hx.js +1 -0
  873. package/runtime/hub/apps/hub/.next/static/chunks/3c49t4evjq8hf.js +1 -0
  874. package/runtime/hub/apps/hub/.next/static/chunks/3o736nio6056k.js +31 -0
  875. package/runtime/hub/apps/hub/.next/static/chunks/3oc6y_gbi9g75.js +4 -0
  876. package/runtime/hub/apps/hub/.next/static/chunks/3pwnhuz8q-ch4.js +1 -0
  877. package/runtime/hub/apps/hub/.next/static/chunks/turbopack-25un8yxrkvr61.js +1 -0
  878. package/runtime/hub/apps/hub/.next/static/media/02263ebadd758ea4-s.29yke99gs9qpn.woff2 +0 -0
  879. package/runtime/hub/apps/hub/.next/static/media/03fc1b4a8d284b5e-s.p.0wiir8udbzjvx.woff2 +0 -0
  880. package/runtime/hub/apps/hub/.next/static/media/1a69062cfe6f77f8-s.0o-3_g79811ob.woff2 +0 -0
  881. package/runtime/hub/apps/hub/.next/static/media/1bcd0e671759a44c-s.2qt3tdwt-y9x_.woff2 +0 -0
  882. package/runtime/hub/apps/hub/.next/static/media/23b7a97ae3b5c134-s.p.226pwps5o-gq_.woff2 +0 -0
  883. package/runtime/hub/apps/hub/.next/static/media/2e95a7d252b9825a-s.15orukf5wyxb5.woff2 +0 -0
  884. package/runtime/hub/apps/hub/.next/static/media/2fe89d53234c61d4-s.1u30mmyq6lnsd.woff2 +0 -0
  885. package/runtime/hub/apps/hub/.next/static/media/57215795b8570f5c-s.2rixgazldzomk.woff2 +0 -0
  886. package/runtime/hub/apps/hub/.next/static/media/59b15b4bcd7b1eb5-s.2vemzm0itqzfy.woff2 +0 -0
  887. package/runtime/hub/apps/hub/.next/static/media/5e05ae5b48faa55e-s.1yd4_i3e35931.woff2 +0 -0
  888. package/runtime/hub/apps/hub/.next/static/media/68757d6cddeff913-s.1i-sca43-qwng.woff2 +0 -0
  889. package/runtime/hub/apps/hub/.next/static/media/6ff74e33ebd7bca3-s.352ti9pm7m6qh.woff2 +0 -0
  890. package/runtime/hub/apps/hub/.next/static/media/7fea77d1d19108bf-s.2y65deuc30pmy.woff2 +0 -0
  891. package/runtime/hub/apps/hub/.next/static/media/90c51ce8fb754fe8-s.02z5rrbg5nt92.woff2 +0 -0
  892. package/runtime/hub/apps/hub/.next/static/media/99e609270109b47d-s.p.40sczeszzbjw1.woff2 +0 -0
  893. package/runtime/hub/apps/hub/.next/static/media/9a4838fcda0d1bca-s.0ngr-xkgqz1kf.woff2 +0 -0
  894. package/runtime/hub/apps/hub/.next/static/media/a7afbb44bec2bb18-s.1qc6dx89jd2qv.woff2 +0 -0
  895. package/runtime/hub/apps/hub/.next/static/media/e15f58668ad64cb8-s.3cvcemwuzoywn.woff2 +0 -0
  896. package/runtime/hub/apps/hub/.next/static/media/e390973e931a41c5-s.0rgnxg2b64rzs.woff2 +0 -0
  897. package/runtime/hub/apps/hub/.next/static/media/e532fa1b9921e1cd-s.3cb5lpr2l6xud.woff2 +0 -0
  898. package/runtime/hub/apps/hub/.next/static/media/effe91970fc4db64-s.p.0oace-s_gkfks.woff2 +0 -0
  899. package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -0
  900. package/runtime/vercel/agentbox-vnc-start +7 -4
  901. /package/dist/{_cloud-attach-CGH4ETV4.js.map → _cloud-attach-N3JJD7JF.js.map} +0 -0
  902. /package/dist/{chunk-XR4DJ5CE.js.map → chunk-2756BRPK.js.map} +0 -0
  903. /package/dist/{chunk-XAN5OA2G.js.map → chunk-3S5RZCIG.js.map} +0 -0
  904. /package/dist/{chunk-AHGKZ4XT.js.map → chunk-3T4CPP3U.js.map} +0 -0
  905. /package/dist/{chunk-T7HSUEJ2.js.map → chunk-EK32GLP5.js.map} +0 -0
  906. /package/dist/{chunk-AVA37UUL.js.map → chunk-FDHOIH3V.js.map} +0 -0
  907. /package/dist/{chunk-XGMVKF4D.js.map → chunk-FUJRTZBN.js.map} +0 -0
  908. /package/dist/{chunk-7B5UQ4TZ.js.map → chunk-LFN6QCM6.js.map} +0 -0
  909. /package/dist/{chunk-EE6QYX7K.js.map → chunk-RBEELJCJ.js.map} +0 -0
  910. /package/dist/{chunk-CQSO43K2.js.map → chunk-S3LDXOIT.js.map} +0 -0
  911. /package/dist/{control-plane-RVOT72RR.js.map → control-plane-54U2RAMT.js.map} +0 -0
  912. /package/dist/{deploy-hetzner-XWLX4A27.js.map → deploy-hetzner-X6WUZPPJ.js.map} +0 -0
  913. /package/dist/{hub-WELYMA4S.js.map → hub-PITRE4LQ.js.map} +0 -0
  914. /package/dist/{hub-docker-target-FZEG42LK.js.map → hub-docker-target-JHOIAOIF.js.map} +0 -0
  915. /package/dist/{prepare-SO67S5YF.js.map → prepare-WAIDHKO3.js.map} +0 -0
  916. /package/dist/{prepared-custody-SJSYXY64.js.map → prepared-custody-ALF6YHQC.js.map} +0 -0
  917. /package/dist/{publish-credentials-WLHZK4BZ.js.map → publish-credentials-GKZGTWEI.js.map} +0 -0
  918. /package/dist/{remote-docker-share-IHADSWLQ.js.map → remote-docker-share-YWI2UXGS.js.map} +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35594,e=>{"use strict";var r=e.i(1262),t=e.i(65232),n=e.i(8536);e.s(["Stat",0,function({k:e,v:n,mono:s,icon:a}){return(0,r.jsxs)("div",{className:"px-4.5 p-4",children:[(0,r.jsx)("div",{className:"mb-1.5 font-mono text-[10.5px] uppercase tracking-[.06em] text-[#a4a9b0]",children:e}),(0,r.jsxs)("div",{className:(0,t.cn)("flex items-center gap-2 font-semibold tracking-[-0.01em]",s?"font-mono text-sm font-medium":"text-base"),children:[a?(0,r.jsx)(a,{className:"size-[15px] text-muted-foreground"}):null,n]})]})},"StatGrid",0,function({children:e}){return(0,r.jsx)(n.Card,{className:"grid grid-cols-[repeat(auto-fit,minmax(140px,1fr))] divide-x divide-border/60 overflow-hidden",children:e})}])},8536,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Card",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("rounded-xl border border-border bg-card text-card-foreground",e),...n})},"CardContent",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("p-5 pt-0",e),...n})},"CardDescription",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[12.5px] text-muted-foreground",e),...n})},"CardHeader",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("flex flex-col space-y-1 p-5",e),...n})},"CardTitle",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[15px] font-semibold leading-none tracking-tight",e),...n})}])},33789,51497,1485,e=>{"use strict";var r=e.i(1262),t=e.i(54129);function n(e){let r=Math.floor((Date.now()-e)/1e3);if(r<60)return r+"s ago";let t=Math.floor(r/60);if(t<60)return t+"m ago";let n=Math.floor(t/60);return n<24?n+"h ago":Math.floor(n/24)+"d ago"}e.s(["fmtAgo",0,n,"fmtBytes",0,function(e){return e<1024?e+"B":e<1048576?(e/1024).toFixed(1)+"KB":(e/1048576).toFixed(1)+"MB"}],51497),e.s(["Ago",0,function({ms:e}){let[s,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>a(!0),[]),(0,r.jsx)("span",{suppressHydrationWarning:!0,children:s?n(e):new Date(e).toLocaleDateString()})}],33789),e.s(["SectionLabel",0,function({children:e,right:t}){return(0,r.jsxs)("div",{className:"mb-3 mt-8 flex items-center gap-2.5 font-mono text-[11px] uppercase tracking-[.1em] text-[#a4a9b0]",children:[e,(0,r.jsx)("span",{className:"h-px flex-1 bg-border"}),t??null]})}],1485)},31758,e=>{"use strict";var r=e.i(1262),t=e.i(44344);e.s(["EmptyBox",0,function({children:e}){return(0,r.jsxs)("div",{className:"rounded-xl border border-dashed border-border bg-card px-5 py-9 text-center text-[13.5px] text-muted-foreground",children:[(0,r.jsx)("div",{className:"mx-auto mb-3 grid h-10 w-10 place-items-center rounded-lg border border-border text-[#a4a9b0]",children:(0,r.jsx)(t.Icons.box,{className:"size-5"})}),e]})}])},9383,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var s in n)Object.defineProperty(t,s,{enumerable:!0,get:n[s]});let a=e.r(57855),i=e.r(61414),o=e.r(97615)},88451,e=>{"use strict";var r=e.i(1262),t=e.i(45971),n=e.i(54129),s=e.i(44344),a=e.i(69377),i=e.i(9383);let o=(0,i.createServerReference)("60470f87c7999b1dca9c512862da9659a80e8a731c",i.callServer,void 0,i.findSourceMapURL,"answerApprovalAction");e.s(["ApprovalActions",0,function({id:e,url:i}){let l=(0,t.useRouter)(),[c,d]=(0,n.useTransition)(),u=r=>{d(async()=>{let t=await o(e,r);t.ok||window.alert(`Failed: ${t.error}`),l.refresh()})};return i?(0,r.jsxs)("div",{className:"flex justify-end gap-1.5",children:[(0,r.jsxs)(a.Button,{variant:"outline",size:"sm",disabled:c,className:"hover:border-[var(--red-line)] hover:bg-[var(--red-soft)] hover:text-[var(--red)]",onClick:()=>u("n"),children:[(0,r.jsx)(s.Icons.x,{}),"Dismiss"]}),(0,r.jsxs)(a.Button,{size:"sm",href:i,target:"_blank",rel:"noreferrer",onClick:()=>{fetch(`/api/v1/approvals/${encodeURIComponent(e)}/answer`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({answer:"y",openedByClient:!0})}).catch(()=>void 0).finally(()=>{l.refresh()})},children:[(0,r.jsx)(s.Icons.ext,{}),"Open link"]})]}):(0,r.jsxs)("div",{className:"flex justify-end gap-1.5",children:[(0,r.jsxs)(a.Button,{variant:"outline",size:"sm",disabled:c,className:"hover:border-[var(--red-line)] hover:bg-[var(--red-soft)] hover:text-[var(--red)]",onClick:()=>u("n"),children:[(0,r.jsx)(s.Icons.x,{}),"Deny"]}),(0,r.jsxs)(a.Button,{size:"sm",disabled:c,onClick:()=>u("y"),children:[(0,r.jsx)(s.Icons.check,{}),"Approve"]})]})}],88451)},16200,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Label",0,function({className:e,...n}){return(0,r.jsx)("label",{className:(0,t.cn)("mb-2 block text-[13px] font-medium leading-none",e),...n})}])},3060,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Input",0,function({className:e,...n}){return(0,r.jsx)("input",{className:(0,t.cn)("flex h-10 w-full rounded-lg border border-input bg-card px-3 py-1 text-sm shadow-sm transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/15",e),...n})}])},95141,e=>{"use strict";var r=e.i(1262),t=e.i(54129),n=e.i(65232),s=e.i(44344);e.s(["Dialog",0,function({onClose:e,className:a,children:i}){return(0,t.useEffect)(()=>{let r=r=>{"Escape"===r.key&&e()};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[e]),(0,r.jsx)("div",{className:"anim-fade fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-[rgba(20,24,30,.42)] p-6 backdrop-blur-[2px]",onClick:e,children:(0,r.jsxs)("div",{role:"dialog","aria-modal":"true",className:(0,n.cn)("anim-pop relative m-auto w-full max-w-[500px] rounded-2xl border border-border bg-card shadow-[0_40px_80px_-30px_rgba(20,24,30,.5)]",a),onClick:e=>e.stopPropagation(),children:[i,(0,r.jsx)("button",{className:"absolute right-4 top-4 grid h-7 w-7 cursor-pointer place-items-center rounded-md border-0 bg-transparent text-[#a4a9b0] transition-colors hover:bg-secondary hover:text-foreground",onClick:e,"aria-label":"Close",children:(0,r.jsx)(s.Icons.x,{style:{width:15,height:15}})})]})})},"DialogBody",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("px-5 py-4",e),...t})},"DialogDescription",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("mt-1 font-mono text-xs text-muted-foreground",e),...t})},"DialogFooter",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("flex justify-end gap-2.5 rounded-b-2xl border-t border-border/70 bg-background px-5 py-3.5",e),...t})},"DialogHeader",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("flex items-start gap-3 border-b border-border/70 px-5 pb-4 pt-5",e),...t})},"DialogIcon",0,function({children:e}){return(0,r.jsx)("span",{className:"grid h-9 w-9 flex-none place-items-center rounded-lg border border-[var(--green-line)] bg-accent text-primary [&_svg]:size-[17px]",children:e})},"DialogTitle",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("text-base font-semibold leading-tight tracking-tight",e),...t})}])},86184,e=>{"use strict";var r=e.i(1262),t=e.i(54129),n=e.i(69377),s=e.i(3060);function a({jobId:e,login:i}){let[o,l]=(0,t.useState)(""),[c,d]=(0,t.useState)(!1),[u,x]=(0,t.useState)(null),p="exchanging"===i.phase,f=async()=>{let r=o.trim();if(r&&!c){d(!0),x(null);try{let t=await fetch(`/api/v1/jobs/${encodeURIComponent(e)}/login-code`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({code:r})});if(!t.ok){let e=await t.json().catch(()=>null);x(e?.error?.message??`request failed (${t.status})`);return}l("")}catch(e){x(e instanceof Error?e.message:String(e))}finally{d(!1)}}};return(0,r.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-amber-500/40 bg-amber-500/10 p-3",children:[(0,r.jsx)("div",{className:"text-sm font-semibold text-amber-200",children:"Claude login required"}),(0,r.jsx)("p",{className:"text-xs text-amber-100/80",children:"Your saved Claude login is expired. Open the sign-in page, approve access, then paste the code Claude shows you."}),i.url?(0,r.jsx)("a",{href:i.url,target:"_blank",rel:"noreferrer",className:"w-fit rounded-md bg-amber-500/20 px-2.5 py-1 text-xs font-medium text-amber-100 underline decoration-amber-400/50 underline-offset-2 hover:bg-amber-500/30",children:"Open Claude sign-in ↗"}):(0,r.jsx)("span",{className:"text-xs text-amber-100/60",children:"waiting for the sign-in link…"}),(0,r.jsxs)("div",{className:"mt-1 flex gap-2",children:[(0,r.jsx)(s.Input,{value:o,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"===e.key&&f()},placeholder:"Paste approval code",disabled:p,className:"flex-1 font-mono text-xs"}),(0,r.jsx)(n.Button,{type:"button",onClick:()=>void f(),disabled:!o.trim()||c||p,children:p?"Verifying…":c?"Submitting…":"Submit"})]}),i.lastError?(0,r.jsx)("p",{className:"text-xs text-amber-300",children:i.lastError}):null,"error"===i.phase&&i.error?(0,r.jsx)("p",{className:"text-xs text-red-400",children:i.error}):null,u?(0,r.jsx)("p",{className:"text-xs text-red-400",children:u}):null]})}e.s(["JobLogStream",0,function({jobId:e,endpoint:n,onDone:s,onStatus:i,onLogin:o}){let[l,c]=(0,t.useState)([]),[d,u]=(0,t.useState)(null),x=(0,t.useRef)(null),p=(0,t.useRef)(s);p.current=s;let f=(0,t.useRef)(i);f.current=i;let m=(0,t.useRef)(o);return m.current=o,(0,t.useEffect)(()=>{f.current?.("streaming");let r=new EventSource(n??`/api/jobs/${encodeURIComponent(e)}/logs`);return r.addEventListener("log",e=>{let r=JSON.parse(e.data);c(e=>[...e,r])}),r.addEventListener("login",e=>{let r=JSON.parse(e.data);u(r),m.current?.(r)}),r.addEventListener("end",e=>{let t=JSON.parse(e.data);f.current?.(t.status),p.current?.(t.status),r.close()}),()=>r.close()},[e,n]),(0,t.useEffect)(()=>{let e=x.current;e&&(e.scrollTop=e.scrollHeight)},[l]),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[d&&"done"!==d.phase?(0,r.jsx)(a,{jobId:e,login:d}):null,(0,r.jsx)("pre",{ref:x,className:"max-h-[440px] min-h-[220px] overflow-auto whitespace-pre rounded-lg bg-[#16181c] p-3 font-mono text-[11.5px] leading-relaxed text-[#d6d9de]",children:0===l.length?"starting…":l.join("\n")})]})}])},77869,86892,e=>{"use strict";var r=e.i(1262),t=e.i(44344),n=e.i(65232);e.s(["PersistentMark",0,function({className:e}){return(0,r.jsx)("span",{title:"Persistent (always-on): never auto-paused, never pruned, and started again after a host reboot","aria-label":"Persistent box",className:"inline-flex flex-none items-center text-muted-foreground",children:(0,r.jsx)(t.Icons.lock,{className:(0,n.cn)("size-3.5",e)})})}],77869);var s=e.i(64595);let a={running:{label:"running",badgeClass:"badge-run"},paused:{label:"paused",badgeClass:"badge-pause"},stopped:{label:"stopped",badgeClass:"badge-stop"},creating:{label:"creating",badgeClass:"badge-create"},error:{label:"error",badgeClass:"badge-err"}};e.s(["StatusBadge",0,function({status:e}){let t=a[e]??a.stopped;return(0,r.jsxs)(s.Badge,{className:t.badgeClass,children:[(0,r.jsx)("span",{className:"badge-dot"}),t.label]})}],86892)},99869,e=>{"use strict";function r(e){return e.backups.filter(e=>e.state)}e.s(["parseRestoreKey",0,function(e){let r=e.split("/");return 2===r.length&&r[0]&&r[1]?{bot:r[0],stamp:r[1]}:null},"preferredBackup",0,function(e){let t=r(e);return t.find(r=>r.stamp===e.latest)??t[0]},"readableStamp",0,function(e){let r=new Date(e.replace(/^(\d{4}-\d{2}-\d{2})T(\d{2})-(\d{2})-(\d{2})Z$/,"$1T$2:$3:$4Z"));return Number.isNaN(r.getTime())?e:r.toLocaleString()},"restorableBackups",0,r,"restoreKeyOf",0,function(e,r){return`${e}/${r}`}])},30544,49604,e=>{"use strict";var r=e.i(1262),t=e.i(45971),n=e.i(54129),s=e.i(65232),a=e.i(69377),i=e.i(44344),o=e.i(9383);let l=(0,o.createServerReference)("40a8d927c4cdf2644578c7d046ec6ac4b5476e093c",o.callServer,void 0,o.findSourceMapURL,"destroyBoxAction"),c=(0,o.createServerReference)("400fa966c2798373b413a766971b2a65942e1c10ed",o.callServer,void 0,o.findSourceMapURL,"pauseBoxAction"),d=(0,o.createServerReference)("6071e7924c81efcf4f632db30c94b2719dea3aad86",o.callServer,void 0,o.findSourceMapURL,"renameBoxAction"),u=(0,o.createServerReference)("4096c3a9fca12159537e807a65e8c69363c9994b44",o.callServer,void 0,o.findSourceMapURL,"resumeBoxAction"),x=(0,o.createServerReference)("401094edbde1b8a36591bbcb042a1f6f13c0856238",o.callServer,void 0,o.findSourceMapURL,"stopBoxAction");e.s(["BoxActions",0,function({box:e,size:o}){let p=(0,t.useRouter)(),[f,m]=(0,n.useTransition)(),b="running"===e.status,g="paused"===e.status,v="stopped"===e.status,h=e.id.startsWith("job:"),j="lg"===o,y=j?"sm":"icon-sm",N=(r,t,n)=>{r.stopPropagation(),(!n||window.confirm(n))&&m(async()=>{let r=await t(e.id);r.ok||window.alert(`Action failed: ${r.error}`),p.refresh()})};return h?(0,r.jsx)("div",{className:(0,s.cn)("flex gap-1.5",j?"":"justify-end"),children:(0,r.jsxs)(a.Button,{variant:"destructive",size:y,title:"Dismiss",disabled:f||"error"!==e.status,onClick:r=>N(r,l,`Dismiss failed box ${e.id}? This clears the failed create.`),children:[(0,r.jsx)(i.Icons.trash,{}),j?"Dismiss":null]})}):(0,r.jsxs)("div",{className:(0,s.cn)("flex gap-1.5",j?"":"justify-end"),children:[g?(0,r.jsxs)(a.Button,{variant:j?"default":"outline",size:y,title:"Resume",disabled:f,className:j?"":"hover:border-[var(--green)] hover:bg-accent hover:text-[var(--green-ink)]",onClick:e=>N(e,u),children:[(0,r.jsx)(i.Icons.play,{}),j?"Resume":null]}):(0,r.jsxs)(a.Button,{variant:"outline",size:y,disabled:f||!b,title:"Pause",className:j?"":"hover:border-[var(--amber)] hover:bg-[var(--amber-soft)] hover:text-[var(--amber)]",onClick:e=>N(e,c),children:[(0,r.jsx)(i.Icons.pause,{}),j?"Pause":null]}),(0,r.jsxs)(a.Button,{variant:"outline",size:y,disabled:f||v,title:"Stop",onClick:e=>N(e,x),children:[(0,r.jsx)(i.Icons.stop,{}),j?"Stop":null]}),(0,r.jsxs)(a.Button,{variant:"outline",size:y,disabled:f,title:"Rename",onClick:r=>{r.stopPropagation();let t=window.prompt("Rename box (label only — leave blank to reset)",e.displayName??e.task);null!==t&&m(async()=>{let r=await d(e.id,t.trim());r.ok||window.alert(`Rename failed: ${r.error}`),p.refresh()})},children:[(0,r.jsx)(i.Icons.pencil,{}),j?"Rename":null]}),(0,r.jsxs)(a.Button,{variant:"destructive",size:y,title:"Destroy",disabled:f,onClick:r=>N(r,l,`Destroy box ${e.id}? Its workspace volume is discarded. This cannot be undone.`),children:[(0,r.jsx)(i.Icons.trash,{}),j?"Destroy":null]})]})}],30544),e.s(["Select",0,function({wrapperClassName:e,className:t,children:n,...a}){return(0,r.jsxs)("span",{className:(0,s.cn)("relative inline-flex",e),children:[(0,r.jsx)("select",{className:(0,s.cn)("h-9 w-full cursor-pointer appearance-none rounded-lg border border-input bg-card py-1 pl-3 pr-9 text-[13px] shadow-sm focus-visible:outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/15",t),...a,children:n}),(0,r.jsx)("svg",{className:"pointer-events-none absolute right-3 top-1/2 size-3.5 -translate-y-1/2 text-muted-foreground",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",children:(0,r.jsx)("path",{d:"m6 9 6 6 6-6"})})]})}],49604)},80922,e=>{"use strict";var r=e.i(1262),t=e.i(51096),n=e.i(44344);e.s(["BackLink",0,function({to:e,children:s}){return(0,r.jsxs)(t.default,{className:"mb-3.5 inline-flex cursor-pointer items-center gap-1.5 border-0 bg-transparent p-0 font-mono text-xs text-muted-foreground hover:text-primary",href:e,children:[(0,r.jsx)(n.Icons.arrowL,{className:"size-[13px]"}),s]})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8536,e=>{"use strict";var t=e.i(1262),s=e.i(65232);e.s(["Card",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,s.cn)("rounded-xl border border-border bg-card text-card-foreground",e),...r})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,s.cn)("p-5 pt-0",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,s.cn)("text-[12.5px] text-muted-foreground",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,s.cn)("flex flex-col space-y-1 p-5",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,s.cn)("text-[15px] font-semibold leading-none tracking-tight",e),...r})}])},33789,51497,1485,e=>{"use strict";var t=e.i(1262),s=e.i(54129);function r(e){let t=Math.floor((Date.now()-e)/1e3);if(t<60)return t+"s ago";let s=Math.floor(t/60);if(s<60)return s+"m ago";let r=Math.floor(s/60);return r<24?r+"h ago":Math.floor(r/24)+"d ago"}e.s(["fmtAgo",0,r,"fmtBytes",0,function(e){return e<1024?e+"B":e<1048576?(e/1024).toFixed(1)+"KB":(e/1048576).toFixed(1)+"MB"}],51497),e.s(["Ago",0,function({ms:e}){let[n,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>a(!0),[]),(0,t.jsx)("span",{suppressHydrationWarning:!0,children:n?r(e):new Date(e).toLocaleDateString()})}],33789),e.s(["SectionLabel",0,function({children:e,right:s}){return(0,t.jsxs)("div",{className:"mb-3 mt-8 flex items-center gap-2.5 font-mono text-[11px] uppercase tracking-[.1em] text-[#a4a9b0]",children:[e,(0,t.jsx)("span",{className:"h-px flex-1 bg-border"}),s??null]})}],1485)},31758,e=>{"use strict";var t=e.i(1262),s=e.i(44344);e.s(["EmptyBox",0,function({children:e}){return(0,t.jsxs)("div",{className:"rounded-xl border border-dashed border-border bg-card px-5 py-9 text-center text-[13.5px] text-muted-foreground",children:[(0,t.jsx)("div",{className:"mx-auto mb-3 grid h-10 w-10 place-items-center rounded-lg border border-border text-[#a4a9b0]",children:(0,t.jsx)(s.Icons.box,{className:"size-5"})}),e]})}])},35594,e=>{"use strict";var t=e.i(1262),s=e.i(65232),r=e.i(8536);e.s(["Stat",0,function({k:e,v:r,mono:n,icon:a}){return(0,t.jsxs)("div",{className:"px-4.5 p-4",children:[(0,t.jsx)("div",{className:"mb-1.5 font-mono text-[10.5px] uppercase tracking-[.06em] text-[#a4a9b0]",children:e}),(0,t.jsxs)("div",{className:(0,s.cn)("flex items-center gap-2 font-semibold tracking-[-0.01em]",n?"font-mono text-sm font-medium":"text-base"),children:[a?(0,t.jsx)(a,{className:"size-[15px] text-muted-foreground"}):null,r]})]})},"StatGrid",0,function({children:e}){return(0,t.jsx)(r.Card,{className:"grid grid-cols-[repeat(auto-fit,minmax(140px,1fr))] divide-x divide-border/60 overflow-hidden",children:e})}])},9893,e=>{"use strict";let t=["agents","projects","prepared","boxes"],s={agents:{label:"Agent credentials",blurb:"Claude / Codex / OpenCode logins pushed here so a hub-created box is never launched signed-out."},projects:{label:"Project seeds",blurb:"Per-project secrets and untracked seed files overlaid onto a fresh clone."},prepared:{label:"Prepared bakes",blurb:"Each provider’s base-image bake record, so a base baked on one machine is visible to both."},boxes:{label:"Box SSH keys",blurb:"Per-box SSH key material a host minted, so either side can attach / cp / port-forward."}};function r(e){let r=new Map;for(let e of t)r.set(e,new Map);for(let s of e){let e=s.path.split("/")[0]??"";if(!t.includes(e))continue;let n=r.get(e),a=function(e){let t=e.split("/")[1]??"";return t.endsWith(".json")?t.slice(0,-5):t}(s.path),o=n.get(a)??[];o.push(s),n.set(a,o)}return t.map(e=>{let t=[...r.get(e).entries()].map(([e,t])=>({key:e,entries:[...t].sort((e,t)=>e.path<t.path?-1:+(e.path>t.path)),size:t.reduce((e,t)=>e+t.size,0)})).sort((e,t)=>e.key<t.key?-1:+(e.key>t.key)),n=t.reduce((e,t)=>e+t.entries.length,0),a=t.reduce((e,t)=>e+t.size,0);return{scope:e,label:s[e].label,blurb:s[e].blurb,count:n,size:a,subgroups:t}})}let n={claude:"Claude",codex:"Codex",opencode:"OpenCode",pi:"Pi"};e.s(["CUSTODY_SCOPES",0,t,"fmtBytes",0,function(e){if(e<1024)return`${String(e)} B`;let t=e/1024;if(t<1024)return`${t.toFixed(+(t<10))} KB`;let s=t/1024;return`${s.toFixed(+(s<10))} MB`},"groupCustody",0,r,"shortSha",0,function(e){return e.slice(0,12)},"summarizeAgentCredentials",0,function(e){let t=r(e).find(e=>"agents"===e.scope);return t?t.subgroups.map(e=>({agent:e.key,label:n[e.key]??e.key,count:e.entries.length,size:e.size,lastUpdate:e.entries.reduce((e,t)=>Math.max(e,Date.parse(t.updatedAt)||0),0)})):[]}])},58895,e=>{"use strict";var t=e.i(1262),s=e.i(51096),r=e.i(54129),n=e.i(33789),a=e.i(44344),o=e.i(64595),i=e.i(8536),d=e.i(65232),l=e.i(9893),c=e.i(31758),x=e.i(1485),u=e.i(35594);function m({active:e,onClick:s,label:r,count:n}){return(0,t.jsxs)("button",{type:"button",onClick:s,className:(0,d.cn)("inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-[12.5px] transition-colors",e?"border-transparent bg-accent font-medium text-accent-foreground":"border-border text-secondary-foreground hover:bg-secondary hover:text-foreground"),children:[r,(0,t.jsx)("span",{className:(0,d.cn)("font-mono text-[11px]",e?"text-primary":"text-[#a4a9b0]"),children:n})]})}e.s(["default",0,function(){let[e,d]=(0,r.useState)(null),[p,h]=(0,r.useState)(null),[f,b]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=!0;return fetch("/api/v1/custody",{credentials:"same-origin"}).then(async e=>{if(!e.ok)throw Error(`request failed (${String(e.status)})`);return await e.json()}).then(t=>{e&&d(t)}).catch(t=>{e&&h(t instanceof Error?t.message:String(t))}),()=>{e=!1}},[]);let g=(0,r.useMemo)(()=>(0,l.groupCustody)(e?.entries??[]),[e]),j=g.reduce((e,t)=>e+t.count,0),v=f?g.filter(e=>e.scope===f):g;return(0,t.jsxs)("div",{className:"mx-auto w-full max-w-[1080px] px-8 pb-16 pt-8 max-sm:px-4",children:[(0,t.jsx)("h1",{className:"text-[25px] font-semibold leading-tight tracking-[-0.025em]",children:"Custody"}),(0,t.jsxs)("div",{className:"mt-1.5 text-sm text-muted-foreground",children:["What the control box holds so a box created from either side is usable from both. Paths, hashes and sizes only —"," ",(0,t.jsx)("span",{className:"text-secondary-foreground",children:"values never leave the box"}),"."]}),p?(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsxs)(c.EmptyBox,{children:[(0,t.jsx)("div",{children:"Couldn’t load custody."}),(0,t.jsx)("div",{className:"mt-1.5 font-mono text-xs text-red-400",children:p})]})}):e&&!e.enabled?(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsxs)(c.EmptyBox,{children:[(0,t.jsx)("div",{children:"Custody isn’t enabled on this hub."}),(0,t.jsxs)("div",{className:"mt-1.5 font-mono text-xs text-muted-foreground",children:["Custody runs on a deployed control box (a hub with an admin token). A localhost hub keeps credentials on your machine directly — see"," ",(0,t.jsx)(s.default,{href:"/system",className:"underline underline-offset-2 hover:text-foreground",children:"Carried from this machine"}),"."]})]})}):e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.SectionLabel,{right:(0,t.jsxs)("span",{className:"font-mono text-[11px] tracking-normal text-[#a4a9b0]",children:[j," entries"]}),children:"Overview"}),(0,t.jsx)(u.StatGrid,{children:g.map(e=>(0,t.jsx)(u.Stat,{k:e.label,v:`${String(e.count)}${e.count?` \xb7 ${(0,l.fmtBytes)(e.size)}`:""}`},e.scope))}),(0,t.jsxs)("div",{className:"mt-6 flex flex-wrap items-center gap-1.5",children:[(0,t.jsx)(m,{active:null===f,onClick:()=>b(null),label:"All",count:j}),l.CUSTODY_SCOPES.map(e=>{let s=g.find(t=>t.scope===e);return(0,t.jsx)(m,{active:f===e,onClick:()=>b(e),label:s.label,count:s.count},e)})]}),v.every(e=>0===e.count)?(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsxs)(c.EmptyBox,{children:[(0,t.jsxs)("div",{children:["Nothing in custody",f?` under ${f}`:""," yet."]}),(0,t.jsx)("div",{className:"mt-1.5 font-mono text-xs text-muted-foreground",children:"Agent credentials arrive from `agentbox hub credentials push`; seeds, bake records and box keys are written as boxes are created."})]})}):v.filter(e=>e.count>0).map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)(x.SectionLabel,{right:(0,t.jsx)("span",{className:"font-mono text-[11px] tracking-normal text-[#a4a9b0]",children:e.count}),children:e.label}),(0,t.jsx)("div",{className:"mb-3 text-[12.5px] text-muted-foreground",children:e.blurb}),(0,t.jsx)(i.Card,{className:"divide-y divide-border/60 overflow-hidden",children:e.subgroups.map(e=>(0,t.jsxs)("div",{className:"p-4 px-5",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-center gap-2",children:[(0,t.jsx)(a.Icons.folder,{className:"size-[15px] flex-none text-muted-foreground"}),(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium",children:e.key}),(0,t.jsx)(o.Badge,{className:"px-1.5 py-0 text-[10px] normal-case",children:e.entries.length}),(0,t.jsx)("span",{className:"ml-auto font-mono text-[11px] text-[#a4a9b0]",children:(0,l.fmtBytes)(e.size)})]}),(0,t.jsx)("div",{className:"divide-y divide-border/40",children:e.entries.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3 py-1.5 max-sm:flex-wrap",children:[(0,t.jsx)(a.Icons.file,{className:"size-3.5 flex-none text-[#a4a9b0]"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[12px]",title:e.path,children:e.path.split("/").slice(2).join("/")||e.path}),(0,t.jsx)("span",{className:"font-mono text-[11px] text-[#a4a9b0]",title:e.sha256,children:(0,l.shortSha)(e.sha256)}),(0,t.jsx)("span",{className:"w-16 text-right font-mono text-[11px] text-muted-foreground",children:(0,l.fmtBytes)(e.size)}),(0,t.jsx)("span",{className:"w-24 text-right font-mono text-[11px] text-muted-foreground",children:(0,t.jsx)(n.Ago,{ms:Date.parse(e.updatedAt)})})]},e.path))})]},e.key))})]},e.scope))]}):(0,t.jsx)("div",{className:"mt-8 text-sm text-muted-foreground",children:"Loading…"})]})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38360,(e,t,r)=>{var n={675:function(e,t){"use strict";t.byteLength=function(e){var t=f(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=f(e),s=i[0],a=i[1],u=new o((s+a)*3/4-a),l=0,c=a>0?s-4:s;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(e,t,n){for(var o,i=[],s=t;s<n;s+=3)o=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function f(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,r){"use strict";var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return f(e,t,r)}function f(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!a.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),f=s(i),u=f.write(n,o);return u!==i&&(f=f.slice(0,u)),f}if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(C(e,ArrayBuffer)||e&&C(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(C(e,SharedArrayBuffer)||e&&C(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return a.from(l,t,r);var d=function(e){if(a.isBuffer(e)){var t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(d)return d;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),s(e<0?0:0|h(e))}function c(e){for(var t=e.length<0?0:0|h(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!a.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return f(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)};function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||C(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(e).length;default:if(o)return n?-1:B(e).length;t=(""+t).toLowerCase(),o=!0}}function d(e,t,r){var o,i,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=I[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=this,i=t,s=r,0===i&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function x(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var i,s=1,a=e.length,f=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,f/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;i<a;i++)if(u(e,i)===u(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===f)return l*s}else -1!==l&&(i-=i-l),l=-1}else for(r+f>a&&(r=a-f),i=r;i>=0;i--){for(var c=!0,h=0;h<f;h++)if(u(e,i+h)!==u(t,h)){c=!1;break}if(c)return i}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(C(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),C(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(C(i,Uint8Array)&&(i=a.from(i)),!a.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?m(this,0,e):d.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,o){if(C(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,s=r-t,f=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r),c=0;c<f;++c)if(u[c]!==l[c]){i=u[c],s=l[c];break}return i<s?-1:+(s<i)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return x(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return x(this,e,t,r,!1)};function m(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,s,a,f,u=e[o],l=null,c=u>239?4:u>223?3:u>191?2:1;if(o+c<=r)switch(c){case 1:u<128&&(l=u);break;case 2:(192&(i=e[o+1]))==128&&(f=(31&u)<<6|63&i)>127&&(l=f);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(f=(15&u)<<12|(63&i)<<6|63&s)>2047&&(f<55296||f>57343)&&(l=f);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(f=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&f<1114112&&(l=f)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var d="",g=0;g<p;)d+=String.fromCharCode.apply(String,h.slice(g,g+=4096));return d}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function v(e,t,r,n,o,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function j(e,t,r,n,i){return t*=1,r>>>=0,i||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,i){return t*=1,r>>>=0,i||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,f,u,l,c,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a,f=parseInt(t.substr(2*s,2),16);if((a=f)!=a)break;e[r+s]=f}return s}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,U(B(e,this.length-o),this,o,i);case"ascii":return s=t,a=r,U(N(e),this,s,a);case"latin1":case"binary":return function(e,t,r,n){return U(N(t),e,r,n)}(this,e,t,r);case"base64":return f=t,u=r,U(S(e),this,f,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,c=r,U(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-l),this,l,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;v(this,e,t,r,o,0)}var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;v(this,e,t,r,o,0)}var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);v(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);v(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var i=o-1;i>=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),f=s.length;if(0===f)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%f]}return this};var A=/[^+/0-9A-Za-z-_]/g;function B(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function N(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function S(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function C(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var I=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,f=(1<<a)-1,u=f>>1,l=-7,c=r?o-1:0,h=r?-1:1,p=e[t+c];for(c+=h,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+e[t+c],c+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+c],c+=h,l-=8);if(0===i)i=1-u;else{if(i===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),i-=u}return(p?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,f,u=8*i-o-1,l=(1<<u)-1,c=l>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,d=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+c>=1?t+=h/f:t+=h*Math.pow(2,1-c),t*f>=2&&(s++,f/=2),s+c>=l?(a=0,s=l):s+c>=1?(a=(t*f-1)*Math.pow(2,o),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),s=0));o>=8;e[r+p]=255&a,p+=d,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;e[r+p]=255&s,p+=d,s/=256,u-=8);e[r+p-d]|=128*g}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},s=!0;try{n[e](r,r.exports,i),s=!1}finally{s&&delete o[e]}return r.exports}i.ab="/ROOT/node_modules/.pnpm/next@16.2.7_@opentelemetry+api@1.9.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/compiled/buffer/",t.exports=i(72)},87340,e=>{"use strict";var t=e.i(1262),r=e.i(51096),n=e.i(44344),o=e.i(96621),i=e.i(88451);function s(){let{state:e,box:s}=(0,o.useStore)();if(0===e.approvals.length)return null;let a=[...e.approvals].sort((e,t)=>e.createdAt-t.createdAt),f=a[0],u=s(f.boxId);return(0,t.jsxs)("div",{className:"mb-6 flex items-start gap-3 rounded-xl border border-[var(--amber-line)] bg-[var(--amber-soft)] p-4",children:[(0,t.jsx)(n.Icons.shield,{className:"mt-0.5 size-4 flex-none text-[var(--amber)]"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-2 gap-y-0.5",children:[u?(0,t.jsx)(r.default,{className:"text-[13.5px] font-semibold hover:text-[var(--green-ink)]",href:"/boxes/"+u.id,children:u.task}):(0,t.jsx)("span",{className:"text-[13.5px] font-semibold",children:f.boxId}),(0,t.jsx)("span",{className:"truncate font-mono text-[12.5px] text-secondary-foreground",children:f.command??f.message})]}),f.detail?(0,t.jsx)("div",{className:"mt-0.5 truncate text-[11.5px] text-muted-foreground",children:f.detail}):null,f.cwd?(0,t.jsx)("div",{className:"mt-0.5 truncate font-mono text-[11px] text-[#a4a9b0]",children:f.cwd}):null]}),(0,t.jsxs)("div",{className:"flex flex-none items-center gap-3",children:[a.length>1?(0,t.jsxs)("div",{className:"hidden items-center gap-2 sm:flex",children:[(0,t.jsxs)("span",{className:"font-mono text-[11.5px] text-[var(--amber)]",children:[a.length," pending"]}),(0,t.jsx)(r.default,{className:"font-mono text-[11.5px] text-muted-foreground hover:text-[var(--green-ink)]",href:"/approvals",children:"View all"})]}):null,(0,t.jsx)(i.ApprovalActions,{id:f.id,url:f.url})]})]})}var a=e.i(45971),f=e.i(54129),u=e.i(69377),l=e.i(95141),c=e.i(3060),h=e.i(9383);let p=(0,h.createServerReference)("4088fd04bb9ec3ac2c0ae00f6a2cb7dd879c184007",h.callServer,void 0,h.findSourceMapURL,"addProjectAction"),d=(0,h.createServerReference)("402eda0518b07f30fd9e8b1c4f899f2a945bca9412",h.callServer,void 0,h.findSourceMapURL,"browseDirAction"),g=(0,h.createServerReference)("401bd68ff8094c0b9bf05a721b44b0b7d29763287f",h.callServer,void 0,h.findSourceMapURL,"createProjectAction");e.i(38360);let x=/^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$/;function y(){let[e,r]=(0,f.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(u.Button,{onClick:()=>r(!0),children:[(0,t.jsx)(n.Icons.plus,{}),"New project"]}),e?(0,t.jsx)(m,{onClose:()=>r(!1)}):null]})}function m({onClose:e}){let r=(0,a.useRouter)(),[o,i]=(0,f.useTransition)(),[s,h]=(0,f.useState)("existing"),[y,w]=(0,f.useState)(""),[j,E]=(0,f.useState)(null),[A,B]=(0,f.useState)([]),[N,S]=(0,f.useState)(!0),[U,C]=(0,f.useState)(null),[I,T]=(0,f.useState)(""),[k,R]=(0,f.useState)(!1),L=(0,f.useCallback)(async e=>{S(!0),C(null);let t=await d(e);if(!t.ok){C(t.error),S(!1);return}w(t.path),E(t.parent),B(t.entries),S(!1)},[]);(0,f.useEffect)(()=>{L()},[L]);let O=I.trim(),P=x.test(O),M=()=>{C(null);let t=y.trim();t?"create"!==s||P?i(async()=>{let n="existing"===s?await p(t):await g({parent:t,name:O,git:k});n.ok?(r.refresh(),e()):C(n.error)}):C("name must be a single folder name (letters, digits, . _ -; no leading dot)"):C("choose a folder")};return(0,t.jsxs)(l.Dialog,{onClose:e,children:[(0,t.jsxs)(l.DialogHeader,{children:[(0,t.jsx)(l.DialogIcon,{children:(0,t.jsx)(n.Icons.folder,{})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(l.DialogTitle,{children:"Add project"}),(0,t.jsx)(l.DialogDescription,{children:"existing"===s?"Pick a folder on this machine":"Pick where to create the new folder"})]})]}),(0,t.jsxs)(l.DialogBody,{className:"flex flex-col gap-2.5",children:[(0,t.jsxs)("div",{className:"flex gap-1.5",role:"tablist","aria-label":"Project source",children:[(0,t.jsx)(b,{active:"existing"===s,onClick:()=>h("existing"),children:"Existing folder"}),(0,t.jsx)(b,{active:"create"===s,onClick:()=>h("create"),children:"Create new"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.Button,{variant:"outline",className:"flex-none px-2.5",onClick:()=>void L(j??void 0),disabled:!j||N,title:"Up one level","aria-label":"Up one level",children:(0,t.jsx)(n.Icons.arrowUp,{})}),(0,t.jsx)(c.Input,{value:y,onChange:e=>w(e.target.value),placeholder:"/Users/you/Projects/my-app",className:"font-mono text-xs",onKeyDown:e=>{"Enter"===e.key&&L(y)}})]}),(0,t.jsx)("div",{className:"h-56 overflow-y-auto rounded-lg border border-border bg-background",children:N?(0,t.jsx)("div",{className:"px-3 py-2.5 font-mono text-xs text-muted-foreground",children:"Loading…"}):0===A.length?(0,t.jsx)("div",{className:"px-3 py-2.5 font-mono text-xs text-muted-foreground",children:"No subfolders here"}):A.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>void L(e.path),className:"flex w-full cursor-pointer items-center gap-2 border-0 border-b border-border/60 bg-transparent px-3 py-2 text-left text-[13px] transition-colors last:border-b-0 hover:bg-secondary",children:[(0,t.jsx)(n.Icons.folder,{className:"size-4 flex-none text-muted-foreground"}),(0,t.jsx)("span",{className:"truncate",children:e.name}),e.isProject?(0,t.jsx)("span",{className:"ml-auto flex-none rounded border border-[var(--green-line)] bg-accent px-1.5 py-px font-mono text-[10px] uppercase tracking-wide text-primary",children:"project"}):(0,t.jsx)(n.Icons.chevR,{className:"ml-auto size-3.5 flex-none text-[#a4a9b0]"})]},e.path))}),"create"===s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{label:"Folder name",children:(0,t.jsx)(c.Input,{value:I,onChange:e=>T(e.target.value),placeholder:"my-bot",className:"font-mono text-xs",autoFocus:!0,onKeyDown:e=>{"Enter"===e.key&&M()}})}),(0,t.jsx)("p",{className:"truncate font-mono text-xs text-muted-foreground",title:`${y}/${O}`,children:O?`${y.replace(/\/$/,"")}/${O}`:"The folder is created empty."}),(0,t.jsxs)("label",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",checked:k,onChange:e=>R(e.target.checked),className:"mt-0.5 h-4 w-4 flex-none accent-primary"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-secondary-foreground",children:"Initialize a git repository"}),(0,t.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:"git init on main, a .gitignore for .agentbox/, and an initial commit."})]})]})]}):null,U?(0,t.jsx)("div",{className:"font-mono text-xs text-destructive",children:U}):null]}),(0,t.jsxs)(l.DialogFooter,{children:[(0,t.jsx)(u.Button,{variant:"outline",onClick:e,disabled:o,children:"Cancel"}),(0,t.jsx)(u.Button,{onClick:M,disabled:o||N||"create"===s&&!P,children:"existing"===s?o?"Adding…":"Add this folder":o?"Creating…":"Create project"})]})]})}function b({active:e,onClick:r,children:n}){return(0,t.jsx)(u.Button,{size:"sm",variant:e?"default":"outline",role:"tab","aria-selected":e,onClick:r,children:n})}function v({label:e,children:r}){return(0,t.jsxs)("label",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-secondary-foreground",children:e}),r]})}var w=e.i(22983),j=e.i(93268),E=e.i(66818),A=e.i(31758),B=e.i(1485);e.s(["default",0,function(){let{state:e,boxesFor:i}=(0,o.useStore)(),a=e.projects.map(e=>({p:e,boxes:i(e.id)})).sort((e,t)=>(e.boxes.length>0?0:1)-(t.boxes.length>0?0:1)),f=e.boxes.filter(e=>"running"===e.status).length;return(0,t.jsxs)("div",{className:"mx-auto w-full max-w-[1080px] px-8 pb-16 pt-8 max-sm:px-4",children:[(0,t.jsx)(s,{}),(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h1",{className:"text-[25px] font-semibold leading-tight tracking-[-0.025em]",children:"Boxes"}),(0,t.jsxs)("div",{className:"mt-1.5 text-sm text-muted-foreground",children:[(0,t.jsx)("span",{className:"font-mono text-secondary-foreground",children:f})," running across"," ",(0,t.jsx)("span",{className:"font-mono text-secondary-foreground",children:e.projects.length})," ","project",1===e.projects.length?"":"s"," on this machine."]})]}),(0,t.jsx)("div",{className:"ml-auto flex flex-none gap-2",children:(0,t.jsx)(y,{})})]}),(0,t.jsx)(B.SectionLabel,{children:"Projects"}),0===a.length?(0,t.jsxs)(A.EmptyBox,{children:[(0,t.jsx)("div",{children:"No projects on this machine yet."}),(0,t.jsx)("div",{className:"mt-1.5 font-mono text-xs text-muted-foreground",children:"Add one with “New project”, or run `agentbox create` in a folder."})]}):null,a.map(({p:e,boxes:o})=>(0,t.jsxs)("div",{className:"mb-7",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 px-1 pb-3",children:[(0,t.jsxs)(r.default,{className:"flex cursor-pointer items-center gap-2 border-0 bg-transparent p-0 text-[15px] font-semibold tracking-[-0.01em] text-foreground hover:text-[var(--green-ink)]",href:"/projects/"+e.id,children:[(0,t.jsx)("span",{className:"grid h-[22px] w-[22px] flex-none place-items-center rounded-md border border-[var(--green-line)] bg-accent text-primary",children:(0,t.jsx)(n.Icons.folder,{className:"size-[13px]"})}),e.name]}),(0,t.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:e.repo}),(0,t.jsx)("span",{className:"flex-1"}),(0,t.jsxs)("span",{className:"font-mono text-[11.5px] text-[#a4a9b0]",children:[o.length," box",1===o.length?"":"es"]}),(0,t.jsx)(j.CreateBoxButton,{project:e,variant:"outline",size:"sm",className:"font-mono text-xs"}),0===o.length?(0,t.jsx)(E.DeleteProjectButton,{project:e,size:"sm",className:"font-mono text-xs"}):null]}),o.length?(0,t.jsx)(w.BoxTable,{boxes:o}):(0,t.jsx)(A.EmptyBox,{children:(0,t.jsxs)("div",{children:["No boxes in ",(0,t.jsx)("b",{className:"font-semibold text-secondary-foreground",children:e.name})," yet."]})})]},e.id))]})}],87340)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22983,93268,66818,e=>{"use strict";var t=e.i(1262),a=e.i(45971),s=e.i(33789),n=e.i(44344),r=e.i(77869),l=e.i(86892),i=e.i(8536),o=e.i(23878),d=e.i(30544);e.s(["BoxTable",0,function({boxes:e}){let c=(0,a.useRouter)();return(0,t.jsx)(i.Card,{className:"overflow-hidden",children:(0,t.jsxs)(o.Table,{children:[(0,t.jsx)(o.TableHeader,{children:(0,t.jsxs)(o.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(o.TableHead,{className:"w-[38%]",children:"Task"}),(0,t.jsx)(o.TableHead,{className:"w-[27%] max-md:hidden",children:"Branch"}),(0,t.jsx)(o.TableHead,{className:"max-md:hidden",children:"Status"}),(0,t.jsx)(o.TableHead,{className:"text-right",children:"Actions"})]})}),(0,t.jsx)(o.TableBody,{children:e.map(e=>(0,t.jsxs)(o.TableRow,{className:"cursor-pointer",onClick:()=>c.push("/boxes/"+e.id),children:[(0,t.jsxs)(o.TableCell,{children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5 text-[13.5px] font-medium",children:[(0,t.jsx)("span",{className:"truncate",children:e.task}),e.persistent?(0,t.jsx)(r.PersistentMark,{}):null]}),(0,t.jsxs)("div",{className:"mt-0.5 font-mono text-[11px] text-[#a4a9b0]",children:[e.id," · ",e.host]})]}),(0,t.jsxs)(o.TableCell,{className:"max-md:hidden",children:[(0,t.jsxs)("span",{className:"inline-flex max-w-full items-center gap-1.5 font-mono text-xs text-secondary-foreground",children:[(0,t.jsx)(n.Icons.branch,{className:"size-3 flex-none text-muted-foreground"}),(0,t.jsx)("span",{className:"truncate",children:e.branch})]}),(0,t.jsxs)("div",{className:"mt-0.5 font-mono text-[11px] text-[#a4a9b0]",children:[e.agent," · ",(0,t.jsx)(s.Ago,{ms:e.lastActivity})]})]}),(0,t.jsx)(o.TableCell,{className:"max-md:hidden",children:(0,t.jsx)(l.StatusBadge,{status:e.status})}),(0,t.jsx)(o.TableCell,{className:"text-right",onClick:e=>e.stopPropagation(),children:(0,t.jsx)(d.BoxActions,{box:e})})]},e.id))})]})})}],22983);var c=e.i(54129);let u="claude";function x(e,t){if(!e)return!1;let a=t.find(t=>t.id===e);return!!a&&a.configured&&"hub"!==a.origin}var h=e.i(64595),m=e.i(69377),p=e.i(95141),b=e.i(3060),f=e.i(49604),g=e.i(65232);function j({className:e,...a}){return(0,t.jsx)("textarea",{className:(0,g.cn)("flex min-h-[76px] w-full resize-y rounded-lg border border-input bg-card px-3 py-2 text-sm leading-normal shadow-sm transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/15",e),...a})}var v=e.i(9383);let N=(0,v.createServerReference)("40e884589d1e7e5ab0b4a28c5f8833f40542ce99d3",v.callServer,void 0,v.findSourceMapURL,"createBoxAction"),y=(0,v.createServerReference)("404f76d985ac6fbd236c731f1d3f0c36bb52320b2b",v.callServer,void 0,v.findSourceMapURL,"listBranchesAction");var S=e.i(99869),w=e.i(96621),k=e.i(86184);function C({request:e,onAnswer:a,disabled:s}){var n;let r=e.choices??("confirm"===(n=e).kind?[{value:"y",label:"Yes"},{value:"n",label:"No"}]:[{value:n.fallback.value,label:"Continue"}]);return(0,t.jsxs)("div",{className:"space-y-3 rounded-md border border-amber-500/30 bg-amber-500/5 p-4",children:[(0,t.jsx)("div",{className:"text-sm font-semibold text-amber-200",children:e.heading??e.title}),e.heading?(0,t.jsx)("div",{className:"text-xs text-foreground",children:e.title}):null,e.body?(0,t.jsx)("p",{className:"text-xs leading-relaxed text-muted-foreground",children:e.body}):null,(0,t.jsx)(B,{detail:e.detail}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2 pt-1",children:r.map(n=>(0,t.jsx)(m.Button,{type:"button",variant:n.value!==e.defaultValue||n.danger?"outline":"default",disabled:s,title:n.hint,onClick:()=>a(n.value),className:(0,g.cn)(n.danger&&"text-red-400 hover:text-red-300"),children:n.label},n.value))})]})}function B({detail:e}){return e?"file-table"===e.type&&"rows"in e?(0,t.jsx)("div",{className:"overflow-x-auto rounded border border-border/60",children:(0,t.jsxs)("table",{className:"w-full text-left text-xs",children:[(0,t.jsx)("thead",{className:"bg-muted/40 text-muted-foreground",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"px-2 py-1 font-medium",children:"From"}),(0,t.jsx)("th",{className:"px-2 py-1 font-medium",children:"To"}),(0,t.jsx)("th",{className:"px-2 py-1 text-right font-medium",children:"Size"}),(0,t.jsx)("th",{className:"px-2 py-1 font-medium",children:"Notes"})]})}),(0,t.jsx)("tbody",{className:"font-mono",children:e.rows.map(e=>(0,t.jsxs)("tr",{className:(0,g.cn)("border-t border-border/40",e.warn&&"bg-red-500/10"),children:[(0,t.jsx)("td",{className:"px-2 py-1 break-all",children:e.src}),(0,t.jsx)("td",{className:"px-2 py-1 break-all",children:e.dest}),(0,t.jsx)("td",{className:"px-2 py-1 text-right whitespace-nowrap text-muted-foreground",children:"missing"===e.kind?"—":function(e){if(e<1024)return`${String(e)} B`;let t=["KB","MB","GB","TB"],a=e/1024,s=0;for(;a>=1024&&s<t.length-1;)a/=1024,s+=1;return`${a<10?a.toFixed(1):String(Math.round(a))} ${t[s]}`}(e.bytes??0)}),(0,t.jsx)("td",{className:"px-2 py-1 whitespace-nowrap text-muted-foreground",children:e.flags.join(", ")})]},`${e.src}->${e.dest}`))})]})}):"credential-list"===e.type&&"rows"in e?(0,t.jsx)("div",{className:"space-y-2",children:e.rows.map(e=>(0,t.jsxs)("div",{className:(0,g.cn)("space-y-1 rounded border border-border/60 bg-muted/20 p-3 text-xs",e.warn&&"border-red-500/40 bg-red-500/10"),children:[(0,t.jsxs)("div",{className:"font-medium",children:[e.label,e.provider?(0,t.jsx)("span",{className:"pl-2 font-normal text-muted-foreground",children:e.provider}):null]}),(0,t.jsx)("div",{className:"font-mono break-all text-muted-foreground",children:"env"===e.source?e.envVar:`${e.hostPath??""} → ${e.boxPath??""}`}),e.caveat?(0,t.jsx)("div",{className:"pt-1 text-amber-300",children:e.caveat}):null]},e.value))}):"credential"===e.type&&"hostPath"in e?(0,t.jsxs)("div",{className:"space-y-1 rounded border border-border/60 bg-muted/20 p-3 text-xs",children:[(0,t.jsx)("div",{className:"font-medium",children:e.label}),(0,t.jsxs)("div",{className:"font-mono break-all text-muted-foreground",children:[e.hostPath," ",(0,t.jsx)("span",{className:"px-1",children:"→"})," ",e.boxPath]}),e.caveat?(0,t.jsx)("div",{className:"pt-1 text-amber-300",children:e.caveat}):null]}):(0,t.jsx)("pre",{className:"overflow-x-auto rounded border border-border/60 bg-muted/20 p-3 font-mono text-xs",children:e.summary}):null}let T="__custom__",R=[{id:"docker",label:"Docker (local)",configured:!0}],I=new Set(["e2b","vercel"]),P=[{id:"claude",label:"Claude"},{id:"codex",label:"Codex"},{id:"opencode",label:"OpenCode"},{id:"pi",label:"Pi"}];function $({project:e,projects:s,initialRestore:r,onClose:l}){let i,o,d=(0,a.useRouter)(),{state:h}=(0,w.useStore)(),[v,B]=(0,c.useState)(null),D=v??(h.providers.length?h.providers:R),[O,F]=(0,c.useTransition)(),[U,q]=(0,c.useState)(e?.id??s[0]?.id??""),[H,E]=(0,c.useState)("claude"),[L,M]=(0,c.useState)(null),[K,J]=(0,c.useState)(null),_=K??P,[V,W]=(0,c.useState)("docker"),[G,Y]=(0,c.useState)(""),[Q,X]=(0,c.useState)(""),[Z,ee]=(0,c.useState)(""),[et,ea]=(0,c.useState)(null),[es,en]=(0,c.useState)(!1),[er,el]=(0,c.useState)([]),[ei,eo]=(0,c.useState)(r??""),[ed,ec]=(0,c.useState)(!1),eu=(0,c.useRef)(r?e?.id??s[0]?.id??"":null),[ex,eh]=(0,c.useState)(null),[em,ep]=(0,c.useState)(!1),[eb,ef]=(0,c.useState)(""),[eg,ej]=(0,c.useState)(""),[ev,eN]=(0,c.useState)(null),[ey,eS]=(0,c.useState)(null),[ew,ek]=(0,c.useState)(null),[eC,eB]=(0,c.useState)([]),[eT,eR]=(0,c.useState)([]),[eI,eP]=(0,c.useState)([]),[e$,ez]=(0,c.useState)("streaming"),[eA,eD]=(0,c.useState)(null),[eO,eF]=(0,c.useState)(null),[eU,eq]=(0,c.useState)(!1),[eH,eE]=(0,c.useState)(null);(0,c.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await fetch("/api/v1/providers?freshness=1&hosts=expand",{credentials:"same-origin"});if(!t.ok)return;let a=await t.json();if(e)return;let s=a.providers??[];B(s);let n={};for(let e of s)n[e.id]={baseStatus:e.baseStatus,baseStaleReason:e.baseStaleReason,jobId:e.jobId};eE(n)}catch{}})(),()=>{e=!0}},[]),(0,c.useEffect)(()=>{let e=!1;if(el([]),eu.current===U?eu.current=null:eo(""),U)return(async()=>{try{let t=await fetch(`/api/v1/projects/${encodeURIComponent(U)}/bots`,{credentials:"same-origin"});if(!t.ok)return;let a=await t.json();if(e)return;el((a.bots??[]).filter(e=>e.backups.some(e=>e.state)))}catch{}})(),()=>{e=!0}},[U]),(0,c.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await fetch("/api/v1/agents",{credentials:"same-origin"});if(!t.ok)return;let a=await t.json();if(e||!a.agents?.length)return;J(a.agents)}catch{}})(),()=>{e=!0}},[]);let eL=s.find(e=>e.id===U)??e,eM=(()=>{let e=ei?(0,S.parseRestoreKey)(ei):null;if(!e)return null;let t=er.find(t=>t.bot===e.bot),a=t&&(0,S.restorableBackups)(t).find(t=>t.stamp===e.stamp);return t&&a?{bot:t.bot,stamp:a.stamp}:null})(),eK=x(i=eL?.lastProvider??void 0,D)?i:"docker",eJ=(o=eL?.lastAgent??void 0)&&_.some(e=>e.id===o)?o:_.some(e=>e.id===u)?u:_[0]?.id??u,e_=x(V,D),eV="none"===H||_.some(e=>e.id===H);(0,c.useEffect)(()=>{if(L!==U||!e_){W(eK),E(eJ),M(U);return}eV||E(eJ)},[U,L,e_,eV]);let eW=V??"docker",eG=D.find(e=>e.id===eW),eY=D.find(e=>"hub"===e.origin&&e.hubUrl)?.hubUrl,eQ=eH?.[eW],eX=I.has(eW),eZ=_.find(e=>e.id===H)?.surface==="service",e0=(ex??eZ)&&!eX,e1=(eb===T?eg:eb).trim(),e5=!eM&&!!eQ&&(!!eQ.jobId||"unprepared"===eQ.baseStatus||"stale"===eQ.baseStatus);(0,c.useEffect)(()=>{ef(""),ej(""),eN(null)},[eW]),(0,c.useEffect)(()=>{if(eG?.sizeAppliesAt!=="bake"||0===e1.length)return void eN(null);let e=!1,t=setTimeout(()=>{(async()=>{try{let t=await fetch(`/api/v1/providers/${encodeURIComponent(eW)}/size-check`,{method:"POST",headers:{"content-type":"application/json"},credentials:"same-origin",body:JSON.stringify({size:e1})});if(!t.ok||e)return;let a=await t.json();if(e)return;eN({required:!!a.rebakeRequired,reason:a.reason})}catch{}})()},400);return()=>{e=!0,clearTimeout(t)}},[eW,e1,eG?.sizeAppliesAt]),(0,c.useEffect)(()=>{if(!U||ew)return;en(eL?.needsSetup??!1);let e=!1;return ea(null),ee(eL?.currentBranch??""),y(U).then(t=>{if(e||!t.ok){e||t.ok||ea([]);return}ea(t.branches),t.current&&t.branches.includes(t.current)&&ee(t.current)}),()=>{e=!0}},[U,ew]);let e2=async e=>{try{let t=await fetch(`/api/v1/projects/${encodeURIComponent(U)}/restore`,{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json"},body:JSON.stringify({bot:e.bot,stamp:e.stamp,name:G.trim()||void 0,provider:V,...ed?{force:!0}:{}})});if(!t.ok){let e=await t.json().catch(()=>null);eS(e?.error?.message??`restore failed (HTTP ${String(t.status)})`);return}let a=await t.json();ek(a.jobId)}catch(e){eS(e instanceof Error?e.message:String(e))}},e4=async()=>{try{let e=await fetch(`/api/v1/projects/${encodeURIComponent(U)}/create-preflight`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({agent:H,provider:V})}),t=await e.json();if(eP(t?.unavailable??[]),e.ok&&t?.prompts?.length)return eB(t.prompts),eR([]),!0}catch{}return!1},e3=(e=eT)=>{ev?.required&&!e5?e6():e5?ev?.required||"docker"===eW||eQ?.baseStatus!=="stale"||eQ.jobId?e6():eq(!0):e9(e)},e6=()=>{eS(null);let e=eQ?.jobId;e?eF(e):F(async()=>{try{let e=await fetch(`/api/v1/providers/${encodeURIComponent(eW)}/prepare`,{method:"POST",headers:{"content-type":"application/json"},credentials:"same-origin",body:JSON.stringify({...e1.length>0?{size:e1}:{},...ev?.required?{force:!0}:{}})}),t=await e.json().catch(()=>null);if(!e.ok||!t?.jobId)return void eS(t?.error?.message??`base image build request failed (${e.status})`);eF(t.jobId)}catch(e){eS(e instanceof Error?e.message:String(e))}})},e9=(e=eT)=>{eS(null),F(async()=>{await e8(e)})},e8=async e=>{let t,a=await N({projectId:U,agent:H,provider:V,name:G.trim()||void 0,prompt:"none"===H?void 0:Q.trim()||void 0,fromBranch:Z.trim()&&Z.trim()!==eL?.currentBranch?Z.trim():void 0,setupWizard:"none"!==H&&es,...(t={},e.length>0&&(t.promptAnswers=e),eX?eZ&&(t.persistent=!1):e0!==eZ&&(t.persistent=e0),e1.length>0&&eG?.sizeAppliesAt!=="bake"&&(t.size=e1),Object.keys(t).length>0?{opts:t}:{})});a.ok?(ek(a.jobId),eB([]),d.refresh()):eS(a.error)};return(0,t.jsxs)(p.Dialog,{onClose:l,className:ew||eO?"max-w-[900px]":"max-w-[560px]",children:[(0,t.jsxs)(p.DialogHeader,{children:[(0,t.jsx)(p.DialogIcon,{children:(0,t.jsx)(n.Icons.box,{})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(p.DialogTitle,{children:eC.length>0?"Create box":!ew&&eO?"Building base image":"Create box"}),(0,t.jsx)(p.DialogDescription,{children:eL?eL.name:"Start a box in a project"})]}),ew||eO?(0,t.jsx)("div",{className:"ml-auto mr-8 flex-none pt-0.5",children:(0,t.jsx)(z,{status:e$,loginPhase:eA})}):null]}),(0,t.jsxs)(p.DialogBody,{className:"flex flex-col gap-4",children:[!(eI.length>0)||ew||eO?null:(0,t.jsx)("div",{className:"space-y-1 rounded-md border border-amber-500/30 bg-amber-500/5 p-3 text-xs",children:eI.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-medium text-amber-200",children:e.topic}),(0,t.jsxs)("span",{className:"text-muted-foreground",children:[" — ",e.reason]})]},e.topic))}),eC.length>0?(0,t.jsx)(C,{request:eC[0],onAnswer:e=>{let t=eC[0];if(!t)return;let a=[...eT,{id:t.id,value:e}],s=eC.slice(1);if("cancel"===e){eB([]),eR([]);return}eR(a),eB(s),0===s.length&&e3(a)},disabled:O},eC[0].id):ew?(0,t.jsx)(k.JobLogStream,{jobId:ew,onStatus:ez,onDone:()=>d.refresh(),onLogin:e=>eD(e?.phase??null)}):eO?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"font-mono text-xs text-muted-foreground",children:["Building the ",eG?.label??eW," base image — one-time, can take several minutes. The box is created automatically when it finishes."]}),(0,t.jsx)(k.JobLogStream,{jobId:eO,onStatus:ez,onDone:e=>{"done"===e?e9():eS(`base image build ${e}`)}}),ey?(0,t.jsx)("div",{className:"font-mono text-xs text-destructive",children:ey}):null]}):eC.length>0?null:(0,t.jsxs)(t.Fragment,{children:[e?null:(0,t.jsx)(A,{label:"Project",children:(0,t.jsxs)(f.Select,{value:U,onChange:e=>q(e.target.value),children:[0===s.length?(0,t.jsx)("option",{value:"",children:"No projects — add one first"}):null,s.map(e=>(0,t.jsx)("option",{value:e.id,children:e.name},e.id))]})}),er.length>0?(0,t.jsxs)(A,{label:"Start from",children:[(0,t.jsxs)(f.Select,{value:ei,onChange:e=>eo(e.target.value),children:[(0,t.jsx)("option",{value:"",children:"New workspace"}),er.flatMap(e=>(0,S.restorableBackups)(e).map(a=>(0,t.jsxs)("option",{value:(0,S.restoreKeyOf)(e.bot,a.stamp),children:[e.bot," — ",(0,S.readableStamp)(a.stamp),a.stamp===e.latest?" (latest)":""]},(0,S.restoreKeyOf)(e.bot,a.stamp))))]}),eM?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mt-1.5 text-[11.5px] leading-normal text-muted-foreground",children:["Restores ",(0,t.jsx)("span",{className:"font-mono",children:eM.bot})," with"," ",(0,t.jsx)("strong",{children:"the same identity"}),"— same auth token, same pairings, same history. Refused while the box this backup came from is still running: two live gateways cannot share one identity."]}),(0,t.jsxs)("label",{className:"mt-2 flex items-start gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",checked:ed,onChange:e=>ec(e.target.checked),className:"mt-0.5 h-4 w-4 flex-none accent-primary"}),(0,t.jsx)("span",{className:"text-[11.5px] leading-normal text-muted-foreground",children:"Restore anyway if the source box is still running, or the destination is not empty"})]})]}):null]}):null,(0,t.jsx)(A,{label:"Provider",children:(0,t.jsx)(f.Select,{value:V,onChange:e=>W(e.target.value),children:D.map(e=>(0,t.jsxs)("option",{disabled:!e.configured||"hub"===e.origin,title:"hub"===e.origin?`Create these on the control box${e.hubUrl?` (${e.hubUrl})`:""}`:e.reason,value:e.id,children:[e.label,"hub"===e.origin?" — create on the control box":e.configured?"":" — not configured"]},e.id))})}),eY?(0,t.jsxs)("p",{className:"-mt-2 text-xs text-muted-foreground",children:["Cloud boxes are created on your control box."," ",(0,t.jsx)("a",{href:`${eY}/boxes`,target:"_blank",rel:"noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Open it ↗"})]}):null,e5?(0,t.jsx)("p",{className:"-mt-2 font-mono text-xs text-amber-600 dark:text-amber-400",title:eQ?.baseStaleReason,children:eQ?.jobId?"A base-image build is already running — the box will be created when it finishes.":eQ?.baseStatus==="unprepared"?"First use of this provider: the base image will be downloaded or built first (can take 5–10 minutes).":"The base image is out of date and will be rebuilt first (can take 5–10 minutes)."}):null,eM?null:null===et?(0,t.jsx)(A,{label:"Base branch",children:(0,t.jsx)(f.Select,{value:"",disabled:!0,children:(0,t.jsx)("option",{value:"",children:"Loading branches…"})})}):et.length>0?(0,t.jsx)(A,{label:"Base branch",children:(0,t.jsxs)(f.Select,{value:Z,onChange:e=>ee(e.target.value),children:[eL?.currentBranch&&!et.includes(eL.currentBranch)?(0,t.jsxs)("option",{value:"",children:[eL.currentBranch," (current)"]}):null,et.map(e=>(0,t.jsxs)("option",{value:e,children:[e,e===eL?.currentBranch?" (current)":""]},e))]})}):null,eM?null:(0,t.jsx)(A,{label:"Agent",children:(0,t.jsxs)(f.Select,{value:H,onChange:e=>E(e.target.value),children:[_.map(e=>(0,t.jsx)("option",{value:e.id,children:!1===e.installed?`${e.label} — not set up on this host`:e.label},e.id)),(0,t.jsx)("option",{value:"none",children:"Empty — just create the box"})]})}),(0,t.jsx)(A,{label:"Name (optional)",children:(0,t.jsx)(b.Input,{value:G,onChange:e=>Y(e.target.value),placeholder:"auto"})}),eL?.needsSetup&&"none"!==H&&!eM?(0,t.jsxs)("label",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",checked:es,onChange:e=>en(e.target.checked),className:"mt-0.5 h-4 w-4 flex-none accent-primary"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-secondary-foreground",children:"Run setup wizard"}),(0,t.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:"This project has no agentbox.yaml — the agent explores the repo and proposes one on its first turn."})]})]}):null,"none"!==H||eM?null:(0,t.jsxs)("p",{className:"font-mono text-xs text-muted-foreground",children:["The box is created and left running with no agent — attach later from a terminal or SSH (",(0,t.jsx)("span",{className:"text-secondary-foreground",children:"agentbox shell"}),")."]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>ep(e=>!e),className:"flex cursor-pointer items-center gap-1.5 self-start text-xs font-medium text-secondary-foreground transition-colors hover:text-foreground",children:[(0,t.jsx)(n.Icons.chevR,{className:(0,g.cn)("size-3.5 transition-transform",em&&"rotate-90")}),"Advanced"]}),em?(0,t.jsxs)(t.Fragment,{children:[eG?.sizes?.length?(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)(A,{label:"Size",children:(0,t.jsxs)(f.Select,{value:eb,onChange:e=>{ef(e.target.value),e.target.value!==T&&ej("")},children:[(0,t.jsx)("option",{value:"",children:"Provider default"}),eG.sizes.map(e=>(0,t.jsx)("option",{value:e.key,children:e.label},e.key)),eG.sizeHint?(0,t.jsx)("option",{value:T,children:"Custom…"}):null]})}),eb===T?(0,t.jsx)(b.Input,{value:eg,onChange:e=>ej(e.target.value),placeholder:eG.sizeHint,autoFocus:!0}):null,ev?.required?(0,t.jsxs)("p",{className:"font-mono text-xs text-amber-500",title:ev.reason,children:[eG.label," fixes the size at bake time, so the base image is rebuilt first",eG.bake?.approxMinutes?` (about ${eG.bake.approxMinutes} min)`:"","."]}):null]}):null,"none"!==H?(0,t.jsx)(A,{label:"Initial prompt (optional)",children:(0,t.jsx)(j,{value:Q,onChange:e=>X(e.target.value),rows:3,placeholder:"Leave empty to just start the agent — attach later from a terminal or SSH."})}):null,(0,t.jsxs)("label",{className:(0,g.cn)("flex items-start gap-2.5",eX&&"cursor-not-allowed opacity-60"),children:[(0,t.jsx)("input",{type:"checkbox",checked:e0,disabled:eX,onChange:e=>eh(e.target.checked),className:"mt-0.5 h-4 w-4 flex-none accent-primary"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-secondary-foreground",children:"Persistent"}),(0,t.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:eX?`${eG?.label??eW} caps how long a sandbox can live, so an always-on box is not possible there.`:"Keep this box always on and protected from pruning"})]})]})]}):null]}),ey?(0,t.jsx)("div",{className:"font-mono text-xs text-destructive",children:ey}):null]})]}),(0,t.jsx)(p.DialogFooter,{children:eC.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"mr-auto self-center font-mono text-xs text-muted-foreground",children:eC.length>1?`${String(eC.length)} questions before this box is created`:"One question before this box is created"}),(0,t.jsx)(m.Button,{variant:"outline",onClick:l,disabled:O,children:"Cancel"})]}):ew||eO?(0,t.jsxs)(t.Fragment,{children:["streaming"===e$?(0,t.jsx)("span",{className:"mr-auto self-center font-mono text-xs text-muted-foreground",children:ew?"The box + agent start in the background — you can close this.":"Keep this open — the box is created when the build finishes."}):null,(0,t.jsx)(m.Button,{onClick:l,children:"Close"})]}):eU?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"mr-auto self-center font-mono text-xs text-muted-foreground",title:eQ?.baseStaleReason,children:["The ",eG?.label??eW," base image is out of date."]}),(0,t.jsx)(m.Button,{variant:"outline",onClick:()=>eq(!1),disabled:O,children:"Cancel"}),(0,t.jsx)(m.Button,{variant:"outline",onClick:()=>{eq(!1),e9()},disabled:O,children:"Use existing image"}),(0,t.jsx)(m.Button,{onClick:()=>{eq(!1),e6()},disabled:O,children:"Rebuild & create"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Button,{variant:"outline",onClick:l,disabled:O,children:"Cancel"}),(0,t.jsx)(m.Button,{onClick:()=>{(eS(null),U)?eM?F(async()=>{await e2(eM)}):F(async()=>{await e4()||e3()}):eS("pick a project")},disabled:O||!U,children:O?"Starting…":eM?"Restore":"Create box"})]})})]})}function z({status:e,loginPhase:a}){return"done"===e?(0,t.jsxs)(h.Badge,{className:"badge-run",children:[(0,t.jsx)("span",{className:"badge-dot"}),"Done"]}):"failed"===e||"error"===e||"cancelled"===e?(0,t.jsxs)(h.Badge,{className:"badge-err",children:[(0,t.jsx)("span",{className:"badge-dot"}),"Failed"]}):"error"===a?(0,t.jsxs)(h.Badge,{className:"badge-err",children:[(0,t.jsx)("span",{className:"badge-dot"}),"Login failed"]}):"awaiting-code"===a||"starting"===a||"exchanging"===a?(0,t.jsxs)(h.Badge,{className:"badge-create",children:[(0,t.jsx)("span",{className:"badge-dot"}),"Login required"]}):(0,t.jsxs)(h.Badge,{className:"badge-create",children:[(0,t.jsx)("span",{className:"badge-dot"}),"Working…"]})}function A({label:e,children:a}){return(0,t.jsxs)("label",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-secondary-foreground",children:e}),a]})}e.s(["CreateBoxButton",0,function({project:e,projects:a,variant:s,size:r,className:l,label:i,icon:o,initialRestore:d}){let[u,x]=(0,c.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(m.Button,{variant:s,size:r,className:l,onClick:()=>x(!0),children:[o?(0,t.jsx)(o,{}):(0,t.jsx)(n.Icons.plus,{}),i??"Create box"]}),u?(0,t.jsx)($,{project:e,projects:a??(e?[e]:[]),initialRestore:d,onClose:()=>x(!1)}):null]})}],93268);let D=(0,v.createServerReference)("4069d41484fe5995f8acd539b9f440661717b97aee",v.callServer,void 0,v.findSourceMapURL,"removeProjectAction");e.s(["DeleteProjectButton",0,function({project:e,size:s,className:r,redirectHome:l}){let i=(0,a.useRouter)(),[o,d]=(0,c.useTransition)();return(0,t.jsxs)(m.Button,{variant:"destructive",size:s,className:r,title:"Delete project",disabled:o,onClick:t=>{t.stopPropagation(),t.preventDefault(),window.confirm(`Remove project "${e.name}" from the hub? Its folder and files are NOT deleted — this only unregisters it (and any hub-set project settings). This cannot be undone.`)&&d(async()=>{let t=await D(e.id);t.ok?l?i.push("/"):i.refresh():window.alert(`Delete failed: ${t.error}`)})},children:[(0,t.jsx)(n.Icons.trash,{}),"Delete"]})}],66818)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65232,e=>{"use strict";let r=(e=new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),o=[],t=(e,r,o)=>{if(0==e.length-r)return o.classGroupId;let l=e[r],s=o.nextPart.get(l);if(s){let o=t(e,r+1,s);if(o)return o}let a=o.validators;if(null===a)return;let n=0===r?e.join("-"):e.slice(r).join("-"),i=a.length;for(let e=0;e<i;e++){let r=a[e];if(r.validator(n))return r.classGroupId}},l=(e,o)=>{let t=r();for(let r in e)s(e[r],t,r,o);return t},s=(e,r,o,t)=>{let l=e.length;for(let s=0;s<l;s++)a(e[s],r,o,t)},a=(e,r,o,t)=>{"string"==typeof e?n(e,r,o):"function"==typeof e?i(e,r,o,t):c(e,r,o,t)},n=(e,r,o)=>{(""===e?r:d(r,e)).classGroupId=o},i=(e,r,o,t)=>{m(e)?s(e(t),r,o,t):(null===r.validators&&(r.validators=[]),r.validators.push({classGroupId:o,validator:e}))},c=(e,r,o,t)=>{let l=Object.entries(e),a=l.length;for(let e=0;e<a;e++){let[a,n]=l[e];s(n,d(r,a),o,t)}},d=(e,o)=>{let t=e,l=o.split("-"),s=l.length;for(let e=0;e<s;e++){let o=l[e],s=t.nextPart.get(o);s||(s=r(),t.nextPart.set(o,s)),t=s}return t},m=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,p=[],b=(e,r,o,t,l)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:l}),u=/\s+/,f=e=>{let r;if("string"==typeof e)return e;let o="";for(let t=0;t<e.length;t++)e[t]&&(r=f(e[t]))&&(o&&(o+=" "),o+=r);return o},g=[],h=e=>{let r=r=>r[e]||g;return r.isThemeGetter=!0,r},k=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,w=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,v=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,y=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>w.test(e),O=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),I=e=>e.endsWith("%")&&O(e.slice(0,-1)),N=e=>v.test(e),T=()=>!0,$=e=>y.test(e)&&!z.test(e),M=()=>!1,A=e=>j.test(e),P=e=>G.test(e),S=e=>!B(e)&&!H(e),L=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),q=e=>er(e,es,M),B=e=>k.test(e),K=e=>er(e,ea,$),R=e=>er(e,en,O),U=e=>er(e,ec,T),_=e=>er(e,ei,M),E=e=>er(e,et,M),D=e=>er(e,el,P),F=e=>er(e,ed,A),H=e=>x.test(e),J=e=>eo(e,ea),Q=e=>eo(e,ei),V=e=>eo(e,et),X=e=>eo(e,es),Y=e=>eo(e,el),Z=e=>eo(e,ed,!0),ee=e=>eo(e,ec,!0),er=(e,r,o)=>{let t=k.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},eo=(e,r,o=!1)=>{let t=x.exec(e);return!!t&&(t[1]?r(t[1]):o)},et=e=>"position"===e||"percentage"===e,el=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,ea=e=>"length"===e,en=e=>"number"===e,ei=e=>"family-name"===e,ec=e=>"number"===e||"weight"===e,ed=e=>"shadow"===e,em=((e,...r)=>{let s,a,n,i,c=e=>{let r=a(e);if(r)return r;let o=((e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:l,sortModifiers:s,postfixLookupClassGroupIds:a}=r,n=[],i=e.trim().split(u),c="";for(let e=i.length-1;e>=0;e-=1){let r,d=i[e],{isExternal:m,modifiers:p,hasImportantModifier:b,baseClassName:u,maybePostfixModifierPosition:f}=o(d);if(m){c=d+(c.length>0?" "+c:c);continue}let g=!!f;if(g){let e=(r=t(u.substring(0,f)))&&a[r]?t(u):void 0;e&&e!==r&&(r=e,g=!1)}else r=t(u);if(!r){if(!g||!(r=t(u))){c=d+(c.length>0?" "+c:c);continue}g=!1}let h=0===p.length?"":1===p.length?p[0]:s(p).join(":"),k=b?h+"!":h,x=k+r;if(n.indexOf(x)>-1)continue;n.push(x);let w=l(r,g);for(let e=0;e<w.length;++e){let r=w[e];n.push(k+r)}c=d+(c.length>0?" "+c:c)}return c})(e,s);return n(e,o),o};return i=d=>{var m;let u;return a=(s={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,o=Object.create(null),t=Object.create(null),l=(l,s)=>{o[l]=s,++r>e&&(r=0,t=o,o=Object.create(null))};return{get(e){let r=o[e];return void 0!==r?r:void 0!==(r=t[e])?(l(e,r),r):void 0},set(e,r){e in o?o[e]=r:l(e,r)}}})((m=r.reduce((e,r)=>r(e),e())).cacheSize),parseClassName:(e=>{let{prefix:r,experimentalParseClassName:o}=e,t=e=>{let r,o=[],t=0,l=0,s=0,a=e.length;for(let n=0;n<a;n++){let a=e[n];if(0===t&&0===l){if(":"===a){o.push(e.slice(s,n)),s=n+1;continue}if("/"===a){r=n;continue}}"["===a?t++:"]"===a?t--:"("===a?l++:")"===a&&l--}let n=0===o.length?e:e.slice(s),i=n,c=!1;return n.endsWith("!")?(i=n.slice(0,-1),c=!0):n.startsWith("!")&&(i=n.slice(1),c=!0),b(o,c,i,r&&r>s?r-s:void 0)};if(r){let e=r+":",o=t;t=r=>r.startsWith(e)?o(r.slice(e.length)):b(p,!1,r,void 0,!0)}if(o){let e=t;t=r=>o({className:r,parseClassName:e})}return t})(m),sortModifiers:(u=new Map,m.orderSensitiveModifiers.forEach((e,r)=>{u.set(e,1e6+r)}),e=>{let r=[],o=[];for(let t=0;t<e.length;t++){let l=e[t],s="["===l[0],a=u.has(l);s||a?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(l)):o.push(l)}return o.length>0&&(o.sort(),r.push(...o)),r}),postfixLookupClassGroupIds:(e=>{let r=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let e=0;e<o.length;e++)r[o[e]]=!0;return r})(m),...(e=>{let r=(e=>{let{theme:r,classGroups:o}=e;return l(o,r)})(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var o;let r,t,l;return -1===(o=e).slice(1,-1).indexOf(":")?void 0:(t=(r=o.slice(1,-1)).indexOf(":"),(l=r.slice(0,t))?"arbitrary.."+l:void 0)}let l=e.split("-"),s=+(""===l[0]&&l.length>1);return t(l,s,r)},getConflictingClassGroupIds:(e,r)=>{if(r){let r=a[e],t=s[e];if(r){if(t){let e=Array(t.length+r.length);for(let r=0;r<t.length;r++)e[r]=t[r];for(let o=0;o<r.length;o++)e[t.length+o]=r[o];return e}return r}return t||o}return s[e]||o}}})(m)}).cache.get,n=s.cache.set,i=c,c(d)},(...e)=>i(((...e)=>{let r,o,t=0,l="";for(;t<e.length;)(r=e[t++])&&(o=f(r))&&(l&&(l+=" "),l+=o);return l})(...e))})(()=>{let e=h("color"),r=h("font"),o=h("text"),t=h("font-weight"),l=h("tracking"),s=h("leading"),a=h("breakpoint"),n=h("container"),i=h("spacing"),c=h("radius"),d=h("shadow"),m=h("inset-shadow"),p=h("text-shadow"),b=h("drop-shadow"),u=h("blur"),f=h("perspective"),g=h("aspect"),k=h("ease"),x=h("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],y=()=>[...v(),H,B],z=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],G=()=>[H,B,i],$=()=>[C,"full","auto",...G()],M=()=>[W,"none","subgrid",H,B],A=()=>["auto",{span:["full",W,H,B]},W,H,B],P=()=>[W,"auto",H,B],er=()=>["auto","min","max","fr",H,B],eo=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],et=()=>["start","end","center","stretch","center-safe","end-safe"],el=()=>["auto",...G()],es=()=>[C,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...G()],ea=()=>[C,"screen","full","dvw","lvw","svw","min","max","fit",...G()],en=()=>[C,"screen","full","lh","dvh","lvh","svh","min","max","fit",...G()],ei=()=>[e,H,B],ec=()=>[...v(),V,E,{position:[H,B]}],ed=()=>["no-repeat",{repeat:["","x","y","space","round"]}],em=()=>["auto","cover","contain",X,q,{size:[H,B]}],ep=()=>[I,J,K],eb=()=>["","none","full",c,H,B],eu=()=>["",O,J,K],ef=()=>["solid","dashed","dotted","double"],eg=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eh=()=>[O,I,V,E],ek=()=>["","none",u,H,B],ex=()=>["none",O,H,B],ew=()=>["none",O,H,B],ev=()=>[O,H,B],ey=()=>[C,"full",...G()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[T],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[S],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",O],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",C,B,H,g]}],container:["container"],"container-type":[{"@container":["","normal","size",H,B]}],"container-named":[L],columns:[{columns:[O,B,H,n]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",H,B]}],basis:[{basis:[C,"full","auto",n,...G()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,C,"auto","initial","none",B]}],grow:[{grow:["",O,H,B]}],shrink:[{shrink:["",O,H,B]}],order:[{order:[W,"first","last","none",H,B]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":er()}],"auto-rows":[{"auto-rows":er()}],gap:[{gap:G()}],"gap-x":[{"gap-x":G()}],"gap-y":[{"gap-y":G()}],"justify-content":[{justify:[...eo(),"normal"]}],"justify-items":[{"justify-items":[...et(),"normal"]}],"justify-self":[{"justify-self":["auto",...et()]}],"align-content":[{content:["normal",...eo()]}],"align-items":[{items:[...et(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...et(),{baseline:["","last"]}]}],"place-content":[{"place-content":eo()}],"place-items":[{"place-items":[...et(),"baseline"]}],"place-self":[{"place-self":["auto",...et()]}],p:[{p:G()}],px:[{px:G()}],py:[{py:G()}],ps:[{ps:G()}],pe:[{pe:G()}],pbs:[{pbs:G()}],pbe:[{pbe:G()}],pt:[{pt:G()}],pr:[{pr:G()}],pb:[{pb:G()}],pl:[{pl:G()}],m:[{m:el()}],mx:[{mx:el()}],my:[{my:el()}],ms:[{ms:el()}],me:[{me:el()}],mbs:[{mbs:el()}],mbe:[{mbe:el()}],mt:[{mt:el()}],mr:[{mr:el()}],mb:[{mb:el()}],ml:[{ml:el()}],"space-x":[{"space-x":G()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":G()}],"space-y-reverse":["space-y-reverse"],size:[{size:es()}],"inline-size":[{inline:["auto",...ea()]}],"min-inline-size":[{"min-inline":["auto",...ea()]}],"max-inline-size":[{"max-inline":["none",...ea()]}],"block-size":[{block:["auto",...en()]}],"min-block-size":[{"min-block":["auto",...en()]}],"max-block-size":[{"max-block":["none",...en()]}],w:[{w:[n,"screen",...es()]}],"min-w":[{"min-w":[n,"screen","none",...es()]}],"max-w":[{"max-w":[n,"screen","none","prose",{screen:[a]},...es()]}],h:[{h:["screen","lh",...es()]}],"min-h":[{"min-h":["screen","lh","none",...es()]}],"max-h":[{"max-h":["screen","lh",...es()]}],"font-size":[{text:["base",o,J,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,ee,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",I,B]}],"font-family":[{font:[Q,_,r]}],"font-features":[{"font-features":[B]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,H,B]}],"line-clamp":[{"line-clamp":[O,"none",H,R]}],leading:[{leading:[s,...G()]}],"list-image":[{"list-image":["none",H,B]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",H,B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ei()}],"text-color":[{text:ei()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ef(),"wavy"]}],"text-decoration-thickness":[{decoration:[O,"from-font","auto",H,K]}],"text-decoration-color":[{decoration:ei()}],"underline-offset":[{"underline-offset":[O,"auto",H,B]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:G()}],"tab-size":[{tab:[W,H,B]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H,B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",H,B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ec()}],"bg-repeat":[{bg:ed()}],"bg-size":[{bg:em()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,H,B],radial:["",H,B],conic:[W,H,B]},Y,D]}],"bg-color":[{bg:ei()}],"gradient-from-pos":[{from:ep()}],"gradient-via-pos":[{via:ep()}],"gradient-to-pos":[{to:ep()}],"gradient-from":[{from:ei()}],"gradient-via":[{via:ei()}],"gradient-to":[{to:ei()}],rounded:[{rounded:eb()}],"rounded-s":[{"rounded-s":eb()}],"rounded-e":[{"rounded-e":eb()}],"rounded-t":[{"rounded-t":eb()}],"rounded-r":[{"rounded-r":eb()}],"rounded-b":[{"rounded-b":eb()}],"rounded-l":[{"rounded-l":eb()}],"rounded-ss":[{"rounded-ss":eb()}],"rounded-se":[{"rounded-se":eb()}],"rounded-ee":[{"rounded-ee":eb()}],"rounded-es":[{"rounded-es":eb()}],"rounded-tl":[{"rounded-tl":eb()}],"rounded-tr":[{"rounded-tr":eb()}],"rounded-br":[{"rounded-br":eb()}],"rounded-bl":[{"rounded-bl":eb()}],"border-w":[{border:eu()}],"border-w-x":[{"border-x":eu()}],"border-w-y":[{"border-y":eu()}],"border-w-s":[{"border-s":eu()}],"border-w-e":[{"border-e":eu()}],"border-w-bs":[{"border-bs":eu()}],"border-w-be":[{"border-be":eu()}],"border-w-t":[{"border-t":eu()}],"border-w-r":[{"border-r":eu()}],"border-w-b":[{"border-b":eu()}],"border-w-l":[{"border-l":eu()}],"divide-x":[{"divide-x":eu()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":eu()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ef(),"hidden","none"]}],"divide-style":[{divide:[...ef(),"hidden","none"]}],"border-color":[{border:ei()}],"border-color-x":[{"border-x":ei()}],"border-color-y":[{"border-y":ei()}],"border-color-s":[{"border-s":ei()}],"border-color-e":[{"border-e":ei()}],"border-color-bs":[{"border-bs":ei()}],"border-color-be":[{"border-be":ei()}],"border-color-t":[{"border-t":ei()}],"border-color-r":[{"border-r":ei()}],"border-color-b":[{"border-b":ei()}],"border-color-l":[{"border-l":ei()}],"divide-color":[{divide:ei()}],"outline-style":[{outline:[...ef(),"none","hidden"]}],"outline-offset":[{"outline-offset":[O,H,B]}],"outline-w":[{outline:["",O,J,K]}],"outline-color":[{outline:ei()}],shadow:[{shadow:["","none",d,Z,F]}],"shadow-color":[{shadow:ei()}],"inset-shadow":[{"inset-shadow":["none",m,Z,F]}],"inset-shadow-color":[{"inset-shadow":ei()}],"ring-w":[{ring:eu()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ei()}],"ring-offset-w":[{"ring-offset":[O,K]}],"ring-offset-color":[{"ring-offset":ei()}],"inset-ring-w":[{"inset-ring":eu()}],"inset-ring-color":[{"inset-ring":ei()}],"text-shadow":[{"text-shadow":["none",p,Z,F]}],"text-shadow-color":[{"text-shadow":ei()}],opacity:[{opacity:[O,H,B]}],"mix-blend":[{"mix-blend":[...eg(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":eg()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":eh()}],"mask-image-linear-to-pos":[{"mask-linear-to":eh()}],"mask-image-linear-from-color":[{"mask-linear-from":ei()}],"mask-image-linear-to-color":[{"mask-linear-to":ei()}],"mask-image-t-from-pos":[{"mask-t-from":eh()}],"mask-image-t-to-pos":[{"mask-t-to":eh()}],"mask-image-t-from-color":[{"mask-t-from":ei()}],"mask-image-t-to-color":[{"mask-t-to":ei()}],"mask-image-r-from-pos":[{"mask-r-from":eh()}],"mask-image-r-to-pos":[{"mask-r-to":eh()}],"mask-image-r-from-color":[{"mask-r-from":ei()}],"mask-image-r-to-color":[{"mask-r-to":ei()}],"mask-image-b-from-pos":[{"mask-b-from":eh()}],"mask-image-b-to-pos":[{"mask-b-to":eh()}],"mask-image-b-from-color":[{"mask-b-from":ei()}],"mask-image-b-to-color":[{"mask-b-to":ei()}],"mask-image-l-from-pos":[{"mask-l-from":eh()}],"mask-image-l-to-pos":[{"mask-l-to":eh()}],"mask-image-l-from-color":[{"mask-l-from":ei()}],"mask-image-l-to-color":[{"mask-l-to":ei()}],"mask-image-x-from-pos":[{"mask-x-from":eh()}],"mask-image-x-to-pos":[{"mask-x-to":eh()}],"mask-image-x-from-color":[{"mask-x-from":ei()}],"mask-image-x-to-color":[{"mask-x-to":ei()}],"mask-image-y-from-pos":[{"mask-y-from":eh()}],"mask-image-y-to-pos":[{"mask-y-to":eh()}],"mask-image-y-from-color":[{"mask-y-from":ei()}],"mask-image-y-to-color":[{"mask-y-to":ei()}],"mask-image-radial":[{"mask-radial":[H,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":eh()}],"mask-image-radial-to-pos":[{"mask-radial-to":eh()}],"mask-image-radial-from-color":[{"mask-radial-from":ei()}],"mask-image-radial-to-color":[{"mask-radial-to":ei()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":eh()}],"mask-image-conic-to-pos":[{"mask-conic-to":eh()}],"mask-image-conic-from-color":[{"mask-conic-from":ei()}],"mask-image-conic-to-color":[{"mask-conic-to":ei()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ec()}],"mask-repeat":[{mask:ed()}],"mask-size":[{mask:em()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",H,B]}],filter:[{filter:["","none",H,B]}],blur:[{blur:ek()}],brightness:[{brightness:[O,H,B]}],contrast:[{contrast:[O,H,B]}],"drop-shadow":[{"drop-shadow":["","none",b,Z,F]}],"drop-shadow-color":[{"drop-shadow":ei()}],grayscale:[{grayscale:["",O,H,B]}],"hue-rotate":[{"hue-rotate":[O,H,B]}],invert:[{invert:["",O,H,B]}],saturate:[{saturate:[O,H,B]}],sepia:[{sepia:["",O,H,B]}],"backdrop-filter":[{"backdrop-filter":["","none",H,B]}],"backdrop-blur":[{"backdrop-blur":ek()}],"backdrop-brightness":[{"backdrop-brightness":[O,H,B]}],"backdrop-contrast":[{"backdrop-contrast":[O,H,B]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,H,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,H,B]}],"backdrop-invert":[{"backdrop-invert":["",O,H,B]}],"backdrop-opacity":[{"backdrop-opacity":[O,H,B]}],"backdrop-saturate":[{"backdrop-saturate":[O,H,B]}],"backdrop-sepia":[{"backdrop-sepia":["",O,H,B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":G()}],"border-spacing-x":[{"border-spacing-x":G()}],"border-spacing-y":[{"border-spacing-y":G()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",H,B]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",H,B]}],ease:[{ease:["linear","initial",k,H,B]}],delay:[{delay:[O,H,B]}],animate:[{animate:["none",x,H,B]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,H,B]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:ex()}],"rotate-x":[{"rotate-x":ex()}],"rotate-y":[{"rotate-y":ex()}],"rotate-z":[{"rotate-z":ex()}],scale:[{scale:ew()}],"scale-x":[{"scale-x":ew()}],"scale-y":[{"scale-y":ew()}],"scale-z":[{"scale-z":ew()}],"scale-3d":["scale-3d"],skew:[{skew:ev()}],"skew-x":[{"skew-x":ev()}],"skew-y":[{"skew-y":ev()}],transform:[{transform:[H,B,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ey()}],"translate-x":[{"translate-x":ey()}],"translate-y":[{"translate-y":ey()}],"translate-z":[{"translate-z":ey()}],"translate-none":["translate-none"],zoom:[{zoom:[W,H,B]}],accent:[{accent:ei()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ei()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",H,B]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":ei()}],"scrollbar-track-color":[{"scrollbar-track":ei()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mbs":[{"scroll-mbs":G()}],"scroll-mbe":[{"scroll-mbe":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pbs":[{"scroll-pbs":G()}],"scroll-pbe":[{"scroll-pbe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",H,B]}],fill:[{fill:["none",...ei()]}],"stroke-w":[{stroke:[O,J,K,R]}],stroke:[{stroke:["none",...ei()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});e.s(["cn",0,function(...e){return em(function(){for(var e,r,o=0,t="",l=arguments.length;o<l;o++)(e=arguments[o])&&(r=function e(r){var o,t,l="";if("string"==typeof r||"number"==typeof r)l+=r;else if("object"==typeof r)if(Array.isArray(r)){var s=r.length;for(o=0;o<s;o++)r[o]&&(t=e(r[o]))&&(l&&(l+=" "),l+=t)}else for(t in r)r[t]&&(l&&(l+=" "),l+=t);return l}(e))&&(t&&(t+=" "),t+=r);return t}(e))}],65232)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68223,e=>{"use strict";var t,n,r=e.i(40798);let i=Object.create(null),o=e=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?i:globalThis),s=new Proxy(i,{get:(e,t)=>o()[t]??i[t],has:(e,t)=>t in o()||t in i,set:(e,t,n)=>(o(!0)[t]=n,!0),deleteProperty(e,t){if(!t)return!1;let n=o(!0);return delete n[t],!0},ownKeys:()=>Object.keys(o(!0))});function a(e,t){return void 0!==r.default&&r.default.env?r.default.env[e]??t:"u">typeof Deno?Deno.env.get(e)??t:"u">typeof Bun?Bun.env[e]??t:t}s.NODE_ENV,Object.freeze({get BETTER_AUTH_SECRET(){return a("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return a("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return a("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return a("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return a("NODE_ENV","development")},get PACKAGE_VERSION(){return a("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return a("BETTER_AUTH_TELEMETRY_ENDPOINT","")}}),Object.fromEntries(Object.entries({USER_NOT_FOUND:"User not found",FAILED_TO_CREATE_USER:"Failed to create user",FAILED_TO_CREATE_SESSION:"Failed to create session",FAILED_TO_UPDATE_USER:"Failed to update user",FAILED_TO_GET_SESSION:"Failed to get session",INVALID_PASSWORD:"Invalid password",INVALID_EMAIL:"Invalid email",INVALID_EMAIL_OR_PASSWORD:"Invalid email or password",INVALID_USER:"Invalid user",SOCIAL_ACCOUNT_ALREADY_LINKED:"Social account already linked",PROVIDER_NOT_FOUND:"Provider not found",INVALID_TOKEN:"Invalid token",TOKEN_EXPIRED:"Token expired",ID_TOKEN_NOT_SUPPORTED:"id_token not supported",FAILED_TO_GET_USER_INFO:"Failed to get user info",USER_EMAIL_NOT_FOUND:"User email not found",EMAIL_NOT_VERIFIED:"Email not verified",PASSWORD_TOO_SHORT:"Password too short",PASSWORD_TOO_LONG:"Password too long",USER_ALREADY_EXISTS:"User already exists.",USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL:"User already exists. Use another email.",EMAIL_CAN_NOT_BE_UPDATED:"Email can not be updated",CHANGE_EMAIL_DISABLED:"Change email is disabled",CREDENTIAL_ACCOUNT_NOT_FOUND:"Credential account not found",SESSION_EXPIRED:"Session expired. Re-authenticate to perform this action.",FAILED_TO_UNLINK_LAST_ACCOUNT:"You can't unlink your last account",ACCOUNT_NOT_FOUND:"Account not found",USER_ALREADY_HAS_PASSWORD:"User already has a password. Provide that to delete the account.",CROSS_SITE_NAVIGATION_LOGIN_BLOCKED:"Cross-site navigation login blocked. This request appears to be a CSRF attack.",VERIFICATION_EMAIL_NOT_ENABLED:"Verification email isn't enabled",EMAIL_ALREADY_VERIFIED:"Email is already verified",EMAIL_MISMATCH:"Email mismatch",SESSION_NOT_FRESH:"Session is not fresh",LINKED_ACCOUNT_ALREADY_EXISTS:"Linked account already exists",INVALID_ORIGIN:"Invalid origin",INVALID_CALLBACK_URL:"Invalid callbackURL",INVALID_REDIRECT_URL:"Invalid redirectURL",INVALID_ERROR_CALLBACK_URL:"Invalid errorCallbackURL",INVALID_NEW_USER_CALLBACK_URL:"Invalid newUserCallbackURL",MISSING_OR_NULL_ORIGIN:"Missing or null Origin",CALLBACK_URL_REQUIRED:"callbackURL is required",FAILED_TO_CREATE_VERIFICATION:"Unable to create verification",FIELD_NOT_ALLOWED:"Field not allowed to be set",ASYNC_VALIDATION_NOT_SUPPORTED:"Async validation is not supported",VALIDATION_ERROR:"Validation Error",MISSING_FIELD:"Field is required",METHOD_NOT_ALLOWED_DEFER_SESSION_REQUIRED:"POST method requires deferSessionRefresh to be enabled in session config",BODY_MUST_BE_AN_OBJECT:"Body must be an object",PASSWORD_ALREADY_SET:"User already has a password set"}).map(([e,t])=>[e,{code:e,message:t,toString:()=>e}]));let l={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,TEMPORARY_REDIRECT:307,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,"I'M_A_TEAPOT":418,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE:431,UNAVAILABLE_FOR_LEGAL_REASONS:451,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511};var u=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",t,n={},r="number"==typeof e?e:l[e]){super(t?.message,t?.cause?{cause:t.cause}:void 0),this.status=e,this.body=t,this.headers=n,this.statusCode=r,this.name="APIError",this.status=e,this.headers=n,this.statusCode=r,this.body=t}};Symbol.for("better-call:api-error-headers"),t=u,n=Error,Object.defineProperty((class e extends t{#e;constructor(...e){if(function(){let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):Object.prototype.hasOwnProperty.call(e,"writable")?e.writable:void 0!==e.set}()){const t=Error.stackTraceLimit;Error.stackTraceLimit=0,super(...e),Error.stackTraceLimit=t}else super(...e);const t=Error().stack;t&&(this.#e=function(e){let t=e.split("\n at ");return t.length<=1?e:(t.splice(1,1),t.join("\n at "))}(t.replace(/^Error/,this.name)))}get errorStack(){return this.#e}}).prototype,"constructor",{get:()=>n,enumerable:!1,configurable:!0});var c=class extends Error{constructor(e,t){super(e,t),this.name="BetterAuthError",this.message=e,this.stack=""}};function d(e){let t=e.length;for(;t>0&&47===e.charCodeAt(t-1);)t--;return t===e.length?e:e.slice(0,t)}function f(e,t="/api/auth"){try{let t=new URL(e);if("http:"!==t.protocol&&"https:"!==t.protocol)throw new c(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(t){if(t instanceof c)throw t;throw new c(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:t})}if(function(e){try{return"/"!==(d(new URL(e).pathname)||"/")}catch{throw new c(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}(e))return e;let n=d(e);return t&&"/"!==t?(t=t.startsWith("/")?t:`/${t}`,`${n}${t}`):n}let p={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},E=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,h={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:1/0,"-infinity":-1/0},T=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/,_=["javascript:","data:","vbscript:"],R={id:"redirect",name:"Redirect",hooks:{onSuccess(e){if(e.data?.url&&e.data?.redirect&&function(e){let t;try{t=new URL(e)}catch{return!0}return!_.includes(t.protocol)}(e.data.url)&&"u">typeof window&&window.location&&window.location)try{window.location.href=e.data.url}catch{}}}},O=(e,t,n,r)=>(e.events=e.events||{},e.events[n+10]||(e.events[n+10]=r(t=>{e.events[n].reduceRight((e,t)=>(t(e),e),{shared:{},...t})})),e.events[n]=e.events[n]||[],e.events[n].push(t),()=>{let r=e.events[n],i=r.indexOf(t);r.splice(i,1),r.length||(delete e.events[n],e.events[n+10](),delete e.events[n+10])});function v(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function g(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!g(e[n],t[n]))return!1;return!0}if(v(e)&&v(t)){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!(r in t)||!g(e[r],t[r]))return!1;return!0}return!1}let b=Symbol.for("better-auth:broadcast-channel");var y=class{listeners=new Set;name;constructor(e="better-auth.message"){this.name=e}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}post(e){if("u">typeof window)try{localStorage.setItem(this.name,JSON.stringify({...e,timestamp:Math.floor(Date.now()/1e3)}))}catch{}}setup(){if("u"<typeof window||void 0===window.addEventListener)return()=>{};let e=e=>{if(e.key!==this.name)return;let t=JSON.parse(e.newValue??"{}");t?.event==="session"&&t?.data&&this.listeners.forEach(e=>e(t))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function A(e="better-auth.message"){return globalThis[b]||(globalThis[b]=new y(e)),globalThis[b]}let S=Symbol.for("better-auth:focus-manager");var I=class{listeners=new Set;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setFocused(e){this.listeners.forEach(t=>t(e))}setup(){if("u"<typeof window||"u"<typeof document||void 0===window.addEventListener)return()=>{};let e=()=>{"visible"===document.visibilityState&&this.setFocused(!0)};return document.addEventListener("visibilitychange",e,!1),()=>{document.removeEventListener("visibilitychange",e,!1)}}};function L(){return globalThis[S]||(globalThis[S]=new I),globalThis[S]}let w=Symbol.for("better-auth:online-manager");var m=class{listeners=new Set;isOnline="u"<typeof navigator||navigator.onLine;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setOnline(e){this.isOnline=e,this.listeners.forEach(t=>t(e))}setup(){if("u"<typeof window||void 0===window.addEventListener)return()=>{};let e=()=>this.setOnline(!0),t=()=>this.setOnline(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",e,!1),window.removeEventListener("offline",t,!1)}}};function U(){return globalThis[w]||(globalThis[w]=new m),globalThis[w]}let N=()=>Math.floor(Date.now()/1e3),D=[],P=0,C=globalThis.nanostoresGlobal||={epoch:0},j=e=>{let t=[],n={get:()=>(n.lc||n.listen(()=>{})(),n.value),init:e,lc:0,listen:e=>(n.lc=t.push(e),()=>{for(let t=P+4;t<D.length;)D[t]===e?D.splice(t,4):t+=4;let r=t.indexOf(e);~r&&(t.splice(r,1),--n.lc||n.off())}),notify(e,r){C.epoch++;let i=!D.length;for(let i of t)D.push(i,n,e,r);i&&(()=>{for(P=0;P<D.length;P+=4)D[P](D[P+1].value,D[P+2],D[P+3]);D.length=0})()},off(){},set(e){let t=n.value;t!==e&&(n.value=e,n.notify(t))},subscribe(e){let t=n.listen(e);return e(n.value),t},value:e};return n};function F(e){return"object"==typeof e&&null!==e&&"data"in e&&"error"in e?e:{data:e,error:null}}function B(e,t){return g(e.data,t.data)&&e.error===t.error&&e.isPending===t.isPending&&e.isRefetching===t.isRefetching&&e.refetch===t.refetch}function k(e){if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e))}function M(e){return(...t)=>t.reduce((t,n)=>(function e(t,n,r=".",i){if(!k(n))return e(t,{},r,i);let o={...n};for(let n of Object.keys(t)){if("__proto__"===n||"constructor"===n)continue;let s=t[n];null!=s&&(i&&i(o,n,s,r)||(Array.isArray(s)&&Array.isArray(o[n])?o[n]=[...s,...o[n]]:k(s)&&k(o[n])?o[n]=e(s,o[n],(r?`${r}.`:"")+n.toString(),i):o[n]=s))}return o})(t,n,"",e),{})}let x=M();M((e,t,n)=>{if(void 0!==e[t]&&"function"==typeof n)return e[t]=n(e[t]),!0}),M((e,t,n)=>{if(Array.isArray(e[t])&&"function"==typeof n)return e[t]=n(e[t]),!0});var V=Object.defineProperty,H=Object.defineProperties,$=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,Y=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&Y(e,n,t[n]);if(q)for(var n of q(t))W.call(t,n)&&Y(e,n,t[n]);return e},X=(e,t)=>H(e,$(t)),Q=class extends Error{constructor(e,t,n){super(t||e.toString(),{cause:n}),this.status=e,this.statusText=t,this.error=n,Error.captureStackTrace(this,this.constructor)}},J=async(e,t)=>{var n,r,i,o,s,a;let l=t||{},u={onRequest:[null==t?void 0:t.onRequest],onResponse:[null==t?void 0:t.onResponse],onSuccess:[null==t?void 0:t.onSuccess],onError:[null==t?void 0:t.onError],onRetry:[null==t?void 0:t.onRetry]};if(!t||!(null==t?void 0:t.plugins))return{url:e,options:l,hooks:u};for(let c of(null==t?void 0:t.plugins)||[]){if(c.init){let r=await (null==(n=c.init)?void 0:n.call(c,e.toString(),t));l=r.options||l,e=r.url}u.onRequest.push(null==(r=c.hooks)?void 0:r.onRequest),u.onResponse.push(null==(i=c.hooks)?void 0:i.onResponse),u.onSuccess.push(null==(o=c.hooks)?void 0:o.onSuccess),u.onError.push(null==(s=c.hooks)?void 0:s.onError),u.onRetry.push(null==(a=c.hooks)?void 0:a.onRetry)}return{url:e,options:l,hooks:u}},z=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(){return this.options.delay}},Z=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(e){return Math.min(this.options.maxDelay,this.options.baseDelay*2**e)}},ee=async e=>{let t={},n=async e=>"function"==typeof e?await e():e;if(null==e?void 0:e.auth){if("Bearer"===e.auth.type){let r=await n(e.auth.token);if(!r)return t;t.authorization=`Bearer ${r}`}else if("Basic"===e.auth.type){let[r,i]=await Promise.all([n(e.auth.username),n(e.auth.password)]);if(!r||!i)return t;t.authorization=`Basic ${btoa(`${r}:${i}`)}`}else if("Custom"===e.auth.type){let[r,i]=await Promise.all([n(e.auth.prefix),n(e.auth.value)]);if(!i)return t;t.authorization=`${null!=r?r:""} ${i}`}}return t},et=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function en(e){if(void 0===e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}function er(e){try{return JSON.parse(e)}catch(t){return e}}function ei(e){return"function"==typeof e}function eo(...e){let t={};for(let n of e)if(n)if(n instanceof Headers)n.forEach((e,n)=>{t[n]=e});else for(let[e,r]of Array.isArray(n)?n:Object.entries(n))null!=r&&(t[e]=r);return t}async function es(e){let t=new Headers(eo(null==e?void 0:e.headers,await ee(e)));if(!t.has("content-type")){let n=en(null==e?void 0:e.body)?"application/json":null;n&&t.set("content-type",n)}return t}var ea=class e extends Error{constructor(t,n){super(n||JSON.stringify(t,null,2)),this.issues=t,Object.setPrototypeOf(this,e.prototype)}};async function el(e,t){let n=await e["~standard"].validate(t);if(n.issues)throw new ea(n.issues);return n.value}var eu=["get","post","put","patch","delete"],ec=async(e,t)=>{var n,r,i,o,s,a,l,u;let c,{hooks:d,url:f,options:p}=await J(e,t),E=function(e){if(null==e?void 0:e.customFetchImpl)return e.customFetchImpl;if("u">typeof globalThis&&ei(globalThis.fetch))return globalThis.fetch;if("u">typeof window&&ei(window.fetch))return window.fetch;throw Error("No fetch implementation found")}(p),h=new AbortController,T=null!=(n=p.signal)?n:h.signal,_=function(e,t){let{baseURL:n,params:r,query:i}=t||{query:{},params:{},baseURL:""},o=e.startsWith("http")?e.split("/").slice(0,3).join("/"):n||"";if(e.startsWith("@")){let t=e.toString().split("@")[1].split("/")[0];eu.includes(t)&&(e=e.replace(`@${t}/`,"/"))}o.endsWith("/")||(o+="/");let[s,a]=e.replace(o,"").split("?"),l=new URLSearchParams(a);for(let[e,t]of Object.entries(i||{})){let n;if(null!=t){if("string"==typeof t)n=t;else if(Array.isArray(t)){for(let n of t)l.append(e,n);continue}else n=JSON.stringify(t);l.set(e,n)}}let u=new Map;if(r)if(Array.isArray(r))for(let[e,t]of s.split("/").filter(e=>e.startsWith(":")).entries()){let n=r[e];u.set(t,String(n))}else for(let[e,t]of Object.entries(r))u.set(`:${e}`,String(t));s=(s=s.split("/").map(e=>(function(e,t){let n,r=e;for(let[e,n]of t)r=r.replace(e,n);if("."===(n=r)||".."===n)throw TypeError("Path parameters cannot be reserved path segments");return encodeURIComponent(r)})(e,u)).join("/")).replace(/^\/+/,"");let c=l.toString();return(c=c.length>0?`?${c}`.replace(/\+/g,"%20"):"",o.startsWith("http"))?new URL(`${s}${c}`,o):`${o}${s}${c}`}(f,p),R=await es(p),O=function(e,t){let n,{body:r}=e;return r?en(r)&&"string"!=typeof r?"application/x-www-form-urlencoded"===((n=t.get("content-type"))?n.split(";")[0].trim().toLowerCase():null)?new URLSearchParams(r).toString():JSON.stringify(r):r:null}(p,R),v=function(e,t){var n;if(null==t?void 0:t.method)return t.method.toUpperCase();if(e.startsWith("@")){let r=null==(n=e.split("@")[1])?void 0:n.split("/")[0];return eu.includes(r)?r.toUpperCase():(null==t?void 0:t.body)?"POST":"GET"}return(null==t?void 0:t.body)?"POST":"GET"}(f,p),g=X(K({},p),{url:_,headers:R,body:O,method:v,signal:T});for(let e of d.onRequest)if(e){let t=await e(g);"object"==typeof t&&null!==t&&Object.assign(g,t)}("pipeTo"in g&&"function"==typeof g.pipeTo||"function"==typeof(null==(r=null==t?void 0:t.body)?void 0:r.pipe))&&!("duplex"in g)&&(g.duplex="half");let{clearTimeout:b}=(!(null==p?void 0:p.signal)&&(null==p?void 0:p.timeout)&&(c=setTimeout(()=>null==h?void 0:h.abort(),null==p?void 0:p.timeout)),{abortTimeout:c,clearTimeout:()=>{c&&clearTimeout(c)}}),y=await E(g.url,g);b();let A={response:y,request:g};for(let e of d.onResponse)if(e){let n=await e(X(K({},A),{response:(null==(i=null==t?void 0:t.hookOptions)?void 0:i.cloneResponse)?y.clone():y}));n instanceof Response?y=n:"object"==typeof n&&null!==n&&(y=n.response)}if(y.ok){if("HEAD"===g.method)return{data:"",error:null};let e=function(e){let t=e.headers.get("content-type"),n=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!t)return"json";let r=t.split(";").shift()||"";return et.test(r)?"json":n.has(r)||r.startsWith("text/")?"text":"blob"}(y),n={data:null,response:y,request:g};if("json"===e||"text"===e){let e=await y.text(),t=null!=(o=g.jsonParser)?o:er;n.data=await t(e)}else n.data=await y[e]();for(let e of((null==g?void 0:g.output)&&g.output&&!g.disableValidation&&(n.data=await el(g.output,n.data)),d.onSuccess))e&&await e(X(K({},n),{response:(null==(s=null==t?void 0:t.hookOptions)?void 0:s.cloneResponse)?y.clone():y}));return(null==t?void 0:t.throw)?n.data:{data:n.data,error:null}}let S=null!=(a=null==t?void 0:t.jsonParser)?a:er,I=await y.text(),L=function(e){try{return JSON.parse(e),!0}catch(e){return!1}}(I),w=L?await S(I):null,m={response:y,responseText:I,request:g,error:X(K({},w),{status:y.status,statusText:y.statusText})};for(let e of d.onError)e&&await e(X(K({},m),{response:(null==(l=null==t?void 0:t.hookOptions)?void 0:l.cloneResponse)?y.clone():y}));if(null==t?void 0:t.retry){let n=function(e){if("number"==typeof e)return new z({type:"linear",attempts:e,delay:1e3});switch(e.type){case"linear":return new z(e);case"exponential":return new Z(e);default:throw Error("Invalid retry strategy")}}(t.retry),r=null!=(u=t.retryAttempt)?u:0;if(await n.shouldAttemptRetry(r,y)){for(let e of d.onRetry)e&&await e(A);let i=n.getDelay(r);return await new Promise(e=>setTimeout(e,i)),await ec(e,X(K({},t),{retryAttempt:r+1}))}}if(null==t?void 0:t.throw)throw new Q(y.status,y.statusText,L?w:I);return{data:null,error:X(K({},w),{status:y.status,statusText:y.statusText})}};let ed=/[\p{Ll}\d]+|\p{Lu}+(?!\p{Ll})|\p{Lu}[\p{Ll}\d]+|\p{Lo}+/gu,ef=/['\u2019]/g;function ep(e){return(e.replace(ef,"").match(ed)??[]).map(e=>e.toLowerCase()).join("-")}var eE=e.i(54129);let{signIn:eh,signOut:eT,useSession:e_}=function(e){var t;let{pluginPathMethods:n,pluginsActions:i,pluginsAtoms:o,$fetch:a,$store:l,atomListeners:u}=(e=>{var t,n;let i,o,a,l,u,d,_,v="credentials"in Request.prototype,b=function(e,t,n,r){if(e)return f(e,t);if(!1!==r){let e=s.BETTER_AUTH_URL||s.NEXT_PUBLIC_BETTER_AUTH_URL||s.PUBLIC_BETTER_AUTH_URL||s.NUXT_PUBLIC_BETTER_AUTH_URL||s.NUXT_PUBLIC_AUTH_URL||("/"!==s.BASE_URL?s.BASE_URL:void 0);if(e)return f(e,t)}n?.headers.get("x-forwarded-host"),n?.headers.get("x-forwarded-proto");if(n){let e=function(e){try{let t=new URL(e);return"null"===t.origin?null:t.origin}catch{return null}}(n.url);if(!e)throw new c("Could not get origin from request. Please provide a valid base URL.");return f(e,t)}if("u">typeof window&&window.location)return f(window.location.origin,t)}(e?.baseURL,e?.basePath,void 0,void 0)??(e=>{if(void 0!==r.default){if(r.default.env.NEXT_PUBLIC_AUTH_URL)return r.default.env.NEXT_PUBLIC_AUTH_URL;if("u"<typeof window){if(r.default.env.NEXTAUTH_URL)try{return r.default.env.NEXTAUTH_URL}catch{}if(r.default.env.VERCEL_URL)try{let t=r.default.env.VERCEL_URL.startsWith("http")?"":"https://";return`${new URL(`${t}${r.default.env.VERCEL_URL}`).origin}${e??"/api/auth"}`}catch{}}}})(e?.basePath)??"/api/auth",y=e?.plugins?.flatMap(e=>e.fetchPlugins).filter(e=>void 0!==e)||[],S={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:I,onError:w,onRequest:m,onResponse:D,...P}=e?.fetchOptions||{},C=(t={baseURL:b,...v?{credentials:"include"}:{},method:"GET",jsonParser:e=>e?function(e,t={strict:!0}){return function(e,t={}){let{strict:n=!1,warnings:r=!1,reviver:i,parseDates:o=!0}=t;if("string"!=typeof e)return e;let s=e.trim(),a=s.toLowerCase();if(a.length<=9&&a in h)return h[a];if(!E.test(s)){if(n)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(p).some(([e,t])=>{let n=t.test(s);return n&&r&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${e} pattern`),n})&&n)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(s,(e,t)=>{if("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t){r&&console.warn(`[better-json] Dropping "${e}" key to prevent prototype pollution`);return}if(o&&"string"==typeof t){let e=function(e){let t=T.exec(e);if(!t)return null;let[,n,r,i,o,s,a,l,u,c,d]=t,f=new Date(Date.UTC(parseInt(n,10),parseInt(r,10)-1,parseInt(i,10),parseInt(o,10),parseInt(s,10),parseInt(a,10),l?parseInt(l.padEnd(3,"0"),10):0));if(u){let e=(60*parseInt(c,10)+parseInt(d,10))*("+"===u?-1:1);f.setUTCMinutes(f.getUTCMinutes()+e)}return f instanceof Date&&!isNaN(f.getTime())?f:null}(t);if(e)return e}return i?i(e,t):t})}catch(t){if(n)throw t;return e}}(e,t)}(e,{strict:!1}):null,customFetchImpl:fetch,...P,plugins:[S,...P.plugins||[],...e?.disableDefaultFetchPlugins?[]:[R],...y]},async function(e,n){let r,i=X(K(K({},t),n),{headers:eo(null==t?void 0:t.headers,null==n?void 0:n.headers),plugins:[...(null==t?void 0:t.plugins)||[],(r=t||{},{id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(e,t){var n,i,o,s;let a=(null==(i=null==(n=r.plugins)?void 0:n.find(t=>{var n;return null!=(n=t.schema)&&!!n.config&&(e.startsWith(t.schema.config.baseURL||"")||e.startsWith(t.schema.config.prefix||""))}))?void 0:i.schema)||r.schema;if(a){let n=e;(null==(o=a.config)?void 0:o.prefix)&&n.startsWith(a.config.prefix)&&(n=n.replace(a.config.prefix,""),a.config.baseURL&&(e=e.replace(a.config.prefix,a.config.baseURL))),(null==(s=a.config)?void 0:s.baseURL)&&n.startsWith(a.config.baseURL)&&(n=n.replace(a.config.baseURL,"")),n.startsWith("/")&&"@"===n.charAt(1)&&(n=n.substring(1));let r=a.schema[n];if(r){let n=null==t?void 0:t.headers;if(r.headers&&!(null==t?void 0:t.disableValidation)){let e={};if(null==t?void 0:t.headers){if(t.headers instanceof Headers)t.headers.forEach((t,n)=>{e[n.toLowerCase()]=t});else if("object"==typeof t.headers)for(let[n,r]of Object.entries(t.headers))null!=r&&(e[n.toLowerCase()]=r)}let i=await el(r.headers,e),o={};for(let[e,t]of Object.entries(i))o[e.toLowerCase()]=t;n=o}let i=X(K({},t),{method:r.method,output:r.output,headers:n});return(null==t?void 0:t.disableValidation)||(i=X(K({},i),{body:r.input?await el(r.input,null==t?void 0:t.body):null==t?void 0:t.body,params:r.params?await el(r.params,null==t?void 0:t.params):null==t?void 0:t.params,query:r.query?await el(r.query,null==t?void 0:t.query):null==t?void 0:t.query})),{url:e,options:i}}}return{url:e,options:t}}}),...(null==n?void 0:n.plugins)||[]]});if(null==t?void 0:t.catchAllError)try{return await ec(e,i)}catch(e){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:e}}}return await ec(e,i)}),{$sessionSignal:k,session:M,broadcastSessionUpdate:V}=(o=j(!1),l=j({data:null,error:null,isPending:!0,isRefetching:!1,refetch:a=e=>d(e)}),O(l,({newValue:e,abort:t})=>{B(l.value,e)&&t()},2,e=>{let t=l.set,n=l.setKey;return l.setKey&&(l.setKey=(t,r)=>{let i;if(e({abort:()=>{i=!0},changed:t,newValue:{...l.value,[t]:r}}),!i)return n(t,r)}),l.set=n=>{let r;if(e({abort:()=>{r=!0},newValue:n}),!r)return t(n)},()=>{l.set=t,l.setKey=n}}),u=e=>{if(i!==e)return;let t=l.get();i=void 0,(t.isPending||t.isRefetching)&&l.set({...t,isPending:!1,isRefetching:!1,refetch:a})},d=async e=>{i?.abort();let t=new AbortController;i=t;let n=l.get();l.set({...n,isPending:null===n.data,isRefetching:!0,error:null,refetch:a});try{var r;let n=await C("/get-session",{method:"GET",query:e?.query,signal:t.signal});if(t.signal.aborted)return void u(t);let{data:i,error:o}=F(n);if(i?.needsRefresh)try{let e=await C("/get-session",{method:"POST",signal:t.signal});if(t.signal.aborted)return void u(t);({data:i,error:o}=F(e))}catch{if(t.signal.aborted)return void u(t)}if(o){let e=l.get(),t=o?.status===401;l.set({data:t?null:e.data,error:o,isPending:!1,isRefetching:!1,refetch:a});return}let s=(r=i)&&(null!==r.session||null!==r.user)?r:null,c=l.get(),d=null!=c.data&&null!=s&&g(c.data,s)?c.data:s;l.set({data:d,error:null,isPending:!1,isRefetching:!1,refetch:a})}catch(n){if(t.signal.aborted)return void u(t);let e=l.get();l.set({data:e.data,error:n,isPending:!1,isRefetching:!1,refetch:a})}},_=()=>{},n=()=>{let t;"u"<typeof window||(t=setTimeout(()=>{d()},0));let n=function(e){let{fetchSession:t,shouldPollSession:n=()=>!0,sessionSignal:r,options:i={}}=e,o=i.sessionOptions?.refetchInterval??0,s=i.sessionOptions?.refetchOnWindowFocus??!0,a=i.sessionOptions?.refetchWhenOffline??!1,l={isInitialized:!1,lastSessionRequest:0},u=e=>{if(a||U().isOnline){if(e?.event==="storage")return void t();if(e?.event==="poll"){l.lastSessionRequest=N(),t();return}if(e?.event==="visibilitychange"){if(N()-l.lastSessionRequest<5)return;l.lastSessionRequest=N(),t();return}t()}};return{init:()=>{l.isInitialized||(l.isInitialized=!0,o&&o>0&&(l.pollInterval=setInterval(()=>{n()&&u({event:"poll"})},1e3*o)),l.unsubscribeBroadcast=A().subscribe(()=>{u({event:"storage"})}),s&&(l.unsubscribeFocus=L().subscribe(()=>{u({event:"visibilitychange"})})),l.unsubscribeOnline=U().subscribe(e=>{e&&u({event:"visibilitychange"})}),l.unsubscribeSignal=r.listen(()=>{t()}),l.cleanupBroadcastSetup=A().setup(),l.cleanupFocusSetup=L().setup(),l.cleanupOnlineSetup=U().setup())},cleanup:()=>{l.isInitialized&&(l.pollInterval&&(clearInterval(l.pollInterval),l.pollInterval=void 0),l.unsubscribeBroadcast&&(l.unsubscribeBroadcast(),l.unsubscribeBroadcast=void 0),l.unsubscribeFocus&&(l.unsubscribeFocus(),l.unsubscribeFocus=void 0),l.unsubscribeOnline&&(l.unsubscribeOnline(),l.unsubscribeOnline=void 0),l.unsubscribeSignal&&(l.unsubscribeSignal(),l.unsubscribeSignal=void 0),l.cleanupBroadcastSetup&&(l.cleanupBroadcastSetup(),l.cleanupBroadcastSetup=void 0),l.cleanupFocusSetup&&(l.cleanupFocusSetup(),l.cleanupFocusSetup=void 0),l.cleanupOnlineSetup&&(l.cleanupOnlineSetup(),l.cleanupOnlineSetup=void 0),l.isInitialized=!1,l.lastSessionRequest=0)},triggerRefetch:u,broadcastSessionUpdate:e=>{A().post({event:"session",data:{trigger:e},clientId:Math.random().toString(36).substring(7)})}}}({fetchSession:d,shouldPollSession:()=>null!=l.get().data,sessionSignal:o,options:e});return n.init(),_=n.broadcastSessionUpdate,()=>{t&&clearTimeout(t);let e=i;e?.abort(),e&&u(e),n.cleanup()}},O(l,e=>{let t=n(e);t&&l.events[6].push(t)},5,e=>{let t=l.listen;l.listen=(...n)=>(l.lc||l.active||(l.active=!0,e()),t(...n));let n=l.off;return l.events[6]=[],l.off=()=>{n(),setTimeout(()=>{if(l.active&&!l.lc){for(let e of(l.active=!1,l.events[6]))e();l.events[6]=[]}},1e3)},()=>{l.listen=t,l.off=n}}),{session:l,$sessionSignal:o,broadcastSessionUpdate:e=>_(e)}),H=e?.plugins||[],$={},q={$sessionSignal:k,session:M},G={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},W=[{signal:"$sessionSignal",matcher:e=>"/sign-out"===e||"/update-user"===e||"/update-session"===e||"/sign-up/email"===e||"/sign-in/email"===e||"/delete-user"===e||"/verify-email"===e||"/revoke-sessions"===e||"/revoke-session"===e||"/revoke-other-sessions"===e||"/change-email"===e||"/change-password"===e,callback(e){"/sign-out"===e?V("signout"):("/update-user"===e||"/update-session"===e)&&V("updateUser")}}];for(let e of H)e.getAtoms&&Object.assign(q,e.getAtoms?.(C)),e.pathMethods&&Object.assign(G,e.pathMethods),e.atomListeners&&W.push(...e.atomListeners);let Y={notify:e=>{q[e].set(!q[e].get())},listen:(e,t)=>{q[e].subscribe(t)},atoms:q};for(let t of H)t.getActions&&($=x(t.getActions?.(C,Y,e)??{},$));return{get baseURL(){return b},pluginsActions:$,pluginsAtoms:q,pluginPathMethods:G,atomListeners:W,$fetch:C,$store:Y}})(e),d={};for(let[e,t]of Object.entries(o))d[function(e){return`use${e.charAt(0).toUpperCase()+e.slice(1)}`}(e)]=()=>(function(e,t={}){let n=(0,eE.useRef)(e.get()),{keys:r,deps:i=[e,r]}=t,o=(0,eE.useCallback)(t=>{let i=e=>{n.current!==e&&(n.current=e,t())};if(i(e.value),r?.length){let t;return t=new Set(r),e.listen((e,n,o)=>{(void 0===o?r.some(t=>e[t]!==n[t]):t.has(o)||t.has(o.split(/\.|\[/)[0]))&&i(e,n,o)})}return e.listen(i)},i),s=()=>n.current;return(0,eE.useSyncExternalStore)(o,s,s)})(t);return t={...i,...d,$fetch:a,$store:l},function e(r=[]){return new Proxy(function(){},{get(n,i){var o;if("string"!=typeof i||"then"===i||"catch"===i||"finally"===i)return;let s=[...r,i],a=t;for(let e of s)if(a&&"object"==typeof a&&e in a)a=a[e];else{a=void 0;break}return"function"==typeof a?a:"object"==typeof(o=a)&&null!==o&&"get"in o&&"function"==typeof o.get&&"lc"in o&&"number"==typeof o.lc?a:e(s)},apply:async(e,t,i)=>{let s="/"+r.map(ep).join("/"),l=i[0]||{},c=i[1]||{},{query:d,fetchOptions:f,...p}=l,E={...c,...f},h=function(e,t,n){let r=t[e],{fetchOptions:i,query:o,...s}=n||{};return r||(i?.method?i.method:s&&Object.keys(s).length>0?"POST":"GET")}(s,n,l);return await a(s,{...E,body:"GET"===h?void 0:{...p,...E?.body||{}},query:d||E?.query,method:h,async onSuccess(e){if(await E?.onSuccess?.(e),!u||E.disableSignal)return;let t=u.filter(e=>e.matcher(s));if(!t.length)return;let n=new Set;for(let e of t){let t=o[e.signal];if(!t)return;if(n.has(e.signal))continue;n.add(e.signal);let r=t.get();setTimeout(()=>{t.set(!r)},10),e.callback?.(s)}}})}})}()}({baseURL:void 0});e.s(["signIn",0,eh,"signOut",0,eT],68223)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88451,e=>{"use strict";var r=e.i(1262),t=e.i(45971),s=e.i(54129),n=e.i(44344),a=e.i(69377),o=e.i(9383);let i=(0,o.createServerReference)("60470f87c7999b1dca9c512862da9659a80e8a731c",o.callServer,void 0,o.findSourceMapURL,"answerApprovalAction");e.s(["ApprovalActions",0,function({id:e,url:o}){let l=(0,t.useRouter)(),[d,c]=(0,s.useTransition)(),x=r=>{c(async()=>{let t=await i(e,r);t.ok||window.alert(`Failed: ${t.error}`),l.refresh()})};return o?(0,r.jsxs)("div",{className:"flex justify-end gap-1.5",children:[(0,r.jsxs)(a.Button,{variant:"outline",size:"sm",disabled:d,className:"hover:border-[var(--red-line)] hover:bg-[var(--red-soft)] hover:text-[var(--red)]",onClick:()=>x("n"),children:[(0,r.jsx)(n.Icons.x,{}),"Dismiss"]}),(0,r.jsxs)(a.Button,{size:"sm",href:o,target:"_blank",rel:"noreferrer",onClick:()=>{fetch(`/api/v1/approvals/${encodeURIComponent(e)}/answer`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({answer:"y",openedByClient:!0})}).catch(()=>void 0).finally(()=>{l.refresh()})},children:[(0,r.jsx)(n.Icons.ext,{}),"Open link"]})]}):(0,r.jsxs)("div",{className:"flex justify-end gap-1.5",children:[(0,r.jsxs)(a.Button,{variant:"outline",size:"sm",disabled:d,className:"hover:border-[var(--red-line)] hover:bg-[var(--red-soft)] hover:text-[var(--red)]",onClick:()=>x("n"),children:[(0,r.jsx)(n.Icons.x,{}),"Deny"]}),(0,r.jsxs)(a.Button,{size:"sm",disabled:d,onClick:()=>x("y"),children:[(0,r.jsx)(n.Icons.check,{}),"Approve"]})]})}],88451)},8536,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Card",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("rounded-xl border border-border bg-card text-card-foreground",e),...s})},"CardContent",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("p-5 pt-0",e),...s})},"CardDescription",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[12.5px] text-muted-foreground",e),...s})},"CardHeader",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("flex flex-col space-y-1 p-5",e),...s})},"CardTitle",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[15px] font-semibold leading-none tracking-tight",e),...s})}])},33789,51497,1485,e=>{"use strict";var r=e.i(1262),t=e.i(54129);function s(e){let r=Math.floor((Date.now()-e)/1e3);if(r<60)return r+"s ago";let t=Math.floor(r/60);if(t<60)return t+"m ago";let s=Math.floor(t/60);return s<24?s+"h ago":Math.floor(s/24)+"d ago"}e.s(["fmtAgo",0,s,"fmtBytes",0,function(e){return e<1024?e+"B":e<1048576?(e/1024).toFixed(1)+"KB":(e/1048576).toFixed(1)+"MB"}],51497),e.s(["Ago",0,function({ms:e}){let[n,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>a(!0),[]),(0,r.jsx)("span",{suppressHydrationWarning:!0,children:n?s(e):new Date(e).toLocaleDateString()})}],33789),e.s(["SectionLabel",0,function({children:e,right:t}){return(0,r.jsxs)("div",{className:"mb-3 mt-8 flex items-center gap-2.5 font-mono text-[11px] uppercase tracking-[.1em] text-[#a4a9b0]",children:[e,(0,r.jsx)("span",{className:"h-px flex-1 bg-border"}),t??null]})}],1485)},31758,e=>{"use strict";var r=e.i(1262),t=e.i(44344);e.s(["EmptyBox",0,function({children:e}){return(0,r.jsxs)("div",{className:"rounded-xl border border-dashed border-border bg-card px-5 py-9 text-center text-[13.5px] text-muted-foreground",children:[(0,r.jsx)("div",{className:"mx-auto mb-3 grid h-10 w-10 place-items-center rounded-lg border border-border text-[#a4a9b0]",children:(0,r.jsx)(t.Icons.box,{className:"size-5"})}),e]})}])},9383,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={callServer:function(){return a.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var n in s)Object.defineProperty(t,n,{enumerable:!0,get:s[n]});let a=e.r(57855),o=e.r(61414),i=e.r(97615)},23878,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Table",0,function({className:e,...s}){return(0,r.jsx)("table",{className:(0,t.cn)("w-full caption-bottom text-sm",e),...s})},"TableBody",0,function({className:e,...s}){return(0,r.jsx)("tbody",{className:(0,t.cn)("[&_tr:last-child]:border-0",e),...s})},"TableCell",0,function({className:e,...s}){return(0,r.jsx)("td",{className:(0,t.cn)("px-4 py-3 align-middle",e),...s})},"TableHead",0,function({className:e,...s}){return(0,r.jsx)("th",{className:(0,t.cn)("h-9 px-4 text-left align-middle font-mono text-[10.5px] font-normal uppercase tracking-[.08em] text-muted-foreground/90",e),...s})},"TableHeader",0,function({className:e,...s}){return(0,r.jsx)("thead",{className:(0,t.cn)("bg-background [&_tr]:border-b [&_tr]:border-border",e),...s})},"TableRow",0,function({className:e,...s}){return(0,r.jsx)("tr",{className:(0,t.cn)("border-b border-border/60 transition-colors hover:bg-[#fcfcfb] data-[state=selected]:bg-accent",e),...s})}])},66438,e=>{"use strict";var r=e.i(1262),t=e.i(51096),s=e.i(33789),n=e.i(44344),a=e.i(8536),o=e.i(23878),i=e.i(96621),l=e.i(31758),d=e.i(1485),c=e.i(88451);e.s(["default",0,function(){let{state:e,box:x}=(0,i.useStore)(),u=[...e.approvals].sort((e,r)=>e.createdAt-r.createdAt);return(0,r.jsxs)("div",{className:"mx-auto w-full max-w-[1080px] px-8 pb-16 pt-8 max-sm:px-4",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("h1",{className:"text-[25px] font-semibold leading-tight tracking-[-0.025em]",children:"Approvals"}),(0,r.jsxs)("div",{className:"mt-1.5 text-sm text-muted-foreground",children:["Host actions a box is waiting on — ",(0,r.jsx)("span",{className:"font-mono text-secondary-foreground",children:u.length})," ","pending. Approving unblocks the box; denying returns an error to it."]})]}),(0,r.jsx)(d.SectionLabel,{children:"Pending"}),0===u.length?(0,r.jsxs)(l.EmptyBox,{children:[(0,r.jsx)("div",{children:"No pending approvals."}),(0,r.jsx)("div",{className:"mt-1.5 font-mono text-xs text-muted-foreground",children:"Host actions (git push, file copy, downloads) appear here when a box requests one."})]}):(0,r.jsx)(a.Card,{className:"overflow-hidden",children:(0,r.jsxs)(o.Table,{children:[(0,r.jsx)(o.TableHeader,{children:(0,r.jsxs)(o.TableRow,{className:"hover:bg-transparent",children:[(0,r.jsx)(o.TableHead,{className:"w-[24%]",children:"Box"}),(0,r.jsx)(o.TableHead,{className:"w-[40%]",children:"Action"}),(0,r.jsx)(o.TableHead,{className:"max-md:hidden",children:"Requested"}),(0,r.jsx)(o.TableHead,{className:"text-right",children:"Answer"})]})}),(0,r.jsx)(o.TableBody,{children:u.map(e=>{let a=x(e.boxId);return(0,r.jsxs)(o.TableRow,{className:"hover:bg-transparent",children:[(0,r.jsxs)(o.TableCell,{children:[a?(0,r.jsx)(t.default,{className:"text-[13.5px] font-medium hover:text-[var(--green-ink)]",href:"/boxes/"+a.id,children:a.task}):(0,r.jsx)("div",{className:"text-[13.5px] font-medium",children:e.boxId}),(0,r.jsx)("div",{className:"mt-0.5 font-mono text-[11px] text-[#a4a9b0]",children:a?a.repo:e.boxId})]}),(0,r.jsx)(o.TableCell,{children:(0,r.jsxs)("div",{className:"flex items-start gap-1.5 text-[13px]",children:[(0,r.jsx)(n.Icons.shield,{className:"mt-0.5 size-3.5 flex-none text-muted-foreground"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"truncate font-mono text-secondary-foreground",children:e.command??e.message}),e.detail?(0,r.jsx)("div",{className:"mt-0.5 truncate text-[11.5px] text-muted-foreground",children:e.detail}):null,e.cwd?(0,r.jsx)("div",{className:"mt-0.5 truncate font-mono text-[11px] text-[#a4a9b0]",children:e.cwd}):null]})]})}),(0,r.jsx)(o.TableCell,{className:"max-md:hidden",children:(0,r.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:(0,r.jsx)(s.Ago,{ms:e.createdAt})})}),(0,r.jsx)(o.TableCell,{className:"text-right",children:(0,r.jsx)(c.ApprovalActions,{id:e.id,url:e.url})})]},e.id)})})]})})]})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88451,e=>{"use strict";var r=e.i(1262),t=e.i(45971),n=e.i(54129),s=e.i(44344),a=e.i(69377),o=e.i(9383);let i=(0,o.createServerReference)("60470f87c7999b1dca9c512862da9659a80e8a731c",o.callServer,void 0,o.findSourceMapURL,"answerApprovalAction");e.s(["ApprovalActions",0,function({id:e,url:o}){let l=(0,t.useRouter)(),[c,d]=(0,n.useTransition)(),u=r=>{d(async()=>{let t=await i(e,r);t.ok||window.alert(`Failed: ${t.error}`),l.refresh()})};return o?(0,r.jsxs)("div",{className:"flex justify-end gap-1.5",children:[(0,r.jsxs)(a.Button,{variant:"outline",size:"sm",disabled:c,className:"hover:border-[var(--red-line)] hover:bg-[var(--red-soft)] hover:text-[var(--red)]",onClick:()=>u("n"),children:[(0,r.jsx)(s.Icons.x,{}),"Dismiss"]}),(0,r.jsxs)(a.Button,{size:"sm",href:o,target:"_blank",rel:"noreferrer",onClick:()=>{fetch(`/api/v1/approvals/${encodeURIComponent(e)}/answer`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({answer:"y",openedByClient:!0})}).catch(()=>void 0).finally(()=>{l.refresh()})},children:[(0,r.jsx)(s.Icons.ext,{}),"Open link"]})]}):(0,r.jsxs)("div",{className:"flex justify-end gap-1.5",children:[(0,r.jsxs)(a.Button,{variant:"outline",size:"sm",disabled:c,className:"hover:border-[var(--red-line)] hover:bg-[var(--red-soft)] hover:text-[var(--red)]",onClick:()=>u("n"),children:[(0,r.jsx)(s.Icons.x,{}),"Deny"]}),(0,r.jsxs)(a.Button,{size:"sm",disabled:c,onClick:()=>u("y"),children:[(0,r.jsx)(s.Icons.check,{}),"Approve"]})]})}],88451)},8536,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Card",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("rounded-xl border border-border bg-card text-card-foreground",e),...n})},"CardContent",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("p-5 pt-0",e),...n})},"CardDescription",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[12.5px] text-muted-foreground",e),...n})},"CardHeader",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("flex flex-col space-y-1 p-5",e),...n})},"CardTitle",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[15px] font-semibold leading-none tracking-tight",e),...n})}])},33789,51497,1485,e=>{"use strict";var r=e.i(1262),t=e.i(54129);function n(e){let r=Math.floor((Date.now()-e)/1e3);if(r<60)return r+"s ago";let t=Math.floor(r/60);if(t<60)return t+"m ago";let n=Math.floor(t/60);return n<24?n+"h ago":Math.floor(n/24)+"d ago"}e.s(["fmtAgo",0,n,"fmtBytes",0,function(e){return e<1024?e+"B":e<1048576?(e/1024).toFixed(1)+"KB":(e/1048576).toFixed(1)+"MB"}],51497),e.s(["Ago",0,function({ms:e}){let[s,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>a(!0),[]),(0,r.jsx)("span",{suppressHydrationWarning:!0,children:s?n(e):new Date(e).toLocaleDateString()})}],33789),e.s(["SectionLabel",0,function({children:e,right:t}){return(0,r.jsxs)("div",{className:"mb-3 mt-8 flex items-center gap-2.5 font-mono text-[11px] uppercase tracking-[.1em] text-[#a4a9b0]",children:[e,(0,r.jsx)("span",{className:"h-px flex-1 bg-border"}),t??null]})}],1485)},31758,e=>{"use strict";var r=e.i(1262),t=e.i(44344);e.s(["EmptyBox",0,function({children:e}){return(0,r.jsxs)("div",{className:"rounded-xl border border-dashed border-border bg-card px-5 py-9 text-center text-[13.5px] text-muted-foreground",children:[(0,r.jsx)("div",{className:"mx-auto mb-3 grid h-10 w-10 place-items-center rounded-lg border border-border text-[#a4a9b0]",children:(0,r.jsx)(t.Icons.box,{className:"size-5"})}),e]})}])},9383,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var s in n)Object.defineProperty(t,s,{enumerable:!0,get:n[s]});let a=e.r(57855),o=e.r(61414),i=e.r(97615)},23878,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Table",0,function({className:e,...n}){return(0,r.jsx)("table",{className:(0,t.cn)("w-full caption-bottom text-sm",e),...n})},"TableBody",0,function({className:e,...n}){return(0,r.jsx)("tbody",{className:(0,t.cn)("[&_tr:last-child]:border-0",e),...n})},"TableCell",0,function({className:e,...n}){return(0,r.jsx)("td",{className:(0,t.cn)("px-4 py-3 align-middle",e),...n})},"TableHead",0,function({className:e,...n}){return(0,r.jsx)("th",{className:(0,t.cn)("h-9 px-4 text-left align-middle font-mono text-[10.5px] font-normal uppercase tracking-[.08em] text-muted-foreground/90",e),...n})},"TableHeader",0,function({className:e,...n}){return(0,r.jsx)("thead",{className:(0,t.cn)("bg-background [&_tr]:border-b [&_tr]:border-border",e),...n})},"TableRow",0,function({className:e,...n}){return(0,r.jsx)("tr",{className:(0,t.cn)("border-b border-border/60 transition-colors hover:bg-[#fcfcfb] data-[state=selected]:bg-accent",e),...n})}])},3060,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Input",0,function({className:e,...n}){return(0,r.jsx)("input",{className:(0,t.cn)("flex h-10 w-full rounded-lg border border-input bg-card px-3 py-1 text-sm shadow-sm transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/15",e),...n})}])},95141,e=>{"use strict";var r=e.i(1262),t=e.i(54129),n=e.i(65232),s=e.i(44344);e.s(["Dialog",0,function({onClose:e,className:a,children:o}){return(0,t.useEffect)(()=>{let r=r=>{"Escape"===r.key&&e()};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[e]),(0,r.jsx)("div",{className:"anim-fade fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-[rgba(20,24,30,.42)] p-6 backdrop-blur-[2px]",onClick:e,children:(0,r.jsxs)("div",{role:"dialog","aria-modal":"true",className:(0,n.cn)("anim-pop relative m-auto w-full max-w-[500px] rounded-2xl border border-border bg-card shadow-[0_40px_80px_-30px_rgba(20,24,30,.5)]",a),onClick:e=>e.stopPropagation(),children:[o,(0,r.jsx)("button",{className:"absolute right-4 top-4 grid h-7 w-7 cursor-pointer place-items-center rounded-md border-0 bg-transparent text-[#a4a9b0] transition-colors hover:bg-secondary hover:text-foreground",onClick:e,"aria-label":"Close",children:(0,r.jsx)(s.Icons.x,{style:{width:15,height:15}})})]})})},"DialogBody",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("px-5 py-4",e),...t})},"DialogDescription",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("mt-1 font-mono text-xs text-muted-foreground",e),...t})},"DialogFooter",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("flex justify-end gap-2.5 rounded-b-2xl border-t border-border/70 bg-background px-5 py-3.5",e),...t})},"DialogHeader",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("flex items-start gap-3 border-b border-border/70 px-5 pb-4 pt-5",e),...t})},"DialogIcon",0,function({children:e}){return(0,r.jsx)("span",{className:"grid h-9 w-9 flex-none place-items-center rounded-lg border border-[var(--green-line)] bg-accent text-primary [&_svg]:size-[17px]",children:e})},"DialogTitle",0,function({className:e,...t}){return(0,r.jsx)("div",{className:(0,n.cn)("text-base font-semibold leading-tight tracking-tight",e),...t})}])},86184,e=>{"use strict";var r=e.i(1262),t=e.i(54129),n=e.i(69377),s=e.i(3060);function a({jobId:e,login:o}){let[i,l]=(0,t.useState)(""),[c,d]=(0,t.useState)(!1),[u,x]=(0,t.useState)(null),p="exchanging"===o.phase,b=async()=>{let r=i.trim();if(r&&!c){d(!0),x(null);try{let t=await fetch(`/api/v1/jobs/${encodeURIComponent(e)}/login-code`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({code:r})});if(!t.ok){let e=await t.json().catch(()=>null);x(e?.error?.message??`request failed (${t.status})`);return}l("")}catch(e){x(e instanceof Error?e.message:String(e))}finally{d(!1)}}};return(0,r.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-amber-500/40 bg-amber-500/10 p-3",children:[(0,r.jsx)("div",{className:"text-sm font-semibold text-amber-200",children:"Claude login required"}),(0,r.jsx)("p",{className:"text-xs text-amber-100/80",children:"Your saved Claude login is expired. Open the sign-in page, approve access, then paste the code Claude shows you."}),o.url?(0,r.jsx)("a",{href:o.url,target:"_blank",rel:"noreferrer",className:"w-fit rounded-md bg-amber-500/20 px-2.5 py-1 text-xs font-medium text-amber-100 underline decoration-amber-400/50 underline-offset-2 hover:bg-amber-500/30",children:"Open Claude sign-in ↗"}):(0,r.jsx)("span",{className:"text-xs text-amber-100/60",children:"waiting for the sign-in link…"}),(0,r.jsxs)("div",{className:"mt-1 flex gap-2",children:[(0,r.jsx)(s.Input,{value:i,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"===e.key&&b()},placeholder:"Paste approval code",disabled:p,className:"flex-1 font-mono text-xs"}),(0,r.jsx)(n.Button,{type:"button",onClick:()=>void b(),disabled:!i.trim()||c||p,children:p?"Verifying…":c?"Submitting…":"Submit"})]}),o.lastError?(0,r.jsx)("p",{className:"text-xs text-amber-300",children:o.lastError}):null,"error"===o.phase&&o.error?(0,r.jsx)("p",{className:"text-xs text-red-400",children:o.error}):null,u?(0,r.jsx)("p",{className:"text-xs text-red-400",children:u}):null]})}e.s(["JobLogStream",0,function({jobId:e,endpoint:n,onDone:s,onStatus:o,onLogin:i}){let[l,c]=(0,t.useState)([]),[d,u]=(0,t.useState)(null),x=(0,t.useRef)(null),p=(0,t.useRef)(s);p.current=s;let b=(0,t.useRef)(o);b.current=o;let f=(0,t.useRef)(i);return f.current=i,(0,t.useEffect)(()=>{b.current?.("streaming");let r=new EventSource(n??`/api/jobs/${encodeURIComponent(e)}/logs`);return r.addEventListener("log",e=>{let r=JSON.parse(e.data);c(e=>[...e,r])}),r.addEventListener("login",e=>{let r=JSON.parse(e.data);u(r),f.current?.(r)}),r.addEventListener("end",e=>{let t=JSON.parse(e.data);b.current?.(t.status),p.current?.(t.status),r.close()}),()=>r.close()},[e,n]),(0,t.useEffect)(()=>{let e=x.current;e&&(e.scrollTop=e.scrollHeight)},[l]),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[d&&"done"!==d.phase?(0,r.jsx)(a,{jobId:e,login:d}):null,(0,r.jsx)("pre",{ref:x,className:"max-h-[440px] min-h-[220px] overflow-auto whitespace-pre rounded-lg bg-[#16181c] p-3 font-mono text-[11.5px] leading-relaxed text-[#d6d9de]",children:0===l.length?"starting…":l.join("\n")})]})}])},77869,86892,e=>{"use strict";var r=e.i(1262),t=e.i(44344),n=e.i(65232);e.s(["PersistentMark",0,function({className:e}){return(0,r.jsx)("span",{title:"Persistent (always-on): never auto-paused, never pruned, and started again after a host reboot","aria-label":"Persistent box",className:"inline-flex flex-none items-center text-muted-foreground",children:(0,r.jsx)(t.Icons.lock,{className:(0,n.cn)("size-3.5",e)})})}],77869);var s=e.i(64595);let a={running:{label:"running",badgeClass:"badge-run"},paused:{label:"paused",badgeClass:"badge-pause"},stopped:{label:"stopped",badgeClass:"badge-stop"},creating:{label:"creating",badgeClass:"badge-create"},error:{label:"error",badgeClass:"badge-err"}};e.s(["StatusBadge",0,function({status:e}){let t=a[e]??a.stopped;return(0,r.jsxs)(s.Badge,{className:t.badgeClass,children:[(0,r.jsx)("span",{className:"badge-dot"}),t.label]})}],86892)},30544,49604,e=>{"use strict";var r=e.i(1262),t=e.i(45971),n=e.i(54129),s=e.i(65232),a=e.i(69377),o=e.i(44344),i=e.i(9383);let l=(0,i.createServerReference)("40a8d927c4cdf2644578c7d046ec6ac4b5476e093c",i.callServer,void 0,i.findSourceMapURL,"destroyBoxAction"),c=(0,i.createServerReference)("400fa966c2798373b413a766971b2a65942e1c10ed",i.callServer,void 0,i.findSourceMapURL,"pauseBoxAction"),d=(0,i.createServerReference)("6071e7924c81efcf4f632db30c94b2719dea3aad86",i.callServer,void 0,i.findSourceMapURL,"renameBoxAction"),u=(0,i.createServerReference)("4096c3a9fca12159537e807a65e8c69363c9994b44",i.callServer,void 0,i.findSourceMapURL,"resumeBoxAction"),x=(0,i.createServerReference)("401094edbde1b8a36591bbcb042a1f6f13c0856238",i.callServer,void 0,i.findSourceMapURL,"stopBoxAction");e.s(["BoxActions",0,function({box:e,size:i}){let p=(0,t.useRouter)(),[b,f]=(0,n.useTransition)(),m="running"===e.status,g="paused"===e.status,v="stopped"===e.status,h=e.id.startsWith("job:"),j="lg"===i,y=j?"sm":"icon-sm",N=(r,t,n)=>{r.stopPropagation(),(!n||window.confirm(n))&&f(async()=>{let r=await t(e.id);r.ok||window.alert(`Action failed: ${r.error}`),p.refresh()})};return h?(0,r.jsx)("div",{className:(0,s.cn)("flex gap-1.5",j?"":"justify-end"),children:(0,r.jsxs)(a.Button,{variant:"destructive",size:y,title:"Dismiss",disabled:b||"error"!==e.status,onClick:r=>N(r,l,`Dismiss failed box ${e.id}? This clears the failed create.`),children:[(0,r.jsx)(o.Icons.trash,{}),j?"Dismiss":null]})}):(0,r.jsxs)("div",{className:(0,s.cn)("flex gap-1.5",j?"":"justify-end"),children:[g?(0,r.jsxs)(a.Button,{variant:j?"default":"outline",size:y,title:"Resume",disabled:b,className:j?"":"hover:border-[var(--green)] hover:bg-accent hover:text-[var(--green-ink)]",onClick:e=>N(e,u),children:[(0,r.jsx)(o.Icons.play,{}),j?"Resume":null]}):(0,r.jsxs)(a.Button,{variant:"outline",size:y,disabled:b||!m,title:"Pause",className:j?"":"hover:border-[var(--amber)] hover:bg-[var(--amber-soft)] hover:text-[var(--amber)]",onClick:e=>N(e,c),children:[(0,r.jsx)(o.Icons.pause,{}),j?"Pause":null]}),(0,r.jsxs)(a.Button,{variant:"outline",size:y,disabled:b||v,title:"Stop",onClick:e=>N(e,x),children:[(0,r.jsx)(o.Icons.stop,{}),j?"Stop":null]}),(0,r.jsxs)(a.Button,{variant:"outline",size:y,disabled:b,title:"Rename",onClick:r=>{r.stopPropagation();let t=window.prompt("Rename box (label only — leave blank to reset)",e.displayName??e.task);null!==t&&f(async()=>{let r=await d(e.id,t.trim());r.ok||window.alert(`Rename failed: ${r.error}`),p.refresh()})},children:[(0,r.jsx)(o.Icons.pencil,{}),j?"Rename":null]}),(0,r.jsxs)(a.Button,{variant:"destructive",size:y,title:"Destroy",disabled:b,onClick:r=>N(r,l,`Destroy box ${e.id}? Its workspace volume is discarded. This cannot be undone.`),children:[(0,r.jsx)(o.Icons.trash,{}),j?"Destroy":null]})]})}],30544),e.s(["Select",0,function({wrapperClassName:e,className:t,children:n,...a}){return(0,r.jsxs)("span",{className:(0,s.cn)("relative inline-flex",e),children:[(0,r.jsx)("select",{className:(0,s.cn)("h-9 w-full cursor-pointer appearance-none rounded-lg border border-input bg-card py-1 pl-3 pr-9 text-[13px] shadow-sm focus-visible:outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/15",t),...a,children:n}),(0,r.jsx)("svg",{className:"pointer-events-none absolute right-3 top-1/2 size-3.5 -translate-y-1/2 text-muted-foreground",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",children:(0,r.jsx)("path",{d:"m6 9 6 6 6-6"})})]})}],49604)},99869,e=>{"use strict";function r(e){return e.backups.filter(e=>e.state)}e.s(["parseRestoreKey",0,function(e){let r=e.split("/");return 2===r.length&&r[0]&&r[1]?{bot:r[0],stamp:r[1]}:null},"preferredBackup",0,function(e){let t=r(e);return t.find(r=>r.stamp===e.latest)??t[0]},"readableStamp",0,function(e){let r=new Date(e.replace(/^(\d{4}-\d{2}-\d{2})T(\d{2})-(\d{2})-(\d{2})Z$/,"$1T$2:$3:$4Z"));return Number.isNaN(r.getTime())?e:r.toLocaleString()},"restorableBackups",0,r,"restoreKeyOf",0,function(e,r){return`${e}/${r}`}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,14587,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},84842,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return b},PageNotFoundError:function(){return E},SP:function(){return p},ST:function(){return y},WEB_VITALS:function(){return s},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return m},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return S}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>a.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function m(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&m(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let p="u">typeof performance,y=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class b extends Error{}class E extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},39394,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function s(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},4759,e=>{"use strict";var t=e.i(1262),r=e.i(54129),n=(e,t,r,n,o,s,i,a)=>{let u=document.documentElement,l=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&s?o.map(e=>s[e]||e):o;r?(u.classList.remove(...n),u.classList.add(s&&s[t]?s[t]:t)):u.setAttribute(e,t)}),r=t,a&&l.includes(r)&&(u.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=i&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},o=["light","dark"],s="(prefers-color-scheme: dark)",i="u"<typeof window,a=r.createContext(void 0),u=e=>r.useContext(a)?r.createElement(r.Fragment,null,e.children):r.createElement(c,{...e}),l=["light","dark"],c=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:i=!0,storageKey:u="theme",themes:c=l,defaultTheme:p=n?"system":"light",attribute:y="data-theme",value:g,children:b,nonce:E,scriptProps:v})=>{let[w,S]=r.useState(()=>m(u,p)),[P,T]=r.useState(()=>"system"===w?h():w),C=g?Object.values(g):c,O=r.useCallback(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=h());let s=g?g[r]:r,a=t?f(E):null,u=document.documentElement,l=e=>{"class"===e?(u.classList.remove(...C),s&&u.classList.add(s)):e.startsWith("data-")&&(s?u.setAttribute(e,s):u.removeAttribute(e))};if(Array.isArray(y)?y.forEach(l):l(y),i){let e=o.includes(p)?p:null,t=o.includes(r)?r:e;u.style.colorScheme=t}null==a||a()},[E]),A=r.useCallback(e=>{let t="function"==typeof e?e(w):e;S(t);try{localStorage.setItem(u,t)}catch(e){}},[w]),N=r.useCallback(t=>{T(h(t)),"system"===w&&n&&!e&&O("system")},[w,e]);r.useEffect(()=>{let e=window.matchMedia(s);return e.addListener(N),N(e),()=>e.removeListener(N)},[N]),r.useEffect(()=>{let e=e=>{e.key===u&&(e.newValue?S(e.newValue):A(p))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[A]),r.useEffect(()=>{O(null!=e?e:w)},[e,w]);let k=r.useMemo(()=>({theme:w,setTheme:A,forcedTheme:e,resolvedTheme:"system"===w?P:w,themes:n?[...c,"system"]:c,systemTheme:n?P:void 0}),[w,A,e,P,n,c]);return r.createElement(a.Provider,{value:k},r.createElement(d,{forcedTheme:e,storageKey:u,attribute:y,enableSystem:n,enableColorScheme:i,defaultTheme:p,value:g,themes:c,nonce:E,scriptProps:v}),b)},d=r.memo(({forcedTheme:e,storageKey:t,attribute:o,enableSystem:s,enableColorScheme:i,defaultTheme:a,value:u,themes:l,nonce:c,scriptProps:d})=>{let m=JSON.stringify([o,t,a,e,l,u,s,i]).slice(1,-1);return r.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${n.toString()})(${m})`}})}),m=(e,t)=>{let r;if(!i){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},f=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},h=e=>(e||(e=window.matchMedia(s)),e.matches?"dark":"light");e.s(["ThemeProvider",0,function({children:e,...r}){return(0,t.jsx)(u,{...r,children:e})}],4759)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8536,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Card",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("rounded-xl border border-border bg-card text-card-foreground",e),...s})},"CardContent",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("p-5 pt-0",e),...s})},"CardDescription",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[12.5px] text-muted-foreground",e),...s})},"CardHeader",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("flex flex-col space-y-1 p-5",e),...s})},"CardTitle",0,function({className:e,...s}){return(0,r.jsx)("div",{className:(0,t.cn)("text-[15px] font-semibold leading-none tracking-tight",e),...s})}])},69377,e=>{"use strict";var r=e.i(1262),t=e.i(65232);let s={default:"bg-primary text-primary-foreground shadow-sm hover:bg-[hsl(var(--accent-foreground))]",outline:"border border-border bg-card text-secondary-foreground shadow-sm hover:border-[#a4a9b0] hover:text-foreground",ghost:"text-muted-foreground hover:bg-secondary hover:text-foreground",destructive:"border border-border bg-card text-destructive shadow-sm hover:border-[var(--red)] hover:bg-[var(--red-soft)]",link:"text-primary underline-offset-4 hover:underline"},n={default:"h-9 px-3.5 text-[13px] [&_svg]:size-3.5",sm:"h-[30px] px-2.5 text-xs rounded-md [&_svg]:size-[13px]",icon:"h-9 w-9 [&_svg]:size-4","icon-sm":"h-7 w-7 rounded-md [&_svg]:size-[13px]"};e.s(["Button",0,function({className:e,variant:i="default",size:o="default",href:a,...d}){let l=(0,t.cn)("inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-lg font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40 disabled:pointer-events-none disabled:opacity-50 [&_svg]:shrink-0",s[i],n[o],e);return void 0!==a?(0,r.jsx)("a",{className:l,href:a,...d}):(0,r.jsx)("button",{className:l,...d})}])},45971,(e,r,t)=>{r.exports=e.r(5497)},3060,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Input",0,function({className:e,...s}){return(0,r.jsx)("input",{className:(0,t.cn)("flex h-10 w-full rounded-lg border border-input bg-card px-3 py-1 text-sm shadow-sm transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/15",e),...s})}])},16200,e=>{"use strict";var r=e.i(1262),t=e.i(65232);e.s(["Label",0,function({className:e,...s}){return(0,r.jsx)("label",{className:(0,t.cn)("mb-2 block text-[13px] font-medium leading-none",e),...s})}])},49831,e=>{"use strict";var r=e.i(1262),t=e.i(45971),s=e.i(54129),n=e.i(69377),i=e.i(8536),o=e.i(3060),a=e.i(16200),d=e.i(68223);function l(){var e;let i=(0,t.useRouter)(),l=(e=(0,t.useSearchParams)().get("returnUrl"))&&e.startsWith("/")&&!e.startsWith("//")?e:"/",[u,c]=(0,s.useState)(""),[x,m]=(0,s.useState)(""),[f,p]=(0,s.useState)(null),[g,h]=(0,s.useState)(!1);async function b(e){e.preventDefault(),h(!0),p(null);let{error:r}=await d.signIn.email({email:u,password:x});if(r){p(r.message??"Sign in failed"),h(!1);return}i.push(l),i.refresh()}return(0,r.jsxs)("form",{onSubmit:b,className:"flex flex-col gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Label,{htmlFor:"email",children:"Email"}),(0,r.jsx)(o.Input,{id:"email",type:"email",autoComplete:"username",value:u,onChange:e=>c(e.target.value),required:!0,autoFocus:!0})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Label,{htmlFor:"password",children:"Password"}),(0,r.jsx)(o.Input,{id:"password",type:"password",autoComplete:"current-password",value:x,onChange:e=>m(e.target.value),required:!0})]}),f?(0,r.jsx)("p",{className:"text-[12.5px] text-destructive",children:f}):null,(0,r.jsx)(n.Button,{type:"submit",disabled:g,children:g?"Signing in…":"Sign in"})]})}e.s(["default",0,function(){return(0,r.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-background p-6",children:(0,r.jsxs)(i.Card,{className:"w-full max-w-[380px]",children:[(0,r.jsxs)(i.CardHeader,{children:[(0,r.jsxs)(i.CardTitle,{className:"flex items-center gap-2.5 font-mono",children:[(0,r.jsx)("img",{src:"/logo.svg",alt:"",width:22,height:22,className:"h-[22px] w-[22px]"}),"AgentBox hub"]}),(0,r.jsx)(i.CardDescription,{children:"Sign in to continue"})]}),(0,r.jsx)(i.CardContent,{children:(0,r.jsx)(s.Suspense,{fallback:null,children:(0,r.jsx)(l,{})})})]})})}])}]);