@burdenoff/microfe-sandbox 2026.802.1 → 2026.830.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +9 -4
  4. package/dist/sandbox/SandboxAdminRoot.d.ts.map +1 -1
  5. package/dist/sandbox/SandboxAdminRoot.js +33 -28
  6. package/dist/sandbox/SandboxAdminRoot.js.map +1 -1
  7. package/dist/sandbox/SandboxRoot.d.ts.map +1 -1
  8. package/dist/sandbox/SandboxRoot.js +36 -31
  9. package/dist/sandbox/SandboxRoot.js.map +1 -1
  10. package/dist/sandbox/components/ExtendTTLModal.d.ts.map +1 -1
  11. package/dist/sandbox/components/ExtendTTLModal.js +49 -56
  12. package/dist/sandbox/components/ExtendTTLModal.js.map +1 -1
  13. package/dist/sandbox/components/SandboxAgentAppPanel.d.ts.map +1 -1
  14. package/dist/sandbox/components/SandboxAgentAppPanel.js +40 -38
  15. package/dist/sandbox/components/SandboxAgentAppPanel.js.map +1 -1
  16. package/dist/sandbox/components/SandboxTypeIcon.d.ts.map +1 -1
  17. package/dist/sandbox/components/SandboxTypeIcon.js +30 -22
  18. package/dist/sandbox/components/SandboxTypeIcon.js.map +1 -1
  19. package/dist/sandbox/hooks/useTr.d.ts +17 -0
  20. package/dist/sandbox/hooks/useTr.d.ts.map +1 -0
  21. package/dist/sandbox/hooks/useTr.js +14 -0
  22. package/dist/sandbox/hooks/useTr.js.map +1 -0
  23. package/dist/sandbox/index.d.ts +1 -0
  24. package/dist/sandbox/index.d.ts.map +1 -1
  25. package/dist/sandbox/index.js +1 -0
  26. package/dist/sandbox/pages/SandboxCreatePage.d.ts.map +1 -1
  27. package/dist/sandbox/pages/SandboxCreatePage.js +466 -465
  28. package/dist/sandbox/pages/SandboxCreatePage.js.map +1 -1
  29. package/dist/sandbox/pages/TemplateDetailPage.d.ts.map +1 -1
  30. package/dist/sandbox/pages/TemplateDetailPage.js +315 -294
  31. package/dist/sandbox/pages/TemplateDetailPage.js.map +1 -1
  32. package/dist/translations/en.d.ts +877 -0
  33. package/dist/translations/en.d.ts.map +1 -0
  34. package/dist/translations/en.js +753 -0
  35. package/dist/translations/en.js.map +1 -0
  36. package/dist/translations/hi.d.ts +4 -0
  37. package/dist/translations/hi.d.ts.map +1 -0
  38. package/dist/translations/hi.js +75 -0
  39. package/dist/translations/hi.js.map +1 -0
  40. package/dist/translations/index.d.ts +4 -0
  41. package/dist/translations/index.d.ts.map +1 -0
  42. package/dist/translations/index.js +3 -0
  43. package/dist/translations/ta.d.ts +4 -0
  44. package/dist/translations/ta.d.ts.map +1 -0
  45. package/dist/translations/ta.js +75 -0
  46. package/dist/translations/ta.js.map +1 -0
  47. package/package.json +2 -2
@@ -1,40 +1,40 @@
1
1
  import { useSandbox as e } from "../providers/SandboxProvider.js";
2
- import { Badge as t, Button as n, Card as r, CardContent as i, EmphasisPanel as a } from "../components/ui.js";
3
- import { tWithFallback as o } from "../utils/i18n.js";
4
- import { useSandboxEvents as ee } from "../utils/sandboxEvents.js";
5
- import { PageLayout as te } from "../components/PageLayout.js";
6
- import { useCreateSandboxMutation as ne, useListSandboxTemplatesQuery as s } from "../../generated/wspace-operations.js";
7
- import { TagsInput as c } from "../components/TagsInput.js";
8
- import { FilesFolderPicker as l } from "../components/FilesFolderPicker.js";
9
- import { stripBurdenoffRegistry as u, withBurdenoffRegistry as re } from "../utils/imageRegistry.js";
10
- import { useState as d } from "react";
11
- import { AlertCircle as f, ArrowLeft as ie, Box as p, CheckCircle2 as ae, Container as oe, Cpu as m, Database as h, HelpCircle as g, Info as _, Loader2 as v, MemoryStick as y, Plus as b, Save as x, Settings as S, Timer as C, Trash2 as w, X as T } from "lucide-react";
12
- import { useI18n as se } from "@burdenoff/fe-libs/shared/providers/shell";
13
- import { jsx as E, jsxs as D } from "react/jsx-runtime";
14
- import { OptionalFields as ce, PagePurpose as le } from "@burdenoff/fe-libs/ui";
2
+ import { Badge as t, Button as n, Card as r, CardContent as i, EmphasisPanel as ee } from "../components/ui.js";
3
+ import { tWithFallback as a } from "../utils/i18n.js";
4
+ import { useSandboxEvents as te } from "../utils/sandboxEvents.js";
5
+ import { PageLayout as ne } from "../components/PageLayout.js";
6
+ import { useCreateSandboxMutation as re, useListSandboxTemplatesQuery as o } from "../../generated/wspace-operations.js";
7
+ import { TagsInput as s } from "../components/TagsInput.js";
8
+ import { FilesFolderPicker as c } from "../components/FilesFolderPicker.js";
9
+ import { stripBurdenoffRegistry as l, withBurdenoffRegistry as ie } from "../utils/imageRegistry.js";
10
+ import { useState as u } from "react";
11
+ import { AlertCircle as d, ArrowLeft as ae, Box as f, CheckCircle2 as p, Container as m, Cpu as h, Database as g, HelpCircle as _, Info as v, Loader2 as y, MemoryStick as b, Plus as x, Save as S, Settings as C, Timer as oe, Trash2 as se, X as w } from "lucide-react";
12
+ import { useI18n as ce } from "@burdenoff/fe-libs/shared/providers/shell";
13
+ import { jsx as T, jsxs as E } from "react/jsx-runtime";
14
+ import { OptionalFields as le, PagePurpose as ue } from "@burdenoff/fe-libs/ui";
15
15
  //#region src/sandbox/pages/SandboxCreatePage.tsx
