@eliseubatista99/react-scaffold-core 1.2.4 → 1.2.6
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
|
@@ -96,7 +96,7 @@ function _n() {
|
|
|
96
96
|
switch (typeof n.tag == "number" && console.error(
|
|
97
97
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
98
98
|
), n.$$typeof) {
|
|
99
|
-
case
|
|
99
|
+
case k:
|
|
100
100
|
return "Portal";
|
|
101
101
|
case W:
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
@@ -148,7 +148,7 @@ function _n() {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
function a() {
|
|
151
|
-
var n =
|
|
151
|
+
var n = C.A;
|
|
152
152
|
return n === null ? null : n.getOwner();
|
|
153
153
|
}
|
|
154
154
|
function s() {
|
|
@@ -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 E = B, M = Symbol.for("react.transitional.element"),
|
|
267
|
+
var E = B, M = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), W = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), b = Symbol.for("react.activity"), h = Symbol.for("react.client.reference"), C = E.__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
|
E = {
|
|
@@ -277,7 +277,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
277
277
|
s
|
|
278
278
|
)(), z = j(i(s)), v = {};
|
|
279
279
|
ze.Fragment = p, ze.jsx = function(n, f, O, I, D) {
|
|
280
|
-
var N = 1e4 >
|
|
280
|
+
var N = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
283
|
f,
|
|
@@ -289,7 +289,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
289
289
|
N ? j(i(n)) : z
|
|
290
290
|
);
|
|
291
291
|
}, ze.jsxs = function(n, f, O, I, D) {
|
|
292
|
-
var N = 1e4 >
|
|
292
|
+
var N = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
295
|
f,
|
|
@@ -374,24 +374,24 @@ var _t, or;
|
|
|
374
374
|
function Ln() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, d = typeof self == "object" && self && self.Object === Object && self, g = l || d || Function("return this")(), y = Object.prototype, E = y.toString, M = Math.max,
|
|
377
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, d = typeof self == "object" && self && self.Object === Object && self, g = l || d || Function("return this")(), y = Object.prototype, E = y.toString, M = Math.max, k = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function R(m, w, x) {
|
|
381
|
-
var _, b, h,
|
|
381
|
+
var _, b, h, C, H, T, j = 0, P = !1, L = !1, o = !0;
|
|
382
382
|
if (typeof m != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
384
|
w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x, h = L ? M(F(x.maxWait) || 0, w) : h, o = "trailing" in x ? !!x.trailing : o);
|
|
385
385
|
function z(U) {
|
|
386
386
|
var q = _, K = b;
|
|
387
|
-
return _ = b = void 0, j = U,
|
|
387
|
+
return _ = b = void 0, j = U, C = m.apply(K, q), C;
|
|
388
388
|
}
|
|
389
389
|
function v(U) {
|
|
390
|
-
return j = U, H = setTimeout(O, w), P ? z(U) :
|
|
390
|
+
return j = U, H = setTimeout(O, w), P ? z(U) : C;
|
|
391
391
|
}
|
|
392
392
|
function n(U) {
|
|
393
393
|
var q = U - T, K = U - j, G = w - q;
|
|
394
|
-
return L ?
|
|
394
|
+
return L ? k(G, h - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function f(U) {
|
|
397
397
|
var q = U - T, K = U - j;
|
|
@@ -404,13 +404,13 @@ function Ln() {
|
|
|
404
404
|
H = setTimeout(O, n(U));
|
|
405
405
|
}
|
|
406
406
|
function I(U) {
|
|
407
|
-
return H = void 0, o && _ ? z(U) : (_ = b = void 0,
|
|
407
|
+
return H = void 0, o && _ ? z(U) : (_ = b = void 0, C);
|
|
408
408
|
}
|
|
409
409
|
function D() {
|
|
410
410
|
H !== void 0 && clearTimeout(H), j = 0, _ = T = b = H = void 0;
|
|
411
411
|
}
|
|
412
412
|
function N() {
|
|
413
|
-
return H === void 0 ?
|
|
413
|
+
return H === void 0 ? C : I(p());
|
|
414
414
|
}
|
|
415
415
|
function V() {
|
|
416
416
|
var U = p(), q = f(U);
|
|
@@ -420,7 +420,7 @@ function Ln() {
|
|
|
420
420
|
if (L)
|
|
421
421
|
return H = setTimeout(O, w), z(T);
|
|
422
422
|
}
|
|
423
|
-
return H === void 0 && (H = setTimeout(O, w)),
|
|
423
|
+
return H === void 0 && (H = setTimeout(O, w)), C;
|
|
424
424
|
}
|
|
425
425
|
return V.cancel = D, V.flush = N, V;
|
|
426
426
|
}
|
|
@@ -639,10 +639,10 @@ function Ke() {
|
|
|
639
639
|
return f;
|
|
640
640
|
};
|
|
641
641
|
var E = Y.lazyStartIndex = function(n) {
|
|
642
|
-
return n.currentSlide -
|
|
642
|
+
return n.currentSlide - k(n);
|
|
643
643
|
}, M = Y.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
645
|
-
},
|
|
645
|
+
}, k = Y.lazySlidesOnLeft = function(n) {
|
|
646
646
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
647
647
|
}, p = Y.lazySlidesOnRight = function(n) {
|
|
648
648
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
@@ -782,8 +782,8 @@ function Ke() {
|
|
|
782
782
|
V && (Q.swipeLength = tr);
|
|
783
783
|
var Ie = (U ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
784
|
V && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
|
-
var
|
|
786
|
-
return le || (q === 0 && (Pe === "right" || Pe === "down") || q + 1 >=
|
|
785
|
+
var Cn = Math.ceil(ee / ie), Pe = A(f.touchObject, V), Ae = Q.swipeLength;
|
|
786
|
+
return le || (q === 0 && (Pe === "right" || Pe === "down") || q + 1 >= Cn && (Pe === "left" || Pe === "up") || !W(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, V && (pe = tt + Ae * Ie), Re = s(s({}, Re), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: _(s(s({}, f), {}, {
|
|
@@ -906,22 +906,22 @@ function Ke() {
|
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if (I ? (oe = -
|
|
909
|
+
if (I ? (oe = -C(n), N % U !== 0 && f + U > N && (oe = -(f > N ? V - (f - N) : N % U)), D && (oe += parseInt(V / 2))) : (N % U !== 0 && f + U > N && (oe = V - N % U), D && (oe = parseInt(V / 2))), ee = oe * q, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * q * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
|
-
if (ue = f +
|
|
912
|
-
ue = I ? f +
|
|
911
|
+
if (ue = f + C(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
|
+
ue = I ? f + C(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
913
913
|
for (var pe = 0; pe < ue; pe++)
|
|
914
914
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
915
915
|
ie -= parseInt(n.centerPadding), ie += le && (K - le.offsetWidth) / 2;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
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
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 :
|
|
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) {
|
|
@@ -971,9 +971,9 @@ function Mn() {
|
|
|
971
971
|
function s() {
|
|
972
972
|
return s = Object.assign ? Object.assign.bind() : function(b) {
|
|
973
973
|
for (var h = 1; h < arguments.length; h++) {
|
|
974
|
-
var
|
|
975
|
-
for (var H in
|
|
976
|
-
({}).hasOwnProperty.call(
|
|
974
|
+
var C = arguments[h];
|
|
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);
|
|
@@ -982,12 +982,12 @@ function Mn() {
|
|
|
982
982
|
if (!(b instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
984
|
function u(b, h) {
|
|
985
|
-
for (var
|
|
986
|
-
var H = h[
|
|
985
|
+
for (var C = 0; C < h.length; C++) {
|
|
986
|
+
var H = h[C];
|
|
987
987
|
H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(b, W(H.key), H);
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function l(b, h,
|
|
990
|
+
function l(b, h, C) {
|
|
991
991
|
return h && u(b.prototype, h), Object.defineProperty(b, "prototype", { writable: !1 }), b;
|
|
992
992
|
}
|
|
993
993
|
function d(b, h) {
|
|
@@ -995,19 +995,19 @@ function Mn() {
|
|
|
995
995
|
b.prototype = Object.create(h && h.prototype, { constructor: { value: b, writable: !0, configurable: !0 } }), Object.defineProperty(b, "prototype", { writable: !1 }), h && g(b, h);
|
|
996
996
|
}
|
|
997
997
|
function g(b, h) {
|
|
998
|
-
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
999
|
-
return
|
|
998
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, H) {
|
|
999
|
+
return C.__proto__ = H, C;
|
|
1000
1000
|
}, g(b, h);
|
|
1001
1001
|
}
|
|
1002
1002
|
function y(b) {
|
|
1003
|
-
var h =
|
|
1003
|
+
var h = k();
|
|
1004
1004
|
return function() {
|
|
1005
|
-
var
|
|
1005
|
+
var C, H = p(b);
|
|
1006
1006
|
if (h) {
|
|
1007
1007
|
var T = p(this).constructor;
|
|
1008
|
-
|
|
1009
|
-
} else
|
|
1010
|
-
return E(this,
|
|
1008
|
+
C = Reflect.construct(H, arguments, T);
|
|
1009
|
+
} else C = H.apply(this, arguments);
|
|
1010
|
+
return E(this, C);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
1013
|
function E(b, h) {
|
|
@@ -1019,13 +1019,13 @@ function Mn() {
|
|
|
1019
1019
|
if (b === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1020
1020
|
return b;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1022
|
+
function k() {
|
|
1023
1023
|
try {
|
|
1024
1024
|
var b = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1025
1025
|
}));
|
|
1026
1026
|
} catch {
|
|
1027
1027
|
}
|
|
1028
|
-
return (
|
|
1028
|
+
return (k = function() {
|
|
1029
1029
|
return !!b;
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
@@ -1035,28 +1035,28 @@ function Mn() {
|
|
|
1035
1035
|
}, p(b);
|
|
1036
1036
|
}
|
|
1037
1037
|
function R(b, h) {
|
|
1038
|
-
var
|
|
1038
|
+
var C = Object.keys(b);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
1040
|
var H = Object.getOwnPropertySymbols(b);
|
|
1041
1041
|
h && (H = H.filter(function(T) {
|
|
1042
1042
|
return Object.getOwnPropertyDescriptor(b, T).enumerable;
|
|
1043
|
-
})),
|
|
1043
|
+
})), C.push.apply(C, H);
|
|
1044
1044
|
}
|
|
1045
|
-
return
|
|
1045
|
+
return C;
|
|
1046
1046
|
}
|
|
1047
1047
|
function S(b) {
|
|
1048
1048
|
for (var h = 1; h < arguments.length; h++) {
|
|
1049
|
-
var
|
|
1050
|
-
h % 2 ? R(Object(
|
|
1051
|
-
A(b, H,
|
|
1052
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(
|
|
1053
|
-
Object.defineProperty(b, H, Object.getOwnPropertyDescriptor(
|
|
1049
|
+
var C = arguments[h] != null ? arguments[h] : {};
|
|
1050
|
+
h % 2 ? R(Object(C), !0).forEach(function(H) {
|
|
1051
|
+
A(b, H, C[H]);
|
|
1052
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(C)) : R(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 A(b, h,
|
|
1059
|
-
return (h = W(h)) in b ? Object.defineProperty(b, h, { value:
|
|
1058
|
+
function A(b, h, C) {
|
|
1059
|
+
return (h = W(h)) in b ? Object.defineProperty(b, h, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : b[h] = C, b;
|
|
1060
1060
|
}
|
|
1061
1061
|
function W(b) {
|
|
1062
1062
|
var h = F(b, "string");
|
|
@@ -1064,35 +1064,35 @@ function Mn() {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
function F(b, h) {
|
|
1066
1066
|
if (a(b) != "object" || !b) return b;
|
|
1067
|
-
var
|
|
1068
|
-
if (
|
|
1069
|
-
var H =
|
|
1067
|
+
var C = b[Symbol.toPrimitive];
|
|
1068
|
+
if (C !== void 0) {
|
|
1069
|
+
var H = C.call(b, h);
|
|
1070
1070
|
if (a(H) != "object") return H;
|
|
1071
1071
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1072
1072
|
}
|
|
1073
1073
|
return (h === "string" ? String : Number)(b);
|
|
1074
1074
|
}
|
|
1075
1075
|
var m = function(h) {
|
|
1076
|
-
var
|
|
1077
|
-
h.rtl ? P = h.slideCount - 1 - h.index : P = h.index, T = P < 0 || P >= h.slideCount, h.centerMode ? (j = Math.floor(h.slidesToShow / 2), H = (P - h.currentSlide) % h.slideCount === 0, P > h.currentSlide - j - 1 && P <= h.currentSlide + j && (
|
|
1076
|
+
var C, H, T, j, P;
|
|
1077
|
+
h.rtl ? P = h.slideCount - 1 - h.index : P = h.index, T = P < 0 || P >= h.slideCount, h.centerMode ? (j = Math.floor(h.slidesToShow / 2), H = (P - h.currentSlide) % h.slideCount === 0, P > h.currentSlide - j - 1 && P <= h.currentSlide + j && (C = !0)) : C = h.currentSlide <= P && P < h.currentSlide + h.slidesToShow;
|
|
1078
1078
|
var L;
|
|
1079
1079
|
h.targetSlide < 0 ? L = h.targetSlide + h.slideCount : h.targetSlide >= h.slideCount ? L = h.targetSlide - h.slideCount : L = h.targetSlide;
|
|
1080
1080
|
var o = P === L;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
1083
|
-
"slick-active":
|
|
1083
|
+
"slick-active": C,
|
|
1084
1084
|
"slick-center": H,
|
|
1085
1085
|
"slick-cloned": T,
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
1089
|
}, w = function(h) {
|
|
1090
|
-
var
|
|
1091
|
-
return (h.variableWidth === void 0 || h.variableWidth === !1) && (
|
|
1092
|
-
}, x = function(h,
|
|
1093
|
-
return h.key ||
|
|
1090
|
+
var C = {};
|
|
1091
|
+
return (h.variableWidth === void 0 || h.variableWidth === !1) && (C.width = h.slideWidth), h.fade && (C.position = "relative", h.vertical ? C.top = -h.index * parseInt(h.slideHeight) : C.left = -h.index * parseInt(h.slideWidth), C.opacity = h.currentSlide === h.index ? 1 : 0, C.zIndex = h.currentSlide === h.index ? 999 : 998, h.useCSS && (C.transition = "opacity " + h.speed + "ms " + h.cssEase + ", visibility " + h.speed + "ms " + h.cssEase)), C;
|
|
1092
|
+
}, x = function(h, C) {
|
|
1093
|
+
return h.key || C;
|
|
1094
1094
|
}, _ = function(h) {
|
|
1095
|
-
var
|
|
1095
|
+
var C, H = [], T = [], j = [], P = e.default.Children.count(h.children), L = (0, r.lazyStartIndex)(h), o = (0, r.lazyEndIndex)(h);
|
|
1096
1096
|
return e.default.Children.forEach(h.children, function(z, v) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
@@ -1120,11 +1120,11 @@ function Mn() {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
})), h.infinite && P > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var N = P - v;
|
|
1123
|
-
N <= (0, r.getPreClones)(h) && (
|
|
1124
|
-
index:
|
|
1123
|
+
N <= (0, r.getPreClones)(h) && (C = -N, C >= L && (n = z), D = m(S(S({}, h), {}, {
|
|
1124
|
+
index: C
|
|
1125
1125
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
|
-
key: "precloned" + x(n,
|
|
1127
|
-
"data-index":
|
|
1126
|
+
key: "precloned" + x(n, C),
|
|
1127
|
+
"data-index": C,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
1129
|
className: (0, t.default)(D, I),
|
|
1130
1130
|
"aria-hidden": !D["slick-active"],
|
|
@@ -1132,11 +1132,11 @@ function Mn() {
|
|
|
1132
1132
|
onClick: function(U) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), v < (0, r.getPostClones)(h) && (
|
|
1136
|
-
index:
|
|
1135
|
+
}))), v < (0, r.getPostClones)(h) && (C = P + v, C < o && (n = z), D = m(S(S({}, h), {}, {
|
|
1136
|
+
index: C
|
|
1137
1137
|
})), j.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
|
-
key: "postcloned" + x(n,
|
|
1139
|
-
"data-index":
|
|
1138
|
+
key: "postcloned" + x(n, C),
|
|
1139
|
+
"data-index": C,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
1141
|
className: (0, t.default)(D, I),
|
|
1142
1142
|
"aria-hidden": !D["slick-active"],
|
|
@@ -1149,18 +1149,18 @@ function Mn() {
|
|
|
1149
1149
|
}), h.rtl ? T.concat(H, j).reverse() : T.concat(H, j);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(b) {
|
|
1152
|
-
d(
|
|
1153
|
-
var h = y(
|
|
1154
|
-
function
|
|
1152
|
+
d(C, b);
|
|
1153
|
+
var h = y(C);
|
|
1154
|
+
function C() {
|
|
1155
1155
|
var H;
|
|
1156
|
-
c(this,
|
|
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
1159
|
return H = h.call.apply(h, [this].concat(j)), A(M(H), "node", null), A(M(H), "handleRef", function(L) {
|
|
1160
1160
|
H.node = L;
|
|
1161
1161
|
}), H;
|
|
1162
1162
|
}
|
|
1163
|
-
return l(
|
|
1163
|
+
return l(C, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
1166
|
var T = _(this.props), j = this.props, P = j.onMouseEnter, L = j.onMouseOver, o = j.onMouseLeave, z = {
|
|
@@ -1174,7 +1174,7 @@ function Mn() {
|
|
|
1174
1174
|
style: this.props.trackStyle
|
|
1175
1175
|
}, z), T);
|
|
1176
1176
|
}
|
|
1177
|
-
}]),
|
|
1177
|
+
}]), C;
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
1179
1179
|
}
|
|
1180
1180
|
var We = {}, fr;
|
|
@@ -1248,12 +1248,12 @@ function Dn() {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
function M(m, w) {
|
|
1250
1250
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
-
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w &&
|
|
1251
|
+
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w && k(m, w);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return
|
|
1253
|
+
function k(m, w) {
|
|
1254
|
+
return k = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, _) {
|
|
1255
1255
|
return x.__proto__ = _, x;
|
|
1256
|
-
},
|
|
1256
|
+
}, k(m, w);
|
|
1257
1257
|
}
|
|
1258
1258
|
function p(m) {
|
|
1259
1259
|
var w = A();
|
|
@@ -1308,14 +1308,14 @@ function Dn() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var b = this.props, h = b.onMouseEnter,
|
|
1311
|
+
for (var b = this.props, h = 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,
|
|
1315
1315
|
infinite: T
|
|
1316
1316
|
}), v = {
|
|
1317
1317
|
onMouseEnter: h,
|
|
1318
|
-
onMouseOver:
|
|
1318
|
+
onMouseOver: C,
|
|
1319
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), V = (0, r.default)({
|
|
@@ -1419,7 +1419,7 @@ function $n() {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
return String(m);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function k(m, w) {
|
|
1423
1423
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
1424
|
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w && p(m, w);
|
|
1425
1425
|
}
|
|
@@ -1464,7 +1464,7 @@ function $n() {
|
|
|
1464
1464
|
}, F(m);
|
|
1465
1465
|
}
|
|
1466
1466
|
return _e.PrevArrow = /* @__PURE__ */ function(m) {
|
|
1467
|
-
|
|
1467
|
+
k(x, m);
|
|
1468
1468
|
var w = R(x);
|
|
1469
1469
|
function x() {
|
|
1470
1470
|
return d(this, x), w.apply(this, arguments);
|
|
@@ -1484,7 +1484,7 @@ function $n() {
|
|
|
1484
1484
|
message: "previous"
|
|
1485
1485
|
});
|
|
1486
1486
|
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (b["slick-disabled"] = !0, h = null);
|
|
1487
|
-
var
|
|
1487
|
+
var C = {
|
|
1488
1488
|
key: "0",
|
|
1489
1489
|
"data-role": "none",
|
|
1490
1490
|
className: (0, r.default)(b),
|
|
@@ -1496,14 +1496,14 @@ function $n() {
|
|
|
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({},
|
|
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;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), x;
|
|
1505
1505
|
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(m) {
|
|
1506
|
-
|
|
1506
|
+
k(x, m);
|
|
1507
1507
|
var w = R(x);
|
|
1508
1508
|
function x() {
|
|
1509
1509
|
return d(this, x), w.apply(this, arguments);
|
|
@@ -1523,7 +1523,7 @@ function $n() {
|
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
1525
|
(0, i.canGoNext)(this.props) || (b["slick-disabled"] = !0, h = null);
|
|
1526
|
-
var
|
|
1526
|
+
var C = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
1529
1529
|
className: (0, r.default)(b),
|
|
@@ -1535,10 +1535,10 @@ function $n() {
|
|
|
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({},
|
|
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;
|
|
1542
1542
|
}
|
|
1543
1543
|
}]), x;
|
|
1544
1544
|
}(t.default.PureComponent), _e;
|
|
@@ -1882,7 +1882,7 @@ function ri() {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
return P;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function k(T, j) {
|
|
1886
1886
|
var P = Object.keys(T);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
1888
|
var L = Object.getOwnPropertySymbols(T);
|
|
@@ -1895,9 +1895,9 @@ function ri() {
|
|
|
1895
1895
|
function p(T) {
|
|
1896
1896
|
for (var j = 1; j < arguments.length; j++) {
|
|
1897
1897
|
var P = arguments[j] != null ? arguments[j] : {};
|
|
1898
|
-
j % 2 ?
|
|
1898
|
+
j % 2 ? k(Object(P), !0).forEach(function(L) {
|
|
1899
1899
|
h(T, L, P[L]);
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(P)) :
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(P)) : k(Object(P)).forEach(function(L) {
|
|
1901
1901
|
Object.defineProperty(T, L, Object.getOwnPropertyDescriptor(P, L));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
@@ -1909,7 +1909,7 @@ function ri() {
|
|
|
1909
1909
|
function S(T, j) {
|
|
1910
1910
|
for (var P = 0; P < j.length; P++) {
|
|
1911
1911
|
var L = j[P];
|
|
1912
|
-
L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(T,
|
|
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
1915
|
function A(T, j, P) {
|
|
@@ -1960,9 +1960,9 @@ function ri() {
|
|
|
1960
1960
|
}, b(T);
|
|
1961
1961
|
}
|
|
1962
1962
|
function h(T, j, P) {
|
|
1963
|
-
return (j =
|
|
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
|
-
function
|
|
1965
|
+
function C(T) {
|
|
1966
1966
|
var j = H(T, "string");
|
|
1967
1967
|
return g(j) == "symbol" ? j : j + "";
|
|
1968
1968
|
}
|
|
@@ -2422,8 +2422,8 @@ function ai() {
|
|
|
2422
2422
|
return l = Object.assign ? Object.assign.bind() : function(_) {
|
|
2423
2423
|
for (var b = 1; b < arguments.length; b++) {
|
|
2424
2424
|
var h = arguments[b];
|
|
2425
|
-
for (var
|
|
2426
|
-
({}).hasOwnProperty.call(h,
|
|
2425
|
+
for (var C in h)
|
|
2426
|
+
({}).hasOwnProperty.call(h, C) && (_[C] = h[C]);
|
|
2427
2427
|
}
|
|
2428
2428
|
return _;
|
|
2429
2429
|
}, l.apply(null, arguments);
|
|
@@ -2431,20 +2431,20 @@ function ai() {
|
|
|
2431
2431
|
function d(_, b) {
|
|
2432
2432
|
var h = Object.keys(_);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
|
-
var
|
|
2435
|
-
b && (
|
|
2434
|
+
var C = Object.getOwnPropertySymbols(_);
|
|
2435
|
+
b && (C = C.filter(function(H) {
|
|
2436
2436
|
return Object.getOwnPropertyDescriptor(_, H).enumerable;
|
|
2437
|
-
})), h.push.apply(h,
|
|
2437
|
+
})), h.push.apply(h, C);
|
|
2438
2438
|
}
|
|
2439
2439
|
return h;
|
|
2440
2440
|
}
|
|
2441
2441
|
function g(_) {
|
|
2442
2442
|
for (var b = 1; b < arguments.length; b++) {
|
|
2443
2443
|
var h = arguments[b] != null ? arguments[b] : {};
|
|
2444
|
-
b % 2 ? d(Object(h), !0).forEach(function(
|
|
2445
|
-
m(_,
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(
|
|
2447
|
-
Object.defineProperty(_,
|
|
2444
|
+
b % 2 ? d(Object(h), !0).forEach(function(C) {
|
|
2445
|
+
m(_, C, h[C]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(C) {
|
|
2447
|
+
Object.defineProperty(_, C, Object.getOwnPropertyDescriptor(h, C));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
2450
|
return _;
|
|
@@ -2454,30 +2454,30 @@ function ai() {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
function E(_, b) {
|
|
2456
2456
|
for (var h = 0; h < b.length; h++) {
|
|
2457
|
-
var
|
|
2458
|
-
|
|
2457
|
+
var C = b[h];
|
|
2458
|
+
C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(_, w(C.key), C);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
2461
|
function M(_, b, h) {
|
|
2462
2462
|
return b && E(_.prototype, b), Object.defineProperty(_, "prototype", { writable: !1 }), _;
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function k(_, b) {
|
|
2465
2465
|
if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2466
2466
|
_.prototype = Object.create(b && b.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), b && p(_, b);
|
|
2467
2467
|
}
|
|
2468
2468
|
function p(_, b) {
|
|
2469
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h,
|
|
2470
|
-
return h.__proto__ =
|
|
2469
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h, C) {
|
|
2470
|
+
return h.__proto__ = C, h;
|
|
2471
2471
|
}, p(_, b);
|
|
2472
2472
|
}
|
|
2473
2473
|
function R(_) {
|
|
2474
2474
|
var b = W();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var h,
|
|
2476
|
+
var h, C = F(_);
|
|
2477
2477
|
if (b) {
|
|
2478
2478
|
var H = F(this).constructor;
|
|
2479
|
-
h = Reflect.construct(
|
|
2480
|
-
} else h =
|
|
2479
|
+
h = Reflect.construct(C, arguments, H);
|
|
2480
|
+
} else h = C.apply(this, arguments);
|
|
2481
2481
|
return S(this, h);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
@@ -2516,18 +2516,18 @@ function ai() {
|
|
|
2516
2516
|
if (u(_) != "object" || !_) return _;
|
|
2517
2517
|
var h = _[Symbol.toPrimitive];
|
|
2518
2518
|
if (h !== void 0) {
|
|
2519
|
-
var
|
|
2520
|
-
if (u(
|
|
2519
|
+
var C = h.call(_, b);
|
|
2520
|
+
if (u(C) != "object") return C;
|
|
2521
2521
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2522
2522
|
}
|
|
2523
2523
|
return (b === "string" ? String : Number)(_);
|
|
2524
2524
|
}
|
|
2525
2525
|
e.default = /* @__PURE__ */ function(_) {
|
|
2526
|
-
|
|
2526
|
+
k(h, _);
|
|
2527
2527
|
var b = R(h);
|
|
2528
|
-
function h(
|
|
2528
|
+
function h(C) {
|
|
2529
2529
|
var H;
|
|
2530
|
-
return y(this, h), H = b.call(this,
|
|
2530
|
+
return y(this, h), H = b.call(this, C), m(A(H), "innerSliderRefHandler", function(T) {
|
|
2531
2531
|
return H.innerSlider = T;
|
|
2532
2532
|
}), m(A(H), "slickPrev", function() {
|
|
2533
2533
|
return H.innerSlider.slickPrev();
|
|
@@ -2857,20 +2857,20 @@ function Oi(e, t) {
|
|
|
2857
2857
|
break;
|
|
2858
2858
|
return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : ve());
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function ki(e) {
|
|
2861
2861
|
for (; !qe(we()); )
|
|
2862
2862
|
ve();
|
|
2863
2863
|
return Je(e, he);
|
|
2864
2864
|
}
|
|
2865
|
-
function
|
|
2865
|
+
function Ci(e) {
|
|
2866
2866
|
return Jr(lt("", null, null, null, [""], e = Kr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
2868
|
function lt(e, t, r, i, a, s, c, u, l) {
|
|
2869
|
-
for (var d = 0, g = 0, y = c, E = 0, M = 0,
|
|
2870
|
-
switch (
|
|
2869
|
+
for (var d = 0, g = 0, y = c, E = 0, M = 0, k = 0, p = 1, R = 1, S = 1, A = 0, W = "", F = a, m = s, w = i, x = W; R; )
|
|
2870
|
+
switch (k = A, A = ve()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (
|
|
2873
|
+
if (k != 108 && fe(x, y - 1) == 58) {
|
|
2874
2874
|
zt(x += ne(st(A), "&", "&\f"), "&\f") != -1 && (S = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
@@ -2885,7 +2885,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
x += Si(
|
|
2888
|
+
x += Si(k);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
@@ -2943,7 +2943,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
y = 1 + ye(x), M =
|
|
2946
|
+
y = 1 + ye(x), M = k;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (A == 123)
|
|
@@ -2962,18 +2962,18 @@ 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())), E = we(), g = y = ye(W = x +=
|
|
2965
|
+
we() === 45 && (x += st(ve())), E = we(), g = y = ye(W = x += ki(ot())), A++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
2969
|
-
|
|
2969
|
+
k === 45 && ye(x) == 2 && (p = 0);
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, c, u, l, d, g) {
|
|
2975
|
-
for (var y = a - 1, E = a === 0 ? s : [""], M = Xt(E),
|
|
2976
|
-
for (var S = 0, A = Be(e, y + 1, y = pi(p = c[
|
|
2975
|
+
for (var y = a - 1, E = a === 0 ? s : [""], M = Xt(E), k = 0, p = 0, R = 0; k < i; ++k)
|
|
2976
|
+
for (var S = 0, A = Be(e, y + 1, y = pi(p = c[k])), W = e; S < M; ++S)
|
|
2977
2977
|
(W = Xr(p > 0 ? E[S] + " " + A : ne(A, /&\f/g, E[S]))) && (l[R++] = W);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? Bt : u, l, d, g);
|
|
2979
2979
|
}
|
|
@@ -3269,13 +3269,13 @@ var $i = function(t, r, i, a) {
|
|
|
3269
3269
|
var g, y = [Ei, _i(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
3271
|
})], E = Ri(d.concat(a, y)), M = function(R) {
|
|
3272
|
-
return Te(
|
|
3272
|
+
return Te(Ci(R), E);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(R, S, A, W) {
|
|
3275
|
-
g = A, M(R ? R + "{" + S.styles + "}" : S.styles), W && (
|
|
3275
|
+
g = A, M(R ? R + "{" + S.styles + "}" : S.styles), W && (k.inserted[S.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
var
|
|
3278
|
+
var k = {
|
|
3279
3279
|
key: r,
|
|
3280
3280
|
sheet: new fi({
|
|
3281
3281
|
key: r,
|
|
@@ -3290,7 +3290,7 @@ var $i = function(t, r, i, a) {
|
|
|
3290
3290
|
registered: {},
|
|
3291
3291
|
insert: l
|
|
3292
3292
|
};
|
|
3293
|
-
return
|
|
3293
|
+
return k.sheet.hydrate(u), k;
|
|
3294
3294
|
}, Hi = !0;
|
|
3295
3295
|
function zi(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
@@ -3484,7 +3484,7 @@ function Yi(e, t, r) {
|
|
|
3484
3484
|
}
|
|
3485
3485
|
return i;
|
|
3486
3486
|
}
|
|
3487
|
-
var
|
|
3487
|
+
var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, be;
|
|
3488
3488
|
function Bi(e, t, r) {
|
|
3489
3489
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
3490
3490
|
return e[0];
|
|
@@ -3502,8 +3502,8 @@ function Bi(e, t, r) {
|
|
|
3502
3502
|
var l = s;
|
|
3503
3503
|
a += l[u];
|
|
3504
3504
|
}
|
|
3505
|
-
|
|
3506
|
-
for (var d = "", g; (g =
|
|
3505
|
+
kr.lastIndex = 0;
|
|
3506
|
+
for (var d = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
3507
|
d += "-" + g[1];
|
|
3508
3508
|
var y = Fi(a) + d;
|
|
3509
3509
|
return {
|
|
@@ -3538,7 +3538,7 @@ var Ki = function(t) {
|
|
|
3538
3538
|
/* Z+1 */
|
|
3539
3539
|
), ea = Qi, ta = function(t) {
|
|
3540
3540
|
return t !== "theme";
|
|
3541
|
-
},
|
|
3541
|
+
}, Cr = function(t) {
|
|
3542
3542
|
return typeof t == "string" && // 96 is one less than the char code
|
|
3543
3543
|
// for "a" so this is checking that
|
|
3544
3544
|
// it's a lowercase character
|
|
@@ -3560,7 +3560,7 @@ var Ki = function(t) {
|
|
|
3560
3560
|
}, na = function e(t, r) {
|
|
3561
3561
|
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
|
|
3562
3562
|
r !== void 0 && (s = r.label, c = r.target);
|
|
3563
|
-
var u = Pr(t, r, i), l = u ||
|
|
3563
|
+
var u = Pr(t, r, i), l = u || Cr(a), d = !l("as");
|
|
3564
3564
|
return function() {
|
|
3565
3565
|
var g = arguments, y = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
3566
|
if (s !== void 0 && y.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
@@ -3568,8 +3568,8 @@ var Ki = function(t) {
|
|
|
3568
3568
|
else {
|
|
3569
3569
|
var E = g[0];
|
|
3570
3570
|
y.push(E[0]);
|
|
3571
|
-
for (var M = g.length,
|
|
3572
|
-
y.push(g[
|
|
3571
|
+
for (var M = g.length, k = 1; k < M; k++)
|
|
3572
|
+
y.push(g[k], E[k]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Ki(function(R, S, A) {
|
|
3575
3575
|
var W = d && R.as || a, F = "", m = [], w = R;
|
|
@@ -3582,9 +3582,9 @@ var Ki = function(t) {
|
|
|
3582
3582
|
typeof R.className == "string" ? F = zi(S.registered, m, R.className) : R.className != null && (F = R.className + " ");
|
|
3583
3583
|
var _ = Bi(y.concat(m), S.registered, w);
|
|
3584
3584
|
F += S.key + "-" + _.name, c !== void 0 && (F += " " + c);
|
|
3585
|
-
var b = d && u === void 0 ?
|
|
3586
|
-
for (var
|
|
3587
|
-
d &&
|
|
3585
|
+
var b = d && u === void 0 ? Cr(W) : l, h = {};
|
|
3586
|
+
for (var C in R)
|
|
3587
|
+
d && C === "as" || b(C) && (h[C] = R[C]);
|
|
3588
3588
|
return h.className = F, A && (h.ref = A), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
|
|
3589
3589
|
cache: S,
|
|
3590
3590
|
serialized: _,
|
|
@@ -3985,29 +3985,29 @@ const aa = Ee.div`
|
|
|
3985
3985
|
const a = B.useRef(!1), s = B.useRef(!1), { pointerPosition: c, isPointerDown: u } = la(), l = B.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
3987
|
}), d = B.useCallback(
|
|
3988
|
-
(
|
|
3988
|
+
(k) => {
|
|
3989
3989
|
if (!e || !e.current || !l.current)
|
|
3990
3990
|
return;
|
|
3991
3991
|
const p = { ...l.current };
|
|
3992
|
-
return p.posY =
|
|
3992
|
+
return p.posY = k.y, p.posX = k.x, l.current.startPosX && l.current.posX && (p.distanceX = l.current.startPosX - l.current.posX), l.current.startPosY && l.current.posY && (p.distanceY = -(l.current.startPosY - l.current.posY)), p;
|
|
3993
3993
|
},
|
|
3994
3994
|
[]
|
|
3995
3995
|
), g = B.useCallback(
|
|
3996
|
-
(
|
|
3997
|
-
|
|
3998
|
-
const p = d({ x:
|
|
3996
|
+
(k) => {
|
|
3997
|
+
k.preventDefault(), k.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = k.clientY, l.current.startPosX = k.clientX;
|
|
3998
|
+
const p = d({ x: k.clientX, y: k.clientY });
|
|
3999
3999
|
p && (l.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
4001
|
[d]
|
|
4002
4002
|
), y = B.useCallback(
|
|
4003
|
-
(
|
|
4003
|
+
(k) => {
|
|
4004
4004
|
l.current.isDragging = !1;
|
|
4005
4005
|
const p = d(c);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
4007
4007
|
},
|
|
4008
4008
|
[d, c]
|
|
4009
4009
|
), E = B.useCallback(
|
|
4010
|
-
(
|
|
4010
|
+
(k) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
4013
4013
|
l.current.isDragging
|
|
@@ -4020,7 +4020,7 @@ const aa = Ee.div`
|
|
|
4020
4020
|
), M = B.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
|
-
await new Promise((
|
|
4023
|
+
await new Promise((k) => setTimeout(k, 300));
|
|
4024
4024
|
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
4026
|
}, [e?.current, g]);
|
|
@@ -4037,7 +4037,7 @@ const aa = Ee.div`
|
|
|
4037
4037
|
const g = new URLSearchParams();
|
|
4038
4038
|
for (const E in d) {
|
|
4039
4039
|
const M = d[E];
|
|
4040
|
-
Array.isArray(M) ? M.forEach((
|
|
4040
|
+
Array.isArray(M) ? M.forEach((k) => g.append(E, String(k))) : M != null && g.append(E, String(M));
|
|
4041
4041
|
}
|
|
4042
4042
|
const y = g.toString();
|
|
4043
4043
|
return y ? `${l}?${y}` : l;
|
|
@@ -4154,9 +4154,9 @@ function ha() {
|
|
|
4154
4154
|
return E.prototype = /* @__PURE__ */ Object.create(null), E;
|
|
4155
4155
|
})();
|
|
4156
4156
|
function c(E, M) {
|
|
4157
|
-
const
|
|
4157
|
+
const k = new s(), p = E.length;
|
|
4158
4158
|
if (p < 2)
|
|
4159
|
-
return
|
|
4159
|
+
return k;
|
|
4160
4160
|
const R = M?.decode || g;
|
|
4161
4161
|
let S = 0;
|
|
4162
4162
|
do {
|
|
@@ -4169,63 +4169,63 @@ function ha() {
|
|
|
4169
4169
|
continue;
|
|
4170
4170
|
}
|
|
4171
4171
|
const m = u(E, S, A), w = l(E, A, m), x = E.slice(m, w);
|
|
4172
|
-
if (
|
|
4172
|
+
if (k[x] === void 0) {
|
|
4173
4173
|
let _ = u(E, A + 1, F), b = l(E, F, _);
|
|
4174
4174
|
const h = R(E.slice(_, b));
|
|
4175
|
-
|
|
4175
|
+
k[x] = h;
|
|
4176
4176
|
}
|
|
4177
4177
|
S = F + 1;
|
|
4178
4178
|
} while (S < p);
|
|
4179
|
-
return
|
|
4179
|
+
return k;
|
|
4180
4180
|
}
|
|
4181
|
-
function u(E, M,
|
|
4181
|
+
function u(E, M, k) {
|
|
4182
4182
|
do {
|
|
4183
4183
|
const p = E.charCodeAt(M);
|
|
4184
4184
|
if (p !== 32 && p !== 9)
|
|
4185
4185
|
return M;
|
|
4186
|
-
} while (++M <
|
|
4187
|
-
return
|
|
4186
|
+
} while (++M < k);
|
|
4187
|
+
return k;
|
|
4188
4188
|
}
|
|
4189
|
-
function l(E, M,
|
|
4190
|
-
for (; M >
|
|
4189
|
+
function l(E, M, k) {
|
|
4190
|
+
for (; M > k; ) {
|
|
4191
4191
|
const p = E.charCodeAt(--M);
|
|
4192
4192
|
if (p !== 32 && p !== 9)
|
|
4193
4193
|
return M + 1;
|
|
4194
4194
|
}
|
|
4195
|
-
return
|
|
4195
|
+
return k;
|
|
4196
4196
|
}
|
|
4197
|
-
function d(E, M,
|
|
4198
|
-
const p =
|
|
4197
|
+
function d(E, M, k) {
|
|
4198
|
+
const p = k?.encode || encodeURIComponent;
|
|
4199
4199
|
if (!e.test(E))
|
|
4200
4200
|
throw new TypeError(`argument name is invalid: ${E}`);
|
|
4201
4201
|
const R = p(M);
|
|
4202
4202
|
if (!t.test(R))
|
|
4203
4203
|
throw new TypeError(`argument val is invalid: ${M}`);
|
|
4204
4204
|
let S = E + "=" + R;
|
|
4205
|
-
if (!
|
|
4205
|
+
if (!k)
|
|
4206
4206
|
return S;
|
|
4207
|
-
if (
|
|
4208
|
-
if (!Number.isInteger(
|
|
4209
|
-
throw new TypeError(`option maxAge is invalid: ${
|
|
4210
|
-
S += "; Max-Age=" +
|
|
4211
|
-
}
|
|
4212
|
-
if (
|
|
4213
|
-
if (!r.test(
|
|
4214
|
-
throw new TypeError(`option domain is invalid: ${
|
|
4215
|
-
S += "; Domain=" +
|
|
4216
|
-
}
|
|
4217
|
-
if (
|
|
4218
|
-
if (!i.test(
|
|
4219
|
-
throw new TypeError(`option path is invalid: ${
|
|
4220
|
-
S += "; Path=" +
|
|
4221
|
-
}
|
|
4222
|
-
if (
|
|
4223
|
-
if (!y(
|
|
4224
|
-
throw new TypeError(`option expires is invalid: ${
|
|
4225
|
-
S += "; Expires=" +
|
|
4226
|
-
}
|
|
4227
|
-
if (
|
|
4228
|
-
switch (typeof
|
|
4207
|
+
if (k.maxAge !== void 0) {
|
|
4208
|
+
if (!Number.isInteger(k.maxAge))
|
|
4209
|
+
throw new TypeError(`option maxAge is invalid: ${k.maxAge}`);
|
|
4210
|
+
S += "; Max-Age=" + k.maxAge;
|
|
4211
|
+
}
|
|
4212
|
+
if (k.domain) {
|
|
4213
|
+
if (!r.test(k.domain))
|
|
4214
|
+
throw new TypeError(`option domain is invalid: ${k.domain}`);
|
|
4215
|
+
S += "; Domain=" + k.domain;
|
|
4216
|
+
}
|
|
4217
|
+
if (k.path) {
|
|
4218
|
+
if (!i.test(k.path))
|
|
4219
|
+
throw new TypeError(`option path is invalid: ${k.path}`);
|
|
4220
|
+
S += "; Path=" + k.path;
|
|
4221
|
+
}
|
|
4222
|
+
if (k.expires) {
|
|
4223
|
+
if (!y(k.expires) || !Number.isFinite(k.expires.valueOf()))
|
|
4224
|
+
throw new TypeError(`option expires is invalid: ${k.expires}`);
|
|
4225
|
+
S += "; Expires=" + k.expires.toUTCString();
|
|
4226
|
+
}
|
|
4227
|
+
if (k.httpOnly && (S += "; HttpOnly"), k.secure && (S += "; Secure"), k.partitioned && (S += "; Partitioned"), k.priority)
|
|
4228
|
+
switch (typeof k.priority == "string" ? k.priority.toLowerCase() : void 0) {
|
|
4229
4229
|
case "low":
|
|
4230
4230
|
S += "; Priority=Low";
|
|
4231
4231
|
break;
|
|
@@ -4236,10 +4236,10 @@ function ha() {
|
|
|
4236
4236
|
S += "; Priority=High";
|
|
4237
4237
|
break;
|
|
4238
4238
|
default:
|
|
4239
|
-
throw new TypeError(`option priority is invalid: ${
|
|
4239
|
+
throw new TypeError(`option priority is invalid: ${k.priority}`);
|
|
4240
4240
|
}
|
|
4241
|
-
if (
|
|
4242
|
-
switch (typeof
|
|
4241
|
+
if (k.sameSite)
|
|
4242
|
+
switch (typeof k.sameSite == "string" ? k.sameSite.toLowerCase() : k.sameSite) {
|
|
4243
4243
|
case !0:
|
|
4244
4244
|
case "strict":
|
|
4245
4245
|
S += "; SameSite=Strict";
|
|
@@ -4251,7 +4251,7 @@ function ha() {
|
|
|
4251
4251
|
S += "; SameSite=None";
|
|
4252
4252
|
break;
|
|
4253
4253
|
default:
|
|
4254
|
-
throw new TypeError(`option sameSite is invalid: ${
|
|
4254
|
+
throw new TypeError(`option sameSite is invalid: ${k.sameSite}`);
|
|
4255
4255
|
}
|
|
4256
4256
|
return S;
|
|
4257
4257
|
}
|
|
@@ -4388,7 +4388,7 @@ function va(e, t, r, i = {}) {
|
|
|
4388
4388
|
let W = Tr(A, d), F = p.createHref(A);
|
|
4389
4389
|
c.replaceState(W, "", F), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4390
4390
|
}
|
|
4391
|
-
function
|
|
4391
|
+
function k(R) {
|
|
4392
4392
|
return ga(R);
|
|
4393
4393
|
}
|
|
4394
4394
|
let p = {
|
|
@@ -4408,9 +4408,9 @@ function va(e, t, r, i = {}) {
|
|
|
4408
4408
|
createHref(R) {
|
|
4409
4409
|
return t(a, R);
|
|
4410
4410
|
},
|
|
4411
|
-
createURL:
|
|
4411
|
+
createURL: k,
|
|
4412
4412
|
encodeLocation(R) {
|
|
4413
|
-
let S =
|
|
4413
|
+
let S = k(R);
|
|
4414
4414
|
return {
|
|
4415
4415
|
pathname: S.pathname,
|
|
4416
4416
|
search: S.search,
|
|
@@ -4506,11 +4506,11 @@ function ba(e) {
|
|
|
4506
4506
|
)
|
|
4507
4507
|
);
|
|
4508
4508
|
}
|
|
4509
|
-
var wa = /^:[\w-]+$/, Sa = 3, xa = 2, Oa = 1,
|
|
4509
|
+
var wa = /^:[\w-]+$/, Sa = 3, xa = 2, Oa = 1, ka = 10, Ca = -2, jr = (e) => e === "*";
|
|
4510
4510
|
function Pa(e, t) {
|
|
4511
4511
|
let r = e.split("/"), i = r.length;
|
|
4512
|
-
return r.some(jr) && (i +=
|
|
4513
|
-
(a, s) => a + (wa.test(s) ? Sa : s === "" ? Oa :
|
|
4512
|
+
return r.some(jr) && (i += Ca), t && (i += xa), r.filter((a) => !jr(a)).reduce(
|
|
4513
|
+
(a, s) => a + (wa.test(s) ? Sa : s === "" ? Oa : ka),
|
|
4514
4514
|
i
|
|
4515
4515
|
);
|
|
4516
4516
|
}
|
|
@@ -4568,8 +4568,8 @@ function gt(e, t) {
|
|
|
4568
4568
|
params: i.reduce(
|
|
4569
4569
|
(d, { paramName: g, isOptional: y }, E) => {
|
|
4570
4570
|
if (g === "*") {
|
|
4571
|
-
let
|
|
4572
|
-
c = s.slice(0, s.length -
|
|
4571
|
+
let k = u[E] || "";
|
|
4572
|
+
c = s.slice(0, s.length - k.length).replace(/(.)\/+$/, "$1");
|
|
4573
4573
|
}
|
|
4574
4574
|
const M = u[E];
|
|
4575
4575
|
return y && !M ? d[g] = void 0 : d[g] = (M || "").replace(/%2F/g, "/"), d;
|
|
@@ -4711,12 +4711,12 @@ var Ze = $.createContext(
|
|
|
4711
4711
|
null
|
|
4712
4712
|
);
|
|
4713
4713
|
Ze.displayName = "Location";
|
|
4714
|
-
var
|
|
4714
|
+
var ke = $.createContext({
|
|
4715
4715
|
outlet: null,
|
|
4716
4716
|
matches: [],
|
|
4717
4717
|
isDataRoute: !1
|
|
4718
4718
|
});
|
|
4719
|
-
|
|
4719
|
+
ke.displayName = "Route";
|
|
4720
4720
|
var Gt = $.createContext(null);
|
|
4721
4721
|
Gt.displayName = "RouteError";
|
|
4722
4722
|
function Fa(e, { relative: t } = {}) {
|
|
@@ -4732,7 +4732,7 @@ function Fa(e, { relative: t } = {}) {
|
|
|
4732
4732
|
function Qe() {
|
|
4733
4733
|
return $.useContext(Ze) != null;
|
|
4734
4734
|
}
|
|
4735
|
-
function
|
|
4735
|
+
function Ce() {
|
|
4736
4736
|
return ae(
|
|
4737
4737
|
Qe(),
|
|
4738
4738
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4745,7 +4745,7 @@ function dn(e) {
|
|
|
4745
4745
|
$.useContext(Se).static || $.useLayoutEffect(e);
|
|
4746
4746
|
}
|
|
4747
4747
|
function Kt() {
|
|
4748
|
-
let { isDataRoute: e } = $.useContext(
|
|
4748
|
+
let { isDataRoute: e } = $.useContext(ke);
|
|
4749
4749
|
return e ? eo() : Wa();
|
|
4750
4750
|
}
|
|
4751
4751
|
function Wa() {
|
|
@@ -4755,7 +4755,7 @@ function Wa() {
|
|
|
4755
4755
|
// router loaded. We can help them understand how to avoid that.
|
|
4756
4756
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
4757
4757
|
);
|
|
4758
|
-
let e = $.useContext($e), { basename: t, navigator: r } = $.useContext(Se), { matches: i } = $.useContext(
|
|
4758
|
+
let e = $.useContext($e), { basename: t, navigator: r } = $.useContext(Se), { matches: i } = $.useContext(ke), { pathname: a } = Ce(), s = JSON.stringify(sn(i)), c = $.useRef(!1);
|
|
4759
4759
|
return dn(() => {
|
|
4760
4760
|
c.current = !0;
|
|
4761
4761
|
}), $.useCallback(
|
|
@@ -4788,7 +4788,7 @@ function Wa() {
|
|
|
4788
4788
|
}
|
|
4789
4789
|
$.createContext(null);
|
|
4790
4790
|
function et(e, { relative: t } = {}) {
|
|
4791
|
-
let { matches: r } = $.useContext(
|
|
4791
|
+
let { matches: r } = $.useContext(ke), { pathname: i } = Ce(), a = JSON.stringify(sn(r));
|
|
4792
4792
|
return $.useMemo(
|
|
4793
4793
|
() => ln(
|
|
4794
4794
|
e,
|
|
@@ -4809,7 +4809,7 @@ function hn(e, t, r, i) {
|
|
|
4809
4809
|
// router loaded. We can help them understand how to avoid that.
|
|
4810
4810
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
4811
4811
|
);
|
|
4812
|
-
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(
|
|
4812
|
+
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(ke), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", d = c ? c.pathnameBase : "/", g = c && c.route;
|
|
4813
4813
|
{
|
|
4814
4814
|
let S = g && g.path || "";
|
|
4815
4815
|
pn(
|
|
@@ -4820,7 +4820,7 @@ function hn(e, t, r, i) {
|
|
|
4820
4820
|
Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" : `${S}/*`}">.`
|
|
4821
4821
|
);
|
|
4822
4822
|
}
|
|
4823
|
-
let y =
|
|
4823
|
+
let y = Ce(), E;
|
|
4824
4824
|
if (t) {
|
|
4825
4825
|
let S = typeof t == "string" ? De(t) : t;
|
|
4826
4826
|
ae(
|
|
@@ -4829,12 +4829,12 @@ Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" :
|
|
|
4829
4829
|
), E = S;
|
|
4830
4830
|
} else
|
|
4831
4831
|
E = y;
|
|
4832
|
-
let M = E.pathname || "/",
|
|
4832
|
+
let M = E.pathname || "/", k = M;
|
|
4833
4833
|
if (d !== "/") {
|
|
4834
4834
|
let S = d.replace(/^\//, "").split("/");
|
|
4835
|
-
|
|
4835
|
+
k = "/" + M.replace(/^\//, "").split("/").slice(S.length).join("/");
|
|
4836
4836
|
}
|
|
4837
|
-
let p = nn(e, { pathname:
|
|
4837
|
+
let p = nn(e, { pathname: k });
|
|
4838
4838
|
ge(
|
|
4839
4839
|
g || p != null,
|
|
4840
4840
|
`No routes matched location "${E.pathname}${E.search}${E.hash}" `
|
|
@@ -4918,7 +4918,7 @@ var Ya = /* @__PURE__ */ $.createElement(Ua, null), Ba = class extends $.Compone
|
|
|
4918
4918
|
);
|
|
4919
4919
|
}
|
|
4920
4920
|
render() {
|
|
4921
|
-
return this.state.error !== void 0 ? /* @__PURE__ */ $.createElement(
|
|
4921
|
+
return this.state.error !== void 0 ? /* @__PURE__ */ $.createElement(ke.Provider, { value: this.props.routeContext }, /* @__PURE__ */ $.createElement(
|
|
4922
4922
|
Gt.Provider,
|
|
4923
4923
|
{
|
|
4924
4924
|
value: this.state.error,
|
|
@@ -4929,7 +4929,7 @@ var Ya = /* @__PURE__ */ $.createElement(Ua, null), Ba = class extends $.Compone
|
|
|
4929
4929
|
};
|
|
4930
4930
|
function qa({ routeContext: e, match: t, children: r }) {
|
|
4931
4931
|
let i = $.useContext($e);
|
|
4932
|
-
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ $.createElement(
|
|
4932
|
+
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ $.createElement(ke.Provider, { value: e }, r);
|
|
4933
4933
|
}
|
|
4934
4934
|
function Xa(e, t = [], r = null, i = null) {
|
|
4935
4935
|
if (e == null) {
|
|
@@ -4970,15 +4970,15 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4970
4970
|
}
|
|
4971
4971
|
}
|
|
4972
4972
|
return a.reduceRight((l, d, g) => {
|
|
4973
|
-
let y, E = !1, M = null,
|
|
4973
|
+
let y, E = !1, M = null, k = null;
|
|
4974
4974
|
r && (y = s && d.route.id ? s[d.route.id] : void 0, M = d.route.errorElement || Ya, c && (u < 0 && g === 0 ? (pn(
|
|
4975
4975
|
"route-fallback",
|
|
4976
4976
|
!1,
|
|
4977
4977
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4978
|
-
), E = !0,
|
|
4978
|
+
), E = !0, k = null) : u === g && (E = !0, k = d.route.hydrateFallbackElement || null)));
|
|
4979
4979
|
let p = t.concat(a.slice(0, g + 1)), R = () => {
|
|
4980
4980
|
let S;
|
|
4981
|
-
return y ? S = M : E ? S =
|
|
4981
|
+
return y ? S = M : E ? S = k : d.route.Component ? S = /* @__PURE__ */ $.createElement(d.route.Component, null) : d.route.element ? S = d.route.element : S = l, /* @__PURE__ */ $.createElement(
|
|
4982
4982
|
qa,
|
|
4983
4983
|
{
|
|
4984
4984
|
match: d,
|
|
@@ -5016,7 +5016,7 @@ function Ka(e) {
|
|
|
5016
5016
|
return ae(t, Jt(e)), t;
|
|
5017
5017
|
}
|
|
5018
5018
|
function Ja(e) {
|
|
5019
|
-
let t = $.useContext(
|
|
5019
|
+
let t = $.useContext(ke);
|
|
5020
5020
|
return ae(t, Jt(e)), t;
|
|
5021
5021
|
}
|
|
5022
5022
|
function Zt(e) {
|
|
@@ -5106,10 +5106,10 @@ function ro({
|
|
|
5106
5106
|
state: y = null,
|
|
5107
5107
|
key: E = "default"
|
|
5108
5108
|
} = r, M = $.useMemo(() => {
|
|
5109
|
-
let
|
|
5110
|
-
return
|
|
5109
|
+
let k = Oe(l, c);
|
|
5110
|
+
return k == null ? null : {
|
|
5111
5111
|
location: {
|
|
5112
|
-
pathname:
|
|
5112
|
+
pathname: k,
|
|
5113
5113
|
search: d,
|
|
5114
5114
|
hash: g,
|
|
5115
5115
|
state: y,
|
|
@@ -5174,17 +5174,17 @@ function Wt(e, t = []) {
|
|
|
5174
5174
|
}), r;
|
|
5175
5175
|
}
|
|
5176
5176
|
var ut = "get", ct = "application/x-www-form-urlencoded";
|
|
5177
|
-
function
|
|
5177
|
+
function kt(e) {
|
|
5178
5178
|
return e != null && typeof e.tagName == "string";
|
|
5179
5179
|
}
|
|
5180
5180
|
function io(e) {
|
|
5181
|
-
return
|
|
5181
|
+
return kt(e) && e.tagName.toLowerCase() === "button";
|
|
5182
5182
|
}
|
|
5183
5183
|
function ao(e) {
|
|
5184
|
-
return
|
|
5184
|
+
return kt(e) && e.tagName.toLowerCase() === "form";
|
|
5185
5185
|
}
|
|
5186
5186
|
function oo(e) {
|
|
5187
|
-
return
|
|
5187
|
+
return kt(e) && e.tagName.toLowerCase() === "input";
|
|
5188
5188
|
}
|
|
5189
5189
|
function so(e) {
|
|
5190
5190
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
@@ -5257,7 +5257,7 @@ function ho(e, t) {
|
|
|
5257
5257
|
} else d && s.append(d, y);
|
|
5258
5258
|
}
|
|
5259
5259
|
} else {
|
|
5260
|
-
if (
|
|
5260
|
+
if (kt(e))
|
|
5261
5261
|
throw new Error(
|
|
5262
5262
|
'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
|
|
5263
5263
|
);
|
|
@@ -5398,7 +5398,7 @@ function gn() {
|
|
|
5398
5398
|
"You must render this element inside a <HydratedRouter> element"
|
|
5399
5399
|
), e;
|
|
5400
5400
|
}
|
|
5401
|
-
function
|
|
5401
|
+
function ko(e, t) {
|
|
5402
5402
|
let r = $.useContext(er), [i, a] = $.useState(!1), [s, c] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: d, onMouseLeave: g, onTouchStart: y } = t, E = $.useRef(null);
|
|
5403
5403
|
$.useEffect(() => {
|
|
5404
5404
|
if (e === "render" && c(!0), e === "viewport") {
|
|
@@ -5423,7 +5423,7 @@ function Co(e, t) {
|
|
|
5423
5423
|
}, [i]);
|
|
5424
5424
|
let M = () => {
|
|
5425
5425
|
a(!0);
|
|
5426
|
-
},
|
|
5426
|
+
}, k = () => {
|
|
5427
5427
|
a(!1), c(!1);
|
|
5428
5428
|
};
|
|
5429
5429
|
return r ? e !== "intent" ? [s, E, {}] : [
|
|
@@ -5431,9 +5431,9 @@ function Co(e, t) {
|
|
|
5431
5431
|
E,
|
|
5432
5432
|
{
|
|
5433
5433
|
onFocus: Ye(u, M),
|
|
5434
|
-
onBlur: Ye(l,
|
|
5434
|
+
onBlur: Ye(l, k),
|
|
5435
5435
|
onMouseEnter: Ye(d, M),
|
|
5436
|
-
onMouseLeave: Ye(g,
|
|
5436
|
+
onMouseLeave: Ye(g, k),
|
|
5437
5437
|
onTouchStart: Ye(y, M)
|
|
5438
5438
|
}
|
|
5439
5439
|
] : [!1, E, {}];
|
|
@@ -5443,7 +5443,7 @@ function Ye(e, t) {
|
|
|
5443
5443
|
e && e(r), r.defaultPrevented || t(r);
|
|
5444
5444
|
};
|
|
5445
5445
|
}
|
|
5446
|
-
function
|
|
5446
|
+
function Co({
|
|
5447
5447
|
page: e,
|
|
5448
5448
|
...t
|
|
5449
5449
|
}) {
|
|
@@ -5471,7 +5471,7 @@ function Eo({
|
|
|
5471
5471
|
matches: t,
|
|
5472
5472
|
...r
|
|
5473
5473
|
}) {
|
|
5474
|
-
let i =
|
|
5474
|
+
let i = Ce(), { manifest: a, routeModules: s } = gn(), { basename: c } = vn(), { loaderData: u, matches: l } = Oo(), d = $.useMemo(
|
|
5475
5475
|
() => Mr(
|
|
5476
5476
|
e,
|
|
5477
5477
|
t,
|
|
@@ -5494,16 +5494,16 @@ function Eo({
|
|
|
5494
5494
|
), y = $.useMemo(() => {
|
|
5495
5495
|
if (e === i.pathname + i.search + i.hash)
|
|
5496
5496
|
return [];
|
|
5497
|
-
let
|
|
5497
|
+
let k = /* @__PURE__ */ new Set(), p = !1;
|
|
5498
5498
|
if (t.forEach((S) => {
|
|
5499
5499
|
let A = a.routes[S.route.id];
|
|
5500
|
-
!A || !A.hasLoader || (!d.some((W) => W.route.id === S.route.id) && S.route.id in u && s[S.route.id]?.shouldRevalidate || A.hasClientLoader ? p = !0 :
|
|
5501
|
-
}),
|
|
5500
|
+
!A || !A.hasLoader || (!d.some((W) => W.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
|
+
}), k.size === 0)
|
|
5502
5502
|
return [];
|
|
5503
5503
|
let R = xo(e, c);
|
|
5504
|
-
return p &&
|
|
5504
|
+
return p && k.size > 0 && R.searchParams.set(
|
|
5505
5505
|
"_routes",
|
|
5506
|
-
t.filter((S) =>
|
|
5506
|
+
t.filter((S) => k.has(S.route.id)).map((S) => S.route.id).join(",")
|
|
5507
5507
|
), [R.pathname + R.search];
|
|
5508
5508
|
}, [
|
|
5509
5509
|
c,
|
|
@@ -5518,10 +5518,10 @@ function Eo({
|
|
|
5518
5518
|
() => go(g, a),
|
|
5519
5519
|
[g, a]
|
|
5520
5520
|
), M = Po(g);
|
|
5521
|
-
return /* @__PURE__ */ $.createElement($.Fragment, null, y.map((
|
|
5521
|
+
return /* @__PURE__ */ $.createElement($.Fragment, null, y.map((k) => /* @__PURE__ */ $.createElement("link", { key: k, rel: "prefetch", as: "fetch", href: k, ...r })), E.map((k) => /* @__PURE__ */ $.createElement("link", { key: k, rel: "modulepreload", href: k, ...r })), M.map(({ key: k, link: p }) => (
|
|
5522
5522
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5523
5523
|
// already with their own props
|
|
5524
|
-
/* @__PURE__ */ $.createElement("link", { key:
|
|
5524
|
+
/* @__PURE__ */ $.createElement("link", { key: k, ...p })
|
|
5525
5525
|
)));
|
|
5526
5526
|
}
|
|
5527
5527
|
function Ro(...e) {
|
|
@@ -5578,18 +5578,18 @@ var bn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, wn = $.forwardRef(
|
|
|
5578
5578
|
viewTransition: y,
|
|
5579
5579
|
...E
|
|
5580
5580
|
}, M) {
|
|
5581
|
-
let { basename:
|
|
5581
|
+
let { basename: k } = $.useContext(Se), p = typeof d == "string" && bn.test(d), R, S = !1;
|
|
5582
5582
|
if (typeof d == "string" && p && (R = d, yn))
|
|
5583
5583
|
try {
|
|
5584
|
-
let b = new URL(window.location.href), h = d.startsWith("//") ? new URL(b.protocol + d) : new URL(d),
|
|
5585
|
-
h.origin === b.origin &&
|
|
5584
|
+
let b = new URL(window.location.href), h = d.startsWith("//") ? new URL(b.protocol + d) : new URL(d), C = Oe(h.pathname, k);
|
|
5585
|
+
h.origin === b.origin && C != null ? d = C + h.search + h.hash : S = !0;
|
|
5586
5586
|
} catch {
|
|
5587
5587
|
ge(
|
|
5588
5588
|
!1,
|
|
5589
5589
|
`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5590
5590
|
);
|
|
5591
5591
|
}
|
|
5592
|
-
let A = Fa(d, { relative: a }), [W, F, m] =
|
|
5592
|
+
let A = Fa(d, { relative: a }), [W, F, m] = ko(
|
|
5593
5593
|
i,
|
|
5594
5594
|
E
|
|
5595
5595
|
), w = Mo(d, {
|
|
@@ -5618,7 +5618,7 @@ var bn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, wn = $.forwardRef(
|
|
|
5618
5618
|
}
|
|
5619
5619
|
)
|
|
5620
5620
|
);
|
|
5621
|
-
return W && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, _, /* @__PURE__ */ $.createElement(
|
|
5621
|
+
return W && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, _, /* @__PURE__ */ $.createElement(Co, { page: A })) : _;
|
|
5622
5622
|
}
|
|
5623
5623
|
);
|
|
5624
5624
|
wn.displayName = "Link";
|
|
@@ -5634,9 +5634,9 @@ var To = $.forwardRef(
|
|
|
5634
5634
|
children: l,
|
|
5635
5635
|
...d
|
|
5636
5636
|
}, g) {
|
|
5637
|
-
let y = et(c, { relative: d.relative }), E =
|
|
5637
|
+
let y = et(c, { relative: d.relative }), E = Ce(), M = $.useContext(Ot), { navigator: k, basename: p } = $.useContext(Se), R = 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 =
|
|
5639
|
+
zo(y) && u === !0, S = k.encodeLocation ? k.encodeLocation(y).pathname : y.pathname, A = E.pathname, W = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5640
5640
|
r || (A = A.toLowerCase(), W = W ? W.toLowerCase() : null, S = S.toLowerCase()), W && p && (W = Oe(W, p) || W);
|
|
5641
5641
|
const F = S !== "/" && S.endsWith("/") ? S.length - 1 : S.length;
|
|
5642
5642
|
let m = A === S || !a && A.startsWith(S) && A.charAt(F) === "/", w = W != null && (W === S || !a && W.startsWith(S) && W.charAt(S.length) === "/"), x = {
|
|
@@ -5683,11 +5683,11 @@ var jo = $.forwardRef(
|
|
|
5683
5683
|
viewTransition: y,
|
|
5684
5684
|
...E
|
|
5685
5685
|
}, M) => {
|
|
5686
|
-
let
|
|
5686
|
+
let k = Ao(), p = Ho(u, { relative: d }), R = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && bn.test(u), A = (W) => {
|
|
5687
5687
|
if (l && l(W), W.defaultPrevented) return;
|
|
5688
5688
|
W.preventDefault();
|
|
5689
5689
|
let F = W.nativeEvent.submitter, m = F?.getAttribute("formmethod") || c;
|
|
5690
|
-
|
|
5690
|
+
k(F || W.currentTarget, {
|
|
5691
5691
|
fetcherKey: t,
|
|
5692
5692
|
method: m,
|
|
5693
5693
|
navigate: r,
|
|
@@ -5727,7 +5727,7 @@ function Mo(e, {
|
|
|
5727
5727
|
relative: s,
|
|
5728
5728
|
viewTransition: c
|
|
5729
5729
|
} = {}) {
|
|
5730
|
-
let u = Kt(), l =
|
|
5730
|
+
let u = Kt(), l = Ce(), d = et(e, { relative: s });
|
|
5731
5731
|
return $.useCallback(
|
|
5732
5732
|
(g) => {
|
|
5733
5733
|
if (lo(g, t)) {
|
|
@@ -5761,7 +5761,7 @@ function Do(e) {
|
|
|
5761
5761
|
typeof URLSearchParams < "u",
|
|
5762
5762
|
"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
|
|
5763
5763
|
);
|
|
5764
|
-
let t = $.useRef(Vt(e)), r = $.useRef(!1), i =
|
|
5764
|
+
let t = $.useRef(Vt(e)), r = $.useRef(!1), i = Ce(), a = $.useMemo(
|
|
5765
5765
|
() => (
|
|
5766
5766
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
5767
5767
|
// Once we call that we want those to take precedence, otherwise you can't
|
|
@@ -5823,9 +5823,9 @@ function Ao() {
|
|
|
5823
5823
|
);
|
|
5824
5824
|
}
|
|
5825
5825
|
function Ho(e, { relative: t } = {}) {
|
|
5826
|
-
let { basename: r } = $.useContext(Se), i = $.useContext(
|
|
5826
|
+
let { basename: r } = $.useContext(Se), i = $.useContext(ke);
|
|
5827
5827
|
ae(i, "useFormAction must be used inside a RouteContext");
|
|
5828
|
-
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c =
|
|
5828
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c = Ce();
|
|
5829
5829
|
if (e == null) {
|
|
5830
5830
|
s.search = c.search;
|
|
5831
5831
|
let u = new URLSearchParams(s.search), l = u.getAll("index");
|
|
@@ -5908,8 +5908,8 @@ const xn = B.createContext({
|
|
|
5908
5908
|
(g) => {
|
|
5909
5909
|
t((y) => {
|
|
5910
5910
|
const E = new URLSearchParams(y);
|
|
5911
|
-
return Object.entries(g).forEach(([M,
|
|
5912
|
-
|
|
5911
|
+
return Object.entries(g).forEach(([M, k]) => {
|
|
5912
|
+
k == null ? E.delete(M) : E.set(M, String(k));
|
|
5913
5913
|
}), E;
|
|
5914
5914
|
});
|
|
5915
5915
|
},
|
|
@@ -5926,7 +5926,7 @@ const xn = B.createContext({
|
|
|
5926
5926
|
removeAll: u
|
|
5927
5927
|
};
|
|
5928
5928
|
}, hs = () => {
|
|
5929
|
-
const e = Kt(), t =
|
|
5929
|
+
const e = Kt(), t = Ce(), r = No(), i = Ut(xn), a = (l) => {
|
|
5930
5930
|
const d = new URL(l.path, "http://dummy-base");
|
|
5931
5931
|
return l.params && Object.entries(l.params).forEach(([g, y]) => {
|
|
5932
5932
|
y != null && d.searchParams.set(g, String(y));
|
|
@@ -5939,8 +5939,14 @@ const xn = B.createContext({
|
|
|
5939
5939
|
[e, i.history]
|
|
5940
5940
|
), c = B.useCallback(
|
|
5941
5941
|
(l) => {
|
|
5942
|
-
|
|
5943
|
-
|
|
5942
|
+
if (i.history.length > 0) {
|
|
5943
|
+
let d = l.steps || 1;
|
|
5944
|
+
i.history.length < d && (d = i.history.length), l.params && r.setMany(l.params), e(-d), i.popFromHistory(d);
|
|
5945
|
+
} else l.defaultBackPath && s({
|
|
5946
|
+
path: l.defaultBackPath,
|
|
5947
|
+
addToHistory: !1,
|
|
5948
|
+
params: { ...l.params }
|
|
5949
|
+
});
|
|
5944
5950
|
},
|
|
5945
5951
|
[e]
|
|
5946
5952
|
), u = B.useCallback(() => {
|
|
@@ -6022,7 +6028,7 @@ const xn = B.createContext({
|
|
|
6022
6028
|
children: e
|
|
6023
6029
|
}
|
|
6024
6030
|
);
|
|
6025
|
-
},
|
|
6031
|
+
}, Ct = () => {
|
|
6026
6032
|
const e = Ut(On), t = (a) => e.visibleItems.some((s) => s === a), r = (a) => {
|
|
6027
6033
|
e.showItem(a);
|
|
6028
6034
|
}, i = (a) => {
|
|
@@ -6039,19 +6045,19 @@ const xn = B.createContext({
|
|
|
6039
6045
|
onCloseDrawer: t,
|
|
6040
6046
|
drawerCloseOffset: r = 15
|
|
6041
6047
|
}) => {
|
|
6042
|
-
const { isItemVisible: i } =
|
|
6048
|
+
const { isItemVisible: i } = Ct(), [a, s] = B.useState({
|
|
6043
6049
|
isDragging: !1
|
|
6044
|
-
}), c = B.useRef(null), u = B.useRef(null), l = B.useRef(null), [d, g] = B.useState(0), y = (
|
|
6045
|
-
s(
|
|
6046
|
-
}, E = (
|
|
6047
|
-
s(
|
|
6050
|
+
}), c = B.useRef(null), u = B.useRef(null), l = B.useRef(null), [d, g] = B.useState(0), y = (k) => {
|
|
6051
|
+
s(k);
|
|
6052
|
+
}, E = (k) => {
|
|
6053
|
+
s(k), g(0);
|
|
6048
6054
|
};
|
|
6049
6055
|
return ua({
|
|
6050
6056
|
ref: l,
|
|
6051
|
-
onDrag: (
|
|
6052
|
-
s(
|
|
6057
|
+
onDrag: (k) => {
|
|
6058
|
+
s(k);
|
|
6053
6059
|
const p = u.current?.clientHeight || 0;
|
|
6054
|
-
|
|
6060
|
+
k.distanceY && (g(k.distanceY < 0 ? 0 : -k.distanceY), k.distanceY >= p - r && (t?.(), E(k)));
|
|
6055
6061
|
},
|
|
6056
6062
|
onDragEnd: E,
|
|
6057
6063
|
onDragStart: y
|
|
@@ -6247,7 +6253,7 @@ const xn = B.createContext({
|
|
|
6247
6253
|
const A = R.target;
|
|
6248
6254
|
var S = await y("change");
|
|
6249
6255
|
let W = u(A);
|
|
6250
|
-
W = await g(W, "change"), console.
|
|
6256
|
+
W = await g(W, "change"), console.debug("Form > On Change > ", { result: W, allFieldsValidation: S }), r?.(
|
|
6251
6257
|
W,
|
|
6252
6258
|
S.fields,
|
|
6253
6259
|
S.hasErrors
|
|
@@ -6257,7 +6263,7 @@ const xn = B.createContext({
|
|
|
6257
6263
|
}
|
|
6258
6264
|
},
|
|
6259
6265
|
[t, e]
|
|
6260
|
-
),
|
|
6266
|
+
), k = B.useCallback(async () => {
|
|
6261
6267
|
try {
|
|
6262
6268
|
const R = await y("mount");
|
|
6263
6269
|
i?.(R.fields, R.hasErrors);
|
|
@@ -6268,7 +6274,7 @@ const xn = B.createContext({
|
|
|
6268
6274
|
s.current && s.current.requestSubmit();
|
|
6269
6275
|
};
|
|
6270
6276
|
return sa(() => {
|
|
6271
|
-
|
|
6277
|
+
k();
|
|
6272
6278
|
}), {
|
|
6273
6279
|
ref: s,
|
|
6274
6280
|
submitForm: p,
|
|
@@ -6425,7 +6431,7 @@ const xn = B.createContext({
|
|
|
6425
6431
|
placeHolder: y,
|
|
6426
6432
|
autoComplete: E = "off",
|
|
6427
6433
|
value: M,
|
|
6428
|
-
initialValue:
|
|
6434
|
+
initialValue: k,
|
|
6429
6435
|
type: p = "text",
|
|
6430
6436
|
maxLength: R,
|
|
6431
6437
|
inputStyles: S,
|
|
@@ -6484,7 +6490,7 @@ const xn = B.createContext({
|
|
|
6484
6490
|
maxLength: R,
|
|
6485
6491
|
placeholder: y,
|
|
6486
6492
|
value: M,
|
|
6487
|
-
defaultValue:
|
|
6493
|
+
defaultValue: k,
|
|
6488
6494
|
onChange: t,
|
|
6489
6495
|
onFocus: i,
|
|
6490
6496
|
onBlur: r,
|
|
@@ -6515,7 +6521,7 @@ const xn = B.createContext({
|
|
|
6515
6521
|
}
|
|
6516
6522
|
);
|
|
6517
6523
|
}, bs = ({ id: e, styles: t, children: r }) => {
|
|
6518
|
-
const { isItemVisible: i } =
|
|
6524
|
+
const { isItemVisible: i } = Ct();
|
|
6519
6525
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: i(e) && /* @__PURE__ */ X.jsx(
|
|
6520
6526
|
"div",
|
|
6521
6527
|
{
|
|
@@ -6542,7 +6548,7 @@ const xn = B.createContext({
|
|
|
6542
6548
|
contentStyles: i,
|
|
6543
6549
|
onClickOutsideModal: a
|
|
6544
6550
|
}) => {
|
|
6545
|
-
const { isItemVisible: s } =
|
|
6551
|
+
const { isItemVisible: s } = Ct();
|
|
6546
6552
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
6547
6553
|
"div",
|
|
6548
6554
|
{
|
|
@@ -6604,8 +6610,8 @@ const xn = B.createContext({
|
|
|
6604
6610
|
const l = u.indexOf(".");
|
|
6605
6611
|
l !== -1 && (u = u.slice(0, l + 1) + u.slice(l + 1).replace(/\./g, ""));
|
|
6606
6612
|
const [d, ...g] = u.split("."), [y, ...E] = t.current.split(".");
|
|
6607
|
-
let M = g.join(""),
|
|
6608
|
-
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M =
|
|
6613
|
+
let M = g.join(""), k = E.join("");
|
|
6614
|
+
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M = k : M = M.slice(0, e.decimalScale)), u = M || u.endsWith(".") ? `${d}.${M}` : d;
|
|
6609
6615
|
} else
|
|
6610
6616
|
u = u.replace(/\./g, "");
|
|
6611
6617
|
return u;
|
|
@@ -6657,8 +6663,8 @@ const xn = B.createContext({
|
|
|
6657
6663
|
}, [r, r.current]), E = B.useCallback(() => {
|
|
6658
6664
|
i.current && d(i.current.clientWidth);
|
|
6659
6665
|
}, [i, i.current]), M = B.useCallback(() => {
|
|
6660
|
-
let
|
|
6661
|
-
return e.header?.visibility === "always" && (
|
|
6666
|
+
let k = 0;
|
|
6667
|
+
return e.header?.visibility === "always" && (k = k + (a || 0)), e.footer?.visibility === "always" && (k = k + (c || 0)), k;
|
|
6662
6668
|
}, [r, r.current]);
|
|
6663
6669
|
return B.useEffect(() => {
|
|
6664
6670
|
g();
|
|
@@ -6834,7 +6840,7 @@ const xn = B.createContext({
|
|
|
6834
6840
|
}
|
|
6835
6841
|
);
|
|
6836
6842
|
};
|
|
6837
|
-
class
|
|
6843
|
+
class kn {
|
|
6838
6844
|
static getField = (t, r) => {
|
|
6839
6845
|
const i = t.find((a) => a.name === r);
|
|
6840
6846
|
if (i)
|
|
@@ -6845,7 +6851,7 @@ class Cn {
|
|
|
6845
6851
|
return t.value;
|
|
6846
6852
|
};
|
|
6847
6853
|
static getFieldValueOrDefault = (t, r) => {
|
|
6848
|
-
const i =
|
|
6854
|
+
const i = kn.getFieldValue(t);
|
|
6849
6855
|
return i || r;
|
|
6850
6856
|
};
|
|
6851
6857
|
}
|
|
@@ -6864,7 +6870,7 @@ class Os {
|
|
|
6864
6870
|
);
|
|
6865
6871
|
};
|
|
6866
6872
|
}
|
|
6867
|
-
class
|
|
6873
|
+
class ks {
|
|
6868
6874
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6869
6875
|
static disableScroll = () => {
|
|
6870
6876
|
document.body.style.overflow = "hidden";
|
|
@@ -6873,7 +6879,7 @@ class Cs {
|
|
|
6873
6879
|
document.body.style.overflow = "unset";
|
|
6874
6880
|
};
|
|
6875
6881
|
}
|
|
6876
|
-
class
|
|
6882
|
+
class Cs {
|
|
6877
6883
|
static getPascalCase = (t) => t.replace(new RegExp("\\p{L}+", "gu"), function(r) {
|
|
6878
6884
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6879
6885
|
});
|
|
@@ -6888,7 +6894,7 @@ function Zo() {
|
|
|
6888
6894
|
(function(r, i) {
|
|
6889
6895
|
e.exports = i();
|
|
6890
6896
|
})(Jo, function() {
|
|
6891
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", d = "day", g = "week", y = "month", E = "quarter", M = "year",
|
|
6897
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", d = "day", g = "week", y = "month", E = "quarter", M = "year", k = "date", p = "Invalid Date", R = /^(\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) {
|
|
6892
6898
|
var P = ["th", "st", "nd", "rd"], L = j % 100;
|
|
6893
6899
|
return "[" + j + (P[(L - 20) % 10] || P[L] || P[0]) + "]";
|
|
6894
6900
|
} }, W = function(j, P, L) {
|
|
@@ -6904,7 +6910,7 @@ function Zo() {
|
|
|
6904
6910
|
}, a: function(j) {
|
|
6905
6911
|
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
6906
6912
|
}, p: function(j) {
|
|
6907
|
-
return { M: y, y: M, w: g, d, D:
|
|
6913
|
+
return { M: y, y: M, w: g, d, D: k, h: l, m: u, s: c, ms: s, Q: E }[j] || String(j || "").toLowerCase().replace(/s$/, "");
|
|
6908
6914
|
}, u: function(j) {
|
|
6909
6915
|
return j === void 0;
|
|
6910
6916
|
} }, m = "en", w = {};
|
|
@@ -6928,8 +6934,8 @@ function Zo() {
|
|
|
6928
6934
|
if (_(j)) return j.clone();
|
|
6929
6935
|
var L = typeof P == "object" ? P : {};
|
|
6930
6936
|
return L.date = j, L.args = arguments, new H(L);
|
|
6931
|
-
},
|
|
6932
|
-
|
|
6937
|
+
}, C = F;
|
|
6938
|
+
C.l = b, C.i = _, C.w = function(j, P) {
|
|
6933
6939
|
return h(j, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
|
|
6934
6940
|
};
|
|
6935
6941
|
var H = function() {
|
|
@@ -6941,7 +6947,7 @@ function Zo() {
|
|
|
6941
6947
|
this.$d = function(o) {
|
|
6942
6948
|
var z = o.date, v = o.utc;
|
|
6943
6949
|
if (z === null) return /* @__PURE__ */ new Date(NaN);
|
|
6944
|
-
if (
|
|
6950
|
+
if (C.u(z)) return /* @__PURE__ */ new Date();
|
|
6945
6951
|
if (z instanceof Date) return new Date(z);
|
|
6946
6952
|
if (typeof z == "string" && !/Z$/i.test(z)) {
|
|
6947
6953
|
var n = z.match(R);
|
|
@@ -6956,7 +6962,7 @@ function Zo() {
|
|
|
6956
6962
|
var L = this.$d;
|
|
6957
6963
|
this.$y = L.getFullYear(), this.$M = L.getMonth(), this.$D = L.getDate(), this.$W = L.getDay(), this.$H = L.getHours(), this.$m = L.getMinutes(), this.$s = L.getSeconds(), this.$ms = L.getMilliseconds();
|
|
6958
6964
|
}, P.$utils = function() {
|
|
6959
|
-
return
|
|
6965
|
+
return C;
|
|
6960
6966
|
}, P.isValid = function() {
|
|
6961
6967
|
return this.$d.toString() !== p;
|
|
6962
6968
|
}, P.isSame = function(L, o) {
|
|
@@ -6967,17 +6973,17 @@ function Zo() {
|
|
|
6967
6973
|
}, P.isBefore = function(L, o) {
|
|
6968
6974
|
return this.endOf(o) < h(L);
|
|
6969
6975
|
}, P.$g = function(L, o, z) {
|
|
6970
|
-
return
|
|
6976
|
+
return C.u(L) ? this[o] : this.set(z, L);
|
|
6971
6977
|
}, P.unix = function() {
|
|
6972
6978
|
return Math.floor(this.valueOf() / 1e3);
|
|
6973
6979
|
}, P.valueOf = function() {
|
|
6974
6980
|
return this.$d.getTime();
|
|
6975
6981
|
}, P.startOf = function(L, o) {
|
|
6976
|
-
var z = this, v = !!
|
|
6977
|
-
var J =
|
|
6982
|
+
var z = this, v = !!C.u(o) || o, n = C.p(L), f = function(K, G) {
|
|
6983
|
+
var J = C.w(z.$u ? Date.UTC(z.$y, G, K) : new Date(z.$y, G, K), z);
|
|
6978
6984
|
return v ? J : J.endOf(d);
|
|
6979
6985
|
}, O = function(K, G) {
|
|
6980
|
-
return
|
|
6986
|
+
return C.w(z.toDate()[K].apply(z.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), z);
|
|
6981
6987
|
}, I = this.$W, D = this.$M, N = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
6982
6988
|
switch (n) {
|
|
6983
6989
|
case M:
|
|
@@ -6988,7 +6994,7 @@ function Zo() {
|
|
|
6988
6994
|
var U = this.$locale().weekStart || 0, q = (I < U ? I + 7 : I) - U;
|
|
6989
6995
|
return f(v ? N - q : N + (6 - q), D);
|
|
6990
6996
|
case d:
|
|
6991
|
-
case
|
|
6997
|
+
case k:
|
|
6992
6998
|
return O(V + "Hours", 0);
|
|
6993
6999
|
case l:
|
|
6994
7000
|
return O(V + "Minutes", 1);
|
|
@@ -7002,38 +7008,38 @@ function Zo() {
|
|
|
7002
7008
|
}, P.endOf = function(L) {
|
|
7003
7009
|
return this.startOf(L, !1);
|
|
7004
7010
|
}, P.$set = function(L, o) {
|
|
7005
|
-
var z, v =
|
|
7011
|
+
var z, v = C.p(L), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[d] = n + "Date", z[k] = n + "Date", z[y] = n + "Month", z[M] = n + "FullYear", z[l] = n + "Hours", z[u] = n + "Minutes", z[c] = n + "Seconds", z[s] = n + "Milliseconds", z)[v], O = v === d ? this.$D + (o - this.$W) : o;
|
|
7006
7012
|
if (v === y || v === M) {
|
|
7007
|
-
var I = this.clone().set(
|
|
7008
|
-
I.$d[f](O), I.init(), this.$d = I.set(
|
|
7013
|
+
var I = this.clone().set(k, 1);
|
|
7014
|
+
I.$d[f](O), I.init(), this.$d = I.set(k, Math.min(this.$D, I.daysInMonth())).$d;
|
|
7009
7015
|
} else f && this.$d[f](O);
|
|
7010
7016
|
return this.init(), this;
|
|
7011
7017
|
}, P.set = function(L, o) {
|
|
7012
7018
|
return this.clone().$set(L, o);
|
|
7013
7019
|
}, P.get = function(L) {
|
|
7014
|
-
return this[
|
|
7020
|
+
return this[C.p(L)]();
|
|
7015
7021
|
}, P.add = function(L, o) {
|
|
7016
7022
|
var z, v = this;
|
|
7017
7023
|
L = Number(L);
|
|
7018
|
-
var n =
|
|
7024
|
+
var n = C.p(o), f = function(D) {
|
|
7019
7025
|
var N = h(v);
|
|
7020
|
-
return
|
|
7026
|
+
return C.w(N.date(N.date() + Math.round(D * L)), v);
|
|
7021
7027
|
};
|
|
7022
7028
|
if (n === y) return this.set(y, this.$M + L);
|
|
7023
7029
|
if (n === M) return this.set(M, this.$y + L);
|
|
7024
7030
|
if (n === d) return f(1);
|
|
7025
7031
|
if (n === g) return f(7);
|
|
7026
7032
|
var O = (z = {}, z[u] = i, z[l] = a, z[c] = r, z)[n] || 1, I = this.$d.getTime() + L * O;
|
|
7027
|
-
return
|
|
7033
|
+
return C.w(I, this);
|
|
7028
7034
|
}, P.subtract = function(L, o) {
|
|
7029
7035
|
return this.add(-1 * L, o);
|
|
7030
7036
|
}, P.format = function(L) {
|
|
7031
7037
|
var o = this, z = this.$locale();
|
|
7032
7038
|
if (!this.isValid()) return z.invalidDate || p;
|
|
7033
|
-
var v = L || "YYYY-MM-DDTHH:mm:ssZ", n =
|
|
7039
|
+
var v = L || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this), f = this.$H, O = this.$m, I = this.$M, D = z.weekdays, N = z.months, V = z.meridiem, U = function(G, J, te, Z) {
|
|
7034
7040
|
return G && (G[J] || G(o, v)) || te[J].slice(0, Z);
|
|
7035
7041
|
}, q = function(G) {
|
|
7036
|
-
return
|
|
7042
|
+
return C.s(f % 12 || 12, G, "0");
|
|
7037
7043
|
}, K = V || function(G, J, te) {
|
|
7038
7044
|
var Z = G < 12 ? "AM" : "PM";
|
|
7039
7045
|
return te ? Z.toLowerCase() : Z;
|
|
@@ -7044,11 +7050,11 @@ function Zo() {
|
|
|
7044
7050
|
case "YY":
|
|
7045
7051
|
return String(o.$y).slice(-2);
|
|
7046
7052
|
case "YYYY":
|
|
7047
|
-
return
|
|
7053
|
+
return C.s(o.$y, 4, "0");
|
|
7048
7054
|
case "M":
|
|
7049
7055
|
return I + 1;
|
|
7050
7056
|
case "MM":
|
|
7051
|
-
return
|
|
7057
|
+
return C.s(I + 1, 2, "0");
|
|
7052
7058
|
case "MMM":
|
|
7053
7059
|
return U(z.monthsShort, I, N, 3);
|
|
7054
7060
|
case "MMMM":
|
|
@@ -7056,7 +7062,7 @@ function Zo() {
|
|
|
7056
7062
|
case "D":
|
|
7057
7063
|
return o.$D;
|
|
7058
7064
|
case "DD":
|
|
7059
|
-
return
|
|
7065
|
+
return C.s(o.$D, 2, "0");
|
|
7060
7066
|
case "d":
|
|
7061
7067
|
return String(o.$W);
|
|
7062
7068
|
case "dd":
|
|
@@ -7068,7 +7074,7 @@ function Zo() {
|
|
|
7068
7074
|
case "H":
|
|
7069
7075
|
return String(f);
|
|
7070
7076
|
case "HH":
|
|
7071
|
-
return
|
|
7077
|
+
return C.s(f, 2, "0");
|
|
7072
7078
|
case "h":
|
|
7073
7079
|
return q(1);
|
|
7074
7080
|
case "hh":
|
|
@@ -7080,13 +7086,13 @@ function Zo() {
|
|
|
7080
7086
|
case "m":
|
|
7081
7087
|
return String(O);
|
|
7082
7088
|
case "mm":
|
|
7083
|
-
return
|
|
7089
|
+
return C.s(O, 2, "0");
|
|
7084
7090
|
case "s":
|
|
7085
7091
|
return String(o.$s);
|
|
7086
7092
|
case "ss":
|
|
7087
|
-
return
|
|
7093
|
+
return C.s(o.$s, 2, "0");
|
|
7088
7094
|
case "SSS":
|
|
7089
|
-
return
|
|
7095
|
+
return C.s(o.$ms, 3, "0");
|
|
7090
7096
|
case "Z":
|
|
7091
7097
|
return n;
|
|
7092
7098
|
}
|
|
@@ -7096,8 +7102,8 @@ function Zo() {
|
|
|
7096
7102
|
}, P.utcOffset = function() {
|
|
7097
7103
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
7098
7104
|
}, P.diff = function(L, o, z) {
|
|
7099
|
-
var v, n = this, f =
|
|
7100
|
-
return
|
|
7105
|
+
var v, n = this, f = C.p(o), O = h(L), I = (O.utcOffset() - this.utcOffset()) * i, D = this - O, N = function() {
|
|
7106
|
+
return C.m(n, O);
|
|
7101
7107
|
};
|
|
7102
7108
|
switch (f) {
|
|
7103
7109
|
case M:
|
|
@@ -7127,7 +7133,7 @@ function Zo() {
|
|
|
7127
7133
|
default:
|
|
7128
7134
|
v = D;
|
|
7129
7135
|
}
|
|
7130
|
-
return z ? v :
|
|
7136
|
+
return z ? v : C.a(v);
|
|
7131
7137
|
}, P.daysInMonth = function() {
|
|
7132
7138
|
return this.endOf(y).$D;
|
|
7133
7139
|
}, P.$locale = function() {
|
|
@@ -7137,7 +7143,7 @@ function Zo() {
|
|
|
7137
7143
|
var z = this.clone(), v = b(L, o, !0);
|
|
7138
7144
|
return v && (z.$L = v), z;
|
|
7139
7145
|
}, P.clone = function() {
|
|
7140
|
-
return
|
|
7146
|
+
return C.w(this.$d, this);
|
|
7141
7147
|
}, P.toDate = function() {
|
|
7142
7148
|
return new Date(this.valueOf());
|
|
7143
7149
|
}, P.toJSON = function() {
|
|
@@ -7148,7 +7154,7 @@ function Zo() {
|
|
|
7148
7154
|
return this.$d.toUTCString();
|
|
7149
7155
|
}, j;
|
|
7150
7156
|
}(), T = H.prototype;
|
|
7151
|
-
return h.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", d], ["$M", y], ["$y", M], ["$D",
|
|
7157
|
+
return h.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", d], ["$M", y], ["$y", M], ["$D", k]].forEach(function(j) {
|
|
7152
7158
|
T[j[1]] = function(P) {
|
|
7153
7159
|
return this.$g(P, j[0], j[1]);
|
|
7154
7160
|
};
|
|
@@ -7227,11 +7233,11 @@ function ts() {
|
|
|
7227
7233
|
l.toDate = function(p) {
|
|
7228
7234
|
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
7229
7235
|
};
|
|
7230
|
-
var
|
|
7236
|
+
var k = l.diff;
|
|
7231
7237
|
l.diff = function(p, R, S) {
|
|
7232
|
-
if (p && this.$u === p.$u) return
|
|
7238
|
+
if (p && this.$u === p.$u) return k.call(this, p, R, S);
|
|
7233
7239
|
var A = this.local(), W = u(p).local();
|
|
7234
|
-
return
|
|
7240
|
+
return k.call(A, W, R, S);
|
|
7235
7241
|
};
|
|
7236
7242
|
};
|
|
7237
7243
|
});
|
|
@@ -7433,7 +7439,7 @@ const Es = ({
|
|
|
7433
7439
|
containerStyles: E,
|
|
7434
7440
|
styles: M
|
|
7435
7441
|
}) => {
|
|
7436
|
-
const
|
|
7442
|
+
const k = (S) => {
|
|
7437
7443
|
l?.(S.currentTarget.value);
|
|
7438
7444
|
}, p = (S) => {
|
|
7439
7445
|
d?.();
|
|
@@ -7494,7 +7500,7 @@ const Es = ({
|
|
|
7494
7500
|
placeholder: s,
|
|
7495
7501
|
value: c,
|
|
7496
7502
|
defaultValue: u,
|
|
7497
|
-
onChange:
|
|
7503
|
+
onChange: k,
|
|
7498
7504
|
onFocus: p,
|
|
7499
7505
|
onBlur: R
|
|
7500
7506
|
}
|
|
@@ -7513,7 +7519,7 @@ const Es = ({
|
|
|
7513
7519
|
styles: r,
|
|
7514
7520
|
durationInSeconds: i = 3
|
|
7515
7521
|
}) => {
|
|
7516
|
-
const a = B.useRef(!1), { isItemVisible: s, hideItem: c } =
|
|
7522
|
+
const a = B.useRef(!1), { isItemVisible: s, hideItem: c } = Ct();
|
|
7517
7523
|
return B.useEffect(() => {
|
|
7518
7524
|
const u = s(e);
|
|
7519
7525
|
a.current !== u && (a.current = u, u && setTimeout(() => c(e), i * 1e3));
|
|
@@ -7560,7 +7566,7 @@ const Es = ({
|
|
|
7560
7566
|
textOverflow: e ? "ellipsis" : void 0,
|
|
7561
7567
|
fontSize: "16px",
|
|
7562
7568
|
fontStyle: "normal",
|
|
7563
|
-
lineHeight: "
|
|
7569
|
+
lineHeight: "inherit",
|
|
7564
7570
|
color: "inherit",
|
|
7565
7571
|
pointerEvents: "none",
|
|
7566
7572
|
...i
|
|
@@ -7575,7 +7581,7 @@ export {
|
|
|
7575
7581
|
vs as Drawer,
|
|
7576
7582
|
ms as FeedbackProvider,
|
|
7577
7583
|
gs as Form,
|
|
7578
|
-
|
|
7584
|
+
kn as FormsHelper,
|
|
7579
7585
|
ys as Image,
|
|
7580
7586
|
Bo as InputField,
|
|
7581
7587
|
bs as Loader,
|
|
@@ -7587,17 +7593,17 @@ export {
|
|
|
7587
7593
|
xs as PageLayout,
|
|
7588
7594
|
Es as ProgressBar,
|
|
7589
7595
|
Rs as RadioButton,
|
|
7590
|
-
|
|
7596
|
+
ks as ScrollHelper,
|
|
7591
7597
|
_s as SvgImage,
|
|
7592
7598
|
Ts as TextAreaField,
|
|
7593
|
-
|
|
7599
|
+
Cs as TextHelper,
|
|
7594
7600
|
Ps as TimeHelper,
|
|
7595
7601
|
js as Toast,
|
|
7596
7602
|
Ls as Typography,
|
|
7597
7603
|
ca as defaultBreakpoints,
|
|
7598
7604
|
sa as useDidMount,
|
|
7599
7605
|
ua as useDrag,
|
|
7600
|
-
|
|
7606
|
+
Ct as useFeedback,
|
|
7601
7607
|
us as useFetch,
|
|
7602
7608
|
hs as useNavigation,
|
|
7603
7609
|
cs as useOnScreen,
|