adpro-react 0.0.41 → 0.0.43

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.
@@ -1,46 +1,46 @@
1
1
  import { jsx as o, jsxs as _, Fragment as Q } from "react/jsx-runtime";
2
- import Y, { useState as F, useEffect as E, useCallback as G, createElement as te, useMemo as ne, useRef as Qe, PureComponent as Xe, createContext as Je } from "react";
3
- import { ThemeProvider as X, Autocomplete as Fe, TextField as Ue, IconButton as he, CircularProgress as et, Box as $, Tooltip as tt, Typography as W, MenuItem as nt, Checkbox as it, ListItemText as rt, useTheme as We, useMediaQuery as ot, Stack as z, Divider as at, LinearProgress as st, Slide as lt, FormControl as ct, Button as ye, Skeleton as dt, Accordion as ut, AccordionSummary as ht, Chip as ft, AccordionDetails as pt, Alert as mt, SvgIcon as gt, Dialog as xt, DialogTitle as vt, DialogContent as yt } from "@mui/material";
4
- import $e from "axios";
5
- import { ClearRounded as St, SearchOutlined as bt, UnfoldLess as Ct, UnfoldMore as It, FiberManualRecord as wt, ExpandMore as Tt, Close as _t } from "@mui/icons-material";
6
- import Ot from "@mui/icons-material/ArrowDropDown";
7
- import Dt from "@mui/icons-material/ArrowDropUp";
8
- import { grey as Se } from "@mui/material/colors";
2
+ import Y, { useState as F, useEffect as E, useCallback as G, createElement as te, useMemo as ne, useRef as Xe, PureComponent as Je, createContext as et } from "react";
3
+ import { ThemeProvider as X, Autocomplete as Ue, TextField as We, IconButton as pe, CircularProgress as tt, Box as $, Tooltip as nt, Typography as W, MenuItem as it, Checkbox as rt, ListItemText as ot, useTheme as $e, useMediaQuery as st, Stack as z, Divider as at, LinearProgress as lt, Slide as ct, FormControl as dt, Button as Se, Skeleton as ut, Accordion as ht, AccordionSummary as pt, Chip as ft, AccordionDetails as mt, Alert as gt, SvgIcon as xt, Dialog as vt, DialogTitle as yt, DialogContent as St } from "@mui/material";
4
+ import qe from "axios";
5
+ import { ClearRounded as bt, SearchOutlined as Ct, UnfoldLess as It, UnfoldMore as wt, FiberManualRecord as Tt, ExpandMore as _t, Close as Ot } from "@mui/icons-material";
6
+ import Dt from "@mui/icons-material/ArrowDropDown";
7
+ import Mt from "@mui/icons-material/ArrowDropUp";
8
+ import { grey as be } from "@mui/material/colors";
9
9
  import { SincoTheme as O } from "@sinco/react";
10
- import { DateRangePicker as qe, SingleInputDateRangeField as Mt, CalendarIcon as At } from "@mui/x-date-pickers-pro";
10
+ import { DateRangePicker as He, SingleInputDateRangeField as At, CalendarIcon as kt } from "@mui/x-date-pickers-pro";
11
11
  import P from "dayjs";
12
- import kt from "dayjs/plugin/customParseFormat";
13
- import zt from "@mui/icons-material/TodayOutlined";
14
- import Rt from "@mui/icons-material/EventOutlined";
15
- import Et from "@mui/icons-material/CheckCircleRounded";
16
- import be from "@mui/material/Snackbar";
17
- import { create as He } from "zustand";
18
- import Pt from "@mui/icons-material/WarningRounded";
19
- import Lt from "@mui/icons-material/ErrorRounded";
20
- import Nt from "@mui/icons-material/InfoRounded";
21
- import Ce from "@mui/material/IconButton";
22
- import Ie from "@mui/icons-material/Close";
23
- import { devtools as Ft } from "zustand/middleware";
24
- import { DataGridPro as Ut } from "@mui/x-data-grid-pro";
25
- import { esES as Wt } from "@mui/x-data-grid-pro/locales";
12
+ import zt from "dayjs/plugin/customParseFormat";
13
+ import Rt from "@mui/icons-material/TodayOutlined";
14
+ import Et from "@mui/icons-material/EventOutlined";
15
+ import Pt from "@mui/icons-material/CheckCircleRounded";
16
+ import Ce from "@mui/material/Snackbar";
17
+ import { create as Ve } from "zustand";
18
+ import Lt from "@mui/icons-material/WarningRounded";
19
+ import Nt from "@mui/icons-material/ErrorRounded";
20
+ import Ft from "@mui/icons-material/InfoRounded";
21
+ import Ie from "@mui/material/IconButton";
22
+ import we from "@mui/icons-material/Close";
23
+ import { devtools as Ut } from "zustand/middleware";
24
+ import { DataGridPro as Wt } from "@mui/x-data-grid-pro";
25
+ import { esES as $t } from "@mui/x-data-grid-pro/locales";
26
26
  let B = `${window.location.href.split("#")[0].toLowerCase().split("v3")[0]}v3/adpro/api`;
