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