wcz-test 6.24.2 → 6.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/chunks/ApprovalStatus-BtAVFn5p.js.map +1 -0
  2. package/dist/chunks/DialogsContext-DoU_8Eeu.js +6 -0
  3. package/dist/chunks/DialogsContext-DoU_8Eeu.js.map +1 -0
  4. package/dist/{DialogsHooks-BQVpqCq9.js → chunks/DialogsHooks-DOT0O_b4.js} +17 -16
  5. package/dist/chunks/DialogsHooks-DOT0O_b4.js.map +1 -0
  6. package/dist/chunks/FileHooks-CF1bPDoe.js +493 -0
  7. package/dist/chunks/FileHooks-CF1bPDoe.js.map +1 -0
  8. package/dist/chunks/FileMeta-G1oT3mYK.js.map +1 -0
  9. package/dist/chunks/RouterListItemButton-DTYXk1kh.js +35 -0
  10. package/dist/chunks/RouterListItemButton-DTYXk1kh.js.map +1 -0
  11. package/dist/chunks/env-gsqZ6zZD.js.map +1 -0
  12. package/dist/chunks/queryClient-CNvC95mU.js.map +1 -0
  13. package/dist/chunks/session-vW7WZadj.js.map +1 -0
  14. package/dist/chunks/utils-MD9YwOtu.js.map +1 -0
  15. package/dist/client.js +1 -1
  16. package/dist/components.js +99 -99
  17. package/dist/components.js.map +1 -1
  18. package/dist/hooks.js +47 -47
  19. package/dist/hooks.js.map +1 -1
  20. package/dist/index.js +1680 -105
  21. package/dist/index.js.map +1 -1
  22. package/dist/models.js +2 -2
  23. package/dist/queries.js +27 -27
  24. package/dist/queries.js.map +1 -1
  25. package/dist/server.js +2 -2
  26. package/dist/utils.js +1 -1
  27. package/package.json +5 -6
  28. package/dist/ApprovalStatus-BtAVFn5p.js.map +0 -1
  29. package/dist/DialogsContext-BKtkEAfL.js +0 -306
  30. package/dist/DialogsContext-BKtkEAfL.js.map +0 -1
  31. package/dist/DialogsHooks-BQVpqCq9.js.map +0 -1
  32. package/dist/FileHooks-Cg9ver7z.js +0 -3478
  33. package/dist/FileHooks-Cg9ver7z.js.map +0 -1
  34. package/dist/FileMeta-G1oT3mYK.js.map +0 -1
  35. package/dist/RouterListItemButton-IUVgwnz3.js +0 -35
  36. package/dist/RouterListItemButton-IUVgwnz3.js.map +0 -1
  37. package/dist/compiler-runtime-BGHur82y.js +0 -46
  38. package/dist/compiler-runtime-BGHur82y.js.map +0 -1
  39. package/dist/env-gsqZ6zZD.js.map +0 -1
  40. package/dist/queryClient-CNvC95mU.js.map +0 -1
  41. package/dist/session-vW7WZadj.js.map +0 -1
  42. package/dist/utils-MD9YwOtu.js.map +0 -1
  43. /package/dist/{ApprovalStatus-BtAVFn5p.js → chunks/ApprovalStatus-BtAVFn5p.js} +0 -0
  44. /package/dist/{FileMeta-G1oT3mYK.js → chunks/FileMeta-G1oT3mYK.js} +0 -0
  45. /package/dist/{env-gsqZ6zZD.js → chunks/env-gsqZ6zZD.js} +0 -0
  46. /package/dist/{queryClient-CNvC95mU.js → chunks/queryClient-CNvC95mU.js} +0 -0
  47. /package/dist/{session-vW7WZadj.js → chunks/session-vW7WZadj.js} +0 -0
  48. /package/dist/{utils-MD9YwOtu.js → chunks/utils-MD9YwOtu.js} +0 -0
package/dist/index.js CHANGED
@@ -1,23 +1,22 @@
1
- import { j as jsxRuntimeExports, D as DialogsContext } from "./DialogsContext-BKtkEAfL.js";
2
- import { c as compilerRuntimeExports } from "./compiler-runtime-BGHur82y.js";
1
+ import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
3
3
  import { Stack, Typography, Collapse, useMediaQuery, useColorScheme, ListItemButton as ListItemButton$1, ListItemText as ListItemText$1, ListItemIcon as ListItemIcon$1, ListItem as ListItem$1, Avatar as Avatar$1, ListSubheader as ListSubheader$1, List as List$1, IconButton, Box as Box$1, Menu, InitColorSchemeScript, CssBaseline, AppBar, Toolbar, LinearProgress, ThemeProvider } from "@mui/material";
4
- import { LocalizationProvider } from "@mui/x-date-pickers";
5
- import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
6
4
  import { createServerFn, createIsomorphicFn } from "@tanstack/react-start";
7
5
  import { getCookie } from "@tanstack/react-start/server";
8
6
  import dayjs from "dayjs";
9
7
  import i18n from "i18next";
10
8
  import LanguageDetector from "i18next-browser-languagedetector";
9
+ import * as React from "react";
11
10
  import { useState, useId, useRef, Fragment, useEffect, Suspense, useEffectEvent } from "react";
12
11
  import { useTranslation, initReactI18next } from "react-i18next";
13
12
  import { resources } from "virtual:wcz-layout";
14
13
  import z__default from "zod";
15
- import useEventCallback from "@mui/utils/useEventCallback";
14
+ import { D as DialogsContext } from "./chunks/DialogsContext-DoU_8Eeu.js";
16
15
  import Menu$1 from "@mui/icons-material/Menu";
17
16
  import MenuOpen from "@mui/icons-material/MenuOpen";
18
- import { styled, useTheme } from "@mui/material/styles";
17
+ import { useThemeProps, styled, useTheme } from "@mui/material/styles";
19
18
  import { useIsFetching, useIsMutating } from "@tanstack/react-query";
20
- import { c as clientEnv } from "./env-gsqZ6zZD.js";
19
+ import { c as clientEnv } from "./chunks/env-gsqZ6zZD.js";
21
20
  import Box from "@mui/material/Box";
22
21
  import Drawer from "@mui/material/Drawer";
23
22
  import { useNavigate, useRouterState, Await } from "@tanstack/react-router";
@@ -30,10 +29,10 @@ import ListItem from "@mui/material/ListItem";
30
29
  import ListItemButton from "@mui/material/ListItemButton";
31
30
  import ListItemIcon from "@mui/material/ListItemIcon";
32
31
  import ListItemText from "@mui/material/ListItemText";
33
- import Paper from "@mui/material/Paper";
34
- import Popper from "@mui/material/Popper";
32
+ import MuiPaper from "@mui/material/Paper";
33
+ import MuiPopper from "@mui/material/Popper";
35
34
  import Typography$1 from "@mui/material/Typography";
36
- import { R as RouterListItemButton } from "./RouterListItemButton-IUVgwnz3.js";
35
+ import { R as RouterListItemButton } from "./chunks/RouterListItemButton-DTYXk1kh.js";
37
36
  import AccountCircle from "@mui/icons-material/AccountCircle";
38
37
  import ArrowBack from "@mui/icons-material/ArrowBack";
39
38
  import Brightness4 from "@mui/icons-material/Brightness4";
@@ -45,9 +44,1585 @@ import Logout from "@mui/icons-material/Logout";
45
44
  import SettingsBrightness from "@mui/icons-material/SettingsBrightness";
46
45
  import Translate from "@mui/icons-material/Translate";
47
46
  import axios from "axios";
