wcz-test 6.27.2 → 6.28.0
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/DialogsContext-CGAKEKKW.js +546 -0
- package/dist/DialogsContext-CGAKEKKW.js.map +1 -0
- package/dist/DialogsHooks-BZUdpDVJ.js +231 -0
- package/dist/{DialogsHooks-DzqOb2Zx.js.map → DialogsHooks-BZUdpDVJ.js.map} +1 -1
- package/dist/{FileHooks-C8Akmy_o.js → FileHooks-DCznEPaA.js} +65 -61
- package/dist/{FileHooks-C8Akmy_o.js.map → FileHooks-DCznEPaA.js.map} +1 -1
- package/dist/RouterListItemButton-C_jUvB6C.js +18 -0
- package/dist/RouterListItemButton-C_jUvB6C.js.map +1 -0
- package/dist/compiler-runtime-BNHg76kC.js +37 -0
- package/dist/compiler-runtime-BNHg76kC.js.map +1 -0
- package/dist/components.js +1652 -1013
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +278 -278
- package/dist/hooks.js.map +1 -1
- package/dist/i18next-Bx3TmZAT.js +1337 -0
- package/dist/i18next-Bx3TmZAT.js.map +1 -0
- package/dist/index.js +842 -973
- package/dist/index.js.map +1 -1
- package/dist/queries.js +85 -85
- package/dist/queries.js.map +1 -1
- package/dist/utils-DV30kRxW.js +1921 -0
- package/dist/utils-DV30kRxW.js.map +1 -0
- package/dist/utils.js +4 -5
- package/dist/utils.js.map +1 -1
- package/package.json +1 -4
- package/dist/DialogsContext-2Yy6yhzQ.js +0 -6
- package/dist/DialogsContext-2Yy6yhzQ.js.map +0 -1
- package/dist/DialogsHooks-DzqOb2Zx.js +0 -233
- package/dist/RouterListItemButton-i4Ne2G-Z.js +0 -508
- package/dist/RouterListItemButton-i4Ne2G-Z.js.map +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +0 -1
- package/dist/utils-IWcYo8tM.js +0 -106
- package/dist/utils-IWcYo8tM.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,559 +1,428 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as B } from "
|
|
3
|
-
import { Stack as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useState as
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import ze from "
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import Gt from "@mui/material/Divider";
|
|
1
|
+
import { s as pt, a as ht, j as s, D as gt, u as xt } from "./DialogsContext-CGAKEKKW.js";
|
|
2
|
+
import { c as B } from "./compiler-runtime-BNHg76kC.js";
|
|
3
|
+
import { Stack as yt, Typography as vt, Chip as St, Collapse as bt, useMediaQuery as kt, useColorScheme as wt, ListItemButton as ne, ListItemText as ie, ListItemIcon as se, ListSubheader as Be, List as Te, IconButton as Ee, ListItem as jt, Box as $e, Menu as _t, InitColorSchemeScript as Lt, CssBaseline as It, AppBar as Ct, Toolbar as Dt, LinearProgress as Tt, ThemeProvider as Et } from "@mui/material";
|
|
4
|
+
import { LocalizationProvider as $t } from "@mui/x-date-pickers";
|
|
5
|
+
import { AdapterDayjs as Mt } from "@mui/x-date-pickers/AdapterDayjs";
|
|
6
|
+
import { createIsomorphicFn as At, createServerFn as Ot } from "@tanstack/react-start";
|
|
7
|
+
import { getCookie as nt } from "@tanstack/react-start/server";
|
|
8
|
+
import it from "dayjs";
|
|
9
|
+
import { i as F } from "./i18next-Bx3TmZAT.js";
|
|
10
|
+
import { useState as W, useId as Pt, useRef as qe, Fragment as Pe, useEffect as st, Suspense as Nt, useEffectEvent as Rt } from "react";
|
|
11
|
+
import { resources as Ke } from "virtual:wcz-layout";
|
|
12
|
+
import Ae from "zod";
|
|
13
|
+
import ze from "@mui/utils/useEventCallback";
|
|
14
|
+
import Ft from "@mui/icons-material/Menu";
|
|
15
|
+
import Bt from "@mui/icons-material/MenuOpen";
|
|
16
|
+
import { styled as He, useTheme as zt } from "@mui/material/styles";
|
|
17
|
+
import { useIsFetching as Wt, useIsMutating as Ut } from "@tanstack/react-query";
|
|
18
|
+
import { a as Ht } from "./utils-DV30kRxW.js";
|
|
19
|
+
import { W as qn, b as Kn, r as Yn } from "./utils-DV30kRxW.js";
|
|
20
|
+
import rt from "@mui/material/Box";
|
|
21
|
+
import Ye from "@mui/material/Drawer";
|
|
22
|
+
import { useNavigate as qt, useRouterState as Kt } from "@tanstack/react-router";
|
|
23
|
+
import Yt from "@mui/material/Divider";
|
|
25
24
|
import Xt from "@mui/material/List";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import {
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
return t;
|
|
59
|
-
}, Ne.apply(null, arguments);
|
|
60
|
-
}
|
|
61
|
-
function xn(t, e) {
|
|
62
|
-
if (t == null) return {};
|
|
63
|
-
var n = {};
|
|
64
|
-
for (var r in t) if ({}.hasOwnProperty.call(t, r)) {
|
|
65
|
-
if (e.indexOf(r) !== -1) continue;
|
|
66
|
-
n[r] = t[r];
|
|
67
|
-
}
|
|
68
|
-
return n;
|
|
25
|
+
import Gt from "@mui/material/ListSubheader";
|
|
26
|
+
import Qt from "@mui/icons-material/ExpandMore";
|
|
27
|
+
import Vt from "@mui/material/Avatar";
|
|
28
|
+
import Zt from "@mui/material/ListItem";
|
|
29
|
+
import Jt from "@mui/material/ListItemButton";
|
|
30
|
+
import eo from "@mui/material/ListItemIcon";
|
|
31
|
+
import to from "@mui/material/ListItemText";
|
|
32
|
+
import oo from "@mui/material/Paper";
|
|
33
|
+
import no from "@mui/material/Popper";
|
|
34
|
+
import io from "@mui/material/Typography";
|
|
35
|
+
import { R as so } from "./RouterListItemButton-C_jUvB6C.js";
|
|
36
|
+
import Xe from "@mui/icons-material/AccountCircle";
|
|
37
|
+
import Ge from "@mui/icons-material/ArrowBack";
|
|
38
|
+
import ro from "@mui/icons-material/Brightness4";
|
|
39
|
+
import Qe from "@mui/icons-material/ChevronRight";
|
|
40
|
+
import lo from "@mui/icons-material/DarkMode";
|
|
41
|
+
import ao from "@mui/icons-material/Done";
|
|
42
|
+
import co from "@mui/icons-material/LightMode";
|
|
43
|
+
import uo from "@mui/icons-material/Logout";
|
|
44
|
+
import fo from "@mui/icons-material/SettingsBrightness";
|
|
45
|
+
import mo from "@mui/icons-material/Translate";
|
|
46
|
+
const {
|
|
47
|
+
slice: po,
|
|
48
|
+
forEach: ho
|
|
49
|
+
} = [];
|
|
50
|
+
function go(t) {
|
|
51
|
+
return ho.call(po.call(arguments, 1), (e) => {
|
|
52
|
+
if (e)
|
|
53
|
+
for (const o in e)
|
|
54
|
+
t[o] === void 0 && (t[o] = e[o]);
|
|
55
|
+
}), t;
|
|
69
56
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const qe = function(e) {
|
|
73
|
-
const {
|
|
74
|
-
localeText: n
|
|
75
|
-
} = e, r = xn(e, bn), {
|
|
76
|
-
adapter: s,
|
|
77
|
-
localeText: a
|
|
78
|
-
} = U.useContext(Ge) ?? {
|
|
79
|
-
adapter: void 0,
|
|
80
|
-
localeText: void 0
|
|
81
|
-
}, o = Wt({
|
|
82
|
-
// We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
|
|
83
|
-
// We will then merge this theme value with our value manually
|
|
84
|
-
props: r,
|
|
85
|
-
name: "MuiLocalizationProvider"
|
|
86
|
-
}), {
|
|
87
|
-
children: l,
|
|
88
|
-
dateAdapter: d,
|
|
89
|
-
dateFormats: u,
|
|
90
|
-
dateLibInstance: c,
|
|
91
|
-
adapterLocale: m,
|
|
92
|
-
localeText: h
|
|
93
|
-
} = o, f = U.useMemo(() => Ne({}, h, a, n), [h, a, n]), p = U.useMemo(() => {
|
|
94
|
-
if (!d)
|
|
95
|
-
return s || null;
|
|
96
|
-
const M = new d({
|
|
97
|
-
locale: m,
|
|
98
|
-
formats: u,
|
|
99
|
-
instance: c
|
|
100
|
-
});
|
|
101
|
-
if (!M.isMUIAdapter)
|
|
102
|
-
throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"].join(`
|
|
103
|
-
`));
|
|
104
|
-
return M;
|
|
105
|
-
}, [d, m, u, c, s]), g = U.useMemo(() => p ? {
|
|
106
|
-
minDate: p.date("1900-01-01T00:00:00.000"),
|
|
107
|
-
maxDate: p.date("2099-12-31T00:00:00.000")
|
|
108
|
-
} : null, [p]), T = U.useMemo(() => ({
|
|
109
|
-
utils: p,
|
|
110
|
-
adapter: p,
|
|
111
|
-
defaultDates: g,
|
|
112
|
-
localeText: f
|
|
113
|
-
}), [g, p, f]);
|
|
114
|
-
return /* @__PURE__ */ i(Ge.Provider, {
|
|
115
|
-
value: T,
|
|
116
|
-
children: l
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
process.env.NODE_ENV !== "production" && (qe.displayName = "LocalizationProvider");
|
|
120
|
-
process.env.NODE_ENV !== "production" && (qe.propTypes = {
|
|
121
|
-
// ----------------------------- Warning --------------------------------
|
|
122
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
123
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
124
|
-
// ----------------------------------------------------------------------
|
|
125
|
-
/**
|
|
126
|
-
* Locale for the date library you are using
|
|
127
|
-
*/
|
|
128
|
-
adapterLocale: S.any,
|
|
129
|
-
children: S.node,
|
|
130
|
-
/**
|
|
131
|
-
* Date library adapter class function.
|
|
132
|
-
* @see See the localization provider {@link https://mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
|
|
133
|
-
*/
|
|
134
|
-
dateAdapter: S.func,
|
|
135
|
-
/**
|
|
136
|
-
* Formats that are used for any child pickers
|
|
137
|
-
*/
|
|
138
|
-
dateFormats: S.shape({
|
|
139
|
-
dayOfMonth: S.string,
|
|
140
|
-
dayOfMonthFull: S.string,
|
|
141
|
-
fullDate: S.string,
|
|
142
|
-
fullTime12h: S.string,
|
|
143
|
-
fullTime24h: S.string,
|
|
144
|
-
hours12h: S.string,
|
|
145
|
-
hours24h: S.string,
|
|
146
|
-
keyboardDate: S.string,
|
|
147
|
-
keyboardDateTime12h: S.string,
|
|
148
|
-
keyboardDateTime24h: S.string,
|
|
149
|
-
meridiem: S.string,
|
|
150
|
-
minutes: S.string,
|
|
151
|
-
month: S.string,
|
|
152
|
-
monthShort: S.string,
|
|
153
|
-
normalDate: S.string,
|
|
154
|
-
normalDateWithWeekday: S.string,
|
|
155
|
-
seconds: S.string,
|
|
156
|
-
shortDate: S.string,
|
|
157
|
-
weekday: S.string,
|
|
158
|
-
weekdayShort: S.string,
|
|
159
|
-
year: S.string
|
|
160
|
-
}),
|
|
161
|
-
/**
|
|
162
|
-
* Date library instance you are using, if it has some global overrides
|
|
163
|
-
* ```jsx
|
|
164
|
-
* dateLibInstance={momentTimeZone}
|
|
165
|
-
* ```
|
|
166
|
-
*/
|
|
167
|
-
dateLibInstance: S.any,
|
|
168
|
-
/**
|
|
169
|
-
* Locale for components texts
|
|
170
|
-
*/
|
|
171
|
-
localeText: S.object
|
|
172
|
-
});
|
|
173
|
-
const Sn = typeof window < "u" ? U.useLayoutEffect : U.useEffect;
|
|
174
|
-
function Be(t) {
|
|
175
|
-
const e = U.useRef(t);
|
|
176
|
-
return Sn(() => {
|
|
177
|
-
e.current = t;
|
|
178
|
-
}), U.useRef((...n) => (
|
|
179
|
-
// @ts-expect-error hide `this`
|
|
180
|
-
(0, e.current)(...n)
|
|
181
|
-
)).current;
|
|
57
|
+
function xo(t) {
|
|
58
|
+
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));
|
|
182
59
|
}
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
maxLength: 2
|
|
208
|
-
},
|
|
209
|
-
MM: "month",
|
|
210
|
-
MMM: {
|
|
211
|
-
sectionType: "month",
|
|
212
|
-
contentType: "letter"
|
|
213
|
-
},
|
|
214
|
-
MMMM: {
|
|
215
|
-
sectionType: "month",
|
|
216
|
-
contentType: "letter"
|
|
217
|
-
},
|
|
218
|
-
// Day of the month
|
|
219
|
-
D: {
|
|
220
|
-
sectionType: "day",
|
|
221
|
-
contentType: "digit",
|
|
222
|
-
maxLength: 2
|
|
223
|
-
},
|
|
224
|
-
DD: "day",
|
|
225
|
-
Do: {
|
|
226
|
-
sectionType: "day",
|
|
227
|
-
contentType: "digit-with-letter"
|
|
228
|
-
},
|
|
229
|
-
// Day of the week
|
|
230
|
-
d: {
|
|
231
|
-
sectionType: "weekDay",
|
|
232
|
-
contentType: "digit",
|
|
233
|
-
maxLength: 2
|
|
234
|
-
},
|
|
235
|
-
dd: {
|
|
236
|
-
sectionType: "weekDay",
|
|
237
|
-
contentType: "letter"
|
|
238
|
-
},
|
|
239
|
-
ddd: {
|
|
240
|
-
sectionType: "weekDay",
|
|
241
|
-
contentType: "letter"
|
|
242
|
-
},
|
|
243
|
-
dddd: {
|
|
244
|
-
sectionType: "weekDay",
|
|
245
|
-
contentType: "letter"
|
|
246
|
-
},
|
|
247
|
-
// Meridiem
|
|
248
|
-
A: "meridiem",
|
|
249
|
-
a: "meridiem",
|
|
250
|
-
// Hours
|
|
251
|
-
H: {
|
|
252
|
-
sectionType: "hours",
|
|
253
|
-
contentType: "digit",
|
|
254
|
-
maxLength: 2
|
|
255
|
-
},
|
|
256
|
-
HH: "hours",
|
|
257
|
-
h: {
|
|
258
|
-
sectionType: "hours",
|
|
259
|
-
contentType: "digit",
|
|
260
|
-
maxLength: 2
|
|
261
|
-
},
|
|
262
|
-
hh: "hours",
|
|
263
|
-
// Minutes
|
|
264
|
-
m: {
|
|
265
|
-
sectionType: "minutes",
|
|
266
|
-
contentType: "digit",
|
|
267
|
-
maxLength: 2
|
|
268
|
-
},
|
|
269
|
-
mm: "minutes",
|
|
270
|
-
// Seconds
|
|
271
|
-
s: {
|
|
272
|
-
sectionType: "seconds",
|
|
273
|
-
contentType: "digit",
|
|
274
|
-
maxLength: 2
|
|
275
|
-
},
|
|
276
|
-
ss: "seconds"
|
|
277
|
-
}, Ln = {
|
|
278
|
-
year: "YYYY",
|
|
279
|
-
month: "MMMM",
|
|
280
|
-
monthShort: "MMM",
|
|
281
|
-
dayOfMonth: "D",
|
|
282
|
-
dayOfMonthFull: "Do",
|
|
283
|
-
weekday: "dddd",
|
|
284
|
-
weekdayShort: "dd",
|
|
285
|
-
hours24h: "HH",
|
|
286
|
-
hours12h: "hh",
|
|
287
|
-
meridiem: "A",
|
|
288
|
-
minutes: "mm",
|
|
289
|
-
seconds: "ss",
|
|
290
|
-
fullDate: "ll",
|
|
291
|
-
keyboardDate: "L",
|
|
292
|
-
shortDate: "MMM D",
|
|
293
|
-
normalDate: "D MMMM",
|
|
294
|
-
normalDateWithWeekday: "ddd, MMM D",
|
|
295
|
-
fullTime12h: "hh:mm A",
|
|
296
|
-
fullTime24h: "HH:mm",
|
|
297
|
-
keyboardDateTime12h: "L hh:mm A",
|
|
298
|
-
keyboardDateTime24h: "L HH:mm"
|
|
299
|
-
}, He = ["Missing UTC plugin", "To be able to use UTC or timezones, you have to enable the `utc` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
|
|
300
|
-
`), rt = ["Missing timezone plugin", "To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
|
|
301
|
-
`);
|
|
302
|
-
class Dn {
|
|
303
|
-
isMUIAdapter = !0;
|
|
304
|
-
isTimezoneCompatible = !0;
|
|
305
|
-
lib = "dayjs";
|
|
306
|
-
escapedCharacters = {
|
|
307
|
-
start: "[",
|
|
308
|
-
end: "]"
|
|
309
|
-
};
|
|
310
|
-
formatTokenMap = kn;
|
|
311
|
-
constructor({
|
|
312
|
-
locale: e,
|
|
313
|
-
formats: n
|
|
314
|
-
} = {}) {
|
|
315
|
-
this.locale = e, this.formats = Ne({}, Ln, n), C.extend(pn);
|
|
60
|
+
const Ve = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, yo = function(t, e) {
|
|
61
|
+
const n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
62
|
+
path: "/"
|
|
63
|
+
}, r = encodeURIComponent(e);
|
|
64
|
+
let l = `${t}=${r}`;
|
|
65
|
+
if (n.maxAge > 0) {
|
|
66
|
+
const i = n.maxAge - 0;
|
|
67
|
+
if (Number.isNaN(i)) throw new Error("maxAge should be a Number");
|
|
68
|
+
l += `; Max-Age=${Math.floor(i)}`;
|
|
69
|
+
}
|
|
70
|
+
if (n.domain) {
|
|
71
|
+
if (!Ve.test(n.domain))
|
|
72
|
+
throw new TypeError("option domain is invalid");
|
|
73
|
+
l += `; Domain=${n.domain}`;
|
|
74
|
+
}
|
|
75
|
+
if (n.path) {
|
|
76
|
+
if (!Ve.test(n.path))
|
|
77
|
+
throw new TypeError("option path is invalid");
|
|
78
|
+
l += `; Path=${n.path}`;
|
|
79
|
+
}
|
|
80
|
+
if (n.expires) {
|
|
81
|
+
if (typeof n.expires.toUTCString != "function")
|
|
82
|
+
throw new TypeError("option expires is invalid");
|
|
83
|
+
l += `; Expires=${n.expires.toUTCString()}`;
|
|
316
84
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
switch (e) {
|
|
332
|
-
case "default":
|
|
333
|
-
return;
|
|
334
|
-
case "system":
|
|
335
|
-
return C.tz.guess();
|
|
85
|
+
if (n.httpOnly && (l += "; HttpOnly"), n.secure && (l += "; Secure"), n.sameSite)
|
|
86
|
+
switch (typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite) {
|
|
87
|
+
case !0:
|
|
88
|
+
l += "; SameSite=Strict";
|
|
89
|
+
break;
|
|
90
|
+
case "lax":
|
|
91
|
+
l += "; SameSite=Lax";
|
|
92
|
+
break;
|
|
93
|
+
case "strict":
|
|
94
|
+
l += "; SameSite=Strict";
|
|
95
|
+
break;
|
|
96
|
+
case "none":
|
|
97
|
+
l += "; SameSite=None";
|
|
98
|
+
break;
|
|
336
99
|
default:
|
|
337
|
-
|
|
100
|
+
throw new TypeError("option sameSite is invalid");
|
|
338
101
|
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
createTZDate = (e, n) => {
|
|
355
|
-
if (!this.hasUTCPlugin())
|
|
356
|
-
throw new Error(He);
|
|
357
|
-
if (!this.hasTimezonePlugin())
|
|
358
|
-
throw new Error(rt);
|
|
359
|
-
const r = e !== void 0 && !e.endsWith("Z");
|
|
360
|
-
return this.setLocaleToValue(C(e).tz(this.cleanTimezone(n), r));
|
|
361
|
-
};
|
|
362
|
-
getLocaleFormats = () => {
|
|
363
|
-
const e = C.Ls, n = this.locale || "en";
|
|
364
|
-
let r = e[n];
|
|
365
|
-
return r === void 0 && (process.env.NODE_ENV !== "production" && Mn(["MUI X: Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale.", "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'", "fallback on English locale."]), r = e.en), r.formats;
|
|
366
|
-
};
|
|
367
|
-
/**
|
|
368
|
-
* If the new day does not have the same offset as the old one (when switching to summer day time for example),
|
|
369
|
-
* Then dayjs will not automatically adjust the offset (moment does).
|
|
370
|
-
* We have to parse again the value to make sure the `fixOffset` method is applied.
|
|
371
|
-
* See https://github.com/iamkun/dayjs/blob/b3624de619d6e734cd0ffdbbd3502185041c1b60/src/plugin/timezone/index.js#L72
|
|
372
|
-
*/
|
|
373
|
-
adjustOffset = (e) => {
|
|
374
|
-
if (!this.hasTimezonePlugin())
|
|
375
|
-
return e;
|
|
376
|
-
const n = this.getTimezone(e);
|
|
377
|
-
if (n !== "UTC") {
|
|
378
|
-
const r = e.tz(this.cleanTimezone(n), !0);
|
|
379
|
-
if (r.$offset === (e.$offset ?? 0))
|
|
380
|
-
return e;
|
|
381
|
-
e.$offset = r.$offset;
|
|
382
|
-
}
|
|
383
|
-
return e;
|
|
384
|
-
};
|
|
385
|
-
date = (e, n = "default") => e === null ? null : n === "UTC" ? this.createUTCDate(e) : n === "system" || n === "default" && !this.hasTimezonePlugin() ? this.createSystemDate(e) : this.createTZDate(e, n);
|
|
386
|
-
getInvalidDate = () => C(/* @__PURE__ */ new Date("Invalid date"));
|
|
387
|
-
getTimezone = (e) => {
|
|
388
|
-
if (this.hasTimezonePlugin()) {
|
|
389
|
-
const n = e.$x?.$timezone;
|
|
390
|
-
if (n)
|
|
391
|
-
return n;
|
|
102
|
+
return n.partitioned && (l += "; Partitioned"), l;
|
|
103
|
+
}, Ze = {
|
|
104
|
+
create(t, e, o, n) {
|
|
105
|
+
let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
106
|
+
path: "/",
|
|
107
|
+
sameSite: "strict"
|
|
108
|
+
};
|
|
109
|
+
o && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + o * 60 * 1e3)), n && (r.domain = n), document.cookie = yo(t, e, r);
|
|
110
|
+
},
|
|
111
|
+
read(t) {
|
|
112
|
+
const e = `${t}=`, o = document.cookie.split(";");
|
|
113
|
+
for (let n = 0; n < o.length; n++) {
|
|
114
|
+
let r = o[n];
|
|
115
|
+
for (; r.charAt(0) === " "; ) r = r.substring(1, r.length);
|
|
116
|
+
if (r.indexOf(e) === 0) return r.substring(e.length, r.length);
|
|
392
117
|
}
|
|
393
|
-
return
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
118
|
+
return null;
|
|
119
|
+
},
|
|
120
|
+
remove(t, e) {
|
|
121
|
+
this.create(t, "", -1, e);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
var vo = {
|
|
125
|
+
name: "cookie",
|
|
126
|
+
// Deconstruct the options object and extract the lookupCookie property
|
|
127
|
+
lookup(t) {
|
|
128
|
+
let {
|
|
129
|
+
lookupCookie: e
|
|
130
|
+
} = t;
|
|
131
|
+
if (e && typeof document < "u")
|
|
132
|
+
return Ze.read(e) || void 0;
|
|
133
|
+
},
|
|
134
|
+
// Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
|
|
135
|
+
cacheUserLanguage(t, e) {
|
|
136
|
+
let {
|
|
137
|
+
lookupCookie: o,
|
|
138
|
+
cookieMinutes: n,
|
|
139
|
+
cookieDomain: r,
|
|
140
|
+
cookieOptions: l
|
|
141
|
+
} = e;
|
|
142
|
+
o && typeof document < "u" && Ze.create(o, t, n, r, l);
|
|
143
|
+
}
|
|
144
|
+
}, So = {
|
|
145
|
+
name: "querystring",
|
|
146
|
+
// Deconstruct the options object and extract the lookupQuerystring property
|
|
147
|
+
lookup(t) {
|
|
148
|
+
let {
|
|
149
|
+
lookupQuerystring: e
|
|
150
|
+
} = t, o;
|
|
151
|
+
if (typeof window < "u") {
|
|
152
|
+
let {
|
|
153
|
+
search: n
|
|
154
|
+
} = window.location;
|
|
155
|
+
!window.location.search && window.location.hash?.indexOf("?") > -1 && (n = window.location.hash.substring(window.location.hash.indexOf("?")));
|
|
156
|
+
const l = n.substring(1).split("&");
|
|
157
|
+
for (let i = 0; i < l.length; i++) {
|
|
158
|
+
const a = l[i].indexOf("=");
|
|
159
|
+
a > 0 && l[i].substring(0, a) === e && (o = l[i].substring(a + 1));
|
|
160
|
+
}
|
|
402
161
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
162
|
+
return o;
|
|
163
|
+
}
|
|
164
|
+
}, bo = {
|
|
165
|
+
name: "hash",
|
|
166
|
+
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
167
|
+
lookup(t) {
|
|
168
|
+
let {
|
|
169
|
+
lookupHash: e,
|
|
170
|
+
lookupFromHashIndex: o
|
|
171
|
+
} = t, n;
|
|
172
|
+
if (typeof window < "u") {
|
|
173
|
+
const {
|
|
174
|
+
hash: r
|
|
175
|
+
} = window.location;
|
|
176
|
+
if (r && r.length > 2) {
|
|
177
|
+
const l = r.substring(1);
|
|
178
|
+
if (e) {
|
|
179
|
+
const i = l.split("&");
|
|
180
|
+
for (let a = 0; a < i.length; a++) {
|
|
181
|
+
const c = i[a].indexOf("=");
|
|
182
|
+
c > 0 && i[a].substring(0, c) === e && (n = i[a].substring(c + 1));
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
if (n) return n;
|
|
186
|
+
if (!n && o > -1) {
|
|
187
|
+
const i = r.match(/\/([a-zA-Z-]*)/g);
|
|
188
|
+
return Array.isArray(i) ? i[typeof o == "number" ? o : 0]?.replace("/", "") : void 0;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
409
191
|
}
|
|
410
|
-
return
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
192
|
+
return n;
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
let te = null;
|
|
196
|
+
const Je = () => {
|
|
197
|
+
if (te !== null) return te;
|
|
198
|
+
try {
|
|
199
|
+
if (te = typeof window < "u" && window.localStorage !== null, !te)
|
|
200
|
+
return !1;
|
|
201
|
+
const t = "i18next.translate.boo";
|
|
202
|
+
window.localStorage.setItem(t, "foo"), window.localStorage.removeItem(t);
|
|
203
|
+
} catch {
|
|
204
|
+
te = !1;
|
|
205
|
+
}
|
|
206
|
+
return te;
|
|
207
|
+
};
|
|
208
|
+
var ko = {
|
|
209
|
+
name: "localStorage",
|
|
210
|
+
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
211
|
+
lookup(t) {
|
|
212
|
+
let {
|
|
213
|
+
lookupLocalStorage: e
|
|
214
|
+
} = t;
|
|
215
|
+
if (e && Je())
|
|
216
|
+
return window.localStorage.getItem(e) || void 0;
|
|
217
|
+
},
|
|
218
|
+
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
219
|
+
cacheUserLanguage(t, e) {
|
|
220
|
+
let {
|
|
221
|
+
lookupLocalStorage: o
|
|
222
|
+
} = e;
|
|
223
|
+
o && Je() && window.localStorage.setItem(o, t);
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
let oe = null;
|
|
227
|
+
const et = () => {
|
|
228
|
+
if (oe !== null) return oe;
|
|
229
|
+
try {
|
|
230
|
+
if (oe = typeof window < "u" && window.sessionStorage !== null, !oe)
|
|
231
|
+
return !1;
|
|
232
|
+
const t = "i18next.translate.boo";
|
|
233
|
+
window.sessionStorage.setItem(t, "foo"), window.sessionStorage.removeItem(t);
|
|
234
|
+
} catch {
|
|
235
|
+
oe = !1;
|
|
236
|
+
}
|
|
237
|
+
return oe;
|
|
238
|
+
};
|
|
239
|
+
var wo = {
|
|
240
|
+
name: "sessionStorage",
|
|
241
|
+
lookup(t) {
|
|
242
|
+
let {
|
|
243
|
+
lookupSessionStorage: e
|
|
244
|
+
} = t;
|
|
245
|
+
if (e && et())
|
|
246
|
+
return window.sessionStorage.getItem(e) || void 0;
|
|
247
|
+
},
|
|
248
|
+
cacheUserLanguage(t, e) {
|
|
249
|
+
let {
|
|
250
|
+
lookupSessionStorage: o
|
|
251
|
+
} = e;
|
|
252
|
+
o && et() && window.sessionStorage.setItem(o, t);
|
|
253
|
+
}
|
|
254
|
+
}, jo = {
|
|
255
|
+
name: "navigator",
|
|
256
|
+
lookup(t) {
|
|
257
|
+
const e = [];
|
|
258
|
+
if (typeof navigator < "u") {
|
|
259
|
+
const {
|
|
260
|
+
languages: o,
|
|
261
|
+
userLanguage: n,
|
|
262
|
+
language: r
|
|
263
|
+
} = navigator;
|
|
264
|
+
if (o)
|
|
265
|
+
for (let l = 0; l < o.length; l++)
|
|
266
|
+
e.push(o[l]);
|
|
267
|
+
n && e.push(n), r && e.push(r);
|
|
476
268
|
}
|
|
477
|
-
return
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
269
|
+
return e.length > 0 ? e : void 0;
|
|
270
|
+
}
|
|
271
|
+
}, _o = {
|
|
272
|
+
name: "htmlTag",
|
|
273
|
+
// Deconstruct the options object and extract the htmlTag property
|
|
274
|
+
lookup(t) {
|
|
275
|
+
let {
|
|
276
|
+
htmlTag: e
|
|
277
|
+
} = t, o;
|
|
278
|
+
const n = e || (typeof document < "u" ? document.documentElement : null);
|
|
279
|
+
return n && typeof n.getAttribute == "function" && (o = n.getAttribute("lang")), o;
|
|
280
|
+
}
|
|
281
|
+
}, Lo = {
|
|
282
|
+
name: "path",
|
|
283
|
+
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
284
|
+
lookup(t) {
|
|
285
|
+
let {
|
|
286
|
+
lookupFromPathIndex: e
|
|
287
|
+
} = t;
|
|
288
|
+
if (typeof window > "u") return;
|
|
289
|
+
const o = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
290
|
+
return Array.isArray(o) ? o[typeof e == "number" ? e : 0]?.replace("/", "") : void 0;
|
|
482
291
|
}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
292
|
+
}, Io = {
|
|
293
|
+
name: "subdomain",
|
|
294
|
+
lookup(t) {
|
|
295
|
+
let {
|
|
296
|
+
lookupFromSubdomainIndex: e
|
|
297
|
+
} = t;
|
|
298
|
+
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);
|
|
299
|
+
if (n)
|
|
300
|
+
return n[o];
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
let lt = !1;
|
|
304
|
+
try {
|
|
305
|
+
document.cookie, lt = !0;
|
|
306
|
+
} catch {
|
|
490
307
|
}
|
|
491
|
-
|
|
308
|
+
const at = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
309
|
+
lt || at.splice(1, 1);
|
|
310
|
+
const Co = () => ({
|
|
311
|
+
order: at,
|
|
312
|
+
lookupQuerystring: "lng",
|
|
313
|
+
lookupCookie: "i18next",
|
|
314
|
+
lookupLocalStorage: "i18nextLng",
|
|
315
|
+
lookupSessionStorage: "i18nextLng",
|
|
316
|
+
// cache user language
|
|
317
|
+
caches: ["localStorage"],
|
|
318
|
+
excludeCacheFor: ["cimode"],
|
|
319
|
+
// cookieMinutes: 10,
|
|
320
|
+
// cookieDomain: 'myDomain'
|
|
321
|
+
convertDetectedLanguage: (t) => t
|
|
322
|
+
});
|
|
323
|
+
class ct {
|
|
324
|
+
constructor(e) {
|
|
325
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
326
|
+
this.type = "languageDetector", this.detectors = {}, this.init(e, o);
|
|
327
|
+
}
|
|
328
|
+
init() {
|
|
329
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
330
|
+
languageUtils: {}
|
|
331
|
+
}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
332
|
+
this.services = e, this.options = go(o, this.options || {}, Co()), 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(vo), this.addDetector(So), this.addDetector(ko), this.addDetector(wo), this.addDetector(jo), this.addDetector(_o), this.addDetector(Lo), this.addDetector(Io), this.addDetector(bo);
|
|
333
|
+
}
|
|
334
|
+
addDetector(e) {
|
|
335
|
+
return this.detectors[e.name] = e, this;
|
|
336
|
+
}
|
|
337
|
+
detect() {
|
|
338
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order, o = [];
|
|
339
|
+
return e.forEach((n) => {
|
|
340
|
+
if (this.detectors[n]) {
|
|
341
|
+
let r = this.detectors[n].lookup(this.options);
|
|
342
|
+
r && typeof r == "string" && (r = [r]), r && (o = o.concat(r));
|
|
343
|
+
}
|
|
344
|
+
}), o = o.filter((n) => n != null && !xo(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? o : o.length > 0 ? o[0] : null;
|
|
345
|
+
}
|
|
346
|
+
cacheUserLanguage(e) {
|
|
347
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
348
|
+
o && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || o.forEach((n) => {
|
|
349
|
+
this.detectors[n] && this.detectors[n].cacheUserLanguage(e, this.options);
|
|
350
|
+
}));
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
ct.type = "languageDetector";
|
|
354
|
+
const Do = {
|
|
355
|
+
type: "3rdParty",
|
|
356
|
+
init(t) {
|
|
357
|
+
pt(t.options.react), ht(t);
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
function To({
|
|
492
361
|
children: t
|
|
493
362
|
}) {
|
|
494
|
-
const [e,
|
|
363
|
+
const [e, o] = W([]), n = Pt(), r = qe(0), l = qe(/* @__PURE__ */ new WeakMap()), i = ze(function(m, p, f = {}) {
|
|
495
364
|
const {
|
|
496
|
-
onClose:
|
|
365
|
+
onClose: h = async () => {
|
|
497
366
|
}
|
|
498
367
|
} = f;
|
|
499
|
-
let
|
|
500
|
-
const
|
|
501
|
-
|
|
502
|
-
}),
|
|
503
|
-
|
|
504
|
-
const
|
|
505
|
-
key:
|
|
368
|
+
let x;
|
|
369
|
+
const y = new Promise((g) => {
|
|
370
|
+
x = g;
|
|
371
|
+
}), k = `${n}-${r.current}`;
|
|
372
|
+
r.current += 1;
|
|
373
|
+
const v = {
|
|
374
|
+
key: k,
|
|
506
375
|
open: !0,
|
|
507
|
-
promise:
|
|
376
|
+
promise: y,
|
|
508
377
|
Component: m,
|
|
509
|
-
payload:
|
|
510
|
-
onClose:
|
|
511
|
-
resolve:
|
|
378
|
+
payload: p,
|
|
379
|
+
onClose: h,
|
|
380
|
+
resolve: x
|
|
512
381
|
};
|
|
513
|
-
return
|
|
514
|
-
}),
|
|
515
|
-
|
|
516
|
-
},
|
|
517
|
-
|
|
382
|
+
return l.current.set(y, v), o((g) => [...g, v]), y;
|
|
383
|
+
}), a = (d) => {
|
|
384
|
+
o((m) => m.filter((p) => p.promise !== d)), l.current.delete(d);
|
|
385
|
+
}, c = ze(function(m) {
|
|
386
|
+
o((p) => p.map((f) => f.promise === m ? {
|
|
518
387
|
...f,
|
|
519
388
|
open: !1
|
|
520
|
-
} : f)), setTimeout(() =>
|
|
521
|
-
}), u =
|
|
522
|
-
const f =
|
|
389
|
+
} : f)), setTimeout(() => a(m), 1e3);
|
|
390
|
+
}), u = ze(async function(m, p) {
|
|
391
|
+
const f = l.current.get(m);
|
|
523
392
|
if (!f)
|
|
524
393
|
throw new Error("Dialog not found in stack");
|
|
525
394
|
try {
|
|
526
|
-
await f.onClose(
|
|
395
|
+
await f.onClose(p);
|
|
527
396
|
} finally {
|
|
528
|
-
f.resolve(
|
|
397
|
+
f.resolve(p), c(m);
|
|
529
398
|
}
|
|
530
399
|
return m;
|
|
531
400
|
});
|
|
532
|
-
return /* @__PURE__ */
|
|
533
|
-
open:
|
|
401
|
+
return /* @__PURE__ */ s.jsxs(gt.Provider, { value: {
|
|
402
|
+
open: i,
|
|
534
403
|
close: u
|
|
535
404
|
}, children: [
|
|
536
405
|
t,
|
|
537
406
|
e.map(({
|
|
538
|
-
key:
|
|
407
|
+
key: d,
|
|
539
408
|
open: m,
|
|
540
|
-
Component:
|
|
409
|
+
Component: p,
|
|
541
410
|
payload: f,
|
|
542
|
-
promise:
|
|
543
|
-
}) => /* @__PURE__ */
|
|
544
|
-
await u(
|
|
545
|
-
} },
|
|
411
|
+
promise: h
|
|
412
|
+
}) => /* @__PURE__ */ s.jsx(p, { payload: f, open: m, onClose: async (x) => {
|
|
413
|
+
await u(h, x);
|
|
414
|
+
} }, d))
|
|
546
415
|
] });
|
|
547
416
|
}
|
|
548
|
-
const
|
|
549
|
-
const t = B(1);
|
|
417
|
+
const Eo = () => {
|
|
418
|
+
const t = B.c(1);
|
|
550
419
|
let e;
|
|
551
|
-
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
552
|
-
/* @__PURE__ */
|
|
553
|
-
/* @__PURE__ */
|
|
554
|
-
/* @__PURE__ */
|
|
420
|
+
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s.jsxs(yt, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
|
|
421
|
+
/* @__PURE__ */ s.jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
|
|
422
|
+
/* @__PURE__ */ s.jsx(vt, { variant: "h6", children: Ht.VITE_APP_TITLE }),
|
|
423
|
+
/* @__PURE__ */ s.jsx(St, { size: "small", label: "TEST", color: "info" })
|
|
555
424
|
] }), t[0] = e) : e = t[0], e;
|
|
556
|
-
},
|
|
425
|
+
}, We = 34, $o = He(Jt)(({
|
|
557
426
|
theme: t
|
|
558
427
|
}) => ({
|
|
559
428
|
borderRadius: 8,
|
|
@@ -574,7 +443,7 @@ const vn = () => {
|
|
|
574
443
|
"& .MuiAvatar-root": {
|
|
575
444
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
576
445
|
}
|
|
577
|
-
})),
|
|
446
|
+
})), Mo = He(so)(({
|
|
578
447
|
theme: t
|
|
579
448
|
}) => ({
|
|
580
449
|
borderRadius: 8,
|
|
@@ -595,40 +464,40 @@ const vn = () => {
|
|
|
595
464
|
"& .MuiAvatar-root": {
|
|
596
465
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
597
466
|
}
|
|
598
|
-
})),
|
|
599
|
-
const e = B(17), {
|
|
600
|
-
item:
|
|
601
|
-
collapsed:
|
|
467
|
+
})), Ao = (t) => {
|
|
468
|
+
const e = B.c(17), {
|
|
469
|
+
item: o,
|
|
470
|
+
collapsed: n
|
|
602
471
|
} = t;
|
|
603
|
-
if (
|
|
604
|
-
let
|
|
605
|
-
e[0] !==
|
|
472
|
+
if (o.icon || n) {
|
|
473
|
+
let r;
|
|
474
|
+
e[0] !== n ? (r = n ? {
|
|
606
475
|
position: "absolute",
|
|
607
476
|
left: "50%",
|
|
608
477
|
top: "calc(50% - 6px)",
|
|
609
478
|
transform: "translate(-50%, -50%)"
|
|
610
|
-
} : {}, e[0] =
|
|
611
|
-
let
|
|
612
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
479
|
+
} : {}, e[0] = n, e[1] = r) : r = e[1];
|
|
480
|
+
let l;
|
|
481
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = {
|
|
613
482
|
display: "flex",
|
|
614
483
|
alignItems: "center",
|
|
615
484
|
justifyContent: "center",
|
|
616
|
-
minWidth:
|
|
617
|
-
}, e[2] =
|
|
618
|
-
const
|
|
619
|
-
let
|
|
620
|
-
e[3] !==
|
|
621
|
-
width:
|
|
622
|
-
height:
|
|
485
|
+
minWidth: We
|
|
486
|
+
}, e[2] = l) : l = e[2];
|
|
487
|
+
const i = o.icon ?? null;
|
|
488
|
+
let a;
|
|
489
|
+
e[3] !== n || e[4] !== o.icon || e[5] !== o.title ? (a = !o.icon && n ? /* @__PURE__ */ s.jsx(Vt, { sx: {
|
|
490
|
+
width: We - 7,
|
|
491
|
+
height: We - 7,
|
|
623
492
|
fontSize: 12
|
|
624
|
-
}, children:
|
|
625
|
-
let
|
|
626
|
-
e[7] !==
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
] }), e[7] =
|
|
493
|
+
}, children: o.title }) : null, e[3] = n, e[4] = o.icon, e[5] = o.title, e[6] = a) : a = e[6];
|
|
494
|
+
let c;
|
|
495
|
+
e[7] !== i || e[8] !== a ? (c = /* @__PURE__ */ s.jsxs(eo, { sx: l, children: [
|
|
496
|
+
i,
|
|
497
|
+
a
|
|
498
|
+
] }), e[7] = i, e[8] = a, e[9] = c) : c = e[9];
|
|
630
499
|
let u;
|
|
631
|
-
e[10] !==
|
|
500
|
+
e[10] !== n || e[11] !== o.title ? (u = n ? /* @__PURE__ */ s.jsx(io, { variant: "caption", sx: {
|
|
632
501
|
position: "absolute",
|
|
633
502
|
bottom: -18,
|
|
634
503
|
left: "50%",
|
|
@@ -639,100 +508,100 @@ const vn = () => {
|
|
|
639
508
|
whiteSpace: "nowrap",
|
|
640
509
|
overflow: "hidden",
|
|
641
510
|
textOverflow: "ellipsis",
|
|
642
|
-
maxWidth:
|
|
643
|
-
}, children:
|
|
644
|
-
let
|
|
645
|
-
return e[13] !==
|
|
646
|
-
|
|
511
|
+
maxWidth: Oe - 28
|
|
512
|
+
}, children: o.title }) : null, e[10] = n, e[11] = o.title, e[12] = u) : u = e[12];
|
|
513
|
+
let d;
|
|
514
|
+
return e[13] !== r || e[14] !== c || e[15] !== u ? (d = /* @__PURE__ */ s.jsxs(rt, { sx: r, children: [
|
|
515
|
+
c,
|
|
647
516
|
u
|
|
648
|
-
] }), e[13] =
|
|
517
|
+
] }), e[13] = r, e[14] = c, e[15] = u, e[16] = d) : d = e[16], d;
|
|
649
518
|
}
|
|
650
519
|
return null;
|
|
651
|
-
},
|
|
652
|
-
const e = B(10), {
|
|
653
|
-
open:
|
|
654
|
-
anchorEl:
|
|
655
|
-
children:
|
|
520
|
+
}, Oo = (t) => {
|
|
521
|
+
const e = B.c(10), {
|
|
522
|
+
open: o,
|
|
523
|
+
anchorEl: n,
|
|
524
|
+
children: r
|
|
656
525
|
} = t;
|
|
657
|
-
let
|
|
658
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
526
|
+
let l;
|
|
527
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = {
|
|
659
528
|
name: "offset",
|
|
660
529
|
options: {
|
|
661
530
|
offset: [6, 0]
|
|
662
531
|
}
|
|
663
|
-
}, e[0] =
|
|
664
|
-
let
|
|
665
|
-
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
532
|
+
}, e[0] = l) : l = e[0];
|
|
533
|
+
let i;
|
|
534
|
+
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
666
535
|
name: "preventOverflow",
|
|
667
536
|
options: {
|
|
668
537
|
padding: 8
|
|
669
538
|
}
|
|
670
|
-
}, e[1] =
|
|
671
|
-
let
|
|
672
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
539
|
+
}, e[1] = i) : i = e[1];
|
|
540
|
+
let a;
|
|
541
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [l, i, {
|
|
673
542
|
name: "flip",
|
|
674
543
|
options: {
|
|
675
544
|
fallbackPlacements: ["right-end", "left-start"]
|
|
676
545
|
}
|
|
677
|
-
}], e[2] =
|
|
678
|
-
let
|
|
679
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
546
|
+
}], e[2] = a) : a = e[2];
|
|
547
|
+
let c;
|
|
548
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
680
549
|
pt: 0.5,
|
|
681
550
|
pb: 0.5,
|
|
682
551
|
maxHeight: "min(calc(100vh - 100px), 560px)",
|
|
683
552
|
overflowY: "auto",
|
|
684
553
|
overscrollBehavior: "contain"
|
|
685
|
-
}, e[3] =
|
|
554
|
+
}, e[3] = c) : c = e[3];
|
|
686
555
|
let u;
|
|
687
|
-
e[4] !==
|
|
688
|
-
let
|
|
689
|
-
return e[6] !==
|
|
690
|
-
},
|
|
691
|
-
const e = B(57), {
|
|
692
|
-
item:
|
|
693
|
-
isOpen:
|
|
694
|
-
selected:
|
|
695
|
-
disabled:
|
|
696
|
-
collapsed:
|
|
697
|
-
isSidebarFullyExpanded:
|
|
698
|
-
isSidebarFullyCollapsed:
|
|
556
|
+
e[4] !== r ? (u = /* @__PURE__ */ s.jsx(oo, { sx: c, children: r }), e[4] = r, e[5] = u) : u = e[5];
|
|
557
|
+
let d;
|
|
558
|
+
return e[6] !== n || e[7] !== o || e[8] !== u ? (d = /* @__PURE__ */ s.jsx(no, { open: o, anchorEl: n, placement: "right-start", modifiers: a, children: u }), e[6] = n, e[7] = o, e[8] = u, e[9] = d) : d = e[9], d;
|
|
559
|
+
}, Po = (t) => {
|
|
560
|
+
const e = B.c(57), {
|
|
561
|
+
item: o,
|
|
562
|
+
isOpen: n,
|
|
563
|
+
selected: r,
|
|
564
|
+
disabled: l,
|
|
565
|
+
collapsed: i,
|
|
566
|
+
isSidebarFullyExpanded: a,
|
|
567
|
+
isSidebarFullyCollapsed: c,
|
|
699
568
|
onClick: u,
|
|
700
|
-
renderNested:
|
|
569
|
+
renderNested: d,
|
|
701
570
|
onClose: m
|
|
702
|
-
} = t,
|
|
703
|
-
let
|
|
704
|
-
e[0] !==
|
|
571
|
+
} = t, p = a === void 0 ? !0 : a, [f, h] = W(null), [x, y] = W(null);
|
|
572
|
+
let k;
|
|
573
|
+
e[0] !== i || e[1] !== n || e[2] !== c || e[3] !== p || e[4] !== o.children ? (k = () => i && c && o.children ? {
|
|
705
574
|
fontSize: 18,
|
|
706
575
|
position: "absolute",
|
|
707
576
|
top: "41.5%",
|
|
708
577
|
right: "2px",
|
|
709
578
|
transform: "translateY(-50%) rotate(-90deg)"
|
|
710
|
-
} : !
|
|
579
|
+
} : !i && p && o.children ? {
|
|
711
580
|
ml: 0.5,
|
|
712
|
-
transform: `rotate(${
|
|
581
|
+
transform: `rotate(${n ? 0 : -90}deg)`
|
|
713
582
|
} : {
|
|
714
583
|
display: "none"
|
|
715
|
-
}, e[0] =
|
|
716
|
-
const
|
|
717
|
-
let
|
|
718
|
-
e[6] !==
|
|
584
|
+
}, e[0] = i, e[1] = n, e[2] = c, e[3] = p, e[4] = o.children, e[5] = k) : k = e[5];
|
|
585
|
+
const v = k, g = o.children && !i, b = i ? 60 : 48;
|
|
586
|
+
let S;
|
|
587
|
+
e[6] !== b ? (S = {
|
|
719
588
|
px: 1.4,
|
|
720
|
-
height:
|
|
721
|
-
}, e[6] =
|
|
722
|
-
let
|
|
723
|
-
e[8] !==
|
|
724
|
-
selected:
|
|
725
|
-
disabled:
|
|
726
|
-
sx:
|
|
727
|
-
}, e[8] =
|
|
728
|
-
const
|
|
729
|
-
let
|
|
730
|
-
e[12] !==
|
|
731
|
-
let
|
|
732
|
-
e[15] !==
|
|
589
|
+
height: b
|
|
590
|
+
}, e[6] = b, e[7] = S) : S = e[7];
|
|
591
|
+
let w;
|
|
592
|
+
e[8] !== l || e[9] !== r || e[10] !== S ? (w = {
|
|
593
|
+
selected: r,
|
|
594
|
+
disabled: l,
|
|
595
|
+
sx: S
|
|
596
|
+
}, e[8] = l, e[9] = r, e[10] = S, e[11] = w) : w = e[11];
|
|
597
|
+
const M = w;
|
|
598
|
+
let C;
|
|
599
|
+
e[12] !== i || e[13] !== o ? (C = /* @__PURE__ */ s.jsx(Ao, { item: o, collapsed: i }), e[12] = i, e[13] = o, e[14] = C) : C = e[14];
|
|
600
|
+
let j;
|
|
601
|
+
e[15] !== i || e[16] !== o.title ? (j = !i && /* @__PURE__ */ s.jsx(to, { primary: o.title, slotProps: {
|
|
733
602
|
primary: {
|
|
734
603
|
noWrap: !0,
|
|
735
|
-
title:
|
|
604
|
+
title: o.title
|
|
736
605
|
}
|
|
737
606
|
}, sx: {
|
|
738
607
|
ml: 1.2,
|
|
@@ -743,333 +612,333 @@ const vn = () => {
|
|
|
743
612
|
overflow: "hidden",
|
|
744
613
|
textOverflow: "ellipsis"
|
|
745
614
|
}
|
|
746
|
-
} }), e[15] =
|
|
747
|
-
let
|
|
748
|
-
e[18] !==
|
|
749
|
-
let
|
|
750
|
-
e[21] !==
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
] }), e[21] =
|
|
755
|
-
const
|
|
756
|
-
let
|
|
757
|
-
e[25] !==
|
|
758
|
-
onMouseEnter: (
|
|
759
|
-
|
|
615
|
+
} }), e[15] = i, e[16] = o.title, e[17] = j) : j = e[17];
|
|
616
|
+
let _;
|
|
617
|
+
e[18] !== v || e[19] !== o.children ? (_ = o.children ? /* @__PURE__ */ s.jsx(Qt, { sx: v }) : null, e[18] = v, e[19] = o.children, e[20] = _) : _ = e[20];
|
|
618
|
+
let E;
|
|
619
|
+
e[21] !== C || e[22] !== j || e[23] !== _ ? (E = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
620
|
+
C,
|
|
621
|
+
j,
|
|
622
|
+
_
|
|
623
|
+
] }), e[21] = C, e[22] = j, e[23] = _, e[24] = E) : E = e[24];
|
|
624
|
+
const P = E;
|
|
625
|
+
let $;
|
|
626
|
+
e[25] !== i || e[26] !== o.children || e[27] !== o.title ? ($ = o.children && i ? {
|
|
627
|
+
onMouseEnter: (z) => {
|
|
628
|
+
y(z.currentTarget), h(o.title);
|
|
760
629
|
},
|
|
761
630
|
onMouseLeave: () => {
|
|
762
|
-
|
|
631
|
+
h(null);
|
|
763
632
|
}
|
|
764
|
-
} : {}, e[25] =
|
|
765
|
-
let
|
|
766
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
633
|
+
} : {}, e[25] = i, e[26] = o.children, e[27] = o.title, e[28] = $) : $ = e[28];
|
|
634
|
+
let T;
|
|
635
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = {
|
|
767
636
|
py: 0,
|
|
768
637
|
px: 1,
|
|
769
638
|
overflowX: "hidden"
|
|
770
|
-
}, e[29] =
|
|
771
|
-
let
|
|
772
|
-
e[30] !==
|
|
773
|
-
let
|
|
774
|
-
e[37] !==
|
|
775
|
-
let W;
|
|
776
|
-
e[44] !== j || e[45] !== w || e[46] !== O ? (W = /* @__PURE__ */ L(Jt, { ...j, sx: E, children: [
|
|
777
|
-
w,
|
|
778
|
-
O
|
|
779
|
-
] }), e[44] = j, e[45] = w, e[46] = O, e[47] = W) : W = e[47];
|
|
780
|
-
const F = W;
|
|
781
|
-
let P;
|
|
782
|
-
e[48] !== o || e[49] !== r || e[50] !== n.children || e[51] !== c ? (P = n.children && !o ? /* @__PURE__ */ i(Tt, { in: r, timeout: "auto", unmountOnExit: !0, children: c?.(n.children) }) : null, e[48] = o, e[49] = r, e[50] = n.children, e[51] = c, e[52] = P) : P = e[52];
|
|
639
|
+
}, e[29] = T) : T = e[29];
|
|
640
|
+
let I;
|
|
641
|
+
e[30] !== P || e[31] !== M || e[32] !== o || e[33] !== u || e[34] !== m || e[35] !== g ? (I = g ? /* @__PURE__ */ s.jsx($o, { ...M, onClick: () => u?.(o), children: P }) : /* @__PURE__ */ s.jsx(Mo, { ...M, to: o.to, href: o.href, params: o.params, search: o.search, onClick: m, children: P }), e[30] = P, e[31] = M, e[32] = o, e[33] = u, e[34] = m, e[35] = g, e[36] = I) : I = e[36];
|
|
642
|
+
let L;
|
|
643
|
+
e[37] !== x || e[38] !== i || e[39] !== f || e[40] !== o.children || e[41] !== o.title || e[42] !== d ? (L = o.children && i ? /* @__PURE__ */ s.jsx(Oo, { open: o.title === f, anchorEl: x, children: d?.(o.children) }) : null, e[37] = x, e[38] = i, e[39] = f, e[40] = o.children, e[41] = o.title, e[42] = d, e[43] = L) : L = e[43];
|
|
783
644
|
let N;
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
] }
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
645
|
+
e[44] !== $ || e[45] !== I || e[46] !== L ? (N = /* @__PURE__ */ s.jsxs(Zt, { ...$, sx: T, children: [
|
|
646
|
+
I,
|
|
647
|
+
L
|
|
648
|
+
] }), e[44] = $, e[45] = I, e[46] = L, e[47] = N) : N = e[47];
|
|
649
|
+
const R = N;
|
|
650
|
+
let D;
|
|
651
|
+
e[48] !== i || e[49] !== n || e[50] !== o.children || e[51] !== d ? (D = o.children && !i ? /* @__PURE__ */ s.jsx(bt, { in: n, timeout: "auto", unmountOnExit: !0, children: d?.(o.children) }) : null, e[48] = i, e[49] = n, e[50] = o.children, e[51] = d, e[52] = D) : D = e[52];
|
|
652
|
+
let A;
|
|
653
|
+
return e[53] !== o.to || e[54] !== R || e[55] !== D ? (A = /* @__PURE__ */ s.jsxs(Pe, { children: [
|
|
654
|
+
R,
|
|
655
|
+
D
|
|
656
|
+
] }, o.to), e[53] = o.to, e[54] = R, e[55] = D, e[56] = A) : A = e[56], A;
|
|
657
|
+
}, No = (t) => !("kind" in t), Ro = (t) => "kind" in t && t.kind === "divider", Ue = (t) => "kind" in t && t.kind === "header", dt = (t) => {
|
|
658
|
+
const e = B.c(31), {
|
|
659
|
+
subNavigation: o,
|
|
660
|
+
depth: n,
|
|
661
|
+
collapsed: r,
|
|
662
|
+
isPopover: l,
|
|
663
|
+
isSidebarFullyExpanded: i,
|
|
664
|
+
isSidebarFullyCollapsed: a,
|
|
665
|
+
expandedWidth: c,
|
|
797
666
|
renderItem: u,
|
|
798
|
-
activePath:
|
|
667
|
+
activePath: d,
|
|
799
668
|
onNavigate: m,
|
|
800
|
-
onClose:
|
|
801
|
-
} = t, f =
|
|
802
|
-
let
|
|
803
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
804
|
-
const [
|
|
805
|
-
let
|
|
806
|
-
e[1] !==
|
|
807
|
-
|
|
808
|
-
},
|
|
809
|
-
let
|
|
810
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
811
|
-
const
|
|
812
|
-
let
|
|
813
|
-
e[5] !==
|
|
814
|
-
const
|
|
815
|
-
let
|
|
816
|
-
if (e[12] !==
|
|
817
|
-
const
|
|
818
|
-
let
|
|
819
|
-
e[25] !==
|
|
669
|
+
onClose: p
|
|
670
|
+
} = t, f = n === void 0 ? 0 : n, h = i === void 0 ? !0 : i;
|
|
671
|
+
let x;
|
|
672
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = [], e[0] = x) : x = e[0];
|
|
673
|
+
const [y, k] = W(x);
|
|
674
|
+
let v, g;
|
|
675
|
+
e[1] !== r ? (v = () => {
|
|
676
|
+
r && k([]);
|
|
677
|
+
}, g = [r], e[1] = r, e[2] = v, e[3] = g) : (v = e[2], g = e[3]), st(v, g);
|
|
678
|
+
let b;
|
|
679
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = (j) => k((_) => _.includes(j) ? _.filter((E) => E !== j) : [..._, j]), e[4] = b) : b = e[4];
|
|
680
|
+
const S = b;
|
|
681
|
+
let w;
|
|
682
|
+
e[5] !== d || e[6] !== r || e[7] !== f || e[8] !== c || e[9] !== p || e[10] !== m ? (w = (j) => /* @__PURE__ */ s.jsx(dt, { subNavigation: j, depth: f + 1, isPopover: r, expandedWidth: c, activePath: d, onNavigate: m, onClose: p }), e[5] = d, e[6] = r, e[7] = f, e[8] = c, e[9] = p, e[10] = m, e[11] = w) : w = e[11];
|
|
683
|
+
const M = w;
|
|
684
|
+
let C;
|
|
685
|
+
if (e[12] !== d || e[13] !== r || e[14] !== f || e[15] !== c || e[16] !== l || e[17] !== a || e[18] !== h || e[19] !== p || e[20] !== y || e[21] !== u || e[22] !== M || e[23] !== o) {
|
|
686
|
+
const j = o.filter(Fo), _ = l && f === 1 ? 0.5 : 0, E = f === 0 && !l ? 4 : 0.5, P = (l ? 1 : 2) * (l ? f - 1 : f), $ = l && f === 1 ? Me : "auto", T = r ? Oe : "auto";
|
|
687
|
+
let I;
|
|
688
|
+
e[25] !== E || e[26] !== P || e[27] !== $ || e[28] !== T || e[29] !== _ ? (I = {
|
|
820
689
|
padding: 0,
|
|
821
|
-
mt:
|
|
822
|
-
mb:
|
|
823
|
-
pl:
|
|
824
|
-
minWidth:
|
|
825
|
-
width:
|
|
826
|
-
}, e[25] =
|
|
827
|
-
if (
|
|
828
|
-
return /* @__PURE__ */
|
|
690
|
+
mt: _,
|
|
691
|
+
mb: E,
|
|
692
|
+
pl: P,
|
|
693
|
+
minWidth: $,
|
|
694
|
+
width: T
|
|
695
|
+
}, e[25] = E, e[26] = P, e[27] = $, e[28] = T, e[29] = _, e[30] = I) : I = e[30], C = /* @__PURE__ */ s.jsx(Xt, { sx: I, children: j.map((L, N) => {
|
|
696
|
+
if (Ue(L))
|
|
697
|
+
return /* @__PURE__ */ s.jsx(Gt, { sx: {
|
|
829
698
|
fontSize: 12,
|
|
830
699
|
fontWeight: "700",
|
|
831
|
-
height:
|
|
700
|
+
height: r ? 0 : 40,
|
|
832
701
|
px: 2,
|
|
833
|
-
minWidth:
|
|
702
|
+
minWidth: c,
|
|
834
703
|
overflow: "hidden",
|
|
835
704
|
textOverflow: "ellipsis",
|
|
836
705
|
whiteSpace: "nowrap",
|
|
837
706
|
zIndex: 2,
|
|
838
707
|
bgcolor: "transparent",
|
|
839
708
|
position: "static"
|
|
840
|
-
}, children:
|
|
841
|
-
if (
|
|
842
|
-
const
|
|
843
|
-
return /* @__PURE__ */
|
|
709
|
+
}, children: L.title }, `subheader-${f}-${N}`);
|
|
710
|
+
if (Ro(L)) {
|
|
711
|
+
const A = j[N + 1];
|
|
712
|
+
return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(Yt, { sx: {
|
|
844
713
|
mx: 1,
|
|
845
714
|
mt: 1,
|
|
846
|
-
mb:
|
|
847
|
-
} }) }, `divider-${f}-${
|
|
715
|
+
mb: Ue(A) && !r ? 0 : 1
|
|
716
|
+
} }) }, `divider-${f}-${N}`);
|
|
848
717
|
}
|
|
849
|
-
if (!
|
|
718
|
+
if (!No(L))
|
|
850
719
|
return null;
|
|
851
|
-
const
|
|
852
|
-
return u ? /* @__PURE__ */
|
|
853
|
-
collapsed: !!
|
|
854
|
-
}) },
|
|
855
|
-
}) }), e[12] =
|
|
720
|
+
const R = `item-${f}-${N}`, D = `${f}-${N}-${L.title}`;
|
|
721
|
+
return u ? /* @__PURE__ */ s.jsx(Pe, { children: u(L, {
|
|
722
|
+
collapsed: !!r
|
|
723
|
+
}) }, R) : /* @__PURE__ */ s.jsx(Po, { item: L, isOpen: y.includes(D), selected: d === L.to, collapsed: r, isSidebarFullyExpanded: h, isSidebarFullyCollapsed: a, onClick: L.children && !r ? () => S(D) : void 0, renderNested: M, onClose: p }, R);
|
|
724
|
+
}) }), e[12] = d, e[13] = r, e[14] = f, e[15] = c, e[16] = l, e[17] = a, e[18] = h, e[19] = p, e[20] = y, e[21] = u, e[22] = M, e[23] = o, e[24] = C;
|
|
856
725
|
} else
|
|
857
|
-
|
|
858
|
-
return
|
|
726
|
+
C = e[24];
|
|
727
|
+
return C;
|
|
859
728
|
};
|
|
860
|
-
function
|
|
729
|
+
function Fo(t) {
|
|
861
730
|
return !t.hidden;
|
|
862
731
|
}
|
|
863
|
-
const
|
|
864
|
-
const e = B(29), {
|
|
865
|
-
navigation:
|
|
866
|
-
expanded:
|
|
867
|
-
setExpanded:
|
|
868
|
-
} = t,
|
|
869
|
-
let d;
|
|
870
|
-
e[0] !== l.breakpoints ? (d = l.breakpoints.up("sm"), e[0] = l.breakpoints, e[1] = d) : d = e[1];
|
|
871
|
-
const u = xt(d);
|
|
732
|
+
const Oe = 84, Me = 320, tt = 64, Bo = (t) => {
|
|
733
|
+
const e = B.c(29), {
|
|
734
|
+
navigation: o,
|
|
735
|
+
expanded: n,
|
|
736
|
+
setExpanded: r
|
|
737
|
+
} = t, l = qt(), i = Kt(), a = zt();
|
|
872
738
|
let c;
|
|
873
|
-
e[
|
|
739
|
+
e[0] !== a.breakpoints ? (c = a.breakpoints.up("sm"), e[0] = a.breakpoints, e[1] = c) : c = e[1];
|
|
740
|
+
const u = kt(c);
|
|
741
|
+
let d;
|
|
742
|
+
e[2] !== n || e[3] !== l || e[4] !== o || e[5] !== i.location.pathname || e[6] !== r || e[7] !== u ? (d = (y) => /* @__PURE__ */ s.jsx(rt, { component: "nav", sx: {
|
|
874
743
|
height: "100%",
|
|
875
744
|
display: "flex",
|
|
876
745
|
flexDirection: "column",
|
|
877
746
|
justifyContent: "space-between",
|
|
878
747
|
overflow: "auto",
|
|
879
|
-
scrollbarGutter:
|
|
748
|
+
scrollbarGutter: y ? "stable" : "auto",
|
|
880
749
|
overflowX: "hidden",
|
|
881
|
-
pt:
|
|
882
|
-
}, children: /* @__PURE__ */
|
|
883
|
-
const m =
|
|
750
|
+
pt: o[0] && Ue(o[0]) && !y ? 0 : 2
|
|
751
|
+
}, children: /* @__PURE__ */ s.jsx(dt, { subNavigation: o, collapsed: y, isSidebarFullyExpanded: n, isSidebarFullyCollapsed: !n, expandedWidth: Me, activePath: i.location.pathname, onNavigate: l, onClose: u ? void 0 : () => r(!1) }) }), e[2] = n, e[3] = l, e[4] = o, e[5] = i.location.pathname, e[6] = r, e[7] = u, e[8] = d) : d = e[8];
|
|
752
|
+
const m = d;
|
|
884
753
|
if (u) {
|
|
885
|
-
const
|
|
886
|
-
let
|
|
887
|
-
e[9] !==
|
|
754
|
+
const y = n ? Me : Oe, k = n ? Me : Oe;
|
|
755
|
+
let v;
|
|
756
|
+
e[9] !== k ? (v = {
|
|
888
757
|
position: "absolute",
|
|
889
|
-
top: `${
|
|
890
|
-
height: `calc(100% - ${
|
|
891
|
-
width:
|
|
758
|
+
top: `${tt}px`,
|
|
759
|
+
height: `calc(100% - ${tt}px)`,
|
|
760
|
+
width: k,
|
|
892
761
|
borderTop: "1px solid",
|
|
893
762
|
borderColor: "var(--mui-palette-divider)"
|
|
894
|
-
}, e[9] =
|
|
895
|
-
let
|
|
896
|
-
e[11] !==
|
|
897
|
-
width:
|
|
898
|
-
"& .MuiDrawer-paper":
|
|
899
|
-
}, e[11] =
|
|
900
|
-
const
|
|
901
|
-
let
|
|
902
|
-
e[14] !== m || e[15] !==
|
|
903
|
-
let
|
|
904
|
-
return e[17] !==
|
|
763
|
+
}, e[9] = k, e[10] = v) : v = e[10];
|
|
764
|
+
let g;
|
|
765
|
+
e[11] !== y || e[12] !== v ? (g = {
|
|
766
|
+
width: y,
|
|
767
|
+
"& .MuiDrawer-paper": v
|
|
768
|
+
}, e[11] = y, e[12] = v, e[13] = g) : g = e[13];
|
|
769
|
+
const b = !n;
|
|
770
|
+
let S;
|
|
771
|
+
e[14] !== m || e[15] !== b ? (S = m(b), e[14] = m, e[15] = b, e[16] = S) : S = e[16];
|
|
772
|
+
let w;
|
|
773
|
+
return e[17] !== g || e[18] !== S ? (w = /* @__PURE__ */ s.jsx(Ye, { variant: "permanent", sx: g, children: S }), e[17] = g, e[18] = S, e[19] = w) : w = e[19], w;
|
|
905
774
|
}
|
|
906
|
-
let h;
|
|
907
|
-
e[20] !== s ? (h = () => s(!1), e[20] = s, e[21] = h) : h = e[21];
|
|
908
|
-
const f = !r;
|
|
909
775
|
let p;
|
|
910
|
-
e[
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
776
|
+
e[20] !== r ? (p = () => r(!1), e[20] = r, e[21] = p) : p = e[21];
|
|
777
|
+
const f = !n;
|
|
778
|
+
let h;
|
|
779
|
+
e[22] !== m || e[23] !== f ? (h = m(f), e[22] = m, e[23] = f, e[24] = h) : h = e[24];
|
|
780
|
+
let x;
|
|
781
|
+
return e[25] !== n || e[26] !== p || e[27] !== h ? (x = /* @__PURE__ */ s.jsx(Ye, { open: n, onClose: p, children: h }), e[25] = n, e[26] = p, e[27] = h, e[28] = x) : x = e[28], x;
|
|
782
|
+
}, ot = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), zo = () => {
|
|
783
|
+
const t = B.c(105), [e, o] = W(), [n, r] = W("settings"), l = !!e, {
|
|
784
|
+
t: i,
|
|
785
|
+
i18n: a
|
|
786
|
+
} = xt(), {
|
|
787
|
+
mode: c,
|
|
919
788
|
setMode: u
|
|
920
|
-
} =
|
|
921
|
-
let
|
|
922
|
-
if (t[0] !==
|
|
923
|
-
const
|
|
789
|
+
} = wt();
|
|
790
|
+
let d, m, p, f, h, x, y;
|
|
791
|
+
if (t[0] !== a || t[1] !== c || t[2] !== u || t[3] !== i) {
|
|
792
|
+
const N = (Array.isArray(a.options.supportedLngs) ? a.options.supportedLngs : []).filter(Wo), R = new Intl.DisplayNames([a.language], {
|
|
924
793
|
type: "language"
|
|
925
794
|
});
|
|
926
|
-
let
|
|
927
|
-
t[11] !==
|
|
928
|
-
let
|
|
929
|
-
t[13] !==
|
|
795
|
+
let D;
|
|
796
|
+
t[11] !== i ? (D = i("Layout.Light"), t[11] = i, t[12] = D) : D = t[12];
|
|
797
|
+
let A;
|
|
798
|
+
t[13] !== D ? (A = {
|
|
930
799
|
mode: "light",
|
|
931
|
-
icon:
|
|
932
|
-
label:
|
|
933
|
-
}, t[13] =
|
|
934
|
-
let
|
|
935
|
-
t[15] !==
|
|
936
|
-
let
|
|
937
|
-
t[17] !==
|
|
800
|
+
icon: co,
|
|
801
|
+
label: D
|
|
802
|
+
}, t[13] = D, t[14] = A) : A = t[14];
|
|
803
|
+
let z;
|
|
804
|
+
t[15] !== i ? (z = i("Layout.Dark"), t[15] = i, t[16] = z) : z = t[16];
|
|
805
|
+
let U;
|
|
806
|
+
t[17] !== z ? (U = {
|
|
938
807
|
mode: "dark",
|
|
939
|
-
icon:
|
|
940
|
-
label:
|
|
941
|
-
}, t[17] =
|
|
942
|
-
let
|
|
943
|
-
t[19] !==
|
|
944
|
-
let
|
|
945
|
-
t[21] !==
|
|
808
|
+
icon: lo,
|
|
809
|
+
label: z
|
|
810
|
+
}, t[17] = z, t[18] = U) : U = t[18];
|
|
811
|
+
let H;
|
|
812
|
+
t[19] !== i ? (H = i("Layout.System"), t[19] = i, t[20] = H) : H = t[20];
|
|
813
|
+
let q;
|
|
814
|
+
t[21] !== H ? (q = {
|
|
946
815
|
mode: "system",
|
|
947
|
-
icon:
|
|
948
|
-
label:
|
|
949
|
-
}, t[21] =
|
|
950
|
-
let
|
|
951
|
-
t[23] !==
|
|
952
|
-
const
|
|
816
|
+
icon: fo,
|
|
817
|
+
label: H
|
|
818
|
+
}, t[21] = H, t[22] = q) : q = t[22];
|
|
819
|
+
let re;
|
|
820
|
+
t[23] !== A || t[24] !== U || t[25] !== q ? (re = [A, U, q], t[23] = A, t[24] = U, t[25] = q, t[26] = re) : re = t[26];
|
|
821
|
+
const le = re;
|
|
822
|
+
let ae;
|
|
823
|
+
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ae = (O) => o(O.currentTarget), t[27] = ae) : ae = t[27], p = ae;
|
|
824
|
+
let ce;
|
|
825
|
+
t[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ce = () => {
|
|
826
|
+
o(void 0), setTimeout(() => r("settings"), 300);
|
|
827
|
+
}, t[28] = ce) : ce = t[28], m = ce;
|
|
953
828
|
let de;
|
|
954
|
-
t[
|
|
955
|
-
|
|
956
|
-
t[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ue = () => {
|
|
957
|
-
n(void 0), setTimeout(() => s("settings"), 300);
|
|
958
|
-
}, t[28] = ue) : ue = t[28], m = ue;
|
|
829
|
+
t[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (de = (O) => () => r(O), t[29] = de) : de = t[29];
|
|
830
|
+
const ue = de;
|
|
959
831
|
let fe;
|
|
960
|
-
t[
|
|
961
|
-
const me = fe;
|
|
962
|
-
let he;
|
|
963
|
-
t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (he = {
|
|
832
|
+
t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (fe = {
|
|
964
833
|
backgroundColor: "transparent"
|
|
965
|
-
}, t[30] =
|
|
966
|
-
let q;
|
|
967
|
-
t[31] !== o ? (q = o("Layout.Settings"), t[31] = o, t[32] = q) : q = t[32];
|
|
834
|
+
}, t[30] = fe) : fe = t[30];
|
|
968
835
|
let K;
|
|
969
|
-
t[
|
|
970
|
-
let
|
|
971
|
-
t[
|
|
836
|
+
t[31] !== i ? (K = i("Layout.Settings"), t[31] = i, t[32] = K) : K = t[32];
|
|
837
|
+
let Y;
|
|
838
|
+
t[33] !== K ? (Y = /* @__PURE__ */ s.jsx(Be, { sx: fe, children: K }), t[33] = K, t[34] = Y) : Y = t[34];
|
|
839
|
+
let me, pe;
|
|
840
|
+
t[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (me = ue("theme"), pe = {
|
|
972
841
|
py: 0.3
|
|
973
|
-
}, t[35] =
|
|
974
|
-
let
|
|
975
|
-
t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
976
|
-
let
|
|
977
|
-
t[38] !==
|
|
978
|
-
const
|
|
842
|
+
}, t[35] = me, t[36] = pe) : (me = t[35], pe = t[36]);
|
|
843
|
+
let he;
|
|
844
|
+
t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (he = /* @__PURE__ */ s.jsx(se, { children: /* @__PURE__ */ s.jsx(ro, {}) }), t[37] = he) : he = t[37];
|
|
845
|
+
let X;
|
|
846
|
+
t[38] !== i ? (X = i("Layout.Appearance"), t[38] = i, t[39] = X) : X = t[39];
|
|
847
|
+
const Ne = le.find((O) => O.mode === c)?.label;
|
|
848
|
+
let G;
|
|
849
|
+
t[40] !== X || t[41] !== Ne ? (G = /* @__PURE__ */ s.jsx(ie, { primary: X, secondary: Ne }), t[40] = X, t[41] = Ne, t[42] = G) : G = t[42];
|
|
850
|
+
let ge;
|
|
851
|
+
t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = /* @__PURE__ */ s.jsx(Qe, {}), t[43] = ge) : ge = t[43];
|
|
979
852
|
let Q;
|
|
980
|
-
t[
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
t[44]
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
Te
|
|
988
|
-
] }), t[44] = Q, t[45] = ee) : ee = t[45];
|
|
989
|
-
let xe, be;
|
|
990
|
-
t[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = me("language"), be = {
|
|
853
|
+
t[44] !== G ? (Q = /* @__PURE__ */ s.jsxs(ne, { onClick: me, sx: pe, children: [
|
|
854
|
+
he,
|
|
855
|
+
G,
|
|
856
|
+
ge
|
|
857
|
+
] }), t[44] = G, t[45] = Q) : Q = t[45];
|
|
858
|
+
let xe, ye;
|
|
859
|
+
t[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = ue("language"), ye = {
|
|
991
860
|
py: 0.3
|
|
992
|
-
}, t[46] = xe, t[47] =
|
|
861
|
+
}, t[46] = xe, t[47] = ye) : (xe = t[46], ye = t[47]);
|
|
862
|
+
let ve;
|
|
863
|
+
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ s.jsx(se, { children: /* @__PURE__ */ s.jsx(mo, {}) }), t[48] = ve) : ve = t[48];
|
|
993
864
|
let Se;
|
|
994
|
-
t[
|
|
995
|
-
let
|
|
996
|
-
t[
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
/* @__PURE__ */ i(se, { primary: Me, secondary: st(F.of(l.language)) }),
|
|
1002
|
-
ke
|
|
865
|
+
t[49] !== i ? (Se = i("Layout.Language"), t[49] = i, t[50] = Se) : Se = t[50];
|
|
866
|
+
let be;
|
|
867
|
+
t[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ s.jsx(Qe, {}), t[51] = be) : be = t[51];
|
|
868
|
+
const Re = /* @__PURE__ */ s.jsxs(ne, { onClick: xe, sx: ye, children: [
|
|
869
|
+
ve,
|
|
870
|
+
/* @__PURE__ */ s.jsx(ie, { primary: Se, secondary: ot(R.of(a.language)) }),
|
|
871
|
+
be
|
|
1003
872
|
] });
|
|
1004
|
-
let
|
|
1005
|
-
t[52] !==
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
] }), t[52] =
|
|
1009
|
-
let
|
|
1010
|
-
t[56] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
873
|
+
let ke;
|
|
874
|
+
t[52] !== Y || t[53] !== Q || t[54] !== Re ? (ke = /* @__PURE__ */ s.jsxs(Te, { component: "nav", subheader: Y, children: [
|
|
875
|
+
Q,
|
|
876
|
+
Re
|
|
877
|
+
] }), t[52] = Y, t[53] = Q, t[54] = Re, t[55] = ke) : ke = t[55], f = ke;
|
|
878
|
+
let we, je;
|
|
879
|
+
t[56] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = ue("settings"), je = {
|
|
1011
880
|
backgroundColor: "transparent",
|
|
1012
881
|
display: "flex",
|
|
1013
882
|
alignItems: "center",
|
|
1014
883
|
px: 1,
|
|
1015
884
|
cursor: "pointer"
|
|
1016
|
-
}, t[56] =
|
|
1017
|
-
let
|
|
1018
|
-
t[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
885
|
+
}, t[56] = we, t[57] = je) : (we = t[56], je = t[57]);
|
|
886
|
+
let _e;
|
|
887
|
+
t[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ s.jsx(Ee, { size: "small", sx: {
|
|
1019
888
|
mr: 0.5
|
|
1020
|
-
}, children: /* @__PURE__ */
|
|
1021
|
-
let
|
|
1022
|
-
t[59] !==
|
|
1023
|
-
let
|
|
1024
|
-
t[61] !==
|
|
1025
|
-
|
|
889
|
+
}, children: /* @__PURE__ */ s.jsx(Ge, { fontSize: "small" }) }), t[58] = _e) : _e = t[58];
|
|
890
|
+
let V;
|
|
891
|
+
t[59] !== i ? (V = i("Layout.Appearance"), t[59] = i, t[60] = V) : V = t[60];
|
|
892
|
+
let Z;
|
|
893
|
+
t[61] !== V ? (Z = /* @__PURE__ */ s.jsxs(Be, { onClick: we, sx: je, children: [
|
|
894
|
+
_e,
|
|
1026
895
|
" ",
|
|
1027
|
-
|
|
1028
|
-
] }), t[61] =
|
|
1029
|
-
let
|
|
1030
|
-
t[63] !==
|
|
896
|
+
V
|
|
897
|
+
] }), t[61] = V, t[62] = Z) : Z = t[62];
|
|
898
|
+
let J;
|
|
899
|
+
t[63] !== le || t[64] !== c || t[65] !== u ? (J = le.map((O) => {
|
|
1031
900
|
const {
|
|
1032
901
|
mode: Fe,
|
|
1033
902
|
icon: ft,
|
|
1034
903
|
label: mt
|
|
1035
|
-
} =
|
|
1036
|
-
return /* @__PURE__ */
|
|
904
|
+
} = O;
|
|
905
|
+
return /* @__PURE__ */ s.jsxs(ne, { onClick: () => {
|
|
1037
906
|
u(Fe), m();
|
|
1038
|
-
}, selected:
|
|
1039
|
-
/* @__PURE__ */
|
|
1040
|
-
/* @__PURE__ */
|
|
907
|
+
}, selected: c === Fe, children: [
|
|
908
|
+
/* @__PURE__ */ s.jsx(se, { children: /* @__PURE__ */ s.jsx(ft, {}) }),
|
|
909
|
+
/* @__PURE__ */ s.jsx(ie, { primary: mt })
|
|
1041
910
|
] }, Fe);
|
|
1042
|
-
}), t[63] =
|
|
1043
|
-
let
|
|
1044
|
-
t[67] !==
|
|
1045
|
-
let
|
|
1046
|
-
t[70] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
911
|
+
}), t[63] = le, t[64] = c, t[65] = u, t[66] = J) : J = t[66];
|
|
912
|
+
let Le;
|
|
913
|
+
t[67] !== Z || t[68] !== J ? (Le = /* @__PURE__ */ s.jsx(Te, { subheader: Z, children: J }), t[67] = Z, t[68] = J, t[69] = Le) : Le = t[69], y = Le, d = Te;
|
|
914
|
+
let Ie, Ce;
|
|
915
|
+
t[70] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ie = ue("settings"), Ce = {
|
|
1047
916
|
backgroundColor: "transparent",
|
|
1048
917
|
display: "flex",
|
|
1049
918
|
alignItems: "center",
|
|
1050
919
|
px: 1,
|
|
1051
920
|
cursor: "pointer"
|
|
1052
|
-
}, t[70] =
|
|
1053
|
-
let
|
|
1054
|
-
t[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
921
|
+
}, t[70] = Ie, t[71] = Ce) : (Ie = t[70], Ce = t[71]);
|
|
922
|
+
let De;
|
|
923
|
+
t[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (De = /* @__PURE__ */ s.jsx(Ee, { size: "small", sx: {
|
|
1055
924
|
mr: 0.5
|
|
1056
|
-
}, children: /* @__PURE__ */
|
|
1057
|
-
let
|
|
1058
|
-
t[73] !==
|
|
1059
|
-
|
|
925
|
+
}, children: /* @__PURE__ */ s.jsx(Ge, { fontSize: "small" }) }), t[72] = De) : De = t[72];
|
|
926
|
+
let ee;
|
|
927
|
+
t[73] !== i ? (ee = i("Layout.Language"), t[73] = i, t[74] = ee) : ee = t[74], t[75] !== ee ? (h = /* @__PURE__ */ s.jsxs(Be, { onClick: Ie, sx: Ce, children: [
|
|
928
|
+
De,
|
|
1060
929
|
" ",
|
|
1061
|
-
|
|
1062
|
-
] }), t[75] =
|
|
1063
|
-
/* @__PURE__ */
|
|
1064
|
-
/* @__PURE__ */
|
|
1065
|
-
] },
|
|
930
|
+
ee
|
|
931
|
+
] }), t[75] = ee, t[76] = h) : h = t[76], x = N.map((O) => /* @__PURE__ */ s.jsxs(ne, { onClick: () => a.changeLanguage(O).finally(() => m()), selected: a.resolvedLanguage === O, children: [
|
|
932
|
+
/* @__PURE__ */ s.jsx(se, { children: a.resolvedLanguage === O && /* @__PURE__ */ s.jsx(ao, {}) }),
|
|
933
|
+
/* @__PURE__ */ s.jsx(ie, { primary: ot(R.of(O)) })
|
|
934
|
+
] }, O)), t[0] = a, t[1] = c, t[2] = u, t[3] = i, t[4] = d, t[5] = m, t[6] = p, t[7] = f, t[8] = h, t[9] = x, t[10] = y;
|
|
1066
935
|
} else
|
|
1067
|
-
|
|
1068
|
-
let
|
|
1069
|
-
t[77] !==
|
|
1070
|
-
const
|
|
1071
|
-
let
|
|
1072
|
-
t[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
936
|
+
d = t[4], m = t[5], p = t[6], f = t[7], h = t[8], x = t[9], y = t[10];
|
|
937
|
+
let k;
|
|
938
|
+
t[77] !== d || t[78] !== h || t[79] !== x ? (k = /* @__PURE__ */ s.jsx(d, { subheader: h, children: x }), t[77] = d, t[78] = h, t[79] = x, t[80] = k) : k = t[80];
|
|
939
|
+
const v = k;
|
|
940
|
+
let g;
|
|
941
|
+
t[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ s.jsx(Xe, { sx: {
|
|
1073
942
|
width: {
|
|
1074
943
|
xs: 32,
|
|
1075
944
|
sm: 40
|
|
@@ -1078,9 +947,9 @@ const $e = 84, je = 320, it = 64, zn = (t) => {
|
|
|
1078
947
|
xs: 32,
|
|
1079
948
|
sm: 40
|
|
1080
949
|
}
|
|
1081
|
-
} }), t[81] =
|
|
1082
|
-
let
|
|
1083
|
-
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
950
|
+
} }), t[81] = g) : g = t[81];
|
|
951
|
+
let b;
|
|
952
|
+
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ s.jsx(Nt, { fallback: /* @__PURE__ */ s.jsx(Xe, { sx: {
|
|
1084
953
|
width: {
|
|
1085
954
|
xs: 32,
|
|
1086
955
|
sm: 40
|
|
@@ -1089,56 +958,56 @@ const $e = 84, je = 320, it = 64, zn = (t) => {
|
|
|
1089
958
|
xs: 32,
|
|
1090
959
|
sm: 40
|
|
1091
960
|
}
|
|
1092
|
-
} }) }), t[82] =
|
|
1093
|
-
let
|
|
1094
|
-
t[83] !==
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
] }), t[83] =
|
|
1098
|
-
let
|
|
1099
|
-
t[85] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
961
|
+
} }) }), t[82] = b) : b = t[82];
|
|
962
|
+
let S;
|
|
963
|
+
t[83] !== p ? (S = /* @__PURE__ */ s.jsxs(Ee, { size: "small", edge: "end", onClick: p, children: [
|
|
964
|
+
g,
|
|
965
|
+
b
|
|
966
|
+
] }), t[83] = p, t[84] = S) : S = t[84];
|
|
967
|
+
let w;
|
|
968
|
+
t[85] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
1100
969
|
width: 240
|
|
1101
|
-
}, t[85] =
|
|
1102
|
-
let
|
|
1103
|
-
t[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1104
|
-
let
|
|
1105
|
-
t[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
970
|
+
}, t[85] = w) : w = t[85];
|
|
971
|
+
let M;
|
|
972
|
+
t[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ s.jsx(jt, {}), t[86] = M) : M = t[86];
|
|
973
|
+
let C;
|
|
974
|
+
t[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ s.jsx(se, { children: /* @__PURE__ */ s.jsx(uo, { color: "error" }) }), t[87] = C) : C = t[87];
|
|
975
|
+
let j;
|
|
976
|
+
t[88] !== i ? (j = i("Layout.Logout"), t[88] = i, t[89] = j) : j = t[89];
|
|
1106
977
|
let _;
|
|
1107
|
-
t[
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
I,
|
|
1113
|
-
/* @__PURE__ */ i(se, { primary: _ })
|
|
978
|
+
t[90] !== j ? (_ = /* @__PURE__ */ s.jsxs(Te, { disablePadding: !0, children: [
|
|
979
|
+
M,
|
|
980
|
+
/* @__PURE__ */ s.jsxs(ne, { onClick: Uo, children: [
|
|
981
|
+
C,
|
|
982
|
+
/* @__PURE__ */ s.jsx(ie, { primary: j })
|
|
1114
983
|
] })
|
|
1115
|
-
] }), t[90] =
|
|
1116
|
-
const
|
|
1117
|
-
let
|
|
1118
|
-
t[92] !==
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
] }), t[92] =
|
|
1124
|
-
let
|
|
1125
|
-
t[97] !== e || t[98] !== m || t[99] !==
|
|
1126
|
-
let
|
|
1127
|
-
return t[102] !==
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
] }), t[102] =
|
|
984
|
+
] }), t[90] = j, t[91] = _) : _ = t[91];
|
|
985
|
+
const E = n === "settings" && f, P = n === "theme" && y, $ = n === "language" && v;
|
|
986
|
+
let T;
|
|
987
|
+
t[92] !== _ || t[93] !== E || t[94] !== P || t[95] !== $ ? (T = /* @__PURE__ */ s.jsxs($e, { sx: w, children: [
|
|
988
|
+
_,
|
|
989
|
+
E,
|
|
990
|
+
P,
|
|
991
|
+
$
|
|
992
|
+
] }), t[92] = _, t[93] = E, t[94] = P, t[95] = $, t[96] = T) : T = t[96];
|
|
993
|
+
let I;
|
|
994
|
+
t[97] !== e || t[98] !== m || t[99] !== l || t[100] !== T ? (I = /* @__PURE__ */ s.jsx(_t, { anchorEl: e, open: l, onClose: m, children: T }), t[97] = e, t[98] = m, t[99] = l, t[100] = T, t[101] = I) : I = t[101];
|
|
995
|
+
let L;
|
|
996
|
+
return t[102] !== I || t[103] !== S ? (L = /* @__PURE__ */ s.jsxs(Pe, { children: [
|
|
997
|
+
S,
|
|
998
|
+
I
|
|
999
|
+
] }), t[102] = I, t[103] = S, t[104] = L) : L = t[104], L;
|
|
1131
1000
|
};
|
|
1132
|
-
function
|
|
1001
|
+
function Wo(t) {
|
|
1133
1002
|
return t !== "cimode";
|
|
1134
1003
|
}
|
|
1135
|
-
function
|
|
1004
|
+
function Uo() {
|
|
1136
1005
|
return console.log("Logout clicked");
|
|
1137
1006
|
}
|
|
1138
|
-
const ut = 3600 * 24 * 365,
|
|
1007
|
+
const ut = 3600 * 24 * 365, Ho = At().server(() => nt("navigationOpen") === "true").client(() => {
|
|
1139
1008
|
const t = document.cookie.split("; ").find((e) => e.startsWith("navigationOpen="));
|
|
1140
1009
|
return t ? t.split("=")[1] === "true" : !1;
|
|
1141
|
-
}),
|
|
1010
|
+
}), qo = He("div")(({
|
|
1142
1011
|
theme: t
|
|
1143
1012
|
}) => ({
|
|
1144
1013
|
display: "flex",
|
|
@@ -1146,70 +1015,70 @@ const ut = 3600 * 24 * 365, Wn = Ct().server(() => at("navigationOpen") === "tru
|
|
|
1146
1015
|
justifyContent: "flex-end",
|
|
1147
1016
|
padding: t.spacing(0, 1),
|
|
1148
1017
|
...t.mixins.toolbar
|
|
1149
|
-
})),
|
|
1150
|
-
const e = B(29), [
|
|
1151
|
-
let
|
|
1152
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1153
|
-
let
|
|
1154
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1018
|
+
})), Ko = (t) => {
|
|
1019
|
+
const e = B.c(29), [o, n] = W(Ho), r = !!Wt(), l = !!Ut();
|
|
1020
|
+
let i, a;
|
|
1021
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s.jsx(Lt, {}), a = /* @__PURE__ */ s.jsx(It, {}), e[0] = i, e[1] = a) : (i = e[0], a = e[1]);
|
|
1022
|
+
let c;
|
|
1023
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
1155
1024
|
display: "flex",
|
|
1156
1025
|
height: "100dvh",
|
|
1157
1026
|
maxHeight: "100dvh",
|
|
1158
1027
|
overflow: "hidden",
|
|
1159
1028
|
width: "100%"
|
|
1160
|
-
}, e[2] =
|
|
1029
|
+
}, e[2] = c) : c = e[2];
|
|
1161
1030
|
let u;
|
|
1162
1031
|
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
|
|
1163
1032
|
borderBottom: "1px solid",
|
|
1164
1033
|
borderColor: "var(--mui-palette-divider)",
|
|
1165
1034
|
boxShadow: "none"
|
|
1166
1035
|
}, e[3] = u) : u = e[3];
|
|
1167
|
-
let
|
|
1168
|
-
e[4] !==
|
|
1169
|
-
|
|
1036
|
+
let d;
|
|
1037
|
+
e[4] !== o || e[5] !== t.navigation ? (d = t.navigation && /* @__PURE__ */ s.jsx(Ee, { onClick: () => {
|
|
1038
|
+
n(Yo);
|
|
1170
1039
|
}, sx: {
|
|
1171
1040
|
marginRight: 2
|
|
1172
|
-
}, children:
|
|
1173
|
-
let m,
|
|
1174
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */
|
|
1041
|
+
}, children: o ? /* @__PURE__ */ s.jsx(Bt, {}) : /* @__PURE__ */ s.jsx(Ft, {}) }), e[4] = o, e[5] = t.navigation, e[6] = d) : d = e[6];
|
|
1042
|
+
let m, p;
|
|
1043
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ s.jsx(Eo, {}), p = /* @__PURE__ */ s.jsx(zo, {}), e[7] = m, e[8] = p) : (m = e[7], p = e[8]);
|
|
1175
1044
|
let f;
|
|
1176
|
-
e[9] !==
|
|
1177
|
-
|
|
1045
|
+
e[9] !== d ? (f = /* @__PURE__ */ s.jsx(Ct, { color: "transparent", position: "fixed", sx: u, children: /* @__PURE__ */ s.jsxs(Dt, { children: [
|
|
1046
|
+
d,
|
|
1178
1047
|
m,
|
|
1179
|
-
|
|
1180
|
-
] }) }), e[9] =
|
|
1181
|
-
let
|
|
1182
|
-
e[11] !==
|
|
1183
|
-
|
|
1184
|
-
} }), e[11] =
|
|
1185
|
-
let
|
|
1186
|
-
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1048
|
+
p
|
|
1049
|
+
] }) }), e[9] = d, e[10] = f) : f = e[10];
|
|
1050
|
+
let h;
|
|
1051
|
+
e[11] !== o || e[12] !== t.navigation ? (h = t.navigation && /* @__PURE__ */ s.jsx(Bo, { navigation: t.navigation, expanded: o, setExpanded: (w) => {
|
|
1052
|
+
n(w), document.cookie = `navigationOpen=${w}; max-age=${ut}; path=/`;
|
|
1053
|
+
} }), e[11] = o, e[12] = t.navigation, e[13] = h) : h = e[13];
|
|
1054
|
+
let x, y;
|
|
1055
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {
|
|
1187
1056
|
flexGrow: 1,
|
|
1188
1057
|
display: "flex",
|
|
1189
1058
|
flexDirection: "column",
|
|
1190
1059
|
minWidth: 0,
|
|
1191
1060
|
height: "100%",
|
|
1192
1061
|
overflow: "hidden"
|
|
1193
|
-
},
|
|
1194
|
-
let
|
|
1195
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1062
|
+
}, x = /* @__PURE__ */ s.jsx(qo, {}), e[14] = x, e[15] = y) : (x = e[14], y = e[15]);
|
|
1063
|
+
let k;
|
|
1064
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = {
|
|
1196
1065
|
flex: 1,
|
|
1197
1066
|
overflow: "auto",
|
|
1198
1067
|
position: "relative"
|
|
1199
|
-
}, e[16] =
|
|
1200
|
-
let
|
|
1201
|
-
e[17] !== t.children ? (
|
|
1202
|
-
|
|
1203
|
-
/* @__PURE__ */
|
|
1204
|
-
] }), e[17] = t.children, e[18] =
|
|
1205
|
-
let
|
|
1206
|
-
e[19] !==
|
|
1068
|
+
}, e[16] = k) : k = e[16];
|
|
1069
|
+
let v;
|
|
1070
|
+
e[17] !== t.children ? (v = /* @__PURE__ */ s.jsxs($e, { component: "main", sx: y, children: [
|
|
1071
|
+
x,
|
|
1072
|
+
/* @__PURE__ */ s.jsx($e, { sx: k, children: t.children })
|
|
1073
|
+
] }), e[17] = t.children, e[18] = v) : v = e[18];
|
|
1074
|
+
let g;
|
|
1075
|
+
e[19] !== v || e[20] !== f || e[21] !== h ? (g = /* @__PURE__ */ s.jsxs($e, { sx: c, children: [
|
|
1207
1076
|
f,
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
] }), e[19] =
|
|
1211
|
-
let
|
|
1212
|
-
e[23] !==
|
|
1077
|
+
h,
|
|
1078
|
+
v
|
|
1079
|
+
] }), e[19] = v, e[20] = f, e[21] = h, e[22] = g) : g = e[22];
|
|
1080
|
+
let b;
|
|
1081
|
+
e[23] !== r || e[24] !== l ? (b = (r || l) && /* @__PURE__ */ s.jsx(Tt, { sx: {
|
|
1213
1082
|
position: "fixed",
|
|
1214
1083
|
top: {
|
|
1215
1084
|
xs: 56,
|
|
@@ -1217,60 +1086,60 @@ const ut = 3600 * 24 * 365, Wn = Ct().server(() => at("navigationOpen") === "tru
|
|
|
1217
1086
|
},
|
|
1218
1087
|
left: 0,
|
|
1219
1088
|
right: 0
|
|
1220
|
-
} }), e[23] =
|
|
1221
|
-
let
|
|
1222
|
-
return e[26] !==
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
] }), e[26] =
|
|
1089
|
+
} }), e[23] = r, e[24] = l, e[25] = b) : b = e[25];
|
|
1090
|
+
let S;
|
|
1091
|
+
return e[26] !== g || e[27] !== b ? (S = /* @__PURE__ */ s.jsxs(Pe, { children: [
|
|
1092
|
+
i,
|
|
1093
|
+
a,
|
|
1094
|
+
g,
|
|
1095
|
+
b
|
|
1096
|
+
] }), e[26] = g, e[27] = b, e[28] = S) : S = e[28], S;
|
|
1228
1097
|
};
|
|
1229
|
-
function
|
|
1098
|
+
function Yo(t) {
|
|
1230
1099
|
const e = !t;
|
|
1231
1100
|
return document.cookie = `navigationOpen=${e}; max-age=${ut}; path=/`, e;
|
|
1232
1101
|
}
|
|
1233
|
-
const
|
|
1234
|
-
|
|
1235
|
-
resources:
|
|
1102
|
+
const Xo = 1440 * 365;
|
|
1103
|
+
F.use(ct).use(Do).init({
|
|
1104
|
+
resources: Ke,
|
|
1236
1105
|
fallbackLng: "en",
|
|
1237
|
-
supportedLngs: Object.keys(
|
|
1106
|
+
supportedLngs: Object.keys(Ke),
|
|
1238
1107
|
detection: {
|
|
1239
1108
|
caches: ["cookie"],
|
|
1240
|
-
cookieMinutes:
|
|
1109
|
+
cookieMinutes: Xo
|
|
1241
1110
|
},
|
|
1242
1111
|
interpolation: {
|
|
1243
1112
|
escapeValue: !1
|
|
1244
1113
|
}
|
|
1245
1114
|
});
|
|
1246
|
-
const
|
|
1247
|
-
const e = B(9), {
|
|
1248
|
-
navigation:
|
|
1249
|
-
theme:
|
|
1250
|
-
children:
|
|
1251
|
-
} = t,
|
|
1252
|
-
let
|
|
1253
|
-
e[0] !==
|
|
1254
|
-
|
|
1255
|
-
}), e[0] =
|
|
1256
|
-
let
|
|
1257
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1258
|
-
let
|
|
1259
|
-
e[3] !==
|
|
1115
|
+
const zn = (t) => {
|
|
1116
|
+
const e = B.c(9), {
|
|
1117
|
+
navigation: o,
|
|
1118
|
+
theme: n,
|
|
1119
|
+
children: r
|
|
1120
|
+
} = t, l = Rt(Go);
|
|
1121
|
+
let i;
|
|
1122
|
+
e[0] !== l ? (i = () => (l(), F.on("languageChanged", l), () => {
|
|
1123
|
+
F.off("languageChanged", l);
|
|
1124
|
+
}), e[0] = l, e[1] = i) : i = e[1];
|
|
1125
|
+
let a;
|
|
1126
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2], st(i, a);
|
|
1127
|
+
let c;
|
|
1128
|
+
e[3] !== r || e[4] !== o ? (c = /* @__PURE__ */ s.jsx($t, { dateAdapter: Mt, adapterLocale: F.language, children: /* @__PURE__ */ s.jsx(To, { children: /* @__PURE__ */ s.jsx(Ko, { navigation: o, children: r }) }) }, F.language), e[3] = r, e[4] = o, e[5] = c) : c = e[5];
|
|
1260
1129
|
let u;
|
|
1261
|
-
return e[6] !==
|
|
1262
|
-
},
|
|
1263
|
-
const t =
|
|
1264
|
-
|
|
1130
|
+
return e[6] !== c || e[7] !== n ? (u = /* @__PURE__ */ s.jsx(Et, { theme: n, children: c }), e[6] = c, e[7] = n, e[8] = u) : u = e[8], u;
|
|
1131
|
+
}, Wn = Ot().handler(async () => {
|
|
1132
|
+
const t = nt(F.services.languageDetector.options.lookupCookie) || "en";
|
|
1133
|
+
Ae.config(Ae.core.locales[t]()), it.locale(t), await F.changeLanguage(t);
|
|
1265
1134
|
});
|
|
1266
|
-
function
|
|
1267
|
-
|
|
1135
|
+
function Go() {
|
|
1136
|
+
Ae.config(Ae.core.locales[F.language]()), it.locale(F.language);
|
|
1268
1137
|
}
|
|
1269
1138
|
export {
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1139
|
+
zn as LayoutProvider,
|
|
1140
|
+
qn as WISTRON_PRIMARY_COLOR,
|
|
1141
|
+
Kn as WISTRON_SECONDARY_COLOR,
|
|
1142
|
+
Yn as rootRouteHead,
|
|
1143
|
+
Wn as setSSRLanguage
|
|
1275
1144
|
};
|
|
1276
1145
|
//# sourceMappingURL=index.js.map
|