wcz-test 7.1.1 → 7.1.3

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.
Files changed (77) hide show
  1. package/dist/components/core/AppTitle.d.ts +2 -0
  2. package/dist/components/core/Fullscreen.d.ts +3 -0
  3. package/dist/components/core/Layout.d.ts +8 -0
  4. package/dist/components/core/ToolbarAccount.d.ts +2 -0
  5. package/dist/components/core/TypographyWithIcon.d.ts +7 -0
  6. package/dist/components/core/navigation/NavigationList.d.ts +22 -0
  7. package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
  8. package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
  9. package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
  10. package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
  11. package/dist/components/file/Dropzone.d.ts +8 -0
  12. package/dist/components/file/FileViewer.d.ts +20 -0
  13. package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
  14. package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
  15. package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
  16. package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
  17. package/dist/components/form/FormAutocomplete.d.ts +7 -0
  18. package/dist/components/form/FormCheckbox.d.ts +7 -0
  19. package/dist/components/form/FormDatePicker.d.ts +8 -0
  20. package/dist/components/form/FormDateRangePicker.d.ts +8 -0
  21. package/dist/components/form/FormDateTimePicker.d.ts +8 -0
  22. package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
  23. package/dist/components/form/FormNumberField.d.ts +9 -0
  24. package/dist/components/form/FormRadioGroup.d.ts +13 -0
  25. package/dist/components/form/FormSlider.d.ts +7 -0
  26. package/dist/components/form/FormSubmitButton.d.ts +4 -0
  27. package/dist/components/form/FormSwitch.d.ts +7 -0
  28. package/dist/components/form/FormTextField.d.ts +7 -0
  29. package/dist/components/form/FormTimePicker.d.ts +8 -0
  30. package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
  31. package/dist/components/router/RouterButton.d.ts +6 -0
  32. package/dist/components/router/RouterError.d.ts +7 -0
  33. package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
  34. package/dist/components/router/RouterIconButton.d.ts +6 -0
  35. package/dist/components/router/RouterLink.d.ts +6 -0
  36. package/dist/components/router/RouterListItemButton.d.ts +6 -0
  37. package/dist/components/router/RouterNotFound.d.ts +1 -0
  38. package/dist/components/router/RouterTab.d.ts +6 -0
  39. package/dist/contexts/DialogsContext.d.ts +6 -0
  40. package/dist/contexts/FileContext.d.ts +13 -0
  41. package/dist/hooks/DialogsHooks.d.ts +42 -0
  42. package/dist/hooks/FormHooks.d.ts +52 -0
  43. package/dist/hooks/User.d.ts +8 -0
  44. package/dist/index.js +533 -534
  45. package/dist/index.js.map +1 -1
  46. package/dist/lib/auth/permissions.d.ts +3 -0
  47. package/dist/lib/auth/scopes.d.ts +3 -0
  48. package/dist/lib/queryClient.d.ts +2 -0
  49. package/dist/lib/utils.d.ts +61 -0
  50. package/dist/lib/vite-plugin.d.ts +2 -0
  51. package/dist/models/Navigation.d.ts +18 -0
  52. package/dist/models/User.d.ts +13 -0
  53. package/dist/models/approval/Approval.d.ts +177 -0
  54. package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
  55. package/dist/models/approval/ApprovalFlow.d.ts +49 -0
  56. package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
  57. package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
  58. package/dist/models/approval/ApprovalStatus.d.ts +9 -0
  59. package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
  60. package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
  61. package/dist/models/email/Email.d.ts +13 -0
  62. package/dist/models/email/EmailAttachment.d.ts +6 -0
  63. package/dist/models/file/FileActions.d.ts +6 -0
  64. package/dist/models/file/FileMeta.d.ts +15 -0
  65. package/dist/models/peoplesoft/Department.d.ts +58 -0
  66. package/dist/models/peoplesoft/Employee.d.ts +46 -0
  67. package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
  68. package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
  69. package/dist/providers/AuthProvider.d.ts +8 -0
  70. package/dist/providers/DialogsProvider.d.ts +5 -0
  71. package/dist/providers/LayoutProvider.d.ts +10 -0
  72. package/dist/queries/ApprovalHooks.d.ts +661 -0
  73. package/dist/queries/FileHooks.d.ts +205 -0
  74. package/dist/queries/GraphQueries.d.ts +31 -0
  75. package/dist/queries/PeopleSoftHooks.d.ts +2173 -0
  76. package/dist/queries/index.d.ts +2958 -0
  77. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -1,61 +1,60 @@
1
- import { j as s, M as Nt, I as W, b as Ut, d as Ft, A as qt, e as Bt, f as We, E as qe, h as zt, O as Wt, a as F, i as Ht, g as Kt, k as Qt } from "./utils-Dttzp8un.js";
2
- import { W as _i, l as Ti, r as Ci } from "./utils-Dttzp8un.js";
3
- import { Stack as Gt, Typography as Yt, Chip as Xt, Collapse as Vt, useMediaQuery as Zt, useColorScheme as Jt, ListItemButton as fe, ListItemText as B, ListItemIcon as me, ListItem as en, Skeleton as ct, ListSubheader as et, List as Be, IconButton as He, Avatar as tn, Box as Ke, Menu as nn, InitColorSchemeScript as on, CssBaseline as sn, AppBar as rn, Toolbar as an, LinearProgress as ln, ThemeProvider as cn } from "@mui/material";
4
- import { LocalizationProvider as un } from "@mui/x-date-pickers";
5
- import { AdapterDayjs as dn } from "@mui/x-date-pickers/AdapterDayjs";
6
- import fn from "dayjs";
1
+ import { j as s, M as Ft, I as W, b as qt, d as Bt, A as zt, e as Wt, f as We, E as qe, h as Ht, O as Gt, a as U, i as Kt, g as Qt, P as Ke, k as Yt } from "./utils-Dttzp8un.js";
2
+ import { W as Li, l as Ai, r as Ei } from "./utils-Dttzp8un.js";
3
+ import { Stack as Xt, Typography as Vt, Chip as Zt, Collapse as Jt, Grow as en, useMediaQuery as tn, useColorScheme as nn, ListItemButton as de, ListItemText as B, ListItemIcon as fe, ListItem as on, Skeleton as dt, ListSubheader as et, List as Be, IconButton as He, Avatar as sn, Box as Ge, Menu as rn, InitColorSchemeScript as an, CssBaseline as ln, AppBar as cn, Toolbar as un, LinearProgress as dn, ThemeProvider as fn } from "@mui/material";
4
+ import { LocalizationProvider as pn } from "@mui/x-date-pickers";
5
+ import { AdapterDayjs as mn } from "@mui/x-date-pickers/AdapterDayjs";
6
+ import hn from "dayjs";
7
7
  import { i as z } from "./i18next-Bx3TmZAT.js";
8
- import ut, { useState as U, useId as mn, useRef as pe, useContext as pn, useMemo as Tt, useEffect as q, useCallback as dt, Fragment as rt, useEffectEvent as hn } from "react";
9
- import { resources as ft } from "virtual:wcz-layout";
10
- import mt from "zod";
8
+ import ft, { useState as q, useId as gn, useRef as pe, useContext as xn, useMemo as Lt, useEffect as F, useCallback as pt, Fragment as at, useEffectEvent as yn } from "react";
9
+ import { resources as mt } from "virtual:wcz-layout";
10
+ import ht from "zod";
11
11
  import tt from "@mui/utils/useEventCallback";
12
- import { s as gn, a as xn, D as yn, u as vn } from "./DialogsContext-8xfQ3X-k.js";
13
- import bn from "@mui/icons-material/Menu";
14
- import Sn from "@mui/icons-material/MenuOpen";
15
- import { styled as at, useTheme as kn } from "@mui/material/styles";
16
- import { queryOptions as pt, useQueryClient as wn, useQuery as ht, useIsFetching as In, useIsMutating as jn } from "@tanstack/react-query";
17
- import Ct from "@mui/material/Box";
18
- import gt from "@mui/material/Drawer";
19
- import { useNavigate as _n, useRouterState as Tn } from "@tanstack/react-router";
20
- import Cn from "@mui/material/Divider";
21
- import Ln from "@mui/material/List";
22
- import An from "@mui/material/ListSubheader";
23
- import En from "@mui/icons-material/ExpandMore";
24
- import Mn from "@mui/material/Avatar";
25
- import Dn from "@mui/material/ListItem";
26
- import $n from "@mui/material/ListItemButton";
27
- import On from "@mui/material/ListItemIcon";
28
- import Pn from "@mui/material/ListItemText";
29
- import Rn from "@mui/material/Paper";
30
- import Nn from "@mui/material/Popper";
31
- import Un from "@mui/material/Typography";
32
- import { R as Fn } from "./RouterListItemButton-DrW6M53Y.js";
33
- import qn from "@mui/icons-material/AccountCircle";
34
- import xt from "@mui/icons-material/ArrowBack";
35
- import Bn from "@mui/icons-material/Brightness4";
36
- import yt from "@mui/icons-material/ChevronRight";
37
- import zn from "@mui/icons-material/DarkMode";
38
- import Wn from "@mui/icons-material/Done";
39
- import Hn from "@mui/icons-material/LightMode";
40
- import Kn from "@mui/icons-material/Logout";
41
- import Qn from "@mui/icons-material/SettingsBrightness";
42
- import Gn from "@mui/icons-material/Translate";
43
- import { a as Yn } from "./index-De6Lo0ff.js";
12
+ import { s as vn, a as bn, D as Sn, u as kn } from "./DialogsContext-8xfQ3X-k.js";
13
+ import wn from "@mui/icons-material/Menu";
14
+ import In from "@mui/icons-material/MenuOpen";
15
+ import { styled as lt, useTheme as jn } from "@mui/material/styles";
16
+ import { queryOptions as gt, useQueryClient as _n, useQuery as xt, useIsFetching as Tn, useIsMutating as Cn } from "@tanstack/react-query";
17
+ import ct from "@mui/material/Box";
18
+ import yt from "@mui/material/Drawer";
19
+ import { useNavigate as Ln, useRouterState as An } from "@tanstack/react-router";
20
+ import En from "@mui/material/Divider";
21
+ import Mn from "@mui/material/List";
22
+ import Dn from "@mui/material/ListSubheader";
23
+ import $n from "@mui/icons-material/ExpandMore";
24
+ import On from "@mui/material/Avatar";
25
+ import Pn from "@mui/material/ListItem";
26
+ import Rn from "@mui/material/ListItemButton";
27
+ import Nn from "@mui/material/ListItemIcon";
28
+ import Un from "@mui/material/ListItemText";
29
+ import Fn from "@mui/material/Paper";
30
+ import qn from "@mui/material/Typography";
31
+ import { R as Bn } from "./RouterListItemButton-DrW6M53Y.js";
32
+ import zn from "@mui/icons-material/AccountCircle";
33
+ import vt from "@mui/icons-material/ArrowBack";
34
+ import Wn from "@mui/icons-material/Brightness4";
35
+ import bt from "@mui/icons-material/ChevronRight";
36
+ import Hn from "@mui/icons-material/DarkMode";
37
+ import Gn from "@mui/icons-material/Done";
38
+ import Kn from "@mui/icons-material/LightMode";
39
+ import Qn from "@mui/icons-material/Logout";
40
+ import Yn from "@mui/icons-material/SettingsBrightness";
41
+ import Xn from "@mui/icons-material/Translate";
42
+ import { a as Vn } from "./index-De6Lo0ff.js";
44
43
  const {
45
- slice: Xn,
46
- forEach: Vn
44
+ slice: Zn,
45
+ forEach: Jn
47
46
  } = [];
48
- function Zn(t) {
49
- return Vn.call(Xn.call(arguments, 1), (e) => {
47
+ function eo(t) {
48
+ return Jn.call(Zn.call(arguments, 1), (e) => {
50
49
  if (e)
51
50
  for (const n in e)
52
51
  t[n] === void 0 && (t[n] = e[n]);
53
52
  }), t;
54
53
  }
55
- function Jn(t) {
54
+ function to(t) {
56
55
  return typeof t != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((n) => n.test(t));
57
56
  }
58
- const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
57
+ const St = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, no = function(t, e) {
59
58
  const o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
60
59
  path: "/"
61
60
  }, r = encodeURIComponent(e);
@@ -66,12 +65,12 @@ const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
66
65
  a += `; Max-Age=${Math.floor(i)}`;
67
66
  }
68
67
  if (o.domain) {
69
- if (!vt.test(o.domain))
68
+ if (!St.test(o.domain))
70
69
  throw new TypeError("option domain is invalid");
71
70
  a += `; Domain=${o.domain}`;
72
71
  }
73
72
  if (o.path) {
74
- if (!vt.test(o.path))
73
+ if (!St.test(o.path))
75
74
  throw new TypeError("option path is invalid");
76
75
  a += `; Path=${o.path}`;
77
76
  }
@@ -98,13 +97,13 @@ const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
98
97
  throw new TypeError("option sameSite is invalid");
99
98
  }
100
99
  return o.partitioned && (a += "; Partitioned"), a;
101
- }, bt = {
100
+ }, kt = {
102
101
  create(t, e, n, o) {
103
102
  let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
104
103
  path: "/",
105
104
  sameSite: "strict"
106
105
  };
107
- n && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + n * 60 * 1e3)), o && (r.domain = o), document.cookie = eo(t, e, r);
106
+ n && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + n * 60 * 1e3)), o && (r.domain = o), document.cookie = no(t, e, r);
108
107
  },