48
- import { q as queryClient } from "./queryClient-CNvC95mU.js";
49
- import { r as requireSession, g as getAccessToken } from "./session-vW7WZadj.js";
50
- import { r } from "./utils-MD9YwOtu.js";
47
+ import { q as queryClient } from "./chunks/queryClient-CNvC95mU.js";
48
+ import { r as requireSession, g as getAccessToken } from "./chunks/session-vW7WZadj.js";
49
+ import weekOfYearPlugin from "dayjs/plugin/weekOfYear.js";
50
+ import customParseFormatPlugin from "dayjs/plugin/customParseFormat.js";
51
+ import localizedFormatPlugin from "dayjs/plugin/localizedFormat.js";
52
+ import isBetweenPlugin from "dayjs/plugin/isBetween.js";
53
+ import advancedFormatPlugin from "dayjs/plugin/advancedFormat.js";
54
+ import { r } from "./chunks/utils-MD9YwOtu.js";
55
+ function _extends() {
56
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
57
+ for (var e = 1; e < arguments.length; e++) {
58
+ var t = arguments[e];
59
+ for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
60
+ }
61
+ return n;
62
+ }, _extends.apply(null, arguments);
63
+ }
64
+ function _objectWithoutPropertiesLoose(r2, e) {
65
+ if (null == r2) return {};
66
+ var t = {};
67
+ for (var n in r2) if ({}.hasOwnProperty.call(r2, n)) {
68
+ if (-1 !== e.indexOf(n)) continue;
69
+ t[n] = r2[n];
70
+ }
71
+ return t;
72
+ }
73
+ var propTypes = { exports: {} };
74
+ var reactIs = { exports: {} };
75
+ var reactIs_production_min = {};
76
+ var hasRequiredReactIs_production_min;
77
+ function requireReactIs_production_min() {
78
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
79
+ hasRequiredReactIs_production_min = 1;
80
+ var b = "function" === typeof Symbol && Symbol.for, c2 = b ? /* @__PURE__ */ Symbol.for("react.element") : 60103, d = b ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, e = b ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, f = b ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, g = b ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, h = b ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, k = b ? /* @__PURE__ */ Symbol.for("react.context") : 60110, l = b ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = b ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, n = b ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = b ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, q = b ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, r2 = b ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, t = b ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = b ? /* @__PURE__ */ Symbol.for("react.block") : 60121, w = b ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = b ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, y = b ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
81
+ function z(a) {
82
+ if ("object" === typeof a && null !== a) {
83
+ var u = a.$$typeof;
84
+ switch (u) {
85
+ case c2:
86
+ switch (a = a.type, a) {
87
+ case l:
88
+ case m:
89
+ case e:
90
+ case g:
91
+ case f:
92
+ case p:
93
+ return a;
94
+ default:
95
+ switch (a = a && a.$$typeof, a) {
96
+ case k:
97
+ case n:
98
+ case t:
99
+ case r2:
100
+ case h:
101
+ return a;
102
+ default:
103
+ return u;
104
+ }
105
+ }
106
+ case d:
107
+ return u;
108
+ }
109
+ }
110
+ }
111
+ function A(a) {
112
+ return z(a) === m;
113
+ }
114
+ reactIs_production_min.AsyncMode = l;
115
+ reactIs_production_min.ConcurrentMode = m;
116
+ reactIs_production_min.ContextConsumer = k;
117
+ reactIs_production_min.ContextProvider = h;
118
+ reactIs_production_min.Element = c2;
119
+ reactIs_production_min.ForwardRef = n;
120
+ reactIs_production_min.Fragment = e;
121
+ reactIs_production_min.Lazy = t;
122
+ reactIs_production_min.Memo = r2;
123
+ reactIs_production_min.Portal = d;
124
+ reactIs_production_min.Profiler = g;
125
+ reactIs_production_min.StrictMode = f;
126
+ reactIs_production_min.Suspense = p;
127
+ reactIs_production_min.isAsyncMode = function(a) {
128
+ return A(a) || z(a) === l;
129
+ };
130
+ reactIs_production_min.isConcurrentMode = A;
131
+ reactIs_production_min.isContextConsumer = function(a) {
132
+ return z(a) === k;
133
+ };
134
+ reactIs_production_min.isContextProvider = function(a) {
135
+ return z(a) === h;
136
+ };
137
+ reactIs_production_min.isElement = function(a) {
138
+ return "object" === typeof a && null !== a && a.$$typeof === c2;
139
+ };
140
+ reactIs_production_min.isForwardRef = function(a) {
141
+ return z(a) === n;
142
+ };
143
+ reactIs_production_min.isFragment = function(a) {
144
+ return z(a) === e;
145
+ };
146
+ reactIs_production_min.isLazy = function(a) {
147
+ return z(a) === t;
148
+ };
149
+ reactIs_production_min.isMemo = function(a) {
150
+ return z(a) === r2;
151
+ };
152
+ reactIs_production_min.isPortal = function(a) {
153
+ return z(a) === d;
154
+ };
155
+ reactIs_production_min.isProfiler = function(a) {
156
+ return z(a) === g;
157
+ };
158
+ reactIs_production_min.isStrictMode = function(a) {
159
+ return z(a) === f;
160
+ };
161
+ reactIs_production_min.isSuspense = function(a) {
162
+ return z(a) === p;
163
+ };
164
+ reactIs_production_min.isValidElementType = function(a) {
165
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r2 || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
166
+ };
167
+ reactIs_production_min.typeOf = z;
168
+ return reactIs_production_min;
169
+ }
170
+ var reactIs_development = {};
171
+ var hasRequiredReactIs_development;
172
+ function requireReactIs_development() {
173
+ if (hasRequiredReactIs_development) return reactIs_development;
174
+ hasRequiredReactIs_development = 1;
175
+ if (process.env.NODE_ENV !== "production") {
176
+ (function() {
177
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
178
+ var REACT_ELEMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.element") : 60103;
179
+ var REACT_PORTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.portal") : 60106;
180
+ var REACT_FRAGMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107;
181
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108;
182
+ var REACT_PROFILER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114;
183
+ var REACT_PROVIDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.provider") : 60109;
184
+ var REACT_CONTEXT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.context") : 60110;
185
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111;
186
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111;
187
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112;
188
+ var REACT_SUSPENSE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113;
189
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120;
190
+ var REACT_MEMO_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.memo") : 60115;
191
+ var REACT_LAZY_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116;
192
+ var REACT_BLOCK_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.block") : 60121;
193
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117;
194
+ var REACT_RESPONDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.responder") : 60118;
195
+ var REACT_SCOPE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
196
+ function isValidElementType(type) {
197
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
198
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
199
+ }
200
+ function typeOf(object) {
201
+ if (typeof object === "object" && object !== null) {
202
+ var $$typeof = object.$$typeof;
203
+ switch ($$typeof) {
204
+ case REACT_ELEMENT_TYPE:
205
+ var type = object.type;
206
+ switch (type) {
207
+ case REACT_ASYNC_MODE_TYPE:
208
+ case REACT_CONCURRENT_MODE_TYPE:
209
+ case REACT_FRAGMENT_TYPE:
210
+ case REACT_PROFILER_TYPE:
211
+ case REACT_STRICT_MODE_TYPE:
212
+ case REACT_SUSPENSE_TYPE:
213
+ return type;
214
+ default:
215
+ var $$typeofType = type && type.$$typeof;
216
+ switch ($$typeofType) {
217
+ case REACT_CONTEXT_TYPE:
218
+ case REACT_FORWARD_REF_TYPE:
219
+ case REACT_LAZY_TYPE:
220
+ case REACT_MEMO_TYPE:
221
+ case REACT_PROVIDER_TYPE:
222
+ return $$typeofType;
223
+ default:
224
+ return $$typeof;
225
+ }
226
+ }
227
+ case REACT_PORTAL_TYPE:
228
+ return $$typeof;
229
+ }
230
+ }
231
+ return void 0;
232
+ }
233
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
234
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
235
+ var ContextConsumer = REACT_CONTEXT_TYPE;
236
+ var ContextProvider = REACT_PROVIDER_TYPE;
237
+ var Element = REACT_ELEMENT_TYPE;
238
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
239
+ var Fragment2 = REACT_FRAGMENT_TYPE;
240
+ var Lazy = REACT_LAZY_TYPE;
241
+ var Memo = REACT_MEMO_TYPE;
242
+ var Portal = REACT_PORTAL_TYPE;
243
+ var Profiler = REACT_PROFILER_TYPE;
244
+ var StrictMode = REACT_STRICT_MODE_TYPE;
245
+ var Suspense2 = REACT_SUSPENSE_TYPE;
246
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
247
+ function isAsyncMode(object) {
248
+ {
249
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
250
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
251
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
252
+ }
253
+ }
254
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
255
+ }
256
+ function isConcurrentMode(object) {
257
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
258
+ }
259
+ function isContextConsumer(object) {
260
+ return typeOf(object) === REACT_CONTEXT_TYPE;
261
+ }
262
+ function isContextProvider(object) {
263
+ return typeOf(object) === REACT_PROVIDER_TYPE;
264
+ }
265
+ function isElement(object) {
266
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
267
+ }
268
+ function isForwardRef(object) {
269
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
270
+ }
271
+ function isFragment(object) {
272
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
273
+ }
274
+ function isLazy(object) {
275
+ return typeOf(object) === REACT_LAZY_TYPE;
276
+ }
277
+ function isMemo(object) {
278
+ return typeOf(object) === REACT_MEMO_TYPE;
279
+ }
280
+ function isPortal(object) {
281
+ return typeOf(object) === REACT_PORTAL_TYPE;
282
+ }
283
+ function isProfiler(object) {
284
+ return typeOf(object) === REACT_PROFILER_TYPE;
285
+ }
286
+ function isStrictMode(object) {
287
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
288
+ }
289
+ function isSuspense(object) {
290
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
291
+ }
292
+ reactIs_development.AsyncMode = AsyncMode;
293
+ reactIs_development.ConcurrentMode = ConcurrentMode;
294
+ reactIs_development.ContextConsumer = ContextConsumer;
295
+ reactIs_development.ContextProvider = ContextProvider;
296
+ reactIs_development.Element = Element;
297
+ reactIs_development.ForwardRef = ForwardRef;
298
+ reactIs_development.Fragment = Fragment2;
299
+ reactIs_development.Lazy = Lazy;
300
+ reactIs_development.Memo = Memo;
301
+ reactIs_development.Portal = Portal;
302
+ reactIs_development.Profiler = Profiler;
303
+ reactIs_development.StrictMode = StrictMode;
304
+ reactIs_development.Suspense = Suspense2;
305
+ reactIs_development.isAsyncMode = isAsyncMode;
306
+ reactIs_development.isConcurrentMode = isConcurrentMode;
307
+ reactIs_development.isContextConsumer = isContextConsumer;
308
+ reactIs_development.isContextProvider = isContextProvider;
309
+ reactIs_development.isElement = isElement;
310
+ reactIs_development.isForwardRef = isForwardRef;
311
+ reactIs_development.isFragment = isFragment;
312
+ reactIs_development.isLazy = isLazy;
313
+ reactIs_development.isMemo = isMemo;
314
+ reactIs_development.isPortal = isPortal;
315
+ reactIs_development.isProfiler = isProfiler;
316
+ reactIs_development.isStrictMode = isStrictMode;
317
+ reactIs_development.isSuspense = isSuspense;
318
+ reactIs_development.isValidElementType = isValidElementType;
319
+ reactIs_development.typeOf = typeOf;
320
+ })();
321
+ }
322
+ return reactIs_development;
323
+ }
324
+ var hasRequiredReactIs;
325
+ function requireReactIs() {
326
+ if (hasRequiredReactIs) return reactIs.exports;
327
+ hasRequiredReactIs = 1;
328
+ if (process.env.NODE_ENV === "production") {
329
+ reactIs.exports = requireReactIs_production_min();
330
+ } else {
331
+ reactIs.exports = requireReactIs_development();
332
+ }
333
+ return reactIs.exports;
334
+ }
335
+ var objectAssign;
336
+ var hasRequiredObjectAssign;
337
+ function requireObjectAssign() {
338
+ if (hasRequiredObjectAssign) return objectAssign;
339
+ hasRequiredObjectAssign = 1;
340
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
341
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
342
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
343
+ function toObject(val) {
344
+ if (val === null || val === void 0) {
345
+ throw new TypeError("Object.assign cannot be called with null or undefined");
346
+ }
347
+ return Object(val);
348
+ }
349
+ function shouldUseNative() {
350
+ try {
351
+ if (!Object.assign) {
352
+ return false;
353
+ }
354
+ var test1 = new String("abc");
355
+ test1[5] = "de";
356
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
357
+ return false;
358
+ }
359
+ var test2 = {};
360
+ for (var i = 0; i < 10; i++) {
361
+ test2["_" + String.fromCharCode(i)] = i;
362
+ }
363
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
364
+ return test2[n];
365
+ });
366
+ if (order2.join("") !== "0123456789") {
367
+ return false;
368
+ }
369
+ var test3 = {};
370
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
371
+ test3[letter] = letter;
372
+ });
373
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
374
+ return false;
375
+ }
376
+ return true;
377
+ } catch (err) {
378
+ return false;
379
+ }
380
+ }
381
+ objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
382
+ var from;
383
+ var to = toObject(target);
384
+ var symbols;
385
+ for (var s = 1; s < arguments.length; s++) {
386
+ from = Object(arguments[s]);
387
+ for (var key in from) {
388
+ if (hasOwnProperty.call(from, key)) {
389
+ to[key] = from[key];
390
+ }
391
+ }
392
+ if (getOwnPropertySymbols) {
393
+ symbols = getOwnPropertySymbols(from);
394
+ for (var i = 0; i < symbols.length; i++) {
395
+ if (propIsEnumerable.call(from, symbols[i])) {
396
+ to[symbols[i]] = from[symbols[i]];
397
+ }
398
+ }
399
+ }
400
+ }
401
+ return to;
402
+ };
403
+ return objectAssign;
404
+ }
405
+ var ReactPropTypesSecret_1;
406
+ var hasRequiredReactPropTypesSecret;
407
+ function requireReactPropTypesSecret() {
408
+ if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
409
+ hasRequiredReactPropTypesSecret = 1;
410
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
411
+ ReactPropTypesSecret_1 = ReactPropTypesSecret;
412
+ return ReactPropTypesSecret_1;
413
+ }
414
+ var has;
415
+ var hasRequiredHas;
416
+ function requireHas() {
417
+ if (hasRequiredHas) return has;
418
+ hasRequiredHas = 1;
419
+ has = Function.call.bind(Object.prototype.hasOwnProperty);
420
+ return has;
421
+ }
422
+ var checkPropTypes_1;
423
+ var hasRequiredCheckPropTypes;
424
+ function requireCheckPropTypes() {
425
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
426
+ hasRequiredCheckPropTypes = 1;
427
+ var printWarning = function() {
428
+ };
429
+ if (process.env.NODE_ENV !== "production") {
430
+ var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
431
+ var loggedTypeFailures = {};
432
+ var has2 = /* @__PURE__ */ requireHas();
433
+ printWarning = function(text) {
434
+ var message = "Warning: " + text;
435
+ if (typeof console !== "undefined") {
436
+ console.error(message);
437
+ }
438
+ try {
439
+ throw new Error(message);
440
+ } catch (x) {
441
+ }
442
+ };
443
+ }
444
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
445
+ if (process.env.NODE_ENV !== "production") {
446
+ for (var typeSpecName in typeSpecs) {
447
+ if (has2(typeSpecs, typeSpecName)) {
448
+ var error;
449
+ try {
450
+ if (typeof typeSpecs[typeSpecName] !== "function") {
451
+ var err = Error(
452
+ (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
453
+ );
454
+ err.name = "Invariant Violation";
455
+ throw err;
456
+ }
457
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
458
+ } catch (ex) {
459
+ error = ex;
460
+ }
461
+ if (error && !(error instanceof Error)) {
462
+ printWarning(
463
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
464
+ );
465
+ }
466
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
467
+ loggedTypeFailures[error.message] = true;
468
+ var stack = getStack ? getStack() : "";
469
+ printWarning(
470
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
471
+ );
472
+ }
473
+ }
474
+ }
475
+ }
476
+ }
477
+ checkPropTypes.resetWarningCache = function() {
478
+ if (process.env.NODE_ENV !== "production") {
479
+ loggedTypeFailures = {};
480
+ }
481
+ };
482
+ checkPropTypes_1 = checkPropTypes;
483
+ return checkPropTypes_1;
484
+ }
485
+ var factoryWithTypeCheckers;
486
+ var hasRequiredFactoryWithTypeCheckers;
487
+ function requireFactoryWithTypeCheckers() {
488
+ if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
489
+ hasRequiredFactoryWithTypeCheckers = 1;
490
+ var ReactIs = requireReactIs();
491
+ var assign = requireObjectAssign();
492
+ var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
493
+ var has2 = /* @__PURE__ */ requireHas();
494
+ var checkPropTypes = /* @__PURE__ */ requireCheckPropTypes();
495
+ var printWarning = function() {
496
+ };
497
+ if (process.env.NODE_ENV !== "production") {
498
+ printWarning = function(text) {
499
+ var message = "Warning: " + text;
500
+ if (typeof console !== "undefined") {
501
+ console.error(message);
502
+ }
503
+ try {
504
+ throw new Error(message);
505
+ } catch (x) {
506
+ }
507
+ };
508
+ }
509
+ function emptyFunctionThatReturnsNull() {
510
+ return null;
511
+ }
512
+ factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
513
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
514
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
515
+ function getIteratorFn(maybeIterable) {
516
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
517
+ if (typeof iteratorFn === "function") {
518
+ return iteratorFn;
519
+ }
520
+ }
521
+ var ANONYMOUS = "<<anonymous>>";
522
+ var ReactPropTypes = {
523
+ array: createPrimitiveTypeChecker("array"),
524
+ bigint: createPrimitiveTypeChecker("bigint"),
525
+ bool: createPrimitiveTypeChecker("boolean"),
526
+ func: createPrimitiveTypeChecker("function"),
527
+ number: createPrimitiveTypeChecker("number"),
528
+ object: createPrimitiveTypeChecker("object"),
529
+ string: createPrimitiveTypeChecker("string"),
530
+ symbol: createPrimitiveTypeChecker("symbol"),
531
+ any: createAnyTypeChecker(),
532
+ arrayOf: createArrayOfTypeChecker,
533
+ element: createElementTypeChecker(),
534
+ elementType: createElementTypeTypeChecker(),
535
+ instanceOf: createInstanceTypeChecker,
536
+ node: createNodeChecker(),
537
+ objectOf: createObjectOfTypeChecker,
538
+ oneOf: createEnumTypeChecker,
539
+ oneOfType: createUnionTypeChecker,
540
+ shape: createShapeTypeChecker,
541
+ exact: createStrictShapeTypeChecker
542
+ };
543
+ function is(x, y) {
544
+ if (x === y) {
545
+ return x !== 0 || 1 / x === 1 / y;
546
+ } else {
547
+ return x !== x && y !== y;
548
+ }
549
+ }
550
+ function PropTypeError(message, data) {
551
+ this.message = message;
552
+ this.data = data && typeof data === "object" ? data : {};
553
+ this.stack = "";
554
+ }
555
+ PropTypeError.prototype = Error.prototype;
556
+ function createChainableTypeChecker(validate) {
557
+ if (process.env.NODE_ENV !== "production") {
558
+ var manualPropTypeCallCache = {};
559
+ var manualPropTypeWarningCount = 0;
560
+ }
561
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
562
+ componentName = componentName || ANONYMOUS;
563
+ propFullName = propFullName || propName;
564
+ if (secret !== ReactPropTypesSecret) {
565
+ if (throwOnDirectAccess) {
566
+ var err = new Error(
567
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
568
+ );
569
+ err.name = "Invariant Violation";
570
+ throw err;
571
+ } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
572
+ var cacheKey = componentName + ":" + propName;
573
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
574
+ manualPropTypeWarningCount < 3) {
575
+ printWarning(
576
+ "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
577
+ );
578
+ manualPropTypeCallCache[cacheKey] = true;
579
+ manualPropTypeWarningCount++;
580
+ }
581
+ }
582
+ }
583
+ if (props[propName] == null) {
584
+ if (isRequired) {
585
+ if (props[propName] === null) {
586
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
587
+ }
588
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
589
+ }
590
+ return null;
591
+ } else {
592
+ return validate(props, propName, componentName, location, propFullName);
593
+ }
594
+ }
595
+ var chainedCheckType = checkType.bind(null, false);
596
+ chainedCheckType.isRequired = checkType.bind(null, true);
597
+ return chainedCheckType;
598
+ }
599
+ function createPrimitiveTypeChecker(expectedType) {
600
+ function validate(props, propName, componentName, location, propFullName, secret) {
601
+ var propValue = props[propName];
602
+ var propType = getPropType(propValue);
603
+ if (propType !== expectedType) {
604
+ var preciseType = getPreciseType(propValue);
605
+ return new PropTypeError(
606
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
607
+ { expectedType }
608
+ );
609
+ }
610
+ return null;
611
+ }
612
+ return createChainableTypeChecker(validate);
613
+ }
614
+ function createAnyTypeChecker() {
615
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
616
+ }
617
+ function createArrayOfTypeChecker(typeChecker) {
618
+ function validate(props, propName, componentName, location, propFullName) {
619
+ if (typeof typeChecker !== "function") {
620
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
621
+ }
622
+ var propValue = props[propName];
623
+ if (!Array.isArray(propValue)) {
624
+ var propType = getPropType(propValue);
625
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
626
+ }
627
+ for (var i = 0; i < propValue.length; i++) {
628
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
629
+ if (error instanceof Error) {
630
+ return error;
631
+ }
632
+ }
633
+ return null;
634
+ }
635
+ return createChainableTypeChecker(validate);
636
+ }
637
+ function createElementTypeChecker() {
638
+ function validate(props, propName, componentName, location, propFullName) {
639
+ var propValue = props[propName];
640
+ if (!isValidElement(propValue)) {
641
+ var propType = getPropType(propValue);
642
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
643
+ }
644
+ return null;
645
+ }
646
+ return createChainableTypeChecker(validate);
647
+ }
648
+ function createElementTypeTypeChecker() {
649
+ function validate(props, propName, componentName, location, propFullName) {
650
+ var propValue = props[propName];
651
+ if (!ReactIs.isValidElementType(propValue)) {
652
+ var propType = getPropType(propValue);
653
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
654
+ }
655
+ return null;
656
+ }
657
+ return createChainableTypeChecker(validate);
658
+ }
659
+ function createInstanceTypeChecker(expectedClass) {
660
+ function validate(props, propName, componentName, location, propFullName) {
661
+ if (!(props[propName] instanceof expectedClass)) {
662
+ var expectedClassName = expectedClass.name || ANONYMOUS;
663
+ var actualClassName = getClassName(props[propName]);
664
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
665
+ }
666
+ return null;
667
+ }
668
+ return createChainableTypeChecker(validate);
669
+ }
670
+ function createEnumTypeChecker(expectedValues) {
671
+ if (!Array.isArray(expectedValues)) {
672
+ if (process.env.NODE_ENV !== "production") {
673
+ if (arguments.length > 1) {
674
+ printWarning(
675
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
676
+ );
677
+ } else {
678
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
679
+ }
680
+ }
681
+ return emptyFunctionThatReturnsNull;
682
+ }
683
+ function validate(props, propName, componentName, location, propFullName) {
684
+ var propValue = props[propName];
685
+ for (var i = 0; i < expectedValues.length; i++) {
686
+ if (is(propValue, expectedValues[i])) {
687
+ return null;
688
+ }
689
+ }
690
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
691
+ var type = getPreciseType(value);
692
+ if (type === "symbol") {
693
+ return String(value);
694
+ }
695
+ return value;
696
+ });
697
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
698
+ }
699
+ return createChainableTypeChecker(validate);
700
+ }
701
+ function createObjectOfTypeChecker(typeChecker) {
702
+ function validate(props, propName, componentName, location, propFullName) {
703
+ if (typeof typeChecker !== "function") {
704
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
705
+ }
706
+ var propValue = props[propName];
707
+ var propType = getPropType(propValue);
708
+ if (propType !== "object") {
709
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
710
+ }
711
+ for (var key in propValue) {
712
+ if (has2(propValue, key)) {
713
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
714
+ if (error instanceof Error) {
715
+ return error;
716
+ }
717
+ }
718
+ }
719
+ return null;
720
+ }
721
+ return createChainableTypeChecker(validate);
722
+ }
723
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
724
+ if (!Array.isArray(arrayOfTypeCheckers)) {
725
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
726
+ return emptyFunctionThatReturnsNull;
727
+ }
728
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
729
+ var checker = arrayOfTypeCheckers[i];
730
+ if (typeof checker !== "function") {
731
+ printWarning(
732
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
733
+ );
734
+ return emptyFunctionThatReturnsNull;
735
+ }
736
+ }
737
+ function validate(props, propName, componentName, location, propFullName) {
738
+ var expectedTypes = [];
739
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
740
+ var checker2 = arrayOfTypeCheckers[i2];
741
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
742
+ if (checkerResult == null) {
743
+ return null;
744
+ }
745
+ if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
746
+ expectedTypes.push(checkerResult.data.expectedType);
747
+ }
748
+ }
749
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
750
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
751
+ }
752
+ return createChainableTypeChecker(validate);
753
+ }
754
+ function createNodeChecker() {
755
+ function validate(props, propName, componentName, location, propFullName) {
756
+ if (!isNode(props[propName])) {
757
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
758
+ }
759
+ return null;
760
+ }
761
+ return createChainableTypeChecker(validate);
762
+ }
763
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
764
+ return new PropTypeError(
765
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
766
+ );
767
+ }
768
+ function createShapeTypeChecker(shapeTypes) {
769
+ function validate(props, propName, componentName, location, propFullName) {
770
+ var propValue = props[propName];
771
+ var propType = getPropType(propValue);
772
+ if (propType !== "object") {
773
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
774
+ }
775
+ for (var key in shapeTypes) {
776
+ var checker = shapeTypes[key];
777
+ if (typeof checker !== "function") {
778
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
779
+ }
780
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
781
+ if (error) {
782
+ return error;
783
+ }
784
+ }
785
+ return null;
786
+ }
787
+ return createChainableTypeChecker(validate);
788
+ }
789
+ function createStrictShapeTypeChecker(shapeTypes) {
790
+ function validate(props, propName, componentName, location, propFullName) {
791
+ var propValue = props[propName];
792
+ var propType = getPropType(propValue);
793
+ if (propType !== "object") {
794
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
795
+ }
796
+ var allKeys = assign({}, props[propName], shapeTypes);
797
+ for (var key in allKeys) {
798
+ var checker = shapeTypes[key];
799
+ if (has2(shapeTypes, key) && typeof checker !== "function") {
800
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
801
+ }
802
+ if (!checker) {
803
+ return new PropTypeError(
804
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
805
+ );
806
+ }
807
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
808
+ if (error) {
809
+ return error;
810
+ }
811
+ }
812
+ return null;
813
+ }
814
+ return createChainableTypeChecker(validate);
815
+ }
816
+ function isNode(propValue) {
817
+ switch (typeof propValue) {
818
+ case "number":
819
+ case "string":
820
+ case "undefined":
821
+ return true;
822
+ case "boolean":
823
+ return !propValue;
824
+ case "object":
825
+ if (Array.isArray(propValue)) {
826
+ return propValue.every(isNode);
827
+ }
828
+ if (propValue === null || isValidElement(propValue)) {
829
+ return true;
830
+ }
831
+ var iteratorFn = getIteratorFn(propValue);
832
+ if (iteratorFn) {
833
+ var iterator = iteratorFn.call(propValue);
834
+ var step;
835
+ if (iteratorFn !== propValue.entries) {
836
+ while (!(step = iterator.next()).done) {
837
+ if (!isNode(step.value)) {
838
+ return false;
839
+ }
840
+ }
841
+ } else {
842
+ while (!(step = iterator.next()).done) {
843
+ var entry = step.value;
844
+ if (entry) {
845
+ if (!isNode(entry[1])) {
846
+ return false;
847
+ }
848
+ }
849
+ }
850
+ }
851
+ } else {
852
+ return false;
853
+ }
854
+ return true;
855
+ default:
856
+ return false;
857
+ }
858
+ }
859
+ function isSymbol(propType, propValue) {
860
+ if (propType === "symbol") {
861
+ return true;
862
+ }
863
+ if (!propValue) {
864
+ return false;
865
+ }
866
+ if (propValue["@@toStringTag"] === "Symbol") {
867
+ return true;
868
+ }
869
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
870
+ return true;
871
+ }
872
+ return false;
873
+ }
874
+ function getPropType(propValue) {
875
+ var propType = typeof propValue;
876
+ if (Array.isArray(propValue)) {
877
+ return "array";
878
+ }
879
+ if (propValue instanceof RegExp) {
880
+ return "object";
881
+ }
882
+ if (isSymbol(propType, propValue)) {
883
+ return "symbol";
884
+ }
885
+ return propType;
886
+ }
887
+ function getPreciseType(propValue) {
888
+ if (typeof propValue === "undefined" || propValue === null) {
889
+ return "" + propValue;
890
+ }
891
+ var propType = getPropType(propValue);
892
+ if (propType === "object") {
893
+ if (propValue instanceof Date) {
894
+ return "date";
895
+ } else if (propValue instanceof RegExp) {
896
+ return "regexp";
897
+ }
898
+ }
899
+ return propType;
900
+ }
901
+ function getPostfixForTypeWarning(value) {
902
+ var type = getPreciseType(value);
903
+ switch (type) {
904
+ case "array":
905
+ case "object":
906
+ return "an " + type;
907
+ case "boolean":
908
+ case "date":
909
+ case "regexp":
910
+ return "a " + type;
911
+ default:
912
+ return type;
913
+ }
914
+ }
915
+ function getClassName(propValue) {
916
+ if (!propValue.constructor || !propValue.constructor.name) {
917
+ return ANONYMOUS;
918
+ }
919
+ return propValue.constructor.name;
920
+ }
921
+ ReactPropTypes.checkPropTypes = checkPropTypes;
922
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
923
+ ReactPropTypes.PropTypes = ReactPropTypes;
924
+ return ReactPropTypes;
925
+ };
926
+ return factoryWithTypeCheckers;
927
+ }
928
+ var factoryWithThrowingShims;
929
+ var hasRequiredFactoryWithThrowingShims;
930
+ function requireFactoryWithThrowingShims() {
931
+ if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
932
+ hasRequiredFactoryWithThrowingShims = 1;
933
+ var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
934
+ function emptyFunction() {
935
+ }
936
+ function emptyFunctionWithReset() {
937
+ }
938
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
939
+ factoryWithThrowingShims = function() {
940
+ function shim(props, propName, componentName, location, propFullName, secret) {
941
+ if (secret === ReactPropTypesSecret) {
942
+ return;
943
+ }
944
+ var err = new Error(
945
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
946
+ );
947
+ err.name = "Invariant Violation";
948
+ throw err;
949
+ }
950
+ shim.isRequired = shim;
951
+ function getShim() {
952
+ return shim;
953
+ }
954
+ var ReactPropTypes = {
955
+ array: shim,
956
+ bigint: shim,
957
+ bool: shim,
958
+ func: shim,
959
+ number: shim,
960
+ object: shim,
961
+ string: shim,
962
+ symbol: shim,
963
+ any: shim,
964
+ arrayOf: getShim,
965
+ element: shim,
966
+ elementType: shim,
967
+ instanceOf: getShim,
968
+ node: shim,
969
+ objectOf: getShim,
970
+ oneOf: getShim,
971
+ oneOfType: getShim,
972
+ shape: getShim,
973
+ exact: getShim,
974
+ checkPropTypes: emptyFunctionWithReset,
975
+ resetWarningCache: emptyFunction
976
+ };
977
+ ReactPropTypes.PropTypes = ReactPropTypes;
978
+ return ReactPropTypes;
979
+ };
980
+ return factoryWithThrowingShims;
981
+ }
982
+ var hasRequiredPropTypes;
983
+ function requirePropTypes() {
984
+ if (hasRequiredPropTypes) return propTypes.exports;
985
+ hasRequiredPropTypes = 1;
986
+ if (process.env.NODE_ENV !== "production") {
987
+ var ReactIs = requireReactIs();
988
+ var throwOnDirectAccess = true;
989
+ propTypes.exports = /* @__PURE__ */ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
990
+ } else {
991
+ propTypes.exports = /* @__PURE__ */ requireFactoryWithThrowingShims()();
992
+ }
993
+ return propTypes.exports;
994
+ }
995
+ var propTypesExports = /* @__PURE__ */ requirePropTypes();
996
+ const _excluded = ["localeText"];
997
+ const PickerAdapterContext = /* @__PURE__ */ React.createContext(null);
998
+ if (process.env.NODE_ENV !== "production") PickerAdapterContext.displayName = "PickerAdapterContext";
999
+ const LocalizationProvider = function LocalizationProvider2(inProps) {
1000
+ const {
1001
+ localeText: inLocaleText
1002
+ } = inProps, otherInProps = _objectWithoutPropertiesLoose(inProps, _excluded);
1003
+ const {
1004
+ adapter: parentAdapter,
1005
+ localeText: parentLocaleText
1006
+ } = React.useContext(PickerAdapterContext) ?? {
1007
+ adapter: void 0,
1008
+ localeText: void 0
1009
+ };
1010
+ const props = useThemeProps({
1011
+ // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
1012
+ // We will then merge this theme value with our value manually
1013
+ props: otherInProps,
1014
+ name: "MuiLocalizationProvider"
1015
+ });
1016
+ const {
1017
+ children,
1018
+ dateAdapter: DateAdapter,
1019
+ dateFormats,
1020
+ dateLibInstance,
1021
+ adapterLocale,
1022
+ localeText: themeLocaleText
1023
+ } = props;
1024
+ const localeText = React.useMemo(() => _extends({}, themeLocaleText, parentLocaleText, inLocaleText), [themeLocaleText, parentLocaleText, inLocaleText]);
1025
+ const adapter = React.useMemo(() => {
1026
+ if (!DateAdapter) {
1027
+ if (parentAdapter) {
1028
+ return parentAdapter;
1029
+ }
1030
+ return null;
1031
+ }
1032
+ const dateAdapter = new DateAdapter({
1033
+ locale: adapterLocale,
1034
+ formats: dateFormats,
1035
+ instance: dateLibInstance
1036
+ });
1037
+ if (!dateAdapter.isMUIAdapter) {
1038
+ 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(`
1039
+ `));
1040
+ }
1041
+ return dateAdapter;
1042
+ }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentAdapter]);
1043
+ const defaultDates = React.useMemo(() => {
1044
+ if (!adapter) {
1045
+ return null;
1046
+ }
1047
+ return {
1048
+ minDate: adapter.date("1900-01-01T00:00:00.000"),
1049
+ maxDate: adapter.date("2099-12-31T00:00:00.000")
1050
+ };
1051
+ }, [adapter]);
1052
+ const contextValue = React.useMemo(() => {
1053
+ return {
1054
+ utils: adapter,
1055
+ adapter,
1056
+ defaultDates,
1057
+ localeText
1058
+ };
1059
+ }, [defaultDates, adapter, localeText]);
1060
+ return /* @__PURE__ */ jsx(PickerAdapterContext.Provider, {
1061
+ value: contextValue,
1062
+ children
1063
+ });
1064
+ };
1065
+ if (process.env.NODE_ENV !== "production") LocalizationProvider.displayName = "LocalizationProvider";
1066
+ process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes = {
1067
+ // ----------------------------- Warning --------------------------------
1068
+ // | These PropTypes are generated from the TypeScript type definitions |
1069
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
1070
+ // ----------------------------------------------------------------------
1071
+ /**
1072
+ * Locale for the date library you are using
1073
+ */
1074
+ adapterLocale: propTypesExports.any,
1075
+ children: propTypesExports.node,
1076
+ /**
1077
+ * Date library adapter class function.
1078
+ * @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.
1079
+ */
1080
+ dateAdapter: propTypesExports.func,
1081
+ /**
1082
+ * Formats that are used for any child pickers
1083
+ */
1084
+ dateFormats: propTypesExports.shape({
1085
+ dayOfMonth: propTypesExports.string,
1086
+ dayOfMonthFull: propTypesExports.string,
1087
+ fullDate: propTypesExports.string,
1088
+ fullTime12h: propTypesExports.string,
1089
+ fullTime24h: propTypesExports.string,
1090
+ hours12h: propTypesExports.string,
1091
+ hours24h: propTypesExports.string,
1092
+ keyboardDate: propTypesExports.string,
1093
+ keyboardDateTime12h: propTypesExports.string,
1094
+ keyboardDateTime24h: propTypesExports.string,
1095
+ meridiem: propTypesExports.string,
1096
+ minutes: propTypesExports.string,
1097
+ month: propTypesExports.string,
1098
+ monthShort: propTypesExports.string,
1099
+ normalDate: propTypesExports.string,
1100
+ normalDateWithWeekday: propTypesExports.string,
1101
+ seconds: propTypesExports.string,
1102
+ shortDate: propTypesExports.string,
1103
+ weekday: propTypesExports.string,
1104
+ weekdayShort: propTypesExports.string,
1105
+ year: propTypesExports.string
1106
+ }),
1107
+ /**
1108
+ * Date library instance you are using, if it has some global overrides
1109
+ * ```jsx
1110
+ * dateLibInstance={momentTimeZone}
1111
+ * ```
1112
+ */
1113
+ dateLibInstance: propTypesExports.any,
1114
+ /**
1115
+ * Locale for components texts
1116
+ */
1117
+ localeText: propTypesExports.object
1118
+ } : void 0;
1119
+ const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
1120
+ function useEventCallback(fn) {
1121
+ const ref = React.useRef(fn);
1122
+ useEnhancedEffect(() => {
1123
+ ref.current = fn;
1124
+ });
1125
+ return React.useRef((...args) => (
1126
+ // @ts-expect-error hide `this`
1127
+ (0, ref.current)(...args)
1128
+ )).current;
1129
+ }
1130
+ const warnedOnceCache = /* @__PURE__ */ new Set();
1131
+ function warnOnce(message, gravity = "warning") {
1132
+ if (process.env.NODE_ENV === "production") {
1133
+ return;
1134
+ }
1135
+ const cleanMessage = Array.isArray(message) ? message.join("\n") : message;
1136
+ if (!warnedOnceCache.has(cleanMessage)) {
1137
+ warnedOnceCache.add(cleanMessage);
1138
+ if (gravity === "error") {
1139
+ console.error(cleanMessage);
1140
+ } else {
1141
+ console.warn(cleanMessage);
1142
+ }
1143
+ }
1144
+ }
1145
+ dayjs.extend(localizedFormatPlugin);
1146
+ dayjs.extend(weekOfYearPlugin);
1147
+ dayjs.extend(isBetweenPlugin);
1148
+ dayjs.extend(advancedFormatPlugin);
1149
+ const formatTokenMap = {
1150
+ // Year
1151
+ YY: "year",
1152
+ YYYY: {
1153
+ sectionType: "year",
1154
+ contentType: "digit",
1155
+ maxLength: 4
1156
+ },
1157
+ // Month
1158
+ M: {
1159
+ sectionType: "month",
1160
+ contentType: "digit",
1161
+ maxLength: 2
1162
+ },
1163
+ MM: "month",
1164
+ MMM: {
1165
+ sectionType: "month",
1166
+ contentType: "letter"
1167
+ },
1168
+ MMMM: {
1169
+ sectionType: "month",
1170
+ contentType: "letter"
1171
+ },
1172
+ // Day of the month
1173
+ D: {
1174
+ sectionType: "day",
1175
+ contentType: "digit",
1176
+ maxLength: 2
1177
+ },
1178
+ DD: "day",
1179
+ Do: {
1180
+ sectionType: "day",
1181
+ contentType: "digit-with-letter"
1182
+ },
1183
+ // Day of the week
1184
+ d: {
1185
+ sectionType: "weekDay",
1186
+ contentType: "digit",
1187
+ maxLength: 2
1188
+ },
1189
+ dd: {
1190
+ sectionType: "weekDay",
1191
+ contentType: "letter"
1192
+ },
1193
+ ddd: {
1194
+ sectionType: "weekDay",
1195
+ contentType: "letter"
1196
+ },
1197
+ dddd: {
1198
+ sectionType: "weekDay",
1199
+ contentType: "letter"
1200
+ },
1201
+ // Meridiem
1202
+ A: "meridiem",
1203
+ a: "meridiem",
1204
+ // Hours
1205
+ H: {
1206
+ sectionType: "hours",
1207
+ contentType: "digit",
1208
+ maxLength: 2
1209
+ },
1210
+ HH: "hours",
1211
+ h: {
1212
+ sectionType: "hours",
1213
+ contentType: "digit",
1214
+ maxLength: 2
1215
+ },
1216
+ hh: "hours",
1217
+ // Minutes
1218
+ m: {
1219
+ sectionType: "minutes",
1220
+ contentType: "digit",
1221
+ maxLength: 2
1222
+ },
1223
+ mm: "minutes",
1224
+ // Seconds
1225
+ s: {
1226
+ sectionType: "seconds",
1227
+ contentType: "digit",
1228
+ maxLength: 2
1229
+ },
1230
+ ss: "seconds"
1231
+ };
1232
+ const defaultFormats = {
1233
+ year: "YYYY",
1234
+ month: "MMMM",
1235
+ monthShort: "MMM",
1236
+ dayOfMonth: "D",
1237
+ dayOfMonthFull: "Do",
1238
+ weekday: "dddd",
1239
+ weekdayShort: "dd",
1240
+ hours24h: "HH",
1241
+ hours12h: "hh",
1242
+ meridiem: "A",
1243
+ minutes: "mm",
1244
+ seconds: "ss",
1245
+ fullDate: "ll",
1246
+ keyboardDate: "L",
1247
+ shortDate: "MMM D",
1248
+ normalDate: "D MMMM",
1249
+ normalDateWithWeekday: "ddd, MMM D",
1250
+ fullTime12h: "hh:mm A",
1251
+ fullTime24h: "HH:mm",
1252
+ keyboardDateTime12h: "L hh:mm A",
1253
+ keyboardDateTime24h: "L HH:mm"
1254
+ };
1255
+ const MISSING_UTC_PLUGIN = ["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("\n");
1256
+ const MISSING_TIMEZONE_PLUGIN = ["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("\n");
1257
+ class AdapterDayjs {
1258
+ isMUIAdapter = true;
1259
+ isTimezoneCompatible = true;
1260
+ lib = "dayjs";
1261
+ escapedCharacters = {
1262
+ start: "[",
1263
+ end: "]"
1264
+ };
1265
+ formatTokenMap = /* @__PURE__ */ (() => formatTokenMap)();
1266
+ constructor({
1267
+ locale,
1268
+ formats
1269
+ } = {}) {
1270
+ this.locale = locale;
1271
+ this.formats = _extends({}, defaultFormats, formats);
1272
+ dayjs.extend(customParseFormatPlugin);
1273
+ }
1274
+ setLocaleToValue = (value) => {
1275
+ const expectedLocale = this.getCurrentLocaleCode();
1276
+ if (expectedLocale === value.locale()) {
1277
+ return value;
1278
+ }
1279
+ return value.locale(expectedLocale);
1280
+ };
1281
+ hasUTCPlugin = () => typeof dayjs.utc !== "undefined";
1282
+ hasTimezonePlugin = () => typeof dayjs.tz !== "undefined";
1283
+ isSame = (value, comparing, comparisonTemplate) => {
1284
+ const comparingInValueTimezone = this.setTimezone(comparing, this.getTimezone(value));
1285
+ return value.format(comparisonTemplate) === comparingInValueTimezone.format(comparisonTemplate);
1286
+ };
1287
+ /**
1288
+ * Replaces "default" by undefined and "system" by the system timezone before passing it to `dayjs`.
1289
+ */
1290
+ cleanTimezone = (timezone) => {
1291
+ switch (timezone) {
1292
+ case "default": {
1293
+ return void 0;
1294
+ }
1295
+ case "system": {
1296
+ return dayjs.tz.guess();
1297
+ }
1298
+ default: {
1299
+ return timezone;
1300
+ }
1301
+ }
1302
+ };
1303
+ createSystemDate = (value) => {
1304
+ let date;
1305
+ if (this.hasUTCPlugin() && this.hasTimezonePlugin()) {
1306
+ const timezone = dayjs.tz.guess();
1307
+ if (timezone === "UTC") {
1308
+ date = dayjs(value);
1309
+ } else {
1310
+ date = dayjs.tz(value, timezone);
1311
+ }
1312
+ } else {
1313
+ date = dayjs(value);
1314
+ }
1315
+ return this.setLocaleToValue(date);
1316
+ };
1317
+ createUTCDate = (value) => {
1318
+ if (!this.hasUTCPlugin()) {
1319
+ throw new Error(MISSING_UTC_PLUGIN);
1320
+ }
1321
+ return this.setLocaleToValue(dayjs.utc(value));
1322
+ };
1323
+ createTZDate = (value, timezone) => {
1324
+ if (!this.hasUTCPlugin()) {
1325
+ throw new Error(MISSING_UTC_PLUGIN);
1326
+ }
1327
+ if (!this.hasTimezonePlugin()) {
1328
+ throw new Error(MISSING_TIMEZONE_PLUGIN);
1329
+ }
1330
+ const keepLocalTime = value !== void 0 && !value.endsWith("Z");
1331
+ return this.setLocaleToValue(dayjs(value).tz(this.cleanTimezone(timezone), keepLocalTime));
1332
+ };
1333
+ getLocaleFormats = () => {
1334
+ const locales = dayjs.Ls;
1335
+ const locale = this.locale || "en";
1336
+ let localeObject = locales[locale];
1337
+ if (localeObject === void 0) {
1338
+ if (process.env.NODE_ENV !== "production") {
1339
+ warnOnce(["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."]);
1340
+ }
1341
+ localeObject = locales.en;
1342
+ }
1343
+ return localeObject.formats;
1344
+ };
1345
+ /**
1346
+ * If the new day does not have the same offset as the old one (when switching to summer day time for example),
1347
+ * Then dayjs will not automatically adjust the offset (moment does).
1348
+ * We have to parse again the value to make sure the `fixOffset` method is applied.
1349
+ * See https://github.com/iamkun/dayjs/blob/b3624de619d6e734cd0ffdbbd3502185041c1b60/src/plugin/timezone/index.js#L72
1350
+ */
1351
+ adjustOffset = (value) => {
1352
+ if (!this.hasTimezonePlugin()) {
1353
+ return value;
1354
+ }
1355
+ const timezone = this.getTimezone(value);
1356
+ if (timezone !== "UTC") {
1357
+ const fixedValue = value.tz(this.cleanTimezone(timezone), true);
1358
+ if (fixedValue.$offset === (value.$offset ?? 0)) {
1359
+ return value;
1360
+ }
1361
+ value.$offset = fixedValue.$offset;
1362
+ }
1363
+ return value;
1364
+ };
1365
+ date = (value, timezone = "default") => {
1366
+ if (value === null) {
1367
+ return null;
1368
+ }
1369
+ if (timezone === "UTC") {
1370
+ return this.createUTCDate(value);
1371
+ }
1372
+ if (timezone === "system" || timezone === "default" && !this.hasTimezonePlugin()) {
1373
+ return this.createSystemDate(value);
1374
+ }
1375
+ return this.createTZDate(value, timezone);
1376
+ };
1377
+ getInvalidDate = () => dayjs(/* @__PURE__ */ new Date("Invalid date"));
1378
+ getTimezone = (value) => {
1379
+ if (this.hasTimezonePlugin()) {
1380
+ const zone = value.$x?.$timezone;
1381
+ if (zone) {
1382
+ return zone;
1383
+ }
1384
+ }
1385
+ if (this.hasUTCPlugin() && value.isUTC()) {
1386
+ return "UTC";
1387
+ }
1388
+ return "system";
1389
+ };
1390
+ setTimezone = (value, timezone) => {
1391
+ if (this.getTimezone(value) === timezone) {
1392
+ return value;
1393
+ }
1394
+ if (timezone === "UTC") {
1395
+ if (!this.hasUTCPlugin()) {
1396
+ throw new Error(MISSING_UTC_PLUGIN);
1397
+ }
1398
+ return value.utc();
1399
+ }
1400
+ if (timezone === "system") {
1401
+ return value.local();
1402
+ }
1403
+ if (!this.hasTimezonePlugin()) {
1404
+ if (timezone === "default") {
1405
+ return value;
1406
+ }
1407
+ throw new Error(MISSING_TIMEZONE_PLUGIN);
1408
+ }
1409
+ return this.setLocaleToValue(dayjs.tz(value, this.cleanTimezone(timezone)));
1410
+ };
1411
+ toJsDate = (value) => {
1412
+ return value.toDate();
1413
+ };
1414
+ parse = (value, format) => {
1415
+ if (value === "") {
1416
+ return null;
1417
+ }
1418
+ return dayjs(value, format, this.locale, true);
1419
+ };
1420
+ getCurrentLocaleCode = () => {
1421
+ return this.locale || "en";
1422
+ };
1423
+ is12HourCycleInCurrentLocale = () => {
1424
+ return /A|a/.test(this.getLocaleFormats().LT || "");
1425
+ };
1426
+ expandFormat = (format) => {
1427
+ const localeFormats = this.getLocaleFormats();
1428
+ const t = (formatBis) => formatBis.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (_, a, b) => a || b.slice(1));
1429
+ return format.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (_, a, b) => {
1430
+ const B = b && b.toUpperCase();
1431
+ return a || localeFormats[b] || t(localeFormats[B]);
1432
+ });
1433
+ };
1434
+ isValid = (value) => {
1435
+ if (value == null) {
1436
+ return false;
1437
+ }
1438
+ return value.isValid();
1439
+ };
1440
+ format = (value, formatKey) => {
1441
+ return this.formatByString(value, this.formats[formatKey]);
1442
+ };
1443
+ formatByString = (value, formatString) => {
1444
+ return this.setLocaleToValue(value).format(formatString);
1445
+ };
1446
+ formatNumber = (numberToFormat) => {
1447
+ return numberToFormat;
1448
+ };
1449
+ isEqual = (value, comparing) => {
1450
+ if (value === null && comparing === null) {
1451
+ return true;
1452
+ }
1453
+ if (value === null || comparing === null) {
1454
+ return false;
1455
+ }
1456
+ return value.toDate().getTime() === comparing.toDate().getTime();
1457
+ };
1458
+ isSameYear = (value, comparing) => {
1459
+ return this.isSame(value, comparing, "YYYY");
1460
+ };
1461
+ isSameMonth = (value, comparing) => {
1462
+ return this.isSame(value, comparing, "YYYY-MM");
1463
+ };
1464
+ isSameDay = (value, comparing) => {
1465
+ return this.isSame(value, comparing, "YYYY-MM-DD");
1466
+ };
1467
+ isSameHour = (value, comparing) => {
1468
+ return value.isSame(comparing, "hour");
1469
+ };
1470
+ isAfter = (value, comparing) => {
1471
+ return value > comparing;
1472
+ };
1473
+ isAfterYear = (value, comparing) => {
1474
+ if (!this.hasUTCPlugin()) {
1475
+ return value.isAfter(comparing, "year");
1476
+ }
1477
+ return !this.isSameYear(value, comparing) && value.utc() > comparing.utc();
1478
+ };
1479
+ isAfterDay = (value, comparing) => {
1480
+ if (!this.hasUTCPlugin()) {
1481
+ return value.isAfter(comparing, "day");
1482
+ }
1483
+ return !this.isSameDay(value, comparing) && value.utc() > comparing.utc();
1484
+ };
1485
+ isBefore = (value, comparing) => {
1486
+ return value < comparing;
1487
+ };
1488
+ isBeforeYear = (value, comparing) => {
1489
+ if (!this.hasUTCPlugin()) {
1490
+ return value.isBefore(comparing, "year");
1491
+ }
1492
+ return !this.isSameYear(value, comparing) && value.utc() < comparing.utc();
1493
+ };
1494
+ isBeforeDay = (value, comparing) => {
1495
+ if (!this.hasUTCPlugin()) {
1496
+ return value.isBefore(comparing, "day");
1497
+ }
1498
+ return !this.isSameDay(value, comparing) && value.utc() < comparing.utc();
1499
+ };
1500
+ isWithinRange = (value, [start, end]) => {
1501
+ return value >= start && value <= end;
1502
+ };
1503
+ startOfYear = (value) => {
1504
+ return this.adjustOffset(value.startOf("year"));
1505
+ };
1506
+ startOfMonth = (value) => {
1507
+ return this.adjustOffset(value.startOf("month"));
1508
+ };
1509
+ startOfWeek = (value) => {
1510
+ return this.adjustOffset(this.setLocaleToValue(value).startOf("week"));
1511
+ };
1512
+ startOfDay = (value) => {
1513
+ return this.adjustOffset(value.startOf("day"));
1514
+ };
1515
+ endOfYear = (value) => {
1516
+ return this.adjustOffset(value.endOf("year"));
1517
+ };
1518
+ endOfMonth = (value) => {
1519
+ return this.adjustOffset(value.endOf("month"));
1520
+ };
1521
+ endOfWeek = (value) => {
1522
+ return this.adjustOffset(this.setLocaleToValue(value).endOf("week"));
1523
+ };
1524
+ endOfDay = (value) => {
1525
+ return this.adjustOffset(value.endOf("day"));
1526
+ };
1527
+ addYears = (value, amount) => {
1528
+ return this.adjustOffset(value.add(amount, "year"));
1529
+ };
1530
+ addMonths = (value, amount) => {
1531
+ return this.adjustOffset(value.add(amount, "month"));
1532
+ };
1533
+ addWeeks = (value, amount) => {
1534
+ return this.adjustOffset(value.add(amount, "week"));
1535
+ };
1536
+ addDays = (value, amount) => {
1537
+ return this.adjustOffset(value.add(amount, "day"));
1538
+ };
1539
+ addHours = (value, amount) => {
1540
+ return this.adjustOffset(value.add(amount, "hour"));
1541
+ };
1542
+ addMinutes = (value, amount) => {
1543
+ return this.adjustOffset(value.add(amount, "minute"));
1544
+ };
1545
+ addSeconds = (value, amount) => {
1546
+ return this.adjustOffset(value.add(amount, "second"));
1547
+ };
1548
+ getYear = (value) => {
1549
+ return value.year();
1550
+ };
1551
+ getMonth = (value) => {
1552
+ return value.month();
1553
+ };
1554
+ getDate = (value) => {
1555
+ return value.date();
1556
+ };
1557
+ getHours = (value) => {
1558
+ return value.hour();
1559
+ };
1560
+ getMinutes = (value) => {
1561
+ return value.minute();
1562
+ };
1563
+ getSeconds = (value) => {
1564
+ return value.second();
1565
+ };
1566
+ getMilliseconds = (value) => {
1567
+ return value.millisecond();
1568
+ };
1569
+ setYear = (value, year) => {
1570
+ return this.adjustOffset(value.set("year", year));
1571
+ };
1572
+ setMonth = (value, month) => {
1573
+ return this.adjustOffset(value.set("month", month));
1574
+ };
1575
+ setDate = (value, date) => {
1576
+ return this.adjustOffset(value.set("date", date));
1577
+ };
1578
+ setHours = (value, hours) => {
1579
+ return this.adjustOffset(value.set("hour", hours));
1580
+ };
1581
+ setMinutes = (value, minutes) => {
1582
+ return this.adjustOffset(value.set("minute", minutes));
1583
+ };
1584
+ setSeconds = (value, seconds) => {
1585
+ return this.adjustOffset(value.set("second", seconds));
1586
+ };
1587
+ setMilliseconds = (value, milliseconds) => {
1588
+ return this.adjustOffset(value.set("millisecond", milliseconds));
1589
+ };
1590
+ getDaysInMonth = (value) => {
1591
+ return value.daysInMonth();
1592
+ };
1593
+ getWeekArray = (value) => {
1594
+ const start = this.startOfWeek(this.startOfMonth(value));
1595
+ const end = this.endOfWeek(this.endOfMonth(value));
1596
+ let count = 0;
1597
+ let current = start;
1598
+ const nestedWeeks = [];
1599
+ while (current < end) {
1600
+ const weekNumber = Math.floor(count / 7);
1601
+ nestedWeeks[weekNumber] = nestedWeeks[weekNumber] || [];
1602
+ nestedWeeks[weekNumber].push(current);
1603
+ current = this.addDays(current, 1);
1604
+ count += 1;
1605
+ }
1606
+ return nestedWeeks;
1607
+ };
1608
+ getWeekNumber = (value) => {
1609
+ return value.week();
1610
+ };
1611
+ getDayOfWeek(value) {
1612
+ return value.day() + 1;
1613
+ }
1614
+ getYearRange = ([start, end]) => {
1615
+ const startDate = this.startOfYear(start);
1616
+ const endDate = this.endOfYear(end);
1617
+ const years = [];
1618
+ let current = startDate;
1619
+ while (this.isBefore(current, endDate)) {
1620
+ years.push(current);
1621
+ current = this.addYears(current, 1);
1622
+ }
1623
+ return years;
1624
+ };
1625
+ }
51
1626
  function DialogsProvider({
52
1627
  children
53
1628
  }) {
@@ -103,7 +1678,7 @@ function DialogsProvider({
103
1678
  }
104
1679
  return dialog_1;
105
1680
  });
