@carto/meridian-ds 0.1.1-alpha.0 → 0.1.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/Alert-DyuvFDkP.cjs +4 -0
  3. package/dist/Alert-_PI5QbXW.js +127 -0
  4. package/dist/TablePaginationActions-B7ycFqaM.cjs +9 -0
  5. package/dist/{Alert-D20zeMkh.js → TablePaginationActions-OJyfVTms.js} +730 -311
  6. package/dist/components/index.cjs +1 -1
  7. package/dist/components/index.js +31 -31
  8. package/dist/theme/index.cjs +1 -1
  9. package/dist/theme/index.js +25 -23
  10. package/dist/types/components/atoms/Button.d.ts +1 -1
  11. package/dist/types/components/atoms/Typography.d.ts +1 -1
  12. package/dist/types/theme/carto-theme.d.ts +3 -3
  13. package/dist/types/theme/sections/components/buttons.d.ts.map +1 -1
  14. package/dist/types/theme/sections/components/data-display.d.ts.map +1 -1
  15. package/dist/types/theme/sections/typography.d.ts +3 -3
  16. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +8 -8
  17. package/dist/types/widgets/SkeletonWidgets.d.ts +4 -4
  18. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts +4 -1
  19. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -1
  20. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -1
  21. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts +2 -1
  22. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts.map +1 -1
  23. package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +1 -1
  24. package/dist/widgets/index.cjs +10 -10
  25. package/dist/widgets/index.js +1260 -1255
  26. package/package.json +2 -5
  27. package/dist/Alert-FPd1YXw5.cjs +0 -4
  28. package/dist/theme-constants-Cq_uocqm.js +0 -544
  29. package/dist/theme-constants-Da63svSG.cjs +0 -9
