@cere/cere-design-system 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -92,7 +92,54 @@ var deploymentSurfaceTokens = {
92
92
  /** Workspace card shadow */
93
93
  workspaceShadow: "0px 8px 12px rgba(26, 10, 124, 0.1)",
94
94
  /** Hover state for context menu items */
95
- hoverLight: "#F0F1FF"
95
+ hoverLight: "#F0F1FF",
96
+ /** Generic hover overlay (buttons, icon-buttons, rows) */
97
+ hoverOverlay: "rgba(0, 0, 0, 0.04)",
98
+ /** Blue-50 highlight background for active menu items (Figma blue-50) */
99
+ highlightBg: "#f5f6ff",
100
+ /** Blue-50 highlight background hover state */
101
+ highlightBgHover: "#eceeff",
102
+ /** Blue-100 highlight border for active menu items (Figma blue-100) */
103
+ highlightBorder: "#cbcffb",
104
+ /** Switch track enabled (Figma basic/green #53b96a) */
105
+ switchGreen: "#53b96a",
106
+ /** Switch track disabled/off (Figma neutral track) */
107
+ switchTrackOff: "#e0e0e0"
108
+ };
109
+ var robPrimaryPalette = {
110
+ /** Primary magenta/pink - Figma node 11-1394 */
111
+ fandango: "#BD32A7",
112
+ /** Vivid purple - Figma node 11-1407 */
113
+ electricViolet: "#8B00EC",
114
+ /** Mid-tone purple - Figma node 11-1420 */
115
+ ultraViolet: "#6750A4",
116
+ /** Light lavender - Figma node 11-1433 */
117
+ periwinkle: "#D0BCFF"
118
+ };
119
+ var robPaletteExtended = {
120
+ // Dark shades (6 colors)
121
+ dark1: "#280e61",
122
+ dark2: "#531584",
123
+ dark3: "#710c7a",
124
+ dark4: "#920269",
125
+ dark5: "#c71454",
126
+ dark6: "#ff6341",
127
+ // Bright shades (4 colors)
128
+ bright1: "#5311e3",
129
+ bright2: "#eb03ff",
130
+ bright3: "#ff17ab",
131
+ bright4: "#ff6a85",
132
+ // Light shades (5 colors)
133
+ light1: "#baa0f4",
134
+ light2: "#d399fc",
135
+ light3: "#f79aff",
136
+ light4: "#faabde",
137
+ light5: "#ffc4ce",
138
+ // Near-black shades (4 colors)
139
+ nearBlack1: "#0b0f18",
140
+ nearBlack2: "#0d0627",
141
+ nearBlack3: "#161d30",
142
+ nearBlack4: "#23194b"
96
143
  };
