@omer-x/buttler 2.0.0-alpha.4 → 2.0.0-alpha.5
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.
- package/package.json +1 -3
- package/ui/.next/BUILD_ID +1 -1
- package/ui/.next/app-path-routes-manifest.json +0 -1
- package/ui/.next/build-manifest.json +3 -3
- package/ui/.next/prerender-manifest.json +11 -11
- package/ui/.next/required-server-files.json +1 -0
- package/ui/.next/routes-manifest.json +0 -6
- package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +17 -17
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(auth)/login/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +29 -29
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +29 -29
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +29 -29
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +37 -37
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +27 -27
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +3 -3
- package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +20 -20
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/install.meta +2 -2
- package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +4 -4
- package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/login.meta +2 -2
- package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +3 -3
- package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +3 -3
- package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/builds.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +24 -22
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +8 -8
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/logs.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +25 -23
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +9 -9
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/settings.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +25 -23
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +8 -8
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id].meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +11 -9
- package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +27 -29
- package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/new.meta +2 -2
- package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +27 -26
- package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services.meta +2 -2
- package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +34 -31
- package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +40 -39
- package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/settings.meta +2 -2
- package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale].meta +2 -2
- package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale].segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/_global-error.html +1 -1
- package/ui/.next/server/app/_global-error.rsc +1 -1
- package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/ui/.next/server/app/_not-found.html +1 -1
- package/ui/.next/server/app/_not-found.rsc +1 -1
- package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +2 -2
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/github/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -1
- package/ui/.next/server/app/en/install.html +1 -1
- package/ui/.next/server/app/en/install.meta +1 -1
- package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +2 -2
- package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/install.segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/login.html +1 -1
- package/ui/.next/server/app/en/login.meta +1 -1
- package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/login.segments/_full.segment.rsc +4 -4
- package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/builds.html +1 -1
- package/ui/.next/server/app/en/services/[id]/builds.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +40 -38
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +30 -28
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +59 -56
- package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/logs.html +1 -1
- package/ui/.next/server/app/en/services/[id]/logs.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +41 -39
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +31 -29
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +60 -57
- package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/settings.html +1 -1
- package/ui/.next/server/app/en/services/[id]/settings.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +41 -39
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +31 -29
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +40 -38
- package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id].html +1 -1
- package/ui/.next/server/app/en/services/[id].meta +1 -1
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +38 -36
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +30 -28
- package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +54 -54
- package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/new.html +1 -1
- package/ui/.next/server/app/en/services/new.meta +1 -1
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +34 -33
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +26 -25
- package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +55 -53
- package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services.html +1 -1
- package/ui/.next/server/app/en/services.meta +1 -1
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +33 -32
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +26 -25
- package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/services.segments/_full.segment.rsc +58 -57
- package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/settings.html +1 -1
- package/ui/.next/server/app/en/settings.meta +1 -1
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +27 -26
- package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +31 -30
- package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en.html +1 -1
- package/ui/.next/server/app/en.meta +4 -3
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +25 -44
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up.segment.rsc +32 -0
- package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en.segments/_full.segment.rsc +29 -28
- package/ui/.next/server/app/en.segments/_tree.segment.rsc +4 -4
- package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -1
- package/ui/.next/server/app-paths-manifest.json +0 -1
- package/ui/.next/server/chunks/[root-of-the-server]__1l3jktn1mq9y0._.js +1 -1
- package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +1 -1
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ktv4mwammozc._.js +1 -1
- package/ui/.next/server/chunks/ssr/_01e3rinj2_l0i._.js +1 -1
- package/ui/.next/server/chunks/ssr/_039tax-e0r5wx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +1 -1
- package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +1 -1
- package/ui/.next/server/chunks/ssr/_0dku_2buhxhe1._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +1 -1
- package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1975r9mjak44f._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1bw46sadku4mx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +2 -2
- package/ui/.next/server/chunks/ssr/_1gxrg8g_1z61n._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1tcz5rcgonbsu._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1thsxvh0czdx1._.js +3 -0
- package/ui/.next/server/chunks/ssr/_20h3ngw2-pijn._.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +1 -1
- package/ui/.next/server/chunks/ssr/dictionaries_en_json_[json]_cjs_1pkm_n6uii6ve._.js +1 -1
- package/ui/.next/server/chunks/ssr/{node_modules_16kqn5r2-3r66._.js → node_modules_0j64ears5h1cj._.js} +2 -2
- package/ui/.next/server/chunks/ssr/node_modules_1gueex6ppv2u1._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +1 -1
- package/ui/.next/server/middleware-build-manifest.js +3 -3
- package/ui/.next/server/pages/404.html +1 -1
- package/ui/.next/server/pages/500.html +1 -1
- package/ui/.next/server/prefetch-hints.json +2 -2
- package/ui/.next/server/preview-props.json +3 -3
- package/ui/.next/server/server-reference-manifest.js +1 -1
- package/ui/.next/server/server-reference-manifest.json +51 -51
- package/ui/.next/static/chunks/0vvp54f9l0gz4.css +1 -0
- package/ui/.next/static/chunks/0zt2bp-gid_ha.js +1 -0
- package/ui/.next/static/chunks/1ruygu5-1yuk-.js +1 -0
- package/ui/.next/static/chunks/{0-76sxn43pa7e.js → 2qqgof43w4rit.js} +1 -1
- package/ui/.next/static/chunks/3glt8s6g02u22.js +1 -0
- package/ui/.next/static/chunks/3p78fx58byw3j.js +3 -0
- package/ui/.next/static/chunks/3rt54zhr0x-_1.js +1 -0
- package/ui/.next/static/chunks/42c4ez0qh-4aq.js +1 -0
- package/ui/.next/static/chunks/434x1gu7o1zm6.js +1 -0
- package/ui/package.json +0 -2
- package/ui/server.js +1 -1
- package/ui/.next/server/app/api/db/backup/route/app-paths-manifest.json +0 -3
- package/ui/.next/server/app/api/db/backup/route/build-manifest.json +0 -12
- package/ui/.next/server/app/api/db/backup/route/server-reference-manifest.json +0 -4
- package/ui/.next/server/app/api/db/backup/route.js +0 -15
- package/ui/.next/server/app/api/db/backup/route.js.map +0 -5
- package/ui/.next/server/app/api/db/backup/route.js.nft.json +0 -1
- package/ui/.next/server/app/api/db/backup/route_client-reference-manifest.js +0 -3
- package/ui/.next/server/chunks/_0146k0if4moum._.js +0 -3
- package/ui/.next/server/chunks/_next-internal_server_app_api_db_backup_route_actions_0g6ljpmyzdttd.js +0 -3
- package/ui/.next/server/chunks/ssr/_03yw69lobi4lm._.js +0 -3
- package/ui/.next/server/chunks/ssr/_0i5-qw-3yy6gn._.js +0 -3
- package/ui/.next/server/chunks/ssr/_12p0hrdhqcio6._.js +0 -3
- package/ui/.next/server/chunks/ssr/_1j_fg04_leqmf._.js +0 -3
- package/ui/.next/static/chunks/0dvjuy2047xrh.js +0 -1
- package/ui/.next/static/chunks/20od0wichpr35.js +0 -1
- package/ui/.next/static/chunks/2dd4k9ts17atr.css +0 -1
- package/ui/.next/static/chunks/32vuew10abq29.js +0 -1
- package/ui/.next/static/chunks/35uvm9kv04fdr.js +0 -1
- package/ui/.next/static/chunks/3ezr5f0on1_ww.js +0 -3
- package/ui/src/core/backup.ts +0 -7
- package/ui/src/core/mega.ts +0 -15
- package/ui/src/core/provider.ts +0 -26
- /package/ui/.next/static/{rz1hipNO_N7yajFva0NP0 → F3KweOCx1teDViW4VzRFq}/_buildManifest.js +0 -0
- /package/ui/.next/static/{rz1hipNO_N7yajFva0NP0 → F3KweOCx1teDViW4VzRFq}/_clientMiddlewareManifest.js +0 -0
- /package/ui/.next/static/{rz1hipNO_N7yajFva0NP0 → F3KweOCx1teDViW4VzRFq}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70550,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="docker",i=[],l="f395",r="M349.9 236.3l-66.1 0 0-59.4 66.1 0 0 59.4zm0-204.3l-66.1 0 0 60.7 66.1 0 0-60.7zm78.2 144.8l-66.1 0 0 59.4 66.1 0 0-59.4zM271.8 104.7l-66.1 0 0 60.1 66.1 0 0-60.1zm78.1 0l-66.1 0 0 60.1 66.1 0 0-60.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7l-434.7 0c-8.7 50.8 5.8 116.8 44 162.1 37.1 43.9 92.7 66.2 165.4 66.2 157.4 0 273.9-72.5 328.4-204.2 21.4 .4 67.6 .1 91.3-45.2 1.5-2.5 6.6-13.2 8.5-17.1l-13.3-8.9zM115.6 176.8l-66 0 0 59.4 66.1 0 0-59.4-.1 0zm78.1 0l-66.1 0 0 59.4 66.1 0 0-59.4zm78.1 0l-66.1 0 0 59.4 66.1 0 0-59.4zm-78.1-72.1l-66.1 0 0 60.1 66.1 0 0-60.1z";s.definition={prefix:"fab",iconName:a,icon:[640,512,i,l,r]},s.faDocker=s.definition,s.prefix="fab",s.iconName=a,s.width=640,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},6637,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="github",i=[],l="f09b",r="M216.5 362.5c-66-8-112.5-55.5-112.5-117 0-25 9-52 24-70-6.5-16.5-5.5-51.5 2-66 20-2.5 47 8 63 22.5 19-6 39-9 63.5-9s44.5 3 62.5 8.5c15.5-14 43-24.5 63-22 7 13.5 8 48.5 1.5 65.5 16 19 24.5 44.5 24.5 70.5 0 61.5-46.5 108-113.5 116.5 17 11 28.5 35 28.5 62.5l0 52C323 491.5 335.5 500 350.5 494 441 459.5 512 369 512 257 512 115.5 397 0 255.5 0S0 115.5 0 257c0 111 70.5 203 165.5 237.5 13.5 5 26.5-4 26.5-17.5l0-40c-7 3-16 5-24 5-33 0-52.5-18-66.5-51.5-5.5-13.5-11.5-21.5-23-23-6-.5-8-3-8-6 0-6 10-10.5 20-10.5 14.5 0 27 9 40 27.5 10 14.5 20.5 21 33 21s20.5-4.5 32-16c8.5-8.5 15-16 21-21z";s.definition={prefix:"fab",iconName:a,icon:[512,512,i,l,r]},s.faGithub=s.definition,s.prefix="fab",s.iconName=a,s.width=512,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},38889,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="arrow-left",i=[8592],l="f060",r="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";s.definition={prefix:"fas",iconName:a,icon:[512,512,i,l,r]},s.faArrowLeft=s.definition,s.prefix="fas",s.iconName=a,s.width=512,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},61261,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="arrow-up-right-from-square",i=["external-link"],l="f08e",r="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z";s.definition={prefix:"fas",iconName:a,icon:[512,512,i,l,r]},s.faArrowUpRightFromSquare=s.definition,s.prefix="fas",s.iconName=a,s.width=512,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},14067,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="arrows-rotate",i=[128472,"refresh","sync"],l="f021",r="M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z";s.definition={prefix:"fas",iconName:a,icon:[512,512,i,l,r]},s.faArrowsRotate=s.definition,s.prefix="fas",s.iconName=a,s.width=512,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},90549,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="check",i=[10003,10004],l="f00c",r="M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z";s.definition={prefix:"fas",iconName:a,icon:[448,512,i,l,r]},s.faCheck=s.definition,s.prefix="fas",s.iconName=a,s.width=448,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},38496,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="clipboard",i=[128203],l="f328",r="M320 32l-8.6 0C300.4 12.9 279.7 0 256 0L128 0C104.3 0 83.6 12.9 72.6 32L64 32C28.7 32 0 60.7 0 96L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-352c0-35.3-28.7-64-64-64zM136 112c-13.3 0-24-10.7-24-24s10.7-24 24-24l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0z";s.definition={prefix:"fas",iconName:a,icon:[384,512,i,l,r]},s.faClipboard=s.definition,s.prefix="fas",s.iconName=a,s.width=384,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},54242,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="code-branch",i=[],l="f126",r="M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3l0 70.7 176 0c26.5 0 48-21.5 48-48l0-22.7c-28.3-12.3-48-40.5-48-73.3 0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 22.7c0 61.9-50.1 112-112 112l-176 0 0 70.7c28.3 12.3 48 40.5 48 73.3 0 44.2-35.8 80-80 80S0 476.2 0 432c0-32.8 19.7-61 48-73.3l0-205.3C19.7 141 0 112.8 0 80 0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z";s.definition={prefix:"fas",iconName:a,icon:[448,512,i,l,r]},s.faCodeBranch=s.definition,s.prefix="fas",s.iconName=a,s.width=448,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},8640,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="copy",i=[],l="f0c5",r="M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z";s.definition={prefix:"fas",iconName:a,icon:[448,512,i,l,r]},s.faCopy=s.definition,s.prefix="fas",s.iconName=a,s.width=448,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},6391,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="hard-drive",i=[128436,"hdd"],l="f0a0",r="M64 32C28.7 32 0 60.7 0 96L0 260.1C18.1 247.4 40.2 240 64 240l320 0c23.8 0 45.9 7.4 64 20.1L448 96c0-35.3-28.7-64-64-64L64 32zM448 352c0-35.3-28.7-64-64-64L64 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-64zM224 384a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm128-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";s.definition={prefix:"fas",iconName:a,icon:[448,512,i,l,r]},s.faHardDrive=s.definition,s.prefix="fas",s.iconName=a,s.width=448,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},88823,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=[128273],i="f084",l="M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0 160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17l0 80c0 13.3 10.7 24 24 24l80 0c13.3 0 24-10.7 24-24l0-40 40 0c13.3 0 24-10.7 24-24l0-40 40 0c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z";s.definition={prefix:"fas",iconName:"key",icon:[512,512,a,i,l]},s.faKey=s.definition,s.prefix="fas",s.iconName="key",s.width=512,s.height=512,s.ligatures=a,s.unicode=i,s.svgPathData=l,s.aliases=a},59954,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="lock",i=[128274],l="f023",r="M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z";s.definition={prefix:"fas",iconName:a,icon:[384,512,i,l,r]},s.faLock=s.definition,s.prefix="fas",s.iconName=a,s.width=384,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},96045,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="lock-open",i=[],l="f3c1",r="M384 96c0-35.3 28.7-64 64-64s64 28.7 64 64l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-70.7-57.3-128-128-128S320 25.3 320 96l0 64-160 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-32 0 0-64z";s.definition={prefix:"fas",iconName:a,icon:[576,512,i,l,r]},s.faLockOpen=s.definition,s.prefix="fas",s.iconName=a,s.width=576,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},88673,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="network-wired",i=[],l="f6ff",r="M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z";s.definition={prefix:"fas",iconName:a,icon:[576,512,i,l,r]},s.faNetworkWired=s.definition,s.prefix="fas",s.iconName=a,s.width=576,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},53759,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="plus",i=[10133,61543,"add"],l="M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z";s.definition={prefix:"fas",iconName:a,icon:[448,512,i,"2b",l]},s.faPlus=s.definition,s.prefix="fas",s.iconName=a,s.width=448,s.height=512,s.ligatures=i,s.unicode="2b",s.svgPathData=l,s.aliases=i},98708,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=[127991],i="f02b",l="M32.5 96l0 149.5c0 17 6.7 33.3 18.7 45.3l192 192c25 25 65.5 25 90.5 0L483.2 333.3c25-25 25-65.5 0-90.5l-192-192C279.2 38.7 263 32 246 32L96.5 32c-35.3 0-64 28.7-64 64zm112 16a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";s.definition={prefix:"fas",iconName:"tag",icon:[512,512,a,i,l]},s.faTag=s.definition,s.prefix="fas",s.iconName="tag",s.width=512,s.height=512,s.ligatures=a,s.unicode=i,s.svgPathData=l,s.aliases=a},92865,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a="trash",i=[],l="f1f8",r="M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z";s.definition={prefix:"fas",iconName:a,icon:[448,512,i,l,r]},s.faTrash=s.definition,s.prefix="fas",s.iconName=a,s.width=448,s.height=512,s.ligatures=i,s.unicode=l,s.svgPathData=r,s.aliases=i},51717,e=>{"use strict";var t=e.i(43476),s=e.i(5654),a=e.i(90549),i=e.i(38496),l=e.i(8640),r=e.i(88823),n=e.i(59954),c=e.i(96045),o=e.i(53759),d=e.i(92865),u=e.i(49721),m=e.i(27459),f=e.i(71645),x=e.i(19455),h=e.i(93479),p=e.i(10204),v=e.i(67489);let g=({className:e,size:s="md",autoGrow:a=!1,rows:i,value:l,...r})=>{let n=(0,f.useRef)(null);return(0,f.useLayoutEffect)(()=>{let e=n.current;a&&e&&(e.style.height="auto",e.style.height=`${e.scrollHeight+e.offsetHeight-e.clientHeight}px`)},[a,l]),(0,t.jsx)("textarea",{ref:n,rows:i??(a?1:void 0),value:l,className:(0,m.f)({"min-h-9 px-3 py-2 text-sm leading-5":"md"===s,"min-h-8 px-2.5 py-[7px] text-xs leading-4":"sm"===s,"resize-none overflow-hidden":a},"block w-full rounded-md outline-2 outline-offset-2 outline-transparent transition-colors","border border-slate-700 bg-slate-900/90 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","disabled:cursor-not-allowed disabled:border-slate-800 disabled:bg-slate-950","disabled:text-slate-600 disabled:placeholder:text-slate-700",e),...r})},b=["build","runtime","both"],j=/^\s*(?:export\s+)?([A-Za-z_][A-Za-z0-9_.]*)\s*=(.*)$/,y={n:"\n",r:"\r",t:" ",'"':'"',"\\":"\\"};function N(e){let t=e.replace(/\r\n?/g,"\n").split("\n"),s={};for(let e=0;e<t.length;e++){let a=t[e],i=a.trim();if(""===i||i.startsWith("#"))continue;let l=j.exec(a);if(!l)return null;let[,r,n]=l,c=n.trimStart(),o=c[0];if('"'!==o&&"'"!==o&&"`"!==o){s[r]=c.replace(/\s+#.*$/,"").trim();continue}let d="",u=c.slice(1),m=!1;for(;;){for(let e=0;e<u.length;e++){let t=u[e];if('"'===o&&"\\"===t&&e+1<u.length){let t=u[e+1];d+=y[t]??`\\${t}`,e++}else if(t===o){let t=u.slice(e+1).trim();if(""!==t&&!t.startsWith("#"))return null;m=!0;break}else d+=t}if(m)break;if(++e>=t.length)return null;d+="\n",u=t[e]}s[r]=d}return Object.keys(s).length>0?s:null}let S=/^[^\s"'`#\\]*$/,w=()=>({id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),key:"",value:"",scope:"runtime",isSecret:!1}),P=([e,t])=>({...w(),key:e,value:t,isMultiline:t.includes("\n")});async function k(){try{let e=await navigator.permissions.query({name:"clipboard-read"});if("granted"!==e.state)return"unknown";let t=await navigator.clipboard.readText();return N(t)?"env":"other"}catch{return"unknown"}}e.s(["f",0,({items:e,onChange:j,disabled:y=!1,hasBuild:z=!0,labels:_,className:C})=>{let[M,L]=(0,f.useState)(e??[]);(0,f.useEffect)(()=>{void 0!==e&&L(e)},[e]);let B=s.f.useToastManager(),[D,T]=(0,f.useState)(!1),[$,E]=(0,f.useState)("unknown"),O=0===M.length,R=(0,f.useRef)(null);(0,f.useEffect)(()=>{if(!D)return;let e=setTimeout(()=>T(!1),2e3);return()=>clearTimeout(e)},[D]),(0,f.useEffect)(()=>{if(!O)return;let e=!1,t=()=>{k().then(t=>{e||E(t)})};return t(),window.addEventListener("focus",t),()=>{e=!0,window.removeEventListener("focus",t)}},[O]),(0,f.useLayoutEffect)(()=>{if(!R.current)return;let{index:e,caret:t}=R.current;R.current=null;let s=document.getElementById(`env-val-${e}`);s instanceof HTMLTextAreaElement&&(s.focus(),s.setSelectionRange(t,t))});let A=e=>{L(e),j?.(e)},F=()=>{A([...M,w()])},U=(e,t)=>{A(M.map((s,a)=>a!==e?s:{...s,...t}))},q=(e,t,s)=>{let a=s.clipboardData.getData("text/plain"),i=N(a);if(i){let t,a,l,r,n;s.preventDefault(),t=new Map(Object.entries(i)),a=M.map(e=>{let s=e.key.trim(),a=t.get(s);return void 0===a?e:(t.delete(s),{...e,value:a,isMultiline:!0===e.isMultiline||a.includes("\n")})}),l=Array.from(t,P),n=""===(r=M[e]).key.trim()&&""===r.value,a.splice(n?e:e+1,+!!n,...l),A(a);return}let l=M[e];if("value"!==t||l.isMultiline||!/[\r\n]/.test(a))return;s.preventDefault();let r=a.replace(/\r\n?/g,"\n"),n=s.currentTarget.selectionStart??l.value.length,c=s.currentTarget.selectionEnd??n;R.current={index:e,caret:n+r.length},U(e,{value:l.value.slice(0,n)+r+l.value.slice(c),isMultiline:!0})},I=async()=>{let e;try{e=await navigator.clipboard.readText()}catch{B.add({type:"error",description:Y});return}let t=N(e);if(!t){E("other"),B.add({type:"error",description:X});return}A(Object.entries(t).map(P))},H=async()=>{let e=M.filter(e=>""!==e.key.trim()).map(e=>({key:e.key.trim(),value:e.isSecret?"":e.value})).map(({key:e,value:t})=>`${e}=${function(e){if(S.test(e))return e;let t=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r");return`"${t}"`}(t)}`).join("\n");try{await navigator.clipboard.writeText(e),T(!0)}catch{T(!1)}},K=_?.title??"Environment Variables",V=_?.description??"Configure runtime environment variables and secrets.",G=_?.addButton??"Add Variable",W=_?.copyButton??"Copy as .env",J=_?.copiedButton??"Copied",Z=_?.clearButton??"Clear all",Q=_?.pasteButton??"Paste .env",X=_?.pasteInvalidMessage??"The clipboard has no environment variables.",Y=_?.pasteFailedMessage??"The clipboard could not be read.",ee=_?.removeButton??"Remove variable",et=_?.keyLabel??"Key",es=_?.keyPlaceholder??"e.g. DATABASE_URL",ea=_?.valueLabel??"Value",ei=_?.valuePlaceholder??"e.g. postgres://...",el=_?.scopeLabel??"Available in",er=_?.scopes??{build:"Build",runtime:"Runtime",both:"Both"},en=_?.scopeHelp,ec=_?.secretLabel??"Secret",eo=_?.emptyMessage??"No environment variables configured.",ed=z?"grid-cols-[1fr_auto_1fr_7rem_2.5rem_2.5rem]":"grid-cols-[1fr_auto_1fr_2.5rem_2.5rem]";return(0,t.jsxs)("div",{className:(0,m.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",C),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.f,{icon:r.faKey,className:"size-4 text-slate-400"}),(0,t.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:K})]}),V&&(0,t.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:V})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(x.f,{type:"button",variant:"ghost",size:"xs",onClick:H,disabled:!M.some(e=>""!==e.key.trim()),className:"gap-1.5 text-slate-400 hover:text-slate-200",children:[(0,t.jsx)(u.f,{icon:D?a.faCheck:l.faCopy,className:"size-3"}),(0,t.jsx)("span",{children:D?J:W})]}),(0,t.jsxs)(x.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>A([]),disabled:y||0===M.length,className:"gap-1.5 text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:[(0,t.jsx)(u.f,{icon:d.faTrash,className:"size-3"}),(0,t.jsx)("span",{children:Z})]}),(0,t.jsxs)(x.f,{type:"button",variant:"secondary",size:"xs",onClick:F,disabled:y,className:"gap-1.5",children:[(0,t.jsx)(u.f,{icon:o.faPlus,className:"size-3"}),(0,t.jsx)("span",{children:G})]})]})]}),O?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,t.jsx)("p",{className:"text-xs text-slate-500",children:eo}),(0,t.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,t.jsxs)(x.f,{type:"button",variant:"ghost",size:"xs",onClick:F,disabled:y,className:"text-slate-400 hover:text-slate-200",children:[(0,t.jsx)(u.f,{icon:o.faPlus,className:"mr-1 size-3"}),(0,t.jsx)("span",{children:G})]}),"other"!==$&&(0,t.jsxs)(x.f,{type:"button",variant:"ghost",size:"xs",onClick:I,disabled:y,className:"gap-1.5 text-slate-400 hover:text-slate-200",children:[(0,t.jsx)(u.f,{icon:i.faClipboard,className:"size-3"}),(0,t.jsx)("span",{children:Q})]})]})]}):(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:(0,m.f)("grid items-center gap-2 px-1 text-xs font-medium text-slate-400",ed),children:[(0,t.jsx)("span",{children:et}),(0,t.jsx)("span",{className:"w-4"}),(0,t.jsx)("span",{children:ea}),z&&(0,t.jsx)("span",{children:el}),(0,t.jsx)("span",{className:"text-center",children:ec}),(0,t.jsx)("span",{})]}),M.map((e,s)=>{let a=e.id??`env-${s}`;return(0,t.jsxs)("div",{className:(0,m.f)("grid items-start gap-2",ed),children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(p.f,{htmlFor:`env-key-${s}`,className:"sr-only",children:et}),(0,t.jsx)(h.f,{id:`env-key-${s}`,type:"text",size:"sm",className:"font-mono text-xs uppercase",placeholder:es,value:e.key,onChange:e=>U(s,{key:e.target.value}),onPaste:e=>q(s,"key",e),disabled:y})]}),(0,t.jsx)("span",{className:"text-center font-mono text-xs leading-8 text-slate-500 select-none",children:"="}),(0,t.jsxs)("div",{children:[(0,t.jsx)(p.f,{htmlFor:`env-val-${s}`,className:"sr-only",children:ea}),e.isMultiline?(0,t.jsx)(g,{id:`env-val-${s}`,autoGrow:!0,size:"sm",autoComplete:"off",spellCheck:!1,className:(0,m.f)("font-mono",e.isSecret&&"[-webkit-text-security:disc]"),placeholder:ei,value:e.value,onChange:e=>U(s,{value:e.target.value}),onPaste:e=>q(s,"value",e),disabled:y}):(0,t.jsx)(h.f,{id:`env-val-${s}`,type:e.isSecret?"password":"text",autoComplete:e.isSecret?"new-password":"off",size:"sm",className:"font-mono text-xs",placeholder:e.isSecret&&e.savedSecretKey===e.key.trim()&&_?.savedSecretPlaceholder?_.savedSecretPlaceholder:ei,value:e.value,onChange:e=>U(s,{value:e.target.value}),onPaste:e=>q(s,"value",e),disabled:y})]}),z&&(0,t.jsxs)("div",{children:[(0,t.jsx)(p.f,{htmlFor:`env-scope-${s}`,className:"sr-only",children:el}),(0,t.jsx)(v.f,{id:`env-scope-${s}`,className:"h-8 text-xs",value:e.scope,onChange:e=>U(s,{scope:e.target.value}),disabled:y,children:b.map(e=>(0,t.jsx)("option",{value:e,children:er[e]},e))})]}),(0,t.jsx)(x.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>U(s,{isSecret:!e.isSecret}),disabled:y,"aria-label":ec,"aria-pressed":e.isSecret,title:ec,className:e.isSecret?"text-amber-400 hover:text-amber-300":"text-slate-500 hover:text-slate-200",children:(0,t.jsx)(u.f,{icon:e.isSecret?n.faLock:c.faLockOpen,className:"size-3.5"})}),(0,t.jsx)(x.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{A(M.filter((e,t)=>t!==s))},disabled:y,"aria-label":ee,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,t.jsx)(u.f,{icon:d.faTrash,className:"size-3.5"})})]},a)}),z&&en&&(0,t.jsx)("p",{className:"px-1 text-xs text-slate-500",children:en})]})]})}],51717)},47274,e=>{"use strict";var t=e.i(43476),s=e.i(70550),a=e.i(6637),i=e.i(38889),l=e.i(53759),r=e.i(49721),n=e.i(27459),c=e.i(48148),o=e.i(71645),d=e.i(70759),u=e.i(98708),m=e.i(93479),f=e.i(10204);let x=(0,n.f)("h-10 w-full rounded-md border border-slate-700 bg-slate-900/90 px-3 text-sm text-slate-100 shadow-xs","hover:border-slate-600","focus:border-slate-400 focus:outline-hidden focus-visible:outline-slate-400","disabled:cursor-not-allowed disabled:border-slate-800 disabled:bg-slate-950 disabled:text-slate-600"),h=({selectedImage:e,selectedTag:a,onSelectImage:i,onSelectTag:l,disabled:c=!1,className:h})=>{let[p,v]=(0,o.useState)(e??""),[g,b]=(0,o.useState)(a??"latest"),[j,y]=(0,o.useState)([]),[N,S]=(0,o.useState)(!1),[w,P]=(0,o.useState)(!1),k=(0,o.useRef)(null);return(0,o.useEffect)(()=>{void 0!==e&&v(e)},[e]),(0,o.useEffect)(()=>{void 0!==a&&b(a)},[a]),(0,o.useEffect)(()=>{let e=p.trim();if(!e){y([]),S(!1);return}return k.current&&clearTimeout(k.current),S(!0),k.current=setTimeout(async()=>{try{let t=await fetch(`/api/sources/dockerhub/tags?image=${encodeURIComponent(e)}`);if(!t.ok)throw Error("Failed to load tags.");let s=(await t.json()).tags||[];if(y(s),s.length>0&&(!g||!s.includes(g))){let e=s.includes("latest")?"latest":s[0];b(e),l?.(e)}}catch{y([])}finally{S(!1)}},350),()=>{k.current&&clearTimeout(k.current)}},[p]),(0,t.jsxs)("div",{className:(0,n.f)("space-y-4",h),children:[(0,t.jsx)("input",{type:"hidden",name:"repository",value:p}),(0,t.jsx)("input",{type:"hidden",name:"branch",value:g}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)(f.f,{htmlFor:"docker-image-input",className:"flex items-center gap-1.5",children:[(0,t.jsx)(r.f,{icon:s.faDocker,className:"text-slate-400"}),"Docker Image Name"]}),N&&(0,t.jsxs)("span",{className:"flex items-center gap-1 text-xs text-slate-400",children:[(0,t.jsx)(r.f,{icon:d.faSpinner,spin:!0,className:"text-xs"}),"Looking up tags..."]})]}),(0,t.jsx)(m.f,{id:"docker-image-input",placeholder:"e.g. redis, nginx, postgres",value:p,onChange:e=>{let t=e.target.value;v(t),i?.(t)},disabled:c})]}),p.trim().length>0&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)(f.f,{htmlFor:"docker-tag-select",className:"flex items-center gap-1.5",children:[(0,t.jsx)(r.f,{icon:u.faTag,className:"text-slate-400"}),"Image Tag / Version"]}),j.length>0&&!w&&(0,t.jsx)("button",{type:"button",onClick:()=>P(!0),className:"text-xs text-slate-400 hover:text-slate-200 underline",children:"Enter custom tag"}),w&&j.length>0&&(0,t.jsx)("button",{type:"button",onClick:()=>P(!1),className:"text-xs text-slate-400 hover:text-slate-200 underline",children:"Choose from suggested tags"})]}),j.length>0&&!w?(0,t.jsxs)("select",{id:"docker-tag-select",value:j.includes(g)?g:"__custom__",onChange:e=>{let t=e.target.value;"__custom__"===t?P(!0):(P(!1),b(t),l?.(t))},disabled:c||N,className:x,children:[j.map(e=>(0,t.jsx)("option",{value:e,children:e},e)),(0,t.jsx)("option",{value:"__custom__",children:"Custom tag..."})]}):(0,t.jsx)(m.f,{id:"docker-tag-input",placeholder:"e.g. latest, alpine, 16.2",value:g,onChange:e=>{let t=e.target.value;b(t),l?.(t)},disabled:c})]})]})};var p=e.i(51717),v=e.i(61261),g=e.i(14067),b=e.i(88340),j=e.i(54242),y=e.i(19455);let N=(0,n.f)("h-10 w-full rounded-md border border-slate-700 bg-slate-900/90 px-3 text-sm text-slate-100 shadow-xs","hover:border-slate-600","focus:border-slate-400 focus:outline-hidden focus-visible:outline-slate-400","disabled:cursor-not-allowed disabled:border-slate-800 disabled:bg-slate-950 disabled:text-slate-600"),S=({selectedRepo:e,selectedBranch:s,onSelectRepo:i,onSelectBranch:l,disabled:u=!1,className:m})=>{let x=(0,c.f)("NewServicePage.githubSource"),[h,p]=(0,o.useState)([]),[S,w]=(0,o.useState)([]),[P,k]=(0,o.useState)(e??""),[z,_]=(0,o.useState)(s??""),[C,M]=(0,o.useState)(!0),[L,B]=(0,o.useState)(!1),[D,T]=(0,o.useState)(null),[$,E]=(0,o.useState)(!0),[O,R]=(0,o.useState)(null),[A,F]=(0,o.useState)(null),U=(0,o.useCallback)(async()=>{M(!0),T(null);try{let e=await fetch("/api/sources/github/repos");if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(t.error||"Failed to load repositories.")}let t=await e.json();E(t.isConnected??!0),R(t.installationUrl??null),F(t.manageUrl??null),p(t.repositories||[])}catch(e){T(e instanceof Error?e.message:"Failed to load repositories.")}finally{M(!1)}},[]);return(0,o.useEffect)(()=>{let e=new URL(window.location.href);e.searchParams.has("installation_id")&&(e.searchParams.delete("installation_id"),e.searchParams.delete("setup_action"),window.history.replaceState(window.history.state,"",e)),U()},[U]),(0,o.useEffect)(()=>{void 0!==e&&k(e)},[e]),(0,o.useEffect)(()=>{void 0!==s&&_(s)},[s]),(0,o.useEffect)(()=>{if(!P){w([]),_("");return}let e=!1;return async function(){B(!0);try{let t=await fetch(`/api/sources/github/branches?repo=${encodeURIComponent(P)}`);if(!t.ok)throw Error("Failed to load branches.");let s=await t.json();if(!e){let e=s.branches||[];w(e);let t=h.find(e=>e.fullName===P),a=t?.defaultBranch||e[0]||"main";z&&e.includes(z)||(_(a),l?.(a))}}catch{e||w([])}finally{e||B(!1)}}(),()=>{e=!0}},[P,h]),(0,t.jsxs)("div",{className:(0,n.f)("space-y-4",m),children:[(0,t.jsx)("input",{type:"hidden",name:"repository",value:P}),(0,t.jsx)("input",{type:"hidden",name:"branch",value:z}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)(f.f,{htmlFor:"github-repo-select",className:"flex items-center gap-1.5",children:[(0,t.jsx)(r.f,{icon:a.faGithub,className:"text-slate-400"}),x("repoLabel")]}),C&&(0,t.jsxs)("span",{className:"flex items-center gap-1 text-xs text-slate-400",children:[(0,t.jsx)(r.f,{icon:d.faSpinner,spin:!0,className:"text-xs"}),x("loadingRepos")]})]}),D?(0,t.jsxs)("div",{className:"flex items-center justify-between rounded-md border border-rose-800/60 bg-rose-950/40 px-3 py-2 text-xs text-rose-300",children:[(0,t.jsx)("span",{children:D}),(0,t.jsx)(y.f,{type:"button",size:"sm",variant:"ghost",onClick:U,className:"text-xs text-rose-300 hover:text-rose-100",children:(0,t.jsx)(r.f,{icon:g.faArrowsRotate,className:"size-3"})})]}):$?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("select",{id:"github-repo-select",value:P,onChange:e=>{let t=e.target.value;k(t);let s=h.find(e=>e.fullName===t),a=s?.defaultBranch||"main";i?.(t,a)},disabled:u||C||0===h.length,className:N,children:[(0,t.jsx)("option",{value:"",disabled:!0,children:C?x("loadingReposPlaceholder"):0===h.length?x("noRepos"):x("selectRepo")}),h.map(e=>(0,t.jsxs)("option",{value:e.fullName,children:[e.fullName," ",e.private?`(${x("privateBadge")})`:""]},e.id))]}),A&&(0,t.jsx)("div",{className:"flex items-center justify-end pt-1",children:(0,t.jsxs)("a",{href:A,className:"inline-flex items-center gap-1.5 text-xs text-slate-400 hover:text-slate-200 transition-colors",children:[(0,t.jsx)("span",{children:x("manageAccess")}),(0,t.jsx)(r.f,{icon:v.faArrowUpRightFromSquare,className:"size-2.5"})]})})]}):(0,t.jsxs)("div",{className:"rounded-lg border border-amber-800/60 bg-amber-950/20 p-4 space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r.f,{icon:b.faCircleExclamation,className:"size-5 text-amber-400 mt-0.5 shrink-0"}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-amber-200",children:x("notConnected.title")}),(0,t.jsx)("p",{className:"text-xs text-amber-300/80 leading-relaxed",children:x("notConnected.description")})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 pt-1",children:[O&&(0,t.jsx)("a",{href:O,children:(0,t.jsxs)(y.f,{type:"button",size:"sm",variant:"primary",className:"gap-1.5 text-xs",children:[(0,t.jsx)(r.f,{icon:v.faArrowUpRightFromSquare,className:"size-3"}),(0,t.jsx)("span",{children:x("notConnected.installButton")})]})}),(0,t.jsxs)(y.f,{type:"button",size:"sm",variant:"secondary",onClick:U,disabled:C,className:"gap-1.5 text-xs",children:[(0,t.jsx)(r.f,{icon:g.faArrowsRotate,spin:C,className:"size-3"}),(0,t.jsx)("span",{children:x("notConnected.refreshButton")})]})]})]})]}),P&&$&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)(f.f,{htmlFor:"github-branch-select",className:"flex items-center gap-1.5",children:[(0,t.jsx)(r.f,{icon:j.faCodeBranch,className:"text-slate-400"}),x("branchLabel")]}),L&&(0,t.jsxs)("span",{className:"flex items-center gap-1 text-xs text-slate-400",children:[(0,t.jsx)(r.f,{icon:d.faSpinner,spin:!0,className:"text-xs"}),x("loadingBranches")]})]}),(0,t.jsxs)("select",{id:"github-branch-select",value:z,onChange:e=>{let t=e.target.value;_(t),l?.(t)},disabled:u||L||0===S.length,className:N,children:[(0,t.jsx)("option",{value:"",disabled:!0,children:L?x("loadingBranches"):x("selectBranch")}),S.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]})]})};var w=e.i(45848),P=e.i(7143),k=e.i(32653),z=e.i(15288),_=e.i(3133),C=e.i(93411);e.s(["default",0,({action:e})=>{let d=(0,c.f)("NewServicePage"),u=(0,k.f)(),[x,v]=(0,o.useState)("github"),[g,b]=(0,o.useState)(""),[j,N]=(0,o.useState)(""),[M,L]=(0,o.useState)([]),[B,D]=(0,o.useState)([]),[T,$]=(0,o.useState)([]),E=(0,o.useId)(),O=e=>{v(e),b(""),N("dockerhub"===e?"latest":"")},R=M.filter(e=>""!==e.external&&""!==e.internal).map(e=>({external:Number(e.external),internal:Number(e.internal)})),A=B.filter(e=>""!==e.key.trim()).map(e=>({key:e.key.trim(),value:e.value,scope:e.scope,isSecret:e.isSecret})),F=T.filter(e=>""!==e.containerPath.trim()).map(e=>({name:(e.name??"").trim(),containerPath:e.containerPath.trim()})),U={create_failed:d("messages.create_failed"),service_name_required:d("messages.service_name_required"),repository_required:d("messages.repository_required"),branch_required:d("messages.branch_required"),invalid_ports:d("messages.invalid_ports"),invalid_environment_variables:d("messages.invalid_environment_variables"),invalid_volumes:d("messages.invalid_volumes"),volume_name_required:d("messages.volume_name_required")};return(0,t.jsxs)(_.f,{action:e,messages:U,className:"flex flex-col gap-8 w-full max-w-4xl",children:[(0,t.jsx)("input",{type:"hidden",name:"type",value:x}),(0,t.jsx)("input",{type:"hidden",name:"repository",value:g}),(0,t.jsx)("input",{type:"hidden",name:"branch",value:j}),(0,t.jsx)("input",{type:"hidden",name:"ports",value:JSON.stringify(R)}),(0,t.jsx)("input",{type:"hidden",name:"environmentVariables",value:JSON.stringify(A)}),(0,t.jsx)("input",{type:"hidden",name:"volumes",value:JSON.stringify(F)}),(0,t.jsxs)(z.f,{className:"flex flex-col gap-6 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:d("sourceSection.title")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:d("sourceSection.description")})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3 max-w-md",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>O("github"),className:(0,n.f)("flex items-center justify-center gap-2.5 rounded-lg border px-4 py-3 text-sm font-medium transition-all","github"===x?"border-sky-500 bg-sky-500/10 text-sky-300 shadow-xs":"border-slate-800 bg-slate-900/50 text-slate-400 hover:border-slate-700 hover:text-slate-200"),children:[(0,t.jsx)(r.f,{icon:a.faGithub,className:"size-4"}),(0,t.jsx)("span",{children:d("sourceSection.github")})]}),(0,t.jsxs)("button",{type:"button",onClick:()=>O("dockerhub"),className:(0,n.f)("flex items-center justify-center gap-2.5 rounded-lg border px-4 py-3 text-sm font-medium transition-all","dockerhub"===x?"border-sky-500 bg-sky-500/10 text-sky-300 shadow-xs":"border-slate-800 bg-slate-900/50 text-slate-400 hover:border-slate-700 hover:text-slate-200"),children:[(0,t.jsx)(r.f,{icon:s.faDocker,className:"size-4"}),(0,t.jsx)("span",{children:d("sourceSection.dockerhub")})]})]}),(0,t.jsx)("div",{className:"pt-2",children:"github"===x?(0,t.jsx)(S,{selectedRepo:g,selectedBranch:j,onSelectRepo:(e,t)=>{b(e),N(t)},onSelectBranch:e=>N(e)}):(0,t.jsx)(h,{selectedImage:g,selectedTag:j,onSelectImage:e=>b(e),onSelectTag:e=>N(e)})})]}),(0,t.jsxs)(z.f,{className:"flex flex-col gap-4 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:d("generalSection.title")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:d("generalSection.nameHelp")})]}),(0,t.jsxs)("div",{className:"space-y-1.5 max-w-lg",children:[(0,t.jsxs)(f.f,{htmlFor:E,children:[d("generalSection.nameLabel")," ",(0,t.jsx)("span",{className:"text-rose-400",children:"*"})]}),(0,t.jsx)(m.f,{id:E,name:"name",required:!0,placeholder:d("generalSection.namePlaceholder")})]})]}),(0,t.jsx)(w.f,{items:M,onChange:L,labels:u.ports}),(0,t.jsx)(p.f,{items:B,onChange:D,hasBuild:"github"===x,labels:u.env}),(0,t.jsx)(P.f,{items:T,onChange:$,labels:u.volumes}),(0,t.jsxs)("div",{className:"flex items-center justify-between pt-4 border-t border-slate-800",children:[(0,t.jsx)(C.L,{href:"/services",children:(0,t.jsxs)(y.f,{type:"button",variant:"ghost",size:"sm",className:"gap-2 text-slate-400 hover:text-slate-200",children:[(0,t.jsx)(r.f,{icon:i.faArrowLeft,className:"size-3"}),(0,t.jsx)("span",{children:d("back")})]})}),(0,t.jsxs)(y.f,{type:"submit",variant:"primary",size:"md",className:"gap-2",children:[(0,t.jsx)(r.f,{icon:l.faPlus,className:"size-3.5"}),(0,t.jsx)("span",{children:d("submit")})]})]})]})}],47274)},45848,e=>{"use strict";var t=e.i(43476),s=e.i(88673),a=e.i(53759),i=e.i(92865),l=e.i(49721),r=e.i(27459),n=e.i(71645),c=e.i(19455),o=e.i(93479),d=e.i(10204);e.s(["f",0,({items:e,onChange:u,disabled:m=!1,labels:f,className:x})=>{let[h,p]=(0,n.useState)(e??[]);(0,n.useEffect)(()=>{void 0!==e&&p(e)},[e]);let v=e=>{p(e),u?.(e)},g=()=>{v([...h,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),external:"",internal:""}])},b=(e,t,s)=>{v(h.map((a,i)=>i!==e?a:{...a,[t]:""===s?"":Number(s)||s}))},j=f?.title??"Port Mappings",y=f?.description??"Map host ports to container ports.",N=f?.addButton??"Add Port",S=f?.removeButton??"Remove port mapping",w=f?.hostPortLabel??"Host Port",P=f?.hostPortPlaceholder??"e.g. 8080",k=f?.containerPortLabel??"Container Port",z=f?.containerPortPlaceholder??"e.g. 80",_=f?.emptyMessage??"No port mappings configured.";return(0,t.jsxs)("div",{className:(0,r.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",x),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.f,{icon:s.faNetworkWired,className:"size-4 text-slate-400"}),(0,t.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:j})]}),y&&(0,t.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:y})]}),(0,t.jsxs)(c.f,{type:"button",variant:"secondary",size:"xs",onClick:g,disabled:m,className:"gap-1.5",children:[(0,t.jsx)(l.f,{icon:a.faPlus,className:"size-3"}),(0,t.jsx)("span",{children:N})]})]}),0===h.length?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,t.jsx)("p",{className:"text-xs text-slate-500",children:_}),(0,t.jsxs)(c.f,{type:"button",variant:"ghost",size:"xs",onClick:g,disabled:m,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,t.jsx)(l.f,{icon:a.faPlus,className:"mr-1 size-3"}),(0,t.jsx)("span",{children:N})]})]}):(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr_auto] items-center gap-2 px-1 text-xs font-medium text-slate-400",children:[(0,t.jsx)("span",{children:w}),(0,t.jsx)("span",{className:"w-4"}),(0,t.jsx)("span",{children:k}),(0,t.jsx)("span",{className:"w-8"})]}),h.map((e,s)=>{let a=e.id??`port-${s}`;return(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr_auto] items-center gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(d.f,{htmlFor:`host-port-${s}`,className:"sr-only",children:w}),(0,t.jsx)(o.f,{id:`host-port-${s}`,type:"number",min:1,max:65535,size:"sm",placeholder:P,value:e.external,onChange:e=>b(s,"external",e.target.value),disabled:m})]}),(0,t.jsx)("span",{className:"text-center text-xs text-slate-500 select-none",children:"→"}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.f,{htmlFor:`container-port-${s}`,className:"sr-only",children:k}),(0,t.jsx)(o.f,{id:`container-port-${s}`,type:"number",min:1,max:65535,size:"sm",placeholder:z,value:e.internal,onChange:e=>b(s,"internal",e.target.value),disabled:m})]}),(0,t.jsx)(c.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{v(h.filter((e,t)=>t!==s))},disabled:m,"aria-label":S,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,t.jsx)(l.f,{icon:i.faTrash,className:"size-3.5"})})]},a)})]})]})}])},7143,e=>{"use strict";var t=e.i(43476),s=e.i(6391),a=e.i(53759),i=e.i(92865),l=e.i(49721),r=e.i(27459),n=e.i(71645),c=e.i(19455),o=e.i(93479),d=e.i(10204);e.s(["f",0,({items:e,onChange:u,disabled:m=!1,labels:f,className:x})=>{let[h,p]=(0,n.useState)(e??[]);(0,n.useEffect)(()=>{void 0!==e&&p(e)},[e]);let v=e=>{p(e),u?.(e)},g=()=>{v([...h,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),containerPath:"",name:""}])},b=(e,t,s)=>{v(h.map((a,i)=>i!==e?a:{...a,[t]:s}))},j=f?.title??"Storage Mounts",y=f?.description??"Attach persistent Docker volumes to persist data across container restarts.",N=f?.addButton??"Add Mount",S=f?.removeButton??"Remove storage mount",w=f?.containerPathLabel??"Container Path",P=f?.containerPathPlaceholder??"e.g. /var/lib/mysql",k=f?.volumeNameLabel??"Volume Name (optional)",z=f?.volumeNamePlaceholder??"e.g. db-data (auto-generated if empty)",_=f?.emptyMessage??"No storage mounts configured.";return(0,t.jsxs)("div",{className:(0,r.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",x),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.f,{icon:s.faHardDrive,className:"size-4 text-slate-400"}),(0,t.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:j})]}),y&&(0,t.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:y})]}),(0,t.jsxs)(c.f,{type:"button",variant:"secondary",size:"xs",onClick:g,disabled:m,className:"gap-1.5",children:[(0,t.jsx)(l.f,{icon:a.faPlus,className:"size-3"}),(0,t.jsx)("span",{children:N})]})]}),0===h.length?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,t.jsx)("p",{className:"text-xs text-slate-500",children:_}),(0,t.jsxs)(c.f,{type:"button",variant:"ghost",size:"xs",onClick:g,disabled:m,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,t.jsx)(l.f,{icon:a.faPlus,className:"mr-1 size-3"}),(0,t.jsx)("span",{children:N})]})]}):(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto] items-center gap-2 px-1 text-xs font-medium text-slate-400",children:[(0,t.jsx)("span",{children:w}),(0,t.jsx)("span",{children:k}),(0,t.jsx)("span",{className:"w-8"})]}),h.map((e,s)=>{let a=e.id??`vol-${s}`;return(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto] items-center gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(d.f,{htmlFor:`vol-path-${s}`,className:"sr-only",children:w}),(0,t.jsx)(o.f,{id:`vol-path-${s}`,type:"text",size:"sm",className:"font-mono text-xs",placeholder:P,value:e.containerPath,onChange:e=>b(s,"containerPath",e.target.value),disabled:m})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.f,{htmlFor:`vol-name-${s}`,className:"sr-only",children:k}),(0,t.jsx)(o.f,{id:`vol-name-${s}`,type:"text",size:"sm",placeholder:z,value:e.name??"",onChange:e=>b(s,"name",e.target.value),disabled:m})]}),(0,t.jsx)(c.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{v(h.filter((e,t)=>t!==s))},disabled:m,"aria-label":S,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,t.jsx)(l.f,{icon:i.faTrash,className:"size-3.5"})})]},a)})]})]})}])},32653,e=>{"use strict";var t=e.i(48148);e.s(["f",0,function(){let e=(0,t.f)("NewServicePage");return{ports:{title:e("portsSection.title"),description:e("portsSection.description"),addButton:e("portsSection.addButton"),removeButton:e("portsSection.removeButton"),hostPortLabel:e("portsSection.hostPortLabel"),hostPortPlaceholder:e("portsSection.hostPortPlaceholder"),containerPortLabel:e("portsSection.containerPortLabel"),containerPortPlaceholder:e("portsSection.containerPortPlaceholder"),emptyMessage:e("portsSection.emptyMessage")},env:{title:e("envSection.title"),description:e("envSection.description"),addButton:e("envSection.addButton"),copyButton:e("envSection.copyButton"),copiedButton:e("envSection.copiedButton"),clearButton:e("envSection.clearButton"),pasteButton:e("envSection.pasteButton"),pasteInvalidMessage:e("envSection.pasteInvalidMessage"),pasteFailedMessage:e("envSection.pasteFailedMessage"),removeButton:e("envSection.removeButton"),keyLabel:e("envSection.keyLabel"),keyPlaceholder:e("envSection.keyPlaceholder"),valueLabel:e("envSection.valueLabel"),valuePlaceholder:e("envSection.valuePlaceholder"),scopeLabel:e("envSection.scopeLabel"),scopes:{build:e("envSection.scopes.build"),runtime:e("envSection.scopes.runtime"),both:e("envSection.scopes.both")},scopeHelp:e("envSection.scopeHelp"),secretLabel:e("envSection.secretLabel"),emptyMessage:e("envSection.emptyMessage")},volumes:{title:e("volumesSection.title"),description:e("volumesSection.description"),addButton:e("volumesSection.addButton"),removeButton:e("volumesSection.removeButton"),containerPathLabel:e("volumesSection.containerPathLabel"),containerPathPlaceholder:e("volumesSection.containerPathPlaceholder"),volumeNameLabel:e("volumesSection.volumeNameLabel"),volumeNamePlaceholder:e("volumesSection.volumeNamePlaceholder"),emptyMessage:e("volumesSection.emptyMessage")}}}])},15288,e=>{"use strict";var t=e.i(43476),s=e.i(27459);e.s(["f",0,({className:e,...a})=>(0,t.jsx)("div",{className:(0,s.f)("w-full rounded-2xl border border-slate-800 bg-slate-900/80 p-8 shadow-2xl backdrop-blur-md",e),...a})])},3133,e=>{"use strict";var t=e.i(43476);e.i(68893);var s=e.i(33893),s=s,a=e.i(27459);e.s(["f",0,({className:e,children:i,...l})=>(0,t.jsx)(s.f,{...l,className:(0,a.f)("grid justify-items-start gap-6",e),renderMessages:(0,t.jsx)("div",{className:(0,a.f)("w-full flex items-start gap-3 rounded-md px-4 py-3 text-sm","data-[message-type=default]:bg-slate-800 data-[message-type=default]:text-slate-200","data-[message-type=error]:border data-[message-type=error]:border-rose-500/20","data-[message-type=error]:bg-rose-500/10 data-[message-type=error]:text-rose-400","data-[message-type=info]:border data-[message-type=info]:border-sky-500/20","data-[message-type=info]:bg-sky-500/10 data-[message-type=info]:text-sky-400","data-[message-type=success]:border data-[message-type=success]:border-emerald-500/20","data-[message-type=success]:bg-emerald-500/10 data-[message-type=success]:text-emerald-400","data-[message-type=warning]:border data-[message-type=warning]:border-amber-500/20","data-[message-type=warning]:bg-amber-500/10 data-[message-type=warning]:text-amber-400")}),children:i})],3133)},10204,e=>{"use strict";var t=e.i(43476),s=e.i(27459);e.s(["f",0,({className:e,...a})=>(0,t.jsx)("label",{className:(0,s.f)("block text-xs font-semibold uppercase tracking-wider text-slate-300",e),...a})])},67489,e=>{"use strict";var t=e.i(43476),s=e.i(27459);e.s(["f",0,({className:e,...a})=>(0,t.jsx)("select",{className:(0,s.f)("h-9 w-full rounded-md border border-slate-700 bg-slate-900/90 px-2 text-sm text-slate-100 shadow-xs","hover:border-slate-600","focus:border-slate-400 focus-visible:outline-2 focus-visible:outline-slate-400","disabled:cursor-not-allowed disabled:border-slate-800 disabled:bg-slate-950 disabled:text-slate-600",e),...a})])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26674,e=>{"use strict";e.i(47167);var t=e.i(71645),n=e.i(74080),r=e.i(29315),i=e.i(74735),u=e.i(65420),s=e.i(83977),o=e.i(46376),l=e.i(67865),a=e.i(56789),c=e.i(52535),f=e.i(83976),d=e.i(75606),h=e.i(6304),p=e.i(51321),g=e.i(52245),b=e.i(38396),v=e.i(43476);let m=t.createContext(null),y=()=>t.useContext(m),S=(0,p.f)("portal");function x(e={}){let{ref:i,container:u,componentProps:c=a.w,elementProps:f}=e,d=(0,s.f)(),h=y(),p=h?.portalNode,[b,v]=t.useState(null),[m,E]=t.useState(null),k=(0,l.f)(e=>{null!==e&&E(e)}),w=t.useRef(null);(0,o.f)(()=>{if(null===u){w.current&&(w.current=null,E(null),v(null));return}let e=(u&&((0,r.t)(u)?u:u.current))??p??document.body;if(null==e){w.current&&(w.current=null,E(null),v(null));return}w.current!==e&&(w.current=e,E(null),v(e))},[u,p]);let j=(0,g.f)("div",c,{ref:[i,k],props:[{id:d,[S]:""},f]}),C=b&&j?n.createPortal(j,b):null;return{node:m,nodeId:t.isValidElement(j)?j.props.id:void 0,subtree:C}}let E=t.forwardRef(function(e,r){let{render:s,className:l,style:a,children:p,container:g,portalOwnerRole:y,...S}=e,{node:E,nodeId:k,subtree:w}=x({container:g,ref:r,componentProps:e,elementProps:S}),j=t.useRef(null),C=t.useRef(null),A=t.useRef(null),P=t.useRef(null),[I,O]=t.useState(null),R=t.useRef(!1),T=I?.modal,$=I?.open,_=!!I&&!I.modal&&I.open&&!!E;t.useEffect(()=>{if(E&&!T)return(0,u.f)((0,i.f)(E,"focusin",e,!0),(0,i.f)(E,"focusout",e,!0));function e(e){E&&e.relatedTarget&&(0,f.A)(e)&&("focusin"===e.type?R.current&&((0,f.d)(E),R.current=!1):((0,f.r)(E),R.current=!0))}},[E,T]),(0,o.f)(()=>{E&&!0===$&&R.current&&((0,f.d)(E),R.current=!1)},[$,E]);let L=t.useMemo(()=>({beforeOutsideRef:j,afterOutsideRef:C,beforeInsideRef:A,afterInsideRef:P,portalNode:E,setFocusManagerState:O}),[E]);return(0,v.jsxs)(t.Fragment,{children:[w,(0,v.jsxs)(m.Provider,{value:L,children:[_&&E&&(0,v.jsx)(c.f,{"data-type":"outside",ref:j,onFocus:e=>{if((0,f.A)(e,E))A.current?.focus();else{let e=I?I.domReference:null,t=(0,f.B)(e);t?.focus()}}}),_&&E&&(0,v.jsx)("span",{role:y,"aria-owns":k,style:b.Z}),E&&n.createPortal(p,E),_&&E&&(0,v.jsx)(c.f,{"data-type":"outside",ref:C,onFocus:e=>{if((0,f.A)(e,E))P.current?.focus();else{let t=I?I.domReference:null,n=(0,f.O)(t);n?.focus(),I?.closeOnFocusOut&&I?.onOpenChange(!1,(0,d.j)(h.f.focusOut,e.nativeEvent))}}})]})]})});e.s(["r",0,E,"o",0,x,"M",0,y])},96296,70189,49055,e=>{"use strict";var t=e.i(29315),n=e.i(79214);e.s(["f",0,n],70189);var n=n;e.i(84446);let r="data-base-ui-focusable",i="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function u(e){return(0,t.E)(e)&&e.matches(i)}e.s(["Q",0,r,"n",0,i],49055),e.s(["G",0,function(e){return e?e.hasAttribute(r)?e:e.querySelector(`[${r}]`)||e:null},"V",0,function(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))},"W",0,function(e){return e.matches("html,body")},"J",0,function(e){return!!e&&"combobox"===e.getAttribute("role")&&u(e)},"Q",0,u,"F",0,function(e){if(!e||n.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}],96296)},83976,21082,6304,51321,e=>{"use strict";var t=e.i(29315),n=e.i(8868),r=e.i(84446);function i(e,n=e?(0,t.X)(e):null){var r;return!!e&&!!e.isConnected&&!!n&&"hidden"!==(r=n).visibility&&"collapse"!==r.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==n.display&&"contents"!==n.display)}function u(e){for(let n of Array.from(e.children))if("summary"===(0,t.A)(n))return n;return null}function s(e){let n=e?(0,t.A)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==n||null!=e.parentElement&&"details"===(0,t.A)(e.parentElement)&&u(e.parentElement)===e)&&("details"!==n||null==u(e))&&("input"!==n||"hidden"!==e.type)}function o(e){if(!s(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let n=e;n;n=function(e){let n=e.assignedSlot;if(n)return n;if(e.parentElement)return e.parentElement;let r=e.getRootNode();return(0,t.R)(r)?r.host:null}(n)){let s=n!==e,o="slot"===(0,t.A)(n);if(n.hasAttribute("inert")||s&&"details"===(0,t.A)(n)&&!n.open&&!function(e,t){let n=u(t);return!!n&&(e===n||(0,r.I)(n,e))}(e,n)||n.hasAttribute("hidden")||!o&&!function(e,n){let r=(0,t.X)(e);return n?"none"!==r.display:i(e,r)}(n,s))return!1}return!0}function l(e){let n=e.tabIndex;if(n<0){let n=(0,t.A)(e);if("details"===n||"audio"===n||"video"===n||(0,t.E)(e)&&e.isContentEditable)return 0}return n}function a(e){return"input"!==(0,t.A)(e)?null:"radio"===e.type&&""!==e.name?e:null}function c(e){if((0,t.E)(e)&&"slot"===(0,t.A)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,t.E)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function f(e){let t=[];return!function e(t,n){c(t).forEach(t=>{s(t)&&n.push(t),e(t,n)})}(e,t),t.filter(o)}function d(e){let t=f(e);return t.filter(e=>l(e)>=0&&function(e,t){let n=a(e);if(!n)return!0;let r=t.find(e=>{let t=a(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=a(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function h(e,t){let i=d(e),u=i.length;if(0===u)return;let s=(0,r.T)((0,n.f)(e)),o=i.indexOf(s);return i[-1===o?1===t?0:u-1:o+t]}e.s(["f",0,i],21082),e.s(["r",0,function(e){d(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})},"d",0,function(e){let n=[];!function e(n,r,i){c(n).forEach(n=>{(0,t.E)(n)&&n.matches(r)&&i.push(n),e(n,r,i)})}(e,"[data-tabindex]",n),n.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})},"J",0,f,"O",0,function(e){return h((0,n.f)(e).body,1)||e},"B",0,function(e){return h((0,n.f)(e).body,-1)||e},"A",0,function(e,t){let n=t||e.currentTarget,i=e.relatedTarget;return!i||!(0,r.I)(n,i)},"m",0,function(e){return o(e)&&l(e)>=0},"T",0,d],83976);var p=e.i(16856);e.s(["f",0,p],6304),e.s(["f",0,function(e){return`data-base-ui-${e}`}],51321)},80862,e=>{"use strict";e.s(["endingStyle",0,"data-ending-style","startingStyle",0,"data-starting-style"])},38396,e=>{"use strict";e.s(["u",0,"[data-base-ui-swipe-ignore]","j",0,"data-base-ui-click-trigger","N",0,"[data-swipe-ignore]","Z",0,{clipPath:"inset(50%)",position:"fixed",top:0,left:0}])},75606,16856,e=>{"use strict";var t=e.i(56789);e.s(["j",0,function(e,n,r,i){let u=!1,s=!1,o=i??t.w;return{reason:e,event:n??new Event("base-ui"),cancel(){u=!0},allowPropagation(){s=!0},get isCanceled(){return u},get isPropagationAllowed(){return s},trigger:r,...o}},"U",0,function(e,n,r){let i=r??t.w;return{reason:e,event:n??new Event("base-ui"),...i}}],75606),e.s(["closePress",0,"close-press","escapeKey",0,"escape-key","focusOut",0,"focus-out","imperativeAction",0,"imperative-action","none",0,"none","outsidePress",0,"outside-press","triggerFocus",0,"trigger-focus","triggerHover",0,"trigger-hover","triggerPress",0,"trigger-press"],16856)},80025,e=>{"use strict";var t=e.i(16856);e.s(["f",0,t])},74354,e=>{"use strict";var t=e.i(80862);let n={[t.startingStyle]:""},r={[t.endingStyle]:""};e.s(["f",0,{transitionStatus:e=>"starting"===e?n:"ending"===e?r:null}])},88015,e=>{"use strict";var t=e.i(83977);e.s(["f",0,function(e){return(0,t.f)(e,"base-ui")}])},37584,e=>{"use strict";var t=e.i(71645),n=e.i(67865),r=e.i(74080),i=e.i(8445),u=e.i(56789),s=e.i(94603),o=e.i(38474),l=e.i(80862);let a=null;e.s(["f",0,function(e){let{enabled:c=!0,open:f,ref:d,batch:h=!1,onComplete:p}=e,g=(0,n.f)(p),b=function(e,t=!1,c=!1){let f=(0,i.z)();return(0,n.f)((n,i=null)=>{f.cancel();let d=(0,s.f)(e);if(null==d)return;let h=()=>{if(!c)return void r.flushSync(n);if(!a){let e=[];a=e,queueMicrotask(()=>{a=null,r.flushSync(()=>{for(let t of e)t()})})}a.push(()=>{i?.aborted||n()})};if("function"!=typeof d.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void n();function p(){Promise.all((0,o.f)(d).map(e=>e.finished.then(u.x))).then(()=>{i?.aborted||h()},()=>{i?.aborted||((0,o.f)(d).some(e=>e.pending||"finished"!==e.playState)?p():h())})}if(t){let e=l.startingStyle;if(!d.hasAttribute(e))return void f.request(p);let t=new MutationObserver(()=>{d.hasAttribute(e)||(t.disconnect(),p())});return t.observe(d,{attributes:!0,attributeFilter:[e]}),void i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}f.request(p)})}(d,f,h);t.useEffect(()=>{if(!c)return;let e=new AbortController;return b(g,e.signal),()=>{e.abort()}},[c,f,g,b])}],37584)},23910,e=>{"use strict";var t=e.i(71645),n=e.i(46376),r=e.i(8445);e.s(["f",0,function(e,i=!1,u=!1,s=!1){let[o,l]=t.useState(e&&i?"idle":void 0),[a,c]=t.useState(e&&!s);return e&&!a&&(c(!0),l("starting")),e||!a||"ending"===o||u||l("ending"),e||a||"ending"!==o||l(void 0),(0,n.f)(()=>{if(!e&&a&&"ending"!==o&&u){let e=r.$.request(()=>{l("ending")});return()=>{r.$.cancel(e)}}},[e,a,o,u]),(0,n.f)(()=>{if(!e||i||void 0===o)return;let t=r.$.request(()=>{l(void 0)});return()=>{r.$.cancel(t)}},[i,e,o]),(0,n.f)(()=>{if(!e||!i)return;e&&a&&"idle"!==o&&l("starting");let t=r.$.request(()=>{l("idle")});return()=>{r.$.cancel(t)}},[i,e,a,o]),{mounted:a,setMounted:c,transitionStatus:o}}])},52535,e=>{"use strict";e.i(47167);var t=e.i(71645),n=e.i(46376),r=e.i(31773),i=e.i(18663),u=e.i(2077),s=e.i(43476);let o=t.forwardRef(function(e,o){let[l,a]=t.useState();return(0,n.f)(()=>{r.f.screenReader.voiceOver&&i.f.engine.webkit&&a("button")},[]),(0,s.jsx)("span",{...e,ref:o,style:u.p,"aria-hidden":!l||void 0,...{tabIndex:0,role:l},"data-base-ui-focus-guard":""})});e.s(["f",0,o])},94603,38474,e=>{"use strict";e.s(["f",0,function(e){return null==e?e:"current"in e?e.current:e}],94603),e.s(["f",0,function(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}],38474)},74735,65420,e=>{"use strict";e.s(["f",0,function(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}],74735),e.s(["f",0,function(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}],65420)},44394,e=>{"use strict";var t=e.i(58321);e.s(["f",0,function(e){return(0,t.f)(19)?e:e?"true":void 0}])},8868,e=>{"use strict";e.s(["f",0,function(e){return e?.ownerDocument||document}])},79214,e=>{"use strict";let{userAgent:t,platform:n,maxTouchPoints:r}="u"<typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},i=t.toLowerCase(),u=n.toLowerCase(),s=/^i(os$|p)/.test(u)||"macintel"===u&&r>1,o="android",l=u===o||i.includes(o),a=!s&&u.startsWith("mac"),c=u.startsWith("win"),f=!l&&/^(linux|chrome os)/.test(u),d=a||s;e.s(["android",0,l,"apple",0,d,"ios",0,s,"linux",0,f,"mac",0,a,"windows",0,c],3720);var h=e.i(3720);let p="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none"),g=!p&&i.includes("firefox"),b=!p&&i.includes("chrom");e.s(["blink",0,b,"gecko",0,g,"webkit",0,p],79850);var v=e.i(79850);e.s(["voiceOver",0,d],99170);var m=e.i(99170);let y=/jsdom|happydom/.test(i);e.s(["jsdom",0,y],36174);var S=e.i(36174);e.s(["engine",0,v,"env",0,S,"os",0,h,"screenReader",0,m],79214)},18663,e=>{"use strict";var t=e.i(79214);e.s(["f",0,t])},31773,e=>{"use strict";var t=e.i(79214);e.s(["f",0,t])},84446,e=>{"use strict";var t=e.i(29315);e.s(["T",0,function(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t},"h",0,function(e,n){let r=e;for(;r;){if((0,t.m)(r)&&r.matches(n))return r;r=r.assignedSlot??r.parentNode??((0,t.R)(r)?r.host:null)}return null},"I",0,function(e,n){if(!e||!n)return!1;let r=n.getRootNode?.();if(e.contains(n))return!0;if(r&&(0,t.R)(r)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1},"Z",0,function(e){return"composedPath"in e?e.composedPath()[0]??e.target:e.target}])},1252,96499,e=>{"use strict";let t;var n=e.i(71645),r=e.i(2239),i=e.i(30224),u=e.i(58321),s=e.i(88940);let o=[];function l(){return t}function a(e){o.push(e)}function c(e){let n=(n,r)=>{let i,u=(0,s.f)(f).current;try{for(let e of(t=u,o))e.before(u);for(let t of(i=e(n,r),o))t.after(u);u.didInitialize=!0}finally{t=void 0}return i};return n.displayName=e.displayName||e.name,n}function f(){return{didInitialize:!1}}e.s(["U",0,c,"u",0,function(e){return n.forwardRef(c(e))},"_",0,l,"V",0,a],96499);let d=(0,u.f)(19)?function(e,t,i,u,s){let o,a=l();if(!a){let o;return o=n.useCallback(()=>t(e.getSnapshot(),i,u,s),[e,t,i,u,s]),(0,r.useSyncExternalStore)(e.subscribe,o,o)}let c=a.syncIndex;return a.syncIndex+=1,a.didInitialize?(o=a.syncHooks[c]).store===e&&o.selector===t&&Object.is(o.a1,i)&&Object.is(o.a2,u)&&Object.is(o.a3,s)||(o.store!==e&&(a.didChangeStore=!0),o.store=e,o.selector=t,o.a1=i,o.a2=u,o.a3=s,o.value=t(e.getSnapshot(),i,u,s)):(o={store:e,selector:t,a1:i,a2:u,a3:s,value:t(e.getSnapshot(),i,u,s)},a.syncHooks.push(o)),o.value}:function(e,t,n,r,u){return(0,i.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,u))};a({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});class h{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return d(this,e,t,n,r)}}var p=e.i(67865),g=e.i(46376),b=e.i(56789);e.s(["f",0,class extends h{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){n.useDebugValue(e);let r=this;(0,g.f)(()=>{r.state[e]!==t&&r.set(e,t)},[r,e,t])}useSyncedValueWithCleanup(e,t){let n=this;(0,g.f)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,g.f)(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){n.useDebugValue(e);let r=this,i=void 0!==t;(0,g.f)(()=>{i&&!Object.is(r.state[e],t)&&r.setState({...r.state,[e]:t})},[r,e,t,i])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,r,i){return n.useDebugValue(e),d(this,this.selectors[e],t,r,i)}useContextCallback(e,t){n.useDebugValue(e);let r=(0,p.f)(t??b.x);this.context[e]=r}useStateSetter(e){let t=n.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}],1252)},8445,e=>{"use strict";e.i(47167);var t=e.i(88940),n=e.i(26300);let r=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||null!==this.callbacks[t]&&(this.callbacks[t]=null,this.callbacksCount-=1)}};class i{static create(){return new i}static request(e){return r.request(e)}static cancel(e){return r.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=r.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(r.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}e.s(["$",0,i,"z",0,function(){let e=(0,t.f)(i.create).current;return(0,n.f)(e.disposeEffect),e}])},83977,46802,e=>{"use strict";var t=e.i(71645),n=e.i(14553);function r(){let[,e]=t.useState({});return t.useCallback(()=>{e({})},[])}e.s(["f",0,r],46802);let i=0,u=n.f.useId;e.s(["f",0,function(e,n){if(void 0!==u){let t=u();return e??(n?`${n}-${t}`:t)}return function(e,n="mui"){let u=t.useRef(void 0),s=r(),o=e??u.current;return t.useEffect(()=>{null==u.current&&(i+=1,u.current=`${n}-${i}`,null==e&&s())},[e,n,s]),o}(e,n)}],83977)},26300,e=>{"use strict";var t=e.i(71645),n=e.i(56789);e.s(["f",0,function(e){t.useEffect(e,n.v)}])},39957,e=>{"use strict";var t=e.i(88940),n=e.i(26300);class r{static create(){return new r}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}e.s(["U",0,r,"e",0,function(){let e=(0,t.f)(r.create).current;return(0,n.f)(e.disposeEffect),e}])},2077,e=>{"use strict";let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},n={...t,position:"fixed",margin:0,top:0,left:0},r={...t,position:"absolute"};e.s(["p",0,n,"L",0,r])},77105,49092,89790,33165,e=>{"use strict";var t=e.i(22016),n=e.i(71645),r=e.i(61745),i=e.i(47167);function u(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function s(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function o(e,t,n){return"string"==typeof e?e:e[t]||n}function l(e){let t=function(){try{return"true"===i.default.env._next_intl_trailing_slash}catch{return!1}}(),[n,...r]=e.split("#"),u=r.join("#"),s=n;if("/"!==s){let e=s.endsWith("/");t&&!e?s+="/":!t&&e&&(s=s.slice(0,-1))}return u&&(s+="#"+u),s}function a(e,t){let n,r=l(e),i=l(t);return(n=r.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${n}$`)).test(i)}function c(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function d(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function p(e){return e.includes("[")}function g(e,t){let n=e.split("/"),r=t.split("/"),i=Math.max(n.length,r.length);for(let e=0;e<i;e++){let t=n[e],i=r[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!p(t)&&p(i))return -1;if(p(t)&&!p(i))return 1;if(!h(t)&&h(i))return -1;if(h(t)&&!h(i))return 1;if(!d(t)&&d(i))return -1;if(d(t)&&!d(i))return 1}}return 0}function b(e){return e.sort(g)}function v(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function m(){try{return i.default.env._next_intl_base_path||""}catch{return""}}function y(e,t,n){if(!e||n===t||null==n)return;let{name:r,...i}=e;i.path||(i.path=m()||"/");let u=`${r}=${n};`;for(let[e,t]of Object.entries(i))u+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(u+="="+t),u+=";";document.cookie=u}e.s(["n",0,f,"u",0,c,"o",0,o,"I",0,b,"C",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"i",0,u,"p",0,function(e){return"function"==typeof e.then},"H",0,a,"q",0,l,"c",0,s,"z",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],49092),e.s(["L",0,function(e,t,n,r){let i,{mode:o}=n.localePrefix;if(void 0!==r)i=r;else if(u(e)){let e=n.domains?.find(e=>e.locales.includes(t)),r=e?.localePrefix||o;"always"===r?i=!0:"as-needed"===r&&(i=e?t!==e.defaultLocale:t!==n.defaultLocale)}return i?s(c(t,n.localePrefix),e):e},"N",0,function({pathname:e,locale:t,params:n,pathnames:r,query:i}){function u(e){let u,s=r[e];return s?(u=o(s,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),u=u.replace(RegExp(n,"g"),()=>r)}),u=new URL(u=u.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):u=e,u=l(u),i&&(u+=v(i)),u}if("string"==typeof e)return u(e);{let{pathname:t,...n}=e;return{...n,pathname:u(t)}}},"o",0,m,"O",0,function(e,t,n){let r=b(Object.keys(n)),i=decodeURI(t);for(let t of r){let r=n[t];if("string"==typeof r){if(a(r,i))return t}else if(a(o(r,e,t),i))return t}return t},"q",0,function(e){return"string"==typeof e?{pathname:e}:e},"P",0,v],89790),e.s(["f",0,y],33165);var S=e.i(43476);let x=t.default;function E({curLocale:e,linkRef:t,locale:n,localeCookie:r,onClick:i,prefetch:u,...s}){return(0,S.jsx)(x,{ref:t,hrefLang:n,onClick:function(t){y(r,e,n),i&&i(t)},prefetch:!1,...s})}var k=(0,n.forwardRef)(function({locale:e,localeCookie:t,...n},i){let u=(0,r.X)();return null!=e&&e!==u?(0,S.jsx)(E,{curLocale:u,linkRef:i,locale:e,localeCookie:t,...n}):(0,S.jsx)(x,{ref:i,...n})});e.s(["default",0,k],77105)},22016,(e,t,n)=>{"use strict";e.i(47167),Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return v},useLinkStatus:function(){return y}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let u=e.r(90809),s=e.r(43476),o=u._(e.r(71645)),l=e.r(95057),a=e.r(8372),c=e.r(18581),f=e.r(18967),d=e.r(5550),h=e.r(88540),p=e.r(91949),g=e.r(73668),b=e.r(9396);function v(t){var n;let r,i,u,[v,y]=(0,o.useOptimistic)(p.IDLE_LINK_STATUS),S=(0,o.useRef)(null),{href:x,as:E,children:k,prefetch:w=null,passHref:j,replace:C,shallow:A,scroll:P,onClick:I,onMouseEnter:O,onTouchStart:R,legacyBehavior:T=!1,onNavigate:$,transitionTypes:_,ref:L,unstable_dynamicOnHover:N,...M}=t;r=k,T&&("string"==typeof r||"number"==typeof r)&&(r=(0,s.jsx)("a",{children:r}));let U=o.default.useContext(a.AppRouterContext),V=!1!==w,q=!1===w?"none":!0===w?"full":"auto",F="none"!==q&&"full"===q?b.FetchStrategy.Full:b.FetchStrategy.PPR,D="string"==typeof(n=E||x)?n:(0,l.formatUrl)(n);if(T){if(r?.$$typeof===Symbol.for("react.lazy"))throw Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag.");i=o.default.Children.only(r)}let B=T?i&&"object"==typeof i&&i.ref:L,z,W=o.default.useCallback(e=>(null!==U&&(S.current=(0,p.mountLinkInstance)(e,D,U,F,V,y,z)),()=>{S.current&&((0,p.unmountLinkForCurrentNavigation)(S.current),S.current=null),(0,p.unmountPrefetchableInstance)(e)}),[V,D,U,F,y,z]),K={ref:(0,c.useMergedRef)(W,B),onClick(t){T||"function"!=typeof I||I(t),T&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!U||t.defaultPrevented||function(t,n,r,i,u,s,o,l="none"){if("u">typeof window){let a,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((a=t.currentTarget.getAttribute("target"))&&"_self"!==a||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(n)){i&&(t.preventDefault(),location.replace(n));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{navigate:f}=e.r(32916);f(n,i?"replace":"push",!1===u?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,r.current,o,l)}}(t,D,S,C,P,$,_,q)},onMouseEnter(e){T||"function"!=typeof O||O(e),T&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),U&&V&&(0,p.onNavigationIntent)(e.currentTarget,!0===N)},onTouchStart:function(e){T||"function"!=typeof R||R(e),T&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),U&&V&&(0,p.onNavigationIntent)(e.currentTarget,!0===N)}};return(0,f.isAbsoluteUrl)(D)?K.href=D:T&&!j&&("a"!==i.type||"href"in i.props)||(K.href=(0,d.addBasePath)(D)),u=T?o.default.cloneElement(i,K):(0,s.jsx)("a",{...M,...K,children:r}),(0,s.jsx)(m.Provider,{value:v,children:u})}let m=(0,o.createContext)(p.IDLE_LINK_STATUS),y=()=>(0,o.useContext)(m);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},18581,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=e.r(71645);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=u(e,r)),t&&(i.current=u(t,r))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},95057,(e,t,n)=>{"use strict";e.i(47167),Object.defineProperty(n,"__esModule",{value:!0});var r={formatUrl:function(){return o},formatWithValidation:function(){return a},urlObjectKeys:function(){return l}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let u=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:n}=e,r=e.protocol||"",i=e.pathname||"",o=e.hash||"",l=e.query||"",a=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?a=t+e.host:n&&(a=t+(~n.indexOf(":")?`[${n}]`:n),e.port&&(a+=":"+e.port)),l&&"object"==typeof l&&(l=String(u.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||s.test(r))&&!1!==a?(a="//"+(a||""),i&&"/"!==i[0]&&(i="/"+i)):a||(a=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${r}${a}${i}${c}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return o(e)}},73668,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return u}});let r=e.r(18967),i=e.r(52817);function u(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,i.hasBasePath)(n.pathname)}catch(e){return!1}}},18967,(e,t,n)=>{"use strict";e.i(47167),Object.defineProperty(n,"__esModule",{value:!0});var r={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return S},NormalizeError:function(){return m},PageNotFoundError:function(){return y},SP:function(){return g},ST:function(){return b},WEB_VITALS:function(){return u},execOnce:function(){return s},getDisplayName:function(){return f},getLocationOrigin:function(){return a},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return E}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let u=["CLS","FCP","INP","LCP","TTFB"];function s(e){let t,n=!1;return(...r)=>(n||(n=!0,t=e(...r)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&o.test(e)};function a(){let{protocol:e,hostname:t,port:n}=window.location;return`${e}//${t}${n?":"+n:""}`}function c(){let{href:e}=window.location,t=a();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&d(n))return r;if(!r)throw Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`);return r}let g="u">typeof performance,b=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class m extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class S extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},55838,(e,t,n)=>{"use strict";var r=e.r(71645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,s=r.useEffect,o=r.useLayoutEffect,l=r.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=u({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return o(function(){i.value=n,i.getSnapshot=t,a(i)&&c({inst:i})},[e,n,t]),s(function(){return a(i)&&c({inst:i}),e(function(){a(i)&&c({inst:i})})},[e]),l(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},52822,(e,t,n)=>{"use strict";var r=e.r(71645),i=e.r(2239),u="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,o=r.useRef,l=r.useEffect,a=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=o(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var h=s(e,(f=a(function(){function e(e){if(!l){if(l=!0,s=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return o=t}return o=e}if(t=o,u(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(s=e,t):(s=e,o=n)}var s,o,l=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,i]))[0],f[1]);return l(function(){d.hasValue=!0,d.value=h},[h]),c(h),h}},2239,(e,t,n)=>{"use strict";e.i(47167),t.exports=e.r(55838)},30224,(e,t,n)=>{"use strict";e.i(47167),t.exports=e.r(52822)}]);
|
package/ui/package.json
CHANGED
|
@@ -67,14 +67,12 @@
|
|
|
67
67
|
"@omer-x/next-form-actions": "^1.0.0-alpha.4",
|
|
68
68
|
"@omer-x/next-utils": "^1.2.0",
|
|
69
69
|
"@omer-x/tailwind-ui-kit": "^1.0.0-alpha.18",
|
|
70
|
-
"change-case": "^5.4.4",
|
|
71
70
|
"clsx": "^2.1.1",
|
|
72
71
|
"commander": "^14.0.2",
|
|
73
72
|
"dockerode": "^4.0.9",
|
|
74
73
|
"drizzle-orm": "1.0.0-rc.5",
|
|
75
74
|
"drizzle-zod-shared-refinements": "^3.0.0-alpha.1",
|
|
76
75
|
"iron-session": "^8.0.4",
|
|
77
|
-
"megajs": "^1.3.9",
|
|
78
76
|
"next": "^16.4.5",
|
|
79
77
|
"next-intl": "^4.14.9",
|
|
80
78
|
"react": "^19.3.1",
|
package/ui/server.js
CHANGED
|
@@ -15,7 +15,7 @@ const currentPort = parseInt(process.env.PORT, 10) || 3000
|
|
|
15
15
|
const hostname = process.env.HOSTNAME || '0.0.0.0'
|
|
16
16
|
|
|
17
17
|
let keepAliveTimeout = parseInt(process.env.KEEP_ALIVE_TIMEOUT, 10)
|
|
18
|
-
const nextConfig = {"env":{},"webpack":null,"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.ts","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"instrumentationClientInject":[],"poweredByHeader":false,"compress":true,"images":{"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":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[{"protocol":"https","hostname":"avatars.githubusercontent.com","pathname":"/u/**"}],"qualities":[75],"unoptimized":true,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/home/runner/work/buttler/buttler","allowedDevOrigins":["*.ngrok-free.app"],"enablePrerenderSourceMaps":true,"cacheComponents":true,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"deprecated":{},"experimental":{"agentUpgrade":"security","agentFeedback":false,"coldCacheBadge":false,"collapseAdapterRoutes":true,"devValidationWorker":true,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"parallelRouteMetadata":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":true,"dynamicOnHover":false,"reactBrowserBailout":true,"useOffline":false,"varyParams":true,"optimisticRouting":true,"concurrentRouterQueue":false,"instrumentationClientRouterTransitionEvents":false,"prefetchInlining":{"maxSize":2048,"maxBundleSize":10240},"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":3,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptOperationCache":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptMozjpeg":true,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"devMemoryThresholdRestart":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"requestInsights":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":true,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"useTypeScriptCli":true,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":true,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"serverComponentsHmrCancellation":false,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":true,"useCacheStaticRootParamTracking":false,"globalNotFound":false,"explicitParallelRouteChildren":true,"strictRouteMatching":true,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"disableResumeDataCacheCompression":false,"proxyClientMaxBodySize":10485760,"hideLogsAfterAbort":false,"mcpServer":true,"exposeRuntimeErrorsToHMR":false,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":true,"turbopackStaleOutputMaxAge":604800000,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","turbopackSharedRuntime":true,"turbopackMemoryEvictionMode":"auto","optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"cacheComponents":true,"useCacheTimeout":54,"instantInsights":{"validationLevel":"warning"},"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.ts","partialPrefetching":true,"serverExternalPackages":["dockerode","@grpc/grpc-js"],"turbopack":{"resolveAlias":{"next-intl/config":"./src/i18n/request.ts"},"root":"/home/runner/work/buttler/buttler"},"repoRoot":"/home/runner/work/buttler/buttler","distDirRoot":".next"}
|
|
18
|
+
const nextConfig = {"env":{},"webpack":null,"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.ts","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"instrumentationClientInject":[],"poweredByHeader":false,"compress":true,"images":{"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":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[{"protocol":"https","hostname":"avatars.githubusercontent.com","pathname":"/u/**"}],"qualities":[75],"unoptimized":true,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/home/runner/work/buttler/buttler","allowedDevOrigins":["buttler.*.*","*.ngrok-free.app"],"enablePrerenderSourceMaps":true,"cacheComponents":true,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"deprecated":{},"experimental":{"agentUpgrade":"security","agentFeedback":false,"coldCacheBadge":false,"collapseAdapterRoutes":true,"devValidationWorker":true,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"parallelRouteMetadata":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":true,"dynamicOnHover":false,"reactBrowserBailout":true,"useOffline":false,"varyParams":true,"optimisticRouting":true,"concurrentRouterQueue":false,"instrumentationClientRouterTransitionEvents":false,"prefetchInlining":{"maxSize":2048,"maxBundleSize":10240},"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":3,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptOperationCache":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptMozjpeg":true,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"devMemoryThresholdRestart":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"requestInsights":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":true,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"useTypeScriptCli":true,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":true,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"serverComponentsHmrCancellation":false,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":true,"useCacheStaticRootParamTracking":false,"globalNotFound":false,"explicitParallelRouteChildren":true,"strictRouteMatching":true,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"disableResumeDataCacheCompression":false,"proxyClientMaxBodySize":10485760,"hideLogsAfterAbort":false,"mcpServer":true,"exposeRuntimeErrorsToHMR":false,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":true,"turbopackStaleOutputMaxAge":604800000,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","turbopackSharedRuntime":true,"turbopackMemoryEvictionMode":"auto","optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"cacheComponents":true,"useCacheTimeout":54,"instantInsights":{"validationLevel":"warning"},"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.ts","partialPrefetching":true,"serverExternalPackages":["dockerode","@grpc/grpc-js"],"turbopack":{"resolveAlias":{"next-intl/config":"./src/i18n/request.ts"},"root":"/home/runner/work/buttler/buttler"},"repoRoot":"/home/runner/work/buttler/buttler","distDirRoot":".next"}
|
|
19
19
|
|
|
20
20
|
process.env.__NEXT_PRIVATE_STANDALONE_CONFIG = JSON.stringify(nextConfig)
|
|
21
21
|
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"devFiles": [],
|
|
3
|
-
"ampDevFiles": [],
|
|
4
|
-
"polyfillFiles": [],
|
|
5
|
-
"lowPriorityFiles": [],
|
|
6
|
-
"rootMainFiles": [],
|
|
7
|
-
"pages": {},
|
|
8
|
-
"ampFirstPages": [],
|
|
9
|
-
"rootMainFilesTree": {},
|
|
10
|
-
"pagesChunkGroupBootstrapParams": {},
|
|
11
|
-
"chunkLoadingGlobal": "TURBOPACK"
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/db/backup/route.js")
|
|
2
|
-
R.c("server/chunks/src_core_1j6vv6o_pbisw._.js")
|
|
3
|
-
R.c("server/chunks/[root-of-the-server]__0gh0uoxmttq-k._.js")
|
|
4
|
-
R.c("server/chunks/node_modules_next_dist_1xbj516r0frq7._.js")
|
|
5
|
-
R.c("server/chunks/node_modules_next_dist_0asya_d53xspt._.js")
|
|
6
|
-
R.c("server/chunks/_0146k0if4moum._.js")
|
|
7
|
-
R.c("server/chunks/node_modules_next_1lo724y0ayaf6._.js")
|
|
8
|
-
R.c("server/chunks/node_modules_next_dist_1n9spowd2r_5c._.js")
|
|
9
|
-
R.c("server/chunks/_1ux2nt1zdyn0-._.js")
|
|
10
|
-
R.c("server/chunks/[root-of-the-server]__12uj0887q1ayr._.js")
|
|
11
|
-
R.c("server/chunks/_1bq3sfcvzysrs._.js")
|
|
12
|
-
R.c("server/chunks/node_modules_next_dist_1l2dhw9vnb27k._.js")
|
|
13
|
-
R.c("server/chunks/_next-internal_server_app_api_db_backup_route_actions_0g6ljpmyzdttd.js")
|
|
14
|
-
R.m(55692)
|
|
15
|
-
module.exports=R.m(55692).exports
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"files":["../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/fast-jwt/index.js","../../../../../../node_modules/next/dist/compiled/fast-jwt/package.json","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../node_modules/next/package.json","../../../../../../src/core/access.test.ts","../../../../../../src/core/access.ts","../../../../../../src/core/auth-coverage.test.ts","../../../../../../src/core/auth.test.ts","../../../../../../src/core/auth.ts","../../../../../../src/core/backup.ts","../../../../../../src/core/build.test.ts","../../../../../../src/core/build.ts","../../../../../../src/core/cloudflare/client.test.ts","../../../../../../src/core/cloudflare/client.ts","../../../../../../src/core/cloudflare/connection.test.ts","../../../../../../src/core/cloudflare/connection.ts","../../../../../../src/core/cloudflare/domains.test.ts","../../../../../../src/core/cloudflare/domains.ts","../../../../../../src/core/cloudflare/errors.ts","../../../../../../src/core/cloudflare/oauth.test.ts","../../../../../../src/core/cloudflare/oauth.ts","../../../../../../src/core/cloudflare/records.ts","../../../../../../src/core/cloudflare/tunnel.test.ts","../../../../../../src/core/cloudflare/tunnel.ts","../../../../../../src/core/cloudflare/zones.ts","../../../../../../src/core/config.ts","../../../../../../src/core/console.ts","../../../../../../src/core/docker.test.ts","../../../../../../src/core/docker.ts","../../../../../../src/core/docker/build-history.test.ts","../../../../../../src/core/docker/build-history.ts","../../../../../../src/core/docker/build-session.test.ts","../../../../../../src/core/docker/build-session.ts","../../../../../../src/core/docker/buildkit.test.ts","../../../../../../src/core/docker/buildkit.ts","../../../../../../src/core/docker/builds.test.ts","../../../../../../src/core/docker/builds.ts","../../../../../../src/core/docker/containers.ts","../../../../../../src/core/docker/errors.ts","../../../../../../src/core/docker/ingress.test.ts","../../../../../../src/core/docker/ingress.ts","../../../../../../src/core/docker/labels.ts","../../../../../../src/core/docker/logs.test.ts","../../../../../../src/core/docker/logs.ts","../../../../../../src/core/docker/removal.test.ts","../../../../../../src/core/docker/removal.ts","../../../../../../src/core/docker/status.test.ts","../../../../../../src/core/docker/status.ts","../../../../../../src/core/docker/subnets.test.ts","../../../../../../src/core/docker/subnets.ts","../../../../../../src/core/docker/tunnel.test.ts","../../../../../../src/core/docker/tunnel.ts","../../../../../../src/core/dockerhub.test.ts","../../../../../../src/core/dockerhub.ts","../../../../../../src/core/domains.test.ts","../../../../../../src/core/domains.ts","../../../../../../src/core/env.ts","../../../../../../src/core/environment-variables.test.ts","../../../../../../src/core/environment-variables.ts","../../../../../../src/core/git.test.ts","../../../../../../src/core/git.ts","../../../../../../src/core/github/app.test.ts","../../../../../../src/core/github/app.ts","../../../../../../src/core/github/client.test.ts","../../../../../../src/core/github/client.ts","../../../../../../src/core/github/errors.ts","../../../../../../src/core/github/repos.test.ts","../../../../../../src/core/github/repos.ts","../../../../../../src/core/github/users.test.ts","../../../../../../src/core/github/users.ts","../../../../../../src/core/github/webhooks.test.ts","../../../../../../src/core/github/webhooks.ts","../../../../../../src/core/headers.ts","../../../../../../src/core/home.ts","../../../../../../src/core/log-file.ts","../../../../../../src/core/mega.ts","../../../../../../src/core/nginx-conf.test.ts","../../../../../../src/core/nginx-conf.ts","../../../../../../src/core/nginx.test.ts","../../../../../../src/core/nginx.ts","../../../../../../src/core/provider.ts","../../../../../../src/core/queue.test.ts","../../../../../../src/core/queue.ts","../../../../../../src/core/reachability.test.ts","../../../../../../src/core/reachability.ts","../../../../../../src/core/redact.test.ts","../../../../../../src/core/redact.ts","../../../../../../src/core/secrets.test.ts","../../../../../../src/core/secrets.ts","../../../../../../src/core/service.ts","../../../../../../src/core/session.test.ts","../../../../../../src/core/session.ts","../../../../../../src/core/settings.ts","../../../../../../src/core/setup-code.test.ts","../../../../../../src/core/setup-code.ts","../../../../../../src/core/setup-progress.test.ts","../../../../../../src/core/setup-progress.ts","../../../../../../src/core/setup.test.ts","../../../../../../src/core/setup.ts","../../../../../../src/core/shared-state.test.ts","../../../../../../src/core/shared-state.ts","../../../../../../src/core/storage.ts","../../../../chunks/[root-of-the-server]__0gh0uoxmttq-k._.js","../../../../chunks/[root-of-the-server]__12uj0887q1ayr._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/_0146k0if4moum._.js","../../../../chunks/_1bq3sfcvzysrs._.js","../../../../chunks/_1ux2nt1zdyn0-._.js","../../../../chunks/_next-internal_server_app_api_db_backup_route_actions_0g6ljpmyzdttd.js","../../../../chunks/node_modules_next_1lo724y0ayaf6._.js","../../../../chunks/node_modules_next_dist_0asya_d53xspt._.js","../../../../chunks/node_modules_next_dist_1l2dhw9vnb27k._.js","../../../../chunks/node_modules_next_dist_1n9spowd2r_5c._.js","../../../../chunks/node_modules_next_dist_1xbj516r0frq7._.js","../../../../chunks/src_core_1j6vv6o_pbisw._.js","route_client-reference-manifest.js"],"fileHashes":["ef6ac6914a3f24c9f4a98105a3bdd310","bcdfbca94848d30153fa83f8421423d7","50bb01754878225cf6730e02b44f84d6","a5446fb306fcfec27c39f81de38ec842","9c53694dd40423680deefb5a1e3c25af","57ca86e5858543e1466b92725355539a","11eb668649d2434d25d26977b8e01e49","02186196a2cc227a67f668f00873f72a","fa8a4dd27dcbde144881044b2fa74f64","6210ebbe9cb1a89bfcc3c73d92e71999","e8d4f070629efd66feed2f1f2e8e98a8","92efc99184eb4dffe99e07a90f5ad81b","18929c800606d32dc25e59d7f3455fa5","0e0937bb79c6599956237e49b7e5aaa0","fbf634f0e0caeb44d3ae62e7af3a1d70","61445cc4a73d56b154f397d2e4213b60","4e6491a35b1970e74a940d26e575216a","0bcd39f6f5be09dab16374e3bf84459e","5cbb2fcc1a3ee4e3de7554c6f9a79124","d1e9d6e75ad3a9d63cc0825ec4ebe282","b81183ad70cf2df4130a6f7853eff593","edcceea1e2a5c13a14d12f4d422f733a","92d7eec9f49250bf6325e1b4186fb521","15ad04875f6d43fc8bd602b20d828566","e9f490e52cc3e3587a2db77df3631106","d1b58a4c4f4b51381ddeb76ca1920d1e","0aa24beea9e1b8ae34954feb1be5caa6","0769df0b5a413429bc413b583f83da42","6505c89743b18298e0e22489f1d956ed","b91bcb43a2d42f6109ce4c047015aae6","d90d4f1de46d810d671d85f21ec5d352","6dc2c23310db8986c57a1c8815202b10","9e4f0ed67bf3efdb786e3a00dac56ae9","83975e6e8243a2191de294873810c394","33916079c6a49d35edf38970b6afa990","6aaa704a63c62578c5603d9dc7ffcb46","d590ce5b3fcb1312f204f01e8f976c15","4cb8ba9d48d721863ec357e00b7c18eb","7a4c4e16ecb22ffb0ba224fa37e94a70","31d26bb12cde118378334dd2a496085e","9a4bf6feaeaec9bbed4247a73a9afc75","5fad95c4a506729d2de7ac7b407b7e84","c2c5d8f4733a95e3e3e3dd448def1b6c","8206e8e95a4c77b71da57881f95a8a79","1acc3875adfbadf8dd6721e71e776ecd","e7f96b38034fe9c723588b54a6b339f0","693ae690349eff6a50bdda9979058199","bef9750470e394d3052dfe5a7847e9a0","75b89ad5bd589669836dd2c0b858126f","bdf448c5fe7a1fe43097b941cb41f422","4aef133981746c67d534b11bee793d8f","341ade317df8ec02b7d7b686949f05a3","59f473418a3a0c96c8ec855aa72bd02a","084cfebb994e7dc78970a525305daac3","215309237f9a05ec8f52edadcd0565bf","06301f971477597e382ec18e13f95e42","7c0d43767d4ef8047a79137f36b436eb","0732b714b4806bc254dd3c8830387715","ce930365528e6b0f94d346e8a3a6c976","96c62d6c5a3c26971ffa822e6b16ac6a","ee72cbf98ac31f6fc6a05c96f3807b36","3b3479748dc7ed144da24a1fe249d75e","4b5216f48144eab06a89f40a112df0f9","257d9898e707a2414595a40fd04b3f15","a52c1bfa60cdd122eb82001cf748b39b","4daf2c54f6e769ac3f1c55e2d2356e62","67530655ee6d2037c694d851f60a4d3a","72e15054e5bb83aa2714e9aa0f2a8aaa","6b2f7948ac6974ad774c08d6c090134e","71b1491964e20b67b481fddf14b86ee3","64c0567172a45f553110cf14514d76dc","f5232a6a89b9b1646513f6f36cfd6edc","b5d07886dac78261660f2fedf5296a6b","3a55a78645b57706246de6914d4ce134","438a096196cbf3f40712fc244347eced","59be47cbf4cb15affb56354159123835","0258cfa61471ed365f22acb22afd12db","28dfa4cf2be84ac882b092ae5afabf32","dbfa85b37328d28f5383d4a3929cece1","4c9c4bf389c624b596102b496c6b8c73","f1ca1feadffdf9c514fc64b055f363fd","38636bd694da4120897a2a695111039c","03f54ee64db45e6ac7025c881590f862","df6b0e8744489135e6c0c0520e07cca8","48538028ed97d91e767563f56035e684","217152373b3f900ae15ce0920bb06da9","ef229e92de99756605459456a30408f5","934a20040ea49112ea9a56f1e199eaea","37ac4cbd6b18d52a47105218c3573c36","5ab4d38c634c37598fc59a79eeef302f","a5ceecfe744045263b3b4c06e4d48cce","3a4566f4bd473c7fdfbb61f33b3fc0bb","44eca32d0e78189af01db90f90423c3f","5654b3d7d7805129b98db879f3bbd2af","1767eab6f0d5b5ce0688659a51b9327a","1f0dc12ac30b54f9bce844f5ae8b0906","179bee33252a0f823cd2d39af03e9ae6","22f2a2ad0edce5f59635f5ff2103737c","ef943c03a9ee7fc0a8c47e40de5dd470","2f6834428e05961979ccf0b57d3c9a72","9b3aaef6c81b23232f376cc714badadb","deef54fb4c402325da2038fd78856071","dd6ec877672513edabec5dabfd179515","40321fcfbc10c2eb928b1a918c3807ee","7dbbbe71be2e70d58c7a8303794f52e5","c11721a2da4e25145ff04378494a5b74","12bbbb4886fc9bd7f196175cb28a6121","e6cd0727f603fabc6988609790b9e170","22d62d3fbc611be1a9d031149a58a6ac","b24b88e2320c674c1393bcb10dca90c1","c85932d5726ca593bd0b2e786f54c0e9","dee79336d3faca353726f765f893f197","6c78008e5be4b6c74c10f6733ccef649","a28ea3e40baf783c19a27141eb4384e7","c483a576fc576fa8ef28b2a787e56fdf","46e48065f72f8e2ca9e05d658a59cab5","0fd5f2ebe45f78b012b30caa0179ba41","a823da0bc77fc7e307ef2c5a72341bd6","2e41672c47dc95b921f5bbe2a5dc1fcd","875413cb8e72c5be7d019020c9612bf5","09765ad73efd2863999c786cfb67d610","58f82def21efb8ba39af8743a45713b8","30e972106428fb29b5fe612f85cefe52","b536221659c890a2ec96d91761c2eb99","1579a0aa39b84279b6dcc0d023a8f77e","2cd57e4e79b589c39b3af9bf3edffe9c","ed73bee4934f30614876e2250f1476f9","82f079d44ad274dc11b812082fb4aef8","4b1702541fbcb54ba8a2ac840e72ed25","1414b10aa73d232187b7286e2862a4f9","3bfdfab84a2358384650cfb1ac598a65","29a36454547e6f1448f401062648ebcb","053034d0586ef5ba4b889cdf2d69a859","90063e11576340bcf9b2595c13128a7c","4b6ed0ab2142b131d540b68114d0ad32","88e76b1af1af012870263501907beed0","de863d7fbcae3dd394bcd989d8c6ea99","9dea03bf6a0bbdb2ddc5741af8b45ebd","9bd8a3fd4115722b6a5ef541b177ac35","92eb9c9ab411dccc73b6ba49926bad81","adbdbfad44d861e3c3556b97c390438d","85cdd001fce5d93bedaa9547b80e1b5b","4735879c1c1c18134df3a9be3e036a96","c3cc19f8cb0f09bbcafe2533d0f9fcd8","4062b4406ed3a4cd5c896f95625b5482","96779c906f2f070d1930837f08e7e586","26f3a3009ed398f59ffa92df030c6f72","2a70775d79579c5bdac2f5c97ac16faa","87bd9230f0550351467fdc87d55f8c51","600d9667ea4c33c26b6fa1a673828e57","297582f7bf04231242b28eef3dc8f7bf","e7dd5c38a5818588d34557d3179a1580","44fc3b131865e5c2fbdbc9d47ea21bdd","b5c7dc18b7605042308023f7d64497bc","ca19185eab74aea41825552dc5cce0fc","1aa55f9483bc995c4937d103b6d35ebd","76c9ce281f20cc82394835bc23b4941a","9034cadcfe9f962d9e8c646531dd4f60","e5e62043caace41a5094533428523596","c7c0c43925d72b9be17a63022680c142","74767fc597c703e8cf1a07938847c39e","d64515b0daf3ad6221f09037a968e374","9d3a96fb873313f278e65b147f6e1764","b75c6c7b5cced2391ebee8b7d635d71c","60751ba8962601dcd0ec00d6c3605ce9","818b22fa64c27bc763700b4d0afaacd8","2dc2aa5533f9f3f2c98751659cbbc7bf","11530232d5cd7580762e146ae7b1e898","c9ffd627cae4733afef7a9235cb7d958","9c7c9d5e74d1672545e07f6f83c69311","959810365e30c73d9d033060ad838525","57865ec793f54c920ecee59ea2ac7458","61fd37632383d94e3a7d96dcb03ea6bd","77d942d9b4606effb6c5be20450fe3f4","ed9743436f5b5fbeef6372fbe174f7f2","09da1b3a29e809343f97654c289cc04a","6ba7303c5e497047df3039b65caf02d5","0893d4db35175a041267fc724eec5987","2c29700c032f31dd521d77c74bd014fc","6aa7c1d24914317723444f7d7a6d1a0f","f5486e845510f2e4c2422d8eb81f8018","ef67e72ed0256cab83125cc524929517","af2bc658028b3cf50c483ad2de3e81ac","64a8343c967e360429ee50bd33617581","493a7e9eb48c8f77ac7f5979f4e65598","17ef9bca8b312aab4417140135714564","4834ed482e0f6b632935c5afeeda194e","9f048954ee2e75941aa07f6aeea407fe","616525a0a8677e57459f3a14c0191d2e","83d5573901d931a631c6713093965e3a","f99dd70c03642533a8c781d70299ff39","8d5993ebff006564725e9182d75bdbcb","926ebaad24f374dc1a2932126accd37a","c83c10400edfbb71f5bc1ca1f5fca5a7","c834bf4c7f3cefdff0bd7c16a84e13e8","671db5c5dfd29fd838a318db9034b56d","602634fc0a5d61b886267f3aca4d2c2c","de29722e74da9d18be6f80c27cff39c0","f62540907e58633228c7bd7aa9e184e7","664403508c4aed4adde30b6157a1147f","23779f404193fdb9b5bf6fa2760b7702","50c778337b68358eb03de57e107a5053","6fb62cf763186e68d87f279de1708db7","0acf3b895094e46d4687b29a9e83da20","541bb65bc4e6b3967930b7dbb931b006","dc037130524467d4a272caf952b60868","ad673e8080139ce6b35347a71911ccf2","03fe930a185fc6e64086defd9ba994b6","ed93ffa56ebe09aa2be99954b119121f","f8160fb5d9864ba6ca88fbb183293e6d","d67b217d235d08db7b96cd825d13c97f","7899f80e5af09e252409d66895b0fe51","332fe162a4f39c6a1bc68cbd0dd899b0","e6e35b511d6563fd4b1abf4cdbdd94f2","21b78291c8e86cf03deb1342358f1a43","09c09852a085a3e15df794ab7da868ea"],"symlinks":[],"version":1,"entryHash":"78566cd1b514028da19b4fb503fb3c26"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/api/db/backup/route"] = {"moduleLoading":{"prefix":""},"clientModules":{},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"rscModuleMapping":{},"edgeRscModuleMapping":{},"entryCSSFiles":{},"entryJSFiles":{}};
|
|
3
|
-
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[55692,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),s=e.i(74677),o=e.i(69741),l=e.i(16795),u=e.i(87718),c=e.i(95169),d=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),v=e.i(10372),w=e.i(93695),m=e.i(9580);e.i(52474);var R=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:r.f.APP_ROUTE,page:"/api/db/backup/route",pathname:"/api/db/backup",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/db/backup/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(65347),...{}}),{workAsyncStorage:b,workUnitAsyncStorage:g,serverHooks:y}=x;async function E(e,t,r){r.requestMeta&&(0,n.R)(e,r.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/db/backup/route";a=a.replace(/\/index$/,"")||"/";let{instrumentation:s}=await x.ensureInstrumentation(e,{deferSpans:!0});return x.traceRequest(e,{tracer:(0,i.v)(),spanName:`${e.method||"GET"} ${a}`,httpTarget:e.url,instrumentation:s},(n,i)=>C(e,t,r,a,!1,n,i))}async function C(e,t,a,b,g,y,E){let C=await x.prepare(e,t,{srcPage:b,multiZoneDraftMode:g});if(!C)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:T,deploymentId:P,params:A,nextConfig:k,parsedUrl:O,isDraftMode:S,prerenderManifest:U,routerServerContext:q,isOnDemandRevalidate:I,revalidateOnlyGenerated:M,resolvedPathname:_,clientReferenceManifest:D,serverActionsManifest:N,previewProps:H}=C,j=(0,o.f)(b),G=!!U.routes[_]&&(x.isDev||(0,m.f)(_,x.cacheOwner,U.routes[_])),L=!!(U.dynamicRoutes[j]||G),$=async()=>((null==q?void 0:q.render404)?await q.render404(e,t,O,!1):t.end("This page could not be found"),null);if(L&&!S){let e=U.dynamicRoutes[j];if(e&&!1===e.fallback&&!G){if(k.adapterPath)return await $();throw new w.NoFallbackError}}let B=null;!L||x.isDev||S||(B="/index"===(B=_)?"/":B),N&&D&&(0,s.f)({page:b,clientReferenceManifest:D,serverActionsManifest:N});let F=e.method||"GET",K=(0,i.v)(),J=!!(null==q?void 0:q.isWrappedByNextServer),Q=!!(0,n.w)(e,"minimalMode"),V=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,k,H,U,Q);null==V||V.resetRequestCache(),globalThis.__incrementalCache=V;let W={params:A,previewProps:H,renderOpts:{experimental:{authInterrupts:!!k.experimental.authInterrupts,useCacheTimeout:k.experimental.useCacheTimeout,durableUseCacheEntries:!!k.experimental.durableUseCacheEntries},cacheComponents:!!k.cacheComponents,validationLevel:k.experimental.instantInsights.validationLevel,isDraftMode:S,incrementalCache:V,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:k.cacheLife,staticPageGenerationTimeout:k.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:T,deploymentId:P}},z=new l.x(e),X=new l.e(t),Y=u.k.fromNodeNextRequest(z,(0,u.t)(t)),Z=async({previousCacheEntry:r})=>{try{if(!Q&&I&&M&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===B?await x.handle(Y,W):await x.prerender(Y,W);e.fetchMetrics=W.renderOpts.fetchMetrics;let i=W.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let s=W.renderOpts.collectedTags;if(!L)return await (0,p.f)(z,X,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);s&&(t[v.M]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=v.Q)&&W.renderOpts.collectedRevalidate,a=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=v.Q?!1!==r&&r>0?k.expireTime:void 0:W.renderOpts.collectedExpire;return{value:{kind:R.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:b,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==B,isOnDemandRevalidate:I})},!1,q),t}},ee=async n=>{try{var s,o;let n=await x.handleResponse({req:e,nextConfig:k,cacheKey:B,routeKind:r.f.APP_ROUTE,isFallback:!1,previewProps:H,prerenderManifest:U,isRoutePPREnabled:!1,isOnDemandRevalidate:I,revalidateOnlyGenerated:M,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:Q});if(null!==n&&"error"in n)throw n.error;if(!L)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==R.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(o=n.value)?void 0:o.kind}`);Q||t.setHeader("x-nextjs-cache",I?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);Q&&L||i.delete(v.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(z,X,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(r){if(r instanceof w.NoFallbackError||await x.onRequestError(e,r,{routerKind:"App Router",routePath:j,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==B,isOnDemandRevalidate:I})},!1,q),L)throw r;if(t.headersSent){if(n){let e=r instanceof Error?r:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(z,X,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let r=K.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.q.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||j,s=`${F} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":s}),n.updateName(s),E&&E!==n&&(E.setAttribute("http.route",a),E.updateName(s))})()}};J||void 0===e.url||null==y||y.setAttribute("http.target",e.url),await ee(y)}e.s(["handler",0,E,"patchFetch",0,function(){return(0,a.f)({workAsyncStorage:b,workUnitAsyncStorage:g})},"routeModule",0,x,"serverHooks",0,y,"workAsyncStorage",0,b,"workUnitAsyncStorage",0,g])},65347,e=>{"use strict";var t=e.i(38251);async function r(e){return await (0,t.f)(),Response.json({success:!0,message:"Backup route pending Phase 4 redesign"})}e.s(["POST",0,r])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_0146k0if4moum._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[37630,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="check",e=[10003,10004],f="f00c",g="M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faCheck=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},13212,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="copy",e=[],f="f0c5",g="M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faCopy=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},93286,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="download",e=[],f="f019",g="M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faDownload=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},23793,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="eraser",e=[],f="f12d",g="M178.5 416l123 0 65.3-65.3-173.5-173.5-126.7 126.7 112 112zM224 480l-45.5 0c-17 0-33.3-6.7-45.3-18.7L17 345C6.1 334.1 0 319.4 0 304s6.1-30.1 17-41L263 17C273.9 6.1 288.6 0 304 0s30.1 6.1 41 17L527 199c10.9 10.9 17 25.6 17 41s-6.1 30.1-17 41l-135 135 120 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0z";c.definition={prefix:"fas",iconName:d,icon:[576,512,e,f,g]},c.faEraser=c.definition,c.prefix="fas",c.iconName=d,c.width=576,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},54987,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="pause",e=[9208],f="f04c",g="M48 32C21.5 32 0 53.5 0 80L0 432c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48L48 32zm224 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0z";c.definition={prefix:"fas",iconName:d,icon:[384,512,e,f,g]},c.faPause=c.definition,c.prefix="fas",c.iconName=d,c.width=384,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},94873,a=>{"use strict";var b=a.i(87924),c=a.i(98163),d=a.i(37630),e=a.i(13212),f=a.i(93286),g=a.i(23793),h=a.i(54987),i=a.i(71454),j=a.i(3650),k=a.i(15925),l=a.i(72131),m=a.i(99570),n=a.i(91119),o=a.i(66718),p=a.i(45094);let q=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3,hourCycle:"h23"}),r=(0,l.memo)(({line:a})=>(0,b.jsxs)("div",{className:(0,p.f)("flex gap-3 px-4 hover:bg-slate-900","stderr"===a.stream&&"bg-rose-500/10 hover:bg-rose-500/15"),children:[(0,b.jsx)("span",{className:"w-10 shrink-0 text-right text-slate-600 select-none",children:a.number}),a.timestamp&&(0,b.jsx)("time",{dateTime:a.timestamp,title:a.timestamp,className:"shrink-0 text-slate-500 select-none",children:q.format(new Date(a.timestamp))}),(0,b.jsx)("span",{className:(0,p.f)("min-w-0 wrap-anywhere whitespace-pre-wrap","stderr"===a.stream?"text-rose-300":"text-slate-300"),children:a.text})]})),s={connecting:"animate-pulse bg-sky-400",live:"bg-emerald-400",reconnecting:"animate-pulse bg-amber-400",stopped:"bg-slate-500",failed:"bg-rose-400"},t=({status:a,label:c})=>(0,b.jsxs)("span",{role:"status",className:"inline-flex items-center gap-2 text-xs font-medium text-slate-400",children:[(0,b.jsx)("span",{className:(0,p.f)("size-2 rounded-full",s[a])}),c]});function u(a){return a.map(a=>a.timestamp?`${a.timestamp} ${a.text}`:a.text).join("\n")}a.s(["default",0,({serviceId:a,serviceName:p,isRunning:q})=>{let s=(0,k.f)("ServicePage.logs"),{lines:v,status:w,clear:x,reconnect:y}=function(a,b){let[c,d]=(0,l.useState)([]),[e,f]=(0,l.useState)("connecting"),[g,h]=(0,l.useState)(0),i=(0,l.useRef)(null),j=(0,l.useRef)(0);return(0,l.useEffect)(()=>{let b,c=i.current?`?since=${encodeURIComponent(i.current)}`:"",e=new EventSource(`/api/services/${encodeURIComponent(a)}/logs/stream${c}`);return e.onopen=()=>f("live"),e.onmessage=a=>{let b=JSON.parse(a.data).map(a=>({...a,number:++j.current}));i.current=b.at(-1)?.timestamp??i.current,d(a=>[...a,...b].slice(-2e3))},e.addEventListener("end",a=>{e.close();let{running:c}=JSON.parse(a.data);c?(f("reconnecting"),b=setTimeout(()=>h(a=>a+1),2e3)):f("stopped")}),e.addEventListener("failure",()=>{e.close(),f("failed")}),e.onerror=()=>{f(e.readyState===EventSource.CLOSED?"failed":"reconnecting")},()=>{e.close(),clearTimeout(b)}},[a,b,g]),{lines:c,status:e,clear:()=>d([]),reconnect:()=>{f("connecting"),h(a=>a+1)}}}(a,q),[z,A]=(0,l.useState)(""),[B,C]=(0,l.useState)(!0),[D,E]=(0,l.useState)(!1),F=(0,l.useRef)(null),G=(0,l.useRef)(0),H=z.trim().toLowerCase(),I=H?v.filter(a=>a.text.toLowerCase().includes(H)):v;(0,l.useLayoutEffect)(()=>{B&&F.current&&(F.current.scrollTop=F.current.scrollHeight)},[B,v,H]);let J=async()=>{try{await navigator.clipboard.writeText(u(I)),E(!0),setTimeout(()=>E(!1),2e3)}catch{}},K="stopped"===w||"failed"===w,L=s(v.length>0?"noMatches":"connecting"===w?"loading":"empty");return(0,b.jsxs)(n.f,{className:"flex flex-col gap-4 p-6",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,b.jsx)(t,{status:w,label:s(`status.${w}`)}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsxs)(m.f,{size:"xs",variant:"outline","aria-pressed":B,onClick:()=>C(a=>!a),className:"gap-1.5",children:[(0,b.jsx)(j.f,{icon:B?h.faPause:i.faPlay,className:"size-3 text-slate-400"}),(0,b.jsx)("span",{children:s(B?"pauseScroll":"resumeScroll")})]}),(0,b.jsxs)(m.f,{size:"xs",variant:"outline",disabled:0===I.length,onClick:J,className:"gap-1.5",children:[(0,b.jsx)(j.f,{icon:D?d.faCheck:e.faCopy,className:"size-3 text-slate-400"}),(0,b.jsx)("span",{children:s(D?"copied":"copy")})]}),(0,b.jsxs)(m.f,{size:"xs",variant:"outline",disabled:0===I.length,onClick:()=>{let a=URL.createObjectURL(new Blob([u(I)],{type:"text/plain;charset=utf-8"})),b=document.createElement("a");b.href=a,b.download=`${p}.log`,b.click(),URL.revokeObjectURL(a)},className:"gap-1.5",children:[(0,b.jsx)(j.f,{icon:f.faDownload,className:"size-3 text-slate-400"}),(0,b.jsx)("span",{children:s("download")})]}),(0,b.jsxs)(m.f,{size:"xs",variant:"outline",disabled:0===v.length,onClick:x,className:"gap-1.5",children:[(0,b.jsx)(j.f,{icon:g.faEraser,className:"size-3 text-slate-400"}),(0,b.jsx)("span",{children:s("clear")})]}),K&&(0,b.jsxs)(m.f,{size:"xs",variant:"secondary",onClick:y,className:"gap-1.5",children:[(0,b.jsx)(j.f,{icon:c.faArrowsRotate,className:"size-3 text-slate-400"}),(0,b.jsx)("span",{children:s("reconnect")})]})]})]}),(0,b.jsx)(o.f,{type:"search",size:"sm",value:z,onChange:a=>A(a.target.value),placeholder:s("filter"),"aria-label":s("filter")}),K&&(0,b.jsx)("p",{className:"failed"===w?"text-sm text-rose-400":"text-sm text-slate-400",children:s("failed"===w?"error":"notRunning")}),(0,b.jsx)("div",{ref:F,role:"log","aria-live":"off",onScroll:()=>{if(!F.current)return;let{scrollTop:a,scrollHeight:b,clientHeight:c}=F.current,d=a<G.current;G.current=a,d&&!(b-a-c<=24)&&C(!1)},className:"h-[60dvh] overflow-y-auto rounded-xl border border-slate-800/80 bg-slate-950 py-3 font-mono text-xs leading-relaxed",children:I.length>0?I.map(a=>(0,b.jsx)(r,{line:a},a.number)):(0,b.jsx)("p",{className:"py-16 text-center font-sans text-sm text-slate-500",children:L})})]})}],94873)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_03yw69lobi4lm._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[5546,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="hard-drive",e=[128436,"hdd"],f="f0a0",g="M64 32C28.7 32 0 60.7 0 96L0 260.1C18.1 247.4 40.2 240 64 240l320 0c23.8 0 45.9 7.4 64 20.1L448 96c0-35.3-28.7-64-64-64L64 32zM448 352c0-35.3-28.7-64-64-64L64 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-64zM224 384a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm128-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faHardDrive=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},1899,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=[128273],e="f084",f="M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0 160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17l0 80c0 13.3 10.7 24 24 24l80 0c13.3 0 24-10.7 24-24l0-40 40 0c13.3 0 24-10.7 24-24l0-40 40 0c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z";c.definition={prefix:"fas",iconName:"key",icon:[512,512,d,e,f]},c.faKey=c.definition,c.prefix="fas",c.iconName="key",c.width=512,c.height=512,c.ligatures=d,c.unicode=e,c.svgPathData=f,c.aliases=d},40656,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="lock",e=[128274],f="f023",g="M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z";c.definition={prefix:"fas",iconName:d,icon:[384,512,e,f,g]},c.faLock=c.definition,c.prefix="fas",c.iconName=d,c.width=384,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},37025,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="lock-open",e=[],f="f3c1",g="M384 96c0-35.3 28.7-64 64-64s64 28.7 64 64l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-70.7-57.3-128-128-128S320 25.3 320 96l0 64-160 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-32 0 0-64z";c.definition={prefix:"fas",iconName:d,icon:[576,512,e,f,g]},c.faLockOpen=c.definition,c.prefix="fas",c.iconName=d,c.width=576,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},97998,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="network-wired",e=[],f="f6ff",g="M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z";c.definition={prefix:"fas",iconName:d,icon:[576,512,e,f,g]},c.faNetworkWired=c.definition,c.prefix="fas",c.iconName=d,c.width=576,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},59962,a=>{"use strict";var b=a.i(87924),c=a.i(1899),d=a.i(40656),e=a.i(37025),f=a.i(1540),g=a.i(2992),h=a.i(3650),i=a.i(45094),j=a.i(72131),k=a.i(99570),l=a.i(66718),m=a.i(70430),n=a.i(80701);let o=["build","runtime","both"];a.s(["f",0,({items:a,onChange:p,disabled:q=!1,hasBuild:r=!0,labels:s,className:t})=>{let[u,v]=(0,j.useState)(a??[]);(0,j.useEffect)(()=>{void 0!==a&&v(a)},[a]);let w=a=>{v(a),p?.(a)},x=()=>{w([...u,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),key:"",value:"",scope:"runtime",isSecret:!1}])},y=(a,b)=>{w(u.map((c,d)=>d!==a?c:{...c,...b}))},z=s?.title??"Environment Variables",A=s?.description??"Configure runtime environment variables and secrets.",B=s?.addButton??"Add Variable",C=s?.removeButton??"Remove variable",D=s?.keyLabel??"Key",E=s?.keyPlaceholder??"e.g. DATABASE_URL",F=s?.valueLabel??"Value",G=s?.valuePlaceholder??"e.g. postgres://...",H=s?.scopeLabel??"Available in",I=s?.scopes??{build:"Build",runtime:"Runtime",both:"Both"},J=s?.scopeHelp,K=s?.secretLabel??"Secret",L=s?.emptyMessage??"No environment variables configured.",M=r?"grid-cols-[1fr_auto_1fr_7rem_2.5rem_2.5rem]":"grid-cols-[1fr_auto_1fr_2.5rem_2.5rem]";return(0,b.jsxs)("div",{className:(0,i.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",t),children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(h.f,{icon:c.faKey,className:"size-4 text-slate-400"}),(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:z})]}),A&&(0,b.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:A})]}),(0,b.jsxs)(k.f,{type:"button",variant:"secondary",size:"xs",onClick:x,disabled:q,className:"gap-1.5",children:[(0,b.jsx)(h.f,{icon:f.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:B})]})]}),0===u.length?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,b.jsx)("p",{className:"text-xs text-slate-500",children:L}),(0,b.jsxs)(k.f,{type:"button",variant:"ghost",size:"xs",onClick:x,disabled:q,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,b.jsx)(h.f,{icon:f.faPlus,className:"mr-1 size-3"}),(0,b.jsx)("span",{children:B})]})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:(0,i.f)("grid items-center gap-2 px-1 text-xs font-medium text-slate-400",M),children:[(0,b.jsx)("span",{children:D}),(0,b.jsx)("span",{className:"w-4"}),(0,b.jsx)("span",{children:F}),r&&(0,b.jsx)("span",{children:H}),(0,b.jsx)("span",{className:"text-center",children:K}),(0,b.jsx)("span",{})]}),u.map((a,c)=>{let f=a.id??`env-${c}`;return(0,b.jsxs)("div",{className:(0,i.f)("grid items-center gap-2",M),children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(m.f,{htmlFor:`env-key-${c}`,className:"sr-only",children:D}),(0,b.jsx)(l.f,{id:`env-key-${c}`,type:"text",size:"sm",className:"font-mono text-xs uppercase",placeholder:E,value:a.key,onChange:a=>y(c,{key:a.target.value}),disabled:q})]}),(0,b.jsx)("span",{className:"text-center font-mono text-xs text-slate-500 select-none",children:"="}),(0,b.jsxs)("div",{children:[(0,b.jsx)(m.f,{htmlFor:`env-val-${c}`,className:"sr-only",children:F}),(0,b.jsx)(l.f,{id:`env-val-${c}`,type:a.isSecret?"password":"text",autoComplete:a.isSecret?"new-password":"off",size:"sm",className:"font-mono text-xs",placeholder:a.isSecret&&a.savedSecretKey===a.key.trim()&&s?.savedSecretPlaceholder?s.savedSecretPlaceholder:G,value:a.value,onChange:a=>y(c,{value:a.target.value}),disabled:q})]}),r&&(0,b.jsxs)("div",{children:[(0,b.jsx)(m.f,{htmlFor:`env-scope-${c}`,className:"sr-only",children:H}),(0,b.jsx)(n.f,{id:`env-scope-${c}`,className:"text-xs",value:a.scope,onChange:a=>y(c,{scope:a.target.value}),disabled:q,children:o.map(a=>(0,b.jsx)("option",{value:a,children:I[a]},a))})]}),(0,b.jsx)(k.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>y(c,{isSecret:!a.isSecret}),disabled:q,"aria-label":K,"aria-pressed":a.isSecret,title:K,className:a.isSecret?"text-amber-400 hover:text-amber-300":"text-slate-500 hover:text-slate-200",children:(0,b.jsx)(h.f,{icon:a.isSecret?d.faLock:e.faLockOpen,className:"size-3.5"})}),(0,b.jsx)(k.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{w(u.filter((a,b)=>b!==c))},disabled:q,"aria-label":C,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,b.jsx)(h.f,{icon:g.faTrash,className:"size-3.5"})})]},f)}),r&&J&&(0,b.jsx)("p",{className:"px-1 text-xs text-slate-500",children:J})]})]})}],59962)},23395,a=>{"use strict";var b=a.i(87924),c=a.i(97998),d=a.i(1540),e=a.i(2992),f=a.i(3650),g=a.i(45094),h=a.i(72131),i=a.i(99570),j=a.i(66718),k=a.i(70430);a.s(["f",0,({items:a,onChange:l,disabled:m=!1,labels:n,className:o})=>{let[p,q]=(0,h.useState)(a??[]);(0,h.useEffect)(()=>{void 0!==a&&q(a)},[a]);let r=a=>{q(a),l?.(a)},s=()=>{r([...p,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),external:"",internal:""}])},t=(a,b,c)=>{r(p.map((d,e)=>e!==a?d:{...d,[b]:""===c?"":Number(c)||c}))},u=n?.title??"Port Mappings",v=n?.description??"Map host ports to container ports.",w=n?.addButton??"Add Port",x=n?.removeButton??"Remove port mapping",y=n?.hostPortLabel??"Host Port",z=n?.hostPortPlaceholder??"e.g. 8080",A=n?.containerPortLabel??"Container Port",B=n?.containerPortPlaceholder??"e.g. 80",C=n?.emptyMessage??"No port mappings configured.";return(0,b.jsxs)("div",{className:(0,g.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",o),children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(f.f,{icon:c.faNetworkWired,className:"size-4 text-slate-400"}),(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:u})]}),v&&(0,b.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:v})]}),(0,b.jsxs)(i.f,{type:"button",variant:"secondary",size:"xs",onClick:s,disabled:m,className:"gap-1.5",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:w})]})]}),0===p.length?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,b.jsx)("p",{className:"text-xs text-slate-500",children:C}),(0,b.jsxs)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:s,disabled:m,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"mr-1 size-3"}),(0,b.jsx)("span",{children:w})]})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr_auto] items-center gap-2 px-1 text-xs font-medium text-slate-400",children:[(0,b.jsx)("span",{children:y}),(0,b.jsx)("span",{className:"w-4"}),(0,b.jsx)("span",{children:A}),(0,b.jsx)("span",{className:"w-8"})]}),p.map((a,c)=>{let d=a.id??`port-${c}`;return(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr_auto] items-center gap-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`host-port-${c}`,className:"sr-only",children:y}),(0,b.jsx)(j.f,{id:`host-port-${c}`,type:"number",min:1,max:65535,size:"sm",placeholder:z,value:a.external,onChange:a=>t(c,"external",a.target.value),disabled:m})]}),(0,b.jsx)("span",{className:"text-center text-xs text-slate-500 select-none",children:"→"}),(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`container-port-${c}`,className:"sr-only",children:A}),(0,b.jsx)(j.f,{id:`container-port-${c}`,type:"number",min:1,max:65535,size:"sm",placeholder:B,value:a.internal,onChange:a=>t(c,"internal",a.target.value),disabled:m})]}),(0,b.jsx)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{r(p.filter((a,b)=>b!==c))},disabled:m,"aria-label":x,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,b.jsx)(f.f,{icon:e.faTrash,className:"size-3.5"})})]},d)})]})]})}])},1703,a=>{"use strict";var b=a.i(87924),c=a.i(5546),d=a.i(1540),e=a.i(2992),f=a.i(3650),g=a.i(45094),h=a.i(72131),i=a.i(99570),j=a.i(66718),k=a.i(70430);a.s(["f",0,({items:a,onChange:l,disabled:m=!1,labels:n,className:o})=>{let[p,q]=(0,h.useState)(a??[]);(0,h.useEffect)(()=>{void 0!==a&&q(a)},[a]);let r=a=>{q(a),l?.(a)},s=()=>{r([...p,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),containerPath:"",name:""}])},t=(a,b,c)=>{r(p.map((d,e)=>e!==a?d:{...d,[b]:c}))},u=n?.title??"Storage Mounts",v=n?.description??"Attach persistent Docker volumes to persist data across container restarts.",w=n?.addButton??"Add Mount",x=n?.removeButton??"Remove storage mount",y=n?.containerPathLabel??"Container Path",z=n?.containerPathPlaceholder??"e.g. /var/lib/mysql",A=n?.volumeNameLabel??"Volume Name (optional)",B=n?.volumeNamePlaceholder??"e.g. db-data (auto-generated if empty)",C=n?.emptyMessage??"No storage mounts configured.";return(0,b.jsxs)("div",{className:(0,g.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",o),children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(f.f,{icon:c.faHardDrive,className:"size-4 text-slate-400"}),(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:u})]}),v&&(0,b.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:v})]}),(0,b.jsxs)(i.f,{type:"button",variant:"secondary",size:"xs",onClick:s,disabled:m,className:"gap-1.5",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:w})]})]}),0===p.length?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,b.jsx)("p",{className:"text-xs text-slate-500",children:C}),(0,b.jsxs)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:s,disabled:m,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"mr-1 size-3"}),(0,b.jsx)("span",{children:w})]})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto] items-center gap-2 px-1 text-xs font-medium text-slate-400",children:[(0,b.jsx)("span",{children:y}),(0,b.jsx)("span",{children:A}),(0,b.jsx)("span",{className:"w-8"})]}),p.map((a,c)=>{let d=a.id??`vol-${c}`;return(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto] items-center gap-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`vol-path-${c}`,className:"sr-only",children:y}),(0,b.jsx)(j.f,{id:`vol-path-${c}`,type:"text",size:"sm",className:"font-mono text-xs",placeholder:z,value:a.containerPath,onChange:a=>t(c,"containerPath",a.target.value),disabled:m})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`vol-name-${c}`,className:"sr-only",children:A}),(0,b.jsx)(j.f,{id:`vol-name-${c}`,type:"text",size:"sm",placeholder:B,value:a.name??"",onChange:a=>t(c,"name",a.target.value),disabled:m})]}),(0,b.jsx)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{r(p.filter((a,b)=>b!==c))},disabled:m,"aria-label":x,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,b.jsx)(f.f,{icon:e.faTrash,className:"size-3.5"})})]},d)})]})]})}])},2368,a=>{"use strict";var b=a.i(15925);a.s(["f",0,function(){let a=(0,b.f)("NewServicePage");return{ports:{title:a("portsSection.title"),description:a("portsSection.description"),addButton:a("portsSection.addButton"),removeButton:a("portsSection.removeButton"),hostPortLabel:a("portsSection.hostPortLabel"),hostPortPlaceholder:a("portsSection.hostPortPlaceholder"),containerPortLabel:a("portsSection.containerPortLabel"),containerPortPlaceholder:a("portsSection.containerPortPlaceholder"),emptyMessage:a("portsSection.emptyMessage")},env:{title:a("envSection.title"),description:a("envSection.description"),addButton:a("envSection.addButton"),removeButton:a("envSection.removeButton"),keyLabel:a("envSection.keyLabel"),keyPlaceholder:a("envSection.keyPlaceholder"),valueLabel:a("envSection.valueLabel"),valuePlaceholder:a("envSection.valuePlaceholder"),scopeLabel:a("envSection.scopeLabel"),scopes:{build:a("envSection.scopes.build"),runtime:a("envSection.scopes.runtime"),both:a("envSection.scopes.both")},scopeHelp:a("envSection.scopeHelp"),secretLabel:a("envSection.secretLabel"),emptyMessage:a("envSection.emptyMessage")},volumes:{title:a("volumesSection.title"),description:a("volumesSection.description"),addButton:a("volumesSection.addButton"),removeButton:a("volumesSection.removeButton"),containerPathLabel:a("volumesSection.containerPathLabel"),containerPathPlaceholder:a("volumesSection.containerPathPlaceholder"),volumeNameLabel:a("volumesSection.volumeNameLabel"),volumeNamePlaceholder:a("volumesSection.volumeNamePlaceholder"),emptyMessage:a("volumesSection.emptyMessage")}}}])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_0i5-qw-3yy6gn._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[5546,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="hard-drive",e=[128436,"hdd"],f="f0a0",g="M64 32C28.7 32 0 60.7 0 96L0 260.1C18.1 247.4 40.2 240 64 240l320 0c23.8 0 45.9 7.4 64 20.1L448 96c0-35.3-28.7-64-64-64L64 32zM448 352c0-35.3-28.7-64-64-64L64 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-64zM224 384a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm128-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faHardDrive=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},1899,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=[128273],e="f084",f="M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0 160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17l0 80c0 13.3 10.7 24 24 24l80 0c13.3 0 24-10.7 24-24l0-40 40 0c13.3 0 24-10.7 24-24l0-40 40 0c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z";c.definition={prefix:"fas",iconName:"key",icon:[512,512,d,e,f]},c.faKey=c.definition,c.prefix="fas",c.iconName="key",c.width=512,c.height=512,c.ligatures=d,c.unicode=e,c.svgPathData=f,c.aliases=d},40656,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="lock",e=[128274],f="f023",g="M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z";c.definition={prefix:"fas",iconName:d,icon:[384,512,e,f,g]},c.faLock=c.definition,c.prefix="fas",c.iconName=d,c.width=384,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},37025,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="lock-open",e=[],f="f3c1",g="M384 96c0-35.3 28.7-64 64-64s64 28.7 64 64l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-70.7-57.3-128-128-128S320 25.3 320 96l0 64-160 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-32 0 0-64z";c.definition={prefix:"fas",iconName:d,icon:[576,512,e,f,g]},c.faLockOpen=c.definition,c.prefix="fas",c.iconName=d,c.width=576,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},97998,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="network-wired",e=[],f="f6ff",g="M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z";c.definition={prefix:"fas",iconName:d,icon:[576,512,e,f,g]},c.faNetworkWired=c.definition,c.prefix="fas",c.iconName=d,c.width=576,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},59962,a=>{"use strict";var b=a.i(87924),c=a.i(1899),d=a.i(40656),e=a.i(37025),f=a.i(1540),g=a.i(2992),h=a.i(3650),i=a.i(45094),j=a.i(72131),k=a.i(99570),l=a.i(66718),m=a.i(70430),n=a.i(80701);let o=["build","runtime","both"];a.s(["f",0,({items:a,onChange:p,disabled:q=!1,hasBuild:r=!0,labels:s,className:t})=>{let[u,v]=(0,j.useState)(a??[]);(0,j.useEffect)(()=>{void 0!==a&&v(a)},[a]);let w=a=>{v(a),p?.(a)},x=()=>{w([...u,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),key:"",value:"",scope:"runtime",isSecret:!1}])},y=(a,b)=>{w(u.map((c,d)=>d!==a?c:{...c,...b}))},z=s?.title??"Environment Variables",A=s?.description??"Configure runtime environment variables and secrets.",B=s?.addButton??"Add Variable",C=s?.removeButton??"Remove variable",D=s?.keyLabel??"Key",E=s?.keyPlaceholder??"e.g. DATABASE_URL",F=s?.valueLabel??"Value",G=s?.valuePlaceholder??"e.g. postgres://...",H=s?.scopeLabel??"Available in",I=s?.scopes??{build:"Build",runtime:"Runtime",both:"Both"},J=s?.scopeHelp,K=s?.secretLabel??"Secret",L=s?.emptyMessage??"No environment variables configured.",M=r?"grid-cols-[1fr_auto_1fr_7rem_2.5rem_2.5rem]":"grid-cols-[1fr_auto_1fr_2.5rem_2.5rem]";return(0,b.jsxs)("div",{className:(0,i.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",t),children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(h.f,{icon:c.faKey,className:"size-4 text-slate-400"}),(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:z})]}),A&&(0,b.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:A})]}),(0,b.jsxs)(k.f,{type:"button",variant:"secondary",size:"xs",onClick:x,disabled:q,className:"gap-1.5",children:[(0,b.jsx)(h.f,{icon:f.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:B})]})]}),0===u.length?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,b.jsx)("p",{className:"text-xs text-slate-500",children:L}),(0,b.jsxs)(k.f,{type:"button",variant:"ghost",size:"xs",onClick:x,disabled:q,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,b.jsx)(h.f,{icon:f.faPlus,className:"mr-1 size-3"}),(0,b.jsx)("span",{children:B})]})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:(0,i.f)("grid items-center gap-2 px-1 text-xs font-medium text-slate-400",M),children:[(0,b.jsx)("span",{children:D}),(0,b.jsx)("span",{className:"w-4"}),(0,b.jsx)("span",{children:F}),r&&(0,b.jsx)("span",{children:H}),(0,b.jsx)("span",{className:"text-center",children:K}),(0,b.jsx)("span",{})]}),u.map((a,c)=>{let f=a.id??`env-${c}`;return(0,b.jsxs)("div",{className:(0,i.f)("grid items-center gap-2",M),children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(m.f,{htmlFor:`env-key-${c}`,className:"sr-only",children:D}),(0,b.jsx)(l.f,{id:`env-key-${c}`,type:"text",size:"sm",className:"font-mono text-xs uppercase",placeholder:E,value:a.key,onChange:a=>y(c,{key:a.target.value}),disabled:q})]}),(0,b.jsx)("span",{className:"text-center font-mono text-xs text-slate-500 select-none",children:"="}),(0,b.jsxs)("div",{children:[(0,b.jsx)(m.f,{htmlFor:`env-val-${c}`,className:"sr-only",children:F}),(0,b.jsx)(l.f,{id:`env-val-${c}`,type:a.isSecret?"password":"text",autoComplete:a.isSecret?"new-password":"off",size:"sm",className:"font-mono text-xs",placeholder:a.isSecret&&a.savedSecretKey===a.key.trim()&&s?.savedSecretPlaceholder?s.savedSecretPlaceholder:G,value:a.value,onChange:a=>y(c,{value:a.target.value}),disabled:q})]}),r&&(0,b.jsxs)("div",{children:[(0,b.jsx)(m.f,{htmlFor:`env-scope-${c}`,className:"sr-only",children:H}),(0,b.jsx)(n.f,{id:`env-scope-${c}`,className:"text-xs",value:a.scope,onChange:a=>y(c,{scope:a.target.value}),disabled:q,children:o.map(a=>(0,b.jsx)("option",{value:a,children:I[a]},a))})]}),(0,b.jsx)(k.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>y(c,{isSecret:!a.isSecret}),disabled:q,"aria-label":K,"aria-pressed":a.isSecret,title:K,className:a.isSecret?"text-amber-400 hover:text-amber-300":"text-slate-500 hover:text-slate-200",children:(0,b.jsx)(h.f,{icon:a.isSecret?d.faLock:e.faLockOpen,className:"size-3.5"})}),(0,b.jsx)(k.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{w(u.filter((a,b)=>b!==c))},disabled:q,"aria-label":C,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,b.jsx)(h.f,{icon:g.faTrash,className:"size-3.5"})})]},f)}),r&&J&&(0,b.jsx)("p",{className:"px-1 text-xs text-slate-500",children:J})]})]})}],59962)},23395,a=>{"use strict";var b=a.i(87924),c=a.i(97998),d=a.i(1540),e=a.i(2992),f=a.i(3650),g=a.i(45094),h=a.i(72131),i=a.i(99570),j=a.i(66718),k=a.i(70430);a.s(["f",0,({items:a,onChange:l,disabled:m=!1,labels:n,className:o})=>{let[p,q]=(0,h.useState)(a??[]);(0,h.useEffect)(()=>{void 0!==a&&q(a)},[a]);let r=a=>{q(a),l?.(a)},s=()=>{r([...p,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),external:"",internal:""}])},t=(a,b,c)=>{r(p.map((d,e)=>e!==a?d:{...d,[b]:""===c?"":Number(c)||c}))},u=n?.title??"Port Mappings",v=n?.description??"Map host ports to container ports.",w=n?.addButton??"Add Port",x=n?.removeButton??"Remove port mapping",y=n?.hostPortLabel??"Host Port",z=n?.hostPortPlaceholder??"e.g. 8080",A=n?.containerPortLabel??"Container Port",B=n?.containerPortPlaceholder??"e.g. 80",C=n?.emptyMessage??"No port mappings configured.";return(0,b.jsxs)("div",{className:(0,g.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",o),children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(f.f,{icon:c.faNetworkWired,className:"size-4 text-slate-400"}),(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:u})]}),v&&(0,b.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:v})]}),(0,b.jsxs)(i.f,{type:"button",variant:"secondary",size:"xs",onClick:s,disabled:m,className:"gap-1.5",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:w})]})]}),0===p.length?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,b.jsx)("p",{className:"text-xs text-slate-500",children:C}),(0,b.jsxs)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:s,disabled:m,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"mr-1 size-3"}),(0,b.jsx)("span",{children:w})]})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr_auto] items-center gap-2 px-1 text-xs font-medium text-slate-400",children:[(0,b.jsx)("span",{children:y}),(0,b.jsx)("span",{className:"w-4"}),(0,b.jsx)("span",{children:A}),(0,b.jsx)("span",{className:"w-8"})]}),p.map((a,c)=>{let d=a.id??`port-${c}`;return(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr_auto] items-center gap-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`host-port-${c}`,className:"sr-only",children:y}),(0,b.jsx)(j.f,{id:`host-port-${c}`,type:"number",min:1,max:65535,size:"sm",placeholder:z,value:a.external,onChange:a=>t(c,"external",a.target.value),disabled:m})]}),(0,b.jsx)("span",{className:"text-center text-xs text-slate-500 select-none",children:"→"}),(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`container-port-${c}`,className:"sr-only",children:A}),(0,b.jsx)(j.f,{id:`container-port-${c}`,type:"number",min:1,max:65535,size:"sm",placeholder:B,value:a.internal,onChange:a=>t(c,"internal",a.target.value),disabled:m})]}),(0,b.jsx)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{r(p.filter((a,b)=>b!==c))},disabled:m,"aria-label":x,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,b.jsx)(f.f,{icon:e.faTrash,className:"size-3.5"})})]},d)})]})]})}])},1703,a=>{"use strict";var b=a.i(87924),c=a.i(5546),d=a.i(1540),e=a.i(2992),f=a.i(3650),g=a.i(45094),h=a.i(72131),i=a.i(99570),j=a.i(66718),k=a.i(70430);a.s(["f",0,({items:a,onChange:l,disabled:m=!1,labels:n,className:o})=>{let[p,q]=(0,h.useState)(a??[]);(0,h.useEffect)(()=>{void 0!==a&&q(a)},[a]);let r=a=>{q(a),l?.(a)},s=()=>{r([...p,{id:"u">typeof crypto?crypto.randomUUID():Math.random().toString(),containerPath:"",name:""}])},t=(a,b,c)=>{r(p.map((d,e)=>e!==a?d:{...d,[b]:c}))},u=n?.title??"Storage Mounts",v=n?.description??"Attach persistent Docker volumes to persist data across container restarts.",w=n?.addButton??"Add Mount",x=n?.removeButton??"Remove storage mount",y=n?.containerPathLabel??"Container Path",z=n?.containerPathPlaceholder??"e.g. /var/lib/mysql",A=n?.volumeNameLabel??"Volume Name (optional)",B=n?.volumeNamePlaceholder??"e.g. db-data (auto-generated if empty)",C=n?.emptyMessage??"No storage mounts configured.";return(0,b.jsxs)("div",{className:(0,g.f)("space-y-3 rounded-lg border border-slate-800 bg-slate-900/50 p-4",o),children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(f.f,{icon:c.faHardDrive,className:"size-4 text-slate-400"}),(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:u})]}),v&&(0,b.jsx)("p",{className:"mt-0.5 text-xs text-slate-400",children:v})]}),(0,b.jsxs)(i.f,{type:"button",variant:"secondary",size:"xs",onClick:s,disabled:m,className:"gap-1.5",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:w})]})]}),0===p.length?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-slate-800 py-6 text-center",children:[(0,b.jsx)("p",{className:"text-xs text-slate-500",children:C}),(0,b.jsxs)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:s,disabled:m,className:"mt-2 text-slate-400 hover:text-slate-200",children:[(0,b.jsx)(f.f,{icon:d.faPlus,className:"mr-1 size-3"}),(0,b.jsx)("span",{children:w})]})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto] items-center gap-2 px-1 text-xs font-medium text-slate-400",children:[(0,b.jsx)("span",{children:y}),(0,b.jsx)("span",{children:A}),(0,b.jsx)("span",{className:"w-8"})]}),p.map((a,c)=>{let d=a.id??`vol-${c}`;return(0,b.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto] items-center gap-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`vol-path-${c}`,className:"sr-only",children:y}),(0,b.jsx)(j.f,{id:`vol-path-${c}`,type:"text",size:"sm",className:"font-mono text-xs",placeholder:z,value:a.containerPath,onChange:a=>t(c,"containerPath",a.target.value),disabled:m})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)(k.f,{htmlFor:`vol-name-${c}`,className:"sr-only",children:A}),(0,b.jsx)(j.f,{id:`vol-name-${c}`,type:"text",size:"sm",placeholder:B,value:a.name??"",onChange:a=>t(c,"name",a.target.value),disabled:m})]}),(0,b.jsx)(i.f,{type:"button",variant:"ghost",size:"xs",onClick:()=>{r(p.filter((a,b)=>b!==c))},disabled:m,"aria-label":x,className:"text-slate-400 hover:bg-rose-500/10 hover:text-rose-400",children:(0,b.jsx)(f.f,{icon:e.faTrash,className:"size-3.5"})})]},d)})]})]})}])},2368,a=>{"use strict";var b=a.i(15925);a.s(["f",0,function(){let a=(0,b.f)("NewServicePage");return{ports:{title:a("portsSection.title"),description:a("portsSection.description"),addButton:a("portsSection.addButton"),removeButton:a("portsSection.removeButton"),hostPortLabel:a("portsSection.hostPortLabel"),hostPortPlaceholder:a("portsSection.hostPortPlaceholder"),containerPortLabel:a("portsSection.containerPortLabel"),containerPortPlaceholder:a("portsSection.containerPortPlaceholder"),emptyMessage:a("portsSection.emptyMessage")},env:{title:a("envSection.title"),description:a("envSection.description"),addButton:a("envSection.addButton"),removeButton:a("envSection.removeButton"),keyLabel:a("envSection.keyLabel"),keyPlaceholder:a("envSection.keyPlaceholder"),valueLabel:a("envSection.valueLabel"),valuePlaceholder:a("envSection.valuePlaceholder"),scopeLabel:a("envSection.scopeLabel"),scopes:{build:a("envSection.scopes.build"),runtime:a("envSection.scopes.runtime"),both:a("envSection.scopes.both")},scopeHelp:a("envSection.scopeHelp"),secretLabel:a("envSection.secretLabel"),emptyMessage:a("envSection.emptyMessage")},volumes:{title:a("volumesSection.title"),description:a("volumesSection.description"),addButton:a("volumesSection.addButton"),removeButton:a("volumesSection.removeButton"),containerPathLabel:a("volumesSection.containerPathLabel"),containerPathPlaceholder:a("volumesSection.containerPathPlaceholder"),volumeNameLabel:a("volumesSection.volumeNameLabel"),volumeNamePlaceholder:a("volumesSection.volumeNamePlaceholder"),emptyMessage:a("volumesSection.emptyMessage")}}}])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_12p0hrdhqcio6._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[71454,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="play",e=[9654],f="f04b",g="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";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faPlay=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},63251,71698,26156,a=>{"use strict";var b=a.i(76459),c=a.i(40031),d=a.i(45094);a.s(["f",0,({render:a,className:e,...f})=>(0,c.f)({defaultTagName:"div",render:a,props:(0,b.w)({className:(0,d.f)("fixed","top-[calc(50%+1.25rem*var(--nested-dialogs))]","left-1/2","-mt-8","w-96","max-w-[calc(100vw-3rem)]","-translate-x-1/2","-translate-y-1/2","scale-[calc(1-0.1*var(--nested-dialogs))]","transition-all","duration-150","data-[ending-style]:scale-90","data-[ending-style]:opacity-0","data-[nested-dialog-open]:after:absolute","data-[nested-dialog-open]:after:inset-0","data-[nested-dialog-open]:after:rounded-[inherit]","data-[nested-dialog-open]:after:bg-black/5","data-[starting-style]:scale-90","data-[starting-style]:opacity-0",e)},f)})],63251),a.s(["f",0,({render:a,...e})=>(0,c.f)({defaultTagName:"div",render:a,props:(0,b.w)({className:(0,d.f)("fixed","inset-0","min-h-dvh","bg-black","opacity-20","transition-all","duration-150","data-[ending-style]:opacity-0","data-[starting-style]:opacity-0","dark:opacity-70","supports-[-webkit-touch-callout:none]:absolute")},e)})],71698),a.s(["f",0,({render:a,...e})=>(0,c.f)({defaultTagName:"h2",render:a,props:(0,b.w)({className:(0,d.f)("-mt-1.5","mb-1","text-xl","font-semibold")},e)})],26156)},65434,a=>{"use strict";var b=a.i(72131),c=a.i(74994);a.s(["default",0,function(){let a=(0,c.U)();return(0,b.useEffect)(()=>{let b=setInterval(()=>{a.refresh()},2500);return()=>clearInterval(b)},[a]),null}])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_1j_fg04_leqmf._.js.map
|