@eliseubatista99/react-scaffold-core 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +408 -406
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _ from "react";
|
|
2
|
-
import
|
|
2
|
+
import B, { forwardRef as pn, useContext as Nt, useEffect as Er, useState as vn, useMemo as mn } from "react";
|
|
3
3
|
var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
|
-
function
|
|
4
|
+
function gn(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function yn(e) {
|
|
8
8
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
9
9
|
var t = e.default;
|
|
10
10
|
if (typeof t == "function") {
|
|
@@ -87,7 +87,7 @@ function wn() {
|
|
|
87
87
|
return "StrictMode";
|
|
88
88
|
case p:
|
|
89
89
|
return "Suspense";
|
|
90
|
-
case
|
|
90
|
+
case g:
|
|
91
91
|
return "SuspenseList";
|
|
92
92
|
case m:
|
|
93
93
|
return "Activity";
|
|
@@ -102,10 +102,10 @@ function wn() {
|
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
103
103
|
case N:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
|
-
case
|
|
105
|
+
case U:
|
|
106
106
|
var u = n.render;
|
|
107
107
|
return n = n.displayName, n || (n = u.displayName || u.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
|
-
case
|
|
108
|
+
case y:
|
|
109
109
|
return u = n.displayName || null, u !== null ? u : e(n.type) || "Memo";
|
|
110
110
|
case O:
|
|
111
111
|
u = n._payload, n = n._init;
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function E(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === A && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var R =
|
|
267
|
+
var R = B, A = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), q = Symbol.for("react.context"), U = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), m = Symbol.for("react.activity"), c = Symbol.for("react.client.reference"), P = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, x = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
R = {
|
|
@@ -375,25 +375,25 @@ function kn() {
|
|
|
375
375
|
var e = "Expected a function", t = NaN, r = "[object Symbol]", o = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, l = /^0o[0-7]+$/i, f = parseInt, d = typeof tt == "object" && tt && tt.Object === Object && tt, h = typeof self == "object" && self && self.Object === Object && self, w = d || h || Function("return this")(), E = Object.prototype, R = E.toString, A = Math.max, C = Math.min, v = function() {
|
|
376
376
|
return w.Date.now();
|
|
377
377
|
};
|
|
378
|
-
function M(p,
|
|
378
|
+
function M(p, g, y) {
|
|
379
379
|
var O, m, c, P, L, x, T = 0, D = !1, F = !1, s = !0;
|
|
380
380
|
if (typeof p != "function")
|
|
381
381
|
throw new TypeError(e);
|
|
382
|
-
|
|
382
|
+
g = U(g) || 0, k(y) && (D = !!y.leading, F = "maxWait" in y, c = F ? A(U(y.maxWait) || 0, g) : c, s = "trailing" in y ? !!y.trailing : s);
|
|
383
383
|
function J($) {
|
|
384
384
|
var Y = O, V = m;
|
|
385
385
|
return O = m = void 0, T = $, P = p.apply(V, Y), P;
|
|
386
386
|
}
|
|
387
387
|
function b($) {
|
|
388
|
-
return T = $, L = setTimeout(S,
|
|
388
|
+
return T = $, L = setTimeout(S, g), D ? J($) : P;
|
|
389
389
|
}
|
|
390
390
|
function n($) {
|
|
391
|
-
var Y = $ - x, V = $ - T, X =
|
|
391
|
+
var Y = $ - x, V = $ - T, X = g - Y;
|
|
392
392
|
return F ? C(X, c - V) : X;
|
|
393
393
|
}
|
|
394
394
|
function u($) {
|
|
395
395
|
var Y = $ - x, V = $ - T;
|
|
396
|
-
return x === void 0 || Y >=
|
|
396
|
+
return x === void 0 || Y >= g || Y < 0 || F && V >= c;
|
|
397
397
|
}
|
|
398
398
|
function S() {
|
|
399
399
|
var $ = v();
|
|
@@ -416,15 +416,15 @@ function kn() {
|
|
|
416
416
|
if (L === void 0)
|
|
417
417
|
return b(x);
|
|
418
418
|
if (F)
|
|
419
|
-
return L = setTimeout(S,
|
|
419
|
+
return L = setTimeout(S, g), J(x);
|
|
420
420
|
}
|
|
421
|
-
return L === void 0 && (L = setTimeout(S,
|
|
421
|
+
return L === void 0 && (L = setTimeout(S, g)), P;
|
|
422
422
|
}
|
|
423
423
|
return z.cancel = j, z.flush = H, z;
|
|
424
424
|
}
|
|
425
425
|
function k(p) {
|
|
426
|
-
var
|
|
427
|
-
return !!p && (
|
|
426
|
+
var g = typeof p;
|
|
427
|
+
return !!p && (g == "object" || g == "function");
|
|
428
428
|
}
|
|
429
429
|
function N(p) {
|
|
430
430
|
return !!p && typeof p == "object";
|
|
@@ -432,20 +432,20 @@ function kn() {
|
|
|
432
432
|
function q(p) {
|
|
433
433
|
return typeof p == "symbol" || N(p) && R.call(p) == r;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function U(p) {
|
|
436
436
|
if (typeof p == "number")
|
|
437
437
|
return p;
|
|
438
438
|
if (q(p))
|
|
439
439
|
return t;
|
|
440
440
|
if (k(p)) {
|
|
441
|
-
var
|
|
442
|
-
p = k(
|
|
441
|
+
var g = typeof p.valueOf == "function" ? p.valueOf() : p;
|
|
442
|
+
p = k(g) ? g + "" : g;
|
|
443
443
|
}
|
|
444
444
|
if (typeof p != "string")
|
|
445
445
|
return p === 0 ? p : +p;
|
|
446
446
|
p = p.replace(o, "");
|
|
447
|
-
var
|
|
448
|
-
return
|
|
447
|
+
var y = a.test(p);
|
|
448
|
+
return y || l.test(p) ? f(p.slice(2), y ? 2 : 8) : i.test(p) ? t : +p;
|
|
449
449
|
}
|
|
450
450
|
return Ct = M, Ct;
|
|
451
451
|
}
|
|
@@ -494,7 +494,7 @@ function Rr() {
|
|
|
494
494
|
Object.defineProperty(e, "__esModule", {
|
|
495
495
|
value: !0
|
|
496
496
|
}), e.default = void 0;
|
|
497
|
-
var t = r(
|
|
497
|
+
var t = r(B);
|
|
498
498
|
function r(i) {
|
|
499
499
|
return i && i.__esModule ? i : { default: i };
|
|
500
500
|
}
|
|
@@ -570,7 +570,7 @@ function Ge() {
|
|
|
570
570
|
rr = 1, Object.defineProperty(W, "__esModule", {
|
|
571
571
|
value: !0
|
|
572
572
|
}), W.checkSpecKeys = W.checkNavigable = W.changeSlide = W.canUseDOM = W.canGoNext = void 0, W.clamp = h, W.extractObject = void 0, W.filterSettings = J, W.validSettings = W.swipeStart = W.swipeMove = W.swipeEnd = W.slidesOnRight = W.slidesOnLeft = W.slideHandler = W.siblingDirection = W.safePreventDefault = W.lazyStartIndex = W.lazySlidesOnRight = W.lazySlidesOnLeft = W.lazyEndIndex = W.keyHandler = W.initializedState = W.getWidth = W.getTrackLeft = W.getTrackCSS = W.getTrackAnimateCSS = W.getTotalSlides = W.getSwipeDirection = W.getSlideCount = W.getRequiredLazySlides = W.getPreClones = W.getPostClones = W.getOnDemandLazySlides = W.getNavigableIndexes = W.getHeight = void 0;
|
|
573
|
-
var e = r(
|
|
573
|
+
var e = r(B), t = r(Rr());
|
|
574
574
|
function r(b) {
|
|
575
575
|
return b && b.__esModule ? b : { default: b };
|
|
576
576
|
}
|
|
@@ -810,11 +810,11 @@ function Ge() {
|
|
|
810
810
|
switch (le) {
|
|
811
811
|
case "left":
|
|
812
812
|
case "up":
|
|
813
|
-
ue = ce +
|
|
813
|
+
ue = ce + g(u), ae = V ? p(u, ue) : ue, K.currentDirection = 0;
|
|
814
814
|
break;
|
|
815
815
|
case "right":
|
|
816
816
|
case "down":
|
|
817
|
-
ue = ce -
|
|
817
|
+
ue = ce - g(u), ae = V ? p(u, ue) : ue, K.currentDirection = 1;
|
|
818
818
|
break;
|
|
819
819
|
default:
|
|
820
820
|
ae = ce;
|
|
@@ -828,12 +828,12 @@ function Ge() {
|
|
|
828
828
|
}
|
|
829
829
|
return K;
|
|
830
830
|
};
|
|
831
|
-
var
|
|
831
|
+
var U = W.getNavigableIndexes = function(n) {
|
|
832
832
|
for (var u = n.infinite ? n.slideCount * 2 : n.slideCount, S = n.infinite ? n.slidesToShow * -1 : 0, I = n.infinite ? n.slidesToShow * -1 : 0, j = []; S < u; )
|
|
833
833
|
j.push(S), S = I + n.slidesToScroll, I += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
834
834
|
return j;
|
|
835
835
|
}, p = W.checkNavigable = function(n, u) {
|
|
836
|
-
var S =
|
|
836
|
+
var S = U(n), I = 0;
|
|
837
837
|
if (u > S[S.length - 1])
|
|
838
838
|
u = S[S.length - 1];
|
|
839
839
|
else
|
|
@@ -845,7 +845,7 @@ function Ge() {
|
|
|
845
845
|
I = S[j];
|
|
846
846
|
}
|
|
847
847
|
return u;
|
|
848
|
-
},
|
|
848
|
+
}, g = W.getSlideCount = function(n) {
|
|
849
849
|
var u = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
850
850
|
if (n.swipeToSlide) {
|
|
851
851
|
var S, I = n.listRef, j = I.querySelectorAll && I.querySelectorAll(".slick-slide") || [];
|
|
@@ -862,12 +862,12 @@ function Ge() {
|
|
|
862
862
|
return z;
|
|
863
863
|
} else
|
|
864
864
|
return n.slidesToScroll;
|
|
865
|
-
},
|
|
865
|
+
}, y = W.checkSpecKeys = function(n, u) {
|
|
866
866
|
return u.reduce(function(S, I) {
|
|
867
867
|
return S && n.hasOwnProperty(I);
|
|
868
868
|
}, !0) ? null : console.error("Keys Missing:", n);
|
|
869
869
|
}, O = W.getTrackCSS = function(n) {
|
|
870
|
-
|
|
870
|
+
y(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
871
871
|
var u, S;
|
|
872
872
|
if (!n.vertical)
|
|
873
873
|
u = x(n) * n.slideWidth;
|
|
@@ -893,13 +893,13 @@ function Ge() {
|
|
|
893
893
|
opacity: 1
|
|
894
894
|
}), u && (j.width = u), S && (j.height = S), window && !window.addEventListener && window.attachEvent && (n.vertical ? j.marginTop = n.left + "px" : j.marginLeft = n.left + "px"), j;
|
|
895
895
|
}, m = W.getTrackAnimateCSS = function(n) {
|
|
896
|
-
|
|
896
|
+
y(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
897
897
|
var u = O(n);
|
|
898
898
|
return n.useTransform ? (u.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, u.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? u.transition = "top " + n.speed + "ms " + n.cssEase : u.transition = "left " + n.speed + "ms " + n.cssEase, u;
|
|
899
899
|
}, c = W.getTrackLeft = function(n) {
|
|
900
900
|
if (n.unslick)
|
|
901
901
|
return 0;
|
|
902
|
-
|
|
902
|
+
y(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
903
903
|
var u = n.slideIndex, S = n.trackRef, I = n.infinite, j = n.centerMode, H = n.slideCount, z = n.slidesToShow, $ = n.slidesToScroll, Y = n.slideWidth, V = n.listWidth, X = n.variableWidth, re = n.slideHeight, ie = n.fade, Q = n.vertical, Z = 0, ne, le, K = 0;
|
|
904
904
|
if (ie || n.slideCount === 1)
|
|
905
905
|
return 0;
|
|
@@ -954,7 +954,7 @@ function On() {
|
|
|
954
954
|
nr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
955
955
|
value: !0
|
|
956
956
|
}), Fe.Track = void 0;
|
|
957
|
-
var e = o(
|
|
957
|
+
var e = o(B), t = o(pt()), r = Ge();
|
|
958
958
|
function o(m) {
|
|
959
959
|
return m && m.__esModule ? m : { default: m };
|
|
960
960
|
}
|
|
@@ -1057,10 +1057,10 @@ function On() {
|
|
|
1057
1057
|
return (c = q(c)) in m ? Object.defineProperty(m, c, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : m[c] = P, m;
|
|
1058
1058
|
}
|
|
1059
1059
|
function q(m) {
|
|
1060
|
-
var c =
|
|
1060
|
+
var c = U(m, "string");
|
|
1061
1061
|
return i(c) == "symbol" ? c : c + "";
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function U(m, c) {
|
|
1064
1064
|
if (i(m) != "object" || !m) return m;
|
|
1065
1065
|
var P = m[Symbol.toPrimitive];
|
|
1066
1066
|
if (P !== void 0) {
|
|
@@ -1084,10 +1084,10 @@ function On() {
|
|
|
1084
1084
|
"slick-current": s
|
|
1085
1085
|
// dubious in case of RTL
|
|
1086
1086
|
};
|
|
1087
|
-
},
|
|
1087
|
+
}, g = function(c) {
|
|
1088
1088
|
var P = {};
|
|
1089
1089
|
return (c.variableWidth === void 0 || c.variableWidth === !1) && (P.width = c.slideWidth), c.fade && (P.position = "relative", c.vertical ? P.top = -c.index * parseInt(c.slideHeight) : P.left = -c.index * parseInt(c.slideWidth), P.opacity = c.currentSlide === c.index ? 1 : 0, P.zIndex = c.currentSlide === c.index ? 999 : 998, c.useCSS && (P.transition = "opacity " + c.speed + "ms " + c.cssEase + ", visibility " + c.speed + "ms " + c.cssEase)), P;
|
|
1090
|
-
},
|
|
1090
|
+
}, y = function(c, P) {
|
|
1091
1091
|
return c.key || P;
|
|
1092
1092
|
}, O = function(c) {
|
|
1093
1093
|
var P, L = [], x = [], T = [], D = e.default.Children.count(c.children), F = (0, r.lazyStartIndex)(c), s = (0, r.lazyEndIndex)(c);
|
|
@@ -1099,13 +1099,13 @@ function On() {
|
|
|
1099
1099
|
currentSlide: c.currentSlide
|
|
1100
1100
|
};
|
|
1101
1101
|
!c.lazyLoad || c.lazyLoad && c.lazyLoadedList.indexOf(b) >= 0 ? n = J : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1102
|
-
var S =
|
|
1102
|
+
var S = g(k(k({}, c), {}, {
|
|
1103
1103
|
index: b
|
|
1104
1104
|
})), I = n.props.className || "", j = p(k(k({}, c), {}, {
|
|
1105
1105
|
index: b
|
|
1106
1106
|
}));
|
|
1107
1107
|
if (L.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1108
|
-
key: "original" +
|
|
1108
|
+
key: "original" + y(n, b),
|
|
1109
1109
|
"data-index": b,
|
|
1110
1110
|
className: (0, t.default)(j, I),
|
|
1111
1111
|
tabIndex: "-1",
|
|
@@ -1121,7 +1121,7 @@ function On() {
|
|
|
1121
1121
|
H <= (0, r.getPreClones)(c) && (P = -H, P >= F && (n = J), j = p(k(k({}, c), {}, {
|
|
1122
1122
|
index: P
|
|
1123
1123
|
})), x.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1124
|
-
key: "precloned" +
|
|
1124
|
+
key: "precloned" + y(n, P),
|
|
1125
1125
|
"data-index": P,
|
|
1126
1126
|
tabIndex: "-1",
|
|
1127
1127
|
className: (0, t.default)(j, I),
|
|
@@ -1133,7 +1133,7 @@ function On() {
|
|
|
1133
1133
|
}))), b < (0, r.getPostClones)(c) && (P = D + b, P < s && (n = J), j = p(k(k({}, c), {}, {
|
|
1134
1134
|
index: P
|
|
1135
1135
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1136
|
-
key: "postcloned" +
|
|
1136
|
+
key: "postcloned" + y(n, P),
|
|
1137
1137
|
"data-index": P,
|
|
1138
1138
|
tabIndex: "-1",
|
|
1139
1139
|
className: (0, t.default)(j, I),
|
|
@@ -1181,92 +1181,92 @@ function Cn() {
|
|
|
1181
1181
|
ir = 1;
|
|
1182
1182
|
function e(p) {
|
|
1183
1183
|
"@babel/helpers - typeof";
|
|
1184
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1185
|
-
return typeof
|
|
1186
|
-
} : function(
|
|
1187
|
-
return
|
|
1184
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(g) {
|
|
1185
|
+
return typeof g;
|
|
1186
|
+
} : function(g) {
|
|
1187
|
+
return g && typeof Symbol == "function" && g.constructor === Symbol && g !== Symbol.prototype ? "symbol" : typeof g;
|
|
1188
1188
|
}, e(p);
|
|
1189
1189
|
}
|
|
1190
1190
|
Object.defineProperty($e, "__esModule", {
|
|
1191
1191
|
value: !0
|
|
1192
1192
|
}), $e.Dots = void 0;
|
|
1193
|
-
var t = i(
|
|
1193
|
+
var t = i(B), r = i(pt()), o = Ge();
|
|
1194
1194
|
function i(p) {
|
|
1195
1195
|
return p && p.__esModule ? p : { default: p };
|
|
1196
1196
|
}
|
|
1197
|
-
function a(p,
|
|
1198
|
-
var
|
|
1197
|
+
function a(p, g) {
|
|
1198
|
+
var y = Object.keys(p);
|
|
1199
1199
|
if (Object.getOwnPropertySymbols) {
|
|
1200
1200
|
var O = Object.getOwnPropertySymbols(p);
|
|
1201
|
-
|
|
1201
|
+
g && (O = O.filter(function(m) {
|
|
1202
1202
|
return Object.getOwnPropertyDescriptor(p, m).enumerable;
|
|
1203
|
-
})),
|
|
1203
|
+
})), y.push.apply(y, O);
|
|
1204
1204
|
}
|
|
1205
|
-
return
|
|
1205
|
+
return y;
|
|
1206
1206
|
}
|
|
1207
1207
|
function l(p) {
|
|
1208
|
-
for (var
|
|
1209
|
-
var
|
|
1210
|
-
|
|
1211
|
-
f(p, O,
|
|
1212
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(
|
|
1213
|
-
Object.defineProperty(p, O, Object.getOwnPropertyDescriptor(
|
|
1208
|
+
for (var g = 1; g < arguments.length; g++) {
|
|
1209
|
+
var y = arguments[g] != null ? arguments[g] : {};
|
|
1210
|
+
g % 2 ? a(Object(y), !0).forEach(function(O) {
|
|
1211
|
+
f(p, O, y[O]);
|
|
1212
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(y)) : a(Object(y)).forEach(function(O) {
|
|
1213
|
+
Object.defineProperty(p, O, Object.getOwnPropertyDescriptor(y, O));
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
1216
|
return p;
|
|
1217
1217
|
}
|
|
1218
|
-
function f(p,
|
|
1219
|
-
return (
|
|
1218
|
+
function f(p, g, y) {
|
|
1219
|
+
return (g = E(g)) in p ? Object.defineProperty(p, g, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : p[g] = y, p;
|
|
1220
1220
|
}
|
|
1221
|
-
function d(p,
|
|
1222
|
-
if (!(p instanceof
|
|
1221
|
+
function d(p, g) {
|
|
1222
|
+
if (!(p instanceof g)) throw new TypeError("Cannot call a class as a function");
|
|
1223
1223
|
}
|
|
1224
|
-
function h(p,
|
|
1225
|
-
for (var
|
|
1226
|
-
var O = y
|
|
1224
|
+
function h(p, g) {
|
|
1225
|
+
for (var y = 0; y < g.length; y++) {
|
|
1226
|
+
var O = g[y];
|
|
1227
1227
|
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(p, E(O.key), O);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
function w(p,
|
|
1231
|
-
return
|
|
1230
|
+
function w(p, g, y) {
|
|
1231
|
+
return g && h(p.prototype, g), Object.defineProperty(p, "prototype", { writable: !1 }), p;
|
|
1232
1232
|
}
|
|
1233
1233
|
function E(p) {
|
|
1234
|
-
var
|
|
1235
|
-
return e(
|
|
1234
|
+
var g = R(p, "string");
|
|
1235
|
+
return e(g) == "symbol" ? g : g + "";
|
|
1236
1236
|
}
|
|
1237
|
-
function R(p,
|
|
1237
|
+
function R(p, g) {
|
|
1238
1238
|
if (e(p) != "object" || !p) return p;
|
|
1239
|
-
var
|
|
1240
|
-
if (
|
|
1241
|
-
var O =
|
|
1239
|
+
var y = p[Symbol.toPrimitive];
|
|
1240
|
+
if (y !== void 0) {
|
|
1241
|
+
var O = y.call(p, g);
|
|
1242
1242
|
if (e(O) != "object") return O;
|
|
1243
1243
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1244
1244
|
}
|
|
1245
1245
|
return String(p);
|
|
1246
1246
|
}
|
|
1247
|
-
function A(p,
|
|
1248
|
-
if (typeof
|
|
1249
|
-
p.prototype = Object.create(
|
|
1247
|
+
function A(p, g) {
|
|
1248
|
+
if (typeof g != "function" && g !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1249
|
+
p.prototype = Object.create(g && g.prototype, { constructor: { value: p, writable: !0, configurable: !0 } }), Object.defineProperty(p, "prototype", { writable: !1 }), g && C(p, g);
|
|
1250
1250
|
}
|
|
1251
|
-
function C(p,
|
|
1252
|
-
return C = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1253
|
-
return
|
|
1254
|
-
}, C(p,
|
|
1251
|
+
function C(p, g) {
|
|
1252
|
+
return C = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(y, O) {
|
|
1253
|
+
return y.__proto__ = O, y;
|
|
1254
|
+
}, C(p, g);
|
|
1255
1255
|
}
|
|
1256
1256
|
function v(p) {
|
|
1257
|
-
var
|
|
1257
|
+
var g = N();
|
|
1258
1258
|
return function() {
|
|
1259
|
-
var
|
|
1260
|
-
if (
|
|
1259
|
+
var y, O = q(p);
|
|
1260
|
+
if (g) {
|
|
1261
1261
|
var m = q(this).constructor;
|
|
1262
|
-
|
|
1263
|
-
} else
|
|
1264
|
-
return M(this,
|
|
1262
|
+
y = Reflect.construct(O, arguments, m);
|
|
1263
|
+
} else y = O.apply(this, arguments);
|
|
1264
|
+
return M(this, y);
|
|
1265
1265
|
};
|
|
1266
1266
|
}
|
|
1267
|
-
function M(p,
|
|
1268
|
-
if (
|
|
1269
|
-
if (
|
|
1267
|
+
function M(p, g) {
|
|
1268
|
+
if (g && (e(g) == "object" || typeof g == "function")) return g;
|
|
1269
|
+
if (g !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1270
1270
|
return k(p);
|
|
1271
1271
|
}
|
|
1272
1272
|
function k(p) {
|
|
@@ -1284,21 +1284,21 @@ function Cn() {
|
|
|
1284
1284
|
})();
|
|
1285
1285
|
}
|
|
1286
1286
|
function q(p) {
|
|
1287
|
-
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1288
|
-
return
|
|
1287
|
+
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(g) {
|
|
1288
|
+
return g.__proto__ || Object.getPrototypeOf(g);
|
|
1289
1289
|
}, q(p);
|
|
1290
1290
|
}
|
|
1291
|
-
var
|
|
1292
|
-
var
|
|
1293
|
-
return
|
|
1291
|
+
var U = function(g) {
|
|
1292
|
+
var y;
|
|
1293
|
+
return g.infinite ? y = Math.ceil(g.slideCount / g.slidesToScroll) : y = Math.ceil((g.slideCount - g.slidesToShow) / g.slidesToScroll) + 1, y;
|
|
1294
1294
|
};
|
|
1295
1295
|
return $e.Dots = /* @__PURE__ */ function(p) {
|
|
1296
|
-
A(
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1299
|
-
return d(this,
|
|
1296
|
+
A(y, p);
|
|
1297
|
+
var g = v(y);
|
|
1298
|
+
function y() {
|
|
1299
|
+
return d(this, y), g.apply(this, arguments);
|
|
1300
1300
|
}
|
|
1301
|
-
return w(
|
|
1301
|
+
return w(y, [{
|
|
1302
1302
|
key: "clickHandler",
|
|
1303
1303
|
value: function(m, c) {
|
|
1304
1304
|
c.preventDefault(), this.props.clickHandler(m);
|
|
@@ -1306,7 +1306,7 @@ function Cn() {
|
|
|
1306
1306
|
}, {
|
|
1307
1307
|
key: "render",
|
|
1308
1308
|
value: function() {
|
|
1309
|
-
for (var m = this.props, c = m.onMouseEnter, P = m.onMouseOver, L = m.onMouseLeave, x = m.infinite, T = m.slidesToScroll, D = m.slidesToShow, F = m.slideCount, s = m.currentSlide, J =
|
|
1309
|
+
for (var m = this.props, c = m.onMouseEnter, P = m.onMouseOver, L = m.onMouseLeave, x = m.infinite, T = m.slidesToScroll, D = m.slidesToShow, F = m.slideCount, s = m.currentSlide, J = U({
|
|
1310
1310
|
slideCount: F,
|
|
1311
1311
|
slidesToScroll: T,
|
|
1312
1312
|
slidesToShow: D,
|
|
@@ -1335,7 +1335,7 @@ function Cn() {
|
|
|
1335
1335
|
className: this.props.dotsClass
|
|
1336
1336
|
}, b));
|
|
1337
1337
|
}
|
|
1338
|
-
}]),
|
|
1338
|
+
}]), y;
|
|
1339
1339
|
}(t.default.PureComponent), $e;
|
|
1340
1340
|
}
|
|
1341
1341
|
var Ee = {}, or;
|
|
@@ -1344,102 +1344,102 @@ function Pn() {
|
|
|
1344
1344
|
or = 1;
|
|
1345
1345
|
function e(p) {
|
|
1346
1346
|
"@babel/helpers - typeof";
|
|
1347
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1348
|
-
return typeof
|
|
1349
|
-
} : function(
|
|
1350
|
-
return
|
|
1347
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(g) {
|
|
1348
|
+
return typeof g;
|
|
1349
|
+
} : function(g) {
|
|
1350
|
+
return g && typeof Symbol == "function" && g.constructor === Symbol && g !== Symbol.prototype ? "symbol" : typeof g;
|
|
1351
1351
|
}, e(p);
|
|
1352
1352
|
}
|
|
1353
1353
|
Object.defineProperty(Ee, "__esModule", {
|
|
1354
1354
|
value: !0
|
|
1355
1355
|
}), Ee.PrevArrow = Ee.NextArrow = void 0;
|
|
1356
|
-
var t = i(
|
|
1356
|
+
var t = i(B), r = i(pt()), o = Ge();
|
|
1357
1357
|
function i(p) {
|
|
1358
1358
|
return p && p.__esModule ? p : { default: p };
|
|
1359
1359
|
}
|
|
1360
1360
|
function a() {
|
|
1361
1361
|
return a = Object.assign ? Object.assign.bind() : function(p) {
|
|
1362
|
-
for (var
|
|
1363
|
-
var
|
|
1364
|
-
for (var O in
|
|
1365
|
-
({}).hasOwnProperty.call(
|
|
1362
|
+
for (var g = 1; g < arguments.length; g++) {
|
|
1363
|
+
var y = arguments[g];
|
|
1364
|
+
for (var O in y)
|
|
1365
|
+
({}).hasOwnProperty.call(y, O) && (p[O] = y[O]);
|
|
1366
1366
|
}
|
|
1367
1367
|
return p;
|
|
1368
1368
|
}, a.apply(null, arguments);
|
|
1369
1369
|
}
|
|
1370
|
-
function l(p,
|
|
1371
|
-
var
|
|
1370
|
+
function l(p, g) {
|
|
1371
|
+
var y = Object.keys(p);
|
|
1372
1372
|
if (Object.getOwnPropertySymbols) {
|
|
1373
1373
|
var O = Object.getOwnPropertySymbols(p);
|
|
1374
|
-
|
|
1374
|
+
g && (O = O.filter(function(m) {
|
|
1375
1375
|
return Object.getOwnPropertyDescriptor(p, m).enumerable;
|
|
1376
|
-
})),
|
|
1376
|
+
})), y.push.apply(y, O);
|
|
1377
1377
|
}
|
|
1378
|
-
return
|
|
1378
|
+
return y;
|
|
1379
1379
|
}
|
|
1380
1380
|
function f(p) {
|
|
1381
|
-
for (var
|
|
1382
|
-
var
|
|
1383
|
-
|
|
1384
|
-
d(p, O,
|
|
1385
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(
|
|
1386
|
-
Object.defineProperty(p, O, Object.getOwnPropertyDescriptor(
|
|
1381
|
+
for (var g = 1; g < arguments.length; g++) {
|
|
1382
|
+
var y = arguments[g] != null ? arguments[g] : {};
|
|
1383
|
+
g % 2 ? l(Object(y), !0).forEach(function(O) {
|
|
1384
|
+
d(p, O, y[O]);
|
|
1385
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(y)) : l(Object(y)).forEach(function(O) {
|
|
1386
|
+
Object.defineProperty(p, O, Object.getOwnPropertyDescriptor(y, O));
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
1389
|
return p;
|
|
1390
1390
|
}
|
|
1391
|
-
function d(p,
|
|
1392
|
-
return (
|
|
1391
|
+
function d(p, g, y) {
|
|
1392
|
+
return (g = R(g)) in p ? Object.defineProperty(p, g, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : p[g] = y, p;
|
|
1393
1393
|
}
|
|
1394
|
-
function h(p,
|
|
1395
|
-
if (!(p instanceof
|
|
1394
|
+
function h(p, g) {
|
|
1395
|
+
if (!(p instanceof g)) throw new TypeError("Cannot call a class as a function");
|
|
1396
1396
|
}
|
|
1397
|
-
function w(p,
|
|
1398
|
-
for (var
|
|
1399
|
-
var O = y
|
|
1397
|
+
function w(p, g) {
|
|
1398
|
+
for (var y = 0; y < g.length; y++) {
|
|
1399
|
+
var O = g[y];
|
|
1400
1400
|
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(p, R(O.key), O);
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
function E(p,
|
|
1404
|
-
return
|
|
1403
|
+
function E(p, g, y) {
|
|
1404
|
+
return g && w(p.prototype, g), Object.defineProperty(p, "prototype", { writable: !1 }), p;
|
|
1405
1405
|
}
|
|
1406
1406
|
function R(p) {
|
|
1407
|
-
var
|
|
1408
|
-
return e(
|
|
1407
|
+
var g = A(p, "string");
|
|
1408
|
+
return e(g) == "symbol" ? g : g + "";
|
|
1409
1409
|
}
|
|
1410
|
-
function A(p,
|
|
1410
|
+
function A(p, g) {
|
|
1411
1411
|
if (e(p) != "object" || !p) return p;
|
|
1412
|
-
var
|
|
1413
|
-
if (
|
|
1414
|
-
var O =
|
|
1412
|
+
var y = p[Symbol.toPrimitive];
|
|
1413
|
+
if (y !== void 0) {
|
|
1414
|
+
var O = y.call(p, g);
|
|
1415
1415
|
if (e(O) != "object") return O;
|
|
1416
1416
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1417
1417
|
}
|
|
1418
1418
|
return String(p);
|
|
1419
1419
|
}
|
|
1420
|
-
function C(p,
|
|
1421
|
-
if (typeof
|
|
1422
|
-
p.prototype = Object.create(
|
|
1420
|
+
function C(p, g) {
|
|
1421
|
+
if (typeof g != "function" && g !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1422
|
+
p.prototype = Object.create(g && g.prototype, { constructor: { value: p, writable: !0, configurable: !0 } }), Object.defineProperty(p, "prototype", { writable: !1 }), g && v(p, g);
|
|
1423
1423
|
}
|
|
1424
|
-
function v(p,
|
|
1425
|
-
return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1426
|
-
return
|
|
1427
|
-
}, v(p,
|
|
1424
|
+
function v(p, g) {
|
|
1425
|
+
return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(y, O) {
|
|
1426
|
+
return y.__proto__ = O, y;
|
|
1427
|
+
}, v(p, g);
|
|
1428
1428
|
}
|
|
1429
1429
|
function M(p) {
|
|
1430
|
-
var
|
|
1430
|
+
var g = q();
|
|
1431
1431
|
return function() {
|
|
1432
|
-
var
|
|
1433
|
-
if (
|
|
1434
|
-
var m =
|
|
1435
|
-
|
|
1436
|
-
} else
|
|
1437
|
-
return k(this,
|
|
1432
|
+
var y, O = U(p);
|
|
1433
|
+
if (g) {
|
|
1434
|
+
var m = U(this).constructor;
|
|
1435
|
+
y = Reflect.construct(O, arguments, m);
|
|
1436
|
+
} else y = O.apply(this, arguments);
|
|
1437
|
+
return k(this, y);
|
|
1438
1438
|
};
|
|
1439
1439
|
}
|
|
1440
|
-
function k(p,
|
|
1441
|
-
if (
|
|
1442
|
-
if (
|
|
1440
|
+
function k(p, g) {
|
|
1441
|
+
if (g && (e(g) == "object" || typeof g == "function")) return g;
|
|
1442
|
+
if (g !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1443
1443
|
return N(p);
|
|
1444
1444
|
}
|
|
1445
1445
|
function N(p) {
|
|
@@ -1456,18 +1456,18 @@ function Pn() {
|
|
|
1456
1456
|
return !!p;
|
|
1457
1457
|
})();
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1460
|
-
return
|
|
1461
|
-
return
|
|
1462
|
-
},
|
|
1459
|
+
function U(p) {
|
|
1460
|
+
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(g) {
|
|
1461
|
+
return g.__proto__ || Object.getPrototypeOf(g);
|
|
1462
|
+
}, U(p);
|
|
1463
1463
|
}
|
|
1464
1464
|
return Ee.PrevArrow = /* @__PURE__ */ function(p) {
|
|
1465
|
-
C(
|
|
1466
|
-
var
|
|
1467
|
-
function
|
|
1468
|
-
return h(this,
|
|
1465
|
+
C(y, p);
|
|
1466
|
+
var g = M(y);
|
|
1467
|
+
function y() {
|
|
1468
|
+
return h(this, y), g.apply(this, arguments);
|
|
1469
1469
|
}
|
|
1470
|
-
return E(
|
|
1470
|
+
return E(y, [{
|
|
1471
1471
|
key: "clickHandler",
|
|
1472
1472
|
value: function(m, c) {
|
|
1473
1473
|
c && c.preventDefault(), this.props.clickHandler(m, c);
|
|
@@ -1499,14 +1499,14 @@ function Pn() {
|
|
|
1499
1499
|
type: "button"
|
|
1500
1500
|
}, P), " ", "Previous"), x;
|
|
1501
1501
|
}
|
|
1502
|
-
}]),
|
|
1502
|
+
}]), y;
|
|
1503
1503
|
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(p) {
|
|
1504
|
-
C(
|
|
1505
|
-
var
|
|
1506
|
-
function
|
|
1507
|
-
return h(this,
|
|
1504
|
+
C(y, p);
|
|
1505
|
+
var g = M(y);
|
|
1506
|
+
function y() {
|
|
1507
|
+
return h(this, y), g.apply(this, arguments);
|
|
1508
1508
|
}
|
|
1509
|
-
return E(
|
|
1509
|
+
return E(y, [{
|
|
1510
1510
|
key: "clickHandler",
|
|
1511
1511
|
value: function(m, c) {
|
|
1512
1512
|
c && c.preventDefault(), this.props.clickHandler(m, c);
|
|
@@ -1538,7 +1538,7 @@ function Pn() {
|
|
|
1538
1538
|
type: "button"
|
|
1539
1539
|
}, P), " ", "Next"), x;
|
|
1540
1540
|
}
|
|
1541
|
-
}]),
|
|
1541
|
+
}]), y;
|
|
1542
1542
|
}(t.default.PureComponent), Ee;
|
|
1543
1543
|
}
|
|
1544
1544
|
var _r = function() {
|
|
@@ -1825,20 +1825,20 @@ var $n = (
|
|
|
1825
1825
|
return (t = Lr.get(this))[e].apply(t, arguments);
|
|
1826
1826
|
};
|
|
1827
1827
|
});
|
|
1828
|
-
var
|
|
1828
|
+
var Bn = function() {
|
|
1829
1829
|
return typeof ct.ResizeObserver < "u" ? ct.ResizeObserver : Dr;
|
|
1830
1830
|
}();
|
|
1831
|
-
const
|
|
1831
|
+
const Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1832
1832
|
__proto__: null,
|
|
1833
|
-
default:
|
|
1834
|
-
}, Symbol.toStringTag, { value: "Module" })), Yn = /* @__PURE__ */
|
|
1833
|
+
default: Bn
|
|
1834
|
+
}, Symbol.toStringTag, { value: "Module" })), Yn = /* @__PURE__ */ yn(Un);
|
|
1835
1835
|
var sr;
|
|
1836
1836
|
function Vn() {
|
|
1837
1837
|
if (sr) return Ne;
|
|
1838
1838
|
sr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1839
1839
|
value: !0
|
|
1840
1840
|
}), Ne.InnerSlider = void 0;
|
|
1841
|
-
var e = h(
|
|
1841
|
+
var e = h(B), t = h(xn()), r = h(kn()), o = h(pt()), i = Ge(), a = On(), l = Cn(), f = Pn(), d = h(Yn);
|
|
1842
1842
|
function h(x) {
|
|
1843
1843
|
return x && x.__esModule ? x : { default: x };
|
|
1844
1844
|
}
|
|
@@ -1915,12 +1915,12 @@ function Vn() {
|
|
|
1915
1915
|
}
|
|
1916
1916
|
function q(x, T) {
|
|
1917
1917
|
if (typeof T != "function" && T !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1918
|
-
x.prototype = Object.create(T && T.prototype, { constructor: { value: x, writable: !0, configurable: !0 } }), Object.defineProperty(x, "prototype", { writable: !1 }), T &&
|
|
1918
|
+
x.prototype = Object.create(T && T.prototype, { constructor: { value: x, writable: !0, configurable: !0 } }), Object.defineProperty(x, "prototype", { writable: !1 }), T && U(x, T);
|
|
1919
1919
|
}
|
|
1920
|
-
function
|
|
1921
|
-
return
|
|
1920
|
+
function U(x, T) {
|
|
1921
|
+
return U = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(D, F) {
|
|
1922
1922
|
return D.__proto__ = F, D;
|
|
1923
|
-
},
|
|
1923
|
+
}, U(x, T);
|
|
1924
1924
|
}
|
|
1925
1925
|
function p(x) {
|
|
1926
1926
|
var T = O();
|
|
@@ -1930,15 +1930,15 @@ function Vn() {
|
|
|
1930
1930
|
var s = m(this).constructor;
|
|
1931
1931
|
D = Reflect.construct(F, arguments, s);
|
|
1932
1932
|
} else D = F.apply(this, arguments);
|
|
1933
|
-
return
|
|
1933
|
+
return g(this, D);
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1936
|
+
function g(x, T) {
|
|
1937
1937
|
if (T && (w(T) == "object" || typeof T == "function")) return T;
|
|
1938
1938
|
if (T !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1939
|
-
return
|
|
1939
|
+
return y(x);
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function y(x) {
|
|
1942
1942
|
if (x === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1943
1943
|
return x;
|
|
1944
1944
|
}
|
|
@@ -1979,16 +1979,16 @@ function Vn() {
|
|
|
1979
1979
|
var T = p(D);
|
|
1980
1980
|
function D(F) {
|
|
1981
1981
|
var s;
|
|
1982
|
-
M(this, D), s = T.call(this, F), c(
|
|
1982
|
+
M(this, D), s = T.call(this, F), c(y(s), "listRefHandler", function(b) {
|
|
1983
1983
|
return s.list = b;
|
|
1984
|
-
}), c(
|
|
1984
|
+
}), c(y(s), "trackRefHandler", function(b) {
|
|
1985
1985
|
return s.track = b;
|
|
1986
|
-
}), c(
|
|
1986
|
+
}), c(y(s), "adaptHeight", function() {
|
|
1987
1987
|
if (s.props.adaptiveHeight && s.list) {
|
|
1988
1988
|
var b = s.list.querySelector('[data-index="'.concat(s.state.currentSlide, '"]'));
|
|
1989
1989
|
s.list.style.height = (0, i.getHeight)(b) + "px";
|
|
1990
1990
|
}
|
|
1991
|
-
}), c(
|
|
1991
|
+
}), c(y(s), "componentDidMount", function() {
|
|
1992
1992
|
if (s.props.onInit && s.props.onInit(), s.props.lazyLoad) {
|
|
1993
1993
|
var b = (0, i.getOnDemandLazySlides)(v(v({}, s.props), s.state));
|
|
1994
1994
|
b.length > 0 && (s.setState(function(u) {
|
|
@@ -2010,11 +2010,11 @@ function Vn() {
|
|
|
2010
2010
|
}), s.ro.observe(s.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(u) {
|
|
2011
2011
|
u.onfocus = s.props.pauseOnFocus ? s.onSlideFocus : null, u.onblur = s.props.pauseOnFocus ? s.onSlideBlur : null;
|
|
2012
2012
|
}), window.addEventListener ? window.addEventListener("resize", s.onWindowResized) : window.attachEvent("onresize", s.onWindowResized);
|
|
2013
|
-
}), c(
|
|
2013
|
+
}), c(y(s), "componentWillUnmount", function() {
|
|
2014
2014
|
s.animationEndCallback && clearTimeout(s.animationEndCallback), s.lazyLoadTimer && clearInterval(s.lazyLoadTimer), s.callbackTimers.length && (s.callbackTimers.forEach(function(b) {
|
|
2015
2015
|
return clearTimeout(b);
|
|
2016
2016
|
}), s.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", s.onWindowResized) : window.detachEvent("onresize", s.onWindowResized), s.autoplayTimer && clearInterval(s.autoplayTimer), s.ro.disconnect();
|
|
2017
|
-
}), c(
|
|
2017
|
+
}), c(y(s), "componentDidUpdate", function(b) {
|
|
2018
2018
|
if (s.checkImagesLoad(), s.props.onReInit && s.props.onReInit(), s.props.lazyLoad) {
|
|
2019
2019
|
var n = (0, i.getOnDemandLazySlides)(v(v({}, s.props), s.state));
|
|
2020
2020
|
n.length > 0 && (s.setState(function(I) {
|
|
@@ -2035,11 +2035,11 @@ function Vn() {
|
|
|
2035
2035
|
currentSlide: s.state.currentSlide
|
|
2036
2036
|
}), s.props.autoplay ? s.autoPlay("update") : s.pause("paused");
|
|
2037
2037
|
});
|
|
2038
|
-
}), c(
|
|
2038
|
+
}), c(y(s), "onWindowResized", function(b) {
|
|
2039
2039
|
s.debouncedResize && s.debouncedResize.cancel(), s.debouncedResize = (0, r.default)(function() {
|
|
2040
2040
|
return s.resizeWindow(b);
|
|
2041
2041
|
}, 50), s.debouncedResize();
|
|
2042
|
-
}), c(
|
|
2042
|
+
}), c(y(s), "resizeWindow", function() {
|
|
2043
2043
|
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, n = !!(s.track && s.track.node);
|
|
2044
2044
|
if (n) {
|
|
2045
2045
|
var u = v(v({
|
|
@@ -2052,7 +2052,7 @@ function Vn() {
|
|
|
2052
2052
|
animating: !1
|
|
2053
2053
|
}), clearTimeout(s.animationEndCallback), delete s.animationEndCallback;
|
|
2054
2054
|
}
|
|
2055
|
-
}), c(
|
|
2055
|
+
}), c(y(s), "updateState", function(b, n, u) {
|
|
2056
2056
|
var S = (0, i.initializedState)(b);
|
|
2057
2057
|
b = v(v(v({}, b), S), {}, {
|
|
2058
2058
|
slideIndex: S.currentSlide
|
|
@@ -2063,7 +2063,7 @@ function Vn() {
|
|
|
2063
2063
|
});
|
|
2064
2064
|
var j = (0, i.getTrackCSS)(b);
|
|
2065
2065
|
(n || e.default.Children.count(s.props.children) !== e.default.Children.count(b.children)) && (S.trackStyle = j), s.setState(S, u);
|
|
2066
|
-
}), c(
|
|
2066
|
+
}), c(y(s), "ssrInit", function() {
|
|
2067
2067
|
if (s.props.variableWidth) {
|
|
2068
2068
|
var b = 0, n = 0, u = [], S = (0, i.getPreClones)(v(v(v({}, s.props), s.state), {}, {
|
|
2069
2069
|
slideCount: s.props.children.length
|
|
@@ -2103,7 +2103,7 @@ function Vn() {
|
|
|
2103
2103
|
slideWidth: Q + "%",
|
|
2104
2104
|
trackStyle: ne
|
|
2105
2105
|
};
|
|
2106
|
-
}), c(
|
|
2106
|
+
}), c(y(s), "checkImagesLoad", function() {
|
|
2107
2107
|
var b = s.list && s.list.querySelectorAll && s.list.querySelectorAll(".slick-slide img") || [], n = b.length, u = 0;
|
|
2108
2108
|
Array.prototype.forEach.call(b, function(S) {
|
|
2109
2109
|
var I = function() {
|
|
@@ -2125,7 +2125,7 @@ function Vn() {
|
|
|
2125
2125
|
I(), s.props.onLazyLoadError && s.props.onLazyLoadError();
|
|
2126
2126
|
}));
|
|
2127
2127
|
});
|
|
2128
|
-
}), c(
|
|
2128
|
+
}), c(y(s), "progressiveLazyLoad", function() {
|
|
2129
2129
|
for (var b = [], n = v(v({}, s.props), s.state), u = s.state.currentSlide; u < s.state.slideCount + (0, i.getPostClones)(n); u++)
|
|
2130
2130
|
if (s.state.lazyLoadedList.indexOf(u) < 0) {
|
|
2131
2131
|
b.push(u);
|
|
@@ -2141,7 +2141,7 @@ function Vn() {
|
|
|
2141
2141
|
lazyLoadedList: I.lazyLoadedList.concat(b)
|
|
2142
2142
|
};
|
|
2143
2143
|
}), s.props.onLazyLoad && s.props.onLazyLoad(b)) : s.lazyLoadTimer && (clearInterval(s.lazyLoadTimer), delete s.lazyLoadTimer);
|
|
2144
|
-
}), c(
|
|
2144
|
+
}), c(y(s), "slideHandler", function(b) {
|
|
2145
2145
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = s.props, S = u.asNavFor, I = u.beforeChange, j = u.onLazyLoad, H = u.speed, z = u.afterChange, $ = s.state.currentSlide, Y = (0, i.slideHandler)(v(v(v({
|
|
2146
2146
|
index: b
|
|
2147
2147
|
}, s.props), s.state), {}, {
|
|
@@ -2166,40 +2166,40 @@ function Vn() {
|
|
|
2166
2166
|
}, H));
|
|
2167
2167
|
});
|
|
2168
2168
|
}
|
|
2169
|
-
}), c(
|
|
2169
|
+
}), c(y(s), "changeSlide", function(b) {
|
|
2170
2170
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = v(v({}, s.props), s.state), S = (0, i.changeSlide)(u, b);
|
|
2171
2171
|
if (!(S !== 0 && !S) && (n === !0 ? s.slideHandler(S, n) : s.slideHandler(S), s.props.autoplay && s.autoPlay("update"), s.props.focusOnSelect)) {
|
|
2172
2172
|
var I = s.list.querySelectorAll(".slick-current");
|
|
2173
2173
|
I[0] && I[0].focus();
|
|
2174
2174
|
}
|
|
2175
|
-
}), c(
|
|
2175
|
+
}), c(y(s), "clickHandler", function(b) {
|
|
2176
2176
|
s.clickable === !1 && (b.stopPropagation(), b.preventDefault()), s.clickable = !0;
|
|
2177
|
-
}), c(
|
|
2177
|
+
}), c(y(s), "keyHandler", function(b) {
|
|
2178
2178
|
var n = (0, i.keyHandler)(b, s.props.accessibility, s.props.rtl);
|
|
2179
2179
|
n !== "" && s.changeSlide({
|
|
2180
2180
|
message: n
|
|
2181
2181
|
});
|
|
2182
|
-
}), c(
|
|
2182
|
+
}), c(y(s), "selectHandler", function(b) {
|
|
2183
2183
|
s.changeSlide(b);
|
|
2184
|
-
}), c(
|
|
2184
|
+
}), c(y(s), "disableBodyScroll", function() {
|
|
2185
2185
|
var b = function(u) {
|
|
2186
2186
|
u = u || window.event, u.preventDefault && u.preventDefault(), u.returnValue = !1;
|
|
2187
2187
|
};
|
|
2188
2188
|
window.ontouchmove = b;
|
|
2189
|
-
}), c(
|
|
2189
|
+
}), c(y(s), "enableBodyScroll", function() {
|
|
2190
2190
|
window.ontouchmove = null;
|
|
2191
|
-
}), c(
|
|
2191
|
+
}), c(y(s), "swipeStart", function(b) {
|
|
2192
2192
|
s.props.verticalSwiping && s.disableBodyScroll();
|
|
2193
2193
|
var n = (0, i.swipeStart)(b, s.props.swipe, s.props.draggable);
|
|
2194
2194
|
n !== "" && s.setState(n);
|
|
2195
|
-
}), c(
|
|
2195
|
+
}), c(y(s), "swipeMove", function(b) {
|
|
2196
2196
|
var n = (0, i.swipeMove)(b, v(v(v({}, s.props), s.state), {}, {
|
|
2197
2197
|
trackRef: s.track,
|
|
2198
2198
|
listRef: s.list,
|
|
2199
2199
|
slideIndex: s.state.currentSlide
|
|
2200
2200
|
}));
|
|
2201
2201
|
n && (n.swiping && (s.clickable = !1), s.setState(n));
|
|
2202
|
-
}), c(
|
|
2202
|
+
}), c(y(s), "swipeEnd", function(b) {
|
|
2203
2203
|
var n = (0, i.swipeEnd)(b, v(v(v({}, s.props), s.state), {}, {
|
|
2204
2204
|
trackRef: s.track,
|
|
2205
2205
|
listRef: s.list,
|
|
@@ -2209,21 +2209,21 @@ function Vn() {
|
|
|
2209
2209
|
var u = n.triggerSlideHandler;
|
|
2210
2210
|
delete n.triggerSlideHandler, s.setState(n), u !== void 0 && (s.slideHandler(u), s.props.verticalSwiping && s.enableBodyScroll());
|
|
2211
2211
|
}
|
|
2212
|
-
}), c(
|
|
2212
|
+
}), c(y(s), "touchEnd", function(b) {
|
|
2213
2213
|
s.swipeEnd(b), s.clickable = !0;
|
|
2214
|
-
}), c(
|
|
2214
|
+
}), c(y(s), "slickPrev", function() {
|
|
2215
2215
|
s.callbackTimers.push(setTimeout(function() {
|
|
2216
2216
|
return s.changeSlide({
|
|
2217
2217
|
message: "previous"
|
|
2218
2218
|
});
|
|
2219
2219
|
}, 0));
|
|
2220
|
-
}), c(
|
|
2220
|
+
}), c(y(s), "slickNext", function() {
|
|
2221
2221
|
s.callbackTimers.push(setTimeout(function() {
|
|
2222
2222
|
return s.changeSlide({
|
|
2223
2223
|
message: "next"
|
|
2224
2224
|
});
|
|
2225
2225
|
}, 0));
|
|
2226
|
-
}), c(
|
|
2226
|
+
}), c(y(s), "slickGoTo", function(b) {
|
|
2227
2227
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2228
2228
|
if (b = Number(b), isNaN(b)) return "";
|
|
2229
2229
|
s.callbackTimers.push(setTimeout(function() {
|
|
@@ -2233,7 +2233,7 @@ function Vn() {
|
|
|
2233
2233
|
currentSlide: s.state.currentSlide
|
|
2234
2234
|
}, n);
|
|
2235
2235
|
}, 0));
|
|
2236
|
-
}), c(
|
|
2236
|
+
}), c(y(s), "play", function() {
|
|
2237
2237
|
var b;
|
|
2238
2238
|
if (s.props.rtl)
|
|
2239
2239
|
b = s.state.currentSlide - s.props.slidesToScroll;
|
|
@@ -2242,7 +2242,7 @@ function Vn() {
|
|
|
2242
2242
|
else
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
s.slideHandler(b);
|
|
2245
|
-
}), c(
|
|
2245
|
+
}), c(y(s), "autoPlay", function(b) {
|
|
2246
2246
|
s.autoplayTimer && clearInterval(s.autoplayTimer);
|
|
2247
2247
|
var n = s.state.autoplaying;
|
|
2248
2248
|
if (b === "update") {
|
|
@@ -2256,7 +2256,7 @@ function Vn() {
|
|
|
2256
2256
|
s.autoplayTimer = setInterval(s.play, s.props.autoplaySpeed + 50), s.setState({
|
|
2257
2257
|
autoplaying: "playing"
|
|
2258
2258
|
});
|
|
2259
|
-
}), c(
|
|
2259
|
+
}), c(y(s), "pause", function(b) {
|
|
2260
2260
|
s.autoplayTimer && (clearInterval(s.autoplayTimer), s.autoplayTimer = null);
|
|
2261
2261
|
var n = s.state.autoplaying;
|
|
2262
2262
|
b === "paused" ? s.setState({
|
|
@@ -2266,19 +2266,19 @@ function Vn() {
|
|
|
2266
2266
|
}) : n === "playing" && s.setState({
|
|
2267
2267
|
autoplaying: "hovered"
|
|
2268
2268
|
});
|
|
2269
|
-
}), c(
|
|
2269
|
+
}), c(y(s), "onDotsOver", function() {
|
|
2270
2270
|
return s.props.autoplay && s.pause("hovered");
|
|
2271
|
-
}), c(
|
|
2271
|
+
}), c(y(s), "onDotsLeave", function() {
|
|
2272
2272
|
return s.props.autoplay && s.state.autoplaying === "hovered" && s.autoPlay("leave");
|
|
2273
|
-
}), c(
|
|
2273
|
+
}), c(y(s), "onTrackOver", function() {
|
|
2274
2274
|
return s.props.autoplay && s.pause("hovered");
|
|
2275
|
-
}), c(
|
|
2275
|
+
}), c(y(s), "onTrackLeave", function() {
|
|
2276
2276
|
return s.props.autoplay && s.state.autoplaying === "hovered" && s.autoPlay("leave");
|
|
2277
|
-
}), c(
|
|
2277
|
+
}), c(y(s), "onSlideFocus", function() {
|
|
2278
2278
|
return s.props.autoplay && s.pause("focused");
|
|
2279
|
-
}), c(
|
|
2279
|
+
}), c(y(s), "onSlideBlur", function() {
|
|
2280
2280
|
return s.props.autoplay && s.state.autoplaying === "focused" && s.autoPlay("blur");
|
|
2281
|
-
}), c(
|
|
2281
|
+
}), c(y(s), "render", function() {
|
|
2282
2282
|
var b = (0, o.default)("slick-slider", s.props.className, {
|
|
2283
2283
|
"slick-vertical": s.props.vertical,
|
|
2284
2284
|
"slick-initialized": !0
|
|
@@ -2404,7 +2404,7 @@ function Kn() {
|
|
|
2404
2404
|
Object.defineProperty(e, "__esModule", {
|
|
2405
2405
|
value: !0
|
|
2406
2406
|
}), e.default = void 0;
|
|
2407
|
-
var t = l(
|
|
2407
|
+
var t = l(B), r = Vn(), o = l(Gn()), i = l(Rr()), a = Ge();
|
|
2408
2408
|
function l(O) {
|
|
2409
2409
|
return O && O.__esModule ? O : { default: O };
|
|
2410
2410
|
}
|
|
@@ -2453,7 +2453,7 @@ function Kn() {
|
|
|
2453
2453
|
function R(O, m) {
|
|
2454
2454
|
for (var c = 0; c < m.length; c++) {
|
|
2455
2455
|
var P = m[c];
|
|
2456
|
-
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(O,
|
|
2456
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(O, g(P.key), P);
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
2459
|
function A(O, m, c) {
|
|
@@ -2471,9 +2471,9 @@ function Kn() {
|
|
|
2471
2471
|
function M(O) {
|
|
2472
2472
|
var m = q();
|
|
2473
2473
|
return function() {
|
|
2474
|
-
var c, P =
|
|
2474
|
+
var c, P = U(O);
|
|
2475
2475
|
if (m) {
|
|
2476
|
-
var L =
|
|
2476
|
+
var L = U(this).constructor;
|
|
2477
2477
|
c = Reflect.construct(P, arguments, L);
|
|
2478
2478
|
} else c = P.apply(this, arguments);
|
|
2479
2479
|
return k(this, c);
|
|
@@ -2498,19 +2498,19 @@ function Kn() {
|
|
|
2498
2498
|
return !!O;
|
|
2499
2499
|
})();
|
|
2500
2500
|
}
|
|
2501
|
-
function
|
|
2502
|
-
return
|
|
2501
|
+
function U(O) {
|
|
2502
|
+
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(m) {
|
|
2503
2503
|
return m.__proto__ || Object.getPrototypeOf(m);
|
|
2504
|
-
},
|
|
2504
|
+
}, U(O);
|
|
2505
2505
|
}
|
|
2506
2506
|
function p(O, m, c) {
|
|
2507
|
-
return (m =
|
|
2507
|
+
return (m = g(m)) in O ? Object.defineProperty(O, m, { value: c, enumerable: !0, configurable: !0, writable: !0 }) : O[m] = c, O;
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2510
|
-
var m =
|
|
2509
|
+
function g(O) {
|
|
2510
|
+
var m = y(O, "string");
|
|
2511
2511
|
return f(m) == "symbol" ? m : m + "";
|
|
2512
2512
|
}
|
|
2513
|
-
function
|
|
2513
|
+
function y(O, m) {
|
|
2514
2514
|
if (f(O) != "object" || !O) return O;
|
|
2515
2515
|
var c = O[Symbol.toPrimitive];
|
|
2516
2516
|
if (c !== void 0) {
|
|
@@ -2661,7 +2661,7 @@ function Jn() {
|
|
|
2661
2661
|
}(xt)), xt;
|
|
2662
2662
|
}
|
|
2663
2663
|
var Zn = Jn();
|
|
2664
|
-
const Qn = /* @__PURE__ */
|
|
2664
|
+
const Qn = /* @__PURE__ */ gn(Zn);
|
|
2665
2665
|
function Mt() {
|
|
2666
2666
|
return Mt = Object.assign ? Object.assign.bind() : function(e) {
|
|
2667
2667
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -2730,7 +2730,7 @@ function It(e, t) {
|
|
|
2730
2730
|
function fe(e, t) {
|
|
2731
2731
|
return e.charCodeAt(t) | 0;
|
|
2732
2732
|
}
|
|
2733
|
-
function
|
|
2733
|
+
function Ue(e, t, r) {
|
|
2734
2734
|
return e.slice(t, r);
|
|
2735
2735
|
}
|
|
2736
2736
|
function me(e) {
|
|
@@ -2745,30 +2745,30 @@ function nt(e, t) {
|
|
|
2745
2745
|
function ui(e, t) {
|
|
2746
2746
|
return e.map(t).join("");
|
|
2747
2747
|
}
|
|
2748
|
-
var
|
|
2749
|
-
function
|
|
2750
|
-
return { value: e, root: t, parent: r, type: o, props: i, children: a, line:
|
|
2748
|
+
var gt = 1, Te = 1, zr = 0, he = 0, se = 0, Le = "";
|
|
2749
|
+
function yt(e, t, r, o, i, a, l) {
|
|
2750
|
+
return { value: e, root: t, parent: r, type: o, props: i, children: a, line: gt, column: Te, length: l, return: "" };
|
|
2751
2751
|
}
|
|
2752
2752
|
function We(e, t) {
|
|
2753
|
-
return ai(
|
|
2753
|
+
return ai(yt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
2754
2754
|
}
|
|
2755
2755
|
function ci() {
|
|
2756
2756
|
return se;
|
|
2757
2757
|
}
|
|
2758
2758
|
function fi() {
|
|
2759
|
-
return se = he > 0 ? fe(Le, --he) : 0, Te--, se === 10 && (Te = 1,
|
|
2759
|
+
return se = he > 0 ? fe(Le, --he) : 0, Te--, se === 10 && (Te = 1, gt--), se;
|
|
2760
2760
|
}
|
|
2761
2761
|
function ve() {
|
|
2762
|
-
return se = he < zr ? fe(Le, he++) : 0, Te++, se === 10 && (Te = 1,
|
|
2762
|
+
return se = he < zr ? fe(Le, he++) : 0, Te++, se === 10 && (Te = 1, gt++), se;
|
|
2763
2763
|
}
|
|
2764
|
-
function
|
|
2764
|
+
function ye() {
|
|
2765
2765
|
return fe(Le, he);
|
|
2766
2766
|
}
|
|
2767
2767
|
function ot() {
|
|
2768
2768
|
return he;
|
|
2769
2769
|
}
|
|
2770
2770
|
function Ke(e, t) {
|
|
2771
|
-
return
|
|
2771
|
+
return Ue(Le, e, t);
|
|
2772
2772
|
}
|
|
2773
2773
|
function Ye(e) {
|
|
2774
2774
|
switch (e) {
|
|
@@ -2809,7 +2809,7 @@ function Ye(e) {
|
|
|
2809
2809
|
return 0;
|
|
2810
2810
|
}
|
|
2811
2811
|
function Hr(e) {
|
|
2812
|
-
return
|
|
2812
|
+
return gt = Te = 1, zr = me(Le = e), he = 0, [];
|
|
2813
2813
|
}
|
|
2814
2814
|
function Nr(e) {
|
|
2815
2815
|
return Le = "", e;
|
|
@@ -2818,14 +2818,14 @@ function at(e) {
|
|
|
2818
2818
|
return Ar(Ke(he - 1, At(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2819
2819
|
}
|
|
2820
2820
|
function di(e) {
|
|
2821
|
-
for (; (se =
|
|
2821
|
+
for (; (se = ye()) && se < 33; )
|
|
2822
2822
|
ve();
|
|
2823
2823
|
return Ye(e) > 2 || Ye(se) > 3 ? "" : " ";
|
|
2824
2824
|
}
|
|
2825
2825
|
function hi(e, t) {
|
|
2826
2826
|
for (; --t && ve() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
|
|
2827
2827
|
;
|
|
2828
|
-
return Ke(e, ot() + (t < 6 &&
|
|
2828
|
+
return Ke(e, ot() + (t < 6 && ye() == 32 && ve() == 32));
|
|
2829
2829
|
}
|
|
2830
2830
|
function At(e) {
|
|
2831
2831
|
for (; ve(); )
|
|
@@ -2851,12 +2851,12 @@ function At(e) {
|
|
|
2851
2851
|
}
|
|
2852
2852
|
function pi(e, t) {
|
|
2853
2853
|
for (; ve() && e + se !== 57; )
|
|
2854
|
-
if (e + se === 84 &&
|
|
2854
|
+
if (e + se === 84 && ye() === 47)
|
|
2855
2855
|
break;
|
|
2856
2856
|
return "/*" + Ke(t, he - 1) + "*" + mt(e === 47 ? e : ve());
|
|
2857
2857
|
}
|
|
2858
2858
|
function vi(e) {
|
|
2859
|
-
for (; !Ye(
|
|
2859
|
+
for (; !Ye(ye()); )
|
|
2860
2860
|
ve();
|
|
2861
2861
|
return Ke(e, he);
|
|
2862
2862
|
}
|
|
@@ -2864,45 +2864,45 @@ function mi(e) {
|
|
|
2864
2864
|
return Nr(st("", null, null, null, [""], e = Hr(e), 0, [0], e));
|
|
2865
2865
|
}
|
|
2866
2866
|
function st(e, t, r, o, i, a, l, f, d) {
|
|
2867
|
-
for (var h = 0, w = 0, E = l, R = 0, A = 0, C = 0, v = 1, M = 1, k = 1, N = 0, q = "",
|
|
2867
|
+
for (var h = 0, w = 0, E = l, R = 0, A = 0, C = 0, v = 1, M = 1, k = 1, N = 0, q = "", U = i, p = a, g = o, y = q; M; )
|
|
2868
2868
|
switch (C = N, N = ve()) {
|
|
2869
2869
|
// (
|
|
2870
2870
|
case 40:
|
|
2871
|
-
if (C != 108 && fe(
|
|
2872
|
-
It(
|
|
2871
|
+
if (C != 108 && fe(y, E - 1) == 58) {
|
|
2872
|
+
It(y += te(at(N), "&", "&\f"), "&\f") != -1 && (k = -1);
|
|
2873
2873
|
break;
|
|
2874
2874
|
}
|
|
2875
2875
|
// " ' [
|
|
2876
2876
|
case 34:
|
|
2877
2877
|
case 39:
|
|
2878
2878
|
case 91:
|
|
2879
|
-
|
|
2879
|
+
y += at(N);
|
|
2880
2880
|
break;
|
|
2881
2881
|
// \t \n \r \s
|
|
2882
2882
|
case 9:
|
|
2883
2883
|
case 10:
|
|
2884
2884
|
case 13:
|
|
2885
2885
|
case 32:
|
|
2886
|
-
|
|
2886
|
+
y += di(C);
|
|
2887
2887
|
break;
|
|
2888
2888
|
// \
|
|
2889
2889
|
case 92:
|
|
2890
|
-
|
|
2890
|
+
y += hi(ot() - 1, 7);
|
|
2891
2891
|
continue;
|
|
2892
2892
|
// /
|
|
2893
2893
|
case 47:
|
|
2894
|
-
switch (
|
|
2894
|
+
switch (ye()) {
|
|
2895
2895
|
case 42:
|
|
2896
2896
|
case 47:
|
|
2897
|
-
nt(
|
|
2897
|
+
nt(gi(pi(ve(), ot()), t, r), d);
|
|
2898
2898
|
break;
|
|
2899
2899
|
default:
|
|
2900
|
-
|
|
2900
|
+
y += "/";
|
|
2901
2901
|
}
|
|
2902
2902
|
break;
|
|
2903
2903
|
// {
|
|
2904
2904
|
case 123 * v:
|
|
2905
|
-
f[h++] = me(
|
|
2905
|
+
f[h++] = me(y) * k;
|
|
2906
2906
|
// } ; \0
|
|
2907
2907
|
case 125 * v:
|
|
2908
2908
|
case 59:
|
|
@@ -2914,34 +2914,34 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2914
2914
|
M = 0;
|
|
2915
2915
|
// ;
|
|
2916
2916
|
case 59 + w:
|
|
2917
|
-
k == -1 && (
|
|
2917
|
+
k == -1 && (y = te(y, /\f/g, "")), A > 0 && me(y) - E && nt(A > 32 ? hr(y + ";", o, r, E - 1) : hr(te(y, " ", "") + ";", o, r, E - 2), d);
|
|
2918
2918
|
break;
|
|
2919
2919
|
// @ ;
|
|
2920
2920
|
case 59:
|
|
2921
|
-
|
|
2921
|
+
y += ";";
|
|
2922
2922
|
// { rule/at-rule
|
|
2923
2923
|
default:
|
|
2924
|
-
if (nt(
|
|
2924
|
+
if (nt(g = dr(y, t, r, h, w, i, f, q, U = [], p = [], E), a), N === 123)
|
|
2925
2925
|
if (w === 0)
|
|
2926
|
-
st(
|
|
2926
|
+
st(y, t, g, g, U, a, E, f, p);
|
|
2927
2927
|
else
|
|
2928
|
-
switch (R === 99 && fe(
|
|
2928
|
+
switch (R === 99 && fe(y, 3) === 110 ? 100 : R) {
|
|
2929
2929
|
// d l m s
|
|
2930
2930
|
case 100:
|
|
2931
2931
|
case 108:
|
|
2932
2932
|
case 109:
|
|
2933
2933
|
case 115:
|
|
2934
|
-
st(e,
|
|
2934
|
+
st(e, g, g, o && nt(dr(e, g, g, 0, 0, i, f, q, i, U = [], E), p), i, p, E, f, o ? U : p);
|
|
2935
2935
|
break;
|
|
2936
2936
|
default:
|
|
2937
|
-
st(
|
|
2937
|
+
st(y, g, g, g, [""], p, 0, f, p);
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
|
-
h = w = A = 0, v = k = 1, q =
|
|
2940
|
+
h = w = A = 0, v = k = 1, q = y = "", E = l;
|
|
2941
2941
|
break;
|
|
2942
2942
|
// :
|
|
2943
2943
|
case 58:
|
|
2944
|
-
E = 1 + me(
|
|
2944
|
+
E = 1 + me(y), A = C;
|
|
2945
2945
|
default:
|
|
2946
2946
|
if (v < 1) {
|
|
2947
2947
|
if (N == 123)
|
|
@@ -2949,44 +2949,44 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2949
2949
|
else if (N == 125 && v++ == 0 && fi() == 125)
|
|
2950
2950
|
continue;
|
|
2951
2951
|
}
|
|
2952
|
-
switch (
|
|
2952
|
+
switch (y += mt(N), N * v) {
|
|
2953
2953
|
// &
|
|
2954
2954
|
case 38:
|
|
2955
|
-
k = w > 0 ? 1 : (
|
|
2955
|
+
k = w > 0 ? 1 : (y += "\f", -1);
|
|
2956
2956
|
break;
|
|
2957
2957
|
// ,
|
|
2958
2958
|
case 44:
|
|
2959
|
-
f[h++] = (me(
|
|
2959
|
+
f[h++] = (me(y) - 1) * k, k = 1;
|
|
2960
2960
|
break;
|
|
2961
2961
|
// @
|
|
2962
2962
|
case 64:
|
|
2963
|
-
|
|
2963
|
+
ye() === 45 && (y += at(ve())), R = ye(), w = E = me(q = y += vi(ot())), N++;
|
|
2964
2964
|
break;
|
|
2965
2965
|
// -
|
|
2966
2966
|
case 45:
|
|
2967
|
-
C === 45 && me(
|
|
2967
|
+
C === 45 && me(y) == 2 && (v = 0);
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
2970
2970
|
return a;
|
|
2971
2971
|
}
|
|
2972
2972
|
function dr(e, t, r, o, i, a, l, f, d, h, w) {
|
|
2973
2973
|
for (var E = i - 1, R = i === 0 ? a : [""], A = Wt(R), C = 0, v = 0, M = 0; C < o; ++C)
|
|
2974
|
-
for (var k = 0, N =
|
|
2974
|
+
for (var k = 0, N = Ue(e, E + 1, E = oi(v = l[C])), q = e; k < A; ++k)
|
|
2975
2975
|
(q = Ar(v > 0 ? R[k] + " " + N : te(N, /&\f/g, R[k]))) && (d[M++] = q);
|
|
2976
|
-
return
|
|
2976
|
+
return yt(e, t, r, i === 0 ? Ft : f, d, h, w);
|
|
2977
2977
|
}
|
|
2978
|
-
function
|
|
2979
|
-
return
|
|
2978
|
+
function gi(e, t, r) {
|
|
2979
|
+
return yt(e, t, r, Mr, mt(ci()), Ue(e, 2, -2), 0);
|
|
2980
2980
|
}
|
|
2981
2981
|
function hr(e, t, r, o) {
|
|
2982
|
-
return
|
|
2982
|
+
return yt(e, t, r, $t, Ue(e, 0, o), Ue(e, o + 1, -1), o);
|
|
2983
2983
|
}
|
|
2984
2984
|
function Re(e, t) {
|
|
2985
2985
|
for (var r = "", o = Wt(e), i = 0; i < o; i++)
|
|
2986
2986
|
r += t(e[i], i, e, t) || "";
|
|
2987
2987
|
return r;
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function yi(e, t, r, o) {
|
|
2990
2990
|
switch (e.type) {
|
|
2991
2991
|
case ii:
|
|
2992
2992
|
if (e.children.length) break;
|
|
@@ -3022,7 +3022,7 @@ function Fr(e) {
|
|
|
3022
3022
|
};
|
|
3023
3023
|
}
|
|
3024
3024
|
var Si = function(t, r, o) {
|
|
3025
|
-
for (var i = 0, a = 0; i = a, a =
|
|
3025
|
+
for (var i = 0, a = 0; i = a, a = ye(), i === 38 && a === 12 && (r[o] = 1), !Ye(a); )
|
|
3026
3026
|
ve();
|
|
3027
3027
|
return Ke(t, he);
|
|
3028
3028
|
}, xi = function(t, r) {
|
|
@@ -3030,14 +3030,14 @@ var Si = function(t, r, o) {
|
|
|
3030
3030
|
do
|
|
3031
3031
|
switch (Ye(i)) {
|
|
3032
3032
|
case 0:
|
|
3033
|
-
i === 38 &&
|
|
3033
|
+
i === 38 && ye() === 12 && (r[o] = 1), t[o] += Si(he - 1, r, o);
|
|
3034
3034
|
break;
|
|
3035
3035
|
case 2:
|
|
3036
3036
|
t[o] += at(i);
|
|
3037
3037
|
break;
|
|
3038
3038
|
case 4:
|
|
3039
3039
|
if (i === 44) {
|
|
3040
|
-
t[++o] =
|
|
3040
|
+
t[++o] = ye() === 58 ? "&\f" : "", r[o] = t[o].length;
|
|
3041
3041
|
break;
|
|
3042
3042
|
}
|
|
3043
3043
|
// fallthrough
|
|
@@ -3264,7 +3264,7 @@ var Pi = function(t, r, o, i) {
|
|
|
3264
3264
|
);
|
|
3265
3265
|
var d, h = [Oi, Ci];
|
|
3266
3266
|
{
|
|
3267
|
-
var w, E = [
|
|
3267
|
+
var w, E = [yi, wi(function(v) {
|
|
3268
3268
|
w.insert(v);
|
|
3269
3269
|
})], R = bi(h.concat(i, E)), A = function(M) {
|
|
3270
3270
|
return Re(mi(M), R);
|
|
@@ -3398,10 +3398,10 @@ var Di = {
|
|
|
3398
3398
|
case "animationName":
|
|
3399
3399
|
if (typeof r == "string")
|
|
3400
3400
|
return r.replace(Ii, function(o, i, a) {
|
|
3401
|
-
return
|
|
3401
|
+
return ge = {
|
|
3402
3402
|
name: i,
|
|
3403
3403
|
styles: a,
|
|
3404
|
-
next:
|
|
3404
|
+
next: ge
|
|
3405
3405
|
}, i;
|
|
3406
3406
|
});
|
|
3407
3407
|
}
|
|
@@ -3419,20 +3419,20 @@ function Ve(e, t, r) {
|
|
|
3419
3419
|
case "object": {
|
|
3420
3420
|
var i = r;
|
|
3421
3421
|
if (i.anim === 1)
|
|
3422
|
-
return
|
|
3422
|
+
return ge = {
|
|
3423
3423
|
name: i.name,
|
|
3424
3424
|
styles: i.styles,
|
|
3425
|
-
next:
|
|
3425
|
+
next: ge
|
|
3426
3426
|
}, i.name;
|
|
3427
3427
|
var a = r;
|
|
3428
3428
|
if (a.styles !== void 0) {
|
|
3429
3429
|
var l = a.next;
|
|
3430
3430
|
if (l !== void 0)
|
|
3431
3431
|
for (; l !== void 0; )
|
|
3432
|
-
|
|
3432
|
+
ge = {
|
|
3433
3433
|
name: l.name,
|
|
3434
3434
|
styles: l.styles,
|
|
3435
|
-
next:
|
|
3435
|
+
next: ge
|
|
3436
3436
|
}, l = l.next;
|
|
3437
3437
|
var f = a.styles + ";";
|
|
3438
3438
|
return f;
|
|
@@ -3441,8 +3441,8 @@ function Ve(e, t, r) {
|
|
|
3441
3441
|
}
|
|
3442
3442
|
case "function": {
|
|
3443
3443
|
if (e !== void 0) {
|
|
3444
|
-
var d =
|
|
3445
|
-
return
|
|
3444
|
+
var d = ge, h = r(e);
|
|
3445
|
+
return ge = d, Ve(e, t, h);
|
|
3446
3446
|
}
|
|
3447
3447
|
break;
|
|
3448
3448
|
}
|
|
@@ -3482,12 +3482,12 @@ function Ai(e, t, r) {
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return o;
|
|
3484
3484
|
}
|
|
3485
|
-
var
|
|
3485
|
+
var gr = /label:\s*([^\s;{]+)\s*(;|$)/g, ge;
|
|
3486
3486
|
function zi(e, t, r) {
|
|
3487
3487
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
3488
3488
|
return e[0];
|
|
3489
3489
|
var o = !0, i = "";
|
|
3490
|
-
|
|
3490
|
+
ge = void 0;
|
|
3491
3491
|
var a = e[0];
|
|
3492
3492
|
if (a == null || a.raw === void 0)
|
|
3493
3493
|
o = !1, i += Ve(r, t, a);
|
|
@@ -3500,19 +3500,19 @@ function zi(e, t, r) {
|
|
|
3500
3500
|
var d = a;
|
|
3501
3501
|
i += d[f];
|
|
3502
3502
|
}
|
|
3503
|
-
|
|
3504
|
-
for (var h = "", w; (w =
|
|
3503
|
+
gr.lastIndex = 0;
|
|
3504
|
+
for (var h = "", w; (w = gr.exec(i)) !== null; )
|
|
3505
3505
|
h += "-" + w[1];
|
|
3506
3506
|
var E = Li(i) + h;
|
|
3507
3507
|
return {
|
|
3508
3508
|
name: E,
|
|
3509
3509
|
styles: i,
|
|
3510
|
-
next:
|
|
3510
|
+
next: ge
|
|
3511
3511
|
};
|
|
3512
3512
|
}
|
|
3513
3513
|
var Hi = function(t) {
|
|
3514
3514
|
return t();
|
|
3515
|
-
}, Ni = _.useInsertionEffect ? _.useInsertionEffect : !1, Fi = Ni || Hi,
|
|
3515
|
+
}, Ni = _.useInsertionEffect ? _.useInsertionEffect : !1, Fi = Ni || Hi, Br = /* @__PURE__ */ _.createContext(
|
|
3516
3516
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3517
3517
|
// because this module is primarily intended for the browser and node
|
|
3518
3518
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -3523,24 +3523,24 @@ var Hi = function(t) {
|
|
|
3523
3523
|
key: "css"
|
|
3524
3524
|
}) : null
|
|
3525
3525
|
);
|
|
3526
|
-
|
|
3526
|
+
Br.Provider;
|
|
3527
3527
|
var $i = function(t) {
|
|
3528
3528
|
return /* @__PURE__ */ pn(function(r, o) {
|
|
3529
|
-
var i = Nt(
|
|
3529
|
+
var i = Nt(Br);
|
|
3530
3530
|
return t(r, i, o);
|
|
3531
3531
|
});
|
|
3532
|
-
}, Wi = /* @__PURE__ */ _.createContext({}), qi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,
|
|
3532
|
+
}, Wi = /* @__PURE__ */ _.createContext({}), qi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Bi = /* @__PURE__ */ Fr(
|
|
3533
3533
|
function(e) {
|
|
3534
3534
|
return qi.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
3535
3535
|
}
|
|
3536
3536
|
/* Z+1 */
|
|
3537
|
-
),
|
|
3537
|
+
), Ui = Bi, Yi = function(t) {
|
|
3538
3538
|
return t !== "theme";
|
|
3539
|
-
},
|
|
3539
|
+
}, yr = function(t) {
|
|
3540
3540
|
return typeof t == "string" && // 96 is one less than the char code
|
|
3541
3541
|
// for "a" so this is checking that
|
|
3542
3542
|
// it's a lowercase character
|
|
3543
|
-
t.charCodeAt(0) > 96 ?
|
|
3543
|
+
t.charCodeAt(0) > 96 ? Ui : Yi;
|
|
3544
3544
|
}, br = function(t, r, o) {
|
|
3545
3545
|
var i;
|
|
3546
3546
|
if (r) {
|
|
@@ -3558,7 +3558,7 @@ var $i = function(t) {
|
|
|
3558
3558
|
}, Xi = function e(t, r) {
|
|
3559
3559
|
var o = t.__emotion_real === t, i = o && t.__emotion_base || t, a, l;
|
|
3560
3560
|
r !== void 0 && (a = r.label, l = r.target);
|
|
3561
|
-
var f = br(t, r, o), d = f ||
|
|
3561
|
+
var f = br(t, r, o), d = f || yr(i), h = !d("as");
|
|
3562
3562
|
return function() {
|
|
3563
3563
|
var w = arguments, E = o && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3564
3564
|
if (a !== void 0 && E.push("label:" + a + ";"), w[0] == null || w[0].raw === void 0)
|
|
@@ -3570,20 +3570,20 @@ var $i = function(t) {
|
|
|
3570
3570
|
E.push(w[C], R[C]);
|
|
3571
3571
|
}
|
|
3572
3572
|
var v = $i(function(M, k, N) {
|
|
3573
|
-
var q = h && M.as || i,
|
|
3573
|
+
var q = h && M.as || i, U = "", p = [], g = M;
|
|
3574
3574
|
if (M.theme == null) {
|
|
3575
|
-
|
|
3576
|
-
for (var
|
|
3577
|
-
y
|
|
3578
|
-
|
|
3575
|
+
g = {};
|
|
3576
|
+
for (var y in M)
|
|
3577
|
+
g[y] = M[y];
|
|
3578
|
+
g.theme = _.useContext(Wi);
|
|
3579
3579
|
}
|
|
3580
|
-
typeof M.className == "string" ?
|
|
3581
|
-
var O = zi(E.concat(p), k.registered,
|
|
3582
|
-
|
|
3583
|
-
var m = h && f === void 0 ?
|
|
3580
|
+
typeof M.className == "string" ? U = Ti(k.registered, p, M.className) : M.className != null && (U = M.className + " ");
|
|
3581
|
+
var O = zi(E.concat(p), k.registered, g);
|
|
3582
|
+
U += k.key + "-" + O.name, l !== void 0 && (U += " " + l);
|
|
3583
|
+
var m = h && f === void 0 ? yr(q) : d, c = {};
|
|
3584
3584
|
for (var P in M)
|
|
3585
3585
|
h && P === "as" || m(P) && (c[P] = M[P]);
|
|
3586
|
-
return c.className =
|
|
3586
|
+
return c.className = U, N && (c.ref = N), /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(Vi, {
|
|
3587
3587
|
cache: k,
|
|
3588
3588
|
serialized: O,
|
|
3589
3589
|
isStringTag: typeof q == "string"
|
|
@@ -3791,10 +3791,10 @@ const Ki = je.div`
|
|
|
3791
3791
|
));
|
|
3792
3792
|
return /* @__PURE__ */ G.jsx(Ki, { styles: { ...e }, children: /* @__PURE__ */ G.jsx(Qn, { ...i, children: a }) });
|
|
3793
3793
|
}, za = (e) => Er(e, []), Zi = () => {
|
|
3794
|
-
const [e, t] =
|
|
3794
|
+
const [e, t] = B.useState(
|
|
3795
3795
|
{}
|
|
3796
|
-
), [r, o] =
|
|
3797
|
-
return
|
|
3796
|
+
), [r, o] = B.useState(!1);
|
|
3797
|
+
return B.useEffect(() => {
|
|
3798
3798
|
const i = (f) => {
|
|
3799
3799
|
t({ x: f.clientX, y: f.clientY });
|
|
3800
3800
|
}, a = (f) => {
|
|
@@ -3815,9 +3815,9 @@ const Ki = je.div`
|
|
|
3815
3815
|
onDragStart: r,
|
|
3816
3816
|
onDragEnd: o
|
|
3817
3817
|
}) => {
|
|
3818
|
-
const i =
|
|
3818
|
+
const i = B.useRef(!1), a = B.useRef(!1), { pointerPosition: l, isPointerDown: f } = Zi(), d = B.useRef({
|
|
3819
3819
|
isDragging: !1
|
|
3820
|
-
}), h =
|
|
3820
|
+
}), h = B.useCallback(
|
|
3821
3821
|
(C) => {
|
|
3822
3822
|
if (!e || !e.current || !d.current)
|
|
3823
3823
|
return;
|
|
@@ -3825,21 +3825,21 @@ const Ki = je.div`
|
|
|
3825
3825
|
return v.posY = C.y, v.posX = C.x, d.current.startPosX && d.current.posX && (v.distanceX = d.current.startPosX - d.current.posX), d.current.startPosY && d.current.posY && (v.distanceY = -(d.current.startPosY - d.current.posY)), v;
|
|
3826
3826
|
},
|
|
3827
3827
|
[]
|
|
3828
|
-
), w =
|
|
3828
|
+
), w = B.useCallback(
|
|
3829
3829
|
(C) => {
|
|
3830
3830
|
C.preventDefault(), C.stopPropagation(), d.current.isDragging = !0, d.current.startPosY = C.clientY, d.current.startPosX = C.clientX;
|
|
3831
3831
|
const v = h({ x: C.clientX, y: C.clientY });
|
|
3832
3832
|
v && (d.current = v, r?.(v));
|
|
3833
3833
|
},
|
|
3834
3834
|
[h]
|
|
3835
|
-
), E =
|
|
3835
|
+
), E = B.useCallback(
|
|
3836
3836
|
(C) => {
|
|
3837
3837
|
d.current.isDragging = !1;
|
|
3838
3838
|
const v = h(l);
|
|
3839
3839
|
v && (o?.(v), v.startPosX = void 0, v.startPosY = void 0, d.current = v);
|
|
3840
3840
|
},
|
|
3841
3841
|
[h, l]
|
|
3842
|
-
), R =
|
|
3842
|
+
), R = B.useCallback(
|
|
3843
3843
|
(C) => {
|
|
3844
3844
|
if (console.debug(
|
|
3845
3845
|
"useDrag > onPointerMove > Is Dragging >",
|
|
@@ -3850,18 +3850,18 @@ const Ki = je.div`
|
|
|
3850
3850
|
console.debug("useDrag > onPointerMove > Drag Result >", v), v && (t?.(v), d.current = v);
|
|
3851
3851
|
},
|
|
3852
3852
|
[h, l]
|
|
3853
|
-
), A =
|
|
3853
|
+
), A = B.useCallback(async () => {
|
|
3854
3854
|
if (!i.current) {
|
|
3855
3855
|
for (; !e?.current; )
|
|
3856
3856
|
await new Promise((C) => setTimeout(C, 300));
|
|
3857
3857
|
i.current = !0, e.current.onpointerdown = w, e.current.style.touchAction = "none";
|
|
3858
3858
|
}
|
|
3859
3859
|
}, [e?.current, w]);
|
|
3860
|
-
|
|
3860
|
+
B.useEffect(() => {
|
|
3861
3861
|
A();
|
|
3862
|
-
}, [A]),
|
|
3862
|
+
}, [A]), B.useEffect(() => {
|
|
3863
3863
|
R();
|
|
3864
|
-
}, [l]),
|
|
3864
|
+
}, [l]), B.useEffect(() => {
|
|
3865
3865
|
f !== a.current && (a.current = f, f || E());
|
|
3866
3866
|
}, [f, a.current]);
|
|
3867
3867
|
}, Ha = () => {
|
|
@@ -3899,10 +3899,10 @@ class eo {
|
|
|
3899
3899
|
static isDateOneAfterDateTwo = (t, r) => t.getFullYear() >= r.getFullYear() && t.getMonth() >= r.getMonth() ? t.getDay() > r.getDay() : !1;
|
|
3900
3900
|
}
|
|
3901
3901
|
const Na = (e, t = 0) => {
|
|
3902
|
-
const r =
|
|
3902
|
+
const r = B.useRef(0), [o, i] = B.useState(0), a = B.useRef(null), [l, f] = B.useState(!1), d = B.useCallback(() => {
|
|
3903
3903
|
f((E) => !E);
|
|
3904
|
-
}, []), h =
|
|
3905
|
-
return
|
|
3904
|
+
}, []), h = B.useCallback(() => r.current === 0 ? !1 : o >= r.current - t, [t, o]), w = B.useCallback(() => e.current !== null && e.current !== void 0, [e]);
|
|
3905
|
+
return B.useEffect(() => {
|
|
3906
3906
|
const E = () => {
|
|
3907
3907
|
if (!e.current) return;
|
|
3908
3908
|
const A = e.current.scrollHeight - e.current.clientHeight;
|
|
@@ -3987,18 +3987,18 @@ function io() {
|
|
|
3987
3987
|
const N = R.indexOf("=", k);
|
|
3988
3988
|
if (N === -1)
|
|
3989
3989
|
break;
|
|
3990
|
-
const q = R.indexOf(";", k),
|
|
3991
|
-
if (N >
|
|
3990
|
+
const q = R.indexOf(";", k), U = q === -1 ? v : q;
|
|
3991
|
+
if (N > U) {
|
|
3992
3992
|
k = R.lastIndexOf(";", N - 1) + 1;
|
|
3993
3993
|
continue;
|
|
3994
3994
|
}
|
|
3995
|
-
const p = f(R, k, N),
|
|
3996
|
-
if (C[
|
|
3997
|
-
let O = f(R, N + 1,
|
|
3995
|
+
const p = f(R, k, N), g = d(R, N, p), y = R.slice(p, g);
|
|
3996
|
+
if (C[y] === void 0) {
|
|
3997
|
+
let O = f(R, N + 1, U), m = d(R, U, O);
|
|
3998
3998
|
const c = M(R.slice(O, m));
|
|
3999
|
-
C[
|
|
3999
|
+
C[y] = c;
|
|
4000
4000
|
}
|
|
4001
|
-
k =
|
|
4001
|
+
k = U + 1;
|
|
4002
4002
|
} while (k < v);
|
|
4003
4003
|
return C;
|
|
4004
4004
|
}
|
|
@@ -4195,13 +4195,13 @@ function so(e, t, r, o = {}) {
|
|
|
4195
4195
|
f = "PUSH";
|
|
4196
4196
|
let N = zt(v.location, M, k);
|
|
4197
4197
|
h = w() + 1;
|
|
4198
|
-
let q = kr(N, h),
|
|
4198
|
+
let q = kr(N, h), U = v.createHref(N);
|
|
4199
4199
|
try {
|
|
4200
|
-
l.pushState(q, "",
|
|
4200
|
+
l.pushState(q, "", U);
|
|
4201
4201
|
} catch (p) {
|
|
4202
4202
|
if (p instanceof DOMException && p.name === "DataCloneError")
|
|
4203
4203
|
throw p;
|
|
4204
|
-
i.location.assign(
|
|
4204
|
+
i.location.assign(U);
|
|
4205
4205
|
}
|
|
4206
4206
|
a && d && d({ action: f, location: v.location, delta: 1 });
|
|
4207
4207
|
}
|
|
@@ -4209,8 +4209,8 @@ function so(e, t, r, o = {}) {
|
|
|
4209
4209
|
f = "REPLACE";
|
|
4210
4210
|
let N = zt(v.location, M, k);
|
|
4211
4211
|
h = w();
|
|
4212
|
-
let q = kr(N, h),
|
|
4213
|
-
l.replaceState(q, "",
|
|
4212
|
+
let q = kr(N, h), U = v.createHref(N);
|
|
4213
|
+
l.replaceState(q, "", U), a && d && d({ action: f, location: v.location, delta: 0 });
|
|
4214
4214
|
}
|
|
4215
4215
|
function C(M) {
|
|
4216
4216
|
return lo(M);
|
|
@@ -4255,7 +4255,7 @@ function lo(e, t = !1) {
|
|
|
4255
4255
|
let o = typeof e == "string" ? e : Xe(e);
|
|
4256
4256
|
return o = o.replace(/ $/, "%20"), !t && o.startsWith("//") && (o = r + o), new URL(o, r);
|
|
4257
4257
|
}
|
|
4258
|
-
function
|
|
4258
|
+
function Ur(e, t, r = "/") {
|
|
4259
4259
|
return uo(e, t, r, !1);
|
|
4260
4260
|
}
|
|
4261
4261
|
function uo(e, t, r, o) {
|
|
@@ -4295,7 +4295,7 @@ function Yr(e, t = [], r = [], o = "") {
|
|
|
4295
4295
|
`Index routes must not have child routes. Please remove all child routes from route path "${h}".`
|
|
4296
4296
|
), Yr(a.children, t, w, h)), !(a.path == null && !a.index) && t.push({
|
|
4297
4297
|
path: h,
|
|
4298
|
-
score:
|
|
4298
|
+
score: yo(h, a.index),
|
|
4299
4299
|
routesMeta: w
|
|
4300
4300
|
});
|
|
4301
4301
|
};
|
|
@@ -4330,10 +4330,10 @@ function co(e) {
|
|
|
4330
4330
|
)
|
|
4331
4331
|
);
|
|
4332
4332
|
}
|
|
4333
|
-
var fo = /^:[\w-]+$/, ho = 3, po = 2, vo = 1, mo = 10,
|
|
4334
|
-
function
|
|
4333
|
+
var fo = /^:[\w-]+$/, ho = 3, po = 2, vo = 1, mo = 10, go = -2, Or = (e) => e === "*";
|
|
4334
|
+
function yo(e, t) {
|
|
4335
4335
|
let r = e.split("/"), o = r.length;
|
|
4336
|
-
return r.some(Or) && (o +=
|
|
4336
|
+
return r.some(Or) && (o += go), t && (o += po), r.filter((i) => !Or(i)).reduce(
|
|
4337
4337
|
(i, a) => i + (fo.test(a) ? ho : a === "" ? vo : mo),
|
|
4338
4338
|
o
|
|
4339
4339
|
);
|
|
@@ -4658,7 +4658,7 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4658
4658
|
let k = h.replace(/^\//, "").split("/");
|
|
4659
4659
|
C = "/" + A.replace(/^\//, "").split("/").slice(k.length).join("/");
|
|
4660
4660
|
}
|
|
4661
|
-
let v =
|
|
4661
|
+
let v = Ur(e, { pathname: C });
|
|
4662
4662
|
be(
|
|
4663
4663
|
w || v != null,
|
|
4664
4664
|
`No routes matched location "${R.pathname}${R.search}${R.hash}" `
|
|
@@ -4706,7 +4706,7 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4706
4706
|
) : M;
|
|
4707
4707
|
}
|
|
4708
4708
|
function Ao() {
|
|
4709
|
-
let e =
|
|
4709
|
+
let e = Uo(), t = _o(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: o }, a = { padding: "2px 4px", backgroundColor: o }, l = null;
|
|
4710
4710
|
return console.error(
|
|
4711
4711
|
"Error handled by React Router default ErrorBoundary:",
|
|
4712
4712
|
e
|
|
@@ -4828,39 +4828,39 @@ function Fo(e, t = [], r = null, o = null) {
|
|
|
4828
4828
|
) : M();
|
|
4829
4829
|
}, null);
|
|
4830
4830
|
}
|
|
4831
|
-
function
|
|
4831
|
+
function Bt(e) {
|
|
4832
4832
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
4833
4833
|
}
|
|
4834
4834
|
function $o(e) {
|
|
4835
4835
|
let t = _.useContext(Me);
|
|
4836
|
-
return oe(t,
|
|
4836
|
+
return oe(t, Bt(e)), t;
|
|
4837
4837
|
}
|
|
4838
4838
|
function Wo(e) {
|
|
4839
4839
|
let t = _.useContext(bt);
|
|
4840
|
-
return oe(t,
|
|
4840
|
+
return oe(t, Bt(e)), t;
|
|
4841
4841
|
}
|
|
4842
4842
|
function qo(e) {
|
|
4843
4843
|
let t = _.useContext(ke);
|
|
4844
|
-
return oe(t,
|
|
4844
|
+
return oe(t, Bt(e)), t;
|
|
4845
4845
|
}
|
|
4846
|
-
function
|
|
4846
|
+
function Ut(e) {
|
|
4847
4847
|
let t = qo(e), r = t.matches[t.matches.length - 1];
|
|
4848
4848
|
return oe(
|
|
4849
4849
|
r.route.id,
|
|
4850
4850
|
`${e} can only be used on routes that contain a unique "id"`
|
|
4851
4851
|
), r.route.id;
|
|
4852
4852
|
}
|
|
4853
|
-
function
|
|
4854
|
-
return
|
|
4853
|
+
function Bo() {
|
|
4854
|
+
return Ut(
|
|
4855
4855
|
"useRouteId"
|
|
4856
4856
|
/* UseRouteId */
|
|
4857
4857
|
);
|
|
4858
4858
|
}
|
|
4859
|
-
function
|
|
4859
|
+
function Uo() {
|
|
4860
4860
|
let e = _.useContext(qt), t = Wo(
|
|
4861
4861
|
"useRouteError"
|
|
4862
4862
|
/* UseRouteError */
|
|
4863
|
-
), r =
|
|
4863
|
+
), r = Ut(
|
|
4864
4864
|
"useRouteError"
|
|
4865
4865
|
/* UseRouteError */
|
|
4866
4866
|
);
|
|
@@ -4870,7 +4870,7 @@ function Yo() {
|
|
|
4870
4870
|
let { router: e } = $o(
|
|
4871
4871
|
"useNavigate"
|
|
4872
4872
|
/* UseNavigateStable */
|
|
4873
|
-
), t =
|
|
4873
|
+
), t = Ut(
|
|
4874
4874
|
"useNavigate"
|
|
4875
4875
|
/* UseNavigateStable */
|
|
4876
4876
|
), r = _.useRef(!1);
|
|
@@ -5236,15 +5236,15 @@ function pa(e, t) {
|
|
|
5236
5236
|
a,
|
|
5237
5237
|
R,
|
|
5238
5238
|
{
|
|
5239
|
-
onFocus:
|
|
5240
|
-
onBlur:
|
|
5241
|
-
onMouseEnter:
|
|
5242
|
-
onMouseLeave:
|
|
5243
|
-
onTouchStart:
|
|
5239
|
+
onFocus: Be(f, A),
|
|
5240
|
+
onBlur: Be(d, C),
|
|
5241
|
+
onMouseEnter: Be(h, A),
|
|
5242
|
+
onMouseLeave: Be(w, C),
|
|
5243
|
+
onTouchStart: Be(E, A)
|
|
5244
5244
|
}
|
|
5245
5245
|
] : [!1, R, {}];
|
|
5246
5246
|
}
|
|
5247
|
-
function
|
|
5247
|
+
function Be(e, t) {
|
|
5248
5248
|
return (r) => {
|
|
5249
5249
|
e && e(r), r.defaultPrevented || t(r);
|
|
5250
5250
|
};
|
|
@@ -5254,10 +5254,10 @@ function va({
|
|
|
5254
5254
|
...t
|
|
5255
5255
|
}) {
|
|
5256
5256
|
let { router: r } = on(), o = _.useMemo(
|
|
5257
|
-
() =>
|
|
5257
|
+
() => Ur(r.routes, e, r.basename),
|
|
5258
5258
|
[r.routes, e, r.basename]
|
|
5259
5259
|
);
|
|
5260
|
-
return o ? /* @__PURE__ */ _.createElement(
|
|
5260
|
+
return o ? /* @__PURE__ */ _.createElement(ga, { page: e, matches: o, ...t }) : null;
|
|
5261
5261
|
}
|
|
5262
5262
|
function ma(e) {
|
|
5263
5263
|
let { manifest: t, routeModules: r } = an(), [o, i] = _.useState([]);
|
|
@@ -5272,7 +5272,7 @@ function ma(e) {
|
|
|
5272
5272
|
};
|
|
5273
5273
|
}, [e, t, r]), o;
|
|
5274
5274
|
}
|
|
5275
|
-
function
|
|
5275
|
+
function ga({
|
|
5276
5276
|
page: e,
|
|
5277
5277
|
matches: t,
|
|
5278
5278
|
...r
|
|
@@ -5330,7 +5330,7 @@ function ya({
|
|
|
5330
5330
|
/* @__PURE__ */ _.createElement("link", { key: C, ...v })
|
|
5331
5331
|
)));
|
|
5332
5332
|
}
|
|
5333
|
-
function
|
|
5333
|
+
function ya(...e) {
|
|
5334
5334
|
return (t) => {
|
|
5335
5335
|
e.forEach((r) => {
|
|
5336
5336
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
|
@@ -5395,10 +5395,10 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5395
5395
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5396
5396
|
);
|
|
5397
5397
|
}
|
|
5398
|
-
let N = Do(h, { relative: i }), [q,
|
|
5398
|
+
let N = Do(h, { relative: i }), [q, U, p] = pa(
|
|
5399
5399
|
o,
|
|
5400
5400
|
R
|
|
5401
|
-
),
|
|
5401
|
+
), g = ka(h, {
|
|
5402
5402
|
replace: l,
|
|
5403
5403
|
state: f,
|
|
5404
5404
|
target: d,
|
|
@@ -5406,8 +5406,8 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5406
5406
|
relative: i,
|
|
5407
5407
|
viewTransition: E
|
|
5408
5408
|
});
|
|
5409
|
-
function
|
|
5410
|
-
t && t(m), m.defaultPrevented ||
|
|
5409
|
+
function y(m) {
|
|
5410
|
+
t && t(m), m.defaultPrevented || g(m);
|
|
5411
5411
|
}
|
|
5412
5412
|
let O = (
|
|
5413
5413
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
@@ -5417,8 +5417,8 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5417
5417
|
...R,
|
|
5418
5418
|
...p,
|
|
5419
5419
|
href: M || N,
|
|
5420
|
-
onClick: k || a ? t :
|
|
5421
|
-
ref:
|
|
5420
|
+
onClick: k || a ? t : y,
|
|
5421
|
+
ref: ya(A, U),
|
|
5422
5422
|
target: d,
|
|
5423
5423
|
"data-discover": !v && r === "render" ? "true" : void 0
|
|
5424
5424
|
}
|
|
@@ -5444,19 +5444,19 @@ var wa = _.forwardRef(
|
|
|
5444
5444
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5445
5445
|
Ra(E) && f === !0, k = C.encodeLocation ? C.encodeLocation(E).pathname : E.pathname, N = R.pathname, q = A && A.navigation && A.navigation.location ? A.navigation.location.pathname : null;
|
|
5446
5446
|
r || (N = N.toLowerCase(), q = q ? q.toLowerCase() : null, k = k.toLowerCase()), q && v && (q = xe(q, v) || q);
|
|
5447
|
-
const
|
|
5448
|
-
let p = N === k || !i && N.startsWith(k) && N.charAt(
|
|
5447
|
+
const U = k !== "/" && k.endsWith("/") ? k.length - 1 : k.length;
|
|
5448
|
+
let p = N === k || !i && N.startsWith(k) && N.charAt(U) === "/", g = q != null && (q === k || !i && q.startsWith(k) && q.charAt(k.length) === "/"), y = {
|
|
5449
5449
|
isActive: p,
|
|
5450
|
-
isPending:
|
|
5450
|
+
isPending: g,
|
|
5451
5451
|
isTransitioning: M
|
|
5452
5452
|
}, O = p ? t : void 0, m;
|
|
5453
|
-
typeof o == "function" ? m = o(
|
|
5453
|
+
typeof o == "function" ? m = o(y) : m = [
|
|
5454
5454
|
o,
|
|
5455
5455
|
p ? "active" : null,
|
|
5456
|
-
|
|
5456
|
+
g ? "pending" : null,
|
|
5457
5457
|
M ? "transitioning" : null
|
|
5458
5458
|
].filter(Boolean).join(" ");
|
|
5459
|
-
let c = typeof a == "function" ? a(
|
|
5459
|
+
let c = typeof a == "function" ? a(y) : a;
|
|
5460
5460
|
return /* @__PURE__ */ _.createElement(
|
|
5461
5461
|
un,
|
|
5462
5462
|
{
|
|
@@ -5468,7 +5468,7 @@ var wa = _.forwardRef(
|
|
|
5468
5468
|
to: l,
|
|
5469
5469
|
viewTransition: f
|
|
5470
5470
|
},
|
|
5471
|
-
typeof d == "function" ? d(
|
|
5471
|
+
typeof d == "function" ? d(y) : d
|
|
5472
5472
|
);
|
|
5473
5473
|
}
|
|
5474
5474
|
);
|
|
@@ -5492,8 +5492,8 @@ var Sa = _.forwardRef(
|
|
|
5492
5492
|
let C = Pa(), v = Ea(f, { relative: h }), M = l.toLowerCase() === "get" ? "get" : "post", k = typeof f == "string" && ln.test(f), N = (q) => {
|
|
5493
5493
|
if (d && d(q), q.defaultPrevented) return;
|
|
5494
5494
|
q.preventDefault();
|
|
5495
|
-
let
|
|
5496
|
-
C(
|
|
5495
|
+
let U = q.nativeEvent.submitter, p = U?.getAttribute("formmethod") || l;
|
|
5496
|
+
C(U || q.currentTarget, {
|
|
5497
5497
|
fetcherKey: t,
|
|
5498
5498
|
method: p,
|
|
5499
5499
|
navigate: r,
|
|
@@ -5567,7 +5567,7 @@ function Pa() {
|
|
|
5567
5567
|
let { router: e } = cn(
|
|
5568
5568
|
"useSubmit"
|
|
5569
5569
|
/* UseSubmit */
|
|
5570
|
-
), { basename: t } = _.useContext(we), r =
|
|
5570
|
+
), { basename: t } = _.useContext(we), r = Bo();
|
|
5571
5571
|
return _.useCallback(
|
|
5572
5572
|
async (o, i = {}) => {
|
|
5573
5573
|
let { action: a, method: l, encType: f, formData: d, body: h } = na(
|
|
@@ -5634,7 +5634,7 @@ function Ra(e, t = {}) {
|
|
|
5634
5634
|
[
|
|
5635
5635
|
...fa
|
|
5636
5636
|
];
|
|
5637
|
-
const fn =
|
|
5637
|
+
const fn = B.createContext({
|
|
5638
5638
|
history: [],
|
|
5639
5639
|
addToHistory: () => {
|
|
5640
5640
|
},
|
|
@@ -5645,7 +5645,7 @@ const fn = U.createContext({
|
|
|
5645
5645
|
routes: e,
|
|
5646
5646
|
children: t
|
|
5647
5647
|
}) => {
|
|
5648
|
-
const r =
|
|
5648
|
+
const r = B.useRef(["/"]), [o, i] = B.useState(["/"]), a = B.useCallback((w) => {
|
|
5649
5649
|
r.current = w, i(w);
|
|
5650
5650
|
}, []), l = (w) => {
|
|
5651
5651
|
a([...r.current, w]);
|
|
@@ -5674,18 +5674,18 @@ const fn = U.createContext({
|
|
|
5674
5674
|
}
|
|
5675
5675
|
);
|
|
5676
5676
|
}, qa = () => {
|
|
5677
|
-
const e = en(), t = Ce(), r = Nt(fn), o =
|
|
5677
|
+
const e = en(), t = Ce(), r = Nt(fn), o = B.useCallback(
|
|
5678
5678
|
(l, f = !0) => {
|
|
5679
5679
|
l !== t.pathname && e(l, { replace: !0 }), f && r.addToHistory(l);
|
|
5680
5680
|
},
|
|
5681
5681
|
[t.pathname, e, r]
|
|
5682
|
-
), i =
|
|
5682
|
+
), i = B.useCallback(
|
|
5683
5683
|
(l) => {
|
|
5684
5684
|
const f = l || 1, d = r.popFromHistory(f);
|
|
5685
5685
|
o(d, !1);
|
|
5686
5686
|
},
|
|
5687
5687
|
[o, r]
|
|
5688
|
-
), a =
|
|
5688
|
+
), a = B.useCallback(
|
|
5689
5689
|
(l) => {
|
|
5690
5690
|
r.replaceHistory(l);
|
|
5691
5691
|
},
|
|
@@ -5698,7 +5698,7 @@ const fn = U.createContext({
|
|
|
5698
5698
|
goTo: o,
|
|
5699
5699
|
replaceHistory: a
|
|
5700
5700
|
};
|
|
5701
|
-
}, dn =
|
|
5701
|
+
}, dn = B.createContext(
|
|
5702
5702
|
{
|
|
5703
5703
|
visibleItems: [],
|
|
5704
5704
|
isItemVisible: () => !1,
|
|
@@ -5707,15 +5707,15 @@ const fn = U.createContext({
|
|
|
5707
5707
|
hideItem: () => {
|
|
5708
5708
|
}
|
|
5709
5709
|
}
|
|
5710
|
-
),
|
|
5711
|
-
const t =
|
|
5710
|
+
), Ba = ({ children: e }) => {
|
|
5711
|
+
const t = B.useRef([]), [r, o] = B.useState([]), i = B.useCallback((d) => {
|
|
5712
5712
|
t.current = d, o(d);
|
|
5713
|
-
}, []), a =
|
|
5713
|
+
}, []), a = B.useCallback((d) => t.current.some((h) => h === d), []), l = B.useCallback(
|
|
5714
5714
|
(d) => {
|
|
5715
5715
|
a(d) || i([...t.current, d]);
|
|
5716
5716
|
},
|
|
5717
5717
|
[a, i]
|
|
5718
|
-
), f =
|
|
5718
|
+
), f = B.useCallback(
|
|
5719
5719
|
(d) => {
|
|
5720
5720
|
a(d) && i(
|
|
5721
5721
|
t.current.filter((w) => w !== d)
|
|
@@ -5752,9 +5752,9 @@ const fn = U.createContext({
|
|
|
5752
5752
|
onCloseDrawer: t,
|
|
5753
5753
|
drawerCloseOffset: r = 15
|
|
5754
5754
|
}) => {
|
|
5755
|
-
const { isItemVisible: o } = St(), [i, a] =
|
|
5755
|
+
const { isItemVisible: o } = St(), [i, a] = B.useState({
|
|
5756
5756
|
isDragging: !1
|
|
5757
|
-
}), l =
|
|
5757
|
+
}), l = B.useRef(null), f = B.useRef(null), d = B.useRef(null), [h, w] = B.useState(0), E = (C) => {
|
|
5758
5758
|
a(C);
|
|
5759
5759
|
}, R = (C) => {
|
|
5760
5760
|
a(C), w(0);
|
|
@@ -5775,7 +5775,7 @@ const fn = U.createContext({
|
|
|
5775
5775
|
drawerBottomDistance: h,
|
|
5776
5776
|
handleRef: d
|
|
5777
5777
|
};
|
|
5778
|
-
},
|
|
5778
|
+
}, Ua = (e) => {
|
|
5779
5779
|
const { children: t, backgroundStyles: r, contentStyles: o, handle: i } = e, {
|
|
5780
5780
|
isVisible: a,
|
|
5781
5781
|
drawerParentRef: l,
|
|
@@ -5852,7 +5852,7 @@ const fn = U.createContext({
|
|
|
5852
5852
|
}
|
|
5853
5853
|
) });
|
|
5854
5854
|
}, Ta = ({ onSubmit: e, fields: t }) => {
|
|
5855
|
-
const r =
|
|
5855
|
+
const r = B.useRef(null), o = B.useCallback(
|
|
5856
5856
|
(l) => {
|
|
5857
5857
|
var f = Object.keys(l.currentTarget.elements), d = Object.values(l.currentTarget.elements), h = [];
|
|
5858
5858
|
for (let w = 0; w < f.length; w++) {
|
|
@@ -5868,7 +5868,7 @@ const fn = U.createContext({
|
|
|
5868
5868
|
return h;
|
|
5869
5869
|
},
|
|
5870
5870
|
[e]
|
|
5871
|
-
), i =
|
|
5871
|
+
), i = B.useCallback(
|
|
5872
5872
|
(l) => {
|
|
5873
5873
|
l.preventDefault();
|
|
5874
5874
|
const f = o(l);
|
|
@@ -5884,7 +5884,7 @@ const fn = U.createContext({
|
|
|
5884
5884
|
handleFormSubmission: i
|
|
5885
5885
|
};
|
|
5886
5886
|
}, Ya = (e) => {
|
|
5887
|
-
const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } = Ta(e), f =
|
|
5887
|
+
const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } = Ta(e), f = B.useCallback(() => t.map((d) => ({ ...d.content, key: d.name })), [t]);
|
|
5888
5888
|
return /* @__PURE__ */ G.jsxs(
|
|
5889
5889
|
"form",
|
|
5890
5890
|
{
|
|
@@ -6124,17 +6124,17 @@ const fn = U.createContext({
|
|
|
6124
6124
|
}
|
|
6125
6125
|
) });
|
|
6126
6126
|
}, La = (e) => {
|
|
6127
|
-
const t =
|
|
6127
|
+
const t = B.useRef(null), r = B.useRef(null), [o, i] = B.useState(24), [a, l] = B.useState(24), f = B.useCallback(() => {
|
|
6128
6128
|
t.current && i(t.current.clientHeight);
|
|
6129
|
-
}, [t, t.current]), d =
|
|
6129
|
+
}, [t, t.current]), d = B.useCallback(() => {
|
|
6130
6130
|
r.current && l(r.current.clientHeight);
|
|
6131
|
-
}, [r, r.current]), h =
|
|
6131
|
+
}, [r, r.current]), h = B.useCallback(() => {
|
|
6132
6132
|
let w = 0;
|
|
6133
6133
|
return e.header?.visibility === "always" && (w = w + (o || 0)), e.footer?.visibility === "always" && (w = w + (a || 0)), w;
|
|
6134
6134
|
}, [r, r.current]);
|
|
6135
|
-
return
|
|
6135
|
+
return B.useEffect(() => {
|
|
6136
6136
|
f();
|
|
6137
|
-
}, [f, t, t.current]),
|
|
6137
|
+
}, [f, t, t.current]), B.useEffect(() => {
|
|
6138
6138
|
d();
|
|
6139
6139
|
}, [d, r, r.current]), {
|
|
6140
6140
|
header: {
|
|
@@ -6221,8 +6221,7 @@ const fn = U.createContext({
|
|
|
6221
6221
|
display: "flex",
|
|
6222
6222
|
flex: 1,
|
|
6223
6223
|
marginTop: `-${d.height}px`,
|
|
6224
|
-
marginBottom: `-${f.height}px
|
|
6225
|
-
padding: `${d.height}px 0 ${f.height}px 0`
|
|
6224
|
+
marginBottom: `-${f.height}px`
|
|
6226
6225
|
},
|
|
6227
6226
|
children: /* @__PURE__ */ G.jsx(
|
|
6228
6227
|
"div",
|
|
@@ -6237,7 +6236,10 @@ const fn = U.createContext({
|
|
|
6237
6236
|
flex: 1,
|
|
6238
6237
|
minHeight: "100%",
|
|
6239
6238
|
scrollbarGutter: l ? "stable" : void 0,
|
|
6240
|
-
|
|
6239
|
+
paddingLeft: "24px",
|
|
6240
|
+
paddingRight: "24px",
|
|
6241
|
+
paddingTop: `${d.height}px`,
|
|
6242
|
+
paddingBottom: `${f.height}px`,
|
|
6241
6243
|
...r
|
|
6242
6244
|
},
|
|
6243
6245
|
children: o
|
|
@@ -6313,8 +6315,8 @@ const fn = U.createContext({
|
|
|
6313
6315
|
styles: r,
|
|
6314
6316
|
durationInSeconds: o = 3
|
|
6315
6317
|
}) => {
|
|
6316
|
-
const i =
|
|
6317
|
-
return
|
|
6318
|
+
const i = B.useRef(!1), { isItemVisible: a, hideItem: l } = St();
|
|
6319
|
+
return B.useEffect(() => {
|
|
6318
6320
|
const f = a(e);
|
|
6319
6321
|
i.current !== f && (i.current = f, f && setTimeout(() => l(e), o * 1e3));
|
|
6320
6322
|
}, [i, a, l]), /* @__PURE__ */ G.jsx(G.Fragment, { children: a(e) && /* @__PURE__ */ G.jsx(
|
|
@@ -6384,8 +6386,8 @@ class rs {
|
|
|
6384
6386
|
export {
|
|
6385
6387
|
Ia as Button,
|
|
6386
6388
|
Aa as Carousel,
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
+
Ua as Drawer,
|
|
6390
|
+
Ba as FeedbackProvider,
|
|
6389
6391
|
Ya as Form,
|
|
6390
6392
|
Va as Image,
|
|
6391
6393
|
Xa as InputField,
|