27
- const $t = {
27
+ const qt = {
28
28
  async Send(e) {
29
29
  const {
30
30
  serviceUrl: t,
31
31
  body: n,
32
32
  method: i = "get",
33
- defaultToken: a = !0,
34
- srm: l,
35
- core: s
33
+ defaultToken: s = !0,
34
+ srm: c,
35
+ core: a
36
36
  } = e;
37
- let { headers: c } = e;
38
- window.parent.location.href.includes("localhost") && (s ? B = "http://localhost:3500/core/api" : B = "http://localhost:3500");
39
- const f = $e.create({
40
- baseURL: l ? `${B.toLowerCase().replace("/adpro/", "/srm/")}` : s ? `${B.toLowerCase().replace("/adpro/api", "/adpro/core/api")}` : B
37
+ let { headers: l } = e;
38
+ window.parent.location.href.includes("localhost") && (a ? B = "http://localhost:3500/core/api" : B = "http://localhost:3500");
39
+ const p = qe.create({
40
+ baseURL: c ? `${B.toLowerCase().replace("/adpro/", "/srm/")}` : a ? `${B.toLowerCase().replace("/adpro/api", "/adpro/core/api")}` : B
41
41
  });
42
- return c = c || {}, a && (c.Authorization = await Ve(window)), await f[i](t, qt(n, i, c), {
43
- headers: c,
42
+ return l = l || {}, s && (l.Authorization = await Be(window), l["X-SincoERP-Authorization"] = de(window)), await p[i](t, Ht(n, i, l), {
43
+ headers: l,
44
44
  validateStatus: function(d) {
45
45
  return d < 400;
46
46
  }
@@ -61,32 +61,44 @@ const $t = {
61
61
  };
62
62
  });
63
63
  }
64
- }, qt = (e, t, n) => {
64
+ }, Ht = (e, t, n) => {
65
65
  const i = e;
66
- for (const a in e)
67
- e[a] === "" && (e[a] = null);
66
+ for (const s in e)
67
+ e[s] === "" && (e[s] = null);
68
68
  return t === "get" || t === "delete" ? { params: i, headers: n, data: i } : i;
69
- }, Ve = async (e) => window.parent.location.href.includes("localhost") ? (B = "http://localhost:3500", `Bearer ${(await $e.get(`${B}/token`)).data}`) : typeof e.getToken == "function" ? e.getToken() : e.parent && e.parent !== e ? typeof e.parent.getToken == "function" ? e.parent.getToken() : await Ve(e.parent) : "", Ht = 800, we = 20, Vt = (e, t, n) => e[t] !== "-1" && e[t] !== "0" && e[t] !== -1 ? e : n && (n[t] === "-1" || n[t] === -1) ? n : e;
70
- function Bt(e) {
69
+ }, Be = async (e) => window.parent.location.href.includes("localhost") ? (B = "http://localhost:3500", `Bearer ${(await qe.get(`${B}/token`)).data}`) : typeof e.getToken == "function" ? e.getToken() : e.parent && e.parent !== e ? typeof e.parent.getToken == "function" ? e.parent.getToken() : await Be(e.parent) : "", de = (e) => {
70
+ try {
71
+ if (!e) return "";
72
+ if (typeof e.getTokenAuth == "function")
73
+ return e.getTokenAuth() || "";
74
+ if (e.opener && e.opener.parent && e.opener.parent !== e)
75
+ return de(e.opener.parent);
76
+ if (e.parent && e.parent !== e)
77
+ return de(e.parent);
78
+ } catch {
79
+ }
80
+ return "";
81
+ }, Vt = 800, Te = 20, Bt = (e, t, n) => e[t] !== "-1" && e[t] !== "0" && e[t] !== -1 ? e : n && (n[t] === "-1" || n[t] === -1) ? n : e;
82
+ function jt(e) {
71
83
  const {
72
84
  type: t,
73
85
  action: n = "search",
74
86
  value: i,
75
- inputValue: a,
76
- handleValue: l,
77
- labelKey: s,
78
- labelText: c,
79
- optionAll: f
80
- } = e, m = t === "request" ? e.request : null, d = t === "list" ? e.list : null, [g, x] = F(() => Vt(i, s, f)), [v, u] = F(a || ""), [r, h] = F(d || []), [p, y] = F("input"), [b, I] = F(!1), [S, w] = F(!1);
87
+ inputValue: s,
88
+ handleValue: c,
89
+ labelKey: a,
90
+ labelText: l,
91
+ optionAll: p
92
+ } = e, m = t === "request" ? e.request : null, d = t === "list" ? e.list : null, [g, x] = F(() => Bt(i, a, p)), [v, u] = F(s || ""), [r, h] = F(d || []), [f, y] = F("input"), [b, I] = F(!1), [S, w] = F(!1);
81
93
  E(() => {
82
94
  t === "list" ? T(r) : n === "all" && k((C) => T(C));
83
95
  }, []), E(() => {
84
- t === "list" || n === "all" ? R(r) : f ? v !== "" && (p === "input" || p === "reset" || p === "selectOption") && x(i) : x(i);
96
+ t === "list" || n === "all" ? R(r) : p ? v !== "" && (f === "input" || f === "reset" || f === "selectOption") && x(i) : x(i);
85
97
  }, [i]), E(() => {
86
98
  let C = null;
87
- return t === "request" && n === "search" && v && p === "input" && I(!0), n === "search" && v && p === "input" && (C = setTimeout(() => {
99
+ return t === "request" && n === "search" && v && f === "input" && I(!0), n === "search" && v && f === "input" && (C = setTimeout(() => {
88
100
  k();
89
- }, Ht)), () => {
101
+ }, Vt)), () => {
90
102
  I(!1), C && clearTimeout(C);
91
103
  };
92
104
  }, [v]), E(() => {
@@ -95,35 +107,35 @@ function Bt(e) {
95
107
  const T = G(
96
108
  (C) => {
97
109
  if (i) {
98
- const M = i ? i[s] : "", A = C.find((U) => U[s] == M);
99
- A && (x(A), u(A[c]));
110
+ const M = i ? i[a] : "", A = C.find((U) => U[a] == M);
111
+ A && (x(A), u(A[l]));
100
112
  }
101
113
  },
102
- [i, s, c]
114
+ [i, a, l]
103
115
  ), R = G(
104
116
  (C) => {
105
117
  if (i) {
106
- const M = i[s] || "", A = C.find((U) => U[s] == M);
107
- A && (x(A), u(A[c]));
118
+ const M = i[a] || "", A = C.find((U) => U[a] == M);
119
+ A && (x(A), u(A[l]));
108
120
  } else
109
121
  x(null), u("");
110
122
  },
111
- [i, s, c]
123
+ [i, a, l]
112
124
  ), k = G(
113
125
  (C, M) => {
114
126
  if (m) {
115
127
  if (t === "request" && n === "search" && I(!0), t === "request" && n === "all" && r.length > 0) return;
116
128
  let A = M !== void 0 ? M.trim() : v.trim();
117
- if ((A === "" || A === "-1" || e.value[s] === "-1" || e.value[s] === -1) && (A = "_"), g && g[c] === A && n === "search") {
129
+ if ((A === "" || A === "-1") && (A = "_"), g && g[l] === A && n === "search") {
118
130
  h([g]), I(!1);
119
131
  return;
120
132
  }
121
133
  m.body = {
122
134
  [m.filterName || "filter"]: A
123
- }, $t.Send(m).then((U) => {
135
+ }, qt.Send(m).then((U) => {
124
136
  if (U) {
125
137
  let L = U;
126
- L.length === void 0 ? L = [] : L.length > we && (L = L.slice(0, we)), h(L), C && C(L);
138
+ L.length === void 0 ? L = [] : L.length > Te && (L = L.slice(0, Te)), h(L), C && C(L);
127
139
  }
128
140
  I(!1);
129
141
  });
@@ -131,37 +143,37 @@ function Bt(e) {
131
143
  },
132
144
  [v, r, m, n, t]
133
145
  ), q = (C) => {
134
- C && (x(C), l && l(C));
146
+ C && (x(C), c && c(C));
135
147
  }, V = G((C) => {
136
148
  C ? u(C) : K();
137
149
  }, [n, t]), J = G((C) => {
138
150
  y(C);
139
151
  }, []);
140
152
  E(() => {
141
- if (t === "list" && n === "search" && p === "input" && d)
153
+ if (t === "list" && n === "search" && f === "input" && d)
142
154
  if (v.trim() === "")
143
155
  h(d);
144
156
  else {
145
157
  const C = d.filter(
146
- (M) => String(M[c]).toLowerCase().includes(v.toLowerCase()) || String(M[s]).toLowerCase().includes(v.toLowerCase())
158
+ (M) => String(M[l]).toLowerCase().includes(v.toLowerCase()) || String(M[a]).toLowerCase().includes(v.toLowerCase())
147
159
  );
148
160
  h(C);
149
161
  }
150
162
  }, [v]);
151
163
  const K = () => {
152
164
  if (t === "request")
153
- f ? l && l(f) : (x(null), l && l(null)), u(""), h([]), k(void 0, "");
165
+ p ? c && c(p) : (x(null), c && c(null)), u(""), h([]), k(void 0, "");
154
166
  else if (d)
155
- if (f) {
156
- const C = d.find((M) => M[s] == "-1");
157
- C ? (x(C), u(C[c]), l && l(C)) : (u(""), x(g || i), l && l(g || i));
167
+ if (p) {
168
+ const C = d.find((M) => M[a] == "-1");
169
+ C ? (x(C), u(C[l]), c && c(C)) : (u(""), x(g || i), c && c(g || i));
158
170
  } else {
159
- const C = i ? i[s] : "", M = d.find((A) => A[s] == C);
160
- M ? (x(M), u(M[c]), l && l(M)) : (u(""), x(g), l && l(g));
171
+ const C = i ? i[a] : "", M = d.find((A) => A[a] == C);
172
+ M ? (x(M), u(M[l]), c && c(M)) : (u(""), x(g), c && c(g));
161
173
  }
162
174
  };
163
175
  return E(() => {
164
- S ? t === "request" && k() : (t === "list" && n === "search" && (x(g), u(g ? g[c] : ""), v === "" && h(d || [])), t === "request" && (f ? ((p === "clear" || p === "blur") && (i[s] === "-1" || i[s] === -1) && (x(f), u(f[c]), l && l(f)), p === "input" && v === "" && (i[s] === "-1" || i[s] === -1) && (x(f), u(f[c]), l && l(f))) : (x(g), u(g ? g[c] : ""))));
176
+ S ? t === "request" && k() : (t === "list" && n === "search" && (x(g), u(g ? g[l] : ""), v === "" && h(d || [])), t === "request" && (p ? ((f === "clear" || f === "blur") && (i[a] === "-1" || i[a] === -1) && (x(p), u(p[l]), c && c(p)), f === "input" && v === "" && (i[a] === "-1" || i[a] === -1) && (x(p), u(p[l]), c && c(p))) : (x(g), u(g ? g[l] : ""))));
165
177
  }, [S]), {
166
178
  dataList: r,
167
179
  loading: b,
@@ -186,7 +198,7 @@ const fe = {
186
198
  padding: "0.2rem 0.5rem !important",
187
199
  borderBottom: "1px solid rgba(226, 227, 232, 1) !important",
188
200
  color: "text-primary",
189
- background: Se[50]
201
+ background: be[50]
190
202
  },
191
203
  "th .MuiButtonBase-root": { color: "text-primary", cursor: "pointer" },
192
204
  td: { borderLeft: "none" }
@@ -197,7 +209,7 @@ const fe = {
197
209
  styleOverrides: {
198
210
  root: {
199
211
  ".MuiTableCell-root": { padding: "0.1rem 0.5rem !important" },
200
- ".MuiTableRow-root:hover": { backgroundColor: Se[100] }
212
+ ".MuiTableRow-root:hover": { backgroundColor: be[100] }
201
213
  }
202
214
  }
203
215
  },
@@ -209,16 +221,16 @@ const fe = {
209
221
  }
210
222
  }
211
223
  }
212
- }, jt = (e) => {
224
+ }, Zt = (e) => {
213
225
  const {
214
226
  label: t,
215
227
  helperText: n,
216
228
  inputRef: i,
217
- name: a,
218
- customTheme: l,
219
- required: s,
220
- error: c,
221
- placeholder: f,
229
+ name: s,
230
+ customTheme: c,
231
+ required: a,
232
+ error: l,
233
+ placeholder: p,
222
234
  size: m,
223
235
  type: d,
224
236
  labelText: g,
@@ -228,7 +240,7 @@ const fe = {
228
240
  } = e, {
229
241
  dataList: r,
230
242
  loading: h,
231
- isFocused: p,
243
+ isFocused: f,
232
244
  autocompleteValue: y,
233
245
  textFieldValue: b,
234
246
  handleAutocompleteValue: I,
@@ -236,7 +248,7 @@ const fe = {
236
248
  handleReasonChangeTextField: w,
237
249
  setIsFocused: T,
238
250
  clearValues: R
239
- } = Bt(e), k = l || fe, q = x ? [x, ...r] : r, {
251
+ } = jt(e), k = c || fe, q = x ? [x, ...r] : r, {
240
252
  action: V,
241
253
  type: J,
242
254
  labelText: K,
@@ -245,43 +257,43 @@ const fe = {
245
257
  label: A,
246
258
  value: U,
247
259
  inputValue: L,
248
- required: pe,
260
+ required: me,
249
261
  error: oe,
250
- helperText: me,
251
- inputRef: ge,
252
- name: ae,
262
+ helperText: ge,
263
+ inputRef: xe,
264
+ name: se,
253
265
  placeholder: j,
254
- customTheme: se,
255
- size: kn,
256
- optionAll: zn,
257
- showId: Rn,
258
- ...Ge
259
- } = e, { request: En, list: Pn, ...Ye } = Ge;
266
+ customTheme: ae,
267
+ size: zn,
268
+ optionAll: Rn,
269
+ showId: En,
270
+ ...Ye
271
+ } = e, { request: Pn, list: Ln, ...Ke } = Ye;
260
272
  return /* @__PURE__ */ o(X, { theme: k, children: /* @__PURE__ */ o(
261
- Fe,
273
+ Ue,
262
274
  {
263
- ...Ye,
275
+ ...Ke,
264
276
  filterOptions: (N) => N,
265
277
  noOptionsText: "No se encontraron resultados.",
266
278
  options: q,
267
279
  onChange: (N, H) => I(H),
268
- onInputChange: (N, H, xe) => {
269
- S(H), w(xe);
280
+ onInputChange: (N, H, ve) => {
281
+ S(H), w(ve);
270
282
  },
271
283
  getOptionLabel: e.getOptionLabel ? e.getOptionLabel : (N) => N ? N[g] : "",
272
284
  renderOption: (N, H) => {
273
- const { key: xe, ...Ke } = N, ee = H[e.labelKey], ve = ee === "-1" || ee === -1;
285
+ const { key: ve, ...Qe } = N, ee = H[e.labelKey], ye = ee === "-1" || ee === -1;
274
286
  return /* @__PURE__ */ te(
275
287
  $,
276
288
  {
277
289
  component: "li",
278
- ...Ke,
290
+ ...Qe,
279
291
  key: `${ee}-${H[e.labelText]}`,
280
292
  sx: {
281
- borderBottom: ve ? `${O.palette.divider} 1px solid` : "inherit"
293
+ borderBottom: ye ? `${O.palette.divider} 1px solid` : "inherit"
282
294
  }
283
295
  },
284
- v && !ve ? `${ee} - ${H[e.labelText]}` : `${H[e.labelText]}`
296
+ v && !ye ? `${ee} - ${H[e.labelText]}` : `${H[e.labelText]}`
285
297
  );
286
298
  },
287
299
  value: y,
@@ -293,17 +305,17 @@ const fe = {
293
305
  T(!1);
294
306
  },
295
307
  renderInput: (N) => /* @__PURE__ */ o(
296
- Ue,
308
+ We,
297
309
  {
298
310
  ...N,
299
311
  label: t,
300
312
  value: b,
301
- error: c,
313
+ error: l,
302
314
  helperText: n,
303
- placeholder: f,
304
- required: s,
315
+ placeholder: p,
316
+ required: a,
305
317
  ref: i,
306
- name: a ?? "",
318
+ name: s ?? "",
307
319
  size: m,
308
320
  onFocus: () => {
309
321
  T(!0);
@@ -311,30 +323,30 @@ const fe = {
311
323
  InputProps: {
312
324
  ...N.InputProps,
313
325
  endAdornment: /* @__PURE__ */ _(Q, { children: [
314
- b && d !== "list" ? /* @__PURE__ */ o(he, { size: "small", onClick: R, sx: { height: "22px", width: "22px" }, children: /* @__PURE__ */ o(
315
- St,
326
+ b && d !== "list" ? /* @__PURE__ */ o(pe, { size: "small", onClick: R, sx: { height: "22px", width: "22px" }, children: /* @__PURE__ */ o(
327
+ bt,
316
328
  {
317
329
  fontSize: "small",
318
330
  color: "action",
319
331
  sx: { height: "16px", width: "16px" }
320
332
  }
321
333
  ) }) : null,
322
- h ? /* @__PURE__ */ o(et, { color: "primary", size: 20 }) : d === "list" || u === "all" && d === "request" ? p ? /* @__PURE__ */ o(
323
- Dt,
334
+ h ? /* @__PURE__ */ o(tt, { color: "primary", size: 20 }) : d === "list" || u === "all" && d === "request" ? f ? /* @__PURE__ */ o(
335
+ Mt,
324
336
  {
325
337
  color: "action",
326
338
  fontSize: "small",
327
339
  sx: { height: "16px", width: "16px" }
328
340
  }
329
341
  ) : /* @__PURE__ */ o(
330
- Ot,
342
+ Dt,
331
343
  {
332
344
  color: "action",
333
345
  fontSize: "small",
334
346
  sx: { height: "16px", width: "16px" }
335
347
  }
336
348
  ) : /* @__PURE__ */ o(
337
- bt,
349
+ Ct,
338
350
  {
339
351
  color: "action",
340
352
  fontSize: "small",
@@ -348,111 +360,111 @@ const fe = {
348
360
  }
349
361
  ) });
350
362
  };
351
- function Zt(e) {
352
- const { options: t, value: n, onSelected: i, labelKey: a, labelText: l, todos: s, disableAutoSelectTodos: c } = e, f = ne(
353
- () => s ? {
354
- [a]: "-1",
355
- [l]: "Todos"
363
+ function Gt(e) {
364
+ const { options: t, value: n, onSelected: i, labelKey: s, labelText: c, todos: a, disableAutoSelectTodos: l } = e, p = ne(
365
+ () => a ? {
366
+ [s]: "-1",
367
+ [c]: "Todos"
356
368
  } : null,
357
- [s, a, l]
369
+ [a, s, c]
358
370
  ), m = ne(
359
- () => s && f ? [f, ...t] : t,
360
- [s, f, t]
371
+ () => a && p ? [p, ...t] : t,
372
+ [a, p, t]
361
373
  ), d = ne(
362
- () => m.filter((v) => v[a] !== "-1"),
363
- [m, a]
374
+ () => m.filter((v) => v[s] !== "-1"),
375
+ [m, s]
364
376
  ), g = n.length === d.length;
365
377
  return E(() => {
366
- s && !c && n.length === 0 && d.length > 0 && i(d);
378
+ a && !l && n.length === 0 && d.length > 0 && i(d);
367
379
  }, []), {
368
380
  updatedOptions: m,
369
381
  handleChange: (v, u) => {
370
- if (!s || !f) {
382
+ if (!a || !p) {
371
383
  i(u);
372
384
  return;
373
385
  }
374
386
  const r = u.some(
375
- (h) => h[a] === f[a]
387
+ (h) => h[s] === p[s]
376
388
  );
377
389
  i(r ? g ? [] : d : u);
378
390
  },
379
391
  isAllSelected: g
380
392
  };
381
393
  }
382
- const Gt = ({ text: e, variant: t = "body3", align: n, placement: i, color: a }) => {
383
- const l = Qe(null), [s, c] = F(!1);
394
+ const Yt = ({ text: e, variant: t = "body3", align: n, placement: i, color: s }) => {
395
+ const c = Xe(null), [a, l] = F(!1);
384
396
  E(() => {
385
- const m = l.current;
386
- m && c(m.offsetWidth < m.scrollWidth);
397
+ const m = c.current;
398
+ m && l(m.offsetWidth < m.scrollWidth);
387
399
  }, [e]);
388
- const f = /* @__PURE__ */ o(W, { variant: t, noWrap: !0, ref: l, textAlign: n, color: a, children: e });
389
- return s ? /* @__PURE__ */ o(X, { theme: O, children: /* @__PURE__ */ o(tt, { title: e, arrow: !0, placement: i, children: f }) }) : f;
400
+ const p = /* @__PURE__ */ o(W, { variant: t, noWrap: !0, ref: c, textAlign: n, color: s, children: e });
401
+ return a ? /* @__PURE__ */ o(X, { theme: O, children: /* @__PURE__ */ o(nt, { title: e, arrow: !0, placement: i, children: p }) }) : p;
390
402
  };
391
- function de() {
392
- return de = Object.assign ? Object.assign.bind() : function(e) {
403
+ function ue() {
404
+ return ue = Object.assign ? Object.assign.bind() : function(e) {
393
405
  for (var t = 1; t < arguments.length; t++) {
394
406
  var n = arguments[t];
395
407
  for (var i in n) ({}).hasOwnProperty.call(n, i) && (e[i] = n[i]);
396
408
  }
397
409
  return e;
398
- }, de.apply(null, arguments);
410
+ }, ue.apply(null, arguments);
399
411
  }
400
- function Te(e) {
412
+ function _e(e) {
401
413
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
402
414
  return e;
403
415
  }
404
- function ue(e, t) {
405
- return ue = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
416
+ function he(e, t) {
417
+ return he = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
406
418
  return n.__proto__ = i, n;
407
- }, ue(e, t);
419
+ }, he(e, t);
408
420
  }
409
- function Yt(e, t) {
410
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ue(e, t);
421
+ function Kt(e, t) {
422
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, he(e, t);
411
423
  }
412
- var _e = Number.isNaN || function(t) {
424
+ var Oe = Number.isNaN || function(t) {
413
425
  return typeof t == "number" && t !== t;
414
426
  };
415
- function Kt(e, t) {
416
- return !!(e === t || _e(e) && _e(t));
417
- }
418
427
  function Qt(e, t) {
428
+ return !!(e === t || Oe(e) && Oe(t));
429
+ }
430
+ function Xt(e, t) {
419
431
  if (e.length !== t.length)
420
432
  return !1;
421
433
  for (var n = 0; n < e.length; n++)
422
- if (!Kt(e[n], t[n]))
434
+ if (!Qt(e[n], t[n]))
423
435
  return !1;
424
436
  return !0;
425
437
  }
426
438
  function le(e, t) {
427
- t === void 0 && (t = Qt);
428
- var n, i = [], a, l = !1;
429
- function s() {
430
- for (var c = [], f = 0; f < arguments.length; f++)
431
- c[f] = arguments[f];
432
- return l && n === this && t(c, i) || (a = e.apply(this, c), l = !0, n = this, i = c), a;
439
+ t === void 0 && (t = Xt);
440
+ var n, i = [], s, c = !1;
441
+ function a() {
442
+ for (var l = [], p = 0; p < arguments.length; p++)
443
+ l[p] = arguments[p];
444
+ return c && n === this && t(l, i) || (s = e.apply(this, l), c = !0, n = this, i = l), s;
433
445
  }
434
- return s;
446
+ return a;
435
447
  }
436
- var Xt = typeof performance == "object" && typeof performance.now == "function", Oe = Xt ? function() {
448
+ var Jt = typeof performance == "object" && typeof performance.now == "function", De = Jt ? function() {
437
449
  return performance.now();
438
450
  } : function() {
439
451
  return Date.now();
440
452
  };
441
- function De(e) {
453
+ function Me(e) {
442
454
  cancelAnimationFrame(e.id);
443
455
  }
444
- function Jt(e, t) {
445
- var n = Oe();
456
+ function en(e, t) {
457
+ var n = De();
446
458
  function i() {
447
- Oe() - n >= t ? e.call(null) : a.id = requestAnimationFrame(i);
459
+ De() - n >= t ? e.call(null) : s.id = requestAnimationFrame(i);
448
460
  }
449
- var a = {
461
+ var s = {
450
462
  id: requestAnimationFrame(i)
451
463
  };
452
- return a;
464
+ return s;
453
465
  }
454
466
  var ce = -1;
455
- function Me(e) {
467
+ function Ae(e) {
456
468
  if (e === void 0 && (e = !1), ce === -1 || e) {
457
469
  var t = document.createElement("div"), n = t.style;
458
470
  n.width = "50px", n.height = "50px", n.overflow = "scroll", document.body.appendChild(t), ce = t.offsetWidth - t.clientWidth, document.body.removeChild(t);
@@ -460,51 +472,51 @@ function Me(e) {
460
472
  return ce;
461
473
  }
462
474
  var Z = null;
463
- function Ae(e) {
475
+ function ke(e) {
464
476
  if (e === void 0 && (e = !1), Z === null || e) {
465
477
  var t = document.createElement("div"), n = t.style;
466
478
  n.width = "50px", n.height = "50px", n.overflow = "scroll", n.direction = "rtl";
467
- var i = document.createElement("div"), a = i.style;
468
- return a.width = "100px", a.height = "100px", t.appendChild(i), document.body.appendChild(t), t.scrollLeft > 0 ? Z = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? Z = "negative" : Z = "positive-ascending"), document.body.removeChild(t), Z;
479
+ var i = document.createElement("div"), s = i.style;
480
+ return s.width = "100px", s.height = "100px", t.appendChild(i), document.body.appendChild(t), t.scrollLeft > 0 ? Z = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? Z = "negative" : Z = "positive-ascending"), document.body.removeChild(t), Z;
469
481
  }
470
482
  return Z;
471
483
  }
472
484
  process.env.NODE_ENV;
473
- var en = 150, tn = function(t, n) {
485
+ var tn = 150, nn = function(t, n) {
474
486
  return t;
475
487
  }, ie = null, re = null;
476
488
  process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.WeakSet < "u" && (ie = /* @__PURE__ */ new WeakSet(), re = /* @__PURE__ */ new WeakSet());
477
- function nn(e) {
478
- var t, n = e.getItemOffset, i = e.getEstimatedTotalSize, a = e.getItemSize, l = e.getOffsetForIndexAndAlignment, s = e.getStartIndexForOffset, c = e.getStopIndexForStartIndex, f = e.initInstanceProps, m = e.shouldResetStyleCacheOnItemSizeChange, d = e.validateProps;
489
+ function rn(e) {
490
+ var t, n = e.getItemOffset, i = e.getEstimatedTotalSize, s = e.getItemSize, c = e.getOffsetForIndexAndAlignment, a = e.getStartIndexForOffset, l = e.getStopIndexForStartIndex, p = e.initInstanceProps, m = e.shouldResetStyleCacheOnItemSizeChange, d = e.validateProps;
479
491
  return t = /* @__PURE__ */ (function(g) {
480
- Yt(x, g);
492
+ Kt(x, g);
481
493
  function x(u) {
482
494
  var r;
483
- return r = g.call(this, u) || this, r._instanceProps = f(r.props, Te(r)), r._outerRef = void 0, r._resetIsScrollingTimeoutId = null, r.state = {
484
- instance: Te(r),
495
+ return r = g.call(this, u) || this, r._instanceProps = p(r.props, _e(r)), r._outerRef = void 0, r._resetIsScrollingTimeoutId = null, r.state = {
496
+ instance: _e(r),
485
497
  isScrolling: !1,
486
498
  scrollDirection: "forward",
487
499
  scrollOffset: typeof r.props.initialScrollOffset == "number" ? r.props.initialScrollOffset : 0,
488
500
  scrollUpdateWasRequested: !1
489
- }, r._callOnItemsRendered = void 0, r._callOnItemsRendered = le(function(h, p, y, b) {
501
+ }, r._callOnItemsRendered = void 0, r._callOnItemsRendered = le(function(h, f, y, b) {
490
502
  return r.props.onItemsRendered({
491
503
  overscanStartIndex: h,
492
- overscanStopIndex: p,
504
+ overscanStopIndex: f,
493
505
  visibleStartIndex: y,
494
506
  visibleStopIndex: b
495
507
  });
496
- }), r._callOnScroll = void 0, r._callOnScroll = le(function(h, p, y) {
508
+ }), r._callOnScroll = void 0, r._callOnScroll = le(function(h, f, y) {
497
509
  return r.props.onScroll({
498
510
  scrollDirection: h,
499
- scrollOffset: p,
511
+ scrollOffset: f,
500
512
  scrollUpdateWasRequested: y
501
513
  });
502
514
  }), r._getItemStyle = void 0, r._getItemStyle = function(h) {
503
- var p = r.props, y = p.direction, b = p.itemSize, I = p.layout, S = r._getItemStyleCache(m && b, m && I, m && y), w;
515
+ var f = r.props, y = f.direction, b = f.itemSize, I = f.layout, S = r._getItemStyleCache(m && b, m && I, m && y), w;
504
516
  if (S.hasOwnProperty(h))
505
517
  w = S[h];
506
518
  else {
507
- var T = n(r.props, h, r._instanceProps), R = a(r.props, h, r._instanceProps), k = y === "horizontal" || I === "horizontal", q = y === "rtl", V = k ? T : 0;
519
+ var T = n(r.props, h, r._instanceProps), R = s(r.props, h, r._instanceProps), k = y === "horizontal" || I === "horizontal", q = y === "rtl", V = k ? T : 0;
508
520
  S[h] = w = {
509
521
  position: "absolute",
510
522
  left: q ? void 0 : V,
@@ -515,16 +527,16 @@ function nn(e) {
515
527
  };
516
528
  }
517
529
  return w;
518
- }, r._getItemStyleCache = void 0, r._getItemStyleCache = le(function(h, p, y) {
530
+ }, r._getItemStyleCache = void 0, r._getItemStyleCache = le(function(h, f, y) {
519
531
  return {};
520
532
  }), r._onScrollHorizontal = function(h) {
521
- var p = h.currentTarget, y = p.clientWidth, b = p.scrollLeft, I = p.scrollWidth;
533
+ var f = h.currentTarget, y = f.clientWidth, b = f.scrollLeft, I = f.scrollWidth;
522
534
  r.setState(function(S) {
523
535
  if (S.scrollOffset === b)
524
536
  return null;
525
537
  var w = r.props.direction, T = b;
526
538
  if (w === "rtl")
527
- switch (Ae()) {
539
+ switch (ke()) {
528
540
  case "negative":
529
541
  T = -b;
530
542
  break;
@@ -540,7 +552,7 @@ function nn(e) {
540
552
  };
541
553
  }, r._resetIsScrollingDebounced);
542
554
  }, r._onScrollVertical = function(h) {
543
- var p = h.currentTarget, y = p.clientHeight, b = p.scrollHeight, I = p.scrollTop;
555
+ var f = h.currentTarget, y = f.clientHeight, b = f.scrollHeight, I = f.scrollTop;
544
556
  r.setState(function(S) {
545
557
  if (S.scrollOffset === I)
546
558
  return null;
@@ -553,10 +565,10 @@ function nn(e) {
553
565
  };
554
566
  }, r._resetIsScrollingDebounced);
555
567
  }, r._outerRefSetter = function(h) {
556
- var p = r.props.outerRef;
557
- r._outerRef = h, typeof p == "function" ? p(h) : p != null && typeof p == "object" && p.hasOwnProperty("current") && (p.current = h);
568
+ var f = r.props.outerRef;
569
+ r._outerRef = h, typeof f == "function" ? f(h) : f != null && typeof f == "object" && f.hasOwnProperty("current") && (f.current = h);
558
570
  }, r._resetIsScrollingDebounced = function() {
559
- r._resetIsScrollingTimeoutId !== null && De(r._resetIsScrollingTimeoutId), r._resetIsScrollingTimeoutId = Jt(r._resetIsScrolling, en);
571
+ r._resetIsScrollingTimeoutId !== null && Me(r._resetIsScrollingTimeoutId), r._resetIsScrollingTimeoutId = en(r._resetIsScrolling, tn);
560
572
  }, r._resetIsScrolling = function() {
561
573
  r._resetIsScrollingTimeoutId = null, r.setState({
562
574
  isScrolling: !1
@@ -566,7 +578,7 @@ function nn(e) {
566
578
  }, r;
567
579
  }
568
580
  x.getDerivedStateFromProps = function(r, h) {
569
- return rn(r, h), d(r), null;
581
+ return on(r, h), d(r), null;
570
582
  };
571
583
  var v = x.prototype;
572
584
  return v.scrollTo = function(r) {
@@ -579,28 +591,28 @@ function nn(e) {
579
591
  }, this._resetIsScrollingDebounced);
580
592
  }, v.scrollToItem = function(r, h) {
581
593
  h === void 0 && (h = "auto");
582
- var p = this.props, y = p.itemCount, b = p.layout, I = this.state.scrollOffset;
594
+ var f = this.props, y = f.itemCount, b = f.layout, I = this.state.scrollOffset;
583
595
  r = Math.max(0, Math.min(r, y - 1));
584
596
  var S = 0;
585
597
  if (this._outerRef) {
586
598
  var w = this._outerRef;
587
- b === "vertical" ? S = w.scrollWidth > w.clientWidth ? Me() : 0 : S = w.scrollHeight > w.clientHeight ? Me() : 0;
599
+ b === "vertical" ? S = w.scrollWidth > w.clientWidth ? Ae() : 0 : S = w.scrollHeight > w.clientHeight ? Ae() : 0;
588
600
  }
589
- this.scrollTo(l(this.props, r, h, I, this._instanceProps, S));
601
+ this.scrollTo(c(this.props, r, h, I, this._instanceProps, S));
590
602
  }, v.componentDidMount = function() {
591
- var r = this.props, h = r.direction, p = r.initialScrollOffset, y = r.layout;
592
- if (typeof p == "number" && this._outerRef != null) {
603
+ var r = this.props, h = r.direction, f = r.initialScrollOffset, y = r.layout;
604
+ if (typeof f == "number" && this._outerRef != null) {
593
605
  var b = this._outerRef;
594
- h === "horizontal" || y === "horizontal" ? b.scrollLeft = p : b.scrollTop = p;
606
+ h === "horizontal" || y === "horizontal" ? b.scrollLeft = f : b.scrollTop = f;
595
607
  }
596
608
  this._callPropsCallbacks();
597
609
  }, v.componentDidUpdate = function() {
598
- var r = this.props, h = r.direction, p = r.layout, y = this.state, b = y.scrollOffset, I = y.scrollUpdateWasRequested;
610
+ var r = this.props, h = r.direction, f = r.layout, y = this.state, b = y.scrollOffset, I = y.scrollUpdateWasRequested;
599
611
  if (I && this._outerRef != null) {
600
612
  var S = this._outerRef;
601
- if (h === "horizontal" || p === "horizontal")
613
+ if (h === "horizontal" || f === "horizontal")
602
614
  if (h === "rtl")
603
- switch (Ae()) {
615
+ switch (ke()) {
604
616
  case "negative":
605
617
  S.scrollLeft = -b;
606
618
  break;
@@ -619,24 +631,24 @@ function nn(e) {
619
631
  }
620
632
  this._callPropsCallbacks();
621
633
  }, v.componentWillUnmount = function() {
622
- this._resetIsScrollingTimeoutId !== null && De(this._resetIsScrollingTimeoutId);
634
+ this._resetIsScrollingTimeoutId !== null && Me(this._resetIsScrollingTimeoutId);
623
635
  }, v.render = function() {
624
- var r = this.props, h = r.children, p = r.className, y = r.direction, b = r.height, I = r.innerRef, S = r.innerElementType, w = r.innerTagName, T = r.itemCount, R = r.itemData, k = r.itemKey, q = k === void 0 ? tn : k, V = r.layout, J = r.outerElementType, K = r.outerTagName, C = r.style, M = r.useIsScrolling, A = r.width, U = this.state.isScrolling, L = y === "horizontal" || V === "horizontal", pe = L ? this._onScrollHorizontal : this._onScrollVertical, oe = this._getRangeToRender(), me = oe[0], ge = oe[1], ae = [];
636
+ var r = this.props, h = r.children, f = r.className, y = r.direction, b = r.height, I = r.innerRef, S = r.innerElementType, w = r.innerTagName, T = r.itemCount, R = r.itemData, k = r.itemKey, q = k === void 0 ? nn : k, V = r.layout, J = r.outerElementType, K = r.outerTagName, C = r.style, M = r.useIsScrolling, A = r.width, U = this.state.isScrolling, L = y === "horizontal" || V === "horizontal", me = L ? this._onScrollHorizontal : this._onScrollVertical, oe = this._getRangeToRender(), ge = oe[0], xe = oe[1], se = [];
625
637
  if (T > 0)
626
- for (var j = me; j <= ge; j++)
627
- ae.push(te(h, {
638
+ for (var j = ge; j <= xe; j++)
639
+ se.push(te(h, {
628
640
  data: R,
629
641
  key: q(j, R),
630
642
  index: j,
631
643
  isScrolling: M ? U : void 0,
632
644
  style: this._getItemStyle(j)
633
645
  }));
634
- var se = i(this.props, this._instanceProps);
646
+ var ae = i(this.props, this._instanceProps);
635
647
  return te(J || K || "div", {
636
- className: p,
637
- onScroll: pe,
648
+ className: f,
649
+ onScroll: me,
638
650
  ref: this._outerRefSetter,
639
- style: de({
651
+ style: ue({
640
652
  position: "relative",
641
653
  height: b,
642
654
  width: A,
@@ -646,20 +658,20 @@ function nn(e) {
646
658
  direction: y
647
659
  }, C)
648
660
  }, te(S || w || "div", {
649
- children: ae,
661
+ children: se,
650
662
  ref: I,
651
663
  style: {
652
- height: L ? "100%" : se,
664
+ height: L ? "100%" : ae,
653
665
  pointerEvents: U ? "none" : void 0,
654
- width: L ? se : "100%"
666
+ width: L ? ae : "100%"
655
667
  }
656
668
  }));
657
669
  }, v._callPropsCallbacks = function() {
658
670
  if (typeof this.props.onItemsRendered == "function") {
659
671
  var r = this.props.itemCount;
660
672
  if (r > 0) {
661
- var h = this._getRangeToRender(), p = h[0], y = h[1], b = h[2], I = h[3];
662
- this._callOnItemsRendered(p, y, b, I);
673
+ var h = this._getRangeToRender(), f = h[0], y = h[1], b = h[2], I = h[3];
674
+ this._callOnItemsRendered(f, y, b, I);
663
675
  }
664
676
  }
665
677
  if (typeof this.props.onScroll == "function") {
@@ -667,13 +679,13 @@ function nn(e) {
667
679
  this._callOnScroll(w, T, R);
668
680
  }
669
681
  }, v._getRangeToRender = function() {
670
- var r = this.props, h = r.itemCount, p = r.overscanCount, y = this.state, b = y.isScrolling, I = y.scrollDirection, S = y.scrollOffset;
682
+ var r = this.props, h = r.itemCount, f = r.overscanCount, y = this.state, b = y.isScrolling, I = y.scrollDirection, S = y.scrollOffset;
671
683
  if (h === 0)
672
684
  return [0, 0, 0, 0];
673
- var w = s(this.props, S, this._instanceProps), T = c(this.props, w, S, this._instanceProps), R = !b || I === "backward" ? Math.max(1, p) : 1, k = !b || I === "forward" ? Math.max(1, p) : 1;
685
+ var w = a(this.props, S, this._instanceProps), T = l(this.props, w, S, this._instanceProps), R = !b || I === "backward" ? Math.max(1, f) : 1, k = !b || I === "forward" ? Math.max(1, f) : 1;
674
686
  return [Math.max(0, w - R), Math.max(0, Math.min(h - 1, T + k)), w, T];
675
687
  }, x;
676
- })(Xe), t.defaultProps = {
688
+ })(Je), t.defaultProps = {
677
689
  direction: "ltr",
678
690
  itemData: void 0,
679
691
  layout: "vertical",
@@ -681,12 +693,12 @@ function nn(e) {
681
693
  useIsScrolling: !1
682
694
  }, t;
683
695
  }
684
- var rn = function(t, n) {
685
- var i = t.children, a = t.direction, l = t.height, s = t.layout, c = t.innerTagName, f = t.outerTagName, m = t.width, d = n.instance;
696
+ var on = function(t, n) {
697
+ var i = t.children, s = t.direction, c = t.height, a = t.layout, l = t.innerTagName, p = t.outerTagName, m = t.width, d = n.instance;
686
698
  if (process.env.NODE_ENV !== "production") {
687
- (c != null || f != null) && re && !re.has(d) && (re.add(d), console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));
688
- var g = a === "horizontal" || s === "horizontal";
689
- switch (a) {
699
+ (l != null || p != null) && re && !re.has(d) && (re.add(d), console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));
700
+ var g = s === "horizontal" || a === "horizontal";
701
+ switch (s) {
690
702
  case "horizontal":
691
703
  case "vertical":
692
704
  ie && !ie.has(d) && (ie.add(d), console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));
@@ -695,23 +707,23 @@ var rn = function(t, n) {
695
707
  case "rtl":
696
708
  break;
697
709
  default:
698
- throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". ' + ('"' + a + '" was specified.'));
710
+ throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". ' + ('"' + s + '" was specified.'));
699
711
  }
700
- switch (s) {
712
+ switch (a) {
701
713
  case "horizontal":
702
714
  case "vertical":
703
715
  break;
704
716
  default:
705
- throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". ' + ('"' + s + '" was specified.'));
717
+ throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". ' + ('"' + a + '" was specified.'));
706
718
  }
707
719
  if (i == null)
708
720
  throw Error('An invalid "children" prop has been specified. Value should be a React component. ' + ('"' + (i === null ? "null" : typeof i) + '" was specified.'));
709
721
  if (g && typeof m != "number")
710
722
  throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. ' + ('"' + (m === null ? "null" : typeof m) + '" was specified.'));
711
- if (!g && typeof l != "number")
712
- throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (l === null ? "null" : typeof l) + '" was specified.'));
723
+ if (!g && typeof c != "number")
724
+ throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (c === null ? "null" : typeof c) + '" was specified.'));
713
725
  }
714
- }, on = /* @__PURE__ */ nn({
726
+ }, sn = /* @__PURE__ */ rn({
715
727
  getItemOffset: function(t, n) {
716
728
  var i = t.itemSize;
717
729
  return n * i;
@@ -724,30 +736,30 @@ var rn = function(t, n) {
724
736
  var n = t.itemCount, i = t.itemSize;
725
737
  return i * n;
726
738
  },
727
- getOffsetForIndexAndAlignment: function(t, n, i, a, l, s) {
728
- var c = t.direction, f = t.height, m = t.itemCount, d = t.itemSize, g = t.layout, x = t.width, v = c === "horizontal" || g === "horizontal", u = v ? x : f, r = Math.max(0, m * d - u), h = Math.min(r, n * d), p = Math.max(0, n * d - u + d + s);
729
- switch (i === "smart" && (a >= p - u && a <= h + u ? i = "auto" : i = "center"), i) {
739
+ getOffsetForIndexAndAlignment: function(t, n, i, s, c, a) {
740
+ var l = t.direction, p = t.height, m = t.itemCount, d = t.itemSize, g = t.layout, x = t.width, v = l === "horizontal" || g === "horizontal", u = v ? x : p, r = Math.max(0, m * d - u), h = Math.min(r, n * d), f = Math.max(0, n * d - u + d + a);
741
+ switch (i === "smart" && (s >= f - u && s <= h + u ? i = "auto" : i = "center"), i) {
730
742
  case "start":
731
743
  return h;
732
744
  case "end":
733
- return p;
745
+ return f;
734
746
  case "center": {
735
- var y = Math.round(p + (h - p) / 2);
747
+ var y = Math.round(f + (h - f) / 2);
736
748
  return y < Math.ceil(u / 2) ? 0 : y > r + Math.floor(u / 2) ? r : y;
737
749
  }
738
750
  case "auto":
739
751
  default:
740
- return a >= p && a <= h ? a : a < p ? p : h;
752
+ return s >= f && s <= h ? s : s < f ? f : h;
741
753
  }
742
754
  },
743
755
  getStartIndexForOffset: function(t, n) {
744
- var i = t.itemCount, a = t.itemSize;
745
- return Math.max(0, Math.min(i - 1, Math.floor(n / a)));
756
+ var i = t.itemCount, s = t.itemSize;
757
+ return Math.max(0, Math.min(i - 1, Math.floor(n / s)));
746
758
  },
747
759
  getStopIndexForStartIndex: function(t, n, i) {
748
- var a = t.direction, l = t.height, s = t.itemCount, c = t.itemSize, f = t.layout, m = t.width, d = a === "horizontal" || f === "horizontal", g = n * c, x = d ? m : l, v = Math.ceil((x + i - g) / c);
760
+ var s = t.direction, c = t.height, a = t.itemCount, l = t.itemSize, p = t.layout, m = t.width, d = s === "horizontal" || p === "horizontal", g = n * l, x = d ? m : c, v = Math.ceil((x + i - g) / l);
749
761
  return Math.max(0, Math.min(
750
- s - 1,
762
+ a - 1,
751
763
  n + v - 1
752
764
  // -1 is because stop index is inclusive
753
765
  ));
@@ -761,50 +773,50 @@ var rn = function(t, n) {
761
773
  throw Error('An invalid "itemSize" prop has been specified. Value should be a number. ' + ('"' + (n === null ? "null" : typeof n) + '" was specified.'));
762
774
  }
763
775
  });
764
- const an = 0, ke = 35, sn = 20;
765
- function ln(e) {
766
- const { data: t, index: n, style: i } = e, a = t[n], l = {
776
+ const an = 0, ze = 35, ln = 20;
777
+ function cn(e) {
778
+ const { data: t, index: n, style: i } = e, s = t[n], c = {
767
779
  ...i,
768
780
  top: i.top + an
769
781
  };
770
- return Y.cloneElement(a, {
771
- style: l
782
+ return Y.cloneElement(s, {
783
+ style: c
772
784
  });
773
785
  }
774
- const Be = Y.createContext({}), cn = Y.forwardRef(
786
+ const je = Y.createContext({}), dn = Y.forwardRef(
775
787
  function(t, n) {
776
- const i = Y.useContext(Be);
788
+ const i = Y.useContext(je);
777
789
  return /* @__PURE__ */ o("div", { ref: n, ...t, ...i });
778
790
  }
779
- ), dn = Y.forwardRef(function(t, n) {
780
- const { children: i, ...a } = t, l = Y.Children.toArray(i), s = l.length, c = Math.min(s, sn) * ke;
781
- return /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o(Be.Provider, { value: a, children: /* @__PURE__ */ o(
782
- on,
791
+ ), un = Y.forwardRef(function(t, n) {
792
+ const { children: i, ...s } = t, c = Y.Children.toArray(i), a = c.length, l = Math.min(a, ln) * ze;
793
+ return /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o(je.Provider, { value: s, children: /* @__PURE__ */ o(
794
+ sn,
783
795
  {
784
- height: c,
796
+ height: l,
785
797
  width: "100%",
786
- outerElementType: cn,
787
- itemSize: ke,
798
+ outerElementType: dn,
799
+ itemSize: ze,
788
800
  overscanCount: 5,
789
- itemCount: s,
790
- itemData: l,
791
- children: ln
801
+ itemCount: a,
802
+ itemData: c,
803
+ children: cn
792
804
  }
793
805
  ) }) });
794
- }), si = (e) => {
806
+ }), li = (e) => {
795
807
  const {
796
808
  value: t,
797
809
  placeholder: n,
798
810
  labelKey: i,
799
- labelText: a,
800
- label: l,
801
- todos: s,
802
- showSelectedCount: c,
803
- customTheme: f,
811
+ labelText: s,
812
+ label: c,
813
+ todos: a,
814
+ showSelectedCount: l,
815
+ customTheme: p,
804
816
  showId: m
805
- } = e, d = (r, h) => h ? "Todos" : m ? `${r[i]} - ${r[a]}` : String(r[a]), { isAllSelected: g, updatedOptions: x, handleChange: v } = Zt(e);
806
- return /* @__PURE__ */ o(X, { theme: f || fe, children: /* @__PURE__ */ o(
807
- Fe,
817
+ } = e, d = (r, h) => h ? "Todos" : m ? `${r[i]} - ${r[s]}` : String(r[s]), { isAllSelected: g, updatedOptions: x, handleChange: v } = Gt(e);
818
+ return /* @__PURE__ */ o(X, { theme: p || fe, children: /* @__PURE__ */ o(
819
+ Ue,
808
820
  {
809
821
  multiple: !0,
810
822
  fullWidth: !0,
@@ -815,35 +827,35 @@ const Be = Y.createContext({}), cn = Y.forwardRef(
815
827
  onChange: v,
816
828
  disableCloseOnSelect: !0,
817
829
  disableListWrap: !0,
818
- ListboxComponent: dn,
830
+ ListboxComponent: un,
819
831
  isOptionEqualToValue: (r, h) => r[i] === h[i],
820
832
  getOptionLabel: (r) => d(r, r[i] === "-1"),
821
- renderTags: (r) => c ? g ? s ? "Todos" : `${r.length} seleccionados` : `${r.length} seleccionados` : /* @__PURE__ */ o(Q, {}),
822
- renderOption: (r, h, { selected: p }) => {
823
- const { key: y, ...b } = r, I = h[i] === "-1", S = I ? g : p;
833
+ renderTags: (r) => l ? g ? a ? "Todos" : `${r.length} seleccionados` : `${r.length} seleccionados` : /* @__PURE__ */ o(Q, {}),
834
+ renderOption: (r, h, { selected: f }) => {
835
+ const { key: y, ...b } = r, I = h[i] === "-1", S = I ? g : f;
824
836
  return /* @__PURE__ */ _(
825
- nt,
837
+ it,
826
838
  {
827
839
  ...b,
828
840
  sx: {
829
- borderBottom: s && h[a] === "Todos" ? "1px #0000001F solid" : "",
841
+ borderBottom: a && h[s] === "Todos" ? "1px #0000001F solid" : "",
830
842
  gap: 1,
831
843
  padding: "7px 16px !important"
832
844
  },
833
845
  children: [
834
- /* @__PURE__ */ o(it, { checked: S }),
835
- /* @__PURE__ */ o(rt, { children: /* @__PURE__ */ o(Gt, { text: d(h, I), variant: "body1", placement: "bottom" }) })
846
+ /* @__PURE__ */ o(rt, { checked: S }),
847
+ /* @__PURE__ */ o(ot, { children: /* @__PURE__ */ o(Yt, { text: d(h, I), variant: "body1", placement: "bottom" }) })
836
848
  ]
837
849
  },
838
850
  String(h[i])
839
851
  );
840
852
  },
841
853
  renderInput: (r) => /* @__PURE__ */ o(
842
- Ue,
854
+ We,
843
855
  {
844
856
  ...r,
845
- label: l,
846
- placeholder: c ? "" : n,
857
+ label: c,
858
+ placeholder: l ? "" : n,
847
859
  fullWidth: !0
848
860
  }
849
861
  ),
@@ -851,39 +863,39 @@ const Be = Y.createContext({}), cn = Y.forwardRef(
851
863
  }
852
864
  ) });
853
865
  };
854
- P.extend(kt);
855
- const ze = "DD/MM/YYYY", Re = (e, t) => {
856
- const n = e !== "" ? P(e, ze) : P().subtract(2, "month"), i = t !== "" ? P(t, ze) : P();
866
+ P.extend(zt);
867
+ const Re = "DD/MM/YYYY", Ee = (e, t) => {
868
+ const n = e !== "" ? P(e, Re) : P().subtract(2, "month"), i = t !== "" ? P(t, Re) : P();
857
869
  return { defaultI: n, defaultF: i };
858
- }, un = ({ defaultValue: e, onchange: t, onInvalidDate: n, clear: i }) => {
859
- const a = Re((e == null ? void 0 : e.inicial) || "", (e == null ? void 0 : e.final) || ""), [l, s] = F([a.defaultI, a.defaultF]), [c, f] = F(null);
870
+ }, hn = ({ defaultValue: e, onchange: t, onInvalidDate: n, clear: i }) => {
871
+ const s = Ee((e == null ? void 0 : e.inicial) || "", (e == null ? void 0 : e.final) || ""), [c, a] = F([s.defaultI, s.defaultF]), [l, p] = F(null);
860
872
  E(() => {
861
873
  if (i === !0) {
862
- const { defaultI: x, defaultF: v } = Re((e == null ? void 0 : e.inicial) || "", (e == null ? void 0 : e.final) || "");
863
- s([x, v]);
874
+ const { defaultI: x, defaultF: v } = Ee((e == null ? void 0 : e.inicial) || "", (e == null ? void 0 : e.final) || "");
875
+ a([x, v]);
864
876
  }
865
877
  }, [i]);
866
878
  const m = (x) => {
867
879
  const v = P(x[0]), u = P(x[1]), r = d([v, u]);
868
- s(x), r == "" ? f("") : (f(r), n && n());
880
+ a(x), r == "" ? p("") : (p(r), n && n());
869
881
  }, d = (x) => {
870
882
  const v = P(x[0]), u = P(x[1]);
871
883
  return v.isValid() && u.isValid() ? v.year() < 2010 ? "Fecha inicial mínima es del año 2010" : u.year() < 2010 ? "Fecha final mínima es del año 2010" : v.isBefore(u) ? "" : "La fecha inicial debe ser menor que la fecha final" : "Fecha no válida";
872
884
  };
873
885
  return {
874
- selectedDateRange: l,
886
+ selectedDateRange: c,
875
887
  handleDateChange: m,
876
- warningMessage: c,
888
+ warningMessage: l,
877
889
  handleClose: () => {
878
- const x = P(l[0]), v = P(l[1]), u = d([x, v]);
879
- u == "" ? (f(""), t({
890
+ const x = P(c[0]), v = P(c[1]), u = d([x, v]);
891
+ u == "" ? (p(""), t({
880
892
  fechai: x.format("DD/MM/YYYY"),
881
893
  fechaf: v.format("DD/MM/YYYY")
882
- })) : (n && n(), f(u));
894
+ })) : (n && n(), p(u));
883
895
  }
884
896
  };
885
- }, li = (e) => {
886
- const { selectedDateRange: t, handleDateChange: n, warningMessage: i, handleClose: a } = un(e), l = We(), s = ot(l.breakpoints.up("sm")), c = e.localeText ?? {
897
+ }, ci = (e) => {
898
+ const { selectedDateRange: t, handleDateChange: n, warningMessage: i, handleClose: s } = hn(e), c = $e(), a = st(c.breakpoints.up("sm")), l = e.localeText ?? {
887
899
  start: "Fecha inicial",
888
900
  end: "Fecha final"
889
901
  };
@@ -899,33 +911,33 @@ const ze = "DD/MM/YYYY", Re = (e, t) => {
899
911
  children: /* @__PURE__ */ _(z, { width: "100%", sx: { color: "text.secondary" }, children: [
900
912
  /* @__PURE__ */ o(W, { paddingY: 1, children: e.label }),
901
913
  /* @__PURE__ */ o(
902
- qe,
914
+ He,
903
915
  {
904
916
  sx: {
905
917
  "& .MuiMultiInputDateRangeField-separator": { display: "none" }
906
918
  },
907
919
  value: t,
908
- onClose: a,
920
+ onClose: s,
909
921
  onChange: n,
910
- desktopModeMediaQuery: e.isInputIndividual && s == !1 ? "sm" : "",
911
- slots: e.isInputIndividual ? {} : { field: Mt },
922
+ desktopModeMediaQuery: e.isInputIndividual && a == !1 ? "sm" : "",
923
+ slots: e.isInputIndividual ? {} : { field: At },
912
924
  slotProps: {
913
- textField: (f) => {
914
- const m = f.position;
925
+ textField: (p) => {
926
+ const m = p.position;
915
927
  return {
916
928
  size: "small",
917
- label: m === "start" ? c.start : c.end,
929
+ label: m === "start" ? l.start : l.end,
918
930
  helperText: i,
919
931
  error: i != "" && i != null,
920
932
  fullWidth: !0,
921
933
  InputProps: {
922
934
  endAdornment: m === "start" ? /* @__PURE__ */ o(
923
- zt,
935
+ Rt,
924
936
  {
925
937
  sx: { color: "rgba(16, 24, 64, 0.54)" }
926
938
  }
927
939
  ) : /* @__PURE__ */ o(
928
- Rt,
940
+ Et,
929
941
  {
930
942
  sx: { color: "rgba(16, 24, 64, 0.54)" }
931
943
  }
@@ -934,20 +946,20 @@ const ze = "DD/MM/YYYY", Re = (e, t) => {
934
946
  };
935
947
  }
936
948
  },
937
- localeText: c
949
+ localeText: l
938
950
  }
939
951
  )
940
952
  ] })
941
953
  }
942
954
  );
943
- }, hn = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='RE'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20453.5433%20453.5433'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Degradado_sin_nombre_34-4);%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-2%20{%20fill:%20url(%23Degradado_sin_nombre_34-2);%20}%20.cls-3%20{%20fill:%20url(%23Degradado_sin_nombre_38-2);%20}%20.cls-4%20{%20fill:%20url(%23Degradado_sin_nombre_38);%20}%20.cls-5%20{%20fill:%20url(%23Degradado_sin_nombre_34-3);%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-7%20{%20fill:%20url(%23Degradado_sin_nombre_34);%20}%20%3c/style%3e%3clinearGradient%20id='Degradado_sin_nombre_34'%20data-name='Degradado%20sin%20nombre%2034'%20x1='56.7178'%20y1='226.7717'%20x2='396.8255'%20y2='226.7717'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_34-2'%20data-name='Degradado%20sin%20nombre%2034'%20x1='14.4541'%20y1='175.1242'%20x2='234.3511'%20y2='175.1242'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_38'%20data-name='Degradado%20sin%20nombre%2038'%20x1='293.0693'%20y1='107.0773'%20x2='515.5374'%20y2='107.0773'%20gradientTransform='translate(68.1195%20732.5845)%20rotate(-90)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_38-2'%20data-name='Degradado%20sin%20nombre%2038'%20x1='314.2624'%20y1='364.163'%20x2='535.4932'%20y2='364.163'%20gradientTransform='translate(753.3515%20642.5821)%20rotate(-180)'%20xlink:href='%23Degradado_sin_nombre_38'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-3'%20data-name='Degradado%20sin%20nombre%2034'%20x1='117.6042'%20y1='14.1612'%20x2='122.7773'%20y2='14.1612'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-4'%20data-name='Degradado%20sin%20nombre%2034'%20x1='134.9218'%20y1='124.6425'%20x2='439.0892'%20y2='124.6425'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3c/defs%3e%3cg%3e%3crect%20class='cls-7'%20x='56.7178'%20y='60.1189'%20width='340.1077'%20height='333.3056'/%3e%3cpath%20class='cls-2'%20d='M124.4026,14.0281C63.6799,14.0281,14.4541,62.6329,14.4541,122.5894v213.6309c60.7232,0,109.9485-48.6043,109.9485-108.5614v-105.0695c0-59.9566,49.2258-108.5614,109.9485-108.5614h-109.9485Z'/%3e%3cpath%20class='cls-4'%20d='M14.4541,328.2812c0,61.4329,48.4982,111.234,108.3232,111.234h213.1623c0-61.4329-48.4977-111.234-108.3227-111.234h-104.8396c-59.825,0-108.3232-49.8009-108.3232-111.234v111.234Z'/%3e%3cpath%20class='cls-3'%20d='M328.4739,439.5152c61.0911,0,110.6151-48.6045,110.6151-108.5614V117.323c-61.0911,0-110.6151,48.6048-110.6151,108.5614v105.0695c0,59.9568-49.5245,108.5614-110.6156,108.5614h110.6156Z'/%3e%3cg%3e%3cpath%20class='cls-5'%20d='M122.7773,14.0281h-5.1731c0,.0903.0123.1765.0128.2663,1.7221-.083,3.4187-.2663,5.1603-.2663Z'/%3e%3cpath%20class='cls-1'%20d='M330.7665,14.0281h-99.666c-41.8918,0-78.1576,24.3255-96.1787,59.8592,19.2851,30.5087,52.7999,50.7552,91.0051,50.7552h104.8396c59.825,0,108.3227,49.5235,108.3227,110.6144v-110.6144c0-61.0904-48.4977-110.6144-108.3227-110.6144Z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M107.9407,179.8078c-2.6359-.9974-4.9904-2.2596-7.0614-3.785s-3.7469-3.3514-5.0268-5.4797c-1.281-2.1272-1.9209-4.6412-1.9209-7.5413,0-2.9376.6399-5.5829,1.9209-7.9369,1.2799-2.3534,2.9658-4.3499,5.0555-5.9884,2.0897-1.6379,4.4531-2.8996,7.0901-3.785,2.6348-.8843,5.3093-1.3273,8.0213-1.3273,2.1835,0,4.3119.2262,6.3839.678,2.0699.4518,4.0106,1.121,5.8179,2.0053,1.8084.8854,3.4457,1.9772,4.9154,3.2764,1.4685,1.2992,2.6922,2.8157,3.6719,4.5474.4138.678.5075,1.3659.2825,2.0621-.2262.6973-.5473,1.2523-.961,1.6666-.5274.4899-1.2148.7817-2.0621.8755-.8474.0943-1.666-.16-2.4571-.7624-2.1846-2.6739-4.5193-4.548-7.0051-5.621-2.4847-1.0736-5.3093-1.6103-8.4737-1.6103-1.7698,0-3.5395.2543-5.3093.763-1.7709.5081-3.3806,1.2523-4.8304,2.2315-1.4498.9798-2.637,2.2127-3.5594,3.7001-.9224,1.4879-1.3836,3.2113-1.3836,5.1686,0,2.0721.5451,3.7949,1.6385,5.1692,1.0912,1.3753,2.4759,2.5333,4.1519,3.4744,1.6749.9417,3.5108,1.7041,5.5079,2.2878,1.9959.5842,3.8981,1.1017,5.7054,1.5535,2.787.8667,5.5079,1.8453,8.1636,2.9376,2.6546,1.0923,5.0081,2.429,7.0614,4.0106,2.0522,1.5816,3.6995,3.4656,4.943,5.6491,1.2424,2.1846,1.8635,4.8017,1.8635,7.8525,0,3.2764-.6499,6.2422-1.9485,8.8973-1.2997,2.6546-3.0507,4.9341-5.2541,6.8352-2.2034,1.9022-4.7642,3.3707-7.6826,4.4062-2.9194,1.0355-5.979,1.5535-9.1798,1.5535-2.6745,0-5.2541-.358-7.7388-1.073-2.4858-.715-4.7742-1.6854-6.8639-2.9095-2.0908-1.2236-3.918-2.6734-5.4803-4.3499-1.5623-1.6754-2.7584-3.4739-3.587-5.3948-.5649-1.2048-.6499-2.2122-.2538-3.0221.395-.8099.9687-1.4211,1.7223-1.836.8661-.4893,1.6859-.5936,2.4582-.3111.7712.2825,1.5712.9516,2.4009,2.0059.715,1.5066,1.6848,2.8621,2.9084,4.0669,1.2236,1.206,2.6083,2.2315,4.153,3.0789,1.5436.8474,3.2195,1.4972,5.0268,1.9491,1.8084.4518,3.6719.678,5.5928.678,1.9959,0,3.9831-.3012,5.9602-.9042,1.9772-.6019,3.7569-1.5055,5.338-2.7115,1.5822-1.2048,2.8621-2.7015,3.8418-4.4911.9787-1.788,1.4685-3.8501,1.4685-6.1853,0-2.1471-.4899-3.945-1.4685-5.3953-.9798-1.4492-2.2795-2.6922-3.8981-3.7282-1.6197-1.0355-3.4457-1.9209-5.4792-2.6552-2.0346-.7343-4.0868-1.4404-6.1577-2.1184-2.712-.6399-5.3865-1.4592-8.0224-2.4571Z'/%3e%3cpath%20class='cls-6'%20d='M158.3292,213.335c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.3034c0-1.0167.3476-1.8547,1.0449-2.514.6962-.6587,1.5347-.9886,2.5145-.9886.9787,0,1.8161.3299,2.5134.9886.6962.6592,1.0449,1.4972,1.0449,2.514v65.3034Z'/%3e%3cpath%20class='cls-6'%20d='M180.1334,158.8212l-5.9316-8.4737c-.3762-.4888-.5925-1.0636-.6499-1.7229-.0563-.6587.0287-1.2799.2549-1.8641.2262-.5837.5737-1.0824,1.0449-1.4972.47-.4138,1.0449-.6212,1.7234-.6212h.2825c.3751.0756.7525.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412l.2251.1131c.1136.0761.2163.1694.3111.2825.0938.1131.1975.2262.3111.3387l.1688.2825,39.5443,56.3217v-54.5139c0-.9787.3476-1.8167,1.0449-2.514.6973-.6962,1.5535-1.0449,2.5708-1.0449s1.8547.3487,2.5134,1.0449c.6587.6973.9886,1.5353.9886,2.514v65.2472c0,.8667-.2736,1.6197-.8187,2.2596-.5462.641-1.2335,1.0366-2.0621,1.1866-.1512.0375-.3762.0563-.6775.0563-1.0548,0-1.9408-.3575-2.6557-1.0736l-.2251-.3387-.1699-.1694-39.488-56.4348v54.5139c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.1903c0-.9792.3476-1.8078,1.0449-2.4858.6962-.678,1.5347-1.0167,2.5145-1.0167h.2825c.4138.0756.79.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412.075,0,.1501.0381.2251.1131.4149.3018.7437.6973.9886,1.1861.2449.4899.3674,1.0173.3674,1.5822v10.6765Z'/%3e%3cpath%20class='cls-6'%20d='M297.6354,157.4089c0,.9417-.3398,1.7709-1.0173,2.4858-.7161.678-1.5734,1.0267-2.5708,1.0449-.9974.0193-1.8172-.3106-2.4571-.9886-2.9757-2.9376-6.2703-5.1405-9.8859-6.6096-3.6156-1.4685-7.3626-2.2028-11.2419-2.2028-4.0669,0-7.8999.7723-11.4957,2.3159-3.5969,1.5447-6.7315,3.6537-9.406,6.3271-2.6745,2.6745-4.783,5.8185-6.3266,9.4341-1.5447,3.6151-2.3159,7.4762-2.3159,11.5807,0,3.9544.7425,7.7206,2.231,11.2982,1.4873,3.5781,3.5395,6.7221,6.1577,9.4341,2.6171,2.7115,5.7241,4.8679,9.321,6.4678,3.5958,1.6015,7.5038,2.4009,11.7219,2.4009,3.8782.0381,7.6064-.6212,11.1857-1.9772,3.577-1.3555,6.8716-3.5395,9.8859-6.5527.715-.678,1.5623-1.0256,2.5421-1.0449.9787-.0188,1.8073.2918,2.4847.9318.715.678,1.0636,1.5254,1.046,2.5421-.0199,1.0167-.3487,1.8459-.9886,2.4858-3.6918,3.6912-7.7774,6.4115-12.2592,8.1631-4.4818,1.751-9.1147,2.6265-13.8966,2.6265-3.3519,0-6.5914-.443-9.716-1.3273-3.1269-.8843-6.0452-2.1184-8.7561-3.7001-2.712-1.5822-5.1791-3.4932-7.4012-5.7341-2.2221-2.2403-4.1232-4.7256-5.7054-7.4569-1.5811-2.7302-2.8058-5.6579-3.6719-8.7842-.8661-3.1258-1.2986-6.3834-1.2986-9.7728,0-3.2008.4138-6.3459,1.2424-9.4341.8275-3.0877,2.0059-5.9878,3.5307-8.6998,1.5248-2.7115,3.3795-5.2155,5.5641-7.5132,2.1835-2.2966,4.6418-4.2738,7.3725-5.9316,2.7297-1.6567,5.6855-2.9465,8.8687-3.8694,3.182-.9224,6.5616-1.3841,10.1408-1.3841,4.7444,0,9.3674.9235,13.8679,2.7683,4.5005,1.8453,8.5586,4.5756,12.1743,8.1912.715.7155,1.0736,1.5447,1.0736,2.4853Z'/%3e%3cpath%20class='cls-6'%20d='M353.4754,146.9018c4.4619,1.9204,8.36,4.5474,11.6932,7.8806,3.3332,3.3326,5.9691,7.2219,7.9087,11.6651,1.9397,4.4443,2.9095,9.2079,2.9095,14.2921,0,3.3895-.4435,6.6576-1.3273,9.8015-.886,3.1451-2.1184,6.0728-3.7006,8.7842-1.5822,2.7115-3.502,5.1973-5.7616,7.4569-2.2596,2.2596-4.7455,4.18-7.4575,5.7622-2.7109,1.5816-5.6403,2.8157-8.7837,3.7001-3.1456.8843-6.4126,1.3273-9.8021,1.3273s-6.6565-.443-9.801-1.3273c-3.1445-.8843-6.0728-2.1184-8.7837-3.7001-2.712-1.5822-5.1791-3.5026-7.4012-5.7622s-4.1232-4.7455-5.7054-7.4569c-1.5811-2.7115-2.8058-5.6392-3.6719-8.7842-.8661-3.144-1.2986-6.4121-1.2986-9.8015s.4325-6.6465,1.2986-9.7728c.8661-3.1252,2.0908-6.0447,3.6719-8.7561,1.5822-2.7115,3.4832-5.1874,5.7054-7.4282,2.2221-2.2403,4.6892-4.1612,7.4012-5.7622,2.7109-1.6004,5.6392-2.8334,8.7837-3.7001,3.1445-.8661,6.4115-1.2997,9.801-1.2997,5.0842,0,9.8583.9605,14.3214,2.8814ZM327.6021,153.5113c-3.5969,1.5447-6.7227,3.6532-9.3773,6.3266-2.6557,2.6745-4.7554,5.8003-6.299,9.3778-1.5447,3.5781-2.3159,7.4194-2.3159,11.5238,0,4.1436.7712,8.013,2.3159,11.6094,1.5436,3.5969,3.6432,6.732,6.299,9.4054,2.6546,2.6745,5.7804,4.7835,9.3773,6.3271,3.5958,1.5447,7.4652,2.3159,11.6094,2.3159,4.1044,0,7.9551-.7712,11.552-2.3159,3.5958-1.5436,6.7315-3.6526,9.406-6.3271,2.6734-2.6734,4.7819-5.8085,6.3266-9.4054,1.5436-3.5963,2.3159-7.4658,2.3159-11.6094,0-4.1044-.7723-7.9457-2.3159-11.5238-1.5447-3.5776-3.6532-6.7033-6.3266-9.3778-2.6745-2.6734-5.8102-4.7819-9.406-6.3266-3.5969-1.5441-7.4476-2.3165-11.552-2.3165-4.1441,0-8.0136.7723-11.6094,2.3165Z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M136.348,294.1054h-29.4172l-7.827,18.52c-.376.8531-.9724,1.4414-1.7911,1.7652-.8181.3235-1.6712.2979-2.558-.0768-.8525-.375-1.4064-.9721-1.6625-1.7908-.2561-.8184-.1967-1.6369.1792-2.4556l25.5289-59.0388c.5796-1.2959,1.5682-1.9441,2.9671-1.9441.6476,0,1.2278.1711,1.7393.5115.5121.3413.9037.8187,1.1772,1.4326l25.3753,59.0388c.3747.8531.4347,1.6803.1792,2.4812-.2561.8019-.7931,1.3902-1.6119,1.7652-.8187.3747-1.6543.4003-2.5068.0768-.8531-.3238-1.467-.8956-1.8417-1.714l-7.9301-18.5712ZM109.6425,287.6591h23.9945l-12.0232-28.2915-11.9713,28.2915Z'/%3e%3cpath%20class='cls-6'%20d='M172.3644,249.0844c3.0701,0,6.0284.3838,8.8762,1.151,2.8478.7675,5.5001,1.8595,7.9557,3.2743,2.4556,1.4158,4.707,3.1129,6.7529,5.0904,2.0465,1.9785,3.7864,4.1783,5.2184,6.5996,1.4326,2.4222,2.5493,5.0395,3.3511,7.8533.8013,2.8138,1.2022,5.7555,1.2022,8.825,0,4.6046-.8787,8.894-2.6348,12.8669-1.7568,3.9738-4.1437,7.4358-7.1619,10.3857-3.0189,2.9502-6.5487,5.2612-10.5905,6.9321-4.0419,1.6715-8.3648,2.5068-12.9693,2.5068h-10.999c-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h10.999ZM172.5181,255.5816h-7.9295v52.5417h7.827c3.7171,0,7.205-.6651,10.4625-1.9953,3.2568-1.3299,6.0959-3.1719,8.5184-5.5251,2.4212-2.3535,4.331-5.1241,5.7299-8.3135,1.3977-3.1888,2.0971-6.6589,2.0971-10.4113,0-3.6834-.6995-7.1279-2.0971-10.3342-1.3989-3.2056-3.2999-5.986-5.7043-8.3392-2.405-2.3535-5.2359-4.212-8.4928-5.5766-3.2575-1.3636-6.7279-2.0465-10.4113-2.0465Z'/%3e%3cpath%20class='cls-6'%20d='M221.8878,286.3801v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183s-.5034,5.1248-1.5088,7.3927c-1.0067,2.2686-2.3788,4.2295-4.1187,5.8836-1.7393,1.6547-3.7858,2.9505-6.139,3.8882-2.3532.9383-4.8781,1.4067-7.5716,1.4067h-13.9667ZM221.8878,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M303.8973,267.8089c0,2.3198-.3835,4.4943-1.151,6.5231-.7675,2.0297-1.8336,3.837-3.1975,5.423-1.3646,1.586-2.9846,2.9249-4.86,4.0159-1.876,1.092-3.9226,1.842-6.1396,2.2511l14.8366,23.7384c.4771.8874.5627,1.7571.2561,2.6092-.3073.8528-.8699,1.4667-1.6887,1.8417-.7844.4094-1.5775.4862-2.3788.2301-.8019-.2557-1.4245-.7585-1.8673-1.5091l-16.3198-26.5522h-10.7947v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183ZM270.5925,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M356.464,251.2331c4.0419,1.7396,7.5722,4.1184,10.5905,7.137,3.0183,3.0183,5.4052,6.5405,7.1626,10.5646,1.7561,4.0247,2.6342,8.3392,2.6342,12.9434,0,3.0698-.4009,6.0291-1.2022,8.8762-.8013,2.8484-1.9185,5.4998-3.3505,7.9557-1.4326,2.4556-3.1719,4.7067-5.2184,6.7529-2.0465,2.0465-4.2979,3.7861-6.7535,5.2184-2.4556,1.4326-5.1079,2.5502-7.9551,3.3511-2.8484.8009-5.8067,1.2022-8.8762,1.2022s-6.0291-.4013-8.8762-1.2022c-2.8484-.8009-5.5001-1.9185-7.9557-3.3511-2.4556-1.4323-4.6901-3.1719-6.7023-5.2184-2.0128-2.0462-3.7346-4.2973-5.1666-6.7529-1.4326-2.4559-2.5418-5.1073-3.3255-7.9557-.785-2.8472-1.1766-5.8064-1.1766-8.8762s.3916-6.0194,1.1766-8.8506c.7838-2.8306,1.8929-5.4742,3.3255-7.9298,1.432-2.4559,3.1538-4.6979,5.1666-6.7276,2.0122-2.029,4.2467-3.7683,6.7023-5.2184,2.4556-1.4492,5.1073-2.5661,7.9557-3.3508,2.8472-.7844,5.8061-1.1769,8.8762-1.1769,4.6039,0,8.9274.8699,12.9687,2.6092ZM333.0328,257.2187c-3.2575,1.3989-6.0878,3.3087-8.4928,5.7299-2.4044,2.4222-4.306,5.2528-5.7043,8.4928-1.3989,3.2406-2.0977,6.7195-2.0977,10.4366,0,3.7524.6988,7.2569,2.0977,10.5134,1.3983,3.2575,3.2999,6.0968,5.7043,8.5184,2.405,2.4222,5.2353,4.3316,8.4928,5.7299,3.2568,1.3989,6.761,2.0974,10.5137,2.0974,3.7171,0,7.2044-.6985,10.4619-2.0974,3.2568-1.3983,6.0959-3.3077,8.5184-5.7299,2.4212-2.4216,4.331-5.2609,5.7299-8.5184,1.3983-3.2565,2.0977-6.761,2.0977-10.5134,0-3.7171-.6995-7.196-2.0977-10.4366-1.3989-3.24-3.3087-6.0706-5.7299-8.4928-2.4225-2.4212-5.2615-4.331-8.5184-5.7299-3.2575-1.398-6.7448-2.0974-10.4619-2.0974-3.7527,0-7.2569.6995-10.5137,2.0974Z'/%3e%3c/g%3e%3c/svg%3e", ci = ({
955
+ }, pn = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='RE'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20453.5433%20453.5433'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Degradado_sin_nombre_34-4);%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-2%20{%20fill:%20url(%23Degradado_sin_nombre_34-2);%20}%20.cls-3%20{%20fill:%20url(%23Degradado_sin_nombre_38-2);%20}%20.cls-4%20{%20fill:%20url(%23Degradado_sin_nombre_38);%20}%20.cls-5%20{%20fill:%20url(%23Degradado_sin_nombre_34-3);%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-7%20{%20fill:%20url(%23Degradado_sin_nombre_34);%20}%20%3c/style%3e%3clinearGradient%20id='Degradado_sin_nombre_34'%20data-name='Degradado%20sin%20nombre%2034'%20x1='56.7178'%20y1='226.7717'%20x2='396.8255'%20y2='226.7717'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_34-2'%20data-name='Degradado%20sin%20nombre%2034'%20x1='14.4541'%20y1='175.1242'%20x2='234.3511'%20y2='175.1242'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_38'%20data-name='Degradado%20sin%20nombre%2038'%20x1='293.0693'%20y1='107.0773'%20x2='515.5374'%20y2='107.0773'%20gradientTransform='translate(68.1195%20732.5845)%20rotate(-90)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_38-2'%20data-name='Degradado%20sin%20nombre%2038'%20x1='314.2624'%20y1='364.163'%20x2='535.4932'%20y2='364.163'%20gradientTransform='translate(753.3515%20642.5821)%20rotate(-180)'%20xlink:href='%23Degradado_sin_nombre_38'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-3'%20data-name='Degradado%20sin%20nombre%2034'%20x1='117.6042'%20y1='14.1612'%20x2='122.7773'%20y2='14.1612'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-4'%20data-name='Degradado%20sin%20nombre%2034'%20x1='134.9218'%20y1='124.6425'%20x2='439.0892'%20y2='124.6425'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3c/defs%3e%3cg%3e%3crect%20class='cls-7'%20x='56.7178'%20y='60.1189'%20width='340.1077'%20height='333.3056'/%3e%3cpath%20class='cls-2'%20d='M124.4026,14.0281C63.6799,14.0281,14.4541,62.6329,14.4541,122.5894v213.6309c60.7232,0,109.9485-48.6043,109.9485-108.5614v-105.0695c0-59.9566,49.2258-108.5614,109.9485-108.5614h-109.9485Z'/%3e%3cpath%20class='cls-4'%20d='M14.4541,328.2812c0,61.4329,48.4982,111.234,108.3232,111.234h213.1623c0-61.4329-48.4977-111.234-108.3227-111.234h-104.8396c-59.825,0-108.3232-49.8009-108.3232-111.234v111.234Z'/%3e%3cpath%20class='cls-3'%20d='M328.4739,439.5152c61.0911,0,110.6151-48.6045,110.6151-108.5614V117.323c-61.0911,0-110.6151,48.6048-110.6151,108.5614v105.0695c0,59.9568-49.5245,108.5614-110.6156,108.5614h110.6156Z'/%3e%3cg%3e%3cpath%20class='cls-5'%20d='M122.7773,14.0281h-5.1731c0,.0903.0123.1765.0128.2663,1.7221-.083,3.4187-.2663,5.1603-.2663Z'/%3e%3cpath%20class='cls-1'%20d='M330.7665,14.0281h-99.666c-41.8918,0-78.1576,24.3255-96.1787,59.8592,19.2851,30.5087,52.7999,50.7552,91.0051,50.7552h104.8396c59.825,0,108.3227,49.5235,108.3227,110.6144v-110.6144c0-61.0904-48.4977-110.6144-108.3227-110.6144Z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M107.9407,179.8078c-2.6359-.9974-4.9904-2.2596-7.0614-3.785s-3.7469-3.3514-5.0268-5.4797c-1.281-2.1272-1.9209-4.6412-1.9209-7.5413,0-2.9376.6399-5.5829,1.9209-7.9369,1.2799-2.3534,2.9658-4.3499,5.0555-5.9884,2.0897-1.6379,4.4531-2.8996,7.0901-3.785,2.6348-.8843,5.3093-1.3273,8.0213-1.3273,2.1835,0,4.3119.2262,6.3839.678,2.0699.4518,4.0106,1.121,5.8179,2.0053,1.8084.8854,3.4457,1.9772,4.9154,3.2764,1.4685,1.2992,2.6922,2.8157,3.6719,4.5474.4138.678.5075,1.3659.2825,2.0621-.2262.6973-.5473,1.2523-.961,1.6666-.5274.4899-1.2148.7817-2.0621.8755-.8474.0943-1.666-.16-2.4571-.7624-2.1846-2.6739-4.5193-4.548-7.0051-5.621-2.4847-1.0736-5.3093-1.6103-8.4737-1.6103-1.7698,0-3.5395.2543-5.3093.763-1.7709.5081-3.3806,1.2523-4.8304,2.2315-1.4498.9798-2.637,2.2127-3.5594,3.7001-.9224,1.4879-1.3836,3.2113-1.3836,5.1686,0,2.0721.5451,3.7949,1.6385,5.1692,1.0912,1.3753,2.4759,2.5333,4.1519,3.4744,1.6749.9417,3.5108,1.7041,5.5079,2.2878,1.9959.5842,3.8981,1.1017,5.7054,1.5535,2.787.8667,5.5079,1.8453,8.1636,2.9376,2.6546,1.0923,5.0081,2.429,7.0614,4.0106,2.0522,1.5816,3.6995,3.4656,4.943,5.6491,1.2424,2.1846,1.8635,4.8017,1.8635,7.8525,0,3.2764-.6499,6.2422-1.9485,8.8973-1.2997,2.6546-3.0507,4.9341-5.2541,6.8352-2.2034,1.9022-4.7642,3.3707-7.6826,4.4062-2.9194,1.0355-5.979,1.5535-9.1798,1.5535-2.6745,0-5.2541-.358-7.7388-1.073-2.4858-.715-4.7742-1.6854-6.8639-2.9095-2.0908-1.2236-3.918-2.6734-5.4803-4.3499-1.5623-1.6754-2.7584-3.4739-3.587-5.3948-.5649-1.2048-.6499-2.2122-.2538-3.0221.395-.8099.9687-1.4211,1.7223-1.836.8661-.4893,1.6859-.5936,2.4582-.3111.7712.2825,1.5712.9516,2.4009,2.0059.715,1.5066,1.6848,2.8621,2.9084,4.0669,1.2236,1.206,2.6083,2.2315,4.153,3.0789,1.5436.8474,3.2195,1.4972,5.0268,1.9491,1.8084.4518,3.6719.678,5.5928.678,1.9959,0,3.9831-.3012,5.9602-.9042,1.9772-.6019,3.7569-1.5055,5.338-2.7115,1.5822-1.2048,2.8621-2.7015,3.8418-4.4911.9787-1.788,1.4685-3.8501,1.4685-6.1853,0-2.1471-.4899-3.945-1.4685-5.3953-.9798-1.4492-2.2795-2.6922-3.8981-3.7282-1.6197-1.0355-3.4457-1.9209-5.4792-2.6552-2.0346-.7343-4.0868-1.4404-6.1577-2.1184-2.712-.6399-5.3865-1.4592-8.0224-2.4571Z'/%3e%3cpath%20class='cls-6'%20d='M158.3292,213.335c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.3034c0-1.0167.3476-1.8547,1.0449-2.514.6962-.6587,1.5347-.9886,2.5145-.9886.9787,0,1.8161.3299,2.5134.9886.6962.6592,1.0449,1.4972,1.0449,2.514v65.3034Z'/%3e%3cpath%20class='cls-6'%20d='M180.1334,158.8212l-5.9316-8.4737c-.3762-.4888-.5925-1.0636-.6499-1.7229-.0563-.6587.0287-1.2799.2549-1.8641.2262-.5837.5737-1.0824,1.0449-1.4972.47-.4138,1.0449-.6212,1.7234-.6212h.2825c.3751.0756.7525.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412l.2251.1131c.1136.0761.2163.1694.3111.2825.0938.1131.1975.2262.3111.3387l.1688.2825,39.5443,56.3217v-54.5139c0-.9787.3476-1.8167,1.0449-2.514.6973-.6962,1.5535-1.0449,2.5708-1.0449s1.8547.3487,2.5134,1.0449c.6587.6973.9886,1.5353.9886,2.514v65.2472c0,.8667-.2736,1.6197-.8187,2.2596-.5462.641-1.2335,1.0366-2.0621,1.1866-.1512.0375-.3762.0563-.6775.0563-1.0548,0-1.9408-.3575-2.6557-1.0736l-.2251-.3387-.1699-.1694-39.488-56.4348v54.5139c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.1903c0-.9792.3476-1.8078,1.0449-2.4858.6962-.678,1.5347-1.0167,2.5145-1.0167h.2825c.4138.0756.79.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412.075,0,.1501.0381.2251.1131.4149.3018.7437.6973.9886,1.1861.2449.4899.3674,1.0173.3674,1.5822v10.6765Z'/%3e%3cpath%20class='cls-6'%20d='M297.6354,157.4089c0,.9417-.3398,1.7709-1.0173,2.4858-.7161.678-1.5734,1.0267-2.5708,1.0449-.9974.0193-1.8172-.3106-2.4571-.9886-2.9757-2.9376-6.2703-5.1405-9.8859-6.6096-3.6156-1.4685-7.3626-2.2028-11.2419-2.2028-4.0669,0-7.8999.7723-11.4957,2.3159-3.5969,1.5447-6.7315,3.6537-9.406,6.3271-2.6745,2.6745-4.783,5.8185-6.3266,9.4341-1.5447,3.6151-2.3159,7.4762-2.3159,11.5807,0,3.9544.7425,7.7206,2.231,11.2982,1.4873,3.5781,3.5395,6.7221,6.1577,9.4341,2.6171,2.7115,5.7241,4.8679,9.321,6.4678,3.5958,1.6015,7.5038,2.4009,11.7219,2.4009,3.8782.0381,7.6064-.6212,11.1857-1.9772,3.577-1.3555,6.8716-3.5395,9.8859-6.5527.715-.678,1.5623-1.0256,2.5421-1.0449.9787-.0188,1.8073.2918,2.4847.9318.715.678,1.0636,1.5254,1.046,2.5421-.0199,1.0167-.3487,1.8459-.9886,2.4858-3.6918,3.6912-7.7774,6.4115-12.2592,8.1631-4.4818,1.751-9.1147,2.6265-13.8966,2.6265-3.3519,0-6.5914-.443-9.716-1.3273-3.1269-.8843-6.0452-2.1184-8.7561-3.7001-2.712-1.5822-5.1791-3.4932-7.4012-5.7341-2.2221-2.2403-4.1232-4.7256-5.7054-7.4569-1.5811-2.7302-2.8058-5.6579-3.6719-8.7842-.8661-3.1258-1.2986-6.3834-1.2986-9.7728,0-3.2008.4138-6.3459,1.2424-9.4341.8275-3.0877,2.0059-5.9878,3.5307-8.6998,1.5248-2.7115,3.3795-5.2155,5.5641-7.5132,2.1835-2.2966,4.6418-4.2738,7.3725-5.9316,2.7297-1.6567,5.6855-2.9465,8.8687-3.8694,3.182-.9224,6.5616-1.3841,10.1408-1.3841,4.7444,0,9.3674.9235,13.8679,2.7683,4.5005,1.8453,8.5586,4.5756,12.1743,8.1912.715.7155,1.0736,1.5447,1.0736,2.4853Z'/%3e%3cpath%20class='cls-6'%20d='M353.4754,146.9018c4.4619,1.9204,8.36,4.5474,11.6932,7.8806,3.3332,3.3326,5.9691,7.2219,7.9087,11.6651,1.9397,4.4443,2.9095,9.2079,2.9095,14.2921,0,3.3895-.4435,6.6576-1.3273,9.8015-.886,3.1451-2.1184,6.0728-3.7006,8.7842-1.5822,2.7115-3.502,5.1973-5.7616,7.4569-2.2596,2.2596-4.7455,4.18-7.4575,5.7622-2.7109,1.5816-5.6403,2.8157-8.7837,3.7001-3.1456.8843-6.4126,1.3273-9.8021,1.3273s-6.6565-.443-9.801-1.3273c-3.1445-.8843-6.0728-2.1184-8.7837-3.7001-2.712-1.5822-5.1791-3.5026-7.4012-5.7622s-4.1232-4.7455-5.7054-7.4569c-1.5811-2.7115-2.8058-5.6392-3.6719-8.7842-.8661-3.144-1.2986-6.4121-1.2986-9.8015s.4325-6.6465,1.2986-9.7728c.8661-3.1252,2.0908-6.0447,3.6719-8.7561,1.5822-2.7115,3.4832-5.1874,5.7054-7.4282,2.2221-2.2403,4.6892-4.1612,7.4012-5.7622,2.7109-1.6004,5.6392-2.8334,8.7837-3.7001,3.1445-.8661,6.4115-1.2997,9.801-1.2997,5.0842,0,9.8583.9605,14.3214,2.8814ZM327.6021,153.5113c-3.5969,1.5447-6.7227,3.6532-9.3773,6.3266-2.6557,2.6745-4.7554,5.8003-6.299,9.3778-1.5447,3.5781-2.3159,7.4194-2.3159,11.5238,0,4.1436.7712,8.013,2.3159,11.6094,1.5436,3.5969,3.6432,6.732,6.299,9.4054,2.6546,2.6745,5.7804,4.7835,9.3773,6.3271,3.5958,1.5447,7.4652,2.3159,11.6094,2.3159,4.1044,0,7.9551-.7712,11.552-2.3159,3.5958-1.5436,6.7315-3.6526,9.406-6.3271,2.6734-2.6734,4.7819-5.8085,6.3266-9.4054,1.5436-3.5963,2.3159-7.4658,2.3159-11.6094,0-4.1044-.7723-7.9457-2.3159-11.5238-1.5447-3.5776-3.6532-6.7033-6.3266-9.3778-2.6745-2.6734-5.8102-4.7819-9.406-6.3266-3.5969-1.5441-7.4476-2.3165-11.552-2.3165-4.1441,0-8.0136.7723-11.6094,2.3165Z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M136.348,294.1054h-29.4172l-7.827,18.52c-.376.8531-.9724,1.4414-1.7911,1.7652-.8181.3235-1.6712.2979-2.558-.0768-.8525-.375-1.4064-.9721-1.6625-1.7908-.2561-.8184-.1967-1.6369.1792-2.4556l25.5289-59.0388c.5796-1.2959,1.5682-1.9441,2.9671-1.9441.6476,0,1.2278.1711,1.7393.5115.5121.3413.9037.8187,1.1772,1.4326l25.3753,59.0388c.3747.8531.4347,1.6803.1792,2.4812-.2561.8019-.7931,1.3902-1.6119,1.7652-.8187.3747-1.6543.4003-2.5068.0768-.8531-.3238-1.467-.8956-1.8417-1.714l-7.9301-18.5712ZM109.6425,287.6591h23.9945l-12.0232-28.2915-11.9713,28.2915Z'/%3e%3cpath%20class='cls-6'%20d='M172.3644,249.0844c3.0701,0,6.0284.3838,8.8762,1.151,2.8478.7675,5.5001,1.8595,7.9557,3.2743,2.4556,1.4158,4.707,3.1129,6.7529,5.0904,2.0465,1.9785,3.7864,4.1783,5.2184,6.5996,1.4326,2.4222,2.5493,5.0395,3.3511,7.8533.8013,2.8138,1.2022,5.7555,1.2022,8.825,0,4.6046-.8787,8.894-2.6348,12.8669-1.7568,3.9738-4.1437,7.4358-7.1619,10.3857-3.0189,2.9502-6.5487,5.2612-10.5905,6.9321-4.0419,1.6715-8.3648,2.5068-12.9693,2.5068h-10.999c-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h10.999ZM172.5181,255.5816h-7.9295v52.5417h7.827c3.7171,0,7.205-.6651,10.4625-1.9953,3.2568-1.3299,6.0959-3.1719,8.5184-5.5251,2.4212-2.3535,4.331-5.1241,5.7299-8.3135,1.3977-3.1888,2.0971-6.6589,2.0971-10.4113,0-3.6834-.6995-7.1279-2.0971-10.3342-1.3989-3.2056-3.2999-5.986-5.7043-8.3392-2.405-2.3535-5.2359-4.212-8.4928-5.5766-3.2575-1.3636-6.7279-2.0465-10.4113-2.0465Z'/%3e%3cpath%20class='cls-6'%20d='M221.8878,286.3801v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183s-.5034,5.1248-1.5088,7.3927c-1.0067,2.2686-2.3788,4.2295-4.1187,5.8836-1.7393,1.6547-3.7858,2.9505-6.139,3.8882-2.3532.9383-4.8781,1.4067-7.5716,1.4067h-13.9667ZM221.8878,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M303.8973,267.8089c0,2.3198-.3835,4.4943-1.151,6.5231-.7675,2.0297-1.8336,3.837-3.1975,5.423-1.3646,1.586-2.9846,2.9249-4.86,4.0159-1.876,1.092-3.9226,1.842-6.1396,2.2511l14.8366,23.7384c.4771.8874.5627,1.7571.2561,2.6092-.3073.8528-.8699,1.4667-1.6887,1.8417-.7844.4094-1.5775.4862-2.3788.2301-.8019-.2557-1.4245-.7585-1.8673-1.5091l-16.3198-26.5522h-10.7947v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183ZM270.5925,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M356.464,251.2331c4.0419,1.7396,7.5722,4.1184,10.5905,7.137,3.0183,3.0183,5.4052,6.5405,7.1626,10.5646,1.7561,4.0247,2.6342,8.3392,2.6342,12.9434,0,3.0698-.4009,6.0291-1.2022,8.8762-.8013,2.8484-1.9185,5.4998-3.3505,7.9557-1.4326,2.4556-3.1719,4.7067-5.2184,6.7529-2.0465,2.0465-4.2979,3.7861-6.7535,5.2184-2.4556,1.4326-5.1079,2.5502-7.9551,3.3511-2.8484.8009-5.8067,1.2022-8.8762,1.2022s-6.0291-.4013-8.8762-1.2022c-2.8484-.8009-5.5001-1.9185-7.9557-3.3511-2.4556-1.4323-4.6901-3.1719-6.7023-5.2184-2.0128-2.0462-3.7346-4.2973-5.1666-6.7529-1.4326-2.4559-2.5418-5.1073-3.3255-7.9557-.785-2.8472-1.1766-5.8064-1.1766-8.8762s.3916-6.0194,1.1766-8.8506c.7838-2.8306,1.8929-5.4742,3.3255-7.9298,1.432-2.4559,3.1538-4.6979,5.1666-6.7276,2.0122-2.029,4.2467-3.7683,6.7023-5.2184,2.4556-1.4492,5.1073-2.5661,7.9557-3.3508,2.8472-.7844,5.8061-1.1769,8.8762-1.1769,4.6039,0,8.9274.8699,12.9687,2.6092ZM333.0328,257.2187c-3.2575,1.3989-6.0878,3.3087-8.4928,5.7299-2.4044,2.4222-4.306,5.2528-5.7043,8.4928-1.3989,3.2406-2.0977,6.7195-2.0977,10.4366,0,3.7524.6988,7.2569,2.0977,10.5134,1.3983,3.2575,3.2999,6.0968,5.7043,8.5184,2.405,2.4222,5.2353,4.3316,8.4928,5.7299,3.2568,1.3989,6.761,2.0974,10.5137,2.0974,3.7171,0,7.2044-.6985,10.4619-2.0974,3.2568-1.3983,6.0959-3.3077,8.5184-5.7299,2.4212-2.4216,4.331-5.2609,5.7299-8.5184,1.3983-3.2565,2.0977-6.761,2.0977-10.5134,0-3.7171-.6995-7.196-2.0977-10.4366-1.3989-3.24-3.3087-6.0706-5.7299-8.4928-2.4225-2.4212-5.2615-4.331-8.5184-5.7299-3.2575-1.398-6.7448-2.0974-10.4619-2.0974-3.7527,0-7.2569.6995-10.5137,2.0974Z'/%3e%3c/g%3e%3c/svg%3e", di = ({
944
956
  title: e,
945
957
  isLoading: t,
946
958
  zIndex: n = 9999,
947
959
  sx: i,
948
- logo: a = hn,
949
- logoAlt: l = "Logo ADPRO",
950
- logoWidth: s = "120px"
960
+ logo: s = pn,
961
+ logoAlt: c = "Logo ADPRO",
962
+ logoWidth: a = "120px"
951
963
  }) => t ? /* @__PURE__ */ o(X, { theme: O, children: /* @__PURE__ */ _(
952
964
  $,
953
965
  {
@@ -976,7 +988,7 @@ const ze = "DD/MM/YYYY", Re = (e, t) => {
976
988
  overflow: "hidden",
977
989
  fontFamily: "Nunito, Segoe UI, sans-serif"
978
990
  }, children: [
979
- /* @__PURE__ */ o("img", { src: a, alt: l, className: "imagenLogoADPRO", width: s, style: { zIndex: 10 } }),
991
+ /* @__PURE__ */ o("img", { src: s, alt: c, className: "imagenLogoADPRO", width: a, style: { zIndex: 10 } }),
980
992
  /* @__PURE__ */ _($, { sx: { display: "flex", gap: "5px" }, children: [
981
993
  /* @__PURE__ */ o("div", { className: "pointLoading", style: { animationDelay: "0s" }, children: "•" }),
982
994
  /* @__PURE__ */ o("div", { className: "pointLoading", style: { animationDelay: "0.2s" }, children: "•" }),
@@ -1002,7 +1014,7 @@ const ze = "DD/MM/YYYY", Re = (e, t) => {
1002
1014
  }
1003
1015
  ) }) : null;
1004
1016
  let fn = 0;
1005
- const je = He((e, t) => ({
1017
+ const Ze = Ve((e, t) => ({
1006
1018
  snackPack: [],
1007
1019
  open: !1,
1008
1020
  messageInfo: void 0,
@@ -1016,8 +1028,8 @@ const je = He((e, t) => ({
1016
1028
  snackAnchorOrigin: n.snackAnchorOrigin,
1017
1029
  key: ++fn
1018
1030
  };
1019
- e((a) => ({
1020
- snackPack: [...a.snackPack, i]
1031
+ e((s) => ({
1032
+ snackPack: [...s.snackPack, i]
1021
1033
  }));
1022
1034
  },
1023
1035
  close: () => {
@@ -1030,10 +1042,10 @@ const je = He((e, t) => ({
1030
1042
  processQueue: () => {
1031
1043
  const { snackPack: n, messageInfo: i } = t();
1032
1044
  if (n.length > 0 && !i) {
1033
- const a = n[0];
1034
- e((l) => ({
1035
- messageInfo: a,
1036
- snackPack: l.snackPack.slice(1),
1045
+ const s = n[0];
1046
+ e((c) => ({
1047
+ messageInfo: s,
1048
+ snackPack: c.snackPack.slice(1),
1037
1049
  open: !0
1038
1050
  }));
1039
1051
  }
@@ -1042,24 +1054,24 @@ const je = He((e, t) => ({
1042
1054
  e({ messageInfo: void 0 }), t().processQueue();
1043
1055
  }
1044
1056
  }));
1045
- function pn(e) {
1046
- const { messageInfo: t } = je();
1047
- return /* @__PURE__ */ o(lt, { ...e, direction: (t == null ? void 0 : t.snackTransitionDirection) ?? "up", mountOnEnter: !0, unmountOnExit: !0 });
1057
+ function mn(e) {
1058
+ const { messageInfo: t } = Ze();
1059
+ return /* @__PURE__ */ o(ct, { ...e, direction: (t == null ? void 0 : t.snackTransitionDirection) ?? "up", mountOnEnter: !0, unmountOnExit: !0 });
1048
1060
  }
1049
- function Ee(e, t) {
1061
+ function Pe(e, t) {
1050
1062
  const n = t ? { sx: { height: "1.25rem", width: "1.25rem" }, fontSize: "medium" } : { fontSize: "medium" };
1051
1063
  switch (e) {
1052
1064
  case "success":
1053
- return /* @__PURE__ */ o(Et, { sx: { color: O.palette.success.main, ...n.sx }, fontSize: n.fontSize });
1065
+ return /* @__PURE__ */ o(Pt, { sx: { color: O.palette.success.main, ...n.sx }, fontSize: n.fontSize });
1054
1066
  case "warning":
1055
- return /* @__PURE__ */ o(Pt, { sx: { color: O.palette.warning.main, ...n.sx }, fontSize: n.fontSize });
1067
+ return /* @__PURE__ */ o(Lt, { sx: { color: O.palette.warning.main, ...n.sx }, fontSize: n.fontSize });
1056
1068
  case "error":
1057
- return /* @__PURE__ */ o(Lt, { sx: { color: O.palette.error.main, ...n.sx }, fontSize: n.fontSize });
1069
+ return /* @__PURE__ */ o(Nt, { sx: { color: O.palette.error.main, ...n.sx }, fontSize: n.fontSize });
1058
1070
  default:
1059
- return /* @__PURE__ */ o(Nt, { sx: { color: O.palette.info.main, ...n.sx }, fontSize: n.fontSize });
1071
+ return /* @__PURE__ */ o(Ft, { sx: { color: O.palette.info.main, ...n.sx }, fontSize: n.fontSize });
1060
1072
  }
1061
1073
  }
1062
- function Pe(e) {
1074
+ function Le(e) {
1063
1075
  switch (e) {
1064
1076
  case "success":
1065
1077
  return O.palette.success[50];
@@ -1071,7 +1083,7 @@ function Pe(e) {
1071
1083
  return O.palette.info[50];
1072
1084
  }
1073
1085
  }
1074
- function mn(e) {
1086
+ function gn(e) {
1075
1087
  switch (e) {
1076
1088
  case "warning":
1077
1089
  return "warning";
@@ -1083,42 +1095,42 @@ function mn(e) {
1083
1095
  return "info";
1084
1096
  }
1085
1097
  }
1086
- function Le(e, t, n, i) {
1098
+ function Ne(e, t, n, i) {
1087
1099
  return /* @__PURE__ */ _(Q, { children: [
1088
1100
  typeof e == "string" ? /* @__PURE__ */ o(W, { variant: n, color: O.palette.text.primary, children: e }) : e,
1089
1101
  t !== "" && (typeof t == "string" ? /* @__PURE__ */ o(W, { variant: i, color: O.palette.text.primary, children: t }) : t)
1090
1102
  ] });
1091
1103
  }
1092
- const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1093
- const { open: e, messageInfo: t, snackPack: n, close: i, processQueue: a, onExited: l } = je();
1104
+ const Fe = 5e3, xn = 3e3, vn = 100, ui = () => {
1105
+ const { open: e, messageInfo: t, snackPack: n, close: i, processQueue: s, onExited: c } = Ze();
1094
1106
  E(() => {
1095
- a();
1096
- }, [n, t, e, a]);
1097
- const s = (m, d) => {
1107
+ s();
1108
+ }, [n, t, e, s]);
1109
+ const a = (m, d) => {
1098
1110
  i();
1099
- }, [c, f] = F(100);
1111
+ }, [l, p] = F(100);
1100
1112
  return E(() => {
1101
1113
  let m;
1102
1114
  if (e && t && t.type !== "snack") {
1103
1115
  const d = Date.now();
1104
1116
  m = setInterval(() => {
1105
- const g = Date.now() - d, x = Math.max(100 - g / Ne * 100, 0);
1106
- f(x), x <= 0 && clearInterval(m);
1107
- }, xn);
1117
+ const g = Date.now() - d, x = Math.max(100 - g / Fe * 100, 0);
1118
+ p(x), x <= 0 && clearInterval(m);
1119
+ }, vn);
1108
1120
  } else
1109
- f(100);
1121
+ p(100);
1110
1122
  return () => clearInterval(m);
1111
1123
  }, [e, t]), /* @__PURE__ */ o(Q, { children: t && (t.type === "snack" ? /* @__PURE__ */ o(
1112
- be,
1124
+ Ce,
1113
1125
  {
1114
1126
  anchorOrigin: t.snackAnchorOrigin ?? { horizontal: "center", vertical: "bottom" },
1115
1127
  open: e,
1116
- autoHideDuration: gn,
1117
- onClose: s,
1118
- slotProps: { transition: { onExited: l } },
1119
- slots: { transition: pn },
1128
+ autoHideDuration: xn,
1129
+ onClose: a,
1130
+ slotProps: { transition: { onExited: c } },
1131
+ slots: { transition: mn },
1120
1132
  message: t && /* @__PURE__ */ _(z, { direction: "row", alignItems: "flex-start", gap: 2, children: [
1121
- Ee(t.severity, !0),
1133
+ Pe(t.severity, !0),
1122
1134
  /* @__PURE__ */ o(
1123
1135
  z,
1124
1136
  {
@@ -1128,7 +1140,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1128
1140
  justifyContent: "center",
1129
1141
  alignItems: "flex-start",
1130
1142
  alignSelf: "stretch",
1131
- children: Le(
1143
+ children: Ne(
1132
1144
  t.title,
1133
1145
  t.subtitle,
1134
1146
  "body2",
@@ -1138,13 +1150,13 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1138
1150
  )
1139
1151
  ] }),
1140
1152
  action: /* @__PURE__ */ o(
1141
- Ce,
1153
+ Ie,
1142
1154
  {
1143
- onClick: s,
1155
+ onClick: a,
1144
1156
  size: "small",
1145
1157
  sx: { height: "1.375rem", width: "1.375rem" },
1146
1158
  children: /* @__PURE__ */ o(
1147
- Ie,
1159
+ we,
1148
1160
  {
1149
1161
  sx: { color: O.palette.action.active, height: "1rem", width: "1rem" },
1150
1162
  fontSize: "small"
@@ -1155,7 +1167,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1155
1167
  sx: {
1156
1168
  zIndex: "99999 !important",
1157
1169
  "& .MuiPaper-root": {
1158
- backgroundColor: Pe(t.severity),
1170
+ backgroundColor: Le(t.severity),
1159
1171
  padding: "0.38rem 1rem",
1160
1172
  display: "flex",
1161
1173
  alignItems: "center",
@@ -1169,13 +1181,13 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1169
1181
  },
1170
1182
  t ? t.key : void 0
1171
1183
  ) : /* @__PURE__ */ o(
1172
- be,
1184
+ Ce,
1173
1185
  {
1174
1186
  anchorOrigin: { horizontal: "right", vertical: "top" },
1175
1187
  open: e,
1176
- autoHideDuration: Ne,
1177
- onClose: s,
1178
- slotProps: { transition: { onExited: l } },
1188
+ autoHideDuration: Fe,
1189
+ onClose: a,
1190
+ slotProps: { transition: { onExited: c } },
1179
1191
  message: t && /* @__PURE__ */ _($, { alignSelf: "stretch", sx: { minWidth: "288px !important", flex: 1 }, children: [
1180
1192
  /* @__PURE__ */ _(
1181
1193
  z,
@@ -1197,7 +1209,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1197
1209
  height: "2.25rem",
1198
1210
  borderRadius: "50%",
1199
1211
  bgcolor: t.severity === "warning" ? O.palette.warning[100] : t.severity === "error" ? O.palette.error[100] : t.severity === "success" ? O.palette.success[100] : O.palette.info[100],
1200
- children: Ee(t.severity, !1)
1212
+ children: Pe(t.severity, !1)
1201
1213
  }
1202
1214
  ),
1203
1215
  /* @__PURE__ */ o(at, { orientation: "vertical", flexItem: !0 }),
@@ -1210,7 +1222,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1210
1222
  alignItems: "flex-start",
1211
1223
  alignSelf: "stretch",
1212
1224
  flex: 1,
1213
- children: Le(
1225
+ children: Ne(
1214
1226
  t.title,
1215
1227
  t.subtitle,
1216
1228
  "subtitle2",
@@ -1227,13 +1239,13 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1227
1239
  alignSelf: "stretch",
1228
1240
  pt: t.subtitle === "" ? 1 : 0,
1229
1241
  children: /* @__PURE__ */ o(
1230
- Ce,
1242
+ Ie,
1231
1243
  {
1232
- onClick: s,
1244
+ onClick: a,
1233
1245
  size: "small",
1234
1246
  sx: { height: "1.375rem", width: "1.375rem" },
1235
1247
  children: /* @__PURE__ */ o(
1236
- Ie,
1248
+ we,
1237
1249
  {
1238
1250
  sx: { color: O.palette.action.active, height: "1rem", width: "1rem" },
1239
1251
  fontSize: "small"
@@ -1247,11 +1259,11 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1247
1259
  }
1248
1260
  ),
1249
1261
  /* @__PURE__ */ o(
1250
- st,
1262
+ lt,
1251
1263
  {
1252
1264
  variant: "determinate",
1253
- value: c,
1254
- color: mn(t.severity),
1265
+ value: l,
1266
+ color: gn(t.severity),
1255
1267
  sx: { flex: 1 }
1256
1268
  }
1257
1269
  )
@@ -1262,7 +1274,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1262
1274
  zIndex: "999999 !important"
1263
1275
  },
1264
1276
  "& .MuiPaper-root": {
1265
- backgroundColor: Pe(t.severity),
1277
+ backgroundColor: Le(t.severity),
1266
1278
  padding: 0,
1267
1279
  display: "flex",
1268
1280
  alignItems: "center",
@@ -1281,7 +1293,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1281
1293
  },
1282
1294
  t ? t.key : void 0
1283
1295
  )) });
1284
- }, vn = {
1296
+ }, yn = {
1285
1297
  id: "ID",
1286
1298
  Usuario: "Usuario",
1287
1299
  FechaHora: "Fecha y hora",
@@ -1290,7 +1302,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1290
1302
  Origen: "Origen Cambio",
1291
1303
  Comentario: "Comentario",
1292
1304
  TipoAfectacion: "Tipo de afectación"
1293
- }, yn = (e, t) => ({
1305
+ }, Sn = (e, t) => ({
1294
1306
  id: -1,
1295
1307
  open: !1,
1296
1308
  title: "",
@@ -1306,14 +1318,14 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1306
1318
  fullWidth: !1,
1307
1319
  filterName: "",
1308
1320
  onClose: () => e((n) => ({ ...n, open: !1 })),
1309
- show: ({ id: n, open: i, serviceUsuario: a, title: l, subtitle: s, fullScreen: c, fullWidth: f, filterName: m }) => e({
1321
+ show: ({ id: n, open: i, serviceUsuario: s, title: c, subtitle: a, fullScreen: l, fullWidth: p, filterName: m }) => e({
1310
1322
  id: n,
1311
1323
  open: i,
1312
- serviceUsuario: a,
1313
- title: l,
1314
- subtitle: s,
1315
- fullScreen: c || !1,
1316
- fullWidth: f || !1,
1324
+ serviceUsuario: s,
1325
+ title: c,
1326
+ subtitle: a,
1327
+ fullScreen: l || !1,
1328
+ fullWidth: p || !1,
1317
1329
  filterName: m || ""
1318
1330
  }),
1319
1331
  data: {},
@@ -1329,39 +1341,39 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1329
1341
  fetchAuditoria: async () => {
1330
1342
  try {
1331
1343
  e({ data: {}, isLoading: !0 });
1332
- const { date: n, usuario: i, id: a, apiFetch: l, serviceUsuario: s } = t();
1333
- if (!l) {
1344
+ const { date: n, usuario: i, id: s, apiFetch: c, serviceUsuario: a } = t();
1345
+ if (!c) {
1334
1346
  console.error("No existe función apiFetch en el store. Usa setApiFetch para configurarla."), e({ isLoading: !1 });
1335
1347
  return;
1336
1348
  }
1337
- const c = i && i[s.type.key] !== void 0 ? Number(i[s.type.key]) : -1, f = await l(a, n, c);
1338
- e({ data: f, isLoading: !1 });
1349
+ const l = i && i[a.type.key] !== void 0 ? Number(i[a.type.key]) : -1, p = await c(s, n, l);
1350
+ e({ data: p, isLoading: !1 });
1339
1351
  } catch (n) {
1340
1352
  console.error(n), e({ data: {}, isLoading: !1 });
1341
1353
  }
1342
1354
  }
1343
- }), D = He()(
1344
- Ft((e, t, n) => ({
1345
- ...yn(e, t)
1355
+ }), D = Ve()(
1356
+ Ut((e, t, n) => ({
1357
+ ...Sn(e, t)
1346
1358
  }))
1347
- ), Sn = ({ handleConsultarAuditoria: e }) => {
1348
- const t = D((u) => u.date), n = D((u) => u.isLoading), i = D((u) => u.expanded), a = D((u) => u.usuario), l = D((u) => u.setUsuario), s = D((u) => u.setDate), c = D((u) => u.setExpanded), f = D((u) => u.serviceUsuario), m = D((u) => u.filterName), d = f.type.key, g = f.type.label, x = (u) => {
1349
- l(u);
1359
+ ), bn = ({ handleConsultarAuditoria: e }) => {
1360
+ const t = D((u) => u.date), n = D((u) => u.isLoading), i = D((u) => u.expanded), s = D((u) => u.usuario), c = D((u) => u.setUsuario), a = D((u) => u.setDate), l = D((u) => u.setExpanded), p = D((u) => u.serviceUsuario), m = D((u) => u.filterName), d = p.type.key, g = p.type.label, x = (u) => {
1361
+ c(u);
1350
1362
  }, v = () => {
1351
- c(!i);
1363
+ l(!i);
1352
1364
  };
1353
1365
  return E(() => {
1354
- l({
1366
+ c({
1355
1367
  [d]: "-1",
1356
1368
  [g]: ""
1357
1369
  });
1358
1370
  }, []), /* @__PURE__ */ _(z, { direction: "row", alignItems: "center", gap: 1, justifyContent: "space-between", width: "100%", children: [
1359
1371
  /* @__PURE__ */ _(z, { direction: "row", alignItems: "center", gap: 0.5, children: [
1360
1372
  /* @__PURE__ */ o(
1361
- qe,
1373
+ He,
1362
1374
  {
1363
1375
  value: t,
1364
- onChange: s,
1376
+ onChange: a,
1365
1377
  disabled: !1,
1366
1378
  slotProps: {
1367
1379
  textField: (u) => {
@@ -1372,15 +1384,15 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1372
1384
  label: r === "start" ? "Fecha inicial" : "Fecha final",
1373
1385
  size: "small",
1374
1386
  InputProps: {
1375
- endAdornment: /* @__PURE__ */ o(he, { "aria-label": "Close", size: "small", children: /* @__PURE__ */ o(At, {}) })
1387
+ endAdornment: /* @__PURE__ */ o(pe, { "aria-label": "Close", size: "small", children: /* @__PURE__ */ o(kt, {}) })
1376
1388
  }
1377
1389
  };
1378
1390
  }
1379
1391
  }
1380
1392
  }
1381
1393
  ),
1382
- /* @__PURE__ */ o(ct, { sx: { m: 1, minWidth: 280 }, children: /* @__PURE__ */ o(
1383
- jt,
1394
+ /* @__PURE__ */ o(dt, { sx: { m: 1, minWidth: 280 }, children: /* @__PURE__ */ o(
1395
+ Zt,
1384
1396
  {
1385
1397
  fullWidth: !0,
1386
1398
  freeSolo: !0,
@@ -1393,10 +1405,10 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1393
1405
  const r = u;
1394
1406
  return r ? r[d] === "" || r[d] === "-1" ? "" : `${r[d]} - ${r[g]}` : "";
1395
1407
  },
1396
- request: { serviceUrl: f.request, method: "get", filterName: m === "" ? void 0 : m },
1408
+ request: { serviceUrl: p.request, method: "get", filterName: m === "" ? void 0 : m },
1397
1409
  value: {
1398
- [d]: `${a == null ? void 0 : a[d]}`,
1399
- [g]: `${a == null ? void 0 : a[g]}`
1410
+ [d]: `${s == null ? void 0 : s[d]}`,
1411
+ [g]: `${s == null ? void 0 : s[g]}`
1400
1412
  },
1401
1413
  handleValue: (u) => {
1402
1414
  u == null ? x({
@@ -1409,7 +1421,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1409
1421
  }
1410
1422
  ) }),
1411
1423
  /* @__PURE__ */ o(
1412
- ye,
1424
+ Se,
1413
1425
  {
1414
1426
  variant: "contained",
1415
1427
  onClick: e,
@@ -1419,12 +1431,12 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1419
1431
  )
1420
1432
  ] }),
1421
1433
  /* @__PURE__ */ _(
1422
- ye,
1434
+ Se,
1423
1435
  {
1424
1436
  sx: { marginRight: 1 },
1425
1437
  disabled: n,
1426
1438
  variant: "text",
1427
- startIcon: i ? /* @__PURE__ */ o(Ct, {}) : /* @__PURE__ */ o(It, {}),
1439
+ startIcon: i ? /* @__PURE__ */ o(It, {}) : /* @__PURE__ */ o(wt, {}),
1428
1440
  onClick: v,
1429
1441
  children: [
1430
1442
  i ? "Contraer" : "Expandir",
@@ -1433,17 +1445,17 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1433
1445
  }
1434
1446
  )
1435
1447
  ] });
1436
- }, bn = () => /* @__PURE__ */ o(z, { gap: 0.5, children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ o(dt, { variant: "rounded", height: 40 }, t)) }), Cn = ({ cantidad: e, isExpanded: t, titulo: n, ultimaMod: i, data: a, onHandlerExpanded: l }) => {
1437
- var c;
1438
- const s = ne(() => {
1439
- if (!a || a.length === 0) return [];
1440
- const f = /* @__PURE__ */ new Set();
1441
- return a.forEach((m) => {
1448
+ }, Cn = () => /* @__PURE__ */ o(z, { gap: 0.5, children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ o(ut, { variant: "rounded", height: 40 }, t)) }), In = ({ cantidad: e, isExpanded: t, titulo: n, ultimaMod: i, data: s, onHandlerExpanded: c }) => {
1449
+ var l;
1450
+ const a = ne(() => {
1451
+ if (!s || s.length === 0) return [];
1452
+ const p = /* @__PURE__ */ new Set();
1453
+ return s.forEach((m) => {
1442
1454
  Object.keys(m).forEach((d) => {
1443
- d.startsWith("$") && f.add(d);
1455
+ d.startsWith("$") && p.add(d);
1444
1456
  });
1445
- }), [...f].map((m) => {
1446
- const d = m.replace(/^\$/, ""), g = vn[d] || d;
1457
+ }), [...p].map((m) => {
1458
+ const d = m.replace(/^\$/, ""), g = yn[d] || d;
1447
1459
  return d === "Antes" || d === "Despues" ? {
1448
1460
  field: m,
1449
1461
  headerName: g,
@@ -1453,7 +1465,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1453
1465
  flex: 1,
1454
1466
  renderCell: (x) => /* @__PURE__ */ _(z, { direction: "row", gap: 1, alignItems: "center", justifyContent: "flex-start", children: [
1455
1467
  /* @__PURE__ */ o(
1456
- wt,
1468
+ Tt,
1457
1469
  {
1458
1470
  sx: {
1459
1471
  width: "13px",
@@ -1473,12 +1485,12 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1473
1485
  flex: 1
1474
1486
  };
1475
1487
  });
1476
- }, [a]);
1488
+ }, [s]);
1477
1489
  return /* @__PURE__ */ _(
1478
- ut,
1490
+ ht,
1479
1491
  {
1480
1492
  expanded: t,
1481
- onChange: l(n),
1493
+ onChange: c(n),
1482
1494
  sx: {
1483
1495
  margin: "0rem !important",
1484
1496
  "& .MuiPaper-root": {
@@ -1487,9 +1499,9 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1487
1499
  },
1488
1500
  children: [
1489
1501
  /* @__PURE__ */ o(
1490
- ht,
1502
+ pt,
1491
1503
  {
1492
- expandIcon: /* @__PURE__ */ o(Tt, {}),
1504
+ expandIcon: /* @__PURE__ */ o(_t, {}),
1493
1505
  "aria-controls": `panel-content-${n}`,
1494
1506
  id: `panel-content-${n}`,
1495
1507
  children: /* @__PURE__ */ _(z, { direction: "row", alignItems: "center", gap: 1, justifyContent: "space-between", width: "100%", children: [
@@ -1501,13 +1513,13 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1501
1513
  ] })
1502
1514
  }
1503
1515
  ),
1504
- /* @__PURE__ */ o(pt, { children: a.length > 0 && /* @__PURE__ */ o(
1505
- Ut,
1516
+ /* @__PURE__ */ o(mt, { children: s.length > 0 && /* @__PURE__ */ o(
1517
+ Wt,
1506
1518
  {
1507
- columns: s,
1508
- rows: a,
1519
+ columns: a,
1520
+ rows: s,
1509
1521
  pagination: !0,
1510
- localeText: (c = Wt.components) == null ? void 0 : c.MuiDataGrid.defaultProps.localeText,
1522
+ localeText: (l = $t.components) == null ? void 0 : l.MuiDataGrid.defaultProps.localeText,
1511
1523
  pageSizeOptions: [10],
1512
1524
  getRowHeight: () => 22,
1513
1525
  autoHeight: !0,
@@ -1545,60 +1557,60 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1545
1557
  ]
1546
1558
  }
1547
1559
  );
1548
- }, In = () => {
1549
- const e = D((c) => c.data), t = D((c) => c.expanded), n = D((c) => c.isLoading), [i, a] = F([]), l = Object.keys(e).sort(), s = (c) => (f, m) => {
1550
- a((d) => m ? [...d, c] : d.filter((g) => g !== c));
1560
+ }, wn = () => {
1561
+ const e = D((l) => l.data), t = D((l) => l.expanded), n = D((l) => l.isLoading), [i, s] = F([]), c = Object.keys(e).sort(), a = (l) => (p, m) => {
1562
+ s((d) => m ? [...d, l] : d.filter((g) => g !== l));
1551
1563
  };
1552
- return /* @__PURE__ */ o(Q, { children: n ? /* @__PURE__ */ o(bn, {}) : l.length == 0 ? /* @__PURE__ */ o(mt, { severity: "warning", children: "No existen datos con estos criterios de búsqueda" }) : l.map((c) => {
1553
- const f = e[c].length, m = f > 0 && e[c][f - 1].$FechaHora || "", d = t || i.includes(c);
1564
+ return /* @__PURE__ */ o(Q, { children: n ? /* @__PURE__ */ o(Cn, {}) : c.length == 0 ? /* @__PURE__ */ o(gt, { severity: "warning", children: "No existen datos con estos criterios de búsqueda" }) : c.map((l) => {
1565
+ const p = e[l].length, m = p > 0 && e[l][p - 1].$FechaHora || "", d = t || i.includes(l);
1554
1566
  return /* @__PURE__ */ o(
1555
- Cn,
1567
+ In,
1556
1568
  {
1557
- cantidad: f,
1569
+ cantidad: p,
1558
1570
  isExpanded: d,
1559
- titulo: c,
1571
+ titulo: l,
1560
1572
  ultimaMod: m,
1561
- data: e[c],
1562
- onHandlerExpanded: s
1573
+ data: e[l],
1574
+ onHandlerExpanded: a
1563
1575
  },
1564
- c
1576
+ l
1565
1577
  );
1566
1578
  }) });
1567
- }, wn = ({ handleConsultarAuditoria: e }) => /* @__PURE__ */ _(z, { direction: "column", gap: 1, width: "100%", children: [
1568
- /* @__PURE__ */ o(Sn, { handleConsultarAuditoria: e }),
1569
- /* @__PURE__ */ o(In, {})
1570
- ] }), Tn = (e) => /* @__PURE__ */ _(gt, { ...e, viewBox: "0 0 40 40", width: "40", height: "40", children: [
1579
+ }, Tn = ({ handleConsultarAuditoria: e }) => /* @__PURE__ */ _(z, { direction: "column", gap: 1, width: "100%", children: [
1580
+ /* @__PURE__ */ o(bn, { handleConsultarAuditoria: e }),
1581
+ /* @__PURE__ */ o(wn, {})
1582
+ ] }), _n = (e) => /* @__PURE__ */ _(xt, { ...e, viewBox: "0 0 40 40", width: "40", height: "40", children: [
1571
1583
  /* @__PURE__ */ o("circle", { cx: "20", cy: "20", r: "20", fill: "#E6F3F8" }),
1572
1584
  /* @__PURE__ */ o("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.1107 13.3153H21.0552L21.0514 13.3191C19.1828 13.3334 17.4273 14.0677 16.1043 15.3906C13.7958 17.6991 13.3931 21.2576 15.0227 23.9986L8.06708 30.9507C7.7347 31.2831 7.55273 31.7244 7.55273 32.1921C7.55273 32.6598 7.7347 33.1011 8.06708 33.4335C8.39947 33.7659 8.84081 33.9479 9.30851 33.9479C9.77622 33.9479 10.2176 33.7659 10.5499 33.4335L17.5057 26.4777C18.5919 27.12 19.8427 27.4645 21.1143 27.4645C23.0002 27.4645 24.7775 26.7288 26.1136 25.3927C27.4497 24.0566 28.1854 22.2793 28.1854 20.3899C28.1854 18.5005 27.4497 16.7232 26.1136 15.3871C24.7775 14.0509 23.0002 13.3153 21.1107 13.3153ZM16.9261 16.2125C18.0824 15.0562 19.5945 14.48 21.1072 14.48C22.6199 14.48 24.1355 15.0563 25.288 16.2123C27.5968 18.5211 27.597 22.2657 25.2881 24.5781C24.1355 25.7307 22.6234 26.307 21.1107 26.307C19.8181 26.307 18.5294 25.8878 17.4608 25.0462L17.3673 24.9725L9.72811 32.6117C9.61107 32.7287 9.45972 32.7868 9.30851 32.7868C9.15731 32.7868 9.00596 32.7287 8.88892 32.6117C8.65517 32.378 8.65603 32.0025 8.88832 31.7731L16.528 24.1334L16.4545 24.0399C14.6312 21.7206 14.7852 18.3499 16.9261 16.2125Z", fill: "#6392BD" }),
1573
1585
  /* @__PURE__ */ o("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M25.1686 17.1759C25.5221 17.5291 25.5223 18.102 25.1691 18.4554L19.621 24.0078L16.7476 21.1343C16.3942 20.781 16.3942 20.2081 16.7476 19.8548C17.1009 19.5014 17.6738 19.5014 18.0271 19.8548L19.6205 21.4482L23.8891 17.1764C24.2423 16.8229 24.8152 16.8227 25.1686 17.1759Z", fill: "#00BCD4" }),
1574
1586
  /* @__PURE__ */ o("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.9343 7.06944C10.8113 7.06944 10.6987 7.17305 10.6987 7.31574V26.7684C10.6987 27.0644 10.4589 27.3042 10.1629 27.3042C9.867 27.3042 9.6271 27.0644 9.6271 26.7684V7.31574C9.6271 6.59737 10.2034 5.99779 10.9343 5.99779H26.0099C26.5207 5.99779 26.9332 6.41669 26.9332 6.92467V11.3792L31.4131 11.3722C31.9239 11.3722 32.3364 11.7911 32.3364 12.2991V32.333C32.3364 33.0514 31.7601 33.6509 31.0292 33.6509H12.9291C12.6331 33.6509 12.3932 33.411 12.3932 33.1151C12.3932 32.8192 12.6331 32.5793 12.9291 32.5793H31.0292C31.1522 32.5793 31.2647 32.4757 31.2647 32.333V12.4441L26.7849 12.451C26.2673 12.451 25.8616 12.0289 25.8616 11.5241V7.06944H10.9343Z", fill: "#6392BD" }),
1575
1587
  /* @__PURE__ */ o("path", { d: "M27.9938 9.89453V6.16329C27.9938 5.98749 28.2055 5.90139 28.3275 6.02337L32.2525 9.95194C32.3745 10.0739 32.2883 10.2856 32.1126 10.2856H28.3813C28.166 10.2856 27.9902 10.1098 27.9902 9.89453H27.9938Z", fill: "#00BCD4" })
1576
- ] }), _n = () => {
1577
- const e = D((a) => a.title), t = D((a) => a.subtitle), n = D((a) => a.onClose), i = We();
1588
+ ] }), On = () => {
1589
+ const e = D((s) => s.title), t = D((s) => s.subtitle), n = D((s) => s.onClose), i = $e();
1578
1590
  return /* @__PURE__ */ _(z, { direction: "row", alignItems: "flex-start", alignSelf: "stretch", children: [
1579
1591
  /* @__PURE__ */ _(z, { direction: "row", alignItems: "center", gap: 2, flex: "1 0 0", children: [
1580
- /* @__PURE__ */ o(Tn, { sx: { height: "2.5rem", width: "2.5rem" } }),
1592
+ /* @__PURE__ */ o(_n, { sx: { height: "2.5rem", width: "2.5rem" } }),
1581
1593
  /* @__PURE__ */ _(z, { children: [
1582
1594
  /* @__PURE__ */ o(W, { variant: "h6", color: i.palette.text.primary, children: e }),
1583
1595
  /* @__PURE__ */ o(W, { variant: "body2", color: i.palette.text.secondary, children: `${t}` })
1584
1596
  ] })
1585
1597
  ] }),
1586
- /* @__PURE__ */ o(he, { "aria-label": "Close", size: "small", onClick: n, sx: { height: "22px", width: "22px" }, children: /* @__PURE__ */ o(_t, { sx: { height: "16px", width: "16px" }, color: "action" }) })
1598
+ /* @__PURE__ */ o(pe, { "aria-label": "Close", size: "small", onClick: n, sx: { height: "22px", width: "22px" }, children: /* @__PURE__ */ o(Ot, { sx: { height: "16px", width: "16px" }, color: "action" }) })
1587
1599
  ] });
1588
- }, ui = () => {
1589
- const e = D((s) => s.open), t = D((s) => s.fullScreen), n = D((s) => s.fullWidth), i = D((s) => s.fetchAuditoria), a = D((s) => s.onClose), l = G(() => {
1600
+ }, hi = () => {
1601
+ const e = D((a) => a.open), t = D((a) => a.fullScreen), n = D((a) => a.fullWidth), i = D((a) => a.fetchAuditoria), s = D((a) => a.onClose), c = G(() => {
1590
1602
  i();
1591
1603
  }, [i]);
1592
1604
  return E(() => {
1593
- e && l();
1594
- }, [e, l]), /* @__PURE__ */ o(X, { theme: fe, children: /* @__PURE__ */ _(
1595
- xt,
1605
+ e && c();
1606
+ }, [e, c]), /* @__PURE__ */ o(X, { theme: fe, children: /* @__PURE__ */ _(
1607
+ vt,
1596
1608
  {
1597
1609
  fullWidth: n,
1598
1610
  fullScreen: t,
1599
1611
  maxWidth: "lg",
1600
1612
  open: e,
1601
- onClose: a,
1613
+ onClose: s,
1602
1614
  sx: {
1603
1615
  "& .MuiDialog-container": {
1604
1616
  alignItems: "flex-start"
@@ -1610,12 +1622,12 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1610
1622
  }
1611
1623
  },
1612
1624
  children: [
1613
- /* @__PURE__ */ o(vt, { sx: { display: "flex", padding: "8px 16px", flexDirection: "column", alignItems: "flex-start", alignSelf: "stretch" }, children: /* @__PURE__ */ o(_n, {}) }),
1614
- /* @__PURE__ */ o(yt, { sx: { display: "flex", padding: "12px 16px 8px 16px", flexDirection: "column", alignItems: "flex-start", gap: 1.5, alignSelf: "stretch", flex: "1 0 0" }, children: /* @__PURE__ */ o(wn, { handleConsultarAuditoria: l }) })
1625
+ /* @__PURE__ */ o(yt, { sx: { display: "flex", padding: "8px 16px", flexDirection: "column", alignItems: "flex-start", alignSelf: "stretch" }, children: /* @__PURE__ */ o(On, {}) }),
1626
+ /* @__PURE__ */ o(St, { sx: { display: "flex", padding: "12px 16px 8px 16px", flexDirection: "column", alignItems: "flex-start", gap: 1.5, alignSelf: "stretch", flex: "1 0 0" }, children: /* @__PURE__ */ o(Tn, { handleConsultarAuditoria: c }) })
1615
1627
  ]
1616
1628
  }
1617
1629
  ) });
1618
- }, On = {
1630
+ }, Dn = {
1619
1631
  stateSession: {
1620
1632
  idEmpresa: -1,
1621
1633
  IdObra: 0,
@@ -1631,7 +1643,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1631
1643
  idOrigen: 0,
1632
1644
  URL_Entorno: ""
1633
1645
  }
1634
- }, Dn = Je(On), Mn = {
1646
+ }, Mn = et(Dn), An = {
1635
1647
  idEmpresa: -1,
1636
1648
  IdObra: 0,
1637
1649
  IdSucursal: 0,
@@ -1645,7 +1657,7 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1645
1657
  UsuDominio: "",
1646
1658
  idOrigen: 0,
1647
1659
  URL_Entorno: ""
1648
- }, Ze = (e) => e.getDatosSesion ? e.getDatosSesion() : e.parent && e.parent.getDatosSesion ? e.parent.getDatosSesion() : e.parent && e.parent !== e ? Ze(e.parent) : Mn, An = () => window.location.href.includes("localhost") ? {
1660
+ }, Ge = (e) => e.getDatosSesion ? e.getDatosSesion() : e.parent && e.parent.getDatosSesion ? e.parent.getDatosSesion() : e.parent && e.parent !== e ? Ge(e.parent) : An, kn = () => window.location.href.includes("localhost") ? {
1649
1661
  idEmpresa: 1,
1650
1662
  IdObra: 392,
1651
1663
  IdSucursal: 392,
@@ -1659,28 +1671,29 @@ const Ne = 5e3, gn = 3e3, xn = 100, di = () => {
1659
1671
  UsuDominio: "SINCO\\jhonnatan",
1660
1672
  idOrigen: 0,
1661
1673
  URL_Entorno: window.location.href
1662
- } : Ze(window);
1663
- function hi({ children: e }) {
1664
- return /* @__PURE__ */ o(Dn.Provider, { value: { stateSession: An() }, children: e });
1674
+ } : Ge(window);
1675
+ function pi({ children: e }) {
1676
+ return /* @__PURE__ */ o(Mn.Provider, { value: { stateSession: kn() }, children: e });
1665
1677
  }
1666
1678
  export {
1667
1679
  fe as ADPROTheme,
1668
- ui as AuditoriaADPRO,
1669
- jt as AutocompleteADPRO,
1670
- Gt as EllipsisWithTooltip,
1671
- ci as LoadingADPRO,
1672
- si as MultiSelectADPRO,
1673
- di as NotificationADPRO,
1674
- li as RangoFechasADPRO,
1675
- $t as RequestADPRO,
1676
- Dn as SessionContext,
1677
- hi as SessionProvider,
1678
- vn as columnsAudit,
1679
- Ve as getAuthorization,
1680
- An as getSession,
1680
+ hi as AuditoriaADPRO,
1681
+ Zt as AutocompleteADPRO,
1682
+ Yt as EllipsisWithTooltip,
1683
+ di as LoadingADPRO,
1684
+ li as MultiSelectADPRO,
1685
+ ui as NotificationADPRO,
1686
+ ci as RangoFechasADPRO,
1687
+ qt as RequestADPRO,
1688
+ Mn as SessionContext,
1689
+ pi as SessionProvider,
1690
+ yn as columnsAudit,
1691
+ Be as getAuthorization,
1692
+ kn as getSession,
1693
+ de as getSincoERPAuthorization,
1681
1694
  D as useAuditoriaStore,
1682
- Bt as useAutocompleteADPRO,
1683
- Zt as useMultiSelectADPRO,
1684
- je as useNotificationStore,
1685
- un as useRangoFechasADPRO
1695
+ jt as useAutocompleteADPRO,
1696
+ Gt as useMultiSelectADPRO,
1697
+ Ze as useNotificationStore,
1698
+ hn as useRangoFechasADPRO
1686
1699
  };