@leapdevuk/component-toolbox 0.0.49 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -76,10 +76,10 @@ function ws() {
76
76
  he.unshift("Warning: " + C), Function.prototype.apply.call(console[c], console, he);
77
77
  }
78
78
  }
79
- var P = !1, b = !1, H = !1, J = !1, L = !1, S;
79
+ var P = !1, b = !1, H = !1, Z = !1, L = !1, S;
80
80
  S = Symbol.for("react.module.reference");
81
81
  function u(c) {
82
- return !!(typeof c == "string" || typeof c == "function" || c === r || c === o || L || c === a || c === f || c === m || J || c === x || P || b || H || typeof c == "object" && c !== null && (c.$$typeof === g || c.$$typeof === d || c.$$typeof === s || c.$$typeof === i || c.$$typeof === l || // This needs to include all possible module reference object
82
+ return !!(typeof c == "string" || typeof c == "function" || c === r || c === o || L || c === a || c === f || c === m || Z || c === x || P || b || H || typeof c == "object" && c !== null && (c.$$typeof === g || c.$$typeof === d || c.$$typeof === s || c.$$typeof === i || c.$$typeof === l || // This needs to include all possible module reference object
83
83
  // types supported by any Flight configuration anywhere since
84
84
  // we don't know which Flight build this will end up being used
85
85
  // with.
@@ -203,7 +203,7 @@ function ws() {
203
203
  }
204
204
  }
205
205
  var G = O.ReactCurrentDispatcher, Q;
206
- function Z(c, C, I) {
206
+ function U(c, C, I) {
207
207
  {
208
208
  if (Q === void 0)
209
209
  try {
@@ -216,16 +216,16 @@ function ws() {
216
216
  ` + Q + c;
217
217
  }
218
218
  }
219
- var ae = !1, U;
219
+ var ae = !1, J;
220
220
  {
221
221
  var De = typeof WeakMap == "function" ? WeakMap : Map;
222
- U = new De();
222
+ J = new De();
223
223
  }
224
224
  function j(c, C) {
225
225
  if (!c || ae)
226
226
  return "";
227
227
  {
228
- var I = U.get(c);
228
+ var I = J.get(c);
229
229
  if (I !== void 0)
230
230
  return I;
231
231
  }
@@ -280,7 +280,7 @@ function ws() {
280
280
  if (Te--, Pe--, Pe < 0 || ne[Te] !== Oe[Pe]) {
281
281
  var Fe = `
282
282
  ` + ne[Te].replace(" at new ", " at ");
283
- return c.displayName && Fe.includes("<anonymous>") && (Fe = Fe.replace("<anonymous>", c.displayName)), typeof c == "function" && U.set(c, Fe), Fe;
283
+ return c.displayName && Fe.includes("<anonymous>") && (Fe = Fe.replace("<anonymous>", c.displayName)), typeof c == "function" && J.set(c, Fe), Fe;
284
284
  }
285
285
  while (Te >= 1 && Pe >= 0);
286
286
  break;
@@ -289,8 +289,8 @@ function ws() {
289
289
  } finally {
290
290
  ae = !1, G.current = he, re(), Error.prepareStackTrace = ie;
291
291
  }
292
- var lt = c ? c.displayName || c.name : "", at = lt ? Z(lt) : "";
293
- return typeof c == "function" && U.set(c, at), at;
292
+ var lt = c ? c.displayName || c.name : "", at = lt ? U(lt) : "";
293
+ return typeof c == "function" && J.set(c, at), at;
294
294
  }
295
295
  function _e(c, C, I) {
296
296
  return j(c, !1);
@@ -305,12 +305,12 @@ function ws() {
305
305
  if (typeof c == "function")
306
306
  return j(c, A(c));
307
307
  if (typeof c == "string")
308
- return Z(c);
308
+ return U(c);
309
309
  switch (c) {
310
310
  case f:
311
- return Z("Suspense");
311
+ return U("Suspense");
312
312
  case m:
313
- return Z("SuspenseList");
313
+ return U("SuspenseList");
314
314
  }
315
315
  if (typeof c == "object")
316
316
  switch (c.$$typeof) {
@@ -3528,8 +3528,8 @@ const x0 = {
3528
3528
  T: new v0()
3529
3529
  }, C0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, T0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, E0 = /^'([^]*?)'?$/, S0 = /''/g, k0 = /\S/, M0 = /[a-zA-Z]/;
3530
3530
  function P0(t, n, e, r) {
3531
- var y, O, _, M, P, b, H, J;
3532
- const a = () => be((r == null ? void 0 : r.in) || e, NaN), o = Ri(), s = (r == null ? void 0 : r.locale) ?? o.locale ?? It, i = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((O = (y = r == null ? void 0 : r.locale) == null ? void 0 : y.options) == null ? void 0 : O.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((M = (_ = o.locale) == null ? void 0 : _.options) == null ? void 0 : M.firstWeekContainsDate) ?? 1, l = (r == null ? void 0 : r.weekStartsOn) ?? ((b = (P = r == null ? void 0 : r.locale) == null ? void 0 : P.options) == null ? void 0 : b.weekStartsOn) ?? o.weekStartsOn ?? ((J = (H = o.locale) == null ? void 0 : H.options) == null ? void 0 : J.weekStartsOn) ?? 0;
3531
+ var y, O, _, M, P, b, H, Z;
3532
+ const a = () => be((r == null ? void 0 : r.in) || e, NaN), o = Ri(), s = (r == null ? void 0 : r.locale) ?? o.locale ?? It, i = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((O = (y = r == null ? void 0 : r.locale) == null ? void 0 : y.options) == null ? void 0 : O.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((M = (_ = o.locale) == null ? void 0 : _.options) == null ? void 0 : M.firstWeekContainsDate) ?? 1, l = (r == null ? void 0 : r.weekStartsOn) ?? ((b = (P = r == null ? void 0 : r.locale) == null ? void 0 : P.options) == null ? void 0 : b.weekStartsOn) ?? o.weekStartsOn ?? ((Z = (H = o.locale) == null ? void 0 : H.options) == null ? void 0 : Z.weekStartsOn) ?? 0;
3533
3533
  if (!n)
3534
3534
  return t ? a() : Y(e, r == null ? void 0 : r.in);
3535
3535
  const f = {
@@ -4381,7 +4381,7 @@ function uu() {
4381
4381
  }
4382
4382
  }
4383
4383
  }
4384
- var b = l, H = f, J = i, L = s, S = n, u = m, T = r, R = k, W = x, ee = e, v = o, $ = a, D = d, B = !1;
4384
+ var b = l, H = f, Z = i, L = s, S = n, u = m, T = r, R = k, W = x, ee = e, v = o, $ = a, D = d, B = !1;
4385
4385
  function ye(j) {
4386
4386
  return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(j) || P(j) === l;
4387
4387
  }
@@ -4409,19 +4409,19 @@ function uu() {
4409
4409
  function Q(j) {
4410
4410
  return P(j) === x;
4411
4411
  }
4412
- function Z(j) {
4412
+ function U(j) {
4413
4413
  return P(j) === e;
4414
4414
  }
4415
4415
  function ae(j) {
4416
4416
  return P(j) === o;
4417
4417
  }
4418
- function U(j) {
4418
+ function J(j) {
4419
4419
  return P(j) === a;
4420
4420
  }
4421
4421
  function De(j) {
4422
4422
  return P(j) === d;
4423
4423
  }
4424
- ce.AsyncMode = b, ce.ConcurrentMode = H, ce.ContextConsumer = J, ce.ContextProvider = L, ce.Element = S, ce.ForwardRef = u, ce.Fragment = T, ce.Lazy = R, ce.Memo = W, ce.Portal = ee, ce.Profiler = v, ce.StrictMode = $, ce.Suspense = D, ce.isAsyncMode = ye, ce.isConcurrentMode = E, ce.isContextConsumer = N, ce.isContextProvider = X, ce.isElement = K, ce.isForwardRef = q, ce.isFragment = re, ce.isLazy = G, ce.isMemo = Q, ce.isPortal = Z, ce.isProfiler = ae, ce.isStrictMode = U, ce.isSuspense = De, ce.isValidElementType = M, ce.typeOf = P;
4424
+ ce.AsyncMode = b, ce.ConcurrentMode = H, ce.ContextConsumer = Z, ce.ContextProvider = L, ce.Element = S, ce.ForwardRef = u, ce.Fragment = T, ce.Lazy = R, ce.Memo = W, ce.Portal = ee, ce.Profiler = v, ce.StrictMode = $, ce.Suspense = D, ce.isAsyncMode = ye, ce.isConcurrentMode = E, ce.isContextConsumer = N, ce.isContextProvider = X, ce.isElement = K, ce.isForwardRef = q, ce.isFragment = re, ce.isLazy = G, ce.isMemo = Q, ce.isPortal = U, ce.isProfiler = ae, ce.isStrictMode = J, ce.isSuspense = De, ce.isValidElementType = M, ce.typeOf = P;
4425
4425
  }()), ce;
4426
4426
  }
4427
4427
  var Ln;
@@ -4579,7 +4579,7 @@ function fu() {
4579
4579
  instanceOf: H,
4580
4580
  node: u(),
4581
4581
  objectOf: L,
4582
- oneOf: J,
4582
+ oneOf: Z,
4583
4583
  oneOfType: S,
4584
4584
  shape: R,
4585
4585
  exact: W
@@ -4594,33 +4594,33 @@ function fu() {
4594
4594
  function y(E) {
4595
4595
  if (process.env.NODE_ENV !== "production")
4596
4596
  var N = {}, X = 0;
4597
- function K(re, G, Q, Z, ae, U, De) {
4598
- if (Z = Z || g, U = U || Q, De !== e) {
4597
+ function K(re, G, Q, U, ae, J, De) {
4598
+ if (U = U || g, J = J || Q, De !== e) {
4599
4599
  if (l) {
4600
4600
  var j = new Error(
4601
4601
  "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"
4602
4602
  );
4603
4603
  throw j.name = "Invariant Violation", j;
4604
4604
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
4605
- var _e = Z + ":" + Q;
4605
+ var _e = U + ":" + Q;
4606
4606
  !N[_e] && // Avoid spamming the console because they are often not actionable except for lib authors
4607
4607
  X < 3 && (o(
4608
- "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + Z + "`. 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."
4608
+ "You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" + U + "`. 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."
4609
4609
  ), N[_e] = !0, X++);
4610
4610
  }
4611
4611
  }
4612
- return G[Q] == null ? re ? G[Q] === null ? new w("The " + ae + " `" + U + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new w("The " + ae + " `" + U + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : E(G, Q, Z, ae, U);
4612
+ return G[Q] == null ? re ? G[Q] === null ? new w("The " + ae + " `" + J + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new w("The " + ae + " `" + J + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : E(G, Q, U, ae, J);
4613
4613
  }
4614
4614
  var q = K.bind(null, !1);
4615
4615
  return q.isRequired = K.bind(null, !0), q;
4616
4616
  }
4617
4617
  function O(E) {
4618
4618
  function N(X, K, q, re, G, Q) {
4619
- var Z = X[K], ae = $(Z);
4619
+ var U = X[K], ae = $(U);
4620
4620
  if (ae !== E) {
4621
- var U = D(Z);
4621
+ var J = D(U);
4622
4622
  return new w(
4623
- "Invalid " + re + " `" + G + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected ") + ("`" + E + "`."),
4623
+ "Invalid " + re + " `" + G + "` of type " + ("`" + J + "` supplied to `" + q + "`, expected ") + ("`" + E + "`."),
4624
4624
  { expectedType: E }
4625
4625
  );
4626
4626
  }
@@ -4637,13 +4637,13 @@ function fu() {
4637
4637
  return new w("Property `" + G + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
4638
4638
  var Q = X[K];
4639
4639
  if (!Array.isArray(Q)) {
4640
- var Z = $(Q);
4641
- return new w("Invalid " + re + " `" + G + "` of type " + ("`" + Z + "` supplied to `" + q + "`, expected an array."));
4640
+ var U = $(Q);
4641
+ return new w("Invalid " + re + " `" + G + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected an array."));
4642
4642
  }
4643
4643
  for (var ae = 0; ae < Q.length; ae++) {
4644
- var U = E(Q, ae, q, re, G + "[" + ae + "]", e);
4645
- if (U instanceof Error)
4646
- return U;
4644
+ var J = E(Q, ae, q, re, G + "[" + ae + "]", e);
4645
+ if (J instanceof Error)
4646
+ return J;
4647
4647
  }
4648
4648
  return null;
4649
4649
  }
@@ -4674,21 +4674,21 @@ function fu() {
4674
4674
  function H(E) {
4675
4675
  function N(X, K, q, re, G) {
4676
4676
  if (!(X[K] instanceof E)) {
4677
- var Q = E.name || g, Z = ye(X[K]);
4678
- return new w("Invalid " + re + " `" + G + "` of type " + ("`" + Z + "` supplied to `" + q + "`, expected ") + ("instance of `" + Q + "`."));
4677
+ var Q = E.name || g, U = ye(X[K]);
4678
+ return new w("Invalid " + re + " `" + G + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected ") + ("instance of `" + Q + "`."));
4679
4679
  }
4680
4680
  return null;
4681
4681
  }
4682
4682
  return y(N);
4683
4683
  }
4684
- function J(E) {
4684
+ function Z(E) {
4685
4685
  if (!Array.isArray(E))
4686
4686
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
4687
4687
  "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])."
4688
4688
  ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
4689
4689
  function N(X, K, q, re, G) {
4690
- for (var Q = X[K], Z = 0; Z < E.length; Z++)
4691
- if (k(Q, E[Z]))
4690
+ for (var Q = X[K], U = 0; U < E.length; U++)
4691
+ if (k(Q, E[U]))
4692
4692
  return null;
4693
4693
  var ae = JSON.stringify(E, function(De, j) {
4694
4694
  var _e = D(j);
@@ -4702,14 +4702,14 @@ function fu() {
4702
4702
  function N(X, K, q, re, G) {
4703
4703
  if (typeof E != "function")
4704
4704
  return new w("Property `" + G + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
4705
- var Q = X[K], Z = $(Q);
4706
- if (Z !== "object")
4707
- return new w("Invalid " + re + " `" + G + "` of type " + ("`" + Z + "` supplied to `" + q + "`, expected an object."));
4705
+ var Q = X[K], U = $(Q);
4706
+ if (U !== "object")
4707
+ return new w("Invalid " + re + " `" + G + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected an object."));
4708
4708
  for (var ae in Q)
4709
4709
  if (r(Q, ae)) {
4710
- var U = E(Q, ae, q, re, G + "." + ae, e);
4711
- if (U instanceof Error)
4712
- return U;
4710
+ var J = E(Q, ae, q, re, G + "." + ae, e);
4711
+ if (J instanceof Error)
4712
+ return J;
4713
4713
  }
4714
4714
  return null;
4715
4715
  }
@@ -4725,15 +4725,15 @@ function fu() {
4725
4725
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(X) + " at index " + N + "."
4726
4726
  ), s;
4727
4727
  }
4728
- function K(q, re, G, Q, Z) {
4729
- for (var ae = [], U = 0; U < E.length; U++) {
4730
- var De = E[U], j = De(q, re, G, Q, Z, e);
4728
+ function K(q, re, G, Q, U) {
4729
+ for (var ae = [], J = 0; J < E.length; J++) {
4730
+ var De = E[J], j = De(q, re, G, Q, U, e);
4731
4731
  if (j == null)
4732
4732
  return null;
4733
4733
  j.data && r(j.data, "expectedType") && ae.push(j.data.expectedType);
4734
4734
  }
4735
4735
  var _e = ae.length > 0 ? ", expected one of type [" + ae.join(", ") + "]" : "";
4736
- return new w("Invalid " + Q + " `" + Z + "` supplied to " + ("`" + G + "`" + _e + "."));
4736
+ return new w("Invalid " + Q + " `" + U + "` supplied to " + ("`" + G + "`" + _e + "."));
4737
4737
  }
4738
4738
  return y(K);
4739
4739
  }
@@ -4750,14 +4750,14 @@ function fu() {
4750
4750
  }
4751
4751
  function R(E) {
4752
4752
  function N(X, K, q, re, G) {
4753
- var Q = X[K], Z = $(Q);
4754
- if (Z !== "object")
4755
- return new w("Invalid " + re + " `" + G + "` of type `" + Z + "` " + ("supplied to `" + q + "`, expected `object`."));
4753
+ var Q = X[K], U = $(Q);
4754
+ if (U !== "object")
4755
+ return new w("Invalid " + re + " `" + G + "` of type `" + U + "` " + ("supplied to `" + q + "`, expected `object`."));
4756
4756
  for (var ae in E) {
4757
- var U = E[ae];
4758
- if (typeof U != "function")
4759
- return T(q, re, G, ae, D(U));
4760
- var De = U(Q, ae, q, re, G + "." + ae, e);
4757
+ var J = E[ae];
4758
+ if (typeof J != "function")
4759
+ return T(q, re, G, ae, D(J));
4760
+ var De = J(Q, ae, q, re, G + "." + ae, e);
4761
4761
  if (De)
4762
4762
  return De;
4763
4763
  }
@@ -4767,20 +4767,20 @@ function fu() {
4767
4767
  }
4768
4768
  function W(E) {
4769
4769
  function N(X, K, q, re, G) {
4770
- var Q = X[K], Z = $(Q);
4771
- if (Z !== "object")
4772
- return new w("Invalid " + re + " `" + G + "` of type `" + Z + "` " + ("supplied to `" + q + "`, expected `object`."));
4770
+ var Q = X[K], U = $(Q);
4771
+ if (U !== "object")
4772
+ return new w("Invalid " + re + " `" + G + "` of type `" + U + "` " + ("supplied to `" + q + "`, expected `object`."));
4773
4773
  var ae = n({}, X[K], E);
4774
- for (var U in ae) {
4775
- var De = E[U];
4776
- if (r(E, U) && typeof De != "function")
4777
- return T(q, re, G, U, D(De));
4774
+ for (var J in ae) {
4775
+ var De = E[J];
4776
+ if (r(E, J) && typeof De != "function")
4777
+ return T(q, re, G, J, D(De));
4778
4778
  if (!De)
4779
4779
  return new w(
4780
- "Invalid " + re + " `" + G + "` key `" + U + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(X[K], null, " ") + `
4780
+ "Invalid " + re + " `" + G + "` key `" + J + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(X[K], null, " ") + `
4781
4781
  Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
4782
4782
  );
4783
- var j = De(Q, U, q, re, G + "." + U, e);
4783
+ var j = De(Q, J, q, re, G + "." + J, e);
4784
4784
  if (j)
4785
4785
  return j;
4786
4786
  }
@@ -5051,7 +5051,7 @@ function pu() {
5051
5051
  }
5052
5052
  }
5053
5053
  }
5054
- var H = s, J = o, L = t, S = l, u = e, T = g, R = d, W = n, ee = a, v = r, $ = f, D = m, B = !1, ye = !1;
5054
+ var H = s, Z = o, L = t, S = l, u = e, T = g, R = d, W = n, ee = a, v = r, $ = f, D = m, B = !1, ye = !1;
5055
5055
  function E(A) {
5056
5056
  return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5057
5057
  }
@@ -5076,13 +5076,13 @@ function pu() {
5076
5076
  function Q(A) {
5077
5077
  return b(A) === g;
5078
5078
  }
5079
- function Z(A) {
5079
+ function U(A) {
5080
5080
  return b(A) === d;
5081
5081
  }
5082
5082
  function ae(A) {
5083
5083
  return b(A) === n;
5084
5084
  }
5085
- function U(A) {
5085
+ function J(A) {
5086
5086
  return b(A) === a;
5087
5087
  }
5088
5088
  function De(A) {
@@ -5094,7 +5094,7 @@ function pu() {
5094
5094
  function _e(A) {
5095
5095
  return b(A) === m;
5096
5096
  }
5097
- fe.ContextConsumer = H, fe.ContextProvider = J, fe.Element = L, fe.ForwardRef = S, fe.Fragment = u, fe.Lazy = T, fe.Memo = R, fe.Portal = W, fe.Profiler = ee, fe.StrictMode = v, fe.Suspense = $, fe.SuspenseList = D, fe.isAsyncMode = E, fe.isConcurrentMode = N, fe.isContextConsumer = X, fe.isContextProvider = K, fe.isElement = q, fe.isForwardRef = re, fe.isFragment = G, fe.isLazy = Q, fe.isMemo = Z, fe.isPortal = ae, fe.isProfiler = U, fe.isStrictMode = De, fe.isSuspense = j, fe.isSuspenseList = _e, fe.isValidElementType = P, fe.typeOf = b;
5097
+ fe.ContextConsumer = H, fe.ContextProvider = Z, fe.Element = L, fe.ForwardRef = S, fe.Fragment = u, fe.Lazy = T, fe.Memo = R, fe.Portal = W, fe.Profiler = ee, fe.StrictMode = v, fe.Suspense = $, fe.SuspenseList = D, fe.isAsyncMode = E, fe.isConcurrentMode = N, fe.isContextConsumer = X, fe.isContextProvider = K, fe.isElement = q, fe.isForwardRef = re, fe.isFragment = G, fe.isLazy = Q, fe.isMemo = U, fe.isPortal = ae, fe.isProfiler = J, fe.isStrictMode = De, fe.isSuspense = j, fe.isSuspenseList = _e, fe.isValidElementType = P, fe.typeOf = b;
5098
5098
  }()), fe;
5099
5099
  }
5100
5100
  process.env.NODE_ENV === "production" ? Wr.exports = yu() : Wr.exports = pu();
@@ -6440,8 +6440,8 @@ function Fc(t = {}) {
6440
6440
  ...k
6441
6441
  }), M = (b) => {
6442
6442
  if (typeof b == "function" && b.__emotion_real !== b)
6443
- return function(J) {
6444
- return Qt(J, b);
6443
+ return function(Z) {
6444
+ return Qt(Z, b);
6445
6445
  };
6446
6446
  if (Ge(b)) {
6447
6447
  const H = to(b);
@@ -6451,7 +6451,7 @@ function Fc(t = {}) {
6451
6451
  }
6452
6452
  return b;
6453
6453
  }, P = (...b) => {
6454
- const H = [], J = b.map(M), L = [];
6454
+ const H = [], Z = b.map(M), L = [];
6455
6455
  if (H.push(o), f && x && L.push(function(R) {
6456
6456
  var $, D;
6457
6457
  const ee = (D = ($ = R.theme.components) == null ? void 0 : $[f]) == null ? void 0 : D.styleOverrides;
@@ -6465,12 +6465,12 @@ function Fc(t = {}) {
6465
6465
  var v, $;
6466
6466
  const W = R.theme, ee = ($ = (v = W == null ? void 0 : W.components) == null ? void 0 : v[f]) == null ? void 0 : $.variants;
6467
6467
  return ee ? ro(R, ee) : null;
6468
- }), y || L.push(xt), Array.isArray(J[0])) {
6469
- const T = J.shift(), R = new Array(H.length).fill(""), W = new Array(L.length).fill("");
6468
+ }), y || L.push(xt), Array.isArray(Z[0])) {
6469
+ const T = Z.shift(), R = new Array(H.length).fill(""), W = new Array(L.length).fill("");
6470
6470
  let ee;
6471
6471
  ee = [...R, ...T, ...W], ee.raw = [...R, ...T.raw, ...W], H.unshift(ee);
6472
6472
  }
6473
- const S = [...H, ...J, ...L], u = _(...S);
6473
+ const S = [...H, ...Z, ...L], u = _(...S);
6474
6474
  return i.muiName && (u.muiName = i.muiName), process.env.NODE_ENV !== "production" && (u.displayName = Nc(f, m, i)), u;
6475
6475
  };
6476
6476
  return _.withConfig && (P.withConfig = _.withConfig), P;
@@ -6727,9 +6727,9 @@ function Uc(t, n = {}) {
6727
6727
  const {
6728
6728
  vars: b,
6729
6729
  css: H,
6730
- varsWithDefaults: J
6730
+ varsWithDefaults: Z
6731
6731
  } = Rr(P, n);
6732
- g = Ie(g, J), x[M] = {
6732
+ g = Ie(g, Z), x[M] = {
6733
6733
  css: H,
6734
6734
  vars: b
6735
6735
  };
@@ -6745,12 +6745,12 @@ function Uc(t, n = {}) {
6745
6745
  };
6746
6746
  }
6747
6747
  function y(M, P) {
6748
- var H, J;
6748
+ var H, Z;
6749
6749
  let b = a;
6750
6750
  if (a === "class" && (b = ".%s"), a === "data" && (b = "[data-%s]"), a != null && a.startsWith("data-") && !a.includes("%s") && (b = `[${a}="%s"]`), M) {
6751
6751
  if (b === "media")
6752
6752
  return t.defaultColorScheme === M ? ":root" : {
6753
- [`@media (prefers-color-scheme: ${((J = (H = o[M]) == null ? void 0 : H.palette) == null ? void 0 : J.mode) || M})`]: {
6753
+ [`@media (prefers-color-scheme: ${((Z = (H = o[M]) == null ? void 0 : H.palette) == null ? void 0 : Z.mode) || M})`]: {
6754
6754
  ":root": P
6755
6755
  }
6756
6756
  };
@@ -6786,7 +6786,7 @@ function Uc(t, n = {}) {
6786
6786
  }), m);
6787
6787
  const {
6788
6788
  [P]: H,
6789
- ...J
6789
+ ...Z
6790
6790
  } = x;
6791
6791
  if (H) {
6792
6792
  const {
@@ -6801,7 +6801,7 @@ function Uc(t, n = {}) {
6801
6801
  ...R
6802
6802
  }), R);
6803
6803
  }
6804
- return Object.entries(J).forEach(([u, {
6804
+ return Object.entries(Z).forEach(([u, {
6805
6805
  css: T
6806
6806
  }]) => {
6807
6807
  var ee, v;
@@ -7643,12 +7643,12 @@ function _l(t = {}, ...n) {
7643
7643
  getSelector: Ml(P)
7644
7644
  }, {
7645
7645
  vars: H,
7646
- generateThemeVars: J,
7646
+ generateThemeVars: Z,
7647
7647
  generateStyleSheets: L
7648
7648
  } = Uc(P, b);
7649
7649
  return P.vars = H, Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([S, u]) => {
7650
7650
  P[S] = u;
7651
- }), P.generateThemeVars = J, P.generateStyleSheets = L, P.generateSpacing = function() {
7651
+ }), P.generateThemeVars = Z, P.generateStyleSheets = L, P.generateSpacing = function() {
7652
7652
  return Ja(f.spacing, Zr(this));
7653
7653
  }, P.getColorSchemeSelector = Jc(i), P.spacing = P.generateSpacing(), P.shouldSkipGeneratingVar = s, P.unstable_sxConfig = {
7654
7654
  ...Yt,
@@ -8149,10 +8149,10 @@ const go = ({
8149
8149
  locale: g
8150
8150
  }) => {
8151
8151
  var L;
8152
- const [x, k] = $e(null), [w, y] = $e(null), [O, _] = $e(null), [M, P] = $e(null), [b, H] = $e(!1), J = g ? g.formatLong.date({ width: "short" }).toLowerCase().replaceAll("m", "M") : rt;
8152
+ const [x, k] = $e(null), [w, y] = $e(null), [O, _] = $e(null), [M, P] = $e(null), [b, H] = $e(!1), Z = g ? g.formatLong.date({ width: "short" }).toLowerCase().replaceAll("m", "M") : rt;
8153
8153
  return ma(() => {
8154
- y(d && new Date(d)), _(d && Ee(new Date(d), J)), d || (_(null), s(null));
8155
- }, [d]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
8154
+ g && (y(d && new Date(d)), _(d && Ee(new Date(d), Z)), d || (_(null), s(null)));
8155
+ }, [Z, d, g]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
8156
8156
  /* @__PURE__ */ h.jsx(
8157
8157
  jr,
8158
8158
  {
@@ -8204,7 +8204,7 @@ const go = ({
8204
8204
  R && P(R);
8205
8205
  }
8206
8206
  y(T && new Date(T)), _(
8207
- T && Ee(new Date(T), J)
8207
+ T && Ee(new Date(T), Z)
8208
8208
  ), s(
8209
8209
  te(
8210
8210
  T ? new Date(T) : null,
@@ -8278,7 +8278,7 @@ const go = ({
8278
8278
  R && P(R);
8279
8279
  }
8280
8280
  y(d), _(
8281
- T && Ee(new Date(T), J)
8281
+ T && Ee(new Date(T), Z)
8282
8282
  ), s(
8283
8283
  te(
8284
8284
  T ? new Date(T) : null,
@@ -8416,7 +8416,7 @@ const go = ({
8416
8416
  calendars: k
8417
8417
  }) => {
8418
8418
  var ee;
8419
- const [w, y] = $e(null), [O, _] = $e(null), [M, P] = $e(null), [b, H] = $e(null), [J, L] = $e(null), [S, u] = $e(null), [T, R] = $e(!1), W = x ? x.formatLong.date({ width: "short" }).toLowerCase().replaceAll("m", "M") : rt;
8419
+ const [w, y] = $e(null), [O, _] = $e(null), [M, P] = $e(null), [b, H] = $e(null), [Z, L] = $e(null), [S, u] = $e(null), [T, R] = $e(!1), W = x ? x.formatLong.date({ width: "short" }).toLowerCase().replaceAll("m", "M") : rt;
8420
8420
  return ma(() => {
8421
8421
  _(d && new Date(d)), P(g && new Date(g)), H(
8422
8422
  d && Ee(new Date(d), W)
@@ -8466,7 +8466,7 @@ const go = ({
8466
8466
  const $ = v.target.value;
8467
8467
  if ($ !== d) {
8468
8468
  const D = Ot($, Dt, !0), B = Ot(
8469
- J,
8469
+ Z,
8470
8470
  Dt,
8471
8471
  !0
8472
8472
  );
@@ -8561,7 +8561,7 @@ const go = ({
8561
8561
  },
8562
8562
  placeholder: x ? x.formatLong.date({ width: "short" }).toLowerCase() : void 0,
8563
8563
  onKeyDown: (v) => {
8564
- v.code === "Backspace" && J && J[(J == null ? void 0 : J.length) - 1] === "/" && L(
8564
+ v.code === "Backspace" && Z && Z[(Z == null ? void 0 : Z.length) - 1] === "/" && L(
8565
8565
  v.target.value.substring(
8566
8566
  0,
8567
8567
  v.target.value.length - 1
@@ -8634,7 +8634,7 @@ const go = ({
8634
8634
  );
8635
8635
  }
8636
8636
  },
8637
- value: J || "",
8637
+ value: Z || "",
8638
8638
  disabled: t,
8639
8639
  sx: { width: n ? "100%" : 110 },
8640
8640
  size: l || "small",