@eliseubatista99/react-scaffold-core 0.1.64 → 0.1.65
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/index.d.ts +1 -0
- package/dist/components/textAreaField/index.d.ts +1 -0
- package/dist/index.cjs.js +33 -11
- package/dist/index.es.js +968 -859
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as D from "react";
|
|
2
|
-
import q, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as zr, useCallback as
|
|
2
|
+
import q, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as zr, useCallback as _e } 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 qt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -44,8 +44,8 @@ function Pn() {
|
|
|
44
44
|
rr = 1;
|
|
45
45
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
46
46
|
function r(i, a, s) {
|
|
47
|
-
var
|
|
48
|
-
if (s !== void 0 && (
|
|
47
|
+
var c = null;
|
|
48
|
+
if (s !== void 0 && (c = "" + s), a.key !== void 0 && (c = "" + a.key), "key" in a) {
|
|
49
49
|
s = {};
|
|
50
50
|
for (var u in a)
|
|
51
51
|
u !== "key" && (s[u] = a[u]);
|
|
@@ -53,7 +53,7 @@ function Pn() {
|
|
|
53
53
|
return a = s.ref, {
|
|
54
54
|
$$typeof: e,
|
|
55
55
|
type: i,
|
|
56
|
-
key:
|
|
56
|
+
key: c,
|
|
57
57
|
ref: a !== void 0 ? a : null,
|
|
58
58
|
props: s
|
|
59
59
|
};
|
|
@@ -96,21 +96,21 @@ function En() {
|
|
|
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 P:
|
|
100
100
|
return "Portal";
|
|
101
101
|
case U:
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
103
103
|
case N:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
105
|
case V:
|
|
106
|
-
var
|
|
107
|
-
return n = n.displayName, n || (n =
|
|
106
|
+
var f = n.render;
|
|
107
|
+
return n = n.displayName, n || (n = f.displayName || f.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
108
|
case w:
|
|
109
|
-
return
|
|
110
|
-
case
|
|
111
|
-
|
|
109
|
+
return f = n.displayName || null, f !== null ? f : e(n.type) || "Memo";
|
|
110
|
+
case E:
|
|
111
|
+
f = n._payload, n = n._init;
|
|
112
112
|
try {
|
|
113
|
-
return e(n(
|
|
113
|
+
return e(n(f));
|
|
114
114
|
} catch {
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -122,27 +122,27 @@ function En() {
|
|
|
122
122
|
function r(n) {
|
|
123
123
|
try {
|
|
124
124
|
t(n);
|
|
125
|
-
var
|
|
125
|
+
var f = !1;
|
|
126
126
|
} catch {
|
|
127
|
-
|
|
127
|
+
f = !0;
|
|
128
128
|
}
|
|
129
|
-
if (
|
|
130
|
-
|
|
131
|
-
var S =
|
|
129
|
+
if (f) {
|
|
130
|
+
f = console;
|
|
131
|
+
var S = f.error, $ = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
132
132
|
return S.call(
|
|
133
|
-
|
|
133
|
+
f,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
|
-
|
|
135
|
+
$
|
|
136
136
|
), t(n);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
function i(n) {
|
|
140
140
|
if (n === p) return "<>";
|
|
141
|
-
if (typeof n == "object" && n !== null && n.$$typeof ===
|
|
141
|
+
if (typeof n == "object" && n !== null && n.$$typeof === E)
|
|
142
142
|
return "<...>";
|
|
143
143
|
try {
|
|
144
|
-
var
|
|
145
|
-
return
|
|
144
|
+
var f = e(n);
|
|
145
|
+
return f ? "<" + f + ">" : "<...>";
|
|
146
146
|
} catch {
|
|
147
147
|
return "<...>";
|
|
148
148
|
}
|
|
@@ -154,18 +154,18 @@ function En() {
|
|
|
154
154
|
function s() {
|
|
155
155
|
return Error("react-stack-top-frame");
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function c(n) {
|
|
158
158
|
if (A.call(n, "key")) {
|
|
159
|
-
var
|
|
160
|
-
if (
|
|
159
|
+
var f = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
160
|
+
if (f && f.isReactWarning) return !1;
|
|
161
161
|
}
|
|
162
162
|
return n.key !== void 0;
|
|
163
163
|
}
|
|
164
|
-
function u(n,
|
|
164
|
+
function u(n, f) {
|
|
165
165
|
function S() {
|
|
166
166
|
k || (k = !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
|
+
f
|
|
169
169
|
));
|
|
170
170
|
}
|
|
171
171
|
S.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
@@ -179,11 +179,11 @@ function En() {
|
|
|
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,
|
|
182
|
+
function h(n, f, S, $, L, H, F, W) {
|
|
183
183
|
return S = H.ref, n = {
|
|
184
|
-
$$typeof:
|
|
184
|
+
$$typeof: M,
|
|
185
185
|
type: n,
|
|
186
|
-
key:
|
|
186
|
+
key: f,
|
|
187
187
|
props: H,
|
|
188
188
|
_owner: L
|
|
189
189
|
}, (S !== void 0 ? S : null) !== null ? Object.defineProperty(n, "ref", {
|
|
@@ -211,42 +211,42 @@ function En() {
|
|
|
211
211
|
value: W
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function g(n,
|
|
215
|
-
var B =
|
|
214
|
+
function g(n, f, S, $, L, H, F, W) {
|
|
215
|
+
var B = f.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
|
-
if (
|
|
217
|
+
if ($)
|
|
218
218
|
if (R(B)) {
|
|
219
|
-
for (
|
|
220
|
-
x(B[
|
|
219
|
+
for ($ = 0; $ < B.length; $++)
|
|
220
|
+
x(B[$]);
|
|
221
221
|
Object.freeze && Object.freeze(B);
|
|
222
222
|
} else
|
|
223
223
|
console.error(
|
|
224
224
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
225
225
|
);
|
|
226
226
|
else x(B);
|
|
227
|
-
if (A.call(
|
|
227
|
+
if (A.call(f, "key")) {
|
|
228
228
|
B = e(n);
|
|
229
|
-
var G = Object.keys(
|
|
229
|
+
var G = Object.keys(f).filter(function(J) {
|
|
230
230
|
return J !== "key";
|
|
231
231
|
});
|
|
232
|
-
|
|
232
|
+
$ = 0 < G.length ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}", m[B + $] || (G = 0 < G.length ? "{" + G.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
233
233
|
`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
236
236
|
React keys must be passed directly to JSX without using spread:
|
|
237
237
|
let props = %s;
|
|
238
238
|
<%s key={someKey} {...props} />`,
|
|
239
|
-
|
|
239
|
+
$,
|
|
240
240
|
B,
|
|
241
241
|
G,
|
|
242
242
|
B
|
|
243
|
-
), m[B +
|
|
243
|
+
), m[B + $] = !0);
|
|
244
244
|
}
|
|
245
|
-
if (B = null, S !== void 0 && (r(S), B = "" + S), f
|
|
245
|
+
if (B = null, S !== void 0 && (r(S), B = "" + S), c(f) && (r(f.key), B = "" + f.key), "key" in f) {
|
|
246
246
|
S = {};
|
|
247
|
-
for (var X in
|
|
248
|
-
X !== "key" && (S[X] =
|
|
249
|
-
} else S =
|
|
247
|
+
for (var X in f)
|
|
248
|
+
X !== "key" && (S[X] = f[X]);
|
|
249
|
+
} else S = f;
|
|
250
250
|
return B && u(
|
|
251
251
|
S,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
@@ -262,9 +262,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
264
|
function x(n) {
|
|
265
|
-
typeof n == "object" && n !== null && n.$$typeof ===
|
|
265
|
+
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var j = q,
|
|
267
|
+
var j = q, M = Symbol.for("react.transitional.element"), P = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), U = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), O = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, R = Array.isArray, _ = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
j = {
|
|
@@ -276,26 +276,26 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276
276
|
j,
|
|
277
277
|
s
|
|
278
278
|
)(), z = _(i(s)), m = {};
|
|
279
|
-
He.Fragment = p, He.jsx = function(n,
|
|
279
|
+
He.Fragment = p, He.jsx = function(n, f, S, $, L) {
|
|
280
280
|
var H = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
|
-
|
|
283
|
+
f,
|
|
284
284
|
S,
|
|
285
285
|
!1,
|
|
286
|
-
|
|
286
|
+
$,
|
|
287
287
|
L,
|
|
288
288
|
H ? Error("react-stack-top-frame") : o,
|
|
289
289
|
H ? _(i(n)) : z
|
|
290
290
|
);
|
|
291
|
-
}, He.jsxs = function(n,
|
|
291
|
+
}, He.jsxs = function(n, f, S, $, L) {
|
|
292
292
|
var H = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
|
-
|
|
295
|
+
f,
|
|
296
296
|
S,
|
|
297
297
|
!0,
|
|
298
|
-
|
|
298
|
+
$,
|
|
299
299
|
L,
|
|
300
300
|
H ? Error("react-stack-top-frame") : o,
|
|
301
301
|
H ? _(i(n)) : z
|
|
@@ -308,7 +308,7 @@ function Rn() {
|
|
|
308
308
|
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Pn() : nt.exports = En()), nt.exports;
|
|
309
309
|
}
|
|
310
310
|
var K = Rn();
|
|
311
|
-
const
|
|
311
|
+
const Zo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ K.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
@@ -374,47 +374,47 @@ var _t, or;
|
|
|
374
374
|
function Tn() {
|
|
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,
|
|
377
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = l || h || Function("return this")(), x = Object.prototype, j = x.toString, M = Math.max, P = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, b, w) {
|
|
381
|
-
var
|
|
381
|
+
var E, y, d, O, A, R, _ = 0, k = !1, T = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
b = V(b) || 0, C(w) && (k = !!w.leading, T = "maxWait" in w, d = T ?
|
|
384
|
+
b = V(b) || 0, C(w) && (k = !!w.leading, T = "maxWait" in w, d = T ? M(V(w.maxWait) || 0, b) : d, o = "trailing" in w ? !!w.trailing : o);
|
|
385
385
|
function z(W) {
|
|
386
|
-
var B =
|
|
387
|
-
return
|
|
386
|
+
var B = E, G = y;
|
|
387
|
+
return E = y = void 0, _ = W, O = v.apply(G, B), O;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
390
|
return _ = W, A = setTimeout(S, b), k ? z(W) : O;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
393
|
var B = W - R, G = W - _, X = b - B;
|
|
394
|
-
return T ?
|
|
394
|
+
return T ? P(X, d - G) : X;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function f(W) {
|
|
397
397
|
var B = W - R, G = W - _;
|
|
398
398
|
return R === void 0 || B >= b || B < 0 || T && G >= d;
|
|
399
399
|
}
|
|
400
400
|
function S() {
|
|
401
401
|
var W = p();
|
|
402
|
-
if (
|
|
403
|
-
return
|
|
402
|
+
if (f(W))
|
|
403
|
+
return $(W);
|
|
404
404
|
A = setTimeout(S, n(W));
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
return A = void 0, o &&
|
|
406
|
+
function $(W) {
|
|
407
|
+
return A = void 0, o && E ? z(W) : (E = y = void 0, O);
|
|
408
408
|
}
|
|
409
409
|
function L() {
|
|
410
|
-
A !== void 0 && clearTimeout(A), _ = 0,
|
|
410
|
+
A !== void 0 && clearTimeout(A), _ = 0, E = R = y = A = void 0;
|
|
411
411
|
}
|
|
412
412
|
function H() {
|
|
413
|
-
return A === void 0 ? O :
|
|
413
|
+
return A === void 0 ? O : $(p());
|
|
414
414
|
}
|
|
415
415
|
function F() {
|
|
416
|
-
var W = p(), B =
|
|
417
|
-
if (
|
|
416
|
+
var W = p(), B = f(W);
|
|
417
|
+
if (E = arguments, y = this, R = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(R);
|
|
420
420
|
if (T)
|
|
@@ -447,7 +447,7 @@ function Tn() {
|
|
|
447
447
|
return v === 0 ? v : +v;
|
|
448
448
|
v = v.replace(i, "");
|
|
449
449
|
var w = s.test(v);
|
|
450
|
-
return w ||
|
|
450
|
+
return w || c.test(v) ? u(v.slice(2), w ? 2 : 8) : a.test(v) ? t : +v;
|
|
451
451
|
}
|
|
452
452
|
return _t = I, _t;
|
|
453
453
|
}
|
|
@@ -463,8 +463,8 @@ function yt() {
|
|
|
463
463
|
(function() {
|
|
464
464
|
var t = {}.hasOwnProperty;
|
|
465
465
|
function r() {
|
|
466
|
-
for (var s = "",
|
|
467
|
-
var u = arguments[
|
|
466
|
+
for (var s = "", c = 0; c < arguments.length; c++) {
|
|
467
|
+
var u = arguments[c];
|
|
468
468
|
u && (s = a(s, i(u)));
|
|
469
469
|
}
|
|
470
470
|
return s;
|
|
@@ -478,13 +478,13 @@ function yt() {
|
|
|
478
478
|
return r.apply(null, s);
|
|
479
479
|
if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
|
|
480
480
|
return s.toString();
|
|
481
|
-
var
|
|
481
|
+
var c = "";
|
|
482
482
|
for (var u in s)
|
|
483
|
-
t.call(s, u) && s[u] && (
|
|
484
|
-
return
|
|
483
|
+
t.call(s, u) && s[u] && (c = a(c, u));
|
|
484
|
+
return c;
|
|
485
485
|
}
|
|
486
|
-
function a(s,
|
|
487
|
-
return
|
|
486
|
+
function a(s, c) {
|
|
487
|
+
return c ? s ? s + " " + c : s + c : s;
|
|
488
488
|
}
|
|
489
489
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
490
490
|
})();
|
|
@@ -585,28 +585,28 @@ function Ke() {
|
|
|
585
585
|
}, i(m);
|
|
586
586
|
}
|
|
587
587
|
function a(m, n) {
|
|
588
|
-
var
|
|
588
|
+
var f = Object.keys(m);
|
|
589
589
|
if (Object.getOwnPropertySymbols) {
|
|
590
590
|
var S = Object.getOwnPropertySymbols(m);
|
|
591
|
-
n && (S = S.filter(function(
|
|
592
|
-
return Object.getOwnPropertyDescriptor(m,
|
|
593
|
-
})),
|
|
591
|
+
n && (S = S.filter(function($) {
|
|
592
|
+
return Object.getOwnPropertyDescriptor(m, $).enumerable;
|
|
593
|
+
})), f.push.apply(f, S);
|
|
594
594
|
}
|
|
595
|
-
return
|
|
595
|
+
return f;
|
|
596
596
|
}
|
|
597
597
|
function s(m) {
|
|
598
598
|
for (var n = 1; n < arguments.length; n++) {
|
|
599
|
-
var
|
|
600
|
-
n % 2 ? a(Object(
|
|
601
|
-
|
|
602
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(
|
|
603
|
-
Object.defineProperty(m, S, Object.getOwnPropertyDescriptor(
|
|
599
|
+
var f = arguments[n] != null ? arguments[n] : {};
|
|
600
|
+
n % 2 ? a(Object(f), !0).forEach(function(S) {
|
|
601
|
+
c(m, S, f[S]);
|
|
602
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(f)) : a(Object(f)).forEach(function(S) {
|
|
603
|
+
Object.defineProperty(m, S, Object.getOwnPropertyDescriptor(f, S));
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
return m;
|
|
607
607
|
}
|
|
608
|
-
function
|
|
609
|
-
return (n = u(n)) in m ? Object.defineProperty(m, n, { value:
|
|
608
|
+
function c(m, n, f) {
|
|
609
|
+
return (n = u(n)) in m ? Object.defineProperty(m, n, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : m[n] = f, m;
|
|
610
610
|
}
|
|
611
611
|
function u(m) {
|
|
612
612
|
var n = l(m, "string");
|
|
@@ -614,35 +614,35 @@ function Ke() {
|
|
|
614
614
|
}
|
|
615
615
|
function l(m, n) {
|
|
616
616
|
if (i(m) != "object" || !m) return m;
|
|
617
|
-
var
|
|
618
|
-
if (
|
|
619
|
-
var S =
|
|
617
|
+
var f = m[Symbol.toPrimitive];
|
|
618
|
+
if (f !== void 0) {
|
|
619
|
+
var S = f.call(m, n);
|
|
620
620
|
if (i(S) != "object") return S;
|
|
621
621
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
622
622
|
}
|
|
623
623
|
return (n === "string" ? String : Number)(m);
|
|
624
624
|
}
|
|
625
|
-
function h(m, n,
|
|
626
|
-
return Math.max(n, Math.min(m,
|
|
625
|
+
function h(m, n, f) {
|
|
626
|
+
return Math.max(n, Math.min(m, f));
|
|
627
627
|
}
|
|
628
628
|
var g = Y.safePreventDefault = function(n) {
|
|
629
|
-
var
|
|
630
|
-
|
|
629
|
+
var f = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
|
+
f.includes(n._reactName) || n.preventDefault();
|
|
631
631
|
}, x = Y.getOnDemandLazySlides = function(n) {
|
|
632
|
-
for (var
|
|
633
|
-
n.lazyLoadedList.indexOf(L) < 0 &&
|
|
634
|
-
return
|
|
632
|
+
for (var f = [], S = j(n), $ = M(n), L = S; L < $; L++)
|
|
633
|
+
n.lazyLoadedList.indexOf(L) < 0 && f.push(L);
|
|
634
|
+
return f;
|
|
635
635
|
};
|
|
636
636
|
Y.getRequiredLazySlides = function(n) {
|
|
637
|
-
for (var
|
|
638
|
-
|
|
639
|
-
return
|
|
637
|
+
for (var f = [], S = j(n), $ = M(n), L = S; L < $; L++)
|
|
638
|
+
f.push(L);
|
|
639
|
+
return f;
|
|
640
640
|
};
|
|
641
641
|
var j = Y.lazyStartIndex = function(n) {
|
|
642
|
-
return n.currentSlide -
|
|
643
|
-
},
|
|
642
|
+
return n.currentSlide - P(n);
|
|
643
|
+
}, M = Y.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
645
|
-
},
|
|
645
|
+
}, P = Y.lazySlidesOnLeft = function(n) {
|
|
646
646
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
647
647
|
}, p = Y.lazySlidesOnRight = function(n) {
|
|
648
648
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
@@ -651,36 +651,36 @@ function Ke() {
|
|
|
651
651
|
}, C = Y.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
653
|
}, N = Y.getSwipeDirection = function(n) {
|
|
654
|
-
var
|
|
655
|
-
return S = n.startX - n.curX,
|
|
654
|
+
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, $, L, H;
|
|
655
|
+
return S = n.startX - n.curX, $ = n.startY - n.curY, L = Math.atan2($, S), H = Math.round(L * 180 / Math.PI), H < 0 && (H = 360 - Math.abs(H)), H <= 45 && H >= 0 || H <= 360 && H >= 315 ? "left" : H >= 135 && H <= 225 ? "right" : f === !0 ? H >= 35 && H <= 135 ? "up" : "down" : "vertical";
|
|
656
656
|
}, U = Y.canGoNext = function(n) {
|
|
657
|
-
var
|
|
658
|
-
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (
|
|
657
|
+
var f = !0;
|
|
658
|
+
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (f = !1), f;
|
|
659
659
|
};
|
|
660
|
-
Y.extractObject = function(n,
|
|
660
|
+
Y.extractObject = function(n, f) {
|
|
661
661
|
var S = {};
|
|
662
|
-
return
|
|
663
|
-
return S[
|
|
662
|
+
return f.forEach(function($) {
|
|
663
|
+
return S[$] = n[$];
|
|
664
664
|
}), S;
|
|
665
665
|
}, Y.initializedState = function(n) {
|
|
666
|
-
var
|
|
666
|
+
var f = e.default.Children.count(n.children), S = n.listRef, $ = Math.ceil(I(S)), L = n.trackRef && n.trackRef.node, H = Math.ceil(I(L)), F;
|
|
667
667
|
if (n.vertical)
|
|
668
|
-
F =
|
|
668
|
+
F = $;
|
|
669
669
|
else {
|
|
670
670
|
var W = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
671
|
-
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *=
|
|
671
|
+
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= $ / 100), F = Math.ceil(($ - W) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
673
|
var B = S && C(S.querySelector('[data-index="0"]')), G = B * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
|
-
n.rtl && n.currentSlide === void 0 && (X =
|
|
674
|
+
n.rtl && n.currentSlide === void 0 && (X = f - 1 - n.initialSlide);
|
|
675
675
|
var J = n.lazyLoadedList || [], te = x(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: X,
|
|
677
677
|
lazyLoadedList: J
|
|
678
678
|
}));
|
|
679
679
|
J = J.concat(te);
|
|
680
680
|
var Z = {
|
|
681
|
-
slideCount:
|
|
681
|
+
slideCount: f,
|
|
682
682
|
slideWidth: F,
|
|
683
|
-
listWidth:
|
|
683
|
+
listWidth: $,
|
|
684
684
|
trackWidth: H,
|
|
685
685
|
currentSlide: X,
|
|
686
686
|
slideHeight: B,
|
|
@@ -689,10 +689,10 @@ function Ke() {
|
|
|
689
689
|
};
|
|
690
690
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
691
691
|
}, Y.slideHandler = function(n) {
|
|
692
|
-
var
|
|
693
|
-
if (
|
|
692
|
+
var f = n.waitForAnimate, S = n.animating, $ = n.fade, L = n.infinite, H = n.index, F = n.slideCount, W = n.lazyLoad, B = n.currentSlide, G = n.centerMode, X = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
|
+
if (f && S) return {};
|
|
694
694
|
var ee = H, ie, le, Q, oe = {}, ue = {}, ce = L ? H : h(H, 0, F - 1);
|
|
695
|
-
if (
|
|
695
|
+
if ($) {
|
|
696
696
|
if (!L && (H < 0 || H >= F)) return {};
|
|
697
697
|
H < 0 ? ee = H + F : H >= F && (ee = H - F), W && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
698
698
|
animating: !0,
|
|
@@ -721,14 +721,14 @@ function Ke() {
|
|
|
721
721
|
}, ue = {
|
|
722
722
|
animating: !1,
|
|
723
723
|
currentSlide: ie,
|
|
724
|
-
trackStyle:
|
|
724
|
+
trackStyle: E(s(s({}, n), {}, {
|
|
725
725
|
left: Q
|
|
726
726
|
})),
|
|
727
727
|
swipeLeft: null,
|
|
728
728
|
targetSlide: ce
|
|
729
729
|
}) : oe = {
|
|
730
730
|
currentSlide: ie,
|
|
731
|
-
trackStyle:
|
|
731
|
+
trackStyle: E(s(s({}, n), {}, {
|
|
732
732
|
left: Q
|
|
733
733
|
})),
|
|
734
734
|
lazyLoadedList: Z,
|
|
@@ -738,27 +738,27 @@ function Ke() {
|
|
|
738
738
|
state: oe,
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
|
-
}, Y.changeSlide = function(n,
|
|
742
|
-
var S,
|
|
743
|
-
if (H = G % W !== 0, S = H ? 0 : (G - X) % W,
|
|
744
|
-
L = S === 0 ? W : B - S, F = X - L, te && !Z && (
|
|
745
|
-
else if (
|
|
741
|
+
}, Y.changeSlide = function(n, f) {
|
|
742
|
+
var S, $, L, H, F, W = n.slidesToScroll, B = n.slidesToShow, G = n.slideCount, X = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
|
+
if (H = G % W !== 0, S = H ? 0 : (G - X) % W, f.message === "previous")
|
|
744
|
+
L = S === 0 ? W : B - S, F = X - L, te && !Z && ($ = X - L, F = $ === -1 ? G - 1 : $), Z || (F = J - W);
|
|
745
|
+
else if (f.message === "next")
|
|
746
746
|
L = S === 0 ? W : S, F = X + L, te && !Z && (F = (X + W) % G + S), Z || (F = J + W);
|
|
747
|
-
else if (
|
|
748
|
-
F =
|
|
749
|
-
else if (
|
|
750
|
-
if (F =
|
|
747
|
+
else if (f.message === "dots")
|
|
748
|
+
F = f.index * f.slidesToScroll;
|
|
749
|
+
else if (f.message === "children") {
|
|
750
|
+
if (F = f.index, Z) {
|
|
751
751
|
var ee = _(s(s({}, n), {}, {
|
|
752
752
|
targetSlide: F
|
|
753
753
|
}));
|
|
754
|
-
F >
|
|
754
|
+
F > f.currentSlide && ee === "left" ? F = F - G : F < f.currentSlide && ee === "right" && (F = F + G);
|
|
755
755
|
}
|
|
756
|
-
} else
|
|
756
|
+
} else f.message === "index" && (F = Number(f.index));
|
|
757
757
|
return F;
|
|
758
|
-
}, Y.keyHandler = function(n,
|
|
759
|
-
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !
|
|
760
|
-
}, Y.swipeStart = function(n,
|
|
761
|
-
return n.target.tagName === "IMG" && g(n), !
|
|
758
|
+
}, Y.keyHandler = function(n, f, S) {
|
|
759
|
+
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !f ? "" : n.keyCode === 37 ? S ? "next" : "previous" : n.keyCode === 39 ? S ? "previous" : "next" : "";
|
|
760
|
+
}, Y.swipeStart = function(n, f, S) {
|
|
761
|
+
return n.target.tagName === "IMG" && g(n), !f || !S && n.type.indexOf("mouse") !== -1 ? "" : {
|
|
762
762
|
dragging: !0,
|
|
763
763
|
touchObject: {
|
|
764
764
|
startX: n.touches ? n.touches[0].pageX : n.clientX,
|
|
@@ -767,12 +767,12 @@ function Ke() {
|
|
|
767
767
|
curY: n.touches ? n.touches[0].pageY : n.clientY
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
|
-
}, Y.swipeMove = function(n,
|
|
771
|
-
var S =
|
|
770
|
+
}, Y.swipeMove = function(n, f) {
|
|
771
|
+
var S = f.scrolling, $ = f.animating, L = f.vertical, H = f.swipeToSlide, F = f.verticalSwiping, W = f.rtl, B = f.currentSlide, G = f.edgeFriction, X = f.edgeDragged, J = f.onEdge, te = f.swiped, Z = f.swiping, ee = f.slideCount, ie = f.slidesToScroll, le = f.infinite, Q = f.touchObject, oe = f.swipeEvent, ue = f.listHeight, ce = f.listWidth;
|
|
772
772
|
if (!S) {
|
|
773
|
-
if (
|
|
773
|
+
if ($) return g(n);
|
|
774
774
|
L && H && F && g(n);
|
|
775
|
-
var pe, Pe = {}, tt = d(
|
|
775
|
+
var pe, Pe = {}, tt = d(f);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
778
778
|
if (!F && !Z && tr > 10)
|
|
@@ -782,19 +782,19 @@ 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 On = Math.ceil(ee / ie), Ce = N(
|
|
786
|
-
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(
|
|
785
|
+
var On = Math.ceil(ee / ie), Ce = N(f.touchObject, F), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 && J && (J(Ce), Pe.edgeDragged = !0)), !te && oe && (oe(Ce), Pe.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, F && (pe = tt + Ae * Ie), Pe = s(s({}, Pe), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
|
-
trackStyle:
|
|
789
|
+
trackStyle: E(s(s({}, f), {}, {
|
|
790
790
|
left: pe
|
|
791
791
|
}))
|
|
792
792
|
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Pe.swiping = !0, g(n)), Pe;
|
|
793
793
|
}
|
|
794
|
-
}, Y.swipeEnd = function(n,
|
|
795
|
-
var S =
|
|
794
|
+
}, Y.swipeEnd = function(n, f) {
|
|
795
|
+
var S = f.dragging, $ = f.swipe, L = f.touchObject, H = f.listWidth, F = f.touchThreshold, W = f.verticalSwiping, B = f.listHeight, G = f.swipeToSlide, X = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
796
796
|
if (!S)
|
|
797
|
-
return
|
|
797
|
+
return $ && g(n), {};
|
|
798
798
|
var ie = W ? B / F : H / F, le = N(L, W), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
@@ -812,50 +812,50 @@ function Ke() {
|
|
|
812
812
|
switch (le) {
|
|
813
813
|
case "left":
|
|
814
814
|
case "up":
|
|
815
|
-
ue = ce + b(
|
|
815
|
+
ue = ce + b(f), oe = G ? v(f, ue) : ue, Q.currentDirection = 0;
|
|
816
816
|
break;
|
|
817
817
|
case "right":
|
|
818
818
|
case "down":
|
|
819
|
-
ue = ce - b(
|
|
819
|
+
ue = ce - b(f), oe = G ? v(f, ue) : ue, Q.currentDirection = 1;
|
|
820
820
|
break;
|
|
821
821
|
default:
|
|
822
822
|
oe = ce;
|
|
823
823
|
}
|
|
824
824
|
Q.triggerSlideHandler = oe;
|
|
825
825
|
} else {
|
|
826
|
-
var pe = d(
|
|
827
|
-
Q.trackStyle = y(s(s({},
|
|
826
|
+
var pe = d(f);
|
|
827
|
+
Q.trackStyle = y(s(s({}, f), {}, {
|
|
828
828
|
left: pe
|
|
829
829
|
}));
|
|
830
830
|
}
|
|
831
831
|
return Q;
|
|
832
832
|
};
|
|
833
833
|
var V = Y.getNavigableIndexes = function(n) {
|
|
834
|
-
for (var
|
|
835
|
-
L.push(S), S =
|
|
834
|
+
for (var f = n.infinite ? n.slideCount * 2 : n.slideCount, S = n.infinite ? n.slidesToShow * -1 : 0, $ = n.infinite ? n.slidesToShow * -1 : 0, L = []; S < f; )
|
|
835
|
+
L.push(S), S = $ + n.slidesToScroll, $ += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
836
836
|
return L;
|
|
837
|
-
}, v = Y.checkNavigable = function(n,
|
|
838
|
-
var S = V(n),
|
|
839
|
-
if (
|
|
840
|
-
|
|
837
|
+
}, v = Y.checkNavigable = function(n, f) {
|
|
838
|
+
var S = V(n), $ = 0;
|
|
839
|
+
if (f > S[S.length - 1])
|
|
840
|
+
f = S[S.length - 1];
|
|
841
841
|
else
|
|
842
842
|
for (var L in S) {
|
|
843
|
-
if (
|
|
844
|
-
|
|
843
|
+
if (f < S[L]) {
|
|
844
|
+
f = $;
|
|
845
845
|
break;
|
|
846
846
|
}
|
|
847
|
-
|
|
847
|
+
$ = S[L];
|
|
848
848
|
}
|
|
849
|
-
return
|
|
849
|
+
return f;
|
|
850
850
|
}, b = Y.getSlideCount = function(n) {
|
|
851
|
-
var
|
|
851
|
+
var f = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
852
852
|
if (n.swipeToSlide) {
|
|
853
|
-
var S,
|
|
853
|
+
var S, $ = n.listRef, L = $.querySelectorAll && $.querySelectorAll(".slick-slide") || [];
|
|
854
854
|
if (Array.from(L).every(function(W) {
|
|
855
855
|
if (n.vertical) {
|
|
856
856
|
if (W.offsetTop + C(W) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return S = W, !1;
|
|
858
|
-
} else if (W.offsetLeft -
|
|
858
|
+
} else if (W.offsetLeft - f + I(W) / 2 > n.swipeLeft * -1)
|
|
859
859
|
return S = W, !1;
|
|
860
860
|
return !0;
|
|
861
861
|
}), !S)
|
|
@@ -864,18 +864,18 @@ function Ke() {
|
|
|
864
864
|
return F;
|
|
865
865
|
} else
|
|
866
866
|
return n.slidesToScroll;
|
|
867
|
-
}, w = Y.checkSpecKeys = function(n,
|
|
868
|
-
return
|
|
869
|
-
return S && n.hasOwnProperty(
|
|
867
|
+
}, w = Y.checkSpecKeys = function(n, f) {
|
|
868
|
+
return f.reduce(function(S, $) {
|
|
869
|
+
return S && n.hasOwnProperty($);
|
|
870
870
|
}, !0) ? null : console.error("Keys Missing:", n);
|
|
871
|
-
},
|
|
871
|
+
}, E = Y.getTrackCSS = function(n) {
|
|
872
872
|
w(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
873
|
-
var
|
|
873
|
+
var f, S;
|
|
874
874
|
if (!n.vertical)
|
|
875
|
-
|
|
875
|
+
f = R(n) * n.slideWidth;
|
|
876
876
|
else {
|
|
877
|
-
var
|
|
878
|
-
S =
|
|
877
|
+
var $ = n.unslick ? n.slideCount : n.slideCount + 2 * n.slidesToShow;
|
|
878
|
+
S = $ * n.slideHeight;
|
|
879
879
|
}
|
|
880
880
|
var L = {
|
|
881
881
|
opacity: 1,
|
|
@@ -893,23 +893,23 @@ function Ke() {
|
|
|
893
893
|
n.vertical ? L.top = n.left : L.left = n.left;
|
|
894
894
|
return n.fade && (L = {
|
|
895
895
|
opacity: 1
|
|
896
|
-
}),
|
|
896
|
+
}), f && (L.width = f), S && (L.height = S), window && !window.addEventListener && window.attachEvent && (n.vertical ? L.marginTop = n.left + "px" : L.marginLeft = n.left + "px"), L;
|
|
897
897
|
}, y = Y.getTrackAnimateCSS = function(n) {
|
|
898
898
|
w(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
|
-
var
|
|
900
|
-
return n.useTransform ? (
|
|
899
|
+
var f = E(n);
|
|
900
|
+
return n.useTransform ? (f.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, f.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? f.transition = "top " + n.speed + "ms " + n.cssEase : f.transition = "left " + n.speed + "ms " + n.cssEase, f;
|
|
901
901
|
}, d = Y.getTrackLeft = function(n) {
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
904
|
w(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
-
var
|
|
905
|
+
var f = n.slideIndex, S = n.trackRef, $ = n.infinite, L = n.centerMode, H = n.slideCount, F = n.slidesToShow, W = n.slidesToScroll, B = n.slideWidth, G = n.listWidth, X = 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 (
|
|
909
|
+
if ($ ? (oe = -O(n), H % W !== 0 && f + W > H && (oe = -(f > H ? F - (f - H) : H % W)), L && (oe += parseInt(F / 2))) : (H % W !== 0 && f + W > H && (oe = F - H % W), L && (oe = parseInt(F / 2))), ee = oe * B, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * B * -1 + ee, X === !0) {
|
|
910
910
|
var ue, ce = S && S.node;
|
|
911
|
-
if (ue =
|
|
912
|
-
ue =
|
|
911
|
+
if (ue = f + O(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, L === !0) {
|
|
912
|
+
ue = $ ? f + O(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
913
913
|
for (var pe = 0; pe < ue; pe++)
|
|
914
914
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
915
915
|
ie -= parseInt(n.centerPadding), ie += le && (G - le.offsetWidth) / 2;
|
|
@@ -925,27 +925,27 @@ function Ke() {
|
|
|
925
925
|
}, _ = Y.siblingDirection = function(n) {
|
|
926
926
|
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + k(n) ? "left" : "right" : n.targetSlide < n.currentSlide - T(n) ? "right" : "left";
|
|
927
927
|
}, k = Y.slidesOnRight = function(n) {
|
|
928
|
-
var
|
|
928
|
+
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
929
929
|
if (S) {
|
|
930
|
-
var H = (
|
|
931
|
-
return parseInt(L) > 0 && (H += 1),
|
|
930
|
+
var H = (f - 1) / 2 + 1;
|
|
931
|
+
return parseInt(L) > 0 && (H += 1), $ && f % 2 === 0 && (H += 1), H;
|
|
932
932
|
}
|
|
933
|
-
return
|
|
933
|
+
return $ ? 0 : f - 1;
|
|
934
934
|
}, T = Y.slidesOnLeft = function(n) {
|
|
935
|
-
var
|
|
935
|
+
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
936
936
|
if (S) {
|
|
937
|
-
var H = (
|
|
938
|
-
return parseInt(L) > 0 && (H += 1),
|
|
937
|
+
var H = (f - 1) / 2 + 1;
|
|
938
|
+
return parseInt(L) > 0 && (H += 1), !$ && f % 2 === 0 && (H += 1), H;
|
|
939
939
|
}
|
|
940
|
-
return
|
|
940
|
+
return $ ? f - 1 : 0;
|
|
941
941
|
};
|
|
942
942
|
Y.canUseDOM = function() {
|
|
943
943
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
944
944
|
};
|
|
945
945
|
var o = Y.validSettings = Object.keys(t.default);
|
|
946
946
|
function z(m) {
|
|
947
|
-
return o.reduce(function(n,
|
|
948
|
-
return m.hasOwnProperty(
|
|
947
|
+
return o.reduce(function(n, f) {
|
|
948
|
+
return m.hasOwnProperty(f) && (n[f] = m[f]), n;
|
|
949
949
|
}, {});
|
|
950
950
|
}
|
|
951
951
|
return Y;
|
|
@@ -978,7 +978,7 @@ function jn() {
|
|
|
978
978
|
return y;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function c(y, d) {
|
|
982
982
|
if (!(y instanceof d)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
984
|
function u(y, d) {
|
|
@@ -1000,7 +1000,7 @@ function jn() {
|
|
|
1000
1000
|
}, g(y, d);
|
|
1001
1001
|
}
|
|
1002
1002
|
function x(y) {
|
|
1003
|
-
var d =
|
|
1003
|
+
var d = P();
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var O, A = p(y);
|
|
1006
1006
|
if (d) {
|
|
@@ -1013,19 +1013,19 @@ function jn() {
|
|
|
1013
1013
|
function j(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 M(y);
|
|
1017
1017
|
}
|
|
1018
|
-
function
|
|
1018
|
+
function M(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 P() {
|
|
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 (P = function() {
|
|
1029
1029
|
return !!y;
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
@@ -1091,10 +1091,10 @@ function jn() {
|
|
|
1091
1091
|
return (d.variableWidth === void 0 || d.variableWidth === !1) && (O.width = d.slideWidth), d.fade && (O.position = "relative", d.vertical ? O.top = -d.index * parseInt(d.slideHeight) : O.left = -d.index * parseInt(d.slideWidth), O.opacity = d.currentSlide === d.index ? 1 : 0, O.zIndex = d.currentSlide === d.index ? 999 : 998, d.useCSS && (O.transition = "opacity " + d.speed + "ms " + d.cssEase + ", visibility " + d.speed + "ms " + d.cssEase)), O;
|
|
1092
1092
|
}, w = function(d, O) {
|
|
1093
1093
|
return d.key || O;
|
|
1094
|
-
},
|
|
1094
|
+
}, E = function(d) {
|
|
1095
1095
|
var O, A = [], R = [], _ = [], k = e.default.Children.count(d.children), T = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
1096
1096
|
return e.default.Children.forEach(d.children, function(z, m) {
|
|
1097
|
-
var n,
|
|
1097
|
+
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
1099
1099
|
index: m,
|
|
1100
1100
|
slidesToScroll: d.slidesToScroll,
|
|
@@ -1103,20 +1103,20 @@ function jn() {
|
|
|
1103
1103
|
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n = z : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
1104
|
var S = b(C(C({}, d), {}, {
|
|
1105
1105
|
index: m
|
|
1106
|
-
})),
|
|
1106
|
+
})), $ = n.props.className || "", L = v(C(C({}, d), {}, {
|
|
1107
1107
|
index: m
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1110
1110
|
key: "original" + w(n, m),
|
|
1111
1111
|
"data-index": m,
|
|
1112
|
-
className: (0, t.default)(L,
|
|
1112
|
+
className: (0, t.default)(L, $),
|
|
1113
1113
|
tabIndex: "-1",
|
|
1114
1114
|
"aria-hidden": !L["slick-active"],
|
|
1115
1115
|
style: C(C({
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), S),
|
|
1118
1118
|
onClick: function(W) {
|
|
1119
|
-
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(
|
|
1119
|
+
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1120
1120
|
}
|
|
1121
1121
|
})), d.infinite && k > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
1122
|
var H = k - m;
|
|
@@ -1126,11 +1126,11 @@ function jn() {
|
|
|
1126
1126
|
key: "precloned" + w(n, O),
|
|
1127
1127
|
"data-index": O,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
|
-
className: (0, t.default)(L,
|
|
1129
|
+
className: (0, t.default)(L, $),
|
|
1130
1130
|
"aria-hidden": !L["slick-active"],
|
|
1131
1131
|
style: C(C({}, n.props.style || {}), S),
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
|
-
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(
|
|
1133
|
+
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
1135
|
}))), m < (0, r.getPostClones)(d) && (O = k + m, O < o && (n = z), L = v(C(C({}, d), {}, {
|
|
1136
1136
|
index: O
|
|
@@ -1138,11 +1138,11 @@ function jn() {
|
|
|
1138
1138
|
key: "postcloned" + w(n, O),
|
|
1139
1139
|
"data-index": O,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
|
-
className: (0, t.default)(L,
|
|
1141
|
+
className: (0, t.default)(L, $),
|
|
1142
1142
|
"aria-hidden": !L["slick-active"],
|
|
1143
1143
|
style: C(C({}, n.props.style || {}), S),
|
|
1144
1144
|
onClick: function(W) {
|
|
1145
|
-
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(
|
|
1145
|
+
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
@@ -1153,17 +1153,17 @@ function jn() {
|
|
|
1153
1153
|
var d = x(O);
|
|
1154
1154
|
function O() {
|
|
1155
1155
|
var A;
|
|
1156
|
-
|
|
1156
|
+
c(this, O);
|
|
1157
1157
|
for (var R = arguments.length, _ = new Array(R), k = 0; k < R; k++)
|
|
1158
1158
|
_[k] = arguments[k];
|
|
1159
|
-
return A = d.call.apply(d, [this].concat(_)), N(
|
|
1159
|
+
return A = d.call.apply(d, [this].concat(_)), N(M(A), "node", null), N(M(A), "handleRef", function(T) {
|
|
1160
1160
|
A.node = T;
|
|
1161
1161
|
}), A;
|
|
1162
1162
|
}
|
|
1163
1163
|
return l(O, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
|
-
var R =
|
|
1166
|
+
var R = E(this.props), _ = this.props, k = _.onMouseEnter, T = _.onMouseOver, o = _.onMouseLeave, z = {
|
|
1167
1167
|
onMouseEnter: k,
|
|
1168
1168
|
onMouseOver: T,
|
|
1169
1169
|
onMouseLeave: o
|
|
@@ -1199,20 +1199,20 @@ function Ln() {
|
|
|
1199
1199
|
function s(v, b) {
|
|
1200
1200
|
var w = Object.keys(v);
|
|
1201
1201
|
if (Object.getOwnPropertySymbols) {
|
|
1202
|
-
var
|
|
1203
|
-
b && (
|
|
1202
|
+
var E = Object.getOwnPropertySymbols(v);
|
|
1203
|
+
b && (E = E.filter(function(y) {
|
|
1204
1204
|
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1205
|
-
})), w.push.apply(w,
|
|
1205
|
+
})), w.push.apply(w, E);
|
|
1206
1206
|
}
|
|
1207
1207
|
return w;
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1209
|
+
function c(v) {
|
|
1210
1210
|
for (var b = 1; b < arguments.length; b++) {
|
|
1211
1211
|
var w = arguments[b] != null ? arguments[b] : {};
|
|
1212
|
-
b % 2 ? s(Object(w), !0).forEach(function(
|
|
1213
|
-
u(v,
|
|
1214
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(w)) : s(Object(w)).forEach(function(
|
|
1215
|
-
Object.defineProperty(v,
|
|
1212
|
+
b % 2 ? s(Object(w), !0).forEach(function(E) {
|
|
1213
|
+
u(v, E, w[E]);
|
|
1214
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(w)) : s(Object(w)).forEach(function(E) {
|
|
1215
|
+
Object.defineProperty(v, E, Object.getOwnPropertyDescriptor(w, E));
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
1218
|
return v;
|
|
@@ -1225,8 +1225,8 @@ function Ln() {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
function h(v, b) {
|
|
1227
1227
|
for (var w = 0; w < b.length; w++) {
|
|
1228
|
-
var
|
|
1229
|
-
|
|
1228
|
+
var E = b[w];
|
|
1229
|
+
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v, x(E.key), E);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
function g(v, b, w) {
|
|
@@ -1240,29 +1240,29 @@ function Ln() {
|
|
|
1240
1240
|
if (e(v) != "object" || !v) return v;
|
|
1241
1241
|
var w = v[Symbol.toPrimitive];
|
|
1242
1242
|
if (w !== void 0) {
|
|
1243
|
-
var
|
|
1244
|
-
if (e(
|
|
1243
|
+
var E = w.call(v, b);
|
|
1244
|
+
if (e(E) != "object") return E;
|
|
1245
1245
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1246
1246
|
}
|
|
1247
1247
|
return String(v);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function M(v, b) {
|
|
1250
1250
|
if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
-
v.prototype = Object.create(b && b.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), b &&
|
|
1251
|
+
v.prototype = Object.create(b && b.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), b && P(v, b);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return
|
|
1255
|
-
return w.__proto__ =
|
|
1256
|
-
},
|
|
1253
|
+
function P(v, b) {
|
|
1254
|
+
return P = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w, E) {
|
|
1255
|
+
return w.__proto__ = E, w;
|
|
1256
|
+
}, P(v, b);
|
|
1257
1257
|
}
|
|
1258
1258
|
function p(v) {
|
|
1259
1259
|
var b = N();
|
|
1260
1260
|
return function() {
|
|
1261
|
-
var w,
|
|
1261
|
+
var w, E = U(v);
|
|
1262
1262
|
if (b) {
|
|
1263
1263
|
var y = U(this).constructor;
|
|
1264
|
-
w = Reflect.construct(
|
|
1265
|
-
} else w =
|
|
1264
|
+
w = Reflect.construct(E, arguments, y);
|
|
1265
|
+
} else w = E.apply(this, arguments);
|
|
1266
1266
|
return I(this, w);
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
@@ -1295,7 +1295,7 @@ function Ln() {
|
|
|
1295
1295
|
return b.infinite ? w = Math.ceil(b.slideCount / b.slidesToScroll) : w = Math.ceil((b.slideCount - b.slidesToShow) / b.slidesToScroll) + 1, w;
|
|
1296
1296
|
};
|
|
1297
1297
|
return We.Dots = /* @__PURE__ */ function(v) {
|
|
1298
|
-
|
|
1298
|
+
M(w, v);
|
|
1299
1299
|
var b = p(w);
|
|
1300
1300
|
function w() {
|
|
1301
1301
|
return l(this, w), b.apply(this, arguments);
|
|
@@ -1317,23 +1317,23 @@ function Ln() {
|
|
|
1317
1317
|
onMouseEnter: d,
|
|
1318
1318
|
onMouseOver: O,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
|
-
}, n = [],
|
|
1321
|
-
var S = (
|
|
1322
|
-
"slick-active": R ? o >= H && o <=
|
|
1320
|
+
}, n = [], f = 0; f < z; f++) {
|
|
1321
|
+
var S = (f + 1) * _ - 1, $ = R ? S : (0, i.clamp)(S, 0, T - 1), L = $ - (_ - 1), H = R ? L : (0, i.clamp)(L, 0, T - 1), F = (0, r.default)({
|
|
1322
|
+
"slick-active": R ? o >= H && o <= $ : o === H
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
1325
|
-
index:
|
|
1325
|
+
index: f,
|
|
1326
1326
|
slidesToScroll: _,
|
|
1327
1327
|
currentSlide: o
|
|
1328
1328
|
}, B = this.clickHandler.bind(this, W);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
1330
|
-
key:
|
|
1330
|
+
key: f,
|
|
1331
1331
|
className: F
|
|
1332
|
-
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(
|
|
1332
|
+
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(f), {
|
|
1333
1333
|
onClick: B
|
|
1334
1334
|
})));
|
|
1335
1335
|
}
|
|
1336
|
-
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n),
|
|
1336
|
+
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n), c({
|
|
1337
1337
|
className: this.props.dotsClass
|
|
1338
1338
|
}, m));
|
|
1339
1339
|
}
|
|
@@ -1363,29 +1363,29 @@ function Dn() {
|
|
|
1363
1363
|
return s = Object.assign ? Object.assign.bind() : function(v) {
|
|
1364
1364
|
for (var b = 1; b < arguments.length; b++) {
|
|
1365
1365
|
var w = arguments[b];
|
|
1366
|
-
for (var
|
|
1367
|
-
({}).hasOwnProperty.call(w,
|
|
1366
|
+
for (var E in w)
|
|
1367
|
+
({}).hasOwnProperty.call(w, E) && (v[E] = w[E]);
|
|
1368
1368
|
}
|
|
1369
1369
|
return v;
|
|
1370
1370
|
}, s.apply(null, arguments);
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function c(v, b) {
|
|
1373
1373
|
var w = Object.keys(v);
|
|
1374
1374
|
if (Object.getOwnPropertySymbols) {
|
|
1375
|
-
var
|
|
1376
|
-
b && (
|
|
1375
|
+
var E = Object.getOwnPropertySymbols(v);
|
|
1376
|
+
b && (E = E.filter(function(y) {
|
|
1377
1377
|
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1378
|
-
})), w.push.apply(w,
|
|
1378
|
+
})), w.push.apply(w, E);
|
|
1379
1379
|
}
|
|
1380
1380
|
return w;
|
|
1381
1381
|
}
|
|
1382
1382
|
function u(v) {
|
|
1383
1383
|
for (var b = 1; b < arguments.length; b++) {
|
|
1384
1384
|
var w = arguments[b] != null ? arguments[b] : {};
|
|
1385
|
-
b % 2 ?
|
|
1386
|
-
l(v,
|
|
1387
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(w)) :
|
|
1388
|
-
Object.defineProperty(v,
|
|
1385
|
+
b % 2 ? c(Object(w), !0).forEach(function(E) {
|
|
1386
|
+
l(v, E, w[E]);
|
|
1387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(w)) : c(Object(w)).forEach(function(E) {
|
|
1388
|
+
Object.defineProperty(v, E, Object.getOwnPropertyDescriptor(w, E));
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
1391
|
return v;
|
|
@@ -1398,44 +1398,44 @@ function Dn() {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
function g(v, b) {
|
|
1400
1400
|
for (var w = 0; w < b.length; w++) {
|
|
1401
|
-
var
|
|
1402
|
-
|
|
1401
|
+
var E = b[w];
|
|
1402
|
+
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v, j(E.key), E);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
function x(v, b, w) {
|
|
1406
1406
|
return b && g(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1407
1407
|
}
|
|
1408
1408
|
function j(v) {
|
|
1409
|
-
var b =
|
|
1409
|
+
var b = M(v, "string");
|
|
1410
1410
|
return e(b) == "symbol" ? b : b + "";
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function M(v, b) {
|
|
1413
1413
|
if (e(v) != "object" || !v) return v;
|
|
1414
1414
|
var w = v[Symbol.toPrimitive];
|
|
1415
1415
|
if (w !== void 0) {
|
|
1416
|
-
var
|
|
1417
|
-
if (e(
|
|
1416
|
+
var E = w.call(v, b);
|
|
1417
|
+
if (e(E) != "object") return E;
|
|
1418
1418
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1419
1419
|
}
|
|
1420
1420
|
return String(v);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function P(v, b) {
|
|
1423
1423
|
if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
1424
|
v.prototype = Object.create(b && b.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), b && p(v, b);
|
|
1425
1425
|
}
|
|
1426
1426
|
function p(v, b) {
|
|
1427
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w,
|
|
1428
|
-
return w.__proto__ =
|
|
1427
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w, E) {
|
|
1428
|
+
return w.__proto__ = E, w;
|
|
1429
1429
|
}, p(v, b);
|
|
1430
1430
|
}
|
|
1431
1431
|
function I(v) {
|
|
1432
1432
|
var b = U();
|
|
1433
1433
|
return function() {
|
|
1434
|
-
var w,
|
|
1434
|
+
var w, E = V(v);
|
|
1435
1435
|
if (b) {
|
|
1436
1436
|
var y = V(this).constructor;
|
|
1437
|
-
w = Reflect.construct(
|
|
1438
|
-
} else w =
|
|
1437
|
+
w = Reflect.construct(E, arguments, y);
|
|
1438
|
+
} else w = E.apply(this, arguments);
|
|
1439
1439
|
return C(this, w);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
@@ -1464,7 +1464,7 @@ function Dn() {
|
|
|
1464
1464
|
}, V(v);
|
|
1465
1465
|
}
|
|
1466
1466
|
return Ee.PrevArrow = /* @__PURE__ */ function(v) {
|
|
1467
|
-
|
|
1467
|
+
P(w, v);
|
|
1468
1468
|
var b = I(w);
|
|
1469
1469
|
function w() {
|
|
1470
1470
|
return h(this, w), b.apply(this, arguments);
|
|
@@ -1503,7 +1503,7 @@ function Dn() {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), w;
|
|
1505
1505
|
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(v) {
|
|
1506
|
-
|
|
1506
|
+
P(w, v);
|
|
1507
1507
|
var b = I(w);
|
|
1508
1508
|
function w() {
|
|
1509
1509
|
return h(this, w), b.apply(this, arguments);
|
|
@@ -1583,8 +1583,8 @@ var Nr = function() {
|
|
|
1583
1583
|
}, t.prototype.forEach = function(r, i) {
|
|
1584
1584
|
i === void 0 && (i = null);
|
|
1585
1585
|
for (var a = 0, s = this.__entries__; a < s.length; a++) {
|
|
1586
|
-
var
|
|
1587
|
-
r.call(i,
|
|
1586
|
+
var c = s[a];
|
|
1587
|
+
r.call(i, c[1], c[0]);
|
|
1588
1588
|
}
|
|
1589
1589
|
}, t;
|
|
1590
1590
|
}()
|
|
@@ -1603,7 +1603,7 @@ function In(e, t) {
|
|
|
1603
1603
|
function s() {
|
|
1604
1604
|
r && (r = !1, e()), i && u();
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function c() {
|
|
1607
1607
|
Mn(s);
|
|
1608
1608
|
}
|
|
1609
1609
|
function u() {
|
|
@@ -1613,7 +1613,7 @@ function In(e, t) {
|
|
|
1613
1613
|
return;
|
|
1614
1614
|
i = !0;
|
|
1615
1615
|
} else
|
|
1616
|
-
r = !0, i = !1, setTimeout(
|
|
1616
|
+
r = !0, i = !1, setTimeout(c, t);
|
|
1617
1617
|
a = l;
|
|
1618
1618
|
}
|
|
1619
1619
|
return u;
|
|
@@ -1668,7 +1668,7 @@ var An = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1668
1668
|
});
|
|
1669
1669
|
}
|
|
1670
1670
|
return e;
|
|
1671
|
-
},
|
|
1671
|
+
}, je = function(e) {
|
|
1672
1672
|
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
1673
1673
|
return t || pt;
|
|
1674
1674
|
}, Wr = bt(0, 0, 0, 0);
|
|
@@ -1685,8 +1685,8 @@ function hr(e) {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
function Fn(e) {
|
|
1687
1687
|
for (var t = ["top", "right", "bottom", "left"], r = {}, i = 0, a = t; i < a.length; i++) {
|
|
1688
|
-
var s = a[i],
|
|
1689
|
-
r[s] = mt(
|
|
1688
|
+
var s = a[i], c = e["padding-" + s];
|
|
1689
|
+
r[s] = mt(c);
|
|
1690
1690
|
}
|
|
1691
1691
|
return r;
|
|
1692
1692
|
}
|
|
@@ -1698,29 +1698,29 @@ function Un(e) {
|
|
|
1698
1698
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1699
1699
|
if (!t && !r)
|
|
1700
1700
|
return Wr;
|
|
1701
|
-
var i =
|
|
1702
|
-
if (i.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(i, "left", "right") + s), Math.round(l +
|
|
1703
|
-
var h = Math.round(u + s) - t, g = Math.round(l +
|
|
1701
|
+
var i = je(e).getComputedStyle(e), a = Fn(i), s = a.left + a.right, c = a.top + a.bottom, u = mt(i.width), l = mt(i.height);
|
|
1702
|
+
if (i.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(i, "left", "right") + s), Math.round(l + c) !== r && (l -= hr(i, "top", "bottom") + c)), !qn(e)) {
|
|
1703
|
+
var h = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
1704
1704
|
Math.abs(h) !== 1 && (u -= h), Math.abs(g) !== 1 && (l -= g);
|
|
1705
1705
|
}
|
|
1706
1706
|
return bt(a.left, a.top, u, l);
|
|
1707
1707
|
}
|
|
1708
1708
|
var Yn = /* @__PURE__ */ function() {
|
|
1709
1709
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1710
|
-
return e instanceof
|
|
1710
|
+
return e instanceof je(e).SVGGraphicsElement;
|
|
1711
1711
|
} : function(e) {
|
|
1712
|
-
return e instanceof
|
|
1712
|
+
return e instanceof je(e).SVGElement && typeof e.getBBox == "function";
|
|
1713
1713
|
};
|
|
1714
1714
|
}();
|
|
1715
1715
|
function qn(e) {
|
|
1716
|
-
return e ===
|
|
1716
|
+
return e === je(e).document.documentElement;
|
|
1717
1717
|
}
|
|
1718
1718
|
function Bn(e) {
|
|
1719
1719
|
return At ? Yn(e) ? Wn(e) : Un(e) : Wr;
|
|
1720
1720
|
}
|
|
1721
1721
|
function Vn(e) {
|
|
1722
|
-
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object,
|
|
1723
|
-
return Fr(
|
|
1722
|
+
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, c = Object.create(s.prototype);
|
|
1723
|
+
return Fr(c, {
|
|
1724
1724
|
x: t,
|
|
1725
1725
|
y: r,
|
|
1726
1726
|
width: i,
|
|
@@ -1729,7 +1729,7 @@ function Vn(e) {
|
|
|
1729
1729
|
right: t + i,
|
|
1730
1730
|
bottom: a + r,
|
|
1731
1731
|
left: t
|
|
1732
|
-
}),
|
|
1732
|
+
}), c;
|
|
1733
1733
|
}
|
|
1734
1734
|
function bt(e, t, r, i) {
|
|
1735
1735
|
return { x: e, y: t, width: r, height: i };
|
|
@@ -1769,7 +1769,7 @@ var Xn = (
|
|
|
1769
1769
|
if (!arguments.length)
|
|
1770
1770
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1771
1771
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1772
|
-
if (!(t instanceof
|
|
1772
|
+
if (!(t instanceof je(t).Element))
|
|
1773
1773
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1774
1774
|
var r = this.observations_;
|
|
1775
1775
|
r.has(t) || (r.set(t, new Xn(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
@@ -1778,7 +1778,7 @@ var Xn = (
|
|
|
1778
1778
|
if (!arguments.length)
|
|
1779
1779
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1780
1780
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1781
|
-
if (!(t instanceof
|
|
1781
|
+
if (!(t instanceof je(t).Element))
|
|
1782
1782
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1783
1783
|
var r = this.observations_;
|
|
1784
1784
|
r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
|
|
@@ -1840,7 +1840,7 @@ function ei() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = h(q), t = h(_n()), r = h(Tn()), i = h(yt()), a = Ke(), s = jn(),
|
|
1843
|
+
var e = h(q), t = h(_n()), r = h(Tn()), i = h(yt()), a = Ke(), s = jn(), c = Ln(), u = Dn(), l = h(Qn);
|
|
1844
1844
|
function h(R) {
|
|
1845
1845
|
return R && R.__esModule ? R : { default: R };
|
|
1846
1846
|
}
|
|
@@ -1864,7 +1864,7 @@ function ei() {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
function j(R, _) {
|
|
1866
1866
|
if (R == null) return {};
|
|
1867
|
-
var k, T, o =
|
|
1867
|
+
var k, T, o = M(R, _);
|
|
1868
1868
|
if (Object.getOwnPropertySymbols) {
|
|
1869
1869
|
var z = Object.getOwnPropertySymbols(R);
|
|
1870
1870
|
for (T = 0; T < z.length; T++)
|
|
@@ -1872,7 +1872,7 @@ function ei() {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
return o;
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1875
|
+
function M(R, _) {
|
|
1876
1876
|
if (R == null) return {};
|
|
1877
1877
|
var k = {};
|
|
1878
1878
|
for (var T in R)
|
|
@@ -1882,7 +1882,7 @@ function ei() {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
return k;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function P(R, _) {
|
|
1886
1886
|
var k = Object.keys(R);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
1888
|
var T = Object.getOwnPropertySymbols(R);
|
|
@@ -1895,9 +1895,9 @@ function ei() {
|
|
|
1895
1895
|
function p(R) {
|
|
1896
1896
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1897
1897
|
var k = arguments[_] != null ? arguments[_] : {};
|
|
1898
|
-
_ % 2 ?
|
|
1898
|
+
_ % 2 ? P(Object(k), !0).forEach(function(T) {
|
|
1899
1899
|
d(R, T, k[T]);
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(k)) :
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(k)) : P(Object(k)).forEach(function(T) {
|
|
1901
1901
|
Object.defineProperty(R, T, Object.getOwnPropertyDescriptor(k, T));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
@@ -1925,7 +1925,7 @@ function ei() {
|
|
|
1925
1925
|
}, V(R, _);
|
|
1926
1926
|
}
|
|
1927
1927
|
function v(R) {
|
|
1928
|
-
var _ =
|
|
1928
|
+
var _ = E();
|
|
1929
1929
|
return function() {
|
|
1930
1930
|
var k, T = y(R);
|
|
1931
1931
|
if (_) {
|
|
@@ -1944,13 +1944,13 @@ function ei() {
|
|
|
1944
1944
|
if (R === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1945
1945
|
return R;
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function E() {
|
|
1948
1948
|
try {
|
|
1949
1949
|
var R = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1950
1950
|
}));
|
|
1951
1951
|
} catch {
|
|
1952
1952
|
}
|
|
1953
|
-
return (
|
|
1953
|
+
return (E = function() {
|
|
1954
1954
|
return !!R;
|
|
1955
1955
|
})();
|
|
1956
1956
|
}
|
|
@@ -1993,9 +1993,9 @@ function ei() {
|
|
|
1993
1993
|
}), d(w(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
|
-
m.length > 0 && (o.setState(function(
|
|
1996
|
+
m.length > 0 && (o.setState(function(f) {
|
|
1997
1997
|
return {
|
|
1998
|
-
lazyLoadedList:
|
|
1998
|
+
lazyLoadedList: f.lazyLoadedList.concat(m)
|
|
1999
1999
|
};
|
|
2000
2000
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m));
|
|
2001
2001
|
}
|
|
@@ -2009,8 +2009,8 @@ function ei() {
|
|
|
2009
2009
|
o.state.animating ? (o.onWindowResized(!1), o.callbackTimers.push(setTimeout(function() {
|
|
2010
2010
|
return o.onWindowResized();
|
|
2011
2011
|
}, o.props.speed))) : o.onWindowResized();
|
|
2012
|
-
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(
|
|
2013
|
-
|
|
2012
|
+
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(f) {
|
|
2013
|
+
f.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, f.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
2015
|
}), d(w(o), "componentWillUnmount", function() {
|
|
2016
2016
|
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(m) {
|
|
@@ -2019,18 +2019,18 @@ function ei() {
|
|
|
2019
2019
|
}), d(w(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
|
-
n.length > 0 && (o.setState(function(
|
|
2022
|
+
n.length > 0 && (o.setState(function($) {
|
|
2023
2023
|
return {
|
|
2024
|
-
lazyLoadedList:
|
|
2024
|
+
lazyLoadedList: $.lazyLoadedList.concat(n)
|
|
2025
2025
|
};
|
|
2026
2026
|
}), o.props.onLazyLoad && o.props.onLazyLoad(n));
|
|
2027
2027
|
}
|
|
2028
2028
|
o.adaptHeight();
|
|
2029
|
-
var
|
|
2029
|
+
var f = p(p({
|
|
2030
2030
|
listRef: o.list,
|
|
2031
2031
|
trackRef: o.track
|
|
2032
2032
|
}, o.props), o.state), S = o.didPropsChange(m);
|
|
2033
|
-
S && o.updateState(
|
|
2033
|
+
S && o.updateState(f, S, 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,
|
|
@@ -2044,49 +2044,49 @@ function ei() {
|
|
|
2044
2044
|
}), d(w(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
|
-
var
|
|
2047
|
+
var f = p(p({
|
|
2048
2048
|
listRef: o.list,
|
|
2049
2049
|
trackRef: o.track
|
|
2050
2050
|
}, o.props), o.state);
|
|
2051
|
-
o.updateState(
|
|
2051
|
+
o.updateState(f, m, function() {
|
|
2052
2052
|
o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2053
2053
|
}), o.setState({
|
|
2054
2054
|
animating: !1
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
|
-
}), d(w(o), "updateState", function(m, n,
|
|
2057
|
+
}), d(w(o), "updateState", function(m, n, f) {
|
|
2058
2058
|
var S = (0, a.initializedState)(m);
|
|
2059
2059
|
m = p(p(p({}, m), S), {}, {
|
|
2060
2060
|
slideIndex: S.currentSlide
|
|
2061
2061
|
});
|
|
2062
|
-
var
|
|
2062
|
+
var $ = (0, a.getTrackLeft)(m);
|
|
2063
2063
|
m = p(p({}, m), {}, {
|
|
2064
|
-
left:
|
|
2064
|
+
left: $
|
|
2065
2065
|
});
|
|
2066
2066
|
var L = (0, a.getTrackCSS)(m);
|
|
2067
|
-
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (S.trackStyle = L), o.setState(S,
|
|
2067
|
+
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (S.trackStyle = L), o.setState(S, f);
|
|
2068
2068
|
}), d(w(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
|
-
var m = 0, n = 0,
|
|
2070
|
+
var m = 0, n = 0, f = [], S = (0, a.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
2072
|
-
})),
|
|
2072
|
+
})), $ = (0, a.getPostClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2073
2073
|
slideCount: o.props.children.length
|
|
2074
2074
|
}));
|
|
2075
2075
|
o.props.children.forEach(function(le) {
|
|
2076
|
-
|
|
2076
|
+
f.push(le.props.style.width), m += le.props.style.width;
|
|
2077
2077
|
});
|
|
2078
2078
|
for (var L = 0; L < S; L++)
|
|
2079
|
-
n +=
|
|
2080
|
-
for (var H = 0; H <
|
|
2081
|
-
m +=
|
|
2079
|
+
n += f[f.length - 1 - L], m += f[f.length - 1 - L];
|
|
2080
|
+
for (var H = 0; H < $; H++)
|
|
2081
|
+
m += f[H];
|
|
2082
2082
|
for (var F = 0; F < o.state.currentSlide; F++)
|
|
2083
|
-
n +=
|
|
2083
|
+
n += f[F];
|
|
2084
2084
|
var W = {
|
|
2085
2085
|
width: m + "px",
|
|
2086
2086
|
left: -n + "px"
|
|
2087
2087
|
};
|
|
2088
2088
|
if (o.props.centerMode) {
|
|
2089
|
-
var B = "".concat(
|
|
2089
|
+
var B = "".concat(f[o.state.currentSlide], "px");
|
|
2090
2090
|
W.left = "calc(".concat(W.left, " + (100% - ").concat(B, ") / 2 ) ");
|
|
2091
2091
|
}
|
|
2092
2092
|
return {
|
|
@@ -2106,10 +2106,10 @@ function ei() {
|
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
2108
|
}), d(w(o), "checkImagesLoad", function() {
|
|
2109
|
-
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length,
|
|
2109
|
+
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length, f = 0;
|
|
2110
2110
|
Array.prototype.forEach.call(m, function(S) {
|
|
2111
|
-
var
|
|
2112
|
-
return ++
|
|
2111
|
+
var $ = function() {
|
|
2112
|
+
return ++f && f >= n && o.onWindowResized();
|
|
2113
2113
|
};
|
|
2114
2114
|
if (!S.onclick)
|
|
2115
2115
|
S.onclick = function() {
|
|
@@ -2123,14 +2123,14 @@ function ei() {
|
|
|
2123
2123
|
}
|
|
2124
2124
|
S.onload || (o.props.lazyLoad ? S.onload = function() {
|
|
2125
2125
|
o.adaptHeight(), o.callbackTimers.push(setTimeout(o.onWindowResized, o.props.speed));
|
|
2126
|
-
} : (S.onload =
|
|
2127
|
-
|
|
2126
|
+
} : (S.onload = $, S.onerror = function() {
|
|
2127
|
+
$(), o.props.onLazyLoadError && o.props.onLazyLoadError();
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
2130
|
}), d(w(o), "progressiveLazyLoad", function() {
|
|
2131
|
-
for (var m = [], n = p(p({}, o.props), o.state),
|
|
2132
|
-
if (o.state.lazyLoadedList.indexOf(
|
|
2133
|
-
m.push(
|
|
2131
|
+
for (var m = [], n = p(p({}, o.props), o.state), f = o.state.currentSlide; f < o.state.slideCount + (0, a.getPostClones)(n); f++)
|
|
2132
|
+
if (o.state.lazyLoadedList.indexOf(f) < 0) {
|
|
2133
|
+
m.push(f);
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
2136
|
for (var S = o.state.currentSlide - 1; S >= -(0, a.getPreClones)(n); S--)
|
|
@@ -2138,20 +2138,20 @@ function ei() {
|
|
|
2138
2138
|
m.push(S);
|
|
2139
2139
|
break;
|
|
2140
2140
|
}
|
|
2141
|
-
m.length > 0 ? (o.setState(function(
|
|
2141
|
+
m.length > 0 ? (o.setState(function($) {
|
|
2142
2142
|
return {
|
|
2143
|
-
lazyLoadedList:
|
|
2143
|
+
lazyLoadedList: $.lazyLoadedList.concat(m)
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
2146
|
}), d(w(o), "slideHandler", function(m) {
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor, $ = f.beforeChange, L = f.onLazyLoad, H = f.speed, F = f.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,
|
|
2151
2151
|
useCSS: o.props.useCSS && !n
|
|
2152
2152
|
})), G = B.state, X = B.nextState;
|
|
2153
2153
|
if (G) {
|
|
2154
|
-
|
|
2154
|
+
$ && $(W, G.currentSlide);
|
|
2155
2155
|
var J = G.lazyLoadedList.filter(function(te) {
|
|
2156
2156
|
return o.state.lazyLoadedList.indexOf(te) < 0;
|
|
2157
2157
|
});
|
|
@@ -2169,10 +2169,10 @@ function ei() {
|
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
2171
|
}), d(w(o), "changeSlide", function(m) {
|
|
2172
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
2172
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), S = (0, a.changeSlide)(f, m);
|
|
2173
2173
|
if (!(S !== 0 && !S) && (n === !0 ? o.slideHandler(S, n) : o.slideHandler(S), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2174
|
-
var
|
|
2175
|
-
|
|
2174
|
+
var $ = o.list.querySelectorAll(".slick-current");
|
|
2175
|
+
$[0] && $[0].focus();
|
|
2176
2176
|
}
|
|
2177
2177
|
}), d(w(o), "clickHandler", function(m) {
|
|
2178
2178
|
o.clickable === !1 && (m.stopPropagation(), m.preventDefault()), o.clickable = !0;
|
|
@@ -2184,8 +2184,8 @@ function ei() {
|
|
|
2184
2184
|
}), d(w(o), "selectHandler", function(m) {
|
|
2185
2185
|
o.changeSlide(m);
|
|
2186
2186
|
}), d(w(o), "disableBodyScroll", function() {
|
|
2187
|
-
var m = function(
|
|
2188
|
-
|
|
2187
|
+
var m = function(f) {
|
|
2188
|
+
f = f || window.event, f.preventDefault && f.preventDefault(), f.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
2190
|
window.ontouchmove = m;
|
|
2191
2191
|
}), d(w(o), "enableBodyScroll", function() {
|
|
@@ -2208,8 +2208,8 @@ function ei() {
|
|
|
2208
2208
|
slideIndex: o.state.currentSlide
|
|
2209
2209
|
}));
|
|
2210
2210
|
if (n) {
|
|
2211
|
-
var
|
|
2212
|
-
delete n.triggerSlideHandler, o.setState(n),
|
|
2211
|
+
var f = n.triggerSlideHandler;
|
|
2212
|
+
delete n.triggerSlideHandler, o.setState(n), f !== void 0 && (o.slideHandler(f), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
2214
|
}), d(w(o), "touchEnd", function(m) {
|
|
2215
2215
|
o.swipeEnd(m), o.clickable = !0;
|
|
@@ -2284,14 +2284,14 @@ function ei() {
|
|
|
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),
|
|
2288
|
-
|
|
2287
|
+
}), n = p(p({}, o.props), o.state), f = (0, a.extractObject)(n, ["fade", "cssEase", "speed", "infinite", "centerMode", "focusOnSelect", "currentSlide", "lazyLoad", "lazyLoadedList", "rtl", "slideWidth", "slideHeight", "listHeight", "vertical", "slidesToShow", "slidesToScroll", "slideCount", "trackStyle", "variableWidth", "unslick", "centerPadding", "targetSlide", "useCSS"]), S = o.props.pauseOnHover;
|
|
2288
|
+
f = p(p({}, f), {}, {
|
|
2289
2289
|
onMouseEnter: S ? o.onTrackOver : null,
|
|
2290
2290
|
onMouseLeave: S ? o.onTrackLeave : null,
|
|
2291
2291
|
onMouseOver: S ? o.onTrackOver : null,
|
|
2292
2292
|
focusOnSelect: o.props.focusOnSelect && o.clickable ? o.selectHandler : null
|
|
2293
2293
|
});
|
|
2294
|
-
var
|
|
2294
|
+
var $;
|
|
2295
2295
|
if (o.props.dots === !0 && o.state.slideCount >= o.props.slidesToShow) {
|
|
2296
2296
|
var L = (0, a.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), H = o.props.pauseOnDotsHover;
|
|
2297
2297
|
L = p(p({}, L), {}, {
|
|
@@ -2299,7 +2299,7 @@ function ei() {
|
|
|
2299
2299
|
onMouseEnter: H ? o.onDotsLeave : null,
|
|
2300
2300
|
onMouseOver: H ? o.onDotsOver : null,
|
|
2301
2301
|
onMouseLeave: H ? o.onDotsLeave : null
|
|
2302
|
-
}),
|
|
2302
|
+
}), $ = /* @__PURE__ */ e.default.createElement(c.Dots, L);
|
|
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));
|
|
@@ -2340,7 +2340,7 @@ function ei() {
|
|
|
2340
2340
|
ref: o.listRefHandler
|
|
2341
2341
|
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, x({
|
|
2342
2342
|
ref: o.trackRefHandler
|
|
2343
|
-
},
|
|
2343
|
+
}, f), o.props.children)), o.props.unslick ? "" : W, o.props.unslick ? "" : $);
|
|
2344
2344
|
}), o.list = null, o.track = null, o.state = p(p({}, t.default), {}, {
|
|
2345
2345
|
currentSlide: o.props.initialSlide,
|
|
2346
2346
|
targetSlide: o.props.initialSlide ? o.props.initialSlide : 0,
|
|
@@ -2353,12 +2353,12 @@ function ei() {
|
|
|
2353
2353
|
key: "didPropsChange",
|
|
2354
2354
|
value: function(o) {
|
|
2355
2355
|
for (var z = !1, m = 0, n = Object.keys(this.props); m < n.length; m++) {
|
|
2356
|
-
var
|
|
2357
|
-
if (!o.hasOwnProperty(
|
|
2356
|
+
var f = n[m];
|
|
2357
|
+
if (!o.hasOwnProperty(f)) {
|
|
2358
2358
|
z = !0;
|
|
2359
2359
|
break;
|
|
2360
2360
|
}
|
|
2361
|
-
if (!(g(o[
|
|
2361
|
+
if (!(g(o[f]) === "object" || typeof o[f] == "function" || isNaN(o[f])) && o[f] !== this.props[f]) {
|
|
2362
2362
|
z = !0;
|
|
2363
2363
|
break;
|
|
2364
2364
|
}
|
|
@@ -2387,15 +2387,15 @@ function ri() {
|
|
|
2387
2387
|
var s = /[height|width]$/;
|
|
2388
2388
|
return s.test(a);
|
|
2389
2389
|
}, r = function(a) {
|
|
2390
|
-
var s = "",
|
|
2391
|
-
return
|
|
2390
|
+
var s = "", c = Object.keys(a);
|
|
2391
|
+
return c.forEach(function(u, l) {
|
|
2392
2392
|
var h = a[u];
|
|
2393
|
-
u = e(u), t(u) && typeof h == "number" && (h = h + "px"), h === !0 ? s += u : h === !1 ? s += "not " + u : s += "(" + u + ": " + h + ")", l <
|
|
2393
|
+
u = e(u), t(u) && typeof h == "number" && (h = h + "px"), h === !0 ? s += u : h === !1 ? s += "not " + u : s += "(" + u + ": " + h + ")", l < c.length - 1 && (s += " and ");
|
|
2394
2394
|
}), s;
|
|
2395
2395
|
}, i = function(a) {
|
|
2396
2396
|
var s = "";
|
|
2397
|
-
return typeof a == "string" ? a : a instanceof Array ? (a.forEach(function(
|
|
2398
|
-
s += r(
|
|
2397
|
+
return typeof a == "string" ? a : a instanceof Array ? (a.forEach(function(c, u) {
|
|
2398
|
+
s += r(c), u < a.length - 1 && (s += ", ");
|
|
2399
2399
|
}), s) : r(a);
|
|
2400
2400
|
};
|
|
2401
2401
|
return Dt = i, Dt;
|
|
@@ -2406,74 +2406,74 @@ function ni() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t =
|
|
2410
|
-
function
|
|
2411
|
-
return
|
|
2409
|
+
var t = c(q), r = ei(), i = c(ri()), a = c(Hr()), s = Ke();
|
|
2410
|
+
function c(E) {
|
|
2411
|
+
return E && E.__esModule ? E : { default: E };
|
|
2412
2412
|
}
|
|
2413
|
-
function u(
|
|
2413
|
+
function u(E) {
|
|
2414
2414
|
"@babel/helpers - typeof";
|
|
2415
2415
|
return u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
2416
2416
|
return typeof y;
|
|
2417
2417
|
} : function(y) {
|
|
2418
2418
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
2419
|
-
}, u(
|
|
2419
|
+
}, u(E);
|
|
2420
2420
|
}
|
|
2421
2421
|
function l() {
|
|
2422
|
-
return l = Object.assign ? Object.assign.bind() : function(
|
|
2422
|
+
return l = Object.assign ? Object.assign.bind() : function(E) {
|
|
2423
2423
|
for (var y = 1; y < arguments.length; y++) {
|
|
2424
2424
|
var d = arguments[y];
|
|
2425
2425
|
for (var O in d)
|
|
2426
|
-
({}).hasOwnProperty.call(d, O) && (
|
|
2426
|
+
({}).hasOwnProperty.call(d, O) && (E[O] = d[O]);
|
|
2427
2427
|
}
|
|
2428
|
-
return
|
|
2428
|
+
return E;
|
|
2429
2429
|
}, l.apply(null, arguments);
|
|
2430
2430
|
}
|
|
2431
|
-
function h(
|
|
2432
|
-
var d = Object.keys(
|
|
2431
|
+
function h(E, y) {
|
|
2432
|
+
var d = Object.keys(E);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
|
-
var O = Object.getOwnPropertySymbols(
|
|
2434
|
+
var O = Object.getOwnPropertySymbols(E);
|
|
2435
2435
|
y && (O = O.filter(function(A) {
|
|
2436
|
-
return Object.getOwnPropertyDescriptor(
|
|
2436
|
+
return Object.getOwnPropertyDescriptor(E, A).enumerable;
|
|
2437
2437
|
})), d.push.apply(d, O);
|
|
2438
2438
|
}
|
|
2439
2439
|
return d;
|
|
2440
2440
|
}
|
|
2441
|
-
function g(
|
|
2441
|
+
function g(E) {
|
|
2442
2442
|
for (var y = 1; y < arguments.length; y++) {
|
|
2443
2443
|
var d = arguments[y] != null ? arguments[y] : {};
|
|
2444
2444
|
y % 2 ? h(Object(d), !0).forEach(function(O) {
|
|
2445
|
-
v(
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
2447
|
-
Object.defineProperty(
|
|
2445
|
+
v(E, O, d[O]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(E, Object.getOwnPropertyDescriptors(d)) : h(Object(d)).forEach(function(O) {
|
|
2447
|
+
Object.defineProperty(E, O, Object.getOwnPropertyDescriptor(d, O));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
|
-
return
|
|
2450
|
+
return E;
|
|
2451
2451
|
}
|
|
2452
|
-
function x(
|
|
2453
|
-
if (!(
|
|
2452
|
+
function x(E, y) {
|
|
2453
|
+
if (!(E instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
|
-
function j(
|
|
2455
|
+
function j(E, y) {
|
|
2456
2456
|
for (var d = 0; d < y.length; d++) {
|
|
2457
2457
|
var O = y[d];
|
|
2458
|
-
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(
|
|
2458
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(E, b(O.key), O);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2462
|
-
return y && j(
|
|
2461
|
+
function M(E, y, d) {
|
|
2462
|
+
return y && j(E.prototype, y), Object.defineProperty(E, "prototype", { writable: !1 }), E;
|
|
2463
2463
|
}
|
|
2464
|
-
function E
|
|
2464
|
+
function P(E, y) {
|
|
2465
2465
|
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2466
|
-
|
|
2466
|
+
E.prototype = Object.create(y && y.prototype, { constructor: { value: E, writable: !0, configurable: !0 } }), Object.defineProperty(E, "prototype", { writable: !1 }), y && p(E, y);
|
|
2467
2467
|
}
|
|
2468
|
-
function p(
|
|
2468
|
+
function p(E, y) {
|
|
2469
2469
|
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d, O) {
|
|
2470
2470
|
return d.__proto__ = O, d;
|
|
2471
|
-
}, p(
|
|
2471
|
+
}, p(E, y);
|
|
2472
2472
|
}
|
|
2473
|
-
function I(
|
|
2473
|
+
function I(E) {
|
|
2474
2474
|
var y = U();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var d, O = V(
|
|
2476
|
+
var d, O = V(E);
|
|
2477
2477
|
if (y) {
|
|
2478
2478
|
var A = V(this).constructor;
|
|
2479
2479
|
d = Reflect.construct(O, arguments, A);
|
|
@@ -2481,49 +2481,49 @@ function ni() {
|
|
|
2481
2481
|
return C(this, d);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
|
-
function C(
|
|
2484
|
+
function C(E, 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 N(
|
|
2487
|
+
return N(E);
|
|
2488
2488
|
}
|
|
2489
|
-
function N(
|
|
2490
|
-
if (
|
|
2491
|
-
return
|
|
2489
|
+
function N(E) {
|
|
2490
|
+
if (E === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2491
|
+
return E;
|
|
2492
2492
|
}
|
|
2493
2493
|
function U() {
|
|
2494
2494
|
try {
|
|
2495
|
-
var
|
|
2495
|
+
var E = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
2496
2496
|
}));
|
|
2497
2497
|
} catch {
|
|
2498
2498
|
}
|
|
2499
2499
|
return (U = function() {
|
|
2500
|
-
return !!
|
|
2500
|
+
return !!E;
|
|
2501
2501
|
})();
|
|
2502
2502
|
}
|
|
2503
|
-
function V(
|
|
2503
|
+
function V(E) {
|
|
2504
2504
|
return V = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(y) {
|
|
2505
2505
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
2506
|
-
}, V(
|
|
2506
|
+
}, V(E);
|
|
2507
2507
|
}
|
|
2508
|
-
function v(
|
|
2509
|
-
return (y = b(y)) in
|
|
2508
|
+
function v(E, y, d) {
|
|
2509
|
+
return (y = b(y)) in E ? Object.defineProperty(E, y, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : E[y] = d, E;
|
|
2510
2510
|
}
|
|
2511
|
-
function b(
|
|
2512
|
-
var y = w(
|
|
2511
|
+
function b(E) {
|
|
2512
|
+
var y = w(E, "string");
|
|
2513
2513
|
return u(y) == "symbol" ? y : y + "";
|
|
2514
2514
|
}
|
|
2515
|
-
function w(
|
|
2516
|
-
if (u(
|
|
2517
|
-
var d =
|
|
2515
|
+
function w(E, y) {
|
|
2516
|
+
if (u(E) != "object" || !E) return E;
|
|
2517
|
+
var d = E[Symbol.toPrimitive];
|
|
2518
2518
|
if (d !== void 0) {
|
|
2519
|
-
var O = d.call(
|
|
2519
|
+
var O = d.call(E, y);
|
|
2520
2520
|
if (u(O) != "object") return O;
|
|
2521
2521
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2522
2522
|
}
|
|
2523
|
-
return (y === "string" ? String : Number)(
|
|
2523
|
+
return (y === "string" ? String : Number)(E);
|
|
2524
2524
|
}
|
|
2525
|
-
e.default = /* @__PURE__ */ function(
|
|
2526
|
-
|
|
2525
|
+
e.default = /* @__PURE__ */ function(E) {
|
|
2526
|
+
P(d, E);
|
|
2527
2527
|
var y = I(d);
|
|
2528
2528
|
function d(O) {
|
|
2529
2529
|
var A;
|
|
@@ -2544,7 +2544,7 @@ function ni() {
|
|
|
2544
2544
|
breakpoint: null
|
|
2545
2545
|
}, A._responsiveMediaHandlers = [], A;
|
|
2546
2546
|
}
|
|
2547
|
-
return
|
|
2547
|
+
return M(d, [{
|
|
2548
2548
|
key: "media",
|
|
2549
2549
|
value: function(A, R) {
|
|
2550
2550
|
var _ = window.matchMedia(A), k = function(o) {
|
|
@@ -2612,8 +2612,8 @@ function ni() {
|
|
|
2612
2612
|
}), R.variableWidth && (R.rows > 1 || R.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), R.variableWidth = !1);
|
|
2613
2613
|
for (var T = [], o = null, z = 0; z < k.length; z += R.rows * R.slidesPerRow) {
|
|
2614
2614
|
for (var m = [], n = z; n < z + R.rows * R.slidesPerRow; n += R.slidesPerRow) {
|
|
2615
|
-
for (var
|
|
2616
|
-
|
|
2615
|
+
for (var f = [], S = n; S < n + R.slidesPerRow && (R.variableWidth && k[S].props.style && (o = k[S].props.style.width), !(S >= k.length)); S += 1)
|
|
2616
|
+
f.push(/* @__PURE__ */ t.default.cloneElement(k[S], {
|
|
2617
2617
|
key: 100 * z + 10 * n + S,
|
|
2618
2618
|
tabIndex: -1,
|
|
2619
2619
|
style: {
|
|
@@ -2623,7 +2623,7 @@ function ni() {
|
|
|
2623
2623
|
}));
|
|
2624
2624
|
m.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2625
2625
|
key: 10 * z + n
|
|
2626
|
-
},
|
|
2626
|
+
}, f));
|
|
2627
2627
|
}
|
|
2628
2628
|
R.variableWidth ? T.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2629
2629
|
key: z,
|
|
@@ -2635,9 +2635,9 @@ function ni() {
|
|
|
2635
2635
|
}, m));
|
|
2636
2636
|
}
|
|
2637
2637
|
if (R === "unslick") {
|
|
2638
|
-
var
|
|
2638
|
+
var $ = "regular slider " + (this.props.className || "");
|
|
2639
2639
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2640
|
-
className:
|
|
2640
|
+
className: $
|
|
2641
2641
|
}, k);
|
|
2642
2642
|
} else T.length <= R.slidesToShow && (R.unslick = !0);
|
|
2643
2643
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, l({
|
|
@@ -2747,9 +2747,9 @@ function it(e, t) {
|
|
|
2747
2747
|
function vi(e, t) {
|
|
2748
2748
|
return e.map(t).join("");
|
|
2749
2749
|
}
|
|
2750
|
-
var St = 1,
|
|
2751
|
-
function xt(e, t, r, i, a, s,
|
|
2752
|
-
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column:
|
|
2750
|
+
var St = 1, Le = 1, Xr = 0, he = 0, se = 0, De = "";
|
|
2751
|
+
function xt(e, t, r, i, a, s, c) {
|
|
2752
|
+
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length: c, return: "" };
|
|
2753
2753
|
}
|
|
2754
2754
|
function Ue(e, t) {
|
|
2755
2755
|
return hi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
@@ -2758,10 +2758,10 @@ function gi() {
|
|
|
2758
2758
|
return se;
|
|
2759
2759
|
}
|
|
2760
2760
|
function yi() {
|
|
2761
|
-
return se = he > 0 ? fe(De, --he) : 0,
|
|
2761
|
+
return se = he > 0 ? fe(De, --he) : 0, Le--, se === 10 && (Le = 1, St--), se;
|
|
2762
2762
|
}
|
|
2763
2763
|
function me() {
|
|
2764
|
-
return se = he < Xr ? fe(De, he++) : 0,
|
|
2764
|
+
return se = he < Xr ? fe(De, he++) : 0, Le++, se === 10 && (Le = 1, St++), se;
|
|
2765
2765
|
}
|
|
2766
2766
|
function be() {
|
|
2767
2767
|
return fe(De, he);
|
|
@@ -2811,7 +2811,7 @@ function Ve(e) {
|
|
|
2811
2811
|
return 0;
|
|
2812
2812
|
}
|
|
2813
2813
|
function Gr(e) {
|
|
2814
|
-
return St =
|
|
2814
|
+
return St = Le = 1, Xr = ge(De = e), he = 0, [];
|
|
2815
2815
|
}
|
|
2816
2816
|
function Kr(e) {
|
|
2817
2817
|
return De = "", e;
|
|
@@ -2865,12 +2865,12 @@ function xi(e) {
|
|
|
2865
2865
|
function Oi(e) {
|
|
2866
2866
|
return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
|
-
function lt(e, t, r, i, a, s,
|
|
2869
|
-
for (var h = 0, g = 0, x =
|
|
2870
|
-
switch (
|
|
2868
|
+
function lt(e, t, r, i, a, s, c, u, l) {
|
|
2869
|
+
for (var h = 0, g = 0, x = c, j = 0, M = 0, P = 0, p = 1, I = 1, C = 1, N = 0, U = "", V = a, v = s, b = i, w = U; I; )
|
|
2870
|
+
switch (P = N, N = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (
|
|
2873
|
+
if (P != 108 && fe(w, x - 1) == 58) {
|
|
2874
2874
|
Ht(w += ne(st(N), "&", "&\f"), "&\f") != -1 && (C = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
@@ -2885,7 +2885,7 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
w += bi(
|
|
2888
|
+
w += bi(P);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
@@ -2916,7 +2916,7 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + g:
|
|
2919
|
-
C == -1 && (w = ne(w, /\f/g, "")),
|
|
2919
|
+
C == -1 && (w = ne(w, /\f/g, "")), M > 0 && ge(w) - x && it(M > 32 ? wr(w + ";", i, r, x - 1) : wr(ne(w, " ", "") + ";", i, r, x - 2), l);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
@@ -2939,11 +2939,11 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2939
2939
|
lt(w, b, b, b, [""], v, 0, u, v);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
h = g =
|
|
2942
|
+
h = g = M = 0, p = C = 1, U = w = "", x = c;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
x = 1 + ge(w),
|
|
2946
|
+
x = 1 + ge(w), M = P;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (N == 123)
|
|
@@ -2966,14 +2966,14 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
2969
|
-
|
|
2969
|
+
P === 45 && ge(w) == 2 && (p = 0);
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
|
-
function br(e, t, r, i, a, s,
|
|
2975
|
-
for (var x = a - 1, j = a === 0 ? s : [""],
|
|
2976
|
-
for (var C = 0, N = Be(e, x + 1, x = di(p =
|
|
2974
|
+
function br(e, t, r, i, a, s, c, u, l, h, g) {
|
|
2975
|
+
for (var x = a - 1, j = a === 0 ? s : [""], M = Xt(j), P = 0, p = 0, I = 0; P < i; ++P)
|
|
2976
|
+
for (var C = 0, N = Be(e, x + 1, x = di(p = c[P])), U = e; C < M; ++C)
|
|
2977
2977
|
(U = Vr(p > 0 ? j[C] + " " + N : ne(N, /&\f/g, j[C]))) && (l[I++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? Bt : u, l, h, g);
|
|
2979
2979
|
}
|
|
@@ -2983,7 +2983,7 @@ function ki(e, t, r) {
|
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
2984
2984
|
return xt(e, t, r, Vt, Be(e, 0, i), Be(e, i + 1, -1), i);
|
|
2985
2985
|
}
|
|
2986
|
-
function
|
|
2986
|
+
function Te(e, t) {
|
|
2987
2987
|
for (var r = "", i = Xt(e), a = 0; a < i; a++)
|
|
2988
2988
|
r += t(e[a], a, e, t) || "";
|
|
2989
2989
|
return r;
|
|
@@ -2998,18 +2998,18 @@ function Ci(e, t, r, i) {
|
|
|
2998
2998
|
case qr:
|
|
2999
2999
|
return "";
|
|
3000
3000
|
case Br:
|
|
3001
|
-
return e.return = e.value + "{" +
|
|
3001
|
+
return e.return = e.value + "{" + Te(e.children, i) + "}";
|
|
3002
3002
|
case Bt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
3004
3004
|
}
|
|
3005
|
-
return ge(r =
|
|
3005
|
+
return ge(r = Te(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3006
3006
|
}
|
|
3007
3007
|
function Pi(e) {
|
|
3008
3008
|
var t = Xt(e);
|
|
3009
3009
|
return function(r, i, a, s) {
|
|
3010
|
-
for (var
|
|
3011
|
-
|
|
3012
|
-
return
|
|
3010
|
+
for (var c = "", u = 0; u < t; u++)
|
|
3011
|
+
c += e[u](r, i, a, s) || "";
|
|
3012
|
+
return c;
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
3015
3015
|
function Ei(e) {
|
|
@@ -3058,9 +3058,9 @@ var Ri = function(t, r, i) {
|
|
|
3058
3058
|
if (i = i.parent, !i) return;
|
|
3059
3059
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [],
|
|
3061
|
+
for (var s = [], c = Ti(r, s), u = i.props, l = 0, h = 0; l < c.length; l++)
|
|
3062
3062
|
for (var g = 0; g < u.length; g++, h++)
|
|
3063
|
-
t.props[h] = s[l] ?
|
|
3063
|
+
t.props[h] = s[l] ? c[l].replace(/&\f/g, u[g]) : u[g] + " " + c[l];
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
3066
|
}, Li = function(t) {
|
|
@@ -3219,7 +3219,7 @@ var Di = function(t, r, i, a) {
|
|
|
3219
3219
|
t.return = Zr(t.value, t.length);
|
|
3220
3220
|
break;
|
|
3221
3221
|
case Br:
|
|
3222
|
-
return
|
|
3222
|
+
return Te([Ue(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], a);
|
|
3225
3225
|
case Bt:
|
|
@@ -3228,12 +3228,12 @@ var Di = function(t, r, i, a) {
|
|
|
3228
3228
|
// :read-(only|write)
|
|
3229
3229
|
case ":read-only":
|
|
3230
3230
|
case ":read-write":
|
|
3231
|
-
return
|
|
3231
|
+
return Te([Ue(t, {
|
|
3232
3232
|
props: [ne(s, /:(read-\w+)/, ":" + vt + "$1")]
|
|
3233
3233
|
})], a);
|
|
3234
3234
|
// :placeholder
|
|
3235
3235
|
case "::placeholder":
|
|
3236
|
-
return
|
|
3236
|
+
return Te([Ue(t, {
|
|
3237
3237
|
props: [ne(s, /:(plac\w+)/, ":" + re + "input-$1")]
|
|
3238
3238
|
}), Ue(t, {
|
|
3239
3239
|
props: [ne(s, /:(plac\w+)/, ":" + vt + "$1")]
|
|
@@ -3253,8 +3253,8 @@ var Di = function(t, r, i, a) {
|
|
|
3253
3253
|
I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
3254
3254
|
});
|
|
3255
3255
|
}
|
|
3256
|
-
var a = t.stylisPlugins || Mi, s = {},
|
|
3257
|
-
|
|
3256
|
+
var a = t.stylisPlugins || Mi, s = {}, c, u = [];
|
|
3257
|
+
c = t.container || document.head, Array.prototype.forEach.call(
|
|
3258
3258
|
// this means we will ignore elements which don't have a space in them which
|
|
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 + ' "]'),
|
|
@@ -3268,18 +3268,18 @@ var Di = function(t, r, i, a) {
|
|
|
3268
3268
|
{
|
|
3269
3269
|
var g, x = [Ci, Ei(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})], j = Pi(h.concat(a, x)),
|
|
3272
|
-
return
|
|
3271
|
+
})], j = Pi(h.concat(a, x)), M = function(I) {
|
|
3272
|
+
return Te(Oi(I), j);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(I, C, N, U) {
|
|
3275
|
-
g = N,
|
|
3275
|
+
g = N, M(I ? I + "{" + C.styles + "}" : C.styles), U && (P.inserted[C.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
var
|
|
3278
|
+
var P = {
|
|
3279
3279
|
key: r,
|
|
3280
3280
|
sheet: new ui({
|
|
3281
3281
|
key: r,
|
|
3282
|
-
container:
|
|
3282
|
+
container: c,
|
|
3283
3283
|
nonce: t.nonce,
|
|
3284
3284
|
speedy: t.speedy,
|
|
3285
3285
|
prepend: t.prepend,
|
|
@@ -3290,7 +3290,7 @@ var Di = function(t, r, i, a) {
|
|
|
3290
3290
|
registered: {},
|
|
3291
3291
|
insert: l
|
|
3292
3292
|
};
|
|
3293
|
-
return
|
|
3293
|
+
return P.sheet.hydrate(u), P;
|
|
3294
3294
|
}, Ii = !0;
|
|
3295
3295
|
function Ai(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
@@ -3428,14 +3428,14 @@ function Xe(e, t, r) {
|
|
|
3428
3428
|
}, a.name;
|
|
3429
3429
|
var s = r;
|
|
3430
3430
|
if (s.styles !== void 0) {
|
|
3431
|
-
var
|
|
3432
|
-
if (
|
|
3433
|
-
for (;
|
|
3431
|
+
var c = s.next;
|
|
3432
|
+
if (c !== void 0)
|
|
3433
|
+
for (; c !== void 0; )
|
|
3434
3434
|
ye = {
|
|
3435
|
-
name:
|
|
3436
|
-
styles:
|
|
3435
|
+
name: c.name,
|
|
3436
|
+
styles: c.styles,
|
|
3437
3437
|
next: ye
|
|
3438
|
-
},
|
|
3438
|
+
}, c = c.next;
|
|
3439
3439
|
var u = s.styles + ";";
|
|
3440
3440
|
return u;
|
|
3441
3441
|
}
|
|
@@ -3462,15 +3462,15 @@ function Ui(e, t, r) {
|
|
|
3462
3462
|
i += Xe(e, t, r[a]) + ";";
|
|
3463
3463
|
else
|
|
3464
3464
|
for (var s in r) {
|
|
3465
|
-
var
|
|
3466
|
-
if (typeof
|
|
3467
|
-
var u =
|
|
3465
|
+
var c = r[s];
|
|
3466
|
+
if (typeof c != "object") {
|
|
3467
|
+
var u = c;
|
|
3468
3468
|
t != null && t[u] !== void 0 ? i += s + "{" + t[u] + "}" : xr(u) && (i += Mt(s) + ":" + Or(s, u) + ";");
|
|
3469
|
-
} else if (Array.isArray(
|
|
3470
|
-
for (var l = 0; l <
|
|
3471
|
-
xr(
|
|
3469
|
+
} else if (Array.isArray(c) && typeof c[0] == "string" && (t == null || t[c[0]] === void 0))
|
|
3470
|
+
for (var l = 0; l < c.length; l++)
|
|
3471
|
+
xr(c[l]) && (i += Mt(s) + ":" + Or(s, c[l]) + ";");
|
|
3472
3472
|
else {
|
|
3473
|
-
var h = Xe(e, t,
|
|
3473
|
+
var h = Xe(e, t, c);
|
|
3474
3474
|
switch (s) {
|
|
3475
3475
|
case "animation":
|
|
3476
3476
|
case "animationName": {
|
|
@@ -3494,8 +3494,8 @@ function Yi(e, t, r) {
|
|
|
3494
3494
|
if (s == null || s.raw === void 0)
|
|
3495
3495
|
i = !1, a += Xe(r, t, s);
|
|
3496
3496
|
else {
|
|
3497
|
-
var
|
|
3498
|
-
a +=
|
|
3497
|
+
var c = s;
|
|
3498
|
+
a += c[0];
|
|
3499
3499
|
}
|
|
3500
3500
|
for (var u = 1; u < e.length; u++)
|
|
3501
3501
|
if (a += Xe(r, t, e[u]), i) {
|
|
@@ -3547,8 +3547,8 @@ var Xi = function(t) {
|
|
|
3547
3547
|
var a;
|
|
3548
3548
|
if (r) {
|
|
3549
3549
|
var s = r.shouldForwardProp;
|
|
3550
|
-
a = t.__emotion_forwardProp && s ? function(
|
|
3551
|
-
return t.__emotion_forwardProp(
|
|
3550
|
+
a = t.__emotion_forwardProp && s ? function(c) {
|
|
3551
|
+
return t.__emotion_forwardProp(c) && s(c);
|
|
3552
3552
|
} : s;
|
|
3553
3553
|
}
|
|
3554
3554
|
return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
|
|
@@ -3558,8 +3558,8 @@ var Xi = function(t) {
|
|
|
3558
3558
|
return zi(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
3560
|
}, ta = function e(t, r) {
|
|
3561
|
-
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s,
|
|
3562
|
-
r !== void 0 && (s = r.label,
|
|
3561
|
+
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
|
|
3562
|
+
r !== void 0 && (s = r.label, c = r.target);
|
|
3563
3563
|
var u = Pr(t, r, i), l = u || Cr(a), h = !l("as");
|
|
3564
3564
|
return function() {
|
|
3565
3565
|
var g = arguments, x = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
@@ -3568,8 +3568,8 @@ var Xi = function(t) {
|
|
|
3568
3568
|
else {
|
|
3569
3569
|
var j = g[0];
|
|
3570
3570
|
x.push(j[0]);
|
|
3571
|
-
for (var
|
|
3572
|
-
x.push(g[
|
|
3571
|
+
for (var M = g.length, P = 1; P < M; P++)
|
|
3572
|
+
x.push(g[P], j[P]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Xi(function(I, C, N) {
|
|
3575
3575
|
var U = h && I.as || a, V = "", v = [], b = I;
|
|
@@ -3580,20 +3580,20 @@ var Xi = function(t) {
|
|
|
3580
3580
|
b.theme = D.useContext(Gi);
|
|
3581
3581
|
}
|
|
3582
3582
|
typeof I.className == "string" ? V = Ai(C.registered, v, I.className) : I.className != null && (V = I.className + " ");
|
|
3583
|
-
var
|
|
3584
|
-
V += C.key + "-" +
|
|
3583
|
+
var E = Yi(x.concat(v), C.registered, b);
|
|
3584
|
+
V += C.key + "-" + E.name, c !== void 0 && (V += " " + c);
|
|
3585
3585
|
var y = h && u === void 0 ? Cr(U) : l, d = {};
|
|
3586
3586
|
for (var O in I)
|
|
3587
3587
|
h && O === "as" || y(O) && (d[O] = I[O]);
|
|
3588
3588
|
return d.className = V, N && (d.ref = N), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement(ea, {
|
|
3589
3589
|
cache: C,
|
|
3590
|
-
serialized:
|
|
3590
|
+
serialized: E,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ D.createElement(U, d));
|
|
3593
3593
|
});
|
|
3594
3594
|
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles = x, p.__emotion_forwardProp = u, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
3596
|
-
return "." +
|
|
3596
|
+
return "." + c;
|
|
3597
3597
|
}
|
|
3598
3598
|
}), p.withComponent = function(I, C) {
|
|
3599
3599
|
var N = e(I, zt({}, r, C, {
|
|
@@ -3738,11 +3738,11 @@ var Xi = function(t) {
|
|
|
3738
3738
|
"svg",
|
|
3739
3739
|
"text",
|
|
3740
3740
|
"tspan"
|
|
3741
|
-
],
|
|
3741
|
+
], Re = ta.bind(null);
|
|
3742
3742
|
ra.forEach(function(e) {
|
|
3743
|
-
|
|
3743
|
+
Re[e] = Re(e);
|
|
3744
3744
|
});
|
|
3745
|
-
const na =
|
|
3745
|
+
const na = Re.div`
|
|
3746
3746
|
width: 100%;
|
|
3747
3747
|
height: fit-content;
|
|
3748
3748
|
|
|
@@ -3818,7 +3818,7 @@ const na = Le.div`
|
|
|
3818
3818
|
opacity: 0.75;
|
|
3819
3819
|
color: black;
|
|
3820
3820
|
}
|
|
3821
|
-
`, ia =
|
|
3821
|
+
`, ia = Re.div`
|
|
3822
3822
|
box-sizing: border-box;
|
|
3823
3823
|
display: flex;
|
|
3824
3824
|
flex-direction: column;
|
|
@@ -3831,13 +3831,13 @@ const na = Le.div`
|
|
|
3831
3831
|
box-sizing: border-box;
|
|
3832
3832
|
display: flex;
|
|
3833
3833
|
}
|
|
3834
|
-
`,
|
|
3834
|
+
`, Qo = ({
|
|
3835
3835
|
styles: e,
|
|
3836
3836
|
content: t,
|
|
3837
3837
|
settings: r,
|
|
3838
3838
|
gap: i = 15
|
|
3839
3839
|
}) => {
|
|
3840
|
-
const [a, s] = q.useState(1),
|
|
3840
|
+
const [a, s] = q.useState(1), c = q.useRef(null), u = q.useRef(null);
|
|
3841
3841
|
var l = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3866,18 +3866,18 @@ const na = Le.div`
|
|
|
3866
3866
|
s(l.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const x = (
|
|
3870
|
-
let
|
|
3871
|
-
|
|
3869
|
+
const x = (c.current?.offsetWidth || i + 1) - i, j = u.current?.offsetWidth || 1;
|
|
3870
|
+
let M = Math.floor(x / j);
|
|
3871
|
+
M < 1 ? M = 1 : M > t.length && (M = t.length), console.debug("Slides to show > ", {
|
|
3872
3872
|
container: x,
|
|
3873
3873
|
slide: j,
|
|
3874
|
-
res:
|
|
3875
|
-
}), s(
|
|
3874
|
+
res: M
|
|
3875
|
+
}), s(M);
|
|
3876
3876
|
};
|
|
3877
3877
|
return q.useEffect(() => {
|
|
3878
3878
|
g();
|
|
3879
|
-
}, [
|
|
3880
|
-
},
|
|
3879
|
+
}, [c, u]), /* @__PURE__ */ K.jsx(na, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ K.jsx(oi, { ...l, slidesToShow: a, children: h }) });
|
|
3880
|
+
}, es = ({
|
|
3881
3881
|
checked: e,
|
|
3882
3882
|
onToggle: t,
|
|
3883
3883
|
styles: r,
|
|
@@ -3885,7 +3885,7 @@ const na = Le.div`
|
|
|
3885
3885
|
customCheckedRender: a,
|
|
3886
3886
|
customUncheckedRender: s
|
|
3887
3887
|
}) => {
|
|
3888
|
-
const
|
|
3888
|
+
const c = e ? { ...r, ...i } : { ...r };
|
|
3889
3889
|
return /* @__PURE__ */ K.jsxs(
|
|
3890
3890
|
"div",
|
|
3891
3891
|
{
|
|
@@ -3903,7 +3903,7 @@ const na = Le.div`
|
|
|
3903
3903
|
alignItems: "center",
|
|
3904
3904
|
justifyContent: "center",
|
|
3905
3905
|
display: "flex",
|
|
3906
|
-
...
|
|
3906
|
+
...c
|
|
3907
3907
|
},
|
|
3908
3908
|
children: [
|
|
3909
3909
|
e && a,
|
|
@@ -3911,7 +3911,7 @@ const na = Le.div`
|
|
|
3911
3911
|
]
|
|
3912
3912
|
}
|
|
3913
3913
|
);
|
|
3914
|
-
},
|
|
3914
|
+
}, ts = (e) => Ir(e, []), aa = () => {
|
|
3915
3915
|
const [e, t] = q.useState(
|
|
3916
3916
|
{}
|
|
3917
3917
|
), [r, i] = q.useState(!1);
|
|
@@ -3920,11 +3920,11 @@ const na = Le.div`
|
|
|
3920
3920
|
t({ x: u.clientX, y: u.clientY });
|
|
3921
3921
|
}, s = (u) => {
|
|
3922
3922
|
i(!0);
|
|
3923
|
-
},
|
|
3923
|
+
}, c = (u) => {
|
|
3924
3924
|
i(!1);
|
|
3925
3925
|
};
|
|
3926
|
-
return window.addEventListener("pointermove", a), window.addEventListener("pointerdown", s), window.addEventListener("pointerup",
|
|
3927
|
-
window.removeEventListener("pointermove", a), window.removeEventListener("pointerdown", s), window.removeEventListener("pointerup",
|
|
3926
|
+
return window.addEventListener("pointermove", a), window.addEventListener("pointerdown", s), window.addEventListener("pointerup", c), () => {
|
|
3927
|
+
window.removeEventListener("pointermove", a), window.removeEventListener("pointerdown", s), window.removeEventListener("pointerup", c);
|
|
3928
3928
|
};
|
|
3929
3929
|
}, []), {
|
|
3930
3930
|
pointerPosition: e,
|
|
@@ -3936,56 +3936,56 @@ const na = Le.div`
|
|
|
3936
3936
|
onDragStart: r,
|
|
3937
3937
|
onDragEnd: i
|
|
3938
3938
|
}) => {
|
|
3939
|
-
const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition:
|
|
3939
|
+
const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: u } = aa(), l = q.useRef({
|
|
3940
3940
|
isDragging: !1
|
|
3941
3941
|
}), h = q.useCallback(
|
|
3942
|
-
(
|
|
3942
|
+
(P) => {
|
|
3943
3943
|
if (!e || !e.current || !l.current)
|
|
3944
3944
|
return;
|
|
3945
3945
|
const p = { ...l.current };
|
|
3946
|
-
return p.posY =
|
|
3946
|
+
return p.posY = P.y, p.posX = P.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;
|
|
3947
3947
|
},
|
|
3948
3948
|
[]
|
|
3949
3949
|
), g = q.useCallback(
|
|
3950
|
-
(
|
|
3951
|
-
|
|
3952
|
-
const p = h({ x:
|
|
3950
|
+
(P) => {
|
|
3951
|
+
P.preventDefault(), P.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = P.clientY, l.current.startPosX = P.clientX;
|
|
3952
|
+
const p = h({ x: P.clientX, y: P.clientY });
|
|
3953
3953
|
p && (l.current = p, r?.(p));
|
|
3954
3954
|
},
|
|
3955
3955
|
[h]
|
|
3956
3956
|
), x = q.useCallback(
|
|
3957
|
-
(
|
|
3957
|
+
(P) => {
|
|
3958
3958
|
l.current.isDragging = !1;
|
|
3959
|
-
const p = h(
|
|
3959
|
+
const p = h(c);
|
|
3960
3960
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
3961
3961
|
},
|
|
3962
|
-
[h,
|
|
3962
|
+
[h, c]
|
|
3963
3963
|
), j = q.useCallback(
|
|
3964
|
-
(
|
|
3964
|
+
(P) => {
|
|
3965
3965
|
if (console.debug(
|
|
3966
3966
|
"useDrag > onPointerMove > Is Dragging >",
|
|
3967
3967
|
l.current.isDragging
|
|
3968
3968
|
), !l.current.isDragging)
|
|
3969
3969
|
return;
|
|
3970
|
-
const p = h(
|
|
3970
|
+
const p = h(c);
|
|
3971
3971
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), l.current = p);
|
|
3972
3972
|
},
|
|
3973
|
-
[h,
|
|
3974
|
-
),
|
|
3973
|
+
[h, c]
|
|
3974
|
+
), M = q.useCallback(async () => {
|
|
3975
3975
|
if (!a.current) {
|
|
3976
3976
|
for (; !e?.current; )
|
|
3977
|
-
await new Promise((
|
|
3977
|
+
await new Promise((P) => setTimeout(P, 300));
|
|
3978
3978
|
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
3979
3979
|
}
|
|
3980
3980
|
}, [e?.current, g]);
|
|
3981
3981
|
q.useEffect(() => {
|
|
3982
|
-
|
|
3983
|
-
}, [
|
|
3982
|
+
M();
|
|
3983
|
+
}, [M]), q.useEffect(() => {
|
|
3984
3984
|
j();
|
|
3985
|
-
}, [
|
|
3985
|
+
}, [c]), q.useEffect(() => {
|
|
3986
3986
|
u !== s.current && (s.current = u, u || x());
|
|
3987
3987
|
}, [u, s.current]);
|
|
3988
|
-
},
|
|
3988
|
+
}, rs = () => {
|
|
3989
3989
|
const e = (u, l) => {
|
|
3990
3990
|
let h = 0, g = `${u}`;
|
|
3991
3991
|
for (const x in l) {
|
|
@@ -4028,7 +4028,7 @@ const na = Le.div`
|
|
|
4028
4028
|
}
|
|
4029
4029
|
};
|
|
4030
4030
|
};
|
|
4031
|
-
function
|
|
4031
|
+
function ns(e) {
|
|
4032
4032
|
const [t, r] = Ar(!1), i = q.useMemo(
|
|
4033
4033
|
() => new IntersectionObserver(
|
|
4034
4034
|
([a]) => r(a.isIntersecting)
|
|
@@ -4044,7 +4044,7 @@ const sa = {
|
|
|
4044
4044
|
lg: 991,
|
|
4045
4045
|
xl: 1200,
|
|
4046
4046
|
xxl: 1440
|
|
4047
|
-
},
|
|
4047
|
+
}, is = (e) => {
|
|
4048
4048
|
const t = {
|
|
4049
4049
|
...sa,
|
|
4050
4050
|
...e?.breakpointConfiguration
|
|
@@ -4059,21 +4059,21 @@ const sa = {
|
|
|
4059
4059
|
}, la = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ua = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
|
|
4060
4060
|
const t = window.innerWidth, r = window.innerHeight, i = la(t, e), a = ua(t, e);
|
|
4061
4061
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
|
|
4062
|
-
},
|
|
4063
|
-
const t = e.translations, r = e.language, i = (s,
|
|
4062
|
+
}, as = (e) => {
|
|
4063
|
+
const t = e.translations, r = e.language, i = (s, c) => {
|
|
4064
4064
|
if (!s)
|
|
4065
4065
|
return;
|
|
4066
4066
|
let u = s[r];
|
|
4067
4067
|
if (u)
|
|
4068
|
-
return
|
|
4069
|
-
const h =
|
|
4068
|
+
return c && Object.keys(c).forEach((l) => {
|
|
4069
|
+
const h = c[l];
|
|
4070
4070
|
u = u.replaceAll(`{{${l}}}`, `${h}`);
|
|
4071
4071
|
}), u;
|
|
4072
4072
|
};
|
|
4073
4073
|
return {
|
|
4074
|
-
t: (s,
|
|
4074
|
+
t: (s, c) => {
|
|
4075
4075
|
if (t[s]) {
|
|
4076
|
-
const u = i(t[s],
|
|
4076
|
+
const u = i(t[s], c);
|
|
4077
4077
|
return u ?? s;
|
|
4078
4078
|
}
|
|
4079
4079
|
return s;
|
|
@@ -4084,17 +4084,17 @@ const sa = {
|
|
|
4084
4084
|
var Ye = {}, Rr;
|
|
4085
4085
|
function ca() {
|
|
4086
4086
|
if (Rr) return Ye;
|
|
4087
|
-
Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse =
|
|
4087
|
+
Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
|
|
4088
4088
|
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__ */ (() => {
|
|
4089
4089
|
const j = function() {
|
|
4090
4090
|
};
|
|
4091
4091
|
return j.prototype = /* @__PURE__ */ Object.create(null), j;
|
|
4092
4092
|
})();
|
|
4093
|
-
function
|
|
4094
|
-
const
|
|
4093
|
+
function c(j, M) {
|
|
4094
|
+
const P = new s(), p = j.length;
|
|
4095
4095
|
if (p < 2)
|
|
4096
|
-
return
|
|
4097
|
-
const I =
|
|
4096
|
+
return P;
|
|
4097
|
+
const I = M?.decode || g;
|
|
4098
4098
|
let C = 0;
|
|
4099
4099
|
do {
|
|
4100
4100
|
const N = j.indexOf("=", C);
|
|
@@ -4106,63 +4106,63 @@ function ca() {
|
|
|
4106
4106
|
continue;
|
|
4107
4107
|
}
|
|
4108
4108
|
const v = u(j, C, N), b = l(j, N, v), w = j.slice(v, b);
|
|
4109
|
-
if (
|
|
4110
|
-
let
|
|
4111
|
-
const d = I(j.slice(
|
|
4112
|
-
|
|
4109
|
+
if (P[w] === void 0) {
|
|
4110
|
+
let E = u(j, N + 1, V), y = l(j, V, E);
|
|
4111
|
+
const d = I(j.slice(E, y));
|
|
4112
|
+
P[w] = d;
|
|
4113
4113
|
}
|
|
4114
4114
|
C = V + 1;
|
|
4115
4115
|
} while (C < p);
|
|
4116
|
-
return
|
|
4116
|
+
return P;
|
|
4117
4117
|
}
|
|
4118
|
-
function u(j,
|
|
4118
|
+
function u(j, M, P) {
|
|
4119
4119
|
do {
|
|
4120
|
-
const p = j.charCodeAt(
|
|
4120
|
+
const p = j.charCodeAt(M);
|
|
4121
4121
|
if (p !== 32 && p !== 9)
|
|
4122
|
-
return
|
|
4123
|
-
} while (
|
|
4124
|
-
return
|
|
4122
|
+
return M;
|
|
4123
|
+
} while (++M < P);
|
|
4124
|
+
return P;
|
|
4125
4125
|
}
|
|
4126
|
-
function l(j,
|
|
4127
|
-
for (;
|
|
4128
|
-
const p = j.charCodeAt(
|
|
4126
|
+
function l(j, M, P) {
|
|
4127
|
+
for (; M > P; ) {
|
|
4128
|
+
const p = j.charCodeAt(--M);
|
|
4129
4129
|
if (p !== 32 && p !== 9)
|
|
4130
|
-
return
|
|
4130
|
+
return M + 1;
|
|
4131
4131
|
}
|
|
4132
|
-
return
|
|
4132
|
+
return P;
|
|
4133
4133
|
}
|
|
4134
|
-
function h(j,
|
|
4135
|
-
const p =
|
|
4134
|
+
function h(j, M, P) {
|
|
4135
|
+
const p = P?.encode || encodeURIComponent;
|
|
4136
4136
|
if (!e.test(j))
|
|
4137
4137
|
throw new TypeError(`argument name is invalid: ${j}`);
|
|
4138
|
-
const I = p(
|
|
4138
|
+
const I = p(M);
|
|
4139
4139
|
if (!t.test(I))
|
|
4140
|
-
throw new TypeError(`argument val is invalid: ${
|
|
4140
|
+
throw new TypeError(`argument val is invalid: ${M}`);
|
|
4141
4141
|
let C = j + "=" + I;
|
|
4142
|
-
if (!
|
|
4142
|
+
if (!P)
|
|
4143
4143
|
return C;
|
|
4144
|
-
if (
|
|
4145
|
-
if (!Number.isInteger(
|
|
4146
|
-
throw new TypeError(`option maxAge is invalid: ${
|
|
4147
|
-
C += "; Max-Age=" +
|
|
4148
|
-
}
|
|
4149
|
-
if (
|
|
4150
|
-
if (!r.test(
|
|
4151
|
-
throw new TypeError(`option domain is invalid: ${
|
|
4152
|
-
C += "; Domain=" +
|
|
4153
|
-
}
|
|
4154
|
-
if (
|
|
4155
|
-
if (!i.test(
|
|
4156
|
-
throw new TypeError(`option path is invalid: ${
|
|
4157
|
-
C += "; Path=" +
|
|
4158
|
-
}
|
|
4159
|
-
if (
|
|
4160
|
-
if (!x(
|
|
4161
|
-
throw new TypeError(`option expires is invalid: ${
|
|
4162
|
-
C += "; Expires=" +
|
|
4163
|
-
}
|
|
4164
|
-
if (
|
|
4165
|
-
switch (typeof
|
|
4144
|
+
if (P.maxAge !== void 0) {
|
|
4145
|
+
if (!Number.isInteger(P.maxAge))
|
|
4146
|
+
throw new TypeError(`option maxAge is invalid: ${P.maxAge}`);
|
|
4147
|
+
C += "; Max-Age=" + P.maxAge;
|
|
4148
|
+
}
|
|
4149
|
+
if (P.domain) {
|
|
4150
|
+
if (!r.test(P.domain))
|
|
4151
|
+
throw new TypeError(`option domain is invalid: ${P.domain}`);
|
|
4152
|
+
C += "; Domain=" + P.domain;
|
|
4153
|
+
}
|
|
4154
|
+
if (P.path) {
|
|
4155
|
+
if (!i.test(P.path))
|
|
4156
|
+
throw new TypeError(`option path is invalid: ${P.path}`);
|
|
4157
|
+
C += "; Path=" + P.path;
|
|
4158
|
+
}
|
|
4159
|
+
if (P.expires) {
|
|
4160
|
+
if (!x(P.expires) || !Number.isFinite(P.expires.valueOf()))
|
|
4161
|
+
throw new TypeError(`option expires is invalid: ${P.expires}`);
|
|
4162
|
+
C += "; Expires=" + P.expires.toUTCString();
|
|
4163
|
+
}
|
|
4164
|
+
if (P.httpOnly && (C += "; HttpOnly"), P.secure && (C += "; Secure"), P.partitioned && (C += "; Partitioned"), P.priority)
|
|
4165
|
+
switch (typeof P.priority == "string" ? P.priority.toLowerCase() : void 0) {
|
|
4166
4166
|
case "low":
|
|
4167
4167
|
C += "; Priority=Low";
|
|
4168
4168
|
break;
|
|
@@ -4173,10 +4173,10 @@ function ca() {
|
|
|
4173
4173
|
C += "; Priority=High";
|
|
4174
4174
|
break;
|
|
4175
4175
|
default:
|
|
4176
|
-
throw new TypeError(`option priority is invalid: ${
|
|
4176
|
+
throw new TypeError(`option priority is invalid: ${P.priority}`);
|
|
4177
4177
|
}
|
|
4178
|
-
if (
|
|
4179
|
-
switch (typeof
|
|
4178
|
+
if (P.sameSite)
|
|
4179
|
+
switch (typeof P.sameSite == "string" ? P.sameSite.toLowerCase() : P.sameSite) {
|
|
4180
4180
|
case !0:
|
|
4181
4181
|
case "strict":
|
|
4182
4182
|
C += "; SameSite=Strict";
|
|
@@ -4188,7 +4188,7 @@ function ca() {
|
|
|
4188
4188
|
C += "; SameSite=None";
|
|
4189
4189
|
break;
|
|
4190
4190
|
default:
|
|
4191
|
-
throw new TypeError(`option sameSite is invalid: ${
|
|
4191
|
+
throw new TypeError(`option sameSite is invalid: ${P.sameSite}`);
|
|
4192
4192
|
}
|
|
4193
4193
|
return C;
|
|
4194
4194
|
}
|
|
@@ -4220,10 +4220,10 @@ ca();
|
|
|
4220
4220
|
var _r = "popstate";
|
|
4221
4221
|
function fa(e = {}) {
|
|
4222
4222
|
function t(i, a) {
|
|
4223
|
-
let { pathname: s, search:
|
|
4223
|
+
let { pathname: s, search: c, hash: u } = i.location;
|
|
4224
4224
|
return Ft(
|
|
4225
4225
|
"",
|
|
4226
|
-
{ pathname: s, search:
|
|
4226
|
+
{ pathname: s, search: c, hash: u },
|
|
4227
4227
|
// state defaults to `null` because `window.history.state` does
|
|
4228
4228
|
a.state && a.state.usr || null,
|
|
4229
4229
|
a.state && a.state.key || "default"
|
|
@@ -4294,10 +4294,10 @@ function Me(e) {
|
|
|
4294
4294
|
return t;
|
|
4295
4295
|
}
|
|
4296
4296
|
function ha(e, t, r, i = {}) {
|
|
4297
|
-
let { window: a = document.defaultView, v5Compat: s = !1 } = i,
|
|
4298
|
-
h == null && (h = 0,
|
|
4297
|
+
let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, u = "POP", l = null, h = g();
|
|
4298
|
+
h == null && (h = 0, c.replaceState({ ...c.state, idx: h }, ""));
|
|
4299
4299
|
function g() {
|
|
4300
|
-
return (
|
|
4300
|
+
return (c.state || { idx: null }).idx;
|
|
4301
4301
|
}
|
|
4302
4302
|
function x() {
|
|
4303
4303
|
u = "POP";
|
|
@@ -4310,7 +4310,7 @@ function ha(e, t, r, i = {}) {
|
|
|
4310
4310
|
h = g() + 1;
|
|
4311
4311
|
let U = Tr(N, h), V = p.createHref(N);
|
|
4312
4312
|
try {
|
|
4313
|
-
|
|
4313
|
+
c.pushState(U, "", V);
|
|
4314
4314
|
} catch (v) {
|
|
4315
4315
|
if (v instanceof DOMException && v.name === "DataCloneError")
|
|
4316
4316
|
throw v;
|
|
@@ -4318,14 +4318,14 @@ function ha(e, t, r, i = {}) {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
s && l && l({ action: u, location: p.location, delta: 1 });
|
|
4320
4320
|
}
|
|
4321
|
-
function
|
|
4321
|
+
function M(I, C) {
|
|
4322
4322
|
u = "REPLACE";
|
|
4323
4323
|
let N = Ft(p.location, I, C);
|
|
4324
4324
|
h = g();
|
|
4325
4325
|
let U = Tr(N, h), V = p.createHref(N);
|
|
4326
|
-
|
|
4326
|
+
c.replaceState(U, "", V), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4327
4327
|
}
|
|
4328
|
-
function
|
|
4328
|
+
function P(I) {
|
|
4329
4329
|
return pa(I);
|
|
4330
4330
|
}
|
|
4331
4331
|
let p = {
|
|
@@ -4333,7 +4333,7 @@ function ha(e, t, r, i = {}) {
|
|
|
4333
4333
|
return u;
|
|
4334
4334
|
},
|
|
4335
4335
|
get location() {
|
|
4336
|
-
return e(a,
|
|
4336
|
+
return e(a, c);
|
|
4337
4337
|
},
|
|
4338
4338
|
listen(I) {
|
|
4339
4339
|
if (l)
|
|
@@ -4345,9 +4345,9 @@ function ha(e, t, r, i = {}) {
|
|
|
4345
4345
|
createHref(I) {
|
|
4346
4346
|
return t(a, I);
|
|
4347
4347
|
},
|
|
4348
|
-
createURL:
|
|
4348
|
+
createURL: P,
|
|
4349
4349
|
encodeLocation(I) {
|
|
4350
|
-
let C =
|
|
4350
|
+
let C = P(I);
|
|
4351
4351
|
return {
|
|
4352
4352
|
pathname: C.pathname,
|
|
4353
4353
|
search: C.search,
|
|
@@ -4355,9 +4355,9 @@ function ha(e, t, r, i = {}) {
|
|
|
4355
4355
|
};
|
|
4356
4356
|
},
|
|
4357
4357
|
push: j,
|
|
4358
|
-
replace:
|
|
4358
|
+
replace: M,
|
|
4359
4359
|
go(I) {
|
|
4360
|
-
return
|
|
4360
|
+
return c.go(I);
|
|
4361
4361
|
}
|
|
4362
4362
|
};
|
|
4363
4363
|
return p;
|
|
@@ -4375,13 +4375,13 @@ function ma(e, t, r, i) {
|
|
|
4375
4375
|
let a = typeof t == "string" ? Me(t) : t, s = xe(a.pathname || "/", r);
|
|
4376
4376
|
if (s == null)
|
|
4377
4377
|
return null;
|
|
4378
|
-
let
|
|
4379
|
-
va(
|
|
4378
|
+
let c = nn(e);
|
|
4379
|
+
va(c);
|
|
4380
4380
|
let u = null;
|
|
4381
|
-
for (let l = 0; u == null && l <
|
|
4381
|
+
for (let l = 0; u == null && l < c.length; ++l) {
|
|
4382
4382
|
let h = Ea(s);
|
|
4383
4383
|
u = Ca(
|
|
4384
|
-
|
|
4384
|
+
c[l],
|
|
4385
4385
|
h,
|
|
4386
4386
|
i
|
|
4387
4387
|
);
|
|
@@ -4389,11 +4389,11 @@ function ma(e, t, r, i) {
|
|
|
4389
4389
|
return u;
|
|
4390
4390
|
}
|
|
4391
4391
|
function nn(e, t = [], r = [], i = "") {
|
|
4392
|
-
let a = (s,
|
|
4392
|
+
let a = (s, c, u) => {
|
|
4393
4393
|
let l = {
|
|
4394
4394
|
relativePath: u === void 0 ? s.path || "" : u,
|
|
4395
4395
|
caseSensitive: s.caseSensitive === !0,
|
|
4396
|
-
childrenIndex:
|
|
4396
|
+
childrenIndex: c,
|
|
4397
4397
|
route: s
|
|
4398
4398
|
};
|
|
4399
4399
|
l.relativePath.startsWith("/") && (ae(
|
|
@@ -4412,12 +4412,12 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4412
4412
|
routesMeta: g
|
|
4413
4413
|
});
|
|
4414
4414
|
};
|
|
4415
|
-
return e.forEach((s,
|
|
4415
|
+
return e.forEach((s, c) => {
|
|
4416
4416
|
if (s.path === "" || !s.path?.includes("?"))
|
|
4417
|
-
a(s,
|
|
4417
|
+
a(s, c);
|
|
4418
4418
|
else
|
|
4419
4419
|
for (let u of an(s.path))
|
|
4420
|
-
a(s,
|
|
4420
|
+
a(s, c, u);
|
|
4421
4421
|
}), t;
|
|
4422
4422
|
}
|
|
4423
4423
|
function an(e) {
|
|
@@ -4426,12 +4426,12 @@ function an(e) {
|
|
|
4426
4426
|
let [r, ...i] = t, a = r.endsWith("?"), s = r.replace(/\?$/, "");
|
|
4427
4427
|
if (i.length === 0)
|
|
4428
4428
|
return a ? [s, ""] : [s];
|
|
4429
|
-
let
|
|
4429
|
+
let c = an(i.join("/")), u = [];
|
|
4430
4430
|
return u.push(
|
|
4431
|
-
...
|
|
4431
|
+
...c.map(
|
|
4432
4432
|
(l) => l === "" ? s : [s, l].join("/")
|
|
4433
4433
|
)
|
|
4434
|
-
), a && u.push(...
|
|
4434
|
+
), a && u.push(...c), u.map(
|
|
4435
4435
|
(l) => e.startsWith("/") && l === "" ? "/" : l
|
|
4436
4436
|
);
|
|
4437
4437
|
}
|
|
@@ -4465,7 +4465,7 @@ function ka(e, t) {
|
|
|
4465
4465
|
);
|
|
4466
4466
|
}
|
|
4467
4467
|
function Ca(e, t, r = !1) {
|
|
4468
|
-
let { routesMeta: i } = e, a = {}, s = "/",
|
|
4468
|
+
let { routesMeta: i } = e, a = {}, s = "/", c = [];
|
|
4469
4469
|
for (let u = 0; u < i.length; ++u) {
|
|
4470
4470
|
let l = i[u], h = u === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", x = gt(
|
|
4471
4471
|
{ path: l.relativePath, caseSensitive: l.caseSensitive, end: h },
|
|
@@ -4480,7 +4480,7 @@ function Ca(e, t, r = !1) {
|
|
|
4480
4480
|
g
|
|
4481
4481
|
)), !x)
|
|
4482
4482
|
return null;
|
|
4483
|
-
Object.assign(a, x.params),
|
|
4483
|
+
Object.assign(a, x.params), c.push({
|
|
4484
4484
|
// TODO: Can this as be avoided?
|
|
4485
4485
|
params: a,
|
|
4486
4486
|
pathname: Se([s, x.pathname]),
|
|
@@ -4490,7 +4490,7 @@ function Ca(e, t, r = !1) {
|
|
|
4490
4490
|
route: j
|
|
4491
4491
|
}), x.pathnameBase !== "/" && (s = Se([s, x.pathnameBase]));
|
|
4492
4492
|
}
|
|
4493
|
-
return
|
|
4493
|
+
return c;
|
|
4494
4494
|
}
|
|
4495
4495
|
function gt(e, t) {
|
|
4496
4496
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
@@ -4500,21 +4500,21 @@ function gt(e, t) {
|
|
|
4500
4500
|
e.end
|
|
4501
4501
|
), a = t.match(r);
|
|
4502
4502
|
if (!a) return null;
|
|
4503
|
-
let s = a[0],
|
|
4503
|
+
let s = a[0], c = s.replace(/(.)\/+$/, "$1"), u = a.slice(1);
|
|
4504
4504
|
return {
|
|
4505
4505
|
params: i.reduce(
|
|
4506
4506
|
(h, { paramName: g, isOptional: x }, j) => {
|
|
4507
4507
|
if (g === "*") {
|
|
4508
|
-
let
|
|
4509
|
-
|
|
4508
|
+
let P = u[j] || "";
|
|
4509
|
+
c = s.slice(0, s.length - P.length).replace(/(.)\/+$/, "$1");
|
|
4510
4510
|
}
|
|
4511
|
-
const
|
|
4512
|
-
return x &&
|
|
4511
|
+
const M = u[j];
|
|
4512
|
+
return x && !M ? h[g] = void 0 : h[g] = (M || "").replace(/%2F/g, "/"), h;
|
|
4513
4513
|
},
|
|
4514
4514
|
{}
|
|
4515
4515
|
),
|
|
4516
4516
|
pathname: s,
|
|
4517
|
-
pathnameBase:
|
|
4517
|
+
pathnameBase: c,
|
|
4518
4518
|
pattern: e
|
|
4519
4519
|
};
|
|
4520
4520
|
}
|
|
@@ -4525,7 +4525,7 @@ function Pa(e, t = !1, r = !0) {
|
|
|
4525
4525
|
);
|
|
4526
4526
|
let i = [], a = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
|
|
4527
4527
|
/\/:([\w-]+)(\?)?/g,
|
|
4528
|
-
(
|
|
4528
|
+
(c, u, l) => (i.push({ paramName: u, isOptional: l != null }), l ? "/?([^\\/]+)?" : "/([^\\/]+)")
|
|
4529
4529
|
);
|
|
4530
4530
|
return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
|
|
4531
4531
|
}
|
|
@@ -4592,20 +4592,20 @@ function sn(e, t, r, i = !1) {
|
|
|
4592
4592
|
!a.search || !a.search.includes("#"),
|
|
4593
4593
|
$t("#", "search", "hash", a)
|
|
4594
4594
|
));
|
|
4595
|
-
let s = e === "" || a.pathname === "",
|
|
4596
|
-
if (
|
|
4595
|
+
let s = e === "" || a.pathname === "", c = s ? "/" : a.pathname, u;
|
|
4596
|
+
if (c == null)
|
|
4597
4597
|
u = r;
|
|
4598
4598
|
else {
|
|
4599
4599
|
let x = t.length - 1;
|
|
4600
|
-
if (!i &&
|
|
4601
|
-
let j =
|
|
4600
|
+
if (!i && c.startsWith("..")) {
|
|
4601
|
+
let j = c.split("/");
|
|
4602
4602
|
for (; j[0] === ".."; )
|
|
4603
4603
|
j.shift(), x -= 1;
|
|
4604
4604
|
a.pathname = j.join("/");
|
|
4605
4605
|
}
|
|
4606
4606
|
u = x >= 0 ? t[x] : "/";
|
|
4607
4607
|
}
|
|
4608
|
-
let l = Ra(a, u), h =
|
|
4608
|
+
let l = Ra(a, u), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
|
|
4609
4609
|
return !l.pathname.endsWith("/") && (h || g) && (l.pathname += "/"), l;
|
|
4610
4610
|
}
|
|
4611
4611
|
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), ja = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), La = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Da = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
@@ -4663,8 +4663,8 @@ function za(e, { relative: t } = {}) {
|
|
|
4663
4663
|
// router loaded. We can help them understand how to avoid that.
|
|
4664
4664
|
"useHref() may be used only in the context of a <Router> component."
|
|
4665
4665
|
);
|
|
4666
|
-
let { basename: r, navigator: i } = D.useContext(we), { hash: a, pathname: s, search:
|
|
4667
|
-
return r !== "/" && (u = s === "/" ? r : Se([r, s])), i.createHref({ pathname: u, search:
|
|
4666
|
+
let { basename: r, navigator: i } = D.useContext(we), { hash: a, pathname: s, search: c } = et(e, { relative: t }), u = s;
|
|
4667
|
+
return r !== "/" && (u = s === "/" ? r : Se([r, s])), i.createHref({ pathname: u, search: c, hash: a });
|
|
4668
4668
|
}
|
|
4669
4669
|
function Qe() {
|
|
4670
4670
|
return D.useContext(Ze) != null;
|
|
@@ -4692,12 +4692,12 @@ function Ha() {
|
|
|
4692
4692
|
// router loaded. We can help them understand how to avoid that.
|
|
4693
4693
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
4694
4694
|
);
|
|
4695
|
-
let e = D.useContext($e), { basename: t, navigator: r } = D.useContext(we), { matches: i } = D.useContext(Oe), { pathname: a } = ke(), s = JSON.stringify(on(i)),
|
|
4695
|
+
let e = D.useContext($e), { basename: t, navigator: r } = D.useContext(we), { matches: i } = D.useContext(Oe), { pathname: a } = ke(), s = JSON.stringify(on(i)), c = D.useRef(!1);
|
|
4696
4696
|
return fn(() => {
|
|
4697
|
-
|
|
4697
|
+
c.current = !0;
|
|
4698
4698
|
}), D.useCallback(
|
|
4699
4699
|
(l, h = {}) => {
|
|
4700
|
-
if (ve(
|
|
4700
|
+
if (ve(c.current, cn), !c.current) return;
|
|
4701
4701
|
if (typeof l == "number") {
|
|
4702
4702
|
r.go(l);
|
|
4703
4703
|
return;
|
|
@@ -4746,7 +4746,7 @@ function dn(e, t, r, i) {
|
|
|
4746
4746
|
// router loaded. We can help them understand how to avoid that.
|
|
4747
4747
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
4748
4748
|
);
|
|
4749
|
-
let { navigator: a } = D.useContext(we), { matches: s } = D.useContext(Oe),
|
|
4749
|
+
let { navigator: a } = D.useContext(we), { matches: s } = D.useContext(Oe), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", h = c ? c.pathnameBase : "/", g = c && c.route;
|
|
4750
4750
|
{
|
|
4751
4751
|
let C = g && g.path || "";
|
|
4752
4752
|
hn(
|
|
@@ -4766,12 +4766,12 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
4766
4766
|
), j = C;
|
|
4767
4767
|
} else
|
|
4768
4768
|
j = x;
|
|
4769
|
-
let
|
|
4769
|
+
let M = j.pathname || "/", P = M;
|
|
4770
4770
|
if (h !== "/") {
|
|
4771
4771
|
let C = h.replace(/^\//, "").split("/");
|
|
4772
|
-
|
|
4772
|
+
P = "/" + M.replace(/^\//, "").split("/").slice(C.length).join("/");
|
|
4773
4773
|
}
|
|
4774
|
-
let p = rn(e, { pathname:
|
|
4774
|
+
let p = rn(e, { pathname: P });
|
|
4775
4775
|
ve(
|
|
4776
4776
|
g || p != null,
|
|
4777
4777
|
`No routes matched location "${j.pathname}${j.search}${j.hash}" `
|
|
@@ -4819,11 +4819,11 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
4819
4819
|
) : I;
|
|
4820
4820
|
}
|
|
4821
4821
|
function Fa() {
|
|
4822
|
-
let e = Ka(), t = Ma(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 },
|
|
4822
|
+
let e = Ka(), t = Ma(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 }, c = null;
|
|
4823
4823
|
return console.error(
|
|
4824
4824
|
"Error handled by React Router default ErrorBoundary:",
|
|
4825
4825
|
e
|
|
4826
|
-
),
|
|
4826
|
+
), c = /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ D.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ D.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ D.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ D.createElement("pre", { style: a }, r) : null, c);
|
|
4827
4827
|
}
|
|
4828
4828
|
var Wa = /* @__PURE__ */ D.createElement(Fa, null), Ua = class extends D.Component {
|
|
4829
4829
|
constructor(e) {
|
|
@@ -4894,28 +4894,28 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4894
4894
|
Math.min(a.length, l + 1)
|
|
4895
4895
|
);
|
|
4896
4896
|
}
|
|
4897
|
-
let
|
|
4897
|
+
let c = !1, u = -1;
|
|
4898
4898
|
if (r)
|
|
4899
4899
|
for (let l = 0; l < a.length; l++) {
|
|
4900
4900
|
let h = a[l];
|
|
4901
4901
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (u = l), h.route.id) {
|
|
4902
4902
|
let { loaderData: g, errors: x } = r, j = h.route.loader && !g.hasOwnProperty(h.route.id) && (!x || x[h.route.id] === void 0);
|
|
4903
4903
|
if (h.route.lazy || j) {
|
|
4904
|
-
|
|
4904
|
+
c = !0, u >= 0 ? a = a.slice(0, u + 1) : a = [a[0]];
|
|
4905
4905
|
break;
|
|
4906
4906
|
}
|
|
4907
4907
|
}
|
|
4908
4908
|
}
|
|
4909
4909
|
return a.reduceRight((l, h, g) => {
|
|
4910
|
-
let x, j = !1,
|
|
4911
|
-
r && (x = s && h.route.id ? s[h.route.id] : void 0,
|
|
4910
|
+
let x, j = !1, M = null, P = null;
|
|
4911
|
+
r && (x = s && h.route.id ? s[h.route.id] : void 0, M = h.route.errorElement || Wa, c && (u < 0 && g === 0 ? (hn(
|
|
4912
4912
|
"route-fallback",
|
|
4913
4913
|
!1,
|
|
4914
4914
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4915
|
-
), j = !0,
|
|
4915
|
+
), j = !0, P = null) : u === g && (j = !0, P = h.route.hydrateFallbackElement || null)));
|
|
4916
4916
|
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
4917
4917
|
let C;
|
|
4918
|
-
return x ? C =
|
|
4918
|
+
return x ? C = M : j ? C = P : h.route.Component ? C = /* @__PURE__ */ D.createElement(h.route.Component, null) : h.route.element ? C = h.route.element : C = l, /* @__PURE__ */ D.createElement(
|
|
4919
4919
|
Ya,
|
|
4920
4920
|
{
|
|
4921
4921
|
match: h,
|
|
@@ -4933,7 +4933,7 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4933
4933
|
{
|
|
4934
4934
|
location: r.location,
|
|
4935
4935
|
revalidation: r.revalidation,
|
|
4936
|
-
component:
|
|
4936
|
+
component: M,
|
|
4937
4937
|
error: x,
|
|
4938
4938
|
children: I(),
|
|
4939
4939
|
routeContext: { outlet: null, matches: p, isDataRoute: !0 }
|
|
@@ -5026,14 +5026,14 @@ function Qa({
|
|
|
5026
5026
|
!Qe(),
|
|
5027
5027
|
"You cannot render a <Router> inside another <Router>. You should never have more than one in your app."
|
|
5028
5028
|
);
|
|
5029
|
-
let
|
|
5029
|
+
let c = e.replace(/^\/*/, "/"), u = D.useMemo(
|
|
5030
5030
|
() => ({
|
|
5031
|
-
basename:
|
|
5031
|
+
basename: c,
|
|
5032
5032
|
navigator: a,
|
|
5033
5033
|
static: s,
|
|
5034
5034
|
future: {}
|
|
5035
5035
|
}),
|
|
5036
|
-
[
|
|
5036
|
+
[c, a, s]
|
|
5037
5037
|
);
|
|
5038
5038
|
typeof r == "string" && (r = Me(r));
|
|
5039
5039
|
let {
|
|
@@ -5042,11 +5042,11 @@ function Qa({
|
|
|
5042
5042
|
hash: g = "",
|
|
5043
5043
|
state: x = null,
|
|
5044
5044
|
key: j = "default"
|
|
5045
|
-
} = r,
|
|
5046
|
-
let
|
|
5047
|
-
return
|
|
5045
|
+
} = r, M = D.useMemo(() => {
|
|
5046
|
+
let P = xe(l, c);
|
|
5047
|
+
return P == null ? null : {
|
|
5048
5048
|
location: {
|
|
5049
|
-
pathname:
|
|
5049
|
+
pathname: P,
|
|
5050
5050
|
search: h,
|
|
5051
5051
|
hash: g,
|
|
5052
5052
|
state: x,
|
|
@@ -5054,11 +5054,11 @@ function Qa({
|
|
|
5054
5054
|
},
|
|
5055
5055
|
navigationType: i
|
|
5056
5056
|
};
|
|
5057
|
-
}, [
|
|
5057
|
+
}, [c, l, h, g, x, j, i]);
|
|
5058
5058
|
return ve(
|
|
5059
|
-
|
|
5060
|
-
`<Router basename="${
|
|
5061
|
-
),
|
|
5059
|
+
M != null,
|
|
5060
|
+
`<Router basename="${c}"> 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.`
|
|
5061
|
+
), M == null ? null : /* @__PURE__ */ D.createElement(we.Provider, { value: u }, /* @__PURE__ */ D.createElement(Ze.Provider, { children: t, value: M }));
|
|
5062
5062
|
}
|
|
5063
5063
|
function eo({
|
|
5064
5064
|
children: e,
|
|
@@ -5086,7 +5086,7 @@ function Wt(e, t = []) {
|
|
|
5086
5086
|
!i.props.index || !i.props.children,
|
|
5087
5087
|
"An index route cannot have child routes."
|
|
5088
5088
|
);
|
|
5089
|
-
let
|
|
5089
|
+
let c = {
|
|
5090
5090
|
id: i.props.id || s.join("-"),
|
|
5091
5091
|
caseSensitive: i.props.caseSensitive,
|
|
5092
5092
|
element: i.props.element,
|
|
@@ -5104,10 +5104,10 @@ function Wt(e, t = []) {
|
|
|
5104
5104
|
handle: i.props.handle,
|
|
5105
5105
|
lazy: i.props.lazy
|
|
5106
5106
|
};
|
|
5107
|
-
i.props.children && (
|
|
5107
|
+
i.props.children && (c.children = Wt(
|
|
5108
5108
|
i.props.children,
|
|
5109
5109
|
s
|
|
5110
|
-
)), r.push(
|
|
5110
|
+
)), r.push(c);
|
|
5111
5111
|
}), r;
|
|
5112
5112
|
}
|
|
5113
5113
|
var ut = "get", ct = "application/x-www-form-urlencoded";
|
|
@@ -5175,7 +5175,7 @@ function It(e) {
|
|
|
5175
5175
|
), null) : e;
|
|
5176
5176
|
}
|
|
5177
5177
|
function uo(e, t) {
|
|
5178
|
-
let r, i, a, s,
|
|
5178
|
+
let r, i, a, s, c;
|
|
5179
5179
|
if (ro(e)) {
|
|
5180
5180
|
let u = e.getAttribute("action");
|
|
5181
5181
|
i = u ? xe(u, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
|
|
@@ -5198,9 +5198,9 @@ function uo(e, t) {
|
|
|
5198
5198
|
throw new Error(
|
|
5199
5199
|
'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
|
|
5200
5200
|
);
|
|
5201
|
-
r = ut, i = null, a = ct,
|
|
5201
|
+
r = ut, i = null, a = ct, c = e;
|
|
5202
5202
|
}
|
|
5203
|
-
return s && a === "text/plain" && (
|
|
5203
|
+
return s && a === "text/plain" && (c = s, s = void 0), { action: i, method: r.toLowerCase(), encType: a, formData: s, body: c };
|
|
5204
5204
|
}
|
|
5205
5205
|
function Qt(e, t) {
|
|
5206
5206
|
if (e === !1 || e === null || typeof e > "u")
|
|
@@ -5231,8 +5231,8 @@ async function ho(e, t, r) {
|
|
|
5231
5231
|
e.map(async (a) => {
|
|
5232
5232
|
let s = t.routes[a.route.id];
|
|
5233
5233
|
if (s) {
|
|
5234
|
-
let
|
|
5235
|
-
return
|
|
5234
|
+
let c = await co(s, r);
|
|
5235
|
+
return c.links ? c.links() : [];
|
|
5236
5236
|
}
|
|
5237
5237
|
return [];
|
|
5238
5238
|
})
|
|
@@ -5244,19 +5244,19 @@ async function ho(e, t, r) {
|
|
|
5244
5244
|
);
|
|
5245
5245
|
}
|
|
5246
5246
|
function Dr(e, t, r, i, a, s) {
|
|
5247
|
-
let
|
|
5247
|
+
let c = (l, h) => r[h] ? l.route.id !== r[h].route.id : !0, u = (l, h) => (
|
|
5248
5248
|
// param change, /users/123 -> /users/456
|
|
5249
5249
|
r[h].pathname !== l.pathname || // splat param changed, which is not present in match.path
|
|
5250
5250
|
// e.g. /files/images/avatar.jpg -> files/finances.xls
|
|
5251
5251
|
r[h].route.path?.endsWith("*") && r[h].params["*"] !== l.params["*"]
|
|
5252
5252
|
);
|
|
5253
5253
|
return s === "assets" ? t.filter(
|
|
5254
|
-
(l, h) =>
|
|
5254
|
+
(l, h) => c(l, h) || u(l, h)
|
|
5255
5255
|
) : s === "data" ? t.filter((l, h) => {
|
|
5256
5256
|
let g = i.routes[l.route.id];
|
|
5257
5257
|
if (!g || !g.hasLoader)
|
|
5258
5258
|
return !1;
|
|
5259
|
-
if (
|
|
5259
|
+
if (c(l, h) || u(l, h))
|
|
5260
5260
|
return !0;
|
|
5261
5261
|
if (l.route.shouldRevalidate) {
|
|
5262
5262
|
let x = l.route.shouldRevalidate({
|
|
@@ -5336,12 +5336,12 @@ function vn() {
|
|
|
5336
5336
|
), e;
|
|
5337
5337
|
}
|
|
5338
5338
|
function So(e, t) {
|
|
5339
|
-
let r = D.useContext(er), [i, a] = D.useState(!1), [s,
|
|
5339
|
+
let r = D.useContext(er), [i, a] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, j = D.useRef(null);
|
|
5340
5340
|
D.useEffect(() => {
|
|
5341
|
-
if (e === "render" &&
|
|
5341
|
+
if (e === "render" && c(!0), e === "viewport") {
|
|
5342
5342
|
let p = (C) => {
|
|
5343
5343
|
C.forEach((N) => {
|
|
5344
|
-
|
|
5344
|
+
c(N.isIntersecting);
|
|
5345
5345
|
});
|
|
5346
5346
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5347
5347
|
return j.current && I.observe(j.current), () => {
|
|
@@ -5351,27 +5351,27 @@ function So(e, t) {
|
|
|
5351
5351
|
}, [e]), D.useEffect(() => {
|
|
5352
5352
|
if (i) {
|
|
5353
5353
|
let p = setTimeout(() => {
|
|
5354
|
-
|
|
5354
|
+
c(!0);
|
|
5355
5355
|
}, 100);
|
|
5356
5356
|
return () => {
|
|
5357
5357
|
clearTimeout(p);
|
|
5358
5358
|
};
|
|
5359
5359
|
}
|
|
5360
5360
|
}, [i]);
|
|
5361
|
-
let
|
|
5361
|
+
let M = () => {
|
|
5362
5362
|
a(!0);
|
|
5363
|
-
},
|
|
5364
|
-
a(!1),
|
|
5363
|
+
}, P = () => {
|
|
5364
|
+
a(!1), c(!1);
|
|
5365
5365
|
};
|
|
5366
5366
|
return r ? e !== "intent" ? [s, j, {}] : [
|
|
5367
5367
|
s,
|
|
5368
5368
|
j,
|
|
5369
5369
|
{
|
|
5370
|
-
onFocus: qe(u,
|
|
5371
|
-
onBlur: qe(l,
|
|
5372
|
-
onMouseEnter: qe(h,
|
|
5373
|
-
onMouseLeave: qe(g,
|
|
5374
|
-
onTouchStart: qe(x,
|
|
5370
|
+
onFocus: qe(u, M),
|
|
5371
|
+
onBlur: qe(l, P),
|
|
5372
|
+
onMouseEnter: qe(h, M),
|
|
5373
|
+
onMouseLeave: qe(g, P),
|
|
5374
|
+
onTouchStart: qe(x, M)
|
|
5375
5375
|
}
|
|
5376
5376
|
] : [!1, j, {}];
|
|
5377
5377
|
}
|
|
@@ -5395,8 +5395,8 @@ function Oo(e) {
|
|
|
5395
5395
|
return D.useEffect(() => {
|
|
5396
5396
|
let s = !1;
|
|
5397
5397
|
return ho(e, t, r).then(
|
|
5398
|
-
(
|
|
5399
|
-
s || a(
|
|
5398
|
+
(c) => {
|
|
5399
|
+
s || a(c);
|
|
5400
5400
|
}
|
|
5401
5401
|
), () => {
|
|
5402
5402
|
s = !0;
|
|
@@ -5408,7 +5408,7 @@ function ko({
|
|
|
5408
5408
|
matches: t,
|
|
5409
5409
|
...r
|
|
5410
5410
|
}) {
|
|
5411
|
-
let i = ke(), { manifest: a, routeModules: s } = vn(), { basename:
|
|
5411
|
+
let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: u, matches: l } = wo(), h = D.useMemo(
|
|
5412
5412
|
() => Dr(
|
|
5413
5413
|
e,
|
|
5414
5414
|
t,
|
|
@@ -5431,19 +5431,19 @@ function ko({
|
|
|
5431
5431
|
), x = D.useMemo(() => {
|
|
5432
5432
|
if (e === i.pathname + i.search + i.hash)
|
|
5433
5433
|
return [];
|
|
5434
|
-
let
|
|
5434
|
+
let P = /* @__PURE__ */ new Set(), p = !1;
|
|
5435
5435
|
if (t.forEach((C) => {
|
|
5436
5436
|
let N = a.routes[C.route.id];
|
|
5437
|
-
!N || !N.hasLoader || (!h.some((U) => U.route.id === C.route.id) && C.route.id in u && s[C.route.id]?.shouldRevalidate || N.hasClientLoader ? p = !0 :
|
|
5438
|
-
}),
|
|
5437
|
+
!N || !N.hasLoader || (!h.some((U) => U.route.id === C.route.id) && C.route.id in u && s[C.route.id]?.shouldRevalidate || N.hasClientLoader ? p = !0 : P.add(C.route.id));
|
|
5438
|
+
}), P.size === 0)
|
|
5439
5439
|
return [];
|
|
5440
|
-
let I = bo(e,
|
|
5441
|
-
return p &&
|
|
5440
|
+
let I = bo(e, c);
|
|
5441
|
+
return p && P.size > 0 && I.searchParams.set(
|
|
5442
5442
|
"_routes",
|
|
5443
|
-
t.filter((C) =>
|
|
5443
|
+
t.filter((C) => P.has(C.route.id)).map((C) => C.route.id).join(",")
|
|
5444
5444
|
), [I.pathname + I.search];
|
|
5445
5445
|
}, [
|
|
5446
|
-
|
|
5446
|
+
c,
|
|
5447
5447
|
u,
|
|
5448
5448
|
i,
|
|
5449
5449
|
a,
|
|
@@ -5454,11 +5454,11 @@ function ko({
|
|
|
5454
5454
|
]), j = D.useMemo(
|
|
5455
5455
|
() => po(g, a),
|
|
5456
5456
|
[g, a]
|
|
5457
|
-
),
|
|
5458
|
-
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((
|
|
5457
|
+
), M = Oo(g);
|
|
5458
|
+
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), j.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "modulepreload", href: P, ...r })), M.map(({ key: P, link: p }) => (
|
|
5459
5459
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5460
5460
|
// already with their own props
|
|
5461
|
-
/* @__PURE__ */ D.createElement("link", { key:
|
|
5461
|
+
/* @__PURE__ */ D.createElement("link", { key: P, ...p })
|
|
5462
5462
|
)));
|
|
5463
5463
|
}
|
|
5464
5464
|
function Co(...e) {
|
|
@@ -5480,14 +5480,14 @@ function Po({
|
|
|
5480
5480
|
}) {
|
|
5481
5481
|
let i = D.useRef();
|
|
5482
5482
|
i.current == null && (i.current = fa({ window: r, v5Compat: !0 }));
|
|
5483
|
-
let a = i.current, [s,
|
|
5483
|
+
let a = i.current, [s, c] = D.useState({
|
|
5484
5484
|
action: a.action,
|
|
5485
5485
|
location: a.location
|
|
5486
5486
|
}), u = D.useCallback(
|
|
5487
5487
|
(l) => {
|
|
5488
|
-
D.startTransition(() =>
|
|
5488
|
+
D.startTransition(() => c(l));
|
|
5489
5489
|
},
|
|
5490
|
-
[
|
|
5490
|
+
[c]
|
|
5491
5491
|
);
|
|
5492
5492
|
return D.useLayoutEffect(() => a.listen(u), [a, u]), /* @__PURE__ */ D.createElement(
|
|
5493
5493
|
Qa,
|
|
@@ -5507,18 +5507,18 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5507
5507
|
prefetch: i = "none",
|
|
5508
5508
|
relative: a,
|
|
5509
5509
|
reloadDocument: s,
|
|
5510
|
-
replace:
|
|
5510
|
+
replace: c,
|
|
5511
5511
|
state: u,
|
|
5512
5512
|
target: l,
|
|
5513
5513
|
to: h,
|
|
5514
5514
|
preventScrollReset: g,
|
|
5515
5515
|
viewTransition: x,
|
|
5516
5516
|
...j
|
|
5517
|
-
},
|
|
5518
|
-
let { basename:
|
|
5517
|
+
}, M) {
|
|
5518
|
+
let { basename: P } = D.useContext(we), p = typeof h == "string" && yn.test(h), I, C = !1;
|
|
5519
5519
|
if (typeof h == "string" && p && (I = h, gn))
|
|
5520
5520
|
try {
|
|
5521
|
-
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), O = xe(d.pathname,
|
|
5521
|
+
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), O = xe(d.pathname, P);
|
|
5522
5522
|
d.origin === y.origin && O != null ? h = O + d.search + d.hash : C = !0;
|
|
5523
5523
|
} catch {
|
|
5524
5524
|
ve(
|
|
@@ -5530,7 +5530,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5530
5530
|
i,
|
|
5531
5531
|
j
|
|
5532
5532
|
), b = To(h, {
|
|
5533
|
-
replace:
|
|
5533
|
+
replace: c,
|
|
5534
5534
|
state: u,
|
|
5535
5535
|
target: l,
|
|
5536
5536
|
preventScrollReset: g,
|
|
@@ -5540,7 +5540,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5540
5540
|
function w(y) {
|
|
5541
5541
|
t && t(y), y.defaultPrevented || b(y);
|
|
5542
5542
|
}
|
|
5543
|
-
let
|
|
5543
|
+
let E = (
|
|
5544
5544
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
5545
5545
|
/* @__PURE__ */ D.createElement(
|
|
5546
5546
|
"a",
|
|
@@ -5549,13 +5549,13 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5549
5549
|
...v,
|
|
5550
5550
|
href: I || N,
|
|
5551
5551
|
onClick: C || s ? t : w,
|
|
5552
|
-
ref: Co(
|
|
5552
|
+
ref: Co(M, V),
|
|
5553
5553
|
target: l,
|
|
5554
5554
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
5555
5555
|
}
|
|
5556
5556
|
)
|
|
5557
5557
|
);
|
|
5558
|
-
return U && !p ? /* @__PURE__ */ D.createElement(D.Fragment, null,
|
|
5558
|
+
return U && !p ? /* @__PURE__ */ D.createElement(D.Fragment, null, E, /* @__PURE__ */ D.createElement(xo, { page: N })) : E;
|
|
5559
5559
|
}
|
|
5560
5560
|
);
|
|
5561
5561
|
bn.displayName = "Link";
|
|
@@ -5566,21 +5566,21 @@ var Eo = D.forwardRef(
|
|
|
5566
5566
|
className: i = "",
|
|
5567
5567
|
end: a = !1,
|
|
5568
5568
|
style: s,
|
|
5569
|
-
to:
|
|
5569
|
+
to: c,
|
|
5570
5570
|
viewTransition: u,
|
|
5571
5571
|
children: l,
|
|
5572
5572
|
...h
|
|
5573
5573
|
}, g) {
|
|
5574
|
-
let x = et(
|
|
5574
|
+
let x = et(c, { relative: h.relative }), j = ke(), M = D.useContext(Ot), { navigator: P, basename: p } = D.useContext(we), I = M != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5575
5575
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5576
|
-
Io(x) && u === !0, C =
|
|
5576
|
+
Io(x) && u === !0, C = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, N = j.pathname, U = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5577
5577
|
r || (N = N.toLowerCase(), U = U ? U.toLowerCase() : null, C = C.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5578
5578
|
const V = C !== "/" && C.endsWith("/") ? C.length - 1 : C.length;
|
|
5579
5579
|
let v = N === C || !a && N.startsWith(C) && N.charAt(V) === "/", b = U != null && (U === C || !a && U.startsWith(C) && U.charAt(C.length) === "/"), w = {
|
|
5580
5580
|
isActive: v,
|
|
5581
5581
|
isPending: b,
|
|
5582
5582
|
isTransitioning: I
|
|
5583
|
-
},
|
|
5583
|
+
}, E = v ? t : void 0, y;
|
|
5584
5584
|
typeof i == "function" ? y = i(w) : y = [
|
|
5585
5585
|
i,
|
|
5586
5586
|
v ? "active" : null,
|
|
@@ -5592,11 +5592,11 @@ var Eo = D.forwardRef(
|
|
|
5592
5592
|
bn,
|
|
5593
5593
|
{
|
|
5594
5594
|
...h,
|
|
5595
|
-
"aria-current":
|
|
5595
|
+
"aria-current": E,
|
|
5596
5596
|
className: y,
|
|
5597
5597
|
ref: g,
|
|
5598
5598
|
style: d,
|
|
5599
|
-
to:
|
|
5599
|
+
to: c,
|
|
5600
5600
|
viewTransition: u
|
|
5601
5601
|
},
|
|
5602
5602
|
typeof l == "function" ? l(w) : l
|
|
@@ -5612,19 +5612,19 @@ var Ro = D.forwardRef(
|
|
|
5612
5612
|
reloadDocument: i,
|
|
5613
5613
|
replace: a,
|
|
5614
5614
|
state: s,
|
|
5615
|
-
method:
|
|
5615
|
+
method: c = ut,
|
|
5616
5616
|
action: u,
|
|
5617
5617
|
onSubmit: l,
|
|
5618
5618
|
relative: h,
|
|
5619
5619
|
preventScrollReset: g,
|
|
5620
5620
|
viewTransition: x,
|
|
5621
5621
|
...j
|
|
5622
|
-
},
|
|
5623
|
-
let
|
|
5622
|
+
}, M) => {
|
|
5623
|
+
let P = Mo(), p = $o(u, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", C = typeof u == "string" && yn.test(u), N = (U) => {
|
|
5624
5624
|
if (l && l(U), U.defaultPrevented) return;
|
|
5625
5625
|
U.preventDefault();
|
|
5626
|
-
let V = U.nativeEvent.submitter, v = V?.getAttribute("formmethod") ||
|
|
5627
|
-
|
|
5626
|
+
let V = U.nativeEvent.submitter, v = V?.getAttribute("formmethod") || c;
|
|
5627
|
+
P(V || U.currentTarget, {
|
|
5628
5628
|
fetcherKey: t,
|
|
5629
5629
|
method: v,
|
|
5630
5630
|
navigate: r,
|
|
@@ -5638,7 +5638,7 @@ var Ro = D.forwardRef(
|
|
|
5638
5638
|
return /* @__PURE__ */ D.createElement(
|
|
5639
5639
|
"form",
|
|
5640
5640
|
{
|
|
5641
|
-
ref:
|
|
5641
|
+
ref: M,
|
|
5642
5642
|
method: I,
|
|
5643
5643
|
action: p,
|
|
5644
5644
|
onSubmit: i ? l : N,
|
|
@@ -5662,7 +5662,7 @@ function To(e, {
|
|
|
5662
5662
|
state: i,
|
|
5663
5663
|
preventScrollReset: a,
|
|
5664
5664
|
relative: s,
|
|
5665
|
-
viewTransition:
|
|
5665
|
+
viewTransition: c
|
|
5666
5666
|
} = {}) {
|
|
5667
5667
|
let u = Kt(), l = ke(), h = et(e, { relative: s });
|
|
5668
5668
|
return D.useCallback(
|
|
@@ -5675,7 +5675,7 @@ function To(e, {
|
|
|
5675
5675
|
state: i,
|
|
5676
5676
|
preventScrollReset: a,
|
|
5677
5677
|
relative: s,
|
|
5678
|
-
viewTransition:
|
|
5678
|
+
viewTransition: c
|
|
5679
5679
|
});
|
|
5680
5680
|
}
|
|
5681
5681
|
},
|
|
@@ -5689,7 +5689,7 @@ function To(e, {
|
|
|
5689
5689
|
e,
|
|
5690
5690
|
a,
|
|
5691
5691
|
s,
|
|
5692
|
-
|
|
5692
|
+
c
|
|
5693
5693
|
]
|
|
5694
5694
|
);
|
|
5695
5695
|
}
|
|
@@ -5709,7 +5709,7 @@ function jo(e) {
|
|
|
5709
5709
|
)
|
|
5710
5710
|
),
|
|
5711
5711
|
[i.search]
|
|
5712
|
-
), s = Kt(),
|
|
5712
|
+
), s = Kt(), c = D.useCallback(
|
|
5713
5713
|
(u, l) => {
|
|
5714
5714
|
const h = Ut(
|
|
5715
5715
|
typeof u == "function" ? u(a) : u
|
|
@@ -5718,7 +5718,7 @@ function jo(e) {
|
|
|
5718
5718
|
},
|
|
5719
5719
|
[s, a]
|
|
5720
5720
|
);
|
|
5721
|
-
return [a,
|
|
5721
|
+
return [a, c];
|
|
5722
5722
|
}
|
|
5723
5723
|
var Lo = 0, Do = () => `__${String(++Lo)}__`;
|
|
5724
5724
|
function Mo() {
|
|
@@ -5728,7 +5728,7 @@ function Mo() {
|
|
|
5728
5728
|
), { basename: t } = D.useContext(we), r = Ga();
|
|
5729
5729
|
return D.useCallback(
|
|
5730
5730
|
async (i, a = {}) => {
|
|
5731
|
-
let { action: s, method:
|
|
5731
|
+
let { action: s, method: c, encType: u, formData: l, body: h } = uo(
|
|
5732
5732
|
i,
|
|
5733
5733
|
t
|
|
5734
5734
|
);
|
|
@@ -5738,7 +5738,7 @@ function Mo() {
|
|
|
5738
5738
|
preventScrollReset: a.preventScrollReset,
|
|
5739
5739
|
formData: l,
|
|
5740
5740
|
body: h,
|
|
5741
|
-
formMethod: a.method ||
|
|
5741
|
+
formMethod: a.method || c,
|
|
5742
5742
|
formEncType: a.encType || u,
|
|
5743
5743
|
flushSync: a.flushSync
|
|
5744
5744
|
});
|
|
@@ -5747,7 +5747,7 @@ function Mo() {
|
|
|
5747
5747
|
preventScrollReset: a.preventScrollReset,
|
|
5748
5748
|
formData: l,
|
|
5749
5749
|
body: h,
|
|
5750
|
-
formMethod: a.method ||
|
|
5750
|
+
formMethod: a.method || c,
|
|
5751
5751
|
formEncType: a.encType || u,
|
|
5752
5752
|
replace: a.replace,
|
|
5753
5753
|
state: a.state,
|
|
@@ -5762,9 +5762,9 @@ function Mo() {
|
|
|
5762
5762
|
function $o(e, { relative: t } = {}) {
|
|
5763
5763
|
let { basename: r } = D.useContext(we), i = D.useContext(Oe);
|
|
5764
5764
|
ae(i, "useFormAction must be used inside a RouteContext");
|
|
5765
|
-
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) },
|
|
5765
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c = ke();
|
|
5766
5766
|
if (e == null) {
|
|
5767
|
-
s.search =
|
|
5767
|
+
s.search = c.search;
|
|
5768
5768
|
let u = new URLSearchParams(s.search), l = u.getAll("index");
|
|
5769
5769
|
if (l.some((g) => g === "")) {
|
|
5770
5770
|
u.delete("index"), l.filter((x) => x).forEach((x) => u.append("index", x));
|
|
@@ -5786,8 +5786,8 @@ function Io(e, t = {}) {
|
|
|
5786
5786
|
), a = et(e, { relative: t.relative });
|
|
5787
5787
|
if (!r.isTransitioning)
|
|
5788
5788
|
return !1;
|
|
5789
|
-
let s = xe(r.currentLocation.pathname, i) || r.currentLocation.pathname,
|
|
5790
|
-
return gt(a.pathname,
|
|
5789
|
+
let s = xe(r.currentLocation.pathname, i) || r.currentLocation.pathname, c = xe(r.nextLocation.pathname, i) || r.nextLocation.pathname;
|
|
5790
|
+
return gt(a.pathname, c) != null || gt(a.pathname, s) != null;
|
|
5791
5791
|
}
|
|
5792
5792
|
[
|
|
5793
5793
|
...yo
|
|
@@ -5803,7 +5803,7 @@ const Sn = q.createContext({
|
|
|
5803
5803
|
const [e, t] = jo(), r = zr(
|
|
5804
5804
|
() => Object.fromEntries(e.entries()),
|
|
5805
5805
|
[e]
|
|
5806
|
-
), i =
|
|
5806
|
+
), i = _e(
|
|
5807
5807
|
(h) => {
|
|
5808
5808
|
const g = {};
|
|
5809
5809
|
return h.forEach((x) => {
|
|
@@ -5811,19 +5811,19 @@ const Sn = q.createContext({
|
|
|
5811
5811
|
}), g;
|
|
5812
5812
|
},
|
|
5813
5813
|
[e]
|
|
5814
|
-
), a =
|
|
5814
|
+
), a = _e(
|
|
5815
5815
|
(h) => {
|
|
5816
5816
|
const g = e.get(h);
|
|
5817
5817
|
return g == null || g == null, g;
|
|
5818
5818
|
},
|
|
5819
5819
|
[e]
|
|
5820
|
-
), s =
|
|
5820
|
+
), s = _e(
|
|
5821
5821
|
(h, g) => {
|
|
5822
5822
|
const x = new URLSearchParams(e);
|
|
5823
5823
|
x.set(h, String(g)), t(x);
|
|
5824
5824
|
},
|
|
5825
5825
|
[e, t]
|
|
5826
|
-
),
|
|
5826
|
+
), c = _e(
|
|
5827
5827
|
(h) => {
|
|
5828
5828
|
const g = new URLSearchParams(e);
|
|
5829
5829
|
Object.entries(h).forEach(([x, j]) => {
|
|
@@ -5831,13 +5831,13 @@ const Sn = q.createContext({
|
|
|
5831
5831
|
}), t(g);
|
|
5832
5832
|
},
|
|
5833
5833
|
[e, t]
|
|
5834
|
-
), u =
|
|
5834
|
+
), u = _e(
|
|
5835
5835
|
(h) => {
|
|
5836
5836
|
const g = new URLSearchParams(e);
|
|
5837
5837
|
g.delete(h), t(g);
|
|
5838
5838
|
},
|
|
5839
5839
|
[e, t]
|
|
5840
|
-
), l =
|
|
5840
|
+
), l = _e(
|
|
5841
5841
|
(h) => {
|
|
5842
5842
|
const g = new URLSearchParams(e);
|
|
5843
5843
|
h.forEach((x) => {
|
|
@@ -5851,11 +5851,11 @@ const Sn = q.createContext({
|
|
|
5851
5851
|
get: a,
|
|
5852
5852
|
getMany: i,
|
|
5853
5853
|
set: s,
|
|
5854
|
-
setMany:
|
|
5854
|
+
setMany: c,
|
|
5855
5855
|
remove: u,
|
|
5856
5856
|
removeMany: l
|
|
5857
5857
|
};
|
|
5858
|
-
},
|
|
5858
|
+
}, os = () => {
|
|
5859
5859
|
const e = Kt(), t = ke(), r = Ao(), i = Yt(Sn), a = (u) => {
|
|
5860
5860
|
const l = new URL(u.path, "http://dummy-base");
|
|
5861
5861
|
return u.params && Object.entries(u.params).forEach(([h, g]) => {
|
|
@@ -5867,7 +5867,7 @@ const Sn = q.createContext({
|
|
|
5867
5867
|
u.addToHistory !== !1 ? (e(l), i.addToHistory(l)) : (e(l, { replace: !0 }), i.popFromHistory(1), i.addToHistory(l));
|
|
5868
5868
|
},
|
|
5869
5869
|
[e]
|
|
5870
|
-
),
|
|
5870
|
+
), c = q.useCallback(
|
|
5871
5871
|
(u) => {
|
|
5872
5872
|
const l = u || 1;
|
|
5873
5873
|
e(-l), i.popFromHistory(l);
|
|
@@ -5878,27 +5878,27 @@ const Sn = q.createContext({
|
|
|
5878
5878
|
currentPath: t.pathname,
|
|
5879
5879
|
history: i.history,
|
|
5880
5880
|
searchParams: r,
|
|
5881
|
-
goBack:
|
|
5881
|
+
goBack: c,
|
|
5882
5882
|
goTo: s
|
|
5883
5883
|
};
|
|
5884
|
-
},
|
|
5884
|
+
}, ss = ({
|
|
5885
5885
|
isReady: e = !0,
|
|
5886
5886
|
routes: t,
|
|
5887
5887
|
children: r
|
|
5888
5888
|
}) => {
|
|
5889
|
-
const i = q.useRef([]), [a, s] = q.useState([]),
|
|
5889
|
+
const i = q.useRef([]), [a, s] = q.useState([]), c = q.useCallback((x) => {
|
|
5890
5890
|
i.current = x, s(x);
|
|
5891
5891
|
}, []), u = (x, j = !1) => {
|
|
5892
|
-
let
|
|
5893
|
-
j && (
|
|
5892
|
+
let M = [...i.current];
|
|
5893
|
+
j && (M = M.slice(0, M.length - 1)), M = [...M, x], c(M);
|
|
5894
5894
|
}, l = (x) => {
|
|
5895
|
-
let j = "",
|
|
5896
|
-
return i.current.length === 0 ? "/" : (i.current.length <= x ? (j = i.current[0],
|
|
5895
|
+
let j = "", M = [];
|
|
5896
|
+
return i.current.length === 0 ? "/" : (i.current.length <= x ? (j = i.current[0], M = [j]) : (M = i.current.slice(
|
|
5897
5897
|
0,
|
|
5898
5898
|
i.current.length - x
|
|
5899
|
-
), j =
|
|
5899
|
+
), j = M[M.length - 1]), c(M), j);
|
|
5900
5900
|
}, h = (x) => {
|
|
5901
|
-
|
|
5901
|
+
c(x);
|
|
5902
5902
|
}, g = t.map((x) => /* @__PURE__ */ K.jsx(pn, { path: x.path, element: x.render }));
|
|
5903
5903
|
return /* @__PURE__ */ K.jsx(
|
|
5904
5904
|
Sn.Provider,
|
|
@@ -5924,10 +5924,10 @@ const Sn = q.createContext({
|
|
|
5924
5924
|
hideItem: () => {
|
|
5925
5925
|
}
|
|
5926
5926
|
}
|
|
5927
|
-
),
|
|
5927
|
+
), ls = ({ children: e }) => {
|
|
5928
5928
|
const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((l) => {
|
|
5929
5929
|
t.current = l, i(l);
|
|
5930
|
-
}, []), s = q.useCallback((l) => t.current.some((h) => h === l), []),
|
|
5930
|
+
}, []), s = q.useCallback((l) => t.current.some((h) => h === l), []), c = q.useCallback(
|
|
5931
5931
|
(l) => {
|
|
5932
5932
|
s(l) || a([...t.current, l]);
|
|
5933
5933
|
},
|
|
@@ -5946,7 +5946,7 @@ const Sn = q.createContext({
|
|
|
5946
5946
|
value: {
|
|
5947
5947
|
visibleItems: r,
|
|
5948
5948
|
isItemVisible: s,
|
|
5949
|
-
showItem:
|
|
5949
|
+
showItem: c,
|
|
5950
5950
|
hideItem: u
|
|
5951
5951
|
},
|
|
5952
5952
|
children: e
|
|
@@ -5971,31 +5971,31 @@ const Sn = q.createContext({
|
|
|
5971
5971
|
}) => {
|
|
5972
5972
|
const { isItemVisible: i } = Ct(), [a, s] = q.useState({
|
|
5973
5973
|
isDragging: !1
|
|
5974
|
-
}),
|
|
5975
|
-
s(
|
|
5976
|
-
}, j = (
|
|
5977
|
-
s(
|
|
5974
|
+
}), c = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [h, g] = q.useState(0), x = (P) => {
|
|
5975
|
+
s(P);
|
|
5976
|
+
}, j = (P) => {
|
|
5977
|
+
s(P), g(0);
|
|
5978
5978
|
};
|
|
5979
5979
|
return oa({
|
|
5980
5980
|
ref: l,
|
|
5981
|
-
onDrag: (
|
|
5982
|
-
s(
|
|
5981
|
+
onDrag: (P) => {
|
|
5982
|
+
s(P);
|
|
5983
5983
|
const p = u.current?.clientHeight || 0;
|
|
5984
|
-
|
|
5984
|
+
P.distanceY && (g(P.distanceY < 0 ? 0 : -P.distanceY), P.distanceY >= p - r && (t?.(), j(P)));
|
|
5985
5985
|
},
|
|
5986
5986
|
onDragEnd: j,
|
|
5987
5987
|
onDragStart: x
|
|
5988
5988
|
}), {
|
|
5989
5989
|
isVisible: i(e),
|
|
5990
|
-
drawerParentRef:
|
|
5990
|
+
drawerParentRef: c,
|
|
5991
5991
|
drawerRef: u,
|
|
5992
5992
|
drawerBottomDistance: h,
|
|
5993
5993
|
handleRef: l
|
|
5994
5994
|
};
|
|
5995
|
-
},
|
|
5995
|
+
}, us = (e) => {
|
|
5996
5996
|
const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
|
|
5997
5997
|
isVisible: s,
|
|
5998
|
-
drawerParentRef:
|
|
5998
|
+
drawerParentRef: c,
|
|
5999
5999
|
drawerRef: u,
|
|
6000
6000
|
handleRef: l,
|
|
6001
6001
|
drawerBottomDistance: h
|
|
@@ -6003,7 +6003,7 @@ const Sn = q.createContext({
|
|
|
6003
6003
|
return /* @__PURE__ */ K.jsx(K.Fragment, { children: s && /* @__PURE__ */ K.jsx(
|
|
6004
6004
|
"div",
|
|
6005
6005
|
{
|
|
6006
|
-
ref:
|
|
6006
|
+
ref: c,
|
|
6007
6007
|
style: {
|
|
6008
6008
|
width: "100%",
|
|
6009
6009
|
height: "100%",
|
|
@@ -6070,11 +6070,11 @@ const Sn = q.createContext({
|
|
|
6070
6070
|
) });
|
|
6071
6071
|
}, Ho = ({ onSubmit: e, fields: t }) => {
|
|
6072
6072
|
const r = q.useRef(null), i = q.useCallback(
|
|
6073
|
-
(
|
|
6074
|
-
var u = Object.keys(
|
|
6073
|
+
(c) => {
|
|
6074
|
+
var u = Object.keys(c.currentTarget.elements), l = Object.values(c.currentTarget.elements), h = [];
|
|
6075
6075
|
for (let g = 0; g < u.length; g++) {
|
|
6076
6076
|
const x = u[g];
|
|
6077
|
-
if (t.findIndex((
|
|
6077
|
+
if (t.findIndex((M) => M.name === x) === -1)
|
|
6078
6078
|
continue;
|
|
6079
6079
|
const j = l[g].value;
|
|
6080
6080
|
h.push({
|
|
@@ -6086,22 +6086,22 @@ const Sn = q.createContext({
|
|
|
6086
6086
|
},
|
|
6087
6087
|
[e]
|
|
6088
6088
|
), a = q.useCallback(
|
|
6089
|
-
(
|
|
6090
|
-
|
|
6091
|
-
const u = i(
|
|
6089
|
+
(c) => {
|
|
6090
|
+
c.preventDefault();
|
|
6091
|
+
const u = i(c);
|
|
6092
6092
|
e?.(u);
|
|
6093
6093
|
},
|
|
6094
6094
|
[e]
|
|
6095
6095
|
);
|
|
6096
6096
|
return {
|
|
6097
6097
|
ref: r,
|
|
6098
|
-
submitForm: (
|
|
6098
|
+
submitForm: (c) => {
|
|
6099
6099
|
r.current && r.current.requestSubmit();
|
|
6100
6100
|
},
|
|
6101
6101
|
handleFormSubmission: a
|
|
6102
6102
|
};
|
|
6103
|
-
},
|
|
6104
|
-
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm:
|
|
6103
|
+
}, cs = (e) => {
|
|
6104
|
+
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = Ho(e), u = q.useCallback(() => t.map((l) => ({ ...l.content, key: l.name })), [t]);
|
|
6105
6105
|
return /* @__PURE__ */ K.jsxs(
|
|
6106
6106
|
"form",
|
|
6107
6107
|
{
|
|
@@ -6120,7 +6120,7 @@ const Sn = q.createContext({
|
|
|
6120
6120
|
/* @__PURE__ */ K.jsx(
|
|
6121
6121
|
"div",
|
|
6122
6122
|
{
|
|
6123
|
-
onClick:
|
|
6123
|
+
onClick: c,
|
|
6124
6124
|
style: {
|
|
6125
6125
|
display: "flex",
|
|
6126
6126
|
width: "100%",
|
|
@@ -6134,7 +6134,7 @@ const Sn = q.createContext({
|
|
|
6134
6134
|
]
|
|
6135
6135
|
}
|
|
6136
6136
|
);
|
|
6137
|
-
},
|
|
6137
|
+
}, fs = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ K.jsx(
|
|
6138
6138
|
"img",
|
|
6139
6139
|
{
|
|
6140
6140
|
src: e,
|
|
@@ -6153,7 +6153,7 @@ const Sn = q.createContext({
|
|
|
6153
6153
|
r?.();
|
|
6154
6154
|
}
|
|
6155
6155
|
}
|
|
6156
|
-
), No =
|
|
6156
|
+
), No = Re.div`
|
|
6157
6157
|
display: flex;
|
|
6158
6158
|
flex-direction: column;
|
|
6159
6159
|
font-family: inherit;
|
|
@@ -6171,22 +6171,22 @@ const Sn = q.createContext({
|
|
|
6171
6171
|
input:-webkit-autofill {
|
|
6172
6172
|
background-color: #00000000;
|
|
6173
6173
|
}
|
|
6174
|
-
`,
|
|
6174
|
+
`, ds = ({
|
|
6175
6175
|
name: e,
|
|
6176
6176
|
label: t,
|
|
6177
6177
|
leftIcon: r,
|
|
6178
6178
|
rightIcon: i,
|
|
6179
6179
|
bottomMessage: a,
|
|
6180
6180
|
placeHolder: s,
|
|
6181
|
-
autoComplete:
|
|
6181
|
+
autoComplete: c = "off",
|
|
6182
6182
|
value: u,
|
|
6183
6183
|
initialValue: l,
|
|
6184
6184
|
type: h = "text",
|
|
6185
6185
|
onChange: g,
|
|
6186
6186
|
onFocus: x,
|
|
6187
6187
|
inputStyles: j,
|
|
6188
|
-
containerStyles:
|
|
6189
|
-
styles:
|
|
6188
|
+
containerStyles: M,
|
|
6189
|
+
styles: P,
|
|
6190
6190
|
step: p
|
|
6191
6191
|
}) => {
|
|
6192
6192
|
const I = (N) => {
|
|
@@ -6201,7 +6201,7 @@ const Sn = q.createContext({
|
|
|
6201
6201
|
width: "100%",
|
|
6202
6202
|
maxWidth: "357px",
|
|
6203
6203
|
gap: "8px",
|
|
6204
|
-
...
|
|
6204
|
+
...P
|
|
6205
6205
|
},
|
|
6206
6206
|
children: [
|
|
6207
6207
|
t,
|
|
@@ -6226,7 +6226,7 @@ const Sn = q.createContext({
|
|
|
6226
6226
|
outline: "none",
|
|
6227
6227
|
alignItems: "center",
|
|
6228
6228
|
gap: "10px",
|
|
6229
|
-
|
|
6229
|
+
...M
|
|
6230
6230
|
},
|
|
6231
6231
|
children: [
|
|
6232
6232
|
r,
|
|
@@ -6235,7 +6235,7 @@ const Sn = q.createContext({
|
|
|
6235
6235
|
{
|
|
6236
6236
|
name: e,
|
|
6237
6237
|
type: h,
|
|
6238
|
-
autoComplete:
|
|
6238
|
+
autoComplete: c,
|
|
6239
6239
|
step: p,
|
|
6240
6240
|
style: {
|
|
6241
6241
|
flex: 1,
|
|
@@ -6265,7 +6265,7 @@ const Sn = q.createContext({
|
|
|
6265
6265
|
]
|
|
6266
6266
|
}
|
|
6267
6267
|
);
|
|
6268
|
-
},
|
|
6268
|
+
}, hs = ({ id: e, styles: t, children: r }) => {
|
|
6269
6269
|
const { isItemVisible: i } = Ct();
|
|
6270
6270
|
return /* @__PURE__ */ K.jsx(K.Fragment, { children: i(e) && /* @__PURE__ */ K.jsx(
|
|
6271
6271
|
"div",
|
|
@@ -6286,7 +6286,7 @@ const Sn = q.createContext({
|
|
|
6286
6286
|
children: r
|
|
6287
6287
|
}
|
|
6288
6288
|
) });
|
|
6289
|
-
},
|
|
6289
|
+
}, ps = ({
|
|
6290
6290
|
id: e,
|
|
6291
6291
|
children: t,
|
|
6292
6292
|
backgroundStyles: r,
|
|
@@ -6336,8 +6336,8 @@ const Sn = q.createContext({
|
|
|
6336
6336
|
padding: "24px",
|
|
6337
6337
|
...i
|
|
6338
6338
|
},
|
|
6339
|
-
onClick: (
|
|
6340
|
-
|
|
6339
|
+
onClick: (c) => {
|
|
6340
|
+
c.stopPropagation();
|
|
6341
6341
|
},
|
|
6342
6342
|
children: t
|
|
6343
6343
|
}
|
|
@@ -6345,10 +6345,10 @@ const Sn = q.createContext({
|
|
|
6345
6345
|
}
|
|
6346
6346
|
) });
|
|
6347
6347
|
}, Fo = (e) => {
|
|
6348
|
-
const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s,
|
|
6348
|
+
const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s, c] = q.useState(24), u = q.useCallback(() => {
|
|
6349
6349
|
t.current && a(t.current.clientHeight);
|
|
6350
6350
|
}, [t, t.current]), l = q.useCallback(() => {
|
|
6351
|
-
r.current &&
|
|
6351
|
+
r.current && c(r.current.clientHeight);
|
|
6352
6352
|
}, [r, r.current]), h = q.useCallback(() => {
|
|
6353
6353
|
let g = 0;
|
|
6354
6354
|
return e.header?.visibility === "always" && (g = g + (i || 0)), e.footer?.visibility === "always" && (g = g + (s || 0)), g;
|
|
@@ -6374,7 +6374,7 @@ const Sn = q.createContext({
|
|
|
6374
6374
|
extraHeight: h()
|
|
6375
6375
|
}
|
|
6376
6376
|
};
|
|
6377
|
-
}, Wo =
|
|
6377
|
+
}, Wo = Re.div`
|
|
6378
6378
|
min-height: 100%;
|
|
6379
6379
|
max-height: 100%;
|
|
6380
6380
|
width: 100%;
|
|
@@ -6394,14 +6394,14 @@ const Sn = q.createContext({
|
|
|
6394
6394
|
box-sizing: border-box;
|
|
6395
6395
|
position: relative;
|
|
6396
6396
|
}
|
|
6397
|
-
`,
|
|
6397
|
+
`, ms = (e) => {
|
|
6398
6398
|
const {
|
|
6399
6399
|
containerStyles: t,
|
|
6400
6400
|
pageStyles: r,
|
|
6401
6401
|
children: i,
|
|
6402
6402
|
allowScroll: a = !0,
|
|
6403
6403
|
floatingContent: s,
|
|
6404
|
-
reserveSpaceForScrollbar:
|
|
6404
|
+
reserveSpaceForScrollbar: c
|
|
6405
6405
|
} = e, { footer: u, header: l } = Fo(e);
|
|
6406
6406
|
return /* @__PURE__ */ K.jsxs(
|
|
6407
6407
|
Wo,
|
|
@@ -6456,7 +6456,7 @@ const Sn = q.createContext({
|
|
|
6456
6456
|
flexDirection: "column",
|
|
6457
6457
|
flex: 1,
|
|
6458
6458
|
minHeight: "100%",
|
|
6459
|
-
scrollbarGutter:
|
|
6459
|
+
scrollbarGutter: c ? "stable" : void 0,
|
|
6460
6460
|
paddingLeft: "0px",
|
|
6461
6461
|
paddingRight: "0px",
|
|
6462
6462
|
paddingTop: `${l.height}px`,
|
|
@@ -6492,14 +6492,14 @@ const Sn = q.createContext({
|
|
|
6492
6492
|
]
|
|
6493
6493
|
}
|
|
6494
6494
|
);
|
|
6495
|
-
},
|
|
6495
|
+
}, vs = ({
|
|
6496
6496
|
src: e,
|
|
6497
6497
|
width: t = "22",
|
|
6498
6498
|
height: r = "28",
|
|
6499
6499
|
stroke: i,
|
|
6500
6500
|
viewBox: a = "0 0 22 28",
|
|
6501
6501
|
fill: s = "#000000",
|
|
6502
|
-
alt:
|
|
6502
|
+
alt: c = "",
|
|
6503
6503
|
onClick: u,
|
|
6504
6504
|
styles: l
|
|
6505
6505
|
}) => /* @__PURE__ */ K.jsx(
|
|
@@ -6530,17 +6530,125 @@ const Sn = q.createContext({
|
|
|
6530
6530
|
}
|
|
6531
6531
|
)
|
|
6532
6532
|
}
|
|
6533
|
-
),
|
|
6533
|
+
), Uo = Re.div`
|
|
6534
|
+
display: flex;
|
|
6535
|
+
flex-direction: column;
|
|
6536
|
+
font-family: inherit;
|
|
6537
|
+
|
|
6538
|
+
textarea::-webkit-scrollbar {
|
|
6539
|
+
width: 5px; /* largura da barra */
|
|
6540
|
+
}
|
|
6541
|
+
|
|
6542
|
+
textarea::-webkit-scrollbar-track {
|
|
6543
|
+
background: #f0f0f0; /* fundo */
|
|
6544
|
+
border-radius: 10px;
|
|
6545
|
+
}
|
|
6546
|
+
|
|
6547
|
+
textarea::-webkit-scrollbar-thumb {
|
|
6548
|
+
background: #888; /* cor da barra */
|
|
6549
|
+
border-radius: 10px;
|
|
6550
|
+
}
|
|
6551
|
+
|
|
6552
|
+
textarea::-webkit-scrollbar-thumb:hover {
|
|
6553
|
+
background: #555; /* hover */
|
|
6554
|
+
}
|
|
6555
|
+
`, gs = ({
|
|
6556
|
+
name: e,
|
|
6557
|
+
label: t,
|
|
6558
|
+
leftIcon: r,
|
|
6559
|
+
rightIcon: i,
|
|
6560
|
+
bottomMessage: a,
|
|
6561
|
+
placeHolder: s,
|
|
6562
|
+
value: c,
|
|
6563
|
+
initialValue: u,
|
|
6564
|
+
onChange: l,
|
|
6565
|
+
onFocus: h,
|
|
6566
|
+
inputStyles: g,
|
|
6567
|
+
containerStyles: x,
|
|
6568
|
+
styles: j
|
|
6569
|
+
}) => {
|
|
6570
|
+
const M = (p) => {
|
|
6571
|
+
l?.(p.currentTarget.value);
|
|
6572
|
+
}, P = (p) => {
|
|
6573
|
+
p.preventDefault(), p.stopPropagation(), h?.();
|
|
6574
|
+
};
|
|
6575
|
+
return /* @__PURE__ */ K.jsxs(
|
|
6576
|
+
Uo,
|
|
6577
|
+
{
|
|
6578
|
+
style: {
|
|
6579
|
+
width: "100%",
|
|
6580
|
+
maxWidth: "357px",
|
|
6581
|
+
gap: "8px",
|
|
6582
|
+
...j
|
|
6583
|
+
},
|
|
6584
|
+
children: [
|
|
6585
|
+
t,
|
|
6586
|
+
/* @__PURE__ */ K.jsxs(
|
|
6587
|
+
"div",
|
|
6588
|
+
{
|
|
6589
|
+
style: {
|
|
6590
|
+
display: "flex",
|
|
6591
|
+
flexDirection: "row",
|
|
6592
|
+
width: "100%",
|
|
6593
|
+
margin: "8px auto 0 auto",
|
|
6594
|
+
border: "2px solid #000000",
|
|
6595
|
+
borderRadius: "5px",
|
|
6596
|
+
color: "#000000",
|
|
6597
|
+
fontFamily: "inherit",
|
|
6598
|
+
fontStyle: "normal",
|
|
6599
|
+
fontWeight: 400,
|
|
6600
|
+
outline: "none",
|
|
6601
|
+
alignItems: "flex-start",
|
|
6602
|
+
gap: "10px",
|
|
6603
|
+
...x
|
|
6604
|
+
},
|
|
6605
|
+
children: [
|
|
6606
|
+
r,
|
|
6607
|
+
/* @__PURE__ */ K.jsx(
|
|
6608
|
+
"textarea",
|
|
6609
|
+
{
|
|
6610
|
+
name: e,
|
|
6611
|
+
style: {
|
|
6612
|
+
resize: "none",
|
|
6613
|
+
flex: 1,
|
|
6614
|
+
border: "none",
|
|
6615
|
+
color: "inherit",
|
|
6616
|
+
fontFamily: "inherit",
|
|
6617
|
+
fontStyle: "inherit",
|
|
6618
|
+
fontWeight: "inherit",
|
|
6619
|
+
fontSize: "inherit",
|
|
6620
|
+
lineHeight: "inherit",
|
|
6621
|
+
outline: "inherit",
|
|
6622
|
+
background: "none",
|
|
6623
|
+
minHeight: "47px",
|
|
6624
|
+
...g
|
|
6625
|
+
},
|
|
6626
|
+
placeholder: s,
|
|
6627
|
+
value: c,
|
|
6628
|
+
defaultValue: u,
|
|
6629
|
+
onChange: M,
|
|
6630
|
+
onFocus: P
|
|
6631
|
+
}
|
|
6632
|
+
),
|
|
6633
|
+
i
|
|
6634
|
+
]
|
|
6635
|
+
}
|
|
6636
|
+
),
|
|
6637
|
+
a
|
|
6638
|
+
]
|
|
6639
|
+
}
|
|
6640
|
+
);
|
|
6641
|
+
}, ys = ({
|
|
6534
6642
|
id: e,
|
|
6535
6643
|
children: t,
|
|
6536
6644
|
styles: r,
|
|
6537
6645
|
durationInSeconds: i = 3
|
|
6538
6646
|
}) => {
|
|
6539
|
-
const a = q.useRef(!1), { isItemVisible: s, hideItem:
|
|
6647
|
+
const a = q.useRef(!1), { isItemVisible: s, hideItem: c } = Ct();
|
|
6540
6648
|
return q.useEffect(() => {
|
|
6541
6649
|
const u = s(e);
|
|
6542
|
-
a.current !== u && (a.current = u, u && setTimeout(() =>
|
|
6543
|
-
}, [a, s,
|
|
6650
|
+
a.current !== u && (a.current = u, u && setTimeout(() => c(e), i * 1e3));
|
|
6651
|
+
}, [a, s, c]), /* @__PURE__ */ K.jsx(K.Fragment, { children: s(e) && /* @__PURE__ */ K.jsx(
|
|
6544
6652
|
"div",
|
|
6545
6653
|
{
|
|
6546
6654
|
style: {
|
|
@@ -6567,7 +6675,7 @@ const Sn = q.createContext({
|
|
|
6567
6675
|
children: t
|
|
6568
6676
|
}
|
|
6569
6677
|
) });
|
|
6570
|
-
},
|
|
6678
|
+
}, bs = ({
|
|
6571
6679
|
overflowEllipsis: e,
|
|
6572
6680
|
maxNumberOfLines: t,
|
|
6573
6681
|
children: r,
|
|
@@ -6596,7 +6704,7 @@ const Sn = q.createContext({
|
|
|
6596
6704
|
children: r
|
|
6597
6705
|
}
|
|
6598
6706
|
);
|
|
6599
|
-
class
|
|
6707
|
+
class ws {
|
|
6600
6708
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6601
6709
|
static disableScroll = () => {
|
|
6602
6710
|
document.body.style.overflow = "hidden";
|
|
@@ -6605,19 +6713,19 @@ class ys {
|
|
|
6605
6713
|
document.body.style.overflow = "unset";
|
|
6606
6714
|
};
|
|
6607
6715
|
}
|
|
6608
|
-
class
|
|
6716
|
+
class Ss {
|
|
6609
6717
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6610
6718
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6611
6719
|
});
|
|
6612
6720
|
static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6613
6721
|
}
|
|
6614
|
-
var ft = { exports: {} },
|
|
6615
|
-
function
|
|
6722
|
+
var ft = { exports: {} }, Yo = ft.exports, Mr;
|
|
6723
|
+
function qo() {
|
|
6616
6724
|
return Mr || (Mr = 1, function(e, t) {
|
|
6617
6725
|
(function(r, i) {
|
|
6618
6726
|
e.exports = i();
|
|
6619
|
-
})(
|
|
6620
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond",
|
|
6727
|
+
})(Yo, function() {
|
|
6728
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", M = "year", P = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|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, N = { 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(_) {
|
|
6621
6729
|
var k = ["th", "st", "nd", "rd"], T = _ % 100;
|
|
6622
6730
|
return "[" + _ + (k[(T - 20) % 10] || k[T] || k[0]) + "]";
|
|
6623
6731
|
} }, U = function(_, k, T) {
|
|
@@ -6633,12 +6741,12 @@ function Yo() {
|
|
|
6633
6741
|
}, a: function(_) {
|
|
6634
6742
|
return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
|
|
6635
6743
|
}, p: function(_) {
|
|
6636
|
-
return { M: x, y:
|
|
6744
|
+
return { M: x, y: M, w: g, d: h, D: P, h: l, m: u, s: c, ms: s, Q: j }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
|
|
6637
6745
|
}, u: function(_) {
|
|
6638
6746
|
return _ === void 0;
|
|
6639
6747
|
} }, v = "en", b = {};
|
|
6640
6748
|
b[v] = N;
|
|
6641
|
-
var w = "$isDayjsObject",
|
|
6749
|
+
var w = "$isDayjsObject", E = function(_) {
|
|
6642
6750
|
return _ instanceof A || !(!_ || !_[w]);
|
|
6643
6751
|
}, y = function _(k, T, o) {
|
|
6644
6752
|
var z;
|
|
@@ -6649,16 +6757,16 @@ function Yo() {
|
|
|
6649
6757
|
var n = k.split("-");
|
|
6650
6758
|
if (!z && n.length > 1) return _(n[0]);
|
|
6651
6759
|
} else {
|
|
6652
|
-
var
|
|
6653
|
-
b[
|
|
6760
|
+
var f = k.name;
|
|
6761
|
+
b[f] = k, z = f;
|
|
6654
6762
|
}
|
|
6655
6763
|
return !o && z && (v = z), z || !o && v;
|
|
6656
6764
|
}, d = function(_, k) {
|
|
6657
|
-
if (
|
|
6765
|
+
if (E(_)) return _.clone();
|
|
6658
6766
|
var T = typeof k == "object" ? k : {};
|
|
6659
6767
|
return T.date = _, T.args = arguments, new A(T);
|
|
6660
6768
|
}, O = V;
|
|
6661
|
-
O.l = y, O.i =
|
|
6769
|
+
O.l = y, O.i = E, O.w = function(_, k) {
|
|
6662
6770
|
return d(_, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
|
|
6663
6771
|
};
|
|
6664
6772
|
var A = function() {
|
|
@@ -6675,8 +6783,8 @@ function Yo() {
|
|
|
6675
6783
|
if (typeof z == "string" && !/Z$/i.test(z)) {
|
|
6676
6784
|
var n = z.match(I);
|
|
6677
6785
|
if (n) {
|
|
6678
|
-
var
|
|
6679
|
-
return m ? new Date(Date.UTC(n[1],
|
|
6786
|
+
var f = n[2] - 1 || 0, S = (n[7] || "0").substring(0, 3);
|
|
6787
|
+
return m ? new Date(Date.UTC(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, S)) : new Date(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, S);
|
|
6680
6788
|
}
|
|
6681
6789
|
}
|
|
6682
6790
|
return new Date(z);
|
|
@@ -6702,28 +6810,28 @@ function Yo() {
|
|
|
6702
6810
|
}, k.valueOf = function() {
|
|
6703
6811
|
return this.$d.getTime();
|
|
6704
6812
|
}, k.startOf = function(T, o) {
|
|
6705
|
-
var z = this, m = !!O.u(o) || o, n = O.p(T),
|
|
6813
|
+
var z = this, m = !!O.u(o) || o, n = O.p(T), f = function(G, X) {
|
|
6706
6814
|
var J = O.w(z.$u ? Date.UTC(z.$y, X, G) : new Date(z.$y, X, G), z);
|
|
6707
6815
|
return m ? J : J.endOf(h);
|
|
6708
6816
|
}, S = function(G, X) {
|
|
6709
6817
|
return O.w(z.toDate()[G].apply(z.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), z);
|
|
6710
|
-
},
|
|
6818
|
+
}, $ = this.$W, L = this.$M, H = this.$D, F = "set" + (this.$u ? "UTC" : "");
|
|
6711
6819
|
switch (n) {
|
|
6712
|
-
case
|
|
6713
|
-
return m ?
|
|
6820
|
+
case M:
|
|
6821
|
+
return m ? f(1, 0) : f(31, 11);
|
|
6714
6822
|
case x:
|
|
6715
|
-
return m ?
|
|
6823
|
+
return m ? f(1, L) : f(0, L + 1);
|
|
6716
6824
|
case g:
|
|
6717
|
-
var W = this.$locale().weekStart || 0, B = (
|
|
6718
|
-
return
|
|
6825
|
+
var W = this.$locale().weekStart || 0, B = ($ < W ? $ + 7 : $) - W;
|
|
6826
|
+
return f(m ? H - B : H + (6 - B), L);
|
|
6719
6827
|
case h:
|
|
6720
|
-
case
|
|
6828
|
+
case P:
|
|
6721
6829
|
return S(F + "Hours", 0);
|
|
6722
6830
|
case l:
|
|
6723
6831
|
return S(F + "Minutes", 1);
|
|
6724
6832
|
case u:
|
|
6725
6833
|
return S(F + "Seconds", 2);
|
|
6726
|
-
case
|
|
6834
|
+
case c:
|
|
6727
6835
|
return S(F + "Milliseconds", 3);
|
|
6728
6836
|
default:
|
|
6729
6837
|
return this.clone();
|
|
@@ -6731,11 +6839,11 @@ function Yo() {
|
|
|
6731
6839
|
}, k.endOf = function(T) {
|
|
6732
6840
|
return this.startOf(T, !1);
|
|
6733
6841
|
}, k.$set = function(T, o) {
|
|
6734
|
-
var z, m = O.p(T), n = "set" + (this.$u ? "UTC" : ""),
|
|
6735
|
-
if (m === x || m ===
|
|
6736
|
-
var
|
|
6737
|
-
|
|
6738
|
-
} else
|
|
6842
|
+
var z, m = O.p(T), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[h] = n + "Date", z[P] = n + "Date", z[x] = n + "Month", z[M] = n + "FullYear", z[l] = n + "Hours", z[u] = n + "Minutes", z[c] = n + "Seconds", z[s] = n + "Milliseconds", z)[m], S = m === h ? this.$D + (o - this.$W) : o;
|
|
6843
|
+
if (m === x || m === M) {
|
|
6844
|
+
var $ = this.clone().set(P, 1);
|
|
6845
|
+
$.$d[f](S), $.init(), this.$d = $.set(P, Math.min(this.$D, $.daysInMonth())).$d;
|
|
6846
|
+
} else f && this.$d[f](S);
|
|
6739
6847
|
return this.init(), this;
|
|
6740
6848
|
}, k.set = function(T, o) {
|
|
6741
6849
|
return this.clone().$set(T, o);
|
|
@@ -6744,25 +6852,25 @@ function Yo() {
|
|
|
6744
6852
|
}, k.add = function(T, o) {
|
|
6745
6853
|
var z, m = this;
|
|
6746
6854
|
T = Number(T);
|
|
6747
|
-
var n = O.p(o),
|
|
6855
|
+
var n = O.p(o), f = function(L) {
|
|
6748
6856
|
var H = d(m);
|
|
6749
6857
|
return O.w(H.date(H.date() + Math.round(L * T)), m);
|
|
6750
6858
|
};
|
|
6751
6859
|
if (n === x) return this.set(x, this.$M + T);
|
|
6752
|
-
if (n ===
|
|
6753
|
-
if (n === h) return
|
|
6754
|
-
if (n === g) return
|
|
6755
|
-
var S = (z = {}, z[u] = i, z[l] = a, z[
|
|
6756
|
-
return O.w(
|
|
6860
|
+
if (n === M) return this.set(M, this.$y + T);
|
|
6861
|
+
if (n === h) return f(1);
|
|
6862
|
+
if (n === g) return f(7);
|
|
6863
|
+
var S = (z = {}, z[u] = i, z[l] = a, z[c] = r, z)[n] || 1, $ = this.$d.getTime() + T * S;
|
|
6864
|
+
return O.w($, this);
|
|
6757
6865
|
}, k.subtract = function(T, o) {
|
|
6758
6866
|
return this.add(-1 * T, o);
|
|
6759
6867
|
}, k.format = function(T) {
|
|
6760
6868
|
var o = this, z = this.$locale();
|
|
6761
6869
|
if (!this.isValid()) return z.invalidDate || p;
|
|
6762
|
-
var m = T || "YYYY-MM-DDTHH:mm:ssZ", n = O.z(this),
|
|
6870
|
+
var m = T || "YYYY-MM-DDTHH:mm:ssZ", n = O.z(this), f = this.$H, S = this.$m, $ = this.$M, L = z.weekdays, H = z.months, F = z.meridiem, W = function(X, J, te, Z) {
|
|
6763
6871
|
return X && (X[J] || X(o, m)) || te[J].slice(0, Z);
|
|
6764
6872
|
}, B = function(X) {
|
|
6765
|
-
return O.s(
|
|
6873
|
+
return O.s(f % 12 || 12, X, "0");
|
|
6766
6874
|
}, G = F || function(X, J, te) {
|
|
6767
6875
|
var Z = X < 12 ? "AM" : "PM";
|
|
6768
6876
|
return te ? Z.toLowerCase() : Z;
|
|
@@ -6775,13 +6883,13 @@ function Yo() {
|
|
|
6775
6883
|
case "YYYY":
|
|
6776
6884
|
return O.s(o.$y, 4, "0");
|
|
6777
6885
|
case "M":
|
|
6778
|
-
return
|
|
6886
|
+
return $ + 1;
|
|
6779
6887
|
case "MM":
|
|
6780
|
-
return O.s(
|
|
6888
|
+
return O.s($ + 1, 2, "0");
|
|
6781
6889
|
case "MMM":
|
|
6782
|
-
return W(z.monthsShort,
|
|
6890
|
+
return W(z.monthsShort, $, H, 3);
|
|
6783
6891
|
case "MMMM":
|
|
6784
|
-
return W(H,
|
|
6892
|
+
return W(H, $);
|
|
6785
6893
|
case "D":
|
|
6786
6894
|
return o.$D;
|
|
6787
6895
|
case "DD":
|
|
@@ -6795,17 +6903,17 @@ function Yo() {
|
|
|
6795
6903
|
case "dddd":
|
|
6796
6904
|
return L[o.$W];
|
|
6797
6905
|
case "H":
|
|
6798
|
-
return String(
|
|
6906
|
+
return String(f);
|
|
6799
6907
|
case "HH":
|
|
6800
|
-
return O.s(
|
|
6908
|
+
return O.s(f, 2, "0");
|
|
6801
6909
|
case "h":
|
|
6802
6910
|
return B(1);
|
|
6803
6911
|
case "hh":
|
|
6804
6912
|
return B(2);
|
|
6805
6913
|
case "a":
|
|
6806
|
-
return G(
|
|
6914
|
+
return G(f, S, !0);
|
|
6807
6915
|
case "A":
|
|
6808
|
-
return G(
|
|
6916
|
+
return G(f, S, !1);
|
|
6809
6917
|
case "m":
|
|
6810
6918
|
return String(S);
|
|
6811
6919
|
case "mm":
|
|
@@ -6825,11 +6933,11 @@ function Yo() {
|
|
|
6825
6933
|
}, k.utcOffset = function() {
|
|
6826
6934
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6827
6935
|
}, k.diff = function(T, o, z) {
|
|
6828
|
-
var m, n = this,
|
|
6936
|
+
var m, n = this, f = O.p(o), S = d(T), $ = (S.utcOffset() - this.utcOffset()) * i, L = this - S, H = function() {
|
|
6829
6937
|
return O.m(n, S);
|
|
6830
6938
|
};
|
|
6831
|
-
switch (
|
|
6832
|
-
case
|
|
6939
|
+
switch (f) {
|
|
6940
|
+
case M:
|
|
6833
6941
|
m = H() / 12;
|
|
6834
6942
|
break;
|
|
6835
6943
|
case x:
|
|
@@ -6839,10 +6947,10 @@ function Yo() {
|
|
|
6839
6947
|
m = H() / 3;
|
|
6840
6948
|
break;
|
|
6841
6949
|
case g:
|
|
6842
|
-
m = (L -
|
|
6950
|
+
m = (L - $) / 6048e5;
|
|
6843
6951
|
break;
|
|
6844
6952
|
case h:
|
|
6845
|
-
m = (L -
|
|
6953
|
+
m = (L - $) / 864e5;
|
|
6846
6954
|
break;
|
|
6847
6955
|
case l:
|
|
6848
6956
|
m = L / a;
|
|
@@ -6850,7 +6958,7 @@ function Yo() {
|
|
|
6850
6958
|
case u:
|
|
6851
6959
|
m = L / i;
|
|
6852
6960
|
break;
|
|
6853
|
-
case
|
|
6961
|
+
case c:
|
|
6854
6962
|
m = L / r;
|
|
6855
6963
|
break;
|
|
6856
6964
|
default:
|
|
@@ -6877,32 +6985,32 @@ function Yo() {
|
|
|
6877
6985
|
return this.$d.toUTCString();
|
|
6878
6986
|
}, _;
|
|
6879
6987
|
}(), R = A.prototype;
|
|
6880
|
-
return d.prototype = R, [["$ms", s], ["$s",
|
|
6988
|
+
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", h], ["$M", x], ["$y", M], ["$D", P]].forEach(function(_) {
|
|
6881
6989
|
R[_[1]] = function(k) {
|
|
6882
6990
|
return this.$g(k, _[0], _[1]);
|
|
6883
6991
|
};
|
|
6884
6992
|
}), d.extend = function(_, k) {
|
|
6885
6993
|
return _.$i || (_(k, A, d), _.$i = !0), d;
|
|
6886
|
-
}, d.locale = y, d.isDayjs =
|
|
6994
|
+
}, d.locale = y, d.isDayjs = E, d.unix = function(_) {
|
|
6887
6995
|
return d(1e3 * _);
|
|
6888
6996
|
}, d.en = b[v], d.Ls = b, d.p = {}, d;
|
|
6889
6997
|
});
|
|
6890
6998
|
}(ft)), ft.exports;
|
|
6891
6999
|
}
|
|
6892
|
-
var
|
|
6893
|
-
const dt = /* @__PURE__ */ qt(
|
|
6894
|
-
var ht = { exports: {} },
|
|
6895
|
-
function
|
|
7000
|
+
var Bo = qo();
|
|
7001
|
+
const dt = /* @__PURE__ */ qt(Bo);
|
|
7002
|
+
var ht = { exports: {} }, Vo = ht.exports, $r;
|
|
7003
|
+
function Xo() {
|
|
6896
7004
|
return $r || ($r = 1, function(e, t) {
|
|
6897
7005
|
(function(r, i) {
|
|
6898
7006
|
e.exports = i();
|
|
6899
|
-
})(
|
|
7007
|
+
})(Vo, function() {
|
|
6900
7008
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
6901
|
-
return function(s,
|
|
6902
|
-
var l =
|
|
7009
|
+
return function(s, c, u) {
|
|
7010
|
+
var l = c.prototype;
|
|
6903
7011
|
u.utc = function(p) {
|
|
6904
7012
|
var I = { date: p, utc: !0, args: arguments };
|
|
6905
|
-
return new
|
|
7013
|
+
return new c(I);
|
|
6906
7014
|
}, l.utc = function(p) {
|
|
6907
7015
|
var I = u(this.toDate(), { locale: this.$L, utc: !0 });
|
|
6908
7016
|
return p ? I.add(this.utcOffset(), r) : I;
|
|
@@ -6928,8 +7036,8 @@ function Vo() {
|
|
|
6928
7036
|
v === void 0 && (v = "");
|
|
6929
7037
|
var b = v.match(i);
|
|
6930
7038
|
if (!b) return null;
|
|
6931
|
-
var w = ("" + b[0]).match(a) || ["-", 0, 0],
|
|
6932
|
-
return y === 0 ? 0 :
|
|
7039
|
+
var w = ("" + b[0]).match(a) || ["-", 0, 0], E = w[0], y = 60 * +w[1] + +w[2];
|
|
7040
|
+
return y === 0 ? 0 : E === "+" ? y : -y;
|
|
6933
7041
|
}(p), p === null)) return this;
|
|
6934
7042
|
var N = Math.abs(p) <= 16 ? 60 * p : p;
|
|
6935
7043
|
if (N === 0) return this.utc(I);
|
|
@@ -6952,24 +7060,24 @@ function Vo() {
|
|
|
6952
7060
|
}, l.toString = function() {
|
|
6953
7061
|
return this.toDate().toUTCString();
|
|
6954
7062
|
};
|
|
6955
|
-
var
|
|
7063
|
+
var M = l.toDate;
|
|
6956
7064
|
l.toDate = function(p) {
|
|
6957
|
-
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
7065
|
+
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
6958
7066
|
};
|
|
6959
|
-
var
|
|
7067
|
+
var P = l.diff;
|
|
6960
7068
|
l.diff = function(p, I, C) {
|
|
6961
|
-
if (p && this.$u === p.$u) return
|
|
7069
|
+
if (p && this.$u === p.$u) return P.call(this, p, I, C);
|
|
6962
7070
|
var N = this.local(), U = u(p).local();
|
|
6963
|
-
return
|
|
7071
|
+
return P.call(N, U, I, C);
|
|
6964
7072
|
};
|
|
6965
7073
|
};
|
|
6966
7074
|
});
|
|
6967
7075
|
}(ht)), ht.exports;
|
|
6968
7076
|
}
|
|
6969
|
-
var
|
|
6970
|
-
const
|
|
6971
|
-
dt.extend(
|
|
6972
|
-
class
|
|
7077
|
+
var Go = Xo();
|
|
7078
|
+
const Ko = /* @__PURE__ */ qt(Go);
|
|
7079
|
+
dt.extend(Ko);
|
|
7080
|
+
class xs {
|
|
6973
7081
|
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
6974
7082
|
static waitForCondition = (t) => new Promise((r) => {
|
|
6975
7083
|
const i = () => {
|
|
@@ -6990,12 +7098,12 @@ class ws {
|
|
|
6990
7098
|
static isDateOneAfterDateTwo = (t, r) => t.getFullYear() >= r.getFullYear() && t.getMonth() >= r.getMonth() ? t.getDay() > r.getDay() : !1;
|
|
6991
7099
|
static getDateInUTC = (t) => {
|
|
6992
7100
|
try {
|
|
6993
|
-
const r = dt.utc(t), i = r.date(), a = r.month(), s = r.year(),
|
|
7101
|
+
const r = dt.utc(t), i = r.date(), a = r.month(), s = r.year(), c = r.hour(), u = r.minute(), l = r.day();
|
|
6994
7102
|
return {
|
|
6995
7103
|
day: i,
|
|
6996
7104
|
month: a,
|
|
6997
7105
|
year: s,
|
|
6998
|
-
hour:
|
|
7106
|
+
hour: c,
|
|
6999
7107
|
minute: u,
|
|
7000
7108
|
weekday: l
|
|
7001
7109
|
};
|
|
@@ -7007,32 +7115,33 @@ class ws {
|
|
|
7007
7115
|
static formatDateUTC = (t, r) => t ? dt.utc(t).format(r || "DD/MM/YYYYㆍHH:mm") : "";
|
|
7008
7116
|
}
|
|
7009
7117
|
export {
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7118
|
+
Zo as Button,
|
|
7119
|
+
Qo as Carousel,
|
|
7120
|
+
es as Checkbox,
|
|
7121
|
+
us as Drawer,
|
|
7122
|
+
ls as FeedbackProvider,
|
|
7123
|
+
cs as Form,
|
|
7124
|
+
fs as Image,
|
|
7125
|
+
ds as InputField,
|
|
7126
|
+
hs as Loader,
|
|
7127
|
+
ps as Modal,
|
|
7128
|
+
ss as NavigationProvider,
|
|
7129
|
+
ms as PageLayout,
|
|
7130
|
+
ws as ScrollHelper,
|
|
7131
|
+
vs as SvgImage,
|
|
7132
|
+
gs as TextAreaField,
|
|
7133
|
+
Ss as TextHelper,
|
|
7134
|
+
xs as TimeHelper,
|
|
7135
|
+
ys as Toast,
|
|
7136
|
+
bs as Typography,
|
|
7028
7137
|
sa as defaultBreakpoints,
|
|
7029
|
-
|
|
7138
|
+
ts as useDidMount,
|
|
7030
7139
|
oa as useDrag,
|
|
7031
7140
|
Ct as useFeedback,
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7141
|
+
rs as useFetch,
|
|
7142
|
+
os as useNavigation,
|
|
7143
|
+
ns as useOnScreen,
|
|
7035
7144
|
aa as usePointer,
|
|
7036
|
-
|
|
7037
|
-
|
|
7145
|
+
is as useResponsive,
|
|
7146
|
+
as as useTranslations
|
|
7038
7147
|
};
|