wcz-test 7.0.0 → 7.0.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { LayoutProvider } from '../providers/LayoutProvider';
2
2
  import { Navigation } from '../models/Navigation';
3
- import { queryClient } from '../lib/queryClient';
4
3
  import { rootRouteHead } from '../lib/utils';
5
4
  import { setSSRLanguage } from '../providers/LayoutProvider';
6
5
  import { WISTRON_PRIMARY_COLOR } from '../lib/utils';
@@ -10,8 +9,6 @@ export { LayoutProvider }
10
9
 
11
10
  export { Navigation }
12
11
 
13
- export { queryClient }
14
-
15
12
  export { rootRouteHead }
16
13
 
17
14
  export { setSSRLanguage }
package/dist/index.js CHANGED
@@ -14,51 +14,51 @@ import Xe from "@mui/utils/useEventCallback";
14
14
  import Vt from "@mui/icons-material/Menu";
15
15
  import Zt from "@mui/icons-material/MenuOpen";
16
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, QueryClient as no } from "@tanstack/react-query";
18
- import { a as io } from "./index-Y_pgyGkL.js";
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
19
  import xt from "@mui/material/Box";
20
20
  import st from "@mui/material/Drawer";
21
- import { useNavigate as so, useRouterState as ro, useRouter as lo } from "@tanstack/react-router";
22
- import ao from "@mui/material/Divider";
23
- import co from "@mui/material/List";
24
- import uo from "@mui/material/ListSubheader";
25
- import fo from "@mui/icons-material/ExpandMore";
26
- import mo from "@mui/material/Avatar";
27
- import po from "@mui/material/ListItem";
28
- import ho from "@mui/material/ListItemButton";
29
- import go from "@mui/material/ListItemIcon";
30
- import xo from "@mui/material/ListItemText";
31
- import yo from "@mui/material/Paper";
32
- import vo from "@mui/material/Popper";
33
- import So from "@mui/material/Typography";
34
- import { R as bo } from "./RouterListItemButton-C_jUvB6C.js";
35
- import ko from "@mui/icons-material/AccountCircle";
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
36
  import rt from "@mui/icons-material/ArrowBack";
37
- import wo from "@mui/icons-material/Brightness4";
37
+ import ko from "@mui/icons-material/Brightness4";
38
38
  import lt from "@mui/icons-material/ChevronRight";
39
- import jo from "@mui/icons-material/DarkMode";
40
- import _o from "@mui/icons-material/Done";
41
- import Lo from "@mui/icons-material/LightMode";
42
- import Co from "@mui/icons-material/Logout";
43
- import Io from "@mui/icons-material/SettingsBrightness";
44
- import Do from "@mui/icons-material/Translate";
45
- import { i as Ge, j as To } from "./GraphQueries-BOAnio_H.js";
46
- import { W as ci, a as di, r as ui } from "./utils-araYIHAE.js";
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 { i as Ge, j as Do } from "./GraphQueries-BOAnio_H.js";
46
+ import { W as li, a as ai, r as ci } from "./utils-araYIHAE.js";
47
47
  const {
48
- slice: Eo,
49
- forEach: $o
48
+ slice: To,
49
+ forEach: Eo
50
50
  } = [];
51
- function Ao(t) {
52
- return $o.call(Eo.call(arguments, 1), (e) => {
51
+ function $o(t) {
52
+ return Eo.call(To.call(arguments, 1), (e) => {
53
53
  if (e)
54
54
  for (const o in e)
55
55
  t[o] === void 0 && (t[o] = e[o]);
56
56
  }), t;
57
57
  }
58
- function Mo(t) {
58
+ function Ao(t) {
59
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));
60
60
  }
61
- const at = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Oo = function(t, e) {
61
+ const at = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Mo = function(t, e) {
62
62
  const n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
63
63
  path: "/"
64
64
  }, r = encodeURIComponent(e);
@@ -107,7 +107,7 @@ const at = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Oo = function(t, e) {
107
107
  path: "/",
108
108
  sameSite: "strict"
109
109
  };
110
- o && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + o * 60 * 1e3)), n && (r.domain = n), document.cookie = Oo(t, e, r);
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);
111
111
  },