106
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(DialogsContext.Provider, { value: {
1681
+ return /* @__PURE__ */ jsxs(DialogsContext.Provider, { value: {
107
1682
  open: requestDialog,
108
1683
  close: closeDialog
109
1684
  }, children: [
@@ -114,18 +1689,18 @@ function DialogsProvider({
114
1689
  Component: Component_0,
115
1690
  payload: payload_0,
116
1691
  promise: promise_0
117
- }) => /* @__PURE__ */ jsxRuntimeExports.jsx(Component_0, { payload: payload_0, open, onClose: async (result_0) => {
1692
+ }) => /* @__PURE__ */ jsx(Component_0, { payload: payload_0, open, onClose: async (result_0) => {
118
1693
  await closeDialog(promise_0, result_0);
119
1694
  } }, key_0))
120
1695
  ] });
121
1696
  }
122
1697
  const AppTitle = () => {
123
- const $ = compilerRuntimeExports.c(1);
1698
+ const $ = c(1);
124
1699
  let t0;
125
1700
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
126
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Stack, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
127
- /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
128
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h6", children: clientEnv.VITE_APP_TITLE }),
1701
+ t0 = /* @__PURE__ */ jsxs(Stack, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
1702
+ /* @__PURE__ */ jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
1703
+ /* @__PURE__ */ jsx(Typography, { variant: "h6", children: clientEnv.VITE_APP_TITLE }),
129
1704
  false
130
1705
  ] });
131
1706
  $[0] = t0;
@@ -180,7 +1755,7 @@ const StyledRouterButton = styled(RouterListItemButton)(({
180
1755
  }
181
1756
  }));