16
- var O = 0;
17
- function k() {
18
- return O += 1, `row-${O}-${Date.now()}`;
16
+ var D = 0;
17
+ function O() {
18
+ return D += 1, `row-${D}-${Date.now()}`;
19
19
  }
20
- var ue = [{
20
+ var de = [{
21
21
  value: "MISC_SHELL",
22
22
  labelKey: "sandbox.create.templateType.defaultSandbox.label",
23
23
  labelFallback: "Default Sandbox",
24
24
  descriptionKey: "sandbox.create.templateType.defaultSandbox.description",
25
25
  descriptionFallback: "Pre-configured development environment with VibeControls agent, Bun, nginx, and common dev tools",
26
- icon: p
26
+ icon: f
27
27
  }, {
28
28
  value: "CUSTOM",
29
29
  labelKey: "sandbox.create.templateType.customSandbox.label",
30
30
  labelFallback: "Custom Sandbox",
31
31
  descriptionKey: "sandbox.create.templateType.customSandbox.description",
32
32
  descriptionFallback: "Configure your own container image and resources",
33
- icon: S
33
+ icon: C
34
34
  }];
35
- function A() {
35
+ function k() {
36
36
  return {
37
- _rowId: k(),
37
+ _rowId: O(),
38
38
  name: "",
39
39
  image: "",
40
40
  ports: [],
@@ -45,30 +45,9 @@ function A() {
45
45
  limitsMemory: ""
46
46
  };
47
47
  }
48
- function j({ text: e }) {
49
- let [t, n] = d(!1);
50
- return /* @__PURE__ */ D("span", {
51
- className: "relative inline-block ml-1.5",
52
- children: [/* @__PURE__ */ E("button", {
53
- type: "button",
54
- onClick: () => n(!t),
55
- className: "text-text-tertiary hover:text-text-secondary transition-colors",
56
- children: /* @__PURE__ */ E(g, { size: 14 })
57
- }), t && /* @__PURE__ */ D("div", {
58
- className: "absolute left-0 top-6 z-50 w-64 rounded-lg border border-border-default bg-bg-surface p-3 text-xs text-text-secondary shadow-lg",
59
- children: [e, /* @__PURE__ */ E("button", {
60
- type: "button",
61
- onClick: () => n(!1),
62
- "aria-label": "Close help tip",
63
- className: "absolute top-1 right-1 text-text-tertiary hover:text-text-secondary",
64
- children: /* @__PURE__ */ E(T, { size: 12 })
65
- })]
66
- })]
67
- });
68
- }
69
- var M = typeof window < "u" && (window.location.hostname.includes("alpha") || window.location.hostname.endsWith(".local.burdenoff.com") || window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1"), N = u(M ? "burdenoffregistry.azurecr.io/sandbox/vibecontrols-alpha:2026.401.5-alpha" : "burdenoffregistry.azurecr.io/sandbox/vibecontrols:2026.401.4-alpha"), P = M ? "https://alphagraphql.burdenoff.com/global/graphql" : "https://graphql.burdenoff.com/global/graphql", F = M ? "https://alphagraphqlworkspaces.burdenoff.com/workspaces/graphql" : "https://graphqlworkspaces.burdenoff.com/workspaces/graphql";
70
- function I() {
71
- let { basePath: g = "/", navigate: O, workspaceId: M } = e(), I = ee(), { t: L } = se(), [R, z] = d([]), [B, V] = d({
48
+ var A = typeof window < "u" && (window.location.hostname.includes("alpha") || window.location.hostname.endsWith(".local.burdenoff.com") || window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1"), j = l(A ? "burdenoffregistry.azurecr.io/sandbox/vibecontrols-alpha:2026.401.5-alpha" : "burdenoffregistry.azurecr.io/sandbox/vibecontrols:2026.401.4-alpha"), M = A ? "https://alphagraphql.burdenoff.com/global/graphql" : "https://graphql.burdenoff.com/global/graphql", N = A ? "https://alphagraphqlworkspaces.burdenoff.com/workspaces/graphql" : "https://graphqlworkspaces.burdenoff.com/workspaces/graphql";
49
+ function P() {
50
+ let { basePath: D = "/", navigate: A, workspaceId: P } = e(), F = te(), { t: I } = ce(), [L, R] = u([]), [z, B] = u({
72
51
  name: "",
73
52
  description: "",
74
53
  template: "MISC_SHELL",
@@ -80,15 +59,15 @@ function I() {
80
59
  ttlSeconds: 10800,
81
60
  templateId: "",
82
61
  containers: [{
83
- _rowId: k(),
62
+ _rowId: O(),
84
63
  name: "main",
85
- image: N,
64
+ image: j,
86
65
  ports: [{
87
- _rowId: k(),
66
+ _rowId: O(),
88
67
  containerPort: 80,
89
68
  name: "nginx"
90
69
  }, {
91
- _rowId: k(),
70
+ _rowId: O(),
92
71
  containerPort: 3005,
93
72
  name: "agent"
94
73
  }],
@@ -104,21 +83,43 @@ function I() {
104
83
  storageMountPath: "/data",
105
84
  storageRetainOnDelete: !1,
106
85
  filesFolderId: null,
107
- globalGatewayUrl: P,
108
- workspaceGatewayUrl: F
109
- }), [H, U] = d({}), [W, G] = d(null), [K, q] = d(!1), { data: de } = s({
86
+ globalGatewayUrl: M,
87
+ workspaceGatewayUrl: N
88
+ }), [V, H] = u({}), [U, W] = u(null), [G, K] = u(!1);
89
+ function q({ text: e }) {
90
+ let [t, n] = u(!1);
91
+ return /* @__PURE__ */ E("span", {
92
+ className: "relative inline-block ml-1.5",
93
+ children: [/* @__PURE__ */ T("button", {
94
+ type: "button",
95
+ onClick: () => n(!t),
96
+ className: "text-text-tertiary hover:text-text-secondary transition-colors",
97
+ children: /* @__PURE__ */ T(_, { size: 14 })
98
+ }), t && /* @__PURE__ */ E("div", {
99
+ className: "absolute left-0 top-6 z-50 w-64 rounded-lg border border-border-default bg-bg-surface p-3 text-xs text-text-secondary shadow-lg",
100
+ children: [e, /* @__PURE__ */ T("button", {
101
+ type: "button",
102
+ onClick: () => n(!1),
103
+ "aria-label": a(I, "sandbox.create.helpTip.closeAriaLabel", "Close help tip"),
104
+ className: "absolute top-1 right-1 text-text-tertiary hover:text-text-secondary",
105
+ children: /* @__PURE__ */ T(w, { size: 12 })
106
+ })]
107
+ })]
108
+ });
109
+ }
110
+ let { data: fe } = o({
110
111
  variables: {
111
- context: { workspaceId: M },
112
- template: B.template
112
+ context: { workspaceId: P },
113
+ template: z.template
113
114
  },
114
- skip: !M
115
- }), [fe] = ne(), J = de?.listSandboxTemplates?.items ?? [], Y = (e, t) => {
116
- G({
115
+ skip: !P
116
+ }), [pe] = re(), J = fe?.listSandboxTemplates?.items ?? [], Y = (e, t) => {
117
+ W({
117
118
  type: e,
118
119
  message: t
119
- }), setTimeout(() => G(null), 5e3);
120
- }, pe = (e) => {
121
- V((t) => ({
120
+ }), setTimeout(() => W(null), 5e3);
121
+ }, me = (e) => {
122
+ B((t) => ({
122
123
  ...t,
123
124
  templateId: e.id,
124
125
  cpuRequest: e.resources?.cpuRequest ?? t.cpuRequest,
@@ -128,11 +129,11 @@ function I() {
128
129
  ttlSeconds: e.ttlSeconds,
129
130
  template: e.template,
130
131
  containers: e.containers && e.containers.length > 0 ? e.containers.map((e) => ({
131
- _rowId: k(),
132
+ _rowId: O(),
132
133
  name: e.name,
133
134
  image: e.image,
134
135
  ports: e.ports?.map((e) => ({
135
- _rowId: k(),
136
+ _rowId: O(),
136
137
  containerPort: e.containerPort,
137
138
  name: e.name ?? ""
138
139
  })) ?? [],
@@ -148,7 +149,7 @@ function I() {
148
149
  storageRetainOnDelete: e.storage?.retainOnDelete ?? t.storageRetainOnDelete
149
150
  }));
150
151
  }, X = (e, t) => {
151
- V((n) => ({
152
+ B((n) => ({
152
153
  ...n,
153
154
  [e]: t
154
155
  })), e !== "templateId" && ([
@@ -157,27 +158,27 @@ function I() {
157
158
  "memoryRequest",
158
159
  "memoryLimit",
159
160
  "ttlSeconds"
160
- ].includes(e) && V((e) => ({
161
+ ].includes(e) && B((e) => ({
161
162
  ...e,
162
163
  templateId: ""
163
- })), H[e] && U((t) => {
164
+ })), V[e] && H((t) => {
164
165
  let n = { ...t };
165
166
  return delete n[e], n;
166
167
  }));
167
- }, me = () => {
168
- V((e) => ({
168
+ }, he = () => {
169
+ B((e) => ({
169
170
  ...e,
170
- containers: [...e.containers, A()],
171
+ containers: [...e.containers, k()],
171
172
  templateId: ""
172
173
  }));
173
- }, he = (e) => {
174
- V((t) => ({
174
+ }, ge = (e) => {
175
+ B((t) => ({
175
176
  ...t,
176
177
  containers: t.containers.filter((t, n) => n !== e),
177
178
  templateId: ""
178
179
  }));
179
180
  }, Z = (e, t, n) => {
180
- V((r) => ({
181
+ B((r) => ({
181
182
  ...r,
182
183
  containers: r.containers.map((r, i) => i === e ? {
183
184
  ...r,
@@ -185,28 +186,28 @@ function I() {
185
186
  } : r),
186
187
  templateId: ""
187
188
  }));
188
- }, ge = (e) => {
189
- V((t) => ({
189
+ }, _e = (e) => {
190
+ B((t) => ({
190
191
  ...t,
191
192
  containers: t.containers.map((t, n) => n === e ? {
192
193
  ...t,
193
194
  ports: [...t.ports, {
194
- _rowId: k(),
195
+ _rowId: O(),
195
196
  containerPort: 8080,
196
197
  name: ""
197
198
  }]
198
199
  } : t)
199
200
  }));
200
- }, _e = (e, t) => {
201
- V((n) => ({
201
+ }, Q = (e, t) => {
202
+ B((n) => ({
202
203
  ...n,
203
204
  containers: n.containers.map((n, r) => r === e ? {
204
205
  ...n,
205
206
  ports: n.ports.filter((e, n) => n !== t)
206
207
  } : n)
207
208
  }));
208
- }, Q = (e) => {
209
- V((t) => ({
209
+ }, ve = (e) => {
210
+ B((t) => ({
210
211
  ...t,
211
212
  containers: t.containers.map((t, n) => n === e ? {
212
213
  ...t,
@@ -216,28 +217,28 @@ function I() {
216
217
  }]
217
218
  } : t)
218
219
  }));
219
- }, ve = (e, t) => {
220
- V((n) => ({
220
+ }, ye = (e, t) => {
221
+ B((n) => ({
221
222
  ...n,
222
223
  containers: n.containers.map((n, r) => r === e ? {
223
224
  ...n,
224
225
  env: n.env.filter((e, n) => n !== t)
225
226
  } : n)
226
227
  }));
227
- }, ye = () => {
228
+ }, be = () => {
228
229
  let e = {};
229
- return B.name.trim() || (e.name = o(L, "sandbox.create.errors.nameRequired", "Name is required")), B.cpuRequest.trim() || (e.cpuRequest = o(L, "sandbox.create.errors.cpuRequestRequired", "CPU request is required")), B.cpuLimit.trim() || (e.cpuLimit = o(L, "sandbox.create.errors.cpuLimitRequired", "CPU limit is required")), B.memoryRequest.trim() || (e.memoryRequest = o(L, "sandbox.create.errors.memoryRequestRequired", "Memory request is required")), B.memoryLimit.trim() || (e.memoryLimit = o(L, "sandbox.create.errors.memoryLimitRequired", "Memory limit is required")), (B.ttlSeconds < 600 || B.ttlSeconds > 86400) && (e.ttlSeconds = o(L, "sandbox.create.errors.ttlRange", "TTL must be 10m-24h")), B.containers.length === 0 && (e.containers = o(L, "sandbox.create.errors.containersRequired", "At least one container is required")), B.containers.forEach((t, n) => {
230
- t.name.trim() || (e[`container_${n}_name`] = o(L, "sandbox.create.errors.containerNameRequired", "Container name is required")), t.image.trim() || (e[`container_${n}_image`] = o(L, "sandbox.create.errors.containerImageRequired", "Container image is required"));
231
- }), U(e), Object.keys(e).length === 0;
232
- }, be = async (e) => {
233
- if (e.preventDefault(), !ye()) {
234
- Y("error", o(L, "sandbox.create.notifications.fixErrors", "Please fix the form errors"));
230
+ return z.name.trim() || (e.name = a(I, "sandbox.create.errors.nameRequired", "Name is required")), z.cpuRequest.trim() || (e.cpuRequest = a(I, "sandbox.create.errors.cpuRequestRequired", "CPU request is required")), z.cpuLimit.trim() || (e.cpuLimit = a(I, "sandbox.create.errors.cpuLimitRequired", "CPU limit is required")), z.memoryRequest.trim() || (e.memoryRequest = a(I, "sandbox.create.errors.memoryRequestRequired", "Memory request is required")), z.memoryLimit.trim() || (e.memoryLimit = a(I, "sandbox.create.errors.memoryLimitRequired", "Memory limit is required")), (z.ttlSeconds < 600 || z.ttlSeconds > 86400) && (e.ttlSeconds = a(I, "sandbox.create.errors.ttlRange", "TTL must be 10m-24h")), z.containers.length === 0 && (e.containers = a(I, "sandbox.create.errors.containersRequired", "At least one container is required")), z.containers.forEach((t, n) => {
231
+ t.name.trim() || (e[`container_${n}_name`] = a(I, "sandbox.create.errors.containerNameRequired", "Container name is required")), t.image.trim() || (e[`container_${n}_image`] = a(I, "sandbox.create.errors.containerImageRequired", "Container image is required"));
232
+ }), H(e), Object.keys(e).length === 0;
233
+ }, xe = async (e) => {
234
+ if (e.preventDefault(), !be()) {
235
+ Y("error", a(I, "sandbox.create.notifications.fixErrors", "Please fix the form errors"));
235
236
  return;
236
237
  }
237
- q(!0);
238
+ K(!0);
238
239
  try {
239
- let e = B.containers.map((e) => {
240
- let t = (e._registryType || "burdenoff") === "burdenoff" ? re(e.image) : e.image;
240
+ let e = z.containers.map((e) => {
241
+ let t = (e._registryType || "burdenoff") === "burdenoff" ? ie(e.image) : e.image;
241
242
  return {
242
243
  name: e.name,
243
244
  image: t,
@@ -253,185 +254,185 @@ function I() {
253
254
  limitsMemory: e.limitsMemory || void 0
254
255
  } : void 0
255
256
  };
256
- }), t = await fe({ variables: { input: {
257
- context: { workspaceId: M },
258
- name: B.name,
259
- description: B.description || void 0,
260
- template: B.template,
261
- mode: B.mode,
257
+ }), t = await pe({ variables: { input: {
258
+ context: { workspaceId: P },
259
+ name: z.name,
260
+ description: z.description || void 0,
261
+ template: z.template,
262
+ mode: z.mode,
262
263
  containers: e,
263
264
  resources: {
264
- cpuRequest: B.cpuRequest,
265
- cpuLimit: B.cpuLimit,
266
- memoryRequest: B.memoryRequest,
267
- memoryLimit: B.memoryLimit
265
+ cpuRequest: z.cpuRequest,
266
+ cpuLimit: z.cpuLimit,
267
+ memoryRequest: z.memoryRequest,
268
+ memoryLimit: z.memoryLimit
268
269
  },
269
270
  storage: {
270
- mode: B.storageMode,
271
- sizeGi: B.storageMode === "NONE" ? void 0 : B.storageSizeGi,
272
- mountPath: B.storageMode === "NONE" ? void 0 : B.storageMountPath,
273
- retainOnDelete: B.storageMode === "PERSISTENT" ? B.storageRetainOnDelete : !1,
274
- filesFolderId: B.storageMode !== "NONE" && B.filesFolderId ? B.filesFolderId : void 0
271
+ mode: z.storageMode,
272
+ sizeGi: z.storageMode === "NONE" ? void 0 : z.storageSizeGi,
273
+ mountPath: z.storageMode === "NONE" ? void 0 : z.storageMountPath,
274
+ retainOnDelete: z.storageMode === "PERSISTENT" ? z.storageRetainOnDelete : !1,
275
+ filesFolderId: z.storageMode !== "NONE" && z.filesFolderId ? z.filesFolderId : void 0
275
276
  },
276
- ttlSeconds: B.ttlSeconds,
277
+ ttlSeconds: z.ttlSeconds,
277
278
  metadata: {
278
- globalGatewayUrl: B.globalGatewayUrl || void 0,
279
- workspaceGatewayUrl: B.workspaceGatewayUrl || void 0,
280
- tags: R.length ? R : void 0
279
+ globalGatewayUrl: z.globalGatewayUrl || void 0,
280
+ workspaceGatewayUrl: z.workspaceGatewayUrl || void 0,
281
+ tags: L.length ? L : void 0
281
282
  }
282
283
  } } });
283
284
  if (t.error) {
284
- Y("error", o(L, "sandbox.create.notifications.createFailed", "Failed to create sandbox") + `: ${t.error.message}`);
285
+ Y("error", a(I, "sandbox.create.notifications.createFailed", "Failed to create sandbox") + `: ${t.error.message}`);
285
286
  return;
286
287
  }
287
288
  let n = t.data?.createSandbox;
288
289
  if (!n) {
289
- Y("error", o(L, "sandbox.create.notifications.createFailed", "Failed to create sandbox"));
290
+ Y("error", a(I, "sandbox.create.notifications.createFailed", "Failed to create sandbox"));
290
291
  return;
291
292
  }
292
- I.sandboxCreated({
293
+ F.sandboxCreated({
293
294
  sandboxId: n.id,
294
295
  kind: n.kind?.toLowerCase?.() === "internal" ? "internal" : "user",
295
296
  source: n.source ?? "manual"
296
- }), Y("success", o(L, "sandbox.create.notifications.createSuccess", "Sandbox created successfully! Provisioning..."));
297
- let r = `${g.replace(/\/$/, "")}/${n.id}`;
298
- setTimeout(() => O?.(r), 1500);
297
+ }), Y("success", a(I, "sandbox.create.notifications.createSuccess", "Sandbox created successfully! Provisioning..."));
298
+ let r = `${D.replace(/\/$/, "")}/${n.id}`;
299
+ setTimeout(() => A?.(r), 1500);
299
300
  } catch {
300
- Y("error", o(L, "sandbox.create.notifications.createFailed", "Failed to create sandbox"));
301
+ Y("error", a(I, "sandbox.create.notifications.createFailed", "Failed to create sandbox"));
301
302
  } finally {
302
- q(!1);
303
+ K(!1);
303
304
  }
304
305
  }, $ = (e) => {
305
306
  let t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60);
306
307
  return t > 0 && n > 0 ? `${t}h ${n}m` : t > 0 ? `${t}h` : `${n}m`;
307
308
  };
308
- return /* @__PURE__ */ D(te, {
309
+ return /* @__PURE__ */ E(ne, {
309
310
  showHeader: !1,
310
311
  children: [
311
- W && /* @__PURE__ */ D("div", {
312
- className: `fixed top-4 right-4 z-50 flex items-center gap-3 px-5 py-3 rounded-xl shadow-2xl border-2 animate-in slide-in-from-top-4 duration-200 ${W.type === "success" ? "bg-status-success-bg-subtle text-status-success-text border-border-default" : "bg-status-error-bg-subtle text-status-error-text border-border-default"}`,
312
+ U && /* @__PURE__ */ E("div", {
313
+ className: `fixed top-4 right-4 z-50 flex items-center gap-3 px-5 py-3 rounded-xl shadow-2xl border-2 animate-in slide-in-from-top-4 duration-200 ${U.type === "success" ? "bg-status-success-bg-subtle text-status-success-text border-border-default" : "bg-status-error-bg-subtle text-status-error-text border-border-default"}`,
313
314
  children: [
314
- W.type === "success" ? /* @__PURE__ */ E(ae, { size: 20 }) : /* @__PURE__ */ E(f, { size: 20 }),
315
- /* @__PURE__ */ E("span", {
315
+ U.type === "success" ? /* @__PURE__ */ T(p, { size: 20 }) : /* @__PURE__ */ T(d, { size: 20 }),
316
+ /* @__PURE__ */ T("span", {
316
317
  className: "font-medium",
317
- children: W.message
318
+ children: U.message
318
319
  }),
319
- /* @__PURE__ */ E("button", {
320
+ /* @__PURE__ */ T("button", {
320
321
  type: "button",
321
- onClick: () => G(null),
322
- "aria-label": "Dismiss notification",
322
+ onClick: () => W(null),
323
+ "aria-label": a(I, "sandbox.create.notification.dismiss", "Dismiss notification"),
323
324
  className: "ml-2 p-1 rounded-md hover:bg-accent",
324
- children: /* @__PURE__ */ E(T, { size: 16 })
325
+ children: /* @__PURE__ */ T(w, { size: 16 })
325
326
  })
326
327
  ]
327
328
  }),
328
- /* @__PURE__ */ D(a, {
329
+ /* @__PURE__ */ E(ee, {
329
330
  className: "overflow-hidden bg-hero-mesh",
330
- children: [/* @__PURE__ */ D("div", {
331
+ children: [/* @__PURE__ */ E("div", {
331
332
  className: "flex items-center gap-4",
332
- children: [/* @__PURE__ */ E("button", {
333
+ children: [/* @__PURE__ */ T("button", {
333
334
  type: "button",
334
- onClick: () => O?.(g),
335
+ onClick: () => A?.(D),
335
336
  className: "flex size-11 flex-shrink-0 items-center justify-center rounded-lg hover:bg-bg-sunken/60 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-border",
336
- "aria-label": o(L, "sandbox.create.header.back.ariaLabel", "Back to sandboxes"),
337
- children: /* @__PURE__ */ E(ie, { size: 20 })
338
- }), /* @__PURE__ */ D("div", {
337
+ "aria-label": a(I, "sandbox.create.header.back.ariaLabel", "Back to sandboxes"),
338
+ children: /* @__PURE__ */ T(ae, { size: 20 })
339
+ }), /* @__PURE__ */ E("div", {
339
340
  className: "flex items-center gap-3",
340
- children: [/* @__PURE__ */ E("div", {
341
+ children: [/* @__PURE__ */ T("div", {
341
342
  className: "p-2.5 rounded-lg bg-action-primary-bg/10",
342
- children: /* @__PURE__ */ E(p, {
343
+ children: /* @__PURE__ */ T(f, {
343
344
  size: 24,
344
345
  className: "text-primary"
345
346
  })
346
- }), /* @__PURE__ */ E("h1", {
347
+ }), /* @__PURE__ */ T("h1", {
347
348
  className: "text-2xl sm:text-3xl font-bold",
348
- children: o(L, "sandbox.create.header.title", "Create Sandbox")
349
+ children: a(I, "sandbox.create.header.title", "Create Sandbox")
349
350
  })]
350
351
  })]
351
- }), /* @__PURE__ */ E(le, {
352
+ }), /* @__PURE__ */ T(ue, {
352
353
  className: "mt-3",
353
- children: o(L, "sandbox.create.purpose", "Define a fresh, throwaway environment: pick a base image (or a template), set how much CPU/memory it gets, choose storage and a time-to-live, then launch. Use it to test a build, demo an AI agent, or reproduce an issue — it tears itself down when the TTL runs out.")
354
+ children: a(I, "sandbox.create.purpose", "Define a fresh, throwaway environment: pick a base image (or a template), set how much CPU/memory it gets, choose storage and a time-to-live, then launch. Use it to test a build, demo an AI agent, or reproduce an issue — it tears itself down when the TTL runs out.")
354
355
  })]
355
356
  }),
356
- /* @__PURE__ */ D("form", {
357
- onSubmit: be,
357
+ /* @__PURE__ */ E("form", {
358
+ onSubmit: xe,
358
359
  className: "space-y-6",
359
360
  children: [
360
- /* @__PURE__ */ E(r, {
361
+ /* @__PURE__ */ T(r, {
361
362
  className: "border-border-seam",
362
- children: /* @__PURE__ */ D(i, {
363
+ children: /* @__PURE__ */ E(i, {
363
364
  className: "p-6 space-y-5",
364
365
  children: [
365
- /* @__PURE__ */ D("h2", {
366
+ /* @__PURE__ */ E("h2", {
366
367
  className: "text-lg font-bold flex items-center gap-2",
367
- children: [/* @__PURE__ */ E(_, {
368
+ children: [/* @__PURE__ */ T(v, {
368
369
  size: 18,
369
370
  className: "text-primary"
370
- }), o(L, "sandbox.create.sections.basicInfo.title", "Basic Information")]
371
+ }), a(I, "sandbox.create.sections.basicInfo.title", "Basic Information")]
371
372
  }),
372
- /* @__PURE__ */ D("div", { children: [
373
- /* @__PURE__ */ D("label", {
373
+ /* @__PURE__ */ E("div", { children: [
374
+ /* @__PURE__ */ E("label", {
374
375
  htmlFor: "name",
375
376
  className: "block text-sm font-semibold mb-2",
376
377
  children: [
377
- o(L, "sandbox.create.fields.name.label", "Name"),
378
+ a(I, "sandbox.create.fields.name.label", "Name"),
378
379
  " ",
379
- /* @__PURE__ */ E("span", {
380
+ /* @__PURE__ */ T("span", {
380
381
  className: "text-status-error-text",
381
382
  children: "*"
382
383
  })
383
384
  ]
384
385
  }),
385
- /* @__PURE__ */ E("input", {
386
- "aria-label": "Name",
386
+ /* @__PURE__ */ T("input", {
387
+ "aria-label": a(I, "sandbox.create.fields.name.ariaLabel", "Name"),
387
388
  type: "text",
388
389
  id: "name",
389
- value: B.name,
390
+ value: z.name,
390
391
  onChange: (e) => X("name", e.target.value),
391
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.name ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
392
- placeholder: o(L, "sandbox.create.fields.name.placeholder", "My Sandbox")
392
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V.name ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
393
+ placeholder: a(I, "sandbox.create.fields.name.placeholder", "My Sandbox")
393
394
  }),
394
- H.name && /* @__PURE__ */ D("p", {
395
+ V.name && /* @__PURE__ */ E("p", {
395
396
  className: "text-sm text-status-error-text mt-1 flex items-center gap-1",
396
- children: [/* @__PURE__ */ E(f, { size: 14 }), H.name]
397
+ children: [/* @__PURE__ */ T(d, { size: 14 }), V.name]
397
398
  })
398
399
  ] }),
399
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
400
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
400
401
  htmlFor: "description",
401
402
  className: "block text-sm font-semibold mb-2",
402
- children: o(L, "sandbox.create.fields.description.label", "Description")
403
- }), /* @__PURE__ */ E("textarea", {
404
- "aria-label": "Description",
403
+ children: a(I, "sandbox.create.fields.description.label", "Description")
404
+ }), /* @__PURE__ */ T("textarea", {
405
+ "aria-label": a(I, "sandbox.create.fields.description.ariaLabel", "Description"),
405
406
  id: "description",
406
- value: B.description,
407
+ value: z.description,
407
408
  onChange: (e) => X("description", e.target.value),
408
409
  rows: 3,
409
410
  className: "w-full px-4 py-2.5 border-2 border-border-subtle rounded-lg bg-bg-surface focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
410
- placeholder: o(L, "sandbox.create.fields.description.placeholder", "What is this sandbox for?")
411
+ placeholder: a(I, "sandbox.create.fields.description.placeholder", "What is this sandbox for?")
411
412
  })] }),
412
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
413
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
413
414
  className: "block text-sm font-semibold mb-3",
414
- children: o(L, "sandbox.create.fields.template.label", "Template")
415
- }), /* @__PURE__ */ E("div", {
415
+ children: a(I, "sandbox.create.fields.template.label", "Template")
416
+ }), /* @__PURE__ */ T("div", {
416
417
  className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
417
- children: ue.map((e) => {
418
- let t = e.icon, n = B.template === e.value;
419
- return /* @__PURE__ */ D("button", {
418
+ children: de.map((e) => {
419
+ let t = e.icon, n = z.template === e.value;
420
+ return /* @__PURE__ */ E("button", {
420
421
  type: "button",
421
422
  onClick: () => {
422
- e.value === "MISC_SHELL" ? V((e) => ({
423
+ e.value === "MISC_SHELL" ? B((e) => ({
423
424
  ...e,
424
425
  template: "MISC_SHELL",
425
426
  containers: [{
426
- _rowId: k(),
427
+ _rowId: O(),
427
428
  name: "main",
428
- image: N,
429
+ image: j,
429
430
  ports: [{
430
- _rowId: k(),
431
+ _rowId: O(),
431
432
  containerPort: 80,
432
433
  name: "nginx"
433
434
  }, {
434
- _rowId: k(),
435
+ _rowId: O(),
435
436
  containerPort: 3005,
436
437
  name: "agent"
437
438
  }],
@@ -442,11 +443,11 @@ function I() {
442
443
  limitsMemory: "2Gi",
443
444
  _registryType: "burdenoff"
444
445
  }]
445
- })) : V((e) => ({
446
+ })) : B((e) => ({
446
447
  ...e,
447
448
  template: "CUSTOM",
448
449
  containers: [{
449
- ...A(),
450
+ ...k(),
450
451
  name: "main",
451
452
  image: ""
452
453
  }]
@@ -454,26 +455,26 @@ function I() {
454
455
  },
455
456
  className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${n ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
456
457
  children: [
457
- /* @__PURE__ */ E(t, {
458
+ /* @__PURE__ */ T(t, {
458
459
  size: 24,
459
460
  className: n ? "text-primary" : "text-text-secondary"
460
461
  }),
461
- /* @__PURE__ */ E("p", {
462
+ /* @__PURE__ */ T("p", {
462
463
  className: "font-medium mt-2",
463
- children: o(L, e.labelKey, e.labelFallback)
464
+ children: a(I, e.labelKey, e.labelFallback)
464
465
  }),
465
- /* @__PURE__ */ E("p", {
466
+ /* @__PURE__ */ T("p", {
466
467
  className: "text-xs text-text-secondary mt-0.5",
467
- children: o(L, e.descriptionKey, e.descriptionFallback)
468
+ children: a(I, e.descriptionKey, e.descriptionFallback)
468
469
  })
469
470
  ]
470
471
  }, e.value);
471
472
  })
472
473
  })] }),
473
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("label", {
474
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("label", {
474
475
  className: "block text-sm font-semibold mb-3",
475
- children: [o(L, "sandbox.create.fields.executionMode.label", "Execution Mode"), /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.fields.executionMode.help", "Deployment keeps your sandbox running continuously and restarts on failure. Job runs to completion and exits when done.") })]
476
- }), /* @__PURE__ */ E("div", {
476
+ children: [a(I, "sandbox.create.fields.executionMode.label", "Execution Mode"), /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.fields.executionMode.help", "Deployment keeps your sandbox running continuously and restarts on failure. Job runs to completion and exits when done.") })]
477
+ }), /* @__PURE__ */ T("div", {
477
478
  className: "grid grid-cols-2 gap-3",
478
479
  children: [{
479
480
  value: "DEPLOYMENT",
@@ -487,260 +488,260 @@ function I() {
487
488
  labelFallback: "Job",
488
489
  descKey: "sandbox.create.fields.executionMode.job.description",
489
490
  descFallback: "Run-to-completion task (exits when done)"
490
- }].map((e) => /* @__PURE__ */ D("button", {
491
+ }].map((e) => /* @__PURE__ */ E("button", {
491
492
  type: "button",
492
493
  onClick: () => X("mode", e.value),
493
- className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${B.mode === e.value ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
494
- children: [/* @__PURE__ */ E("p", {
494
+ className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${z.mode === e.value ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
495
+ children: [/* @__PURE__ */ T("p", {
495
496
  className: "font-medium text-sm",
496
- children: o(L, e.labelKey, e.labelFallback)
497
- }), /* @__PURE__ */ E("p", {
497
+ children: a(I, e.labelKey, e.labelFallback)
498
+ }), /* @__PURE__ */ T("p", {
498
499
  className: "text-xs text-text-secondary mt-0.5",
499
- children: o(L, e.descKey, e.descFallback)
500
+ children: a(I, e.descKey, e.descFallback)
500
501
  })]
501
502
  }, e.value))
502
503
  })] })
503
504
  ]
504
505
  })
505
506
  }),
506
- J.length > 0 && /* @__PURE__ */ E(r, {
507
+ J.length > 0 && /* @__PURE__ */ T(r, {
507
508
  className: "border-border-seam",
508
- children: /* @__PURE__ */ D(i, {
509
+ children: /* @__PURE__ */ E(i, {
509
510
  className: "p-6 space-y-4",
510
511
  children: [
511
- /* @__PURE__ */ D("h2", {
512
+ /* @__PURE__ */ E("h2", {
512
513
  className: "text-lg font-bold flex items-center gap-2",
513
- children: [/* @__PURE__ */ E(p, {
514
+ children: [/* @__PURE__ */ T(f, {
514
515
  size: 18,
515
516
  className: "text-primary"
516
- }), o(L, "sandbox.create.sections.quickStartTemplates.title", "Quick Start Templates")]
517
+ }), a(I, "sandbox.create.sections.quickStartTemplates.title", "Quick Start Templates")]
517
518
  }),
518
- /* @__PURE__ */ E("div", {
519
+ /* @__PURE__ */ T("div", {
519
520
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",
520
- children: J.map((e) => /* @__PURE__ */ D("button", {
521
+ children: J.map((e) => /* @__PURE__ */ E("button", {
521
522
  type: "button",
522
- onClick: () => pe(e),
523
- className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${B.templateId === e.id ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
523
+ onClick: () => me(e),
524
+ className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${z.templateId === e.id ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
524
525
  children: [
525
- /* @__PURE__ */ D("div", {
526
+ /* @__PURE__ */ E("div", {
526
527
  className: "flex items-center gap-2 mb-2",
527
- children: [/* @__PURE__ */ E("span", {
528
+ children: [/* @__PURE__ */ T("span", {
528
529
  className: "font-medium text-sm",
529
530
  children: e.name
530
- }), e.isDefault && /* @__PURE__ */ E(t, {
531
+ }), e.isDefault && /* @__PURE__ */ T(t, {
531
532
  variant: "secondary",
532
533
  className: "text-xs",
533
- children: o(L, "sandbox.create.sections.quickStartTemplates.defaultBadge", "Default")
534
+ children: a(I, "sandbox.create.sections.quickStartTemplates.defaultBadge", "Default")
534
535
  })]
535
536
  }),
536
- e.description && /* @__PURE__ */ E("p", {
537
+ e.description && /* @__PURE__ */ T("p", {
537
538
  className: "text-xs text-text-secondary mb-2",
538
539
  children: e.description
539
540
  }),
540
- /* @__PURE__ */ D("div", {
541
+ /* @__PURE__ */ E("div", {
541
542
  className: "flex items-center gap-2 text-xs text-text-secondary",
542
543
  children: [
543
- /* @__PURE__ */ D("span", { children: [e.resources?.cpuRequest ?? "?", " CPU"] }),
544
- /* @__PURE__ */ E("span", {
544
+ /* @__PURE__ */ E("span", { children: [e.resources?.cpuRequest ?? "?", " CPU"] }),
545
+ /* @__PURE__ */ T("span", {
545
546
  className: "text-text-secondary/40",
546
547
  children: "|"
547
548
  }),
548
- /* @__PURE__ */ D("span", { children: [e.resources?.memoryRequest ?? "?", " mem"] }),
549
- /* @__PURE__ */ E("span", {
549
+ /* @__PURE__ */ E("span", { children: [e.resources?.memoryRequest ?? "?", " mem"] }),
550
+ /* @__PURE__ */ T("span", {
550
551
  className: "text-text-secondary/40",
551
552
  children: "|"
552
553
  }),
553
- /* @__PURE__ */ D("span", { children: [e.containers?.length ?? 0, " containers"] }),
554
- /* @__PURE__ */ E("span", {
554
+ /* @__PURE__ */ E("span", { children: [e.containers?.length ?? 0, " containers"] }),
555
+ /* @__PURE__ */ T("span", {
555
556
  className: "text-text-secondary/40",
556
557
  children: "|"
557
558
  }),
558
- /* @__PURE__ */ E("span", { children: $(e.ttlSeconds) })
559
+ /* @__PURE__ */ T("span", { children: $(e.ttlSeconds) })
559
560
  ]
560
561
  })
561
562
  ]
562
563
  }, e.id))
563
564
  }),
564
- /* @__PURE__ */ E("p", {
565
+ /* @__PURE__ */ T("p", {
565
566
  className: "text-xs text-text-secondary",
566
- children: o(L, "sandbox.create.sections.quickStartTemplates.hint", "Select a template or customize resources below")
567
+ children: a(I, "sandbox.create.sections.quickStartTemplates.hint", "Select a template or customize resources below")
567
568
  })
568
569
  ]
569
570
  })
570
571
  }),
571
- /* @__PURE__ */ E(r, {
572
+ /* @__PURE__ */ T(r, {
572
573
  className: "border-border-seam",
573
- children: /* @__PURE__ */ D(i, {
574
+ children: /* @__PURE__ */ E(i, {
574
575
  className: "p-6 space-y-5",
575
576
  children: [
576
- /* @__PURE__ */ D("div", {
577
+ /* @__PURE__ */ E("div", {
577
578
  className: "flex items-center justify-between",
578
- children: [/* @__PURE__ */ D("h2", {
579
+ children: [/* @__PURE__ */ E("h2", {
579
580
  className: "text-lg font-bold flex items-center gap-2",
580
581
  children: [
581
- /* @__PURE__ */ E(oe, {
582
+ /* @__PURE__ */ T(m, {
582
583
  size: 18,
583
584
  className: "text-primary"
584
585
  }),
585
- o(L, "sandbox.create.sections.containers.title", "Containers"),
586
- /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.sections.containers.help", "A container is the application that runs inside your sandbox. The default sandbox image includes VibeControls agent, Bun, nginx, and common dev tools pre-installed.") }),
587
- /* @__PURE__ */ E(t, {
586
+ a(I, "sandbox.create.sections.containers.title", "Containers"),
587
+ /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.sections.containers.help", "A container is the application that runs inside your sandbox. The default sandbox image includes VibeControls agent, Bun, nginx, and common dev tools pre-installed.") }),
588
+ /* @__PURE__ */ T(t, {
588
589
  variant: "secondary",
589
- children: B.containers.length
590
+ children: z.containers.length
590
591
  })
591
592
  ]
592
- }), /* @__PURE__ */ D(n, {
593
+ }), /* @__PURE__ */ E(n, {
593
594
  type: "button",
594
595
  variant: "outline",
595
596
  size: "sm",
596
- onClick: me,
597
- children: [/* @__PURE__ */ E(b, { size: 14 }), o(L, "sandbox.create.sections.containers.addContainer", "Add Container")]
597
+ onClick: he,
598
+ children: [/* @__PURE__ */ T(x, { size: 14 }), a(I, "sandbox.create.sections.containers.addContainer", "Add Container")]
598
599
  })]
599
600
  }),
600
- H.containers && /* @__PURE__ */ D("p", {
601
+ V.containers && /* @__PURE__ */ E("p", {
601
602
  className: "text-sm text-status-error-text flex items-center gap-1",
602
- children: [/* @__PURE__ */ E(f, { size: 14 }), H.containers]
603
+ children: [/* @__PURE__ */ T(d, { size: 14 }), V.containers]
603
604
  }),
604
- /* @__PURE__ */ E("div", {
605
+ /* @__PURE__ */ T("div", {
605
606
  className: "space-y-4",
606
- children: B.containers.map((e, t) => /* @__PURE__ */ D("div", {
607
+ children: z.containers.map((e, t) => /* @__PURE__ */ E("div", {
607
608
  className: "p-4 rounded-lg border-2 border-border-subtle/50 bg-bg-sunken/20 space-y-4",
608
609
  children: [
609
- /* @__PURE__ */ D("div", {
610
+ /* @__PURE__ */ E("div", {
610
611
  className: "flex items-center justify-between",
611
- children: [/* @__PURE__ */ D("h3", {
612
+ children: [/* @__PURE__ */ E("h3", {
612
613
  className: "font-semibold text-sm",
613
- children: [o(L, "sandbox.create.container.heading", "Container #{number}", { number: t + 1 }), e.name && `: ${e.name}`]
614
- }), B.containers.length > 1 && /* @__PURE__ */ E(n, {
614
+ children: [a(I, "sandbox.create.container.heading", "Container #{number}", { number: t + 1 }), e.name && `: ${e.name}`]
615
+ }), z.containers.length > 1 && /* @__PURE__ */ T(n, {
615
616
  type: "button",
616
617
  variant: "ghost",
617
618
  size: "icon",
618
619
  className: "text-status-error-text hover:text-status-error-text size-7",
619
- onClick: () => he(t),
620
- children: /* @__PURE__ */ E(w, { size: 14 })
620
+ onClick: () => ge(t),
621
+ children: /* @__PURE__ */ T(se, { size: 14 })
621
622
  })]
622
623
  }),
623
- /* @__PURE__ */ D("div", { children: [
624
- /* @__PURE__ */ D("label", {
624
+ /* @__PURE__ */ E("div", { children: [
625
+ /* @__PURE__ */ E("label", {
625
626
  className: "block text-xs font-semibold mb-1",
626
627
  children: [
627
- o(L, "sandbox.create.container.fields.name.label", "Name"),
628
+ a(I, "sandbox.create.container.fields.name.label", "Name"),
628
629
  " ",
629
- /* @__PURE__ */ E("span", {
630
+ /* @__PURE__ */ T("span", {
630
631
  className: "text-status-error-text",
631
632
  children: "*"
632
633
  })
633
634
  ]
634
635
  }),
635
- /* @__PURE__ */ E("input", {
636
- "aria-label": "Name",
636
+ /* @__PURE__ */ T("input", {
637
+ "aria-label": a(I, "sandbox.create.container.fields.name.label", "Name"),
637
638
  type: "text",
638
639
  value: e.name,
639
640
  onChange: (e) => Z(t, "name", e.target.value),
640
- className: `w-full px-3 py-2 border-2 rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_name`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
641
- placeholder: o(L, "sandbox.create.container.fields.name.placeholder", "main")
641
+ className: `w-full px-3 py-2 border-2 rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V[`container_${t}_name`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
642
+ placeholder: a(I, "sandbox.create.container.fields.name.placeholder", "main")
642
643
  }),
643
- H[`container_${t}_name`] && /* @__PURE__ */ E("p", {
644
+ V[`container_${t}_name`] && /* @__PURE__ */ T("p", {
644
645
  className: "text-xs text-status-error-text mt-1",
645
- children: H[`container_${t}_name`]
646
+ children: V[`container_${t}_name`]
646
647
  })
647
648
  ] }),
648
- /* @__PURE__ */ D("div", { children: [
649
- /* @__PURE__ */ D("label", {
649
+ /* @__PURE__ */ E("div", { children: [
650
+ /* @__PURE__ */ E("label", {
650
651
  className: "block text-xs font-semibold mb-1",
651
652
  children: [
652
- o(L, "sandbox.create.container.fields.image.label", "Image"),
653
+ a(I, "sandbox.create.container.fields.image.label", "Image"),
653
654
  " ",
654
- /* @__PURE__ */ E("span", {
655
+ /* @__PURE__ */ T("span", {
655
656
  className: "text-status-error-text",
656
657
  children: "*"
657
658
  })
658
659
  ]
659
660
  }),
660
- /* @__PURE__ */ D("div", {
661
+ /* @__PURE__ */ E("div", {
661
662
  className: "flex gap-2 mb-2",
662
- children: [/* @__PURE__ */ E("button", {
663
+ children: [/* @__PURE__ */ T("button", {
663
664
  type: "button",
664
665
  onClick: () => Z(t, "_registryType", "burdenoff"),
665
666
  className: `flex-1 rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors ${(e._registryType || "burdenoff") === "burdenoff" ? "border-primary bg-action-primary-bg/10 text-primary" : "border-border-default text-text-secondary hover:bg-bg-sunken"}`,
666
- children: o(L, "sandbox.create.container.fields.image.registryBurdenoff", "Burdenoff Repositories")
667
- }), /* @__PURE__ */ E("button", {
667
+ children: a(I, "sandbox.create.container.fields.image.registryBurdenoff", "Burdenoff Repositories")
668
+ }), /* @__PURE__ */ T("button", {
668
669
  type: "button",
669
670
  onClick: () => Z(t, "_registryType", "custom"),
670
671
  className: `flex-1 rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors ${e._registryType === "custom" ? "border-primary bg-action-primary-bg/10 text-primary" : "border-border-default text-text-secondary hover:bg-bg-sunken"}`,
671
- children: o(L, "sandbox.create.container.fields.image.registryCustom", "Custom (Docker Hub)")
672
+ children: a(I, "sandbox.create.container.fields.image.registryCustom", "Custom (Docker Hub)")
672
673
  })]
673
674
  }),
674
- (e._registryType || "burdenoff") === "burdenoff" ? /* @__PURE__ */ D("div", {
675
+ (e._registryType || "burdenoff") === "burdenoff" ? /* @__PURE__ */ E("div", {
675
676
  className: "flex items-center",
676
- children: [/* @__PURE__ */ E("span", {
677
+ children: [/* @__PURE__ */ T("span", {
677
678
  className: "px-3 py-2 border-2 border-r-0 rounded-l-lg bg-bg-sunken text-xs text-text-secondary font-mono whitespace-nowrap",
678
679
  children: "burdenoffregistry.azurecr.io/"
679
- }), /* @__PURE__ */ E("input", {
680
- "aria-label": "input",
680
+ }), /* @__PURE__ */ T("input", {
681
+ "aria-label": a(I, "sandbox.create.container.fields.image.label", "Image"),
681
682
  type: "text",
682
- value: u(e.image),
683
+ value: l(e.image),
683
684
  onChange: (e) => Z(t, "image", e.target.value),
684
- className: `w-full px-3 py-2 border-2 rounded-r-lg bg-bg-surface text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_image`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
685
- placeholder: N
685
+ className: `w-full px-3 py-2 border-2 rounded-r-lg bg-bg-surface text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V[`container_${t}_image`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
686
+ placeholder: j
686
687
  })]
687
- }) : /* @__PURE__ */ E("input", {
688
- "aria-label": "input",
688
+ }) : /* @__PURE__ */ T("input", {
689
+ "aria-label": a(I, "sandbox.create.container.fields.image.label", "Image"),
689
690
  type: "text",
690
691
  value: e.image,
691
692
  onChange: (e) => Z(t, "image", e.target.value),
692
- className: `w-full px-3 py-2 border-2 rounded-lg bg-bg-surface text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_image`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
693
- placeholder: "nginx:alpine"
693
+ className: `w-full px-3 py-2 border-2 rounded-lg bg-bg-surface text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V[`container_${t}_image`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
694
+ placeholder: a(I, "sandbox.create.container.fields.image.placeholderCustom", "nginx:alpine")
694
695
  }),
695
- H[`container_${t}_image`] && /* @__PURE__ */ E("p", {
696
+ V[`container_${t}_image`] && /* @__PURE__ */ T("p", {
696
697
  className: "text-xs text-status-error-text mt-1",
697
- children: H[`container_${t}_image`]
698
+ children: V[`container_${t}_image`]
698
699
  })
699
700
  ] }),
700
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
701
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
701
702
  className: "text-xs font-semibold mb-2 text-text-secondary",
702
- children: o(L, "sandbox.create.container.resources.title", "Per-Container Resources (optional)")
703
- }), /* @__PURE__ */ D("div", {
703
+ children: a(I, "sandbox.create.container.resources.title", "Per-Container Resources (optional)")
704
+ }), /* @__PURE__ */ E("div", {
704
705
  className: "grid grid-cols-2 sm:grid-cols-4 gap-3",
705
706
  children: [
706
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
707
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
707
708
  className: "block text-xs text-text-secondary mb-1",
708
- children: o(L, "sandbox.create.container.resources.cpuReq", "CPU Req")
709
- }), /* @__PURE__ */ E("input", {
710
- "aria-label": "CPU Req",
709
+ children: a(I, "sandbox.create.container.resources.cpuReq", "CPU Req")
710
+ }), /* @__PURE__ */ T("input", {
711
+ "aria-label": a(I, "sandbox.create.container.resources.cpuReq", "CPU Req"),
711
712
  type: "text",
712
713
  value: e.requestsCpu,
713
714
  onChange: (e) => Z(t, "requestsCpu", e.target.value),
714
715
  className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
715
716
  placeholder: "250m"
716
717
  })] }),
717
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
718
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
718
719
  className: "block text-xs text-text-secondary mb-1",
719
- children: o(L, "sandbox.create.container.resources.cpuLim", "CPU Lim")
720
- }), /* @__PURE__ */ E("input", {
721
- "aria-label": "CPU Lim",
720
+ children: a(I, "sandbox.create.container.resources.cpuLim", "CPU Lim")
721
+ }), /* @__PURE__ */ T("input", {
722
+ "aria-label": a(I, "sandbox.create.container.resources.cpuLim", "CPU Lim"),
722
723
  type: "text",
723
724
  value: e.limitsCpu,
724
725
  onChange: (e) => Z(t, "limitsCpu", e.target.value),
725
726
  className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
726
727
  placeholder: "1"
727
728
  })] }),
728
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
729
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
729
730
  className: "block text-xs text-text-secondary mb-1",
730
- children: o(L, "sandbox.create.container.resources.memReq", "Mem Req")
731
- }), /* @__PURE__ */ E("input", {
732
- "aria-label": "Mem Req",
731
+ children: a(I, "sandbox.create.container.resources.memReq", "Mem Req")
732
+ }), /* @__PURE__ */ T("input", {
733
+ "aria-label": a(I, "sandbox.create.container.resources.memReq", "Mem Req"),
733
734
  type: "text",
734
735
  value: e.requestsMemory,
735
736
  onChange: (e) => Z(t, "requestsMemory", e.target.value),
736
737
  className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
737
738
  placeholder: "512Mi"
738
739
  })] }),
739
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
740
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
740
741
  className: "block text-xs text-text-secondary mb-1",
741
- children: o(L, "sandbox.create.container.resources.memLim", "Mem Lim")
742
- }), /* @__PURE__ */ E("input", {
743
- "aria-label": "Mem Lim",
742
+ children: a(I, "sandbox.create.container.resources.memLim", "Mem Lim")
743
+ }), /* @__PURE__ */ T("input", {
744
+ "aria-label": a(I, "sandbox.create.container.resources.memLim", "Mem Lim"),
744
745
  type: "text",
745
746
  value: e.limitsMemory,
746
747
  onChange: (e) => Z(t, "limitsMemory", e.target.value),
@@ -749,22 +750,22 @@ function I() {
749
750
  })] })
750
751
  ]
751
752
  })] }),
752
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("div", {
753
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("div", {
753
754
  className: "flex items-center justify-between mb-2",
754
- children: [/* @__PURE__ */ E("p", {
755
+ children: [/* @__PURE__ */ T("p", {
755
756
  className: "text-xs font-semibold text-text-secondary",
756
- children: o(L, "sandbox.create.container.ports.title", "Ports")
757
- }), /* @__PURE__ */ E("button", {
757
+ children: a(I, "sandbox.create.container.ports.title", "Ports")
758
+ }), /* @__PURE__ */ T("button", {
758
759
  type: "button",
759
- onClick: () => ge(t),
760
+ onClick: () => _e(t),
760
761
  className: "text-xs text-primary hover:underline",
761
- children: o(L, "sandbox.create.container.ports.add", "+ Add Port")
762
+ children: a(I, "sandbox.create.container.ports.add", "+ Add Port")
762
763
  })]
763
- }), e.ports.map((n, r) => /* @__PURE__ */ D("div", {
764
+ }), e.ports.map((n, r) => /* @__PURE__ */ E("div", {
764
765
  className: "flex items-center gap-2 mb-2",
765
766
  children: [
766
- /* @__PURE__ */ E("input", {
767
- "aria-label": "input",
767
+ /* @__PURE__ */ T("input", {
768
+ "aria-label": a(I, "sandbox.create.container.ports.portNumber", "Port"),
768
769
  type: "number",
769
770
  value: n.containerPort,
770
771
  onChange: (n) => {
@@ -777,8 +778,8 @@ function I() {
777
778
  className: "w-24 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
778
779
  placeholder: "8080"
779
780
  }),
780
- /* @__PURE__ */ E("input", {
781
- "aria-label": "input",
781
+ /* @__PURE__ */ T("input", {
782
+ "aria-label": a(I, "sandbox.create.container.ports.portName", "Port name"),
782
783
  type: "text",
783
784
  value: n.name,
784
785
  onChange: (n) => {
@@ -789,32 +790,32 @@ function I() {
789
790
  }, Z(t, "ports", i);
790
791
  },
791
792
  className: "flex-1 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs focus:outline-none focus:ring-2 focus:ring-primary/20",
792
- placeholder: o(L, "sandbox.create.container.ports.namePlaceholder", "Port name (optional)")
793
+ placeholder: a(I, "sandbox.create.container.ports.namePlaceholder", "Port name (optional)")
793
794
  }),
794
- /* @__PURE__ */ E("button", {
795
+ /* @__PURE__ */ T("button", {
795
796
  type: "button",
796
- onClick: () => _e(t, r),
797
+ onClick: () => Q(t, r),
797
798
  className: "p-1.5 text-status-error-text hover:bg-status-error-bg/10 rounded",
798
- children: /* @__PURE__ */ E(T, { size: 12 })
799
+ children: /* @__PURE__ */ T(w, { size: 12 })
799
800
  })
800
801
  ]
801
802
  }, n._rowId))] }),
802
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("div", {
803
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("div", {
803
804
  className: "flex items-center justify-between mb-2",
804
- children: [/* @__PURE__ */ E("p", {
805
+ children: [/* @__PURE__ */ T("p", {
805
806
  className: "text-xs font-semibold text-text-secondary",
806
- children: o(L, "sandbox.create.container.envVars.title", "Environment Variables")
807
- }), /* @__PURE__ */ E("button", {
807
+ children: a(I, "sandbox.create.container.envVars.title", "Environment Variables")
808
+ }), /* @__PURE__ */ T("button", {
808
809
  type: "button",
809
- onClick: () => Q(t),
810
+ onClick: () => ve(t),
810
811
  className: "text-xs text-primary hover:underline",
811
- children: o(L, "sandbox.create.container.envVars.add", "+ Add Variable")
812
+ children: a(I, "sandbox.create.container.envVars.add", "+ Add Variable")
812
813
  })]
813
- }), e.env.map((n, r) => /* @__PURE__ */ D("div", {
814
+ }), e.env.map((n, r) => /* @__PURE__ */ E("div", {
814
815
  className: "flex items-center gap-2 mb-2",
815
816
  children: [
816
- /* @__PURE__ */ E("input", {
817
- "aria-label": "input",
817
+ /* @__PURE__ */ T("input", {
818
+ "aria-label": a(I, "sandbox.create.container.envVars.key", "Key"),
818
819
  type: "text",
819
820
  value: n.name,
820
821
  onChange: (n) => {
@@ -825,10 +826,10 @@ function I() {
825
826
  }, Z(t, "env", i);
826
827
  },
827
828
  className: "w-1/3 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
828
- placeholder: "KEY"
829
+ placeholder: a(I, "sandbox.create.container.envVars.key", "KEY")
829
830
  }),
830
- /* @__PURE__ */ E("input", {
831
- "aria-label": "input",
831
+ /* @__PURE__ */ T("input", {
832
+ "aria-label": a(I, "sandbox.create.container.envVars.value", "Value"),
832
833
  type: "text",
833
834
  value: n.value,
834
835
  onChange: (n) => {
@@ -839,13 +840,13 @@ function I() {
839
840
  }, Z(t, "env", i);
840
841
  },
841
842
  className: "flex-1 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
842
- placeholder: "value"
843
+ placeholder: a(I, "sandbox.create.container.envVars.value", "value")
843
844
  }),
844
- /* @__PURE__ */ E("button", {
845
+ /* @__PURE__ */ T("button", {
845
846
  type: "button",
846
- onClick: () => ve(t, r),
847
+ onClick: () => ye(t, r),
847
848
  className: "p-1.5 text-status-error-text hover:bg-status-error-bg/10 rounded",
848
- children: /* @__PURE__ */ E(T, { size: 12 })
849
+ children: /* @__PURE__ */ T(w, { size: 12 })
849
850
  })
850
851
  ]
851
852
  }, `${e._rowId}-env-${r}-${n.name}`))] })
@@ -855,274 +856,274 @@ function I() {
855
856
  ]
856
857
  })
857
858
  }),
858
- /* @__PURE__ */ E(r, {
859
+ /* @__PURE__ */ T(r, {
859
860
  className: "border-border-seam",
860
- children: /* @__PURE__ */ D(i, {
861
+ children: /* @__PURE__ */ E(i, {
861
862
  className: "p-6 space-y-5",
862
863
  children: [
863
- /* @__PURE__ */ D("h2", {
864
+ /* @__PURE__ */ E("h2", {
864
865
  className: "text-lg font-bold flex items-center gap-2",
865
866
  children: [
866
- /* @__PURE__ */ E(m, {
867
+ /* @__PURE__ */ T(h, {
867
868
  size: 18,
868
869
  className: "text-primary"
869
870
  }),
870
- o(L, "sandbox.create.sections.podResources.title", "Pod Resources"),
871
- /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.sections.podResources.help", "Resources allocated to the entire sandbox. CPU is in millicores (1000m = 1 CPU core). Memory in MiB or GiB.") })
871
+ a(I, "sandbox.create.sections.podResources.title", "Pod Resources"),
872
+ /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.sections.podResources.help", "Resources allocated to the entire sandbox. CPU is in millicores (1000m = 1 CPU core). Memory in MiB or GiB.") })
872
873
  ]
873
874
  }),
874
- /* @__PURE__ */ E(ce, {
875
- title: o(L, "sandbox.create.sections.podResources.advancedTitle", "Advanced resource limits"),
876
- description: o(L, "sandbox.create.sections.podResources.advancedDescription", "CPU and memory requests/limits. Defaults work for most sandboxes."),
877
- children: /* @__PURE__ */ D("div", {
875
+ /* @__PURE__ */ T(le, {
876
+ title: a(I, "sandbox.create.sections.podResources.advancedTitle", "Advanced resource limits"),
877
+ description: a(I, "sandbox.create.sections.podResources.advancedDescription", "CPU and memory requests/limits. Defaults work for most sandboxes."),
878
+ children: /* @__PURE__ */ E("div", {
878
879
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
879
880
  children: [
880
- /* @__PURE__ */ D("div", { children: [
881
- /* @__PURE__ */ D("label", {
881
+ /* @__PURE__ */ E("div", { children: [
882
+ /* @__PURE__ */ E("label", {
882
883
  htmlFor: "cpuRequest",
883
884
  className: "text-sm font-semibold mb-2 flex items-center gap-2",
884
- children: [/* @__PURE__ */ E(m, {
885
+ children: [/* @__PURE__ */ T(h, {
885
886
  size: 14,
886
887
  className: "text-status-info-text"
887
- }), o(L, "sandbox.create.fields.cpuRequest.label", "CPU Request")]
888
+ }), a(I, "sandbox.create.fields.cpuRequest.label", "CPU Request")]
888
889
  }),
889
- /* @__PURE__ */ E("input", {
890
- "aria-label": "CPU Request",
890
+ /* @__PURE__ */ T("input", {
891
+ "aria-label": a(I, "sandbox.create.fields.cpuRequest.label", "CPU Request"),
891
892
  type: "text",
892
893
  id: "cpuRequest",
893
- value: B.cpuRequest,
894
+ value: z.cpuRequest,
894
895
  onChange: (e) => X("cpuRequest", e.target.value),
895
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.cpuRequest ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
896
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V.cpuRequest ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
896
897
  placeholder: "500m"
897
898
  }),
898
- H.cpuRequest && /* @__PURE__ */ E("p", {
899
+ V.cpuRequest && /* @__PURE__ */ T("p", {
899
900
  className: "text-sm text-status-error-text mt-1",
900
- children: H.cpuRequest
901
+ children: V.cpuRequest
901
902
  })
902
903
  ] }),
903
- /* @__PURE__ */ D("div", { children: [
904
- /* @__PURE__ */ D("label", {
904
+ /* @__PURE__ */ E("div", { children: [
905
+ /* @__PURE__ */ E("label", {
905
906
  htmlFor: "cpuLimit",
906
907
  className: "text-sm font-semibold mb-2 flex items-center gap-2",
907
- children: [/* @__PURE__ */ E(m, {
908
+ children: [/* @__PURE__ */ T(h, {
908
909
  size: 14,
909
910
  className: "text-status-info-text"
910
- }), o(L, "sandbox.create.fields.cpuLimit.label", "CPU Limit")]
911
+ }), a(I, "sandbox.create.fields.cpuLimit.label", "CPU Limit")]
911
912
  }),
912
- /* @__PURE__ */ E("input", {
913
- "aria-label": "CPU Limit",
913
+ /* @__PURE__ */ T("input", {
914
+ "aria-label": a(I, "sandbox.create.fields.cpuLimit.label", "CPU Limit"),
914
915
  type: "text",
915
916
  id: "cpuLimit",
916
- value: B.cpuLimit,
917
+ value: z.cpuLimit,
917
918
  onChange: (e) => X("cpuLimit", e.target.value),
918
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.cpuLimit ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
919
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V.cpuLimit ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
919
920
  placeholder: "2"
920
921
  }),
921
- H.cpuLimit && /* @__PURE__ */ E("p", {
922
+ V.cpuLimit && /* @__PURE__ */ T("p", {
922
923
  className: "text-sm text-status-error-text mt-1",
923
- children: H.cpuLimit
924
+ children: V.cpuLimit
924
925
  })
925
926
  ] }),
926
- /* @__PURE__ */ D("div", { children: [
927
- /* @__PURE__ */ D("label", {
927
+ /* @__PURE__ */ E("div", { children: [
928
+ /* @__PURE__ */ E("label", {
928
929
  htmlFor: "memoryRequest",
929
930
  className: "text-sm font-semibold mb-2 flex items-center gap-2",
930
- children: [/* @__PURE__ */ E(y, {
931
+ children: [/* @__PURE__ */ T(b, {
931
932
  size: 14,
932
933
  className: "text-accent-purple-subtle"
933
- }), o(L, "sandbox.create.fields.memoryRequest.label", "Memory Request")]
934
+ }), a(I, "sandbox.create.fields.memoryRequest.label", "Memory Request")]
934
935
  }),
935
- /* @__PURE__ */ E("input", {
936
- "aria-label": "Memory Request",
936
+ /* @__PURE__ */ T("input", {
937
+ "aria-label": a(I, "sandbox.create.fields.memoryRequest.label", "Memory Request"),
937
938
  type: "text",
938
939
  id: "memoryRequest",
939
- value: B.memoryRequest,
940
+ value: z.memoryRequest,
940
941
  onChange: (e) => X("memoryRequest", e.target.value),
941
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.memoryRequest ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
942
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V.memoryRequest ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
942
943
  placeholder: "1Gi"
943
944
  }),
944
- H.memoryRequest && /* @__PURE__ */ E("p", {
945
+ V.memoryRequest && /* @__PURE__ */ T("p", {
945
946
  className: "text-sm text-status-error-text mt-1",
946
- children: H.memoryRequest
947
+ children: V.memoryRequest
947
948
  })
948
949
  ] }),
949
- /* @__PURE__ */ D("div", { children: [
950
- /* @__PURE__ */ D("label", {
950
+ /* @__PURE__ */ E("div", { children: [
951
+ /* @__PURE__ */ E("label", {
951
952
  htmlFor: "memoryLimit",
952
953
  className: "text-sm font-semibold mb-2 flex items-center gap-2",
953
- children: [/* @__PURE__ */ E(y, {
954
+ children: [/* @__PURE__ */ T(b, {
954
955
  size: 14,
955
956
  className: "text-accent-purple-subtle"
956
- }), o(L, "sandbox.create.fields.memoryLimit.label", "Memory Limit")]
957
+ }), a(I, "sandbox.create.fields.memoryLimit.label", "Memory Limit")]
957
958
  }),
958
- /* @__PURE__ */ E("input", {
959
- "aria-label": "Memory Limit",
959
+ /* @__PURE__ */ T("input", {
960
+ "aria-label": a(I, "sandbox.create.fields.memoryLimit.label", "Memory Limit"),
960
961
  type: "text",
961
962
  id: "memoryLimit",
962
- value: B.memoryLimit,
963
+ value: z.memoryLimit,
963
964
  onChange: (e) => X("memoryLimit", e.target.value),
964
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.memoryLimit ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
965
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${V.memoryLimit ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
965
966
  placeholder: "4Gi"
966
967
  }),
967
- H.memoryLimit && /* @__PURE__ */ E("p", {
968
+ V.memoryLimit && /* @__PURE__ */ T("p", {
968
969
  className: "text-sm text-status-error-text mt-1",
969
- children: H.memoryLimit
970
+ children: V.memoryLimit
970
971
  })
971
972
  ] })
972
973
  ]
973
974
  })
974
975
  }),
975
- /* @__PURE__ */ D("div", { children: [
976
- /* @__PURE__ */ D("label", {
976
+ /* @__PURE__ */ E("div", { children: [
977
+ /* @__PURE__ */ E("label", {
977
978
  htmlFor: "ttlSeconds",
978
979
  className: "text-sm font-semibold mb-2 flex items-center gap-2",
979
980
  children: [
980
- /* @__PURE__ */ E(C, {
981
+ /* @__PURE__ */ T(oe, {
981
982
  size: 14,
982
983
  className: "text-status-info-text"
983
984
  }),
984
- o(L, "sandbox.create.fields.ttl.label", "Time to Live"),
985
- /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.fields.ttl.help", "Your sandbox will be automatically destroyed after this duration to save resources. You can extend it while it's running.") }),
986
- /* @__PURE__ */ E(t, {
985
+ a(I, "sandbox.create.fields.ttl.label", "Time to Live"),
986
+ /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.fields.ttl.help", "Your sandbox will be automatically destroyed after this duration to save resources. You can extend it while it's running.") }),
987
+ /* @__PURE__ */ T(t, {
987
988
  variant: "outline",
988
989
  className: "text-xs ml-auto",
989
- children: $(B.ttlSeconds)
990
+ children: $(z.ttlSeconds)
990
991
  })
991
992
  ]
992
993
  }),
993
- /* @__PURE__ */ E("input", {
994
- "aria-label": "Time to Live",
994
+ /* @__PURE__ */ T("input", {
995
+ "aria-label": a(I, "sandbox.create.fields.ttl.label", "Time to Live"),
995
996
  type: "range",
996
997
  id: "ttlSeconds",
997
998
  min: 600,
998
999
  max: 86400,
999
1000
  step: 600,
1000
- value: B.ttlSeconds,
1001
+ value: z.ttlSeconds,
1001
1002
  onChange: (e) => X("ttlSeconds", Number(e.target.value)),
1002
1003
  className: "w-full mt-2 accent-primary"
1003
1004
  }),
1004
- /* @__PURE__ */ D("div", {
1005
+ /* @__PURE__ */ E("div", {
1005
1006
  className: "flex justify-between text-xs text-text-secondary mt-1",
1006
1007
  children: [
1007
- /* @__PURE__ */ E("span", { children: "10m" }),
1008
- /* @__PURE__ */ E("span", { children: "4h" }),
1009
- /* @__PURE__ */ E("span", { children: "12h" }),
1010
- /* @__PURE__ */ E("span", { children: "24h" })
1008
+ /* @__PURE__ */ T("span", { children: "10m" }),
1009
+ /* @__PURE__ */ T("span", { children: "4h" }),
1010
+ /* @__PURE__ */ T("span", { children: "12h" }),
1011
+ /* @__PURE__ */ T("span", { children: "24h" })
1011
1012
  ]
1012
1013
  }),
1013
- H.ttlSeconds && /* @__PURE__ */ E("p", {
1014
+ V.ttlSeconds && /* @__PURE__ */ T("p", {
1014
1015
  className: "text-sm text-status-error-text mt-1",
1015
- children: H.ttlSeconds
1016
+ children: V.ttlSeconds
1016
1017
  })
1017
1018
  ] }),
1018
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("label", {
1019
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("label", {
1019
1020
  className: "text-sm font-semibold mb-2 flex items-center gap-2",
1020
- children: [o(L, "sandbox.create.fields.tags.label", "Tags"), /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.fields.tags.help", "Free-form labels. Use them to filter the sandbox list. Max 32 tags, 64 chars each.") })]
1021
- }), /* @__PURE__ */ E(c, {
1022
- value: R,
1023
- onChange: z
1021
+ children: [a(I, "sandbox.create.fields.tags.label", "Tags"), /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.fields.tags.help", "Free-form labels. Use them to filter the sandbox list. Max 32 tags, 64 chars each.") })]
1022
+ }), /* @__PURE__ */ T(s, {
1023
+ value: L,
1024
+ onChange: R
1024
1025
  })] })
1025
1026
  ]
1026
1027
  })
1027
1028
  }),
1028
- /* @__PURE__ */ E(r, {
1029
+ /* @__PURE__ */ T(r, {
1029
1030
  className: "border-border-seam",
1030
- children: /* @__PURE__ */ D(i, {
1031
+ children: /* @__PURE__ */ E(i, {
1031
1032
  className: "p-6 space-y-5",
1032
1033
  children: [
1033
- /* @__PURE__ */ D("h2", {
1034
+ /* @__PURE__ */ E("h2", {
1034
1035
  className: "text-lg font-bold flex items-center gap-2",
1035
1036
  children: [
1036
- /* @__PURE__ */ E(h, {
1037
+ /* @__PURE__ */ T(g, {
1037
1038
  size: 18,
1038
1039
  className: "text-primary"
1039
1040
  }),
1040
- o(L, "sandbox.create.sections.storage.title", "Storage"),
1041
- /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.sections.storage.help", "Ephemeral storage is fast but lost when the sandbox stops. Persistent storage survives restarts.") })
1041
+ a(I, "sandbox.create.sections.storage.title", "Storage"),
1042
+ /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.sections.storage.help", "Ephemeral storage is fast but lost when the sandbox stops. Persistent storage survives restarts.") })
1042
1043
  ]
1043
1044
  }),
1044
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
1045
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
1045
1046
  className: "block text-sm font-semibold mb-3",
1046
- children: o(L, "sandbox.create.fields.storageMode.label", "Mode")
1047
- }), /* @__PURE__ */ E("div", {
1047
+ children: a(I, "sandbox.create.fields.storageMode.label", "Mode")
1048
+ }), /* @__PURE__ */ T("div", {
1048
1049
  className: "grid grid-cols-3 gap-3",
1049
1050
  children: [
1050
1051
  "NONE",
1051
1052
  "EPHEMERAL",
1052
1053
  "PERSISTENT"
1053
1054
  ].map((e) => {
1054
- let t = B.storageMode === e, n = {
1055
- NONE: o(L, "sandbox.create.fields.storageMode.none.label", "None"),
1056
- EPHEMERAL: o(L, "sandbox.create.fields.storageMode.ephemeral.label", "Ephemeral"),
1057
- PERSISTENT: o(L, "sandbox.create.fields.storageMode.persistent.label", "Persistent")
1055
+ let t = z.storageMode === e, n = {
1056
+ NONE: a(I, "sandbox.create.fields.storageMode.none.label", "None"),
1057
+ EPHEMERAL: a(I, "sandbox.create.fields.storageMode.ephemeral.label", "Ephemeral"),
1058
+ PERSISTENT: a(I, "sandbox.create.fields.storageMode.persistent.label", "Persistent")
1058
1059
  }, r = {
1059
- NONE: o(L, "sandbox.create.fields.storageMode.none.description", "No persistent storage"),
1060
- EPHEMERAL: o(L, "sandbox.create.fields.storageMode.ephemeral.description", "Lost when sandbox stops"),
1061
- PERSISTENT: o(L, "sandbox.create.fields.storageMode.persistent.description", "Retained across restarts")
1060
+ NONE: a(I, "sandbox.create.fields.storageMode.none.description", "No persistent storage"),
1061
+ EPHEMERAL: a(I, "sandbox.create.fields.storageMode.ephemeral.description", "Lost when sandbox stops"),
1062
+ PERSISTENT: a(I, "sandbox.create.fields.storageMode.persistent.description", "Retained across restarts")
1062
1063
  };
1063
- return /* @__PURE__ */ D("button", {
1064
+ return /* @__PURE__ */ E("button", {
1064
1065
  type: "button",
1065
1066
  onClick: () => X("storageMode", e),
1066
1067
  className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${t ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
1067
- children: [/* @__PURE__ */ E("p", {
1068
+ children: [/* @__PURE__ */ T("p", {
1068
1069
  className: "font-medium text-sm",
1069
1070
  children: n[e]
1070
- }), /* @__PURE__ */ E("p", {
1071
+ }), /* @__PURE__ */ T("p", {
1071
1072
  className: "text-xs text-text-secondary mt-0.5",
1072
1073
  children: r[e]
1073
1074
  })]
1074
1075
  }, e);
1075
1076
  })
1076
1077
  })] }),
1077
- B.storageMode !== "NONE" && /* @__PURE__ */ D("div", {
1078
+ z.storageMode !== "NONE" && /* @__PURE__ */ E("div", {
1078
1079
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
1079
1080
  children: [
1080
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
1081
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
1081
1082
  htmlFor: "storageSizeGi",
1082
1083
  className: "block text-sm font-semibold mb-2",
1083
- children: o(L, "sandbox.create.fields.storageSizeGi.label", "Size (GiB)")
1084
- }), /* @__PURE__ */ E("input", {
1085
- "aria-label": "Size (GiB)",
1084
+ children: a(I, "sandbox.create.fields.storageSizeGi.label", "Size (GiB)")
1085
+ }), /* @__PURE__ */ T("input", {
1086
+ "aria-label": a(I, "sandbox.create.fields.storageSizeGi.label", "Size (GiB)"),
1086
1087
  type: "number",
1087
1088
  id: "storageSizeGi",
1088
- value: B.storageSizeGi,
1089
+ value: z.storageSizeGi,
1089
1090
  onChange: (e) => X("storageSizeGi", Number(e.target.value)),
1090
1091
  min: 1,
1091
1092
  max: 200,
1092
1093
  className: "w-full px-4 py-2.5 border-2 border-border-subtle rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all"
1093
1094
  })] }),
1094
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
1095
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
1095
1096
  htmlFor: "storageMountPath",
1096
1097
  className: "block text-sm font-semibold mb-2",
1097
- children: o(L, "sandbox.create.fields.storageMountPath.label", "Mount Path")
1098
- }), /* @__PURE__ */ E("input", {
1099
- "aria-label": "Mount Path",
1098
+ children: a(I, "sandbox.create.fields.storageMountPath.label", "Mount Path")
1099
+ }), /* @__PURE__ */ T("input", {
1100
+ "aria-label": a(I, "sandbox.create.fields.storageMountPath.label", "Mount Path"),
1100
1101
  type: "text",
1101
1102
  id: "storageMountPath",
1102
- value: B.storageMountPath,
1103
+ value: z.storageMountPath,
1103
1104
  onChange: (e) => X("storageMountPath", e.target.value),
1104
1105
  className: "w-full px-4 py-2.5 border-2 border-border-subtle rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
1105
1106
  placeholder: "/data"
1106
1107
  })] }),
1107
- B.storageMode === "PERSISTENT" && /* @__PURE__ */ D("div", {
1108
+ z.storageMode === "PERSISTENT" && /* @__PURE__ */ E("div", {
1108
1109
  className: "flex items-center gap-3 sm:col-span-2",
1109
- children: [/* @__PURE__ */ E("input", {
1110
- "aria-label": "input",
1110
+ children: [/* @__PURE__ */ T("input", {
1111
+ "aria-label": a(I, "sandbox.create.fields.storageRetainOnDelete.label", "Retain volume data when sandbox is deleted"),
1111
1112
  type: "checkbox",
1112
1113
  id: "storageRetainOnDelete",
1113
- checked: B.storageRetainOnDelete,
1114
+ checked: z.storageRetainOnDelete,
1114
1115
  onChange: (e) => X("storageRetainOnDelete", e.target.checked),
1115
1116
  className: "size-4 rounded border-border-subtle text-primary focus:ring-primary/20"
1116
- }), /* @__PURE__ */ E("label", {
1117
+ }), /* @__PURE__ */ T("label", {
1117
1118
  htmlFor: "storageRetainOnDelete",
1118
1119
  className: "text-sm font-medium",
1119
- children: o(L, "sandbox.create.fields.storageRetainOnDelete.label", "Retain volume data when sandbox is deleted")
1120
+ children: a(I, "sandbox.create.fields.storageRetainOnDelete.label", "Retain volume data when sandbox is deleted")
1120
1121
  })]
1121
1122
  }),
1122
- /* @__PURE__ */ E("div", {
1123
+ /* @__PURE__ */ T("div", {
1123
1124
  className: "sm:col-span-2",
1124
- children: /* @__PURE__ */ E(l, {
1125
- value: B.filesFolderId,
1125
+ children: /* @__PURE__ */ T(c, {
1126
+ value: z.filesFolderId,
1126
1127
  onChange: (e) => X("filesFolderId", e)
1127
1128
  })
1128
1129
  })
@@ -1131,73 +1132,73 @@ function I() {
1131
1132
  ]
1132
1133
  })
1133
1134
  }),
1134
- B.template === "MISC_SHELL" && /* @__PURE__ */ E(r, {
1135
+ z.template === "MISC_SHELL" && /* @__PURE__ */ T(r, {
1135
1136
  className: "border-border-seam",
1136
- children: /* @__PURE__ */ E(i, {
1137
+ children: /* @__PURE__ */ T(i, {
1137
1138
  className: "p-5",
1138
- children: /* @__PURE__ */ D("details", { children: [/* @__PURE__ */ D("summary", {
1139
+ children: /* @__PURE__ */ E("details", { children: [/* @__PURE__ */ E("summary", {
1139
1140
  className: "cursor-pointer text-sm font-semibold text-text-secondary flex items-center gap-2",
1140
1141
  children: [
1141
- /* @__PURE__ */ E(S, { size: 14 }),
1142
- o(L, "sandbox.create.sections.advancedSettings.title", "Advanced Settings"),
1143
- /* @__PURE__ */ E(j, { text: o(L, "sandbox.create.sections.advancedSettings.help", "Override the gateway URLs the sandbox agent uses for authentication and API calls. Useful when exposing local gateways via tunnel for development.") })
1142
+ /* @__PURE__ */ T(C, { size: 14 }),
1143
+ a(I, "sandbox.create.sections.advancedSettings.title", "Advanced Settings"),
1144
+ /* @__PURE__ */ T(q, { text: a(I, "sandbox.create.sections.advancedSettings.help", "Override the gateway URLs the sandbox agent uses for authentication and API calls. Useful when exposing local gateways via tunnel for development.") })
1144
1145
  ]
1145
- }), /* @__PURE__ */ D("div", {
1146
+ }), /* @__PURE__ */ E("div", {
1146
1147
  className: "mt-4 space-y-4",
1147
- children: [/* @__PURE__ */ D("div", { children: [
1148
- /* @__PURE__ */ E("label", {
1148
+ children: [/* @__PURE__ */ E("div", { children: [
1149
+ /* @__PURE__ */ T("label", {
1149
1150
  className: "block text-sm font-medium text-text-primary mb-1",
1150
- children: o(L, "sandbox.create.fields.globalGatewayUrl.label", "Global Gateway URL")
1151
+ children: a(I, "sandbox.create.fields.globalGatewayUrl.label", "Global Gateway URL")
1151
1152
  }),
1152
- /* @__PURE__ */ E("input", {
1153
- "aria-label": "Global Gateway URL",
1153
+ /* @__PURE__ */ T("input", {
1154
+ "aria-label": a(I, "sandbox.create.fields.globalGatewayUrl.label", "Global Gateway URL"),
1154
1155
  type: "text",
1155
- value: B.globalGatewayUrl,
1156
+ value: z.globalGatewayUrl,
1156
1157
  onChange: (e) => X("globalGatewayUrl", e.target.value),
1157
- placeholder: P,
1158
+ placeholder: M,
1158
1159
  className: "w-full rounded-lg border border-border-subtle px-3 py-2 text-sm font-mono bg-bg-surface focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"
1159
1160
  }),
1160
- /* @__PURE__ */ E("p", {
1161
+ /* @__PURE__ */ T("p", {
1161
1162
  className: "text-xs text-text-secondary mt-1",
1162
- children: o(L, "sandbox.create.fields.globalGatewayUrl.hint", "The agent authenticates via this URL. Override with a tunnel URL to reach local gateways.")
1163
+ children: a(I, "sandbox.create.fields.globalGatewayUrl.hint", "The agent authenticates via this URL. Override with a tunnel URL to reach local gateways.")
1163
1164
  })
1164
- ] }), /* @__PURE__ */ D("div", { children: [
1165
- /* @__PURE__ */ E("label", {
1165
+ ] }), /* @__PURE__ */ E("div", { children: [
1166
+ /* @__PURE__ */ T("label", {
1166
1167
  className: "block text-sm font-medium text-text-primary mb-1",
1167
- children: o(L, "sandbox.create.fields.workspaceGatewayUrl.label", "Workspace Gateway URL")
1168
+ children: a(I, "sandbox.create.fields.workspaceGatewayUrl.label", "Workspace Gateway URL")
1168
1169
  }),
1169
- /* @__PURE__ */ E("input", {
1170
- "aria-label": "Workspace Gateway URL",
1170
+ /* @__PURE__ */ T("input", {
1171
+ "aria-label": a(I, "sandbox.create.fields.workspaceGatewayUrl.label", "Workspace Gateway URL"),
1171
1172
  type: "text",
1172
- value: B.workspaceGatewayUrl,
1173
+ value: z.workspaceGatewayUrl,
1173
1174
  onChange: (e) => X("workspaceGatewayUrl", e.target.value),
1174
- placeholder: F,
1175
+ placeholder: N,
1175
1176
  className: "w-full rounded-lg border border-border-subtle px-3 py-2 text-sm font-mono bg-bg-surface focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"
1176
1177
  }),
1177
- /* @__PURE__ */ E("p", {
1178
+ /* @__PURE__ */ T("p", {
1178
1179
  className: "text-xs text-text-secondary mt-1",
1179
- children: o(L, "sandbox.create.fields.workspaceGatewayUrl.hint", "The agent reports to this URL. Override with a tunnel URL to reach local gateways.")
1180
+ children: a(I, "sandbox.create.fields.workspaceGatewayUrl.hint", "The agent reports to this URL. Override with a tunnel URL to reach local gateways.")
1180
1181
  })
1181
1182
  ] })]
1182
1183
  })] })
1183
1184
  })
1184
1185
  }),
1185
- /* @__PURE__ */ D("div", {
1186
+ /* @__PURE__ */ E("div", {
1186
1187
  className: "flex flex-col sm:flex-row gap-3 pt-2",
1187
- children: [/* @__PURE__ */ D(n, {
1188
+ children: [/* @__PURE__ */ E(n, {
1188
1189
  type: "submit",
1189
- disabled: K,
1190
+ disabled: G,
1190
1191
  size: "lg",
1191
- children: [K ? /* @__PURE__ */ E(v, {
1192
+ children: [G ? /* @__PURE__ */ T(y, {
1192
1193
  size: 18,
1193
1194
  className: "animate-spin"
1194
- }) : /* @__PURE__ */ E(x, { size: 18 }), o(L, "sandbox.create.actions.submit", "Create Sandbox")]
1195
- }), /* @__PURE__ */ E(n, {
1195
+ }) : /* @__PURE__ */ T(S, { size: 18 }), a(I, "sandbox.create.actions.submit", "Create Sandbox")]
1196
+ }), /* @__PURE__ */ T(n, {
1196
1197
  type: "button",
1197
1198
  variant: "outline",
1198
- onClick: () => O?.(g),
1199
- disabled: K,
1200
- children: o(L, "sandbox.create.actions.cancel", "Cancel")
1199
+ onClick: () => A?.(D),
1200
+ disabled: G,
1201
+ children: a(I, "sandbox.create.actions.cancel", "Cancel")
1201
1202
  })]
1202
1203
  })
1203
1204
  ]
@@ -1206,6 +1207,6 @@ function I() {
1206
1207
  });
1207
1208
  }
1208
1209
  //#endregion
1209
- export { I as SandboxCreatePage };
1210
+ export { P as SandboxCreatePage };
1210
1211
 
1211
1212
  //# sourceMappingURL=SandboxCreatePage.js.map