@luminix/mui-cms 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mui-cms.js CHANGED
@@ -1,19 +1,19 @@
1
1
  var mr = Object.defineProperty;
2
2
  var gr = (e, t, n) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Ve = (e, t, n) => gr(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { config as se, collect as W, app as T, model as ye, App as wt, Model as Oe, Route as br, Config as re } from "@luminix/core";
3
+ var $e = (e, t, n) => gr(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { config as oe, collect as W, app as T, model as ye, App as St, Model as Oe, Route as br, Config as re } from "@luminix/core";
5
5
  import { jsx as i, jsxs as w, Fragment as B } from "react/jsx-runtime";
6
- import { Outlet as yr, useParams as wr, useNavigate as St, useSearchParams as K, Link as Re, Form as Sr } from "react-router-dom";
7
- import { useCollection as mn, PaginationProvider as Ar, usePagination as Se, ModelForm as xr, useApplyReducers as At, Forms as Cr, LuminixProvider as Er } from "@luminix/react";
8
- import { useMediaQuery as Ie, Dialog as xt, DialogTitle as Ct, DialogContent as Et, DialogContentText as kr, DialogActions as kt, Button as M, Snackbar as Tr, Alert as Dr, IconButton as q, AlertTitle as Or, Box as V, Unstable_Grid2 as X, Fab as Rr, SpeedDial as Pr, SpeedDialIcon as vr, SpeedDialAction as Fr, ButtonGroup as Br, Popper as Lr, Grow as Ir, Paper as Tt, ClickAwayListener as Mr, MenuList as Nr, MenuItem as oe, AppBar as gn, Toolbar as jr, Typography as $, Avatar as Ur, Drawer as bn, Divider as Pe, Autocomplete as qr, TextField as Ae, CircularProgress as _r, Switch as Hr, Stack as N, FormControl as ot, InputLabel as at, Select as ve, Badge as Dt, Popover as zr, Link as it, Collapse as yn, TableCell as Q, RadioGroup as Vt, FormControlLabel as $e, Radio as Ke, TableContainer as Wr, Table as Vr, TableHead as $r, TableRow as fe, Checkbox as Ot, TableSortLabel as Kr, Skeleton as $t, TableBody as Yr, TableFooter as Jr, Tabs as Gr, Tab as Kt, Breadcrumbs as Zr, List as Xr, ListItem as Qr, ListItemButton as es, ListItemIcon as wn, ListItemText as Sn, Menu as An, CssBaseline as ts } from "@mui/material";
9
- import p, { useContext as xn, useMemo as ns } from "react";
10
- import { useTranslation as L, initReactI18next as rs } from "react-i18next";
11
- import { Close as Me, ArrowDropDown as Cn, ChevronLeft as Ne, ChevronRight as je, HighlightOffOutlined as lt, AddCircleOutline as En, FilterList as kn, Menu as Tn, LastPage as Dn, FirstPage as On, Search as ct, SwapVert as Rn, ArrowUpward as Pn, ArrowDownward as vn, MoreVert as Rt, ExpandLess as Fn, ExpandMore as Bn, Add as ss, CategoryOutlined as os, DashboardOutlined as as, PeopleOutlined as is } from "@mui/icons-material";
12
- import { useTheme as Pt, styled as G, createTheme as ls, ThemeProvider as cs } from "@mui/material/styles";
13
- import { Str as k, Obj as ee, Query as Ln, DateTime as Yt, Func as us, MakeFacade as vt, Reducible as In, ServiceProvider as Mn } from "@luminix/support";
6
+ import { Outlet as yr, useParams as wr, useNavigate as At, useSearchParams as K, Link as Re, Form as Sr } from "react-router-dom";
7
+ import { useCollection as mn, PaginationProvider as Ar, usePagination as Se, ModelForm as xr, useApplyReducers as xt, Forms as Cr, LuminixProvider as Er } from "@luminix/react";
8
+ import { useMediaQuery as Me, Dialog as Ct, DialogTitle as Et, DialogContent as kt, DialogContentText as kr, DialogActions as Tt, Button as M, Snackbar as Tr, Alert as Dr, IconButton as q, AlertTitle as Or, Box as V, Unstable_Grid2 as X, Fab as Rr, SpeedDial as Pr, SpeedDialIcon as vr, SpeedDialAction as Fr, ButtonGroup as Br, Popper as Lr, Grow as Ir, Paper as Dt, ClickAwayListener as Mr, MenuList as Nr, MenuItem as se, AppBar as gn, Toolbar as jr, Typography as $, Avatar as Ur, Drawer as bn, Divider as Pe, Autocomplete as qr, TextField as Ae, CircularProgress as _r, Switch as Hr, Stack as N, FormControl as at, InputLabel as it, Select as ve, Badge as Ot, Popover as zr, Link as lt, Collapse as yn, TableCell as Q, RadioGroup as $t, FormControlLabel as Ke, Radio as Ye, TableContainer as Wr, Table as Vr, TableHead as $r, TableRow as fe, Checkbox as Rt, TableSortLabel as Kr, Skeleton as Kt, TableBody as Yr, TableFooter as Jr, Tabs as Gr, Tab as Yt, Breadcrumbs as Zr, List as Xr, ListItem as Qr, ListItemButton as eo, ListItemIcon as wn, ListItemText as Sn, Menu as An, CssBaseline as to } from "@mui/material";
9
+ import p, { useContext as xn, useMemo as no } from "react";
10
+ import { useTranslation as L, initReactI18next as ro } from "react-i18next";
11
+ import { Close as Ne, ArrowDropDown as Cn, ChevronLeft as je, ChevronRight as Ue, HighlightOffOutlined as ct, AddCircleOutline as En, FilterList as kn, Menu as Tn, LastPage as Dn, FirstPage as On, Search as ut, SwapVert as Rn, ArrowUpward as Pn, ArrowDownward as vn, MoreVert as Pt, ExpandLess as Fn, ExpandMore as Bn, Add as oo, CategoryOutlined as so, DashboardOutlined as ao, PeopleOutlined as io } from "@mui/icons-material";
12
+ import { useTheme as vt, styled as G, createTheme as lo, ThemeProvider as co } from "@mui/material/styles";
13
+ import { Str as k, Obj as ee, DateTime as Fe, Query as Ln, Func as uo, MakeFacade as Ft, Reducible as In, ServiceProvider as Mn } from "@luminix/support";
14
14
  import Jt from "react-dom";
15
15
  import J from "i18next";
16
- const ds = {
16
+ const fo = {
17
17
  open: !1,
18
18
  setOpen: () => {
19
19
  },
@@ -28,47 +28,47 @@ const ds = {
28
28
  showBackButton: !1,
29
29
  setShowBackButton: () => {
30
30
  }
31
- }, Z = p.createContext(ds), Ye = document.title, fs = ({ children: e }) => {
32
- const [t, n] = p.useState(!1), [r, s] = p.useState(""), [o, a] = p.useState(!1), [l, d] = p.useState(!1), c = se("luminix.cms.layout", {}), u = Ie((y) => y.breakpoints.up((c == null ? void 0 : c.breakpoint) || "md")), h = {
31
+ }, Z = p.createContext(fo), Je = document.title, ho = ({ children: e }) => {
32
+ const [t, n] = p.useState(!1), [r, o] = p.useState(""), [s, a] = p.useState(!1), [l, d] = p.useState(!1), c = oe("luminix.cms.layout", {}), u = Me((y) => y.breakpoints.up((c == null ? void 0 : c.breakpoint) || "md")), h = {
33
33
  open: t,
34
34
  setOpen: n,
35
35
  layout: c,
36
36
  isBreakpointUp: u,
37
37
  currentPage: r,
38
- setCurrentPage: s,
39
- showSearch: o,
38
+ setCurrentPage: o,
39
+ showSearch: s,
40
40
  setShowSearch: a,
41
41
  showBackButton: l,
42
42
  setShowBackButton: d
43
43
  };
44
- return p.useEffect(() => (document.title = r ? `${r} | ${se("app.name", Ye)}` : se("app.name", Ye), () => {
45
- document.title = Ye;
44
+ return p.useEffect(() => (document.title = r ? `${r} | ${oe("app.name", Je)}` : oe("app.name", Je), () => {
45
+ document.title = Je;
46
46
  }), [r]), /* @__PURE__ */ i(Z.Provider, { value: h, children: e });
47
47
  }, Nn = p.createContext({
48
48
  Model: null
49
- }), Je = ({ Model: e, children: t }) => /* @__PURE__ */ i(Nn.Provider, { value: { Model: e }, children: t }), jn = p.createContext({
49
+ }), Ge = ({ Model: e, children: t }) => /* @__PURE__ */ i(Nn.Provider, { value: { Model: e }, children: t }), jn = p.createContext({
50
50
  isOpen: !1,
51
51
  dialog: () => Promise.reject(new Error("Trying to access DialogContext outside of DialogProvider")),
52
52
  dismissDialog: () => {
53
53
  },
54
54
  current: void 0
55
55
  });
56
- function hs(e) {
56
+ function po(e) {
57
57
  const [t, n] = p.useState(e);
58
58
  return p.useEffect(() => {
59
59
  e && n(e);
60
60
  }, [e]), e || t;
61
61
  }
62
- function ps({ children: e, ...t }) {
63
- const [{ current: n, resolve: r }, s] = p.useState({}), o = hs(n), a = p.useCallback((u) => new Promise((h) => {
64
- s({
62
+ function mo({ children: e, ...t }) {
63
+ const [{ current: n, resolve: r }, o] = p.useState({}), s = po(n), a = p.useCallback((u) => new Promise((h) => {
64
+ o({
65
65
  current: typeof u == "string" ? { message: u } : u,
66
66
  resolve: h
67
67
  });
68
68
  }), []), { t: l } = L(), d = () => {
69
- r && r(!1), s({});
69
+ r && r(!1), o({});
70
70
  }, c = () => {
71
- r && r(!0), s({});
71
+ r && r(!0), o({});
72
72
  };
73
73
  return /* @__PURE__ */ w(jn.Provider, { value: {
74
74
  isOpen: !!n,
@@ -78,7 +78,7 @@ function ps({ children: e, ...t }) {
78
78
  }, children: [
79
79
  e,
80
80
  /* @__PURE__ */ w(
81
- xt,
81
+ Ct,
82
82
  {
83
83
  open: !!n,
84
84
  "aria-labelledby": "alert-dialog-title",
@@ -86,14 +86,14 @@ function ps({ children: e, ...t }) {
86
86
  ...(n == null ? void 0 : n.dismissable) ?? !0 ? { onClose: d } : {},
87
87
  ...t,
88
88
  children: [
89
- (o == null ? void 0 : o.title) && /* @__PURE__ */ i(Ct, { id: "alert-dialog-title", children: o.title }),
90
- /* @__PURE__ */ i(Et, { children: /* @__PURE__ */ i(kr, { id: "alert-dialog-description", children: o == null ? void 0 : o.message }) }),
91
- /* @__PURE__ */ w(kt, { children: [
92
- (o == null ? void 0 : o.type) === "confirm" && /* @__PURE__ */ w(B, { children: [
93
- /* @__PURE__ */ i(M, { onClick: d, children: (o == null ? void 0 : o.cancelText) ?? l("No") }),
94
- /* @__PURE__ */ i(M, { onClick: c, autoFocus: !0, children: (o == null ? void 0 : o.confirmText) ?? l("Yes") })
89
+ (s == null ? void 0 : s.title) && /* @__PURE__ */ i(Et, { id: "alert-dialog-title", children: s.title }),
90
+ /* @__PURE__ */ i(kt, { children: /* @__PURE__ */ i(kr, { id: "alert-dialog-description", children: s == null ? void 0 : s.message }) }),
91
+ /* @__PURE__ */ w(Tt, { children: [
92
+ (s == null ? void 0 : s.type) === "confirm" && /* @__PURE__ */ w(B, { children: [
93
+ /* @__PURE__ */ i(M, { onClick: d, children: (s == null ? void 0 : s.cancelText) ?? l("No") }),
94
+ /* @__PURE__ */ i(M, { onClick: c, autoFocus: !0, children: (s == null ? void 0 : s.confirmText) ?? l("Yes") })
95
95
  ] }),
96
- ((o == null ? void 0 : o.type) ?? "alert") === "alert" && /* @__PURE__ */ i(M, { onClick: d, autoFocus: !0, children: (o == null ? void 0 : o.confirmText) ?? l("Ok") })
96
+ ((s == null ? void 0 : s.type) ?? "alert") === "alert" && /* @__PURE__ */ i(M, { onClick: d, autoFocus: !0, children: (s == null ? void 0 : s.confirmText) ?? l("Ok") })
97
97
  ] })
98
98
  ]
99
99
  }
@@ -104,7 +104,7 @@ function v() {
104
104
  const { isBreakpointUp: e } = xn(Z);
105
105
  return e;
106
106
  }
107
- const Ft = p.createContext({
107
+ const Bt = p.createContext({
108
108
  isOpen: !1,
109
109
  notify: () => {
110
110
  },
@@ -115,31 +115,31 @@ const Ft = p.createContext({
115
115
  displacement: "8px",
116
116
  setDisplacement: () => {
117
117
  }
118
- }), ut = W([]), ms = (e) => {
119
- ut.push(
118
+ }), dt = W([]), go = (e) => {
119
+ dt.push(
120
120
  typeof e == "string" ? { message: e } : e
121
121
  );
122
- }, gs = ({
122
+ }, bo = ({
123
123
  children: e,
124
124
  autoHideDuration: t = 6e3,
125
125
  variant: n,
126
126
  anchorOrigin: r,
127
- sx: s,
128
- ...o
127
+ sx: o,
128
+ ...s
129
129
  }) => {
130
- const a = mn(ut), l = v(), c = Pt().spacing(l ? 3 : 1), [u, h] = p.useState(), [y, S] = p.useState(c), { vertical: b = "bottom" } = r || {}, m = (g, x) => {
130
+ const a = mn(dt), l = v(), c = vt().spacing(l ? 3 : 1), [u, h] = p.useState(), [y, S] = p.useState(c), { vertical: b = "bottom" } = r || {}, m = (g, x) => {
131
131
  x !== "clickaway" && h(void 0);
132
132
  };
133
133
  return p.useEffect(() => {
134
134
  if (!u && a.isNotEmpty()) {
135
135
  const g = setTimeout(() => {
136
- h(ut.pull(0) ?? void 0);
136
+ h(dt.pull(0) ?? void 0);
137
137
  }, 100);
138
138
  return () => clearTimeout(g);
139
139
  }
140
- }, [u, a]), /* @__PURE__ */ w(Ft.Provider, { value: {
140
+ }, [u, a]), /* @__PURE__ */ w(Bt.Provider, { value: {
141
141
  isOpen: !!u,
142
- notify: ms,
142
+ notify: go,
143
143
  dismissNotification: m,
144
144
  notifications: a.all(),
145
145
  current: u,
@@ -155,10 +155,10 @@ const Ft = p.createContext({
155
155
  anchorOrigin: r,
156
156
  onClose: m,
157
157
  sx: {
158
- ...s,
158
+ ...o,
159
159
  [b]: `${y} !important`
160
160
  },
161
- ...o,
161
+ ...s,
162
162
  children: u && /* @__PURE__ */ w(
163
163
  Dr,
164
164
  {
@@ -177,7 +177,7 @@ const Ft = p.createContext({
177
177
  },
178
178
  A
179
179
  )),
180
- /* @__PURE__ */ i(q, { "aria-label": "close", color: "inherit", size: "small", onClick: m, children: /* @__PURE__ */ i(Me, {}) }, "close")
180
+ /* @__PURE__ */ i(q, { "aria-label": "close", color: "inherit", size: "small", onClick: m, children: /* @__PURE__ */ i(Ne, {}) }, "close")
181
181
  ],
182
182
  children: [
183
183
  u.title && /* @__PURE__ */ i(Or, { children: u.title }),
@@ -188,25 +188,25 @@ const Ft = p.createContext({
188
188
  }
189
189
  )
190
190
  ] });
191
- }, bs = ({ children: e }) => {
192
- const t = Ie("(prefers-color-scheme: dark)");
191
+ }, yo = ({ children: e }) => {
192
+ const t = Me("(prefers-color-scheme: dark)");
193
193
  return /* @__PURE__ */ i(
194
- gs,
194
+ bo,
195
195
  {
196
196
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
197
197
  variant: t ? "standard" : "filled",
198
- children: /* @__PURE__ */ i(ps, { children: /* @__PURE__ */ i(fs, { children: e }) })
198
+ children: /* @__PURE__ */ i(mo, { children: /* @__PURE__ */ i(ho, { children: e }) })
199
199
  }
200
200
  );
201
- }, ys = (e, {
201
+ }, wo = (e, {
202
202
  Layout: t,
203
203
  Dashboard: n,
204
204
  ModelIndex: r,
205
- ModelItem: s
205
+ ModelItem: o
206
206
  /* Error */
207
- }, o) => [
207
+ }, s) => [
208
208
  {
209
- element: /* @__PURE__ */ i(bs, { children: /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(yr, {}) }) }),
209
+ element: /* @__PURE__ */ i(yo, { children: /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(yr, {}) }) }),
210
210
  // errorElement: (
211
211
  // <Error />
212
212
  // ),
@@ -216,36 +216,36 @@ const Ft = p.createContext({
216
216
  name: "luminix.cms.dashboard",
217
217
  element: /* @__PURE__ */ i(n, {})
218
218
  },
219
- ...Object.entries(o).flatMap(([a, l]) => [
219
+ ...Object.entries(s).flatMap(([a, l]) => [
220
220
  {
221
221
  path: "/" + k.kebab(l.plural()),
222
222
  name: `luminix.cms.${a}.index`,
223
- element: /* @__PURE__ */ i(Je, { Model: l, children: /* @__PURE__ */ i(Ar, { factory: l.query, children: /* @__PURE__ */ i(r, {}) }) })
223
+ element: /* @__PURE__ */ i(Ge, { Model: l, children: /* @__PURE__ */ i(Ar, { factory: l.query, children: /* @__PURE__ */ i(r, {}) }) })
224
224
  },
225
225
  {
226
226
  path: "/" + k.kebab(l.plural()) + "/create",
227
227
  name: `luminix.cms.${a}.item`,
228
- element: /* @__PURE__ */ i(Je, { Model: l, children: /* @__PURE__ */ i(s, { create: !0 }) })
228
+ element: /* @__PURE__ */ i(Ge, { Model: l, children: /* @__PURE__ */ i(o, { create: !0 }) })
229
229
  },
230
230
  {
231
231
  path: "/" + k.kebab(l.plural()) + "/:id",
232
232
  name: `luminix.cms.${a}.item`,
233
- element: /* @__PURE__ */ i(Je, { Model: l, children: /* @__PURE__ */ i(s, {}) })
233
+ element: /* @__PURE__ */ i(Ge, { Model: l, children: /* @__PURE__ */ i(o, {}) })
234
234
  }
235
235
  ])
236
236
  ]
237
237
  }
238
238
  ];
239
- function Bt(e) {
239
+ function Lt(e) {
240
240
  const { setCurrentPage: t } = p.useContext(Z);
241
241
  p.useEffect(() => (t(e), () => {
242
242
  t("");
243
243
  }), [e, t]);
244
244
  }
245
- const ws = () => {
245
+ const So = () => {
246
246
  const { t: e } = L();
247
- return Bt(e("Dashboard")), /* @__PURE__ */ i(B, { children: "Dashboard" });
248
- }, Ss = ({ error: e }) => /* @__PURE__ */ w("div", { children: [
247
+ return Lt(e("Dashboard")), /* @__PURE__ */ i(B, { children: "Dashboard" });
248
+ }, Ao = ({ error: e }) => /* @__PURE__ */ w("div", { children: [
249
249
  /* @__PURE__ */ i("h1", { children: "Ops..." }),
250
250
  /* @__PURE__ */ i("p", { children: "Something went wrong" }),
251
251
  T().hasDebugModeEnabled() && e && /* @__PURE__ */ i(B, { children: /* @__PURE__ */ w("pre", { style: { whiteSpace: "pre-wrap" }, children: [
@@ -256,17 +256,17 @@ const ws = () => {
256
256
  ] });
257
257
  function H(e, t) {
258
258
  const { layout: n } = xn(Z);
259
- return ns(() => ee.get(n, e, t), [n, e, t]);
259
+ return no(() => ee.get(n, e, t), [n, e, t]);
260
260
  }
261
- const As = G("div")(({ theme: e }) => ({
261
+ const xo = G("div")(({ theme: e }) => ({
262
262
  padding: e.spacing(0, 1),
263
263
  // necessary for content to be below app bar
264
264
  ...e.mixins.toolbar
265
- })), xs = ({ children: e, slotProps: t, ...n }) => {
265
+ })), Co = ({ children: e, slotProps: t, ...n }) => {
266
266
  const {
267
267
  DesktopPageTitle: r,
268
- ["Layout.AppBar"]: s,
269
- ["Layout.Drawer"]: o
268
+ ["Layout.AppBar"]: o,
269
+ ["Layout.Drawer"]: s
270
270
  } = T("cms").getComponents(), a = H("appBar.height"), {
271
271
  AppBar: l,
272
272
  Drawer: d,
@@ -274,13 +274,13 @@ const As = G("div")(({ theme: e }) => ({
274
274
  } = t || {};
275
275
  return /* @__PURE__ */ w(V, { sx: { display: "flex" }, ...n, children: [
276
276
  /* @__PURE__ */ i(
277
- s,
277
+ o,
278
278
  {
279
279
  position: "fixed",
280
280
  ...l
281
281
  }
282
282
  ),
283
- /* @__PURE__ */ i(o, { ...d }),
283
+ /* @__PURE__ */ i(s, { ...d }),
284
284
  /* @__PURE__ */ w(
285
285
  V,
286
286
  {
@@ -291,7 +291,7 @@ const As = G("div")(({ theme: e }) => ({
291
291
  },
292
292
  ...c,
293
293
  children: [
294
- /* @__PURE__ */ i(As, { style: { height: a } }),
294
+ /* @__PURE__ */ i(xo, { style: { height: a } }),
295
295
  /* @__PURE__ */ i(r, {}),
296
296
  /* @__PURE__ */ i(V, { sx: { p: { xs: 1, sm: 2, md: 3 } }, children: e })
297
297
  ]
@@ -299,7 +299,7 @@ const As = G("div")(({ theme: e }) => ({
299
299
  )
300
300
  ] });
301
301
  };
302
- function Cs() {
302
+ function Eo() {
303
303
  const { setShowSearch: e } = p.useContext(Z);
304
304
  p.useEffect(() => (e(!0), () => {
305
305
  e(!1);
@@ -309,15 +309,15 @@ function te() {
309
309
  const { Model: e } = p.useContext(Nn);
310
310
  return e;
311
311
  }
312
- const Es = () => {
312
+ const ko = () => {
313
313
  const e = te(), {
314
314
  data: t,
315
315
  error: n,
316
316
  loading: r
317
317
  } = Se();
318
- Bt(e.plural()), Cs();
319
- const s = v(), {
320
- Breadcrumbs: o,
318
+ Lt(e.plural()), Eo();
319
+ const o = v(), {
320
+ Breadcrumbs: s,
321
321
  ["ModelIndex.Pagination"]: a,
322
322
  ["ModelIndex.StaticActions"]: l,
323
323
  ["ModelIndex.Table"]: d,
@@ -338,18 +338,18 @@ const Es = () => {
338
338
  justifyContent: "space-between",
339
339
  children: [
340
340
  /* @__PURE__ */ i(
341
- o,
341
+ s,
342
342
  {
343
343
  parts: [
344
344
  { name: e.plural() }
345
345
  ]
346
346
  }
347
347
  ),
348
- /* @__PURE__ */ i(l, { variant: s ? "default" : "fab" })
348
+ /* @__PURE__ */ i(l, { variant: o ? "default" : "fab" })
349
349
  ]
350
350
  }
351
351
  ),
352
- !s && /* @__PURE__ */ i(X, { display: "flex", justifyContent: "center", xs: 12, children: /* @__PURE__ */ i(a, { variant: "compact" }) }),
352
+ !o && /* @__PURE__ */ i(X, { display: "flex", justifyContent: "center", xs: 12, children: /* @__PURE__ */ i(a, { variant: "compact" }) }),
353
353
  /* @__PURE__ */ i(X, { xs: 12, sx: { pb: 0 }, children: /* @__PURE__ */ i(b, {}) }),
354
354
  /* @__PURE__ */ i(X, { xs: 12, sx: { pt: 0 }, children: /* @__PURE__ */ w(
355
355
  d,
@@ -366,7 +366,7 @@ const Es = () => {
366
366
  ) })
367
367
  ] });
368
368
  };
369
- function ks() {
369
+ function To() {
370
370
  const { setShowBackButton: e } = p.useContext(Z);
371
371
  p.useEffect(() => (e(!0), () => {
372
372
  e(!1);
@@ -377,82 +377,82 @@ function Un(e, t) {
377
377
  return e.apply(t, arguments);
378
378
  };
379
379
  }
380
- const { toString: Ts } = Object.prototype, { getPrototypeOf: Lt } = Object, Ue = /* @__PURE__ */ ((e) => (t) => {
381
- const n = Ts.call(t);
380
+ const { toString: Do } = Object.prototype, { getPrototypeOf: It } = Object, qe = /* @__PURE__ */ ((e) => (t) => {
381
+ const n = Do.call(t);
382
382
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
383
- })(/* @__PURE__ */ Object.create(null)), Y = (e) => (e = e.toLowerCase(), (t) => Ue(t) === e), qe = (e) => (t) => typeof t === e, { isArray: he } = Array, we = qe("undefined");
384
- function Ds(e) {
383
+ })(/* @__PURE__ */ Object.create(null)), Y = (e) => (e = e.toLowerCase(), (t) => qe(t) === e), _e = (e) => (t) => typeof t === e, { isArray: he } = Array, we = _e("undefined");
384
+ function Oo(e) {
385
385
  return e !== null && !we(e) && e.constructor !== null && !we(e.constructor) && _(e.constructor.isBuffer) && e.constructor.isBuffer(e);
386
386
  }
387
387
  const qn = Y("ArrayBuffer");
388
- function Os(e) {
388
+ function Ro(e) {
389
389
  let t;
390
390
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && qn(e.buffer), t;
391
391
  }
392
- const Rs = qe("string"), _ = qe("function"), _n = qe("number"), _e = (e) => e !== null && typeof e == "object", Ps = (e) => e === !0 || e === !1, Te = (e) => {
393
- if (Ue(e) !== "object")
392
+ const Po = _e("string"), _ = _e("function"), _n = _e("number"), He = (e) => e !== null && typeof e == "object", vo = (e) => e === !0 || e === !1, Te = (e) => {
393
+ if (qe(e) !== "object")
394
394
  return !1;
395
- const t = Lt(e);
395
+ const t = It(e);
396
396
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
397
- }, vs = Y("Date"), Fs = Y("File"), Bs = Y("Blob"), Ls = Y("FileList"), Is = (e) => _e(e) && _(e.pipe), Ms = (e) => {
397
+ }, Fo = Y("Date"), Bo = Y("File"), Lo = Y("Blob"), Io = Y("FileList"), Mo = (e) => He(e) && _(e.pipe), No = (e) => {
398
398
  let t;
399
- return e && (typeof FormData == "function" && e instanceof FormData || _(e.append) && ((t = Ue(e)) === "formdata" || // detect form-data instance
399
+ return e && (typeof FormData == "function" && e instanceof FormData || _(e.append) && ((t = qe(e)) === "formdata" || // detect form-data instance
400
400
  t === "object" && _(e.toString) && e.toString() === "[object FormData]"));
401
- }, Ns = Y("URLSearchParams"), [js, Us, qs, _s] = ["ReadableStream", "Request", "Response", "Headers"].map(Y), Hs = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
401
+ }, jo = Y("URLSearchParams"), [Uo, qo, _o, Ho] = ["ReadableStream", "Request", "Response", "Headers"].map(Y), zo = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
402
402
  function xe(e, t, { allOwnKeys: n = !1 } = {}) {
403
403
  if (e === null || typeof e > "u")
404
404
  return;
405
- let r, s;
405
+ let r, o;
406
406
  if (typeof e != "object" && (e = [e]), he(e))
407
- for (r = 0, s = e.length; r < s; r++)
407
+ for (r = 0, o = e.length; r < o; r++)
408
408
  t.call(null, e[r], r, e);
409
409
  else {
410
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = o.length;
410
+ const s = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = s.length;
411
411
  let l;
412
412
  for (r = 0; r < a; r++)
413
- l = o[r], t.call(null, e[l], l, e);
413
+ l = s[r], t.call(null, e[l], l, e);
414
414
  }
415
415
  }
416
416
  function Hn(e, t) {
417
417
  t = t.toLowerCase();
418
418
  const n = Object.keys(e);
419
- let r = n.length, s;
419
+ let r = n.length, o;
420
420
  for (; r-- > 0; )
421
- if (s = n[r], t === s.toLowerCase())
422
- return s;
421
+ if (o = n[r], t === o.toLowerCase())
422
+ return o;
423
423
  return null;
424
424
  }
425
425
  const ie = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, zn = (e) => !we(e) && e !== ie;
426
- function dt() {
427
- const { caseless: e } = zn(this) && this || {}, t = {}, n = (r, s) => {
428
- const o = e && Hn(t, s) || s;
429
- Te(t[o]) && Te(r) ? t[o] = dt(t[o], r) : Te(r) ? t[o] = dt({}, r) : he(r) ? t[o] = r.slice() : t[o] = r;
426
+ function ft() {
427
+ const { caseless: e } = zn(this) && this || {}, t = {}, n = (r, o) => {
428
+ const s = e && Hn(t, o) || o;
429
+ Te(t[s]) && Te(r) ? t[s] = ft(t[s], r) : Te(r) ? t[s] = ft({}, r) : he(r) ? t[s] = r.slice() : t[s] = r;
430
430
  };
431
- for (let r = 0, s = arguments.length; r < s; r++)
431
+ for (let r = 0, o = arguments.length; r < o; r++)
432
432
  arguments[r] && xe(arguments[r], n);
433
433
  return t;
434
434
  }
435
- const zs = (e, t, n, { allOwnKeys: r } = {}) => (xe(t, (s, o) => {
436
- n && _(s) ? e[o] = Un(s, n) : e[o] = s;
437
- }, { allOwnKeys: r }), e), Ws = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Vs = (e, t, n, r) => {
435
+ const Wo = (e, t, n, { allOwnKeys: r } = {}) => (xe(t, (o, s) => {
436
+ n && _(o) ? e[s] = Un(o, n) : e[s] = o;
437
+ }, { allOwnKeys: r }), e), Vo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), $o = (e, t, n, r) => {
438
438
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
439
439
  value: t.prototype
440
440
  }), n && Object.assign(e.prototype, n);
441
- }, $s = (e, t, n, r) => {
442
- let s, o, a;
441
+ }, Ko = (e, t, n, r) => {
442
+ let o, s, a;
443
443
  const l = {};
444
444
  if (t = t || {}, e == null) return t;
445
445
  do {
446
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
447
- a = s[o], (!r || r(a, e, t)) && !l[a] && (t[a] = e[a], l[a] = !0);
448
- e = n !== !1 && Lt(e);
446
+ for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
447
+ a = o[s], (!r || r(a, e, t)) && !l[a] && (t[a] = e[a], l[a] = !0);
448
+ e = n !== !1 && It(e);
449
449
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
450
450
  return t;
451
- }, Ks = (e, t, n) => {
451
+ }, Yo = (e, t, n) => {
452
452
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
453
453
  const r = e.indexOf(t, n);
454
454
  return r !== -1 && r === n;
455
- }, Ys = (e) => {
455
+ }, Jo = (e) => {
456
456
  if (!e) return null;
457
457
  if (he(e)) return e;
458
458
  let t = e.length;
@@ -461,31 +461,31 @@ const zs = (e, t, n, { allOwnKeys: r } = {}) => (xe(t, (s, o) => {
461
461
  for (; t-- > 0; )
462
462
  n[t] = e[t];
463
463
  return n;
464
- }, Js = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Lt(Uint8Array)), Gs = (e, t) => {
464
+ }, Go = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && It(Uint8Array)), Zo = (e, t) => {
465
465
  const r = (e && e[Symbol.iterator]).call(e);
466
- let s;
467
- for (; (s = r.next()) && !s.done; ) {
468
- const o = s.value;
469
- t.call(e, o[0], o[1]);
466
+ let o;
467
+ for (; (o = r.next()) && !o.done; ) {
468
+ const s = o.value;
469
+ t.call(e, s[0], s[1]);
470
470
  }
471
- }, Zs = (e, t) => {
471
+ }, Xo = (e, t) => {
472
472
  let n;
473
473
  const r = [];
474
474
  for (; (n = e.exec(t)) !== null; )
475
475
  r.push(n);
476
476
  return r;
477
- }, Xs = Y("HTMLFormElement"), Qs = (e) => e.toLowerCase().replace(
477
+ }, Qo = Y("HTMLFormElement"), es = (e) => e.toLowerCase().replace(
478
478
  /[-_\s]([a-z\d])(\w*)/g,
479
- function(n, r, s) {
480
- return r.toUpperCase() + s;
479
+ function(n, r, o) {
480
+ return r.toUpperCase() + o;
481
481
  }
482
- ), Gt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), eo = Y("RegExp"), Wn = (e, t) => {
482
+ ), Gt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ts = Y("RegExp"), Wn = (e, t) => {
483
483
  const n = Object.getOwnPropertyDescriptors(e), r = {};
484
- xe(n, (s, o) => {
484
+ xe(n, (o, s) => {
485
485
  let a;
486
- (a = t(s, o, e)) !== !1 && (r[o] = a || s);
486
+ (a = t(o, s, e)) !== !1 && (r[s] = a || o);
487
487
  }), Object.defineProperties(e, r);
488
- }, to = (e) => {
488
+ }, ns = (e) => {
489
489
  Wn(e, (t, n) => {
490
490
  if (_(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
491
491
  return !1;
@@ -500,114 +500,114 @@ const zs = (e, t, n, { allOwnKeys: r } = {}) => (xe(t, (s, o) => {
500
500
  });
501
501
  }
502
502
  });
503
- }, no = (e, t) => {
504
- const n = {}, r = (s) => {
505
- s.forEach((o) => {
506
- n[o] = !0;
503
+ }, rs = (e, t) => {
504
+ const n = {}, r = (o) => {
505
+ o.forEach((s) => {
506
+ n[s] = !0;
507
507
  });
508
508
  };
509
509
  return he(e) ? r(e) : r(String(e).split(t)), n;
510
- }, ro = () => {
511
- }, so = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, Ge = "abcdefghijklmnopqrstuvwxyz", Zt = "0123456789", Vn = {
510
+ }, os = () => {
511
+ }, ss = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, Ze = "abcdefghijklmnopqrstuvwxyz", Zt = "0123456789", Vn = {
512
512
  DIGIT: Zt,
513
- ALPHA: Ge,
514
- ALPHA_DIGIT: Ge + Ge.toUpperCase() + Zt
515
- }, oo = (e = 16, t = Vn.ALPHA_DIGIT) => {
513
+ ALPHA: Ze,
514
+ ALPHA_DIGIT: Ze + Ze.toUpperCase() + Zt
515
+ }, as = (e = 16, t = Vn.ALPHA_DIGIT) => {
516
516
  let n = "";
517
517
  const { length: r } = t;
518
518
  for (; e--; )
519
519
  n += t[Math.random() * r | 0];
520
520
  return n;
521
521
  };
522
- function ao(e) {
522
+ function is(e) {
523
523
  return !!(e && _(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
524
524
  }
525
- const io = (e) => {
526
- const t = new Array(10), n = (r, s) => {
527
- if (_e(r)) {
525
+ const ls = (e) => {
526
+ const t = new Array(10), n = (r, o) => {
527
+ if (He(r)) {
528
528
  if (t.indexOf(r) >= 0)
529
529
  return;
530
530
  if (!("toJSON" in r)) {
531
- t[s] = r;
532
- const o = he(r) ? [] : {};
531
+ t[o] = r;
532
+ const s = he(r) ? [] : {};
533
533
  return xe(r, (a, l) => {
534
- const d = n(a, s + 1);
535
- !we(d) && (o[l] = d);
536
- }), t[s] = void 0, o;
534
+ const d = n(a, o + 1);
535
+ !we(d) && (s[l] = d);
536
+ }), t[o] = void 0, s;
537
537
  }
538
538
  }
539
539
  return r;
540
540
  };
541
541
  return n(e, 0);
542
- }, lo = Y("AsyncFunction"), co = (e) => e && (_e(e) || _(e)) && _(e.then) && _(e.catch), $n = ((e, t) => e ? setImmediate : t ? ((n, r) => (ie.addEventListener("message", ({ source: s, data: o }) => {
543
- s === ie && o === n && r.length && r.shift()();
544
- }, !1), (s) => {
545
- r.push(s), ie.postMessage(n, "*");
542
+ }, cs = Y("AsyncFunction"), us = (e) => e && (He(e) || _(e)) && _(e.then) && _(e.catch), $n = ((e, t) => e ? setImmediate : t ? ((n, r) => (ie.addEventListener("message", ({ source: o, data: s }) => {
543
+ o === ie && s === n && r.length && r.shift()();
544
+ }, !1), (o) => {
545
+ r.push(o), ie.postMessage(n, "*");
546
546
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
547
547
  typeof setImmediate == "function",
548
548
  _(ie.postMessage)
549
- ), uo = typeof queueMicrotask < "u" ? queueMicrotask.bind(ie) : typeof process < "u" && process.nextTick || $n, f = {
549
+ ), ds = typeof queueMicrotask < "u" ? queueMicrotask.bind(ie) : typeof process < "u" && process.nextTick || $n, f = {
550
550
  isArray: he,
551
551
  isArrayBuffer: qn,
552
- isBuffer: Ds,
553
- isFormData: Ms,
554
- isArrayBufferView: Os,
555
- isString: Rs,
552
+ isBuffer: Oo,
553
+ isFormData: No,
554
+ isArrayBufferView: Ro,
555
+ isString: Po,
556
556
  isNumber: _n,
557
- isBoolean: Ps,
558
- isObject: _e,
557
+ isBoolean: vo,
558
+ isObject: He,
559
559
  isPlainObject: Te,
560
- isReadableStream: js,
561
- isRequest: Us,
562
- isResponse: qs,
563
- isHeaders: _s,
560
+ isReadableStream: Uo,
561
+ isRequest: qo,
562
+ isResponse: _o,
563
+ isHeaders: Ho,
564
564
  isUndefined: we,
565
- isDate: vs,
566
- isFile: Fs,
567
- isBlob: Bs,
568
- isRegExp: eo,
565
+ isDate: Fo,
566
+ isFile: Bo,
567
+ isBlob: Lo,
568
+ isRegExp: ts,
569
569
  isFunction: _,
570
- isStream: Is,
571
- isURLSearchParams: Ns,
572
- isTypedArray: Js,
573
- isFileList: Ls,
570
+ isStream: Mo,
571
+ isURLSearchParams: jo,
572
+ isTypedArray: Go,
573
+ isFileList: Io,
574
574
  forEach: xe,
575
- merge: dt,
576
- extend: zs,
577
- trim: Hs,
578
- stripBOM: Ws,
579
- inherits: Vs,
580
- toFlatObject: $s,
581
- kindOf: Ue,
575
+ merge: ft,
576
+ extend: Wo,
577
+ trim: zo,
578
+ stripBOM: Vo,
579
+ inherits: $o,
580
+ toFlatObject: Ko,
581
+ kindOf: qe,
582
582
  kindOfTest: Y,
583
- endsWith: Ks,
584
- toArray: Ys,
585
- forEachEntry: Gs,
586
- matchAll: Zs,
587
- isHTMLForm: Xs,
583
+ endsWith: Yo,
584
+ toArray: Jo,
585
+ forEachEntry: Zo,
586
+ matchAll: Xo,
587
+ isHTMLForm: Qo,
588
588
  hasOwnProperty: Gt,
589
589
  hasOwnProp: Gt,
590
590
  // an alias to avoid ESLint no-prototype-builtins detection
591
591
  reduceDescriptors: Wn,
592
- freezeMethods: to,
593
- toObjectSet: no,
594
- toCamelCase: Qs,
595
- noop: ro,
596
- toFiniteNumber: so,
592
+ freezeMethods: ns,
593
+ toObjectSet: rs,
594
+ toCamelCase: es,
595
+ noop: os,
596
+ toFiniteNumber: ss,
597
597
  findKey: Hn,
598
598
  global: ie,
599
599
  isContextDefined: zn,
600
600
  ALPHABET: Vn,
601
- generateString: oo,
602
- isSpecCompliantForm: ao,
603
- toJSONObject: io,
604
- isAsyncFn: lo,
605
- isThenable: co,
601
+ generateString: as,
602
+ isSpecCompliantForm: is,
603
+ toJSONObject: ls,
604
+ isAsyncFn: cs,
605
+ isThenable: us,
606
606
  setImmediate: $n,
607
- asap: uo
607
+ asap: ds
608
608
  };
609
- function C(e, t, n, r, s) {
610
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
609
+ function C(e, t, n, r, o) {
610
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
611
611
  }
612
612
  f.inherits(C, Error, {
613
613
  toJSON: function() {
@@ -650,31 +650,31 @@ const Kn = C.prototype, Yn = {};
650
650
  });
651
651
  Object.defineProperties(C, Yn);
652
652
  Object.defineProperty(Kn, "isAxiosError", { value: !0 });
653
- C.from = (e, t, n, r, s, o) => {
653
+ C.from = (e, t, n, r, o, s) => {
654
654
  const a = Object.create(Kn);
655
655
  return f.toFlatObject(e, a, function(d) {
656
656
  return d !== Error.prototype;
657
- }, (l) => l !== "isAxiosError"), C.call(a, e.message, t, n, r, s), a.cause = e, a.name = e.name, o && Object.assign(a, o), a;
657
+ }, (l) => l !== "isAxiosError"), C.call(a, e.message, t, n, r, o), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
658
658
  };
659
- const fo = null;
660
- function ft(e) {
659
+ const fs = null;
660
+ function ht(e) {
661
661
  return f.isPlainObject(e) || f.isArray(e);
662
662
  }
663
663
  function Jn(e) {
664
664
  return f.endsWith(e, "[]") ? e.slice(0, -2) : e;
665
665
  }
666
666
  function Xt(e, t, n) {
667
- return e ? e.concat(t).map(function(s, o) {
668
- return s = Jn(s), !n && o ? "[" + s + "]" : s;
667
+ return e ? e.concat(t).map(function(o, s) {
668
+ return o = Jn(o), !n && s ? "[" + o + "]" : o;
669
669
  }).join(n ? "." : "") : t;
670
670
  }
671
- function ho(e) {
672
- return f.isArray(e) && !e.some(ft);
671
+ function hs(e) {
672
+ return f.isArray(e) && !e.some(ht);
673
673
  }
674
- const po = f.toFlatObject(f, {}, null, function(t) {
674
+ const ps = f.toFlatObject(f, {}, null, function(t) {
675
675
  return /^is[A-Z]/.test(t);
676
676
  });
677
- function He(e, t, n) {
677
+ function ze(e, t, n) {
678
678
  if (!f.isObject(e))
679
679
  throw new TypeError("target must be an object");
680
680
  t = t || new FormData(), n = f.toFlatObject(n, {
@@ -684,8 +684,8 @@ function He(e, t, n) {
684
684
  }, !1, function(m, g) {
685
685
  return !f.isUndefined(g[m]);
686
686
  });
687
- const r = n.metaTokens, s = n.visitor || u, o = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(t);
688
- if (!f.isFunction(s))
687
+ const r = n.metaTokens, o = n.visitor || u, s = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(t);
688
+ if (!f.isFunction(o))
689
689
  throw new TypeError("visitor must be a function");
690
690
  function c(b) {
691
691
  if (b === null) return "";
@@ -700,28 +700,28 @@ function He(e, t, n) {
700
700
  if (b && !g && typeof b == "object") {
701
701
  if (f.endsWith(m, "{}"))
702
702
  m = r ? m : m.slice(0, -2), b = JSON.stringify(b);
703
- else if (f.isArray(b) && ho(b) || (f.isFileList(b) || f.endsWith(m, "[]")) && (x = f.toArray(b)))
703
+ else if (f.isArray(b) && hs(b) || (f.isFileList(b) || f.endsWith(m, "[]")) && (x = f.toArray(b)))
704
704
  return m = Jn(m), x.forEach(function(E, P) {
705
705
  !(f.isUndefined(E) || E === null) && t.append(
706
706
  // eslint-disable-next-line no-nested-ternary
707
- a === !0 ? Xt([m], P, o) : a === null ? m : m + "[]",
707
+ a === !0 ? Xt([m], P, s) : a === null ? m : m + "[]",
708
708
  c(E)
709
709
  );
710
710
  }), !1;
711
711
  }
712
- return ft(b) ? !0 : (t.append(Xt(g, m, o), c(b)), !1);
712
+ return ht(b) ? !0 : (t.append(Xt(g, m, s), c(b)), !1);
713
713
  }
714
- const h = [], y = Object.assign(po, {
714
+ const h = [], y = Object.assign(ps, {
715
715
  defaultVisitor: u,
716
716
  convertValue: c,
717
- isVisitable: ft
717
+ isVisitable: ht
718
718
  });
719
719
  function S(b, m) {
720
720
  if (!f.isUndefined(b)) {
721
721
  if (h.indexOf(b) !== -1)
722
722
  throw Error("Circular reference detected in " + m.join("."));
723
723
  h.push(b), f.forEach(b, function(x, A) {
724
- (!(f.isUndefined(x) || x === null) && s.call(
724
+ (!(f.isUndefined(x) || x === null) && o.call(
725
725
  t,
726
726
  x,
727
727
  f.isString(A) ? A.trim() : A,
@@ -749,10 +749,10 @@ function Qt(e) {
749
749
  return t[r];
750
750
  });
751
751
  }
752
- function It(e, t) {
753
- this._pairs = [], e && He(e, this, t);
752
+ function Mt(e, t) {
753
+ this._pairs = [], e && ze(e, this, t);
754
754
  }
755
- const Gn = It.prototype;
755
+ const Gn = Mt.prototype;
756
756
  Gn.append = function(t, n) {
757
757
  this._pairs.push([t, n]);
758
758
  };
@@ -760,21 +760,21 @@ Gn.toString = function(t) {
760
760
  const n = t ? function(r) {
761
761
  return t.call(this, r, Qt);
762
762
  } : Qt;
763
- return this._pairs.map(function(s) {
764
- return n(s[0]) + "=" + n(s[1]);
763
+ return this._pairs.map(function(o) {
764
+ return n(o[0]) + "=" + n(o[1]);
765
765
  }, "").join("&");
766
766
  };
767
- function mo(e) {
767
+ function ms(e) {
768
768
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
769
769
  }
770
770
  function Zn(e, t, n) {
771
771
  if (!t)
772
772
  return e;
773
- const r = n && n.encode || mo, s = n && n.serialize;
774
- let o;
775
- if (s ? o = s(t, n) : o = f.isURLSearchParams(t) ? t.toString() : new It(t, n).toString(r), o) {
773
+ const r = n && n.encode || ms, o = n && n.serialize;
774
+ let s;
775
+ if (o ? s = o(t, n) : s = f.isURLSearchParams(t) ? t.toString() : new Mt(t, n).toString(r), s) {
776
776
  const a = e.indexOf("#");
777
- a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
777
+ a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
778
778
  }
779
779
  return e;
780
780
  }
@@ -836,61 +836,61 @@ const Xn = {
836
836
  silentJSONParsing: !0,
837
837
  forcedJSONParsing: !0,
838
838
  clarifyTimeoutError: !1
839
- }, go = typeof URLSearchParams < "u" ? URLSearchParams : It, bo = typeof FormData < "u" ? FormData : null, yo = typeof Blob < "u" ? Blob : null, wo = {
839
+ }, gs = typeof URLSearchParams < "u" ? URLSearchParams : Mt, bs = typeof FormData < "u" ? FormData : null, ys = typeof Blob < "u" ? Blob : null, ws = {
840
840
  isBrowser: !0,
841
841
  classes: {
842
- URLSearchParams: go,
843
- FormData: bo,
844
- Blob: yo
842
+ URLSearchParams: gs,
843
+ FormData: bs,
844
+ Blob: ys
845
845
  },
846
846
  protocols: ["http", "https", "file", "blob", "url", "data"]
847
- }, Mt = typeof window < "u" && typeof document < "u", ht = typeof navigator == "object" && navigator || void 0, So = Mt && (!ht || ["ReactNative", "NativeScript", "NS"].indexOf(ht.product) < 0), Ao = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
848
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", xo = Mt && window.location.href || "http://localhost", Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
847
+ }, Nt = typeof window < "u" && typeof document < "u", pt = typeof navigator == "object" && navigator || void 0, Ss = Nt && (!pt || ["ReactNative", "NativeScript", "NS"].indexOf(pt.product) < 0), As = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
848
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", xs = Nt && window.location.href || "http://localhost", Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
849
849
  __proto__: null,
850
- hasBrowserEnv: Mt,
851
- hasStandardBrowserEnv: So,
852
- hasStandardBrowserWebWorkerEnv: Ao,
853
- navigator: ht,
854
- origin: xo
850
+ hasBrowserEnv: Nt,
851
+ hasStandardBrowserEnv: Ss,
852
+ hasStandardBrowserWebWorkerEnv: As,
853
+ navigator: pt,
854
+ origin: xs
855
855
  }, Symbol.toStringTag, { value: "Module" })), j = {
856
- ...Co,
857
- ...wo
856
+ ...Cs,
857
+ ...ws
858
858
  };
859
- function Eo(e, t) {
860
- return He(e, new j.classes.URLSearchParams(), Object.assign({
861
- visitor: function(n, r, s, o) {
862
- return j.isNode && f.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
859
+ function Es(e, t) {
860
+ return ze(e, new j.classes.URLSearchParams(), Object.assign({
861
+ visitor: function(n, r, o, s) {
862
+ return j.isNode && f.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
863
863
  }
864
864
  }, t));
865
865
  }
866
- function ko(e) {
866
+ function ks(e) {
867
867
  return f.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
868
868
  }
869
- function To(e) {
869
+ function Ts(e) {
870
870
  const t = {}, n = Object.keys(e);
871
871
  let r;
872
- const s = n.length;
873
- let o;
874
- for (r = 0; r < s; r++)
875
- o = n[r], t[o] = e[o];
872
+ const o = n.length;
873
+ let s;
874
+ for (r = 0; r < o; r++)
875
+ s = n[r], t[s] = e[s];
876
876
  return t;
877
877
  }
878
878
  function Qn(e) {
879
- function t(n, r, s, o) {
880
- let a = n[o++];
879
+ function t(n, r, o, s) {
880
+ let a = n[s++];
881
881
  if (a === "__proto__") return !0;
882
- const l = Number.isFinite(+a), d = o >= n.length;
883
- return a = !a && f.isArray(s) ? s.length : a, d ? (f.hasOwnProp(s, a) ? s[a] = [s[a], r] : s[a] = r, !l) : ((!s[a] || !f.isObject(s[a])) && (s[a] = []), t(n, r, s[a], o) && f.isArray(s[a]) && (s[a] = To(s[a])), !l);
882
+ const l = Number.isFinite(+a), d = s >= n.length;
883
+ return a = !a && f.isArray(o) ? o.length : a, d ? (f.hasOwnProp(o, a) ? o[a] = [o[a], r] : o[a] = r, !l) : ((!o[a] || !f.isObject(o[a])) && (o[a] = []), t(n, r, o[a], s) && f.isArray(o[a]) && (o[a] = Ts(o[a])), !l);
884
884
  }
885
885
  if (f.isFormData(e) && f.isFunction(e.entries)) {
886
886
  const n = {};
887
- return f.forEachEntry(e, (r, s) => {
888
- t(ko(r), s, n, 0);
887
+ return f.forEachEntry(e, (r, o) => {
888
+ t(ks(r), o, n, 0);
889
889
  }), n;
890
890
  }
891
891
  return null;
892
892
  }
893
- function Do(e, t, n) {
893
+ function Ds(e, t, n) {
894
894
  if (f.isString(e))
895
895
  try {
896
896
  return (t || JSON.parse)(e), f.trim(e);
@@ -904,9 +904,9 @@ const Ce = {
904
904
  transitional: Xn,
905
905
  adapter: ["xhr", "http", "fetch"],
906
906
  transformRequest: [function(t, n) {
907
- const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = f.isObject(t);
908
- if (o && f.isHTMLForm(t) && (t = new FormData(t)), f.isFormData(t))
909
- return s ? JSON.stringify(Qn(t)) : t;
907
+ const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = f.isObject(t);
908
+ if (s && f.isHTMLForm(t) && (t = new FormData(t)), f.isFormData(t))
909
+ return o ? JSON.stringify(Qn(t)) : t;
910
910
  if (f.isArrayBuffer(t) || f.isBuffer(t) || f.isStream(t) || f.isFile(t) || f.isBlob(t) || f.isReadableStream(t))
911
911
  return t;
912
912
  if (f.isArrayBufferView(t))
@@ -914,26 +914,26 @@ const Ce = {
914
914
  if (f.isURLSearchParams(t))
915
915
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
916
916
  let l;
917
- if (o) {
917
+ if (s) {
918
918
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
919
- return Eo(t, this.formSerializer).toString();
919
+ return Es(t, this.formSerializer).toString();
920
920
  if ((l = f.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
921
921
  const d = this.env && this.env.FormData;
922
- return He(
922
+ return ze(
923
923
  l ? { "files[]": t } : t,
924
924
  d && new d(),
925
925
  this.formSerializer
926
926
  );
927
927
  }
928
928
  }
929
- return o || s ? (n.setContentType("application/json", !1), Do(t)) : t;
929
+ return s || o ? (n.setContentType("application/json", !1), Ds(t)) : t;
930
930
  }],
931
931
  transformResponse: [function(t) {
932
- const n = this.transitional || Ce.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
932
+ const n = this.transitional || Ce.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
933
933
  if (f.isResponse(t) || f.isReadableStream(t))
934
934
  return t;
935
- if (t && f.isString(t) && (r && !this.responseType || s)) {
936
- const a = !(n && n.silentJSONParsing) && s;
935
+ if (t && f.isString(t) && (r && !this.responseType || o)) {
936
+ const a = !(n && n.silentJSONParsing) && o;
937
937
  try {
938
938
  return JSON.parse(t);
939
939
  } catch (l) {
@@ -969,7 +969,7 @@ const Ce = {
969
969
  f.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
970
970
  Ce.headers[e] = {};
971
971
  });
972
- const Oo = f.toObjectSet([
972
+ const Os = f.toObjectSet([
973
973
  "age",
974
974
  "authorization",
975
975
  "content-length",
@@ -987,12 +987,12 @@ const Oo = f.toObjectSet([
987
987
  "referer",
988
988
  "retry-after",
989
989
  "user-agent"
990
- ]), Ro = (e) => {
990
+ ]), Rs = (e) => {
991
991
  const t = {};
992
- let n, r, s;
992
+ let n, r, o;
993
993
  return e && e.split(`
994
994
  `).forEach(function(a) {
995
- s = a.indexOf(":"), n = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!n || t[n] && Oo[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
995
+ o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && Os[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
996
996
  }), t;
997
997
  }, tn = Symbol("internals");
998
998
  function ge(e) {
@@ -1001,33 +1001,33 @@ function ge(e) {
1001
1001
  function De(e) {
1002
1002
  return e === !1 || e == null ? e : f.isArray(e) ? e.map(De) : String(e);
1003
1003
  }
1004
- function Po(e) {
1004
+ function Ps(e) {
1005
1005
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1006
1006
  let r;
1007
1007
  for (; r = n.exec(e); )
1008
1008
  t[r[1]] = r[2];
1009
1009
  return t;
1010
1010
  }
1011
- const vo = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1012
- function Ze(e, t, n, r, s) {
1011
+ const vs = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1012
+ function Xe(e, t, n, r, o) {
1013
1013
  if (f.isFunction(r))
1014
1014
  return r.call(this, t, n);
1015
- if (s && (t = n), !!f.isString(t)) {
1015
+ if (o && (t = n), !!f.isString(t)) {
1016
1016
  if (f.isString(r))
1017
1017
  return t.indexOf(r) !== -1;
1018
1018
  if (f.isRegExp(r))
1019
1019
  return r.test(t);
1020
1020
  }
1021
1021
  }
1022
- function Fo(e) {
1022
+ function Fs(e) {
1023
1023
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
1024
1024
  }
1025
- function Bo(e, t) {
1025
+ function Bs(e, t) {
1026
1026
  const n = f.toCamelCase(" " + t);
1027
1027
  ["get", "set", "has"].forEach((r) => {
1028
1028
  Object.defineProperty(e, r + n, {
1029
- value: function(s, o, a) {
1030
- return this[r].call(this, t, s, o, a);
1029
+ value: function(o, s, a) {
1030
+ return this[r].call(this, t, o, s, a);
1031
1031
  },
1032
1032
  configurable: !0
1033
1033
  });
@@ -1038,39 +1038,39 @@ let U = class {
1038
1038
  t && this.set(t);
1039
1039
  }
1040
1040
  set(t, n, r) {
1041
- const s = this;
1042
- function o(l, d, c) {
1041
+ const o = this;
1042
+ function s(l, d, c) {
1043
1043
  const u = ge(d);
1044
1044
  if (!u)
1045
1045
  throw new Error("header name must be a non-empty string");
1046
- const h = f.findKey(s, u);
1047
- (!h || s[h] === void 0 || c === !0 || c === void 0 && s[h] !== !1) && (s[h || d] = De(l));
1046
+ const h = f.findKey(o, u);
1047
+ (!h || o[h] === void 0 || c === !0 || c === void 0 && o[h] !== !1) && (o[h || d] = De(l));
1048
1048
  }
1049
- const a = (l, d) => f.forEach(l, (c, u) => o(c, u, d));
1049
+ const a = (l, d) => f.forEach(l, (c, u) => s(c, u, d));
1050
1050
  if (f.isPlainObject(t) || t instanceof this.constructor)
1051
1051
  a(t, n);
1052
- else if (f.isString(t) && (t = t.trim()) && !vo(t))
1053
- a(Ro(t), n);
1052
+ else if (f.isString(t) && (t = t.trim()) && !vs(t))
1053
+ a(Rs(t), n);
1054
1054
  else if (f.isHeaders(t))
1055
1055
  for (const [l, d] of t.entries())
1056
- o(d, l, r);
1056
+ s(d, l, r);
1057
1057
  else
1058
- t != null && o(n, t, r);
1058
+ t != null && s(n, t, r);
1059
1059
  return this;
1060
1060
  }
1061
1061
  get(t, n) {
1062
1062
  if (t = ge(t), t) {
1063
1063
  const r = f.findKey(this, t);
1064
1064
  if (r) {
1065
- const s = this[r];
1065
+ const o = this[r];
1066
1066
  if (!n)
1067
- return s;
1067
+ return o;
1068
1068
  if (n === !0)
1069
- return Po(s);
1069
+ return Ps(o);
1070
1070
  if (f.isFunction(n))
1071
- return n.call(this, s, r);
1071
+ return n.call(this, o, r);
1072
1072
  if (f.isRegExp(n))
1073
- return n.exec(s);
1073
+ return n.exec(o);
1074
1074
  throw new TypeError("parser must be boolean|regexp|function");
1075
1075
  }
1076
1076
  }
@@ -1078,40 +1078,40 @@ let U = class {
1078
1078
  has(t, n) {
1079
1079
  if (t = ge(t), t) {
1080
1080
  const r = f.findKey(this, t);
1081
- return !!(r && this[r] !== void 0 && (!n || Ze(this, this[r], r, n)));
1081
+ return !!(r && this[r] !== void 0 && (!n || Xe(this, this[r], r, n)));
1082
1082
  }
1083
1083
  return !1;
1084
1084
  }
1085
1085
  delete(t, n) {
1086
1086
  const r = this;
1087
- let s = !1;
1088
- function o(a) {
1087
+ let o = !1;
1088
+ function s(a) {
1089
1089
  if (a = ge(a), a) {
1090
1090
  const l = f.findKey(r, a);
1091
- l && (!n || Ze(r, r[l], l, n)) && (delete r[l], s = !0);
1091
+ l && (!n || Xe(r, r[l], l, n)) && (delete r[l], o = !0);
1092
1092
  }
1093
1093
  }
1094
- return f.isArray(t) ? t.forEach(o) : o(t), s;
1094
+ return f.isArray(t) ? t.forEach(s) : s(t), o;
1095
1095
  }
1096
1096
  clear(t) {
1097
1097
  const n = Object.keys(this);
1098
- let r = n.length, s = !1;
1098
+ let r = n.length, o = !1;
1099
1099
  for (; r--; ) {
1100
- const o = n[r];
1101
- (!t || Ze(this, this[o], o, t, !0)) && (delete this[o], s = !0);
1100
+ const s = n[r];
1101
+ (!t || Xe(this, this[s], s, t, !0)) && (delete this[s], o = !0);
1102
1102
  }
1103
- return s;
1103
+ return o;
1104
1104
  }
1105
1105
  normalize(t) {
1106
1106
  const n = this, r = {};
1107
- return f.forEach(this, (s, o) => {
1108
- const a = f.findKey(r, o);
1107
+ return f.forEach(this, (o, s) => {
1108
+ const a = f.findKey(r, s);
1109
1109
  if (a) {
1110
- n[a] = De(s), delete n[o];
1110
+ n[a] = De(o), delete n[s];
1111
1111
  return;
1112
1112
  }
1113
- const l = t ? Fo(o) : String(o).trim();
1114
- l !== o && delete n[o], n[l] = De(s), r[l] = !0;
1113
+ const l = t ? Fs(s) : String(s).trim();
1114
+ l !== s && delete n[s], n[l] = De(o), r[l] = !0;
1115
1115
  }), this;
1116
1116
  }
1117
1117
  concat(...t) {
@@ -1119,8 +1119,8 @@ let U = class {
1119
1119
  }
1120
1120
  toJSON(t) {
1121
1121
  const n = /* @__PURE__ */ Object.create(null);
1122
- return f.forEach(this, (r, s) => {
1123
- r != null && r !== !1 && (n[s] = t && f.isArray(r) ? r.join(", ") : r);
1122
+ return f.forEach(this, (r, o) => {
1123
+ r != null && r !== !1 && (n[o] = t && f.isArray(r) ? r.join(", ") : r);
1124
1124
  }), n;
1125
1125
  }
1126
1126
  [Symbol.iterator]() {
@@ -1138,17 +1138,17 @@ let U = class {
1138
1138
  }
1139
1139
  static concat(t, ...n) {
1140
1140
  const r = new this(t);
1141
- return n.forEach((s) => r.set(s)), r;
1141
+ return n.forEach((o) => r.set(o)), r;
1142
1142
  }
1143
1143
  static accessor(t) {
1144
1144
  const r = (this[tn] = this[tn] = {
1145
1145
  accessors: {}
1146
- }).accessors, s = this.prototype;
1147
- function o(a) {
1146
+ }).accessors, o = this.prototype;
1147
+ function s(a) {
1148
1148
  const l = ge(a);
1149
- r[l] || (Bo(s, a), r[l] = !0);
1149
+ r[l] || (Bs(o, a), r[l] = !0);
1150
1150
  }
1151
- return f.isArray(t) ? t.forEach(o) : o(t), this;
1151
+ return f.isArray(t) ? t.forEach(s) : s(t), this;
1152
1152
  }
1153
1153
  };
1154
1154
  U.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
@@ -1162,12 +1162,12 @@ f.reduceDescriptors(U.prototype, ({ value: e }, t) => {
1162
1162
  };
1163
1163
  });
1164
1164
  f.freezeMethods(U);
1165
- function Xe(e, t) {
1166
- const n = this || Ce, r = t || n, s = U.from(r.headers);
1167
- let o = r.data;
1165
+ function Qe(e, t) {
1166
+ const n = this || Ce, r = t || n, o = U.from(r.headers);
1167
+ let s = r.data;
1168
1168
  return f.forEach(e, function(l) {
1169
- o = l.call(n, o, s.normalize(), t ? t.status : void 0);
1170
- }), s.normalize(), o;
1169
+ s = l.call(n, s, o.normalize(), t ? t.status : void 0);
1170
+ }), o.normalize(), s;
1171
1171
  }
1172
1172
  function er(e) {
1173
1173
  return !!(e && e.__CANCEL__);
@@ -1188,43 +1188,43 @@ function tr(e, t, n) {
1188
1188
  n
1189
1189
  ));
1190
1190
  }
1191
- function Lo(e) {
1191
+ function Ls(e) {
1192
1192
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1193
1193
  return t && t[1] || "";
1194
1194
  }
1195
- function Io(e, t) {
1195
+ function Is(e, t) {
1196
1196
  e = e || 10;
1197
1197
  const n = new Array(e), r = new Array(e);
1198
- let s = 0, o = 0, a;
1198
+ let o = 0, s = 0, a;
1199
1199
  return t = t !== void 0 ? t : 1e3, function(d) {
1200
- const c = Date.now(), u = r[o];
1201
- a || (a = c), n[s] = d, r[s] = c;
1202
- let h = o, y = 0;
1203
- for (; h !== s; )
1200
+ const c = Date.now(), u = r[s];
1201
+ a || (a = c), n[o] = d, r[o] = c;
1202
+ let h = s, y = 0;
1203
+ for (; h !== o; )
1204
1204
  y += n[h++], h = h % e;
1205
- if (s = (s + 1) % e, s === o && (o = (o + 1) % e), c - a < t)
1205
+ if (o = (o + 1) % e, o === s && (s = (s + 1) % e), c - a < t)
1206
1206
  return;
1207
1207
  const S = u && c - u;
1208
1208
  return S ? Math.round(y * 1e3 / S) : void 0;
1209
1209
  };
1210
1210
  }
1211
- function Mo(e, t) {
1212
- let n = 0, r = 1e3 / t, s, o;
1211
+ function Ms(e, t) {
1212
+ let n = 0, r = 1e3 / t, o, s;
1213
1213
  const a = (c, u = Date.now()) => {
1214
- n = u, s = null, o && (clearTimeout(o), o = null), e.apply(null, c);
1214
+ n = u, o = null, s && (clearTimeout(s), s = null), e.apply(null, c);
1215
1215
  };
1216
1216
  return [(...c) => {
1217
1217
  const u = Date.now(), h = u - n;
1218
- h >= r ? a(c, u) : (s = c, o || (o = setTimeout(() => {
1219
- o = null, a(s);
1218
+ h >= r ? a(c, u) : (o = c, s || (s = setTimeout(() => {
1219
+ s = null, a(o);
1220
1220
  }, r - h)));
1221
- }, () => s && a(s)];
1221
+ }, () => o && a(o)];
1222
1222
  }
1223
- const Fe = (e, t, n = 3) => {
1223
+ const Be = (e, t, n = 3) => {
1224
1224
  let r = 0;
1225
- const s = Io(50, 250);
1226
- return Mo((o) => {
1227
- const a = o.loaded, l = o.lengthComputable ? o.total : void 0, d = a - r, c = s(d), u = a <= l;
1225
+ const o = Is(50, 250);
1226
+ return Ms((s) => {
1227
+ const a = s.loaded, l = s.lengthComputable ? s.total : void 0, d = a - r, c = o(d), u = a <= l;
1228
1228
  r = a;
1229
1229
  const h = {
1230
1230
  loaded: a,
@@ -1233,7 +1233,7 @@ const Fe = (e, t, n = 3) => {
1233
1233
  bytes: d,
1234
1234
  rate: c || void 0,
1235
1235
  estimated: c && l && u ? (l - a) / c : void 0,
1236
- event: o,
1236
+ event: s,
1237
1237
  lengthComputable: l != null,
1238
1238
  [t ? "download" : "upload"]: !0
1239
1239
  };
@@ -1246,14 +1246,14 @@ const Fe = (e, t, n = 3) => {
1246
1246
  total: e,
1247
1247
  loaded: r
1248
1248
  }), t[1]];
1249
- }, rn = (e) => (...t) => f.asap(() => e(...t)), No = j.hasStandardBrowserEnv ? (
1249
+ }, rn = (e) => (...t) => f.asap(() => e(...t)), Ns = j.hasStandardBrowserEnv ? (
1250
1250
  // Standard browser envs have full support of the APIs needed to test
1251
1251
  // whether the request URL is of the same origin as current location.
1252
1252
  function() {
1253
1253
  const t = j.navigator && /(msie|trident)/i.test(j.navigator.userAgent), n = document.createElement("a");
1254
1254
  let r;
1255
- function s(o) {
1256
- let a = o;
1255
+ function o(s) {
1256
+ let a = s;
1257
1257
  return t && (n.setAttribute("href", a), a = n.href), n.setAttribute("href", a), {
1258
1258
  href: n.href,
1259
1259
  protocol: n.protocol ? n.protocol.replace(/:$/, "") : "",
@@ -1265,8 +1265,8 @@ const Fe = (e, t, n = 3) => {
1265
1265
  pathname: n.pathname.charAt(0) === "/" ? n.pathname : "/" + n.pathname
1266
1266
  };
1267
1267
  }
1268
- return r = s(window.location.href), function(a) {
1269
- const l = f.isString(a) ? s(a) : a;
1268
+ return r = o(window.location.href), function(a) {
1269
+ const l = f.isString(a) ? o(a) : a;
1270
1270
  return l.protocol === r.protocol && l.host === r.host;
1271
1271
  };
1272
1272
  }()
@@ -1277,12 +1277,12 @@ const Fe = (e, t, n = 3) => {
1277
1277
  return !0;
1278
1278
  };
1279
1279
  }()
1280
- ), jo = j.hasStandardBrowserEnv ? (
1280
+ ), js = j.hasStandardBrowserEnv ? (
1281
1281
  // Standard browser envs support document.cookie
1282
1282
  {
1283
- write(e, t, n, r, s, o) {
1283
+ write(e, t, n, r, o, s) {
1284
1284
  const a = [e + "=" + encodeURIComponent(t)];
1285
- f.isNumber(n) && a.push("expires=" + new Date(n).toGMTString()), f.isString(r) && a.push("path=" + r), f.isString(s) && a.push("domain=" + s), o === !0 && a.push("secure"), document.cookie = a.join("; ");
1285
+ f.isNumber(n) && a.push("expires=" + new Date(n).toGMTString()), f.isString(r) && a.push("path=" + r), f.isString(o) && a.push("domain=" + o), s === !0 && a.push("secure"), document.cookie = a.join("; ");
1286
1286
  },
1287
1287
  read(e) {
1288
1288
  const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -1304,29 +1304,29 @@ const Fe = (e, t, n = 3) => {
1304
1304
  }
1305
1305
  }
1306
1306
  );
1307
- function Uo(e) {
1307
+ function Us(e) {
1308
1308
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1309
1309
  }
1310
- function qo(e, t) {
1310
+ function qs(e, t) {
1311
1311
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1312
1312
  }
1313
1313
  function nr(e, t) {
1314
- return e && !Uo(t) ? qo(e, t) : t;
1314
+ return e && !Us(t) ? qs(e, t) : t;
1315
1315
  }
1316
- const sn = (e) => e instanceof U ? { ...e } : e;
1316
+ const on = (e) => e instanceof U ? { ...e } : e;
1317
1317
  function ue(e, t) {
1318
1318
  t = t || {};
1319
1319
  const n = {};
1320
1320
  function r(c, u, h) {
1321
1321
  return f.isPlainObject(c) && f.isPlainObject(u) ? f.merge.call({ caseless: h }, c, u) : f.isPlainObject(u) ? f.merge({}, u) : f.isArray(u) ? u.slice() : u;
1322
1322
  }
1323
- function s(c, u, h) {
1323
+ function o(c, u, h) {
1324
1324
  if (f.isUndefined(u)) {
1325
1325
  if (!f.isUndefined(c))
1326
1326
  return r(void 0, c, h);
1327
1327
  } else return r(c, u, h);
1328
1328
  }
1329
- function o(c, u) {
1329
+ function s(c, u) {
1330
1330
  if (!f.isUndefined(u))
1331
1331
  return r(void 0, u);
1332
1332
  }
@@ -1343,9 +1343,9 @@ function ue(e, t) {
1343
1343
  return r(void 0, c);
1344
1344
  }
1345
1345
  const d = {
1346
- url: o,
1347
- method: o,
1348
- data: o,
1346
+ url: s,
1347
+ method: s,
1348
+ data: s,
1349
1349
  baseURL: a,
1350
1350
  transformRequest: a,
1351
1351
  transformResponse: a,
@@ -1371,16 +1371,16 @@ function ue(e, t) {
1371
1371
  socketPath: a,
1372
1372
  responseEncoding: a,
1373
1373
  validateStatus: l,
1374
- headers: (c, u) => s(sn(c), sn(u), !0)
1374
+ headers: (c, u) => o(on(c), on(u), !0)
1375
1375
  };
1376
1376
  return f.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
1377
- const h = d[u] || s, y = h(e[u], t[u], u);
1377
+ const h = d[u] || o, y = h(e[u], t[u], u);
1378
1378
  f.isUndefined(y) && h !== l || (n[u] = y);
1379
1379
  }), n;
1380
1380
  }
1381
1381
  const rr = (e) => {
1382
1382
  const t = ue({}, e);
1383
- let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: a, auth: l } = t;
1383
+ let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: a, auth: l } = t;
1384
1384
  t.headers = a = U.from(a), t.url = Zn(nr(t.baseURL, t.url), e.params, e.paramsSerializer), l && a.set(
1385
1385
  "Authorization",
1386
1386
  "Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
@@ -1394,22 +1394,22 @@ const rr = (e) => {
1394
1394
  a.setContentType([c || "multipart/form-data", ...u].join("; "));
1395
1395
  }
1396
1396
  }
1397
- if (j.hasStandardBrowserEnv && (r && f.isFunction(r) && (r = r(t)), r || r !== !1 && No(t.url))) {
1398
- const c = s && o && jo.read(o);
1399
- c && a.set(s, c);
1397
+ if (j.hasStandardBrowserEnv && (r && f.isFunction(r) && (r = r(t)), r || r !== !1 && Ns(t.url))) {
1398
+ const c = o && s && js.read(s);
1399
+ c && a.set(o, c);
1400
1400
  }
1401
1401
  return t;
1402
- }, _o = typeof XMLHttpRequest < "u", Ho = _o && function(e) {
1402
+ }, _s = typeof XMLHttpRequest < "u", Hs = _s && function(e) {
1403
1403
  return new Promise(function(n, r) {
1404
- const s = rr(e);
1405
- let o = s.data;
1406
- const a = U.from(s.headers).normalize();
1407
- let { responseType: l, onUploadProgress: d, onDownloadProgress: c } = s, u, h, y, S, b;
1404
+ const o = rr(e);
1405
+ let s = o.data;
1406
+ const a = U.from(o.headers).normalize();
1407
+ let { responseType: l, onUploadProgress: d, onDownloadProgress: c } = o, u, h, y, S, b;
1408
1408
  function m() {
1409
- S && S(), b && b(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
1409
+ S && S(), b && b(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
1410
1410
  }
1411
1411
  let g = new XMLHttpRequest();
1412
- g.open(s.method.toUpperCase(), s.url, !0), g.timeout = s.timeout;
1412
+ g.open(o.method.toUpperCase(), o.url, !0), g.timeout = o.timeout;
1413
1413
  function x() {
1414
1414
  if (!g)
1415
1415
  return;
@@ -1436,62 +1436,62 @@ const rr = (e) => {
1436
1436
  }, g.onerror = function() {
1437
1437
  r(new C("Network Error", C.ERR_NETWORK, e, g)), g = null;
1438
1438
  }, g.ontimeout = function() {
1439
- let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1440
- const O = s.transitional || Xn;
1441
- s.timeoutErrorMessage && (P = s.timeoutErrorMessage), r(new C(
1439
+ let P = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1440
+ const O = o.transitional || Xn;
1441
+ o.timeoutErrorMessage && (P = o.timeoutErrorMessage), r(new C(
1442
1442
  P,
1443
1443
  O.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED,
1444
1444
  e,
1445
1445
  g
1446
1446
  )), g = null;
1447
- }, o === void 0 && a.setContentType(null), "setRequestHeader" in g && f.forEach(a.toJSON(), function(P, O) {
1447
+ }, s === void 0 && a.setContentType(null), "setRequestHeader" in g && f.forEach(a.toJSON(), function(P, O) {
1448
1448
  g.setRequestHeader(O, P);
1449
- }), f.isUndefined(s.withCredentials) || (g.withCredentials = !!s.withCredentials), l && l !== "json" && (g.responseType = s.responseType), c && ([y, b] = Fe(c, !0), g.addEventListener("progress", y)), d && g.upload && ([h, S] = Fe(d), g.upload.addEventListener("progress", h), g.upload.addEventListener("loadend", S)), (s.cancelToken || s.signal) && (u = (E) => {
1449
+ }), f.isUndefined(o.withCredentials) || (g.withCredentials = !!o.withCredentials), l && l !== "json" && (g.responseType = o.responseType), c && ([y, b] = Be(c, !0), g.addEventListener("progress", y)), d && g.upload && ([h, S] = Be(d), g.upload.addEventListener("progress", h), g.upload.addEventListener("loadend", S)), (o.cancelToken || o.signal) && (u = (E) => {
1450
1450
  g && (r(!E || E.type ? new pe(null, e, g) : E), g.abort(), g = null);
1451
- }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
1452
- const A = Lo(s.url);
1451
+ }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
1452
+ const A = Ls(o.url);
1453
1453
  if (A && j.protocols.indexOf(A) === -1) {
1454
1454
  r(new C("Unsupported protocol " + A + ":", C.ERR_BAD_REQUEST, e));
1455
1455
  return;
1456
1456
  }
1457
- g.send(o || null);
1457
+ g.send(s || null);
1458
1458
  });
1459
- }, zo = (e, t) => {
1459
+ }, zs = (e, t) => {
1460
1460
  const { length: n } = e = e ? e.filter(Boolean) : [];
1461
1461
  if (t || n) {
1462
- let r = new AbortController(), s;
1463
- const o = function(c) {
1464
- if (!s) {
1465
- s = !0, l();
1462
+ let r = new AbortController(), o;
1463
+ const s = function(c) {
1464
+ if (!o) {
1465
+ o = !0, l();
1466
1466
  const u = c instanceof Error ? c : this.reason;
1467
1467
  r.abort(u instanceof C ? u : new pe(u instanceof Error ? u.message : u));
1468
1468
  }
1469
1469
  };
1470
1470
  let a = t && setTimeout(() => {
1471
- a = null, o(new C(`timeout ${t} of ms exceeded`, C.ETIMEDOUT));
1471
+ a = null, s(new C(`timeout ${t} of ms exceeded`, C.ETIMEDOUT));
1472
1472
  }, t);
1473
1473
  const l = () => {
1474
1474
  e && (a && clearTimeout(a), a = null, e.forEach((c) => {
1475
- c.unsubscribe ? c.unsubscribe(o) : c.removeEventListener("abort", o);
1475
+ c.unsubscribe ? c.unsubscribe(s) : c.removeEventListener("abort", s);
1476
1476
  }), e = null);
1477
1477
  };
1478
- e.forEach((c) => c.addEventListener("abort", o));
1478
+ e.forEach((c) => c.addEventListener("abort", s));
1479
1479
  const { signal: d } = r;
1480
1480
  return d.unsubscribe = () => f.asap(l), d;
1481
1481
  }
1482
- }, Wo = function* (e, t) {
1482
+ }, Ws = function* (e, t) {
1483
1483
  let n = e.byteLength;
1484
1484
  if (n < t) {
1485
1485
  yield e;
1486
1486
  return;
1487
1487
  }
1488
- let r = 0, s;
1488
+ let r = 0, o;
1489
1489
  for (; r < n; )
1490
- s = r + t, yield e.slice(r, s), r = s;
1491
- }, Vo = async function* (e, t) {
1492
- for await (const n of $o(e))
1493
- yield* Wo(n, t);
1494
- }, $o = async function* (e) {
1490
+ o = r + t, yield e.slice(r, o), r = o;
1491
+ }, Vs = async function* (e, t) {
1492
+ for await (const n of $s(e))
1493
+ yield* Ws(n, t);
1494
+ }, $s = async function* (e) {
1495
1495
  if (e[Symbol.asyncIterator]) {
1496
1496
  yield* e;
1497
1497
  return;
@@ -1507,22 +1507,22 @@ const rr = (e) => {
1507
1507
  } finally {
1508
1508
  await t.cancel();
1509
1509
  }
1510
- }, on = (e, t, n, r) => {
1511
- const s = Vo(e, t);
1512
- let o = 0, a, l = (d) => {
1510
+ }, sn = (e, t, n, r) => {
1511
+ const o = Vs(e, t);
1512
+ let s = 0, a, l = (d) => {
1513
1513
  a || (a = !0, r && r(d));
1514
1514
  };
1515
1515
  return new ReadableStream({
1516
1516
  async pull(d) {
1517
1517
  try {
1518
- const { done: c, value: u } = await s.next();
1518
+ const { done: c, value: u } = await o.next();
1519
1519
  if (c) {
1520
1520
  l(), d.close();
1521
1521
  return;
1522
1522
  }
1523
1523
  let h = u.byteLength;
1524
1524
  if (n) {
1525
- let y = o += h;
1525
+ let y = s += h;
1526
1526
  n(y);
1527
1527
  }
1528
1528
  d.enqueue(new Uint8Array(u));
@@ -1531,18 +1531,18 @@ const rr = (e) => {
1531
1531
  }
1532
1532
  },
1533
1533
  cancel(d) {
1534
- return l(d), s.return();
1534
+ return l(d), o.return();
1535
1535
  }
1536
1536
  }, {
1537
1537
  highWaterMark: 2
1538
1538
  });
1539
- }, ze = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", sr = ze && typeof ReadableStream == "function", Ko = ze && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), or = (e, ...t) => {
1539
+ }, We = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", or = We && typeof ReadableStream == "function", Ks = We && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), sr = (e, ...t) => {
1540
1540
  try {
1541
1541
  return !!e(...t);
1542
1542
  } catch {
1543
1543
  return !1;
1544
1544
  }
1545
- }, Yo = sr && or(() => {
1545
+ }, Ys = or && sr(() => {
1546
1546
  let e = !1;
1547
1547
  const t = new Request(j.origin, {
1548
1548
  body: new ReadableStream(),
@@ -1552,17 +1552,17 @@ const rr = (e) => {
1552
1552
  }
1553
1553
  }).headers.has("Content-Type");
1554
1554
  return e && !t;
1555
- }), an = 64 * 1024, pt = sr && or(() => f.isReadableStream(new Response("").body)), Be = {
1556
- stream: pt && ((e) => e.body)
1555
+ }), an = 64 * 1024, mt = or && sr(() => f.isReadableStream(new Response("").body)), Le = {
1556
+ stream: mt && ((e) => e.body)
1557
1557
  };
1558
- ze && ((e) => {
1558
+ We && ((e) => {
1559
1559
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
1560
- !Be[t] && (Be[t] = f.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
1560
+ !Le[t] && (Le[t] = f.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
1561
1561
  throw new C(`Response type '${t}' is not supported`, C.ERR_NOT_SUPPORT, r);
1562
1562
  });
1563
1563
  });
1564
1564
  })(new Response());
1565
- const Jo = async (e) => {
1565
+ const Js = async (e) => {
1566
1566
  if (e == null)
1567
1567
  return 0;
1568
1568
  if (f.isBlob(e))
@@ -1575,17 +1575,17 @@ const Jo = async (e) => {
1575
1575
  if (f.isArrayBufferView(e) || f.isArrayBuffer(e))
1576
1576
  return e.byteLength;
1577
1577
  if (f.isURLSearchParams(e) && (e = e + ""), f.isString(e))
1578
- return (await Ko(e)).byteLength;
1579
- }, Go = async (e, t) => {
1578
+ return (await Ks(e)).byteLength;
1579
+ }, Gs = async (e, t) => {
1580
1580
  const n = f.toFiniteNumber(e.getContentLength());
1581
- return n ?? Jo(t);
1582
- }, Zo = ze && (async (e) => {
1581
+ return n ?? Js(t);
1582
+ }, Zs = We && (async (e) => {
1583
1583
  let {
1584
1584
  url: t,
1585
1585
  method: n,
1586
1586
  data: r,
1587
- signal: s,
1588
- cancelToken: o,
1587
+ signal: o,
1588
+ cancelToken: s,
1589
1589
  timeout: a,
1590
1590
  onDownloadProgress: l,
1591
1591
  onUploadProgress: d,
@@ -1595,13 +1595,13 @@ const Jo = async (e) => {
1595
1595
  fetchOptions: y
1596
1596
  } = rr(e);
1597
1597
  c = c ? (c + "").toLowerCase() : "text";
1598
- let S = zo([s, o && o.toAbortSignal()], a), b;
1598
+ let S = zs([o, s && s.toAbortSignal()], a), b;
1599
1599
  const m = S && S.unsubscribe && (() => {
1600
1600
  S.unsubscribe();
1601
1601
  });
1602
1602
  let g;
1603
1603
  try {
1604
- if (d && Yo && n !== "get" && n !== "head" && (g = await Go(u, r)) !== 0) {
1604
+ if (d && Ys && n !== "get" && n !== "head" && (g = await Gs(u, r)) !== 0) {
1605
1605
  let O = new Request(t, {
1606
1606
  method: "POST",
1607
1607
  body: r,
@@ -1610,9 +1610,9 @@ const Jo = async (e) => {
1610
1610
  if (f.isFormData(r) && (R = O.headers.get("content-type")) && u.setContentType(R), O.body) {
1611
1611
  const [D, z] = nn(
1612
1612
  g,
1613
- Fe(rn(d))
1613
+ Be(rn(d))
1614
1614
  );
1615
- r = on(O.body, an, D, z);
1615
+ r = sn(O.body, an, D, z);
1616
1616
  }
1617
1617
  }
1618
1618
  f.isString(h) || (h = h ? "include" : "omit");
@@ -1627,25 +1627,25 @@ const Jo = async (e) => {
1627
1627
  credentials: x ? h : void 0
1628
1628
  });
1629
1629
  let A = await fetch(b);
1630
- const E = pt && (c === "stream" || c === "response");
1631
- if (pt && (l || E && m)) {
1630
+ const E = mt && (c === "stream" || c === "response");
1631
+ if (mt && (l || E && m)) {
1632
1632
  const O = {};
1633
1633
  ["status", "statusText", "headers"].forEach((Ee) => {
1634
1634
  O[Ee] = A[Ee];
1635
1635
  });
1636
1636
  const R = f.toFiniteNumber(A.headers.get("content-length")), [D, z] = l && nn(
1637
1637
  R,
1638
- Fe(rn(l), !0)
1638
+ Be(rn(l), !0)
1639
1639
  ) || [];
1640
1640
  A = new Response(
1641
- on(A.body, an, D, () => {
1641
+ sn(A.body, an, D, () => {
1642
1642
  z && z(), m && m();
1643
1643
  }),
1644
1644
  O
1645
1645
  );
1646
1646
  }
1647
1647
  c = c || "text";
1648
- let P = await Be[f.findKey(Be, c) || "text"](A, e);
1648
+ let P = await Le[f.findKey(Le, c) || "text"](A, e);
1649
1649
  return !E && m && m(), await new Promise((O, R) => {
1650
1650
  tr(O, R, {
1651
1651
  data: P,
@@ -1664,12 +1664,12 @@ const Jo = async (e) => {
1664
1664
  }
1665
1665
  ) : C.from(x, x && x.code, e, b);
1666
1666
  }
1667
- }), mt = {
1668
- http: fo,
1669
- xhr: Ho,
1670
- fetch: Zo
1667
+ }), gt = {
1668
+ http: fs,
1669
+ xhr: Hs,
1670
+ fetch: Zs
1671
1671
  };
1672
- f.forEach(mt, (e, t) => {
1672
+ f.forEach(gt, (e, t) => {
1673
1673
  if (e) {
1674
1674
  try {
1675
1675
  Object.defineProperty(e, "name", { value: t });
@@ -1678,28 +1678,28 @@ f.forEach(mt, (e, t) => {
1678
1678
  Object.defineProperty(e, "adapterName", { value: t });
1679
1679
  }
1680
1680
  });
1681
- const ln = (e) => `- ${e}`, Xo = (e) => f.isFunction(e) || e === null || e === !1, ar = {
1681
+ const ln = (e) => `- ${e}`, Xs = (e) => f.isFunction(e) || e === null || e === !1, ar = {
1682
1682
  getAdapter: (e) => {
1683
1683
  e = f.isArray(e) ? e : [e];
1684
1684
  const { length: t } = e;
1685
1685
  let n, r;
1686
- const s = {};
1687
- for (let o = 0; o < t; o++) {
1688
- n = e[o];
1686
+ const o = {};
1687
+ for (let s = 0; s < t; s++) {
1688
+ n = e[s];
1689
1689
  let a;
1690
- if (r = n, !Xo(n) && (r = mt[(a = String(n)).toLowerCase()], r === void 0))
1690
+ if (r = n, !Xs(n) && (r = gt[(a = String(n)).toLowerCase()], r === void 0))
1691
1691
  throw new C(`Unknown adapter '${a}'`);
1692
1692
  if (r)
1693
1693
  break;
1694
- s[a || "#" + o] = r;
1694
+ o[a || "#" + s] = r;
1695
1695
  }
1696
1696
  if (!r) {
1697
- const o = Object.entries(s).map(
1697
+ const s = Object.entries(o).map(
1698
1698
  ([l, d]) => `adapter ${l} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
1699
1699
  );
1700
- let a = t ? o.length > 1 ? `since :
1701
- ` + o.map(ln).join(`
1702
- `) : " " + ln(o[0]) : "as no adapter specified";
1700
+ let a = t ? s.length > 1 ? `since :
1701
+ ` + s.map(ln).join(`
1702
+ `) : " " + ln(s[0]) : "as no adapter specified";
1703
1703
  throw new C(
1704
1704
  "There is no suitable adapter to dispatch the request " + a,
1705
1705
  "ERR_NOT_SUPPORT"
@@ -1707,76 +1707,76 @@ const ln = (e) => `- ${e}`, Xo = (e) => f.isFunction(e) || e === null || e === !
1707
1707
  }
1708
1708
  return r;
1709
1709
  },
1710
- adapters: mt
1710
+ adapters: gt
1711
1711
  };
1712
- function Qe(e) {
1712
+ function et(e) {
1713
1713
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1714
1714
  throw new pe(null, e);
1715
1715
  }
1716
1716
  function cn(e) {
1717
- return Qe(e), e.headers = U.from(e.headers), e.data = Xe.call(
1717
+ return et(e), e.headers = U.from(e.headers), e.data = Qe.call(
1718
1718
  e,
1719
1719
  e.transformRequest
1720
1720
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ar.getAdapter(e.adapter || Ce.adapter)(e).then(function(r) {
1721
- return Qe(e), r.data = Xe.call(
1721
+ return et(e), r.data = Qe.call(
1722
1722
  e,
1723
1723
  e.transformResponse,
1724
1724
  r
1725
1725
  ), r.headers = U.from(r.headers), r;
1726
1726
  }, function(r) {
1727
- return er(r) || (Qe(e), r && r.response && (r.response.data = Xe.call(
1727
+ return er(r) || (et(e), r && r.response && (r.response.data = Qe.call(
1728
1728
  e,
1729
1729
  e.transformResponse,
1730
1730
  r.response
1731
1731
  ), r.response.headers = U.from(r.response.headers))), Promise.reject(r);
1732
1732
  });
1733
1733
  }
1734
- const ir = "1.7.7", Nt = {};
1734
+ const ir = "1.7.7", jt = {};
1735
1735
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1736
- Nt[e] = function(r) {
1736
+ jt[e] = function(r) {
1737
1737
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1738
1738
  };
1739
1739
  });
1740
1740
  const un = {};
1741
- Nt.transitional = function(t, n, r) {
1742
- function s(o, a) {
1743
- return "[Axios v" + ir + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
1741
+ jt.transitional = function(t, n, r) {
1742
+ function o(s, a) {
1743
+ return "[Axios v" + ir + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
1744
1744
  }
1745
- return (o, a, l) => {
1745
+ return (s, a, l) => {
1746
1746
  if (t === !1)
1747
1747
  throw new C(
1748
- s(a, " has been removed" + (n ? " in " + n : "")),
1748
+ o(a, " has been removed" + (n ? " in " + n : "")),
1749
1749
  C.ERR_DEPRECATED
1750
1750
  );
1751
1751
  return n && !un[a] && (un[a] = !0, console.warn(
1752
- s(
1752
+ o(
1753
1753
  a,
1754
1754
  " has been deprecated since v" + n + " and will be removed in the near future"
1755
1755
  )
1756
- )), t ? t(o, a, l) : !0;
1756
+ )), t ? t(s, a, l) : !0;
1757
1757
  };
1758
1758
  };
1759
- function Qo(e, t, n) {
1759
+ function Qs(e, t, n) {
1760
1760
  if (typeof e != "object")
1761
1761
  throw new C("options must be an object", C.ERR_BAD_OPTION_VALUE);
1762
1762
  const r = Object.keys(e);
1763
- let s = r.length;
1764
- for (; s-- > 0; ) {
1765
- const o = r[s], a = t[o];
1763
+ let o = r.length;
1764
+ for (; o-- > 0; ) {
1765
+ const s = r[o], a = t[s];
1766
1766
  if (a) {
1767
- const l = e[o], d = l === void 0 || a(l, o, e);
1767
+ const l = e[s], d = l === void 0 || a(l, s, e);
1768
1768
  if (d !== !0)
1769
- throw new C("option " + o + " must be " + d, C.ERR_BAD_OPTION_VALUE);
1769
+ throw new C("option " + s + " must be " + d, C.ERR_BAD_OPTION_VALUE);
1770
1770
  continue;
1771
1771
  }
1772
1772
  if (n !== !0)
1773
- throw new C("Unknown option " + o, C.ERR_BAD_OPTION);
1773
+ throw new C("Unknown option " + s, C.ERR_BAD_OPTION);
1774
1774
  }
1775
1775
  }
1776
- const gt = {
1777
- assertOptions: Qo,
1778
- validators: Nt
1779
- }, ne = gt.validators;
1776
+ const bt = {
1777
+ assertOptions: Qs,
1778
+ validators: jt
1779
+ }, ne = bt.validators;
1780
1780
  let le = class {
1781
1781
  constructor(t) {
1782
1782
  this.defaults = t, this.interceptors = {
@@ -1797,12 +1797,12 @@ let le = class {
1797
1797
  return await this._request(t, n);
1798
1798
  } catch (r) {
1799
1799
  if (r instanceof Error) {
1800
- let s;
1801
- Error.captureStackTrace ? Error.captureStackTrace(s = {}) : s = new Error();
1802
- const o = s.stack ? s.stack.replace(/^.+\n/, "") : "";
1800
+ let o;
1801
+ Error.captureStackTrace ? Error.captureStackTrace(o = {}) : o = new Error();
1802
+ const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
1803
1803
  try {
1804
- r.stack ? o && !String(r.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (r.stack += `
1805
- ` + o) : r.stack = o;
1804
+ r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
1805
+ ` + s) : r.stack = s;
1806
1806
  } catch {
1807
1807
  }
1808
1808
  }
@@ -1811,27 +1811,27 @@ let le = class {
1811
1811
  }
1812
1812
  _request(t, n) {
1813
1813
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = ue(this.defaults, n);
1814
- const { transitional: r, paramsSerializer: s, headers: o } = n;
1815
- r !== void 0 && gt.assertOptions(r, {
1814
+ const { transitional: r, paramsSerializer: o, headers: s } = n;
1815
+ r !== void 0 && bt.assertOptions(r, {
1816
1816
  silentJSONParsing: ne.transitional(ne.boolean),
1817
1817
  forcedJSONParsing: ne.transitional(ne.boolean),
1818
1818
  clarifyTimeoutError: ne.transitional(ne.boolean)
1819
- }, !1), s != null && (f.isFunction(s) ? n.paramsSerializer = {
1820
- serialize: s
1821
- } : gt.assertOptions(s, {
1819
+ }, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
1820
+ serialize: o
1821
+ } : bt.assertOptions(o, {
1822
1822
  encode: ne.function,
1823
1823
  serialize: ne.function
1824
1824
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1825
- let a = o && f.merge(
1826
- o.common,
1827
- o[n.method]
1825
+ let a = s && f.merge(
1826
+ s.common,
1827
+ s[n.method]
1828
1828
  );
1829
- o && f.forEach(
1829
+ s && f.forEach(
1830
1830
  ["delete", "get", "head", "post", "put", "patch", "common"],
1831
1831
  (b) => {
1832
- delete o[b];
1832
+ delete s[b];
1833
1833
  }
1834
- ), n.headers = U.concat(a, o);
1834
+ ), n.headers = U.concat(a, s);
1835
1835
  const l = [];
1836
1836
  let d = !0;
1837
1837
  this.interceptors.request.forEach(function(m) {
@@ -1885,13 +1885,13 @@ f.forEach(["delete", "get", "head", "options"], function(t) {
1885
1885
  });
1886
1886
  f.forEach(["post", "put", "patch"], function(t) {
1887
1887
  function n(r) {
1888
- return function(o, a, l) {
1888
+ return function(s, a, l) {
1889
1889
  return this.request(ue(l || {}, {
1890
1890
  method: t,
1891
1891
  headers: r ? {
1892
1892
  "Content-Type": "multipart/form-data"
1893
1893
  } : {},
1894
- url: o,
1894
+ url: s,
1895
1895
  data: a
1896
1896
  }));
1897
1897
  };
@@ -1903,26 +1903,26 @@ let ea = class lr {
1903
1903
  if (typeof t != "function")
1904
1904
  throw new TypeError("executor must be a function.");
1905
1905
  let n;
1906
- this.promise = new Promise(function(o) {
1907
- n = o;
1906
+ this.promise = new Promise(function(s) {
1907
+ n = s;
1908
1908
  });
1909
1909
  const r = this;
1910
- this.promise.then((s) => {
1910
+ this.promise.then((o) => {
1911
1911
  if (!r._listeners) return;
1912
- let o = r._listeners.length;
1913
- for (; o-- > 0; )
1914
- r._listeners[o](s);
1912
+ let s = r._listeners.length;
1913
+ for (; s-- > 0; )
1914
+ r._listeners[s](o);
1915
1915
  r._listeners = null;
1916
- }), this.promise.then = (s) => {
1917
- let o;
1916
+ }), this.promise.then = (o) => {
1917
+ let s;
1918
1918
  const a = new Promise((l) => {
1919
- r.subscribe(l), o = l;
1920
- }).then(s);
1919
+ r.subscribe(l), s = l;
1920
+ }).then(o);
1921
1921
  return a.cancel = function() {
1922
- r.unsubscribe(o);
1922
+ r.unsubscribe(s);
1923
1923
  }, a;
1924
- }, t(function(o, a, l) {
1925
- r.reason || (r.reason = new pe(o, a, l), n(r.reason));
1924
+ }, t(function(s, a, l) {
1925
+ r.reason || (r.reason = new pe(s, a, l), n(r.reason));
1926
1926
  });
1927
1927
  }
1928
1928
  /**
@@ -1964,8 +1964,8 @@ let ea = class lr {
1964
1964
  static source() {
1965
1965
  let t;
1966
1966
  return {
1967
- token: new lr(function(s) {
1968
- t = s;
1967
+ token: new lr(function(o) {
1968
+ t = o;
1969
1969
  }),
1970
1970
  cancel: t
1971
1971
  };
@@ -1979,7 +1979,7 @@ function ta(e) {
1979
1979
  function na(e) {
1980
1980
  return f.isObject(e) && e.isAxiosError === !0;
1981
1981
  }
1982
- const bt = {
1982
+ const yt = {
1983
1983
  Continue: 100,
1984
1984
  SwitchingProtocols: 101,
1985
1985
  Processing: 102,
@@ -2044,13 +2044,13 @@ const bt = {
2044
2044
  NotExtended: 510,
2045
2045
  NetworkAuthenticationRequired: 511
2046
2046
  };
2047
- Object.entries(bt).forEach(([e, t]) => {
2048
- bt[t] = e;
2047
+ Object.entries(yt).forEach(([e, t]) => {
2048
+ yt[t] = e;
2049
2049
  });
2050
2050
  function cr(e) {
2051
2051
  const t = new le(e), n = Un(le.prototype.request, t);
2052
- return f.extend(n, le.prototype, t, { allOwnKeys: !0 }), f.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
2053
- return cr(ue(e, s));
2052
+ return f.extend(n, le.prototype, t, { allOwnKeys: !0 }), f.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
2053
+ return cr(ue(e, o));
2054
2054
  }, n;
2055
2055
  }
2056
2056
  const F = cr(Ce);
@@ -2059,7 +2059,7 @@ F.CanceledError = pe;
2059
2059
  F.CancelToken = ea;
2060
2060
  F.isCancel = er;
2061
2061
  F.VERSION = ir;
2062
- F.toFormData = He;
2062
+ F.toFormData = ze;
2063
2063
  F.AxiosError = C;
2064
2064
  F.Cancel = F.CanceledError;
2065
2065
  F.all = function(t) {
@@ -2071,7 +2071,7 @@ F.mergeConfig = ue;
2071
2071
  F.AxiosHeaders = U;
2072
2072
  F.formToJSON = (e) => Qn(f.isHTMLForm(e) ? new FormData(e) : e);
2073
2073
  F.getAdapter = ar.getAdapter;
2074
- F.HttpStatusCode = bt;
2074
+ F.HttpStatusCode = yt;
2075
2075
  F.default = F;
2076
2076
  const {
2077
2077
  Axios: Bi,
@@ -2102,34 +2102,34 @@ function ce(e) {
2102
2102
  });
2103
2103
  };
2104
2104
  }
2105
- function jt() {
2106
- return p.useContext(Ft).notify;
2105
+ function Ut() {
2106
+ return p.useContext(Bt).notify;
2107
2107
  }
2108
- function sa() {
2109
- const e = jt();
2108
+ function oa() {
2109
+ const e = Ut();
2110
2110
  return p.useCallback((t) => {
2111
2111
  ce(e)(t);
2112
2112
  }, [e]);
2113
2113
  }
2114
- const oa = ({ create: e = !1 }) => {
2115
- const [t, n] = p.useState(), { id: r } = wr(), { t: s } = L(), o = jt(), a = St(), l = te(), d = H("breakpoint", "md");
2116
- Bt(
2117
- t != null && t.exists ? s("Edit :model “:label“", { model: l.singular(), label: (t == null ? void 0 : t.getLabel()) || "..." }) : s("Create :model", { model: l.singular() })
2118
- ), ks();
2114
+ const sa = ({ create: e = !1 }) => {
2115
+ const [t, n] = p.useState(), { id: r } = wr(), { t: o } = L(), s = Ut(), a = At(), l = te(), d = H("breakpoint", "md");
2116
+ Lt(
2117
+ t != null && t.exists ? o("Edit :model “:label“", { model: l.singular(), label: (t == null ? void 0 : t.getLabel()) || "..." }) : o("Create :model", { model: l.singular() })
2118
+ ), To();
2119
2119
  const c = T("cms").getComponent("Breadcrumbs");
2120
2120
  p.useEffect(() => {
2121
2121
  e ? n(new l()) : l.find(r).then((S) => n(S ?? void 0));
2122
2122
  }, [r, l, e]);
2123
2123
  const u = p.useCallback(() => {
2124
- o(s(":model saved successfully", { model: l.singular() })), t != null && t.wasRecentlyCreated && a(`/${k.kebab(l.plural())}/${t.getKey()}`);
2125
- }, [o, a, l, t, s]), h = sa(), y = p.useMemo(() => T("cms").getModelFormProps(t), [t]);
2124
+ s(o(":model saved successfully", { model: l.singular() })), t != null && t.wasRecentlyCreated && a(`/${k.kebab(l.plural())}/${t.getKey()}`);
2125
+ }, [s, a, l, t, o]), h = oa(), y = p.useMemo(() => T("cms").getModelFormProps(t), [t]);
2126
2126
  return t ? /* @__PURE__ */ w(X, { container: !0, children: [
2127
2127
  /* @__PURE__ */ i(X, { xs: 12, children: /* @__PURE__ */ i(
2128
2128
  c,
2129
2129
  {
2130
2130
  parts: [
2131
2131
  { name: l.plural(), href: "/" + k.kebab(l.plural()) },
2132
- { name: t.exists ? t.getLabel() : s("New") }
2132
+ { name: t.exists ? t.getLabel() : o("New") }
2133
2133
  ]
2134
2134
  }
2135
2135
  ) }),
@@ -2155,17 +2155,17 @@ const oa = ({ create: e = !1 }) => {
2155
2155
  function aa(e) {
2156
2156
  const {
2157
2157
  setDisplacement: t
2158
- } = p.useContext(Ft), n = Pt(), r = v(), s = n.spacing(r ? 3 : 1), o = e === !1 ? s : n.spacing(e);
2159
- p.useEffect(() => (t(o), () => {
2160
- t(s);
2161
- }), [o, s, t]);
2158
+ } = p.useContext(Bt), n = vt(), r = v(), o = n.spacing(r ? 3 : 1), s = e === !1 ? o : n.spacing(e);
2159
+ p.useEffect(() => (t(s), () => {
2160
+ t(o);
2161
+ }), [s, o, t]);
2162
2162
  }
2163
2163
  function ia() {
2164
2164
  return p.useContext(jn).dialog;
2165
2165
  }
2166
- function Ut() {
2167
- const e = St(), t = jt(), n = ia(), { t: r } = L(), { refresh: s } = Se();
2168
- return { navigate: e, notify: t, dialog: n, t: r, refresh: s };
2166
+ function qt() {
2167
+ const e = At(), t = Ut(), n = ia(), { t: r } = L(), { refresh: o } = Se();
2168
+ return { navigate: e, notify: t, dialog: n, t: r, refresh: o };
2169
2169
  }
2170
2170
  const la = G(Rr)(({ theme: e }) => ({
2171
2171
  position: "fixed",
@@ -2176,7 +2176,7 @@ const la = G(Rr)(({ theme: e }) => ({
2176
2176
  bottom: e.spacing(2),
2177
2177
  right: e.spacing(2)
2178
2178
  })), ua = ({ variant: e = "default" }) => {
2179
- const t = te(), n = v(), [r] = K(), s = r.get("tab") ?? "all", [o, a] = p.useState(!1), l = p.useRef(null), [d, c] = p.useState(0), u = Ut(), h = p.useMemo(() => T("cms").getStaticActions(t, s), [t, s]);
2179
+ const t = te(), n = v(), [r] = K(), o = r.get("tab") ?? "all", [s, a] = p.useState(!1), l = p.useRef(null), [d, c] = p.useState(0), u = qt(), h = p.useMemo(() => T("cms").getStaticActions(t, o), [t, o]);
2180
2180
  if (aa(
2181
2181
  e === "fab" && h.length > 0 ? n ? 12 : 10 : !1
2182
2182
  ), h.length === 0)
@@ -2207,7 +2207,7 @@ const la = G(Rr)(({ theme: e }) => ({
2207
2207
  color: "primary",
2208
2208
  onClose: () => a(!1),
2209
2209
  onOpen: () => a(!0),
2210
- open: o,
2210
+ open: s,
2211
2211
  children: h.map((m) => /* @__PURE__ */ i(
2212
2212
  Fr,
2213
2213
  {
@@ -2234,8 +2234,8 @@ const la = G(Rr)(({ theme: e }) => ({
2234
2234
  {
2235
2235
  variant: "contained",
2236
2236
  size: "small",
2237
- "aria-controls": o ? "split-button-menu" : void 0,
2238
- "aria-expanded": o ? "true" : void 0,
2237
+ "aria-controls": s ? "split-button-menu" : void 0,
2238
+ "aria-expanded": s ? "true" : void 0,
2239
2239
  "aria-label": `select ${t.singular()} actions`,
2240
2240
  "aria-haspopup": "menu",
2241
2241
  onClick: S,
@@ -2248,7 +2248,7 @@ const la = G(Rr)(({ theme: e }) => ({
2248
2248
  /* @__PURE__ */ i(
2249
2249
  Lr,
2250
2250
  {
2251
- open: o,
2251
+ open: s,
2252
2252
  anchorEl: l.current,
2253
2253
  role: void 0,
2254
2254
  transition: !0,
@@ -2259,8 +2259,8 @@ const la = G(Rr)(({ theme: e }) => ({
2259
2259
  style: {
2260
2260
  transformOrigin: g === "bottom" ? "center top" : "center bottom"
2261
2261
  },
2262
- children: /* @__PURE__ */ i(Tt, { children: /* @__PURE__ */ i(Mr, { onClickAway: b, children: /* @__PURE__ */ i(Nr, { id: "split-button-menu", children: h.map((x, A) => /* @__PURE__ */ i(
2263
- oe,
2262
+ children: /* @__PURE__ */ i(Dt, { children: /* @__PURE__ */ i(Mr, { onClickAway: b, children: /* @__PURE__ */ i(Nr, { id: "split-button-menu", children: h.map((x, A) => /* @__PURE__ */ i(
2263
+ se,
2264
2264
  {
2265
2265
  selected: A === d,
2266
2266
  onClick: (E) => y(E, A),
@@ -2274,7 +2274,7 @@ const la = G(Rr)(({ theme: e }) => ({
2274
2274
  )
2275
2275
  ] });
2276
2276
  };
2277
- function qt() {
2277
+ function _t() {
2278
2278
  const { open: e, setOpen: t } = p.useContext(Z);
2279
2279
  return {
2280
2280
  open: e,
@@ -2285,7 +2285,7 @@ function qt() {
2285
2285
  t(!1);
2286
2286
  },
2287
2287
  toggle: () => {
2288
- t((o) => !o);
2288
+ t((s) => !s);
2289
2289
  }
2290
2290
  };
2291
2291
  }
@@ -2324,24 +2324,24 @@ const pa = G(
2324
2324
  gn,
2325
2325
  { shouldForwardProp: (e) => !["open", "drawerWidth", "height"].includes(String(e)) }
2326
2326
  )(({ height: e }) => ({ height: e })), ga = ({ slots: e = {}, ...t }) => {
2327
- const n = v(), r = Ie("(prefers-color-scheme: dark)"), s = n ? pa : ma, {
2328
- ["Layout.AppBar.MenuButton"]: o,
2327
+ const n = v(), r = Me("(prefers-color-scheme: dark)"), o = n ? pa : ma, {
2328
+ ["Layout.AppBar.MenuButton"]: s,
2329
2329
  ["Layout.SearchBar"]: a,
2330
2330
  ["Layout.BackButton"]: l
2331
- } = T("cms").getComponents(), { open: d } = qt(), c = da(), u = dr(), h = H("appBar.height"), y = H("drawer.width", 280), {
2331
+ } = T("cms").getComponents(), { open: d } = _t(), c = da(), u = dr(), h = H("appBar.height"), y = H("drawer.width", 280), {
2332
2332
  start: S = null,
2333
2333
  //: title = config('app.name', document.title),
2334
2334
  end: b = null
2335
2335
  } = e, m = ur();
2336
2336
  return /* @__PURE__ */ i(
2337
- s,
2337
+ o,
2338
2338
  {
2339
2339
  open: d,
2340
2340
  height: h,
2341
2341
  drawerWidth: y,
2342
2342
  ...t,
2343
2343
  children: /* @__PURE__ */ w(jr, { children: [
2344
- (n && !d || !n && !u) && /* @__PURE__ */ i(o, {}),
2344
+ (n && !d || !n && !u) && /* @__PURE__ */ i(s, {}),
2345
2345
  !n && u && /* @__PURE__ */ i(l, {}),
2346
2346
  n ? null : S,
2347
2347
  /* @__PURE__ */ i(
@@ -2351,7 +2351,7 @@ const pa = G(
2351
2351
  variant: "h6",
2352
2352
  noWrap: !0,
2353
2353
  component: "div",
2354
- children: !n && m || se("app.name", document.title)
2354
+ children: !n && m || oe("app.name", document.title)
2355
2355
  }
2356
2356
  ),
2357
2357
  /* @__PURE__ */ i(V, { sx: { flexGrow: 1 } }),
@@ -2392,7 +2392,7 @@ function ba(e) {
2392
2392
  color: "inherit",
2393
2393
  "aria-label": "back",
2394
2394
  ...e,
2395
- children: /* @__PURE__ */ i(Ne, {})
2395
+ children: /* @__PURE__ */ i(je, {})
2396
2396
  }
2397
2397
  );
2398
2398
  }
@@ -2437,14 +2437,14 @@ const dn = (e, t) => ({
2437
2437
  // necessary for content to be below app bar
2438
2438
  ...e.mixins.toolbar
2439
2439
  })), Aa = (e) => {
2440
- const t = Pt(), n = v(), { open: r, handleDrawerClose: s } = qt(), o = n ? ya : wa, a = H("drawer.width", 280), l = H("appBar.height"), d = T("cms").getComponent("RecursiveList"), c = T("cms").getMenuItems();
2440
+ const t = vt(), n = v(), { open: r, handleDrawerClose: o } = _t(), s = n ? ya : wa, a = H("drawer.width", 280), l = H("appBar.height"), d = T("cms").getComponent("RecursiveList"), c = T("cms").getMenuItems();
2441
2441
  return /* @__PURE__ */ w(
2442
- o,
2442
+ s,
2443
2443
  {
2444
2444
  variant: n ? "permanent" : "temporary",
2445
2445
  open: r,
2446
2446
  width: a,
2447
- onClose: s,
2447
+ onClose: o,
2448
2448
  PaperProps: { sx: { width: a } },
2449
2449
  sx: {
2450
2450
  display: "flex",
@@ -2454,14 +2454,14 @@ const dn = (e, t) => ({
2454
2454
  },
2455
2455
  ...e,
2456
2456
  children: [
2457
- /* @__PURE__ */ i(Sa, { style: { height: l }, children: /* @__PURE__ */ i(q, { onClick: s, children: t.direction === "ltr" ? /* @__PURE__ */ i(Ne, {}) : /* @__PURE__ */ i(je, {}) }) }),
2457
+ /* @__PURE__ */ i(Sa, { style: { height: l }, children: /* @__PURE__ */ i(q, { onClick: o, children: t.direction === "ltr" ? /* @__PURE__ */ i(je, {}) : /* @__PURE__ */ i(Ue, {}) }) }),
2458
2458
  /* @__PURE__ */ i(Pe, {}),
2459
2459
  /* @__PURE__ */ i(V, { sx: { flexGrow: 1, overflowY: "auto", overflowX: "hidden" }, children: /* @__PURE__ */ i(
2460
2460
  d,
2461
2461
  {
2462
2462
  collapsed: !r && n,
2463
2463
  items: c,
2464
- onClick: () => !n && s()
2464
+ onClick: () => !n && o()
2465
2465
  }
2466
2466
  ) })
2467
2467
  ]
@@ -2472,11 +2472,11 @@ const dn = (e, t) => ({
2472
2472
  ["Layout.BackButton"]: r
2473
2473
  } = T("cms").getComponents();
2474
2474
  return /* @__PURE__ */ w(
2475
- Tt,
2475
+ Dt,
2476
2476
  {
2477
2477
  sx: {
2478
2478
  display: { xs: "none", [t]: "flex" },
2479
- boxShadow: (s) => s.shadows[3],
2479
+ boxShadow: (o) => o.shadows[3],
2480
2480
  py: 2,
2481
2481
  px: 3,
2482
2482
  borderRadius: 0,
@@ -2488,7 +2488,7 @@ const dn = (e, t) => ({
2488
2488
  ]
2489
2489
  }
2490
2490
  );
2491
- }, _t = p.createContext({
2491
+ }, Ht = p.createContext({
2492
2492
  Model: null,
2493
2493
  anchorEl: null,
2494
2494
  setAnchorEl: () => {
@@ -2533,19 +2533,19 @@ const dn = (e, t) => ({
2533
2533
  let t;
2534
2534
  return ee.isEmpty(e) ? t = [] : t = [e, ""], t;
2535
2535
  }, ka = async (e, t, n) => {
2536
- const r = e.getSchema().relations[t], s = ye().make(r.model), o = s.getSchema().primaryKey, a = [];
2536
+ const r = e.getSchema().relations[t], o = ye().make(r.model), s = o.getSchema().primaryKey, a = [];
2537
2537
  for (const l of n) {
2538
- const d = await s.where(o, l).first();
2538
+ const d = await o.where(s, l).first();
2539
2539
  a.push(d);
2540
2540
  }
2541
2541
  return a;
2542
2542
  };
2543
2543
  function Ta(e, t) {
2544
- const n = T("filter"), { Model: r, setColumnsFilter: s } = p.useContext(_t), [o, a] = p.useState(t.key), [l, d] = p.useState(t.operator), [c, u] = p.useState(t.type), [h, y] = p.useState(t.value), [S, b] = p.useState(t.nullable), [m, g] = p.useState(t.is_relation), x = p.useMemo(() => n.getFilterableColumns(r), [r]), A = (O) => () => {
2545
- s((R) => R.filter((D, z) => z !== O));
2544
+ const n = T("filter"), { Model: r, setColumnsFilter: o } = p.useContext(Ht), [s, a] = p.useState(t.key), [l, d] = p.useState(t.operator), [c, u] = p.useState(t.type), [h, y] = p.useState(t.value), [S, b] = p.useState(t.nullable), [m, g] = p.useState(t.is_relation), x = p.useMemo(() => n.getFilterableColumns(r), [r]), A = (O) => () => {
2545
+ o((R) => R.filter((D, z) => z !== O));
2546
2546
  }, E = async (O) => {
2547
- const R = O.target.value, D = x.find((pr) => pr.key === R), z = (D == null ? void 0 : D.type) ?? "text", Ee = (D == null ? void 0 : D.nullable) ?? !1, Wt = (D == null ? void 0 : D.is_relation) ?? !1;
2548
- Wt ? (d("relation"), y([])) : m && d("equals"), g(Wt), b(Ee), z !== c && (d("equals"), y(() => {
2547
+ const R = O.target.value, D = x.find((pr) => pr.key === R), z = (D == null ? void 0 : D.type) ?? "text", Ee = (D == null ? void 0 : D.nullable) ?? !1, Vt = (D == null ? void 0 : D.is_relation) ?? !1;
2548
+ Vt ? (d("relation"), y([])) : m && d("equals"), g(Vt), b(Ee), z !== c && (d("equals"), y(() => {
2549
2549
  if (["between", "notBetween"].includes(l))
2550
2550
  return [];
2551
2551
  switch (n.getInputType(z)) {
@@ -2573,18 +2573,18 @@ function Ta(e, t) {
2573
2573
  }), d(R);
2574
2574
  };
2575
2575
  return p.useEffect(() => {
2576
- s((O) => O.map((D, z) => e === z ? {
2576
+ o((O) => O.map((D, z) => e === z ? {
2577
2577
  ...D,
2578
- key: o,
2578
+ key: s,
2579
2579
  operator: l,
2580
2580
  type: c,
2581
2581
  value: h,
2582
2582
  nullable: S,
2583
2583
  is_relation: m
2584
2584
  } : D));
2585
- }, [o, l, c, h, S, m]), {
2585
+ }, [s, l, c, h, S, m]), {
2586
2586
  columns: x,
2587
- key: o,
2587
+ key: s,
2588
2588
  setKey: a,
2589
2589
  operator: l,
2590
2590
  setOperator: d,
@@ -2602,19 +2602,19 @@ function Ta(e, t) {
2602
2602
  };
2603
2603
  }
2604
2604
  const hn = async (e, t, n) => {
2605
- const r = e.getSchema().relations[t].model, { data: s } = await ye().make(r).get(), o = s.all().filter((c) => !n.find((u) => u.getKey() === c.getKey())), a = o.length, l = n.length, d = 15;
2606
- return a + l > d ? W([...n, ...o.slice(0, d - l)]) : W([...n, ...o]);
2605
+ const r = e.getSchema().relations[t].model, { data: o } = await ye().make(r).get(), s = o.all().filter((c) => !n.find((u) => u.getKey() === c.getKey())), a = s.length, l = n.length, d = 15;
2606
+ return a + l > d ? W([...n, ...s.slice(0, d - l)]) : W([...n, ...s]);
2607
2607
  }, Da = async (e, t, n = "", r) => {
2608
- const s = e.getSchema().relations[t], o = ye().make(s.model), a = o.getSchema().primaryKey, { data: l } = await o.searchBy(n).get();
2608
+ const o = e.getSchema().relations[t], s = ye().make(o.model), a = s.getSchema().primaryKey, { data: l } = await s.searchBy(n).get();
2609
2609
  return W([...r, ...l]).unique(a);
2610
2610
  }, Oa = () => {
2611
2611
  const e = v(), t = te(), {
2612
2612
  key: n,
2613
2613
  value: r,
2614
- setValue: s
2615
- } = p.useContext(me), [o, a] = p.useState(!1), [l, d] = p.useState(""), [c, u] = p.useState(W([])), [h, y] = p.useState([]), S = p.useMemo(
2616
- () => o && c.count() === 0,
2617
- [o, c]
2614
+ setValue: o
2615
+ } = p.useContext(me), [s, a] = p.useState(!1), [l, d] = p.useState(""), [c, u] = p.useState(W([])), [h, y] = p.useState([]), S = p.useMemo(
2616
+ () => s && c.count() === 0,
2617
+ [s, c]
2618
2618
  ), b = async (m, g) => {
2619
2619
  d(g), ee.isEmpty(g) || u(await Da(t, n, g, W(h)));
2620
2620
  };
@@ -2627,12 +2627,12 @@ const hn = async (e, t, n) => {
2627
2627
  m = !1;
2628
2628
  };
2629
2629
  }, [S]), p.useEffect(() => {
2630
- s(h.map((m) => m.getKey())), ee.isEmpty(l) ? (async () => u(await hn(t, n, h)))() : u(W([]));
2630
+ o(h.map((m) => m.getKey())), ee.isEmpty(l) ? (async () => u(await hn(t, n, h)))() : u(W([]));
2631
2631
  }, [h]), /* @__PURE__ */ i(
2632
2632
  qr,
2633
2633
  {
2634
2634
  sx: { width: e ? 377 : "100%" },
2635
- open: o,
2635
+ open: s,
2636
2636
  onOpen: () => {
2637
2637
  a(!0);
2638
2638
  },
@@ -2679,14 +2679,14 @@ const hn = async (e, t, n) => {
2679
2679
  }
2680
2680
  }
2681
2681
  );
2682
- }, et = ({ index: e = null }) => {
2682
+ }, tt = ({ index: e = null }) => {
2683
2683
  const { t } = L(), n = v(), r = T("filter"), {
2684
- type: s,
2685
- value: o,
2684
+ type: o,
2685
+ value: s,
2686
2686
  setValue: a
2687
- } = p.useContext(me), d = r.getInputType(s) === "datetime-local" ? 230 : 167.5, c = e !== null ? `${t("Date")} ${e + 1}` : `${t("Date")}`, u = p.useMemo(
2688
- () => e !== null ? o[e] : o,
2689
- [o]
2687
+ } = p.useContext(me), d = r.getInputType(o) === "datetime-local" ? 230 : 167.5, c = e !== null ? `${t("Date")} ${e + 1}` : `${t("Date")}`, u = p.useMemo(
2688
+ () => e !== null ? s[e] : s,
2689
+ [s]
2690
2690
  ), h = (y) => {
2691
2691
  a(typeof e == "number" ? (S) => {
2692
2692
  const b = S;
@@ -2696,9 +2696,9 @@ const hn = async (e, t, n) => {
2696
2696
  return /* @__PURE__ */ i(
2697
2697
  Ae,
2698
2698
  {
2699
- type: r.getInputType(s),
2699
+ type: r.getInputType(o),
2700
2700
  label: c,
2701
- value: u || /* @__PURE__ */ new Date(),
2701
+ value: Fe.toDateTimeLocal(Fe.parse(u)),
2702
2702
  onChange: h,
2703
2703
  size: "small",
2704
2704
  sx: { width: n ? d : "100%" }
@@ -2711,9 +2711,9 @@ const hn = async (e, t, n) => {
2711
2711
  Hr,
2712
2712
  {
2713
2713
  checked: t,
2714
- onChange: (s) => {
2715
- const o = s.target.checked;
2716
- n(o ? 1 : 0);
2714
+ onChange: (o) => {
2715
+ const s = o.target.checked;
2716
+ n(s ? 1 : 0);
2717
2717
  },
2718
2718
  inputProps: { "aria-label": "filter-controlled" },
2719
2719
  size: "small"
@@ -2721,14 +2721,14 @@ const hn = async (e, t, n) => {
2721
2721
  ),
2722
2722
  e && /* @__PURE__ */ i(V, { width: 325 })
2723
2723
  ] });
2724
- }, tt = ({ index: e = null }) => {
2724
+ }, nt = ({ index: e = null }) => {
2725
2725
  const { t } = L(), n = v(), r = T("filter"), {
2726
- type: s,
2727
- value: o,
2726
+ type: o,
2727
+ value: s,
2728
2728
  setValue: a
2729
2729
  } = p.useContext(me), l = e !== null ? `${t("Value")} ${e + 1}` : `${t("Value")}`, d = p.useMemo(
2730
- () => e !== null ? o[e] : o,
2731
- [o]
2730
+ () => e !== null ? s[e] : s,
2731
+ [s]
2732
2732
  ), c = (u) => {
2733
2733
  a(typeof e == "number" ? (h) => {
2734
2734
  const y = h;
@@ -2738,7 +2738,7 @@ const hn = async (e, t, n) => {
2738
2738
  return /* @__PURE__ */ i(
2739
2739
  Ae,
2740
2740
  {
2741
- type: r.getInputType(s),
2741
+ type: r.getInputType(o),
2742
2742
  label: l,
2743
2743
  value: d || "",
2744
2744
  onChange: c,
@@ -2746,40 +2746,40 @@ const hn = async (e, t, n) => {
2746
2746
  size: "small"
2747
2747
  }
2748
2748
  );
2749
- }, nt = () => {
2750
- const e = v(), t = T("filter"), { type: n, operator: r } = p.useContext(me), s = p.useMemo(
2749
+ }, rt = () => {
2750
+ const e = v(), t = T("filter"), { type: n, operator: r } = p.useContext(me), o = p.useMemo(
2751
2751
  () => ["between", "notBetween"].includes(r),
2752
2752
  [r]
2753
2753
  );
2754
2754
  if (["null", "notNull"].includes(r))
2755
2755
  return e ? /* @__PURE__ */ i(V, { width: 230 }) : null;
2756
- if (s)
2756
+ if (o)
2757
2757
  switch (t.getInputType(n)) {
2758
2758
  case "date":
2759
2759
  case "datetime-local":
2760
2760
  return /* @__PURE__ */ w(B, { children: [
2761
- /* @__PURE__ */ i(et, { index: 0 }),
2762
- /* @__PURE__ */ i(et, { index: 1 })
2761
+ /* @__PURE__ */ i(tt, { index: 0 }),
2762
+ /* @__PURE__ */ i(tt, { index: 1 })
2763
2763
  ] });
2764
2764
  default:
2765
2765
  return /* @__PURE__ */ w(B, { children: [
2766
- /* @__PURE__ */ i(tt, { index: 0 }),
2767
- /* @__PURE__ */ i(tt, { index: 1 })
2766
+ /* @__PURE__ */ i(nt, { index: 0 }),
2767
+ /* @__PURE__ */ i(nt, { index: 1 })
2768
2768
  ] });
2769
2769
  }
2770
2770
  switch (t.getInputType(n)) {
2771
2771
  case "date":
2772
2772
  case "datetime-local":
2773
- return /* @__PURE__ */ i(et, {});
2773
+ return /* @__PURE__ */ i(tt, {});
2774
2774
  case "autocomplete":
2775
2775
  return /* @__PURE__ */ i(Oa, {});
2776
2776
  case "boolean":
2777
2777
  return /* @__PURE__ */ i(Pa, {});
2778
2778
  default:
2779
- return /* @__PURE__ */ i(tt, {});
2779
+ return /* @__PURE__ */ i(nt, {});
2780
2780
  }
2781
2781
  }, va = ({ index: e, column: t }) => {
2782
- const { t: n } = L(), r = v(), s = H("breakpoint", "md"), o = T("filter"), a = p.useMemo(() => o.getMatchingOperators(t), [t]), {
2782
+ const { t: n } = L(), r = v(), o = H("breakpoint", "md"), s = T("filter"), a = p.useMemo(() => s.getMatchingOperators(t), [t]), {
2783
2783
  columns: l,
2784
2784
  key: d,
2785
2785
  setKey: c,
@@ -2794,7 +2794,7 @@ const hn = async (e, t, n) => {
2794
2794
  handleKey: A,
2795
2795
  handleOperator: E,
2796
2796
  handleRemoveColumn: P
2797
- } = Ta(e, t), O = ["boolean"].includes(o.getInputType(y));
2797
+ } = Ta(e, t), O = ["boolean"].includes(s.getInputType(y));
2798
2798
  return /* @__PURE__ */ i(
2799
2799
  me.Provider,
2800
2800
  {
@@ -2817,11 +2817,11 @@ const hn = async (e, t, n) => {
2817
2817
  display: "flex",
2818
2818
  flexDirection: {
2819
2819
  xs: "column",
2820
- [s]: "row"
2820
+ [o]: "row"
2821
2821
  },
2822
2822
  flexWrap: {
2823
2823
  xs: "wrap",
2824
- [s]: "nowrap"
2824
+ [o]: "nowrap"
2825
2825
  },
2826
2826
  alignItems: "center",
2827
2827
  justifyContent: "space-between",
@@ -2833,7 +2833,7 @@ const hn = async (e, t, n) => {
2833
2833
  display: "flex",
2834
2834
  flexDirection: {
2835
2835
  xs: "column",
2836
- [s]: "row"
2836
+ [o]: "row"
2837
2837
  },
2838
2838
  alignItems: "center",
2839
2839
  width: "100%",
@@ -2848,11 +2848,11 @@ const hn = async (e, t, n) => {
2848
2848
  ...!r && { width: "100%" },
2849
2849
  gap: 1,
2850
2850
  children: [
2851
- /* @__PURE__ */ w(ot, { sx: {
2851
+ /* @__PURE__ */ w(at, { sx: {
2852
2852
  width: r ? 195 : `calc(100% - ${O ? 88 : 44}px)`
2853
2853
  }, children: [
2854
2854
  /* @__PURE__ */ i(
2855
- at,
2855
+ it,
2856
2856
  {
2857
2857
  id: "filter-column-select-label",
2858
2858
  size: "small",
@@ -2869,7 +2869,7 @@ const hn = async (e, t, n) => {
2869
2869
  onChange: A,
2870
2870
  size: "small",
2871
2871
  children: l.map(({ key: R, label: D }) => /* @__PURE__ */ i(
2872
- oe,
2872
+ se,
2873
2873
  {
2874
2874
  value: R,
2875
2875
  children: n(D)
@@ -2885,13 +2885,13 @@ const hn = async (e, t, n) => {
2885
2885
  direction: "row",
2886
2886
  alignItems: "center",
2887
2887
  children: [
2888
- O && /* @__PURE__ */ i(nt, {}),
2888
+ O && /* @__PURE__ */ i(rt, {}),
2889
2889
  /* @__PURE__ */ i(
2890
2890
  q,
2891
2891
  {
2892
2892
  color: "error",
2893
2893
  onClick: P(e),
2894
- children: /* @__PURE__ */ i(lt, {})
2894
+ children: /* @__PURE__ */ i(ct, {})
2895
2895
  }
2896
2896
  )
2897
2897
  ]
@@ -2900,11 +2900,11 @@ const hn = async (e, t, n) => {
2900
2900
  ]
2901
2901
  }
2902
2902
  ),
2903
- !g && !O && /* @__PURE__ */ w(ot, { sx: {
2903
+ !g && !O && /* @__PURE__ */ w(at, { sx: {
2904
2904
  width: r ? 147.5 : "100%"
2905
2905
  }, children: [
2906
2906
  /* @__PURE__ */ i(
2907
- at,
2907
+ it,
2908
2908
  {
2909
2909
  id: "filter-operator-select-label",
2910
2910
  size: "small",
@@ -2921,7 +2921,7 @@ const hn = async (e, t, n) => {
2921
2921
  onChange: E,
2922
2922
  size: "small",
2923
2923
  children: a.map(({ key: R, label: D }) => /* @__PURE__ */ i(
2924
- oe,
2924
+ se,
2925
2925
  {
2926
2926
  value: R,
2927
2927
  children: n(D)
@@ -2931,7 +2931,7 @@ const hn = async (e, t, n) => {
2931
2931
  }
2932
2932
  )
2933
2933
  ] }),
2934
- r ? /* @__PURE__ */ i(nt, {}) : !O && /* @__PURE__ */ i(nt, {})
2934
+ r ? /* @__PURE__ */ i(rt, {}) : !O && /* @__PURE__ */ i(rt, {})
2935
2935
  ]
2936
2936
  },
2937
2937
  `filter_${d}_${e}`
@@ -2941,7 +2941,7 @@ const hn = async (e, t, n) => {
2941
2941
  {
2942
2942
  color: "error",
2943
2943
  onClick: P(e),
2944
- children: /* @__PURE__ */ i(lt, {})
2944
+ children: /* @__PURE__ */ i(ct, {})
2945
2945
  }
2946
2946
  )
2947
2947
  ]
@@ -2950,12 +2950,12 @@ const hn = async (e, t, n) => {
2950
2950
  }
2951
2951
  );
2952
2952
  }, pn = ({ dialog: e = !1 }) => {
2953
- const { t } = L(), n = v(), r = H("breakpoint", "md"), s = T("filter"), {
2954
- columnsFilter: o,
2953
+ const { t } = L(), n = v(), r = H("breakpoint", "md"), o = T("filter"), {
2954
+ columnsFilter: s,
2955
2955
  setColumnsFilter: a,
2956
2956
  handleApplyFilters: l,
2957
2957
  clearFilters: d
2958
- } = p.useContext(_t), c = () => {
2958
+ } = p.useContext(Ht), c = () => {
2959
2959
  a((u) => [
2960
2960
  ...u,
2961
2961
  {
@@ -2977,7 +2977,7 @@ const hn = async (e, t, n) => {
2977
2977
  p: e ? 0 : 2
2978
2978
  },
2979
2979
  children: [
2980
- /* @__PURE__ */ i(N, { children: o.map((u, h, y) => {
2980
+ /* @__PURE__ */ i(N, { children: s.map((u, h, y) => {
2981
2981
  const S = h == y.length - 1;
2982
2982
  return /* @__PURE__ */ w(B, { children: [
2983
2983
  /* @__PURE__ */ i(
@@ -3036,7 +3036,7 @@ const hn = async (e, t, n) => {
3036
3036
  {
3037
3037
  variant: "contained",
3038
3038
  onClick: l,
3039
- disabled: s.checkIfCanApplyFilters(o),
3039
+ disabled: o.checkIfCanApplyFilters(s),
3040
3040
  children: t("Apply")
3041
3041
  }
3042
3042
  )
@@ -3049,24 +3049,24 @@ const hn = async (e, t, n) => {
3049
3049
  };
3050
3050
  function Fa(e, t) {
3051
3051
  const n = [], r = Ln.toObject(t);
3052
- return !("where" in r) || ee.isEmpty(r.where) ? [] : (Object.entries(r.where).forEach(([s, o]) => {
3053
- let [a, l = "equals"] = s.split(":");
3052
+ return !("where" in r) || ee.isEmpty(r.where) ? [] : (Object.entries(r.where).forEach(([o, s]) => {
3053
+ let [a, l = "equals"] = o.split(":");
3054
3054
  const d = e.find((u) => u.key === a);
3055
3055
  if (!d)
3056
3056
  return;
3057
3057
  l === "equals" && d.is_relation && (l = "relation");
3058
- let c = o;
3058
+ let c = s;
3059
3059
  switch (d.type) {
3060
3060
  case "text": {
3061
- Array.isArray(o) && (c = o.join(","));
3061
+ Array.isArray(s) && (c = s.join(","));
3062
3062
  break;
3063
3063
  }
3064
3064
  case "datetime-local": {
3065
- Array.isArray(o) ? c = o.map((u) => Yt.toDateTimeLocal(u)) : c = Yt.toDateTimeLocal(o);
3065
+ Array.isArray(s) ? c = s.map((u) => Fe.toDateTimeLocal(u)) : c = Fe.toDateTimeLocal(s);
3066
3066
  break;
3067
3067
  }
3068
3068
  case "boolean": {
3069
- c = Number(o);
3069
+ c = Number(s);
3070
3070
  break;
3071
3071
  }
3072
3072
  }
@@ -3083,9 +3083,9 @@ function Fa(e, t) {
3083
3083
  const Ba = (e) => {
3084
3084
  const t = T("filter"), n = new URLSearchParams();
3085
3085
  return e.forEach((r) => {
3086
- const { key: s, operator: o, value: a, type: l } = r;
3087
- let d = `:${o}`;
3088
- if (["equals"].includes(o) && (d = ""), Array.isArray(a))
3086
+ const { key: o, operator: s, value: a, type: l } = r;
3087
+ let d = `:${s}`;
3088
+ if (["equals"].includes(s) && (d = ""), Array.isArray(a))
3089
3089
  a.forEach((c, u) => {
3090
3090
  let h = c;
3091
3091
  switch (t.getInputType(l)) {
@@ -3094,7 +3094,7 @@ const Ba = (e) => {
3094
3094
  break;
3095
3095
  }
3096
3096
  }
3097
- n.set(`where[${s}${d}][${u}]`, h);
3097
+ n.set(`where[${o}${d}][${u}]`, h);
3098
3098
  });
3099
3099
  else {
3100
3100
  let c = a;
@@ -3104,11 +3104,11 @@ const Ba = (e) => {
3104
3104
  break;
3105
3105
  }
3106
3106
  }
3107
- n.set(`where[${s}${d}]`, c);
3107
+ n.set(`where[${o}${d}]`, c);
3108
3108
  }
3109
3109
  }), n;
3110
3110
  }, La = () => {
3111
- const { t: e } = L(), t = T("filter"), n = v(), r = te(), [s, o] = K(), a = p.useMemo(() => "where" in Ln.toObject(s), [s]), [l, d] = p.useState(null), [c, u] = p.useState([]), h = !!l, y = p.useMemo(() => t.getFilterableColumns(r), [r]), S = (A) => {
3111
+ const { t: e } = L(), t = T("filter"), n = v(), r = te(), [o, s] = K(), a = p.useMemo(() => "where" in Ln.toObject(o), [o]), [l, d] = p.useState(null), [c, u] = p.useState([]), h = !!l, y = p.useMemo(() => t.getFilterableColumns(r), [r]), S = (A) => {
3112
3112
  d(A.currentTarget);
3113
3113
  }, b = () => {
3114
3114
  d(null), setTimeout(() => {
@@ -3117,9 +3117,9 @@ const Ba = (e) => {
3117
3117
  }, m = () => {
3118
3118
  g();
3119
3119
  const A = Ba(c);
3120
- o(A, { replace: !0 }), b();
3120
+ s(A, { replace: !0 }), b();
3121
3121
  }, g = () => {
3122
- o((A) => {
3122
+ s((A) => {
3123
3123
  const E = new URLSearchParams(A);
3124
3124
  for (const [P] of A.entries())
3125
3125
  P.startsWith("where[") && E.delete(P);
@@ -3131,10 +3131,10 @@ const Ba = (e) => {
3131
3131
  }, 300);
3132
3132
  };
3133
3133
  return p.useEffect(() => {
3134
- const A = Fa(y, s);
3134
+ const A = Fa(y, o);
3135
3135
  u(A);
3136
- }, [y, s, l]), /* @__PURE__ */ w(
3137
- _t.Provider,
3136
+ }, [y, o, l]), /* @__PURE__ */ w(
3137
+ Ht.Provider,
3138
3138
  {
3139
3139
  value: {
3140
3140
  Model: r,
@@ -3142,8 +3142,8 @@ const Ba = (e) => {
3142
3142
  setAnchorEl: d,
3143
3143
  columnsFilter: c,
3144
3144
  setColumnsFilter: u,
3145
- searchParams: s,
3146
- setSearchParams: o,
3145
+ searchParams: o,
3146
+ setSearchParams: s,
3147
3147
  handleApplyFilters: m,
3148
3148
  clearSearchParams: g,
3149
3149
  clearFilters: x
@@ -3156,7 +3156,7 @@ const Ba = (e) => {
3156
3156
  "aria-label": "filter",
3157
3157
  onClick: S,
3158
3158
  children: /* @__PURE__ */ i(
3159
- Dt,
3159
+ Ot,
3160
3160
  {
3161
3161
  color: "secondary",
3162
3162
  variant: "dot",
@@ -3180,25 +3180,25 @@ const Ba = (e) => {
3180
3180
  children: /* @__PURE__ */ i(pn, {})
3181
3181
  }
3182
3182
  ) : /* @__PURE__ */ w(
3183
- xt,
3183
+ Ct,
3184
3184
  {
3185
3185
  open: h,
3186
3186
  onClose: b,
3187
3187
  fullWidth: !0,
3188
3188
  children: [
3189
- /* @__PURE__ */ w(Ct, { children: [
3189
+ /* @__PURE__ */ w(Et, { children: [
3190
3190
  e("Filter :model", { model: r.plural() }),
3191
3191
  /* @__PURE__ */ i(
3192
3192
  q,
3193
3193
  {
3194
3194
  onClick: b,
3195
3195
  sx: { position: "absolute", right: 8, top: 8 },
3196
- children: /* @__PURE__ */ i(Me, {})
3196
+ children: /* @__PURE__ */ i(Ne, {})
3197
3197
  }
3198
3198
  )
3199
3199
  ] }),
3200
- /* @__PURE__ */ i(Et, { dividers: !0, children: /* @__PURE__ */ i(pn, { dialog: !0 }) }),
3201
- /* @__PURE__ */ w(kt, { children: [
3200
+ /* @__PURE__ */ i(kt, { dividers: !0, children: /* @__PURE__ */ i(pn, { dialog: !0 }) }),
3201
+ /* @__PURE__ */ w(Tt, { children: [
3202
3202
  /* @__PURE__ */ i(
3203
3203
  M,
3204
3204
  {
@@ -3223,7 +3223,7 @@ const Ba = (e) => {
3223
3223
  ]
3224
3224
  }
3225
3225
  );
3226
- }, Ht = p.createContext({
3226
+ }, zt = p.createContext({
3227
3227
  columns: [],
3228
3228
  columnCount: 0,
3229
3229
  selected: W([]),
@@ -3232,20 +3232,20 @@ const Ba = (e) => {
3232
3232
  error: new Error("Trying to access TableContext outside of TableProvider"),
3233
3233
  Model: null
3234
3234
  });
3235
- function zt() {
3235
+ function Wt() {
3236
3236
  const {
3237
3237
  selected: e,
3238
3238
  items: t
3239
- } = p.useContext(Ht), n = mn(e), r = () => {
3239
+ } = p.useContext(zt), n = mn(e), r = () => {
3240
3240
  e.splice(0, e.count());
3241
- }, s = (c) => {
3241
+ }, o = (c) => {
3242
3242
  const u = e.search(c);
3243
3243
  if (u !== !1) {
3244
3244
  e.pull(u);
3245
3245
  return;
3246
3246
  }
3247
3247
  e.push(c);
3248
- }, o = () => {
3248
+ }, s = () => {
3249
3249
  if (t) {
3250
3250
  if (e.count() === t.count()) {
3251
3251
  r();
@@ -3260,22 +3260,22 @@ function zt() {
3260
3260
  allSelected: d,
3261
3261
  isSelected: a,
3262
3262
  handleClearSelected: r,
3263
- handleSelectToggle: s,
3264
- handleSelectToggleAll: o
3263
+ handleSelectToggle: o,
3264
+ handleSelectToggleAll: s
3265
3265
  };
3266
3266
  }
3267
3267
  function ae() {
3268
- return p.useContext(Ht);
3268
+ return p.useContext(zt);
3269
3269
  }
3270
3270
  function Ia(e) {
3271
- const [t, n] = p.useState(""), { selected: r } = zt(), { t: s } = L(), o = Ut(), { massActions: a } = ae(), l = (c) => {
3271
+ const [t, n] = p.useState(""), { selected: r } = Wt(), { t: o } = L(), s = qt(), { massActions: a } = ae(), l = (c) => {
3272
3272
  n(c.target.value);
3273
3273
  };
3274
3274
  if (p.useEffect(() => {
3275
3275
  r.isEmpty() && n("");
3276
3276
  }, [r]), a.length === 0)
3277
3277
  return null;
3278
- const d = r.isEmpty() ? s("Select items to apply") : s("Select action");
3278
+ const d = r.isEmpty() ? o("Select items to apply") : o("Select action");
3279
3279
  return /* @__PURE__ */ w(
3280
3280
  N,
3281
3281
  {
@@ -3284,12 +3284,12 @@ function Ia(e) {
3284
3284
  ...e,
3285
3285
  children: [
3286
3286
  /* @__PURE__ */ w(
3287
- ot,
3287
+ at,
3288
3288
  {
3289
3289
  sx: { m: 1, minWidth: 200 },
3290
3290
  size: "small",
3291
3291
  children: [
3292
- /* @__PURE__ */ i(at, { id: "mass-actions-select-label", children: d }),
3292
+ /* @__PURE__ */ i(it, { id: "mass-actions-select-label", children: d }),
3293
3293
  /* @__PURE__ */ w(
3294
3294
  ve,
3295
3295
  {
@@ -3300,9 +3300,9 @@ function Ia(e) {
3300
3300
  onChange: l,
3301
3301
  disabled: r.isEmpty(),
3302
3302
  children: [
3303
- /* @__PURE__ */ i(oe, { value: "", children: /* @__PURE__ */ i("em", { children: s("None") }) }),
3303
+ /* @__PURE__ */ i(se, { value: "", children: /* @__PURE__ */ i("em", { children: o("None") }) }),
3304
3304
  a.map((c) => /* @__PURE__ */ i(
3305
- oe,
3305
+ se,
3306
3306
  {
3307
3307
  value: c.key,
3308
3308
  children: c.label
@@ -3324,10 +3324,10 @@ function Ia(e) {
3324
3324
  var c;
3325
3325
  (c = a.find((u) => u.key === t)) == null || c.callback({
3326
3326
  selected: r,
3327
- ...o
3327
+ ...s
3328
3328
  });
3329
3329
  },
3330
- children: s("Apply")
3330
+ children: o("Apply")
3331
3331
  }
3332
3332
  )
3333
3333
  ]
@@ -3335,7 +3335,7 @@ function Ia(e) {
3335
3335
  );
3336
3336
  }
3337
3337
  const Ma = () => {
3338
- const { handleDrawerOpen: e } = qt();
3338
+ const { handleDrawerOpen: e } = _t();
3339
3339
  return /* @__PURE__ */ i(
3340
3340
  q,
3341
3341
  {
@@ -3347,8 +3347,8 @@ const Ma = () => {
3347
3347
  children: /* @__PURE__ */ i(Tn, {})
3348
3348
  }
3349
3349
  );
3350
- }, We = p.forwardRef(({ to: e, children: t, ...n }, r) => /* @__PURE__ */ i(
3351
- it,
3350
+ }, Ve = p.forwardRef(({ to: e, children: t, ...n }, r) => /* @__PURE__ */ i(
3351
+ lt,
3352
3352
  {
3353
3353
  component: Re,
3354
3354
  to: e,
@@ -3358,14 +3358,14 @@ const Ma = () => {
3358
3358
  children: t
3359
3359
  }
3360
3360
  ));
3361
- We.displayName = "Link";
3361
+ Ve.displayName = "Link";
3362
3362
  const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */ i(B, { children: {
3363
- "&laquo; Previous": /* @__PURE__ */ i(Ne, {}),
3364
- "Next &raquo;": /* @__PURE__ */ i(je, {}),
3363
+ "&laquo; Previous": /* @__PURE__ */ i(je, {}),
3364
+ "Next &raquo;": /* @__PURE__ */ i(Ue, {}),
3365
3365
  "Last &raquo;": /* @__PURE__ */ i(Dn, {}),
3366
3366
  "&laquo; First": /* @__PURE__ */ i(On, {})
3367
3367
  }[e] || e }) : /* @__PURE__ */ i(B, { children: e }), ja = ({ variant: e = "default", ...t }) => {
3368
- const n = e === "default", [r, s] = K(), [o, a] = p.useState(r.get("page") || "1"), {
3368
+ const n = e === "default", [r, o] = K(), [s, a] = p.useState(r.get("page") || "1"), {
3369
3369
  links: l,
3370
3370
  meta: {
3371
3371
  current_page: d = 1,
@@ -3378,7 +3378,7 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
3378
3378
  next: S,
3379
3379
  last: b
3380
3380
  } = l || {}, m = (x) => {
3381
- x.preventDefault(), s((A) => (A.set("page", o || "1"), A));
3381
+ x.preventDefault(), o((A) => (A.set("page", s || "1"), A));
3382
3382
  }, g = [
3383
3383
  { url: d > 1 ? h : null, label: "&laquo; First", active: !1 },
3384
3384
  { url: y, label: "&laquo; Previous", active: !1 },
@@ -3404,14 +3404,14 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
3404
3404
  }
3405
3405
  }
3406
3406
  },
3407
- value: o,
3408
- error: Number(o) > u,
3409
- helperText: Number(o) > u ? `Max ${u}` : void 0,
3407
+ value: s,
3408
+ error: Number(s) > u,
3409
+ helperText: Number(s) > u ? `Max ${u}` : void 0,
3410
3410
  onChange: (x) => {
3411
3411
  !Number.isNaN(Number(x.target.value)) && Number(x.target.value) > 0 && a(x.target.value), x.target.value === "" && a("");
3412
3412
  },
3413
3413
  onBlur: (x) => {
3414
- s((A) => (A.set("page", x.target.value || "1"), A), { replace: !0 });
3414
+ o((A) => (A.set("page", x.target.value || "1"), A), { replace: !0 });
3415
3415
  },
3416
3416
  disabled: u === 1,
3417
3417
  "aria-label": "Page number"
@@ -3447,7 +3447,7 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
3447
3447
  borderRadius: "50%"
3448
3448
  },
3449
3449
  disabled: !x.url,
3450
- component: We,
3450
+ component: Ve,
3451
3451
  to: x.url,
3452
3452
  children: /* @__PURE__ */ i(Na, { label: x.label })
3453
3453
  },
@@ -3473,12 +3473,12 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
3473
3473
  meta: {
3474
3474
  per_page: t = 15
3475
3475
  } = {}
3476
- } = Se(), [, n] = K(), r = (o) => {
3476
+ } = Se(), [, n] = K(), r = (s) => {
3477
3477
  n((a) => {
3478
3478
  const l = new URLSearchParams(a);
3479
- return l.set("per_page", o.target.value.toString()), l;
3479
+ return l.set("per_page", s.target.value.toString()), l;
3480
3480
  });
3481
- }, s = At(
3481
+ }, o = xt(
3482
3482
  T("cms"),
3483
3483
  "perPageOptions",
3484
3484
  [15, 30, 75, 150]
@@ -3502,24 +3502,24 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
3502
3502
  size: "small",
3503
3503
  variant: "standard",
3504
3504
  sx: {
3505
- fontSize: (o) => o.typography.caption.fontSize,
3505
+ fontSize: (s) => s.typography.caption.fontSize,
3506
3506
  "& .MuiSelect-select": {
3507
3507
  py: 0.5
3508
3508
  }
3509
3509
  },
3510
- children: s.map((o) => /* @__PURE__ */ i(
3511
- oe,
3510
+ children: o.map((s) => /* @__PURE__ */ i(
3511
+ se,
3512
3512
  {
3513
- value: o,
3513
+ value: s,
3514
3514
  sx: {
3515
3515
  fontSize: (a) => a.typography.caption.fontSize,
3516
3516
  minHeight: "unset",
3517
3517
  lineHeight: 1,
3518
3518
  py: 1.5
3519
3519
  },
3520
- children: o
3520
+ children: s
3521
3521
  },
3522
- o
3522
+ s
3523
3523
  ))
3524
3524
  }
3525
3525
  )
@@ -3530,13 +3530,13 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
3530
3530
  function _a(e, t) {
3531
3531
  const [n, r] = p.useState(!1);
3532
3532
  return p.useEffect(() => {
3533
- const s = /* @__PURE__ */ new Set(), o = (l) => {
3534
- s.add(l.key), e.every((d) => s.has(d)) && (r(!0), t && t());
3533
+ const o = /* @__PURE__ */ new Set(), s = (l) => {
3534
+ o.add(l.key), e.every((d) => o.has(d)) && (r(!0), t && t());
3535
3535
  }, a = (l) => {
3536
- s.delete(l.key), e.every((d) => !s.has(d)) && r(!1);
3536
+ o.delete(l.key), e.every((d) => !o.has(d)) && r(!1);
3537
3537
  };
3538
- return window.addEventListener("keydown", o), window.addEventListener("keyup", a), () => {
3539
- window.removeEventListener("keydown", o), window.removeEventListener("keyup", a);
3538
+ return window.addEventListener("keydown", s), window.addEventListener("keyup", a), () => {
3539
+ window.removeEventListener("keydown", s), window.removeEventListener("keyup", a);
3540
3540
  };
3541
3541
  }, [e, t]), n;
3542
3542
  }
@@ -3545,26 +3545,26 @@ const Ha = G(Ae)(({ theme: e }) => ({
3545
3545
  backgroundColor: e.palette.background.paper
3546
3546
  }
3547
3547
  // transition: 'width 250ms ease-in-out',
3548
- })), za = us.throttle((e, t) => {
3548
+ })), za = uo.throttle((e, t) => {
3549
3549
  t((n) => {
3550
3550
  const r = new URLSearchParams(n);
3551
3551
  return e ? r.set("q", e) : r.delete("q"), r;
3552
3552
  });
3553
3553
  }, 500), Wa = () => {
3554
- const [e, t] = K(), n = e.get("q") || "", [r, s] = p.useState(n), [o, a] = p.useState(!1), l = p.useRef(null), { t: d } = L();
3554
+ const [e, t] = K(), n = e.get("q") || "", [r, o] = p.useState(n), [s, a] = p.useState(!1), l = p.useRef(null), { t: d } = L();
3555
3555
  p.useEffect(() => {
3556
- s(n);
3556
+ o(n);
3557
3557
  }, [n]);
3558
3558
  const c = (y) => {
3559
- s(y.target.value), za(y.target.value, t);
3559
+ o(y.target.value), za(y.target.value, t);
3560
3560
  }, u = v();
3561
3561
  _a(["Control", "/"], () => {
3562
3562
  l.current.focus();
3563
3563
  });
3564
3564
  const h = u ? 300 : "calc(100vw - 58px)";
3565
3565
  return /* @__PURE__ */ w(B, { children: [
3566
- !u && !o && /* @__PURE__ */ i(q, { color: "inherit", onClick: () => a(!0), children: /* @__PURE__ */ i(
3567
- Dt,
3566
+ !u && !s && /* @__PURE__ */ i(q, { color: "inherit", onClick: () => a(!0), children: /* @__PURE__ */ i(
3567
+ Ot,
3568
3568
  {
3569
3569
  variant: "dot",
3570
3570
  color: "secondary",
@@ -3573,17 +3573,17 @@ const Ha = G(Ae)(({ theme: e }) => ({
3573
3573
  vertical: "bottom",
3574
3574
  horizontal: "left"
3575
3575
  },
3576
- children: /* @__PURE__ */ i(ct, {})
3576
+ children: /* @__PURE__ */ i(ut, {})
3577
3577
  }
3578
3578
  ) }),
3579
3579
  /* @__PURE__ */ i(
3580
3580
  yn,
3581
3581
  {
3582
3582
  orientation: "horizontal",
3583
- in: u || o,
3583
+ in: u || s,
3584
3584
  addEndListener: () => {
3585
3585
  var y;
3586
- !u && o && ((y = l.current) == null || y.focus());
3586
+ !u && s && ((y = l.current) == null || y.focus());
3587
3587
  },
3588
3588
  unmountOnExit: !1,
3589
3589
  children: /* @__PURE__ */ i(
@@ -3592,7 +3592,7 @@ const Ha = G(Ae)(({ theme: e }) => ({
3592
3592
  placeholder: u ? `(Ctrl + /) ${d("Search...")}` : `${d("Search...")}`,
3593
3593
  value: r,
3594
3594
  InputProps: {
3595
- endAdornment: /* @__PURE__ */ i(ct, {})
3595
+ endAdornment: /* @__PURE__ */ i(ut, {})
3596
3596
  },
3597
3597
  inputProps: {
3598
3598
  ref: l
@@ -3617,8 +3617,8 @@ const Ha = G(Ae)(({ theme: e }) => ({
3617
3617
  ), $a = () => {
3618
3618
  const { t: e } = L(), [t, n] = K(), {
3619
3619
  columns: r,
3620
- Model: s
3621
- } = ae(), o = t.get("order_by") || "", [a = "", l = ""] = o.split(":"), [d, c] = p.useState(a), [u, h] = p.useState(l), [y, S] = p.useState(!1), b = () => {
3620
+ Model: o
3621
+ } = ae(), s = t.get("order_by") || "", [a = "", l = ""] = s.split(":"), [d, c] = p.useState(a), [u, h] = p.useState(l), [y, S] = p.useState(!1), b = () => {
3622
3622
  S(!0);
3623
3623
  }, m = () => {
3624
3624
  S(!1), c(a), h(l);
@@ -3639,7 +3639,7 @@ const Ha = G(Ae)(({ theme: e }) => ({
3639
3639
  };
3640
3640
  return /* @__PURE__ */ w(B, { children: [
3641
3641
  /* @__PURE__ */ i(q, { onClick: b, children: /* @__PURE__ */ i(
3642
- Dt,
3642
+ Ot,
3643
3643
  {
3644
3644
  color: "secondary",
3645
3645
  variant: "dot",
@@ -3647,21 +3647,21 @@ const Ha = G(Ae)(({ theme: e }) => ({
3647
3647
  children: /* @__PURE__ */ i(Rn, {})
3648
3648
  }
3649
3649
  ) }),
3650
- /* @__PURE__ */ w(xt, { open: y, onClose: m, fullWidth: !0, children: [
3651
- /* @__PURE__ */ w(Ct, { children: [
3652
- e("Sort :model", { model: s.plural() }),
3650
+ /* @__PURE__ */ w(Ct, { open: y, onClose: m, fullWidth: !0, children: [
3651
+ /* @__PURE__ */ w(Et, { children: [
3652
+ e("Sort :model", { model: o.plural() }),
3653
3653
  /* @__PURE__ */ i(
3654
3654
  q,
3655
3655
  {
3656
3656
  onClick: m,
3657
3657
  sx: { position: "absolute", right: 8, top: 8 },
3658
- children: /* @__PURE__ */ i(Me, {})
3658
+ children: /* @__PURE__ */ i(Ne, {})
3659
3659
  }
3660
3660
  )
3661
3661
  ] }),
3662
- /* @__PURE__ */ w(Et, { dividers: !0, children: [
3662
+ /* @__PURE__ */ w(kt, { dividers: !0, children: [
3663
3663
  /* @__PURE__ */ w(
3664
- Vt,
3664
+ $t,
3665
3665
  {
3666
3666
  value: d,
3667
3667
  onChange: (A) => {
@@ -3671,10 +3671,10 @@ const Ha = G(Ae)(({ theme: e }) => ({
3671
3671
  /* @__PURE__ */ i($, { variant: "caption", children: e("Column") }),
3672
3672
  /* @__PURE__ */ i(Pe, {}),
3673
3673
  W(r).whereStrict("sortable", "!=", !1).map(({ key: A, label: E }) => /* @__PURE__ */ i(
3674
- $e,
3674
+ Ke,
3675
3675
  {
3676
3676
  value: A,
3677
- control: /* @__PURE__ */ i(Ke, {}),
3677
+ control: /* @__PURE__ */ i(Ye, {}),
3678
3678
  label: E
3679
3679
  },
3680
3680
  A
@@ -3685,16 +3685,16 @@ const Ha = G(Ae)(({ theme: e }) => ({
3685
3685
  /* @__PURE__ */ i($, { variant: "caption", children: e("Direction") }),
3686
3686
  /* @__PURE__ */ i(Pe, {}),
3687
3687
  /* @__PURE__ */ w(
3688
- Vt,
3688
+ $t,
3689
3689
  {
3690
3690
  value: u,
3691
3691
  onChange: (A) => h(A.target.value),
3692
3692
  children: [
3693
3693
  /* @__PURE__ */ i(
3694
- $e,
3694
+ Ke,
3695
3695
  {
3696
3696
  value: "asc",
3697
- control: /* @__PURE__ */ i(Ke, {}),
3697
+ control: /* @__PURE__ */ i(Ye, {}),
3698
3698
  label: /* @__PURE__ */ w(B, { children: [
3699
3699
  e("Ascending"),
3700
3700
  /* @__PURE__ */ i(Pn, {})
@@ -3702,10 +3702,10 @@ const Ha = G(Ae)(({ theme: e }) => ({
3702
3702
  }
3703
3703
  ),
3704
3704
  /* @__PURE__ */ i(
3705
- $e,
3705
+ Ke,
3706
3706
  {
3707
3707
  value: "desc",
3708
- control: /* @__PURE__ */ i(Ke, {}),
3708
+ control: /* @__PURE__ */ i(Ye, {}),
3709
3709
  label: /* @__PURE__ */ w(B, { children: [
3710
3710
  e("Descending"),
3711
3711
  /* @__PURE__ */ i(vn, {})
@@ -3716,21 +3716,21 @@ const Ha = G(Ae)(({ theme: e }) => ({
3716
3716
  }
3717
3717
  )
3718
3718
  ] }),
3719
- /* @__PURE__ */ w(kt, { children: [
3719
+ /* @__PURE__ */ w(Tt, { children: [
3720
3720
  /* @__PURE__ */ i(M, { onClick: x, sx: { mr: "auto" }, children: e("Clear") }),
3721
3721
  /* @__PURE__ */ i(M, { onClick: g, variant: "contained", children: e("Apply") })
3722
3722
  ] })
3723
3723
  ] })
3724
3724
  ] });
3725
3725
  }, Ka = ({ items: e, loading: t, children: n, error: r }) => {
3726
- const s = te(), o = p.useMemo(() => W([]), [s, e]), [a] = K(), l = a.get("tab") ?? "all", d = p.useMemo(() => [
3726
+ const o = te(), s = p.useMemo(() => W([]), [o, e]), [a] = K(), l = a.get("tab") ?? "all", d = p.useMemo(() => [
3727
3727
  {
3728
- key: s.getSchema().labeledBy,
3729
- label: k.human(s.getSchema().labeledBy)
3728
+ key: o.getSchema().labeledBy,
3729
+ label: k.human(o.getSchema().labeledBy)
3730
3730
  }
3731
- ], [s]), c = v(), u = p.useMemo(() => T("cms").getMassActions(s, l), [s, l]), h = At(
3731
+ ], [o]), c = v(), u = p.useMemo(() => T("cms").getMassActions(o, l), [o, l]), h = xt(
3732
3732
  T("cms"),
3733
- `model${k.studly(s.getSchemaName())}Columns`,
3733
+ `model${k.studly(o.getSchemaName())}Columns`,
3734
3734
  d
3735
3735
  ), S = (c ? h.length : 1) + (u.length > 0 ? 2 : 1), b = {
3736
3736
  columns: h,
@@ -3738,35 +3738,35 @@ const Ha = G(Ae)(({ theme: e }) => ({
3738
3738
  massActions: u,
3739
3739
  items: e,
3740
3740
  loading: t,
3741
- selected: o,
3741
+ selected: s,
3742
3742
  error: r,
3743
- Model: s
3743
+ Model: o
3744
3744
  };
3745
- return /* @__PURE__ */ i(Ht.Provider, { value: b, children: n });
3745
+ return /* @__PURE__ */ i(zt.Provider, { value: b, children: n });
3746
3746
  }, Ya = ({
3747
3747
  items: e,
3748
3748
  loading: t,
3749
3749
  error: n,
3750
3750
  children: r,
3751
- ...s
3751
+ ...o
3752
3752
  }) => /* @__PURE__ */ i(
3753
3753
  Ka,
3754
3754
  {
3755
3755
  items: e,
3756
3756
  loading: t,
3757
3757
  error: n,
3758
- children: /* @__PURE__ */ i(Wr, { component: Tt, children: /* @__PURE__ */ i(Vr, { ...s, children: r }) })
3758
+ children: /* @__PURE__ */ i(Wr, { component: Dt, children: /* @__PURE__ */ i(Vr, { ...o, children: r }) })
3759
3759
  }
3760
3760
  ), Ja = ({ children: e, ...t }) => {
3761
3761
  const {
3762
3762
  massActions: n,
3763
3763
  columns: r,
3764
- items: s
3765
- } = ae(), o = v(), [a, l] = K(), {
3764
+ items: o
3765
+ } = ae(), s = v(), [a, l] = K(), {
3766
3766
  indeterminate: d,
3767
3767
  allSelected: c,
3768
3768
  handleSelectToggleAll: u
3769
- } = zt(), {
3769
+ } = Wt(), {
3770
3770
  ["ModelIndex.Table.ShrinkedCell"]: h
3771
3771
  } = T("cms").getComponents(), y = a.get("order_by") || "", [S, b] = y.split(":"), m = (g) => () => {
3772
3772
  l(S === g ? (x) => {
@@ -3779,14 +3779,14 @@ const Ha = G(Ae)(({ theme: e }) => ({
3779
3779
  };
3780
3780
  return /* @__PURE__ */ w($r, { ...t, children: [
3781
3781
  e,
3782
- o && /* @__PURE__ */ w(fe, { children: [
3782
+ s && /* @__PURE__ */ w(fe, { children: [
3783
3783
  n.length > 0 && /* @__PURE__ */ i(h, { children: /* @__PURE__ */ i(
3784
- Ot,
3784
+ Rt,
3785
3785
  {
3786
3786
  indeterminate: d,
3787
3787
  checked: c,
3788
3788
  onChange: u,
3789
- disabled: s && s.count() === 0
3789
+ disabled: o && o.count() === 0
3790
3790
  }
3791
3791
  ) }),
3792
3792
  r.map(({ key: g, label: x, sortable: A = !0, ...E }) => /* @__PURE__ */ i(
@@ -3818,18 +3818,18 @@ const Ha = G(Ae)(({ theme: e }) => ({
3818
3818
  columns: t
3819
3819
  } = ae(), n = v(), {
3820
3820
  ["ModelIndex.Table.ShrinkedCell"]: r
3821
- } = T("cms").getComponents(), [s] = K(), o = parseInt(s.get("per_page") || "15");
3822
- return /* @__PURE__ */ i(B, { children: Array.from({ length: o }).map((a, l) => /* @__PURE__ */ w(fe, { children: [
3823
- e.length > 0 && /* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(Ot, {}) }),
3821
+ } = T("cms").getComponents(), [o] = K(), s = parseInt(o.get("per_page") || "15");
3822
+ return /* @__PURE__ */ i(B, { children: Array.from({ length: s }).map((a, l) => /* @__PURE__ */ w(fe, { children: [
3823
+ e.length > 0 && /* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(Rt, {}) }),
3824
3824
  n && t.map(({ key: d, label: c, sortable: u, ...h }, y) => /* @__PURE__ */ i(Q, { ...h, children: /* @__PURE__ */ i(
3825
- $t,
3825
+ Kt,
3826
3826
  {
3827
3827
  variant: "text",
3828
3828
  height: 24
3829
3829
  }
3830
3830
  ) }, y)),
3831
3831
  !n && /* @__PURE__ */ i(Q, { sx: { px: 0 }, children: Array.from({ length: t.length }).map((d, c) => /* @__PURE__ */ i(
3832
- $t,
3832
+ Kt,
3833
3833
  {
3834
3834
  variant: "text",
3835
3835
  width: "100%",
@@ -3837,20 +3837,20 @@ const Ha = G(Ae)(({ theme: e }) => ({
3837
3837
  },
3838
3838
  c
3839
3839
  )) }),
3840
- /* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(q, { children: /* @__PURE__ */ i(Rt, {}) }) })
3840
+ /* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(q, { children: /* @__PURE__ */ i(Pt, {}) }) })
3841
3841
  ] }, l)) });
3842
3842
  }, Za = ({ children: e, ...t }) => {
3843
3843
  const n = te(), { t: r } = L(), {
3844
- items: s,
3845
- loading: o,
3844
+ items: o,
3845
+ loading: s,
3846
3846
  columnCount: a
3847
3847
  } = ae(), {
3848
3848
  ["ModelIndex.StaticActions"]: l
3849
- } = T("cms").getComponents(), d = p.isValidElement(e) ? e : (s || W([])).map(e);
3849
+ } = T("cms").getComponents(), d = p.isValidElement(e) ? e : (o || W([])).map(e);
3850
3850
  return /* @__PURE__ */ w(Yr, { ...t, children: [
3851
- o && /* @__PURE__ */ i(Ga, {}),
3851
+ s && /* @__PURE__ */ i(Ga, {}),
3852
3852
  d,
3853
- s && !s.count() && /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ w(Q, { colSpan: a, sx: { textAlign: "center", py: 10 }, children: [
3853
+ o && !o.count() && /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ w(Q, { colSpan: a, sx: { textAlign: "center", py: 10 }, children: [
3854
3854
  /* @__PURE__ */ i($, { children: r("No :model found", {
3855
3855
  model: n.plural().toLocaleLowerCase()
3856
3856
  }) }),
@@ -3864,14 +3864,14 @@ class Xa {
3864
3864
  return "cms";
3865
3865
  }
3866
3866
  }
3867
- const I = vt(Xa, wt), de = G($)(() => ({
3867
+ const I = Ft(Xa, St), de = G($)(() => ({
3868
3868
  whiteSpace: "nowrap",
3869
3869
  overflow: "hidden",
3870
3870
  textOverflow: "ellipsis",
3871
3871
  "& label": {
3872
3872
  fontWeight: "bold"
3873
3873
  }
3874
- })), Qa = ({ content: e }) => ["string", "number"].includes(typeof e) ? /* @__PURE__ */ i(de, { children: e }) : e instanceof Date ? /* @__PURE__ */ i(de, { children: e.toLocaleString(se("app.locale", "en")) }) : typeof e == "object" && !p.isValidElement(e) ? /* @__PURE__ */ i(de, { children: JSON.stringify(e) }) : /* @__PURE__ */ i(p.Fragment, { children: e }), ei = ({ label: e, content: t }) => ["string", "number"].includes(typeof t) ? /* @__PURE__ */ w(de, { children: [
3874
+ })), Qa = ({ content: e }) => ["string", "number"].includes(typeof e) ? /* @__PURE__ */ i(de, { children: e }) : e instanceof Date ? /* @__PURE__ */ i(de, { children: e.toLocaleString(oe("app.locale", "en")) }) : typeof e == "object" && !p.isValidElement(e) ? /* @__PURE__ */ i(de, { children: JSON.stringify(e) }) : /* @__PURE__ */ i(p.Fragment, { children: e }), ei = ({ label: e, content: t }) => ["string", "number"].includes(typeof t) ? /* @__PURE__ */ w(de, { children: [
3875
3875
  /* @__PURE__ */ w("label", { children: [
3876
3876
  e,
3877
3877
  ":"
@@ -3883,7 +3883,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
3883
3883
  e,
3884
3884
  ":"
3885
3885
  ] }),
3886
- t.toLocaleString(se("app.locale", "en"))
3886
+ t.toLocaleString(oe("app.locale", "en"))
3887
3887
  ] }) : typeof t == "object" && !p.isValidElement(t) ? /* @__PURE__ */ w(de, { children: [
3888
3888
  /* @__PURE__ */ w("label", { children: [
3889
3889
  e,
@@ -3899,7 +3899,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
3899
3899
  " ",
3900
3900
  t
3901
3901
  ] }), ti = ({ item: e, ...t }) => {
3902
- const n = v(), r = St(), s = te(), { massActions: o, columns: a } = ae(), l = p.useMemo(() => a.map((y) => ({
3902
+ const n = v(), r = At(), o = te(), { massActions: s, columns: a } = ae(), l = p.useMemo(() => a.map((y) => ({
3903
3903
  ...y,
3904
3904
  content: I[`model${k.studly(e.getType())}Get${k.studly(y.key)}Content`](e.getAttribute(y.key), e)
3905
3905
  })), [a, e]), {
@@ -3908,7 +3908,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
3908
3908
  } = I.getComponents(), {
3909
3909
  isSelected: u,
3910
3910
  handleSelectToggle: h
3911
- } = zt();
3911
+ } = Wt();
3912
3912
  return /* @__PURE__ */ w(
3913
3913
  fe,
3914
3914
  {
@@ -3917,8 +3917,8 @@ const I = vt(Xa, wt), de = G($)(() => ({
3917
3917
  selected: u(e),
3918
3918
  hover: !e.deletedAt,
3919
3919
  children: [
3920
- o.length > 0 && /* @__PURE__ */ i(d, { children: /* @__PURE__ */ i(
3921
- Ot,
3920
+ s.length > 0 && /* @__PURE__ */ i(d, { children: /* @__PURE__ */ i(
3921
+ Rt,
3922
3922
  {
3923
3923
  checked: u(e),
3924
3924
  onChange: () => h(e)
@@ -3929,7 +3929,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
3929
3929
  {
3930
3930
  ...g,
3931
3931
  onClick: () => {
3932
- e.deletedAt || r(`/${k.kebab(s.plural())}/${e.getKey()}`);
3932
+ e.deletedAt || r(`/${k.kebab(o.plural())}/${e.getKey()}`);
3933
3933
  },
3934
3934
  children: /* @__PURE__ */ i(
3935
3935
  Qa,
@@ -3946,7 +3946,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
3946
3946
  {
3947
3947
  sx: { maxWidth: 0, px: 0 },
3948
3948
  onClick: () => {
3949
- e.deletedAt || r(`/${k.kebab(s.plural())}/${e.getKey()}`);
3949
+ e.deletedAt || r(`/${k.kebab(o.plural())}/${e.getKey()}`);
3950
3950
  },
3951
3951
  children: l.map(({ key: y, ...S }) => /* @__PURE__ */ i(ei, { ...S }, y))
3952
3952
  }
@@ -3958,8 +3958,8 @@ const I = vt(Xa, wt), de = G($)(() => ({
3958
3958
  }, ni = ({ children: e, ...t }) => {
3959
3959
  const {
3960
3960
  columnCount: n
3961
- } = ae(), r = v(), s = H("breakpoint", "md"), {
3962
- ["ModelIndex.Pagination"]: o,
3961
+ } = ae(), r = v(), o = H("breakpoint", "md"), {
3962
+ ["ModelIndex.Pagination"]: s,
3963
3963
  ["ModelIndex.PaginationDetails"]: a,
3964
3964
  ["ModelIndex.PerPageSwitch"]: l
3965
3965
  } = T("cms").getComponents();
@@ -3978,7 +3978,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
3978
3978
  direction: r ? "row" : "column-reverse",
3979
3979
  alignItems: r ? "center" : "flex-start",
3980
3980
  justifyContent: "flex-start",
3981
- width: { xs: "100%", [s]: "auto" },
3981
+ width: { xs: "100%", [o]: "auto" },
3982
3982
  gap: r ? 2 : 0,
3983
3983
  children: [
3984
3984
  /* @__PURE__ */ i(l, {}),
@@ -3987,10 +3987,10 @@ const I = vt(Xa, wt), de = G($)(() => ({
3987
3987
  }
3988
3988
  ),
3989
3989
  /* @__PURE__ */ i(
3990
- o,
3990
+ s,
3991
3991
  {
3992
3992
  variant: r ? "default" : "compact",
3993
- justifyContent: { xs: "center", [s]: "flex-end" }
3993
+ justifyContent: { xs: "center", [o]: "flex-end" }
3994
3994
  }
3995
3995
  )
3996
3996
  ]
@@ -4005,9 +4005,9 @@ const I = vt(Xa, wt), de = G($)(() => ({
4005
4005
  ["ModelIndex.Filter"]: t,
4006
4006
  ["ModelIndex.MassActions"]: n,
4007
4007
  ["ModelIndex.Sort"]: r,
4008
- ["ModelIndex.Pagination"]: s
4008
+ ["ModelIndex.Pagination"]: o
4009
4009
  // ['ModelIndex.PaginationDetails']: PaginationDetails,
4010
- } = T("cms").getComponents(), o = v(), a = H("breakpoint", "md");
4010
+ } = T("cms").getComponents(), s = v(), a = H("breakpoint", "md");
4011
4011
  return /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(Q, { colSpan: e, sx: { p: 1 }, children: /* @__PURE__ */ w(
4012
4012
  N,
4013
4013
  {
@@ -4023,11 +4023,11 @@ const I = vt(Xa, wt), de = G($)(() => ({
4023
4023
  width: { [a]: "100%" },
4024
4024
  children: [
4025
4025
  /* @__PURE__ */ i(t, {}),
4026
- !o && /* @__PURE__ */ i(r, {})
4026
+ !s && /* @__PURE__ */ i(r, {})
4027
4027
  ]
4028
4028
  }
4029
4029
  ),
4030
- o && /* @__PURE__ */ i(
4030
+ s && /* @__PURE__ */ i(
4031
4031
  N,
4032
4032
  {
4033
4033
  direction: "row",
@@ -4035,7 +4035,7 @@ const I = vt(Xa, wt), de = G($)(() => ({
4035
4035
  justifyContent: { xs: "center", [a]: "flex-end" },
4036
4036
  rowGap: 2,
4037
4037
  children: /* @__PURE__ */ i(
4038
- s,
4038
+ o,
4039
4039
  {
4040
4040
  variant: "compact",
4041
4041
  justifyContent: "end"
@@ -4048,13 +4048,13 @@ const I = vt(Xa, wt), de = G($)(() => ({
4048
4048
  }
4049
4049
  ) }) });
4050
4050
  };
4051
- function si() {
4052
- const e = te(), { t } = L(), [n, r] = K(), s = n.get("tab") || "all", o = (d, c) => {
4051
+ function oi() {
4052
+ const e = te(), { t } = L(), [n, r] = K(), o = n.get("tab") || "all", s = (d, c) => {
4053
4053
  r(() => {
4054
4054
  const u = new URLSearchParams();
4055
4055
  return c !== "all" && u.set("tab", c), u;
4056
4056
  });
4057
- }, a = p.useMemo(() => e.getSchema().softDeletes ? [{ label: t("Trashed"), value: "trashed" }] : [], [e, t]), l = At(
4057
+ }, a = p.useMemo(() => e.getSchema().softDeletes ? [{ label: t("Trashed"), value: "trashed" }] : [], [e, t]), l = xt(
4058
4058
  T("cms"),
4059
4059
  `model${k.studly(e.getSchemaName())}Tabs`,
4060
4060
  a
@@ -4062,22 +4062,22 @@ function si() {
4062
4062
  return l.length === 0 ? null : /* @__PURE__ */ i(V, { sx: { maxWidth: { xs: 320, sm: 480 }, bgcolor: "background.paper" }, children: /* @__PURE__ */ w(
4063
4063
  Gr,
4064
4064
  {
4065
- value: s,
4066
- onChange: o,
4065
+ value: o,
4066
+ onChange: s,
4067
4067
  variant: "scrollable",
4068
4068
  scrollButtons: "auto",
4069
4069
  "aria-label": `tabs for ${e.singular()}`,
4070
4070
  allowScrollButtonsMobile: !0,
4071
4071
  children: [
4072
4072
  /* @__PURE__ */ i(
4073
- Kt,
4073
+ Yt,
4074
4074
  {
4075
4075
  label: t("All"),
4076
4076
  value: "all"
4077
4077
  }
4078
4078
  ),
4079
4079
  l.map((d) => /* @__PURE__ */ i(
4080
- Kt,
4080
+ Yt,
4081
4081
  {
4082
4082
  label: d.label,
4083
4083
  value: d.value
@@ -4088,7 +4088,7 @@ function si() {
4088
4088
  }
4089
4089
  ) });
4090
4090
  }
4091
- function oi(e) {
4091
+ function si(e) {
4092
4092
  const {
4093
4093
  parts: t,
4094
4094
  ...n
@@ -4100,32 +4100,32 @@ function oi(e) {
4100
4100
  ...n,
4101
4101
  children: [
4102
4102
  /* @__PURE__ */ i(
4103
- it,
4103
+ lt,
4104
4104
  {
4105
4105
  underline: "hover",
4106
4106
  color: "inherit",
4107
4107
  to: "/",
4108
4108
  component: Re,
4109
- children: se("app.name", "Laravel")
4109
+ children: oe("app.name", "Laravel")
4110
4110
  }
4111
4111
  ),
4112
- t == null ? void 0 : t.map(({ name: r, href: s }, o) => s ? /* @__PURE__ */ i(
4113
- it,
4112
+ t == null ? void 0 : t.map(({ name: r, href: o }, s) => o ? /* @__PURE__ */ i(
4113
+ lt,
4114
4114
  {
4115
4115
  underline: "hover",
4116
4116
  color: "inherit",
4117
- to: s,
4117
+ to: o,
4118
4118
  component: Re,
4119
4119
  children: r
4120
4120
  },
4121
- o
4121
+ s
4122
4122
  ) : /* @__PURE__ */ i(
4123
4123
  $,
4124
4124
  {
4125
4125
  color: "text.primary",
4126
4126
  children: r
4127
4127
  },
4128
- o
4128
+ s
4129
4129
  ))
4130
4130
  ]
4131
4131
  }
@@ -4137,7 +4137,7 @@ const fr = ({
4137
4137
  onClick: n,
4138
4138
  ...r
4139
4139
  }) => {
4140
- const [s, o] = p.useState(null), [a, l] = p.useState(null), [d, c] = p.useState({}), u = H("drawer.width", 280), h = T("cms").getComponent("RecursiveMenu");
4140
+ const [o, s] = p.useState(null), [a, l] = p.useState(null), [d, c] = p.useState({}), u = H("drawer.width", 280), h = T("cms").getComponent("RecursiveMenu");
4141
4141
  return /* @__PURE__ */ w(Xr, { ...r, children: [
4142
4142
  t.map((y) => {
4143
4143
  const {
@@ -4156,7 +4156,7 @@ const fr = ({
4156
4156
  sx: { display: "block" },
4157
4157
  children: [
4158
4158
  /* @__PURE__ */ w(
4159
- es,
4159
+ eo,
4160
4160
  {
4161
4161
  sx: {
4162
4162
  minHeight: 48,
@@ -4166,7 +4166,7 @@ const fr = ({
4166
4166
  onClick: (P) => {
4167
4167
  if (E && E(P), x) {
4168
4168
  if (e) {
4169
- l(() => (o(P.currentTarget), x));
4169
+ l(() => (s(P.currentTarget), x));
4170
4170
  return;
4171
4171
  }
4172
4172
  c({
@@ -4177,7 +4177,7 @@ const fr = ({
4177
4177
  }
4178
4178
  n && n(P);
4179
4179
  },
4180
- ...A ? { to: A, component: We } : {},
4180
+ ...A ? { to: A, component: Ve } : {},
4181
4181
  children: [
4182
4182
  /* @__PURE__ */ w(
4183
4183
  wn,
@@ -4237,12 +4237,12 @@ const fr = ({
4237
4237
  onClick: n,
4238
4238
  collapsed: !1,
4239
4239
  sx: { pl: e ? 0 : 2, pb: 0 },
4240
- anchorEl: s,
4240
+ anchorEl: o,
4241
4241
  anchorOrigin: { vertical: "top", horizontal: "right" },
4242
4242
  onClose: () => {
4243
- o(null), l(null);
4243
+ s(null), l(null);
4244
4244
  },
4245
- open: !!s,
4245
+ open: !!o,
4246
4246
  slotProps: { paper: { sx: { minWidth: u } } }
4247
4247
  }
4248
4248
  )
@@ -4253,7 +4253,7 @@ const fr = ({
4253
4253
  onClick: n,
4254
4254
  ...r
4255
4255
  }) => {
4256
- const [s, o] = p.useState({}), a = H("drawer.width", 280);
4256
+ const [o, s] = p.useState({}), a = H("drawer.width", 280);
4257
4257
  return /* @__PURE__ */ w(B, { children: [
4258
4258
  /* @__PURE__ */ i(An, { ...r, children: t.map((l) => {
4259
4259
  const {
@@ -4266,20 +4266,20 @@ const fr = ({
4266
4266
  to: b
4267
4267
  } = l;
4268
4268
  return u || /* @__PURE__ */ w(
4269
- oe,
4269
+ se,
4270
4270
  {
4271
4271
  onClick: (m) => {
4272
4272
  if (S && S(m), y) {
4273
- o({
4274
- ...s,
4275
- [h]: s[h] ? null : m.currentTarget
4273
+ s({
4274
+ ...o,
4275
+ [h]: o[h] ? null : m.currentTarget
4276
4276
  });
4277
4277
  return;
4278
4278
  }
4279
4279
  n && n(m);
4280
4280
  },
4281
4281
  ...b ? {
4282
- component: We,
4282
+ component: Ve,
4283
4283
  to: b
4284
4284
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4285
4285
  } : {},
@@ -4297,7 +4297,7 @@ const fr = ({
4297
4297
  }
4298
4298
  ),
4299
4299
  /* @__PURE__ */ i(Sn, { sx: { opacity: e ? 0 : 1 }, children: d }),
4300
- !e && y && /* @__PURE__ */ i(je, {})
4300
+ !e && y && /* @__PURE__ */ i(Ue, {})
4301
4301
  ]
4302
4302
  },
4303
4303
  h
@@ -4312,124 +4312,124 @@ const fr = ({
4312
4312
  onClick: n,
4313
4313
  collapsed: e,
4314
4314
  sx: { pl: e ? 0 : 2, pb: 0 },
4315
- open: !!s[d],
4316
- anchorEl: s[d],
4315
+ open: !!o[d],
4316
+ anchorEl: o[d],
4317
4317
  anchorOrigin: { vertical: "top", horizontal: "right" },
4318
- onClose: () => o({ ...s, [d]: null }),
4318
+ onClose: () => s({ ...o, [d]: null }),
4319
4319
  slotProps: { paper: { sx: { minWidth: a } } }
4320
4320
  },
4321
4321
  d
4322
4322
  ) : null;
4323
4323
  })
4324
4324
  ] });
4325
- }, rt = {
4326
- delete: (e) => async ({ selected: t, notify: n, dialog: r, refresh: s, t: o }) => {
4325
+ }, ot = {
4326
+ delete: (e) => async ({ selected: t, notify: n, dialog: r, refresh: o, t: s }) => {
4327
4327
  const a = e.getSchema().softDeletes ? "send to trash" : "delete permanently", l = e.getSchema().softDeletes ? "sent to trash" : "deleted";
4328
4328
  if (await r({
4329
- title: e.getSchema().softDeletes ? o("Confirm send to trash") : o("Confirm delete permanently"),
4330
- message: o(`Are you sure you want to ${a} :count :model?`, {
4329
+ title: e.getSchema().softDeletes ? s("Confirm send to trash") : s("Confirm delete permanently"),
4330
+ message: s(`Are you sure you want to ${a} :count :model?`, {
4331
4331
  count: t.count(),
4332
4332
  model: k.lcfirst(t.count() === 1 ? e.singular() : e.plural())
4333
4333
  }),
4334
4334
  type: "confirm"
4335
4335
  }))
4336
4336
  try {
4337
- await e.delete(t.pluck(e.getSchema().primaryKey).all()), n(o(`Successfully ${l} :count :model`, {
4337
+ await e.delete(t.pluck(e.getSchema().primaryKey).all()), n(s(`Successfully ${l} :count :model`, {
4338
4338
  count: t.count(),
4339
4339
  model: k.lcfirst(t.count() === 1 ? e.singular() : e.plural())
4340
- })), s();
4340
+ })), o();
4341
4341
  } catch (c) {
4342
4342
  ce(n)(c);
4343
4343
  }
4344
4344
  },
4345
- restore: (e) => async ({ selected: t, notify: n, dialog: r, refresh: s, t: o }) => {
4345
+ restore: (e) => async ({ selected: t, notify: n, dialog: r, refresh: o, t: s }) => {
4346
4346
  if (await r({
4347
- title: o("Confirm restore"),
4348
- message: o("Are you sure you want to restore :count :model?", {
4347
+ title: s("Confirm restore"),
4348
+ message: s("Are you sure you want to restore :count :model?", {
4349
4349
  count: t.count(),
4350
4350
  model: k.lcfirst(t.count() === 1 ? e.singular() : e.plural())
4351
4351
  }),
4352
4352
  type: "confirm"
4353
4353
  }))
4354
4354
  try {
4355
- await e.restore(t.pluck(e.getSchema().primaryKey).all()), n(o("Successfully restored :count :model", {
4355
+ await e.restore(t.pluck(e.getSchema().primaryKey).all()), n(s("Successfully restored :count :model", {
4356
4356
  count: t.count(),
4357
4357
  model: k.lcfirst(t.count() === 1 ? e.singular() : e.plural())
4358
- })), s();
4358
+ })), o();
4359
4359
  } catch (l) {
4360
4360
  ce(n)(l);
4361
4361
  }
4362
4362
  },
4363
- forceDelete: (e) => async ({ selected: t, notify: n, dialog: r, refresh: s, t: o }) => {
4363
+ forceDelete: (e) => async ({ selected: t, notify: n, dialog: r, refresh: o, t: s }) => {
4364
4364
  if (await r({
4365
- title: o("Confirm permanent deletion"),
4366
- message: o("Are you sure you want to delete permanently :count :model?", {
4365
+ title: s("Confirm permanent deletion"),
4366
+ message: s("Are you sure you want to delete permanently :count :model?", {
4367
4367
  count: t.count(),
4368
4368
  model: k.lcfirst(t.count() === 1 ? e.singular() : e.plural())
4369
4369
  }),
4370
4370
  type: "confirm"
4371
4371
  }))
4372
4372
  try {
4373
- await e.forceDelete(t.pluck(e.getSchema().primaryKey).all()), n(o("Successfully deleted :count :model", {
4373
+ await e.forceDelete(t.pluck(e.getSchema().primaryKey).all()), n(s("Successfully deleted :count :model", {
4374
4374
  count: t.count(),
4375
4375
  model: k.lcfirst(t.count() === 1 ? e.singular() : e.plural())
4376
- })), s();
4376
+ })), o();
4377
4377
  } catch (l) {
4378
4378
  ce(n)(l);
4379
4379
  }
4380
4380
  }
4381
4381
  }, st = {
4382
- delete: (e) => async ({ item: t, notify: n, dialog: r, refresh: s, t: o }) => {
4382
+ delete: (e) => async ({ item: t, notify: n, dialog: r, refresh: o, t: s }) => {
4383
4383
  const a = e.getSchema().softDeletes ? "send :model “:label” to trash" : "delete :model “:label” permanently", l = e.getSchema().softDeletes ? "sent :model “:label” to trash" : "deleted :model “:label”";
4384
4384
  if (await r({
4385
- title: e.getSchema().softDeletes ? o("Confirm send to trash") : o("Confirm permanent deletion"),
4386
- message: o(`Are you sure you want to ${a}?`, {
4385
+ title: e.getSchema().softDeletes ? s("Confirm send to trash") : s("Confirm permanent deletion"),
4386
+ message: s(`Are you sure you want to ${a}?`, {
4387
4387
  model: k.lcfirst(e.singular()),
4388
4388
  label: t.getLabel()
4389
4389
  }),
4390
4390
  type: "confirm"
4391
4391
  }))
4392
4392
  try {
4393
- await t.delete(), n(o(`Successfully ${l}`, {
4393
+ await t.delete(), n(s(`Successfully ${l}`, {
4394
4394
  model: e.singular(),
4395
4395
  label: t.getLabel()
4396
- })), s();
4396
+ })), o();
4397
4397
  } catch (c) {
4398
4398
  ce(n)(c);
4399
4399
  }
4400
4400
  },
4401
- restore: (e) => async ({ item: t, notify: n, dialog: r, refresh: s, t: o }) => {
4401
+ restore: (e) => async ({ item: t, notify: n, dialog: r, refresh: o, t: s }) => {
4402
4402
  if (await r({
4403
- title: o("Confirm restore"),
4404
- message: o("Are you sure you want to restore :model “:label”?", {
4403
+ title: s("Confirm restore"),
4404
+ message: s("Are you sure you want to restore :model “:label”?", {
4405
4405
  model: k.lcfirst(e.singular()),
4406
4406
  label: t.getLabel()
4407
4407
  }),
4408
4408
  type: "confirm"
4409
4409
  }))
4410
4410
  try {
4411
- await t.restore(), n(o("Successfully restored :model “:label”", {
4411
+ await t.restore(), n(s("Successfully restored :model “:label”", {
4412
4412
  model: e.singular(),
4413
4413
  label: t.getLabel()
4414
- })), s();
4414
+ })), o();
4415
4415
  } catch (l) {
4416
4416
  ce(n)(l);
4417
4417
  }
4418
4418
  },
4419
- forceDelete: (e) => async ({ item: t, notify: n, dialog: r, refresh: s, t: o }) => {
4419
+ forceDelete: (e) => async ({ item: t, notify: n, dialog: r, refresh: o, t: s }) => {
4420
4420
  if (await r({
4421
- title: o("Confirm permanent deletion"),
4422
- message: o("Are you sure you want to delete :model “:label” permanently?", {
4421
+ title: s("Confirm permanent deletion"),
4422
+ message: s("Are you sure you want to delete :model “:label” permanently?", {
4423
4423
  model: k.lcfirst(e.singular()),
4424
4424
  label: t.getLabel()
4425
4425
  }),
4426
4426
  type: "confirm"
4427
4427
  }))
4428
4428
  try {
4429
- await t.forceDelete(), n(o("Successfully deleted :model “:label”", {
4429
+ await t.forceDelete(), n(s("Successfully deleted :model “:label”", {
4430
4430
  model: e.singular(),
4431
4431
  label: t.getLabel()
4432
- })), s();
4432
+ })), o();
4433
4433
  } catch (l) {
4434
4434
  ce(n)(l);
4435
4435
  }
@@ -4439,7 +4439,7 @@ const fr = ({
4439
4439
  t(`/${k.kebab(e.plural())}/create`);
4440
4440
  }
4441
4441
  }, ii = ({ item: e }) => {
4442
- const t = Ut(), [n] = K(), r = n.get("tab") ?? "all", s = p.useMemo(() => T("cms").getInstanceActions(e.constructor, r), [e, r]), [o, a] = p.useState(null), l = !!o, d = (u) => {
4442
+ const t = qt(), [n] = K(), r = n.get("tab") ?? "all", o = p.useMemo(() => T("cms").getInstanceActions(e.constructor, r), [e, r]), [s, a] = p.useState(null), l = !!s, d = (u) => {
4443
4443
  a(u.currentTarget);
4444
4444
  }, c = () => {
4445
4445
  a(null);
@@ -4451,21 +4451,21 @@ const fr = ({
4451
4451
  "aria-describedby": "model-item-actions",
4452
4452
  "aria-label": "filter",
4453
4453
  onClick: d,
4454
- children: /* @__PURE__ */ i(Rt, {})
4454
+ children: /* @__PURE__ */ i(Pt, {})
4455
4455
  }
4456
4456
  ),
4457
4457
  /* @__PURE__ */ i(
4458
4458
  An,
4459
4459
  {
4460
4460
  id: "model-item-actions",
4461
- anchorEl: o,
4461
+ anchorEl: s,
4462
4462
  open: l,
4463
4463
  onClose: c,
4464
4464
  MenuListProps: {
4465
4465
  "aria-labelledby": "model-item-action"
4466
4466
  },
4467
- children: s.map((u) => /* @__PURE__ */ w(
4468
- oe,
4467
+ children: o.map((u) => /* @__PURE__ */ w(
4468
+ se,
4469
4469
  {
4470
4470
  onClick: () => {
4471
4471
  u.callback({
@@ -4548,7 +4548,7 @@ class ui {
4548
4548
  }
4549
4549
  }
4550
4550
  getOperators() {
4551
- return se("luminix.admin.filter.operators");
4551
+ return oe("luminix.admin.filter.operators");
4552
4552
  }
4553
4553
  getMatchingOperators(t) {
4554
4554
  return this.getOperators().filter((n) => ["like"].includes(n) || !t.is_relation && ["relation"].includes(n) || ["text"].includes(this.getInputType(t.type)) && [
@@ -4592,22 +4592,22 @@ class ui {
4592
4592
  getFilterableColumns(t) {
4593
4593
  const { attributes: n = [], relations: r = {} } = t.getSchema();
4594
4594
  return [
4595
- ...n.filter((s) => !s.hidden && !s.appended).map((s) => {
4596
- let o = s.phpType ?? "string";
4597
- return s.cast !== null && !ee.isEmpty(s.cast) && (o = s.cast), {
4598
- key: s.name,
4599
- label: k.human(s.name),
4600
- type: o,
4601
- nullable: s.nullable,
4595
+ ...n.filter((o) => !o.hidden && !o.appended).map((o) => {
4596
+ let s = o.phpType ?? "string";
4597
+ return o.cast !== null && !ee.isEmpty(o.cast) && (s = o.cast), {
4598
+ key: o.name,
4599
+ label: k.human(o.name),
4600
+ type: s,
4601
+ nullable: o.nullable,
4602
4602
  is_relation: !1
4603
4603
  };
4604
4604
  }),
4605
4605
  // TODO: review typing of 'acc'
4606
- ...Object.entries(r ?? {}).reduce((s, [o]) => [
4607
- ...s,
4606
+ ...Object.entries(r ?? {}).reduce((o, [s]) => [
4607
+ ...o,
4608
4608
  {
4609
- key: o,
4610
- label: k.human(o),
4609
+ key: s,
4610
+ label: k.human(s),
4611
4611
  type: "autocomplete",
4612
4612
  nullable: !1,
4613
4613
  is_relation: !0
@@ -4631,7 +4631,7 @@ class ui {
4631
4631
  const di = In(ui);
4632
4632
  class fi {
4633
4633
  constructor() {
4634
- Ve(this, "icons", []);
4634
+ $e(this, "icons", []);
4635
4635
  Oe.reducer(
4636
4636
  "model",
4637
4637
  (t) => {
@@ -4647,17 +4647,17 @@ class fi {
4647
4647
  }
4648
4648
  forModel(t, n) {
4649
4649
  Oe.reducer(`model${k.studly(t)}`, (r) => {
4650
- const s = this;
4650
+ const o = this;
4651
4651
  return class extends r {
4652
4652
  static icon() {
4653
- return s.render(n);
4653
+ return o.render(n);
4654
4654
  }
4655
4655
  };
4656
4656
  });
4657
4657
  }
4658
4658
  registerIcon(t, n) {
4659
- typeof t == "string" && n ? this.icons.push({ name: t, component: n }) : Object.entries(t).forEach(([r, s]) => {
4660
- this.icons.push({ name: r, component: s });
4659
+ typeof t == "string" && n ? this.icons.push({ name: t, component: n }) : Object.entries(t).forEach(([r, o]) => {
4660
+ this.icons.push({ name: r, component: o });
4661
4661
  });
4662
4662
  }
4663
4663
  make(t) {
@@ -4676,12 +4676,12 @@ class hi {
4676
4676
  return "icon";
4677
4677
  }
4678
4678
  }
4679
- const ke = vt(hi, wt), Le = class Le extends Mn {
4679
+ const ke = Ft(hi, St), Ie = class Ie extends Mn {
4680
4680
  register() {
4681
4681
  this.app.singleton("cms", () => new ci()), this.app.singleton("filter", () => new di()), this.app.singleton("icon", () => new fi()), this.registerIcons();
4682
4682
  }
4683
4683
  boot() {
4684
- this.bootComponents(), this.bootRoutes(), this.bootMenu(), this.bootMassActions(), this.bootInstanceActions(), this.bootStaticActions(), Le.applyUserDefaults && this.bootDefaultUserModifiers();
4684
+ this.bootComponents(), this.bootRoutes(), this.bootMenu(), this.bootMassActions(), this.bootInstanceActions(), this.bootStaticActions(), Ie.applyUserDefaults && this.bootDefaultUserModifiers();
4685
4685
  }
4686
4686
  // private addIconsToModels() {
4687
4687
  // Model.reducer(
@@ -4701,46 +4701,46 @@ const ke = vt(hi, wt), Le = class Le extends Mn {
4701
4701
  // }
4702
4702
  registerIcons() {
4703
4703
  ke.registerIcon({
4704
- Add: ss,
4704
+ Add: oo,
4705
4705
  AddCircleOutline: En,
4706
4706
  ArrowDownward: vn,
4707
4707
  ArrowDropDown: Cn,
4708
4708
  ArrowUpward: Pn,
4709
- CategoryOutlined: os,
4710
- ChevronLeft: Ne,
4711
- ChevronRight: je,
4712
- Close: Me,
4713
- DashboardOutlined: as,
4709
+ CategoryOutlined: so,
4710
+ ChevronLeft: je,
4711
+ ChevronRight: Ue,
4712
+ Close: Ne,
4713
+ DashboardOutlined: ao,
4714
4714
  ExpandLess: Fn,
4715
4715
  ExpandMore: Bn,
4716
4716
  FilterList: kn,
4717
4717
  FirstPage: On,
4718
- HighlightOffOutlined: lt,
4718
+ HighlightOffOutlined: ct,
4719
4719
  LastPage: Dn,
4720
4720
  Menu: Tn,
4721
- MoreVert: Rt,
4722
- PeopleOutlined: is,
4723
- Search: ct,
4721
+ MoreVert: Pt,
4722
+ PeopleOutlined: io,
4723
+ Search: ut,
4724
4724
  SwapVert: Rn
4725
4725
  }), ke.forModel("user", "PeopleOutlined");
4726
4726
  }
4727
4727
  bootRoutes() {
4728
- I.reducer("cmsRoutes", ys, 0), br.reducer("domRouterOptions", (t) => ({
4728
+ I.reducer("cmsRoutes", wo, 0), br.reducer("domRouterOptions", (t) => ({
4729
4729
  ...t,
4730
4730
  basename: re.get("luminix.admin.url", "/admin")
4731
4731
  }));
4732
4732
  }
4733
4733
  bootComponents() {
4734
4734
  I.reducer("componentMap", () => ({
4735
- Layout: xs,
4736
- Dashboard: ws,
4737
- ModelIndex: Es,
4738
- ModelItem: oa,
4739
- Error: Ss,
4735
+ Layout: Co,
4736
+ Dashboard: So,
4737
+ ModelIndex: ko,
4738
+ ModelItem: sa,
4739
+ Error: Ao,
4740
4740
  DesktopPageTitle: xa,
4741
4741
  RecursiveList: fr,
4742
4742
  RecursiveMenu: hr,
4743
- Breadcrumbs: oi,
4743
+ Breadcrumbs: si,
4744
4744
  "Layout.AppBar": ga,
4745
4745
  "Layout.Drawer": Aa,
4746
4746
  "Layout.AppBar.MenuButton": Ma,
@@ -4761,7 +4761,7 @@ const ke = vt(hi, wt), Le = class Le extends Mn {
4761
4761
  "ModelIndex.Table.TableToolbar": ri,
4762
4762
  "ModelIndex.Table.TableBody.TableRow": ti,
4763
4763
  "ModelIndex.Table.ShrinkedCell": Va,
4764
- "ModelIndex.Tabs": si
4764
+ "ModelIndex.Tabs": oi
4765
4765
  }), 0);
4766
4766
  }
4767
4767
  bootMenu() {
@@ -4773,12 +4773,12 @@ const ke = vt(hi, wt), Le = class Le extends Mn {
4773
4773
  to: "/",
4774
4774
  icon: ke.render("DashboardOutlined")
4775
4775
  },
4776
- ...Object.entries(n).sort(([r], [s]) => r.localeCompare(s)).map(([r, s]) => ({
4776
+ ...Object.entries(n).sort(([r], [o]) => r.localeCompare(o)).map(([r, o]) => ({
4777
4777
  key: r,
4778
- text: s.plural(),
4779
- to: "/" + k.kebab(s.plural()),
4778
+ text: o.plural(),
4779
+ to: "/" + k.kebab(o.plural()),
4780
4780
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4781
- icon: s.icon()
4781
+ icon: o.icon()
4782
4782
  }))
4783
4783
  ], 0);
4784
4784
  }
@@ -4809,40 +4809,40 @@ const ke = vt(hi, wt), Le = class Le extends Mn {
4809
4809
  }
4810
4810
  bootMassActions() {
4811
4811
  I.reducer("massActions", (t, n, r) => {
4812
- const s = [], { softDeletes: o } = n.getSchema();
4813
- return r !== "trashed" ? s.push({
4812
+ const o = [], { softDeletes: s } = n.getSchema();
4813
+ return r !== "trashed" ? o.push({
4814
4814
  key: "delete",
4815
- label: o ? "Send to trash" : "Delete permanently",
4816
- callback: rt.delete(n)
4817
- }) : (s.push({
4815
+ label: s ? "Send to trash" : "Delete permanently",
4816
+ callback: ot.delete(n)
4817
+ }) : (o.push({
4818
4818
  key: "restore",
4819
4819
  label: "Restore",
4820
- callback: rt.restore(n)
4821
- }), s.push({
4820
+ callback: ot.restore(n)
4821
+ }), o.push({
4822
4822
  key: "forceDelete",
4823
4823
  label: "Delete permanently",
4824
- callback: rt.forceDelete(n)
4824
+ callback: ot.forceDelete(n)
4825
4825
  })), [
4826
4826
  ...t,
4827
- ...s
4827
+ ...o
4828
4828
  ];
4829
4829
  }, 0);
4830
4830
  }
4831
4831
  bootInstanceActions() {
4832
4832
  I.reducer("instanceActions", (t, n, r) => {
4833
- const s = [], { softDeletes: o } = n.getSchema();
4834
- return r !== "trashed" ? s.push({
4835
- label: o ? "Send to trash" : "Delete permanently",
4833
+ const o = [], { softDeletes: s } = n.getSchema();
4834
+ return r !== "trashed" ? o.push({
4835
+ label: s ? "Send to trash" : "Delete permanently",
4836
4836
  callback: st.delete(n)
4837
- }) : (s.push({
4837
+ }) : (o.push({
4838
4838
  label: "Restore",
4839
4839
  callback: st.restore(n)
4840
- }), s.push({
4840
+ }), o.push({
4841
4841
  label: "Delete permanently",
4842
4842
  callback: st.forceDelete(n)
4843
4843
  })), [
4844
4844
  ...t,
4845
- ...s
4845
+ ...o
4846
4846
  ];
4847
4847
  }, 0);
4848
4848
  }
@@ -4858,8 +4858,8 @@ const ke = vt(hi, wt), Le = class Le extends Mn {
4858
4858
  ], 0);
4859
4859
  }
4860
4860
  };
4861
- Ve(Le, "applyUserDefaults", !0);
4862
- let yt = Le;
4861
+ $e(Ie, "applyUserDefaults", !0);
4862
+ let wt = Ie;
4863
4863
  class pi extends Mn {
4864
4864
  register() {
4865
4865
  this.app.once("booting", () => {
@@ -4870,7 +4870,7 @@ class pi extends Mn {
4870
4870
  this.translateModelColumns(), this.translateMenuEntries(), this.translateInstanceActions(), this.translateMassActions(), this.translateFormLabels(), this.translateStaticActions();
4871
4871
  }
4872
4872
  initI18Next() {
4873
- J.use(rs).init({
4873
+ J.use(ro).init({
4874
4874
  lng: re.get("app.locale", "en"),
4875
4875
  fallbackLng: re.get("app.fallback_locale", "en"),
4876
4876
  resources: {
@@ -4950,7 +4950,7 @@ class pi extends Mn {
4950
4950
  I.reducer(
4951
4951
  "staticActions",
4952
4952
  (t, n) => {
4953
- const r = t.find(({ key: s }) => s === "create");
4953
+ const r = t.find(({ key: o }) => o === "create");
4954
4954
  return r && (r.label = J.t("Create :model", {
4955
4955
  model: n.singular()
4956
4956
  })), t;
@@ -4982,19 +4982,19 @@ const mi = {
4982
4982
  providers: n,
4983
4983
  ...r
4984
4984
  }) => {
4985
- const s = Ie("(prefers-color-scheme: dark)"), o = p.useMemo(() => ls({
4985
+ const o = Me("(prefers-color-scheme: dark)"), s = p.useMemo(() => lo({
4986
4986
  ...e,
4987
4987
  palette: {
4988
4988
  ...e.palette,
4989
- mode: s ? "dark" : "light"
4989
+ mode: o ? "dark" : "light"
4990
4990
  }
4991
- }, ...t ?? []), [e, s, t]), a = p.useMemo(() => [
4992
- yt,
4991
+ }, ...t ?? []), [e, o, t]), a = p.useMemo(() => [
4992
+ wt,
4993
4993
  pi,
4994
4994
  ...n || []
4995
4995
  ], [n]);
4996
- return /* @__PURE__ */ w(cs, { theme: o, children: [
4997
- /* @__PURE__ */ i(ts, {}),
4996
+ return /* @__PURE__ */ w(co, { theme: s, children: [
4997
+ /* @__PURE__ */ i(to, {}),
4998
4998
  /* @__PURE__ */ i(
4999
4999
  Er,
5000
5000
  {
@@ -5010,33 +5010,33 @@ class bi {
5010
5010
  return "filter";
5011
5011
  }
5012
5012
  }
5013
- const Ji = vt(bi, wt);
5013
+ const Ji = Ft(bi, St);
5014
5014
  export {
5015
5015
  I as Cms,
5016
- yt as CmsServiceProvider,
5017
- ps as DialogProvider,
5016
+ wt as CmsServiceProvider,
5017
+ mo as DialogProvider,
5018
5018
  Ji as Filter,
5019
5019
  ke as Icon,
5020
- fs as LayoutProvider,
5021
- We as Link,
5020
+ ho as LayoutProvider,
5021
+ Ve as Link,
5022
5022
  Yi as LuminixCms,
5023
- Je as ModelProvider,
5024
- gs as NotificationProvider,
5023
+ Ge as ModelProvider,
5024
+ bo as NotificationProvider,
5025
5025
  pi as i18NextServiceProvider,
5026
- Ut as useActionEvent,
5027
- ks as useBackButton,
5026
+ qt as useActionEvent,
5027
+ To as useBackButton,
5028
5028
  te as useCurrentModel,
5029
5029
  ia as useDialog,
5030
5030
  aa as useDisplaceNotifications,
5031
- sa as useHandleError,
5031
+ oa as useHandleError,
5032
5032
  da as useHasSearch,
5033
5033
  v as useIsDesktopMode,
5034
5034
  H as useLayoutConfig,
5035
- qt as useMenu,
5036
- jt as useNotify,
5035
+ _t as useMenu,
5036
+ Ut as useNotify,
5037
5037
  ur as usePageTitle,
5038
- Cs as useSearch,
5039
- zt as useSelection,
5040
- Bt as useSetPageTitle,
5038
+ Eo as useSearch,
5039
+ Wt as useSelection,
5040
+ Lt as useSetPageTitle,
5041
5041
  ae as useTable
5042
5042
  };