182
1757
  const IconOrAvatar = (t0) => {
183
- const $ = compilerRuntimeExports.c(17);
1758
+ const $ = c(17);
184
1759
  const {
185
1760
  item,
186
1761
  collapsed
@@ -214,7 +1789,7 @@ const IconOrAvatar = (t0) => {
214
1789
  const t3 = item.icon ?? null;
215
1790
  let t4;
216
1791
  if ($[3] !== collapsed || $[4] !== item.icon || $[5] !== item.title) {
217
- t4 = !item.icon && collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsx(Avatar, { sx: {
1792
+ t4 = !item.icon && collapsed ? /* @__PURE__ */ jsx(Avatar, { sx: {
218
1793
  width: ICON_SIZE - 7,
219
1794
  height: ICON_SIZE - 7,
220
1795
  fontSize: 12
@@ -228,7 +1803,7 @@ const IconOrAvatar = (t0) => {
228
1803
  }
229
1804
  let t5;
230
1805
  if ($[7] !== t3 || $[8] !== t4) {
231
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemIcon, { sx: t2, children: [
1806
+ t5 = /* @__PURE__ */ jsxs(ListItemIcon, { sx: t2, children: [
232
1807
  t3,
233
1808
  t4
234
1809
  ] });
@@ -240,7 +1815,7 @@ const IconOrAvatar = (t0) => {
240
1815
  }
241
1816
  let t6;
242
1817
  if ($[10] !== collapsed || $[11] !== item.title) {
243
- t6 = collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsx(Typography$1, { variant: "caption", sx: {
1818
+ t6 = collapsed ? /* @__PURE__ */ jsx(Typography$1, { variant: "caption", sx: {
244
1819
  position: "absolute",
245
1820
  bottom: -18,
246
1821
  left: "50%",
@@ -261,7 +1836,7 @@ const IconOrAvatar = (t0) => {
261
1836
  }
262
1837
  let t7;
263
1838
  if ($[13] !== t1 || $[14] !== t5 || $[15] !== t6) {
264
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { sx: t1, children: [
1839
+ t7 = /* @__PURE__ */ jsxs(Box, { sx: t1, children: [
265
1840
  t5,
266
1841
  t6
267
1842
  ] });
@@ -277,7 +1852,7 @@ const IconOrAvatar = (t0) => {
277
1852
  return null;
278
1853
  };
279
1854
  const MiniPopover = (t0) => {
280
- const $ = compilerRuntimeExports.c(10);
1855
+ const $ = c(10);
281
1856
  const {
282
1857
  open,
283
1858
  anchorEl,
@@ -334,7 +1909,7 @@ const MiniPopover = (t0) => {
334
1909
  }
335
1910
  let t5;
336
1911
  if ($[4] !== children) {
337
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Paper, { sx: t4, children });
1912
+ t5 = /* @__PURE__ */ jsx(MuiPaper, { sx: t4, children });
338
1913
  $[4] = children;
339
1914
  $[5] = t5;
340
1915
  } else {
@@ -342,7 +1917,7 @@ const MiniPopover = (t0) => {
342
1917
  }
343
1918
  let t6;
344
1919
  if ($[6] !== anchorEl || $[7] !== open || $[8] !== t5) {
345
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Popper, { open, anchorEl, placement: "right-start", modifiers: t3, children: t5 });
1920
+ t6 = /* @__PURE__ */ jsx(MuiPopper, { open, anchorEl, placement: "right-start", modifiers: t3, children: t5 });
346
1921
  $[6] = anchorEl;
347
1922
  $[7] = open;
348
1923
  $[8] = t5;
@@ -353,7 +1928,7 @@ const MiniPopover = (t0) => {
353
1928
  return t6;
354
1929
  };
355
1930
  const NavigationListItem = (t0) => {
356
- const $ = compilerRuntimeExports.c(57);
1931
+ const $ = c(57);
357
1932
  const {
358
1933
  item,
359
1934
  isOpen,
@@ -431,7 +2006,7 @@ const NavigationListItem = (t0) => {
431
2006
  const buttonProps = t5;
432
2007
  let t6;
433
2008
  if ($[12] !== collapsed || $[13] !== item) {
434
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(IconOrAvatar, { item, collapsed });
2009
+ t6 = /* @__PURE__ */ jsx(IconOrAvatar, { item, collapsed });
435
2010
  $[12] = collapsed;
436
2011
  $[13] = item;
437
2012
  $[14] = t6;
@@ -440,7 +2015,7 @@ const NavigationListItem = (t0) => {
440
2015
  }
441
2016
  let t7;
442
2017
  if ($[15] !== collapsed || $[16] !== item.title) {
443
- t7 = !collapsed && /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText, { primary: item.title, slotProps: {
2018
+ t7 = !collapsed && /* @__PURE__ */ jsx(ListItemText, { primary: item.title, slotProps: {
444
2019
  primary: {
445
2020
  noWrap: true,
446
2021
  title: item.title
@@ -463,7 +2038,7 @@ const NavigationListItem = (t0) => {
463
2038
  }
464
2039
  let t8;
465
2040
  if ($[18] !== chevronSx || $[19] !== item.children) {
466
- t8 = item.children ? /* @__PURE__ */ jsxRuntimeExports.jsx(ExpandMoreIcon, { sx: chevronSx }) : null;
2041
+ t8 = item.children ? /* @__PURE__ */ jsx(ExpandMoreIcon, { sx: chevronSx }) : null;
467
2042
  $[18] = chevronSx;
468
2043
  $[19] = item.children;
469
2044
  $[20] = t8;
@@ -472,7 +2047,7 @@ const NavigationListItem = (t0) => {
472
2047
  }
473
2048
  let t9;
474
2049
  if ($[21] !== t6 || $[22] !== t7 || $[23] !== t8) {
475
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
2050
+ t9 = /* @__PURE__ */ jsxs(Fragment$1, { children: [
476
2051
  t6,
477
2052
  t7,
478
2053
  t8
@@ -516,7 +2091,7 @@ const NavigationListItem = (t0) => {
516
2091
  }
517
2092
  let t12;
518
2093
  if ($[30] !== buttonContent || $[31] !== buttonProps || $[32] !== item || $[33] !== onClick || $[34] !== onClose || $[35] !== shouldJustExpand) {
519
- t12 = shouldJustExpand ? /* @__PURE__ */ jsxRuntimeExports.jsx(StyledNavButton, { ...buttonProps, onClick: () => onClick?.(item), children: buttonContent }) : /* @__PURE__ */ jsxRuntimeExports.jsx(StyledRouterButton, { ...buttonProps, to: item.to, href: item.href, params: item.params, search: item.search, onClick: onClose, children: buttonContent });
2094
+ t12 = shouldJustExpand ? /* @__PURE__ */ jsx(StyledNavButton, { ...buttonProps, onClick: () => onClick?.(item), children: buttonContent }) : /* @__PURE__ */ jsx(StyledRouterButton, { ...buttonProps, to: item.to, href: item.href, params: item.params, search: item.search, onClick: onClose, children: buttonContent });
520
2095
  $[30] = buttonContent;
521
2096
  $[31] = buttonProps;
522
2097
  $[32] = item;
@@ -529,7 +2104,7 @@ const NavigationListItem = (t0) => {
529
2104
  }
530
2105
  let t13;
531
2106
  if ($[37] !== anchorElement || $[38] !== collapsed || $[39] !== hoveredPopoverItem || $[40] !== item.children || $[41] !== item.title || $[42] !== renderNested) {
532
- t13 = item.children && collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsx(MiniPopover, { open: item.title === hoveredPopoverItem, anchorEl: anchorElement, children: renderNested?.(item.children) }) : null;
2107
+ t13 = item.children && collapsed ? /* @__PURE__ */ jsx(MiniPopover, { open: item.title === hoveredPopoverItem, anchorEl: anchorElement, children: renderNested?.(item.children) }) : null;
533
2108
  $[37] = anchorElement;
534
2109
  $[38] = collapsed;
535
2110
  $[39] = hoveredPopoverItem;
@@ -542,7 +2117,7 @@ const NavigationListItem = (t0) => {
542
2117
  }
543
2118
  let t14;
544
2119
  if ($[44] !== t10 || $[45] !== t12 || $[46] !== t13) {
545
- t14 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItem, { ...t10, sx: t11, children: [
2120
+ t14 = /* @__PURE__ */ jsxs(ListItem, { ...t10, sx: t11, children: [
546
2121
  t12,
547
2122
  t13
548
2123
  ] });
@@ -556,7 +2131,7 @@ const NavigationListItem = (t0) => {
556
2131
  const listItem = t14;
557
2132
  let t15;
558
2133
  if ($[48] !== collapsed || $[49] !== isOpen || $[50] !== item.children || $[51] !== renderNested) {
559
- t15 = item.children && !collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsx(Collapse, { in: isOpen, timeout: "auto", unmountOnExit: true, children: renderNested?.(item.children) }) : null;
2134
+ t15 = item.children && !collapsed ? /* @__PURE__ */ jsx(Collapse, { in: isOpen, timeout: "auto", unmountOnExit: true, children: renderNested?.(item.children) }) : null;
560
2135
  $[48] = collapsed;
561
2136
  $[49] = isOpen;
562
2137
  $[50] = item.children;
@@ -567,7 +2142,7 @@ const NavigationListItem = (t0) => {
567
2142
  }
568
2143
  let t16;
569
2144
  if ($[53] !== item.to || $[54] !== listItem || $[55] !== t15) {
570
- t16 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
2145
+ t16 = /* @__PURE__ */ jsxs(Fragment, { children: [
571
2146
  listItem,
572
2147
  t15
573
2148
  ] }, item.to);
@@ -584,7 +2159,7 @@ const isPageItem = (item) => !("kind" in item);
584
2159
  const isDivider = (item) => "kind" in item && item.kind === "divider";
585
2160
  const isHeader = (item) => "kind" in item && item.kind === "header";
586
2161
  const NavigationList = (t0) => {
587
- const $ = compilerRuntimeExports.c(31);
2162
+ const $ = c(31);
588
2163
  const {
589
2164
  subNavigation,
590
2165
  depth: t1,
@@ -635,7 +2210,7 @@ const NavigationList = (t0) => {
635
2210
  const toggleKey = t6;
636
2211
  let t7;
637
2212
  if ($[5] !== activePath || $[6] !== collapsed || $[7] !== depth || $[8] !== expandedWidth || $[9] !== onClose || $[10] !== onNavigate) {
638
- t7 = (children) => /* @__PURE__ */ jsxRuntimeExports.jsx(NavigationList, { subNavigation: children, depth: depth + 1, isPopover: collapsed, expandedWidth, activePath, onNavigate, onClose });
2213
+ t7 = (children) => /* @__PURE__ */ jsx(NavigationList, { subNavigation: children, depth: depth + 1, isPopover: collapsed, expandedWidth, activePath, onNavigate, onClose });
639
2214
  $[5] = activePath;
640
2215
  $[6] = collapsed;
641
2216
  $[7] = depth;
@@ -674,9 +2249,9 @@ const NavigationList = (t0) => {
674
2249
  } else {
675
2250
  t14 = $[30];
676
2251
  }
677
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(List, { sx: t14, children: filteredNavigation.map((navItem, index) => {
2252
+ t8 = /* @__PURE__ */ jsx(List, { sx: t14, children: filteredNavigation.map((navItem, index) => {
678
2253
  if (isHeader(navItem)) {
679
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ListSubheader, { sx: {
2254
+ return /* @__PURE__ */ jsx(ListSubheader, { sx: {
680
2255
  fontSize: 12,
681
2256
  fontWeight: "700",
682
2257
  height: collapsed ? 0 : 40,
@@ -692,7 +2267,7 @@ const NavigationList = (t0) => {
692
2267
  }
693
2268
  if (isDivider(navItem)) {
694
2269
  const nextItem = filteredNavigation[index + 1];
695
- return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { sx: {
2270
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Divider, { sx: {
696
2271
  mx: 1,
697
2272
  mt: 1,
698
2273
  mb: isHeader(nextItem) && !collapsed ? 0 : 1
@@ -704,11 +2279,11 @@ const NavigationList = (t0) => {
704
2279
  const key_0 = `item-${depth}-${index}`;
705
2280
  const uniqueItemKey = `${depth}-${index}-${navItem.title}`;
706
2281
  if (renderItem) {
707
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Fragment, { children: renderItem(navItem, {
2282
+ return /* @__PURE__ */ jsx(Fragment, { children: renderItem(navItem, {
708
2283
  collapsed: !!collapsed
709
2284
  }) }, key_0);
710
2285
  }
711
- return /* @__PURE__ */ jsxRuntimeExports.jsx(NavigationListItem, { item: navItem, isOpen: openKeys.includes(uniqueItemKey), selected: activePath === navItem.to, collapsed, isSidebarFullyExpanded, isSidebarFullyCollapsed, onClick: navItem.children && !collapsed ? () => toggleKey(uniqueItemKey) : void 0, renderNested, onClose }, key_0);
2286
+ return /* @__PURE__ */ jsx(NavigationListItem, { item: navItem, isOpen: openKeys.includes(uniqueItemKey), selected: activePath === navItem.to, collapsed, isSidebarFullyExpanded, isSidebarFullyCollapsed, onClick: navItem.children && !collapsed ? () => toggleKey(uniqueItemKey) : void 0, renderNested, onClose }, key_0);
712
2287
  }) });
713
2288
  $[12] = activePath;
714
2289
  $[13] = collapsed;
@@ -735,7 +2310,7 @@ const MINI_WIDTH = 84;
735
2310
  const EXPANDED_WIDTH = 320;
736
2311
  const TOOLBAR_HEIGHT = 64;
737
2312
  const NavigationRail = (t0) => {
738
- const $ = compilerRuntimeExports.c(29);
2313
+ const $ = c(29);
739
2314
  const {
740
2315
  navigation,
741
2316
  expanded,
@@ -755,7 +2330,7 @@ const NavigationRail = (t0) => {
755
2330
  const showPermanent = useMediaQuery(t1);
756
2331
  let t2;
757
2332
  if ($[2] !== expanded || $[3] !== navigate || $[4] !== navigation || $[5] !== routerState.location.pathname || $[6] !== setExpanded || $[7] !== showPermanent) {
758
- t2 = (collapsed) => /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { component: "nav", sx: {
2333
+ t2 = (collapsed) => /* @__PURE__ */ jsx(Box, { component: "nav", sx: {
759
2334
  height: "100%",
760
2335
  display: "flex",
761
2336
  flexDirection: "column",
@@ -764,7 +2339,7 @@ const NavigationRail = (t0) => {
764
2339
  scrollbarGutter: collapsed ? "stable" : "auto",
765
2340
  overflowX: "hidden",
766
2341
  pt: navigation[0] && isHeader(navigation[0]) && !collapsed ? 0 : 2
767
- }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NavigationList, { subNavigation: navigation, collapsed, isSidebarFullyExpanded: expanded, isSidebarFullyCollapsed: !expanded, expandedWidth: EXPANDED_WIDTH, activePath: routerState.location.pathname, onNavigate: navigate, onClose: !showPermanent ? () => setExpanded(false) : void 0 }) });
2342
+ }, children: /* @__PURE__ */ jsx(NavigationList, { subNavigation: navigation, collapsed, isSidebarFullyExpanded: expanded, isSidebarFullyCollapsed: !expanded, expandedWidth: EXPANDED_WIDTH, activePath: routerState.location.pathname, onNavigate: navigate, onClose: !showPermanent ? () => setExpanded(false) : void 0 }) });
768
2343
  $[2] = expanded;
769
2344
  $[3] = navigate;
770
2345
  $[4] = navigation;
@@ -818,7 +2393,7 @@ const NavigationRail = (t0) => {
818
2393
  }
819
2394
  let t9;
820
2395
  if ($[17] !== t62 || $[18] !== t8) {
821
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer, { variant: "permanent", sx: t62, children: t8 });
2396
+ t9 = /* @__PURE__ */ jsx(Drawer, { variant: "permanent", sx: t62, children: t8 });
822
2397
  $[17] = t62;
823
2398
  $[18] = t8;
824
2399
  $[19] = t9;
@@ -847,7 +2422,7 @@ const NavigationRail = (t0) => {
847
2422
  }
848
2423
  let t6;
849
2424
  if ($[25] !== expanded || $[26] !== t3 || $[27] !== t5) {
850
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer, { open: expanded, onClose: t3, children: t5 });
2425
+ t6 = /* @__PURE__ */ jsx(Drawer, { open: expanded, onClose: t3, children: t5 });
851
2426
  $[25] = expanded;
852
2427
  $[26] = t3;
853
2428
  $[27] = t5;
@@ -920,7 +2495,7 @@ const getSessionUserPhoto = createServerFn({
920
2495
  });
921
2496
  const capitalize = (value) => value && value.charAt(0).toUpperCase() + value.slice(1);
922
2497
  const ToolbarAccount = () => {
923
- const $ = compilerRuntimeExports.c(105);
2498
+ const $ = c(105);
924
2499
  const [anchorElement, setAnchorElement] = useState();
925
2500
  const [tab, setTab] = useState("settings");
926
2501
  const open = Boolean(anchorElement);
@@ -1061,7 +2636,7 @@ const ToolbarAccount = () => {
1061
2636
  }
1062
2637
  let t142;
1063
2638
  if ($[33] !== t132) {
1064
- t142 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListSubheader$1, { sx: t122, children: t132 });
2639
+ t142 = /* @__PURE__ */ jsx(ListSubheader$1, { sx: t122, children: t132 });
1065
2640
  $[33] = t132;
1066
2641
  $[34] = t142;
1067
2642
  } else {
@@ -1082,7 +2657,7 @@ const ToolbarAccount = () => {
1082
2657
  }
1083
2658
  let t17;
1084
2659
  if ($[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1085
- t17 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Brightness4, {}) });
2660
+ t17 = /* @__PURE__ */ jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsx(Brightness4, {}) });
1086
2661
  $[37] = t17;
1087
2662
  } else {
1088
2663
  t17 = $[37];
@@ -1098,7 +2673,7 @@ const ToolbarAccount = () => {
1098
2673
  const t19 = colorModes.find((m) => m.mode === mode)?.label;
1099
2674
  let t20;
1100
2675
  if ($[40] !== t18 || $[41] !== t19) {
1101
- t20 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText$1, { primary: t18, secondary: t19 });
2676
+ t20 = /* @__PURE__ */ jsx(ListItemText$1, { primary: t18, secondary: t19 });
1102
2677
  $[40] = t18;
1103
2678
  $[41] = t19;
1104
2679
  $[42] = t20;
@@ -1107,14 +2682,14 @@ const ToolbarAccount = () => {
1107
2682
  }
1108
2683
  let t21;
1109
2684
  if ($[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1110
- t21 = /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, {});
2685
+ t21 = /* @__PURE__ */ jsx(ChevronRight, {});
1111
2686
  $[43] = t21;
1112
2687
  } else {
1113
2688
  t21 = $[43];
1114
2689
  }
1115
2690
  let t222;
1116
2691
  if ($[44] !== t20) {
1117
- t222 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton$1, { onClick: t152, sx: t162, children: [
2692
+ t222 = /* @__PURE__ */ jsxs(ListItemButton$1, { onClick: t152, sx: t162, children: [
1118
2693
  t17,
1119
2694
  t20,
1120
2695
  t21
@@ -1139,7 +2714,7 @@ const ToolbarAccount = () => {
1139
2714
  }
1140
2715
  let t25;
1141
2716
  if ($[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1142
- t25 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Translate, {}) });
2717
+ t25 = /* @__PURE__ */ jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsx(Translate, {}) });
1143
2718
  $[48] = t25;
1144
2719
  } else {
1145
2720
  t25 = $[48];
@@ -1154,19 +2729,19 @@ const ToolbarAccount = () => {
1154
2729
  }
1155
2730
  let t27;
1156
2731
  if ($[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1157
- t27 = /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, {});
2732
+ t27 = /* @__PURE__ */ jsx(ChevronRight, {});
1158
2733
  $[51] = t27;
1159
2734
  } else {
1160
2735
  t27 = $[51];
1161
2736
  }
1162
- const t28 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton$1, { onClick: t23, sx: t24, children: [
2737
+ const t28 = /* @__PURE__ */ jsxs(ListItemButton$1, { onClick: t23, sx: t24, children: [
1163
2738
  t25,
1164
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText$1, { primary: t26, secondary: capitalize(languageDisplayNames.of(i18n2.language)) }),
2739
+ /* @__PURE__ */ jsx(ListItemText$1, { primary: t26, secondary: capitalize(languageDisplayNames.of(i18n2.language)) }),
1165
2740
  t27
1166
2741
  ] });
1167
2742
  let t29;
1168
2743
  if ($[52] !== t142 || $[53] !== t222 || $[54] !== t28) {
1169
- t29 = /* @__PURE__ */ jsxRuntimeExports.jsxs(List$1, { component: "nav", subheader: t142, children: [
2744
+ t29 = /* @__PURE__ */ jsxs(List$1, { component: "nav", subheader: t142, children: [
1170
2745
  t222,
1171
2746
  t28
1172
2747
  ] });
@@ -1197,9 +2772,9 @@ const ToolbarAccount = () => {
1197
2772
  }
1198
2773
  let t322;
1199
2774
  if ($[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1200
- t322 = /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { size: "small", sx: {
2775
+ t322 = /* @__PURE__ */ jsx(IconButton, { size: "small", sx: {
1201
2776
  mr: 0.5
1202
- }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowBack, { fontSize: "small" }) });
2777
+ }, children: /* @__PURE__ */ jsx(ArrowBack, { fontSize: "small" }) });
1203
2778
  $[58] = t322;
1204
2779
  } else {
1205
2780
  t322 = $[58];
@@ -1214,7 +2789,7 @@ const ToolbarAccount = () => {
1214
2789
  }
1215
2790
  let t34;
1216
2791
  if ($[61] !== t33) {
1217
- t34 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListSubheader$1, { onClick: t30, sx: t31, children: [
2792
+ t34 = /* @__PURE__ */ jsxs(ListSubheader$1, { onClick: t30, sx: t31, children: [
1218
2793
  t322,
1219
2794
  " ",
1220
2795
  t33
@@ -1232,12 +2807,12 @@ const ToolbarAccount = () => {
1232
2807
  icon: Icon,
1233
2808
  label
1234
2809
  } = t362;
1235
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton$1, { onClick: () => {
2810
+ return /* @__PURE__ */ jsxs(ListItemButton$1, { onClick: () => {
1236
2811
  setMode(modeValue);
1237
2812
  closeMenu();
1238
2813
  }, selected: mode === modeValue, children: [
1239
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, {}) }),
1240
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText$1, { primary: label })
2814
+ /* @__PURE__ */ jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsx(Icon, {}) }),
2815
+ /* @__PURE__ */ jsx(ListItemText$1, { primary: label })
1241
2816
  ] }, modeValue);
1242
2817
  });
1243
2818
  $[63] = colorModes;
@@ -1249,7 +2824,7 @@ const ToolbarAccount = () => {
1249
2824
  }
1250
2825
  let t36;
1251
2826
  if ($[67] !== t34 || $[68] !== t35) {
1252
- t36 = /* @__PURE__ */ jsxRuntimeExports.jsx(List$1, { subheader: t34, children: t35 });
2827
+ t36 = /* @__PURE__ */ jsx(List$1, { subheader: t34, children: t35 });
1253
2828
  $[67] = t34;
1254
2829
  $[68] = t35;
1255
2830
  $[69] = t36;
@@ -1277,9 +2852,9 @@ const ToolbarAccount = () => {
1277
2852
  }
1278
2853
  let t39;
1279
2854
  if ($[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1280
- t39 = /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { size: "small", sx: {
2855
+ t39 = /* @__PURE__ */ jsx(IconButton, { size: "small", sx: {
1281
2856
  mr: 0.5
1282
- }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowBack, { fontSize: "small" }) });
2857
+ }, children: /* @__PURE__ */ jsx(ArrowBack, { fontSize: "small" }) });
1283
2858
  $[72] = t39;
1284
2859
  } else {
1285
2860
  t39 = $[72];
@@ -1293,7 +2868,7 @@ const ToolbarAccount = () => {
1293
2868
  t40 = $[74];
1294
2869
  }
1295
2870
  if ($[75] !== t40) {
1296
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListSubheader$1, { onClick: t37, sx: t38, children: [
2871
+ t0 = /* @__PURE__ */ jsxs(ListSubheader$1, { onClick: t37, sx: t38, children: [
1297
2872
  t39,
1298
2873
  " ",
1299
2874
  t40
@@ -1303,9 +2878,9 @@ const ToolbarAccount = () => {
1303
2878
  } else {
1304
2879
  t0 = $[76];
1305
2880
  }
1306
- t1 = supportedLanguages.map((languageCode) => /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton$1, { onClick: () => i18n2.changeLanguage(languageCode).finally(() => closeMenu()), selected: i18n2.resolvedLanguage === languageCode, children: [
1307
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon$1, { children: i18n2.resolvedLanguage === languageCode && /* @__PURE__ */ jsxRuntimeExports.jsx(Done, {}) }),
1308
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText$1, { primary: capitalize(languageDisplayNames.of(languageCode)) })
2881
+ t1 = supportedLanguages.map((languageCode) => /* @__PURE__ */ jsxs(ListItemButton$1, { onClick: () => i18n2.changeLanguage(languageCode).finally(() => closeMenu()), selected: i18n2.resolvedLanguage === languageCode, children: [
2882
+ /* @__PURE__ */ jsx(ListItemIcon$1, { children: i18n2.resolvedLanguage === languageCode && /* @__PURE__ */ jsx(Done, {}) }),
2883
+ /* @__PURE__ */ jsx(ListItemText$1, { primary: capitalize(languageDisplayNames.of(languageCode)) })
1309
2884
  ] }, languageCode));
1310
2885
  $[0] = i18n2;
1311
2886
  $[1] = mode;
@@ -1329,7 +2904,7 @@ const ToolbarAccount = () => {
1329
2904
  }
1330
2905
  let t2;
1331
2906
  if ($[77] !== T0 || $[78] !== t0 || $[79] !== t1) {
1332
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx(T0, { subheader: t0, children: t1 });
2907
+ t2 = /* @__PURE__ */ jsx(T0, { subheader: t0, children: t1 });
1333
2908
  $[77] = T0;
1334
2909
  $[78] = t0;
1335
2910
  $[79] = t1;
@@ -1340,7 +2915,7 @@ const ToolbarAccount = () => {
1340
2915
  const language = t2;
1341
2916
  let t3;
1342
2917
  if ($[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1343
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(AccountCircle, { sx: {
2918
+ t3 = /* @__PURE__ */ jsx(AccountCircle, { sx: {
1344
2919
  width: {
1345
2920
  xs: 32,
1346
2921
  sm: 40
@@ -1356,14 +2931,14 @@ const ToolbarAccount = () => {
1356
2931
  }
1357
2932
  let t4;
1358
2933
  if ($[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1359
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(Suspense, { fallback: t3, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Await, { promise: getSessionUserPhoto(), children: _temp2 }) });
2934
+ t4 = /* @__PURE__ */ jsx(Suspense, { fallback: t3, children: /* @__PURE__ */ jsx(Await, { promise: getSessionUserPhoto(), children: _temp2 }) });
1360
2935
  $[82] = t4;
1361
2936
  } else {
1362
2937
  t4 = $[82];
1363
2938
  }
1364
2939
  let t5;
1365
2940
  if ($[83] !== openMenu) {
1366
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { size: "small", edge: "end", onClick: openMenu, children: t4 });
2941
+ t5 = /* @__PURE__ */ jsx(IconButton, { size: "small", edge: "end", onClick: openMenu, children: t4 });
1367
2942
  $[83] = openMenu;
1368
2943
  $[84] = t5;
1369
2944
  } else {
@@ -1380,14 +2955,14 @@ const ToolbarAccount = () => {
1380
2955
  }
1381
2956
  let t7;
1382
2957
  if ($[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1383
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItem$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Await, { promise: getSessionUserDetail(), children: _temp3 }) });
2958
+ t7 = /* @__PURE__ */ jsx(ListItem$1, { children: /* @__PURE__ */ jsx(Await, { promise: getSessionUserDetail(), children: _temp3 }) });
1384
2959
  $[86] = t7;
1385
2960
  } else {
1386
2961
  t7 = $[86];
1387
2962
  }
1388
2963
  let t8;
1389
2964
  if ($[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1390
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Logout, { color: "error" }) });
2965
+ t8 = /* @__PURE__ */ jsx(ListItemIcon$1, { children: /* @__PURE__ */ jsx(Logout, { color: "error" }) });
1391
2966
  $[87] = t8;
1392
2967
  } else {
1393
2968
  t8 = $[87];
@@ -1402,11 +2977,11 @@ const ToolbarAccount = () => {
1402
2977
  }
1403
2978
  let t10;
1404
2979
  if ($[90] !== t9) {
1405
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs(List$1, { disablePadding: true, children: [
2980
+ t10 = /* @__PURE__ */ jsxs(List$1, { disablePadding: true, children: [
1406
2981
  t7,
1407
- /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton$1, { onClick: _temp4, children: [
2982
+ /* @__PURE__ */ jsxs(ListItemButton$1, { onClick: _temp4, children: [
1408
2983
  t8,
1409
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText$1, { primary: t9 })
2984
+ /* @__PURE__ */ jsx(ListItemText$1, { primary: t9 })
1410
2985
  ] })
1411
2986
  ] });
1412
2987
  $[90] = t9;
@@ -1419,7 +2994,7 @@ const ToolbarAccount = () => {
1419
2994
  const t13 = tab === "language" && language;
1420
2995
  let t14;
1421
2996
  if ($[92] !== t10 || $[93] !== t11 || $[94] !== t12 || $[95] !== t13) {
1422
- t14 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Box$1, { sx: t6, children: [
2997
+ t14 = /* @__PURE__ */ jsxs(Box$1, { sx: t6, children: [
1423
2998
  t10,
1424
2999
  t11,
1425
3000
  t12,
@@ -1435,7 +3010,7 @@ const ToolbarAccount = () => {
1435
3010
  }
1436
3011
  let t15;
1437
3012
  if ($[97] !== anchorElement || $[98] !== closeMenu || $[99] !== open || $[100] !== t14) {
1438
- t15 = /* @__PURE__ */ jsxRuntimeExports.jsx(Menu, { anchorEl: anchorElement, open, onClose: closeMenu, children: t14 });
3013
+ t15 = /* @__PURE__ */ jsx(Menu, { anchorEl: anchorElement, open, onClose: closeMenu, children: t14 });
1439
3014
  $[97] = anchorElement;
1440
3015
  $[98] = closeMenu;
1441
3016
  $[99] = open;
@@ -1446,7 +3021,7 @@ const ToolbarAccount = () => {
1446
3021
  }
1447
3022
  let t16;
1448
3023
  if ($[102] !== t15 || $[103] !== t5) {
1449
- t16 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
3024
+ t16 = /* @__PURE__ */ jsxs(Fragment, { children: [
1450
3025
  t5,
1451
3026
  t15
1452
3027
  ] });
@@ -1462,7 +3037,7 @@ function _temp$2(lng) {
1462
3037
  return lng !== "cimode";
1463
3038
  }
1464
3039
  function _temp2(data) {
1465
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Avatar$1, { src: data, sx: {
3040
+ return /* @__PURE__ */ jsx(Avatar$1, { src: data, sx: {
1466
3041
  width: {
1467
3042
  xs: 32,
1468
3043
  sm: 40
@@ -1474,7 +3049,7 @@ function _temp2(data) {
1474
3049
  } });
1475
3050
  }
1476
3051
  function _temp3(data_0) {
1477
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText$1, { primary: data_0.displayName.split("/")[0], secondary: data_0.jobTitle });
3052
+ return /* @__PURE__ */ jsx(ListItemText$1, { primary: data_0.displayName.split("/")[0], secondary: data_0.jobTitle });
1478
3053
  }
1479
3054
  function _temp4() {
1480
3055
  return console.log("Logout clicked");
@@ -1497,15 +3072,15 @@ const DrawerHeader = styled("div")(({
1497
3072
  ...theme.mixins.toolbar
1498
3073
  }));
1499
3074
  const Layout = (props) => {
1500
- const $ = compilerRuntimeExports.c(29);
3075
+ const $ = c(29);
1501
3076
  const [navigationOpen, setNavigationOpen] = useState(getNavigationOpenStatus);
1502
3077
  const isFetching = !!useIsFetching();
1503
3078
  const isMutating = !!useIsMutating();
1504
3079
  let t0;
1505
3080
  let t1;
1506
3081
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1507
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(InitColorSchemeScript, {});
1508
- t1 = /* @__PURE__ */ jsxRuntimeExports.jsx(CssBaseline, {});
3082
+ t0 = /* @__PURE__ */ jsx(InitColorSchemeScript, {});
3083
+ t1 = /* @__PURE__ */ jsx(CssBaseline, {});
1509
3084
  $[0] = t0;
1510
3085
  $[1] = t1;
1511
3086
  } else {
@@ -1538,11 +3113,11 @@ const Layout = (props) => {
1538
3113
  }
1539
3114
  let t4;
1540
3115
  if ($[4] !== navigationOpen || $[5] !== props.navigation) {
1541
- t4 = props.navigation && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { onClick: () => {
3116
+ t4 = props.navigation && /* @__PURE__ */ jsx(IconButton, { onClick: () => {
1542
3117
  setNavigationOpen(_temp$1);
1543
3118
  }, sx: {
1544
3119
  marginRight: 2
1545
- }, children: navigationOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(MenuOpen, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$1, {}) });
3120
+ }, children: navigationOpen ? /* @__PURE__ */ jsx(MenuOpen, {}) : /* @__PURE__ */ jsx(Menu$1, {}) });
1546
3121
  $[4] = navigationOpen;
1547
3122
  $[5] = props.navigation;
1548
3123
  $[6] = t4;
@@ -1552,8 +3127,8 @@ const Layout = (props) => {
1552
3127
  let t5;
1553
3128
  let t6;
1554
3129
  if ($[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1555
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(AppTitle, {});
1556
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(ToolbarAccount, {});
3130
+ t5 = /* @__PURE__ */ jsx(AppTitle, {});
3131
+ t6 = /* @__PURE__ */ jsx(ToolbarAccount, {});
1557
3132
  $[7] = t5;
1558
3133
  $[8] = t6;
1559
3134
  } else {
@@ -1562,7 +3137,7 @@ const Layout = (props) => {
1562
3137
  }
1563
3138
  let t7;
1564
3139
  if ($[9] !== t4) {
1565
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(AppBar, { color: "transparent", position: "fixed", sx: t3, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Toolbar, { children: [
3140
+ t7 = /* @__PURE__ */ jsx(AppBar, { color: "transparent", position: "fixed", sx: t3, children: /* @__PURE__ */ jsxs(Toolbar, { children: [
1566
3141
  t4,
1567
3142
  t5,
1568
3143
  t6
@@ -1574,7 +3149,7 @@ const Layout = (props) => {
1574
3149
  }
1575
3150
  let t8;
1576
3151
  if ($[11] !== navigationOpen || $[12] !== props.navigation) {
1577
- t8 = props.navigation && /* @__PURE__ */ jsxRuntimeExports.jsx(NavigationRail, { navigation: props.navigation, expanded: navigationOpen, setExpanded: (newValue_0) => {
3152
+ t8 = props.navigation && /* @__PURE__ */ jsx(NavigationRail, { navigation: props.navigation, expanded: navigationOpen, setExpanded: (newValue_0) => {
1578
3153
  setNavigationOpen(newValue_0);
1579
3154
  document.cookie = `navigationOpen=${newValue_0}; max-age=${YEAR_IN_SECONDS}; path=/`;
1580
3155
  } });
@@ -1595,7 +3170,7 @@ const Layout = (props) => {
1595
3170
  height: "100%",
1596
3171
  overflow: "hidden"
1597
3172
  };
1598
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsx(DrawerHeader, {});
3173
+ t10 = /* @__PURE__ */ jsx(DrawerHeader, {});
1599
3174
  $[14] = t10;
1600
3175
  $[15] = t9;
1601
3176
  } else {
@@ -1615,9 +3190,9 @@ const Layout = (props) => {
1615
3190
  }
1616
3191
  let t12;
1617
3192
  if ($[17] !== props.children) {
1618
- t12 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Box$1, { component: "main", sx: t9, children: [
3193
+ t12 = /* @__PURE__ */ jsxs(Box$1, { component: "main", sx: t9, children: [
1619
3194
  t10,
1620
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box$1, { sx: t11, children: props.children })
3195
+ /* @__PURE__ */ jsx(Box$1, { sx: t11, children: props.children })
1621
3196
  ] });
1622
3197
  $[17] = props.children;
1623
3198
  $[18] = t12;
@@ -1626,7 +3201,7 @@ const Layout = (props) => {
1626
3201
  }
1627
3202
  let t13;
1628
3203
  if ($[19] !== t12 || $[20] !== t7 || $[21] !== t8) {
1629
- t13 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Box$1, { sx: t2, children: [
3204
+ t13 = /* @__PURE__ */ jsxs(Box$1, { sx: t2, children: [
1630
3205
  t7,
1631
3206
  t8,
1632
3207
  t12
@@ -1640,7 +3215,7 @@ const Layout = (props) => {
1640
3215
  }
1641
3216
  let t14;
1642
3217
  if ($[23] !== isFetching || $[24] !== isMutating) {
1643
- t14 = (isFetching || isMutating) && /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgress, { sx: {
3218
+ t14 = (isFetching || isMutating) && /* @__PURE__ */ jsx(LinearProgress, { sx: {
1644
3219
  position: "fixed",
1645
3220
  top: {
1646
3221
  xs: 56,
@@ -1657,7 +3232,7 @@ const Layout = (props) => {
1657
3232
  }
1658
3233
  let t15;
1659
3234
  if ($[26] !== t13 || $[27] !== t14) {
1660
- t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
3235
+ t15 = /* @__PURE__ */ jsxs(Fragment, { children: [
1661
3236
  t0,
1662
3237
  t1,
1663
3238
  t13,
@@ -1690,7 +3265,7 @@ i18n.use(LanguageDetector).use(initReactI18next).init({
1690
3265
  }
1691
3266
  });
1692
3267
  const LayoutProvider = (t0) => {
1693
- const $ = compilerRuntimeExports.c(9);
3268
+ const $ = c(9);
1694
3269
  const {
1695
3270
  navigation,
1696
3271
  theme,
@@ -1721,7 +3296,7 @@ const LayoutProvider = (t0) => {
1721
3296
  useEffect(t1, t2);
1722
3297
  let t3;
1723
3298
  if ($[3] !== children || $[4] !== navigation) {
1724
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(LocalizationProvider, { dateAdapter: AdapterDayjs, adapterLocale: i18n.language, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DialogsProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Layout, { navigation, children }) }) }, i18n.language);
3299
+ t3 = /* @__PURE__ */ jsx(LocalizationProvider, { dateAdapter: AdapterDayjs, adapterLocale: i18n.language, children: /* @__PURE__ */ jsx(DialogsProvider, { children: /* @__PURE__ */ jsx(Layout, { navigation, children }) }) }, i18n.language);
1725
3300
  $[3] = children;
1726
3301
  $[4] = navigation;
1727
3302
  $[5] = t3;
@@ -1730,7 +3305,7 @@ const LayoutProvider = (t0) => {
1730
3305
  }
1731
3306
  let t4;
1732
3307
  if ($[6] !== t3 || $[7] !== theme) {
1733
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme, children: t3 });
3308
+ t4 = /* @__PURE__ */ jsx(ThemeProvider, { theme, children: t3 });
1734
3309
  $[6] = t3;
1735
3310
  $[7] = theme;
1736
3311
  $[8] = t4;