@cere/cere-design-system 0.0.20 → 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
@@ -1771,57 +1771,6 @@ var LoadingAnimation = (props) => {
1771
1771
  return /* @__PURE__ */ jsx2(Lottie2, { animationData: loading_default, ...props });
1772
1772
  };
1773
1773
 
1774
- // src/hooks/useMessages.tsx
1775
- import { useState, useCallback, createContext, useContext, useEffect } from "react";
1776
- import { Snackbar, Alert } from "@mui/material";
1777
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
1778
- var MessagesContext = createContext(void 0);
1779
- var useMessages = () => {
1780
- const context = useContext(MessagesContext);
1781
- if (!context) {
1782
- throw new Error("useMessages must be used within a MessagesProvider");
1783
- }
1784
- return context;
1785
- };
1786
- var MessagesProvider = ({ children }) => {
1787
- const [snackPack, setSnackPack] = useState([]);
1788
- const [open, setOpen] = useState(false);
1789
- const [messageInfo, setMessageInfo] = useState(void 0);
1790
- const showMessage = useCallback((options2) => {
1791
- setSnackPack((prev) => [...prev, { ...options2 }]);
1792
- }, []);
1793
- const handleClose = useCallback(() => {
1794
- setOpen(false);
1795
- }, []);
1796
- const handleExited = useCallback(() => {
1797
- setMessageInfo(void 0);
1798
- }, []);
1799
- useEffect(() => {
1800
- if (snackPack.length && !messageInfo) {
1801
- setMessageInfo({ ...snackPack[0] });
1802
- setSnackPack((prev) => prev.slice(1));
1803
- setOpen(true);
1804
- } else if (snackPack.length && messageInfo && open) {
1805
- setOpen(false);
1806
- }
1807
- }, [snackPack, messageInfo, open]);
1808
- return /* @__PURE__ */ jsxs(MessagesContext.Provider, { value: { showMessage }, children: [
1809
- children,
1810
- /* @__PURE__ */ jsx3(
1811
- Snackbar,
1812
- {
1813
- anchorOrigin: messageInfo?.placement || { vertical: "top", horizontal: "center" },
1814
- open,
1815
- autoHideDuration: messageInfo?.autoDismiss ? 3e3 : null,
1816
- onClose: handleClose,
1817
- TransitionProps: { onExited: handleExited },
1818
- children: /* @__PURE__ */ jsx3(Alert, { onClose: handleClose, severity: messageInfo?.appearance, children: messageInfo?.message })
1819
- },
1820
- messageInfo ? messageInfo.message : void 0
1821
- )
1822
- ] });
1823
- };
1824
-
1825
1774
  // src/hooks/useResponsive.ts
1826
1775
  import { useMediaQuery, useTheme } from "@mui/material";
