@eliseubatista99/react-scaffold-core 1.1.11 → 1.1.12

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
@@ -100,7 +100,7 @@ function _n() {
100
100
  return "Portal";
101
101
  case V:
102
102
  return (n.displayName || "Context") + ".Provider";
103
- case H:
103
+ case A:
104
104
  return (n._context.displayName || "Context") + ".Consumer";
105
105
  case F:
106
106
  var f = n.render;
@@ -155,7 +155,7 @@ function _n() {
155
155
  return Error("react-stack-top-frame");
156
156
  }
157
157
  function c(n) {
158
- if (A.call(n, "key")) {
158
+ if (H.call(n, "key")) {
159
159
  var f = Object.getOwnPropertyDescriptor(n, "key").get;
160
160
  if (f && f.isReactWarning) return !1;
161
161
  }
@@ -224,7 +224,7 @@ function _n() {
224
224
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
225
225
  );
226
226
  else y(B);
227
- if (A.call(f, "key")) {
227
+ if (H.call(f, "key")) {
228
228
  B = e(n);
229
229
  var K = Object.keys(f).filter(function(J) {
230
230
  return J !== "key";
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
264
264
  function y(n) {
265
265
  typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
266
266
  }
267
- var R = q, M = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), H = Symbol.for("react.consumer"), V = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), b = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), C = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, T = Array.isArray, j = console.createTask ? console.createTask : function() {
267
+ var R = q, M = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), V = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), b = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), C = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, T = Array.isArray, j = console.createTask ? console.createTask : function() {
268
268
  return null;
269
269
  };
270
270
  R = {
@@ -378,7 +378,7 @@ function Ln() {
378
378
  return g.Date.now();
379
379
  };
380
380
  function E(v, w, x) {
381
- var _, b, d, C, A, T, j = 0, P = !1, L = !1, o = !0;
381
+ var _, b, d, C, H, T, j = 0, P = !1, L = !1, o = !0;
382
382
  if (typeof v != "function")
383
383
  throw new TypeError(e);
384
384
  w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x, d = L ? M(F(x.maxWait) || 0, w) : d, o = "trailing" in x ? !!x.trailing : o);
@@ -387,7 +387,7 @@ function Ln() {
387
387
  return _ = b = void 0, j = U, C = v.apply(K, B), C;
388
388
  }
389
389
  function m(U) {
390
- return j = U, A = setTimeout(O, w), P ? z(U) : C;
390
+ return j = U, H = setTimeout(O, w), P ? z(U) : C;
391
391
  }
392
392
  function n(U) {
393
393
  var B = U - T, K = U - j, G = w - B;
@@ -401,26 +401,26 @@ function Ln() {
401
401
  var U = p();
402
402
  if (f(U))
403
403
  return I(U);
404
- A = setTimeout(O, n(U));
404
+ H = setTimeout(O, n(U));
405
405
  }
406
406
  function I(U) {
407
- return A = void 0, o && _ ? z(U) : (_ = b = void 0, C);
407
+ return H = void 0, o && _ ? z(U) : (_ = b = void 0, C);
408
408
  }
409
409
  function D() {
410
- A !== void 0 && clearTimeout(A), j = 0, _ = T = b = A = void 0;
410
+ H !== void 0 && clearTimeout(H), j = 0, _ = T = b = H = void 0;
411
411
  }
412
412
  function N() {
413
- return A === void 0 ? C : I(p());
413
+ return H === void 0 ? C : I(p());
414
414
  }
415
415
  function W() {
416
416
  var U = p(), B = f(U);
417
417
  if (_ = arguments, b = this, T = U, B) {
418
- if (A === void 0)
418
+ if (H === void 0)
419
419
  return m(T);
420
420
  if (L)
421
- return A = setTimeout(O, w), z(T);
421
+ return H = setTimeout(O, w), z(T);
422
422
  }
423
- return A === void 0 && (A = setTimeout(O, w)), C;
423
+ return H === void 0 && (H = setTimeout(O, w)), C;
424
424
  }
425
425
  return W.cancel = D, W.flush = N, W;
426
426
  }
@@ -428,11 +428,11 @@ function Ln() {
428
428
  var w = typeof v;
429
429
  return !!v && (w == "object" || w == "function");
430
430
  }
431
- function H(v) {
431
+ function A(v) {
432
432
  return !!v && typeof v == "object";
433
433
  }
434
434
  function V(v) {
435
- return typeof v == "symbol" || H(v) && R.call(v) == r;
435
+ return typeof v == "symbol" || A(v) && R.call(v) == r;
436
436
  }
437
437
  function F(v) {
438
438
  if (typeof v == "number")
@@ -650,7 +650,7 @@ function Ke() {
650
650
  return n && n.offsetWidth || 0;
651
651
  }, S = Y.getHeight = function(n) {
652
652
  return n && n.offsetHeight || 0;
653
- }, H = Y.getSwipeDirection = function(n) {
653
+ }, A = Y.getSwipeDirection = function(n) {
654
654
  var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, O, I, D, N;
655
655
  return O = n.startX - n.curX, I = n.startY - n.curY, D = Math.atan2(I, O), N = Math.round(D * 180 / Math.PI), N < 0 && (N = 360 - Math.abs(N)), N <= 45 && N >= 0 || N <= 360 && N >= 315 ? "left" : N >= 135 && N <= 225 ? "right" : f === !0 ? N >= 35 && N <= 135 ? "up" : "down" : "vertical";
656
656
  }, V = Y.canGoNext = function(n) {
@@ -782,7 +782,7 @@ function Ke() {
782
782
  W && (Q.swipeLength = tr);
783
783
  var Ie = (U ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
784
784
  W && (Ie = Q.curY > Q.startY ? 1 : -1);
785
- var kn = Math.ceil(ee / ie), Pe = H(f.touchObject, W), Ae = Q.swipeLength;
785
+ var kn = Math.ceil(ee / ie), Pe = A(f.touchObject, W), Ae = Q.swipeLength;
786
786
  return le || (B === 0 && (Pe === "right" || Pe === "down") || B + 1 >= kn && (Pe === "left" || Pe === "up") || !V(f) && (Pe === "left" || Pe === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Pe), Re.edgeDragged = !0)), !te && oe && (oe(Pe), Re.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : U ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, W && (pe = tt + Ae * Ie), Re = s(s({}, Re), {}, {
787
787
  touchObject: Q,
788
788
  swipeLeft: pe,
@@ -795,7 +795,7 @@ function Ke() {
795
795
  var O = f.dragging, I = f.swipe, D = f.touchObject, N = f.listWidth, W = f.touchThreshold, U = f.verticalSwiping, B = f.listHeight, K = f.swipeToSlide, G = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
796
796
  if (!O)
797
797
  return I && g(n), {};
798
- var ie = U ? B / W : N / W, le = H(D, U), Q = {
798
+ var ie = U ? B / W : N / W, le = A(D, U), Q = {
799
799
  dragging: !1,
800
800
  edgeDragged: !1,
801
801
  scrolling: !1,
@@ -918,10 +918,10 @@ function Ke() {
918
918
  return ie;
919
919
  }, C = Y.getPreClones = function(n) {
920
920
  return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
921
- }, A = Y.getPostClones = function(n) {
921
+ }, H = Y.getPostClones = function(n) {
922
922
  return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
923
923
  }, T = Y.getTotalSlides = function(n) {
924
- return n.slideCount === 1 ? 1 : C(n) + n.slideCount + A(n);
924
+ return n.slideCount === 1 ? 1 : C(n) + n.slideCount + H(n);
925
925
  }, j = Y.siblingDirection = function(n) {
926
926
  return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + P(n) ? "left" : "right" : n.targetSlide < n.currentSlide - L(n) ? "right" : "left";
927
927
  }, P = Y.slidesOnRight = function(n) {
@@ -972,8 +972,8 @@ function Mn() {
972
972
  return s = Object.assign ? Object.assign.bind() : function(b) {
973
973
  for (var d = 1; d < arguments.length; d++) {
974
974
  var C = arguments[d];
975
- for (var A in C)
976
- ({}).hasOwnProperty.call(C, A) && (b[A] = C[A]);
975
+ for (var H in C)
976
+ ({}).hasOwnProperty.call(C, H) && (b[H] = C[H]);
977
977
  }
978
978
  return b;
979
979
  }, s.apply(null, arguments);
@@ -983,8 +983,8 @@ function Mn() {
983
983
  }
984
984
  function u(b, d) {
985
985
  for (var C = 0; C < d.length; C++) {
986
- var A = d[C];
987
- A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(b, V(A.key), A);
986
+ var H = d[C];
987
+ H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(b, V(H.key), H);
988
988
  }
989
989
  }
990
990
  function l(b, d, C) {
@@ -995,18 +995,18 @@ function Mn() {
995
995
  b.prototype = Object.create(d && d.prototype, { constructor: { value: b, writable: !0, configurable: !0 } }), Object.defineProperty(b, "prototype", { writable: !1 }), d && g(b, d);
996
996
  }
997
997
  function g(b, d) {
998
- return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, A) {
999
- return C.__proto__ = A, C;
998
+ return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, H) {
999
+ return C.__proto__ = H, C;
1000
1000
  }, g(b, d);
1001
1001
  }
1002
1002
  function y(b) {
1003
1003
  var d = k();
1004
1004
  return function() {
1005
- var C, A = p(b);
1005
+ var C, H = p(b);
1006
1006
  if (d) {
1007
1007
  var T = p(this).constructor;
1008
- C = Reflect.construct(A, arguments, T);
1009
- } else C = A.apply(this, arguments);
1008
+ C = Reflect.construct(H, arguments, T);
1009
+ } else C = H.apply(this, arguments);
1010
1010
  return R(this, C);
1011
1011
  };
1012
1012
  }
@@ -1037,25 +1037,25 @@ function Mn() {
1037
1037
  function E(b, d) {
1038
1038
  var C = Object.keys(b);
1039
1039
  if (Object.getOwnPropertySymbols) {
1040
- var A = Object.getOwnPropertySymbols(b);
1041
- d && (A = A.filter(function(T) {
1040
+ var H = Object.getOwnPropertySymbols(b);
1041
+ d && (H = H.filter(function(T) {
1042
1042
  return Object.getOwnPropertyDescriptor(b, T).enumerable;
1043
- })), C.push.apply(C, A);
1043
+ })), C.push.apply(C, H);
1044
1044
  }
1045
1045
  return C;
1046
1046
  }
1047
1047
  function S(b) {
1048
1048
  for (var d = 1; d < arguments.length; d++) {
1049
1049
  var C = arguments[d] != null ? arguments[d] : {};
1050
- d % 2 ? E(Object(C), !0).forEach(function(A) {
1051
- H(b, A, C[A]);
1052
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(C)) : E(Object(C)).forEach(function(A) {
1053
- Object.defineProperty(b, A, Object.getOwnPropertyDescriptor(C, A));
1050
+ d % 2 ? E(Object(C), !0).forEach(function(H) {
1051
+ A(b, H, C[H]);
1052
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(C)) : E(Object(C)).forEach(function(H) {
1053
+ Object.defineProperty(b, H, Object.getOwnPropertyDescriptor(C, H));
1054
1054
  });
1055
1055
  }
1056
1056
  return b;
1057
1057
  }
1058
- function H(b, d, C) {
1058
+ function A(b, d, C) {
1059
1059
  return (d = V(d)) in b ? Object.defineProperty(b, d, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : b[d] = C, b;
1060
1060
  }
1061
1061
  function V(b) {
@@ -1066,22 +1066,22 @@ function Mn() {
1066
1066
  if (a(b) != "object" || !b) return b;
1067
1067
  var C = b[Symbol.toPrimitive];
1068
1068
  if (C !== void 0) {
1069
- var A = C.call(b, d);
1070
- if (a(A) != "object") return A;
1069
+ var H = C.call(b, d);
1070
+ if (a(H) != "object") return H;
1071
1071
  throw new TypeError("@@toPrimitive must return a primitive value.");
1072
1072
  }
1073
1073
  return (d === "string" ? String : Number)(b);
1074
1074
  }
1075
1075
  var v = function(d) {
1076
- var C, A, T, j, P;
1077
- d.rtl ? P = d.slideCount - 1 - d.index : P = d.index, T = P < 0 || P >= d.slideCount, d.centerMode ? (j = Math.floor(d.slidesToShow / 2), A = (P - d.currentSlide) % d.slideCount === 0, P > d.currentSlide - j - 1 && P <= d.currentSlide + j && (C = !0)) : C = d.currentSlide <= P && P < d.currentSlide + d.slidesToShow;
1076
+ var C, H, T, j, P;
1077
+ d.rtl ? P = d.slideCount - 1 - d.index : P = d.index, T = P < 0 || P >= d.slideCount, d.centerMode ? (j = Math.floor(d.slidesToShow / 2), H = (P - d.currentSlide) % d.slideCount === 0, P > d.currentSlide - j - 1 && P <= d.currentSlide + j && (C = !0)) : C = d.currentSlide <= P && P < d.currentSlide + d.slidesToShow;
1078
1078
  var L;
1079
1079
  d.targetSlide < 0 ? L = d.targetSlide + d.slideCount : d.targetSlide >= d.slideCount ? L = d.targetSlide - d.slideCount : L = d.targetSlide;
1080
1080
  var o = P === L;
1081
1081
  return {
1082
1082
  "slick-slide": !0,
1083
1083
  "slick-active": C,
1084
- "slick-center": A,
1084
+ "slick-center": H,
1085
1085
  "slick-cloned": T,
1086
1086
  "slick-current": o
1087
1087
  // dubious in case of RTL
@@ -1092,7 +1092,7 @@ function Mn() {
1092
1092
  }, x = function(d, C) {
1093
1093
  return d.key || C;
1094
1094
  }, _ = function(d) {
1095
- var C, A = [], T = [], j = [], P = e.default.Children.count(d.children), L = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
1095
+ var C, H = [], T = [], j = [], P = e.default.Children.count(d.children), L = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
1096
1096
  return e.default.Children.forEach(d.children, function(z, m) {
1097
1097
  var n, f = {
1098
1098
  message: "children",
@@ -1106,7 +1106,7 @@ function Mn() {
1106
1106
  })), I = n.props.className || "", D = v(S(S({}, d), {}, {
1107
1107
  index: m
1108
1108
  }));
1109
- if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
1109
+ if (H.push(/* @__PURE__ */ e.default.cloneElement(n, {
1110
1110
  key: "original" + x(n, m),
1111
1111
  "data-index": m,
1112
1112
  className: (0, t.default)(D, I),
@@ -1146,19 +1146,19 @@ function Mn() {
1146
1146
  }
1147
1147
  })));
1148
1148
  }
1149
- }), d.rtl ? T.concat(A, j).reverse() : T.concat(A, j);
1149
+ }), d.rtl ? T.concat(H, j).reverse() : T.concat(H, j);
1150
1150
  };
1151
1151
  return Fe.Track = /* @__PURE__ */ function(b) {
1152
1152
  h(C, b);
1153
1153
  var d = y(C);
1154
1154
  function C() {
1155
- var A;
1155
+ var H;
1156
1156
  c(this, C);
1157
1157
  for (var T = arguments.length, j = new Array(T), P = 0; P < T; P++)
1158
1158
  j[P] = arguments[P];
1159
- return A = d.call.apply(d, [this].concat(j)), H(M(A), "node", null), H(M(A), "handleRef", function(L) {
1160
- A.node = L;
1161
- }), A;
1159
+ return H = d.call.apply(d, [this].concat(j)), A(M(H), "node", null), A(M(H), "handleRef", function(L) {
1160
+ H.node = L;
1161
+ }), H;
1162
1162
  }
1163
1163
  return l(C, [{
1164
1164
  key: "render",
@@ -1256,7 +1256,7 @@ function Dn() {
1256
1256
  }, k(v, w);
1257
1257
  }
1258
1258
  function p(v) {
1259
- var w = H();
1259
+ var w = A();
1260
1260
  return function() {
1261
1261
  var x, _ = V(v);
1262
1262
  if (w) {
@@ -1275,13 +1275,13 @@ function Dn() {
1275
1275
  if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1276
1276
  return v;
1277
1277
  }
1278
- function H() {
1278
+ function A() {
1279
1279
  try {
1280
1280
  var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1281
1281
  }));
1282
1282
  } catch {
1283
1283
  }
1284
- return (H = function() {
1284
+ return (A = function() {
1285
1285
  return !!v;
1286
1286
  })();
1287
1287
  }
@@ -1308,7 +1308,7 @@ function Dn() {
1308
1308
  }, {
1309
1309
  key: "render",
1310
1310
  value: function() {
1311
- for (var b = this.props, d = b.onMouseEnter, C = b.onMouseOver, A = b.onMouseLeave, T = b.infinite, j = b.slidesToScroll, P = b.slidesToShow, L = b.slideCount, o = b.currentSlide, z = F({
1311
+ for (var b = this.props, d = b.onMouseEnter, C = b.onMouseOver, H = b.onMouseLeave, T = b.infinite, j = b.slidesToScroll, P = b.slidesToShow, L = b.slideCount, o = b.currentSlide, z = F({
1312
1312
  slideCount: L,
1313
1313
  slidesToScroll: j,
1314
1314
  slidesToShow: P,
@@ -1316,7 +1316,7 @@ function Dn() {
1316
1316
  }), m = {
1317
1317
  onMouseEnter: d,
1318
1318
  onMouseOver: C,
1319
- onMouseLeave: A
1319
+ onMouseLeave: H
1320
1320
  }, n = [], f = 0; f < z; f++) {
1321
1321
  var O = (f + 1) * j - 1, I = T ? O : (0, i.clamp)(O, 0, L - 1), D = I - (j - 1), N = T ? D : (0, i.clamp)(D, 0, L - 1), W = (0, r.default)({
1322
1322
  "slick-active": T ? o >= N && o <= I : o === N
@@ -1442,9 +1442,9 @@ function $n() {
1442
1442
  function S(v, w) {
1443
1443
  if (w && (e(w) == "object" || typeof w == "function")) return w;
1444
1444
  if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
1445
- return H(v);
1445
+ return A(v);
1446
1446
  }
1447
- function H(v) {
1447
+ function A(v) {
1448
1448
  if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1449
1449
  return v;
1450
1450
  }
@@ -1492,11 +1492,11 @@ function $n() {
1492
1492
  display: "block"
1493
1493
  },
1494
1494
  onClick: d
1495
- }, A = {
1495
+ }, H = {
1496
1496
  currentSlide: this.props.currentSlide,
1497
1497
  slideCount: this.props.slideCount
1498
1498
  }, T;
1499
- return this.props.prevArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, C), A)) : T = /* @__PURE__ */ t.default.createElement("button", s({
1499
+ return this.props.prevArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, C), H)) : T = /* @__PURE__ */ t.default.createElement("button", s({
1500
1500
  key: "0",
1501
1501
  type: "button"
1502
1502
  }, C), " ", "Previous"), T;
@@ -1531,11 +1531,11 @@ function $n() {
1531
1531
  display: "block"
1532
1532
  },
1533
1533
  onClick: d
1534
- }, A = {
1534
+ }, H = {
1535
1535
  currentSlide: this.props.currentSlide,
1536
1536
  slideCount: this.props.slideCount
1537
1537
  }, T;
1538
- return this.props.nextArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, C), A)) : T = /* @__PURE__ */ t.default.createElement("button", s({
1538
+ return this.props.nextArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, C), H)) : T = /* @__PURE__ */ t.default.createElement("button", s({
1539
1539
  key: "1",
1540
1540
  type: "button"
1541
1541
  }, C), " ", "Next"), T;
@@ -1912,7 +1912,7 @@ function ri() {
1912
1912
  L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(T, C(L.key), L);
1913
1913
  }
1914
1914
  }
1915
- function H(T, j, P) {
1915
+ function A(T, j, P) {
1916
1916
  return j && S(T.prototype, j), Object.defineProperty(T, "prototype", { writable: !1 }), T;
1917
1917
  }
1918
1918
  function V(T, j) {
@@ -1963,10 +1963,10 @@ function ri() {
1963
1963
  return (j = C(j)) in T ? Object.defineProperty(T, j, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : T[j] = P, T;
1964
1964
  }
1965
1965
  function C(T) {
1966
- var j = A(T, "string");
1966
+ var j = H(T, "string");
1967
1967
  return g(j) == "symbol" ? j : j + "";
1968
1968
  }
1969
- function A(T, j) {
1969
+ function H(T, j) {
1970
1970
  if (g(T) != "object" || !T) return T;
1971
1971
  var P = T[Symbol.toPrimitive];
1972
1972
  if (P !== void 0) {
@@ -2349,7 +2349,7 @@ function ri() {
2349
2349
  var z = o.ssrInit();
2350
2350
  return o.state = p(p({}, o.state), z), o;
2351
2351
  }
2352
- return H(P, [{
2352
+ return A(P, [{
2353
2353
  key: "didPropsChange",
2354
2354
  value: function(o) {
2355
2355
  for (var z = !1, m = 0, n = Object.keys(this.props); m < n.length; m++) {
@@ -2432,8 +2432,8 @@ function ai() {
2432
2432
  var d = Object.keys(_);
2433
2433
  if (Object.getOwnPropertySymbols) {
2434
2434
  var C = Object.getOwnPropertySymbols(_);
2435
- b && (C = C.filter(function(A) {
2436
- return Object.getOwnPropertyDescriptor(_, A).enumerable;
2435
+ b && (C = C.filter(function(H) {
2436
+ return Object.getOwnPropertyDescriptor(_, H).enumerable;
2437
2437
  })), d.push.apply(d, C);
2438
2438
  }
2439
2439
  return d;
@@ -2475,8 +2475,8 @@ function ai() {
2475
2475
  return function() {
2476
2476
  var d, C = F(_);
2477
2477
  if (b) {
2478
- var A = F(this).constructor;
2479
- d = Reflect.construct(C, arguments, A);
2478
+ var H = F(this).constructor;
2479
+ d = Reflect.construct(C, arguments, H);
2480
2480
  } else d = C.apply(this, arguments);
2481
2481
  return S(this, d);
2482
2482
  };
@@ -2484,9 +2484,9 @@ function ai() {
2484
2484
  function S(_, b) {
2485
2485
  if (b && (u(b) == "object" || typeof b == "function")) return b;
2486
2486
  if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
2487
- return H(_);
2487
+ return A(_);
2488
2488
  }
2489
- function H(_) {
2489
+ function A(_) {
2490
2490
  if (_ === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2491
2491
  return _;
2492
2492
  }
@@ -2526,34 +2526,34 @@ function ai() {
2526
2526
  k(d, _);
2527
2527
  var b = E(d);
2528
2528
  function d(C) {
2529
- var A;
2530
- return y(this, d), A = b.call(this, C), v(H(A), "innerSliderRefHandler", function(T) {
2531
- return A.innerSlider = T;
2532
- }), v(H(A), "slickPrev", function() {
2533
- return A.innerSlider.slickPrev();
2534
- }), v(H(A), "slickNext", function() {
2535
- return A.innerSlider.slickNext();
2536
- }), v(H(A), "slickGoTo", function(T) {
2529
+ var H;
2530
+ return y(this, d), H = b.call(this, C), v(A(H), "innerSliderRefHandler", function(T) {
2531
+ return H.innerSlider = T;
2532
+ }), v(A(H), "slickPrev", function() {
2533
+ return H.innerSlider.slickPrev();
2534
+ }), v(A(H), "slickNext", function() {
2535
+ return H.innerSlider.slickNext();
2536
+ }), v(A(H), "slickGoTo", function(T) {
2537
2537
  var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2538
- return A.innerSlider.slickGoTo(T, j);
2539
- }), v(H(A), "slickPause", function() {
2540
- return A.innerSlider.pause("paused");
2541
- }), v(H(A), "slickPlay", function() {
2542
- return A.innerSlider.autoPlay("play");
2543
- }), A.state = {
2538
+ return H.innerSlider.slickGoTo(T, j);
2539
+ }), v(A(H), "slickPause", function() {
2540
+ return H.innerSlider.pause("paused");
2541
+ }), v(A(H), "slickPlay", function() {
2542
+ return H.innerSlider.autoPlay("play");
2543
+ }), H.state = {
2544
2544
  breakpoint: null
2545
- }, A._responsiveMediaHandlers = [], A;
2545
+ }, H._responsiveMediaHandlers = [], H;
2546
2546
  }
2547
2547
  return M(d, [{
2548
2548
  key: "media",
2549
- value: function(A, T) {
2550
- var j = window.matchMedia(A), P = function(o) {
2549
+ value: function(H, T) {
2550
+ var j = window.matchMedia(H), P = function(o) {
2551
2551
  var z = o.matches;
2552
2552
  z && T();
2553
2553
  };
2554
2554
  j.addListener(P), this._responsiveMediaHandlers.push({
2555
2555
  mql: j,
2556
- query: A,
2556
+ query: H,
2557
2557
  listener: P
2558
2558
  });
2559
2559
  }
@@ -2561,7 +2561,7 @@ function ai() {
2561
2561
  }, {
2562
2562
  key: "componentDidMount",
2563
2563
  value: function() {
2564
- var A = this;
2564
+ var H = this;
2565
2565
  if (this.props.responsive) {
2566
2566
  var T = this.props.responsive.map(function(P) {
2567
2567
  return P.breakpoint;
@@ -2576,8 +2576,8 @@ function ai() {
2576
2576
  }) : o = (0, i.default)({
2577
2577
  minWidth: T[L - 1] + 1,
2578
2578
  maxWidth: P
2579
- }), (0, s.canUseDOM)() && A.media(o, function() {
2580
- A.setState({
2579
+ }), (0, s.canUseDOM)() && H.media(o, function() {
2580
+ H.setState({
2581
2581
  breakpoint: P
2582
2582
  });
2583
2583
  });
@@ -2586,7 +2586,7 @@ function ai() {
2586
2586
  minWidth: T.slice(-1)[0]
2587
2587
  });
2588
2588
  (0, s.canUseDOM)() && this.media(j, function() {
2589
- A.setState({
2589
+ H.setState({
2590
2590
  breakpoint: null
2591
2591
  });
2592
2592
  });
@@ -2595,16 +2595,16 @@ function ai() {
2595
2595
  }, {
2596
2596
  key: "componentWillUnmount",
2597
2597
  value: function() {
2598
- this._responsiveMediaHandlers.forEach(function(A) {
2599
- A.mql.removeListener(A.listener);
2598
+ this._responsiveMediaHandlers.forEach(function(H) {
2599
+ H.mql.removeListener(H.listener);
2600
2600
  });
2601
2601
  }
2602
2602
  }, {
2603
2603
  key: "render",
2604
2604
  value: function() {
2605
- var A = this, T, j;
2605
+ var H = this, T, j;
2606
2606
  this.state.breakpoint ? (j = this.props.responsive.filter(function(D) {
2607
- return D.breakpoint === A.state.breakpoint;
2607
+ return D.breakpoint === H.state.breakpoint;
2608
2608
  }), T = j[0].settings === "unslick" ? "unslick" : g(g(g({}, a.default), this.props), j[0].settings)) : T = g(g({}, a.default), this.props), T.centerMode && (T.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(T.slidesToScroll)), T.slidesToScroll = 1), T.fade && (T.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(T.slidesToShow)), T.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(T.slidesToScroll)), T.slidesToShow = 1, T.slidesToScroll = 1);
2609
2609
  var P = t.default.Children.toArray(this.props.children);
2610
2610
  P = P.filter(function(D) {
@@ -2866,19 +2866,19 @@ function Ci(e) {
2866
2866
  return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
2867
2867
  }
2868
2868
  function lt(e, t, r, i, a, s, c, u, l) {
2869
- for (var h = 0, g = 0, y = c, R = 0, M = 0, k = 0, p = 1, E = 1, S = 1, H = 0, V = "", F = a, v = s, w = i, x = V; E; )
2870
- switch (k = H, H = ve()) {
2869
+ for (var h = 0, g = 0, y = c, R = 0, M = 0, k = 0, p = 1, E = 1, S = 1, A = 0, V = "", F = a, v = s, w = i, x = V; E; )
2870
+ switch (k = A, A = ve()) {
2871
2871
  // (
2872
2872
  case 40:
2873
2873
  if (k != 108 && fe(x, y - 1) == 58) {
2874
- zt(x += ne(st(H), "&", "&\f"), "&\f") != -1 && (S = -1);
2874
+ zt(x += ne(st(A), "&", "&\f"), "&\f") != -1 && (S = -1);
2875
2875
  break;
2876
2876
  }
2877
2877
  // " ' [
2878
2878
  case 34:
2879
2879
  case 39:
2880
2880
  case 91:
2881
- x += st(H);
2881
+ x += st(A);
2882
2882
  break;
2883
2883
  // \t \n \r \s
2884
2884
  case 9:
@@ -2909,7 +2909,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
2909
2909
  case 125 * p:
2910
2910
  case 59:
2911
2911
  case 0:
2912
- switch (H) {
2912
+ switch (A) {
2913
2913
  // \0 }
2914
2914
  case 0:
2915
2915
  case 125:
@@ -2923,7 +2923,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
2923
2923
  x += ";";
2924
2924
  // { rule/at-rule
2925
2925
  default:
2926
- if (it(w = br(x, t, r, h, g, a, u, V, F = [], v = [], y), s), H === 123)
2926
+ if (it(w = br(x, t, r, h, g, a, u, V, F = [], v = [], y), s), A === 123)
2927
2927
  if (g === 0)
2928
2928
  lt(x, t, w, w, F, s, y, u, v);
2929
2929
  else
@@ -2946,12 +2946,12 @@ function lt(e, t, r, i, a, s, c, u, l) {
2946
2946
  y = 1 + ye(x), M = k;
2947
2947
  default:
2948
2948
  if (p < 1) {
2949
- if (H == 123)
2949
+ if (A == 123)
2950
2950
  --p;
2951
- else if (H == 125 && p++ == 0 && wi() == 125)
2951
+ else if (A == 125 && p++ == 0 && wi() == 125)
2952
2952
  continue;
2953
2953
  }
2954
- switch (x += wt(H), H * p) {
2954
+ switch (x += wt(A), A * p) {
2955
2955
  // &
2956
2956
  case 38:
2957
2957
  S = g > 0 ? 1 : (x += "\f", -1);
@@ -2962,7 +2962,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
2962
2962
  break;
2963
2963
  // @
2964
2964
  case 64:
2965
- we() === 45 && (x += st(ve())), R = we(), g = y = ye(V = x += ki(ot())), H++;
2965
+ we() === 45 && (x += st(ve())), R = we(), g = y = ye(V = x += ki(ot())), A++;
2966
2966
  break;
2967
2967
  // -
2968
2968
  case 45:
@@ -2973,8 +2973,8 @@ function lt(e, t, r, i, a, s, c, u, l) {
2973
2973
  }
2974
2974
  function br(e, t, r, i, a, s, c, u, l, h, g) {
2975
2975
  for (var y = a - 1, R = a === 0 ? s : [""], M = Xt(R), k = 0, p = 0, E = 0; k < i; ++k)
2976
- for (var S = 0, H = qe(e, y + 1, y = pi(p = c[k])), V = e; S < M; ++S)
2977
- (V = Br(p > 0 ? R[S] + " " + H : ne(H, /&\f/g, R[S]))) && (l[E++] = V);
2976
+ for (var S = 0, A = qe(e, y + 1, y = pi(p = c[k])), V = e; S < M; ++S)
2977
+ (V = Br(p > 0 ? R[S] + " " + A : ne(A, /&\f/g, R[S]))) && (l[E++] = V);
2978
2978
  return xt(e, t, r, a === 0 ? qt : u, l, h, g);
2979
2979
  }
2980
2980
  function Pi(e, t, r) {
@@ -3271,8 +3271,8 @@ var $i = function(t, r, i, a) {
3271
3271
  })], R = Ri(h.concat(a, y)), M = function(E) {
3272
3272
  return Te(Ci(E), R);
3273
3273
  };
3274
- l = function(E, S, H, V) {
3275
- g = H, M(E ? E + "{" + S.styles + "}" : S.styles), V && (k.inserted[S.name] = !0);
3274
+ l = function(E, S, A, V) {
3275
+ g = A, M(E ? E + "{" + S.styles + "}" : S.styles), V && (k.inserted[S.name] = !0);
3276
3276
  };
3277
3277
  }
3278
3278
  var k = {
@@ -3571,7 +3571,7 @@ var Ki = function(t) {
3571
3571
  for (var M = g.length, k = 1; k < M; k++)
3572
3572
  y.push(g[k], R[k]);
3573
3573
  }
3574
- var p = Ki(function(E, S, H) {
3574
+ var p = Ki(function(E, S, A) {
3575
3575
  var V = h && E.as || a, F = "", v = [], w = E;
3576
3576
  if (E.theme == null) {
3577
3577
  w = {};
@@ -3585,7 +3585,7 @@ var Ki = function(t) {
3585
3585
  var b = h && u === void 0 ? Cr(V) : l, d = {};
3586
3586
  for (var C in E)
3587
3587
  h && C === "as" || b(C) && (d[C] = E[C]);
3588
- return d.className = F, H && (d.ref = H), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
3588
+ return d.className = F, A && (d.ref = A), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
3589
3589
  cache: S,
3590
3590
  serialized: _,
3591
3591
  isStringTag: typeof V == "string"
@@ -3596,10 +3596,10 @@ var Ki = function(t) {
3596
3596
  return "." + c;
3597
3597
  }
3598
3598
  }), p.withComponent = function(E, S) {
3599
- var H = e(E, Ht({}, r, S, {
3599
+ var A = e(E, Ht({}, r, S, {
3600
3600
  shouldForwardProp: Pr(p, S, !0)
3601
3601
  }));
3602
- return H.apply(void 0, y);
3602
+ return A.apply(void 0, y);
3603
3603
  }, p;
3604
3604
  };
3605
3605
  }, ia = [
@@ -4160,17 +4160,17 @@ function ha() {
4160
4160
  const E = M?.decode || g;
4161
4161
  let S = 0;
4162
4162
  do {
4163
- const H = R.indexOf("=", S);
4164
- if (H === -1)
4163
+ const A = R.indexOf("=", S);
4164
+ if (A === -1)
4165
4165
  break;
4166
4166
  const V = R.indexOf(";", S), F = V === -1 ? p : V;
4167
- if (H > F) {
4168
- S = R.lastIndexOf(";", H - 1) + 1;
4167
+ if (A > F) {
4168
+ S = R.lastIndexOf(";", A - 1) + 1;
4169
4169
  continue;
4170
4170
  }
4171
- const v = u(R, S, H), w = l(R, H, v), x = R.slice(v, w);
4171
+ const v = u(R, S, A), w = l(R, A, v), x = R.slice(v, w);
4172
4172
  if (k[x] === void 0) {
4173
- let _ = u(R, H + 1, F), b = l(R, F, _);
4173
+ let _ = u(R, A + 1, F), b = l(R, F, _);
4174
4174
  const d = E(R.slice(_, b));
4175
4175
  k[x] = d;
4176
4176
  }
@@ -4369,9 +4369,9 @@ function va(e, t, r, i = {}) {
4369
4369
  }
4370
4370
  function R(E, S) {
4371
4371
  u = "PUSH";
4372
- let H = Ft(p.location, E, S);
4372
+ let A = Ft(p.location, E, S);
4373
4373
  h = g() + 1;
4374
- let V = Tr(H, h), F = p.createHref(H);
4374
+ let V = Tr(A, h), F = p.createHref(A);
4375
4375
  try {
4376
4376
  c.pushState(V, "", F);
4377
4377
  } catch (v) {
@@ -4383,9 +4383,9 @@ function va(e, t, r, i = {}) {
4383
4383
  }
4384
4384
  function M(E, S) {
4385
4385
  u = "REPLACE";
4386
- let H = Ft(p.location, E, S);
4386
+ let A = Ft(p.location, E, S);
4387
4387
  h = g();
4388
- let V = Tr(H, h), F = p.createHref(H);
4388
+ let V = Tr(A, h), F = p.createHref(A);
4389
4389
  c.replaceState(V, "", F), s && l && l({ action: u, location: p.location, delta: 0 });
4390
4390
  }
4391
4391
  function k(E) {
@@ -5403,8 +5403,8 @@ function ko(e, t) {
5403
5403
  $.useEffect(() => {
5404
5404
  if (e === "render" && c(!0), e === "viewport") {
5405
5405
  let p = (S) => {
5406
- S.forEach((H) => {
5407
- c(H.isIntersecting);
5406
+ S.forEach((A) => {
5407
+ c(A.isIntersecting);
5408
5408
  });
5409
5409
  }, E = new IntersectionObserver(p, { threshold: 0.5 });
5410
5410
  return R.current && E.observe(R.current), () => {
@@ -5496,8 +5496,8 @@ function Eo({
5496
5496
  return [];
5497
5497
  let k = /* @__PURE__ */ new Set(), p = !1;
5498
5498
  if (t.forEach((S) => {
5499
- let H = a.routes[S.route.id];
5500
- !H || !H.hasLoader || (!h.some((V) => V.route.id === S.route.id) && S.route.id in u && s[S.route.id]?.shouldRevalidate || H.hasClientLoader ? p = !0 : k.add(S.route.id));
5499
+ let A = a.routes[S.route.id];
5500
+ !A || !A.hasLoader || (!h.some((V) => V.route.id === S.route.id) && S.route.id in u && s[S.route.id]?.shouldRevalidate || A.hasClientLoader ? p = !0 : k.add(S.route.id));
5501
5501
  }), k.size === 0)
5502
5502
  return [];
5503
5503
  let E = xo(e, c);
@@ -5589,7 +5589,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
5589
5589
  `<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
5590
5590
  );
5591
5591
  }
5592
- let H = Fa(h, { relative: a }), [V, F, v] = ko(
5592
+ let A = Fa(h, { relative: a }), [V, F, v] = ko(
5593
5593
  i,
5594
5594
  R
5595
5595
  ), w = Mo(h, {
@@ -5610,7 +5610,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
5610
5610
  {
5611
5611
  ...R,
5612
5612
  ...v,
5613
- href: E || H,
5613
+ href: E || A,
5614
5614
  onClick: S || s ? t : x,
5615
5615
  ref: Ro(M, F),
5616
5616
  target: l,
@@ -5618,7 +5618,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
5618
5618
  }
5619
5619
  )
5620
5620
  );
5621
- return V && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, _, /* @__PURE__ */ $.createElement(Co, { page: H })) : _;
5621
+ return V && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, _, /* @__PURE__ */ $.createElement(Co, { page: A })) : _;
5622
5622
  }
5623
5623
  );
5624
5624
  bn.displayName = "Link";
@@ -5636,10 +5636,10 @@ var To = $.forwardRef(
5636
5636
  }, g) {
5637
5637
  let y = et(c, { relative: h.relative }), R = Ce(), M = $.useContext(Ot), { navigator: k, basename: p } = $.useContext(Se), E = M != null && // Conditional usage is OK here because the usage of a data router is static
5638
5638
  // eslint-disable-next-line react-hooks/rules-of-hooks
5639
- zo(y) && u === !0, S = k.encodeLocation ? k.encodeLocation(y).pathname : y.pathname, H = R.pathname, V = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
5640
- r || (H = H.toLowerCase(), V = V ? V.toLowerCase() : null, S = S.toLowerCase()), V && p && (V = Oe(V, p) || V);
5639
+ zo(y) && u === !0, S = k.encodeLocation ? k.encodeLocation(y).pathname : y.pathname, A = R.pathname, V = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
5640
+ r || (A = A.toLowerCase(), V = V ? V.toLowerCase() : null, S = S.toLowerCase()), V && p && (V = Oe(V, p) || V);
5641
5641
  const F = S !== "/" && S.endsWith("/") ? S.length - 1 : S.length;
5642
- let v = H === S || !a && H.startsWith(S) && H.charAt(F) === "/", w = V != null && (V === S || !a && V.startsWith(S) && V.charAt(S.length) === "/"), x = {
5642
+ let v = A === S || !a && A.startsWith(S) && A.charAt(F) === "/", w = V != null && (V === S || !a && V.startsWith(S) && V.charAt(S.length) === "/"), x = {
5643
5643
  isActive: v,
5644
5644
  isPending: w,
5645
5645
  isTransitioning: E
@@ -5683,7 +5683,7 @@ var jo = $.forwardRef(
5683
5683
  viewTransition: y,
5684
5684
  ...R
5685
5685
  }, M) => {
5686
- let k = Ao(), p = Ho(u, { relative: h }), E = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && yn.test(u), H = (V) => {
5686
+ let k = Ao(), p = Ho(u, { relative: h }), E = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && yn.test(u), A = (V) => {
5687
5687
  if (l && l(V), V.defaultPrevented) return;
5688
5688
  V.preventDefault();
5689
5689
  let F = V.nativeEvent.submitter, v = F?.getAttribute("formmethod") || c;
@@ -5704,7 +5704,7 @@ var jo = $.forwardRef(
5704
5704
  ref: M,
5705
5705
  method: E,
5706
5706
  action: p,
5707
- onSubmit: i ? l : H,
5707
+ onSubmit: i ? l : A,
5708
5708
  ...R,
5709
5709
  "data-discover": !S && e === "render" ? "true" : void 0
5710
5710
  }
@@ -6152,32 +6152,32 @@ const Sn = q.createContext({
6152
6152
  if (!s.current?.elements)
6153
6153
  return [];
6154
6154
  const E = Array.from(s.current?.elements).filter(
6155
- (H) => !!H.getAttribute("name")
6155
+ (A) => !!A.getAttribute("name")
6156
6156
  ), S = [];
6157
- for (const H of E)
6158
- S.push(u(H));
6157
+ for (const A of E)
6158
+ S.push(u(A));
6159
6159
  return S;
6160
- }, h = (E, S, H) => E === "change" && S || E === "mount" && H || E === "submit", g = async (E, S) => {
6160
+ }, h = (E, S, A) => E === "change" && S || E === "mount" && A || E === "submit", g = async (E, S) => {
6161
6161
  try {
6162
6162
  const F = (a || []).find(
6163
6163
  (v) => v.name === E.name
6164
6164
  );
6165
6165
  if (!F)
6166
6166
  return E;
6167
- var H = E.value, V = E.value;
6168
- if (F.emptyValidation && F.emptyValidation.allow === !1 && !H && h(
6167
+ var A = E.value, V = E.value;
6168
+ if (F.emptyValidation && F.emptyValidation.allow === !1 && !A && h(
6169
6169
  S,
6170
6170
  F.emptyValidation.validateOnChange,
6171
6171
  F.emptyValidation.validateOnMount
6172
6172
  ))
6173
6173
  return E.error = F.emptyValidation.errorMessage, E;
6174
- if (F.minLengthValidation && H.length < F.minLengthValidation.value && h(
6174
+ if (F.minLengthValidation && A.length < F.minLengthValidation.value && h(
6175
6175
  S,
6176
6176
  F.minLengthValidation.validateOnChange,
6177
6177
  F.minLengthValidation.validateOnMount
6178
6178
  ))
6179
6179
  return E.error = F.minLengthValidation.errorMessage, E;
6180
- if (F.maxLengthValidation && H.length > F.maxLengthValidation.value && h(
6180
+ if (F.maxLengthValidation && A.length > F.maxLengthValidation.value && h(
6181
6181
  S,
6182
6182
  F.maxLengthValidation.validateOnChange,
6183
6183
  F.maxLengthValidation.validateOnMount
@@ -6223,9 +6223,11 @@ const Sn = q.createContext({
6223
6223
  return E;
6224
6224
  }, y = me(async () => {
6225
6225
  let E = l();
6226
- return E = await Promise.all(
6227
- E.map(async (S) => await g(S, "submit"))
6228
- ), E;
6226
+ E = await Promise.all(
6227
+ E.map(async (A) => await g(A, "submit"))
6228
+ );
6229
+ const S = E.find((A) => A.error !== void 0);
6230
+ return { fields: E, hasErrors: S !== void 0 };
6229
6231
  }, []), R = q.useCallback(
6230
6232
  async (E) => {
6231
6233
  try {
@@ -6233,7 +6235,7 @@ const Sn = q.createContext({
6233
6235
  return;
6234
6236
  c.current = !0, e?.(), E.preventDefault(), E.stopPropagation();
6235
6237
  const S = await y();
6236
- c.current = !1, t?.(S);
6238
+ c.current = !1, t?.(S.fields, S.hasErrors);
6237
6239
  } catch (S) {
6238
6240
  c.current = !1, console.error("Form > OnSubmit > Error submitting: ", S);
6239
6241
  }
@@ -6243,8 +6245,8 @@ const Sn = q.createContext({
6243
6245
  async (E) => {
6244
6246
  try {
6245
6247
  const S = E.target;
6246
- let H = u(S);
6247
- H = await g(H, "change"), console.log("result", { changedElement: S }), r?.(H);
6248
+ let A = u(S);
6249
+ A = await g(A, "change"), console.log("result", { changedElement: S }), r?.(A, A.error !== void 0);
6248
6250
  } catch (S) {
6249
6251
  console.error("Form > onChange > Error changing: ", S);
6250
6252
  }
@@ -6253,7 +6255,7 @@ const Sn = q.createContext({
6253
6255
  ), k = q.useCallback(async () => {
6254
6256
  try {
6255
6257
  const E = await y();
6256
- i?.(E);
6258
+ i?.(E.fields, E.hasErrors);
6257
6259
  } catch (E) {
6258
6260
  console.error("Form > onChange > Error changing: ", E);
6259
6261
  }
@@ -6390,7 +6392,7 @@ const Sn = q.createContext({
6390
6392
  inputStyles: p,
6391
6393
  containerStyles: E,
6392
6394
  styles: S,
6393
- step: H,
6395
+ step: A,
6394
6396
  pattern: V,
6395
6397
  onInput: F
6396
6398
  } = e;
@@ -6436,7 +6438,7 @@ const Sn = q.createContext({
6436
6438
  name: a,
6437
6439
  type: M,
6438
6440
  autoComplete: g,
6439
- step: H,
6441
+ step: A,
6440
6442
  maxLength: k,
6441
6443
  placeholder: h,
6442
6444
  value: y,
@@ -6807,7 +6809,7 @@ function Zo() {
6807
6809
  (function(r, i) {
6808
6810
  e.exports = i();
6809
6811
  })(Jo, function() {
6810
- var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", y = "month", R = "quarter", M = "year", k = "date", p = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, H = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(j) {
6812
+ var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", y = "month", R = "quarter", M = "year", k = "date", p = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(j) {
6811
6813
  var P = ["th", "st", "nd", "rd"], L = j % 100;
6812
6814
  return "[" + j + (P[(L - 20) % 10] || P[L] || P[0]) + "]";
6813
6815
  } }, V = function(j, P, L) {
@@ -6827,9 +6829,9 @@ function Zo() {
6827
6829
  }, u: function(j) {
6828
6830
  return j === void 0;
6829
6831
  } }, v = "en", w = {};
6830
- w[v] = H;
6832
+ w[v] = A;
6831
6833
  var x = "$isDayjsObject", _ = function(j) {
6832
- return j instanceof A || !(!j || !j[x]);
6834
+ return j instanceof H || !(!j || !j[x]);
6833
6835
  }, b = function j(P, L, o) {
6834
6836
  var z;
6835
6837
  if (!P) return v;
@@ -6846,12 +6848,12 @@ function Zo() {
6846
6848
  }, d = function(j, P) {
6847
6849
  if (_(j)) return j.clone();
6848
6850
  var L = typeof P == "object" ? P : {};
6849
- return L.date = j, L.args = arguments, new A(L);
6851
+ return L.date = j, L.args = arguments, new H(L);
6850
6852
  }, C = F;
6851
6853
  C.l = b, C.i = _, C.w = function(j, P) {
6852
6854
  return d(j, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
6853
6855
  };
6854
- var A = function() {
6856
+ var H = function() {
6855
6857
  function j(L) {
6856
6858
  this.$L = b(L.locale, null, !0), this.parse(L), this.$x = this.$x || L.x || {}, this[x] = !0;
6857
6859
  }
@@ -7066,13 +7068,13 @@ function Zo() {
7066
7068
  }, P.toString = function() {
7067
7069
  return this.$d.toUTCString();
7068
7070
  }, j;
7069
- }(), T = A.prototype;
7071
+ }(), T = H.prototype;
7070
7072
  return d.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", h], ["$M", y], ["$y", M], ["$D", k]].forEach(function(j) {
7071
7073
  T[j[1]] = function(P) {
7072
7074
  return this.$g(P, j[0], j[1]);
7073
7075
  };
7074
7076
  }), d.extend = function(j, P) {
7075
- return j.$i || (j(P, A, d), j.$i = !0), d;
7077
+ return j.$i || (j(P, H, d), j.$i = !0), d;
7076
7078
  }, d.locale = b, d.isDayjs = _, d.unix = function(j) {
7077
7079
  return d(1e3 * j);
7078
7080
  }, d.en = w[v], d.Ls = w, d.p = {}, d;
@@ -7121,12 +7123,12 @@ function ts() {
7121
7123
  var x = ("" + w[0]).match(a) || ["-", 0, 0], _ = x[0], b = 60 * +x[1] + +x[2];
7122
7124
  return b === 0 ? 0 : _ === "+" ? b : -b;
7123
7125
  }(p), p === null)) return this;
7124
- var H = Math.abs(p) <= 16 ? 60 * p : p;
7125
- if (H === 0) return this.utc(E);
7126
+ var A = Math.abs(p) <= 16 ? 60 * p : p;
7127
+ if (A === 0) return this.utc(E);
7126
7128
  var V = this.clone();
7127
- if (E) return V.$offset = H, V.$u = !1, V;
7129
+ if (E) return V.$offset = A, V.$u = !1, V;
7128
7130
  var F = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
7129
- return (V = this.local().add(H + F, r)).$offset = H, V.$x.$localOffset = F, V;
7131
+ return (V = this.local().add(A + F, r)).$offset = A, V.$x.$localOffset = F, V;
7130
7132
  };
7131
7133
  var R = l.format;
7132
7134
  l.format = function(p) {
@@ -7149,8 +7151,8 @@ function ts() {
7149
7151
  var k = l.diff;
7150
7152
  l.diff = function(p, E, S) {
7151
7153
  if (p && this.$u === p.$u) return k.call(this, p, E, S);
7152
- var H = this.local(), V = u(p).local();
7153
- return k.call(H, V, E, S);
7154
+ var A = this.local(), V = u(p).local();
7155
+ return k.call(A, V, E, S);
7154
7156
  };
7155
7157
  };
7156
7158
  });