@ukpc-lib/react 0.2.39 → 0.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +16 -16
- package/dist/components/index.js +249 -249
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-01dc8163.cjs → index-177560c1.cjs} +12 -12
- package/web-components-bundle/{index-ecc040cf.cjs → index-1b643558.cjs} +2 -2
- package/web-components-bundle/{index-81cfe9d4.js → index-fb0b79fe.js} +2 -2
- package/web-components-bundle/{index-30758085.js → index-fe988f91.js} +203 -203
|
@@ -11,12 +11,12 @@ const { toString: td } = Object.prototype, { getPrototypeOf: ro } = Object, Sr =
|
|
|
11
11
|
function nd(e) {
|
|
12
12
|
return e !== null && !ln(e) && e.constructor !== null && !ln(e.constructor) && Se(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const _l = Fe("ArrayBuffer");
|
|
15
15
|
function rd(e) {
|
|
16
16
|
let t;
|
|
17
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
17
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && _l(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const id = Er("string"), Se = Er("function"),
|
|
19
|
+
const id = Er("string"), Se = Er("function"), Ml = Er("number"), Cr = (e) => e !== null && typeof e == "object", od = (e) => e === !0 || e === !1, Dn = (e) => {
|
|
20
20
|
if (Sr(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = ro(e);
|
|
@@ -86,7 +86,7 @@ const pd = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
86
86
|
if (Nt(e))
|
|
87
87
|
return e;
|
|
88
88
|
let t = e.length;
|
|
89
|
-
if (!
|
|
89
|
+
if (!Ml(t))
|
|
90
90
|
return null;
|
|
91
91
|
const n = new Array(t);
|
|
92
92
|
for (; t-- > 0; )
|
|
@@ -150,10 +150,10 @@ const pd = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
150
150
|
n += t[Math.random() * r | 0];
|
|
151
151
|
return n;
|
|
152
152
|
};
|
|
153
|
-
function
|
|
153
|
+
function _d(e) {
|
|
154
154
|
return !!(e && Se(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const Md = (e) => {
|
|
157
157
|
const t = new Array(10), n = (r, i) => {
|
|
158
158
|
if (Cr(r)) {
|
|
159
159
|
if (t.indexOf(r) >= 0)
|
|
@@ -172,12 +172,12 @@ const _d = (e) => {
|
|
|
172
172
|
return n(e, 0);
|
|
173
173
|
}, Vd = Fe("AsyncFunction"), Ld = (e) => e && (Cr(e) || Se(e)) && Se(e.then) && Se(e.catch), w = {
|
|
174
174
|
isArray: Nt,
|
|
175
|
-
isArrayBuffer:
|
|
175
|
+
isArrayBuffer: _l,
|
|
176
176
|
isBuffer: nd,
|
|
177
177
|
isFormData: fd,
|
|
178
178
|
isArrayBufferView: rd,
|
|
179
179
|
isString: id,
|
|
180
|
-
isNumber:
|
|
180
|
+
isNumber: Ml,
|
|
181
181
|
isBoolean: od,
|
|
182
182
|
isObject: Cr,
|
|
183
183
|
isPlainObject: Dn,
|
|
@@ -219,8 +219,8 @@ const _d = (e) => {
|
|
|
219
219
|
isContextDefined: Fl,
|
|
220
220
|
ALPHABET: jl,
|
|
221
221
|
generateString: Od,
|
|
222
|
-
isSpecCompliantForm:
|
|
223
|
-
toJSONObject:
|
|
222
|
+
isSpecCompliantForm: _d,
|
|
223
|
+
toJSONObject: Md,
|
|
224
224
|
isAsyncFn: Vd,
|
|
225
225
|
isThenable: Ld
|
|
226
226
|
};
|
|
@@ -1452,16 +1452,16 @@ var Ph = Object.prototype, Rh = Ph.toString;
|
|
|
1452
1452
|
function Ah(e) {
|
|
1453
1453
|
return Rh.call(e);
|
|
1454
1454
|
}
|
|
1455
|
-
var Oh = "[object Null]",
|
|
1456
|
-
function
|
|
1457
|
-
return e == null ? e === void 0 ?
|
|
1455
|
+
var Oh = "[object Null]", _h = "[object Undefined]", ds = Qn ? Qn.toStringTag : void 0;
|
|
1456
|
+
function Mh(e) {
|
|
1457
|
+
return e == null ? e === void 0 ? _h : Oh : ds && ds in Object(e) ? Th(e) : Ah(e);
|
|
1458
1458
|
}
|
|
1459
1459
|
function Vh(e) {
|
|
1460
1460
|
return e != null && typeof e == "object";
|
|
1461
1461
|
}
|
|
1462
1462
|
var Lh = "[object Symbol]";
|
|
1463
1463
|
function Fh(e) {
|
|
1464
|
-
return typeof e == "symbol" || Vh(e) &&
|
|
1464
|
+
return typeof e == "symbol" || Vh(e) && Mh(e) == Lh;
|
|
1465
1465
|
}
|
|
1466
1466
|
var Dh = /\s/;
|
|
1467
1467
|
function jh(e) {
|
|
@@ -1511,8 +1511,8 @@ function Nn(e, t, n) {
|
|
|
1511
1511
|
return u = k, a = setTimeout(y, t), f ? h(k) : s;
|
|
1512
1512
|
}
|
|
1513
1513
|
function m(k) {
|
|
1514
|
-
var T = k - l, P = k - u,
|
|
1515
|
-
return c ? Gh(
|
|
1514
|
+
var T = k - l, P = k - u, M = t - T;
|
|
1515
|
+
return c ? Gh(M, o - P) : M;
|
|
1516
1516
|
}
|
|
1517
1517
|
function g(k) {
|
|
1518
1518
|
var T = k - l, P = k - u;
|
|
@@ -1558,15 +1558,15 @@ function Kh(e, t, n) {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
var Yh = !!(typeof window < "u" && window.document && window.document.createElement), Jh = Yh;
|
|
1560
1560
|
const Ql = /* @__PURE__ */ Rl(Jh);
|
|
1561
|
-
var
|
|
1562
|
-
return
|
|
1561
|
+
var _t = function() {
|
|
1562
|
+
return _t = Object.assign || function(t) {
|
|
1563
1563
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
1564
1564
|
n = arguments[r];
|
|
1565
1565
|
for (var o in n)
|
|
1566
1566
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
1567
1567
|
}
|
|
1568
1568
|
return t;
|
|
1569
|
-
},
|
|
1569
|
+
}, _t.apply(this, arguments);
|
|
1570
1570
|
}, Rt = null, ms = null;
|
|
1571
1571
|
Ql && window.addEventListener("resize", function() {
|
|
1572
1572
|
ms !== window.devicePixelRatio && (ms = window.devicePixelRatio, Rt = null);
|
|
@@ -1684,7 +1684,7 @@ var Zh = /* @__PURE__ */ Object.freeze({
|
|
|
1684
1684
|
});
|
|
1685
1685
|
}, this.preventClick = function(i) {
|
|
1686
1686
|
i.preventDefault(), i.stopPropagation();
|
|
1687
|
-
}, this.el = t, this.options =
|
|
1687
|
+
}, this.el = t, this.options = _t(_t({}, e.defaultOptions), n), this.classNames = _t(_t({}, e.defaultOptions.classNames), n.classNames), this.axis = {
|
|
1688
1688
|
x: {
|
|
1689
1689
|
scrollOffsetAttr: "scrollLeft",
|
|
1690
1690
|
sizeAttr: "width",
|
|
@@ -2006,7 +2006,7 @@ var Bt = {};
|
|
|
2006
2006
|
* LICENSE file in the root directory of this source tree.
|
|
2007
2007
|
*/
|
|
2008
2008
|
var au = x;
|
|
2009
|
-
function
|
|
2009
|
+
function _(e) {
|
|
2010
2010
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++)
|
|
2011
2011
|
t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
2012
2012
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
@@ -2187,7 +2187,7 @@ function cp(e, t, n) {
|
|
|
2187
2187
|
var xs = /* @__PURE__ */ new Map();
|
|
2188
2188
|
function uu(e, t, n) {
|
|
2189
2189
|
if (typeof n != "object")
|
|
2190
|
-
throw Error(
|
|
2190
|
+
throw Error(_(62));
|
|
2191
2191
|
t = !0;
|
|
2192
2192
|
for (var r in n)
|
|
2193
2193
|
if (ue.call(n, r)) {
|
|
@@ -2260,9 +2260,9 @@ function de(e, t, n, r) {
|
|
|
2260
2260
|
function $n(e, t, n) {
|
|
2261
2261
|
if (t != null) {
|
|
2262
2262
|
if (n != null)
|
|
2263
|
-
throw Error(
|
|
2263
|
+
throw Error(_(60));
|
|
2264
2264
|
if (typeof t != "object" || !("__html" in t))
|
|
2265
|
-
throw Error(
|
|
2265
|
+
throw Error(_(61));
|
|
2266
2266
|
t = t.__html, t != null && e.push("" + t);
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
@@ -2297,7 +2297,7 @@ function Ae(e) {
|
|
|
2297
2297
|
var t = bs.get(e);
|
|
2298
2298
|
if (t === void 0) {
|
|
2299
2299
|
if (!dp.test(e))
|
|
2300
|
-
throw Error(
|
|
2300
|
+
throw Error(_(65, e));
|
|
2301
2301
|
t = "<" + e, bs.set(e, t);
|
|
2302
2302
|
}
|
|
2303
2303
|
return t;
|
|
@@ -2376,7 +2376,7 @@ function hp(e, t, n, r, i) {
|
|
|
2376
2376
|
s = l;
|
|
2377
2377
|
break;
|
|
2378
2378
|
case "dangerouslySetInnerHTML":
|
|
2379
|
-
throw Error(
|
|
2379
|
+
throw Error(_(91));
|
|
2380
2380
|
default:
|
|
2381
2381
|
de(
|
|
2382
2382
|
e,
|
|
@@ -2387,9 +2387,9 @@ function hp(e, t, n, r, i) {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
if (o === null && s !== null && (o = s), e.push(">"), f != null) {
|
|
2389
2389
|
if (o != null)
|
|
2390
|
-
throw Error(
|
|
2390
|
+
throw Error(_(92));
|
|
2391
2391
|
if (Ri(f) && 1 < f.length)
|
|
2392
|
-
throw Error(
|
|
2392
|
+
throw Error(_(93));
|
|
2393
2393
|
o = "" + f;
|
|
2394
2394
|
}
|
|
2395
2395
|
return typeof o == "string" && o[0] === `
|
|
@@ -2402,7 +2402,7 @@ function hp(e, t, n, r, i) {
|
|
|
2402
2402
|
switch (s) {
|
|
2403
2403
|
case "children":
|
|
2404
2404
|
case "dangerouslySetInnerHTML":
|
|
2405
|
-
throw Error(
|
|
2405
|
+
throw Error(_(399, "input"));
|
|
2406
2406
|
case "defaultChecked":
|
|
2407
2407
|
l = u;
|
|
2408
2408
|
break;
|
|
@@ -2426,7 +2426,7 @@ function hp(e, t, n, r, i) {
|
|
|
2426
2426
|
switch (d) {
|
|
2427
2427
|
case "children":
|
|
2428
2428
|
case "dangerouslySetInnerHTML":
|
|
2429
|
-
throw Error(
|
|
2429
|
+
throw Error(_(400));
|
|
2430
2430
|
default:
|
|
2431
2431
|
de(e, r, d, o);
|
|
2432
2432
|
}
|
|
@@ -2440,7 +2440,7 @@ function hp(e, t, n, r, i) {
|
|
|
2440
2440
|
o = s;
|
|
2441
2441
|
break;
|
|
2442
2442
|
case "dangerouslySetInnerHTML":
|
|
2443
|
-
throw Error(
|
|
2443
|
+
throw Error(_(434));
|
|
2444
2444
|
default:
|
|
2445
2445
|
de(e, r, c, s);
|
|
2446
2446
|
}
|
|
@@ -2462,9 +2462,9 @@ function hp(e, t, n, r, i) {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
if (e.push(">"), s != null) {
|
|
2464
2464
|
if (o != null)
|
|
2465
|
-
throw Error(
|
|
2465
|
+
throw Error(_(60));
|
|
2466
2466
|
if (typeof s != "object" || !("__html" in s))
|
|
2467
|
-
throw Error(
|
|
2467
|
+
throw Error(_(61));
|
|
2468
2468
|
n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === `
|
|
2469
2469
|
` ? e.push(`
|
|
2470
2470
|
`, n) : e.push("" + n));
|
|
@@ -2492,7 +2492,7 @@ function hp(e, t, n, r, i) {
|
|
|
2492
2492
|
switch (h) {
|
|
2493
2493
|
case "children":
|
|
2494
2494
|
case "dangerouslySetInnerHTML":
|
|
2495
|
-
throw Error(
|
|
2495
|
+
throw Error(_(399, t));
|
|
2496
2496
|
default:
|
|
2497
2497
|
de(e, r, h, o);
|
|
2498
2498
|
}
|
|
@@ -2540,7 +2540,7 @@ function hp(e, t, n, r, i) {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
function ws(e, t, n) {
|
|
2542
2542
|
if (e.push('<!--$?--><template id="'), n === null)
|
|
2543
|
-
throw Error(
|
|
2543
|
+
throw Error(_(395));
|
|
2544
2544
|
return e.push(n), e.push('"></template>');
|
|
2545
2545
|
}
|
|
2546
2546
|
function pp(e, t, n, r) {
|
|
@@ -2561,7 +2561,7 @@ function pp(e, t, n, r) {
|
|
|
2561
2561
|
case 7:
|
|
2562
2562
|
return e.push('<table hidden><colgroup id="'), e.push(t.segmentPrefix), t = r.toString(16), e.push(t), e.push('">');
|
|
2563
2563
|
default:
|
|
2564
|
-
throw Error(
|
|
2564
|
+
throw Error(_(397));
|
|
2565
2565
|
}
|
|
2566
2566
|
}
|
|
2567
2567
|
function mp(e, t) {
|
|
@@ -2582,7 +2582,7 @@ function mp(e, t) {
|
|
|
2582
2582
|
case 7:
|
|
2583
2583
|
return e.push("</colgroup></table>");
|
|
2584
2584
|
default:
|
|
2585
|
-
throw Error(
|
|
2585
|
+
throw Error(_(397));
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
2588
|
var gp = /[<\u2028\u2029]/g;
|
|
@@ -2664,10 +2664,10 @@ function Pr(e, t) {
|
|
|
2664
2664
|
var n = t.parent;
|
|
2665
2665
|
if (e === null) {
|
|
2666
2666
|
if (n !== null)
|
|
2667
|
-
throw Error(
|
|
2667
|
+
throw Error(_(401));
|
|
2668
2668
|
} else {
|
|
2669
2669
|
if (n === null)
|
|
2670
|
-
throw Error(
|
|
2670
|
+
throw Error(_(401));
|
|
2671
2671
|
Pr(e, n);
|
|
2672
2672
|
}
|
|
2673
2673
|
t.context._currentValue2 = t.value;
|
|
@@ -2682,13 +2682,13 @@ function Su(e) {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
function Eu(e, t) {
|
|
2684
2684
|
if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null)
|
|
2685
|
-
throw Error(
|
|
2685
|
+
throw Error(_(402));
|
|
2686
2686
|
e.depth === t.depth ? Pr(e, t) : Eu(e, t);
|
|
2687
2687
|
}
|
|
2688
2688
|
function Cu(e, t) {
|
|
2689
2689
|
var n = t.parent;
|
|
2690
2690
|
if (n === null)
|
|
2691
|
-
throw Error(
|
|
2691
|
+
throw Error(_(402));
|
|
2692
2692
|
e.depth === n.depth ? Pr(e, n) : Cu(e, n), t.context._currentValue2 = t.value;
|
|
2693
2693
|
}
|
|
2694
2694
|
function tr(e) {
|
|
@@ -2746,12 +2746,12 @@ function Pp(e, t) {
|
|
|
2746
2746
|
var Rp = typeof Object.is == "function" ? Object.is : Pp, Ue = null, ho = null, Un = null, j = null, Xt = !1, nr = !1, un = 0, nt = null, Rr = 0;
|
|
2747
2747
|
function pt() {
|
|
2748
2748
|
if (Ue === null)
|
|
2749
|
-
throw Error(
|
|
2749
|
+
throw Error(_(321));
|
|
2750
2750
|
return Ue;
|
|
2751
2751
|
}
|
|
2752
2752
|
function Ps() {
|
|
2753
2753
|
if (0 < Rr)
|
|
2754
|
-
throw Error(
|
|
2754
|
+
throw Error(_(312));
|
|
2755
2755
|
return { memoizedState: null, queue: null, next: null };
|
|
2756
2756
|
}
|
|
2757
2757
|
function po() {
|
|
@@ -2801,7 +2801,7 @@ function As(e, t) {
|
|
|
2801
2801
|
}
|
|
2802
2802
|
function Ap(e, t, n) {
|
|
2803
2803
|
if (25 <= Rr)
|
|
2804
|
-
throw Error(
|
|
2804
|
+
throw Error(_(301));
|
|
2805
2805
|
if (e === Ue)
|
|
2806
2806
|
if (nr = !0, e = { action: n, next: null }, nt === null && (nt = /* @__PURE__ */ new Map()), n = nt.get(t), n === void 0)
|
|
2807
2807
|
nt.set(t, e);
|
|
@@ -2812,7 +2812,7 @@ function Ap(e, t, n) {
|
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
2814
|
function Op() {
|
|
2815
|
-
throw Error(
|
|
2815
|
+
throw Error(_(394));
|
|
2816
2816
|
}
|
|
2817
2817
|
function Tn() {
|
|
2818
2818
|
}
|
|
@@ -2843,23 +2843,23 @@ var Os = { readContext: function(e) {
|
|
|
2843
2843
|
e = e.id, e = (e & ~(1 << 32 - zn(e) - 1)).toString(32) + t;
|
|
2844
2844
|
var n = Wn;
|
|
2845
2845
|
if (n === null)
|
|
2846
|
-
throw Error(
|
|
2846
|
+
throw Error(_(404));
|
|
2847
2847
|
return t = un++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
|
|
2848
2848
|
}, useMutableSource: function(e, t) {
|
|
2849
2849
|
return pt(), t(e._source);
|
|
2850
2850
|
}, useSyncExternalStore: function(e, t, n) {
|
|
2851
2851
|
if (n === void 0)
|
|
2852
|
-
throw Error(
|
|
2852
|
+
throw Error(_(407));
|
|
2853
2853
|
return n();
|
|
2854
2854
|
} }, Wn = null, ei = au.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
|
|
2855
|
-
function
|
|
2855
|
+
function _p(e) {
|
|
2856
2856
|
return console.error(e), null;
|
|
2857
2857
|
}
|
|
2858
2858
|
function Kt() {
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function Mp(e, t, n, r, i, o, s, a, l) {
|
|
2861
2861
|
var u = [], f = /* @__PURE__ */ new Set();
|
|
2862
|
-
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: f, pingedTasks: u, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ?
|
|
2862
|
+
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: f, pingedTasks: u, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ? _p : i, onAllReady: o === void 0 ? Kt : o, onShellReady: s === void 0 ? Kt : s, onShellError: a === void 0 ? Kt : a, onFatalError: l === void 0 ? Kt : l }, n = rr(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = go(t, e, null, n, f, bu, null, Ep), u.push(e), t;
|
|
2863
2863
|
}
|
|
2864
2864
|
function go(e, t, n, r, i, o, s, a) {
|
|
2865
2865
|
e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
|
|
@@ -2881,12 +2881,12 @@ function ir(e, t) {
|
|
|
2881
2881
|
var n = e.onShellError;
|
|
2882
2882
|
n(t), n = e.onFatalError, n(t), e.destination !== null ? (e.status = 2, e.destination.destroy(t)) : (e.status = 1, e.fatalError = t);
|
|
2883
2883
|
}
|
|
2884
|
-
function
|
|
2884
|
+
function _s(e, t, n, r, i) {
|
|
2885
2885
|
for (Ue = {}, ho = t, un = 0, e = n(r, i); nr; )
|
|
2886
2886
|
nr = !1, un = 0, Rr += 1, j = null, e = n(r, i);
|
|
2887
2887
|
return mo(), e;
|
|
2888
2888
|
}
|
|
2889
|
-
function
|
|
2889
|
+
function Ms(e, t, n, r) {
|
|
2890
2890
|
var i = n.render(), o = r.childContextTypes;
|
|
2891
2891
|
if (o != null) {
|
|
2892
2892
|
var s = t.legacyContext;
|
|
@@ -2896,7 +2896,7 @@ function _s(e, t, n, r) {
|
|
|
2896
2896
|
n = n.getChildContext();
|
|
2897
2897
|
for (var a in n)
|
|
2898
2898
|
if (!(a in o))
|
|
2899
|
-
throw Error(
|
|
2899
|
+
throw Error(_(108, Ai(r) || "Unknown", a));
|
|
2900
2900
|
r = Qt({}, s, n);
|
|
2901
2901
|
}
|
|
2902
2902
|
t.legacyContext = r, me(e, t, i), t.legacyContext = s;
|
|
@@ -2912,17 +2912,17 @@ function Vs(e, t) {
|
|
|
2912
2912
|
}
|
|
2913
2913
|
return t;
|
|
2914
2914
|
}
|
|
2915
|
-
function
|
|
2915
|
+
function _i(e, t, n, r, i) {
|
|
2916
2916
|
if (typeof n == "function")
|
|
2917
2917
|
if (n.prototype && n.prototype.isReactComponent) {
|
|
2918
2918
|
i = Cs(n, t.legacyContext);
|
|
2919
2919
|
var o = n.contextType;
|
|
2920
|
-
o = new n(r, typeof o == "object" && o !== null ? o._currentValue2 : i), Ts(o, n, r, i),
|
|
2920
|
+
o = new n(r, typeof o == "object" && o !== null ? o._currentValue2 : i), Ts(o, n, r, i), Ms(e, t, o, n);
|
|
2921
2921
|
} else {
|
|
2922
|
-
o = Cs(n, t.legacyContext), i =
|
|
2922
|
+
o = Cs(n, t.legacyContext), i = _s(e, t, n, r, o);
|
|
2923
2923
|
var s = un !== 0;
|
|
2924
2924
|
if (typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0)
|
|
2925
|
-
Ts(i, n, r, o),
|
|
2925
|
+
Ts(i, n, r, o), Ms(e, t, i, n);
|
|
2926
2926
|
else if (s) {
|
|
2927
2927
|
r = t.treeContext, t.treeContext = Oi(r, 1, 0);
|
|
2928
2928
|
try {
|
|
@@ -2934,7 +2934,7 @@ function Mi(e, t, n, r, i) {
|
|
|
2934
2934
|
me(e, t, i);
|
|
2935
2935
|
}
|
|
2936
2936
|
else if (typeof n == "string") {
|
|
2937
|
-
switch (i = t.blockedSegment, o = hp(i.chunks, n, r, e.responseState, i.formatContext), i.lastPushedText = !1, s = i.formatContext, i.formatContext = cp(s, n, r),
|
|
2937
|
+
switch (i = t.blockedSegment, o = hp(i.chunks, n, r, e.responseState, i.formatContext), i.lastPushedText = !1, s = i.formatContext, i.formatContext = cp(s, n, r), Mi(e, t, o), i.formatContext = s, n) {
|
|
2938
2938
|
case "area":
|
|
2939
2939
|
case "base":
|
|
2940
2940
|
case "br":
|
|
@@ -2968,7 +2968,7 @@ function Mi(e, t, n, r, i) {
|
|
|
2968
2968
|
me(e, t, r.children);
|
|
2969
2969
|
return;
|
|
2970
2970
|
case xp:
|
|
2971
|
-
throw Error(
|
|
2971
|
+
throw Error(_(343));
|
|
2972
2972
|
case yu:
|
|
2973
2973
|
e: {
|
|
2974
2974
|
n = t.blockedBoundary, i = t.blockedSegment, o = r.fallback, r = r.children, s = /* @__PURE__ */ new Set();
|
|
@@ -2977,7 +2977,7 @@ function Mi(e, t, n, r, i) {
|
|
|
2977
2977
|
var u = rr(e, 0, null, i.formatContext, !1, !1);
|
|
2978
2978
|
u.parentFlushed = !0, t.blockedBoundary = a, t.blockedSegment = u;
|
|
2979
2979
|
try {
|
|
2980
|
-
if (
|
|
2980
|
+
if (Mi(
|
|
2981
2981
|
e,
|
|
2982
2982
|
t,
|
|
2983
2983
|
r
|
|
@@ -2995,7 +2995,7 @@ function Mi(e, t, n, r, i) {
|
|
|
2995
2995
|
if (typeof n == "object" && n !== null)
|
|
2996
2996
|
switch (n.$$typeof) {
|
|
2997
2997
|
case gu:
|
|
2998
|
-
if (r =
|
|
2998
|
+
if (r = _s(e, t, n.render, r, i), un !== 0) {
|
|
2999
2999
|
n = t.treeContext, t.treeContext = Oi(n, 1, 0);
|
|
3000
3000
|
try {
|
|
3001
3001
|
me(e, t, r);
|
|
@@ -3006,18 +3006,18 @@ function Mi(e, t, n, r, i) {
|
|
|
3006
3006
|
me(e, t, r);
|
|
3007
3007
|
return;
|
|
3008
3008
|
case xu:
|
|
3009
|
-
n = n.type, r = Vs(n, r),
|
|
3009
|
+
n = n.type, r = Vs(n, r), _i(e, t, n, r, i);
|
|
3010
3010
|
return;
|
|
3011
3011
|
case pu:
|
|
3012
3012
|
if (i = r.children, n = n._context, r = r.value, o = n._currentValue2, n._currentValue2 = r, s = yt, yt = r = { parent: s, depth: s === null ? 0 : s.depth + 1, context: n, parentValue: o, value: r }, t.context = r, me(e, t, i), e = yt, e === null)
|
|
3013
|
-
throw Error(
|
|
3013
|
+
throw Error(_(403));
|
|
3014
3014
|
r = e.parentValue, e.context._currentValue2 = r === Sp ? e.context._defaultValue : r, e = yt = e.parent, t.context = e;
|
|
3015
3015
|
return;
|
|
3016
3016
|
case mu:
|
|
3017
3017
|
r = r.children, r = r(n._currentValue2), me(e, t, r);
|
|
3018
3018
|
return;
|
|
3019
3019
|
case fo:
|
|
3020
|
-
i = n._init, n = i(n._payload), r = Vs(n, r),
|
|
3020
|
+
i = n._init, n = i(n._payload), r = Vs(n, r), _i(
|
|
3021
3021
|
e,
|
|
3022
3022
|
t,
|
|
3023
3023
|
n,
|
|
@@ -3026,17 +3026,17 @@ function Mi(e, t, n, r, i) {
|
|
|
3026
3026
|
);
|
|
3027
3027
|
return;
|
|
3028
3028
|
}
|
|
3029
|
-
throw Error(
|
|
3029
|
+
throw Error(_(130, n == null ? n : typeof n, ""));
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
3032
|
function me(e, t, n) {
|
|
3033
3033
|
if (t.node = n, typeof n == "object" && n !== null) {
|
|
3034
3034
|
switch (n.$$typeof) {
|
|
3035
3035
|
case vp:
|
|
3036
|
-
|
|
3036
|
+
_i(e, t, n.type, n.props, n.ref);
|
|
3037
3037
|
return;
|
|
3038
3038
|
case cu:
|
|
3039
|
-
throw Error(
|
|
3039
|
+
throw Error(_(257));
|
|
3040
3040
|
case fo:
|
|
3041
3041
|
var r = n._init;
|
|
3042
3042
|
n = r(n._payload), me(e, t, n);
|
|
@@ -3056,7 +3056,7 @@ function me(e, t, n) {
|
|
|
3056
3056
|
}
|
|
3057
3057
|
return;
|
|
3058
3058
|
}
|
|
3059
|
-
throw e = Object.prototype.toString.call(n), Error(
|
|
3059
|
+
throw e = Object.prototype.toString.call(n), Error(_(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
|
|
3060
3060
|
}
|
|
3061
3061
|
typeof n == "string" ? (r = t.blockedSegment, r.lastPushedText = Ss(t.blockedSegment.chunks, n, e.responseState, r.lastPushedText)) : typeof n == "number" && (r = t.blockedSegment, r.lastPushedText = Ss(t.blockedSegment.chunks, "" + n, e.responseState, r.lastPushedText));
|
|
3062
3062
|
}
|
|
@@ -3065,13 +3065,13 @@ function Ls(e, t, n) {
|
|
|
3065
3065
|
var o = t.treeContext;
|
|
3066
3066
|
t.treeContext = Oi(o, r, i);
|
|
3067
3067
|
try {
|
|
3068
|
-
|
|
3068
|
+
Mi(e, t, n[i]);
|
|
3069
3069
|
} finally {
|
|
3070
3070
|
t.treeContext = o;
|
|
3071
3071
|
}
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3074
|
+
function Mi(e, t, n) {
|
|
3075
3075
|
var r = t.blockedSegment.formatContext, i = t.legacyContext, o = t.context;
|
|
3076
3076
|
try {
|
|
3077
3077
|
return me(e, t, n);
|
|
@@ -3090,7 +3090,7 @@ function Vp(e) {
|
|
|
3090
3090
|
}
|
|
3091
3091
|
function Tu(e, t, n) {
|
|
3092
3092
|
var r = e.blockedBoundary;
|
|
3093
|
-
e.blockedSegment.status = 3, r === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.push(null))) : (r.pendingTasks--, r.forceClientRender || (r.forceClientRender = !0, e = n === void 0 ? Error(
|
|
3093
|
+
e.blockedSegment.status = 3, r === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.push(null))) : (r.pendingTasks--, r.forceClientRender || (r.forceClientRender = !0, e = n === void 0 ? Error(_(432)) : n, r.errorDigest = t.onError(e), r.parentFlushed && t.clientRenderedBoundaries.push(r)), r.fallbackAbortableTasks.forEach(function(i) {
|
|
3094
3094
|
return Tu(i, t, n);
|
|
3095
3095
|
}), r.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0 && (r = t.onAllReady, r()));
|
|
3096
3096
|
}
|
|
@@ -3105,7 +3105,7 @@ function Pu(e, t, n) {
|
|
|
3105
3105
|
if (t === null) {
|
|
3106
3106
|
if (n.parentFlushed) {
|
|
3107
3107
|
if (e.completedRootSegment !== null)
|
|
3108
|
-
throw Error(
|
|
3108
|
+
throw Error(_(389));
|
|
3109
3109
|
e.completedRootSegment = n;
|
|
3110
3110
|
}
|
|
3111
3111
|
e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = Kt, t = e.onShellReady, t());
|
|
@@ -3171,7 +3171,7 @@ function Pn(e, t, n) {
|
|
|
3171
3171
|
t.push(r[o]);
|
|
3172
3172
|
return o < r.length && (i = t.push(r[o])), i;
|
|
3173
3173
|
default:
|
|
3174
|
-
throw Error(
|
|
3174
|
+
throw Error(_(390));
|
|
3175
3175
|
}
|
|
3176
3176
|
}
|
|
3177
3177
|
function Ar(e, t, n) {
|
|
@@ -3188,7 +3188,7 @@ function Ar(e, t, n) {
|
|
|
3188
3188
|
if (r.byteSize > e.progressiveChunkSize)
|
|
3189
3189
|
return r.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(r), ws(t, e.responseState, r.id), Pn(e, t, n), t.push("<!--/$-->");
|
|
3190
3190
|
if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), n = r.completedSegments, n.length !== 1)
|
|
3191
|
-
throw Error(
|
|
3191
|
+
throw Error(_(391));
|
|
3192
3192
|
return Ar(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
|
|
3193
3193
|
}
|
|
3194
3194
|
function Fs(e, t, n) {
|
|
@@ -3198,7 +3198,7 @@ function Ds(e, t, n) {
|
|
|
3198
3198
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
3199
3199
|
Au(e, t, n, r[i]);
|
|
3200
3200
|
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID, t.push(e.startInlineScript), e.sentCompleteBoundaryFunction ? t.push('$RC("') : (e.sentCompleteBoundaryFunction = !0, t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')), r === null)
|
|
3201
|
-
throw Error(
|
|
3201
|
+
throw Error(_(395));
|
|
3202
3202
|
return n = n.toString(16), t.push(r), t.push('","'), t.push(e.segmentPrefix), t.push(n), t.push('")<\/script>');
|
|
3203
3203
|
}
|
|
3204
3204
|
function Au(e, t, n, r) {
|
|
@@ -3207,7 +3207,7 @@ function Au(e, t, n, r) {
|
|
|
3207
3207
|
var i = r.id;
|
|
3208
3208
|
if (i === -1) {
|
|
3209
3209
|
if ((r.id = n.rootSegmentID) === -1)
|
|
3210
|
-
throw Error(
|
|
3210
|
+
throw Error(_(392));
|
|
3211
3211
|
return Fs(e, t, r);
|
|
3212
3212
|
}
|
|
3213
3213
|
return Fs(e, t, r), e = e.responseState, t.push(e.startInlineScript), e.sentCompleteSegmentFunction ? t.push('$RS("') : (e.sentCompleteSegmentFunction = !0, t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')), t.push(e.segmentPrefix), i = i.toString(16), t.push(i), t.push('","'), t.push(e.placeholderPrefix), t.push(i), t.push('")<\/script>');
|
|
@@ -3228,7 +3228,7 @@ function yo(e, t) {
|
|
|
3228
3228
|
r = t;
|
|
3229
3229
|
var a = e.responseState, l = s.id, u = s.errorDigest, f = s.errorMessage, c = s.errorComponentStack;
|
|
3230
3230
|
if (r.push(a.startInlineScript), a.sentClientRenderFunction ? r.push('$RX("') : (a.sentClientRenderFunction = !0, r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')), l === null)
|
|
3231
|
-
throw Error(
|
|
3231
|
+
throw Error(_(395));
|
|
3232
3232
|
if (r.push(l), r.push('"'), u || f || c) {
|
|
3233
3233
|
r.push(",");
|
|
3234
3234
|
var d = Qr(u || "");
|
|
@@ -3306,7 +3306,7 @@ function Ou(e, t, n, r) {
|
|
|
3306
3306
|
}, destroy: function(u) {
|
|
3307
3307
|
i = !0, o = u;
|
|
3308
3308
|
} }, l = !1;
|
|
3309
|
-
if (e =
|
|
3309
|
+
if (e = Mp(e, yp(n, t ? t.identifierPrefix : void 0), { insertionMode: 1, selectedValue: null }, 1 / 0, Fp, void 0, function() {
|
|
3310
3310
|
l = !0;
|
|
3311
3311
|
}, void 0, void 0), Ru(e), Lp(e, r), e.status === 1)
|
|
3312
3312
|
e.status = 2, a.destroy(e.fatalError);
|
|
@@ -3321,17 +3321,17 @@ function Ou(e, t, n, r) {
|
|
|
3321
3321
|
if (i)
|
|
3322
3322
|
throw o;
|
|
3323
3323
|
if (!l)
|
|
3324
|
-
throw Error(
|
|
3324
|
+
throw Error(_(426));
|
|
3325
3325
|
return s;
|
|
3326
3326
|
}
|
|
3327
3327
|
Bt.renderToNodeStream = function() {
|
|
3328
|
-
throw Error(
|
|
3328
|
+
throw Error(_(207));
|
|
3329
3329
|
};
|
|
3330
3330
|
Bt.renderToStaticMarkup = function(e, t) {
|
|
3331
3331
|
return Ou(e, t, !0, 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
|
|
3332
3332
|
};
|
|
3333
3333
|
Bt.renderToStaticNodeStream = function() {
|
|
3334
|
-
throw Error(
|
|
3334
|
+
throw Error(_(208));
|
|
3335
3335
|
};
|
|
3336
3336
|
Bt.renderToString = function(e, t) {
|
|
3337
3337
|
return Ou(e, t, !1, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
|
|
@@ -3347,7 +3347,7 @@ var vo = {};
|
|
|
3347
3347
|
* This source code is licensed under the MIT license found in the
|
|
3348
3348
|
* LICENSE file in the root directory of this source tree.
|
|
3349
3349
|
*/
|
|
3350
|
-
var
|
|
3350
|
+
var _u = x;
|
|
3351
3351
|
function V(e) {
|
|
3352
3352
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++)
|
|
3353
3353
|
t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
@@ -3369,12 +3369,12 @@ function $(e, t) {
|
|
|
3369
3369
|
function js(e) {
|
|
3370
3370
|
ge && 0 < ye && (e.enqueue(new Uint8Array(ge.buffer, 0, ye)), ge = null, ye = 0);
|
|
3371
3371
|
}
|
|
3372
|
-
var
|
|
3372
|
+
var Mu = new TextEncoder();
|
|
3373
3373
|
function L(e) {
|
|
3374
|
-
return
|
|
3374
|
+
return Mu.encode(e);
|
|
3375
3375
|
}
|
|
3376
3376
|
function C(e) {
|
|
3377
|
-
return
|
|
3377
|
+
return Mu.encode(e);
|
|
3378
3378
|
}
|
|
3379
3379
|
function Vu(e, t) {
|
|
3380
3380
|
typeof e.error == "function" ? e.error(t) : e.close();
|
|
@@ -3659,13 +3659,13 @@ function qn(e, t, n) {
|
|
|
3659
3659
|
}
|
|
3660
3660
|
function Zp(e) {
|
|
3661
3661
|
var t = "";
|
|
3662
|
-
return
|
|
3662
|
+
return _u.Children.forEach(e, function(n) {
|
|
3663
3663
|
n != null && (t += n);
|
|
3664
3664
|
}), t;
|
|
3665
3665
|
}
|
|
3666
3666
|
var ti = C(' selected=""');
|
|
3667
3667
|
function ni(e, t, n, r) {
|
|
3668
|
-
e.push(
|
|
3668
|
+
e.push(_e(n));
|
|
3669
3669
|
var i = n = null, o;
|
|
3670
3670
|
for (o in t)
|
|
3671
3671
|
if (ce.call(t, o)) {
|
|
@@ -3686,7 +3686,7 @@ function ni(e, t, n, r) {
|
|
|
3686
3686
|
}
|
|
3687
3687
|
var ri = C(`
|
|
3688
3688
|
`), Qp = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, qs = /* @__PURE__ */ new Map();
|
|
3689
|
-
function
|
|
3689
|
+
function _e(e) {
|
|
3690
3690
|
var t = qs.get(e);
|
|
3691
3691
|
if (t === void 0) {
|
|
3692
3692
|
if (!Qp.test(e))
|
|
@@ -3699,7 +3699,7 @@ var em = C("<!DOCTYPE html>");
|
|
|
3699
3699
|
function tm(e, t, n, r, i) {
|
|
3700
3700
|
switch (t) {
|
|
3701
3701
|
case "select":
|
|
3702
|
-
e.push(
|
|
3702
|
+
e.push(_e("select"));
|
|
3703
3703
|
var o = null, s = null;
|
|
3704
3704
|
for (f in n)
|
|
3705
3705
|
if (ce.call(n, f)) {
|
|
@@ -3721,7 +3721,7 @@ function tm(e, t, n, r, i) {
|
|
|
3721
3721
|
}
|
|
3722
3722
|
return e.push(Ze), qn(e, s, o), o;
|
|
3723
3723
|
case "option":
|
|
3724
|
-
s = i.selectedValue, e.push(
|
|
3724
|
+
s = i.selectedValue, e.push(_e("option"));
|
|
3725
3725
|
var l = a = null, u = null, f = null;
|
|
3726
3726
|
for (o in n)
|
|
3727
3727
|
if (ce.call(n, o)) {
|
|
@@ -3756,7 +3756,7 @@ function tm(e, t, n, r, i) {
|
|
|
3756
3756
|
u && e.push(ti);
|
|
3757
3757
|
return e.push(Ze), qn(e, f, a), a;
|
|
3758
3758
|
case "textarea":
|
|
3759
|
-
e.push(
|
|
3759
|
+
e.push(_e("textarea")), f = s = o = null;
|
|
3760
3760
|
for (a in n)
|
|
3761
3761
|
if (ce.call(n, a) && (l = n[a], l != null))
|
|
3762
3762
|
switch (a) {
|
|
@@ -3784,7 +3784,7 @@ function tm(e, t, n, r, i) {
|
|
|
3784
3784
|
return typeof o == "string" && o[0] === `
|
|
3785
3785
|
` && e.push(ri), o !== null && e.push(L(ee("" + o))), null;
|
|
3786
3786
|
case "input":
|
|
3787
|
-
e.push(
|
|
3787
|
+
e.push(_e("input")), l = f = a = o = null;
|
|
3788
3788
|
for (s in n)
|
|
3789
3789
|
if (ce.call(n, s) && (u = n[s], u != null))
|
|
3790
3790
|
switch (s) {
|
|
@@ -3813,7 +3813,7 @@ function tm(e, t, n, r, i) {
|
|
|
3813
3813
|
f
|
|
3814
3814
|
) : l !== null && he(e, r, "checked", l), o !== null ? he(e, r, "value", o) : a !== null && he(e, r, "value", a), e.push(Hs), null;
|
|
3815
3815
|
case "menuitem":
|
|
3816
|
-
e.push(
|
|
3816
|
+
e.push(_e("menuitem"));
|
|
3817
3817
|
for (var d in n)
|
|
3818
3818
|
if (ce.call(n, d) && (o = n[d], o != null))
|
|
3819
3819
|
switch (d) {
|
|
@@ -3825,7 +3825,7 @@ function tm(e, t, n, r, i) {
|
|
|
3825
3825
|
}
|
|
3826
3826
|
return e.push(Ze), null;
|
|
3827
3827
|
case "title":
|
|
3828
|
-
e.push(
|
|
3828
|
+
e.push(_e("title")), o = null;
|
|
3829
3829
|
for (c in n)
|
|
3830
3830
|
if (ce.call(n, c) && (s = n[c], s != null))
|
|
3831
3831
|
switch (c) {
|
|
@@ -3840,7 +3840,7 @@ function tm(e, t, n, r, i) {
|
|
|
3840
3840
|
return e.push(Ze), o;
|
|
3841
3841
|
case "listing":
|
|
3842
3842
|
case "pre":
|
|
3843
|
-
e.push(
|
|
3843
|
+
e.push(_e(t)), s = o = null;
|
|
3844
3844
|
for (l in n)
|
|
3845
3845
|
if (ce.call(n, l) && (a = n[l], a != null))
|
|
3846
3846
|
switch (l) {
|
|
@@ -3877,7 +3877,7 @@ function tm(e, t, n, r, i) {
|
|
|
3877
3877
|
case "source":
|
|
3878
3878
|
case "track":
|
|
3879
3879
|
case "wbr":
|
|
3880
|
-
e.push(
|
|
3880
|
+
e.push(_e(t));
|
|
3881
3881
|
for (var h in n)
|
|
3882
3882
|
if (ce.call(n, h) && (o = n[h], o != null))
|
|
3883
3883
|
switch (h) {
|
|
@@ -3902,7 +3902,7 @@ function tm(e, t, n, r, i) {
|
|
|
3902
3902
|
default:
|
|
3903
3903
|
if (t.indexOf("-") === -1 && typeof n.is != "string")
|
|
3904
3904
|
return ni(e, n, t, r);
|
|
3905
|
-
e.push(
|
|
3905
|
+
e.push(_e(t)), s = o = null;
|
|
3906
3906
|
for (u in n)
|
|
3907
3907
|
if (ce.call(n, u) && (a = n[u], a != null))
|
|
3908
3908
|
switch (u) {
|
|
@@ -3933,7 +3933,7 @@ function Gs(e, t, n) {
|
|
|
3933
3933
|
throw Error(V(395));
|
|
3934
3934
|
return A(e, n), $(e, lm);
|
|
3935
3935
|
}
|
|
3936
|
-
var mm = C('<div hidden id="'), gm = C('">'), ym = C("</div>"), vm = C('<svg aria-hidden="true" style="display:none" id="'), xm = C('">'), bm = C("</svg>"), wm = C('<math aria-hidden="true" style="display:none" id="'), Sm = C('">'), Em = C("</math>"), Cm = C('<table hidden id="'), km = C('">'), Tm = C("</table>"), Pm = C('<table hidden><tbody id="'), Rm = C('">'), Am = C("</tbody></table>"), Om = C('<table hidden><tr id="'),
|
|
3936
|
+
var mm = C('<div hidden id="'), gm = C('">'), ym = C("</div>"), vm = C('<svg aria-hidden="true" style="display:none" id="'), xm = C('">'), bm = C("</svg>"), wm = C('<math aria-hidden="true" style="display:none" id="'), Sm = C('">'), Em = C("</math>"), Cm = C('<table hidden id="'), km = C('">'), Tm = C("</table>"), Pm = C('<table hidden><tbody id="'), Rm = C('">'), Am = C("</tbody></table>"), Om = C('<table hidden><tr id="'), _m = C('">'), Mm = C("</tr></table>"), Vm = C('<table hidden><colgroup id="'), Lm = C('">'), Fm = C("</colgroup></table>");
|
|
3937
3937
|
function Dm(e, t, n, r) {
|
|
3938
3938
|
switch (n.insertionMode) {
|
|
3939
3939
|
case 0:
|
|
@@ -3948,7 +3948,7 @@ function Dm(e, t, n, r) {
|
|
|
3948
3948
|
case 5:
|
|
3949
3949
|
return A(e, Pm), A(e, t.segmentPrefix), A(e, L(r.toString(16))), $(e, Rm);
|
|
3950
3950
|
case 6:
|
|
3951
|
-
return A(e, Om), A(e, t.segmentPrefix), A(e, L(r.toString(16))), $(e,
|
|
3951
|
+
return A(e, Om), A(e, t.segmentPrefix), A(e, L(r.toString(16))), $(e, _m);
|
|
3952
3952
|
case 7:
|
|
3953
3953
|
return A(
|
|
3954
3954
|
e,
|
|
@@ -3972,7 +3972,7 @@ function jm(e, t) {
|
|
|
3972
3972
|
case 5:
|
|
3973
3973
|
return $(e, Am);
|
|
3974
3974
|
case 6:
|
|
3975
|
-
return $(e,
|
|
3975
|
+
return $(e, Mm);
|
|
3976
3976
|
case 7:
|
|
3977
3977
|
return $(e, Fm);
|
|
3978
3978
|
default:
|
|
@@ -4131,14 +4131,14 @@ function og(e) {
|
|
|
4131
4131
|
function sg(e, t) {
|
|
4132
4132
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
4133
4133
|
}
|
|
4134
|
-
var ag = typeof Object.is == "function" ? Object.is : sg, We = null, Eo = null, Xn = null, I = null, Yt = !1, ar = !1, fn = 0, rt = null,
|
|
4134
|
+
var ag = typeof Object.is == "function" ? Object.is : sg, We = null, Eo = null, Xn = null, I = null, Yt = !1, ar = !1, fn = 0, rt = null, _r = 0;
|
|
4135
4135
|
function gt() {
|
|
4136
4136
|
if (We === null)
|
|
4137
4137
|
throw Error(V(321));
|
|
4138
4138
|
return We;
|
|
4139
4139
|
}
|
|
4140
4140
|
function Zs() {
|
|
4141
|
-
if (0 <
|
|
4141
|
+
if (0 < _r)
|
|
4142
4142
|
throw Error(V(312));
|
|
4143
4143
|
return { memoizedState: null, queue: null, next: null };
|
|
4144
4144
|
}
|
|
@@ -4146,7 +4146,7 @@ function Co() {
|
|
|
4146
4146
|
return I === null ? Xn === null ? (Yt = !1, Xn = I = Zs()) : (Yt = !0, I = Xn) : I.next === null ? (Yt = !1, I = I.next = Zs()) : (Yt = !0, I = I.next), I;
|
|
4147
4147
|
}
|
|
4148
4148
|
function ko() {
|
|
4149
|
-
Eo = We = null, ar = !1, Xn = null,
|
|
4149
|
+
Eo = We = null, ar = !1, Xn = null, _r = 0, I = rt = null;
|
|
4150
4150
|
}
|
|
4151
4151
|
function Ju(e, t) {
|
|
4152
4152
|
return typeof t == "function" ? t(e) : t;
|
|
@@ -4188,7 +4188,7 @@ function ea(e, t) {
|
|
|
4188
4188
|
return e = e(), I.memoizedState = [e, t], e;
|
|
4189
4189
|
}
|
|
4190
4190
|
function lg(e, t, n) {
|
|
4191
|
-
if (25 <=
|
|
4191
|
+
if (25 <= _r)
|
|
4192
4192
|
throw Error(V(301));
|
|
4193
4193
|
if (e === We)
|
|
4194
4194
|
if (ar = !0, e = { action: n, next: null }, rt === null && (rt = /* @__PURE__ */ new Map()), n = rt.get(t), n === void 0)
|
|
@@ -4236,7 +4236,7 @@ var ta = { readContext: function(e) {
|
|
|
4236
4236
|
if (n === void 0)
|
|
4237
4237
|
throw Error(V(407));
|
|
4238
4238
|
return n();
|
|
4239
|
-
} }, Kn = null, si =
|
|
4239
|
+
} }, Kn = null, si = _u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
|
|
4240
4240
|
function cg(e) {
|
|
4241
4241
|
return console.error(e), null;
|
|
4242
4242
|
}
|
|
@@ -4268,7 +4268,7 @@ function ur(e, t) {
|
|
|
4268
4268
|
}
|
|
4269
4269
|
function na(e, t, n, r, i) {
|
|
4270
4270
|
for (We = {}, Eo = t, fn = 0, e = n(r, i); ar; )
|
|
4271
|
-
ar = !1, fn = 0,
|
|
4271
|
+
ar = !1, fn = 0, _r += 1, I = null, e = n(r, i);
|
|
4272
4272
|
return ko(), e;
|
|
4273
4273
|
}
|
|
4274
4274
|
function ra(e, t, n, r) {
|
|
@@ -4548,7 +4548,7 @@ function An(e, t, n) {
|
|
|
4548
4548
|
for (var s = 0; s < n.length; s++) {
|
|
4549
4549
|
for (i = n[s]; o < i.index; o++)
|
|
4550
4550
|
A(t, r[o]);
|
|
4551
|
-
i =
|
|
4551
|
+
i = Mr(e, t, i);
|
|
4552
4552
|
}
|
|
4553
4553
|
for (; o < r.length - 1; o++)
|
|
4554
4554
|
A(t, r[o]);
|
|
@@ -4557,7 +4557,7 @@ function An(e, t, n) {
|
|
|
4557
4557
|
throw Error(V(390));
|
|
4558
4558
|
}
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Mr(e, t, n) {
|
|
4561
4561
|
var r = n.boundary;
|
|
4562
4562
|
if (r === null)
|
|
4563
4563
|
return An(e, t, n);
|
|
@@ -4572,12 +4572,12 @@ function _r(e, t, n) {
|
|
|
4572
4572
|
else {
|
|
4573
4573
|
if ($(t, sm), n = r.completedSegments, n.length !== 1)
|
|
4574
4574
|
throw Error(V(391));
|
|
4575
|
-
|
|
4575
|
+
Mr(e, t, n[0]);
|
|
4576
4576
|
}
|
|
4577
4577
|
return $(t, cm);
|
|
4578
4578
|
}
|
|
4579
4579
|
function sa(e, t, n) {
|
|
4580
|
-
return Dm(t, e.responseState, n.formatContext, n.id),
|
|
4580
|
+
return Dm(t, e.responseState, n.formatContext, n.id), Mr(e, t, n), jm(t, n.formatContext);
|
|
4581
4581
|
}
|
|
4582
4582
|
function aa(e, t, n) {
|
|
4583
4583
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
@@ -4602,7 +4602,7 @@ function Po(e, t) {
|
|
|
4602
4602
|
try {
|
|
4603
4603
|
var n = e.completedRootSegment;
|
|
4604
4604
|
if (n !== null && e.pendingRootTasks === 0) {
|
|
4605
|
-
|
|
4605
|
+
Mr(e, t, n), e.completedRootSegment = null;
|
|
4606
4606
|
var r = e.responseState.bootstrapChunks;
|
|
4607
4607
|
for (n = 0; n < r.length - 1; n++)
|
|
4608
4608
|
A(t, r[n]);
|
|
@@ -4936,31 +4936,31 @@ function Rg() {
|
|
|
4936
4936
|
var Ag = Rg();
|
|
4937
4937
|
const Og = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
|
|
4938
4938
|
`;
|
|
4939
|
-
function
|
|
4939
|
+
function _g({ children: e, styles: t = [], ...n }) {
|
|
4940
4940
|
return /* @__PURE__ */ R.jsxs(Ag.div, { ...n, children: [
|
|
4941
4941
|
[Og, ...t].map((r, i) => /* @__PURE__ */ R.jsx("style", { type: "text/css", children: r }, i)),
|
|
4942
4942
|
e
|
|
4943
4943
|
] });
|
|
4944
4944
|
}
|
|
4945
|
-
const Ro = (e) => typeof e == "number" && !isNaN(e), tn = (e) => typeof e == "string", uc = (e) => typeof e == "function",
|
|
4945
|
+
const Ro = (e) => typeof e == "number" && !isNaN(e), tn = (e) => typeof e == "string", uc = (e) => typeof e == "function", Mg = (e) => x.isValidElement(e) || tn(e) || uc(e) || Ro(e), Me = /* @__PURE__ */ new Map();
|
|
4946
4946
|
let Bi = [];
|
|
4947
|
-
const ca = /* @__PURE__ */ new Set(), cc = () =>
|
|
4947
|
+
const ca = /* @__PURE__ */ new Set(), cc = () => Me.size > 0;
|
|
4948
4948
|
function Vg(e, t) {
|
|
4949
4949
|
var n;
|
|
4950
4950
|
if (t)
|
|
4951
|
-
return !((n =
|
|
4951
|
+
return !((n = Me.get(t)) == null || !n.isToastActive(e));
|
|
4952
4952
|
let r = !1;
|
|
4953
|
-
return
|
|
4953
|
+
return Me.forEach((i) => {
|
|
4954
4954
|
i.isToastActive(e) && (r = !0);
|
|
4955
4955
|
}), r;
|
|
4956
4956
|
}
|
|
4957
4957
|
function Lg(e, t) {
|
|
4958
|
-
|
|
4958
|
+
Mg(e) && (cc() || Bi.push({ content: e, options: t }), Me.forEach((n) => {
|
|
4959
4959
|
n.buildToast(e, t);
|
|
4960
4960
|
}));
|
|
4961
4961
|
}
|
|
4962
4962
|
function fa(e, t) {
|
|
4963
|
-
|
|
4963
|
+
Me.forEach((n) => {
|
|
4964
4964
|
t != null && t != null && t.containerId ? (t == null ? void 0 : t.containerId) === n.id && n.toggle(e, t == null ? void 0 : t.id) : n.toggle(e, t == null ? void 0 : t.id);
|
|
4965
4965
|
});
|
|
4966
4966
|
}
|
|
@@ -4996,12 +4996,12 @@ B.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeO
|
|
|
4996
4996
|
var n;
|
|
4997
4997
|
if (cc()) {
|
|
4998
4998
|
if (t == null || tn(n = t) || Ro(n))
|
|
4999
|
-
|
|
4999
|
+
Me.forEach((i) => {
|
|
5000
5000
|
i.removeToast(t);
|
|
5001
5001
|
});
|
|
5002
5002
|
else if (t && ("containerId" in t || "id" in t)) {
|
|
5003
5003
|
var r;
|
|
5004
|
-
(r =
|
|
5004
|
+
(r = Me.get(t.containerId)) != null && r.removeToast(t.id) || Me.forEach((i) => {
|
|
5005
5005
|
i.removeToast(t.id);
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
@@ -5009,7 +5009,7 @@ B.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeO
|
|
|
5009
5009
|
Bi = Bi.filter((i) => t != null && i.options.toastId !== t);
|
|
5010
5010
|
})(e);
|
|
5011
5011
|
}, B.clearWaitingQueue = function(e) {
|
|
5012
|
-
e === void 0 && (e = {}),
|
|
5012
|
+
e === void 0 && (e = {}), Me.forEach((t) => {
|
|
5013
5013
|
!t.props.limit || e.containerId && t.id !== e.containerId || t.clearQueue();
|
|
5014
5014
|
});
|
|
5015
5015
|
}, B.isActive = Vg, B.update = function(e, t) {
|
|
@@ -5017,7 +5017,7 @@ B.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeO
|
|
|
5017
5017
|
const n = ((r, i) => {
|
|
5018
5018
|
var o;
|
|
5019
5019
|
let { containerId: s } = i;
|
|
5020
|
-
return (o =
|
|
5020
|
+
return (o = Me.get(s || 1)) == null ? void 0 : o.toasts.get(r);
|
|
5021
5021
|
})(e, t);
|
|
5022
5022
|
if (n) {
|
|
5023
5023
|
const { props: r, content: i } = n, o = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId: fc() };
|
|
@@ -5185,13 +5185,13 @@ function Ug(e, t, n, r) {
|
|
|
5185
5185
|
u && (u.updateFeatures(), !f.current && u.animationState && u.animationState.animateChanges(), f.current && (f.current = !1, window.HandoffComplete = !0));
|
|
5186
5186
|
}), u;
|
|
5187
5187
|
}
|
|
5188
|
-
function
|
|
5188
|
+
function Mt(e) {
|
|
5189
5189
|
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
|
|
5190
5190
|
}
|
|
5191
5191
|
function Wg(e, t, n) {
|
|
5192
5192
|
return x.useCallback(
|
|
5193
5193
|
(r) => {
|
|
5194
|
-
r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) :
|
|
5194
|
+
r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Mt(n) && (n.current = r));
|
|
5195
5195
|
},
|
|
5196
5196
|
/**
|
|
5197
5197
|
* Only pass a new ref callback to React if we've received a visual element
|
|
@@ -5207,7 +5207,7 @@ function hn(e) {
|
|
|
5207
5207
|
function Fr(e) {
|
|
5208
5208
|
return e !== null && typeof e == "object" && typeof e.start == "function";
|
|
5209
5209
|
}
|
|
5210
|
-
const
|
|
5210
|
+
const _o = [
|
|
5211
5211
|
"animate",
|
|
5212
5212
|
"whileInView",
|
|
5213
5213
|
"whileFocus",
|
|
@@ -5215,9 +5215,9 @@ const Mo = [
|
|
|
5215
5215
|
"whileTap",
|
|
5216
5216
|
"whileDrag",
|
|
5217
5217
|
"exit"
|
|
5218
|
-
],
|
|
5218
|
+
], Mo = ["initial", ..._o];
|
|
5219
5219
|
function Dr(e) {
|
|
5220
|
-
return Fr(e.animate) ||
|
|
5220
|
+
return Fr(e.animate) || Mo.some((t) => hn(e[t]));
|
|
5221
5221
|
}
|
|
5222
5222
|
function mc(e) {
|
|
5223
5223
|
return !!(Dr(e) || e.variants);
|
|
@@ -5418,7 +5418,7 @@ const xc = (e) => (t) => typeof t == "string" && t.startsWith(e), bc = xc("--"),
|
|
|
5418
5418
|
}, rn = {
|
|
5419
5419
|
...St,
|
|
5420
5420
|
transform: (e) => st(0, 1, e)
|
|
5421
|
-
},
|
|
5421
|
+
}, _n = {
|
|
5422
5422
|
...St,
|
|
5423
5423
|
default: 1
|
|
5424
5424
|
}, on = (e) => Math.round(e * 1e5) / 1e5, jr = /(-)?([\d]*\.?[\d])+/g, wc = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, oy = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
|
|
@@ -5475,10 +5475,10 @@ const Sn = (e) => ({
|
|
|
5475
5475
|
rotateX: Qe,
|
|
5476
5476
|
rotateY: Qe,
|
|
5477
5477
|
rotateZ: Qe,
|
|
5478
|
-
scale:
|
|
5479
|
-
scaleX:
|
|
5480
|
-
scaleY:
|
|
5481
|
-
scaleZ:
|
|
5478
|
+
scale: _n,
|
|
5479
|
+
scaleX: _n,
|
|
5480
|
+
scaleY: _n,
|
|
5481
|
+
scaleZ: _n,
|
|
5482
5482
|
skew: Qe,
|
|
5483
5483
|
skewX: Qe,
|
|
5484
5484
|
skewY: Qe,
|
|
@@ -5822,7 +5822,7 @@ function ky(e) {
|
|
|
5822
5822
|
};
|
|
5823
5823
|
return a;
|
|
5824
5824
|
}
|
|
5825
|
-
const
|
|
5825
|
+
const Mn = [
|
|
5826
5826
|
"prepare",
|
|
5827
5827
|
"read",
|
|
5828
5828
|
"update",
|
|
@@ -5836,16 +5836,16 @@ function Py(e, t) {
|
|
|
5836
5836
|
delta: 0,
|
|
5837
5837
|
timestamp: 0,
|
|
5838
5838
|
isProcessing: !1
|
|
5839
|
-
}, o =
|
|
5839
|
+
}, o = Mn.reduce((c, d) => (c[d] = ky(() => n = !0), c), {}), s = (c) => o[c].process(i), a = () => {
|
|
5840
5840
|
const c = performance.now();
|
|
5841
|
-
n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(c - i.timestamp, Ty), 1), i.timestamp = c, i.isProcessing = !0,
|
|
5841
|
+
n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(c - i.timestamp, Ty), 1), i.timestamp = c, i.isProcessing = !0, Mn.forEach(s), i.isProcessing = !1, n && t && (r = !1, e(a));
|
|
5842
5842
|
}, l = () => {
|
|
5843
5843
|
n = !0, r = !0, i.isProcessing || e(a);
|
|
5844
5844
|
};
|
|
5845
|
-
return { schedule:
|
|
5845
|
+
return { schedule: Mn.reduce((c, d) => {
|
|
5846
5846
|
const h = o[d];
|
|
5847
5847
|
return c[d] = (p, m = !1, g = !1) => (n || l(), h.schedule(p, m, g)), c;
|
|
5848
|
-
}, {}), cancel: (c) =>
|
|
5848
|
+
}, {}), cancel: (c) => Mn.forEach((d) => o[d].cancel(c)), state: i, steps: o };
|
|
5849
5849
|
}
|
|
5850
5850
|
const { schedule: z, cancel: He, state: re, steps: li } = Py(typeof requestAnimationFrame < "u" ? requestAnimationFrame : q, !0), Ry = {
|
|
5851
5851
|
useVisualState: Oc({
|
|
@@ -5886,7 +5886,7 @@ function Oy(e, { forwardMotionProps: t = !1 }, n, r) {
|
|
|
5886
5886
|
function Ne(e, t, n, r = { passive: !0 }) {
|
|
5887
5887
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n);
|
|
5888
5888
|
}
|
|
5889
|
-
const
|
|
5889
|
+
const _c = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
|
|
5890
5890
|
function Ir(e, t = "page") {
|
|
5891
5891
|
return {
|
|
5892
5892
|
point: {
|
|
@@ -5895,12 +5895,12 @@ function Ir(e, t = "page") {
|
|
|
5895
5895
|
}
|
|
5896
5896
|
};
|
|
5897
5897
|
}
|
|
5898
|
-
const
|
|
5898
|
+
const _y = (e) => (t) => _c(t) && e(t, Ir(t));
|
|
5899
5899
|
function $e(e, t, n, r) {
|
|
5900
|
-
return Ne(e, t,
|
|
5900
|
+
return Ne(e, t, _y(n), r);
|
|
5901
5901
|
}
|
|
5902
|
-
const
|
|
5903
|
-
function
|
|
5902
|
+
const My = (e, t) => (n) => t(e(n)), it = (...e) => e.reduce(My);
|
|
5903
|
+
function Mc(e) {
|
|
5904
5904
|
let t = null;
|
|
5905
5905
|
return () => {
|
|
5906
5906
|
const n = () => {
|
|
@@ -5909,7 +5909,7 @@ function _c(e) {
|
|
|
5909
5909
|
return t === null ? (t = e, n) : !1;
|
|
5910
5910
|
};
|
|
5911
5911
|
}
|
|
5912
|
-
const va =
|
|
5912
|
+
const va = Mc("dragHorizontal"), xa = Mc("dragVertical");
|
|
5913
5913
|
function Vc(e) {
|
|
5914
5914
|
let t = !1;
|
|
5915
5915
|
if (e === "y")
|
|
@@ -6547,8 +6547,8 @@ function Ta({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
6547
6547
|
const g = c + m, y = s === void 0 ? g : s(g);
|
|
6548
6548
|
y !== g && (m = y - c);
|
|
6549
6549
|
const b = (P) => -m * Math.exp(-P / r), v = (P) => y + b(P), S = (P) => {
|
|
6550
|
-
const
|
|
6551
|
-
d.done = Math.abs(
|
|
6550
|
+
const M = b(P), H = v(P);
|
|
6551
|
+
d.done = Math.abs(M) <= u, d.value = d.done ? y : H;
|
|
6552
6552
|
};
|
|
6553
6553
|
let E, k;
|
|
6554
6554
|
const T = (P) => {
|
|
@@ -6564,12 +6564,12 @@ function Ta({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
6564
6564
|
return T(0), {
|
|
6565
6565
|
calculatedDuration: null,
|
|
6566
6566
|
next: (P) => {
|
|
6567
|
-
let
|
|
6568
|
-
return !k && E === void 0 && (
|
|
6567
|
+
let M = !1;
|
|
6568
|
+
return !k && E === void 0 && (M = !0, S(P), T(P)), E !== void 0 && P > E ? k.next(P - E) : (!M && S(P), d);
|
|
6569
6569
|
}
|
|
6570
6570
|
};
|
|
6571
6571
|
}
|
|
6572
|
-
const
|
|
6572
|
+
const _0 = (e) => {
|
|
6573
6573
|
const t = ({ timestamp: n }) => e(n);
|
|
6574
6574
|
return {
|
|
6575
6575
|
start: () => z.update(t, !0),
|
|
@@ -6589,14 +6589,14 @@ function Ra(e) {
|
|
|
6589
6589
|
t += n, r = e.next(t);
|
|
6590
6590
|
return t >= Pa ? 1 / 0 : t;
|
|
6591
6591
|
}
|
|
6592
|
-
const
|
|
6592
|
+
const M0 = {
|
|
6593
6593
|
decay: Ta,
|
|
6594
6594
|
inertia: Ta,
|
|
6595
6595
|
tween: gr,
|
|
6596
6596
|
keyframes: gr,
|
|
6597
6597
|
spring: lf
|
|
6598
6598
|
};
|
|
6599
|
-
function yr({ autoplay: e = !0, delay: t = 0, driver: n =
|
|
6599
|
+
function yr({ autoplay: e = !0, delay: t = 0, driver: n = _0, keyframes: r, type: i = "keyframes", repeat: o = 0, repeatDelay: s = 0, repeatType: a = "loop", onPlay: l, onStop: u, onComplete: f, onUpdate: c, ...d }) {
|
|
6600
6600
|
let h = 1, p = !1, m, g;
|
|
6601
6601
|
const y = () => {
|
|
6602
6602
|
g = new Promise((N) => {
|
|
@@ -6605,7 +6605,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6605
6605
|
};
|
|
6606
6606
|
y();
|
|
6607
6607
|
let b;
|
|
6608
|
-
const v =
|
|
6608
|
+
const v = M0[i] || gr;
|
|
6609
6609
|
let S;
|
|
6610
6610
|
v !== gr && typeof r[0] != "number" && (S = of([0, 100], r, {
|
|
6611
6611
|
clamp: !1
|
|
@@ -6617,16 +6617,16 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6617
6617
|
keyframes: [...r].reverse(),
|
|
6618
6618
|
velocity: -(d.velocity || 0)
|
|
6619
6619
|
}));
|
|
6620
|
-
let T = "idle", P = null,
|
|
6620
|
+
let T = "idle", P = null, M = null, H = null;
|
|
6621
6621
|
E.calculatedDuration === null && o && (E.calculatedDuration = Ra(E));
|
|
6622
6622
|
const { calculatedDuration: D } = E;
|
|
6623
6623
|
let U = 1 / 0, J = 1 / 0;
|
|
6624
6624
|
D !== null && (U = D + s, J = U * (o + 1) - s);
|
|
6625
6625
|
let Z = 0;
|
|
6626
6626
|
const Te = (N) => {
|
|
6627
|
-
if (
|
|
6627
|
+
if (M === null)
|
|
6628
6628
|
return;
|
|
6629
|
-
h > 0 && (
|
|
6629
|
+
h > 0 && (M = Math.min(M, N)), h < 0 && (M = Math.min(N - J / h, M)), P !== null ? Z = P : Z = Math.round(N - M) * h;
|
|
6630
6630
|
const Ct = Z - t * (h >= 0 ? 1 : -1), kt = h >= 0 ? Ct < 0 : Ct > J;
|
|
6631
6631
|
Z = Math.max(Ct, 0), T === "finished" && P === null && (Z = J);
|
|
6632
6632
|
let Wr = Z, ut = E;
|
|
@@ -6644,7 +6644,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6644
6644
|
}, Y = () => {
|
|
6645
6645
|
b && b.stop(), b = void 0;
|
|
6646
6646
|
}, Pe = () => {
|
|
6647
|
-
T = "idle", Y(), m(), y(),
|
|
6647
|
+
T = "idle", Y(), m(), y(), M = H = null;
|
|
6648
6648
|
}, Q = () => {
|
|
6649
6649
|
T = "finished", f && f(), Y(), m();
|
|
6650
6650
|
}, qe = () => {
|
|
@@ -6652,7 +6652,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6652
6652
|
return;
|
|
6653
6653
|
b || (b = n(Te));
|
|
6654
6654
|
const N = b.now();
|
|
6655
|
-
l && l(), P !== null ?
|
|
6655
|
+
l && l(), P !== null ? M = N - P : (!M || T === "finished") && (M = N), T === "finished" && y(), H = M, P = null, T = "running", b.start();
|
|
6656
6656
|
};
|
|
6657
6657
|
e && qe();
|
|
6658
6658
|
const Et = {
|
|
@@ -6663,7 +6663,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6663
6663
|
return ze(Z);
|
|
6664
6664
|
},
|
|
6665
6665
|
set time(N) {
|
|
6666
|
-
N = ot(N), Z = N, P !== null || !b || h === 0 ? P = N :
|
|
6666
|
+
N = ot(N), Z = N, P !== null || !b || h === 0 ? P = N : M = b.now() - N / h;
|
|
6667
6667
|
},
|
|
6668
6668
|
get duration() {
|
|
6669
6669
|
const N = E.calculatedDuration === null ? Ra(E) : E.calculatedDuration;
|
|
@@ -6691,7 +6691,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6691
6691
|
complete: () => {
|
|
6692
6692
|
T = "finished";
|
|
6693
6693
|
},
|
|
6694
|
-
sample: (N) => (
|
|
6694
|
+
sample: (N) => (M = 0, Te(N))
|
|
6695
6695
|
};
|
|
6696
6696
|
return Et;
|
|
6697
6697
|
}
|
|
@@ -7301,7 +7301,7 @@ function hv(e, t, n = {}) {
|
|
|
7301
7301
|
}
|
|
7302
7302
|
return r.then(() => e.notify("AnimationComplete", t));
|
|
7303
7303
|
}
|
|
7304
|
-
const pv = [...
|
|
7304
|
+
const pv = [..._o].reverse(), mv = _o.length;
|
|
7305
7305
|
function gv(e) {
|
|
7306
7306
|
return (t) => Promise.all(t.map(({ animation: n, options: r }) => hv(e, n, r)));
|
|
7307
7307
|
}
|
|
@@ -7332,7 +7332,7 @@ function yv(e) {
|
|
|
7332
7332
|
!S && !v.prevProp || // Or if the prop doesn't define an animation
|
|
7333
7333
|
Fr(S) || typeof S == "boolean")
|
|
7334
7334
|
continue;
|
|
7335
|
-
let
|
|
7335
|
+
let M = vv(v.prevProp, S) || // If we're making this variant active, we want to always make it active
|
|
7336
7336
|
b === u && v.isActive && !T && E || // If we removed a higher-priority variant (i is in reverse order)
|
|
7337
7337
|
y > m && E, H = !1;
|
|
7338
7338
|
const D = Array.isArray(S) ? S : [S];
|
|
@@ -7342,7 +7342,7 @@ function yv(e) {
|
|
|
7342
7342
|
...J,
|
|
7343
7343
|
...U
|
|
7344
7344
|
}, Te = (Y) => {
|
|
7345
|
-
|
|
7345
|
+
M = !0, h.has(Y) && (H = !0, h.delete(Y)), v.needsAnimating[Y] = !0;
|
|
7346
7346
|
};
|
|
7347
7347
|
for (const Y in Z) {
|
|
7348
7348
|
const Pe = U[Y], Q = J[Y];
|
|
@@ -7351,7 +7351,7 @@ function yv(e) {
|
|
|
7351
7351
|
let qe = !1;
|
|
7352
7352
|
pr(Pe) && pr(Q) ? qe = !Dc(Pe, Q) : qe = Pe !== Q, qe ? Pe !== void 0 ? Te(Y) : h.add(Y) : Pe !== void 0 && h.has(Y) ? Te(Y) : v.protectedKeys[Y] = !0;
|
|
7353
7353
|
}
|
|
7354
|
-
v.prevProp = S, v.prevResolvedValues = U, v.isActive && (p = { ...p, ...U }), r && e.blockInitialAnimation && (
|
|
7354
|
+
v.prevProp = S, v.prevResolvedValues = U, v.isActive && (p = { ...p, ...U }), r && e.blockInitialAnimation && (M = !1), M && (!T || H) && d.push(...D.map((Y) => ({
|
|
7355
7355
|
animation: Y,
|
|
7356
7356
|
options: { type: b, ...l }
|
|
7357
7357
|
})));
|
|
@@ -7488,7 +7488,7 @@ class mf {
|
|
|
7488
7488
|
return;
|
|
7489
7489
|
const g = yi(c.type === "pointercancel" ? this.lastMoveEventInfo : gi(d, this.transformPagePoint), this.history);
|
|
7490
7490
|
this.startEvent && h && h(c, g), p && p(c, g);
|
|
7491
|
-
}, !
|
|
7491
|
+
}, !_c(t))
|
|
7492
7492
|
return;
|
|
7493
7493
|
this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = r, this.contextWindow = i || window;
|
|
7494
7494
|
const s = Ir(t), a = gi(s, this.transformPagePoint), { point: l } = a, { timestamp: u } = re;
|
|
@@ -7547,17 +7547,17 @@ function xe(e) {
|
|
|
7547
7547
|
function Ki(e, t = 0, n = 0.01) {
|
|
7548
7548
|
return Math.abs(e - t) <= n;
|
|
7549
7549
|
}
|
|
7550
|
-
function
|
|
7550
|
+
function _a(e, t, n, r = 0.5) {
|
|
7551
7551
|
e.origin = r, e.originPoint = W(t.min, t.max, e.origin), e.scale = xe(n) / xe(t), (Ki(e.scale, 1, 1e-4) || isNaN(e.scale)) && (e.scale = 1), e.translate = W(n.min, n.max, e.origin) - e.originPoint, (Ki(e.translate) || isNaN(e.translate)) && (e.translate = 0);
|
|
7552
7552
|
}
|
|
7553
7553
|
function sn(e, t, n, r) {
|
|
7554
|
-
|
|
7554
|
+
_a(e.x, t.x, n.x, r ? r.originX : void 0), _a(e.y, t.y, n.y, r ? r.originY : void 0);
|
|
7555
7555
|
}
|
|
7556
|
-
function
|
|
7556
|
+
function Ma(e, t, n) {
|
|
7557
7557
|
e.min = n.min + t.min, e.max = e.min + xe(t);
|
|
7558
7558
|
}
|
|
7559
7559
|
function Pv(e, t, n) {
|
|
7560
|
-
|
|
7560
|
+
Ma(e.x, t.x, n.x), Ma(e.y, t.y, n.y);
|
|
7561
7561
|
}
|
|
7562
7562
|
function Va(e, t, n) {
|
|
7563
7563
|
e.min = t.min - n.min, e.max = e.min + xe(t);
|
|
@@ -7590,12 +7590,12 @@ function Ov(e, t) {
|
|
|
7590
7590
|
y: Fa(e.y, t.y)
|
|
7591
7591
|
};
|
|
7592
7592
|
}
|
|
7593
|
-
function
|
|
7593
|
+
function _v(e, t) {
|
|
7594
7594
|
let n = 0.5;
|
|
7595
7595
|
const r = xe(e), i = xe(t);
|
|
7596
7596
|
return i > r ? n = mn(t.min, t.max - r, e.min) : r > i && (n = mn(e.min, e.max - i, t.min)), st(0, 1, n);
|
|
7597
7597
|
}
|
|
7598
|
-
function
|
|
7598
|
+
function Mv(e, t) {
|
|
7599
7599
|
const n = {};
|
|
7600
7600
|
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
|
|
7601
7601
|
}
|
|
@@ -7797,13 +7797,13 @@ class $v {
|
|
|
7797
7797
|
resolveConstraints() {
|
|
7798
7798
|
var t;
|
|
7799
7799
|
const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, o = this.constraints;
|
|
7800
|
-
n &&
|
|
7801
|
-
this.getAxisMotionValue(s) && (this.constraints[s] =
|
|
7800
|
+
n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Av(i.layoutBox, n) : this.constraints = !1, this.elastic = Vv(r), o !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && we((s) => {
|
|
7801
|
+
this.getAxisMotionValue(s) && (this.constraints[s] = Mv(i.layoutBox[s], this.constraints[s]));
|
|
7802
7802
|
});
|
|
7803
7803
|
}
|
|
7804
7804
|
resolveRefConstraints() {
|
|
7805
7805
|
const { dragConstraints: t, onMeasureDragConstraints: n } = this.getProps();
|
|
7806
|
-
if (!t || !
|
|
7806
|
+
if (!t || !Mt(t))
|
|
7807
7807
|
return !1;
|
|
7808
7808
|
const r = t.current, { projection: i } = this.visualElement;
|
|
7809
7809
|
if (!i || !i.layout)
|
|
@@ -7885,7 +7885,7 @@ class $v {
|
|
|
7885
7885
|
if (!this.visualElement.current)
|
|
7886
7886
|
return;
|
|
7887
7887
|
const { drag: t, dragConstraints: n } = this.getProps(), { projection: r } = this.visualElement;
|
|
7888
|
-
if (!
|
|
7888
|
+
if (!Mt(n) || !r || !this.constraints)
|
|
7889
7889
|
return;
|
|
7890
7890
|
this.stopAnimation();
|
|
7891
7891
|
const i = { x: 0, y: 0 };
|
|
@@ -7893,7 +7893,7 @@ class $v {
|
|
|
7893
7893
|
const a = this.getAxisMotionValue(s);
|
|
7894
7894
|
if (a) {
|
|
7895
7895
|
const l = a.get();
|
|
7896
|
-
i[s] =
|
|
7896
|
+
i[s] = _v({ min: l, max: l }, this.constraints[s]);
|
|
7897
7897
|
}
|
|
7898
7898
|
});
|
|
7899
7899
|
const { transformTemplate: o } = this.visualElement.getProps();
|
|
@@ -7913,7 +7913,7 @@ class $v {
|
|
|
7913
7913
|
u && f && this.start(l);
|
|
7914
7914
|
}), r = () => {
|
|
7915
7915
|
const { dragConstraints: l } = this.getProps();
|
|
7916
|
-
|
|
7916
|
+
Mt(l) && (this.constraints = this.resolveRefConstraints());
|
|
7917
7917
|
}, { projection: i } = this.visualElement, o = i.addEventListener("measure", r);
|
|
7918
7918
|
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), r();
|
|
7919
7919
|
const s = Ne(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: u }) => {
|
|
@@ -8858,7 +8858,7 @@ function Qi(e, t, n = 1) {
|
|
|
8858
8858
|
} else
|
|
8859
8859
|
return zi(i) ? Qi(i, t, n + 1) : i;
|
|
8860
8860
|
}
|
|
8861
|
-
function
|
|
8861
|
+
function _x(e, { ...t }, n) {
|
|
8862
8862
|
const r = e.current;
|
|
8863
8863
|
if (!(r instanceof Element))
|
|
8864
8864
|
return { target: t, transitionEnd: n };
|
|
@@ -8878,7 +8878,7 @@ function Mx(e, { ...t }, n) {
|
|
|
8878
8878
|
}
|
|
8879
8879
|
return { target: t, transitionEnd: n };
|
|
8880
8880
|
}
|
|
8881
|
-
const
|
|
8881
|
+
const Mx = /* @__PURE__ */ new Set([
|
|
8882
8882
|
"width",
|
|
8883
8883
|
"height",
|
|
8884
8884
|
"top",
|
|
@@ -8889,7 +8889,7 @@ const _x = /* @__PURE__ */ new Set([
|
|
|
8889
8889
|
"y",
|
|
8890
8890
|
"translateX",
|
|
8891
8891
|
"translateY"
|
|
8892
|
-
]), Of = (e) =>
|
|
8892
|
+
]), Of = (e) => Mx.has(e), Vx = (e) => Object.keys(e).some(Of), fl = (e) => e === St || e === O, dl = (e, t) => parseFloat(e.split(", ")[t]), hl = (e, t) => (n, { transform: r }) => {
|
|
8893
8893
|
if (r === "none" || !r)
|
|
8894
8894
|
return 0;
|
|
8895
8895
|
const i = r.match(/^matrix3d\((.+)\)$/);
|
|
@@ -8968,11 +8968,11 @@ function Nx(e, t, n, r) {
|
|
|
8968
8968
|
return Vx(t) ? Ix(e, t, n, r) : { target: t, transitionEnd: r };
|
|
8969
8969
|
}
|
|
8970
8970
|
const Bx = (e, t, n, r) => {
|
|
8971
|
-
const i =
|
|
8971
|
+
const i = _x(e, t, r);
|
|
8972
8972
|
return t = i.target, r = i.transitionEnd, Nx(e, t, n, r);
|
|
8973
|
-
}, eo = { current: null },
|
|
8973
|
+
}, eo = { current: null }, _f = { current: !1 };
|
|
8974
8974
|
function $x() {
|
|
8975
|
-
if (
|
|
8975
|
+
if (_f.current = !0, !!Lr)
|
|
8976
8976
|
if (window.matchMedia) {
|
|
8977
8977
|
const e = window.matchMedia("(prefers-reduced-motion)"), t = () => eo.current = e.matches;
|
|
8978
8978
|
e.addListener(t), t();
|
|
@@ -9000,7 +9000,7 @@ function zx(e, t, n) {
|
|
|
9000
9000
|
t[i] === void 0 && e.removeValue(i);
|
|
9001
9001
|
return t;
|
|
9002
9002
|
}
|
|
9003
|
-
const pl = /* @__PURE__ */ new WeakMap(),
|
|
9003
|
+
const pl = /* @__PURE__ */ new WeakMap(), Mf = Object.keys(pn), Ux = Mf.length, ml = [
|
|
9004
9004
|
"AnimationStart",
|
|
9005
9005
|
"AnimationComplete",
|
|
9006
9006
|
"Update",
|
|
@@ -9008,7 +9008,7 @@ const pl = /* @__PURE__ */ new WeakMap(), _f = Object.keys(pn), Ux = _f.length,
|
|
|
9008
9008
|
"LayoutMeasure",
|
|
9009
9009
|
"LayoutAnimationStart",
|
|
9010
9010
|
"LayoutAnimationComplete"
|
|
9011
|
-
], Wx =
|
|
9011
|
+
], Wx = Mo.length;
|
|
9012
9012
|
class Hx {
|
|
9013
9013
|
constructor({ parent: t, props: n, presenceContext: r, reducedMotionConfig: i, visualState: o }, s = {}) {
|
|
9014
9014
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
|
@@ -9033,7 +9033,7 @@ class Hx {
|
|
|
9033
9033
|
return {};
|
|
9034
9034
|
}
|
|
9035
9035
|
mount(t) {
|
|
9036
|
-
this.current = t, pl.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)),
|
|
9036
|
+
this.current = t, pl.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), _f.current || $x(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : eo.current, this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
|
|
9037
9037
|
}
|
|
9038
9038
|
unmount() {
|
|
9039
9039
|
pl.delete(this.current), this.projection && this.projection.unmount(), He(this.notifyUpdate), He(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
|
|
@@ -9057,7 +9057,7 @@ class Hx {
|
|
|
9057
9057
|
loadFeatures({ children: t, ...n }, r, i, o) {
|
|
9058
9058
|
let s, a;
|
|
9059
9059
|
for (let l = 0; l < Ux; l++) {
|
|
9060
|
-
const u =
|
|
9060
|
+
const u = Mf[l], { isEnabled: f, Feature: c, ProjectionNode: d, MeasureLayout: h } = pn[u];
|
|
9061
9061
|
d && (s = d), f(n) && (!this.features[u] && c && (this.features[u] = new c(this)), h && (a = h));
|
|
9062
9062
|
}
|
|
9063
9063
|
if ((this.type === "html" || this.type === "svg") && !this.projection && s) {
|
|
@@ -9066,7 +9066,7 @@ class Hx {
|
|
|
9066
9066
|
this.projection.setOptions({
|
|
9067
9067
|
layoutId: l,
|
|
9068
9068
|
layout: u,
|
|
9069
|
-
alwaysMeasureLayout: !!f || c &&
|
|
9069
|
+
alwaysMeasureLayout: !!f || c && Mt(c),
|
|
9070
9070
|
visualElement: this,
|
|
9071
9071
|
scheduleRender: () => this.scheduleRender(),
|
|
9072
9072
|
/**
|
|
@@ -9161,7 +9161,7 @@ class Hx {
|
|
|
9161
9161
|
}
|
|
9162
9162
|
const n = {};
|
|
9163
9163
|
for (let r = 0; r < Wx; r++) {
|
|
9164
|
-
const i =
|
|
9164
|
+
const i = Mo[r], o = this.props[i];
|
|
9165
9165
|
(hn(o) || o === !1) && (n[i] = o);
|
|
9166
9166
|
}
|
|
9167
9167
|
return n;
|
|
@@ -9947,11 +9947,11 @@ function wi(e, t, n) {
|
|
|
9947
9947
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
9948
9948
|
* MIT Licensed
|
|
9949
9949
|
*/
|
|
9950
|
-
var Sl = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, Rb = /\\([\u000b\u0020-\u00ff])/g, Ab = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, Ob =
|
|
9951
|
-
function
|
|
9950
|
+
var Sl = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, Rb = /\\([\u000b\u0020-\u00ff])/g, Ab = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, Ob = _b;
|
|
9951
|
+
function _b(e) {
|
|
9952
9952
|
if (!e)
|
|
9953
9953
|
throw new TypeError("argument string is required");
|
|
9954
|
-
var t = typeof e == "object" ?
|
|
9954
|
+
var t = typeof e == "object" ? Mb(e) : e;
|
|
9955
9955
|
if (typeof t != "string")
|
|
9956
9956
|
throw new TypeError("argument string is required to be a string");
|
|
9957
9957
|
var n = t.indexOf(";"), r = n !== -1 ? t.slice(0, n).trim() : t.trim();
|
|
@@ -9970,7 +9970,7 @@ function Mb(e) {
|
|
|
9970
9970
|
}
|
|
9971
9971
|
return i;
|
|
9972
9972
|
}
|
|
9973
|
-
function
|
|
9973
|
+
function Mb(e) {
|
|
9974
9974
|
var t;
|
|
9975
9975
|
if (typeof e.getHeader == "function" ? t = e.getHeader("content-type") : typeof e.headers == "object" && (t = e.headers && e.headers["content-type"]), typeof t != "string")
|
|
9976
9976
|
throw new TypeError("content-type header is missing from object");
|
|
@@ -10116,8 +10116,8 @@ var Ot = /* @__PURE__ */ new Map(), Hf = function(t) {
|
|
|
10116
10116
|
});
|
|
10117
10117
|
}
|
|
10118
10118
|
c.removeAttribute("xmlns:a");
|
|
10119
|
-
for (var
|
|
10120
|
-
U =
|
|
10119
|
+
for (var M = c.querySelectorAll("script"), H = [], D, U, J = 0, Z = M.length; J < Z; J++)
|
|
10120
|
+
U = M[J].getAttribute("type"), (!U || U === "application/ecmascript" || U === "application/javascript" || U === "text/javascript") && (D = M[J].innerText || M[J].textContent, D && H.push(D), c.removeChild(M[J]));
|
|
10121
10121
|
if (H.length > 0 && (n === "always" || n === "once" && !kl[l])) {
|
|
10122
10122
|
for (var Te = 0, Y = H.length; Te < Y; Te++)
|
|
10123
10123
|
new Function(H[Te])(window);
|
|
@@ -10200,16 +10200,16 @@ var Ot = /* @__PURE__ */ new Map(), Hf = function(t) {
|
|
|
10200
10200
|
}, function() {
|
|
10201
10201
|
try {
|
|
10202
10202
|
m(P);
|
|
10203
|
-
} catch (
|
|
10204
|
-
v(
|
|
10203
|
+
} catch (M) {
|
|
10204
|
+
v(M);
|
|
10205
10205
|
}
|
|
10206
10206
|
});
|
|
10207
10207
|
}, E = function(T) {
|
|
10208
10208
|
if (T.setAttribute("role", "img"), s) {
|
|
10209
10209
|
var P = T.querySelector(":scope > desc");
|
|
10210
10210
|
P && T.removeChild(P);
|
|
10211
|
-
var
|
|
10212
|
-
|
|
10211
|
+
var M = document.createElement("desc");
|
|
10212
|
+
M.innerHTML = s, T.prepend(M);
|
|
10213
10213
|
}
|
|
10214
10214
|
if (c) {
|
|
10215
10215
|
var H = T.querySelector(":scope > title");
|
|
@@ -10387,8 +10387,8 @@ function qb(e) {
|
|
|
10387
10387
|
);
|
|
10388
10388
|
}
|
|
10389
10389
|
function Gf({ item: e, level: t = 0, ...n }) {
|
|
10390
|
-
var
|
|
10391
|
-
const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", u = r(e.id) ? "active" : "", f = (D, U = a) => `${D} ${U} ${l} ${u}`, c = !!((
|
|
10390
|
+
var M, H;
|
|
10391
|
+
const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", u = r(e.id) ? "active" : "", f = (D, U = a) => `${D} ${U} ${l} ${u}`, c = !!((M = e.children) != null && M.length), [d, h] = x.useState(!1), p = x.useRef(), m = window.location.origin, g = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, y = window.location.pathname.split("/")[1], b = g.pathname.split("/")[1], v = n.ssr || !m.includes("local") && m !== g.origin || b !== y, S = c || t === 0 ? "div" : v ? "a" : kb, E = e.path || "#", k = t + 1, T = c && !(i && k >= 2 && !d), P = i || t === 0 ? void 0 : `${t}rem`;
|
|
10392
10392
|
return /* @__PURE__ */ R.jsxs(
|
|
10393
10393
|
"div",
|
|
10394
10394
|
{
|
|
@@ -10556,7 +10556,7 @@ function Yb(e) {
|
|
|
10556
10556
|
}
|
|
10557
10557
|
);
|
|
10558
10558
|
}
|
|
10559
|
-
const Jb = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1
|
|
10559
|
+
const Jb = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:#009d4f!important}.menu-item__link.active.expanded.level-2,.menu-item__link.active.expanded.level-3,.menu-item__link.active.expanded.level-4,.menu-item__link.active.expanded.level-5,.menu-item__link.active.expanded.level-6,.menu-item__link.active.expanded.level-7,.menu-item__link.active.expanded.level-8,.menu-item__link.active.expanded.level-9,.menu-item__link.active.expanded.level-10{background-color:unset;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
10560
10560
|
`;
|
|
10561
10561
|
function Zb(e) {
|
|
10562
10562
|
const { baseUrl: t, menuPath: n } = e, r = Ur(), [i, o] = x.useState([]), [s, a] = x.useState(
|
|
@@ -10581,7 +10581,7 @@ function Zb(e) {
|
|
|
10581
10581
|
(async () => {
|
|
10582
10582
|
var k, T;
|
|
10583
10583
|
try {
|
|
10584
|
-
const
|
|
10584
|
+
const M = t + (n || "/global-menu-config/api/v1/menu-items/user"), { data: H } = await vh.get(M, {
|
|
10585
10585
|
withCredentials: !0
|
|
10586
10586
|
});
|
|
10587
10587
|
let D = H.map((J) => ({
|
|
@@ -10707,7 +10707,7 @@ function ew(e) {
|
|
|
10707
10707
|
}
|
|
10708
10708
|
function tw(e) {
|
|
10709
10709
|
return /* @__PURE__ */ R.jsx(
|
|
10710
|
-
|
|
10710
|
+
_g,
|
|
10711
10711
|
{
|
|
10712
10712
|
styles: [tp, Jb],
|
|
10713
10713
|
style: { position: "sticky", zIndex: 20 },
|
|
@@ -10734,7 +10734,7 @@ function nw(e) {
|
|
|
10734
10734
|
export {
|
|
10735
10735
|
tw as G,
|
|
10736
10736
|
ip as L,
|
|
10737
|
-
|
|
10737
|
+
_g as S,
|
|
10738
10738
|
yn as _,
|
|
10739
10739
|
Wf as a,
|
|
10740
10740
|
aw as b,
|