@eliseubatista99/react-scaffold-core 1.1.18 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/form.d.ts +7 -1
- package/dist/components/form/stories/form.stories.d.ts +7 -4
- package/dist/components/pageLayout/pageLayout.d.ts +1 -0
- package/dist/components/pageLayout/pageLayout.hook.d.ts +7 -0
- package/dist/components/pageLayout/stories/pageLayout.stories.d.ts +1 -0
- package/dist/index.cjs.js +11 -11
- package/dist/index.es.js +601 -546
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
|
-
import
|
|
2
|
+
import B, { forwardRef as Cn, useContext as Ut, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as me, useRef as Pn } from "react";
|
|
3
3
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function Yt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -76,7 +76,7 @@ function _n() {
|
|
|
76
76
|
function e(n) {
|
|
77
77
|
if (n == null) return null;
|
|
78
78
|
if (typeof n == "function")
|
|
79
|
-
return n.$$typeof ===
|
|
79
|
+
return n.$$typeof === h ? null : n.displayName || n.name || null;
|
|
80
80
|
if (typeof n == "string") return n;
|
|
81
81
|
switch (n) {
|
|
82
82
|
case p:
|
|
@@ -179,7 +179,7 @@ function _n() {
|
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function d(n, f, O, I, D, N, V, U) {
|
|
183
183
|
return O = N.ref, n = {
|
|
184
184
|
$$typeof: M,
|
|
185
185
|
type: n,
|
|
@@ -212,24 +212,24 @@ function _n() {
|
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
214
|
function g(n, f, O, I, D, N, V, U) {
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
215
|
+
var q = f.children;
|
|
216
|
+
if (q !== void 0)
|
|
217
217
|
if (I)
|
|
218
|
-
if (T(
|
|
219
|
-
for (I = 0; I <
|
|
220
|
-
y(
|
|
221
|
-
Object.freeze && Object.freeze(
|
|
218
|
+
if (T(q)) {
|
|
219
|
+
for (I = 0; I < q.length; I++)
|
|
220
|
+
y(q[I]);
|
|
221
|
+
Object.freeze && Object.freeze(q);
|
|
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
|
-
else y(
|
|
226
|
+
else y(q);
|
|
227
227
|
if (H.call(f, "key")) {
|
|
228
|
-
|
|
228
|
+
q = e(n);
|
|
229
229
|
var K = Object.keys(f).filter(function(J) {
|
|
230
230
|
return J !== "key";
|
|
231
231
|
});
|
|
232
|
-
I = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", v[
|
|
232
|
+
I = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", v[q + I] || (K = 0 < K.length ? "{" + K.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
233
233
|
`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
@@ -237,22 +237,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
237
237
|
let props = %s;
|
|
238
238
|
<%s key={someKey} {...props} />`,
|
|
239
239
|
I,
|
|
240
|
-
|
|
240
|
+
q,
|
|
241
241
|
K,
|
|
242
|
-
|
|
243
|
-
), v[
|
|
242
|
+
q
|
|
243
|
+
), v[q + I] = !0);
|
|
244
244
|
}
|
|
245
|
-
if (
|
|
245
|
+
if (q = null, O !== void 0 && (r(O), q = "" + O), c(f) && (r(f.key), q = "" + f.key), "key" in f) {
|
|
246
246
|
O = {};
|
|
247
247
|
for (var G in f)
|
|
248
248
|
G !== "key" && (O[G] = f[G]);
|
|
249
249
|
} else O = f;
|
|
250
|
-
return
|
|
250
|
+
return q && u(
|
|
251
251
|
O,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
253
|
-
),
|
|
253
|
+
), d(
|
|
254
254
|
n,
|
|
255
|
-
|
|
255
|
+
q,
|
|
256
256
|
N,
|
|
257
257
|
D,
|
|
258
258
|
a(),
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function y(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var E =
|
|
267
|
+
var E = B, M = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), W = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), b = Symbol.for("react.activity"), h = Symbol.for("react.client.reference"), C = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, T = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
E = {
|
|
@@ -374,28 +374,28 @@ var _t, or;
|
|
|
374
374
|
function Ln() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt,
|
|
377
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, d = typeof self == "object" && self && self.Object === Object && self, g = l || d || Function("return this")(), y = Object.prototype, E = y.toString, M = Math.max, k = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function R(m, w, x) {
|
|
381
|
-
var _, b,
|
|
381
|
+
var _, b, h, C, H, T, j = 0, P = !1, L = !1, o = !0;
|
|
382
382
|
if (typeof m != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x,
|
|
384
|
+
w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x, h = L ? M(F(x.maxWait) || 0, w) : h, o = "trailing" in x ? !!x.trailing : o);
|
|
385
385
|
function z(U) {
|
|
386
|
-
var
|
|
387
|
-
return _ = b = void 0, j = U, C = m.apply(K,
|
|
386
|
+
var q = _, K = b;
|
|
387
|
+
return _ = b = void 0, j = U, C = m.apply(K, q), C;
|
|
388
388
|
}
|
|
389
389
|
function v(U) {
|
|
390
390
|
return j = U, H = setTimeout(O, w), P ? z(U) : C;
|
|
391
391
|
}
|
|
392
392
|
function n(U) {
|
|
393
|
-
var
|
|
394
|
-
return L ? k(G,
|
|
393
|
+
var q = U - T, K = U - j, G = w - q;
|
|
394
|
+
return L ? k(G, h - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function f(U) {
|
|
397
|
-
var
|
|
398
|
-
return T === void 0 ||
|
|
397
|
+
var q = U - T, K = U - j;
|
|
398
|
+
return T === void 0 || q >= w || q < 0 || L && K >= h;
|
|
399
399
|
}
|
|
400
400
|
function O() {
|
|
401
401
|
var U = p();
|
|
@@ -413,8 +413,8 @@ function Ln() {
|
|
|
413
413
|
return H === void 0 ? C : I(p());
|
|
414
414
|
}
|
|
415
415
|
function V() {
|
|
416
|
-
var U = p(),
|
|
417
|
-
if (_ = arguments, b = this, T = U,
|
|
416
|
+
var U = p(), q = f(U);
|
|
417
|
+
if (_ = arguments, b = this, T = U, q) {
|
|
418
418
|
if (H === void 0)
|
|
419
419
|
return v(T);
|
|
420
420
|
if (L)
|
|
@@ -496,7 +496,7 @@ function zr() {
|
|
|
496
496
|
Object.defineProperty(e, "__esModule", {
|
|
497
497
|
value: !0
|
|
498
498
|
}), e.default = void 0;
|
|
499
|
-
var t = r(
|
|
499
|
+
var t = r(B);
|
|
500
500
|
function r(a) {
|
|
501
501
|
return a && a.__esModule ? a : { default: a };
|
|
502
502
|
}
|
|
@@ -571,8 +571,8 @@ function Ke() {
|
|
|
571
571
|
if (ur) return Y;
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
|
-
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp =
|
|
575
|
-
var e = r(
|
|
574
|
+
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = d, Y.extractObject = void 0, Y.filterSettings = z, Y.validSettings = Y.swipeStart = Y.swipeMove = Y.swipeEnd = Y.slidesOnRight = Y.slidesOnLeft = Y.slideHandler = Y.siblingDirection = Y.safePreventDefault = Y.lazyStartIndex = Y.lazySlidesOnRight = Y.lazySlidesOnLeft = Y.lazyEndIndex = Y.keyHandler = Y.initializedState = Y.getWidth = Y.getTrackLeft = Y.getTrackCSS = Y.getTrackAnimateCSS = Y.getTotalSlides = Y.getSwipeDirection = Y.getSlideCount = Y.getRequiredLazySlides = Y.getPreClones = Y.getPostClones = Y.getOnDemandLazySlides = Y.getNavigableIndexes = Y.getHeight = void 0;
|
|
575
|
+
var e = r(B), t = r(zr());
|
|
576
576
|
function r(v) {
|
|
577
577
|
return v && v.__esModule ? v : { default: v };
|
|
578
578
|
}
|
|
@@ -622,7 +622,7 @@ function Ke() {
|
|
|
622
622
|
}
|
|
623
623
|
return (n === "string" ? String : Number)(v);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function d(v, n, f) {
|
|
626
626
|
return Math.max(n, Math.min(v, f));
|
|
627
627
|
}
|
|
628
628
|
var g = Y.safePreventDefault = function(n) {
|
|
@@ -670,7 +670,7 @@ function Ke() {
|
|
|
670
670
|
var U = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
671
671
|
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (U *= I / 100), V = Math.ceil((I - U) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
673
|
+
var q = O && S(O.querySelector('[data-index="0"]')), K = q * n.slidesToShow, G = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
674
|
n.rtl && n.currentSlide === void 0 && (G = f - 1 - n.initialSlide);
|
|
675
675
|
var J = n.lazyLoadedList || [], te = y(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: G,
|
|
@@ -683,15 +683,15 @@ function Ke() {
|
|
|
683
683
|
listWidth: I,
|
|
684
684
|
trackWidth: N,
|
|
685
685
|
currentSlide: G,
|
|
686
|
-
slideHeight:
|
|
686
|
+
slideHeight: q,
|
|
687
687
|
listHeight: K,
|
|
688
688
|
lazyLoadedList: J
|
|
689
689
|
};
|
|
690
690
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
691
691
|
}, Y.slideHandler = function(n) {
|
|
692
|
-
var f = n.waitForAnimate, O = n.animating, I = n.fade, D = n.infinite, N = n.index, V = n.slideCount, U = n.lazyLoad,
|
|
692
|
+
var f = n.waitForAnimate, O = n.animating, I = n.fade, D = n.infinite, N = n.index, V = n.slideCount, U = n.lazyLoad, q = n.currentSlide, K = n.centerMode, G = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
693
|
if (f && O) return {};
|
|
694
|
-
var ee = N, ie, le, Q, oe = {}, ue = {}, ce = D ? N :
|
|
694
|
+
var ee = N, ie, le, Q, oe = {}, ue = {}, ce = D ? N : d(N, 0, V - 1);
|
|
695
695
|
if (I) {
|
|
696
696
|
if (!D && (N < 0 || N >= V)) return {};
|
|
697
697
|
N < 0 ? ee = N + V : N >= V && (ee = N - V), U && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
@@ -704,9 +704,9 @@ function Ke() {
|
|
|
704
704
|
targetSlide: ee
|
|
705
705
|
};
|
|
706
706
|
} else
|
|
707
|
-
ie = ee, ee < 0 ? (ie = ee + V, D ? V % G !== 0 && (ie = V - V % G) : ie = 0) : !W(n) && ee >
|
|
707
|
+
ie = ee, ee < 0 ? (ie = ee + V, D ? V % G !== 0 && (ie = V - V % G) : ie = 0) : !W(n) && ee > q ? ee = ie = q : K && ee >= V ? (ee = D ? V : V - 1, ie = D ? 0 : V - 1) : ee >= V && (ie = ee - V, D ? V % G !== 0 && (ie = 0) : ie = V - J), !D && ee + J >= V && (ie = V - J), le = h(s(s({}, n), {}, {
|
|
708
708
|
slideIndex: ee
|
|
709
|
-
})), Q =
|
|
709
|
+
})), Q = h(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
711
711
|
})), D || (le === Q && (ee = ie), le = Q), U && (Z = Z.concat(y(s(s({}, n), {}, {
|
|
712
712
|
currentSlide: ee
|
|
@@ -739,9 +739,9 @@ function Ke() {
|
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
741
|
}, Y.changeSlide = function(n, f) {
|
|
742
|
-
var O, I, D, N, V, U = n.slidesToScroll,
|
|
742
|
+
var O, I, D, N, V, U = n.slidesToScroll, q = n.slidesToShow, K = n.slideCount, G = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
743
|
if (N = K % U !== 0, O = N ? 0 : (K - G) % U, f.message === "previous")
|
|
744
|
-
D = O === 0 ? U :
|
|
744
|
+
D = O === 0 ? U : q - O, V = G - D, te && !Z && (I = G - D, V = I === -1 ? K - 1 : I), Z || (V = J - U);
|
|
745
745
|
else if (f.message === "next")
|
|
746
746
|
D = O === 0 ? U : O, V = G + D, te && !Z && (V = (G + U) % K + O), Z || (V = J + U);
|
|
747
747
|
else if (f.message === "dots")
|
|
@@ -768,11 +768,11 @@ function Ke() {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
}, Y.swipeMove = function(n, f) {
|
|
771
|
-
var O = f.scrolling, I = f.animating, D = f.vertical, N = f.swipeToSlide, V = f.verticalSwiping, U = f.rtl,
|
|
771
|
+
var O = f.scrolling, I = f.animating, D = f.vertical, N = f.swipeToSlide, V = f.verticalSwiping, U = f.rtl, q = f.currentSlide, K = f.edgeFriction, G = 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 (!O) {
|
|
773
773
|
if (I) return g(n);
|
|
774
774
|
D && N && V && g(n);
|
|
775
|
-
var pe, Re = {}, tt =
|
|
775
|
+
var pe, Re = {}, tt = h(f);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
778
778
|
if (!V && !Z && tr > 10)
|
|
@@ -783,7 +783,7 @@ function Ke() {
|
|
|
783
783
|
var Ie = (U ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
784
|
V && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
785
|
var kn = Math.ceil(ee / ie), Pe = A(f.touchObject, V), Ae = Q.swipeLength;
|
|
786
|
-
return le || (
|
|
786
|
+
return le || (q === 0 && (Pe === "right" || Pe === "down") || q + 1 >= kn && (Pe === "left" || Pe === "up") || !W(f) && (Pe === "left" || Pe === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Pe), Re.edgeDragged = !0)), !te && oe && (oe(Pe), Re.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : U ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, V && (pe = tt + Ae * Ie), Re = s(s({}, Re), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: _(s(s({}, f), {}, {
|
|
@@ -792,10 +792,10 @@ function Ke() {
|
|
|
792
792
|
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Re.swiping = !0, g(n)), Re;
|
|
793
793
|
}
|
|
794
794
|
}, Y.swipeEnd = function(n, f) {
|
|
795
|
-
var O = f.dragging, I = f.swipe, D = f.touchObject, N = f.listWidth, V = f.touchThreshold, U = f.verticalSwiping,
|
|
795
|
+
var O = f.dragging, I = f.swipe, D = f.touchObject, N = f.listWidth, V = f.touchThreshold, U = f.verticalSwiping, q = f.listHeight, K = f.swipeToSlide, G = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
796
796
|
if (!O)
|
|
797
797
|
return I && g(n), {};
|
|
798
|
-
var ie = U ?
|
|
798
|
+
var ie = U ? q / V : N / V, le = A(D, U), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
801
801
|
scrolling: !1,
|
|
@@ -823,7 +823,7 @@ function Ke() {
|
|
|
823
823
|
}
|
|
824
824
|
Q.triggerSlideHandler = oe;
|
|
825
825
|
} else {
|
|
826
|
-
var pe =
|
|
826
|
+
var pe = h(f);
|
|
827
827
|
Q.trackStyle = b(s(s({}, f), {}, {
|
|
828
828
|
left: pe
|
|
829
829
|
}));
|
|
@@ -898,15 +898,15 @@ function Ke() {
|
|
|
898
898
|
x(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
899
|
var f = _(n);
|
|
900
900
|
return n.useTransform ? (f.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, f.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? f.transition = "top " + n.speed + "ms " + n.cssEase : f.transition = "left " + n.speed + "ms " + n.cssEase, f;
|
|
901
|
-
},
|
|
901
|
+
}, h = Y.getTrackLeft = function(n) {
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
904
|
x(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
-
var f = n.slideIndex, O = n.trackRef, I = n.infinite, D = n.centerMode, N = n.slideCount, V = n.slidesToShow, U = n.slidesToScroll,
|
|
905
|
+
var f = n.slideIndex, O = n.trackRef, I = n.infinite, D = n.centerMode, N = n.slideCount, V = n.slidesToShow, U = n.slidesToScroll, q = n.slideWidth, K = n.listWidth, G = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if (I ? (oe = -C(n), N % U !== 0 && f + U > N && (oe = -(f > N ? V - (f - N) : N % U)), D && (oe += parseInt(V / 2))) : (N % U !== 0 && f + U > N && (oe = V - N % U), D && (oe = parseInt(V / 2))), ee = oe *
|
|
909
|
+
if (I ? (oe = -C(n), N % U !== 0 && f + U > N && (oe = -(f > N ? V - (f - N) : N % U)), D && (oe += parseInt(V / 2))) : (N % U !== 0 && f + U > N && (oe = V - N % U), D && (oe = parseInt(V / 2))), ee = oe * q, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * q * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
911
|
if (ue = f + C(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
912
|
ue = I ? f + C(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
@@ -956,63 +956,63 @@ function Mn() {
|
|
|
956
956
|
cr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
957
957
|
value: !0
|
|
958
958
|
}), Fe.Track = void 0;
|
|
959
|
-
var e = i(
|
|
959
|
+
var e = i(B), t = i(yt()), r = Ke();
|
|
960
960
|
function i(b) {
|
|
961
961
|
return b && b.__esModule ? b : { default: b };
|
|
962
962
|
}
|
|
963
963
|
function a(b) {
|
|
964
964
|
"@babel/helpers - typeof";
|
|
965
|
-
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
966
|
-
return typeof
|
|
967
|
-
} : function(
|
|
968
|
-
return
|
|
965
|
+
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(h) {
|
|
966
|
+
return typeof h;
|
|
967
|
+
} : function(h) {
|
|
968
|
+
return h && typeof Symbol == "function" && h.constructor === Symbol && h !== Symbol.prototype ? "symbol" : typeof h;
|
|
969
969
|
}, a(b);
|
|
970
970
|
}
|
|
971
971
|
function s() {
|
|
972
972
|
return s = Object.assign ? Object.assign.bind() : function(b) {
|
|
973
|
-
for (var
|
|
974
|
-
var C = arguments[
|
|
973
|
+
for (var h = 1; h < arguments.length; h++) {
|
|
974
|
+
var C = arguments[h];
|
|
975
975
|
for (var H in C)
|
|
976
976
|
({}).hasOwnProperty.call(C, H) && (b[H] = C[H]);
|
|
977
977
|
}
|
|
978
978
|
return b;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
980
980
|
}
|
|
981
|
-
function c(b,
|
|
982
|
-
if (!(b instanceof
|
|
981
|
+
function c(b, h) {
|
|
982
|
+
if (!(b instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
|
-
function u(b,
|
|
985
|
-
for (var C = 0; C <
|
|
986
|
-
var H =
|
|
984
|
+
function u(b, h) {
|
|
985
|
+
for (var C = 0; C < h.length; C++) {
|
|
986
|
+
var H = h[C];
|
|
987
987
|
H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(b, W(H.key), H);
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function l(b,
|
|
991
|
-
return
|
|
990
|
+
function l(b, h, C) {
|
|
991
|
+
return h && u(b.prototype, h), Object.defineProperty(b, "prototype", { writable: !1 }), b;
|
|
992
992
|
}
|
|
993
|
-
function
|
|
994
|
-
if (typeof
|
|
995
|
-
b.prototype = Object.create(
|
|
993
|
+
function d(b, h) {
|
|
994
|
+
if (typeof h != "function" && h !== null) throw new TypeError("Super expression must either be null or a function");
|
|
995
|
+
b.prototype = Object.create(h && h.prototype, { constructor: { value: b, writable: !0, configurable: !0 } }), Object.defineProperty(b, "prototype", { writable: !1 }), h && g(b, h);
|
|
996
996
|
}
|
|
997
|
-
function g(b,
|
|
997
|
+
function g(b, h) {
|
|
998
998
|
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, H) {
|
|
999
999
|
return C.__proto__ = H, C;
|
|
1000
|
-
}, g(b,
|
|
1000
|
+
}, g(b, h);
|
|
1001
1001
|
}
|
|
1002
1002
|
function y(b) {
|
|
1003
|
-
var
|
|
1003
|
+
var h = k();
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var C, H = p(b);
|
|
1006
|
-
if (
|
|
1006
|
+
if (h) {
|
|
1007
1007
|
var T = p(this).constructor;
|
|
1008
1008
|
C = Reflect.construct(H, arguments, T);
|
|
1009
1009
|
} else C = H.apply(this, arguments);
|
|
1010
1010
|
return E(this, C);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
|
-
function E(b,
|
|
1014
|
-
if (
|
|
1015
|
-
if (
|
|
1013
|
+
function E(b, h) {
|
|
1014
|
+
if (h && (a(h) == "object" || typeof h == "function")) return h;
|
|
1015
|
+
if (h !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
1016
|
return M(b);
|
|
1017
1017
|
}
|
|
1018
1018
|
function M(b) {
|
|
@@ -1030,24 +1030,24 @@ function Mn() {
|
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
1032
1032
|
function p(b) {
|
|
1033
|
-
return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1034
|
-
return
|
|
1033
|
+
return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(h) {
|
|
1034
|
+
return h.__proto__ || Object.getPrototypeOf(h);
|
|
1035
1035
|
}, p(b);
|
|
1036
1036
|
}
|
|
1037
|
-
function R(b,
|
|
1037
|
+
function R(b, h) {
|
|
1038
1038
|
var C = Object.keys(b);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
1040
|
var H = Object.getOwnPropertySymbols(b);
|
|
1041
|
-
|
|
1041
|
+
h && (H = H.filter(function(T) {
|
|
1042
1042
|
return Object.getOwnPropertyDescriptor(b, T).enumerable;
|
|
1043
1043
|
})), C.push.apply(C, H);
|
|
1044
1044
|
}
|
|
1045
1045
|
return C;
|
|
1046
1046
|
}
|
|
1047
1047
|
function S(b) {
|
|
1048
|
-
for (var
|
|
1049
|
-
var C = arguments[
|
|
1050
|
-
|
|
1048
|
+
for (var h = 1; h < arguments.length; h++) {
|
|
1049
|
+
var C = arguments[h] != null ? arguments[h] : {};
|
|
1050
|
+
h % 2 ? R(Object(C), !0).forEach(function(H) {
|
|
1051
1051
|
A(b, H, C[H]);
|
|
1052
1052
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(C)) : R(Object(C)).forEach(function(H) {
|
|
1053
1053
|
Object.defineProperty(b, H, Object.getOwnPropertyDescriptor(C, H));
|
|
@@ -1055,28 +1055,28 @@ function Mn() {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
return b;
|
|
1057
1057
|
}
|
|
1058
|
-
function A(b,
|
|
1059
|
-
return (
|
|
1058
|
+
function A(b, h, C) {
|
|
1059
|
+
return (h = W(h)) in b ? Object.defineProperty(b, h, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : b[h] = C, b;
|
|
1060
1060
|
}
|
|
1061
1061
|
function W(b) {
|
|
1062
|
-
var
|
|
1063
|
-
return a(
|
|
1062
|
+
var h = F(b, "string");
|
|
1063
|
+
return a(h) == "symbol" ? h : h + "";
|
|
1064
1064
|
}
|
|
1065
|
-
function F(b,
|
|
1065
|
+
function F(b, h) {
|
|
1066
1066
|
if (a(b) != "object" || !b) return b;
|
|
1067
1067
|
var C = b[Symbol.toPrimitive];
|
|
1068
1068
|
if (C !== void 0) {
|
|
1069
|
-
var H = C.call(b,
|
|
1069
|
+
var H = C.call(b, h);
|
|
1070
1070
|
if (a(H) != "object") return H;
|
|
1071
1071
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1072
1072
|
}
|
|
1073
|
-
return (
|
|
1073
|
+
return (h === "string" ? String : Number)(b);
|
|
1074
1074
|
}
|
|
1075
|
-
var m = function(
|
|
1075
|
+
var m = function(h) {
|
|
1076
1076
|
var C, H, T, j, P;
|
|
1077
|
-
|
|
1077
|
+
h.rtl ? P = h.slideCount - 1 - h.index : P = h.index, T = P < 0 || P >= h.slideCount, h.centerMode ? (j = Math.floor(h.slidesToShow / 2), H = (P - h.currentSlide) % h.slideCount === 0, P > h.currentSlide - j - 1 && P <= h.currentSlide + j && (C = !0)) : C = h.currentSlide <= P && P < h.currentSlide + h.slidesToShow;
|
|
1078
1078
|
var L;
|
|
1079
|
-
|
|
1079
|
+
h.targetSlide < 0 ? L = h.targetSlide + h.slideCount : h.targetSlide >= h.slideCount ? L = h.targetSlide - h.slideCount : L = h.targetSlide;
|
|
1080
1080
|
var o = P === L;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
@@ -1086,24 +1086,24 @@ function Mn() {
|
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
|
-
}, w = function(
|
|
1089
|
+
}, w = function(h) {
|
|
1090
1090
|
var C = {};
|
|
1091
|
-
return (
|
|
1092
|
-
}, x = function(
|
|
1093
|
-
return
|
|
1094
|
-
}, _ = function(
|
|
1095
|
-
var C, H = [], T = [], j = [], P = e.default.Children.count(
|
|
1096
|
-
return e.default.Children.forEach(
|
|
1091
|
+
return (h.variableWidth === void 0 || h.variableWidth === !1) && (C.width = h.slideWidth), h.fade && (C.position = "relative", h.vertical ? C.top = -h.index * parseInt(h.slideHeight) : C.left = -h.index * parseInt(h.slideWidth), C.opacity = h.currentSlide === h.index ? 1 : 0, C.zIndex = h.currentSlide === h.index ? 999 : 998, h.useCSS && (C.transition = "opacity " + h.speed + "ms " + h.cssEase + ", visibility " + h.speed + "ms " + h.cssEase)), C;
|
|
1092
|
+
}, x = function(h, C) {
|
|
1093
|
+
return h.key || C;
|
|
1094
|
+
}, _ = function(h) {
|
|
1095
|
+
var C, H = [], T = [], j = [], P = e.default.Children.count(h.children), L = (0, r.lazyStartIndex)(h), o = (0, r.lazyEndIndex)(h);
|
|
1096
|
+
return e.default.Children.forEach(h.children, function(z, v) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
1099
1099
|
index: v,
|
|
1100
|
-
slidesToScroll:
|
|
1101
|
-
currentSlide:
|
|
1100
|
+
slidesToScroll: h.slidesToScroll,
|
|
1101
|
+
currentSlide: h.currentSlide
|
|
1102
1102
|
};
|
|
1103
|
-
!
|
|
1104
|
-
var O = w(S(S({},
|
|
1103
|
+
!h.lazyLoad || h.lazyLoad && h.lazyLoadedList.indexOf(v) >= 0 ? n = z : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
+
var O = w(S(S({}, h), {}, {
|
|
1105
1105
|
index: v
|
|
1106
|
-
})), I = n.props.className || "", D = m(S(S({},
|
|
1106
|
+
})), I = n.props.className || "", D = m(S(S({}, h), {}, {
|
|
1107
1107
|
index: v
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (H.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
@@ -1116,11 +1116,11 @@ function Mn() {
|
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), O),
|
|
1118
1118
|
onClick: function(U) {
|
|
1119
|
-
n.props && n.props.onClick && n.props.onClick(U),
|
|
1119
|
+
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1120
1120
|
}
|
|
1121
|
-
})),
|
|
1121
|
+
})), h.infinite && P > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var N = P - v;
|
|
1123
|
-
N <= (0, r.getPreClones)(
|
|
1123
|
+
N <= (0, r.getPreClones)(h) && (C = -N, C >= L && (n = z), D = m(S(S({}, h), {}, {
|
|
1124
1124
|
index: C
|
|
1125
1125
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
1126
|
key: "precloned" + x(n, C),
|
|
@@ -1130,9 +1130,9 @@ function Mn() {
|
|
|
1130
1130
|
"aria-hidden": !D["slick-active"],
|
|
1131
1131
|
style: S(S({}, n.props.style || {}), O),
|
|
1132
1132
|
onClick: function(U) {
|
|
1133
|
-
n.props && n.props.onClick && n.props.onClick(U),
|
|
1133
|
+
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), v < (0, r.getPostClones)(
|
|
1135
|
+
}))), v < (0, r.getPostClones)(h) && (C = P + v, C < o && (n = z), D = m(S(S({}, h), {}, {
|
|
1136
1136
|
index: C
|
|
1137
1137
|
})), j.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
1138
|
key: "postcloned" + x(n, C),
|
|
@@ -1142,21 +1142,21 @@ function Mn() {
|
|
|
1142
1142
|
"aria-hidden": !D["slick-active"],
|
|
1143
1143
|
style: S(S({}, n.props.style || {}), O),
|
|
1144
1144
|
onClick: function(U) {
|
|
1145
|
-
n.props && n.props.onClick && n.props.onClick(U),
|
|
1145
|
+
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
1149
|
-
}),
|
|
1149
|
+
}), h.rtl ? T.concat(H, j).reverse() : T.concat(H, j);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(b) {
|
|
1152
|
-
|
|
1153
|
-
var
|
|
1152
|
+
d(C, b);
|
|
1153
|
+
var h = y(C);
|
|
1154
1154
|
function C() {
|
|
1155
1155
|
var H;
|
|
1156
1156
|
c(this, C);
|
|
1157
1157
|
for (var T = arguments.length, j = new Array(T), P = 0; P < T; P++)
|
|
1158
1158
|
j[P] = arguments[P];
|
|
1159
|
-
return H =
|
|
1159
|
+
return H = h.call.apply(h, [this].concat(j)), A(M(H), "node", null), A(M(H), "handleRef", function(L) {
|
|
1160
1160
|
H.node = L;
|
|
1161
1161
|
}), H;
|
|
1162
1162
|
}
|
|
@@ -1192,7 +1192,7 @@ function Dn() {
|
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
|
-
var t = a(
|
|
1195
|
+
var t = a(B), r = a(yt()), i = Ke();
|
|
1196
1196
|
function a(m) {
|
|
1197
1197
|
return m && m.__esModule ? m : { default: m };
|
|
1198
1198
|
}
|
|
@@ -1223,14 +1223,14 @@ function Dn() {
|
|
|
1223
1223
|
function l(m, w) {
|
|
1224
1224
|
if (!(m instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function d(m, w) {
|
|
1227
1227
|
for (var x = 0; x < w.length; x++) {
|
|
1228
1228
|
var _ = w[x];
|
|
1229
1229
|
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(m, y(_.key), _);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
function g(m, w, x) {
|
|
1233
|
-
return w &&
|
|
1233
|
+
return w && d(m.prototype, w), Object.defineProperty(m, "prototype", { writable: !1 }), m;
|
|
1234
1234
|
}
|
|
1235
1235
|
function y(m) {
|
|
1236
1236
|
var w = E(m, "string");
|
|
@@ -1302,19 +1302,19 @@ function Dn() {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
return g(x, [{
|
|
1304
1304
|
key: "clickHandler",
|
|
1305
|
-
value: function(b,
|
|
1306
|
-
|
|
1305
|
+
value: function(b, h) {
|
|
1306
|
+
h.preventDefault(), this.props.clickHandler(b);
|
|
1307
1307
|
}
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var b = this.props,
|
|
1311
|
+
for (var b = this.props, h = b.onMouseEnter, C = b.onMouseOver, H = b.onMouseLeave, T = b.infinite, j = b.slidesToScroll, P = b.slidesToShow, L = b.slideCount, o = b.currentSlide, z = F({
|
|
1312
1312
|
slideCount: L,
|
|
1313
1313
|
slidesToScroll: j,
|
|
1314
1314
|
slidesToShow: P,
|
|
1315
1315
|
infinite: T
|
|
1316
1316
|
}), v = {
|
|
1317
|
-
onMouseEnter:
|
|
1317
|
+
onMouseEnter: h,
|
|
1318
1318
|
onMouseOver: C,
|
|
1319
1319
|
onMouseLeave: H
|
|
1320
1320
|
}, n = [], f = 0; f < z; f++) {
|
|
@@ -1325,12 +1325,12 @@ function Dn() {
|
|
|
1325
1325
|
index: f,
|
|
1326
1326
|
slidesToScroll: j,
|
|
1327
1327
|
currentSlide: o
|
|
1328
|
-
},
|
|
1328
|
+
}, q = this.clickHandler.bind(this, U);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
1330
1330
|
key: f,
|
|
1331
1331
|
className: V
|
|
1332
1332
|
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(f), {
|
|
1333
|
-
onClick:
|
|
1333
|
+
onClick: q
|
|
1334
1334
|
})));
|
|
1335
1335
|
}
|
|
1336
1336
|
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n), c({
|
|
@@ -1355,7 +1355,7 @@ function $n() {
|
|
|
1355
1355
|
Object.defineProperty(_e, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), _e.PrevArrow = _e.NextArrow = void 0;
|
|
1358
|
-
var t = a(
|
|
1358
|
+
var t = a(B), r = a(yt()), i = Ke();
|
|
1359
1359
|
function a(m) {
|
|
1360
1360
|
return m && m.__esModule ? m : { default: m };
|
|
1361
1361
|
}
|
|
@@ -1393,7 +1393,7 @@ function $n() {
|
|
|
1393
1393
|
function l(m, w, x) {
|
|
1394
1394
|
return (w = E(w)) in m ? Object.defineProperty(m, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : m[w] = x, m;
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1396
|
+
function d(m, w) {
|
|
1397
1397
|
if (!(m instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1398
1398
|
}
|
|
1399
1399
|
function g(m, w) {
|
|
@@ -1467,12 +1467,12 @@ function $n() {
|
|
|
1467
1467
|
k(x, m);
|
|
1468
1468
|
var w = R(x);
|
|
1469
1469
|
function x() {
|
|
1470
|
-
return
|
|
1470
|
+
return d(this, x), w.apply(this, arguments);
|
|
1471
1471
|
}
|
|
1472
1472
|
return y(x, [{
|
|
1473
1473
|
key: "clickHandler",
|
|
1474
|
-
value: function(b,
|
|
1475
|
-
|
|
1474
|
+
value: function(b, h) {
|
|
1475
|
+
h && h.preventDefault(), this.props.clickHandler(b, h);
|
|
1476
1476
|
}
|
|
1477
1477
|
}, {
|
|
1478
1478
|
key: "render",
|
|
@@ -1480,10 +1480,10 @@ function $n() {
|
|
|
1480
1480
|
var b = {
|
|
1481
1481
|
"slick-arrow": !0,
|
|
1482
1482
|
"slick-prev": !0
|
|
1483
|
-
},
|
|
1483
|
+
}, h = this.clickHandler.bind(this, {
|
|
1484
1484
|
message: "previous"
|
|
1485
1485
|
});
|
|
1486
|
-
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (b["slick-disabled"] = !0,
|
|
1486
|
+
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (b["slick-disabled"] = !0, h = null);
|
|
1487
1487
|
var C = {
|
|
1488
1488
|
key: "0",
|
|
1489
1489
|
"data-role": "none",
|
|
@@ -1491,7 +1491,7 @@ function $n() {
|
|
|
1491
1491
|
style: {
|
|
1492
1492
|
display: "block"
|
|
1493
1493
|
},
|
|
1494
|
-
onClick:
|
|
1494
|
+
onClick: h
|
|
1495
1495
|
}, H = {
|
|
1496
1496
|
currentSlide: this.props.currentSlide,
|
|
1497
1497
|
slideCount: this.props.slideCount
|
|
@@ -1506,12 +1506,12 @@ function $n() {
|
|
|
1506
1506
|
k(x, m);
|
|
1507
1507
|
var w = R(x);
|
|
1508
1508
|
function x() {
|
|
1509
|
-
return
|
|
1509
|
+
return d(this, x), w.apply(this, arguments);
|
|
1510
1510
|
}
|
|
1511
1511
|
return y(x, [{
|
|
1512
1512
|
key: "clickHandler",
|
|
1513
|
-
value: function(b,
|
|
1514
|
-
|
|
1513
|
+
value: function(b, h) {
|
|
1514
|
+
h && h.preventDefault(), this.props.clickHandler(b, h);
|
|
1515
1515
|
}
|
|
1516
1516
|
}, {
|
|
1517
1517
|
key: "render",
|
|
@@ -1519,10 +1519,10 @@ function $n() {
|
|
|
1519
1519
|
var b = {
|
|
1520
1520
|
"slick-arrow": !0,
|
|
1521
1521
|
"slick-next": !0
|
|
1522
|
-
},
|
|
1522
|
+
}, h = this.clickHandler.bind(this, {
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
|
-
(0, i.canGoNext)(this.props) || (b["slick-disabled"] = !0,
|
|
1525
|
+
(0, i.canGoNext)(this.props) || (b["slick-disabled"] = !0, h = null);
|
|
1526
1526
|
var C = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
@@ -1530,7 +1530,7 @@ function $n() {
|
|
|
1530
1530
|
style: {
|
|
1531
1531
|
display: "block"
|
|
1532
1532
|
},
|
|
1533
|
-
onClick:
|
|
1533
|
+
onClick: h
|
|
1534
1534
|
}, H = {
|
|
1535
1535
|
currentSlide: this.props.currentSlide,
|
|
1536
1536
|
slideCount: this.props.slideCount
|
|
@@ -1699,24 +1699,24 @@ function Yn(e) {
|
|
|
1699
1699
|
if (!t && !r)
|
|
1700
1700
|
return Wr;
|
|
1701
1701
|
var i = je(e).getComputedStyle(e), a = Vn(i), s = a.left + a.right, c = a.top + a.bottom, u = mt(i.width), l = mt(i.height);
|
|
1702
|
-
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)), !
|
|
1703
|
-
var
|
|
1704
|
-
Math.abs(
|
|
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 d = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
1704
|
+
Math.abs(d) !== 1 && (u -= d), Math.abs(g) !== 1 && (l -= g);
|
|
1705
1705
|
}
|
|
1706
1706
|
return bt(a.left, a.top, u, l);
|
|
1707
1707
|
}
|
|
1708
|
-
var
|
|
1708
|
+
var Bn = /* @__PURE__ */ function() {
|
|
1709
1709
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1710
1710
|
return e instanceof je(e).SVGGraphicsElement;
|
|
1711
1711
|
} : function(e) {
|
|
1712
1712
|
return e instanceof je(e).SVGElement && typeof e.getBBox == "function";
|
|
1713
1713
|
};
|
|
1714
1714
|
}();
|
|
1715
|
-
function
|
|
1715
|
+
function qn(e) {
|
|
1716
1716
|
return e === je(e).document.documentElement;
|
|
1717
1717
|
}
|
|
1718
1718
|
function Xn(e) {
|
|
1719
|
-
return At ?
|
|
1719
|
+
return At ? Bn(e) ? Un(e) : Yn(e) : Wr;
|
|
1720
1720
|
}
|
|
1721
1721
|
function Gn(e) {
|
|
1722
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);
|
|
@@ -1840,8 +1840,8 @@ function ri() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e =
|
|
1844
|
-
function
|
|
1843
|
+
var e = d(B), t = d(jn()), r = d(Ln()), i = d(yt()), a = Ke(), s = Mn(), c = Dn(), u = $n(), l = d(ti);
|
|
1844
|
+
function d(T) {
|
|
1845
1845
|
return T && T.__esModule ? T : { default: T };
|
|
1846
1846
|
}
|
|
1847
1847
|
function g(T) {
|
|
@@ -1896,7 +1896,7 @@ function ri() {
|
|
|
1896
1896
|
for (var j = 1; j < arguments.length; j++) {
|
|
1897
1897
|
var P = arguments[j] != null ? arguments[j] : {};
|
|
1898
1898
|
j % 2 ? k(Object(P), !0).forEach(function(L) {
|
|
1899
|
-
|
|
1899
|
+
h(T, L, P[L]);
|
|
1900
1900
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(P)) : k(Object(P)).forEach(function(L) {
|
|
1901
1901
|
Object.defineProperty(T, L, Object.getOwnPropertyDescriptor(P, L));
|
|
1902
1902
|
});
|
|
@@ -1959,7 +1959,7 @@ function ri() {
|
|
|
1959
1959
|
return j.__proto__ || Object.getPrototypeOf(j);
|
|
1960
1960
|
}, b(T);
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function h(T, j, P) {
|
|
1963
1963
|
return (j = C(j)) in T ? Object.defineProperty(T, j, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : T[j] = P, T;
|
|
1964
1964
|
}
|
|
1965
1965
|
function C(T) {
|
|
@@ -1981,16 +1981,16 @@ function ri() {
|
|
|
1981
1981
|
var j = m(P);
|
|
1982
1982
|
function P(L) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
R(this, P), o = j.call(this, L),
|
|
1984
|
+
R(this, P), o = j.call(this, L), h(x(o), "listRefHandler", function(v) {
|
|
1985
1985
|
return o.list = v;
|
|
1986
|
-
}),
|
|
1986
|
+
}), h(x(o), "trackRefHandler", function(v) {
|
|
1987
1987
|
return o.track = v;
|
|
1988
|
-
}),
|
|
1988
|
+
}), h(x(o), "adaptHeight", function() {
|
|
1989
1989
|
if (o.props.adaptiveHeight && o.list) {
|
|
1990
1990
|
var v = o.list.querySelector('[data-index="'.concat(o.state.currentSlide, '"]'));
|
|
1991
1991
|
o.list.style.height = (0, a.getHeight)(v) + "px";
|
|
1992
1992
|
}
|
|
1993
|
-
}),
|
|
1993
|
+
}), h(x(o), "componentDidMount", function() {
|
|
1994
1994
|
if (o.props.onInit && o.props.onInit(), o.props.lazyLoad) {
|
|
1995
1995
|
var v = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
1996
1996
|
v.length > 0 && (o.setState(function(f) {
|
|
@@ -2012,11 +2012,11 @@ function ri() {
|
|
|
2012
2012
|
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(f) {
|
|
2013
2013
|
f.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, f.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
|
-
}),
|
|
2015
|
+
}), h(x(o), "componentWillUnmount", function() {
|
|
2016
2016
|
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(v) {
|
|
2017
2017
|
return clearTimeout(v);
|
|
2018
2018
|
}), o.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", o.onWindowResized) : window.detachEvent("onresize", o.onWindowResized), o.autoplayTimer && clearInterval(o.autoplayTimer), o.ro.disconnect();
|
|
2019
|
-
}),
|
|
2019
|
+
}), h(x(o), "componentDidUpdate", function(v) {
|
|
2020
2020
|
if (o.checkImagesLoad(), o.props.onReInit && o.props.onReInit(), o.props.lazyLoad) {
|
|
2021
2021
|
var n = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
2022
2022
|
n.length > 0 && (o.setState(function(I) {
|
|
@@ -2037,11 +2037,11 @@ function ri() {
|
|
|
2037
2037
|
currentSlide: o.state.currentSlide
|
|
2038
2038
|
}), o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2039
2039
|
});
|
|
2040
|
-
}),
|
|
2040
|
+
}), h(x(o), "onWindowResized", function(v) {
|
|
2041
2041
|
o.debouncedResize && o.debouncedResize.cancel(), o.debouncedResize = (0, r.default)(function() {
|
|
2042
2042
|
return o.resizeWindow(v);
|
|
2043
2043
|
}, 50), o.debouncedResize();
|
|
2044
|
-
}),
|
|
2044
|
+
}), h(x(o), "resizeWindow", function() {
|
|
2045
2045
|
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, n = !!(o.track && o.track.node);
|
|
2046
2046
|
if (n) {
|
|
2047
2047
|
var f = p(p({
|
|
@@ -2054,7 +2054,7 @@ function ri() {
|
|
|
2054
2054
|
animating: !1
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
|
-
}),
|
|
2057
|
+
}), h(x(o), "updateState", function(v, n, f) {
|
|
2058
2058
|
var O = (0, a.initializedState)(v);
|
|
2059
2059
|
v = p(p(p({}, v), O), {}, {
|
|
2060
2060
|
slideIndex: O.currentSlide
|
|
@@ -2065,7 +2065,7 @@ function ri() {
|
|
|
2065
2065
|
});
|
|
2066
2066
|
var D = (0, a.getTrackCSS)(v);
|
|
2067
2067
|
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(v.children)) && (O.trackStyle = D), o.setState(O, f);
|
|
2068
|
-
}),
|
|
2068
|
+
}), h(x(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
2070
|
var v = 0, n = 0, f = [], O = (0, a.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
@@ -2086,8 +2086,8 @@ function ri() {
|
|
|
2086
2086
|
left: -n + "px"
|
|
2087
2087
|
};
|
|
2088
2088
|
if (o.props.centerMode) {
|
|
2089
|
-
var
|
|
2090
|
-
U.left = "calc(".concat(U.left, " + (100% - ").concat(
|
|
2089
|
+
var q = "".concat(f[o.state.currentSlide], "px");
|
|
2090
|
+
U.left = "calc(".concat(U.left, " + (100% - ").concat(q, ") / 2 ) ");
|
|
2091
2091
|
}
|
|
2092
2092
|
return {
|
|
2093
2093
|
trackStyle: U
|
|
@@ -2105,7 +2105,7 @@ function ri() {
|
|
|
2105
2105
|
slideWidth: Z + "%",
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
|
-
}),
|
|
2108
|
+
}), h(x(o), "checkImagesLoad", function() {
|
|
2109
2109
|
var v = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = v.length, f = 0;
|
|
2110
2110
|
Array.prototype.forEach.call(v, function(O) {
|
|
2111
2111
|
var I = function() {
|
|
@@ -2127,7 +2127,7 @@ function ri() {
|
|
|
2127
2127
|
I(), o.props.onLazyLoadError && o.props.onLazyLoadError();
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
|
-
}),
|
|
2130
|
+
}), h(x(o), "progressiveLazyLoad", function() {
|
|
2131
2131
|
for (var v = [], n = p(p({}, o.props), o.state), f = o.state.currentSlide; f < o.state.slideCount + (0, a.getPostClones)(n); f++)
|
|
2132
2132
|
if (o.state.lazyLoadedList.indexOf(f) < 0) {
|
|
2133
2133
|
v.push(f);
|
|
@@ -2143,13 +2143,13 @@ function ri() {
|
|
|
2143
2143
|
lazyLoadedList: I.lazyLoadedList.concat(v)
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(v)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
|
-
}),
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, I = f.beforeChange, D = f.onLazyLoad, N = f.speed, V = f.afterChange, U = o.state.currentSlide,
|
|
2146
|
+
}), h(x(o), "slideHandler", function(v) {
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, I = f.beforeChange, D = f.onLazyLoad, N = f.speed, V = f.afterChange, U = o.state.currentSlide, q = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: v
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
2151
2151
|
useCSS: o.props.useCSS && !n
|
|
2152
|
-
})), K =
|
|
2152
|
+
})), K = q.state, G = q.nextState;
|
|
2153
2153
|
if (K) {
|
|
2154
2154
|
I && I(U, K.currentSlide);
|
|
2155
2155
|
var J = K.lazyLoadedList.filter(function(te) {
|
|
@@ -2168,40 +2168,40 @@ function ri() {
|
|
|
2168
2168
|
}, N));
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
}),
|
|
2171
|
+
}), h(x(o), "changeSlide", function(v) {
|
|
2172
2172
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), O = (0, a.changeSlide)(f, v);
|
|
2173
2173
|
if (!(O !== 0 && !O) && (n === !0 ? o.slideHandler(O, n) : o.slideHandler(O), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2174
2174
|
var I = o.list.querySelectorAll(".slick-current");
|
|
2175
2175
|
I[0] && I[0].focus();
|
|
2176
2176
|
}
|
|
2177
|
-
}),
|
|
2177
|
+
}), h(x(o), "clickHandler", function(v) {
|
|
2178
2178
|
o.clickable === !1 && (v.stopPropagation(), v.preventDefault()), o.clickable = !0;
|
|
2179
|
-
}),
|
|
2179
|
+
}), h(x(o), "keyHandler", function(v) {
|
|
2180
2180
|
var n = (0, a.keyHandler)(v, o.props.accessibility, o.props.rtl);
|
|
2181
2181
|
n !== "" && o.changeSlide({
|
|
2182
2182
|
message: n
|
|
2183
2183
|
});
|
|
2184
|
-
}),
|
|
2184
|
+
}), h(x(o), "selectHandler", function(v) {
|
|
2185
2185
|
o.changeSlide(v);
|
|
2186
|
-
}),
|
|
2186
|
+
}), h(x(o), "disableBodyScroll", function() {
|
|
2187
2187
|
var v = function(f) {
|
|
2188
2188
|
f = f || window.event, f.preventDefault && f.preventDefault(), f.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
2190
|
window.ontouchmove = v;
|
|
2191
|
-
}),
|
|
2191
|
+
}), h(x(o), "enableBodyScroll", function() {
|
|
2192
2192
|
window.ontouchmove = null;
|
|
2193
|
-
}),
|
|
2193
|
+
}), h(x(o), "swipeStart", function(v) {
|
|
2194
2194
|
o.props.verticalSwiping && o.disableBodyScroll();
|
|
2195
2195
|
var n = (0, a.swipeStart)(v, o.props.swipe, o.props.draggable);
|
|
2196
2196
|
n !== "" && o.setState(n);
|
|
2197
|
-
}),
|
|
2197
|
+
}), h(x(o), "swipeMove", function(v) {
|
|
2198
2198
|
var n = (0, a.swipeMove)(v, p(p(p({}, o.props), o.state), {}, {
|
|
2199
2199
|
trackRef: o.track,
|
|
2200
2200
|
listRef: o.list,
|
|
2201
2201
|
slideIndex: o.state.currentSlide
|
|
2202
2202
|
}));
|
|
2203
2203
|
n && (n.swiping && (o.clickable = !1), o.setState(n));
|
|
2204
|
-
}),
|
|
2204
|
+
}), h(x(o), "swipeEnd", function(v) {
|
|
2205
2205
|
var n = (0, a.swipeEnd)(v, p(p(p({}, o.props), o.state), {}, {
|
|
2206
2206
|
trackRef: o.track,
|
|
2207
2207
|
listRef: o.list,
|
|
@@ -2211,21 +2211,21 @@ function ri() {
|
|
|
2211
2211
|
var f = n.triggerSlideHandler;
|
|
2212
2212
|
delete n.triggerSlideHandler, o.setState(n), f !== void 0 && (o.slideHandler(f), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
|
-
}),
|
|
2214
|
+
}), h(x(o), "touchEnd", function(v) {
|
|
2215
2215
|
o.swipeEnd(v), o.clickable = !0;
|
|
2216
|
-
}),
|
|
2216
|
+
}), h(x(o), "slickPrev", function() {
|
|
2217
2217
|
o.callbackTimers.push(setTimeout(function() {
|
|
2218
2218
|
return o.changeSlide({
|
|
2219
2219
|
message: "previous"
|
|
2220
2220
|
});
|
|
2221
2221
|
}, 0));
|
|
2222
|
-
}),
|
|
2222
|
+
}), h(x(o), "slickNext", function() {
|
|
2223
2223
|
o.callbackTimers.push(setTimeout(function() {
|
|
2224
2224
|
return o.changeSlide({
|
|
2225
2225
|
message: "next"
|
|
2226
2226
|
});
|
|
2227
2227
|
}, 0));
|
|
2228
|
-
}),
|
|
2228
|
+
}), h(x(o), "slickGoTo", function(v) {
|
|
2229
2229
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2230
2230
|
if (v = Number(v), isNaN(v)) return "";
|
|
2231
2231
|
o.callbackTimers.push(setTimeout(function() {
|
|
@@ -2235,7 +2235,7 @@ function ri() {
|
|
|
2235
2235
|
currentSlide: o.state.currentSlide
|
|
2236
2236
|
}, n);
|
|
2237
2237
|
}, 0));
|
|
2238
|
-
}),
|
|
2238
|
+
}), h(x(o), "play", function() {
|
|
2239
2239
|
var v;
|
|
2240
2240
|
if (o.props.rtl)
|
|
2241
2241
|
v = o.state.currentSlide - o.props.slidesToScroll;
|
|
@@ -2244,7 +2244,7 @@ function ri() {
|
|
|
2244
2244
|
else
|
|
2245
2245
|
return !1;
|
|
2246
2246
|
o.slideHandler(v);
|
|
2247
|
-
}),
|
|
2247
|
+
}), h(x(o), "autoPlay", function(v) {
|
|
2248
2248
|
o.autoplayTimer && clearInterval(o.autoplayTimer);
|
|
2249
2249
|
var n = o.state.autoplaying;
|
|
2250
2250
|
if (v === "update") {
|
|
@@ -2258,7 +2258,7 @@ function ri() {
|
|
|
2258
2258
|
o.autoplayTimer = setInterval(o.play, o.props.autoplaySpeed + 50), o.setState({
|
|
2259
2259
|
autoplaying: "playing"
|
|
2260
2260
|
});
|
|
2261
|
-
}),
|
|
2261
|
+
}), h(x(o), "pause", function(v) {
|
|
2262
2262
|
o.autoplayTimer && (clearInterval(o.autoplayTimer), o.autoplayTimer = null);
|
|
2263
2263
|
var n = o.state.autoplaying;
|
|
2264
2264
|
v === "paused" ? o.setState({
|
|
@@ -2268,19 +2268,19 @@ function ri() {
|
|
|
2268
2268
|
}) : n === "playing" && o.setState({
|
|
2269
2269
|
autoplaying: "hovered"
|
|
2270
2270
|
});
|
|
2271
|
-
}),
|
|
2271
|
+
}), h(x(o), "onDotsOver", function() {
|
|
2272
2272
|
return o.props.autoplay && o.pause("hovered");
|
|
2273
|
-
}),
|
|
2273
|
+
}), h(x(o), "onDotsLeave", function() {
|
|
2274
2274
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2275
|
-
}),
|
|
2275
|
+
}), h(x(o), "onTrackOver", function() {
|
|
2276
2276
|
return o.props.autoplay && o.pause("hovered");
|
|
2277
|
-
}),
|
|
2277
|
+
}), h(x(o), "onTrackLeave", function() {
|
|
2278
2278
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2279
|
-
}),
|
|
2279
|
+
}), h(x(o), "onSlideFocus", function() {
|
|
2280
2280
|
return o.props.autoplay && o.pause("focused");
|
|
2281
|
-
}),
|
|
2281
|
+
}), h(x(o), "onSlideBlur", function() {
|
|
2282
2282
|
return o.props.autoplay && o.state.autoplaying === "focused" && o.autoPlay("blur");
|
|
2283
|
-
}),
|
|
2283
|
+
}), h(x(o), "render", function() {
|
|
2284
2284
|
var v = (0, i.default)("slick-slider", o.props.className, {
|
|
2285
2285
|
"slick-vertical": o.props.vertical,
|
|
2286
2286
|
"slick-initialized": !0
|
|
@@ -2301,8 +2301,8 @@ function ri() {
|
|
|
2301
2301
|
onMouseLeave: N ? o.onDotsLeave : null
|
|
2302
2302
|
}), I = /* @__PURE__ */ e.default.createElement(c.Dots, D);
|
|
2303
2303
|
}
|
|
2304
|
-
var V, U,
|
|
2305
|
-
|
|
2304
|
+
var V, U, q = (0, a.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2305
|
+
q.clickHandler = o.changeSlide, o.props.arrows && (V = /* @__PURE__ */ e.default.createElement(u.PrevArrow, q), U = /* @__PURE__ */ e.default.createElement(u.NextArrow, q));
|
|
2306
2306
|
var K = null;
|
|
2307
2307
|
o.props.vertical && (K = {
|
|
2308
2308
|
height: o.state.listHeight
|
|
@@ -2389,8 +2389,8 @@ function ii() {
|
|
|
2389
2389
|
}, r = function(a) {
|
|
2390
2390
|
var s = "", c = Object.keys(a);
|
|
2391
2391
|
return c.forEach(function(u, l) {
|
|
2392
|
-
var
|
|
2393
|
-
u = e(u), t(u) && typeof
|
|
2392
|
+
var d = a[u];
|
|
2393
|
+
u = e(u), t(u) && typeof d == "number" && (d = d + "px"), d === !0 ? s += u : d === !1 ? s += "not " + u : s += "(" + u + ": " + d + ")", l < c.length - 1 && (s += " and ");
|
|
2394
2394
|
}), s;
|
|
2395
2395
|
}, i = function(a) {
|
|
2396
2396
|
var s = "";
|
|
@@ -2406,7 +2406,7 @@ function ai() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t = c(
|
|
2409
|
+
var t = c(B), r = ri(), i = c(ii()), a = c(zr()), s = Ke();
|
|
2410
2410
|
function c(_) {
|
|
2411
2411
|
return _ && _.__esModule ? _ : { default: _ };
|
|
2412
2412
|
}
|
|
@@ -2421,30 +2421,30 @@ function ai() {
|
|
|
2421
2421
|
function l() {
|
|
2422
2422
|
return l = Object.assign ? Object.assign.bind() : function(_) {
|
|
2423
2423
|
for (var b = 1; b < arguments.length; b++) {
|
|
2424
|
-
var
|
|
2425
|
-
for (var C in
|
|
2426
|
-
({}).hasOwnProperty.call(
|
|
2424
|
+
var h = arguments[b];
|
|
2425
|
+
for (var C in h)
|
|
2426
|
+
({}).hasOwnProperty.call(h, C) && (_[C] = h[C]);
|
|
2427
2427
|
}
|
|
2428
2428
|
return _;
|
|
2429
2429
|
}, l.apply(null, arguments);
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2432
|
-
var
|
|
2431
|
+
function d(_, b) {
|
|
2432
|
+
var h = Object.keys(_);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
2434
|
var C = Object.getOwnPropertySymbols(_);
|
|
2435
2435
|
b && (C = C.filter(function(H) {
|
|
2436
2436
|
return Object.getOwnPropertyDescriptor(_, H).enumerable;
|
|
2437
|
-
})),
|
|
2437
|
+
})), h.push.apply(h, C);
|
|
2438
2438
|
}
|
|
2439
|
-
return
|
|
2439
|
+
return h;
|
|
2440
2440
|
}
|
|
2441
2441
|
function g(_) {
|
|
2442
2442
|
for (var b = 1; b < arguments.length; b++) {
|
|
2443
|
-
var
|
|
2444
|
-
b % 2 ?
|
|
2445
|
-
m(_, C,
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(
|
|
2447
|
-
Object.defineProperty(_, C, Object.getOwnPropertyDescriptor(
|
|
2443
|
+
var h = arguments[b] != null ? arguments[b] : {};
|
|
2444
|
+
b % 2 ? d(Object(h), !0).forEach(function(C) {
|
|
2445
|
+
m(_, C, h[C]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(C) {
|
|
2447
|
+
Object.defineProperty(_, C, Object.getOwnPropertyDescriptor(h, C));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
2450
|
return _;
|
|
@@ -2453,12 +2453,12 @@ function ai() {
|
|
|
2453
2453
|
if (!(_ instanceof b)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
2455
|
function E(_, b) {
|
|
2456
|
-
for (var
|
|
2457
|
-
var C = b[
|
|
2456
|
+
for (var h = 0; h < b.length; h++) {
|
|
2457
|
+
var C = b[h];
|
|
2458
2458
|
C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(_, w(C.key), C);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function M(_, b,
|
|
2461
|
+
function M(_, b, h) {
|
|
2462
2462
|
return b && E(_.prototype, b), Object.defineProperty(_, "prototype", { writable: !1 }), _;
|
|
2463
2463
|
}
|
|
2464
2464
|
function k(_, b) {
|
|
@@ -2466,19 +2466,19 @@ function ai() {
|
|
|
2466
2466
|
_.prototype = Object.create(b && b.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), b && p(_, b);
|
|
2467
2467
|
}
|
|
2468
2468
|
function p(_, b) {
|
|
2469
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
2470
|
-
return
|
|
2469
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h, C) {
|
|
2470
|
+
return h.__proto__ = C, h;
|
|
2471
2471
|
}, p(_, b);
|
|
2472
2472
|
}
|
|
2473
2473
|
function R(_) {
|
|
2474
2474
|
var b = W();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var
|
|
2476
|
+
var h, C = F(_);
|
|
2477
2477
|
if (b) {
|
|
2478
2478
|
var H = F(this).constructor;
|
|
2479
|
-
|
|
2480
|
-
} else
|
|
2481
|
-
return S(this,
|
|
2479
|
+
h = Reflect.construct(C, arguments, H);
|
|
2480
|
+
} else h = C.apply(this, arguments);
|
|
2481
|
+
return S(this, h);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
2484
|
function S(_, b) {
|
|
@@ -2505,8 +2505,8 @@ function ai() {
|
|
|
2505
2505
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
2506
2506
|
}, F(_);
|
|
2507
2507
|
}
|
|
2508
|
-
function m(_, b,
|
|
2509
|
-
return (b = w(b)) in _ ? Object.defineProperty(_, b, { value:
|
|
2508
|
+
function m(_, b, h) {
|
|
2509
|
+
return (b = w(b)) in _ ? Object.defineProperty(_, b, { value: h, enumerable: !0, configurable: !0, writable: !0 }) : _[b] = h, _;
|
|
2510
2510
|
}
|
|
2511
2511
|
function w(_) {
|
|
2512
2512
|
var b = x(_, "string");
|
|
@@ -2514,20 +2514,20 @@ function ai() {
|
|
|
2514
2514
|
}
|
|
2515
2515
|
function x(_, b) {
|
|
2516
2516
|
if (u(_) != "object" || !_) return _;
|
|
2517
|
-
var
|
|
2518
|
-
if (
|
|
2519
|
-
var C =
|
|
2517
|
+
var h = _[Symbol.toPrimitive];
|
|
2518
|
+
if (h !== void 0) {
|
|
2519
|
+
var C = h.call(_, b);
|
|
2520
2520
|
if (u(C) != "object") return C;
|
|
2521
2521
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2522
2522
|
}
|
|
2523
2523
|
return (b === "string" ? String : Number)(_);
|
|
2524
2524
|
}
|
|
2525
2525
|
e.default = /* @__PURE__ */ function(_) {
|
|
2526
|
-
k(
|
|
2527
|
-
var b = R(
|
|
2528
|
-
function
|
|
2526
|
+
k(h, _);
|
|
2527
|
+
var b = R(h);
|
|
2528
|
+
function h(C) {
|
|
2529
2529
|
var H;
|
|
2530
|
-
return y(this,
|
|
2530
|
+
return y(this, h), H = b.call(this, C), m(A(H), "innerSliderRefHandler", function(T) {
|
|
2531
2531
|
return H.innerSlider = T;
|
|
2532
2532
|
}), m(A(H), "slickPrev", function() {
|
|
2533
2533
|
return H.innerSlider.slickPrev();
|
|
@@ -2544,7 +2544,7 @@ function ai() {
|
|
|
2544
2544
|
breakpoint: null
|
|
2545
2545
|
}, H._responsiveMediaHandlers = [], H;
|
|
2546
2546
|
}
|
|
2547
|
-
return M(
|
|
2547
|
+
return M(h, [{
|
|
2548
2548
|
key: "media",
|
|
2549
2549
|
value: function(H, T) {
|
|
2550
2550
|
var j = window.matchMedia(H), P = function(o) {
|
|
@@ -2645,7 +2645,7 @@ function ai() {
|
|
|
2645
2645
|
ref: this.innerSliderRefHandler
|
|
2646
2646
|
}, (0, s.filterSettings)(T)), L);
|
|
2647
2647
|
}
|
|
2648
|
-
}]),
|
|
2648
|
+
}]), h;
|
|
2649
2649
|
}(t.default.Component);
|
|
2650
2650
|
}(Et)), Et;
|
|
2651
2651
|
}
|
|
@@ -2713,11 +2713,11 @@ var fi = /* @__PURE__ */ function() {
|
|
|
2713
2713
|
return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
|
|
2714
2714
|
}), this.tags = [], this.ctr = 0;
|
|
2715
2715
|
}, e;
|
|
2716
|
-
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Yr = "comm",
|
|
2716
|
+
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Yr = "comm", Bt = "rule", qt = "decl", di = "@import", Br = "@keyframes", hi = "@layer", pi = Math.abs, wt = String.fromCharCode, mi = Object.assign;
|
|
2717
2717
|
function vi(e, t) {
|
|
2718
2718
|
return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2720
|
+
function qr(e) {
|
|
2721
2721
|
return e.trim();
|
|
2722
2722
|
}
|
|
2723
2723
|
function gi(e, t) {
|
|
@@ -2732,7 +2732,7 @@ function zt(e, t) {
|
|
|
2732
2732
|
function fe(e, t) {
|
|
2733
2733
|
return e.charCodeAt(t) | 0;
|
|
2734
2734
|
}
|
|
2735
|
-
function
|
|
2735
|
+
function Be(e, t, r) {
|
|
2736
2736
|
return e.slice(t, r);
|
|
2737
2737
|
}
|
|
2738
2738
|
function ye(e) {
|
|
@@ -2770,9 +2770,9 @@ function ot() {
|
|
|
2770
2770
|
return he;
|
|
2771
2771
|
}
|
|
2772
2772
|
function Je(e, t) {
|
|
2773
|
-
return
|
|
2773
|
+
return Be(Me, e, t);
|
|
2774
2774
|
}
|
|
2775
|
-
function
|
|
2775
|
+
function qe(e) {
|
|
2776
2776
|
switch (e) {
|
|
2777
2777
|
// \0 \t \n \r \s whitespace token
|
|
2778
2778
|
case 0:
|
|
@@ -2817,12 +2817,12 @@ function Kr(e) {
|
|
|
2817
2817
|
return Me = "", e;
|
|
2818
2818
|
}
|
|
2819
2819
|
function st(e) {
|
|
2820
|
-
return
|
|
2820
|
+
return qr(Je(he - 1, Nt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2821
2821
|
}
|
|
2822
2822
|
function Si(e) {
|
|
2823
2823
|
for (; (se = we()) && se < 33; )
|
|
2824
2824
|
ve();
|
|
2825
|
-
return
|
|
2825
|
+
return qe(e) > 2 || qe(se) > 3 ? "" : " ";
|
|
2826
2826
|
}
|
|
2827
2827
|
function xi(e, t) {
|
|
2828
2828
|
for (; --t && ve() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
|
|
@@ -2858,7 +2858,7 @@ function Oi(e, t) {
|
|
|
2858
2858
|
return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : ve());
|
|
2859
2859
|
}
|
|
2860
2860
|
function ki(e) {
|
|
2861
|
-
for (; !
|
|
2861
|
+
for (; !qe(we()); )
|
|
2862
2862
|
ve();
|
|
2863
2863
|
return Je(e, he);
|
|
2864
2864
|
}
|
|
@@ -2866,7 +2866,7 @@ function Ci(e) {
|
|
|
2866
2866
|
return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
2868
|
function lt(e, t, r, i, a, s, c, u, l) {
|
|
2869
|
-
for (var
|
|
2869
|
+
for (var d = 0, g = 0, y = c, E = 0, M = 0, k = 0, p = 1, R = 1, S = 1, A = 0, W = "", F = a, m = s, w = i, x = W; R; )
|
|
2870
2870
|
switch (k = A, A = ve()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
@@ -2904,7 +2904,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
u[
|
|
2907
|
+
u[d++] = ye(x) * S;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
@@ -2923,7 +2923,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2923
2923
|
x += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(w = br(x, t, r,
|
|
2926
|
+
if (it(w = br(x, t, r, d, g, a, u, W, F = [], m = [], y), s), A === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
2928
|
lt(x, t, w, w, F, s, y, u, m);
|
|
2929
2929
|
else
|
|
@@ -2939,7 +2939,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2939
2939
|
lt(x, w, w, w, [""], m, 0, u, m);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
|
|
2942
|
+
d = g = M = 0, p = S = 1, W = x = "", y = c;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
@@ -2958,7 +2958,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
u[
|
|
2961
|
+
u[d++] = (ye(x) - 1) * S, S = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
@@ -2971,17 +2971,17 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
|
-
function br(e, t, r, i, a, s, c, u, l,
|
|
2974
|
+
function br(e, t, r, i, a, s, c, u, l, d, g) {
|
|
2975
2975
|
for (var y = a - 1, E = a === 0 ? s : [""], M = Xt(E), k = 0, p = 0, R = 0; k < i; ++k)
|
|
2976
|
-
for (var S = 0, A =
|
|
2977
|
-
(W =
|
|
2978
|
-
return xt(e, t, r, a === 0 ?
|
|
2976
|
+
for (var S = 0, A = Be(e, y + 1, y = pi(p = c[k])), W = e; S < M; ++S)
|
|
2977
|
+
(W = qr(p > 0 ? E[S] + " " + A : ne(A, /&\f/g, E[S]))) && (l[R++] = W);
|
|
2978
|
+
return xt(e, t, r, a === 0 ? Bt : u, l, d, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function Pi(e, t, r) {
|
|
2981
|
-
return xt(e, t, r, Yr, wt(bi()),
|
|
2981
|
+
return xt(e, t, r, Yr, wt(bi()), Be(e, 2, -2), 0);
|
|
2982
2982
|
}
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
2984
|
-
return xt(e, t, r,
|
|
2984
|
+
return xt(e, t, r, qt, Be(e, 0, i), Be(e, i + 1, -1), i);
|
|
2985
2985
|
}
|
|
2986
2986
|
function Te(e, t) {
|
|
2987
2987
|
for (var r = "", i = Xt(e), a = 0; a < i; a++)
|
|
@@ -2993,13 +2993,13 @@ function Ei(e, t, r, i) {
|
|
|
2993
2993
|
case hi:
|
|
2994
2994
|
if (e.children.length) break;
|
|
2995
2995
|
case di:
|
|
2996
|
-
case
|
|
2996
|
+
case qt:
|
|
2997
2997
|
return e.return = e.return || e.value;
|
|
2998
2998
|
case Yr:
|
|
2999
2999
|
return "";
|
|
3000
|
-
case
|
|
3000
|
+
case Br:
|
|
3001
3001
|
return e.return = e.value + "{" + Te(e.children, i) + "}";
|
|
3002
|
-
case
|
|
3002
|
+
case Bt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
3004
3004
|
}
|
|
3005
3005
|
return ye(r = Te(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
@@ -3024,13 +3024,13 @@ function Jr(e) {
|
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
3026
|
var Ti = function(t, r, i) {
|
|
3027
|
-
for (var a = 0, s = 0; a = s, s = we(), a === 38 && s === 12 && (r[i] = 1), !
|
|
3027
|
+
for (var a = 0, s = 0; a = s, s = we(), a === 38 && s === 12 && (r[i] = 1), !qe(s); )
|
|
3028
3028
|
ve();
|
|
3029
3029
|
return Je(t, he);
|
|
3030
3030
|
}, ji = function(t, r) {
|
|
3031
3031
|
var i = -1, a = 44;
|
|
3032
3032
|
do
|
|
3033
|
-
switch (
|
|
3033
|
+
switch (qe(a)) {
|
|
3034
3034
|
case 0:
|
|
3035
3035
|
a === 38 && we() === 12 && (r[i] = 1), t[i] += Ti(he - 1, r, i);
|
|
3036
3036
|
break;
|
|
@@ -3058,9 +3058,9 @@ var Ti = function(t, r, i) {
|
|
|
3058
3058
|
if (i = i.parent, !i) return;
|
|
3059
3059
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [], c = Li(r, s), u = i.props, l = 0,
|
|
3062
|
-
for (var g = 0; g < u.length; g++,
|
|
3063
|
-
t.props[
|
|
3061
|
+
for (var s = [], c = Li(r, s), u = i.props, l = 0, d = 0; l < c.length; l++)
|
|
3062
|
+
for (var g = 0; g < u.length; g++, d++)
|
|
3063
|
+
t.props[d] = s[l] ? c[l].replace(/&\f/g, u[g]) : u[g] + " " + c[l];
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
3066
|
}, Di = function(t) {
|
|
@@ -3215,14 +3215,14 @@ function Zr(e, t) {
|
|
|
3215
3215
|
}
|
|
3216
3216
|
var $i = function(t, r, i, a) {
|
|
3217
3217
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
3218
|
-
case
|
|
3218
|
+
case qt:
|
|
3219
3219
|
t.return = Zr(t.value, t.length);
|
|
3220
3220
|
break;
|
|
3221
|
-
case
|
|
3221
|
+
case Br:
|
|
3222
3222
|
return Te([Ve(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], a);
|
|
3225
|
-
case
|
|
3225
|
+
case Bt:
|
|
3226
3226
|
if (t.length) return yi(t.props, function(s) {
|
|
3227
3227
|
switch (gi(s, /(::plac\w+|:read-\w+)/)) {
|
|
3228
3228
|
// :read-(only|write)
|
|
@@ -3264,11 +3264,11 @@ var $i = function(t, r, i, a) {
|
|
|
3264
3264
|
u.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
|
-
var l,
|
|
3267
|
+
var l, d = [Mi, Di];
|
|
3268
3268
|
{
|
|
3269
3269
|
var g, y = [Ei, _i(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})], E = Ri(
|
|
3271
|
+
})], E = Ri(d.concat(a, y)), M = function(R) {
|
|
3272
3272
|
return Te(Ci(R), E);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(R, S, A, W) {
|
|
@@ -3443,8 +3443,8 @@ function Xe(e, t, r) {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
case "function": {
|
|
3445
3445
|
if (e !== void 0) {
|
|
3446
|
-
var l = be,
|
|
3447
|
-
return be = l, Xe(e, t,
|
|
3446
|
+
var l = be, d = r(e);
|
|
3447
|
+
return be = l, Xe(e, t, d);
|
|
3448
3448
|
}
|
|
3449
3449
|
break;
|
|
3450
3450
|
}
|
|
@@ -3470,22 +3470,22 @@ function Yi(e, t, r) {
|
|
|
3470
3470
|
for (var l = 0; l < c.length; l++)
|
|
3471
3471
|
xr(c[l]) && (i += Dt(s) + ":" + Or(s, c[l]) + ";");
|
|
3472
3472
|
else {
|
|
3473
|
-
var
|
|
3473
|
+
var d = Xe(e, t, c);
|
|
3474
3474
|
switch (s) {
|
|
3475
3475
|
case "animation":
|
|
3476
3476
|
case "animationName": {
|
|
3477
|
-
i += Dt(s) + ":" +
|
|
3477
|
+
i += Dt(s) + ":" + d + ";";
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
3480
|
default:
|
|
3481
|
-
i += s + "{" +
|
|
3481
|
+
i += s + "{" + d + "}";
|
|
3482
3482
|
}
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
3485
3485
|
return i;
|
|
3486
3486
|
}
|
|
3487
3487
|
var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, be;
|
|
3488
|
-
function
|
|
3488
|
+
function Bi(e, t, r) {
|
|
3489
3489
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
3490
3490
|
return e[0];
|
|
3491
3491
|
var i = !0, a = "";
|
|
@@ -3503,18 +3503,18 @@ function qi(e, t, r) {
|
|
|
3503
3503
|
a += l[u];
|
|
3504
3504
|
}
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
|
-
for (var
|
|
3507
|
-
|
|
3508
|
-
var y = Fi(a) +
|
|
3506
|
+
for (var d = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
|
+
d += "-" + g[1];
|
|
3508
|
+
var y = Fi(a) + d;
|
|
3509
3509
|
return {
|
|
3510
3510
|
name: y,
|
|
3511
3511
|
styles: a,
|
|
3512
3512
|
next: be
|
|
3513
3513
|
};
|
|
3514
3514
|
}
|
|
3515
|
-
var
|
|
3515
|
+
var qi = function(t) {
|
|
3516
3516
|
return t();
|
|
3517
|
-
}, Xi = $.useInsertionEffect ? $.useInsertionEffect : !1, Gi = Xi ||
|
|
3517
|
+
}, Xi = $.useInsertionEffect ? $.useInsertionEffect : !1, Gi = Xi || qi, tn = /* @__PURE__ */ $.createContext(
|
|
3518
3518
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3519
3519
|
// because this module is primarily intended for the browser and node
|
|
3520
3520
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -3560,7 +3560,7 @@ var Ki = function(t) {
|
|
|
3560
3560
|
}, na = function e(t, r) {
|
|
3561
3561
|
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
|
|
3562
3562
|
r !== void 0 && (s = r.label, c = r.target);
|
|
3563
|
-
var u = Pr(t, r, i), l = u || Cr(a),
|
|
3563
|
+
var u = Pr(t, r, i), l = u || Cr(a), d = !l("as");
|
|
3564
3564
|
return function() {
|
|
3565
3565
|
var g = arguments, y = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
3566
|
if (s !== void 0 && y.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
@@ -3572,7 +3572,7 @@ var Ki = function(t) {
|
|
|
3572
3572
|
y.push(g[k], E[k]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Ki(function(R, S, A) {
|
|
3575
|
-
var W =
|
|
3575
|
+
var W = d && R.as || a, F = "", m = [], w = R;
|
|
3576
3576
|
if (R.theme == null) {
|
|
3577
3577
|
w = {};
|
|
3578
3578
|
for (var x in R)
|
|
@@ -3580,16 +3580,16 @@ var Ki = function(t) {
|
|
|
3580
3580
|
w.theme = $.useContext(Ji);
|
|
3581
3581
|
}
|
|
3582
3582
|
typeof R.className == "string" ? F = zi(S.registered, m, R.className) : R.className != null && (F = R.className + " ");
|
|
3583
|
-
var _ =
|
|
3583
|
+
var _ = Bi(y.concat(m), S.registered, w);
|
|
3584
3584
|
F += S.key + "-" + _.name, c !== void 0 && (F += " " + c);
|
|
3585
|
-
var b =
|
|
3585
|
+
var b = d && u === void 0 ? Cr(W) : l, h = {};
|
|
3586
3586
|
for (var C in R)
|
|
3587
|
-
|
|
3588
|
-
return
|
|
3587
|
+
d && C === "as" || b(C) && (h[C] = R[C]);
|
|
3588
|
+
return h.className = F, A && (h.ref = A), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
|
|
3589
3589
|
cache: S,
|
|
3590
3590
|
serialized: _,
|
|
3591
3591
|
isStringTag: typeof W == "string"
|
|
3592
|
-
}), /* @__PURE__ */ $.createElement(W,
|
|
3592
|
+
}), /* @__PURE__ */ $.createElement(W, h));
|
|
3593
3593
|
});
|
|
3594
3594
|
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles = y, p.__emotion_forwardProp = u, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
@@ -3837,7 +3837,7 @@ const aa = Ee.div`
|
|
|
3837
3837
|
settings: r,
|
|
3838
3838
|
gap: i = 15
|
|
3839
3839
|
}) => {
|
|
3840
|
-
const [a, s] =
|
|
3840
|
+
const [a, s] = B.useState(1), c = B.useRef(null), u = B.useRef(null);
|
|
3841
3841
|
var l = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3848,7 +3848,7 @@ const aa = Ee.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const
|
|
3851
|
+
const d = t.map((y, E) => /* @__PURE__ */ X.jsx(
|
|
3852
3852
|
oa,
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: E === 0 ? u : void 0,
|
|
@@ -3874,9 +3874,9 @@ const aa = Ee.div`
|
|
|
3874
3874
|
res: M
|
|
3875
3875
|
}), s(M);
|
|
3876
3876
|
};
|
|
3877
|
-
return
|
|
3877
|
+
return B.useEffect(() => {
|
|
3878
3878
|
g();
|
|
3879
|
-
}, [c, u]), /* @__PURE__ */ X.jsx(aa, { ref: c, styles: { ...e }, children:
|
|
3879
|
+
}, [c, u]), /* @__PURE__ */ X.jsx(aa, { ref: c, styles: { ...e }, children: d.length > 0 && /* @__PURE__ */ X.jsx(li, { ...l, slidesToShow: a, children: d }) });
|
|
3880
3880
|
}, ls = ({
|
|
3881
3881
|
name: e,
|
|
3882
3882
|
checked: t,
|
|
@@ -3958,10 +3958,10 @@ const aa = Ee.div`
|
|
|
3958
3958
|
]
|
|
3959
3959
|
}
|
|
3960
3960
|
), sa = (e) => Ir(e, []), la = () => {
|
|
3961
|
-
const [e, t] =
|
|
3961
|
+
const [e, t] = B.useState(
|
|
3962
3962
|
{}
|
|
3963
|
-
), [r, i] =
|
|
3964
|
-
return
|
|
3963
|
+
), [r, i] = B.useState(!1);
|
|
3964
|
+
return B.useEffect(() => {
|
|
3965
3965
|
const a = (u) => {
|
|
3966
3966
|
t({ x: u.clientX, y: u.clientY });
|
|
3967
3967
|
}, s = (u) => {
|
|
@@ -3982,9 +3982,9 @@ const aa = Ee.div`
|
|
|
3982
3982
|
onDragStart: r,
|
|
3983
3983
|
onDragEnd: i
|
|
3984
3984
|
}) => {
|
|
3985
|
-
const a =
|
|
3985
|
+
const a = B.useRef(!1), s = B.useRef(!1), { pointerPosition: c, isPointerDown: u } = la(), l = B.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
|
-
}),
|
|
3987
|
+
}), d = B.useCallback(
|
|
3988
3988
|
(k) => {
|
|
3989
3989
|
if (!e || !e.current || !l.current)
|
|
3990
3990
|
return;
|
|
@@ -3992,51 +3992,51 @@ const aa = Ee.div`
|
|
|
3992
3992
|
return p.posY = k.y, p.posX = k.x, l.current.startPosX && l.current.posX && (p.distanceX = l.current.startPosX - l.current.posX), l.current.startPosY && l.current.posY && (p.distanceY = -(l.current.startPosY - l.current.posY)), p;
|
|
3993
3993
|
},
|
|
3994
3994
|
[]
|
|
3995
|
-
), g =
|
|
3995
|
+
), g = B.useCallback(
|
|
3996
3996
|
(k) => {
|
|
3997
3997
|
k.preventDefault(), k.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = k.clientY, l.current.startPosX = k.clientX;
|
|
3998
|
-
const p =
|
|
3998
|
+
const p = d({ x: k.clientX, y: k.clientY });
|
|
3999
3999
|
p && (l.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
|
-
[
|
|
4002
|
-
), y =
|
|
4001
|
+
[d]
|
|
4002
|
+
), y = B.useCallback(
|
|
4003
4003
|
(k) => {
|
|
4004
4004
|
l.current.isDragging = !1;
|
|
4005
|
-
const p =
|
|
4005
|
+
const p = d(c);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
4007
4007
|
},
|
|
4008
|
-
[
|
|
4009
|
-
), E =
|
|
4008
|
+
[d, c]
|
|
4009
|
+
), E = B.useCallback(
|
|
4010
4010
|
(k) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
4013
4013
|
l.current.isDragging
|
|
4014
4014
|
), !l.current.isDragging)
|
|
4015
4015
|
return;
|
|
4016
|
-
const p =
|
|
4016
|
+
const p = d(c);
|
|
4017
4017
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), l.current = p);
|
|
4018
4018
|
},
|
|
4019
|
-
[
|
|
4020
|
-
), M =
|
|
4019
|
+
[d, c]
|
|
4020
|
+
), M = B.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
4023
|
await new Promise((k) => setTimeout(k, 300));
|
|
4024
4024
|
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
4026
|
}, [e?.current, g]);
|
|
4027
|
-
|
|
4027
|
+
B.useEffect(() => {
|
|
4028
4028
|
M();
|
|
4029
|
-
}, [M]),
|
|
4029
|
+
}, [M]), B.useEffect(() => {
|
|
4030
4030
|
E();
|
|
4031
|
-
}, [c]),
|
|
4031
|
+
}, [c]), B.useEffect(() => {
|
|
4032
4032
|
u !== s.current && (s.current = u, u || y());
|
|
4033
4033
|
}, [u, s.current]);
|
|
4034
4034
|
}, us = () => {
|
|
4035
|
-
const e = (l,
|
|
4036
|
-
if (!
|
|
4035
|
+
const e = (l, d) => {
|
|
4036
|
+
if (!d) return l;
|
|
4037
4037
|
const g = new URLSearchParams();
|
|
4038
|
-
for (const E in
|
|
4039
|
-
const M =
|
|
4038
|
+
for (const E in d) {
|
|
4039
|
+
const M = d[E];
|
|
4040
4040
|
Array.isArray(M) ? M.forEach((k) => g.append(E, String(k))) : M != null && g.append(E, String(M));
|
|
4041
4041
|
}
|
|
4042
4042
|
const y = g.toString();
|
|
@@ -4047,58 +4047,58 @@ const aa = Ee.div`
|
|
|
4047
4047
|
result: await l.json(),
|
|
4048
4048
|
statusCode: l.status
|
|
4049
4049
|
};
|
|
4050
|
-
} catch (
|
|
4050
|
+
} catch (d) {
|
|
4051
4051
|
return {
|
|
4052
4052
|
result: void 0,
|
|
4053
4053
|
statusCode: l.status,
|
|
4054
|
-
error:
|
|
4054
|
+
error: d
|
|
4055
4055
|
};
|
|
4056
4056
|
}
|
|
4057
|
-
}, r = async (l,
|
|
4057
|
+
}, r = async (l, d, g, y) => {
|
|
4058
4058
|
const E = await fetch(l, {
|
|
4059
|
-
method:
|
|
4059
|
+
method: d,
|
|
4060
4060
|
headers: g,
|
|
4061
4061
|
body: y
|
|
4062
4062
|
});
|
|
4063
4063
|
return t(E);
|
|
4064
4064
|
};
|
|
4065
4065
|
return {
|
|
4066
|
-
get: async (l,
|
|
4067
|
-
const y = e(l,
|
|
4066
|
+
get: async (l, d, g) => {
|
|
4067
|
+
const y = e(l, d);
|
|
4068
4068
|
return r(y, "GET", { ...g });
|
|
4069
4069
|
},
|
|
4070
|
-
post: async (l,
|
|
4070
|
+
post: async (l, d, g) => r(
|
|
4071
4071
|
l,
|
|
4072
4072
|
"POST",
|
|
4073
4073
|
{ "Content-Type": "application/json", ...g },
|
|
4074
|
-
JSON.stringify(
|
|
4074
|
+
JSON.stringify(d)
|
|
4075
4075
|
),
|
|
4076
|
-
put: async (l,
|
|
4076
|
+
put: async (l, d, g) => r(
|
|
4077
4077
|
l,
|
|
4078
4078
|
"PUT",
|
|
4079
4079
|
{ "Content-Type": "application/json", ...g },
|
|
4080
|
-
JSON.stringify(
|
|
4080
|
+
JSON.stringify(d)
|
|
4081
4081
|
),
|
|
4082
|
-
patch: async (l,
|
|
4082
|
+
patch: async (l, d, g) => r(
|
|
4083
4083
|
l,
|
|
4084
4084
|
"PATCH",
|
|
4085
4085
|
{ "Content-Type": "application/json", ...g },
|
|
4086
|
-
JSON.stringify(
|
|
4086
|
+
JSON.stringify(d)
|
|
4087
4087
|
),
|
|
4088
|
-
delete: async (l,
|
|
4089
|
-
const y = e(l,
|
|
4088
|
+
delete: async (l, d, g) => {
|
|
4089
|
+
const y = e(l, d);
|
|
4090
4090
|
return r(y, "DELETE", { ...g });
|
|
4091
4091
|
}
|
|
4092
4092
|
};
|
|
4093
4093
|
};
|
|
4094
4094
|
function cs(e) {
|
|
4095
|
-
const [t, r] = Ar(!1), i =
|
|
4095
|
+
const [t, r] = Ar(!1), i = B.useMemo(
|
|
4096
4096
|
() => new IntersectionObserver(
|
|
4097
4097
|
([a]) => r(a.isIntersecting)
|
|
4098
4098
|
),
|
|
4099
4099
|
[]
|
|
4100
4100
|
);
|
|
4101
|
-
return
|
|
4101
|
+
return B.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
|
|
4102
4102
|
}
|
|
4103
4103
|
const ca = {
|
|
4104
4104
|
xs: 0,
|
|
@@ -4129,8 +4129,8 @@ const ca = {
|
|
|
4129
4129
|
let u = s[r];
|
|
4130
4130
|
if (u)
|
|
4131
4131
|
return c && Object.keys(c).forEach((l) => {
|
|
4132
|
-
const
|
|
4133
|
-
u = u.replaceAll(`{{${l}}}`, `${
|
|
4132
|
+
const d = c[l];
|
|
4133
|
+
u = u.replaceAll(`{{${l}}}`, `${d}`);
|
|
4134
4134
|
}), u;
|
|
4135
4135
|
};
|
|
4136
4136
|
return {
|
|
@@ -4147,7 +4147,7 @@ const ca = {
|
|
|
4147
4147
|
var Ue = {}, Rr;
|
|
4148
4148
|
function ha() {
|
|
4149
4149
|
if (Rr) return Ue;
|
|
4150
|
-
Rr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.parse = c, Ue.serialize =
|
|
4150
|
+
Rr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.parse = c, Ue.serialize = d;
|
|
4151
4151
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
4152
4152
|
const E = function() {
|
|
4153
4153
|
};
|
|
@@ -4171,8 +4171,8 @@ function ha() {
|
|
|
4171
4171
|
const m = u(E, S, A), w = l(E, A, m), x = E.slice(m, w);
|
|
4172
4172
|
if (k[x] === void 0) {
|
|
4173
4173
|
let _ = u(E, A + 1, F), b = l(E, F, _);
|
|
4174
|
-
const
|
|
4175
|
-
k[x] =
|
|
4174
|
+
const h = R(E.slice(_, b));
|
|
4175
|
+
k[x] = h;
|
|
4176
4176
|
}
|
|
4177
4177
|
S = F + 1;
|
|
4178
4178
|
} while (S < p);
|
|
@@ -4194,7 +4194,7 @@ function ha() {
|
|
|
4194
4194
|
}
|
|
4195
4195
|
return k;
|
|
4196
4196
|
}
|
|
4197
|
-
function
|
|
4197
|
+
function d(E, M, k) {
|
|
4198
4198
|
const p = k?.encode || encodeURIComponent;
|
|
4199
4199
|
if (!e.test(E))
|
|
4200
4200
|
throw new TypeError(`argument name is invalid: ${E}`);
|
|
@@ -4357,21 +4357,21 @@ function De(e) {
|
|
|
4357
4357
|
return t;
|
|
4358
4358
|
}
|
|
4359
4359
|
function va(e, t, r, i = {}) {
|
|
4360
|
-
let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, u = "POP", l = null,
|
|
4361
|
-
|
|
4360
|
+
let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, u = "POP", l = null, d = g();
|
|
4361
|
+
d == null && (d = 0, c.replaceState({ ...c.state, idx: d }, ""));
|
|
4362
4362
|
function g() {
|
|
4363
4363
|
return (c.state || { idx: null }).idx;
|
|
4364
4364
|
}
|
|
4365
4365
|
function y() {
|
|
4366
4366
|
u = "POP";
|
|
4367
|
-
let R = g(), S = R == null ? null : R -
|
|
4368
|
-
|
|
4367
|
+
let R = g(), S = R == null ? null : R - d;
|
|
4368
|
+
d = R, l && l({ action: u, location: p.location, delta: S });
|
|
4369
4369
|
}
|
|
4370
4370
|
function E(R, S) {
|
|
4371
4371
|
u = "PUSH";
|
|
4372
4372
|
let A = Ft(p.location, R, S);
|
|
4373
|
-
|
|
4374
|
-
let W = Tr(A,
|
|
4373
|
+
d = g() + 1;
|
|
4374
|
+
let W = Tr(A, d), F = p.createHref(A);
|
|
4375
4375
|
try {
|
|
4376
4376
|
c.pushState(W, "", F);
|
|
4377
4377
|
} catch (m) {
|
|
@@ -4384,8 +4384,8 @@ function va(e, t, r, i = {}) {
|
|
|
4384
4384
|
function M(R, S) {
|
|
4385
4385
|
u = "REPLACE";
|
|
4386
4386
|
let A = Ft(p.location, R, S);
|
|
4387
|
-
|
|
4388
|
-
let W = Tr(A,
|
|
4387
|
+
d = g();
|
|
4388
|
+
let W = Tr(A, d), F = p.createHref(A);
|
|
4389
4389
|
c.replaceState(W, "", F), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4390
4390
|
}
|
|
4391
4391
|
function k(R) {
|
|
@@ -4442,10 +4442,10 @@ function ya(e, t, r, i) {
|
|
|
4442
4442
|
ba(c);
|
|
4443
4443
|
let u = null;
|
|
4444
4444
|
for (let l = 0; u == null && l < c.length; ++l) {
|
|
4445
|
-
let
|
|
4445
|
+
let d = Ta(s);
|
|
4446
4446
|
u = Ra(
|
|
4447
4447
|
c[l],
|
|
4448
|
-
|
|
4448
|
+
d,
|
|
4449
4449
|
i
|
|
4450
4450
|
);
|
|
4451
4451
|
}
|
|
@@ -4463,15 +4463,15 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4463
4463
|
l.relativePath.startsWith(i),
|
|
4464
4464
|
`Absolute route path "${l.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
4465
4465
|
), l.relativePath = l.relativePath.slice(i.length));
|
|
4466
|
-
let
|
|
4466
|
+
let d = xe([i, l.relativePath]), g = r.concat(l);
|
|
4467
4467
|
s.children && s.children.length > 0 && (ae(
|
|
4468
4468
|
// Our types know better, but runtime JS may not!
|
|
4469
4469
|
// @ts-expect-error
|
|
4470
4470
|
s.index !== !0,
|
|
4471
|
-
`Index routes must not have child routes. Please remove all child routes from route path "${
|
|
4472
|
-
), nn(s.children, t, g,
|
|
4473
|
-
path:
|
|
4474
|
-
score: Pa(
|
|
4471
|
+
`Index routes must not have child routes. Please remove all child routes from route path "${d}".`
|
|
4472
|
+
), nn(s.children, t, g, d)), !(s.path == null && !s.index) && t.push({
|
|
4473
|
+
path: d,
|
|
4474
|
+
score: Pa(d, s.index),
|
|
4475
4475
|
routesMeta: g
|
|
4476
4476
|
});
|
|
4477
4477
|
};
|
|
@@ -4530,11 +4530,11 @@ function Ea(e, t) {
|
|
|
4530
4530
|
function Ra(e, t, r = !1) {
|
|
4531
4531
|
let { routesMeta: i } = e, a = {}, s = "/", c = [];
|
|
4532
4532
|
for (let u = 0; u < i.length; ++u) {
|
|
4533
|
-
let l = i[u],
|
|
4534
|
-
{ path: l.relativePath, caseSensitive: l.caseSensitive, end:
|
|
4533
|
+
let l = i[u], d = u === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", y = gt(
|
|
4534
|
+
{ path: l.relativePath, caseSensitive: l.caseSensitive, end: d },
|
|
4535
4535
|
g
|
|
4536
4536
|
), E = l.route;
|
|
4537
|
-
if (!y &&
|
|
4537
|
+
if (!y && d && r && !i[i.length - 1].route.index && (y = gt(
|
|
4538
4538
|
{
|
|
4539
4539
|
path: l.relativePath,
|
|
4540
4540
|
caseSensitive: l.caseSensitive,
|
|
@@ -4566,13 +4566,13 @@ function gt(e, t) {
|
|
|
4566
4566
|
let s = a[0], c = s.replace(/(.)\/+$/, "$1"), u = a.slice(1);
|
|
4567
4567
|
return {
|
|
4568
4568
|
params: i.reduce(
|
|
4569
|
-
(
|
|
4569
|
+
(d, { paramName: g, isOptional: y }, E) => {
|
|
4570
4570
|
if (g === "*") {
|
|
4571
4571
|
let k = u[E] || "";
|
|
4572
4572
|
c = s.slice(0, s.length - k.length).replace(/(.)\/+$/, "$1");
|
|
4573
4573
|
}
|
|
4574
4574
|
const M = u[E];
|
|
4575
|
-
return y && !M ?
|
|
4575
|
+
return y && !M ? d[g] = void 0 : d[g] = (M || "").replace(/%2F/g, "/"), d;
|
|
4576
4576
|
},
|
|
4577
4577
|
{}
|
|
4578
4578
|
),
|
|
@@ -4668,8 +4668,8 @@ function sn(e, t, r, i = !1) {
|
|
|
4668
4668
|
}
|
|
4669
4669
|
u = y >= 0 ? t[y] : "/";
|
|
4670
4670
|
}
|
|
4671
|
-
let l = ja(a, u),
|
|
4672
|
-
return !l.pathname.endsWith("/") && (
|
|
4671
|
+
let l = ja(a, u), d = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
|
|
4672
|
+
return !l.pathname.endsWith("/") && (d || g) && (l.pathname += "/"), l;
|
|
4673
4673
|
}
|
|
4674
4674
|
var xe = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), $a = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ia = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
4675
4675
|
function Aa(e) {
|
|
@@ -4759,7 +4759,7 @@ function Wa() {
|
|
|
4759
4759
|
return fn(() => {
|
|
4760
4760
|
c.current = !0;
|
|
4761
4761
|
}), $.useCallback(
|
|
4762
|
-
(l,
|
|
4762
|
+
(l, d = {}) => {
|
|
4763
4763
|
if (ge(c.current, cn), !c.current) return;
|
|
4764
4764
|
if (typeof l == "number") {
|
|
4765
4765
|
r.go(l);
|
|
@@ -4769,12 +4769,12 @@ function Wa() {
|
|
|
4769
4769
|
l,
|
|
4770
4770
|
JSON.parse(s),
|
|
4771
4771
|
a,
|
|
4772
|
-
|
|
4772
|
+
d.relative === "path"
|
|
4773
4773
|
);
|
|
4774
|
-
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : xe([t, g.pathname])), (
|
|
4774
|
+
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : xe([t, g.pathname])), (d.replace ? r.replace : r.push)(
|
|
4775
4775
|
g,
|
|
4776
|
-
|
|
4777
|
-
|
|
4776
|
+
d.state,
|
|
4777
|
+
d
|
|
4778
4778
|
);
|
|
4779
4779
|
},
|
|
4780
4780
|
[
|
|
@@ -4809,7 +4809,7 @@ function dn(e, t, r, i) {
|
|
|
4809
4809
|
// router loaded. We can help them understand how to avoid that.
|
|
4810
4810
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
4811
4811
|
);
|
|
4812
|
-
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(ke), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/",
|
|
4812
|
+
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(ke), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", d = c ? c.pathnameBase : "/", g = c && c.route;
|
|
4813
4813
|
{
|
|
4814
4814
|
let S = g && g.path || "";
|
|
4815
4815
|
hn(
|
|
@@ -4824,14 +4824,14 @@ Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" :
|
|
|
4824
4824
|
if (t) {
|
|
4825
4825
|
let S = typeof t == "string" ? De(t) : t;
|
|
4826
4826
|
ae(
|
|
4827
|
-
|
|
4828
|
-
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${
|
|
4827
|
+
d === "/" || S.pathname?.startsWith(d),
|
|
4828
|
+
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${S.pathname}" was given in the \`location\` prop.`
|
|
4829
4829
|
), E = S;
|
|
4830
4830
|
} else
|
|
4831
4831
|
E = y;
|
|
4832
4832
|
let M = E.pathname || "/", k = M;
|
|
4833
|
-
if (
|
|
4834
|
-
let S =
|
|
4833
|
+
if (d !== "/") {
|
|
4834
|
+
let S = d.replace(/^\//, "").split("/");
|
|
4835
4835
|
k = "/" + M.replace(/^\//, "").split("/").slice(S.length).join("/");
|
|
4836
4836
|
}
|
|
4837
4837
|
let p = rn(e, { pathname: k });
|
|
@@ -4847,12 +4847,12 @@ Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" :
|
|
|
4847
4847
|
(S) => Object.assign({}, S, {
|
|
4848
4848
|
params: Object.assign({}, u, S.params),
|
|
4849
4849
|
pathname: xe([
|
|
4850
|
-
|
|
4850
|
+
d,
|
|
4851
4851
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4852
4852
|
a.encodeLocation ? a.encodeLocation(S.pathname).pathname : S.pathname
|
|
4853
4853
|
]),
|
|
4854
|
-
pathnameBase: S.pathnameBase === "/" ?
|
|
4855
|
-
|
|
4854
|
+
pathnameBase: S.pathnameBase === "/" ? d : xe([
|
|
4855
|
+
d,
|
|
4856
4856
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4857
4857
|
a.encodeLocation ? a.encodeLocation(S.pathnameBase).pathname : S.pathnameBase
|
|
4858
4858
|
])
|
|
@@ -4888,7 +4888,7 @@ function Ua() {
|
|
|
4888
4888
|
e
|
|
4889
4889
|
), c = /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ $.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ $.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ $.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ $.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ $.createElement("pre", { style: a }, r) : null, c);
|
|
4890
4890
|
}
|
|
4891
|
-
var Ya = /* @__PURE__ */ $.createElement(Ua, null),
|
|
4891
|
+
var Ya = /* @__PURE__ */ $.createElement(Ua, null), Ba = class extends $.Component {
|
|
4892
4892
|
constructor(e) {
|
|
4893
4893
|
super(e), this.state = {
|
|
4894
4894
|
location: e.location,
|
|
@@ -4927,7 +4927,7 @@ var Ya = /* @__PURE__ */ $.createElement(Ua, null), qa = class extends $.Compone
|
|
|
4927
4927
|
)) : this.props.children;
|
|
4928
4928
|
}
|
|
4929
4929
|
};
|
|
4930
|
-
function
|
|
4930
|
+
function qa({ routeContext: e, match: t, children: r }) {
|
|
4931
4931
|
let i = $.useContext($e);
|
|
4932
4932
|
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ $.createElement(ke.Provider, { value: e }, r);
|
|
4933
4933
|
}
|
|
@@ -4945,7 +4945,7 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4945
4945
|
let a = e, s = r?.errors;
|
|
4946
4946
|
if (s != null) {
|
|
4947
4947
|
let l = a.findIndex(
|
|
4948
|
-
(
|
|
4948
|
+
(d) => d.route.id && s?.[d.route.id] !== void 0
|
|
4949
4949
|
);
|
|
4950
4950
|
ae(
|
|
4951
4951
|
l >= 0,
|
|
@@ -4960,28 +4960,28 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4960
4960
|
let c = !1, u = -1;
|
|
4961
4961
|
if (r)
|
|
4962
4962
|
for (let l = 0; l < a.length; l++) {
|
|
4963
|
-
let
|
|
4964
|
-
if ((
|
|
4965
|
-
let { loaderData: g, errors: y } = r, E =
|
|
4966
|
-
if (
|
|
4963
|
+
let d = a[l];
|
|
4964
|
+
if ((d.route.HydrateFallback || d.route.hydrateFallbackElement) && (u = l), d.route.id) {
|
|
4965
|
+
let { loaderData: g, errors: y } = r, E = d.route.loader && !g.hasOwnProperty(d.route.id) && (!y || y[d.route.id] === void 0);
|
|
4966
|
+
if (d.route.lazy || E) {
|
|
4967
4967
|
c = !0, u >= 0 ? a = a.slice(0, u + 1) : a = [a[0]];
|
|
4968
4968
|
break;
|
|
4969
4969
|
}
|
|
4970
4970
|
}
|
|
4971
4971
|
}
|
|
4972
|
-
return a.reduceRight((l,
|
|
4972
|
+
return a.reduceRight((l, d, g) => {
|
|
4973
4973
|
let y, E = !1, M = null, k = null;
|
|
4974
|
-
r && (y = s &&
|
|
4974
|
+
r && (y = s && d.route.id ? s[d.route.id] : void 0, M = d.route.errorElement || Ya, c && (u < 0 && g === 0 ? (hn(
|
|
4975
4975
|
"route-fallback",
|
|
4976
4976
|
!1,
|
|
4977
4977
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4978
|
-
), E = !0, k = null) : u === g && (E = !0, k =
|
|
4978
|
+
), E = !0, k = null) : u === g && (E = !0, k = d.route.hydrateFallbackElement || null)));
|
|
4979
4979
|
let p = t.concat(a.slice(0, g + 1)), R = () => {
|
|
4980
4980
|
let S;
|
|
4981
|
-
return y ? S = M : E ? S = k :
|
|
4982
|
-
|
|
4981
|
+
return y ? S = M : E ? S = k : d.route.Component ? S = /* @__PURE__ */ $.createElement(d.route.Component, null) : d.route.element ? S = d.route.element : S = l, /* @__PURE__ */ $.createElement(
|
|
4982
|
+
qa,
|
|
4983
4983
|
{
|
|
4984
|
-
match:
|
|
4984
|
+
match: d,
|
|
4985
4985
|
routeContext: {
|
|
4986
4986
|
outlet: l,
|
|
4987
4987
|
matches: p,
|
|
@@ -4991,8 +4991,8 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4991
4991
|
}
|
|
4992
4992
|
);
|
|
4993
4993
|
};
|
|
4994
|
-
return r && (
|
|
4995
|
-
|
|
4994
|
+
return r && (d.route.ErrorBoundary || d.route.errorElement || g === 0) ? /* @__PURE__ */ $.createElement(
|
|
4995
|
+
Ba,
|
|
4996
4996
|
{
|
|
4997
4997
|
location: r.location,
|
|
4998
4998
|
revalidation: r.revalidation,
|
|
@@ -5101,7 +5101,7 @@ function ro({
|
|
|
5101
5101
|
typeof r == "string" && (r = De(r));
|
|
5102
5102
|
let {
|
|
5103
5103
|
pathname: l = "/",
|
|
5104
|
-
search:
|
|
5104
|
+
search: d = "",
|
|
5105
5105
|
hash: g = "",
|
|
5106
5106
|
state: y = null,
|
|
5107
5107
|
key: E = "default"
|
|
@@ -5110,17 +5110,17 @@ function ro({
|
|
|
5110
5110
|
return k == null ? null : {
|
|
5111
5111
|
location: {
|
|
5112
5112
|
pathname: k,
|
|
5113
|
-
search:
|
|
5113
|
+
search: d,
|
|
5114
5114
|
hash: g,
|
|
5115
5115
|
state: y,
|
|
5116
5116
|
key: E
|
|
5117
5117
|
},
|
|
5118
5118
|
navigationType: i
|
|
5119
5119
|
};
|
|
5120
|
-
}, [c, l,
|
|
5120
|
+
}, [c, l, d, g, y, E, i]);
|
|
5121
5121
|
return ge(
|
|
5122
5122
|
M != null,
|
|
5123
|
-
`<Router basename="${c}"> is not able to match the URL "${l}${
|
|
5123
|
+
`<Router basename="${c}"> is not able to match the URL "${l}${d}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5124
5124
|
), M == null ? null : /* @__PURE__ */ $.createElement(Se.Provider, { value: u }, /* @__PURE__ */ $.createElement(Ze.Provider, { children: t, value: M }));
|
|
5125
5125
|
}
|
|
5126
5126
|
function no({
|
|
@@ -5250,11 +5250,11 @@ function ho(e, t) {
|
|
|
5250
5250
|
);
|
|
5251
5251
|
let l = e.getAttribute("formaction") || u.getAttribute("action");
|
|
5252
5252
|
if (i = l ? Oe(l, t) : null, r = e.getAttribute("formmethod") || u.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(u.getAttribute("enctype")) || ct, s = new FormData(u, e), !co()) {
|
|
5253
|
-
let { name:
|
|
5253
|
+
let { name: d, type: g, value: y } = e;
|
|
5254
5254
|
if (g === "image") {
|
|
5255
|
-
let E =
|
|
5255
|
+
let E = d ? `${d}.` : "";
|
|
5256
5256
|
s.append(`${E}x`, "0"), s.append(`${E}y`, "0");
|
|
5257
|
-
} else
|
|
5257
|
+
} else d && s.append(d, y);
|
|
5258
5258
|
}
|
|
5259
5259
|
} else {
|
|
5260
5260
|
if (kt(e))
|
|
@@ -5307,19 +5307,19 @@ async function vo(e, t, r) {
|
|
|
5307
5307
|
);
|
|
5308
5308
|
}
|
|
5309
5309
|
function Mr(e, t, r, i, a, s) {
|
|
5310
|
-
let c = (l,
|
|
5310
|
+
let c = (l, d) => r[d] ? l.route.id !== r[d].route.id : !0, u = (l, d) => (
|
|
5311
5311
|
// param change, /users/123 -> /users/456
|
|
5312
|
-
r[
|
|
5312
|
+
r[d].pathname !== l.pathname || // splat param changed, which is not present in match.path
|
|
5313
5313
|
// e.g. /files/images/avatar.jpg -> files/finances.xls
|
|
5314
|
-
r[
|
|
5314
|
+
r[d].route.path?.endsWith("*") && r[d].params["*"] !== l.params["*"]
|
|
5315
5315
|
);
|
|
5316
5316
|
return s === "assets" ? t.filter(
|
|
5317
|
-
(l,
|
|
5318
|
-
) : s === "data" ? t.filter((l,
|
|
5317
|
+
(l, d) => c(l, d) || u(l, d)
|
|
5318
|
+
) : s === "data" ? t.filter((l, d) => {
|
|
5319
5319
|
let g = i.routes[l.route.id];
|
|
5320
5320
|
if (!g || !g.hasLoader)
|
|
5321
5321
|
return !1;
|
|
5322
|
-
if (c(l,
|
|
5322
|
+
if (c(l, d) || u(l, d))
|
|
5323
5323
|
return !0;
|
|
5324
5324
|
if (l.route.shouldRevalidate) {
|
|
5325
5325
|
let y = l.route.shouldRevalidate({
|
|
@@ -5399,7 +5399,7 @@ function vn() {
|
|
|
5399
5399
|
), e;
|
|
5400
5400
|
}
|
|
5401
5401
|
function ko(e, t) {
|
|
5402
|
-
let r = $.useContext(er), [i, a] = $.useState(!1), [s, c] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter:
|
|
5402
|
+
let r = $.useContext(er), [i, a] = $.useState(!1), [s, c] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: d, onMouseLeave: g, onTouchStart: y } = t, E = $.useRef(null);
|
|
5403
5403
|
$.useEffect(() => {
|
|
5404
5404
|
if (e === "render" && c(!0), e === "viewport") {
|
|
5405
5405
|
let p = (S) => {
|
|
@@ -5432,7 +5432,7 @@ function ko(e, t) {
|
|
|
5432
5432
|
{
|
|
5433
5433
|
onFocus: Ye(u, M),
|
|
5434
5434
|
onBlur: Ye(l, k),
|
|
5435
|
-
onMouseEnter: Ye(
|
|
5435
|
+
onMouseEnter: Ye(d, M),
|
|
5436
5436
|
onMouseLeave: Ye(g, k),
|
|
5437
5437
|
onTouchStart: Ye(y, M)
|
|
5438
5438
|
}
|
|
@@ -5471,7 +5471,7 @@ function Eo({
|
|
|
5471
5471
|
matches: t,
|
|
5472
5472
|
...r
|
|
5473
5473
|
}) {
|
|
5474
|
-
let i = Ce(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: u, matches: l } = Oo(),
|
|
5474
|
+
let i = Ce(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: u, matches: l } = Oo(), d = $.useMemo(
|
|
5475
5475
|
() => Mr(
|
|
5476
5476
|
e,
|
|
5477
5477
|
t,
|
|
@@ -5497,7 +5497,7 @@ function Eo({
|
|
|
5497
5497
|
let k = /* @__PURE__ */ new Set(), p = !1;
|
|
5498
5498
|
if (t.forEach((S) => {
|
|
5499
5499
|
let A = a.routes[S.route.id];
|
|
5500
|
-
!A || !A.hasLoader || (!
|
|
5500
|
+
!A || !A.hasLoader || (!d.some((W) => W.route.id === S.route.id) && S.route.id in u && s[S.route.id]?.shouldRevalidate || A.hasClientLoader ? p = !0 : k.add(S.route.id));
|
|
5501
5501
|
}), k.size === 0)
|
|
5502
5502
|
return [];
|
|
5503
5503
|
let R = xo(e, c);
|
|
@@ -5510,7 +5510,7 @@ function Eo({
|
|
|
5510
5510
|
u,
|
|
5511
5511
|
i,
|
|
5512
5512
|
a,
|
|
5513
|
-
|
|
5513
|
+
d,
|
|
5514
5514
|
t,
|
|
5515
5515
|
e,
|
|
5516
5516
|
s
|
|
@@ -5573,26 +5573,26 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5573
5573
|
replace: c,
|
|
5574
5574
|
state: u,
|
|
5575
5575
|
target: l,
|
|
5576
|
-
to:
|
|
5576
|
+
to: d,
|
|
5577
5577
|
preventScrollReset: g,
|
|
5578
5578
|
viewTransition: y,
|
|
5579
5579
|
...E
|
|
5580
5580
|
}, M) {
|
|
5581
|
-
let { basename: k } = $.useContext(Se), p = typeof
|
|
5582
|
-
if (typeof
|
|
5581
|
+
let { basename: k } = $.useContext(Se), p = typeof d == "string" && yn.test(d), R, S = !1;
|
|
5582
|
+
if (typeof d == "string" && p && (R = d, gn))
|
|
5583
5583
|
try {
|
|
5584
|
-
let b = new URL(window.location.href),
|
|
5585
|
-
|
|
5584
|
+
let b = new URL(window.location.href), h = d.startsWith("//") ? new URL(b.protocol + d) : new URL(d), C = Oe(h.pathname, k);
|
|
5585
|
+
h.origin === b.origin && C != null ? d = C + h.search + h.hash : S = !0;
|
|
5586
5586
|
} catch {
|
|
5587
5587
|
ge(
|
|
5588
5588
|
!1,
|
|
5589
|
-
`<Link to="${
|
|
5589
|
+
`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5590
5590
|
);
|
|
5591
5591
|
}
|
|
5592
|
-
let A = Fa(
|
|
5592
|
+
let A = Fa(d, { relative: a }), [W, F, m] = ko(
|
|
5593
5593
|
i,
|
|
5594
5594
|
E
|
|
5595
|
-
), w = Mo(
|
|
5595
|
+
), w = Mo(d, {
|
|
5596
5596
|
replace: c,
|
|
5597
5597
|
state: u,
|
|
5598
5598
|
target: l,
|
|
@@ -5632,9 +5632,9 @@ var To = $.forwardRef(
|
|
|
5632
5632
|
to: c,
|
|
5633
5633
|
viewTransition: u,
|
|
5634
5634
|
children: l,
|
|
5635
|
-
...
|
|
5635
|
+
...d
|
|
5636
5636
|
}, g) {
|
|
5637
|
-
let y = et(c, { relative:
|
|
5637
|
+
let y = et(c, { relative: d.relative }), E = Ce(), M = $.useContext(Ot), { navigator: k, basename: p } = $.useContext(Se), R = M != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5638
5638
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5639
5639
|
zo(y) && u === !0, S = k.encodeLocation ? k.encodeLocation(y).pathname : y.pathname, A = E.pathname, W = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5640
5640
|
r || (A = A.toLowerCase(), W = W ? W.toLowerCase() : null, S = S.toLowerCase()), W && p && (W = Oe(W, p) || W);
|
|
@@ -5650,15 +5650,15 @@ var To = $.forwardRef(
|
|
|
5650
5650
|
w ? "pending" : null,
|
|
5651
5651
|
R ? "transitioning" : null
|
|
5652
5652
|
].filter(Boolean).join(" ");
|
|
5653
|
-
let
|
|
5653
|
+
let h = typeof s == "function" ? s(x) : s;
|
|
5654
5654
|
return /* @__PURE__ */ $.createElement(
|
|
5655
5655
|
bn,
|
|
5656
5656
|
{
|
|
5657
|
-
...
|
|
5657
|
+
...d,
|
|
5658
5658
|
"aria-current": _,
|
|
5659
5659
|
className: b,
|
|
5660
5660
|
ref: g,
|
|
5661
|
-
style:
|
|
5661
|
+
style: h,
|
|
5662
5662
|
to: c,
|
|
5663
5663
|
viewTransition: u
|
|
5664
5664
|
},
|
|
@@ -5678,12 +5678,12 @@ var jo = $.forwardRef(
|
|
|
5678
5678
|
method: c = ut,
|
|
5679
5679
|
action: u,
|
|
5680
5680
|
onSubmit: l,
|
|
5681
|
-
relative:
|
|
5681
|
+
relative: d,
|
|
5682
5682
|
preventScrollReset: g,
|
|
5683
5683
|
viewTransition: y,
|
|
5684
5684
|
...E
|
|
5685
5685
|
}, M) => {
|
|
5686
|
-
let k = Ao(), p = Ho(u, { relative:
|
|
5686
|
+
let k = Ao(), p = Ho(u, { relative: d }), R = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && yn.test(u), A = (W) => {
|
|
5687
5687
|
if (l && l(W), W.defaultPrevented) return;
|
|
5688
5688
|
W.preventDefault();
|
|
5689
5689
|
let F = W.nativeEvent.submitter, m = F?.getAttribute("formmethod") || c;
|
|
@@ -5693,7 +5693,7 @@ var jo = $.forwardRef(
|
|
|
5693
5693
|
navigate: r,
|
|
5694
5694
|
replace: a,
|
|
5695
5695
|
state: s,
|
|
5696
|
-
relative:
|
|
5696
|
+
relative: d,
|
|
5697
5697
|
preventScrollReset: g,
|
|
5698
5698
|
viewTransition: y
|
|
5699
5699
|
});
|
|
@@ -5727,12 +5727,12 @@ function Mo(e, {
|
|
|
5727
5727
|
relative: s,
|
|
5728
5728
|
viewTransition: c
|
|
5729
5729
|
} = {}) {
|
|
5730
|
-
let u = Kt(), l = Ce(),
|
|
5730
|
+
let u = Kt(), l = Ce(), d = et(e, { relative: s });
|
|
5731
5731
|
return $.useCallback(
|
|
5732
5732
|
(g) => {
|
|
5733
5733
|
if (lo(g, t)) {
|
|
5734
5734
|
g.preventDefault();
|
|
5735
|
-
let y = r !== void 0 ? r : Ge(l) === Ge(
|
|
5735
|
+
let y = r !== void 0 ? r : Ge(l) === Ge(d);
|
|
5736
5736
|
u(e, {
|
|
5737
5737
|
replace: y,
|
|
5738
5738
|
state: i,
|
|
@@ -5745,7 +5745,7 @@ function Mo(e, {
|
|
|
5745
5745
|
[
|
|
5746
5746
|
l,
|
|
5747
5747
|
u,
|
|
5748
|
-
|
|
5748
|
+
d,
|
|
5749
5749
|
r,
|
|
5750
5750
|
i,
|
|
5751
5751
|
t,
|
|
@@ -5774,10 +5774,10 @@ function Do(e) {
|
|
|
5774
5774
|
[i.search]
|
|
5775
5775
|
), s = Kt(), c = $.useCallback(
|
|
5776
5776
|
(u, l) => {
|
|
5777
|
-
const
|
|
5777
|
+
const d = Vt(
|
|
5778
5778
|
typeof u == "function" ? u(a) : u
|
|
5779
5779
|
);
|
|
5780
|
-
r.current = !0, s("?" +
|
|
5780
|
+
r.current = !0, s("?" + d, l);
|
|
5781
5781
|
},
|
|
5782
5782
|
[s, a]
|
|
5783
5783
|
);
|
|
@@ -5791,7 +5791,7 @@ function Ao() {
|
|
|
5791
5791
|
), { basename: t } = $.useContext(Se), r = Za();
|
|
5792
5792
|
return $.useCallback(
|
|
5793
5793
|
async (i, a = {}) => {
|
|
5794
|
-
let { action: s, method: c, encType: u, formData: l, body:
|
|
5794
|
+
let { action: s, method: c, encType: u, formData: l, body: d } = ho(
|
|
5795
5795
|
i,
|
|
5796
5796
|
t
|
|
5797
5797
|
);
|
|
@@ -5800,7 +5800,7 @@ function Ao() {
|
|
|
5800
5800
|
await e.fetch(g, r, a.action || s, {
|
|
5801
5801
|
preventScrollReset: a.preventScrollReset,
|
|
5802
5802
|
formData: l,
|
|
5803
|
-
body:
|
|
5803
|
+
body: d,
|
|
5804
5804
|
formMethod: a.method || c,
|
|
5805
5805
|
formEncType: a.encType || u,
|
|
5806
5806
|
flushSync: a.flushSync
|
|
@@ -5809,7 +5809,7 @@ function Ao() {
|
|
|
5809
5809
|
await e.navigate(a.action || s, {
|
|
5810
5810
|
preventScrollReset: a.preventScrollReset,
|
|
5811
5811
|
formData: l,
|
|
5812
|
-
body:
|
|
5812
|
+
body: d,
|
|
5813
5813
|
formMethod: a.method || c,
|
|
5814
5814
|
formEncType: a.encType || u,
|
|
5815
5815
|
replace: a.replace,
|
|
@@ -5855,7 +5855,7 @@ function zo(e, t = {}) {
|
|
|
5855
5855
|
[
|
|
5856
5856
|
...So
|
|
5857
5857
|
];
|
|
5858
|
-
const Sn =
|
|
5858
|
+
const Sn = B.createContext({
|
|
5859
5859
|
history: [],
|
|
5860
5860
|
addToHistory: () => {
|
|
5861
5861
|
},
|
|
@@ -5904,7 +5904,7 @@ const Sn = q.createContext({
|
|
|
5904
5904
|
});
|
|
5905
5905
|
},
|
|
5906
5906
|
[t]
|
|
5907
|
-
),
|
|
5907
|
+
), d = me(
|
|
5908
5908
|
(g) => {
|
|
5909
5909
|
t((y) => {
|
|
5910
5910
|
const E = new URLSearchParams(y);
|
|
@@ -5920,30 +5920,30 @@ const Sn = q.createContext({
|
|
|
5920
5920
|
get: a,
|
|
5921
5921
|
getMany: i,
|
|
5922
5922
|
set: l,
|
|
5923
|
-
setMany:
|
|
5923
|
+
setMany: d,
|
|
5924
5924
|
remove: s,
|
|
5925
5925
|
removeMany: c,
|
|
5926
5926
|
removeAll: u
|
|
5927
5927
|
};
|
|
5928
5928
|
}, hs = () => {
|
|
5929
5929
|
const e = Kt(), t = Ce(), r = No(), i = Ut(Sn), a = (l) => {
|
|
5930
|
-
const
|
|
5930
|
+
const d = new URL(l.path, "http://dummy-base");
|
|
5931
5931
|
return l.params && Object.entries(l.params).forEach(([g, y]) => {
|
|
5932
|
-
y != null &&
|
|
5933
|
-
}),
|
|
5934
|
-
}, s =
|
|
5932
|
+
y != null && d.searchParams.set(g, String(y));
|
|
5933
|
+
}), d.pathname + d.search;
|
|
5934
|
+
}, s = B.useCallback(
|
|
5935
5935
|
(l) => {
|
|
5936
|
-
const
|
|
5937
|
-
l.addToHistory !== !1 ? (e(
|
|
5936
|
+
const d = a(l);
|
|
5937
|
+
l.addToHistory !== !1 ? (e(d), i.addToHistory(d)) : (e(d, { replace: !0 }), i.history.length > 0 && (i.popFromHistory(1), i.addToHistory(d)));
|
|
5938
5938
|
},
|
|
5939
5939
|
[e, i.history]
|
|
5940
|
-
), c =
|
|
5940
|
+
), c = B.useCallback(
|
|
5941
5941
|
(l) => {
|
|
5942
|
-
let
|
|
5943
|
-
i.history.length <
|
|
5942
|
+
let d = l || 1;
|
|
5943
|
+
i.history.length < d && (d = i.history.length), e(-d), i.popFromHistory(d);
|
|
5944
5944
|
},
|
|
5945
5945
|
[e]
|
|
5946
|
-
), u =
|
|
5946
|
+
), u = B.useCallback(() => {
|
|
5947
5947
|
i.replaceHistory([]);
|
|
5948
5948
|
}, [e]);
|
|
5949
5949
|
return {
|
|
@@ -5959,7 +5959,7 @@ const Sn = q.createContext({
|
|
|
5959
5959
|
routes: t,
|
|
5960
5960
|
children: r
|
|
5961
5961
|
}) => {
|
|
5962
|
-
const i =
|
|
5962
|
+
const i = B.useRef([]), [a, s] = B.useState([]), c = B.useCallback((y) => {
|
|
5963
5963
|
i.current = y, s(y);
|
|
5964
5964
|
}, []), u = (y, E = !1) => {
|
|
5965
5965
|
let M = [...i.current];
|
|
@@ -5967,7 +5967,7 @@ const Sn = q.createContext({
|
|
|
5967
5967
|
}, l = (y) => {
|
|
5968
5968
|
let E = "", M = [];
|
|
5969
5969
|
return i.current.length === 0 || i.current.length < y ? "/" : (M = i.current.slice(0, i.current.length - y), E = M[M.length - 1], c(M), E);
|
|
5970
|
-
},
|
|
5970
|
+
}, d = (y) => {
|
|
5971
5971
|
c(y);
|
|
5972
5972
|
}, g = t.map((y) => /* @__PURE__ */ X.jsx(pn, { path: y.path, element: y.render }));
|
|
5973
5973
|
return /* @__PURE__ */ X.jsx(
|
|
@@ -5977,7 +5977,7 @@ const Sn = q.createContext({
|
|
|
5977
5977
|
history: a,
|
|
5978
5978
|
addToHistory: u,
|
|
5979
5979
|
popFromHistory: l,
|
|
5980
|
-
replaceHistory:
|
|
5980
|
+
replaceHistory: d
|
|
5981
5981
|
},
|
|
5982
5982
|
children: /* @__PURE__ */ X.jsx(_o, { children: /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
5983
5983
|
e && /* @__PURE__ */ X.jsx(no, { children: g }),
|
|
@@ -5985,7 +5985,7 @@ const Sn = q.createContext({
|
|
|
5985
5985
|
] }) })
|
|
5986
5986
|
}
|
|
5987
5987
|
);
|
|
5988
|
-
}, xn =
|
|
5988
|
+
}, xn = B.createContext(
|
|
5989
5989
|
{
|
|
5990
5990
|
visibleItems: [],
|
|
5991
5991
|
isItemVisible: () => !1,
|
|
@@ -5995,14 +5995,14 @@ const Sn = q.createContext({
|
|
|
5995
5995
|
}
|
|
5996
5996
|
}
|
|
5997
5997
|
), ms = ({ children: e }) => {
|
|
5998
|
-
const t =
|
|
5998
|
+
const t = B.useRef([]), [r, i] = B.useState([]), a = B.useCallback((l) => {
|
|
5999
5999
|
t.current = l, i(l);
|
|
6000
|
-
}, []), s =
|
|
6000
|
+
}, []), s = B.useCallback((l) => t.current.some((d) => d === l), []), c = B.useCallback(
|
|
6001
6001
|
(l) => {
|
|
6002
6002
|
s(l) || a([...t.current, l]);
|
|
6003
6003
|
},
|
|
6004
6004
|
[s, a]
|
|
6005
|
-
), u =
|
|
6005
|
+
), u = B.useCallback(
|
|
6006
6006
|
(l) => {
|
|
6007
6007
|
s(l) && a(
|
|
6008
6008
|
t.current.filter((g) => g !== l)
|
|
@@ -6039,9 +6039,9 @@ const Sn = q.createContext({
|
|
|
6039
6039
|
onCloseDrawer: t,
|
|
6040
6040
|
drawerCloseOffset: r = 15
|
|
6041
6041
|
}) => {
|
|
6042
|
-
const { isItemVisible: i } = Ct(), [a, s] =
|
|
6042
|
+
const { isItemVisible: i } = Ct(), [a, s] = B.useState({
|
|
6043
6043
|
isDragging: !1
|
|
6044
|
-
}), c =
|
|
6044
|
+
}), c = B.useRef(null), u = B.useRef(null), l = B.useRef(null), [d, g] = B.useState(0), y = (k) => {
|
|
6045
6045
|
s(k);
|
|
6046
6046
|
}, E = (k) => {
|
|
6047
6047
|
s(k), g(0);
|
|
@@ -6059,7 +6059,7 @@ const Sn = q.createContext({
|
|
|
6059
6059
|
isVisible: i(e),
|
|
6060
6060
|
drawerParentRef: c,
|
|
6061
6061
|
drawerRef: u,
|
|
6062
|
-
drawerBottomDistance:
|
|
6062
|
+
drawerBottomDistance: d,
|
|
6063
6063
|
handleRef: l
|
|
6064
6064
|
};
|
|
6065
6065
|
}, vs = (e) => {
|
|
@@ -6068,7 +6068,7 @@ const Sn = q.createContext({
|
|
|
6068
6068
|
drawerParentRef: c,
|
|
6069
6069
|
drawerRef: u,
|
|
6070
6070
|
handleRef: l,
|
|
6071
|
-
drawerBottomDistance:
|
|
6071
|
+
drawerBottomDistance: d
|
|
6072
6072
|
} = Fo(e);
|
|
6073
6073
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
|
|
6074
6074
|
"div",
|
|
@@ -6107,7 +6107,7 @@ const Sn = q.createContext({
|
|
|
6107
6107
|
padding: "24px",
|
|
6108
6108
|
zIndex: 1001,
|
|
6109
6109
|
position: "absolute",
|
|
6110
|
-
bottom: `${
|
|
6110
|
+
bottom: `${d}px`,
|
|
6111
6111
|
...i
|
|
6112
6112
|
},
|
|
6113
6113
|
onClick: (g) => {
|
|
@@ -6145,7 +6145,7 @@ const Sn = q.createContext({
|
|
|
6145
6145
|
onMount: i,
|
|
6146
6146
|
configurations: a
|
|
6147
6147
|
}) => {
|
|
6148
|
-
const s =
|
|
6148
|
+
const s = B.useRef(null), c = B.useRef(!1), u = (R) => ({
|
|
6149
6149
|
name: R.name,
|
|
6150
6150
|
value: R.value
|
|
6151
6151
|
}), l = () => {
|
|
@@ -6157,7 +6157,7 @@ const Sn = q.createContext({
|
|
|
6157
6157
|
for (const A of R)
|
|
6158
6158
|
S.push(u(A));
|
|
6159
6159
|
return S;
|
|
6160
|
-
},
|
|
6160
|
+
}, d = (R, S, A) => R === "change" && S || R === "mount" && A || R === "submit", g = async (R, S) => {
|
|
6161
6161
|
try {
|
|
6162
6162
|
const F = (a || []).find(
|
|
6163
6163
|
(m) => m.name === R.name
|
|
@@ -6165,39 +6165,39 @@ const Sn = q.createContext({
|
|
|
6165
6165
|
if (!F)
|
|
6166
6166
|
return R;
|
|
6167
6167
|
var A = R.value, W = R.value;
|
|
6168
|
-
if (F.emptyValidation && F.emptyValidation.allow === !1 && !A &&
|
|
6168
|
+
if (F.emptyValidation && F.emptyValidation.allow === !1 && !A && d(
|
|
6169
6169
|
S,
|
|
6170
6170
|
F.emptyValidation.validateOnChange,
|
|
6171
6171
|
F.emptyValidation.validateOnMount
|
|
6172
6172
|
))
|
|
6173
6173
|
return R.error = F.emptyValidation.errorMessage, R;
|
|
6174
|
-
if (F.minLengthValidation && A.length < F.minLengthValidation.value &&
|
|
6174
|
+
if (F.minLengthValidation && A.length < F.minLengthValidation.value && d(
|
|
6175
6175
|
S,
|
|
6176
6176
|
F.minLengthValidation.validateOnChange,
|
|
6177
6177
|
F.minLengthValidation.validateOnMount
|
|
6178
6178
|
))
|
|
6179
6179
|
return R.error = F.minLengthValidation.errorMessage, R;
|
|
6180
|
-
if (F.maxLengthValidation && A.length > F.maxLengthValidation.value &&
|
|
6180
|
+
if (F.maxLengthValidation && A.length > F.maxLengthValidation.value && d(
|
|
6181
6181
|
S,
|
|
6182
6182
|
F.maxLengthValidation.validateOnChange,
|
|
6183
6183
|
F.maxLengthValidation.validateOnMount
|
|
6184
6184
|
))
|
|
6185
6185
|
return R.error = F.maxLengthValidation.errorMessage, R;
|
|
6186
6186
|
if (!isNaN(W)) {
|
|
6187
|
-
if (F.minValueValidation && W < F.minValueValidation.value &&
|
|
6187
|
+
if (F.minValueValidation && W < F.minValueValidation.value && d(
|
|
6188
6188
|
S,
|
|
6189
6189
|
F.minValueValidation.validateOnChange,
|
|
6190
6190
|
F.minValueValidation.validateOnMount
|
|
6191
6191
|
))
|
|
6192
6192
|
return R.error = F.minValueValidation.errorMessage, R;
|
|
6193
|
-
if (F.maxValueValidation && W > F.maxValueValidation.value &&
|
|
6193
|
+
if (F.maxValueValidation && W > F.maxValueValidation.value && d(
|
|
6194
6194
|
S,
|
|
6195
6195
|
F.maxValueValidation.validateOnChange,
|
|
6196
6196
|
F.maxValueValidation.validateOnMount
|
|
6197
6197
|
))
|
|
6198
6198
|
return R.error = F.maxValueValidation.errorMessage, R;
|
|
6199
6199
|
}
|
|
6200
|
-
if (F.exactValueValidation && F.exactValueValidation.value !== R.value &&
|
|
6200
|
+
if (F.exactValueValidation && F.exactValueValidation.value !== R.value && d(
|
|
6201
6201
|
S,
|
|
6202
6202
|
F.exactValueValidation.validateOnChange,
|
|
6203
6203
|
F.exactValueValidation.validateOnMount
|
|
@@ -6205,7 +6205,7 @@ const Sn = q.createContext({
|
|
|
6205
6205
|
return R.error = F.exactValueValidation.errorMessage, R;
|
|
6206
6206
|
for (let m = 0; m < (F.validations || []).length; m++) {
|
|
6207
6207
|
const w = F.validations?.[m];
|
|
6208
|
-
if (!
|
|
6208
|
+
if (!d(
|
|
6209
6209
|
S,
|
|
6210
6210
|
w?.validateOnChange,
|
|
6211
6211
|
w?.validateOnMount
|
|
@@ -6228,7 +6228,7 @@ const Sn = q.createContext({
|
|
|
6228
6228
|
);
|
|
6229
6229
|
const A = S.find((W) => W.error !== void 0);
|
|
6230
6230
|
return { fields: S, hasErrors: A !== void 0 };
|
|
6231
|
-
}, []), E =
|
|
6231
|
+
}, []), E = B.useCallback(
|
|
6232
6232
|
async (R) => {
|
|
6233
6233
|
try {
|
|
6234
6234
|
if (c.current)
|
|
@@ -6241,7 +6241,7 @@ const Sn = q.createContext({
|
|
|
6241
6241
|
}
|
|
6242
6242
|
},
|
|
6243
6243
|
[t, e]
|
|
6244
|
-
), M =
|
|
6244
|
+
), M = B.useCallback(
|
|
6245
6245
|
async (R) => {
|
|
6246
6246
|
try {
|
|
6247
6247
|
const A = R.target;
|
|
@@ -6257,7 +6257,7 @@ const Sn = q.createContext({
|
|
|
6257
6257
|
}
|
|
6258
6258
|
},
|
|
6259
6259
|
[t, e]
|
|
6260
|
-
), k =
|
|
6260
|
+
), k = B.useCallback(async () => {
|
|
6261
6261
|
try {
|
|
6262
6262
|
const R = await y("mount");
|
|
6263
6263
|
i?.(R.fields, R.hasErrors);
|
|
@@ -6277,7 +6277,7 @@ const Sn = q.createContext({
|
|
|
6277
6277
|
};
|
|
6278
6278
|
}, Vo = Ee.div`
|
|
6279
6279
|
display: flex;
|
|
6280
|
-
|
|
6280
|
+
flex: 1,
|
|
6281
6281
|
align-items: center;
|
|
6282
6282
|
justify-content: center;
|
|
6283
6283
|
background: none;
|
|
@@ -6291,7 +6291,7 @@ const Sn = q.createContext({
|
|
|
6291
6291
|
pointer-events: none;
|
|
6292
6292
|
}
|
|
6293
6293
|
`, gs = (e) => {
|
|
6294
|
-
const { children: t, styles: r, childrenStyles: i,
|
|
6294
|
+
const { children: t, styles: r, childrenStyles: i, submitSection: a } = e, { ref: s, handleFormSubmission: c, submitForm: u, handleFormChange: l } = Wo(e);
|
|
6295
6295
|
return /* @__PURE__ */ X.jsxs(
|
|
6296
6296
|
"form",
|
|
6297
6297
|
{
|
|
@@ -6321,14 +6321,33 @@ const Sn = q.createContext({
|
|
|
6321
6321
|
children: t
|
|
6322
6322
|
}
|
|
6323
6323
|
),
|
|
6324
|
-
/* @__PURE__ */ X.
|
|
6325
|
-
|
|
6324
|
+
/* @__PURE__ */ X.jsxs(
|
|
6325
|
+
"div",
|
|
6326
6326
|
{
|
|
6327
|
-
|
|
6328
|
-
|
|
6327
|
+
style: {
|
|
6328
|
+
width: "100%",
|
|
6329
|
+
flexDirection: "row",
|
|
6330
|
+
gap: "10px",
|
|
6331
|
+
display: "flex",
|
|
6332
|
+
flexWrap: "wrap",
|
|
6333
|
+
alignItems: "center",
|
|
6334
|
+
justifyContent: "center",
|
|
6329
6335
|
...a.styles
|
|
6330
6336
|
},
|
|
6331
|
-
children:
|
|
6337
|
+
children: [
|
|
6338
|
+
a.renderBeforeSubmitButton,
|
|
6339
|
+
/* @__PURE__ */ X.jsx(
|
|
6340
|
+
Vo,
|
|
6341
|
+
{
|
|
6342
|
+
onClick: u,
|
|
6343
|
+
styles: {
|
|
6344
|
+
...a.submitButton.styles
|
|
6345
|
+
},
|
|
6346
|
+
children: a.submitButton.content
|
|
6347
|
+
}
|
|
6348
|
+
),
|
|
6349
|
+
a.renderAfterSubmitButton
|
|
6350
|
+
]
|
|
6332
6351
|
}
|
|
6333
6352
|
)
|
|
6334
6353
|
]
|
|
@@ -6384,13 +6403,13 @@ const Sn = q.createContext({
|
|
|
6384
6403
|
input:-webkit-autofill {
|
|
6385
6404
|
background-color: #00000000;
|
|
6386
6405
|
}
|
|
6387
|
-
`,
|
|
6406
|
+
`, Bo = (e) => {
|
|
6388
6407
|
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i, handleOnClick: a } = Uo(e), {
|
|
6389
6408
|
ref: s,
|
|
6390
6409
|
name: c,
|
|
6391
6410
|
label: u,
|
|
6392
6411
|
leftIcon: l,
|
|
6393
|
-
rightIcon:
|
|
6412
|
+
rightIcon: d,
|
|
6394
6413
|
bottomMessage: g,
|
|
6395
6414
|
placeHolder: y,
|
|
6396
6415
|
autoComplete: E = "off",
|
|
@@ -6474,7 +6493,7 @@ const Sn = q.createContext({
|
|
|
6474
6493
|
}
|
|
6475
6494
|
}
|
|
6476
6495
|
),
|
|
6477
|
-
|
|
6496
|
+
d
|
|
6478
6497
|
]
|
|
6479
6498
|
}
|
|
6480
6499
|
),
|
|
@@ -6561,9 +6580,9 @@ const Sn = q.createContext({
|
|
|
6561
6580
|
)
|
|
6562
6581
|
}
|
|
6563
6582
|
) });
|
|
6564
|
-
},
|
|
6583
|
+
}, qo = (e) => {
|
|
6565
6584
|
const t = Pn(""), r = me(
|
|
6566
|
-
(u) => (e.allowNegatives ? (u = u.replace(/-/g, (l,
|
|
6585
|
+
(u) => (e.allowNegatives ? (u = u.replace(/-/g, (l, d) => d === 0 ? "-" : ""), u.indexOf("-") > 0 && (u = u.replace(/-/g, ""), u = "-" + u)) : u = u.replace(/-/g, ""), u),
|
|
6567
6586
|
[e]
|
|
6568
6587
|
), i = me(
|
|
6569
6588
|
(u) => {
|
|
@@ -6571,9 +6590,9 @@ const Sn = q.createContext({
|
|
|
6571
6590
|
u.startsWith(".") && (u = "0" + u), u.length === 2 && u[0] === "-" && u[1] === "." && (u = "-");
|
|
6572
6591
|
const l = u.indexOf(".");
|
|
6573
6592
|
l !== -1 && (u = u.slice(0, l + 1) + u.slice(l + 1).replace(/\./g, ""));
|
|
6574
|
-
const [
|
|
6593
|
+
const [d, ...g] = u.split("."), [y, ...E] = t.current.split(".");
|
|
6575
6594
|
let M = g.join(""), k = E.join("");
|
|
6576
|
-
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M = k : M = M.slice(0, e.decimalScale)), u = M || u.endsWith(".") ? `${
|
|
6595
|
+
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M = k : M = M.slice(0, e.decimalScale)), u = M || u.endsWith(".") ? `${d}.${M}` : d;
|
|
6577
6596
|
} else
|
|
6578
6597
|
u = u.replace(/\./g, "");
|
|
6579
6598
|
return u;
|
|
@@ -6582,17 +6601,17 @@ const Sn = q.createContext({
|
|
|
6582
6601
|
), a = me(
|
|
6583
6602
|
(u) => {
|
|
6584
6603
|
const l = Number(u);
|
|
6585
|
-
var
|
|
6586
|
-
return
|
|
6604
|
+
var d = e.max;
|
|
6605
|
+
return d === void 0 && (d = e.maxLength ? Number("9".repeat(e.maxLength)) : void 0), !isNaN(l) && (e.min !== void 0 && l < e.min || d !== void 0 && l > d) ? t.current ?? u : u;
|
|
6587
6606
|
},
|
|
6588
6607
|
[e]
|
|
6589
6608
|
), s = me(
|
|
6590
6609
|
(u) => {
|
|
6591
|
-
const l = u.target,
|
|
6610
|
+
const l = u.target, d = l.selectionStart ?? 0, g = l.selectionEnd ?? 0;
|
|
6592
6611
|
let y = l.value;
|
|
6593
6612
|
y = y.replace(/[^0-9\.\-]/g, ""), y = r(y), y = i(y), y = a(y);
|
|
6594
6613
|
const E = y.length - l.value.length;
|
|
6595
|
-
l.value = y, l.setSelectionRange(
|
|
6614
|
+
l.value = y, l.setSelectionRange(d + E, g + E), t.current = y;
|
|
6596
6615
|
},
|
|
6597
6616
|
[r, i, a]
|
|
6598
6617
|
);
|
|
@@ -6610,41 +6629,51 @@ const Sn = q.createContext({
|
|
|
6610
6629
|
decimalScale: r = 2,
|
|
6611
6630
|
...i
|
|
6612
6631
|
}) => {
|
|
6613
|
-
const { props: a } =
|
|
6632
|
+
const { props: a } = qo({
|
|
6614
6633
|
allowNegatives: e,
|
|
6615
6634
|
allowDecimals: t,
|
|
6616
6635
|
decimalScale: r,
|
|
6617
6636
|
...i
|
|
6618
6637
|
});
|
|
6619
|
-
return /* @__PURE__ */ X.jsx(
|
|
6638
|
+
return /* @__PURE__ */ X.jsx(Bo, { type: "text", ...a });
|
|
6620
6639
|
}, Xo = (e) => {
|
|
6621
|
-
const t =
|
|
6622
|
-
t.current &&
|
|
6623
|
-
}, [t, t.current]),
|
|
6624
|
-
r.current &&
|
|
6625
|
-
}, [r, r.current]),
|
|
6626
|
-
|
|
6627
|
-
|
|
6640
|
+
const t = B.useRef(null), r = B.useRef(null), i = B.useRef(null), [a, s] = B.useState(24), [c, u] = B.useState(24), [l, d] = B.useState(300), g = B.useCallback(() => {
|
|
6641
|
+
t.current && s(t.current.clientHeight);
|
|
6642
|
+
}, [t, t.current]), y = B.useCallback(() => {
|
|
6643
|
+
r.current && u(r.current.clientHeight);
|
|
6644
|
+
}, [r, r.current]), E = B.useCallback(() => {
|
|
6645
|
+
i.current && d(i.current.clientWidth);
|
|
6646
|
+
}, [i, i.current]), M = B.useCallback(() => {
|
|
6647
|
+
let k = 0;
|
|
6648
|
+
return e.header?.visibility === "always" && (k = k + (a || 0)), e.footer?.visibility === "always" && (k = k + (c || 0)), k;
|
|
6628
6649
|
}, [r, r.current]);
|
|
6629
|
-
return
|
|
6630
|
-
|
|
6631
|
-
}, [
|
|
6632
|
-
|
|
6633
|
-
}, [
|
|
6650
|
+
return B.useEffect(() => {
|
|
6651
|
+
g();
|
|
6652
|
+
}, [g, t, t.current]), B.useEffect(() => {
|
|
6653
|
+
y();
|
|
6654
|
+
}, [y, r, r.current]), B.useEffect(() => {
|
|
6655
|
+
E();
|
|
6656
|
+
}, [E, i, i.current]), {
|
|
6634
6657
|
header: {
|
|
6635
6658
|
...e.header,
|
|
6636
6659
|
visible: e.header !== void 0,
|
|
6637
|
-
height: e.header?.visibility === "fixed" ? 0 :
|
|
6660
|
+
height: !e.header || e.header?.visibility === "fixed" ? 0 : a,
|
|
6638
6661
|
ref: t
|
|
6639
6662
|
},
|
|
6640
6663
|
footer: {
|
|
6641
6664
|
...e.footer,
|
|
6642
6665
|
visible: e.footer !== void 0,
|
|
6643
|
-
height: e.footer?.visibility === "fixed" ? 0 :
|
|
6666
|
+
height: !e.footer || e.footer?.visibility === "fixed" ? 0 : c,
|
|
6644
6667
|
ref: r
|
|
6645
6668
|
},
|
|
6669
|
+
sidebar: {
|
|
6670
|
+
...e.sidebar,
|
|
6671
|
+
width: l,
|
|
6672
|
+
visible: e.sidebar !== void 0,
|
|
6673
|
+
ref: i
|
|
6674
|
+
},
|
|
6646
6675
|
page: {
|
|
6647
|
-
extraHeight:
|
|
6676
|
+
extraHeight: M()
|
|
6648
6677
|
}
|
|
6649
6678
|
};
|
|
6650
6679
|
}, Go = Ee.div`
|
|
@@ -6675,7 +6704,7 @@ const Sn = q.createContext({
|
|
|
6675
6704
|
allowScroll: a = !0,
|
|
6676
6705
|
floatingContent: s,
|
|
6677
6706
|
reserveSpaceForScrollbar: c
|
|
6678
|
-
} = e, { footer: u, header: l } = Xo(e);
|
|
6707
|
+
} = e, { footer: u, header: l, sidebar: d } = Xo(e);
|
|
6679
6708
|
return /* @__PURE__ */ X.jsxs(
|
|
6680
6709
|
Go,
|
|
6681
6710
|
{
|
|
@@ -6705,40 +6734,66 @@ const Sn = q.createContext({
|
|
|
6705
6734
|
children: l.content
|
|
6706
6735
|
}
|
|
6707
6736
|
),
|
|
6708
|
-
/* @__PURE__ */ X.
|
|
6737
|
+
/* @__PURE__ */ X.jsxs(
|
|
6709
6738
|
"div",
|
|
6710
6739
|
{
|
|
6711
|
-
id: "page-body",
|
|
6712
6740
|
style: {
|
|
6713
6741
|
width: "100%",
|
|
6714
|
-
|
|
6715
|
-
display: "flex",
|
|
6742
|
+
flexDirection: "row",
|
|
6716
6743
|
flex: 1,
|
|
6744
|
+
display: "flex",
|
|
6745
|
+
overflow: "hidden",
|
|
6717
6746
|
marginTop: `-${l.height}px`,
|
|
6718
6747
|
marginBottom: `-${u.height}px`
|
|
6719
6748
|
},
|
|
6720
|
-
children:
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6749
|
+
children: [
|
|
6750
|
+
d.visible && /* @__PURE__ */ X.jsx(
|
|
6751
|
+
"div",
|
|
6752
|
+
{
|
|
6753
|
+
ref: d.ref,
|
|
6754
|
+
id: "page-sidebar",
|
|
6755
|
+
style: {
|
|
6756
|
+
width: "30%",
|
|
6757
|
+
display: "flex",
|
|
6758
|
+
...d.styles
|
|
6759
|
+
},
|
|
6760
|
+
children: d.content
|
|
6761
|
+
}
|
|
6762
|
+
),
|
|
6763
|
+
/* @__PURE__ */ X.jsx(
|
|
6764
|
+
"div",
|
|
6765
|
+
{
|
|
6766
|
+
id: "page-body",
|
|
6767
|
+
style: {
|
|
6768
|
+
width: "100%",
|
|
6769
|
+
display: "flex",
|
|
6770
|
+
flex: 1
|
|
6771
|
+
},
|
|
6772
|
+
children: /* @__PURE__ */ X.jsx(
|
|
6773
|
+
"div",
|
|
6774
|
+
{
|
|
6775
|
+
id: "page-content",
|
|
6776
|
+
style: {
|
|
6777
|
+
width: "100%",
|
|
6778
|
+
overflowX: "hidden",
|
|
6779
|
+
overflowY: a ? "auto" : "hidden",
|
|
6780
|
+
display: "flex",
|
|
6781
|
+
flexDirection: "column",
|
|
6782
|
+
flex: 1,
|
|
6783
|
+
minHeight: "100%",
|
|
6784
|
+
scrollbarGutter: c ? "stable" : void 0,
|
|
6785
|
+
paddingLeft: "0px",
|
|
6786
|
+
paddingRight: "0px",
|
|
6787
|
+
paddingTop: `${l.height}px`,
|
|
6788
|
+
paddingBottom: `${u.height}px`,
|
|
6789
|
+
...r
|
|
6790
|
+
},
|
|
6791
|
+
children: i
|
|
6792
|
+
}
|
|
6793
|
+
)
|
|
6794
|
+
}
|
|
6795
|
+
)
|
|
6796
|
+
]
|
|
6742
6797
|
}
|
|
6743
6798
|
),
|
|
6744
6799
|
u.visible && /* @__PURE__ */ X.jsx(
|
|
@@ -6820,7 +6875,7 @@ function Zo() {
|
|
|
6820
6875
|
(function(r, i) {
|
|
6821
6876
|
e.exports = i();
|
|
6822
6877
|
})(Jo, function() {
|
|
6823
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour",
|
|
6878
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", d = "day", g = "week", y = "month", E = "quarter", M = "year", k = "date", p = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(j) {
|
|
6824
6879
|
var P = ["th", "st", "nd", "rd"], L = j % 100;
|
|
6825
6880
|
return "[" + j + (P[(L - 20) % 10] || P[L] || P[0]) + "]";
|
|
6826
6881
|
} }, W = function(j, P, L) {
|
|
@@ -6836,7 +6891,7 @@ function Zo() {
|
|
|
6836
6891
|
}, a: function(j) {
|
|
6837
6892
|
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
6838
6893
|
}, p: function(j) {
|
|
6839
|
-
return { M: y, y: M, w: g, d
|
|
6894
|
+
return { M: y, y: M, w: g, d, D: k, h: l, m: u, s: c, ms: s, Q: E }[j] || String(j || "").toLowerCase().replace(/s$/, "");
|
|
6840
6895
|
}, u: function(j) {
|
|
6841
6896
|
return j === void 0;
|
|
6842
6897
|
} }, m = "en", w = {};
|
|
@@ -6856,13 +6911,13 @@ function Zo() {
|
|
|
6856
6911
|
w[f] = P, z = f;
|
|
6857
6912
|
}
|
|
6858
6913
|
return !o && z && (m = z), z || !o && m;
|
|
6859
|
-
},
|
|
6914
|
+
}, h = function(j, P) {
|
|
6860
6915
|
if (_(j)) return j.clone();
|
|
6861
6916
|
var L = typeof P == "object" ? P : {};
|
|
6862
6917
|
return L.date = j, L.args = arguments, new H(L);
|
|
6863
6918
|
}, C = F;
|
|
6864
6919
|
C.l = b, C.i = _, C.w = function(j, P) {
|
|
6865
|
-
return
|
|
6920
|
+
return h(j, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
|
|
6866
6921
|
};
|
|
6867
6922
|
var H = function() {
|
|
6868
6923
|
function j(L) {
|
|
@@ -6892,12 +6947,12 @@ function Zo() {
|
|
|
6892
6947
|
}, P.isValid = function() {
|
|
6893
6948
|
return this.$d.toString() !== p;
|
|
6894
6949
|
}, P.isSame = function(L, o) {
|
|
6895
|
-
var z =
|
|
6950
|
+
var z = h(L);
|
|
6896
6951
|
return this.startOf(o) <= z && z <= this.endOf(o);
|
|
6897
6952
|
}, P.isAfter = function(L, o) {
|
|
6898
|
-
return
|
|
6953
|
+
return h(L) < this.startOf(o);
|
|
6899
6954
|
}, P.isBefore = function(L, o) {
|
|
6900
|
-
return this.endOf(o) <
|
|
6955
|
+
return this.endOf(o) < h(L);
|
|
6901
6956
|
}, P.$g = function(L, o, z) {
|
|
6902
6957
|
return C.u(L) ? this[o] : this.set(z, L);
|
|
6903
6958
|
}, P.unix = function() {
|
|
@@ -6907,7 +6962,7 @@ function Zo() {
|
|
|
6907
6962
|
}, P.startOf = function(L, o) {
|
|
6908
6963
|
var z = this, v = !!C.u(o) || o, n = C.p(L), f = function(K, G) {
|
|
6909
6964
|
var J = C.w(z.$u ? Date.UTC(z.$y, G, K) : new Date(z.$y, G, K), z);
|
|
6910
|
-
return v ? J : J.endOf(
|
|
6965
|
+
return v ? J : J.endOf(d);
|
|
6911
6966
|
}, O = function(K, G) {
|
|
6912
6967
|
return C.w(z.toDate()[K].apply(z.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), z);
|
|
6913
6968
|
}, I = this.$W, D = this.$M, N = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
@@ -6917,9 +6972,9 @@ function Zo() {
|
|
|
6917
6972
|
case y:
|
|
6918
6973
|
return v ? f(1, D) : f(0, D + 1);
|
|
6919
6974
|
case g:
|
|
6920
|
-
var U = this.$locale().weekStart || 0,
|
|
6921
|
-
return f(v ? N -
|
|
6922
|
-
case
|
|
6975
|
+
var U = this.$locale().weekStart || 0, q = (I < U ? I + 7 : I) - U;
|
|
6976
|
+
return f(v ? N - q : N + (6 - q), D);
|
|
6977
|
+
case d:
|
|
6923
6978
|
case k:
|
|
6924
6979
|
return O(V + "Hours", 0);
|
|
6925
6980
|
case l:
|
|
@@ -6934,7 +6989,7 @@ function Zo() {
|
|
|
6934
6989
|
}, P.endOf = function(L) {
|
|
6935
6990
|
return this.startOf(L, !1);
|
|
6936
6991
|
}, P.$set = function(L, o) {
|
|
6937
|
-
var z, v = C.p(L), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[
|
|
6992
|
+
var z, v = C.p(L), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[d] = n + "Date", z[k] = n + "Date", z[y] = n + "Month", z[M] = n + "FullYear", z[l] = n + "Hours", z[u] = n + "Minutes", z[c] = n + "Seconds", z[s] = n + "Milliseconds", z)[v], O = v === d ? this.$D + (o - this.$W) : o;
|
|
6938
6993
|
if (v === y || v === M) {
|
|
6939
6994
|
var I = this.clone().set(k, 1);
|
|
6940
6995
|
I.$d[f](O), I.init(), this.$d = I.set(k, Math.min(this.$D, I.daysInMonth())).$d;
|
|
@@ -6948,12 +7003,12 @@ function Zo() {
|
|
|
6948
7003
|
var z, v = this;
|
|
6949
7004
|
L = Number(L);
|
|
6950
7005
|
var n = C.p(o), f = function(D) {
|
|
6951
|
-
var N =
|
|
7006
|
+
var N = h(v);
|
|
6952
7007
|
return C.w(N.date(N.date() + Math.round(D * L)), v);
|
|
6953
7008
|
};
|
|
6954
7009
|
if (n === y) return this.set(y, this.$M + L);
|
|
6955
7010
|
if (n === M) return this.set(M, this.$y + L);
|
|
6956
|
-
if (n ===
|
|
7011
|
+
if (n === d) return f(1);
|
|
6957
7012
|
if (n === g) return f(7);
|
|
6958
7013
|
var O = (z = {}, z[u] = i, z[l] = a, z[c] = r, z)[n] || 1, I = this.$d.getTime() + L * O;
|
|
6959
7014
|
return C.w(I, this);
|
|
@@ -6964,7 +7019,7 @@ function Zo() {
|
|
|
6964
7019
|
if (!this.isValid()) return z.invalidDate || p;
|
|
6965
7020
|
var v = L || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this), f = this.$H, O = this.$m, I = this.$M, D = z.weekdays, N = z.months, V = z.meridiem, U = function(G, J, te, Z) {
|
|
6966
7021
|
return G && (G[J] || G(o, v)) || te[J].slice(0, Z);
|
|
6967
|
-
},
|
|
7022
|
+
}, q = function(G) {
|
|
6968
7023
|
return C.s(f % 12 || 12, G, "0");
|
|
6969
7024
|
}, K = V || function(G, J, te) {
|
|
6970
7025
|
var Z = G < 12 ? "AM" : "PM";
|
|
@@ -7002,9 +7057,9 @@ function Zo() {
|
|
|
7002
7057
|
case "HH":
|
|
7003
7058
|
return C.s(f, 2, "0");
|
|
7004
7059
|
case "h":
|
|
7005
|
-
return
|
|
7060
|
+
return q(1);
|
|
7006
7061
|
case "hh":
|
|
7007
|
-
return
|
|
7062
|
+
return q(2);
|
|
7008
7063
|
case "a":
|
|
7009
7064
|
return K(f, O, !0);
|
|
7010
7065
|
case "A":
|
|
@@ -7028,7 +7083,7 @@ function Zo() {
|
|
|
7028
7083
|
}, P.utcOffset = function() {
|
|
7029
7084
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
7030
7085
|
}, P.diff = function(L, o, z) {
|
|
7031
|
-
var v, n = this, f = C.p(o), O =
|
|
7086
|
+
var v, n = this, f = C.p(o), O = h(L), I = (O.utcOffset() - this.utcOffset()) * i, D = this - O, N = function() {
|
|
7032
7087
|
return C.m(n, O);
|
|
7033
7088
|
};
|
|
7034
7089
|
switch (f) {
|
|
@@ -7044,7 +7099,7 @@ function Zo() {
|
|
|
7044
7099
|
case g:
|
|
7045
7100
|
v = (D - I) / 6048e5;
|
|
7046
7101
|
break;
|
|
7047
|
-
case
|
|
7102
|
+
case d:
|
|
7048
7103
|
v = (D - I) / 864e5;
|
|
7049
7104
|
break;
|
|
7050
7105
|
case l:
|
|
@@ -7080,15 +7135,15 @@ function Zo() {
|
|
|
7080
7135
|
return this.$d.toUTCString();
|
|
7081
7136
|
}, j;
|
|
7082
7137
|
}(), T = H.prototype;
|
|
7083
|
-
return
|
|
7138
|
+
return h.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", d], ["$M", y], ["$y", M], ["$D", k]].forEach(function(j) {
|
|
7084
7139
|
T[j[1]] = function(P) {
|
|
7085
7140
|
return this.$g(P, j[0], j[1]);
|
|
7086
7141
|
};
|
|
7087
|
-
}),
|
|
7088
|
-
return j.$i || (j(P, H,
|
|
7089
|
-
},
|
|
7090
|
-
return
|
|
7091
|
-
},
|
|
7142
|
+
}), h.extend = function(j, P) {
|
|
7143
|
+
return j.$i || (j(P, H, h), j.$i = !0), h;
|
|
7144
|
+
}, h.locale = b, h.isDayjs = _, h.unix = function(j) {
|
|
7145
|
+
return h(1e3 * j);
|
|
7146
|
+
}, h.en = w[m], h.Ls = w, h.p = {}, h;
|
|
7092
7147
|
});
|
|
7093
7148
|
}(ft)), ft.exports;
|
|
7094
7149
|
}
|
|
@@ -7112,9 +7167,9 @@ function ts() {
|
|
|
7112
7167
|
}, l.local = function() {
|
|
7113
7168
|
return u(this.toDate(), { locale: this.$L, utc: !1 });
|
|
7114
7169
|
};
|
|
7115
|
-
var
|
|
7170
|
+
var d = l.parse;
|
|
7116
7171
|
l.parse = function(p) {
|
|
7117
|
-
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset),
|
|
7172
|
+
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), d.call(this, p);
|
|
7118
7173
|
};
|
|
7119
7174
|
var g = l.init;
|
|
7120
7175
|
l.init = function() {
|
|
@@ -7359,7 +7414,7 @@ const Es = ({
|
|
|
7359
7414
|
value: c,
|
|
7360
7415
|
initialValue: u,
|
|
7361
7416
|
onChange: l,
|
|
7362
|
-
onFocus:
|
|
7417
|
+
onFocus: d,
|
|
7363
7418
|
onBlur: g,
|
|
7364
7419
|
inputStyles: y,
|
|
7365
7420
|
containerStyles: E,
|
|
@@ -7368,7 +7423,7 @@ const Es = ({
|
|
|
7368
7423
|
const k = (S) => {
|
|
7369
7424
|
l?.(S.currentTarget.value);
|
|
7370
7425
|
}, p = (S) => {
|
|
7371
|
-
|
|
7426
|
+
d?.();
|
|
7372
7427
|
}, R = (S) => {
|
|
7373
7428
|
g?.();
|
|
7374
7429
|
};
|
|
@@ -7445,8 +7500,8 @@ const Es = ({
|
|
|
7445
7500
|
styles: r,
|
|
7446
7501
|
durationInSeconds: i = 3
|
|
7447
7502
|
}) => {
|
|
7448
|
-
const a =
|
|
7449
|
-
return
|
|
7503
|
+
const a = B.useRef(!1), { isItemVisible: s, hideItem: c } = Ct();
|
|
7504
|
+
return B.useEffect(() => {
|
|
7450
7505
|
const u = s(e);
|
|
7451
7506
|
a.current !== u && (a.current = u, u && setTimeout(() => c(e), i * 1e3));
|
|
7452
7507
|
}, [a, s, c]), /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
@@ -7509,7 +7564,7 @@ export {
|
|
|
7509
7564
|
gs as Form,
|
|
7510
7565
|
On as FormsHelper,
|
|
7511
7566
|
ys as Image,
|
|
7512
|
-
|
|
7567
|
+
Bo as InputField,
|
|
7513
7568
|
bs as Loader,
|
|
7514
7569
|
ws as Modal,
|
|
7515
7570
|
ps as NavigationProvider,
|