1827
1776
  var useIsDesktop = () => {
@@ -1840,7 +1789,7 @@ var useIsMobile = () => {
1840
1789
  // src/components/buttons/Button.tsx
1841
1790
  import MuiButton from "@mui/material/Button";
1842
1791
  import { styled } from "@mui/material/styles";
1843
- import { jsx as jsx4 } from "react/jsx-runtime";
1792
+ import { jsx as jsx3 } from "react/jsx-runtime";
1844
1793
  var BUTTON_SPACING = {
1845
1794
  borderRadius: "8px",
1846
1795
  padding: "8px 16px",
@@ -1935,13 +1884,13 @@ var Button = ({
1935
1884
  startIcon,
1936
1885
  endIcon
1937
1886
  };
1938
- return /* @__PURE__ */ jsx4(ButtonComponent, { ...buttonProps, children });
1887
+ return /* @__PURE__ */ jsx3(ButtonComponent, { ...buttonProps, children });
1939
1888
  };
1940
1889
 
1941
1890
  // src/components/buttons/IconButton.tsx
1942
1891
  import MuiIconButton from "@mui/material/IconButton";
1943
1892
  import { styled as styled2 } from "@mui/material/styles";
1944
- import { jsx as jsx5 } from "react/jsx-runtime";
1893
+ import { jsx as jsx4 } from "react/jsx-runtime";
1945
1894
  var StyledIconButton = styled2(MuiIconButton, {
1946
1895
  shouldForwardProp: (prop) => prop !== "buttonVariant"
1947
1896
  })(({ buttonVariant = "default" }) => {
@@ -1971,18 +1920,18 @@ var IconButton = ({
1971
1920
  variant = "default",
1972
1921
  ...props
1973
1922
  }) => {
1974
- return /* @__PURE__ */ jsx5(StyledIconButton, { buttonVariant: variant, ...props });
1923
+ return /* @__PURE__ */ jsx4(StyledIconButton, { buttonVariant: variant, ...props });
1975
1924
  };
1976
1925
 
1977
1926
  // src/components/buttons/LoadingButton.tsx
1978
1927
  import { LoadingButton as MuiLoadingButton } from "@mui/lab";
1979
- import { jsx as jsx6 } from "react/jsx-runtime";
1928
+ import { jsx as jsx5 } from "react/jsx-runtime";
1980
1929
  var LoadingButton = ({
1981
1930
  loading = false,
1982
1931
  loadingPosition = "center",
1983
1932
  ...props
1984
1933
  }) => {
1985
- return /* @__PURE__ */ jsx6(
1934
+ return /* @__PURE__ */ jsx5(
1986
1935
  MuiLoadingButton,
1987
1936
  {
1988
1937
  loading,
@@ -1996,14 +1945,14 @@ var LoadingButton = ({
1996
1945
  import {
1997
1946
  ButtonGroup as MuiButtonGroup
1998
1947
  } from "@mui/material";
1999
- import { jsx as jsx7 } from "react/jsx-runtime";
1948
+ import { jsx as jsx6 } from "react/jsx-runtime";
2000
1949
  var ButtonGroup = ({
2001
1950
  orientation = "horizontal",
2002
1951
  size: size3 = "medium",
2003
1952
  variant = "outlined",
2004
1953
  ...props
2005
1954
  }) => {
2006
- return /* @__PURE__ */ jsx7(
1955
+ return /* @__PURE__ */ jsx6(
2007
1956
  MuiButtonGroup,
2008
1957
  {
2009
1958
  orientation,
@@ -2017,7 +1966,7 @@ var ButtonGroup = ({
2017
1966
  // src/components/inputs/TextField.tsx
2018
1967
  import MuiTextField from "@mui/material/TextField";
2019
1968
  import { styled as styled3 } from "@mui/material/styles";
2020
- import { jsx as jsx8 } from "react/jsx-runtime";
1969
+ import { jsx as jsx7 } from "react/jsx-runtime";
2021
1970
  var StyledTextField = styled3(MuiTextField)(({ error }) => ({
2022
1971
  "& .MuiOutlinedInput-root": {
2023
1972
  "&:hover fieldset": {
@@ -2040,13 +1989,13 @@ var TextField = ({
2040
1989
  size: size3 = "medium",
2041
1990
  ...props
2042
1991
  }) => {
2043
- return /* @__PURE__ */ jsx8(StyledTextField, { size: size3 === "medium" ? "medium" : "small", ...props });
1992
+ return /* @__PURE__ */ jsx7(StyledTextField, { size: size3 === "medium" ? "medium" : "small", ...props });
2044
1993
  };
2045
1994
 
2046
1995
  // src/components/inputs/SearchField.tsx
2047
1996
  import SearchIcon from "@mui/icons-material/Search";
2048
1997
  import InputAdornment from "@mui/material/InputAdornment";
2049
- import { jsx as jsx9 } from "react/jsx-runtime";
1998
+ import { jsx as jsx8 } from "react/jsx-runtime";
2050
1999
  var SearchField = ({
2051
2000
  placeholder = "Search...",
2052
2001
  onSearch,
@@ -2061,13 +2010,13 @@ var SearchField = ({
2061
2010
  onSearch(e.target.value);
2062
2011
  }
2063
2012
  };
2064
- return /* @__PURE__ */ jsx9(
2013
+ return /* @__PURE__ */ jsx8(
2065
2014
  TextField,
2066
2015
  {
2067
2016
  placeholder,
2068
2017
  onChange: handleChange,
2069
2018
  InputProps: {
2070
- 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" } }) })
2071
2020
  },
2072
2021
  ...props
2073
2022
  }
@@ -2090,9 +2039,9 @@ import {
2090
2039
  ToggleButtonGroup as MuiToggleButtonGroup
2091
2040
  } from "@mui/material";
2092
2041
  import { styled as styled4 } from "@mui/material/styles";
2093
- import { jsx as jsx10 } from "react/jsx-runtime";
2042
+ import { jsx as jsx9 } from "react/jsx-runtime";
2094
2043
  var ToggleButton = (props) => {
2095
- return /* @__PURE__ */ jsx10(MuiToggleButton, { ...props });
2044
+ return /* @__PURE__ */ jsx9(MuiToggleButton, { ...props });
2096
2045
  };
2097
2046
  var StyledToggleButtonGroup = styled4(MuiToggleButtonGroup)({
2098
2047
  "& .MuiToggleButton-root": {
@@ -2110,13 +2059,13 @@ var StyledToggleButtonGroup = styled4(MuiToggleButtonGroup)({
2110
2059
  }
2111
2060
  });
2112
2061
  var ToggleButtonGroup = (props) => {
2113
- return /* @__PURE__ */ jsx10(StyledToggleButtonGroup, { ...props });
2062
+ return /* @__PURE__ */ jsx9(StyledToggleButtonGroup, { ...props });
2114
2063
  };
2115
2064
 
2116
2065
  // src/components/inputs/Switch.tsx
2117
2066
  import MuiSwitch from "@mui/material/Switch";
2118
2067
  import { styled as styled5 } from "@mui/material/styles";
2119
- import { jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
2068
+ import { jsx as jsx10, jsxs } from "react/jsx-runtime";
2120
2069
  var StyledSwitch = styled5(MuiSwitch)(({ theme: theme2 }) => ({
2121
2070
  width: 44,
2122
2071
  height: 24,
@@ -2168,14 +2117,14 @@ var Switch = ({
2168
2117
  labelPosition = "right",
2169
2118
  ...props
2170
2119
  }) => {
2171
- const switchComponent = /* @__PURE__ */ jsx11(StyledSwitch, { ...props });
2120
+ const switchComponent = /* @__PURE__ */ jsx10(StyledSwitch, { ...props });
2172
2121
  if (!label) {
2173
2122
  return switchComponent;
2174
2123
  }
2175
- return /* @__PURE__ */ jsxs2("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2176
- 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 }),
2177
2126
  switchComponent,
2178
- labelPosition === "right" && /* @__PURE__ */ jsx11("span", { children: label })
2127
+ labelPosition === "right" && /* @__PURE__ */ jsx10("span", { children: label })
2179
2128
  ] });
2180
2129
  };
2181
2130
 
@@ -2183,7 +2132,7 @@ var Switch = ({
2183
2132
  import MuiCheckbox from "@mui/material/Checkbox";
2184
2133
  import { styled as styled6 } from "@mui/material/styles";
2185
2134
  import FormControlLabel2 from "@mui/material/FormControlLabel";
2186
- import { jsx as jsx12 } from "react/jsx-runtime";
2135
+ import { jsx as jsx11 } from "react/jsx-runtime";
2187
2136
  var StyledCheckbox = styled6(MuiCheckbox)(() => ({
2188
2137
  color: colors.grey[400],
2189
2138
  "&.Mui-checked": {
@@ -2208,7 +2157,7 @@ var Checkbox = ({
2208
2157
  labelPosition = "right",
2209
2158
  ...props
2210
2159
  }) => {
2211
- const checkboxComponent = /* @__PURE__ */ jsx12(StyledCheckbox, { ...props });
2160
+ const checkboxComponent = /* @__PURE__ */ jsx11(StyledCheckbox, { ...props });
2212
2161
  if (!label) {
2213
2162
  return checkboxComponent;
2214
2163
  }
@@ -2216,7 +2165,7 @@ var Checkbox = ({
2216
2165
  left: "start",
2217
2166
  right: "end"
2218
2167
  };
2219
- return /* @__PURE__ */ jsx12(
2168
+ return /* @__PURE__ */ jsx11(
2220
2169
  FormControlLabel2,
2221
2170
  {
2222
2171
  control: checkboxComponent,
@@ -2231,7 +2180,7 @@ import MuiRadio from "@mui/material/Radio";
2231
2180
  import { styled as styled7 } from "@mui/material/styles";
2232
2181
  import FormControlLabel3 from "@mui/material/FormControlLabel";
2233
2182
  import RadioGroup from "@mui/material/RadioGroup";
2234
- import { jsx as jsx13 } from "react/jsx-runtime";
2183
+ import { jsx as jsx12 } from "react/jsx-runtime";
2235
2184
  var StyledRadio = styled7(MuiRadio)(() => ({
2236
2185
  color: colors.grey[400],
2237
2186
  "&.Mui-checked": {
@@ -2253,7 +2202,7 @@ var Radio = ({
2253
2202
  labelPosition = "right",
2254
2203
  ...props
2255
2204
  }) => {
2256
- const radioComponent = /* @__PURE__ */ jsx13(StyledRadio, { ...props });
2205
+ const radioComponent = /* @__PURE__ */ jsx12(StyledRadio, { ...props });
2257
2206
  if (!label) {
2258
2207
  return radioComponent;
2259
2208
  }
@@ -2261,7 +2210,7 @@ var Radio = ({
2261
2210
  left: "start",
2262
2211
  right: "end"
2263
2212
  };
2264
- return /* @__PURE__ */ jsx13(
2213
+ return /* @__PURE__ */ jsx12(
2265
2214
  FormControlLabel3,
2266
2215
  {
2267
2216
  control: radioComponent,
@@ -2273,13 +2222,13 @@ var Radio = ({
2273
2222
 
2274
2223
  // src/components/navigation/Dropdown/Dropdown.tsx
2275
2224
  import { Popover } from "@mui/material";
2276
- import { useCallback as useCallback2, useRef } from "react";
2225
+ import { useCallback, useRef } from "react";
2277
2226
 
2278
2227
  // src/components/navigation/Dropdown/DropdownAnchor.tsx
2279
2228
  import { forwardRef } from "react";
2280
2229
  import { Stack, styled as styled8, avatarClasses, Typography, Button as Button2 } from "@mui/material";
2281
2230
  import { ArrowDropUp, ArrowDropDown } from "@mui/icons-material";
2282
- import { jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
2231
+ import { jsx as jsx13, jsxs as jsxs2 } from "react/jsx-runtime";
2283
2232
  var Clickable = styled8(Button2)({
2284
2233
  padding: 0
2285
2234
  });
@@ -2305,16 +2254,16 @@ var Center = styled8(Typography)(({ theme: theme2 }) => ({
2305
2254
  color: theme2.palette.text.primary
2306
2255
  }));
2307
2256
  var DropdownAnchor = forwardRef(
2308
- ({ 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: [
2309
- /* @__PURE__ */ jsx14(Left, { children: leftElement }),
2310
- /* @__PURE__ */ jsx14(Center, { variant: "body1", children: label }),
2311
- 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, {}))
2312
2261
  ] }) })
2313
2262
  );
2314
2263
  DropdownAnchor.displayName = "DropdownAnchor";
2315
2264
 
2316
2265
  // src/components/navigation/Dropdown/Dropdown.tsx
2317
- 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";
2318
2267
  var Dropdown = ({
2319
2268
  open,
2320
2269
  label,
@@ -2326,15 +2275,15 @@ var Dropdown = ({
2326
2275
  disableGutters = false,
2327
2276
  disablePaddings = false,
2328
2277
  variant,
2329
- 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 })
2330
2279
  }) => {
2331
2280
  const anchorRef = useRef(null);
2332
2281
  const horizontal = direction === "left" ? "right" : "left";
2333
- const onOpen = useCallback2(() => onToggle?.(true), [onToggle]);
2282
+ const onOpen = useCallback(() => onToggle?.(true), [onToggle]);
2334
2283
  const padding = dense ? 1 : 2;
2335
- return /* @__PURE__ */ jsxs4(Fragment, { children: [
2284
+ return /* @__PURE__ */ jsxs3(Fragment, { children: [
2336
2285
  renderAnchor({ ref: anchorRef, onOpen, open }),
2337
- /* @__PURE__ */ jsx15(
2286
+ /* @__PURE__ */ jsx14(
2338
2287
  Popover,
2339
2288
  {
2340
2289
  "aria-label": "Overlay",
@@ -2383,7 +2332,7 @@ import {
2383
2332
  ListItemText,
2384
2333
  styled as styled9
2385
2334
  } from "@mui/material";
2386
- import { jsx as jsx16, jsxs as jsxs5 } from "react/jsx-runtime";
2335
+ import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
2387
2336
  var StyledListItemButton = styled9(ListItemButton, {
2388
2337
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "size"
2389
2338
  })(({ selected, size: size3 = "medium" }) => {
@@ -2422,16 +2371,16 @@ var SidebarItem = ({
2422
2371
  endIcon,
2423
2372
  children
2424
2373
  }) => {
2425
- return /* @__PURE__ */ jsxs5(StyledListItemButton, { selected, size: size3, onClick, children: [
2426
- icon && /* @__PURE__ */ jsx16(ListItemIcon, { children: icon }),
2427
- /* @__PURE__ */ jsx16(ListItemText, { primary: label }),
2428
- 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 }),
2429
2378
  children
2430
2379
  ] });
2431
2380
  };
2432
2381
 
2433
2382
  // src/components/navigation/Sidebar.tsx
2434
- import { jsx as jsx17 } from "react/jsx-runtime";
2383
+ import { jsx as jsx16 } from "react/jsx-runtime";
2435
2384
  var StyledDrawer = styled10(Drawer)(() => ({
2436
2385
  "& .MuiDrawer-paper": {
2437
2386
  backgroundColor: colors.background.paper,
@@ -2446,7 +2395,7 @@ var Sidebar = ({
2446
2395
  onClose,
2447
2396
  variant = "permanent"
2448
2397
  }) => {
2449
- return /* @__PURE__ */ jsx17(
2398
+ return /* @__PURE__ */ jsx16(
2450
2399
  StyledDrawer,
2451
2400
  {
2452
2401
  variant,
@@ -2460,13 +2409,13 @@ var Sidebar = ({
2460
2409
  boxSizing: "border-box"
2461
2410
  }
2462
2411
  },
2463
- 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)) }) })
2464
2413
  }
2465
2414
  );
2466
2415
  };
2467
2416
 
2468
2417
  // src/components/navigation/ServiceSelector.tsx
2469
- import { useState as useState2, useCallback as useCallback3 } from "react";
2418
+ import { useState, useCallback as useCallback2 } from "react";
2470
2419
  import {
2471
2420
  Box as Box2,
2472
2421
  Typography as Typography2,
@@ -2492,7 +2441,7 @@ import AddIcon from "@mui/icons-material/Add";
2492
2441
  import CheckIcon from "@mui/icons-material/Check";
2493
2442
  import SettingsIcon from "@mui/icons-material/Settings";
2494
2443
  import PersonAddAltIcon from "@mui/icons-material/PersonAddAlt";
2495
- 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";
2496
2445
  var ServiceSelectorButton = ({
2497
2446
  services,
2498
2447
  selectedServiceId,
@@ -2508,9 +2457,9 @@ var ServiceSelectorButton = ({
2508
2457
  onOpenSettings,
2509
2458
  onOpenAddMember
2510
2459
  }) => {
2511
- const [anchorEl, setAnchorEl] = useState2(null);
2512
- const [searchTerm, setSearchTerm] = useState2("");
2513
- const [showArchived, setShowArchived] = useState2(false);
2460
+ const [anchorEl, setAnchorEl] = useState(null);
2461
+ const [searchTerm, setSearchTerm] = useState("");
2462
+ const [showArchived, setShowArchived] = useState(false);
2514
2463
  const handleOpenSelector = (event) => {
2515
2464
  event.stopPropagation();
2516
2465
  setAnchorEl(event.currentTarget);
@@ -2526,7 +2475,7 @@ var ServiceSelectorButton = ({
2526
2475
  onServiceClick(selectedServiceId);
2527
2476
  }
2528
2477
  };
2529
- const handleSelectService = useCallback3(
2478
+ const handleSelectService = useCallback2(
2530
2479
  (serviceId) => {
2531
2480
  handleClose();
2532
2481
  if (onSelectService) {
@@ -2549,8 +2498,8 @@ var ServiceSelectorButton = ({
2549
2498
  return matchesSearch && matchesArchivedFilter;
2550
2499
  });
2551
2500
  if (compact) {
2552
- return /* @__PURE__ */ jsxs6(Fragment2, { children: [
2553
- /* @__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(
2554
2503
  IconButton2,
2555
2504
  {
2556
2505
  onClick: handleOpenSelector,
@@ -2561,7 +2510,7 @@ var ServiceSelectorButton = ({
2561
2510
  },
2562
2511
  ...sx
2563
2512
  },
2564
- children: /* @__PURE__ */ jsx18(
2513
+ children: /* @__PURE__ */ jsx17(
2565
2514
  Avatar,
2566
2515
  {
2567
2516
  sx: {
@@ -2575,7 +2524,7 @@ var ServiceSelectorButton = ({
2575
2524
  )
2576
2525
  }
2577
2526
  ) }) }),
2578
- /* @__PURE__ */ jsx18(
2527
+ /* @__PURE__ */ jsx17(
2579
2528
  ServiceSelectorPanel,
2580
2529
  {
2581
2530
  open: Boolean(anchorEl),
@@ -2601,10 +2550,10 @@ var ServiceSelectorButton = ({
2601
2550
  )
2602
2551
  ] });
2603
2552
  }
2604
- return /* @__PURE__ */ jsxs6(Fragment2, { children: [
2605
- /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
2606
- selectedService ? /* @__PURE__ */ jsxs6(Fragment2, { children: [
2607
- 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(
2608
2557
  Link,
2609
2558
  {
2610
2559
  underline: "hover",
@@ -2618,7 +2567,7 @@ var ServiceSelectorButton = ({
2618
2567
  mr: 0.5
2619
2568
  },
2620
2569
  children: [
2621
- /* @__PURE__ */ jsx18(
2570
+ /* @__PURE__ */ jsx17(
2622
2571
  Avatar,
2623
2572
  {
2624
2573
  sx: {
@@ -2634,7 +2583,7 @@ var ServiceSelectorButton = ({
2634
2583
  selectedService.name
2635
2584
  ]
2636
2585
  }
2637
- ) : /* @__PURE__ */ jsxs6(
2586
+ ) : /* @__PURE__ */ jsxs5(
2638
2587
  Box2,
2639
2588
  {
2640
2589
  sx: {
@@ -2645,7 +2594,7 @@ var ServiceSelectorButton = ({
2645
2594
  color: "text.primary"
2646
2595
  },
2647
2596
  children: [
2648
- /* @__PURE__ */ jsx18(
2597
+ /* @__PURE__ */ jsx17(
2649
2598
  Avatar,
2650
2599
  {
2651
2600
  sx: {
@@ -2662,7 +2611,7 @@ var ServiceSelectorButton = ({
2662
2611
  ]
2663
2612
  }
2664
2613
  ),
2665
- selectedService.archived && /* @__PURE__ */ jsx18(
2614
+ selectedService.archived && /* @__PURE__ */ jsx17(
2666
2615
  Chip,
2667
2616
  {
2668
2617
  size: "small",
@@ -2678,7 +2627,7 @@ var ServiceSelectorButton = ({
2678
2627
  }
2679
2628
  }
2680
2629
  )
2681
- ] }) : /* @__PURE__ */ jsx18(
2630
+ ] }) : /* @__PURE__ */ jsx17(
2682
2631
  Typography2,
2683
2632
  {
2684
2633
  variant: "body2",
@@ -2689,7 +2638,7 @@ var ServiceSelectorButton = ({
2689
2638
  children: "Select Service"
2690
2639
  }
2691
2640
  ),
2692
- /* @__PURE__ */ jsx18(
2641
+ /* @__PURE__ */ jsx17(
2693
2642
  IconButton2,
2694
2643
  {
2695
2644
  onClick: handleOpenSelector,
@@ -2699,11 +2648,11 @@ var ServiceSelectorButton = ({
2699
2648
  ml: 0.5,
2700
2649
  color: "text.secondary"
2701
2650
  },
2702
- children: /* @__PURE__ */ jsx18(KeyboardArrowDownIcon, { fontSize: "small" })
2651
+ children: /* @__PURE__ */ jsx17(KeyboardArrowDownIcon, { fontSize: "small" })
2703
2652
  }
2704
2653
  )
2705
2654
  ] }),
2706
- /* @__PURE__ */ jsx18(
2655
+ /* @__PURE__ */ jsx17(
2707
2656
  ServiceSelectorPanel,
2708
2657
  {
2709
2658
  open: Boolean(anchorEl),
@@ -2750,8 +2699,8 @@ var ServiceSelectorPanel = ({
2750
2699
  onOpenSettings,
2751
2700
  onOpenAddMember
2752
2701
  }) => {
2753
- const [internalSearchTerm, setInternalSearchTerm] = useState2("");
2754
- const [internalShowArchived, setInternalShowArchived] = useState2(false);
2702
+ const [internalSearchTerm, setInternalSearchTerm] = useState("");
2703
+ const [internalShowArchived, setInternalShowArchived] = useState(false);
2755
2704
  const searchTerm = externalSearchTerm !== void 0 ? externalSearchTerm : internalSearchTerm;
2756
2705
  const setSearchTerm = externalOnSearchChange || setInternalSearchTerm;
2757
2706
  const showArchived = externalShowArchived !== void 0 ? externalShowArchived : internalShowArchived;
@@ -2772,7 +2721,7 @@ var ServiceSelectorPanel = ({
2772
2721
  }
2773
2722
  }
2774
2723
  };
2775
- return /* @__PURE__ */ jsxs6(
2724
+ return /* @__PURE__ */ jsxs5(
2776
2725
  Menu,
2777
2726
  {
2778
2727
  anchorEl,
@@ -2797,7 +2746,7 @@ var ServiceSelectorPanel = ({
2797
2746
  }
2798
2747
  },
2799
2748
  children: [
2800
- selectedService && /* @__PURE__ */ jsxs6(
2749
+ selectedService && /* @__PURE__ */ jsxs5(
2801
2750
  Box2,
2802
2751
  {
2803
2752
  sx: {
@@ -2809,12 +2758,12 @@ var ServiceSelectorPanel = ({
2809
2758
  borderColor: "divider"
2810
2759
  },
2811
2760
  children: [
2812
- /* @__PURE__ */ jsxs6(Box2, { sx: {
2761
+ /* @__PURE__ */ jsxs5(Box2, { sx: {
2813
2762
  display: "flex",
2814
2763
  alignItems: "center",
2815
2764
  mb: 1.5
2816
2765
  }, children: [
2817
- /* @__PURE__ */ jsx18(
2766
+ /* @__PURE__ */ jsx17(
2818
2767
  Avatar,
2819
2768
  {
2820
2769
  sx: {
@@ -2827,9 +2776,9 @@ var ServiceSelectorPanel = ({
2827
2776
  children: selectedService.name.charAt(0)
2828
2777
  }
2829
2778
  ),
2830
- /* @__PURE__ */ jsx18(Box2, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
2831
- /* @__PURE__ */ jsx18(Typography2, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
2832
- /* @__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(
2833
2782
  Box2,
2834
2783
  {
2835
2784
  sx: {
@@ -2848,11 +2797,11 @@ var ServiceSelectorPanel = ({
2848
2797
  )
2849
2798
  ] }) })
2850
2799
  ] }),
2851
- (onOpenSettings || onOpenAddMember) && /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", gap: 1 }, children: [
2852
- onOpenAddMember && /* @__PURE__ */ jsx18(
2800
+ (onOpenSettings || onOpenAddMember) && /* @__PURE__ */ jsxs5(Box2, { sx: { display: "flex", gap: 1 }, children: [
2801
+ onOpenAddMember && /* @__PURE__ */ jsx17(
2853
2802
  Button3,
2854
2803
  {
2855
- startIcon: /* @__PURE__ */ jsx18(PersonAddAltIcon, {}),
2804
+ startIcon: /* @__PURE__ */ jsx17(PersonAddAltIcon, {}),
2856
2805
  variant: "outlined",
2857
2806
  size: "small",
2858
2807
  onClick: (e) => {
@@ -2882,10 +2831,10 @@ var ServiceSelectorPanel = ({
2882
2831
  children: "Add member"
2883
2832
  }
2884
2833
  ),
2885
- onOpenSettings && /* @__PURE__ */ jsx18(
2834
+ onOpenSettings && /* @__PURE__ */ jsx17(
2886
2835
  Button3,
2887
2836
  {
2888
- startIcon: /* @__PURE__ */ jsx18(SettingsIcon, {}),
2837
+ startIcon: /* @__PURE__ */ jsx17(SettingsIcon, {}),
2889
2838
  variant: "outlined",
2890
2839
  size: "small",
2891
2840
  onClick: (e) => {
@@ -2919,9 +2868,9 @@ var ServiceSelectorPanel = ({
2919
2868
  ]
2920
2869
  }
2921
2870
  ),
2922
- /* @__PURE__ */ jsxs6(Box2, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
2923
- /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
2924
- /* @__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(
2925
2874
  TextField2,
2926
2875
  {
2927
2876
  size: "small",
@@ -2930,7 +2879,7 @@ var ServiceSelectorPanel = ({
2930
2879
  onChange: (e) => setSearchTerm(e.target.value),
2931
2880
  sx: { flex: 1 },
2932
2881
  InputProps: {
2933
- 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" }) }),
2934
2883
  sx: {
2935
2884
  borderRadius: 1.5,
2936
2885
  backgroundColor: "rgba(0, 0, 0, 0.04)",
@@ -2940,18 +2889,18 @@ var ServiceSelectorPanel = ({
2940
2889
  }
2941
2890
  }
2942
2891
  ),
2943
- /* @__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(
2944
2893
  IconButton2,
2945
2894
  {
2946
2895
  size: "small",
2947
2896
  onClick: toggleArchived,
2948
2897
  color: showArchived ? "primary" : "default",
2949
2898
  sx: { ml: 1 },
2950
- 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" })
2951
2900
  }
2952
2901
  ) })
2953
2902
  ] }),
2954
- /* @__PURE__ */ jsx18(
2903
+ /* @__PURE__ */ jsx17(
2955
2904
  Box2,
2956
2905
  {
2957
2906
  sx: {
@@ -2959,8 +2908,8 @@ var ServiceSelectorPanel = ({
2959
2908
  overflow: "auto",
2960
2909
  py: 1
2961
2910
  },
2962
- 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: [
2963
- /* @__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(
2964
2913
  Typography2,
2965
2914
  {
2966
2915
  variant: "caption",
@@ -2976,7 +2925,7 @@ var ServiceSelectorPanel = ({
2976
2925
  },
2977
2926
  children: [
2978
2927
  "Services",
2979
- showArchived && /* @__PURE__ */ jsx18(
2928
+ showArchived && /* @__PURE__ */ jsx17(
2980
2929
  Chip,
2981
2930
  {
2982
2931
  size: "small",
@@ -2995,7 +2944,7 @@ var ServiceSelectorPanel = ({
2995
2944
  ]
2996
2945
  }
2997
2946
  ),
2998
- /* @__PURE__ */ jsx18(List2, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ jsxs6(
2947
+ /* @__PURE__ */ jsx17(List2, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ jsxs5(
2999
2948
  ListItem,
3000
2949
  {
3001
2950
  sx: {
@@ -3009,7 +2958,7 @@ var ServiceSelectorPanel = ({
3009
2958
  position: "relative"
3010
2959
  },
3011
2960
  onClick: () => onSelectService(service.id),
3012
- secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ jsx18(
2961
+ secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ jsx17(
3013
2962
  CheckIcon,
3014
2963
  {
3015
2964
  sx: {
@@ -3019,7 +2968,7 @@ var ServiceSelectorPanel = ({
3019
2968
  }
3020
2969
  ) : null,
3021
2970
  children: [
3022
- /* @__PURE__ */ jsx18(ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ jsx18(
2971
+ /* @__PURE__ */ jsx17(ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ jsx17(
3023
2972
  Avatar,
3024
2973
  {
3025
2974
  sx: {
@@ -3032,10 +2981,10 @@ var ServiceSelectorPanel = ({
3032
2981
  children: service.name.charAt(0)
3033
2982
  }
3034
2983
  ) }),
3035
- /* @__PURE__ */ jsx18(
2984
+ /* @__PURE__ */ jsx17(
3036
2985
  ListItemText2,
3037
2986
  {
3038
- 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(
3039
2988
  Typography2,
3040
2989
  {
3041
2990
  variant: "body2",
@@ -3057,7 +3006,7 @@ var ServiceSelectorPanel = ({
3057
3006
  ] })
3058
3007
  }
3059
3008
  ),
3060
- /* @__PURE__ */ jsx18(
3009
+ /* @__PURE__ */ jsx17(
3061
3010
  Box2,
3062
3011
  {
3063
3012
  sx: {
@@ -3067,12 +3016,12 @@ var ServiceSelectorPanel = ({
3067
3016
  borderTop: 1,
3068
3017
  borderColor: "divider"
3069
3018
  },
3070
- children: /* @__PURE__ */ jsx18(
3019
+ children: /* @__PURE__ */ jsx17(
3071
3020
  Button3,
3072
3021
  {
3073
3022
  fullWidth: true,
3074
3023
  variant: "text",
3075
- startIcon: /* @__PURE__ */ jsx18(AddIcon, {}),
3024
+ startIcon: /* @__PURE__ */ jsx17(AddIcon, {}),
3076
3025
  onClick: handleCreateClick,
3077
3026
  sx: {
3078
3027
  textTransform: "none",
@@ -3097,7 +3046,7 @@ var ServiceSelectorPanel = ({
3097
3046
  };
3098
3047
 
3099
3048
  // src/components/navigation/WorkspaceSelector.tsx
3100
- import React2, { useState as useState3, useCallback as useCallback4 } from "react";
3049
+ import React2, { useState as useState2, useCallback as useCallback3 } from "react";
3101
3050
  import {
3102
3051
  Box as Box3,
3103
3052
  Typography as Typography3,
@@ -3117,7 +3066,7 @@ import KeyboardArrowDownIcon2 from "@mui/icons-material/KeyboardArrowDown";
3117
3066
  import SearchIcon3 from "@mui/icons-material/Search";
3118
3067
  import AddIcon2 from "@mui/icons-material/Add";
3119
3068
  import CheckIcon2 from "@mui/icons-material/Check";
3120
- 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";
3121
3070
  var WorkspaceSelectorButton = ({
3122
3071
  workspaces,
3123
3072
  selectedWorkspaceId,
@@ -3128,7 +3077,7 @@ var WorkspaceSelectorButton = ({
3128
3077
  sx = {},
3129
3078
  panelWidth = 350
3130
3079
  }) => {
3131
- const [anchorEl, setAnchorEl] = useState3(null);
3080
+ const [anchorEl, setAnchorEl] = useState2(null);
3132
3081
  const handleOpenSelector = (event) => {
3133
3082
  event.stopPropagation();
3134
3083
  setAnchorEl(event.currentTarget);
@@ -3136,7 +3085,7 @@ var WorkspaceSelectorButton = ({
3136
3085
  const handleClose = () => {
3137
3086
  setAnchorEl(null);
3138
3087
  };
3139
- const handleSelectWorkspace = useCallback4(
3088
+ const handleSelectWorkspace = useCallback3(
3140
3089
  (workspaceId) => {
3141
3090
  handleClose();
3142
3091
  if (onSelectWorkspace) {
@@ -3149,9 +3098,9 @@ var WorkspaceSelectorButton = ({
3149
3098
  if (!workspaces || workspaces.length === 0) {
3150
3099
  return null;
3151
3100
  }
3152
- return /* @__PURE__ */ jsxs7(Fragment3, { children: [
3153
- /* @__PURE__ */ jsxs7(Box3, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
3154
- 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(
3155
3104
  Link2,
3156
3105
  {
3157
3106
  underline: "hover",
@@ -3170,7 +3119,7 @@ var WorkspaceSelectorButton = ({
3170
3119
  mr: 0.5
3171
3120
  },
3172
3121
  children: [
3173
- /* @__PURE__ */ jsx19(
3122
+ /* @__PURE__ */ jsx18(
3174
3123
  Avatar2,
3175
3124
  {
3176
3125
  sx: {
@@ -3186,7 +3135,7 @@ var WorkspaceSelectorButton = ({
3186
3135
  selectedWorkspace.name
3187
3136
  ]
3188
3137
  }
3189
- ) }) : /* @__PURE__ */ jsx19(
3138
+ ) }) : /* @__PURE__ */ jsx18(
3190
3139
  Typography3,
3191
3140
  {
3192
3141
  variant: "body2",
@@ -3197,7 +3146,7 @@ var WorkspaceSelectorButton = ({
3197
3146
  children: "Select Workspace"
3198
3147
  }
3199
3148
  ),
3200
- /* @__PURE__ */ jsx19(
3149
+ /* @__PURE__ */ jsx18(
3201
3150
  IconButton3,
3202
3151
  {
3203
3152
  onClick: handleOpenSelector,
@@ -3207,11 +3156,11 @@ var WorkspaceSelectorButton = ({
3207
3156
  ml: 0.5,
3208
3157
  color: "text.secondary"
3209
3158
  },
3210
- children: /* @__PURE__ */ jsx19(KeyboardArrowDownIcon2, { fontSize: "small" })
3159
+ children: /* @__PURE__ */ jsx18(KeyboardArrowDownIcon2, { fontSize: "small" })
3211
3160
  }
3212
3161
  )
3213
3162
  ] }),
3214
- /* @__PURE__ */ jsx19(
3163
+ /* @__PURE__ */ jsx18(
3215
3164
  WorkspaceSelectorPanel,
3216
3165
  {
3217
3166
  open: Boolean(anchorEl),
@@ -3238,7 +3187,7 @@ var WorkspaceSelectorPanel = ({
3238
3187
  loading = false,
3239
3188
  width = 350
3240
3189
  }) => {
3241
- const [searchTerm, setSearchTerm] = useState3("");
3190
+ const [searchTerm, setSearchTerm] = useState2("");
3242
3191
  React2.useEffect(() => {
3243
3192
  if (open) {
3244
3193
  setSearchTerm("");
@@ -3257,7 +3206,7 @@ var WorkspaceSelectorPanel = ({
3257
3206
  onSelectWorkspace(workspaceId);
3258
3207
  onClose();
3259
3208
  };
3260
- return /* @__PURE__ */ jsx19(
3209
+ return /* @__PURE__ */ jsx18(
3261
3210
  Menu2,
3262
3211
  {
3263
3212
  open,
@@ -3273,8 +3222,8 @@ var WorkspaceSelectorPanel = ({
3273
3222
  borderRadius: 2
3274
3223
  }
3275
3224
  },
3276
- children: /* @__PURE__ */ jsxs7(Box3, { children: [
3277
- /* @__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(
3278
3227
  TextField3,
3279
3228
  {
3280
3229
  fullWidth: true,
@@ -3283,11 +3232,11 @@ var WorkspaceSelectorPanel = ({
3283
3232
  value: searchTerm,
3284
3233
  onChange: (e) => setSearchTerm(e.target.value),
3285
3234
  InputProps: {
3286
- 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" }) })
3287
3236
  }
3288
3237
  }
3289
3238
  ) }),
3290
- /* @__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(
3291
3240
  ListItem2,
3292
3241
  {
3293
3242
  onClick: () => handleSelect(workspace.id),
@@ -3300,19 +3249,19 @@ var WorkspaceSelectorPanel = ({
3300
3249
  }
3301
3250
  },
3302
3251
  children: [
3303
- /* @__PURE__ */ jsx19(ListItemAvatar2, { children: /* @__PURE__ */ jsx19(
3252
+ /* @__PURE__ */ jsx18(ListItemAvatar2, { children: /* @__PURE__ */ jsx18(
3304
3253
  Avatar2,
3305
3254
  {
3306
3255
  sx: { width: 32, height: 32, bgcolor: "secondary.main" },
3307
3256
  children: workspace.name.charAt(0)
3308
3257
  }
3309
3258
  ) }),
3310
- /* @__PURE__ */ jsx19(
3259
+ /* @__PURE__ */ jsx18(
3311
3260
  ListItemText3,
3312
3261
  {
3313
- primary: /* @__PURE__ */ jsxs7(Box3, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3314
- /* @__PURE__ */ jsx19(Typography3, { variant: "body2", fontWeight: 500, children: workspace.name }),
3315
- 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" })
3316
3265
  ] }),
3317
3266
  secondary: workspace.description
3318
3267
  }
@@ -3321,7 +3270,7 @@ var WorkspaceSelectorPanel = ({
3321
3270
  },
3322
3271
  workspace.id
3323
3272
  )) }) }),
3324
- /* @__PURE__ */ jsx19(
3273
+ /* @__PURE__ */ jsx18(
3325
3274
  Box3,
3326
3275
  {
3327
3276
  sx: {
@@ -3331,12 +3280,12 @@ var WorkspaceSelectorPanel = ({
3331
3280
  borderTop: 1,
3332
3281
  borderColor: "divider"
3333
3282
  },
3334
- children: /* @__PURE__ */ jsx19(
3283
+ children: /* @__PURE__ */ jsx18(
3335
3284
  Button4,
3336
3285
  {
3337
3286
  fullWidth: true,
3338
3287
  variant: "text",
3339
- startIcon: /* @__PURE__ */ jsx19(AddIcon2, {}),
3288
+ startIcon: /* @__PURE__ */ jsx18(AddIcon2, {}),
3340
3289
  onClick: handleCreateClick,
3341
3290
  sx: {
3342
3291
  textTransform: "none",
@@ -3367,25 +3316,25 @@ import {
3367
3316
  StepContent as MuiStepContent,
3368
3317
  StepButton as MuiStepButton
3369
3318
  } from "@mui/material";
3370
- import { jsx as jsx20 } from "react/jsx-runtime";
3319
+ import { jsx as jsx19 } from "react/jsx-runtime";
3371
3320
  var Stepper = (props) => {
3372
- return /* @__PURE__ */ jsx20(MuiStepper, { ...props });
3321
+ return /* @__PURE__ */ jsx19(MuiStepper, { ...props });
3373
3322
  };
3374
3323
  var Step = (props) => {
3375
- return /* @__PURE__ */ jsx20(MuiStep, { ...props });
3324
+ return /* @__PURE__ */ jsx19(MuiStep, { ...props });
3376
3325
  };
3377
3326
  var StepLabel = (props) => {
3378
- return /* @__PURE__ */ jsx20(MuiStepLabel, { ...props });
3327
+ return /* @__PURE__ */ jsx19(MuiStepLabel, { ...props });
3379
3328
  };
3380
3329
  var StepContent = (props) => {
3381
- return /* @__PURE__ */ jsx20(MuiStepContent, { ...props });
3330
+ return /* @__PURE__ */ jsx19(MuiStepContent, { ...props });
3382
3331
  };
3383
3332
  var StepButton = (props) => {
3384
- return /* @__PURE__ */ jsx20(MuiStepButton, { ...props });
3333
+ return /* @__PURE__ */ jsx19(MuiStepButton, { ...props });
3385
3334
  };
3386
3335
 
3387
3336
  // src/components/navigation/SideNav/SideNav.tsx
3388
- import React3, { useState as useState4, useCallback as useCallback5 } from "react";
3337
+ import React3, { useState as useState3, useCallback as useCallback4 } from "react";
3389
3338
  import { Box as Box4 } from "@mui/material";
3390
3339
  import { styled as styled11 } from "@mui/material/styles";
3391
3340
 
@@ -3407,7 +3356,7 @@ var scrollbarStyles = {
3407
3356
  };
3408
3357
 
3409
3358
  // src/components/navigation/SideNav/SideNav.tsx
3410
- import { jsx as jsx21 } from "react/jsx-runtime";
3359
+ import { jsx as jsx20 } from "react/jsx-runtime";
3411
3360
  var SideNavContext = React3.createContext({
3412
3361
  collapsed: false,
3413
3362
  showTooltips: true
@@ -3457,7 +3406,7 @@ var Header = React3.memo(({ children, className }) => {
3457
3406
  }
3458
3407
  return child;
3459
3408
  });
3460
- return /* @__PURE__ */ jsx21(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
3409
+ return /* @__PURE__ */ jsx20(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
3461
3410
  });
3462
3411
  Header.displayName = "SideNav.Header";
3463
3412
  var Navigation = React3.memo(({ children, className }) => {
@@ -3471,7 +3420,7 @@ var Navigation = React3.memo(({ children, className }) => {
3471
3420
  }
3472
3421
  return child;
3473
3422
  });
3474
- return /* @__PURE__ */ jsx21(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
3423
+ return /* @__PURE__ */ jsx20(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
3475
3424
  });
3476
3425
  Navigation.displayName = "SideNav.Navigation";
3477
3426
  var Footer = React3.memo(({ children, className }) => {
@@ -3484,7 +3433,7 @@ var Footer = React3.memo(({ children, className }) => {
3484
3433
  }
3485
3434
  return child;
3486
3435
  });
3487
- return /* @__PURE__ */ jsx21(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
3436
+ return /* @__PURE__ */ jsx20(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
3488
3437
  });
3489
3438
  Footer.displayName = "SideNav.Footer";
3490
3439
  var SideNav = Object.assign(
@@ -3503,10 +3452,10 @@ var SideNav = Object.assign(
3503
3452
  className,
3504
3453
  ariaLabel = "Main navigation"
3505
3454
  }) => {
3506
- const [internalCollapsed, setInternalCollapsed] = useState4(defaultCollapsed);
3455
+ const [internalCollapsed, setInternalCollapsed] = useState3(defaultCollapsed);
3507
3456
  const isControlled = controlledCollapsed !== void 0;
3508
3457
  const collapsed = isControlled ? controlledCollapsed : internalCollapsed;
3509
- const handleToggleCollapse = useCallback5(() => {
3458
+ const handleToggleCollapse = useCallback4(() => {
3510
3459
  const newCollapsed = !collapsed;
3511
3460
  if (!isControlled) {
3512
3461
  setInternalCollapsed(newCollapsed);
@@ -3520,7 +3469,7 @@ var SideNav = Object.assign(
3520
3469
  showTooltips,
3521
3470
  onToggleCollapse: handleToggleCollapse
3522
3471
  };
3523
- return /* @__PURE__ */ jsx21(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx21(
3472
+ return /* @__PURE__ */ jsx20(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx20(
3524
3473
  SideNavContainer,
3525
3474
  {
3526
3475
  role: "navigation",
@@ -3551,7 +3500,7 @@ import { Box as Box5, Typography as Typography4, IconButton as IconButton4, Tool
3551
3500
  import { styled as styled12 } from "@mui/material/styles";
3552
3501
  import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
3553
3502
  import ChevronRightIcon from "@mui/icons-material/ChevronRight";
3554
- 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";
3555
3504
  var HeaderContainer = styled12(Box5, {
3556
3505
  shouldForwardProp: (prop) => prop !== "isCollapsed"
3557
3506
  })(({ theme: theme2, isCollapsed }) => ({
@@ -3592,8 +3541,8 @@ var SideNavHeader = React4.memo(({
3592
3541
  collapsed = false
3593
3542
  }) => {
3594
3543
  const headerAriaLabel = ariaLabel || `${title} navigation header`;
3595
- const brandingContent = /* @__PURE__ */ jsxs8(Fragment4, { children: [
3596
- logo && /* @__PURE__ */ jsx22(
3544
+ const brandingContent = /* @__PURE__ */ jsxs7(Fragment4, { children: [
3545
+ logo && /* @__PURE__ */ jsx21(
3597
3546
  Box5,
3598
3547
  {
3599
3548
  sx: {
@@ -3605,7 +3554,7 @@ var SideNavHeader = React4.memo(({
3605
3554
  children: logo
3606
3555
  }
3607
3556
  ),
3608
- !collapsed && /* @__PURE__ */ jsx22(
3557
+ !collapsed && /* @__PURE__ */ jsx21(
3609
3558
  Typography4,
3610
3559
  {
3611
3560
  variant: "subtitle1",
@@ -3620,14 +3569,14 @@ var SideNavHeader = React4.memo(({
3620
3569
  }
3621
3570
  )
3622
3571
  ] });
3623
- return /* @__PURE__ */ jsxs8(
3572
+ return /* @__PURE__ */ jsxs7(
3624
3573
  HeaderContainer,
3625
3574
  {
3626
3575
  "data-testid": "sidenav-header-content",
3627
3576
  "aria-label": headerAriaLabel,
3628
3577
  isCollapsed: collapsed,
3629
3578
  children: [
3630
- onLogoClick ? /* @__PURE__ */ jsx22(
3579
+ onLogoClick ? /* @__PURE__ */ jsx21(
3631
3580
  BrandingButton,
3632
3581
  {
3633
3582
  onClick: onLogoClick,
@@ -3635,7 +3584,7 @@ var SideNavHeader = React4.memo(({
3635
3584
  "data-testid": "sidenav-home-link",
3636
3585
  children: brandingContent
3637
3586
  }
3638
- ) : /* @__PURE__ */ jsx22(
3587
+ ) : /* @__PURE__ */ jsx21(
3639
3588
  Box5,
3640
3589
  {
3641
3590
  sx: {
@@ -3647,13 +3596,13 @@ var SideNavHeader = React4.memo(({
3647
3596
  children: brandingContent
3648
3597
  }
3649
3598
  ),
3650
- showCollapseButton && /* @__PURE__ */ jsx22(
3599
+ showCollapseButton && /* @__PURE__ */ jsx21(
3651
3600
  Tooltip2,
3652
3601
  {
3653
3602
  title: collapsed ? "Expand navigation" : "Collapse navigation",
3654
3603
  placement: "right",
3655
3604
  arrow: true,
3656
- children: /* @__PURE__ */ jsx22(
3605
+ children: /* @__PURE__ */ jsx21(
3657
3606
  IconButton4,
3658
3607
  {
3659
3608
  onClick: onCollapse,
@@ -3669,7 +3618,7 @@ var SideNavHeader = React4.memo(({
3669
3618
  color: "text.primary"
3670
3619
  }
3671
3620
  },
3672
- children: collapsed ? /* @__PURE__ */ jsx22(ChevronRightIcon, {}) : /* @__PURE__ */ jsx22(ChevronLeftIcon, {})
3621
+ children: collapsed ? /* @__PURE__ */ jsx21(ChevronRightIcon, {}) : /* @__PURE__ */ jsx21(ChevronLeftIcon, {})
3673
3622
  }
3674
3623
  )
3675
3624
  }
@@ -3681,7 +3630,7 @@ var SideNavHeader = React4.memo(({
3681
3630
  SideNavHeader.displayName = "SideNavHeader";
3682
3631
 
3683
3632
  // src/components/navigation/SideNav/NavigationList.tsx
3684
- import React6, { useState as useState5 } from "react";
3633
+ import React6, { useState as useState4 } from "react";
3685
3634
  import { List as List4, ListItem as ListItem3 } from "@mui/material";
3686
3635
 
3687
3636
  // src/components/navigation/SideNav/NavigationItem.tsx
@@ -3694,7 +3643,7 @@ import {
3694
3643
  Tooltip as Tooltip3
3695
3644
  } from "@mui/material";
3696
3645
  import { styled as styled13 } from "@mui/material/styles";
3697
- import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
3646
+ import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
3698
3647
  var StyledListItemButton2 = styled13(ListItemButton2, {
3699
3648
  shouldForwardProp: (prop) => !["selected", "size", "iconPosition", "isCollapsed"].includes(prop)
3700
3649
  })(({ theme: theme2, selected, size: size3, isCollapsed }) => {
@@ -3778,7 +3727,7 @@ var NavigationItem = React5.memo(({
3778
3727
  onClick(id);
3779
3728
  }
3780
3729
  };
3781
- const iconElement = icon && /* @__PURE__ */ jsx23(
3730
+ const iconElement = icon && /* @__PURE__ */ jsx22(
3782
3731
  ListItemIcon2,
3783
3732
  {
3784
3733
  sx: {
@@ -3792,7 +3741,7 @@ var NavigationItem = React5.memo(({
3792
3741
  children: icon
3793
3742
  }
3794
3743
  );
3795
- const labelElement = /* @__PURE__ */ jsx23(
3744
+ const labelElement = /* @__PURE__ */ jsx22(
3796
3745
  ListItemText4,
3797
3746
  {
3798
3747
  primary: label,
@@ -3811,7 +3760,7 @@ var NavigationItem = React5.memo(({
3811
3760
  }
3812
3761
  }
3813
3762
  );
3814
- const buttonContent = /* @__PURE__ */ jsxs9(
3763
+ const buttonContent = /* @__PURE__ */ jsxs8(
3815
3764
  StyledListItemButton2,
3816
3765
  {
3817
3766
  selected,
@@ -3828,7 +3777,7 @@ var NavigationItem = React5.memo(({
3828
3777
  icon && iconPosition === "left" && iconElement,
3829
3778
  labelElement,
3830
3779
  icon && iconPosition === "right" && iconElement,
3831
- endContent && !collapsed && /* @__PURE__ */ jsx23(
3780
+ endContent && !collapsed && /* @__PURE__ */ jsx22(
3832
3781
  Box6,
3833
3782
  {
3834
3783
  sx: {
@@ -3843,7 +3792,7 @@ var NavigationItem = React5.memo(({
3843
3792
  }
3844
3793
  );
3845
3794
  if (collapsed && showTooltip) {
3846
- return /* @__PURE__ */ jsx23(
3795
+ return /* @__PURE__ */ jsx22(
3847
3796
  Tooltip3,
3848
3797
  {
3849
3798
  title: label,
@@ -3860,7 +3809,7 @@ var NavigationItem = React5.memo(({
3860
3809
  NavigationItem.displayName = "NavigationItem";
3861
3810
 
3862
3811
  // src/components/navigation/SideNav/NavigationList.tsx
3863
- import { jsx as jsx24 } from "react/jsx-runtime";
3812
+ import { jsx as jsx23 } from "react/jsx-runtime";
3864
3813
  var NavigationList = React6.memo(({
3865
3814
  items,
3866
3815
  selectedId,
@@ -3870,7 +3819,7 @@ var NavigationList = React6.memo(({
3870
3819
  collapsed = false,
3871
3820
  showTooltips = true
3872
3821
  }) => {
3873
- const [internalSelectedId, setInternalSelectedId] = useState5(
3822
+ const [internalSelectedId, setInternalSelectedId] = useState4(
3874
3823
  selectedId
3875
3824
  );
3876
3825
  const isControlled = selectedId !== void 0;
@@ -3883,7 +3832,7 @@ var NavigationList = React6.memo(({
3883
3832
  onSelectionChange(id);
3884
3833
  }
3885
3834
  };
3886
- return /* @__PURE__ */ jsx24(
3835
+ return /* @__PURE__ */ jsx23(
3887
3836
  List4,
3888
3837
  {
3889
3838
  role: "list",
@@ -3897,7 +3846,7 @@ var NavigationList = React6.memo(({
3897
3846
  },
3898
3847
  children: items.map((item, index) => {
3899
3848
  const isSelected = currentSelectedId === item.id;
3900
- return /* @__PURE__ */ jsx24(
3849
+ return /* @__PURE__ */ jsx23(
3901
3850
  ListItem3,
3902
3851
  {
3903
3852
  role: "listitem",
@@ -3905,7 +3854,7 @@ var NavigationList = React6.memo(({
3905
3854
  padding: 0,
3906
3855
  display: "block"
3907
3856
  },
3908
- children: /* @__PURE__ */ jsx24(
3857
+ children: /* @__PURE__ */ jsx23(
3909
3858
  NavigationItem,
3910
3859
  {
3911
3860
  ...item,
@@ -3937,7 +3886,7 @@ import React7 from "react";
3937
3886
  import { Box as Box7, Typography as Typography5, Tooltip as Tooltip4 } from "@mui/material";
3938
3887
  import { styled as styled14 } from "@mui/material/styles";
3939
3888
  import PowerIcon from "@mui/icons-material/Power";
3940
- import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
3889
+ import { jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
3941
3890
  var StatusPill = styled14(Box7, {
3942
3891
  shouldForwardProp: (prop) => !["variant", "interactive"].includes(prop)
3943
3892
  })(({ theme: theme2, variant = "info", interactive }) => {
@@ -4012,7 +3961,7 @@ var ConnectionStatus = React7.memo(({
4012
3961
  onClick();
4013
3962
  }
4014
3963
  };
4015
- const statusContent = /* @__PURE__ */ jsxs10(
3964
+ const statusContent = /* @__PURE__ */ jsxs9(
4016
3965
  StatusPill,
4017
3966
  {
4018
3967
  role: "status",
@@ -4023,7 +3972,7 @@ var ConnectionStatus = React7.memo(({
4023
3972
  interactive,
4024
3973
  onClick: handleClick,
4025
3974
  children: [
4026
- /* @__PURE__ */ jsx25(
3975
+ /* @__PURE__ */ jsx24(
4027
3976
  Box7,
4028
3977
  {
4029
3978
  sx: {
@@ -4032,15 +3981,15 @@ var ConnectionStatus = React7.memo(({
4032
3981
  fontSize: 16,
4033
3982
  color: "inherit"
4034
3983
  },
4035
- children: icon || /* @__PURE__ */ jsx25(PowerIcon, { fontSize: "small" })
3984
+ children: icon || /* @__PURE__ */ jsx24(PowerIcon, { fontSize: "small" })
4036
3985
  }
4037
3986
  ),
4038
- /* @__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 })
4039
3988
  ]
4040
3989
  }
4041
3990
  );
4042
3991
  if (compact) {
4043
- return /* @__PURE__ */ jsx25(
3992
+ return /* @__PURE__ */ jsx24(
4044
3993
  Box7,
4045
3994
  {
4046
3995
  sx: {
@@ -4048,11 +3997,11 @@ var ConnectionStatus = React7.memo(({
4048
3997
  justifyContent: "center",
4049
3998
  padding: 1
4050
3999
  },
4051
- 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 })
4052
4001
  }
4053
4002
  );
4054
4003
  }
4055
- return /* @__PURE__ */ jsx25(
4004
+ return /* @__PURE__ */ jsx24(
4056
4005
  Box7,
4057
4006
  {
4058
4007
  sx: {
@@ -4071,7 +4020,7 @@ import React8 from "react";
4071
4020
  import { Box as Box8, Avatar as Avatar3, Typography as Typography6, Button as Button5, IconButton as IconButton5, Tooltip as Tooltip5 } from "@mui/material";
4072
4021
  import { styled as styled15 } from "@mui/material/styles";
4073
4022
  import LogoutIcon from "@mui/icons-material/Logout";
4074
- import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
4023
+ import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
4075
4024
  var AccountContainer = styled15(Box8, {
4076
4025
  shouldForwardProp: (prop) => !["layout", "isCompact"].includes(prop)
4077
4026
  })(({ theme: theme2, layout = "horizontal", isCompact }) => ({
@@ -4113,14 +4062,14 @@ var AccountSection = React8.memo(({
4113
4062
  const initials = user.initials || deriveInitials(user.name);
4114
4063
  const avatarSrc = user.avatarUrl;
4115
4064
  if (compact) {
4116
- return /* @__PURE__ */ jsxs11(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
4117
- /* @__PURE__ */ jsx26(
4065
+ return /* @__PURE__ */ jsxs10(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
4066
+ /* @__PURE__ */ jsx25(
4118
4067
  Tooltip5,
4119
4068
  {
4120
4069
  title: `${user.name}${user.email ? ` (${user.email})` : ""}`,
4121
4070
  placement: "right",
4122
4071
  arrow: true,
4123
- children: /* @__PURE__ */ jsx26(
4072
+ children: /* @__PURE__ */ jsx25(
4124
4073
  Avatar3,
4125
4074
  {
4126
4075
  src: avatarSrc,
@@ -4139,7 +4088,7 @@ var AccountSection = React8.memo(({
4139
4088
  )
4140
4089
  }
4141
4090
  ),
4142
- /* @__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(
4143
4092
  IconButton5,
4144
4093
  {
4145
4094
  onClick: onLogout,
@@ -4152,13 +4101,13 @@ var AccountSection = React8.memo(({
4152
4101
  color: "text.primary"
4153
4102
  }
4154
4103
  },
4155
- children: /* @__PURE__ */ jsx26(LogoutIcon, { fontSize: "small" })
4104
+ children: /* @__PURE__ */ jsx25(LogoutIcon, { fontSize: "small" })
4156
4105
  }
4157
4106
  ) })
4158
4107
  ] });
4159
4108
  }
4160
- return /* @__PURE__ */ jsxs11(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
4161
- /* @__PURE__ */ jsx26(
4109
+ return /* @__PURE__ */ jsxs10(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
4110
+ /* @__PURE__ */ jsx25(
4162
4111
  Avatar3,
4163
4112
  {
4164
4113
  src: avatarSrc,
@@ -4174,7 +4123,7 @@ var AccountSection = React8.memo(({
4174
4123
  children: initials
4175
4124
  }
4176
4125
  ),
4177
- /* @__PURE__ */ jsxs11(
4126
+ /* @__PURE__ */ jsxs10(
4178
4127
  Box8,
4179
4128
  {
4180
4129
  sx: {
@@ -4186,7 +4135,7 @@ var AccountSection = React8.memo(({
4186
4135
  // Allow text truncation
4187
4136
  },
4188
4137
  children: [
4189
- /* @__PURE__ */ jsx26(
4138
+ /* @__PURE__ */ jsx25(
4190
4139
  Typography6,
4191
4140
  {
4192
4141
  variant: "body2",
@@ -4200,7 +4149,7 @@ var AccountSection = React8.memo(({
4200
4149
  children: user.name
4201
4150
  }
4202
4151
  ),
4203
- showEmail && user.email && /* @__PURE__ */ jsx26(
4152
+ showEmail && user.email && /* @__PURE__ */ jsx25(
4204
4153
  Typography6,
4205
4154
  {
4206
4155
  variant: "caption",
@@ -4215,12 +4164,12 @@ var AccountSection = React8.memo(({
4215
4164
  children: user.email
4216
4165
  }
4217
4166
  ),
4218
- /* @__PURE__ */ jsx26(
4167
+ /* @__PURE__ */ jsx25(
4219
4168
  Button5,
4220
4169
  {
4221
4170
  onClick: onLogout,
4222
4171
  "aria-label": "Logout",
4223
- startIcon: /* @__PURE__ */ jsx26(LogoutIcon, { fontSize: "small" }),
4172
+ startIcon: /* @__PURE__ */ jsx25(LogoutIcon, { fontSize: "small" }),
4224
4173
  sx: {
4225
4174
  color: "text.secondary",
4226
4175
  textTransform: "none",
@@ -4248,7 +4197,7 @@ AccountSection.displayName = "AccountSection";
4248
4197
  // src/components/feedback/Badge.tsx
4249
4198
  import MuiBadge from "@mui/material/Badge";
4250
4199
  import { styled as styled16 } from "@mui/material/styles";
4251
- import { jsx as jsx27 } from "react/jsx-runtime";
4200
+ import { jsx as jsx26 } from "react/jsx-runtime";
4252
4201
  var getBadgeColor = (variant) => {
4253
4202
  switch (variant) {
4254
4203
  case "primary":
@@ -4275,13 +4224,13 @@ var Badge = ({
4275
4224
  badgeContent,
4276
4225
  ...props
4277
4226
  }) => {
4278
- return /* @__PURE__ */ jsx27(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
4227
+ return /* @__PURE__ */ jsx26(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
4279
4228
  };
4280
4229
 
4281
4230
  // src/components/feedback/Chip.tsx
4282
4231
  import MuiChip from "@mui/material/Chip";
4283
4232
  import { styled as styled17 } from "@mui/material/styles";
4284
- import { jsx as jsx28 } from "react/jsx-runtime";
4233
+ import { jsx as jsx27 } from "react/jsx-runtime";
4285
4234
  var StyledDefaultChip = styled17(MuiChip)({
4286
4235
  backgroundColor: colors.grey[100],
4287
4236
  color: colors.text.primary,
@@ -4301,15 +4250,15 @@ var Chip2 = ({
4301
4250
  ...props
4302
4251
  }) => {
4303
4252
  if (variant === "active") {
4304
- return /* @__PURE__ */ jsx28(StyledActiveChip, { ...props });
4253
+ return /* @__PURE__ */ jsx27(StyledActiveChip, { ...props });
4305
4254
  }
4306
- return /* @__PURE__ */ jsx28(StyledDefaultChip, { ...props });
4255
+ return /* @__PURE__ */ jsx27(StyledDefaultChip, { ...props });
4307
4256
  };
4308
4257
 
4309
4258
  // src/components/feedback/RoleBadge.tsx
4310
4259
  import MuiChip2 from "@mui/material/Chip";
4311
4260
  import { styled as styled18 } from "@mui/material/styles";
4312
- import { jsx as jsx29 } from "react/jsx-runtime";
4261
+ import { jsx as jsx28 } from "react/jsx-runtime";
4313
4262
  var StyledRoleBadge = styled18(MuiChip2)(() => ({
4314
4263
  // Pill shape - 100px border radius
4315
4264
  borderRadius: "100px",
@@ -4335,7 +4284,7 @@ var RoleBadge = ({
4335
4284
  if (!label || label.trim() === "") {
4336
4285
  return null;
4337
4286
  }
4338
- return /* @__PURE__ */ jsx29(
4287
+ return /* @__PURE__ */ jsx28(
4339
4288
  StyledRoleBadge,
4340
4289
  {
4341
4290
  label,
@@ -4348,12 +4297,15 @@ var RoleBadge = ({
4348
4297
  };
4349
4298
 
4350
4299
  // src/components/feedback/IDBlock.tsx
4300
+ import { useState as useState5 } from "react";
4351
4301
  import Box9 from "@mui/material/Box";
4352
4302
  import Typography7 from "@mui/material/Typography";
4353
4303
  import IconButton6 from "@mui/material/IconButton";
4304
+ import Snackbar from "@mui/material/Snackbar";
4305
+ import Alert from "@mui/material/Alert";
4354
4306
  import ContentCopyIcon from "@mui/icons-material/ContentCopy";
4355
4307
  import { styled as styled19 } from "@mui/material/styles";
4356
- import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
4308
+ import { Fragment as Fragment5, jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
4357
4309
  var IDContainer = styled19(Box9)(() => ({
4358
4310
  display: "inline-flex",
4359
4311
  alignItems: "center",
@@ -4369,78 +4321,88 @@ var IDBlock = ({
4369
4321
  entityType = "entity",
4370
4322
  onCopy
4371
4323
  }) => {
4372
- const { showMessage } = useMessages();
4324
+ const [snackbar, setSnackbar] = useState5({
4325
+ open: false,
4326
+ message: "",
4327
+ severity: "success"
4328
+ });
4373
4329
  if (!id || id.trim() === "") {
4374
4330
  return null;
4375
4331
  }
4376
4332
  const handleCopy = async () => {
4377
4333
  try {
4378
4334
  await navigator.clipboard.writeText(id);
4379
- showMessage({
4380
- message: "ID copied to clipboard",
4381
- appearance: "success",
4382
- autoDismiss: true
4383
- });
4335
+ setSnackbar({ open: true, message: "ID copied to clipboard", severity: "success" });
4384
4336
  onCopy?.();
4385
4337
  } catch {
4386
- showMessage({
4387
- message: "Failed to copy ID",
4388
- appearance: "error",
4389
- autoDismiss: true
4390
- });
4338
+ setSnackbar({ open: true, message: "Failed to copy ID", severity: "error" });
4391
4339
  }
4392
4340
  };
4393
- return /* @__PURE__ */ jsxs12(IDContainer, { children: [
4394
- /* @__PURE__ */ jsxs12(
4395
- Typography7,
4396
- {
4397
- variant: "body2",
4398
- sx: {
4399
- fontSize: "13px",
4400
- fontWeight: 500,
4401
- color: deploymentSurfaceTokens.textSecondary
4402
- },
4403
- children: [
4404
- label,
4405
- ":"
4406
- ]
4407
- }
4408
- ),
4409
- /* @__PURE__ */ jsx30(
4410
- Typography7,
4411
- {
4412
- variant: "body2",
4413
- sx: {
4414
- fontSize: "13px",
4415
- fontWeight: 500,
4416
- color: deploymentSurfaceTokens.textPrimary,
4417
- userSelect: "all"
4418
- // Allow easy text selection
4419
- },
4420
- children: id
4421
- }
4422
- ),
4423
- /* @__PURE__ */ jsx30(
4424
- IconButton6,
4425
- {
4426
- onClick: handleCopy,
4427
- size: "small",
4428
- "aria-label": `Copy ${entityType} ID ${id}`,
4429
- sx: {
4430
- padding: "4px",
4431
- "&:hover": {
4432
- backgroundColor: deploymentSurfaceTokens.hoverOverlay
4433
- }
4434
- },
4435
- children: /* @__PURE__ */ jsx30(
4436
- ContentCopyIcon,
4437
- {
4438
- sx: {
4439
- fontSize: "16px",
4440
- color: deploymentSurfaceTokens.textSecondary
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
4441
4384
  }
4442
- }
4443
- )
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 })
4444
4406
  }
4445
4407
  )
4446
4408
  ] });
@@ -4449,7 +4411,7 @@ var IDBlock = ({
4449
4411
  // src/components/feedback/Tooltip.tsx
4450
4412
  import MuiTooltip from "@mui/material/Tooltip";
4451
4413
  import { styled as styled20 } from "@mui/material/styles";
4452
- import { jsx as jsx31 } from "react/jsx-runtime";
4414
+ import { jsx as jsx30 } from "react/jsx-runtime";
4453
4415
  var StyledTooltip = styled20(MuiTooltip)({
4454
4416
  "& .MuiTooltip-tooltip": {
4455
4417
  backgroundColor: colors.grey[800],
@@ -4463,7 +4425,7 @@ var StyledTooltip = styled20(MuiTooltip)({
4463
4425
  }
4464
4426
  });
4465
4427
  var Tooltip6 = (props) => {
4466
- return /* @__PURE__ */ jsx31(StyledTooltip, { ...props });
4428
+ return /* @__PURE__ */ jsx30(StyledTooltip, { ...props });
4467
4429
  };
4468
4430
 
4469
4431
  // src/components/feedback/Progress.tsx
@@ -4472,7 +4434,7 @@ import {
4472
4434
  CircularProgress,
4473
4435
  styled as styled21
4474
4436
  } from "@mui/material";
4475
- import { jsx as jsx32 } from "react/jsx-runtime";
4437
+ import { jsx as jsx31 } from "react/jsx-runtime";
4476
4438
  var StyledLinearProgress = styled21(LinearProgress)({
4477
4439
  height: 4,
4478
4440
  borderRadius: 2,
@@ -4492,9 +4454,9 @@ var Progress = ({
4492
4454
  thickness = 4
4493
4455
  }) => {
4494
4456
  if (variant === "circular") {
4495
- return /* @__PURE__ */ jsx32(StyledCircularProgress, { size: size3, thickness });
4457
+ return /* @__PURE__ */ jsx31(StyledCircularProgress, { size: size3, thickness });
4496
4458
  }
4497
- return /* @__PURE__ */ jsx32(
4459
+ return /* @__PURE__ */ jsx31(
4498
4460
  StyledLinearProgress,
4499
4461
  {
4500
4462
  variant: value !== void 0 ? "determinate" : "indeterminate",
@@ -4506,7 +4468,7 @@ var Progress = ({
4506
4468
  // src/components/navigation/Tab.tsx
4507
4469
  import MuiTab from "@mui/material/Tab";
4508
4470
  import { styled as styled22 } from "@mui/material/styles";
4509
- import { jsx as jsx33 } from "react/jsx-runtime";
4471
+ import { jsx as jsx32 } from "react/jsx-runtime";
4510
4472
  var StyledTab = styled22(MuiTab)({
4511
4473
  textTransform: "none",
4512
4474
  minHeight: "48px",
@@ -4528,8 +4490,8 @@ var Tab = ({
4528
4490
  label,
4529
4491
  ...props
4530
4492
  }) => {
4531
- const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx33(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4532
- return /* @__PURE__ */ jsx33(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 });
4533
4495
  };
4534
4496
 
4535
4497
  // src/components/navigation/Menu.tsx
@@ -4541,7 +4503,7 @@ import {
4541
4503
  Divider
4542
4504
  } from "@mui/material";
4543
4505
  import { styled as styled23 } from "@mui/material/styles";
4544
- import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
4506
+ import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
4545
4507
  var StyledMenu = styled23(MuiMenu)({
4546
4508
  "& .MuiPaper-root": {
4547
4509
  borderRadius: 8,
@@ -4556,7 +4518,7 @@ var StyledMenu = styled23(MuiMenu)({
4556
4518
  }
4557
4519
  });
4558
4520
  var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
4559
- return /* @__PURE__ */ jsx34(
4521
+ return /* @__PURE__ */ jsx33(
4560
4522
  StyledMenu,
4561
4523
  {
4562
4524
  anchorEl,
@@ -4582,19 +4544,19 @@ var MenuItem = ({
4582
4544
  disabled = false,
4583
4545
  divider = false
4584
4546
  }) => {
4585
- return /* @__PURE__ */ jsxs13(Fragment5, { children: [
4586
- /* @__PURE__ */ jsxs13(MuiMenuItem, { onClick, disabled, children: [
4587
- icon && /* @__PURE__ */ jsx34(ListItemIcon3, { children: icon }),
4588
- /* @__PURE__ */ jsx34(ListItemText5, { children: label })
4547
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
4548
+ /* @__PURE__ */ jsxs12(MuiMenuItem, { onClick, disabled, children: [
4549
+ icon && /* @__PURE__ */ jsx33(ListItemIcon3, { children: icon }),
4550
+ /* @__PURE__ */ jsx33(ListItemText5, { children: label })
4589
4551
  ] }),
4590
- divider && /* @__PURE__ */ jsx34(Divider, {})
4552
+ divider && /* @__PURE__ */ jsx33(Divider, {})
4591
4553
  ] });
4592
4554
  };
4593
4555
 
4594
4556
  // src/components/navigation/Pagination.tsx
4595
4557
  import MuiPagination from "@mui/material/Pagination";
4596
4558
  import { styled as styled24 } from "@mui/material/styles";
4597
- import { jsx as jsx35 } from "react/jsx-runtime";
4559
+ import { jsx as jsx34 } from "react/jsx-runtime";
4598
4560
  var StyledPagination = styled24(MuiPagination)({
4599
4561
  "& .MuiPaginationItem-root": {
4600
4562
  "&.Mui-selected": {
@@ -4610,7 +4572,7 @@ var StyledPagination = styled24(MuiPagination)({
4610
4572
  }
4611
4573
  });
4612
4574
  var Pagination = ({ color = "primary", ...props }) => {
4613
- return /* @__PURE__ */ jsx35(StyledPagination, { color, ...props });
4575
+ return /* @__PURE__ */ jsx34(StyledPagination, { color, ...props });
4614
4576
  };
4615
4577
 
4616
4578
  // src/components/navigation/Selector.tsx
@@ -4634,7 +4596,7 @@ import AddIcon3 from "@mui/icons-material/Add";
4634
4596
  // src/components/layout/Link.tsx
4635
4597
  import MuiLink from "@mui/material/Link";
4636
4598
  import { styled as styled25 } from "@mui/material/styles";
4637
- import { jsx as jsx36 } from "react/jsx-runtime";
4599
+ import { jsx as jsx35 } from "react/jsx-runtime";
4638
4600
  var StyledLink = styled25(MuiLink)({
4639
4601
  color: colors.primary.main,
4640
4602
  "&:hover": {
@@ -4642,11 +4604,11 @@ var StyledLink = styled25(MuiLink)({
4642
4604
  }
4643
4605
  });
4644
4606
  var Link3 = ({ underline = "hover", ...props }) => {
4645
- return /* @__PURE__ */ jsx36(StyledLink, { underline, ...props });
4607
+ return /* @__PURE__ */ jsx35(StyledLink, { underline, ...props });
4646
4608
  };
4647
4609
 
4648
4610
  // src/components/navigation/Selector.tsx
4649
- import { Fragment as Fragment6, jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
4611
+ import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs13 } from "react/jsx-runtime";
4650
4612
  var Selector = ({
4651
4613
  options: options2,
4652
4614
  selectedId,
@@ -4678,14 +4640,14 @@ var Selector = ({
4678
4640
  onSelect(id);
4679
4641
  handleClose();
4680
4642
  };
4681
- const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4682
- option.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
4683
- /* @__PURE__ */ jsx37(Typography8, { variant: "body2", children: option.name })
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 })
4684
4646
  ] });
4685
4647
  if (compact) {
4686
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4687
- /* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
4688
- /* @__PURE__ */ jsx37(
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(
4689
4651
  Menu4,
4690
4652
  {
4691
4653
  anchorEl,
@@ -4694,8 +4656,8 @@ var Selector = ({
4694
4656
  PaperProps: {
4695
4657
  sx: { width, maxHeight: 600, mt: 1 }
4696
4658
  },
4697
- children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment6, { children: [
4698
- options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
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(
4699
4661
  TextField,
4700
4662
  {
4701
4663
  size: "small",
@@ -4704,31 +4666,31 @@ var Selector = ({
4704
4666
  value: searchTerm,
4705
4667
  onChange: (e) => setSearchTerm(e.target.value),
4706
4668
  InputProps: {
4707
- startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
4669
+ startAdornment: /* @__PURE__ */ jsx36(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx36(SearchIcon4, { fontSize: "small" }) })
4708
4670
  }
4709
4671
  }
4710
4672
  ) }),
4711
- /* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4712
- filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
4673
+ /* @__PURE__ */ jsxs13(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4674
+ filteredOptions.map((option) => /* @__PURE__ */ jsxs13(
4713
4675
  ListItemButton3,
4714
4676
  {
4715
4677
  selected: option.id === selectedId,
4716
4678
  onClick: () => handleSelect(option.id),
4717
4679
  disabled: option.disabled,
4718
4680
  children: [
4719
- option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4720
- /* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
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 })
4721
4683
  ]
4722
4684
  },
4723
4685
  option.id
4724
4686
  )),
4725
- filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography8, { 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 }) })
4726
4688
  ] }),
4727
- onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
4689
+ onCreate && /* @__PURE__ */ jsx36(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx36(
4728
4690
  Button,
4729
4691
  {
4730
4692
  fullWidth: true,
4731
- startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
4693
+ startIcon: /* @__PURE__ */ jsx36(AddIcon3, {}),
4732
4694
  onClick: () => {
4733
4695
  onCreate();
4734
4696
  handleClose();
@@ -4741,12 +4703,12 @@ var Selector = ({
4741
4703
  )
4742
4704
  ] });
4743
4705
  }
4744
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4745
- /* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4746
- selectedOption ? renderSelected ? /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: placeholder }),
4747
- /* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx37(KeyboardArrowDownIcon3, { fontSize: "small" }) })
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" }) })
4748
4710
  ] }),
4749
- /* @__PURE__ */ jsx37(
4711
+ /* @__PURE__ */ jsx36(
4750
4712
  Menu4,
4751
4713
  {
4752
4714
  anchorEl,
@@ -4755,8 +4717,8 @@ var Selector = ({
4755
4717
  PaperProps: {
4756
4718
  sx: { width, maxHeight: 600, mt: 1 }
4757
4719
  },
4758
- children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment6, { children: [
4759
- options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
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(
4760
4722
  TextField,
4761
4723
  {
4762
4724
  size: "small",
@@ -4765,31 +4727,31 @@ var Selector = ({
4765
4727
  value: searchTerm,
4766
4728
  onChange: (e) => setSearchTerm(e.target.value),
4767
4729
  InputProps: {
4768
- startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
4730
+ startAdornment: /* @__PURE__ */ jsx36(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx36(SearchIcon4, { fontSize: "small" }) })
4769
4731
  }
4770
4732
  }
4771
4733
  ) }),
4772
- /* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4773
- filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
4734
+ /* @__PURE__ */ jsxs13(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4735
+ filteredOptions.map((option) => /* @__PURE__ */ jsxs13(
4774
4736
  ListItemButton3,
4775
4737
  {
4776
4738
  selected: option.id === selectedId,
4777
4739
  onClick: () => handleSelect(option.id),
4778
4740
  disabled: option.disabled,
4779
4741
  children: [
4780
- option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4781
- /* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
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 })
4782
4744
  ]
4783
4745
  },
4784
4746
  option.id
4785
4747
  )),
4786
- filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography8, { 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 }) })
4787
4749
  ] }),
4788
- onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
4750
+ onCreate && /* @__PURE__ */ jsx36(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx36(
4789
4751
  Button,
4790
4752
  {
4791
4753
  fullWidth: true,
4792
- startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
4754
+ startIcon: /* @__PURE__ */ jsx36(AddIcon3, {}),
4793
4755
  onClick: () => {
4794
4756
  onCreate();
4795
4757
  handleClose();
@@ -4809,20 +4771,20 @@ import { Stack as Stack2, styled as styled26, svgIconClasses } from "@mui/materi
4809
4771
  // src/components/icons/CereIcon.tsx
4810
4772
  import { memo } from "react";
4811
4773
  import { SvgIcon } from "@mui/material";
4812
- import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
4813
- var CereIcon = memo((props) => /* @__PURE__ */ jsxs15(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4814
- /* @__PURE__ */ jsx38("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx38(
4774
+ import { jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
4775
+ var CereIcon = memo((props) => /* @__PURE__ */ jsxs14(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4776
+ /* @__PURE__ */ jsx37("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx37(
4815
4777
  "path",
4816
4778
  {
4817
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",
4818
4780
  fill: "currentColor"
4819
4781
  }
4820
4782
  ) }),
4821
- /* @__PURE__ */ jsx38("defs", { children: /* @__PURE__ */ jsx38("clipPath", { id: "a", children: /* @__PURE__ */ jsx38("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
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" }) }) })
4822
4784
  ] }));
4823
4785
 
4824
4786
  // src/components/layout/Logo.tsx
4825
- import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
4787
+ import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
4826
4788
  var sizesMap = {
4827
4789
  large: 38,
4828
4790
  medium: 32,
@@ -4833,9 +4795,9 @@ var Container = styled26(Stack2)({
4833
4795
  fontSize: "inherit"
4834
4796
  }
4835
4797
  });
4836
- var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ jsx39(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ jsxs16(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
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: [
4837
4799
  icon,
4838
- children && /* @__PURE__ */ jsx39(Stack2, { children })
4800
+ children && /* @__PURE__ */ jsx38(Stack2, { children })
4839
4801
  ] });
4840
4802
 
4841
4803
  // src/components/layout/EntityHeader/EntityHeader.tsx
@@ -4844,7 +4806,7 @@ import Typography9 from "@mui/material/Typography";
4844
4806
  import IconButton7 from "@mui/material/IconButton";
4845
4807
  import Divider2 from "@mui/material/Divider";
4846
4808
  import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
4847
- import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
4809
+ import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
4848
4810
  var EntityHeader = ({
4849
4811
  title,
4850
4812
  subtitle,
@@ -4861,8 +4823,8 @@ var EntityHeader = ({
4861
4823
  const { label, count } = primaryAction;
4862
4824
  return count !== void 0 ? `${label} (${count})` : label;
4863
4825
  };
4864
- return /* @__PURE__ */ jsxs17(Box11, { children: [
4865
- /* @__PURE__ */ jsxs17(
4826
+ return /* @__PURE__ */ jsxs16(Box11, { children: [
4827
+ /* @__PURE__ */ jsxs16(
4866
4828
  Box11,
4867
4829
  {
4868
4830
  sx: {
@@ -4874,7 +4836,7 @@ var EntityHeader = ({
4874
4836
  gap: 1
4875
4837
  },
4876
4838
  children: [
4877
- /* @__PURE__ */ jsxs17(
4839
+ /* @__PURE__ */ jsxs16(
4878
4840
  Box11,
4879
4841
  {
4880
4842
  sx: {
@@ -4884,7 +4846,7 @@ var EntityHeader = ({
4884
4846
  flexWrap: "wrap"
4885
4847
  },
4886
4848
  children: [
4887
- /* @__PURE__ */ jsxs17(
4849
+ /* @__PURE__ */ jsxs16(
4888
4850
  Box11,
4889
4851
  {
4890
4852
  sx: {
@@ -4893,7 +4855,7 @@ var EntityHeader = ({
4893
4855
  gap: 0.5
4894
4856
  },
4895
4857
  children: [
4896
- /* @__PURE__ */ jsx40(
4858
+ /* @__PURE__ */ jsx39(
4897
4859
  Typography9,
4898
4860
  {
4899
4861
  component: headingLevel,
@@ -4907,7 +4869,7 @@ var EntityHeader = ({
4907
4869
  children: title
4908
4870
  }
4909
4871
  ),
4910
- subtitle && /* @__PURE__ */ jsx40(
4872
+ subtitle && /* @__PURE__ */ jsx39(
4911
4873
  Typography9,
4912
4874
  {
4913
4875
  variant: "body2",
@@ -4924,12 +4886,12 @@ var EntityHeader = ({
4924
4886
  ]
4925
4887
  }
4926
4888
  ),
4927
- role && /* @__PURE__ */ jsx40(RoleBadge, { label: role, color: "primary", size: "small" }),
4928
- id && /* @__PURE__ */ jsx40(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
4889
+ role && /* @__PURE__ */ jsx39(RoleBadge, { label: role, color: "primary", size: "small" }),
4890
+ id && /* @__PURE__ */ jsx39(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
4929
4891
  ]
4930
4892
  }
4931
4893
  ),
4932
- /* @__PURE__ */ jsxs17(
4894
+ /* @__PURE__ */ jsxs16(
4933
4895
  Box11,
4934
4896
  {
4935
4897
  sx: {
@@ -4939,7 +4901,7 @@ var EntityHeader = ({
4939
4901
  flexShrink: 0
4940
4902
  },
4941
4903
  children: [
4942
- primaryAction && /* @__PURE__ */ jsx40(
4904
+ primaryAction && /* @__PURE__ */ jsx39(
4943
4905
  Button,
4944
4906
  {
4945
4907
  variant: "primary",
@@ -4951,7 +4913,7 @@ var EntityHeader = ({
4951
4913
  children: getPrimaryActionLabel()
4952
4914
  }
4953
4915
  ),
4954
- onMoreOptions && /* @__PURE__ */ jsx40(
4916
+ onMoreOptions && /* @__PURE__ */ jsx39(
4955
4917
  IconButton7,
4956
4918
  {
4957
4919
  onClick: onMoreOptions,
@@ -4966,7 +4928,7 @@ var EntityHeader = ({
4966
4928
  borderColor: deploymentSurfaceTokens.borderDefault
4967
4929
  }
4968
4930
  },
4969
- children: /* @__PURE__ */ jsx40(
4931
+ children: /* @__PURE__ */ jsx39(
4970
4932
  MoreHorizIcon,
4971
4933
  {
4972
4934
  sx: {
@@ -4983,7 +4945,7 @@ var EntityHeader = ({
4983
4945
  ]
4984
4946
  }
4985
4947
  ),
4986
- divider && /* @__PURE__ */ jsx40(
4948
+ divider && /* @__PURE__ */ jsx39(
4987
4949
  Divider2,
4988
4950
  {
4989
4951
  sx: {
@@ -5008,7 +4970,7 @@ import {
5008
4970
  CircularProgress as CircularProgress3
5009
4971
  } from "@mui/material";
5010
4972
  import CloseIcon from "@mui/icons-material/Close";
5011
- import { Fragment as Fragment7, jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
4973
+ import { Fragment as Fragment8, jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
5012
4974
  var Dialog = ({
5013
4975
  open,
5014
4976
  title,
@@ -5032,7 +4994,7 @@ var Dialog = ({
5032
4994
  if (e) e.stopPropagation();
5033
4995
  onClose();
5034
4996
  };
5035
- return /* @__PURE__ */ jsxs18(
4997
+ return /* @__PURE__ */ jsxs17(
5036
4998
  MuiDialog,
5037
4999
  {
5038
5000
  open,
@@ -5049,28 +5011,28 @@ var Dialog = ({
5049
5011
  ...dialogProps.PaperProps
5050
5012
  },
5051
5013
  children: [
5052
- /* @__PURE__ */ jsxs18(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
5053
- /* @__PURE__ */ jsx41(Box12, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx41(Typography10, { variant: "h6", children: title }) : title }),
5054
- /* @__PURE__ */ jsxs18(Box12, { sx: { display: "flex", alignItems: "center" }, children: [
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: [
5055
5017
  headerAction,
5056
- /* @__PURE__ */ jsx41(
5018
+ /* @__PURE__ */ jsx40(
5057
5019
  IconButton8,
5058
5020
  {
5059
5021
  edge: "end",
5060
5022
  color: "inherit",
5061
5023
  onClick: handleCloseAttempt,
5062
5024
  "aria-label": "close",
5063
- children: /* @__PURE__ */ jsx41(CloseIcon, {})
5025
+ children: /* @__PURE__ */ jsx40(CloseIcon, {})
5064
5026
  }
5065
5027
  )
5066
5028
  ] })
5067
5029
  ] }),
5068
- dividers && /* @__PURE__ */ jsx41(Divider3, {}),
5069
- /* @__PURE__ */ jsx41(DialogContent, { dividers, children }),
5070
- (showActions || customActions) && /* @__PURE__ */ jsxs18(Fragment7, { children: [
5071
- dividers && /* @__PURE__ */ jsx41(Divider3, {}),
5072
- /* @__PURE__ */ jsx41(DialogActions, { children: customActions || /* @__PURE__ */ jsxs18(Fragment7, { children: [
5073
- /* @__PURE__ */ jsx41(
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(
5074
5036
  Button6,
5075
5037
  {
5076
5038
  onClick: handleCloseAttempt,
@@ -5078,14 +5040,14 @@ var Dialog = ({
5078
5040
  children: cancelLabel
5079
5041
  }
5080
5042
  ),
5081
- onSubmit && /* @__PURE__ */ jsx41(
5043
+ onSubmit && /* @__PURE__ */ jsx40(
5082
5044
  Button6,
5083
5045
  {
5084
5046
  variant: "contained",
5085
5047
  color: "primary",
5086
5048
  onClick: onSubmit,
5087
5049
  disabled: disableSubmit || isLoading,
5088
- startIcon: isLoading ? /* @__PURE__ */ jsx41(CircularProgress3, { size: 20 }) : void 0,
5050
+ startIcon: isLoading ? /* @__PURE__ */ jsx40(CircularProgress3, { size: 20 }) : void 0,
5089
5051
  children: submitLabel
5090
5052
  }
5091
5053
  )
@@ -5101,7 +5063,7 @@ import MuiDrawer from "@mui/material/Drawer";
5101
5063
  import { styled as styled27 } from "@mui/material/styles";
5102
5064
  import { Box as Box13, IconButton as IconButton9, Typography as Typography11, Divider as Divider4, Tabs, Tab as Tab2 } from "@mui/material";
5103
5065
  import CloseIcon2 from "@mui/icons-material/Close";
5104
- import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
5066
+ import { Fragment as Fragment9, jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
5105
5067
  var StyledDrawer2 = styled27(MuiDrawer, {
5106
5068
  shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
5107
5069
  })(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
@@ -5148,7 +5110,7 @@ var Drawer2 = ({
5148
5110
  const finalWidth = width ?? defaultWidth;
5149
5111
  const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
5150
5112
  const hasHeader = title || header || shouldShowClose || tabs;
5151
- return /* @__PURE__ */ jsxs19(
5113
+ return /* @__PURE__ */ jsxs18(
5152
5114
  StyledDrawer2,
5153
5115
  {
5154
5116
  width: finalWidth,
@@ -5173,8 +5135,8 @@ var Drawer2 = ({
5173
5135
  },
5174
5136
  ...props,
5175
5137
  children: [
5176
- hasHeader && /* @__PURE__ */ jsxs19(Fragment8, { children: [
5177
- /* @__PURE__ */ jsx42(
5138
+ hasHeader && /* @__PURE__ */ jsxs18(Fragment9, { children: [
5139
+ /* @__PURE__ */ jsx41(
5178
5140
  Box13,
5179
5141
  {
5180
5142
  sx: {
@@ -5186,9 +5148,9 @@ var Drawer2 = ({
5186
5148
  borderBottom: 1,
5187
5149
  borderColor: "divider"
5188
5150
  },
5189
- children: header || /* @__PURE__ */ jsxs19(Fragment8, { children: [
5190
- /* @__PURE__ */ jsx42(Box13, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx42(Typography11, { variant: "h6", children: title }) : title }),
5191
- shouldShowClose && onClose && /* @__PURE__ */ jsx42(
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(
5192
5154
  IconButton9,
5193
5155
  {
5194
5156
  onClick: (e) => {
@@ -5198,13 +5160,13 @@ var Drawer2 = ({
5198
5160
  size: "small",
5199
5161
  sx: { ml: 1 },
5200
5162
  "aria-label": "close",
5201
- children: /* @__PURE__ */ jsx42(CloseIcon2, {})
5163
+ children: /* @__PURE__ */ jsx41(CloseIcon2, {})
5202
5164
  }
5203
5165
  )
5204
5166
  ] })
5205
5167
  }
5206
5168
  ),
5207
- tabs && tabs.length > 0 && /* @__PURE__ */ jsx42(
5169
+ tabs && tabs.length > 0 && /* @__PURE__ */ jsx41(
5208
5170
  Tabs,
5209
5171
  {
5210
5172
  value: activeTab,
@@ -5219,11 +5181,11 @@ var Drawer2 = ({
5219
5181
  overflow: "auto"
5220
5182
  }
5221
5183
  },
5222
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx42(Tab2, { label: tab }, index))
5184
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx41(Tab2, { label: tab }, index))
5223
5185
  }
5224
5186
  )
5225
5187
  ] }),
5226
- /* @__PURE__ */ jsx42(
5188
+ /* @__PURE__ */ jsx41(
5227
5189
  Box13,
5228
5190
  {
5229
5191
  sx: {
@@ -5236,9 +5198,9 @@ var Drawer2 = ({
5236
5198
  children
5237
5199
  }
5238
5200
  ),
5239
- footer && /* @__PURE__ */ jsxs19(Fragment8, { children: [
5240
- /* @__PURE__ */ jsx42(Divider4, {}),
5241
- /* @__PURE__ */ jsx42(
5201
+ footer && /* @__PURE__ */ jsxs18(Fragment9, { children: [
5202
+ /* @__PURE__ */ jsx41(Divider4, {}),
5203
+ /* @__PURE__ */ jsx41(
5242
5204
  Box13,
5243
5205
  {
5244
5206
  sx: {
@@ -5261,7 +5223,7 @@ import MuiCardContent from "@mui/material/CardContent";
5261
5223
  import MuiCardHeader from "@mui/material/CardHeader";
5262
5224
  import MuiCardActions from "@mui/material/CardActions";
5263
5225
  import { styled as styled28 } from "@mui/material/styles";
5264
- import { jsx as jsx43 } from "react/jsx-runtime";
5226
+ import { jsx as jsx42 } from "react/jsx-runtime";
5265
5227
  var StyledCard = styled28(MuiCard, {
5266
5228
  shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
5267
5229
  })(({ hoverable, clickable }) => ({
@@ -5279,16 +5241,16 @@ var StyledCard = styled28(MuiCard, {
5279
5241
  }
5280
5242
  }));
5281
5243
  var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
5282
- return /* @__PURE__ */ jsx43(StyledCard, { hoverable, clickable, ...props, children });
5244
+ return /* @__PURE__ */ jsx42(StyledCard, { hoverable, clickable, ...props, children });
5283
5245
  };
5284
5246
  var CardContent = (props) => {
5285
- return /* @__PURE__ */ jsx43(MuiCardContent, { ...props });
5247
+ return /* @__PURE__ */ jsx42(MuiCardContent, { ...props });
5286
5248
  };
5287
5249
  var CardHeader = (props) => {
5288
- return /* @__PURE__ */ jsx43(MuiCardHeader, { ...props });
5250
+ return /* @__PURE__ */ jsx42(MuiCardHeader, { ...props });
5289
5251
  };
5290
5252
  var CardActions = (props) => {
5291
- return /* @__PURE__ */ jsx43(MuiCardActions, { ...props });
5253
+ return /* @__PURE__ */ jsx42(MuiCardActions, { ...props });
5292
5254
  };
5293
5255
 
5294
5256
  // src/components/layout/List.tsx
@@ -5300,9 +5262,9 @@ import {
5300
5262
  ListItemSecondaryAction
5301
5263
  } from "@mui/material";
5302
5264
  import { styled as styled29 } from "@mui/material/styles";
5303
- import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
5265
+ import { jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
5304
5266
  var List6 = (props) => {
5305
- return /* @__PURE__ */ jsx44(MuiList, { ...props });
5267
+ return /* @__PURE__ */ jsx43(MuiList, { ...props });
5306
5268
  };
5307
5269
  var StyledListItem = styled29(MuiListItem, {
5308
5270
  shouldForwardProp: (prop) => prop !== "hoverable"
@@ -5325,9 +5287,9 @@ var ListItem4 = ({
5325
5287
  children,
5326
5288
  ...props
5327
5289
  }) => {
5328
- return /* @__PURE__ */ jsxs20(StyledListItem, { hoverable, ...props, children: [
5329
- icon && /* @__PURE__ */ jsx44(ListItemIcon4, { children: icon }),
5330
- (primary || secondary) && /* @__PURE__ */ jsx44(
5290
+ return /* @__PURE__ */ jsxs19(StyledListItem, { hoverable, ...props, children: [
5291
+ icon && /* @__PURE__ */ jsx43(ListItemIcon4, { children: icon }),
5292
+ (primary || secondary) && /* @__PURE__ */ jsx43(
5331
5293
  ListItemText7,
5332
5294
  {
5333
5295
  primary,
@@ -5368,7 +5330,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
5368
5330
  }
5369
5331
 
5370
5332
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
5371
- import { Fragment as Fragment9, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
5333
+ import { Fragment as Fragment10, jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
5372
5334
  var ENTITY_LABELS = {
5373
5335
  workspace: "Workspace",
5374
5336
  stream: "Stream",
@@ -5378,11 +5340,11 @@ var ENTITY_LABELS = {
5378
5340
  };
5379
5341
  var ENTITY_ICON_SIZE = 16;
5380
5342
  var ENTITY_ICONS = {
5381
- workspace: /* @__PURE__ */ jsx45(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5382
- stream: /* @__PURE__ */ jsx45(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5383
- deployment: /* @__PURE__ */ jsx45(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5384
- engagement: /* @__PURE__ */ jsx45(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5385
- agent: /* @__PURE__ */ jsx45(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
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 } })
5386
5348
  };
5387
5349
  var STATUS_DOT_COLORS = {
5388
5350
  normal: deploymentStatusColors.normal,
@@ -5412,7 +5374,7 @@ var StatusDot = styled30(Box14, {
5412
5374
  backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
5413
5375
  flexShrink: 0
5414
5376
  }));
5415
- var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs21(
5377
+ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs20(
5416
5378
  Box14,
5417
5379
  {
5418
5380
  sx: {
@@ -5428,8 +5390,8 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs21(
5428
5390
  flexShrink: 0
5429
5391
  },
5430
5392
  children: [
5431
- /* @__PURE__ */ jsx45(Box14, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5432
- /* @__PURE__ */ jsx45(
5393
+ /* @__PURE__ */ jsx44(Box14, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5394
+ /* @__PURE__ */ jsx44(
5433
5395
  Typography12,
5434
5396
  {
5435
5397
  variant: "body2",
@@ -5446,15 +5408,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs21(
5446
5408
  ]
5447
5409
  }
5448
5410
  );
5449
- var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs21(Box14, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5450
- /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5451
- /* @__PURE__ */ jsx45(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5452
- /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
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: [
5453
5415
  value,
5454
5416
  "%"
5455
5417
  ] })
5456
5418
  ] }),
5457
- /* @__PURE__ */ jsx45(
5419
+ /* @__PURE__ */ jsx44(
5458
5420
  LinearProgress2,
5459
5421
  {
5460
5422
  variant: "determinate",
@@ -5494,19 +5456,19 @@ var getActionButtonStyles = (action) => {
5494
5456
  };
5495
5457
  return { ...baseStyles, ...variantStyles };
5496
5458
  };
5497
- var CardAction = ({ action }) => /* @__PURE__ */ jsxs21(
5459
+ var CardAction = ({ action }) => /* @__PURE__ */ jsxs20(
5498
5460
  Box14,
5499
5461
  {
5500
5462
  component: action.onClick ? "button" : "span",
5501
5463
  onClick: action.onClick,
5502
5464
  sx: getActionButtonStyles(action),
5503
5465
  children: [
5504
- action.icon && /* @__PURE__ */ jsx45(Box14, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5505
- action.label && /* @__PURE__ */ jsx45(Typography12, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
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 })
5506
5468
  ]
5507
5469
  }
5508
5470
  );
5509
- var CardActionList = ({ actions }) => /* @__PURE__ */ jsx45(Fragment9, { children: actions.map((action) => /* @__PURE__ */ jsx45(CardAction, { action }, action.id)) });
5471
+ var CardActionList = ({ actions }) => /* @__PURE__ */ jsx44(Fragment10, { children: actions.map((action) => /* @__PURE__ */ jsx44(CardAction, { action }, action.id)) });
5510
5472
  var DeploymentDashboardCard = ({
5511
5473
  entityType,
5512
5474
  title,
@@ -5539,7 +5501,7 @@ var DeploymentDashboardCard = ({
5539
5501
  return Math.min(100, Math.max(0, capacity2));
5540
5502
  };
5541
5503
  const capacityClamped = getClampedCapacity(capacity);
5542
- return /* @__PURE__ */ jsxs21(
5504
+ return /* @__PURE__ */ jsxs20(
5543
5505
  Paper,
5544
5506
  {
5545
5507
  className,
@@ -5556,7 +5518,7 @@ var DeploymentDashboardCard = ({
5556
5518
  gap: 0
5557
5519
  },
5558
5520
  children: [
5559
- /* @__PURE__ */ jsxs21(
5521
+ /* @__PURE__ */ jsxs20(
5560
5522
  Box14,
5561
5523
  {
5562
5524
  sx: {
@@ -5566,20 +5528,20 @@ var DeploymentDashboardCard = ({
5566
5528
  width: "100%"
5567
5529
  },
5568
5530
  children: [
5569
- /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5570
- /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5571
- expandable ? /* @__PURE__ */ jsx45(
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(
5572
5534
  IconButton10,
5573
5535
  {
5574
5536
  size: "small",
5575
5537
  onClick: toggle,
5576
5538
  "aria-label": expanded ? "Collapse" : "Expand",
5577
5539
  sx: { p: "5px" },
5578
- children: expanded ? /* @__PURE__ */ jsx45(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx45(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 } })
5579
5541
  }
5580
- ) : /* @__PURE__ */ jsx45(Box14, { sx: { width: 26, flexShrink: 0 } }),
5581
- /* @__PURE__ */ jsx45(EntityChip, { entityType, color: entityColor }),
5582
- /* @__PURE__ */ jsx45(
5542
+ ) : /* @__PURE__ */ jsx44(Box14, { sx: { width: 26, flexShrink: 0 } }),
5543
+ /* @__PURE__ */ jsx44(EntityChip, { entityType, color: entityColor }),
5544
+ /* @__PURE__ */ jsx44(
5583
5545
  Typography12,
5584
5546
  {
5585
5547
  variant: "subtitle1",
@@ -5589,9 +5551,9 @@ var DeploymentDashboardCard = ({
5589
5551
  children: title
5590
5552
  }
5591
5553
  ),
5592
- idDisplay != null && /* @__PURE__ */ jsx45(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
5554
+ idDisplay != null && /* @__PURE__ */ jsx44(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
5593
5555
  ] }),
5594
- (createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs21(
5556
+ (createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs20(
5595
5557
  Box14,
5596
5558
  {
5597
5559
  sx: {
@@ -5601,27 +5563,27 @@ var DeploymentDashboardCard = ({
5601
5563
  color: deploymentSurfaceTokens.textSecondary
5602
5564
  },
5603
5565
  children: [
5604
- createdAt != null && /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5566
+ createdAt != null && /* @__PURE__ */ jsxs20(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5605
5567
  "Created: ",
5606
5568
  createdAt
5607
5569
  ] }),
5608
- updatedAt != null && /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5570
+ updatedAt != null && /* @__PURE__ */ jsxs20(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5609
5571
  "Last Updated: ",
5610
5572
  updatedAt
5611
5573
  ] })
5612
5574
  ]
5613
5575
  }
5614
5576
  ),
5615
- capacityClamped !== void 0 && /* @__PURE__ */ jsx45(CapacityBar, { value: capacityClamped, indented: expandable })
5577
+ capacityClamped !== void 0 && /* @__PURE__ */ jsx44(CapacityBar, { value: capacityClamped, indented: expandable })
5616
5578
  ] }),
5617
- /* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5618
- statusIndicator != null && /* @__PURE__ */ jsx45(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5619
- /* @__PURE__ */ jsx45(CardActionList, { actions })
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 })
5620
5582
  ] })
5621
5583
  ]
5622
5584
  }
5623
5585
  ),
5624
- children && /* @__PURE__ */ jsx45(Box14, { 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 })
5625
5587
  ]
5626
5588
  }
5627
5589
  );
@@ -5630,7 +5592,7 @@ var DeploymentDashboardCard = ({
5630
5592
  // src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
5631
5593
  import { Menu as Menu5, MenuItem as MenuItem2, Switch as Switch2, Divider as Divider5, ListItemIcon as ListItemIcon5, ListItemText as ListItemText8 } from "@mui/material";
5632
5594
  import { styled as styled31 } from "@mui/material/styles";
5633
- import { Fragment as Fragment10, jsx as jsx46, jsxs as jsxs22 } from "react/jsx-runtime";
5595
+ import { Fragment as Fragment11, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
5634
5596
  var StyledMenu2 = styled31(Menu5)({
5635
5597
  "& .MuiPaper-root": {
5636
5598
  borderRadius: 4,
@@ -5728,7 +5690,7 @@ var DeploymentEntityContextMenu = ({
5728
5690
  enableChecked = false,
5729
5691
  onEnableChange
5730
5692
  }) => {
5731
- return /* @__PURE__ */ jsxs22(
5693
+ return /* @__PURE__ */ jsxs21(
5732
5694
  StyledMenu2,
5733
5695
  {
5734
5696
  anchorEl,
@@ -5740,11 +5702,11 @@ var DeploymentEntityContextMenu = ({
5740
5702
  children: [
5741
5703
  items.map((item) => {
5742
5704
  if (item.type === "divider") {
5743
- return /* @__PURE__ */ jsx46(StyledDivider, {}, item.id);
5705
+ return /* @__PURE__ */ jsx45(StyledDivider, {}, item.id);
5744
5706
  }
5745
5707
  if (item.type === "toggle") {
5746
- return /* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
5747
- onEnableChange && /* @__PURE__ */ jsx46(
5708
+ return /* @__PURE__ */ jsxs21(ToggleMenuItem, { disableRipple: true, children: [
5709
+ onEnableChange && /* @__PURE__ */ jsx45(
5748
5710
  EnableSwitch,
5749
5711
  {
5750
5712
  size: "small",
@@ -5753,11 +5715,11 @@ var DeploymentEntityContextMenu = ({
5753
5715
  inputProps: { "aria-label": item.label }
5754
5716
  }
5755
5717
  ),
5756
- /* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
5718
+ /* @__PURE__ */ jsx45(ListItemText8, { primary: item.label })
5757
5719
  ] }, item.id);
5758
5720
  }
5759
5721
  const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
5760
- return /* @__PURE__ */ jsxs22(
5722
+ return /* @__PURE__ */ jsxs21(
5761
5723
  Row,
5762
5724
  {
5763
5725
  onClick: () => {
@@ -5765,17 +5727,17 @@ var DeploymentEntityContextMenu = ({
5765
5727
  onClose();
5766
5728
  },
5767
5729
  children: [
5768
- item.icon && /* @__PURE__ */ jsx46(ListItemIcon5, { children: item.icon }),
5769
- /* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
5730
+ item.icon && /* @__PURE__ */ jsx45(ListItemIcon5, { children: item.icon }),
5731
+ /* @__PURE__ */ jsx45(ListItemText8, { primary: item.label })
5770
5732
  ]
5771
5733
  },
5772
5734
  item.id
5773
5735
  );
5774
5736
  }),
5775
- enableToggle && /* @__PURE__ */ jsxs22(Fragment10, { children: [
5776
- /* @__PURE__ */ jsx46(StyledDivider, {}),
5777
- /* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
5778
- onEnableChange && /* @__PURE__ */ jsx46(
5737
+ enableToggle && /* @__PURE__ */ jsxs21(Fragment11, { children: [
5738
+ /* @__PURE__ */ jsx45(StyledDivider, {}),
5739
+ /* @__PURE__ */ jsxs21(ToggleMenuItem, { disableRipple: true, children: [
5740
+ onEnableChange && /* @__PURE__ */ jsx45(
5779
5741
  EnableSwitch,
5780
5742
  {
5781
5743
  size: "small",
@@ -5784,7 +5746,7 @@ var DeploymentEntityContextMenu = ({
5784
5746
  inputProps: { "aria-label": "Enable" }
5785
5747
  }
5786
5748
  ),
5787
- /* @__PURE__ */ jsx46(ListItemText8, { primary: "Enable" })
5749
+ /* @__PURE__ */ jsx45(ListItemText8, { primary: "Enable" })
5788
5750
  ] })
5789
5751
  ] })
5790
5752
  ]
@@ -5799,48 +5761,48 @@ import ContentCopyIcon2 from "@mui/icons-material/ContentCopy";
5799
5761
  import SmartToyOutlinedIcon2 from "@mui/icons-material/SmartToyOutlined";
5800
5762
  import DescriptionIcon from "@mui/icons-material/Description";
5801
5763
  import SettingsIcon2 from "@mui/icons-material/Settings";
5802
- import { jsx as jsx47 } from "react/jsx-runtime";
5764
+ import { jsx as jsx46 } from "react/jsx-runtime";
5803
5765
  var contextMenuItems = {
5804
5766
  /** Add Engagement action (Add Circle icon) */
5805
5767
  addEngagement: (onClick) => ({
5806
5768
  id: "add-engagement",
5807
5769
  label: "Add Engagement",
5808
- icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
5770
+ icon: /* @__PURE__ */ jsx46(AddCircleOutlineIcon, {}),
5809
5771
  onClick
5810
5772
  }),
5811
5773
  /** Add Agent action (Add Circle icon) */
5812
5774
  addAgent: (onClick) => ({
5813
5775
  id: "add-agent",
5814
5776
  label: "Add Agent",
5815
- icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
5777
+ icon: /* @__PURE__ */ jsx46(AddCircleOutlineIcon, {}),
5816
5778
  onClick
5817
5779
  }),
5818
5780
  /** Add Stream action (Add Circle icon) */
5819
5781
  addStream: (onClick) => ({
5820
5782
  id: "add-stream",
5821
5783
  label: "Add Stream",
5822
- icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
5784
+ icon: /* @__PURE__ */ jsx46(AddCircleOutlineIcon, {}),
5823
5785
  onClick
5824
5786
  }),
5825
5787
  /** Edit action (Pen / Edit icon) */
5826
5788
  edit: (onClick) => ({
5827
5789
  id: "edit",
5828
5790
  label: "Edit",
5829
- icon: /* @__PURE__ */ jsx47(EditIcon, {}),
5791
+ icon: /* @__PURE__ */ jsx46(EditIcon, {}),
5830
5792
  onClick
5831
5793
  }),
5832
5794
  /** Copy ID action (Copy icon) */
5833
5795
  copyId: (onClick) => ({
5834
5796
  id: "copy-id",
5835
5797
  label: "Copy ID",
5836
- icon: /* @__PURE__ */ jsx47(ContentCopyIcon2, {}),
5798
+ icon: /* @__PURE__ */ jsx46(ContentCopyIcon2, {}),
5837
5799
  onClick
5838
5800
  }),
5839
5801
  /** Agent Flow Visualization — highlighted action (SmartToy icon) */
5840
5802
  agentFlowVisualization: (onClick) => ({
5841
5803
  id: "agent-flow",
5842
5804
  label: "Agent Flow Visualization",
5843
- icon: /* @__PURE__ */ jsx47(SmartToyOutlinedIcon2, {}),
5805
+ icon: /* @__PURE__ */ jsx46(SmartToyOutlinedIcon2, {}),
5844
5806
  onClick,
5845
5807
  highlighted: true
5846
5808
  }),
@@ -5848,7 +5810,7 @@ var contextMenuItems = {
5848
5810
  viewLogs: (onClick) => ({
5849
5811
  id: "view-logs",
5850
5812
  label: "View Logs",
5851
- icon: /* @__PURE__ */ jsx47(DescriptionIcon, {}),
5813
+ icon: /* @__PURE__ */ jsx46(DescriptionIcon, {}),
5852
5814
  onClick
5853
5815
  }),
5854
5816
  /** Horizontal divider between sections */
@@ -5867,7 +5829,7 @@ var contextMenuItems = {
5867
5829
  settings: (onClick) => ({
5868
5830
  id: "settings",
5869
5831
  label: "Settings",
5870
- icon: /* @__PURE__ */ jsx47(SettingsIcon2, {}),
5832
+ icon: /* @__PURE__ */ jsx46(SettingsIcon2, {}),
5871
5833
  onClick
5872
5834
  })
5873
5835
  };
@@ -5875,7 +5837,7 @@ var contextMenuItems = {
5875
5837
  // src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
5876
5838
  import { Box as Box15 } from "@mui/material";
5877
5839
  import { styled as styled32, alpha } from "@mui/material/styles";
5878
- import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
5840
+ import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
5879
5841
  var TREE_SP = {
5880
5842
  /** Vertical gap between sibling rows (Figma S / sp-8) */
5881
5843
  rowGap: 8,
@@ -5912,9 +5874,9 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5912
5874
  const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
5913
5875
  const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
5914
5876
  const railColor = alpha(entityColor, railOpacity);
5915
- const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs23(Box15, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5916
- /* @__PURE__ */ jsx48(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5917
- /* @__PURE__ */ jsx48(
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(
5918
5880
  Box15,
5919
5881
  {
5920
5882
  role: "group",
@@ -5925,7 +5887,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5925
5887
  flexDirection: "column",
5926
5888
  gap: `${TREE_SP.rowGap}px`
5927
5889
  },
5928
- children: node.children.map((child) => /* @__PURE__ */ jsx48(
5890
+ children: node.children.map((child) => /* @__PURE__ */ jsx47(
5929
5891
  TreeRow,
5930
5892
  {
5931
5893
  node: child,
@@ -5939,7 +5901,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5939
5901
  }
5940
5902
  )
5941
5903
  ] }) : null;
5942
- const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx48(
5904
+ const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx47(
5943
5905
  DeploymentDashboardCard,
5944
5906
  {
5945
5907
  entityType: node.entityType,
@@ -5957,7 +5919,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5957
5919
  children: renderedChildren
5958
5920
  }
5959
5921
  );
5960
- return /* @__PURE__ */ jsx48(Box15, { role: "treeitem", children: cardContent });
5922
+ return /* @__PURE__ */ jsx47(Box15, { role: "treeitem", children: cardContent });
5961
5923
  };
5962
5924
  var DeploymentDashboardTree = ({
5963
5925
  nodes,
@@ -5965,7 +5927,7 @@ var DeploymentDashboardTree = ({
5965
5927
  onCopyId,
5966
5928
  renderCard
5967
5929
  }) => {
5968
- return /* @__PURE__ */ jsx48(
5930
+ return /* @__PURE__ */ jsx47(
5969
5931
  Box15,
5970
5932
  {
5971
5933
  role: "tree",
@@ -5975,7 +5937,7 @@ var DeploymentDashboardTree = ({
5975
5937
  gap: `${TREE_SP.rowGap}px`,
5976
5938
  p: `${TREE_SP.rowGap}px`
5977
5939
  },
5978
- children: nodes.map((node) => /* @__PURE__ */ jsx48(
5940
+ children: nodes.map((node) => /* @__PURE__ */ jsx47(
5979
5941
  TreeRow,
5980
5942
  {
5981
5943
  node,
@@ -5993,7 +5955,7 @@ var DeploymentDashboardTree = ({
5993
5955
  // src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
5994
5956
  import { Box as Box16 } from "@mui/material";
5995
5957
  import { styled as styled33 } from "@mui/material/styles";
5996
- import { jsx as jsx49 } from "react/jsx-runtime";
5958
+ import { jsx as jsx48 } from "react/jsx-runtime";
5997
5959
  var PANEL_RADIUS = 12;
5998
5960
  var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
5999
5961
  var StyledPanel = styled33(Box16)({
@@ -6008,13 +5970,13 @@ var DeploymentDashboardPanel = ({
6008
5970
  className,
6009
5971
  padding = 2
6010
5972
  }) => {
6011
- return /* @__PURE__ */ jsx49(StyledPanel, { className, sx: { p: padding }, children });
5973
+ return /* @__PURE__ */ jsx48(StyledPanel, { className, sx: { p: padding }, children });
6012
5974
  };
6013
5975
 
6014
5976
  // src/components/layout/Avatar.tsx
6015
5977
  import MuiAvatar from "@mui/material/Avatar";
6016
5978
  import { styled as styled34 } from "@mui/material/styles";
6017
- import { jsx as jsx50 } from "react/jsx-runtime";
5979
+ import { jsx as jsx49 } from "react/jsx-runtime";
6018
5980
  var sizeMap = {
6019
5981
  small: 32,
6020
5982
  medium: 40,
@@ -6031,7 +5993,7 @@ var StyledAvatar = styled34(MuiAvatar, {
6031
5993
  }));
6032
5994
  var Avatar5 = ({ size: size3 = "medium", ...props }) => {
6033
5995
  const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
6034
- return /* @__PURE__ */ jsx50(StyledAvatar, { avatarSize, ...props });
5996
+ return /* @__PURE__ */ jsx49(StyledAvatar, { avatarSize, ...props });
6035
5997
  };
6036
5998
 
6037
5999
  // src/components/layout/Table.tsx
@@ -6045,7 +6007,7 @@ import {
6045
6007
  TableSortLabel
6046
6008
  } from "@mui/material";
6047
6009
  import { styled as styled35 } from "@mui/material/styles";
6048
- import { jsx as jsx51 } from "react/jsx-runtime";
6010
+ import { jsx as jsx50 } from "react/jsx-runtime";
6049
6011
  var StyledTableContainer = styled35(TableContainer)({
6050
6012
  borderRadius: 8,
6051
6013
  border: `1px solid ${colors.grey[200]}`
@@ -6058,7 +6020,7 @@ var StyledTableHead = styled35(TableHead)({
6058
6020
  }
6059
6021
  });
6060
6022
  var Table = ({ stickyHeader = false, children, ...props }) => {
6061
- return /* @__PURE__ */ jsx51(StyledTableContainer, { children: /* @__PURE__ */ jsx51(MuiTable, { stickyHeader, ...props, children }) });
6023
+ return /* @__PURE__ */ jsx50(StyledTableContainer, { children: /* @__PURE__ */ jsx50(MuiTable, { stickyHeader, ...props, children }) });
6062
6024
  };
6063
6025
  var TableHeader = ({
6064
6026
  columns,
@@ -6066,7 +6028,7 @@ var TableHeader = ({
6066
6028
  order = "asc",
6067
6029
  onSort
6068
6030
  }) => {
6069
- return /* @__PURE__ */ jsx51(StyledTableHead, { children: /* @__PURE__ */ jsx51(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx51(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx51(
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(
6070
6032
  TableSortLabel,
6071
6033
  {
6072
6034
  active: orderBy === column.id,
@@ -6085,7 +6047,7 @@ import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
6085
6047
  import Link4 from "@mui/material/Link";
6086
6048
  import Typography13 from "@mui/material/Typography";
6087
6049
  import { styled as styled36 } from "@mui/material/styles";
6088
- import { jsx as jsx52 } from "react/jsx-runtime";
6050
+ import { jsx as jsx51 } from "react/jsx-runtime";
6089
6051
  var StyledBreadcrumbs = styled36(MuiBreadcrumbs)({
6090
6052
  "& .MuiBreadcrumbs-ol": {
6091
6053
  flexWrap: "nowrap"
@@ -6102,12 +6064,12 @@ var StyledLink2 = styled36(Link4)({
6102
6064
  }
6103
6065
  });
6104
6066
  var Breadcrumbs = ({ items, ...props }) => {
6105
- return /* @__PURE__ */ jsx52(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
6067
+ return /* @__PURE__ */ jsx51(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
6106
6068
  const isLast = index === items.length - 1;
6107
6069
  if (isLast || !item.href && !item.onClick) {
6108
- return /* @__PURE__ */ jsx52(Typography13, { color: "text.primary", children: item.label }, index);
6070
+ return /* @__PURE__ */ jsx51(Typography13, { color: "text.primary", children: item.label }, index);
6109
6071
  }
6110
- return /* @__PURE__ */ jsx52(
6072
+ return /* @__PURE__ */ jsx51(
6111
6073
  StyledLink2,
6112
6074
  {
6113
6075
  href: item.href,
@@ -6132,7 +6094,7 @@ import {
6132
6094
  } from "@mui/material";
6133
6095
  import ExpandMoreIcon2 from "@mui/icons-material/ExpandMore";
6134
6096
  import { styled as styled37 } from "@mui/material/styles";
6135
- import { jsx as jsx53, jsxs as jsxs24 } from "react/jsx-runtime";
6097
+ import { jsx as jsx52, jsxs as jsxs23 } from "react/jsx-runtime";
6136
6098
  var StyledAccordion = styled37(MuiAccordion)({
6137
6099
  borderRadius: 8,
6138
6100
  boxShadow: "none",
@@ -6163,16 +6125,16 @@ var Accordion = ({
6163
6125
  defaultExpanded = false,
6164
6126
  ...props
6165
6127
  }) => {
6166
- return /* @__PURE__ */ jsxs24(StyledAccordion, { defaultExpanded, ...props, children: [
6167
- /* @__PURE__ */ jsx53(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx53(ExpandMoreIcon2, {}), children: title }),
6168
- /* @__PURE__ */ jsx53(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 })
6169
6131
  ] });
6170
6132
  };
6171
6133
 
6172
6134
  // src/components/layout/Paper.tsx
6173
6135
  import MuiPaper from "@mui/material/Paper";
6174
6136
  import { styled as styled38 } from "@mui/material/styles";
6175
- import { jsx as jsx54 } from "react/jsx-runtime";
6137
+ import { jsx as jsx53 } from "react/jsx-runtime";
6176
6138
  var StyledPaper = styled38(MuiPaper)({
6177
6139
  borderRadius: 8,
6178
6140
  "&.MuiPaper-elevation": {
@@ -6184,18 +6146,18 @@ var StyledPaper = styled38(MuiPaper)({
6184
6146
  }
6185
6147
  });
6186
6148
  var Paper2 = ({ variant = "elevation", ...props }) => {
6187
- return /* @__PURE__ */ jsx54(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
6149
+ return /* @__PURE__ */ jsx53(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
6188
6150
  };
6189
6151
 
6190
6152
  // src/components/layout/Divider.tsx
6191
6153
  import MuiDivider from "@mui/material/Divider";
6192
6154
  import { styled as styled39 } from "@mui/material/styles";
6193
- import { jsx as jsx55 } from "react/jsx-runtime";
6155
+ import { jsx as jsx54 } from "react/jsx-runtime";
6194
6156
  var StyledDivider2 = styled39(MuiDivider)({
6195
6157
  borderColor: colors.grey[200]
6196
6158
  });
6197
6159
  var Divider6 = ({ ...props }) => {
6198
- return /* @__PURE__ */ jsx55(StyledDivider2, { ...props });
6160
+ return /* @__PURE__ */ jsx54(StyledDivider2, { ...props });
6199
6161
  };
6200
6162
 
6201
6163
  // src/components/layout/Stack.tsx
@@ -6216,7 +6178,7 @@ import {
6216
6178
  Toolbar
6217
6179
  } from "@mui/material";
6218
6180
  import { styled as styled40 } from "@mui/material/styles";
6219
- import { jsx as jsx56 } from "react/jsx-runtime";
6181
+ import { jsx as jsx55 } from "react/jsx-runtime";
6220
6182
  var StyledAppBar = styled40(MuiAppBar, {
6221
6183
  shouldForwardProp: (prop) => prop !== "appBarHeight"
6222
6184
  })(({ appBarHeight = 64 }) => ({
@@ -6233,25 +6195,25 @@ var StyledToolbar = styled40(Toolbar)(({ theme: theme2 }) => ({
6233
6195
  gap: theme2.spacing(2)
6234
6196
  }));
6235
6197
  var AppBar = ({ height = 64, children, ...props }) => {
6236
- return /* @__PURE__ */ jsx56(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx56(StyledToolbar, { children }) });
6198
+ return /* @__PURE__ */ jsx55(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx55(StyledToolbar, { children }) });
6237
6199
  };
6238
6200
 
6239
6201
  // src/components/layout/Collapse.tsx
6240
6202
  import {
6241
6203
  Collapse as MuiCollapse
6242
6204
  } from "@mui/material";
6243
- import { jsx as jsx57 } from "react/jsx-runtime";
6205
+ import { jsx as jsx56 } from "react/jsx-runtime";
6244
6206
  var Collapse = (props) => {
6245
- return /* @__PURE__ */ jsx57(MuiCollapse, { ...props });
6207
+ return /* @__PURE__ */ jsx56(MuiCollapse, { ...props });
6246
6208
  };
6247
6209
 
6248
6210
  // src/components/feedback/Alert.tsx
6249
- import React10 from "react";
6211
+ import React11 from "react";
6250
6212
  import MuiAlert from "@mui/material/Alert";
6251
6213
  import { AlertTitle as MuiAlertTitle } from "@mui/material";
6252
6214
  import MuiSnackbar from "@mui/material/Snackbar";
6253
6215
  import { styled as styled41 } from "@mui/material/styles";
6254
- import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
6216
+ import { jsx as jsx57, jsxs as jsxs24 } from "react/jsx-runtime";
6255
6217
  var StyledAlert = styled41(MuiAlert)({
6256
6218
  borderRadius: 8,
6257
6219
  "&.MuiAlert-filled": {
@@ -6264,8 +6226,8 @@ var Alert2 = ({
6264
6226
  children,
6265
6227
  ...props
6266
6228
  }) => {
6267
- return /* @__PURE__ */ jsxs25(StyledAlert, { severity, ...props, children: [
6268
- title && /* @__PURE__ */ jsx58(MuiAlertTitle, { children: title }),
6229
+ return /* @__PURE__ */ jsxs24(StyledAlert, { severity, ...props, children: [
6230
+ title && /* @__PURE__ */ jsx57(MuiAlertTitle, { children: title }),
6269
6231
  children
6270
6232
  ] });
6271
6233
  };
@@ -6287,7 +6249,7 @@ var Snackbar2 = ({
6287
6249
  }
6288
6250
  onClose?.();
6289
6251
  };
6290
- const content = children || (message ? /* @__PURE__ */ jsx58(
6252
+ const content = children || (message ? /* @__PURE__ */ jsx57(
6291
6253
  Alert2,
6292
6254
  {
6293
6255
  onClose: onClose ? handleClose : void 0,
@@ -6301,9 +6263,9 @@ var Snackbar2 = ({
6301
6263
  if (!content) {
6302
6264
  return null;
6303
6265
  }
6304
- const NoTransition = React10.forwardRef(
6266
+ const NoTransition = React11.forwardRef(
6305
6267
  (props2, ref) => {
6306
- return React10.cloneElement(props2.children, {
6268
+ return React11.cloneElement(props2.children, {
6307
6269
  ref,
6308
6270
  style: {
6309
6271
  ...props2.children.props.style,
@@ -6313,7 +6275,7 @@ var Snackbar2 = ({
6313
6275
  }
6314
6276
  );
6315
6277
  NoTransition.displayName = "NoTransition";
6316
- return /* @__PURE__ */ jsx58(
6278
+ return /* @__PURE__ */ jsx57(
6317
6279
  StyledSnackbar,
6318
6280
  {
6319
6281
  anchorOrigin,
@@ -6334,14 +6296,14 @@ var Snackbar2 = ({
6334
6296
 
6335
6297
  // src/components/feedback/EmptyState.tsx
6336
6298
  import { Box as Box18, Typography as Typography15 } from "@mui/material";
6337
- import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
6299
+ import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
6338
6300
  var EmptyState = ({
6339
6301
  title = "No items found",
6340
6302
  description,
6341
6303
  icon,
6342
6304
  action
6343
6305
  }) => {
6344
- return /* @__PURE__ */ jsxs26(
6306
+ return /* @__PURE__ */ jsxs25(
6345
6307
  Box18,
6346
6308
  {
6347
6309
  sx: {
@@ -6354,7 +6316,7 @@ var EmptyState = ({
6354
6316
  minHeight: 200
6355
6317
  },
6356
6318
  children: [
6357
- icon && /* @__PURE__ */ jsx59(
6319
+ icon && /* @__PURE__ */ jsx58(
6358
6320
  Box18,
6359
6321
  {
6360
6322
  sx: {
@@ -6365,9 +6327,9 @@ var EmptyState = ({
6365
6327
  children: icon
6366
6328
  }
6367
6329
  ),
6368
- /* @__PURE__ */ jsx59(Typography15, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
6369
- description && /* @__PURE__ */ jsx59(Typography15, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
6370
- action && /* @__PURE__ */ jsx59(Box18, { children: action })
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 })
6371
6333
  ]
6372
6334
  }
6373
6335
  );
@@ -6375,13 +6337,13 @@ var EmptyState = ({
6375
6337
 
6376
6338
  // src/components/feedback/Loading.tsx
6377
6339
  import { Box as Box19, CircularProgress as CircularProgress4, Typography as Typography16 } from "@mui/material";
6378
- import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
6340
+ import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
6379
6341
  var Loading = ({
6380
6342
  message = "Loading...",
6381
6343
  size: size3 = 40,
6382
6344
  fullScreen = false
6383
6345
  }) => {
6384
- const content = /* @__PURE__ */ jsxs27(
6346
+ const content = /* @__PURE__ */ jsxs26(
6385
6347
  Box19,
6386
6348
  {
6387
6349
  sx: {
@@ -6404,8 +6366,8 @@ var Loading = ({
6404
6366
  }
6405
6367
  },
6406
6368
  children: [
6407
- /* @__PURE__ */ jsx60(CircularProgress4, { size: size3, thickness: 4 }),
6408
- message && /* @__PURE__ */ jsx60(Typography16, { 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 })
6409
6371
  ]
6410
6372
  }
6411
6373
  );
@@ -6414,13 +6376,13 @@ var Loading = ({
6414
6376
 
6415
6377
  // src/components/feedback/AppLoading.tsx
6416
6378
  import { Box as Box20, CircularProgress as CircularProgress5, Typography as Typography17 } from "@mui/material";
6417
- import { jsx as jsx61, jsxs as jsxs28 } from "react/jsx-runtime";
6379
+ import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
6418
6380
  var AppLoading = ({
6419
6381
  message = "Loading...",
6420
6382
  logo = "/icons/logo.png",
6421
6383
  sx = {}
6422
6384
  }) => {
6423
- return /* @__PURE__ */ jsxs28(
6385
+ return /* @__PURE__ */ jsxs27(
6424
6386
  Box20,
6425
6387
  {
6426
6388
  sx: {
@@ -6439,7 +6401,7 @@ var AppLoading = ({
6439
6401
  ...sx
6440
6402
  },
6441
6403
  children: [
6442
- logo && /* @__PURE__ */ jsx61(
6404
+ logo && /* @__PURE__ */ jsx60(
6443
6405
  Box20,
6444
6406
  {
6445
6407
  component: "img",
@@ -6452,8 +6414,8 @@ var AppLoading = ({
6452
6414
  }
6453
6415
  }
6454
6416
  ),
6455
- /* @__PURE__ */ jsx61(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
6456
- /* @__PURE__ */ jsx61(Typography17, { 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 })
6457
6419
  ]
6458
6420
  }
6459
6421
  );
@@ -6463,22 +6425,22 @@ var AppLoading = ({
6463
6425
  import {
6464
6426
  CircularProgress as MuiCircularProgress
6465
6427
  } from "@mui/material";
6466
- import { jsx as jsx62 } from "react/jsx-runtime";
6428
+ import { jsx as jsx61 } from "react/jsx-runtime";
6467
6429
  var CircularProgress6 = ({
6468
6430
  size: size3 = 40,
6469
6431
  thickness = 4,
6470
6432
  ...props
6471
6433
  }) => {
6472
- return /* @__PURE__ */ jsx62(MuiCircularProgress, { size: size3, thickness, ...props });
6434
+ return /* @__PURE__ */ jsx61(MuiCircularProgress, { size: size3, thickness, ...props });
6473
6435
  };
6474
6436
 
6475
6437
  // src/components/icons/ActivityAppIcon.tsx
6476
6438
  import { memo as memo2 } from "react";
6477
6439
  import { SvgIcon as SvgIcon2 } from "@mui/material";
6478
- import { jsx as jsx63, jsxs as jsxs29 } from "react/jsx-runtime";
6479
- var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
6480
- /* @__PURE__ */ jsx63("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6481
- /* @__PURE__ */ jsx63(
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(
6482
6444
  "rect",
6483
6445
  {
6484
6446
  fill: "none",
@@ -6491,7 +6453,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...pro
6491
6453
  rx: 1.7
6492
6454
  }
6493
6455
  ),
6494
- /* @__PURE__ */ jsx63(
6456
+ /* @__PURE__ */ jsx62(
6495
6457
  "rect",
6496
6458
  {
6497
6459
  fill: "none",
@@ -6504,7 +6466,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...pro
6504
6466
  rx: 1.7
6505
6467
  }
6506
6468
  ),
6507
- /* @__PURE__ */ jsx63(
6469
+ /* @__PURE__ */ jsx62(
6508
6470
  "rect",
6509
6471
  {
6510
6472
  fill: "none",
@@ -6521,9 +6483,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...pro
6521
6483
 
6522
6484
  // src/components/icons/ArrowLeft.tsx
6523
6485
  import { SvgIcon as SvgIcon3 } from "@mui/material";
6524
- import { jsx as jsx64 } from "react/jsx-runtime";
6486
+ import { jsx as jsx63 } from "react/jsx-runtime";
6525
6487
  var LeftArrowIcon = (props) => {
6526
- return /* @__PURE__ */ jsx64(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx64("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx64(
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(
6527
6489
  "path",
6528
6490
  {
6529
6491
  id: "Vector (Stroke)",
@@ -6537,9 +6499,9 @@ var LeftArrowIcon = (props) => {
6537
6499
 
6538
6500
  // src/components/icons/ArrowRight.tsx
6539
6501
  import { SvgIcon as SvgIcon4 } from "@mui/material";
6540
- import { jsx as jsx65 } from "react/jsx-runtime";
6502
+ import { jsx as jsx64 } from "react/jsx-runtime";
6541
6503
  var RightArrowIcon = (props) => {
6542
- return /* @__PURE__ */ jsx65(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx65(
6504
+ return /* @__PURE__ */ jsx64(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx64(
6543
6505
  "path",
6544
6506
  {
6545
6507
  fillRule: "evenodd",
@@ -6552,10 +6514,10 @@ var RightArrowIcon = (props) => {
6552
6514
 
6553
6515
  // src/components/icons/AvatarIcon.tsx
6554
6516
  import { SvgIcon as SvgIcon5 } from "@mui/material";
6555
- import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
6517
+ import { jsx as jsx65, jsxs as jsxs29 } from "react/jsx-runtime";
6556
6518
  var AvatarIcon = (props) => {
6557
- return /* @__PURE__ */ jsxs30(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
6558
- /* @__PURE__ */ jsx66(
6519
+ return /* @__PURE__ */ jsxs29(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
6520
+ /* @__PURE__ */ jsx65(
6559
6521
  "path",
6560
6522
  {
6561
6523
  fillRule: "evenodd",
@@ -6564,7 +6526,7 @@ var AvatarIcon = (props) => {
6564
6526
  fill: "#1D1B20"
6565
6527
  }
6566
6528
  ),
6567
- /* @__PURE__ */ jsx66(
6529
+ /* @__PURE__ */ jsx65(
6568
6530
  "path",
6569
6531
  {
6570
6532
  fillRule: "evenodd",
@@ -6579,9 +6541,9 @@ var AvatarIcon = (props) => {
6579
6541
  // src/components/icons/BarTrackingIcon.tsx
6580
6542
  import { memo as memo3 } from "react";
6581
6543
  import { SvgIcon as SvgIcon6 } from "@mui/material";
6582
- import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
6583
- var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
6584
- /* @__PURE__ */ jsx67(
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(
6585
6547
  "rect",
6586
6548
  {
6587
6549
  x: "7.19922",
@@ -6594,7 +6556,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
6594
6556
  fill: "none"
6595
6557
  }
6596
6558
  ),
6597
- /* @__PURE__ */ jsx67(
6559
+ /* @__PURE__ */ jsx66(
6598
6560
  "rect",
6599
6561
  {
6600
6562
  x: "21.0371",
@@ -6607,7 +6569,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
6607
6569
  strokeWidth: "2"
6608
6570
  }
6609
6571
  ),
6610
- /* @__PURE__ */ jsx67(
6572
+ /* @__PURE__ */ jsx66(
6611
6573
  "rect",
6612
6574
  {
6613
6575
  x: "40.4746",
@@ -6620,7 +6582,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
6620
6582
  strokeWidth: "2"
6621
6583
  }
6622
6584
  ),
6623
- /* @__PURE__ */ jsx67(
6585
+ /* @__PURE__ */ jsx66(
6624
6586
  "rect",
6625
6587
  {
6626
6588
  x: "59.8828",
@@ -6638,8 +6600,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
6638
6600
  // src/components/icons/ClockIcon.tsx
6639
6601
  import { memo as memo4 } from "react";
6640
6602
  import { SvgIcon as SvgIcon7 } from "@mui/material";
6641
- import { jsx as jsx68 } from "react/jsx-runtime";
6642
- var ClockIcon = memo4((props) => /* @__PURE__ */ jsx68(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx68(
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(
6643
6605
  "path",
6644
6606
  {
6645
6607
  fill: "currentColor",
@@ -6652,9 +6614,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx68(SvgIcon7, { ...props, vie
6652
6614
  // src/components/icons/CloudFlashIcon.tsx
6653
6615
  import { memo as memo5 } from "react";
6654
6616
  import { SvgIcon as SvgIcon8 } from "@mui/material";
6655
- import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
6656
- var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6657
- /* @__PURE__ */ jsx69(
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(
6658
6620
  "path",
6659
6621
  {
6660
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",
@@ -6663,7 +6625,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...prop
6663
6625
  strokeWidth: "2"
6664
6626
  }
6665
6627
  ),
6666
- /* @__PURE__ */ jsx69(
6628
+ /* @__PURE__ */ jsx68(
6667
6629
  "path",
6668
6630
  {
6669
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",
@@ -6677,9 +6639,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...prop
6677
6639
  // src/components/icons/DecentralizedServerIcon.tsx
6678
6640
  import { memo as memo6 } from "react";
6679
6641
  import { SvgIcon as SvgIcon9 } from "@mui/material";
6680
- import { jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
6681
- var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
6682
- /* @__PURE__ */ jsx70(
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(
6683
6645
  "path",
6684
6646
  {
6685
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",
@@ -6690,7 +6652,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6690
6652
  strokeLinejoin: "round"
6691
6653
  }
6692
6654
  ),
6693
- /* @__PURE__ */ jsx70(
6655
+ /* @__PURE__ */ jsx69(
6694
6656
  "path",
6695
6657
  {
6696
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",
@@ -6701,7 +6663,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6701
6663
  strokeLinejoin: "round"
6702
6664
  }
6703
6665
  ),
6704
- /* @__PURE__ */ jsx70(
6666
+ /* @__PURE__ */ jsx69(
6705
6667
  "path",
6706
6668
  {
6707
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",
@@ -6712,7 +6674,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6712
6674
  strokeLinejoin: "round"
6713
6675
  }
6714
6676
  ),
6715
- /* @__PURE__ */ jsx70(
6677
+ /* @__PURE__ */ jsx69(
6716
6678
  "path",
6717
6679
  {
6718
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",
@@ -6723,7 +6685,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6723
6685
  strokeLinejoin: "round"
6724
6686
  }
6725
6687
  ),
6726
- /* @__PURE__ */ jsx70(
6688
+ /* @__PURE__ */ jsx69(
6727
6689
  "path",
6728
6690
  {
6729
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",
@@ -6734,7 +6696,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6734
6696
  strokeLinejoin: "round"
6735
6697
  }
6736
6698
  ),
6737
- /* @__PURE__ */ jsx70(
6699
+ /* @__PURE__ */ jsx69(
6738
6700
  "path",
6739
6701
  {
6740
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",
@@ -6745,7 +6707,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6745
6707
  strokeLinejoin: "round"
6746
6708
  }
6747
6709
  ),
6748
- /* @__PURE__ */ jsx70(
6710
+ /* @__PURE__ */ jsx69(
6749
6711
  "path",
6750
6712
  {
6751
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",
@@ -6756,7 +6718,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6756
6718
  strokeLinejoin: "round"
6757
6719
  }
6758
6720
  ),
6759
- /* @__PURE__ */ jsx70(
6721
+ /* @__PURE__ */ jsx69(
6760
6722
  "path",
6761
6723
  {
6762
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",
@@ -6767,7 +6729,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6767
6729
  strokeLinejoin: "round"
6768
6730
  }
6769
6731
  ),
6770
- /* @__PURE__ */ jsx70(
6732
+ /* @__PURE__ */ jsx69(
6771
6733
  "path",
6772
6734
  {
6773
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",
@@ -6778,7 +6740,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6778
6740
  strokeLinejoin: "round"
6779
6741
  }
6780
6742
  ),
6781
- /* @__PURE__ */ jsx70(
6743
+ /* @__PURE__ */ jsx69(
6782
6744
  "rect",
6783
6745
  {
6784
6746
  x: "22.623",
@@ -6791,7 +6753,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6791
6753
  strokeWidth: "2"
6792
6754
  }
6793
6755
  ),
6794
- /* @__PURE__ */ jsx70(
6756
+ /* @__PURE__ */ jsx69(
6795
6757
  "rect",
6796
6758
  {
6797
6759
  x: "22.623",
@@ -6804,7 +6766,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6804
6766
  strokeWidth: "2"
6805
6767
  }
6806
6768
  ),
6807
- /* @__PURE__ */ jsx70(
6769
+ /* @__PURE__ */ jsx69(
6808
6770
  "rect",
6809
6771
  {
6810
6772
  x: "22.623",
@@ -6817,7 +6779,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6817
6779
  strokeWidth: "2"
6818
6780
  }
6819
6781
  ),
6820
- /* @__PURE__ */ jsx70(
6782
+ /* @__PURE__ */ jsx69(
6821
6783
  "path",
6822
6784
  {
6823
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",
@@ -6827,7 +6789,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6827
6789
  strokeMiterlimit: "10"
6828
6790
  }
6829
6791
  ),
6830
- /* @__PURE__ */ jsx70(
6792
+ /* @__PURE__ */ jsx69(
6831
6793
  "path",
6832
6794
  {
6833
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",
@@ -6837,7 +6799,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6837
6799
  strokeMiterlimit: "10"
6838
6800
  }
6839
6801
  ),
6840
- /* @__PURE__ */ jsx70(
6802
+ /* @__PURE__ */ jsx69(
6841
6803
  "path",
6842
6804
  {
6843
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",
@@ -6852,8 +6814,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
6852
6814
  // src/components/icons/DiscordIcon.tsx
6853
6815
  import { memo as memo7 } from "react";
6854
6816
  import { SvgIcon as SvgIcon10 } from "@mui/material";
6855
- import { jsx as jsx71 } from "react/jsx-runtime";
6856
- var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx71(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx71(
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(
6857
6819
  "path",
6858
6820
  {
6859
6821
  fill: "currentColor",
@@ -6864,16 +6826,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx71(SvgIcon10, { ...props,
6864
6826
  // src/components/icons/DownloadIcon.tsx
6865
6827
  import { memo as memo8 } from "react";
6866
6828
  import { SvgIcon as SvgIcon11 } from "@mui/material";
6867
- import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
6868
- var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs34(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6869
- /* @__PURE__ */ jsx72(
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(
6870
6832
  "path",
6871
6833
  {
6872
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",
6873
6835
  fill: "currentColor"
6874
6836
  }
6875
6837
  ),
6876
- /* @__PURE__ */ jsx72(
6838
+ /* @__PURE__ */ jsx71(
6877
6839
  "path",
6878
6840
  {
6879
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",
@@ -6885,11 +6847,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs34(SvgIcon11, { ...props
6885
6847
  // src/components/icons/FilledFolderIcon.tsx
6886
6848
  import { memo as memo9 } from "react";
6887
6849
  import { SvgIcon as SvgIcon12 } from "@mui/material";
6888
- import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
6889
- var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs35(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6890
- /* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6891
- /* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6892
- /* @__PURE__ */ jsx73(
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(
6893
6855
  "path",
6894
6856
  {
6895
6857
  fillRule: "evenodd",
@@ -6903,11 +6865,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs35(SvgIcon12, { sx:
6903
6865
  // src/components/icons/FolderIcon.tsx
6904
6866
  import { memo as memo10 } from "react";
6905
6867
  import { SvgIcon as SvgIcon13 } from "@mui/material";
6906
- import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
6907
- var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs36(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6908
- /* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6909
- /* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6910
- /* @__PURE__ */ jsx74(
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(
6911
6873
  "path",
6912
6874
  {
6913
6875
  fillRule: "evenodd",
@@ -6923,16 +6885,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs36(SvgIcon13, { sx: { fil
6923
6885
  // src/components/icons/GithubLogoIcon.tsx
6924
6886
  import { memo as memo11 } from "react";
6925
6887
  import { SvgIcon as SvgIcon14 } from "@mui/material";
6926
- import { jsx as jsx75, jsxs as jsxs37 } from "react/jsx-runtime";
6927
- var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs37(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6928
- /* @__PURE__ */ jsx75(
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(
6929
6891
  "path",
6930
6892
  {
6931
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",
6932
6894
  fill: "white"
6933
6895
  }
6934
6896
  ),
6935
- /* @__PURE__ */ jsx75(
6897
+ /* @__PURE__ */ jsx74(
6936
6898
  "path",
6937
6899
  {
6938
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",
@@ -6944,8 +6906,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs37(SvgIcon14, { ...pr
6944
6906
  // src/components/icons/ShareIcon.tsx
6945
6907
  import { memo as memo12 } from "react";
6946
6908
  import { SvgIcon as SvgIcon15 } from "@mui/material";
6947
- import { jsx as jsx76 } from "react/jsx-runtime";
6948
- var ShareIcon = memo12((props) => /* @__PURE__ */ jsx76(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx76(
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(
6949
6911
  "path",
6950
6912
  {
6951
6913
  fillRule: "evenodd",
@@ -6958,9 +6920,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx76(SvgIcon15, { ...props, v
6958
6920
  // src/components/icons/StorageAppIcon.tsx
6959
6921
  import { memo as memo13 } from "react";
6960
6922
  import { SvgIcon as SvgIcon16 } from "@mui/material";
6961
- import { jsx as jsx77, jsxs as jsxs38 } from "react/jsx-runtime";
6962
- var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
6963
- /* @__PURE__ */ jsx77(
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(
6964
6926
  "path",
6965
6927
  {
6966
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",
@@ -6969,7 +6931,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...pr
6969
6931
  fill: "none"
6970
6932
  }
6971
6933
  ),
6972
- /* @__PURE__ */ jsx77(
6934
+ /* @__PURE__ */ jsx76(
6973
6935
  "path",
6974
6936
  {
6975
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",
@@ -6983,8 +6945,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...pr
6983
6945
  // src/components/icons/UploadFileIcon.tsx
6984
6946
  import { memo as memo14 } from "react";
6985
6947
  import { SvgIcon as SvgIcon17 } from "@mui/material";
6986
- import { jsx as jsx78 } from "react/jsx-runtime";
6987
- var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx78(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx78(
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(
6988
6950
  "path",
6989
6951
  {
6990
6952
  fillRule: "evenodd",
@@ -6999,8 +6961,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx78(SvgIcon17, { ...pro
6999
6961
  // src/components/icons/UploadFolderIcon.tsx
7000
6962
  import { memo as memo15 } from "react";
7001
6963
  import { SvgIcon as SvgIcon18 } from "@mui/material";
7002
- import { jsx as jsx79 } from "react/jsx-runtime";
7003
- var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx79(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx79(
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(
7004
6966
  "path",
7005
6967
  {
7006
6968
  fillRule: "evenodd",
@@ -7019,7 +6981,7 @@ import "github-markdown-css/github-markdown-light.css";
7019
6981
  import MD from "react-markdown";
7020
6982
  import highlight from "rehype-highlight";
7021
6983
  import rehypeRaw from "rehype-raw";
7022
- import { jsx as jsx80 } from "react/jsx-runtime";
6984
+ import { jsx as jsx79 } from "react/jsx-runtime";
7023
6985
  var Content = styled42(Box21)(({ theme: theme2 }) => ({
7024
6986
  backgroundColor: "transparent",
7025
6987
  ...theme2.typography.body1,
@@ -7037,14 +6999,14 @@ var Content = styled42(Box21)(({ theme: theme2 }) => ({
7037
6999
  backgroundColor: theme2.palette.background.paper
7038
7000
  }
7039
7001
  }));
7040
- var Markdown = ({ content, children }) => /* @__PURE__ */ jsx80(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx80(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 }) });
7041
7003
 
7042
7004
  // src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
7043
- import { createContext as createContext2, useContext as useContext2, useState as useState8, useCallback as useCallback6, useEffect as useEffect2 } from "react";
7044
- import { jsx as jsx81 } from "react/jsx-runtime";
7045
- 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);
7046
7008
  var useOnboarding = () => {
7047
- const context = useContext2(OnboardingContext);
7009
+ const context = useContext(OnboardingContext);
7048
7010
  if (!context) {
7049
7011
  throw new Error("useOnboarding should be used inside OnboardingProvider");
7050
7012
  }
@@ -7055,18 +7017,18 @@ var OnboardingProvider = ({ children }) => {
7055
7017
  const savedState = localStorage.getItem("isOnboardingActive");
7056
7018
  return savedState !== null ? JSON.parse(savedState) : true;
7057
7019
  });
7058
- useEffect2(() => {
7020
+ useEffect(() => {
7059
7021
  localStorage.setItem("isOnboardingActive", JSON.stringify(isOnboardingActive));
7060
7022
  }, [isOnboardingActive]);
7061
- const startOnboarding = useCallback6(() => setIsOnboardingActive(true), []);
7062
- const stopOnboarding = useCallback6(() => {
7023
+ const startOnboarding = useCallback5(() => setIsOnboardingActive(true), []);
7024
+ const stopOnboarding = useCallback5(() => {
7063
7025
  setIsOnboardingActive(false);
7064
7026
  }, []);
7065
- const restartOnboarding = useCallback6(() => {
7027
+ const restartOnboarding = useCallback5(() => {
7066
7028
  setIsOnboardingActive(false);
7067
7029
  setTimeout(() => setIsOnboardingActive(true), 0);
7068
7030
  }, []);
7069
- return /* @__PURE__ */ jsx81(
7031
+ return /* @__PURE__ */ jsx80(
7070
7032
  OnboardingContext.Provider,
7071
7033
  {
7072
7034
  value: {
@@ -7081,7 +7043,7 @@ var OnboardingProvider = ({ children }) => {
7081
7043
  };
7082
7044
 
7083
7045
  // src/components/utilities/Truncate/Truncate.tsx
7084
- import { jsx as jsx82 } from "react/jsx-runtime";
7046
+ import { jsx as jsx81 } from "react/jsx-runtime";
7085
7047
  var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
7086
7048
  if (variant === "hex") {
7087
7049
  return 4;
@@ -7105,21 +7067,21 @@ var Truncate = ({
7105
7067
  const truncated = text.slice(0, maxLength - endingLength);
7106
7068
  truncatedText = [truncated, ending].filter(Boolean).join("...");
7107
7069
  }
7108
- return /* @__PURE__ */ jsx82("span", { ...props, "data-full": text, children: truncatedText });
7070
+ return /* @__PURE__ */ jsx81("span", { ...props, "data-full": text, children: truncatedText });
7109
7071
  };
7110
7072
 
7111
7073
  // src/components/utilities/BytesSize/BytesSize.tsx
7112
7074
  import size from "byte-size";
7113
- import { Fragment as Fragment11, jsx as jsx83 } from "react/jsx-runtime";
7075
+ import { Fragment as Fragment12, jsx as jsx82 } from "react/jsx-runtime";
7114
7076
  var BytesSize = ({ bytes }) => {
7115
- return /* @__PURE__ */ jsx83(Fragment11, { children: size(bytes).toString() });
7077
+ return /* @__PURE__ */ jsx82(Fragment12, { children: size(bytes).toString() });
7116
7078
  };
7117
7079
 
7118
7080
  // src/components/utilities/QRCode/QRCode.tsx
7119
7081
  import { forwardRef as forwardRef2 } from "react";
7120
7082
  import QR from "react-qr-code";
7121
- import { jsx as jsx84 } from "react/jsx-runtime";
7122
- var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx84(QR, { ref, size: size3, ...props }));
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 }));
7123
7085
  QRCode.displayName = "QRCode";
7124
7086
 
7125
7087
  // src/components/charts/ChartWidget/ChartWidget.tsx
@@ -7127,7 +7089,7 @@ import { Box as Box22, Stack as Stack4, Typography as Typography18, styled as st
7127
7089
  import { LineChart } from "@mui/x-charts";
7128
7090
  import size2 from "byte-size";
7129
7091
  import { format } from "date-fns";
7130
- import { jsx as jsx85, jsxs as jsxs39 } from "react/jsx-runtime";
7092
+ import { jsx as jsx84, jsxs as jsxs38 } from "react/jsx-runtime";
7131
7093
  var Chart = styled43(Box22)(() => ({
7132
7094
  height: 200
7133
7095
  }));
@@ -7138,10 +7100,10 @@ var ChartWidget = ({
7138
7100
  formatValue = (value2) => size2(value2 || 0).toString()
7139
7101
  }) => {
7140
7102
  const theme2 = useTheme3();
7141
- return /* @__PURE__ */ jsxs39(Stack4, { spacing: 1, children: [
7142
- /* @__PURE__ */ jsx85(Typography18, { variant: "caption", color: "text.secondary", children: title }),
7143
- /* @__PURE__ */ jsx85(Typography18, { fontWeight: "bold", children: value }),
7144
- /* @__PURE__ */ jsx85(Chart, { children: /* @__PURE__ */ jsx85(
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(
7145
7107
  LineChart,
7146
7108
  {
7147
7109
  dataset: history || [],
@@ -7203,7 +7165,7 @@ import { Box as Box23, Card as Card2, CardHeader as CardHeader2, CardMedia, Divi
7203
7165
 
7204
7166
  // src/components/charts/MetricsChart/PeriodSelect.tsx
7205
7167
  import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
7206
- import { jsx as jsx86 } from "react/jsx-runtime";
7168
+ import { jsx as jsx85 } from "react/jsx-runtime";
7207
7169
  var options = [
7208
7170
  /**
7209
7171
  * TODO: Enable the options below when the backend supports them
@@ -7213,7 +7175,7 @@ var options = [
7213
7175
  { value: "week", label: "1 week" },
7214
7176
  { value: "month", label: "1 month" }
7215
7177
  ];
7216
- var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx86(
7178
+ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx85(
7217
7179
  TextField4,
7218
7180
  {
7219
7181
  select: true,
@@ -7221,13 +7183,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx86(
7221
7183
  value,
7222
7184
  defaultValue: options[0].value,
7223
7185
  onChange: (e) => onChange?.(e.target.value),
7224
- children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx86(MenuItem3, { value: value2, children: label }, value2))
7186
+ children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx85(MenuItem3, { value: value2, children: label }, value2))
7225
7187
  }
7226
7188
  );
7227
7189
 
7228
7190
  // src/components/charts/MetricsChart/MetricsChart.tsx
7229
7191
  import { useMemo, useState as useState9 } from "react";
7230
- import { jsx as jsx87, jsxs as jsxs40 } from "react/jsx-runtime";
7192
+ import { jsx as jsx86, jsxs as jsxs39 } from "react/jsx-runtime";
7231
7193
  var mapPeriodToFromDate = (period = "month") => {
7232
7194
  const date = /* @__PURE__ */ new Date();
7233
7195
  if (period === "hour") {
@@ -7287,15 +7249,15 @@ var MetricsChart = ({ history = [] }) => {
7287
7249
  const backgroundHeight = textHeight + padding.top + padding.bottom;
7288
7250
  const rectX = left + (width - backgroundWidth) / 2;
7289
7251
  const rectY = top + (height - backgroundHeight) / 2;
7290
- return /* @__PURE__ */ jsxs40("g", { children: [
7291
- /* @__PURE__ */ jsx87(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
7292
- /* @__PURE__ */ jsx87(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
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 })
7293
7255
  ] });
7294
7256
  };
7295
- return /* @__PURE__ */ jsxs40(Card2, { children: [
7296
- /* @__PURE__ */ jsx87(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx87(PeriodSelect, { value: period, onChange: setPeriod }) }),
7297
- /* @__PURE__ */ jsxs40(CardMedia, { children: [
7298
- /* @__PURE__ */ jsx87(
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(
7299
7261
  Chart2,
7300
7262
  {
7301
7263
  skipAnimation: true,
@@ -7356,35 +7318,35 @@ var MetricsChart = ({ history = [] }) => {
7356
7318
  ]
7357
7319
  }
7358
7320
  ),
7359
- periodHistory.length > 0 && /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
7360
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
7361
- /* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
7362
- /* @__PURE__ */ jsx87(Typography19, { variant: "body2", children: "Get" })
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" })
7363
7325
  ] }),
7364
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
7365
- /* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
7366
- /* @__PURE__ */ jsx87(Typography19, { variant: "body2", children: "Put" })
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" })
7367
7329
  ] })
7368
7330
  ] })
7369
7331
  ] }),
7370
- /* @__PURE__ */ jsxs40(CardMedia, { children: [
7371
- /* @__PURE__ */ jsx87(Divider7, { flexItem: true }),
7372
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 2, padding: 2, children: [
7373
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7374
- /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
7375
- /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: total.gets })
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 })
7376
7338
  ] }),
7377
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7378
- /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
7379
- /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: total.puts })
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 })
7380
7342
  ] }),
7381
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7382
- /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
7383
- /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.transferredBytes }) })
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 }) })
7384
7346
  ] }),
7385
- /* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
7386
- /* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
7387
- /* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.storedBytes }) })
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 }) })
7388
7350
  ] })
7389
7351
  ] })
7390
7352
  ] })
@@ -7392,7 +7354,7 @@ var MetricsChart = ({ history = [] }) => {
7392
7354
  };
7393
7355
 
7394
7356
  // src/components/third-party/FlowEditor.tsx
7395
- import { useCallback as useCallback7 } from "react";
7357
+ import { useCallback as useCallback6 } from "react";
7396
7358
  import ReactFlow, {
7397
7359
  Background,
7398
7360
  Controls,
@@ -7404,7 +7366,7 @@ import ReactFlow, {
7404
7366
  import { Box as Box24 } from "@mui/material";
7405
7367
  import { useTheme as useTheme5 } from "@mui/material/styles";
7406
7368
  import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
7407
- import { jsx as jsx88, jsxs as jsxs41 } from "react/jsx-runtime";
7369
+ import { jsx as jsx87, jsxs as jsxs40 } from "react/jsx-runtime";
7408
7370
  var FlowEditor = ({
7409
7371
  nodes,
7410
7372
  edges,
@@ -7422,7 +7384,7 @@ var FlowEditor = ({
7422
7384
  ...reactFlowProps
7423
7385
  }) => {
7424
7386
  const theme2 = useTheme5();
7425
- const handleInit = useCallback7(
7387
+ const handleInit = useCallback6(
7426
7388
  (instance) => {
7427
7389
  if (onInit) {
7428
7390
  onInit(instance);
@@ -7430,7 +7392,7 @@ var FlowEditor = ({
7430
7392
  },
7431
7393
  [onInit]
7432
7394
  );
7433
- return /* @__PURE__ */ jsx88(ReactFlowProvider, { children: /* @__PURE__ */ jsx88(
7395
+ return /* @__PURE__ */ jsx87(ReactFlowProvider, { children: /* @__PURE__ */ jsx87(
7434
7396
  Box24,
7435
7397
  {
7436
7398
  sx: {
@@ -7443,7 +7405,7 @@ var FlowEditor = ({
7443
7405
  ...containerProps?.sx
7444
7406
  },
7445
7407
  ...containerProps,
7446
- children: /* @__PURE__ */ jsxs41(
7408
+ children: /* @__PURE__ */ jsxs40(
7447
7409
  ReactFlow,
7448
7410
  {
7449
7411
  nodes,
@@ -7465,7 +7427,7 @@ var FlowEditor = ({
7465
7427
  },
7466
7428
  ...reactFlowProps,
7467
7429
  children: [
7468
- showBackground && /* @__PURE__ */ jsx88(
7430
+ showBackground && /* @__PURE__ */ jsx87(
7469
7431
  Background,
7470
7432
  {
7471
7433
  variant: backgroundVariant,
@@ -7474,8 +7436,8 @@ var FlowEditor = ({
7474
7436
  color: theme2.palette.divider
7475
7437
  }
7476
7438
  ),
7477
- showControls && /* @__PURE__ */ jsx88(Controls, {}),
7478
- showMinimap && /* @__PURE__ */ jsx88(
7439
+ showControls && /* @__PURE__ */ jsx87(Controls, {}),
7440
+ showMinimap && /* @__PURE__ */ jsx87(
7479
7441
  MiniMap,
7480
7442
  {
7481
7443
  nodeColor: (node) => {
@@ -7498,7 +7460,7 @@ var FlowEditor = ({
7498
7460
  };
7499
7461
 
7500
7462
  // src/components/third-party/CodeEditor.tsx
7501
- 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";
7502
7464
  import Editor from "@monaco-editor/react";
7503
7465
  import { Box as Box25, IconButton as IconButton11, Tooltip as Tooltip7 } from "@mui/material";
7504
7466
  import FullscreenIcon from "@mui/icons-material/Fullscreen";
@@ -7506,7 +7468,7 @@ import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
7506
7468
  import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
7507
7469
  import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
7508
7470
  import ExpandLessIcon from "@mui/icons-material/ExpandLess";
7509
- import { jsx as jsx89, jsxs as jsxs42 } from "react/jsx-runtime";
7471
+ import { jsx as jsx88, jsxs as jsxs41 } from "react/jsx-runtime";
7510
7472
  var configureTypeScript = (monaco) => {
7511
7473
  monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
7512
7474
  target: monaco.languages.typescript.ScriptTarget.ES2020,
@@ -7559,7 +7521,7 @@ var CodeEditor = ({
7559
7521
  );
7560
7522
  const [showProblems, setShowProblems] = useState10(false);
7561
7523
  const [hasUserToggledProblems, setHasUserToggledProblems] = useState10(false);
7562
- useEffect3(() => {
7524
+ useEffect2(() => {
7563
7525
  if (hasUserToggledProblems) return;
7564
7526
  if (validationErrors.length > 0) {
7565
7527
  setShowProblems(true);
@@ -7571,21 +7533,21 @@ var CodeEditor = ({
7571
7533
  const internalMonacoRef = useRef2(null);
7572
7534
  const finalEditorRef = editorRef || internalEditorRef;
7573
7535
  const finalMonacoRef = monacoRef || internalMonacoRef;
7574
- useEffect3(() => {
7536
+ useEffect2(() => {
7575
7537
  if (isFullscreen) {
7576
7538
  setActualHeight("calc(100vh - 80px)");
7577
7539
  } else {
7578
7540
  setActualHeight(typeof height === "number" ? `${height}px` : height);
7579
7541
  }
7580
7542
  }, [height, isFullscreen]);
7581
- const toggleFullscreen = useCallback8(() => {
7543
+ const toggleFullscreen = useCallback7(() => {
7582
7544
  const newFullscreenState = !isFullscreen;
7583
7545
  setIsFullscreen(newFullscreenState);
7584
7546
  if (onFullscreenChange) {
7585
7547
  onFullscreenChange(newFullscreenState);
7586
7548
  }
7587
7549
  }, [isFullscreen, onFullscreenChange]);
7588
- const gotoMarker = useCallback8(
7550
+ const gotoMarker = useCallback7(
7589
7551
  (marker) => {
7590
7552
  const ed = finalEditorRef?.current;
7591
7553
  if (!ed) return;
@@ -7600,7 +7562,7 @@ var CodeEditor = ({
7600
7562
  },
7601
7563
  [finalEditorRef]
7602
7564
  );
7603
- useEffect3(() => {
7565
+ useEffect2(() => {
7604
7566
  if (!isFullscreen) return;
7605
7567
  function escapeHandler(event) {
7606
7568
  if (event.key === "Escape") {
@@ -7617,7 +7579,7 @@ var CodeEditor = ({
7617
7579
  window.removeEventListener("keydown", escapeHandler, { capture: true });
7618
7580
  };
7619
7581
  }, [isFullscreen, onFullscreenChange]);
7620
- const handleEditorDidMount = useCallback8(
7582
+ const handleEditorDidMount = useCallback7(
7621
7583
  (editor, monaco) => {
7622
7584
  console.log("CodeEditor: onMount called", { editor: !!editor, monaco: !!monaco });
7623
7585
  try {
@@ -7671,7 +7633,7 @@ var CodeEditor = ({
7671
7633
  },
7672
7634
  [isFullscreen, onFullscreenChange, onValidate, onMount, finalEditorRef, finalMonacoRef]
7673
7635
  );
7674
- useEffect3(() => {
7636
+ useEffect2(() => {
7675
7637
  if (!isEditorReady || !finalMonacoRef?.current || !typeDefinitions) return;
7676
7638
  const monaco = finalMonacoRef.current;
7677
7639
  const definitions = Array.isArray(typeDefinitions) ? typeDefinitions : [typeDefinitions];
@@ -7693,7 +7655,7 @@ var CodeEditor = ({
7693
7655
  setTsCode(valueStr);
7694
7656
  onChange(valueStr);
7695
7657
  };
7696
- useEffect3(() => {
7658
+ useEffect2(() => {
7697
7659
  if (value !== tsCode) {
7698
7660
  setTsCode(value);
7699
7661
  if (isEditorReady && finalEditorRef?.current) {
@@ -7718,7 +7680,7 @@ var CodeEditor = ({
7718
7680
  theme: themeProp || "vs",
7719
7681
  ...options2
7720
7682
  };
7721
- return /* @__PURE__ */ jsx89(
7683
+ return /* @__PURE__ */ jsx88(
7722
7684
  Box25,
7723
7685
  {
7724
7686
  sx: {
@@ -7739,7 +7701,7 @@ var CodeEditor = ({
7739
7701
  pb: isFullscreen ? 2 : 0,
7740
7702
  overflow: isFullscreen ? "hidden" : "visible"
7741
7703
  },
7742
- children: /* @__PURE__ */ jsxs42(
7704
+ children: /* @__PURE__ */ jsxs41(
7743
7705
  Box25,
7744
7706
  {
7745
7707
  sx: {
@@ -7755,7 +7717,7 @@ var CodeEditor = ({
7755
7717
  },
7756
7718
  ...containerProps,
7757
7719
  children: [
7758
- /* @__PURE__ */ jsx89(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx89(
7720
+ /* @__PURE__ */ jsx88(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx88(
7759
7721
  IconButton11,
7760
7722
  {
7761
7723
  onClick: toggleFullscreen,
@@ -7773,10 +7735,10 @@ var CodeEditor = ({
7773
7735
  },
7774
7736
  boxShadow: 1
7775
7737
  },
7776
- children: isFullscreen ? /* @__PURE__ */ jsx89(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx89(FullscreenIcon, { fontSize: "small" })
7738
+ children: isFullscreen ? /* @__PURE__ */ jsx88(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx88(FullscreenIcon, { fontSize: "small" })
7777
7739
  }
7778
7740
  ) }),
7779
- /* @__PURE__ */ jsx89(
7741
+ /* @__PURE__ */ jsx88(
7780
7742
  Box25,
7781
7743
  {
7782
7744
  sx: {
@@ -7788,7 +7750,7 @@ var CodeEditor = ({
7788
7750
  position: "relative",
7789
7751
  height: isFullscreen ? "100%" : actualHeight
7790
7752
  },
7791
- children: /* @__PURE__ */ jsx89(
7753
+ children: /* @__PURE__ */ jsx88(
7792
7754
  Editor,
7793
7755
  {
7794
7756
  height: "100%",
@@ -7799,7 +7761,7 @@ var CodeEditor = ({
7799
7761
  onMount: handleEditorDidMount,
7800
7762
  theme: themeProp || "vs",
7801
7763
  options: defaultOptions,
7802
- loading: /* @__PURE__ */ jsx89(Box25, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7764
+ loading: /* @__PURE__ */ jsx88(Box25, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7803
7765
  beforeMount: (monaco) => {
7804
7766
  console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
7805
7767
  }
@@ -7807,7 +7769,7 @@ var CodeEditor = ({
7807
7769
  )
7808
7770
  }
7809
7771
  ),
7810
- validationErrors.length > 0 && /* @__PURE__ */ jsxs42(
7772
+ validationErrors.length > 0 && /* @__PURE__ */ jsxs41(
7811
7773
  Box25,
7812
7774
  {
7813
7775
  sx: {
@@ -7821,7 +7783,7 @@ var CodeEditor = ({
7821
7783
  transition: "max-height 0.2s ease"
7822
7784
  },
7823
7785
  children: [
7824
- /* @__PURE__ */ jsxs42(
7786
+ /* @__PURE__ */ jsxs41(
7825
7787
  Box25,
7826
7788
  {
7827
7789
  sx: {
@@ -7836,15 +7798,15 @@ var CodeEditor = ({
7836
7798
  color: "text.secondary"
7837
7799
  },
7838
7800
  children: [
7839
- /* @__PURE__ */ jsx89(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
7840
- /* @__PURE__ */ jsx89(Box25, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7841
- /* @__PURE__ */ jsxs42(Box25, { sx: { ml: 1 }, children: [
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: [
7842
7804
  validationErrors.length,
7843
7805
  " error",
7844
7806
  validationErrors.length > 1 ? "s" : ""
7845
7807
  ] }),
7846
- /* @__PURE__ */ jsx89(Box25, { sx: { flex: 1 } }),
7847
- /* @__PURE__ */ jsx89(
7808
+ /* @__PURE__ */ jsx88(Box25, { sx: { flex: 1 } }),
7809
+ /* @__PURE__ */ jsx88(
7848
7810
  IconButton11,
7849
7811
  {
7850
7812
  size: "small",
@@ -7853,13 +7815,13 @@ var CodeEditor = ({
7853
7815
  setHasUserToggledProblems(true);
7854
7816
  setShowProblems((s) => !s);
7855
7817
  },
7856
- children: showProblems ? /* @__PURE__ */ jsx89(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx89(ExpandLessIcon, { fontSize: "small" })
7818
+ children: showProblems ? /* @__PURE__ */ jsx88(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx88(ExpandLessIcon, { fontSize: "small" })
7857
7819
  }
7858
7820
  )
7859
7821
  ]
7860
7822
  }
7861
7823
  ),
7862
- showProblems && /* @__PURE__ */ jsx89(Box25, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs42(
7824
+ showProblems && /* @__PURE__ */ jsx88(Box25, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs41(
7863
7825
  Box25,
7864
7826
  {
7865
7827
  onClick: () => gotoMarker(error),
@@ -7876,12 +7838,12 @@ var CodeEditor = ({
7876
7838
  fontSize: "0.85rem"
7877
7839
  },
7878
7840
  children: [
7879
- /* @__PURE__ */ jsx89(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
7880
- /* @__PURE__ */ jsxs42(Box25, { 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: [
7881
7843
  "Line ",
7882
7844
  error.startLineNumber
7883
7845
  ] }),
7884
- /* @__PURE__ */ jsx89(Box25, { 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 })
7885
7847
  ]
7886
7848
  },
7887
7849
  `${error.startLineNumber}-${error.startColumn}-${index}`
@@ -7975,7 +7937,6 @@ export {
7975
7937
  Markdown,
7976
7938
  Menu3 as Menu,
7977
7939
  MenuItem,
7978
- MessagesProvider,
7979
7940
  MetricsChart,
7980
7941
  MiniMap2 as MiniMap,
7981
7942
  NavigationItem,
@@ -8029,7 +7990,6 @@ export {
8029
7990
  useIsDesktop,
8030
7991
  useIsMobile,
8031
7992
  useIsTablet,
8032
- useMessages,
8033
7993
  useOnboarding
8034
7994
  };
8035
7995
  //# sourceMappingURL=index.mjs.map