@omer-x/buttler 2.0.0-alpha.6 → 2.0.0-alpha.7

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 (241) hide show
  1. package/package.json +1 -1
  2. package/ui/.next/BUILD_ID +1 -1
  3. package/ui/.next/build-manifest.json +3 -3
  4. package/ui/.next/prerender-manifest.json +3 -3
  5. package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +15 -15
  6. package/ui/.next/server/app/[locale]/(auth)/install/page.js +14 -13
  7. package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -1
  8. package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +1 -1
  9. package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +1 -1
  10. package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -1
  11. package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +1 -1
  12. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +32 -32
  13. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js +13 -12
  14. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -1
  15. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +1 -1
  16. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +32 -32
  17. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js +13 -12
  18. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -1
  19. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +1 -1
  20. package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +32 -32
  21. package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js +13 -12
  22. package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -1
  23. package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +1 -1
  24. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +38 -38
  25. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js +13 -12
  26. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -1
  27. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +1 -1
  28. package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +30 -30
  29. package/ui/.next/server/app/[locale]/(base)/services/new/page.js +10 -9
  30. package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -1
  31. package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +1 -1
  32. package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +3 -3
  33. package/ui/.next/server/app/[locale]/(base)/services/page.js +6 -5
  34. package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -1
  35. package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +1 -1
  36. package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +16 -16
  37. package/ui/.next/server/app/[locale]/(base)/settings/page.js +10 -9
  38. package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -1
  39. package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +1 -1
  40. package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +2 -2
  41. package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +4 -4
  42. package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +1 -1
  43. package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +1 -1
  44. package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +2 -2
  45. package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +1 -1
  46. package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +3 -3
  47. package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +5 -5
  48. package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +1 -1
  49. package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +3 -3
  50. package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +4 -4
  51. package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +1 -1
  52. package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +3 -3
  53. package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +4 -4
  54. package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +1 -1
  55. package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +3 -3
  56. package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +4 -4
  57. package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +1 -1
  58. package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +2 -2
  59. package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +3 -3
  60. package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +1 -1
  61. package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +3 -3
  62. package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +5 -5
  63. package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +1 -1
  64. package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +2 -2
  65. package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +3 -3
  66. package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +1 -1
  67. package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +2 -2
  68. package/ui/.next/server/app/[locale].segments/_full.segment.rsc +4 -4
  69. package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +1 -1
  70. package/ui/.next/server/app/_global-error.html +1 -1
  71. package/ui/.next/server/app/_global-error.rsc +1 -1
  72. package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  73. package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  74. package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  75. package/ui/.next/server/app/_not-found.html +1 -1
  76. package/ui/.next/server/app/_not-found.rsc +1 -1
  77. package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  78. package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  79. package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  80. package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +2 -2
  81. package/ui/.next/server/app/api/services/[id]/logs/stream/route.js +2 -2
  82. package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -1
  83. package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -1
  84. package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -1
  85. package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -1
  86. package/ui/.next/server/app/auth/cloudflare/route.js +9 -8
  87. package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -1
  88. package/ui/.next/server/app/auth/github/route.js.nft.json +1 -1
  89. package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -1
  90. package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -1
  91. package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -1
  92. package/ui/.next/server/app/en/install.html +1 -1
  93. package/ui/.next/server/app/en/install.meta +1 -1
  94. package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +2 -2
  95. package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +1 -1
  96. package/ui/.next/server/app/en/install.segments/_full.segment.rsc +2 -2
  97. package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +1 -1
  98. package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +1 -1
  99. package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +1 -1
  100. package/ui/.next/server/app/en/login.segments/_full.segment.rsc +1 -1
  101. package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +1 -1
  102. package/ui/.next/server/app/en/services/[id]/builds.html +1 -1
  103. package/ui/.next/server/app/en/services/[id]/builds.meta +1 -1
  104. package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +4 -4
  105. package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +4 -4
  106. package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +1 -1
  107. package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +5 -5
  108. package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +1 -1
  109. package/ui/.next/server/app/en/services/[id]/logs.html +1 -1
  110. package/ui/.next/server/app/en/services/[id]/logs.meta +1 -1
  111. package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +4 -4
  112. package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +4 -4
  113. package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +1 -1
  114. package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +5 -5
  115. package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +1 -1
  116. package/ui/.next/server/app/en/services/[id]/settings.html +1 -1
  117. package/ui/.next/server/app/en/services/[id]/settings.meta +1 -1
  118. package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +4 -4
  119. package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +4 -4
  120. package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +1 -1
  121. package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +6 -6
  122. package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +1 -1
  123. package/ui/.next/server/app/en/services/[id].html +1 -1
  124. package/ui/.next/server/app/en/services/[id].meta +1 -1
  125. package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +4 -4
  126. package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +4 -4
  127. package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +1 -1
  128. package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +6 -6
  129. package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +1 -1
  130. package/ui/.next/server/app/en/services/new.html +1 -1
  131. package/ui/.next/server/app/en/services/new.meta +1 -1
  132. package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +2 -2
  133. package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
  134. package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +1 -1
  135. package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +3 -3
  136. package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +1 -1
  137. package/ui/.next/server/app/en/services.html +1 -1
  138. package/ui/.next/server/app/en/services.meta +1 -1
  139. package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +2 -2
  140. package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
  141. package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +1 -1
  142. package/ui/.next/server/app/en/services.segments/_full.segment.rsc +3 -3
  143. package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +1 -1
  144. package/ui/.next/server/app/en/settings.html +1 -1
  145. package/ui/.next/server/app/en/settings.meta +1 -1
  146. package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +1 -1
  147. package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
  148. package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +1 -1
  149. package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +3 -3
  150. package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +1 -1
  151. package/ui/.next/server/app/en.html +1 -1
  152. package/ui/.next/server/app/en.meta +1 -1
  153. package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +1 -1
  154. package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
  155. package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +1 -1
  156. package/ui/.next/server/app/en.segments/_full.segment.rsc +3 -3
  157. package/ui/.next/server/app/en.segments/_tree.segment.rsc +1 -1
  158. package/ui/.next/server/app/webhooks/github/route.js +7 -7
  159. package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -1
  160. package/ui/.next/server/chunks/{[root-of-the-server]__20bmml6indb5r._.js → [root-of-the-server]__0hgon_k2l_1kv._.js} +2 -2
  161. package/ui/.next/server/chunks/[root-of-the-server]__0qe_mikj7agcq._.js +3 -0
  162. package/ui/.next/server/chunks/{[root-of-the-server]__1l3jktn1mq9y0._.js → [root-of-the-server]__13axmhhz6grni._.js} +2 -2
  163. package/ui/.next/server/chunks/{[root-of-the-server]__1j-z2o01lu5_i._.js → [root-of-the-server]__191v8a8_de7ne._.js} +1 -1
  164. package/ui/.next/server/chunks/[root-of-the-server]__1ft_94atr8caf._.js +3 -0
  165. package/ui/.next/server/chunks/{[root-of-the-server]__0m6flex5odxuj._.js → [root-of-the-server]__1g9njz47vqbb2._.js} +1 -1
  166. package/ui/.next/server/chunks/_0fakz5bf_8pur._.js +1 -1
  167. package/ui/.next/server/chunks/_0nlsx2mvtyhai._.js +3 -0
  168. package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +4 -4
  169. package/ui/.next/server/chunks/_1hom9geso8mh2._.js +1 -1
  170. package/ui/.next/server/chunks/_1xyz4i2jb2-s2._.js +3 -0
  171. package/ui/.next/server/chunks/_205giqmll3u97._.js +1 -1
  172. package/ui/.next/server/chunks/src_1gxoul9hz0c2d._.js +1 -1
  173. package/ui/.next/server/chunks/src_core_docker_ingress_ts_0k5y-exk0jujc._.js +1 -1
  174. package/ui/.next/server/chunks/src_core_docker_tunnel_ts_0a1cq4o2gv4cz._.js +1 -1
  175. package/ui/.next/server/chunks/src_core_nginx_ts_1bg68o99-jq87._.js +4 -4
  176. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ktv4mwammozc._.js +1 -1
  177. package/ui/.next/server/chunks/ssr/{[root-of-the-server]__132clfs6nokf6._.js → [root-of-the-server]__0rn0qge5iuk1u._.js} +1 -1
  178. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ut6xzq29vzgm._.js +3 -0
  179. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0w741sbi5bld1._.js +4 -0
  180. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0z8q72dki14gw._.js +3 -0
  181. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ahhnj3wnei6e._.js +4 -0
  182. package/ui/.next/server/chunks/ssr/{[root-of-the-server]__0ai9eb5tkexh4._.js → [root-of-the-server]__1fhe1py6wekjw._.js} +1 -1
  183. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1uwc7qo6i8tgd._.js +3 -0
  184. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1w20lhl50jx-7._.js +4 -0
  185. package/ui/.next/server/chunks/ssr/[root-of-the-server]__20a05rk0-nb4g._.js +3 -0
  186. package/ui/.next/server/chunks/ssr/_01e3rinj2_l0i._.js +1 -1
  187. package/ui/.next/server/chunks/ssr/_02igs4en3q5ay._.js +3 -0
  188. package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +1 -1
  189. package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +1 -1
  190. package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +1 -1
  191. package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +1 -1
  192. package/ui/.next/server/chunks/ssr/_10di_vw2zn99-._.js +4 -0
  193. package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +1 -1
  194. package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +2 -2
  195. package/ui/.next/server/chunks/ssr/_1gxrg8g_1z61n._.js +1 -1
  196. package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +1 -1
  197. package/ui/.next/server/chunks/ssr/{_07p4xpdzi-eb5._.js → _1swm39zqwfbgz._.js} +1 -1
  198. package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +1 -1
  199. package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +1 -1
  200. package/ui/.next/server/chunks/ssr/src_09ctnfzfi7gev._.js +3 -0
  201. package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +1 -1
  202. package/ui/.next/server/chunks/ssr/src_1rhxx_vix93j3._.js +3 -0
  203. package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +1 -1
  204. package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +1 -1
  205. package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +1 -1
  206. package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +1 -1
  207. package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +1 -1
  208. package/ui/.next/server/chunks/ssr/{src_core_1muw37nr49lee._.js → src_core_02a21dtc1uaku._.js} +1 -1
  209. package/ui/.next/server/chunks/ssr/src_core_docker_ingress_ts_0v7q2dx4d_gfp._.js +1 -1
  210. package/ui/.next/server/chunks/ssr/src_core_docker_tunnel_ts_1805lsnks1qba._.js +1 -1
  211. package/ui/.next/server/middleware-build-manifest.js +3 -3
  212. package/ui/.next/server/pages/404.html +1 -1
  213. package/ui/.next/server/pages/500.html +1 -1
  214. package/ui/.next/server/preview-props.json +3 -3
  215. package/ui/.next/server/server-reference-manifest.js +1 -1
  216. package/ui/.next/server/server-reference-manifest.json +50 -50
  217. package/ui/.next/static/chunks/{37wkadxks_edv.js → 0om4m_06mlnre.js} +1 -1
  218. package/ui/.next/static/chunks/{36k4x2md6j_u4.js → 1ptcfx203durp.js} +1 -1
  219. package/ui/.next/static/chunks/1u0u336632rb0.js +1 -0
  220. package/ui/src/core/docker/ingress.test.ts +6 -6
  221. package/ui/src/core/docker/ingress.ts +3 -26
  222. package/ui/src/core/docker/networks.ts +41 -0
  223. package/ui/src/core/docker/tunnel.test.ts +3 -0
  224. package/ui/src/core/docker/tunnel.ts +2 -1
  225. package/ui/src/core/docker.ts +0 -26
  226. package/ui/.next/server/chunks/[root-of-the-server]__0igevkdgl0ipi._.js +0 -3
  227. package/ui/.next/server/chunks/[root-of-the-server]__12udgfypv-16z._.js +0 -3
  228. package/ui/.next/server/chunks/_0-5ugvu-oeiw1._.js +0 -3
  229. package/ui/.next/server/chunks/src_1blp7j39u7nfe._.js +0 -3
  230. package/ui/.next/server/chunks/ssr/[root-of-the-server]__06iet3k3lhjnm._.js +0 -4
  231. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0qsci72xhefes._.js +0 -4
  232. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ugs1_b03dr97._.js +0 -4
  233. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0xtjyia-9-nzc._.js +0 -4
  234. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1g6i0yq1cv1j7._.js +0 -3
  235. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1pb7oi97dnmzg._.js +0 -3
  236. package/ui/.next/server/chunks/ssr/_1fi0g_feq42jr._.js +0 -4
  237. package/ui/.next/server/chunks/ssr/_1tcz5rcgonbsu._.js +0 -3
  238. package/ui/.next/static/chunks/1t8qsznew0b1b.js +0 -1
  239. /package/ui/.next/static/{i7F5gbPlYIvqhaTVpaFyi → jS0aVYApf7Gc7dPYRxehn}/_buildManifest.js +0 -0
  240. /package/ui/.next/static/{i7F5gbPlYIvqhaTVpaFyi → jS0aVYApf7Gc7dPYRxehn}/_clientMiddlewareManifest.js +0 -0
  241. /package/ui/.next/static/{i7F5gbPlYIvqhaTVpaFyi → jS0aVYApf7Gc7dPYRxehn}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "node": {
3
- "8033ffdbc5e23c9b3f925acef5009b311f2710bb52": {
3
+ "80c9edf7302635f47a14e973b35a3c862368529798": {
4
4
  "workers": {
5
5
  "app/[locale]/(base)/services/[id]/builds/page": {
6
6
  "moduleId": 60744,
@@ -30,7 +30,7 @@
30
30
  "filename": "src/data/services.ts",
31
31
  "exportedName": "$$RSC_SERVER_CACHE_0"
32
32
  },
33
- "c08e42c0c7b0933d7b30dcf732c9d96b795ce408ed": {
33
+ "c0f43d8dda0a2a123f85fad4f1e3fcc218afdf64fb": {
34
34
  "workers": {
35
35
  "app/[locale]/(base)/services/[id]/builds/page": {
36
36
  "moduleId": 60744,
@@ -60,7 +60,7 @@
60
60
  "filename": "src/data/services.ts",
61
61
  "exportedName": "$$RSC_SERVER_CACHE_1"
62
62
  },
63
- "7f24966e5816c94c8694079cf3fbc8fe958479b600": {
63
+ "7f346ea5fbd4cfb5696d67236e64e1249b7a37e0e6": {
64
64
  "workers": {
65
65
  "app/[locale]/(auth)/install/page": {
66
66
  "moduleId": 31124,
@@ -74,7 +74,7 @@
74
74
  "filename": "src/actions/cloudflare.ts",
75
75
  "exportedName": "setUpTunnelAction"
76
76
  },
77
- "7f5c5d7bad5da9bd12bb468e129a1d4990b039b700": {
77
+ "7f5054d0d61a481c18d10cc01eb8f1b6a5b3d533db": {
78
78
  "workers": {
79
79
  "app/[locale]/(auth)/install/page": {
80
80
  "moduleId": 31124,
@@ -86,9 +86,9 @@
86
86
  }
87
87
  },
88
88
  "filename": "src/actions/cloudflare.ts",
89
- "exportedName": "disconnectCloudflareAction"
89
+ "exportedName": "connectCloudflareAction"
90
90
  },
91
- "7f73f75e3a463b3b66fbc982416dfdd5d59d7f8463": {
91
+ "7f53e5b47741926e637fe8686e6a10bd98d83ef7d9": {
92
92
  "workers": {
93
93
  "app/[locale]/(auth)/install/page": {
94
94
  "moduleId": 31124,
@@ -100,9 +100,9 @@
100
100
  }
101
101
  },
102
102
  "filename": "src/actions/cloudflare.ts",
103
- "exportedName": "connectCloudflareAction"
103
+ "exportedName": "disconnectCloudflareAction"
104
104
  },
105
- "7f3634b430fdd94027e6289bdfe45174eaaae65a3f": {
105
+ "7feadeef4c6cbf21f6b2f04423b9ad25c2c72fc77e": {
106
106
  "workers": {
107
107
  "app/[locale]/(auth)/install/page": {
108
108
  "moduleId": 31124,
@@ -112,7 +112,7 @@
112
112
  "filename": "src/actions/setup.ts",
113
113
  "exportedName": "retryDomainAction"
114
114
  },
115
- "7f0751927635029cf04adde913e0f96acdede683f6": {
115
+ "7faa20c8c0a0729c5e1eb56907ff96974c5fae0716": {
116
116
  "workers": {
117
117
  "app/[locale]/(auth)/install/page": {
118
118
  "moduleId": 31124,
@@ -126,7 +126,7 @@
126
126
  "filename": "src/actions/dashboard-domain.ts",
127
127
  "exportedName": "setDashboardDomainAction"
128
128
  },
129
- "7ffe7e66807e106dff11881284baad3faf9abf330d": {
129
+ "7fcc65282c4d504573109797d3c622b1facce3edc5": {
130
130
  "workers": {
131
131
  "app/[locale]/(auth)/install/page": {
132
132
  "moduleId": 31124,
@@ -140,7 +140,7 @@
140
140
  "filename": "src/actions/dashboard-domain.ts",
141
141
  "exportedName": "removeDashboardDomainAction"
142
142
  },
143
- "7f0eeaca9e6a06f4df354dd2d7032be49df1216854": {
143
+ "7f07b899b274e4ce4188133c86a1633ed3789e6463": {
144
144
  "workers": {
145
145
  "app/[locale]/(auth)/install/page": {
146
146
  "moduleId": 31124,
@@ -158,7 +158,7 @@
158
158
  "filename": "src/actions/domain.ts",
159
159
  "exportedName": "takeOverDomainAction"
160
160
  },
161
- "7f795175531fa75747c7514d33d114e480653da6a4": {
161
+ "7f17515fb53c1c5694b20457b4f6f35826c4714770": {
162
162
  "workers": {
163
163
  "app/[locale]/(auth)/install/page": {
164
164
  "moduleId": 31124,
@@ -174,9 +174,9 @@
174
174
  }
175
175
  },
176
176
  "filename": "src/actions/domain.ts",
177
- "exportedName": "syncDomainsAction"
177
+ "exportedName": "addDomainAction"
178
178
  },
179
- "7f970320bc7ed26fa7dc0bd1d44b199bbbbf044938": {
179
+ "7f44ec55ef7c498b63040c38f6b34d1f308c1ec4fe": {
180
180
  "workers": {
181
181
  "app/[locale]/(auth)/install/page": {
182
182
  "moduleId": 31124,
@@ -192,9 +192,9 @@
192
192
  }
193
193
  },
194
194
  "filename": "src/actions/domain.ts",
195
- "exportedName": "addDomainAction"
195
+ "exportedName": "syncDomainsAction"
196
196
  },
197
- "7fc734866312ecd4eccfcef3a71a7b5891f6b5e8a3": {
197
+ "7faea45ece3003c0546dee84e5f03b8fd95733c06d": {
198
198
  "workers": {
199
199
  "app/[locale]/(auth)/install/page": {
200
200
  "moduleId": 31124,
@@ -212,7 +212,7 @@
212
212
  "filename": "src/actions/domain.ts",
213
213
  "exportedName": "removeDomainAction"
214
214
  },
215
- "60ac5bf54ba00dc98de8b8a4df3e881a2212784bce": {
215
+ "606fc99ef3961508b9a4311d445cef6d826d9f2531": {
216
216
  "workers": {
217
217
  "app/[locale]/(auth)/install/page": {
218
218
  "moduleId": 31124,
@@ -222,7 +222,7 @@
222
222
  "filename": "src/actions/install.ts",
223
223
  "exportedName": "installApp"
224
224
  },
225
- "40f68205a38ed90c943c994363ef5143f8fb58b8a7": {
225
+ "4012034401b6b42fbc9a06804201403a57a4ec97dd": {
226
226
  "workers": {
227
227
  "app/[locale]/(base)/page": {
228
228
  "moduleId": 57937,
@@ -260,7 +260,7 @@
260
260
  "filename": "src/actions/session.ts",
261
261
  "exportedName": "logout"
262
262
  },
263
- "4035a42ab2880ec923b239fb54b3e7a5b62544bb84": {
263
+ "4036b204d57896f18237a2ecbc63ea253504f512c0": {
264
264
  "workers": {
265
265
  "app/[locale]/(base)/services/[id]/builds/page": {
266
266
  "moduleId": 60744,
@@ -284,9 +284,9 @@
284
284
  }
285
285
  },
286
286
  "filename": "src/actions/service.ts",
287
- "exportedName": "restartService"
287
+ "exportedName": "stopService"
288
288
  },
289
- "406a2724e8caee28710882a63d2fb2c89eda537e9f": {
289
+ "403da95134737c859b2706e9b5ad1feea76bc9650d": {
290
290
  "workers": {
291
291
  "app/[locale]/(base)/services/[id]/builds/page": {
292
292
  "moduleId": 60744,
@@ -310,9 +310,9 @@
310
310
  }
311
311
  },
312
312
  "filename": "src/actions/service.ts",
313
- "exportedName": "triggerBuild"
313
+ "exportedName": "startService"
314
314
  },
315
- "4074910bf994b0e7054612762af621e7389720f573": {
315
+ "407bd20444b0766847eebc70adaf089b9044af8e31": {
316
316
  "workers": {
317
317
  "app/[locale]/(base)/services/[id]/builds/page": {
318
318
  "moduleId": 60744,
@@ -336,9 +336,9 @@
336
336
  }
337
337
  },
338
338
  "filename": "src/actions/service.ts",
339
- "exportedName": "create"
339
+ "exportedName": "triggerBuild"
340
340
  },
341
- "4077ee6ad7fb02ed8593e0378c960c6d09e02f9e2d": {
341
+ "40944952890aca16da33567ed3bcedd321636ac95a": {
342
342
  "workers": {
343
343
  "app/[locale]/(base)/services/[id]/builds/page": {
344
344
  "moduleId": 60744,
@@ -362,9 +362,9 @@
362
362
  }
363
363
  },
364
364
  "filename": "src/actions/service.ts",
365
- "exportedName": "stopService"
365
+ "exportedName": "restartService"
366
366
  },
367
- "40ab32cd0ba12e81ad787b1f17bd7aa67c0139497d": {
367
+ "40c3648ea3cdfaa054836faed7109b1a08869fe734": {
368
368
  "workers": {
369
369
  "app/[locale]/(base)/services/[id]/builds/page": {
370
370
  "moduleId": 60744,
@@ -388,9 +388,9 @@
388
388
  }
389
389
  },
390
390
  "filename": "src/actions/service.ts",
391
- "exportedName": "redeployService"
391
+ "exportedName": "create"
392
392
  },
393
- "40da5c2139e58ca5799826e979ab9bcad0290f409c": {
393
+ "40e9bbf6e54ecd7d0ef21943d341c3bbb928079489": {
394
394
  "workers": {
395
395
  "app/[locale]/(base)/services/[id]/builds/page": {
396
396
  "moduleId": 60744,
@@ -414,9 +414,9 @@
414
414
  }
415
415
  },
416
416
  "filename": "src/actions/service.ts",
417
- "exportedName": "startService"
417
+ "exportedName": "redeployService"
418
418
  },
419
- "601d8771413a9c8879bdcb86de2cb6b4b2e47f9d42": {
419
+ "604d2073c74394f0950f8c817b3d0bcbb120d46bd3": {
420
420
  "workers": {
421
421
  "app/[locale]/(base)/services/[id]/builds/page": {
422
422
  "moduleId": 60744,
@@ -440,9 +440,9 @@
440
440
  }
441
441
  },
442
442
  "filename": "src/actions/service.ts",
443
- "exportedName": "start"
443
+ "exportedName": "build"
444
444
  },
445
- "604b7e14da28267e9cca4c52be0470b144cf49f9d0": {
445
+ "60987b8d8d2920688253128514d932f4011ed8a262": {
446
446
  "workers": {
447
447
  "app/[locale]/(base)/services/[id]/builds/page": {
448
448
  "moduleId": 60744,
@@ -466,9 +466,9 @@
466
466
  }
467
467
  },
468
468
  "filename": "src/actions/service.ts",
469
- "exportedName": "build"
469
+ "exportedName": "start"
470
470
  },
471
- "707a08ee0f1b2c7e41109d35516563686fc862a1b7": {
471
+ "7031a6788e33a3ec21c11249d80c78183f3732605e": {
472
472
  "workers": {
473
473
  "app/[locale]/(base)/services/[id]/builds/page": {
474
474
  "moduleId": 60744,
@@ -492,9 +492,9 @@
492
492
  }
493
493
  },
494
494
  "filename": "src/actions/service.ts",
495
- "exportedName": "stop"
495
+ "exportedName": "detachDatabase"
496
496
  },
497
- "708a4b62f1d63c943fac0022bfee7dea7286e01052": {
497
+ "70759d4ad5c19f879dcf7bebc72d902abbac135b58": {
498
498
  "workers": {
499
499
  "app/[locale]/(base)/services/[id]/builds/page": {
500
500
  "moduleId": 60744,
@@ -518,9 +518,9 @@
518
518
  }
519
519
  },
520
520
  "filename": "src/actions/service.ts",
521
- "exportedName": "attachDatabase"
521
+ "exportedName": "stop"
522
522
  },
523
- "70ee6defbd2575614f150a73a589d69f929070fb6c": {
523
+ "70a525483f85314d8a9f616657d3b0344cc32a9044": {
524
524
  "workers": {
525
525
  "app/[locale]/(base)/services/[id]/builds/page": {
526
526
  "moduleId": 60744,
@@ -544,9 +544,9 @@
544
544
  }
545
545
  },
546
546
  "filename": "src/actions/service.ts",
547
- "exportedName": "detachDatabase"
547
+ "exportedName": "update"
548
548
  },
549
- "70f3262b7a9cc3bd03d89fd07efce121a20f60f8a1": {
549
+ "70ee3e9803194680c49725daee267f88b25057d895": {
550
550
  "workers": {
551
551
  "app/[locale]/(base)/services/[id]/builds/page": {
552
552
  "moduleId": 60744,
@@ -570,9 +570,9 @@
570
570
  }
571
571
  },
572
572
  "filename": "src/actions/service.ts",
573
- "exportedName": "update"
573
+ "exportedName": "attachDatabase"
574
574
  },
575
- "7f86c55aa4ae5c99decd4e219a115083b057fdaedd": {
575
+ "7f2ec1afc9fdaaa369d6c331b947363bf8588c20d7": {
576
576
  "workers": {
577
577
  "app/[locale]/(base)/services/[id]/builds/page": {
578
578
  "moduleId": 60744,
@@ -596,9 +596,9 @@
596
596
  }
597
597
  },
598
598
  "filename": "src/actions/service.ts",
599
- "exportedName": "updateServiceAction"
599
+ "exportedName": "createServiceAction"
600
600
  },
601
- "7fa8dd153febfe4453a75626c9f0de271f0e1cad13": {
601
+ "7fb4384099853ba61d40343ecaff44711c1a350008": {
602
602
  "workers": {
603
603
  "app/[locale]/(base)/services/[id]/builds/page": {
604
604
  "moduleId": 60744,
@@ -622,9 +622,9 @@
622
622
  }
623
623
  },
624
624
  "filename": "src/actions/service.ts",
625
- "exportedName": "createServiceAction"
625
+ "exportedName": "updateServiceAction"
626
626
  },
627
- "7fb7e8604f41129245d1334fb22338fcb53118011c": {
627
+ "7fead437cc652636309fdb331bec9e6a8f80fa36ec": {
628
628
  "workers": {
629
629
  "app/[locale]/(base)/services/[id]/builds/page": {
630
630
  "moduleId": 60744,
@@ -650,7 +650,7 @@
650
650
  "filename": "src/actions/service.ts",
651
651
  "exportedName": "deleteServiceAction"
652
652
  },
653
- "7f97e7115d345ad04841a0f9e9dccb0723d76666a6": {
653
+ "7f42eee0915356902719a616747ffcd427a185638e": {
654
654
  "workers": {
655
655
  "app/[locale]/(base)/settings/page": {
656
656
  "moduleId": 23922,
@@ -660,7 +660,7 @@
660
660
  "filename": "src/actions/user.ts",
661
661
  "exportedName": "addUserAction"
662
662
  },
663
- "7f9d309411179463ddb0bdf631dc78a85cbd3fa782": {
663
+ "7fee9edd50c552f256e45e3bd7ed3d23bebd303515": {
664
664
  "workers": {
665
665
  "app/[locale]/(base)/settings/page": {
666
666
  "moduleId": 23922,
@@ -672,5 +672,5 @@
672
672
  }
673
673
  },
674
674
  "edge": {},
675
- "encryptionKey": "nR8cufEeR2sBOgjJnDD87Y0bBYcnyojG+40sOU4YI4I="
675
+ "encryptionKey": "WwCOX0zYweIOOQaBuQpiDuoFGVm2vXkqZccbXYulYvw="
676
676
  }
@@ -1,3 +1,3 @@
1
1
  (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77046,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r="bars",a=["navicon"],s="f0c9",n="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";i.definition={prefix:"fas",iconName:r,icon:[448,512,a,s,n]},i.faBars=i.definition,i.prefix="fas",i.iconName=r,i.width=448,i.height=512,i.ligatures=a,i.unicode=s,i.svgPathData=n,i.aliases=a},9211,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r="circle-check",a=[61533,"check-circle"],s="f058",n="M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z";i.definition={prefix:"fas",iconName:r,icon:[512,512,a,s,n]},i.faCircleCheck=i.definition,i.prefix="fas",i.iconName=r,i.width=512,i.height=512,i.ligatures=a,i.unicode=s,i.svgPathData=n,i.aliases=a},88340,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r="circle-exclamation",a=["exclamation-circle"],s="f06a",n="M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z";i.definition={prefix:"fas",iconName:r,icon:[512,512,a,s,n]},i.faCircleExclamation=i.definition,i.prefix="fas",i.iconName=r,i.width=512,i.height=512,i.ligatures=a,i.unicode=s,i.svgPathData=n,i.aliases=a},19582,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r="gear",a=[9881,"cog"],s="f013",n="M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z";i.definition={prefix:"fas",iconName:r,icon:[512,512,a,s,n]},i.faGear=i.definition,i.prefix="fas",i.iconName=r,i.width=512,i.height=512,i.ligatures=a,i.unicode=s,i.svgPathData=n,i.aliases=a},50817,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r="right-from-bracket",a=["sign-out-alt"],s="f2f5",n="M505 273c9.4-9.4 9.4-24.6 0-33.9L361 95c-6.9-6.9-17.2-8.9-26.2-5.2S320 102.3 320 112l0 80-112 0c-26.5 0-48 21.5-48 48l0 32c0 26.5 21.5 48 48 48l112 0 0 80c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2L505 273zM160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0z";i.definition={prefix:"fas",iconName:r,icon:[512,512,a,s,n]},i.faRightFromBracket=i.definition,i.prefix="fas",i.iconName=r,i.width=512,i.height=512,i.ligatures=a,i.unicode=s,i.svgPathData=n,i.aliases=a},41636,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r="server",a=[],s="f233",n="M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z";i.definition={prefix:"fas",iconName:r,icon:[448,512,a,s,n]},i.faServer=i.definition,i.prefix="fas",i.iconName=r,i.width=448,i.height=512,i.ligatures=a,i.unicode=s,i.svgPathData=n,i.aliases=a},95187,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={callServer:function(){return s.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in r)Object.defineProperty(i,a,{enumerable:!0,get:r[a]});let s=e.r(32120),n=e.r(92245),l=e.r(35326)},5500,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return b}});let r=e.r(55682),a=e.r(90809),s=e.r(43476),n=a._(e.r(71645)),l=r._(e.r(74080)),o=r._(e.r(25633)),c=e.r(8927),u=e.r(65856),d=e.r(49381),f=r._(e.r(1948)),m=e.r(18581);function p(e,t,i,r,a,s,n){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,a=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{a=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function g(e){return n.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let h="u"<typeof window?n.useEffect:n.useLayoutEffect,x=(0,n.forwardRef)(({src:e,srcSet:t,sizes:i,height:r,width:a,decoding:l,className:o,style:c,fetchPriority:u,placeholder:d,loading:f,unoptimized:x,fill:v,onLoadRef:b,onLoadingCompleteRef:y,setBlurComplete:j,setShowAltText:w,sizesInput:P,onLoad:_,onError:C,...z},S)=>{let M=(0,n.useRef)(!1),k=(0,n.useRef)(null);h(()=>{let{current:e}=M,{current:t}=k;e||null===t||(C&&(t.src=t.src),t.complete&&p(t,d,b,y,j,x,P),M.current=!0)},[e,d,b,y,C,x,P]);let L=(0,m.useMergedRef)(S,k);return(0,s.jsx)("img",{...z,...g(u),loading:f,width:a,height:r,decoding:l,"data-nimg":v?"fill":"1",className:o,style:c,sizes:i,srcSet:t,src:e,ref:L,onLoad:e=>{p(e.currentTarget,d,b,y,j,x,P)},onError:e=>{w(!0),"empty"!==d&&j(!0),C&&C(e)}})});function v({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,i),null):(0,s.jsx)(o.default,{children:(0,s.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let b=(0,n.forwardRef)((e,t)=>{let i=(0,n.useContext)(u.RouterContext),r=(0,d.useImageConfig)(),{onLoad:a,onLoadingComplete:l}=e,o=(0,n.useRef)(a);(0,n.useEffect)(()=>{o.current=a},[a]);let m=(0,n.useRef)(l);(0,n.useEffect)(()=>{m.current=l},[l]);let[p,g]=(0,n.useState)(!1),[h,b]=(0,n.useState)(!1),{props:y,meta:j}=(0,c.getImgProps)(e,{defaultLoader:f.default,imgConf:r,blurComplete:p,showAltText:h});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x,{...y,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:o,onLoadingCompleteRef:m,setBlurComplete:g,setShowAltText:b,sizesInput:e.sizes,ref:t}),j.preload?(0,s.jsx)(v,{isAppRouter:!i,imgAttributes:y}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},49381,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useImageConfig",{enumerable:!0,get:function(){return l}});let r=e.r(71645),a=e.r(87690),s=e.r(18556),n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function l(){let e=(0,r.useContext)(s.ImageConfigContext);return(0,a.prepareImageConfig)(n,e)}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},70965,(e,t,i)=>{"use strict";function r(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return r}})},8927,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return o}});let r=e.r(43369),a=e.r(88143),s=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:0/0:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):0/0}function o({src:e,sizes:t,unoptimized:i=!1,priority:c=!1,preload:u=!1,loading:d,className:f,quality:m,width:p,height:g,fill:h=!1,style:x,overrideSrc:v,onLoad:b,onLoadingComplete:y,placeholder:j="empty",blurDataURL:w,fetchPriority:P,decoding:_="async",layout:C,objectFit:z,objectPosition:S,lazyBoundary:M,lazyRoot:k,...L},O){var R;let A,N,{imgConf:E,showAltText:I,blurComplete:D,defaultLoader:B}=O;if(void 0===B)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let U=L.loader||B;delete L.loader,delete L.srcSet;let T="__next_img_default"in U;if(T){if("custom"===E.loader)throw Error(`Image with src "${e}" is missing "loader" prop.
2
2
  Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{let e=U;U=t=>{let{config:i,...r}=t;return e(r)}}if(C){"fill"===C&&(h=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(x={...x,...e});let i={responsive:"100vw",fill:"100vw"}[C];i&&!t&&(t=i)}let $="",q=l(p),F=l(g);if((R=e)&&"object"==typeof R&&(n(R)||void 0!==R.src)){let t=n(e)?e.default:e;if(!t.src)throw Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`);if(!t.height||!t.width)throw Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`);if(A=t.blurWidth,N=t.blurHeight,w=w||t.blurDataURL,$=t.src,!h)if(q||F){if(q&&!F){let e=q/t.width;F=Math.round(t.height*e)}else if(!q&&F){let e=F/t.height;q=Math.round(t.width*e)}}else q=t.width,F=t.height}let W=!c&&!u&&("lazy"===d||void 0===d);(!(e="string"==typeof e?e:$)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,W=!1),E.unoptimized&&(i=!0),T&&!E.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let G=l(m),X=Object.assign(h?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:S}:{},I?{}:{color:"transparent"},x),V=D||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,a.getImageBlurSvg)({widthInt:q,heightInt:F,blurWidth:A,blurHeight:N,blurDataURL:w||"",objectFit:X.objectFit})}")`:`url("${j}")`,H=s.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,K=V?{backgroundSize:H,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},J=function({config:e,src:t,unoptimized:i,width:a,quality:s,sizes:n,loader:l}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())e=void 0;else if(e){let i=t.indexOf("?");if(-1!==i){let r=new URLSearchParams(t.slice(i+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,i)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:c}=function({deviceSizes:e,allSizes:t},i,r){if(r){let i=/(^|\s)(1?\d?\d)vw/g,a=[];for(let e;e=i.exec(r);)a.push(parseInt(e[2]));if(a.length){let i=.01*Math.min(...a);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,a,n),u=o.length-1;return{sizes:n||"w"!==c?n:"100vw",srcSet:o.map((i,r)=>`${l({config:e,src:t,quality:s,width:i})} ${"w"===c?i:r+1}${c}`).join(", "),src:l({config:e,src:t,quality:s,width:o[u]})}}({config:E,src:e,unoptimized:i,width:q,quality:G,sizes:t,loader:U}),Q=W?"lazy":d;return{props:{...L,loading:Q,fetchPriority:P,width:q,height:F,decoding:_,className:f,style:{...X,...K},sizes:J.sizes,srcSet:J.srcSet,src:v||J.src},meta:{unoptimized:i,preload:u||c,placeholder:j,fill:h}}}},25633,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return g},defaultHead:function(){return d}};for(var a in r)Object.defineProperty(i,a,{enumerable:!0,get:r[a]});let s=e.r(55682),n=e.r(90809),l=e.r(43476),o=n._(e.r(71645)),c=s._(e.r(98879)),u=e.r(42732);function d(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let m=["name","httpEquiv","charSet","itemProp"];function p(e){let t,i,r,a;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,i=new Set,r=new Set,a={},e=>{let s=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?s=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?s=!1:i.add(e.type);break;case"meta":for(let t=0,i=m.length;t<i;t++){let i=m[t];if(e.props.hasOwnProperty(i))if("charSet"===i)r.has(i)?s=!1:r.add(i);else{let t=e.props[i],r=a[i]||new Set;("name"!==i||!n)&&r.has(t)?s=!1:(r.add(t),a[i]=r)}}}return s})).reverse().map((e,t)=>{let i=e.key||t;return o.default.cloneElement(e,{key:i})})}let g=function({children:e}){let t=(0,o.useContext)(u.HeadManagerContext);return(0,l.jsx)(c.default,{reduceComponentsToState:p,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},88143,(e,t,i)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:i,blurHeight:a,blurDataURL:s,objectFit:n}){let l=i?40*i:e,o=a?40*a:t,c=l&&o?`viewBox='0 0 ${l} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${c}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${c?"none":"contain"===n?"xMidYMid":"cover"===n?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},18556,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let r=e.r(55682)._(e.r(71645)),a=e.r(87690),s=r.default.createContext(a.imageConfigDefault)},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return c},prepareImageConfig:function(){return o}};for(var a in r)Object.defineProperty(i,a,{enumerable:!0,get:r[a]});let s=["default","imgix","cloudinary","akamai","custom"],n={},l=new WeakMap;function o(e,t){let i=e??n,r=t??n,a=l.get(i);if(a){let e=a.get(r);if(e)return e}let s=e||t||c,o=[...s.deviceSizes].sort((e,t)=>e-t),u=[...s.imageSizes],d={deviceSizes:o,imageSizes:u,allSizes:[...o,...u].sort((e,t)=>e-t),qualities:void 0===s.qualities?void 0:[...s.qualities].sort((e,t)=>e-t),path:s.path,loader:s.loader,dangerouslyAllowSVG:s.dangerouslyAllowSVG,unoptimized:s.unoptimized,domains:s.domains,remotePatterns:s.remotePatterns,localPatterns:"u"<typeof window&&void 0!==t?t.localPatterns:s.localPatterns,output:s.output};return a||(a=new WeakMap,l.set(i,a)),a.set(r,d),d}let c={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},1948,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n}});let r=e.r(70965),a=e.r(43369);function s({config:e,src:t,width:i,quality:n}){let l=(0,a.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,a.getAssetToken)())l=void 0;else{let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),r=i.get("dpl");if(r){l=r,i.delete("dpl");let a=i.toString();t=t.slice(0,e)+(a?"?"+a:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3
- Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`);let o=(0,r.findClosestQuality)(n,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${o}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}s.__next_img_default=!0;let n=s},65856,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return r}});let r=(e.r(55682)._(e.r(71645))).default.createContext(null)},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return l}});let r=e.r(71645),a="u"<typeof window,s=a?()=>{}:r.useLayoutEffect,n=a?()=>{}:r.useEffect;function l(e){let{headManager:t,reduceComponentsToState:i}=e;function l(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return a&&(t?.mountedInstances?.add(e.children),l()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),n(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},18566,(e,t,i)=>{t.exports=e.r(76562)},52706,e=>{e.q("/_next/static/media/logo.3_3wnbg_4_jdb.png")},22007,e=>{"use strict";var t=e.i(43476),i=e.i(50817),r=e.i(49721),a=e.i(61745),s=e.i(48148),n=e.i(95187);let l=(0,n.createServerReference)("40f68205a38ed90c943c994363ef5143f8fb58b8a7",n.callServer,void 0,n.findSourceMapURL,"logout");var o=e.i(19455);e.s(["default",0,()=>{let e=(0,s.f)("BaseLayout"),n=(0,a.X)();return(0,t.jsx)("form",{action:()=>l(n),className:"ml-auto shrink-0",children:(0,t.jsx)(o.f,{type:"submit",variant:"ghost",size:"sm","aria-label":e("logout"),title:e("logout"),className:"size-10 justify-center p-0 text-slate-400 hover:bg-slate-800/60 hover:text-rose-400",children:(0,t.jsx)(r.f,{icon:i.faRightFromBracket,className:"size-4"})})})}],22007)},1194,e=>{"use strict";var t=e.i(43476),i=e.i(19582),r=e.i(41636),a=e.i(49721),s=e.i(27459),n=e.i(48148),l=e.i(71645),o=e.i(93411);let c=[{href:"/services",label:"nav.services",icon:r.faServer}],u=[{href:"/settings",label:"nav.settings",icon:i.faGear}],d=({href:e,label:i,icon:r,pathname:l,onNavigate:c})=>{let u=(0,n.f)("BaseLayout"),d=l===e,f=d||l.startsWith(`${e}/`);return(0,t.jsxs)(o.L,{href:e,onClick:c,"aria-current":d?"page":f||void 0,className:(0,s.f)("flex h-10 items-center gap-3 rounded-lg px-3 text-sm font-medium transition-colors","focus-visible:outline-2 focus-visible:outline-slate-500",f?"bg-slate-800 text-white":"text-slate-400 hover:bg-slate-800/60 hover:text-slate-100"),children:[(0,t.jsx)(a.f,{icon:r,className:"size-4"}),(0,t.jsx)("span",{children:u(i)})]})},f=({isAdmin:e,...i})=>(0,l.use)(e)?u.map(e=>(0,t.jsx)(d,{...e,...i},e.href)):null,m=({isAdmin:e,...i})=>{let r=(0,n.f)("BaseLayout");return(0,t.jsxs)("nav",{"aria-label":r("nav.label"),className:"flex flex-1 flex-col gap-1 overflow-y-auto p-3",children:[c.map(e=>(0,t.jsx)(d,{...e,...i},e.href)),(0,t.jsx)(l.Suspense,{fallback:null,children:(0,t.jsx)(f,{isAdmin:e,...i})})]})},p=e=>(0,t.jsx)(m,{pathname:(0,o.x)(),...e});e.s(["default",0,e=>(0,t.jsx)(l.Suspense,{fallback:(0,t.jsx)(m,{pathname:"",...e}),children:(0,t.jsx)(p,{...e})})])},69964,e=>{"use strict";var t=e.i(43476),i=e.i(26323),r=e.i(28376),r=r,a=e.i(9977),s=e.i(41708),n=e.i(93480),l=e.i(9169),o=r,c=e.i(77046),u=e.i(58093),d=e.i(49721),f=e.i(27459),m=e.i(48148),p=e.i(71645),g=e.i(22007),h=e.i(5500),h=h;let x={src:e.i(52706).default,width:800,height:800,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA70lEQVR42j1Pu2qEUBS89W6fzc8ovhAEwcLKQhBRtFFxIdX+g43fkIdYWFj5qLKNgv6BooWFCn6ANifeQHLgDMNMMTMInXe9Xl9Zln34vv/Ej/nlcrlhD53kxbbtzzzPj6ZpoG1byLLssCzrHXuIJMl7URT7uq5Q1zVUVQXLskBZljtBEHfkum7e9z1s2wZJkkAURTDPM4zjCJ7n5eiEchgGmKYJwjCEIAig6zrAmuM4OaJp+i1N012WZRBFESRJAo7jII7jHcfjkjdd179UVT14ngdBEEBRlEPTtI/fkn8zGYZ5mKb5bRjGk6Ko/5k/dFKCXEMFqaIAAAAASUVORK5CYII="};var v=e.i(93411);let b=()=>(0,t.jsxs)(v.L,{href:"/services",className:"flex items-center gap-3 rounded-lg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-slate-500",children:[(0,t.jsx)("span",{className:"size-8 shrink-0 overflow-hidden rounded-full bg-white",children:(0,t.jsx)(h.Image,{src:x,alt:"",width:64,height:64,className:"size-full scale-130"})}),(0,t.jsx)("span",{className:"text-base font-semibold tracking-tight text-slate-100",children:"Buttler"})]});var y=e.i(1194);let j=(0,f.f)("flex size-10 items-center justify-center rounded-lg text-slate-400 transition-colors","hover:bg-slate-800/60 hover:text-slate-100","focus-visible:outline-2 focus-visible:outline-slate-500");e.s(["default",0,({currentUser:e,isAdmin:h})=>{let x=(0,m.f)("BaseLayout"),[v,w]=(0,p.useState)(!1);return(0,p.useEffect)(()=>{let e=window.matchMedia("(width >= 64rem)"),t=()=>{e.matches&&w(!1)};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,t.jsxs)("header",{className:(0,f.f)("sticky top-0 z-30 flex h-14 items-center justify-between pr-2 pl-4 lg:hidden","border-b border-slate-800 bg-slate-950/90 backdrop-blur-md"),children:[(0,t.jsx)(b,{}),(0,t.jsxs)(i.f.Root,{open:v,onOpenChange:w,children:[(0,t.jsx)(r.Trigger,{"aria-label":x("openMenu"),className:j,children:(0,t.jsx)(d.f,{icon:c.faBars,className:"size-4"})}),(0,t.jsxs)(a.f.Portal,{children:[(0,t.jsx)(s.f.Backdrop,{className:(0,f.f)("fixed inset-0 z-40 bg-slate-950/70 backdrop-blur-xs transition-opacity duration-200 lg:hidden","data-ending-style:opacity-0 data-starting-style:opacity-0")}),(0,t.jsxs)(n.f.Popup,{className:(0,f.f)("fixed inset-y-0 right-0 z-50 flex w-72 max-w-[85vw] flex-col lg:hidden","border-l border-slate-800 bg-slate-900 text-slate-100","transition-transform duration-200 ease-out motion-reduce:transition-none","data-ending-style:translate-x-full data-starting-style:translate-x-full"),children:[(0,t.jsxs)("div",{className:"flex h-14 shrink-0 items-center justify-between border-b border-slate-800 pr-2 pl-6",children:[(0,t.jsx)(l.f.Title,{className:"text-sm font-semibold",children:x("menu")}),(0,t.jsx)(o.Close,{"aria-label":x("closeMenu"),className:j,children:(0,t.jsx)(d.f,{icon:u.faXmark,className:"size-4"})})]}),(0,t.jsx)(y.default,{isAdmin:h,onNavigate:()=>w(!1)}),(0,t.jsxs)("div",{className:"flex items-center gap-2 border-t border-slate-800 p-3",children:[e,(0,t.jsx)(g.default,{})]})]})]})]})]})}],69964)},73635,e=>{"use strict";var t=e.i(43476),i=e.i(5654),r=e.i(2860),r=r,a=r,s=r,n=r,l=r,o=r,c=r,u=e.i(9211),d=e.i(88340),f=e.i(70759),m=e.i(58093),p=e.i(49721),g=e.i(27459),h=e.i(48148);let x=()=>{let e=(0,h.f)("BaseLayout"),{toasts:l}=i.f.useToastManager();return l.map(i=>{let{icon:l,className:o}=function(e){switch(e){case"loading":return{icon:f.faSpinner,className:"animate-spin text-slate-400"};case"error":return{icon:d.faCircleExclamation,className:"text-rose-400"};default:return{icon:u.faCircleCheck,className:"text-emerald-400"}}}(i.type);return(0,t.jsx)(r.Root,{toast:i,className:(0,g.f)("rounded-xl border border-slate-700 bg-slate-900 shadow-2xl transition duration-200","data-starting-style:translate-y-2 data-starting-style:opacity-0","data-ending-style:translate-y-2 data-ending-style:opacity-0 data-limited:hidden"),children:(0,t.jsxs)(a.Content,{className:"flex items-center gap-3 px-4 py-3",children:[(0,t.jsx)(p.f,{icon:l,className:(0,g.f)("size-4 shrink-0",o)}),(0,t.jsx)(s.Description,{className:"min-w-0 flex-1 text-sm text-slate-200"}),(0,t.jsx)(n.Close,{"aria-label":e("dismissNotification"),className:"rounded p-1 text-slate-500 hover:text-slate-200 focus-visible:outline-2 focus-visible:outline-slate-400",children:(0,t.jsx)(p.f,{icon:m.faXmark,className:"size-3"})})]})},i.id)})};e.s(["default",0,({children:e})=>(0,t.jsxs)(l.Provider,{children:[e,(0,t.jsx)(o.Portal,{children:(0,t.jsx)(c.Viewport,{className:"fixed right-4 bottom-4 z-60 flex w-[min(22rem,calc(100vw-2rem))] flex-col gap-2",children:(0,t.jsx)(x,{})})})]})],73635)},93411,e=>{"use strict";var t=e.i(18566),i=e.i(71645),r=e.i(61745),a=i["use".trim()],s=e.i(49092),n=e.i(77105),l=e.i(89790),o=e.i(43476),c=e.i(33165);let{Link:u,redirect:d,usePathname:f,useRouter:m,getPathname:p}=function(e){let{Link:u,config:d,getPathname:f,...m}=function(e,r){var c,u,d;let f={...c=r||{},localePrefix:"object"==typeof(d=c.localePrefix)?d:{mode:d||"always"},localeCookie:!!((u=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},m=f.pathnames,p=(0,i.forwardRef)(function({href:t,locale:i,...r},l){let c,u;"object"==typeof t?(c=t.pathname,u=t.params):c=t;let d=(0,s.i)(t),p=e(),h=(0,s.p)(p)?a(p):p,x=d?g({locale:i||h,href:null==m?c:{pathname:c,params:u},forcePrefix:null!=i||void 0}):c;return(0,o.jsx)(n.default,{ref:l,href:"object"==typeof t?{...t,pathname:x}:x,locale:i,localeCookie:f.localeCookie,...r})});function g(e){let t,{forcePrefix:i,href:r,locale:a}=e;return null==m?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,l.P)(r.query))):t=r:t=(0,l.N)({locale:a,...(0,l.q)(r),pathnames:f.pathnames}),(0,l.L)(t,a,f,i)}function h(e){return function(t,...i){return e(g(t),...i)}}return{config:f,Link:p,redirect:h(t.redirect),permanentRedirect:h(t.permanentRedirect),getPathname:g}}(r.X,e);return{...m,Link:u,usePathname:function(){let e,a,n=(e=(0,t.usePathname)(),a=(0,r.X)(),(0,i.useMemo)(()=>{if(!e)return e;let t=e,i=(0,s.u)(a,d.localePrefix);if((0,s.C)(i,e))t=(0,s.z)(e,i);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let i=(0,s.n)(a);(0,s.C)(i,e)&&(t=(0,s.z)(e,i))}return t},[d.localePrefix,a,e])),o=(0,r.X)();return(0,i.useMemo)(()=>n&&d.pathnames?(0,l.O)(o,n,d.pathnames):n,[o,n])},useRouter:function(){let e=(0,t.useRouter)(),a=(0,r.X)();return(0,i.useMemo)(()=>{function t(e){return function(t,i){let{locale:r,...s}=i||{},n=[f({href:t,locale:r||a,forcePrefix:null!=r||void 0})];Object.keys(s).length>0&&n.push(s),(0,c.f)(d.localeCookie,a,r),e(...n)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[a,e])},getPathname:f}}({locales:["en"],defaultLocale:"en",localePrefix:{mode:"as-needed"},localeDetection:!1,pathnames:{"/":"/","/services":"/services","/services/new":"/services/new","/services/[id]":"/services/[id]","/services/[id]/builds":"/services/[id]/builds","/services/[id]/logs":"/services/[id]/logs","/services/[id]/settings":"/services/[id]/settings","/settings":"/settings","/login":"/login","/install":"/install"}});e.s(["L",0,u,"x",0,f,"U",0,m],93411)}]);
3
+ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`);let o=(0,r.findClosestQuality)(n,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${o}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}s.__next_img_default=!0;let n=s},65856,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return r}});let r=(e.r(55682)._(e.r(71645))).default.createContext(null)},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return l}});let r=e.r(71645),a="u"<typeof window,s=a?()=>{}:r.useLayoutEffect,n=a?()=>{}:r.useEffect;function l(e){let{headManager:t,reduceComponentsToState:i}=e;function l(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return a&&(t?.mountedInstances?.add(e.children),l()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),n(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},18566,(e,t,i)=>{t.exports=e.r(76562)},52706,e=>{e.q("/_next/static/media/logo.3_3wnbg_4_jdb.png")},22007,e=>{"use strict";var t=e.i(43476),i=e.i(50817),r=e.i(49721),a=e.i(61745),s=e.i(48148),n=e.i(95187);let l=(0,n.createServerReference)("4012034401b6b42fbc9a06804201403a57a4ec97dd",n.callServer,void 0,n.findSourceMapURL,"logout");var o=e.i(19455);e.s(["default",0,()=>{let e=(0,s.f)("BaseLayout"),n=(0,a.X)();return(0,t.jsx)("form",{action:()=>l(n),className:"ml-auto shrink-0",children:(0,t.jsx)(o.f,{type:"submit",variant:"ghost",size:"sm","aria-label":e("logout"),title:e("logout"),className:"size-10 justify-center p-0 text-slate-400 hover:bg-slate-800/60 hover:text-rose-400",children:(0,t.jsx)(r.f,{icon:i.faRightFromBracket,className:"size-4"})})})}],22007)},1194,e=>{"use strict";var t=e.i(43476),i=e.i(19582),r=e.i(41636),a=e.i(49721),s=e.i(27459),n=e.i(48148),l=e.i(71645),o=e.i(93411);let c=[{href:"/services",label:"nav.services",icon:r.faServer}],u=[{href:"/settings",label:"nav.settings",icon:i.faGear}],d=({href:e,label:i,icon:r,pathname:l,onNavigate:c})=>{let u=(0,n.f)("BaseLayout"),d=l===e,f=d||l.startsWith(`${e}/`);return(0,t.jsxs)(o.L,{href:e,onClick:c,"aria-current":d?"page":f||void 0,className:(0,s.f)("flex h-10 items-center gap-3 rounded-lg px-3 text-sm font-medium transition-colors","focus-visible:outline-2 focus-visible:outline-slate-500",f?"bg-slate-800 text-white":"text-slate-400 hover:bg-slate-800/60 hover:text-slate-100"),children:[(0,t.jsx)(a.f,{icon:r,className:"size-4"}),(0,t.jsx)("span",{children:u(i)})]})},f=({isAdmin:e,...i})=>(0,l.use)(e)?u.map(e=>(0,t.jsx)(d,{...e,...i},e.href)):null,m=({isAdmin:e,...i})=>{let r=(0,n.f)("BaseLayout");return(0,t.jsxs)("nav",{"aria-label":r("nav.label"),className:"flex flex-1 flex-col gap-1 overflow-y-auto p-3",children:[c.map(e=>(0,t.jsx)(d,{...e,...i},e.href)),(0,t.jsx)(l.Suspense,{fallback:null,children:(0,t.jsx)(f,{isAdmin:e,...i})})]})},p=e=>(0,t.jsx)(m,{pathname:(0,o.x)(),...e});e.s(["default",0,e=>(0,t.jsx)(l.Suspense,{fallback:(0,t.jsx)(m,{pathname:"",...e}),children:(0,t.jsx)(p,{...e})})])},69964,e=>{"use strict";var t=e.i(43476),i=e.i(26323),r=e.i(28376),r=r,a=e.i(9977),s=e.i(41708),n=e.i(93480),l=e.i(9169),o=r,c=e.i(77046),u=e.i(58093),d=e.i(49721),f=e.i(27459),m=e.i(48148),p=e.i(71645),g=e.i(22007),h=e.i(5500),h=h;let x={src:e.i(52706).default,width:800,height:800,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA70lEQVR42j1Pu2qEUBS89W6fzc8ovhAEwcLKQhBRtFFxIdX+g43fkIdYWFj5qLKNgv6BooWFCn6ANifeQHLgDMNMMTMInXe9Xl9Zln34vv/Ej/nlcrlhD53kxbbtzzzPj6ZpoG1byLLssCzrHXuIJMl7URT7uq5Q1zVUVQXLskBZljtBEHfkum7e9z1s2wZJkkAURTDPM4zjCJ7n5eiEchgGmKYJwjCEIAig6zrAmuM4OaJp+i1N012WZRBFESRJAo7jII7jHcfjkjdd179UVT14ngdBEEBRlEPTtI/fkn8zGYZ5mKb5bRjGk6Ko/5k/dFKCXEMFqaIAAAAASUVORK5CYII="};var v=e.i(93411);let b=()=>(0,t.jsxs)(v.L,{href:"/services",className:"flex items-center gap-3 rounded-lg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-slate-500",children:[(0,t.jsx)("span",{className:"size-8 shrink-0 overflow-hidden rounded-full bg-white",children:(0,t.jsx)(h.Image,{src:x,alt:"",width:64,height:64,className:"size-full scale-130"})}),(0,t.jsx)("span",{className:"text-base font-semibold tracking-tight text-slate-100",children:"Buttler"})]});var y=e.i(1194);let j=(0,f.f)("flex size-10 items-center justify-center rounded-lg text-slate-400 transition-colors","hover:bg-slate-800/60 hover:text-slate-100","focus-visible:outline-2 focus-visible:outline-slate-500");e.s(["default",0,({currentUser:e,isAdmin:h})=>{let x=(0,m.f)("BaseLayout"),[v,w]=(0,p.useState)(!1);return(0,p.useEffect)(()=>{let e=window.matchMedia("(width >= 64rem)"),t=()=>{e.matches&&w(!1)};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,t.jsxs)("header",{className:(0,f.f)("sticky top-0 z-30 flex h-14 items-center justify-between pr-2 pl-4 lg:hidden","border-b border-slate-800 bg-slate-950/90 backdrop-blur-md"),children:[(0,t.jsx)(b,{}),(0,t.jsxs)(i.f.Root,{open:v,onOpenChange:w,children:[(0,t.jsx)(r.Trigger,{"aria-label":x("openMenu"),className:j,children:(0,t.jsx)(d.f,{icon:c.faBars,className:"size-4"})}),(0,t.jsxs)(a.f.Portal,{children:[(0,t.jsx)(s.f.Backdrop,{className:(0,f.f)("fixed inset-0 z-40 bg-slate-950/70 backdrop-blur-xs transition-opacity duration-200 lg:hidden","data-ending-style:opacity-0 data-starting-style:opacity-0")}),(0,t.jsxs)(n.f.Popup,{className:(0,f.f)("fixed inset-y-0 right-0 z-50 flex w-72 max-w-[85vw] flex-col lg:hidden","border-l border-slate-800 bg-slate-900 text-slate-100","transition-transform duration-200 ease-out motion-reduce:transition-none","data-ending-style:translate-x-full data-starting-style:translate-x-full"),children:[(0,t.jsxs)("div",{className:"flex h-14 shrink-0 items-center justify-between border-b border-slate-800 pr-2 pl-6",children:[(0,t.jsx)(l.f.Title,{className:"text-sm font-semibold",children:x("menu")}),(0,t.jsx)(o.Close,{"aria-label":x("closeMenu"),className:j,children:(0,t.jsx)(d.f,{icon:u.faXmark,className:"size-4"})})]}),(0,t.jsx)(y.default,{isAdmin:h,onNavigate:()=>w(!1)}),(0,t.jsxs)("div",{className:"flex items-center gap-2 border-t border-slate-800 p-3",children:[e,(0,t.jsx)(g.default,{})]})]})]})]})]})}],69964)},73635,e=>{"use strict";var t=e.i(43476),i=e.i(5654),r=e.i(2860),r=r,a=r,s=r,n=r,l=r,o=r,c=r,u=e.i(9211),d=e.i(88340),f=e.i(70759),m=e.i(58093),p=e.i(49721),g=e.i(27459),h=e.i(48148);let x=()=>{let e=(0,h.f)("BaseLayout"),{toasts:l}=i.f.useToastManager();return l.map(i=>{let{icon:l,className:o}=function(e){switch(e){case"loading":return{icon:f.faSpinner,className:"animate-spin text-slate-400"};case"error":return{icon:d.faCircleExclamation,className:"text-rose-400"};default:return{icon:u.faCircleCheck,className:"text-emerald-400"}}}(i.type);return(0,t.jsx)(r.Root,{toast:i,className:(0,g.f)("rounded-xl border border-slate-700 bg-slate-900 shadow-2xl transition duration-200","data-starting-style:translate-y-2 data-starting-style:opacity-0","data-ending-style:translate-y-2 data-ending-style:opacity-0 data-limited:hidden"),children:(0,t.jsxs)(a.Content,{className:"flex items-center gap-3 px-4 py-3",children:[(0,t.jsx)(p.f,{icon:l,className:(0,g.f)("size-4 shrink-0",o)}),(0,t.jsx)(s.Description,{className:"min-w-0 flex-1 text-sm text-slate-200"}),(0,t.jsx)(n.Close,{"aria-label":e("dismissNotification"),className:"rounded p-1 text-slate-500 hover:text-slate-200 focus-visible:outline-2 focus-visible:outline-slate-400",children:(0,t.jsx)(p.f,{icon:m.faXmark,className:"size-3"})})]})},i.id)})};e.s(["default",0,({children:e})=>(0,t.jsxs)(l.Provider,{children:[e,(0,t.jsx)(o.Portal,{children:(0,t.jsx)(c.Viewport,{className:"fixed right-4 bottom-4 z-60 flex w-[min(22rem,calc(100vw-2rem))] flex-col gap-2",children:(0,t.jsx)(x,{})})})]})],73635)},93411,e=>{"use strict";var t=e.i(18566),i=e.i(71645),r=e.i(61745),a=i["use".trim()],s=e.i(49092),n=e.i(77105),l=e.i(89790),o=e.i(43476),c=e.i(33165);let{Link:u,redirect:d,usePathname:f,useRouter:m,getPathname:p}=function(e){let{Link:u,config:d,getPathname:f,...m}=function(e,r){var c,u,d;let f={...c=r||{},localePrefix:"object"==typeof(d=c.localePrefix)?d:{mode:d||"always"},localeCookie:!!((u=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},m=f.pathnames,p=(0,i.forwardRef)(function({href:t,locale:i,...r},l){let c,u;"object"==typeof t?(c=t.pathname,u=t.params):c=t;let d=(0,s.i)(t),p=e(),h=(0,s.p)(p)?a(p):p,x=d?g({locale:i||h,href:null==m?c:{pathname:c,params:u},forcePrefix:null!=i||void 0}):c;return(0,o.jsx)(n.default,{ref:l,href:"object"==typeof t?{...t,pathname:x}:x,locale:i,localeCookie:f.localeCookie,...r})});function g(e){let t,{forcePrefix:i,href:r,locale:a}=e;return null==m?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,l.P)(r.query))):t=r:t=(0,l.N)({locale:a,...(0,l.q)(r),pathnames:f.pathnames}),(0,l.L)(t,a,f,i)}function h(e){return function(t,...i){return e(g(t),...i)}}return{config:f,Link:p,redirect:h(t.redirect),permanentRedirect:h(t.permanentRedirect),getPathname:g}}(r.X,e);return{...m,Link:u,usePathname:function(){let e,a,n=(e=(0,t.usePathname)(),a=(0,r.X)(),(0,i.useMemo)(()=>{if(!e)return e;let t=e,i=(0,s.u)(a,d.localePrefix);if((0,s.C)(i,e))t=(0,s.z)(e,i);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let i=(0,s.n)(a);(0,s.C)(i,e)&&(t=(0,s.z)(e,i))}return t},[d.localePrefix,a,e])),o=(0,r.X)();return(0,i.useMemo)(()=>n&&d.pathnames?(0,l.O)(o,n,d.pathnames):n,[o,n])},useRouter:function(){let e=(0,t.useRouter)(),a=(0,r.X)();return(0,i.useMemo)(()=>{function t(e){return function(t,i){let{locale:r,...s}=i||{},n=[f({href:t,locale:r||a,forcePrefix:null!=r||void 0})];Object.keys(s).length>0&&n.push(s),(0,c.f)(d.localeCookie,a,r),e(...n)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[a,e])},getPathname:f}}({locales:["en"],defaultLocale:"en",localePrefix:{mode:"as-needed"},localeDetection:!1,pathnames:{"/":"/","/services":"/services","/services/new":"/services/new","/services/[id]":"/services/[id]","/services/[id]/builds":"/services/[id]/builds","/services/[id]/logs":"/services/[id]/logs","/services/[id]/settings":"/services/[id]/settings","/settings":"/settings","/login":"/login","/install":"/install"}});e.s(["L",0,u,"x",0,f,"U",0,m],93411)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l={callServer:function(){return s.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var r in l)Object.defineProperty(a,r,{enumerable:!0,get:l[r]});let s=e.r(32120),i=e.r(92245),n=e.r(35326)},18566,(e,t,a)=>{t.exports=e.r(76562)},45456,e=>{"use strict";var t=e.i(43476),a=e.i(48148),l=e.i(71645),r=e.i(19455),s=e.i(93479),i=e.i(10204);e.s(["default",0,({publicOrigin:e,localOrigin:n})=>{let c=(0,a.f)("InstallPage.manifest"),[o,u]=(0,l.useState)("Buttler"),[d,p]=(0,l.useState)(""),[f,m]=(0,l.useState)(!1),h={name:o,url:e,hook_attributes:{url:`${e}/webhooks/github`},redirect_url:`${e}/auth/github-install`,setup_url:`${e}/services/new`,setup_on_update:!0,callback_urls:[e,n].map(e=>`${e}/auth/github`),default_permissions:{contents:"read",metadata:"read"},default_events:["push"],public:f},x=d.trim()?`https://github.com/organizations/${encodeURIComponent(d.trim())}/settings/apps/new`:"https://github.com/settings/apps/new";return(0,t.jsxs)("form",{action:x,method:"post",className:"space-y-4",children:[(0,t.jsx)("input",{type:"hidden",name:"manifest",value:JSON.stringify(h)}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(i.f,{htmlFor:"appName",children:c("appNameLabel")}),(0,t.jsx)(s.f,{id:"appName",name:"appName",type:"text",value:o,onChange:e=>u(e.target.value),placeholder:"Buttler",required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(i.f,{htmlFor:"organization",children:c("organizationLabel")}),(0,t.jsx)(s.f,{id:"organization",name:"organization",type:"text",value:d,onChange:e=>p(e.target.value),placeholder:c("organizationPlaceholder")}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:c("organizationHelp")})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{id:"isPublic",type:"checkbox",checked:f,onChange:e=>m(e.target.checked),className:"size-4 rounded border-slate-700 bg-slate-900 accent-slate-400"}),(0,t.jsx)(i.f,{htmlFor:"isPublic",children:c("publicLabel")})]}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:c("publicHelp")})]}),(0,t.jsx)(r.f,{type:"submit",size:"md",className:"w-full",children:c("submit")})]})}])},99966,e=>{"use strict";var t=e.i(43476),a=e.i(27459),l=e.i(48148),r=e.i(71645),s=e.i(95187);let i=(0,s.createServerReference)("60ac5bf54ba00dc98de8b8a4df3e881a2212784bce",s.callServer,void 0,s.findSourceMapURL,"installApp");var n=e.i(19455),c=e.i(93479),o=e.i(10204);let u={};e.s(["default",0,({publicOrigin:e})=>{let s=(0,l.f)("InstallPage.manual"),[d,p,f]=(0,r.useActionState)(i,u),[m,h]=(0,r.useState)(""),[x,v]=(0,r.useState)(""),[b,g]=(0,r.useState)(""),[j,y]=(0,r.useState)(""),N=`${e}/services/new`,P=async e=>{let t=e.target.files?.[0];t&&v((await t.text()).trim())};return(0,t.jsxs)("form",{action:p,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5 rounded-md border border-slate-800 bg-slate-900/60 p-3",children:[(0,t.jsx)("p",{className:"text-xs leading-relaxed text-slate-400",children:s.rich("setupUrlHint",{strong:e=>(0,t.jsx)("strong",{className:"font-medium text-slate-200",children:e})})}),(0,t.jsx)(c.f,{id:"setupUrl",type:"text",value:N,readOnly:!0,onFocus:e=>e.target.select(),"aria-label":s("setupUrlLabel"),className:"font-mono text-xs"})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"appId",children:s("appIdLabel")}),(0,t.jsx)(c.f,{id:"appId",name:"appId",type:"text",inputMode:"numeric",value:m,onChange:e=>h(e.target.value),placeholder:s("appIdPlaceholder"),required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"privateKey",children:s("privateKeyLabel")}),(0,t.jsx)("textarea",{id:"privateKey",name:"privateKey",rows:5,value:x,onChange:e=>v(e.target.value),placeholder:s("privateKeyPlaceholder"),spellCheck:!1,className:(0,a.f)("w-full rounded-md border border-slate-700 bg-slate-900/90 px-3 py-2 font-mono text-xs text-slate-100","placeholder:text-slate-500 shadow-xs hover:border-slate-600","focus:border-slate-400 focus:outline-slate-400 focus-visible:outline-slate-400")}),(0,t.jsx)("input",{id:"privateKeyFile",name:"privateKeyFile",type:"file",accept:".pem,application/x-pem-file",onChange:P,"aria-label":s("privateKeyFileLabel"),className:(0,a.f)("block w-full text-xs text-slate-400","file:mr-3 file:rounded-md file:border-0 file:bg-slate-800 file:px-3 file:py-1.5","file:text-xs file:font-medium file:text-slate-200 hover:file:bg-slate-700")}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:s("privateKeyHelp")})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"clientSecret",children:s("clientSecretLabel")}),(0,t.jsx)(c.f,{id:"clientSecret",name:"clientSecret",type:"password",value:b,onChange:e=>g(e.target.value),placeholder:s("clientSecretPlaceholder"),required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"webhookSecret",children:s("webhookSecretLabel")}),(0,t.jsx)(c.f,{id:"webhookSecret",name:"webhookSecret",type:"password",value:j,onChange:e=>y(e.target.value),placeholder:s("webhookSecretPlaceholder")})]}),d.error&&(0,t.jsx)("p",{role:"alert",className:"text-sm text-red-400",children:s(`errors.${d.error}`)}),(0,t.jsx)("div",{className:"pt-2",children:(0,t.jsx)(n.f,{type:"submit",variant:"secondary",size:"md",className:"w-full",disabled:f,children:s(f?"submitting":"submit")})})]})}],99966)},74269,e=>{"use strict";var t=e.i(43476),a=e.i(48148),l=e.i(71645);e.s(["default",0,({hostname:e,url:r})=>{let s=(0,a.f)("InstallPage.domain");return(0,l.useEffect)(()=>{window.location.assign(r)},[r]),(0,t.jsxs)("p",{className:"text-sm text-slate-400",children:[s("moving")," ",(0,t.jsx)("a",{href:r,className:"font-medium break-all text-slate-200 underline hover:text-white",children:e})]})}])},52183,e=>{"use strict";var t=e.i(71645),a=e.i(93411);e.s(["default",0,()=>{let e=(0,a.U)();return(0,t.useEffect)(()=>{let t=setInterval(()=>{e.refresh()},5e3);return()=>clearInterval(t)},[e]),null}])},93411,e=>{"use strict";var t=e.i(18566),a=e.i(71645),l=e.i(61745),r=a["use".trim()],s=e.i(49092),i=e.i(77105),n=e.i(89790),c=e.i(43476),o=e.i(33165);let{Link:u,redirect:d,usePathname:p,useRouter:f,getPathname:m}=function(e){let{Link:u,config:d,getPathname:p,...f}=function(e,l){var o,u,d;let p={...o=l||{},localePrefix:"object"==typeof(d=o.localePrefix)?d:{mode:d||"always"},localeCookie:!!((u=o.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:o.localeDetection??!0,alternateLinks:o.alternateLinks??!0},f=p.pathnames,m=(0,a.forwardRef)(function({href:t,locale:a,...l},n){let o,u;"object"==typeof t?(o=t.pathname,u=t.params):o=t;let d=(0,s.i)(t),m=e(),x=(0,s.p)(m)?r(m):m,v=d?h({locale:a||x,href:null==f?o:{pathname:o,params:u},forcePrefix:null!=a||void 0}):o;return(0,c.jsx)(i.default,{ref:n,href:"object"==typeof t?{...t,pathname:v}:v,locale:a,localeCookie:p.localeCookie,...l})});function h(e){let t,{forcePrefix:a,href:l,locale:r}=e;return null==f?"object"==typeof l?(t=l.pathname,l.query&&(t+=(0,n.P)(l.query))):t=l:t=(0,n.N)({locale:r,...(0,n.q)(l),pathnames:p.pathnames}),(0,n.L)(t,r,p,a)}function x(e){return function(t,...a){return e(h(t),...a)}}return{config:p,Link:m,redirect:x(t.redirect),permanentRedirect:x(t.permanentRedirect),getPathname:h}}(l.X,e);return{...f,Link:u,usePathname:function(){let e,r,i=(e=(0,t.usePathname)(),r=(0,l.X)(),(0,a.useMemo)(()=>{if(!e)return e;let t=e,a=(0,s.u)(r,d.localePrefix);if((0,s.C)(a,e))t=(0,s.z)(e,a);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let a=(0,s.n)(r);(0,s.C)(a,e)&&(t=(0,s.z)(e,a))}return t},[d.localePrefix,r,e])),c=(0,l.X)();return(0,a.useMemo)(()=>i&&d.pathnames?(0,n.O)(c,i,d.pathnames):i,[c,i])},useRouter:function(){let e=(0,t.useRouter)(),r=(0,l.X)();return(0,a.useMemo)(()=>{function t(e){return function(t,a){let{locale:l,...s}=a||{},i=[p({href:t,locale:l||r,forcePrefix:null!=l||void 0})];Object.keys(s).length>0&&i.push(s),(0,o.f)(d.localeCookie,r,l),e(...i)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[r,e])},getPathname:p}}({locales:["en"],defaultLocale:"en",localePrefix:{mode:"as-needed"},localeDetection:!1,pathnames:{"/":"/","/services":"/services","/services/new":"/services/new","/services/[id]":"/services/[id]","/services/[id]/builds":"/services/[id]/builds","/services/[id]/logs":"/services/[id]/logs","/services/[id]/settings":"/services/[id]/settings","/settings":"/settings","/login":"/login","/install":"/install"}});e.s(["L",0,u,"x",0,p,"U",0,f],93411)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l={callServer:function(){return s.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var r in l)Object.defineProperty(a,r,{enumerable:!0,get:l[r]});let s=e.r(32120),i=e.r(92245),n=e.r(35326)},18566,(e,t,a)=>{t.exports=e.r(76562)},45456,e=>{"use strict";var t=e.i(43476),a=e.i(48148),l=e.i(71645),r=e.i(19455),s=e.i(93479),i=e.i(10204);e.s(["default",0,({publicOrigin:e,localOrigin:n})=>{let c=(0,a.f)("InstallPage.manifest"),[o,u]=(0,l.useState)("Buttler"),[d,p]=(0,l.useState)(""),[f,m]=(0,l.useState)(!1),h={name:o,url:e,hook_attributes:{url:`${e}/webhooks/github`},redirect_url:`${e}/auth/github-install`,setup_url:`${e}/services/new`,setup_on_update:!0,callback_urls:[e,n].map(e=>`${e}/auth/github`),default_permissions:{contents:"read",metadata:"read"},default_events:["push"],public:f},x=d.trim()?`https://github.com/organizations/${encodeURIComponent(d.trim())}/settings/apps/new`:"https://github.com/settings/apps/new";return(0,t.jsxs)("form",{action:x,method:"post",className:"space-y-4",children:[(0,t.jsx)("input",{type:"hidden",name:"manifest",value:JSON.stringify(h)}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(i.f,{htmlFor:"appName",children:c("appNameLabel")}),(0,t.jsx)(s.f,{id:"appName",name:"appName",type:"text",value:o,onChange:e=>u(e.target.value),placeholder:"Buttler",required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(i.f,{htmlFor:"organization",children:c("organizationLabel")}),(0,t.jsx)(s.f,{id:"organization",name:"organization",type:"text",value:d,onChange:e=>p(e.target.value),placeholder:c("organizationPlaceholder")}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:c("organizationHelp")})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{id:"isPublic",type:"checkbox",checked:f,onChange:e=>m(e.target.checked),className:"size-4 rounded border-slate-700 bg-slate-900 accent-slate-400"}),(0,t.jsx)(i.f,{htmlFor:"isPublic",children:c("publicLabel")})]}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:c("publicHelp")})]}),(0,t.jsx)(r.f,{type:"submit",size:"md",className:"w-full",children:c("submit")})]})}])},99966,e=>{"use strict";var t=e.i(43476),a=e.i(27459),l=e.i(48148),r=e.i(71645),s=e.i(95187);let i=(0,s.createServerReference)("606fc99ef3961508b9a4311d445cef6d826d9f2531",s.callServer,void 0,s.findSourceMapURL,"installApp");var n=e.i(19455),c=e.i(93479),o=e.i(10204);let u={};e.s(["default",0,({publicOrigin:e})=>{let s=(0,l.f)("InstallPage.manual"),[d,p,f]=(0,r.useActionState)(i,u),[m,h]=(0,r.useState)(""),[x,v]=(0,r.useState)(""),[b,g]=(0,r.useState)(""),[j,y]=(0,r.useState)(""),N=`${e}/services/new`,P=async e=>{let t=e.target.files?.[0];t&&v((await t.text()).trim())};return(0,t.jsxs)("form",{action:p,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5 rounded-md border border-slate-800 bg-slate-900/60 p-3",children:[(0,t.jsx)("p",{className:"text-xs leading-relaxed text-slate-400",children:s.rich("setupUrlHint",{strong:e=>(0,t.jsx)("strong",{className:"font-medium text-slate-200",children:e})})}),(0,t.jsx)(c.f,{id:"setupUrl",type:"text",value:N,readOnly:!0,onFocus:e=>e.target.select(),"aria-label":s("setupUrlLabel"),className:"font-mono text-xs"})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"appId",children:s("appIdLabel")}),(0,t.jsx)(c.f,{id:"appId",name:"appId",type:"text",inputMode:"numeric",value:m,onChange:e=>h(e.target.value),placeholder:s("appIdPlaceholder"),required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"privateKey",children:s("privateKeyLabel")}),(0,t.jsx)("textarea",{id:"privateKey",name:"privateKey",rows:5,value:x,onChange:e=>v(e.target.value),placeholder:s("privateKeyPlaceholder"),spellCheck:!1,className:(0,a.f)("w-full rounded-md border border-slate-700 bg-slate-900/90 px-3 py-2 font-mono text-xs text-slate-100","placeholder:text-slate-500 shadow-xs hover:border-slate-600","focus:border-slate-400 focus:outline-slate-400 focus-visible:outline-slate-400")}),(0,t.jsx)("input",{id:"privateKeyFile",name:"privateKeyFile",type:"file",accept:".pem,application/x-pem-file",onChange:P,"aria-label":s("privateKeyFileLabel"),className:(0,a.f)("block w-full text-xs text-slate-400","file:mr-3 file:rounded-md file:border-0 file:bg-slate-800 file:px-3 file:py-1.5","file:text-xs file:font-medium file:text-slate-200 hover:file:bg-slate-700")}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:s("privateKeyHelp")})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"clientSecret",children:s("clientSecretLabel")}),(0,t.jsx)(c.f,{id:"clientSecret",name:"clientSecret",type:"password",value:b,onChange:e=>g(e.target.value),placeholder:s("clientSecretPlaceholder"),required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(o.f,{htmlFor:"webhookSecret",children:s("webhookSecretLabel")}),(0,t.jsx)(c.f,{id:"webhookSecret",name:"webhookSecret",type:"password",value:j,onChange:e=>y(e.target.value),placeholder:s("webhookSecretPlaceholder")})]}),d.error&&(0,t.jsx)("p",{role:"alert",className:"text-sm text-red-400",children:s(`errors.${d.error}`)}),(0,t.jsx)("div",{className:"pt-2",children:(0,t.jsx)(n.f,{type:"submit",variant:"secondary",size:"md",className:"w-full",disabled:f,children:s(f?"submitting":"submit")})})]})}],99966)},74269,e=>{"use strict";var t=e.i(43476),a=e.i(48148),l=e.i(71645);e.s(["default",0,({hostname:e,url:r})=>{let s=(0,a.f)("InstallPage.domain");return(0,l.useEffect)(()=>{window.location.assign(r)},[r]),(0,t.jsxs)("p",{className:"text-sm text-slate-400",children:[s("moving")," ",(0,t.jsx)("a",{href:r,className:"font-medium break-all text-slate-200 underline hover:text-white",children:e})]})}])},52183,e=>{"use strict";var t=e.i(71645),a=e.i(93411);e.s(["default",0,()=>{let e=(0,a.U)();return(0,t.useEffect)(()=>{let t=setInterval(()=>{e.refresh()},5e3);return()=>clearInterval(t)},[e]),null}])},93411,e=>{"use strict";var t=e.i(18566),a=e.i(71645),l=e.i(61745),r=a["use".trim()],s=e.i(49092),i=e.i(77105),n=e.i(89790),c=e.i(43476),o=e.i(33165);let{Link:u,redirect:d,usePathname:p,useRouter:f,getPathname:m}=function(e){let{Link:u,config:d,getPathname:p,...f}=function(e,l){var o,u,d;let p={...o=l||{},localePrefix:"object"==typeof(d=o.localePrefix)?d:{mode:d||"always"},localeCookie:!!((u=o.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:o.localeDetection??!0,alternateLinks:o.alternateLinks??!0},f=p.pathnames,m=(0,a.forwardRef)(function({href:t,locale:a,...l},n){let o,u;"object"==typeof t?(o=t.pathname,u=t.params):o=t;let d=(0,s.i)(t),m=e(),x=(0,s.p)(m)?r(m):m,v=d?h({locale:a||x,href:null==f?o:{pathname:o,params:u},forcePrefix:null!=a||void 0}):o;return(0,c.jsx)(i.default,{ref:n,href:"object"==typeof t?{...t,pathname:v}:v,locale:a,localeCookie:p.localeCookie,...l})});function h(e){let t,{forcePrefix:a,href:l,locale:r}=e;return null==f?"object"==typeof l?(t=l.pathname,l.query&&(t+=(0,n.P)(l.query))):t=l:t=(0,n.N)({locale:r,...(0,n.q)(l),pathnames:p.pathnames}),(0,n.L)(t,r,p,a)}function x(e){return function(t,...a){return e(h(t),...a)}}return{config:p,Link:m,redirect:x(t.redirect),permanentRedirect:x(t.permanentRedirect),getPathname:h}}(l.X,e);return{...f,Link:u,usePathname:function(){let e,r,i=(e=(0,t.usePathname)(),r=(0,l.X)(),(0,a.useMemo)(()=>{if(!e)return e;let t=e,a=(0,s.u)(r,d.localePrefix);if((0,s.C)(a,e))t=(0,s.z)(e,a);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let a=(0,s.n)(r);(0,s.C)(a,e)&&(t=(0,s.z)(e,a))}return t},[d.localePrefix,r,e])),c=(0,l.X)();return(0,a.useMemo)(()=>i&&d.pathnames?(0,n.O)(c,i,d.pathnames):i,[c,i])},useRouter:function(){let e=(0,t.useRouter)(),r=(0,l.X)();return(0,a.useMemo)(()=>{function t(e){return function(t,a){let{locale:l,...s}=a||{},i=[p({href:t,locale:l||r,forcePrefix:null!=l||void 0})];Object.keys(s).length>0&&i.push(s),(0,o.f)(d.localeCookie,r,l),e(...i)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[r,e])},getPathname:p}}({locales:["en"],defaultLocale:"en",localePrefix:{mode:"as-needed"},localeDetection:!1,pathnames:{"/":"/","/services":"/services","/services/new":"/services/new","/services/[id]":"/services/[id]","/services/[id]/builds":"/services/[id]/builds","/services/[id]/logs":"/services/[id]/logs","/services/[id]/settings":"/services/[id]/settings","/settings":"/settings","/login":"/login","/install":"/install"}});e.s(["L",0,u,"x",0,p,"U",0,f],93411)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55351,(e,i,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s="cloud-arrow-down",t=[62337,"cloud-download","cloud-download-alt"],r="f0ed",l="M144 480c-79.5 0-144-64.5-144-144 0-63.4 41-117.2 97.9-136.5-1.3-7.7-1.9-15.5-1.9-23.5 0-79.5 64.5-144 144-144 55.4 0 103.5 31.3 127.6 77.1 14.2-8.3 30.8-13.1 48.4-13.1 53 0 96 43 96 96 0 15.7-3.8 30.6-10.5 43.7 44 20.3 74.5 64.7 74.5 116.3 0 70.7-57.3 128-128 128l-304 0zM377 313c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-31 31 0-102.1c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 102.1-31-31c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c9.4 9.4 24.6 9.4 33.9 0l72-72z";a.definition={prefix:"fas",iconName:s,icon:[576,512,t,r,l]},a.faCloudArrowDown=a.definition,a.prefix="fas",a.iconName=s,a.width=576,a.height=512,a.ligatures=t,a.unicode=r,a.svgPathData=l,a.aliases=t},46453,(e,i,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s="hammer",t=[128296],r="f6e3",l="M246.9 18.3L271 3.8c21.6-13 46.3-19.8 71.5-19.8 36.8 0 72.2 14.6 98.2 40.7l63.9 63.9c15 15 23.4 35.4 23.4 56.6l0 30.9 19.7 19.7 0 0c15.6-15.6 40.9-15.6 56.6 0s15.6 40.9 0 56.6l-64 64c-15.6 15.6-40.9 15.6-56.6 0s-15.6-40.9 0-56.6L464 240 433.1 240c-21.2 0-41.6-8.4-56.6-23.4l-49.1-49.1c-15-15-23.4-35.4-23.4-56.6l0-12.7c0-11.2-5.9-21.7-15.5-27.4l-41.6-25c-10.4-6.2-10.4-21.2 0-27.4zM50.7 402.7l222.1-222.1 90.5 90.5-222.1 222.1c-25 25-65.5 25-90.5 0s-25-65.5 0-90.5z";a.definition={prefix:"fas",iconName:s,icon:[640,512,t,r,l]},a.faHammer=a.definition,a.prefix="fas",a.iconName=s,a.width=640,a.height=512,a.ligatures=t,a.unicode=r,a.svgPathData=l,a.aliases=t},90979,(e,i,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s="play",t=[9654],r="f04b",l="M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z";a.definition={prefix:"fas",iconName:s,icon:[448,512,t,r,l]},a.faPlay=a.definition,a.prefix="fas",a.iconName=s,a.width=448,a.height=512,a.ligatures=t,a.unicode=r,a.svgPathData=l,a.aliases=t},28772,(e,i,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s="rotate-right",t=["redo-alt","rotate-forward"],r="f2f9",l="M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z";a.definition={prefix:"fas",iconName:s,icon:[512,512,t,r,l]},a.faRotateRight=a.definition,a.prefix="fas",a.iconName=s,a.width=512,a.height=512,a.ligatures=t,a.unicode=r,a.svgPathData=l,a.aliases=t},58938,(e,i,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s="stop",t=[9209],r="f04d",l="M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z";a.definition={prefix:"fas",iconName:s,icon:[448,512,t,r,l]},a.faStop=a.definition,a.prefix="fas",a.iconName=s,a.width=448,a.height=512,a.ligatures=t,a.unicode=r,a.svgPathData=l,a.aliases=t},44335,e=>{"use strict";var i=e.i(43476),a=e.i(5654),s=e.i(55351),t=e.i(46453),r=e.i(90979),l=e.i(28772),n=e.i(70759),c=e.i(58938),o=e.i(49721),d=e.i(48148),f=e.i(71645),u=e.i(95187);let p=(0,u.createServerReference)("40e9bbf6e54ecd7d0ef21943d341c3bbb928079489",u.callServer,void 0,u.findSourceMapURL,"redeployService"),v=(0,u.createServerReference)("40944952890aca16da33567ed3bcedd321636ac95a",u.callServer,void 0,u.findSourceMapURL,"restartService"),b=(0,u.createServerReference)("403da95134737c859b2706e9b5ad1feea76bc9650d",u.callServer,void 0,u.findSourceMapURL,"startService"),h=(0,u.createServerReference)("4036b204d57896f18237a2ecbc63ea253504f512c0",u.callServer,void 0,u.findSourceMapURL,"stopService"),g=(0,u.createServerReference)("407bd20444b0766847eebc70adaf089b9044af8e31",u.callServer,void 0,u.findSourceMapURL,"triggerBuild");var m=e.i(19455),x=e.i(93411);let S={start:b,stop:h,restart:v,rebuild:g,redeploy:p};e.s(["default",0,({serviceId:e,type:u,status:p})=>{let v=(0,d.f)("DashboardPage.service.actions"),b=(0,x.U)(),h=a.f.useToastManager(),[g,j]=(0,f.useTransition)(),[y,N]=(0,f.useOptimistic)(null),z=i=>{j(async()=>{N(i);try{await h.promise(S[i](e),{loading:{description:v(`toasts.pending.${i}`)},success:({outcome:e})=>({description:v(`toasts.done.${e}`)}),error:{description:v(`toasts.failed.${i}`),priority:"high"}})}catch{b.refresh()}})},M="building"===p||"rebuild"===y,w="pulling"===p||"redeploy"===y,P=("running"===p||"restarting"===p)&&!M&&!w,R="start"===y||w||M,L=g||w||M,_=w?v("pulling"):M?v("building"):"start"===y?v("starting"):v("start"),C=w?"text-cyan-400":M?"text-sky-400":"text-emerald-400";return(0,i.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[P?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(m.f,{size:"xs",variant:"outline",disabled:L,onClick:()=>z("stop"),className:"gap-1.5 text-slate-300 hover:text-rose-400 hover:border-rose-500/40",children:[(0,i.jsx)(o.f,{icon:"stop"===y?n.faSpinner:c.faStop,className:"stop"===y?"size-3 animate-spin text-rose-400":"size-3 text-rose-400"}),(0,i.jsx)("span",{children:"stop"===y?v("stopping"):v("stop")})]}),(0,i.jsxs)(m.f,{size:"xs",variant:"secondary",disabled:L,onClick:()=>z("restart"),className:"gap-1.5",children:[(0,i.jsx)(o.f,{icon:"restart"===y?n.faSpinner:l.faRotateRight,className:"restart"===y?"size-3 animate-spin text-slate-400":"size-3 text-slate-400"}),(0,i.jsx)("span",{children:"restart"===y?v("restarting"):v("restart")})]})]}):(0,i.jsxs)(m.f,{size:"xs",variant:"secondary",disabled:L,onClick:()=>z("start"),className:"gap-1.5",children:[(0,i.jsx)(o.f,{icon:R?n.faSpinner:r.faPlay,className:R?`size-3 animate-spin ${C}`:"size-3 text-emerald-400"}),(0,i.jsx)("span",{children:_})]}),"system"!==u&&(0,i.jsxs)(m.f,{size:"xs",variant:"primary",disabled:L,onClick:()=>z("github"===u?"rebuild":"redeploy"),className:"gap-1.5",children:[(0,i.jsx)(o.f,{icon:"github"===u?t.faHammer:s.faCloudArrowDown,className:"size-3"}),(0,i.jsx)("span",{children:v("github"===u?"rebuild":"redeploy")})]})]})}],44335)},77584,e=>{"use strict";var i=e.i(71645),a=e.i(93411);e.s(["default",0,function(){let e=(0,a.U)();return(0,i.useEffect)(()=>{let i=setInterval(()=>{e.refresh()},2500);return()=>clearInterval(i)},[e]),null}])},28465,e=>{"use strict";var i=e.i(43476),a=e.i(27459),s=e.i(48148),t=e.i(71645),r=e.i(93411);let l=[{pathname:"/services/[id]",label:"info",segment:""},{pathname:"/services/[id]/builds",label:"builds",segment:"/builds"},{pathname:"/services/[id]/logs",label:"logs",segment:"/logs"}],n=[{pathname:"/services/[id]/settings",label:"settings",segment:"/settings"}],c=({pathname:e,label:t,segment:l,serviceId:n})=>{let c=(0,s.f)("ServicePage.tabs"),o=(0,r.x)(),d=o===e||o===`/services/${n}${l}`;return(0,i.jsx)(r.L,{href:{pathname:e,params:{id:n}},"aria-current":d?"page":void 0,className:(0,a.f)("-mb-px flex h-11 items-center border-b-2 px-4 text-sm font-medium transition-colors","focus-visible:outline-2 focus-visible:outline-slate-500",d?"border-slate-100 text-white":"border-transparent text-slate-400 hover:text-slate-100"),children:c(t)})},o=({serviceId:e,isAdmin:a})=>(0,t.use)(a)?n.map(a=>(0,i.jsx)(c,{...a,serviceId:e},a.pathname)):null;e.s(["default",0,({serviceId:e,isAdmin:a})=>{let r=(0,s.f)("ServicePage.tabs");return(0,i.jsxs)("nav",{"aria-label":r("label"),className:"flex gap-1 border-b border-slate-800",children:[l.map(a=>(0,i.jsx)(c,{...a,serviceId:e},a.pathname)),(0,i.jsx)(t.Suspense,{fallback:null,children:(0,i.jsx)(o,{serviceId:e,isAdmin:a})})]})}])}]);
@@ -119,7 +119,7 @@ describe("syncIngressNetwork", () => {
119
119
  expect(networks).toEqual([expect.objectContaining({
120
120
  Name: "buttler-ingress-srv",
121
121
  Internal: true,
122
- IPAM: { Driver: "default", Config: [{ Subnet: "172.30.0.0/28" }] },
122
+ IPAM: { Driver: "default", Config: [{ Subnet: "10.213.0.0/29" }] },
123
123
  Labels: expect.objectContaining({ "buttler.network": "ingress", "buttler.service-id": "srv" }),
124
124
  })]);
125
125
  expect(getMembers("buttler-ingress-srv")).toEqual(["srv", "proxy"]);
@@ -157,21 +157,21 @@ describe("syncIngressNetwork", () => {
157
157
  await Promise.all([syncIngressNetwork("a"), syncIngressNetwork("b")]);
158
158
  expect(getMembers("buttler-ingress-a")).toEqual(["a", "proxy"]);
159
159
  expect(getMembers("buttler-ingress-b")).toEqual(["b", "proxy"]);
160
- expect(getSubnets()).toEqual(["172.30.0.0/28", "172.30.0.16/28"]);
160
+ expect(getSubnets()).toEqual(["10.213.0.0/29", "10.213.0.8/29"]);
161
161
  });
162
162
 
163
163
  it("should avoid the subnets of other networks and of the host", async () => {
164
- networks.push({ Id: "other", Name: "other", IPAM: { Config: [{ Subnet: "172.30.0.0/24" }] } });
164
+ networks.push({ Id: "other", Name: "other", IPAM: { Config: [{ Subnet: "10.213.0.0/24" }] } });
165
165
  vi.mocked(os.networkInterfaces).mockReturnValue({
166
- eth0: [{ family: "IPv4", cidr: "172.30.1.5/28", address: "", netmask: "", mac: "", internal: false }],
166
+ eth0: [{ family: "IPv4", cidr: "10.213.1.5/29", address: "", netmask: "", mac: "", internal: false }],
167
167
  });
168
168
  setDomains("srv");
169
169
  await syncIngressNetwork("srv");
170
- expect(getSubnets()).toEqual(["172.30.0.0/24", "172.30.1.16/28"]);
170
+ expect(getSubnets()).toEqual(["10.213.0.0/24", "10.213.1.8/29"]);
171
171
  });
172
172
 
173
173
  it("should fail if there is no free subnet", async () => {
174
- networks.push({ Id: "other", Name: "other", IPAM: { Config: [{ Subnet: "172.30.0.0/16" }] } });
174
+ networks.push({ Id: "other", Name: "other", IPAM: { Config: [{ Subnet: "10.213.0.0/16" }] } });
175
175
  setDomains("srv");
176
176
  await expect(syncIngressNetwork("srv")).rejects.toThrow("No free subnet");
177
177
  });
@@ -1,4 +1,3 @@
1
- import os from "node:os";
2
1
  import { docker } from "~/core/docker";
3
2
  import { createQueue } from "~/core/queue";
4
3
  import db from "~/database";
@@ -6,18 +5,14 @@ import getServicesWithDomains from "~/operations/getServicesWithDomains";
6
5
  import { REVERSE_PROXY_CONTAINER_NAME, isOwnContainer } from "./containers";
7
6
  import { FORBIDDEN, NOT_FOUND, ignoreStatus } from "./errors";
8
7
  import { BUTTLER_NETWORK_LABEL, BUTTLER_SERVICE_LABEL } from "./labels";
9
- import { findFreeSubnet } from "./subnets";
8
+ import { createButtlerNetwork } from "./networks";
10
9
  import type Docker from "dockerode";
11
10
 
12
11
  const INGRESS_NETWORK = "ingress";
13
12
 
14
- /** The default pools of Docker run out at about 30 networks */
15
- const SUBNET_POOL = "172.30.0.0/16";
16
- const SUBNET_PREFIX = 28;
17
-
18
13
  type IngressNetwork = Pick<Docker.NetworkInspectInfo, "Id" | "Name">;
19
14
 
20
- /** Changes never overlap, otherwise they could pick the same subnet or undo each other */
15
+ /** Changes never overlap, otherwise they could undo each other */
21
16
  const enqueue = createQueue("ingress-queue");
22
17
 
23
18
  export function getIngressNetworkName(serviceId: string) {
@@ -41,31 +36,13 @@ function listIngressNetworks(serviceId?: string) {
41
36
  });
42
37
  }
43
38
 
44
- async function listUsedSubnets() {
45
- const networks = await docker.listNetworks();
46
- // Docker doesn't check the networks of the host for explicit subnets
47
- const hostAddresses = Object.values(os.networkInterfaces()).flatMap(addresses => addresses ?? []);
48
- return [
49
- ...networks.flatMap(network => network.IPAM?.Config ?? []).map(config => config.Subnet),
50
- ...hostAddresses.map(address => address.cidr),
51
- ].filter(subnet => typeof subnet === "string");
52
- }
53
-
54
39
  async function createIngressNetwork(serviceId: string): Promise<IngressNetwork> {
55
40
  const name = getIngressNetworkName(serviceId);
56
- const subnet = findFreeSubnet(SUBNET_POOL, SUBNET_PREFIX, await listUsedSubnets());
57
- if (!subnet) {
58
- throw new Error(`No free subnet left in ${SUBNET_POOL} for ${name}`);
59
- }
60
- const network = await docker.createNetwork({
41
+ const network = await createButtlerNetwork({
61
42
  Name: name,
62
43
  Driver: "bridge",
63
44
  // The containers keep reaching the outside through their other networks
64
45
  Internal: true,
65
- IPAM: {
66
- Driver: "default",
67
- Config: [{ Subnet: subnet }],
68
- },
69
46
  Labels: {
70
47
  "com.docker.compose.project": "buttler",
71
48
  [BUTTLER_NETWORK_LABEL]: INGRESS_NETWORK,