@@ -1,34 +1,566 @@
1
- import { jsx as y, jsxs as H } from "react/jsx-runtime";
2
- import { Typography as z, styled as E, Box as F, Tooltip as k, IconButton as P, Alert as V, Fade as Z, AlertTitle as W } from "@mui/material";
3
- import Y from "@mui/icons-material/KeyboardArrowLeftOutlined";
4
- import J from "@mui/icons-material/KeyboardArrowRightOutlined";
5
- import { createIntlCache as j, createIntl as Q, useIntl as $ } from "react-intl";
6
- import { a as I } from "./theme-constants-Cq_uocqm.js";
7
- import { forwardRef as O, useState as X } from "react";
8
- const ee = {
1
+ import me from "react-is";
2
+ import { jsx as I, jsxs as Ge } from "react/jsx-runtime";
3
+ import { Typography as Re, styled as he, Box as Ne, Tooltip as se, IconButton as de } from "@mui/material";
4
+ import { forwardRef as De } from "react";
5
+ import qe from "@mui/icons-material/KeyboardArrowLeftOutlined";
6
+ import xe from "@mui/icons-material/KeyboardArrowRightOutlined";
7
+ import { createIntlCache as Ke, createIntl as Ue, useIntl as He } from "react-intl";
8
+ function je(e) {
9
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
10
+ }
11
+ var ne = { exports: {} };
12
+ /*
13
+ object-assign
14
+ (c) Sindre Sorhus
15
+ @license MIT
16
+ */
17
+ var W, oe;
18
+ function Ve() {
19
+ if (oe) return W;
20
+ oe = 1;
21
+ var e = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
22
+ function n(r) {
23
+ if (r == null)
24
+ throw new TypeError("Object.assign cannot be called with null or undefined");
25
+ return Object(r);
26
+ }
27
+ function d() {
28
+ try {
29
+ if (!Object.assign)
30
+ return !1;
31
+ var r = new String("abc");
32
+ if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
33
+ return !1;
34
+ for (var s = {}, o = 0; o < 10; o++)
35
+ s["_" + String.fromCharCode(o)] = o;
36
+ var _ = Object.getOwnPropertyNames(s).map(function(l) {
37
+ return s[l];
38
+ });
39
+ if (_.join("") !== "0123456789")
40
+ return !1;
41
+ var y = {};
42
+ return "abcdefghijklmnopqrst".split("").forEach(function(l) {
43
+ y[l] = l;
44
+ }), Object.keys(Object.assign({}, y)).join("") === "abcdefghijklmnopqrst";
45
+ } catch {
46
+ return !1;
47
+ }
48
+ }
49
+ return W = d() ? Object.assign : function(r, s) {
50
+ for (var o, _ = n(r), y, l = 1; l < arguments.length; l++) {
51
+ o = Object(arguments[l]);
52
+ for (var T in o)
53
+ i.call(o, T) && (_[T] = o[T]);
54
+ if (e) {
55
+ y = e(o);
56
+ for (var M = 0; M < y.length; M++)
57
+ a.call(o, y[M]) && (_[y[M]] = o[y[M]]);
58
+ }
59
+ }
60
+ return _;
61
+ }, W;
62
+ }
63
+ var Z, ce;
64
+ function ae() {
65
+ if (ce) return Z;
66
+ ce = 1;
67
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
68
+ return Z = e, Z;
69
+ }
70
+ var F, _e;
71
+ function ve() {
72
+ return _e || (_e = 1, F = Function.call.bind(Object.prototype.hasOwnProperty)), F;
73
+ }
74
+ var Y, ue;
75
+ function ze() {
76
+ if (ue) return Y;
77
+ ue = 1;
78
+ var e = function() {
79
+ };
80
+ if (process.env.NODE_ENV !== "production") {
81
+ var i = ae(), a = {}, n = ve();
82
+ e = function(r) {
83
+ var s = "Warning: " + r;
84
+ typeof console < "u" && console.error(s);
85
+ try {
86
+ throw new Error(s);
87
+ } catch {
88
+ }
89
+ };
90
+ }
91
+ function d(r, s, o, _, y) {
92
+ if (process.env.NODE_ENV !== "production") {
93
+ for (var l in r)
94
+ if (n(r, l)) {
95
+ var T;
96
+ try {
97
+ if (typeof r[l] != "function") {
98
+ var M = Error(
99
+ (_ || "React class") + ": " + o + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
100
+ );
101
+ throw M.name = "Invariant Violation", M;
102
+ }
103
+ T = r[l](s, l, _, o, null, i);
104
+ } catch (O) {
105
+ T = O;
106
+ }
107
+ if (T && !(T instanceof Error) && e(
108
+ (_ || "React class") + ": type specification of " + o + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof T + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
109
+ ), T instanceof Error && !(T.message in a)) {
110
+ a[T.message] = !0;
111
+ var E = y ? y() : "";
112
+ e(
113
+ "Failed " + o + " type: " + T.message + (E ?? "")
114
+ );
115
+ }
116
+ }
117
+ }
118
+ }
119
+ return d.resetWarningCache = function() {
120
+ process.env.NODE_ENV !== "production" && (a = {});
121
+ }, Y = d, Y;
122
+ }
123
+ var J, le;
124
+ function We() {
125
+ if (le) return J;
126
+ le = 1;
127
+ var e = me, i = Ve(), a = ae(), n = ve(), d = ze(), r = function() {
128
+ };
129
+ process.env.NODE_ENV !== "production" && (r = function(o) {
130
+ var _ = "Warning: " + o;
131
+ typeof console < "u" && console.error(_);
132
+ try {
133
+ throw new Error(_);
134
+ } catch {
135
+ }
136
+ });
137
+ function s() {
138
+ return null;
139
+ }
140
+ return J = function(o, _) {
141
+ var y = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
142
+ function T(t) {
143
+ var c = t && (y && t[y] || t[l]);
144
+ if (typeof c == "function")
145
+ return c;
146
+ }
147
+ var M = "<<anonymous>>", E = {
148
+ array: A("array"),
149
+ bigint: A("bigint"),
150
+ bool: A("boolean"),
151
+ func: A("function"),
152
+ number: A("number"),
153
+ object: A("object"),
154
+ string: A("string"),
155
+ symbol: A("symbol"),
156
+ any: G(),
157
+ arrayOf: k,
158
+ element: D(),
159
+ elementType: V(),
160
+ instanceOf: z,
161
+ node: Ae(),
162
+ objectOf: be,
163
+ oneOf: Ee,
164
+ oneOfType: Ce,
165
+ shape: Pe,
166
+ exact: Oe
167
+ };
168
+ function O(t, c) {
169
+ return t === c ? t !== 0 || 1 / t === 1 / c : t !== t && c !== c;
170
+ }
171
+ function L(t, c) {
172
+ this.message = t, this.data = c && typeof c == "object" ? c : {}, this.stack = "";
173
+ }
174
+ L.prototype = Error.prototype;
175
+ function b(t) {
176
+ if (process.env.NODE_ENV !== "production")
177
+ var c = {}, g = 0;
178
+ function f(m, p, w, h, S, v, P) {
179
+ if (h = h || M, v = v || w, P !== a) {
180
+ if (_) {
181
+ var C = new Error(
182
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
183
+ );
184
+ throw C.name = "Invariant Violation", C;
185
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
186
+ var R = h + ":" + w;
187
+ !c[R] && // Avoid spamming the console because they are often not actionable except for lib authors
188
+ g < 3 && (r(
189
+ "You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + h + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
190
+ ), c[R] = !0, g++);
191
+ }
192
+ }
193
+ return p[w] == null ? m ? p[w] === null ? new L("The " + S + " `" + v + "` is marked as required " + ("in `" + h + "`, but its value is `null`.")) : new L("The " + S + " `" + v + "` is marked as required in " + ("`" + h + "`, but its value is `undefined`.")) : null : t(p, w, h, S, v);
194
+ }
195
+ var u = f.bind(null, !1);
196
+ return u.isRequired = f.bind(null, !0), u;
197
+ }
198
+ function A(t) {
199
+ function c(g, f, u, m, p, w) {
200
+ var h = g[f], S = B(h);
201
+ if (S !== t) {
202
+ var v = q(h);
203
+ return new L(
204
+ "Invalid " + m + " `" + p + "` of type " + ("`" + v + "` supplied to `" + u + "`, expected ") + ("`" + t + "`."),
205
+ { expectedType: t }
206
+ );
207
+ }
208
+ return null;
209
+ }
210
+ return b(c);
211
+ }
212
+ function G() {
213
+ return b(s);
214
+ }
215
+ function k(t) {
216
+ function c(g, f, u, m, p) {
217
+ if (typeof t != "function")
218
+ return new L("Property `" + p + "` of component `" + u + "` has invalid PropType notation inside arrayOf.");
219
+ var w = g[f];
220
+ if (!Array.isArray(w)) {
221
+ var h = B(w);
222
+ return new L("Invalid " + m + " `" + p + "` of type " + ("`" + h + "` supplied to `" + u + "`, expected an array."));
223
+ }
224
+ for (var S = 0; S < w.length; S++) {
225
+ var v = t(w, S, u, m, p + "[" + S + "]", a);
226
+ if (v instanceof Error)
227
+ return v;
228
+ }
229
+ return null;
230
+ }
231
+ return b(c);
232
+ }
233
+ function D() {
234
+ function t(c, g, f, u, m) {
235
+ var p = c[g];
236
+ if (!o(p)) {
237
+ var w = B(p);
238
+ return new L("Invalid " + u + " `" + m + "` of type " + ("`" + w + "` supplied to `" + f + "`, expected a single ReactElement."));
239
+ }
240
+ return null;
241
+ }
242
+ return b(t);
243
+ }
244
+ function V() {
245
+ function t(c, g, f, u, m) {
246
+ var p = c[g];
247
+ if (!e.isValidElementType(p)) {
248
+ var w = B(p);
249
+ return new L("Invalid " + u + " `" + m + "` of type " + ("`" + w + "` supplied to `" + f + "`, expected a single ReactElement type."));
250
+ }
251
+ return null;
252
+ }
253
+ return b(t);
254
+ }
255
+ function z(t) {
256
+ function c(g, f, u, m, p) {
257
+ if (!(g[f] instanceof t)) {
258
+ var w = t.name || M, h = Be(g[f]);
259
+ return new L("Invalid " + m + " `" + p + "` of type " + ("`" + h + "` supplied to `" + u + "`, expected ") + ("instance of `" + w + "`."));
260
+ }
261
+ return null;
262
+ }
263
+ return b(c);
264
+ }
265
+ function Ee(t) {
266
+ if (!Array.isArray(t))
267
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
268
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
269
+ ) : r("Invalid argument supplied to oneOf, expected an array.")), s;
270
+ function c(g, f, u, m, p) {
271
+ for (var w = g[f], h = 0; h < t.length; h++)
272
+ if (O(w, t[h]))
273
+ return null;
274
+ var S = JSON.stringify(t, function(P, C) {
275
+ var R = q(C);
276
+ return R === "symbol" ? String(C) : C;
277
+ });
278
+ return new L("Invalid " + m + " `" + p + "` of value `" + String(w) + "` " + ("supplied to `" + u + "`, expected one of " + S + "."));
279
+ }
280
+ return b(c);
281
+ }
282
+ function be(t) {
283
+ function c(g, f, u, m, p) {
284
+ if (typeof t != "function")
285
+ return new L("Property `" + p + "` of component `" + u + "` has invalid PropType notation inside objectOf.");
286
+ var w = g[f], h = B(w);
287
+ if (h !== "object")
288
+ return new L("Invalid " + m + " `" + p + "` of type " + ("`" + h + "` supplied to `" + u + "`, expected an object."));
289
+ for (var S in w)
290
+ if (n(w, S)) {
291
+ var v = t(w, S, u, m, p + "." + S, a);
292
+ if (v instanceof Error)
293
+ return v;
294
+ }
295
+ return null;
296
+ }
297
+ return b(c);
298
+ }
299
+ function Ce(t) {
300
+ if (!Array.isArray(t))
301
+ return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), s;
302
+ for (var c = 0; c < t.length; c++) {
303
+ var g = t[c];
304
+ if (typeof g != "function")
305
+ return r(
306
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ke(g) + " at index " + c + "."
307
+ ), s;
308
+ }
309
+ function f(u, m, p, w, h) {
310
+ for (var S = [], v = 0; v < t.length; v++) {
311
+ var P = t[v], C = P(u, m, p, w, h, a);
312
+ if (C == null)
313
+ return null;
314
+ C.data && n(C.data, "expectedType") && S.push(C.data.expectedType);
315
+ }
316
+ var R = S.length > 0 ? ", expected one of type [" + S.join(", ") + "]" : "";
317
+ return new L("Invalid " + w + " `" + h + "` supplied to " + ("`" + p + "`" + R + "."));
318
+ }
319
+ return b(f);
320
+ }
321
+ function Ae() {
322
+ function t(c, g, f, u, m) {
323
+ return K(c[g]) ? null : new L("Invalid " + u + " `" + m + "` supplied to " + ("`" + f + "`, expected a ReactNode."));
324
+ }
325
+ return b(t);
326
+ }
327
+ function ie(t, c, g, f, u) {
328
+ return new L(
329
+ (t || "React class") + ": " + c + " type `" + g + "." + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + u + "`."
330
+ );
331
+ }
332
+ function Pe(t) {
333
+ function c(g, f, u, m, p) {
334
+ var w = g[f], h = B(w);
335
+ if (h !== "object")
336
+ return new L("Invalid " + m + " `" + p + "` of type `" + h + "` " + ("supplied to `" + u + "`, expected `object`."));
337
+ for (var S in t) {
338
+ var v = t[S];
339
+ if (typeof v != "function")
340
+ return ie(u, m, p, S, q(v));
341
+ var P = v(w, S, u, m, p + "." + S, a);
342
+ if (P)
343
+ return P;
344
+ }
345
+ return null;
346
+ }
347
+ return b(c);
348
+ }
349
+ function Oe(t) {
350
+ function c(g, f, u, m, p) {
351
+ var w = g[f], h = B(w);
352
+ if (h !== "object")
353
+ return new L("Invalid " + m + " `" + p + "` of type `" + h + "` " + ("supplied to `" + u + "`, expected `object`."));
354
+ var S = i({}, g[f], t);
355
+ for (var v in S) {
356
+ var P = t[v];
357
+ if (n(t, v) && typeof P != "function")
358
+ return ie(u, m, p, v, q(P));
359
+ if (!P)
360
+ return new L(
361
+ "Invalid " + m + " `" + p + "` key `" + v + "` supplied to `" + u + "`.\nBad object: " + JSON.stringify(g[f], null, " ") + `
362
+ Valid keys: ` + JSON.stringify(Object.keys(t), null, " ")
363
+ );
364
+ var C = P(w, v, u, m, p + "." + v, a);
365
+ if (C)
366
+ return C;
367
+ }
368
+ return null;
369
+ }
370
+ return b(c);
371
+ }
372
+ function K(t) {
373
+ switch (typeof t) {
374
+ case "number":
375
+ case "string":
376
+ case "undefined":
377
+ return !0;
378
+ case "boolean":
379
+ return !t;
380
+ case "object":
381
+ if (Array.isArray(t))
382
+ return t.every(K);
383
+ if (t === null || o(t))
384
+ return !0;
385
+ var c = T(t);
386
+ if (c) {
387
+ var g = c.call(t), f;
388
+ if (c !== t.entries) {
389
+ for (; !(f = g.next()).done; )
390
+ if (!K(f.value))
391
+ return !1;
392
+ } else
393
+ for (; !(f = g.next()).done; ) {
394
+ var u = f.value;
395
+ if (u && !K(u[1]))
396
+ return !1;
397
+ }
398
+ } else
399
+ return !1;
400
+ return !0;
401
+ default:
402
+ return !1;
403
+ }
404
+ }
405
+ function Ie(t, c) {
406
+ return t === "symbol" ? !0 : c ? c["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && c instanceof Symbol : !1;
407
+ }
408
+ function B(t) {
409
+ var c = typeof t;
410
+ return Array.isArray(t) ? "array" : t instanceof RegExp ? "object" : Ie(c, t) ? "symbol" : c;
411
+ }
412
+ function q(t) {
413
+ if (typeof t > "u" || t === null)
414
+ return "" + t;
415
+ var c = B(t);
416
+ if (c === "object") {
417
+ if (t instanceof Date)
418
+ return "date";
419
+ if (t instanceof RegExp)
420
+ return "regexp";
421
+ }
422
+ return c;
423
+ }
424
+ function ke(t) {
425
+ var c = q(t);
426
+ switch (c) {
427
+ case "array":
428
+ case "object":
429
+ return "an " + c;
430
+ case "boolean":
431
+ case "date":
432
+ case "regexp":
433
+ return "a " + c;
434
+ default:
435
+ return c;
436
+ }
437
+ }
438
+ function Be(t) {
439
+ return !t.constructor || !t.constructor.name ? M : t.constructor.name;
440
+ }
441
+ return E.checkPropTypes = d, E.resetWarningCache = d.resetWarningCache, E.PropTypes = E, E;
442
+ }, J;
443
+ }
444
+ var $, ye;
445
+ function Ze() {
446
+ if (ye) return $;
447
+ ye = 1;
448
+ var e = ae();
449
+ function i() {
450
+ }
451
+ function a() {
452
+ }
453
+ return a.resetWarningCache = i, $ = function() {
454
+ function n(s, o, _, y, l, T) {
455
+ if (T !== e) {
456
+ var M = new Error(
457
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
458
+ );
459
+ throw M.name = "Invariant Violation", M;
460
+ }
461
+ }
462
+ n.isRequired = n;
463
+ function d() {
464
+ return n;
465
+ }
466
+ var r = {
467
+ array: n,
468
+ bigint: n,
469
+ bool: n,
470
+ func: n,
471
+ number: n,
472
+ object: n,
473
+ string: n,
474
+ symbol: n,
475
+ any: n,
476
+ arrayOf: d,
477
+ element: n,
478
+ elementType: n,
479
+ instanceOf: d,
480
+ node: n,
481
+ objectOf: d,
482
+ oneOf: d,
483
+ oneOfType: d,
484
+ shape: d,
485
+ exact: d,
486
+ checkPropTypes: a,
487
+ resetWarningCache: i
488
+ };
489
+ return r.PropTypes = r, r;
490
+ }, $;
491
+ }
492
+ if (process.env.NODE_ENV !== "production") {
493
+ var Fe = me, Ye = !0;
494
+ ne.exports = We()(Fe.isElement, Ye);
495
+ } else
496
+ ne.exports = Ze()();
497
+ var Je = ne.exports;
498
+ const x = /* @__PURE__ */ je(Je), te = process.env.NODE_ENV !== "production" ? x.oneOfType([x.number, x.string, x.object, x.array]) : {};
499
+ function $e(e, i, a = !0) {
500
+ if (e && e.vars && a) {
501
+ const n = `vars.${i}`.split(".").reduce((d, r) => d && d[r] ? d[r] : null, e);
502
+ if (n != null)
503
+ return n;
504
+ }
505
+ return i.split(".").reduce((n, d) => n && n[d] != null ? n[d] : null, e);
506
+ }
507
+ const Te = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Se = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Qe = [...Te, ...Se];
508
+ function Xe(e, i, a, n) {
509
+ var d;
510
+ const r = (d = $e(e, i, !1)) != null ? d : a;
511
+ return typeof r == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), r * s) : Array.isArray(r) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > r.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(r)}.`, `${s} > ${r.length - 1}, you need to add the missing values.`].join(`
512
+ `)) : console.error([`MUI: The \`theme.${i}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${i}\` as a number.`].join(`
513
+ `))), r[s]) : typeof r == "function" ? r : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${i}\` value (${r}) is invalid.`, "It should be a number, an array or a function."].join(`
514
+ `)), () => {
515
+ });
516
+ }
517
+ function en(e) {
518
+ return Xe(e, "spacing", 8, "spacing");
519
+ }
520
+ process.env.NODE_ENV !== "production" && Te.reduce((e, i) => (e[i] = te, e), {});
521
+ process.env.NODE_ENV !== "production" && Se.reduce((e, i) => (e[i] = te, e), {});
522
+ process.env.NODE_ENV !== "production" && Qe.reduce((e, i) => (e[i] = te, e), {});
523
+ function nn(e = 8) {
524
+ if (e.mui)
525
+ return e;
526
+ const i = en({
527
+ spacing: e
528
+ }), a = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((r) => {
529
+ const s = i(r);
530
+ return typeof s == "number" ? `${s}px` : s;
531
+ }).join(" "));
532
+ return a.mui = !0, a;
533
+ }
534
+ const rn = 8, Gn = {
535
+ XS: 320,
536
+ SM: 600,
537
+ MD: 960,
538
+ LG: 1280,
539
+ XL: 1600
540
+ }, j = nn(rn), Rn = j(1.5), Nn = j(2.25), Dn = j(3), qn = j(6), an = {
9
541
  regular: 400,
10
542
  medium: 500,
11
543
  strong: 600
12
544
  };