97
144
  var baseTheme = createTheme({
98
145
  palette: {
@@ -1794,6 +1841,17 @@ var useIsMobile = () => {
1794
1841
  import MuiButton from "@mui/material/Button";
1795
1842
  import { styled } from "@mui/material/styles";
1796
1843
  import { jsx as jsx4 } from "react/jsx-runtime";
1844
+ var BUTTON_SPACING = {
1845
+ borderRadius: "8px",
1846
+ padding: "8px 16px",
1847
+ iconMargin: "8px"
1848
+ };
1849
+ var BUTTON_TYPOGRAPHY = {
1850
+ fontSize: "16px",
1851
+ fontWeight: 500,
1852
+ lineHeight: 1.5,
1853
+ letterSpacing: "0.8px"
1854
+ };
1797
1855
  var StyledPrimaryButton = styled(MuiButton)(() => ({
1798
1856
  backgroundColor: colors.primary.main,
1799
1857
  color: colors.primary.contrastText,
@@ -1808,21 +1866,42 @@ var StyledPrimaryButton = styled(MuiButton)(() => ({
1808
1866
  color: colors.grey[500]
1809
1867
  }
1810
1868
  }));
1869
+ var iconStyles = {
1870
+ "& > *": {
1871
+ fontSize: BUTTON_TYPOGRAPHY.fontSize
1872
+ }
1873
+ };
1811
1874
  var StyledSecondaryButton = styled(MuiButton)(() => ({
1812
- backgroundColor: "transparent",
1813
- color: colors.primary.main,
1814
- border: `1px solid ${colors.primary.main}`,
1875
+ backgroundColor: deploymentSurfaceTokens.surfaceHigh,
1876
+ color: deploymentSurfaceTokens.textPrimary,
1877
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
1878
+ borderRadius: BUTTON_SPACING.borderRadius,
1879
+ padding: BUTTON_SPACING.padding,
1880
+ textTransform: "capitalize",
1881
+ letterSpacing: BUTTON_TYPOGRAPHY.letterSpacing,
1882
+ fontSize: BUTTON_TYPOGRAPHY.fontSize,
1883
+ fontWeight: BUTTON_TYPOGRAPHY.fontWeight,
1884
+ lineHeight: BUTTON_TYPOGRAPHY.lineHeight,
1815
1885
  "&:hover": {
1816
1886
  backgroundColor: colors.background.selected,
1817
- borderColor: colors.primary.light
1887
+ borderColor: deploymentSurfaceTokens.strokeOutside
1818
1888
  },
1819
1889
  "&:active": {
1820
1890
  backgroundColor: colors.background.selected,
1821
- borderColor: colors.primary.dark
1891
+ borderColor: deploymentSurfaceTokens.borderDefault
1822
1892
  },
1823
1893
  "&:disabled": {
1824
1894
  borderColor: colors.grey[300],
1825
- color: colors.grey[500]
1895
+ color: colors.grey[500],
1896
+ backgroundColor: colors.grey[50]
1897
+ },
1898
+ "& .MuiButton-startIcon": {
1899
+ marginRight: BUTTON_SPACING.iconMargin,
1900
+ ...iconStyles
1901
+ },
1902
+ "& .MuiButton-endIcon": {
1903
+ marginLeft: BUTTON_SPACING.iconMargin,
1904
+ ...iconStyles
1826
1905
  }
1827
1906
  }));
1828
1907
  var StyledTertiaryButton = styled(MuiButton)(() => ({
@@ -1838,6 +1917,11 @@ var StyledTertiaryButton = styled(MuiButton)(() => ({
1838
1917
  color: colors.grey[500]
1839
1918
  }
1840
1919
  }));
1920
+ var BUTTON_COMPONENTS = {
1921
+ primary: StyledPrimaryButton,
1922
+ secondary: StyledSecondaryButton,
1923
+ tertiary: StyledTertiaryButton
1924
+ };
1841
1925
  var Button = ({
1842
1926
  variant = "primary",
1843
1927
  children,
@@ -1845,21 +1929,13 @@ var Button = ({
1845
1929
  endIcon,
1846
1930
  ...props
1847
1931
  }) => {
1932
+ const ButtonComponent = BUTTON_COMPONENTS[variant];
1848
1933
  const buttonProps = {
1849
1934
  ...props,
1850
1935
  startIcon,
1851
1936
  endIcon
1852
1937
  };
1853
- switch (variant) {
1854
- case "primary":
1855
- return /* @__PURE__ */ jsx4(StyledPrimaryButton, { ...buttonProps, children });
1856
- case "secondary":
1857
- return /* @__PURE__ */ jsx4(StyledSecondaryButton, { ...buttonProps, children });
1858
- case "tertiary":
1859
- return /* @__PURE__ */ jsx4(StyledTertiaryButton, { ...buttonProps, children });
1860
- default:
1861
- return /* @__PURE__ */ jsx4(StyledPrimaryButton, { ...buttonProps, children });
1862
- }
1938
+ return /* @__PURE__ */ jsx4(ButtonComponent, { ...buttonProps, children });
1863
1939
  };
1864
1940
 
1865
1941
  // src/components/buttons/IconButton.tsx
@@ -4230,11 +4306,151 @@ var Chip2 = ({
4230
4306
  return /* @__PURE__ */ jsx28(StyledDefaultChip, { ...props });
4231
4307
  };
4232
4308
 
4233
- // src/components/feedback/Tooltip.tsx
4234
- import MuiTooltip from "@mui/material/Tooltip";
4309
+ // src/components/feedback/RoleBadge.tsx
4310
+ import MuiChip2 from "@mui/material/Chip";
4235
4311
  import { styled as styled18 } from "@mui/material/styles";
4236
4312
  import { jsx as jsx29 } from "react/jsx-runtime";
4237
- var StyledTooltip = styled18(MuiTooltip)({
4313
+ var StyledRoleBadge = styled18(MuiChip2)(() => ({
4314
+ // Pill shape - 100px border radius
4315
+ borderRadius: "100px",
4316
+ // Typography specifications from Figma
4317
+ fontSize: "13px",
4318
+ fontWeight: 400,
4319
+ lineHeight: "18px",
4320
+ letterSpacing: "0.16px",
4321
+ // Padding specifications from Figma
4322
+ padding: "3px 4px",
4323
+ height: "auto",
4324
+ // Outlined style (no background fill)
4325
+ "& .MuiChip-label": {
4326
+ padding: "0 8px"
4327
+ }
4328
+ }));
4329
+ var RoleBadge = ({
4330
+ label,
4331
+ color = "primary",
4332
+ size: size3 = "small",
4333
+ ...props
4334
+ }) => {
4335
+ if (!label || label.trim() === "") {
4336
+ return null;
4337
+ }
4338
+ return /* @__PURE__ */ jsx29(
4339
+ StyledRoleBadge,
4340
+ {
4341
+ label,
4342
+ variant: "outlined",
4343
+ color,
4344
+ size: size3,
4345
+ ...props
4346
+ }
4347
+ );
4348
+ };
4349
+
4350
+ // src/components/feedback/IDBlock.tsx
4351
+ import Box9 from "@mui/material/Box";
4352
+ import Typography7 from "@mui/material/Typography";
4353
+ import IconButton6 from "@mui/material/IconButton";
4354
+ import ContentCopyIcon from "@mui/icons-material/ContentCopy";
4355
+ import { styled as styled19 } from "@mui/material/styles";
4356
+ import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
4357
+ var IDContainer = styled19(Box9)(() => ({
4358
+ display: "inline-flex",
4359
+ alignItems: "center",
4360
+ gap: "4px",
4361
+ padding: "8px 16px",
4362
+ backgroundColor: deploymentSurfaceTokens.surfaceHigh,
4363
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
4364
+ borderRadius: "8px"
4365
+ }));
4366
+ var IDBlock = ({
4367
+ id,
4368
+ label = "ID",
4369
+ entityType = "entity",
4370
+ onCopy
4371
+ }) => {
4372
+ const { showMessage } = useMessages();
4373
+ if (!id || id.trim() === "") {
4374
+ return null;
4375
+ }
4376
+ const handleCopy = async () => {
4377
+ try {
4378
+ await navigator.clipboard.writeText(id);
4379
+ showMessage({
4380
+ message: "ID copied to clipboard",
4381
+ appearance: "success",
4382
+ autoDismiss: true
4383
+ });
4384
+ onCopy?.();
4385
+ } catch {
4386
+ showMessage({
4387
+ message: "Failed to copy ID",
4388
+ appearance: "error",
4389
+ autoDismiss: true
4390
+ });
4391
+ }
4392
+ };
4393
+ return /* @__PURE__ */ jsxs12(IDContainer, { children: [
4394
+ /* @__PURE__ */ jsxs12(
4395
+ Typography7,
4396
+ {
4397
+ variant: "body2",
4398
+ sx: {
4399
+ fontSize: "13px",
4400
+ fontWeight: 500,
4401
+ color: deploymentSurfaceTokens.textSecondary
4402
+ },
4403
+ children: [
4404
+ label,
4405
+ ":"
4406
+ ]
4407
+ }
4408
+ ),
4409
+ /* @__PURE__ */ jsx30(
4410
+ Typography7,
4411
+ {
4412
+ variant: "body2",
4413
+ sx: {
4414
+ fontSize: "13px",
4415
+ fontWeight: 500,
4416
+ color: deploymentSurfaceTokens.textPrimary,
4417
+ userSelect: "all"
4418
+ // Allow easy text selection
4419
+ },
4420
+ children: id
4421
+ }
4422
+ ),
4423
+ /* @__PURE__ */ jsx30(
4424
+ IconButton6,
4425
+ {
4426
+ onClick: handleCopy,
4427
+ size: "small",
4428
+ "aria-label": `Copy ${entityType} ID ${id}`,
4429
+ sx: {
4430
+ padding: "4px",
4431
+ "&:hover": {
4432
+ backgroundColor: deploymentSurfaceTokens.hoverOverlay
4433
+ }
4434
+ },
4435
+ children: /* @__PURE__ */ jsx30(
4436
+ ContentCopyIcon,
4437
+ {
4438
+ sx: {
4439
+ fontSize: "16px",
4440
+ color: deploymentSurfaceTokens.textSecondary
4441
+ }
4442
+ }
4443
+ )
4444
+ }
4445
+ )
4446
+ ] });
4447
+ };
4448
+
4449
+ // src/components/feedback/Tooltip.tsx
4450
+ import MuiTooltip from "@mui/material/Tooltip";
4451
+ import { styled as styled20 } from "@mui/material/styles";
4452
+ import { jsx as jsx31 } from "react/jsx-runtime";
4453
+ var StyledTooltip = styled20(MuiTooltip)({
4238
4454
  "& .MuiTooltip-tooltip": {
4239
4455
  backgroundColor: colors.grey[800],
4240
4456
  color: "#FFFFFF",
@@ -4247,17 +4463,17 @@ var StyledTooltip = styled18(MuiTooltip)({
4247
4463
  }
4248
4464
  });
4249
4465
  var Tooltip6 = (props) => {
4250
- return /* @__PURE__ */ jsx29(StyledTooltip, { ...props });
4466
+ return /* @__PURE__ */ jsx31(StyledTooltip, { ...props });
4251
4467
  };
4252
4468
 
4253
4469
  // src/components/feedback/Progress.tsx
4254
4470
  import {
4255
4471
  LinearProgress,
4256
4472
  CircularProgress,
4257
- styled as styled19
4473
+ styled as styled21
4258
4474
  } from "@mui/material";
4259
- import { jsx as jsx30 } from "react/jsx-runtime";
4260
- var StyledLinearProgress = styled19(LinearProgress)({
4475
+ import { jsx as jsx32 } from "react/jsx-runtime";
4476
+ var StyledLinearProgress = styled21(LinearProgress)({
4261
4477
  height: 4,
4262
4478
  borderRadius: 2,
4263
4479
  backgroundColor: colors.grey[200],
@@ -4266,7 +4482,7 @@ var StyledLinearProgress = styled19(LinearProgress)({
4266
4482
  borderRadius: 2
4267
4483
  }
4268
4484
  });
4269
- var StyledCircularProgress = styled19(CircularProgress)({
4485
+ var StyledCircularProgress = styled21(CircularProgress)({
4270
4486
  color: colors.primary.main
4271
4487
  });
4272
4488
  var Progress = ({
@@ -4276,9 +4492,9 @@ var Progress = ({
4276
4492
  thickness = 4
4277
4493
  }) => {
4278
4494
  if (variant === "circular") {
4279
- return /* @__PURE__ */ jsx30(StyledCircularProgress, { size: size3, thickness });
4495
+ return /* @__PURE__ */ jsx32(StyledCircularProgress, { size: size3, thickness });
4280
4496
  }
4281
- return /* @__PURE__ */ jsx30(
4497
+ return /* @__PURE__ */ jsx32(
4282
4498
  StyledLinearProgress,
4283
4499
  {
4284
4500
  variant: value !== void 0 ? "determinate" : "indeterminate",
@@ -4289,9 +4505,9 @@ var Progress = ({
4289
4505
 
4290
4506
  // src/components/navigation/Tab.tsx
4291
4507
  import MuiTab from "@mui/material/Tab";
4292
- import { styled as styled20 } from "@mui/material/styles";
4293
- import { jsx as jsx31 } from "react/jsx-runtime";
4294
- var StyledTab = styled20(MuiTab)({
4508
+ import { styled as styled22 } from "@mui/material/styles";
4509
+ import { jsx as jsx33 } from "react/jsx-runtime";
4510
+ var StyledTab = styled22(MuiTab)({
4295
4511
  textTransform: "none",
4296
4512
  minHeight: "48px",
4297
4513
  fontWeight: 400,
@@ -4312,8 +4528,8 @@ var Tab = ({
4312
4528
  label,
4313
4529
  ...props
4314
4530
  }) => {
4315
- const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx31(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4316
- return /* @__PURE__ */ jsx31(StyledTab, { label: tabLabel, ...props });
4531
+ const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx33(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4532
+ return /* @__PURE__ */ jsx33(StyledTab, { label: tabLabel, ...props });
4317
4533
  };
4318
4534
 
4319
4535
  // src/components/navigation/Menu.tsx
@@ -4324,9 +4540,9 @@ import {
4324
4540
  ListItemText as ListItemText5,
4325
4541
  Divider
4326
4542
  } from "@mui/material";
4327
- import { styled as styled21 } from "@mui/material/styles";
4328
- import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs12 } from "react/jsx-runtime";
4329
- var StyledMenu = styled21(MuiMenu)({
4543
+ import { styled as styled23 } from "@mui/material/styles";
4544
+ import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
4545
+ var StyledMenu = styled23(MuiMenu)({
4330
4546
  "& .MuiPaper-root": {
4331
4547
  borderRadius: 8,
4332
4548
  boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
@@ -4340,7 +4556,7 @@ var StyledMenu = styled21(MuiMenu)({
4340
4556
  }
4341
4557
  });
4342
4558
  var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
4343
- return /* @__PURE__ */ jsx32(
4559
+ return /* @__PURE__ */ jsx34(
4344
4560
  StyledMenu,
4345
4561
  {
4346
4562
  anchorEl,
@@ -4366,20 +4582,20 @@ var MenuItem = ({
4366
4582
  disabled = false,
4367
4583
  divider = false
4368
4584
  }) => {
4369
- return /* @__PURE__ */ jsxs12(Fragment5, { children: [
4370
- /* @__PURE__ */ jsxs12(MuiMenuItem, { onClick, disabled, children: [
4371
- icon && /* @__PURE__ */ jsx32(ListItemIcon3, { children: icon }),
4372
- /* @__PURE__ */ jsx32(ListItemText5, { children: label })
4585
+ return /* @__PURE__ */ jsxs13(Fragment5, { children: [
4586
+ /* @__PURE__ */ jsxs13(MuiMenuItem, { onClick, disabled, children: [
4587
+ icon && /* @__PURE__ */ jsx34(ListItemIcon3, { children: icon }),
4588
+ /* @__PURE__ */ jsx34(ListItemText5, { children: label })
4373
4589
  ] }),
4374
- divider && /* @__PURE__ */ jsx32(Divider, {})
4590
+ divider && /* @__PURE__ */ jsx34(Divider, {})
4375
4591
  ] });
4376
4592
  };
4377
4593
 
4378
4594
  // src/components/navigation/Pagination.tsx
4379
4595
  import MuiPagination from "@mui/material/Pagination";
4380
- import { styled as styled22 } from "@mui/material/styles";
4381
- import { jsx as jsx33 } from "react/jsx-runtime";
4382
- var StyledPagination = styled22(MuiPagination)({
4596
+ import { styled as styled24 } from "@mui/material/styles";
4597
+ import { jsx as jsx35 } from "react/jsx-runtime";
4598
+ var StyledPagination = styled24(MuiPagination)({
4383
4599
  "& .MuiPaginationItem-root": {
4384
4600
  "&.Mui-selected": {
4385
4601
  backgroundColor: colors.primary.main,
@@ -4394,14 +4610,14 @@ var StyledPagination = styled22(MuiPagination)({
4394
4610
  }
4395
4611
  });
4396
4612
  var Pagination = ({ color = "primary", ...props }) => {
4397
- return /* @__PURE__ */ jsx33(StyledPagination, { color, ...props });
4613
+ return /* @__PURE__ */ jsx35(StyledPagination, { color, ...props });
4398
4614
  };
4399
4615
 
4400
4616
  // src/components/navigation/Selector.tsx
4401
4617
  import { useState as useState6 } from "react";
4402
4618
  import {
4403
- Box as Box9,
4404
- Typography as Typography7,
4619
+ Box as Box10,
4620
+ Typography as Typography8,
4405
4621
  Avatar as Avatar4,
4406
4622
  Menu as Menu4,
4407
4623
  InputAdornment as InputAdornment5,
@@ -4417,20 +4633,20 @@ import AddIcon3 from "@mui/icons-material/Add";
4417
4633
 
4418
4634
  // src/components/layout/Link.tsx
4419
4635
  import MuiLink from "@mui/material/Link";
4420
- import { styled as styled23 } from "@mui/material/styles";
4421
- import { jsx as jsx34 } from "react/jsx-runtime";
4422
- var StyledLink = styled23(MuiLink)({
4636
+ import { styled as styled25 } from "@mui/material/styles";
4637
+ import { jsx as jsx36 } from "react/jsx-runtime";
4638
+ var StyledLink = styled25(MuiLink)({
4423
4639
  color: colors.primary.main,
4424
4640
  "&:hover": {
4425
4641
  color: colors.primary.light
4426
4642
  }
4427
4643
  });
4428
4644
  var Link3 = ({ underline = "hover", ...props }) => {
4429
- return /* @__PURE__ */ jsx34(StyledLink, { underline, ...props });
4645
+ return /* @__PURE__ */ jsx36(StyledLink, { underline, ...props });
4430
4646
  };
4431
4647
 
4432
4648
  // src/components/navigation/Selector.tsx
4433
- import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
4649
+ import { Fragment as Fragment6, jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
4434
4650
  var Selector = ({
4435
4651
  options: options2,
4436
4652
  selectedId,
@@ -4462,14 +4678,14 @@ var Selector = ({
4462
4678
  onSelect(id);
4463
4679
  handleClose();
4464
4680
  };
4465
- const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs13(Box9, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4466
- option.avatar ? /* @__PURE__ */ jsx35(Avatar4, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ jsx35(Avatar4, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
4467
- /* @__PURE__ */ jsx35(Typography7, { variant: "body2", children: option.name })
4681
+ const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4682
+ option.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
4683
+ /* @__PURE__ */ jsx37(Typography8, { variant: "body2", children: option.name })
4468
4684
  ] });
4469
4685
  if (compact) {
4470
- return /* @__PURE__ */ jsxs13(Fragment6, { children: [
4471
- /* @__PURE__ */ jsx35(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ jsx35(Avatar4, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ jsx35(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ jsx35(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
4472
- /* @__PURE__ */ jsx35(
4686
+ return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4687
+ /* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
4688
+ /* @__PURE__ */ jsx37(
4473
4689
  Menu4,
4474
4690
  {
4475
4691
  anchorEl,
@@ -4478,8 +4694,8 @@ var Selector = ({
4478
4694
  PaperProps: {
4479
4695
  sx: { width, maxHeight: 600, mt: 1 }
4480
4696
  },
4481
- children: loading ? /* @__PURE__ */ jsx35(Box9, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx35(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs13(Fragment6, { children: [
4482
- options2.length > 5 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4697
+ children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment6, { children: [
4698
+ options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
4483
4699
  TextField,
4484
4700
  {
4485
4701
  size: "small",
@@ -4488,31 +4704,31 @@ var Selector = ({
4488
4704
  value: searchTerm,
4489
4705
  onChange: (e) => setSearchTerm(e.target.value),
4490
4706
  InputProps: {
4491
- startAdornment: /* @__PURE__ */ jsx35(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx35(SearchIcon4, { fontSize: "small" }) })
4707
+ startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
4492
4708
  }
4493
4709
  }
4494
4710
  ) }),
4495
- /* @__PURE__ */ jsxs13(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4496
- filteredOptions.map((option) => /* @__PURE__ */ jsxs13(
4711
+ /* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4712
+ filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
4497
4713
  ListItemButton3,
4498
4714
  {
4499
4715
  selected: option.id === selectedId,
4500
4716
  onClick: () => handleSelect(option.id),
4501
4717
  disabled: option.disabled,
4502
4718
  children: [
4503
- option.avatar ? /* @__PURE__ */ jsx35(ListItemAvatar3, { children: /* @__PURE__ */ jsx35(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx35(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx35(ListItemAvatar3, { children: /* @__PURE__ */ jsx35(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4504
- /* @__PURE__ */ jsx35(ListItemText6, { primary: option.name, secondary: option.description })
4719
+ option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4720
+ /* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
4505
4721
  ]
4506
4722
  },
4507
4723
  option.id
4508
4724
  )),
4509
- filteredOptions.length === 0 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx35(Typography7, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4725
+ filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4510
4726
  ] }),
4511
- onCreate && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4727
+ onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
4512
4728
  Button,
4513
4729
  {
4514
4730
  fullWidth: true,
4515
- startIcon: /* @__PURE__ */ jsx35(AddIcon3, {}),
4731
+ startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
4516
4732
  onClick: () => {
4517
4733
  onCreate();
4518
4734
  handleClose();
@@ -4525,12 +4741,12 @@ var Selector = ({
4525
4741
  )
4526
4742
  ] });
4527
4743
  }
4528
- return /* @__PURE__ */ jsxs13(Fragment6, { children: [
4529
- /* @__PURE__ */ jsxs13(Box9, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4530
- selectedOption ? renderSelected ? /* @__PURE__ */ jsx35(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ jsx35(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ jsx35(Typography7, { variant: "body2", color: "text.secondary", children: placeholder }),
4531
- /* @__PURE__ */ jsx35(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx35(KeyboardArrowDownIcon3, { fontSize: "small" }) })
4744
+ return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4745
+ /* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4746
+ selectedOption ? renderSelected ? /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: placeholder }),
4747
+ /* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx37(KeyboardArrowDownIcon3, { fontSize: "small" }) })
4532
4748
  ] }),
4533
- /* @__PURE__ */ jsx35(
4749
+ /* @__PURE__ */ jsx37(
4534
4750
  Menu4,
4535
4751
  {
4536
4752
  anchorEl,
@@ -4539,8 +4755,8 @@ var Selector = ({
4539
4755
  PaperProps: {
4540
4756
  sx: { width, maxHeight: 600, mt: 1 }
4541
4757
  },
4542
- children: loading ? /* @__PURE__ */ jsx35(Box9, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx35(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs13(Fragment6, { children: [
4543
- options2.length > 5 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4758
+ children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment6, { children: [
4759
+ options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
4544
4760
  TextField,
4545
4761
  {
4546
4762
  size: "small",
@@ -4549,31 +4765,31 @@ var Selector = ({
4549
4765
  value: searchTerm,
4550
4766
  onChange: (e) => setSearchTerm(e.target.value),
4551
4767
  InputProps: {
4552
- startAdornment: /* @__PURE__ */ jsx35(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx35(SearchIcon4, { fontSize: "small" }) })
4768
+ startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
4553
4769
  }
4554
4770
  }
4555
4771
  ) }),
4556
- /* @__PURE__ */ jsxs13(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4557
- filteredOptions.map((option) => /* @__PURE__ */ jsxs13(
4772
+ /* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4773
+ filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
4558
4774
  ListItemButton3,
4559
4775
  {
4560
4776
  selected: option.id === selectedId,
4561
4777
  onClick: () => handleSelect(option.id),
4562
4778
  disabled: option.disabled,
4563
4779
  children: [
4564
- option.avatar ? /* @__PURE__ */ jsx35(ListItemAvatar3, { children: /* @__PURE__ */ jsx35(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx35(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx35(ListItemAvatar3, { children: /* @__PURE__ */ jsx35(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4565
- /* @__PURE__ */ jsx35(ListItemText6, { primary: option.name, secondary: option.description })
4780
+ option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4781
+ /* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
4566
4782
  ]
4567
4783
  },
4568
4784
  option.id
4569
4785
  )),
4570
- filteredOptions.length === 0 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx35(Typography7, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4786
+ filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4571
4787
  ] }),
4572
- onCreate && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4788
+ onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
4573
4789
  Button,
4574
4790
  {
4575
4791
  fullWidth: true,
4576
- startIcon: /* @__PURE__ */ jsx35(AddIcon3, {}),
4792
+ startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
4577
4793
  onClick: () => {
4578
4794
  onCreate();
4579
4795
  handleClose();
@@ -4588,40 +4804,196 @@ var Selector = ({
4588
4804
  };
4589
4805
 
4590
4806
  // src/components/layout/Logo.tsx
4591
- import { Stack as Stack2, styled as styled24, svgIconClasses } from "@mui/material";
4807
+ import { Stack as Stack2, styled as styled26, svgIconClasses } from "@mui/material";
4592
4808
 
4593
4809
  // src/components/icons/CereIcon.tsx
4594
4810
  import { memo } from "react";
4595
4811
  import { SvgIcon } from "@mui/material";
4596
- import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
4597
- var CereIcon = memo((props) => /* @__PURE__ */ jsxs14(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4598
- /* @__PURE__ */ jsx36("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx36(
4812
+ import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
4813
+ var CereIcon = memo((props) => /* @__PURE__ */ jsxs15(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4814
+ /* @__PURE__ */ jsx38("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx38(
4599
4815
  "path",
4600
4816
  {
4601
4817
  d: "M12.77 26.848c-5.95 0-10.572-2.88-12.063-7.515l-.334-1.037.978-.471c.103-.051 2.668-1.35 2.509-3.901-.169-2.695-2.339-3.96-2.431-4.012L.475 9.37l.412-1.025C2.838 3.601 7.28.77 12.77.77c4.314 0 8.095 1.698 10.37 4.658l.575.748-4.535 6.146-1.013-.984c-.02-.019-2.175-2.069-4.678-2.08-2.411-.012-3.362.902-3.401.941L8.3 8.473c.164-.175 1.695-1.733 5.199-1.707 2.232.01 4.161 1.084 5.3 1.896l1.778-2.41c-1.845-1.91-4.636-2.99-7.808-2.99-4.095 0-7.459 1.91-9.182 5.155 1.042.879 2.57 2.62 2.742 5.35.185 2.95-1.692 4.806-2.913 5.692 1.445 3.043 4.932 4.895 9.354 4.895 3.063 0 6.198-1.2 8.134-3.053l-2.023-2.55c-1.077.768-2.917 1.764-5.323 1.89-3.416.177-5.436-1.404-5.52-1.471l1.536-1.954c.047.035 1.42 1.065 3.855.936 2.884-.15 4.734-2.012 4.75-2.032l.98-1.002.874 1.094 4.088 5.155-.627.779c-2.3 2.856-6.508 4.702-10.726 4.702Z",
4602
4818
  fill: "currentColor"
4603
4819
  }
4604
4820
  ) }),
4605
- /* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "a", children: /* @__PURE__ */ jsx36("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
4821
+ /* @__PURE__ */ jsx38("defs", { children: /* @__PURE__ */ jsx38("clipPath", { id: "a", children: /* @__PURE__ */ jsx38("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
4606
4822
  ] }));
4607
4823
 
4608
4824
  // src/components/layout/Logo.tsx
4609
- import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
4825
+ import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
4610
4826
  var sizesMap = {
4611
4827
  large: 38,
4612
4828
  medium: 32,
4613
4829
  small: 24
4614
4830
  };
4615
- var Container = styled24(Stack2)({
4831
+ var Container = styled26(Stack2)({
4616
4832
  [`& .${svgIconClasses.root}`]: {
4617
4833
  fontSize: "inherit"
4618
4834
  }
4619
4835
  });
4620
- var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ jsx37(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ jsxs15(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
4836
+ var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ jsx39(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ jsxs16(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
4621
4837
  icon,
4622
- children && /* @__PURE__ */ jsx37(Stack2, { children })
4838
+ children && /* @__PURE__ */ jsx39(Stack2, { children })
4623
4839
  ] });
4624
4840
 
4841
+ // src/components/layout/EntityHeader/EntityHeader.tsx
4842
+ import Box11 from "@mui/material/Box";
4843
+ import Typography9 from "@mui/material/Typography";
4844
+ import IconButton7 from "@mui/material/IconButton";
4845
+ import Divider2 from "@mui/material/Divider";
4846
+ import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
4847
+ import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
4848
+ var EntityHeader = ({
4849
+ title,
4850
+ subtitle,
4851
+ role,
4852
+ id,
4853
+ primaryAction,
4854
+ onCopyId,
4855
+ onMoreOptions,
4856
+ headingLevel = "h2",
4857
+ divider = true
4858
+ }) => {
4859
+ const getPrimaryActionLabel = () => {
4860
+ if (!primaryAction) return "";
4861
+ const { label, count } = primaryAction;
4862
+ return count !== void 0 ? `${label} (${count})` : label;
4863
+ };
4864
+ return /* @__PURE__ */ jsxs17(Box11, { children: [
4865
+ /* @__PURE__ */ jsxs17(
4866
+ Box11,
4867
+ {
4868
+ sx: {
4869
+ display: "flex",
4870
+ alignItems: "center",
4871
+ justifyContent: "space-between",
4872
+ px: 3,
4873
+ py: 2,
4874
+ gap: 1
4875
+ },
4876
+ children: [
4877
+ /* @__PURE__ */ jsxs17(
4878
+ Box11,
4879
+ {
4880
+ sx: {
4881
+ display: "flex",
4882
+ alignItems: "center",
4883
+ gap: 1,
4884
+ flexWrap: "wrap"
4885
+ },
4886
+ children: [
4887
+ /* @__PURE__ */ jsxs17(
4888
+ Box11,
4889
+ {
4890
+ sx: {
4891
+ display: "flex",
4892
+ flexDirection: "column",
4893
+ gap: 0.5
4894
+ },
4895
+ children: [
4896
+ /* @__PURE__ */ jsx40(
4897
+ Typography9,
4898
+ {
4899
+ component: headingLevel,
4900
+ sx: {
4901
+ fontSize: "16px",
4902
+ fontWeight: 500,
4903
+ lineHeight: "24px",
4904
+ letterSpacing: "0.15px",
4905
+ color: deploymentSurfaceTokens.textPrimary
4906
+ },
4907
+ children: title
4908
+ }
4909
+ ),
4910
+ subtitle && /* @__PURE__ */ jsx40(
4911
+ Typography9,
4912
+ {
4913
+ variant: "body2",
4914
+ sx: {
4915
+ fontSize: "11px",
4916
+ fontWeight: 500,
4917
+ lineHeight: "16px",
4918
+ letterSpacing: "0.5px",
4919
+ color: deploymentSurfaceTokens.textSecondary
4920
+ },
4921
+ children: subtitle
4922
+ }
4923
+ )
4924
+ ]
4925
+ }
4926
+ ),
4927
+ role && /* @__PURE__ */ jsx40(RoleBadge, { label: role, color: "primary", size: "small" }),
4928
+ id && /* @__PURE__ */ jsx40(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
4929
+ ]
4930
+ }
4931
+ ),
4932
+ /* @__PURE__ */ jsxs17(
4933
+ Box11,
4934
+ {
4935
+ sx: {
4936
+ display: "flex",
4937
+ alignItems: "center",
4938
+ gap: 1,
4939
+ flexShrink: 0
4940
+ },
4941
+ children: [
4942
+ primaryAction && /* @__PURE__ */ jsx40(
4943
+ Button,
4944
+ {
4945
+ variant: "primary",
4946
+ startIcon: primaryAction.icon,
4947
+ onClick: primaryAction.onClick,
4948
+ sx: {
4949
+ textTransform: "capitalize"
4950
+ },
4951
+ children: getPrimaryActionLabel()
4952
+ }
4953
+ ),
4954
+ onMoreOptions && /* @__PURE__ */ jsx40(
4955
+ IconButton7,
4956
+ {
4957
+ onClick: onMoreOptions,
4958
+ size: "small",
4959
+ "aria-label": "More options",
4960
+ sx: {
4961
+ padding: "8px",
4962
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
4963
+ borderRadius: "8px",
4964
+ "&:hover": {
4965
+ backgroundColor: deploymentSurfaceTokens.hoverOverlay,
4966
+ borderColor: deploymentSurfaceTokens.borderDefault
4967
+ }
4968
+ },
4969
+ children: /* @__PURE__ */ jsx40(
4970
+ MoreHorizIcon,
4971
+ {
4972
+ sx: {
4973
+ fontSize: "20px",
4974
+ color: deploymentSurfaceTokens.textSecondary
4975
+ }
4976
+ }
4977
+ )
4978
+ }
4979
+ )
4980
+ ]
4981
+ }
4982
+ )
4983
+ ]
4984
+ }
4985
+ ),
4986
+ divider && /* @__PURE__ */ jsx40(
4987
+ Divider2,
4988
+ {
4989
+ sx: {
4990
+ borderColor: deploymentSurfaceTokens.strokeOutside
4991
+ }
4992
+ }
4993
+ )
4994
+ ] });
4995
+ };
4996
+
4625
4997
  // src/components/layout/Dialog.tsx
4626
4998
  import {
4627
4999
  Dialog as MuiDialog,
@@ -4629,14 +5001,14 @@ import {
4629
5001
  DialogContent,
4630
5002
  DialogActions,
4631
5003
  Button as Button6,
4632
- IconButton as IconButton6,
4633
- Box as Box10,
4634
- Typography as Typography8,
4635
- Divider as Divider2,
5004
+ IconButton as IconButton8,
5005
+ Box as Box12,
5006
+ Typography as Typography10,
5007
+ Divider as Divider3,
4636
5008
  CircularProgress as CircularProgress3
4637
5009
  } from "@mui/material";
4638
5010
  import CloseIcon from "@mui/icons-material/Close";
4639
- import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
5011
+ import { Fragment as Fragment7, jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
4640
5012
  var Dialog = ({
4641
5013
  open,
4642
5014
  title,
@@ -4660,7 +5032,7 @@ var Dialog = ({
4660
5032
  if (e) e.stopPropagation();
4661
5033
  onClose();
4662
5034
  };
4663
- return /* @__PURE__ */ jsxs16(
5035
+ return /* @__PURE__ */ jsxs18(
4664
5036
  MuiDialog,
4665
5037
  {
4666
5038
  open,
@@ -4677,28 +5049,28 @@ var Dialog = ({
4677
5049
  ...dialogProps.PaperProps
4678
5050
  },
4679
5051
  children: [
4680
- /* @__PURE__ */ jsxs16(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
4681
- /* @__PURE__ */ jsx38(Box10, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx38(Typography8, { variant: "h6", children: title }) : title }),
4682
- /* @__PURE__ */ jsxs16(Box10, { sx: { display: "flex", alignItems: "center" }, children: [
5052
+ /* @__PURE__ */ jsxs18(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
5053
+ /* @__PURE__ */ jsx41(Box12, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx41(Typography10, { variant: "h6", children: title }) : title }),
5054
+ /* @__PURE__ */ jsxs18(Box12, { sx: { display: "flex", alignItems: "center" }, children: [
4683
5055
  headerAction,
4684
- /* @__PURE__ */ jsx38(
4685
- IconButton6,
5056
+ /* @__PURE__ */ jsx41(
5057
+ IconButton8,
4686
5058
  {
4687
5059
  edge: "end",
4688
5060
  color: "inherit",
4689
5061
  onClick: handleCloseAttempt,
4690
5062
  "aria-label": "close",
4691
- children: /* @__PURE__ */ jsx38(CloseIcon, {})
5063
+ children: /* @__PURE__ */ jsx41(CloseIcon, {})
4692
5064
  }
4693
5065
  )
4694
5066
  ] })
4695
5067
  ] }),
4696
- dividers && /* @__PURE__ */ jsx38(Divider2, {}),
4697
- /* @__PURE__ */ jsx38(DialogContent, { dividers, children }),
4698
- (showActions || customActions) && /* @__PURE__ */ jsxs16(Fragment7, { children: [
4699
- dividers && /* @__PURE__ */ jsx38(Divider2, {}),
4700
- /* @__PURE__ */ jsx38(DialogActions, { children: customActions || /* @__PURE__ */ jsxs16(Fragment7, { children: [
4701
- /* @__PURE__ */ jsx38(
5068
+ dividers && /* @__PURE__ */ jsx41(Divider3, {}),
5069
+ /* @__PURE__ */ jsx41(DialogContent, { dividers, children }),
5070
+ (showActions || customActions) && /* @__PURE__ */ jsxs18(Fragment7, { children: [
5071
+ dividers && /* @__PURE__ */ jsx41(Divider3, {}),
5072
+ /* @__PURE__ */ jsx41(DialogActions, { children: customActions || /* @__PURE__ */ jsxs18(Fragment7, { children: [
5073
+ /* @__PURE__ */ jsx41(
4702
5074
  Button6,
4703
5075
  {
4704
5076
  onClick: handleCloseAttempt,
@@ -4706,14 +5078,14 @@ var Dialog = ({
4706
5078
  children: cancelLabel
4707
5079
  }
4708
5080
  ),
4709
- onSubmit && /* @__PURE__ */ jsx38(
5081
+ onSubmit && /* @__PURE__ */ jsx41(
4710
5082
  Button6,
4711
5083
  {
4712
5084
  variant: "contained",
4713
5085
  color: "primary",
4714
5086
  onClick: onSubmit,
4715
5087
  disabled: disableSubmit || isLoading,
4716
- startIcon: isLoading ? /* @__PURE__ */ jsx38(CircularProgress3, { size: 20 }) : void 0,
5088
+ startIcon: isLoading ? /* @__PURE__ */ jsx41(CircularProgress3, { size: 20 }) : void 0,
4717
5089
  children: submitLabel
4718
5090
  }
4719
5091
  )
@@ -4726,11 +5098,11 @@ var Dialog = ({
4726
5098
 
4727
5099
  // src/components/layout/Drawer.tsx
4728
5100
  import MuiDrawer from "@mui/material/Drawer";
4729
- import { styled as styled25 } from "@mui/material/styles";
4730
- import { Box as Box11, IconButton as IconButton7, Typography as Typography9, Divider as Divider3, Tabs, Tab as Tab2 } from "@mui/material";
5101
+ import { styled as styled27 } from "@mui/material/styles";
5102
+ import { Box as Box13, IconButton as IconButton9, Typography as Typography11, Divider as Divider4, Tabs, Tab as Tab2 } from "@mui/material";
4731
5103
  import CloseIcon2 from "@mui/icons-material/Close";
4732
- import { Fragment as Fragment8, jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
4733
- var StyledDrawer2 = styled25(MuiDrawer, {
5104
+ import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
5105
+ var StyledDrawer2 = styled27(MuiDrawer, {
4734
5106
  shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
4735
5107
  })(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
4736
5108
  width: collapsed ? miniWidth : width,
@@ -4776,7 +5148,7 @@ var Drawer2 = ({
4776
5148
  const finalWidth = width ?? defaultWidth;
4777
5149
  const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
4778
5150
  const hasHeader = title || header || shouldShowClose || tabs;
4779
- return /* @__PURE__ */ jsxs17(
5151
+ return /* @__PURE__ */ jsxs19(
4780
5152
  StyledDrawer2,
4781
5153
  {
4782
5154
  width: finalWidth,
@@ -4801,9 +5173,9 @@ var Drawer2 = ({
4801
5173
  },
4802
5174
  ...props,
4803
5175
  children: [
4804
- hasHeader && /* @__PURE__ */ jsxs17(Fragment8, { children: [
4805
- /* @__PURE__ */ jsx39(
4806
- Box11,
5176
+ hasHeader && /* @__PURE__ */ jsxs19(Fragment8, { children: [
5177
+ /* @__PURE__ */ jsx42(
5178
+ Box13,
4807
5179
  {
4808
5180
  sx: {
4809
5181
  display: "flex",
@@ -4814,10 +5186,10 @@ var Drawer2 = ({
4814
5186
  borderBottom: 1,
4815
5187
  borderColor: "divider"
4816
5188
  },
4817
- children: header || /* @__PURE__ */ jsxs17(Fragment8, { children: [
4818
- /* @__PURE__ */ jsx39(Box11, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx39(Typography9, { variant: "h6", children: title }) : title }),
4819
- shouldShowClose && onClose && /* @__PURE__ */ jsx39(
4820
- IconButton7,
5189
+ children: header || /* @__PURE__ */ jsxs19(Fragment8, { children: [
5190
+ /* @__PURE__ */ jsx42(Box13, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx42(Typography11, { variant: "h6", children: title }) : title }),
5191
+ shouldShowClose && onClose && /* @__PURE__ */ jsx42(
5192
+ IconButton9,
4821
5193
  {
4822
5194
  onClick: (e) => {
4823
5195
  e.stopPropagation();
@@ -4826,13 +5198,13 @@ var Drawer2 = ({
4826
5198
  size: "small",
4827
5199
  sx: { ml: 1 },
4828
5200
  "aria-label": "close",
4829
- children: /* @__PURE__ */ jsx39(CloseIcon2, {})
5201
+ children: /* @__PURE__ */ jsx42(CloseIcon2, {})
4830
5202
  }
4831
5203
  )
4832
5204
  ] })
4833
5205
  }
4834
5206
  ),
4835
- tabs && tabs.length > 0 && /* @__PURE__ */ jsx39(
5207
+ tabs && tabs.length > 0 && /* @__PURE__ */ jsx42(
4836
5208
  Tabs,
4837
5209
  {
4838
5210
  value: activeTab,
@@ -4847,12 +5219,12 @@ var Drawer2 = ({
4847
5219
  overflow: "auto"
4848
5220
  }
4849
5221
  },
4850
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx39(Tab2, { label: tab }, index))
5222
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx42(Tab2, { label: tab }, index))
4851
5223
  }
4852
5224
  )
4853
5225
  ] }),
4854
- /* @__PURE__ */ jsx39(
4855
- Box11,
5226
+ /* @__PURE__ */ jsx42(
5227
+ Box13,
4856
5228
  {
4857
5229
  sx: {
4858
5230
  flex: 1,
@@ -4864,10 +5236,10 @@ var Drawer2 = ({
4864
5236
  children
4865
5237
  }
4866
5238
  ),
4867
- footer && /* @__PURE__ */ jsxs17(Fragment8, { children: [
4868
- /* @__PURE__ */ jsx39(Divider3, {}),
4869
- /* @__PURE__ */ jsx39(
4870
- Box11,
5239
+ footer && /* @__PURE__ */ jsxs19(Fragment8, { children: [
5240
+ /* @__PURE__ */ jsx42(Divider4, {}),
5241
+ /* @__PURE__ */ jsx42(
5242
+ Box13,
4871
5243
  {
4872
5244
  sx: {
4873
5245
  p: 2,
@@ -4888,9 +5260,9 @@ import MuiCard from "@mui/material/Card";
4888
5260
  import MuiCardContent from "@mui/material/CardContent";
4889
5261
  import MuiCardHeader from "@mui/material/CardHeader";
4890
5262
  import MuiCardActions from "@mui/material/CardActions";
4891
- import { styled as styled26 } from "@mui/material/styles";
4892
- import { jsx as jsx40 } from "react/jsx-runtime";
4893
- var StyledCard = styled26(MuiCard, {
5263
+ import { styled as styled28 } from "@mui/material/styles";
5264
+ import { jsx as jsx43 } from "react/jsx-runtime";
5265
+ var StyledCard = styled28(MuiCard, {
4894
5266
  shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
4895
5267
  })(({ hoverable, clickable }) => ({
4896
5268
  borderRadius: 8,
@@ -4907,16 +5279,16 @@ var StyledCard = styled26(MuiCard, {
4907
5279
  }
4908
5280
  }));
4909
5281
  var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
4910
- return /* @__PURE__ */ jsx40(StyledCard, { hoverable, clickable, ...props, children });
5282
+ return /* @__PURE__ */ jsx43(StyledCard, { hoverable, clickable, ...props, children });
4911
5283
  };
4912
5284
  var CardContent = (props) => {
4913
- return /* @__PURE__ */ jsx40(MuiCardContent, { ...props });
5285
+ return /* @__PURE__ */ jsx43(MuiCardContent, { ...props });
4914
5286
  };
4915
5287
  var CardHeader = (props) => {
4916
- return /* @__PURE__ */ jsx40(MuiCardHeader, { ...props });
5288
+ return /* @__PURE__ */ jsx43(MuiCardHeader, { ...props });
4917
5289
  };
4918
5290
  var CardActions = (props) => {
4919
- return /* @__PURE__ */ jsx40(MuiCardActions, { ...props });
5291
+ return /* @__PURE__ */ jsx43(MuiCardActions, { ...props });
4920
5292
  };
4921
5293
 
4922
5294
  // src/components/layout/List.tsx
@@ -4927,12 +5299,12 @@ import {
4927
5299
  ListItemIcon as ListItemIcon4,
4928
5300
  ListItemSecondaryAction
4929
5301
  } from "@mui/material";
4930
- import { styled as styled27 } from "@mui/material/styles";
4931
- import { jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
5302
+ import { styled as styled29 } from "@mui/material/styles";
5303
+ import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
4932
5304
  var List6 = (props) => {
4933
- return /* @__PURE__ */ jsx41(MuiList, { ...props });
5305
+ return /* @__PURE__ */ jsx44(MuiList, { ...props });
4934
5306
  };
4935
- var StyledListItem = styled27(MuiListItem, {
5307
+ var StyledListItem = styled29(MuiListItem, {
4936
5308
  shouldForwardProp: (prop) => prop !== "hoverable"
4937
5309
  })(({ hoverable = true }) => ({
4938
5310
  border: `1px solid ${colors.grey[200]}`,
@@ -4953,9 +5325,9 @@ var ListItem4 = ({
4953
5325
  children,
4954
5326
  ...props
4955
5327
  }) => {
4956
- return /* @__PURE__ */ jsxs18(StyledListItem, { hoverable, ...props, children: [
4957
- icon && /* @__PURE__ */ jsx41(ListItemIcon4, { children: icon }),
4958
- (primary || secondary) && /* @__PURE__ */ jsx41(
5328
+ return /* @__PURE__ */ jsxs20(StyledListItem, { hoverable, ...props, children: [
5329
+ icon && /* @__PURE__ */ jsx44(ListItemIcon4, { children: icon }),
5330
+ (primary || secondary) && /* @__PURE__ */ jsx44(
4959
5331
  ListItemText7,
4960
5332
  {
4961
5333
  primary,
@@ -4970,22 +5342,20 @@ var ListItem4 = ({
4970
5342
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
4971
5343
  import {
4972
5344
  Paper,
4973
- Box as Box12,
4974
- Typography as Typography10,
4975
- IconButton as IconButton8,
5345
+ Box as Box14,
5346
+ Typography as Typography12,
5347
+ IconButton as IconButton10,
4976
5348
  useTheme as useTheme2,
4977
5349
  LinearProgress as LinearProgress2
4978
5350
  } from "@mui/material";
4979
- import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
4980
5351
  import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
4981
5352
  import ChevronRightIcon2 from "@mui/icons-material/ChevronRight";
4982
- import ContentCopyIcon from "@mui/icons-material/ContentCopy";
4983
5353
  import WorkOutlineIcon from "@mui/icons-material/WorkOutline";
4984
5354
  import WavesIcon from "@mui/icons-material/Waves";
4985
5355
  import RocketLaunchOutlinedIcon from "@mui/icons-material/RocketLaunchOutlined";
4986
5356
  import InsertLinkIcon from "@mui/icons-material/InsertLink";
4987
5357
  import SmartToyOutlinedIcon from "@mui/icons-material/SmartToyOutlined";
4988
- import { styled as styled28 } from "@mui/material/styles";
5358
+ import { styled as styled30 } from "@mui/material/styles";
4989
5359
 
4990
5360
  // src/hooks/useControlledExpand.ts
4991
5361
  import { useState as useState7 } from "react";
@@ -4998,7 +5368,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
4998
5368
  }
4999
5369
 
5000
5370
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
5001
- import { Fragment as Fragment9, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
5371
+ import { Fragment as Fragment9, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
5002
5372
  var ENTITY_LABELS = {
5003
5373
  workspace: "Workspace",
5004
5374
  stream: "Stream",
@@ -5006,13 +5376,13 @@ var ENTITY_LABELS = {
5006
5376
  engagement: "Engagement",
5007
5377
  agent: "Agent"
5008
5378
  };
5009
- var ENTITY_ICON_SIZE = 24;
5379
+ var ENTITY_ICON_SIZE = 16;
5010
5380
  var ENTITY_ICONS = {
5011
- workspace: /* @__PURE__ */ jsx42(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5012
- stream: /* @__PURE__ */ jsx42(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5013
- deployment: /* @__PURE__ */ jsx42(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5014
- engagement: /* @__PURE__ */ jsx42(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5015
- agent: /* @__PURE__ */ jsx42(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
5381
+ workspace: /* @__PURE__ */ jsx45(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5382
+ stream: /* @__PURE__ */ jsx45(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5383
+ deployment: /* @__PURE__ */ jsx45(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5384
+ engagement: /* @__PURE__ */ jsx45(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5385
+ agent: /* @__PURE__ */ jsx45(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
5016
5386
  };
5017
5387
  var STATUS_DOT_COLORS = {
5018
5388
  normal: deploymentStatusColors.normal,
@@ -5021,7 +5391,19 @@ var STATUS_DOT_COLORS = {
5021
5391
  disabled: deploymentStatusColors.disabledDim
5022
5392
  };
5023
5393
  var CHEVRON_SIZE = 16;
5024
- var StatusDot = styled28(Box12, {
5394
+ var ENTITY_CHIP_STYLES = {
5395
+ borderRadius: "12px",
5396
+ borderWidth: "1.5px",
5397
+ padding: { left: 0.75, right: 1, vertical: 0.25 },
5398
+ gap: 0.5
5399
+ };
5400
+ var ENTITY_CHIP_TYPOGRAPHY = {
5401
+ fontSize: "12px",
5402
+ fontWeight: 500,
5403
+ lineHeight: 1.33,
5404
+ letterSpacing: "0.07px"
5405
+ };
5406
+ var StatusDot = styled30(Box14, {
5025
5407
  shouldForwardProp: (p) => p !== "status"
5026
5408
  })(({ status }) => ({
5027
5409
  width: 8,
@@ -5030,75 +5412,49 @@ var StatusDot = styled28(Box12, {
5030
5412
  backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
5031
5413
  flexShrink: 0
5032
5414
  }));
5033
- var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs19(
5034
- Box12,
5415
+ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs21(
5416
+ Box14,
5035
5417
  {
5036
5418
  sx: {
5037
5419
  display: "inline-flex",
5038
5420
  alignItems: "center",
5039
- gap: 0.5,
5040
- pl: 1,
5041
- pr: 1.5,
5042
- py: 0.5,
5043
- borderRadius: "16px",
5421
+ gap: ENTITY_CHIP_STYLES.gap,
5422
+ pl: ENTITY_CHIP_STYLES.padding.left,
5423
+ pr: ENTITY_CHIP_STYLES.padding.right,
5424
+ py: ENTITY_CHIP_STYLES.padding.vertical,
5425
+ borderRadius: ENTITY_CHIP_STYLES.borderRadius,
5044
5426
  backgroundColor: deploymentSurfaceTokens.surfaceHigh,
5045
- border: `2px solid ${color}`,
5427
+ border: `${ENTITY_CHIP_STYLES.borderWidth} solid ${color}`,
5046
5428
  flexShrink: 0
5047
5429
  },
5048
5430
  children: [
5049
- /* @__PURE__ */ jsx42(Box12, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5050
- /* @__PURE__ */ jsx42(
5051
- Typography10,
5431
+ /* @__PURE__ */ jsx45(Box14, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5432
+ /* @__PURE__ */ jsx45(
5433
+ Typography12,
5052
5434
  {
5053
5435
  variant: "body2",
5054
- fontWeight: 500,
5055
- sx: { color: "black", lineHeight: 1.42, fontSize: "14px", letterSpacing: "0.07px" },
5436
+ fontWeight: ENTITY_CHIP_TYPOGRAPHY.fontWeight,
5437
+ sx: {
5438
+ color: "black",
5439
+ lineHeight: ENTITY_CHIP_TYPOGRAPHY.lineHeight,
5440
+ fontSize: ENTITY_CHIP_TYPOGRAPHY.fontSize,
5441
+ letterSpacing: ENTITY_CHIP_TYPOGRAPHY.letterSpacing
5442
+ },
5056
5443
  children: ENTITY_LABELS[entityType]
5057
5444
  }
5058
5445
  )
5059
5446
  ]
5060
5447
  }
5061
5448
  );
5062
- var IdBadge = ({ id, onCopy }) => /* @__PURE__ */ jsxs19(
5063
- Box12,
5064
- {
5065
- sx: {
5066
- display: "inline-flex",
5067
- alignItems: "center",
5068
- gap: 0.5,
5069
- px: 2,
5070
- py: 1,
5071
- borderRadius: "8px",
5072
- border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5073
- bgcolor: "white",
5074
- flexShrink: 0
5075
- },
5076
- children: [
5077
- /* @__PURE__ */ jsxs19(
5078
- Typography10,
5079
- {
5080
- variant: "body2",
5081
- fontWeight: 500,
5082
- sx: { color: deploymentSurfaceTokens.textPrimary, whiteSpace: "nowrap" },
5083
- children: [
5084
- "ID: ",
5085
- id
5086
- ]
5087
- }
5088
- ),
5089
- onCopy && /* @__PURE__ */ jsx42(IconButton8, { size: "small", onClick: onCopy, "aria-label": "Copy ID", sx: { p: 0 }, children: /* @__PURE__ */ jsx42(ContentCopyIcon, { sx: { fontSize: 14, color: deploymentSurfaceTokens.textSecondary } }) })
5090
- ]
5091
- }
5092
- );
5093
- var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs19(Box12, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5094
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5095
- /* @__PURE__ */ jsx42(Typography10, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5096
- /* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
5449
+ var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs21(Box14, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5450
+ /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5451
+ /* @__PURE__ */ jsx45(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5452
+ /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
5097
5453
  value,
5098
5454
  "%"
5099
5455
  ] })
5100
5456
  ] }),
5101
- /* @__PURE__ */ jsx42(
5457
+ /* @__PURE__ */ jsx45(
5102
5458
  LinearProgress2,
5103
5459
  {
5104
5460
  variant: "determinate",
@@ -5115,31 +5471,42 @@ var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs19(Box12,
5115
5471
  }
5116
5472
  )
5117
5473
  ] });
5118
- var CardActionList = ({ actions }) => /* @__PURE__ */ jsx42(Fragment9, { children: actions.map((action) => /* @__PURE__ */ jsxs19(
5119
- Box12,
5474
+ var getActionButtonStyles = (action) => {
5475
+ const baseStyles = {
5476
+ display: "inline-flex",
5477
+ alignItems: "center",
5478
+ gap: 0.5,
5479
+ cursor: action.onClick ? "pointer" : "default",
5480
+ background: "none",
5481
+ font: "inherit",
5482
+ color: deploymentSurfaceTokens.textPrimary,
5483
+ whiteSpace: "nowrap",
5484
+ "&:hover": action.onClick ? { opacity: 0.7 } : void 0
5485
+ };
5486
+ const variantStyles = action.outlined ? {
5487
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5488
+ borderRadius: "8px",
5489
+ p: 1,
5490
+ bgcolor: "white"
5491
+ } : {
5492
+ border: "none",
5493
+ p: 0
5494
+ };
5495
+ return { ...baseStyles, ...variantStyles };
5496
+ };
5497
+ var CardAction = ({ action }) => /* @__PURE__ */ jsxs21(
5498
+ Box14,
5120
5499
  {
5121
5500
  component: action.onClick ? "button" : "span",
5122
5501
  onClick: action.onClick,
5123
- sx: {
5124
- display: "inline-flex",
5125
- alignItems: "center",
5126
- gap: 0.5,
5127
- cursor: action.onClick ? "pointer" : "default",
5128
- background: "none",
5129
- border: "none",
5130
- p: 0,
5131
- font: "inherit",
5132
- color: deploymentSurfaceTokens.textPrimary,
5133
- whiteSpace: "nowrap",
5134
- "&:hover": action.onClick ? { opacity: 0.7 } : void 0
5135
- },
5502
+ sx: getActionButtonStyles(action),
5136
5503
  children: [
5137
- action.icon && /* @__PURE__ */ jsx42(Box12, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5138
- /* @__PURE__ */ jsx42(Typography10, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
5504
+ action.icon && /* @__PURE__ */ jsx45(Box14, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5505
+ action.label && /* @__PURE__ */ jsx45(Typography12, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
5139
5506
  ]
5140
- },
5141
- action.id
5142
- )) });
5507
+ }
5508
+ );
5509
+ var CardActionList = ({ actions }) => /* @__PURE__ */ jsx45(Fragment9, { children: actions.map((action) => /* @__PURE__ */ jsx45(CardAction, { action }, action.id)) });
5143
5510
  var DeploymentDashboardCard = ({
5144
5511
  entityType,
5145
5512
  title,
@@ -5153,21 +5520,26 @@ var DeploymentDashboardCard = ({
5153
5520
  expanded: controlledExpanded,
5154
5521
  onExpandToggle,
5155
5522
  onCopyId,
5156
- onContextMenu,
5157
5523
  className,
5158
5524
  children
5159
5525
  }) => {
5160
5526
  const theme2 = useTheme2();
5161
5527
  const entityColor = theme2.palette.deployment?.entity?.[entityType] ?? deploymentEntityColors[entityType];
5528
+ const isControlled = expandable && onExpandToggle != null;
5162
5529
  const { expanded, toggle } = useControlledExpand(
5163
- expandable && onExpandToggle != null ? controlledExpanded : void 0,
5164
- expandable && onExpandToggle != null ? onExpandToggle : void 0
5530
+ isControlled ? controlledExpanded : void 0,
5531
+ isControlled ? onExpandToggle : void 0
5165
5532
  );
5166
5533
  const isWorkspace = entityType === "workspace";
5167
5534
  const isDeployment = entityType === "deployment";
5168
- const isAgent = entityType === "agent";
5169
- const capacityClamped = isDeployment && capacity != null ? Math.min(100, Math.max(0, capacity)) : void 0;
5170
- return /* @__PURE__ */ jsxs19(
5535
+ const getClampedCapacity = (capacity2) => {
5536
+ if (!isDeployment || capacity2 == null) {
5537
+ return void 0;
5538
+ }
5539
+ return Math.min(100, Math.max(0, capacity2));
5540
+ };
5541
+ const capacityClamped = getClampedCapacity(capacity);
5542
+ return /* @__PURE__ */ jsxs21(
5171
5543
  Paper,
5172
5544
  {
5173
5545
  className,
@@ -5178,14 +5550,14 @@ var DeploymentDashboardCard = ({
5178
5550
  boxShadow: isWorkspace ? deploymentSurfaceTokens.workspaceShadow : "none",
5179
5551
  px: 1,
5180
5552
  py: isDeployment ? 2 : 1,
5181
- pl: isAgent && !expandable ? 2 : 1,
5553
+ pl: 1,
5182
5554
  display: "flex",
5183
5555
  flexDirection: "column",
5184
5556
  gap: 0
5185
5557
  },
5186
5558
  children: [
5187
- /* @__PURE__ */ jsxs19(
5188
- Box12,
5559
+ /* @__PURE__ */ jsxs21(
5560
+ Box14,
5189
5561
  {
5190
5562
  sx: {
5191
5563
  display: "flex",
@@ -5194,21 +5566,21 @@ var DeploymentDashboardCard = ({
5194
5566
  width: "100%"
5195
5567
  },
5196
5568
  children: [
5197
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5198
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5199
- expandable && /* @__PURE__ */ jsx42(
5200
- IconButton8,
5569
+ /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5570
+ /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5571
+ expandable ? /* @__PURE__ */ jsx45(
5572
+ IconButton10,
5201
5573
  {
5202
5574
  size: "small",
5203
5575
  onClick: toggle,
5204
5576
  "aria-label": expanded ? "Collapse" : "Expand",
5205
5577
  sx: { p: "5px" },
5206
- children: expanded ? /* @__PURE__ */ jsx42(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx42(ChevronRightIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
5578
+ children: expanded ? /* @__PURE__ */ jsx45(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx45(ChevronRightIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
5207
5579
  }
5208
- ),
5209
- /* @__PURE__ */ jsx42(EntityChip, { entityType, color: entityColor }),
5210
- /* @__PURE__ */ jsx42(
5211
- Typography10,
5580
+ ) : /* @__PURE__ */ jsx45(Box14, { sx: { width: 26, flexShrink: 0 } }),
5581
+ /* @__PURE__ */ jsx45(EntityChip, { entityType, color: entityColor }),
5582
+ /* @__PURE__ */ jsx45(
5583
+ Typography12,
5212
5584
  {
5213
5585
  variant: "subtitle1",
5214
5586
  fontWeight: 500,
@@ -5217,84 +5589,136 @@ var DeploymentDashboardCard = ({
5217
5589
  children: title
5218
5590
  }
5219
5591
  ),
5220
- idDisplay != null && /* @__PURE__ */ jsx42(IdBadge, { id: idDisplay, onCopy: onCopyId })
5592
+ idDisplay != null && /* @__PURE__ */ jsx45(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
5221
5593
  ] }),
5222
- (createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs19(
5223
- Box12,
5594
+ (createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs21(
5595
+ Box14,
5224
5596
  {
5225
5597
  sx: {
5226
5598
  display: "flex",
5227
5599
  gap: 2,
5228
- px: expandable ? "36px" : 0,
5600
+ px: "34px",
5229
5601
  color: deploymentSurfaceTokens.textSecondary
5230
5602
  },
5231
5603
  children: [
5232
- createdAt != null && /* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5604
+ createdAt != null && /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5233
5605
  "Created: ",
5234
5606
  createdAt
5235
5607
  ] }),
5236
- updatedAt != null && /* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5608
+ updatedAt != null && /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5237
5609
  "Last Updated: ",
5238
5610
  updatedAt
5239
5611
  ] })
5240
5612
  ]
5241
5613
  }
5242
5614
  ),
5243
- capacityClamped !== void 0 && /* @__PURE__ */ jsx42(CapacityBar, { value: capacityClamped, indented: expandable })
5615
+ capacityClamped !== void 0 && /* @__PURE__ */ jsx45(CapacityBar, { value: capacityClamped, indented: expandable })
5244
5616
  ] }),
5245
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5246
- statusIndicator != null && /* @__PURE__ */ jsx42(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5247
- /* @__PURE__ */ jsx42(CardActionList, { actions }),
5248
- onContextMenu && /* @__PURE__ */ jsx42(
5249
- IconButton8,
5250
- {
5251
- size: "small",
5252
- onClick: onContextMenu,
5253
- "aria-label": "Open menu",
5254
- sx: {
5255
- border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5256
- borderRadius: "8px",
5257
- p: 1,
5258
- bgcolor: "white"
5259
- },
5260
- children: /* @__PURE__ */ jsx42(MoreHorizIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.textPrimary } })
5261
- }
5262
- )
5617
+ /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5618
+ statusIndicator != null && /* @__PURE__ */ jsx45(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5619
+ /* @__PURE__ */ jsx45(CardActionList, { actions })
5263
5620
  ] })
5264
5621
  ]
5265
5622
  }
5266
5623
  ),
5267
- children && /* @__PURE__ */ jsx42(Box12, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
5624
+ children && /* @__PURE__ */ jsx45(Box14, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
5268
5625
  ]
5269
5626
  }
5270
5627
  );
5271
5628
  };
5272
5629
 
5273
5630
  // src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
5274
- import { Menu as Menu5, Switch as Switch2 } from "@mui/material";
5275
- import { styled as styled29 } from "@mui/material/styles";
5276
- import { jsx as jsx43, jsxs as jsxs20 } from "react/jsx-runtime";
5277
- var StyledMenu2 = styled29(Menu5)({
5631
+ import { Menu as Menu5, MenuItem as MenuItem2, Switch as Switch2, Divider as Divider5, ListItemIcon as ListItemIcon5, ListItemText as ListItemText8 } from "@mui/material";
5632
+ import { styled as styled31 } from "@mui/material/styles";
5633
+ import { Fragment as Fragment10, jsx as jsx46, jsxs as jsxs22 } from "react/jsx-runtime";
5634
+ var StyledMenu2 = styled31(Menu5)({
5278
5635
  "& .MuiPaper-root": {
5279
- borderRadius: 10,
5280
- boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
5636
+ borderRadius: 4,
5637
+ boxShadow: deploymentSurfaceTokens.workspaceShadow,
5281
5638
  minWidth: 220,
5282
- border: "1px solid",
5283
- borderColor: "grey.200"
5639
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5640
+ padding: 8
5641
+ },
5642
+ "& .MuiList-root": {
5643
+ padding: 0
5284
5644
  }
5285
5645
  });
5286
- var MenuListWrapper = styled29("div")({
5287
- "& .MuiList-root": {
5288
- padding: 8
5646
+ var StyledMenuItem = styled31(MenuItem2)({
5647
+ gap: 8,
5648
+ padding: "8px 0",
5649
+ borderRadius: 4,
5650
+ minHeight: "auto",
5651
+ "&:hover": {
5652
+ backgroundColor: deploymentSurfaceTokens.hoverLight
5289
5653
  },
5290
- "& .MuiListItem-root": {
5291
- borderRadius: 8,
5292
- marginBottom: 4,
5293
- "&:hover": {
5294
- backgroundColor: deploymentSurfaceTokens.hoverLight
5654
+ "& .MuiListItemIcon-root": {
5655
+ minWidth: "auto",
5656
+ color: deploymentSurfaceTokens.textPrimary,
5657
+ "& .MuiSvgIcon-root": {
5658
+ fontSize: 24
5295
5659
  }
5660
+ },
5661
+ "& .MuiListItemText-root .MuiTypography-root": {
5662
+ fontSize: 16,
5663
+ fontWeight: 500,
5664
+ lineHeight: 1.5,
5665
+ letterSpacing: "0.08px",
5666
+ color: deploymentSurfaceTokens.textPrimary
5296
5667
  }
5297
5668
  });
5669
+ var HighlightedMenuItem = styled31(StyledMenuItem)({
5670
+ backgroundColor: deploymentSurfaceTokens.highlightBg,
5671
+ border: `1px solid ${deploymentSurfaceTokens.highlightBorder}`,
5672
+ padding: 8,
5673
+ "&:hover": {
5674
+ backgroundColor: deploymentSurfaceTokens.highlightBgHover
5675
+ }
5676
+ });
5677
+ var ToggleMenuItem = styled31(MenuItem2)({
5678
+ gap: 8,
5679
+ padding: "8px 0",
5680
+ cursor: "default",
5681
+ minHeight: "auto",
5682
+ "&:hover": {
5683
+ backgroundColor: "transparent"
5684
+ },
5685
+ "& .MuiListItemText-root .MuiTypography-root": {
5686
+ fontSize: 16,
5687
+ fontWeight: 500,
5688
+ lineHeight: 1.5,
5689
+ letterSpacing: "0.08px",
5690
+ color: deploymentSurfaceTokens.textPrimary
5691
+ }
5692
+ });
5693
+ var EnableSwitch = styled31(Switch2)({
5694
+ width: 32,
5695
+ height: 20,
5696
+ padding: 0,
5697
+ "& .MuiSwitch-switchBase": {
5698
+ padding: 2,
5699
+ "&.Mui-checked": {
5700
+ transform: "translateX(12px)",
5701
+ color: "#fff",
5702
+ "& + .MuiSwitch-track": {
5703
+ backgroundColor: deploymentSurfaceTokens.switchGreen,
5704
+ opacity: 1
5705
+ }
5706
+ }
5707
+ },
5708
+ "& .MuiSwitch-thumb": {
5709
+ width: 16,
5710
+ height: 16
5711
+ },
5712
+ "& .MuiSwitch-track": {
5713
+ borderRadius: 100,
5714
+ backgroundColor: deploymentSurfaceTokens.switchTrackOff,
5715
+ opacity: 1
5716
+ }
5717
+ });
5718
+ var StyledDivider = styled31(Divider5)({
5719
+ margin: "0 !important",
5720
+ borderColor: deploymentSurfaceTokens.strokeOutside
5721
+ });
5298
5722
  var DeploymentEntityContextMenu = ({
5299
5723
  open,
5300
5724
  anchorEl,
@@ -5304,7 +5728,7 @@ var DeploymentEntityContextMenu = ({
5304
5728
  enableChecked = false,
5305
5729
  onEnableChange
5306
5730
  }) => {
5307
- return /* @__PURE__ */ jsx43(
5731
+ return /* @__PURE__ */ jsxs22(
5308
5732
  StyledMenu2,
5309
5733
  {
5310
5734
  anchorEl,
@@ -5313,58 +5737,57 @@ var DeploymentEntityContextMenu = ({
5313
5737
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
5314
5738
  transformOrigin: { vertical: "top", horizontal: "right" },
5315
5739
  slotProps: { paper: { "aria-label": "Entity context menu" } },
5316
- children: /* @__PURE__ */ jsx43(MenuListWrapper, { children: /* @__PURE__ */ jsxs20(List6, { disablePadding: true, children: [
5317
- items.map(
5318
- (item) => item.type === "toggle" ? /* @__PURE__ */ jsx43(
5319
- ListItem4,
5320
- {
5321
- primary: item.label,
5322
- icon: item.icon,
5323
- action: onEnableChange ? /* @__PURE__ */ jsx43(
5324
- Switch2,
5740
+ children: [
5741
+ items.map((item) => {
5742
+ if (item.type === "divider") {
5743
+ return /* @__PURE__ */ jsx46(StyledDivider, {}, item.id);
5744
+ }
5745
+ if (item.type === "toggle") {
5746
+ return /* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
5747
+ onEnableChange && /* @__PURE__ */ jsx46(
5748
+ EnableSwitch,
5325
5749
  {
5326
5750
  size: "small",
5327
5751
  checked: enableChecked,
5328
5752
  onChange: (_, checked) => onEnableChange(checked),
5329
- color: "success"
5753
+ inputProps: { "aria-label": item.label }
5330
5754
  }
5331
- ) : void 0,
5332
- hoverable: true,
5333
- sx: { cursor: "default" }
5334
- },
5335
- item.id
5336
- ) : /* @__PURE__ */ jsx43(
5337
- ListItem4,
5755
+ ),
5756
+ /* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
5757
+ ] }, item.id);
5758
+ }
5759
+ const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
5760
+ return /* @__PURE__ */ jsxs22(
5761
+ Row,
5338
5762
  {
5339
- primary: item.label,
5340
- icon: item.icon,
5341
5763
  onClick: () => {
5342
5764
  item.onClick?.();
5343
5765
  onClose();
5344
5766
  },
5345
- hoverable: true
5767
+ children: [
5768
+ item.icon && /* @__PURE__ */ jsx46(ListItemIcon5, { children: item.icon }),
5769
+ /* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
5770
+ ]
5346
5771
  },
5347
5772
  item.id
5348
- )
5349
- ),
5350
- enableToggle && /* @__PURE__ */ jsx43(
5351
- ListItem4,
5352
- {
5353
- primary: "Enable",
5354
- action: onEnableChange ? /* @__PURE__ */ jsx43(
5355
- Switch2,
5773
+ );
5774
+ }),
5775
+ enableToggle && /* @__PURE__ */ jsxs22(Fragment10, { children: [
5776
+ /* @__PURE__ */ jsx46(StyledDivider, {}),
5777
+ /* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
5778
+ onEnableChange && /* @__PURE__ */ jsx46(
5779
+ EnableSwitch,
5356
5780
  {
5357
5781
  size: "small",
5358
5782
  checked: enableChecked,
5359
5783
  onChange: (_, checked) => onEnableChange(checked),
5360
- color: "success"
5784
+ inputProps: { "aria-label": "Enable" }
5361
5785
  }
5362
- ) : void 0,
5363
- hoverable: true,
5364
- sx: { cursor: "default" }
5365
- }
5366
- )
5367
- ] }) })
5786
+ ),
5787
+ /* @__PURE__ */ jsx46(ListItemText8, { primary: "Enable" })
5788
+ ] })
5789
+ ] })
5790
+ ]
5368
5791
  }
5369
5792
  );
5370
5793
  };
@@ -5373,65 +5796,86 @@ var DeploymentEntityContextMenu = ({
5373
5796
  import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline";
5374
5797
  import EditIcon from "@mui/icons-material/Edit";
5375
5798
  import ContentCopyIcon2 from "@mui/icons-material/ContentCopy";
5376
- import AccountTreeIcon from "@mui/icons-material/AccountTree";
5799
+ import SmartToyOutlinedIcon2 from "@mui/icons-material/SmartToyOutlined";
5377
5800
  import DescriptionIcon from "@mui/icons-material/Description";
5378
5801
  import SettingsIcon2 from "@mui/icons-material/Settings";
5379
- import { jsx as jsx44 } from "react/jsx-runtime";
5802
+ import { jsx as jsx47 } from "react/jsx-runtime";
5380
5803
  var contextMenuItems = {
5804
+ /** Add Engagement action (Add Circle icon) */
5381
5805
  addEngagement: (onClick) => ({
5382
5806
  id: "add-engagement",
5383
5807
  label: "Add Engagement",
5384
- icon: /* @__PURE__ */ jsx44(AddCircleOutlineIcon, { fontSize: "small" }),
5808
+ icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
5385
5809
  onClick
5386
5810
  }),
5811
+ /** Add Agent action (Add Circle icon) */
5387
5812
  addAgent: (onClick) => ({
5388
5813
  id: "add-agent",
5389
5814
  label: "Add Agent",
5390
- icon: /* @__PURE__ */ jsx44(AddCircleOutlineIcon, { fontSize: "small" }),
5815
+ icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
5391
5816
  onClick
5392
5817
  }),
5818
+ /** Add Stream action (Add Circle icon) */
5393
5819
  addStream: (onClick) => ({
5394
5820
  id: "add-stream",
5395
5821
  label: "Add Stream",
5396
- icon: /* @__PURE__ */ jsx44(AddCircleOutlineIcon, { fontSize: "small" }),
5822
+ icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
5397
5823
  onClick
5398
5824
  }),
5825
+ /** Edit action (Pen / Edit icon) */
5399
5826
  edit: (onClick) => ({
5400
5827
  id: "edit",
5401
5828
  label: "Edit",
5402
- icon: /* @__PURE__ */ jsx44(EditIcon, { fontSize: "small" }),
5829
+ icon: /* @__PURE__ */ jsx47(EditIcon, {}),
5403
5830
  onClick
5404
5831
  }),
5832
+ /** Copy ID action (Copy icon) */
5405
5833
  copyId: (onClick) => ({
5406
5834
  id: "copy-id",
5407
5835
  label: "Copy ID",
5408
- icon: /* @__PURE__ */ jsx44(ContentCopyIcon2, { fontSize: "small" }),
5836
+ icon: /* @__PURE__ */ jsx47(ContentCopyIcon2, {}),
5409
5837
  onClick
5410
5838
  }),
5839
+ /** Agent Flow Visualization — highlighted action (SmartToy icon) */
5411
5840
  agentFlowVisualization: (onClick) => ({
5412
5841
  id: "agent-flow",
5413
5842
  label: "Agent Flow Visualization",
5414
- icon: /* @__PURE__ */ jsx44(AccountTreeIcon, { fontSize: "small" }),
5415
- onClick
5843
+ icon: /* @__PURE__ */ jsx47(SmartToyOutlinedIcon2, {}),
5844
+ onClick,
5845
+ highlighted: true
5416
5846
  }),
5847
+ /** View Logs action (Document / Description icon) */
5417
5848
  viewLogs: (onClick) => ({
5418
5849
  id: "view-logs",
5419
5850
  label: "View Logs",
5420
- icon: /* @__PURE__ */ jsx44(DescriptionIcon, { fontSize: "small" }),
5851
+ icon: /* @__PURE__ */ jsx47(DescriptionIcon, {}),
5421
5852
  onClick
5422
5853
  }),
5854
+ /** Horizontal divider between sections */
5855
+ divider: () => ({
5856
+ id: "divider",
5857
+ label: "",
5858
+ type: "divider"
5859
+ }),
5860
+ /** Enable toggle row (switch on left + label) */
5861
+ enable: () => ({
5862
+ id: "enable",
5863
+ label: "Enable",
5864
+ type: "toggle"
5865
+ }),
5866
+ /** Settings action (Settings / Gear icon) */
5423
5867
  settings: (onClick) => ({
5424
5868
  id: "settings",
5425
5869
  label: "Settings",
5426
- icon: /* @__PURE__ */ jsx44(SettingsIcon2, { fontSize: "small" }),
5870
+ icon: /* @__PURE__ */ jsx47(SettingsIcon2, {}),
5427
5871
  onClick
5428
5872
  })
5429
5873
  };
5430
5874
 
5431
5875
  // src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
5432
- import { Box as Box13 } from "@mui/material";
5433
- import { styled as styled30, alpha } from "@mui/material/styles";
5434
- import { jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
5876
+ import { Box as Box15 } from "@mui/material";
5877
+ import { styled as styled32, alpha } from "@mui/material/styles";
5878
+ import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
5435
5879
  var TREE_SP = {
5436
5880
  /** Vertical gap between sibling rows (Figma S / sp-8) */
5437
5881
  rowGap: 8,
@@ -5449,7 +5893,7 @@ var RAIL_OPACITY = {
5449
5893
  engagement: 0.4,
5450
5894
  agent: 0.4
5451
5895
  };
5452
- var Rail = styled30(Box13, {
5896
+ var Rail = styled32(Box15, {
5453
5897
  shouldForwardProp: (p) => p !== "railColor"
5454
5898
  })(({ railColor }) => ({
5455
5899
  width: TREE_SP.railWidth,
@@ -5458,7 +5902,7 @@ var Rail = styled30(Box13, {
5458
5902
  flexShrink: 0,
5459
5903
  alignSelf: "stretch"
5460
5904
  }));
5461
- var TreeRow = ({ node, depth, onExpandToggle, onCopyId, onContextMenu, renderCard }) => {
5905
+ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5462
5906
  const hasChildren = Boolean(node.children && node.children.length > 0);
5463
5907
  const { expanded, toggle } = useControlledExpand(
5464
5908
  onExpandToggle != null ? node.expanded : void 0,
@@ -5468,10 +5912,10 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, onContextMenu, renderCar
5468
5912
  const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
5469
5913
  const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
5470
5914
  const railColor = alpha(entityColor, railOpacity);
5471
- const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs21(Box13, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5472
- /* @__PURE__ */ jsx45(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5473
- /* @__PURE__ */ jsx45(
5474
- Box13,
5915
+ const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs23(Box15, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5916
+ /* @__PURE__ */ jsx48(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5917
+ /* @__PURE__ */ jsx48(
5918
+ Box15,
5475
5919
  {
5476
5920
  role: "group",
5477
5921
  sx: {
@@ -5481,14 +5925,13 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, onContextMenu, renderCar
5481
5925
  flexDirection: "column",
5482
5926
  gap: `${TREE_SP.rowGap}px`
5483
5927
  },
5484
- children: node.children.map((child) => /* @__PURE__ */ jsx45(
5928
+ children: node.children.map((child) => /* @__PURE__ */ jsx48(
5485
5929
  TreeRow,
5486
5930
  {
5487
5931
  node: child,
5488
5932
  depth: depth + 1,
5489
5933
  onExpandToggle,
5490
5934
  onCopyId,
5491
- onContextMenu,
5492
5935
  renderCard
5493
5936
  },
5494
5937
  child.id
@@ -5496,7 +5939,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, onContextMenu, renderCar
5496
5939
  }
5497
5940
  )
5498
5941
  ] }) : null;
5499
- const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx45(
5942
+ const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx48(
5500
5943
  DeploymentDashboardCard,
5501
5944
  {
5502
5945
  entityType: node.entityType,
@@ -5511,21 +5954,19 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, onContextMenu, renderCar
5511
5954
  expanded,
5512
5955
  onExpandToggle: hasChildren ? toggle : void 0,
5513
5956
  onCopyId: onCopyId && node.idDisplay ? () => onCopyId(node.id) : void 0,
5514
- onContextMenu: onContextMenu ? (e) => onContextMenu(node.id, e) : void 0,
5515
5957
  children: renderedChildren
5516
5958
  }
5517
5959
  );
5518
- return /* @__PURE__ */ jsx45(Box13, { role: "treeitem", children: cardContent });
5960
+ return /* @__PURE__ */ jsx48(Box15, { role: "treeitem", children: cardContent });
5519
5961
  };
5520
5962
  var DeploymentDashboardTree = ({
5521
5963
  nodes,
5522
5964
  onExpandToggle,
5523
5965
  onCopyId,
5524
- onContextMenu,
5525
5966
  renderCard
5526
5967
  }) => {
5527
- return /* @__PURE__ */ jsx45(
5528
- Box13,
5968
+ return /* @__PURE__ */ jsx48(
5969
+ Box15,
5529
5970
  {
5530
5971
  role: "tree",
5531
5972
  sx: {
@@ -5534,14 +5975,13 @@ var DeploymentDashboardTree = ({
5534
5975
  gap: `${TREE_SP.rowGap}px`,
5535
5976
  p: `${TREE_SP.rowGap}px`
5536
5977
  },
5537
- children: nodes.map((node) => /* @__PURE__ */ jsx45(
5978
+ children: nodes.map((node) => /* @__PURE__ */ jsx48(
5538
5979
  TreeRow,
5539
5980
  {
5540
5981
  node,
5541
5982
  depth: 0,
5542
5983
  onExpandToggle,
5543
5984
  onCopyId,
5544
- onContextMenu,
5545
5985
  renderCard
5546
5986
  },
5547
5987
  node.id
@@ -5551,12 +5991,12 @@ var DeploymentDashboardTree = ({
5551
5991
  };
5552
5992
 
5553
5993
  // src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
5554
- import { Box as Box14 } from "@mui/material";
5555
- import { styled as styled31 } from "@mui/material/styles";
5556
- import { jsx as jsx46 } from "react/jsx-runtime";
5994
+ import { Box as Box16 } from "@mui/material";
5995
+ import { styled as styled33 } from "@mui/material/styles";
5996
+ import { jsx as jsx49 } from "react/jsx-runtime";
5557
5997
  var PANEL_RADIUS = 12;
5558
5998
  var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
5559
- var StyledPanel = styled31(Box14)({
5999
+ var StyledPanel = styled33(Box16)({
5560
6000
  backgroundColor: deploymentSurfaceTokens.surfaceHigh,
5561
6001
  border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5562
6002
  borderRadius: PANEL_RADIUS,
@@ -5568,19 +6008,19 @@ var DeploymentDashboardPanel = ({
5568
6008
  className,
5569
6009
  padding = 2
5570
6010
  }) => {
5571
- return /* @__PURE__ */ jsx46(StyledPanel, { className, sx: { p: padding }, children });
6011
+ return /* @__PURE__ */ jsx49(StyledPanel, { className, sx: { p: padding }, children });
5572
6012
  };
5573
6013
 
5574
6014
  // src/components/layout/Avatar.tsx
5575
6015
  import MuiAvatar from "@mui/material/Avatar";
5576
- import { styled as styled32 } from "@mui/material/styles";
5577
- import { jsx as jsx47 } from "react/jsx-runtime";
6016
+ import { styled as styled34 } from "@mui/material/styles";
6017
+ import { jsx as jsx50 } from "react/jsx-runtime";
5578
6018
  var sizeMap = {
5579
6019
  small: 32,
5580
6020
  medium: 40,
5581
6021
  large: 56
5582
6022
  };
5583
- var StyledAvatar = styled32(MuiAvatar, {
6023
+ var StyledAvatar = styled34(MuiAvatar, {
5584
6024
  shouldForwardProp: (prop) => prop !== "avatarSize"
5585
6025
  })(({ avatarSize = 40 }) => ({
5586
6026
  width: avatarSize,
@@ -5591,7 +6031,7 @@ var StyledAvatar = styled32(MuiAvatar, {
5591
6031
  }));
5592
6032
  var Avatar5 = ({ size: size3 = "medium", ...props }) => {
5593
6033
  const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
5594
- return /* @__PURE__ */ jsx47(StyledAvatar, { avatarSize, ...props });
6034
+ return /* @__PURE__ */ jsx50(StyledAvatar, { avatarSize, ...props });
5595
6035
  };
5596
6036
 
5597
6037
  // src/components/layout/Table.tsx
@@ -5604,13 +6044,13 @@ import {
5604
6044
  TableRow,
5605
6045
  TableSortLabel
5606
6046
  } from "@mui/material";
5607
- import { styled as styled33 } from "@mui/material/styles";
5608
- import { jsx as jsx48 } from "react/jsx-runtime";
5609
- var StyledTableContainer = styled33(TableContainer)({
6047
+ import { styled as styled35 } from "@mui/material/styles";
6048
+ import { jsx as jsx51 } from "react/jsx-runtime";
6049
+ var StyledTableContainer = styled35(TableContainer)({
5610
6050
  borderRadius: 8,
5611
6051
  border: `1px solid ${colors.grey[200]}`
5612
6052
  });
5613
- var StyledTableHead = styled33(TableHead)({
6053
+ var StyledTableHead = styled35(TableHead)({
5614
6054
  backgroundColor: colors.grey[50],
5615
6055
  "& .MuiTableCell-head": {
5616
6056
  fontWeight: 600,
@@ -5618,7 +6058,7 @@ var StyledTableHead = styled33(TableHead)({
5618
6058
  }
5619
6059
  });
5620
6060
  var Table = ({ stickyHeader = false, children, ...props }) => {
5621
- return /* @__PURE__ */ jsx48(StyledTableContainer, { children: /* @__PURE__ */ jsx48(MuiTable, { stickyHeader, ...props, children }) });
6061
+ return /* @__PURE__ */ jsx51(StyledTableContainer, { children: /* @__PURE__ */ jsx51(MuiTable, { stickyHeader, ...props, children }) });
5622
6062
  };
5623
6063
  var TableHeader = ({
5624
6064
  columns,
@@ -5626,7 +6066,7 @@ var TableHeader = ({
5626
6066
  order = "asc",
5627
6067
  onSort
5628
6068
  }) => {
5629
- return /* @__PURE__ */ jsx48(StyledTableHead, { children: /* @__PURE__ */ jsx48(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx48(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx48(
6069
+ return /* @__PURE__ */ jsx51(StyledTableHead, { children: /* @__PURE__ */ jsx51(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx51(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx51(
5630
6070
  TableSortLabel,
5631
6071
  {
5632
6072
  active: orderBy === column.id,
@@ -5643,10 +6083,10 @@ import { Grid2 } from "@mui/material";
5643
6083
  // src/components/layout/Breadcrumbs.tsx
5644
6084
  import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
5645
6085
  import Link4 from "@mui/material/Link";
5646
- import Typography11 from "@mui/material/Typography";
5647
- import { styled as styled34 } from "@mui/material/styles";
5648
- import { jsx as jsx49 } from "react/jsx-runtime";
5649
- var StyledBreadcrumbs = styled34(MuiBreadcrumbs)({
6086
+ import Typography13 from "@mui/material/Typography";
6087
+ import { styled as styled36 } from "@mui/material/styles";
6088
+ import { jsx as jsx52 } from "react/jsx-runtime";
6089
+ var StyledBreadcrumbs = styled36(MuiBreadcrumbs)({
5650
6090
  "& .MuiBreadcrumbs-ol": {
5651
6091
  flexWrap: "nowrap"
5652
6092
  },
@@ -5654,7 +6094,7 @@ var StyledBreadcrumbs = styled34(MuiBreadcrumbs)({
5654
6094
  color: colors.text.secondary
5655
6095
  }
5656
6096
  });
5657
- var StyledLink2 = styled34(Link4)({
6097
+ var StyledLink2 = styled36(Link4)({
5658
6098
  color: colors.primary.main,
5659
6099
  textDecoration: "none",
5660
6100
  "&:hover": {
@@ -5662,12 +6102,12 @@ var StyledLink2 = styled34(Link4)({
5662
6102
  }
5663
6103
  });
5664
6104
  var Breadcrumbs = ({ items, ...props }) => {
5665
- return /* @__PURE__ */ jsx49(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
6105
+ return /* @__PURE__ */ jsx52(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
5666
6106
  const isLast = index === items.length - 1;
5667
6107
  if (isLast || !item.href && !item.onClick) {
5668
- return /* @__PURE__ */ jsx49(Typography11, { color: "text.primary", children: item.label }, index);
6108
+ return /* @__PURE__ */ jsx52(Typography13, { color: "text.primary", children: item.label }, index);
5669
6109
  }
5670
- return /* @__PURE__ */ jsx49(
6110
+ return /* @__PURE__ */ jsx52(
5671
6111
  StyledLink2,
5672
6112
  {
5673
6113
  href: item.href,
@@ -5691,9 +6131,9 @@ import {
5691
6131
  AccordionDetails
5692
6132
  } from "@mui/material";
5693
6133
  import ExpandMoreIcon2 from "@mui/icons-material/ExpandMore";
5694
- import { styled as styled35 } from "@mui/material/styles";
5695
- import { jsx as jsx50, jsxs as jsxs22 } from "react/jsx-runtime";
5696
- var StyledAccordion = styled35(MuiAccordion)({
6134
+ import { styled as styled37 } from "@mui/material/styles";
6135
+ import { jsx as jsx53, jsxs as jsxs24 } from "react/jsx-runtime";
6136
+ var StyledAccordion = styled37(MuiAccordion)({
5697
6137
  borderRadius: 8,
5698
6138
  boxShadow: "none",
5699
6139
  border: `1px solid ${colors.grey[200]}`,
@@ -5704,7 +6144,7 @@ var StyledAccordion = styled35(MuiAccordion)({
5704
6144
  margin: 0
5705
6145
  }
5706
6146
  });
5707
- var StyledAccordionSummary = styled35(AccordionSummary)({
6147
+ var StyledAccordionSummary = styled37(AccordionSummary)({
5708
6148
  backgroundColor: colors.grey[50],
5709
6149
  borderRadius: "8px 8px 0 0",
5710
6150
  "&.Mui-expanded": {
@@ -5714,7 +6154,7 @@ var StyledAccordionSummary = styled35(AccordionSummary)({
5714
6154
  margin: "12px 0"
5715
6155
  }
5716
6156
  });
5717
- var StyledAccordionDetails = styled35(AccordionDetails)({
6157
+ var StyledAccordionDetails = styled37(AccordionDetails)({
5718
6158
  padding: "16px"
5719
6159
  });
5720
6160
  var Accordion = ({
@@ -5723,17 +6163,17 @@ var Accordion = ({
5723
6163
  defaultExpanded = false,
5724
6164
  ...props
5725
6165
  }) => {
5726
- return /* @__PURE__ */ jsxs22(StyledAccordion, { defaultExpanded, ...props, children: [
5727
- /* @__PURE__ */ jsx50(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx50(ExpandMoreIcon2, {}), children: title }),
5728
- /* @__PURE__ */ jsx50(StyledAccordionDetails, { children })
6166
+ return /* @__PURE__ */ jsxs24(StyledAccordion, { defaultExpanded, ...props, children: [
6167
+ /* @__PURE__ */ jsx53(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx53(ExpandMoreIcon2, {}), children: title }),
6168
+ /* @__PURE__ */ jsx53(StyledAccordionDetails, { children })
5729
6169
  ] });
5730
6170
  };
5731
6171
 
5732
6172
  // src/components/layout/Paper.tsx
5733
6173
  import MuiPaper from "@mui/material/Paper";
5734
- import { styled as styled36 } from "@mui/material/styles";
5735
- import { jsx as jsx51 } from "react/jsx-runtime";
5736
- var StyledPaper = styled36(MuiPaper)({
6174
+ import { styled as styled38 } from "@mui/material/styles";
6175
+ import { jsx as jsx54 } from "react/jsx-runtime";
6176
+ var StyledPaper = styled38(MuiPaper)({
5737
6177
  borderRadius: 8,
5738
6178
  "&.MuiPaper-elevation": {
5739
6179
  boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.08)"
@@ -5744,28 +6184,28 @@ var StyledPaper = styled36(MuiPaper)({
5744
6184
  }
5745
6185
  });
5746
6186
  var Paper2 = ({ variant = "elevation", ...props }) => {
5747
- return /* @__PURE__ */ jsx51(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
6187
+ return /* @__PURE__ */ jsx54(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
5748
6188
  };
5749
6189
 
5750
6190
  // src/components/layout/Divider.tsx
5751
6191
  import MuiDivider from "@mui/material/Divider";
5752
- import { styled as styled37 } from "@mui/material/styles";
5753
- import { jsx as jsx52 } from "react/jsx-runtime";
5754
- var StyledDivider = styled37(MuiDivider)({
6192
+ import { styled as styled39 } from "@mui/material/styles";
6193
+ import { jsx as jsx55 } from "react/jsx-runtime";
6194
+ var StyledDivider2 = styled39(MuiDivider)({
5755
6195
  borderColor: colors.grey[200]
5756
6196
  });
5757
- var Divider4 = ({ ...props }) => {
5758
- return /* @__PURE__ */ jsx52(StyledDivider, { ...props });
6197
+ var Divider6 = ({ ...props }) => {
6198
+ return /* @__PURE__ */ jsx55(StyledDivider2, { ...props });
5759
6199
  };
5760
6200
 
5761
6201
  // src/components/layout/Stack.tsx
5762
6202
  import { Stack as Stack3 } from "@mui/material";
5763
6203
 
5764
6204
  // src/components/layout/Box.tsx
5765
- import { Box as Box15 } from "@mui/material";
6205
+ import { Box as Box17 } from "@mui/material";
5766
6206
 
5767
6207
  // src/components/layout/Typography.tsx
5768
- import { Typography as Typography12 } from "@mui/material";
6208
+ import { Typography as Typography14 } from "@mui/material";
5769
6209
 
5770
6210
  // src/components/layout/Container.tsx
5771
6211
  import { Container as Container2 } from "@mui/material";
@@ -5775,9 +6215,9 @@ import {
5775
6215
  AppBar as MuiAppBar,
5776
6216
  Toolbar
5777
6217
  } from "@mui/material";
5778
- import { styled as styled38 } from "@mui/material/styles";
5779
- import { jsx as jsx53 } from "react/jsx-runtime";
5780
- var StyledAppBar = styled38(MuiAppBar, {
6218
+ import { styled as styled40 } from "@mui/material/styles";
6219
+ import { jsx as jsx56 } from "react/jsx-runtime";
6220
+ var StyledAppBar = styled40(MuiAppBar, {
5781
6221
  shouldForwardProp: (prop) => prop !== "appBarHeight"
5782
6222
  })(({ appBarHeight = 64 }) => ({
5783
6223
  backgroundColor: colors.background.paper,
@@ -5786,23 +6226,23 @@ var StyledAppBar = styled38(MuiAppBar, {
5786
6226
  height: appBarHeight,
5787
6227
  zIndex: 1300
5788
6228
  }));
5789
- var StyledToolbar = styled38(Toolbar)(({ theme: theme2 }) => ({
6229
+ var StyledToolbar = styled40(Toolbar)(({ theme: theme2 }) => ({
5790
6230
  height: "100%",
5791
6231
  paddingLeft: theme2.spacing(2),
5792
6232
  paddingRight: theme2.spacing(2),
5793
6233
  gap: theme2.spacing(2)
5794
6234
  }));
5795
6235
  var AppBar = ({ height = 64, children, ...props }) => {
5796
- return /* @__PURE__ */ jsx53(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx53(StyledToolbar, { children }) });
6236
+ return /* @__PURE__ */ jsx56(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx56(StyledToolbar, { children }) });
5797
6237
  };
5798
6238
 
5799
6239
  // src/components/layout/Collapse.tsx
5800
6240
  import {
5801
6241
  Collapse as MuiCollapse
5802
6242
  } from "@mui/material";
5803
- import { jsx as jsx54 } from "react/jsx-runtime";
6243
+ import { jsx as jsx57 } from "react/jsx-runtime";
5804
6244
  var Collapse = (props) => {
5805
- return /* @__PURE__ */ jsx54(MuiCollapse, { ...props });
6245
+ return /* @__PURE__ */ jsx57(MuiCollapse, { ...props });
5806
6246
  };
5807
6247
 
5808
6248
  // src/components/feedback/Alert.tsx
@@ -5810,9 +6250,9 @@ import React10 from "react";
5810
6250
  import MuiAlert from "@mui/material/Alert";
5811
6251
  import { AlertTitle as MuiAlertTitle } from "@mui/material";
5812
6252
  import MuiSnackbar from "@mui/material/Snackbar";
5813
- import { styled as styled39 } from "@mui/material/styles";
5814
- import { jsx as jsx55, jsxs as jsxs23 } from "react/jsx-runtime";
5815
- var StyledAlert = styled39(MuiAlert)({
6253
+ import { styled as styled41 } from "@mui/material/styles";
6254
+ import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
6255
+ var StyledAlert = styled41(MuiAlert)({
5816
6256
  borderRadius: 8,
5817
6257
  "&.MuiAlert-filled": {
5818
6258
  borderRadius: 8
@@ -5824,12 +6264,12 @@ var Alert2 = ({
5824
6264
  children,
5825
6265
  ...props
5826
6266
  }) => {
5827
- return /* @__PURE__ */ jsxs23(StyledAlert, { severity, ...props, children: [
5828
- title && /* @__PURE__ */ jsx55(MuiAlertTitle, { children: title }),
6267
+ return /* @__PURE__ */ jsxs25(StyledAlert, { severity, ...props, children: [
6268
+ title && /* @__PURE__ */ jsx58(MuiAlertTitle, { children: title }),
5829
6269
  children
5830
6270
  ] });
5831
6271
  };
5832
- var StyledSnackbar = styled39(MuiSnackbar)({});
6272
+ var StyledSnackbar = styled41(MuiSnackbar)({});
5833
6273
  var Snackbar2 = ({
5834
6274
  message,
5835
6275
  severity = "info",
@@ -5847,7 +6287,7 @@ var Snackbar2 = ({
5847
6287
  }
5848
6288
  onClose?.();
5849
6289
  };
5850
- const content = children || (message ? /* @__PURE__ */ jsx55(
6290
+ const content = children || (message ? /* @__PURE__ */ jsx58(
5851
6291
  Alert2,
5852
6292
  {
5853
6293
  onClose: onClose ? handleClose : void 0,
@@ -5873,7 +6313,7 @@ var Snackbar2 = ({
5873
6313
  }
5874
6314
  );
5875
6315
  NoTransition.displayName = "NoTransition";
5876
- return /* @__PURE__ */ jsx55(
6316
+ return /* @__PURE__ */ jsx58(
5877
6317
  StyledSnackbar,
5878
6318
  {
5879
6319
  anchorOrigin,
@@ -5893,16 +6333,16 @@ var Snackbar2 = ({
5893
6333
  };
5894
6334
 
5895
6335
  // src/components/feedback/EmptyState.tsx
5896
- import { Box as Box16, Typography as Typography13 } from "@mui/material";
5897
- import { jsx as jsx56, jsxs as jsxs24 } from "react/jsx-runtime";
6336
+ import { Box as Box18, Typography as Typography15 } from "@mui/material";
6337
+ import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
5898
6338
  var EmptyState = ({
5899
6339
  title = "No items found",
5900
6340
  description,
5901
6341
  icon,
5902
6342
  action
5903
6343
  }) => {
5904
- return /* @__PURE__ */ jsxs24(
5905
- Box16,
6344
+ return /* @__PURE__ */ jsxs26(
6345
+ Box18,
5906
6346
  {
5907
6347
  sx: {
5908
6348
  display: "flex",
@@ -5914,8 +6354,8 @@ var EmptyState = ({
5914
6354
  minHeight: 200
5915
6355
  },
5916
6356
  children: [
5917
- icon && /* @__PURE__ */ jsx56(
5918
- Box16,
6357
+ icon && /* @__PURE__ */ jsx59(
6358
+ Box18,
5919
6359
  {
5920
6360
  sx: {
5921
6361
  color: colors.text.secondary,
@@ -5925,24 +6365,24 @@ var EmptyState = ({
5925
6365
  children: icon
5926
6366
  }
5927
6367
  ),
5928
- /* @__PURE__ */ jsx56(Typography13, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
5929
- description && /* @__PURE__ */ jsx56(Typography13, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
5930
- action && /* @__PURE__ */ jsx56(Box16, { children: action })
6368
+ /* @__PURE__ */ jsx59(Typography15, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
6369
+ description && /* @__PURE__ */ jsx59(Typography15, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
6370
+ action && /* @__PURE__ */ jsx59(Box18, { children: action })
5931
6371
  ]
5932
6372
  }
5933
6373
  );
5934
6374
  };
5935
6375
 
5936
6376
  // src/components/feedback/Loading.tsx
5937
- import { Box as Box17, CircularProgress as CircularProgress4, Typography as Typography14 } from "@mui/material";
5938
- import { jsx as jsx57, jsxs as jsxs25 } from "react/jsx-runtime";
6377
+ import { Box as Box19, CircularProgress as CircularProgress4, Typography as Typography16 } from "@mui/material";
6378
+ import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
5939
6379
  var Loading = ({
5940
6380
  message = "Loading...",
5941
6381
  size: size3 = 40,
5942
6382
  fullScreen = false
5943
6383
  }) => {
5944
- const content = /* @__PURE__ */ jsxs25(
5945
- Box17,
6384
+ const content = /* @__PURE__ */ jsxs27(
6385
+ Box19,
5946
6386
  {
5947
6387
  sx: {
5948
6388
  display: "flex",
@@ -5964,8 +6404,8 @@ var Loading = ({
5964
6404
  }
5965
6405
  },
5966
6406
  children: [
5967
- /* @__PURE__ */ jsx57(CircularProgress4, { size: size3, thickness: 4 }),
5968
- message && /* @__PURE__ */ jsx57(Typography14, { variant: "body2", color: "text.secondary", children: message })
6407
+ /* @__PURE__ */ jsx60(CircularProgress4, { size: size3, thickness: 4 }),
6408
+ message && /* @__PURE__ */ jsx60(Typography16, { variant: "body2", color: "text.secondary", children: message })
5969
6409
  ]
5970
6410
  }
5971
6411
  );
@@ -5973,15 +6413,15 @@ var Loading = ({
5973
6413
  };
5974
6414
 
5975
6415
  // src/components/feedback/AppLoading.tsx
5976
- import { Box as Box18, CircularProgress as CircularProgress5, Typography as Typography15 } from "@mui/material";
5977
- import { jsx as jsx58, jsxs as jsxs26 } from "react/jsx-runtime";
6416
+ import { Box as Box20, CircularProgress as CircularProgress5, Typography as Typography17 } from "@mui/material";
6417
+ import { jsx as jsx61, jsxs as jsxs28 } from "react/jsx-runtime";
5978
6418
  var AppLoading = ({
5979
6419
  message = "Loading...",
5980
6420
  logo = "/icons/logo.png",
5981
6421
  sx = {}
5982
6422
  }) => {
5983
- return /* @__PURE__ */ jsxs26(
5984
- Box18,
6423
+ return /* @__PURE__ */ jsxs28(
6424
+ Box20,
5985
6425
  {
5986
6426
  sx: {
5987
6427
  display: "flex",
@@ -5999,8 +6439,8 @@ var AppLoading = ({
5999
6439
  ...sx
6000
6440
  },
6001
6441
  children: [
6002
- logo && /* @__PURE__ */ jsx58(
6003
- Box18,
6442
+ logo && /* @__PURE__ */ jsx61(
6443
+ Box20,
6004
6444
  {
6005
6445
  component: "img",
6006
6446
  src: logo,
@@ -6012,8 +6452,8 @@ var AppLoading = ({
6012
6452
  }
6013
6453
  }
6014
6454
  ),
6015
- /* @__PURE__ */ jsx58(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
6016
- /* @__PURE__ */ jsx58(Typography15, { variant: "body1", color: "text.secondary", children: message })
6455
+ /* @__PURE__ */ jsx61(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
6456
+ /* @__PURE__ */ jsx61(Typography17, { variant: "body1", color: "text.secondary", children: message })
6017
6457
  ]
6018
6458
  }
6019
6459
  );
@@ -6023,22 +6463,22 @@ var AppLoading = ({
6023
6463
  import {
6024
6464
  CircularProgress as MuiCircularProgress
6025
6465
  } from "@mui/material";
6026
- import { jsx as jsx59 } from "react/jsx-runtime";
6466
+ import { jsx as jsx62 } from "react/jsx-runtime";
6027
6467
  var CircularProgress6 = ({
6028
6468
  size: size3 = 40,
6029
6469
  thickness = 4,
6030
6470
  ...props
6031
6471
  }) => {
6032
- return /* @__PURE__ */ jsx59(MuiCircularProgress, { size: size3, thickness, ...props });
6472
+ return /* @__PURE__ */ jsx62(MuiCircularProgress, { size: size3, thickness, ...props });
6033
6473
  };
6034
6474
 
6035
6475
  // src/components/icons/ActivityAppIcon.tsx
6036
6476
  import { memo as memo2 } from "react";
6037
6477
  import { SvgIcon as SvgIcon2 } from "@mui/material";
6038
- import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
6039
- var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
6040
- /* @__PURE__ */ jsx60("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6041
- /* @__PURE__ */ jsx60(
6478
+ import { jsx as jsx63, jsxs as jsxs29 } from "react/jsx-runtime";
6479
+ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
6480
+ /* @__PURE__ */ jsx63("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6481
+ /* @__PURE__ */ jsx63(
6042
6482
  "rect",
6043
6483
  {
6044
6484
  fill: "none",
@@ -6051,7 +6491,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
6051
6491
  rx: 1.7
6052
6492
  }
6053
6493
  ),
6054
- /* @__PURE__ */ jsx60(
6494
+ /* @__PURE__ */ jsx63(
6055
6495
  "rect",
6056
6496
  {
6057
6497
  fill: "none",
@@ -6064,7 +6504,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
6064
6504
  rx: 1.7
6065
6505
  }
6066
6506
  ),
6067
- /* @__PURE__ */ jsx60(
6507
+ /* @__PURE__ */ jsx63(
6068
6508
  "rect",
6069
6509
  {
6070
6510
  fill: "none",
@@ -6081,9 +6521,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
6081
6521
 
6082
6522
  // src/components/icons/ArrowLeft.tsx
6083
6523
  import { SvgIcon as SvgIcon3 } from "@mui/material";
6084
- import { jsx as jsx61 } from "react/jsx-runtime";
6524
+ import { jsx as jsx64 } from "react/jsx-runtime";
6085
6525
  var LeftArrowIcon = (props) => {
6086
- return /* @__PURE__ */ jsx61(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx61("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx61(
6526
+ return /* @__PURE__ */ jsx64(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx64("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx64(
6087
6527
  "path",
6088
6528
  {
6089
6529
  id: "Vector (Stroke)",
@@ -6097,9 +6537,9 @@ var LeftArrowIcon = (props) => {
6097
6537
 
6098
6538
  // src/components/icons/ArrowRight.tsx
6099
6539
  import { SvgIcon as SvgIcon4 } from "@mui/material";
6100
- import { jsx as jsx62 } from "react/jsx-runtime";
6540
+ import { jsx as jsx65 } from "react/jsx-runtime";
6101
6541
  var RightArrowIcon = (props) => {
6102
- return /* @__PURE__ */ jsx62(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx62(
6542
+ return /* @__PURE__ */ jsx65(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx65(
6103
6543
  "path",
6104
6544
  {
6105
6545
  fillRule: "evenodd",
@@ -6112,10 +6552,10 @@ var RightArrowIcon = (props) => {
6112
6552
 
6113
6553
  // src/components/icons/AvatarIcon.tsx
6114
6554
  import { SvgIcon as SvgIcon5 } from "@mui/material";
6115
- import { jsx as jsx63, jsxs as jsxs28 } from "react/jsx-runtime";
6555
+ import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
6116
6556
  var AvatarIcon = (props) => {
6117
- return /* @__PURE__ */ jsxs28(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
6118
- /* @__PURE__ */ jsx63(
6557
+ return /* @__PURE__ */ jsxs30(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
6558
+ /* @__PURE__ */ jsx66(
6119
6559
  "path",
6120
6560
  {
6121
6561
  fillRule: "evenodd",
@@ -6124,7 +6564,7 @@ var AvatarIcon = (props) => {
6124
6564
  fill: "#1D1B20"
6125
6565
  }
6126
6566
  ),
6127
- /* @__PURE__ */ jsx63(
6567
+ /* @__PURE__ */ jsx66(
6128
6568
  "path",
6129
6569
  {
6130
6570
  fillRule: "evenodd",
@@ -6139,9 +6579,9 @@ var AvatarIcon = (props) => {
6139
6579
  // src/components/icons/BarTrackingIcon.tsx
6140
6580
  import { memo as memo3 } from "react";
6141
6581
  import { SvgIcon as SvgIcon6 } from "@mui/material";
6142
- import { jsx as jsx64, jsxs as jsxs29 } from "react/jsx-runtime";
6143
- var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
6144
- /* @__PURE__ */ jsx64(
6582
+ import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
6583
+ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
6584
+ /* @__PURE__ */ jsx67(
6145
6585
  "rect",
6146
6586
  {
6147
6587
  x: "7.19922",
@@ -6154,7 +6594,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6154
6594
  fill: "none"
6155
6595
  }
6156
6596
  ),
6157
- /* @__PURE__ */ jsx64(
6597
+ /* @__PURE__ */ jsx67(
6158
6598
  "rect",
6159
6599
  {
6160
6600
  x: "21.0371",
@@ -6167,7 +6607,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6167
6607
  strokeWidth: "2"
6168
6608
  }
6169
6609
  ),
6170
- /* @__PURE__ */ jsx64(
6610
+ /* @__PURE__ */ jsx67(
6171
6611
  "rect",
6172
6612
  {
6173
6613
  x: "40.4746",
@@ -6180,7 +6620,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6180
6620
  strokeWidth: "2"
6181
6621
  }
6182
6622
  ),
6183
- /* @__PURE__ */ jsx64(
6623
+ /* @__PURE__ */ jsx67(
6184
6624
  "rect",
6185
6625
  {
6186
6626
  x: "59.8828",
@@ -6198,8 +6638,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6198
6638
  // src/components/icons/ClockIcon.tsx
6199
6639
  import { memo as memo4 } from "react";
6200
6640
  import { SvgIcon as SvgIcon7 } from "@mui/material";
6201
- import { jsx as jsx65 } from "react/jsx-runtime";
6202
- var ClockIcon = memo4((props) => /* @__PURE__ */ jsx65(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx65(
6641
+ import { jsx as jsx68 } from "react/jsx-runtime";
6642
+ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx68(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx68(
6203
6643
  "path",
6204
6644
  {
6205
6645
  fill: "currentColor",
@@ -6212,9 +6652,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx65(SvgIcon7, { ...props, vie
6212
6652
  // src/components/icons/CloudFlashIcon.tsx
6213
6653
  import { memo as memo5 } from "react";
6214
6654
  import { SvgIcon as SvgIcon8 } from "@mui/material";
6215
- import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
6216
- var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6217
- /* @__PURE__ */ jsx66(
6655
+ import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
6656
+ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6657
+ /* @__PURE__ */ jsx69(
6218
6658
  "path",
6219
6659
  {
6220
6660
  d: "M18.8029 43.3396V43.2933H19.8029C20.3752 43.2933 20.9384 43.328 21.4908 43.3937C21.9111 39.4438 22.9817 34.2181 25.6601 29.8138C28.6259 24.937 33.5595 21.0898 41.5689 21.0898C46.9417 21.0898 50.8839 22.9055 53.7292 25.6773C56.5498 28.4249 58.2303 32.0495 59.2307 35.5901C60.1768 38.9386 60.5315 42.2718 60.6446 44.8476C60.891 44.4671 61.1651 44.0792 61.4696 43.691C63.7235 40.8178 67.6089 37.9824 74.0317 37.9824C77.222 37.9824 79.8196 38.6871 81.9219 39.7574L81.9232 39.7581C86.8327 42.2671 89.793 47.4136 89.793 52.8846V54.7368C89.793 65.644 80.9404 74.4889 70.0269 74.4889H18.865C11.867 74.4889 6.19295 68.8202 6.19295 61.8256V57.184C6.19295 49.9845 11.6911 43.8799 18.8029 43.3396Z",
@@ -6223,7 +6663,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...prop
6223
6663
  strokeWidth: "2"
6224
6664
  }
6225
6665
  ),
6226
- /* @__PURE__ */ jsx66(
6666
+ /* @__PURE__ */ jsx69(
6227
6667
  "path",
6228
6668
  {
6229
6669
  d: "M79.1804 45.7001C79.1804 45.7001 60.7908 47.259 60.7908 10.0898C60.7908 10.0898 60.9856 45.7768 43.1934 45.7768C43.1934 45.7768 61.1933 48.1151 61.1933 67.6899C61.1933 67.6899 61.1933 45.7001 79.1934 45.7001H79.1804Z",
@@ -6237,9 +6677,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...prop
6237
6677
  // src/components/icons/DecentralizedServerIcon.tsx
6238
6678
  import { memo as memo6 } from "react";
6239
6679
  import { SvgIcon as SvgIcon9 } from "@mui/material";
6240
- import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
6241
- var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
6242
- /* @__PURE__ */ jsx67(
6680
+ import { jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
6681
+ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
6682
+ /* @__PURE__ */ jsx70(
6243
6683
  "path",
6244
6684
  {
6245
6685
  d: "M14.5706 15.0858L48.016 8.29688L81.3694 15.0858L88.2242 48.3742L81.3694 81.6556L48.016 88.4445L14.5706 81.6556L7.80078 48.3742L14.5706 15.0858Z",
@@ -6250,7 +6690,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6250
6690
  strokeLinejoin: "round"
6251
6691
  }
6252
6692
  ),
6253
- /* @__PURE__ */ jsx67(
6693
+ /* @__PURE__ */ jsx70(
6254
6694
  "path",
6255
6695
  {
6256
6696
  d: "M48.0118 11.2609C49.6622 11.2609 51.0001 9.92755 51.0001 8.28279C51.0001 6.63803 49.6622 5.30469 48.0118 5.30469C46.3614 5.30469 45.0234 6.63803 45.0234 8.28279C45.0234 9.92755 46.3614 11.2609 48.0118 11.2609Z",
@@ -6261,7 +6701,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6261
6701
  strokeLinejoin: "round"
6262
6702
  }
6263
6703
  ),
6264
- /* @__PURE__ */ jsx67(
6704
+ /* @__PURE__ */ jsx70(
6265
6705
  "path",
6266
6706
  {
6267
6707
  d: "M48.0118 91.4132C49.6622 91.4132 51.0001 90.0799 51.0001 88.4351C51.0001 86.7904 49.6622 85.457 48.0118 85.457C46.3614 85.457 45.0234 86.7904 45.0234 88.4351C45.0234 90.0799 46.3614 91.4132 48.0118 91.4132Z",
@@ -6272,7 +6712,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6272
6712
  strokeLinejoin: "round"
6273
6713
  }
6274
6714
  ),
6275
- /* @__PURE__ */ jsx67(
6715
+ /* @__PURE__ */ jsx70(
6276
6716
  "path",
6277
6717
  {
6278
6718
  d: "M7.79304 51.339C9.44346 51.339 10.7814 50.0057 10.7814 48.3609C10.7814 46.7162 9.44346 45.3828 7.79304 45.3828C6.14262 45.3828 4.80469 46.7162 4.80469 48.3609C4.80469 50.0057 6.14262 51.339 7.79304 51.339Z",
@@ -6283,7 +6723,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6283
6723
  strokeLinejoin: "round"
6284
6724
  }
6285
6725
  ),
6286
- /* @__PURE__ */ jsx67(
6726
+ /* @__PURE__ */ jsx70(
6287
6727
  "path",
6288
6728
  {
6289
6729
  d: "M88.2247 51.339C89.8751 51.339 91.213 50.0057 91.213 48.3609C91.213 46.7162 89.8751 45.3828 88.2247 45.3828C86.5743 45.3828 85.2363 46.7162 85.2363 48.3609C85.2363 50.0057 86.5743 51.339 88.2247 51.339Z",
@@ -6294,7 +6734,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6294
6734
  strokeLinejoin: "round"
6295
6735
  }
6296
6736
  ),
6297
- /* @__PURE__ */ jsx67(
6737
+ /* @__PURE__ */ jsx70(
6298
6738
  "path",
6299
6739
  {
6300
6740
  d: "M81.3477 18.0539C82.9982 18.0539 84.3361 16.7205 84.3361 15.0758C84.3361 13.431 82.9982 12.0977 81.3477 12.0977C79.6973 12.0977 78.3594 13.431 78.3594 15.0758C78.3594 16.7205 79.6973 18.0539 81.3477 18.0539Z",
@@ -6305,7 +6745,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6305
6745
  strokeLinejoin: "round"
6306
6746
  }
6307
6747
  ),
6308
- /* @__PURE__ */ jsx67(
6748
+ /* @__PURE__ */ jsx70(
6309
6749
  "path",
6310
6750
  {
6311
6751
  d: "M14.5508 84.6203C16.2013 84.6203 17.5392 83.2869 17.5392 81.6422C17.5392 79.9974 16.2013 78.6641 14.5508 78.6641C12.9004 78.6641 11.5625 79.9974 11.5625 81.6422C11.5625 83.2869 12.9004 84.6203 14.5508 84.6203Z",
@@ -6316,7 +6756,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6316
6756
  strokeLinejoin: "round"
6317
6757
  }
6318
6758
  ),
6319
- /* @__PURE__ */ jsx67(
6759
+ /* @__PURE__ */ jsx70(
6320
6760
  "path",
6321
6761
  {
6322
6762
  d: "M81.3477 84.6203C82.9982 84.6203 84.3361 83.2869 84.3361 81.6422C84.3361 79.9974 82.9982 78.6641 81.3477 78.6641C79.6973 78.6641 78.3594 79.9974 78.3594 81.6422C78.3594 83.2869 79.6973 84.6203 81.3477 84.6203Z",
@@ -6327,7 +6767,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6327
6767
  strokeLinejoin: "round"
6328
6768
  }
6329
6769
  ),
6330
- /* @__PURE__ */ jsx67(
6770
+ /* @__PURE__ */ jsx70(
6331
6771
  "path",
6332
6772
  {
6333
6773
  d: "M14.5508 18.0539C16.2013 18.0539 17.5392 16.7205 17.5392 15.0758C17.5392 13.431 16.2013 12.0977 14.5508 12.0977C12.9004 12.0977 11.5625 13.431 11.5625 15.0758C11.5625 16.7205 12.9004 18.0539 14.5508 18.0539Z",
@@ -6338,7 +6778,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6338
6778
  strokeLinejoin: "round"
6339
6779
  }
6340
6780
  ),
6341
- /* @__PURE__ */ jsx67(
6781
+ /* @__PURE__ */ jsx70(
6342
6782
  "rect",
6343
6783
  {
6344
6784
  x: "22.623",
@@ -6351,7 +6791,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6351
6791
  strokeWidth: "2"
6352
6792
  }
6353
6793
  ),
6354
- /* @__PURE__ */ jsx67(
6794
+ /* @__PURE__ */ jsx70(
6355
6795
  "rect",
6356
6796
  {
6357
6797
  x: "22.623",
@@ -6364,7 +6804,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6364
6804
  strokeWidth: "2"
6365
6805
  }
6366
6806
  ),
6367
- /* @__PURE__ */ jsx67(
6807
+ /* @__PURE__ */ jsx70(
6368
6808
  "rect",
6369
6809
  {
6370
6810
  x: "22.623",
@@ -6377,7 +6817,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6377
6817
  strokeWidth: "2"
6378
6818
  }
6379
6819
  ),
6380
- /* @__PURE__ */ jsx67(
6820
+ /* @__PURE__ */ jsx70(
6381
6821
  "path",
6382
6822
  {
6383
6823
  d: "M29.612 37.1542C31.2803 37.1542 32.634 35.8026 32.634 34.1337C32.634 32.4649 31.2803 31.1133 29.612 31.1133C27.9437 31.1133 26.5901 32.4649 26.5901 34.1337C26.5901 35.8026 27.9437 37.1542 29.612 37.1542Z",
@@ -6387,7 +6827,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6387
6827
  strokeMiterlimit: "10"
6388
6828
  }
6389
6829
  ),
6390
- /* @__PURE__ */ jsx67(
6830
+ /* @__PURE__ */ jsx70(
6391
6831
  "path",
6392
6832
  {
6393
6833
  d: "M40.3464 37.1542C42.0147 37.1542 43.3684 35.8026 43.3684 34.1337C43.3684 32.4649 42.0147 31.1133 40.3464 31.1133C38.6782 31.1133 37.3245 32.4649 37.3245 34.1337C37.3245 35.8026 38.6782 37.1542 40.3464 37.1542Z",
@@ -6397,7 +6837,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6397
6837
  strokeMiterlimit: "10"
6398
6838
  }
6399
6839
  ),
6400
- /* @__PURE__ */ jsx67(
6840
+ /* @__PURE__ */ jsx70(
6401
6841
  "path",
6402
6842
  {
6403
6843
  d: "M51.0808 37.1542C52.7491 37.1542 54.1028 35.8026 54.1028 34.1337C54.1028 32.4649 52.7491 31.1133 51.0808 31.1133C49.4125 31.1133 48.0588 32.4649 48.0588 34.1337C48.0588 35.8026 49.4125 37.1542 51.0808 37.1542Z",
@@ -6412,8 +6852,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6412
6852
  // src/components/icons/DiscordIcon.tsx
6413
6853
  import { memo as memo7 } from "react";
6414
6854
  import { SvgIcon as SvgIcon10 } from "@mui/material";
6415
- import { jsx as jsx68 } from "react/jsx-runtime";
6416
- var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx68(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx68(
6855
+ import { jsx as jsx71 } from "react/jsx-runtime";
6856
+ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx71(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx71(
6417
6857
  "path",
6418
6858
  {
6419
6859
  fill: "currentColor",
@@ -6424,16 +6864,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx68(SvgIcon10, { ...props,
6424
6864
  // src/components/icons/DownloadIcon.tsx
6425
6865
  import { memo as memo8 } from "react";
6426
6866
  import { SvgIcon as SvgIcon11 } from "@mui/material";
6427
- import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
6428
- var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs32(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6429
- /* @__PURE__ */ jsx69(
6867
+ import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
6868
+ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs34(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6869
+ /* @__PURE__ */ jsx72(
6430
6870
  "path",
6431
6871
  {
6432
6872
  d: "M8.86902 11.0041C8.77429 11.1077 8.64038 11.1667 8.5 11.1667C8.35962 11.1667 8.22571 11.1077 8.13099 11.0041L5.46432 8.08738C5.27799 7.88358 5.29215 7.56732 5.49595 7.38099C5.69975 7.19465 6.01602 7.20881 6.20235 7.41262L8 9.3788V2C8 1.72386 8.22386 1.5 8.5 1.5C8.77614 1.5 9 1.72386 9 2V9.3788L10.7977 7.41262C10.984 7.20881 11.3003 7.19465 11.5041 7.38099C11.7079 7.56732 11.722 7.88358 11.5357 8.08738L8.86902 11.0041Z",
6433
6873
  fill: "currentColor"
6434
6874
  }
6435
6875
  ),
6436
- /* @__PURE__ */ jsx69(
6876
+ /* @__PURE__ */ jsx72(
6437
6877
  "path",
6438
6878
  {
6439
6879
  d: "M3 10C3 9.72386 2.77614 9.5 2.5 9.5C2.22386 9.5 2 9.72386 2 10V10.0366C1.99999 10.9483 1.99998 11.6832 2.07768 12.2612C2.15836 12.8612 2.33096 13.3665 2.73223 13.7678C3.13351 14.169 3.63876 14.3416 4.23883 14.4223C4.81681 14.5 5.55169 14.5 6.46342 14.5H10.5366C11.4483 14.5 12.1832 14.5 12.7612 14.4223C13.3612 14.3416 13.8665 14.169 14.2678 13.7678C14.669 13.3665 14.8416 12.8612 14.9223 12.2612C15 11.6832 15 10.9483 15 10.0366V10C15 9.72386 14.7761 9.5 14.5 9.5C14.2239 9.5 14 9.72386 14 10C14 10.9569 13.9989 11.6244 13.9312 12.1279C13.8655 12.6171 13.7452 12.8762 13.5607 13.0607C13.3762 13.2452 13.1171 13.3655 12.6279 13.4312C12.1244 13.4989 11.4569 13.5 10.5 13.5H6.5C5.54306 13.5 4.87565 13.4989 4.37208 13.4312C3.8829 13.3655 3.62385 13.2452 3.43934 13.0607C3.25483 12.8762 3.13453 12.6171 3.06877 12.1279C3.00106 11.6244 3 10.9569 3 10Z",
@@ -6445,11 +6885,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs32(SvgIcon11, { ...props
6445
6885
  // src/components/icons/FilledFolderIcon.tsx
6446
6886
  import { memo as memo9 } from "react";
6447
6887
  import { SvgIcon as SvgIcon12 } from "@mui/material";
6448
- import { jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
6449
- var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs33(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6450
- /* @__PURE__ */ jsx70("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6451
- /* @__PURE__ */ jsx70("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6452
- /* @__PURE__ */ jsx70(
6888
+ import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
6889
+ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs35(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6890
+ /* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6891
+ /* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6892
+ /* @__PURE__ */ jsx73(
6453
6893
  "path",
6454
6894
  {
6455
6895
  fillRule: "evenodd",
@@ -6463,11 +6903,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs33(SvgIcon12, { sx:
6463
6903
  // src/components/icons/FolderIcon.tsx
6464
6904
  import { memo as memo10 } from "react";
6465
6905
  import { SvgIcon as SvgIcon13 } from "@mui/material";
6466
- import { jsx as jsx71, jsxs as jsxs34 } from "react/jsx-runtime";
6467
- var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs34(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6468
- /* @__PURE__ */ jsx71("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6469
- /* @__PURE__ */ jsx71("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6470
- /* @__PURE__ */ jsx71(
6906
+ import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
6907
+ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs36(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6908
+ /* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6909
+ /* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6910
+ /* @__PURE__ */ jsx74(
6471
6911
  "path",
6472
6912
  {
6473
6913
  fillRule: "evenodd",
@@ -6483,16 +6923,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs34(SvgIcon13, { sx: { fil
6483
6923
  // src/components/icons/GithubLogoIcon.tsx
6484
6924
  import { memo as memo11 } from "react";
6485
6925
  import { SvgIcon as SvgIcon14 } from "@mui/material";
6486
- import { jsx as jsx72, jsxs as jsxs35 } from "react/jsx-runtime";
6487
- var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs35(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6488
- /* @__PURE__ */ jsx72(
6926
+ import { jsx as jsx75, jsxs as jsxs37 } from "react/jsx-runtime";
6927
+ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs37(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6928
+ /* @__PURE__ */ jsx75(
6489
6929
  "path",
6490
6930
  {
6491
6931
  d: "M8.79754 0C4.268 0 0.595032 3.67233 0.595032 8.20251C0.595032 11.8267 2.9453 14.9013 6.20443 15.9859C6.61435 16.0618 6.76488 15.808 6.76488 15.5913C6.76488 15.3957 6.75723 14.7495 6.75375 14.0642C4.47174 14.5603 3.99022 13.0964 3.99022 13.0964C3.61711 12.1483 3.07949 11.8962 3.07949 11.8962C2.33531 11.3871 3.13559 11.3975 3.13559 11.3975C3.95928 11.4554 4.393 12.2428 4.393 12.2428C5.12457 13.4968 6.31186 13.1343 6.77993 12.9247C6.85353 12.3945 7.06614 12.0327 7.30069 11.8279C5.47884 11.6204 3.56358 10.9171 3.56358 7.77413C3.56358 6.87865 3.88401 6.14688 4.40876 5.57247C4.32359 5.36584 4.04285 4.5316 4.48821 3.40175C4.48821 3.40175 5.177 3.18129 6.74449 4.24256C7.39873 4.06076 8.10045 3.96967 8.79754 3.96658C9.49463 3.96967 10.1969 4.06076 10.8524 4.24256C12.418 3.18129 13.1059 3.40175 13.1059 3.40175C13.5523 4.5316 13.2714 5.36584 13.1863 5.57247C13.7122 6.14688 14.0304 6.87858 14.0304 7.77413C14.0304 10.9245 12.1116 11.6183 10.2851 11.8213C10.5793 12.0759 10.8414 12.5751 10.8414 13.3403C10.8414 14.4378 10.8319 15.3211 10.8319 15.5913C10.8319 15.8096 10.9795 16.0654 11.3954 15.9848C14.6527 14.899 17 11.8254 17 8.20251C17 3.67233 13.3275 0 8.79754 0Z",
6492
6932
  fill: "white"
6493
6933
  }
6494
6934
  ),
6495
- /* @__PURE__ */ jsx72(
6935
+ /* @__PURE__ */ jsx75(
6496
6936
  "path",
6497
6937
  {
6498
6938
  d: "M3.66696 11.6845C3.64895 11.7252 3.58474 11.7374 3.5264 11.7095C3.46689 11.6828 3.43344 11.6272 3.45274 11.5863C3.47043 11.5443 3.53463 11.5326 3.59401 11.5608C3.65364 11.5875 3.68761 11.6436 3.66696 11.6845ZM4.07044 12.0445C4.03133 12.0808 3.95484 12.0639 3.90292 12.0066C3.84927 11.9494 3.83924 11.873 3.87893 11.8361C3.91926 11.7999 3.99344 11.8168 4.04722 11.8741C4.10087 11.9319 4.11129 12.0079 4.07038 12.0446M4.34726 12.5051C4.29695 12.54 4.21474 12.5073 4.16398 12.4343C4.11374 12.3615 4.11374 12.274 4.16507 12.2389C4.21602 12.2038 4.29695 12.2354 4.34842 12.3077C4.39859 12.3819 4.39859 12.4694 4.34719 12.5052M4.81533 13.0386C4.77036 13.0881 4.67464 13.0749 4.60452 13.0072C4.53285 12.9411 4.51285 12.8472 4.55794 12.7976C4.60342 12.748 4.69973 12.7619 4.77036 12.829C4.84158 12.895 4.86332 12.9896 4.81539 13.0386M5.4203 13.2187C5.40055 13.2829 5.3083 13.3121 5.2154 13.2849C5.12264 13.2568 5.06191 13.1815 5.08063 13.1166C5.09993 13.0519 5.19257 13.0215 5.28617 13.0507C5.37881 13.0787 5.43966 13.1534 5.42036 13.2187M6.1089 13.2951C6.11121 13.3628 6.03241 13.4189 5.93488 13.4201C5.83678 13.4222 5.75746 13.3675 5.75643 13.3009C5.75643 13.2326 5.83343 13.177 5.93147 13.1754C6.029 13.1735 6.1089 13.2279 6.1089 13.2951ZM6.78527 13.2692C6.79698 13.3352 6.72918 13.403 6.63236 13.421C6.53715 13.4384 6.44901 13.3976 6.43686 13.3322C6.42502 13.2645 6.49411 13.1968 6.58913 13.1792C6.68614 13.1624 6.77292 13.2021 6.78527 13.2692Z",
@@ -6504,8 +6944,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs35(SvgIcon14, { ...pr
6504
6944
  // src/components/icons/ShareIcon.tsx
6505
6945
  import { memo as memo12 } from "react";
6506
6946
  import { SvgIcon as SvgIcon15 } from "@mui/material";
6507
- import { jsx as jsx73 } from "react/jsx-runtime";
6508
- var ShareIcon = memo12((props) => /* @__PURE__ */ jsx73(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx73(
6947
+ import { jsx as jsx76 } from "react/jsx-runtime";
6948
+ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx76(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx76(
6509
6949
  "path",
6510
6950
  {
6511
6951
  fillRule: "evenodd",
@@ -6518,9 +6958,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx73(SvgIcon15, { ...props, v
6518
6958
  // src/components/icons/StorageAppIcon.tsx
6519
6959
  import { memo as memo13 } from "react";
6520
6960
  import { SvgIcon as SvgIcon16 } from "@mui/material";
6521
- import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
6522
- var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
6523
- /* @__PURE__ */ jsx74(
6961
+ import { jsx as jsx77, jsxs as jsxs38 } from "react/jsx-runtime";
6962
+ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
6963
+ /* @__PURE__ */ jsx77(
6524
6964
  "path",
6525
6965
  {
6526
6966
  d: "M6.25415 13.3371V13.2515H7.25415C7.31809 13.2515 7.38176 13.2524 7.44516 13.2543C7.66366 11.6446 8.14354 9.64623 9.19625 7.91521C10.5234 5.73296 12.756 4 16.3233 4C18.7076 4 20.4981 4.81149 21.7972 6.07693C23.0714 7.31823 23.8108 8.93436 24.2437 10.4665C24.4895 11.3363 24.6426 12.2007 24.7362 12.9909C25.8141 11.9297 27.4506 11.0385 29.8495 11.0385C31.2681 11.0385 32.4415 11.3528 33.4017 11.8416L33.4031 11.8423C35.655 12.9932 37 15.3454 37 17.8312V18.6029C37 23.4701 33.0499 27.4163 28.1808 27.4163H6.86335C3.62577 27.4163 1 24.7935 1 21.5565V19.6226C1 16.5122 3.24401 13.8341 6.25415 13.3371Z",
@@ -6529,7 +6969,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...pr
6529
6969
  fill: "none"
6530
6970
  }
6531
6971
  ),
6532
- /* @__PURE__ */ jsx74(
6972
+ /* @__PURE__ */ jsx77(
6533
6973
  "path",
6534
6974
  {
6535
6975
  d: "M31.9946 14.8376C31.9946 14.8376 24.3322 15.4871 24.3322 0C24.3322 0 24.4134 14.8696 17 14.8696C17 14.8696 24.5 15.8438 24.5 24C24.5 24 24.5 14.8376 32 14.8376H31.9946Z",
@@ -6543,8 +6983,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...pr
6543
6983
  // src/components/icons/UploadFileIcon.tsx
6544
6984
  import { memo as memo14 } from "react";
6545
6985
  import { SvgIcon as SvgIcon17 } from "@mui/material";
6546
- import { jsx as jsx75 } from "react/jsx-runtime";
6547
- var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx75(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx75(
6986
+ import { jsx as jsx78 } from "react/jsx-runtime";
6987
+ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx78(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx78(
6548
6988
  "path",
6549
6989
  {
6550
6990
  fillRule: "evenodd",
@@ -6559,8 +6999,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx75(SvgIcon17, { ...pro
6559
6999
  // src/components/icons/UploadFolderIcon.tsx
6560
7000
  import { memo as memo15 } from "react";
6561
7001
  import { SvgIcon as SvgIcon18 } from "@mui/material";
6562
- import { jsx as jsx76 } from "react/jsx-runtime";
6563
- var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx76(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx76(
7002
+ import { jsx as jsx79 } from "react/jsx-runtime";
7003
+ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx79(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx79(
6564
7004
  "path",
6565
7005
  {
6566
7006
  fillRule: "evenodd",
@@ -6573,14 +7013,14 @@ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx76(SvgIcon18, { ...p
6573
7013
  ) }));
6574
7014
 
6575
7015
  // src/components/utilities/Markdown/Markdown.tsx
6576
- import { Box as Box19, styled as styled40 } from "@mui/material";
7016
+ import { Box as Box21, styled as styled42 } from "@mui/material";
6577
7017
  import "highlight.js/styles/github.css";
6578
7018
  import "github-markdown-css/github-markdown-light.css";
6579
7019
  import MD from "react-markdown";
6580
7020
  import highlight from "rehype-highlight";
6581
7021
  import rehypeRaw from "rehype-raw";
6582
- import { jsx as jsx77 } from "react/jsx-runtime";
6583
- var Content = styled40(Box19)(({ theme: theme2 }) => ({
7022
+ import { jsx as jsx80 } from "react/jsx-runtime";
7023
+ var Content = styled42(Box21)(({ theme: theme2 }) => ({
6584
7024
  backgroundColor: "transparent",
6585
7025
  ...theme2.typography.body1,
6586
7026
  color: theme2.palette.text.primary,
@@ -6597,11 +7037,11 @@ var Content = styled40(Box19)(({ theme: theme2 }) => ({
6597
7037
  backgroundColor: theme2.palette.background.paper
6598
7038
  }
6599
7039
  }));
6600
- var Markdown = ({ content, children }) => /* @__PURE__ */ jsx77(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx77(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
7040
+ var Markdown = ({ content, children }) => /* @__PURE__ */ jsx80(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx80(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
6601
7041
 
6602
7042
  // src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
6603
7043
  import { createContext as createContext2, useContext as useContext2, useState as useState8, useCallback as useCallback6, useEffect as useEffect2 } from "react";
6604
- import { jsx as jsx78 } from "react/jsx-runtime";
7044
+ import { jsx as jsx81 } from "react/jsx-runtime";
6605
7045
  var OnboardingContext = createContext2(void 0);
6606
7046
  var useOnboarding = () => {
6607
7047
  const context = useContext2(OnboardingContext);
@@ -6626,7 +7066,7 @@ var OnboardingProvider = ({ children }) => {
6626
7066
  setIsOnboardingActive(false);
6627
7067
  setTimeout(() => setIsOnboardingActive(true), 0);
6628
7068
  }, []);
6629
- return /* @__PURE__ */ jsx78(
7069
+ return /* @__PURE__ */ jsx81(
6630
7070
  OnboardingContext.Provider,
6631
7071
  {
6632
7072
  value: {
@@ -6641,7 +7081,7 @@ var OnboardingProvider = ({ children }) => {
6641
7081
  };
6642
7082
 
6643
7083
  // src/components/utilities/Truncate/Truncate.tsx
6644
- import { jsx as jsx79 } from "react/jsx-runtime";
7084
+ import { jsx as jsx82 } from "react/jsx-runtime";
6645
7085
  var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
6646
7086
  if (variant === "hex") {
6647
7087
  return 4;
@@ -6665,30 +7105,30 @@ var Truncate = ({
6665
7105
  const truncated = text.slice(0, maxLength - endingLength);
6666
7106
  truncatedText = [truncated, ending].filter(Boolean).join("...");
6667
7107
  }
6668
- return /* @__PURE__ */ jsx79("span", { ...props, "data-full": text, children: truncatedText });
7108
+ return /* @__PURE__ */ jsx82("span", { ...props, "data-full": text, children: truncatedText });
6669
7109
  };
6670
7110
 
6671
7111
  // src/components/utilities/BytesSize/BytesSize.tsx
6672
7112
  import size from "byte-size";
6673
- import { Fragment as Fragment10, jsx as jsx80 } from "react/jsx-runtime";
7113
+ import { Fragment as Fragment11, jsx as jsx83 } from "react/jsx-runtime";
6674
7114
  var BytesSize = ({ bytes }) => {
6675
- return /* @__PURE__ */ jsx80(Fragment10, { children: size(bytes).toString() });
7115
+ return /* @__PURE__ */ jsx83(Fragment11, { children: size(bytes).toString() });
6676
7116
  };
6677
7117
 
6678
7118
  // src/components/utilities/QRCode/QRCode.tsx
6679
7119
  import { forwardRef as forwardRef2 } from "react";
6680
7120
  import QR from "react-qr-code";
6681
- import { jsx as jsx81 } from "react/jsx-runtime";
6682
- var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx81(QR, { ref, size: size3, ...props }));
7121
+ import { jsx as jsx84 } from "react/jsx-runtime";
7122
+ var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx84(QR, { ref, size: size3, ...props }));
6683
7123
  QRCode.displayName = "QRCode";
6684
7124
 
6685
7125
  // src/components/charts/ChartWidget/ChartWidget.tsx
6686
- import { Box as Box20, Stack as Stack4, Typography as Typography16, styled as styled41, useTheme as useTheme3 } from "@mui/material";
7126
+ import { Box as Box22, Stack as Stack4, Typography as Typography18, styled as styled43, useTheme as useTheme3 } from "@mui/material";
6687
7127
  import { LineChart } from "@mui/x-charts";
6688
7128
  import size2 from "byte-size";
6689
7129
  import { format } from "date-fns";
6690
- import { jsx as jsx82, jsxs as jsxs37 } from "react/jsx-runtime";
6691
- var Chart = styled41(Box20)(() => ({
7130
+ import { jsx as jsx85, jsxs as jsxs39 } from "react/jsx-runtime";
7131
+ var Chart = styled43(Box22)(() => ({
6692
7132
  height: 200
6693
7133
  }));
6694
7134
  var ChartWidget = ({
@@ -6698,10 +7138,10 @@ var ChartWidget = ({
6698
7138
  formatValue = (value2) => size2(value2 || 0).toString()
6699
7139
  }) => {
6700
7140
  const theme2 = useTheme3();
6701
- return /* @__PURE__ */ jsxs37(Stack4, { spacing: 1, children: [
6702
- /* @__PURE__ */ jsx82(Typography16, { variant: "caption", color: "text.secondary", children: title }),
6703
- /* @__PURE__ */ jsx82(Typography16, { fontWeight: "bold", children: value }),
6704
- /* @__PURE__ */ jsx82(Chart, { children: /* @__PURE__ */ jsx82(
7141
+ return /* @__PURE__ */ jsxs39(Stack4, { spacing: 1, children: [
7142
+ /* @__PURE__ */ jsx85(Typography18, { variant: "caption", color: "text.secondary", children: title }),
7143
+ /* @__PURE__ */ jsx85(Typography18, { fontWeight: "bold", children: value }),
7144
+ /* @__PURE__ */ jsx85(Chart, { children: /* @__PURE__ */ jsx85(
6705
7145
  LineChart,
6706
7146
  {
6707
7147
  dataset: history || [],
@@ -6759,11 +7199,11 @@ var ChartWidget = ({
6759
7199
  import { format as format2, startOfDay, subHours, subWeeks, subMonths } from "date-fns";
6760
7200
  import { LineChart as LineChart2 } from "@mui/x-charts";
6761
7201
  import { useDrawingArea, useYScale } from "@mui/x-charts/hooks";
6762
- import { Box as Box21, Card as Card2, CardHeader as CardHeader2, CardMedia, Divider as Divider5, Stack as Stack5, styled as styled42, Typography as Typography17, useTheme as useTheme4 } from "@mui/material";
7202
+ import { Box as Box23, Card as Card2, CardHeader as CardHeader2, CardMedia, Divider as Divider7, Stack as Stack5, styled as styled44, Typography as Typography19, useTheme as useTheme4 } from "@mui/material";
6763
7203
 
6764
7204
  // src/components/charts/MetricsChart/PeriodSelect.tsx
6765
- import { MenuItem as MenuItem2, TextField as TextField4 } from "@mui/material";
6766
- import { jsx as jsx83 } from "react/jsx-runtime";
7205
+ import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
7206
+ import { jsx as jsx86 } from "react/jsx-runtime";
6767
7207
  var options = [
6768
7208
  /**
6769
7209
  * TODO: Enable the options below when the backend supports them
@@ -6773,7 +7213,7 @@ var options = [
6773
7213
  { value: "week", label: "1 week" },
6774
7214
  { value: "month", label: "1 month" }
6775
7215
  ];
6776
- var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx83(
7216
+ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx86(
6777
7217
  TextField4,
6778
7218
  {
6779
7219
  select: true,
@@ -6781,13 +7221,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx83(
6781
7221
  value,
6782
7222
  defaultValue: options[0].value,
6783
7223
  onChange: (e) => onChange?.(e.target.value),
6784
- children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx83(MenuItem2, { value: value2, children: label }, value2))
7224
+ children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx86(MenuItem3, { value: value2, children: label }, value2))
6785
7225
  }
6786
7226
  );
6787
7227
 
6788
7228
  // src/components/charts/MetricsChart/MetricsChart.tsx
6789
7229
  import { useMemo, useState as useState9 } from "react";
6790
- import { jsx as jsx84, jsxs as jsxs38 } from "react/jsx-runtime";
7230
+ import { jsx as jsx87, jsxs as jsxs40 } from "react/jsx-runtime";
6791
7231
  var mapPeriodToFromDate = (period = "month") => {
6792
7232
  const date = /* @__PURE__ */ new Date();
6793
7233
  if (period === "hour") {
@@ -6801,14 +7241,14 @@ var mapPeriodToFromDate = (period = "month") => {
6801
7241
  }
6802
7242
  return startOfDay(subMonths(date, 1));
6803
7243
  };
6804
- var Chart2 = styled42(LineChart2)({
7244
+ var Chart2 = styled44(LineChart2)({
6805
7245
  height: 320,
6806
7246
  marginBottom: 16
6807
7247
  });
6808
- var NoDataRect = styled42("rect")({
7248
+ var NoDataRect = styled44("rect")({
6809
7249
  fill: "#F5F6FF"
6810
7250
  });
6811
- var LoadingText = styled42("text")(({ theme: theme2 }) => ({
7251
+ var LoadingText = styled44("text")(({ theme: theme2 }) => ({
6812
7252
  stroke: "none",
6813
7253
  fill: theme2.palette.text.primary,
6814
7254
  shapeRendering: "crispEdges",
@@ -6847,15 +7287,15 @@ var MetricsChart = ({ history = [] }) => {
6847
7287
  const backgroundHeight = textHeight + padding.top + padding.bottom;
6848
7288
  const rectX = left + (width - backgroundWidth) / 2;
6849
7289
  const rectY = top + (height - backgroundHeight) / 2;
6850
- return /* @__PURE__ */ jsxs38("g", { children: [
6851
- /* @__PURE__ */ jsx84(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
6852
- /* @__PURE__ */ jsx84(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
7290
+ return /* @__PURE__ */ jsxs40("g", { children: [
7291
+ /* @__PURE__ */ jsx87(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
7292
+ /* @__PURE__ */ jsx87(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
6853
7293
  ] });
6854
7294
  };
6855
- return /* @__PURE__ */ jsxs38(Card2, { children: [
6856
- /* @__PURE__ */ jsx84(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx84(PeriodSelect, { value: period, onChange: setPeriod }) }),
6857
- /* @__PURE__ */ jsxs38(CardMedia, { children: [
6858
- /* @__PURE__ */ jsx84(
7295
+ return /* @__PURE__ */ jsxs40(Card2, { children: [
7296
+ /* @__PURE__ */ jsx87(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx87(PeriodSelect, { value: period, onChange: setPeriod }) }),
7297
+ /* @__PURE__ */ jsxs40(CardMedia, { children: [
7298
+ /* @__PURE__ */ jsx87(
6859
7299
  Chart2,
6860
7300
  {
6861
7301
  skipAnimation: true,
@@ -6916,35 +7356,35 @@ var MetricsChart = ({ history = [] }) => {
6916
7356
  ]
6917
7357
  }
6918
7358
  ),
6919
- periodHistory.length > 0 && /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
6920
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
6921
- /* @__PURE__ */ jsx84(Box21, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
6922
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", children: "Get" })
7359
+ periodHistory.length > 0 && /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
7360
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
7361
+ /* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
7362
+ /* @__PURE__ */ jsx87(Typography19, { variant: "body2", children: "Get" })
6923
7363
  ] }),
6924
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
6925
- /* @__PURE__ */ jsx84(Box21, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
6926
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", children: "Put" })
7364
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
7365
+ /* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
7366
+ /* @__PURE__ */ jsx87(Typography19, { variant: "body2", children: "Put" })
6927
7367
  ] })
6928
7368
  ] })
6929
7369
  ] }),
6930
- /* @__PURE__ */ jsxs38(CardMedia, { children: [
6931
- /* @__PURE__ */ jsx84(Divider5, { flexItem: true }),
6932
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 2, padding: 2, children: [
6933
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6934
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
6935
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: total.gets })
7370
+ /* @__PURE__ */ jsxs40(CardMedia, { children: [
7371
+ /* @__PURE__ */ jsx87(Divider7, { flexItem: true }),
7372
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 2, padding: 2, children: [
7373
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7374
+ /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
7375
+ /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: total.gets })
6936
7376
  ] }),
6937
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6938
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
6939
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: total.puts })
7377
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7378
+ /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
7379
+ /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: total.puts })
6940
7380
  ] }),
6941
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6942
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
6943
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: /* @__PURE__ */ jsx84(BytesSize, { bytes: total.transferredBytes }) })
7381
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7382
+ /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
7383
+ /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.transferredBytes }) })
6944
7384
  ] }),
6945
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6946
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
6947
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: /* @__PURE__ */ jsx84(BytesSize, { bytes: total.storedBytes }) })
7385
+ /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7386
+ /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
7387
+ /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.storedBytes }) })
6948
7388
  ] })
6949
7389
  ] })
6950
7390
  ] })
@@ -6961,10 +7401,10 @@ import ReactFlow, {
6961
7401
  BackgroundVariant,
6962
7402
  ConnectionLineType
6963
7403
  } from "reactflow";
6964
- import { Box as Box22 } from "@mui/material";
7404
+ import { Box as Box24 } from "@mui/material";
6965
7405
  import { useTheme as useTheme5 } from "@mui/material/styles";
6966
7406
  import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
6967
- import { jsx as jsx85, jsxs as jsxs39 } from "react/jsx-runtime";
7407
+ import { jsx as jsx88, jsxs as jsxs41 } from "react/jsx-runtime";
6968
7408
  var FlowEditor = ({
6969
7409
  nodes,
6970
7410
  edges,
@@ -6990,8 +7430,8 @@ var FlowEditor = ({
6990
7430
  },
6991
7431
  [onInit]
6992
7432
  );
6993
- return /* @__PURE__ */ jsx85(ReactFlowProvider, { children: /* @__PURE__ */ jsx85(
6994
- Box22,
7433
+ return /* @__PURE__ */ jsx88(ReactFlowProvider, { children: /* @__PURE__ */ jsx88(
7434
+ Box24,
6995
7435
  {
6996
7436
  sx: {
6997
7437
  width: "100%",
@@ -7003,7 +7443,7 @@ var FlowEditor = ({
7003
7443
  ...containerProps?.sx
7004
7444
  },
7005
7445
  ...containerProps,
7006
- children: /* @__PURE__ */ jsxs39(
7446
+ children: /* @__PURE__ */ jsxs41(
7007
7447
  ReactFlow,
7008
7448
  {
7009
7449
  nodes,
@@ -7025,7 +7465,7 @@ var FlowEditor = ({
7025
7465
  },
7026
7466
  ...reactFlowProps,
7027
7467
  children: [
7028
- showBackground && /* @__PURE__ */ jsx85(
7468
+ showBackground && /* @__PURE__ */ jsx88(
7029
7469
  Background,
7030
7470
  {
7031
7471
  variant: backgroundVariant,
@@ -7034,8 +7474,8 @@ var FlowEditor = ({
7034
7474
  color: theme2.palette.divider
7035
7475
  }
7036
7476
  ),
7037
- showControls && /* @__PURE__ */ jsx85(Controls, {}),
7038
- showMinimap && /* @__PURE__ */ jsx85(
7477
+ showControls && /* @__PURE__ */ jsx88(Controls, {}),
7478
+ showMinimap && /* @__PURE__ */ jsx88(
7039
7479
  MiniMap,
7040
7480
  {
7041
7481
  nodeColor: (node) => {
@@ -7060,13 +7500,13 @@ var FlowEditor = ({
7060
7500
  // src/components/third-party/CodeEditor.tsx
7061
7501
  import { useCallback as useCallback8, useEffect as useEffect3, useState as useState10, useRef as useRef2 } from "react";
7062
7502
  import Editor from "@monaco-editor/react";
7063
- import { Box as Box23, IconButton as IconButton9, Tooltip as Tooltip7 } from "@mui/material";
7503
+ import { Box as Box25, IconButton as IconButton11, Tooltip as Tooltip7 } from "@mui/material";
7064
7504
  import FullscreenIcon from "@mui/icons-material/Fullscreen";
7065
7505
  import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
7066
7506
  import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
7067
7507
  import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
7068
7508
  import ExpandLessIcon from "@mui/icons-material/ExpandLess";
7069
- import { jsx as jsx86, jsxs as jsxs40 } from "react/jsx-runtime";
7509
+ import { jsx as jsx89, jsxs as jsxs42 } from "react/jsx-runtime";
7070
7510
  var configureTypeScript = (monaco) => {
7071
7511
  monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
7072
7512
  target: monaco.languages.typescript.ScriptTarget.ES2020,
@@ -7278,8 +7718,8 @@ var CodeEditor = ({
7278
7718
  theme: themeProp || "vs",
7279
7719
  ...options2
7280
7720
  };
7281
- return /* @__PURE__ */ jsx86(
7282
- Box23,
7721
+ return /* @__PURE__ */ jsx89(
7722
+ Box25,
7283
7723
  {
7284
7724
  sx: {
7285
7725
  display: "flex",
@@ -7299,8 +7739,8 @@ var CodeEditor = ({
7299
7739
  pb: isFullscreen ? 2 : 0,
7300
7740
  overflow: isFullscreen ? "hidden" : "visible"
7301
7741
  },
7302
- children: /* @__PURE__ */ jsxs40(
7303
- Box23,
7742
+ children: /* @__PURE__ */ jsxs42(
7743
+ Box25,
7304
7744
  {
7305
7745
  sx: {
7306
7746
  flex: 1,
@@ -7315,8 +7755,8 @@ var CodeEditor = ({
7315
7755
  },
7316
7756
  ...containerProps,
7317
7757
  children: [
7318
- /* @__PURE__ */ jsx86(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx86(
7319
- IconButton9,
7758
+ /* @__PURE__ */ jsx89(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx89(
7759
+ IconButton11,
7320
7760
  {
7321
7761
  onClick: toggleFullscreen,
7322
7762
  size: "small",
@@ -7333,11 +7773,11 @@ var CodeEditor = ({
7333
7773
  },
7334
7774
  boxShadow: 1
7335
7775
  },
7336
- children: isFullscreen ? /* @__PURE__ */ jsx86(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx86(FullscreenIcon, { fontSize: "small" })
7776
+ children: isFullscreen ? /* @__PURE__ */ jsx89(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx89(FullscreenIcon, { fontSize: "small" })
7337
7777
  }
7338
7778
  ) }),
7339
- /* @__PURE__ */ jsx86(
7340
- Box23,
7779
+ /* @__PURE__ */ jsx89(
7780
+ Box25,
7341
7781
  {
7342
7782
  sx: {
7343
7783
  flex: 1,
@@ -7348,7 +7788,7 @@ var CodeEditor = ({
7348
7788
  position: "relative",
7349
7789
  height: isFullscreen ? "100%" : actualHeight
7350
7790
  },
7351
- children: /* @__PURE__ */ jsx86(
7791
+ children: /* @__PURE__ */ jsx89(
7352
7792
  Editor,
7353
7793
  {
7354
7794
  height: "100%",
@@ -7359,7 +7799,7 @@ var CodeEditor = ({
7359
7799
  onMount: handleEditorDidMount,
7360
7800
  theme: themeProp || "vs",
7361
7801
  options: defaultOptions,
7362
- loading: /* @__PURE__ */ jsx86(Box23, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7802
+ loading: /* @__PURE__ */ jsx89(Box25, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7363
7803
  beforeMount: (monaco) => {
7364
7804
  console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
7365
7805
  }
@@ -7367,8 +7807,8 @@ var CodeEditor = ({
7367
7807
  )
7368
7808
  }
7369
7809
  ),
7370
- validationErrors.length > 0 && /* @__PURE__ */ jsxs40(
7371
- Box23,
7810
+ validationErrors.length > 0 && /* @__PURE__ */ jsxs42(
7811
+ Box25,
7372
7812
  {
7373
7813
  sx: {
7374
7814
  borderTop: 1,
@@ -7381,8 +7821,8 @@ var CodeEditor = ({
7381
7821
  transition: "max-height 0.2s ease"
7382
7822
  },
7383
7823
  children: [
7384
- /* @__PURE__ */ jsxs40(
7385
- Box23,
7824
+ /* @__PURE__ */ jsxs42(
7825
+ Box25,
7386
7826
  {
7387
7827
  sx: {
7388
7828
  display: "flex",
@@ -7396,16 +7836,16 @@ var CodeEditor = ({
7396
7836
  color: "text.secondary"
7397
7837
  },
7398
7838
  children: [
7399
- /* @__PURE__ */ jsx86(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
7400
- /* @__PURE__ */ jsx86(Box23, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7401
- /* @__PURE__ */ jsxs40(Box23, { sx: { ml: 1 }, children: [
7839
+ /* @__PURE__ */ jsx89(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
7840
+ /* @__PURE__ */ jsx89(Box25, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7841
+ /* @__PURE__ */ jsxs42(Box25, { sx: { ml: 1 }, children: [
7402
7842
  validationErrors.length,
7403
7843
  " error",
7404
7844
  validationErrors.length > 1 ? "s" : ""
7405
7845
  ] }),
7406
- /* @__PURE__ */ jsx86(Box23, { sx: { flex: 1 } }),
7407
- /* @__PURE__ */ jsx86(
7408
- IconButton9,
7846
+ /* @__PURE__ */ jsx89(Box25, { sx: { flex: 1 } }),
7847
+ /* @__PURE__ */ jsx89(
7848
+ IconButton11,
7409
7849
  {
7410
7850
  size: "small",
7411
7851
  "aria-label": "Toggle problems panel",
@@ -7413,14 +7853,14 @@ var CodeEditor = ({
7413
7853
  setHasUserToggledProblems(true);
7414
7854
  setShowProblems((s) => !s);
7415
7855
  },
7416
- children: showProblems ? /* @__PURE__ */ jsx86(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx86(ExpandLessIcon, { fontSize: "small" })
7856
+ children: showProblems ? /* @__PURE__ */ jsx89(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx89(ExpandLessIcon, { fontSize: "small" })
7417
7857
  }
7418
7858
  )
7419
7859
  ]
7420
7860
  }
7421
7861
  ),
7422
- showProblems && /* @__PURE__ */ jsx86(Box23, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs40(
7423
- Box23,
7862
+ showProblems && /* @__PURE__ */ jsx89(Box25, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs42(
7863
+ Box25,
7424
7864
  {
7425
7865
  onClick: () => gotoMarker(error),
7426
7866
  sx: {
@@ -7436,12 +7876,12 @@ var CodeEditor = ({
7436
7876
  fontSize: "0.85rem"
7437
7877
  },
7438
7878
  children: [
7439
- /* @__PURE__ */ jsx86(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
7440
- /* @__PURE__ */ jsxs40(Box23, { sx: { color: "text.secondary", width: 64 }, children: [
7879
+ /* @__PURE__ */ jsx89(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
7880
+ /* @__PURE__ */ jsxs42(Box25, { sx: { color: "text.secondary", width: 64 }, children: [
7441
7881
  "Line ",
7442
7882
  error.startLineNumber
7443
7883
  ] }),
7444
- /* @__PURE__ */ jsx86(Box23, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
7884
+ /* @__PURE__ */ jsx89(Box25, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
7445
7885
  ]
7446
7886
  },
7447
7887
  `${error.startLineNumber}-${error.startColumn}-${index}`
@@ -7471,7 +7911,7 @@ export {
7471
7911
  BackgroundVariant2 as BackgroundVariant,
7472
7912
  Badge,
7473
7913
  BarTrackingIcon,
7474
- Box15 as Box,
7914
+ Box17 as Box,
7475
7915
  Breadcrumbs,
7476
7916
  Button,
7477
7917
  ButtonGroup,
@@ -7501,12 +7941,13 @@ export {
7501
7941
  DeploymentEntityContextMenu,
7502
7942
  Dialog,
7503
7943
  DiscordIcon,
7504
- Divider4 as Divider,
7944
+ Divider6 as Divider,
7505
7945
  DownloadIcon,
7506
7946
  Drawer2 as Drawer,
7507
7947
  Dropdown,
7508
7948
  DropdownAnchor,
7509
7949
  EmptyState,
7950
+ EntityHeader,
7510
7951
  FilledFolderIcon,
7511
7952
  FlowEditor,
7512
7953
  FolderIcon,
@@ -7516,6 +7957,7 @@ export {
7516
7957
  FormLabel,
7517
7958
  GithubLogoIcon,
7518
7959
  Grid2 as Grid,
7960
+ IDBlock,
7519
7961
  IconButton,
7520
7962
  InputAdornment2 as InputAdornment,
7521
7963
  InputLabel,
@@ -7548,6 +7990,7 @@ export {
7548
7990
  Radio,
7549
7991
  RadioGroup,
7550
7992
  RightArrowIcon,
7993
+ RoleBadge,
7551
7994
  SearchField,
7552
7995
  Selector,
7553
7996
  ServiceSelectorButton,
@@ -7574,12 +8017,14 @@ export {
7574
8017
  Toolbar,
7575
8018
  Tooltip6 as Tooltip,
7576
8019
  Truncate,
7577
- Typography12 as Typography,
8020
+ Typography14 as Typography,
7578
8021
  UploadFileIcon,
7579
8022
  UploadFolderIcon,
7580
8023
  WorkspaceSelectorButton,
7581
8024
  colors,
7582
8025
  contextMenuItems,
8026
+ robPaletteExtended,
8027
+ robPrimaryPalette,
7583
8028
  theme,
7584
8029
  useIsDesktop,
7585
8030
  useIsMobile,