@burdenoff/microfe-sandbox 2026.1013.1 → 2026.1014.1

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