112
112
  read(t) {
113
113
  const e = `${t}=`, o = document.cookie.split(";");
@@ -122,7 +122,7 @@ const at = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Oo = function(t, e) {
122
122
  this.create(t, "", -1, e);
123
123
  }
124
124
  };
125
- var Po = {
125
+ var Oo = {
126
126
  name: "cookie",
127
127
  // Deconstruct the options object and extract the lookupCookie property
128
128
  lookup(t) {
@@ -142,7 +142,7 @@ var Po = {
142
142
  } = e;
143
143
  o && typeof document < "u" && ct.create(o, t, n, r, l);
144
144
  }
145
- }, No = {
145
+ }, Po = {
146
146
  name: "querystring",
147
147
  // Deconstruct the options object and extract the lookupQuerystring property
148
148
  lookup(t) {
@@ -162,7 +162,7 @@ var Po = {
162
162
  }
163
163
  return o;
164
164
  }
165
- }, Ro = {
165
+ }, No = {
166
166
  name: "hash",
167
167
  // Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
168
168
  lookup(t) {
@@ -206,7 +206,7 @@ const dt = () => {
206
206
  }
207
207
  return re;
208
208
  };
209
- var Fo = {
209
+ var Ro = {
210
210
  name: "localStorage",
211
211
  // Deconstruct the options object and extract the lookupLocalStorage property
212
212
  lookup(t) {
@@ -237,7 +237,7 @@ const ut = () => {
237
237
  }
238
238
  return le;
239
239
  };
240
- var Bo = {
240
+ var Fo = {
241
241
  name: "sessionStorage",
242
242
  lookup(t) {
243
243
  let {
@@ -252,7 +252,7 @@ var Bo = {
252
252
  } = e;
253
253
  o && ut() && window.sessionStorage.setItem(o, t);
254
254
  }
255
- }, zo = {
255
+ }, Bo = {
256
256
  name: "navigator",
257
257
  lookup(t) {
258
258
  const e = [];
@@ -269,7 +269,7 @@ var Bo = {
269
269
  }
270
270
  return e.length > 0 ? e : void 0;
271
271
  }
272
- }, Uo = {
272
+ }, zo = {
273
273
  name: "htmlTag",
274
274
  // Deconstruct the options object and extract the htmlTag property
275
275
  lookup(t) {
@@ -279,7 +279,7 @@ var Bo = {
279
279
  const n = e || (typeof document < "u" ? document.documentElement : null);
280
280
  return n && typeof n.getAttribute == "function" && (o = n.getAttribute("lang")), o;
281
281
  }
282
- }, Wo = {
282
+ }, Uo = {
283
283
  name: "path",
284
284
  // Deconstruct the options object and extract the lookupFromPathIndex property
285
285
  lookup(t) {
@@ -290,7 +290,7 @@ var Bo = {
290
290
  const o = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
291
291
  return Array.isArray(o) ? o[typeof e == "number" ? e : 0]?.replace("/", "") : void 0;
292
292
  }
293
- }, Ho = {
293
+ }, Wo = {
294
294
  name: "subdomain",
295
295
  lookup(t) {
296
296
  let {
@@ -308,7 +308,7 @@ try {
308
308
  }
309
309
  const vt = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
310
310
  yt || vt.splice(1, 1);
311
- const qo = () => ({
311
+ const Ho = () => ({
312
312
  order: vt,
313
313
  lookupQuerystring: "lng",
314
314
  lookupCookie: "i18next",
@@ -330,7 +330,7 @@ class St {
330
330
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
331
331
  languageUtils: {}
332
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 = Ao(o, this.options || {}, qo()), 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(Po), this.addDetector(No), this.addDetector(Fo), this.addDetector(Bo), this.addDetector(zo), this.addDetector(Uo), this.addDetector(Wo), this.addDetector(Ho), this.addDetector(Ro);
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);
334
334
  }
335
335
  addDetector(e) {
336
336
  return this.detectors[e.name] = e, this;
@@ -342,7 +342,7 @@ class St {
342
342
  let r = this.detectors[n].lookup(this.options);
343
343
  r && typeof r == "string" && (r = [r]), r && (o = o.concat(r));
344
344
  }
345
- }), o = o.filter((n) => n != null && !Mo(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? o : o.length > 0 ? o[0] : null;
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;
346
346
  }
347
347
  cacheUserLanguage(e) {
348
348
  let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
@@ -352,13 +352,13 @@ class St {
352
352
  }
353
353
  }
354
354
  St.type = "languageDetector";
355
- const Qo = {
355
+ const qo = {
356
356
  type: "3rdParty",
357
357
  init(t) {
358
358
  Lt(t.options.react), Ct(t);
359
359
  }
360
360
  };
361
- function Ko({
361
+ function Qo({
362
362
  children: t
363
363
  }) {
364
364
  const [e, o] = U([]), n = Xt(), r = ot(0), l = ot(/* @__PURE__ */ new WeakMap()), s = Xe(function(p, m, f = {}) {
@@ -415,15 +415,15 @@ function Ko({
415
415
  } }, u))
416
416
  ] });
417
417
  }
418
- const Yo = () => {
418
+ const Ko = () => {
419
419
  const t = B.c(1);
420
420
  let e;
421
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
422
  /* @__PURE__ */ i.jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
423
- /* @__PURE__ */ i.jsx(Et, { variant: "h6", children: io.VITE_APP_TITLE }),
423
+ /* @__PURE__ */ i.jsx(Et, { variant: "h6", children: no.VITE_APP_TITLE }),
424
424
  /* @__PURE__ */ i.jsx($t, { size: "small", label: "TEST", color: "info" })
425
425
  ] }), t[0] = e) : e = t[0], e;
426
- }, Ve = 34, Xo = Je(ho)(({
426
+ }, Ve = 34, Yo = Je(po)(({
427
427
  theme: t
428
428
  }) => ({
429
429
  borderRadius: 8,
@@ -444,7 +444,7 @@ const Yo = () => {
444
444
  "& .MuiAvatar-root": {
445
445
  backgroundColor: (t.vars ?? t).palette.action.active
446
446
  }
447
- })), Go = Je(bo)(({
447
+ })), Xo = Je(So)(({
448
448
  theme: t
449
449
  }) => ({
450
450
  borderRadius: 8,
@@ -465,7 +465,7 @@ const Yo = () => {
465
465
  "& .MuiAvatar-root": {
466
466
  backgroundColor: (t.vars ?? t).palette.action.active
467
467
  }
468
- })), Vo = (t) => {
468
+ })), Go = (t) => {
469
469
  const e = B.c(17), {
470
470
  item: o,
471
471
  collapsed: n
@@ -487,18 +487,18 @@ const Yo = () => {
487
487
  }, e[2] = l) : l = e[2];
488
488
  const s = o.icon ?? null;
489
489
  let a;
490
- e[3] !== n || e[4] !== o.icon || e[5] !== o.title ? (a = !o.icon && n ? /* @__PURE__ */ i.jsx(mo, { sx: {
490
+ e[3] !== n || e[4] !== o.icon || e[5] !== o.title ? (a = !o.icon && n ? /* @__PURE__ */ i.jsx(fo, { sx: {
491
491
  width: Ve - 7,
492
492
  height: Ve - 7,
493
493
  fontSize: 12
494
494
  }, children: o.title }) : null, e[3] = n, e[4] = o.icon, e[5] = o.title, e[6] = a) : a = e[6];
495
495
  let c;
496
- e[7] !== s || e[8] !== a ? (c = /* @__PURE__ */ i.jsxs(go, { sx: l, children: [
496
+ e[7] !== s || e[8] !== a ? (c = /* @__PURE__ */ i.jsxs(ho, { sx: l, children: [
497
497
  s,
498
498
  a
499
499
  ] }), e[7] = s, e[8] = a, e[9] = c) : c = e[9];
500
500
  let d;
501
- e[10] !== n || e[11] !== o.title ? (d = n ? /* @__PURE__ */ i.jsx(So, { variant: "caption", sx: {
501
+ e[10] !== n || e[11] !== o.title ? (d = n ? /* @__PURE__ */ i.jsx(vo, { variant: "caption", sx: {
502
502
  position: "absolute",
503
503
  bottom: -18,
504
504
  left: "50%",
@@ -518,7 +518,7 @@ const Yo = () => {
518
518
  ] }), e[13] = r, e[14] = c, e[15] = d, e[16] = u) : u = e[16], u;
519
519
  }
520
520
  return null;
521
- }, Zo = (t) => {
521
+ }, Vo = (t) => {
522
522
  const e = B.c(10), {
523
523
  open: o,
524
524
  anchorEl: n,
@@ -554,10 +554,10 @@ const Yo = () => {
554
554
  overscrollBehavior: "contain"
555
555
  }, e[3] = c) : c = e[3];
556
556
  let d;
557
- e[4] !== r ? (d = /* @__PURE__ */ i.jsx(yo, { sx: c, children: r }), e[4] = r, e[5] = d) : d = e[5];
557
+ e[4] !== r ? (d = /* @__PURE__ */ i.jsx(xo, { sx: c, children: r }), e[4] = r, e[5] = d) : d = e[5];
558
558
  let u;
559
- return e[6] !== n || e[7] !== o || e[8] !== d ? (u = /* @__PURE__ */ i.jsx(vo, { 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
- }, Jo = (t) => {
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
561
  const e = B.c(57), {
562
562
  item: o,
563
563
  isOpen: n,
@@ -597,9 +597,9 @@ const Yo = () => {
597
597
  }, e[8] = l, e[9] = r, e[10] = y, e[11] = w) : w = e[11];
598
598
  const O = w;
599
599
  let T;
600
- e[12] !== s || e[13] !== o ? (T = /* @__PURE__ */ i.jsx(Vo, { item: o, collapsed: s }), e[12] = s, e[13] = o, e[14] = T) : T = e[14];
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
601
  let C;
602
- e[15] !== s || e[16] !== o.title ? (C = !s && /* @__PURE__ */ i.jsx(xo, { primary: o.title, slotProps: {
602
+ e[15] !== s || e[16] !== o.title ? (C = !s && /* @__PURE__ */ i.jsx(go, { primary: o.title, slotProps: {
603
603
  primary: {
604
604
  noWrap: !0,
605
605
  title: o.title
@@ -615,7 +615,7 @@ const Yo = () => {
615
615
  }
616
616
  } }), e[15] = s, e[16] = o.title, e[17] = C) : C = e[17];
617
617
  let j;
618
- e[18] !== h || e[19] !== o.children ? (j = o.children ? /* @__PURE__ */ i.jsx(fo, { sx: h }) : null, e[18] = h, e[19] = o.children, e[20] = j) : j = e[20];
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];
619
619
  let I;
620
620
  e[21] !== T || e[22] !== C || e[23] !== j ? (I = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
621
621
  T,
@@ -639,11 +639,11 @@ const Yo = () => {
639
639
  overflowX: "hidden"
640
640
  }, e[29] = M) : M = e[29];
641
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(Xo, { ...O, onClick: () => d?.(o), children: $ }) : /* @__PURE__ */ i.jsx(Go, { ...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];
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];
643
643
  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(Zo, { 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];
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
645
  let D;
646
- e[44] !== A || e[45] !== L || e[46] !== _ ? (D = /* @__PURE__ */ i.jsxs(po, { ...A, sx: M, children: [
646
+ e[44] !== A || e[45] !== L || e[46] !== _ ? (D = /* @__PURE__ */ i.jsxs(mo, { ...A, sx: M, children: [
647
647
  L,
648
648
  _
649
649
  ] }), e[44] = A, e[45] = L, e[46] = _, e[47] = D) : D = e[47];
@@ -655,7 +655,7 @@ const Yo = () => {
655
655
  P,
656
656
  E
657
657
  ] }, o.to), e[53] = o.to, e[54] = P, e[55] = E, e[56] = N) : N = e[56], N;
658
- }, en = (t) => !("kind" in t), tn = (t) => "kind" in t && t.kind === "divider", Ze = (t) => "kind" in t && t.kind === "header", bt = (t) => {
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
659
  const e = B.c(31), {
660
660
  subNavigation: o,
661
661
  depth: n,
@@ -684,7 +684,7 @@ const Yo = () => {
684
684
  const O = w;
685
685
  let T;
686
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(on), 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";
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
688
  let L;
689
689
  e[25] !== I || e[26] !== $ || e[27] !== A || e[28] !== M || e[29] !== j ? (L = {
690
690
  padding: 0,
@@ -693,9 +693,9 @@ const Yo = () => {
693
693
  pl: $,
694
694
  minWidth: A,
695
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(co, { sx: L, children: C.map((_, D) => {
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
697
  if (Ze(_))
698
- return /* @__PURE__ */ i.jsx(uo, { sx: {
698
+ return /* @__PURE__ */ i.jsx(co, { sx: {
699
699
  fontSize: 12,
700
700
  fontWeight: "700",
701
701
  height: r ? 0 : 40,
@@ -708,34 +708,34 @@ const Yo = () => {
708
708
  bgcolor: "transparent",
709
709
  position: "static"
710
710
  }, children: _.title }, `subheader-${f}-${D}`);
711
- if (tn(_)) {
711
+ if (en(_)) {
712
712
  const N = C[D + 1];
713
- return /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(ao, { sx: {
713
+ return /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(lo, { sx: {
714
714
  mx: 1,
715
715
  mt: 1,
716
716
  mb: Ze(N) && !r ? 0 : 1
717
717
  } }) }, `divider-${f}-${D}`);
718
718
  }
719
- if (!en(_))
719
+ if (!Jo(_))
720
720
  return null;
721
721
  const P = `item-${f}-${D}`, E = `${f}-${D}-${_.title}`;
722
722
  return d ? /* @__PURE__ */ i.jsx(Ue, { children: d(_, {
723
723
  collapsed: !!r
724
- }) }, P) : /* @__PURE__ */ i.jsx(Jo, { 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);
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
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;
726
726
  } else
727
727
  T = e[24];
728
728
  return T;
729
729
  };
730
- function on(t) {
730
+ function tn(t) {
731
731
  return !t.hidden;
732
732
  }
733
- const ze = 84, Fe = 320, ft = 64, nn = (t) => {
733
+ const ze = 84, Fe = 320, ft = 64, on = (t) => {
734
734
  const e = B.c(29), {
735
735
  navigation: o,
736
736
  expanded: n,
737
737
  setExpanded: r
738
- } = t, l = so(), s = ro(), a = Jt();
738
+ } = t, l = io(), s = so(), a = Jt();
739
739
  let c;
740
740
  e[0] !== a.breakpoints ? (c = a.breakpoints.up("sm"), e[0] = a.breakpoints, e[1] = c) : c = e[1];
741
741
  const d = Mt(c);
@@ -780,14 +780,14 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
780
780
  e[22] !== p || e[23] !== f ? (x = p(f), e[22] = p, e[23] = f, e[24] = x) : x = e[24];
781
781
  let v;
782
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), sn = () => {
783
+ }, mt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), nn = () => {
784
784
  const t = B.c(122), [e, o] = U(), [n, r] = U("settings"), l = !!e, {
785
785
  t: s,
786
786
  i18n: a
787
787
  } = Dt(), {
788
788
  mode: c,
789
789
  setMode: d
790
- } = Ot(), u = lo(), p = eo();
790
+ } = Ot(), u = ro(), p = eo();
791
791
  let m;
792
792
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = Ge.sessionUserPhoto(), t[0] = m) : m = t[0];
793
793
  const {
@@ -805,7 +805,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
805
805
  } = it(v);
806
806
  let b, h, g, k, y, w, O;
807
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(rn), et = new Intl.DisplayNames([a.language], {
808
+ const wt = (Array.isArray(a.options.supportedLngs) ? a.options.supportedLngs : []).filter(sn), et = new Intl.DisplayNames([a.language], {
809
809
  type: "language"
810
810
  });
811
811
  let q;
@@ -813,7 +813,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
813
813
  let Q;
814
814
  t[17] !== q ? (Q = {
815
815
  mode: "light",
816
- icon: Lo,
816
+ icon: _o,
817
817
  label: q
818
818
  }, t[17] = q, t[18] = Q) : Q = t[18];
819
819
  let K;
@@ -821,7 +821,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
821
821
  let Y;
822
822
  t[21] !== K ? (Y = {
823
823
  mode: "dark",
824
- icon: jo,
824
+ icon: wo,
825
825
  label: K
826
826
  }, t[21] = K, t[22] = Y) : Y = t[22];
827
827
  let X;
@@ -829,7 +829,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
829
829
  let G;
830
830
  t[25] !== X ? (G = {
831
831
  mode: "system",
832
- icon: Io,
832
+ icon: Co,
833
833
  label: X
834
834
  }, t[25] = X, t[26] = G) : G = t[26];
835
835
  let fe;
@@ -857,7 +857,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
857
857
  py: 0.3
858
858
  }, t[39] = ve, t[40] = Se) : (ve = t[39], Se = t[40]);
859
859
  let be;
860
- t[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(wo, {}) }), t[41] = be) : be = t[41];
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];
861
861
  let J;
862
862
  t[42] !== s ? (J = s("Layout.Appearance"), t[42] = s, t[43] = J) : J = t[43];
863
863
  const qe = me.find((R) => R.mode === c)?.label;
@@ -876,7 +876,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
876
876
  py: 0.3
877
877
  }, t[50] = we, t[51] = je) : (we = t[50], je = t[51]);
878
878
  let _e;
879
- t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Do, {}) }), t[52] = _e) : _e = t[52];
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
880
  let Le;
881
881
  t[53] !== s ? (Le = s("Layout.Language"), t[53] = s, t[54] = Le) : Le = t[54];
882
882
  let Ce;
@@ -945,7 +945,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
945
945
  " ",
946
946
  se
947
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(_o, {}) }),
948
+ /* @__PURE__ */ i.jsx(de, { children: a.resolvedLanguage === R && /* @__PURE__ */ i.jsx(jo, {}) }),
949
949
  /* @__PURE__ */ i.jsx(z, { primary: mt(et.of(R)) })
950
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;
951
951
  } else
@@ -965,7 +965,7 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
965
965
  xs: 32,
966
966
  sm: 40
967
967
  }
968
- } }) : /* @__PURE__ */ i.jsx(ko, { sx: {
968
+ } }) : /* @__PURE__ */ i.jsx(bo, { sx: {
969
969
  width: {
970
970
  xs: 32,
971
971
  sm: 40
@@ -984,13 +984,13 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
984
984
  let M;
985
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
986
  let L;
987
- t[96] !== u ? (L = () => To.signOut({
987
+ t[96] !== u ? (L = () => Do.signOut({
988
988
  fetchOptions: {
989
989
  onSuccess: () => u.invalidate()
990
990
  }
991
991
  }), t[96] = u, t[97] = L) : L = t[97];
992
992
  let _;
993
- t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Co, { color: "error" }) }), t[98] = _) : _ = t[98];
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];
994
994
  let D;
995
995
  t[99] !== s ? (D = s("Layout.Logout"), t[99] = s, t[100] = D) : D = t[100];
996
996
  let P;
@@ -1021,13 +1021,13 @@ const ze = 84, Fe = 320, ft = 64, nn = (t) => {
1021
1021
  H
1022
1022
  ] }), t[119] = H, t[120] = $, t[121] = ue) : ue = t[121], ue;
1023
1023
  };
1024
- function rn(t) {
1024
+ function sn(t) {
1025
1025
  return t !== "cimode";
1026
1026
  }
1027
- const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "true").client(() => {
1027
+ const kt = 3600 * 24 * 365, rn = Kt().server(() => pt("navigationOpen") === "true").client(() => {
1028
1028
  const t = document.cookie.split("; ").find((e) => e.startsWith("navigationOpen="));
1029
1029
  return t ? t.split("=")[1] === "true" : !1;
1030
- }), an = Je("div")(({
1030
+ }), ln = Je("div")(({
1031
1031
  theme: t
1032
1032
  }) => ({
1033
1033
  display: "flex",
@@ -1035,8 +1035,8 @@ const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "tru
1035
1035
  justifyContent: "flex-end",
1036
1036
  padding: t.spacing(0, 1),
1037
1037
  ...t.mixins.toolbar
1038
- })), cn = (t) => {
1039
- const e = B.c(29), [o, n] = U(ln), r = !!to(), l = !!oo();
1038
+ })), an = (t) => {
1039
+ const e = B.c(29), [o, n] = U(rn), r = !!to(), l = !!oo();
1040
1040
  let s, a;
1041
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]);
1042
1042
  let c;
@@ -1055,12 +1055,12 @@ const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "tru
1055
1055
  }, e[3] = d) : d = e[3];
1056
1056
  let u;
1057
1057
  e[4] !== o || e[5] !== t.navigation ? (u = t.navigation && /* @__PURE__ */ i.jsx(Ne, { onClick: () => {
1058
- n(dn);
1058
+ n(cn);
1059
1059
  }, sx: {
1060
1060
  marginRight: 2
1061
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
1062
  let p, m;
1063
- e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ i.jsx(Yo, {}), m = /* @__PURE__ */ i.jsx(sn, {}), e[7] = p, e[8] = m) : (p = e[7], m = e[8]);
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
1064
  let f;
1065
1065
  e[9] !== u ? (f = /* @__PURE__ */ i.jsx(zt, { color: "transparent", position: "fixed", sx: d, children: /* @__PURE__ */ i.jsxs(Ut, { children: [
1066
1066
  u,
@@ -1068,7 +1068,7 @@ const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "tru
1068
1068
  m
1069
1069
  ] }) }), e[9] = u, e[10] = f) : f = e[10];
1070
1070
  let x;
1071
- e[11] !== o || e[12] !== t.navigation ? (x = t.navigation && /* @__PURE__ */ i.jsx(nn, { navigation: t.navigation, expanded: o, setExpanded: (w) => {
1071
+ e[11] !== o || e[12] !== t.navigation ? (x = t.navigation && /* @__PURE__ */ i.jsx(on, { navigation: t.navigation, expanded: o, setExpanded: (w) => {
1072
1072
  n(w), document.cookie = `navigationOpen=${w}; max-age=${kt}; path=/`;
1073
1073
  } }), e[11] = o, e[12] = t.navigation, e[13] = x) : x = e[13];
1074
1074
  let v, S;
@@ -1079,7 +1079,7 @@ const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "tru
1079
1079
  minWidth: 0,
1080
1080
  height: "100%",
1081
1081
  overflow: "hidden"
1082
- }, v = /* @__PURE__ */ i.jsx(an, {}), e[14] = v, e[15] = S) : (v = e[14], S = e[15]);
1082
+ }, v = /* @__PURE__ */ i.jsx(ln, {}), e[14] = v, e[15] = S) : (v = e[14], S = e[15]);
1083
1083
  let b;
1084
1084
  e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = {
1085
1085
  flex: 1,
@@ -1115,29 +1115,29 @@ const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "tru
1115
1115
  k
1116
1116
  ] }), e[26] = g, e[27] = k, e[28] = y) : y = e[28], y;
1117
1117
  };
1118
- function dn(t) {
1118
+ function cn(t) {
1119
1119
  const e = !t;
1120
1120
  return document.cookie = `navigationOpen=${e}; max-age=${kt}; path=/`, e;
1121
1121
  }
1122
- const un = 1440 * 365;
1123
- F.use(St).use(Qo).init({
1122
+ const dn = 1440 * 365;
1123
+ F.use(St).use(qo).init({
1124
1124
  resources: nt,
1125
1125
  fallbackLng: "en",
1126
1126
  supportedLngs: Object.keys(nt),
1127
1127
  detection: {
1128
1128
  caches: ["cookie"],
1129
- cookieMinutes: un
1129
+ cookieMinutes: dn
1130
1130
  },
1131
1131
  interpolation: {
1132
1132
  escapeValue: !1
1133
1133
  }
1134
1134
  });
1135
- const ii = (t) => {
1135
+ const ni = (t) => {
1136
1136
  const e = B.c(9), {
1137
1137
  navigation: o,
1138
1138
  theme: n,
1139
1139
  children: r
1140
- } = t, l = Gt(fn);
1140
+ } = t, l = Gt(un);
1141
1141
  let s;
1142
1142
  e[0] !== l ? (s = () => (l(), F.on("languageChanged", l), () => {
1143
1143
  F.off("languageChanged", l);
@@ -1145,23 +1145,21 @@ const ii = (t) => {
1145
1145
  let a;
1146
1146
  e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2], gt(s, a);
1147
1147
  let c;
1148
- e[3] !== r || e[4] !== o ? (c = /* @__PURE__ */ i.jsx(qt, { dateAdapter: Qt, adapterLocale: F.language, children: /* @__PURE__ */ i.jsx(Ko, { children: /* @__PURE__ */ i.jsx(cn, { navigation: o, children: r }) }) }, F.language), e[3] = r, e[4] = o, e[5] = c) : c = e[5];
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
1149
  let d;
1150
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
- }, si = Yt().handler(async () => {
1151
+ }, ii = Yt().handler(async () => {
1152
1152
  const t = pt(F.services.languageDetector.options.lookupCookie) || "en";
1153
1153
  Be.config(Be.core.locales[t]()), ht.locale(t), await F.changeLanguage(t);
1154
1154
  });
1155
- function fn() {
1155
+ function un() {
1156
1156
  Be.config(Be.core.locales[F.language]()), ht.locale(F.language);
1157
1157
  }
1158
- const ri = new no();
1159
1158
  export {
1160
- ii as LayoutProvider,
1161
- ci as WISTRON_PRIMARY_COLOR,
1162
- di as WISTRON_SECONDARY_COLOR,
1163
- ri as queryClient,
1164
- ui as rootRouteHead,
1165
- si as setSSRLanguage
1159
+ ni as LayoutProvider,
1160
+ li as WISTRON_PRIMARY_COLOR,
1161
+ ai as WISTRON_SECONDARY_COLOR,
1162
+ ci as rootRouteHead,
1163
+ ii as setSSRLanguage
1166
1164
  };
1167
1165
  //# sourceMappingURL=index.js.map