@eliseubatista99/react-scaffold-core 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/form.d.ts +1 -1
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +1048 -1051
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
|
-
import
|
|
2
|
+
import q, { forwardRef as Cn, useContext as Vt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as ve, useRef as Pn } from "react";
|
|
3
3
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function Yt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -81,13 +81,13 @@ function _n() {
|
|
|
81
81
|
switch (n) {
|
|
82
82
|
case p:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case
|
|
84
|
+
case w:
|
|
85
85
|
return "Profiler";
|
|
86
|
-
case
|
|
86
|
+
case M:
|
|
87
87
|
return "StrictMode";
|
|
88
88
|
case v:
|
|
89
89
|
return "Suspense";
|
|
90
|
-
case
|
|
90
|
+
case x:
|
|
91
91
|
return "SuspenseList";
|
|
92
92
|
case y:
|
|
93
93
|
return "Activity";
|
|
@@ -96,16 +96,16 @@ function _n() {
|
|
|
96
96
|
switch (typeof n.tag == "number" && console.error(
|
|
97
97
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
98
98
|
), n.$$typeof) {
|
|
99
|
-
case
|
|
99
|
+
case S:
|
|
100
100
|
return "Portal";
|
|
101
101
|
case U:
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
103
|
-
case
|
|
103
|
+
case z:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
|
-
case
|
|
105
|
+
case Y:
|
|
106
106
|
var c = n.render;
|
|
107
107
|
return n = n.displayName, n || (n = c.displayName || c.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
|
-
case
|
|
108
|
+
case O:
|
|
109
109
|
return c = n.displayName || null, c !== null ? c : e(n.type) || "Memo";
|
|
110
110
|
case R:
|
|
111
111
|
c = n._payload, n = n._init;
|
|
@@ -128,8 +128,8 @@ function _n() {
|
|
|
128
128
|
}
|
|
129
129
|
if (c) {
|
|
130
130
|
c = console;
|
|
131
|
-
var
|
|
132
|
-
return
|
|
131
|
+
var k = c.error, I = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
132
|
+
return k.call(
|
|
133
133
|
c,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
135
|
I
|
|
@@ -162,14 +162,14 @@ function _n() {
|
|
|
162
162
|
return n.key !== void 0;
|
|
163
163
|
}
|
|
164
164
|
function u(n, c) {
|
|
165
|
-
function
|
|
165
|
+
function k() {
|
|
166
166
|
E || (E = !0, console.error(
|
|
167
167
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
168
168
|
c
|
|
169
169
|
));
|
|
170
170
|
}
|
|
171
|
-
|
|
172
|
-
get:
|
|
171
|
+
k.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
172
|
+
get: k,
|
|
173
173
|
configurable: !0
|
|
174
174
|
});
|
|
175
175
|
}
|
|
@@ -179,14 +179,14 @@ function _n() {
|
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function h(n, c,
|
|
183
|
-
return
|
|
184
|
-
$$typeof:
|
|
182
|
+
function h(n, c, k, I, D, N, F, W) {
|
|
183
|
+
return k = N.ref, n = {
|
|
184
|
+
$$typeof: C,
|
|
185
185
|
type: n,
|
|
186
186
|
key: c,
|
|
187
|
-
props:
|
|
188
|
-
_owner:
|
|
189
|
-
}, (
|
|
187
|
+
props: N,
|
|
188
|
+
_owner: D
|
|
189
|
+
}, (k !== void 0 ? k : null) !== null ? Object.defineProperty(n, "ref", {
|
|
190
190
|
enumerable: !1,
|
|
191
191
|
get: l
|
|
192
192
|
}) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
|
|
@@ -211,7 +211,7 @@ function _n() {
|
|
|
211
211
|
value: W
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function g(n, c,
|
|
214
|
+
function g(n, c, k, I, D, N, F, W) {
|
|
215
215
|
var B = c.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
217
|
if (I)
|
|
@@ -242,63 +242,63 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
242
|
B
|
|
243
243
|
), m[B + I] = !0);
|
|
244
244
|
}
|
|
245
|
-
if (B = null,
|
|
246
|
-
|
|
245
|
+
if (B = null, k !== void 0 && (r(k), B = "" + k), f(c) && (r(c.key), B = "" + c.key), "key" in c) {
|
|
246
|
+
k = {};
|
|
247
247
|
for (var G in c)
|
|
248
|
-
G !== "key" && (
|
|
249
|
-
} else
|
|
248
|
+
G !== "key" && (k[G] = c[G]);
|
|
249
|
+
} else k = c;
|
|
250
250
|
return B && u(
|
|
251
|
-
|
|
251
|
+
k,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
253
253
|
), h(
|
|
254
254
|
n,
|
|
255
255
|
B,
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
N,
|
|
257
|
+
D,
|
|
258
258
|
a(),
|
|
259
|
-
|
|
259
|
+
k,
|
|
260
260
|
F,
|
|
261
261
|
W
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
264
|
function b(n) {
|
|
265
|
-
typeof n == "object" && n !== null && n.$$typeof ===
|
|
265
|
+
typeof n == "object" && n !== null && n.$$typeof === C && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var _ = q, C = Symbol.for("react.transitional.element"), S = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), U = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), P = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, T = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
|
-
|
|
270
|
+
_ = {
|
|
271
271
|
"react-stack-bottom-frame": function(n) {
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var E, L = {}, o =
|
|
276
|
-
|
|
275
|
+
var E, L = {}, o = _["react-stack-bottom-frame"].bind(
|
|
276
|
+
_,
|
|
277
277
|
s
|
|
278
278
|
)(), H = j(i(s)), m = {};
|
|
279
|
-
ze.Fragment = p, ze.jsx = function(n, c,
|
|
280
|
-
var
|
|
279
|
+
ze.Fragment = p, ze.jsx = function(n, c, k, I, D) {
|
|
280
|
+
var N = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
283
|
c,
|
|
284
|
-
|
|
284
|
+
k,
|
|
285
285
|
!1,
|
|
286
286
|
I,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
287
|
+
D,
|
|
288
|
+
N ? Error("react-stack-top-frame") : o,
|
|
289
|
+
N ? j(i(n)) : H
|
|
290
290
|
);
|
|
291
|
-
}, ze.jsxs = function(n, c,
|
|
292
|
-
var
|
|
291
|
+
}, ze.jsxs = function(n, c, k, I, D) {
|
|
292
|
+
var N = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
295
|
c,
|
|
296
|
-
|
|
296
|
+
k,
|
|
297
297
|
!0,
|
|
298
298
|
I,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
D,
|
|
300
|
+
N ? Error("react-stack-top-frame") : o,
|
|
301
|
+
N ? j(i(n)) : H
|
|
302
302
|
);
|
|
303
303
|
};
|
|
304
304
|
}()), ze;
|
|
@@ -374,42 +374,42 @@ var _t, or;
|
|
|
374
374
|
function Ln() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, f = /^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")(), b = Object.prototype,
|
|
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, f = /^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")(), b = Object.prototype, _ = b.toString, C = Math.max, S = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
|
-
function
|
|
380
|
+
function M(v, x, O) {
|
|
381
381
|
var R, y, d, P, A, T, j = 0, E = !1, L = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
|
|
384
|
+
x = Y(x) || 0, w(O) && (E = !!O.leading, L = "maxWait" in O, d = L ? C(Y(O.maxWait) || 0, x) : d, o = "trailing" in O ? !!O.trailing : o);
|
|
385
385
|
function H(W) {
|
|
386
386
|
var B = R, K = y;
|
|
387
387
|
return R = y = void 0, j = W, P = v.apply(K, B), P;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
|
-
return j = W, A = setTimeout(
|
|
390
|
+
return j = W, A = setTimeout(k, x), E ? H(W) : P;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
|
-
var B = W - T, K = W - j, G =
|
|
394
|
-
return L ?
|
|
393
|
+
var B = W - T, K = W - j, G = x - B;
|
|
394
|
+
return L ? S(G, d - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function c(W) {
|
|
397
397
|
var B = W - T, K = W - j;
|
|
398
|
-
return T === void 0 || B >=
|
|
398
|
+
return T === void 0 || B >= x || B < 0 || L && K >= d;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function k() {
|
|
401
401
|
var W = p();
|
|
402
402
|
if (c(W))
|
|
403
403
|
return I(W);
|
|
404
|
-
A = setTimeout(
|
|
404
|
+
A = setTimeout(k, n(W));
|
|
405
405
|
}
|
|
406
406
|
function I(W) {
|
|
407
407
|
return A = void 0, o && R ? H(W) : (R = y = void 0, P);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function D() {
|
|
410
410
|
A !== void 0 && clearTimeout(A), j = 0, R = T = y = A = void 0;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function N() {
|
|
413
413
|
return A === void 0 ? P : I(p());
|
|
414
414
|
}
|
|
415
415
|
function F() {
|
|
@@ -418,38 +418,38 @@ function Ln() {
|
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(T);
|
|
420
420
|
if (L)
|
|
421
|
-
return A = setTimeout(
|
|
421
|
+
return A = setTimeout(k, x), H(T);
|
|
422
422
|
}
|
|
423
|
-
return A === void 0 && (A = setTimeout(
|
|
423
|
+
return A === void 0 && (A = setTimeout(k, x)), P;
|
|
424
424
|
}
|
|
425
|
-
return F.cancel =
|
|
425
|
+
return F.cancel = D, F.flush = N, F;
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
var
|
|
429
|
-
return !!v && (
|
|
427
|
+
function w(v) {
|
|
428
|
+
var x = typeof v;
|
|
429
|
+
return !!v && (x == "object" || x == "function");
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function z(v) {
|
|
432
432
|
return !!v && typeof v == "object";
|
|
433
433
|
}
|
|
434
434
|
function U(v) {
|
|
435
|
-
return typeof v == "symbol" ||
|
|
435
|
+
return typeof v == "symbol" || z(v) && _.call(v) == r;
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function Y(v) {
|
|
438
438
|
if (typeof v == "number")
|
|
439
439
|
return v;
|
|
440
440
|
if (U(v))
|
|
441
441
|
return t;
|
|
442
|
-
if (
|
|
443
|
-
var
|
|
444
|
-
v =
|
|
442
|
+
if (w(v)) {
|
|
443
|
+
var x = typeof v.valueOf == "function" ? v.valueOf() : v;
|
|
444
|
+
v = w(x) ? x + "" : x;
|
|
445
445
|
}
|
|
446
446
|
if (typeof v != "string")
|
|
447
447
|
return v === 0 ? v : +v;
|
|
448
448
|
v = v.replace(i, "");
|
|
449
|
-
var
|
|
450
|
-
return
|
|
449
|
+
var O = s.test(v);
|
|
450
|
+
return O || f.test(v) ? u(v.slice(2), O ? 2 : 8) : a.test(v) ? t : +v;
|
|
451
451
|
}
|
|
452
|
-
return _t =
|
|
452
|
+
return _t = M, _t;
|
|
453
453
|
}
|
|
454
454
|
var Tt = { exports: {} };
|
|
455
455
|
/*!
|
|
@@ -496,7 +496,7 @@ function zr() {
|
|
|
496
496
|
Object.defineProperty(e, "__esModule", {
|
|
497
497
|
value: !0
|
|
498
498
|
}), e.default = void 0;
|
|
499
|
-
var t = r(
|
|
499
|
+
var t = r(q);
|
|
500
500
|
function r(a) {
|
|
501
501
|
return a && a.__esModule ? a : { default: a };
|
|
502
502
|
}
|
|
@@ -572,7 +572,7 @@ function Ke() {
|
|
|
572
572
|
ur = 1, Object.defineProperty(V, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
574
|
}), V.checkSpecKeys = V.checkNavigable = V.changeSlide = V.canUseDOM = V.canGoNext = void 0, V.clamp = h, V.extractObject = void 0, V.filterSettings = H, V.validSettings = V.swipeStart = V.swipeMove = V.swipeEnd = V.slidesOnRight = V.slidesOnLeft = V.slideHandler = V.siblingDirection = V.safePreventDefault = V.lazyStartIndex = V.lazySlidesOnRight = V.lazySlidesOnLeft = V.lazyEndIndex = V.keyHandler = V.initializedState = V.getWidth = V.getTrackLeft = V.getTrackCSS = V.getTrackAnimateCSS = V.getTotalSlides = V.getSwipeDirection = V.getSlideCount = V.getRequiredLazySlides = V.getPreClones = V.getPostClones = V.getOnDemandLazySlides = V.getNavigableIndexes = V.getHeight = void 0;
|
|
575
|
-
var e = r(
|
|
575
|
+
var e = r(q), t = r(zr());
|
|
576
576
|
function r(m) {
|
|
577
577
|
return m && m.__esModule ? m : { default: m };
|
|
578
578
|
}
|
|
@@ -587,20 +587,20 @@ function Ke() {
|
|
|
587
587
|
function a(m, n) {
|
|
588
588
|
var c = Object.keys(m);
|
|
589
589
|
if (Object.getOwnPropertySymbols) {
|
|
590
|
-
var
|
|
591
|
-
n && (
|
|
590
|
+
var k = Object.getOwnPropertySymbols(m);
|
|
591
|
+
n && (k = k.filter(function(I) {
|
|
592
592
|
return Object.getOwnPropertyDescriptor(m, I).enumerable;
|
|
593
|
-
})), c.push.apply(c,
|
|
593
|
+
})), c.push.apply(c, k);
|
|
594
594
|
}
|
|
595
595
|
return c;
|
|
596
596
|
}
|
|
597
597
|
function s(m) {
|
|
598
598
|
for (var n = 1; n < arguments.length; n++) {
|
|
599
599
|
var c = arguments[n] != null ? arguments[n] : {};
|
|
600
|
-
n % 2 ? a(Object(c), !0).forEach(function(
|
|
601
|
-
f(m,
|
|
602
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(c)) : a(Object(c)).forEach(function(
|
|
603
|
-
Object.defineProperty(m,
|
|
600
|
+
n % 2 ? a(Object(c), !0).forEach(function(k) {
|
|
601
|
+
f(m, k, c[k]);
|
|
602
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(c)) : a(Object(c)).forEach(function(k) {
|
|
603
|
+
Object.defineProperty(m, k, Object.getOwnPropertyDescriptor(c, k));
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
return m;
|
|
@@ -616,8 +616,8 @@ function Ke() {
|
|
|
616
616
|
if (i(m) != "object" || !m) return m;
|
|
617
617
|
var c = m[Symbol.toPrimitive];
|
|
618
618
|
if (c !== void 0) {
|
|
619
|
-
var
|
|
620
|
-
if (i(
|
|
619
|
+
var k = c.call(m, n);
|
|
620
|
+
if (i(k) != "object") return k;
|
|
621
621
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
622
622
|
}
|
|
623
623
|
return (n === "string" ? String : Number)(m);
|
|
@@ -629,48 +629,48 @@ function Ke() {
|
|
|
629
629
|
var c = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
630
|
c.includes(n._reactName) || n.preventDefault();
|
|
631
631
|
}, b = V.getOnDemandLazySlides = function(n) {
|
|
632
|
-
for (var c = [],
|
|
633
|
-
n.lazyLoadedList.indexOf(
|
|
632
|
+
for (var c = [], k = _(n), I = C(n), D = k; D < I; D++)
|
|
633
|
+
n.lazyLoadedList.indexOf(D) < 0 && c.push(D);
|
|
634
634
|
return c;
|
|
635
635
|
};
|
|
636
636
|
V.getRequiredLazySlides = function(n) {
|
|
637
|
-
for (var c = [],
|
|
638
|
-
c.push(
|
|
637
|
+
for (var c = [], k = _(n), I = C(n), D = k; D < I; D++)
|
|
638
|
+
c.push(D);
|
|
639
639
|
return c;
|
|
640
640
|
};
|
|
641
|
-
var
|
|
642
|
-
return n.currentSlide -
|
|
643
|
-
},
|
|
641
|
+
var _ = V.lazyStartIndex = function(n) {
|
|
642
|
+
return n.currentSlide - S(n);
|
|
643
|
+
}, C = V.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
645
|
-
},
|
|
645
|
+
}, S = V.lazySlidesOnLeft = function(n) {
|
|
646
646
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
647
647
|
}, p = V.lazySlidesOnRight = function(n) {
|
|
648
648
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
649
|
-
},
|
|
649
|
+
}, M = V.getWidth = function(n) {
|
|
650
650
|
return n && n.offsetWidth || 0;
|
|
651
|
-
},
|
|
651
|
+
}, w = V.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
|
-
},
|
|
654
|
-
var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
655
|
-
return
|
|
653
|
+
}, z = V.getSwipeDirection = function(n) {
|
|
654
|
+
var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, k, I, D, N;
|
|
655
|
+
return k = n.startX - n.curX, I = n.startY - n.curY, D = Math.atan2(I, k), N = Math.round(D * 180 / Math.PI), N < 0 && (N = 360 - Math.abs(N)), N <= 45 && N >= 0 || N <= 360 && N >= 315 ? "left" : N >= 135 && N <= 225 ? "right" : c === !0 ? N >= 35 && N <= 135 ? "up" : "down" : "vertical";
|
|
656
656
|
}, U = V.canGoNext = function(n) {
|
|
657
657
|
var c = !0;
|
|
658
658
|
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (c = !1), c;
|
|
659
659
|
};
|
|
660
660
|
V.extractObject = function(n, c) {
|
|
661
|
-
var
|
|
661
|
+
var k = {};
|
|
662
662
|
return c.forEach(function(I) {
|
|
663
|
-
return
|
|
664
|
-
}),
|
|
663
|
+
return k[I] = n[I];
|
|
664
|
+
}), k;
|
|
665
665
|
}, V.initializedState = function(n) {
|
|
666
|
-
var c = e.default.Children.count(n.children),
|
|
666
|
+
var c = e.default.Children.count(n.children), k = n.listRef, I = Math.ceil(M(k)), D = n.trackRef && n.trackRef.node, N = Math.ceil(M(D)), F;
|
|
667
667
|
if (n.vertical)
|
|
668
668
|
F = I;
|
|
669
669
|
else {
|
|
670
670
|
var W = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
671
671
|
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= I / 100), F = Math.ceil((I - W) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
|
-
var B =
|
|
673
|
+
var B = k && w(k.querySelector('[data-index="0"]')), K = B * n.slidesToShow, G = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
674
|
n.rtl && n.currentSlide === void 0 && (G = c - 1 - n.initialSlide);
|
|
675
675
|
var J = n.lazyLoadedList || [], te = b(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: G,
|
|
@@ -681,7 +681,7 @@ function Ke() {
|
|
|
681
681
|
slideCount: c,
|
|
682
682
|
slideWidth: F,
|
|
683
683
|
listWidth: I,
|
|
684
|
-
trackWidth:
|
|
684
|
+
trackWidth: N,
|
|
685
685
|
currentSlide: G,
|
|
686
686
|
slideHeight: B,
|
|
687
687
|
listHeight: K,
|
|
@@ -689,12 +689,12 @@ function Ke() {
|
|
|
689
689
|
};
|
|
690
690
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
691
691
|
}, V.slideHandler = function(n) {
|
|
692
|
-
var c = n.waitForAnimate,
|
|
693
|
-
if (c &&
|
|
694
|
-
var ee =
|
|
692
|
+
var c = n.waitForAnimate, k = n.animating, I = n.fade, D = n.infinite, N = n.index, F = n.slideCount, W = n.lazyLoad, B = n.currentSlide, K = n.centerMode, G = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
|
+
if (c && k) return {};
|
|
694
|
+
var ee = N, ie, le, Q, oe = {}, ue = {}, ce = D ? N : h(N, 0, F - 1);
|
|
695
695
|
if (I) {
|
|
696
|
-
if (!
|
|
697
|
-
|
|
696
|
+
if (!D && (N < 0 || N >= F)) return {};
|
|
697
|
+
N < 0 ? ee = N + F : N >= F && (ee = N - F), W && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
698
698
|
animating: !0,
|
|
699
699
|
currentSlide: ee,
|
|
700
700
|
lazyLoadedList: Z,
|
|
@@ -704,11 +704,11 @@ function Ke() {
|
|
|
704
704
|
targetSlide: ee
|
|
705
705
|
};
|
|
706
706
|
} else
|
|
707
|
-
ie = ee, ee < 0 ? (ie = ee + F,
|
|
707
|
+
ie = ee, ee < 0 ? (ie = ee + F, D ? F % G !== 0 && (ie = F - F % G) : ie = 0) : !U(n) && ee > B ? ee = ie = B : K && ee >= F ? (ee = D ? F : F - 1, ie = D ? 0 : F - 1) : ee >= F && (ie = ee - F, D ? F % G !== 0 && (ie = 0) : ie = F - J), !D && ee + J >= F && (ie = F - J), le = d(s(s({}, n), {}, {
|
|
708
708
|
slideIndex: ee
|
|
709
709
|
})), Q = d(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
711
|
-
})),
|
|
711
|
+
})), D || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(b(s(s({}, n), {}, {
|
|
712
712
|
currentSlide: ee
|
|
713
713
|
})))), te ? (oe = {
|
|
714
714
|
animating: !0,
|
|
@@ -739,11 +739,11 @@ function Ke() {
|
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
741
|
}, V.changeSlide = function(n, c) {
|
|
742
|
-
var
|
|
743
|
-
if (
|
|
744
|
-
|
|
742
|
+
var k, I, D, N, F, W = n.slidesToScroll, B = n.slidesToShow, K = n.slideCount, G = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
|
+
if (N = K % W !== 0, k = N ? 0 : (K - G) % W, c.message === "previous")
|
|
744
|
+
D = k === 0 ? W : B - k, F = G - D, te && !Z && (I = G - D, F = I === -1 ? K - 1 : I), Z || (F = J - W);
|
|
745
745
|
else if (c.message === "next")
|
|
746
|
-
|
|
746
|
+
D = k === 0 ? W : k, F = G + D, te && !Z && (F = (G + W) % K + k), Z || (F = J + W);
|
|
747
747
|
else if (c.message === "dots")
|
|
748
748
|
F = c.index * c.slidesToScroll;
|
|
749
749
|
else if (c.message === "children") {
|
|
@@ -755,10 +755,10 @@ function Ke() {
|
|
|
755
755
|
}
|
|
756
756
|
} else c.message === "index" && (F = Number(c.index));
|
|
757
757
|
return F;
|
|
758
|
-
}, V.keyHandler = function(n, c,
|
|
759
|
-
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !c ? "" : n.keyCode === 37 ?
|
|
760
|
-
}, V.swipeStart = function(n, c,
|
|
761
|
-
return n.target.tagName === "IMG" && g(n), !c || !
|
|
758
|
+
}, V.keyHandler = function(n, c, k) {
|
|
759
|
+
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !c ? "" : n.keyCode === 37 ? k ? "next" : "previous" : n.keyCode === 39 ? k ? "previous" : "next" : "";
|
|
760
|
+
}, V.swipeStart = function(n, c, k) {
|
|
761
|
+
return n.target.tagName === "IMG" && g(n), !c || !k && n.type.indexOf("mouse") !== -1 ? "" : {
|
|
762
762
|
dragging: !0,
|
|
763
763
|
touchObject: {
|
|
764
764
|
startX: n.touches ? n.touches[0].pageX : n.clientX,
|
|
@@ -768,10 +768,10 @@ function Ke() {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
}, V.swipeMove = function(n, c) {
|
|
771
|
-
var
|
|
772
|
-
if (!
|
|
771
|
+
var k = c.scrolling, I = c.animating, D = c.vertical, N = c.swipeToSlide, F = c.verticalSwiping, W = c.rtl, B = c.currentSlide, K = c.edgeFriction, G = c.edgeDragged, J = c.onEdge, te = c.swiped, Z = c.swiping, ee = c.slideCount, ie = c.slidesToScroll, le = c.infinite, Q = c.touchObject, oe = c.swipeEvent, ue = c.listHeight, ce = c.listWidth;
|
|
772
|
+
if (!k) {
|
|
773
773
|
if (I) return g(n);
|
|
774
|
-
|
|
774
|
+
D && N && F && g(n);
|
|
775
775
|
var pe, Re = {}, tt = d(c);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
@@ -782,8 +782,8 @@ function Ke() {
|
|
|
782
782
|
F && (Q.swipeLength = tr);
|
|
783
783
|
var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
784
|
F && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
|
-
var kn = Math.ceil(ee / ie), Pe =
|
|
786
|
-
return le || (B === 0 && (Pe === "right" || Pe === "down") || B + 1 >= kn && (Pe === "left" || Pe === "up") || !U(c) && (Pe === "left" || Pe === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Pe), Re.edgeDragged = !0)), !te && oe && (oe(Pe), Re.swiped = !0),
|
|
785
|
+
var kn = Math.ceil(ee / ie), Pe = z(c.touchObject, F), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Pe === "right" || Pe === "down") || B + 1 >= kn && (Pe === "left" || Pe === "up") || !U(c) && (Pe === "left" || Pe === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Pe), Re.edgeDragged = !0)), !te && oe && (oe(Pe), Re.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, F && (pe = tt + Ae * Ie), Re = s(s({}, Re), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: R(s(s({}, c), {}, {
|
|
@@ -792,10 +792,10 @@ function Ke() {
|
|
|
792
792
|
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Re.swiping = !0, g(n)), Re;
|
|
793
793
|
}
|
|
794
794
|
}, V.swipeEnd = function(n, c) {
|
|
795
|
-
var
|
|
796
|
-
if (!
|
|
795
|
+
var k = c.dragging, I = c.swipe, D = c.touchObject, N = c.listWidth, F = c.touchThreshold, W = c.verticalSwiping, B = c.listHeight, K = c.swipeToSlide, G = c.scrolling, J = c.onSwipe, te = c.targetSlide, Z = c.currentSlide, ee = c.infinite;
|
|
796
|
+
if (!k)
|
|
797
797
|
return I && g(n), {};
|
|
798
|
-
var ie = W ? B / F :
|
|
798
|
+
var ie = W ? B / F : N / F, le = z(D, W), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
801
801
|
scrolling: !1,
|
|
@@ -804,19 +804,19 @@ function Ke() {
|
|
|
804
804
|
swipeLeft: null,
|
|
805
805
|
touchObject: {}
|
|
806
806
|
};
|
|
807
|
-
if (G || !
|
|
807
|
+
if (G || !D.swipeLength)
|
|
808
808
|
return Q;
|
|
809
|
-
if (
|
|
809
|
+
if (D.swipeLength > ie) {
|
|
810
810
|
g(n), J && J(le);
|
|
811
811
|
var oe, ue, ce = ee ? Z : te;
|
|
812
812
|
switch (le) {
|
|
813
813
|
case "left":
|
|
814
814
|
case "up":
|
|
815
|
-
ue = ce +
|
|
815
|
+
ue = ce + x(c), oe = K ? v(c, ue) : ue, Q.currentDirection = 0;
|
|
816
816
|
break;
|
|
817
817
|
case "right":
|
|
818
818
|
case "down":
|
|
819
|
-
ue = ce -
|
|
819
|
+
ue = ce - x(c), oe = K ? v(c, ue) : ue, Q.currentDirection = 1;
|
|
820
820
|
break;
|
|
821
821
|
default:
|
|
822
822
|
oe = ce;
|
|
@@ -830,85 +830,85 @@ function Ke() {
|
|
|
830
830
|
}
|
|
831
831
|
return Q;
|
|
832
832
|
};
|
|
833
|
-
var
|
|
834
|
-
for (var c = n.infinite ? n.slideCount * 2 : n.slideCount,
|
|
835
|
-
|
|
836
|
-
return
|
|
833
|
+
var Y = V.getNavigableIndexes = function(n) {
|
|
834
|
+
for (var c = n.infinite ? n.slideCount * 2 : n.slideCount, k = n.infinite ? n.slidesToShow * -1 : 0, I = n.infinite ? n.slidesToShow * -1 : 0, D = []; k < c; )
|
|
835
|
+
D.push(k), k = I + n.slidesToScroll, I += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
836
|
+
return D;
|
|
837
837
|
}, v = V.checkNavigable = function(n, c) {
|
|
838
|
-
var
|
|
839
|
-
if (c >
|
|
840
|
-
c =
|
|
838
|
+
var k = Y(n), I = 0;
|
|
839
|
+
if (c > k[k.length - 1])
|
|
840
|
+
c = k[k.length - 1];
|
|
841
841
|
else
|
|
842
|
-
for (var
|
|
843
|
-
if (c <
|
|
842
|
+
for (var D in k) {
|
|
843
|
+
if (c < k[D]) {
|
|
844
844
|
c = I;
|
|
845
845
|
break;
|
|
846
846
|
}
|
|
847
|
-
I =
|
|
847
|
+
I = k[D];
|
|
848
848
|
}
|
|
849
849
|
return c;
|
|
850
|
-
},
|
|
850
|
+
}, x = V.getSlideCount = function(n) {
|
|
851
851
|
var c = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
852
852
|
if (n.swipeToSlide) {
|
|
853
|
-
var
|
|
854
|
-
if (Array.from(
|
|
853
|
+
var k, I = n.listRef, D = I.querySelectorAll && I.querySelectorAll(".slick-slide") || [];
|
|
854
|
+
if (Array.from(D).every(function(W) {
|
|
855
855
|
if (n.vertical) {
|
|
856
|
-
if (W.offsetTop +
|
|
857
|
-
return
|
|
858
|
-
} else if (W.offsetLeft - c +
|
|
859
|
-
return
|
|
856
|
+
if (W.offsetTop + w(W) / 2 > n.swipeLeft * -1)
|
|
857
|
+
return k = W, !1;
|
|
858
|
+
} else if (W.offsetLeft - c + M(W) / 2 > n.swipeLeft * -1)
|
|
859
|
+
return k = W, !1;
|
|
860
860
|
return !0;
|
|
861
|
-
}), !
|
|
861
|
+
}), !k)
|
|
862
862
|
return 0;
|
|
863
|
-
var
|
|
863
|
+
var N = n.rtl === !0 ? n.slideCount - n.currentSlide : n.currentSlide, F = Math.abs(k.dataset.index - N) || 1;
|
|
864
864
|
return F;
|
|
865
865
|
} else
|
|
866
866
|
return n.slidesToScroll;
|
|
867
|
-
},
|
|
868
|
-
return c.reduce(function(
|
|
869
|
-
return
|
|
867
|
+
}, O = V.checkSpecKeys = function(n, c) {
|
|
868
|
+
return c.reduce(function(k, I) {
|
|
869
|
+
return k && n.hasOwnProperty(I);
|
|
870
870
|
}, !0) ? null : console.error("Keys Missing:", n);
|
|
871
871
|
}, R = V.getTrackCSS = function(n) {
|
|
872
|
-
|
|
873
|
-
var c,
|
|
872
|
+
O(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
873
|
+
var c, k;
|
|
874
874
|
if (!n.vertical)
|
|
875
875
|
c = T(n) * n.slideWidth;
|
|
876
876
|
else {
|
|
877
877
|
var I = n.unslick ? n.slideCount : n.slideCount + 2 * n.slidesToShow;
|
|
878
|
-
|
|
878
|
+
k = I * n.slideHeight;
|
|
879
879
|
}
|
|
880
|
-
var
|
|
880
|
+
var D = {
|
|
881
881
|
opacity: 1,
|
|
882
882
|
transition: "",
|
|
883
883
|
WebkitTransition: ""
|
|
884
884
|
};
|
|
885
885
|
if (n.useTransform) {
|
|
886
|
-
var
|
|
887
|
-
|
|
888
|
-
WebkitTransform:
|
|
886
|
+
var N = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", F = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", W = n.vertical ? "translateY(" + n.left + "px)" : "translateX(" + n.left + "px)";
|
|
887
|
+
D = s(s({}, D), {}, {
|
|
888
|
+
WebkitTransform: N,
|
|
889
889
|
transform: F,
|
|
890
890
|
msTransform: W
|
|
891
891
|
});
|
|
892
892
|
} else
|
|
893
|
-
n.vertical ?
|
|
894
|
-
return n.fade && (
|
|
893
|
+
n.vertical ? D.top = n.left : D.left = n.left;
|
|
894
|
+
return n.fade && (D = {
|
|
895
895
|
opacity: 1
|
|
896
|
-
}), c && (
|
|
896
|
+
}), c && (D.width = c), k && (D.height = k), window && !window.addEventListener && window.attachEvent && (n.vertical ? D.marginTop = n.left + "px" : D.marginLeft = n.left + "px"), D;
|
|
897
897
|
}, y = V.getTrackAnimateCSS = function(n) {
|
|
898
|
-
|
|
898
|
+
O(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
899
|
var c = R(n);
|
|
900
900
|
return n.useTransform ? (c.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, c.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? c.transition = "top " + n.speed + "ms " + n.cssEase : c.transition = "left " + n.speed + "ms " + n.cssEase, c;
|
|
901
901
|
}, d = V.getTrackLeft = function(n) {
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
|
-
|
|
905
|
-
var c = n.slideIndex,
|
|
904
|
+
O(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
+
var c = n.slideIndex, k = n.trackRef, I = n.infinite, D = n.centerMode, N = n.slideCount, F = n.slidesToShow, W = n.slidesToScroll, B = n.slideWidth, K = n.listWidth, G = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if (I ? (oe = -P(n),
|
|
910
|
-
var ue, ce =
|
|
911
|
-
if (ue = c + P(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0,
|
|
909
|
+
if (I ? (oe = -P(n), N % W !== 0 && c + W > N && (oe = -(c > N ? F - (c - N) : N % W)), D && (oe += parseInt(F / 2))) : (N % W !== 0 && c + W > N && (oe = F - N % W), D && (oe = parseInt(F / 2))), ee = oe * B, Q = oe * J, Z ? ie = c * J * -1 + Q : ie = c * B * -1 + ee, G === !0) {
|
|
910
|
+
var ue, ce = k && k.node;
|
|
911
|
+
if (ue = c + P(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
912
|
ue = I ? c + P(n) : c, le = ce && ce.children[ue], ie = 0;
|
|
913
913
|
for (var pe = 0; pe < ue; pe++)
|
|
914
914
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
@@ -925,17 +925,17 @@ function Ke() {
|
|
|
925
925
|
}, j = V.siblingDirection = function(n) {
|
|
926
926
|
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + E(n) ? "left" : "right" : n.targetSlide < n.currentSlide - L(n) ? "right" : "left";
|
|
927
927
|
}, E = V.slidesOnRight = function(n) {
|
|
928
|
-
var c = n.slidesToShow,
|
|
929
|
-
if (
|
|
930
|
-
var
|
|
931
|
-
return parseInt(
|
|
928
|
+
var c = n.slidesToShow, k = n.centerMode, I = n.rtl, D = n.centerPadding;
|
|
929
|
+
if (k) {
|
|
930
|
+
var N = (c - 1) / 2 + 1;
|
|
931
|
+
return parseInt(D) > 0 && (N += 1), I && c % 2 === 0 && (N += 1), N;
|
|
932
932
|
}
|
|
933
933
|
return I ? 0 : c - 1;
|
|
934
934
|
}, L = V.slidesOnLeft = function(n) {
|
|
935
|
-
var c = n.slidesToShow,
|
|
936
|
-
if (
|
|
937
|
-
var
|
|
938
|
-
return parseInt(
|
|
935
|
+
var c = n.slidesToShow, k = n.centerMode, I = n.rtl, D = n.centerPadding;
|
|
936
|
+
if (k) {
|
|
937
|
+
var N = (c - 1) / 2 + 1;
|
|
938
|
+
return parseInt(D) > 0 && (N += 1), !I && c % 2 === 0 && (N += 1), N;
|
|
939
939
|
}
|
|
940
940
|
return I ? c - 1 : 0;
|
|
941
941
|
};
|
|
@@ -956,7 +956,7 @@ function Dn() {
|
|
|
956
956
|
cr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
957
957
|
value: !0
|
|
958
958
|
}), Fe.Track = void 0;
|
|
959
|
-
var e = i(
|
|
959
|
+
var e = i(q), t = i(yt()), r = Ke();
|
|
960
960
|
function i(y) {
|
|
961
961
|
return y && y.__esModule ? y : { default: y };
|
|
962
962
|
}
|
|
@@ -1000,32 +1000,32 @@ function Dn() {
|
|
|
1000
1000
|
}, g(y, d);
|
|
1001
1001
|
}
|
|
1002
1002
|
function b(y) {
|
|
1003
|
-
var d =
|
|
1003
|
+
var d = S();
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var P, A = p(y);
|
|
1006
1006
|
if (d) {
|
|
1007
1007
|
var T = p(this).constructor;
|
|
1008
1008
|
P = Reflect.construct(A, arguments, T);
|
|
1009
1009
|
} else P = A.apply(this, arguments);
|
|
1010
|
-
return
|
|
1010
|
+
return _(this, P);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function _(y, d) {
|
|
1014
1014
|
if (d && (a(d) == "object" || typeof d == "function")) return d;
|
|
1015
1015
|
if (d !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
|
-
return
|
|
1016
|
+
return C(y);
|
|
1017
1017
|
}
|
|
1018
|
-
function
|
|
1018
|
+
function C(y) {
|
|
1019
1019
|
if (y === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1020
1020
|
return y;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1022
|
+
function S() {
|
|
1023
1023
|
try {
|
|
1024
1024
|
var y = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1025
1025
|
}));
|
|
1026
1026
|
} catch {
|
|
1027
1027
|
}
|
|
1028
|
-
return (
|
|
1028
|
+
return (S = function() {
|
|
1029
1029
|
return !!y;
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
@@ -1034,7 +1034,7 @@ function Dn() {
|
|
|
1034
1034
|
return d.__proto__ || Object.getPrototypeOf(d);
|
|
1035
1035
|
}, p(y);
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function M(y, d) {
|
|
1038
1038
|
var P = Object.keys(y);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
1040
|
var A = Object.getOwnPropertySymbols(y);
|
|
@@ -1044,25 +1044,25 @@ function Dn() {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
return P;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function w(y) {
|
|
1048
1048
|
for (var d = 1; d < arguments.length; d++) {
|
|
1049
1049
|
var P = arguments[d] != null ? arguments[d] : {};
|
|
1050
|
-
d % 2 ?
|
|
1051
|
-
|
|
1052
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(P)) :
|
|
1050
|
+
d % 2 ? M(Object(P), !0).forEach(function(A) {
|
|
1051
|
+
z(y, A, P[A]);
|
|
1052
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(P)) : M(Object(P)).forEach(function(A) {
|
|
1053
1053
|
Object.defineProperty(y, A, Object.getOwnPropertyDescriptor(P, A));
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
1056
|
return y;
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function z(y, d, P) {
|
|
1059
1059
|
return (d = U(d)) in y ? Object.defineProperty(y, d, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : y[d] = P, y;
|
|
1060
1060
|
}
|
|
1061
1061
|
function U(y) {
|
|
1062
|
-
var d =
|
|
1062
|
+
var d = Y(y, "string");
|
|
1063
1063
|
return a(d) == "symbol" ? d : d + "";
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function Y(y, d) {
|
|
1066
1066
|
if (a(y) != "object" || !y) return y;
|
|
1067
1067
|
var P = y[Symbol.toPrimitive];
|
|
1068
1068
|
if (P !== void 0) {
|
|
@@ -1086,10 +1086,10 @@ function Dn() {
|
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
|
-
},
|
|
1089
|
+
}, x = function(d) {
|
|
1090
1090
|
var P = {};
|
|
1091
1091
|
return (d.variableWidth === void 0 || d.variableWidth === !1) && (P.width = d.slideWidth), d.fade && (P.position = "relative", d.vertical ? P.top = -d.index * parseInt(d.slideHeight) : P.left = -d.index * parseInt(d.slideWidth), P.opacity = d.currentSlide === d.index ? 1 : 0, P.zIndex = d.currentSlide === d.index ? 999 : 998, d.useCSS && (P.transition = "opacity " + d.speed + "ms " + d.cssEase + ", visibility " + d.speed + "ms " + d.cssEase)), P;
|
|
1092
|
-
},
|
|
1092
|
+
}, O = function(d, P) {
|
|
1093
1093
|
return d.key || P;
|
|
1094
1094
|
}, R = function(d) {
|
|
1095
1095
|
var P, A = [], T = [], j = [], E = e.default.Children.count(d.children), L = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
@@ -1101,46 +1101,46 @@ function Dn() {
|
|
|
1101
1101
|
currentSlide: d.currentSlide
|
|
1102
1102
|
};
|
|
1103
1103
|
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n = H : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
-
var
|
|
1104
|
+
var k = x(w(w({}, d), {}, {
|
|
1105
1105
|
index: m
|
|
1106
|
-
})), I = n.props.className || "",
|
|
1106
|
+
})), I = n.props.className || "", D = v(w(w({}, d), {}, {
|
|
1107
1107
|
index: m
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1110
|
-
key: "original" +
|
|
1110
|
+
key: "original" + O(n, m),
|
|
1111
1111
|
"data-index": m,
|
|
1112
|
-
className: (0, t.default)(
|
|
1112
|
+
className: (0, t.default)(D, I),
|
|
1113
1113
|
tabIndex: "-1",
|
|
1114
|
-
"aria-hidden": !
|
|
1115
|
-
style:
|
|
1114
|
+
"aria-hidden": !D["slick-active"],
|
|
1115
|
+
style: w(w({
|
|
1116
1116
|
outline: "none"
|
|
1117
|
-
}, n.props.style || {}),
|
|
1117
|
+
}, n.props.style || {}), k),
|
|
1118
1118
|
onClick: function(W) {
|
|
1119
1119
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(c);
|
|
1120
1120
|
}
|
|
1121
1121
|
})), d.infinite && E > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
|
-
var
|
|
1123
|
-
|
|
1122
|
+
var N = E - m;
|
|
1123
|
+
N <= (0, r.getPreClones)(d) && (P = -N, P >= L && (n = H), D = v(w(w({}, d), {}, {
|
|
1124
1124
|
index: P
|
|
1125
1125
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
|
-
key: "precloned" +
|
|
1126
|
+
key: "precloned" + O(n, P),
|
|
1127
1127
|
"data-index": P,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
|
-
className: (0, t.default)(
|
|
1130
|
-
"aria-hidden": !
|
|
1131
|
-
style:
|
|
1129
|
+
className: (0, t.default)(D, I),
|
|
1130
|
+
"aria-hidden": !D["slick-active"],
|
|
1131
|
+
style: w(w({}, n.props.style || {}), k),
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(c);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), m < (0, r.getPostClones)(d) && (P = E + m, P < o && (n = H),
|
|
1135
|
+
}))), m < (0, r.getPostClones)(d) && (P = E + m, P < o && (n = H), D = v(w(w({}, d), {}, {
|
|
1136
1136
|
index: P
|
|
1137
1137
|
})), j.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
|
-
key: "postcloned" +
|
|
1138
|
+
key: "postcloned" + O(n, P),
|
|
1139
1139
|
"data-index": P,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
|
-
className: (0, t.default)(
|
|
1142
|
-
"aria-hidden": !
|
|
1143
|
-
style:
|
|
1141
|
+
className: (0, t.default)(D, I),
|
|
1142
|
+
"aria-hidden": !D["slick-active"],
|
|
1143
|
+
style: w(w({}, n.props.style || {}), k),
|
|
1144
1144
|
onClick: function(W) {
|
|
1145
1145
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(c);
|
|
1146
1146
|
}
|
|
@@ -1156,7 +1156,7 @@ function Dn() {
|
|
|
1156
1156
|
f(this, P);
|
|
1157
1157
|
for (var T = arguments.length, j = new Array(T), E = 0; E < T; E++)
|
|
1158
1158
|
j[E] = arguments[E];
|
|
1159
|
-
return A = d.call.apply(d, [this].concat(j)),
|
|
1159
|
+
return A = d.call.apply(d, [this].concat(j)), z(C(A), "node", null), z(C(A), "handleRef", function(L) {
|
|
1160
1160
|
A.node = L;
|
|
1161
1161
|
}), A;
|
|
1162
1162
|
}
|
|
@@ -1183,124 +1183,124 @@ function Mn() {
|
|
|
1183
1183
|
fr = 1;
|
|
1184
1184
|
function e(v) {
|
|
1185
1185
|
"@babel/helpers - typeof";
|
|
1186
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1187
|
-
return typeof
|
|
1188
|
-
} : function(
|
|
1189
|
-
return
|
|
1186
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(x) {
|
|
1187
|
+
return typeof x;
|
|
1188
|
+
} : function(x) {
|
|
1189
|
+
return x && typeof Symbol == "function" && x.constructor === Symbol && x !== Symbol.prototype ? "symbol" : typeof x;
|
|
1190
1190
|
}, e(v);
|
|
1191
1191
|
}
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
|
-
var t = a(
|
|
1195
|
+
var t = a(q), r = a(yt()), i = Ke();
|
|
1196
1196
|
function a(v) {
|
|
1197
1197
|
return v && v.__esModule ? v : { default: v };
|
|
1198
1198
|
}
|
|
1199
|
-
function s(v,
|
|
1200
|
-
var
|
|
1199
|
+
function s(v, x) {
|
|
1200
|
+
var O = Object.keys(v);
|
|
1201
1201
|
if (Object.getOwnPropertySymbols) {
|
|
1202
1202
|
var R = Object.getOwnPropertySymbols(v);
|
|
1203
|
-
|
|
1203
|
+
x && (R = R.filter(function(y) {
|
|
1204
1204
|
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1205
|
-
})),
|
|
1205
|
+
})), O.push.apply(O, R);
|
|
1206
1206
|
}
|
|
1207
|
-
return
|
|
1207
|
+
return O;
|
|
1208
1208
|
}
|
|
1209
1209
|
function f(v) {
|
|
1210
|
-
for (var
|
|
1211
|
-
var
|
|
1212
|
-
|
|
1213
|
-
u(v, R,
|
|
1214
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(
|
|
1215
|
-
Object.defineProperty(v, R, Object.getOwnPropertyDescriptor(
|
|
1210
|
+
for (var x = 1; x < arguments.length; x++) {
|
|
1211
|
+
var O = arguments[x] != null ? arguments[x] : {};
|
|
1212
|
+
x % 2 ? s(Object(O), !0).forEach(function(R) {
|
|
1213
|
+
u(v, R, O[R]);
|
|
1214
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(O)) : s(Object(O)).forEach(function(R) {
|
|
1215
|
+
Object.defineProperty(v, R, Object.getOwnPropertyDescriptor(O, R));
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
1218
|
return v;
|
|
1219
1219
|
}
|
|
1220
|
-
function u(v,
|
|
1221
|
-
return (
|
|
1220
|
+
function u(v, x, O) {
|
|
1221
|
+
return (x = b(x)) in v ? Object.defineProperty(v, x, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : v[x] = O, v;
|
|
1222
1222
|
}
|
|
1223
|
-
function l(v,
|
|
1224
|
-
if (!(v instanceof
|
|
1223
|
+
function l(v, x) {
|
|
1224
|
+
if (!(v instanceof x)) throw new TypeError("Cannot call a class as a function");
|
|
1225
1225
|
}
|
|
1226
|
-
function h(v,
|
|
1227
|
-
for (var
|
|
1228
|
-
var R =
|
|
1226
|
+
function h(v, x) {
|
|
1227
|
+
for (var O = 0; O < x.length; O++) {
|
|
1228
|
+
var R = x[O];
|
|
1229
1229
|
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v, b(R.key), R);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
function g(v,
|
|
1233
|
-
return
|
|
1232
|
+
function g(v, x, O) {
|
|
1233
|
+
return x && h(v.prototype, x), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1234
1234
|
}
|
|
1235
1235
|
function b(v) {
|
|
1236
|
-
var
|
|
1237
|
-
return e(
|
|
1236
|
+
var x = _(v, "string");
|
|
1237
|
+
return e(x) == "symbol" ? x : x + "";
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function _(v, x) {
|
|
1240
1240
|
if (e(v) != "object" || !v) return v;
|
|
1241
|
-
var
|
|
1242
|
-
if (
|
|
1243
|
-
var R =
|
|
1241
|
+
var O = v[Symbol.toPrimitive];
|
|
1242
|
+
if (O !== void 0) {
|
|
1243
|
+
var R = O.call(v, x);
|
|
1244
1244
|
if (e(R) != "object") return R;
|
|
1245
1245
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1246
1246
|
}
|
|
1247
1247
|
return String(v);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1250
|
-
if (typeof
|
|
1251
|
-
v.prototype = Object.create(
|
|
1249
|
+
function C(v, x) {
|
|
1250
|
+
if (typeof x != "function" && x !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
+
v.prototype = Object.create(x && x.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), x && S(v, x);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return
|
|
1255
|
-
return
|
|
1256
|
-
},
|
|
1253
|
+
function S(v, x) {
|
|
1254
|
+
return S = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, R) {
|
|
1255
|
+
return O.__proto__ = R, O;
|
|
1256
|
+
}, S(v, x);
|
|
1257
1257
|
}
|
|
1258
1258
|
function p(v) {
|
|
1259
|
-
var
|
|
1259
|
+
var x = z();
|
|
1260
1260
|
return function() {
|
|
1261
|
-
var
|
|
1262
|
-
if (
|
|
1261
|
+
var O, R = U(v);
|
|
1262
|
+
if (x) {
|
|
1263
1263
|
var y = U(this).constructor;
|
|
1264
|
-
|
|
1265
|
-
} else
|
|
1266
|
-
return
|
|
1264
|
+
O = Reflect.construct(R, arguments, y);
|
|
1265
|
+
} else O = R.apply(this, arguments);
|
|
1266
|
+
return M(this, O);
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1270
|
-
if (
|
|
1271
|
-
if (
|
|
1272
|
-
return
|
|
1269
|
+
function M(v, x) {
|
|
1270
|
+
if (x && (e(x) == "object" || typeof x == "function")) return x;
|
|
1271
|
+
if (x !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1272
|
+
return w(v);
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function w(v) {
|
|
1275
1275
|
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1276
1276
|
return v;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function z() {
|
|
1279
1279
|
try {
|
|
1280
1280
|
var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1281
1281
|
}));
|
|
1282
1282
|
} catch {
|
|
1283
1283
|
}
|
|
1284
|
-
return (
|
|
1284
|
+
return (z = function() {
|
|
1285
1285
|
return !!v;
|
|
1286
1286
|
})();
|
|
1287
1287
|
}
|
|
1288
1288
|
function U(v) {
|
|
1289
|
-
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1290
|
-
return
|
|
1289
|
+
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(x) {
|
|
1290
|
+
return x.__proto__ || Object.getPrototypeOf(x);
|
|
1291
1291
|
}, U(v);
|
|
1292
1292
|
}
|
|
1293
|
-
var
|
|
1294
|
-
var
|
|
1295
|
-
return
|
|
1293
|
+
var Y = function(x) {
|
|
1294
|
+
var O;
|
|
1295
|
+
return x.infinite ? O = Math.ceil(x.slideCount / x.slidesToScroll) : O = Math.ceil((x.slideCount - x.slidesToShow) / x.slidesToScroll) + 1, O;
|
|
1296
1296
|
};
|
|
1297
1297
|
return We.Dots = /* @__PURE__ */ function(v) {
|
|
1298
|
-
|
|
1299
|
-
var
|
|
1300
|
-
function
|
|
1301
|
-
return l(this,
|
|
1298
|
+
C(O, v);
|
|
1299
|
+
var x = p(O);
|
|
1300
|
+
function O() {
|
|
1301
|
+
return l(this, O), x.apply(this, arguments);
|
|
1302
1302
|
}
|
|
1303
|
-
return g(
|
|
1303
|
+
return g(O, [{
|
|
1304
1304
|
key: "clickHandler",
|
|
1305
1305
|
value: function(y, d) {
|
|
1306
1306
|
d.preventDefault(), this.props.clickHandler(y);
|
|
@@ -1308,7 +1308,7 @@ function Mn() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var y = this.props, d = y.onMouseEnter, P = y.onMouseOver, A = y.onMouseLeave, T = y.infinite, j = y.slidesToScroll, E = y.slidesToShow, L = y.slideCount, o = y.currentSlide, H =
|
|
1311
|
+
for (var y = this.props, d = y.onMouseEnter, P = y.onMouseOver, A = y.onMouseLeave, T = y.infinite, j = y.slidesToScroll, E = y.slidesToShow, L = y.slideCount, o = y.currentSlide, H = Y({
|
|
1312
1312
|
slideCount: L,
|
|
1313
1313
|
slidesToScroll: j,
|
|
1314
1314
|
slidesToShow: E,
|
|
@@ -1318,8 +1318,8 @@ function Mn() {
|
|
|
1318
1318
|
onMouseOver: P,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
1320
|
}, n = [], c = 0; c < H; c++) {
|
|
1321
|
-
var
|
|
1322
|
-
"slick-active": T ? o >=
|
|
1321
|
+
var k = (c + 1) * j - 1, I = T ? k : (0, i.clamp)(k, 0, L - 1), D = I - (j - 1), N = T ? D : (0, i.clamp)(D, 0, L - 1), F = (0, r.default)({
|
|
1322
|
+
"slick-active": T ? o >= N && o <= I : o === N
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
1325
1325
|
index: c,
|
|
@@ -1337,7 +1337,7 @@ function Mn() {
|
|
|
1337
1337
|
className: this.props.dotsClass
|
|
1338
1338
|
}, m));
|
|
1339
1339
|
}
|
|
1340
|
-
}]),
|
|
1340
|
+
}]), O;
|
|
1341
1341
|
}(t.default.PureComponent), We;
|
|
1342
1342
|
}
|
|
1343
1343
|
var _e = {}, dr;
|
|
@@ -1346,105 +1346,105 @@ function $n() {
|
|
|
1346
1346
|
dr = 1;
|
|
1347
1347
|
function e(v) {
|
|
1348
1348
|
"@babel/helpers - typeof";
|
|
1349
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1350
|
-
return typeof
|
|
1351
|
-
} : function(
|
|
1352
|
-
return
|
|
1349
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(x) {
|
|
1350
|
+
return typeof x;
|
|
1351
|
+
} : function(x) {
|
|
1352
|
+
return x && typeof Symbol == "function" && x.constructor === Symbol && x !== Symbol.prototype ? "symbol" : typeof x;
|
|
1353
1353
|
}, e(v);
|
|
1354
1354
|
}
|
|
1355
1355
|
Object.defineProperty(_e, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), _e.PrevArrow = _e.NextArrow = void 0;
|
|
1358
|
-
var t = a(
|
|
1358
|
+
var t = a(q), r = a(yt()), i = Ke();
|
|
1359
1359
|
function a(v) {
|
|
1360
1360
|
return v && v.__esModule ? v : { default: v };
|
|
1361
1361
|
}
|
|
1362
1362
|
function s() {
|
|
1363
1363
|
return s = Object.assign ? Object.assign.bind() : function(v) {
|
|
1364
|
-
for (var
|
|
1365
|
-
var
|
|
1366
|
-
for (var R in
|
|
1367
|
-
({}).hasOwnProperty.call(
|
|
1364
|
+
for (var x = 1; x < arguments.length; x++) {
|
|
1365
|
+
var O = arguments[x];
|
|
1366
|
+
for (var R in O)
|
|
1367
|
+
({}).hasOwnProperty.call(O, R) && (v[R] = O[R]);
|
|
1368
1368
|
}
|
|
1369
1369
|
return v;
|
|
1370
1370
|
}, s.apply(null, arguments);
|
|
1371
1371
|
}
|
|
1372
|
-
function f(v,
|
|
1373
|
-
var
|
|
1372
|
+
function f(v, x) {
|
|
1373
|
+
var O = Object.keys(v);
|
|
1374
1374
|
if (Object.getOwnPropertySymbols) {
|
|
1375
1375
|
var R = Object.getOwnPropertySymbols(v);
|
|
1376
|
-
|
|
1376
|
+
x && (R = R.filter(function(y) {
|
|
1377
1377
|
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1378
|
-
})),
|
|
1378
|
+
})), O.push.apply(O, R);
|
|
1379
1379
|
}
|
|
1380
|
-
return
|
|
1380
|
+
return O;
|
|
1381
1381
|
}
|
|
1382
1382
|
function u(v) {
|
|
1383
|
-
for (var
|
|
1384
|
-
var
|
|
1385
|
-
|
|
1386
|
-
l(v, R,
|
|
1387
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(
|
|
1388
|
-
Object.defineProperty(v, R, Object.getOwnPropertyDescriptor(
|
|
1383
|
+
for (var x = 1; x < arguments.length; x++) {
|
|
1384
|
+
var O = arguments[x] != null ? arguments[x] : {};
|
|
1385
|
+
x % 2 ? f(Object(O), !0).forEach(function(R) {
|
|
1386
|
+
l(v, R, O[R]);
|
|
1387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(O)) : f(Object(O)).forEach(function(R) {
|
|
1388
|
+
Object.defineProperty(v, R, Object.getOwnPropertyDescriptor(O, R));
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
1391
|
return v;
|
|
1392
1392
|
}
|
|
1393
|
-
function l(v,
|
|
1394
|
-
return (
|
|
1393
|
+
function l(v, x, O) {
|
|
1394
|
+
return (x = _(x)) in v ? Object.defineProperty(v, x, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : v[x] = O, v;
|
|
1395
1395
|
}
|
|
1396
|
-
function h(v,
|
|
1397
|
-
if (!(v instanceof
|
|
1396
|
+
function h(v, x) {
|
|
1397
|
+
if (!(v instanceof x)) throw new TypeError("Cannot call a class as a function");
|
|
1398
1398
|
}
|
|
1399
|
-
function g(v,
|
|
1400
|
-
for (var
|
|
1401
|
-
var R =
|
|
1402
|
-
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v,
|
|
1399
|
+
function g(v, x) {
|
|
1400
|
+
for (var O = 0; O < x.length; O++) {
|
|
1401
|
+
var R = x[O];
|
|
1402
|
+
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v, _(R.key), R);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
function b(v,
|
|
1406
|
-
return
|
|
1405
|
+
function b(v, x, O) {
|
|
1406
|
+
return x && g(v.prototype, x), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var
|
|
1410
|
-
return e(
|
|
1408
|
+
function _(v) {
|
|
1409
|
+
var x = C(v, "string");
|
|
1410
|
+
return e(x) == "symbol" ? x : x + "";
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function C(v, x) {
|
|
1413
1413
|
if (e(v) != "object" || !v) return v;
|
|
1414
|
-
var
|
|
1415
|
-
if (
|
|
1416
|
-
var R =
|
|
1414
|
+
var O = v[Symbol.toPrimitive];
|
|
1415
|
+
if (O !== void 0) {
|
|
1416
|
+
var R = O.call(v, x);
|
|
1417
1417
|
if (e(R) != "object") return R;
|
|
1418
1418
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1419
1419
|
}
|
|
1420
1420
|
return String(v);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1423
|
-
if (typeof
|
|
1424
|
-
v.prototype = Object.create(
|
|
1422
|
+
function S(v, x) {
|
|
1423
|
+
if (typeof x != "function" && x !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
|
+
v.prototype = Object.create(x && x.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), x && p(v, x);
|
|
1425
1425
|
}
|
|
1426
|
-
function p(v,
|
|
1427
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1428
|
-
return
|
|
1429
|
-
}, p(v,
|
|
1426
|
+
function p(v, x) {
|
|
1427
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, R) {
|
|
1428
|
+
return O.__proto__ = R, O;
|
|
1429
|
+
}, p(v, x);
|
|
1430
1430
|
}
|
|
1431
|
-
function
|
|
1432
|
-
var
|
|
1431
|
+
function M(v) {
|
|
1432
|
+
var x = U();
|
|
1433
1433
|
return function() {
|
|
1434
|
-
var
|
|
1435
|
-
if (
|
|
1436
|
-
var y =
|
|
1437
|
-
|
|
1438
|
-
} else
|
|
1439
|
-
return
|
|
1434
|
+
var O, R = Y(v);
|
|
1435
|
+
if (x) {
|
|
1436
|
+
var y = Y(this).constructor;
|
|
1437
|
+
O = Reflect.construct(R, arguments, y);
|
|
1438
|
+
} else O = R.apply(this, arguments);
|
|
1439
|
+
return w(this, O);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1443
|
-
if (
|
|
1444
|
-
if (
|
|
1445
|
-
return
|
|
1442
|
+
function w(v, x) {
|
|
1443
|
+
if (x && (e(x) == "object" || typeof x == "function")) return x;
|
|
1444
|
+
if (x !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1445
|
+
return z(v);
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function z(v) {
|
|
1448
1448
|
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1449
1449
|
return v;
|
|
1450
1450
|
}
|
|
@@ -1458,18 +1458,18 @@ function $n() {
|
|
|
1458
1458
|
return !!v;
|
|
1459
1459
|
})();
|
|
1460
1460
|
}
|
|
1461
|
-
function
|
|
1462
|
-
return
|
|
1463
|
-
return
|
|
1464
|
-
},
|
|
1461
|
+
function Y(v) {
|
|
1462
|
+
return Y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(x) {
|
|
1463
|
+
return x.__proto__ || Object.getPrototypeOf(x);
|
|
1464
|
+
}, Y(v);
|
|
1465
1465
|
}
|
|
1466
1466
|
return _e.PrevArrow = /* @__PURE__ */ function(v) {
|
|
1467
|
-
|
|
1468
|
-
var
|
|
1469
|
-
function
|
|
1470
|
-
return h(this,
|
|
1467
|
+
S(O, v);
|
|
1468
|
+
var x = M(O);
|
|
1469
|
+
function O() {
|
|
1470
|
+
return h(this, O), x.apply(this, arguments);
|
|
1471
1471
|
}
|
|
1472
|
-
return b(
|
|
1472
|
+
return b(O, [{
|
|
1473
1473
|
key: "clickHandler",
|
|
1474
1474
|
value: function(y, d) {
|
|
1475
1475
|
d && d.preventDefault(), this.props.clickHandler(y, d);
|
|
@@ -1501,14 +1501,14 @@ function $n() {
|
|
|
1501
1501
|
type: "button"
|
|
1502
1502
|
}, P), " ", "Previous"), T;
|
|
1503
1503
|
}
|
|
1504
|
-
}]),
|
|
1504
|
+
}]), O;
|
|
1505
1505
|
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(v) {
|
|
1506
|
-
|
|
1507
|
-
var
|
|
1508
|
-
function
|
|
1509
|
-
return h(this,
|
|
1506
|
+
S(O, v);
|
|
1507
|
+
var x = M(O);
|
|
1508
|
+
function O() {
|
|
1509
|
+
return h(this, O), x.apply(this, arguments);
|
|
1510
1510
|
}
|
|
1511
|
-
return b(
|
|
1511
|
+
return b(O, [{
|
|
1512
1512
|
key: "clickHandler",
|
|
1513
1513
|
value: function(y, d) {
|
|
1514
1514
|
d && d.preventDefault(), this.props.clickHandler(y, d);
|
|
@@ -1540,7 +1540,7 @@ function $n() {
|
|
|
1540
1540
|
type: "button"
|
|
1541
1541
|
}, P), " ", "Next"), T;
|
|
1542
1542
|
}
|
|
1543
|
-
}]),
|
|
1543
|
+
}]), O;
|
|
1544
1544
|
}(t.default.PureComponent), _e;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Nr = function() {
|
|
@@ -1840,7 +1840,7 @@ function ri() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = h(
|
|
1843
|
+
var e = h(q), t = h(jn()), r = h(Ln()), i = h(yt()), a = Ke(), s = Dn(), f = Mn(), u = $n(), l = h(ti);
|
|
1844
1844
|
function h(T) {
|
|
1845
1845
|
return T && T.__esModule ? T : { default: T };
|
|
1846
1846
|
}
|
|
@@ -1862,9 +1862,9 @@ function ri() {
|
|
|
1862
1862
|
return T;
|
|
1863
1863
|
}, b.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function _(T, j) {
|
|
1866
1866
|
if (T == null) return {};
|
|
1867
|
-
var E, L, o =
|
|
1867
|
+
var E, L, o = C(T, j);
|
|
1868
1868
|
if (Object.getOwnPropertySymbols) {
|
|
1869
1869
|
var H = Object.getOwnPropertySymbols(T);
|
|
1870
1870
|
for (L = 0; L < H.length; L++)
|
|
@@ -1872,7 +1872,7 @@ function ri() {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
return o;
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1875
|
+
function C(T, j) {
|
|
1876
1876
|
if (T == null) return {};
|
|
1877
1877
|
var E = {};
|
|
1878
1878
|
for (var L in T)
|
|
@@ -1882,7 +1882,7 @@ function ri() {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
return E;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function S(T, j) {
|
|
1886
1886
|
var E = Object.keys(T);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
1888
|
var L = Object.getOwnPropertySymbols(T);
|
|
@@ -1895,34 +1895,34 @@ function ri() {
|
|
|
1895
1895
|
function p(T) {
|
|
1896
1896
|
for (var j = 1; j < arguments.length; j++) {
|
|
1897
1897
|
var E = arguments[j] != null ? arguments[j] : {};
|
|
1898
|
-
j % 2 ?
|
|
1898
|
+
j % 2 ? S(Object(E), !0).forEach(function(L) {
|
|
1899
1899
|
d(T, L, E[L]);
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(E)) :
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(E)) : S(Object(E)).forEach(function(L) {
|
|
1901
1901
|
Object.defineProperty(T, L, Object.getOwnPropertyDescriptor(E, L));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
1904
1904
|
return T;
|
|
1905
1905
|
}
|
|
1906
|
-
function
|
|
1906
|
+
function M(T, j) {
|
|
1907
1907
|
if (!(T instanceof j)) throw new TypeError("Cannot call a class as a function");
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1909
|
+
function w(T, j) {
|
|
1910
1910
|
for (var E = 0; E < j.length; E++) {
|
|
1911
1911
|
var L = j[E];
|
|
1912
1912
|
L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(T, P(L.key), L);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
function
|
|
1916
|
-
return j &&
|
|
1915
|
+
function z(T, j, E) {
|
|
1916
|
+
return j && w(T.prototype, j), Object.defineProperty(T, "prototype", { writable: !1 }), T;
|
|
1917
1917
|
}
|
|
1918
1918
|
function U(T, j) {
|
|
1919
1919
|
if (typeof j != "function" && j !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1920
|
-
T.prototype = Object.create(j && j.prototype, { constructor: { value: T, writable: !0, configurable: !0 } }), Object.defineProperty(T, "prototype", { writable: !1 }), j &&
|
|
1920
|
+
T.prototype = Object.create(j && j.prototype, { constructor: { value: T, writable: !0, configurable: !0 } }), Object.defineProperty(T, "prototype", { writable: !1 }), j && Y(T, j);
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
return
|
|
1922
|
+
function Y(T, j) {
|
|
1923
|
+
return Y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(E, L) {
|
|
1924
1924
|
return E.__proto__ = L, E;
|
|
1925
|
-
},
|
|
1925
|
+
}, Y(T, j);
|
|
1926
1926
|
}
|
|
1927
1927
|
function v(T) {
|
|
1928
1928
|
var j = R();
|
|
@@ -1932,15 +1932,15 @@ function ri() {
|
|
|
1932
1932
|
var o = y(this).constructor;
|
|
1933
1933
|
E = Reflect.construct(L, arguments, o);
|
|
1934
1934
|
} else E = L.apply(this, arguments);
|
|
1935
|
-
return
|
|
1935
|
+
return x(this, E);
|
|
1936
1936
|
};
|
|
1937
1937
|
}
|
|
1938
|
-
function
|
|
1938
|
+
function x(T, j) {
|
|
1939
1939
|
if (j && (g(j) == "object" || typeof j == "function")) return j;
|
|
1940
1940
|
if (j !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1941
|
-
return
|
|
1941
|
+
return O(T);
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1943
|
+
function O(T) {
|
|
1944
1944
|
if (T === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1945
1945
|
return T;
|
|
1946
1946
|
}
|
|
@@ -1981,16 +1981,16 @@ function ri() {
|
|
|
1981
1981
|
var j = v(E);
|
|
1982
1982
|
function E(L) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
|
|
1984
|
+
M(this, E), o = j.call(this, L), d(O(o), "listRefHandler", function(m) {
|
|
1985
1985
|
return o.list = m;
|
|
1986
|
-
}), d(
|
|
1986
|
+
}), d(O(o), "trackRefHandler", function(m) {
|
|
1987
1987
|
return o.track = m;
|
|
1988
|
-
}), d(
|
|
1988
|
+
}), d(O(o), "adaptHeight", function() {
|
|
1989
1989
|
if (o.props.adaptiveHeight && o.list) {
|
|
1990
1990
|
var m = o.list.querySelector('[data-index="'.concat(o.state.currentSlide, '"]'));
|
|
1991
1991
|
o.list.style.height = (0, a.getHeight)(m) + "px";
|
|
1992
1992
|
}
|
|
1993
|
-
}), d(
|
|
1993
|
+
}), d(O(o), "componentDidMount", function() {
|
|
1994
1994
|
if (o.props.onInit && o.props.onInit(), o.props.lazyLoad) {
|
|
1995
1995
|
var m = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
1996
1996
|
m.length > 0 && (o.setState(function(c) {
|
|
@@ -2012,11 +2012,11 @@ function ri() {
|
|
|
2012
2012
|
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(c) {
|
|
2013
2013
|
c.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, c.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
|
-
}), d(
|
|
2015
|
+
}), d(O(o), "componentWillUnmount", function() {
|
|
2016
2016
|
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(m) {
|
|
2017
2017
|
return clearTimeout(m);
|
|
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(
|
|
2019
|
+
}), d(O(o), "componentDidUpdate", function(m) {
|
|
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,19 +2029,19 @@ function ri() {
|
|
|
2029
2029
|
var c = p(p({
|
|
2030
2030
|
listRef: o.list,
|
|
2031
2031
|
trackRef: o.track
|
|
2032
|
-
}, o.props), o.state),
|
|
2033
|
-
|
|
2032
|
+
}, o.props), o.state), k = o.didPropsChange(m);
|
|
2033
|
+
k && o.updateState(c, k, function() {
|
|
2034
2034
|
o.state.currentSlide >= e.default.Children.count(o.props.children) && o.changeSlide({
|
|
2035
2035
|
message: "index",
|
|
2036
2036
|
index: e.default.Children.count(o.props.children) - o.props.slidesToShow,
|
|
2037
2037
|
currentSlide: o.state.currentSlide
|
|
2038
2038
|
}), o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2039
2039
|
});
|
|
2040
|
-
}), d(
|
|
2040
|
+
}), d(O(o), "onWindowResized", function(m) {
|
|
2041
2041
|
o.debouncedResize && o.debouncedResize.cancel(), o.debouncedResize = (0, r.default)(function() {
|
|
2042
2042
|
return o.resizeWindow(m);
|
|
2043
2043
|
}, 50), o.debouncedResize();
|
|
2044
|
-
}), d(
|
|
2044
|
+
}), d(O(o), "resizeWindow", function() {
|
|
2045
2045
|
var m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, n = !!(o.track && o.track.node);
|
|
2046
2046
|
if (n) {
|
|
2047
2047
|
var c = p(p({
|
|
@@ -2054,20 +2054,20 @@ function ri() {
|
|
|
2054
2054
|
animating: !1
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
|
-
}), d(
|
|
2058
|
-
var
|
|
2059
|
-
m = p(p(p({}, m),
|
|
2060
|
-
slideIndex:
|
|
2057
|
+
}), d(O(o), "updateState", function(m, n, c) {
|
|
2058
|
+
var k = (0, a.initializedState)(m);
|
|
2059
|
+
m = p(p(p({}, m), k), {}, {
|
|
2060
|
+
slideIndex: k.currentSlide
|
|
2061
2061
|
});
|
|
2062
2062
|
var I = (0, a.getTrackLeft)(m);
|
|
2063
2063
|
m = p(p({}, m), {}, {
|
|
2064
2064
|
left: I
|
|
2065
2065
|
});
|
|
2066
|
-
var
|
|
2067
|
-
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (
|
|
2068
|
-
}), d(
|
|
2066
|
+
var D = (0, a.getTrackCSS)(m);
|
|
2067
|
+
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (k.trackStyle = D), o.setState(k, c);
|
|
2068
|
+
}), d(O(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
|
-
var m = 0, n = 0, c = [],
|
|
2070
|
+
var m = 0, n = 0, c = [], k = (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
|
|
@@ -2075,10 +2075,10 @@ function ri() {
|
|
|
2075
2075
|
o.props.children.forEach(function(le) {
|
|
2076
2076
|
c.push(le.props.style.width), m += le.props.style.width;
|
|
2077
2077
|
});
|
|
2078
|
-
for (var
|
|
2079
|
-
n += c[c.length - 1 -
|
|
2080
|
-
for (var
|
|
2081
|
-
m += c[
|
|
2078
|
+
for (var D = 0; D < k; D++)
|
|
2079
|
+
n += c[c.length - 1 - D], m += c[c.length - 1 - D];
|
|
2080
|
+
for (var N = 0; N < I; N++)
|
|
2081
|
+
m += c[N];
|
|
2082
2082
|
for (var F = 0; F < o.state.currentSlide; F++)
|
|
2083
2083
|
n += c[F];
|
|
2084
2084
|
var W = {
|
|
@@ -2105,37 +2105,37 @@ function ri() {
|
|
|
2105
2105
|
slideWidth: Z + "%",
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
|
-
}), d(
|
|
2108
|
+
}), d(O(o), "checkImagesLoad", function() {
|
|
2109
2109
|
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length, c = 0;
|
|
2110
|
-
Array.prototype.forEach.call(m, function(
|
|
2110
|
+
Array.prototype.forEach.call(m, function(k) {
|
|
2111
2111
|
var I = function() {
|
|
2112
2112
|
return ++c && c >= n && o.onWindowResized();
|
|
2113
2113
|
};
|
|
2114
|
-
if (!
|
|
2115
|
-
|
|
2116
|
-
return
|
|
2114
|
+
if (!k.onclick)
|
|
2115
|
+
k.onclick = function() {
|
|
2116
|
+
return k.parentNode.focus();
|
|
2117
2117
|
};
|
|
2118
2118
|
else {
|
|
2119
|
-
var
|
|
2120
|
-
|
|
2121
|
-
|
|
2119
|
+
var D = k.onclick;
|
|
2120
|
+
k.onclick = function(N) {
|
|
2121
|
+
D(N), k.parentNode.focus();
|
|
2122
2122
|
};
|
|
2123
2123
|
}
|
|
2124
|
-
|
|
2124
|
+
k.onload || (o.props.lazyLoad ? k.onload = function() {
|
|
2125
2125
|
o.adaptHeight(), o.callbackTimers.push(setTimeout(o.onWindowResized, o.props.speed));
|
|
2126
|
-
} : (
|
|
2126
|
+
} : (k.onload = I, k.onerror = function() {
|
|
2127
2127
|
I(), o.props.onLazyLoadError && o.props.onLazyLoadError();
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
|
-
}), d(
|
|
2130
|
+
}), d(O(o), "progressiveLazyLoad", function() {
|
|
2131
2131
|
for (var m = [], n = p(p({}, o.props), o.state), c = o.state.currentSlide; c < o.state.slideCount + (0, a.getPostClones)(n); c++)
|
|
2132
2132
|
if (o.state.lazyLoadedList.indexOf(c) < 0) {
|
|
2133
2133
|
m.push(c);
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
|
-
for (var
|
|
2137
|
-
if (o.state.lazyLoadedList.indexOf(
|
|
2138
|
-
m.push(
|
|
2136
|
+
for (var k = o.state.currentSlide - 1; k >= -(0, a.getPreClones)(n); k--)
|
|
2137
|
+
if (o.state.lazyLoadedList.indexOf(k) < 0) {
|
|
2138
|
+
m.push(k);
|
|
2139
2139
|
break;
|
|
2140
2140
|
}
|
|
2141
2141
|
m.length > 0 ? (o.setState(function(I) {
|
|
@@ -2143,8 +2143,8 @@ function ri() {
|
|
|
2143
2143
|
lazyLoadedList: I.lazyLoadedList.concat(m)
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
|
-
}), d(
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = o.props,
|
|
2146
|
+
}), d(O(o), "slideHandler", function(m) {
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = o.props, k = c.asNavFor, I = c.beforeChange, D = c.onLazyLoad, N = c.speed, F = c.afterChange, W = o.state.currentSlide, B = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: m
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
@@ -2155,9 +2155,9 @@ function ri() {
|
|
|
2155
2155
|
var J = K.lazyLoadedList.filter(function(te) {
|
|
2156
2156
|
return o.state.lazyLoadedList.indexOf(te) < 0;
|
|
2157
2157
|
});
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
var te = G.animating, Z =
|
|
2158
|
+
D && J.length > 0 && D(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), F && F(W), delete o.animationEndCallback), o.setState(K, function() {
|
|
2159
|
+
k && o.asNavForIndex !== m && (o.asNavForIndex = m, k.innerSlider.slideHandler(m)), G && (o.animationEndCallback = setTimeout(function() {
|
|
2160
|
+
var te = G.animating, Z = _(G, ["animating"]);
|
|
2161
2161
|
o.setState(Z, function() {
|
|
2162
2162
|
o.callbackTimers.push(setTimeout(function() {
|
|
2163
2163
|
return o.setState({
|
|
@@ -2165,43 +2165,43 @@ function ri() {
|
|
|
2165
2165
|
});
|
|
2166
2166
|
}, 10)), F && F(K.currentSlide), delete o.animationEndCallback;
|
|
2167
2167
|
});
|
|
2168
|
-
},
|
|
2168
|
+
}, N));
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
}), d(
|
|
2172
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = p(p({}, o.props), o.state),
|
|
2173
|
-
if (!(
|
|
2171
|
+
}), d(O(o), "changeSlide", function(m) {
|
|
2172
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = p(p({}, o.props), o.state), k = (0, a.changeSlide)(c, m);
|
|
2173
|
+
if (!(k !== 0 && !k) && (n === !0 ? o.slideHandler(k, n) : o.slideHandler(k), 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(
|
|
2177
|
+
}), d(O(o), "clickHandler", function(m) {
|
|
2178
2178
|
o.clickable === !1 && (m.stopPropagation(), m.preventDefault()), o.clickable = !0;
|
|
2179
|
-
}), d(
|
|
2179
|
+
}), d(O(o), "keyHandler", function(m) {
|
|
2180
2180
|
var n = (0, a.keyHandler)(m, o.props.accessibility, o.props.rtl);
|
|
2181
2181
|
n !== "" && o.changeSlide({
|
|
2182
2182
|
message: n
|
|
2183
2183
|
});
|
|
2184
|
-
}), d(
|
|
2184
|
+
}), d(O(o), "selectHandler", function(m) {
|
|
2185
2185
|
o.changeSlide(m);
|
|
2186
|
-
}), d(
|
|
2186
|
+
}), d(O(o), "disableBodyScroll", function() {
|
|
2187
2187
|
var m = function(c) {
|
|
2188
2188
|
c = c || window.event, c.preventDefault && c.preventDefault(), c.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
2190
|
window.ontouchmove = m;
|
|
2191
|
-
}), d(
|
|
2191
|
+
}), d(O(o), "enableBodyScroll", function() {
|
|
2192
2192
|
window.ontouchmove = null;
|
|
2193
|
-
}), d(
|
|
2193
|
+
}), d(O(o), "swipeStart", function(m) {
|
|
2194
2194
|
o.props.verticalSwiping && o.disableBodyScroll();
|
|
2195
2195
|
var n = (0, a.swipeStart)(m, o.props.swipe, o.props.draggable);
|
|
2196
2196
|
n !== "" && o.setState(n);
|
|
2197
|
-
}), d(
|
|
2197
|
+
}), d(O(o), "swipeMove", function(m) {
|
|
2198
2198
|
var n = (0, a.swipeMove)(m, 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(
|
|
2204
|
+
}), d(O(o), "swipeEnd", function(m) {
|
|
2205
2205
|
var n = (0, a.swipeEnd)(m, p(p(p({}, o.props), o.state), {}, {
|
|
2206
2206
|
trackRef: o.track,
|
|
2207
2207
|
listRef: o.list,
|
|
@@ -2211,21 +2211,21 @@ function ri() {
|
|
|
2211
2211
|
var c = n.triggerSlideHandler;
|
|
2212
2212
|
delete n.triggerSlideHandler, o.setState(n), c !== void 0 && (o.slideHandler(c), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
|
-
}), d(
|
|
2214
|
+
}), d(O(o), "touchEnd", function(m) {
|
|
2215
2215
|
o.swipeEnd(m), o.clickable = !0;
|
|
2216
|
-
}), d(
|
|
2216
|
+
}), d(O(o), "slickPrev", function() {
|
|
2217
2217
|
o.callbackTimers.push(setTimeout(function() {
|
|
2218
2218
|
return o.changeSlide({
|
|
2219
2219
|
message: "previous"
|
|
2220
2220
|
});
|
|
2221
2221
|
}, 0));
|
|
2222
|
-
}), d(
|
|
2222
|
+
}), d(O(o), "slickNext", function() {
|
|
2223
2223
|
o.callbackTimers.push(setTimeout(function() {
|
|
2224
2224
|
return o.changeSlide({
|
|
2225
2225
|
message: "next"
|
|
2226
2226
|
});
|
|
2227
2227
|
}, 0));
|
|
2228
|
-
}), d(
|
|
2228
|
+
}), d(O(o), "slickGoTo", function(m) {
|
|
2229
2229
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2230
2230
|
if (m = Number(m), isNaN(m)) return "";
|
|
2231
2231
|
o.callbackTimers.push(setTimeout(function() {
|
|
@@ -2235,7 +2235,7 @@ function ri() {
|
|
|
2235
2235
|
currentSlide: o.state.currentSlide
|
|
2236
2236
|
}, n);
|
|
2237
2237
|
}, 0));
|
|
2238
|
-
}), d(
|
|
2238
|
+
}), d(O(o), "play", function() {
|
|
2239
2239
|
var m;
|
|
2240
2240
|
if (o.props.rtl)
|
|
2241
2241
|
m = o.state.currentSlide - o.props.slidesToScroll;
|
|
@@ -2244,7 +2244,7 @@ function ri() {
|
|
|
2244
2244
|
else
|
|
2245
2245
|
return !1;
|
|
2246
2246
|
o.slideHandler(m);
|
|
2247
|
-
}), d(
|
|
2247
|
+
}), d(O(o), "autoPlay", function(m) {
|
|
2248
2248
|
o.autoplayTimer && clearInterval(o.autoplayTimer);
|
|
2249
2249
|
var n = o.state.autoplaying;
|
|
2250
2250
|
if (m === "update") {
|
|
@@ -2258,7 +2258,7 @@ function ri() {
|
|
|
2258
2258
|
o.autoplayTimer = setInterval(o.play, o.props.autoplaySpeed + 50), o.setState({
|
|
2259
2259
|
autoplaying: "playing"
|
|
2260
2260
|
});
|
|
2261
|
-
}), d(
|
|
2261
|
+
}), d(O(o), "pause", function(m) {
|
|
2262
2262
|
o.autoplayTimer && (clearInterval(o.autoplayTimer), o.autoplayTimer = null);
|
|
2263
2263
|
var n = o.state.autoplaying;
|
|
2264
2264
|
m === "paused" ? o.setState({
|
|
@@ -2268,38 +2268,38 @@ function ri() {
|
|
|
2268
2268
|
}) : n === "playing" && o.setState({
|
|
2269
2269
|
autoplaying: "hovered"
|
|
2270
2270
|
});
|
|
2271
|
-
}), d(
|
|
2271
|
+
}), d(O(o), "onDotsOver", function() {
|
|
2272
2272
|
return o.props.autoplay && o.pause("hovered");
|
|
2273
|
-
}), d(
|
|
2273
|
+
}), d(O(o), "onDotsLeave", function() {
|
|
2274
2274
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2275
|
-
}), d(
|
|
2275
|
+
}), d(O(o), "onTrackOver", function() {
|
|
2276
2276
|
return o.props.autoplay && o.pause("hovered");
|
|
2277
|
-
}), d(
|
|
2277
|
+
}), d(O(o), "onTrackLeave", function() {
|
|
2278
2278
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2279
|
-
}), d(
|
|
2279
|
+
}), d(O(o), "onSlideFocus", function() {
|
|
2280
2280
|
return o.props.autoplay && o.pause("focused");
|
|
2281
|
-
}), d(
|
|
2281
|
+
}), d(O(o), "onSlideBlur", function() {
|
|
2282
2282
|
return o.props.autoplay && o.state.autoplaying === "focused" && o.autoPlay("blur");
|
|
2283
|
-
}), d(
|
|
2283
|
+
}), d(O(o), "render", function() {
|
|
2284
2284
|
var m = (0, i.default)("slick-slider", o.props.className, {
|
|
2285
2285
|
"slick-vertical": o.props.vertical,
|
|
2286
2286
|
"slick-initialized": !0
|
|
2287
|
-
}), n = p(p({}, o.props), o.state), c = (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"]),
|
|
2287
|
+
}), n = p(p({}, o.props), o.state), c = (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"]), k = o.props.pauseOnHover;
|
|
2288
2288
|
c = p(p({}, c), {}, {
|
|
2289
|
-
onMouseEnter:
|
|
2290
|
-
onMouseLeave:
|
|
2291
|
-
onMouseOver:
|
|
2289
|
+
onMouseEnter: k ? o.onTrackOver : null,
|
|
2290
|
+
onMouseLeave: k ? o.onTrackLeave : null,
|
|
2291
|
+
onMouseOver: k ? o.onTrackOver : null,
|
|
2292
2292
|
focusOnSelect: o.props.focusOnSelect && o.clickable ? o.selectHandler : null
|
|
2293
2293
|
});
|
|
2294
2294
|
var I;
|
|
2295
2295
|
if (o.props.dots === !0 && o.state.slideCount >= o.props.slidesToShow) {
|
|
2296
|
-
var
|
|
2297
|
-
|
|
2296
|
+
var D = (0, a.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), N = o.props.pauseOnDotsHover;
|
|
2297
|
+
D = p(p({}, D), {}, {
|
|
2298
2298
|
clickHandler: o.changeSlide,
|
|
2299
|
-
onMouseEnter:
|
|
2300
|
-
onMouseOver:
|
|
2301
|
-
onMouseLeave:
|
|
2302
|
-
}), I = /* @__PURE__ */ e.default.createElement(f.Dots,
|
|
2299
|
+
onMouseEnter: N ? o.onDotsLeave : null,
|
|
2300
|
+
onMouseOver: N ? o.onDotsOver : null,
|
|
2301
|
+
onMouseLeave: N ? o.onDotsLeave : null
|
|
2302
|
+
}), I = /* @__PURE__ */ e.default.createElement(f.Dots, D);
|
|
2303
2303
|
}
|
|
2304
2304
|
var F, W, B = (0, a.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2305
2305
|
B.clickHandler = o.changeSlide, o.props.arrows && (F = /* @__PURE__ */ e.default.createElement(u.PrevArrow, B), W = /* @__PURE__ */ e.default.createElement(u.NextArrow, B));
|
|
@@ -2349,7 +2349,7 @@ function ri() {
|
|
|
2349
2349
|
var H = o.ssrInit();
|
|
2350
2350
|
return o.state = p(p({}, o.state), H), o;
|
|
2351
2351
|
}
|
|
2352
|
-
return
|
|
2352
|
+
return z(E, [{
|
|
2353
2353
|
key: "didPropsChange",
|
|
2354
2354
|
value: function(o) {
|
|
2355
2355
|
for (var H = !1, m = 0, n = Object.keys(this.props); m < n.length; m++) {
|
|
@@ -2406,7 +2406,7 @@ function ai() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t = f(
|
|
2409
|
+
var t = f(q), r = ri(), i = f(ii()), a = f(zr()), s = Ke();
|
|
2410
2410
|
function f(R) {
|
|
2411
2411
|
return R && R.__esModule ? R : { default: R };
|
|
2412
2412
|
}
|
|
@@ -2452,16 +2452,16 @@ function ai() {
|
|
|
2452
2452
|
function b(R, y) {
|
|
2453
2453
|
if (!(R instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
|
-
function
|
|
2455
|
+
function _(R, y) {
|
|
2456
2456
|
for (var d = 0; d < y.length; d++) {
|
|
2457
2457
|
var P = y[d];
|
|
2458
|
-
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(R,
|
|
2458
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(R, x(P.key), P);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2462
|
-
return y &&
|
|
2461
|
+
function C(R, y, d) {
|
|
2462
|
+
return y && _(R.prototype, y), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function S(R, y) {
|
|
2465
2465
|
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2466
2466
|
R.prototype = Object.create(y && y.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), y && p(R, y);
|
|
2467
2467
|
}
|
|
@@ -2470,23 +2470,23 @@ function ai() {
|
|
|
2470
2470
|
return d.__proto__ = P, d;
|
|
2471
2471
|
}, p(R, y);
|
|
2472
2472
|
}
|
|
2473
|
-
function
|
|
2473
|
+
function M(R) {
|
|
2474
2474
|
var y = U();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var d, P =
|
|
2476
|
+
var d, P = Y(R);
|
|
2477
2477
|
if (y) {
|
|
2478
|
-
var A =
|
|
2478
|
+
var A = Y(this).constructor;
|
|
2479
2479
|
d = Reflect.construct(P, arguments, A);
|
|
2480
2480
|
} else d = P.apply(this, arguments);
|
|
2481
|
-
return
|
|
2481
|
+
return w(this, d);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function w(R, y) {
|
|
2485
2485
|
if (y && (u(y) == "object" || typeof y == "function")) return y;
|
|
2486
2486
|
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2487
|
-
return
|
|
2487
|
+
return z(R);
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function z(R) {
|
|
2490
2490
|
if (R === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2491
2491
|
return R;
|
|
2492
2492
|
}
|
|
@@ -2500,19 +2500,19 @@ function ai() {
|
|
|
2500
2500
|
return !!R;
|
|
2501
2501
|
})();
|
|
2502
2502
|
}
|
|
2503
|
-
function
|
|
2504
|
-
return
|
|
2503
|
+
function Y(R) {
|
|
2504
|
+
return Y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(y) {
|
|
2505
2505
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
2506
|
-
},
|
|
2506
|
+
}, Y(R);
|
|
2507
2507
|
}
|
|
2508
2508
|
function v(R, y, d) {
|
|
2509
|
-
return (y =
|
|
2509
|
+
return (y = x(y)) in R ? Object.defineProperty(R, y, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : R[y] = d, R;
|
|
2510
2510
|
}
|
|
2511
|
-
function
|
|
2512
|
-
var y =
|
|
2511
|
+
function x(R) {
|
|
2512
|
+
var y = O(R, "string");
|
|
2513
2513
|
return u(y) == "symbol" ? y : y + "";
|
|
2514
2514
|
}
|
|
2515
|
-
function
|
|
2515
|
+
function O(R, y) {
|
|
2516
2516
|
if (u(R) != "object" || !R) return R;
|
|
2517
2517
|
var d = R[Symbol.toPrimitive];
|
|
2518
2518
|
if (d !== void 0) {
|
|
@@ -2523,28 +2523,28 @@ function ai() {
|
|
|
2523
2523
|
return (y === "string" ? String : Number)(R);
|
|
2524
2524
|
}
|
|
2525
2525
|
e.default = /* @__PURE__ */ function(R) {
|
|
2526
|
-
|
|
2527
|
-
var y =
|
|
2526
|
+
S(d, R);
|
|
2527
|
+
var y = M(d);
|
|
2528
2528
|
function d(P) {
|
|
2529
2529
|
var A;
|
|
2530
|
-
return b(this, d), A = y.call(this, P), v(
|
|
2530
|
+
return b(this, d), A = y.call(this, P), v(z(A), "innerSliderRefHandler", function(T) {
|
|
2531
2531
|
return A.innerSlider = T;
|
|
2532
|
-
}), v(
|
|
2532
|
+
}), v(z(A), "slickPrev", function() {
|
|
2533
2533
|
return A.innerSlider.slickPrev();
|
|
2534
|
-
}), v(
|
|
2534
|
+
}), v(z(A), "slickNext", function() {
|
|
2535
2535
|
return A.innerSlider.slickNext();
|
|
2536
|
-
}), v(
|
|
2536
|
+
}), v(z(A), "slickGoTo", function(T) {
|
|
2537
2537
|
var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2538
2538
|
return A.innerSlider.slickGoTo(T, j);
|
|
2539
|
-
}), v(
|
|
2539
|
+
}), v(z(A), "slickPause", function() {
|
|
2540
2540
|
return A.innerSlider.pause("paused");
|
|
2541
|
-
}), v(
|
|
2541
|
+
}), v(z(A), "slickPlay", function() {
|
|
2542
2542
|
return A.innerSlider.autoPlay("play");
|
|
2543
2543
|
}), A.state = {
|
|
2544
2544
|
breakpoint: null
|
|
2545
2545
|
}, A._responsiveMediaHandlers = [], A;
|
|
2546
2546
|
}
|
|
2547
|
-
return
|
|
2547
|
+
return C(d, [{
|
|
2548
2548
|
key: "media",
|
|
2549
2549
|
value: function(A, T) {
|
|
2550
2550
|
var j = window.matchMedia(A), E = function(o) {
|
|
@@ -2603,18 +2603,18 @@ function ai() {
|
|
|
2603
2603
|
key: "render",
|
|
2604
2604
|
value: function() {
|
|
2605
2605
|
var A = this, T, j;
|
|
2606
|
-
this.state.breakpoint ? (j = this.props.responsive.filter(function(
|
|
2607
|
-
return
|
|
2606
|
+
this.state.breakpoint ? (j = this.props.responsive.filter(function(D) {
|
|
2607
|
+
return D.breakpoint === A.state.breakpoint;
|
|
2608
2608
|
}), T = j[0].settings === "unslick" ? "unslick" : g(g(g({}, a.default), this.props), j[0].settings)) : T = g(g({}, a.default), this.props), T.centerMode && (T.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(T.slidesToScroll)), T.slidesToScroll = 1), T.fade && (T.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(T.slidesToShow)), T.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(T.slidesToScroll)), T.slidesToShow = 1, T.slidesToScroll = 1);
|
|
2609
2609
|
var E = t.default.Children.toArray(this.props.children);
|
|
2610
|
-
E = E.filter(function(
|
|
2611
|
-
return typeof
|
|
2610
|
+
E = E.filter(function(D) {
|
|
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, H = 0; H < E.length; H += T.rows * T.slidesPerRow) {
|
|
2614
2614
|
for (var m = [], n = H; n < H + T.rows * T.slidesPerRow; n += T.slidesPerRow) {
|
|
2615
|
-
for (var c = [],
|
|
2616
|
-
c.push(/* @__PURE__ */ t.default.cloneElement(E[
|
|
2617
|
-
key: 100 * H + 10 * n +
|
|
2615
|
+
for (var c = [], k = n; k < n + T.slidesPerRow && (T.variableWidth && E[k].props.style && (o = E[k].props.style.width), !(k >= E.length)); k += 1)
|
|
2616
|
+
c.push(/* @__PURE__ */ t.default.cloneElement(E[k], {
|
|
2617
|
+
key: 100 * H + 10 * n + k,
|
|
2618
2618
|
tabIndex: -1,
|
|
2619
2619
|
style: {
|
|
2620
2620
|
width: "".concat(100 / T.slidesPerRow, "%"),
|
|
@@ -2866,30 +2866,30 @@ 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, f, u, l) {
|
|
2869
|
-
for (var h = 0, g = 0, b = f,
|
|
2870
|
-
switch (
|
|
2869
|
+
for (var h = 0, g = 0, b = f, _ = 0, C = 0, S = 0, p = 1, M = 1, w = 1, z = 0, U = "", Y = a, v = s, x = i, O = U; M; )
|
|
2870
|
+
switch (S = z, z = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (
|
|
2874
|
-
zt(
|
|
2873
|
+
if (S != 108 && fe(O, b - 1) == 58) {
|
|
2874
|
+
zt(O += ne(st(z), "&", "&\f"), "&\f") != -1 && (w = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
2877
|
// " ' [
|
|
2878
2878
|
case 34:
|
|
2879
2879
|
case 39:
|
|
2880
2880
|
case 91:
|
|
2881
|
-
|
|
2881
|
+
O += st(z);
|
|
2882
2882
|
break;
|
|
2883
2883
|
// \t \n \r \s
|
|
2884
2884
|
case 9:
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
|
|
2888
|
+
O += Si(S);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
2892
|
-
|
|
2892
|
+
O += xi(ot() - 1, 7);
|
|
2893
2893
|
continue;
|
|
2894
2894
|
// /
|
|
2895
2895
|
case 47:
|
|
@@ -2899,82 +2899,82 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2899
2899
|
it(Pi(Oi(me(), ot()), t, r), l);
|
|
2900
2900
|
break;
|
|
2901
2901
|
default:
|
|
2902
|
-
|
|
2902
|
+
O += "/";
|
|
2903
2903
|
}
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
u[h++] = ye(
|
|
2907
|
+
u[h++] = ye(O) * w;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
2911
2911
|
case 0:
|
|
2912
|
-
switch (
|
|
2912
|
+
switch (z) {
|
|
2913
2913
|
// \0 }
|
|
2914
2914
|
case 0:
|
|
2915
2915
|
case 125:
|
|
2916
|
-
|
|
2916
|
+
M = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + g:
|
|
2919
|
-
|
|
2919
|
+
w == -1 && (O = ne(O, /\f/g, "")), C > 0 && ye(O) - b && it(C > 32 ? wr(O + ";", i, r, b - 1) : wr(ne(O, " ", "") + ";", i, r, b - 2), l);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
|
-
|
|
2923
|
+
O += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(
|
|
2926
|
+
if (it(x = br(O, t, r, h, g, a, u, U, Y = [], v = [], b), s), z === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
|
-
lt(
|
|
2928
|
+
lt(O, t, x, x, Y, s, b, u, v);
|
|
2929
2929
|
else
|
|
2930
|
-
switch (
|
|
2930
|
+
switch (_ === 99 && fe(O, 3) === 110 ? 100 : _) {
|
|
2931
2931
|
// d l m s
|
|
2932
2932
|
case 100:
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e,
|
|
2936
|
+
lt(e, x, x, i && it(br(e, x, x, 0, 0, a, u, U, a, Y = [], b), v), a, v, b, u, i ? Y : v);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
|
-
lt(
|
|
2939
|
+
lt(O, x, x, x, [""], v, 0, u, v);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
h = g =
|
|
2942
|
+
h = g = C = 0, p = w = 1, U = O = "", b = f;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
b = 1 + ye(
|
|
2946
|
+
b = 1 + ye(O), C = S;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
|
-
if (
|
|
2949
|
+
if (z == 123)
|
|
2950
2950
|
--p;
|
|
2951
|
-
else if (
|
|
2951
|
+
else if (z == 125 && p++ == 0 && wi() == 125)
|
|
2952
2952
|
continue;
|
|
2953
2953
|
}
|
|
2954
|
-
switch (
|
|
2954
|
+
switch (O += wt(z), z * p) {
|
|
2955
2955
|
// &
|
|
2956
2956
|
case 38:
|
|
2957
|
-
|
|
2957
|
+
w = g > 0 ? 1 : (O += "\f", -1);
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
u[h++] = (ye(
|
|
2961
|
+
u[h++] = (ye(O) - 1) * w, w = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
we() === 45 && (
|
|
2965
|
+
we() === 45 && (O += st(me())), _ = we(), g = b = ye(U = O += ki(ot())), z++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
2969
|
-
|
|
2969
|
+
S === 45 && ye(O) == 2 && (p = 0);
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, f, u, l, h, g) {
|
|
2975
|
-
for (var b = a - 1,
|
|
2976
|
-
for (var
|
|
2977
|
-
(U = Br(p > 0 ? w
|
|
2975
|
+
for (var b = a - 1, _ = a === 0 ? s : [""], C = Xt(_), S = 0, p = 0, M = 0; S < i; ++S)
|
|
2976
|
+
for (var w = 0, z = qe(e, b + 1, b = pi(p = f[S])), U = e; w < C; ++w)
|
|
2977
|
+
(U = Br(p > 0 ? _[w] + " " + z : ne(z, /&\f/g, _[w]))) && (l[M++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? qt : u, l, h, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function Pi(e, t, r) {
|
|
@@ -3249,8 +3249,8 @@ var $i = function(t, r, i, a) {
|
|
|
3249
3249
|
if (r === "css") {
|
|
3250
3250
|
var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
3251
3251
|
Array.prototype.forEach.call(i, function(p) {
|
|
3252
|
-
var
|
|
3253
|
-
|
|
3252
|
+
var M = p.getAttribute("data-emotion");
|
|
3253
|
+
M.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
3254
3254
|
});
|
|
3255
3255
|
}
|
|
3256
3256
|
var a = t.stylisPlugins || Ii, s = {}, f, u = [];
|
|
@@ -3259,8 +3259,8 @@ var $i = function(t, r, i, a) {
|
|
|
3259
3259
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
3260
3260
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
3261
3261
|
function(p) {
|
|
3262
|
-
for (var
|
|
3263
|
-
s[
|
|
3262
|
+
for (var M = p.getAttribute("data-emotion").split(" "), w = 1; w < M.length; w++)
|
|
3263
|
+
s[M[w]] = !0;
|
|
3264
3264
|
u.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
@@ -3268,14 +3268,14 @@ var $i = function(t, r, i, a) {
|
|
|
3268
3268
|
{
|
|
3269
3269
|
var g, b = [Ei, _i(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})],
|
|
3272
|
-
return Te(Ci(
|
|
3271
|
+
})], _ = Ri(h.concat(a, b)), C = function(M) {
|
|
3272
|
+
return Te(Ci(M), _);
|
|
3273
3273
|
};
|
|
3274
|
-
l = function(
|
|
3275
|
-
g =
|
|
3274
|
+
l = function(M, w, z, U) {
|
|
3275
|
+
g = z, C(M ? M + "{" + w.styles + "}" : w.styles), U && (S.inserted[w.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
var
|
|
3278
|
+
var S = {
|
|
3279
3279
|
key: r,
|
|
3280
3280
|
sheet: new fi({
|
|
3281
3281
|
key: r,
|
|
@@ -3290,7 +3290,7 @@ var $i = function(t, r, i, a) {
|
|
|
3290
3290
|
registered: {},
|
|
3291
3291
|
insert: l
|
|
3292
3292
|
};
|
|
3293
|
-
return
|
|
3293
|
+
return S.sheet.hydrate(u), S;
|
|
3294
3294
|
}, Hi = !0;
|
|
3295
3295
|
function zi(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
@@ -3566,27 +3566,27 @@ var Ki = function(t) {
|
|
|
3566
3566
|
if (s !== void 0 && b.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3567
3567
|
b.push.apply(b, g);
|
|
3568
3568
|
else {
|
|
3569
|
-
var
|
|
3570
|
-
b.push(
|
|
3571
|
-
for (var
|
|
3572
|
-
b.push(g[
|
|
3573
|
-
}
|
|
3574
|
-
var p = Ki(function(
|
|
3575
|
-
var U = h &&
|
|
3576
|
-
if (
|
|
3577
|
-
|
|
3578
|
-
for (var
|
|
3579
|
-
|
|
3580
|
-
|
|
3569
|
+
var _ = g[0];
|
|
3570
|
+
b.push(_[0]);
|
|
3571
|
+
for (var C = g.length, S = 1; S < C; S++)
|
|
3572
|
+
b.push(g[S], _[S]);
|
|
3573
|
+
}
|
|
3574
|
+
var p = Ki(function(M, w, z) {
|
|
3575
|
+
var U = h && M.as || a, Y = "", v = [], x = M;
|
|
3576
|
+
if (M.theme == null) {
|
|
3577
|
+
x = {};
|
|
3578
|
+
for (var O in M)
|
|
3579
|
+
x[O] = M[O];
|
|
3580
|
+
x.theme = $.useContext(Ji);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof
|
|
3583
|
-
var R = qi(b.concat(v),
|
|
3584
|
-
|
|
3582
|
+
typeof M.className == "string" ? Y = zi(w.registered, v, M.className) : M.className != null && (Y = M.className + " ");
|
|
3583
|
+
var R = qi(b.concat(v), w.registered, x);
|
|
3584
|
+
Y += w.key + "-" + R.name, f !== void 0 && (Y += " " + f);
|
|
3585
3585
|
var y = h && u === void 0 ? Cr(U) : l, d = {};
|
|
3586
|
-
for (var P in
|
|
3587
|
-
h && P === "as" || y(P) && (d[P] =
|
|
3588
|
-
return d.className =
|
|
3589
|
-
cache:
|
|
3586
|
+
for (var P in M)
|
|
3587
|
+
h && P === "as" || y(P) && (d[P] = M[P]);
|
|
3588
|
+
return d.className = Y, z && (d.ref = z), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
|
|
3589
|
+
cache: w,
|
|
3590
3590
|
serialized: R,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ $.createElement(U, d));
|
|
@@ -3595,11 +3595,11 @@ var Ki = function(t) {
|
|
|
3595
3595
|
value: function() {
|
|
3596
3596
|
return "." + f;
|
|
3597
3597
|
}
|
|
3598
|
-
}), p.withComponent = function(
|
|
3599
|
-
var
|
|
3600
|
-
shouldForwardProp: Pr(p,
|
|
3598
|
+
}), p.withComponent = function(M, w) {
|
|
3599
|
+
var z = e(M, Ht({}, r, w, {
|
|
3600
|
+
shouldForwardProp: Pr(p, w, !0)
|
|
3601
3601
|
}));
|
|
3602
|
-
return
|
|
3602
|
+
return z.apply(void 0, b);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
3605
|
}, ia = [
|
|
@@ -3837,7 +3837,7 @@ const aa = Ee.div`
|
|
|
3837
3837
|
settings: r,
|
|
3838
3838
|
gap: i = 15
|
|
3839
3839
|
}) => {
|
|
3840
|
-
const [a, s] =
|
|
3840
|
+
const [a, s] = q.useState(1), f = q.useRef(null), u = q.useRef(null);
|
|
3841
3841
|
var l = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3848,10 +3848,10 @@ const aa = Ee.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const h = t.map((b,
|
|
3851
|
+
const h = t.map((b, _) => /* @__PURE__ */ X.jsx(
|
|
3852
3852
|
oa,
|
|
3853
3853
|
{
|
|
3854
|
-
ref:
|
|
3854
|
+
ref: _ === 0 ? u : void 0,
|
|
3855
3855
|
styles: {
|
|
3856
3856
|
paddingRight: `${i}px`,
|
|
3857
3857
|
overflow: "visible",
|
|
@@ -3866,15 +3866,15 @@ const aa = Ee.div`
|
|
|
3866
3866
|
s(l.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const b = (f.current?.offsetWidth || i + 1) - i,
|
|
3870
|
-
let
|
|
3871
|
-
|
|
3869
|
+
const b = (f.current?.offsetWidth || i + 1) - i, _ = u.current?.offsetWidth || 1;
|
|
3870
|
+
let C = Math.floor(b / _);
|
|
3871
|
+
C < 1 ? C = 1 : C > t.length && (C = t.length), console.debug("Slides to show > ", {
|
|
3872
3872
|
container: b,
|
|
3873
|
-
slide:
|
|
3874
|
-
res:
|
|
3875
|
-
}), s(
|
|
3873
|
+
slide: _,
|
|
3874
|
+
res: C
|
|
3875
|
+
}), s(C);
|
|
3876
3876
|
};
|
|
3877
|
-
return
|
|
3877
|
+
return q.useEffect(() => {
|
|
3878
3878
|
g();
|
|
3879
3879
|
}, [f, u]), /* @__PURE__ */ X.jsx(aa, { ref: f, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ X.jsx(li, { ...l, slidesToShow: a, children: h }) });
|
|
3880
3880
|
}, ss = ({
|
|
@@ -3958,10 +3958,10 @@ const aa = Ee.div`
|
|
|
3958
3958
|
]
|
|
3959
3959
|
}
|
|
3960
3960
|
), ls = (e) => Ir(e, []), sa = () => {
|
|
3961
|
-
const [e, t] =
|
|
3961
|
+
const [e, t] = q.useState(
|
|
3962
3962
|
{}
|
|
3963
|
-
), [r, i] =
|
|
3964
|
-
return
|
|
3963
|
+
), [r, i] = q.useState(!1);
|
|
3964
|
+
return q.useEffect(() => {
|
|
3965
3965
|
const a = (u) => {
|
|
3966
3966
|
t({ x: u.clientX, y: u.clientY });
|
|
3967
3967
|
}, s = (u) => {
|
|
@@ -3982,32 +3982,32 @@ const aa = Ee.div`
|
|
|
3982
3982
|
onDragStart: r,
|
|
3983
3983
|
onDragEnd: i
|
|
3984
3984
|
}) => {
|
|
3985
|
-
const a =
|
|
3985
|
+
const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: f, isPointerDown: u } = sa(), l = q.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
|
-
}), h =
|
|
3988
|
-
(
|
|
3987
|
+
}), h = q.useCallback(
|
|
3988
|
+
(S) => {
|
|
3989
3989
|
if (!e || !e.current || !l.current)
|
|
3990
3990
|
return;
|
|
3991
3991
|
const p = { ...l.current };
|
|
3992
|
-
return p.posY =
|
|
3992
|
+
return p.posY = S.y, p.posX = S.x, l.current.startPosX && l.current.posX && (p.distanceX = l.current.startPosX - l.current.posX), l.current.startPosY && l.current.posY && (p.distanceY = -(l.current.startPosY - l.current.posY)), p;
|
|
3993
3993
|
},
|
|
3994
3994
|
[]
|
|
3995
|
-
), g =
|
|
3996
|
-
(
|
|
3997
|
-
|
|
3998
|
-
const p = h({ x:
|
|
3995
|
+
), g = q.useCallback(
|
|
3996
|
+
(S) => {
|
|
3997
|
+
S.preventDefault(), S.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = S.clientY, l.current.startPosX = S.clientX;
|
|
3998
|
+
const p = h({ x: S.clientX, y: S.clientY });
|
|
3999
3999
|
p && (l.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
4001
|
[h]
|
|
4002
|
-
), b =
|
|
4003
|
-
(
|
|
4002
|
+
), b = q.useCallback(
|
|
4003
|
+
(S) => {
|
|
4004
4004
|
l.current.isDragging = !1;
|
|
4005
4005
|
const p = h(f);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
4007
4007
|
},
|
|
4008
4008
|
[h, f]
|
|
4009
|
-
),
|
|
4010
|
-
(
|
|
4009
|
+
), _ = q.useCallback(
|
|
4010
|
+
(S) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
4013
4013
|
l.current.isDragging
|
|
@@ -4017,27 +4017,27 @@ const aa = Ee.div`
|
|
|
4017
4017
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), l.current = p);
|
|
4018
4018
|
},
|
|
4019
4019
|
[h, f]
|
|
4020
|
-
),
|
|
4020
|
+
), C = q.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
|
-
await new Promise((
|
|
4023
|
+
await new Promise((S) => setTimeout(S, 300));
|
|
4024
4024
|
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
4026
|
}, [e?.current, g]);
|
|
4027
|
-
|
|
4027
|
+
q.useEffect(() => {
|
|
4028
|
+
C();
|
|
4029
|
+
}, [C]), q.useEffect(() => {
|
|
4028
4030
|
_();
|
|
4029
|
-
}, [
|
|
4030
|
-
w();
|
|
4031
|
-
}, [f]), Y.useEffect(() => {
|
|
4031
|
+
}, [f]), q.useEffect(() => {
|
|
4032
4032
|
u !== s.current && (s.current = u, u || b());
|
|
4033
4033
|
}, [u, s.current]);
|
|
4034
4034
|
}, us = () => {
|
|
4035
4035
|
const e = (l, h) => {
|
|
4036
4036
|
if (!h) return l;
|
|
4037
4037
|
const g = new URLSearchParams();
|
|
4038
|
-
for (const
|
|
4039
|
-
const
|
|
4040
|
-
Array.isArray(
|
|
4038
|
+
for (const _ in h) {
|
|
4039
|
+
const C = h[_];
|
|
4040
|
+
Array.isArray(C) ? C.forEach((S) => g.append(_, String(S))) : C != null && g.append(_, String(C));
|
|
4041
4041
|
}
|
|
4042
4042
|
const b = g.toString();
|
|
4043
4043
|
return b ? `${l}?${b}` : l;
|
|
@@ -4055,12 +4055,12 @@ const aa = Ee.div`
|
|
|
4055
4055
|
};
|
|
4056
4056
|
}
|
|
4057
4057
|
}, r = async (l, h, g, b) => {
|
|
4058
|
-
const
|
|
4058
|
+
const _ = await fetch(l, {
|
|
4059
4059
|
method: h,
|
|
4060
4060
|
headers: g,
|
|
4061
4061
|
body: b
|
|
4062
4062
|
});
|
|
4063
|
-
return t(
|
|
4063
|
+
return t(_);
|
|
4064
4064
|
};
|
|
4065
4065
|
return {
|
|
4066
4066
|
get: async (l, h, g) => {
|
|
@@ -4092,13 +4092,13 @@ const aa = Ee.div`
|
|
|
4092
4092
|
};
|
|
4093
4093
|
};
|
|
4094
4094
|
function cs(e) {
|
|
4095
|
-
const [t, r] = Ar(!1), i =
|
|
4095
|
+
const [t, r] = Ar(!1), i = q.useMemo(
|
|
4096
4096
|
() => new IntersectionObserver(
|
|
4097
4097
|
([a]) => r(a.isIntersecting)
|
|
4098
4098
|
),
|
|
4099
4099
|
[]
|
|
4100
4100
|
);
|
|
4101
|
-
return
|
|
4101
|
+
return q.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
|
|
4102
4102
|
}
|
|
4103
4103
|
const ua = {
|
|
4104
4104
|
xs: 0,
|
|
@@ -4149,123 +4149,123 @@ function da() {
|
|
|
4149
4149
|
if (Rr) return Ve;
|
|
4150
4150
|
Rr = 1, Object.defineProperty(Ve, "__esModule", { value: !0 }), Ve.parse = f, Ve.serialize = h;
|
|
4151
4151
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
4152
|
-
const
|
|
4152
|
+
const _ = function() {
|
|
4153
4153
|
};
|
|
4154
|
-
return
|
|
4154
|
+
return _.prototype = /* @__PURE__ */ Object.create(null), _;
|
|
4155
4155
|
})();
|
|
4156
|
-
function f(
|
|
4157
|
-
const
|
|
4156
|
+
function f(_, C) {
|
|
4157
|
+
const S = new s(), p = _.length;
|
|
4158
4158
|
if (p < 2)
|
|
4159
|
-
return
|
|
4160
|
-
const
|
|
4161
|
-
let
|
|
4159
|
+
return S;
|
|
4160
|
+
const M = C?.decode || g;
|
|
4161
|
+
let w = 0;
|
|
4162
4162
|
do {
|
|
4163
|
-
const
|
|
4164
|
-
if (
|
|
4163
|
+
const z = _.indexOf("=", w);
|
|
4164
|
+
if (z === -1)
|
|
4165
4165
|
break;
|
|
4166
|
-
const U =
|
|
4167
|
-
if (
|
|
4168
|
-
|
|
4166
|
+
const U = _.indexOf(";", w), Y = U === -1 ? p : U;
|
|
4167
|
+
if (z > Y) {
|
|
4168
|
+
w = _.lastIndexOf(";", z - 1) + 1;
|
|
4169
4169
|
continue;
|
|
4170
4170
|
}
|
|
4171
|
-
const v = u(
|
|
4172
|
-
if (
|
|
4173
|
-
let R = u(
|
|
4174
|
-
const d =
|
|
4175
|
-
|
|
4171
|
+
const v = u(_, w, z), x = l(_, z, v), O = _.slice(v, x);
|
|
4172
|
+
if (S[O] === void 0) {
|
|
4173
|
+
let R = u(_, z + 1, Y), y = l(_, Y, R);
|
|
4174
|
+
const d = M(_.slice(R, y));
|
|
4175
|
+
S[O] = d;
|
|
4176
4176
|
}
|
|
4177
|
-
|
|
4178
|
-
} while (
|
|
4179
|
-
return
|
|
4177
|
+
w = Y + 1;
|
|
4178
|
+
} while (w < p);
|
|
4179
|
+
return S;
|
|
4180
4180
|
}
|
|
4181
|
-
function u(
|
|
4181
|
+
function u(_, C, S) {
|
|
4182
4182
|
do {
|
|
4183
|
-
const p =
|
|
4183
|
+
const p = _.charCodeAt(C);
|
|
4184
4184
|
if (p !== 32 && p !== 9)
|
|
4185
|
-
return
|
|
4186
|
-
} while (++
|
|
4187
|
-
return
|
|
4185
|
+
return C;
|
|
4186
|
+
} while (++C < S);
|
|
4187
|
+
return S;
|
|
4188
4188
|
}
|
|
4189
|
-
function l(
|
|
4190
|
-
for (;
|
|
4191
|
-
const p =
|
|
4189
|
+
function l(_, C, S) {
|
|
4190
|
+
for (; C > S; ) {
|
|
4191
|
+
const p = _.charCodeAt(--C);
|
|
4192
4192
|
if (p !== 32 && p !== 9)
|
|
4193
|
-
return
|
|
4194
|
-
}
|
|
4195
|
-
return
|
|
4196
|
-
}
|
|
4197
|
-
function h(
|
|
4198
|
-
const p =
|
|
4199
|
-
if (!e.test(
|
|
4200
|
-
throw new TypeError(`argument name is invalid: ${
|
|
4201
|
-
const
|
|
4202
|
-
if (!t.test(
|
|
4203
|
-
throw new TypeError(`argument val is invalid: ${
|
|
4204
|
-
let
|
|
4205
|
-
if (!
|
|
4206
|
-
return
|
|
4207
|
-
if (
|
|
4208
|
-
if (!Number.isInteger(
|
|
4209
|
-
throw new TypeError(`option maxAge is invalid: ${
|
|
4210
|
-
|
|
4211
|
-
}
|
|
4212
|
-
if (
|
|
4213
|
-
if (!r.test(
|
|
4214
|
-
throw new TypeError(`option domain is invalid: ${
|
|
4215
|
-
|
|
4216
|
-
}
|
|
4217
|
-
if (
|
|
4218
|
-
if (!i.test(
|
|
4219
|
-
throw new TypeError(`option path is invalid: ${
|
|
4220
|
-
|
|
4221
|
-
}
|
|
4222
|
-
if (
|
|
4223
|
-
if (!b(
|
|
4224
|
-
throw new TypeError(`option expires is invalid: ${
|
|
4225
|
-
|
|
4226
|
-
}
|
|
4227
|
-
if (
|
|
4228
|
-
switch (typeof
|
|
4193
|
+
return C + 1;
|
|
4194
|
+
}
|
|
4195
|
+
return S;
|
|
4196
|
+
}
|
|
4197
|
+
function h(_, C, S) {
|
|
4198
|
+
const p = S?.encode || encodeURIComponent;
|
|
4199
|
+
if (!e.test(_))
|
|
4200
|
+
throw new TypeError(`argument name is invalid: ${_}`);
|
|
4201
|
+
const M = p(C);
|
|
4202
|
+
if (!t.test(M))
|
|
4203
|
+
throw new TypeError(`argument val is invalid: ${C}`);
|
|
4204
|
+
let w = _ + "=" + M;
|
|
4205
|
+
if (!S)
|
|
4206
|
+
return w;
|
|
4207
|
+
if (S.maxAge !== void 0) {
|
|
4208
|
+
if (!Number.isInteger(S.maxAge))
|
|
4209
|
+
throw new TypeError(`option maxAge is invalid: ${S.maxAge}`);
|
|
4210
|
+
w += "; Max-Age=" + S.maxAge;
|
|
4211
|
+
}
|
|
4212
|
+
if (S.domain) {
|
|
4213
|
+
if (!r.test(S.domain))
|
|
4214
|
+
throw new TypeError(`option domain is invalid: ${S.domain}`);
|
|
4215
|
+
w += "; Domain=" + S.domain;
|
|
4216
|
+
}
|
|
4217
|
+
if (S.path) {
|
|
4218
|
+
if (!i.test(S.path))
|
|
4219
|
+
throw new TypeError(`option path is invalid: ${S.path}`);
|
|
4220
|
+
w += "; Path=" + S.path;
|
|
4221
|
+
}
|
|
4222
|
+
if (S.expires) {
|
|
4223
|
+
if (!b(S.expires) || !Number.isFinite(S.expires.valueOf()))
|
|
4224
|
+
throw new TypeError(`option expires is invalid: ${S.expires}`);
|
|
4225
|
+
w += "; Expires=" + S.expires.toUTCString();
|
|
4226
|
+
}
|
|
4227
|
+
if (S.httpOnly && (w += "; HttpOnly"), S.secure && (w += "; Secure"), S.partitioned && (w += "; Partitioned"), S.priority)
|
|
4228
|
+
switch (typeof S.priority == "string" ? S.priority.toLowerCase() : void 0) {
|
|
4229
4229
|
case "low":
|
|
4230
|
-
|
|
4230
|
+
w += "; Priority=Low";
|
|
4231
4231
|
break;
|
|
4232
4232
|
case "medium":
|
|
4233
|
-
|
|
4233
|
+
w += "; Priority=Medium";
|
|
4234
4234
|
break;
|
|
4235
4235
|
case "high":
|
|
4236
|
-
|
|
4236
|
+
w += "; Priority=High";
|
|
4237
4237
|
break;
|
|
4238
4238
|
default:
|
|
4239
|
-
throw new TypeError(`option priority is invalid: ${
|
|
4239
|
+
throw new TypeError(`option priority is invalid: ${S.priority}`);
|
|
4240
4240
|
}
|
|
4241
|
-
if (
|
|
4242
|
-
switch (typeof
|
|
4241
|
+
if (S.sameSite)
|
|
4242
|
+
switch (typeof S.sameSite == "string" ? S.sameSite.toLowerCase() : S.sameSite) {
|
|
4243
4243
|
case !0:
|
|
4244
4244
|
case "strict":
|
|
4245
|
-
|
|
4245
|
+
w += "; SameSite=Strict";
|
|
4246
4246
|
break;
|
|
4247
4247
|
case "lax":
|
|
4248
|
-
|
|
4248
|
+
w += "; SameSite=Lax";
|
|
4249
4249
|
break;
|
|
4250
4250
|
case "none":
|
|
4251
|
-
|
|
4251
|
+
w += "; SameSite=None";
|
|
4252
4252
|
break;
|
|
4253
4253
|
default:
|
|
4254
|
-
throw new TypeError(`option sameSite is invalid: ${
|
|
4254
|
+
throw new TypeError(`option sameSite is invalid: ${S.sameSite}`);
|
|
4255
4255
|
}
|
|
4256
|
-
return
|
|
4256
|
+
return w;
|
|
4257
4257
|
}
|
|
4258
|
-
function g(
|
|
4259
|
-
if (
|
|
4260
|
-
return
|
|
4258
|
+
function g(_) {
|
|
4259
|
+
if (_.indexOf("%") === -1)
|
|
4260
|
+
return _;
|
|
4261
4261
|
try {
|
|
4262
|
-
return decodeURIComponent(
|
|
4262
|
+
return decodeURIComponent(_);
|
|
4263
4263
|
} catch {
|
|
4264
|
-
return
|
|
4264
|
+
return _;
|
|
4265
4265
|
}
|
|
4266
4266
|
}
|
|
4267
|
-
function b(
|
|
4268
|
-
return a.call(
|
|
4267
|
+
function b(_) {
|
|
4268
|
+
return a.call(_) === "[object Date]";
|
|
4269
4269
|
}
|
|
4270
4270
|
return Ve;
|
|
4271
4271
|
}
|
|
@@ -4364,32 +4364,32 @@ function ma(e, t, r, i = {}) {
|
|
|
4364
4364
|
}
|
|
4365
4365
|
function b() {
|
|
4366
4366
|
u = "POP";
|
|
4367
|
-
let
|
|
4368
|
-
h =
|
|
4367
|
+
let M = g(), w = M == null ? null : M - h;
|
|
4368
|
+
h = M, l && l({ action: u, location: p.location, delta: w });
|
|
4369
4369
|
}
|
|
4370
|
-
function
|
|
4370
|
+
function _(M, w) {
|
|
4371
4371
|
u = "PUSH";
|
|
4372
|
-
let
|
|
4372
|
+
let z = Ft(p.location, M, w);
|
|
4373
4373
|
h = g() + 1;
|
|
4374
|
-
let U = Tr(
|
|
4374
|
+
let U = Tr(z, h), Y = p.createHref(z);
|
|
4375
4375
|
try {
|
|
4376
|
-
f.pushState(U, "",
|
|
4376
|
+
f.pushState(U, "", Y);
|
|
4377
4377
|
} catch (v) {
|
|
4378
4378
|
if (v instanceof DOMException && v.name === "DataCloneError")
|
|
4379
4379
|
throw v;
|
|
4380
|
-
a.location.assign(
|
|
4380
|
+
a.location.assign(Y);
|
|
4381
4381
|
}
|
|
4382
4382
|
s && l && l({ action: u, location: p.location, delta: 1 });
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function C(M, w) {
|
|
4385
4385
|
u = "REPLACE";
|
|
4386
|
-
let
|
|
4386
|
+
let z = Ft(p.location, M, w);
|
|
4387
4387
|
h = g();
|
|
4388
|
-
let U = Tr(
|
|
4389
|
-
f.replaceState(U, "",
|
|
4388
|
+
let U = Tr(z, h), Y = p.createHref(z);
|
|
4389
|
+
f.replaceState(U, "", Y), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4390
4390
|
}
|
|
4391
|
-
function
|
|
4392
|
-
return va(
|
|
4391
|
+
function S(M) {
|
|
4392
|
+
return va(M);
|
|
4393
4393
|
}
|
|
4394
4394
|
let p = {
|
|
4395
4395
|
get action() {
|
|
@@ -4398,29 +4398,29 @@ function ma(e, t, r, i = {}) {
|
|
|
4398
4398
|
get location() {
|
|
4399
4399
|
return e(a, f);
|
|
4400
4400
|
},
|
|
4401
|
-
listen(
|
|
4401
|
+
listen(M) {
|
|
4402
4402
|
if (l)
|
|
4403
4403
|
throw new Error("A history only accepts one active listener");
|
|
4404
|
-
return a.addEventListener(_r, b), l =
|
|
4404
|
+
return a.addEventListener(_r, b), l = M, () => {
|
|
4405
4405
|
a.removeEventListener(_r, b), l = null;
|
|
4406
4406
|
};
|
|
4407
4407
|
},
|
|
4408
|
-
createHref(
|
|
4409
|
-
return t(a,
|
|
4408
|
+
createHref(M) {
|
|
4409
|
+
return t(a, M);
|
|
4410
4410
|
},
|
|
4411
|
-
createURL:
|
|
4412
|
-
encodeLocation(
|
|
4413
|
-
let
|
|
4411
|
+
createURL: S,
|
|
4412
|
+
encodeLocation(M) {
|
|
4413
|
+
let w = S(M);
|
|
4414
4414
|
return {
|
|
4415
|
-
pathname:
|
|
4416
|
-
search:
|
|
4417
|
-
hash:
|
|
4415
|
+
pathname: w.pathname,
|
|
4416
|
+
search: w.search,
|
|
4417
|
+
hash: w.hash
|
|
4418
4418
|
};
|
|
4419
4419
|
},
|
|
4420
|
-
push:
|
|
4421
|
-
replace:
|
|
4422
|
-
go(
|
|
4423
|
-
return f.go(
|
|
4420
|
+
push: _,
|
|
4421
|
+
replace: C,
|
|
4422
|
+
go(M) {
|
|
4423
|
+
return f.go(M);
|
|
4424
4424
|
}
|
|
4425
4425
|
};
|
|
4426
4426
|
return p;
|
|
@@ -4533,7 +4533,7 @@ function Ea(e, t, r = !1) {
|
|
|
4533
4533
|
let l = i[u], h = u === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", b = gt(
|
|
4534
4534
|
{ path: l.relativePath, caseSensitive: l.caseSensitive, end: h },
|
|
4535
4535
|
g
|
|
4536
|
-
),
|
|
4536
|
+
), _ = l.route;
|
|
4537
4537
|
if (!b && h && r && !i[i.length - 1].route.index && (b = gt(
|
|
4538
4538
|
{
|
|
4539
4539
|
path: l.relativePath,
|
|
@@ -4550,7 +4550,7 @@ function Ea(e, t, r = !1) {
|
|
|
4550
4550
|
pathnameBase: Da(
|
|
4551
4551
|
xe([s, b.pathnameBase])
|
|
4552
4552
|
),
|
|
4553
|
-
route:
|
|
4553
|
+
route: _
|
|
4554
4554
|
}), b.pathnameBase !== "/" && (s = xe([s, b.pathnameBase]));
|
|
4555
4555
|
}
|
|
4556
4556
|
return f;
|
|
@@ -4566,13 +4566,13 @@ function gt(e, t) {
|
|
|
4566
4566
|
let s = a[0], f = s.replace(/(.)\/+$/, "$1"), u = a.slice(1);
|
|
4567
4567
|
return {
|
|
4568
4568
|
params: i.reduce(
|
|
4569
|
-
(h, { paramName: g, isOptional: b },
|
|
4569
|
+
(h, { paramName: g, isOptional: b }, _) => {
|
|
4570
4570
|
if (g === "*") {
|
|
4571
|
-
let
|
|
4572
|
-
f = s.slice(0, s.length -
|
|
4571
|
+
let S = u[_] || "";
|
|
4572
|
+
f = s.slice(0, s.length - S.length).replace(/(.)\/+$/, "$1");
|
|
4573
4573
|
}
|
|
4574
|
-
const
|
|
4575
|
-
return b && !
|
|
4574
|
+
const C = u[_];
|
|
4575
|
+
return b && !C ? h[g] = void 0 : h[g] = (C || "").replace(/%2F/g, "/"), h;
|
|
4576
4576
|
},
|
|
4577
4577
|
{}
|
|
4578
4578
|
),
|
|
@@ -4661,10 +4661,10 @@ function sn(e, t, r, i = !1) {
|
|
|
4661
4661
|
else {
|
|
4662
4662
|
let b = t.length - 1;
|
|
4663
4663
|
if (!i && f.startsWith("..")) {
|
|
4664
|
-
let
|
|
4665
|
-
for (;
|
|
4666
|
-
|
|
4667
|
-
a.pathname =
|
|
4664
|
+
let _ = f.split("/");
|
|
4665
|
+
for (; _[0] === ".."; )
|
|
4666
|
+
_.shift(), b -= 1;
|
|
4667
|
+
a.pathname = _.join("/");
|
|
4668
4668
|
}
|
|
4669
4669
|
u = b >= 0 ? t[b] : "/";
|
|
4670
4670
|
}
|
|
@@ -4811,50 +4811,50 @@ function dn(e, t, r, i) {
|
|
|
4811
4811
|
);
|
|
4812
4812
|
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(ke), f = s[s.length - 1], u = f ? f.params : {}, l = f ? f.pathname : "/", h = f ? f.pathnameBase : "/", g = f && f.route;
|
|
4813
4813
|
{
|
|
4814
|
-
let
|
|
4814
|
+
let w = g && g.path || "";
|
|
4815
4815
|
hn(
|
|
4816
4816
|
l,
|
|
4817
|
-
!g ||
|
|
4818
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${
|
|
4817
|
+
!g || w.endsWith("*") || w.endsWith("*?"),
|
|
4818
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${w}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
4819
4819
|
|
|
4820
|
-
Please change the parent <Route path="${
|
|
4820
|
+
Please change the parent <Route path="${w}"> to <Route path="${w === "/" ? "*" : `${w}/*`}">.`
|
|
4821
4821
|
);
|
|
4822
4822
|
}
|
|
4823
|
-
let b = Ce(),
|
|
4823
|
+
let b = Ce(), _;
|
|
4824
4824
|
if (t) {
|
|
4825
|
-
let
|
|
4825
|
+
let w = typeof t == "string" ? Me(t) : t;
|
|
4826
4826
|
ae(
|
|
4827
|
-
h === "/" ||
|
|
4828
|
-
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${
|
|
4829
|
-
),
|
|
4827
|
+
h === "/" || w.pathname?.startsWith(h),
|
|
4828
|
+
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${w.pathname}" was given in the \`location\` prop.`
|
|
4829
|
+
), _ = w;
|
|
4830
4830
|
} else
|
|
4831
|
-
|
|
4832
|
-
let
|
|
4831
|
+
_ = b;
|
|
4832
|
+
let C = _.pathname || "/", S = C;
|
|
4833
4833
|
if (h !== "/") {
|
|
4834
|
-
let
|
|
4835
|
-
|
|
4834
|
+
let w = h.replace(/^\//, "").split("/");
|
|
4835
|
+
S = "/" + C.replace(/^\//, "").split("/").slice(w.length).join("/");
|
|
4836
4836
|
}
|
|
4837
|
-
let p = rn(e, { pathname:
|
|
4837
|
+
let p = rn(e, { pathname: S });
|
|
4838
4838
|
ge(
|
|
4839
4839
|
g || p != null,
|
|
4840
|
-
`No routes matched location "${
|
|
4840
|
+
`No routes matched location "${_.pathname}${_.search}${_.hash}" `
|
|
4841
4841
|
), ge(
|
|
4842
4842
|
p == null || p[p.length - 1].route.element !== void 0 || p[p.length - 1].route.Component !== void 0 || p[p.length - 1].route.lazy !== void 0,
|
|
4843
|
-
`Matched leaf route at location "${
|
|
4843
|
+
`Matched leaf route at location "${_.pathname}${_.search}${_.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
4844
4844
|
);
|
|
4845
|
-
let
|
|
4845
|
+
let M = Ba(
|
|
4846
4846
|
p && p.map(
|
|
4847
|
-
(
|
|
4848
|
-
params: Object.assign({}, u,
|
|
4847
|
+
(w) => Object.assign({}, w, {
|
|
4848
|
+
params: Object.assign({}, u, w.params),
|
|
4849
4849
|
pathname: xe([
|
|
4850
4850
|
h,
|
|
4851
4851
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4852
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4852
|
+
a.encodeLocation ? a.encodeLocation(w.pathname).pathname : w.pathname
|
|
4853
4853
|
]),
|
|
4854
|
-
pathnameBase:
|
|
4854
|
+
pathnameBase: w.pathnameBase === "/" ? h : xe([
|
|
4855
4855
|
h,
|
|
4856
4856
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4857
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4857
|
+
a.encodeLocation ? a.encodeLocation(w.pathnameBase).pathname : w.pathnameBase
|
|
4858
4858
|
])
|
|
4859
4859
|
})
|
|
4860
4860
|
),
|
|
@@ -4862,7 +4862,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
4862
4862
|
r,
|
|
4863
4863
|
i
|
|
4864
4864
|
);
|
|
4865
|
-
return t &&
|
|
4865
|
+
return t && M ? /* @__PURE__ */ $.createElement(
|
|
4866
4866
|
Ze.Provider,
|
|
4867
4867
|
{
|
|
4868
4868
|
value: {
|
|
@@ -4872,14 +4872,14 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
4872
4872
|
hash: "",
|
|
4873
4873
|
state: null,
|
|
4874
4874
|
key: "default",
|
|
4875
|
-
...
|
|
4875
|
+
..._
|
|
4876
4876
|
},
|
|
4877
4877
|
navigationType: "POP"
|
|
4878
4878
|
/* Pop */
|
|
4879
4879
|
}
|
|
4880
4880
|
},
|
|
4881
|
-
|
|
4882
|
-
) :
|
|
4881
|
+
M
|
|
4882
|
+
) : M;
|
|
4883
4883
|
}
|
|
4884
4884
|
function Ua() {
|
|
4885
4885
|
let e = Za(), t = Ia(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, f = null;
|
|
@@ -4962,23 +4962,23 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4962
4962
|
for (let l = 0; l < a.length; l++) {
|
|
4963
4963
|
let h = a[l];
|
|
4964
4964
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (u = l), h.route.id) {
|
|
4965
|
-
let { loaderData: g, errors: b } = r,
|
|
4966
|
-
if (h.route.lazy ||
|
|
4965
|
+
let { loaderData: g, errors: b } = r, _ = h.route.loader && !g.hasOwnProperty(h.route.id) && (!b || b[h.route.id] === void 0);
|
|
4966
|
+
if (h.route.lazy || _) {
|
|
4967
4967
|
f = !0, u >= 0 ? a = a.slice(0, u + 1) : a = [a[0]];
|
|
4968
4968
|
break;
|
|
4969
4969
|
}
|
|
4970
4970
|
}
|
|
4971
4971
|
}
|
|
4972
4972
|
return a.reduceRight((l, h, g) => {
|
|
4973
|
-
let b,
|
|
4974
|
-
r && (b = s && h.route.id ? s[h.route.id] : void 0,
|
|
4973
|
+
let b, _ = !1, C = null, S = null;
|
|
4974
|
+
r && (b = s && h.route.id ? s[h.route.id] : void 0, C = h.route.errorElement || Va, f && (u < 0 && g === 0 ? (hn(
|
|
4975
4975
|
"route-fallback",
|
|
4976
4976
|
!1,
|
|
4977
4977
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4978
|
-
),
|
|
4979
|
-
let p = t.concat(a.slice(0, g + 1)),
|
|
4980
|
-
let
|
|
4981
|
-
return b ?
|
|
4978
|
+
), _ = !0, S = null) : u === g && (_ = !0, S = h.route.hydrateFallbackElement || null)));
|
|
4979
|
+
let p = t.concat(a.slice(0, g + 1)), M = () => {
|
|
4980
|
+
let w;
|
|
4981
|
+
return b ? w = C : _ ? w = S : h.route.Component ? w = /* @__PURE__ */ $.createElement(h.route.Component, null) : h.route.element ? w = h.route.element : w = l, /* @__PURE__ */ $.createElement(
|
|
4982
4982
|
qa,
|
|
4983
4983
|
{
|
|
4984
4984
|
match: h,
|
|
@@ -4987,7 +4987,7 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4987
4987
|
matches: p,
|
|
4988
4988
|
isDataRoute: r != null
|
|
4989
4989
|
},
|
|
4990
|
-
children:
|
|
4990
|
+
children: w
|
|
4991
4991
|
}
|
|
4992
4992
|
);
|
|
4993
4993
|
};
|
|
@@ -4996,12 +4996,12 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4996
4996
|
{
|
|
4997
4997
|
location: r.location,
|
|
4998
4998
|
revalidation: r.revalidation,
|
|
4999
|
-
component:
|
|
4999
|
+
component: C,
|
|
5000
5000
|
error: b,
|
|
5001
|
-
children:
|
|
5001
|
+
children: M(),
|
|
5002
5002
|
routeContext: { outlet: null, matches: p, isDataRoute: !0 }
|
|
5003
5003
|
}
|
|
5004
|
-
) :
|
|
5004
|
+
) : M();
|
|
5005
5005
|
}, null);
|
|
5006
5006
|
}
|
|
5007
5007
|
function Jt(e) {
|
|
@@ -5104,24 +5104,24 @@ function to({
|
|
|
5104
5104
|
search: h = "",
|
|
5105
5105
|
hash: g = "",
|
|
5106
5106
|
state: b = null,
|
|
5107
|
-
key:
|
|
5108
|
-
} = r,
|
|
5109
|
-
let
|
|
5110
|
-
return
|
|
5107
|
+
key: _ = "default"
|
|
5108
|
+
} = r, C = $.useMemo(() => {
|
|
5109
|
+
let S = Oe(l, f);
|
|
5110
|
+
return S == null ? null : {
|
|
5111
5111
|
location: {
|
|
5112
|
-
pathname:
|
|
5112
|
+
pathname: S,
|
|
5113
5113
|
search: h,
|
|
5114
5114
|
hash: g,
|
|
5115
5115
|
state: b,
|
|
5116
|
-
key:
|
|
5116
|
+
key: _
|
|
5117
5117
|
},
|
|
5118
5118
|
navigationType: i
|
|
5119
5119
|
};
|
|
5120
|
-
}, [f, l, h, g, b,
|
|
5120
|
+
}, [f, l, h, g, b, _, i]);
|
|
5121
5121
|
return ge(
|
|
5122
|
-
|
|
5122
|
+
C != null,
|
|
5123
5123
|
`<Router basename="${f}"> is not able to match the URL "${l}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5124
|
-
),
|
|
5124
|
+
), C == null ? null : /* @__PURE__ */ $.createElement(Se.Provider, { value: u }, /* @__PURE__ */ $.createElement(Ze.Provider, { children: t, value: C }));
|
|
5125
5125
|
}
|
|
5126
5126
|
function ro({
|
|
5127
5127
|
children: e,
|
|
@@ -5252,8 +5252,8 @@ function fo(e, t) {
|
|
|
5252
5252
|
if (i = l ? Oe(l, t) : null, r = e.getAttribute("formmethod") || u.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(u.getAttribute("enctype")) || ct, s = new FormData(u, e), !uo()) {
|
|
5253
5253
|
let { name: h, type: g, value: b } = e;
|
|
5254
5254
|
if (g === "image") {
|
|
5255
|
-
let
|
|
5256
|
-
s.append(`${
|
|
5255
|
+
let _ = h ? `${h}.` : "";
|
|
5256
|
+
s.append(`${_}x`, "0"), s.append(`${_}y`, "0");
|
|
5257
5257
|
} else h && s.append(h, b);
|
|
5258
5258
|
}
|
|
5259
5259
|
} else {
|
|
@@ -5399,16 +5399,16 @@ function vn() {
|
|
|
5399
5399
|
), e;
|
|
5400
5400
|
}
|
|
5401
5401
|
function Oo(e, t) {
|
|
5402
|
-
let r = $.useContext(er), [i, a] = $.useState(!1), [s, f] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: b } = t,
|
|
5402
|
+
let r = $.useContext(er), [i, a] = $.useState(!1), [s, f] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: b } = t, _ = $.useRef(null);
|
|
5403
5403
|
$.useEffect(() => {
|
|
5404
5404
|
if (e === "render" && f(!0), e === "viewport") {
|
|
5405
|
-
let p = (
|
|
5406
|
-
|
|
5407
|
-
f(
|
|
5405
|
+
let p = (w) => {
|
|
5406
|
+
w.forEach((z) => {
|
|
5407
|
+
f(z.isIntersecting);
|
|
5408
5408
|
});
|
|
5409
|
-
},
|
|
5410
|
-
return
|
|
5411
|
-
|
|
5409
|
+
}, M = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5410
|
+
return _.current && M.observe(_.current), () => {
|
|
5411
|
+
M.disconnect();
|
|
5412
5412
|
};
|
|
5413
5413
|
}
|
|
5414
5414
|
}, [e]), $.useEffect(() => {
|
|
@@ -5421,22 +5421,22 @@ function Oo(e, t) {
|
|
|
5421
5421
|
};
|
|
5422
5422
|
}
|
|
5423
5423
|
}, [i]);
|
|
5424
|
-
let
|
|
5424
|
+
let C = () => {
|
|
5425
5425
|
a(!0);
|
|
5426
|
-
},
|
|
5426
|
+
}, S = () => {
|
|
5427
5427
|
a(!1), f(!1);
|
|
5428
5428
|
};
|
|
5429
|
-
return r ? e !== "intent" ? [s,
|
|
5429
|
+
return r ? e !== "intent" ? [s, _, {}] : [
|
|
5430
5430
|
s,
|
|
5431
|
-
|
|
5431
|
+
_,
|
|
5432
5432
|
{
|
|
5433
|
-
onFocus: Ye(u,
|
|
5434
|
-
onBlur: Ye(l,
|
|
5435
|
-
onMouseEnter: Ye(h,
|
|
5436
|
-
onMouseLeave: Ye(g,
|
|
5437
|
-
onTouchStart: Ye(b,
|
|
5433
|
+
onFocus: Ye(u, C),
|
|
5434
|
+
onBlur: Ye(l, S),
|
|
5435
|
+
onMouseEnter: Ye(h, C),
|
|
5436
|
+
onMouseLeave: Ye(g, S),
|
|
5437
|
+
onTouchStart: Ye(b, C)
|
|
5438
5438
|
}
|
|
5439
|
-
] : [!1,
|
|
5439
|
+
] : [!1, _, {}];
|
|
5440
5440
|
}
|
|
5441
5441
|
function Ye(e, t) {
|
|
5442
5442
|
return (r) => {
|
|
@@ -5494,17 +5494,17 @@ function Po({
|
|
|
5494
5494
|
), b = $.useMemo(() => {
|
|
5495
5495
|
if (e === i.pathname + i.search + i.hash)
|
|
5496
5496
|
return [];
|
|
5497
|
-
let
|
|
5498
|
-
if (t.forEach((
|
|
5499
|
-
let
|
|
5500
|
-
!
|
|
5501
|
-
}),
|
|
5497
|
+
let S = /* @__PURE__ */ new Set(), p = !1;
|
|
5498
|
+
if (t.forEach((w) => {
|
|
5499
|
+
let z = a.routes[w.route.id];
|
|
5500
|
+
!z || !z.hasLoader || (!h.some((U) => U.route.id === w.route.id) && w.route.id in u && s[w.route.id]?.shouldRevalidate || z.hasClientLoader ? p = !0 : S.add(w.route.id));
|
|
5501
|
+
}), S.size === 0)
|
|
5502
5502
|
return [];
|
|
5503
|
-
let
|
|
5504
|
-
return p &&
|
|
5503
|
+
let M = So(e, f);
|
|
5504
|
+
return p && S.size > 0 && M.searchParams.set(
|
|
5505
5505
|
"_routes",
|
|
5506
|
-
t.filter((
|
|
5507
|
-
), [
|
|
5506
|
+
t.filter((w) => S.has(w.route.id)).map((w) => w.route.id).join(",")
|
|
5507
|
+
), [M.pathname + M.search];
|
|
5508
5508
|
}, [
|
|
5509
5509
|
f,
|
|
5510
5510
|
u,
|
|
@@ -5514,14 +5514,14 @@ function Po({
|
|
|
5514
5514
|
t,
|
|
5515
5515
|
e,
|
|
5516
5516
|
s
|
|
5517
|
-
]),
|
|
5517
|
+
]), _ = $.useMemo(
|
|
5518
5518
|
() => vo(g, a),
|
|
5519
5519
|
[g, a]
|
|
5520
|
-
),
|
|
5521
|
-
return /* @__PURE__ */ $.createElement($.Fragment, null, b.map((
|
|
5520
|
+
), C = Co(g);
|
|
5521
|
+
return /* @__PURE__ */ $.createElement($.Fragment, null, b.map((S) => /* @__PURE__ */ $.createElement("link", { key: S, rel: "prefetch", as: "fetch", href: S, ...r })), _.map((S) => /* @__PURE__ */ $.createElement("link", { key: S, rel: "modulepreload", href: S, ...r })), C.map(({ key: S, link: p }) => (
|
|
5522
5522
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5523
5523
|
// already with their own props
|
|
5524
|
-
/* @__PURE__ */ $.createElement("link", { key:
|
|
5524
|
+
/* @__PURE__ */ $.createElement("link", { key: S, ...p })
|
|
5525
5525
|
)));
|
|
5526
5526
|
}
|
|
5527
5527
|
function Eo(...e) {
|
|
@@ -5576,23 +5576,23 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5576
5576
|
to: h,
|
|
5577
5577
|
preventScrollReset: g,
|
|
5578
5578
|
viewTransition: b,
|
|
5579
|
-
...
|
|
5580
|
-
},
|
|
5581
|
-
let { basename:
|
|
5582
|
-
if (typeof h == "string" && p && (
|
|
5579
|
+
..._
|
|
5580
|
+
}, C) {
|
|
5581
|
+
let { basename: S } = $.useContext(Se), p = typeof h == "string" && yn.test(h), M, w = !1;
|
|
5582
|
+
if (typeof h == "string" && p && (M = h, gn))
|
|
5583
5583
|
try {
|
|
5584
|
-
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), P = Oe(d.pathname,
|
|
5585
|
-
d.origin === y.origin && P != null ? h = P + d.search + d.hash :
|
|
5584
|
+
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), P = Oe(d.pathname, S);
|
|
5585
|
+
d.origin === y.origin && P != null ? h = P + d.search + d.hash : w = !0;
|
|
5586
5586
|
} catch {
|
|
5587
5587
|
ge(
|
|
5588
5588
|
!1,
|
|
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
|
|
5592
|
+
let z = Na(h, { relative: a }), [U, Y, v] = Oo(
|
|
5593
5593
|
i,
|
|
5594
|
-
|
|
5595
|
-
),
|
|
5594
|
+
_
|
|
5595
|
+
), x = Lo(h, {
|
|
5596
5596
|
replace: f,
|
|
5597
5597
|
state: u,
|
|
5598
5598
|
target: l,
|
|
@@ -5600,25 +5600,25 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5600
5600
|
relative: a,
|
|
5601
5601
|
viewTransition: b
|
|
5602
5602
|
});
|
|
5603
|
-
function
|
|
5604
|
-
t && t(y), y.defaultPrevented ||
|
|
5603
|
+
function O(y) {
|
|
5604
|
+
t && t(y), y.defaultPrevented || x(y);
|
|
5605
5605
|
}
|
|
5606
5606
|
let R = (
|
|
5607
5607
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
5608
5608
|
/* @__PURE__ */ $.createElement(
|
|
5609
5609
|
"a",
|
|
5610
5610
|
{
|
|
5611
|
-
...
|
|
5611
|
+
..._,
|
|
5612
5612
|
...v,
|
|
5613
|
-
href:
|
|
5614
|
-
onClick:
|
|
5615
|
-
ref: Eo(
|
|
5613
|
+
href: M || z,
|
|
5614
|
+
onClick: w || s ? t : O,
|
|
5615
|
+
ref: Eo(C, Y),
|
|
5616
5616
|
target: l,
|
|
5617
5617
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
5618
5618
|
}
|
|
5619
5619
|
)
|
|
5620
5620
|
);
|
|
5621
|
-
return U && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, R, /* @__PURE__ */ $.createElement(ko, { page:
|
|
5621
|
+
return U && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, R, /* @__PURE__ */ $.createElement(ko, { page: z })) : R;
|
|
5622
5622
|
}
|
|
5623
5623
|
);
|
|
5624
5624
|
bn.displayName = "Link";
|
|
@@ -5634,23 +5634,23 @@ var _o = $.forwardRef(
|
|
|
5634
5634
|
children: l,
|
|
5635
5635
|
...h
|
|
5636
5636
|
}, g) {
|
|
5637
|
-
let b = et(f, { relative: h.relative }),
|
|
5637
|
+
let b = et(f, { relative: h.relative }), _ = Ce(), C = $.useContext(Ot), { navigator: S, basename: p } = $.useContext(Se), M = C != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5638
5638
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5639
|
-
Ho(b) && u === !0,
|
|
5640
|
-
r || (
|
|
5641
|
-
const
|
|
5642
|
-
let v =
|
|
5639
|
+
Ho(b) && u === !0, w = S.encodeLocation ? S.encodeLocation(b).pathname : b.pathname, z = _.pathname, U = C && C.navigation && C.navigation.location ? C.navigation.location.pathname : null;
|
|
5640
|
+
r || (z = z.toLowerCase(), U = U ? U.toLowerCase() : null, w = w.toLowerCase()), U && p && (U = Oe(U, p) || U);
|
|
5641
|
+
const Y = w !== "/" && w.endsWith("/") ? w.length - 1 : w.length;
|
|
5642
|
+
let v = z === w || !a && z.startsWith(w) && z.charAt(Y) === "/", x = U != null && (U === w || !a && U.startsWith(w) && U.charAt(w.length) === "/"), O = {
|
|
5643
5643
|
isActive: v,
|
|
5644
|
-
isPending:
|
|
5645
|
-
isTransitioning:
|
|
5644
|
+
isPending: x,
|
|
5645
|
+
isTransitioning: M
|
|
5646
5646
|
}, R = v ? t : void 0, y;
|
|
5647
|
-
typeof i == "function" ? y = i(
|
|
5647
|
+
typeof i == "function" ? y = i(O) : y = [
|
|
5648
5648
|
i,
|
|
5649
5649
|
v ? "active" : null,
|
|
5650
|
-
|
|
5651
|
-
|
|
5650
|
+
x ? "pending" : null,
|
|
5651
|
+
M ? "transitioning" : null
|
|
5652
5652
|
].filter(Boolean).join(" ");
|
|
5653
|
-
let d = typeof s == "function" ? s(
|
|
5653
|
+
let d = typeof s == "function" ? s(O) : s;
|
|
5654
5654
|
return /* @__PURE__ */ $.createElement(
|
|
5655
5655
|
bn,
|
|
5656
5656
|
{
|
|
@@ -5662,7 +5662,7 @@ var _o = $.forwardRef(
|
|
|
5662
5662
|
to: f,
|
|
5663
5663
|
viewTransition: u
|
|
5664
5664
|
},
|
|
5665
|
-
typeof l == "function" ? l(
|
|
5665
|
+
typeof l == "function" ? l(O) : l
|
|
5666
5666
|
);
|
|
5667
5667
|
}
|
|
5668
5668
|
);
|
|
@@ -5681,13 +5681,13 @@ var To = $.forwardRef(
|
|
|
5681
5681
|
relative: h,
|
|
5682
5682
|
preventScrollReset: g,
|
|
5683
5683
|
viewTransition: b,
|
|
5684
|
-
...
|
|
5685
|
-
},
|
|
5686
|
-
let
|
|
5684
|
+
..._
|
|
5685
|
+
}, C) => {
|
|
5686
|
+
let S = Io(), p = Ao(u, { relative: h }), M = f.toLowerCase() === "get" ? "get" : "post", w = typeof u == "string" && yn.test(u), z = (U) => {
|
|
5687
5687
|
if (l && l(U), U.defaultPrevented) return;
|
|
5688
5688
|
U.preventDefault();
|
|
5689
|
-
let
|
|
5690
|
-
|
|
5689
|
+
let Y = U.nativeEvent.submitter, v = Y?.getAttribute("formmethod") || f;
|
|
5690
|
+
S(Y || U.currentTarget, {
|
|
5691
5691
|
fetcherKey: t,
|
|
5692
5692
|
method: v,
|
|
5693
5693
|
navigate: r,
|
|
@@ -5701,12 +5701,12 @@ var To = $.forwardRef(
|
|
|
5701
5701
|
return /* @__PURE__ */ $.createElement(
|
|
5702
5702
|
"form",
|
|
5703
5703
|
{
|
|
5704
|
-
ref:
|
|
5705
|
-
method:
|
|
5704
|
+
ref: C,
|
|
5705
|
+
method: M,
|
|
5706
5706
|
action: p,
|
|
5707
|
-
onSubmit: i ? l :
|
|
5708
|
-
...
|
|
5709
|
-
"data-discover": !
|
|
5707
|
+
onSubmit: i ? l : z,
|
|
5708
|
+
..._,
|
|
5709
|
+
"data-discover": !w && e === "render" ? "true" : void 0
|
|
5710
5710
|
}
|
|
5711
5711
|
);
|
|
5712
5712
|
}
|
|
@@ -5855,7 +5855,7 @@ function Ho(e, t = {}) {
|
|
|
5855
5855
|
[
|
|
5856
5856
|
...wo
|
|
5857
5857
|
];
|
|
5858
|
-
const Sn =
|
|
5858
|
+
const Sn = q.createContext({
|
|
5859
5859
|
history: [],
|
|
5860
5860
|
addToHistory: () => {
|
|
5861
5861
|
},
|
|
@@ -5869,8 +5869,8 @@ const Sn = Y.createContext({
|
|
|
5869
5869
|
), i = ve(
|
|
5870
5870
|
(g) => {
|
|
5871
5871
|
const b = {};
|
|
5872
|
-
return g.forEach((
|
|
5873
|
-
b[
|
|
5872
|
+
return g.forEach((_) => {
|
|
5873
|
+
b[_] = e.get(_);
|
|
5874
5874
|
}), b;
|
|
5875
5875
|
},
|
|
5876
5876
|
[e]
|
|
@@ -5889,8 +5889,8 @@ const Sn = Y.createContext({
|
|
|
5889
5889
|
), f = ve(
|
|
5890
5890
|
(g) => {
|
|
5891
5891
|
const b = new URLSearchParams(e);
|
|
5892
|
-
g.forEach((
|
|
5893
|
-
b.delete(String(
|
|
5892
|
+
g.forEach((_) => {
|
|
5893
|
+
b.delete(String(_));
|
|
5894
5894
|
}), t(b);
|
|
5895
5895
|
},
|
|
5896
5896
|
[e, t]
|
|
@@ -5898,19 +5898,19 @@ const Sn = Y.createContext({
|
|
|
5898
5898
|
t({});
|
|
5899
5899
|
}, [e, t]), l = ve(
|
|
5900
5900
|
(g, b) => {
|
|
5901
|
-
t((
|
|
5902
|
-
const
|
|
5903
|
-
return b == null ?
|
|
5901
|
+
t((_) => {
|
|
5902
|
+
const C = new URLSearchParams(_);
|
|
5903
|
+
return b == null ? C.delete(g) : C.set(g, String(b)), C;
|
|
5904
5904
|
});
|
|
5905
5905
|
},
|
|
5906
5906
|
[t]
|
|
5907
5907
|
), h = ve(
|
|
5908
5908
|
(g) => {
|
|
5909
5909
|
t((b) => {
|
|
5910
|
-
const
|
|
5911
|
-
return Object.entries(g).forEach(([
|
|
5912
|
-
|
|
5913
|
-
}),
|
|
5910
|
+
const _ = new URLSearchParams(b);
|
|
5911
|
+
return Object.entries(g).forEach(([C, S]) => {
|
|
5912
|
+
S == null ? _.delete(C) : _.set(C, String(S));
|
|
5913
|
+
}), _;
|
|
5914
5914
|
});
|
|
5915
5915
|
},
|
|
5916
5916
|
[t]
|
|
@@ -5931,19 +5931,19 @@ const Sn = Y.createContext({
|
|
|
5931
5931
|
return l.params && Object.entries(l.params).forEach(([g, b]) => {
|
|
5932
5932
|
b != null && h.searchParams.set(g, String(b));
|
|
5933
5933
|
}), h.pathname + h.search;
|
|
5934
|
-
}, s =
|
|
5934
|
+
}, s = q.useCallback(
|
|
5935
5935
|
(l) => {
|
|
5936
5936
|
const h = a(l);
|
|
5937
5937
|
l.addToHistory !== !1 ? (e(h), i.addToHistory(h)) : (e(h, { replace: !0 }), i.history.length > 0 && (i.popFromHistory(1), i.addToHistory(h)));
|
|
5938
5938
|
},
|
|
5939
5939
|
[e, i.history]
|
|
5940
|
-
), f =
|
|
5940
|
+
), f = q.useCallback(
|
|
5941
5941
|
(l) => {
|
|
5942
5942
|
let h = l || 1;
|
|
5943
5943
|
i.history.length < h && (h = i.history.length), e(-h), i.popFromHistory(h);
|
|
5944
5944
|
},
|
|
5945
5945
|
[e]
|
|
5946
|
-
), u =
|
|
5946
|
+
), u = q.useCallback(() => {
|
|
5947
5947
|
i.replaceHistory([]);
|
|
5948
5948
|
}, [e]);
|
|
5949
5949
|
return {
|
|
@@ -5959,14 +5959,14 @@ const Sn = Y.createContext({
|
|
|
5959
5959
|
routes: t,
|
|
5960
5960
|
children: r
|
|
5961
5961
|
}) => {
|
|
5962
|
-
const i =
|
|
5962
|
+
const i = q.useRef([]), [a, s] = q.useState([]), f = q.useCallback((b) => {
|
|
5963
5963
|
i.current = b, s(b);
|
|
5964
|
-
}, []), u = (b,
|
|
5965
|
-
let
|
|
5966
|
-
|
|
5964
|
+
}, []), u = (b, _ = !1) => {
|
|
5965
|
+
let C = [...i.current];
|
|
5966
|
+
_ && (C = C.slice(0, C.length - 1)), C = [...C, b], f(C);
|
|
5967
5967
|
}, l = (b) => {
|
|
5968
|
-
let
|
|
5969
|
-
return i.current.length === 0 || i.current.length < b ? "/" : (
|
|
5968
|
+
let _ = "", C = [];
|
|
5969
|
+
return i.current.length === 0 || i.current.length < b ? "/" : (C = i.current.slice(0, i.current.length - b), _ = C[C.length - 1], f(C), _);
|
|
5970
5970
|
}, h = (b) => {
|
|
5971
5971
|
f(b);
|
|
5972
5972
|
}, g = t.map((b) => /* @__PURE__ */ X.jsx(pn, { path: b.path, element: b.render }));
|
|
@@ -5985,7 +5985,7 @@ const Sn = Y.createContext({
|
|
|
5985
5985
|
] }) })
|
|
5986
5986
|
}
|
|
5987
5987
|
);
|
|
5988
|
-
}, xn =
|
|
5988
|
+
}, xn = q.createContext(
|
|
5989
5989
|
{
|
|
5990
5990
|
visibleItems: [],
|
|
5991
5991
|
isItemVisible: () => !1,
|
|
@@ -5995,14 +5995,14 @@ const Sn = Y.createContext({
|
|
|
5995
5995
|
}
|
|
5996
5996
|
}
|
|
5997
5997
|
), ms = ({ children: e }) => {
|
|
5998
|
-
const t =
|
|
5998
|
+
const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((l) => {
|
|
5999
5999
|
t.current = l, i(l);
|
|
6000
|
-
}, []), s =
|
|
6000
|
+
}, []), s = q.useCallback((l) => t.current.some((h) => h === l), []), f = q.useCallback(
|
|
6001
6001
|
(l) => {
|
|
6002
6002
|
s(l) || a([...t.current, l]);
|
|
6003
6003
|
},
|
|
6004
6004
|
[s, a]
|
|
6005
|
-
), u =
|
|
6005
|
+
), u = q.useCallback(
|
|
6006
6006
|
(l) => {
|
|
6007
6007
|
s(l) && a(
|
|
6008
6008
|
t.current.filter((g) => g !== l)
|
|
@@ -6039,21 +6039,21 @@ const Sn = Y.createContext({
|
|
|
6039
6039
|
onCloseDrawer: t,
|
|
6040
6040
|
drawerCloseOffset: r = 15
|
|
6041
6041
|
}) => {
|
|
6042
|
-
const { isItemVisible: i } = Ct(), [a, s] =
|
|
6042
|
+
const { isItemVisible: i } = Ct(), [a, s] = q.useState({
|
|
6043
6043
|
isDragging: !1
|
|
6044
|
-
}), f =
|
|
6045
|
-
s(
|
|
6046
|
-
},
|
|
6047
|
-
s(
|
|
6044
|
+
}), f = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [h, g] = q.useState(0), b = (S) => {
|
|
6045
|
+
s(S);
|
|
6046
|
+
}, _ = (S) => {
|
|
6047
|
+
s(S), g(0);
|
|
6048
6048
|
};
|
|
6049
6049
|
return la({
|
|
6050
6050
|
ref: l,
|
|
6051
|
-
onDrag: (
|
|
6052
|
-
s(
|
|
6051
|
+
onDrag: (S) => {
|
|
6052
|
+
s(S);
|
|
6053
6053
|
const p = u.current?.clientHeight || 0;
|
|
6054
|
-
|
|
6054
|
+
S.distanceY && (g(S.distanceY < 0 ? 0 : -S.distanceY), S.distanceY >= p - r && (t?.(), _(S)));
|
|
6055
6055
|
},
|
|
6056
|
-
onDragEnd:
|
|
6056
|
+
onDragEnd: _,
|
|
6057
6057
|
onDragStart: b
|
|
6058
6058
|
}), {
|
|
6059
6059
|
isVisible: i(e),
|
|
@@ -6144,110 +6144,107 @@ const Sn = Y.createContext({
|
|
|
6144
6144
|
onChange: r,
|
|
6145
6145
|
configurations: i
|
|
6146
6146
|
}) => {
|
|
6147
|
-
const a =
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
return k;
|
|
6159
|
-
}, u = (w, _) => w === "change" && _ || w === "submit", l = async (w, _) => {
|
|
6147
|
+
const a = q.useRef(null), s = q.useRef(!1), f = (C) => ({
|
|
6148
|
+
name: C.name,
|
|
6149
|
+
value: C.value
|
|
6150
|
+
}), u = (C) => {
|
|
6151
|
+
const S = Array.from(C.currentTarget.elements).filter(
|
|
6152
|
+
(M) => !!M.getAttribute("name")
|
|
6153
|
+
), p = [];
|
|
6154
|
+
for (const M of S)
|
|
6155
|
+
p.push(f(M));
|
|
6156
|
+
return p;
|
|
6157
|
+
}, l = (C, S) => C === "change" && S || C === "submit", h = async (C, S) => {
|
|
6160
6158
|
try {
|
|
6161
|
-
const
|
|
6162
|
-
(
|
|
6159
|
+
const w = (i || []).find(
|
|
6160
|
+
(z) => z.name === C.name
|
|
6163
6161
|
);
|
|
6164
|
-
if (!
|
|
6165
|
-
return
|
|
6166
|
-
var
|
|
6167
|
-
if (
|
|
6168
|
-
|
|
6169
|
-
|
|
6162
|
+
if (!w)
|
|
6163
|
+
return C;
|
|
6164
|
+
var p = C.value, M = C.value;
|
|
6165
|
+
if (w.emptyValidation && w.emptyValidation.allow === !1 && !p && l(
|
|
6166
|
+
S,
|
|
6167
|
+
w.emptyValidation.validateOnChange
|
|
6170
6168
|
))
|
|
6171
|
-
return
|
|
6172
|
-
if (
|
|
6173
|
-
|
|
6174
|
-
|
|
6169
|
+
return C.error = w.emptyValidation.errorMessage, C;
|
|
6170
|
+
if (w.minLengthValidation && p.length < w.minLengthValidation.value && l(
|
|
6171
|
+
S,
|
|
6172
|
+
w.minLengthValidation.validateOnChange
|
|
6175
6173
|
))
|
|
6176
|
-
return
|
|
6177
|
-
if (
|
|
6178
|
-
|
|
6179
|
-
|
|
6174
|
+
return C.error = w.minLengthValidation.errorMessage, C;
|
|
6175
|
+
if (w.maxLengthValidation && p.length > w.maxLengthValidation.value && l(
|
|
6176
|
+
S,
|
|
6177
|
+
w.maxLengthValidation.validateOnChange
|
|
6180
6178
|
))
|
|
6181
|
-
return
|
|
6182
|
-
if (!isNaN(
|
|
6183
|
-
if (
|
|
6184
|
-
|
|
6185
|
-
|
|
6179
|
+
return C.error = w.maxLengthValidation.errorMessage, C;
|
|
6180
|
+
if (!isNaN(M)) {
|
|
6181
|
+
if (w.minValueValidation && M < w.minValueValidation.value && l(
|
|
6182
|
+
S,
|
|
6183
|
+
w.minValueValidation.validateOnChange
|
|
6186
6184
|
))
|
|
6187
|
-
return
|
|
6188
|
-
if (
|
|
6189
|
-
|
|
6190
|
-
|
|
6185
|
+
return C.error = w.minValueValidation.errorMessage, C;
|
|
6186
|
+
if (w.maxValueValidation && M > w.maxValueValidation.value && l(
|
|
6187
|
+
S,
|
|
6188
|
+
w.maxValueValidation.validateOnChange
|
|
6191
6189
|
))
|
|
6192
|
-
return
|
|
6190
|
+
return C.error = w.maxValueValidation.errorMessage, C;
|
|
6193
6191
|
}
|
|
6194
|
-
if (
|
|
6195
|
-
|
|
6196
|
-
|
|
6192
|
+
if (w.exactValueValidation && w.exactValueValidation.value !== C.value && l(
|
|
6193
|
+
S,
|
|
6194
|
+
w.exactValueValidation.validateOnChange
|
|
6197
6195
|
))
|
|
6198
|
-
return
|
|
6199
|
-
for (let
|
|
6200
|
-
const
|
|
6201
|
-
if (!
|
|
6202
|
-
|
|
6203
|
-
|
|
6196
|
+
return C.error = w.exactValueValidation.errorMessage, C;
|
|
6197
|
+
for (let z = 0; z < (w.validations || []).length; z++) {
|
|
6198
|
+
const U = w.validations?.[z];
|
|
6199
|
+
if (!l(
|
|
6200
|
+
S,
|
|
6201
|
+
U?.validateOnChange
|
|
6204
6202
|
))
|
|
6205
6203
|
continue;
|
|
6206
|
-
const
|
|
6207
|
-
|
|
6204
|
+
const Y = await w.validations?.[z].validate?.(
|
|
6205
|
+
C.value
|
|
6208
6206
|
);
|
|
6209
|
-
if (
|
|
6210
|
-
return
|
|
6207
|
+
if (Y)
|
|
6208
|
+
return C.error = Y, C;
|
|
6211
6209
|
}
|
|
6212
|
-
} catch (
|
|
6213
|
-
console.error(`Form > Failed To Validate Field ${
|
|
6210
|
+
} catch (w) {
|
|
6211
|
+
console.error(`Form > Failed To Validate Field ${C.name}: `, w);
|
|
6214
6212
|
}
|
|
6215
|
-
return
|
|
6216
|
-
},
|
|
6217
|
-
async (
|
|
6213
|
+
return C;
|
|
6214
|
+
}, g = q.useCallback(
|
|
6215
|
+
async (C) => {
|
|
6218
6216
|
try {
|
|
6219
6217
|
if (s.current)
|
|
6220
6218
|
return;
|
|
6221
|
-
s.current = !0, e?.(),
|
|
6222
|
-
let
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
), s.current = !1, t?.(
|
|
6226
|
-
} catch (
|
|
6227
|
-
s.current = !1, console.error("Form > OnSubmit > Error submitting: ",
|
|
6219
|
+
s.current = !0, e?.(), C.preventDefault(), C.stopPropagation();
|
|
6220
|
+
let S = u(C);
|
|
6221
|
+
S = await Promise.all(
|
|
6222
|
+
S.map(async (p) => await h(p, "submit"))
|
|
6223
|
+
), s.current = !1, t?.(S);
|
|
6224
|
+
} catch (S) {
|
|
6225
|
+
s.current = !1, console.error("Form > OnSubmit > Error submitting: ", S);
|
|
6228
6226
|
}
|
|
6229
6227
|
},
|
|
6230
6228
|
[t, e]
|
|
6231
|
-
),
|
|
6232
|
-
async (
|
|
6229
|
+
), b = q.useCallback(
|
|
6230
|
+
async (C) => {
|
|
6233
6231
|
try {
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
console.error("Form > onChange > Error changing: ", _);
|
|
6232
|
+
const S = C.target;
|
|
6233
|
+
let p = f(S);
|
|
6234
|
+
p = await h(p, "change"), console.log("result", { changedElement: S }), r?.(p);
|
|
6235
|
+
} catch (S) {
|
|
6236
|
+
console.error("Form > onChange > Error changing: ", S);
|
|
6240
6237
|
}
|
|
6241
6238
|
},
|
|
6242
6239
|
[t, e]
|
|
6243
6240
|
);
|
|
6244
6241
|
return {
|
|
6245
6242
|
ref: a,
|
|
6246
|
-
submitForm: (
|
|
6243
|
+
submitForm: (C) => {
|
|
6247
6244
|
a.current && a.current.requestSubmit();
|
|
6248
6245
|
},
|
|
6249
|
-
handleFormSubmission:
|
|
6250
|
-
handleFormChange:
|
|
6246
|
+
handleFormSubmission: g,
|
|
6247
|
+
handleFormChange: b
|
|
6251
6248
|
};
|
|
6252
6249
|
}, Wo = Ee.div`
|
|
6253
6250
|
display: flex;
|
|
@@ -6365,15 +6362,15 @@ const Sn = Y.createContext({
|
|
|
6365
6362
|
placeHolder: h,
|
|
6366
6363
|
autoComplete: g = "off",
|
|
6367
6364
|
value: b,
|
|
6368
|
-
initialValue:
|
|
6369
|
-
type:
|
|
6370
|
-
maxLength:
|
|
6365
|
+
initialValue: _,
|
|
6366
|
+
type: C = "text",
|
|
6367
|
+
maxLength: S,
|
|
6371
6368
|
inputStyles: p,
|
|
6372
|
-
containerStyles:
|
|
6373
|
-
styles:
|
|
6374
|
-
step:
|
|
6369
|
+
containerStyles: M,
|
|
6370
|
+
styles: w,
|
|
6371
|
+
step: z,
|
|
6375
6372
|
pattern: U,
|
|
6376
|
-
onInput:
|
|
6373
|
+
onInput: Y
|
|
6377
6374
|
} = e;
|
|
6378
6375
|
return /* @__PURE__ */ X.jsxs(
|
|
6379
6376
|
Vo,
|
|
@@ -6382,7 +6379,7 @@ const Sn = Y.createContext({
|
|
|
6382
6379
|
width: "100%",
|
|
6383
6380
|
maxWidth: "357px",
|
|
6384
6381
|
gap: "8px",
|
|
6385
|
-
...
|
|
6382
|
+
...w
|
|
6386
6383
|
},
|
|
6387
6384
|
children: [
|
|
6388
6385
|
s,
|
|
@@ -6407,7 +6404,7 @@ const Sn = Y.createContext({
|
|
|
6407
6404
|
outline: "none",
|
|
6408
6405
|
alignItems: "center",
|
|
6409
6406
|
gap: "10px",
|
|
6410
|
-
...
|
|
6407
|
+
...M
|
|
6411
6408
|
},
|
|
6412
6409
|
children: [
|
|
6413
6410
|
f,
|
|
@@ -6415,17 +6412,17 @@ const Sn = Y.createContext({
|
|
|
6415
6412
|
"input",
|
|
6416
6413
|
{
|
|
6417
6414
|
name: a,
|
|
6418
|
-
type:
|
|
6415
|
+
type: C,
|
|
6419
6416
|
autoComplete: g,
|
|
6420
|
-
step:
|
|
6421
|
-
maxLength:
|
|
6417
|
+
step: z,
|
|
6418
|
+
maxLength: S,
|
|
6422
6419
|
placeholder: h,
|
|
6423
6420
|
value: b,
|
|
6424
|
-
defaultValue:
|
|
6421
|
+
defaultValue: _,
|
|
6425
6422
|
onChange: t,
|
|
6426
6423
|
onFocus: i,
|
|
6427
6424
|
onBlur: r,
|
|
6428
|
-
onInput:
|
|
6425
|
+
onInput: Y,
|
|
6429
6426
|
pattern: U,
|
|
6430
6427
|
style: {
|
|
6431
6428
|
flex: 1,
|
|
@@ -6539,9 +6536,9 @@ const Sn = Y.createContext({
|
|
|
6539
6536
|
u.startsWith(".") && (u = "0" + u), u.length === 2 && u[0] === "-" && u[1] === "." && (u = "-");
|
|
6540
6537
|
const l = u.indexOf(".");
|
|
6541
6538
|
l !== -1 && (u = u.slice(0, l + 1) + u.slice(l + 1).replace(/\./g, ""));
|
|
6542
|
-
const [h, ...g] = u.split("."), [b, ...
|
|
6543
|
-
let
|
|
6544
|
-
e.decimalScale !== void 0 && (
|
|
6539
|
+
const [h, ...g] = u.split("."), [b, ..._] = t.current.split(".");
|
|
6540
|
+
let C = g.join(""), S = _.join("");
|
|
6541
|
+
e.decimalScale !== void 0 && (C.length > e.decimalScale ? C = S : C = C.slice(0, e.decimalScale)), u = C || u.endsWith(".") ? `${h}.${C}` : h;
|
|
6545
6542
|
} else
|
|
6546
6543
|
u = u.replace(/\./g, "");
|
|
6547
6544
|
return u;
|
|
@@ -6559,8 +6556,8 @@ const Sn = Y.createContext({
|
|
|
6559
6556
|
const l = u.target, h = l.selectionStart ?? 0, g = l.selectionEnd ?? 0;
|
|
6560
6557
|
let b = l.value;
|
|
6561
6558
|
b = b.replace(/[^0-9\.\-]/g, ""), b = r(b), b = i(b), b = a(b);
|
|
6562
|
-
const
|
|
6563
|
-
l.value = b, l.setSelectionRange(h +
|
|
6559
|
+
const _ = b.length - l.value.length;
|
|
6560
|
+
l.value = b, l.setSelectionRange(h + _, g + _), t.current = b;
|
|
6564
6561
|
},
|
|
6565
6562
|
[r, i, a]
|
|
6566
6563
|
);
|
|
@@ -6586,17 +6583,17 @@ const Sn = Y.createContext({
|
|
|
6586
6583
|
});
|
|
6587
6584
|
return /* @__PURE__ */ X.jsx(Yo, { type: "text", ...a });
|
|
6588
6585
|
}, Bo = (e) => {
|
|
6589
|
-
const t =
|
|
6586
|
+
const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s, f] = q.useState(24), u = q.useCallback(() => {
|
|
6590
6587
|
t.current && a(t.current.clientHeight);
|
|
6591
|
-
}, [t, t.current]), l =
|
|
6588
|
+
}, [t, t.current]), l = q.useCallback(() => {
|
|
6592
6589
|
r.current && f(r.current.clientHeight);
|
|
6593
|
-
}, [r, r.current]), h =
|
|
6590
|
+
}, [r, r.current]), h = q.useCallback(() => {
|
|
6594
6591
|
let g = 0;
|
|
6595
6592
|
return e.header?.visibility === "always" && (g = g + (i || 0)), e.footer?.visibility === "always" && (g = g + (s || 0)), g;
|
|
6596
6593
|
}, [r, r.current]);
|
|
6597
|
-
return
|
|
6594
|
+
return q.useEffect(() => {
|
|
6598
6595
|
u();
|
|
6599
|
-
}, [u, t, t.current]),
|
|
6596
|
+
}, [u, t, t.current]), q.useEffect(() => {
|
|
6600
6597
|
l();
|
|
6601
6598
|
}, [l, r, r.current]), {
|
|
6602
6599
|
header: {
|
|
@@ -6788,13 +6785,13 @@ function Jo() {
|
|
|
6788
6785
|
(function(r, i) {
|
|
6789
6786
|
e.exports = i();
|
|
6790
6787
|
})(Ko, function() {
|
|
6791
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", u = "minute", l = "hour", h = "day", g = "week", b = "month",
|
|
6788
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", u = "minute", l = "hour", h = "day", g = "week", b = "month", _ = "quarter", C = "year", S = "date", p = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(j) {
|
|
6792
6789
|
var E = ["th", "st", "nd", "rd"], L = j % 100;
|
|
6793
6790
|
return "[" + j + (E[(L - 20) % 10] || E[L] || E[0]) + "]";
|
|
6794
6791
|
} }, U = function(j, E, L) {
|
|
6795
6792
|
var o = String(j);
|
|
6796
6793
|
return !o || o.length >= E ? j : "" + Array(E + 1 - o.length).join(L) + j;
|
|
6797
|
-
},
|
|
6794
|
+
}, Y = { s: U, z: function(j) {
|
|
6798
6795
|
var E = -j.utcOffset(), L = Math.abs(E), o = Math.floor(L / 60), H = L % 60;
|
|
6799
6796
|
return (E <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
6800
6797
|
}, m: function j(E, L) {
|
|
@@ -6804,37 +6801,37 @@ function Jo() {
|
|
|
6804
6801
|
}, a: function(j) {
|
|
6805
6802
|
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
6806
6803
|
}, p: function(j) {
|
|
6807
|
-
return { M: b, y:
|
|
6804
|
+
return { M: b, y: C, w: g, d: h, D: S, h: l, m: u, s: f, ms: s, Q: _ }[j] || String(j || "").toLowerCase().replace(/s$/, "");
|
|
6808
6805
|
}, u: function(j) {
|
|
6809
6806
|
return j === void 0;
|
|
6810
|
-
} }, v = "en",
|
|
6811
|
-
|
|
6812
|
-
var
|
|
6813
|
-
return j instanceof A || !(!j || !j[
|
|
6807
|
+
} }, v = "en", x = {};
|
|
6808
|
+
x[v] = z;
|
|
6809
|
+
var O = "$isDayjsObject", R = function(j) {
|
|
6810
|
+
return j instanceof A || !(!j || !j[O]);
|
|
6814
6811
|
}, y = function j(E, L, o) {
|
|
6815
6812
|
var H;
|
|
6816
6813
|
if (!E) return v;
|
|
6817
6814
|
if (typeof E == "string") {
|
|
6818
6815
|
var m = E.toLowerCase();
|
|
6819
|
-
|
|
6816
|
+
x[m] && (H = m), L && (x[m] = L, H = m);
|
|
6820
6817
|
var n = E.split("-");
|
|
6821
6818
|
if (!H && n.length > 1) return j(n[0]);
|
|
6822
6819
|
} else {
|
|
6823
6820
|
var c = E.name;
|
|
6824
|
-
|
|
6821
|
+
x[c] = E, H = c;
|
|
6825
6822
|
}
|
|
6826
6823
|
return !o && H && (v = H), H || !o && v;
|
|
6827
6824
|
}, d = function(j, E) {
|
|
6828
6825
|
if (R(j)) return j.clone();
|
|
6829
6826
|
var L = typeof E == "object" ? E : {};
|
|
6830
6827
|
return L.date = j, L.args = arguments, new A(L);
|
|
6831
|
-
}, P =
|
|
6828
|
+
}, P = Y;
|
|
6832
6829
|
P.l = y, P.i = R, P.w = function(j, E) {
|
|
6833
6830
|
return d(j, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
6834
6831
|
};
|
|
6835
6832
|
var A = function() {
|
|
6836
6833
|
function j(L) {
|
|
6837
|
-
this.$L = y(L.locale, null, !0), this.parse(L), this.$x = this.$x || L.x || {}, this[
|
|
6834
|
+
this.$L = y(L.locale, null, !0), this.parse(L), this.$x = this.$x || L.x || {}, this[O] = !0;
|
|
6838
6835
|
}
|
|
6839
6836
|
var E = j.prototype;
|
|
6840
6837
|
return E.parse = function(L) {
|
|
@@ -6844,10 +6841,10 @@ function Jo() {
|
|
|
6844
6841
|
if (P.u(H)) return /* @__PURE__ */ new Date();
|
|
6845
6842
|
if (H instanceof Date) return new Date(H);
|
|
6846
6843
|
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
6847
|
-
var n = H.match(
|
|
6844
|
+
var n = H.match(M);
|
|
6848
6845
|
if (n) {
|
|
6849
|
-
var c = n[2] - 1 || 0,
|
|
6850
|
-
return m ? new Date(Date.UTC(n[1], c, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0,
|
|
6846
|
+
var c = n[2] - 1 || 0, k = (n[7] || "0").substring(0, 3);
|
|
6847
|
+
return m ? new Date(Date.UTC(n[1], c, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, k)) : new Date(n[1], c, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, k);
|
|
6851
6848
|
}
|
|
6852
6849
|
}
|
|
6853
6850
|
return new Date(H);
|
|
@@ -6876,37 +6873,37 @@ function Jo() {
|
|
|
6876
6873
|
var H = this, m = !!P.u(o) || o, n = P.p(L), c = function(K, G) {
|
|
6877
6874
|
var J = P.w(H.$u ? Date.UTC(H.$y, G, K) : new Date(H.$y, G, K), H);
|
|
6878
6875
|
return m ? J : J.endOf(h);
|
|
6879
|
-
},
|
|
6876
|
+
}, k = function(K, G) {
|
|
6880
6877
|
return P.w(H.toDate()[K].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), H);
|
|
6881
|
-
}, I = this.$W,
|
|
6878
|
+
}, I = this.$W, D = this.$M, N = this.$D, F = "set" + (this.$u ? "UTC" : "");
|
|
6882
6879
|
switch (n) {
|
|
6883
|
-
case
|
|
6880
|
+
case C:
|
|
6884
6881
|
return m ? c(1, 0) : c(31, 11);
|
|
6885
6882
|
case b:
|
|
6886
|
-
return m ? c(1,
|
|
6883
|
+
return m ? c(1, D) : c(0, D + 1);
|
|
6887
6884
|
case g:
|
|
6888
6885
|
var W = this.$locale().weekStart || 0, B = (I < W ? I + 7 : I) - W;
|
|
6889
|
-
return c(m ?
|
|
6886
|
+
return c(m ? N - B : N + (6 - B), D);
|
|
6890
6887
|
case h:
|
|
6891
|
-
case
|
|
6892
|
-
return
|
|
6888
|
+
case S:
|
|
6889
|
+
return k(F + "Hours", 0);
|
|
6893
6890
|
case l:
|
|
6894
|
-
return
|
|
6891
|
+
return k(F + "Minutes", 1);
|
|
6895
6892
|
case u:
|
|
6896
|
-
return
|
|
6893
|
+
return k(F + "Seconds", 2);
|
|
6897
6894
|
case f:
|
|
6898
|
-
return
|
|
6895
|
+
return k(F + "Milliseconds", 3);
|
|
6899
6896
|
default:
|
|
6900
6897
|
return this.clone();
|
|
6901
6898
|
}
|
|
6902
6899
|
}, E.endOf = function(L) {
|
|
6903
6900
|
return this.startOf(L, !1);
|
|
6904
6901
|
}, E.$set = function(L, o) {
|
|
6905
|
-
var H, m = P.p(L), n = "set" + (this.$u ? "UTC" : ""), c = (H = {}, H[h] = n + "Date", H[
|
|
6906
|
-
if (m === b || m ===
|
|
6907
|
-
var I = this.clone().set(
|
|
6908
|
-
I.$d[c](
|
|
6909
|
-
} else c && this.$d[c](
|
|
6902
|
+
var H, m = P.p(L), n = "set" + (this.$u ? "UTC" : ""), c = (H = {}, H[h] = n + "Date", H[S] = n + "Date", H[b] = n + "Month", H[C] = n + "FullYear", H[l] = n + "Hours", H[u] = n + "Minutes", H[f] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], k = m === h ? this.$D + (o - this.$W) : o;
|
|
6903
|
+
if (m === b || m === C) {
|
|
6904
|
+
var I = this.clone().set(S, 1);
|
|
6905
|
+
I.$d[c](k), I.init(), this.$d = I.set(S, Math.min(this.$D, I.daysInMonth())).$d;
|
|
6906
|
+
} else c && this.$d[c](k);
|
|
6910
6907
|
return this.init(), this;
|
|
6911
6908
|
}, E.set = function(L, o) {
|
|
6912
6909
|
return this.clone().$set(L, o);
|
|
@@ -6915,22 +6912,22 @@ function Jo() {
|
|
|
6915
6912
|
}, E.add = function(L, o) {
|
|
6916
6913
|
var H, m = this;
|
|
6917
6914
|
L = Number(L);
|
|
6918
|
-
var n = P.p(o), c = function(
|
|
6919
|
-
var
|
|
6920
|
-
return P.w(
|
|
6915
|
+
var n = P.p(o), c = function(D) {
|
|
6916
|
+
var N = d(m);
|
|
6917
|
+
return P.w(N.date(N.date() + Math.round(D * L)), m);
|
|
6921
6918
|
};
|
|
6922
6919
|
if (n === b) return this.set(b, this.$M + L);
|
|
6923
|
-
if (n ===
|
|
6920
|
+
if (n === C) return this.set(C, this.$y + L);
|
|
6924
6921
|
if (n === h) return c(1);
|
|
6925
6922
|
if (n === g) return c(7);
|
|
6926
|
-
var
|
|
6923
|
+
var k = (H = {}, H[u] = i, H[l] = a, H[f] = r, H)[n] || 1, I = this.$d.getTime() + L * k;
|
|
6927
6924
|
return P.w(I, this);
|
|
6928
6925
|
}, E.subtract = function(L, o) {
|
|
6929
6926
|
return this.add(-1 * L, o);
|
|
6930
6927
|
}, E.format = function(L) {
|
|
6931
6928
|
var o = this, H = this.$locale();
|
|
6932
6929
|
if (!this.isValid()) return H.invalidDate || p;
|
|
6933
|
-
var m = L || "YYYY-MM-DDTHH:mm:ssZ", n = P.z(this), c = this.$H,
|
|
6930
|
+
var m = L || "YYYY-MM-DDTHH:mm:ssZ", n = P.z(this), c = this.$H, k = this.$m, I = this.$M, D = H.weekdays, N = H.months, F = H.meridiem, W = function(G, J, te, Z) {
|
|
6934
6931
|
return G && (G[J] || G(o, m)) || te[J].slice(0, Z);
|
|
6935
6932
|
}, B = function(G) {
|
|
6936
6933
|
return P.s(c % 12 || 12, G, "0");
|
|
@@ -6938,7 +6935,7 @@ function Jo() {
|
|
|
6938
6935
|
var Z = G < 12 ? "AM" : "PM";
|
|
6939
6936
|
return te ? Z.toLowerCase() : Z;
|
|
6940
6937
|
};
|
|
6941
|
-
return m.replace(
|
|
6938
|
+
return m.replace(w, function(G, J) {
|
|
6942
6939
|
return J || function(te) {
|
|
6943
6940
|
switch (te) {
|
|
6944
6941
|
case "YY":
|
|
@@ -6950,9 +6947,9 @@ function Jo() {
|
|
|
6950
6947
|
case "MM":
|
|
6951
6948
|
return P.s(I + 1, 2, "0");
|
|
6952
6949
|
case "MMM":
|
|
6953
|
-
return W(H.monthsShort, I,
|
|
6950
|
+
return W(H.monthsShort, I, N, 3);
|
|
6954
6951
|
case "MMMM":
|
|
6955
|
-
return W(
|
|
6952
|
+
return W(N, I);
|
|
6956
6953
|
case "D":
|
|
6957
6954
|
return o.$D;
|
|
6958
6955
|
case "DD":
|
|
@@ -6960,11 +6957,11 @@ function Jo() {
|
|
|
6960
6957
|
case "d":
|
|
6961
6958
|
return String(o.$W);
|
|
6962
6959
|
case "dd":
|
|
6963
|
-
return W(H.weekdaysMin, o.$W,
|
|
6960
|
+
return W(H.weekdaysMin, o.$W, D, 2);
|
|
6964
6961
|
case "ddd":
|
|
6965
|
-
return W(H.weekdaysShort, o.$W,
|
|
6962
|
+
return W(H.weekdaysShort, o.$W, D, 3);
|
|
6966
6963
|
case "dddd":
|
|
6967
|
-
return
|
|
6964
|
+
return D[o.$W];
|
|
6968
6965
|
case "H":
|
|
6969
6966
|
return String(c);
|
|
6970
6967
|
case "HH":
|
|
@@ -6974,13 +6971,13 @@ function Jo() {
|
|
|
6974
6971
|
case "hh":
|
|
6975
6972
|
return B(2);
|
|
6976
6973
|
case "a":
|
|
6977
|
-
return K(c,
|
|
6974
|
+
return K(c, k, !0);
|
|
6978
6975
|
case "A":
|
|
6979
|
-
return K(c,
|
|
6976
|
+
return K(c, k, !1);
|
|
6980
6977
|
case "m":
|
|
6981
|
-
return String(
|
|
6978
|
+
return String(k);
|
|
6982
6979
|
case "mm":
|
|
6983
|
-
return P.s(
|
|
6980
|
+
return P.s(k, 2, "0");
|
|
6984
6981
|
case "s":
|
|
6985
6982
|
return String(o.$s);
|
|
6986
6983
|
case "ss":
|
|
@@ -6996,42 +6993,42 @@ function Jo() {
|
|
|
6996
6993
|
}, E.utcOffset = function() {
|
|
6997
6994
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6998
6995
|
}, E.diff = function(L, o, H) {
|
|
6999
|
-
var m, n = this, c = P.p(o),
|
|
7000
|
-
return P.m(n,
|
|
6996
|
+
var m, n = this, c = P.p(o), k = d(L), I = (k.utcOffset() - this.utcOffset()) * i, D = this - k, N = function() {
|
|
6997
|
+
return P.m(n, k);
|
|
7001
6998
|
};
|
|
7002
6999
|
switch (c) {
|
|
7003
|
-
case
|
|
7004
|
-
m =
|
|
7000
|
+
case C:
|
|
7001
|
+
m = N() / 12;
|
|
7005
7002
|
break;
|
|
7006
7003
|
case b:
|
|
7007
|
-
m =
|
|
7004
|
+
m = N();
|
|
7008
7005
|
break;
|
|
7009
|
-
case
|
|
7010
|
-
m =
|
|
7006
|
+
case _:
|
|
7007
|
+
m = N() / 3;
|
|
7011
7008
|
break;
|
|
7012
7009
|
case g:
|
|
7013
|
-
m = (
|
|
7010
|
+
m = (D - I) / 6048e5;
|
|
7014
7011
|
break;
|
|
7015
7012
|
case h:
|
|
7016
|
-
m = (
|
|
7013
|
+
m = (D - I) / 864e5;
|
|
7017
7014
|
break;
|
|
7018
7015
|
case l:
|
|
7019
|
-
m =
|
|
7016
|
+
m = D / a;
|
|
7020
7017
|
break;
|
|
7021
7018
|
case u:
|
|
7022
|
-
m =
|
|
7019
|
+
m = D / i;
|
|
7023
7020
|
break;
|
|
7024
7021
|
case f:
|
|
7025
|
-
m =
|
|
7022
|
+
m = D / r;
|
|
7026
7023
|
break;
|
|
7027
7024
|
default:
|
|
7028
|
-
m =
|
|
7025
|
+
m = D;
|
|
7029
7026
|
}
|
|
7030
7027
|
return H ? m : P.a(m);
|
|
7031
7028
|
}, E.daysInMonth = function() {
|
|
7032
7029
|
return this.endOf(b).$D;
|
|
7033
7030
|
}, E.$locale = function() {
|
|
7034
|
-
return
|
|
7031
|
+
return x[this.$L];
|
|
7035
7032
|
}, E.locale = function(L, o) {
|
|
7036
7033
|
if (!L) return this.$L;
|
|
7037
7034
|
var H = this.clone(), m = y(L, o, !0);
|
|
@@ -7048,7 +7045,7 @@ function Jo() {
|
|
|
7048
7045
|
return this.$d.toUTCString();
|
|
7049
7046
|
}, j;
|
|
7050
7047
|
}(), T = A.prototype;
|
|
7051
|
-
return d.prototype = T, [["$ms", s], ["$s", f], ["$m", u], ["$H", l], ["$W", h], ["$M", b], ["$y",
|
|
7048
|
+
return d.prototype = T, [["$ms", s], ["$s", f], ["$m", u], ["$H", l], ["$W", h], ["$M", b], ["$y", C], ["$D", S]].forEach(function(j) {
|
|
7052
7049
|
T[j[1]] = function(E) {
|
|
7053
7050
|
return this.$g(E, j[0], j[1]);
|
|
7054
7051
|
};
|
|
@@ -7056,7 +7053,7 @@ function Jo() {
|
|
|
7056
7053
|
return j.$i || (j(E, A, d), j.$i = !0), d;
|
|
7057
7054
|
}, d.locale = y, d.isDayjs = R, d.unix = function(j) {
|
|
7058
7055
|
return d(1e3 * j);
|
|
7059
|
-
}, d.en =
|
|
7056
|
+
}, d.en = x[v], d.Ls = x, d.p = {}, d;
|
|
7060
7057
|
});
|
|
7061
7058
|
}(ft)), ft.exports;
|
|
7062
7059
|
}
|
|
@@ -7072,11 +7069,11 @@ function es() {
|
|
|
7072
7069
|
return function(s, f, u) {
|
|
7073
7070
|
var l = f.prototype;
|
|
7074
7071
|
u.utc = function(p) {
|
|
7075
|
-
var
|
|
7076
|
-
return new f(
|
|
7072
|
+
var M = { date: p, utc: !0, args: arguments };
|
|
7073
|
+
return new f(M);
|
|
7077
7074
|
}, l.utc = function(p) {
|
|
7078
|
-
var
|
|
7079
|
-
return p ?
|
|
7075
|
+
var M = u(this.toDate(), { locale: this.$L, utc: !0 });
|
|
7076
|
+
return p ? M.add(this.utcOffset(), r) : M;
|
|
7080
7077
|
}, l.local = function() {
|
|
7081
7078
|
return u(this.toDate(), { locale: this.$L, utc: !1 });
|
|
7082
7079
|
};
|
|
@@ -7092,27 +7089,27 @@ function es() {
|
|
|
7092
7089
|
} else g.call(this);
|
|
7093
7090
|
};
|
|
7094
7091
|
var b = l.utcOffset;
|
|
7095
|
-
l.utcOffset = function(p,
|
|
7096
|
-
var
|
|
7097
|
-
if (
|
|
7092
|
+
l.utcOffset = function(p, M) {
|
|
7093
|
+
var w = this.$utils().u;
|
|
7094
|
+
if (w(p)) return this.$u ? 0 : w(this.$offset) ? b.call(this) : this.$offset;
|
|
7098
7095
|
if (typeof p == "string" && (p = function(v) {
|
|
7099
7096
|
v === void 0 && (v = "");
|
|
7100
|
-
var
|
|
7101
|
-
if (!
|
|
7102
|
-
var
|
|
7097
|
+
var x = v.match(i);
|
|
7098
|
+
if (!x) return null;
|
|
7099
|
+
var O = ("" + x[0]).match(a) || ["-", 0, 0], R = O[0], y = 60 * +O[1] + +O[2];
|
|
7103
7100
|
return y === 0 ? 0 : R === "+" ? y : -y;
|
|
7104
7101
|
}(p), p === null)) return this;
|
|
7105
|
-
var
|
|
7106
|
-
if (
|
|
7102
|
+
var z = Math.abs(p) <= 16 ? 60 * p : p;
|
|
7103
|
+
if (z === 0) return this.utc(M);
|
|
7107
7104
|
var U = this.clone();
|
|
7108
|
-
if (
|
|
7109
|
-
var
|
|
7110
|
-
return (U = this.local().add(
|
|
7105
|
+
if (M) return U.$offset = z, U.$u = !1, U;
|
|
7106
|
+
var Y = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
7107
|
+
return (U = this.local().add(z + Y, r)).$offset = z, U.$x.$localOffset = Y, U;
|
|
7111
7108
|
};
|
|
7112
|
-
var
|
|
7109
|
+
var _ = l.format;
|
|
7113
7110
|
l.format = function(p) {
|
|
7114
|
-
var
|
|
7115
|
-
return
|
|
7111
|
+
var M = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
7112
|
+
return _.call(this, M);
|
|
7116
7113
|
}, l.valueOf = function() {
|
|
7117
7114
|
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
7118
7115
|
return this.$d.valueOf() - 6e4 * p;
|
|
@@ -7123,15 +7120,15 @@ function es() {
|
|
|
7123
7120
|
}, l.toString = function() {
|
|
7124
7121
|
return this.toDate().toUTCString();
|
|
7125
7122
|
};
|
|
7126
|
-
var
|
|
7123
|
+
var C = l.toDate;
|
|
7127
7124
|
l.toDate = function(p) {
|
|
7128
|
-
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
7125
|
+
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
|
|
7129
7126
|
};
|
|
7130
|
-
var
|
|
7131
|
-
l.diff = function(p,
|
|
7132
|
-
if (p && this.$u === p.$u) return
|
|
7133
|
-
var
|
|
7134
|
-
return
|
|
7127
|
+
var S = l.diff;
|
|
7128
|
+
l.diff = function(p, M, w) {
|
|
7129
|
+
if (p && this.$u === p.$u) return S.call(this, p, M, w);
|
|
7130
|
+
var z = this.local(), U = u(p).local();
|
|
7131
|
+
return S.call(z, U, M, w);
|
|
7135
7132
|
};
|
|
7136
7133
|
};
|
|
7137
7134
|
});
|
|
@@ -7330,14 +7327,14 @@ const Es = ({
|
|
|
7330
7327
|
onFocus: h,
|
|
7331
7328
|
onBlur: g,
|
|
7332
7329
|
inputStyles: b,
|
|
7333
|
-
containerStyles:
|
|
7334
|
-
styles:
|
|
7330
|
+
containerStyles: _,
|
|
7331
|
+
styles: C
|
|
7335
7332
|
}) => {
|
|
7336
|
-
const
|
|
7337
|
-
l?.(
|
|
7338
|
-
}, p = (
|
|
7333
|
+
const S = (w) => {
|
|
7334
|
+
l?.(w.currentTarget.value);
|
|
7335
|
+
}, p = (w) => {
|
|
7339
7336
|
h?.();
|
|
7340
|
-
},
|
|
7337
|
+
}, M = (w) => {
|
|
7341
7338
|
g?.();
|
|
7342
7339
|
};
|
|
7343
7340
|
return /* @__PURE__ */ X.jsxs(
|
|
@@ -7347,7 +7344,7 @@ const Es = ({
|
|
|
7347
7344
|
width: "100%",
|
|
7348
7345
|
maxWidth: "357px",
|
|
7349
7346
|
gap: "8px",
|
|
7350
|
-
...
|
|
7347
|
+
...C
|
|
7351
7348
|
},
|
|
7352
7349
|
children: [
|
|
7353
7350
|
t,
|
|
@@ -7368,7 +7365,7 @@ const Es = ({
|
|
|
7368
7365
|
outline: "none",
|
|
7369
7366
|
alignItems: "flex-start",
|
|
7370
7367
|
gap: "10px",
|
|
7371
|
-
...
|
|
7368
|
+
..._
|
|
7372
7369
|
},
|
|
7373
7370
|
children: [
|
|
7374
7371
|
r,
|
|
@@ -7394,9 +7391,9 @@ const Es = ({
|
|
|
7394
7391
|
placeholder: s,
|
|
7395
7392
|
value: f,
|
|
7396
7393
|
defaultValue: u,
|
|
7397
|
-
onChange:
|
|
7394
|
+
onChange: S,
|
|
7398
7395
|
onFocus: p,
|
|
7399
|
-
onBlur:
|
|
7396
|
+
onBlur: M
|
|
7400
7397
|
}
|
|
7401
7398
|
),
|
|
7402
7399
|
i
|
|
@@ -7413,8 +7410,8 @@ const Es = ({
|
|
|
7413
7410
|
styles: r,
|
|
7414
7411
|
durationInSeconds: i = 3
|
|
7415
7412
|
}) => {
|
|
7416
|
-
const a =
|
|
7417
|
-
return
|
|
7413
|
+
const a = q.useRef(!1), { isItemVisible: s, hideItem: f } = Ct();
|
|
7414
|
+
return q.useEffect(() => {
|
|
7418
7415
|
const u = s(e);
|
|
7419
7416
|
a.current !== u && (a.current = u, u && setTimeout(() => f(e), i * 1e3));
|
|
7420
7417
|
}, [a, s, f]), /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|