@eliseubatista99/react-scaffold-core 1.1.17 → 1.1.19
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/components/inputField/inputField.d.ts +1 -0
- package/dist/components/pageLayout/pageLayout.d.ts +1 -0
- package/dist/components/pageLayout/pageLayout.hook.d.ts +7 -0
- package/dist/components/pageLayout/stories/pageLayout.stories.d.ts +1 -0
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +489 -451
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -76,7 +76,7 @@ function _n() {
|
|
|
76
76
|
function e(n) {
|
|
77
77
|
if (n == null) return null;
|
|
78
78
|
if (typeof n == "function")
|
|
79
|
-
return n.$$typeof ===
|
|
79
|
+
return n.$$typeof === h ? null : n.displayName || n.name || null;
|
|
80
80
|
if (typeof n == "string") return n;
|
|
81
81
|
switch (n) {
|
|
82
82
|
case p:
|
|
@@ -179,7 +179,7 @@ function _n() {
|
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function d(n, f, O, I, D, N, V, U) {
|
|
183
183
|
return O = N.ref, n = {
|
|
184
184
|
$$typeof: M,
|
|
185
185
|
type: n,
|
|
@@ -250,7 +250,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
250
250
|
return B && u(
|
|
251
251
|
O,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
253
|
-
),
|
|
253
|
+
), d(
|
|
254
254
|
n,
|
|
255
255
|
B,
|
|
256
256
|
N,
|
|
@@ -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 = q, 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"),
|
|
267
|
+
var E = q, 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 = {
|
|
@@ -374,14 +374,14 @@ 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,
|
|
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,
|
|
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
|
-
w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x,
|
|
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 B = _, K = b;
|
|
387
387
|
return _ = b = void 0, j = U, C = m.apply(K, B), C;
|
|
@@ -391,11 +391,11 @@ function Ln() {
|
|
|
391
391
|
}
|
|
392
392
|
function n(U) {
|
|
393
393
|
var B = U - T, K = U - j, G = w - B;
|
|
394
|
-
return L ? k(G,
|
|
394
|
+
return L ? k(G, h - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function f(U) {
|
|
397
397
|
var B = U - T, K = U - j;
|
|
398
|
-
return T === void 0 || B >= w || B < 0 || L && K >=
|
|
398
|
+
return T === void 0 || B >= w || B < 0 || L && K >= h;
|
|
399
399
|
}
|
|
400
400
|
function O() {
|
|
401
401
|
var U = p();
|
|
@@ -571,7 +571,7 @@ function Ke() {
|
|
|
571
571
|
if (ur) return Y;
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
|
-
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp =
|
|
574
|
+
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = d, Y.extractObject = void 0, Y.filterSettings = z, Y.validSettings = Y.swipeStart = Y.swipeMove = Y.swipeEnd = Y.slidesOnRight = Y.slidesOnLeft = Y.slideHandler = Y.siblingDirection = Y.safePreventDefault = Y.lazyStartIndex = Y.lazySlidesOnRight = Y.lazySlidesOnLeft = Y.lazyEndIndex = Y.keyHandler = Y.initializedState = Y.getWidth = Y.getTrackLeft = Y.getTrackCSS = Y.getTrackAnimateCSS = Y.getTotalSlides = Y.getSwipeDirection = Y.getSlideCount = Y.getRequiredLazySlides = Y.getPreClones = Y.getPostClones = Y.getOnDemandLazySlides = Y.getNavigableIndexes = Y.getHeight = void 0;
|
|
575
575
|
var e = r(q), t = r(zr());
|
|
576
576
|
function r(v) {
|
|
577
577
|
return v && v.__esModule ? v : { default: v };
|
|
@@ -622,7 +622,7 @@ function Ke() {
|
|
|
622
622
|
}
|
|
623
623
|
return (n === "string" ? String : Number)(v);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function d(v, n, f) {
|
|
626
626
|
return Math.max(n, Math.min(v, f));
|
|
627
627
|
}
|
|
628
628
|
var g = Y.safePreventDefault = function(n) {
|
|
@@ -691,7 +691,7 @@ function Ke() {
|
|
|
691
691
|
}, Y.slideHandler = function(n) {
|
|
692
692
|
var f = n.waitForAnimate, O = n.animating, I = n.fade, D = n.infinite, N = n.index, V = n.slideCount, U = n.lazyLoad, B = n.currentSlide, K = n.centerMode, G = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
693
|
if (f && O) return {};
|
|
694
|
-
var ee = N, ie, le, Q, oe = {}, ue = {}, ce = D ? N :
|
|
694
|
+
var ee = N, ie, le, Q, oe = {}, ue = {}, ce = D ? N : d(N, 0, V - 1);
|
|
695
695
|
if (I) {
|
|
696
696
|
if (!D && (N < 0 || N >= V)) return {};
|
|
697
697
|
N < 0 ? ee = N + V : N >= V && (ee = N - V), U && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
@@ -704,9 +704,9 @@ function Ke() {
|
|
|
704
704
|
targetSlide: ee
|
|
705
705
|
};
|
|
706
706
|
} else
|
|
707
|
-
ie = ee, ee < 0 ? (ie = ee + V, D ? V % G !== 0 && (ie = V - V % G) : ie = 0) : !W(n) && ee > B ? ee = ie = B : K && ee >= V ? (ee = D ? V : V - 1, ie = D ? 0 : V - 1) : ee >= V && (ie = ee - V, D ? V % G !== 0 && (ie = 0) : ie = V - J), !D && ee + J >= V && (ie = V - J), le =
|
|
707
|
+
ie = ee, ee < 0 ? (ie = ee + V, D ? V % G !== 0 && (ie = V - V % G) : ie = 0) : !W(n) && ee > B ? ee = ie = B : K && ee >= V ? (ee = D ? V : V - 1, ie = D ? 0 : V - 1) : ee >= V && (ie = ee - V, D ? V % G !== 0 && (ie = 0) : ie = V - J), !D && ee + J >= V && (ie = V - J), le = h(s(s({}, n), {}, {
|
|
708
708
|
slideIndex: ee
|
|
709
|
-
})), Q =
|
|
709
|
+
})), Q = h(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
711
711
|
})), D || (le === Q && (ee = ie), le = Q), U && (Z = Z.concat(y(s(s({}, n), {}, {
|
|
712
712
|
currentSlide: ee
|
|
@@ -772,7 +772,7 @@ function Ke() {
|
|
|
772
772
|
if (!O) {
|
|
773
773
|
if (I) return g(n);
|
|
774
774
|
D && N && V && g(n);
|
|
775
|
-
var pe, Re = {}, tt =
|
|
775
|
+
var pe, Re = {}, tt = h(f);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
778
778
|
if (!V && !Z && tr > 10)
|
|
@@ -823,7 +823,7 @@ function Ke() {
|
|
|
823
823
|
}
|
|
824
824
|
Q.triggerSlideHandler = oe;
|
|
825
825
|
} else {
|
|
826
|
-
var pe =
|
|
826
|
+
var pe = h(f);
|
|
827
827
|
Q.trackStyle = b(s(s({}, f), {}, {
|
|
828
828
|
left: pe
|
|
829
829
|
}));
|
|
@@ -898,7 +898,7 @@ function Ke() {
|
|
|
898
898
|
x(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
899
|
var f = _(n);
|
|
900
900
|
return n.useTransform ? (f.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, f.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? f.transition = "top " + n.speed + "ms " + n.cssEase : f.transition = "left " + n.speed + "ms " + n.cssEase, f;
|
|
901
|
-
},
|
|
901
|
+
}, h = Y.getTrackLeft = function(n) {
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
904
|
x(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
@@ -962,57 +962,57 @@ function Mn() {
|
|
|
962
962
|
}
|
|
963
963
|
function a(b) {
|
|
964
964
|
"@babel/helpers - typeof";
|
|
965
|
-
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
966
|
-
return typeof
|
|
967
|
-
} : function(
|
|
968
|
-
return
|
|
965
|
+
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(h) {
|
|
966
|
+
return typeof h;
|
|
967
|
+
} : function(h) {
|
|
968
|
+
return h && typeof Symbol == "function" && h.constructor === Symbol && h !== Symbol.prototype ? "symbol" : typeof h;
|
|
969
969
|
}, a(b);
|
|
970
970
|
}
|
|
971
971
|
function s() {
|
|
972
972
|
return s = Object.assign ? Object.assign.bind() : function(b) {
|
|
973
|
-
for (var
|
|
974
|
-
var C = arguments[
|
|
973
|
+
for (var h = 1; h < arguments.length; h++) {
|
|
974
|
+
var C = arguments[h];
|
|
975
975
|
for (var H in C)
|
|
976
976
|
({}).hasOwnProperty.call(C, H) && (b[H] = C[H]);
|
|
977
977
|
}
|
|
978
978
|
return b;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
980
980
|
}
|
|
981
|
-
function c(b,
|
|
982
|
-
if (!(b instanceof
|
|
981
|
+
function c(b, h) {
|
|
982
|
+
if (!(b instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
|
-
function u(b,
|
|
985
|
-
for (var C = 0; C <
|
|
986
|
-
var H =
|
|
984
|
+
function u(b, 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,
|
|
991
|
-
return
|
|
990
|
+
function l(b, h, C) {
|
|
991
|
+
return h && u(b.prototype, h), Object.defineProperty(b, "prototype", { writable: !1 }), b;
|
|
992
992
|
}
|
|
993
|
-
function
|
|
994
|
-
if (typeof
|
|
995
|
-
b.prototype = Object.create(
|
|
993
|
+
function d(b, h) {
|
|
994
|
+
if (typeof h != "function" && h !== null) throw new TypeError("Super expression must either be null or a function");
|
|
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
|
-
function g(b,
|
|
997
|
+
function g(b, h) {
|
|
998
998
|
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, H) {
|
|
999
999
|
return C.__proto__ = H, C;
|
|
1000
|
-
}, g(b,
|
|
1000
|
+
}, g(b, h);
|
|
1001
1001
|
}
|
|
1002
1002
|
function y(b) {
|
|
1003
|
-
var
|
|
1003
|
+
var h = k();
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var C, H = p(b);
|
|
1006
|
-
if (
|
|
1006
|
+
if (h) {
|
|
1007
1007
|
var T = p(this).constructor;
|
|
1008
1008
|
C = Reflect.construct(H, arguments, T);
|
|
1009
1009
|
} else C = H.apply(this, arguments);
|
|
1010
1010
|
return E(this, C);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
|
-
function E(b,
|
|
1014
|
-
if (
|
|
1015
|
-
if (
|
|
1013
|
+
function E(b, h) {
|
|
1014
|
+
if (h && (a(h) == "object" || typeof h == "function")) return h;
|
|
1015
|
+
if (h !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
1016
|
return M(b);
|
|
1017
1017
|
}
|
|
1018
1018
|
function M(b) {
|
|
@@ -1030,24 +1030,24 @@ function Mn() {
|
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
1032
1032
|
function p(b) {
|
|
1033
|
-
return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1034
|
-
return
|
|
1033
|
+
return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(h) {
|
|
1034
|
+
return h.__proto__ || Object.getPrototypeOf(h);
|
|
1035
1035
|
}, p(b);
|
|
1036
1036
|
}
|
|
1037
|
-
function R(b,
|
|
1037
|
+
function R(b, h) {
|
|
1038
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
1045
|
return C;
|
|
1046
1046
|
}
|
|
1047
1047
|
function S(b) {
|
|
1048
|
-
for (var
|
|
1049
|
-
var C = arguments[
|
|
1050
|
-
|
|
1048
|
+
for (var h = 1; h < arguments.length; h++) {
|
|
1049
|
+
var C = arguments[h] != null ? arguments[h] : {};
|
|
1050
|
+
h % 2 ? R(Object(C), !0).forEach(function(H) {
|
|
1051
1051
|
A(b, H, C[H]);
|
|
1052
1052
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(C)) : R(Object(C)).forEach(function(H) {
|
|
1053
1053
|
Object.defineProperty(b, H, Object.getOwnPropertyDescriptor(C, H));
|
|
@@ -1055,28 +1055,28 @@ function Mn() {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
return b;
|
|
1057
1057
|
}
|
|
1058
|
-
function A(b,
|
|
1059
|
-
return (
|
|
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
|
-
var
|
|
1063
|
-
return a(
|
|
1062
|
+
var h = F(b, "string");
|
|
1063
|
+
return a(h) == "symbol" ? h : h + "";
|
|
1064
1064
|
}
|
|
1065
|
-
function F(b,
|
|
1065
|
+
function F(b, h) {
|
|
1066
1066
|
if (a(b) != "object" || !b) return b;
|
|
1067
1067
|
var C = b[Symbol.toPrimitive];
|
|
1068
1068
|
if (C !== void 0) {
|
|
1069
|
-
var H = C.call(b,
|
|
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
|
-
return (
|
|
1073
|
+
return (h === "string" ? String : Number)(b);
|
|
1074
1074
|
}
|
|
1075
|
-
var m = function(
|
|
1075
|
+
var m = function(h) {
|
|
1076
1076
|
var C, H, T, j, P;
|
|
1077
|
-
|
|
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,
|
|
@@ -1086,24 +1086,24 @@ function Mn() {
|
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
|
-
}, w = function(
|
|
1089
|
+
}, w = function(h) {
|
|
1090
1090
|
var C = {};
|
|
1091
|
-
return (
|
|
1092
|
-
}, x = function(
|
|
1093
|
-
return
|
|
1094
|
-
}, _ = function(
|
|
1095
|
-
var C, H = [], T = [], j = [], P = e.default.Children.count(
|
|
1096
|
-
return e.default.Children.forEach(
|
|
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
|
+
}, _ = function(h) {
|
|
1095
|
+
var C, H = [], T = [], j = [], P = e.default.Children.count(h.children), L = (0, r.lazyStartIndex)(h), o = (0, r.lazyEndIndex)(h);
|
|
1096
|
+
return e.default.Children.forEach(h.children, function(z, v) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
1099
1099
|
index: v,
|
|
1100
|
-
slidesToScroll:
|
|
1101
|
-
currentSlide:
|
|
1100
|
+
slidesToScroll: h.slidesToScroll,
|
|
1101
|
+
currentSlide: h.currentSlide
|
|
1102
1102
|
};
|
|
1103
|
-
!
|
|
1104
|
-
var O = w(S(S({},
|
|
1103
|
+
!h.lazyLoad || h.lazyLoad && h.lazyLoadedList.indexOf(v) >= 0 ? n = z : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
+
var O = w(S(S({}, h), {}, {
|
|
1105
1105
|
index: v
|
|
1106
|
-
})), I = n.props.className || "", D = m(S(S({},
|
|
1106
|
+
})), I = n.props.className || "", D = m(S(S({}, h), {}, {
|
|
1107
1107
|
index: v
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (H.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
@@ -1116,11 +1116,11 @@ function Mn() {
|
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), O),
|
|
1118
1118
|
onClick: function(U) {
|
|
1119
|
-
n.props && n.props.onClick && n.props.onClick(U),
|
|
1119
|
+
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1120
1120
|
}
|
|
1121
|
-
})),
|
|
1121
|
+
})), h.infinite && P > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var N = P - v;
|
|
1123
|
-
N <= (0, r.getPreClones)(
|
|
1123
|
+
N <= (0, r.getPreClones)(h) && (C = -N, C >= L && (n = z), D = m(S(S({}, h), {}, {
|
|
1124
1124
|
index: C
|
|
1125
1125
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
1126
|
key: "precloned" + x(n, C),
|
|
@@ -1130,9 +1130,9 @@ function Mn() {
|
|
|
1130
1130
|
"aria-hidden": !D["slick-active"],
|
|
1131
1131
|
style: S(S({}, n.props.style || {}), O),
|
|
1132
1132
|
onClick: function(U) {
|
|
1133
|
-
n.props && n.props.onClick && n.props.onClick(U),
|
|
1133
|
+
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), v < (0, r.getPostClones)(
|
|
1135
|
+
}))), v < (0, r.getPostClones)(h) && (C = P + v, C < o && (n = z), D = m(S(S({}, h), {}, {
|
|
1136
1136
|
index: C
|
|
1137
1137
|
})), j.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
1138
|
key: "postcloned" + x(n, C),
|
|
@@ -1142,21 +1142,21 @@ function Mn() {
|
|
|
1142
1142
|
"aria-hidden": !D["slick-active"],
|
|
1143
1143
|
style: S(S({}, n.props.style || {}), O),
|
|
1144
1144
|
onClick: function(U) {
|
|
1145
|
-
n.props && n.props.onClick && n.props.onClick(U),
|
|
1145
|
+
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
1149
|
-
}),
|
|
1149
|
+
}), h.rtl ? T.concat(H, j).reverse() : T.concat(H, j);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(b) {
|
|
1152
|
-
|
|
1153
|
-
var
|
|
1152
|
+
d(C, b);
|
|
1153
|
+
var h = y(C);
|
|
1154
1154
|
function C() {
|
|
1155
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 H =
|
|
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
|
}
|
|
@@ -1223,14 +1223,14 @@ function Dn() {
|
|
|
1223
1223
|
function l(m, w) {
|
|
1224
1224
|
if (!(m instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function d(m, w) {
|
|
1227
1227
|
for (var x = 0; x < w.length; x++) {
|
|
1228
1228
|
var _ = w[x];
|
|
1229
1229
|
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(m, y(_.key), _);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
function g(m, w, x) {
|
|
1233
|
-
return w &&
|
|
1233
|
+
return w && d(m.prototype, w), Object.defineProperty(m, "prototype", { writable: !1 }), m;
|
|
1234
1234
|
}
|
|
1235
1235
|
function y(m) {
|
|
1236
1236
|
var w = E(m, "string");
|
|
@@ -1302,19 +1302,19 @@ function Dn() {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
return g(x, [{
|
|
1304
1304
|
key: "clickHandler",
|
|
1305
|
-
value: function(b,
|
|
1306
|
-
|
|
1305
|
+
value: function(b, h) {
|
|
1306
|
+
h.preventDefault(), this.props.clickHandler(b);
|
|
1307
1307
|
}
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var b = this.props,
|
|
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
|
-
onMouseEnter:
|
|
1317
|
+
onMouseEnter: h,
|
|
1318
1318
|
onMouseOver: C,
|
|
1319
1319
|
onMouseLeave: H
|
|
1320
1320
|
}, n = [], f = 0; f < z; f++) {
|
|
@@ -1393,7 +1393,7 @@ function $n() {
|
|
|
1393
1393
|
function l(m, w, x) {
|
|
1394
1394
|
return (w = E(w)) in m ? Object.defineProperty(m, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : m[w] = x, m;
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1396
|
+
function d(m, w) {
|
|
1397
1397
|
if (!(m instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1398
1398
|
}
|
|
1399
1399
|
function g(m, w) {
|
|
@@ -1467,12 +1467,12 @@ function $n() {
|
|
|
1467
1467
|
k(x, m);
|
|
1468
1468
|
var w = R(x);
|
|
1469
1469
|
function x() {
|
|
1470
|
-
return
|
|
1470
|
+
return d(this, x), w.apply(this, arguments);
|
|
1471
1471
|
}
|
|
1472
1472
|
return y(x, [{
|
|
1473
1473
|
key: "clickHandler",
|
|
1474
|
-
value: function(b,
|
|
1475
|
-
|
|
1474
|
+
value: function(b, h) {
|
|
1475
|
+
h && h.preventDefault(), this.props.clickHandler(b, h);
|
|
1476
1476
|
}
|
|
1477
1477
|
}, {
|
|
1478
1478
|
key: "render",
|
|
@@ -1480,10 +1480,10 @@ function $n() {
|
|
|
1480
1480
|
var b = {
|
|
1481
1481
|
"slick-arrow": !0,
|
|
1482
1482
|
"slick-prev": !0
|
|
1483
|
-
},
|
|
1483
|
+
}, h = this.clickHandler.bind(this, {
|
|
1484
1484
|
message: "previous"
|
|
1485
1485
|
});
|
|
1486
|
-
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (b["slick-disabled"] = !0,
|
|
1486
|
+
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (b["slick-disabled"] = !0, h = null);
|
|
1487
1487
|
var C = {
|
|
1488
1488
|
key: "0",
|
|
1489
1489
|
"data-role": "none",
|
|
@@ -1491,7 +1491,7 @@ function $n() {
|
|
|
1491
1491
|
style: {
|
|
1492
1492
|
display: "block"
|
|
1493
1493
|
},
|
|
1494
|
-
onClick:
|
|
1494
|
+
onClick: h
|
|
1495
1495
|
}, H = {
|
|
1496
1496
|
currentSlide: this.props.currentSlide,
|
|
1497
1497
|
slideCount: this.props.slideCount
|
|
@@ -1506,12 +1506,12 @@ function $n() {
|
|
|
1506
1506
|
k(x, m);
|
|
1507
1507
|
var w = R(x);
|
|
1508
1508
|
function x() {
|
|
1509
|
-
return
|
|
1509
|
+
return d(this, x), w.apply(this, arguments);
|
|
1510
1510
|
}
|
|
1511
1511
|
return y(x, [{
|
|
1512
1512
|
key: "clickHandler",
|
|
1513
|
-
value: function(b,
|
|
1514
|
-
|
|
1513
|
+
value: function(b, h) {
|
|
1514
|
+
h && h.preventDefault(), this.props.clickHandler(b, h);
|
|
1515
1515
|
}
|
|
1516
1516
|
}, {
|
|
1517
1517
|
key: "render",
|
|
@@ -1519,10 +1519,10 @@ function $n() {
|
|
|
1519
1519
|
var b = {
|
|
1520
1520
|
"slick-arrow": !0,
|
|
1521
1521
|
"slick-next": !0
|
|
1522
|
-
},
|
|
1522
|
+
}, h = this.clickHandler.bind(this, {
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
|
-
(0, i.canGoNext)(this.props) || (b["slick-disabled"] = !0,
|
|
1525
|
+
(0, i.canGoNext)(this.props) || (b["slick-disabled"] = !0, h = null);
|
|
1526
1526
|
var C = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
@@ -1530,7 +1530,7 @@ function $n() {
|
|
|
1530
1530
|
style: {
|
|
1531
1531
|
display: "block"
|
|
1532
1532
|
},
|
|
1533
|
-
onClick:
|
|
1533
|
+
onClick: h
|
|
1534
1534
|
}, H = {
|
|
1535
1535
|
currentSlide: this.props.currentSlide,
|
|
1536
1536
|
slideCount: this.props.slideCount
|
|
@@ -1700,8 +1700,8 @@ function Yn(e) {
|
|
|
1700
1700
|
return Wr;
|
|
1701
1701
|
var i = je(e).getComputedStyle(e), a = Vn(i), s = a.left + a.right, c = a.top + a.bottom, u = mt(i.width), l = mt(i.height);
|
|
1702
1702
|
if (i.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(i, "left", "right") + s), Math.round(l + c) !== r && (l -= hr(i, "top", "bottom") + c)), !Bn(e)) {
|
|
1703
|
-
var
|
|
1704
|
-
Math.abs(
|
|
1703
|
+
var d = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
1704
|
+
Math.abs(d) !== 1 && (u -= d), Math.abs(g) !== 1 && (l -= g);
|
|
1705
1705
|
}
|
|
1706
1706
|
return bt(a.left, a.top, u, l);
|
|
1707
1707
|
}
|
|
@@ -1840,8 +1840,8 @@ function ri() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e =
|
|
1844
|
-
function
|
|
1843
|
+
var e = d(q), t = d(jn()), r = d(Ln()), i = d(yt()), a = Ke(), s = Mn(), c = Dn(), u = $n(), l = d(ti);
|
|
1844
|
+
function d(T) {
|
|
1845
1845
|
return T && T.__esModule ? T : { default: T };
|
|
1846
1846
|
}
|
|
1847
1847
|
function g(T) {
|
|
@@ -1896,7 +1896,7 @@ function ri() {
|
|
|
1896
1896
|
for (var j = 1; j < arguments.length; j++) {
|
|
1897
1897
|
var P = arguments[j] != null ? arguments[j] : {};
|
|
1898
1898
|
j % 2 ? k(Object(P), !0).forEach(function(L) {
|
|
1899
|
-
|
|
1899
|
+
h(T, L, P[L]);
|
|
1900
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
|
});
|
|
@@ -1959,7 +1959,7 @@ function ri() {
|
|
|
1959
1959
|
return j.__proto__ || Object.getPrototypeOf(j);
|
|
1960
1960
|
}, b(T);
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function h(T, j, P) {
|
|
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) {
|
|
@@ -1981,16 +1981,16 @@ function ri() {
|
|
|
1981
1981
|
var j = m(P);
|
|
1982
1982
|
function P(L) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
R(this, P), o = j.call(this, L),
|
|
1984
|
+
R(this, P), o = j.call(this, L), h(x(o), "listRefHandler", function(v) {
|
|
1985
1985
|
return o.list = v;
|
|
1986
|
-
}),
|
|
1986
|
+
}), h(x(o), "trackRefHandler", function(v) {
|
|
1987
1987
|
return o.track = v;
|
|
1988
|
-
}),
|
|
1988
|
+
}), h(x(o), "adaptHeight", function() {
|
|
1989
1989
|
if (o.props.adaptiveHeight && o.list) {
|
|
1990
1990
|
var v = o.list.querySelector('[data-index="'.concat(o.state.currentSlide, '"]'));
|
|
1991
1991
|
o.list.style.height = (0, a.getHeight)(v) + "px";
|
|
1992
1992
|
}
|
|
1993
|
-
}),
|
|
1993
|
+
}), h(x(o), "componentDidMount", function() {
|
|
1994
1994
|
if (o.props.onInit && o.props.onInit(), o.props.lazyLoad) {
|
|
1995
1995
|
var v = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
1996
1996
|
v.length > 0 && (o.setState(function(f) {
|
|
@@ -2012,11 +2012,11 @@ function ri() {
|
|
|
2012
2012
|
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(f) {
|
|
2013
2013
|
f.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, f.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
|
-
}),
|
|
2015
|
+
}), h(x(o), "componentWillUnmount", function() {
|
|
2016
2016
|
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(v) {
|
|
2017
2017
|
return clearTimeout(v);
|
|
2018
2018
|
}), o.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", o.onWindowResized) : window.detachEvent("onresize", o.onWindowResized), o.autoplayTimer && clearInterval(o.autoplayTimer), o.ro.disconnect();
|
|
2019
|
-
}),
|
|
2019
|
+
}), h(x(o), "componentDidUpdate", function(v) {
|
|
2020
2020
|
if (o.checkImagesLoad(), o.props.onReInit && o.props.onReInit(), o.props.lazyLoad) {
|
|
2021
2021
|
var n = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
2022
2022
|
n.length > 0 && (o.setState(function(I) {
|
|
@@ -2037,11 +2037,11 @@ function ri() {
|
|
|
2037
2037
|
currentSlide: o.state.currentSlide
|
|
2038
2038
|
}), o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2039
2039
|
});
|
|
2040
|
-
}),
|
|
2040
|
+
}), h(x(o), "onWindowResized", function(v) {
|
|
2041
2041
|
o.debouncedResize && o.debouncedResize.cancel(), o.debouncedResize = (0, r.default)(function() {
|
|
2042
2042
|
return o.resizeWindow(v);
|
|
2043
2043
|
}, 50), o.debouncedResize();
|
|
2044
|
-
}),
|
|
2044
|
+
}), h(x(o), "resizeWindow", function() {
|
|
2045
2045
|
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, n = !!(o.track && o.track.node);
|
|
2046
2046
|
if (n) {
|
|
2047
2047
|
var f = p(p({
|
|
@@ -2054,7 +2054,7 @@ function ri() {
|
|
|
2054
2054
|
animating: !1
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
|
-
}),
|
|
2057
|
+
}), h(x(o), "updateState", function(v, n, f) {
|
|
2058
2058
|
var O = (0, a.initializedState)(v);
|
|
2059
2059
|
v = p(p(p({}, v), O), {}, {
|
|
2060
2060
|
slideIndex: O.currentSlide
|
|
@@ -2065,7 +2065,7 @@ function ri() {
|
|
|
2065
2065
|
});
|
|
2066
2066
|
var D = (0, a.getTrackCSS)(v);
|
|
2067
2067
|
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(v.children)) && (O.trackStyle = D), o.setState(O, f);
|
|
2068
|
-
}),
|
|
2068
|
+
}), h(x(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
2070
|
var v = 0, n = 0, f = [], O = (0, a.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
@@ -2105,7 +2105,7 @@ function ri() {
|
|
|
2105
2105
|
slideWidth: Z + "%",
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
|
-
}),
|
|
2108
|
+
}), h(x(o), "checkImagesLoad", function() {
|
|
2109
2109
|
var v = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = v.length, f = 0;
|
|
2110
2110
|
Array.prototype.forEach.call(v, function(O) {
|
|
2111
2111
|
var I = function() {
|
|
@@ -2127,7 +2127,7 @@ function ri() {
|
|
|
2127
2127
|
I(), o.props.onLazyLoadError && o.props.onLazyLoadError();
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
|
-
}),
|
|
2130
|
+
}), h(x(o), "progressiveLazyLoad", function() {
|
|
2131
2131
|
for (var v = [], n = p(p({}, o.props), o.state), f = o.state.currentSlide; f < o.state.slideCount + (0, a.getPostClones)(n); f++)
|
|
2132
2132
|
if (o.state.lazyLoadedList.indexOf(f) < 0) {
|
|
2133
2133
|
v.push(f);
|
|
@@ -2143,7 +2143,7 @@ function ri() {
|
|
|
2143
2143
|
lazyLoadedList: I.lazyLoadedList.concat(v)
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(v)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
|
-
}),
|
|
2146
|
+
}), h(x(o), "slideHandler", function(v) {
|
|
2147
2147
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, I = f.beforeChange, D = f.onLazyLoad, N = f.speed, V = f.afterChange, U = o.state.currentSlide, B = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: v
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
@@ -2168,40 +2168,40 @@ function ri() {
|
|
|
2168
2168
|
}, N));
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
}),
|
|
2171
|
+
}), h(x(o), "changeSlide", function(v) {
|
|
2172
2172
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), O = (0, a.changeSlide)(f, v);
|
|
2173
2173
|
if (!(O !== 0 && !O) && (n === !0 ? o.slideHandler(O, n) : o.slideHandler(O), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2174
2174
|
var I = o.list.querySelectorAll(".slick-current");
|
|
2175
2175
|
I[0] && I[0].focus();
|
|
2176
2176
|
}
|
|
2177
|
-
}),
|
|
2177
|
+
}), h(x(o), "clickHandler", function(v) {
|
|
2178
2178
|
o.clickable === !1 && (v.stopPropagation(), v.preventDefault()), o.clickable = !0;
|
|
2179
|
-
}),
|
|
2179
|
+
}), h(x(o), "keyHandler", function(v) {
|
|
2180
2180
|
var n = (0, a.keyHandler)(v, o.props.accessibility, o.props.rtl);
|
|
2181
2181
|
n !== "" && o.changeSlide({
|
|
2182
2182
|
message: n
|
|
2183
2183
|
});
|
|
2184
|
-
}),
|
|
2184
|
+
}), h(x(o), "selectHandler", function(v) {
|
|
2185
2185
|
o.changeSlide(v);
|
|
2186
|
-
}),
|
|
2186
|
+
}), h(x(o), "disableBodyScroll", function() {
|
|
2187
2187
|
var v = function(f) {
|
|
2188
2188
|
f = f || window.event, f.preventDefault && f.preventDefault(), f.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
2190
|
window.ontouchmove = v;
|
|
2191
|
-
}),
|
|
2191
|
+
}), h(x(o), "enableBodyScroll", function() {
|
|
2192
2192
|
window.ontouchmove = null;
|
|
2193
|
-
}),
|
|
2193
|
+
}), h(x(o), "swipeStart", function(v) {
|
|
2194
2194
|
o.props.verticalSwiping && o.disableBodyScroll();
|
|
2195
2195
|
var n = (0, a.swipeStart)(v, o.props.swipe, o.props.draggable);
|
|
2196
2196
|
n !== "" && o.setState(n);
|
|
2197
|
-
}),
|
|
2197
|
+
}), h(x(o), "swipeMove", function(v) {
|
|
2198
2198
|
var n = (0, a.swipeMove)(v, p(p(p({}, o.props), o.state), {}, {
|
|
2199
2199
|
trackRef: o.track,
|
|
2200
2200
|
listRef: o.list,
|
|
2201
2201
|
slideIndex: o.state.currentSlide
|
|
2202
2202
|
}));
|
|
2203
2203
|
n && (n.swiping && (o.clickable = !1), o.setState(n));
|
|
2204
|
-
}),
|
|
2204
|
+
}), h(x(o), "swipeEnd", function(v) {
|
|
2205
2205
|
var n = (0, a.swipeEnd)(v, p(p(p({}, o.props), o.state), {}, {
|
|
2206
2206
|
trackRef: o.track,
|
|
2207
2207
|
listRef: o.list,
|
|
@@ -2211,21 +2211,21 @@ function ri() {
|
|
|
2211
2211
|
var f = n.triggerSlideHandler;
|
|
2212
2212
|
delete n.triggerSlideHandler, o.setState(n), f !== void 0 && (o.slideHandler(f), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
|
-
}),
|
|
2214
|
+
}), h(x(o), "touchEnd", function(v) {
|
|
2215
2215
|
o.swipeEnd(v), o.clickable = !0;
|
|
2216
|
-
}),
|
|
2216
|
+
}), h(x(o), "slickPrev", function() {
|
|
2217
2217
|
o.callbackTimers.push(setTimeout(function() {
|
|
2218
2218
|
return o.changeSlide({
|
|
2219
2219
|
message: "previous"
|
|
2220
2220
|
});
|
|
2221
2221
|
}, 0));
|
|
2222
|
-
}),
|
|
2222
|
+
}), h(x(o), "slickNext", function() {
|
|
2223
2223
|
o.callbackTimers.push(setTimeout(function() {
|
|
2224
2224
|
return o.changeSlide({
|
|
2225
2225
|
message: "next"
|
|
2226
2226
|
});
|
|
2227
2227
|
}, 0));
|
|
2228
|
-
}),
|
|
2228
|
+
}), h(x(o), "slickGoTo", function(v) {
|
|
2229
2229
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2230
2230
|
if (v = Number(v), isNaN(v)) return "";
|
|
2231
2231
|
o.callbackTimers.push(setTimeout(function() {
|
|
@@ -2235,7 +2235,7 @@ function ri() {
|
|
|
2235
2235
|
currentSlide: o.state.currentSlide
|
|
2236
2236
|
}, n);
|
|
2237
2237
|
}, 0));
|
|
2238
|
-
}),
|
|
2238
|
+
}), h(x(o), "play", function() {
|
|
2239
2239
|
var v;
|
|
2240
2240
|
if (o.props.rtl)
|
|
2241
2241
|
v = o.state.currentSlide - o.props.slidesToScroll;
|
|
@@ -2244,7 +2244,7 @@ function ri() {
|
|
|
2244
2244
|
else
|
|
2245
2245
|
return !1;
|
|
2246
2246
|
o.slideHandler(v);
|
|
2247
|
-
}),
|
|
2247
|
+
}), h(x(o), "autoPlay", function(v) {
|
|
2248
2248
|
o.autoplayTimer && clearInterval(o.autoplayTimer);
|
|
2249
2249
|
var n = o.state.autoplaying;
|
|
2250
2250
|
if (v === "update") {
|
|
@@ -2258,7 +2258,7 @@ function ri() {
|
|
|
2258
2258
|
o.autoplayTimer = setInterval(o.play, o.props.autoplaySpeed + 50), o.setState({
|
|
2259
2259
|
autoplaying: "playing"
|
|
2260
2260
|
});
|
|
2261
|
-
}),
|
|
2261
|
+
}), h(x(o), "pause", function(v) {
|
|
2262
2262
|
o.autoplayTimer && (clearInterval(o.autoplayTimer), o.autoplayTimer = null);
|
|
2263
2263
|
var n = o.state.autoplaying;
|
|
2264
2264
|
v === "paused" ? o.setState({
|
|
@@ -2268,19 +2268,19 @@ function ri() {
|
|
|
2268
2268
|
}) : n === "playing" && o.setState({
|
|
2269
2269
|
autoplaying: "hovered"
|
|
2270
2270
|
});
|
|
2271
|
-
}),
|
|
2271
|
+
}), h(x(o), "onDotsOver", function() {
|
|
2272
2272
|
return o.props.autoplay && o.pause("hovered");
|
|
2273
|
-
}),
|
|
2273
|
+
}), h(x(o), "onDotsLeave", function() {
|
|
2274
2274
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2275
|
-
}),
|
|
2275
|
+
}), h(x(o), "onTrackOver", function() {
|
|
2276
2276
|
return o.props.autoplay && o.pause("hovered");
|
|
2277
|
-
}),
|
|
2277
|
+
}), h(x(o), "onTrackLeave", function() {
|
|
2278
2278
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2279
|
-
}),
|
|
2279
|
+
}), h(x(o), "onSlideFocus", function() {
|
|
2280
2280
|
return o.props.autoplay && o.pause("focused");
|
|
2281
|
-
}),
|
|
2281
|
+
}), h(x(o), "onSlideBlur", function() {
|
|
2282
2282
|
return o.props.autoplay && o.state.autoplaying === "focused" && o.autoPlay("blur");
|
|
2283
|
-
}),
|
|
2283
|
+
}), h(x(o), "render", function() {
|
|
2284
2284
|
var v = (0, i.default)("slick-slider", o.props.className, {
|
|
2285
2285
|
"slick-vertical": o.props.vertical,
|
|
2286
2286
|
"slick-initialized": !0
|
|
@@ -2389,8 +2389,8 @@ function ii() {
|
|
|
2389
2389
|
}, r = function(a) {
|
|
2390
2390
|
var s = "", c = Object.keys(a);
|
|
2391
2391
|
return c.forEach(function(u, l) {
|
|
2392
|
-
var
|
|
2393
|
-
u = e(u), t(u) && typeof
|
|
2392
|
+
var d = a[u];
|
|
2393
|
+
u = e(u), t(u) && typeof d == "number" && (d = d + "px"), d === !0 ? s += u : d === !1 ? s += "not " + u : s += "(" + u + ": " + d + ")", l < c.length - 1 && (s += " and ");
|
|
2394
2394
|
}), s;
|
|
2395
2395
|
}, i = function(a) {
|
|
2396
2396
|
var s = "";
|
|
@@ -2421,30 +2421,30 @@ function ai() {
|
|
|
2421
2421
|
function l() {
|
|
2422
2422
|
return l = Object.assign ? Object.assign.bind() : function(_) {
|
|
2423
2423
|
for (var b = 1; b < arguments.length; b++) {
|
|
2424
|
-
var
|
|
2425
|
-
for (var C in
|
|
2426
|
-
({}).hasOwnProperty.call(
|
|
2424
|
+
var h = arguments[b];
|
|
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);
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2432
|
-
var
|
|
2431
|
+
function d(_, b) {
|
|
2432
|
+
var h = Object.keys(_);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
2434
|
var C = Object.getOwnPropertySymbols(_);
|
|
2435
2435
|
b && (C = C.filter(function(H) {
|
|
2436
2436
|
return Object.getOwnPropertyDescriptor(_, H).enumerable;
|
|
2437
|
-
})),
|
|
2437
|
+
})), h.push.apply(h, C);
|
|
2438
2438
|
}
|
|
2439
|
-
return
|
|
2439
|
+
return h;
|
|
2440
2440
|
}
|
|
2441
2441
|
function g(_) {
|
|
2442
2442
|
for (var b = 1; b < arguments.length; b++) {
|
|
2443
|
-
var
|
|
2444
|
-
b % 2 ?
|
|
2445
|
-
m(_, C,
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(
|
|
2447
|
-
Object.defineProperty(_, C, Object.getOwnPropertyDescriptor(
|
|
2443
|
+
var h = arguments[b] != null ? arguments[b] : {};
|
|
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 _;
|
|
@@ -2453,12 +2453,12 @@ function ai() {
|
|
|
2453
2453
|
if (!(_ instanceof b)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
2455
|
function E(_, b) {
|
|
2456
|
-
for (var
|
|
2457
|
-
var C = b[
|
|
2456
|
+
for (var h = 0; h < b.length; h++) {
|
|
2457
|
+
var C = b[h];
|
|
2458
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
|
-
function M(_, b,
|
|
2461
|
+
function M(_, b, h) {
|
|
2462
2462
|
return b && E(_.prototype, b), Object.defineProperty(_, "prototype", { writable: !1 }), _;
|
|
2463
2463
|
}
|
|
2464
2464
|
function k(_, b) {
|
|
@@ -2466,19 +2466,19 @@ function ai() {
|
|
|
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(
|
|
2470
|
-
return
|
|
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
|
|
2476
|
+
var h, C = F(_);
|
|
2477
2477
|
if (b) {
|
|
2478
2478
|
var H = F(this).constructor;
|
|
2479
|
-
|
|
2480
|
-
} else
|
|
2481
|
-
return S(this,
|
|
2479
|
+
h = Reflect.construct(C, arguments, H);
|
|
2480
|
+
} else h = C.apply(this, arguments);
|
|
2481
|
+
return S(this, h);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
2484
|
function S(_, b) {
|
|
@@ -2505,8 +2505,8 @@ function ai() {
|
|
|
2505
2505
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
2506
2506
|
}, F(_);
|
|
2507
2507
|
}
|
|
2508
|
-
function m(_, b,
|
|
2509
|
-
return (b = w(b)) in _ ? Object.defineProperty(_, b, { value:
|
|
2508
|
+
function m(_, b, h) {
|
|
2509
|
+
return (b = w(b)) in _ ? Object.defineProperty(_, b, { value: h, enumerable: !0, configurable: !0, writable: !0 }) : _[b] = h, _;
|
|
2510
2510
|
}
|
|
2511
2511
|
function w(_) {
|
|
2512
2512
|
var b = x(_, "string");
|
|
@@ -2514,20 +2514,20 @@ function ai() {
|
|
|
2514
2514
|
}
|
|
2515
2515
|
function x(_, b) {
|
|
2516
2516
|
if (u(_) != "object" || !_) return _;
|
|
2517
|
-
var
|
|
2518
|
-
if (
|
|
2519
|
-
var C =
|
|
2517
|
+
var h = _[Symbol.toPrimitive];
|
|
2518
|
+
if (h !== void 0) {
|
|
2519
|
+
var C = h.call(_, b);
|
|
2520
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
|
-
k(
|
|
2527
|
-
var b = R(
|
|
2528
|
-
function
|
|
2526
|
+
k(h, _);
|
|
2527
|
+
var b = R(h);
|
|
2528
|
+
function h(C) {
|
|
2529
2529
|
var H;
|
|
2530
|
-
return y(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();
|
|
@@ -2544,7 +2544,7 @@ function ai() {
|
|
|
2544
2544
|
breakpoint: null
|
|
2545
2545
|
}, H._responsiveMediaHandlers = [], H;
|
|
2546
2546
|
}
|
|
2547
|
-
return M(
|
|
2547
|
+
return M(h, [{
|
|
2548
2548
|
key: "media",
|
|
2549
2549
|
value: function(H, T) {
|
|
2550
2550
|
var j = window.matchMedia(H), P = function(o) {
|
|
@@ -2645,7 +2645,7 @@ function ai() {
|
|
|
2645
2645
|
ref: this.innerSliderRefHandler
|
|
2646
2646
|
}, (0, s.filterSettings)(T)), L);
|
|
2647
2647
|
}
|
|
2648
|
-
}]),
|
|
2648
|
+
}]), h;
|
|
2649
2649
|
}(t.default.Component);
|
|
2650
2650
|
}(Et)), Et;
|
|
2651
2651
|
}
|
|
@@ -2866,7 +2866,7 @@ 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
|
|
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
2870
|
switch (k = A, A = ve()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
@@ -2904,7 +2904,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
u[
|
|
2907
|
+
u[d++] = ye(x) * S;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
@@ -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,
|
|
2926
|
+
if (it(w = br(x, t, r, d, g, a, u, W, F = [], m = [], y), s), A === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
2928
|
lt(x, t, w, w, F, s, y, u, m);
|
|
2929
2929
|
else
|
|
@@ -2939,7 +2939,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2939
2939
|
lt(x, w, w, w, [""], m, 0, u, m);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
|
|
2942
|
+
d = g = M = 0, p = S = 1, W = x = "", y = c;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
@@ -2958,7 +2958,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
u[
|
|
2961
|
+
u[d++] = (ye(x) - 1) * S, S = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
@@ -2971,11 +2971,11 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
|
-
function br(e, t, r, i, a, s, c, u, l,
|
|
2974
|
+
function br(e, t, r, i, a, s, c, u, l, d, g) {
|
|
2975
2975
|
for (var y = a - 1, E = a === 0 ? s : [""], M = Xt(E), k = 0, p = 0, R = 0; k < i; ++k)
|
|
2976
2976
|
for (var S = 0, A = qe(e, y + 1, y = pi(p = c[k])), W = e; S < M; ++S)
|
|
2977
2977
|
(W = Br(p > 0 ? E[S] + " " + A : ne(A, /&\f/g, E[S]))) && (l[R++] = W);
|
|
2978
|
-
return xt(e, t, r, a === 0 ? qt : u, l,
|
|
2978
|
+
return xt(e, t, r, a === 0 ? qt : u, l, d, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function Pi(e, t, r) {
|
|
2981
2981
|
return xt(e, t, r, Yr, wt(bi()), qe(e, 2, -2), 0);
|
|
@@ -3058,9 +3058,9 @@ var Ti = function(t, r, i) {
|
|
|
3058
3058
|
if (i = i.parent, !i) return;
|
|
3059
3059
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [], c = Li(r, s), u = i.props, l = 0,
|
|
3062
|
-
for (var g = 0; g < u.length; g++,
|
|
3063
|
-
t.props[
|
|
3061
|
+
for (var s = [], c = Li(r, s), u = i.props, l = 0, d = 0; l < c.length; l++)
|
|
3062
|
+
for (var g = 0; g < u.length; g++, d++)
|
|
3063
|
+
t.props[d] = s[l] ? c[l].replace(/&\f/g, u[g]) : u[g] + " " + c[l];
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
3066
|
}, Di = function(t) {
|
|
@@ -3264,11 +3264,11 @@ var $i = function(t, r, i, a) {
|
|
|
3264
3264
|
u.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
|
-
var l,
|
|
3267
|
+
var l, d = [Mi, Di];
|
|
3268
3268
|
{
|
|
3269
3269
|
var g, y = [Ei, _i(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})], E = Ri(
|
|
3271
|
+
})], E = Ri(d.concat(a, y)), M = function(R) {
|
|
3272
3272
|
return Te(Ci(R), E);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(R, S, A, W) {
|
|
@@ -3443,8 +3443,8 @@ function Xe(e, t, r) {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
case "function": {
|
|
3445
3445
|
if (e !== void 0) {
|
|
3446
|
-
var l = be,
|
|
3447
|
-
return be = l, Xe(e, t,
|
|
3446
|
+
var l = be, d = r(e);
|
|
3447
|
+
return be = l, Xe(e, t, d);
|
|
3448
3448
|
}
|
|
3449
3449
|
break;
|
|
3450
3450
|
}
|
|
@@ -3470,15 +3470,15 @@ function Yi(e, t, r) {
|
|
|
3470
3470
|
for (var l = 0; l < c.length; l++)
|
|
3471
3471
|
xr(c[l]) && (i += Dt(s) + ":" + Or(s, c[l]) + ";");
|
|
3472
3472
|
else {
|
|
3473
|
-
var
|
|
3473
|
+
var d = Xe(e, t, c);
|
|
3474
3474
|
switch (s) {
|
|
3475
3475
|
case "animation":
|
|
3476
3476
|
case "animationName": {
|
|
3477
|
-
i += Dt(s) + ":" +
|
|
3477
|
+
i += Dt(s) + ":" + d + ";";
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
3480
|
default:
|
|
3481
|
-
i += s + "{" +
|
|
3481
|
+
i += s + "{" + d + "}";
|
|
3482
3482
|
}
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
@@ -3503,9 +3503,9 @@ function qi(e, t, r) {
|
|
|
3503
3503
|
a += l[u];
|
|
3504
3504
|
}
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
|
-
for (var
|
|
3507
|
-
|
|
3508
|
-
var y = Fi(a) +
|
|
3506
|
+
for (var d = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
|
+
d += "-" + g[1];
|
|
3508
|
+
var y = Fi(a) + d;
|
|
3509
3509
|
return {
|
|
3510
3510
|
name: y,
|
|
3511
3511
|
styles: a,
|
|
@@ -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 || Cr(a),
|
|
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)
|
|
@@ -3572,7 +3572,7 @@ var Ki = function(t) {
|
|
|
3572
3572
|
y.push(g[k], E[k]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Ki(function(R, S, A) {
|
|
3575
|
-
var W =
|
|
3575
|
+
var W = d && R.as || a, F = "", m = [], w = R;
|
|
3576
3576
|
if (R.theme == null) {
|
|
3577
3577
|
w = {};
|
|
3578
3578
|
for (var x in R)
|
|
@@ -3582,14 +3582,14 @@ 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 _ = qi(y.concat(m), S.registered, w);
|
|
3584
3584
|
F += S.key + "-" + _.name, c !== void 0 && (F += " " + c);
|
|
3585
|
-
var b =
|
|
3585
|
+
var b = d && u === void 0 ? Cr(W) : l, h = {};
|
|
3586
3586
|
for (var C in R)
|
|
3587
|
-
|
|
3588
|
-
return
|
|
3587
|
+
d && C === "as" || b(C) && (h[C] = R[C]);
|
|
3588
|
+
return h.className = F, A && (h.ref = A), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
|
|
3589
3589
|
cache: S,
|
|
3590
3590
|
serialized: _,
|
|
3591
3591
|
isStringTag: typeof W == "string"
|
|
3592
|
-
}), /* @__PURE__ */ $.createElement(W,
|
|
3592
|
+
}), /* @__PURE__ */ $.createElement(W, h));
|
|
3593
3593
|
});
|
|
3594
3594
|
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles = y, p.__emotion_forwardProp = u, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
@@ -3848,7 +3848,7 @@ const aa = Ee.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const
|
|
3851
|
+
const d = t.map((y, E) => /* @__PURE__ */ X.jsx(
|
|
3852
3852
|
oa,
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: E === 0 ? u : void 0,
|
|
@@ -3876,7 +3876,7 @@ const aa = Ee.div`
|
|
|
3876
3876
|
};
|
|
3877
3877
|
return q.useEffect(() => {
|
|
3878
3878
|
g();
|
|
3879
|
-
}, [c, u]), /* @__PURE__ */ X.jsx(aa, { ref: c, styles: { ...e }, children:
|
|
3879
|
+
}, [c, u]), /* @__PURE__ */ X.jsx(aa, { ref: c, styles: { ...e }, children: d.length > 0 && /* @__PURE__ */ X.jsx(li, { ...l, slidesToShow: a, children: d }) });
|
|
3880
3880
|
}, ls = ({
|
|
3881
3881
|
name: e,
|
|
3882
3882
|
checked: t,
|
|
@@ -3984,7 +3984,7 @@ const aa = Ee.div`
|
|
|
3984
3984
|
}) => {
|
|
3985
3985
|
const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: u } = la(), l = q.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
|
-
}),
|
|
3987
|
+
}), d = q.useCallback(
|
|
3988
3988
|
(k) => {
|
|
3989
3989
|
if (!e || !e.current || !l.current)
|
|
3990
3990
|
return;
|
|
@@ -3995,17 +3995,17 @@ const aa = Ee.div`
|
|
|
3995
3995
|
), g = q.useCallback(
|
|
3996
3996
|
(k) => {
|
|
3997
3997
|
k.preventDefault(), k.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = k.clientY, l.current.startPosX = k.clientX;
|
|
3998
|
-
const p =
|
|
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 = q.useCallback(
|
|
4003
4003
|
(k) => {
|
|
4004
4004
|
l.current.isDragging = !1;
|
|
4005
|
-
const p =
|
|
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 = q.useCallback(
|
|
4010
4010
|
(k) => {
|
|
4011
4011
|
if (console.debug(
|
|
@@ -4013,10 +4013,10 @@ const aa = Ee.div`
|
|
|
4013
4013
|
l.current.isDragging
|
|
4014
4014
|
), !l.current.isDragging)
|
|
4015
4015
|
return;
|
|
4016
|
-
const p =
|
|
4016
|
+
const p = d(c);
|
|
4017
4017
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), l.current = p);
|
|
4018
4018
|
},
|
|
4019
|
-
[
|
|
4019
|
+
[d, c]
|
|
4020
4020
|
), M = q.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
@@ -4032,11 +4032,11 @@ const aa = Ee.div`
|
|
|
4032
4032
|
u !== s.current && (s.current = u, u || y());
|
|
4033
4033
|
}, [u, s.current]);
|
|
4034
4034
|
}, us = () => {
|
|
4035
|
-
const e = (l,
|
|
4036
|
-
if (!
|
|
4035
|
+
const e = (l, d) => {
|
|
4036
|
+
if (!d) return l;
|
|
4037
4037
|
const g = new URLSearchParams();
|
|
4038
|
-
for (const E in
|
|
4039
|
-
const M =
|
|
4038
|
+
for (const E in d) {
|
|
4039
|
+
const M = d[E];
|
|
4040
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();
|
|
@@ -4047,46 +4047,46 @@ const aa = Ee.div`
|
|
|
4047
4047
|
result: await l.json(),
|
|
4048
4048
|
statusCode: l.status
|
|
4049
4049
|
};
|
|
4050
|
-
} catch (
|
|
4050
|
+
} catch (d) {
|
|
4051
4051
|
return {
|
|
4052
4052
|
result: void 0,
|
|
4053
4053
|
statusCode: l.status,
|
|
4054
|
-
error:
|
|
4054
|
+
error: d
|
|
4055
4055
|
};
|
|
4056
4056
|
}
|
|
4057
|
-
}, r = async (l,
|
|
4057
|
+
}, r = async (l, d, g, y) => {
|
|
4058
4058
|
const E = await fetch(l, {
|
|
4059
|
-
method:
|
|
4059
|
+
method: d,
|
|
4060
4060
|
headers: g,
|
|
4061
4061
|
body: y
|
|
4062
4062
|
});
|
|
4063
4063
|
return t(E);
|
|
4064
4064
|
};
|
|
4065
4065
|
return {
|
|
4066
|
-
get: async (l,
|
|
4067
|
-
const y = e(l,
|
|
4066
|
+
get: async (l, d, g) => {
|
|
4067
|
+
const y = e(l, d);
|
|
4068
4068
|
return r(y, "GET", { ...g });
|
|
4069
4069
|
},
|
|
4070
|
-
post: async (l,
|
|
4070
|
+
post: async (l, d, g) => r(
|
|
4071
4071
|
l,
|
|
4072
4072
|
"POST",
|
|
4073
4073
|
{ "Content-Type": "application/json", ...g },
|
|
4074
|
-
JSON.stringify(
|
|
4074
|
+
JSON.stringify(d)
|
|
4075
4075
|
),
|
|
4076
|
-
put: async (l,
|
|
4076
|
+
put: async (l, d, g) => r(
|
|
4077
4077
|
l,
|
|
4078
4078
|
"PUT",
|
|
4079
4079
|
{ "Content-Type": "application/json", ...g },
|
|
4080
|
-
JSON.stringify(
|
|
4080
|
+
JSON.stringify(d)
|
|
4081
4081
|
),
|
|
4082
|
-
patch: async (l,
|
|
4082
|
+
patch: async (l, d, g) => r(
|
|
4083
4083
|
l,
|
|
4084
4084
|
"PATCH",
|
|
4085
4085
|
{ "Content-Type": "application/json", ...g },
|
|
4086
|
-
JSON.stringify(
|
|
4086
|
+
JSON.stringify(d)
|
|
4087
4087
|
),
|
|
4088
|
-
delete: async (l,
|
|
4089
|
-
const y = e(l,
|
|
4088
|
+
delete: async (l, d, g) => {
|
|
4089
|
+
const y = e(l, d);
|
|
4090
4090
|
return r(y, "DELETE", { ...g });
|
|
4091
4091
|
}
|
|
4092
4092
|
};
|
|
@@ -4129,8 +4129,8 @@ const ca = {
|
|
|
4129
4129
|
let u = s[r];
|
|
4130
4130
|
if (u)
|
|
4131
4131
|
return c && Object.keys(c).forEach((l) => {
|
|
4132
|
-
const
|
|
4133
|
-
u = u.replaceAll(`{{${l}}}`, `${
|
|
4132
|
+
const d = c[l];
|
|
4133
|
+
u = u.replaceAll(`{{${l}}}`, `${d}`);
|
|
4134
4134
|
}), u;
|
|
4135
4135
|
};
|
|
4136
4136
|
return {
|
|
@@ -4147,7 +4147,7 @@ const ca = {
|
|
|
4147
4147
|
var Ue = {}, Rr;
|
|
4148
4148
|
function ha() {
|
|
4149
4149
|
if (Rr) return Ue;
|
|
4150
|
-
Rr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.parse = c, Ue.serialize =
|
|
4150
|
+
Rr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.parse = c, Ue.serialize = d;
|
|
4151
4151
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
4152
4152
|
const E = function() {
|
|
4153
4153
|
};
|
|
@@ -4171,8 +4171,8 @@ function ha() {
|
|
|
4171
4171
|
const m = u(E, S, A), w = l(E, A, m), x = E.slice(m, w);
|
|
4172
4172
|
if (k[x] === void 0) {
|
|
4173
4173
|
let _ = u(E, A + 1, F), b = l(E, F, _);
|
|
4174
|
-
const
|
|
4175
|
-
k[x] =
|
|
4174
|
+
const h = R(E.slice(_, b));
|
|
4175
|
+
k[x] = h;
|
|
4176
4176
|
}
|
|
4177
4177
|
S = F + 1;
|
|
4178
4178
|
} while (S < p);
|
|
@@ -4194,7 +4194,7 @@ function ha() {
|
|
|
4194
4194
|
}
|
|
4195
4195
|
return k;
|
|
4196
4196
|
}
|
|
4197
|
-
function
|
|
4197
|
+
function d(E, M, k) {
|
|
4198
4198
|
const p = k?.encode || encodeURIComponent;
|
|
4199
4199
|
if (!e.test(E))
|
|
4200
4200
|
throw new TypeError(`argument name is invalid: ${E}`);
|
|
@@ -4357,21 +4357,21 @@ function De(e) {
|
|
|
4357
4357
|
return t;
|
|
4358
4358
|
}
|
|
4359
4359
|
function va(e, t, r, i = {}) {
|
|
4360
|
-
let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, u = "POP", l = null,
|
|
4361
|
-
|
|
4360
|
+
let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, u = "POP", l = null, d = g();
|
|
4361
|
+
d == null && (d = 0, c.replaceState({ ...c.state, idx: d }, ""));
|
|
4362
4362
|
function g() {
|
|
4363
4363
|
return (c.state || { idx: null }).idx;
|
|
4364
4364
|
}
|
|
4365
4365
|
function y() {
|
|
4366
4366
|
u = "POP";
|
|
4367
|
-
let R = g(), S = R == null ? null : R -
|
|
4368
|
-
|
|
4367
|
+
let R = g(), S = R == null ? null : R - d;
|
|
4368
|
+
d = R, l && l({ action: u, location: p.location, delta: S });
|
|
4369
4369
|
}
|
|
4370
4370
|
function E(R, S) {
|
|
4371
4371
|
u = "PUSH";
|
|
4372
4372
|
let A = Ft(p.location, R, S);
|
|
4373
|
-
|
|
4374
|
-
let W = Tr(A,
|
|
4373
|
+
d = g() + 1;
|
|
4374
|
+
let W = Tr(A, d), F = p.createHref(A);
|
|
4375
4375
|
try {
|
|
4376
4376
|
c.pushState(W, "", F);
|
|
4377
4377
|
} catch (m) {
|
|
@@ -4384,8 +4384,8 @@ function va(e, t, r, i = {}) {
|
|
|
4384
4384
|
function M(R, S) {
|
|
4385
4385
|
u = "REPLACE";
|
|
4386
4386
|
let A = Ft(p.location, R, S);
|
|
4387
|
-
|
|
4388
|
-
let W = Tr(A,
|
|
4387
|
+
d = g();
|
|
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
4391
|
function k(R) {
|
|
@@ -4442,10 +4442,10 @@ function ya(e, t, r, i) {
|
|
|
4442
4442
|
ba(c);
|
|
4443
4443
|
let u = null;
|
|
4444
4444
|
for (let l = 0; u == null && l < c.length; ++l) {
|
|
4445
|
-
let
|
|
4445
|
+
let d = Ta(s);
|
|
4446
4446
|
u = Ra(
|
|
4447
4447
|
c[l],
|
|
4448
|
-
|
|
4448
|
+
d,
|
|
4449
4449
|
i
|
|
4450
4450
|
);
|
|
4451
4451
|
}
|
|
@@ -4463,15 +4463,15 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4463
4463
|
l.relativePath.startsWith(i),
|
|
4464
4464
|
`Absolute route path "${l.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
4465
4465
|
), l.relativePath = l.relativePath.slice(i.length));
|
|
4466
|
-
let
|
|
4466
|
+
let d = xe([i, l.relativePath]), g = r.concat(l);
|
|
4467
4467
|
s.children && s.children.length > 0 && (ae(
|
|
4468
4468
|
// Our types know better, but runtime JS may not!
|
|
4469
4469
|
// @ts-expect-error
|
|
4470
4470
|
s.index !== !0,
|
|
4471
|
-
`Index routes must not have child routes. Please remove all child routes from route path "${
|
|
4472
|
-
), nn(s.children, t, g,
|
|
4473
|
-
path:
|
|
4474
|
-
score: Pa(
|
|
4471
|
+
`Index routes must not have child routes. Please remove all child routes from route path "${d}".`
|
|
4472
|
+
), nn(s.children, t, g, d)), !(s.path == null && !s.index) && t.push({
|
|
4473
|
+
path: d,
|
|
4474
|
+
score: Pa(d, s.index),
|
|
4475
4475
|
routesMeta: g
|
|
4476
4476
|
});
|
|
4477
4477
|
};
|
|
@@ -4530,11 +4530,11 @@ function Ea(e, t) {
|
|
|
4530
4530
|
function Ra(e, t, r = !1) {
|
|
4531
4531
|
let { routesMeta: i } = e, a = {}, s = "/", c = [];
|
|
4532
4532
|
for (let u = 0; u < i.length; ++u) {
|
|
4533
|
-
let l = i[u],
|
|
4534
|
-
{ path: l.relativePath, caseSensitive: l.caseSensitive, end:
|
|
4533
|
+
let l = i[u], d = u === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", y = gt(
|
|
4534
|
+
{ path: l.relativePath, caseSensitive: l.caseSensitive, end: d },
|
|
4535
4535
|
g
|
|
4536
4536
|
), E = l.route;
|
|
4537
|
-
if (!y &&
|
|
4537
|
+
if (!y && d && r && !i[i.length - 1].route.index && (y = gt(
|
|
4538
4538
|
{
|
|
4539
4539
|
path: l.relativePath,
|
|
4540
4540
|
caseSensitive: l.caseSensitive,
|
|
@@ -4566,13 +4566,13 @@ function gt(e, t) {
|
|
|
4566
4566
|
let s = a[0], c = s.replace(/(.)\/+$/, "$1"), u = a.slice(1);
|
|
4567
4567
|
return {
|
|
4568
4568
|
params: i.reduce(
|
|
4569
|
-
(
|
|
4569
|
+
(d, { paramName: g, isOptional: y }, E) => {
|
|
4570
4570
|
if (g === "*") {
|
|
4571
4571
|
let k = u[E] || "";
|
|
4572
4572
|
c = s.slice(0, s.length - k.length).replace(/(.)\/+$/, "$1");
|
|
4573
4573
|
}
|
|
4574
4574
|
const M = u[E];
|
|
4575
|
-
return y && !M ?
|
|
4575
|
+
return y && !M ? d[g] = void 0 : d[g] = (M || "").replace(/%2F/g, "/"), d;
|
|
4576
4576
|
},
|
|
4577
4577
|
{}
|
|
4578
4578
|
),
|
|
@@ -4668,8 +4668,8 @@ function sn(e, t, r, i = !1) {
|
|
|
4668
4668
|
}
|
|
4669
4669
|
u = y >= 0 ? t[y] : "/";
|
|
4670
4670
|
}
|
|
4671
|
-
let l = ja(a, u),
|
|
4672
|
-
return !l.pathname.endsWith("/") && (
|
|
4671
|
+
let l = ja(a, u), d = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
|
|
4672
|
+
return !l.pathname.endsWith("/") && (d || g) && (l.pathname += "/"), l;
|
|
4673
4673
|
}
|
|
4674
4674
|
var xe = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), $a = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ia = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
4675
4675
|
function Aa(e) {
|
|
@@ -4759,7 +4759,7 @@ function Wa() {
|
|
|
4759
4759
|
return fn(() => {
|
|
4760
4760
|
c.current = !0;
|
|
4761
4761
|
}), $.useCallback(
|
|
4762
|
-
(l,
|
|
4762
|
+
(l, d = {}) => {
|
|
4763
4763
|
if (ge(c.current, cn), !c.current) return;
|
|
4764
4764
|
if (typeof l == "number") {
|
|
4765
4765
|
r.go(l);
|
|
@@ -4769,12 +4769,12 @@ function Wa() {
|
|
|
4769
4769
|
l,
|
|
4770
4770
|
JSON.parse(s),
|
|
4771
4771
|
a,
|
|
4772
|
-
|
|
4772
|
+
d.relative === "path"
|
|
4773
4773
|
);
|
|
4774
|
-
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : xe([t, g.pathname])), (
|
|
4774
|
+
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : xe([t, g.pathname])), (d.replace ? r.replace : r.push)(
|
|
4775
4775
|
g,
|
|
4776
|
-
|
|
4777
|
-
|
|
4776
|
+
d.state,
|
|
4777
|
+
d
|
|
4778
4778
|
);
|
|
4779
4779
|
},
|
|
4780
4780
|
[
|
|
@@ -4809,7 +4809,7 @@ function dn(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(ke), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/",
|
|
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
|
hn(
|
|
@@ -4824,14 +4824,14 @@ Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" :
|
|
|
4824
4824
|
if (t) {
|
|
4825
4825
|
let S = typeof t == "string" ? De(t) : t;
|
|
4826
4826
|
ae(
|
|
4827
|
-
|
|
4828
|
-
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${
|
|
4827
|
+
d === "/" || S.pathname?.startsWith(d),
|
|
4828
|
+
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${S.pathname}" was given in the \`location\` prop.`
|
|
4829
4829
|
), E = S;
|
|
4830
4830
|
} else
|
|
4831
4831
|
E = y;
|
|
4832
4832
|
let M = E.pathname || "/", k = M;
|
|
4833
|
-
if (
|
|
4834
|
-
let S =
|
|
4833
|
+
if (d !== "/") {
|
|
4834
|
+
let S = d.replace(/^\//, "").split("/");
|
|
4835
4835
|
k = "/" + M.replace(/^\//, "").split("/").slice(S.length).join("/");
|
|
4836
4836
|
}
|
|
4837
4837
|
let p = rn(e, { pathname: k });
|
|
@@ -4847,12 +4847,12 @@ Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" :
|
|
|
4847
4847
|
(S) => Object.assign({}, S, {
|
|
4848
4848
|
params: Object.assign({}, u, S.params),
|
|
4849
4849
|
pathname: xe([
|
|
4850
|
-
|
|
4850
|
+
d,
|
|
4851
4851
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4852
4852
|
a.encodeLocation ? a.encodeLocation(S.pathname).pathname : S.pathname
|
|
4853
4853
|
]),
|
|
4854
|
-
pathnameBase: S.pathnameBase === "/" ?
|
|
4855
|
-
|
|
4854
|
+
pathnameBase: S.pathnameBase === "/" ? d : xe([
|
|
4855
|
+
d,
|
|
4856
4856
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4857
4857
|
a.encodeLocation ? a.encodeLocation(S.pathnameBase).pathname : S.pathnameBase
|
|
4858
4858
|
])
|
|
@@ -4945,7 +4945,7 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4945
4945
|
let a = e, s = r?.errors;
|
|
4946
4946
|
if (s != null) {
|
|
4947
4947
|
let l = a.findIndex(
|
|
4948
|
-
(
|
|
4948
|
+
(d) => d.route.id && s?.[d.route.id] !== void 0
|
|
4949
4949
|
);
|
|
4950
4950
|
ae(
|
|
4951
4951
|
l >= 0,
|
|
@@ -4960,28 +4960,28 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4960
4960
|
let c = !1, u = -1;
|
|
4961
4961
|
if (r)
|
|
4962
4962
|
for (let l = 0; l < a.length; l++) {
|
|
4963
|
-
let
|
|
4964
|
-
if ((
|
|
4965
|
-
let { loaderData: g, errors: y } = r, E =
|
|
4966
|
-
if (
|
|
4963
|
+
let d = a[l];
|
|
4964
|
+
if ((d.route.HydrateFallback || d.route.hydrateFallbackElement) && (u = l), d.route.id) {
|
|
4965
|
+
let { loaderData: g, errors: y } = r, E = d.route.loader && !g.hasOwnProperty(d.route.id) && (!y || y[d.route.id] === void 0);
|
|
4966
|
+
if (d.route.lazy || E) {
|
|
4967
4967
|
c = !0, u >= 0 ? a = a.slice(0, u + 1) : a = [a[0]];
|
|
4968
4968
|
break;
|
|
4969
4969
|
}
|
|
4970
4970
|
}
|
|
4971
4971
|
}
|
|
4972
|
-
return a.reduceRight((l,
|
|
4972
|
+
return a.reduceRight((l, d, g) => {
|
|
4973
4973
|
let y, E = !1, M = null, k = null;
|
|
4974
|
-
r && (y = s &&
|
|
4974
|
+
r && (y = s && d.route.id ? s[d.route.id] : void 0, M = d.route.errorElement || Ya, c && (u < 0 && g === 0 ? (hn(
|
|
4975
4975
|
"route-fallback",
|
|
4976
4976
|
!1,
|
|
4977
4977
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4978
|
-
), E = !0, k = null) : u === g && (E = !0, k =
|
|
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 = k :
|
|
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
|
Ba,
|
|
4983
4983
|
{
|
|
4984
|
-
match:
|
|
4984
|
+
match: d,
|
|
4985
4985
|
routeContext: {
|
|
4986
4986
|
outlet: l,
|
|
4987
4987
|
matches: p,
|
|
@@ -4991,7 +4991,7 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4991
4991
|
}
|
|
4992
4992
|
);
|
|
4993
4993
|
};
|
|
4994
|
-
return r && (
|
|
4994
|
+
return r && (d.route.ErrorBoundary || d.route.errorElement || g === 0) ? /* @__PURE__ */ $.createElement(
|
|
4995
4995
|
qa,
|
|
4996
4996
|
{
|
|
4997
4997
|
location: r.location,
|
|
@@ -5101,7 +5101,7 @@ function ro({
|
|
|
5101
5101
|
typeof r == "string" && (r = De(r));
|
|
5102
5102
|
let {
|
|
5103
5103
|
pathname: l = "/",
|
|
5104
|
-
search:
|
|
5104
|
+
search: d = "",
|
|
5105
5105
|
hash: g = "",
|
|
5106
5106
|
state: y = null,
|
|
5107
5107
|
key: E = "default"
|
|
@@ -5110,17 +5110,17 @@ function ro({
|
|
|
5110
5110
|
return k == null ? null : {
|
|
5111
5111
|
location: {
|
|
5112
5112
|
pathname: k,
|
|
5113
|
-
search:
|
|
5113
|
+
search: d,
|
|
5114
5114
|
hash: g,
|
|
5115
5115
|
state: y,
|
|
5116
5116
|
key: E
|
|
5117
5117
|
},
|
|
5118
5118
|
navigationType: i
|
|
5119
5119
|
};
|
|
5120
|
-
}, [c, l,
|
|
5120
|
+
}, [c, l, d, g, y, E, i]);
|
|
5121
5121
|
return ge(
|
|
5122
5122
|
M != null,
|
|
5123
|
-
`<Router basename="${c}"> is not able to match the URL "${l}${
|
|
5123
|
+
`<Router basename="${c}"> is not able to match the URL "${l}${d}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5124
5124
|
), M == null ? null : /* @__PURE__ */ $.createElement(Se.Provider, { value: u }, /* @__PURE__ */ $.createElement(Ze.Provider, { children: t, value: M }));
|
|
5125
5125
|
}
|
|
5126
5126
|
function no({
|
|
@@ -5250,11 +5250,11 @@ function ho(e, t) {
|
|
|
5250
5250
|
);
|
|
5251
5251
|
let l = e.getAttribute("formaction") || u.getAttribute("action");
|
|
5252
5252
|
if (i = l ? Oe(l, t) : null, r = e.getAttribute("formmethod") || u.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(u.getAttribute("enctype")) || ct, s = new FormData(u, e), !co()) {
|
|
5253
|
-
let { name:
|
|
5253
|
+
let { name: d, type: g, value: y } = e;
|
|
5254
5254
|
if (g === "image") {
|
|
5255
|
-
let E =
|
|
5255
|
+
let E = d ? `${d}.` : "";
|
|
5256
5256
|
s.append(`${E}x`, "0"), s.append(`${E}y`, "0");
|
|
5257
|
-
} else
|
|
5257
|
+
} else d && s.append(d, y);
|
|
5258
5258
|
}
|
|
5259
5259
|
} else {
|
|
5260
5260
|
if (kt(e))
|
|
@@ -5307,19 +5307,19 @@ async function vo(e, t, r) {
|
|
|
5307
5307
|
);
|
|
5308
5308
|
}
|
|
5309
5309
|
function Mr(e, t, r, i, a, s) {
|
|
5310
|
-
let c = (l,
|
|
5310
|
+
let c = (l, d) => r[d] ? l.route.id !== r[d].route.id : !0, u = (l, d) => (
|
|
5311
5311
|
// param change, /users/123 -> /users/456
|
|
5312
|
-
r[
|
|
5312
|
+
r[d].pathname !== l.pathname || // splat param changed, which is not present in match.path
|
|
5313
5313
|
// e.g. /files/images/avatar.jpg -> files/finances.xls
|
|
5314
|
-
r[
|
|
5314
|
+
r[d].route.path?.endsWith("*") && r[d].params["*"] !== l.params["*"]
|
|
5315
5315
|
);
|
|
5316
5316
|
return s === "assets" ? t.filter(
|
|
5317
|
-
(l,
|
|
5318
|
-
) : s === "data" ? t.filter((l,
|
|
5317
|
+
(l, d) => c(l, d) || u(l, d)
|
|
5318
|
+
) : s === "data" ? t.filter((l, d) => {
|
|
5319
5319
|
let g = i.routes[l.route.id];
|
|
5320
5320
|
if (!g || !g.hasLoader)
|
|
5321
5321
|
return !1;
|
|
5322
|
-
if (c(l,
|
|
5322
|
+
if (c(l, d) || u(l, d))
|
|
5323
5323
|
return !0;
|
|
5324
5324
|
if (l.route.shouldRevalidate) {
|
|
5325
5325
|
let y = l.route.shouldRevalidate({
|
|
@@ -5399,7 +5399,7 @@ function vn() {
|
|
|
5399
5399
|
), e;
|
|
5400
5400
|
}
|
|
5401
5401
|
function ko(e, t) {
|
|
5402
|
-
let r = $.useContext(er), [i, a] = $.useState(!1), [s, c] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter:
|
|
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") {
|
|
5405
5405
|
let p = (S) => {
|
|
@@ -5432,7 +5432,7 @@ function ko(e, t) {
|
|
|
5432
5432
|
{
|
|
5433
5433
|
onFocus: Ye(u, M),
|
|
5434
5434
|
onBlur: Ye(l, k),
|
|
5435
|
-
onMouseEnter: Ye(
|
|
5435
|
+
onMouseEnter: Ye(d, M),
|
|
5436
5436
|
onMouseLeave: Ye(g, k),
|
|
5437
5437
|
onTouchStart: Ye(y, M)
|
|
5438
5438
|
}
|
|
@@ -5471,7 +5471,7 @@ function Eo({
|
|
|
5471
5471
|
matches: t,
|
|
5472
5472
|
...r
|
|
5473
5473
|
}) {
|
|
5474
|
-
let i = Ce(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: u, matches: l } = Oo(),
|
|
5474
|
+
let i = Ce(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: u, matches: l } = Oo(), d = $.useMemo(
|
|
5475
5475
|
() => Mr(
|
|
5476
5476
|
e,
|
|
5477
5477
|
t,
|
|
@@ -5497,7 +5497,7 @@ function Eo({
|
|
|
5497
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 || (!
|
|
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
5501
|
}), k.size === 0)
|
|
5502
5502
|
return [];
|
|
5503
5503
|
let R = xo(e, c);
|
|
@@ -5510,7 +5510,7 @@ function Eo({
|
|
|
5510
5510
|
u,
|
|
5511
5511
|
i,
|
|
5512
5512
|
a,
|
|
5513
|
-
|
|
5513
|
+
d,
|
|
5514
5514
|
t,
|
|
5515
5515
|
e,
|
|
5516
5516
|
s
|
|
@@ -5573,26 +5573,26 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5573
5573
|
replace: c,
|
|
5574
5574
|
state: u,
|
|
5575
5575
|
target: l,
|
|
5576
|
-
to:
|
|
5576
|
+
to: d,
|
|
5577
5577
|
preventScrollReset: g,
|
|
5578
5578
|
viewTransition: y,
|
|
5579
5579
|
...E
|
|
5580
5580
|
}, M) {
|
|
5581
|
-
let { basename: k } = $.useContext(Se), p = typeof
|
|
5582
|
-
if (typeof
|
|
5581
|
+
let { basename: k } = $.useContext(Se), p = typeof d == "string" && yn.test(d), R, S = !1;
|
|
5582
|
+
if (typeof d == "string" && p && (R = d, gn))
|
|
5583
5583
|
try {
|
|
5584
|
-
let b = new URL(window.location.href),
|
|
5585
|
-
|
|
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
|
-
`<Link to="${
|
|
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(
|
|
5592
|
+
let A = Fa(d, { relative: a }), [W, F, m] = ko(
|
|
5593
5593
|
i,
|
|
5594
5594
|
E
|
|
5595
|
-
), w = Mo(
|
|
5595
|
+
), w = Mo(d, {
|
|
5596
5596
|
replace: c,
|
|
5597
5597
|
state: u,
|
|
5598
5598
|
target: l,
|
|
@@ -5632,9 +5632,9 @@ var To = $.forwardRef(
|
|
|
5632
5632
|
to: c,
|
|
5633
5633
|
viewTransition: u,
|
|
5634
5634
|
children: l,
|
|
5635
|
-
...
|
|
5635
|
+
...d
|
|
5636
5636
|
}, g) {
|
|
5637
|
-
let y = et(c, { relative:
|
|
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
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);
|
|
@@ -5650,15 +5650,15 @@ var To = $.forwardRef(
|
|
|
5650
5650
|
w ? "pending" : null,
|
|
5651
5651
|
R ? "transitioning" : null
|
|
5652
5652
|
].filter(Boolean).join(" ");
|
|
5653
|
-
let
|
|
5653
|
+
let h = typeof s == "function" ? s(x) : s;
|
|
5654
5654
|
return /* @__PURE__ */ $.createElement(
|
|
5655
5655
|
bn,
|
|
5656
5656
|
{
|
|
5657
|
-
...
|
|
5657
|
+
...d,
|
|
5658
5658
|
"aria-current": _,
|
|
5659
5659
|
className: b,
|
|
5660
5660
|
ref: g,
|
|
5661
|
-
style:
|
|
5661
|
+
style: h,
|
|
5662
5662
|
to: c,
|
|
5663
5663
|
viewTransition: u
|
|
5664
5664
|
},
|
|
@@ -5678,12 +5678,12 @@ var jo = $.forwardRef(
|
|
|
5678
5678
|
method: c = ut,
|
|
5679
5679
|
action: u,
|
|
5680
5680
|
onSubmit: l,
|
|
5681
|
-
relative:
|
|
5681
|
+
relative: d,
|
|
5682
5682
|
preventScrollReset: g,
|
|
5683
5683
|
viewTransition: y,
|
|
5684
5684
|
...E
|
|
5685
5685
|
}, M) => {
|
|
5686
|
-
let k = Ao(), p = Ho(u, { relative:
|
|
5686
|
+
let k = Ao(), p = Ho(u, { relative: d }), R = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && yn.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;
|
|
@@ -5693,7 +5693,7 @@ var jo = $.forwardRef(
|
|
|
5693
5693
|
navigate: r,
|
|
5694
5694
|
replace: a,
|
|
5695
5695
|
state: s,
|
|
5696
|
-
relative:
|
|
5696
|
+
relative: d,
|
|
5697
5697
|
preventScrollReset: g,
|
|
5698
5698
|
viewTransition: y
|
|
5699
5699
|
});
|
|
@@ -5727,12 +5727,12 @@ function Mo(e, {
|
|
|
5727
5727
|
relative: s,
|
|
5728
5728
|
viewTransition: c
|
|
5729
5729
|
} = {}) {
|
|
5730
|
-
let u = Kt(), l = Ce(),
|
|
5730
|
+
let u = Kt(), l = Ce(), d = et(e, { relative: s });
|
|
5731
5731
|
return $.useCallback(
|
|
5732
5732
|
(g) => {
|
|
5733
5733
|
if (lo(g, t)) {
|
|
5734
5734
|
g.preventDefault();
|
|
5735
|
-
let y = r !== void 0 ? r : Ge(l) === Ge(
|
|
5735
|
+
let y = r !== void 0 ? r : Ge(l) === Ge(d);
|
|
5736
5736
|
u(e, {
|
|
5737
5737
|
replace: y,
|
|
5738
5738
|
state: i,
|
|
@@ -5745,7 +5745,7 @@ function Mo(e, {
|
|
|
5745
5745
|
[
|
|
5746
5746
|
l,
|
|
5747
5747
|
u,
|
|
5748
|
-
|
|
5748
|
+
d,
|
|
5749
5749
|
r,
|
|
5750
5750
|
i,
|
|
5751
5751
|
t,
|
|
@@ -5774,10 +5774,10 @@ function Do(e) {
|
|
|
5774
5774
|
[i.search]
|
|
5775
5775
|
), s = Kt(), c = $.useCallback(
|
|
5776
5776
|
(u, l) => {
|
|
5777
|
-
const
|
|
5777
|
+
const d = Vt(
|
|
5778
5778
|
typeof u == "function" ? u(a) : u
|
|
5779
5779
|
);
|
|
5780
|
-
r.current = !0, s("?" +
|
|
5780
|
+
r.current = !0, s("?" + d, l);
|
|
5781
5781
|
},
|
|
5782
5782
|
[s, a]
|
|
5783
5783
|
);
|
|
@@ -5791,7 +5791,7 @@ function Ao() {
|
|
|
5791
5791
|
), { basename: t } = $.useContext(Se), r = Za();
|
|
5792
5792
|
return $.useCallback(
|
|
5793
5793
|
async (i, a = {}) => {
|
|
5794
|
-
let { action: s, method: c, encType: u, formData: l, body:
|
|
5794
|
+
let { action: s, method: c, encType: u, formData: l, body: d } = ho(
|
|
5795
5795
|
i,
|
|
5796
5796
|
t
|
|
5797
5797
|
);
|
|
@@ -5800,7 +5800,7 @@ function Ao() {
|
|
|
5800
5800
|
await e.fetch(g, r, a.action || s, {
|
|
5801
5801
|
preventScrollReset: a.preventScrollReset,
|
|
5802
5802
|
formData: l,
|
|
5803
|
-
body:
|
|
5803
|
+
body: d,
|
|
5804
5804
|
formMethod: a.method || c,
|
|
5805
5805
|
formEncType: a.encType || u,
|
|
5806
5806
|
flushSync: a.flushSync
|
|
@@ -5809,7 +5809,7 @@ function Ao() {
|
|
|
5809
5809
|
await e.navigate(a.action || s, {
|
|
5810
5810
|
preventScrollReset: a.preventScrollReset,
|
|
5811
5811
|
formData: l,
|
|
5812
|
-
body:
|
|
5812
|
+
body: d,
|
|
5813
5813
|
formMethod: a.method || c,
|
|
5814
5814
|
formEncType: a.encType || u,
|
|
5815
5815
|
replace: a.replace,
|
|
@@ -5904,7 +5904,7 @@ const Sn = q.createContext({
|
|
|
5904
5904
|
});
|
|
5905
5905
|
},
|
|
5906
5906
|
[t]
|
|
5907
|
-
),
|
|
5907
|
+
), d = me(
|
|
5908
5908
|
(g) => {
|
|
5909
5909
|
t((y) => {
|
|
5910
5910
|
const E = new URLSearchParams(y);
|
|
@@ -5920,27 +5920,27 @@ const Sn = q.createContext({
|
|
|
5920
5920
|
get: a,
|
|
5921
5921
|
getMany: i,
|
|
5922
5922
|
set: l,
|
|
5923
|
-
setMany:
|
|
5923
|
+
setMany: d,
|
|
5924
5924
|
remove: s,
|
|
5925
5925
|
removeMany: c,
|
|
5926
5926
|
removeAll: u
|
|
5927
5927
|
};
|
|
5928
5928
|
}, hs = () => {
|
|
5929
5929
|
const e = Kt(), t = Ce(), r = No(), i = Ut(Sn), a = (l) => {
|
|
5930
|
-
const
|
|
5930
|
+
const d = new URL(l.path, "http://dummy-base");
|
|
5931
5931
|
return l.params && Object.entries(l.params).forEach(([g, y]) => {
|
|
5932
|
-
y != null &&
|
|
5933
|
-
}),
|
|
5932
|
+
y != null && d.searchParams.set(g, String(y));
|
|
5933
|
+
}), d.pathname + d.search;
|
|
5934
5934
|
}, s = q.useCallback(
|
|
5935
5935
|
(l) => {
|
|
5936
|
-
const
|
|
5937
|
-
l.addToHistory !== !1 ? (e(
|
|
5936
|
+
const d = a(l);
|
|
5937
|
+
l.addToHistory !== !1 ? (e(d), i.addToHistory(d)) : (e(d, { replace: !0 }), i.history.length > 0 && (i.popFromHistory(1), i.addToHistory(d)));
|
|
5938
5938
|
},
|
|
5939
5939
|
[e, i.history]
|
|
5940
5940
|
), c = q.useCallback(
|
|
5941
5941
|
(l) => {
|
|
5942
|
-
let
|
|
5943
|
-
i.history.length <
|
|
5942
|
+
let d = l || 1;
|
|
5943
|
+
i.history.length < d && (d = i.history.length), e(-d), i.popFromHistory(d);
|
|
5944
5944
|
},
|
|
5945
5945
|
[e]
|
|
5946
5946
|
), u = q.useCallback(() => {
|
|
@@ -5967,7 +5967,7 @@ const Sn = q.createContext({
|
|
|
5967
5967
|
}, l = (y) => {
|
|
5968
5968
|
let E = "", M = [];
|
|
5969
5969
|
return i.current.length === 0 || i.current.length < y ? "/" : (M = i.current.slice(0, i.current.length - y), E = M[M.length - 1], c(M), E);
|
|
5970
|
-
},
|
|
5970
|
+
}, d = (y) => {
|
|
5971
5971
|
c(y);
|
|
5972
5972
|
}, g = t.map((y) => /* @__PURE__ */ X.jsx(pn, { path: y.path, element: y.render }));
|
|
5973
5973
|
return /* @__PURE__ */ X.jsx(
|
|
@@ -5977,7 +5977,7 @@ const Sn = q.createContext({
|
|
|
5977
5977
|
history: a,
|
|
5978
5978
|
addToHistory: u,
|
|
5979
5979
|
popFromHistory: l,
|
|
5980
|
-
replaceHistory:
|
|
5980
|
+
replaceHistory: d
|
|
5981
5981
|
},
|
|
5982
5982
|
children: /* @__PURE__ */ X.jsx(_o, { children: /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
5983
5983
|
e && /* @__PURE__ */ X.jsx(no, { children: g }),
|
|
@@ -5997,7 +5997,7 @@ const Sn = q.createContext({
|
|
|
5997
5997
|
), ms = ({ children: e }) => {
|
|
5998
5998
|
const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((l) => {
|
|
5999
5999
|
t.current = l, i(l);
|
|
6000
|
-
}, []), s = q.useCallback((l) => t.current.some((
|
|
6000
|
+
}, []), s = q.useCallback((l) => t.current.some((d) => d === l), []), c = q.useCallback(
|
|
6001
6001
|
(l) => {
|
|
6002
6002
|
s(l) || a([...t.current, l]);
|
|
6003
6003
|
},
|
|
@@ -6041,7 +6041,7 @@ const Sn = q.createContext({
|
|
|
6041
6041
|
}) => {
|
|
6042
6042
|
const { isItemVisible: i } = Ct(), [a, s] = q.useState({
|
|
6043
6043
|
isDragging: !1
|
|
6044
|
-
}), c = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [
|
|
6044
|
+
}), c = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [d, g] = q.useState(0), y = (k) => {
|
|
6045
6045
|
s(k);
|
|
6046
6046
|
}, E = (k) => {
|
|
6047
6047
|
s(k), g(0);
|
|
@@ -6059,7 +6059,7 @@ const Sn = q.createContext({
|
|
|
6059
6059
|
isVisible: i(e),
|
|
6060
6060
|
drawerParentRef: c,
|
|
6061
6061
|
drawerRef: u,
|
|
6062
|
-
drawerBottomDistance:
|
|
6062
|
+
drawerBottomDistance: d,
|
|
6063
6063
|
handleRef: l
|
|
6064
6064
|
};
|
|
6065
6065
|
}, vs = (e) => {
|
|
@@ -6068,7 +6068,7 @@ const Sn = q.createContext({
|
|
|
6068
6068
|
drawerParentRef: c,
|
|
6069
6069
|
drawerRef: u,
|
|
6070
6070
|
handleRef: l,
|
|
6071
|
-
drawerBottomDistance:
|
|
6071
|
+
drawerBottomDistance: d
|
|
6072
6072
|
} = Fo(e);
|
|
6073
6073
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
|
|
6074
6074
|
"div",
|
|
@@ -6107,7 +6107,7 @@ const Sn = q.createContext({
|
|
|
6107
6107
|
padding: "24px",
|
|
6108
6108
|
zIndex: 1001,
|
|
6109
6109
|
position: "absolute",
|
|
6110
|
-
bottom: `${
|
|
6110
|
+
bottom: `${d}px`,
|
|
6111
6111
|
...i
|
|
6112
6112
|
},
|
|
6113
6113
|
onClick: (g) => {
|
|
@@ -6157,7 +6157,7 @@ const Sn = q.createContext({
|
|
|
6157
6157
|
for (const A of R)
|
|
6158
6158
|
S.push(u(A));
|
|
6159
6159
|
return S;
|
|
6160
|
-
},
|
|
6160
|
+
}, d = (R, S, A) => R === "change" && S || R === "mount" && A || R === "submit", g = async (R, S) => {
|
|
6161
6161
|
try {
|
|
6162
6162
|
const F = (a || []).find(
|
|
6163
6163
|
(m) => m.name === R.name
|
|
@@ -6165,39 +6165,39 @@ const Sn = q.createContext({
|
|
|
6165
6165
|
if (!F)
|
|
6166
6166
|
return R;
|
|
6167
6167
|
var A = R.value, W = R.value;
|
|
6168
|
-
if (F.emptyValidation && F.emptyValidation.allow === !1 && !A &&
|
|
6168
|
+
if (F.emptyValidation && F.emptyValidation.allow === !1 && !A && d(
|
|
6169
6169
|
S,
|
|
6170
6170
|
F.emptyValidation.validateOnChange,
|
|
6171
6171
|
F.emptyValidation.validateOnMount
|
|
6172
6172
|
))
|
|
6173
6173
|
return R.error = F.emptyValidation.errorMessage, R;
|
|
6174
|
-
if (F.minLengthValidation && A.length < F.minLengthValidation.value &&
|
|
6174
|
+
if (F.minLengthValidation && A.length < F.minLengthValidation.value && d(
|
|
6175
6175
|
S,
|
|
6176
6176
|
F.minLengthValidation.validateOnChange,
|
|
6177
6177
|
F.minLengthValidation.validateOnMount
|
|
6178
6178
|
))
|
|
6179
6179
|
return R.error = F.minLengthValidation.errorMessage, R;
|
|
6180
|
-
if (F.maxLengthValidation && A.length > F.maxLengthValidation.value &&
|
|
6180
|
+
if (F.maxLengthValidation && A.length > F.maxLengthValidation.value && d(
|
|
6181
6181
|
S,
|
|
6182
6182
|
F.maxLengthValidation.validateOnChange,
|
|
6183
6183
|
F.maxLengthValidation.validateOnMount
|
|
6184
6184
|
))
|
|
6185
6185
|
return R.error = F.maxLengthValidation.errorMessage, R;
|
|
6186
6186
|
if (!isNaN(W)) {
|
|
6187
|
-
if (F.minValueValidation && W < F.minValueValidation.value &&
|
|
6187
|
+
if (F.minValueValidation && W < F.minValueValidation.value && d(
|
|
6188
6188
|
S,
|
|
6189
6189
|
F.minValueValidation.validateOnChange,
|
|
6190
6190
|
F.minValueValidation.validateOnMount
|
|
6191
6191
|
))
|
|
6192
6192
|
return R.error = F.minValueValidation.errorMessage, R;
|
|
6193
|
-
if (F.maxValueValidation && W > F.maxValueValidation.value &&
|
|
6193
|
+
if (F.maxValueValidation && W > F.maxValueValidation.value && d(
|
|
6194
6194
|
S,
|
|
6195
6195
|
F.maxValueValidation.validateOnChange,
|
|
6196
6196
|
F.maxValueValidation.validateOnMount
|
|
6197
6197
|
))
|
|
6198
6198
|
return R.error = F.maxValueValidation.errorMessage, R;
|
|
6199
6199
|
}
|
|
6200
|
-
if (F.exactValueValidation && F.exactValueValidation.value !== R.value &&
|
|
6200
|
+
if (F.exactValueValidation && F.exactValueValidation.value !== R.value && d(
|
|
6201
6201
|
S,
|
|
6202
6202
|
F.exactValueValidation.validateOnChange,
|
|
6203
6203
|
F.exactValueValidation.validateOnMount
|
|
@@ -6205,7 +6205,7 @@ const Sn = q.createContext({
|
|
|
6205
6205
|
return R.error = F.exactValueValidation.errorMessage, R;
|
|
6206
6206
|
for (let m = 0; m < (F.validations || []).length; m++) {
|
|
6207
6207
|
const w = F.validations?.[m];
|
|
6208
|
-
if (!
|
|
6208
|
+
if (!d(
|
|
6209
6209
|
S,
|
|
6210
6210
|
w?.validateOnChange,
|
|
6211
6211
|
w?.validateOnMount
|
|
@@ -6386,23 +6386,24 @@ const Sn = q.createContext({
|
|
|
6386
6386
|
}
|
|
6387
6387
|
`, qo = (e) => {
|
|
6388
6388
|
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i, handleOnClick: a } = Uo(e), {
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6389
|
+
ref: s,
|
|
6390
|
+
name: c,
|
|
6391
|
+
label: u,
|
|
6392
|
+
leftIcon: l,
|
|
6393
|
+
rightIcon: d,
|
|
6394
|
+
bottomMessage: g,
|
|
6395
|
+
placeHolder: y,
|
|
6396
|
+
autoComplete: E = "off",
|
|
6397
|
+
value: M,
|
|
6398
|
+
initialValue: k,
|
|
6399
|
+
type: p = "text",
|
|
6400
|
+
maxLength: R,
|
|
6401
|
+
inputStyles: S,
|
|
6402
|
+
containerStyles: A,
|
|
6403
|
+
styles: W,
|
|
6404
|
+
step: F,
|
|
6405
|
+
pattern: m,
|
|
6406
|
+
onInput: w
|
|
6406
6407
|
} = e;
|
|
6407
6408
|
return /* @__PURE__ */ X.jsxs(
|
|
6408
6409
|
Yo,
|
|
@@ -6411,10 +6412,10 @@ const Sn = q.createContext({
|
|
|
6411
6412
|
width: "100%",
|
|
6412
6413
|
maxWidth: "357px",
|
|
6413
6414
|
gap: "8px",
|
|
6414
|
-
...
|
|
6415
|
+
...W
|
|
6415
6416
|
},
|
|
6416
6417
|
children: [
|
|
6417
|
-
|
|
6418
|
+
u,
|
|
6418
6419
|
/* @__PURE__ */ X.jsxs(
|
|
6419
6420
|
"div",
|
|
6420
6421
|
{
|
|
@@ -6437,26 +6438,27 @@ const Sn = q.createContext({
|
|
|
6437
6438
|
outline: "none",
|
|
6438
6439
|
alignItems: "center",
|
|
6439
6440
|
gap: "10px",
|
|
6440
|
-
...
|
|
6441
|
+
...A
|
|
6441
6442
|
},
|
|
6442
6443
|
children: [
|
|
6443
|
-
|
|
6444
|
+
l,
|
|
6444
6445
|
/* @__PURE__ */ X.jsx(
|
|
6445
6446
|
"input",
|
|
6446
6447
|
{
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6448
|
+
ref: s,
|
|
6449
|
+
name: c,
|
|
6450
|
+
type: p,
|
|
6451
|
+
autoComplete: E,
|
|
6452
|
+
step: F,
|
|
6453
|
+
maxLength: R,
|
|
6454
|
+
placeholder: y,
|
|
6455
|
+
value: M,
|
|
6456
|
+
defaultValue: k,
|
|
6455
6457
|
onChange: t,
|
|
6456
6458
|
onFocus: i,
|
|
6457
6459
|
onBlur: r,
|
|
6458
|
-
onInput:
|
|
6459
|
-
pattern:
|
|
6460
|
+
onInput: w,
|
|
6461
|
+
pattern: m,
|
|
6460
6462
|
style: {
|
|
6461
6463
|
flex: 1,
|
|
6462
6464
|
border: "none",
|
|
@@ -6468,15 +6470,15 @@ const Sn = q.createContext({
|
|
|
6468
6470
|
lineHeight: "inherit",
|
|
6469
6471
|
outline: "inherit",
|
|
6470
6472
|
background: "none",
|
|
6471
|
-
...
|
|
6473
|
+
...S
|
|
6472
6474
|
}
|
|
6473
6475
|
}
|
|
6474
6476
|
),
|
|
6475
|
-
|
|
6477
|
+
d
|
|
6476
6478
|
]
|
|
6477
6479
|
}
|
|
6478
6480
|
),
|
|
6479
|
-
|
|
6481
|
+
g
|
|
6480
6482
|
]
|
|
6481
6483
|
}
|
|
6482
6484
|
);
|
|
@@ -6561,7 +6563,7 @@ const Sn = q.createContext({
|
|
|
6561
6563
|
) });
|
|
6562
6564
|
}, Bo = (e) => {
|
|
6563
6565
|
const t = Pn(""), r = me(
|
|
6564
|
-
(u) => (e.allowNegatives ? (u = u.replace(/-/g, (l,
|
|
6566
|
+
(u) => (e.allowNegatives ? (u = u.replace(/-/g, (l, d) => d === 0 ? "-" : ""), u.indexOf("-") > 0 && (u = u.replace(/-/g, ""), u = "-" + u)) : u = u.replace(/-/g, ""), u),
|
|
6565
6567
|
[e]
|
|
6566
6568
|
), i = me(
|
|
6567
6569
|
(u) => {
|
|
@@ -6569,9 +6571,9 @@ const Sn = q.createContext({
|
|
|
6569
6571
|
u.startsWith(".") && (u = "0" + u), u.length === 2 && u[0] === "-" && u[1] === "." && (u = "-");
|
|
6570
6572
|
const l = u.indexOf(".");
|
|
6571
6573
|
l !== -1 && (u = u.slice(0, l + 1) + u.slice(l + 1).replace(/\./g, ""));
|
|
6572
|
-
const [
|
|
6574
|
+
const [d, ...g] = u.split("."), [y, ...E] = t.current.split(".");
|
|
6573
6575
|
let M = g.join(""), k = E.join("");
|
|
6574
|
-
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M = k : M = M.slice(0, e.decimalScale)), u = M || u.endsWith(".") ? `${
|
|
6576
|
+
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M = k : M = M.slice(0, e.decimalScale)), u = M || u.endsWith(".") ? `${d}.${M}` : d;
|
|
6575
6577
|
} else
|
|
6576
6578
|
u = u.replace(/\./g, "");
|
|
6577
6579
|
return u;
|
|
@@ -6580,17 +6582,17 @@ const Sn = q.createContext({
|
|
|
6580
6582
|
), a = me(
|
|
6581
6583
|
(u) => {
|
|
6582
6584
|
const l = Number(u);
|
|
6583
|
-
var
|
|
6584
|
-
return
|
|
6585
|
+
var d = e.max;
|
|
6586
|
+
return d === void 0 && (d = e.maxLength ? Number("9".repeat(e.maxLength)) : void 0), !isNaN(l) && (e.min !== void 0 && l < e.min || d !== void 0 && l > d) ? t.current ?? u : u;
|
|
6585
6587
|
},
|
|
6586
6588
|
[e]
|
|
6587
6589
|
), s = me(
|
|
6588
6590
|
(u) => {
|
|
6589
|
-
const l = u.target,
|
|
6591
|
+
const l = u.target, d = l.selectionStart ?? 0, g = l.selectionEnd ?? 0;
|
|
6590
6592
|
let y = l.value;
|
|
6591
6593
|
y = y.replace(/[^0-9\.\-]/g, ""), y = r(y), y = i(y), y = a(y);
|
|
6592
6594
|
const E = y.length - l.value.length;
|
|
6593
|
-
l.value = y, l.setSelectionRange(
|
|
6595
|
+
l.value = y, l.setSelectionRange(d + E, g + E), t.current = y;
|
|
6594
6596
|
},
|
|
6595
6597
|
[r, i, a]
|
|
6596
6598
|
);
|
|
@@ -6616,33 +6618,43 @@ const Sn = q.createContext({
|
|
|
6616
6618
|
});
|
|
6617
6619
|
return /* @__PURE__ */ X.jsx(qo, { type: "text", ...a });
|
|
6618
6620
|
}, Xo = (e) => {
|
|
6619
|
-
const t = q.useRef(null), r = q.useRef(null),
|
|
6620
|
-
t.current &&
|
|
6621
|
-
}, [t, t.current]),
|
|
6622
|
-
r.current &&
|
|
6623
|
-
}, [r, r.current]),
|
|
6624
|
-
|
|
6625
|
-
|
|
6621
|
+
const t = q.useRef(null), r = q.useRef(null), i = q.useRef(null), [a, s] = q.useState(24), [c, u] = q.useState(24), [l, d] = q.useState(300), g = q.useCallback(() => {
|
|
6622
|
+
t.current && s(t.current.clientHeight);
|
|
6623
|
+
}, [t, t.current]), y = q.useCallback(() => {
|
|
6624
|
+
r.current && u(r.current.clientHeight);
|
|
6625
|
+
}, [r, r.current]), E = q.useCallback(() => {
|
|
6626
|
+
i.current && d(i.current.clientWidth);
|
|
6627
|
+
}, [i, i.current]), M = q.useCallback(() => {
|
|
6628
|
+
let k = 0;
|
|
6629
|
+
return e.header?.visibility === "always" && (k = k + (a || 0)), e.footer?.visibility === "always" && (k = k + (c || 0)), k;
|
|
6626
6630
|
}, [r, r.current]);
|
|
6627
6631
|
return q.useEffect(() => {
|
|
6628
|
-
|
|
6629
|
-
}, [
|
|
6630
|
-
|
|
6631
|
-
}, [
|
|
6632
|
+
g();
|
|
6633
|
+
}, [g, t, t.current]), q.useEffect(() => {
|
|
6634
|
+
y();
|
|
6635
|
+
}, [y, r, r.current]), q.useEffect(() => {
|
|
6636
|
+
E();
|
|
6637
|
+
}, [E, i, i.current]), {
|
|
6632
6638
|
header: {
|
|
6633
6639
|
...e.header,
|
|
6634
6640
|
visible: e.header !== void 0,
|
|
6635
|
-
height: e.header?.visibility === "fixed" ? 0 :
|
|
6641
|
+
height: !e.header || e.header?.visibility === "fixed" ? 0 : a,
|
|
6636
6642
|
ref: t
|
|
6637
6643
|
},
|
|
6638
6644
|
footer: {
|
|
6639
6645
|
...e.footer,
|
|
6640
6646
|
visible: e.footer !== void 0,
|
|
6641
|
-
height: e.footer?.visibility === "fixed" ? 0 :
|
|
6647
|
+
height: !e.footer || e.footer?.visibility === "fixed" ? 0 : c,
|
|
6642
6648
|
ref: r
|
|
6643
6649
|
},
|
|
6650
|
+
sidebar: {
|
|
6651
|
+
...e.sidebar,
|
|
6652
|
+
width: l,
|
|
6653
|
+
visible: e.sidebar !== void 0,
|
|
6654
|
+
ref: i
|
|
6655
|
+
},
|
|
6644
6656
|
page: {
|
|
6645
|
-
extraHeight:
|
|
6657
|
+
extraHeight: M()
|
|
6646
6658
|
}
|
|
6647
6659
|
};
|
|
6648
6660
|
}, Go = Ee.div`
|
|
@@ -6673,7 +6685,7 @@ const Sn = q.createContext({
|
|
|
6673
6685
|
allowScroll: a = !0,
|
|
6674
6686
|
floatingContent: s,
|
|
6675
6687
|
reserveSpaceForScrollbar: c
|
|
6676
|
-
} = e, { footer: u, header: l } = Xo(e);
|
|
6688
|
+
} = e, { footer: u, header: l, sidebar: d } = Xo(e);
|
|
6677
6689
|
return /* @__PURE__ */ X.jsxs(
|
|
6678
6690
|
Go,
|
|
6679
6691
|
{
|
|
@@ -6703,40 +6715,66 @@ const Sn = q.createContext({
|
|
|
6703
6715
|
children: l.content
|
|
6704
6716
|
}
|
|
6705
6717
|
),
|
|
6706
|
-
/* @__PURE__ */ X.
|
|
6718
|
+
/* @__PURE__ */ X.jsxs(
|
|
6707
6719
|
"div",
|
|
6708
6720
|
{
|
|
6709
|
-
id: "page-body",
|
|
6710
6721
|
style: {
|
|
6711
6722
|
width: "100%",
|
|
6712
|
-
|
|
6713
|
-
display: "flex",
|
|
6723
|
+
flexDirection: "row",
|
|
6714
6724
|
flex: 1,
|
|
6725
|
+
display: "flex",
|
|
6726
|
+
overflow: "hidden",
|
|
6715
6727
|
marginTop: `-${l.height}px`,
|
|
6716
6728
|
marginBottom: `-${u.height}px`
|
|
6717
6729
|
},
|
|
6718
|
-
children:
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6730
|
+
children: [
|
|
6731
|
+
d.visible && /* @__PURE__ */ X.jsx(
|
|
6732
|
+
"div",
|
|
6733
|
+
{
|
|
6734
|
+
ref: d.ref,
|
|
6735
|
+
id: "page-sidebar",
|
|
6736
|
+
style: {
|
|
6737
|
+
width: "30%",
|
|
6738
|
+
display: "flex",
|
|
6739
|
+
...d.styles
|
|
6740
|
+
},
|
|
6741
|
+
children: d.content
|
|
6742
|
+
}
|
|
6743
|
+
),
|
|
6744
|
+
/* @__PURE__ */ X.jsx(
|
|
6745
|
+
"div",
|
|
6746
|
+
{
|
|
6747
|
+
id: "page-body",
|
|
6748
|
+
style: {
|
|
6749
|
+
width: "100%",
|
|
6750
|
+
display: "flex",
|
|
6751
|
+
flex: 1
|
|
6752
|
+
},
|
|
6753
|
+
children: /* @__PURE__ */ X.jsx(
|
|
6754
|
+
"div",
|
|
6755
|
+
{
|
|
6756
|
+
id: "page-content",
|
|
6757
|
+
style: {
|
|
6758
|
+
width: "100%",
|
|
6759
|
+
overflowX: "hidden",
|
|
6760
|
+
overflowY: a ? "auto" : "hidden",
|
|
6761
|
+
display: "flex",
|
|
6762
|
+
flexDirection: "column",
|
|
6763
|
+
flex: 1,
|
|
6764
|
+
minHeight: "100%",
|
|
6765
|
+
scrollbarGutter: c ? "stable" : void 0,
|
|
6766
|
+
paddingLeft: "0px",
|
|
6767
|
+
paddingRight: "0px",
|
|
6768
|
+
paddingTop: `${l.height}px`,
|
|
6769
|
+
paddingBottom: `${u.height}px`,
|
|
6770
|
+
...r
|
|
6771
|
+
},
|
|
6772
|
+
children: i
|
|
6773
|
+
}
|
|
6774
|
+
)
|
|
6775
|
+
}
|
|
6776
|
+
)
|
|
6777
|
+
]
|
|
6740
6778
|
}
|
|
6741
6779
|
),
|
|
6742
6780
|
u.visible && /* @__PURE__ */ X.jsx(
|
|
@@ -6818,7 +6856,7 @@ function Zo() {
|
|
|
6818
6856
|
(function(r, i) {
|
|
6819
6857
|
e.exports = i();
|
|
6820
6858
|
})(Jo, function() {
|
|
6821
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour",
|
|
6859
|
+
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) {
|
|
6822
6860
|
var P = ["th", "st", "nd", "rd"], L = j % 100;
|
|
6823
6861
|
return "[" + j + (P[(L - 20) % 10] || P[L] || P[0]) + "]";
|
|
6824
6862
|
} }, W = function(j, P, L) {
|
|
@@ -6834,7 +6872,7 @@ function Zo() {
|
|
|
6834
6872
|
}, a: function(j) {
|
|
6835
6873
|
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
6836
6874
|
}, p: function(j) {
|
|
6837
|
-
return { M: y, y: M, w: g, d
|
|
6875
|
+
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$/, "");
|
|
6838
6876
|
}, u: function(j) {
|
|
6839
6877
|
return j === void 0;
|
|
6840
6878
|
} }, m = "en", w = {};
|
|
@@ -6854,13 +6892,13 @@ function Zo() {
|
|
|
6854
6892
|
w[f] = P, z = f;
|
|
6855
6893
|
}
|
|
6856
6894
|
return !o && z && (m = z), z || !o && m;
|
|
6857
|
-
},
|
|
6895
|
+
}, h = function(j, P) {
|
|
6858
6896
|
if (_(j)) return j.clone();
|
|
6859
6897
|
var L = typeof P == "object" ? P : {};
|
|
6860
6898
|
return L.date = j, L.args = arguments, new H(L);
|
|
6861
6899
|
}, C = F;
|
|
6862
6900
|
C.l = b, C.i = _, C.w = function(j, P) {
|
|
6863
|
-
return
|
|
6901
|
+
return h(j, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
|
|
6864
6902
|
};
|
|
6865
6903
|
var H = function() {
|
|
6866
6904
|
function j(L) {
|
|
@@ -6890,12 +6928,12 @@ function Zo() {
|
|
|
6890
6928
|
}, P.isValid = function() {
|
|
6891
6929
|
return this.$d.toString() !== p;
|
|
6892
6930
|
}, P.isSame = function(L, o) {
|
|
6893
|
-
var z =
|
|
6931
|
+
var z = h(L);
|
|
6894
6932
|
return this.startOf(o) <= z && z <= this.endOf(o);
|
|
6895
6933
|
}, P.isAfter = function(L, o) {
|
|
6896
|
-
return
|
|
6934
|
+
return h(L) < this.startOf(o);
|
|
6897
6935
|
}, P.isBefore = function(L, o) {
|
|
6898
|
-
return this.endOf(o) <
|
|
6936
|
+
return this.endOf(o) < h(L);
|
|
6899
6937
|
}, P.$g = function(L, o, z) {
|
|
6900
6938
|
return C.u(L) ? this[o] : this.set(z, L);
|
|
6901
6939
|
}, P.unix = function() {
|
|
@@ -6905,7 +6943,7 @@ function Zo() {
|
|
|
6905
6943
|
}, P.startOf = function(L, o) {
|
|
6906
6944
|
var z = this, v = !!C.u(o) || o, n = C.p(L), f = function(K, G) {
|
|
6907
6945
|
var J = C.w(z.$u ? Date.UTC(z.$y, G, K) : new Date(z.$y, G, K), z);
|
|
6908
|
-
return v ? J : J.endOf(
|
|
6946
|
+
return v ? J : J.endOf(d);
|
|
6909
6947
|
}, O = function(K, G) {
|
|
6910
6948
|
return C.w(z.toDate()[K].apply(z.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), z);
|
|
6911
6949
|
}, I = this.$W, D = this.$M, N = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
@@ -6917,7 +6955,7 @@ function Zo() {
|
|
|
6917
6955
|
case g:
|
|
6918
6956
|
var U = this.$locale().weekStart || 0, B = (I < U ? I + 7 : I) - U;
|
|
6919
6957
|
return f(v ? N - B : N + (6 - B), D);
|
|
6920
|
-
case
|
|
6958
|
+
case d:
|
|
6921
6959
|
case k:
|
|
6922
6960
|
return O(V + "Hours", 0);
|
|
6923
6961
|
case l:
|
|
@@ -6932,7 +6970,7 @@ function Zo() {
|
|
|
6932
6970
|
}, P.endOf = function(L) {
|
|
6933
6971
|
return this.startOf(L, !1);
|
|
6934
6972
|
}, P.$set = function(L, o) {
|
|
6935
|
-
var z, v = C.p(L), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[
|
|
6973
|
+
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;
|
|
6936
6974
|
if (v === y || v === M) {
|
|
6937
6975
|
var I = this.clone().set(k, 1);
|
|
6938
6976
|
I.$d[f](O), I.init(), this.$d = I.set(k, Math.min(this.$D, I.daysInMonth())).$d;
|
|
@@ -6946,12 +6984,12 @@ function Zo() {
|
|
|
6946
6984
|
var z, v = this;
|
|
6947
6985
|
L = Number(L);
|
|
6948
6986
|
var n = C.p(o), f = function(D) {
|
|
6949
|
-
var N =
|
|
6987
|
+
var N = h(v);
|
|
6950
6988
|
return C.w(N.date(N.date() + Math.round(D * L)), v);
|
|
6951
6989
|
};
|
|
6952
6990
|
if (n === y) return this.set(y, this.$M + L);
|
|
6953
6991
|
if (n === M) return this.set(M, this.$y + L);
|
|
6954
|
-
if (n ===
|
|
6992
|
+
if (n === d) return f(1);
|
|
6955
6993
|
if (n === g) return f(7);
|
|
6956
6994
|
var O = (z = {}, z[u] = i, z[l] = a, z[c] = r, z)[n] || 1, I = this.$d.getTime() + L * O;
|
|
6957
6995
|
return C.w(I, this);
|
|
@@ -7026,7 +7064,7 @@ function Zo() {
|
|
|
7026
7064
|
}, P.utcOffset = function() {
|
|
7027
7065
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
7028
7066
|
}, P.diff = function(L, o, z) {
|
|
7029
|
-
var v, n = this, f = C.p(o), O =
|
|
7067
|
+
var v, n = this, f = C.p(o), O = h(L), I = (O.utcOffset() - this.utcOffset()) * i, D = this - O, N = function() {
|
|
7030
7068
|
return C.m(n, O);
|
|
7031
7069
|
};
|
|
7032
7070
|
switch (f) {
|
|
@@ -7042,7 +7080,7 @@ function Zo() {
|
|
|
7042
7080
|
case g:
|
|
7043
7081
|
v = (D - I) / 6048e5;
|
|
7044
7082
|
break;
|
|
7045
|
-
case
|
|
7083
|
+
case d:
|
|
7046
7084
|
v = (D - I) / 864e5;
|
|
7047
7085
|
break;
|
|
7048
7086
|
case l:
|
|
@@ -7078,15 +7116,15 @@ function Zo() {
|
|
|
7078
7116
|
return this.$d.toUTCString();
|
|
7079
7117
|
}, j;
|
|
7080
7118
|
}(), T = H.prototype;
|
|
7081
|
-
return
|
|
7119
|
+
return h.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", d], ["$M", y], ["$y", M], ["$D", k]].forEach(function(j) {
|
|
7082
7120
|
T[j[1]] = function(P) {
|
|
7083
7121
|
return this.$g(P, j[0], j[1]);
|
|
7084
7122
|
};
|
|
7085
|
-
}),
|
|
7086
|
-
return j.$i || (j(P, H,
|
|
7087
|
-
},
|
|
7088
|
-
return
|
|
7089
|
-
},
|
|
7123
|
+
}), h.extend = function(j, P) {
|
|
7124
|
+
return j.$i || (j(P, H, h), j.$i = !0), h;
|
|
7125
|
+
}, h.locale = b, h.isDayjs = _, h.unix = function(j) {
|
|
7126
|
+
return h(1e3 * j);
|
|
7127
|
+
}, h.en = w[m], h.Ls = w, h.p = {}, h;
|
|
7090
7128
|
});
|
|
7091
7129
|
}(ft)), ft.exports;
|
|
7092
7130
|
}
|
|
@@ -7110,9 +7148,9 @@ function ts() {
|
|
|
7110
7148
|
}, l.local = function() {
|
|
7111
7149
|
return u(this.toDate(), { locale: this.$L, utc: !1 });
|
|
7112
7150
|
};
|
|
7113
|
-
var
|
|
7151
|
+
var d = l.parse;
|
|
7114
7152
|
l.parse = function(p) {
|
|
7115
|
-
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset),
|
|
7153
|
+
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), d.call(this, p);
|
|
7116
7154
|
};
|
|
7117
7155
|
var g = l.init;
|
|
7118
7156
|
l.init = function() {
|
|
@@ -7357,7 +7395,7 @@ const Es = ({
|
|
|
7357
7395
|
value: c,
|
|
7358
7396
|
initialValue: u,
|
|
7359
7397
|
onChange: l,
|
|
7360
|
-
onFocus:
|
|
7398
|
+
onFocus: d,
|
|
7361
7399
|
onBlur: g,
|
|
7362
7400
|
inputStyles: y,
|
|
7363
7401
|
containerStyles: E,
|
|
@@ -7366,7 +7404,7 @@ const Es = ({
|
|
|
7366
7404
|
const k = (S) => {
|
|
7367
7405
|
l?.(S.currentTarget.value);
|
|
7368
7406
|
}, p = (S) => {
|
|
7369
|
-
|
|
7407
|
+
d?.();
|
|
7370
7408
|
}, R = (S) => {
|
|
7371
7409
|
g?.();
|
|
7372
7410
|
};
|