109
108
  read(t) {
110
109
  const e = `${t}=`, n = document.cookie.split(";");
@@ -119,7 +118,7 @@ const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
119
118
  this.create(t, "", -1, e);
120
119
  }
121
120
  };
122
- var to = {
121
+ var oo = {
123
122
  name: "cookie",
124
123
  // Deconstruct the options object and extract the lookupCookie property
125
124
  lookup(t) {
@@ -127,7 +126,7 @@ var to = {
127
126
  lookupCookie: e
128
127
  } = t;
129
128
  if (e && typeof document < "u")
130
- return bt.read(e) || void 0;
129
+ return kt.read(e) || void 0;
131
130
  },
132
131
  // Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
133
132
  cacheUserLanguage(t, e) {
@@ -137,9 +136,9 @@ var to = {
137
136
  cookieDomain: r,
138
137
  cookieOptions: a
139
138
  } = e;
140
- n && typeof document < "u" && bt.create(n, t, o, r, a);
139
+ n && typeof document < "u" && kt.create(n, t, o, r, a);
141
140
  }
142
- }, no = {
141
+ }, io = {
143
142
  name: "querystring",
144
143
  // Deconstruct the options object and extract the lookupQuerystring property
145
144
  lookup(t) {
@@ -159,7 +158,7 @@ var to = {
159
158
  }
160
159
  return n;
161
160
  }
162
- }, oo = {
161
+ }, so = {
163
162
  name: "hash",
164
163
  // Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
165
164
  lookup(t) {
@@ -176,8 +175,8 @@ var to = {
176
175
  if (e) {
177
176
  const i = a.split("&");
178
177
  for (let l = 0; l < i.length; l++) {
179
- const c = i[l].indexOf("=");
180
- c > 0 && i[l].substring(0, c) === e && (o = i[l].substring(c + 1));
178
+ const u = i[l].indexOf("=");
179
+ u > 0 && i[l].substring(0, u) === e && (o = i[l].substring(u + 1));
181
180
  }
182
181
  }
183
182
  if (o) return o;
@@ -191,7 +190,7 @@ var to = {
191
190
  }
192
191
  };
193
192
  let le = null;
194
- const St = () => {
193
+ const wt = () => {
195
194
  if (le !== null) return le;
196
195
  try {
197
196
  if (le = typeof window < "u" && window.localStorage !== null, !le)
@@ -203,14 +202,14 @@ const St = () => {
203
202
  }
204
203
  return le;
205
204
  };
206
- var io = {
205
+ var ro = {
207
206
  name: "localStorage",
208
207
  // Deconstruct the options object and extract the lookupLocalStorage property
209
208
  lookup(t) {
210
209
  let {
211
210
  lookupLocalStorage: e
212
211
  } = t;
213
- if (e && St())
212
+ if (e && wt())
214
213
  return window.localStorage.getItem(e) || void 0;
215
214
  },
216
215
  // Deconstruct the options object and extract the lookupLocalStorage property
@@ -218,11 +217,11 @@ var io = {
218
217
  let {
219
218
  lookupLocalStorage: n
220
219
  } = e;
221
- n && St() && window.localStorage.setItem(n, t);
220
+ n && wt() && window.localStorage.setItem(n, t);
222
221
  }
223
222
  };
224
223
  let ce = null;
225
- const kt = () => {
224
+ const It = () => {
226
225
  if (ce !== null) return ce;
227
226
  try {
228
227
  if (ce = typeof window < "u" && window.sessionStorage !== null, !ce)
@@ -234,22 +233,22 @@ const kt = () => {
234
233
  }
235
234
  return ce;
236
235
  };
237
- var so = {
236
+ var ao = {
238
237
  name: "sessionStorage",
239
238
  lookup(t) {
240
239
  let {
241
240
  lookupSessionStorage: e
242
241
  } = t;
243
- if (e && kt())
242
+ if (e && It())
244
243
  return window.sessionStorage.getItem(e) || void 0;
245
244
  },
246
245
  cacheUserLanguage(t, e) {
247
246
  let {
248
247
  lookupSessionStorage: n
249
248
  } = e;
250
- n && kt() && window.sessionStorage.setItem(n, t);
249
+ n && It() && window.sessionStorage.setItem(n, t);
251
250
  }
252
- }, ro = {
251
+ }, lo = {
253
252
  name: "navigator",
254
253
  lookup(t) {
255
254
  const e = [];
@@ -266,7 +265,7 @@ var so = {
266
265
  }
267
266
  return e.length > 0 ? e : void 0;
268
267
  }
269
- }, ao = {
268
+ }, co = {
270
269
  name: "htmlTag",
271
270
  // Deconstruct the options object and extract the htmlTag property
272
271
  lookup(t) {
@@ -276,7 +275,7 @@ var so = {
276
275
  const o = e || (typeof document < "u" ? document.documentElement : null);
277
276
  return o && typeof o.getAttribute == "function" && (n = o.getAttribute("lang")), n;
278
277
  }
279
- }, lo = {
278
+ }, uo = {
280
279
  name: "path",
281
280
  // Deconstruct the options object and extract the lookupFromPathIndex property
282
281
  lookup(t) {
@@ -287,7 +286,7 @@ var so = {
287
286
  const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
288
287
  return Array.isArray(n) ? n[typeof e == "number" ? e : 0]?.replace("/", "") : void 0;
289
288
  }
290
- }, co = {
289
+ }, fo = {
291
290
  name: "subdomain",
292
291
  lookup(t) {
293
292
  let {
@@ -298,15 +297,15 @@ var so = {
298
297
  return o[n];
299
298
  }
300
299
  };
301
- let Lt = !1;
300
+ let At = !1;
302
301
  try {
303
- document.cookie, Lt = !0;
302
+ document.cookie, At = !0;
304
303
  } catch {
305
304
  }
306
- const At = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
307
- Lt || At.splice(1, 1);
308
- const uo = () => ({
309
- order: At,
305
+ const Et = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
306
+ At || Et.splice(1, 1);
307
+ const po = () => ({
308
+ order: Et,
310
309
  lookupQuerystring: "lng",
311
310
  lookupCookie: "i18next",
312
311
  lookupLocalStorage: "i18nextLng",
@@ -318,7 +317,7 @@ const uo = () => ({
318
317
  // cookieDomain: 'myDomain'
319
318
  convertDetectedLanguage: (t) => t
320
319
  });
321
- class Et {
320
+ class Mt {
322
321
  constructor(e) {
323
322
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
324
323
  this.type = "languageDetector", this.detectors = {}, this.init(e, n);
@@ -327,7 +326,7 @@ class Et {
327
326
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
328
327
  languageUtils: {}
329
328
  }, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
330
- this.services = e, this.options = Zn(n, this.options || {}, uo()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (r) => r.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = o, this.addDetector(to), this.addDetector(no), this.addDetector(io), this.addDetector(so), this.addDetector(ro), this.addDetector(ao), this.addDetector(lo), this.addDetector(co), this.addDetector(oo);
329
+ this.services = e, this.options = eo(n, this.options || {}, po()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (r) => r.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = o, this.addDetector(oo), this.addDetector(io), this.addDetector(ro), this.addDetector(ao), this.addDetector(lo), this.addDetector(co), this.addDetector(uo), this.addDetector(fo), this.addDetector(so);
331
330
  }
332
331
  addDetector(e) {
333
332
  return this.detectors[e.name] = e, this;
@@ -339,7 +338,7 @@ class Et {
339
338
  let r = this.detectors[o].lookup(this.options);
340
339
  r && typeof r == "string" && (r = [r]), r && (n = n.concat(r));
341
340
  }
342
- }), n = n.filter((o) => o != null && !Jn(o)).map((o) => this.options.convertDetectedLanguage(o)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
341
+ }), n = n.filter((o) => o != null && !to(o)).map((o) => this.options.convertDetectedLanguage(o)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
343
342
  }
344
343
  cacheUserLanguage(e) {
345
344
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
@@ -348,95 +347,95 @@ class Et {
348
347
  }));
349
348
  }
350
349
  }
351
- Et.type = "languageDetector";
352
- const fo = {
350
+ Mt.type = "languageDetector";
351
+ const mo = {
353
352
  type: "3rdParty",
354
353
  init(t) {
355
- gn(t.options.react), xn(t);
354
+ vn(t.options.react), bn(t);
356
355
  }
357
356
  };
358
- function mo({
357
+ function ho({
359
358
  children: t
360
359
  }) {
361
- const [e, n] = U([]), o = mn(), r = pe(0), a = pe(/* @__PURE__ */ new WeakMap()), i = tt(function(h, p, d = {}) {
360
+ const [e, n] = q([]), o = gn(), r = pe(0), a = pe(/* @__PURE__ */ new WeakMap()), i = tt(function(h, m, c = {}) {
362
361
  const {
363
- onClose: b = async () => {
362
+ onClose: v = async () => {
364
363
  }
365
- } = d;
366
- let S;
367
- const y = new Promise((m) => {
368
- S = m;
369
- }), v = `${o}-${r.current}`;
364
+ } = c;
365
+ let b;
366
+ const g = new Promise((p) => {
367
+ b = p;
368
+ }), S = `${o}-${r.current}`;
370
369
  r.current += 1;
371
- const g = {
372
- key: v,
370
+ const x = {
371
+ key: S,
373
372
  open: !0,
374
- promise: y,
373
+ promise: g,
375
374
  Component: h,
376
- payload: p,
377
- onClose: b,
378
- resolve: S
375
+ payload: m,
376
+ onClose: v,
377
+ resolve: b
379
378
  };
380
- return a.current.set(y, g), n((m) => [...m, g]), y;
381
- }), l = (u) => {
382
- n((h) => h.filter((p) => p.promise !== u)), a.current.delete(u);
383
- }, c = tt(function(h) {
384
- n((p) => p.map((d) => d.promise === h ? {
385
- ...d,
379
+ return a.current.set(g, x), n((p) => [...p, x]), g;
380
+ }), l = (d) => {
381
+ n((h) => h.filter((m) => m.promise !== d)), a.current.delete(d);
382
+ }, u = tt(function(h) {
383
+ n((m) => m.map((c) => c.promise === h ? {
384
+ ...c,
386
385
  open: !1
387
- } : d)), setTimeout(() => l(h), 1e3);
388
- }), f = tt(async function(h, p) {
389
- const d = a.current.get(h);
390
- if (!d)
386
+ } : c)), setTimeout(() => l(h), 1e3);
387
+ }), f = tt(async function(h, m) {
388
+ const c = a.current.get(h);
389
+ if (!c)
391
390
  throw new Error("Dialog not found in stack");
392
391
  try {
393
- await d.onClose(p);
392
+ await c.onClose(m);
394
393
  } finally {
395
- d.resolve(p), c(h);
394
+ c.resolve(m), u(h);
396
395
  }
397
396
  return h;
398
397
  });
399
- return /* @__PURE__ */ s.jsxs(yn.Provider, { value: {
398
+ return /* @__PURE__ */ s.jsxs(Sn.Provider, { value: {
400
399
  open: i,
401
400
  close: f
402
401
  }, children: [
403
402
  t,
404
403
  e.map(({
405
- key: u,
404
+ key: d,
406
405
  open: h,
407
- Component: p,
408
- payload: d,
409
- promise: b
410
- }) => /* @__PURE__ */ s.jsx(p, { payload: d, open: h, onClose: async (S) => {
411
- await f(b, S);
412
- } }, u))
406
+ Component: m,
407
+ payload: c,
408
+ promise: v
409
+ }) => /* @__PURE__ */ s.jsx(m, { payload: c, open: h, onClose: async (b) => {
410
+ await f(v, b);
411
+ } }, d))
413
412
  ] });
414
413
  }
415
- const he = () => pn(Nt);
416
- function po(t, e) {
417
- return e && (e.username || e.homeAccountId || e.localAccountId) ? !!Ut(t, e) : t.length > 0;
414
+ const he = () => xn(Ft);
415
+ function go(t, e) {
416
+ return e && (e.username || e.homeAccountId || e.localAccountId) ? !!qt(t, e) : t.length > 0;
418
417
  }
419
- function Mt(t) {
418
+ function Dt(t) {
420
419
  const { accounts: e, inProgress: n } = he();
421
- return Tt(() => n === W.Startup ? !1 : po(e, t), [e, n, t]);
420
+ return Lt(() => n === W.Startup ? !1 : go(e, t), [e, n, t]);
422
421
  }
423
- function ho({ username: t, homeAccountId: e, localAccountId: n, children: o }) {
424
- const r = he(), a = Tt(() => ({
422
+ function xo({ username: t, homeAccountId: e, localAccountId: n, children: o }) {
423
+ const r = he(), a = Lt(() => ({
425
424
  username: t,
426
425
  homeAccountId: e,
427
426
  localAccountId: n
428
427
  }), [t, e, n]);
429
- return Mt(a) && r.inProgress !== W.Startup ? ut.createElement(ut.Fragment, null, Ft(o, r)) : null;
428
+ return Dt(a) && r.inProgress !== W.Startup ? ft.createElement(ft.Fragment, null, Bt(o, r)) : null;
430
429
  }
431
- function wt(t, e) {
430
+ function jt(t, e) {
432
431
  return t.getActiveAccount();
433
432
  }
434
- function go(t) {
435
- const { instance: e, inProgress: n, logger: o } = he(), [r, a] = U(() => n === W.Startup ? null : wt(e));
436
- return q(() => {
433
+ function yo(t) {
434
+ const { instance: e, inProgress: n, logger: o } = he(), [r, a] = q(() => n === W.Startup ? null : jt(e));
435
+ return F(() => {
437
436
  n !== W.Startup && a((i) => {
438
- const l = wt(e);
439
- return qt.accountInfoIsEqual(i, l, !0) ? i : (o.info("useAccount - Updating account"), l);
437
+ const l = jt(e);
438
+ return zt.accountInfoIsEqual(i, l, !0) ? i : (o.info("useAccount - Updating account"), l);
440
439
  });
441
440
  }, [n, t, e, o]), r;
442
441
  }
@@ -450,7 +449,7 @@ const ze = {
450
449
  desc: "Interaction is required but another interaction is already in progress. Please try again when the current interaction is complete."
451
450
  }
452
451
  };
453
- class ue extends Bt {
452
+ class ue extends Wt {
454
453
  constructor(e, n) {
455
454
  super(e, n), Object.setPrototypeOf(this, ue.prototype), this.name = "ReactAuthError";
456
455
  }
@@ -461,54 +460,54 @@ class ue extends Bt {
461
460
  return new ue(ze.unableToFallbackToInteraction.code, ze.unableToFallbackToInteraction.desc);
462
461
  }
463
462
  }
464
- function xo(t, e, n) {
465
- const { instance: o, inProgress: r, logger: a } = he(), i = Mt(n), l = go(n), [[c, f], u] = U([null, null]), h = pe(!0);
466
- q(() => () => {
463
+ function vo(t, e, n) {
464
+ const { instance: o, inProgress: r, logger: a } = he(), i = Dt(n), l = yo(n), [[u, f], d] = q([null, null]), h = pe(!0);
465
+ F(() => () => {
467
466
  h.current = !1;
468
467
  }, []);
469
- const p = pe(r !== W.None);
470
- q(() => {
471
- p.current = r !== W.None;
468
+ const m = pe(r !== W.None);
469
+ F(() => {
470
+ m.current = r !== W.None;
472
471
  }, [r]);
473
- const d = pe(!0);
474
- q(() => {
472
+ const c = pe(!0);
473
+ F(() => {
475
474
  if (f) {
476
- d.current = !1;
475
+ c.current = !1;
477
476
  return;
478
477
  }
479
- if (c) {
480
- d.current = !1;
478
+ if (u) {
479
+ c.current = !1;
481
480
  return;
482
481
  }
483
- }, [f, c]);
484
- const b = dt(async (y, v) => {
485
- const g = y || t, m = v || e;
486
- switch (g) {
482
+ }, [f, u]);
483
+ const v = pt(async (g, S) => {
484
+ const x = g || t, p = S || e;
485
+ switch (x) {
487
486
  case We.Popup:
488
- return a.verbose("useMsalAuthentication - Calling loginPopup"), o.loginPopup(m);
487
+ return a.verbose("useMsalAuthentication - Calling loginPopup"), o.loginPopup(p);
489
488
  case We.Redirect:
490
- return a.verbose("useMsalAuthentication - Calling loginRedirect"), o.loginRedirect(m).then(null);
489
+ return a.verbose("useMsalAuthentication - Calling loginRedirect"), o.loginRedirect(p).then(null);
491
490
  case We.Silent:
492
- return a.verbose("useMsalAuthentication - Calling ssoSilent"), o.ssoSilent(m);
491
+ return a.verbose("useMsalAuthentication - Calling ssoSilent"), o.ssoSilent(p);
493
492
  default:
494
493
  throw ue.createInvalidInteractionTypeError();
495
494
  }
496
- }, [o, t, e, a]), S = dt(async (y, v) => {
497
- const g = y || t;
498
- let m;
499
- return v ? (a.trace("useMsalAuthentication - acquireToken - Using request provided in the callback"), m = {
500
- ...v
501
- }) : (a.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."), m = {
502
- scopes: Wt
503
- }), !m.account && l && (a.trace("useMsalAuthentication - acquireToken - Attaching account to request"), m.account = l), (async () => (a.verbose("useMsalAuthentication - Calling acquireTokenSilent"), o.acquireTokenSilent(m).catch(async (x) => {
504
- if (x instanceof zt) {
505
- if (p.current)
495
+ }, [o, t, e, a]), b = pt(async (g, S) => {
496
+ const x = g || t;
497
+ let p;
498
+ return S ? (a.trace("useMsalAuthentication - acquireToken - Using request provided in the callback"), p = {
499
+ ...S
500
+ }) : (a.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."), p = {
501
+ scopes: Gt
502
+ }), !p.account && l && (a.trace("useMsalAuthentication - acquireToken - Attaching account to request"), p.account = l), (async () => (a.verbose("useMsalAuthentication - Calling acquireTokenSilent"), o.acquireTokenSilent(p).catch(async (y) => {
503
+ if (y instanceof Ht) {
504
+ if (m.current)
506
505
  throw a.error("useMsalAuthentication - Interaction required but is already in progress. Please try again, if needed, after interaction completes."), ue.createUnableToFallbackToInteractionError();
507
- return a.error("useMsalAuthentication - Interaction required, falling back to interaction"), b(g, m);
506
+ return a.error("useMsalAuthentication - Interaction required, falling back to interaction"), v(x, p);
508
507
  }
509
- throw x;
510
- })))().then((x) => (h.current && u([x, null]), x)).catch((x) => {
511
- throw h.current && u([null, x]), x;
508
+ throw y;
509
+ })))().then((y) => (h.current && d([y, null]), y)).catch((y) => {
510
+ throw h.current && d([null, y]), y;
512
511
  });
513
512
  }, [
514
513
  o,
@@ -516,47 +515,47 @@ function xo(t, e, n) {
516
515
  e,
517
516
  a,
518
517
  l,
519
- b
518
+ v
520
519
  ]);
521
- return q(() => {
522
- const y = o.addEventCallback((v) => {
523
- switch (v.eventType) {
520
+ return F(() => {
521
+ const g = o.addEventCallback((S) => {
522
+ switch (S.eventType) {
524
523
  case qe.LOGIN_SUCCESS:
525
524
  case qe.SSO_SILENT_SUCCESS:
526
- v.payload && u([
527
- v.payload,
525
+ S.payload && d([
526
+ S.payload,
528
527
  null
529
528
  ]);
530
529
  break;
531
530
  case qe.LOGIN_FAILURE:
532
531
  case qe.SSO_SILENT_FAILURE:
533
- v.error && u([null, v.error]);
532
+ S.error && d([null, S.error]);
534
533
  break;
535
534
  }
536
535
  });
537
- return a.verbose(`useMsalAuthentication - Registered event callback with id: ${y}`), () => {
538
- y && (a.verbose(`useMsalAuthentication - Removing event callback ${y}`), o.removeEventCallback(y));
536
+ return a.verbose(`useMsalAuthentication - Registered event callback with id: ${g}`), () => {
537
+ g && (a.verbose(`useMsalAuthentication - Removing event callback ${g}`), o.removeEventCallback(g));
539
538
  };
540
- }, [o, a]), q(() => {
541
- d.current && r === W.None && (i ? l && (d.current = !1, a.info("useMsalAuthentication - User is authenticated, attempting to acquire token"), S().catch(() => {
542
- })) : (d.current = !1, a.info("useMsalAuthentication - No user is authenticated, attempting to login"), b().catch(() => {
539
+ }, [o, a]), F(() => {
540
+ c.current && r === W.None && (i ? l && (c.current = !1, a.info("useMsalAuthentication - User is authenticated, attempting to acquire token"), b().catch(() => {
541
+ })) : (c.current = !1, a.info("useMsalAuthentication - No user is authenticated, attempting to login"), v().catch(() => {
543
542
  })));
544
- }, [i, l, r, b, S, a]), {
545
- login: b,
546
- acquireToken: S,
547
- result: c,
543
+ }, [i, l, r, v, b, a]), {
544
+ login: v,
545
+ acquireToken: b,
546
+ result: u,
548
547
  error: f
549
548
  };
550
549
  }
551
- const yo = () => {
552
- const t = F.c(1);
550
+ const bo = () => {
551
+ const t = U.c(1);
553
552
  let e;
554
- return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s.jsxs(Gt, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
553
+ return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s.jsxs(Xt, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
555
554
  /* @__PURE__ */ s.jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
556
- /* @__PURE__ */ s.jsx(Yt, { variant: "h6", children: Ht.VITE_APP_TITLE }),
557
- /* @__PURE__ */ s.jsx(Xt, { size: "small", label: "TEST", color: "info" })
555
+ /* @__PURE__ */ s.jsx(Vt, { variant: "h6", children: Kt.VITE_APP_TITLE }),
556
+ /* @__PURE__ */ s.jsx(Zt, { size: "small", label: "TEST", color: "info" })
558
557
  ] }), t[0] = e) : e = t[0], e;
559
- }, nt = 34, vo = at($n)(({
558
+ }, nt = 34, So = lt(Rn)(({
560
559
  theme: t
561
560
  }) => ({
562
561
  borderRadius: 8,
@@ -577,7 +576,7 @@ const yo = () => {
577
576
  "& .MuiAvatar-root": {
578
577
  backgroundColor: (t.vars ?? t).palette.action.active
579
578
  }
580
- })), bo = at(Fn)(({
579
+ })), ko = lt(Bn)(({
581
580
  theme: t
582
581
  }) => ({
583
582
  borderRadius: 8,
@@ -598,8 +597,8 @@ const yo = () => {
598
597
  "& .MuiAvatar-root": {
599
598
  backgroundColor: (t.vars ?? t).palette.action.active
600
599
  }
601
- })), So = (t) => {
602
- const e = F.c(17), {
600
+ })), wo = (t) => {
601
+ const e = U.c(17), {
603
602
  item: n,
604
603
  collapsed: o
605
604
  } = t;
@@ -620,18 +619,18 @@ const yo = () => {
620
619
  }, e[2] = a) : a = e[2];
621
620
  const i = n.icon ?? null;
622
621
  let l;
623
- e[3] !== o || e[4] !== n.icon || e[5] !== n.title ? (l = !n.icon && o ? /* @__PURE__ */ s.jsx(Mn, { sx: {
622
+ e[3] !== o || e[4] !== n.icon || e[5] !== n.title ? (l = !n.icon && o ? /* @__PURE__ */ s.jsx(On, { sx: {
624
623
  width: nt - 7,
625
624
  height: nt - 7,
626
625
  fontSize: 12
627
- }, children: n.title }) : null, e[3] = o, e[4] = n.icon, e[5] = n.title, e[6] = l) : l = e[6];
628
- let c;
629
- e[7] !== i || e[8] !== l ? (c = /* @__PURE__ */ s.jsxs(On, { sx: a, children: [
626
+ }, children: n.title.split(" ").slice(0, 2).map(_o) }) : null, e[3] = o, e[4] = n.icon, e[5] = n.title, e[6] = l) : l = e[6];
627
+ let u;
628
+ e[7] !== i || e[8] !== l ? (u = /* @__PURE__ */ s.jsxs(Nn, { sx: a, children: [
630
629
  i,
631
630
  l
632
- ] }), e[7] = i, e[8] = l, e[9] = c) : c = e[9];
631
+ ] }), e[7] = i, e[8] = l, e[9] = u) : u = e[9];
633
632
  let f;
634
- e[10] !== o || e[11] !== n.title ? (f = o ? /* @__PURE__ */ s.jsx(Un, { variant: "caption", sx: {
633
+ e[10] !== o || e[11] !== n.title ? (f = o ? /* @__PURE__ */ s.jsx(qn, { variant: "caption", sx: {
635
634
  position: "absolute",
636
635
  bottom: -18,
637
636
  left: "50%",
@@ -642,97 +641,87 @@ const yo = () => {
642
641
  whiteSpace: "nowrap",
643
642
  overflow: "hidden",
644
643
  textOverflow: "ellipsis",
645
- maxWidth: Ge - 28
644
+ maxWidth: me - 28
646
645
  }, children: n.title }) : null, e[10] = o, e[11] = n.title, e[12] = f) : f = e[12];
647
- let u;
648
- return e[13] !== r || e[14] !== c || e[15] !== f ? (u = /* @__PURE__ */ s.jsxs(Ct, { sx: r, children: [
649
- c,
646
+ let d;
647
+ return e[13] !== r || e[14] !== u || e[15] !== f ? (d = /* @__PURE__ */ s.jsxs(ct, { sx: r, children: [
648
+ u,
650
649
  f
651
- ] }), e[13] = r, e[14] = c, e[15] = f, e[16] = u) : u = e[16], u;
650
+ ] }), e[13] = r, e[14] = u, e[15] = f, e[16] = d) : d = e[16], d;
652
651
  }
653
652
  return null;
654
- }, ko = (t) => {
655
- const e = F.c(10), {
653
+ }, Io = (t) => {
654
+ const e = U.c(7), {
656
655
  open: n,
657
- anchorEl: o,
658
- children: r
656
+ children: o
659
657
  } = t;
658
+ let r;
659
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = {
660
+ position: "fixed",
661
+ left: me,
662
+ pl: "2px",
663
+ pb: "10px"
664
+ }, e[0] = r) : r = e[0];
660
665
  let a;
661
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
662
- name: "offset",
663
- options: {
664
- offset: [6, 0]
665
- }
666
- }, e[0] = a) : a = e[0];
667
- let i;
668
- e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
669
- name: "preventOverflow",
670
- options: {
671
- padding: 8
672
- }
673
- }, e[1] = i) : i = e[1];
674
- let l;
675
- e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [a, i, {
676
- name: "flip",
677
- options: {
678
- fallbackPlacements: ["right-end", "left-start"]
679
- }
680
- }], e[2] = l) : l = e[2];
681
- let c;
682
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
666
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
683
667
  pt: 0.5,
684
668
  pb: 0.5,
669
+ transform: "translateY(calc(50% - 30px))",
685
670
  maxHeight: "min(calc(100vh - 100px), 560px)",
686
671
  overflowY: "auto",
687
672
  overscrollBehavior: "contain"
688
- }, e[3] = c) : c = e[3];
689
- let f;
690
- e[4] !== r ? (f = /* @__PURE__ */ s.jsx(Rn, { sx: c, children: r }), e[4] = r, e[5] = f) : f = e[5];
691
- let u;
692
- return e[6] !== o || e[7] !== n || e[8] !== f ? (u = /* @__PURE__ */ s.jsx(Nn, { open: n, anchorEl: o, placement: "right-start", modifiers: l, children: f }), e[6] = o, e[7] = n, e[8] = f, e[9] = u) : u = e[9], u;
693
- }, wo = (t) => {
694
- const e = F.c(57), {
673
+ }, e[1] = a) : a = e[1];
674
+ let i;
675
+ e[2] !== o ? (i = /* @__PURE__ */ s.jsx(ct, { sx: r, children: /* @__PURE__ */ s.jsx(Fn, { sx: a, children: o }) }), e[2] = o, e[3] = i) : i = e[3];
676
+ let l;
677
+ return e[4] !== n || e[5] !== i ? (l = /* @__PURE__ */ s.jsx(en, { in: n, children: i }), e[4] = n, e[5] = i, e[6] = l) : l = e[6], l;
678
+ }, jo = (t) => {
679
+ const e = U.c(56), {
695
680
  item: n,
696
681
  isOpen: o,
697
682
  selected: r,
698
683
  disabled: a,
699
684
  collapsed: i,
700
685
  isSidebarFullyExpanded: l,
701
- isSidebarFullyCollapsed: c,
686
+ isSidebarFullyCollapsed: u,
702
687
  onClick: f,
703
- renderNested: u,
688
+ renderNested: d,
704
689
  onClose: h
705
- } = t, p = l === void 0 ? !0 : l, [d, b] = U(null), [S, y] = U(null);
706
- let v;
707
- e[0] !== i || e[1] !== o || e[2] !== c || e[3] !== p || e[4] !== n.children ? (v = () => i && c && n.children ? {
690
+ } = t, m = l === void 0 ? !0 : l, [c, v] = q(null), b = `${n.to ?? n.title}`;
691
+ let g;
692
+ e[0] !== i || e[1] !== o || e[2] !== u || e[3] !== m || e[4] !== n.children ? (g = (N) => i && u && n.children ? {
708
693
  fontSize: 18,
709
694
  position: "absolute",
710
695
  top: "41.5%",
711
696
  right: "2px",
712
697
  transform: "translateY(-50%) rotate(-90deg)"
713
- } : !i && p && n.children ? {
698
+ } : !i && m && n.children ? {
714
699
  ml: 0.5,
715
- transform: `rotate(${o ? 0 : -90}deg)`
700
+ transform: `rotate(${o ? 0 : -90}deg)`,
701
+ transition: N.transitions.create("transform", {
702
+ easing: N.transitions.easing.sharp,
703
+ duration: 100
704
+ })
716
705
  } : {
717
706
  display: "none"
718
- }, e[0] = i, e[1] = o, e[2] = c, e[3] = p, e[4] = n.children, e[5] = v) : v = e[5];
719
- const g = v, m = n.children && !i, k = i ? 60 : 48;
720
- let x;
721
- e[6] !== k ? (x = {
707
+ }, e[0] = i, e[1] = o, e[2] = u, e[3] = m, e[4] = n.children, e[5] = g) : g = e[5];
708
+ const S = g, x = n.children && !i, p = i ? 60 : 48;
709
+ let k;
710
+ e[6] !== p ? (k = {
722
711
  px: 1.4,
723
- height: k
724
- }, e[6] = k, e[7] = x) : x = e[7];
725
- let w;
726
- e[8] !== a || e[9] !== r || e[10] !== x ? (w = {
712
+ height: p
713
+ }, e[6] = p, e[7] = k) : k = e[7];
714
+ let y;
715
+ e[8] !== a || e[9] !== r || e[10] !== k ? (y = {
727
716
  selected: r,
728
717
  disabled: a,
729
- sx: x
730
- }, e[8] = a, e[9] = r, e[10] = x, e[11] = w) : w = e[11];
731
- const O = w;
732
- let A;
733
- e[12] !== i || e[13] !== n ? (A = /* @__PURE__ */ s.jsx(So, { item: n, collapsed: i }), e[12] = i, e[13] = n, e[14] = A) : A = e[14];
734
- let T;
735
- e[15] !== i || e[16] !== n.title ? (T = !i && /* @__PURE__ */ s.jsx(Pn, { primary: n.title, slotProps: {
718
+ sx: k
719
+ }, e[8] = a, e[9] = r, e[10] = k, e[11] = y) : y = e[11];
720
+ const w = y;
721
+ let $;
722
+ e[12] !== i || e[13] !== n ? ($ = /* @__PURE__ */ s.jsx(wo, { item: n, collapsed: i }), e[12] = i, e[13] = n, e[14] = $) : $ = e[14];
723
+ let E;
724
+ e[15] !== i || e[16] !== n.title ? (E = !i && /* @__PURE__ */ s.jsx(Un, { primary: n.title, slotProps: {
736
725
  primary: {
737
726
  noWrap: !0,
738
727
  title: n.title
@@ -746,193 +735,201 @@ const yo = () => {
746
735
  overflow: "hidden",
747
736
  textOverflow: "ellipsis"
748
737
  }
749
- } }), e[15] = i, e[16] = n.title, e[17] = T) : T = e[17];
738
+ } }), e[15] = i, e[16] = n.title, e[17] = E) : E = e[17];
739
+ let T;
740
+ e[18] !== S || e[19] !== n.children ? (T = n.children ? /* @__PURE__ */ s.jsx($n, { sx: S }) : null, e[18] = S, e[19] = n.children, e[20] = T) : T = e[20];
750
741
  let I;
751
- e[18] !== g || e[19] !== n.children ? (I = n.children ? /* @__PURE__ */ s.jsx(En, { sx: g }) : null, e[18] = g, e[19] = n.children, e[20] = I) : I = e[20];
752
- let C;
753
- e[21] !== A || e[22] !== T || e[23] !== I ? (C = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
754
- A,
755
- T,
756
- I
757
- ] }), e[21] = A, e[22] = T, e[23] = I, e[24] = C) : C = e[24];
758
- const M = C;
759
- let D;
760
- e[25] !== i || e[26] !== n.children || e[27] !== n.title ? (D = n.children && i ? {
761
- onMouseEnter: (de) => {
762
- y(de.currentTarget), b(n.title);
742
+ e[21] !== $ || e[22] !== E || e[23] !== T ? (I = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
743
+ $,
744
+ E,
745
+ T
746
+ ] }), e[21] = $, e[22] = E, e[23] = T, e[24] = I) : I = e[24];
747
+ const C = I;
748
+ let L;
749
+ e[25] !== i || e[26] !== n.children || e[27] !== b ? (L = n.children && i ? {
750
+ onMouseEnter: () => {
751
+ v(b);
763
752
  },
764
753
  onMouseLeave: () => {
765
- b(null);
754
+ v(null);
766
755
  }
767
- } : {}, e[25] = i, e[26] = n.children, e[27] = n.title, e[28] = D) : D = e[28];
768
- let $;
769
- e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = {
756
+ } : {}, e[25] = i, e[26] = n.children, e[27] = b, e[28] = L) : L = e[28];
757
+ let P;
758
+ e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = {
770
759
  py: 0,
771
760
  px: 1,
772
761
  overflowX: "hidden"
773
- }, e[29] = $) : $ = e[29];
762
+ }, e[29] = P) : P = e[29];
763
+ let A;
764
+ e[30] !== C || e[31] !== w || e[32] !== n || e[33] !== f || e[34] !== h || e[35] !== x ? (A = x ? /* @__PURE__ */ s.jsx(So, { ...w, onClick: () => f?.(n), children: C }) : /* @__PURE__ */ s.jsx(ko, { ...w, to: n.to, href: n.href, params: n.params, search: n.search, onClick: h, children: C }), e[30] = C, e[31] = w, e[32] = n, e[33] = f, e[34] = h, e[35] = x, e[36] = A) : A = e[36];
774
765
  let _;
775
- e[30] !== M || e[31] !== O || e[32] !== n || e[33] !== f || e[34] !== h || e[35] !== m ? (_ = m ? /* @__PURE__ */ s.jsx(vo, { ...O, onClick: () => f?.(n), children: M }) : /* @__PURE__ */ s.jsx(bo, { ...O, to: n.to, href: n.href, params: n.params, search: n.search, onClick: h, children: M }), e[30] = M, e[31] = O, e[32] = n, e[33] = f, e[34] = h, e[35] = m, e[36] = _) : _ = e[36];
766
+ e[37] !== i || e[38] !== c || e[39] !== n.children || e[40] !== b || e[41] !== d ? (_ = n.children && i ? /* @__PURE__ */ s.jsx(Io, { open: b === c, children: d?.(n.children) }) : null, e[37] = i, e[38] = c, e[39] = n.children, e[40] = b, e[41] = d, e[42] = _) : _ = e[42];
776
767
  let j;
777
- e[37] !== S || e[38] !== i || e[39] !== d || e[40] !== n.children || e[41] !== n.title || e[42] !== u ? (j = n.children && i ? /* @__PURE__ */ s.jsx(ko, { open: n.title === d, anchorEl: S, children: u?.(n.children) }) : null, e[37] = S, e[38] = i, e[39] = d, e[40] = n.children, e[41] = n.title, e[42] = u, e[43] = j) : j = e[43];
778
- let L;
779
- e[44] !== D || e[45] !== _ || e[46] !== j ? (L = /* @__PURE__ */ s.jsxs(Dn, { ...D, sx: $, children: [
780
- _,
781
- j
782
- ] }), e[44] = D, e[45] = _, e[46] = j, e[47] = L) : L = e[47];
783
- const P = L;
784
- let E;
785
- e[48] !== i || e[49] !== o || e[50] !== n.children || e[51] !== u ? (E = n.children && !i ? /* @__PURE__ */ s.jsx(Vt, { in: o, timeout: "auto", unmountOnExit: !0, children: u?.(n.children) }) : null, e[48] = i, e[49] = o, e[50] = n.children, e[51] = u, e[52] = E) : E = e[52];
786
- let R;
787
- return e[53] !== n.to || e[54] !== P || e[55] !== E ? (R = /* @__PURE__ */ s.jsxs(rt, { children: [
788
- P,
789
- E
790
- ] }, n.to), e[53] = n.to, e[54] = P, e[55] = E, e[56] = R) : R = e[56], R;
791
- }, Io = (t) => !("kind" in t), jo = (t) => "kind" in t && t.kind === "divider", it = (t) => "kind" in t && t.kind === "header", Dt = (t) => {
792
- const e = F.c(31), {
768
+ e[43] !== L || e[44] !== A || e[45] !== _ ? (j = /* @__PURE__ */ s.jsxs(Pn, { ...L, sx: P, children: [
769
+ A,
770
+ _
771
+ ] }), e[43] = L, e[44] = A, e[45] = _, e[46] = j) : j = e[46];
772
+ const M = j;
773
+ let D;
774
+ e[47] !== i || e[48] !== o || e[49] !== n.children || e[50] !== d ? (D = n.children && !i ? /* @__PURE__ */ s.jsx(Jt, { in: o, timeout: "auto", unmountOnExit: !0, children: d?.(n.children) }) : null, e[47] = i, e[48] = o, e[49] = n.children, e[50] = d, e[51] = D) : D = e[51];
775
+ let O;
776
+ return e[52] !== n.to || e[53] !== M || e[54] !== D ? (O = /* @__PURE__ */ s.jsxs(at, { children: [
777
+ M,
778
+ D
779
+ ] }, n.to), e[52] = n.to, e[53] = M, e[54] = D, e[55] = O) : O = e[55], O;
780
+ };
781
+ function _o(t) {
782
+ return t.charAt(0).toUpperCase();
783
+ }
784
+ const To = (t) => !("kind" in t), Co = (t) => "kind" in t && t.kind === "divider", st = (t) => "kind" in t && t.kind === "header", $t = (t) => {
785
+ const e = U.c(30), {
793
786
  subNavigation: n,
794
787
  depth: o,
795
788
  collapsed: r,
796
789
  isPopover: a,
797
790
  isSidebarFullyExpanded: i,
798
791
  isSidebarFullyCollapsed: l,
799
- expandedWidth: c,
792
+ expandedWidth: u,
800
793
  renderItem: f,
801
- activePath: u,
794
+ activePath: d,
802
795
  onNavigate: h,
803
- onClose: p
804
- } = t, d = o === void 0 ? 0 : o, b = i === void 0 ? !0 : i;
805
- let S;
806
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = [], e[0] = S) : S = e[0];
807
- const [y, v] = U(S);
808
- let g, m;
809
- e[1] !== r ? (g = () => {
810
- r && v([]);
811
- }, m = [r], e[1] = r, e[2] = g, e[3] = m) : (g = e[2], m = e[3]), q(g, m);
796
+ onClose: m
797
+ } = t, c = o === void 0 ? 0 : o, v = i === void 0 ? !0 : i;
798
+ let b;
799
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = [], e[0] = b) : b = e[0];
800
+ const [g, S] = q(b);
801
+ let x, p;
802
+ e[1] !== r ? (x = () => {
803
+ r && S([]);
804
+ }, p = [r], e[1] = r, e[2] = x, e[3] = p) : (x = e[2], p = e[3]), F(x, p);
812
805
  let k;
813
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (T) => v((I) => I.includes(T) ? I.filter((C) => C !== T) : [...I, T]), e[4] = k) : k = e[4];
814
- const x = k;
806
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (T) => S((I) => I.includes(T) ? I.filter((C) => C !== T) : [...I, T]), e[4] = k) : k = e[4];
807
+ const y = k;
815
808
  let w;
816
- e[5] !== u || e[6] !== r || e[7] !== d || e[8] !== c || e[9] !== p || e[10] !== h ? (w = (T) => /* @__PURE__ */ s.jsx(Dt, { subNavigation: T, depth: d + 1, isPopover: r, expandedWidth: c, activePath: u, onNavigate: h, onClose: p }), e[5] = u, e[6] = r, e[7] = d, e[8] = c, e[9] = p, e[10] = h, e[11] = w) : w = e[11];
817
- const O = w;
818
- let A;
819
- if (e[12] !== u || e[13] !== r || e[14] !== d || e[15] !== c || e[16] !== a || e[17] !== l || e[18] !== b || e[19] !== p || e[20] !== y || e[21] !== f || e[22] !== O || e[23] !== n) {
820
- const T = n.filter(_o), I = a && d === 1 ? 0.5 : 0, C = d === 0 && !a ? 4 : 0.5, M = (a ? 1 : 2) * (a ? d - 1 : d), D = a && d === 1 ? Qe : "auto", $ = r ? Ge : "auto";
809
+ e[5] !== d || e[6] !== r || e[7] !== c || e[8] !== u || e[9] !== m || e[10] !== h ? (w = (T) => /* @__PURE__ */ s.jsx($t, { subNavigation: T, depth: c + 1, isPopover: r, expandedWidth: u, activePath: d, onNavigate: h, onClose: m }), e[5] = d, e[6] = r, e[7] = c, e[8] = u, e[9] = m, e[10] = h, e[11] = w) : w = e[11];
810
+ const $ = w;
811
+ let E;
812
+ if (e[12] !== d || e[13] !== r || e[14] !== c || e[15] !== a || e[16] !== l || e[17] !== v || e[18] !== m || e[19] !== g || e[20] !== f || e[21] !== $ || e[22] !== n) {
813
+ const T = n.filter(Lo), I = a && c === 1 ? 0.5 : 0, C = c === 0 && !a ? 4 : 0.5, L = (a ? 1 : 2) * (a ? c - 1 : c), P = a && c === 1 ? 240 : "auto", A = r ? me : "auto";
821
814
  let _;
822
- e[25] !== C || e[26] !== M || e[27] !== D || e[28] !== $ || e[29] !== I ? (_ = {
815
+ e[24] !== C || e[25] !== L || e[26] !== P || e[27] !== A || e[28] !== I ? (_ = {
823
816
  padding: 0,
824
817
  mt: I,
825
818
  mb: C,
826
- pl: M,
827
- minWidth: D,
828
- width: $
829
- }, e[25] = C, e[26] = M, e[27] = D, e[28] = $, e[29] = I, e[30] = _) : _ = e[30], A = /* @__PURE__ */ s.jsx(Ln, { sx: _, children: T.map((j, L) => {
830
- if (it(j))
831
- return /* @__PURE__ */ s.jsx(An, { sx: {
819
+ pl: L,
820
+ minWidth: P,
821
+ width: A
822
+ }, e[24] = C, e[25] = L, e[26] = P, e[27] = A, e[28] = I, e[29] = _) : _ = e[29], E = /* @__PURE__ */ s.jsx(Mn, { sx: _, children: T.map((j, M) => {
823
+ if (st(j))
824
+ return /* @__PURE__ */ s.jsx(Dn, { sx: {
832
825
  fontSize: 12,
833
826
  fontWeight: "700",
834
827
  height: r ? 0 : 40,
835
828
  px: 2,
836
- minWidth: c,
837
829
  overflow: "hidden",
838
830
  textOverflow: "ellipsis",
839
831
  whiteSpace: "nowrap",
840
832
  zIndex: 2,
841
833
  bgcolor: "transparent",
842
834
  position: "static"
843
- }, children: j.title }, `subheader-${d}-${L}`);
844
- if (jo(j)) {
845
- const R = T[L + 1];
846
- return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(Cn, { sx: {
835
+ }, children: j.title }, `subheader-${c}-${M}`);
836
+ if (Co(j)) {
837
+ const N = T[M + 1];
838
+ return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(En, { sx: {
847
839
  mx: 1,
848
840
  mt: 1,
849
- mb: it(R) && !r ? 0 : 1
850
- } }) }, `divider-${d}-${L}`);
841
+ mb: st(N) && !r ? 0 : 1
842
+ } }) }, `divider-${c}-${M}`);
851
843
  }
852
- if (!Io(j))
844
+ if (!To(j))
853
845
  return null;
854
- const P = `item-${d}-${L}`, E = `${d}-${L}-${j.title}`;
855
- return f ? /* @__PURE__ */ s.jsx(rt, { children: f(j, {
846
+ const D = `item-${c}-${M}`, O = `${c}-${M}-${j.title}`;
847
+ return f ? /* @__PURE__ */ s.jsx(at, { children: f(j, {
856
848
  collapsed: !!r
857
- }) }, P) : /* @__PURE__ */ s.jsx(wo, { item: j, isOpen: y.includes(E), selected: u === j.to, collapsed: r, isSidebarFullyExpanded: b, isSidebarFullyCollapsed: l, onClick: j.children && !r ? () => x(E) : void 0, renderNested: O, onClose: p }, P);
858
- }) }), e[12] = u, e[13] = r, e[14] = d, e[15] = c, e[16] = a, e[17] = l, e[18] = b, e[19] = p, e[20] = y, e[21] = f, e[22] = O, e[23] = n, e[24] = A;
849
+ }) }, D) : /* @__PURE__ */ s.jsx(jo, { item: j, isOpen: g.includes(O), selected: d === j.to, collapsed: r, isSidebarFullyExpanded: v, isSidebarFullyCollapsed: l, onClick: j.children && !r ? () => y(O) : void 0, renderNested: $, onClose: m }, D);
850
+ }) }), e[12] = d, e[13] = r, e[14] = c, e[15] = a, e[16] = l, e[17] = v, e[18] = m, e[19] = g, e[20] = f, e[21] = $, e[22] = n, e[23] = E;
859
851
  } else
860
- A = e[24];
861
- return A;
852
+ E = e[23];
853
+ return E;
862
854
  };
863
- function _o(t) {
855
+ function Lo(t) {
864
856
  return !t.hidden;
865
857
  }
866
- const Ge = 84, Qe = 320, It = 64, To = (t) => {
867
- const e = F.c(29), {
858
+ const me = 84, ot = 320, _t = 64, Ao = (t) => {
859
+ const e = U.c(29), {
868
860
  navigation: n,
869
861
  expanded: o,
870
862
  setExpanded: r
871
- } = t, a = _n(), i = Tn(), l = kn();
872
- let c;
873
- e[0] !== l.breakpoints ? (c = l.breakpoints.up("sm"), e[0] = l.breakpoints, e[1] = c) : c = e[1];
874
- const f = Zt(c);
863
+ } = t, a = Ln(), i = An(), l = jn();
875
864
  let u;
876
- e[2] !== o || e[3] !== a || e[4] !== n || e[5] !== i.location.pathname || e[6] !== r || e[7] !== f ? (u = (y) => /* @__PURE__ */ s.jsx(Ct, { component: "nav", sx: {
865
+ e[0] !== l.breakpoints ? (u = l.breakpoints.up("sm"), e[0] = l.breakpoints, e[1] = u) : u = e[1];
866
+ const f = tn(u);
867
+ let d;
868
+ e[2] !== o || e[3] !== a || e[4] !== n || e[5] !== i.location.pathname || e[6] !== r || e[7] !== f ? (d = (g) => /* @__PURE__ */ s.jsx(ct, { component: "nav", sx: {
877
869
  height: "100%",
878
870
  display: "flex",
879
871
  flexDirection: "column",
880
872
  justifyContent: "space-between",
881
873
  overflow: "auto",
882
- scrollbarGutter: y ? "stable" : "auto",
874
+ scrollbarGutter: g ? "stable" : "auto",
883
875
  overflowX: "hidden",
884
- pt: n[0] && it(n[0]) && !y ? 0 : 2
885
- }, children: /* @__PURE__ */ s.jsx(Dt, { subNavigation: n, collapsed: y, isSidebarFullyExpanded: o, isSidebarFullyCollapsed: !o, expandedWidth: Qe, activePath: i.location.pathname, onNavigate: a, onClose: f ? void 0 : () => r(!1) }) }), e[2] = o, e[3] = a, e[4] = n, e[5] = i.location.pathname, e[6] = r, e[7] = f, e[8] = u) : u = e[8];
886
- const h = u;
876
+ pt: n[0] && st(n[0]) && !g ? 0 : 2
877
+ }, children: /* @__PURE__ */ s.jsx($t, { subNavigation: n, collapsed: g, isSidebarFullyExpanded: o, isSidebarFullyCollapsed: !o, expandedWidth: ot, activePath: i.location.pathname, onNavigate: a, onClose: f ? void 0 : () => r(!1) }) }), e[2] = o, e[3] = a, e[4] = n, e[5] = i.location.pathname, e[6] = r, e[7] = f, e[8] = d) : d = e[8];
878
+ const h = d;
887
879
  if (f) {
888
- const y = o ? Qe : Ge, v = o ? Qe : Ge;
889
- let g;
890
- e[9] !== v ? (g = {
880
+ const g = o ? ot : me, S = o ? ot : me;
881
+ let x;
882
+ e[9] !== S ? (x = {
891
883
  position: "absolute",
892
- top: `${It}px`,
893
- height: `calc(100% - ${It}px)`,
894
- width: v,
884
+ top: `${_t}px`,
885
+ height: `calc(100% - ${_t}px)`,
886
+ width: S,
895
887
  borderTop: "1px solid",
896
888
  borderColor: "var(--mui-palette-divider)"
897
- }, e[9] = v, e[10] = g) : g = e[10];
898
- let m;
899
- e[11] !== y || e[12] !== g ? (m = {
900
- width: y,
901
- "& .MuiDrawer-paper": g
902
- }, e[11] = y, e[12] = g, e[13] = m) : m = e[13];
889
+ }, e[9] = S, e[10] = x) : x = e[10];
890
+ let p;
891
+ e[11] !== g || e[12] !== x ? (p = {
892
+ width: g,
893
+ "& .MuiDrawer-paper": x
894
+ }, e[11] = g, e[12] = x, e[13] = p) : p = e[13];
903
895
  const k = !o;
904
- let x;
905
- e[14] !== h || e[15] !== k ? (x = h(k), e[14] = h, e[15] = k, e[16] = x) : x = e[16];
896
+ let y;
897
+ e[14] !== h || e[15] !== k ? (y = h(k), e[14] = h, e[15] = k, e[16] = y) : y = e[16];
906
898
  let w;
907
- return e[17] !== m || e[18] !== x ? (w = /* @__PURE__ */ s.jsx(gt, { variant: "permanent", sx: m, children: x }), e[17] = m, e[18] = x, e[19] = w) : w = e[19], w;
899
+ return e[17] !== p || e[18] !== y ? (w = /* @__PURE__ */ s.jsx(yt, { variant: "permanent", sx: p, children: y }), e[17] = p, e[18] = y, e[19] = w) : w = e[19], w;
908
900
  }
909
- let p;
910
- e[20] !== r ? (p = () => r(!1), e[20] = r, e[21] = p) : p = e[21];
911
- const d = !o;
901
+ let m;
902
+ e[20] !== r ? (m = () => r(!1), e[20] = r, e[21] = m) : m = e[21];
903
+ let c;
904
+ e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
905
+ "& .MuiDrawer-paper": {
906
+ width: "min(280px, calc(100vw - 56px))"
907
+ }
908
+ }, e[22] = c) : c = e[22];
909
+ let v;
910
+ e[23] !== h ? (v = h(!1), e[23] = h, e[24] = v) : v = e[24];
912
911
  let b;
913
- e[22] !== h || e[23] !== d ? (b = h(d), e[22] = h, e[23] = d, e[24] = b) : b = e[24];
914
- let S;
915
- return e[25] !== o || e[26] !== p || e[27] !== b ? (S = /* @__PURE__ */ s.jsx(gt, { open: o, onClose: p, children: b }), e[25] = o, e[26] = p, e[27] = b, e[28] = S) : S = e[28], S;
916
- }, jt = "graph", st = Yn.create({
912
+ return e[25] !== o || e[26] !== m || e[27] !== v ? (b = /* @__PURE__ */ s.jsx(yt, { open: o, onClose: m, sx: c, children: v }), e[25] = o, e[26] = m, e[27] = v, e[28] = b) : b = e[28], b;
913
+ }, Tt = "graph", rt = Vn.create({
917
914
  baseURL: "https://graph.microsoft.com/v1.0"
918
915
  });
919
- st.interceptors.request.use(async (t) => {
920
- const e = await Kt("graph");
916
+ rt.interceptors.request.use(async (t) => {
917
+ const e = await Qt("graph");
921
918
  return t.headers.set("Authorization", `Bearer ${e}`), t;
922
919
  });
923
- const ot = {
924
- sessionUserDetail: () => pt({
925
- queryKey: [jt, "me"],
926
- queryFn: async () => await st.request({
920
+ const it = {
921
+ sessionUserDetail: () => gt({
922
+ queryKey: [Tt, "me"],
923
+ queryFn: async () => await rt.request({
927
924
  method: "GET",
928
925
  url: "/me?$select=displayName,jobTitle"
929
926
  }).then((t) => t.data),
930
927
  staleTime: 1 / 0,
931
928
  gcTime: 1 / 0
932
929
  }),
933
- sessionUserPhoto: () => pt({
934
- queryKey: [jt, "me", "photo"],
935
- queryFn: async () => await st.request({
930
+ sessionUserPhoto: () => gt({
931
+ queryKey: [Tt, "me", "photo"],
932
+ queryFn: async () => await rt.request({
936
933
  method: "GET",
937
934
  url: "/me/photo/$value",
938
935
  responseType: "blob"
@@ -941,50 +938,50 @@ const ot = {
941
938
  gcTime: 1 / 0,
942
939
  select: (t) => URL.createObjectURL(t)
943
940
  })
944
- }, _t = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), Co = () => {
945
- const t = F.c(122), [e, n] = U(), [o, r] = U("settings"), a = !!e, {
941
+ }, Ct = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), Eo = () => {
942
+ const t = U.c(122), [e, n] = q(), [o, r] = q("settings"), a = !!e, {
946
943
  t: i,
947
944
  i18n: l
948
- } = vn(), {
949
- mode: c,
945
+ } = kn(), {
946
+ mode: u,
950
947
  setMode: f
951
- } = Jt(), u = wn(), {
948
+ } = nn(), d = _n(), {
952
949
  instance: h
953
950
  } = he();
954
- let p;
955
- t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = ot.sessionUserPhoto(), t[0] = p) : p = t[0];
951
+ let m;
952
+ t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = it.sessionUserPhoto(), t[0] = m) : m = t[0];
956
953
  const {
957
- data: d
958
- } = ht(p);
954
+ data: c
955
+ } = xt(m);
956
+ let v;
957
+ t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = it.sessionUserDetail(), t[1] = v) : v = t[1];
959
958
  let b;
960
- t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = ot.sessionUserDetail(), t[1] = b) : b = t[1];
961
- let S;
962
- t[2] !== a ? (S = {
963
- ...b,
959
+ t[2] !== a ? (b = {
960
+ ...v,
964
961
  enabled: a
965
- }, t[2] = a, t[3] = S) : S = t[3];
962
+ }, t[2] = a, t[3] = b) : b = t[3];
966
963
  const {
967
- data: y
968
- } = ht(S);
969
- let v, g, m, k, x, w, O;
970
- if (t[4] !== l || t[5] !== c || t[6] !== f || t[7] !== i) {
971
- const Ot = (Array.isArray(l.options.supportedLngs) ? l.options.supportedLngs : []).filter(Lo), lt = new Intl.DisplayNames([l.language], {
964
+ data: g
965
+ } = xt(b);
966
+ let S, x, p, k, y, w, $;
967
+ if (t[4] !== l || t[5] !== u || t[6] !== f || t[7] !== i) {
968
+ const Rt = (Array.isArray(l.options.supportedLngs) ? l.options.supportedLngs : []).filter(Mo), ut = new Intl.DisplayNames([l.language], {
972
969
  type: "language"
973
970
  });
971
+ let K;
972
+ t[15] !== i ? (K = i("Layout.Light"), t[15] = i, t[16] = K) : K = t[16];
974
973
  let Q;
975
- t[15] !== i ? (Q = i("Layout.Light"), t[15] = i, t[16] = Q) : Q = t[16];
976
- let G;
977
- t[17] !== Q ? (G = {
974
+ t[17] !== K ? (Q = {
978
975
  mode: "light",
979
- icon: Hn,
980
- label: Q
981
- }, t[17] = Q, t[18] = G) : G = t[18];
976
+ icon: Kn,
977
+ label: K
978
+ }, t[17] = K, t[18] = Q) : Q = t[18];
982
979
  let Y;
983
980
  t[19] !== i ? (Y = i("Layout.Dark"), t[19] = i, t[20] = Y) : Y = t[20];
984
981
  let X;
985
982
  t[21] !== Y ? (X = {
986
983
  mode: "dark",
987
- icon: zn,
984
+ icon: Hn,
988
985
  label: Y
989
986
  }, t[21] = Y, t[22] = X) : X = t[22];
990
987
  let V;
@@ -992,20 +989,20 @@ const ot = {
992
989
  let Z;
993
990
  t[25] !== V ? (Z = {
994
991
  mode: "system",
995
- icon: Qn,
992
+ icon: Yn,
996
993
  label: V
997
994
  }, t[25] = V, t[26] = Z) : Z = t[26];
998
995
  let xe;
999
- t[27] !== Z || t[28] !== G || t[29] !== X ? (xe = [G, X, Z], t[27] = Z, t[28] = G, t[29] = X, t[30] = xe) : xe = t[30];
996
+ t[27] !== Z || t[28] !== Q || t[29] !== X ? (xe = [Q, X, Z], t[27] = Z, t[28] = Q, t[29] = X, t[30] = xe) : xe = t[30];
1000
997
  const ye = xe;
1001
998
  let ve;
1002
- t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = (N) => n(N.currentTarget), t[31] = ve) : ve = t[31], m = ve;
999
+ t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = (R) => n(R.currentTarget), t[31] = ve) : ve = t[31], p = ve;
1003
1000
  let be;
1004
1001
  t[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = () => {
1005
1002
  n(void 0), setTimeout(() => r("settings"), 300);
1006
- }, t[32] = be) : be = t[32], g = be;
1003
+ }, t[32] = be) : be = t[32], x = be;
1007
1004
  let Se;
1008
- t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Se = (N) => () => r(N), t[33] = Se) : Se = t[33];
1005
+ t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Se = (R) => () => r(R), t[33] = Se) : Se = t[33];
1009
1006
  const ke = Se;
1010
1007
  let we;
1011
1008
  t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = {
@@ -1020,16 +1017,16 @@ const ot = {
1020
1017
  py: 0.3
1021
1018
  }, t[39] = Ie, t[40] = je) : (Ie = t[39], je = t[40]);
1022
1019
  let _e;
1023
- t[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ s.jsx(me, { children: /* @__PURE__ */ s.jsx(Bn, {}) }), t[41] = _e) : _e = t[41];
1020
+ t[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Wn, {}) }), t[41] = _e) : _e = t[41];
1024
1021
  let te;
1025
1022
  t[42] !== i ? (te = i("Layout.Appearance"), t[42] = i, t[43] = te) : te = t[43];
1026
- const Ve = ye.find((N) => N.mode === c)?.label;
1023
+ const Ve = ye.find((R) => R.mode === u)?.label;
1027
1024
  let ne;
1028
1025
  t[44] !== te || t[45] !== Ve ? (ne = /* @__PURE__ */ s.jsx(B, { primary: te, secondary: Ve }), t[44] = te, t[45] = Ve, t[46] = ne) : ne = t[46];
1029
1026
  let Te;
1030
- t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Te = /* @__PURE__ */ s.jsx(yt, {}), t[47] = Te) : Te = t[47];
1027
+ t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Te = /* @__PURE__ */ s.jsx(bt, {}), t[47] = Te) : Te = t[47];
1031
1028
  let oe;
1032
- t[48] !== ne ? (oe = /* @__PURE__ */ s.jsxs(fe, { onClick: Ie, sx: je, children: [
1029
+ t[48] !== ne ? (oe = /* @__PURE__ */ s.jsxs(de, { onClick: Ie, sx: je, children: [
1033
1030
  _e,
1034
1031
  ne,
1035
1032
  Te
@@ -1039,14 +1036,14 @@ const ot = {
1039
1036
  py: 0.3
1040
1037
  }, t[50] = Ce, t[51] = Le) : (Ce = t[50], Le = t[51]);
1041
1038
  let Ae;
1042
- t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = /* @__PURE__ */ s.jsx(me, { children: /* @__PURE__ */ s.jsx(Gn, {}) }), t[52] = Ae) : Ae = t[52];
1039
+ t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Xn, {}) }), t[52] = Ae) : Ae = t[52];
1043
1040
  let Ee;
1044
1041
  t[53] !== i ? (Ee = i("Layout.Language"), t[53] = i, t[54] = Ee) : Ee = t[54];
1045
1042
  let Me;
1046
- t[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Me = /* @__PURE__ */ s.jsx(yt, {}), t[55] = Me) : Me = t[55];
1047
- const Ze = /* @__PURE__ */ s.jsxs(fe, { onClick: Ce, sx: Le, children: [
1043
+ t[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Me = /* @__PURE__ */ s.jsx(bt, {}), t[55] = Me) : Me = t[55];
1044
+ const Ze = /* @__PURE__ */ s.jsxs(de, { onClick: Ce, sx: Le, children: [
1048
1045
  Ae,
1049
- /* @__PURE__ */ s.jsx(B, { primary: Ee, secondary: _t(lt.of(l.language)) }),
1046
+ /* @__PURE__ */ s.jsx(B, { primary: Ee, secondary: Ct(ut.of(l.language)) }),
1050
1047
  Me
1051
1048
  ] });
1052
1049
  let De;
@@ -1065,7 +1062,7 @@ const ot = {
1065
1062
  let Pe;
1066
1063
  t[62] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pe = /* @__PURE__ */ s.jsx(He, { size: "small", sx: {
1067
1064
  mr: 0.5
1068
- }, children: /* @__PURE__ */ s.jsx(xt, { fontSize: "small" }) }), t[62] = Pe) : Pe = t[62];
1065
+ }, children: /* @__PURE__ */ s.jsx(vt, { fontSize: "small" }) }), t[62] = Pe) : Pe = t[62];
1069
1066
  let ie;
1070
1067
  t[63] !== i ? (ie = i("Layout.Appearance"), t[63] = i, t[64] = ie) : ie = t[64];
1071
1068
  let se;
@@ -1075,21 +1072,21 @@ const ot = {
1075
1072
  ie
1076
1073
  ] }), t[65] = ie, t[66] = se) : se = t[66];
1077
1074
  let re;
1078
- t[67] !== ye || t[68] !== c || t[69] !== f ? (re = ye.map((N) => {
1075
+ t[67] !== ye || t[68] !== u || t[69] !== f ? (re = ye.map((R) => {
1079
1076
  const {
1080
1077
  mode: Je,
1081
- icon: Pt,
1082
- label: Rt
1083
- } = N;
1084
- return /* @__PURE__ */ s.jsxs(fe, { onClick: () => {
1085
- f(Je), g();
1086
- }, selected: c === Je, children: [
1087
- /* @__PURE__ */ s.jsx(me, { children: /* @__PURE__ */ s.jsx(Pt, {}) }),
1088
- /* @__PURE__ */ s.jsx(B, { primary: Rt })
1078
+ icon: Nt,
1079
+ label: Ut
1080
+ } = R;
1081
+ return /* @__PURE__ */ s.jsxs(de, { onClick: () => {
1082
+ f(Je), x();
1083
+ }, selected: u === Je, children: [
1084
+ /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Nt, {}) }),
1085
+ /* @__PURE__ */ s.jsx(B, { primary: Ut })
1089
1086
  ] }, Je);
1090
- }), t[67] = ye, t[68] = c, t[69] = f, t[70] = re) : re = t[70];
1087
+ }), t[67] = ye, t[68] = u, t[69] = f, t[70] = re) : re = t[70];
1091
1088
  let Re;
1092
- t[71] !== se || t[72] !== re ? (Re = /* @__PURE__ */ s.jsx(Be, { subheader: se, children: re }), t[71] = se, t[72] = re, t[73] = Re) : Re = t[73], O = Re, v = Be;
1089
+ t[71] !== se || t[72] !== re ? (Re = /* @__PURE__ */ s.jsx(Be, { subheader: se, children: re }), t[71] = se, t[72] = re, t[73] = Re) : Re = t[73], $ = Re, S = Be;
1093
1090
  let Ne, Ue;
1094
1091
  t[74] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ne = ke("settings"), Ue = {
1095
1092
  backgroundColor: "transparent",
@@ -1101,25 +1098,25 @@ const ot = {
1101
1098
  let Fe;
1102
1099
  t[76] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Fe = /* @__PURE__ */ s.jsx(He, { size: "small", sx: {
1103
1100
  mr: 0.5
1104
- }, children: /* @__PURE__ */ s.jsx(xt, { fontSize: "small" }) }), t[76] = Fe) : Fe = t[76];
1101
+ }, children: /* @__PURE__ */ s.jsx(vt, { fontSize: "small" }) }), t[76] = Fe) : Fe = t[76];
1105
1102
  let ae;
1106
- t[77] !== i ? (ae = i("Layout.Language"), t[77] = i, t[78] = ae) : ae = t[78], t[79] !== ae ? (x = /* @__PURE__ */ s.jsxs(et, { onClick: Ne, sx: Ue, children: [
1103
+ t[77] !== i ? (ae = i("Layout.Language"), t[77] = i, t[78] = ae) : ae = t[78], t[79] !== ae ? (y = /* @__PURE__ */ s.jsxs(et, { onClick: Ne, sx: Ue, children: [
1107
1104
  Fe,
1108
1105
  " ",
1109
1106
  ae
1110
- ] }), t[79] = ae, t[80] = x) : x = t[80], w = Ot.map((N) => /* @__PURE__ */ s.jsxs(fe, { onClick: () => l.changeLanguage(N).finally(() => g()), selected: l.resolvedLanguage === N, children: [
1111
- /* @__PURE__ */ s.jsx(me, { children: l.resolvedLanguage === N && /* @__PURE__ */ s.jsx(Wn, {}) }),
1112
- /* @__PURE__ */ s.jsx(B, { primary: _t(lt.of(N)) })
1113
- ] }, N)), t[4] = l, t[5] = c, t[6] = f, t[7] = i, t[8] = v, t[9] = g, t[10] = m, t[11] = k, t[12] = x, t[13] = w, t[14] = O;
1107
+ ] }), t[79] = ae, t[80] = y) : y = t[80], w = Rt.map((R) => /* @__PURE__ */ s.jsxs(de, { onClick: () => l.changeLanguage(R).finally(() => x()), selected: l.resolvedLanguage === R, children: [
1108
+ /* @__PURE__ */ s.jsx(fe, { children: l.resolvedLanguage === R && /* @__PURE__ */ s.jsx(Gn, {}) }),
1109
+ /* @__PURE__ */ s.jsx(B, { primary: Ct(ut.of(R)) })
1110
+ ] }, R)), t[4] = l, t[5] = u, t[6] = f, t[7] = i, t[8] = S, t[9] = x, t[10] = p, t[11] = k, t[12] = y, t[13] = w, t[14] = $;
1114
1111
  } else
1115
- v = t[8], g = t[9], m = t[10], k = t[11], x = t[12], w = t[13], O = t[14];
1116
- let A;
1117
- t[81] !== v || t[82] !== x || t[83] !== w ? (A = /* @__PURE__ */ s.jsx(v, { subheader: x, children: w }), t[81] = v, t[82] = x, t[83] = w, t[84] = A) : A = t[84];
1118
- const T = A;
1112
+ S = t[8], x = t[9], p = t[10], k = t[11], y = t[12], w = t[13], $ = t[14];
1113
+ let E;
1114
+ t[81] !== S || t[82] !== y || t[83] !== w ? (E = /* @__PURE__ */ s.jsx(S, { subheader: y, children: w }), t[81] = S, t[82] = y, t[83] = w, t[84] = E) : E = t[84];
1115
+ const T = E;
1119
1116
  let I;
1120
- t[85] !== u ? (I = () => u.prefetchQuery(ot.sessionUserDetail()), t[85] = u, t[86] = I) : I = t[86];
1117
+ t[85] !== d ? (I = () => d.prefetchQuery(it.sessionUserDetail()), t[85] = d, t[86] = I) : I = t[86];
1121
1118
  let C;
1122
- t[87] !== d ? (C = d ? /* @__PURE__ */ s.jsx(tn, { src: d, sx: {
1119
+ t[87] !== c ? (C = c ? /* @__PURE__ */ s.jsx(sn, { src: c, sx: {
1123
1120
  width: {
1124
1121
  xs: 32,
1125
1122
  sm: 40
@@ -1128,7 +1125,7 @@ const ot = {
1128
1125
  xs: 32,
1129
1126
  sm: 40
1130
1127
  }
1131
- } }) : /* @__PURE__ */ s.jsx(qn, { sx: {
1128
+ } }) : /* @__PURE__ */ s.jsx(zn, { sx: {
1132
1129
  width: {
1133
1130
  xs: 32,
1134
1131
  sm: 40
@@ -1137,55 +1134,57 @@ const ot = {
1137
1134
  xs: 32,
1138
1135
  sm: 40
1139
1136
  }
1140
- } }), t[87] = d, t[88] = C) : C = t[88];
1141
- let M;
1142
- t[89] !== m || t[90] !== I || t[91] !== C ? (M = /* @__PURE__ */ s.jsx(He, { size: "small", edge: "end", onClick: m, onMouseEnter: I, children: C }), t[89] = m, t[90] = I, t[91] = C, t[92] = M) : M = t[92];
1143
- let D;
1144
- t[93] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = {
1137
+ } }), t[87] = c, t[88] = C) : C = t[88];
1138
+ let L;
1139
+ t[89] !== p || t[90] !== I || t[91] !== C ? (L = /* @__PURE__ */ s.jsx(He, { size: "small", edge: "end", onClick: p, onMouseEnter: I, children: C }), t[89] = p, t[90] = I, t[91] = C, t[92] = L) : L = t[92];
1140
+ let P;
1141
+ t[93] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = {
1145
1142
  width: 240
1146
- }, t[93] = D) : D = t[93];
1147
- let $;
1148
- t[94] !== y ? ($ = /* @__PURE__ */ s.jsx(en, { children: y ? /* @__PURE__ */ s.jsx(B, { primary: y.displayName.split("/")[0], secondary: y.jobTitle }) : /* @__PURE__ */ s.jsx(B, { primary: /* @__PURE__ */ s.jsx(ct, {}), secondary: /* @__PURE__ */ s.jsx(ct, {}) }) }), t[94] = y, t[95] = $) : $ = t[95];
1143
+ }, t[93] = P) : P = t[93];
1144
+ let A;
1145
+ t[94] !== g ? (A = /* @__PURE__ */ s.jsx(on, { children: g ? /* @__PURE__ */ s.jsx(B, { primary: g.displayName.split("/")[0], secondary: g.jobTitle }) : /* @__PURE__ */ s.jsx(B, { primary: /* @__PURE__ */ s.jsx(dt, {}), secondary: /* @__PURE__ */ s.jsx(dt, {}) }) }), t[94] = g, t[95] = A) : A = t[95];
1149
1146
  let _;
1150
1147
  t[96] !== h ? (_ = () => h.logoutRedirect({
1151
1148
  postLogoutRedirectUri: "/"
1152
1149
  }), t[96] = h, t[97] = _) : _ = t[97];
1153
1150
  let j;
1154
- t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ s.jsx(me, { children: /* @__PURE__ */ s.jsx(Kn, { color: "error" }) }), t[98] = j) : j = t[98];
1155
- let L;
1156
- t[99] !== i ? (L = i("Layout.Logout"), t[99] = i, t[100] = L) : L = t[100];
1157
- let P;
1158
- t[101] !== L ? (P = /* @__PURE__ */ s.jsx(B, { primary: L }), t[101] = L, t[102] = P) : P = t[102];
1159
- let E;
1160
- t[103] !== _ || t[104] !== P ? (E = /* @__PURE__ */ s.jsxs(fe, { onClick: _, children: [
1151
+ t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Qn, { color: "error" }) }), t[98] = j) : j = t[98];
1152
+ let M;
1153
+ t[99] !== i ? (M = i("Layout.Logout"), t[99] = i, t[100] = M) : M = t[100];
1154
+ let D;
1155
+ t[101] !== M ? (D = /* @__PURE__ */ s.jsx(B, { primary: M }), t[101] = M, t[102] = D) : D = t[102];
1156
+ let O;
1157
+ t[103] !== _ || t[104] !== D ? (O = /* @__PURE__ */ s.jsxs(de, { onClick: _, children: [
1161
1158
  j,
1162
- P
1163
- ] }), t[103] = _, t[104] = P, t[105] = E) : E = t[105];
1164
- let R;
1165
- t[106] !== $ || t[107] !== E ? (R = /* @__PURE__ */ s.jsxs(Be, { disablePadding: !0, children: [
1166
- $,
1167
- E
1168
- ] }), t[106] = $, t[107] = E, t[108] = R) : R = t[108];
1169
- const de = o === "settings" && k, Ye = o === "theme" && O, Xe = o === "language" && T;
1159
+ D
1160
+ ] }), t[103] = _, t[104] = D, t[105] = O) : O = t[105];
1161
+ let N;
1162
+ t[106] !== A || t[107] !== O ? (N = /* @__PURE__ */ s.jsxs(Be, { disablePadding: !0, children: [
1163
+ A,
1164
+ O
1165
+ ] }), t[106] = A, t[107] = O, t[108] = N) : N = t[108];
1166
+ const Qe = o === "settings" && k, Ye = o === "theme" && $, Xe = o === "language" && T;
1170
1167
  let H;
1171
- t[109] !== R || t[110] !== de || t[111] !== Ye || t[112] !== Xe ? (H = /* @__PURE__ */ s.jsxs(Ke, { sx: D, children: [
1172
- R,
1173
- de,
1168
+ t[109] !== N || t[110] !== Qe || t[111] !== Ye || t[112] !== Xe ? (H = /* @__PURE__ */ s.jsxs(Ge, { sx: P, children: [
1169
+ N,
1170
+ Qe,
1174
1171
  Ye,
1175
1172
  Xe
1176
- ] }), t[109] = R, t[110] = de, t[111] = Ye, t[112] = Xe, t[113] = H) : H = t[113];
1177
- let K;
1178
- t[114] !== e || t[115] !== g || t[116] !== a || t[117] !== H ? (K = /* @__PURE__ */ s.jsx(nn, { anchorEl: e, open: a, onClose: g, children: H }), t[114] = e, t[115] = g, t[116] = a, t[117] = H, t[118] = K) : K = t[118];
1173
+ ] }), t[109] = N, t[110] = Qe, t[111] = Ye, t[112] = Xe, t[113] = H) : H = t[113];
1174
+ let G;
1175
+ t[114] !== e || t[115] !== x || t[116] !== a || t[117] !== H ? (G = /* @__PURE__ */ s.jsx(rn, { anchorEl: e, open: a, onClose: x, children: H }), t[114] = e, t[115] = x, t[116] = a, t[117] = H, t[118] = G) : G = t[118];
1179
1176
  let ge;
1180
- return t[119] !== K || t[120] !== M ? (ge = /* @__PURE__ */ s.jsxs(rt, { children: [
1181
- M,
1182
- K
1183
- ] }), t[119] = K, t[120] = M, t[121] = ge) : ge = t[121], ge;
1177
+ return t[119] !== G || t[120] !== L ? (ge = /* @__PURE__ */ s.jsxs(at, { children: [
1178
+ L,
1179
+ G
1180
+ ] }), t[119] = G, t[120] = L, t[121] = ge) : ge = t[121], ge;
1184
1181
  };
1185
- function Lo(t) {
1182
+ function Mo(t) {
1186
1183
  return t !== "cimode";
1187
1184
  }
1188
- const $t = 3600 * 24 * 365, Ao = at("div")(({
1185
+ const Ot = "navigation-open", Do = () => Ke.isWindows || Ke.isMacOS ? localStorage.getItem(Ot) === "true" : !1, Pt = (t) => {
1186
+ (Ke.isWindows || Ke.isMacOS) && localStorage.setItem(Ot, String(t));
1187
+ }, $o = lt("div")(({
1189
1188
  theme: t
1190
1189
  }) => ({
1191
1190
  display: "flex",
@@ -1193,72 +1192,72 @@ const $t = 3600 * 24 * 365, Ao = at("div")(({
1193
1192
  justifyContent: "flex-end",
1194
1193
  padding: t.spacing(0, 1),
1195
1194
  ...t.mixins.toolbar
1196
- })), Eo = (t) => {
1197
- const e = F.c(29);
1198
- xo(We.Redirect);
1199
- const [n, o] = U(!1), r = !!In(), a = !!jn();
1195
+ })), Oo = (t) => {
1196
+ const e = U.c(29);
1197
+ vo(We.Redirect);
1198
+ const [n, o] = q(Do), r = !!Tn(), a = !!Cn();
1200
1199
  let i, l;
1201
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s.jsx(on, {}), l = /* @__PURE__ */ s.jsx(sn, {}), e[0] = i, e[1] = l) : (i = e[0], l = e[1]);
1202
- let c;
1203
- e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
1200
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s.jsx(an, {}), l = /* @__PURE__ */ s.jsx(ln, {}), e[0] = i, e[1] = l) : (i = e[0], l = e[1]);
1201
+ let u;
1202
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
1204
1203
  display: "flex",
1205
1204
  height: "100dvh",
1206
1205
  maxHeight: "100dvh",
1207
1206
  overflow: "hidden",
1208
1207
  width: "100%"
1209
- }, e[2] = c) : c = e[2];
1208
+ }, e[2] = u) : u = e[2];
1210
1209
  let f;
1211
1210
  e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
1212
1211
  borderBottom: "1px solid",
1213
1212
  borderColor: "var(--mui-palette-divider)",
1214
1213
  boxShadow: "none"
1215
1214
  }, e[3] = f) : f = e[3];
1216
- let u;
1217
- e[4] !== n || e[5] !== t.navigation ? (u = t.navigation && /* @__PURE__ */ s.jsx(He, { onClick: () => {
1218
- o(Mo);
1215
+ let d;
1216
+ e[4] !== n || e[5] !== t.navigation ? (d = t.navigation && /* @__PURE__ */ s.jsx(He, { onClick: () => {
1217
+ o(Po);
1219
1218
  }, sx: {
1220
1219
  marginRight: 2
1221
- }, children: n ? /* @__PURE__ */ s.jsx(Sn, {}) : /* @__PURE__ */ s.jsx(bn, {}) }), e[4] = n, e[5] = t.navigation, e[6] = u) : u = e[6];
1222
- let h, p;
1223
- e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ s.jsx(yo, {}), p = /* @__PURE__ */ s.jsx(Co, {}), e[7] = h, e[8] = p) : (h = e[7], p = e[8]);
1224
- let d;
1225
- e[9] !== u ? (d = /* @__PURE__ */ s.jsx(rn, { color: "transparent", position: "fixed", sx: f, children: /* @__PURE__ */ s.jsxs(an, { children: [
1226
- u,
1220
+ }, children: n ? /* @__PURE__ */ s.jsx(In, {}) : /* @__PURE__ */ s.jsx(wn, {}) }), e[4] = n, e[5] = t.navigation, e[6] = d) : d = e[6];
1221
+ let h, m;
1222
+ e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ s.jsx(bo, {}), m = /* @__PURE__ */ s.jsx(Eo, {}), e[7] = h, e[8] = m) : (h = e[7], m = e[8]);
1223
+ let c;
1224
+ e[9] !== d ? (c = /* @__PURE__ */ s.jsx(cn, { color: "transparent", position: "fixed", sx: f, children: /* @__PURE__ */ s.jsxs(un, { children: [
1225
+ d,
1227
1226
  h,
1228
- p
1229
- ] }) }), e[9] = u, e[10] = d) : d = e[10];
1230
- let b;
1231
- e[11] !== n || e[12] !== t.navigation ? (b = t.navigation && /* @__PURE__ */ s.jsx(To, { navigation: t.navigation, expanded: n, setExpanded: (w) => {
1232
- o(w), document.cookie = `navigationOpen=${w}; max-age=${$t}; path=/`;
1233
- } }), e[11] = n, e[12] = t.navigation, e[13] = b) : b = e[13];
1234
- let S, y;
1235
- e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {
1227
+ m
1228
+ ] }) }), e[9] = d, e[10] = c) : c = e[10];
1229
+ let v;
1230
+ e[11] !== n || e[12] !== t.navigation ? (v = t.navigation && /* @__PURE__ */ s.jsx(Ao, { navigation: t.navigation, expanded: n, setExpanded: (w) => {
1231
+ o(w), Pt(w);
1232
+ } }), e[11] = n, e[12] = t.navigation, e[13] = v) : v = e[13];
1233
+ let b, g;
1234
+ e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
1236
1235
  flexGrow: 1,
1237
1236
  display: "flex",
1238
1237
  flexDirection: "column",
1239
1238
  minWidth: 0,
1240
1239
  height: "100%",
1241
1240
  overflow: "hidden"
1242
- }, S = /* @__PURE__ */ s.jsx(Ao, {}), e[14] = S, e[15] = y) : (S = e[14], y = e[15]);
1243
- let v;
1244
- e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
1241
+ }, b = /* @__PURE__ */ s.jsx($o, {}), e[14] = b, e[15] = g) : (b = e[14], g = e[15]);
1242
+ let S;
1243
+ e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = {
1245
1244
  flex: 1,
1246
1245
  overflow: "auto",
1247
1246
  position: "relative"
1248
- }, e[16] = v) : v = e[16];
1249
- let g;
1250
- e[17] !== t.children ? (g = /* @__PURE__ */ s.jsxs(Ke, { component: "main", sx: y, children: [
1251
- S,
1252
- /* @__PURE__ */ s.jsx(Ke, { sx: v, children: t.children })
1253
- ] }), e[17] = t.children, e[18] = g) : g = e[18];
1254
- let m;
1255
- e[19] !== g || e[20] !== d || e[21] !== b ? (m = /* @__PURE__ */ s.jsxs(Ke, { sx: c, children: [
1256
- d,
1247
+ }, e[16] = S) : S = e[16];
1248
+ let x;
1249
+ e[17] !== t.children ? (x = /* @__PURE__ */ s.jsxs(Ge, { component: "main", sx: g, children: [
1257
1250
  b,
1258
- g
1259
- ] }), e[19] = g, e[20] = d, e[21] = b, e[22] = m) : m = e[22];
1251
+ /* @__PURE__ */ s.jsx(Ge, { sx: S, children: t.children })
1252
+ ] }), e[17] = t.children, e[18] = x) : x = e[18];
1253
+ let p;
1254
+ e[19] !== x || e[20] !== c || e[21] !== v ? (p = /* @__PURE__ */ s.jsxs(Ge, { sx: u, children: [
1255
+ c,
1256
+ v,
1257
+ x
1258
+ ] }), e[19] = x, e[20] = c, e[21] = v, e[22] = p) : p = e[22];
1260
1259
  let k;
1261
- e[23] !== r || e[24] !== a ? (k = (r || a) && /* @__PURE__ */ s.jsx(ln, { sx: {
1260
+ e[23] !== r || e[24] !== a ? (k = (r || a) && /* @__PURE__ */ s.jsx(dn, { sx: {
1262
1261
  position: "fixed",
1263
1262
  top: {
1264
1263
  xs: 56,
@@ -1267,55 +1266,55 @@ const $t = 3600 * 24 * 365, Ao = at("div")(({
1267
1266
  left: 0,
1268
1267
  right: 0
1269
1268
  } }), e[23] = r, e[24] = a, e[25] = k) : k = e[25];
1270
- let x;
1271
- return e[26] !== m || e[27] !== k ? (x = /* @__PURE__ */ s.jsxs(ho, { children: [
1269
+ let y;
1270
+ return e[26] !== p || e[27] !== k ? (y = /* @__PURE__ */ s.jsxs(xo, { children: [
1272
1271
  i,
1273
1272
  l,
1274
- m,
1273
+ p,
1275
1274
  k
1276
- ] }), e[26] = m, e[27] = k, e[28] = x) : x = e[28], x;
1275
+ ] }), e[26] = p, e[27] = k, e[28] = y) : y = e[28], y;
1277
1276
  };
1278
- function Mo(t) {
1277
+ function Po(t) {
1279
1278
  const e = !t;
1280
- return document.cookie = `navigationOpen=${e}; max-age=${$t}; path=/`, e;
1279
+ return Pt(e), e;
1281
1280
  }
1282
- const Do = 1440 * 365;
1283
- z.use(Et).use(fo).init({
1284
- resources: ft,
1281
+ const Ro = 1440 * 365;
1282
+ z.use(Mt).use(mo).init({
1283
+ resources: mt,
1285
1284
  fallbackLng: "en",
1286
- supportedLngs: Object.keys(ft),
1285
+ supportedLngs: Object.keys(mt),
1287
1286
  detection: {
1288
1287
  caches: ["cookie"],
1289
- cookieMinutes: Do
1288
+ cookieMinutes: Ro
1290
1289
  },
1291
1290
  interpolation: {
1292
1291
  escapeValue: !1
1293
1292
  }
1294
1293
  });
1295
- const wi = (t) => {
1296
- const e = F.c(9), {
1294
+ const _i = (t) => {
1295
+ const e = U.c(9), {
1297
1296
  navigation: n,
1298
1297
  theme: o,
1299
1298
  children: r
1300
- } = t, a = hn($o);
1299
+ } = t, a = yn(No);
1301
1300
  let i;
1302
1301
  e[0] !== a ? (i = () => (a(), z.on("languageChanged", a), () => {
1303
1302
  z.off("languageChanged", a);
1304
1303
  }), e[0] = a, e[1] = i) : i = e[1];
1305
1304
  let l;
1306
- e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [], e[2] = l) : l = e[2], q(i, l);
1307
- let c;
1308
- e[3] !== r || e[4] !== n ? (c = /* @__PURE__ */ s.jsx(un, { dateAdapter: dn, adapterLocale: z.language, children: /* @__PURE__ */ s.jsx(mo, { children: /* @__PURE__ */ s.jsx(Qt, { children: /* @__PURE__ */ s.jsx(Eo, { navigation: n, children: r }) }) }) }, z.language), e[3] = r, e[4] = n, e[5] = c) : c = e[5];
1305
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [], e[2] = l) : l = e[2], F(i, l);
1306
+ let u;
1307
+ e[3] !== r || e[4] !== n ? (u = /* @__PURE__ */ s.jsx(pn, { dateAdapter: mn, adapterLocale: z.language, children: /* @__PURE__ */ s.jsx(ho, { children: /* @__PURE__ */ s.jsx(Yt, { children: /* @__PURE__ */ s.jsx(Oo, { navigation: n, children: r }) }) }) }, z.language), e[3] = r, e[4] = n, e[5] = u) : u = e[5];
1309
1308
  let f;
1310
- return e[6] !== c || e[7] !== o ? (f = /* @__PURE__ */ s.jsx(cn, { theme: o, children: c }), e[6] = c, e[7] = o, e[8] = f) : f = e[8], f;
1309
+ return e[6] !== u || e[7] !== o ? (f = /* @__PURE__ */ s.jsx(fn, { theme: o, children: u }), e[6] = u, e[7] = o, e[8] = f) : f = e[8], f;
1311
1310
  };
1312
- function $o() {
1313
- mt.config(mt.core.locales[z.language]()), fn.locale(z.language);
1311
+ function No() {
1312
+ ht.config(ht.core.locales[z.language]()), hn.locale(z.language);
1314
1313
  }
1315
1314
  export {
1316
- wi as LayoutProvider,
1317
- _i as WISTRON_PRIMARY_COLOR,
1318
- Ti as WISTRON_SECONDARY_COLOR,
1319
- Ci as rootRouteHead
1315
+ _i as LayoutProvider,
1316
+ Li as WISTRON_PRIMARY_COLOR,
1317
+ Ai as WISTRON_SECONDARY_COLOR,
1318
+ Ei as rootRouteHead
1320
1319
  };
1321
1320
  //# sourceMappingURL=index.js.map