@eliseubatista99/react-scaffold-core 1.1.14 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -85,7 +85,7 @@ function _n() {
|
|
|
85
85
|
return "Profiler";
|
|
86
86
|
case R:
|
|
87
87
|
return "StrictMode";
|
|
88
|
-
case
|
|
88
|
+
case m:
|
|
89
89
|
return "Suspense";
|
|
90
90
|
case w:
|
|
91
91
|
return "SuspenseList";
|
|
@@ -229,7 +229,7 @@ function _n() {
|
|
|
229
229
|
var K = Object.keys(f).filter(function(J) {
|
|
230
230
|
return J !== "key";
|
|
231
231
|
});
|
|
232
|
-
I = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
232
|
+
I = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", v[B + I] || (K = 0 < K.length ? "{" + K.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
233
233
|
`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
240
240
|
B,
|
|
241
241
|
K,
|
|
242
242
|
B
|
|
243
|
-
),
|
|
243
|
+
), v[B + I] = !0);
|
|
244
244
|
}
|
|
245
245
|
if (B = null, O !== void 0 && (r(O), B = "" + O), c(f) && (r(f.key), B = "" + f.key), "key" in f) {
|
|
246
246
|
O = {};
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function y(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var E = q, M = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), W = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"),
|
|
267
|
+
var E = q, M = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), W = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), b = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), C = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, T = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
E = {
|
|
@@ -275,7 +275,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275
275
|
var P, L = {}, o = E["react-stack-bottom-frame"].bind(
|
|
276
276
|
E,
|
|
277
277
|
s
|
|
278
|
-
)(), z = j(i(s)),
|
|
278
|
+
)(), z = j(i(s)), v = {};
|
|
279
279
|
ze.Fragment = p, ze.jsx = function(n, f, O, I, D) {
|
|
280
280
|
var N = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
@@ -377,16 +377,16 @@ function Ln() {
|
|
|
377
377
|
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = l || h || Function("return this")(), y = Object.prototype, E = y.toString, M = Math.max, k = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
|
-
function R(
|
|
380
|
+
function R(m, w, x) {
|
|
381
381
|
var _, b, d, C, H, T, j = 0, P = !1, L = !1, o = !0;
|
|
382
|
-
if (typeof
|
|
382
|
+
if (typeof m != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
384
|
w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x, d = L ? M(F(x.maxWait) || 0, w) : d, o = "trailing" in x ? !!x.trailing : o);
|
|
385
385
|
function z(U) {
|
|
386
386
|
var B = _, K = b;
|
|
387
|
-
return _ = b = void 0, j = U, C =
|
|
387
|
+
return _ = b = void 0, j = U, C = m.apply(K, B), C;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function v(U) {
|
|
390
390
|
return j = U, H = setTimeout(O, w), P ? z(U) : C;
|
|
391
391
|
}
|
|
392
392
|
function n(U) {
|
|
@@ -416,7 +416,7 @@ function Ln() {
|
|
|
416
416
|
var U = p(), B = f(U);
|
|
417
417
|
if (_ = arguments, b = this, T = U, B) {
|
|
418
418
|
if (H === void 0)
|
|
419
|
-
return
|
|
419
|
+
return v(T);
|
|
420
420
|
if (L)
|
|
421
421
|
return H = setTimeout(O, w), z(T);
|
|
422
422
|
}
|
|
@@ -424,30 +424,30 @@ function Ln() {
|
|
|
424
424
|
}
|
|
425
425
|
return V.cancel = D, V.flush = N, V;
|
|
426
426
|
}
|
|
427
|
-
function S(
|
|
428
|
-
var w = typeof
|
|
429
|
-
return !!
|
|
427
|
+
function S(m) {
|
|
428
|
+
var w = typeof m;
|
|
429
|
+
return !!m && (w == "object" || w == "function");
|
|
430
430
|
}
|
|
431
|
-
function A(
|
|
432
|
-
return !!
|
|
431
|
+
function A(m) {
|
|
432
|
+
return !!m && typeof m == "object";
|
|
433
433
|
}
|
|
434
|
-
function W(
|
|
435
|
-
return typeof
|
|
434
|
+
function W(m) {
|
|
435
|
+
return typeof m == "symbol" || A(m) && E.call(m) == r;
|
|
436
436
|
}
|
|
437
|
-
function F(
|
|
438
|
-
if (typeof
|
|
439
|
-
return
|
|
440
|
-
if (W(
|
|
437
|
+
function F(m) {
|
|
438
|
+
if (typeof m == "number")
|
|
439
|
+
return m;
|
|
440
|
+
if (W(m))
|
|
441
441
|
return t;
|
|
442
|
-
if (S(
|
|
443
|
-
var w = typeof
|
|
444
|
-
|
|
442
|
+
if (S(m)) {
|
|
443
|
+
var w = typeof m.valueOf == "function" ? m.valueOf() : m;
|
|
444
|
+
m = S(w) ? w + "" : w;
|
|
445
445
|
}
|
|
446
|
-
if (typeof
|
|
447
|
-
return
|
|
448
|
-
|
|
449
|
-
var x = s.test(
|
|
450
|
-
return x || c.test(
|
|
446
|
+
if (typeof m != "string")
|
|
447
|
+
return m === 0 ? m : +m;
|
|
448
|
+
m = m.replace(i, "");
|
|
449
|
+
var x = s.test(m);
|
|
450
|
+
return x || c.test(m) ? u(m.slice(2), x ? 2 : 8) : a.test(m) ? t : +m;
|
|
451
451
|
}
|
|
452
452
|
return _t = R, _t;
|
|
453
453
|
}
|
|
@@ -573,57 +573,57 @@ function Ke() {
|
|
|
573
573
|
value: !0
|
|
574
574
|
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = h, Y.extractObject = void 0, Y.filterSettings = z, Y.validSettings = Y.swipeStart = Y.swipeMove = Y.swipeEnd = Y.slidesOnRight = Y.slidesOnLeft = Y.slideHandler = Y.siblingDirection = Y.safePreventDefault = Y.lazyStartIndex = Y.lazySlidesOnRight = Y.lazySlidesOnLeft = Y.lazyEndIndex = Y.keyHandler = Y.initializedState = Y.getWidth = Y.getTrackLeft = Y.getTrackCSS = Y.getTrackAnimateCSS = Y.getTotalSlides = Y.getSwipeDirection = Y.getSlideCount = Y.getRequiredLazySlides = Y.getPreClones = Y.getPostClones = Y.getOnDemandLazySlides = Y.getNavigableIndexes = Y.getHeight = void 0;
|
|
575
575
|
var e = r(q), t = r(zr());
|
|
576
|
-
function r(
|
|
577
|
-
return
|
|
576
|
+
function r(v) {
|
|
577
|
+
return v && v.__esModule ? v : { default: v };
|
|
578
578
|
}
|
|
579
|
-
function i(
|
|
579
|
+
function i(v) {
|
|
580
580
|
"@babel/helpers - typeof";
|
|
581
581
|
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
582
582
|
return typeof n;
|
|
583
583
|
} : function(n) {
|
|
584
584
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
585
|
-
}, i(
|
|
585
|
+
}, i(v);
|
|
586
586
|
}
|
|
587
|
-
function a(
|
|
588
|
-
var f = Object.keys(
|
|
587
|
+
function a(v, n) {
|
|
588
|
+
var f = Object.keys(v);
|
|
589
589
|
if (Object.getOwnPropertySymbols) {
|
|
590
|
-
var O = Object.getOwnPropertySymbols(
|
|
590
|
+
var O = Object.getOwnPropertySymbols(v);
|
|
591
591
|
n && (O = O.filter(function(I) {
|
|
592
|
-
return Object.getOwnPropertyDescriptor(
|
|
592
|
+
return Object.getOwnPropertyDescriptor(v, I).enumerable;
|
|
593
593
|
})), f.push.apply(f, O);
|
|
594
594
|
}
|
|
595
595
|
return f;
|
|
596
596
|
}
|
|
597
|
-
function s(
|
|
597
|
+
function s(v) {
|
|
598
598
|
for (var n = 1; n < arguments.length; n++) {
|
|
599
599
|
var f = arguments[n] != null ? arguments[n] : {};
|
|
600
600
|
n % 2 ? a(Object(f), !0).forEach(function(O) {
|
|
601
|
-
c(
|
|
602
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
603
|
-
Object.defineProperty(
|
|
601
|
+
c(v, O, f[O]);
|
|
602
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(f)) : a(Object(f)).forEach(function(O) {
|
|
603
|
+
Object.defineProperty(v, O, Object.getOwnPropertyDescriptor(f, O));
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
return
|
|
606
|
+
return v;
|
|
607
607
|
}
|
|
608
|
-
function c(
|
|
609
|
-
return (n = u(n)) in
|
|
608
|
+
function c(v, n, f) {
|
|
609
|
+
return (n = u(n)) in v ? Object.defineProperty(v, n, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : v[n] = f, v;
|
|
610
610
|
}
|
|
611
|
-
function u(
|
|
612
|
-
var n = l(
|
|
611
|
+
function u(v) {
|
|
612
|
+
var n = l(v, "string");
|
|
613
613
|
return i(n) == "symbol" ? n : n + "";
|
|
614
614
|
}
|
|
615
|
-
function l(
|
|
616
|
-
if (i(
|
|
617
|
-
var f =
|
|
615
|
+
function l(v, n) {
|
|
616
|
+
if (i(v) != "object" || !v) return v;
|
|
617
|
+
var f = v[Symbol.toPrimitive];
|
|
618
618
|
if (f !== void 0) {
|
|
619
|
-
var O = f.call(
|
|
619
|
+
var O = f.call(v, n);
|
|
620
620
|
if (i(O) != "object") return O;
|
|
621
621
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
622
622
|
}
|
|
623
|
-
return (n === "string" ? String : Number)(
|
|
623
|
+
return (n === "string" ? String : Number)(v);
|
|
624
624
|
}
|
|
625
|
-
function h(
|
|
626
|
-
return Math.max(n, Math.min(
|
|
625
|
+
function h(v, n, f) {
|
|
626
|
+
return Math.max(n, Math.min(v, f));
|
|
627
627
|
}
|
|
628
628
|
var g = Y.safePreventDefault = function(n) {
|
|
629
629
|
var f = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
@@ -812,11 +812,11 @@ function Ke() {
|
|
|
812
812
|
switch (le) {
|
|
813
813
|
case "left":
|
|
814
814
|
case "up":
|
|
815
|
-
ue = ce + w(f), oe = K ?
|
|
815
|
+
ue = ce + w(f), oe = K ? m(f, ue) : ue, Q.currentDirection = 0;
|
|
816
816
|
break;
|
|
817
817
|
case "right":
|
|
818
818
|
case "down":
|
|
819
|
-
ue = ce - w(f), oe = K ?
|
|
819
|
+
ue = ce - w(f), oe = K ? m(f, ue) : ue, Q.currentDirection = 1;
|
|
820
820
|
break;
|
|
821
821
|
default:
|
|
822
822
|
oe = ce;
|
|
@@ -834,7 +834,7 @@ function Ke() {
|
|
|
834
834
|
for (var f = n.infinite ? n.slideCount * 2 : n.slideCount, O = n.infinite ? n.slidesToShow * -1 : 0, I = n.infinite ? n.slidesToShow * -1 : 0, D = []; O < f; )
|
|
835
835
|
D.push(O), O = I + n.slidesToScroll, I += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
836
836
|
return D;
|
|
837
|
-
},
|
|
837
|
+
}, m = Y.checkNavigable = function(n, f) {
|
|
838
838
|
var O = F(n), I = 0;
|
|
839
839
|
if (f > O[O.length - 1])
|
|
840
840
|
f = O[O.length - 1];
|
|
@@ -943,9 +943,9 @@ function Ke() {
|
|
|
943
943
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
944
944
|
};
|
|
945
945
|
var o = Y.validSettings = Object.keys(t.default);
|
|
946
|
-
function z(
|
|
946
|
+
function z(v) {
|
|
947
947
|
return o.reduce(function(n, f) {
|
|
948
|
-
return
|
|
948
|
+
return v.hasOwnProperty(f) && (n[f] = v[f]), n;
|
|
949
949
|
}, {});
|
|
950
950
|
}
|
|
951
951
|
return Y;
|
|
@@ -1072,7 +1072,7 @@ function Mn() {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
return (d === "string" ? String : Number)(b);
|
|
1074
1074
|
}
|
|
1075
|
-
var
|
|
1075
|
+
var m = function(d) {
|
|
1076
1076
|
var C, H, T, j, P;
|
|
1077
1077
|
d.rtl ? P = d.slideCount - 1 - d.index : P = d.index, T = P < 0 || P >= d.slideCount, d.centerMode ? (j = Math.floor(d.slidesToShow / 2), H = (P - d.currentSlide) % d.slideCount === 0, P > d.currentSlide - j - 1 && P <= d.currentSlide + j && (C = !0)) : C = d.currentSlide <= P && P < d.currentSlide + d.slidesToShow;
|
|
1078
1078
|
var L;
|
|
@@ -1093,22 +1093,22 @@ function Mn() {
|
|
|
1093
1093
|
return d.key || C;
|
|
1094
1094
|
}, _ = function(d) {
|
|
1095
1095
|
var C, H = [], T = [], j = [], P = e.default.Children.count(d.children), L = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
1096
|
-
return e.default.Children.forEach(d.children, function(z,
|
|
1096
|
+
return e.default.Children.forEach(d.children, function(z, v) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
1099
|
-
index:
|
|
1099
|
+
index: v,
|
|
1100
1100
|
slidesToScroll: d.slidesToScroll,
|
|
1101
1101
|
currentSlide: d.currentSlide
|
|
1102
1102
|
};
|
|
1103
|
-
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(
|
|
1103
|
+
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(v) >= 0 ? n = z : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
1104
|
var O = w(S(S({}, d), {}, {
|
|
1105
|
-
index:
|
|
1106
|
-
})), I = n.props.className || "", D =
|
|
1107
|
-
index:
|
|
1105
|
+
index: v
|
|
1106
|
+
})), I = n.props.className || "", D = m(S(S({}, d), {}, {
|
|
1107
|
+
index: v
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (H.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1110
|
-
key: "original" + x(n,
|
|
1111
|
-
"data-index":
|
|
1110
|
+
key: "original" + x(n, v),
|
|
1111
|
+
"data-index": v,
|
|
1112
1112
|
className: (0, t.default)(D, I),
|
|
1113
1113
|
tabIndex: "-1",
|
|
1114
1114
|
"aria-hidden": !D["slick-active"],
|
|
@@ -1119,8 +1119,8 @@ function Mn() {
|
|
|
1119
1119
|
n.props && n.props.onClick && n.props.onClick(U), d.focusOnSelect && d.focusOnSelect(f);
|
|
1120
1120
|
}
|
|
1121
1121
|
})), d.infinite && P > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
|
-
var N = P -
|
|
1123
|
-
N <= (0, r.getPreClones)(d) && (C = -N, C >= L && (n = z), D =
|
|
1122
|
+
var N = P - v;
|
|
1123
|
+
N <= (0, r.getPreClones)(d) && (C = -N, C >= L && (n = z), D = m(S(S({}, d), {}, {
|
|
1124
1124
|
index: C
|
|
1125
1125
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
1126
|
key: "precloned" + x(n, C),
|
|
@@ -1132,7 +1132,7 @@ function Mn() {
|
|
|
1132
1132
|
onClick: function(U) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(U), d.focusOnSelect && d.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))),
|
|
1135
|
+
}))), v < (0, r.getPostClones)(d) && (C = P + v, C < o && (n = z), D = m(S(S({}, d), {}, {
|
|
1136
1136
|
index: C
|
|
1137
1137
|
})), j.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
1138
|
key: "postcloned" + x(n, C),
|
|
@@ -1181,84 +1181,84 @@ var We = {}, fr;
|
|
|
1181
1181
|
function Dn() {
|
|
1182
1182
|
if (fr) return We;
|
|
1183
1183
|
fr = 1;
|
|
1184
|
-
function e(
|
|
1184
|
+
function e(m) {
|
|
1185
1185
|
"@babel/helpers - typeof";
|
|
1186
1186
|
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
|
|
1187
1187
|
return typeof w;
|
|
1188
1188
|
} : function(w) {
|
|
1189
1189
|
return w && typeof Symbol == "function" && w.constructor === Symbol && w !== Symbol.prototype ? "symbol" : typeof w;
|
|
1190
|
-
}, e(
|
|
1190
|
+
}, e(m);
|
|
1191
1191
|
}
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
1195
|
var t = a(q), r = a(yt()), i = Ke();
|
|
1196
|
-
function a(
|
|
1197
|
-
return
|
|
1196
|
+
function a(m) {
|
|
1197
|
+
return m && m.__esModule ? m : { default: m };
|
|
1198
1198
|
}
|
|
1199
|
-
function s(
|
|
1200
|
-
var x = Object.keys(
|
|
1199
|
+
function s(m, w) {
|
|
1200
|
+
var x = Object.keys(m);
|
|
1201
1201
|
if (Object.getOwnPropertySymbols) {
|
|
1202
|
-
var _ = Object.getOwnPropertySymbols(
|
|
1202
|
+
var _ = Object.getOwnPropertySymbols(m);
|
|
1203
1203
|
w && (_ = _.filter(function(b) {
|
|
1204
|
-
return Object.getOwnPropertyDescriptor(
|
|
1204
|
+
return Object.getOwnPropertyDescriptor(m, b).enumerable;
|
|
1205
1205
|
})), x.push.apply(x, _);
|
|
1206
1206
|
}
|
|
1207
1207
|
return x;
|
|
1208
1208
|
}
|
|
1209
|
-
function c(
|
|
1209
|
+
function c(m) {
|
|
1210
1210
|
for (var w = 1; w < arguments.length; w++) {
|
|
1211
1211
|
var x = arguments[w] != null ? arguments[w] : {};
|
|
1212
1212
|
w % 2 ? s(Object(x), !0).forEach(function(_) {
|
|
1213
|
-
u(
|
|
1214
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1215
|
-
Object.defineProperty(
|
|
1213
|
+
u(m, _, x[_]);
|
|
1214
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(x)) : s(Object(x)).forEach(function(_) {
|
|
1215
|
+
Object.defineProperty(m, _, Object.getOwnPropertyDescriptor(x, _));
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
|
-
return
|
|
1218
|
+
return m;
|
|
1219
1219
|
}
|
|
1220
|
-
function u(
|
|
1221
|
-
return (w = y(w)) in
|
|
1220
|
+
function u(m, w, x) {
|
|
1221
|
+
return (w = y(w)) in m ? Object.defineProperty(m, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : m[w] = x, m;
|
|
1222
1222
|
}
|
|
1223
|
-
function l(
|
|
1224
|
-
if (!(
|
|
1223
|
+
function l(m, w) {
|
|
1224
|
+
if (!(m instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1225
1225
|
}
|
|
1226
|
-
function h(
|
|
1226
|
+
function h(m, w) {
|
|
1227
1227
|
for (var x = 0; x < w.length; x++) {
|
|
1228
1228
|
var _ = w[x];
|
|
1229
|
-
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(
|
|
1229
|
+
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(m, y(_.key), _);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
function g(
|
|
1233
|
-
return w && h(
|
|
1232
|
+
function g(m, w, x) {
|
|
1233
|
+
return w && h(m.prototype, w), Object.defineProperty(m, "prototype", { writable: !1 }), m;
|
|
1234
1234
|
}
|
|
1235
|
-
function y(
|
|
1236
|
-
var w = E(
|
|
1235
|
+
function y(m) {
|
|
1236
|
+
var w = E(m, "string");
|
|
1237
1237
|
return e(w) == "symbol" ? w : w + "";
|
|
1238
1238
|
}
|
|
1239
|
-
function E(
|
|
1240
|
-
if (e(
|
|
1241
|
-
var x =
|
|
1239
|
+
function E(m, w) {
|
|
1240
|
+
if (e(m) != "object" || !m) return m;
|
|
1241
|
+
var x = m[Symbol.toPrimitive];
|
|
1242
1242
|
if (x !== void 0) {
|
|
1243
|
-
var _ = x.call(
|
|
1243
|
+
var _ = x.call(m, w);
|
|
1244
1244
|
if (e(_) != "object") return _;
|
|
1245
1245
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1246
1246
|
}
|
|
1247
|
-
return String(
|
|
1247
|
+
return String(m);
|
|
1248
1248
|
}
|
|
1249
|
-
function M(
|
|
1249
|
+
function M(m, w) {
|
|
1250
1250
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
-
|
|
1251
|
+
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w && k(m, w);
|
|
1252
1252
|
}
|
|
1253
|
-
function k(
|
|
1253
|
+
function k(m, w) {
|
|
1254
1254
|
return k = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, _) {
|
|
1255
1255
|
return x.__proto__ = _, x;
|
|
1256
|
-
}, k(
|
|
1256
|
+
}, k(m, w);
|
|
1257
1257
|
}
|
|
1258
|
-
function p(
|
|
1258
|
+
function p(m) {
|
|
1259
1259
|
var w = A();
|
|
1260
1260
|
return function() {
|
|
1261
|
-
var x, _ = W(
|
|
1261
|
+
var x, _ = W(m);
|
|
1262
1262
|
if (w) {
|
|
1263
1263
|
var b = W(this).constructor;
|
|
1264
1264
|
x = Reflect.construct(_, arguments, b);
|
|
@@ -1266,36 +1266,36 @@ function Dn() {
|
|
|
1266
1266
|
return R(this, x);
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
1269
|
-
function R(
|
|
1269
|
+
function R(m, w) {
|
|
1270
1270
|
if (w && (e(w) == "object" || typeof w == "function")) return w;
|
|
1271
1271
|
if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1272
|
-
return S(
|
|
1272
|
+
return S(m);
|
|
1273
1273
|
}
|
|
1274
|
-
function S(
|
|
1275
|
-
if (
|
|
1276
|
-
return
|
|
1274
|
+
function S(m) {
|
|
1275
|
+
if (m === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1276
|
+
return m;
|
|
1277
1277
|
}
|
|
1278
1278
|
function A() {
|
|
1279
1279
|
try {
|
|
1280
|
-
var
|
|
1280
|
+
var m = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1281
1281
|
}));
|
|
1282
1282
|
} catch {
|
|
1283
1283
|
}
|
|
1284
1284
|
return (A = function() {
|
|
1285
|
-
return !!
|
|
1285
|
+
return !!m;
|
|
1286
1286
|
})();
|
|
1287
1287
|
}
|
|
1288
|
-
function W(
|
|
1288
|
+
function W(m) {
|
|
1289
1289
|
return W = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(w) {
|
|
1290
1290
|
return w.__proto__ || Object.getPrototypeOf(w);
|
|
1291
|
-
}, W(
|
|
1291
|
+
}, W(m);
|
|
1292
1292
|
}
|
|
1293
1293
|
var F = function(w) {
|
|
1294
1294
|
var x;
|
|
1295
1295
|
return w.infinite ? x = Math.ceil(w.slideCount / w.slidesToScroll) : x = Math.ceil((w.slideCount - w.slidesToShow) / w.slidesToScroll) + 1, x;
|
|
1296
1296
|
};
|
|
1297
|
-
return We.Dots = /* @__PURE__ */ function(
|
|
1298
|
-
M(x,
|
|
1297
|
+
return We.Dots = /* @__PURE__ */ function(m) {
|
|
1298
|
+
M(x, m);
|
|
1299
1299
|
var w = p(x);
|
|
1300
1300
|
function x() {
|
|
1301
1301
|
return l(this, x), w.apply(this, arguments);
|
|
@@ -1313,7 +1313,7 @@ function Dn() {
|
|
|
1313
1313
|
slidesToScroll: j,
|
|
1314
1314
|
slidesToShow: P,
|
|
1315
1315
|
infinite: T
|
|
1316
|
-
}),
|
|
1316
|
+
}), v = {
|
|
1317
1317
|
onMouseEnter: d,
|
|
1318
1318
|
onMouseOver: C,
|
|
1319
1319
|
onMouseLeave: H
|
|
@@ -1335,7 +1335,7 @@ function Dn() {
|
|
|
1335
1335
|
}
|
|
1336
1336
|
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n), c({
|
|
1337
1337
|
className: this.props.dotsClass
|
|
1338
|
-
},
|
|
1338
|
+
}, v));
|
|
1339
1339
|
}
|
|
1340
1340
|
}]), x;
|
|
1341
1341
|
}(t.default.PureComponent), We;
|
|
@@ -1344,94 +1344,94 @@ var _e = {}, dr;
|
|
|
1344
1344
|
function $n() {
|
|
1345
1345
|
if (dr) return _e;
|
|
1346
1346
|
dr = 1;
|
|
1347
|
-
function e(
|
|
1347
|
+
function e(m) {
|
|
1348
1348
|
"@babel/helpers - typeof";
|
|
1349
1349
|
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
|
|
1350
1350
|
return typeof w;
|
|
1351
1351
|
} : function(w) {
|
|
1352
1352
|
return w && typeof Symbol == "function" && w.constructor === Symbol && w !== Symbol.prototype ? "symbol" : typeof w;
|
|
1353
|
-
}, e(
|
|
1353
|
+
}, e(m);
|
|
1354
1354
|
}
|
|
1355
1355
|
Object.defineProperty(_e, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), _e.PrevArrow = _e.NextArrow = void 0;
|
|
1358
1358
|
var t = a(q), r = a(yt()), i = Ke();
|
|
1359
|
-
function a(
|
|
1360
|
-
return
|
|
1359
|
+
function a(m) {
|
|
1360
|
+
return m && m.__esModule ? m : { default: m };
|
|
1361
1361
|
}
|
|
1362
1362
|
function s() {
|
|
1363
|
-
return s = Object.assign ? Object.assign.bind() : function(
|
|
1363
|
+
return s = Object.assign ? Object.assign.bind() : function(m) {
|
|
1364
1364
|
for (var w = 1; w < arguments.length; w++) {
|
|
1365
1365
|
var x = arguments[w];
|
|
1366
1366
|
for (var _ in x)
|
|
1367
|
-
({}).hasOwnProperty.call(x, _) && (
|
|
1367
|
+
({}).hasOwnProperty.call(x, _) && (m[_] = x[_]);
|
|
1368
1368
|
}
|
|
1369
|
-
return
|
|
1369
|
+
return m;
|
|
1370
1370
|
}, s.apply(null, arguments);
|
|
1371
1371
|
}
|
|
1372
|
-
function c(
|
|
1373
|
-
var x = Object.keys(
|
|
1372
|
+
function c(m, w) {
|
|
1373
|
+
var x = Object.keys(m);
|
|
1374
1374
|
if (Object.getOwnPropertySymbols) {
|
|
1375
|
-
var _ = Object.getOwnPropertySymbols(
|
|
1375
|
+
var _ = Object.getOwnPropertySymbols(m);
|
|
1376
1376
|
w && (_ = _.filter(function(b) {
|
|
1377
|
-
return Object.getOwnPropertyDescriptor(
|
|
1377
|
+
return Object.getOwnPropertyDescriptor(m, b).enumerable;
|
|
1378
1378
|
})), x.push.apply(x, _);
|
|
1379
1379
|
}
|
|
1380
1380
|
return x;
|
|
1381
1381
|
}
|
|
1382
|
-
function u(
|
|
1382
|
+
function u(m) {
|
|
1383
1383
|
for (var w = 1; w < arguments.length; w++) {
|
|
1384
1384
|
var x = arguments[w] != null ? arguments[w] : {};
|
|
1385
1385
|
w % 2 ? c(Object(x), !0).forEach(function(_) {
|
|
1386
|
-
l(
|
|
1387
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1388
|
-
Object.defineProperty(
|
|
1386
|
+
l(m, _, x[_]);
|
|
1387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(x)) : c(Object(x)).forEach(function(_) {
|
|
1388
|
+
Object.defineProperty(m, _, Object.getOwnPropertyDescriptor(x, _));
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
|
-
return
|
|
1391
|
+
return m;
|
|
1392
1392
|
}
|
|
1393
|
-
function l(
|
|
1394
|
-
return (w = E(w)) in
|
|
1393
|
+
function l(m, w, x) {
|
|
1394
|
+
return (w = E(w)) in m ? Object.defineProperty(m, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : m[w] = x, m;
|
|
1395
1395
|
}
|
|
1396
|
-
function h(
|
|
1397
|
-
if (!(
|
|
1396
|
+
function h(m, w) {
|
|
1397
|
+
if (!(m instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1398
1398
|
}
|
|
1399
|
-
function g(
|
|
1399
|
+
function g(m, w) {
|
|
1400
1400
|
for (var x = 0; x < w.length; x++) {
|
|
1401
1401
|
var _ = w[x];
|
|
1402
|
-
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(
|
|
1402
|
+
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(m, E(_.key), _);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
function y(
|
|
1406
|
-
return w && g(
|
|
1405
|
+
function y(m, w, x) {
|
|
1406
|
+
return w && g(m.prototype, w), Object.defineProperty(m, "prototype", { writable: !1 }), m;
|
|
1407
1407
|
}
|
|
1408
|
-
function E(
|
|
1409
|
-
var w = M(
|
|
1408
|
+
function E(m) {
|
|
1409
|
+
var w = M(m, "string");
|
|
1410
1410
|
return e(w) == "symbol" ? w : w + "";
|
|
1411
1411
|
}
|
|
1412
|
-
function M(
|
|
1413
|
-
if (e(
|
|
1414
|
-
var x =
|
|
1412
|
+
function M(m, w) {
|
|
1413
|
+
if (e(m) != "object" || !m) return m;
|
|
1414
|
+
var x = m[Symbol.toPrimitive];
|
|
1415
1415
|
if (x !== void 0) {
|
|
1416
|
-
var _ = x.call(
|
|
1416
|
+
var _ = x.call(m, w);
|
|
1417
1417
|
if (e(_) != "object") return _;
|
|
1418
1418
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1419
1419
|
}
|
|
1420
|
-
return String(
|
|
1420
|
+
return String(m);
|
|
1421
1421
|
}
|
|
1422
|
-
function k(
|
|
1422
|
+
function k(m, w) {
|
|
1423
1423
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
|
-
|
|
1424
|
+
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w && p(m, w);
|
|
1425
1425
|
}
|
|
1426
|
-
function p(
|
|
1426
|
+
function p(m, w) {
|
|
1427
1427
|
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, _) {
|
|
1428
1428
|
return x.__proto__ = _, x;
|
|
1429
|
-
}, p(
|
|
1429
|
+
}, p(m, w);
|
|
1430
1430
|
}
|
|
1431
|
-
function R(
|
|
1431
|
+
function R(m) {
|
|
1432
1432
|
var w = W();
|
|
1433
1433
|
return function() {
|
|
1434
|
-
var x, _ = F(
|
|
1434
|
+
var x, _ = F(m);
|
|
1435
1435
|
if (w) {
|
|
1436
1436
|
var b = F(this).constructor;
|
|
1437
1437
|
x = Reflect.construct(_, arguments, b);
|
|
@@ -1439,32 +1439,32 @@ function $n() {
|
|
|
1439
1439
|
return S(this, x);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function S(
|
|
1442
|
+
function S(m, w) {
|
|
1443
1443
|
if (w && (e(w) == "object" || typeof w == "function")) return w;
|
|
1444
1444
|
if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1445
|
-
return A(
|
|
1445
|
+
return A(m);
|
|
1446
1446
|
}
|
|
1447
|
-
function A(
|
|
1448
|
-
if (
|
|
1449
|
-
return
|
|
1447
|
+
function A(m) {
|
|
1448
|
+
if (m === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1449
|
+
return m;
|
|
1450
1450
|
}
|
|
1451
1451
|
function W() {
|
|
1452
1452
|
try {
|
|
1453
|
-
var
|
|
1453
|
+
var m = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1454
1454
|
}));
|
|
1455
1455
|
} catch {
|
|
1456
1456
|
}
|
|
1457
1457
|
return (W = function() {
|
|
1458
|
-
return !!
|
|
1458
|
+
return !!m;
|
|
1459
1459
|
})();
|
|
1460
1460
|
}
|
|
1461
|
-
function F(
|
|
1461
|
+
function F(m) {
|
|
1462
1462
|
return F = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(w) {
|
|
1463
1463
|
return w.__proto__ || Object.getPrototypeOf(w);
|
|
1464
|
-
}, F(
|
|
1464
|
+
}, F(m);
|
|
1465
1465
|
}
|
|
1466
|
-
return _e.PrevArrow = /* @__PURE__ */ function(
|
|
1467
|
-
k(x,
|
|
1466
|
+
return _e.PrevArrow = /* @__PURE__ */ function(m) {
|
|
1467
|
+
k(x, m);
|
|
1468
1468
|
var w = R(x);
|
|
1469
1469
|
function x() {
|
|
1470
1470
|
return h(this, x), w.apply(this, arguments);
|
|
@@ -1502,8 +1502,8 @@ function $n() {
|
|
|
1502
1502
|
}, C), " ", "Previous"), T;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), x;
|
|
1505
|
-
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(
|
|
1506
|
-
k(x,
|
|
1505
|
+
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(m) {
|
|
1506
|
+
k(x, m);
|
|
1507
1507
|
var w = R(x);
|
|
1508
1508
|
function x() {
|
|
1509
1509
|
return h(this, x), w.apply(this, arguments);
|
|
@@ -1924,7 +1924,7 @@ function ri() {
|
|
|
1924
1924
|
return P.__proto__ = L, P;
|
|
1925
1925
|
}, F(T, j);
|
|
1926
1926
|
}
|
|
1927
|
-
function
|
|
1927
|
+
function m(T) {
|
|
1928
1928
|
var j = _();
|
|
1929
1929
|
return function() {
|
|
1930
1930
|
var P, L = b(T);
|
|
@@ -1978,26 +1978,26 @@ function ri() {
|
|
|
1978
1978
|
}
|
|
1979
1979
|
return Ne.InnerSlider = /* @__PURE__ */ function(T) {
|
|
1980
1980
|
W(P, T);
|
|
1981
|
-
var j =
|
|
1981
|
+
var j = m(P);
|
|
1982
1982
|
function P(L) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
R(this, P), o = j.call(this, L), d(x(o), "listRefHandler", function(
|
|
1985
|
-
return o.list =
|
|
1986
|
-
}), d(x(o), "trackRefHandler", function(
|
|
1987
|
-
return o.track =
|
|
1984
|
+
R(this, P), o = j.call(this, L), d(x(o), "listRefHandler", function(v) {
|
|
1985
|
+
return o.list = v;
|
|
1986
|
+
}), d(x(o), "trackRefHandler", function(v) {
|
|
1987
|
+
return o.track = v;
|
|
1988
1988
|
}), d(x(o), "adaptHeight", function() {
|
|
1989
1989
|
if (o.props.adaptiveHeight && o.list) {
|
|
1990
|
-
var
|
|
1991
|
-
o.list.style.height = (0, a.getHeight)(
|
|
1990
|
+
var v = o.list.querySelector('[data-index="'.concat(o.state.currentSlide, '"]'));
|
|
1991
|
+
o.list.style.height = (0, a.getHeight)(v) + "px";
|
|
1992
1992
|
}
|
|
1993
1993
|
}), d(x(o), "componentDidMount", function() {
|
|
1994
1994
|
if (o.props.onInit && o.props.onInit(), o.props.lazyLoad) {
|
|
1995
|
-
var
|
|
1996
|
-
|
|
1995
|
+
var v = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
1996
|
+
v.length > 0 && (o.setState(function(f) {
|
|
1997
1997
|
return {
|
|
1998
|
-
lazyLoadedList: f.lazyLoadedList.concat(
|
|
1998
|
+
lazyLoadedList: f.lazyLoadedList.concat(v)
|
|
1999
1999
|
};
|
|
2000
|
-
}), o.props.onLazyLoad && o.props.onLazyLoad(
|
|
2000
|
+
}), o.props.onLazyLoad && o.props.onLazyLoad(v));
|
|
2001
2001
|
}
|
|
2002
2002
|
var n = p({
|
|
2003
2003
|
listRef: o.list,
|
|
@@ -2013,10 +2013,10 @@ function ri() {
|
|
|
2013
2013
|
f.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, f.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
2015
|
}), d(x(o), "componentWillUnmount", function() {
|
|
2016
|
-
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(
|
|
2017
|
-
return clearTimeout(
|
|
2016
|
+
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(v) {
|
|
2017
|
+
return clearTimeout(v);
|
|
2018
2018
|
}), o.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", o.onWindowResized) : window.detachEvent("onresize", o.onWindowResized), o.autoplayTimer && clearInterval(o.autoplayTimer), o.ro.disconnect();
|
|
2019
|
-
}), d(x(o), "componentDidUpdate", function(
|
|
2019
|
+
}), d(x(o), "componentDidUpdate", function(v) {
|
|
2020
2020
|
if (o.checkImagesLoad(), o.props.onReInit && o.props.onReInit(), o.props.lazyLoad) {
|
|
2021
2021
|
var n = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
2022
2022
|
n.length > 0 && (o.setState(function(I) {
|
|
@@ -2029,7 +2029,7 @@ function ri() {
|
|
|
2029
2029
|
var f = p(p({
|
|
2030
2030
|
listRef: o.list,
|
|
2031
2031
|
trackRef: o.track
|
|
2032
|
-
}, o.props), o.state), O = o.didPropsChange(
|
|
2032
|
+
}, o.props), o.state), O = o.didPropsChange(v);
|
|
2033
2033
|
O && o.updateState(f, O, function() {
|
|
2034
2034
|
o.state.currentSlide >= e.default.Children.count(o.props.children) && o.changeSlide({
|
|
2035
2035
|
message: "index",
|
|
@@ -2037,52 +2037,52 @@ function ri() {
|
|
|
2037
2037
|
currentSlide: o.state.currentSlide
|
|
2038
2038
|
}), o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2039
2039
|
});
|
|
2040
|
-
}), d(x(o), "onWindowResized", function(
|
|
2040
|
+
}), d(x(o), "onWindowResized", function(v) {
|
|
2041
2041
|
o.debouncedResize && o.debouncedResize.cancel(), o.debouncedResize = (0, r.default)(function() {
|
|
2042
|
-
return o.resizeWindow(
|
|
2042
|
+
return o.resizeWindow(v);
|
|
2043
2043
|
}, 50), o.debouncedResize();
|
|
2044
2044
|
}), d(x(o), "resizeWindow", function() {
|
|
2045
|
-
var
|
|
2045
|
+
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, n = !!(o.track && o.track.node);
|
|
2046
2046
|
if (n) {
|
|
2047
2047
|
var f = p(p({
|
|
2048
2048
|
listRef: o.list,
|
|
2049
2049
|
trackRef: o.track
|
|
2050
2050
|
}, o.props), o.state);
|
|
2051
|
-
o.updateState(f,
|
|
2051
|
+
o.updateState(f, v, function() {
|
|
2052
2052
|
o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2053
2053
|
}), o.setState({
|
|
2054
2054
|
animating: !1
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
|
-
}), d(x(o), "updateState", function(
|
|
2058
|
-
var O = (0, a.initializedState)(
|
|
2059
|
-
|
|
2057
|
+
}), d(x(o), "updateState", function(v, n, f) {
|
|
2058
|
+
var O = (0, a.initializedState)(v);
|
|
2059
|
+
v = p(p(p({}, v), O), {}, {
|
|
2060
2060
|
slideIndex: O.currentSlide
|
|
2061
2061
|
});
|
|
2062
|
-
var I = (0, a.getTrackLeft)(
|
|
2063
|
-
|
|
2062
|
+
var I = (0, a.getTrackLeft)(v);
|
|
2063
|
+
v = p(p({}, v), {}, {
|
|
2064
2064
|
left: I
|
|
2065
2065
|
});
|
|
2066
|
-
var D = (0, a.getTrackCSS)(
|
|
2067
|
-
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(
|
|
2066
|
+
var D = (0, a.getTrackCSS)(v);
|
|
2067
|
+
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(v.children)) && (O.trackStyle = D), o.setState(O, f);
|
|
2068
2068
|
}), d(x(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
|
-
var
|
|
2070
|
+
var v = 0, n = 0, f = [], O = (0, a.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
2072
2072
|
})), I = (0, a.getPostClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2073
2073
|
slideCount: o.props.children.length
|
|
2074
2074
|
}));
|
|
2075
2075
|
o.props.children.forEach(function(le) {
|
|
2076
|
-
f.push(le.props.style.width),
|
|
2076
|
+
f.push(le.props.style.width), v += le.props.style.width;
|
|
2077
2077
|
});
|
|
2078
2078
|
for (var D = 0; D < O; D++)
|
|
2079
|
-
n += f[f.length - 1 - D],
|
|
2079
|
+
n += f[f.length - 1 - D], v += f[f.length - 1 - D];
|
|
2080
2080
|
for (var N = 0; N < I; N++)
|
|
2081
|
-
|
|
2081
|
+
v += f[N];
|
|
2082
2082
|
for (var V = 0; V < o.state.currentSlide; V++)
|
|
2083
2083
|
n += f[V];
|
|
2084
2084
|
var U = {
|
|
2085
|
-
width:
|
|
2085
|
+
width: v + "px",
|
|
2086
2086
|
left: -n + "px"
|
|
2087
2087
|
};
|
|
2088
2088
|
if (o.props.centerMode) {
|
|
@@ -2106,8 +2106,8 @@ function ri() {
|
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
2108
|
}), d(x(o), "checkImagesLoad", function() {
|
|
2109
|
-
var
|
|
2110
|
-
Array.prototype.forEach.call(
|
|
2109
|
+
var v = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = v.length, f = 0;
|
|
2110
|
+
Array.prototype.forEach.call(v, function(O) {
|
|
2111
2111
|
var I = function() {
|
|
2112
2112
|
return ++f && f >= n && o.onWindowResized();
|
|
2113
2113
|
};
|
|
@@ -2128,24 +2128,24 @@ function ri() {
|
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
2130
|
}), d(x(o), "progressiveLazyLoad", function() {
|
|
2131
|
-
for (var
|
|
2131
|
+
for (var v = [], n = p(p({}, o.props), o.state), f = o.state.currentSlide; f < o.state.slideCount + (0, a.getPostClones)(n); f++)
|
|
2132
2132
|
if (o.state.lazyLoadedList.indexOf(f) < 0) {
|
|
2133
|
-
|
|
2133
|
+
v.push(f);
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
2136
|
for (var O = o.state.currentSlide - 1; O >= -(0, a.getPreClones)(n); O--)
|
|
2137
2137
|
if (o.state.lazyLoadedList.indexOf(O) < 0) {
|
|
2138
|
-
|
|
2138
|
+
v.push(O);
|
|
2139
2139
|
break;
|
|
2140
2140
|
}
|
|
2141
|
-
|
|
2141
|
+
v.length > 0 ? (o.setState(function(I) {
|
|
2142
2142
|
return {
|
|
2143
|
-
lazyLoadedList: I.lazyLoadedList.concat(
|
|
2143
|
+
lazyLoadedList: I.lazyLoadedList.concat(v)
|
|
2144
2144
|
};
|
|
2145
|
-
}), o.props.onLazyLoad && o.props.onLazyLoad(
|
|
2146
|
-
}), d(x(o), "slideHandler", function(
|
|
2145
|
+
}), o.props.onLazyLoad && o.props.onLazyLoad(v)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
|
+
}), d(x(o), "slideHandler", function(v) {
|
|
2147
2147
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, I = f.beforeChange, D = f.onLazyLoad, N = f.speed, V = f.afterChange, U = o.state.currentSlide, B = (0, a.slideHandler)(p(p(p({
|
|
2148
|
-
index:
|
|
2148
|
+
index: v
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
2151
2151
|
useCSS: o.props.useCSS && !n
|
|
@@ -2156,7 +2156,7 @@ function ri() {
|
|
|
2156
2156
|
return o.state.lazyLoadedList.indexOf(te) < 0;
|
|
2157
2157
|
});
|
|
2158
2158
|
D && J.length > 0 && D(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), V && V(U), delete o.animationEndCallback), o.setState(K, function() {
|
|
2159
|
-
O && o.asNavForIndex !==
|
|
2159
|
+
O && o.asNavForIndex !== v && (o.asNavForIndex = v, O.innerSlider.slideHandler(v)), G && (o.animationEndCallback = setTimeout(function() {
|
|
2160
2160
|
var te = G.animating, Z = E(G, ["animating"]);
|
|
2161
2161
|
o.setState(Z, function() {
|
|
2162
2162
|
o.callbackTimers.push(setTimeout(function() {
|
|
@@ -2168,41 +2168,41 @@ function ri() {
|
|
|
2168
2168
|
}, N));
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
}), d(x(o), "changeSlide", function(
|
|
2172
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), O = (0, a.changeSlide)(f,
|
|
2171
|
+
}), d(x(o), "changeSlide", function(v) {
|
|
2172
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), O = (0, a.changeSlide)(f, v);
|
|
2173
2173
|
if (!(O !== 0 && !O) && (n === !0 ? o.slideHandler(O, n) : o.slideHandler(O), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2174
2174
|
var I = o.list.querySelectorAll(".slick-current");
|
|
2175
2175
|
I[0] && I[0].focus();
|
|
2176
2176
|
}
|
|
2177
|
-
}), d(x(o), "clickHandler", function(
|
|
2178
|
-
o.clickable === !1 && (
|
|
2179
|
-
}), d(x(o), "keyHandler", function(
|
|
2180
|
-
var n = (0, a.keyHandler)(
|
|
2177
|
+
}), d(x(o), "clickHandler", function(v) {
|
|
2178
|
+
o.clickable === !1 && (v.stopPropagation(), v.preventDefault()), o.clickable = !0;
|
|
2179
|
+
}), d(x(o), "keyHandler", function(v) {
|
|
2180
|
+
var n = (0, a.keyHandler)(v, o.props.accessibility, o.props.rtl);
|
|
2181
2181
|
n !== "" && o.changeSlide({
|
|
2182
2182
|
message: n
|
|
2183
2183
|
});
|
|
2184
|
-
}), d(x(o), "selectHandler", function(
|
|
2185
|
-
o.changeSlide(
|
|
2184
|
+
}), d(x(o), "selectHandler", function(v) {
|
|
2185
|
+
o.changeSlide(v);
|
|
2186
2186
|
}), d(x(o), "disableBodyScroll", function() {
|
|
2187
|
-
var
|
|
2187
|
+
var v = function(f) {
|
|
2188
2188
|
f = f || window.event, f.preventDefault && f.preventDefault(), f.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
|
-
window.ontouchmove =
|
|
2190
|
+
window.ontouchmove = v;
|
|
2191
2191
|
}), d(x(o), "enableBodyScroll", function() {
|
|
2192
2192
|
window.ontouchmove = null;
|
|
2193
|
-
}), d(x(o), "swipeStart", function(
|
|
2193
|
+
}), d(x(o), "swipeStart", function(v) {
|
|
2194
2194
|
o.props.verticalSwiping && o.disableBodyScroll();
|
|
2195
|
-
var n = (0, a.swipeStart)(
|
|
2195
|
+
var n = (0, a.swipeStart)(v, o.props.swipe, o.props.draggable);
|
|
2196
2196
|
n !== "" && o.setState(n);
|
|
2197
|
-
}), d(x(o), "swipeMove", function(
|
|
2198
|
-
var n = (0, a.swipeMove)(
|
|
2197
|
+
}), d(x(o), "swipeMove", function(v) {
|
|
2198
|
+
var n = (0, a.swipeMove)(v, p(p(p({}, o.props), o.state), {}, {
|
|
2199
2199
|
trackRef: o.track,
|
|
2200
2200
|
listRef: o.list,
|
|
2201
2201
|
slideIndex: o.state.currentSlide
|
|
2202
2202
|
}));
|
|
2203
2203
|
n && (n.swiping && (o.clickable = !1), o.setState(n));
|
|
2204
|
-
}), d(x(o), "swipeEnd", function(
|
|
2205
|
-
var n = (0, a.swipeEnd)(
|
|
2204
|
+
}), d(x(o), "swipeEnd", function(v) {
|
|
2205
|
+
var n = (0, a.swipeEnd)(v, p(p(p({}, o.props), o.state), {}, {
|
|
2206
2206
|
trackRef: o.track,
|
|
2207
2207
|
listRef: o.list,
|
|
2208
2208
|
slideIndex: o.state.currentSlide
|
|
@@ -2211,8 +2211,8 @@ function ri() {
|
|
|
2211
2211
|
var f = n.triggerSlideHandler;
|
|
2212
2212
|
delete n.triggerSlideHandler, o.setState(n), f !== void 0 && (o.slideHandler(f), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
|
-
}), d(x(o), "touchEnd", function(
|
|
2215
|
-
o.swipeEnd(
|
|
2214
|
+
}), d(x(o), "touchEnd", function(v) {
|
|
2215
|
+
o.swipeEnd(v), o.clickable = !0;
|
|
2216
2216
|
}), d(x(o), "slickPrev", function() {
|
|
2217
2217
|
o.callbackTimers.push(setTimeout(function() {
|
|
2218
2218
|
return o.changeSlide({
|
|
@@ -2225,45 +2225,45 @@ function ri() {
|
|
|
2225
2225
|
message: "next"
|
|
2226
2226
|
});
|
|
2227
2227
|
}, 0));
|
|
2228
|
-
}), d(x(o), "slickGoTo", function(
|
|
2228
|
+
}), d(x(o), "slickGoTo", function(v) {
|
|
2229
2229
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2230
|
-
if (
|
|
2230
|
+
if (v = Number(v), isNaN(v)) return "";
|
|
2231
2231
|
o.callbackTimers.push(setTimeout(function() {
|
|
2232
2232
|
return o.changeSlide({
|
|
2233
2233
|
message: "index",
|
|
2234
|
-
index:
|
|
2234
|
+
index: v,
|
|
2235
2235
|
currentSlide: o.state.currentSlide
|
|
2236
2236
|
}, n);
|
|
2237
2237
|
}, 0));
|
|
2238
2238
|
}), d(x(o), "play", function() {
|
|
2239
|
-
var
|
|
2239
|
+
var v;
|
|
2240
2240
|
if (o.props.rtl)
|
|
2241
|
-
|
|
2241
|
+
v = o.state.currentSlide - o.props.slidesToScroll;
|
|
2242
2242
|
else if ((0, a.canGoNext)(p(p({}, o.props), o.state)))
|
|
2243
|
-
|
|
2243
|
+
v = o.state.currentSlide + o.props.slidesToScroll;
|
|
2244
2244
|
else
|
|
2245
2245
|
return !1;
|
|
2246
|
-
o.slideHandler(
|
|
2247
|
-
}), d(x(o), "autoPlay", function(
|
|
2246
|
+
o.slideHandler(v);
|
|
2247
|
+
}), d(x(o), "autoPlay", function(v) {
|
|
2248
2248
|
o.autoplayTimer && clearInterval(o.autoplayTimer);
|
|
2249
2249
|
var n = o.state.autoplaying;
|
|
2250
|
-
if (
|
|
2250
|
+
if (v === "update") {
|
|
2251
2251
|
if (n === "hovered" || n === "focused" || n === "paused")
|
|
2252
2252
|
return;
|
|
2253
|
-
} else if (
|
|
2253
|
+
} else if (v === "leave") {
|
|
2254
2254
|
if (n === "paused" || n === "focused")
|
|
2255
2255
|
return;
|
|
2256
|
-
} else if (
|
|
2256
|
+
} else if (v === "blur" && (n === "paused" || n === "hovered"))
|
|
2257
2257
|
return;
|
|
2258
2258
|
o.autoplayTimer = setInterval(o.play, o.props.autoplaySpeed + 50), o.setState({
|
|
2259
2259
|
autoplaying: "playing"
|
|
2260
2260
|
});
|
|
2261
|
-
}), d(x(o), "pause", function(
|
|
2261
|
+
}), d(x(o), "pause", function(v) {
|
|
2262
2262
|
o.autoplayTimer && (clearInterval(o.autoplayTimer), o.autoplayTimer = null);
|
|
2263
2263
|
var n = o.state.autoplaying;
|
|
2264
|
-
|
|
2264
|
+
v === "paused" ? o.setState({
|
|
2265
2265
|
autoplaying: "paused"
|
|
2266
|
-
}) :
|
|
2266
|
+
}) : v === "focused" ? (n === "hovered" || n === "playing") && o.setState({
|
|
2267
2267
|
autoplaying: "focused"
|
|
2268
2268
|
}) : n === "playing" && o.setState({
|
|
2269
2269
|
autoplaying: "hovered"
|
|
@@ -2281,7 +2281,7 @@ function ri() {
|
|
|
2281
2281
|
}), d(x(o), "onSlideBlur", function() {
|
|
2282
2282
|
return o.props.autoplay && o.state.autoplaying === "focused" && o.autoPlay("blur");
|
|
2283
2283
|
}), d(x(o), "render", function() {
|
|
2284
|
-
var
|
|
2284
|
+
var v = (0, i.default)("slick-slider", o.props.className, {
|
|
2285
2285
|
"slick-vertical": o.props.vertical,
|
|
2286
2286
|
"slick-initialized": !0
|
|
2287
2287
|
}), n = p(p({}, o.props), o.state), f = (0, a.extractObject)(n, ["fade", "cssEase", "speed", "infinite", "centerMode", "focusOnSelect", "currentSlide", "lazyLoad", "lazyLoadedList", "rtl", "slideWidth", "slideHeight", "listHeight", "vertical", "slidesToShow", "slidesToScroll", "slideCount", "trackStyle", "variableWidth", "unslick", "centerPadding", "targetSlide", "useCSS"]), O = o.props.pauseOnHover;
|
|
@@ -2327,14 +2327,14 @@ function ri() {
|
|
|
2327
2327
|
onTouchCancel: o.state.dragging && te ? o.swipeEnd : null,
|
|
2328
2328
|
onKeyDown: o.props.accessibility ? o.keyHandler : null
|
|
2329
2329
|
}, ee = {
|
|
2330
|
-
className:
|
|
2330
|
+
className: v,
|
|
2331
2331
|
dir: "ltr",
|
|
2332
2332
|
style: o.props.style
|
|
2333
2333
|
};
|
|
2334
2334
|
return o.props.unslick && (Z = {
|
|
2335
2335
|
className: "slick-list"
|
|
2336
2336
|
}, ee = {
|
|
2337
|
-
className:
|
|
2337
|
+
className: v,
|
|
2338
2338
|
style: o.props.style
|
|
2339
2339
|
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : V, /* @__PURE__ */ e.default.createElement("div", y({
|
|
2340
2340
|
ref: o.listRefHandler
|
|
@@ -2352,8 +2352,8 @@ function ri() {
|
|
|
2352
2352
|
return A(P, [{
|
|
2353
2353
|
key: "didPropsChange",
|
|
2354
2354
|
value: function(o) {
|
|
2355
|
-
for (var z = !1,
|
|
2356
|
-
var f = n[
|
|
2355
|
+
for (var z = !1, v = 0, n = Object.keys(this.props); v < n.length; v++) {
|
|
2356
|
+
var f = n[v];
|
|
2357
2357
|
if (!o.hasOwnProperty(f)) {
|
|
2358
2358
|
z = !0;
|
|
2359
2359
|
break;
|
|
@@ -2442,7 +2442,7 @@ function ai() {
|
|
|
2442
2442
|
for (var b = 1; b < arguments.length; b++) {
|
|
2443
2443
|
var d = arguments[b] != null ? arguments[b] : {};
|
|
2444
2444
|
b % 2 ? h(Object(d), !0).forEach(function(C) {
|
|
2445
|
-
|
|
2445
|
+
m(_, C, d[C]);
|
|
2446
2446
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(d)) : h(Object(d)).forEach(function(C) {
|
|
2447
2447
|
Object.defineProperty(_, C, Object.getOwnPropertyDescriptor(d, C));
|
|
2448
2448
|
});
|
|
@@ -2505,7 +2505,7 @@ function ai() {
|
|
|
2505
2505
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
2506
2506
|
}, F(_);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2508
|
+
function m(_, b, d) {
|
|
2509
2509
|
return (b = w(b)) in _ ? Object.defineProperty(_, b, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : _[b] = d, _;
|
|
2510
2510
|
}
|
|
2511
2511
|
function w(_) {
|
|
@@ -2527,18 +2527,18 @@ function ai() {
|
|
|
2527
2527
|
var b = R(d);
|
|
2528
2528
|
function d(C) {
|
|
2529
2529
|
var H;
|
|
2530
|
-
return y(this, d), H = b.call(this, C),
|
|
2530
|
+
return y(this, d), H = b.call(this, C), m(A(H), "innerSliderRefHandler", function(T) {
|
|
2531
2531
|
return H.innerSlider = T;
|
|
2532
|
-
}),
|
|
2532
|
+
}), m(A(H), "slickPrev", function() {
|
|
2533
2533
|
return H.innerSlider.slickPrev();
|
|
2534
|
-
}),
|
|
2534
|
+
}), m(A(H), "slickNext", function() {
|
|
2535
2535
|
return H.innerSlider.slickNext();
|
|
2536
|
-
}),
|
|
2536
|
+
}), m(A(H), "slickGoTo", function(T) {
|
|
2537
2537
|
var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2538
2538
|
return H.innerSlider.slickGoTo(T, j);
|
|
2539
|
-
}),
|
|
2539
|
+
}), m(A(H), "slickPause", function() {
|
|
2540
2540
|
return H.innerSlider.pause("paused");
|
|
2541
|
-
}),
|
|
2541
|
+
}), m(A(H), "slickPlay", function() {
|
|
2542
2542
|
return H.innerSlider.autoPlay("play");
|
|
2543
2543
|
}), H.state = {
|
|
2544
2544
|
breakpoint: null
|
|
@@ -2611,7 +2611,7 @@ function ai() {
|
|
|
2611
2611
|
return typeof D == "string" ? !!D.trim() : !!D;
|
|
2612
2612
|
}), T.variableWidth && (T.rows > 1 || T.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), T.variableWidth = !1);
|
|
2613
2613
|
for (var L = [], o = null, z = 0; z < P.length; z += T.rows * T.slidesPerRow) {
|
|
2614
|
-
for (var
|
|
2614
|
+
for (var v = [], n = z; n < z + T.rows * T.slidesPerRow; n += T.slidesPerRow) {
|
|
2615
2615
|
for (var f = [], O = n; O < n + T.slidesPerRow && (T.variableWidth && P[O].props.style && (o = P[O].props.style.width), !(O >= P.length)); O += 1)
|
|
2616
2616
|
f.push(/* @__PURE__ */ t.default.cloneElement(P[O], {
|
|
2617
2617
|
key: 100 * z + 10 * n + O,
|
|
@@ -2621,7 +2621,7 @@ function ai() {
|
|
|
2621
2621
|
display: "inline-block"
|
|
2622
2622
|
}
|
|
2623
2623
|
}));
|
|
2624
|
-
|
|
2624
|
+
v.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2625
2625
|
key: 10 * z + n
|
|
2626
2626
|
}, f));
|
|
2627
2627
|
}
|
|
@@ -2630,9 +2630,9 @@ function ai() {
|
|
|
2630
2630
|
style: {
|
|
2631
2631
|
width: o
|
|
2632
2632
|
}
|
|
2633
|
-
},
|
|
2633
|
+
}, v)) : L.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2634
2634
|
key: z
|
|
2635
|
-
},
|
|
2635
|
+
}, v));
|
|
2636
2636
|
}
|
|
2637
2637
|
if (T === "unslick") {
|
|
2638
2638
|
var I = "regular slider " + (this.props.className || "");
|
|
@@ -2866,7 +2866,7 @@ function Ci(e) {
|
|
|
2866
2866
|
return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
2868
|
function lt(e, t, r, i, a, s, c, u, l) {
|
|
2869
|
-
for (var h = 0, g = 0, y = c, E = 0, M = 0, k = 0, p = 1, R = 1, S = 1, A = 0, W = "", F = a,
|
|
2869
|
+
for (var h = 0, g = 0, y = c, E = 0, M = 0, k = 0, p = 1, R = 1, S = 1, A = 0, W = "", F = a, m = s, w = i, x = W; R; )
|
|
2870
2870
|
switch (k = A, A = ve()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
@@ -2923,9 +2923,9 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2923
2923
|
x += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(w = br(x, t, r, h, g, a, u, W, F = [],
|
|
2926
|
+
if (it(w = br(x, t, r, h, g, a, u, W, F = [], m = [], y), s), A === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
|
-
lt(x, t, w, w, F, s, y, u,
|
|
2928
|
+
lt(x, t, w, w, F, s, y, u, m);
|
|
2929
2929
|
else
|
|
2930
2930
|
switch (E === 99 && fe(x, 3) === 110 ? 100 : E) {
|
|
2931
2931
|
// d l m s
|
|
@@ -2933,10 +2933,10 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e, w, w, i && it(br(e, w, w, 0, 0, a, u, W, a, F = [], y),
|
|
2936
|
+
lt(e, w, w, i && it(br(e, w, w, 0, 0, a, u, W, a, F = [], y), m), a, m, y, u, i ? F : m);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
|
-
lt(x, w, w, w, [""],
|
|
2939
|
+
lt(x, w, w, w, [""], m, 0, u, m);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
2942
|
h = g = M = 0, p = S = 1, W = x = "", y = c;
|
|
@@ -3572,15 +3572,15 @@ var Ki = function(t) {
|
|
|
3572
3572
|
y.push(g[k], E[k]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Ki(function(R, S, A) {
|
|
3575
|
-
var W = h && R.as || a, F = "",
|
|
3575
|
+
var W = h && R.as || a, F = "", m = [], w = R;
|
|
3576
3576
|
if (R.theme == null) {
|
|
3577
3577
|
w = {};
|
|
3578
3578
|
for (var x in R)
|
|
3579
3579
|
w[x] = R[x];
|
|
3580
3580
|
w.theme = $.useContext(Ji);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof R.className == "string" ? F = zi(S.registered,
|
|
3583
|
-
var _ = qi(y.concat(
|
|
3582
|
+
typeof R.className == "string" ? F = zi(S.registered, m, R.className) : R.className != null && (F = R.className + " ");
|
|
3583
|
+
var _ = qi(y.concat(m), S.registered, w);
|
|
3584
3584
|
F += S.key + "-" + _.name, c !== void 0 && (F += " " + c);
|
|
3585
3585
|
var b = h && u === void 0 ? Cr(W) : l, d = {};
|
|
3586
3586
|
for (var C in R)
|
|
@@ -4168,7 +4168,7 @@ function ha() {
|
|
|
4168
4168
|
S = E.lastIndexOf(";", A - 1) + 1;
|
|
4169
4169
|
continue;
|
|
4170
4170
|
}
|
|
4171
|
-
const
|
|
4171
|
+
const m = u(E, S, A), w = l(E, A, m), x = E.slice(m, w);
|
|
4172
4172
|
if (k[x] === void 0) {
|
|
4173
4173
|
let _ = u(E, A + 1, F), b = l(E, F, _);
|
|
4174
4174
|
const d = R(E.slice(_, b));
|
|
@@ -4374,9 +4374,9 @@ function va(e, t, r, i = {}) {
|
|
|
4374
4374
|
let W = Tr(A, h), F = p.createHref(A);
|
|
4375
4375
|
try {
|
|
4376
4376
|
c.pushState(W, "", F);
|
|
4377
|
-
} catch (
|
|
4378
|
-
if (
|
|
4379
|
-
throw
|
|
4377
|
+
} catch (m) {
|
|
4378
|
+
if (m instanceof DOMException && m.name === "DataCloneError")
|
|
4379
|
+
throw m;
|
|
4380
4380
|
a.location.assign(F);
|
|
4381
4381
|
}
|
|
4382
4382
|
s && l && l({ action: u, location: p.location, delta: 1 });
|
|
@@ -5589,7 +5589,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5589
5589
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5590
5590
|
);
|
|
5591
5591
|
}
|
|
5592
|
-
let A = Fa(h, { relative: a }), [W, F,
|
|
5592
|
+
let A = Fa(h, { relative: a }), [W, F, m] = ko(
|
|
5593
5593
|
i,
|
|
5594
5594
|
E
|
|
5595
5595
|
), w = Mo(h, {
|
|
@@ -5609,7 +5609,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5609
5609
|
"a",
|
|
5610
5610
|
{
|
|
5611
5611
|
...E,
|
|
5612
|
-
...
|
|
5612
|
+
...m,
|
|
5613
5613
|
href: R || A,
|
|
5614
5614
|
onClick: S || s ? t : x,
|
|
5615
5615
|
ref: Ro(M, F),
|
|
@@ -5639,14 +5639,14 @@ var To = $.forwardRef(
|
|
|
5639
5639
|
zo(y) && u === !0, S = k.encodeLocation ? k.encodeLocation(y).pathname : y.pathname, A = E.pathname, W = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5640
5640
|
r || (A = A.toLowerCase(), W = W ? W.toLowerCase() : null, S = S.toLowerCase()), W && p && (W = Oe(W, p) || W);
|
|
5641
5641
|
const F = S !== "/" && S.endsWith("/") ? S.length - 1 : S.length;
|
|
5642
|
-
let
|
|
5643
|
-
isActive:
|
|
5642
|
+
let m = A === S || !a && A.startsWith(S) && A.charAt(F) === "/", w = W != null && (W === S || !a && W.startsWith(S) && W.charAt(S.length) === "/"), x = {
|
|
5643
|
+
isActive: m,
|
|
5644
5644
|
isPending: w,
|
|
5645
5645
|
isTransitioning: R
|
|
5646
|
-
}, _ =
|
|
5646
|
+
}, _ = m ? t : void 0, b;
|
|
5647
5647
|
typeof i == "function" ? b = i(x) : b = [
|
|
5648
5648
|
i,
|
|
5649
|
-
|
|
5649
|
+
m ? "active" : null,
|
|
5650
5650
|
w ? "pending" : null,
|
|
5651
5651
|
R ? "transitioning" : null
|
|
5652
5652
|
].filter(Boolean).join(" ");
|
|
@@ -5686,10 +5686,10 @@ var jo = $.forwardRef(
|
|
|
5686
5686
|
let k = Ao(), p = Ho(u, { relative: h }), R = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && yn.test(u), A = (W) => {
|
|
5687
5687
|
if (l && l(W), W.defaultPrevented) return;
|
|
5688
5688
|
W.preventDefault();
|
|
5689
|
-
let F = W.nativeEvent.submitter,
|
|
5689
|
+
let F = W.nativeEvent.submitter, m = F?.getAttribute("formmethod") || c;
|
|
5690
5690
|
k(F || W.currentTarget, {
|
|
5691
5691
|
fetcherKey: t,
|
|
5692
|
-
method:
|
|
5692
|
+
method: m,
|
|
5693
5693
|
navigate: r,
|
|
5694
5694
|
replace: a,
|
|
5695
5695
|
state: s,
|
|
@@ -6160,7 +6160,7 @@ const Sn = q.createContext({
|
|
|
6160
6160
|
}, h = (R, S, A) => R === "change" && S || R === "mount" && A || R === "submit", g = async (R, S) => {
|
|
6161
6161
|
try {
|
|
6162
6162
|
const F = (a || []).find(
|
|
6163
|
-
(
|
|
6163
|
+
(m) => m.name === R.name
|
|
6164
6164
|
);
|
|
6165
6165
|
if (!F)
|
|
6166
6166
|
return R;
|
|
@@ -6203,15 +6203,15 @@ const Sn = q.createContext({
|
|
|
6203
6203
|
F.exactValueValidation.validateOnMount
|
|
6204
6204
|
))
|
|
6205
6205
|
return R.error = F.exactValueValidation.errorMessage, R;
|
|
6206
|
-
for (let
|
|
6207
|
-
const w = F.validations?.[
|
|
6206
|
+
for (let m = 0; m < (F.validations || []).length; m++) {
|
|
6207
|
+
const w = F.validations?.[m];
|
|
6208
6208
|
if (!h(
|
|
6209
6209
|
S,
|
|
6210
6210
|
w?.validateOnChange,
|
|
6211
6211
|
w?.validateOnMount
|
|
6212
6212
|
))
|
|
6213
6213
|
continue;
|
|
6214
|
-
const x = await F.validations?.[
|
|
6214
|
+
const x = await F.validations?.[m].validate?.(
|
|
6215
6215
|
R.value
|
|
6216
6216
|
);
|
|
6217
6217
|
if (x)
|
|
@@ -6247,7 +6247,11 @@ const Sn = q.createContext({
|
|
|
6247
6247
|
const A = R.target;
|
|
6248
6248
|
var S = await y("change");
|
|
6249
6249
|
let W = u(A);
|
|
6250
|
-
W = await g(W, "change"), console.log("Form > On Change > ", { result: W, allFieldsValidation: S }), r?.(
|
|
6250
|
+
W = await g(W, "change"), console.log("Form > On Change > ", { result: W, allFieldsValidation: S }), r?.(
|
|
6251
|
+
W,
|
|
6252
|
+
S.fields,
|
|
6253
|
+
S.hasErrors
|
|
6254
|
+
);
|
|
6251
6255
|
} catch (A) {
|
|
6252
6256
|
console.error("Form > onChange > Error changing: ", A);
|
|
6253
6257
|
}
|
|
@@ -6350,14 +6354,17 @@ const Sn = q.createContext({
|
|
|
6350
6354
|
}
|
|
6351
6355
|
}
|
|
6352
6356
|
), Uo = (e) => ({
|
|
6353
|
-
handleOnBlur: (
|
|
6357
|
+
handleOnBlur: (s) => {
|
|
6354
6358
|
e.onBlur?.();
|
|
6355
6359
|
},
|
|
6356
|
-
handleOnFocus: (
|
|
6360
|
+
handleOnFocus: (s) => {
|
|
6357
6361
|
e.onFocus?.();
|
|
6358
6362
|
},
|
|
6359
|
-
onValueChanged: (
|
|
6360
|
-
e.onChange?.(
|
|
6363
|
+
onValueChanged: (s) => {
|
|
6364
|
+
e.onChange?.(s.currentTarget.value);
|
|
6365
|
+
},
|
|
6366
|
+
handleOnClick: (s) => {
|
|
6367
|
+
e.onClick?.();
|
|
6361
6368
|
}
|
|
6362
6369
|
}), Yo = Ee.div`
|
|
6363
6370
|
display: flex;
|
|
@@ -6378,24 +6385,24 @@ const Sn = q.createContext({
|
|
|
6378
6385
|
background-color: #00000000;
|
|
6379
6386
|
}
|
|
6380
6387
|
`, qo = (e) => {
|
|
6381
|
-
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Uo(e), {
|
|
6382
|
-
name:
|
|
6383
|
-
label:
|
|
6384
|
-
leftIcon:
|
|
6385
|
-
rightIcon:
|
|
6386
|
-
bottomMessage:
|
|
6387
|
-
placeHolder:
|
|
6388
|
-
autoComplete:
|
|
6389
|
-
value:
|
|
6390
|
-
initialValue:
|
|
6391
|
-
type:
|
|
6392
|
-
maxLength:
|
|
6393
|
-
inputStyles:
|
|
6394
|
-
containerStyles:
|
|
6395
|
-
styles:
|
|
6396
|
-
step:
|
|
6397
|
-
pattern:
|
|
6398
|
-
onInput:
|
|
6388
|
+
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i, handleOnClick: a } = Uo(e), {
|
|
6389
|
+
name: s,
|
|
6390
|
+
label: c,
|
|
6391
|
+
leftIcon: u,
|
|
6392
|
+
rightIcon: l,
|
|
6393
|
+
bottomMessage: h,
|
|
6394
|
+
placeHolder: g,
|
|
6395
|
+
autoComplete: y = "off",
|
|
6396
|
+
value: E,
|
|
6397
|
+
initialValue: M,
|
|
6398
|
+
type: k = "text",
|
|
6399
|
+
maxLength: p,
|
|
6400
|
+
inputStyles: R,
|
|
6401
|
+
containerStyles: S,
|
|
6402
|
+
styles: A,
|
|
6403
|
+
step: W,
|
|
6404
|
+
pattern: F,
|
|
6405
|
+
onInput: m
|
|
6399
6406
|
} = e;
|
|
6400
6407
|
return /* @__PURE__ */ X.jsxs(
|
|
6401
6408
|
Yo,
|
|
@@ -6404,10 +6411,10 @@ const Sn = q.createContext({
|
|
|
6404
6411
|
width: "100%",
|
|
6405
6412
|
maxWidth: "357px",
|
|
6406
6413
|
gap: "8px",
|
|
6407
|
-
...
|
|
6414
|
+
...A
|
|
6408
6415
|
},
|
|
6409
6416
|
children: [
|
|
6410
|
-
|
|
6417
|
+
c,
|
|
6411
6418
|
/* @__PURE__ */ X.jsxs(
|
|
6412
6419
|
"div",
|
|
6413
6420
|
{
|
|
@@ -6429,26 +6436,27 @@ const Sn = q.createContext({
|
|
|
6429
6436
|
outline: "none",
|
|
6430
6437
|
alignItems: "center",
|
|
6431
6438
|
gap: "10px",
|
|
6432
|
-
...
|
|
6439
|
+
...S
|
|
6433
6440
|
},
|
|
6434
6441
|
children: [
|
|
6435
|
-
|
|
6442
|
+
u,
|
|
6436
6443
|
/* @__PURE__ */ X.jsx(
|
|
6437
6444
|
"input",
|
|
6438
6445
|
{
|
|
6439
|
-
name:
|
|
6440
|
-
type:
|
|
6441
|
-
autoComplete:
|
|
6442
|
-
step:
|
|
6443
|
-
maxLength:
|
|
6444
|
-
placeholder:
|
|
6445
|
-
value:
|
|
6446
|
-
defaultValue:
|
|
6446
|
+
name: s,
|
|
6447
|
+
type: k,
|
|
6448
|
+
autoComplete: y,
|
|
6449
|
+
step: W,
|
|
6450
|
+
maxLength: p,
|
|
6451
|
+
placeholder: g,
|
|
6452
|
+
value: E,
|
|
6453
|
+
defaultValue: M,
|
|
6447
6454
|
onChange: t,
|
|
6448
6455
|
onFocus: i,
|
|
6449
6456
|
onBlur: r,
|
|
6450
|
-
|
|
6451
|
-
|
|
6457
|
+
onClick: a,
|
|
6458
|
+
onInput: m,
|
|
6459
|
+
pattern: F,
|
|
6452
6460
|
style: {
|
|
6453
6461
|
flex: 1,
|
|
6454
6462
|
border: "none",
|
|
@@ -6460,15 +6468,15 @@ const Sn = q.createContext({
|
|
|
6460
6468
|
lineHeight: "inherit",
|
|
6461
6469
|
outline: "inherit",
|
|
6462
6470
|
background: "none",
|
|
6463
|
-
...
|
|
6471
|
+
...R
|
|
6464
6472
|
}
|
|
6465
6473
|
}
|
|
6466
6474
|
),
|
|
6467
|
-
|
|
6475
|
+
l
|
|
6468
6476
|
]
|
|
6469
6477
|
}
|
|
6470
6478
|
),
|
|
6471
|
-
|
|
6479
|
+
h
|
|
6472
6480
|
]
|
|
6473
6481
|
}
|
|
6474
6482
|
);
|
|
@@ -6821,31 +6829,31 @@ function Zo() {
|
|
|
6821
6829
|
return (P <= 0 ? "+" : "-") + W(o, 2, "0") + ":" + W(z, 2, "0");
|
|
6822
6830
|
}, m: function j(P, L) {
|
|
6823
6831
|
if (P.date() < L.date()) return -j(L, P);
|
|
6824
|
-
var o = 12 * (L.year() - P.year()) + (L.month() - P.month()), z = P.clone().add(o, y),
|
|
6825
|
-
return +(-(o + (L - z) / (
|
|
6832
|
+
var o = 12 * (L.year() - P.year()) + (L.month() - P.month()), z = P.clone().add(o, y), v = L - z < 0, n = P.clone().add(o + (v ? -1 : 1), y);
|
|
6833
|
+
return +(-(o + (L - z) / (v ? z - n : n - z)) || 0);
|
|
6826
6834
|
}, a: function(j) {
|
|
6827
6835
|
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
6828
6836
|
}, p: function(j) {
|
|
6829
6837
|
return { M: y, y: M, w: g, d: h, D: k, h: l, m: u, s: c, ms: s, Q: E }[j] || String(j || "").toLowerCase().replace(/s$/, "");
|
|
6830
6838
|
}, u: function(j) {
|
|
6831
6839
|
return j === void 0;
|
|
6832
|
-
} },
|
|
6833
|
-
w[
|
|
6840
|
+
} }, m = "en", w = {};
|
|
6841
|
+
w[m] = A;
|
|
6834
6842
|
var x = "$isDayjsObject", _ = function(j) {
|
|
6835
6843
|
return j instanceof H || !(!j || !j[x]);
|
|
6836
6844
|
}, b = function j(P, L, o) {
|
|
6837
6845
|
var z;
|
|
6838
|
-
if (!P) return
|
|
6846
|
+
if (!P) return m;
|
|
6839
6847
|
if (typeof P == "string") {
|
|
6840
|
-
var
|
|
6841
|
-
w[
|
|
6848
|
+
var v = P.toLowerCase();
|
|
6849
|
+
w[v] && (z = v), L && (w[v] = L, z = v);
|
|
6842
6850
|
var n = P.split("-");
|
|
6843
6851
|
if (!z && n.length > 1) return j(n[0]);
|
|
6844
6852
|
} else {
|
|
6845
6853
|
var f = P.name;
|
|
6846
6854
|
w[f] = P, z = f;
|
|
6847
6855
|
}
|
|
6848
|
-
return !o && z && (
|
|
6856
|
+
return !o && z && (m = z), z || !o && m;
|
|
6849
6857
|
}, d = function(j, P) {
|
|
6850
6858
|
if (_(j)) return j.clone();
|
|
6851
6859
|
var L = typeof P == "object" ? P : {};
|
|
@@ -6861,7 +6869,7 @@ function Zo() {
|
|
|
6861
6869
|
var P = j.prototype;
|
|
6862
6870
|
return P.parse = function(L) {
|
|
6863
6871
|
this.$d = function(o) {
|
|
6864
|
-
var z = o.date,
|
|
6872
|
+
var z = o.date, v = o.utc;
|
|
6865
6873
|
if (z === null) return /* @__PURE__ */ new Date(NaN);
|
|
6866
6874
|
if (C.u(z)) return /* @__PURE__ */ new Date();
|
|
6867
6875
|
if (z instanceof Date) return new Date(z);
|
|
@@ -6869,7 +6877,7 @@ function Zo() {
|
|
|
6869
6877
|
var n = z.match(R);
|
|
6870
6878
|
if (n) {
|
|
6871
6879
|
var f = n[2] - 1 || 0, O = (n[7] || "0").substring(0, 3);
|
|
6872
|
-
return
|
|
6880
|
+
return v ? new Date(Date.UTC(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, O)) : new Date(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, O);
|
|
6873
6881
|
}
|
|
6874
6882
|
}
|
|
6875
6883
|
return new Date(z);
|
|
@@ -6895,20 +6903,20 @@ function Zo() {
|
|
|
6895
6903
|
}, P.valueOf = function() {
|
|
6896
6904
|
return this.$d.getTime();
|
|
6897
6905
|
}, P.startOf = function(L, o) {
|
|
6898
|
-
var z = this,
|
|
6906
|
+
var z = this, v = !!C.u(o) || o, n = C.p(L), f = function(K, G) {
|
|
6899
6907
|
var J = C.w(z.$u ? Date.UTC(z.$y, G, K) : new Date(z.$y, G, K), z);
|
|
6900
|
-
return
|
|
6908
|
+
return v ? J : J.endOf(h);
|
|
6901
6909
|
}, O = function(K, G) {
|
|
6902
|
-
return C.w(z.toDate()[K].apply(z.toDate("s"), (
|
|
6910
|
+
return C.w(z.toDate()[K].apply(z.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), z);
|
|
6903
6911
|
}, I = this.$W, D = this.$M, N = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
6904
6912
|
switch (n) {
|
|
6905
6913
|
case M:
|
|
6906
|
-
return
|
|
6914
|
+
return v ? f(1, 0) : f(31, 11);
|
|
6907
6915
|
case y:
|
|
6908
|
-
return
|
|
6916
|
+
return v ? f(1, D) : f(0, D + 1);
|
|
6909
6917
|
case g:
|
|
6910
6918
|
var U = this.$locale().weekStart || 0, B = (I < U ? I + 7 : I) - U;
|
|
6911
|
-
return f(
|
|
6919
|
+
return f(v ? N - B : N + (6 - B), D);
|
|
6912
6920
|
case h:
|
|
6913
6921
|
case k:
|
|
6914
6922
|
return O(V + "Hours", 0);
|
|
@@ -6924,8 +6932,8 @@ function Zo() {
|
|
|
6924
6932
|
}, P.endOf = function(L) {
|
|
6925
6933
|
return this.startOf(L, !1);
|
|
6926
6934
|
}, P.$set = function(L, o) {
|
|
6927
|
-
var z,
|
|
6928
|
-
if (
|
|
6935
|
+
var z, v = C.p(L), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[h] = n + "Date", z[k] = n + "Date", z[y] = n + "Month", z[M] = n + "FullYear", z[l] = n + "Hours", z[u] = n + "Minutes", z[c] = n + "Seconds", z[s] = n + "Milliseconds", z)[v], O = v === h ? this.$D + (o - this.$W) : o;
|
|
6936
|
+
if (v === y || v === M) {
|
|
6929
6937
|
var I = this.clone().set(k, 1);
|
|
6930
6938
|
I.$d[f](O), I.init(), this.$d = I.set(k, Math.min(this.$D, I.daysInMonth())).$d;
|
|
6931
6939
|
} else f && this.$d[f](O);
|
|
@@ -6935,11 +6943,11 @@ function Zo() {
|
|
|
6935
6943
|
}, P.get = function(L) {
|
|
6936
6944
|
return this[C.p(L)]();
|
|
6937
6945
|
}, P.add = function(L, o) {
|
|
6938
|
-
var z,
|
|
6946
|
+
var z, v = this;
|
|
6939
6947
|
L = Number(L);
|
|
6940
6948
|
var n = C.p(o), f = function(D) {
|
|
6941
|
-
var N = d(
|
|
6942
|
-
return C.w(N.date(N.date() + Math.round(D * L)),
|
|
6949
|
+
var N = d(v);
|
|
6950
|
+
return C.w(N.date(N.date() + Math.round(D * L)), v);
|
|
6943
6951
|
};
|
|
6944
6952
|
if (n === y) return this.set(y, this.$M + L);
|
|
6945
6953
|
if (n === M) return this.set(M, this.$y + L);
|
|
@@ -6952,15 +6960,15 @@ function Zo() {
|
|
|
6952
6960
|
}, P.format = function(L) {
|
|
6953
6961
|
var o = this, z = this.$locale();
|
|
6954
6962
|
if (!this.isValid()) return z.invalidDate || p;
|
|
6955
|
-
var
|
|
6956
|
-
return G && (G[J] || G(o,
|
|
6963
|
+
var v = L || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this), f = this.$H, O = this.$m, I = this.$M, D = z.weekdays, N = z.months, V = z.meridiem, U = function(G, J, te, Z) {
|
|
6964
|
+
return G && (G[J] || G(o, v)) || te[J].slice(0, Z);
|
|
6957
6965
|
}, B = function(G) {
|
|
6958
6966
|
return C.s(f % 12 || 12, G, "0");
|
|
6959
6967
|
}, K = V || function(G, J, te) {
|
|
6960
6968
|
var Z = G < 12 ? "AM" : "PM";
|
|
6961
6969
|
return te ? Z.toLowerCase() : Z;
|
|
6962
6970
|
};
|
|
6963
|
-
return
|
|
6971
|
+
return v.replace(S, function(G, J) {
|
|
6964
6972
|
return J || function(te) {
|
|
6965
6973
|
switch (te) {
|
|
6966
6974
|
case "YY":
|
|
@@ -7018,46 +7026,46 @@ function Zo() {
|
|
|
7018
7026
|
}, P.utcOffset = function() {
|
|
7019
7027
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
7020
7028
|
}, P.diff = function(L, o, z) {
|
|
7021
|
-
var
|
|
7029
|
+
var v, n = this, f = C.p(o), O = d(L), I = (O.utcOffset() - this.utcOffset()) * i, D = this - O, N = function() {
|
|
7022
7030
|
return C.m(n, O);
|
|
7023
7031
|
};
|
|
7024
7032
|
switch (f) {
|
|
7025
7033
|
case M:
|
|
7026
|
-
|
|
7034
|
+
v = N() / 12;
|
|
7027
7035
|
break;
|
|
7028
7036
|
case y:
|
|
7029
|
-
|
|
7037
|
+
v = N();
|
|
7030
7038
|
break;
|
|
7031
7039
|
case E:
|
|
7032
|
-
|
|
7040
|
+
v = N() / 3;
|
|
7033
7041
|
break;
|
|
7034
7042
|
case g:
|
|
7035
|
-
|
|
7043
|
+
v = (D - I) / 6048e5;
|
|
7036
7044
|
break;
|
|
7037
7045
|
case h:
|
|
7038
|
-
|
|
7046
|
+
v = (D - I) / 864e5;
|
|
7039
7047
|
break;
|
|
7040
7048
|
case l:
|
|
7041
|
-
|
|
7049
|
+
v = D / a;
|
|
7042
7050
|
break;
|
|
7043
7051
|
case u:
|
|
7044
|
-
|
|
7052
|
+
v = D / i;
|
|
7045
7053
|
break;
|
|
7046
7054
|
case c:
|
|
7047
|
-
|
|
7055
|
+
v = D / r;
|
|
7048
7056
|
break;
|
|
7049
7057
|
default:
|
|
7050
|
-
|
|
7058
|
+
v = D;
|
|
7051
7059
|
}
|
|
7052
|
-
return z ?
|
|
7060
|
+
return z ? v : C.a(v);
|
|
7053
7061
|
}, P.daysInMonth = function() {
|
|
7054
7062
|
return this.endOf(y).$D;
|
|
7055
7063
|
}, P.$locale = function() {
|
|
7056
7064
|
return w[this.$L];
|
|
7057
7065
|
}, P.locale = function(L, o) {
|
|
7058
7066
|
if (!L) return this.$L;
|
|
7059
|
-
var z = this.clone(),
|
|
7060
|
-
return
|
|
7067
|
+
var z = this.clone(), v = b(L, o, !0);
|
|
7068
|
+
return v && (z.$L = v), z;
|
|
7061
7069
|
}, P.clone = function() {
|
|
7062
7070
|
return C.w(this.$d, this);
|
|
7063
7071
|
}, P.toDate = function() {
|
|
@@ -7078,7 +7086,7 @@ function Zo() {
|
|
|
7078
7086
|
return j.$i || (j(P, H, d), j.$i = !0), d;
|
|
7079
7087
|
}, d.locale = b, d.isDayjs = _, d.unix = function(j) {
|
|
7080
7088
|
return d(1e3 * j);
|
|
7081
|
-
}, d.en = w[
|
|
7089
|
+
}, d.en = w[m], d.Ls = w, d.p = {}, d;
|
|
7082
7090
|
});
|
|
7083
7091
|
}(ft)), ft.exports;
|
|
7084
7092
|
}
|
|
@@ -7117,9 +7125,9 @@ function ts() {
|
|
|
7117
7125
|
l.utcOffset = function(p, R) {
|
|
7118
7126
|
var S = this.$utils().u;
|
|
7119
7127
|
if (S(p)) return this.$u ? 0 : S(this.$offset) ? y.call(this) : this.$offset;
|
|
7120
|
-
if (typeof p == "string" && (p = function(
|
|
7121
|
-
|
|
7122
|
-
var w =
|
|
7128
|
+
if (typeof p == "string" && (p = function(m) {
|
|
7129
|
+
m === void 0 && (m = "");
|
|
7130
|
+
var w = m.match(i);
|
|
7123
7131
|
if (!w) return null;
|
|
7124
7132
|
var x = ("" + w[0]).match(a) || ["-", 0, 0], _ = x[0], b = 60 * +x[1] + +x[2];
|
|
7125
7133
|
return b === 0 ? 0 : _ === "+" ? b : -b;
|