wcz-test 7.0.2 → 7.1.1

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