@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.js CHANGED
@@ -42,7 +42,7 @@ __export(index_exports, {
42
42
  BackgroundVariant: () => import_reactflow2.BackgroundVariant,
43
43
  Badge: () => Badge,
44
44
  BarTrackingIcon: () => BarTrackingIcon,
45
- Box: () => import_material35.Box,
45
+ Box: () => import_material34.Box,
46
46
  Breadcrumbs: () => Breadcrumbs,
47
47
  Button: () => Button,
48
48
  ButtonGroup: () => ButtonGroup,
@@ -63,7 +63,7 @@ __export(index_exports, {
63
63
  Collapse: () => Collapse,
64
64
  ConnectionLineType: () => import_reactflow2.ConnectionLineType,
65
65
  ConnectionStatus: () => ConnectionStatus,
66
- Container: () => import_material37.Container,
66
+ Container: () => import_material36.Container,
67
67
  Controls: () => import_reactflow2.Controls,
68
68
  DecentralizedServerIcon: () => DecentralizedServerIcon,
69
69
  DeploymentDashboardCard: () => DeploymentDashboardCard,
@@ -82,23 +82,23 @@ __export(index_exports, {
82
82
  FilledFolderIcon: () => FilledFolderIcon,
83
83
  FlowEditor: () => FlowEditor,
84
84
  FolderIcon: () => FolderIcon,
85
- FormControl: () => import_material4.FormControl,
86
- FormControlLabel: () => import_material4.FormControlLabel,
87
- FormHelperText: () => import_material4.FormHelperText,
88
- FormLabel: () => import_material4.FormLabel,
85
+ FormControl: () => import_material3.FormControl,
86
+ FormControlLabel: () => import_material3.FormControlLabel,
87
+ FormHelperText: () => import_material3.FormHelperText,
88
+ FormLabel: () => import_material3.FormLabel,
89
89
  GithubLogoIcon: () => GithubLogoIcon,
90
- Grid: () => import_material32.Grid2,
90
+ Grid: () => import_material31.Grid2,
91
91
  IDBlock: () => IDBlock,
92
92
  IconButton: () => IconButton,
93
- InputAdornment: () => import_material4.InputAdornment,
94
- InputLabel: () => import_material4.InputLabel,
93
+ InputAdornment: () => import_material3.InputAdornment,
94
+ InputLabel: () => import_material3.InputLabel,
95
95
  LeftArrowIcon: () => LeftArrowIcon,
96
96
  Link: () => Link3,
97
97
  List: () => List6,
98
98
  ListItem: () => ListItem4,
99
- ListItemIcon: () => import_material26.ListItemIcon,
100
- ListItemSecondaryAction: () => import_material26.ListItemSecondaryAction,
101
- ListItemText: () => import_material26.ListItemText,
99
+ ListItemIcon: () => import_material25.ListItemIcon,
100
+ ListItemSecondaryAction: () => import_material25.ListItemSecondaryAction,
101
+ ListItemText: () => import_material25.ListItemText,
102
102
  Loading: () => Loading,
103
103
  LoadingAnimation: () => LoadingAnimation,
104
104
  LoadingButton: () => LoadingButton,
@@ -106,7 +106,6 @@ __export(index_exports, {
106
106
  Markdown: () => Markdown,
107
107
  Menu: () => Menu3,
108
108
  MenuItem: () => MenuItem,
109
- MessagesProvider: () => MessagesProvider,
110
109
  MetricsChart: () => MetricsChart,
111
110
  MiniMap: () => import_reactflow2.MiniMap,
112
111
  NavigationItem: () => NavigationItem,
@@ -131,7 +130,7 @@ __export(index_exports, {
131
130
  Sidebar: () => Sidebar,
132
131
  SidebarItem: () => SidebarItem,
133
132
  Snackbar: () => Snackbar2,
134
- Stack: () => import_material34.Stack,
133
+ Stack: () => import_material33.Stack,
135
134
  Step: () => Step,
136
135
  StepButton: () => StepButton,
137
136
  StepContent: () => StepContent,
@@ -145,10 +144,10 @@ __export(index_exports, {
145
144
  TextField: () => TextField,
146
145
  ToggleButton: () => ToggleButton,
147
146
  ToggleButtonGroup: () => ToggleButtonGroup,
148
- Toolbar: () => import_material38.Toolbar,
147
+ Toolbar: () => import_material37.Toolbar,
149
148
  Tooltip: () => Tooltip6,
150
149
  Truncate: () => Truncate,
151
- Typography: () => import_material36.Typography,
150
+ Typography: () => import_material35.Typography,
152
151
  UploadFileIcon: () => UploadFileIcon,
153
152
  UploadFolderIcon: () => UploadFolderIcon,
154
153
  WorkspaceSelectorButton: () => WorkspaceSelectorButton,
@@ -160,7 +159,6 @@ __export(index_exports, {
160
159
  useIsDesktop: () => useIsDesktop,
161
160
  useIsMobile: () => useIsMobile,
162
161
  useIsTablet: () => useIsTablet,
163
- useMessages: () => useMessages,
164
162
  useOnboarding: () => useOnboarding
165
163
  });
166
164
  module.exports = __toCommonJS(index_exports);
@@ -1938,76 +1936,25 @@ var LoadingAnimation = (props) => {
1938
1936
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lottie_react2.default, { animationData: loading_default, ...props });
1939
1937
  };
1940
1938
 
1941
- // src/hooks/useMessages.tsx
1942
- var import_react = require("react");
1943
- var import_material = require("@mui/material");
1944
- var import_jsx_runtime3 = require("react/jsx-runtime");
1945
- var MessagesContext = (0, import_react.createContext)(void 0);
1946
- var useMessages = () => {
1947
- const context = (0, import_react.useContext)(MessagesContext);
1948
- if (!context) {
1949
- throw new Error("useMessages must be used within a MessagesProvider");
1950
- }
1951
- return context;
1952
- };
1953
- var MessagesProvider = ({ children }) => {
1954
- const [snackPack, setSnackPack] = (0, import_react.useState)([]);
1955
- const [open, setOpen] = (0, import_react.useState)(false);
1956
- const [messageInfo, setMessageInfo] = (0, import_react.useState)(void 0);
1957
- const showMessage = (0, import_react.useCallback)((options2) => {
1958
- setSnackPack((prev) => [...prev, { ...options2 }]);
1959
- }, []);
1960
- const handleClose = (0, import_react.useCallback)(() => {
1961
- setOpen(false);
1962
- }, []);
1963
- const handleExited = (0, import_react.useCallback)(() => {
1964
- setMessageInfo(void 0);
1965
- }, []);
1966
- (0, import_react.useEffect)(() => {
1967
- if (snackPack.length && !messageInfo) {
1968
- setMessageInfo({ ...snackPack[0] });
1969
- setSnackPack((prev) => prev.slice(1));
1970
- setOpen(true);
1971
- } else if (snackPack.length && messageInfo && open) {
1972
- setOpen(false);
1973
- }
1974
- }, [snackPack, messageInfo, open]);
1975
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(MessagesContext.Provider, { value: { showMessage }, children: [
1976
- children,
1977
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1978
- import_material.Snackbar,
1979
- {
1980
- anchorOrigin: messageInfo?.placement || { vertical: "top", horizontal: "center" },
1981
- open,
1982
- autoHideDuration: messageInfo?.autoDismiss ? 3e3 : null,
1983
- onClose: handleClose,
1984
- TransitionProps: { onExited: handleExited },
1985
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material.Alert, { onClose: handleClose, severity: messageInfo?.appearance, children: messageInfo?.message })
1986
- },
1987
- messageInfo ? messageInfo.message : void 0
1988
- )
1989
- ] });
1990
- };
1991
-
1992
1939
  // src/hooks/useResponsive.ts
1993
- var import_material2 = require("@mui/material");
1940
+ var import_material = require("@mui/material");
1994
1941
  var useIsDesktop = () => {
1995
- const theme2 = (0, import_material2.useTheme)();
1996
- return (0, import_material2.useMediaQuery)(theme2.breakpoints.up("md"));
1942
+ const theme2 = (0, import_material.useTheme)();
1943
+ return (0, import_material.useMediaQuery)(theme2.breakpoints.up("md"));
1997
1944
  };
1998
1945
  var useIsTablet = () => {
1999
- const theme2 = (0, import_material2.useTheme)();
2000
- return (0, import_material2.useMediaQuery)(theme2.breakpoints.between("sm", "md"));
1946
+ const theme2 = (0, import_material.useTheme)();
1947
+ return (0, import_material.useMediaQuery)(theme2.breakpoints.between("sm", "md"));
2001
1948
  };
2002
1949
  var useIsMobile = () => {
2003
- const theme2 = (0, import_material2.useTheme)();
2004
- return (0, import_material2.useMediaQuery)(theme2.breakpoints.down("sm"));
1950
+ const theme2 = (0, import_material.useTheme)();
1951
+ return (0, import_material.useMediaQuery)(theme2.breakpoints.down("sm"));
2005
1952
  };
2006
1953
 
2007
1954
  // src/components/buttons/Button.tsx
2008
1955
  var import_Button = __toESM(require("@mui/material/Button"));
2009
1956
  var import_styles2 = require("@mui/material/styles");
2010
- var import_jsx_runtime4 = require("react/jsx-runtime");
1957
+ var import_jsx_runtime3 = require("react/jsx-runtime");
2011
1958
  var BUTTON_SPACING = {
2012
1959
  borderRadius: "8px",
2013
1960
  padding: "8px 16px",
@@ -2102,13 +2049,13 @@ var Button = ({
2102
2049
  startIcon,
2103
2050
  endIcon
2104
2051
  };
2105
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ButtonComponent, { ...buttonProps, children });
2052
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonComponent, { ...buttonProps, children });
2106
2053
  };
2107
2054
 
2108
2055
  // src/components/buttons/IconButton.tsx
2109
2056
  var import_IconButton = __toESM(require("@mui/material/IconButton"));
2110
2057
  var import_styles3 = require("@mui/material/styles");
2111
- var import_jsx_runtime5 = require("react/jsx-runtime");
2058
+ var import_jsx_runtime4 = require("react/jsx-runtime");
2112
2059
  var StyledIconButton = (0, import_styles3.styled)(import_IconButton.default, {
2113
2060
  shouldForwardProp: (prop) => prop !== "buttonVariant"
2114
2061
  })(({ buttonVariant = "default" }) => {
@@ -2138,18 +2085,18 @@ var IconButton = ({
2138
2085
  variant = "default",
2139
2086
  ...props
2140
2087
  }) => {
2141
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(StyledIconButton, { buttonVariant: variant, ...props });
2088
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(StyledIconButton, { buttonVariant: variant, ...props });
2142
2089
  };
2143
2090
 
2144
2091
  // src/components/buttons/LoadingButton.tsx
2145
2092
  var import_lab = require("@mui/lab");
2146
- var import_jsx_runtime6 = require("react/jsx-runtime");
2093
+ var import_jsx_runtime5 = require("react/jsx-runtime");
2147
2094
  var LoadingButton = ({
2148
2095
  loading = false,
2149
2096
  loadingPosition = "center",
2150
2097
  ...props
2151
2098
  }) => {
2152
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2099
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2153
2100
  import_lab.LoadingButton,
2154
2101
  {
2155
2102
  loading,
@@ -2160,16 +2107,16 @@ var LoadingButton = ({
2160
2107
  };
2161
2108
 
2162
2109
  // src/components/buttons/ButtonGroup.tsx
2163
- var import_material3 = require("@mui/material");
2164
- var import_jsx_runtime7 = require("react/jsx-runtime");
2110
+ var import_material2 = require("@mui/material");
2111
+ var import_jsx_runtime6 = require("react/jsx-runtime");
2165
2112
  var ButtonGroup = ({
2166
2113
  orientation = "horizontal",
2167
2114
  size: size3 = "medium",
2168
2115
  variant = "outlined",
2169
2116
  ...props
2170
2117
  }) => {
2171
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2172
- import_material3.ButtonGroup,
2118
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2119
+ import_material2.ButtonGroup,
2173
2120
  {
2174
2121
  orientation,
2175
2122
  size: size3,
@@ -2182,7 +2129,7 @@ var ButtonGroup = ({
2182
2129
  // src/components/inputs/TextField.tsx
2183
2130
  var import_TextField = __toESM(require("@mui/material/TextField"));
2184
2131
  var import_styles4 = require("@mui/material/styles");
2185
- var import_jsx_runtime8 = require("react/jsx-runtime");
2132
+ var import_jsx_runtime7 = require("react/jsx-runtime");
2186
2133
  var StyledTextField = (0, import_styles4.styled)(import_TextField.default)(({ error }) => ({
2187
2134
  "& .MuiOutlinedInput-root": {
2188
2135
  "&:hover fieldset": {
@@ -2205,13 +2152,13 @@ var TextField = ({
2205
2152
  size: size3 = "medium",
2206
2153
  ...props
2207
2154
  }) => {
2208
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(StyledTextField, { size: size3 === "medium" ? "medium" : "small", ...props });
2155
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(StyledTextField, { size: size3 === "medium" ? "medium" : "small", ...props });
2209
2156
  };
2210
2157
 
2211
2158
  // src/components/inputs/SearchField.tsx
2212
2159
  var import_Search = __toESM(require("@mui/icons-material/Search"));
2213
2160
  var import_InputAdornment = __toESM(require("@mui/material/InputAdornment"));
2214
- var import_jsx_runtime9 = require("react/jsx-runtime");
2161
+ var import_jsx_runtime8 = require("react/jsx-runtime");
2215
2162
  var SearchField = ({
2216
2163
  placeholder = "Search...",
2217
2164
  onSearch,
@@ -2226,13 +2173,13 @@ var SearchField = ({
2226
2173
  onSearch(e.target.value);
2227
2174
  }
2228
2175
  };
2229
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2176
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2230
2177
  TextField,
2231
2178
  {
2232
2179
  placeholder,
2233
2180
  onChange: handleChange,
2234
2181
  InputProps: {
2235
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_InputAdornment.default, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_Search.default, { style: { fontSize: 18, color: "#999" } }) })
2182
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_InputAdornment.default, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_Search.default, { style: { fontSize: 18, color: "#999" } }) })
2236
2183
  },
2237
2184
  ...props
2238
2185
  }
@@ -2240,16 +2187,16 @@ var SearchField = ({
2240
2187
  };
2241
2188
 
2242
2189
  // src/components/inputs/FormControl.tsx
2243
- var import_material4 = require("@mui/material");
2190
+ var import_material3 = require("@mui/material");
2244
2191
 
2245
2192
  // src/components/inputs/ToggleButton.tsx
2246
- var import_material5 = require("@mui/material");
2193
+ var import_material4 = require("@mui/material");
2247
2194
  var import_styles5 = require("@mui/material/styles");
2248
- var import_jsx_runtime10 = require("react/jsx-runtime");
2195
+ var import_jsx_runtime9 = require("react/jsx-runtime");
2249
2196
  var ToggleButton = (props) => {
2250
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_material5.ToggleButton, { ...props });
2197
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material4.ToggleButton, { ...props });
2251
2198
  };
2252
- var StyledToggleButtonGroup = (0, import_styles5.styled)(import_material5.ToggleButtonGroup)({
2199
+ var StyledToggleButtonGroup = (0, import_styles5.styled)(import_material4.ToggleButtonGroup)({
2253
2200
  "& .MuiToggleButton-root": {
2254
2201
  border: `1px solid ${colors.grey[300]}`,
2255
2202
  "&.Mui-selected": {
@@ -2265,13 +2212,13 @@ var StyledToggleButtonGroup = (0, import_styles5.styled)(import_material5.Toggle
2265
2212
  }
2266
2213
  });
2267
2214
  var ToggleButtonGroup = (props) => {
2268
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(StyledToggleButtonGroup, { ...props });
2215
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(StyledToggleButtonGroup, { ...props });
2269
2216
  };
2270
2217
 
2271
2218
  // src/components/inputs/Switch.tsx
2272
2219
  var import_Switch = __toESM(require("@mui/material/Switch"));
2273
2220
  var import_styles6 = require("@mui/material/styles");
2274
- var import_jsx_runtime11 = require("react/jsx-runtime");
2221
+ var import_jsx_runtime10 = require("react/jsx-runtime");
2275
2222
  var StyledSwitch = (0, import_styles6.styled)(import_Switch.default)(({ theme: theme2 }) => ({
2276
2223
  width: 44,
2277
2224
  height: 24,
@@ -2323,14 +2270,14 @@ var Switch = ({
2323
2270
  labelPosition = "right",
2324
2271
  ...props
2325
2272
  }) => {
2326
- const switchComponent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(StyledSwitch, { ...props });
2273
+ const switchComponent = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(StyledSwitch, { ...props });
2327
2274
  if (!label) {
2328
2275
  return switchComponent;
2329
2276
  }
2330
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2331
- labelPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: label }),
2277
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2278
+ labelPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: label }),
2332
2279
  switchComponent,
2333
- labelPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: label })
2280
+ labelPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: label })
2334
2281
  ] });
2335
2282
  };
2336
2283
 
@@ -2338,7 +2285,7 @@ var Switch = ({
2338
2285
  var import_Checkbox = __toESM(require("@mui/material/Checkbox"));
2339
2286
  var import_styles7 = require("@mui/material/styles");
2340
2287
  var import_FormControlLabel = __toESM(require("@mui/material/FormControlLabel"));
2341
- var import_jsx_runtime12 = require("react/jsx-runtime");
2288
+ var import_jsx_runtime11 = require("react/jsx-runtime");
2342
2289
  var StyledCheckbox = (0, import_styles7.styled)(import_Checkbox.default)(() => ({
2343
2290
  color: colors.grey[400],
2344
2291
  "&.Mui-checked": {
@@ -2363,7 +2310,7 @@ var Checkbox = ({
2363
2310
  labelPosition = "right",
2364
2311
  ...props
2365
2312
  }) => {
2366
- const checkboxComponent = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(StyledCheckbox, { ...props });
2313
+ const checkboxComponent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(StyledCheckbox, { ...props });
2367
2314
  if (!label) {
2368
2315
  return checkboxComponent;
2369
2316
  }
@@ -2371,7 +2318,7 @@ var Checkbox = ({
2371
2318
  left: "start",
2372
2319
  right: "end"
2373
2320
  };
2374
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2321
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2375
2322
  import_FormControlLabel.default,
2376
2323
  {
2377
2324
  control: checkboxComponent,
@@ -2386,7 +2333,7 @@ var import_Radio = __toESM(require("@mui/material/Radio"));
2386
2333
  var import_styles8 = require("@mui/material/styles");
2387
2334
  var import_FormControlLabel2 = __toESM(require("@mui/material/FormControlLabel"));
2388
2335
  var import_RadioGroup = __toESM(require("@mui/material/RadioGroup"));
2389
- var import_jsx_runtime13 = require("react/jsx-runtime");
2336
+ var import_jsx_runtime12 = require("react/jsx-runtime");
2390
2337
  var StyledRadio = (0, import_styles8.styled)(import_Radio.default)(() => ({
2391
2338
  color: colors.grey[400],
2392
2339
  "&.Mui-checked": {
@@ -2408,7 +2355,7 @@ var Radio = ({
2408
2355
  labelPosition = "right",
2409
2356
  ...props
2410
2357
  }) => {
2411
- const radioComponent = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(StyledRadio, { ...props });
2358
+ const radioComponent = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(StyledRadio, { ...props });
2412
2359
  if (!label) {
2413
2360
  return radioComponent;
2414
2361
  }
@@ -2416,7 +2363,7 @@ var Radio = ({
2416
2363
  left: "start",
2417
2364
  right: "end"
2418
2365
  };
2419
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2366
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2420
2367
  import_FormControlLabel2.default,
2421
2368
  {
2422
2369
  control: radioComponent,
@@ -2427,18 +2374,18 @@ var Radio = ({
2427
2374
  };
2428
2375
 
2429
2376
  // src/components/navigation/Dropdown/Dropdown.tsx
2430
- var import_material7 = require("@mui/material");
2431
- var import_react3 = require("react");
2377
+ var import_material6 = require("@mui/material");
2378
+ var import_react2 = require("react");
2432
2379
 
2433
2380
  // src/components/navigation/Dropdown/DropdownAnchor.tsx
2434
- var import_react2 = require("react");
2435
- var import_material6 = require("@mui/material");
2381
+ var import_react = require("react");
2382
+ var import_material5 = require("@mui/material");
2436
2383
  var import_icons_material = require("@mui/icons-material");
2437
- var import_jsx_runtime14 = require("react/jsx-runtime");
2438
- var Clickable = (0, import_material6.styled)(import_material6.Button)({
2384
+ var import_jsx_runtime13 = require("react/jsx-runtime");
2385
+ var Clickable = (0, import_material5.styled)(import_material5.Button)({
2439
2386
  padding: 0
2440
2387
  });
2441
- var Anchor = (0, import_material6.styled)(import_material6.Stack)(({ theme: theme2, variant }) => ({
2388
+ var Anchor = (0, import_material5.styled)(import_material5.Stack)(({ theme: theme2, variant }) => ({
2442
2389
  height: 40,
2443
2390
  borderRadius: 25,
2444
2391
  padding: theme2.spacing(1),
@@ -2446,8 +2393,8 @@ var Anchor = (0, import_material6.styled)(import_material6.Stack)(({ theme: them
2446
2393
  backgroundColor: variant !== "header" ? theme2.palette.grey[200] : "transparent",
2447
2394
  cursor: "pointer"
2448
2395
  }));
2449
- var Left = (0, import_material6.styled)("div")(({ theme: theme2 }) => ({
2450
- [`& .${import_material6.avatarClasses.root}`]: {
2396
+ var Left = (0, import_material5.styled)("div")(({ theme: theme2 }) => ({
2397
+ [`& .${import_material5.avatarClasses.root}`]: {
2451
2398
  width: 30,
2452
2399
  height: 30,
2453
2400
  borderWidth: 2,
@@ -2455,21 +2402,21 @@ var Left = (0, import_material6.styled)("div")(({ theme: theme2 }) => ({
2455
2402
  borderColor: theme2.palette.background.paper
2456
2403
  }
2457
2404
  }));
2458
- var Center = (0, import_material6.styled)(import_material6.Typography)(({ theme: theme2 }) => ({
2405
+ var Center = (0, import_material5.styled)(import_material5.Typography)(({ theme: theme2 }) => ({
2459
2406
  fontWeight: theme2.typography.fontWeightBold,
2460
2407
  color: theme2.palette.text.primary
2461
2408
  }));
2462
- var DropdownAnchor = (0, import_react2.forwardRef)(
2463
- ({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Clickable, { ref, ...props, color: "inherit", variant: "text", onClick: onOpen, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Anchor, { variant, spacing: 1, direction: "row", alignItems: "stretch", children: [
2464
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Left, { children: leftElement }),
2465
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Center, { variant: "body1", children: label }),
2466
- variant !== "header" && (open ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_icons_material.ArrowDropUp, {}) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_icons_material.ArrowDropDown, {}))
2409
+ var DropdownAnchor = (0, import_react.forwardRef)(
2410
+ ({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Clickable, { ref, ...props, color: "inherit", variant: "text", onClick: onOpen, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Anchor, { variant, spacing: 1, direction: "row", alignItems: "stretch", children: [
2411
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Left, { children: leftElement }),
2412
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Center, { variant: "body1", children: label }),
2413
+ variant !== "header" && (open ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_icons_material.ArrowDropUp, {}) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_icons_material.ArrowDropDown, {}))
2467
2414
  ] }) })
2468
2415
  );
2469
2416
  DropdownAnchor.displayName = "DropdownAnchor";
2470
2417
 
2471
2418
  // src/components/navigation/Dropdown/Dropdown.tsx
2472
- var import_jsx_runtime15 = require("react/jsx-runtime");
2419
+ var import_jsx_runtime14 = require("react/jsx-runtime");
2473
2420
  var Dropdown = ({
2474
2421
  open,
2475
2422
  label,
@@ -2481,16 +2428,16 @@ var Dropdown = ({
2481
2428
  disableGutters = false,
2482
2429
  disablePaddings = false,
2483
2430
  variant,
2484
- renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DropdownAnchor, { ref, open: open2, label, leftElement, onOpen, variant })
2431
+ renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownAnchor, { ref, open: open2, label, leftElement, onOpen, variant })
2485
2432
  }) => {
2486
- const anchorRef = (0, import_react3.useRef)(null);
2433
+ const anchorRef = (0, import_react2.useRef)(null);
2487
2434
  const horizontal = direction === "left" ? "right" : "left";
2488
- const onOpen = (0, import_react3.useCallback)(() => onToggle?.(true), [onToggle]);
2435
+ const onOpen = (0, import_react2.useCallback)(() => onToggle?.(true), [onToggle]);
2489
2436
  const padding = dense ? 1 : 2;
2490
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
2437
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
2491
2438
  renderAnchor({ ref: anchorRef, onOpen, open }),
2492
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2493
- import_material7.Popover,
2439
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2440
+ import_material6.Popover,
2494
2441
  {
2495
2442
  "aria-label": "Overlay",
2496
2443
  open,
@@ -2524,12 +2471,12 @@ var Dropdown = ({
2524
2471
  };
2525
2472
 
2526
2473
  // src/components/navigation/Sidebar.tsx
2527
- var import_material9 = require("@mui/material");
2474
+ var import_material8 = require("@mui/material");
2528
2475
 
2529
2476
  // src/components/navigation/SidebarItem.tsx
2530
- var import_material8 = require("@mui/material");
2531
- var import_jsx_runtime16 = require("react/jsx-runtime");
2532
- var StyledListItemButton = (0, import_material8.styled)(import_material8.ListItemButton, {
2477
+ var import_material7 = require("@mui/material");
2478
+ var import_jsx_runtime15 = require("react/jsx-runtime");
2479
+ var StyledListItemButton = (0, import_material7.styled)(import_material7.ListItemButton, {
2533
2480
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "size"
2534
2481
  })(({ selected, size: size3 = "medium" }) => {
2535
2482
  const heightMap = {
@@ -2567,17 +2514,17 @@ var SidebarItem = ({
2567
2514
  endIcon,
2568
2515
  children
2569
2516
  }) => {
2570
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(StyledListItemButton, { selected, size: size3, onClick, children: [
2571
- icon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_material8.ListItemIcon, { children: icon }),
2572
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_material8.ListItemText, { primary: label }),
2573
- endIcon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { marginLeft: "auto" }, children: endIcon }),
2517
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(StyledListItemButton, { selected, size: size3, onClick, children: [
2518
+ icon && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_material7.ListItemIcon, { children: icon }),
2519
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_material7.ListItemText, { primary: label }),
2520
+ endIcon && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { marginLeft: "auto" }, children: endIcon }),
2574
2521
  children
2575
2522
  ] });
2576
2523
  };
2577
2524
 
2578
2525
  // src/components/navigation/Sidebar.tsx
2579
- var import_jsx_runtime17 = require("react/jsx-runtime");
2580
- var StyledDrawer = (0, import_material9.styled)(import_material9.Drawer)(() => ({
2526
+ var import_jsx_runtime16 = require("react/jsx-runtime");
2527
+ var StyledDrawer = (0, import_material8.styled)(import_material8.Drawer)(() => ({
2581
2528
  "& .MuiDrawer-paper": {
2582
2529
  backgroundColor: colors.background.paper,
2583
2530
  borderRight: `1px solid ${colors.grey[200]}`,
@@ -2591,7 +2538,7 @@ var Sidebar = ({
2591
2538
  onClose,
2592
2539
  variant = "permanent"
2593
2540
  }) => {
2594
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2541
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2595
2542
  StyledDrawer,
2596
2543
  {
2597
2544
  variant,
@@ -2605,14 +2552,14 @@ var Sidebar = ({
2605
2552
  boxSizing: "border-box"
2606
2553
  }
2607
2554
  },
2608
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Box, { sx: { overflow: "auto", padding: "8px 0" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.List, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SidebarItem, { ...item }, index)) }) })
2555
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_material8.Box, { sx: { overflow: "auto", padding: "8px 0" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_material8.List, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SidebarItem, { ...item }, index)) }) })
2609
2556
  }
2610
2557
  );
2611
2558
  };
2612
2559
 
2613
2560
  // src/components/navigation/ServiceSelector.tsx
2614
- var import_react4 = require("react");
2615
- var import_material10 = require("@mui/material");
2561
+ var import_react3 = require("react");
2562
+ var import_material9 = require("@mui/material");
2616
2563
  var import_KeyboardArrowDown = __toESM(require("@mui/icons-material/KeyboardArrowDown"));
2617
2564
  var import_Archive = __toESM(require("@mui/icons-material/Archive"));
2618
2565
  var import_Unarchive = __toESM(require("@mui/icons-material/Unarchive"));
@@ -2621,7 +2568,7 @@ var import_Add = __toESM(require("@mui/icons-material/Add"));
2621
2568
  var import_Check = __toESM(require("@mui/icons-material/Check"));
2622
2569
  var import_Settings = __toESM(require("@mui/icons-material/Settings"));
2623
2570
  var import_PersonAddAlt = __toESM(require("@mui/icons-material/PersonAddAlt"));
2624
- var import_jsx_runtime18 = require("react/jsx-runtime");
2571
+ var import_jsx_runtime17 = require("react/jsx-runtime");
2625
2572
  var ServiceSelectorButton = ({
2626
2573
  services,
2627
2574
  selectedServiceId,
@@ -2637,9 +2584,9 @@ var ServiceSelectorButton = ({
2637
2584
  onOpenSettings,
2638
2585
  onOpenAddMember
2639
2586
  }) => {
2640
- const [anchorEl, setAnchorEl] = (0, import_react4.useState)(null);
2641
- const [searchTerm, setSearchTerm] = (0, import_react4.useState)("");
2642
- const [showArchived, setShowArchived] = (0, import_react4.useState)(false);
2587
+ const [anchorEl, setAnchorEl] = (0, import_react3.useState)(null);
2588
+ const [searchTerm, setSearchTerm] = (0, import_react3.useState)("");
2589
+ const [showArchived, setShowArchived] = (0, import_react3.useState)(false);
2643
2590
  const handleOpenSelector = (event) => {
2644
2591
  event.stopPropagation();
2645
2592
  setAnchorEl(event.currentTarget);
@@ -2655,7 +2602,7 @@ var ServiceSelectorButton = ({
2655
2602
  onServiceClick(selectedServiceId);
2656
2603
  }
2657
2604
  };
2658
- const handleSelectService = (0, import_react4.useCallback)(
2605
+ const handleSelectService = (0, import_react3.useCallback)(
2659
2606
  (serviceId) => {
2660
2607
  handleClose();
2661
2608
  if (onSelectService) {
@@ -2678,9 +2625,9 @@ var ServiceSelectorButton = ({
2678
2625
  return matchesSearch && matchesArchivedFilter;
2679
2626
  });
2680
2627
  if (compact) {
2681
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
2682
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Tooltip, { title: "Select service", placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2683
- import_material10.IconButton,
2628
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
2629
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Box, { sx: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Tooltip, { title: "Select service", placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2630
+ import_material9.IconButton,
2684
2631
  {
2685
2632
  onClick: handleOpenSelector,
2686
2633
  sx: {
@@ -2690,8 +2637,8 @@ var ServiceSelectorButton = ({
2690
2637
  },
2691
2638
  ...sx
2692
2639
  },
2693
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2694
- import_material10.Avatar,
2640
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2641
+ import_material9.Avatar,
2695
2642
  {
2696
2643
  sx: {
2697
2644
  width: 32,
@@ -2704,7 +2651,7 @@ var ServiceSelectorButton = ({
2704
2651
  )
2705
2652
  }
2706
2653
  ) }) }),
2707
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2654
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2708
2655
  ServiceSelectorPanel,
2709
2656
  {
2710
2657
  open: Boolean(anchorEl),
@@ -2730,11 +2677,11 @@ var ServiceSelectorButton = ({
2730
2677
  )
2731
2678
  ] });
2732
2679
  }
2733
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
2734
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
2735
- selectedService ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
2736
- isManager ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2737
- import_material10.Link,
2680
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
2681
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_material9.Box, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
2682
+ selectedService ? /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
2683
+ isManager ? /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2684
+ import_material9.Link,
2738
2685
  {
2739
2686
  underline: "hover",
2740
2687
  color: "inherit",
@@ -2747,8 +2694,8 @@ var ServiceSelectorButton = ({
2747
2694
  mr: 0.5
2748
2695
  },
2749
2696
  children: [
2750
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2751
- import_material10.Avatar,
2697
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2698
+ import_material9.Avatar,
2752
2699
  {
2753
2700
  sx: {
2754
2701
  width: 20,
@@ -2763,8 +2710,8 @@ var ServiceSelectorButton = ({
2763
2710
  selectedService.name
2764
2711
  ]
2765
2712
  }
2766
- ) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2767
- import_material10.Box,
2713
+ ) : /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2714
+ import_material9.Box,
2768
2715
  {
2769
2716
  sx: {
2770
2717
  display: "flex",
@@ -2774,8 +2721,8 @@ var ServiceSelectorButton = ({
2774
2721
  color: "text.primary"
2775
2722
  },
2776
2723
  children: [
2777
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2778
- import_material10.Avatar,
2724
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2725
+ import_material9.Avatar,
2779
2726
  {
2780
2727
  sx: {
2781
2728
  width: 20,
@@ -2791,8 +2738,8 @@ var ServiceSelectorButton = ({
2791
2738
  ]
2792
2739
  }
2793
2740
  ),
2794
- selectedService.archived && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2795
- import_material10.Chip,
2741
+ selectedService.archived && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2742
+ import_material9.Chip,
2796
2743
  {
2797
2744
  size: "small",
2798
2745
  label: "Archived",
@@ -2807,8 +2754,8 @@ var ServiceSelectorButton = ({
2807
2754
  }
2808
2755
  }
2809
2756
  )
2810
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2811
- import_material10.Typography,
2757
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2758
+ import_material9.Typography,
2812
2759
  {
2813
2760
  variant: "body2",
2814
2761
  color: "text.secondary",
@@ -2818,8 +2765,8 @@ var ServiceSelectorButton = ({
2818
2765
  children: "Select Service"
2819
2766
  }
2820
2767
  ),
2821
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2822
- import_material10.IconButton,
2768
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2769
+ import_material9.IconButton,
2823
2770
  {
2824
2771
  onClick: handleOpenSelector,
2825
2772
  size: "small",
@@ -2828,11 +2775,11 @@ var ServiceSelectorButton = ({
2828
2775
  ml: 0.5,
2829
2776
  color: "text.secondary"
2830
2777
  },
2831
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_KeyboardArrowDown.default, { fontSize: "small" })
2778
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_KeyboardArrowDown.default, { fontSize: "small" })
2832
2779
  }
2833
2780
  )
2834
2781
  ] }),
2835
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2782
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2836
2783
  ServiceSelectorPanel,
2837
2784
  {
2838
2785
  open: Boolean(anchorEl),
@@ -2879,8 +2826,8 @@ var ServiceSelectorPanel = ({
2879
2826
  onOpenSettings,
2880
2827
  onOpenAddMember
2881
2828
  }) => {
2882
- const [internalSearchTerm, setInternalSearchTerm] = (0, import_react4.useState)("");
2883
- const [internalShowArchived, setInternalShowArchived] = (0, import_react4.useState)(false);
2829
+ const [internalSearchTerm, setInternalSearchTerm] = (0, import_react3.useState)("");
2830
+ const [internalShowArchived, setInternalShowArchived] = (0, import_react3.useState)(false);
2884
2831
  const searchTerm = externalSearchTerm !== void 0 ? externalSearchTerm : internalSearchTerm;
2885
2832
  const setSearchTerm = externalOnSearchChange || setInternalSearchTerm;
2886
2833
  const showArchived = externalShowArchived !== void 0 ? externalShowArchived : internalShowArchived;
@@ -2901,8 +2848,8 @@ var ServiceSelectorPanel = ({
2901
2848
  }
2902
2849
  }
2903
2850
  };
2904
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2905
- import_material10.Menu,
2851
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2852
+ import_material9.Menu,
2906
2853
  {
2907
2854
  anchorEl,
2908
2855
  open,
@@ -2926,8 +2873,8 @@ var ServiceSelectorPanel = ({
2926
2873
  }
2927
2874
  },
2928
2875
  children: [
2929
- selectedService && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2930
- import_material10.Box,
2876
+ selectedService && /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2877
+ import_material9.Box,
2931
2878
  {
2932
2879
  sx: {
2933
2880
  paddingLeft: 2,
@@ -2938,13 +2885,13 @@ var ServiceSelectorPanel = ({
2938
2885
  borderColor: "divider"
2939
2886
  },
2940
2887
  children: [
2941
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: {
2888
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_material9.Box, { sx: {
2942
2889
  display: "flex",
2943
2890
  alignItems: "center",
2944
2891
  mb: 1.5
2945
2892
  }, children: [
2946
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2947
- import_material10.Avatar,
2893
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2894
+ import_material9.Avatar,
2948
2895
  {
2949
2896
  sx: {
2950
2897
  width: 32,
@@ -2956,10 +2903,10 @@ var ServiceSelectorPanel = ({
2956
2903
  children: selectedService.name.charAt(0)
2957
2904
  }
2958
2905
  ),
2959
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
2960
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Typography, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
2961
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2962
- import_material10.Box,
2906
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Box, { sx: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_material9.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
2907
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Typography, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
2908
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2909
+ import_material9.Box,
2963
2910
  {
2964
2911
  sx: {
2965
2912
  display: "inline-block",
@@ -2977,11 +2924,11 @@ var ServiceSelectorPanel = ({
2977
2924
  )
2978
2925
  ] }) })
2979
2926
  ] }),
2980
- (onOpenSettings || onOpenAddMember) && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { display: "flex", gap: 1 }, children: [
2981
- onOpenAddMember && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2982
- import_material10.Button,
2927
+ (onOpenSettings || onOpenAddMember) && /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_material9.Box, { sx: { display: "flex", gap: 1 }, children: [
2928
+ onOpenAddMember && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2929
+ import_material9.Button,
2983
2930
  {
2984
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_PersonAddAlt.default, {}),
2931
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_PersonAddAlt.default, {}),
2985
2932
  variant: "outlined",
2986
2933
  size: "small",
2987
2934
  onClick: (e) => {
@@ -3011,10 +2958,10 @@ var ServiceSelectorPanel = ({
3011
2958
  children: "Add member"
3012
2959
  }
3013
2960
  ),
3014
- onOpenSettings && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3015
- import_material10.Button,
2961
+ onOpenSettings && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2962
+ import_material9.Button,
3016
2963
  {
3017
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Settings.default, {}),
2964
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Settings.default, {}),
3018
2965
  variant: "outlined",
3019
2966
  size: "small",
3020
2967
  onClick: (e) => {
@@ -3048,10 +2995,10 @@ var ServiceSelectorPanel = ({
3048
2995
  ]
3049
2996
  }
3050
2997
  ),
3051
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
3052
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
3053
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3054
- import_material10.TextField,
2998
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_material9.Box, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
2999
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_material9.Box, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
3000
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3001
+ import_material9.TextField,
3055
3002
  {
3056
3003
  size: "small",
3057
3004
  placeholder: "Search services...",
@@ -3059,7 +3006,7 @@ var ServiceSelectorPanel = ({
3059
3006
  onChange: (e) => setSearchTerm(e.target.value),
3060
3007
  sx: { flex: 1 },
3061
3008
  InputProps: {
3062
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Search2.default, { fontSize: "small", color: "action" }) }),
3009
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Search2.default, { fontSize: "small", color: "action" }) }),
3063
3010
  sx: {
3064
3011
  borderRadius: 1.5,
3065
3012
  backgroundColor: "rgba(0, 0, 0, 0.04)",
@@ -3069,28 +3016,28 @@ var ServiceSelectorPanel = ({
3069
3016
  }
3070
3017
  }
3071
3018
  ),
3072
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Tooltip, { title: showArchived ? "Show active" : "Show archived", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3073
- import_material10.IconButton,
3019
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Tooltip, { title: showArchived ? "Show active" : "Show archived", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3020
+ import_material9.IconButton,
3074
3021
  {
3075
3022
  size: "small",
3076
3023
  onClick: toggleArchived,
3077
3024
  color: showArchived ? "primary" : "default",
3078
3025
  sx: { ml: 1 },
3079
- children: showArchived ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Unarchive.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Archive.default, { fontSize: "small" })
3026
+ children: showArchived ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Unarchive.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Archive.default, { fontSize: "small" })
3080
3027
  }
3081
3028
  ) })
3082
3029
  ] }),
3083
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3084
- import_material10.Box,
3030
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3031
+ import_material9.Box,
3085
3032
  {
3086
3033
  sx: {
3087
3034
  maxHeight: 400,
3088
3035
  overflow: "auto",
3089
3036
  py: 1
3090
3037
  },
3091
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Typography, { variant: "body2", color: "text.secondary", children: "Loading services..." }) }) : filteredServices.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Typography, { variant: "body2", color: "text.secondary", children: searchTerm ? `No ${showArchived ? "archived " : ""}services matching "${searchTerm}"` : showArchived ? "No archived services found" : "No active services found" }) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
3092
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3093
- import_material10.Typography,
3038
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Typography, { variant: "body2", color: "text.secondary", children: "Loading services..." }) }) : filteredServices.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Typography, { variant: "body2", color: "text.secondary", children: searchTerm ? `No ${showArchived ? "archived " : ""}services matching "${searchTerm}"` : showArchived ? "No archived services found" : "No active services found" }) }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
3039
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3040
+ import_material9.Typography,
3094
3041
  {
3095
3042
  variant: "caption",
3096
3043
  sx: {
@@ -3105,8 +3052,8 @@ var ServiceSelectorPanel = ({
3105
3052
  },
3106
3053
  children: [
3107
3054
  "Services",
3108
- showArchived && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3109
- import_material10.Chip,
3055
+ showArchived && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3056
+ import_material9.Chip,
3110
3057
  {
3111
3058
  size: "small",
3112
3059
  label: "Archived",
@@ -3124,8 +3071,8 @@ var ServiceSelectorPanel = ({
3124
3071
  ]
3125
3072
  }
3126
3073
  ),
3127
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.List, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3128
- import_material10.ListItem,
3074
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.List, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3075
+ import_material9.ListItem,
3129
3076
  {
3130
3077
  sx: {
3131
3078
  py: 0.75,
@@ -3138,7 +3085,7 @@ var ServiceSelectorPanel = ({
3138
3085
  position: "relative"
3139
3086
  },
3140
3087
  onClick: () => onSelectService(service.id),
3141
- secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3088
+ secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3142
3089
  import_Check.default,
3143
3090
  {
3144
3091
  sx: {
@@ -3148,8 +3095,8 @@ var ServiceSelectorPanel = ({
3148
3095
  }
3149
3096
  ) : null,
3150
3097
  children: [
3151
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3152
- import_material10.Avatar,
3098
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3099
+ import_material9.Avatar,
3153
3100
  {
3154
3101
  sx: {
3155
3102
  width: 26,
@@ -3161,11 +3108,11 @@ var ServiceSelectorPanel = ({
3161
3108
  children: service.name.charAt(0)
3162
3109
  }
3163
3110
  ) }),
3164
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3165
- import_material10.ListItemText,
3111
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3112
+ import_material9.ListItemText,
3166
3113
  {
3167
- primary: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3168
- import_material10.Typography,
3114
+ primary: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material9.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3115
+ import_material9.Typography,
3169
3116
  {
3170
3117
  variant: "body2",
3171
3118
  sx: {
@@ -3186,8 +3133,8 @@ var ServiceSelectorPanel = ({
3186
3133
  ] })
3187
3134
  }
3188
3135
  ),
3189
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3190
- import_material10.Box,
3136
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3137
+ import_material9.Box,
3191
3138
  {
3192
3139
  sx: {
3193
3140
  paddingTop: 2,
@@ -3196,12 +3143,12 @@ var ServiceSelectorPanel = ({
3196
3143
  borderTop: 1,
3197
3144
  borderColor: "divider"
3198
3145
  },
3199
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3200
- import_material10.Button,
3146
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3147
+ import_material9.Button,
3201
3148
  {
3202
3149
  fullWidth: true,
3203
3150
  variant: "text",
3204
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Add.default, {}),
3151
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Add.default, {}),
3205
3152
  onClick: handleCreateClick,
3206
3153
  sx: {
3207
3154
  textTransform: "none",
@@ -3226,13 +3173,13 @@ var ServiceSelectorPanel = ({
3226
3173
  };
3227
3174
 
3228
3175
  // src/components/navigation/WorkspaceSelector.tsx
3229
- var import_react5 = __toESM(require("react"));
3230
- var import_material11 = require("@mui/material");
3176
+ var import_react4 = __toESM(require("react"));
3177
+ var import_material10 = require("@mui/material");
3231
3178
  var import_KeyboardArrowDown2 = __toESM(require("@mui/icons-material/KeyboardArrowDown"));
3232
3179
  var import_Search3 = __toESM(require("@mui/icons-material/Search"));
3233
3180
  var import_Add2 = __toESM(require("@mui/icons-material/Add"));
3234
3181
  var import_Check2 = __toESM(require("@mui/icons-material/Check"));
3235
- var import_jsx_runtime19 = require("react/jsx-runtime");
3182
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3236
3183
  var WorkspaceSelectorButton = ({
3237
3184
  workspaces,
3238
3185
  selectedWorkspaceId,
@@ -3243,7 +3190,7 @@ var WorkspaceSelectorButton = ({
3243
3190
  sx = {},
3244
3191
  panelWidth = 350
3245
3192
  }) => {
3246
- const [anchorEl, setAnchorEl] = (0, import_react5.useState)(null);
3193
+ const [anchorEl, setAnchorEl] = (0, import_react4.useState)(null);
3247
3194
  const handleOpenSelector = (event) => {
3248
3195
  event.stopPropagation();
3249
3196
  setAnchorEl(event.currentTarget);
@@ -3251,7 +3198,7 @@ var WorkspaceSelectorButton = ({
3251
3198
  const handleClose = () => {
3252
3199
  setAnchorEl(null);
3253
3200
  };
3254
- const handleSelectWorkspace = (0, import_react5.useCallback)(
3201
+ const handleSelectWorkspace = (0, import_react4.useCallback)(
3255
3202
  (workspaceId) => {
3256
3203
  handleClose();
3257
3204
  if (onSelectWorkspace) {
@@ -3264,10 +3211,10 @@ var WorkspaceSelectorButton = ({
3264
3211
  if (!workspaces || workspaces.length === 0) {
3265
3212
  return null;
3266
3213
  }
3267
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
3268
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material11.Box, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
3269
- selectedWorkspace ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
3270
- import_material11.Link,
3214
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
3215
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
3216
+ selectedWorkspace ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3217
+ import_material10.Link,
3271
3218
  {
3272
3219
  underline: "hover",
3273
3220
  color: "inherit",
@@ -3285,8 +3232,8 @@ var WorkspaceSelectorButton = ({
3285
3232
  mr: 0.5
3286
3233
  },
3287
3234
  children: [
3288
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3289
- import_material11.Avatar,
3235
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3236
+ import_material10.Avatar,
3290
3237
  {
3291
3238
  sx: {
3292
3239
  width: 20,
@@ -3301,8 +3248,8 @@ var WorkspaceSelectorButton = ({
3301
3248
  selectedWorkspace.name
3302
3249
  ]
3303
3250
  }
3304
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3305
- import_material11.Typography,
3251
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3252
+ import_material10.Typography,
3306
3253
  {
3307
3254
  variant: "body2",
3308
3255
  color: "text.secondary",
@@ -3312,8 +3259,8 @@ var WorkspaceSelectorButton = ({
3312
3259
  children: "Select Workspace"
3313
3260
  }
3314
3261
  ),
3315
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3316
- import_material11.IconButton,
3262
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3263
+ import_material10.IconButton,
3317
3264
  {
3318
3265
  onClick: handleOpenSelector,
3319
3266
  size: "small",
@@ -3322,11 +3269,11 @@ var WorkspaceSelectorButton = ({
3322
3269
  ml: 0.5,
3323
3270
  color: "text.secondary"
3324
3271
  },
3325
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_KeyboardArrowDown2.default, { fontSize: "small" })
3272
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_KeyboardArrowDown2.default, { fontSize: "small" })
3326
3273
  }
3327
3274
  )
3328
3275
  ] }),
3329
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3276
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3330
3277
  WorkspaceSelectorPanel,
3331
3278
  {
3332
3279
  open: Boolean(anchorEl),
@@ -3353,8 +3300,8 @@ var WorkspaceSelectorPanel = ({
3353
3300
  loading = false,
3354
3301
  width = 350
3355
3302
  }) => {
3356
- const [searchTerm, setSearchTerm] = (0, import_react5.useState)("");
3357
- import_react5.default.useEffect(() => {
3303
+ const [searchTerm, setSearchTerm] = (0, import_react4.useState)("");
3304
+ import_react4.default.useEffect(() => {
3358
3305
  if (open) {
3359
3306
  setSearchTerm("");
3360
3307
  }
@@ -3372,8 +3319,8 @@ var WorkspaceSelectorPanel = ({
3372
3319
  onSelectWorkspace(workspaceId);
3373
3320
  onClose();
3374
3321
  };
3375
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3376
- import_material11.Menu,
3322
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3323
+ import_material10.Menu,
3377
3324
  {
3378
3325
  open,
3379
3326
  anchorEl,
@@ -3388,9 +3335,9 @@ var WorkspaceSelectorPanel = ({
3388
3335
  borderRadius: 2
3389
3336
  }
3390
3337
  },
3391
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material11.Box, { children: [
3392
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Box, { sx: { px: 2, pt: 2, pb: 1.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3393
- import_material11.TextField,
3338
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { children: [
3339
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { px: 2, pt: 2, pb: 1.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3340
+ import_material10.TextField,
3394
3341
  {
3395
3342
  fullWidth: true,
3396
3343
  size: "small",
@@ -3398,12 +3345,12 @@ var WorkspaceSelectorPanel = ({
3398
3345
  value: searchTerm,
3399
3346
  onChange: (e) => setSearchTerm(e.target.value),
3400
3347
  InputProps: {
3401
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Search3.default, { fontSize: "small" }) })
3348
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Search3.default, { fontSize: "small" }) })
3402
3349
  }
3403
3350
  }
3404
3351
  ) }),
3405
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Box, { sx: { maxHeight: 400, overflowY: "auto" }, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Typography, { variant: "body2", color: "text.secondary", children: "Loading..." }) }) : filteredWorkspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Typography, { variant: "body2", color: "text.secondary", children: "No workspaces found" }) }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.List, { dense: true, children: filteredWorkspaces.map((workspace) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
3406
- import_material11.ListItem,
3352
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { maxHeight: 400, overflowY: "auto" }, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Typography, { variant: "body2", color: "text.secondary", children: "Loading..." }) }) : filteredWorkspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Typography, { variant: "body2", color: "text.secondary", children: "No workspaces found" }) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.List, { dense: true, children: filteredWorkspaces.map((workspace) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3353
+ import_material10.ListItem,
3407
3354
  {
3408
3355
  onClick: () => handleSelect(workspace.id),
3409
3356
  sx: {
@@ -3415,19 +3362,19 @@ var WorkspaceSelectorPanel = ({
3415
3362
  }
3416
3363
  },
3417
3364
  children: [
3418
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3419
- import_material11.Avatar,
3365
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3366
+ import_material10.Avatar,
3420
3367
  {
3421
3368
  sx: { width: 32, height: 32, bgcolor: "secondary.main" },
3422
3369
  children: workspace.name.charAt(0)
3423
3370
  }
3424
3371
  ) }),
3425
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3426
- import_material11.ListItemText,
3372
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3373
+ import_material10.ListItemText,
3427
3374
  {
3428
- primary: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material11.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3429
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Typography, { variant: "body2", fontWeight: 500, children: workspace.name }),
3430
- workspace.id === selectedWorkspaceId && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Check2.default, { fontSize: "small", color: "primary" })
3375
+ primary: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3376
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.Typography, { variant: "body2", fontWeight: 500, children: workspace.name }),
3377
+ workspace.id === selectedWorkspaceId && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Check2.default, { fontSize: "small", color: "primary" })
3431
3378
  ] }),
3432
3379
  secondary: workspace.description
3433
3380
  }
@@ -3436,8 +3383,8 @@ var WorkspaceSelectorPanel = ({
3436
3383
  },
3437
3384
  workspace.id
3438
3385
  )) }) }),
3439
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3440
- import_material11.Box,
3386
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3387
+ import_material10.Box,
3441
3388
  {
3442
3389
  sx: {
3443
3390
  paddingTop: 2,
@@ -3446,12 +3393,12 @@ var WorkspaceSelectorPanel = ({
3446
3393
  borderTop: 1,
3447
3394
  borderColor: "divider"
3448
3395
  },
3449
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3450
- import_material11.Button,
3396
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3397
+ import_material10.Button,
3451
3398
  {
3452
3399
  fullWidth: true,
3453
3400
  variant: "text",
3454
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Add2.default, {}),
3401
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Add2.default, {}),
3455
3402
  onClick: handleCreateClick,
3456
3403
  sx: {
3457
3404
  textTransform: "none",
@@ -3475,27 +3422,27 @@ var WorkspaceSelectorPanel = ({
3475
3422
  };
3476
3423
 
3477
3424
  // src/components/navigation/Stepper.tsx
3478
- var import_material12 = require("@mui/material");
3479
- var import_jsx_runtime20 = require("react/jsx-runtime");
3425
+ var import_material11 = require("@mui/material");
3426
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3480
3427
  var Stepper = (props) => {
3481
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material12.Stepper, { ...props });
3428
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Stepper, { ...props });
3482
3429
  };
3483
3430
  var Step = (props) => {
3484
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material12.Step, { ...props });
3431
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.Step, { ...props });
3485
3432
  };
3486
3433
  var StepLabel = (props) => {
3487
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material12.StepLabel, { ...props });
3434
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.StepLabel, { ...props });
3488
3435
  };
3489
3436
  var StepContent = (props) => {
3490
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material12.StepContent, { ...props });
3437
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.StepContent, { ...props });
3491
3438
  };
3492
3439
  var StepButton = (props) => {
3493
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material12.StepButton, { ...props });
3440
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material11.StepButton, { ...props });
3494
3441
  };
3495
3442
 
3496
3443
  // src/components/navigation/SideNav/SideNav.tsx
3497
- var import_react6 = __toESM(require("react"));
3498
- var import_material13 = require("@mui/material");
3444
+ var import_react5 = __toESM(require("react"));
3445
+ var import_material12 = require("@mui/material");
3499
3446
  var import_styles9 = require("@mui/material/styles");
3500
3447
 
3501
3448
  // src/components/navigation/SideNav/styles.ts
@@ -3516,12 +3463,12 @@ var scrollbarStyles = {
3516
3463
  };
3517
3464
 
3518
3465
  // src/components/navigation/SideNav/SideNav.tsx
3519
- var import_jsx_runtime21 = require("react/jsx-runtime");
3520
- var SideNavContext = import_react6.default.createContext({
3466
+ var import_jsx_runtime20 = require("react/jsx-runtime");
3467
+ var SideNavContext = import_react5.default.createContext({
3521
3468
  collapsed: false,
3522
3469
  showTooltips: true
3523
3470
  });
3524
- var SideNavContainer = (0, import_styles9.styled)(import_material13.Box, {
3471
+ var SideNavContainer = (0, import_styles9.styled)(import_material12.Box, {
3525
3472
  shouldForwardProp: (prop) => !["navWidth", "navPosition", "showBorder", "backgroundColor", "isCollapsed", "collapsedWidth", "transitionDuration"].includes(prop)
3526
3473
  })(({ theme: theme2, navWidth = 280, navPosition = "left", showBorder = true, backgroundColor, isCollapsed = false, collapsedWidth = 68, transitionDuration = 300 }) => ({
3527
3474
  width: isCollapsed ? collapsedWidth : navWidth,
@@ -3541,63 +3488,63 @@ var SideNavContainer = (0, import_styles9.styled)(import_material13.Box, {
3541
3488
  borderLeft: navPosition === "right" ? `1px solid ${theme2.palette.divider}` : "none"
3542
3489
  }
3543
3490
  }));
3544
- var HeaderSection = (0, import_styles9.styled)(import_material13.Box)(({ theme: theme2 }) => ({
3491
+ var HeaderSection = (0, import_styles9.styled)(import_material12.Box)(({ theme: theme2 }) => ({
3545
3492
  flexShrink: 0,
3546
3493
  backgroundColor: theme2.palette.background.paper
3547
3494
  }));
3548
- var NavigationSection = (0, import_styles9.styled)(import_material13.Box)(() => ({
3495
+ var NavigationSection = (0, import_styles9.styled)(import_material12.Box)(() => ({
3549
3496
  flexGrow: 1,
3550
3497
  overflowY: "auto",
3551
3498
  overflowX: "hidden",
3552
3499
  ...scrollbarStyles
3553
3500
  }));
3554
- var FooterSection = (0, import_styles9.styled)(import_material13.Box)(({ theme: theme2 }) => ({
3501
+ var FooterSection = (0, import_styles9.styled)(import_material12.Box)(({ theme: theme2 }) => ({
3555
3502
  flexShrink: 0,
3556
3503
  backgroundColor: theme2.palette.background.paper
3557
3504
  }));
3558
- var Header = import_react6.default.memo(({ children, className }) => {
3559
- const { collapsed, onToggleCollapse } = import_react6.default.useContext(SideNavContext);
3560
- const enhancedChildren = import_react6.default.Children.map(children, (child) => {
3561
- if (import_react6.default.isValidElement(child)) {
3562
- return import_react6.default.cloneElement(child, {
3505
+ var Header = import_react5.default.memo(({ children, className }) => {
3506
+ const { collapsed, onToggleCollapse } = import_react5.default.useContext(SideNavContext);
3507
+ const enhancedChildren = import_react5.default.Children.map(children, (child) => {
3508
+ if (import_react5.default.isValidElement(child)) {
3509
+ return import_react5.default.cloneElement(child, {
3563
3510
  collapsed,
3564
3511
  onCollapse: onToggleCollapse
3565
3512
  });
3566
3513
  }
3567
3514
  return child;
3568
3515
  });
3569
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
3516
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
3570
3517
  });
3571
3518
  Header.displayName = "SideNav.Header";
3572
- var Navigation = import_react6.default.memo(({ children, className }) => {
3573
- const { collapsed, showTooltips } = import_react6.default.useContext(SideNavContext);
3574
- const enhancedChildren = import_react6.default.Children.map(children, (child) => {
3575
- if (import_react6.default.isValidElement(child)) {
3576
- return import_react6.default.cloneElement(child, {
3519
+ var Navigation = import_react5.default.memo(({ children, className }) => {
3520
+ const { collapsed, showTooltips } = import_react5.default.useContext(SideNavContext);
3521
+ const enhancedChildren = import_react5.default.Children.map(children, (child) => {
3522
+ if (import_react5.default.isValidElement(child)) {
3523
+ return import_react5.default.cloneElement(child, {
3577
3524
  collapsed,
3578
3525
  showTooltips
3579
3526
  });
3580
3527
  }
3581
3528
  return child;
3582
3529
  });
3583
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
3530
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
3584
3531
  });
3585
3532
  Navigation.displayName = "SideNav.Navigation";
3586
- var Footer = import_react6.default.memo(({ children, className }) => {
3587
- const { collapsed } = import_react6.default.useContext(SideNavContext);
3588
- const enhancedChildren = import_react6.default.Children.map(children, (child) => {
3589
- if (import_react6.default.isValidElement(child)) {
3590
- return import_react6.default.cloneElement(child, {
3533
+ var Footer = import_react5.default.memo(({ children, className }) => {
3534
+ const { collapsed } = import_react5.default.useContext(SideNavContext);
3535
+ const enhancedChildren = import_react5.default.Children.map(children, (child) => {
3536
+ if (import_react5.default.isValidElement(child)) {
3537
+ return import_react5.default.cloneElement(child, {
3591
3538
  compact: collapsed
3592
3539
  });
3593
3540
  }
3594
3541
  return child;
3595
3542
  });
3596
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
3543
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
3597
3544
  });
3598
3545
  Footer.displayName = "SideNav.Footer";
3599
3546
  var SideNav = Object.assign(
3600
- import_react6.default.memo(({
3547
+ import_react5.default.memo(({
3601
3548
  width = 280,
3602
3549
  collapsedWidth = 68,
3603
3550
  collapsed: controlledCollapsed,
@@ -3612,10 +3559,10 @@ var SideNav = Object.assign(
3612
3559
  className,
3613
3560
  ariaLabel = "Main navigation"
3614
3561
  }) => {
3615
- const [internalCollapsed, setInternalCollapsed] = (0, import_react6.useState)(defaultCollapsed);
3562
+ const [internalCollapsed, setInternalCollapsed] = (0, import_react5.useState)(defaultCollapsed);
3616
3563
  const isControlled = controlledCollapsed !== void 0;
3617
3564
  const collapsed = isControlled ? controlledCollapsed : internalCollapsed;
3618
- const handleToggleCollapse = (0, import_react6.useCallback)(() => {
3565
+ const handleToggleCollapse = (0, import_react5.useCallback)(() => {
3619
3566
  const newCollapsed = !collapsed;
3620
3567
  if (!isControlled) {
3621
3568
  setInternalCollapsed(newCollapsed);
@@ -3629,7 +3576,7 @@ var SideNav = Object.assign(
3629
3576
  showTooltips,
3630
3577
  onToggleCollapse: handleToggleCollapse
3631
3578
  };
3632
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3579
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
3633
3580
  SideNavContainer,
3634
3581
  {
3635
3582
  role: "navigation",
@@ -3655,13 +3602,13 @@ var SideNav = Object.assign(
3655
3602
  SideNav.displayName = "SideNav";
3656
3603
 
3657
3604
  // src/components/navigation/SideNav/SideNavHeader.tsx
3658
- var import_react7 = __toESM(require("react"));
3659
- var import_material14 = require("@mui/material");
3605
+ var import_react6 = __toESM(require("react"));
3606
+ var import_material13 = require("@mui/material");
3660
3607
  var import_styles11 = require("@mui/material/styles");
3661
3608
  var import_ChevronLeft = __toESM(require("@mui/icons-material/ChevronLeft"));
3662
3609
  var import_ChevronRight = __toESM(require("@mui/icons-material/ChevronRight"));
3663
- var import_jsx_runtime22 = require("react/jsx-runtime");
3664
- var HeaderContainer = (0, import_styles11.styled)(import_material14.Box, {
3610
+ var import_jsx_runtime21 = require("react/jsx-runtime");
3611
+ var HeaderContainer = (0, import_styles11.styled)(import_material13.Box, {
3665
3612
  shouldForwardProp: (prop) => prop !== "isCollapsed"
3666
3613
  })(({ theme: theme2, isCollapsed }) => ({
3667
3614
  display: "flex",
@@ -3675,7 +3622,7 @@ var HeaderContainer = (0, import_styles11.styled)(import_material14.Box, {
3675
3622
  duration: theme2.transitions.duration.shorter
3676
3623
  })
3677
3624
  }));
3678
- var BrandingButton = (0, import_styles11.styled)(import_material14.ButtonBase)(({ theme: theme2 }) => ({
3625
+ var BrandingButton = (0, import_styles11.styled)(import_material13.ButtonBase)(({ theme: theme2 }) => ({
3679
3626
  display: "flex",
3680
3627
  alignItems: "center",
3681
3628
  gap: theme2.spacing(1.5),
@@ -3691,7 +3638,7 @@ var BrandingButton = (0, import_styles11.styled)(import_material14.ButtonBase)((
3691
3638
  outlineOffset: 2
3692
3639
  }
3693
3640
  }));
3694
- var SideNavHeader = import_react7.default.memo(({
3641
+ var SideNavHeader = import_react6.default.memo(({
3695
3642
  logo,
3696
3643
  title,
3697
3644
  showCollapseButton = true,
@@ -3701,9 +3648,9 @@ var SideNavHeader = import_react7.default.memo(({
3701
3648
  collapsed = false
3702
3649
  }) => {
3703
3650
  const headerAriaLabel = ariaLabel || `${title} navigation header`;
3704
- const brandingContent = /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
3705
- logo && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3706
- import_material14.Box,
3651
+ const brandingContent = /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
3652
+ logo && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3653
+ import_material13.Box,
3707
3654
  {
3708
3655
  sx: {
3709
3656
  display: "flex",
@@ -3714,8 +3661,8 @@ var SideNavHeader = import_react7.default.memo(({
3714
3661
  children: logo
3715
3662
  }
3716
3663
  ),
3717
- !collapsed && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3718
- import_material14.Typography,
3664
+ !collapsed && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3665
+ import_material13.Typography,
3719
3666
  {
3720
3667
  variant: "subtitle1",
3721
3668
  sx: {
@@ -3729,14 +3676,14 @@ var SideNavHeader = import_react7.default.memo(({
3729
3676
  }
3730
3677
  )
3731
3678
  ] });
3732
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
3679
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
3733
3680
  HeaderContainer,
3734
3681
  {
3735
3682
  "data-testid": "sidenav-header-content",
3736
3683
  "aria-label": headerAriaLabel,
3737
3684
  isCollapsed: collapsed,
3738
3685
  children: [
3739
- onLogoClick ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3686
+ onLogoClick ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3740
3687
  BrandingButton,
3741
3688
  {
3742
3689
  onClick: onLogoClick,
@@ -3744,8 +3691,8 @@ var SideNavHeader = import_react7.default.memo(({
3744
3691
  "data-testid": "sidenav-home-link",
3745
3692
  children: brandingContent
3746
3693
  }
3747
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3748
- import_material14.Box,
3694
+ ) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3695
+ import_material13.Box,
3749
3696
  {
3750
3697
  sx: {
3751
3698
  display: "flex",
@@ -3756,14 +3703,14 @@ var SideNavHeader = import_react7.default.memo(({
3756
3703
  children: brandingContent
3757
3704
  }
3758
3705
  ),
3759
- showCollapseButton && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3760
- import_material14.Tooltip,
3706
+ showCollapseButton && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3707
+ import_material13.Tooltip,
3761
3708
  {
3762
3709
  title: collapsed ? "Expand navigation" : "Collapse navigation",
3763
3710
  placement: "right",
3764
3711
  arrow: true,
3765
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3766
- import_material14.IconButton,
3712
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3713
+ import_material13.IconButton,
3767
3714
  {
3768
3715
  onClick: onCollapse,
3769
3716
  "aria-label": collapsed ? "Expand navigation" : "Collapse navigation",
@@ -3778,7 +3725,7 @@ var SideNavHeader = import_react7.default.memo(({
3778
3725
  color: "text.primary"
3779
3726
  }
3780
3727
  },
3781
- children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_ChevronRight.default, {}) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_ChevronLeft.default, {})
3728
+ children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_ChevronRight.default, {}) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_ChevronLeft.default, {})
3782
3729
  }
3783
3730
  )
3784
3731
  }
@@ -3790,15 +3737,15 @@ var SideNavHeader = import_react7.default.memo(({
3790
3737
  SideNavHeader.displayName = "SideNavHeader";
3791
3738
 
3792
3739
  // src/components/navigation/SideNav/NavigationList.tsx
3793
- var import_react9 = __toESM(require("react"));
3794
- var import_material16 = require("@mui/material");
3795
-
3796
- // src/components/navigation/SideNav/NavigationItem.tsx
3797
3740
  var import_react8 = __toESM(require("react"));
3798
3741
  var import_material15 = require("@mui/material");
3742
+
3743
+ // src/components/navigation/SideNav/NavigationItem.tsx
3744
+ var import_react7 = __toESM(require("react"));
3745
+ var import_material14 = require("@mui/material");
3799
3746
  var import_styles12 = require("@mui/material/styles");
3800
- var import_jsx_runtime23 = require("react/jsx-runtime");
3801
- var StyledListItemButton2 = (0, import_styles12.styled)(import_material15.ListItemButton, {
3747
+ var import_jsx_runtime22 = require("react/jsx-runtime");
3748
+ var StyledListItemButton2 = (0, import_styles12.styled)(import_material14.ListItemButton, {
3802
3749
  shouldForwardProp: (prop) => !["selected", "size", "iconPosition", "isCollapsed"].includes(prop)
3803
3750
  })(({ theme: theme2, selected, size: size3, isCollapsed }) => {
3804
3751
  const heights = {
@@ -3859,7 +3806,7 @@ var StyledListItemButton2 = (0, import_styles12.styled)(import_material15.ListIt
3859
3806
  }
3860
3807
  };
3861
3808
  });
3862
- var NavigationItem = import_react8.default.memo(({
3809
+ var NavigationItem = import_react7.default.memo(({
3863
3810
  id,
3864
3811
  label,
3865
3812
  icon,
@@ -3881,8 +3828,8 @@ var NavigationItem = import_react8.default.memo(({
3881
3828
  onClick(id);
3882
3829
  }
3883
3830
  };
3884
- const iconElement = icon && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3885
- import_material15.ListItemIcon,
3831
+ const iconElement = icon && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3832
+ import_material14.ListItemIcon,
3886
3833
  {
3887
3834
  sx: {
3888
3835
  fontSize: 24,
@@ -3895,8 +3842,8 @@ var NavigationItem = import_react8.default.memo(({
3895
3842
  children: icon
3896
3843
  }
3897
3844
  );
3898
- const labelElement = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3899
- import_material15.ListItemText,
3845
+ const labelElement = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3846
+ import_material14.ListItemText,
3900
3847
  {
3901
3848
  primary: label,
3902
3849
  primaryTypographyProps: {
@@ -3914,7 +3861,7 @@ var NavigationItem = import_react8.default.memo(({
3914
3861
  }
3915
3862
  }
3916
3863
  );
3917
- const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
3864
+ const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
3918
3865
  StyledListItemButton2,
3919
3866
  {
3920
3867
  selected,
@@ -3931,8 +3878,8 @@ var NavigationItem = import_react8.default.memo(({
3931
3878
  icon && iconPosition === "left" && iconElement,
3932
3879
  labelElement,
3933
3880
  icon && iconPosition === "right" && iconElement,
3934
- endContent && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3935
- import_material15.Box,
3881
+ endContent && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3882
+ import_material14.Box,
3936
3883
  {
3937
3884
  sx: {
3938
3885
  marginLeft: "auto",
@@ -3946,8 +3893,8 @@ var NavigationItem = import_react8.default.memo(({
3946
3893
  }
3947
3894
  );
3948
3895
  if (collapsed && showTooltip) {
3949
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3950
- import_material15.Tooltip,
3896
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3897
+ import_material14.Tooltip,
3951
3898
  {
3952
3899
  title: label,
3953
3900
  placement: tooltipPlacement,
@@ -3963,8 +3910,8 @@ var NavigationItem = import_react8.default.memo(({
3963
3910
  NavigationItem.displayName = "NavigationItem";
3964
3911
 
3965
3912
  // src/components/navigation/SideNav/NavigationList.tsx
3966
- var import_jsx_runtime24 = require("react/jsx-runtime");
3967
- var NavigationList = import_react9.default.memo(({
3913
+ var import_jsx_runtime23 = require("react/jsx-runtime");
3914
+ var NavigationList = import_react8.default.memo(({
3968
3915
  items,
3969
3916
  selectedId,
3970
3917
  onSelectionChange,
@@ -3973,7 +3920,7 @@ var NavigationList = import_react9.default.memo(({
3973
3920
  collapsed = false,
3974
3921
  showTooltips = true
3975
3922
  }) => {
3976
- const [internalSelectedId, setInternalSelectedId] = (0, import_react9.useState)(
3923
+ const [internalSelectedId, setInternalSelectedId] = (0, import_react8.useState)(
3977
3924
  selectedId
3978
3925
  );
3979
3926
  const isControlled = selectedId !== void 0;
@@ -3986,8 +3933,8 @@ var NavigationList = import_react9.default.memo(({
3986
3933
  onSelectionChange(id);
3987
3934
  }
3988
3935
  };
3989
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
3990
- import_material16.List,
3936
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3937
+ import_material15.List,
3991
3938
  {
3992
3939
  role: "list",
3993
3940
  "aria-label": ariaLabel,
@@ -4000,15 +3947,15 @@ var NavigationList = import_react9.default.memo(({
4000
3947
  },
4001
3948
  children: items.map((item, index) => {
4002
3949
  const isSelected = currentSelectedId === item.id;
4003
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4004
- import_material16.ListItem,
3950
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3951
+ import_material15.ListItem,
4005
3952
  {
4006
3953
  role: "listitem",
4007
3954
  sx: {
4008
3955
  padding: 0,
4009
3956
  display: "block"
4010
3957
  },
4011
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
3958
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4012
3959
  NavigationItem,
4013
3960
  {
4014
3961
  ...item,
@@ -4036,12 +3983,12 @@ var NavigationList = import_react9.default.memo(({
4036
3983
  NavigationList.displayName = "NavigationList";
4037
3984
 
4038
3985
  // src/components/navigation/SideNav/ConnectionStatus.tsx
4039
- var import_react10 = __toESM(require("react"));
4040
- var import_material17 = require("@mui/material");
3986
+ var import_react9 = __toESM(require("react"));
3987
+ var import_material16 = require("@mui/material");
4041
3988
  var import_styles14 = require("@mui/material/styles");
4042
3989
  var import_Power = __toESM(require("@mui/icons-material/Power"));
4043
- var import_jsx_runtime25 = require("react/jsx-runtime");
4044
- var StatusPill = (0, import_styles14.styled)(import_material17.Box, {
3990
+ var import_jsx_runtime24 = require("react/jsx-runtime");
3991
+ var StatusPill = (0, import_styles14.styled)(import_material16.Box, {
4045
3992
  shouldForwardProp: (prop) => !["variant", "interactive"].includes(prop)
4046
3993
  })(({ theme: theme2, variant = "info", interactive }) => {
4047
3994
  const variantColors = {
@@ -4101,7 +4048,7 @@ var StatusPill = (0, import_styles14.styled)(import_material17.Box, {
4101
4048
  }
4102
4049
  };
4103
4050
  });
4104
- var ConnectionStatus = import_react10.default.memo(({
4051
+ var ConnectionStatus = import_react9.default.memo(({
4105
4052
  status,
4106
4053
  variant = "info",
4107
4054
  icon,
@@ -4115,7 +4062,7 @@ var ConnectionStatus = import_react10.default.memo(({
4115
4062
  onClick();
4116
4063
  }
4117
4064
  };
4118
- const statusContent = /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
4065
+ const statusContent = /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
4119
4066
  StatusPill,
4120
4067
  {
4121
4068
  role: "status",
@@ -4126,8 +4073,8 @@ var ConnectionStatus = import_react10.default.memo(({
4126
4073
  interactive,
4127
4074
  onClick: handleClick,
4128
4075
  children: [
4129
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4130
- import_material17.Box,
4076
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4077
+ import_material16.Box,
4131
4078
  {
4132
4079
  sx: {
4133
4080
  display: "flex",
@@ -4135,28 +4082,28 @@ var ConnectionStatus = import_react10.default.memo(({
4135
4082
  fontSize: 16,
4136
4083
  color: "inherit"
4137
4084
  },
4138
- children: icon || /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_Power.default, { fontSize: "small" })
4085
+ children: icon || /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_Power.default, { fontSize: "small" })
4139
4086
  }
4140
4087
  ),
4141
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material17.Typography, { className: "status-text", variant: "body2", children: compact ? compactText ?? status : status })
4088
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material16.Typography, { className: "status-text", variant: "body2", children: compact ? compactText ?? status : status })
4142
4089
  ]
4143
4090
  }
4144
4091
  );
4145
4092
  if (compact) {
4146
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4147
- import_material17.Box,
4093
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4094
+ import_material16.Box,
4148
4095
  {
4149
4096
  sx: {
4150
4097
  display: "flex",
4151
4098
  justifyContent: "center",
4152
4099
  padding: 1
4153
4100
  },
4154
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material17.Tooltip, { title: status, placement: "right", arrow: true, children: statusContent })
4101
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material16.Tooltip, { title: status, placement: "right", arrow: true, children: statusContent })
4155
4102
  }
4156
4103
  );
4157
4104
  }
4158
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4159
- import_material17.Box,
4105
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4106
+ import_material16.Box,
4160
4107
  {
4161
4108
  sx: {
4162
4109
  display: "flex",
@@ -4170,12 +4117,12 @@ var ConnectionStatus = import_react10.default.memo(({
4170
4117
  ConnectionStatus.displayName = "ConnectionStatus";
4171
4118
 
4172
4119
  // src/components/navigation/SideNav/AccountSection.tsx
4173
- var import_react11 = __toESM(require("react"));
4174
- var import_material18 = require("@mui/material");
4120
+ var import_react10 = __toESM(require("react"));
4121
+ var import_material17 = require("@mui/material");
4175
4122
  var import_styles15 = require("@mui/material/styles");
4176
4123
  var import_Logout = __toESM(require("@mui/icons-material/Logout"));
4177
- var import_jsx_runtime26 = require("react/jsx-runtime");
4178
- var AccountContainer = (0, import_styles15.styled)(import_material18.Box, {
4124
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4125
+ var AccountContainer = (0, import_styles15.styled)(import_material17.Box, {
4179
4126
  shouldForwardProp: (prop) => !["layout", "isCompact"].includes(prop)
4180
4127
  })(({ theme: theme2, layout = "horizontal", isCompact }) => ({
4181
4128
  display: "flex",
@@ -4206,7 +4153,7 @@ var deriveInitials = (name) => {
4206
4153
  }
4207
4154
  return (words[0][0] + words[words.length - 1][0]).toUpperCase();
4208
4155
  };
4209
- var AccountSection = import_react11.default.memo(({
4156
+ var AccountSection = import_react10.default.memo(({
4210
4157
  user,
4211
4158
  onLogout,
4212
4159
  showEmail = false,
@@ -4216,15 +4163,15 @@ var AccountSection = import_react11.default.memo(({
4216
4163
  const initials = user.initials || deriveInitials(user.name);
4217
4164
  const avatarSrc = user.avatarUrl;
4218
4165
  if (compact) {
4219
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
4220
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4221
- import_material18.Tooltip,
4166
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
4167
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4168
+ import_material17.Tooltip,
4222
4169
  {
4223
4170
  title: `${user.name}${user.email ? ` (${user.email})` : ""}`,
4224
4171
  placement: "right",
4225
4172
  arrow: true,
4226
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4227
- import_material18.Avatar,
4173
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4174
+ import_material17.Avatar,
4228
4175
  {
4229
4176
  src: avatarSrc,
4230
4177
  alt: user.name,
@@ -4242,8 +4189,8 @@ var AccountSection = import_react11.default.memo(({
4242
4189
  )
4243
4190
  }
4244
4191
  ),
4245
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material18.Tooltip, { title: "Logout", placement: "right", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4246
- import_material18.IconButton,
4192
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material17.Tooltip, { title: "Logout", placement: "right", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4193
+ import_material17.IconButton,
4247
4194
  {
4248
4195
  onClick: onLogout,
4249
4196
  "aria-label": "Logout",
@@ -4255,14 +4202,14 @@ var AccountSection = import_react11.default.memo(({
4255
4202
  color: "text.primary"
4256
4203
  }
4257
4204
  },
4258
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_Logout.default, { fontSize: "small" })
4205
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_Logout.default, { fontSize: "small" })
4259
4206
  }
4260
4207
  ) })
4261
4208
  ] });
4262
4209
  }
4263
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
4264
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4265
- import_material18.Avatar,
4210
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
4211
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4212
+ import_material17.Avatar,
4266
4213
  {
4267
4214
  src: avatarSrc,
4268
4215
  alt: user.name,
@@ -4277,8 +4224,8 @@ var AccountSection = import_react11.default.memo(({
4277
4224
  children: initials
4278
4225
  }
4279
4226
  ),
4280
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4281
- import_material18.Box,
4227
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
4228
+ import_material17.Box,
4282
4229
  {
4283
4230
  sx: {
4284
4231
  display: "flex",
@@ -4289,8 +4236,8 @@ var AccountSection = import_react11.default.memo(({
4289
4236
  // Allow text truncation
4290
4237
  },
4291
4238
  children: [
4292
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4293
- import_material18.Typography,
4239
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4240
+ import_material17.Typography,
4294
4241
  {
4295
4242
  variant: "body2",
4296
4243
  sx: {
@@ -4303,8 +4250,8 @@ var AccountSection = import_react11.default.memo(({
4303
4250
  children: user.name
4304
4251
  }
4305
4252
  ),
4306
- showEmail && user.email && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4307
- import_material18.Typography,
4253
+ showEmail && user.email && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4254
+ import_material17.Typography,
4308
4255
  {
4309
4256
  variant: "caption",
4310
4257
  sx: {
@@ -4318,12 +4265,12 @@ var AccountSection = import_react11.default.memo(({
4318
4265
  children: user.email
4319
4266
  }
4320
4267
  ),
4321
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4322
- import_material18.Button,
4268
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4269
+ import_material17.Button,
4323
4270
  {
4324
4271
  onClick: onLogout,
4325
4272
  "aria-label": "Logout",
4326
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_Logout.default, { fontSize: "small" }),
4273
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_Logout.default, { fontSize: "small" }),
4327
4274
  sx: {
4328
4275
  color: "text.secondary",
4329
4276
  textTransform: "none",
@@ -4351,7 +4298,7 @@ AccountSection.displayName = "AccountSection";
4351
4298
  // src/components/feedback/Badge.tsx
4352
4299
  var import_Badge = __toESM(require("@mui/material/Badge"));
4353
4300
  var import_styles16 = require("@mui/material/styles");
4354
- var import_jsx_runtime27 = require("react/jsx-runtime");
4301
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4355
4302
  var getBadgeColor = (variant) => {
4356
4303
  switch (variant) {
4357
4304
  case "primary":
@@ -4378,13 +4325,13 @@ var Badge = ({
4378
4325
  badgeContent,
4379
4326
  ...props
4380
4327
  }) => {
4381
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
4328
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
4382
4329
  };
4383
4330
 
4384
4331
  // src/components/feedback/Chip.tsx
4385
4332
  var import_Chip = __toESM(require("@mui/material/Chip"));
4386
4333
  var import_styles17 = require("@mui/material/styles");
4387
- var import_jsx_runtime28 = require("react/jsx-runtime");
4334
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4388
4335
  var StyledDefaultChip = (0, import_styles17.styled)(import_Chip.default)({
4389
4336
  backgroundColor: colors.grey[100],
4390
4337
  color: colors.text.primary,
@@ -4404,15 +4351,15 @@ var Chip2 = ({
4404
4351
  ...props
4405
4352
  }) => {
4406
4353
  if (variant === "active") {
4407
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledActiveChip, { ...props });
4354
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(StyledActiveChip, { ...props });
4408
4355
  }
4409
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledDefaultChip, { ...props });
4356
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(StyledDefaultChip, { ...props });
4410
4357
  };
4411
4358
 
4412
4359
  // src/components/feedback/RoleBadge.tsx
4413
4360
  var import_Chip2 = __toESM(require("@mui/material/Chip"));
4414
4361
  var import_styles18 = require("@mui/material/styles");
4415
- var import_jsx_runtime29 = require("react/jsx-runtime");
4362
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4416
4363
  var StyledRoleBadge = (0, import_styles18.styled)(import_Chip2.default)(() => ({
4417
4364
  // Pill shape - 100px border radius
4418
4365
  borderRadius: "100px",
@@ -4438,7 +4385,7 @@ var RoleBadge = ({
4438
4385
  if (!label || label.trim() === "") {
4439
4386
  return null;
4440
4387
  }
4441
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
4388
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4442
4389
  StyledRoleBadge,
4443
4390
  {
4444
4391
  label,
@@ -4451,12 +4398,15 @@ var RoleBadge = ({
4451
4398
  };
4452
4399
 
4453
4400
  // src/components/feedback/IDBlock.tsx
4401
+ var import_react11 = require("react");
4454
4402
  var import_Box = __toESM(require("@mui/material/Box"));
4455
4403
  var import_Typography = __toESM(require("@mui/material/Typography"));
4456
4404
  var import_IconButton2 = __toESM(require("@mui/material/IconButton"));
4405
+ var import_Snackbar = __toESM(require("@mui/material/Snackbar"));
4406
+ var import_Alert = __toESM(require("@mui/material/Alert"));
4457
4407
  var import_ContentCopy = __toESM(require("@mui/icons-material/ContentCopy"));
4458
4408
  var import_styles19 = require("@mui/material/styles");
4459
- var import_jsx_runtime30 = require("react/jsx-runtime");
4409
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4460
4410
  var IDContainer = (0, import_styles19.styled)(import_Box.default)(() => ({
4461
4411
  display: "inline-flex",
4462
4412
  alignItems: "center",
@@ -4472,78 +4422,88 @@ var IDBlock = ({
4472
4422
  entityType = "entity",
4473
4423
  onCopy
4474
4424
  }) => {
4475
- const { showMessage } = useMessages();
4425
+ const [snackbar, setSnackbar] = (0, import_react11.useState)({
4426
+ open: false,
4427
+ message: "",
4428
+ severity: "success"
4429
+ });
4476
4430
  if (!id || id.trim() === "") {
4477
4431
  return null;
4478
4432
  }
4479
4433
  const handleCopy = async () => {
4480
4434
  try {
4481
4435
  await navigator.clipboard.writeText(id);
4482
- showMessage({
4483
- message: "ID copied to clipboard",
4484
- appearance: "success",
4485
- autoDismiss: true
4486
- });
4436
+ setSnackbar({ open: true, message: "ID copied to clipboard", severity: "success" });
4487
4437
  onCopy?.();
4488
4438
  } catch {
4489
- showMessage({
4490
- message: "Failed to copy ID",
4491
- appearance: "error",
4492
- autoDismiss: true
4493
- });
4439
+ setSnackbar({ open: true, message: "Failed to copy ID", severity: "error" });
4494
4440
  }
4495
4441
  };
4496
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(IDContainer, { children: [
4497
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
4498
- import_Typography.default,
4499
- {
4500
- variant: "body2",
4501
- sx: {
4502
- fontSize: "13px",
4503
- fontWeight: 500,
4504
- color: deploymentSurfaceTokens.textSecondary
4505
- },
4506
- children: [
4507
- label,
4508
- ":"
4509
- ]
4510
- }
4511
- ),
4512
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4513
- import_Typography.default,
4514
- {
4515
- variant: "body2",
4516
- sx: {
4517
- fontSize: "13px",
4518
- fontWeight: 500,
4519
- color: deploymentSurfaceTokens.textPrimary,
4520
- userSelect: "all"
4521
- // Allow easy text selection
4522
- },
4523
- children: id
4524
- }
4525
- ),
4526
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4527
- import_IconButton2.default,
4528
- {
4529
- onClick: handleCopy,
4530
- size: "small",
4531
- "aria-label": `Copy ${entityType} ID ${id}`,
4532
- sx: {
4533
- padding: "4px",
4534
- "&:hover": {
4535
- backgroundColor: deploymentSurfaceTokens.hoverOverlay
4536
- }
4537
- },
4538
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4539
- import_ContentCopy.default,
4540
- {
4541
- sx: {
4542
- fontSize: "16px",
4543
- color: deploymentSurfaceTokens.textSecondary
4442
+ const handleSnackbarClose = () => {
4443
+ setSnackbar((prev) => ({ ...prev, open: false }));
4444
+ };
4445
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
4446
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(IDContainer, { children: [
4447
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
4448
+ import_Typography.default,
4449
+ {
4450
+ variant: "body2",
4451
+ sx: {
4452
+ fontSize: "13px",
4453
+ fontWeight: 500,
4454
+ color: deploymentSurfaceTokens.textSecondary
4455
+ },
4456
+ children: [
4457
+ label,
4458
+ ":"
4459
+ ]
4460
+ }
4461
+ ),
4462
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
4463
+ import_Typography.default,
4464
+ {
4465
+ variant: "body2",
4466
+ sx: {
4467
+ fontSize: "13px",
4468
+ fontWeight: 500,
4469
+ color: deploymentSurfaceTokens.textPrimary,
4470
+ userSelect: "all"
4471
+ },
4472
+ children: id
4473
+ }
4474
+ ),
4475
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
4476
+ import_IconButton2.default,
4477
+ {
4478
+ onClick: handleCopy,
4479
+ size: "small",
4480
+ "aria-label": `Copy ${entityType} ID ${id}`,
4481
+ sx: {
4482
+ padding: "4px",
4483
+ "&:hover": {
4484
+ backgroundColor: deploymentSurfaceTokens.hoverOverlay
4544
4485
  }
4545
- }
4546
- )
4486
+ },
4487
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
4488
+ import_ContentCopy.default,
4489
+ {
4490
+ sx: {
4491
+ fontSize: "16px",
4492
+ color: deploymentSurfaceTokens.textSecondary
4493
+ }
4494
+ }
4495
+ )
4496
+ }
4497
+ )
4498
+ ] }),
4499
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
4500
+ import_Snackbar.default,
4501
+ {
4502
+ open: snackbar.open,
4503
+ autoHideDuration: 3e3,
4504
+ onClose: handleSnackbarClose,
4505
+ anchorOrigin: { vertical: "top", horizontal: "center" },
4506
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_Alert.default, { onClose: handleSnackbarClose, severity: snackbar.severity, children: snackbar.message })
4547
4507
  }
4548
4508
  )
4549
4509
  ] });
@@ -4552,7 +4512,7 @@ var IDBlock = ({
4552
4512
  // src/components/feedback/Tooltip.tsx
4553
4513
  var import_Tooltip = __toESM(require("@mui/material/Tooltip"));
4554
4514
  var import_styles20 = require("@mui/material/styles");
4555
- var import_jsx_runtime31 = require("react/jsx-runtime");
4515
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4556
4516
  var StyledTooltip = (0, import_styles20.styled)(import_Tooltip.default)({
4557
4517
  "& .MuiTooltip-tooltip": {
4558
4518
  backgroundColor: colors.grey[800],
@@ -4566,13 +4526,13 @@ var StyledTooltip = (0, import_styles20.styled)(import_Tooltip.default)({
4566
4526
  }
4567
4527
  });
4568
4528
  var Tooltip6 = (props) => {
4569
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(StyledTooltip, { ...props });
4529
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(StyledTooltip, { ...props });
4570
4530
  };
4571
4531
 
4572
4532
  // src/components/feedback/Progress.tsx
4573
- var import_material19 = require("@mui/material");
4574
- var import_jsx_runtime32 = require("react/jsx-runtime");
4575
- var StyledLinearProgress = (0, import_material19.styled)(import_material19.LinearProgress)({
4533
+ var import_material18 = require("@mui/material");
4534
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4535
+ var StyledLinearProgress = (0, import_material18.styled)(import_material18.LinearProgress)({
4576
4536
  height: 4,
4577
4537
  borderRadius: 2,
4578
4538
  backgroundColor: colors.grey[200],
@@ -4581,7 +4541,7 @@ var StyledLinearProgress = (0, import_material19.styled)(import_material19.Linea
4581
4541
  borderRadius: 2
4582
4542
  }
4583
4543
  });
4584
- var StyledCircularProgress = (0, import_material19.styled)(import_material19.CircularProgress)({
4544
+ var StyledCircularProgress = (0, import_material18.styled)(import_material18.CircularProgress)({
4585
4545
  color: colors.primary.main
4586
4546
  });
4587
4547
  var Progress = ({
@@ -4591,9 +4551,9 @@ var Progress = ({
4591
4551
  thickness = 4
4592
4552
  }) => {
4593
4553
  if (variant === "circular") {
4594
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledCircularProgress, { size: size3, thickness });
4554
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(StyledCircularProgress, { size: size3, thickness });
4595
4555
  }
4596
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4556
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4597
4557
  StyledLinearProgress,
4598
4558
  {
4599
4559
  variant: value !== void 0 ? "determinate" : "indeterminate",
@@ -4605,7 +4565,7 @@ var Progress = ({
4605
4565
  // src/components/navigation/Tab.tsx
4606
4566
  var import_Tab = __toESM(require("@mui/material/Tab"));
4607
4567
  var import_styles21 = require("@mui/material/styles");
4608
- var import_jsx_runtime33 = require("react/jsx-runtime");
4568
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4609
4569
  var StyledTab = (0, import_styles21.styled)(import_Tab.default)({
4610
4570
  textTransform: "none",
4611
4571
  minHeight: "48px",
@@ -4627,15 +4587,15 @@ var Tab = ({
4627
4587
  label,
4628
4588
  ...props
4629
4589
  }) => {
4630
- const tabLabel = badge !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4631
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledTab, { label: tabLabel, ...props });
4590
+ const tabLabel = badge !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
4591
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledTab, { label: tabLabel, ...props });
4632
4592
  };
4633
4593
 
4634
4594
  // src/components/navigation/Menu.tsx
4635
- var import_material20 = require("@mui/material");
4595
+ var import_material19 = require("@mui/material");
4636
4596
  var import_styles22 = require("@mui/material/styles");
4637
- var import_jsx_runtime34 = require("react/jsx-runtime");
4638
- var StyledMenu = (0, import_styles22.styled)(import_material20.Menu)({
4597
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4598
+ var StyledMenu = (0, import_styles22.styled)(import_material19.Menu)({
4639
4599
  "& .MuiPaper-root": {
4640
4600
  borderRadius: 8,
4641
4601
  boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
@@ -4649,7 +4609,7 @@ var StyledMenu = (0, import_styles22.styled)(import_material20.Menu)({
4649
4609
  }
4650
4610
  });
4651
4611
  var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
4652
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4612
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4653
4613
  StyledMenu,
4654
4614
  {
4655
4615
  anchorEl,
@@ -4675,19 +4635,19 @@ var MenuItem = ({
4675
4635
  disabled = false,
4676
4636
  divider = false
4677
4637
  }) => {
4678
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
4679
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_material20.MenuItem, { onClick, disabled, children: [
4680
- icon && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material20.ListItemIcon, { children: icon }),
4681
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material20.ListItemText, { children: label })
4638
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
4639
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_material19.MenuItem, { onClick, disabled, children: [
4640
+ icon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material19.ListItemIcon, { children: icon }),
4641
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material19.ListItemText, { children: label })
4682
4642
  ] }),
4683
- divider && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material20.Divider, {})
4643
+ divider && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material19.Divider, {})
4684
4644
  ] });
4685
4645
  };
4686
4646
 
4687
4647
  // src/components/navigation/Pagination.tsx
4688
4648
  var import_Pagination = __toESM(require("@mui/material/Pagination"));
4689
4649
  var import_styles23 = require("@mui/material/styles");
4690
- var import_jsx_runtime35 = require("react/jsx-runtime");
4650
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4691
4651
  var StyledPagination = (0, import_styles23.styled)(import_Pagination.default)({
4692
4652
  "& .MuiPaginationItem-root": {
4693
4653
  "&.Mui-selected": {
@@ -4703,12 +4663,12 @@ var StyledPagination = (0, import_styles23.styled)(import_Pagination.default)({
4703
4663
  }
4704
4664
  });
4705
4665
  var Pagination = ({ color = "primary", ...props }) => {
4706
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledPagination, { color, ...props });
4666
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(StyledPagination, { color, ...props });
4707
4667
  };
4708
4668
 
4709
4669
  // src/components/navigation/Selector.tsx
4710
4670
  var import_react12 = require("react");
4711
- var import_material21 = require("@mui/material");
4671
+ var import_material20 = require("@mui/material");
4712
4672
  var import_KeyboardArrowDown3 = __toESM(require("@mui/icons-material/KeyboardArrowDown"));
4713
4673
  var import_Search4 = __toESM(require("@mui/icons-material/Search"));
4714
4674
  var import_Add3 = __toESM(require("@mui/icons-material/Add"));
@@ -4716,7 +4676,7 @@ var import_Add3 = __toESM(require("@mui/icons-material/Add"));
4716
4676
  // src/components/layout/Link.tsx
4717
4677
  var import_Link = __toESM(require("@mui/material/Link"));
4718
4678
  var import_styles24 = require("@mui/material/styles");
4719
- var import_jsx_runtime36 = require("react/jsx-runtime");
4679
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4720
4680
  var StyledLink = (0, import_styles24.styled)(import_Link.default)({
4721
4681
  color: colors.primary.main,
4722
4682
  "&:hover": {
@@ -4724,11 +4684,11 @@ var StyledLink = (0, import_styles24.styled)(import_Link.default)({
4724
4684
  }
4725
4685
  });
4726
4686
  var Link3 = ({ underline = "hover", ...props }) => {
4727
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledLink, { underline, ...props });
4687
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledLink, { underline, ...props });
4728
4688
  };
4729
4689
 
4730
4690
  // src/components/navigation/Selector.tsx
4731
- var import_jsx_runtime37 = require("react/jsx-runtime");
4691
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4732
4692
  var Selector = ({
4733
4693
  options: options2,
4734
4694
  selectedId,
@@ -4760,15 +4720,15 @@ var Selector = ({
4760
4720
  onSelect(id);
4761
4721
  handleClose();
4762
4722
  };
4763
- const defaultRenderSelected = (option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material21.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4764
- option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
4765
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Typography, { variant: "body2", children: option.name })
4723
+ const defaultRenderSelected = (option) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_material20.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4724
+ option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
4725
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Typography, { variant: "body2", children: option.name })
4766
4726
  ] });
4767
4727
  if (compact) {
4768
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
4769
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
4770
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4771
- import_material21.Menu,
4728
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
4729
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
4730
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4731
+ import_material20.Menu,
4772
4732
  {
4773
4733
  anchorEl,
4774
4734
  open,
@@ -4776,8 +4736,8 @@ var Selector = ({
4776
4736
  PaperProps: {
4777
4737
  sx: { width, maxHeight: 600, mt: 1 }
4778
4738
  },
4779
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.CircularProgress, { size: 24 }) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
4780
- options2.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4739
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.CircularProgress, { size: 24 }) }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
4740
+ options2.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4781
4741
  TextField,
4782
4742
  {
4783
4743
  size: "small",
@@ -4786,31 +4746,31 @@ var Selector = ({
4786
4746
  value: searchTerm,
4787
4747
  onChange: (e) => setSearchTerm(e.target.value),
4788
4748
  InputProps: {
4789
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Search4.default, { fontSize: "small" }) })
4749
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_Search4.default, { fontSize: "small" }) })
4790
4750
  }
4791
4751
  }
4792
4752
  ) }),
4793
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material21.List, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4794
- filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
4795
- import_material21.ListItemButton,
4753
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_material20.List, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4754
+ filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
4755
+ import_material20.ListItemButton,
4796
4756
  {
4797
4757
  selected: option.id === selectedId,
4798
4758
  onClick: () => handleSelect(option.id),
4799
4759
  disabled: option.disabled,
4800
4760
  children: [
4801
- option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemAvatar, { children: option.icon }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4802
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemText, { primary: option.name, secondary: option.description })
4761
+ option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemAvatar, { children: option.icon }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4762
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemText, { primary: option.name, secondary: option.description })
4803
4763
  ]
4804
4764
  },
4805
4765
  option.id
4806
4766
  )),
4807
- filteredOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Typography, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4767
+ filteredOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4808
4768
  ] }),
4809
- onCreate && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4769
+ onCreate && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4810
4770
  Button,
4811
4771
  {
4812
4772
  fullWidth: true,
4813
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Add3.default, {}),
4773
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_Add3.default, {}),
4814
4774
  onClick: () => {
4815
4775
  onCreate();
4816
4776
  handleClose();
@@ -4823,13 +4783,13 @@ var Selector = ({
4823
4783
  )
4824
4784
  ] });
4825
4785
  }
4826
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
4827
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material21.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4828
- selectedOption ? renderSelected ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Typography, { variant: "body2", color: "text.secondary", children: placeholder }),
4829
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_KeyboardArrowDown3.default, { fontSize: "small" }) })
4786
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
4787
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_material20.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4788
+ selectedOption ? renderSelected ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: placeholder }),
4789
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_KeyboardArrowDown3.default, { fontSize: "small" }) })
4830
4790
  ] }),
4831
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4832
- import_material21.Menu,
4791
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4792
+ import_material20.Menu,
4833
4793
  {
4834
4794
  anchorEl,
4835
4795
  open,
@@ -4837,8 +4797,8 @@ var Selector = ({
4837
4797
  PaperProps: {
4838
4798
  sx: { width, maxHeight: 600, mt: 1 }
4839
4799
  },
4840
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.CircularProgress, { size: 24 }) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
4841
- options2.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4800
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.CircularProgress, { size: 24 }) }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
4801
+ options2.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4842
4802
  TextField,
4843
4803
  {
4844
4804
  size: "small",
@@ -4847,31 +4807,31 @@ var Selector = ({
4847
4807
  value: searchTerm,
4848
4808
  onChange: (e) => setSearchTerm(e.target.value),
4849
4809
  InputProps: {
4850
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Search4.default, { fontSize: "small" }) })
4810
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_Search4.default, { fontSize: "small" }) })
4851
4811
  }
4852
4812
  }
4853
4813
  ) }),
4854
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material21.List, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4855
- filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
4856
- import_material21.ListItemButton,
4814
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_material20.List, { sx: { maxHeight: 400, overflow: "auto" }, children: [
4815
+ filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
4816
+ import_material20.ListItemButton,
4857
4817
  {
4858
4818
  selected: option.id === selectedId,
4859
4819
  onClick: () => handleSelect(option.id),
4860
4820
  disabled: option.disabled,
4861
4821
  children: [
4862
- option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemAvatar, { children: option.icon }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Avatar, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4863
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.ListItemText, { primary: option.name, secondary: option.description })
4822
+ option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemAvatar, { children: option.icon }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Avatar, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
4823
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.ListItemText, { primary: option.name, secondary: option.description })
4864
4824
  ]
4865
4825
  },
4866
4826
  option.id
4867
4827
  )),
4868
- filteredOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Typography, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4828
+ filteredOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
4869
4829
  ] }),
4870
- onCreate && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material21.Box, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4830
+ onCreate && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material20.Box, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4871
4831
  Button,
4872
4832
  {
4873
4833
  fullWidth: true,
4874
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Add3.default, {}),
4834
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_Add3.default, {}),
4875
4835
  onClick: () => {
4876
4836
  onCreate();
4877
4837
  handleClose();
@@ -4886,38 +4846,38 @@ var Selector = ({
4886
4846
  };
4887
4847
 
4888
4848
  // src/components/layout/Logo.tsx
4889
- var import_material23 = require("@mui/material");
4849
+ var import_material22 = require("@mui/material");
4890
4850
 
4891
4851
  // src/components/icons/CereIcon.tsx
4892
4852
  var import_react13 = require("react");
4893
- var import_material22 = require("@mui/material");
4894
- var import_jsx_runtime38 = require("react/jsx-runtime");
4895
- var CereIcon = (0, import_react13.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_material22.SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4896
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("g", { clipPath: "url(#a)", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
4853
+ var import_material21 = require("@mui/material");
4854
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4855
+ var CereIcon = (0, import_react13.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material21.SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
4856
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("g", { clipPath: "url(#a)", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4897
4857
  "path",
4898
4858
  {
4899
4859
  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",
4900
4860
  fill: "currentColor"
4901
4861
  }
4902
4862
  ) }),
4903
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
4863
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
4904
4864
  ] }));
4905
4865
 
4906
4866
  // src/components/layout/Logo.tsx
4907
- var import_jsx_runtime39 = require("react/jsx-runtime");
4867
+ var import_jsx_runtime38 = require("react/jsx-runtime");
4908
4868
  var sizesMap = {
4909
4869
  large: 38,
4910
4870
  medium: 32,
4911
4871
  small: 24
4912
4872
  };
4913
- var Container = (0, import_material23.styled)(import_material23.Stack)({
4914
- [`& .${import_material23.svgIconClasses.root}`]: {
4873
+ var Container = (0, import_material22.styled)(import_material22.Stack)({
4874
+ [`& .${import_material22.svgIconClasses.root}`]: {
4915
4875
  fontSize: "inherit"
4916
4876
  }
4917
4877
  });
4918
- var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
4878
+ var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
4919
4879
  icon,
4920
- children && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_material23.Stack, { children })
4880
+ children && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_material22.Stack, { children })
4921
4881
  ] });
4922
4882
 
4923
4883
  // src/components/layout/EntityHeader/EntityHeader.tsx
@@ -4926,7 +4886,7 @@ var import_Typography2 = __toESM(require("@mui/material/Typography"));
4926
4886
  var import_IconButton4 = __toESM(require("@mui/material/IconButton"));
4927
4887
  var import_Divider = __toESM(require("@mui/material/Divider"));
4928
4888
  var import_MoreHoriz = __toESM(require("@mui/icons-material/MoreHoriz"));
4929
- var import_jsx_runtime40 = require("react/jsx-runtime");
4889
+ var import_jsx_runtime39 = require("react/jsx-runtime");
4930
4890
  var EntityHeader = ({
4931
4891
  title,
4932
4892
  subtitle,
@@ -4943,8 +4903,8 @@ var EntityHeader = ({
4943
4903
  const { label, count } = primaryAction;
4944
4904
  return count !== void 0 ? `${label} (${count})` : label;
4945
4905
  };
4946
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_Box2.default, { children: [
4947
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
4906
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_Box2.default, { children: [
4907
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4948
4908
  import_Box2.default,
4949
4909
  {
4950
4910
  sx: {
@@ -4956,7 +4916,7 @@ var EntityHeader = ({
4956
4916
  gap: 1
4957
4917
  },
4958
4918
  children: [
4959
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
4919
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4960
4920
  import_Box2.default,
4961
4921
  {
4962
4922
  sx: {
@@ -4966,7 +4926,7 @@ var EntityHeader = ({
4966
4926
  flexWrap: "wrap"
4967
4927
  },
4968
4928
  children: [
4969
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
4929
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4970
4930
  import_Box2.default,
4971
4931
  {
4972
4932
  sx: {
@@ -4975,7 +4935,7 @@ var EntityHeader = ({
4975
4935
  gap: 0.5
4976
4936
  },
4977
4937
  children: [
4978
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4938
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4979
4939
  import_Typography2.default,
4980
4940
  {
4981
4941
  component: headingLevel,
@@ -4989,7 +4949,7 @@ var EntityHeader = ({
4989
4949
  children: title
4990
4950
  }
4991
4951
  ),
4992
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4952
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4993
4953
  import_Typography2.default,
4994
4954
  {
4995
4955
  variant: "body2",
@@ -5006,12 +4966,12 @@ var EntityHeader = ({
5006
4966
  ]
5007
4967
  }
5008
4968
  ),
5009
- role && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(RoleBadge, { label: role, color: "primary", size: "small" }),
5010
- id && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
4969
+ role && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(RoleBadge, { label: role, color: "primary", size: "small" }),
4970
+ id && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
5011
4971
  ]
5012
4972
  }
5013
4973
  ),
5014
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
4974
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
5015
4975
  import_Box2.default,
5016
4976
  {
5017
4977
  sx: {
@@ -5021,7 +4981,7 @@ var EntityHeader = ({
5021
4981
  flexShrink: 0
5022
4982
  },
5023
4983
  children: [
5024
- primaryAction && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4984
+ primaryAction && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5025
4985
  Button,
5026
4986
  {
5027
4987
  variant: "primary",
@@ -5033,7 +4993,7 @@ var EntityHeader = ({
5033
4993
  children: getPrimaryActionLabel()
5034
4994
  }
5035
4995
  ),
5036
- onMoreOptions && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4996
+ onMoreOptions && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5037
4997
  import_IconButton4.default,
5038
4998
  {
5039
4999
  onClick: onMoreOptions,
@@ -5048,7 +5008,7 @@ var EntityHeader = ({
5048
5008
  borderColor: deploymentSurfaceTokens.borderDefault
5049
5009
  }
5050
5010
  },
5051
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5011
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5052
5012
  import_MoreHoriz.default,
5053
5013
  {
5054
5014
  sx: {
@@ -5065,7 +5025,7 @@ var EntityHeader = ({
5065
5025
  ]
5066
5026
  }
5067
5027
  ),
5068
- divider && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5028
+ divider && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5069
5029
  import_Divider.default,
5070
5030
  {
5071
5031
  sx: {
@@ -5077,9 +5037,9 @@ var EntityHeader = ({
5077
5037
  };
5078
5038
 
5079
5039
  // src/components/layout/Dialog.tsx
5080
- var import_material24 = require("@mui/material");
5040
+ var import_material23 = require("@mui/material");
5081
5041
  var import_Close = __toESM(require("@mui/icons-material/Close"));
5082
- var import_jsx_runtime41 = require("react/jsx-runtime");
5042
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5083
5043
  var Dialog = ({
5084
5044
  open,
5085
5045
  title,
@@ -5103,8 +5063,8 @@ var Dialog = ({
5103
5063
  if (e) e.stopPropagation();
5104
5064
  onClose();
5105
5065
  };
5106
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
5107
- import_material24.Dialog,
5066
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
5067
+ import_material23.Dialog,
5108
5068
  {
5109
5069
  open,
5110
5070
  onClose: (_, reason) => {
@@ -5120,43 +5080,43 @@ var Dialog = ({
5120
5080
  ...dialogProps.PaperProps
5121
5081
  },
5122
5082
  children: [
5123
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material24.DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
5124
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Box, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Typography, { variant: "h6", children: title }) : title }),
5125
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material24.Box, { sx: { display: "flex", alignItems: "center" }, children: [
5083
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material23.DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
5084
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.Box, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.Typography, { variant: "h6", children: title }) : title }),
5085
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material23.Box, { sx: { display: "flex", alignItems: "center" }, children: [
5126
5086
  headerAction,
5127
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5128
- import_material24.IconButton,
5087
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5088
+ import_material23.IconButton,
5129
5089
  {
5130
5090
  edge: "end",
5131
5091
  color: "inherit",
5132
5092
  onClick: handleCloseAttempt,
5133
5093
  "aria-label": "close",
5134
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Close.default, {})
5094
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_Close.default, {})
5135
5095
  }
5136
5096
  )
5137
5097
  ] })
5138
5098
  ] }),
5139
- dividers && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Divider, {}),
5140
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.DialogContent, { dividers, children }),
5141
- (showActions || customActions) && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5142
- dividers && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Divider, {}),
5143
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.DialogActions, { children: customActions || /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5144
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5145
- import_material24.Button,
5099
+ dividers && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.Divider, {}),
5100
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.DialogContent, { dividers, children }),
5101
+ (showActions || customActions) && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
5102
+ dividers && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.Divider, {}),
5103
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.DialogActions, { children: customActions || /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
5104
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5105
+ import_material23.Button,
5146
5106
  {
5147
5107
  onClick: handleCloseAttempt,
5148
5108
  disabled: isLoading,
5149
5109
  children: cancelLabel
5150
5110
  }
5151
5111
  ),
5152
- onSubmit && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5153
- import_material24.Button,
5112
+ onSubmit && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5113
+ import_material23.Button,
5154
5114
  {
5155
5115
  variant: "contained",
5156
5116
  color: "primary",
5157
5117
  onClick: onSubmit,
5158
5118
  disabled: disableSubmit || isLoading,
5159
- startIcon: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.CircularProgress, { size: 20 }) : void 0,
5119
+ startIcon: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.CircularProgress, { size: 20 }) : void 0,
5160
5120
  children: submitLabel
5161
5121
  }
5162
5122
  )
@@ -5170,9 +5130,9 @@ var Dialog = ({
5170
5130
  // src/components/layout/Drawer.tsx
5171
5131
  var import_Drawer = __toESM(require("@mui/material/Drawer"));
5172
5132
  var import_styles25 = require("@mui/material/styles");
5173
- var import_material25 = require("@mui/material");
5133
+ var import_material24 = require("@mui/material");
5174
5134
  var import_Close2 = __toESM(require("@mui/icons-material/Close"));
5175
- var import_jsx_runtime42 = require("react/jsx-runtime");
5135
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5176
5136
  var StyledDrawer2 = (0, import_styles25.styled)(import_Drawer.default, {
5177
5137
  shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
5178
5138
  })(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
@@ -5219,7 +5179,7 @@ var Drawer2 = ({
5219
5179
  const finalWidth = width ?? defaultWidth;
5220
5180
  const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
5221
5181
  const hasHeader = title || header || shouldShowClose || tabs;
5222
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
5182
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
5223
5183
  StyledDrawer2,
5224
5184
  {
5225
5185
  width: finalWidth,
@@ -5244,9 +5204,9 @@ var Drawer2 = ({
5244
5204
  },
5245
5205
  ...props,
5246
5206
  children: [
5247
- hasHeader && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
5248
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5249
- import_material25.Box,
5207
+ hasHeader && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5208
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5209
+ import_material24.Box,
5250
5210
  {
5251
5211
  sx: {
5252
5212
  display: "flex",
@@ -5257,10 +5217,10 @@ var Drawer2 = ({
5257
5217
  borderBottom: 1,
5258
5218
  borderColor: "divider"
5259
5219
  },
5260
- children: header || /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
5261
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material25.Box, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material25.Typography, { variant: "h6", children: title }) : title }),
5262
- shouldShowClose && onClose && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5263
- import_material25.IconButton,
5220
+ children: header || /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5221
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Box, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Typography, { variant: "h6", children: title }) : title }),
5222
+ shouldShowClose && onClose && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5223
+ import_material24.IconButton,
5264
5224
  {
5265
5225
  onClick: (e) => {
5266
5226
  e.stopPropagation();
@@ -5269,14 +5229,14 @@ var Drawer2 = ({
5269
5229
  size: "small",
5270
5230
  sx: { ml: 1 },
5271
5231
  "aria-label": "close",
5272
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_Close2.default, {})
5232
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Close2.default, {})
5273
5233
  }
5274
5234
  )
5275
5235
  ] })
5276
5236
  }
5277
5237
  ),
5278
- tabs && tabs.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5279
- import_material25.Tabs,
5238
+ tabs && tabs.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5239
+ import_material24.Tabs,
5280
5240
  {
5281
5241
  value: activeTab,
5282
5242
  onChange: (_, newValue) => onTabChange?.(newValue),
@@ -5290,12 +5250,12 @@ var Drawer2 = ({
5290
5250
  overflow: "auto"
5291
5251
  }
5292
5252
  },
5293
- children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material25.Tab, { label: tab }, index))
5253
+ children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Tab, { label: tab }, index))
5294
5254
  }
5295
5255
  )
5296
5256
  ] }),
5297
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5298
- import_material25.Box,
5257
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5258
+ import_material24.Box,
5299
5259
  {
5300
5260
  sx: {
5301
5261
  flex: 1,
@@ -5307,10 +5267,10 @@ var Drawer2 = ({
5307
5267
  children
5308
5268
  }
5309
5269
  ),
5310
- footer && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
5311
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material25.Divider, {}),
5312
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5313
- import_material25.Box,
5270
+ footer && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5271
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Divider, {}),
5272
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5273
+ import_material24.Box,
5314
5274
  {
5315
5275
  sx: {
5316
5276
  p: 2,
@@ -5332,7 +5292,7 @@ var import_CardContent = __toESM(require("@mui/material/CardContent"));
5332
5292
  var import_CardHeader = __toESM(require("@mui/material/CardHeader"));
5333
5293
  var import_CardActions = __toESM(require("@mui/material/CardActions"));
5334
5294
  var import_styles26 = require("@mui/material/styles");
5335
- var import_jsx_runtime43 = require("react/jsx-runtime");
5295
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5336
5296
  var StyledCard = (0, import_styles26.styled)(import_Card.default, {
5337
5297
  shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
5338
5298
  })(({ hoverable, clickable }) => ({
@@ -5350,26 +5310,26 @@ var StyledCard = (0, import_styles26.styled)(import_Card.default, {
5350
5310
  }
5351
5311
  }));
5352
5312
  var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
5353
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(StyledCard, { hoverable, clickable, ...props, children });
5313
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(StyledCard, { hoverable, clickable, ...props, children });
5354
5314
  };
5355
5315
  var CardContent = (props) => {
5356
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_CardContent.default, { ...props });
5316
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_CardContent.default, { ...props });
5357
5317
  };
5358
5318
  var CardHeader = (props) => {
5359
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_CardHeader.default, { ...props });
5319
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_CardHeader.default, { ...props });
5360
5320
  };
5361
5321
  var CardActions = (props) => {
5362
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_CardActions.default, { ...props });
5322
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_CardActions.default, { ...props });
5363
5323
  };
5364
5324
 
5365
5325
  // src/components/layout/List.tsx
5366
- var import_material26 = require("@mui/material");
5326
+ var import_material25 = require("@mui/material");
5367
5327
  var import_styles27 = require("@mui/material/styles");
5368
- var import_jsx_runtime44 = require("react/jsx-runtime");
5328
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5369
5329
  var List6 = (props) => {
5370
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.List, { ...props });
5330
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material25.List, { ...props });
5371
5331
  };
5372
- var StyledListItem = (0, import_styles27.styled)(import_material26.ListItem, {
5332
+ var StyledListItem = (0, import_styles27.styled)(import_material25.ListItem, {
5373
5333
  shouldForwardProp: (prop) => prop !== "hoverable"
5374
5334
  })(({ hoverable = true }) => ({
5375
5335
  border: `1px solid ${colors.grey[200]}`,
@@ -5390,10 +5350,10 @@ var ListItem4 = ({
5390
5350
  children,
5391
5351
  ...props
5392
5352
  }) => {
5393
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(StyledListItem, { hoverable, ...props, children: [
5394
- icon && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.ListItemIcon, { children: icon }),
5395
- (primary || secondary) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5396
- import_material26.ListItemText,
5353
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(StyledListItem, { hoverable, ...props, children: [
5354
+ icon && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material25.ListItemIcon, { children: icon }),
5355
+ (primary || secondary) && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5356
+ import_material25.ListItemText,
5397
5357
  {
5398
5358
  primary,
5399
5359
  secondary
@@ -5405,7 +5365,7 @@ var ListItem4 = ({
5405
5365
  };
5406
5366
 
5407
5367
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
5408
- var import_material27 = require("@mui/material");
5368
+ var import_material26 = require("@mui/material");
5409
5369
  var import_ExpandMore = __toESM(require("@mui/icons-material/ExpandMore"));
5410
5370
  var import_ChevronRight2 = __toESM(require("@mui/icons-material/ChevronRight"));
5411
5371
  var import_WorkOutline = __toESM(require("@mui/icons-material/WorkOutline"));
@@ -5426,7 +5386,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
5426
5386
  }
5427
5387
 
5428
5388
  // src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
5429
- var import_jsx_runtime45 = require("react/jsx-runtime");
5389
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5430
5390
  var ENTITY_LABELS = {
5431
5391
  workspace: "Workspace",
5432
5392
  stream: "Stream",
@@ -5436,11 +5396,11 @@ var ENTITY_LABELS = {
5436
5396
  };
5437
5397
  var ENTITY_ICON_SIZE = 16;
5438
5398
  var ENTITY_ICONS = {
5439
- workspace: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_WorkOutline.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5440
- stream: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_Waves.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5441
- deployment: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_RocketLaunchOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5442
- engagement: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_InsertLink.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5443
- agent: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_SmartToyOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } })
5399
+ workspace: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_WorkOutline.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5400
+ stream: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_Waves.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5401
+ deployment: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_RocketLaunchOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5402
+ engagement: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_InsertLink.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
5403
+ agent: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_SmartToyOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } })
5444
5404
  };
5445
5405
  var STATUS_DOT_COLORS = {
5446
5406
  normal: deploymentStatusColors.normal,
@@ -5461,7 +5421,7 @@ var ENTITY_CHIP_TYPOGRAPHY = {
5461
5421
  lineHeight: 1.33,
5462
5422
  letterSpacing: "0.07px"
5463
5423
  };
5464
- var StatusDot = (0, import_styles28.styled)(import_material27.Box, {
5424
+ var StatusDot = (0, import_styles28.styled)(import_material26.Box, {
5465
5425
  shouldForwardProp: (p) => p !== "status"
5466
5426
  })(({ status }) => ({
5467
5427
  width: 8,
@@ -5470,8 +5430,8 @@ var StatusDot = (0, import_styles28.styled)(import_material27.Box, {
5470
5430
  backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
5471
5431
  flexShrink: 0
5472
5432
  }));
5473
- var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5474
- import_material27.Box,
5433
+ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
5434
+ import_material26.Box,
5475
5435
  {
5476
5436
  sx: {
5477
5437
  display: "inline-flex",
@@ -5486,9 +5446,9 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
5486
5446
  flexShrink: 0
5487
5447
  },
5488
5448
  children: [
5489
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.Box, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5490
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5491
- import_material27.Typography,
5449
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.Box, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
5450
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5451
+ import_material26.Typography,
5492
5452
  {
5493
5453
  variant: "body2",
5494
5454
  fontWeight: ENTITY_CHIP_TYPOGRAPHY.fontWeight,
@@ -5504,16 +5464,16 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
5504
5464
  ]
5505
5465
  }
5506
5466
  );
5507
- var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Box, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5508
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Box, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5509
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5510
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
5467
+ var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Box, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
5468
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Box, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
5469
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
5470
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
5511
5471
  value,
5512
5472
  "%"
5513
5473
  ] })
5514
5474
  ] }),
5515
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5516
- import_material27.LinearProgress,
5475
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5476
+ import_material26.LinearProgress,
5517
5477
  {
5518
5478
  variant: "determinate",
5519
5479
  value,
@@ -5552,19 +5512,19 @@ var getActionButtonStyles = (action) => {
5552
5512
  };
5553
5513
  return { ...baseStyles, ...variantStyles };
5554
5514
  };
5555
- var CardAction = ({ action }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5556
- import_material27.Box,
5515
+ var CardAction = ({ action }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
5516
+ import_material26.Box,
5557
5517
  {
5558
5518
  component: action.onClick ? "button" : "span",
5559
5519
  onClick: action.onClick,
5560
5520
  sx: getActionButtonStyles(action),
5561
5521
  children: [
5562
- action.icon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.Box, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5563
- action.label && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.Typography, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
5522
+ action.icon && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.Box, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
5523
+ action.label && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.Typography, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
5564
5524
  ]
5565
5525
  }
5566
5526
  );
5567
- var CardActionList = ({ actions }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, { children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CardAction, { action }, action.id)) });
5527
+ var CardActionList = ({ actions }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardAction, { action }, action.id)) });
5568
5528
  var DeploymentDashboardCard = ({
5569
5529
  entityType,
5570
5530
  title,
@@ -5581,7 +5541,7 @@ var DeploymentDashboardCard = ({
5581
5541
  className,
5582
5542
  children
5583
5543
  }) => {
5584
- const theme2 = (0, import_material27.useTheme)();
5544
+ const theme2 = (0, import_material26.useTheme)();
5585
5545
  const entityColor = theme2.palette.deployment?.entity?.[entityType] ?? deploymentEntityColors[entityType];
5586
5546
  const isControlled = expandable && onExpandToggle != null;
5587
5547
  const { expanded, toggle } = useControlledExpand(
@@ -5597,8 +5557,8 @@ var DeploymentDashboardCard = ({
5597
5557
  return Math.min(100, Math.max(0, capacity2));
5598
5558
  };
5599
5559
  const capacityClamped = getClampedCapacity(capacity);
5600
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5601
- import_material27.Paper,
5560
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
5561
+ import_material26.Paper,
5602
5562
  {
5603
5563
  className,
5604
5564
  elevation: 0,
@@ -5614,8 +5574,8 @@ var DeploymentDashboardCard = ({
5614
5574
  gap: 0
5615
5575
  },
5616
5576
  children: [
5617
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5618
- import_material27.Box,
5577
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
5578
+ import_material26.Box,
5619
5579
  {
5620
5580
  sx: {
5621
5581
  display: "flex",
@@ -5624,21 +5584,21 @@ var DeploymentDashboardCard = ({
5624
5584
  width: "100%"
5625
5585
  },
5626
5586
  children: [
5627
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5628
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Box, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5629
- expandable ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5630
- import_material27.IconButton,
5587
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
5588
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Box, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
5589
+ expandable ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5590
+ import_material26.IconButton,
5631
5591
  {
5632
5592
  size: "small",
5633
5593
  onClick: toggle,
5634
5594
  "aria-label": expanded ? "Collapse" : "Expand",
5635
5595
  sx: { p: "5px" },
5636
- children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_ExpandMore.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_ChevronRight2.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
5596
+ children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_ExpandMore.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_ChevronRight2.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
5637
5597
  }
5638
- ) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.Box, { sx: { width: 26, flexShrink: 0 } }),
5639
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(EntityChip, { entityType, color: entityColor }),
5640
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5641
- import_material27.Typography,
5598
+ ) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.Box, { sx: { width: 26, flexShrink: 0 } }),
5599
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EntityChip, { entityType, color: entityColor }),
5600
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5601
+ import_material26.Typography,
5642
5602
  {
5643
5603
  variant: "subtitle1",
5644
5604
  fontWeight: 500,
@@ -5647,10 +5607,10 @@ var DeploymentDashboardCard = ({
5647
5607
  children: title
5648
5608
  }
5649
5609
  ),
5650
- idDisplay != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
5610
+ idDisplay != null && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
5651
5611
  ] }),
5652
- (createdAt != null || updatedAt != null) && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5653
- import_material27.Box,
5612
+ (createdAt != null || updatedAt != null) && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
5613
+ import_material26.Box,
5654
5614
  {
5655
5615
  sx: {
5656
5616
  display: "flex",
@@ -5659,37 +5619,37 @@ var DeploymentDashboardCard = ({
5659
5619
  color: deploymentSurfaceTokens.textSecondary
5660
5620
  },
5661
5621
  children: [
5662
- createdAt != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5622
+ createdAt != null && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5663
5623
  "Created: ",
5664
5624
  createdAt
5665
5625
  ] }),
5666
- updatedAt != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5626
+ updatedAt != null && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
5667
5627
  "Last Updated: ",
5668
5628
  updatedAt
5669
5629
  ] })
5670
5630
  ]
5671
5631
  }
5672
5632
  ),
5673
- capacityClamped !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CapacityBar, { value: capacityClamped, indented: expandable })
5633
+ capacityClamped !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CapacityBar, { value: capacityClamped, indented: expandable })
5674
5634
  ] }),
5675
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material27.Box, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5676
- statusIndicator != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5677
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CardActionList, { actions })
5635
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_material26.Box, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
5636
+ statusIndicator != null && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(StatusDot, { status: statusIndicator, "aria-hidden": true }),
5637
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardActionList, { actions })
5678
5638
  ] })
5679
5639
  ]
5680
5640
  }
5681
5641
  ),
5682
- children && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.Box, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
5642
+ children && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material26.Box, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
5683
5643
  ]
5684
5644
  }
5685
5645
  );
5686
5646
  };
5687
5647
 
5688
5648
  // src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
5689
- var import_material28 = require("@mui/material");
5649
+ var import_material27 = require("@mui/material");
5690
5650
  var import_styles29 = require("@mui/material/styles");
5691
- var import_jsx_runtime46 = require("react/jsx-runtime");
5692
- var StyledMenu2 = (0, import_styles29.styled)(import_material28.Menu)({
5651
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5652
+ var StyledMenu2 = (0, import_styles29.styled)(import_material27.Menu)({
5693
5653
  "& .MuiPaper-root": {
5694
5654
  borderRadius: 4,
5695
5655
  boxShadow: deploymentSurfaceTokens.workspaceShadow,
@@ -5701,7 +5661,7 @@ var StyledMenu2 = (0, import_styles29.styled)(import_material28.Menu)({
5701
5661
  padding: 0
5702
5662
  }
5703
5663
  });
5704
- var StyledMenuItem = (0, import_styles29.styled)(import_material28.MenuItem)({
5664
+ var StyledMenuItem = (0, import_styles29.styled)(import_material27.MenuItem)({
5705
5665
  gap: 8,
5706
5666
  padding: "8px 0",
5707
5667
  borderRadius: 4,
@@ -5732,7 +5692,7 @@ var HighlightedMenuItem = (0, import_styles29.styled)(StyledMenuItem)({
5732
5692
  backgroundColor: deploymentSurfaceTokens.highlightBgHover
5733
5693
  }
5734
5694
  });
5735
- var ToggleMenuItem = (0, import_styles29.styled)(import_material28.MenuItem)({
5695
+ var ToggleMenuItem = (0, import_styles29.styled)(import_material27.MenuItem)({
5736
5696
  gap: 8,
5737
5697
  padding: "8px 0",
5738
5698
  cursor: "default",
@@ -5748,7 +5708,7 @@ var ToggleMenuItem = (0, import_styles29.styled)(import_material28.MenuItem)({
5748
5708
  color: deploymentSurfaceTokens.textPrimary
5749
5709
  }
5750
5710
  });
5751
- var EnableSwitch = (0, import_styles29.styled)(import_material28.Switch)({
5711
+ var EnableSwitch = (0, import_styles29.styled)(import_material27.Switch)({
5752
5712
  width: 32,
5753
5713
  height: 20,
5754
5714
  padding: 0,
@@ -5773,7 +5733,7 @@ var EnableSwitch = (0, import_styles29.styled)(import_material28.Switch)({
5773
5733
  opacity: 1
5774
5734
  }
5775
5735
  });
5776
- var StyledDivider = (0, import_styles29.styled)(import_material28.Divider)({
5736
+ var StyledDivider = (0, import_styles29.styled)(import_material27.Divider)({
5777
5737
  margin: "0 !important",
5778
5738
  borderColor: deploymentSurfaceTokens.strokeOutside
5779
5739
  });
@@ -5786,7 +5746,7 @@ var DeploymentEntityContextMenu = ({
5786
5746
  enableChecked = false,
5787
5747
  onEnableChange
5788
5748
  }) => {
5789
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
5749
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5790
5750
  StyledMenu2,
5791
5751
  {
5792
5752
  anchorEl,
@@ -5798,11 +5758,11 @@ var DeploymentEntityContextMenu = ({
5798
5758
  children: [
5799
5759
  items.map((item) => {
5800
5760
  if (item.type === "divider") {
5801
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(StyledDivider, {}, item.id);
5761
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(StyledDivider, {}, item.id);
5802
5762
  }
5803
5763
  if (item.type === "toggle") {
5804
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
5805
- onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5764
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
5765
+ onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5806
5766
  EnableSwitch,
5807
5767
  {
5808
5768
  size: "small",
@@ -5811,11 +5771,11 @@ var DeploymentEntityContextMenu = ({
5811
5771
  inputProps: { "aria-label": item.label }
5812
5772
  }
5813
5773
  ),
5814
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material28.ListItemText, { primary: item.label })
5774
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.ListItemText, { primary: item.label })
5815
5775
  ] }, item.id);
5816
5776
  }
5817
5777
  const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
5818
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
5778
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5819
5779
  Row,
5820
5780
  {
5821
5781
  onClick: () => {
@@ -5823,17 +5783,17 @@ var DeploymentEntityContextMenu = ({
5823
5783
  onClose();
5824
5784
  },
5825
5785
  children: [
5826
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material28.ListItemIcon, { children: item.icon }),
5827
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material28.ListItemText, { primary: item.label })
5786
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.ListItemIcon, { children: item.icon }),
5787
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.ListItemText, { primary: item.label })
5828
5788
  ]
5829
5789
  },
5830
5790
  item.id
5831
5791
  );
5832
5792
  }),
5833
- enableToggle && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
5834
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(StyledDivider, {}),
5835
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
5836
- onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5793
+ enableToggle && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
5794
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(StyledDivider, {}),
5795
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
5796
+ onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5837
5797
  EnableSwitch,
5838
5798
  {
5839
5799
  size: "small",
@@ -5842,7 +5802,7 @@ var DeploymentEntityContextMenu = ({
5842
5802
  inputProps: { "aria-label": "Enable" }
5843
5803
  }
5844
5804
  ),
5845
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material28.ListItemText, { primary: "Enable" })
5805
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material27.ListItemText, { primary: "Enable" })
5846
5806
  ] })
5847
5807
  ] })
5848
5808
  ]
@@ -5857,48 +5817,48 @@ var import_ContentCopy2 = __toESM(require("@mui/icons-material/ContentCopy"));
5857
5817
  var import_SmartToyOutlined2 = __toESM(require("@mui/icons-material/SmartToyOutlined"));
5858
5818
  var import_Description = __toESM(require("@mui/icons-material/Description"));
5859
5819
  var import_Settings2 = __toESM(require("@mui/icons-material/Settings"));
5860
- var import_jsx_runtime47 = require("react/jsx-runtime");
5820
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5861
5821
  var contextMenuItems = {
5862
5822
  /** Add Engagement action (Add Circle icon) */
5863
5823
  addEngagement: (onClick) => ({
5864
5824
  id: "add-engagement",
5865
5825
  label: "Add Engagement",
5866
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_AddCircleOutline.default, {}),
5826
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_AddCircleOutline.default, {}),
5867
5827
  onClick
5868
5828
  }),
5869
5829
  /** Add Agent action (Add Circle icon) */
5870
5830
  addAgent: (onClick) => ({
5871
5831
  id: "add-agent",
5872
5832
  label: "Add Agent",
5873
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_AddCircleOutline.default, {}),
5833
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_AddCircleOutline.default, {}),
5874
5834
  onClick
5875
5835
  }),
5876
5836
  /** Add Stream action (Add Circle icon) */
5877
5837
  addStream: (onClick) => ({
5878
5838
  id: "add-stream",
5879
5839
  label: "Add Stream",
5880
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_AddCircleOutline.default, {}),
5840
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_AddCircleOutline.default, {}),
5881
5841
  onClick
5882
5842
  }),
5883
5843
  /** Edit action (Pen / Edit icon) */
5884
5844
  edit: (onClick) => ({
5885
5845
  id: "edit",
5886
5846
  label: "Edit",
5887
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Edit.default, {}),
5847
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Edit.default, {}),
5888
5848
  onClick
5889
5849
  }),
5890
5850
  /** Copy ID action (Copy icon) */
5891
5851
  copyId: (onClick) => ({
5892
5852
  id: "copy-id",
5893
5853
  label: "Copy ID",
5894
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_ContentCopy2.default, {}),
5854
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_ContentCopy2.default, {}),
5895
5855
  onClick
5896
5856
  }),
5897
5857
  /** Agent Flow Visualization — highlighted action (SmartToy icon) */
5898
5858
  agentFlowVisualization: (onClick) => ({
5899
5859
  id: "agent-flow",
5900
5860
  label: "Agent Flow Visualization",
5901
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_SmartToyOutlined2.default, {}),
5861
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_SmartToyOutlined2.default, {}),
5902
5862
  onClick,
5903
5863
  highlighted: true
5904
5864
  }),
@@ -5906,7 +5866,7 @@ var contextMenuItems = {
5906
5866
  viewLogs: (onClick) => ({
5907
5867
  id: "view-logs",
5908
5868
  label: "View Logs",
5909
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Description.default, {}),
5869
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Description.default, {}),
5910
5870
  onClick
5911
5871
  }),
5912
5872
  /** Horizontal divider between sections */
@@ -5925,15 +5885,15 @@ var contextMenuItems = {
5925
5885
  settings: (onClick) => ({
5926
5886
  id: "settings",
5927
5887
  label: "Settings",
5928
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Settings2.default, {}),
5888
+ icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Settings2.default, {}),
5929
5889
  onClick
5930
5890
  })
5931
5891
  };
5932
5892
 
5933
5893
  // src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
5934
- var import_material29 = require("@mui/material");
5894
+ var import_material28 = require("@mui/material");
5935
5895
  var import_styles30 = require("@mui/material/styles");
5936
- var import_jsx_runtime48 = require("react/jsx-runtime");
5896
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5937
5897
  var TREE_SP = {
5938
5898
  /** Vertical gap between sibling rows (Figma S / sp-8) */
5939
5899
  rowGap: 8,
@@ -5951,7 +5911,7 @@ var RAIL_OPACITY = {
5951
5911
  engagement: 0.4,
5952
5912
  agent: 0.4
5953
5913
  };
5954
- var Rail = (0, import_styles30.styled)(import_material29.Box, {
5914
+ var Rail = (0, import_styles30.styled)(import_material28.Box, {
5955
5915
  shouldForwardProp: (p) => p !== "railColor"
5956
5916
  })(({ railColor }) => ({
5957
5917
  width: TREE_SP.railWidth,
@@ -5970,10 +5930,10 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5970
5930
  const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
5971
5931
  const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
5972
5932
  const railColor = (0, import_styles30.alpha)(entityColor, railOpacity);
5973
- const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_material29.Box, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5974
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5975
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5976
- import_material29.Box,
5933
+ const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_material28.Box, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
5934
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
5935
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5936
+ import_material28.Box,
5977
5937
  {
5978
5938
  role: "group",
5979
5939
  sx: {
@@ -5983,7 +5943,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5983
5943
  flexDirection: "column",
5984
5944
  gap: `${TREE_SP.rowGap}px`
5985
5945
  },
5986
- children: node.children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5946
+ children: node.children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5987
5947
  TreeRow,
5988
5948
  {
5989
5949
  node: child,
@@ -5997,7 +5957,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
5997
5957
  }
5998
5958
  )
5999
5959
  ] }) : null;
6000
- const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5960
+ const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6001
5961
  DeploymentDashboardCard,
6002
5962
  {
6003
5963
  entityType: node.entityType,
@@ -6015,7 +5975,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
6015
5975
  children: renderedChildren
6016
5976
  }
6017
5977
  );
6018
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_material29.Box, { role: "treeitem", children: cardContent });
5978
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_material28.Box, { role: "treeitem", children: cardContent });
6019
5979
  };
6020
5980
  var DeploymentDashboardTree = ({
6021
5981
  nodes,
@@ -6023,8 +5983,8 @@ var DeploymentDashboardTree = ({
6023
5983
  onCopyId,
6024
5984
  renderCard
6025
5985
  }) => {
6026
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
6027
- import_material29.Box,
5986
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5987
+ import_material28.Box,
6028
5988
  {
6029
5989
  role: "tree",
6030
5990
  sx: {
@@ -6033,7 +5993,7 @@ var DeploymentDashboardTree = ({
6033
5993
  gap: `${TREE_SP.rowGap}px`,
6034
5994
  p: `${TREE_SP.rowGap}px`
6035
5995
  },
6036
- children: nodes.map((node) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5996
+ children: nodes.map((node) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6037
5997
  TreeRow,
6038
5998
  {
6039
5999
  node,
@@ -6049,12 +6009,12 @@ var DeploymentDashboardTree = ({
6049
6009
  };
6050
6010
 
6051
6011
  // src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
6052
- var import_material30 = require("@mui/material");
6012
+ var import_material29 = require("@mui/material");
6053
6013
  var import_styles31 = require("@mui/material/styles");
6054
- var import_jsx_runtime49 = require("react/jsx-runtime");
6014
+ var import_jsx_runtime48 = require("react/jsx-runtime");
6055
6015
  var PANEL_RADIUS = 12;
6056
6016
  var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
6057
- var StyledPanel = (0, import_styles31.styled)(import_material30.Box)({
6017
+ var StyledPanel = (0, import_styles31.styled)(import_material29.Box)({
6058
6018
  backgroundColor: deploymentSurfaceTokens.surfaceHigh,
6059
6019
  border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
6060
6020
  borderRadius: PANEL_RADIUS,
@@ -6066,13 +6026,13 @@ var DeploymentDashboardPanel = ({
6066
6026
  className,
6067
6027
  padding = 2
6068
6028
  }) => {
6069
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(StyledPanel, { className, sx: { p: padding }, children });
6029
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StyledPanel, { className, sx: { p: padding }, children });
6070
6030
  };
6071
6031
 
6072
6032
  // src/components/layout/Avatar.tsx
6073
6033
  var import_Avatar = __toESM(require("@mui/material/Avatar"));
6074
6034
  var import_styles32 = require("@mui/material/styles");
6075
- var import_jsx_runtime50 = require("react/jsx-runtime");
6035
+ var import_jsx_runtime49 = require("react/jsx-runtime");
6076
6036
  var sizeMap = {
6077
6037
  small: 32,
6078
6038
  medium: 40,
@@ -6089,18 +6049,18 @@ var StyledAvatar = (0, import_styles32.styled)(import_Avatar.default, {
6089
6049
  }));
6090
6050
  var Avatar5 = ({ size: size3 = "medium", ...props }) => {
6091
6051
  const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
6092
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(StyledAvatar, { avatarSize, ...props });
6052
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(StyledAvatar, { avatarSize, ...props });
6093
6053
  };
6094
6054
 
6095
6055
  // src/components/layout/Table.tsx
6096
- var import_material31 = require("@mui/material");
6056
+ var import_material30 = require("@mui/material");
6097
6057
  var import_styles33 = require("@mui/material/styles");
6098
- var import_jsx_runtime51 = require("react/jsx-runtime");
6099
- var StyledTableContainer = (0, import_styles33.styled)(import_material31.TableContainer)({
6058
+ var import_jsx_runtime50 = require("react/jsx-runtime");
6059
+ var StyledTableContainer = (0, import_styles33.styled)(import_material30.TableContainer)({
6100
6060
  borderRadius: 8,
6101
6061
  border: `1px solid ${colors.grey[200]}`
6102
6062
  });
6103
- var StyledTableHead = (0, import_styles33.styled)(import_material31.TableHead)({
6063
+ var StyledTableHead = (0, import_styles33.styled)(import_material30.TableHead)({
6104
6064
  backgroundColor: colors.grey[50],
6105
6065
  "& .MuiTableCell-head": {
6106
6066
  fontWeight: 600,
@@ -6108,7 +6068,7 @@ var StyledTableHead = (0, import_styles33.styled)(import_material31.TableHead)({
6108
6068
  }
6109
6069
  });
6110
6070
  var Table = ({ stickyHeader = false, children, ...props }) => {
6111
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(StyledTableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material31.Table, { stickyHeader, ...props, children }) });
6071
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(StyledTableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_material30.Table, { stickyHeader, ...props, children }) });
6112
6072
  };
6113
6073
  var TableHeader = ({
6114
6074
  columns,
@@ -6116,8 +6076,8 @@ var TableHeader = ({
6116
6076
  order = "asc",
6117
6077
  onSort
6118
6078
  }) => {
6119
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(StyledTableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material31.TableRow, { children: columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material31.TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6120
- import_material31.TableSortLabel,
6079
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(StyledTableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_material30.TableRow, { children: columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_material30.TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
6080
+ import_material30.TableSortLabel,
6121
6081
  {
6122
6082
  active: orderBy === column.id,
6123
6083
  direction: orderBy === column.id ? order : "asc",
@@ -6128,14 +6088,14 @@ var TableHeader = ({
6128
6088
  };
6129
6089
 
6130
6090
  // src/components/layout/Grid.tsx
6131
- var import_material32 = require("@mui/material");
6091
+ var import_material31 = require("@mui/material");
6132
6092
 
6133
6093
  // src/components/layout/Breadcrumbs.tsx
6134
6094
  var import_Breadcrumbs = __toESM(require("@mui/material/Breadcrumbs"));
6135
6095
  var import_Link3 = __toESM(require("@mui/material/Link"));
6136
6096
  var import_Typography3 = __toESM(require("@mui/material/Typography"));
6137
6097
  var import_styles34 = require("@mui/material/styles");
6138
- var import_jsx_runtime52 = require("react/jsx-runtime");
6098
+ var import_jsx_runtime51 = require("react/jsx-runtime");
6139
6099
  var StyledBreadcrumbs = (0, import_styles34.styled)(import_Breadcrumbs.default)({
6140
6100
  "& .MuiBreadcrumbs-ol": {
6141
6101
  flexWrap: "nowrap"
@@ -6152,12 +6112,12 @@ var StyledLink2 = (0, import_styles34.styled)(import_Link3.default)({
6152
6112
  }
6153
6113
  });
6154
6114
  var Breadcrumbs = ({ items, ...props }) => {
6155
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
6115
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
6156
6116
  const isLast = index === items.length - 1;
6157
6117
  if (isLast || !item.href && !item.onClick) {
6158
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_Typography3.default, { color: "text.primary", children: item.label }, index);
6118
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography3.default, { color: "text.primary", children: item.label }, index);
6159
6119
  }
6160
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
6120
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6161
6121
  StyledLink2,
6162
6122
  {
6163
6123
  href: item.href,
@@ -6175,11 +6135,11 @@ var Breadcrumbs = ({ items, ...props }) => {
6175
6135
  };
6176
6136
 
6177
6137
  // src/components/layout/Accordion.tsx
6178
- var import_material33 = require("@mui/material");
6138
+ var import_material32 = require("@mui/material");
6179
6139
  var import_ExpandMore2 = __toESM(require("@mui/icons-material/ExpandMore"));
6180
6140
  var import_styles35 = require("@mui/material/styles");
6181
- var import_jsx_runtime53 = require("react/jsx-runtime");
6182
- var StyledAccordion = (0, import_styles35.styled)(import_material33.Accordion)({
6141
+ var import_jsx_runtime52 = require("react/jsx-runtime");
6142
+ var StyledAccordion = (0, import_styles35.styled)(import_material32.Accordion)({
6183
6143
  borderRadius: 8,
6184
6144
  boxShadow: "none",
6185
6145
  border: `1px solid ${colors.grey[200]}`,
@@ -6190,7 +6150,7 @@ var StyledAccordion = (0, import_styles35.styled)(import_material33.Accordion)({
6190
6150
  margin: 0
6191
6151
  }
6192
6152
  });
6193
- var StyledAccordionSummary = (0, import_styles35.styled)(import_material33.AccordionSummary)({
6153
+ var StyledAccordionSummary = (0, import_styles35.styled)(import_material32.AccordionSummary)({
6194
6154
  backgroundColor: colors.grey[50],
6195
6155
  borderRadius: "8px 8px 0 0",
6196
6156
  "&.Mui-expanded": {
@@ -6200,7 +6160,7 @@ var StyledAccordionSummary = (0, import_styles35.styled)(import_material33.Accor
6200
6160
  margin: "12px 0"
6201
6161
  }
6202
6162
  });
6203
- var StyledAccordionDetails = (0, import_styles35.styled)(import_material33.AccordionDetails)({
6163
+ var StyledAccordionDetails = (0, import_styles35.styled)(import_material32.AccordionDetails)({
6204
6164
  padding: "16px"
6205
6165
  });
6206
6166
  var Accordion = ({
@@ -6209,16 +6169,16 @@ var Accordion = ({
6209
6169
  defaultExpanded = false,
6210
6170
  ...props
6211
6171
  }) => {
6212
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(StyledAccordion, { defaultExpanded, ...props, children: [
6213
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_ExpandMore2.default, {}), children: title }),
6214
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(StyledAccordionDetails, { children })
6172
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(StyledAccordion, { defaultExpanded, ...props, children: [
6173
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_ExpandMore2.default, {}), children: title }),
6174
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StyledAccordionDetails, { children })
6215
6175
  ] });
6216
6176
  };
6217
6177
 
6218
6178
  // src/components/layout/Paper.tsx
6219
6179
  var import_Paper = __toESM(require("@mui/material/Paper"));
6220
6180
  var import_styles36 = require("@mui/material/styles");
6221
- var import_jsx_runtime54 = require("react/jsx-runtime");
6181
+ var import_jsx_runtime53 = require("react/jsx-runtime");
6222
6182
  var StyledPaper = (0, import_styles36.styled)(import_Paper.default)({
6223
6183
  borderRadius: 8,
6224
6184
  "&.MuiPaper-elevation": {
@@ -6230,37 +6190,37 @@ var StyledPaper = (0, import_styles36.styled)(import_Paper.default)({
6230
6190
  }
6231
6191
  });
6232
6192
  var Paper2 = ({ variant = "elevation", ...props }) => {
6233
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
6193
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
6234
6194
  };
6235
6195
 
6236
6196
  // src/components/layout/Divider.tsx
6237
6197
  var import_Divider2 = __toESM(require("@mui/material/Divider"));
6238
6198
  var import_styles37 = require("@mui/material/styles");
6239
- var import_jsx_runtime55 = require("react/jsx-runtime");
6199
+ var import_jsx_runtime54 = require("react/jsx-runtime");
6240
6200
  var StyledDivider2 = (0, import_styles37.styled)(import_Divider2.default)({
6241
6201
  borderColor: colors.grey[200]
6242
6202
  });
6243
6203
  var Divider6 = ({ ...props }) => {
6244
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(StyledDivider2, { ...props });
6204
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(StyledDivider2, { ...props });
6245
6205
  };
6246
6206
 
6247
6207
  // src/components/layout/Stack.tsx
6248
- var import_material34 = require("@mui/material");
6208
+ var import_material33 = require("@mui/material");
6249
6209
 
6250
6210
  // src/components/layout/Box.tsx
6251
- var import_material35 = require("@mui/material");
6211
+ var import_material34 = require("@mui/material");
6252
6212
 
6253
6213
  // src/components/layout/Typography.tsx
6254
- var import_material36 = require("@mui/material");
6214
+ var import_material35 = require("@mui/material");
6255
6215
 
6256
6216
  // src/components/layout/Container.tsx
6257
- var import_material37 = require("@mui/material");
6217
+ var import_material36 = require("@mui/material");
6258
6218
 
6259
6219
  // src/components/layout/AppBar.tsx
6260
- var import_material38 = require("@mui/material");
6220
+ var import_material37 = require("@mui/material");
6261
6221
  var import_styles38 = require("@mui/material/styles");
6262
- var import_jsx_runtime56 = require("react/jsx-runtime");
6263
- var StyledAppBar = (0, import_styles38.styled)(import_material38.AppBar, {
6222
+ var import_jsx_runtime55 = require("react/jsx-runtime");
6223
+ var StyledAppBar = (0, import_styles38.styled)(import_material37.AppBar, {
6264
6224
  shouldForwardProp: (prop) => prop !== "appBarHeight"
6265
6225
  })(({ appBarHeight = 64 }) => ({
6266
6226
  backgroundColor: colors.background.paper,
@@ -6269,31 +6229,31 @@ var StyledAppBar = (0, import_styles38.styled)(import_material38.AppBar, {
6269
6229
  height: appBarHeight,
6270
6230
  zIndex: 1300
6271
6231
  }));
6272
- var StyledToolbar = (0, import_styles38.styled)(import_material38.Toolbar)(({ theme: theme2 }) => ({
6232
+ var StyledToolbar = (0, import_styles38.styled)(import_material37.Toolbar)(({ theme: theme2 }) => ({
6273
6233
  height: "100%",
6274
6234
  paddingLeft: theme2.spacing(2),
6275
6235
  paddingRight: theme2.spacing(2),
6276
6236
  gap: theme2.spacing(2)
6277
6237
  }));
6278
6238
  var AppBar = ({ height = 64, children, ...props }) => {
6279
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(StyledToolbar, { children }) });
6239
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(StyledToolbar, { children }) });
6280
6240
  };
6281
6241
 
6282
6242
  // src/components/layout/Collapse.tsx
6283
- var import_material39 = require("@mui/material");
6284
- var import_jsx_runtime57 = require("react/jsx-runtime");
6243
+ var import_material38 = require("@mui/material");
6244
+ var import_jsx_runtime56 = require("react/jsx-runtime");
6285
6245
  var Collapse = (props) => {
6286
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material39.Collapse, { ...props });
6246
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_material38.Collapse, { ...props });
6287
6247
  };
6288
6248
 
6289
6249
  // src/components/feedback/Alert.tsx
6290
6250
  var import_react15 = __toESM(require("react"));
6291
- var import_Alert = __toESM(require("@mui/material/Alert"));
6292
- var import_material40 = require("@mui/material");
6293
- var import_Snackbar = __toESM(require("@mui/material/Snackbar"));
6251
+ var import_Alert2 = __toESM(require("@mui/material/Alert"));
6252
+ var import_material39 = require("@mui/material");
6253
+ var import_Snackbar2 = __toESM(require("@mui/material/Snackbar"));
6294
6254
  var import_styles39 = require("@mui/material/styles");
6295
- var import_jsx_runtime58 = require("react/jsx-runtime");
6296
- var StyledAlert = (0, import_styles39.styled)(import_Alert.default)({
6255
+ var import_jsx_runtime57 = require("react/jsx-runtime");
6256
+ var StyledAlert = (0, import_styles39.styled)(import_Alert2.default)({
6297
6257
  borderRadius: 8,
6298
6258
  "&.MuiAlert-filled": {
6299
6259
  borderRadius: 8
@@ -6305,12 +6265,12 @@ var Alert2 = ({
6305
6265
  children,
6306
6266
  ...props
6307
6267
  }) => {
6308
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(StyledAlert, { severity, ...props, children: [
6309
- title && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material40.AlertTitle, { children: title }),
6268
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(StyledAlert, { severity, ...props, children: [
6269
+ title && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material39.AlertTitle, { children: title }),
6310
6270
  children
6311
6271
  ] });
6312
6272
  };
6313
- var StyledSnackbar = (0, import_styles39.styled)(import_Snackbar.default)({});
6273
+ var StyledSnackbar = (0, import_styles39.styled)(import_Snackbar2.default)({});
6314
6274
  var Snackbar2 = ({
6315
6275
  message,
6316
6276
  severity = "info",
@@ -6328,7 +6288,7 @@ var Snackbar2 = ({
6328
6288
  }
6329
6289
  onClose?.();
6330
6290
  };
6331
- const content = children || (message ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6291
+ const content = children || (message ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6332
6292
  Alert2,
6333
6293
  {
6334
6294
  onClose: onClose ? handleClose : void 0,
@@ -6354,7 +6314,7 @@ var Snackbar2 = ({
6354
6314
  }
6355
6315
  );
6356
6316
  NoTransition.displayName = "NoTransition";
6357
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6317
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6358
6318
  StyledSnackbar,
6359
6319
  {
6360
6320
  anchorOrigin,
@@ -6374,16 +6334,16 @@ var Snackbar2 = ({
6374
6334
  };
6375
6335
 
6376
6336
  // src/components/feedback/EmptyState.tsx
6377
- var import_material41 = require("@mui/material");
6378
- var import_jsx_runtime59 = require("react/jsx-runtime");
6337
+ var import_material40 = require("@mui/material");
6338
+ var import_jsx_runtime58 = require("react/jsx-runtime");
6379
6339
  var EmptyState = ({
6380
6340
  title = "No items found",
6381
6341
  description,
6382
6342
  icon,
6383
6343
  action
6384
6344
  }) => {
6385
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
6386
- import_material41.Box,
6345
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
6346
+ import_material40.Box,
6387
6347
  {
6388
6348
  sx: {
6389
6349
  display: "flex",
@@ -6395,8 +6355,8 @@ var EmptyState = ({
6395
6355
  minHeight: 200
6396
6356
  },
6397
6357
  children: [
6398
- icon && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6399
- import_material41.Box,
6358
+ icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6359
+ import_material40.Box,
6400
6360
  {
6401
6361
  sx: {
6402
6362
  color: colors.text.secondary,
@@ -6406,24 +6366,24 @@ var EmptyState = ({
6406
6366
  children: icon
6407
6367
  }
6408
6368
  ),
6409
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material41.Typography, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
6410
- description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material41.Typography, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
6411
- action && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material41.Box, { children: action })
6369
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material40.Typography, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
6370
+ description && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material40.Typography, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
6371
+ action && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material40.Box, { children: action })
6412
6372
  ]
6413
6373
  }
6414
6374
  );
6415
6375
  };
6416
6376
 
6417
6377
  // src/components/feedback/Loading.tsx
6418
- var import_material42 = require("@mui/material");
6419
- var import_jsx_runtime60 = require("react/jsx-runtime");
6378
+ var import_material41 = require("@mui/material");
6379
+ var import_jsx_runtime59 = require("react/jsx-runtime");
6420
6380
  var Loading = ({
6421
6381
  message = "Loading...",
6422
6382
  size: size3 = 40,
6423
6383
  fullScreen = false
6424
6384
  }) => {
6425
- const content = /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
6426
- import_material42.Box,
6385
+ const content = /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
6386
+ import_material41.Box,
6427
6387
  {
6428
6388
  sx: {
6429
6389
  display: "flex",
@@ -6445,8 +6405,8 @@ var Loading = ({
6445
6405
  }
6446
6406
  },
6447
6407
  children: [
6448
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_material42.CircularProgress, { size: size3, thickness: 4 }),
6449
- message && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_material42.Typography, { variant: "body2", color: "text.secondary", children: message })
6408
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material41.CircularProgress, { size: size3, thickness: 4 }),
6409
+ message && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material41.Typography, { variant: "body2", color: "text.secondary", children: message })
6450
6410
  ]
6451
6411
  }
6452
6412
  );
@@ -6454,15 +6414,15 @@ var Loading = ({
6454
6414
  };
6455
6415
 
6456
6416
  // src/components/feedback/AppLoading.tsx
6457
- var import_material43 = require("@mui/material");
6458
- var import_jsx_runtime61 = require("react/jsx-runtime");
6417
+ var import_material42 = require("@mui/material");
6418
+ var import_jsx_runtime60 = require("react/jsx-runtime");
6459
6419
  var AppLoading = ({
6460
6420
  message = "Loading...",
6461
6421
  logo = "/icons/logo.png",
6462
6422
  sx = {}
6463
6423
  }) => {
6464
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
6465
- import_material43.Box,
6424
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
6425
+ import_material42.Box,
6466
6426
  {
6467
6427
  sx: {
6468
6428
  display: "flex",
@@ -6480,8 +6440,8 @@ var AppLoading = ({
6480
6440
  ...sx
6481
6441
  },
6482
6442
  children: [
6483
- logo && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6484
- import_material43.Box,
6443
+ logo && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6444
+ import_material42.Box,
6485
6445
  {
6486
6446
  component: "img",
6487
6447
  src: logo,
@@ -6493,31 +6453,31 @@ var AppLoading = ({
6493
6453
  }
6494
6454
  }
6495
6455
  ),
6496
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_material43.CircularProgress, { size: 40, thickness: 4, sx: { mb: 2 } }),
6497
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_material43.Typography, { variant: "body1", color: "text.secondary", children: message })
6456
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_material42.CircularProgress, { size: 40, thickness: 4, sx: { mb: 2 } }),
6457
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_material42.Typography, { variant: "body1", color: "text.secondary", children: message })
6498
6458
  ]
6499
6459
  }
6500
6460
  );
6501
6461
  };
6502
6462
 
6503
6463
  // src/components/feedback/CircularProgress.tsx
6504
- var import_material44 = require("@mui/material");
6505
- var import_jsx_runtime62 = require("react/jsx-runtime");
6464
+ var import_material43 = require("@mui/material");
6465
+ var import_jsx_runtime61 = require("react/jsx-runtime");
6506
6466
  var CircularProgress6 = ({
6507
6467
  size: size3 = 40,
6508
6468
  thickness = 4,
6509
6469
  ...props
6510
6470
  }) => {
6511
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_material44.CircularProgress, { size: size3, thickness, ...props });
6471
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_material43.CircularProgress, { size: size3, thickness, ...props });
6512
6472
  };
6513
6473
 
6514
6474
  // src/components/icons/ActivityAppIcon.tsx
6515
6475
  var import_react16 = require("react");
6516
- var import_material45 = require("@mui/material");
6517
- var import_jsx_runtime63 = require("react/jsx-runtime");
6518
- var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_material45.SvgIcon, { ...props, viewBox: "0 0 36 36", children: [
6519
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6520
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6476
+ var import_material44 = require("@mui/material");
6477
+ var import_jsx_runtime62 = require("react/jsx-runtime");
6478
+ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_material44.SvgIcon, { ...props, viewBox: "0 0 36 36", children: [
6479
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
6480
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6521
6481
  "rect",
6522
6482
  {
6523
6483
  fill: "none",
@@ -6530,7 +6490,7 @@ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, im
6530
6490
  rx: 1.7
6531
6491
  }
6532
6492
  ),
6533
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6493
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6534
6494
  "rect",
6535
6495
  {
6536
6496
  fill: "none",
@@ -6543,7 +6503,7 @@ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, im
6543
6503
  rx: 1.7
6544
6504
  }
6545
6505
  ),
6546
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6506
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6547
6507
  "rect",
6548
6508
  {
6549
6509
  fill: "none",
@@ -6559,10 +6519,10 @@ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, im
6559
6519
  ] }));
6560
6520
 
6561
6521
  // src/components/icons/ArrowLeft.tsx
6562
- var import_material46 = require("@mui/material");
6563
- var import_jsx_runtime64 = require("react/jsx-runtime");
6522
+ var import_material45 = require("@mui/material");
6523
+ var import_jsx_runtime63 = require("react/jsx-runtime");
6564
6524
  var LeftArrowIcon = (props) => {
6565
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_material46.SvgIcon, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("g", { id: " Arrow Left", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6525
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_material45.SvgIcon, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("g", { id: " Arrow Left", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6566
6526
  "path",
6567
6527
  {
6568
6528
  id: "Vector (Stroke)",
@@ -6575,10 +6535,10 @@ var LeftArrowIcon = (props) => {
6575
6535
  };
6576
6536
 
6577
6537
  // src/components/icons/ArrowRight.tsx
6578
- var import_material47 = require("@mui/material");
6579
- var import_jsx_runtime65 = require("react/jsx-runtime");
6538
+ var import_material46 = require("@mui/material");
6539
+ var import_jsx_runtime64 = require("react/jsx-runtime");
6580
6540
  var RightArrowIcon = (props) => {
6581
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_material47.SvgIcon, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6541
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_material46.SvgIcon, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6582
6542
  "path",
6583
6543
  {
6584
6544
  fillRule: "evenodd",
@@ -6590,11 +6550,11 @@ var RightArrowIcon = (props) => {
6590
6550
  };
6591
6551
 
6592
6552
  // src/components/icons/AvatarIcon.tsx
6593
- var import_material48 = require("@mui/material");
6594
- var import_jsx_runtime66 = require("react/jsx-runtime");
6553
+ var import_material47 = require("@mui/material");
6554
+ var import_jsx_runtime65 = require("react/jsx-runtime");
6595
6555
  var AvatarIcon = (props) => {
6596
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_material48.SvgIcon, { ...props, viewBox: "0 0 16 16", children: [
6597
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6556
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_material47.SvgIcon, { ...props, viewBox: "0 0 16 16", children: [
6557
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6598
6558
  "path",
6599
6559
  {
6600
6560
  fillRule: "evenodd",
@@ -6603,7 +6563,7 @@ var AvatarIcon = (props) => {
6603
6563
  fill: "#1D1B20"
6604
6564
  }
6605
6565
  ),
6606
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6566
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6607
6567
  "path",
6608
6568
  {
6609
6569
  fillRule: "evenodd",
@@ -6617,10 +6577,10 @@ var AvatarIcon = (props) => {
6617
6577
 
6618
6578
  // src/components/icons/BarTrackingIcon.tsx
6619
6579
  var import_react17 = require("react");
6620
- var import_material49 = require("@mui/material");
6621
- var import_jsx_runtime67 = require("react/jsx-runtime");
6622
- var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material49.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
6623
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6580
+ var import_material48 = require("@mui/material");
6581
+ var import_jsx_runtime66 = require("react/jsx-runtime");
6582
+ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_material48.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
6583
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6624
6584
  "rect",
6625
6585
  {
6626
6586
  x: "7.19922",
@@ -6633,7 +6593,7 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
6633
6593
  fill: "none"
6634
6594
  }
6635
6595
  ),
6636
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6596
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6637
6597
  "rect",
6638
6598
  {
6639
6599
  x: "21.0371",
@@ -6646,7 +6606,7 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
6646
6606
  strokeWidth: "2"
6647
6607
  }
6648
6608
  ),
6649
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6609
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6650
6610
  "rect",
6651
6611
  {
6652
6612
  x: "40.4746",
@@ -6659,7 +6619,7 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
6659
6619
  strokeWidth: "2"
6660
6620
  }
6661
6621
  ),
6662
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6622
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6663
6623
  "rect",
6664
6624
  {
6665
6625
  x: "59.8828",
@@ -6676,9 +6636,9 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
6676
6636
 
6677
6637
  // src/components/icons/ClockIcon.tsx
6678
6638
  var import_react18 = require("react");
6679
- var import_material50 = require("@mui/material");
6680
- var import_jsx_runtime68 = require("react/jsx-runtime");
6681
- var ClockIcon = (0, import_react18.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material50.SvgIcon, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6639
+ var import_material49 = require("@mui/material");
6640
+ var import_jsx_runtime67 = require("react/jsx-runtime");
6641
+ var ClockIcon = (0, import_react18.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material49.SvgIcon, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6682
6642
  "path",
6683
6643
  {
6684
6644
  fill: "currentColor",
@@ -6690,10 +6650,10 @@ var ClockIcon = (0, import_react18.memo)((props) => /* @__PURE__ */ (0, import_j
6690
6650
 
6691
6651
  // src/components/icons/CloudFlashIcon.tsx
6692
6652
  var import_react19 = require("react");
6693
- var import_material51 = require("@mui/material");
6694
- var import_jsx_runtime69 = require("react/jsx-runtime");
6695
- var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_material51.SvgIcon, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6696
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6653
+ var import_material50 = require("@mui/material");
6654
+ var import_jsx_runtime68 = require("react/jsx-runtime");
6655
+ var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_material50.SvgIcon, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
6656
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6697
6657
  "path",
6698
6658
  {
6699
6659
  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",
@@ -6702,7 +6662,7 @@ var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, imp
6702
6662
  strokeWidth: "2"
6703
6663
  }
6704
6664
  ),
6705
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6665
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6706
6666
  "path",
6707
6667
  {
6708
6668
  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",
@@ -6715,10 +6675,10 @@ var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, imp
6715
6675
 
6716
6676
  // src/components/icons/DecentralizedServerIcon.tsx
6717
6677
  var import_react20 = require("react");
6718
- var import_material52 = require("@mui/material");
6719
- var import_jsx_runtime70 = require("react/jsx-runtime");
6720
- var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_material52.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
6721
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6678
+ var import_material51 = require("@mui/material");
6679
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6680
+ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_material51.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
6681
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6722
6682
  "path",
6723
6683
  {
6724
6684
  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",
@@ -6729,7 +6689,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6729
6689
  strokeLinejoin: "round"
6730
6690
  }
6731
6691
  ),
6732
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6692
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6733
6693
  "path",
6734
6694
  {
6735
6695
  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",
@@ -6740,7 +6700,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6740
6700
  strokeLinejoin: "round"
6741
6701
  }
6742
6702
  ),
6743
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6703
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6744
6704
  "path",
6745
6705
  {
6746
6706
  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",
@@ -6751,7 +6711,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6751
6711
  strokeLinejoin: "round"
6752
6712
  }
6753
6713
  ),
6754
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6714
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6755
6715
  "path",
6756
6716
  {
6757
6717
  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",
@@ -6762,7 +6722,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6762
6722
  strokeLinejoin: "round"
6763
6723
  }
6764
6724
  ),
6765
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6725
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6766
6726
  "path",
6767
6727
  {
6768
6728
  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",
@@ -6773,7 +6733,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6773
6733
  strokeLinejoin: "round"
6774
6734
  }
6775
6735
  ),
6776
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6736
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6777
6737
  "path",
6778
6738
  {
6779
6739
  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",
@@ -6784,7 +6744,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6784
6744
  strokeLinejoin: "round"
6785
6745
  }
6786
6746
  ),
6787
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6747
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6788
6748
  "path",
6789
6749
  {
6790
6750
  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",
@@ -6795,7 +6755,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6795
6755
  strokeLinejoin: "round"
6796
6756
  }
6797
6757
  ),
6798
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6758
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6799
6759
  "path",
6800
6760
  {
6801
6761
  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",
@@ -6806,7 +6766,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6806
6766
  strokeLinejoin: "round"
6807
6767
  }
6808
6768
  ),
6809
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6769
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6810
6770
  "path",
6811
6771
  {
6812
6772
  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",
@@ -6817,7 +6777,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6817
6777
  strokeLinejoin: "round"
6818
6778
  }
6819
6779
  ),
6820
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6780
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6821
6781
  "rect",
6822
6782
  {
6823
6783
  x: "22.623",
@@ -6830,7 +6790,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6830
6790
  strokeWidth: "2"
6831
6791
  }
6832
6792
  ),
6833
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6793
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6834
6794
  "rect",
6835
6795
  {
6836
6796
  x: "22.623",
@@ -6843,7 +6803,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6843
6803
  strokeWidth: "2"
6844
6804
  }
6845
6805
  ),
6846
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6806
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6847
6807
  "rect",
6848
6808
  {
6849
6809
  x: "22.623",
@@ -6856,7 +6816,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6856
6816
  strokeWidth: "2"
6857
6817
  }
6858
6818
  ),
6859
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6819
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6860
6820
  "path",
6861
6821
  {
6862
6822
  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",
@@ -6866,7 +6826,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6866
6826
  strokeMiterlimit: "10"
6867
6827
  }
6868
6828
  ),
6869
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6829
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6870
6830
  "path",
6871
6831
  {
6872
6832
  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",
@@ -6876,7 +6836,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6876
6836
  strokeMiterlimit: "10"
6877
6837
  }
6878
6838
  ),
6879
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6839
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6880
6840
  "path",
6881
6841
  {
6882
6842
  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",
@@ -6890,9 +6850,9 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
6890
6850
 
6891
6851
  // src/components/icons/DiscordIcon.tsx
6892
6852
  var import_react21 = require("react");
6893
- var import_material53 = require("@mui/material");
6894
- var import_jsx_runtime71 = require("react/jsx-runtime");
6895
- var DiscordIcon = (0, import_react21.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_material53.SvgIcon, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6853
+ var import_material52 = require("@mui/material");
6854
+ var import_jsx_runtime70 = require("react/jsx-runtime");
6855
+ var DiscordIcon = (0, import_react21.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_material52.SvgIcon, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6896
6856
  "path",
6897
6857
  {
6898
6858
  fill: "currentColor",
@@ -6902,17 +6862,17 @@ var DiscordIcon = (0, import_react21.memo)((props) => /* @__PURE__ */ (0, import
6902
6862
 
6903
6863
  // src/components/icons/DownloadIcon.tsx
6904
6864
  var import_react22 = require("react");
6905
- var import_material54 = require("@mui/material");
6906
- var import_jsx_runtime72 = require("react/jsx-runtime");
6907
- var DownloadIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_material54.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6908
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6865
+ var import_material53 = require("@mui/material");
6866
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6867
+ var DownloadIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_material53.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
6868
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6909
6869
  "path",
6910
6870
  {
6911
6871
  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",
6912
6872
  fill: "currentColor"
6913
6873
  }
6914
6874
  ),
6915
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6875
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6916
6876
  "path",
6917
6877
  {
6918
6878
  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",
@@ -6923,12 +6883,12 @@ var DownloadIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, impor
6923
6883
 
6924
6884
  // src/components/icons/FilledFolderIcon.tsx
6925
6885
  var import_react23 = require("react");
6926
- var import_material55 = require("@mui/material");
6927
- var import_jsx_runtime73 = require("react/jsx-runtime");
6928
- var FilledFolderIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_material55.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6929
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6930
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6931
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6886
+ var import_material54 = require("@mui/material");
6887
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6888
+ var FilledFolderIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_material54.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6889
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
6890
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
6891
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6932
6892
  "path",
6933
6893
  {
6934
6894
  fillRule: "evenodd",
@@ -6941,12 +6901,12 @@ var FilledFolderIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, i
6941
6901
 
6942
6902
  // src/components/icons/FolderIcon.tsx
6943
6903
  var import_react24 = require("react");
6944
- var import_material56 = require("@mui/material");
6945
- var import_jsx_runtime74 = require("react/jsx-runtime");
6946
- var FolderIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material56.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6947
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6948
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6949
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6904
+ var import_material55 = require("@mui/material");
6905
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6906
+ var FolderIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_material55.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
6907
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
6908
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
6909
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6950
6910
  "path",
6951
6911
  {
6952
6912
  fillRule: "evenodd",
@@ -6961,17 +6921,17 @@ var FolderIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_
6961
6921
 
6962
6922
  // src/components/icons/GithubLogoIcon.tsx
6963
6923
  var import_react25 = require("react");
6964
- var import_material57 = require("@mui/material");
6965
- var import_jsx_runtime75 = require("react/jsx-runtime");
6966
- var GithubLogoIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material57.SvgIcon, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6967
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6924
+ var import_material56 = require("@mui/material");
6925
+ var import_jsx_runtime74 = require("react/jsx-runtime");
6926
+ var GithubLogoIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material56.SvgIcon, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
6927
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6968
6928
  "path",
6969
6929
  {
6970
6930
  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",
6971
6931
  fill: "white"
6972
6932
  }
6973
6933
  ),
6974
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6934
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6975
6935
  "path",
6976
6936
  {
6977
6937
  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",
@@ -6982,9 +6942,9 @@ var GithubLogoIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, imp
6982
6942
 
6983
6943
  // src/components/icons/ShareIcon.tsx
6984
6944
  var import_react26 = require("react");
6985
- var import_material58 = require("@mui/material");
6986
- var import_jsx_runtime76 = require("react/jsx-runtime");
6987
- var ShareIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_material58.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6945
+ var import_material57 = require("@mui/material");
6946
+ var import_jsx_runtime75 = require("react/jsx-runtime");
6947
+ var ShareIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material57.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6988
6948
  "path",
6989
6949
  {
6990
6950
  fillRule: "evenodd",
@@ -6996,10 +6956,10 @@ var ShareIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_j
6996
6956
 
6997
6957
  // src/components/icons/StorageAppIcon.tsx
6998
6958
  var import_react27 = require("react");
6999
- var import_material59 = require("@mui/material");
7000
- var import_jsx_runtime77 = require("react/jsx-runtime");
7001
- var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_material59.SvgIcon, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
7002
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
6959
+ var import_material58 = require("@mui/material");
6960
+ var import_jsx_runtime76 = require("react/jsx-runtime");
6961
+ var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_material58.SvgIcon, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
6962
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7003
6963
  "path",
7004
6964
  {
7005
6965
  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",
@@ -7008,7 +6968,7 @@ var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, imp
7008
6968
  fill: "none"
7009
6969
  }
7010
6970
  ),
7011
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
6971
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7012
6972
  "path",
7013
6973
  {
7014
6974
  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",
@@ -7021,9 +6981,9 @@ var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, imp
7021
6981
 
7022
6982
  // src/components/icons/UploadFileIcon.tsx
7023
6983
  var import_react28 = require("react");
7024
- var import_material60 = require("@mui/material");
7025
- var import_jsx_runtime78 = require("react/jsx-runtime");
7026
- var UploadFileIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_material60.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
6984
+ var import_material59 = require("@mui/material");
6985
+ var import_jsx_runtime77 = require("react/jsx-runtime");
6986
+ var UploadFileIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_material59.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7027
6987
  "path",
7028
6988
  {
7029
6989
  fillRule: "evenodd",
@@ -7037,9 +6997,9 @@ var UploadFileIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, imp
7037
6997
 
7038
6998
  // src/components/icons/UploadFolderIcon.tsx
7039
6999
  var import_react29 = require("react");
7040
- var import_material61 = require("@mui/material");
7041
- var import_jsx_runtime79 = require("react/jsx-runtime");
7042
- var UploadFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_material61.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7000
+ var import_material60 = require("@mui/material");
7001
+ var import_jsx_runtime78 = require("react/jsx-runtime");
7002
+ var UploadFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_material60.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
7043
7003
  "path",
7044
7004
  {
7045
7005
  fillRule: "evenodd",
@@ -7052,14 +7012,14 @@ var UploadFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, i
7052
7012
  ) }));
7053
7013
 
7054
7014
  // src/components/utilities/Markdown/Markdown.tsx
7055
- var import_material62 = require("@mui/material");
7015
+ var import_material61 = require("@mui/material");
7056
7016
  var import_github = require("highlight.js/styles/github.css");
7057
7017
  var import_github_markdown_light = require("github-markdown-css/github-markdown-light.css");
7058
7018
  var import_react_markdown = __toESM(require("react-markdown"));
7059
7019
  var import_rehype_highlight = __toESM(require("rehype-highlight"));
7060
7020
  var import_rehype_raw = __toESM(require("rehype-raw"));
7061
- var import_jsx_runtime80 = require("react/jsx-runtime");
7062
- var Content = (0, import_material62.styled)(import_material62.Box)(({ theme: theme2 }) => ({
7021
+ var import_jsx_runtime79 = require("react/jsx-runtime");
7022
+ var Content = (0, import_material61.styled)(import_material61.Box)(({ theme: theme2 }) => ({
7063
7023
  backgroundColor: "transparent",
7064
7024
  ...theme2.typography.body1,
7065
7025
  color: theme2.palette.text.primary,
@@ -7076,11 +7036,11 @@ var Content = (0, import_material62.styled)(import_material62.Box)(({ theme: the
7076
7036
  backgroundColor: theme2.palette.background.paper
7077
7037
  }
7078
7038
  }));
7079
- var Markdown = ({ content, children }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Content, { className: "markdown-body", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_markdown.default, { rehypePlugins: [import_rehype_highlight.default, import_rehype_raw.default], children: content || children }) });
7039
+ var Markdown = ({ content, children }) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Content, { className: "markdown-body", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react_markdown.default, { rehypePlugins: [import_rehype_highlight.default, import_rehype_raw.default], children: content || children }) });
7080
7040
 
7081
7041
  // src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
7082
7042
  var import_react30 = require("react");
7083
- var import_jsx_runtime81 = require("react/jsx-runtime");
7043
+ var import_jsx_runtime80 = require("react/jsx-runtime");
7084
7044
  var OnboardingContext = (0, import_react30.createContext)(void 0);
7085
7045
  var useOnboarding = () => {
7086
7046
  const context = (0, import_react30.useContext)(OnboardingContext);
@@ -7105,7 +7065,7 @@ var OnboardingProvider = ({ children }) => {
7105
7065
  setIsOnboardingActive(false);
7106
7066
  setTimeout(() => setIsOnboardingActive(true), 0);
7107
7067
  }, []);
7108
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
7068
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
7109
7069
  OnboardingContext.Provider,
7110
7070
  {
7111
7071
  value: {
@@ -7120,7 +7080,7 @@ var OnboardingProvider = ({ children }) => {
7120
7080
  };
7121
7081
 
7122
7082
  // src/components/utilities/Truncate/Truncate.tsx
7123
- var import_jsx_runtime82 = require("react/jsx-runtime");
7083
+ var import_jsx_runtime81 = require("react/jsx-runtime");
7124
7084
  var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
7125
7085
  if (variant === "hex") {
7126
7086
  return 4;
@@ -7144,30 +7104,30 @@ var Truncate = ({
7144
7104
  const truncated = text.slice(0, maxLength - endingLength);
7145
7105
  truncatedText = [truncated, ending].filter(Boolean).join("...");
7146
7106
  }
7147
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { ...props, "data-full": text, children: truncatedText });
7107
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { ...props, "data-full": text, children: truncatedText });
7148
7108
  };
7149
7109
 
7150
7110
  // src/components/utilities/BytesSize/BytesSize.tsx
7151
7111
  var import_byte_size = __toESM(require("byte-size"));
7152
- var import_jsx_runtime83 = require("react/jsx-runtime");
7112
+ var import_jsx_runtime82 = require("react/jsx-runtime");
7153
7113
  var BytesSize = ({ bytes }) => {
7154
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: (0, import_byte_size.default)(bytes).toString() });
7114
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_jsx_runtime82.Fragment, { children: (0, import_byte_size.default)(bytes).toString() });
7155
7115
  };
7156
7116
 
7157
7117
  // src/components/utilities/QRCode/QRCode.tsx
7158
7118
  var import_react31 = require("react");
7159
7119
  var import_react_qr_code = __toESM(require("react-qr-code"));
7160
- var import_jsx_runtime84 = require("react/jsx-runtime");
7161
- var QRCode = (0, import_react31.forwardRef)(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_qr_code.default, { ref, size: size3, ...props }));
7120
+ var import_jsx_runtime83 = require("react/jsx-runtime");
7121
+ var QRCode = (0, import_react31.forwardRef)(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_qr_code.default, { ref, size: size3, ...props }));
7162
7122
  QRCode.displayName = "QRCode";
7163
7123
 
7164
7124
  // src/components/charts/ChartWidget/ChartWidget.tsx
7165
- var import_material63 = require("@mui/material");
7125
+ var import_material62 = require("@mui/material");
7166
7126
  var import_x_charts = require("@mui/x-charts");
7167
7127
  var import_byte_size2 = __toESM(require("byte-size"));
7168
7128
  var import_date_fns = require("date-fns");
7169
- var import_jsx_runtime85 = require("react/jsx-runtime");
7170
- var Chart = (0, import_material63.styled)(import_material63.Box)(() => ({
7129
+ var import_jsx_runtime84 = require("react/jsx-runtime");
7130
+ var Chart = (0, import_material62.styled)(import_material62.Box)(() => ({
7171
7131
  height: 200
7172
7132
  }));
7173
7133
  var ChartWidget = ({
@@ -7176,11 +7136,11 @@ var ChartWidget = ({
7176
7136
  history,
7177
7137
  formatValue = (value2) => (0, import_byte_size2.default)(value2 || 0).toString()
7178
7138
  }) => {
7179
- const theme2 = (0, import_material63.useTheme)();
7180
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_material63.Stack, { spacing: 1, children: [
7181
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_material63.Typography, { variant: "caption", color: "text.secondary", children: title }),
7182
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_material63.Typography, { fontWeight: "bold", children: value }),
7183
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Chart, { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7139
+ const theme2 = (0, import_material62.useTheme)();
7140
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_material62.Stack, { spacing: 1, children: [
7141
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_material62.Typography, { variant: "caption", color: "text.secondary", children: title }),
7142
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_material62.Typography, { fontWeight: "bold", children: value }),
7143
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Chart, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
7184
7144
  import_x_charts.LineChart,
7185
7145
  {
7186
7146
  dataset: history || [],
@@ -7238,11 +7198,11 @@ var ChartWidget = ({
7238
7198
  var import_date_fns2 = require("date-fns");
7239
7199
  var import_x_charts2 = require("@mui/x-charts");
7240
7200
  var import_hooks = require("@mui/x-charts/hooks");
7241
- var import_material65 = require("@mui/material");
7201
+ var import_material64 = require("@mui/material");
7242
7202
 
7243
7203
  // src/components/charts/MetricsChart/PeriodSelect.tsx
7244
- var import_material64 = require("@mui/material");
7245
- var import_jsx_runtime86 = require("react/jsx-runtime");
7204
+ var import_material63 = require("@mui/material");
7205
+ var import_jsx_runtime85 = require("react/jsx-runtime");
7246
7206
  var options = [
7247
7207
  /**
7248
7208
  * TODO: Enable the options below when the backend supports them
@@ -7252,21 +7212,21 @@ var options = [
7252
7212
  { value: "week", label: "1 week" },
7253
7213
  { value: "month", label: "1 month" }
7254
7214
  ];
7255
- var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7256
- import_material64.TextField,
7215
+ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7216
+ import_material63.TextField,
7257
7217
  {
7258
7218
  select: true,
7259
7219
  size: "small",
7260
7220
  value,
7261
7221
  defaultValue: options[0].value,
7262
7222
  onChange: (e) => onChange?.(e.target.value),
7263
- children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.MenuItem, { value: value2, children: label }, value2))
7223
+ children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_material63.MenuItem, { value: value2, children: label }, value2))
7264
7224
  }
7265
7225
  );
7266
7226
 
7267
7227
  // src/components/charts/MetricsChart/MetricsChart.tsx
7268
7228
  var import_react32 = require("react");
7269
- var import_jsx_runtime87 = require("react/jsx-runtime");
7229
+ var import_jsx_runtime86 = require("react/jsx-runtime");
7270
7230
  var mapPeriodToFromDate = (period = "month") => {
7271
7231
  const date = /* @__PURE__ */ new Date();
7272
7232
  if (period === "hour") {
@@ -7280,14 +7240,14 @@ var mapPeriodToFromDate = (period = "month") => {
7280
7240
  }
7281
7241
  return (0, import_date_fns2.startOfDay)((0, import_date_fns2.subMonths)(date, 1));
7282
7242
  };
7283
- var Chart2 = (0, import_material65.styled)(import_x_charts2.LineChart)({
7243
+ var Chart2 = (0, import_material64.styled)(import_x_charts2.LineChart)({
7284
7244
  height: 320,
7285
7245
  marginBottom: 16
7286
7246
  });
7287
- var NoDataRect = (0, import_material65.styled)("rect")({
7247
+ var NoDataRect = (0, import_material64.styled)("rect")({
7288
7248
  fill: "#F5F6FF"
7289
7249
  });
7290
- var LoadingText = (0, import_material65.styled)("text")(({ theme: theme2 }) => ({
7250
+ var LoadingText = (0, import_material64.styled)("text")(({ theme: theme2 }) => ({
7291
7251
  stroke: "none",
7292
7252
  fill: theme2.palette.text.primary,
7293
7253
  shapeRendering: "crispEdges",
@@ -7295,7 +7255,7 @@ var LoadingText = (0, import_material65.styled)("text")(({ theme: theme2 }) => (
7295
7255
  dominantBaseline: "middle"
7296
7256
  }));
7297
7257
  var MetricsChart = ({ history = [] }) => {
7298
- const theme2 = (0, import_material65.useTheme)();
7258
+ const theme2 = (0, import_material64.useTheme)();
7299
7259
  const [period, setPeriod] = (0, import_react32.useState)("week");
7300
7260
  const periodFrom = (0, import_react32.useMemo)(() => mapPeriodToFromDate(period), [period]);
7301
7261
  const periodHistory = (0, import_react32.useMemo)(
@@ -7326,15 +7286,15 @@ var MetricsChart = ({ history = [] }) => {
7326
7286
  const backgroundHeight = textHeight + padding.top + padding.bottom;
7327
7287
  const rectX = left + (width - backgroundWidth) / 2;
7328
7288
  const rectY = top + (height - backgroundHeight) / 2;
7329
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("g", { children: [
7330
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
7331
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
7289
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("g", { children: [
7290
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
7291
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
7332
7292
  ] });
7333
7293
  };
7334
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Card, { children: [
7335
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.CardHeader, { title: "GET / PUT Requests", action: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(PeriodSelect, { value: period, onChange: setPeriod }) }),
7336
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.CardMedia, { children: [
7337
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7294
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Card, { children: [
7295
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.CardHeader, { title: "GET / PUT Requests", action: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PeriodSelect, { value: period, onChange: setPeriod }) }),
7296
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.CardMedia, { children: [
7297
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7338
7298
  Chart2,
7339
7299
  {
7340
7300
  skipAnimation: true,
@@ -7395,35 +7355,35 @@ var MetricsChart = ({ history = [] }) => {
7395
7355
  ]
7396
7356
  }
7397
7357
  ),
7398
- periodHistory.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
7399
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
7400
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
7401
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "body2", children: "Get" })
7358
+ periodHistory.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
7359
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
7360
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
7361
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "body2", children: "Get" })
7402
7362
  ] }),
7403
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
7404
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
7405
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "body2", children: "Put" })
7363
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
7364
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
7365
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "body2", children: "Put" })
7406
7366
  ] })
7407
7367
  ] })
7408
7368
  ] }),
7409
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.CardMedia, { children: [
7410
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Divider, { flexItem: true }),
7411
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", spacing: 2, padding: 2, children: [
7412
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7413
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
7414
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "h3", children: total.gets })
7369
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.CardMedia, { children: [
7370
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Divider, { flexItem: true }),
7371
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, padding: 2, children: [
7372
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7373
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
7374
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "h3", children: total.gets })
7415
7375
  ] }),
7416
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7417
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
7418
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "h3", children: total.puts })
7376
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7377
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
7378
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "h3", children: total.puts })
7419
7379
  ] }),
7420
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7421
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
7422
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(BytesSize, { bytes: total.transferredBytes }) })
7380
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7381
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
7382
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(BytesSize, { bytes: total.transferredBytes }) })
7423
7383
  ] }),
7424
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material65.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7425
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
7426
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material65.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(BytesSize, { bytes: total.storedBytes }) })
7384
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
7385
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
7386
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material64.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(BytesSize, { bytes: total.storedBytes }) })
7427
7387
  ] })
7428
7388
  ] })
7429
7389
  ] })
@@ -7433,10 +7393,10 @@ var MetricsChart = ({ history = [] }) => {
7433
7393
  // src/components/third-party/FlowEditor.tsx
7434
7394
  var import_react33 = require("react");
7435
7395
  var import_reactflow = __toESM(require("reactflow"));
7436
- var import_material66 = require("@mui/material");
7396
+ var import_material65 = require("@mui/material");
7437
7397
  var import_styles40 = require("@mui/material/styles");
7438
7398
  var import_reactflow2 = require("reactflow");
7439
- var import_jsx_runtime88 = require("react/jsx-runtime");
7399
+ var import_jsx_runtime87 = require("react/jsx-runtime");
7440
7400
  var FlowEditor = ({
7441
7401
  nodes,
7442
7402
  edges,
@@ -7462,8 +7422,8 @@ var FlowEditor = ({
7462
7422
  },
7463
7423
  [onInit]
7464
7424
  );
7465
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_reactflow.ReactFlowProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7466
- import_material66.Box,
7425
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_reactflow.ReactFlowProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7426
+ import_material65.Box,
7467
7427
  {
7468
7428
  sx: {
7469
7429
  width: "100%",
@@ -7475,7 +7435,7 @@ var FlowEditor = ({
7475
7435
  ...containerProps?.sx
7476
7436
  },
7477
7437
  ...containerProps,
7478
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7438
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
7479
7439
  import_reactflow.default,
7480
7440
  {
7481
7441
  nodes,
@@ -7497,7 +7457,7 @@ var FlowEditor = ({
7497
7457
  },
7498
7458
  ...reactFlowProps,
7499
7459
  children: [
7500
- showBackground && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7460
+ showBackground && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7501
7461
  import_reactflow.Background,
7502
7462
  {
7503
7463
  variant: backgroundVariant,
@@ -7506,8 +7466,8 @@ var FlowEditor = ({
7506
7466
  color: theme2.palette.divider
7507
7467
  }
7508
7468
  ),
7509
- showControls && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_reactflow.Controls, {}),
7510
- showMinimap && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7469
+ showControls && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_reactflow.Controls, {}),
7470
+ showMinimap && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7511
7471
  import_reactflow.MiniMap,
7512
7472
  {
7513
7473
  nodeColor: (node) => {
@@ -7532,13 +7492,13 @@ var FlowEditor = ({
7532
7492
  // src/components/third-party/CodeEditor.tsx
7533
7493
  var import_react34 = require("react");
7534
7494
  var import_react35 = __toESM(require("@monaco-editor/react"));
7535
- var import_material67 = require("@mui/material");
7495
+ var import_material66 = require("@mui/material");
7536
7496
  var import_Fullscreen = __toESM(require("@mui/icons-material/Fullscreen"));
7537
7497
  var import_FullscreenExit = __toESM(require("@mui/icons-material/FullscreenExit"));
7538
7498
  var import_ErrorOutline = __toESM(require("@mui/icons-material/ErrorOutline"));
7539
7499
  var import_ExpandMore3 = __toESM(require("@mui/icons-material/ExpandMore"));
7540
7500
  var import_ExpandLess = __toESM(require("@mui/icons-material/ExpandLess"));
7541
- var import_jsx_runtime89 = require("react/jsx-runtime");
7501
+ var import_jsx_runtime88 = require("react/jsx-runtime");
7542
7502
  var configureTypeScript = (monaco) => {
7543
7503
  monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
7544
7504
  target: monaco.languages.typescript.ScriptTarget.ES2020,
@@ -7750,8 +7710,8 @@ var CodeEditor = ({
7750
7710
  theme: themeProp || "vs",
7751
7711
  ...options2
7752
7712
  };
7753
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7754
- import_material67.Box,
7713
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7714
+ import_material66.Box,
7755
7715
  {
7756
7716
  sx: {
7757
7717
  display: "flex",
@@ -7771,8 +7731,8 @@ var CodeEditor = ({
7771
7731
  pb: isFullscreen ? 2 : 0,
7772
7732
  overflow: isFullscreen ? "hidden" : "visible"
7773
7733
  },
7774
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
7775
- import_material67.Box,
7734
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7735
+ import_material66.Box,
7776
7736
  {
7777
7737
  sx: {
7778
7738
  flex: 1,
@@ -7787,8 +7747,8 @@ var CodeEditor = ({
7787
7747
  },
7788
7748
  ...containerProps,
7789
7749
  children: [
7790
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material67.Tooltip, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7791
- import_material67.IconButton,
7750
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material66.Tooltip, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7751
+ import_material66.IconButton,
7792
7752
  {
7793
7753
  onClick: toggleFullscreen,
7794
7754
  size: "small",
@@ -7805,11 +7765,11 @@ var CodeEditor = ({
7805
7765
  },
7806
7766
  boxShadow: 1
7807
7767
  },
7808
- children: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_FullscreenExit.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_Fullscreen.default, { fontSize: "small" })
7768
+ children: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_FullscreenExit.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_Fullscreen.default, { fontSize: "small" })
7809
7769
  }
7810
7770
  ) }),
7811
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7812
- import_material67.Box,
7771
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7772
+ import_material66.Box,
7813
7773
  {
7814
7774
  sx: {
7815
7775
  flex: 1,
@@ -7820,7 +7780,7 @@ var CodeEditor = ({
7820
7780
  position: "relative",
7821
7781
  height: isFullscreen ? "100%" : actualHeight
7822
7782
  },
7823
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7783
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7824
7784
  import_react35.default,
7825
7785
  {
7826
7786
  height: "100%",
@@ -7831,7 +7791,7 @@ var CodeEditor = ({
7831
7791
  onMount: handleEditorDidMount,
7832
7792
  theme: themeProp || "vs",
7833
7793
  options: defaultOptions,
7834
- loading: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material67.Box, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7794
+ loading: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material66.Box, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
7835
7795
  beforeMount: (monaco) => {
7836
7796
  console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
7837
7797
  }
@@ -7839,8 +7799,8 @@ var CodeEditor = ({
7839
7799
  )
7840
7800
  }
7841
7801
  ),
7842
- validationErrors.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
7843
- import_material67.Box,
7802
+ validationErrors.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7803
+ import_material66.Box,
7844
7804
  {
7845
7805
  sx: {
7846
7806
  borderTop: 1,
@@ -7853,8 +7813,8 @@ var CodeEditor = ({
7853
7813
  transition: "max-height 0.2s ease"
7854
7814
  },
7855
7815
  children: [
7856
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
7857
- import_material67.Box,
7816
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7817
+ import_material66.Box,
7858
7818
  {
7859
7819
  sx: {
7860
7820
  display: "flex",
@@ -7868,16 +7828,16 @@ var CodeEditor = ({
7868
7828
  color: "text.secondary"
7869
7829
  },
7870
7830
  children: [
7871
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_ErrorOutline.default, { color: "error", fontSize: "small" }),
7872
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material67.Box, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7873
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_material67.Box, { sx: { ml: 1 }, children: [
7831
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_ErrorOutline.default, { color: "error", fontSize: "small" }),
7832
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material66.Box, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
7833
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_material66.Box, { sx: { ml: 1 }, children: [
7874
7834
  validationErrors.length,
7875
7835
  " error",
7876
7836
  validationErrors.length > 1 ? "s" : ""
7877
7837
  ] }),
7878
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material67.Box, { sx: { flex: 1 } }),
7879
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7880
- import_material67.IconButton,
7838
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material66.Box, { sx: { flex: 1 } }),
7839
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7840
+ import_material66.IconButton,
7881
7841
  {
7882
7842
  size: "small",
7883
7843
  "aria-label": "Toggle problems panel",
@@ -7885,14 +7845,14 @@ var CodeEditor = ({
7885
7845
  setHasUserToggledProblems(true);
7886
7846
  setShowProblems((s) => !s);
7887
7847
  },
7888
- children: showProblems ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_ExpandMore3.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_ExpandLess.default, { fontSize: "small" })
7848
+ children: showProblems ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_ExpandMore3.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_ExpandLess.default, { fontSize: "small" })
7889
7849
  }
7890
7850
  )
7891
7851
  ]
7892
7852
  }
7893
7853
  ),
7894
- showProblems && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material67.Box, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
7895
- import_material67.Box,
7854
+ showProblems && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material66.Box, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7855
+ import_material66.Box,
7896
7856
  {
7897
7857
  onClick: () => gotoMarker(error),
7898
7858
  sx: {
@@ -7908,12 +7868,12 @@ var CodeEditor = ({
7908
7868
  fontSize: "0.85rem"
7909
7869
  },
7910
7870
  children: [
7911
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_ErrorOutline.default, { color: "error", sx: { fontSize: 18 } }),
7912
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_material67.Box, { sx: { color: "text.secondary", width: 64 }, children: [
7871
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_ErrorOutline.default, { color: "error", sx: { fontSize: 18 } }),
7872
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_material66.Box, { sx: { color: "text.secondary", width: 64 }, children: [
7913
7873
  "Line ",
7914
7874
  error.startLineNumber
7915
7875
  ] }),
7916
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material67.Box, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
7876
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material66.Box, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
7917
7877
  ]
7918
7878
  },
7919
7879
  `${error.startLineNumber}-${error.startColumn}-${index}`
@@ -8008,7 +7968,6 @@ var import_reactflow3 = require("reactflow");
8008
7968
  Markdown,
8009
7969
  Menu,
8010
7970
  MenuItem,
8011
- MessagesProvider,
8012
7971
  MetricsChart,
8013
7972
  MiniMap,
8014
7973
  NavigationItem,
@@ -8062,7 +8021,6 @@ var import_reactflow3 = require("reactflow");
8062
8021
  useIsDesktop,
8063
8022
  useIsMobile,
8064
8023
  useIsTablet,
8065
- useMessages,
8066
8024
  useOnboarding
8067
8025
  });
8068
8026
  //# sourceMappingURL=index.js.map