13
- function ae({ italic: e, weight: t, style: a, children: n, ...i }, d) {
14
- const r = {
15
- fontWeight: ee[t],
545
+ function tn({ italic: e, weight: i, style: a, children: n, ...d }, r) {
546
+ const s = {
547
+ fontWeight: an[i],
16
548
  fontStyle: e ? "italic" : void 0
17
549
  };
18
- return /* @__PURE__ */ y(
19
- z,
550
+ return /* @__PURE__ */ I(
551
+ Re,
20
552
  {
21
- ...i,
22
- ref: d,
553
+ ...d,
554
+ ref: r,
23
555
  style: {
24
- ...r,
556
+ ...s,
25
557
  ...a
26
558
  },
27
559
  children: n
28
560
  }
29
561
  );
30
562
  }
31
- const ne = O(ae), re = {
563
+ const xn = De(tn), sn = {
32
564
  c4r: {
33
565
  form: {
34
566
  selectAll: "Select all",
@@ -145,7 +677,7 @@ const ne = O(ae), re = {
145
677
  }
146
678
  }
147
679
  }
148
- }, te = {
680
+ }, dn = {
149
681
  c4r: {
150
682
  form: {
151
683
  selectAll: "Seleccionar todos",
@@ -260,7 +792,7 @@ const ne = O(ae), re = {
260
792
  }
261
793
  }
262
794
  }
263
- }, ie = {
795
+ }, on = {
264
796
  c4r: {
265
797
  form: {
266
798
  selectAll: "Select all",
@@ -377,16 +909,16 @@ const ne = O(ae), re = {
377
909
  }
378
910
  }
379
911
  }
380
- }, N = { en: re, es: te, id: ie };
381
- function de(e) {
912
+ }, pe = { en: sn, es: dn, id: on };
913
+ function cn(e) {
382
914
  return Intl.getCanonicalLocales(e);
383
915
  }
384
- function T(e, t, a) {
385
- if (a || arguments.length === 2) for (var n = 0, i = t.length, d; n < i; n++)
386
- (d || !(n in t)) && (d || (d = Array.prototype.slice.call(t, 0, n)), d[n] = t[n]);
387
- return e.concat(d || Array.prototype.slice.call(t));
916
+ function H(e, i, a) {
917
+ if (a || arguments.length === 2) for (var n = 0, d = i.length, r; n < d; n++)
918
+ (r || !(n in i)) && (r || (r = Array.prototype.slice.call(i, 0, n)), r[n] = i[n]);
919
+ return e.concat(r || Array.prototype.slice.call(i));
388
920
  }
389
- var C = {
921
+ var Q = {
390
922
  supplemental: {
391
923
  languageMatching: {
392
924
  "written-new": [
@@ -3005,7 +3537,7 @@ var C = {
3005
3537
  ]
3006
3538
  }
3007
3539
  }
3008
- }, se = {
3540
+ }, _n = {
3009
3541
  "001": [
3010
3542
  "001",
3011
3543
  "001-status-grouping",
@@ -4337,74 +4869,74 @@ var C = {
4337
4869
  "ZM",
4338
4870
  "ZW"
4339
4871
  ]
4340
- }, D = /-u(?:-[0-9a-z]{2,8})+/gi;
4341
- function M(e, t, a) {
4872
+ }, Me = /-u(?:-[0-9a-z]{2,8})+/gi;
4873
+ function N(e, i, a) {
4342
4874
  if (a === void 0 && (a = Error), !e)
4343
- throw new a(t);
4875
+ throw new a(i);
4344
4876
  }
4345
- var oe = 838, v;
4346
- function _e() {
4347
- var e, t;
4348
- if (!v) {
4349
- var a = (t = (e = C.supplemental.languageMatching["written-new"][0]) === null || e === void 0 ? void 0 : e.paradigmLocales) === null || t === void 0 ? void 0 : t._locales.split(" "), n = C.supplemental.languageMatching["written-new"].slice(1, 5), i = C.supplemental.languageMatching["written-new"].slice(5), d = i.map(function(r) {
4350
- var s = Object.keys(r)[0], o = r[s];
4877
+ var un = 838, X;
4878
+ function ln() {
4879
+ var e, i;
4880
+ if (!X) {
4881
+ var a = (i = (e = Q.supplemental.languageMatching["written-new"][0]) === null || e === void 0 ? void 0 : e.paradigmLocales) === null || i === void 0 ? void 0 : i._locales.split(" "), n = Q.supplemental.languageMatching["written-new"].slice(1, 5), d = Q.supplemental.languageMatching["written-new"].slice(5), r = d.map(function(s) {
4882
+ var o = Object.keys(s)[0], _ = s[o];
4351
4883
  return {
4352
- supported: s,
4353
- desired: o._desired,
4354
- distance: +o._distance,
4355
- oneway: o.oneway === "true"
4884
+ supported: o,
4885
+ desired: _._desired,
4886
+ distance: +_._distance,
4887
+ oneway: _.oneway === "true"
4356
4888
  };
4357
4889
  }, {});
4358
- v = {
4359
- matches: d,
4360
- matchVariables: n.reduce(function(r, s) {
4361
- var o = Object.keys(s)[0], _ = s[o];
4362
- return r[o.slice(1)] = _._value.split("+"), r;
4890
+ X = {
4891
+ matches: r,
4892
+ matchVariables: n.reduce(function(s, o) {
4893
+ var _ = Object.keys(o)[0], y = o[_];
4894
+ return s[_.slice(1)] = y._value.split("+"), s;
4363
4895
  }, {}),
4364
- paradigmLocales: T(T([], a, !0), a.map(function(r) {
4365
- return new Intl.Locale(r.replace(/_/g, "-")).maximize().toString();
4896
+ paradigmLocales: H(H([], a, !0), a.map(function(s) {
4897
+ return new Intl.Locale(s.replace(/_/g, "-")).maximize().toString();
4366
4898
  }), !0)
4367
4899
  };
4368
4900
  }
4369
- return v;
4901
+ return X;
4370
4902
  }
4371
- function f(e, t, a) {
4372
- var n = t.split("-"), i = n[0], d = n[1], r = n[2], s = !0;
4373
- if (r && r[0] === "$") {
4374
- var o = r[1] !== "!", _ = o ? a[r.slice(1)] : a[r.slice(2)], c = _.map(function(l) {
4375
- return se[l] || [l];
4376
- }).reduce(function(l, g) {
4377
- return T(T([], l, !0), g, !0);
4903
+ function U(e, i, a) {
4904
+ var n = i.split("-"), d = n[0], r = n[1], s = n[2], o = !0;
4905
+ if (s && s[0] === "$") {
4906
+ var _ = s[1] !== "!", y = _ ? a[s.slice(1)] : a[s.slice(2)], l = y.map(function(T) {
4907
+ return _n[T] || [T];
4908
+ }).reduce(function(T, M) {
4909
+ return H(H([], T, !0), M, !0);
4378
4910
  }, []);
4379
- s && (s = c.indexOf(e.region || "") > 1 == o);
4911
+ o && (o = l.indexOf(e.region || "") > 1 == _);
4380
4912
  } else
4381
- s && (s = e.region ? r === "*" || r === e.region : !0);
4382
- return s && (s = e.script ? d === "*" || d === e.script : !0), s && (s = e.language ? i === "*" || i === e.language : !0), s;
4913
+ o && (o = e.region ? s === "*" || s === e.region : !0);
4914
+ return o && (o = e.script ? r === "*" || r === e.script : !0), o && (o = e.language ? d === "*" || d === e.language : !0), o;
4383
4915
  }
4384
- function b(e) {
4916
+ function fe(e) {
4385
4917
  return [e.language, e.script, e.region].filter(Boolean).join("-");
4386
4918
  }
4387
- function G(e, t, a) {
4388
- for (var n = 0, i = a.matches; n < i.length; n++) {
4389
- var d = i[n], r = f(e, d.desired, a.matchVariables) && f(t, d.supported, a.matchVariables);
4390
- if (!d.oneway && !r && (r = f(e, d.supported, a.matchVariables) && f(t, d.desired, a.matchVariables)), r) {
4391
- var s = d.distance * 10;
4392
- return a.paradigmLocales.indexOf(b(e)) > -1 != a.paradigmLocales.indexOf(b(t)) > -1 ? s - 1 : s;
4919
+ function ee(e, i, a) {
4920
+ for (var n = 0, d = a.matches; n < d.length; n++) {
4921
+ var r = d[n], s = U(e, r.desired, a.matchVariables) && U(i, r.supported, a.matchVariables);
4922
+ if (!r.oneway && !s && (s = U(e, r.supported, a.matchVariables) && U(i, r.desired, a.matchVariables)), s) {
4923
+ var o = r.distance * 10;
4924
+ return a.paradigmLocales.indexOf(fe(e)) > -1 != a.paradigmLocales.indexOf(fe(i)) > -1 ? o - 1 : o;
4393
4925
  }
4394
4926
  }
4395
4927
  throw new Error("No matching distance found");
4396
4928
  }
4397
- function ce(e, t) {
4398
- var a = new Intl.Locale(e).maximize(), n = new Intl.Locale(t).maximize(), i = {
4929
+ function yn(e, i) {
4930
+ var a = new Intl.Locale(e).maximize(), n = new Intl.Locale(i).maximize(), d = {
4399
4931
  language: a.language,
4400
4932
  script: a.script || "",
4401
4933
  region: a.region || ""
4402
- }, d = {
4934
+ }, r = {
4403
4935
  language: n.language,
4404
4936
  script: n.script || "",
4405
4937
  region: n.region || ""
4406
- }, r = 0, s = _e();
4407
- return i.language !== d.language && (r += G({
4938
+ }, s = 0, o = ln();
4939
+ return d.language !== r.language && (s += ee({
4408
4940
  language: a.language,
4409
4941
  script: "",
4410
4942
  region: ""
@@ -4412,41 +4944,41 @@ function ce(e, t) {
4412
4944
  language: n.language,
4413
4945
  script: "",
4414
4946
  region: ""
4415
- }, s)), i.script !== d.script && (r += G({
4947
+ }, o)), d.script !== r.script && (s += ee({
4416
4948
  language: a.language,
4417
- script: i.script,
4949
+ script: d.script,
4418
4950
  region: ""
4419
4951
  }, {
4420
4952
  language: n.language,
4421
- script: i.script,
4953
+ script: d.script,
4422
4954
  region: ""
4423
- }, s)), i.region !== d.region && (r += G(i, d, s)), r;
4955
+ }, o)), d.region !== r.region && (s += ee(d, r, o)), s;
4424
4956
  }
4425
- function ue(e, t, a) {
4426
- a === void 0 && (a = oe);
4427
- var n = 1 / 0, i = {
4957
+ function pn(e, i, a) {
4958
+ a === void 0 && (a = un);
4959
+ var n = 1 / 0, d = {
4428
4960
  matchedDesiredLocale: "",
4429
4961
  distances: {}
4430
4962
  };
4431
- return e.forEach(function(d, r) {
4432
- i.distances[d] || (i.distances[d] = {}), t.forEach(function(s) {
4433
- var o = ce(d, s) + 0 + r * 40;
4434
- i.distances[d][s] = o, o < n && (n = o, i.matchedDesiredLocale = d, i.matchedSupportedLocale = s);
4963
+ return e.forEach(function(r, s) {
4964
+ d.distances[r] || (d.distances[r] = {}), i.forEach(function(o) {
4965
+ var _ = yn(r, o) + 0 + s * 40;
4966
+ d.distances[r][o] = _, _ < n && (n = _, d.matchedDesiredLocale = r, d.matchedSupportedLocale = o);
4435
4967
  });
4436
- }), n >= a && (i.matchedDesiredLocale = void 0, i.matchedSupportedLocale = void 0), i;
4968
+ }), n >= a && (d.matchedDesiredLocale = void 0, d.matchedSupportedLocale = void 0), d;
4437
4969
  }
4438
- function le(e, t, a) {
4439
- var n, i, d = [], r = t.reduce(function(o, _) {
4440
- var c = _.replace(D, "");
4441
- return d.push(c), o[c] = _, o;
4442
- }, {}), s = ue(d, e);
4443
- return s.matchedSupportedLocale && s.matchedDesiredLocale && (n = s.matchedSupportedLocale, i = r[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length) || void 0), n ? {
4970
+ function fn(e, i, a) {
4971
+ var n, d, r = [], s = i.reduce(function(_, y) {
4972
+ var l = y.replace(Me, "");
4973
+ return r.push(l), _[l] = y, _;
4974
+ }, {}), o = pn(r, e);
4975
+ return o.matchedSupportedLocale && o.matchedDesiredLocale && (n = o.matchedSupportedLocale, d = s[o.matchedDesiredLocale].slice(o.matchedDesiredLocale.length) || void 0), n ? {
4444
4976
  locale: n,
4445
- extension: i
4977
+ extension: d
4446
4978
  } : { locale: a() };
4447
4979
  }
4448
- function ye(e, t) {
4449
- for (var a = t; ; ) {
4980
+ function wn(e, i) {
4981
+ for (var a = i; ; ) {
4450
4982
  if (e.indexOf(a) > -1)
4451
4983
  return a;
4452
4984
  var n = a.lastIndexOf("-");
@@ -4455,286 +4987,173 @@ function ye(e, t) {
4455
4987
  n >= 2 && a[n - 2] === "-" && (n -= 2), a = a.slice(0, n);
4456
4988
  }
4457
4989
  }
4458
- function we(e, t, a) {
4459
- for (var n = { locale: "" }, i = 0, d = t; i < d.length; i++) {
4460
- var r = d[i], s = r.replace(D, ""), o = ye(e, s);
4461
- if (o)
4462
- return n.locale = o, r !== s && (n.extension = r.slice(s.length, r.length)), n;
4990
+ function gn(e, i, a) {
4991
+ for (var n = { locale: "" }, d = 0, r = i; d < r.length; d++) {
4992
+ var s = r[d], o = s.replace(Me, ""), _ = wn(e, o);
4993
+ if (_)
4994
+ return n.locale = _, s !== o && (n.extension = s.slice(o.length, s.length)), n;
4463
4995
  }
4464
4996
  return n.locale = a(), n;
4465
4997
  }
4466
- function me(e, t) {
4467
- M(t.length === 2, "key must have 2 elements");
4468
- var a = e.length, n = "-".concat(t, "-"), i = e.indexOf(n);
4469
- if (i !== -1) {
4470
- for (var d = i + 4, r = d, s = d, o = !1; !o; ) {
4471
- var _ = e.indexOf("-", s), c = void 0;
4472
- _ === -1 ? c = a - s : c = _ - s, c === 2 ? o = !0 : _ === -1 ? (r = a, o = !0) : (r = _, s = _ + 1);
4998
+ function mn(e, i) {
4999
+ N(i.length === 2, "key must have 2 elements");
5000
+ var a = e.length, n = "-".concat(i, "-"), d = e.indexOf(n);
5001
+ if (d !== -1) {
5002
+ for (var r = d + 4, s = r, o = r, _ = !1; !_; ) {
5003
+ var y = e.indexOf("-", o), l = void 0;
5004
+ y === -1 ? l = a - o : l = y - o, l === 2 ? _ = !0 : y === -1 ? (s = a, _ = !0) : (s = y, o = y + 1);
4473
5005
  }
4474
- return e.slice(d, r);
5006
+ return e.slice(r, s);
4475
5007
  }
4476
- if (n = "-".concat(t), i = e.indexOf(n), i !== -1 && i + 3 === a)
5008
+ if (n = "-".concat(i), d = e.indexOf(n), d !== -1 && d + 3 === a)
4477
5009
  return "";
4478
5010
  }
4479
- function ge(e, t, a, n, i, d) {
4480
- var r = a.localeMatcher, s;
4481
- r === "lookup" ? s = we(Array.from(e), t, d) : s = le(Array.from(e), t, d);
4482
- for (var o = s.locale, _ = { locale: "", dataLocale: o }, c = "-u", l = 0, g = n; l < g.length; l++) {
4483
- var u = g[l];
4484
- M(o in i, "Missing locale data for ".concat(o));
4485
- var m = i[o];
4486
- M(typeof m == "object" && m !== null, "locale data ".concat(u, " must be an object"));
4487
- var h = m[u];
4488
- M(Array.isArray(h), "keyLocaleData for ".concat(u, " must be an array"));
4489
- var w = h[0];
4490
- M(typeof w == "string" || w === null, "value must be string or null but got ".concat(typeof w, " in key ").concat(u));
4491
- var L = "";
4492
- if (s.extension) {
4493
- var S = me(s.extension, u);
4494
- S !== void 0 && (S !== "" ? ~h.indexOf(S) && (w = S, L = "-".concat(u, "-").concat(w)) : ~S.indexOf("true") && (w = "true", L = "-".concat(u)));
5011
+ function hn(e, i, a, n, d, r) {
5012
+ var s = a.localeMatcher, o;
5013
+ s === "lookup" ? o = gn(Array.from(e), i, r) : o = fn(Array.from(e), i, r);
5014
+ for (var _ = o.locale, y = { locale: "", dataLocale: _ }, l = "-u", T = 0, M = n; T < M.length; T++) {
5015
+ var E = M[T];
5016
+ N(_ in d, "Missing locale data for ".concat(_));
5017
+ var O = d[_];
5018
+ N(typeof O == "object" && O !== null, "locale data ".concat(E, " must be an object"));
5019
+ var L = O[E];
5020
+ N(Array.isArray(L), "keyLocaleData for ".concat(E, " must be an array"));
5021
+ var b = L[0];
5022
+ N(typeof b == "string" || b === null, "value must be string or null but got ".concat(typeof b, " in key ").concat(E));
5023
+ var A = "";
5024
+ if (o.extension) {
5025
+ var G = mn(o.extension, E);
5026
+ G !== void 0 && (G !== "" ? ~L.indexOf(G) && (b = G, A = "-".concat(E, "-").concat(b)) : ~G.indexOf("true") && (b = "true", A = "-".concat(E)));
4495
5027
  }
4496
- if (u in a) {
4497
- var p = a[u];
4498
- M(typeof p == "string" || typeof p > "u" || p === null, "optionsValue must be String, Undefined or Null"), ~h.indexOf(p) && p !== w && (w = p, L = "");
5028
+ if (E in a) {
5029
+ var k = a[E];
5030
+ N(typeof k == "string" || typeof k > "u" || k === null, "optionsValue must be String, Undefined or Null"), ~L.indexOf(k) && k !== b && (b = k, A = "");
4499
5031
  }
4500
- _[u] = w, c += L;
5032
+ y[E] = b, l += A;
4501
5033
  }
4502
- if (c.length > 2) {
4503
- var A = o.indexOf("-x-");
4504
- if (A === -1)
4505
- o = o + c;
5034
+ if (l.length > 2) {
5035
+ var D = _.indexOf("-x-");
5036
+ if (D === -1)
5037
+ _ = _ + l;
4506
5038
  else {
4507
- var U = o.slice(0, A), x = o.slice(A, o.length);
4508
- o = U + c + x;
5039
+ var V = _.slice(0, D), z = _.slice(D, _.length);
5040
+ _ = V + l + z;
4509
5041
  }
4510
- o = Intl.getCanonicalLocales(o)[0];
5042
+ _ = Intl.getCanonicalLocales(_)[0];
4511
5043
  }
4512
- return _.locale = o, _;
5044
+ return y.locale = _, y;
4513
5045
  }
4514
- function pe(e, t, a, n) {
4515
- return ge(t, de(e), {
5046
+ function vn(e, i, a, n) {
5047
+ return hn(i, cn(e), {
4516
5048
  localeMatcher: "best fit"
4517
5049
  }, [], {}, function() {
4518
5050
  return a;
4519
5051
  }).locale;
4520
5052
  }
4521
- const B = "en";
4522
- function q(e, t = "") {
5053
+ const re = "en";
5054
+ function Le(e, i = "") {
4523
5055
  return Object.keys(e).reduce(
4524
5056
  (a, n) => {
4525
- const i = e[n], d = t ? `${t}.${n}` : n;
4526
- return typeof i == "string" ? a[d] = i : Object.assign(a, q(i, d)), a;
5057
+ const d = e[n], r = i ? `${i}.${n}` : n;
5058
+ return typeof d == "string" ? a[r] = d : Object.assign(a, Le(d, r)), a;
4527
5059
  },
4528
5060
  {}
4529
5061
  );
4530
5062
  }
4531
- function Me(e, t) {
4532
- const a = Object.keys(t), n = pe(
5063
+ function Tn(e, i) {
5064
+ const a = Object.keys(i), n = vn(
4533
5065
  [e],
4534
5066
  a,
4535
- B
5067
+ re
4536
5068
  );
4537
- return n || B;
5069
+ return n || re;
4538
5070
  }
4539
- const he = j(), R = /* @__PURE__ */ new WeakMap(), Se = (e) => {
4540
- const t = (e == null ? void 0 : e.locale) || B, a = Me(t, N), n = {
4541
- ...N[a] || {},
5071
+ const Sn = Ke(), we = /* @__PURE__ */ new WeakMap(), Mn = (e) => {
5072
+ const i = (e == null ? void 0 : e.locale) || re, a = Tn(i, pe), n = {
5073
+ ...pe[a] || {},
4542
5074
  ...(e == null ? void 0 : e.messages) ?? {}
4543
- }, i = q(n);
4544
- return Q(
5075
+ }, d = Le(n);
5076
+ return Ue(
4545
5077
  {
4546
- locale: t,
4547
- messages: i
5078
+ locale: i,
5079
+ messages: d
4548
5080
  },
4549
- he
5081
+ Sn
4550
5082
  );
4551
- }, Le = (e) => {
4552
- const t = R.get(e);
4553
- if (t)
4554
- return t;
4555
- const a = Se(e);
4556
- return R.set(e, a), a;
5083
+ }, Ln = (e) => {
5084
+ const i = we.get(e);
5085
+ if (i)
5086
+ return i;
5087
+ const a = Mn(e);
5088
+ return we.set(e, a), a;
4557
5089
  };
4558
- function fe(e) {
4559
- return Le(e);
5090
+ function En(e) {
5091
+ return Ln(e);
4560
5092
  }
4561
- const Te = E(F)(({ theme: e }) => ({
5093
+ const bn = he(Ne)(({ theme: e }) => ({
4562
5094
  display: "flex",
4563
5095
  gap: e.spacing(0.5),
4564
5096
  marginLeft: e.spacing(1)
4565
- })), K = E("div")(({ theme: e }) => ({
5097
+ })), ge = he("div")(({ theme: e }) => ({
4566
5098
  "& .MuiIconButton-root:not(.Mui-disabled)": {
4567
5099
  color: e.palette.text.secondary
4568
5100
  }
4569
5101
  }));
4570
- function Ne({
5102
+ function Kn({
4571
5103
  count: e,
4572
- page: t,
5104
+ page: i,
4573
5105
  rowsPerPage: a = 10,
4574
5106
  onPageChange: n,
4575
- lastPageTooltip: i
5107
+ lastPageTooltip: d
4576
5108
  }) {
4577
- const d = $(), r = fe(d), s = (m) => {
4578
- n(m, t - 1);
4579
- }, o = (m) => {
4580
- n(m, t + 1);
4581
- }, _ = t === Math.ceil(e / a) - 1, c = t === 0, l = r.formatMessage({
5109
+ const r = He(), s = En(r), o = (O) => {
5110
+ n(O, i - 1);
5111
+ }, _ = (O) => {
5112
+ n(O, i + 1);
5113
+ }, y = i === Math.ceil(e / a) - 1, l = i === 0, T = s.formatMessage({
4582
5114
  id: "c4r.form.pagination.prevPage"
4583
- }), g = r.formatMessage({
5115
+ }), M = s.formatMessage({
4584
5116
  id: "c4r.form.pagination.nextPage"
4585
- }), u = r.formatMessage({
5117
+ }), E = s.formatMessage({
4586
5118
  id: "c4r.form.pagination.noMorePages"
4587
5119
  });
4588
- return /* @__PURE__ */ H(Te, { children: [
4589
- /* @__PURE__ */ y(k, { title: c ? u : l, children: /* @__PURE__ */ y(K, { children: /* @__PURE__ */ y(
4590
- P,
5120
+ return /* @__PURE__ */ Ge(bn, { children: [
5121
+ /* @__PURE__ */ I(se, { title: l ? E : T, children: /* @__PURE__ */ I(ge, { children: /* @__PURE__ */ I(
5122
+ de,
4591
5123
  {
4592
- onClick: s,
4593
- disabled: t === 0,
4594
- "aria-label": l,
4595
- children: /* @__PURE__ */ y(Y, {})
5124
+ onClick: o,
5125
+ disabled: i === 0,
5126
+ "aria-label": T,
5127
+ children: /* @__PURE__ */ I(qe, {})
4596
5128
  }
4597
5129
  ) }) }),
4598
- /* @__PURE__ */ y(
4599
- k,
5130
+ /* @__PURE__ */ I(
5131
+ se,
4600
5132
  {
4601
- title: _ ? i ?? u : g,
4602
- children: /* @__PURE__ */ y(K, { children: /* @__PURE__ */ y(
4603
- P,
5133
+ title: y ? d ?? E : M,
5134
+ children: /* @__PURE__ */ I(ge, { children: /* @__PURE__ */ I(
5135
+ de,
4604
5136
  {
4605
- onClick: o,
4606
- disabled: t >= Math.ceil(e / a) - 1,
4607
- "aria-label": g,
4608
- children: /* @__PURE__ */ y(J, {})
5137
+ onClick: _,
5138
+ disabled: i >= Math.ceil(e / a) - 1,
5139
+ "aria-label": M,
5140
+ children: /* @__PURE__ */ I(xe, {})
4609
5141
  }
4610
5142
  ) })
4611
5143
  }
4612
5144
  )
4613
5145
  ] });
4614
5146
  }
4615
- const Ae = E(V, {
4616
- shouldForwardProp: (e) => ![
4617
- "isNeutral",
4618
- "content",
4619
- "hasCloseButton",
4620
- "hasAction",
4621
- "hasTitle",
4622
- "isSticky"
4623
- ].includes(e)
4624
- })(
4625
- ({
4626
- isNeutral: e,
4627
- content: t,
4628
- hasCloseButton: a,
4629
- hasAction: n,
4630
- hasTitle: i,
4631
- isSticky: d,
4632
- theme: r
4633
- }) => ({
4634
- columnGap: r.spacing(1),
4635
- minHeight: r.spacing(6),
4636
- ...n && {
4637
- display: "grid",
4638
- gridTemplateAreas: t === "inline" || a ? '"icon message actions"' : `
4639
- "icon message"
4640
- "icon actions"
4641
- `,
4642
- gridTemplateColumns: a ? `${I} 1fr ${r.spacing(3)}` : `${I}`
4643
- },
4644
- ...e && {
4645
- backgroundColor: r.palette.default.background,
4646
- color: r.palette.text.primary
4647
- },
4648
- ...d && {
4649
- borderRadius: 0
4650
- },
4651
- ".MuiAlert-message": {
4652
- flex: 1,
4653
- paddingTop: i ? r.spacing(0.25) : r.spacing(0.5),
4654
- "& a": {
4655
- color: r.palette.primary.main,
4656
- textDecoration: "none",
4657
- "&:hover": {
4658
- textDecoration: "underline"
4659
- }
4660
- },
4661
- ...n && {
4662
- gridArea: "message"
4663
- },
4664
- ...e && {
4665
- "& :not(.MuiAlertTitle-root)": {
4666
- color: r.palette.text.secondary
4667
- },
4668
- a: {
4669
- color: `${r.palette.primary.main} !important`
4670
- }
4671
- }
4672
- },
4673
- ".MuiAlert-icon": {
4674
- height: i ? r.spacing(2.5) : r.spacing(3),
4675
- marginRight: 0,
4676
- ...n && {
4677
- gridArea: "icon"
4678
- },
4679
- ...e && {
4680
- color: r.palette.text.primary
4681
- }
4682
- },
4683
- ".MuiAlert-action": {
4684
- alignItems: t === "inline" && !a ? "center" : "flex-start",
4685
- margin: t === "block" && !a ? r.spacing(1.5, 0, 0.5) : 0,
4686
- marginLeft: t === "inline" || a ? "auto" : 0,
4687
- padding: 0,
4688
- ...n && {
4689
- gridArea: "actions"
4690
- },
4691
- ".MuiIconButton-root svg path": {
4692
- fill: a ? r.palette.text.secondary : void 0
4693
- }
4694
- }
4695
- })
4696
- );
4697
- function Ce({
4698
- title: e,
4699
- action: t,
4700
- severity: a = "neutral",
4701
- content: n = "inline",
4702
- variant: i = "standard",
4703
- children: d,
4704
- onClose: r,
4705
- open: s,
4706
- isSticky: o,
4707
- ..._
4708
- }, c) {
4709
- const [l, g] = X(s ?? !0), u = r ? (w) => {
4710
- r(w), g(!1);
4711
- } : void 0, m = a === "neutral";
4712
- return /* @__PURE__ */ y(Z, { in: s ?? l, appear: !1, children: /* @__PURE__ */ H(
4713
- Ae,
4714
- {
4715
- ref: c,
4716
- severity: m ? "info" : a,
4717
- isNeutral: m,
4718
- content: n,
4719
- action: t,
4720
- onClose: u,
4721
- hasCloseButton: !!r,
4722
- hasAction: !!t,
4723
- hasTitle: !!e,
4724
- isSticky: o,
4725
- variant: i,
4726
- ..._,
4727
- children: [
4728
- e && /* @__PURE__ */ y(W, { children: e }),
4729
- /* @__PURE__ */ y(ne, { variant: "caption", color: "inherit", component: "div", children: d })
4730
- ]
4731
- }
4732
- ) });
4733
- }
4734
- const be = O(Ce);
4735
5147
  export {
4736
- be as A,
4737
- ne as T,
4738
- Ne as a,
4739
- fe as u
5148
+ qn as A,
5149
+ Gn as B,
5150
+ Dn as I,
5151
+ rn as S,
5152
+ xn as T,
5153
+ Kn as a,
5154
+ Nn as b,
5155
+ Rn as c,
5156
+ je as d,
5157
+ j as g,
5158
+ En as u
4740
5159
  };