@cere/cere-design-system 0.0.19 → 0.0.21

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: {
@@ -1724,57 +1771,6 @@ var LoadingAnimation = (props) => {
1724
1771
  return /* @__PURE__ */ jsx2(Lottie2, { animationData: loading_default, ...props });
1725
1772
  };
1726
1773
 
1727
- // src/hooks/useMessages.tsx
1728
- import { useState, useCallback, createContext, useContext, useEffect } from "react";
1729
- import { Snackbar, Alert } from "@mui/material";
1730
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
1731
- var MessagesContext = createContext(void 0);
1732
- var useMessages = () => {
1733
- const context = useContext(MessagesContext);
1734
- if (!context) {
1735
- throw new Error("useMessages must be used within a MessagesProvider");
1736
- }
1737
- return context;
1738
- };
1739
- var MessagesProvider = ({ children }) => {
1740
- const [snackPack, setSnackPack] = useState([]);
1741
- const [open, setOpen] = useState(false);
1742
- const [messageInfo, setMessageInfo] = useState(void 0);
1743
- const showMessage = useCallback((options2) => {
1744
- setSnackPack((prev) => [...prev, { ...options2 }]);
1745
- }, []);
1746
- const handleClose = useCallback(() => {
1747
- setOpen(false);
1748
- }, []);
1749
- const handleExited = useCallback(() => {
1750
- setMessageInfo(void 0);
1751
- }, []);
1752
- useEffect(() => {
1753
- if (snackPack.length && !messageInfo) {
1754
- setMessageInfo({ ...snackPack[0] });
1755
- setSnackPack((prev) => prev.slice(1));
1756
- setOpen(true);
1757
- } else if (snackPack.length && messageInfo && open) {
1758
- setOpen(false);
1759
- }
1760
- }, [snackPack, messageInfo, open]);
1761
- return /* @__PURE__ */ jsxs(MessagesContext.Provider, { value: { showMessage }, children: [
1762
- children,
1763
- /* @__PURE__ */ jsx3(
1764
- Snackbar,
1765
- {
1766
- anchorOrigin: messageInfo?.placement || { vertical: "top", horizontal: "center" },
1767
- open,
1768
- autoHideDuration: messageInfo?.autoDismiss ? 3e3 : null,
1769
- onClose: handleClose,
1770
- TransitionProps: { onExited: handleExited },
1771
- children: /* @__PURE__ */ jsx3(Alert, { onClose: handleClose, severity: messageInfo?.appearance, children: messageInfo?.message })
1772
- },
1773
- messageInfo ? messageInfo.message : void 0
1774
- )
1775
- ] });
1776
- };
1777
-
1778
1774
  // src/hooks/useResponsive.ts
1779
1775
  import { useMediaQuery, useTheme } from "@mui/material";
1780
1776
  var useIsDesktop = () => {
@@ -1793,7 +1789,7 @@ var useIsMobile = () => {
1793
1789
  // src/components/buttons/Button.tsx
1794
1790
  import MuiButton from "@mui/material/Button";
1795
1791
  import { styled } from "@mui/material/styles";
1796
- import { jsx as jsx4 } from "react/jsx-runtime";
1792
+ import { jsx as jsx3 } from "react/jsx-runtime";
1797
1793
  var BUTTON_SPACING = {
1798
1794
  borderRadius: "8px",
1799
1795
  padding: "8px 16px",
@@ -1888,13 +1884,13 @@ var Button = ({
1888
1884
  startIcon,
1889
1885
  endIcon
1890
1886
  };
1891
- return /* @__PURE__ */ jsx4(ButtonComponent, { ...buttonProps, children });
1887
+ return /* @__PURE__ */ jsx3(ButtonComponent, { ...buttonProps, children });
1892
1888
  };
1893
1889
 
1894
1890
  // src/components/buttons/IconButton.tsx
1895
1891
  import MuiIconButton from "@mui/material/IconButton";
1896
1892
  import { styled as styled2 } from "@mui/material/styles";
1897
- import { jsx as jsx5 } from "react/jsx-runtime";
1893
+ import { jsx as jsx4 } from "react/jsx-runtime";
1898
1894
  var StyledIconButton = styled2(MuiIconButton, {
1899
1895
  shouldForwardProp: (prop) => prop !== "buttonVariant"
1900
1896
  })(({ buttonVariant = "default" }) => {
@@ -1924,18 +1920,18 @@ var IconButton = ({
1924
1920
  variant = "default",
1925
1921
  ...props
1926
1922
  }) => {
1927
- return /* @__PURE__ */ jsx5(StyledIconButton, { buttonVariant: variant, ...props });
1923
+ return /* @__PURE__ */ jsx4(StyledIconButton, { buttonVariant: variant, ...props });
1928
1924
  };
1929
1925
 
1930
1926
  // src/components/buttons/LoadingButton.tsx
1931
1927
  import { LoadingButton as MuiLoadingButton } from "@mui/lab";
1932
- import { jsx as jsx6 } from "react/jsx-runtime";
1928
+ import { jsx as jsx5 } from "react/jsx-runtime";
1933
1929
  var LoadingButton = ({
1934
1930
  loading = false,
1935
1931
  loadingPosition = "center",
1936
1932
  ...props
1937
1933
  }) => {
1938
- return /* @__PURE__ */ jsx6(
1934
+ return /* @__PURE__ */ jsx5(
1939
1935
  MuiLoadingButton,
1940
1936
  {
1941
1937
  loading,
@@ -1949,14 +1945,14 @@ var LoadingButton = ({
1949
1945
  import {
1950
1946
  ButtonGroup as MuiButtonGroup
1951
1947
  } from "@mui/material";
1952
- import { jsx as jsx7 } from "react/jsx-runtime";
1948
+ import { jsx as jsx6 } from "react/jsx-runtime";
1953
1949
  var ButtonGroup = ({
1954
1950
  orientation = "horizontal",
1955
1951
  size: size3 = "medium",
1956
1952
  variant = "outlined",
1957
1953
  ...props
1958
1954
  }) => {
1959
- return /* @__PURE__ */ jsx7(
1955
+ return /* @__PURE__ */ jsx6(
1960
1956
  MuiButtonGroup,
1961
1957
  {
1962
1958
  orientation,
@@ -1970,7 +1966,7 @@ var ButtonGroup = ({
1970
1966
  // src/components/inputs/TextField.tsx
1971
1967
  import MuiTextField from "@mui/material/TextField";
1972
1968
  import { styled as styled3 } from "@mui/material/styles";
1973
- import { jsx as jsx8 } from "react/jsx-runtime";
1969
+ import { jsx as jsx7 } from "react/jsx-runtime";
1974
1970
  var StyledTextField = styled3(MuiTextField)(({ error }) => ({
1975
1971
  "& .MuiOutlinedInput-root": {
1976
1972
  "&:hover fieldset": {
@@ -1993,13 +1989,13 @@ var TextField = ({
1993
1989
  size: size3 = "medium",
1994
1990
  ...props
1995
1991
  }) => {
1996
- return /* @__PURE__ */ jsx8(StyledTextField, { size: size3 === "medium" ? "medium" : "small", ...props });
1992
+ return /* @__PURE__ */ jsx7(StyledTextField, { size: size3 === "medium" ? "medium" : "small", ...props });
1997
1993
  };
1998
1994
 
1999
1995
  // src/components/inputs/SearchField.tsx
2000
1996
  import SearchIcon from "@mui/icons-material/Search";
2001
1997
  import InputAdornment from "@mui/material/InputAdornment";
2002
- import { jsx as jsx9 } from "react/jsx-runtime";
1998
+ import { jsx as jsx8 } from "react/jsx-runtime";
2003
1999
  var SearchField = ({
2004
2000
  placeholder = "Search...",
2005
2001
  onSearch,
@@ -2014,13 +2010,13 @@ var SearchField = ({
2014
2010
  onSearch(e.target.value);
2015
2011
  }
2016
2012
  };
2017
- return /* @__PURE__ */ jsx9(
2013
+ return /* @__PURE__ */ jsx8(
2018
2014
  TextField,
2019
2015
  {
2020
2016
  placeholder,
2021
2017
  onChange: handleChange,
2022
2018
  InputProps: {
2023
- startAdornment: /* @__PURE__ */ jsx9(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx9(SearchIcon, { style: { fontSize: 18, color: "#999" } }) })
2019
+ startAdornment: /* @__PURE__ */ jsx8(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx8(SearchIcon, { style: { fontSize: 18, color: "#999" } }) })
2024
2020
  },
2025
2021
  ...props
2026
2022
  }
@@ -2043,9 +2039,9 @@ import {
2043
2039
  ToggleButtonGroup as MuiToggleButtonGroup
2044
2040
  } from "@mui/material";
2045
2041
  import { styled as styled4 } from "@mui/material/styles";
2046
- import { jsx as jsx10 } from "react/jsx-runtime";
2042
+ import { jsx as jsx9 } from "react/jsx-runtime";
2047
2043
  var ToggleButton = (props) => {
2048
- return /* @__PURE__ */ jsx10(MuiToggleButton, { ...props });
2044
+ return /* @__PURE__ */ jsx9(MuiToggleButton, { ...props });
2049
2045
  };
2050
2046
  var StyledToggleButtonGroup = styled4(MuiToggleButtonGroup)({
2051
2047
  "& .MuiToggleButton-root": {
@@ -2063,13 +2059,13 @@ var StyledToggleButtonGroup = styled4(MuiToggleButtonGroup)({
2063
2059
  }
2064
2060
  });
2065
2061
  var ToggleButtonGroup = (props) => {
2066
- return /* @__PURE__ */ jsx10(StyledToggleButtonGroup, { ...props });
2062
+ return /* @__PURE__ */ jsx9(StyledToggleButtonGroup, { ...props });
2067
2063
  };
2068
2064
 
2069
2065
  // src/components/inputs/Switch.tsx
2070
2066
  import MuiSwitch from "@mui/material/Switch";
2071
2067
  import { styled as styled5 } from "@mui/material/styles";
2072
- import { jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
2068
+ import { jsx as jsx10, jsxs } from "react/jsx-runtime";
2073
2069
  var StyledSwitch = styled5(MuiSwitch)(({ theme: theme2 }) => ({
2074
2070
  width: 44,
2075
2071
  height: 24,
@@ -2121,14 +2117,14 @@ var Switch = ({
2121
2117
  labelPosition = "right",
2122
2118
  ...props
2123
2119
  }) => {
2124
- const switchComponent = /* @__PURE__ */ jsx11(StyledSwitch, { ...props });
2120
+ const switchComponent = /* @__PURE__ */ jsx10(StyledSwitch, { ...props });
2125
2121
  if (!label) {
2126
2122
  return switchComponent;
2127
2123
  }
2128
- return /* @__PURE__ */ jsxs2("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2129
- labelPosition === "left" && /* @__PURE__ */ jsx11("span", { children: label }),
2124
+ return /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2125
+ labelPosition === "left" && /* @__PURE__ */ jsx10("span", { children: label }),
2130
2126
  switchComponent,
2131
- labelPosition === "right" && /* @__PURE__ */ jsx11("span", { children: label })
2127
+ labelPosition === "right" && /* @__PURE__ */ jsx10("span", { children: label })
2132
2128
  ] });
2133
2129
  };
2134
2130
 
@@ -2136,7 +2132,7 @@ var Switch = ({
2136
2132
  import MuiCheckbox from "@mui/material/Checkbox";
2137
2133
  import { styled as styled6 } from "@mui/material/styles";
2138
2134
  import FormControlLabel2 from "@mui/material/FormControlLabel";
2139
- import { jsx as jsx12 } from "react/jsx-runtime";
2135
+ import { jsx as jsx11 } from "react/jsx-runtime";
2140
2136
  var StyledCheckbox = styled6(MuiCheckbox)(() => ({
2141
2137
  color: colors.grey[400],
2142
2138
  "&.Mui-checked": {
@@ -2161,7 +2157,7 @@ var Checkbox = ({
2161
2157
  labelPosition = "right",
2162
2158
  ...props
2163
2159
  }) => {
2164
- const checkboxComponent = /* @__PURE__ */ jsx12(StyledCheckbox, { ...props });
2160
+ const checkboxComponent = /* @__PURE__ */ jsx11(StyledCheckbox, { ...props });
2165
2161
  if (!label) {
2166
2162
  return checkboxComponent;
2167
2163
  }
@@ -2169,7 +2165,7 @@ var Checkbox = ({
2169
2165
  left: "start",
2170
2166
  right: "end"
2171
2167
  };
2172
- return /* @__PURE__ */ jsx12(
2168
+ return /* @__PURE__ */ jsx11(
2173
2169
  FormControlLabel2,
2174
2170
  {
2175
2171
  control: checkboxComponent,
@@ -2184,7 +2180,7 @@ import MuiRadio from "@mui/material/Radio";
2184
2180
  import { styled as styled7 } from "@mui/material/styles";
2185
2181
  import FormControlLabel3 from "@mui/material/FormControlLabel";
2186
2182
  import RadioGroup from "@mui/material/RadioGroup";
2187
- import { jsx as jsx13 } from "react/jsx-runtime";
2183
+ import { jsx as jsx12 } from "react/jsx-runtime";
2188
2184
  var StyledRadio = styled7(MuiRadio)(() => ({
2189
2185
  color: colors.grey[400],
2190
2186
  "&.Mui-checked": {
@@ -2206,7 +2202,7 @@ var Radio = ({
2206
2202
  labelPosition = "right",
2207
2203
  ...props
2208
2204
  }) => {
2209
- const radioComponent = /* @__PURE__ */ jsx13(StyledRadio, { ...props });
2205
+ const radioComponent = /* @__PURE__ */ jsx12(StyledRadio, { ...props });
2210
2206
  if (!label) {
2211
2207
  return radioComponent;
2212
2208
  }
@@ -2214,7 +2210,7 @@ var Radio = ({
2214
2210
  left: "start",
2215
2211
  right: "end"
2216
2212
  };
2217
- return /* @__PURE__ */ jsx13(
2213
+ return /* @__PURE__ */ jsx12(
2218
2214
  FormControlLabel3,
2219
2215
  {
2220
2216
  control: radioComponent,
@@ -2226,13 +2222,13 @@ var Radio = ({
2226
2222
 
2227
2223
  // src/components/navigation/Dropdown/Dropdown.tsx
2228
2224
  import { Popover } from "@mui/material";
2229
- import { useCallback as useCallback2, useRef } from "react";
2225
+ import { useCallback, useRef } from "react";
2230
2226
 
2231
2227
  // src/components/navigation/Dropdown/DropdownAnchor.tsx
2232
2228
  import { forwardRef } from "react";
2233
2229
  import { Stack, styled as styled8, avatarClasses, Typography, Button as Button2 } from "@mui/material";
2234
2230
  import { ArrowDropUp, ArrowDropDown } from "@mui/icons-material";
2235
- import { jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
2231
+ import { jsx as jsx13, jsxs as jsxs2 } from "react/jsx-runtime";
2236
2232
  var Clickable = styled8(Button2)({
2237
2233
  padding: 0
2238
2234
  });
@@ -2258,16 +2254,16 @@ var Center = styled8(Typography)(({ theme: theme2 }) => ({
2258
2254
  color: theme2.palette.text.primary
2259
2255
  }));
2260
2256
  var DropdownAnchor = forwardRef(
2261
- ({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ jsx14(Clickable, { ref, ...props, color: "inherit", variant: "text", onClick: onOpen, children: /* @__PURE__ */ jsxs3(Anchor, { variant, spacing: 1, direction: "row", alignItems: "stretch", children: [
2262
- /* @__PURE__ */ jsx14(Left, { children: leftElement }),
2263
- /* @__PURE__ */ jsx14(Center, { variant: "body1", children: label }),
2264
- variant !== "header" && (open ? /* @__PURE__ */ jsx14(ArrowDropUp, {}) : /* @__PURE__ */ jsx14(ArrowDropDown, {}))
2257
+ ({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ jsx13(Clickable, { ref, ...props, color: "inherit", variant: "text", onClick: onOpen, children: /* @__PURE__ */ jsxs2(Anchor, { variant, spacing: 1, direction: "row", alignItems: "stretch", children: [
2258
+ /* @__PURE__ */ jsx13(Left, { children: leftElement }),
2259
+ /* @__PURE__ */ jsx13(Center, { variant: "body1", children: label }),
2260
+ variant !== "header" && (open ? /* @__PURE__ */ jsx13(ArrowDropUp, {}) : /* @__PURE__ */ jsx13(ArrowDropDown, {}))
2265
2261
  ] }) })
2266
2262
  );
2267
2263
  DropdownAnchor.displayName = "DropdownAnchor";
2268
2264
 
2269
2265
  // src/components/navigation/Dropdown/Dropdown.tsx
2270
- import { Fragment, jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
2266
+ import { Fragment, jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
2271
2267
  var Dropdown = ({
2272
2268
  open,
2273
2269
  label,
@@ -2279,15 +2275,15 @@ var Dropdown = ({
2279
2275
  disableGutters = false,
2280
2276
  disablePaddings = false,
2281
2277
  variant,
2282
- renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ jsx15(DropdownAnchor, { ref, open: open2, label, leftElement, onOpen, variant })
2278
+ renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ jsx14(DropdownAnchor, { ref, open: open2, label, leftElement, onOpen, variant })
2283
2279
  }) => {
2284
2280
  const anchorRef = useRef(null);
2285
2281
  const horizontal = direction === "left" ? "right" : "left";
2286
- const onOpen = useCallback2(() => onToggle?.(true), [onToggle]);
2282
+ const onOpen = useCallback(() => onToggle?.(true), [onToggle]);
2287
2283
  const padding = dense ? 1 : 2;
2288
- return /* @__PURE__ */ jsxs4(Fragment, { children: [
2284
+ return /* @__PURE__ */ jsxs3(Fragment, { children: [
2289
2285
  renderAnchor({ ref: anchorRef, onOpen, open }),
2290
- /* @__PURE__ */ jsx15(
2286
+ /* @__PURE__ */ jsx14(
2291
2287
  Popover,
2292
2288
  {
2293
2289
  "aria-label": "Overlay",
@@ -2336,7 +2332,7 @@ import {
2336
2332
  ListItemText,
2337
2333
  styled as styled9
2338
2334
  } from "@mui/material";
2339
- import { jsx as jsx16, jsxs as jsxs5 } from "react/jsx-runtime";
2335
+ import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
2340
2336
  var StyledListItemButton = styled9(ListItemButton, {
2341
2337
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "size"
2342
2338
  })(({ selected, size: size3 = "medium" }) => {
@@ -2375,16 +2371,16 @@ var SidebarItem = ({
2375
2371
  endIcon,
2376
2372
  children
2377
2373
  }) => {
2378
- return /* @__PURE__ */ jsxs5(StyledListItemButton, { selected, size: size3, onClick, children: [
2379
- icon && /* @__PURE__ */ jsx16(ListItemIcon, { children: icon }),
2380
- /* @__PURE__ */ jsx16(ListItemText, { primary: label }),
2381
- endIcon && /* @__PURE__ */ jsx16("div", { style: { marginLeft: "auto" }, children: endIcon }),
2374
+ return /* @__PURE__ */ jsxs4(StyledListItemButton, { selected, size: size3, onClick, children: [
2375
+ icon && /* @__PURE__ */ jsx15(ListItemIcon, { children: icon }),
2376
+ /* @__PURE__ */ jsx15(ListItemText, { primary: label }),
2377
+ endIcon && /* @__PURE__ */ jsx15("div", { style: { marginLeft: "auto" }, children: endIcon }),
2382
2378
  children
2383
2379
  ] });
2384
2380
  };
2385
2381
 
2386
2382
  // src/components/navigation/Sidebar.tsx
2387
- import { jsx as jsx17 } from "react/jsx-runtime";
2383
+ import { jsx as jsx16 } from "react/jsx-runtime";
2388
2384
  var StyledDrawer = styled10(Drawer)(() => ({
2389
2385
  "& .MuiDrawer-paper": {
2390
2386
  backgroundColor: colors.background.paper,
@@ -2399,7 +2395,7 @@ var Sidebar = ({
2399
2395
  onClose,
2400
2396
  variant = "permanent"
2401
2397
  }) => {
2402
- return /* @__PURE__ */ jsx17(
2398
+ return /* @__PURE__ */ jsx16(
2403
2399
  StyledDrawer,
2404
2400
  {
2405
2401
  variant,
@@ -2413,13 +2409,13 @@ var Sidebar = ({
2413
2409
  boxSizing: "border-box"
2414
2410
  }
2415
2411
  },
2416
- children: /* @__PURE__ */ jsx17(Box, { sx: { overflow: "auto", padding: "8px 0" }, children: /* @__PURE__ */ jsx17(List, { children: items.map((item, index) => /* @__PURE__ */ jsx17(SidebarItem, { ...item }, index)) }) })
2412
+ children: /* @__PURE__ */ jsx16(Box, { sx: { overflow: "auto", padding: "8px 0" }, children: /* @__PURE__ */ jsx16(List, { children: items.map((item, index) => /* @__PURE__ */ jsx16(SidebarItem, { ...item }, index)) }) })
2417
2413
  }
2418
2414
  );
2419
2415
  };
2420
2416
 
2421
2417
  // src/components/navigation/ServiceSelector.tsx
2422
- import { useState as useState2, useCallback as useCallback3 } from "react";
2418
+ import { useState, useCallback as useCallback2 } from "react";
2423
2419
  import {
2424
2420
  Box as Box2,
2425
2421
  Typography as Typography2,
@@ -2445,7 +2441,7 @@ import AddIcon from "@mui/icons-material/Add";
2445
2441
  import CheckIcon from "@mui/icons-material/Check";
2446
2442
  import SettingsIcon from "@mui/icons-material/Settings";
2447
2443
  import PersonAddAltIcon from "@mui/icons-material/PersonAddAlt";
2448
- import { Fragment as Fragment2, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
2444
+ import { Fragment as Fragment2, jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
2449
2445
  var ServiceSelectorButton = ({
2450
2446
  services,
2451
2447
  selectedServiceId,
@@ -2461,9 +2457,9 @@ var ServiceSelectorButton = ({
2461
2457
  onOpenSettings,
2462
2458
  onOpenAddMember
2463
2459
  }) => {
2464
- const [anchorEl, setAnchorEl] = useState2(null);
2465
- const [searchTerm, setSearchTerm] = useState2("");
2466
- const [showArchived, setShowArchived] = useState2(false);
2460
+ const [anchorEl, setAnchorEl] = useState(null);
2461
+ const [searchTerm, setSearchTerm] = useState("");
2462
+ const [showArchived, setShowArchived] = useState(false);
2467
2463
  const handleOpenSelector = (event) => {
2468
2464
  event.stopPropagation();
2469
2465
  setAnchorEl(event.currentTarget);
@@ -2479,7 +2475,7 @@ var ServiceSelectorButton = ({
2479
2475
  onServiceClick(selectedServiceId);
2480
2476
  }
2481
2477
  };
2482
- const handleSelectService = useCallback3(
2478
+ const handleSelectService = useCallback2(
2483
2479
  (serviceId) => {
2484
2480
  handleClose();
2485
2481
  if (onSelectService) {
@@ -2502,8 +2498,8 @@ var ServiceSelectorButton = ({
2502
2498
  return matchesSearch && matchesArchivedFilter;
2503
2499
  });
2504
2500
  if (compact) {
2505
- return /* @__PURE__ */ jsxs6(Fragment2, { children: [
2506
- /* @__PURE__ */ jsx18(Box2, { sx: { position: "relative" }, children: /* @__PURE__ */ jsx18(Tooltip, { title: "Select service", placement: "right", children: /* @__PURE__ */ jsx18(
2501
+ return /* @__PURE__ */ jsxs5(Fragment2, { children: [
2502
+ /* @__PURE__ */ jsx17(Box2, { sx: { position: "relative" }, children: /* @__PURE__ */ jsx17(Tooltip, { title: "Select service", placement: "right", children: /* @__PURE__ */ jsx17(
2507
2503
  IconButton2,
2508
2504
  {
2509
2505
  onClick: handleOpenSelector,
@@ -2514,7 +2510,7 @@ var ServiceSelectorButton = ({
2514
2510
  },
2515
2511
  ...sx
2516
2512
  },
2517
- children: /* @__PURE__ */ jsx18(
2513
+ children: /* @__PURE__ */ jsx17(
2518
2514
  Avatar,
2519
2515
  {
2520
2516
  sx: {
@@ -2528,7 +2524,7 @@ var ServiceSelectorButton = ({
2528
2524
  )
2529
2525
  }
2530
2526
  ) }) }),
2531
- /* @__PURE__ */ jsx18(
2527
+ /* @__PURE__ */ jsx17(
2532
2528
  ServiceSelectorPanel,
2533
2529
  {
2534
2530
  open: Boolean(anchorEl),
@@ -2554,10 +2550,10 @@ var ServiceSelectorButton = ({
2554
2550
  )
2555
2551
  ] });
2556
2552
  }
2557
- return /* @__PURE__ */ jsxs6(Fragment2, { children: [
2558
- /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
2559
- selectedService ? /* @__PURE__ */ jsxs6(Fragment2, { children: [
2560
- isManager ? /* @__PURE__ */ jsxs6(
2553
+ return /* @__PURE__ */ jsxs5(Fragment2, { children: [
2554
+ /* @__PURE__ */ jsxs5(Box2, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
2555
+ selectedService ? /* @__PURE__ */ jsxs5(Fragment2, { children: [
2556
+ isManager ? /* @__PURE__ */ jsxs5(
2561
2557
  Link,
2562
2558
  {
2563
2559
  underline: "hover",
@@ -2571,7 +2567,7 @@ var ServiceSelectorButton = ({
2571
2567
  mr: 0.5
2572
2568
  },
2573
2569
  children: [
2574
- /* @__PURE__ */ jsx18(
2570
+ /* @__PURE__ */ jsx17(
2575
2571
  Avatar,
2576
2572
  {
2577
2573
  sx: {
@@ -2587,7 +2583,7 @@ var ServiceSelectorButton = ({
2587
2583
  selectedService.name
2588
2584
  ]
2589
2585
  }
2590
- ) : /* @__PURE__ */ jsxs6(
2586
+ ) : /* @__PURE__ */ jsxs5(
2591
2587
  Box2,
2592
2588
  {
2593
2589
  sx: {
@@ -2598,7 +2594,7 @@ var ServiceSelectorButton = ({
2598
2594
  color: "text.primary"
2599
2595
  },
2600
2596
  children: [
2601
- /* @__PURE__ */ jsx18(
2597
+ /* @__PURE__ */ jsx17(
2602
2598
  Avatar,
2603
2599
  {
2604
2600
  sx: {
@@ -2615,7 +2611,7 @@ var ServiceSelectorButton = ({
2615
2611
  ]
2616
2612
  }
2617
2613
  ),
2618
- selectedService.archived && /* @__PURE__ */ jsx18(
2614
+ selectedService.archived && /* @__PURE__ */ jsx17(
2619
2615
  Chip,
2620
2616
  {
2621
2617
  size: "small",
@@ -2631,7 +2627,7 @@ var ServiceSelectorButton = ({
2631
2627
  }
2632
2628
  }
2633
2629
  )
2634
- ] }) : /* @__PURE__ */ jsx18(
2630
+ ] }) : /* @__PURE__ */ jsx17(
2635
2631
  Typography2,
2636
2632
  {
2637
2633
  variant: "body2",
@@ -2642,7 +2638,7 @@ var ServiceSelectorButton = ({
2642
2638
  children: "Select Service"
2643
2639
  }
2644
2640
  ),
2645
- /* @__PURE__ */ jsx18(
2641
+ /* @__PURE__ */ jsx17(
2646
2642
  IconButton2,
2647
2643
  {
2648
2644
  onClick: handleOpenSelector,
@@ -2652,11 +2648,11 @@ var ServiceSelectorButton = ({
2652
2648
  ml: 0.5,
2653
2649
  color: "text.secondary"
2654
2650
  },
2655
- children: /* @__PURE__ */ jsx18(KeyboardArrowDownIcon, { fontSize: "small" })
2651
+ children: /* @__PURE__ */ jsx17(KeyboardArrowDownIcon, { fontSize: "small" })
2656
2652
  }
2657
2653
  )
2658
2654
  ] }),
2659
- /* @__PURE__ */ jsx18(
2655
+ /* @__PURE__ */ jsx17(
2660
2656
  ServiceSelectorPanel,
2661
2657
  {
2662
2658
  open: Boolean(anchorEl),
@@ -2703,8 +2699,8 @@ var ServiceSelectorPanel = ({
2703
2699
  onOpenSettings,
2704
2700
  onOpenAddMember
2705
2701
  }) => {
2706
- const [internalSearchTerm, setInternalSearchTerm] = useState2("");
2707
- const [internalShowArchived, setInternalShowArchived] = useState2(false);
2702
+ const [internalSearchTerm, setInternalSearchTerm] = useState("");
2703
+ const [internalShowArchived, setInternalShowArchived] = useState(false);
2708
2704
  const searchTerm = externalSearchTerm !== void 0 ? externalSearchTerm : internalSearchTerm;
2709
2705
  const setSearchTerm = externalOnSearchChange || setInternalSearchTerm;
2710
2706
  const showArchived = externalShowArchived !== void 0 ? externalShowArchived : internalShowArchived;
@@ -2725,7 +2721,7 @@ var ServiceSelectorPanel = ({
2725
2721
  }
2726
2722
  }
2727
2723
  };
2728
- return /* @__PURE__ */ jsxs6(
2724
+ return /* @__PURE__ */ jsxs5(
2729
2725
  Menu,
2730
2726
  {
2731
2727
  anchorEl,
@@ -2750,7 +2746,7 @@ var ServiceSelectorPanel = ({
2750
2746
  }
2751
2747
  },
2752
2748
  children: [
2753
- selectedService && /* @__PURE__ */ jsxs6(
2749
+ selectedService && /* @__PURE__ */ jsxs5(
2754
2750
  Box2,
2755
2751
  {
2756
2752
  sx: {
@@ -2762,12 +2758,12 @@ var ServiceSelectorPanel = ({
2762
2758
  borderColor: "divider"
2763
2759
  },
2764
2760
  children: [
2765
- /* @__PURE__ */ jsxs6(Box2, { sx: {
2761
+ /* @__PURE__ */ jsxs5(Box2, { sx: {
2766
2762
  display: "flex",
2767
2763
  alignItems: "center",
2768
2764
  mb: 1.5
2769
2765
  }, children: [
2770
- /* @__PURE__ */ jsx18(
2766
+ /* @__PURE__ */ jsx17(
2771
2767
  Avatar,
2772
2768
  {
2773
2769
  sx: {
@@ -2780,9 +2776,9 @@ var ServiceSelectorPanel = ({
2780
2776
  children: selectedService.name.charAt(0)
2781
2777
  }
2782
2778
  ),
2783
- /* @__PURE__ */ jsx18(Box2, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
2784
- /* @__PURE__ */ jsx18(Typography2, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
2785
- /* @__PURE__ */ jsx18(
2779
+ /* @__PURE__ */ jsx17(Box2, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs5(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
2780
+ /* @__PURE__ */ jsx17(Typography2, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
2781
+ /* @__PURE__ */ jsx17(
2786
2782
  Box2,
2787
2783
  {
2788
2784
  sx: {
@@ -2801,11 +2797,11 @@ var ServiceSelectorPanel = ({
2801
2797
  )
2802
2798
  ] }) })
2803
2799
  ] }),
2804
- (onOpenSettings || onOpenAddMember) && /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", gap: 1 }, children: [
2805
- onOpenAddMember && /* @__PURE__ */ jsx18(
2800
+ (onOpenSettings || onOpenAddMember) && /* @__PURE__ */ jsxs5(Box2, { sx: { display: "flex", gap: 1 }, children: [
2801
+ onOpenAddMember && /* @__PURE__ */ jsx17(
2806
2802
  Button3,
2807
2803
  {
2808
- startIcon: /* @__PURE__ */ jsx18(PersonAddAltIcon, {}),
2804
+ startIcon: /* @__PURE__ */ jsx17(PersonAddAltIcon, {}),
2809
2805
  variant: "outlined",
2810
2806
  size: "small",
2811
2807
  onClick: (e) => {
@@ -2835,10 +2831,10 @@ var ServiceSelectorPanel = ({
2835
2831
  children: "Add member"
2836
2832
  }
2837
2833
  ),
2838
- onOpenSettings && /* @__PURE__ */ jsx18(
2834
+ onOpenSettings && /* @__PURE__ */ jsx17(
2839
2835
  Button3,
2840
2836
  {
2841
- startIcon: /* @__PURE__ */ jsx18(SettingsIcon, {}),
2837
+ startIcon: /* @__PURE__ */ jsx17(SettingsIcon, {}),
2842
2838
  variant: "outlined",
2843
2839
  size: "small",
2844
2840
  onClick: (e) => {
@@ -2872,9 +2868,9 @@ var ServiceSelectorPanel = ({
2872
2868
  ]
2873
2869
  }
2874
2870
  ),
2875
- /* @__PURE__ */ jsxs6(Box2, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
2876
- /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
2877
- /* @__PURE__ */ jsx18(
2871
+ /* @__PURE__ */ jsxs5(Box2, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
2872
+ /* @__PURE__ */ jsxs5(Box2, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
2873
+ /* @__PURE__ */ jsx17(
2878
2874
  TextField2,
2879
2875
  {
2880
2876
  size: "small",
@@ -2883,7 +2879,7 @@ var ServiceSelectorPanel = ({
2883
2879
  onChange: (e) => setSearchTerm(e.target.value),
2884
2880
  sx: { flex: 1 },
2885
2881
  InputProps: {
2886
- startAdornment: /* @__PURE__ */ jsx18(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx18(SearchIcon2, { fontSize: "small", color: "action" }) }),
2882
+ startAdornment: /* @__PURE__ */ jsx17(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx17(SearchIcon2, { fontSize: "small", color: "action" }) }),
2887
2883
  sx: {
2888
2884
  borderRadius: 1.5,
2889
2885
  backgroundColor: "rgba(0, 0, 0, 0.04)",
@@ -2893,18 +2889,18 @@ var ServiceSelectorPanel = ({
2893
2889
  }
2894
2890
  }
2895
2891
  ),
2896
- /* @__PURE__ */ jsx18(Tooltip, { title: showArchived ? "Show active" : "Show archived", children: /* @__PURE__ */ jsx18(
2892
+ /* @__PURE__ */ jsx17(Tooltip, { title: showArchived ? "Show active" : "Show archived", children: /* @__PURE__ */ jsx17(
2897
2893
  IconButton2,
2898
2894
  {
2899
2895
  size: "small",
2900
2896
  onClick: toggleArchived,
2901
2897
  color: showArchived ? "primary" : "default",
2902
2898
  sx: { ml: 1 },
2903
- children: showArchived ? /* @__PURE__ */ jsx18(UnarchiveIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx18(ArchiveIcon, { fontSize: "small" })
2899
+ children: showArchived ? /* @__PURE__ */ jsx17(UnarchiveIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx17(ArchiveIcon, { fontSize: "small" })
2904
2900
  }
2905
2901
  ) })
2906
2902
  ] }),
2907
- /* @__PURE__ */ jsx18(
2903
+ /* @__PURE__ */ jsx17(
2908
2904
  Box2,
2909
2905
  {
2910
2906
  sx: {
@@ -2912,8 +2908,8 @@ var ServiceSelectorPanel = ({
2912
2908
  overflow: "auto",
2913
2909
  py: 1
2914
2910
  },
2915
- children: loading ? /* @__PURE__ */ jsx18(Box2, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx18(Typography2, { variant: "body2", color: "text.secondary", children: "Loading services..." }) }) : filteredServices.length === 0 ? /* @__PURE__ */ jsx18(Box2, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx18(Typography2, { variant: "body2", color: "text.secondary", children: searchTerm ? `No ${showArchived ? "archived " : ""}services matching "${searchTerm}"` : showArchived ? "No archived services found" : "No active services found" }) }) : /* @__PURE__ */ jsxs6(Fragment2, { children: [
2916
- /* @__PURE__ */ jsxs6(
2911
+ children: loading ? /* @__PURE__ */ jsx17(Box2, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx17(Typography2, { variant: "body2", color: "text.secondary", children: "Loading services..." }) }) : filteredServices.length === 0 ? /* @__PURE__ */ jsx17(Box2, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx17(Typography2, { variant: "body2", color: "text.secondary", children: searchTerm ? `No ${showArchived ? "archived " : ""}services matching "${searchTerm}"` : showArchived ? "No archived services found" : "No active services found" }) }) : /* @__PURE__ */ jsxs5(Fragment2, { children: [
2912
+ /* @__PURE__ */ jsxs5(
2917
2913
  Typography2,
2918
2914
  {
2919
2915
  variant: "caption",
@@ -2929,7 +2925,7 @@ var ServiceSelectorPanel = ({
2929
2925
  },
2930
2926
  children: [
2931
2927
  "Services",
2932
- showArchived && /* @__PURE__ */ jsx18(
2928
+ showArchived && /* @__PURE__ */ jsx17(
2933
2929
  Chip,
2934
2930
  {
2935
2931
  size: "small",
@@ -2948,7 +2944,7 @@ var ServiceSelectorPanel = ({
2948
2944
  ]
2949
2945
  }
2950
2946
  ),
2951
- /* @__PURE__ */ jsx18(List2, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ jsxs6(
2947
+ /* @__PURE__ */ jsx17(List2, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ jsxs5(
2952
2948
  ListItem,
2953
2949
  {
2954
2950
  sx: {
@@ -2962,7 +2958,7 @@ var ServiceSelectorPanel = ({
2962
2958
  position: "relative"
2963
2959
  },
2964
2960
  onClick: () => onSelectService(service.id),
2965
- secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ jsx18(
2961
+ secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ jsx17(
2966
2962
  CheckIcon,
2967
2963
  {
2968
2964
  sx: {
@@ -2972,7 +2968,7 @@ var ServiceSelectorPanel = ({
2972
2968
  }
2973
2969
  ) : null,
2974
2970
  children: [
2975
- /* @__PURE__ */ jsx18(ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ jsx18(
2971
+ /* @__PURE__ */ jsx17(ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ jsx17(
2976
2972
  Avatar,
2977
2973
  {
2978
2974
  sx: {
@@ -2985,10 +2981,10 @@ var ServiceSelectorPanel = ({
2985
2981
  children: service.name.charAt(0)
2986
2982
  }
2987
2983
  ) }),
2988
- /* @__PURE__ */ jsx18(
2984
+ /* @__PURE__ */ jsx17(
2989
2985
  ListItemText2,
2990
2986
  {
2991
- primary: /* @__PURE__ */ jsx18(Box2, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: /* @__PURE__ */ jsx18(
2987
+ primary: /* @__PURE__ */ jsx17(Box2, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: /* @__PURE__ */ jsx17(
2992
2988
  Typography2,
2993
2989
  {
2994
2990
  variant: "body2",
@@ -3010,7 +3006,7 @@ var ServiceSelectorPanel = ({
3010
3006
  ] })
3011
3007
  }
3012
3008
  ),
3013
- /* @__PURE__ */ jsx18(
3009
+ /* @__PURE__ */ jsx17(
3014
3010
  Box2,
3015
3011
  {
3016
3012
  sx: {
@@ -3020,12 +3016,12 @@ var ServiceSelectorPanel = ({
3020
3016
  borderTop: 1,
3021
3017
  borderColor: "divider"
3022
3018
  },
3023
- children: /* @__PURE__ */ jsx18(
3019
+ children: /* @__PURE__ */ jsx17(
3024
3020
  Button3,
3025
3021
  {
3026
3022
  fullWidth: true,
3027
3023
  variant: "text",
3028
- startIcon: /* @__PURE__ */ jsx18(AddIcon, {}),
3024
+ startIcon: /* @__PURE__ */ jsx17(AddIcon, {}),
3029
3025
  onClick: handleCreateClick,
3030
3026
  sx: {
3031
3027
  textTransform: "none",
@@ -3050,7 +3046,7 @@ var ServiceSelectorPanel = ({
3050
3046
  };
3051
3047
 
3052
3048
  // src/components/navigation/WorkspaceSelector.tsx
3053
- import React2, { useState as useState3, useCallback as useCallback4 } from "react";
3049
+ import React2, { useState as useState2, useCallback as useCallback3 } from "react";
3054
3050
  import {
3055
3051
  Box as Box3,
3056
3052
  Typography as Typography3,
@@ -3070,7 +3066,7 @@ import KeyboardArrowDownIcon2 from "@mui/icons-material/KeyboardArrowDown";
3070
3066
  import SearchIcon3 from "@mui/icons-material/Search";
3071
3067
  import AddIcon2 from "@mui/icons-material/Add";
3072
3068
  import CheckIcon2 from "@mui/icons-material/Check";
3073
- import { Fragment as Fragment3, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
3069
+ import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
3074
3070
  var WorkspaceSelectorButton = ({
3075
3071
  workspaces,
3076
3072
  selectedWorkspaceId,
@@ -3081,7 +3077,7 @@ var WorkspaceSelectorButton = ({
3081
3077
  sx = {},
3082
3078
  panelWidth = 350
3083
3079
  }) => {
3084
- const [anchorEl, setAnchorEl] = useState3(null);
3080
+ const [anchorEl, setAnchorEl] = useState2(null);
3085
3081
  const handleOpenSelector = (event) => {
3086
3082
  event.stopPropagation();
3087
3083
  setAnchorEl(event.currentTarget);
@@ -3089,7 +3085,7 @@ var WorkspaceSelectorButton = ({
3089
3085
  const handleClose = () => {
3090
3086
  setAnchorEl(null);
3091
3087
  };
3092
- const handleSelectWorkspace = useCallback4(
3088
+ const handleSelectWorkspace = useCallback3(
3093
3089
  (workspaceId) => {
3094
3090
  handleClose();
3095
3091
  if (onSelectWorkspace) {
@@ -3102,9 +3098,9 @@ var WorkspaceSelectorButton = ({
3102
3098
  if (!workspaces || workspaces.length === 0) {
3103
3099
  return null;
3104
3100
  }
3105
- return /* @__PURE__ */ jsxs7(Fragment3, { children: [
3106
- /* @__PURE__ */ jsxs7(Box3, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
3107
- selectedWorkspace ? /* @__PURE__ */ jsx19(Fragment3, { children: /* @__PURE__ */ jsxs7(
3101
+ return /* @__PURE__ */ jsxs6(Fragment3, { children: [
3102
+ /* @__PURE__ */ jsxs6(Box3, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
3103
+ selectedWorkspace ? /* @__PURE__ */ jsx18(Fragment3, { children: /* @__PURE__ */ jsxs6(
3108
3104
  Link2,
3109
3105
  {
3110
3106
  underline: "hover",
@@ -3123,7 +3119,7 @@ var WorkspaceSelectorButton = ({
3123
3119
  mr: 0.5
3124
3120
  },
3125
3121
  children: [
3126
- /* @__PURE__ */ jsx19(
3122
+ /* @__PURE__ */ jsx18(
3127
3123
  Avatar2,
3128
3124
  {
3129
3125
  sx: {
@@ -3139,7 +3135,7 @@ var WorkspaceSelectorButton = ({
3139
3135
  selectedWorkspace.name
3140
3136
  ]
3141
3137
  }
3142
- ) }) : /* @__PURE__ */ jsx19(
3138
+ ) }) : /* @__PURE__ */ jsx18(
3143
3139
  Typography3,
3144
3140
  {
3145
3141
  variant: "body2",
@@ -3150,7 +3146,7 @@ var WorkspaceSelectorButton = ({
3150
3146
  children: "Select Workspace"
3151
3147
  }
3152
3148
  ),
3153
- /* @__PURE__ */ jsx19(
3149
+ /* @__PURE__ */ jsx18(
3154
3150
  IconButton3,
3155
3151
  {
3156
3152
  onClick: handleOpenSelector,
@@ -3160,11 +3156,11 @@ var WorkspaceSelectorButton = ({
3160
3156
  ml: 0.5,
3161
3157
  color: "text.secondary"
3162
3158
  },
3163
- children: /* @__PURE__ */ jsx19(KeyboardArrowDownIcon2, { fontSize: "small" })
3159
+ children: /* @__PURE__ */ jsx18(KeyboardArrowDownIcon2, { fontSize: "small" })
3164
3160
  }
3165
3161
  )
3166
3162
  ] }),
3167
- /* @__PURE__ */ jsx19(
3163
+ /* @__PURE__ */ jsx18(
3168
3164
  WorkspaceSelectorPanel,
3169
3165
  {
3170
3166
  open: Boolean(anchorEl),
@@ -3191,7 +3187,7 @@ var WorkspaceSelectorPanel = ({
3191
3187
  loading = false,
3192
3188
  width = 350
3193
3189
  }) => {
3194
- const [searchTerm, setSearchTerm] = useState3("");
3190
+ const [searchTerm, setSearchTerm] = useState2("");
3195
3191
  React2.useEffect(() => {
3196
3192
  if (open) {
3197
3193
  setSearchTerm("");
@@ -3210,7 +3206,7 @@ var WorkspaceSelectorPanel = ({
3210
3206
  onSelectWorkspace(workspaceId);
3211
3207
  onClose();
3212
3208
  };
3213
- return /* @__PURE__ */ jsx19(
3209
+ return /* @__PURE__ */ jsx18(
3214
3210
  Menu2,
3215
3211
  {
3216
3212
  open,
@@ -3226,8 +3222,8 @@ var WorkspaceSelectorPanel = ({
3226
3222
  borderRadius: 2
3227
3223
  }
3228
3224
  },
3229
- children: /* @__PURE__ */ jsxs7(Box3, { children: [
3230
- /* @__PURE__ */ jsx19(Box3, { sx: { px: 2, pt: 2, pb: 1.5 }, children: /* @__PURE__ */ jsx19(
3225
+ children: /* @__PURE__ */ jsxs6(Box3, { children: [
3226
+ /* @__PURE__ */ jsx18(Box3, { sx: { px: 2, pt: 2, pb: 1.5 }, children: /* @__PURE__ */ jsx18(
3231
3227
  TextField3,
3232
3228
  {
3233
3229
  fullWidth: true,
@@ -3236,11 +3232,11 @@ var WorkspaceSelectorPanel = ({
3236
3232
  value: searchTerm,
3237
3233
  onChange: (e) => setSearchTerm(e.target.value),
3238
3234
  InputProps: {
3239
- startAdornment: /* @__PURE__ */ jsx19(InputAdornment4, { position: "start", children: /* @__PURE__ */ jsx19(SearchIcon3, { fontSize: "small" }) })
3235
+ startAdornment: /* @__PURE__ */ jsx18(InputAdornment4, { position: "start", children: /* @__PURE__ */ jsx18(SearchIcon3, { fontSize: "small" }) })
3240
3236
  }
3241
3237
  }
3242
3238
  ) }),
3243
- /* @__PURE__ */ jsx19(Box3, { sx: { maxHeight: 400, overflowY: "auto" }, children: loading ? /* @__PURE__ */ jsx19(Box3, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx19(Typography3, { variant: "body2", color: "text.secondary", children: "Loading..." }) }) : filteredWorkspaces.length === 0 ? /* @__PURE__ */ jsx19(Box3, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx19(Typography3, { variant: "body2", color: "text.secondary", children: "No workspaces found" }) }) : /* @__PURE__ */ jsx19(List3, { dense: true, children: filteredWorkspaces.map((workspace) => /* @__PURE__ */ jsxs7(
3239
+ /* @__PURE__ */ jsx18(Box3, { sx: { maxHeight: 400, overflowY: "auto" }, children: loading ? /* @__PURE__ */ jsx18(Box3, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx18(Typography3, { variant: "body2", color: "text.secondary", children: "Loading..." }) }) : filteredWorkspaces.length === 0 ? /* @__PURE__ */ jsx18(Box3, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx18(Typography3, { variant: "body2", color: "text.secondary", children: "No workspaces found" }) }) : /* @__PURE__ */ jsx18(List3, { dense: true, children: filteredWorkspaces.map((workspace) => /* @__PURE__ */ jsxs6(
3244
3240
  ListItem2,
3245
3241
  {
3246
3242
  onClick: () => handleSelect(workspace.id),
@@ -3253,19 +3249,19 @@ var WorkspaceSelectorPanel = ({
3253
3249
  }
3254
3250
  },
3255
3251
  children: [
3256
- /* @__PURE__ */ jsx19(ListItemAvatar2, { children: /* @__PURE__ */ jsx19(
3252
+ /* @__PURE__ */ jsx18(ListItemAvatar2, { children: /* @__PURE__ */ jsx18(
3257
3253
  Avatar2,
3258
3254
  {
3259
3255
  sx: { width: 32, height: 32, bgcolor: "secondary.main" },
3260
3256
  children: workspace.name.charAt(0)
3261
3257
  }
3262
3258
  ) }),
3263
- /* @__PURE__ */ jsx19(
3259
+ /* @__PURE__ */ jsx18(
3264
3260
  ListItemText3,
3265
3261
  {
3266
- primary: /* @__PURE__ */ jsxs7(Box3, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3267
- /* @__PURE__ */ jsx19(Typography3, { variant: "body2", fontWeight: 500, children: workspace.name }),
3268
- workspace.id === selectedWorkspaceId && /* @__PURE__ */ jsx19(CheckIcon2, { fontSize: "small", color: "primary" })
3262
+ primary: /* @__PURE__ */ jsxs6(Box3, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3263
+ /* @__PURE__ */ jsx18(Typography3, { variant: "body2", fontWeight: 500, children: workspace.name }),
3264
+ workspace.id === selectedWorkspaceId && /* @__PURE__ */ jsx18(CheckIcon2, { fontSize: "small", color: "primary" })
3269
3265
  ] }),
3270
3266
  secondary: workspace.description
3271
3267
  }
@@ -3274,7 +3270,7 @@ var WorkspaceSelectorPanel = ({
3274
3270
  },
3275
3271
  workspace.id
3276
3272
  )) }) }),
3277
- /* @__PURE__ */ jsx19(
3273
+ /* @__PURE__ */ jsx18(
3278
3274
  Box3,
3279
3275
  {
3280
3276
  sx: {
@@ -3284,12 +3280,12 @@ var WorkspaceSelectorPanel = ({
3284
3280
  borderTop: 1,
3285
3281
  borderColor: "divider"
3286
3282
  },
3287
- children: /* @__PURE__ */ jsx19(
3283
+ children: /* @__PURE__ */ jsx18(
3288
3284
  Button4,
3289
3285
  {
3290
3286
  fullWidth: true,
3291
3287
  variant: "text",
3292
- startIcon: /* @__PURE__ */ jsx19(AddIcon2, {}),
3288
+ startIcon: /* @__PURE__ */ jsx18(AddIcon2, {}),
3293
3289
  onClick: handleCreateClick,
3294
3290
  sx: {
3295
3291
  textTransform: "none",
@@ -3320,25 +3316,25 @@ import {
3320
3316
  StepContent as MuiStepContent,
3321
3317
  StepButton as MuiStepButton
3322
3318
  } from "@mui/material";
3323
- import { jsx as jsx20 } from "react/jsx-runtime";
3319
+ import { jsx as jsx19 } from "react/jsx-runtime";
3324
3320
  var Stepper = (props) => {
3325
- return /* @__PURE__ */ jsx20(MuiStepper, { ...props });
3321
+ return /* @__PURE__ */ jsx19(MuiStepper, { ...props });
3326
3322
  };
3327
3323
  var Step = (props) => {
3328
- return /* @__PURE__ */ jsx20(MuiStep, { ...props });
3324
+ return /* @__PURE__ */ jsx19(MuiStep, { ...props });
3329
3325
  };
3330
3326
  var StepLabel = (props) => {
3331
- return /* @__PURE__ */ jsx20(MuiStepLabel, { ...props });
3327
+ return /* @__PURE__ */ jsx19(MuiStepLabel, { ...props });
3332
3328
  };
3333
3329
  var StepContent = (props) => {
3334
- return /* @__PURE__ */ jsx20(MuiStepContent, { ...props });
3330
+ return /* @__PURE__ */ jsx19(MuiStepContent, { ...props });
3335
3331
  };
3336
3332
  var StepButton = (props) => {
3337
- return /* @__PURE__ */ jsx20(MuiStepButton, { ...props });
3333
+ return /* @__PURE__ */ jsx19(MuiStepButton, { ...props });
3338
3334
  };
3339
3335
 
3340
3336
  // src/components/navigation/SideNav/SideNav.tsx
3341
- import React3, { useState as useState4, useCallback as useCallback5 } from "react";
3337
+ import React3, { useState as useState3, useCallback as useCallback4 } from "react";
3342
3338
  import { Box as Box4 } from "@mui/material";
3343
3339
  import { styled as styled11 } from "@mui/material/styles";
3344
3340
 
@@ -3360,7 +3356,7 @@ var scrollbarStyles = {
3360
3356
  };
3361
3357
 
3362
3358
  // src/components/navigation/SideNav/SideNav.tsx
3363
- import { jsx as jsx21 } from "react/jsx-runtime";
3359
+ import { jsx as jsx20 } from "react/jsx-runtime";
3364
3360
  var SideNavContext = React3.createContext({
3365
3361
  collapsed: false,
3366
3362
  showTooltips: true
@@ -3410,7 +3406,7 @@ var Header = React3.memo(({ children, className }) => {
3410
3406
  }
3411
3407
  return child;
3412
3408
  });
3413
- return /* @__PURE__ */ jsx21(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
3409
+ return /* @__PURE__ */ jsx20(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
3414
3410
  });
3415
3411
  Header.displayName = "SideNav.Header";
3416
3412
  var Navigation = React3.memo(({ children, className }) => {
@@ -3424,7 +3420,7 @@ var Navigation = React3.memo(({ children, className }) => {
3424
3420
  }
3425
3421
  return child;
3426
3422
  });
3427
- return /* @__PURE__ */ jsx21(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
3423
+ return /* @__PURE__ */ jsx20(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
3428
3424
  });
3429
3425
  Navigation.displayName = "SideNav.Navigation";
3430
3426
  var Footer = React3.memo(({ children, className }) => {
@@ -3437,7 +3433,7 @@ var Footer = React3.memo(({ children, className }) => {
3437
3433
  }
3438
3434
  return child;
3439
3435
  });
3440
- return /* @__PURE__ */ jsx21(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
3436
+ return /* @__PURE__ */ jsx20(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
3441
3437
  });
3442
3438
  Footer.displayName = "SideNav.Footer";
3443
3439
  var SideNav = Object.assign(
@@ -3456,10 +3452,10 @@ var SideNav = Object.assign(
3456
3452
  className,
3457
3453
  ariaLabel = "Main navigation"
3458
3454
  }) => {
3459
- const [internalCollapsed, setInternalCollapsed] = useState4(defaultCollapsed);
3455
+ const [internalCollapsed, setInternalCollapsed] = useState3(defaultCollapsed);
3460
3456
  const isControlled = controlledCollapsed !== void 0;
3461
3457
  const collapsed = isControlled ? controlledCollapsed : internalCollapsed;
3462
- const handleToggleCollapse = useCallback5(() => {
3458
+ const handleToggleCollapse = useCallback4(() => {
3463
3459
  const newCollapsed = !collapsed;
3464
3460
  if (!isControlled) {
3465
3461
  setInternalCollapsed(newCollapsed);
@@ -3473,7 +3469,7 @@ var SideNav = Object.assign(
3473
3469
  showTooltips,
3474
3470
  onToggleCollapse: handleToggleCollapse
3475
3471
  };
3476
- return /* @__PURE__ */ jsx21(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx21(
3472
+ return /* @__PURE__ */ jsx20(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx20(
3477
3473
  SideNavContainer,
3478
3474
  {
3479
3475
  role: "navigation",
@@ -3504,7 +3500,7 @@ import { Box as Box5, Typography as Typography4, IconButton as IconButton4, Tool
3504
3500
  import { styled as styled12 } from "@mui/material/styles";
3505
3501
  import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
3506
3502
  import ChevronRightIcon from "@mui/icons-material/ChevronRight";
3507
- import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
3503
+ import { Fragment as Fragment4, jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
3508
3504
  var HeaderContainer = styled12(Box5, {
3509
3505
  shouldForwardProp: (prop) => prop !== "isCollapsed"
3510
3506
  })(({ theme: theme2, isCollapsed }) => ({
@@ -3545,8 +3541,8 @@ var SideNavHeader = React4.memo(({
3545
3541
  collapsed = false
3546
3542
  }) => {
3547
3543
  const headerAriaLabel = ariaLabel || `${title} navigation header`;
3548
- const brandingContent = /* @__PURE__ */ jsxs8(Fragment4, { children: [
3549
- logo && /* @__PURE__ */ jsx22(
3544
+ const brandingContent = /* @__PURE__ */ jsxs7(Fragment4, { children: [
3545
+ logo && /* @__PURE__ */ jsx21(
3550
3546
  Box5,
3551
3547
  {
3552
3548
  sx: {
@@ -3558,7 +3554,7 @@ var SideNavHeader = React4.memo(({
3558
3554
  children: logo
3559
3555
  }
3560
3556
  ),
3561
- !collapsed && /* @__PURE__ */ jsx22(
3557
+ !collapsed && /* @__PURE__ */ jsx21(
3562
3558
  Typography4,
3563
3559
  {
3564
3560
  variant: "subtitle1",
@@ -3573,14 +3569,14 @@ var SideNavHeader = React4.memo(({
3573
3569
  }
3574
3570
  )
3575
3571
  ] });
3576
- return /* @__PURE__ */ jsxs8(
3572
+ return /* @__PURE__ */ jsxs7(
3577
3573
  HeaderContainer,
3578
3574
  {
3579
3575
  "data-testid": "sidenav-header-content",
3580
3576
  "aria-label": headerAriaLabel,
3581
3577
  isCollapsed: collapsed,
3582
3578
  children: [
3583
- onLogoClick ? /* @__PURE__ */ jsx22(
3579
+ onLogoClick ? /* @__PURE__ */ jsx21(
3584
3580
  BrandingButton,
3585
3581
  {
3586
3582
  onClick: onLogoClick,
@@ -3588,7 +3584,7 @@ var SideNavHeader = React4.memo(({
3588
3584
  "data-testid": "sidenav-home-link",
3589
3585
  children: brandingContent
3590
3586
  }
3591
- ) : /* @__PURE__ */ jsx22(
3587
+ ) : /* @__PURE__ */ jsx21(
3592
3588
  Box5,
3593
3589
  {
3594
3590
  sx: {
@@ -3600,13 +3596,13 @@ var SideNavHeader = React4.memo(({
3600
3596
  children: brandingContent
3601
3597
  }
3602
3598
  ),
3603
- showCollapseButton && /* @__PURE__ */ jsx22(
3599
+ showCollapseButton && /* @__PURE__ */ jsx21(
3604
3600
  Tooltip2,
3605
3601
  {
3606
3602
  title: collapsed ? "Expand navigation" : "Collapse navigation",
3607
3603
  placement: "right",
3608
3604
  arrow: true,
3609
- children: /* @__PURE__ */ jsx22(
3605
+ children: /* @__PURE__ */ jsx21(
3610
3606
  IconButton4,
3611
3607
  {
3612
3608
  onClick: onCollapse,
@@ -3622,7 +3618,7 @@ var SideNavHeader = React4.memo(({
3622
3618
  color: "text.primary"
3623
3619
  }
3624
3620
  },
3625
- children: collapsed ? /* @__PURE__ */ jsx22(ChevronRightIcon, {}) : /* @__PURE__ */ jsx22(ChevronLeftIcon, {})
3621
+ children: collapsed ? /* @__PURE__ */ jsx21(ChevronRightIcon, {}) : /* @__PURE__ */ jsx21(ChevronLeftIcon, {})
3626
3622
  }
3627
3623
  )
3628
3624
  }
@@ -3634,7 +3630,7 @@ var SideNavHeader = React4.memo(({
3634
3630
  SideNavHeader.displayName = "SideNavHeader";
3635
3631
 
3636
3632
  // src/components/navigation/SideNav/NavigationList.tsx
3637
- import React6, { useState as useState5 } from "react";
3633
+ import React6, { useState as useState4 } from "react";
3638
3634
  import { List as List4, ListItem as ListItem3 } from "@mui/material";
3639
3635
 
3640
3636
  // src/components/navigation/SideNav/NavigationItem.tsx
@@ -3647,7 +3643,7 @@ import {
3647
3643
  Tooltip as Tooltip3
3648
3644
  } from "@mui/material";
3649
3645
  import { styled as styled13 } from "@mui/material/styles";
3650
- import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
3646
+ import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
3651
3647
  var StyledListItemButton2 = styled13(ListItemButton2, {
3652
3648
  shouldForwardProp: (prop) => !["selected", "size", "iconPosition", "isCollapsed"].includes(prop)
3653
3649
  })(({ theme: theme2, selected, size: size3, isCollapsed }) => {
@@ -3731,7 +3727,7 @@ var NavigationItem = React5.memo(({
3731
3727
  onClick(id);
3732
3728
  }
3733
3729
  };
3734
- const iconElement = icon && /* @__PURE__ */ jsx23(
3730
+ const iconElement = icon && /* @__PURE__ */ jsx22(
3735
3731
  ListItemIcon2,
3736
3732
  {
3737
3733
  sx: {
@@ -3745,7 +3741,7 @@ var NavigationItem = React5.memo(({
3745
3741
  children: icon
3746
3742
  }
3747
3743
  );
3748
- const labelElement = /* @__PURE__ */ jsx23(
3744
+ const labelElement = /* @__PURE__ */ jsx22(
3749
3745
  ListItemText4,
3750
3746
  {
3751
3747
  primary: label,
@@ -3764,7 +3760,7 @@ var NavigationItem = React5.memo(({
3764
3760
  }
3765
3761
  }
3766
3762
  );
3767
- const buttonContent = /* @__PURE__ */ jsxs9(
3763
+ const buttonContent = /* @__PURE__ */ jsxs8(
3768
3764
  StyledListItemButton2,
3769
3765
  {
3770
3766
  selected,
@@ -3781,7 +3777,7 @@ var NavigationItem = React5.memo(({
3781
3777
  icon && iconPosition === "left" && iconElement,
3782
3778
  labelElement,
3783
3779
  icon && iconPosition === "right" && iconElement,
3784
- endContent && !collapsed && /* @__PURE__ */ jsx23(
3780
+ endContent && !collapsed && /* @__PURE__ */ jsx22(
3785
3781
  Box6,
3786
3782
  {
3787
3783
  sx: {
@@ -3796,7 +3792,7 @@ var NavigationItem = React5.memo(({
3796
3792
  }
3797
3793
  );
3798
3794
  if (collapsed && showTooltip) {
3799
- return /* @__PURE__ */ jsx23(
3795
+ return /* @__PURE__ */ jsx22(
3800
3796
  Tooltip3,
3801
3797
  {
3802
3798
  title: label,
@@ -3813,7 +3809,7 @@ var NavigationItem = React5.memo(({
3813
3809
  NavigationItem.displayName = "NavigationItem";
3814
3810
 
3815
3811
  // src/components/navigation/SideNav/NavigationList.tsx
3816
- import { jsx as jsx24 } from "react/jsx-runtime";
3812
+ import { jsx as jsx23 } from "react/jsx-runtime";
3817
3813
  var NavigationList = React6.memo(({
3818
3814
  items,
3819
3815
  selectedId,
@@ -3823,7 +3819,7 @@ var NavigationList = React6.memo(({
3823
3819
  collapsed = false,
3824
3820
  showTooltips = true
3825
3821
  }) => {
3826
- const [internalSelectedId, setInternalSelectedId] = useState5(
3822
+ const [internalSelectedId, setInternalSelectedId] = useState4(
3827
3823
  selectedId
3828
3824
  );
3829
3825
  const isControlled = selectedId !== void 0;
@@ -3836,7 +3832,7 @@ var NavigationList = React6.memo(({
3836
3832
  onSelectionChange(id);
3837
3833
  }
3838
3834
  };
3839
- return /* @__PURE__ */ jsx24(
3835
+ return /* @__PURE__ */ jsx23(
3840
3836
  List4,
3841
3837
  {
3842
3838
  role: "list",
@@ -3850,7 +3846,7 @@ var NavigationList = React6.memo(({
3850
3846
  },
3851
3847
  children: items.map((item, index) => {
3852
3848
  const isSelected = currentSelectedId === item.id;
3853
- return /* @__PURE__ */ jsx24(
3849
+ return /* @__PURE__ */ jsx23(
3854
3850
  ListItem3,
3855
3851
  {
3856
3852
  role: "listitem",
@@ -3858,7 +3854,7 @@ var NavigationList = React6.memo(({
3858
3854
  padding: 0,
3859
3855
  display: "block"
3860
3856
  },
3861
- children: /* @__PURE__ */ jsx24(
3857
+ children: /* @__PURE__ */ jsx23(
3862
3858
  NavigationItem,
3863
3859
  {
3864
3860
  ...item,
@@ -3890,7 +3886,7 @@ import React7 from "react";
3890
3886
  import { Box as Box7, Typography as Typography5, Tooltip as Tooltip4 } from "@mui/material";
3891
3887
  import { styled as styled14 } from "@mui/material/styles";
3892
3888
  import PowerIcon from "@mui/icons-material/Power";
3893
- import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
3889
+ import { jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
3894
3890
  var StatusPill = styled14(Box7, {
3895
3891
  shouldForwardProp: (prop) => !["variant", "interactive"].includes(prop)
3896
3892
  })(({ theme: theme2, variant = "info", interactive }) => {
@@ -3965,7 +3961,7 @@ var ConnectionStatus = React7.memo(({
3965
3961
  onClick();
3966
3962
  }
3967
3963
  };
3968
- const statusContent = /* @__PURE__ */ jsxs10(
3964
+ const statusContent = /* @__PURE__ */ jsxs9(
3969
3965
  StatusPill,
3970
3966
  {
3971
3967
  role: "status",
@@ -3976,7 +3972,7 @@ var ConnectionStatus = React7.memo(({
3976
3972
  interactive,
3977
3973
  onClick: handleClick,
3978
3974
  children: [
3979
- /* @__PURE__ */ jsx25(
3975
+ /* @__PURE__ */ jsx24(
3980
3976
  Box7,
3981
3977
  {
3982
3978
  sx: {
@@ -3985,15 +3981,15 @@ var ConnectionStatus = React7.memo(({
3985
3981
  fontSize: 16,
3986
3982
  color: "inherit"
3987
3983
  },
3988
- children: icon || /* @__PURE__ */ jsx25(PowerIcon, { fontSize: "small" })
3984
+ children: icon || /* @__PURE__ */ jsx24(PowerIcon, { fontSize: "small" })
3989
3985
  }
3990
3986
  ),
3991
- /* @__PURE__ */ jsx25(Typography5, { className: "status-text", variant: "body2", children: compact ? compactText ?? status : status })
3987
+ /* @__PURE__ */ jsx24(Typography5, { className: "status-text", variant: "body2", children: compact ? compactText ?? status : status })
3992
3988
  ]
3993
3989
  }
3994
3990
  );
3995
3991
  if (compact) {
3996
- return /* @__PURE__ */ jsx25(
3992
+ return /* @__PURE__ */ jsx24(
3997
3993
  Box7,
3998
3994
  {
3999
3995
  sx: {
@@ -4001,11 +3997,11 @@ var ConnectionStatus = React7.memo(({
4001
3997
  justifyContent: "center",
4002
3998
  padding: 1
4003
3999
  },
4004
- children: /* @__PURE__ */ jsx25(Tooltip4, { title: status, placement: "right", arrow: true, children: statusContent })
4000
+ children: /* @__PURE__ */ jsx24(Tooltip4, { title: status, placement: "right", arrow: true, children: statusContent })
4005
4001
  }
4006
4002
  );
4007
4003
  }
4008
- return /* @__PURE__ */ jsx25(
4004
+ return /* @__PURE__ */ jsx24(
4009
4005
  Box7,
4010
4006
  {
4011
4007
  sx: {
@@ -4024,7 +4020,7 @@ import React8 from "react";
4024
4020
  import { Box as Box8, Avatar as Avatar3, Typography as Typography6, Button as Button5, IconButton as IconButton5, Tooltip as Tooltip5 } from "@mui/material";
4025
4021
  import { styled as styled15 } from "@mui/material/styles";
4026
4022
  import LogoutIcon from "@mui/icons-material/Logout";
4027
- import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
4023
+ import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
4028
4024
  var AccountContainer = styled15(Box8, {
4029
4025
  shouldForwardProp: (prop) => !["layout", "isCompact"].includes(prop)
4030
4026
  })(({ theme: theme2, layout = "horizontal", isCompact }) => ({
@@ -4066,14 +4062,14 @@ var AccountSection = React8.memo(({
4066
4062
  const initials = user.initials || deriveInitials(user.name);
4067
4063
  const avatarSrc = user.avatarUrl;
4068
4064
  if (compact) {
4069
- return /* @__PURE__ */ jsxs11(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
4070
- /* @__PURE__ */ jsx26(
4065
+ return /* @__PURE__ */ jsxs10(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
4066
+ /* @__PURE__ */ jsx25(
4071
4067
  Tooltip5,
4072
4068
  {
4073
4069
  title: `${user.name}${user.email ? ` (${user.email})` : ""}`,
4074
4070
  placement: "right",
4075
4071
  arrow: true,
4076
- children: /* @__PURE__ */ jsx26(
4072
+ children: /* @__PURE__ */ jsx25(
4077
4073
  Avatar3,
4078
4074
  {
4079
4075
  src: avatarSrc,
@@ -4092,7 +4088,7 @@ var AccountSection = React8.memo(({
4092
4088
  )
4093
4089
  }
4094
4090
  ),
4095
- /* @__PURE__ */ jsx26(Tooltip5, { title: "Logout", placement: "right", arrow: true, children: /* @__PURE__ */ jsx26(
4091
+ /* @__PURE__ */ jsx25(Tooltip5, { title: "Logout", placement: "right", arrow: true, children: /* @__PURE__ */ jsx25(
4096
4092
  IconButton5,
4097
4093
  {
4098
4094
  onClick: onLogout,
@@ -4105,13 +4101,13 @@ var AccountSection = React8.memo(({
4105
4101
  color: "text.primary"
4106
4102
  }
4107
4103
  },
4108
- children: /* @__PURE__ */ jsx26(LogoutIcon, { fontSize: "small" })
4104
+ children: /* @__PURE__ */ jsx25(LogoutIcon, { fontSize: "small" })
4109
4105
  }
4110
4106
  ) })
4111
4107
  ] });
4112
4108
  }
4113
- return /* @__PURE__ */ jsxs11(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
4114
- /* @__PURE__ */ jsx26(
4109
+ return /* @__PURE__ */ jsxs10(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
4110
+ /* @__PURE__ */ jsx25(
4115
4111
  Avatar3,
4116
4112
  {
4117
4113
  src: avatarSrc,
@@ -4127,7 +4123,7 @@ var AccountSection = React8.memo(({
4127
4123
  children: initials
4128
4124
  }
4129
4125
  ),
4130
- /* @__PURE__ */ jsxs11(
4126
+ /* @__PURE__ */ jsxs10(
4131
4127
  Box8,
4132
4128
  {
4133
4129
  sx: {
@@ -4139,7 +4135,7 @@ var AccountSection = React8.memo(({
4139
4135
  // Allow text truncation
4140
4136
  },
4141
4137
  children: [
4142
- /* @__PURE__ */ jsx26(
4138
+ /* @__PURE__ */ jsx25(
4143
4139
  Typography6,
4144
4140
  {
4145
4141
  variant: "body2",
@@ -4153,7 +4149,7 @@ var AccountSection = React8.memo(({
4153
4149
  children: user.name
4154
4150
  }
4155
4151
  ),
4156
- showEmail && user.email && /* @__PURE__ */ jsx26(
4152
+ showEmail && user.email && /* @__PURE__ */ jsx25(
4157
4153
  Typography6,
4158
4154
  {
4159
4155
  variant: "caption",
@@ -4168,12 +4164,12 @@ var AccountSection = React8.memo(({
4168
4164
  children: user.email
4169
4165
  }
4170
4166
  ),
4171
- /* @__PURE__ */ jsx26(
4167
+ /* @__PURE__ */ jsx25(
4172
4168
  Button5,
4173
4169
  {
4174
4170
  onClick: onLogout,
4175
4171
  "aria-label": "Logout",
4176
- startIcon: /* @__PURE__ */ jsx26(LogoutIcon, { fontSize: "small" }),
4172
+ startIcon: /* @__PURE__ */ jsx25(LogoutIcon, { fontSize: "small" }),
4177
4173
  sx: {
4178
4174
  color: "text.secondary",
4179
4175
  textTransform: "none",
@@ -4201,7 +4197,7 @@ AccountSection.displayName = "AccountSection";
4201
4197
  // src/components/feedback/Badge.tsx
4202
4198
  import MuiBadge from "@mui/material/Badge";
4203
4199
  import { styled as styled16 } from "@mui/material/styles";
4204
- import { jsx as jsx27 } from "react/jsx-runtime";
4200
+ import { jsx as jsx26 } from "react/jsx-runtime";
4205
4201
  var getBadgeColor = (variant) => {
4206
4202
  switch (variant) {
4207
4203
  case "primary":
@@ -4228,13 +4224,13 @@ var Badge = ({
4228
4224
  badgeContent,
4229
4225
  ...props
4230
4226
  }) => {
4231
- return /* @__PURE__ */ jsx27(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
4227
+ return /* @__PURE__ */ jsx26(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
4232
4228
  };
4233
4229
 
4234
4230
  // src/components/feedback/Chip.tsx
4235
4231
  import MuiChip from "@mui/material/Chip";
4236
4232
  import { styled as styled17 } from "@mui/material/styles";
4237
- import { jsx as jsx28 } from "react/jsx-runtime";
4233
+ import { jsx as jsx27 } from "react/jsx-runtime";
4238
4234
  var StyledDefaultChip = styled17(MuiChip)({
4239
4235
  backgroundColor: colors.grey[100],
4240
4236
  color: colors.text.primary,
@@ -4254,16 +4250,169 @@ var Chip2 = ({
4254
4250
  ...props
4255
4251
  }) => {
4256
4252
  if (variant === "active") {
4257
- return /* @__PURE__ */ jsx28(StyledActiveChip, { ...props });
4253
+ return /* @__PURE__ */ jsx27(StyledActiveChip, { ...props });
4258
4254
  }
4259
- return /* @__PURE__ */ jsx28(StyledDefaultChip, { ...props });
4255
+ return /* @__PURE__ */ jsx27(StyledDefaultChip, { ...props });
4256
+ };
4257
+
4258
+ // src/components/feedback/RoleBadge.tsx
4259
+ import MuiChip2 from "@mui/material/Chip";
4260
+ import { styled as styled18 } from "@mui/material/styles";
4261
+ import { jsx as jsx28 } from "react/jsx-runtime";
4262
+ var StyledRoleBadge = styled18(MuiChip2)(() => ({
4263
+ // Pill shape - 100px border radius
4264
+ borderRadius: "100px",
4265
+ // Typography specifications from Figma
4266
+ fontSize: "13px",
4267
+ fontWeight: 400,
4268
+ lineHeight: "18px",
4269
+ letterSpacing: "0.16px",
4270
+ // Padding specifications from Figma
4271
+ padding: "3px 4px",
4272
+ height: "auto",
4273
+ // Outlined style (no background fill)
4274
+ "& .MuiChip-label": {
4275
+ padding: "0 8px"
4276
+ }
4277
+ }));
4278
+ var RoleBadge = ({
4279
+ label,
4280
+ color = "primary",
4281
+ size: size3 = "small",
4282
+ ...props
4283
+ }) => {
4284
+ if (!label || label.trim() === "") {
4285
+ return null;
4286
+ }
4287
+ return /* @__PURE__ */ jsx28(
4288
+ StyledRoleBadge,
4289
+ {
4290
+ label,
4291
+ variant: "outlined",
4292
+ color,
4293
+ size: size3,
4294
+ ...props
4295
+ }
4296
+ );
4297
+ };
4298
+
4299
+ // src/components/feedback/IDBlock.tsx
4300
+ import { useState as useState5 } from "react";
4301
+ import Box9 from "@mui/material/Box";
4302
+ import Typography7 from "@mui/material/Typography";
4303
+ import IconButton6 from "@mui/material/IconButton";
4304
+ import Snackbar from "@mui/material/Snackbar";
4305
+ import Alert from "@mui/material/Alert";
4306
+ import ContentCopyIcon from "@mui/icons-material/ContentCopy";
4307
+ import { styled as styled19 } from "@mui/material/styles";
4308
+ import { Fragment as Fragment5, jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
4309
+ var IDContainer = styled19(Box9)(() => ({
4310
+ display: "inline-flex",
4311
+ alignItems: "center",
4312
+ gap: "4px",
4313
+ padding: "8px 16px",
4314
+ backgroundColor: deploymentSurfaceTokens.surfaceHigh,
4315
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
4316
+ borderRadius: "8px"
4317
+ }));
4318
+ var IDBlock = ({
4319
+ id,
4320
+ label = "ID",
4321
+ entityType = "entity",
4322
+ onCopy
4323
+ }) => {
4324
+ const [snackbar, setSnackbar] = useState5({
4325
+ open: false,
4326
+ message: "",
4327
+ severity: "success"
4328
+ });
4329
+ if (!id || id.trim() === "") {
4330
+ return null;
4331
+ }
4332
+ const handleCopy = async () => {
4333
+ try {
4334
+ await navigator.clipboard.writeText(id);
4335
+ setSnackbar({ open: true, message: "ID copied to clipboard", severity: "success" });
4336
+ onCopy?.();
4337
+ } catch {
4338
+ setSnackbar({ open: true, message: "Failed to copy ID", severity: "error" });
4339
+ }
4340
+ };
4341
+ const handleSnackbarClose = () => {
4342
+ setSnackbar((prev) => ({ ...prev, open: false }));
4343
+ };
4344
+ return /* @__PURE__ */ jsxs11(Fragment5, { children: [
4345
+ /* @__PURE__ */ jsxs11(IDContainer, { children: [
4346
+ /* @__PURE__ */ jsxs11(
4347
+ Typography7,
4348
+ {
4349
+ variant: "body2",
4350
+ sx: {
4351
+ fontSize: "13px",
4352
+ fontWeight: 500,
4353
+ color: deploymentSurfaceTokens.textSecondary
4354
+ },
4355
+ children: [
4356
+ label,
4357
+ ":"
4358
+ ]
4359
+ }
4360
+ ),
4361
+ /* @__PURE__ */ jsx29(
4362
+ Typography7,
4363
+ {
4364
+ variant: "body2",
4365
+ sx: {
4366
+ fontSize: "13px",
4367
+ fontWeight: 500,
4368
+ color: deploymentSurfaceTokens.textPrimary,
4369
+ userSelect: "all"
4370
+ },
4371
+ children: id
4372
+ }
4373
+ ),
4374
+ /* @__PURE__ */ jsx29(
4375
+ IconButton6,
4376
+ {
4377
+ onClick: handleCopy,
4378
+ size: "small",
4379
+ "aria-label": `Copy ${entityType} ID ${id}`,
4380
+ sx: {
4381
+ padding: "4px",
4382
+ "&:hover": {
4383
+ backgroundColor: deploymentSurfaceTokens.hoverOverlay
4384
+ }
4385
+ },
4386
+ children: /* @__PURE__ */ jsx29(
4387
+ ContentCopyIcon,
4388
+ {
4389
+ sx: {
4390
+ fontSize: "16px",
4391
+ color: deploymentSurfaceTokens.textSecondary
4392
+ }
4393
+ }
4394
+ )
4395
+ }
4396
+ )
4397
+ ] }),
4398
+ /* @__PURE__ */ jsx29(
4399
+ Snackbar,
4400
+ {
4401
+ open: snackbar.open,
4402
+ autoHideDuration: 3e3,
4403
+ onClose: handleSnackbarClose,
4404
+ anchorOrigin: { vertical: "top", horizontal: "center" },
4405
+ children: /* @__PURE__ */ jsx29(Alert, { onClose: handleSnackbarClose, severity: snackbar.severity, children: snackbar.message })
4406
+ }
4407
+ )
4408
+ ] });
4260
4409
  };
4261
4410
 
4262
4411
  // src/components/feedback/Tooltip.tsx
4263
4412
  import MuiTooltip from "@mui/material/Tooltip";
4264
- import { styled as styled18 } from "@mui/material/styles";
4265
- import { jsx as jsx29 } from "react/jsx-runtime";
4266
- var StyledTooltip = styled18(MuiTooltip)({
4413
+ import { styled as styled20 } from "@mui/material/styles";
4414
+ import { jsx as jsx30 } from "react/jsx-runtime";
4415
+ var StyledTooltip = styled20(MuiTooltip)({
4267
4416
  "& .MuiTooltip-tooltip": {
4268
4417
  backgroundColor: colors.grey[800],
4269
4418
  color: "#FFFFFF",
@@ -4276,17 +4425,17 @@ var StyledTooltip = styled18(MuiTooltip)({
4276
4425
  }
4277
4426
  });
4278
4427
  var Tooltip6 = (props) => {
4279
- return /* @__PURE__ */ jsx29(StyledTooltip, { ...props });
4428
+ return /* @__PURE__ */ jsx30(StyledTooltip, { ...props });
4280
4429
  };
4281
4430
 
4282
4431
  // src/components/feedback/Progress.tsx
4283
4432
  import {
4284
4433
  LinearProgress,
4285
4434
  CircularProgress,
4286
- styled as styled19
4435
+ styled as styled21
4287
4436
  } from "@mui/material";
4288
- import { jsx as jsx30 } from "react/jsx-runtime";
4289
- var StyledLinearProgress = styled19(LinearProgress)({
4437
+ import { jsx as jsx31 } from "react/jsx-runtime";
4438
+ var StyledLinearProgress = styled21(LinearProgress)({
4290
4439
  height: 4,
4291
4440
  borderRadius: 2,
4292
4441
  backgroundColor: colors.grey[200],
@@ -4295,7 +4444,7 @@ var StyledLinearProgress = styled19(LinearProgress)({
4295
4444
  borderRadius: 2
4296
4445
  }
4297
4446
  });
4298
- var StyledCircularProgress = styled19(CircularProgress)({
4447
+ var StyledCircularProgress = styled21(CircularProgress)({
4299
4448
  color: colors.primary.main
4300
4449
  });
4301
4450
  var Progress = ({
@@ -4305,9 +4454,9 @@ var Progress = ({
4305
4454
  thickness = 4
4306
4455
  }) => {
4307
4456
  if (variant === "circular") {
4308
- return /* @__PURE__ */ jsx30(StyledCircularProgress, { size: size3, thickness });
4457
+ return /* @__PURE__ */ jsx31(StyledCircularProgress, { size: size3, thickness });
4309
4458
  }
4310
- return /* @__PURE__ */ jsx30(
4459
+ return /* @__PURE__ */ jsx31(
4311
4460
  StyledLinearProgress,
4312
4461
  {
4313
4462
  variant: value !== void 0 ? "determinate" : "indeterminate",
@@ -4318,9 +4467,9 @@ var Progress = ({
4318
4467
 
4319
4468
  // src/components/navigation/Tab.tsx
4320
4469
  import MuiTab from "@mui/material/Tab";
4321
- import { styled as styled20 } from "@mui/material/styles";
4322
- import { jsx as jsx31 } from "react/jsx-runtime";
4323
- var StyledTab = styled20(MuiTab)({
4470
+ import { styled as styled22 } from "@mui/material/styles";
4471
+ import { jsx as jsx32 } from "react/jsx-runtime";
4472
+ var StyledTab = styled22(MuiTab)({
4324
4473
  textTransform: "none",
4325
4474
  minHeight: "48px",
4326
4475
  fontWeight: 400,
@@ -4341,8 +4490,8 @@ var Tab = ({
4341
4490
  label,
4342
4491
  ...props
4343
4492
  }) => {
4344
- const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx31(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4345
- return /* @__PURE__ */ jsx31(StyledTab, { label: tabLabel, ...props });
4493
+ const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx32(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4494
+ return /* @__PURE__ */ jsx32(StyledTab, { label: tabLabel, ...props });
4346
4495
  };
4347
4496
 
4348
4497
  // src/components/navigation/Menu.tsx
@@ -4353,9 +4502,9 @@ import {
4353
4502
  ListItemText as ListItemText5,
4354
4503
  Divider
4355
4504
  } from "@mui/material";
4356
- import { styled as styled21 } from "@mui/material/styles";
4357
- import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs12 } from "react/jsx-runtime";
4358
- var StyledMenu = styled21(MuiMenu)({
4505
+ import { styled as styled23 } from "@mui/material/styles";
4506
+ import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
4507
+ var StyledMenu = styled23(MuiMenu)({
4359
4508
  "& .MuiPaper-root": {
4360
4509
  borderRadius: 8,
4361
4510
  boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
@@ -4369,7 +4518,7 @@ var StyledMenu = styled21(MuiMenu)({
4369
4518
  }
4370
4519
  });
4371
4520
  var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
4372
- return /* @__PURE__ */ jsx32(
4521
+ return /* @__PURE__ */ jsx33(
4373
4522
  StyledMenu,
4374
4523
  {
4375
4524
  anchorEl,
@@ -4395,20 +4544,20 @@ var MenuItem = ({
4395
4544
  disabled = false,
4396
4545
  divider = false
4397
4546
  }) => {
4398
- return /* @__PURE__ */ jsxs12(Fragment5, { children: [
4547
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
4399
4548
  /* @__PURE__ */ jsxs12(MuiMenuItem, { onClick, disabled, children: [
4400
- icon && /* @__PURE__ */ jsx32(ListItemIcon3, { children: icon }),
4401
- /* @__PURE__ */ jsx32(ListItemText5, { children: label })
4549
+ icon && /* @__PURE__ */ jsx33(ListItemIcon3, { children: icon }),
4550
+ /* @__PURE__ */ jsx33(ListItemText5, { children: label })
4402
4551
  ] }),
4403
- divider && /* @__PURE__ */ jsx32(Divider, {})
4552
+ divider && /* @__PURE__ */ jsx33(Divider, {})
4404
4553
  ] });
4405
4554
  };
4406
4555
 
4407
4556
  // src/components/navigation/Pagination.tsx
4408
4557
  import MuiPagination from "@mui/material/Pagination";
4409
- import { styled as styled22 } from "@mui/material/styles";
4410
- import { jsx as jsx33 } from "react/jsx-runtime";
4411
- var StyledPagination = styled22(MuiPagination)({
4558
+ import { styled as styled24 } from "@mui/material/styles";
4559
+ import { jsx as jsx34 } from "react/jsx-runtime";
4560
+ var StyledPagination = styled24(MuiPagination)({
4412
4561
  "& .MuiPaginationItem-root": {
4413
4562
  "&.Mui-selected": {
4414
4563
  backgroundColor: colors.primary.main,
@@ -4423,14 +4572,14 @@ var StyledPagination = styled22(MuiPagination)({
4423
4572
  }
4424
4573
  });
4425
4574
  var Pagination = ({ color = "primary", ...props }) => {
4426
- return /* @__PURE__ */ jsx33(StyledPagination, { color, ...props });
4575
+ return /* @__PURE__ */ jsx34(StyledPagination, { color, ...props });
4427
4576
  };
4428
4577
 
4429
4578
  // src/components/navigation/Selector.tsx
4430
4579
  import { useState as useState6 } from "react";
4431
4580
  import {
4432
- Box as Box9,
4433
- Typography as Typography7,
4581
+ Box as Box10,
4582
+ Typography as Typography8,
4434
4583
  Avatar as Avatar4,
4435
4584
  Menu as Menu4,
4436
4585
  InputAdornment as InputAdornment5,
@@ -4446,20 +4595,20 @@ import AddIcon3 from "@mui/icons-material/Add";
4446
4595
 
4447
4596
  // src/components/layout/Link.tsx
4448
4597
  import MuiLink from "@mui/material/Link";
4449
- import { styled as styled23 } from "@mui/material/styles";
4450
- import { jsx as jsx34 } from "react/jsx-runtime";
4451
- var StyledLink = styled23(MuiLink)({
4598
+ import { styled as styled25 } from "@mui/material/styles";
4599
+ import { jsx as jsx35 } from "react/jsx-runtime";
4600
+ var StyledLink = styled25(MuiLink)({
4452
4601
  color: colors.primary.main,
4453
4602
  "&:hover": {
4454
4603
  color: colors.primary.light
4455
4604
  }
4456
4605
  });
4457
4606
  var Link3 = ({ underline = "hover", ...props }) => {
4458
- return /* @__PURE__ */ jsx34(StyledLink, { underline, ...props });
4607
+ return /* @__PURE__ */ jsx35(StyledLink, { underline, ...props });
4459
4608
  };
4460
4609
 
4461
4610
  // src/components/navigation/Selector.tsx
4462
- import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
4611
+ import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs13 } from "react/jsx-runtime";
4463
4612
  var Selector = ({
4464
4613
  options: options2,
4465
4614
  selectedId,
@@ -4491,14 +4640,14 @@ var Selector = ({
4491
4640
  onSelect(id);
4492
4641
  handleClose();
4493
4642
  };
4494
- const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs13(Box9, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4495
- 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) }),
4496
- /* @__PURE__ */ jsx35(Typography7, { variant: "body2", children: option.name })
4643
+ const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs13(Box10, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4644
+ option.avatar ? /* @__PURE__ */ jsx36(Avatar4, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ jsx36(Avatar4, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
4645
+ /* @__PURE__ */ jsx36(Typography8, { variant: "body2", children: option.name })
4497
4646
  ] });
4498
4647
  if (compact) {
4499
- return /* @__PURE__ */ jsxs13(Fragment6, { children: [
4500
- /* @__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: "?" }) }),
4501
- /* @__PURE__ */ jsx35(
4648
+ return /* @__PURE__ */ jsxs13(Fragment7, { children: [
4649
+ /* @__PURE__ */ jsx36(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ jsx36(Avatar4, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ jsx36(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ jsx36(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
4650
+ /* @__PURE__ */ jsx36(
4502
4651
  Menu4,
4503
4652
  {
4504
4653
  anchorEl,
@@ -4507,8 +4656,8 @@ var Selector = ({
4507
4656
  PaperProps: {
4508
4657
  sx: { width, maxHeight: 600, mt: 1 }
4509
4658
  },
4510
- children: loading ? /* @__PURE__ */ jsx35(Box9, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx35(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs13(Fragment6, { children: [
4511
- options2.length > 5 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4659
+ children: loading ? /* @__PURE__ */ jsx36(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx36(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs13(Fragment7, { children: [
4660
+ options2.length > 5 && /* @__PURE__ */ jsx36(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx36(
4512
4661
  TextField,
4513
4662
  {
4514
4663
  size: "small",
@@ -4517,7 +4666,7 @@ var Selector = ({
4517
4666
  value: searchTerm,
4518
4667
  onChange: (e) => setSearchTerm(e.target.value),
4519
4668
  InputProps: {
4520
- startAdornment: /* @__PURE__ */ jsx35(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx35(SearchIcon4, { fontSize: "small" }) })
4669
+ startAdornment: /* @__PURE__ */ jsx36(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx36(SearchIcon4, { fontSize: "small" }) })
4521
4670
  }
4522
4671
  }
4523
4672
  ) }),
@@ -4529,19 +4678,19 @@ var Selector = ({
4529
4678
  onClick: () => handleSelect(option.id),
4530
4679
  disabled: option.disabled,
4531
4680
  children: [
4532
- 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) }) }),
4533
- /* @__PURE__ */ jsx35(ListItemText6, { primary: option.name, secondary: option.description })
4681
+ option.avatar ? /* @__PURE__ */ jsx36(ListItemAvatar3, { children: /* @__PURE__ */ jsx36(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx36(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx36(ListItemAvatar3, { children: /* @__PURE__ */ jsx36(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4682
+ /* @__PURE__ */ jsx36(ListItemText6, { primary: option.name, secondary: option.description })
4534
4683
  ]
4535
4684
  },
4536
4685
  option.id
4537
4686
  )),
4538
- filteredOptions.length === 0 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx35(Typography7, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4687
+ filteredOptions.length === 0 && /* @__PURE__ */ jsx36(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx36(Typography8, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4539
4688
  ] }),
4540
- onCreate && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4689
+ onCreate && /* @__PURE__ */ jsx36(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx36(
4541
4690
  Button,
4542
4691
  {
4543
4692
  fullWidth: true,
4544
- startIcon: /* @__PURE__ */ jsx35(AddIcon3, {}),
4693
+ startIcon: /* @__PURE__ */ jsx36(AddIcon3, {}),
4545
4694
  onClick: () => {
4546
4695
  onCreate();
4547
4696
  handleClose();
@@ -4554,12 +4703,12 @@ var Selector = ({
4554
4703
  )
4555
4704
  ] });
4556
4705
  }
4557
- return /* @__PURE__ */ jsxs13(Fragment6, { children: [
4558
- /* @__PURE__ */ jsxs13(Box9, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4559
- 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 }),
4560
- /* @__PURE__ */ jsx35(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx35(KeyboardArrowDownIcon3, { fontSize: "small" }) })
4706
+ return /* @__PURE__ */ jsxs13(Fragment7, { children: [
4707
+ /* @__PURE__ */ jsxs13(Box10, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4708
+ selectedOption ? renderSelected ? /* @__PURE__ */ jsx36(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ jsx36(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ jsx36(Typography8, { variant: "body2", color: "text.secondary", children: placeholder }),
4709
+ /* @__PURE__ */ jsx36(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx36(KeyboardArrowDownIcon3, { fontSize: "small" }) })
4561
4710
  ] }),
4562
- /* @__PURE__ */ jsx35(
4711
+ /* @__PURE__ */ jsx36(
4563
4712
  Menu4,
4564
4713
  {
4565
4714
  anchorEl,
@@ -4568,8 +4717,8 @@ var Selector = ({
4568
4717
  PaperProps: {
4569
4718
  sx: { width, maxHeight: 600, mt: 1 }
4570
4719
  },
4571
- children: loading ? /* @__PURE__ */ jsx35(Box9, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx35(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs13(Fragment6, { children: [
4572
- options2.length > 5 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4720
+ children: loading ? /* @__PURE__ */ jsx36(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx36(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs13(Fragment7, { children: [
4721
+ options2.length > 5 && /* @__PURE__ */ jsx36(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx36(
4573
4722
  TextField,
4574
4723
  {
4575
4724
  size: "small",
@@ -4578,7 +4727,7 @@ var Selector = ({
4578
4727
  value: searchTerm,
4579
4728
  onChange: (e) => setSearchTerm(e.target.value),
4580
4729
  InputProps: {
4581
- startAdornment: /* @__PURE__ */ jsx35(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx35(SearchIcon4, { fontSize: "small" }) })
4730
+ startAdornment: /* @__PURE__ */ jsx36(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx36(SearchIcon4, { fontSize: "small" }) })
4582
4731
  }
4583
4732
  }
4584
4733
  ) }),
@@ -4590,19 +4739,19 @@ var Selector = ({
4590
4739
  onClick: () => handleSelect(option.id),
4591
4740
  disabled: option.disabled,
4592
4741
  children: [
4593
- 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) }) }),
4594
- /* @__PURE__ */ jsx35(ListItemText6, { primary: option.name, secondary: option.description })
4742
+ option.avatar ? /* @__PURE__ */ jsx36(ListItemAvatar3, { children: /* @__PURE__ */ jsx36(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx36(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx36(ListItemAvatar3, { children: /* @__PURE__ */ jsx36(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4743
+ /* @__PURE__ */ jsx36(ListItemText6, { primary: option.name, secondary: option.description })
4595
4744
  ]
4596
4745
  },
4597
4746
  option.id
4598
4747
  )),
4599
- filteredOptions.length === 0 && /* @__PURE__ */ jsx35(Box9, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx35(Typography7, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4748
+ filteredOptions.length === 0 && /* @__PURE__ */ jsx36(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx36(Typography8, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4600
4749
  ] }),
4601
- onCreate && /* @__PURE__ */ jsx35(Box9, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx35(
4750
+ onCreate && /* @__PURE__ */ jsx36(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx36(
4602
4751
  Button,
4603
4752
  {
4604
4753
  fullWidth: true,
4605
- startIcon: /* @__PURE__ */ jsx35(AddIcon3, {}),
4754
+ startIcon: /* @__PURE__ */ jsx36(AddIcon3, {}),
4606
4755
  onClick: () => {
4607
4756
  onCreate();
4608
4757
  handleClose();
@@ -4617,40 +4766,196 @@ var Selector = ({
4617
4766
  };
4618
4767
 
4619
4768
  // src/components/layout/Logo.tsx
4620
- import { Stack as Stack2, styled as styled24, svgIconClasses } from "@mui/material";
4769
+ import { Stack as Stack2, styled as styled26, svgIconClasses } from "@mui/material";
4621
4770
 
4622
4771
  // src/components/icons/CereIcon.tsx
4623
4772
  import { memo } from "react";
4624
4773
  import { SvgIcon } from "@mui/material";
4625
- import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
4774
+ import { jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
4626
4775
  var CereIcon = memo((props) => /* @__PURE__ */ jsxs14(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4627
- /* @__PURE__ */ jsx36("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx36(
4776
+ /* @__PURE__ */ jsx37("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx37(
4628
4777
  "path",
4629
4778
  {
4630
4779
  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",
4631
4780
  fill: "currentColor"
4632
4781
  }
4633
4782
  ) }),
4634
- /* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "a", children: /* @__PURE__ */ jsx36("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
4783
+ /* @__PURE__ */ jsx37("defs", { children: /* @__PURE__ */ jsx37("clipPath", { id: "a", children: /* @__PURE__ */ jsx37("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
4635
4784
  ] }));
4636
4785
 
4637
4786
  // src/components/layout/Logo.tsx
4638
- import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
4787
+ import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
4639
4788
  var sizesMap = {
4640
4789
  large: 38,
4641
4790
  medium: 32,
4642
4791
  small: 24
4643
4792
  };
4644
- var Container = styled24(Stack2)({
4793
+ var Container = styled26(Stack2)({
4645
4794
  [`& .${svgIconClasses.root}`]: {
4646
4795
  fontSize: "inherit"
4647
4796
  }
4648
4797
  });
4649
- 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: [
4798
+ var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ jsx38(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ jsxs15(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
4650
4799
  icon,
4651
- children && /* @__PURE__ */ jsx37(Stack2, { children })
4800
+ children && /* @__PURE__ */ jsx38(Stack2, { children })
4652
4801
  ] });
4653
4802
 
4803
+ // src/components/layout/EntityHeader/EntityHeader.tsx
4804
+ import Box11 from "@mui/material/Box";
4805
+ import Typography9 from "@mui/material/Typography";
4806
+ import IconButton7 from "@mui/material/IconButton";
4807
+ import Divider2 from "@mui/material/Divider";
4808
+ import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
4809
+ import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
4810
+ var EntityHeader = ({
4811
+ title,
4812
+ subtitle,
4813
+ role,
4814
+ id,
4815
+ primaryAction,
4816
+ onCopyId,
4817
+ onMoreOptions,
4818
+ headingLevel = "h2",
4819
+ divider = true
4820
+ }) => {
4821
+ const getPrimaryActionLabel = () => {
4822
+ if (!primaryAction) return "";
4823
+ const { label, count } = primaryAction;
4824
+ return count !== void 0 ? `${label} (${count})` : label;
4825
+ };
4826
+ return /* @__PURE__ */ jsxs16(Box11, { children: [
4827
+ /* @__PURE__ */ jsxs16(
4828
+ Box11,
4829
+ {
4830
+ sx: {
4831
+ display: "flex",
4832
+ alignItems: "center",
4833
+ justifyContent: "space-between",
4834
+ px: 3,
4835
+ py: 2,
4836
+ gap: 1
4837
+ },
4838
+ children: [
4839
+ /* @__PURE__ */ jsxs16(
4840
+ Box11,
4841
+ {
4842
+ sx: {
4843
+ display: "flex",
4844
+ alignItems: "center",
4845
+ gap: 1,
4846
+ flexWrap: "wrap"
4847
+ },
4848
+ children: [
4849
+ /* @__PURE__ */ jsxs16(
4850
+ Box11,
4851
+ {
4852
+ sx: {
4853
+ display: "flex",
4854
+ flexDirection: "column",
4855
+ gap: 0.5
4856
+ },
4857
+ children: [
4858
+ /* @__PURE__ */ jsx39(
4859
+ Typography9,
4860
+ {
4861
+ component: headingLevel,
4862
+ sx: {
4863
+ fontSize: "16px",
4864
+ fontWeight: 500,
4865
+ lineHeight: "24px",
4866
+ letterSpacing: "0.15px",
4867
+ color: deploymentSurfaceTokens.textPrimary
4868
+ },
4869
+ children: title
4870
+ }
4871
+ ),
4872
+ subtitle && /* @__PURE__ */ jsx39(
4873
+ Typography9,
4874
+ {
4875
+ variant: "body2",
4876
+ sx: {
4877
+ fontSize: "11px",
4878
+ fontWeight: 500,
4879
+ lineHeight: "16px",
4880
+ letterSpacing: "0.5px",
4881
+ color: deploymentSurfaceTokens.textSecondary
4882
+ },
4883
+ children: subtitle
4884
+ }
4885
+ )
4886
+ ]
4887
+ }
4888
+ ),
4889
+ role && /* @__PURE__ */ jsx39(RoleBadge, { label: role, color: "primary", size: "small" }),
4890
+ id && /* @__PURE__ */ jsx39(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
4891
+ ]
4892
+ }
4893
+ ),
4894
+ /* @__PURE__ */ jsxs16(
4895
+ Box11,
4896
+ {
4897
+ sx: {
4898
+ display: "flex",
4899
+ alignItems: "center",
4900
+ gap: 1,
4901
+ flexShrink: 0
4902
+ },
4903
+ children: [
4904
+ primaryAction && /* @__PURE__ */ jsx39(
4905
+ Button,
4906
+ {
4907
+ variant: "primary",
4908
+ startIcon: primaryAction.icon,
4909
+ onClick: primaryAction.onClick,
4910
+ sx: {
4911
+ textTransform: "capitalize"
4912
+ },
4913
+ children: getPrimaryActionLabel()
4914
+ }
4915
+ ),
4916
+ onMoreOptions && /* @__PURE__ */ jsx39(
4917
+ IconButton7,
4918
+ {
4919
+ onClick: onMoreOptions,
4920
+ size: "small",
4921
+ "aria-label": "More options",
4922
+ sx: {
4923
+ padding: "8px",
4924
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
4925
+ borderRadius: "8px",
4926
+ "&:hover": {
4927
+ backgroundColor: deploymentSurfaceTokens.hoverOverlay,
4928
+ borderColor: deploymentSurfaceTokens.borderDefault
4929
+ }
4930
+ },
4931
+ children: /* @__PURE__ */ jsx39(
4932
+ MoreHorizIcon,
4933
+ {
4934
+ sx: {
4935
+ fontSize: "20px",
4936
+ color: deploymentSurfaceTokens.textSecondary
4937
+ }
4938
+ }
4939
+ )
4940
+ }
4941
+ )
4942
+ ]
4943
+ }
4944
+ )
4945
+ ]
4946
+ }
4947
+ ),
4948
+ divider && /* @__PURE__ */ jsx39(
4949
+ Divider2,
4950
+ {
4951
+ sx: {
4952
+ borderColor: deploymentSurfaceTokens.strokeOutside
4953
+ }
4954
+ }
4955
+ )
4956
+ ] });
4957
+ };
4958
+
4654
4959
  // src/components/layout/Dialog.tsx
4655
4960
  import {
4656
4961
  Dialog as MuiDialog,
@@ -4658,14 +4963,14 @@ import {
4658
4963
  DialogContent,
4659
4964
  DialogActions,
4660
4965
  Button as Button6,
4661
- IconButton as IconButton6,
4662
- Box as Box10,
4663
- Typography as Typography8,
4664
- Divider as Divider2,
4966
+ IconButton as IconButton8,
4967
+ Box as Box12,
4968
+ Typography as Typography10,
4969
+ Divider as Divider3,
4665
4970
  CircularProgress as CircularProgress3
4666
4971
  } from "@mui/material";
4667
4972
  import CloseIcon from "@mui/icons-material/Close";
4668
- import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
4973
+ import { Fragment as Fragment8, jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
4669
4974
  var Dialog = ({
4670
4975
  open,
4671
4976
  title,
@@ -4689,7 +4994,7 @@ var Dialog = ({
4689
4994
  if (e) e.stopPropagation();
4690
4995
  onClose();
4691
4996
  };
4692
- return /* @__PURE__ */ jsxs16(
4997
+ return /* @__PURE__ */ jsxs17(
4693
4998
  MuiDialog,
4694
4999
  {
4695
5000
  open,
@@ -4706,28 +5011,28 @@ var Dialog = ({
4706
5011
  ...dialogProps.PaperProps
4707
5012
  },
4708
5013
  children: [
4709
- /* @__PURE__ */ jsxs16(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
4710
- /* @__PURE__ */ jsx38(Box10, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx38(Typography8, { variant: "h6", children: title }) : title }),
4711
- /* @__PURE__ */ jsxs16(Box10, { sx: { display: "flex", alignItems: "center" }, children: [
5014
+ /* @__PURE__ */ jsxs17(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
5015
+ /* @__PURE__ */ jsx40(Box12, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx40(Typography10, { variant: "h6", children: title }) : title }),
5016
+ /* @__PURE__ */ jsxs17(Box12, { sx: { display: "flex", alignItems: "center" }, children: [
4712
5017
  headerAction,
4713
- /* @__PURE__ */ jsx38(
4714
- IconButton6,
5018
+ /* @__PURE__ */ jsx40(
5019
+ IconButton8,
4715
5020
  {
4716
5021
  edge: "end",
4717
5022
  color: "inherit",
4718
5023
  onClick: handleCloseAttempt,
4719
5024
  "aria-label": "close",
4720
- children: /* @__PURE__ */ jsx38(CloseIcon, {})
5025
+ children: /* @__PURE__ */ jsx40(CloseIcon, {})
4721
5026
  }
4722
5027
  )
4723
5028
  ] })
4724
5029
  ] }),
4725
- dividers && /* @__PURE__ */ jsx38(Divider2, {}),
4726
- /* @__PURE__ */ jsx38(DialogContent, { dividers, children }),
4727
- (showActions || customActions) && /* @__PURE__ */ jsxs16(Fragment7, { children: [
4728
- dividers && /* @__PURE__ */ jsx38(Divider2, {}),
4729
- /* @__PURE__ */ jsx38(DialogActions, { children: customActions || /* @__PURE__ */ jsxs16(Fragment7, { children: [
4730
- /* @__PURE__ */ jsx38(
5030
+ dividers && /* @__PURE__ */ jsx40(Divider3, {}),
5031
+ /* @__PURE__ */ jsx40(DialogContent, { dividers, children }),
5032
+ (showActions || customActions) && /* @__PURE__ */ jsxs17(Fragment8, { children: [
5033
+ dividers && /* @__PURE__ */ jsx40(Divider3, {}),
5034
+ /* @__PURE__ */ jsx40(DialogActions, { children: customActions || /* @__PURE__ */ jsxs17(Fragment8, { children: [
5035
+ /* @__PURE__ */ jsx40(
4731
5036
  Button6,
4732
5037
  {
4733
5038
  onClick: handleCloseAttempt,
@@ -4735,14 +5040,14 @@ var Dialog = ({
4735
5040
  children: cancelLabel
4736
5041
  }
4737
5042
  ),
4738
- onSubmit && /* @__PURE__ */ jsx38(
5043
+ onSubmit && /* @__PURE__ */ jsx40(
4739
5044
  Button6,
4740
5045
  {
4741
5046
  variant: "contained",
4742
5047
  color: "primary",
4743
5048
  onClick: onSubmit,
4744
5049
  disabled: disableSubmit || isLoading,
4745
- startIcon: isLoading ? /* @__PURE__ */ jsx38(CircularProgress3, { size: 20 }) : void 0,
5050
+ startIcon: isLoading ? /* @__PURE__ */ jsx40(CircularProgress3, { size: 20 }) : void 0,
4746
5051
  children: submitLabel
4747
5052
  }
4748
5053
  )
@@ -4755,11 +5060,11 @@ var Dialog = ({
4755
5060
 
4756
5061
  // src/components/layout/Drawer.tsx
4757
5062
  import MuiDrawer from "@mui/material/Drawer";
4758
- import { styled as styled25 } from "@mui/material/styles";
4759
- import { Box as Box11, IconButton as IconButton7, Typography as Typography9, Divider as Divider3, Tabs, Tab as Tab2 } from "@mui/material";
5063
+ import { styled as styled27 } from "@mui/material/styles";
5064
+ import { Box as Box13, IconButton as IconButton9, Typography as Typography11, Divider as Divider4, Tabs, Tab as Tab2 } from "@mui/material";
4760
5065
  import CloseIcon2 from "@mui/icons-material/Close";
4761
- import { Fragment as Fragment8, jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
4762
- var StyledDrawer2 = styled25(MuiDrawer, {
5066
+ import { Fragment as Fragment9, jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
5067
+ var StyledDrawer2 = styled27(MuiDrawer, {
4763
5068
  shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
4764
5069
  })(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
4765
5070
  width: collapsed ? miniWidth : width,
@@ -4805,7 +5110,7 @@ var Drawer2 = ({
4805
5110
  const finalWidth = width ?? defaultWidth;
4806
5111
  const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
4807
5112
  const hasHeader = title || header || shouldShowClose || tabs;
4808
- return /* @__PURE__ */ jsxs17(
5113
+ return /* @__PURE__ */ jsxs18(
4809
5114
  StyledDrawer2,
4810
5115
  {
4811
5116
  width: finalWidth,
@@ -4830,9 +5135,9 @@ var Drawer2 = ({
4830
5135
  },
4831
5136
  ...props,
4832
5137
  children: [
4833
- hasHeader && /* @__PURE__ */ jsxs17(Fragment8, { children: [
4834
- /* @__PURE__ */ jsx39(
4835
- Box11,
5138
+ hasHeader && /* @__PURE__ */ jsxs18(Fragment9, { children: [
5139
+ /* @__PURE__ */ jsx41(
5140
+ Box13,
4836
5141
  {
4837
5142
  sx: {
4838
5143
  display: "flex",
@@ -4843,10 +5148,10 @@ var Drawer2 = ({
4843
5148
  borderBottom: 1,
4844
5149
  borderColor: "divider"
4845
5150
  },
4846
- children: header || /* @__PURE__ */ jsxs17(Fragment8, { children: [
4847
- /* @__PURE__ */ jsx39(Box11, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx39(Typography9, { variant: "h6", children: title }) : title }),
4848
- shouldShowClose && onClose && /* @__PURE__ */ jsx39(
4849
- IconButton7,
5151
+ children: header || /* @__PURE__ */ jsxs18(Fragment9, { children: [
5152
+ /* @__PURE__ */ jsx41(Box13, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx41(Typography11, { variant: "h6", children: title }) : title }),
5153
+ shouldShowClose && onClose && /* @__PURE__ */ jsx41(
5154
+ IconButton9,
4850
5155
  {
4851
5156
  onClick: (e) => {
4852
5157
  e.stopPropagation();
@@ -4855,13 +5160,13 @@ var Drawer2 = ({
4855
5160
  size: "small",
4856
5161
  sx: { ml: 1 },
4857
5162
  "aria-label": "close",
4858
- children: /* @__PURE__ */ jsx39(CloseIcon2, {})
5163
+ children: /* @__PURE__ */ jsx41(CloseIcon2, {})
4859
5164
  }
4860
5165
  )
4861
5166
  ] })
4862
5167
  }
4863
5168
  ),
4864
- tabs && tabs.length > 0 && /* @__PURE__ */ jsx39(
5169
+ tabs && tabs.length > 0 && /* @__PURE__ */ jsx41(
4865
5170
  Tabs,
4866
5171
  {
4867
5172
  value: activeTab,
@@ -4876,12 +5181,12 @@ var Drawer2 = ({
4876
5181
  overflow: "auto"
4877
5182
  }
4878
5183
  },
4879
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx39(Tab2, { label: tab }, index))
5184
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx41(Tab2, { label: tab }, index))
4880
5185
  }
4881
5186
  )
4882
5187
  ] }),
4883
- /* @__PURE__ */ jsx39(
4884
- Box11,
5188
+ /* @__PURE__ */ jsx41(
5189
+ Box13,
4885
5190
  {
4886
5191
  sx: {
4887
5192
  flex: 1,
@@ -4893,10 +5198,10 @@ var Drawer2 = ({
4893
5198
  children
4894
5199
  }
4895
5200
  ),
4896
- footer && /* @__PURE__ */ jsxs17(Fragment8, { children: [
4897
- /* @__PURE__ */ jsx39(Divider3, {}),
4898
- /* @__PURE__ */ jsx39(
4899
- Box11,
5201
+ footer && /* @__PURE__ */ jsxs18(Fragment9, { children: [
5202
+ /* @__PURE__ */ jsx41(Divider4, {}),
5203
+ /* @__PURE__ */ jsx41(
5204
+ Box13,
4900
5205
  {
4901
5206
  sx: {
4902
5207
  p: 2,
@@ -4917,9 +5222,9 @@ import MuiCard from "@mui/material/Card";
4917
5222
  import MuiCardContent from "@mui/material/CardContent";
4918
5223
  import MuiCardHeader from "@mui/material/CardHeader";
4919
5224
  import MuiCardActions from "@mui/material/CardActions";
4920
- import { styled as styled26 } from "@mui/material/styles";
4921
- import { jsx as jsx40 } from "react/jsx-runtime";
4922
- var StyledCard = styled26(MuiCard, {
5225
+ import { styled as styled28 } from "@mui/material/styles";
5226
+ import { jsx as jsx42 } from "react/jsx-runtime";
5227
+ var StyledCard = styled28(MuiCard, {
4923
5228
  shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
4924
5229
  })(({ hoverable, clickable }) => ({
4925
5230
  borderRadius: 8,
@@ -4936,16 +5241,16 @@ var StyledCard = styled26(MuiCard, {
4936
5241
  }
4937
5242
  }));
4938
5243
  var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
4939
- return /* @__PURE__ */ jsx40(StyledCard, { hoverable, clickable, ...props, children });
5244
+ return /* @__PURE__ */ jsx42(StyledCard, { hoverable, clickable, ...props, children });
4940
5245
  };
4941
5246
  var CardContent = (props) => {
4942
- return /* @__PURE__ */ jsx40(MuiCardContent, { ...props });
5247
+ return /* @__PURE__ */ jsx42(MuiCardContent, { ...props });
4943
5248
  };
4944
5249
  var CardHeader = (props) => {
4945
- return /* @__PURE__ */ jsx40(MuiCardHeader, { ...props });
5250
+ return /* @__PURE__ */ jsx42(MuiCardHeader, { ...props });
4946
5251
  };
4947
5252
  var CardActions = (props) => {
4948
- return /* @__PURE__ */ jsx40(MuiCardActions, { ...props });
5253
+ return /* @__PURE__ */ jsx42(MuiCardActions, { ...props });
4949
5254
  };
4950
5255
 
4951
5256
  // src/components/layout/List.tsx
@@ -4956,12 +5261,12 @@ import {
4956
5261
  ListItemIcon as ListItemIcon4,
4957
5262
  ListItemSecondaryAction
4958
5263
  } from "@mui/material";
4959
- import { styled as styled27 } from "@mui/material/styles";
4960
- import { jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
5264
+ import { styled as styled29 } from "@mui/material/styles";
5265
+ import { jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
4961
5266
  var List6 = (props) => {
4962
- return /* @__PURE__ */ jsx41(MuiList, { ...props });
5267
+ return /* @__PURE__ */ jsx43(MuiList, { ...props });
4963
5268
  };
4964
- var StyledListItem = styled27(MuiListItem, {
5269
+ var StyledListItem = styled29(MuiListItem, {
4965
5270
  shouldForwardProp: (prop) => prop !== "hoverable"
4966
5271
  })(({ hoverable = true }) => ({
4967
5272
  border: `1px solid ${colors.grey[200]}`,
@@ -4982,9 +5287,9 @@ var ListItem4 = ({
4982
5287
  children,
4983
5288
  ...props
4984
5289
  }) => {
4985
- return /* @__PURE__ */ jsxs18(StyledListItem, { hoverable, ...props, children: [
4986
- icon && /* @__PURE__ */ jsx41(ListItemIcon4, { children: icon }),
4987
- (primary || secondary) && /* @__PURE__ */ jsx41(
5290
+ return /* @__PURE__ */ jsxs19(StyledListItem, { hoverable, ...props, children: [
5291
+ icon && /* @__PURE__ */ jsx43(ListItemIcon4, { children: icon }),
5292
+ (primary || secondary) && /* @__PURE__ */ jsx43(
4988
5293
  ListItemText7,
4989
5294
  {
4990
5295
  primary,
@@ -4999,21 +5304,20 @@ var ListItem4 = ({
4999
5304
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
5000
5305
  import {
5001
5306
  Paper,
5002
- Box as Box12,
5003
- Typography as Typography10,
5004
- IconButton as IconButton8,
5307
+ Box as Box14,
5308
+ Typography as Typography12,
5309
+ IconButton as IconButton10,
5005
5310
  useTheme as useTheme2,
5006
5311
  LinearProgress as LinearProgress2
5007
5312
  } from "@mui/material";
5008
5313
  import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
5009
5314
  import ChevronRightIcon2 from "@mui/icons-material/ChevronRight";
5010
- import ContentCopyIcon from "@mui/icons-material/ContentCopy";
5011
5315
  import WorkOutlineIcon from "@mui/icons-material/WorkOutline";
5012
5316
  import WavesIcon from "@mui/icons-material/Waves";
5013
5317
  import RocketLaunchOutlinedIcon from "@mui/icons-material/RocketLaunchOutlined";
5014
5318
  import InsertLinkIcon from "@mui/icons-material/InsertLink";
5015
5319
  import SmartToyOutlinedIcon from "@mui/icons-material/SmartToyOutlined";
5016
- import { styled as styled28 } from "@mui/material/styles";
5320
+ import { styled as styled30 } from "@mui/material/styles";
5017
5321
 
5018
5322
  // src/hooks/useControlledExpand.ts
5019
5323
  import { useState as useState7 } from "react";
@@ -5026,7 +5330,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
5026
5330
  }
5027
5331
 
5028
5332
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
5029
- import { Fragment as Fragment9, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
5333
+ import { Fragment as Fragment10, jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
5030
5334
  var ENTITY_LABELS = {
5031
5335
  workspace: "Workspace",
5032
5336
  stream: "Stream",
@@ -5036,11 +5340,11 @@ var ENTITY_LABELS = {
5036
5340
  };
5037
5341
  var ENTITY_ICON_SIZE = 16;
5038
5342
  var ENTITY_ICONS = {
5039
- workspace: /* @__PURE__ */ jsx42(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5040
- stream: /* @__PURE__ */ jsx42(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5041
- deployment: /* @__PURE__ */ jsx42(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5042
- engagement: /* @__PURE__ */ jsx42(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5043
- agent: /* @__PURE__ */ jsx42(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
5343
+ workspace: /* @__PURE__ */ jsx44(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5344
+ stream: /* @__PURE__ */ jsx44(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5345
+ deployment: /* @__PURE__ */ jsx44(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5346
+ engagement: /* @__PURE__ */ jsx44(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5347
+ agent: /* @__PURE__ */ jsx44(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
5044
5348
  };
5045
5349
  var STATUS_DOT_COLORS = {
5046
5350
  normal: deploymentStatusColors.normal,
@@ -5061,7 +5365,7 @@ var ENTITY_CHIP_TYPOGRAPHY = {
5061
5365
  lineHeight: 1.33,
5062
5366
  letterSpacing: "0.07px"
5063
5367
  };
5064
- var StatusDot = styled28(Box12, {
5368
+ var StatusDot = styled30(Box14, {
5065
5369
  shouldForwardProp: (p) => p !== "status"
5066
5370
  })(({ status }) => ({
5067
5371
  width: 8,
@@ -5070,8 +5374,8 @@ var StatusDot = styled28(Box12, {
5070
5374
  backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
5071
5375
  flexShrink: 0
5072
5376
  }));
5073
- var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs19(
5074
- Box12,
5377
+ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs20(
5378
+ Box14,
5075
5379
  {
5076
5380
  sx: {
5077
5381
  display: "inline-flex",
@@ -5086,9 +5390,9 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs19(
5086
5390
  flexShrink: 0
5087
5391
  },
5088
5392
  children: [
5089
- /* @__PURE__ */ jsx42(Box12, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5090
- /* @__PURE__ */ jsx42(
5091
- Typography10,
5393
+ /* @__PURE__ */ jsx44(Box14, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5394
+ /* @__PURE__ */ jsx44(
5395
+ Typography12,
5092
5396
  {
5093
5397
  variant: "body2",
5094
5398
  fontWeight: ENTITY_CHIP_TYPOGRAPHY.fontWeight,
@@ -5104,46 +5408,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs19(
5104
5408
  ]
5105
5409
  }
5106
5410
  );
5107
- var IdBadge = ({ id, onCopy }) => /* @__PURE__ */ jsxs19(
5108
- Box12,
5109
- {
5110
- sx: {
5111
- display: "inline-flex",
5112
- alignItems: "center",
5113
- gap: 0.5,
5114
- px: 2,
5115
- py: 1,
5116
- borderRadius: "8px",
5117
- border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5118
- bgcolor: "white",
5119
- flexShrink: 0
5120
- },
5121
- children: [
5122
- /* @__PURE__ */ jsxs19(
5123
- Typography10,
5124
- {
5125
- variant: "body2",
5126
- fontWeight: 500,
5127
- sx: { color: deploymentSurfaceTokens.textPrimary, whiteSpace: "nowrap" },
5128
- children: [
5129
- "ID: ",
5130
- id
5131
- ]
5132
- }
5133
- ),
5134
- 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 } }) })
5135
- ]
5136
- }
5137
- );
5138
- var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs19(Box12, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5139
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5140
- /* @__PURE__ */ jsx42(Typography10, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5141
- /* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
5411
+ var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs20(Box14, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5412
+ /* @__PURE__ */ jsxs20(Box14, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5413
+ /* @__PURE__ */ jsx44(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5414
+ /* @__PURE__ */ jsxs20(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
5142
5415
  value,
5143
5416
  "%"
5144
5417
  ] })
5145
5418
  ] }),
5146
- /* @__PURE__ */ jsx42(
5419
+ /* @__PURE__ */ jsx44(
5147
5420
  LinearProgress2,
5148
5421
  {
5149
5422
  variant: "determinate",
@@ -5183,19 +5456,19 @@ var getActionButtonStyles = (action) => {
5183
5456
  };
5184
5457
  return { ...baseStyles, ...variantStyles };
5185
5458
  };
5186
- var CardAction = ({ action }) => /* @__PURE__ */ jsxs19(
5187
- Box12,
5459
+ var CardAction = ({ action }) => /* @__PURE__ */ jsxs20(
5460
+ Box14,
5188
5461
  {
5189
5462
  component: action.onClick ? "button" : "span",
5190
5463
  onClick: action.onClick,
5191
5464
  sx: getActionButtonStyles(action),
5192
5465
  children: [
5193
- action.icon && /* @__PURE__ */ jsx42(Box12, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5194
- action.label && /* @__PURE__ */ jsx42(Typography10, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
5466
+ action.icon && /* @__PURE__ */ jsx44(Box14, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5467
+ action.label && /* @__PURE__ */ jsx44(Typography12, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
5195
5468
  ]
5196
5469
  }
5197
5470
  );
5198
- var CardActionList = ({ actions }) => /* @__PURE__ */ jsx42(Fragment9, { children: actions.map((action) => /* @__PURE__ */ jsx42(CardAction, { action }, action.id)) });
5471
+ var CardActionList = ({ actions }) => /* @__PURE__ */ jsx44(Fragment10, { children: actions.map((action) => /* @__PURE__ */ jsx44(CardAction, { action }, action.id)) });
5199
5472
  var DeploymentDashboardCard = ({
5200
5473
  entityType,
5201
5474
  title,
@@ -5228,7 +5501,7 @@ var DeploymentDashboardCard = ({
5228
5501
  return Math.min(100, Math.max(0, capacity2));
5229
5502
  };
5230
5503
  const capacityClamped = getClampedCapacity(capacity);
5231
- return /* @__PURE__ */ jsxs19(
5504
+ return /* @__PURE__ */ jsxs20(
5232
5505
  Paper,
5233
5506
  {
5234
5507
  className,
@@ -5245,8 +5518,8 @@ var DeploymentDashboardCard = ({
5245
5518
  gap: 0
5246
5519
  },
5247
5520
  children: [
5248
- /* @__PURE__ */ jsxs19(
5249
- Box12,
5521
+ /* @__PURE__ */ jsxs20(
5522
+ Box14,
5250
5523
  {
5251
5524
  sx: {
5252
5525
  display: "flex",
@@ -5255,21 +5528,21 @@ var DeploymentDashboardCard = ({
5255
5528
  width: "100%"
5256
5529
  },
5257
5530
  children: [
5258
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5259
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5260
- expandable ? /* @__PURE__ */ jsx42(
5261
- IconButton8,
5531
+ /* @__PURE__ */ jsxs20(Box14, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5532
+ /* @__PURE__ */ jsxs20(Box14, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5533
+ expandable ? /* @__PURE__ */ jsx44(
5534
+ IconButton10,
5262
5535
  {
5263
5536
  size: "small",
5264
5537
  onClick: toggle,
5265
5538
  "aria-label": expanded ? "Collapse" : "Expand",
5266
5539
  sx: { p: "5px" },
5267
- children: expanded ? /* @__PURE__ */ jsx42(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx42(ChevronRightIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
5540
+ children: expanded ? /* @__PURE__ */ jsx44(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx44(ChevronRightIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
5268
5541
  }
5269
- ) : /* @__PURE__ */ jsx42(Box12, { sx: { width: 26, flexShrink: 0 } }),
5270
- /* @__PURE__ */ jsx42(EntityChip, { entityType, color: entityColor }),
5271
- /* @__PURE__ */ jsx42(
5272
- Typography10,
5542
+ ) : /* @__PURE__ */ jsx44(Box14, { sx: { width: 26, flexShrink: 0 } }),
5543
+ /* @__PURE__ */ jsx44(EntityChip, { entityType, color: entityColor }),
5544
+ /* @__PURE__ */ jsx44(
5545
+ Typography12,
5273
5546
  {
5274
5547
  variant: "subtitle1",
5275
5548
  fontWeight: 500,
@@ -5278,10 +5551,10 @@ var DeploymentDashboardCard = ({
5278
5551
  children: title
5279
5552
  }
5280
5553
  ),
5281
- idDisplay != null && /* @__PURE__ */ jsx42(IdBadge, { id: idDisplay, onCopy: onCopyId })
5554
+ idDisplay != null && /* @__PURE__ */ jsx44(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
5282
5555
  ] }),
5283
- (createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs19(
5284
- Box12,
5556
+ (createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs20(
5557
+ Box14,
5285
5558
  {
5286
5559
  sx: {
5287
5560
  display: "flex",
@@ -5290,57 +5563,124 @@ var DeploymentDashboardCard = ({
5290
5563
  color: deploymentSurfaceTokens.textSecondary
5291
5564
  },
5292
5565
  children: [
5293
- createdAt != null && /* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5566
+ createdAt != null && /* @__PURE__ */ jsxs20(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5294
5567
  "Created: ",
5295
5568
  createdAt
5296
5569
  ] }),
5297
- updatedAt != null && /* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5570
+ updatedAt != null && /* @__PURE__ */ jsxs20(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5298
5571
  "Last Updated: ",
5299
5572
  updatedAt
5300
5573
  ] })
5301
5574
  ]
5302
5575
  }
5303
5576
  ),
5304
- capacityClamped !== void 0 && /* @__PURE__ */ jsx42(CapacityBar, { value: capacityClamped, indented: expandable })
5577
+ capacityClamped !== void 0 && /* @__PURE__ */ jsx44(CapacityBar, { value: capacityClamped, indented: expandable })
5305
5578
  ] }),
5306
- /* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5307
- statusIndicator != null && /* @__PURE__ */ jsx42(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5308
- /* @__PURE__ */ jsx42(CardActionList, { actions })
5579
+ /* @__PURE__ */ jsxs20(Box14, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5580
+ statusIndicator != null && /* @__PURE__ */ jsx44(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5581
+ /* @__PURE__ */ jsx44(CardActionList, { actions })
5309
5582
  ] })
5310
5583
  ]
5311
5584
  }
5312
5585
  ),
5313
- children && /* @__PURE__ */ jsx42(Box12, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
5586
+ children && /* @__PURE__ */ jsx44(Box14, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
5314
5587
  ]
5315
5588
  }
5316
5589
  );
5317
5590
  };
5318
5591
 
5319
5592
  // src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
5320
- import { Menu as Menu5, Switch as Switch2 } from "@mui/material";
5321
- import { styled as styled29 } from "@mui/material/styles";
5322
- import { jsx as jsx43, jsxs as jsxs20 } from "react/jsx-runtime";
5323
- var StyledMenu2 = styled29(Menu5)({
5593
+ import { Menu as Menu5, MenuItem as MenuItem2, Switch as Switch2, Divider as Divider5, ListItemIcon as ListItemIcon5, ListItemText as ListItemText8 } from "@mui/material";
5594
+ import { styled as styled31 } from "@mui/material/styles";
5595
+ import { Fragment as Fragment11, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
5596
+ var StyledMenu2 = styled31(Menu5)({
5324
5597
  "& .MuiPaper-root": {
5325
- borderRadius: 10,
5326
- boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
5598
+ borderRadius: 4,
5599
+ boxShadow: deploymentSurfaceTokens.workspaceShadow,
5327
5600
  minWidth: 220,
5328
- border: "1px solid",
5329
- borderColor: "grey.200"
5601
+ border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5602
+ padding: 8
5603
+ },
5604
+ "& .MuiList-root": {
5605
+ padding: 0
5330
5606
  }
5331
5607
  });
5332
- var MenuListWrapper = styled29("div")({
5333
- "& .MuiList-root": {
5334
- padding: 8
5608
+ var StyledMenuItem = styled31(MenuItem2)({
5609
+ gap: 8,
5610
+ padding: "8px 0",
5611
+ borderRadius: 4,
5612
+ minHeight: "auto",
5613
+ "&:hover": {
5614
+ backgroundColor: deploymentSurfaceTokens.hoverLight
5335
5615
  },
5336
- "& .MuiListItem-root": {
5337
- borderRadius: 8,
5338
- marginBottom: 4,
5339
- "&:hover": {
5340
- backgroundColor: deploymentSurfaceTokens.hoverLight
5616
+ "& .MuiListItemIcon-root": {
5617
+ minWidth: "auto",
5618
+ color: deploymentSurfaceTokens.textPrimary,
5619
+ "& .MuiSvgIcon-root": {
5620
+ fontSize: 24
5341
5621
  }
5622
+ },
5623
+ "& .MuiListItemText-root .MuiTypography-root": {
5624
+ fontSize: 16,
5625
+ fontWeight: 500,
5626
+ lineHeight: 1.5,
5627
+ letterSpacing: "0.08px",
5628
+ color: deploymentSurfaceTokens.textPrimary
5342
5629
  }
5343
5630
  });
5631
+ var HighlightedMenuItem = styled31(StyledMenuItem)({
5632
+ backgroundColor: deploymentSurfaceTokens.highlightBg,
5633
+ border: `1px solid ${deploymentSurfaceTokens.highlightBorder}`,
5634
+ padding: 8,
5635
+ "&:hover": {
5636
+ backgroundColor: deploymentSurfaceTokens.highlightBgHover
5637
+ }
5638
+ });
5639
+ var ToggleMenuItem = styled31(MenuItem2)({
5640
+ gap: 8,
5641
+ padding: "8px 0",
5642
+ cursor: "default",
5643
+ minHeight: "auto",
5644
+ "&:hover": {
5645
+ backgroundColor: "transparent"
5646
+ },
5647
+ "& .MuiListItemText-root .MuiTypography-root": {
5648
+ fontSize: 16,
5649
+ fontWeight: 500,
5650
+ lineHeight: 1.5,
5651
+ letterSpacing: "0.08px",
5652
+ color: deploymentSurfaceTokens.textPrimary
5653
+ }
5654
+ });
5655
+ var EnableSwitch = styled31(Switch2)({
5656
+ width: 32,
5657
+ height: 20,
5658
+ padding: 0,
5659
+ "& .MuiSwitch-switchBase": {
5660
+ padding: 2,
5661
+ "&.Mui-checked": {
5662
+ transform: "translateX(12px)",
5663
+ color: "#fff",
5664
+ "& + .MuiSwitch-track": {
5665
+ backgroundColor: deploymentSurfaceTokens.switchGreen,
5666
+ opacity: 1
5667
+ }
5668
+ }
5669
+ },
5670
+ "& .MuiSwitch-thumb": {
5671
+ width: 16,
5672
+ height: 16
5673
+ },
5674
+ "& .MuiSwitch-track": {
5675
+ borderRadius: 100,
5676
+ backgroundColor: deploymentSurfaceTokens.switchTrackOff,
5677
+ opacity: 1
5678
+ }
5679
+ });
5680
+ var StyledDivider = styled31(Divider5)({
5681
+ margin: "0 !important",
5682
+ borderColor: deploymentSurfaceTokens.strokeOutside
5683
+ });
5344
5684
  var DeploymentEntityContextMenu = ({
5345
5685
  open,
5346
5686
  anchorEl,
@@ -5350,7 +5690,7 @@ var DeploymentEntityContextMenu = ({
5350
5690
  enableChecked = false,
5351
5691
  onEnableChange
5352
5692
  }) => {
5353
- return /* @__PURE__ */ jsx43(
5693
+ return /* @__PURE__ */ jsxs21(
5354
5694
  StyledMenu2,
5355
5695
  {
5356
5696
  anchorEl,
@@ -5359,58 +5699,57 @@ var DeploymentEntityContextMenu = ({
5359
5699
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
5360
5700
  transformOrigin: { vertical: "top", horizontal: "right" },
5361
5701
  slotProps: { paper: { "aria-label": "Entity context menu" } },
5362
- children: /* @__PURE__ */ jsx43(MenuListWrapper, { children: /* @__PURE__ */ jsxs20(List6, { disablePadding: true, children: [
5363
- items.map(
5364
- (item) => item.type === "toggle" ? /* @__PURE__ */ jsx43(
5365
- ListItem4,
5366
- {
5367
- primary: item.label,
5368
- icon: item.icon,
5369
- action: onEnableChange ? /* @__PURE__ */ jsx43(
5370
- Switch2,
5702
+ children: [
5703
+ items.map((item) => {
5704
+ if (item.type === "divider") {
5705
+ return /* @__PURE__ */ jsx45(StyledDivider, {}, item.id);
5706
+ }
5707
+ if (item.type === "toggle") {
5708
+ return /* @__PURE__ */ jsxs21(ToggleMenuItem, { disableRipple: true, children: [
5709
+ onEnableChange && /* @__PURE__ */ jsx45(
5710
+ EnableSwitch,
5371
5711
  {
5372
5712
  size: "small",
5373
5713
  checked: enableChecked,
5374
5714
  onChange: (_, checked) => onEnableChange(checked),
5375
- color: "success"
5715
+ inputProps: { "aria-label": item.label }
5376
5716
  }
5377
- ) : void 0,
5378
- hoverable: true,
5379
- sx: { cursor: "default" }
5380
- },
5381
- item.id
5382
- ) : /* @__PURE__ */ jsx43(
5383
- ListItem4,
5717
+ ),
5718
+ /* @__PURE__ */ jsx45(ListItemText8, { primary: item.label })
5719
+ ] }, item.id);
5720
+ }
5721
+ const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
5722
+ return /* @__PURE__ */ jsxs21(
5723
+ Row,
5384
5724
  {
5385
- primary: item.label,
5386
- icon: item.icon,
5387
5725
  onClick: () => {
5388
5726
  item.onClick?.();
5389
5727
  onClose();
5390
5728
  },
5391
- hoverable: true
5729
+ children: [
5730
+ item.icon && /* @__PURE__ */ jsx45(ListItemIcon5, { children: item.icon }),
5731
+ /* @__PURE__ */ jsx45(ListItemText8, { primary: item.label })
5732
+ ]
5392
5733
  },
5393
5734
  item.id
5394
- )
5395
- ),
5396
- enableToggle && /* @__PURE__ */ jsx43(
5397
- ListItem4,
5398
- {
5399
- primary: "Enable",
5400
- action: onEnableChange ? /* @__PURE__ */ jsx43(
5401
- Switch2,
5735
+ );
5736
+ }),
5737
+ enableToggle && /* @__PURE__ */ jsxs21(Fragment11, { children: [
5738
+ /* @__PURE__ */ jsx45(StyledDivider, {}),
5739
+ /* @__PURE__ */ jsxs21(ToggleMenuItem, { disableRipple: true, children: [
5740
+ onEnableChange && /* @__PURE__ */ jsx45(
5741
+ EnableSwitch,
5402
5742
  {
5403
5743
  size: "small",
5404
5744
  checked: enableChecked,
5405
5745
  onChange: (_, checked) => onEnableChange(checked),
5406
- color: "success"
5746
+ inputProps: { "aria-label": "Enable" }
5407
5747
  }
5408
- ) : void 0,
5409
- hoverable: true,
5410
- sx: { cursor: "default" }
5411
- }
5412
- )
5413
- ] }) })
5748
+ ),
5749
+ /* @__PURE__ */ jsx45(ListItemText8, { primary: "Enable" })
5750
+ ] })
5751
+ ] })
5752
+ ]
5414
5753
  }
5415
5754
  );
5416
5755
  };
@@ -5419,65 +5758,86 @@ var DeploymentEntityContextMenu = ({
5419
5758
  import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline";
5420
5759
  import EditIcon from "@mui/icons-material/Edit";
5421
5760
  import ContentCopyIcon2 from "@mui/icons-material/ContentCopy";
5422
- import AccountTreeIcon from "@mui/icons-material/AccountTree";
5761
+ import SmartToyOutlinedIcon2 from "@mui/icons-material/SmartToyOutlined";
5423
5762
  import DescriptionIcon from "@mui/icons-material/Description";
5424
5763
  import SettingsIcon2 from "@mui/icons-material/Settings";
5425
- import { jsx as jsx44 } from "react/jsx-runtime";
5764
+ import { jsx as jsx46 } from "react/jsx-runtime";
5426
5765
  var contextMenuItems = {
5766
+ /** Add Engagement action (Add Circle icon) */
5427
5767
  addEngagement: (onClick) => ({
5428
5768
  id: "add-engagement",
5429
5769
  label: "Add Engagement",
5430
- icon: /* @__PURE__ */ jsx44(AddCircleOutlineIcon, { fontSize: "small" }),
5770
+ icon: /* @__PURE__ */ jsx46(AddCircleOutlineIcon, {}),
5431
5771
  onClick
5432
5772
  }),
5773
+ /** Add Agent action (Add Circle icon) */
5433
5774
  addAgent: (onClick) => ({
5434
5775
  id: "add-agent",
5435
5776
  label: "Add Agent",
5436
- icon: /* @__PURE__ */ jsx44(AddCircleOutlineIcon, { fontSize: "small" }),
5777
+ icon: /* @__PURE__ */ jsx46(AddCircleOutlineIcon, {}),
5437
5778
  onClick
5438
5779
  }),
5780
+ /** Add Stream action (Add Circle icon) */
5439
5781
  addStream: (onClick) => ({
5440
5782
  id: "add-stream",
5441
5783
  label: "Add Stream",
5442
- icon: /* @__PURE__ */ jsx44(AddCircleOutlineIcon, { fontSize: "small" }),
5784
+ icon: /* @__PURE__ */ jsx46(AddCircleOutlineIcon, {}),
5443
5785
  onClick
5444
5786
  }),
5787
+ /** Edit action (Pen / Edit icon) */
5445
5788
  edit: (onClick) => ({
5446
5789
  id: "edit",
5447
5790
  label: "Edit",
5448
- icon: /* @__PURE__ */ jsx44(EditIcon, { fontSize: "small" }),
5791
+ icon: /* @__PURE__ */ jsx46(EditIcon, {}),
5449
5792
  onClick
5450
5793
  }),
5794
+ /** Copy ID action (Copy icon) */
5451
5795
  copyId: (onClick) => ({
5452
5796
  id: "copy-id",
5453
5797
  label: "Copy ID",
5454
- icon: /* @__PURE__ */ jsx44(ContentCopyIcon2, { fontSize: "small" }),
5798
+ icon: /* @__PURE__ */ jsx46(ContentCopyIcon2, {}),
5455
5799
  onClick
5456
5800
  }),
5801
+ /** Agent Flow Visualization — highlighted action (SmartToy icon) */
5457
5802
  agentFlowVisualization: (onClick) => ({
5458
5803
  id: "agent-flow",
5459
5804
  label: "Agent Flow Visualization",
5460
- icon: /* @__PURE__ */ jsx44(AccountTreeIcon, { fontSize: "small" }),
5461
- onClick
5805
+ icon: /* @__PURE__ */ jsx46(SmartToyOutlinedIcon2, {}),
5806
+ onClick,
5807
+ highlighted: true
5462
5808
  }),
5809
+ /** View Logs action (Document / Description icon) */
5463
5810
  viewLogs: (onClick) => ({
5464
5811
  id: "view-logs",
5465
5812
  label: "View Logs",
5466
- icon: /* @__PURE__ */ jsx44(DescriptionIcon, { fontSize: "small" }),
5813
+ icon: /* @__PURE__ */ jsx46(DescriptionIcon, {}),
5467
5814
  onClick
5468
5815
  }),
5816
+ /** Horizontal divider between sections */
5817
+ divider: () => ({
5818
+ id: "divider",
5819
+ label: "",
5820
+ type: "divider"
5821
+ }),
5822
+ /** Enable toggle row (switch on left + label) */
5823
+ enable: () => ({
5824
+ id: "enable",
5825
+ label: "Enable",
5826
+ type: "toggle"
5827
+ }),
5828
+ /** Settings action (Settings / Gear icon) */
5469
5829
  settings: (onClick) => ({
5470
5830
  id: "settings",
5471
5831
  label: "Settings",
5472
- icon: /* @__PURE__ */ jsx44(SettingsIcon2, { fontSize: "small" }),
5832
+ icon: /* @__PURE__ */ jsx46(SettingsIcon2, {}),
5473
5833
  onClick
5474
5834
  })
5475
5835
  };
5476
5836
 
5477
5837
  // src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
5478
- import { Box as Box13 } from "@mui/material";
5479
- import { styled as styled30, alpha } from "@mui/material/styles";
5480
- import { jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
5838
+ import { Box as Box15 } from "@mui/material";
5839
+ import { styled as styled32, alpha } from "@mui/material/styles";
5840
+ import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
5481
5841
  var TREE_SP = {
5482
5842
  /** Vertical gap between sibling rows (Figma S / sp-8) */
5483
5843
  rowGap: 8,
@@ -5495,7 +5855,7 @@ var RAIL_OPACITY = {
5495
5855
  engagement: 0.4,
5496
5856
  agent: 0.4
5497
5857
  };
5498
- var Rail = styled30(Box13, {
5858
+ var Rail = styled32(Box15, {
5499
5859
  shouldForwardProp: (p) => p !== "railColor"
5500
5860
  })(({ railColor }) => ({
5501
5861
  width: TREE_SP.railWidth,
@@ -5514,10 +5874,10 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5514
5874
  const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
5515
5875
  const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
5516
5876
  const railColor = alpha(entityColor, railOpacity);
5517
- const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs21(Box13, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5518
- /* @__PURE__ */ jsx45(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5519
- /* @__PURE__ */ jsx45(
5520
- Box13,
5877
+ const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs22(Box15, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5878
+ /* @__PURE__ */ jsx47(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5879
+ /* @__PURE__ */ jsx47(
5880
+ Box15,
5521
5881
  {
5522
5882
  role: "group",
5523
5883
  sx: {
@@ -5527,7 +5887,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5527
5887
  flexDirection: "column",
5528
5888
  gap: `${TREE_SP.rowGap}px`
5529
5889
  },
5530
- children: node.children.map((child) => /* @__PURE__ */ jsx45(
5890
+ children: node.children.map((child) => /* @__PURE__ */ jsx47(
5531
5891
  TreeRow,
5532
5892
  {
5533
5893
  node: child,
@@ -5541,7 +5901,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5541
5901
  }
5542
5902
  )
5543
5903
  ] }) : null;
5544
- const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx45(
5904
+ const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx47(
5545
5905
  DeploymentDashboardCard,
5546
5906
  {
5547
5907
  entityType: node.entityType,
@@ -5559,7 +5919,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5559
5919
  children: renderedChildren
5560
5920
  }
5561
5921
  );
5562
- return /* @__PURE__ */ jsx45(Box13, { role: "treeitem", children: cardContent });
5922
+ return /* @__PURE__ */ jsx47(Box15, { role: "treeitem", children: cardContent });
5563
5923
  };
5564
5924
  var DeploymentDashboardTree = ({
5565
5925
  nodes,
@@ -5567,8 +5927,8 @@ var DeploymentDashboardTree = ({
5567
5927
  onCopyId,
5568
5928
  renderCard
5569
5929
  }) => {
5570
- return /* @__PURE__ */ jsx45(
5571
- Box13,
5930
+ return /* @__PURE__ */ jsx47(
5931
+ Box15,
5572
5932
  {
5573
5933
  role: "tree",
5574
5934
  sx: {
@@ -5577,7 +5937,7 @@ var DeploymentDashboardTree = ({
5577
5937
  gap: `${TREE_SP.rowGap}px`,
5578
5938
  p: `${TREE_SP.rowGap}px`
5579
5939
  },
5580
- children: nodes.map((node) => /* @__PURE__ */ jsx45(
5940
+ children: nodes.map((node) => /* @__PURE__ */ jsx47(
5581
5941
  TreeRow,
5582
5942
  {
5583
5943
  node,
@@ -5593,12 +5953,12 @@ var DeploymentDashboardTree = ({
5593
5953
  };
5594
5954
 
5595
5955
  // src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
5596
- import { Box as Box14 } from "@mui/material";
5597
- import { styled as styled31 } from "@mui/material/styles";
5598
- import { jsx as jsx46 } from "react/jsx-runtime";
5956
+ import { Box as Box16 } from "@mui/material";
5957
+ import { styled as styled33 } from "@mui/material/styles";
5958
+ import { jsx as jsx48 } from "react/jsx-runtime";
5599
5959
  var PANEL_RADIUS = 12;
5600
5960
  var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
5601
- var StyledPanel = styled31(Box14)({
5961
+ var StyledPanel = styled33(Box16)({
5602
5962
  backgroundColor: deploymentSurfaceTokens.surfaceHigh,
5603
5963
  border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
5604
5964
  borderRadius: PANEL_RADIUS,
@@ -5610,19 +5970,19 @@ var DeploymentDashboardPanel = ({
5610
5970
  className,
5611
5971
  padding = 2
5612
5972
  }) => {
5613
- return /* @__PURE__ */ jsx46(StyledPanel, { className, sx: { p: padding }, children });
5973
+ return /* @__PURE__ */ jsx48(StyledPanel, { className, sx: { p: padding }, children });
5614
5974
  };
5615
5975
 
5616
5976
  // src/components/layout/Avatar.tsx
5617
5977
  import MuiAvatar from "@mui/material/Avatar";
5618
- import { styled as styled32 } from "@mui/material/styles";
5619
- import { jsx as jsx47 } from "react/jsx-runtime";
5978
+ import { styled as styled34 } from "@mui/material/styles";
5979
+ import { jsx as jsx49 } from "react/jsx-runtime";
5620
5980
  var sizeMap = {
5621
5981
  small: 32,
5622
5982
  medium: 40,
5623
5983
  large: 56
5624
5984
  };
5625
- var StyledAvatar = styled32(MuiAvatar, {
5985
+ var StyledAvatar = styled34(MuiAvatar, {
5626
5986
  shouldForwardProp: (prop) => prop !== "avatarSize"
5627
5987
  })(({ avatarSize = 40 }) => ({
5628
5988
  width: avatarSize,
@@ -5633,7 +5993,7 @@ var StyledAvatar = styled32(MuiAvatar, {
5633
5993
  }));
5634
5994
  var Avatar5 = ({ size: size3 = "medium", ...props }) => {
5635
5995
  const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
5636
- return /* @__PURE__ */ jsx47(StyledAvatar, { avatarSize, ...props });
5996
+ return /* @__PURE__ */ jsx49(StyledAvatar, { avatarSize, ...props });
5637
5997
  };
5638
5998
 
5639
5999
  // src/components/layout/Table.tsx
@@ -5646,13 +6006,13 @@ import {
5646
6006
  TableRow,
5647
6007
  TableSortLabel
5648
6008
  } from "@mui/material";
5649
- import { styled as styled33 } from "@mui/material/styles";
5650
- import { jsx as jsx48 } from "react/jsx-runtime";
5651
- var StyledTableContainer = styled33(TableContainer)({
6009
+ import { styled as styled35 } from "@mui/material/styles";
6010
+ import { jsx as jsx50 } from "react/jsx-runtime";
6011
+ var StyledTableContainer = styled35(TableContainer)({
5652
6012
  borderRadius: 8,
5653
6013
  border: `1px solid ${colors.grey[200]}`
5654
6014
  });
5655
- var StyledTableHead = styled33(TableHead)({
6015
+ var StyledTableHead = styled35(TableHead)({
5656
6016
  backgroundColor: colors.grey[50],
5657
6017
  "& .MuiTableCell-head": {
5658
6018
  fontWeight: 600,
@@ -5660,7 +6020,7 @@ var StyledTableHead = styled33(TableHead)({
5660
6020
  }
5661
6021
  });
5662
6022
  var Table = ({ stickyHeader = false, children, ...props }) => {
5663
- return /* @__PURE__ */ jsx48(StyledTableContainer, { children: /* @__PURE__ */ jsx48(MuiTable, { stickyHeader, ...props, children }) });
6023
+ return /* @__PURE__ */ jsx50(StyledTableContainer, { children: /* @__PURE__ */ jsx50(MuiTable, { stickyHeader, ...props, children }) });
5664
6024
  };
5665
6025
  var TableHeader = ({
5666
6026
  columns,
@@ -5668,7 +6028,7 @@ var TableHeader = ({
5668
6028
  order = "asc",
5669
6029
  onSort
5670
6030
  }) => {
5671
- 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(
6031
+ return /* @__PURE__ */ jsx50(StyledTableHead, { children: /* @__PURE__ */ jsx50(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx50(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx50(
5672
6032
  TableSortLabel,
5673
6033
  {
5674
6034
  active: orderBy === column.id,
@@ -5685,10 +6045,10 @@ import { Grid2 } from "@mui/material";
5685
6045
  // src/components/layout/Breadcrumbs.tsx
5686
6046
  import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
5687
6047
  import Link4 from "@mui/material/Link";
5688
- import Typography11 from "@mui/material/Typography";
5689
- import { styled as styled34 } from "@mui/material/styles";
5690
- import { jsx as jsx49 } from "react/jsx-runtime";
5691
- var StyledBreadcrumbs = styled34(MuiBreadcrumbs)({
6048
+ import Typography13 from "@mui/material/Typography";
6049
+ import { styled as styled36 } from "@mui/material/styles";
6050
+ import { jsx as jsx51 } from "react/jsx-runtime";
6051
+ var StyledBreadcrumbs = styled36(MuiBreadcrumbs)({
5692
6052
  "& .MuiBreadcrumbs-ol": {
5693
6053
  flexWrap: "nowrap"
5694
6054
  },
@@ -5696,7 +6056,7 @@ var StyledBreadcrumbs = styled34(MuiBreadcrumbs)({
5696
6056
  color: colors.text.secondary
5697
6057
  }
5698
6058
  });
5699
- var StyledLink2 = styled34(Link4)({
6059
+ var StyledLink2 = styled36(Link4)({
5700
6060
  color: colors.primary.main,
5701
6061
  textDecoration: "none",
5702
6062
  "&:hover": {
@@ -5704,12 +6064,12 @@ var StyledLink2 = styled34(Link4)({
5704
6064
  }
5705
6065
  });
5706
6066
  var Breadcrumbs = ({ items, ...props }) => {
5707
- return /* @__PURE__ */ jsx49(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
6067
+ return /* @__PURE__ */ jsx51(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
5708
6068
  const isLast = index === items.length - 1;
5709
6069
  if (isLast || !item.href && !item.onClick) {
5710
- return /* @__PURE__ */ jsx49(Typography11, { color: "text.primary", children: item.label }, index);
6070
+ return /* @__PURE__ */ jsx51(Typography13, { color: "text.primary", children: item.label }, index);
5711
6071
  }
5712
- return /* @__PURE__ */ jsx49(
6072
+ return /* @__PURE__ */ jsx51(
5713
6073
  StyledLink2,
5714
6074
  {
5715
6075
  href: item.href,
@@ -5733,9 +6093,9 @@ import {
5733
6093
  AccordionDetails
5734
6094
  } from "@mui/material";
5735
6095
  import ExpandMoreIcon2 from "@mui/icons-material/ExpandMore";
5736
- import { styled as styled35 } from "@mui/material/styles";
5737
- import { jsx as jsx50, jsxs as jsxs22 } from "react/jsx-runtime";
5738
- var StyledAccordion = styled35(MuiAccordion)({
6096
+ import { styled as styled37 } from "@mui/material/styles";
6097
+ import { jsx as jsx52, jsxs as jsxs23 } from "react/jsx-runtime";
6098
+ var StyledAccordion = styled37(MuiAccordion)({
5739
6099
  borderRadius: 8,
5740
6100
  boxShadow: "none",
5741
6101
  border: `1px solid ${colors.grey[200]}`,
@@ -5746,7 +6106,7 @@ var StyledAccordion = styled35(MuiAccordion)({
5746
6106
  margin: 0
5747
6107
  }
5748
6108
  });
5749
- var StyledAccordionSummary = styled35(AccordionSummary)({
6109
+ var StyledAccordionSummary = styled37(AccordionSummary)({
5750
6110
  backgroundColor: colors.grey[50],
5751
6111
  borderRadius: "8px 8px 0 0",
5752
6112
  "&.Mui-expanded": {
@@ -5756,7 +6116,7 @@ var StyledAccordionSummary = styled35(AccordionSummary)({
5756
6116
  margin: "12px 0"
5757
6117
  }
5758
6118
  });
5759
- var StyledAccordionDetails = styled35(AccordionDetails)({
6119
+ var StyledAccordionDetails = styled37(AccordionDetails)({
5760
6120
  padding: "16px"
5761
6121
  });
5762
6122
  var Accordion = ({
@@ -5765,17 +6125,17 @@ var Accordion = ({
5765
6125
  defaultExpanded = false,
5766
6126
  ...props
5767
6127
  }) => {
5768
- return /* @__PURE__ */ jsxs22(StyledAccordion, { defaultExpanded, ...props, children: [
5769
- /* @__PURE__ */ jsx50(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx50(ExpandMoreIcon2, {}), children: title }),
5770
- /* @__PURE__ */ jsx50(StyledAccordionDetails, { children })
6128
+ return /* @__PURE__ */ jsxs23(StyledAccordion, { defaultExpanded, ...props, children: [
6129
+ /* @__PURE__ */ jsx52(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx52(ExpandMoreIcon2, {}), children: title }),
6130
+ /* @__PURE__ */ jsx52(StyledAccordionDetails, { children })
5771
6131
  ] });
5772
6132
  };
5773
6133
 
5774
6134
  // src/components/layout/Paper.tsx
5775
6135
  import MuiPaper from "@mui/material/Paper";
5776
- import { styled as styled36 } from "@mui/material/styles";
5777
- import { jsx as jsx51 } from "react/jsx-runtime";
5778
- var StyledPaper = styled36(MuiPaper)({
6136
+ import { styled as styled38 } from "@mui/material/styles";
6137
+ import { jsx as jsx53 } from "react/jsx-runtime";
6138
+ var StyledPaper = styled38(MuiPaper)({
5779
6139
  borderRadius: 8,
5780
6140
  "&.MuiPaper-elevation": {
5781
6141
  boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.08)"
@@ -5786,28 +6146,28 @@ var StyledPaper = styled36(MuiPaper)({
5786
6146
  }
5787
6147
  });
5788
6148
  var Paper2 = ({ variant = "elevation", ...props }) => {
5789
- return /* @__PURE__ */ jsx51(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
6149
+ return /* @__PURE__ */ jsx53(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
5790
6150
  };
5791
6151
 
5792
6152
  // src/components/layout/Divider.tsx
5793
6153
  import MuiDivider from "@mui/material/Divider";
5794
- import { styled as styled37 } from "@mui/material/styles";
5795
- import { jsx as jsx52 } from "react/jsx-runtime";
5796
- var StyledDivider = styled37(MuiDivider)({
6154
+ import { styled as styled39 } from "@mui/material/styles";
6155
+ import { jsx as jsx54 } from "react/jsx-runtime";
6156
+ var StyledDivider2 = styled39(MuiDivider)({
5797
6157
  borderColor: colors.grey[200]
5798
6158
  });
5799
- var Divider4 = ({ ...props }) => {
5800
- return /* @__PURE__ */ jsx52(StyledDivider, { ...props });
6159
+ var Divider6 = ({ ...props }) => {
6160
+ return /* @__PURE__ */ jsx54(StyledDivider2, { ...props });
5801
6161
  };
5802
6162
 
5803
6163
  // src/components/layout/Stack.tsx
5804
6164
  import { Stack as Stack3 } from "@mui/material";
5805
6165
 
5806
6166
  // src/components/layout/Box.tsx
5807
- import { Box as Box15 } from "@mui/material";
6167
+ import { Box as Box17 } from "@mui/material";
5808
6168
 
5809
6169
  // src/components/layout/Typography.tsx
5810
- import { Typography as Typography12 } from "@mui/material";
6170
+ import { Typography as Typography14 } from "@mui/material";
5811
6171
 
5812
6172
  // src/components/layout/Container.tsx
5813
6173
  import { Container as Container2 } from "@mui/material";
@@ -5817,9 +6177,9 @@ import {
5817
6177
  AppBar as MuiAppBar,
5818
6178
  Toolbar
5819
6179
  } from "@mui/material";
5820
- import { styled as styled38 } from "@mui/material/styles";
5821
- import { jsx as jsx53 } from "react/jsx-runtime";
5822
- var StyledAppBar = styled38(MuiAppBar, {
6180
+ import { styled as styled40 } from "@mui/material/styles";
6181
+ import { jsx as jsx55 } from "react/jsx-runtime";
6182
+ var StyledAppBar = styled40(MuiAppBar, {
5823
6183
  shouldForwardProp: (prop) => prop !== "appBarHeight"
5824
6184
  })(({ appBarHeight = 64 }) => ({
5825
6185
  backgroundColor: colors.background.paper,
@@ -5828,33 +6188,33 @@ var StyledAppBar = styled38(MuiAppBar, {
5828
6188
  height: appBarHeight,
5829
6189
  zIndex: 1300
5830
6190
  }));
5831
- var StyledToolbar = styled38(Toolbar)(({ theme: theme2 }) => ({
6191
+ var StyledToolbar = styled40(Toolbar)(({ theme: theme2 }) => ({
5832
6192
  height: "100%",
5833
6193
  paddingLeft: theme2.spacing(2),
5834
6194
  paddingRight: theme2.spacing(2),
5835
6195
  gap: theme2.spacing(2)
5836
6196
  }));
5837
6197
  var AppBar = ({ height = 64, children, ...props }) => {
5838
- return /* @__PURE__ */ jsx53(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx53(StyledToolbar, { children }) });
6198
+ return /* @__PURE__ */ jsx55(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx55(StyledToolbar, { children }) });
5839
6199
  };
5840
6200
 
5841
6201
  // src/components/layout/Collapse.tsx
5842
6202
  import {
5843
6203
  Collapse as MuiCollapse
5844
6204
  } from "@mui/material";
5845
- import { jsx as jsx54 } from "react/jsx-runtime";
6205
+ import { jsx as jsx56 } from "react/jsx-runtime";
5846
6206
  var Collapse = (props) => {
5847
- return /* @__PURE__ */ jsx54(MuiCollapse, { ...props });
6207
+ return /* @__PURE__ */ jsx56(MuiCollapse, { ...props });
5848
6208
  };
5849
6209
 
5850
6210
  // src/components/feedback/Alert.tsx
5851
- import React10 from "react";
6211
+ import React11 from "react";
5852
6212
  import MuiAlert from "@mui/material/Alert";
5853
6213
  import { AlertTitle as MuiAlertTitle } from "@mui/material";
5854
6214
  import MuiSnackbar from "@mui/material/Snackbar";
5855
- import { styled as styled39 } from "@mui/material/styles";
5856
- import { jsx as jsx55, jsxs as jsxs23 } from "react/jsx-runtime";
5857
- var StyledAlert = styled39(MuiAlert)({
6215
+ import { styled as styled41 } from "@mui/material/styles";
6216
+ import { jsx as jsx57, jsxs as jsxs24 } from "react/jsx-runtime";
6217
+ var StyledAlert = styled41(MuiAlert)({
5858
6218
  borderRadius: 8,
5859
6219
  "&.MuiAlert-filled": {
5860
6220
  borderRadius: 8
@@ -5866,12 +6226,12 @@ var Alert2 = ({
5866
6226
  children,
5867
6227
  ...props
5868
6228
  }) => {
5869
- return /* @__PURE__ */ jsxs23(StyledAlert, { severity, ...props, children: [
5870
- title && /* @__PURE__ */ jsx55(MuiAlertTitle, { children: title }),
6229
+ return /* @__PURE__ */ jsxs24(StyledAlert, { severity, ...props, children: [
6230
+ title && /* @__PURE__ */ jsx57(MuiAlertTitle, { children: title }),
5871
6231
  children
5872
6232
  ] });
5873
6233
  };
5874
- var StyledSnackbar = styled39(MuiSnackbar)({});
6234
+ var StyledSnackbar = styled41(MuiSnackbar)({});
5875
6235
  var Snackbar2 = ({
5876
6236
  message,
5877
6237
  severity = "info",
@@ -5889,7 +6249,7 @@ var Snackbar2 = ({
5889
6249
  }
5890
6250
  onClose?.();
5891
6251
  };
5892
- const content = children || (message ? /* @__PURE__ */ jsx55(
6252
+ const content = children || (message ? /* @__PURE__ */ jsx57(
5893
6253
  Alert2,
5894
6254
  {
5895
6255
  onClose: onClose ? handleClose : void 0,
@@ -5903,9 +6263,9 @@ var Snackbar2 = ({
5903
6263
  if (!content) {
5904
6264
  return null;
5905
6265
  }
5906
- const NoTransition = React10.forwardRef(
6266
+ const NoTransition = React11.forwardRef(
5907
6267
  (props2, ref) => {
5908
- return React10.cloneElement(props2.children, {
6268
+ return React11.cloneElement(props2.children, {
5909
6269
  ref,
5910
6270
  style: {
5911
6271
  ...props2.children.props.style,
@@ -5915,7 +6275,7 @@ var Snackbar2 = ({
5915
6275
  }
5916
6276
  );
5917
6277
  NoTransition.displayName = "NoTransition";
5918
- return /* @__PURE__ */ jsx55(
6278
+ return /* @__PURE__ */ jsx57(
5919
6279
  StyledSnackbar,
5920
6280
  {
5921
6281
  anchorOrigin,
@@ -5935,16 +6295,16 @@ var Snackbar2 = ({
5935
6295
  };
5936
6296
 
5937
6297
  // src/components/feedback/EmptyState.tsx
5938
- import { Box as Box16, Typography as Typography13 } from "@mui/material";
5939
- import { jsx as jsx56, jsxs as jsxs24 } from "react/jsx-runtime";
6298
+ import { Box as Box18, Typography as Typography15 } from "@mui/material";
6299
+ import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
5940
6300
  var EmptyState = ({
5941
6301
  title = "No items found",
5942
6302
  description,
5943
6303
  icon,
5944
6304
  action
5945
6305
  }) => {
5946
- return /* @__PURE__ */ jsxs24(
5947
- Box16,
6306
+ return /* @__PURE__ */ jsxs25(
6307
+ Box18,
5948
6308
  {
5949
6309
  sx: {
5950
6310
  display: "flex",
@@ -5956,8 +6316,8 @@ var EmptyState = ({
5956
6316
  minHeight: 200
5957
6317
  },
5958
6318
  children: [
5959
- icon && /* @__PURE__ */ jsx56(
5960
- Box16,
6319
+ icon && /* @__PURE__ */ jsx58(
6320
+ Box18,
5961
6321
  {
5962
6322
  sx: {
5963
6323
  color: colors.text.secondary,
@@ -5967,24 +6327,24 @@ var EmptyState = ({
5967
6327
  children: icon
5968
6328
  }
5969
6329
  ),
5970
- /* @__PURE__ */ jsx56(Typography13, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
5971
- description && /* @__PURE__ */ jsx56(Typography13, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
5972
- action && /* @__PURE__ */ jsx56(Box16, { children: action })
6330
+ /* @__PURE__ */ jsx58(Typography15, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
6331
+ description && /* @__PURE__ */ jsx58(Typography15, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
6332
+ action && /* @__PURE__ */ jsx58(Box18, { children: action })
5973
6333
  ]
5974
6334
  }
5975
6335
  );
5976
6336
  };
5977
6337
 
5978
6338
  // src/components/feedback/Loading.tsx
5979
- import { Box as Box17, CircularProgress as CircularProgress4, Typography as Typography14 } from "@mui/material";
5980
- import { jsx as jsx57, jsxs as jsxs25 } from "react/jsx-runtime";
6339
+ import { Box as Box19, CircularProgress as CircularProgress4, Typography as Typography16 } from "@mui/material";
6340
+ import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
5981
6341
  var Loading = ({
5982
6342
  message = "Loading...",
5983
6343
  size: size3 = 40,
5984
6344
  fullScreen = false
5985
6345
  }) => {
5986
- const content = /* @__PURE__ */ jsxs25(
5987
- Box17,
6346
+ const content = /* @__PURE__ */ jsxs26(
6347
+ Box19,
5988
6348
  {
5989
6349
  sx: {
5990
6350
  display: "flex",
@@ -6006,8 +6366,8 @@ var Loading = ({
6006
6366
  }
6007
6367
  },
6008
6368
  children: [
6009
- /* @__PURE__ */ jsx57(CircularProgress4, { size: size3, thickness: 4 }),
6010
- message && /* @__PURE__ */ jsx57(Typography14, { variant: "body2", color: "text.secondary", children: message })
6369
+ /* @__PURE__ */ jsx59(CircularProgress4, { size: size3, thickness: 4 }),
6370
+ message && /* @__PURE__ */ jsx59(Typography16, { variant: "body2", color: "text.secondary", children: message })
6011
6371
  ]
6012
6372
  }
6013
6373
  );
@@ -6015,15 +6375,15 @@ var Loading = ({
6015
6375
  };
6016
6376
 
6017
6377
  // src/components/feedback/AppLoading.tsx
6018
- import { Box as Box18, CircularProgress as CircularProgress5, Typography as Typography15 } from "@mui/material";
6019
- import { jsx as jsx58, jsxs as jsxs26 } from "react/jsx-runtime";
6378
+ import { Box as Box20, CircularProgress as CircularProgress5, Typography as Typography17 } from "@mui/material";
6379
+ import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
6020
6380
  var AppLoading = ({
6021
6381
  message = "Loading...",
6022
6382
  logo = "/icons/logo.png",
6023
6383
  sx = {}
6024
6384
  }) => {
6025
- return /* @__PURE__ */ jsxs26(
6026
- Box18,
6385
+ return /* @__PURE__ */ jsxs27(
6386
+ Box20,
6027
6387
  {
6028
6388
  sx: {
6029
6389
  display: "flex",
@@ -6041,8 +6401,8 @@ var AppLoading = ({
6041
6401
  ...sx
6042
6402
  },
6043
6403
  children: [
6044
- logo && /* @__PURE__ */ jsx58(
6045
- Box18,
6404
+ logo && /* @__PURE__ */ jsx60(
6405
+ Box20,
6046
6406
  {
6047
6407
  component: "img",
6048
6408
  src: logo,
@@ -6054,8 +6414,8 @@ var AppLoading = ({
6054
6414
  }
6055
6415
  }
6056
6416
  ),
6057
- /* @__PURE__ */ jsx58(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
6058
- /* @__PURE__ */ jsx58(Typography15, { variant: "body1", color: "text.secondary", children: message })
6417
+ /* @__PURE__ */ jsx60(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
6418
+ /* @__PURE__ */ jsx60(Typography17, { variant: "body1", color: "text.secondary", children: message })
6059
6419
  ]
6060
6420
  }
6061
6421
  );
@@ -6065,22 +6425,22 @@ var AppLoading = ({
6065
6425
  import {
6066
6426
  CircularProgress as MuiCircularProgress
6067
6427
  } from "@mui/material";
6068
- import { jsx as jsx59 } from "react/jsx-runtime";
6428
+ import { jsx as jsx61 } from "react/jsx-runtime";
6069
6429
  var CircularProgress6 = ({
6070
6430
  size: size3 = 40,
6071
6431
  thickness = 4,
6072
6432
  ...props
6073
6433
  }) => {
6074
- return /* @__PURE__ */ jsx59(MuiCircularProgress, { size: size3, thickness, ...props });
6434
+ return /* @__PURE__ */ jsx61(MuiCircularProgress, { size: size3, thickness, ...props });
6075
6435
  };
6076
6436
 
6077
6437
  // src/components/icons/ActivityAppIcon.tsx
6078
6438
  import { memo as memo2 } from "react";
6079
6439
  import { SvgIcon as SvgIcon2 } from "@mui/material";
6080
- import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
6081
- var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
6082
- /* @__PURE__ */ jsx60("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6083
- /* @__PURE__ */ jsx60(
6440
+ import { jsx as jsx62, jsxs as jsxs28 } from "react/jsx-runtime";
6441
+ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs28(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
6442
+ /* @__PURE__ */ jsx62("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6443
+ /* @__PURE__ */ jsx62(
6084
6444
  "rect",
6085
6445
  {
6086
6446
  fill: "none",
@@ -6093,7 +6453,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
6093
6453
  rx: 1.7
6094
6454
  }
6095
6455
  ),
6096
- /* @__PURE__ */ jsx60(
6456
+ /* @__PURE__ */ jsx62(
6097
6457
  "rect",
6098
6458
  {
6099
6459
  fill: "none",
@@ -6106,7 +6466,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
6106
6466
  rx: 1.7
6107
6467
  }
6108
6468
  ),
6109
- /* @__PURE__ */ jsx60(
6469
+ /* @__PURE__ */ jsx62(
6110
6470
  "rect",
6111
6471
  {
6112
6472
  fill: "none",
@@ -6123,9 +6483,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
6123
6483
 
6124
6484
  // src/components/icons/ArrowLeft.tsx
6125
6485
  import { SvgIcon as SvgIcon3 } from "@mui/material";
6126
- import { jsx as jsx61 } from "react/jsx-runtime";
6486
+ import { jsx as jsx63 } from "react/jsx-runtime";
6127
6487
  var LeftArrowIcon = (props) => {
6128
- return /* @__PURE__ */ jsx61(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx61("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx61(
6488
+ return /* @__PURE__ */ jsx63(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx63("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx63(
6129
6489
  "path",
6130
6490
  {
6131
6491
  id: "Vector (Stroke)",
@@ -6139,9 +6499,9 @@ var LeftArrowIcon = (props) => {
6139
6499
 
6140
6500
  // src/components/icons/ArrowRight.tsx
6141
6501
  import { SvgIcon as SvgIcon4 } from "@mui/material";
6142
- import { jsx as jsx62 } from "react/jsx-runtime";
6502
+ import { jsx as jsx64 } from "react/jsx-runtime";
6143
6503
  var RightArrowIcon = (props) => {
6144
- return /* @__PURE__ */ jsx62(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx62(
6504
+ return /* @__PURE__ */ jsx64(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx64(
6145
6505
  "path",
6146
6506
  {
6147
6507
  fillRule: "evenodd",
@@ -6154,10 +6514,10 @@ var RightArrowIcon = (props) => {
6154
6514
 
6155
6515
  // src/components/icons/AvatarIcon.tsx
6156
6516
  import { SvgIcon as SvgIcon5 } from "@mui/material";
6157
- import { jsx as jsx63, jsxs as jsxs28 } from "react/jsx-runtime";
6517
+ import { jsx as jsx65, jsxs as jsxs29 } from "react/jsx-runtime";
6158
6518
  var AvatarIcon = (props) => {
6159
- return /* @__PURE__ */ jsxs28(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
6160
- /* @__PURE__ */ jsx63(
6519
+ return /* @__PURE__ */ jsxs29(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
6520
+ /* @__PURE__ */ jsx65(
6161
6521
  "path",
6162
6522
  {
6163
6523
  fillRule: "evenodd",
@@ -6166,7 +6526,7 @@ var AvatarIcon = (props) => {
6166
6526
  fill: "#1D1B20"
6167
6527
  }
6168
6528
  ),
6169
- /* @__PURE__ */ jsx63(
6529
+ /* @__PURE__ */ jsx65(
6170
6530
  "path",
6171
6531
  {
6172
6532
  fillRule: "evenodd",
@@ -6181,9 +6541,9 @@ var AvatarIcon = (props) => {
6181
6541
  // src/components/icons/BarTrackingIcon.tsx
6182
6542
  import { memo as memo3 } from "react";
6183
6543
  import { SvgIcon as SvgIcon6 } from "@mui/material";
6184
- import { jsx as jsx64, jsxs as jsxs29 } from "react/jsx-runtime";
6185
- var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
6186
- /* @__PURE__ */ jsx64(
6544
+ import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
6545
+ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs30(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
6546
+ /* @__PURE__ */ jsx66(
6187
6547
  "rect",
6188
6548
  {
6189
6549
  x: "7.19922",
@@ -6196,7 +6556,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6196
6556
  fill: "none"
6197
6557
  }
6198
6558
  ),
6199
- /* @__PURE__ */ jsx64(
6559
+ /* @__PURE__ */ jsx66(
6200
6560
  "rect",
6201
6561
  {
6202
6562
  x: "21.0371",
@@ -6209,7 +6569,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6209
6569
  strokeWidth: "2"
6210
6570
  }
6211
6571
  ),
6212
- /* @__PURE__ */ jsx64(
6572
+ /* @__PURE__ */ jsx66(
6213
6573
  "rect",
6214
6574
  {
6215
6575
  x: "40.4746",
@@ -6222,7 +6582,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6222
6582
  strokeWidth: "2"
6223
6583
  }
6224
6584
  ),
6225
- /* @__PURE__ */ jsx64(
6585
+ /* @__PURE__ */ jsx66(
6226
6586
  "rect",
6227
6587
  {
6228
6588
  x: "59.8828",
@@ -6240,8 +6600,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
6240
6600
  // src/components/icons/ClockIcon.tsx
6241
6601
  import { memo as memo4 } from "react";
6242
6602
  import { SvgIcon as SvgIcon7 } from "@mui/material";
6243
- import { jsx as jsx65 } from "react/jsx-runtime";
6244
- var ClockIcon = memo4((props) => /* @__PURE__ */ jsx65(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx65(
6603
+ import { jsx as jsx67 } from "react/jsx-runtime";
6604
+ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx67(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx67(
6245
6605
  "path",
6246
6606
  {
6247
6607
  fill: "currentColor",
@@ -6254,9 +6614,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx65(SvgIcon7, { ...props, vie
6254
6614
  // src/components/icons/CloudFlashIcon.tsx
6255
6615
  import { memo as memo5 } from "react";
6256
6616
  import { SvgIcon as SvgIcon8 } from "@mui/material";
6257
- import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
6258
- var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6259
- /* @__PURE__ */ jsx66(
6617
+ import { jsx as jsx68, jsxs as jsxs31 } from "react/jsx-runtime";
6618
+ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs31(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6619
+ /* @__PURE__ */ jsx68(
6260
6620
  "path",
6261
6621
  {
6262
6622
  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",
@@ -6265,7 +6625,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...prop
6265
6625
  strokeWidth: "2"
6266
6626
  }
6267
6627
  ),
6268
- /* @__PURE__ */ jsx66(
6628
+ /* @__PURE__ */ jsx68(
6269
6629
  "path",
6270
6630
  {
6271
6631
  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",
@@ -6279,9 +6639,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...prop
6279
6639
  // src/components/icons/DecentralizedServerIcon.tsx
6280
6640
  import { memo as memo6 } from "react";
6281
6641
  import { SvgIcon as SvgIcon9 } from "@mui/material";
6282
- import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
6283
- var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
6284
- /* @__PURE__ */ jsx67(
6642
+ import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
6643
+ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
6644
+ /* @__PURE__ */ jsx69(
6285
6645
  "path",
6286
6646
  {
6287
6647
  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",
@@ -6292,7 +6652,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6292
6652
  strokeLinejoin: "round"
6293
6653
  }
6294
6654
  ),
6295
- /* @__PURE__ */ jsx67(
6655
+ /* @__PURE__ */ jsx69(
6296
6656
  "path",
6297
6657
  {
6298
6658
  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",
@@ -6303,7 +6663,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6303
6663
  strokeLinejoin: "round"
6304
6664
  }
6305
6665
  ),
6306
- /* @__PURE__ */ jsx67(
6666
+ /* @__PURE__ */ jsx69(
6307
6667
  "path",
6308
6668
  {
6309
6669
  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",
@@ -6314,7 +6674,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6314
6674
  strokeLinejoin: "round"
6315
6675
  }
6316
6676
  ),
6317
- /* @__PURE__ */ jsx67(
6677
+ /* @__PURE__ */ jsx69(
6318
6678
  "path",
6319
6679
  {
6320
6680
  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",
@@ -6325,7 +6685,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6325
6685
  strokeLinejoin: "round"
6326
6686
  }
6327
6687
  ),
6328
- /* @__PURE__ */ jsx67(
6688
+ /* @__PURE__ */ jsx69(
6329
6689
  "path",
6330
6690
  {
6331
6691
  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",
@@ -6336,7 +6696,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6336
6696
  strokeLinejoin: "round"
6337
6697
  }
6338
6698
  ),
6339
- /* @__PURE__ */ jsx67(
6699
+ /* @__PURE__ */ jsx69(
6340
6700
  "path",
6341
6701
  {
6342
6702
  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",
@@ -6347,7 +6707,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6347
6707
  strokeLinejoin: "round"
6348
6708
  }
6349
6709
  ),
6350
- /* @__PURE__ */ jsx67(
6710
+ /* @__PURE__ */ jsx69(
6351
6711
  "path",
6352
6712
  {
6353
6713
  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",
@@ -6358,7 +6718,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6358
6718
  strokeLinejoin: "round"
6359
6719
  }
6360
6720
  ),
6361
- /* @__PURE__ */ jsx67(
6721
+ /* @__PURE__ */ jsx69(
6362
6722
  "path",
6363
6723
  {
6364
6724
  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",
@@ -6369,7 +6729,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6369
6729
  strokeLinejoin: "round"
6370
6730
  }
6371
6731
  ),
6372
- /* @__PURE__ */ jsx67(
6732
+ /* @__PURE__ */ jsx69(
6373
6733
  "path",
6374
6734
  {
6375
6735
  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",
@@ -6380,7 +6740,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6380
6740
  strokeLinejoin: "round"
6381
6741
  }
6382
6742
  ),
6383
- /* @__PURE__ */ jsx67(
6743
+ /* @__PURE__ */ jsx69(
6384
6744
  "rect",
6385
6745
  {
6386
6746
  x: "22.623",
@@ -6393,7 +6753,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6393
6753
  strokeWidth: "2"
6394
6754
  }
6395
6755
  ),
6396
- /* @__PURE__ */ jsx67(
6756
+ /* @__PURE__ */ jsx69(
6397
6757
  "rect",
6398
6758
  {
6399
6759
  x: "22.623",
@@ -6406,7 +6766,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6406
6766
  strokeWidth: "2"
6407
6767
  }
6408
6768
  ),
6409
- /* @__PURE__ */ jsx67(
6769
+ /* @__PURE__ */ jsx69(
6410
6770
  "rect",
6411
6771
  {
6412
6772
  x: "22.623",
@@ -6419,7 +6779,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6419
6779
  strokeWidth: "2"
6420
6780
  }
6421
6781
  ),
6422
- /* @__PURE__ */ jsx67(
6782
+ /* @__PURE__ */ jsx69(
6423
6783
  "path",
6424
6784
  {
6425
6785
  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",
@@ -6429,7 +6789,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6429
6789
  strokeMiterlimit: "10"
6430
6790
  }
6431
6791
  ),
6432
- /* @__PURE__ */ jsx67(
6792
+ /* @__PURE__ */ jsx69(
6433
6793
  "path",
6434
6794
  {
6435
6795
  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",
@@ -6439,7 +6799,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6439
6799
  strokeMiterlimit: "10"
6440
6800
  }
6441
6801
  ),
6442
- /* @__PURE__ */ jsx67(
6802
+ /* @__PURE__ */ jsx69(
6443
6803
  "path",
6444
6804
  {
6445
6805
  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",
@@ -6454,8 +6814,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
6454
6814
  // src/components/icons/DiscordIcon.tsx
6455
6815
  import { memo as memo7 } from "react";
6456
6816
  import { SvgIcon as SvgIcon10 } from "@mui/material";
6457
- import { jsx as jsx68 } from "react/jsx-runtime";
6458
- var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx68(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx68(
6817
+ import { jsx as jsx70 } from "react/jsx-runtime";
6818
+ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx70(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx70(
6459
6819
  "path",
6460
6820
  {
6461
6821
  fill: "currentColor",
@@ -6466,16 +6826,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx68(SvgIcon10, { ...props,
6466
6826
  // src/components/icons/DownloadIcon.tsx
6467
6827
  import { memo as memo8 } from "react";
6468
6828
  import { SvgIcon as SvgIcon11 } from "@mui/material";
6469
- import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
6470
- var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs32(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6471
- /* @__PURE__ */ jsx69(
6829
+ import { jsx as jsx71, jsxs as jsxs33 } from "react/jsx-runtime";
6830
+ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs33(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6831
+ /* @__PURE__ */ jsx71(
6472
6832
  "path",
6473
6833
  {
6474
6834
  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",
6475
6835
  fill: "currentColor"
6476
6836
  }
6477
6837
  ),
6478
- /* @__PURE__ */ jsx69(
6838
+ /* @__PURE__ */ jsx71(
6479
6839
  "path",
6480
6840
  {
6481
6841
  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",
@@ -6487,11 +6847,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs32(SvgIcon11, { ...props
6487
6847
  // src/components/icons/FilledFolderIcon.tsx
6488
6848
  import { memo as memo9 } from "react";
6489
6849
  import { SvgIcon as SvgIcon12 } from "@mui/material";
6490
- import { jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
6491
- var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs33(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6492
- /* @__PURE__ */ jsx70("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6493
- /* @__PURE__ */ jsx70("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6494
- /* @__PURE__ */ jsx70(
6850
+ import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
6851
+ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs34(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6852
+ /* @__PURE__ */ jsx72("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6853
+ /* @__PURE__ */ jsx72("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6854
+ /* @__PURE__ */ jsx72(
6495
6855
  "path",
6496
6856
  {
6497
6857
  fillRule: "evenodd",
@@ -6505,11 +6865,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs33(SvgIcon12, { sx:
6505
6865
  // src/components/icons/FolderIcon.tsx
6506
6866
  import { memo as memo10 } from "react";
6507
6867
  import { SvgIcon as SvgIcon13 } from "@mui/material";
6508
- import { jsx as jsx71, jsxs as jsxs34 } from "react/jsx-runtime";
6509
- var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs34(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6510
- /* @__PURE__ */ jsx71("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6511
- /* @__PURE__ */ jsx71("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6512
- /* @__PURE__ */ jsx71(
6868
+ import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
6869
+ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs35(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6870
+ /* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6871
+ /* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6872
+ /* @__PURE__ */ jsx73(
6513
6873
  "path",
6514
6874
  {
6515
6875
  fillRule: "evenodd",
@@ -6525,16 +6885,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs34(SvgIcon13, { sx: { fil
6525
6885
  // src/components/icons/GithubLogoIcon.tsx
6526
6886
  import { memo as memo11 } from "react";
6527
6887
  import { SvgIcon as SvgIcon14 } from "@mui/material";
6528
- import { jsx as jsx72, jsxs as jsxs35 } from "react/jsx-runtime";
6529
- var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs35(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6530
- /* @__PURE__ */ jsx72(
6888
+ import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
6889
+ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs36(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6890
+ /* @__PURE__ */ jsx74(
6531
6891
  "path",
6532
6892
  {
6533
6893
  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",
6534
6894
  fill: "white"
6535
6895
  }
6536
6896
  ),
6537
- /* @__PURE__ */ jsx72(
6897
+ /* @__PURE__ */ jsx74(
6538
6898
  "path",
6539
6899
  {
6540
6900
  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",
@@ -6546,8 +6906,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs35(SvgIcon14, { ...pr
6546
6906
  // src/components/icons/ShareIcon.tsx
6547
6907
  import { memo as memo12 } from "react";
6548
6908
  import { SvgIcon as SvgIcon15 } from "@mui/material";
6549
- import { jsx as jsx73 } from "react/jsx-runtime";
6550
- var ShareIcon = memo12((props) => /* @__PURE__ */ jsx73(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx73(
6909
+ import { jsx as jsx75 } from "react/jsx-runtime";
6910
+ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx75(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx75(
6551
6911
  "path",
6552
6912
  {
6553
6913
  fillRule: "evenodd",
@@ -6560,9 +6920,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx73(SvgIcon15, { ...props, v
6560
6920
  // src/components/icons/StorageAppIcon.tsx
6561
6921
  import { memo as memo13 } from "react";
6562
6922
  import { SvgIcon as SvgIcon16 } from "@mui/material";
6563
- import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
6564
- var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
6565
- /* @__PURE__ */ jsx74(
6923
+ import { jsx as jsx76, jsxs as jsxs37 } from "react/jsx-runtime";
6924
+ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs37(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
6925
+ /* @__PURE__ */ jsx76(
6566
6926
  "path",
6567
6927
  {
6568
6928
  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",
@@ -6571,7 +6931,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...pr
6571
6931
  fill: "none"
6572
6932
  }
6573
6933
  ),
6574
- /* @__PURE__ */ jsx74(
6934
+ /* @__PURE__ */ jsx76(
6575
6935
  "path",
6576
6936
  {
6577
6937
  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",
@@ -6585,8 +6945,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...pr
6585
6945
  // src/components/icons/UploadFileIcon.tsx
6586
6946
  import { memo as memo14 } from "react";
6587
6947
  import { SvgIcon as SvgIcon17 } from "@mui/material";
6588
- import { jsx as jsx75 } from "react/jsx-runtime";
6589
- var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx75(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx75(
6948
+ import { jsx as jsx77 } from "react/jsx-runtime";
6949
+ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx77(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx77(
6590
6950
  "path",
6591
6951
  {
6592
6952
  fillRule: "evenodd",
@@ -6601,8 +6961,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx75(SvgIcon17, { ...pro
6601
6961
  // src/components/icons/UploadFolderIcon.tsx
6602
6962
  import { memo as memo15 } from "react";
6603
6963
  import { SvgIcon as SvgIcon18 } from "@mui/material";
6604
- import { jsx as jsx76 } from "react/jsx-runtime";
6605
- var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx76(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx76(
6964
+ import { jsx as jsx78 } from "react/jsx-runtime";
6965
+ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx78(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx78(
6606
6966
  "path",
6607
6967
  {
6608
6968
  fillRule: "evenodd",
@@ -6615,14 +6975,14 @@ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx76(SvgIcon18, { ...p
6615
6975
  ) }));
6616
6976
 
6617
6977
  // src/components/utilities/Markdown/Markdown.tsx
6618
- import { Box as Box19, styled as styled40 } from "@mui/material";
6978
+ import { Box as Box21, styled as styled42 } from "@mui/material";
6619
6979
  import "highlight.js/styles/github.css";
6620
6980
  import "github-markdown-css/github-markdown-light.css";
6621
6981
  import MD from "react-markdown";
6622
6982
  import highlight from "rehype-highlight";
6623
6983
  import rehypeRaw from "rehype-raw";
6624
- import { jsx as jsx77 } from "react/jsx-runtime";
6625
- var Content = styled40(Box19)(({ theme: theme2 }) => ({
6984
+ import { jsx as jsx79 } from "react/jsx-runtime";
6985
+ var Content = styled42(Box21)(({ theme: theme2 }) => ({
6626
6986
  backgroundColor: "transparent",
6627
6987
  ...theme2.typography.body1,
6628
6988
  color: theme2.palette.text.primary,
@@ -6639,14 +6999,14 @@ var Content = styled40(Box19)(({ theme: theme2 }) => ({
6639
6999
  backgroundColor: theme2.palette.background.paper
6640
7000
  }
6641
7001
  }));
6642
- var Markdown = ({ content, children }) => /* @__PURE__ */ jsx77(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx77(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
7002
+ var Markdown = ({ content, children }) => /* @__PURE__ */ jsx79(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx79(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
6643
7003
 
6644
7004
  // src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
6645
- import { createContext as createContext2, useContext as useContext2, useState as useState8, useCallback as useCallback6, useEffect as useEffect2 } from "react";
6646
- import { jsx as jsx78 } from "react/jsx-runtime";
6647
- var OnboardingContext = createContext2(void 0);
7005
+ import { createContext, useContext, useState as useState8, useCallback as useCallback5, useEffect } from "react";
7006
+ import { jsx as jsx80 } from "react/jsx-runtime";
7007
+ var OnboardingContext = createContext(void 0);
6648
7008
  var useOnboarding = () => {
6649
- const context = useContext2(OnboardingContext);
7009
+ const context = useContext(OnboardingContext);
6650
7010
  if (!context) {
6651
7011
  throw new Error("useOnboarding should be used inside OnboardingProvider");
6652
7012
  }
@@ -6657,18 +7017,18 @@ var OnboardingProvider = ({ children }) => {
6657
7017
  const savedState = localStorage.getItem("isOnboardingActive");
6658
7018
  return savedState !== null ? JSON.parse(savedState) : true;
6659
7019
  });
6660
- useEffect2(() => {
7020
+ useEffect(() => {
6661
7021
  localStorage.setItem("isOnboardingActive", JSON.stringify(isOnboardingActive));
6662
7022
  }, [isOnboardingActive]);
6663
- const startOnboarding = useCallback6(() => setIsOnboardingActive(true), []);
6664
- const stopOnboarding = useCallback6(() => {
7023
+ const startOnboarding = useCallback5(() => setIsOnboardingActive(true), []);
7024
+ const stopOnboarding = useCallback5(() => {
6665
7025
  setIsOnboardingActive(false);
6666
7026
  }, []);
6667
- const restartOnboarding = useCallback6(() => {
7027
+ const restartOnboarding = useCallback5(() => {
6668
7028
  setIsOnboardingActive(false);
6669
7029
  setTimeout(() => setIsOnboardingActive(true), 0);
6670
7030
  }, []);
6671
- return /* @__PURE__ */ jsx78(
7031
+ return /* @__PURE__ */ jsx80(
6672
7032
  OnboardingContext.Provider,
6673
7033
  {
6674
7034
  value: {
@@ -6683,7 +7043,7 @@ var OnboardingProvider = ({ children }) => {
6683
7043
  };
6684
7044
 
6685
7045
  // src/components/utilities/Truncate/Truncate.tsx
6686
- import { jsx as jsx79 } from "react/jsx-runtime";
7046
+ import { jsx as jsx81 } from "react/jsx-runtime";
6687
7047
  var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
6688
7048
  if (variant === "hex") {
6689
7049
  return 4;
@@ -6707,30 +7067,30 @@ var Truncate = ({
6707
7067
  const truncated = text.slice(0, maxLength - endingLength);
6708
7068
  truncatedText = [truncated, ending].filter(Boolean).join("...");
6709
7069
  }
6710
- return /* @__PURE__ */ jsx79("span", { ...props, "data-full": text, children: truncatedText });
7070
+ return /* @__PURE__ */ jsx81("span", { ...props, "data-full": text, children: truncatedText });
6711
7071
  };
6712
7072
 
6713
7073
  // src/components/utilities/BytesSize/BytesSize.tsx
6714
7074
  import size from "byte-size";
6715
- import { Fragment as Fragment10, jsx as jsx80 } from "react/jsx-runtime";
7075
+ import { Fragment as Fragment12, jsx as jsx82 } from "react/jsx-runtime";
6716
7076
  var BytesSize = ({ bytes }) => {
6717
- return /* @__PURE__ */ jsx80(Fragment10, { children: size(bytes).toString() });
7077
+ return /* @__PURE__ */ jsx82(Fragment12, { children: size(bytes).toString() });
6718
7078
  };
6719
7079
 
6720
7080
  // src/components/utilities/QRCode/QRCode.tsx
6721
7081
  import { forwardRef as forwardRef2 } from "react";
6722
7082
  import QR from "react-qr-code";
6723
- import { jsx as jsx81 } from "react/jsx-runtime";
6724
- var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx81(QR, { ref, size: size3, ...props }));
7083
+ import { jsx as jsx83 } from "react/jsx-runtime";
7084
+ var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx83(QR, { ref, size: size3, ...props }));
6725
7085
  QRCode.displayName = "QRCode";
6726
7086
 
6727
7087
  // src/components/charts/ChartWidget/ChartWidget.tsx
6728
- import { Box as Box20, Stack as Stack4, Typography as Typography16, styled as styled41, useTheme as useTheme3 } from "@mui/material";
7088
+ import { Box as Box22, Stack as Stack4, Typography as Typography18, styled as styled43, useTheme as useTheme3 } from "@mui/material";
6729
7089
  import { LineChart } from "@mui/x-charts";
6730
7090
  import size2 from "byte-size";
6731
7091
  import { format } from "date-fns";
6732
- import { jsx as jsx82, jsxs as jsxs37 } from "react/jsx-runtime";
6733
- var Chart = styled41(Box20)(() => ({
7092
+ import { jsx as jsx84, jsxs as jsxs38 } from "react/jsx-runtime";
7093
+ var Chart = styled43(Box22)(() => ({
6734
7094
  height: 200
6735
7095
  }));
6736
7096
  var ChartWidget = ({
@@ -6740,10 +7100,10 @@ var ChartWidget = ({
6740
7100
  formatValue = (value2) => size2(value2 || 0).toString()
6741
7101
  }) => {
6742
7102
  const theme2 = useTheme3();
6743
- return /* @__PURE__ */ jsxs37(Stack4, { spacing: 1, children: [
6744
- /* @__PURE__ */ jsx82(Typography16, { variant: "caption", color: "text.secondary", children: title }),
6745
- /* @__PURE__ */ jsx82(Typography16, { fontWeight: "bold", children: value }),
6746
- /* @__PURE__ */ jsx82(Chart, { children: /* @__PURE__ */ jsx82(
7103
+ return /* @__PURE__ */ jsxs38(Stack4, { spacing: 1, children: [
7104
+ /* @__PURE__ */ jsx84(Typography18, { variant: "caption", color: "text.secondary", children: title }),
7105
+ /* @__PURE__ */ jsx84(Typography18, { fontWeight: "bold", children: value }),
7106
+ /* @__PURE__ */ jsx84(Chart, { children: /* @__PURE__ */ jsx84(
6747
7107
  LineChart,
6748
7108
  {
6749
7109
  dataset: history || [],
@@ -6801,11 +7161,11 @@ var ChartWidget = ({
6801
7161
  import { format as format2, startOfDay, subHours, subWeeks, subMonths } from "date-fns";
6802
7162
  import { LineChart as LineChart2 } from "@mui/x-charts";
6803
7163
  import { useDrawingArea, useYScale } from "@mui/x-charts/hooks";
6804
- 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";
7164
+ 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";
6805
7165
 
6806
7166
  // src/components/charts/MetricsChart/PeriodSelect.tsx
6807
- import { MenuItem as MenuItem2, TextField as TextField4 } from "@mui/material";
6808
- import { jsx as jsx83 } from "react/jsx-runtime";
7167
+ import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
7168
+ import { jsx as jsx85 } from "react/jsx-runtime";
6809
7169
  var options = [
6810
7170
  /**
6811
7171
  * TODO: Enable the options below when the backend supports them
@@ -6815,7 +7175,7 @@ var options = [
6815
7175
  { value: "week", label: "1 week" },
6816
7176
  { value: "month", label: "1 month" }
6817
7177
  ];
6818
- var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx83(
7178
+ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx85(
6819
7179
  TextField4,
6820
7180
  {
6821
7181
  select: true,
@@ -6823,13 +7183,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx83(
6823
7183
  value,
6824
7184
  defaultValue: options[0].value,
6825
7185
  onChange: (e) => onChange?.(e.target.value),
6826
- children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx83(MenuItem2, { value: value2, children: label }, value2))
7186
+ children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx85(MenuItem3, { value: value2, children: label }, value2))
6827
7187
  }
6828
7188
  );
6829
7189
 
6830
7190
  // src/components/charts/MetricsChart/MetricsChart.tsx
6831
7191
  import { useMemo, useState as useState9 } from "react";
6832
- import { jsx as jsx84, jsxs as jsxs38 } from "react/jsx-runtime";
7192
+ import { jsx as jsx86, jsxs as jsxs39 } from "react/jsx-runtime";
6833
7193
  var mapPeriodToFromDate = (period = "month") => {
6834
7194
  const date = /* @__PURE__ */ new Date();
6835
7195
  if (period === "hour") {
@@ -6843,14 +7203,14 @@ var mapPeriodToFromDate = (period = "month") => {
6843
7203
  }
6844
7204
  return startOfDay(subMonths(date, 1));
6845
7205
  };
6846
- var Chart2 = styled42(LineChart2)({
7206
+ var Chart2 = styled44(LineChart2)({
6847
7207
  height: 320,
6848
7208
  marginBottom: 16
6849
7209
  });
6850
- var NoDataRect = styled42("rect")({
7210
+ var NoDataRect = styled44("rect")({
6851
7211
  fill: "#F5F6FF"
6852
7212
  });
6853
- var LoadingText = styled42("text")(({ theme: theme2 }) => ({
7213
+ var LoadingText = styled44("text")(({ theme: theme2 }) => ({
6854
7214
  stroke: "none",
6855
7215
  fill: theme2.palette.text.primary,
6856
7216
  shapeRendering: "crispEdges",
@@ -6889,15 +7249,15 @@ var MetricsChart = ({ history = [] }) => {
6889
7249
  const backgroundHeight = textHeight + padding.top + padding.bottom;
6890
7250
  const rectX = left + (width - backgroundWidth) / 2;
6891
7251
  const rectY = top + (height - backgroundHeight) / 2;
6892
- return /* @__PURE__ */ jsxs38("g", { children: [
6893
- /* @__PURE__ */ jsx84(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
6894
- /* @__PURE__ */ jsx84(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
7252
+ return /* @__PURE__ */ jsxs39("g", { children: [
7253
+ /* @__PURE__ */ jsx86(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
7254
+ /* @__PURE__ */ jsx86(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
6895
7255
  ] });
6896
7256
  };
6897
- return /* @__PURE__ */ jsxs38(Card2, { children: [
6898
- /* @__PURE__ */ jsx84(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx84(PeriodSelect, { value: period, onChange: setPeriod }) }),
6899
- /* @__PURE__ */ jsxs38(CardMedia, { children: [
6900
- /* @__PURE__ */ jsx84(
7257
+ return /* @__PURE__ */ jsxs39(Card2, { children: [
7258
+ /* @__PURE__ */ jsx86(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx86(PeriodSelect, { value: period, onChange: setPeriod }) }),
7259
+ /* @__PURE__ */ jsxs39(CardMedia, { children: [
7260
+ /* @__PURE__ */ jsx86(
6901
7261
  Chart2,
6902
7262
  {
6903
7263
  skipAnimation: true,
@@ -6958,35 +7318,35 @@ var MetricsChart = ({ history = [] }) => {
6958
7318
  ]
6959
7319
  }
6960
7320
  ),
6961
- periodHistory.length > 0 && /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
6962
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
6963
- /* @__PURE__ */ jsx84(Box21, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
6964
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", children: "Get" })
7321
+ periodHistory.length > 0 && /* @__PURE__ */ jsxs39(Stack5, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
7322
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
7323
+ /* @__PURE__ */ jsx86(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
7324
+ /* @__PURE__ */ jsx86(Typography19, { variant: "body2", children: "Get" })
6965
7325
  ] }),
6966
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
6967
- /* @__PURE__ */ jsx84(Box21, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
6968
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", children: "Put" })
7326
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
7327
+ /* @__PURE__ */ jsx86(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
7328
+ /* @__PURE__ */ jsx86(Typography19, { variant: "body2", children: "Put" })
6969
7329
  ] })
6970
7330
  ] })
6971
7331
  ] }),
6972
- /* @__PURE__ */ jsxs38(CardMedia, { children: [
6973
- /* @__PURE__ */ jsx84(Divider5, { flexItem: true }),
6974
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", spacing: 2, padding: 2, children: [
6975
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6976
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
6977
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: total.gets })
7332
+ /* @__PURE__ */ jsxs39(CardMedia, { children: [
7333
+ /* @__PURE__ */ jsx86(Divider7, { flexItem: true }),
7334
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", spacing: 2, padding: 2, children: [
7335
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7336
+ /* @__PURE__ */ jsx86(Typography19, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
7337
+ /* @__PURE__ */ jsx86(Typography19, { variant: "h3", children: total.gets })
6978
7338
  ] }),
6979
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6980
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
6981
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: total.puts })
7339
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7340
+ /* @__PURE__ */ jsx86(Typography19, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
7341
+ /* @__PURE__ */ jsx86(Typography19, { variant: "h3", children: total.puts })
6982
7342
  ] }),
6983
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6984
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
6985
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: /* @__PURE__ */ jsx84(BytesSize, { bytes: total.transferredBytes }) })
7343
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7344
+ /* @__PURE__ */ jsx86(Typography19, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
7345
+ /* @__PURE__ */ jsx86(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx86(BytesSize, { bytes: total.transferredBytes }) })
6986
7346
  ] }),
6987
- /* @__PURE__ */ jsxs38(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
6988
- /* @__PURE__ */ jsx84(Typography17, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
6989
- /* @__PURE__ */ jsx84(Typography17, { variant: "h3", children: /* @__PURE__ */ jsx84(BytesSize, { bytes: total.storedBytes }) })
7347
+ /* @__PURE__ */ jsxs39(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7348
+ /* @__PURE__ */ jsx86(Typography19, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
7349
+ /* @__PURE__ */ jsx86(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx86(BytesSize, { bytes: total.storedBytes }) })
6990
7350
  ] })
6991
7351
  ] })
6992
7352
  ] })
@@ -6994,7 +7354,7 @@ var MetricsChart = ({ history = [] }) => {
6994
7354
  };
6995
7355
 
6996
7356
  // src/components/third-party/FlowEditor.tsx
6997
- import { useCallback as useCallback7 } from "react";
7357
+ import { useCallback as useCallback6 } from "react";
6998
7358
  import ReactFlow, {
6999
7359
  Background,
7000
7360
  Controls,
@@ -7003,10 +7363,10 @@ import ReactFlow, {
7003
7363
  BackgroundVariant,
7004
7364
  ConnectionLineType
7005
7365
  } from "reactflow";
7006
- import { Box as Box22 } from "@mui/material";
7366
+ import { Box as Box24 } from "@mui/material";
7007
7367
  import { useTheme as useTheme5 } from "@mui/material/styles";
7008
7368
  import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
7009
- import { jsx as jsx85, jsxs as jsxs39 } from "react/jsx-runtime";
7369
+ import { jsx as jsx87, jsxs as jsxs40 } from "react/jsx-runtime";
7010
7370
  var FlowEditor = ({
7011
7371
  nodes,
7012
7372
  edges,
@@ -7024,7 +7384,7 @@ var FlowEditor = ({
7024
7384
  ...reactFlowProps
7025
7385
  }) => {
7026
7386
  const theme2 = useTheme5();
7027
- const handleInit = useCallback7(
7387
+ const handleInit = useCallback6(
7028
7388
  (instance) => {
7029
7389
  if (onInit) {
7030
7390
  onInit(instance);
@@ -7032,8 +7392,8 @@ var FlowEditor = ({
7032
7392
  },
7033
7393
  [onInit]
7034
7394
  );
7035
- return /* @__PURE__ */ jsx85(ReactFlowProvider, { children: /* @__PURE__ */ jsx85(
7036
- Box22,
7395
+ return /* @__PURE__ */ jsx87(ReactFlowProvider, { children: /* @__PURE__ */ jsx87(
7396
+ Box24,
7037
7397
  {
7038
7398
  sx: {
7039
7399
  width: "100%",
@@ -7045,7 +7405,7 @@ var FlowEditor = ({
7045
7405
  ...containerProps?.sx
7046
7406
  },
7047
7407
  ...containerProps,
7048
- children: /* @__PURE__ */ jsxs39(
7408
+ children: /* @__PURE__ */ jsxs40(
7049
7409
  ReactFlow,
7050
7410
  {
7051
7411
  nodes,
@@ -7067,7 +7427,7 @@ var FlowEditor = ({
7067
7427
  },
7068
7428
  ...reactFlowProps,
7069
7429
  children: [
7070
- showBackground && /* @__PURE__ */ jsx85(
7430
+ showBackground && /* @__PURE__ */ jsx87(
7071
7431
  Background,
7072
7432
  {
7073
7433
  variant: backgroundVariant,
@@ -7076,8 +7436,8 @@ var FlowEditor = ({
7076
7436
  color: theme2.palette.divider
7077
7437
  }
7078
7438
  ),
7079
- showControls && /* @__PURE__ */ jsx85(Controls, {}),
7080
- showMinimap && /* @__PURE__ */ jsx85(
7439
+ showControls && /* @__PURE__ */ jsx87(Controls, {}),
7440
+ showMinimap && /* @__PURE__ */ jsx87(
7081
7441
  MiniMap,
7082
7442
  {
7083
7443
  nodeColor: (node) => {
@@ -7100,15 +7460,15 @@ var FlowEditor = ({
7100
7460
  };
7101
7461
 
7102
7462
  // src/components/third-party/CodeEditor.tsx
7103
- import { useCallback as useCallback8, useEffect as useEffect3, useState as useState10, useRef as useRef2 } from "react";
7463
+ import { useCallback as useCallback7, useEffect as useEffect2, useState as useState10, useRef as useRef2 } from "react";
7104
7464
  import Editor from "@monaco-editor/react";
7105
- import { Box as Box23, IconButton as IconButton9, Tooltip as Tooltip7 } from "@mui/material";
7465
+ import { Box as Box25, IconButton as IconButton11, Tooltip as Tooltip7 } from "@mui/material";
7106
7466
  import FullscreenIcon from "@mui/icons-material/Fullscreen";
7107
7467
  import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
7108
7468
  import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
7109
7469
  import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
7110
7470
  import ExpandLessIcon from "@mui/icons-material/ExpandLess";
7111
- import { jsx as jsx86, jsxs as jsxs40 } from "react/jsx-runtime";
7471
+ import { jsx as jsx88, jsxs as jsxs41 } from "react/jsx-runtime";
7112
7472
  var configureTypeScript = (monaco) => {
7113
7473
  monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
7114
7474
  target: monaco.languages.typescript.ScriptTarget.ES2020,
@@ -7161,7 +7521,7 @@ var CodeEditor = ({
7161
7521
  );
7162
7522
  const [showProblems, setShowProblems] = useState10(false);
7163
7523
  const [hasUserToggledProblems, setHasUserToggledProblems] = useState10(false);
7164
- useEffect3(() => {
7524
+ useEffect2(() => {
7165
7525
  if (hasUserToggledProblems) return;
7166
7526
  if (validationErrors.length > 0) {
7167
7527
  setShowProblems(true);
@@ -7173,21 +7533,21 @@ var CodeEditor = ({
7173
7533
  const internalMonacoRef = useRef2(null);
7174
7534
  const finalEditorRef = editorRef || internalEditorRef;
7175
7535
  const finalMonacoRef = monacoRef || internalMonacoRef;
7176
- useEffect3(() => {
7536
+ useEffect2(() => {
7177
7537
  if (isFullscreen) {
7178
7538
  setActualHeight("calc(100vh - 80px)");
7179
7539
  } else {
7180
7540
  setActualHeight(typeof height === "number" ? `${height}px` : height);
7181
7541
  }
7182
7542
  }, [height, isFullscreen]);
7183
- const toggleFullscreen = useCallback8(() => {
7543
+ const toggleFullscreen = useCallback7(() => {
7184
7544
  const newFullscreenState = !isFullscreen;
7185
7545
  setIsFullscreen(newFullscreenState);
7186
7546
  if (onFullscreenChange) {
7187
7547
  onFullscreenChange(newFullscreenState);
7188
7548
  }
7189
7549
  }, [isFullscreen, onFullscreenChange]);
7190
- const gotoMarker = useCallback8(
7550
+ const gotoMarker = useCallback7(
7191
7551
  (marker) => {
7192
7552
  const ed = finalEditorRef?.current;
7193
7553
  if (!ed) return;
@@ -7202,7 +7562,7 @@ var CodeEditor = ({
7202
7562
  },
7203
7563
  [finalEditorRef]
7204
7564
  );
7205
- useEffect3(() => {
7565
+ useEffect2(() => {
7206
7566
  if (!isFullscreen) return;
7207
7567
  function escapeHandler(event) {
7208
7568
  if (event.key === "Escape") {
@@ -7219,7 +7579,7 @@ var CodeEditor = ({
7219
7579
  window.removeEventListener("keydown", escapeHandler, { capture: true });
7220
7580
  };
7221
7581
  }, [isFullscreen, onFullscreenChange]);
7222
- const handleEditorDidMount = useCallback8(
7582
+ const handleEditorDidMount = useCallback7(
7223
7583
  (editor, monaco) => {
7224
7584
  console.log("CodeEditor: onMount called", { editor: !!editor, monaco: !!monaco });
7225
7585
  try {
@@ -7273,7 +7633,7 @@ var CodeEditor = ({
7273
7633
  },
7274
7634
  [isFullscreen, onFullscreenChange, onValidate, onMount, finalEditorRef, finalMonacoRef]
7275
7635
  );
7276
- useEffect3(() => {
7636
+ useEffect2(() => {
7277
7637
  if (!isEditorReady || !finalMonacoRef?.current || !typeDefinitions) return;
7278
7638
  const monaco = finalMonacoRef.current;
7279
7639
  const definitions = Array.isArray(typeDefinitions) ? typeDefinitions : [typeDefinitions];
@@ -7295,7 +7655,7 @@ var CodeEditor = ({
7295
7655
  setTsCode(valueStr);
7296
7656
  onChange(valueStr);
7297
7657
  };
7298
- useEffect3(() => {
7658
+ useEffect2(() => {
7299
7659
  if (value !== tsCode) {
7300
7660
  setTsCode(value);
7301
7661
  if (isEditorReady && finalEditorRef?.current) {
@@ -7320,8 +7680,8 @@ var CodeEditor = ({
7320
7680
  theme: themeProp || "vs",
7321
7681
  ...options2
7322
7682
  };
7323
- return /* @__PURE__ */ jsx86(
7324
- Box23,
7683
+ return /* @__PURE__ */ jsx88(
7684
+ Box25,
7325
7685
  {
7326
7686
  sx: {
7327
7687
  display: "flex",
@@ -7341,8 +7701,8 @@ var CodeEditor = ({
7341
7701
  pb: isFullscreen ? 2 : 0,
7342
7702
  overflow: isFullscreen ? "hidden" : "visible"
7343
7703
  },
7344
- children: /* @__PURE__ */ jsxs40(
7345
- Box23,
7704
+ children: /* @__PURE__ */ jsxs41(
7705
+ Box25,
7346
7706
  {
7347
7707
  sx: {
7348
7708
  flex: 1,
@@ -7357,8 +7717,8 @@ var CodeEditor = ({
7357
7717
  },
7358
7718
  ...containerProps,
7359
7719
  children: [
7360
- /* @__PURE__ */ jsx86(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx86(
7361
- IconButton9,
7720
+ /* @__PURE__ */ jsx88(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx88(
7721
+ IconButton11,
7362
7722
  {
7363
7723
  onClick: toggleFullscreen,
7364
7724
  size: "small",
@@ -7375,11 +7735,11 @@ var CodeEditor = ({
7375
7735
  },
7376
7736
  boxShadow: 1
7377
7737
  },
7378
- children: isFullscreen ? /* @__PURE__ */ jsx86(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx86(FullscreenIcon, { fontSize: "small" })
7738
+ children: isFullscreen ? /* @__PURE__ */ jsx88(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx88(FullscreenIcon, { fontSize: "small" })
7379
7739
  }
7380
7740
  ) }),
7381
- /* @__PURE__ */ jsx86(
7382
- Box23,
7741
+ /* @__PURE__ */ jsx88(
7742
+ Box25,
7383
7743
  {
7384
7744
  sx: {
7385
7745
  flex: 1,
@@ -7390,7 +7750,7 @@ var CodeEditor = ({
7390
7750
  position: "relative",
7391
7751
  height: isFullscreen ? "100%" : actualHeight
7392
7752
  },
7393
- children: /* @__PURE__ */ jsx86(
7753
+ children: /* @__PURE__ */ jsx88(
7394
7754
  Editor,
7395
7755
  {
7396
7756
  height: "100%",
@@ -7401,7 +7761,7 @@ var CodeEditor = ({
7401
7761
  onMount: handleEditorDidMount,
7402
7762
  theme: themeProp || "vs",
7403
7763
  options: defaultOptions,
7404
- loading: /* @__PURE__ */ jsx86(Box23, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7764
+ loading: /* @__PURE__ */ jsx88(Box25, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7405
7765
  beforeMount: (monaco) => {
7406
7766
  console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
7407
7767
  }
@@ -7409,8 +7769,8 @@ var CodeEditor = ({
7409
7769
  )
7410
7770
  }
7411
7771
  ),
7412
- validationErrors.length > 0 && /* @__PURE__ */ jsxs40(
7413
- Box23,
7772
+ validationErrors.length > 0 && /* @__PURE__ */ jsxs41(
7773
+ Box25,
7414
7774
  {
7415
7775
  sx: {
7416
7776
  borderTop: 1,
@@ -7423,8 +7783,8 @@ var CodeEditor = ({
7423
7783
  transition: "max-height 0.2s ease"
7424
7784
  },
7425
7785
  children: [
7426
- /* @__PURE__ */ jsxs40(
7427
- Box23,
7786
+ /* @__PURE__ */ jsxs41(
7787
+ Box25,
7428
7788
  {
7429
7789
  sx: {
7430
7790
  display: "flex",
@@ -7438,16 +7798,16 @@ var CodeEditor = ({
7438
7798
  color: "text.secondary"
7439
7799
  },
7440
7800
  children: [
7441
- /* @__PURE__ */ jsx86(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
7442
- /* @__PURE__ */ jsx86(Box23, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7443
- /* @__PURE__ */ jsxs40(Box23, { sx: { ml: 1 }, children: [
7801
+ /* @__PURE__ */ jsx88(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
7802
+ /* @__PURE__ */ jsx88(Box25, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7803
+ /* @__PURE__ */ jsxs41(Box25, { sx: { ml: 1 }, children: [
7444
7804
  validationErrors.length,
7445
7805
  " error",
7446
7806
  validationErrors.length > 1 ? "s" : ""
7447
7807
  ] }),
7448
- /* @__PURE__ */ jsx86(Box23, { sx: { flex: 1 } }),
7449
- /* @__PURE__ */ jsx86(
7450
- IconButton9,
7808
+ /* @__PURE__ */ jsx88(Box25, { sx: { flex: 1 } }),
7809
+ /* @__PURE__ */ jsx88(
7810
+ IconButton11,
7451
7811
  {
7452
7812
  size: "small",
7453
7813
  "aria-label": "Toggle problems panel",
@@ -7455,14 +7815,14 @@ var CodeEditor = ({
7455
7815
  setHasUserToggledProblems(true);
7456
7816
  setShowProblems((s) => !s);
7457
7817
  },
7458
- children: showProblems ? /* @__PURE__ */ jsx86(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx86(ExpandLessIcon, { fontSize: "small" })
7818
+ children: showProblems ? /* @__PURE__ */ jsx88(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx88(ExpandLessIcon, { fontSize: "small" })
7459
7819
  }
7460
7820
  )
7461
7821
  ]
7462
7822
  }
7463
7823
  ),
7464
- showProblems && /* @__PURE__ */ jsx86(Box23, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs40(
7465
- Box23,
7824
+ showProblems && /* @__PURE__ */ jsx88(Box25, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs41(
7825
+ Box25,
7466
7826
  {
7467
7827
  onClick: () => gotoMarker(error),
7468
7828
  sx: {
@@ -7478,12 +7838,12 @@ var CodeEditor = ({
7478
7838
  fontSize: "0.85rem"
7479
7839
  },
7480
7840
  children: [
7481
- /* @__PURE__ */ jsx86(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
7482
- /* @__PURE__ */ jsxs40(Box23, { sx: { color: "text.secondary", width: 64 }, children: [
7841
+ /* @__PURE__ */ jsx88(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
7842
+ /* @__PURE__ */ jsxs41(Box25, { sx: { color: "text.secondary", width: 64 }, children: [
7483
7843
  "Line ",
7484
7844
  error.startLineNumber
7485
7845
  ] }),
7486
- /* @__PURE__ */ jsx86(Box23, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
7846
+ /* @__PURE__ */ jsx88(Box25, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
7487
7847
  ]
7488
7848
  },
7489
7849
  `${error.startLineNumber}-${error.startColumn}-${index}`
@@ -7513,7 +7873,7 @@ export {
7513
7873
  BackgroundVariant2 as BackgroundVariant,
7514
7874
  Badge,
7515
7875
  BarTrackingIcon,
7516
- Box15 as Box,
7876
+ Box17 as Box,
7517
7877
  Breadcrumbs,
7518
7878
  Button,
7519
7879
  ButtonGroup,
@@ -7543,12 +7903,13 @@ export {
7543
7903
  DeploymentEntityContextMenu,
7544
7904
  Dialog,
7545
7905
  DiscordIcon,
7546
- Divider4 as Divider,
7906
+ Divider6 as Divider,
7547
7907
  DownloadIcon,
7548
7908
  Drawer2 as Drawer,
7549
7909
  Dropdown,
7550
7910
  DropdownAnchor,
7551
7911
  EmptyState,
7912
+ EntityHeader,
7552
7913
  FilledFolderIcon,
7553
7914
  FlowEditor,
7554
7915
  FolderIcon,
@@ -7558,6 +7919,7 @@ export {
7558
7919
  FormLabel,
7559
7920
  GithubLogoIcon,
7560
7921
  Grid2 as Grid,
7922
+ IDBlock,
7561
7923
  IconButton,
7562
7924
  InputAdornment2 as InputAdornment,
7563
7925
  InputLabel,
@@ -7575,7 +7937,6 @@ export {
7575
7937
  Markdown,
7576
7938
  Menu3 as Menu,
7577
7939
  MenuItem,
7578
- MessagesProvider,
7579
7940
  MetricsChart,
7580
7941
  MiniMap2 as MiniMap,
7581
7942
  NavigationItem,
@@ -7590,6 +7951,7 @@ export {
7590
7951
  Radio,
7591
7952
  RadioGroup,
7592
7953
  RightArrowIcon,
7954
+ RoleBadge,
7593
7955
  SearchField,
7594
7956
  Selector,
7595
7957
  ServiceSelectorButton,
@@ -7616,17 +7978,18 @@ export {
7616
7978
  Toolbar,
7617
7979
  Tooltip6 as Tooltip,
7618
7980
  Truncate,
7619
- Typography12 as Typography,
7981
+ Typography14 as Typography,
7620
7982
  UploadFileIcon,
7621
7983
  UploadFolderIcon,
7622
7984
  WorkspaceSelectorButton,
7623
7985
  colors,
7624
7986
  contextMenuItems,
7987
+ robPaletteExtended,
7988
+ robPrimaryPalette,
7625
7989
  theme,
7626
7990
  useIsDesktop,
7627
7991
  useIsMobile,
7628
7992
  useIsTablet,
7629
- useMessages,
7630
7993
  useOnboarding
7631
7994
  };
7632
7995
  //# sourceMappingURL=index.mjs.map