@eliseubatista99/react-scaffold-core 0.1.78 → 0.1.80
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/stories/form.stories.d.ts +8 -0
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +255 -255
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -81,7 +81,7 @@ function En() {
|
|
|
81
81
|
switch (n) {
|
|
82
82
|
case p:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case
|
|
84
|
+
case x:
|
|
85
85
|
return "Profiler";
|
|
86
86
|
case I:
|
|
87
87
|
return "StrictMode";
|
|
@@ -217,13 +217,13 @@ function En() {
|
|
|
217
217
|
if ($)
|
|
218
218
|
if (R(V)) {
|
|
219
219
|
for ($ = 0; $ < V.length; $++)
|
|
220
|
-
|
|
220
|
+
O(V[$]);
|
|
221
221
|
Object.freeze && Object.freeze(V);
|
|
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
|
|
226
|
+
else O(V);
|
|
227
227
|
if (A.call(f, "key")) {
|
|
228
228
|
V = e(n);
|
|
229
229
|
var K = Object.keys(f).filter(function(J) {
|
|
@@ -261,10 +261,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
261
261
|
W
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function O(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var j = B, M = Symbol.for("react.transitional.element"), P = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"),
|
|
267
|
+
var j = B, M = Symbol.for("react.transitional.element"), P = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), k = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, R = Array.isArray, _ = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
j = {
|
|
@@ -374,14 +374,14 @@ var _t, or;
|
|
|
374
374
|
function Tn() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = u || h || Function("return this")(),
|
|
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, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = u || h || Function("return this")(), O = Object.prototype, j = O.toString, M = Math.max, P = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, b, w) {
|
|
381
381
|
var E, y, d, k, A, R, _ = 0, C = !1, T = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
b = q(b) || 0,
|
|
384
|
+
b = q(b) || 0, x(w) && (C = !!w.leading, T = "maxWait" in w, d = T ? M(q(w.maxWait) || 0, b) : d, o = "trailing" in w ? !!w.trailing : o);
|
|
385
385
|
function z(W) {
|
|
386
386
|
var V = E, K = y;
|
|
387
387
|
return E = y = void 0, _ = W, k = v.apply(K, V), k;
|
|
@@ -424,7 +424,7 @@ function Tn() {
|
|
|
424
424
|
}
|
|
425
425
|
return N.cancel = L, N.flush = H, N;
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function x(v) {
|
|
428
428
|
var b = typeof v;
|
|
429
429
|
return !!v && (b == "object" || b == "function");
|
|
430
430
|
}
|
|
@@ -439,9 +439,9 @@ function Tn() {
|
|
|
439
439
|
return v;
|
|
440
440
|
if (U(v))
|
|
441
441
|
return t;
|
|
442
|
-
if (
|
|
442
|
+
if (x(v)) {
|
|
443
443
|
var b = typeof v.valueOf == "function" ? v.valueOf() : v;
|
|
444
|
-
v =
|
|
444
|
+
v = x(b) ? b + "" : b;
|
|
445
445
|
}
|
|
446
446
|
if (typeof v != "string")
|
|
447
447
|
return v === 0 ? v : +v;
|
|
@@ -628,7 +628,7 @@ function Ke() {
|
|
|
628
628
|
var g = Y.safePreventDefault = function(n) {
|
|
629
629
|
var f = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
630
|
f.includes(n._reactName) || n.preventDefault();
|
|
631
|
-
},
|
|
631
|
+
}, O = Y.getOnDemandLazySlides = function(n) {
|
|
632
632
|
for (var f = [], S = j(n), $ = M(n), L = S; L < $; L++)
|
|
633
633
|
n.lazyLoadedList.indexOf(L) < 0 && f.push(L);
|
|
634
634
|
return f;
|
|
@@ -648,7 +648,7 @@ function Ke() {
|
|
|
648
648
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
649
649
|
}, I = Y.getWidth = function(n) {
|
|
650
650
|
return n && n.offsetWidth || 0;
|
|
651
|
-
},
|
|
651
|
+
}, x = Y.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
653
|
}, F = Y.getSwipeDirection = function(n) {
|
|
654
654
|
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, $, L, H;
|
|
@@ -670,9 +670,9 @@ function Ke() {
|
|
|
670
670
|
var W = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
671
671
|
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= $ / 100), N = Math.ceil(($ - W) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
|
-
var V = S &&
|
|
673
|
+
var V = S && x(S.querySelector('[data-index="0"]')), K = V * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
674
|
n.rtl && n.currentSlide === void 0 && (X = f - 1 - n.initialSlide);
|
|
675
|
-
var J = n.lazyLoadedList || [], te =
|
|
675
|
+
var J = n.lazyLoadedList || [], te = O(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: X,
|
|
677
677
|
lazyLoadedList: J
|
|
678
678
|
}));
|
|
@@ -708,7 +708,7 @@ function Ke() {
|
|
|
708
708
|
slideIndex: ee
|
|
709
709
|
})), Q = d(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
711
|
-
})), L || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(
|
|
711
|
+
})), L || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(O(s(s({}, n), {}, {
|
|
712
712
|
currentSlide: ee
|
|
713
713
|
})))), te ? (oe = {
|
|
714
714
|
animating: !0,
|
|
@@ -853,7 +853,7 @@ function Ke() {
|
|
|
853
853
|
var S, $ = n.listRef, L = $.querySelectorAll && $.querySelectorAll(".slick-slide") || [];
|
|
854
854
|
if (Array.from(L).every(function(W) {
|
|
855
855
|
if (n.vertical) {
|
|
856
|
-
if (W.offsetTop +
|
|
856
|
+
if (W.offsetTop + x(W) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return S = W, !1;
|
|
858
858
|
} else if (W.offsetLeft - f + I(W) / 2 > n.swipeLeft * -1)
|
|
859
859
|
return S = W, !1;
|
|
@@ -999,7 +999,7 @@ function jn() {
|
|
|
999
999
|
return k.__proto__ = A, k;
|
|
1000
1000
|
}, g(y, d);
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1002
|
+
function O(y) {
|
|
1003
1003
|
var d = P();
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var k, A = p(y);
|
|
@@ -1044,7 +1044,7 @@ function jn() {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
return k;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function x(y) {
|
|
1048
1048
|
for (var d = 1; d < arguments.length; d++) {
|
|
1049
1049
|
var k = arguments[d] != null ? arguments[d] : {};
|
|
1050
1050
|
d % 2 ? I(Object(k), !0).forEach(function(A) {
|
|
@@ -1101,9 +1101,9 @@ function jn() {
|
|
|
1101
1101
|
currentSlide: d.currentSlide
|
|
1102
1102
|
};
|
|
1103
1103
|
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n = z : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
-
var S = b(
|
|
1104
|
+
var S = b(x(x({}, d), {}, {
|
|
1105
1105
|
index: m
|
|
1106
|
-
})), $ = n.props.className || "", L = v(
|
|
1106
|
+
})), $ = n.props.className || "", L = v(x(x({}, d), {}, {
|
|
1107
1107
|
index: m
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
@@ -1112,7 +1112,7 @@ function jn() {
|
|
|
1112
1112
|
className: (0, t.default)(L, $),
|
|
1113
1113
|
tabIndex: "-1",
|
|
1114
1114
|
"aria-hidden": !L["slick-active"],
|
|
1115
|
-
style:
|
|
1115
|
+
style: x(x({
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), S),
|
|
1118
1118
|
onClick: function(W) {
|
|
@@ -1120,7 +1120,7 @@ function jn() {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
})), d.infinite && C > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
1122
|
var H = C - m;
|
|
1123
|
-
H <= (0, r.getPreClones)(d) && (k = -H, k >= T && (n = z), L = v(
|
|
1123
|
+
H <= (0, r.getPreClones)(d) && (k = -H, k >= T && (n = z), L = v(x(x({}, d), {}, {
|
|
1124
1124
|
index: k
|
|
1125
1125
|
})), R.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
1126
|
key: "precloned" + w(n, k),
|
|
@@ -1128,11 +1128,11 @@ function jn() {
|
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
1129
|
className: (0, t.default)(L, $),
|
|
1130
1130
|
"aria-hidden": !L["slick-active"],
|
|
1131
|
-
style:
|
|
1131
|
+
style: x(x({}, n.props.style || {}), S),
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), m < (0, r.getPostClones)(d) && (k = C + m, k < o && (n = z), L = v(
|
|
1135
|
+
}))), m < (0, r.getPostClones)(d) && (k = C + m, k < o && (n = z), L = v(x(x({}, d), {}, {
|
|
1136
1136
|
index: k
|
|
1137
1137
|
})), _.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
1138
|
key: "postcloned" + w(n, k),
|
|
@@ -1140,7 +1140,7 @@ function jn() {
|
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
1141
|
className: (0, t.default)(L, $),
|
|
1142
1142
|
"aria-hidden": !L["slick-active"],
|
|
1143
|
-
style:
|
|
1143
|
+
style: x(x({}, n.props.style || {}), S),
|
|
1144
1144
|
onClick: function(W) {
|
|
1145
1145
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1146
1146
|
}
|
|
@@ -1150,7 +1150,7 @@ function jn() {
|
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1152
1152
|
h(k, y);
|
|
1153
|
-
var d =
|
|
1153
|
+
var d = O(k);
|
|
1154
1154
|
function k() {
|
|
1155
1155
|
var A;
|
|
1156
1156
|
c(this, k);
|
|
@@ -1218,7 +1218,7 @@ function Ln() {
|
|
|
1218
1218
|
return v;
|
|
1219
1219
|
}
|
|
1220
1220
|
function l(v, b, w) {
|
|
1221
|
-
return (b =
|
|
1221
|
+
return (b = O(b)) in v ? Object.defineProperty(v, b, { value: w, enumerable: !0, configurable: !0, writable: !0 }) : v[b] = w, v;
|
|
1222
1222
|
}
|
|
1223
1223
|
function u(v, b) {
|
|
1224
1224
|
if (!(v instanceof b)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -1226,13 +1226,13 @@ function Ln() {
|
|
|
1226
1226
|
function h(v, b) {
|
|
1227
1227
|
for (var w = 0; w < b.length; w++) {
|
|
1228
1228
|
var E = b[w];
|
|
1229
|
-
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v,
|
|
1229
|
+
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v, O(E.key), E);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
function g(v, b, w) {
|
|
1233
1233
|
return b && h(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function O(v) {
|
|
1236
1236
|
var b = j(v, "string");
|
|
1237
1237
|
return e(b) == "symbol" ? b : b + "";
|
|
1238
1238
|
}
|
|
@@ -1269,9 +1269,9 @@ function Ln() {
|
|
|
1269
1269
|
function I(v, b) {
|
|
1270
1270
|
if (b && (e(b) == "object" || typeof b == "function")) return b;
|
|
1271
1271
|
if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1272
|
-
return
|
|
1272
|
+
return x(v);
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function x(v) {
|
|
1275
1275
|
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1276
1276
|
return v;
|
|
1277
1277
|
}
|
|
@@ -1402,7 +1402,7 @@ function Dn() {
|
|
|
1402
1402
|
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v, j(E.key), E);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function O(v, b, w) {
|
|
1406
1406
|
return b && g(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1407
1407
|
}
|
|
1408
1408
|
function j(v) {
|
|
@@ -1436,10 +1436,10 @@ function Dn() {
|
|
|
1436
1436
|
var y = q(this).constructor;
|
|
1437
1437
|
w = Reflect.construct(E, arguments, y);
|
|
1438
1438
|
} else w = E.apply(this, arguments);
|
|
1439
|
-
return
|
|
1439
|
+
return x(this, w);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function x(v, b) {
|
|
1443
1443
|
if (b && (e(b) == "object" || typeof b == "function")) return b;
|
|
1444
1444
|
if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1445
1445
|
return F(v);
|
|
@@ -1469,7 +1469,7 @@ function Dn() {
|
|
|
1469
1469
|
function w() {
|
|
1470
1470
|
return h(this, w), b.apply(this, arguments);
|
|
1471
1471
|
}
|
|
1472
|
-
return
|
|
1472
|
+
return O(w, [{
|
|
1473
1473
|
key: "clickHandler",
|
|
1474
1474
|
value: function(y, d) {
|
|
1475
1475
|
d && d.preventDefault(), this.props.clickHandler(y, d);
|
|
@@ -1508,7 +1508,7 @@ function Dn() {
|
|
|
1508
1508
|
function w() {
|
|
1509
1509
|
return h(this, w), b.apply(this, arguments);
|
|
1510
1510
|
}
|
|
1511
|
-
return
|
|
1511
|
+
return O(w, [{
|
|
1512
1512
|
key: "clickHandler",
|
|
1513
1513
|
value: function(y, d) {
|
|
1514
1514
|
d && d.preventDefault(), this.props.clickHandler(y, d);
|
|
@@ -1852,15 +1852,15 @@ function ei() {
|
|
|
1852
1852
|
return _ && typeof Symbol == "function" && _.constructor === Symbol && _ !== Symbol.prototype ? "symbol" : typeof _;
|
|
1853
1853
|
}, g(R);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1856
|
-
return
|
|
1855
|
+
function O() {
|
|
1856
|
+
return O = Object.assign ? Object.assign.bind() : function(R) {
|
|
1857
1857
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1858
1858
|
var C = arguments[_];
|
|
1859
1859
|
for (var T in C)
|
|
1860
1860
|
({}).hasOwnProperty.call(C, T) && (R[T] = C[T]);
|
|
1861
1861
|
}
|
|
1862
1862
|
return R;
|
|
1863
|
-
},
|
|
1863
|
+
}, O.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
1865
|
function j(R, _) {
|
|
1866
1866
|
if (R == null) return {};
|
|
@@ -1906,14 +1906,14 @@ function ei() {
|
|
|
1906
1906
|
function I(R, _) {
|
|
1907
1907
|
if (!(R instanceof _)) throw new TypeError("Cannot call a class as a function");
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1909
|
+
function x(R, _) {
|
|
1910
1910
|
for (var C = 0; C < _.length; C++) {
|
|
1911
1911
|
var T = _[C];
|
|
1912
1912
|
T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(R, k(T.key), T);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
function F(R, _, C) {
|
|
1916
|
-
return _ &&
|
|
1916
|
+
return _ && x(R.prototype, _), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
1917
1917
|
}
|
|
1918
1918
|
function U(R, _) {
|
|
1919
1919
|
if (typeof _ != "function" && _ !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -2336,9 +2336,9 @@ function ei() {
|
|
|
2336
2336
|
}, ee = {
|
|
2337
2337
|
className: m,
|
|
2338
2338
|
style: o.props.style
|
|
2339
|
-
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : N, /* @__PURE__ */ e.default.createElement("div",
|
|
2339
|
+
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : N, /* @__PURE__ */ e.default.createElement("div", O({
|
|
2340
2340
|
ref: o.listRefHandler
|
|
2341
|
-
}, Z), /* @__PURE__ */ e.default.createElement(s.Track,
|
|
2341
|
+
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, O({
|
|
2342
2342
|
ref: o.trackRefHandler
|
|
2343
2343
|
}, f), o.props.children)), o.props.unslick ? "" : W, o.props.unslick ? "" : $);
|
|
2344
2344
|
}), o.list = null, o.track = null, o.state = p(p({}, t.default), {}, {
|
|
@@ -2449,7 +2449,7 @@ function ni() {
|
|
|
2449
2449
|
}
|
|
2450
2450
|
return E;
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2452
|
+
function O(E, y) {
|
|
2453
2453
|
if (!(E instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
2455
|
function j(E, y) {
|
|
@@ -2478,10 +2478,10 @@ function ni() {
|
|
|
2478
2478
|
var A = q(this).constructor;
|
|
2479
2479
|
d = Reflect.construct(k, arguments, A);
|
|
2480
2480
|
} else d = k.apply(this, arguments);
|
|
2481
|
-
return
|
|
2481
|
+
return x(this, d);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function x(E, y) {
|
|
2485
2485
|
if (y && (l(y) == "object" || typeof y == "function")) return y;
|
|
2486
2486
|
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2487
2487
|
return F(E);
|
|
@@ -2527,7 +2527,7 @@ function ni() {
|
|
|
2527
2527
|
var y = I(d);
|
|
2528
2528
|
function d(k) {
|
|
2529
2529
|
var A;
|
|
2530
|
-
return
|
|
2530
|
+
return O(this, d), A = y.call(this, k), v(F(A), "innerSliderRefHandler", function(R) {
|
|
2531
2531
|
return A.innerSlider = R;
|
|
2532
2532
|
}), v(F(A), "slickPrev", function() {
|
|
2533
2533
|
return A.innerSlider.slickPrev();
|
|
@@ -2866,12 +2866,12 @@ function Oi(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, l, u) {
|
|
2869
|
-
for (var h = 0, g = 0,
|
|
2869
|
+
for (var h = 0, g = 0, O = c, j = 0, M = 0, P = 0, p = 1, I = 1, x = 1, F = 0, U = "", q = a, v = s, b = i, w = U; I; )
|
|
2870
2870
|
switch (P = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (P != 108 && fe(w,
|
|
2874
|
-
Ht(w += ne(st(F), "&", "&\f"), "&\f") != -1 && (
|
|
2873
|
+
if (P != 108 && fe(w, O - 1) == 58) {
|
|
2874
|
+
Ht(w += ne(st(F), "&", "&\f"), "&\f") != -1 && (x = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
2877
|
// " ' [
|
|
@@ -2904,7 +2904,7 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
l[h++] = ge(w) *
|
|
2907
|
+
l[h++] = ge(w) * x;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
@@ -2916,16 +2916,16 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + g:
|
|
2919
|
-
|
|
2919
|
+
x == -1 && (w = ne(w, /\f/g, "")), M > 0 && ge(w) - O && it(M > 32 ? wr(w + ";", i, r, O - 1) : wr(ne(w, " ", "") + ";", i, r, O - 2), u);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
2923
|
w += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(b = br(w, t, r, h, g, a, l, U, q = [], v = [],
|
|
2926
|
+
if (it(b = br(w, t, r, h, g, a, l, U, q = [], v = [], O), s), F === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
|
-
lt(w, t, b, b, q, s,
|
|
2928
|
+
lt(w, t, b, b, q, s, O, l, v);
|
|
2929
2929
|
else
|
|
2930
2930
|
switch (j === 99 && fe(w, 3) === 110 ? 100 : j) {
|
|
2931
2931
|
// d l m s
|
|
@@ -2933,17 +2933,17 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e, b, b, i && it(br(e, b, b, 0, 0, a, l, U, a, q = [],
|
|
2936
|
+
lt(e, b, b, i && it(br(e, b, b, 0, 0, a, l, U, a, q = [], O), v), a, v, O, l, i ? q : v);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
2939
|
lt(w, b, b, b, [""], v, 0, l, v);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
h = g = M = 0, p =
|
|
2942
|
+
h = g = M = 0, p = x = 1, U = w = "", O = c;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
|
|
2946
|
+
O = 1 + ge(w), M = P;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (F == 123)
|
|
@@ -2954,15 +2954,15 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2954
2954
|
switch (w += wt(F), F * p) {
|
|
2955
2955
|
// &
|
|
2956
2956
|
case 38:
|
|
2957
|
-
|
|
2957
|
+
x = g > 0 ? 1 : (w += "\f", -1);
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
l[h++] = (ge(w) - 1) *
|
|
2961
|
+
l[h++] = (ge(w) - 1) * x, x = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
be() === 45 && (w += st(me())), j = be(), g =
|
|
2965
|
+
be() === 45 && (w += st(me())), j = be(), g = O = ge(U = w += xi(ot())), F++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
@@ -2972,9 +2972,9 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, c, l, u, h, g) {
|
|
2975
|
-
for (var
|
|
2976
|
-
for (var
|
|
2977
|
-
(U = Vr(p > 0 ? j[
|
|
2975
|
+
for (var O = a - 1, j = a === 0 ? s : [""], M = Xt(j), P = 0, p = 0, I = 0; P < i; ++P)
|
|
2976
|
+
for (var x = 0, F = Be(e, O + 1, O = di(p = c[P])), U = e; x < M; ++x)
|
|
2977
|
+
(U = Vr(p > 0 ? j[x] + " " + F : ne(F, /&\f/g, j[x]))) && (u[I++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? Bt : l, u, h, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function ki(e, t, r) {
|
|
@@ -3259,20 +3259,20 @@ var Di = function(t, r, i, a) {
|
|
|
3259
3259
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
3260
3260
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
3261
3261
|
function(p) {
|
|
3262
|
-
for (var I = p.getAttribute("data-emotion").split(" "),
|
|
3263
|
-
s[I[
|
|
3262
|
+
for (var I = p.getAttribute("data-emotion").split(" "), x = 1; x < I.length; x++)
|
|
3263
|
+
s[I[x]] = !0;
|
|
3264
3264
|
l.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
3267
|
var u, h = [ji, Li];
|
|
3268
3268
|
{
|
|
3269
|
-
var g,
|
|
3269
|
+
var g, O = [Ci, Ei(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})], j = Pi(h.concat(a,
|
|
3271
|
+
})], j = Pi(h.concat(a, O)), M = function(I) {
|
|
3272
3272
|
return Te(Oi(I), j);
|
|
3273
3273
|
};
|
|
3274
|
-
u = function(I,
|
|
3275
|
-
g = F, M(I ? I + "{" +
|
|
3274
|
+
u = function(I, x, F, U) {
|
|
3275
|
+
g = F, M(I ? I + "{" + x.styles + "}" : x.styles), U && (P.inserted[x.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
3278
|
var P = {
|
|
@@ -3452,8 +3452,8 @@ function Xe(e, t, r) {
|
|
|
3452
3452
|
var g = r;
|
|
3453
3453
|
if (t == null)
|
|
3454
3454
|
return g;
|
|
3455
|
-
var
|
|
3456
|
-
return
|
|
3455
|
+
var O = t[g];
|
|
3456
|
+
return O !== void 0 ? O : g;
|
|
3457
3457
|
}
|
|
3458
3458
|
function Ui(e, t, r) {
|
|
3459
3459
|
var i = "";
|
|
@@ -3505,9 +3505,9 @@ function Yi(e, t, r) {
|
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
3506
|
for (var h = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
3507
|
h += "-" + g[1];
|
|
3508
|
-
var
|
|
3508
|
+
var O = Hi(a) + h;
|
|
3509
3509
|
return {
|
|
3510
|
-
name:
|
|
3510
|
+
name: O,
|
|
3511
3511
|
styles: a,
|
|
3512
3512
|
next: ye
|
|
3513
3513
|
};
|
|
@@ -3562,16 +3562,16 @@ var Xi = function(t) {
|
|
|
3562
3562
|
r !== void 0 && (s = r.label, c = r.target);
|
|
3563
3563
|
var l = Pr(t, r, i), u = l || Cr(a), h = !u("as");
|
|
3564
3564
|
return function() {
|
|
3565
|
-
var g = arguments,
|
|
3566
|
-
if (s !== void 0 &&
|
|
3567
|
-
|
|
3565
|
+
var g = arguments, O = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
|
+
if (s !== void 0 && O.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3567
|
+
O.push.apply(O, g);
|
|
3568
3568
|
else {
|
|
3569
3569
|
var j = g[0];
|
|
3570
|
-
|
|
3570
|
+
O.push(j[0]);
|
|
3571
3571
|
for (var M = g.length, P = 1; P < M; P++)
|
|
3572
|
-
|
|
3572
|
+
O.push(g[P], j[P]);
|
|
3573
3573
|
}
|
|
3574
|
-
var p = Xi(function(I,
|
|
3574
|
+
var p = Xi(function(I, x, F) {
|
|
3575
3575
|
var U = h && I.as || a, q = "", v = [], b = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
3577
|
b = {};
|
|
@@ -3579,27 +3579,27 @@ var Xi = function(t) {
|
|
|
3579
3579
|
b[w] = I[w];
|
|
3580
3580
|
b.theme = D.useContext(Gi);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof I.className == "string" ? q = Ai(
|
|
3583
|
-
var E = Yi(
|
|
3584
|
-
q +=
|
|
3582
|
+
typeof I.className == "string" ? q = Ai(x.registered, v, I.className) : I.className != null && (q = I.className + " ");
|
|
3583
|
+
var E = Yi(O.concat(v), x.registered, b);
|
|
3584
|
+
q += x.key + "-" + E.name, c !== void 0 && (q += " " + c);
|
|
3585
3585
|
var y = h && l === void 0 ? Cr(U) : u, d = {};
|
|
3586
3586
|
for (var k in I)
|
|
3587
3587
|
h && k === "as" || y(k) && (d[k] = I[k]);
|
|
3588
3588
|
return d.className = q, F && (d.ref = F), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement(ea, {
|
|
3589
|
-
cache:
|
|
3589
|
+
cache: x,
|
|
3590
3590
|
serialized: E,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ D.createElement(U, d));
|
|
3593
3593
|
});
|
|
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 =
|
|
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 = O, p.__emotion_forwardProp = l, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
3596
3596
|
return "." + c;
|
|
3597
3597
|
}
|
|
3598
|
-
}), p.withComponent = function(I,
|
|
3599
|
-
var F = e(I, zt({}, r,
|
|
3600
|
-
shouldForwardProp: Pr(p,
|
|
3598
|
+
}), p.withComponent = function(I, x) {
|
|
3599
|
+
var F = e(I, zt({}, r, x, {
|
|
3600
|
+
shouldForwardProp: Pr(p, x, !0)
|
|
3601
3601
|
}));
|
|
3602
|
-
return F.apply(void 0,
|
|
3602
|
+
return F.apply(void 0, O);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
3605
|
}, ra = [
|
|
@@ -3848,7 +3848,7 @@ const na = Pe.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const h = t.map((
|
|
3851
|
+
const h = t.map((O, j) => /* @__PURE__ */ G.jsx(
|
|
3852
3852
|
ia,
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: j === 0 ? l : void 0,
|
|
@@ -3856,20 +3856,20 @@ const na = Pe.div`
|
|
|
3856
3856
|
paddingRight: `${i}px`,
|
|
3857
3857
|
overflow: "visible",
|
|
3858
3858
|
// marginLeft: index !== 0 ? "0px" : margin,
|
|
3859
|
-
...
|
|
3859
|
+
...O.styles
|
|
3860
3860
|
},
|
|
3861
3861
|
"data-testid": "carousel-slide-item",
|
|
3862
|
-
children:
|
|
3862
|
+
children: O.content
|
|
3863
3863
|
}
|
|
3864
3864
|
)), g = () => {
|
|
3865
3865
|
if (u.slidesToShow) {
|
|
3866
3866
|
s(u.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const
|
|
3870
|
-
let M = Math.floor(
|
|
3869
|
+
const O = (c.current?.offsetWidth || i + 1) - i, j = l.current?.offsetWidth || 1;
|
|
3870
|
+
let M = Math.floor(O / j);
|
|
3871
3871
|
M < 1 ? M = 1 : M > t.length && (M = t.length), console.debug("Slides to show > ", {
|
|
3872
|
-
container:
|
|
3872
|
+
container: O,
|
|
3873
3873
|
slide: j,
|
|
3874
3874
|
res: M
|
|
3875
3875
|
}), s(M);
|
|
@@ -3953,7 +3953,7 @@ const na = Pe.div`
|
|
|
3953
3953
|
p && (u.current = p, r?.(p));
|
|
3954
3954
|
},
|
|
3955
3955
|
[h]
|
|
3956
|
-
),
|
|
3956
|
+
), O = B.useCallback(
|
|
3957
3957
|
(P) => {
|
|
3958
3958
|
u.current.isDragging = !1;
|
|
3959
3959
|
const p = h(c);
|
|
@@ -3983,15 +3983,15 @@ const na = Pe.div`
|
|
|
3983
3983
|
}, [M]), B.useEffect(() => {
|
|
3984
3984
|
j();
|
|
3985
3985
|
}, [c]), B.useEffect(() => {
|
|
3986
|
-
l !== s.current && (s.current = l, l ||
|
|
3986
|
+
l !== s.current && (s.current = l, l || O());
|
|
3987
3987
|
}, [l, s.current]);
|
|
3988
3988
|
}, is = () => {
|
|
3989
3989
|
const e = (l, u) => {
|
|
3990
3990
|
if (!u) return l;
|
|
3991
3991
|
const h = new URLSearchParams();
|
|
3992
|
-
for (const
|
|
3993
|
-
const j = u[
|
|
3994
|
-
Array.isArray(j) ? j.forEach((M) => h.append(
|
|
3992
|
+
for (const O in u) {
|
|
3993
|
+
const j = u[O];
|
|
3994
|
+
Array.isArray(j) ? j.forEach((M) => h.append(O, String(M))) : j != null && h.append(O, String(j));
|
|
3995
3995
|
}
|
|
3996
3996
|
const g = h.toString();
|
|
3997
3997
|
return g ? `${l}?${g}` : l;
|
|
@@ -4096,24 +4096,24 @@ function ca() {
|
|
|
4096
4096
|
if (p < 2)
|
|
4097
4097
|
return P;
|
|
4098
4098
|
const I = M?.decode || g;
|
|
4099
|
-
let
|
|
4099
|
+
let x = 0;
|
|
4100
4100
|
do {
|
|
4101
|
-
const F = j.indexOf("=",
|
|
4101
|
+
const F = j.indexOf("=", x);
|
|
4102
4102
|
if (F === -1)
|
|
4103
4103
|
break;
|
|
4104
|
-
const U = j.indexOf(";",
|
|
4104
|
+
const U = j.indexOf(";", x), q = U === -1 ? p : U;
|
|
4105
4105
|
if (F > q) {
|
|
4106
|
-
|
|
4106
|
+
x = j.lastIndexOf(";", F - 1) + 1;
|
|
4107
4107
|
continue;
|
|
4108
4108
|
}
|
|
4109
|
-
const v = l(j,
|
|
4109
|
+
const v = l(j, x, F), b = u(j, F, v), w = j.slice(v, b);
|
|
4110
4110
|
if (P[w] === void 0) {
|
|
4111
4111
|
let E = l(j, F + 1, q), y = u(j, q, E);
|
|
4112
4112
|
const d = I(j.slice(E, y));
|
|
4113
4113
|
P[w] = d;
|
|
4114
4114
|
}
|
|
4115
|
-
|
|
4116
|
-
} while (
|
|
4115
|
+
x = q + 1;
|
|
4116
|
+
} while (x < p);
|
|
4117
4117
|
return P;
|
|
4118
4118
|
}
|
|
4119
4119
|
function l(j, M, P) {
|
|
@@ -4139,39 +4139,39 @@ function ca() {
|
|
|
4139
4139
|
const I = p(M);
|
|
4140
4140
|
if (!t.test(I))
|
|
4141
4141
|
throw new TypeError(`argument val is invalid: ${M}`);
|
|
4142
|
-
let
|
|
4142
|
+
let x = j + "=" + I;
|
|
4143
4143
|
if (!P)
|
|
4144
|
-
return
|
|
4144
|
+
return x;
|
|
4145
4145
|
if (P.maxAge !== void 0) {
|
|
4146
4146
|
if (!Number.isInteger(P.maxAge))
|
|
4147
4147
|
throw new TypeError(`option maxAge is invalid: ${P.maxAge}`);
|
|
4148
|
-
|
|
4148
|
+
x += "; Max-Age=" + P.maxAge;
|
|
4149
4149
|
}
|
|
4150
4150
|
if (P.domain) {
|
|
4151
4151
|
if (!r.test(P.domain))
|
|
4152
4152
|
throw new TypeError(`option domain is invalid: ${P.domain}`);
|
|
4153
|
-
|
|
4153
|
+
x += "; Domain=" + P.domain;
|
|
4154
4154
|
}
|
|
4155
4155
|
if (P.path) {
|
|
4156
4156
|
if (!i.test(P.path))
|
|
4157
4157
|
throw new TypeError(`option path is invalid: ${P.path}`);
|
|
4158
|
-
|
|
4158
|
+
x += "; Path=" + P.path;
|
|
4159
4159
|
}
|
|
4160
4160
|
if (P.expires) {
|
|
4161
|
-
if (!
|
|
4161
|
+
if (!O(P.expires) || !Number.isFinite(P.expires.valueOf()))
|
|
4162
4162
|
throw new TypeError(`option expires is invalid: ${P.expires}`);
|
|
4163
|
-
|
|
4163
|
+
x += "; Expires=" + P.expires.toUTCString();
|
|
4164
4164
|
}
|
|
4165
|
-
if (P.httpOnly && (
|
|
4165
|
+
if (P.httpOnly && (x += "; HttpOnly"), P.secure && (x += "; Secure"), P.partitioned && (x += "; Partitioned"), P.priority)
|
|
4166
4166
|
switch (typeof P.priority == "string" ? P.priority.toLowerCase() : void 0) {
|
|
4167
4167
|
case "low":
|
|
4168
|
-
|
|
4168
|
+
x += "; Priority=Low";
|
|
4169
4169
|
break;
|
|
4170
4170
|
case "medium":
|
|
4171
|
-
|
|
4171
|
+
x += "; Priority=Medium";
|
|
4172
4172
|
break;
|
|
4173
4173
|
case "high":
|
|
4174
|
-
|
|
4174
|
+
x += "; Priority=High";
|
|
4175
4175
|
break;
|
|
4176
4176
|
default:
|
|
4177
4177
|
throw new TypeError(`option priority is invalid: ${P.priority}`);
|
|
@@ -4180,18 +4180,18 @@ function ca() {
|
|
|
4180
4180
|
switch (typeof P.sameSite == "string" ? P.sameSite.toLowerCase() : P.sameSite) {
|
|
4181
4181
|
case !0:
|
|
4182
4182
|
case "strict":
|
|
4183
|
-
|
|
4183
|
+
x += "; SameSite=Strict";
|
|
4184
4184
|
break;
|
|
4185
4185
|
case "lax":
|
|
4186
|
-
|
|
4186
|
+
x += "; SameSite=Lax";
|
|
4187
4187
|
break;
|
|
4188
4188
|
case "none":
|
|
4189
|
-
|
|
4189
|
+
x += "; SameSite=None";
|
|
4190
4190
|
break;
|
|
4191
4191
|
default:
|
|
4192
4192
|
throw new TypeError(`option sameSite is invalid: ${P.sameSite}`);
|
|
4193
4193
|
}
|
|
4194
|
-
return
|
|
4194
|
+
return x;
|
|
4195
4195
|
}
|
|
4196
4196
|
function g(j) {
|
|
4197
4197
|
if (j.indexOf("%") === -1)
|
|
@@ -4202,7 +4202,7 @@ function ca() {
|
|
|
4202
4202
|
return j;
|
|
4203
4203
|
}
|
|
4204
4204
|
}
|
|
4205
|
-
function
|
|
4205
|
+
function O(j) {
|
|
4206
4206
|
return a.call(j) === "[object Date]";
|
|
4207
4207
|
}
|
|
4208
4208
|
return Ye;
|
|
@@ -4300,14 +4300,14 @@ function ha(e, t, r, i = {}) {
|
|
|
4300
4300
|
function g() {
|
|
4301
4301
|
return (c.state || { idx: null }).idx;
|
|
4302
4302
|
}
|
|
4303
|
-
function
|
|
4303
|
+
function O() {
|
|
4304
4304
|
l = "POP";
|
|
4305
|
-
let I = g(),
|
|
4306
|
-
h = I, u && u({ action: l, location: p.location, delta:
|
|
4305
|
+
let I = g(), x = I == null ? null : I - h;
|
|
4306
|
+
h = I, u && u({ action: l, location: p.location, delta: x });
|
|
4307
4307
|
}
|
|
4308
|
-
function j(I,
|
|
4308
|
+
function j(I, x) {
|
|
4309
4309
|
l = "PUSH";
|
|
4310
|
-
let F = Ft(p.location, I,
|
|
4310
|
+
let F = Ft(p.location, I, x);
|
|
4311
4311
|
h = g() + 1;
|
|
4312
4312
|
let U = Tr(F, h), q = p.createHref(F);
|
|
4313
4313
|
try {
|
|
@@ -4319,9 +4319,9 @@ function ha(e, t, r, i = {}) {
|
|
|
4319
4319
|
}
|
|
4320
4320
|
s && u && u({ action: l, location: p.location, delta: 1 });
|
|
4321
4321
|
}
|
|
4322
|
-
function M(I,
|
|
4322
|
+
function M(I, x) {
|
|
4323
4323
|
l = "REPLACE";
|
|
4324
|
-
let F = Ft(p.location, I,
|
|
4324
|
+
let F = Ft(p.location, I, x);
|
|
4325
4325
|
h = g();
|
|
4326
4326
|
let U = Tr(F, h), q = p.createHref(F);
|
|
4327
4327
|
c.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
|
|
@@ -4339,8 +4339,8 @@ function ha(e, t, r, i = {}) {
|
|
|
4339
4339
|
listen(I) {
|
|
4340
4340
|
if (u)
|
|
4341
4341
|
throw new Error("A history only accepts one active listener");
|
|
4342
|
-
return a.addEventListener(_r,
|
|
4343
|
-
a.removeEventListener(_r,
|
|
4342
|
+
return a.addEventListener(_r, O), u = I, () => {
|
|
4343
|
+
a.removeEventListener(_r, O), u = null;
|
|
4344
4344
|
};
|
|
4345
4345
|
},
|
|
4346
4346
|
createHref(I) {
|
|
@@ -4348,11 +4348,11 @@ function ha(e, t, r, i = {}) {
|
|
|
4348
4348
|
},
|
|
4349
4349
|
createURL: P,
|
|
4350
4350
|
encodeLocation(I) {
|
|
4351
|
-
let
|
|
4351
|
+
let x = P(I);
|
|
4352
4352
|
return {
|
|
4353
|
-
pathname:
|
|
4354
|
-
search:
|
|
4355
|
-
hash:
|
|
4353
|
+
pathname: x.pathname,
|
|
4354
|
+
search: x.search,
|
|
4355
|
+
hash: x.hash
|
|
4356
4356
|
};
|
|
4357
4357
|
},
|
|
4358
4358
|
push: j,
|
|
@@ -4468,28 +4468,28 @@ function ka(e, t) {
|
|
|
4468
4468
|
function Ca(e, t, r = !1) {
|
|
4469
4469
|
let { routesMeta: i } = e, a = {}, s = "/", c = [];
|
|
4470
4470
|
for (let l = 0; l < i.length; ++l) {
|
|
4471
|
-
let u = i[l], h = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/",
|
|
4471
|
+
let u = i[l], h = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", O = gt(
|
|
4472
4472
|
{ path: u.relativePath, caseSensitive: u.caseSensitive, end: h },
|
|
4473
4473
|
g
|
|
4474
4474
|
), j = u.route;
|
|
4475
|
-
if (!
|
|
4475
|
+
if (!O && h && r && !i[i.length - 1].route.index && (O = gt(
|
|
4476
4476
|
{
|
|
4477
4477
|
path: u.relativePath,
|
|
4478
4478
|
caseSensitive: u.caseSensitive,
|
|
4479
4479
|
end: !1
|
|
4480
4480
|
},
|
|
4481
4481
|
g
|
|
4482
|
-
)), !
|
|
4482
|
+
)), !O)
|
|
4483
4483
|
return null;
|
|
4484
|
-
Object.assign(a,
|
|
4484
|
+
Object.assign(a, O.params), c.push({
|
|
4485
4485
|
// TODO: Can this as be avoided?
|
|
4486
4486
|
params: a,
|
|
4487
|
-
pathname: Se([s,
|
|
4487
|
+
pathname: Se([s, O.pathname]),
|
|
4488
4488
|
pathnameBase: ja(
|
|
4489
|
-
Se([s,
|
|
4489
|
+
Se([s, O.pathnameBase])
|
|
4490
4490
|
),
|
|
4491
4491
|
route: j
|
|
4492
|
-
}),
|
|
4492
|
+
}), O.pathnameBase !== "/" && (s = Se([s, O.pathnameBase]));
|
|
4493
4493
|
}
|
|
4494
4494
|
return c;
|
|
4495
4495
|
}
|
|
@@ -4504,13 +4504,13 @@ function gt(e, t) {
|
|
|
4504
4504
|
let s = a[0], c = s.replace(/(.)\/+$/, "$1"), l = a.slice(1);
|
|
4505
4505
|
return {
|
|
4506
4506
|
params: i.reduce(
|
|
4507
|
-
(h, { paramName: g, isOptional:
|
|
4507
|
+
(h, { paramName: g, isOptional: O }, j) => {
|
|
4508
4508
|
if (g === "*") {
|
|
4509
4509
|
let P = l[j] || "";
|
|
4510
4510
|
c = s.slice(0, s.length - P.length).replace(/(.)\/+$/, "$1");
|
|
4511
4511
|
}
|
|
4512
4512
|
const M = l[j];
|
|
4513
|
-
return
|
|
4513
|
+
return O && !M ? h[g] = void 0 : h[g] = (M || "").replace(/%2F/g, "/"), h;
|
|
4514
4514
|
},
|
|
4515
4515
|
{}
|
|
4516
4516
|
),
|
|
@@ -4597,14 +4597,14 @@ function sn(e, t, r, i = !1) {
|
|
|
4597
4597
|
if (c == null)
|
|
4598
4598
|
l = r;
|
|
4599
4599
|
else {
|
|
4600
|
-
let
|
|
4600
|
+
let O = t.length - 1;
|
|
4601
4601
|
if (!i && c.startsWith("..")) {
|
|
4602
4602
|
let j = c.split("/");
|
|
4603
4603
|
for (; j[0] === ".."; )
|
|
4604
|
-
j.shift(),
|
|
4604
|
+
j.shift(), O -= 1;
|
|
4605
4605
|
a.pathname = j.join("/");
|
|
4606
4606
|
}
|
|
4607
|
-
l =
|
|
4607
|
+
l = O >= 0 ? t[O] : "/";
|
|
4608
4608
|
}
|
|
4609
4609
|
let u = Ra(a, l), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
|
|
4610
4610
|
return !u.pathname.endsWith("/") && (h || g) && (u.pathname += "/"), u;
|
|
@@ -4749,28 +4749,28 @@ function dn(e, t, r, i) {
|
|
|
4749
4749
|
);
|
|
4750
4750
|
let { navigator: a } = D.useContext(we), { matches: s } = D.useContext(Oe), c = s[s.length - 1], l = c ? c.params : {}, u = c ? c.pathname : "/", h = c ? c.pathnameBase : "/", g = c && c.route;
|
|
4751
4751
|
{
|
|
4752
|
-
let
|
|
4752
|
+
let x = g && g.path || "";
|
|
4753
4753
|
hn(
|
|
4754
4754
|
u,
|
|
4755
|
-
!g ||
|
|
4756
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${
|
|
4755
|
+
!g || x.endsWith("*") || x.endsWith("*?"),
|
|
4756
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${x}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
4757
4757
|
|
|
4758
|
-
Please change the parent <Route path="${
|
|
4758
|
+
Please change the parent <Route path="${x}"> to <Route path="${x === "/" ? "*" : `${x}/*`}">.`
|
|
4759
4759
|
);
|
|
4760
4760
|
}
|
|
4761
|
-
let
|
|
4761
|
+
let O = ke(), j;
|
|
4762
4762
|
if (t) {
|
|
4763
|
-
let
|
|
4763
|
+
let x = typeof t == "string" ? Me(t) : t;
|
|
4764
4764
|
ae(
|
|
4765
|
-
h === "/" ||
|
|
4766
|
-
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${
|
|
4767
|
-
), j =
|
|
4765
|
+
h === "/" || x.pathname?.startsWith(h),
|
|
4766
|
+
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${x.pathname}" was given in the \`location\` prop.`
|
|
4767
|
+
), j = x;
|
|
4768
4768
|
} else
|
|
4769
|
-
j =
|
|
4769
|
+
j = O;
|
|
4770
4770
|
let M = j.pathname || "/", P = M;
|
|
4771
4771
|
if (h !== "/") {
|
|
4772
|
-
let
|
|
4773
|
-
P = "/" + M.replace(/^\//, "").split("/").slice(
|
|
4772
|
+
let x = h.replace(/^\//, "").split("/");
|
|
4773
|
+
P = "/" + M.replace(/^\//, "").split("/").slice(x.length).join("/");
|
|
4774
4774
|
}
|
|
4775
4775
|
let p = rn(e, { pathname: P });
|
|
4776
4776
|
ve(
|
|
@@ -4782,17 +4782,17 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4782
4782
|
);
|
|
4783
4783
|
let I = qa(
|
|
4784
4784
|
p && p.map(
|
|
4785
|
-
(
|
|
4786
|
-
params: Object.assign({}, l,
|
|
4785
|
+
(x) => Object.assign({}, x, {
|
|
4786
|
+
params: Object.assign({}, l, x.params),
|
|
4787
4787
|
pathname: Se([
|
|
4788
4788
|
h,
|
|
4789
4789
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4790
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4790
|
+
a.encodeLocation ? a.encodeLocation(x.pathname).pathname : x.pathname
|
|
4791
4791
|
]),
|
|
4792
|
-
pathnameBase:
|
|
4792
|
+
pathnameBase: x.pathnameBase === "/" ? h : Se([
|
|
4793
4793
|
h,
|
|
4794
4794
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4795
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4795
|
+
a.encodeLocation ? a.encodeLocation(x.pathnameBase).pathname : x.pathnameBase
|
|
4796
4796
|
])
|
|
4797
4797
|
})
|
|
4798
4798
|
),
|
|
@@ -4900,7 +4900,7 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4900
4900
|
for (let u = 0; u < a.length; u++) {
|
|
4901
4901
|
let h = a[u];
|
|
4902
4902
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (l = u), h.route.id) {
|
|
4903
|
-
let { loaderData: g, errors:
|
|
4903
|
+
let { loaderData: g, errors: O } = r, j = h.route.loader && !g.hasOwnProperty(h.route.id) && (!O || O[h.route.id] === void 0);
|
|
4904
4904
|
if (h.route.lazy || j) {
|
|
4905
4905
|
c = !0, l >= 0 ? a = a.slice(0, l + 1) : a = [a[0]];
|
|
4906
4906
|
break;
|
|
@@ -4908,15 +4908,15 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
return a.reduceRight((u, h, g) => {
|
|
4911
|
-
let
|
|
4912
|
-
r && (
|
|
4911
|
+
let O, j = !1, M = null, P = null;
|
|
4912
|
+
r && (O = s && h.route.id ? s[h.route.id] : void 0, M = h.route.errorElement || Wa, c && (l < 0 && g === 0 ? (hn(
|
|
4913
4913
|
"route-fallback",
|
|
4914
4914
|
!1,
|
|
4915
4915
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4916
4916
|
), j = !0, P = null) : l === g && (j = !0, P = h.route.hydrateFallbackElement || null)));
|
|
4917
4917
|
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
4918
|
-
let
|
|
4919
|
-
return
|
|
4918
|
+
let x;
|
|
4919
|
+
return O ? x = M : j ? x = P : h.route.Component ? x = /* @__PURE__ */ D.createElement(h.route.Component, null) : h.route.element ? x = h.route.element : x = u, /* @__PURE__ */ D.createElement(
|
|
4920
4920
|
Ya,
|
|
4921
4921
|
{
|
|
4922
4922
|
match: h,
|
|
@@ -4925,7 +4925,7 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4925
4925
|
matches: p,
|
|
4926
4926
|
isDataRoute: r != null
|
|
4927
4927
|
},
|
|
4928
|
-
children:
|
|
4928
|
+
children: x
|
|
4929
4929
|
}
|
|
4930
4930
|
);
|
|
4931
4931
|
};
|
|
@@ -4935,7 +4935,7 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4935
4935
|
location: r.location,
|
|
4936
4936
|
revalidation: r.revalidation,
|
|
4937
4937
|
component: M,
|
|
4938
|
-
error:
|
|
4938
|
+
error: O,
|
|
4939
4939
|
children: I(),
|
|
4940
4940
|
routeContext: { outlet: null, matches: p, isDataRoute: !0 }
|
|
4941
4941
|
}
|
|
@@ -5041,7 +5041,7 @@ function Qa({
|
|
|
5041
5041
|
pathname: u = "/",
|
|
5042
5042
|
search: h = "",
|
|
5043
5043
|
hash: g = "",
|
|
5044
|
-
state:
|
|
5044
|
+
state: O = null,
|
|
5045
5045
|
key: j = "default"
|
|
5046
5046
|
} = r, M = D.useMemo(() => {
|
|
5047
5047
|
let P = xe(u, c);
|
|
@@ -5050,12 +5050,12 @@ function Qa({
|
|
|
5050
5050
|
pathname: P,
|
|
5051
5051
|
search: h,
|
|
5052
5052
|
hash: g,
|
|
5053
|
-
state:
|
|
5053
|
+
state: O,
|
|
5054
5054
|
key: j
|
|
5055
5055
|
},
|
|
5056
5056
|
navigationType: i
|
|
5057
5057
|
};
|
|
5058
|
-
}, [c, u, h, g,
|
|
5058
|
+
}, [c, u, h, g, O, j, i]);
|
|
5059
5059
|
return ve(
|
|
5060
5060
|
M != null,
|
|
5061
5061
|
`<Router basename="${c}"> is not able to match the URL "${u}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
@@ -5188,11 +5188,11 @@ function uo(e, t) {
|
|
|
5188
5188
|
);
|
|
5189
5189
|
let u = e.getAttribute("formaction") || l.getAttribute("action");
|
|
5190
5190
|
if (i = u ? xe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !so()) {
|
|
5191
|
-
let { name: h, type: g, value:
|
|
5191
|
+
let { name: h, type: g, value: O } = e;
|
|
5192
5192
|
if (g === "image") {
|
|
5193
5193
|
let j = h ? `${h}.` : "";
|
|
5194
5194
|
s.append(`${j}x`, "0"), s.append(`${j}y`, "0");
|
|
5195
|
-
} else h && s.append(h,
|
|
5195
|
+
} else h && s.append(h, O);
|
|
5196
5196
|
}
|
|
5197
5197
|
} else {
|
|
5198
5198
|
if (kt(e))
|
|
@@ -5260,7 +5260,7 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5260
5260
|
if (c(u, h) || l(u, h))
|
|
5261
5261
|
return !0;
|
|
5262
5262
|
if (u.route.shouldRevalidate) {
|
|
5263
|
-
let
|
|
5263
|
+
let O = u.route.shouldRevalidate({
|
|
5264
5264
|
currentUrl: new URL(
|
|
5265
5265
|
a.pathname + a.search + a.hash,
|
|
5266
5266
|
window.origin
|
|
@@ -5270,8 +5270,8 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5270
5270
|
nextParams: u.params,
|
|
5271
5271
|
defaultShouldRevalidate: !0
|
|
5272
5272
|
});
|
|
5273
|
-
if (typeof
|
|
5274
|
-
return
|
|
5273
|
+
if (typeof O == "boolean")
|
|
5274
|
+
return O;
|
|
5275
5275
|
}
|
|
5276
5276
|
return !0;
|
|
5277
5277
|
}) : [];
|
|
@@ -5337,11 +5337,11 @@ function vn() {
|
|
|
5337
5337
|
), e;
|
|
5338
5338
|
}
|
|
5339
5339
|
function So(e, t) {
|
|
5340
|
-
let r = D.useContext(er), [i, a] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: h, onMouseLeave: g, onTouchStart:
|
|
5340
|
+
let r = D.useContext(er), [i, a] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: h, onMouseLeave: g, onTouchStart: O } = t, j = D.useRef(null);
|
|
5341
5341
|
D.useEffect(() => {
|
|
5342
5342
|
if (e === "render" && c(!0), e === "viewport") {
|
|
5343
|
-
let p = (
|
|
5344
|
-
|
|
5343
|
+
let p = (x) => {
|
|
5344
|
+
x.forEach((F) => {
|
|
5345
5345
|
c(F.isIntersecting);
|
|
5346
5346
|
});
|
|
5347
5347
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
@@ -5372,7 +5372,7 @@ function So(e, t) {
|
|
|
5372
5372
|
onBlur: qe(u, P),
|
|
5373
5373
|
onMouseEnter: qe(h, M),
|
|
5374
5374
|
onMouseLeave: qe(g, P),
|
|
5375
|
-
onTouchStart: qe(
|
|
5375
|
+
onTouchStart: qe(O, M)
|
|
5376
5376
|
}
|
|
5377
5377
|
] : [!1, j, {}];
|
|
5378
5378
|
}
|
|
@@ -5429,19 +5429,19 @@ function ko({
|
|
|
5429
5429
|
"assets"
|
|
5430
5430
|
),
|
|
5431
5431
|
[e, t, u, a, i]
|
|
5432
|
-
),
|
|
5432
|
+
), O = D.useMemo(() => {
|
|
5433
5433
|
if (e === i.pathname + i.search + i.hash)
|
|
5434
5434
|
return [];
|
|
5435
5435
|
let P = /* @__PURE__ */ new Set(), p = !1;
|
|
5436
|
-
if (t.forEach((
|
|
5437
|
-
let F = a.routes[
|
|
5438
|
-
!F || !F.hasLoader || (!h.some((U) => U.route.id ===
|
|
5436
|
+
if (t.forEach((x) => {
|
|
5437
|
+
let F = a.routes[x.route.id];
|
|
5438
|
+
!F || !F.hasLoader || (!h.some((U) => U.route.id === x.route.id) && x.route.id in l && s[x.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : P.add(x.route.id));
|
|
5439
5439
|
}), P.size === 0)
|
|
5440
5440
|
return [];
|
|
5441
5441
|
let I = bo(e, c);
|
|
5442
5442
|
return p && P.size > 0 && I.searchParams.set(
|
|
5443
5443
|
"_routes",
|
|
5444
|
-
t.filter((
|
|
5444
|
+
t.filter((x) => P.has(x.route.id)).map((x) => x.route.id).join(",")
|
|
5445
5445
|
), [I.pathname + I.search];
|
|
5446
5446
|
}, [
|
|
5447
5447
|
c,
|
|
@@ -5456,7 +5456,7 @@ function ko({
|
|
|
5456
5456
|
() => po(g, a),
|
|
5457
5457
|
[g, a]
|
|
5458
5458
|
), M = Oo(g);
|
|
5459
|
-
return /* @__PURE__ */ D.createElement(D.Fragment, null,
|
|
5459
|
+
return /* @__PURE__ */ D.createElement(D.Fragment, null, O.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), j.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "modulepreload", href: P, ...r })), M.map(({ key: P, link: p }) => (
|
|
5460
5460
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5461
5461
|
// already with their own props
|
|
5462
5462
|
/* @__PURE__ */ D.createElement("link", { key: P, ...p })
|
|
@@ -5513,14 +5513,14 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5513
5513
|
target: u,
|
|
5514
5514
|
to: h,
|
|
5515
5515
|
preventScrollReset: g,
|
|
5516
|
-
viewTransition:
|
|
5516
|
+
viewTransition: O,
|
|
5517
5517
|
...j
|
|
5518
5518
|
}, M) {
|
|
5519
|
-
let { basename: P } = D.useContext(we), p = typeof h == "string" && yn.test(h), I,
|
|
5519
|
+
let { basename: P } = D.useContext(we), p = typeof h == "string" && yn.test(h), I, x = !1;
|
|
5520
5520
|
if (typeof h == "string" && p && (I = h, gn))
|
|
5521
5521
|
try {
|
|
5522
5522
|
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), k = xe(d.pathname, P);
|
|
5523
|
-
d.origin === y.origin && k != null ? h = k + d.search + d.hash :
|
|
5523
|
+
d.origin === y.origin && k != null ? h = k + d.search + d.hash : x = !0;
|
|
5524
5524
|
} catch {
|
|
5525
5525
|
ve(
|
|
5526
5526
|
!1,
|
|
@@ -5536,7 +5536,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5536
5536
|
target: u,
|
|
5537
5537
|
preventScrollReset: g,
|
|
5538
5538
|
relative: a,
|
|
5539
|
-
viewTransition:
|
|
5539
|
+
viewTransition: O
|
|
5540
5540
|
});
|
|
5541
5541
|
function w(y) {
|
|
5542
5542
|
t && t(y), y.defaultPrevented || b(y);
|
|
@@ -5549,7 +5549,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5549
5549
|
...j,
|
|
5550
5550
|
...v,
|
|
5551
5551
|
href: I || F,
|
|
5552
|
-
onClick:
|
|
5552
|
+
onClick: x || s ? t : w,
|
|
5553
5553
|
ref: Co(M, q),
|
|
5554
5554
|
target: u,
|
|
5555
5555
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
@@ -5572,12 +5572,12 @@ var Eo = D.forwardRef(
|
|
|
5572
5572
|
children: u,
|
|
5573
5573
|
...h
|
|
5574
5574
|
}, g) {
|
|
5575
|
-
let
|
|
5575
|
+
let O = et(c, { relative: h.relative }), j = ke(), M = D.useContext(Ot), { navigator: P, basename: p } = D.useContext(we), I = M != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5576
5576
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5577
|
-
Io(
|
|
5578
|
-
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null,
|
|
5579
|
-
const q =
|
|
5580
|
-
let v = F ===
|
|
5577
|
+
Io(O) && l === !0, x = P.encodeLocation ? P.encodeLocation(O).pathname : O.pathname, F = j.pathname, U = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5578
|
+
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, x = x.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5579
|
+
const q = x !== "/" && x.endsWith("/") ? x.length - 1 : x.length;
|
|
5580
|
+
let v = F === x || !a && F.startsWith(x) && F.charAt(q) === "/", b = U != null && (U === x || !a && U.startsWith(x) && U.charAt(x.length) === "/"), w = {
|
|
5581
5581
|
isActive: v,
|
|
5582
5582
|
isPending: b,
|
|
5583
5583
|
isTransitioning: I
|
|
@@ -5618,10 +5618,10 @@ var Ro = D.forwardRef(
|
|
|
5618
5618
|
onSubmit: u,
|
|
5619
5619
|
relative: h,
|
|
5620
5620
|
preventScrollReset: g,
|
|
5621
|
-
viewTransition:
|
|
5621
|
+
viewTransition: O,
|
|
5622
5622
|
...j
|
|
5623
5623
|
}, M) => {
|
|
5624
|
-
let P = Mo(), p = $o(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post",
|
|
5624
|
+
let P = Mo(), p = $o(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", x = typeof l == "string" && yn.test(l), F = (U) => {
|
|
5625
5625
|
if (u && u(U), U.defaultPrevented) return;
|
|
5626
5626
|
U.preventDefault();
|
|
5627
5627
|
let q = U.nativeEvent.submitter, v = q?.getAttribute("formmethod") || c;
|
|
@@ -5633,7 +5633,7 @@ var Ro = D.forwardRef(
|
|
|
5633
5633
|
state: s,
|
|
5634
5634
|
relative: h,
|
|
5635
5635
|
preventScrollReset: g,
|
|
5636
|
-
viewTransition:
|
|
5636
|
+
viewTransition: O
|
|
5637
5637
|
});
|
|
5638
5638
|
};
|
|
5639
5639
|
return /* @__PURE__ */ D.createElement(
|
|
@@ -5644,7 +5644,7 @@ var Ro = D.forwardRef(
|
|
|
5644
5644
|
action: p,
|
|
5645
5645
|
onSubmit: i ? u : F,
|
|
5646
5646
|
...j,
|
|
5647
|
-
"data-discover": !
|
|
5647
|
+
"data-discover": !x && e === "render" ? "true" : void 0
|
|
5648
5648
|
}
|
|
5649
5649
|
);
|
|
5650
5650
|
}
|
|
@@ -5670,9 +5670,9 @@ function To(e, {
|
|
|
5670
5670
|
(g) => {
|
|
5671
5671
|
if (ao(g, t)) {
|
|
5672
5672
|
g.preventDefault();
|
|
5673
|
-
let
|
|
5673
|
+
let O = r !== void 0 ? r : Ge(u) === Ge(h);
|
|
5674
5674
|
l(e, {
|
|
5675
|
-
replace:
|
|
5675
|
+
replace: O,
|
|
5676
5676
|
state: i,
|
|
5677
5677
|
preventScrollReset: a,
|
|
5678
5678
|
relative: s,
|
|
@@ -5768,7 +5768,7 @@ function $o(e, { relative: t } = {}) {
|
|
|
5768
5768
|
s.search = c.search;
|
|
5769
5769
|
let l = new URLSearchParams(s.search), u = l.getAll("index");
|
|
5770
5770
|
if (u.some((g) => g === "")) {
|
|
5771
|
-
l.delete("index"), u.filter((
|
|
5771
|
+
l.delete("index"), u.filter((O) => O).forEach((O) => l.append("index", O));
|
|
5772
5772
|
let g = l.toString();
|
|
5773
5773
|
s.search = g ? `?${g}` : "";
|
|
5774
5774
|
}
|
|
@@ -5807,8 +5807,8 @@ const Sn = B.createContext({
|
|
|
5807
5807
|
), i = _e(
|
|
5808
5808
|
(h) => {
|
|
5809
5809
|
const g = {};
|
|
5810
|
-
return h.forEach((
|
|
5811
|
-
g[
|
|
5810
|
+
return h.forEach((O) => {
|
|
5811
|
+
g[O] = e.get(O);
|
|
5812
5812
|
}), g;
|
|
5813
5813
|
},
|
|
5814
5814
|
[e]
|
|
@@ -5820,15 +5820,15 @@ const Sn = B.createContext({
|
|
|
5820
5820
|
[e]
|
|
5821
5821
|
), s = _e(
|
|
5822
5822
|
(h, g) => {
|
|
5823
|
-
const
|
|
5824
|
-
|
|
5823
|
+
const O = new URLSearchParams(e);
|
|
5824
|
+
O.set(h, String(g)), t(O);
|
|
5825
5825
|
},
|
|
5826
5826
|
[e, t]
|
|
5827
5827
|
), c = _e(
|
|
5828
5828
|
(h) => {
|
|
5829
5829
|
const g = new URLSearchParams(e);
|
|
5830
|
-
Object.entries(h).forEach(([
|
|
5831
|
-
j != null && g.set(
|
|
5830
|
+
Object.entries(h).forEach(([O, j]) => {
|
|
5831
|
+
j != null && g.set(O, String(j));
|
|
5832
5832
|
}), t(g);
|
|
5833
5833
|
},
|
|
5834
5834
|
[e, t]
|
|
@@ -5841,8 +5841,8 @@ const Sn = B.createContext({
|
|
|
5841
5841
|
), u = _e(
|
|
5842
5842
|
(h) => {
|
|
5843
5843
|
const g = new URLSearchParams(e);
|
|
5844
|
-
h.forEach((
|
|
5845
|
-
g.delete(String(
|
|
5844
|
+
h.forEach((O) => {
|
|
5845
|
+
g.delete(String(O));
|
|
5846
5846
|
}), t(g);
|
|
5847
5847
|
},
|
|
5848
5848
|
[e, t]
|
|
@@ -5887,20 +5887,20 @@ const Sn = B.createContext({
|
|
|
5887
5887
|
routes: t,
|
|
5888
5888
|
children: r
|
|
5889
5889
|
}) => {
|
|
5890
|
-
const i = B.useRef([]), [a, s] = B.useState([]), c = B.useCallback((
|
|
5891
|
-
i.current =
|
|
5892
|
-
}, []), l = (
|
|
5890
|
+
const i = B.useRef([]), [a, s] = B.useState([]), c = B.useCallback((O) => {
|
|
5891
|
+
i.current = O, s(O);
|
|
5892
|
+
}, []), l = (O, j = !1) => {
|
|
5893
5893
|
let M = [...i.current];
|
|
5894
|
-
j && (M = M.slice(0, M.length - 1)), M = [...M,
|
|
5895
|
-
}, u = (
|
|
5894
|
+
j && (M = M.slice(0, M.length - 1)), M = [...M, O], c(M);
|
|
5895
|
+
}, u = (O) => {
|
|
5896
5896
|
let j = "", M = [];
|
|
5897
|
-
return i.current.length === 0 ? "/" : (i.current.length <=
|
|
5897
|
+
return i.current.length === 0 ? "/" : (i.current.length <= O ? (j = i.current[0], M = [j]) : (M = i.current.slice(
|
|
5898
5898
|
0,
|
|
5899
|
-
i.current.length -
|
|
5899
|
+
i.current.length - O
|
|
5900
5900
|
), j = M[M.length - 1]), c(M), j);
|
|
5901
|
-
}, h = (
|
|
5902
|
-
c(
|
|
5903
|
-
}, g = t.map((
|
|
5901
|
+
}, h = (O) => {
|
|
5902
|
+
c(O);
|
|
5903
|
+
}, g = t.map((O) => /* @__PURE__ */ G.jsx(pn, { path: O.path, element: O.render }));
|
|
5904
5904
|
return /* @__PURE__ */ G.jsx(
|
|
5905
5905
|
Sn.Provider,
|
|
5906
5906
|
{
|
|
@@ -5972,7 +5972,7 @@ const Sn = B.createContext({
|
|
|
5972
5972
|
}) => {
|
|
5973
5973
|
const { isItemVisible: i } = Ct(), [a, s] = B.useState({
|
|
5974
5974
|
isDragging: !1
|
|
5975
|
-
}), c = B.useRef(null), l = B.useRef(null), u = B.useRef(null), [h, g] = B.useState(0),
|
|
5975
|
+
}), c = B.useRef(null), l = B.useRef(null), u = B.useRef(null), [h, g] = B.useState(0), O = (P) => {
|
|
5976
5976
|
s(P);
|
|
5977
5977
|
}, j = (P) => {
|
|
5978
5978
|
s(P), g(0);
|
|
@@ -5985,7 +5985,7 @@ const Sn = B.createContext({
|
|
|
5985
5985
|
P.distanceY && (g(P.distanceY < 0 ? 0 : -P.distanceY), P.distanceY >= p - r && (t?.(), j(P)));
|
|
5986
5986
|
},
|
|
5987
5987
|
onDragEnd: j,
|
|
5988
|
-
onDragStart:
|
|
5988
|
+
onDragStart: O
|
|
5989
5989
|
}), {
|
|
5990
5990
|
isVisible: i(e),
|
|
5991
5991
|
drawerParentRef: c,
|
|
@@ -6077,7 +6077,7 @@ const Sn = B.createContext({
|
|
|
6077
6077
|
), u = [];
|
|
6078
6078
|
for (const h of l) {
|
|
6079
6079
|
const g = h.name;
|
|
6080
|
-
|
|
6080
|
+
u.push({
|
|
6081
6081
|
name: g,
|
|
6082
6082
|
value: h.value
|
|
6083
6083
|
});
|
|
@@ -6207,17 +6207,17 @@ const Sn = B.createContext({
|
|
|
6207
6207
|
initialValue: u,
|
|
6208
6208
|
type: h = "text",
|
|
6209
6209
|
onChange: g,
|
|
6210
|
-
onFocus:
|
|
6210
|
+
onFocus: O,
|
|
6211
6211
|
onBlur: j,
|
|
6212
6212
|
inputStyles: M,
|
|
6213
6213
|
containerStyles: P,
|
|
6214
6214
|
styles: p,
|
|
6215
6215
|
step: I
|
|
6216
6216
|
}) => {
|
|
6217
|
-
const
|
|
6217
|
+
const x = (q) => {
|
|
6218
6218
|
g?.(q.currentTarget.value);
|
|
6219
6219
|
}, F = (q) => {
|
|
6220
|
-
q.preventDefault(), q.stopPropagation(),
|
|
6220
|
+
q.preventDefault(), q.stopPropagation(), O?.();
|
|
6221
6221
|
}, U = (q) => {
|
|
6222
6222
|
j?.();
|
|
6223
6223
|
};
|
|
@@ -6280,7 +6280,7 @@ const Sn = B.createContext({
|
|
|
6280
6280
|
placeholder: s,
|
|
6281
6281
|
value: l,
|
|
6282
6282
|
defaultValue: u,
|
|
6283
|
-
onChange:
|
|
6283
|
+
onChange: x,
|
|
6284
6284
|
onFocus: F,
|
|
6285
6285
|
onBlur: U
|
|
6286
6286
|
}
|
|
@@ -6545,7 +6545,7 @@ function Bo() {
|
|
|
6545
6545
|
(function(r, i) {
|
|
6546
6546
|
e.exports = i();
|
|
6547
6547
|
})(qo, function() {
|
|
6548
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", l = "minute", u = "hour", h = "day", g = "week",
|
|
6548
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", l = "minute", u = "hour", h = "day", g = "week", O = "month", j = "quarter", M = "year", P = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|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, F = { 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(_) {
|
|
6549
6549
|
var C = ["th", "st", "nd", "rd"], T = _ % 100;
|
|
6550
6550
|
return "[" + _ + (C[(T - 20) % 10] || C[T] || C[0]) + "]";
|
|
6551
6551
|
} }, U = function(_, C, T) {
|
|
@@ -6556,12 +6556,12 @@ function Bo() {
|
|
|
6556
6556
|
return (C <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(z, 2, "0");
|
|
6557
6557
|
}, m: function _(C, T) {
|
|
6558
6558
|
if (C.date() < T.date()) return -_(T, C);
|
|
6559
|
-
var o = 12 * (T.year() - C.year()) + (T.month() - C.month()), z = C.clone().add(o,
|
|
6559
|
+
var o = 12 * (T.year() - C.year()) + (T.month() - C.month()), z = C.clone().add(o, O), m = T - z < 0, n = C.clone().add(o + (m ? -1 : 1), O);
|
|
6560
6560
|
return +(-(o + (T - z) / (m ? z - n : n - z)) || 0);
|
|
6561
6561
|
}, a: function(_) {
|
|
6562
6562
|
return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
|
|
6563
6563
|
}, p: function(_) {
|
|
6564
|
-
return { M:
|
|
6564
|
+
return { M: O, y: M, w: g, d: h, D: P, h: u, m: l, s: c, ms: s, Q: j }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
|
|
6565
6565
|
}, u: function(_) {
|
|
6566
6566
|
return _ === void 0;
|
|
6567
6567
|
} }, v = "en", b = {};
|
|
@@ -6639,7 +6639,7 @@ function Bo() {
|
|
|
6639
6639
|
switch (n) {
|
|
6640
6640
|
case M:
|
|
6641
6641
|
return m ? f(1, 0) : f(31, 11);
|
|
6642
|
-
case
|
|
6642
|
+
case O:
|
|
6643
6643
|
return m ? f(1, L) : f(0, L + 1);
|
|
6644
6644
|
case g:
|
|
6645
6645
|
var W = this.$locale().weekStart || 0, V = ($ < W ? $ + 7 : $) - W;
|
|
@@ -6659,8 +6659,8 @@ function Bo() {
|
|
|
6659
6659
|
}, C.endOf = function(T) {
|
|
6660
6660
|
return this.startOf(T, !1);
|
|
6661
6661
|
}, C.$set = function(T, o) {
|
|
6662
|
-
var z, m = k.p(T), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[h] = n + "Date", z[P] = n + "Date", z[
|
|
6663
|
-
if (m ===
|
|
6662
|
+
var z, m = k.p(T), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[h] = n + "Date", z[P] = n + "Date", z[O] = n + "Month", z[M] = n + "FullYear", z[u] = n + "Hours", z[l] = n + "Minutes", z[c] = n + "Seconds", z[s] = n + "Milliseconds", z)[m], S = m === h ? this.$D + (o - this.$W) : o;
|
|
6663
|
+
if (m === O || m === M) {
|
|
6664
6664
|
var $ = this.clone().set(P, 1);
|
|
6665
6665
|
$.$d[f](S), $.init(), this.$d = $.set(P, Math.min(this.$D, $.daysInMonth())).$d;
|
|
6666
6666
|
} else f && this.$d[f](S);
|
|
@@ -6676,7 +6676,7 @@ function Bo() {
|
|
|
6676
6676
|
var H = d(m);
|
|
6677
6677
|
return k.w(H.date(H.date() + Math.round(L * T)), m);
|
|
6678
6678
|
};
|
|
6679
|
-
if (n ===
|
|
6679
|
+
if (n === O) return this.set(O, this.$M + T);
|
|
6680
6680
|
if (n === M) return this.set(M, this.$y + T);
|
|
6681
6681
|
if (n === h) return f(1);
|
|
6682
6682
|
if (n === g) return f(7);
|
|
@@ -6695,7 +6695,7 @@ function Bo() {
|
|
|
6695
6695
|
var Z = X < 12 ? "AM" : "PM";
|
|
6696
6696
|
return te ? Z.toLowerCase() : Z;
|
|
6697
6697
|
};
|
|
6698
|
-
return m.replace(
|
|
6698
|
+
return m.replace(x, function(X, J) {
|
|
6699
6699
|
return J || function(te) {
|
|
6700
6700
|
switch (te) {
|
|
6701
6701
|
case "YY":
|
|
@@ -6760,7 +6760,7 @@ function Bo() {
|
|
|
6760
6760
|
case M:
|
|
6761
6761
|
m = H() / 12;
|
|
6762
6762
|
break;
|
|
6763
|
-
case
|
|
6763
|
+
case O:
|
|
6764
6764
|
m = H();
|
|
6765
6765
|
break;
|
|
6766
6766
|
case j:
|
|
@@ -6786,7 +6786,7 @@ function Bo() {
|
|
|
6786
6786
|
}
|
|
6787
6787
|
return z ? m : k.a(m);
|
|
6788
6788
|
}, C.daysInMonth = function() {
|
|
6789
|
-
return this.endOf(
|
|
6789
|
+
return this.endOf(O).$D;
|
|
6790
6790
|
}, C.$locale = function() {
|
|
6791
6791
|
return b[this.$L];
|
|
6792
6792
|
}, C.locale = function(T, o) {
|
|
@@ -6805,7 +6805,7 @@ function Bo() {
|
|
|
6805
6805
|
return this.$d.toUTCString();
|
|
6806
6806
|
}, _;
|
|
6807
6807
|
}(), R = A.prototype;
|
|
6808
|
-
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", l], ["$H", u], ["$W", h], ["$M",
|
|
6808
|
+
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", l], ["$H", u], ["$W", h], ["$M", O], ["$y", M], ["$D", P]].forEach(function(_) {
|
|
6809
6809
|
R[_[1]] = function(C) {
|
|
6810
6810
|
return this.$g(C, _[0], _[1]);
|
|
6811
6811
|
};
|
|
@@ -6848,10 +6848,10 @@ function Go() {
|
|
|
6848
6848
|
this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
|
|
6849
6849
|
} else g.call(this);
|
|
6850
6850
|
};
|
|
6851
|
-
var
|
|
6851
|
+
var O = u.utcOffset;
|
|
6852
6852
|
u.utcOffset = function(p, I) {
|
|
6853
|
-
var
|
|
6854
|
-
if (
|
|
6853
|
+
var x = this.$utils().u;
|
|
6854
|
+
if (x(p)) return this.$u ? 0 : x(this.$offset) ? O.call(this) : this.$offset;
|
|
6855
6855
|
if (typeof p == "string" && (p = function(v) {
|
|
6856
6856
|
v === void 0 && (v = "");
|
|
6857
6857
|
var b = v.match(i);
|
|
@@ -6885,10 +6885,10 @@ function Go() {
|
|
|
6885
6885
|
return p === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
6886
6886
|
};
|
|
6887
6887
|
var P = u.diff;
|
|
6888
|
-
u.diff = function(p, I,
|
|
6889
|
-
if (p && this.$u === p.$u) return P.call(this, p, I,
|
|
6888
|
+
u.diff = function(p, I, x) {
|
|
6889
|
+
if (p && this.$u === p.$u) return P.call(this, p, I, x);
|
|
6890
6890
|
var F = this.local(), U = l(p).local();
|
|
6891
|
-
return P.call(F, U, I,
|
|
6891
|
+
return P.call(F, U, I, x);
|
|
6892
6892
|
};
|
|
6893
6893
|
};
|
|
6894
6894
|
});
|
|
@@ -7086,15 +7086,15 @@ const Ss = ({
|
|
|
7086
7086
|
onChange: u,
|
|
7087
7087
|
onFocus: h,
|
|
7088
7088
|
onBlur: g,
|
|
7089
|
-
inputStyles:
|
|
7089
|
+
inputStyles: O,
|
|
7090
7090
|
containerStyles: j,
|
|
7091
7091
|
styles: M
|
|
7092
7092
|
}) => {
|
|
7093
|
-
const P = (
|
|
7094
|
-
u?.(
|
|
7095
|
-
}, p = (
|
|
7096
|
-
|
|
7097
|
-
}, I = (
|
|
7093
|
+
const P = (x) => {
|
|
7094
|
+
u?.(x.currentTarget.value);
|
|
7095
|
+
}, p = (x) => {
|
|
7096
|
+
x.preventDefault(), x.stopPropagation(), h?.();
|
|
7097
|
+
}, I = (x) => {
|
|
7098
7098
|
g?.();
|
|
7099
7099
|
};
|
|
7100
7100
|
return /* @__PURE__ */ G.jsxs(
|
|
@@ -7146,7 +7146,7 @@ const Ss = ({
|
|
|
7146
7146
|
outline: "inherit",
|
|
7147
7147
|
background: "none",
|
|
7148
7148
|
minHeight: "47px",
|
|
7149
|
-
...
|
|
7149
|
+
...O
|
|
7150
7150
|
},
|
|
7151
7151
|
placeholder: s,
|
|
7152
7152
|
value: c,
|