@x4b/banner 28.6.0 → 28.7.0
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/banner.es.js +256 -247
- package/dist/banner.es.js.map +1 -1
- package/dist/banner.umd.js +17 -17
- package/dist/banner.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/banner.es.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as w from "react";
|
2
2
|
import ce, { useCallback as Xt, useLayoutEffect as xa, useEffect as qr, useRef as Ta, useState as Qr } from "react";
|
3
|
-
import { Button as
|
3
|
+
import { Button as re } from "@x4b/design-system";
|
4
4
|
import { createPortal as Sa } from "react-dom";
|
5
5
|
var Pt = function(e, t) {
|
6
6
|
return Pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
@@ -19,15 +19,15 @@ function ee(e, t) {
|
|
19
19
|
}
|
20
20
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
21
21
|
}
|
22
|
-
var
|
23
|
-
return
|
22
|
+
var S = function() {
|
23
|
+
return S = Object.assign || function(t) {
|
24
24
|
for (var r, n = 1, a = arguments.length; n < a; n++) {
|
25
25
|
r = arguments[n];
|
26
26
|
for (var o in r)
|
27
27
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
28
28
|
}
|
29
29
|
return t;
|
30
|
-
},
|
30
|
+
}, S.apply(this, arguments);
|
31
31
|
};
|
32
32
|
function Vt(e, t) {
|
33
33
|
var r = {};
|
@@ -38,7 +38,7 @@ function Vt(e, t) {
|
|
38
38
|
t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
|
39
39
|
return r;
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function oe(e, t, r) {
|
42
42
|
if (r || arguments.length === 2)
|
43
43
|
for (var n = 0, a = t.length, o; n < a; n++)
|
44
44
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
@@ -58,7 +58,7 @@ function Ra() {
|
|
58
58
|
if (yr)
|
59
59
|
return _;
|
60
60
|
yr = 1;
|
61
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, I = e ? Symbol.for("react.block") : 60121,
|
61
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, I = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, p = e ? Symbol.for("react.scope") : 60119;
|
62
62
|
function v(y) {
|
63
63
|
if (typeof y == "object" && y !== null) {
|
64
64
|
var z = y.$$typeof;
|
@@ -117,7 +117,7 @@ function Ra() {
|
|
117
117
|
}, _.isSuspense = function(y) {
|
118
118
|
return v(y) === h;
|
119
119
|
}, _.isValidElementType = function(y) {
|
120
|
-
return typeof y == "string" || typeof y == "function" || y === n || y === f || y === o || y === a || y === h || y === g || typeof y == "object" && y !== null && (y.$$typeof === M || y.$$typeof === b || y.$$typeof === i || y.$$typeof === l || y.$$typeof === c || y.$$typeof ===
|
120
|
+
return typeof y == "string" || typeof y == "function" || y === n || y === f || y === o || y === a || y === h || y === g || typeof y == "object" && y !== null && (y.$$typeof === M || y.$$typeof === b || y.$$typeof === i || y.$$typeof === l || y.$$typeof === c || y.$$typeof === T || y.$$typeof === x || y.$$typeof === p || y.$$typeof === I);
|
121
121
|
}, _.typeOf = v, _;
|
122
122
|
}
|
123
123
|
var F = {};
|
@@ -132,9 +132,9 @@ var F = {};
|
|
132
132
|
var br;
|
133
133
|
function Ia() {
|
134
134
|
return br || (br = 1, process.env.NODE_ENV !== "production" && function() {
|
135
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, I = e ? Symbol.for("react.block") : 60121,
|
135
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, I = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, p = e ? Symbol.for("react.scope") : 60119;
|
136
136
|
function v(R) {
|
137
|
-
return typeof R == "string" || typeof R == "function" || R === n || R === f || R === o || R === a || R === h || R === g || typeof R == "object" && R !== null && (R.$$typeof === M || R.$$typeof === b || R.$$typeof === i || R.$$typeof === l || R.$$typeof === c || R.$$typeof ===
|
137
|
+
return typeof R == "string" || typeof R == "function" || R === n || R === f || R === o || R === a || R === h || R === g || typeof R == "object" && R !== null && (R.$$typeof === M || R.$$typeof === b || R.$$typeof === i || R.$$typeof === l || R.$$typeof === c || R.$$typeof === T || R.$$typeof === x || R.$$typeof === p || R.$$typeof === I);
|
138
138
|
}
|
139
139
|
function P(R) {
|
140
140
|
if (typeof R == "object" && R !== null) {
|
@@ -205,10 +205,10 @@ function Ia() {
|
|
205
205
|
function de(R) {
|
206
206
|
return P(R) === a;
|
207
207
|
}
|
208
|
-
function
|
208
|
+
function mt(R) {
|
209
209
|
return P(R) === h;
|
210
210
|
}
|
211
|
-
F.AsyncMode = y, F.ConcurrentMode = z, F.ContextConsumer = B, F.ContextProvider = ge, F.Element = Ie, F.ForwardRef = Fe, F.Fragment = fe, F.Lazy = ye, F.Memo = Q, F.Portal = te, F.Profiler = V, F.StrictMode = se, F.Suspense = Me, F.isAsyncMode = Pe, F.isConcurrentMode = be, F.isContextConsumer = Ne, F.isContextProvider = Oe, F.isElement = Ae, F.isForwardRef = Be, F.isFragment = ke, F.isLazy = Ee, F.isMemo = L, F.isPortal = J, F.isProfiler = we, F.isStrictMode = de, F.isSuspense =
|
211
|
+
F.AsyncMode = y, F.ConcurrentMode = z, F.ContextConsumer = B, F.ContextProvider = ge, F.Element = Ie, F.ForwardRef = Fe, F.Fragment = fe, F.Lazy = ye, F.Memo = Q, F.Portal = te, F.Profiler = V, F.StrictMode = se, F.Suspense = Me, F.isAsyncMode = Pe, F.isConcurrentMode = be, F.isContextConsumer = Ne, F.isContextProvider = Oe, F.isElement = Ae, F.isForwardRef = Be, F.isFragment = ke, F.isLazy = Ee, F.isMemo = L, F.isPortal = J, F.isProfiler = we, F.isStrictMode = de, F.isSuspense = mt, F.isValidElementType = v, F.typeOf = P;
|
212
212
|
}()), F;
|
213
213
|
}
|
214
214
|
(function(e) {
|
@@ -493,13 +493,13 @@ function Ba(e) {
|
|
493
493
|
t.notation = "compact", t.compactDisplay = "long";
|
494
494
|
continue;
|
495
495
|
case "scientific":
|
496
|
-
t =
|
497
|
-
return
|
496
|
+
t = S(S(S({}, t), { notation: "scientific" }), a.options.reduce(function(u, f) {
|
497
|
+
return S(S({}, u), Tr(f));
|
498
498
|
}, {}));
|
499
499
|
continue;
|
500
500
|
case "engineering":
|
501
|
-
t =
|
502
|
-
return
|
501
|
+
t = S(S(S({}, t), { notation: "engineering" }), a.options.reduce(function(u, f) {
|
502
|
+
return S(S({}, u), Tr(f));
|
503
503
|
}, {}));
|
504
504
|
continue;
|
505
505
|
case "notation-simple":
|
@@ -547,17 +547,17 @@ function Ba(e) {
|
|
547
547
|
return c === "*" ? t.minimumFractionDigits = f.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : g && b ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + b.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
|
548
548
|
});
|
549
549
|
var o = a.options[0];
|
550
|
-
o === "w" ? t =
|
550
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), xr(o)));
|
551
551
|
continue;
|
552
552
|
}
|
553
553
|
if (cn.test(a.stem)) {
|
554
|
-
t =
|
554
|
+
t = S(S({}, t), xr(a.stem));
|
555
555
|
continue;
|
556
556
|
}
|
557
557
|
var i = hn(a.stem);
|
558
|
-
i && (t =
|
558
|
+
i && (t = S(S({}, t), i));
|
559
559
|
var l = Fa(a.stem);
|
560
|
-
l && (t =
|
560
|
+
l && (t = S(S({}, t), l));
|
561
561
|
}
|
562
562
|
return t;
|
563
563
|
}
|
@@ -1934,7 +1934,7 @@ function Ua(e) {
|
|
1934
1934
|
var a = et[n || ""] || et[r || ""] || et["".concat(r, "-001")] || et["001"];
|
1935
1935
|
return a[0];
|
1936
1936
|
}
|
1937
|
-
var
|
1937
|
+
var Et, za = new RegExp("^".concat(un.source, "*")), ja = new RegExp("".concat(un.source, "*$"));
|
1938
1938
|
function D(e, t) {
|
1939
1939
|
return { start: e, end: t };
|
1940
1940
|
}
|
@@ -1943,7 +1943,7 @@ var Ga = !!String.prototype.startsWith, Xa = !!String.fromCodePoint, Va = !!Obje
|
|
1943
1943
|
}, Ot = !0;
|
1944
1944
|
try {
|
1945
1945
|
var Qa = mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
1946
|
-
Ot = ((
|
1946
|
+
Ot = ((Et = Qa.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
1947
1947
|
} catch {
|
1948
1948
|
Ot = !1;
|
1949
1949
|
}
|
@@ -2210,18 +2210,18 @@ var eo = function() {
|
|
2210
2210
|
return M;
|
2211
2211
|
var I = D(a, this.clonePosition());
|
2212
2212
|
if (f && Sr(f == null ? void 0 : f.style, "::", 0)) {
|
2213
|
-
var
|
2213
|
+
var T = Ka(f.style.slice(2));
|
2214
2214
|
if (l === "number") {
|
2215
|
-
var h = this.parseNumberSkeletonFromString(
|
2215
|
+
var h = this.parseNumberSkeletonFromString(T, f.styleLocation);
|
2216
2216
|
return h.err ? h : {
|
2217
2217
|
val: { type: j.number, value: n, location: I, style: h.val },
|
2218
2218
|
err: null
|
2219
2219
|
};
|
2220
2220
|
} else {
|
2221
|
-
if (
|
2221
|
+
if (T.length === 0)
|
2222
2222
|
return this.error(A.EXPECT_DATE_TIME_SKELETON, I);
|
2223
|
-
var x =
|
2224
|
-
this.locale && (x = ka(
|
2223
|
+
var x = T;
|
2224
|
+
this.locale && (x = ka(T, this.locale));
|
2225
2225
|
var g = {
|
2226
2226
|
type: _e.dateTime,
|
2227
2227
|
pattern: x,
|
@@ -2249,7 +2249,7 @@ var eo = function() {
|
|
2249
2249
|
case "select": {
|
2250
2250
|
var v = this.clonePosition();
|
2251
2251
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2252
|
-
return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, D(v,
|
2252
|
+
return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, D(v, S({}, v)));
|
2253
2253
|
this.bumpSpace();
|
2254
2254
|
var P = this.parseIdentifierIfPossible(), y = 0;
|
2255
2255
|
if (l !== "select" && P.value === "offset") {
|
@@ -2478,7 +2478,7 @@ function Ht(e) {
|
|
2478
2478
|
});
|
2479
2479
|
}
|
2480
2480
|
function ao(e, t) {
|
2481
|
-
t === void 0 && (t = {}), t =
|
2481
|
+
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
2482
2482
|
var r = new eo(e, t).parse();
|
2483
2483
|
if (r.err) {
|
2484
2484
|
var n = SyntaxError(A[r.err.kind]);
|
@@ -2486,7 +2486,7 @@ function ao(e, t) {
|
|
2486
2486
|
}
|
2487
2487
|
return t != null && t.captureLocation || Ht(r.val), r.val;
|
2488
2488
|
}
|
2489
|
-
function
|
2489
|
+
function ne(e, t) {
|
2490
2490
|
var r = t && t.cache ? t.cache : co, n = t && t.serializer ? t.serializer : uo, a = t && t.strategy ? t.strategy : io;
|
2491
2491
|
return a(e, {
|
2492
2492
|
cache: r,
|
@@ -2533,7 +2533,7 @@ var co = {
|
|
2533
2533
|
create: function() {
|
2534
2534
|
return new Yt();
|
2535
2535
|
}
|
2536
|
-
},
|
2536
|
+
}, ae = {
|
2537
2537
|
variadic: so,
|
2538
2538
|
monadic: lo
|
2539
2539
|
}, ie;
|
@@ -2580,7 +2580,7 @@ function mo(e) {
|
|
2580
2580
|
function yn(e) {
|
2581
2581
|
return typeof e == "function";
|
2582
2582
|
}
|
2583
|
-
function
|
2583
|
+
function rt(e, t, r, n, a, o, i) {
|
2584
2584
|
if (e.length === 1 && Er(e[0]))
|
2585
2585
|
return [
|
2586
2586
|
{
|
@@ -2640,10 +2640,10 @@ function at(e, t, r, n, a, o, i) {
|
|
2640
2640
|
continue;
|
2641
2641
|
}
|
2642
2642
|
if (sn(c)) {
|
2643
|
-
var M = c.children, I = c.value,
|
2644
|
-
if (!yn(
|
2643
|
+
var M = c.children, I = c.value, T = a[I];
|
2644
|
+
if (!yn(T))
|
2645
2645
|
throw new fo(I, "function", i);
|
2646
|
-
var x =
|
2646
|
+
var x = rt(M, t, r, n, a, o), p = T(x.map(function(y) {
|
2647
2647
|
return y.value;
|
2648
2648
|
}));
|
2649
2649
|
Array.isArray(p) || (p = [p]), l.push.apply(l, p.map(function(y) {
|
@@ -2657,7 +2657,7 @@ function at(e, t, r, n, a, o, i) {
|
|
2657
2657
|
var v = c.options[g] || c.options.other;
|
2658
2658
|
if (!v)
|
2659
2659
|
throw new Mr(c.value, g, Object.keys(c.options), i);
|
2660
|
-
l.push.apply(l,
|
2660
|
+
l.push.apply(l, rt(v.value, t, r, n, a));
|
2661
2661
|
continue;
|
2662
2662
|
}
|
2663
2663
|
if (on(c)) {
|
@@ -2672,23 +2672,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2672
2672
|
}
|
2673
2673
|
if (!v)
|
2674
2674
|
throw new Mr(c.value, g, Object.keys(c.options), i);
|
2675
|
-
l.push.apply(l,
|
2675
|
+
l.push.apply(l, rt(v.value, t, r, n, a, g - (c.offset || 0)));
|
2676
2676
|
continue;
|
2677
2677
|
}
|
2678
2678
|
}
|
2679
2679
|
return mo(l);
|
2680
2680
|
}
|
2681
2681
|
function po(e, t) {
|
2682
|
-
return t ?
|
2683
|
-
return r[n] =
|
2682
|
+
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
2683
|
+
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
2684
2684
|
}, {})) : e;
|
2685
2685
|
}
|
2686
2686
|
function vo(e, t) {
|
2687
2687
|
return t ? Object.keys(e).reduce(function(r, n) {
|
2688
2688
|
return r[n] = po(e[n], t[n]), r;
|
2689
|
-
},
|
2689
|
+
}, S({}, e)) : e;
|
2690
2690
|
}
|
2691
|
-
function
|
2691
|
+
function wt(e) {
|
2692
2692
|
return {
|
2693
2693
|
create: function() {
|
2694
2694
|
return {
|
@@ -2708,29 +2708,29 @@ function go(e) {
|
|
2708
2708
|
dateTime: {},
|
2709
2709
|
pluralRules: {}
|
2710
2710
|
}), {
|
2711
|
-
getNumberFormat:
|
2711
|
+
getNumberFormat: ne(function() {
|
2712
2712
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
2713
2713
|
r[n] = arguments[n];
|
2714
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
2714
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, oe([void 0], r, !1)))();
|
2715
2715
|
}, {
|
2716
|
-
cache:
|
2717
|
-
strategy:
|
2716
|
+
cache: wt(e.number),
|
2717
|
+
strategy: ae.variadic
|
2718
2718
|
}),
|
2719
|
-
getDateTimeFormat:
|
2719
|
+
getDateTimeFormat: ne(function() {
|
2720
2720
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
2721
2721
|
r[n] = arguments[n];
|
2722
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
2722
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, oe([void 0], r, !1)))();
|
2723
2723
|
}, {
|
2724
|
-
cache:
|
2725
|
-
strategy:
|
2724
|
+
cache: wt(e.dateTime),
|
2725
|
+
strategy: ae.variadic
|
2726
2726
|
}),
|
2727
|
-
getPluralRules:
|
2727
|
+
getPluralRules: ne(function() {
|
2728
2728
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
2729
2729
|
r[n] = arguments[n];
|
2730
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
2730
|
+
return new ((t = Intl.PluralRules).bind.apply(t, oe([void 0], r, !1)))();
|
2731
2731
|
}, {
|
2732
|
-
cache:
|
2733
|
-
strategy:
|
2732
|
+
cache: wt(e.pluralRules),
|
2733
|
+
strategy: ae.variadic
|
2734
2734
|
})
|
2735
2735
|
};
|
2736
2736
|
}
|
@@ -2751,7 +2751,7 @@ var bn = function() {
|
|
2751
2751
|
}, []);
|
2752
2752
|
return u.length <= 1 ? u[0] || "" : u;
|
2753
2753
|
}, this.formatToParts = function(i) {
|
2754
|
-
return
|
2754
|
+
return rt(o.ast, o.locales, o.formatters, o.formats, i, void 0, o.message);
|
2755
2755
|
}, this.resolvedOptions = function() {
|
2756
2756
|
var i;
|
2757
2757
|
return {
|
@@ -2882,7 +2882,7 @@ Locale: `).concat(n, `
|
|
2882
2882
|
`), a) || this;
|
2883
2883
|
}
|
2884
2884
|
return t;
|
2885
|
-
}(q),
|
2885
|
+
}(q), xt = function(e) {
|
2886
2886
|
ee(t, e);
|
2887
2887
|
function t(r, n, a, o) {
|
2888
2888
|
var i = e.call(this, "".concat(r, `
|
@@ -2950,65 +2950,65 @@ function Te(e) {
|
|
2950
2950
|
}
|
2951
2951
|
function To(e) {
|
2952
2952
|
e === void 0 && (e = wn());
|
2953
|
-
var t = Intl.RelativeTimeFormat, r = Intl.ListFormat, n = Intl.DisplayNames, a =
|
2953
|
+
var t = Intl.RelativeTimeFormat, r = Intl.ListFormat, n = Intl.DisplayNames, a = ne(function() {
|
2954
2954
|
for (var l, u = [], f = 0; f < arguments.length; f++)
|
2955
2955
|
u[f] = arguments[f];
|
2956
|
-
return new ((l = Intl.DateTimeFormat).bind.apply(l,
|
2956
|
+
return new ((l = Intl.DateTimeFormat).bind.apply(l, oe([void 0], u, !1)))();
|
2957
2957
|
}, {
|
2958
2958
|
cache: Te(e.dateTime),
|
2959
|
-
strategy:
|
2960
|
-
}), o =
|
2959
|
+
strategy: ae.variadic
|
2960
|
+
}), o = ne(function() {
|
2961
2961
|
for (var l, u = [], f = 0; f < arguments.length; f++)
|
2962
2962
|
u[f] = arguments[f];
|
2963
|
-
return new ((l = Intl.NumberFormat).bind.apply(l,
|
2963
|
+
return new ((l = Intl.NumberFormat).bind.apply(l, oe([void 0], u, !1)))();
|
2964
2964
|
}, {
|
2965
2965
|
cache: Te(e.number),
|
2966
|
-
strategy:
|
2967
|
-
}), i =
|
2966
|
+
strategy: ae.variadic
|
2967
|
+
}), i = ne(function() {
|
2968
2968
|
for (var l, u = [], f = 0; f < arguments.length; f++)
|
2969
2969
|
u[f] = arguments[f];
|
2970
|
-
return new ((l = Intl.PluralRules).bind.apply(l,
|
2970
|
+
return new ((l = Intl.PluralRules).bind.apply(l, oe([void 0], u, !1)))();
|
2971
2971
|
}, {
|
2972
2972
|
cache: Te(e.pluralRules),
|
2973
|
-
strategy:
|
2973
|
+
strategy: ae.variadic
|
2974
2974
|
});
|
2975
2975
|
return {
|
2976
2976
|
getDateTimeFormat: a,
|
2977
2977
|
getNumberFormat: o,
|
2978
|
-
getMessageFormat:
|
2979
|
-
return new bn(l, u, f,
|
2978
|
+
getMessageFormat: ne(function(l, u, f, c) {
|
2979
|
+
return new bn(l, u, f, S({ formatters: {
|
2980
2980
|
getNumberFormat: o,
|
2981
2981
|
getDateTimeFormat: a,
|
2982
2982
|
getPluralRules: i
|
2983
2983
|
} }, c || {}));
|
2984
2984
|
}, {
|
2985
2985
|
cache: Te(e.message),
|
2986
|
-
strategy:
|
2986
|
+
strategy: ae.variadic
|
2987
2987
|
}),
|
2988
|
-
getRelativeTimeFormat:
|
2988
|
+
getRelativeTimeFormat: ne(function() {
|
2989
2989
|
for (var l = [], u = 0; u < arguments.length; u++)
|
2990
2990
|
l[u] = arguments[u];
|
2991
|
-
return new (t.bind.apply(t,
|
2991
|
+
return new (t.bind.apply(t, oe([void 0], l, !1)))();
|
2992
2992
|
}, {
|
2993
2993
|
cache: Te(e.relativeTime),
|
2994
|
-
strategy:
|
2994
|
+
strategy: ae.variadic
|
2995
2995
|
}),
|
2996
2996
|
getPluralRules: i,
|
2997
|
-
getListFormat:
|
2997
|
+
getListFormat: ne(function() {
|
2998
2998
|
for (var l = [], u = 0; u < arguments.length; u++)
|
2999
2999
|
l[u] = arguments[u];
|
3000
|
-
return new (r.bind.apply(r,
|
3000
|
+
return new (r.bind.apply(r, oe([void 0], l, !1)))();
|
3001
3001
|
}, {
|
3002
3002
|
cache: Te(e.list),
|
3003
|
-
strategy:
|
3003
|
+
strategy: ae.variadic
|
3004
3004
|
}),
|
3005
|
-
getDisplayNames:
|
3005
|
+
getDisplayNames: ne(function() {
|
3006
3006
|
for (var l = [], u = 0; u < arguments.length; u++)
|
3007
3007
|
l[u] = arguments[u];
|
3008
|
-
return new (n.bind.apply(n,
|
3008
|
+
return new (n.bind.apply(n, oe([void 0], l, !1)))();
|
3009
3009
|
}, {
|
3010
3010
|
cache: Te(e.displayNames),
|
3011
|
-
strategy:
|
3011
|
+
strategy: ae.variadic
|
3012
3012
|
})
|
3013
3013
|
};
|
3014
3014
|
}
|
@@ -3020,32 +3020,32 @@ function qt(e, t, r, n) {
|
|
3020
3020
|
}
|
3021
3021
|
function tt(e, t) {
|
3022
3022
|
return Object.keys(e).reduce(function(r, n) {
|
3023
|
-
return r[n] =
|
3023
|
+
return r[n] = S({ timeZone: t }, e[n]), r;
|
3024
3024
|
}, {});
|
3025
3025
|
}
|
3026
3026
|
function Nr(e, t) {
|
3027
|
-
var r = Object.keys(
|
3027
|
+
var r = Object.keys(S(S({}, e), t));
|
3028
3028
|
return r.reduce(function(n, a) {
|
3029
|
-
return n[a] =
|
3029
|
+
return n[a] = S(S({}, e[a] || {}), t[a] || {}), n;
|
3030
3030
|
}, {});
|
3031
3031
|
}
|
3032
3032
|
function Or(e, t) {
|
3033
3033
|
if (!t)
|
3034
3034
|
return e;
|
3035
3035
|
var r = bn.formats;
|
3036
|
-
return
|
3036
|
+
return S(S(S({}, r), e), { date: Nr(tt(r.date, t), tt(e.date || {}, t)), time: Nr(tt(r.time, t), tt(e.time || {}, t)) });
|
3037
3037
|
}
|
3038
3038
|
var Lt = function(e, t, r, n, a) {
|
3039
3039
|
var o = e.locale, i = e.formats, l = e.messages, u = e.defaultLocale, f = e.defaultFormats, c = e.fallbackOnEmptyString, h = e.onError, g = e.timeZone, b = e.defaultRichTextElements;
|
3040
3040
|
r === void 0 && (r = { id: "" });
|
3041
3041
|
var M = r.id, I = r.defaultMessage;
|
3042
3042
|
en(!!M, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
3043
|
-
var
|
3043
|
+
var T = String(M), x = l && Object.prototype.hasOwnProperty.call(l, T) && l[T];
|
3044
3044
|
if (Array.isArray(x) && x.length === 1 && x[0].type === j.literal)
|
3045
3045
|
return x[0].value;
|
3046
3046
|
if (!n && x && typeof x == "string" && !b)
|
3047
3047
|
return x.replace(/'\{(.*?)\}'/gi, "{$1}");
|
3048
|
-
if (n =
|
3048
|
+
if (n = S(S({}, b), n || {}), i = Or(i, g), f = Or(f, g), !x) {
|
3049
3049
|
if (c === !1 && x === "")
|
3050
3050
|
return x;
|
3051
3051
|
if ((!I || o && o.toLowerCase() !== u.toLowerCase()) && h(new Eo(r, o)), I)
|
@@ -3053,24 +3053,24 @@ var Lt = function(e, t, r, n, a) {
|
|
3053
3053
|
var p = t.getMessageFormat(I, u, f, a);
|
3054
3054
|
return p.format(n);
|
3055
3055
|
} catch (v) {
|
3056
|
-
return h(new
|
3056
|
+
return h(new xt('Error formatting default message for: "'.concat(T, '", rendering default message verbatim'), o, r, v)), typeof I == "string" ? I : T;
|
3057
3057
|
}
|
3058
|
-
return
|
3058
|
+
return T;
|
3059
3059
|
}
|
3060
3060
|
try {
|
3061
|
-
var p = t.getMessageFormat(x, o, i,
|
3061
|
+
var p = t.getMessageFormat(x, o, i, S({ formatters: t }, a || {}));
|
3062
3062
|
return p.format(n);
|
3063
3063
|
} catch (v) {
|
3064
|
-
h(new
|
3064
|
+
h(new xt('Error formatting message: "'.concat(T, '", using ').concat(I ? "default message" : "id", " as fallback."), o, r, v));
|
3065
3065
|
}
|
3066
3066
|
if (I)
|
3067
3067
|
try {
|
3068
3068
|
var p = t.getMessageFormat(I, u, f, a);
|
3069
3069
|
return p.format(n);
|
3070
3070
|
} catch (v) {
|
3071
|
-
h(new
|
3071
|
+
h(new xt('Error formatting the default message for: "'.concat(T, '", rendering message verbatim'), o, r, v));
|
3072
3072
|
}
|
3073
|
-
return typeof x == "string" ? x : typeof I == "string" ? I :
|
3073
|
+
return typeof x == "string" ? x : typeof I == "string" ? I : T;
|
3074
3074
|
}, xn = [
|
3075
3075
|
"formatMatcher",
|
3076
3076
|
"timeZone",
|
@@ -3091,18 +3091,18 @@ var Lt = function(e, t, r, n, a) {
|
|
3091
3091
|
"numberingSystem",
|
3092
3092
|
"fractionalSecondDigits"
|
3093
3093
|
];
|
3094
|
-
function
|
3094
|
+
function ut(e, t, r, n) {
|
3095
3095
|
var a = e.locale, o = e.formats, i = e.onError, l = e.timeZone;
|
3096
3096
|
n === void 0 && (n = {});
|
3097
|
-
var u = n.format, f =
|
3098
|
-
return t === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c =
|
3097
|
+
var u = n.format, f = S(S({}, l && { timeZone: l }), u && qt(o, t, u, i)), c = Se(n, xn, f);
|
3098
|
+
return t === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c = S(S({}, c), { hour: "numeric", minute: "numeric" })), r(a, c);
|
3099
3099
|
}
|
3100
3100
|
function So(e, t) {
|
3101
3101
|
for (var r = [], n = 2; n < arguments.length; n++)
|
3102
3102
|
r[n - 2] = arguments[n];
|
3103
3103
|
var a = r[0], o = r[1], i = o === void 0 ? {} : o, l = typeof a == "string" ? new Date(a || 0) : a;
|
3104
3104
|
try {
|
3105
|
-
return
|
3105
|
+
return ut(e, "date", t, i).format(l);
|
3106
3106
|
} catch (u) {
|
3107
3107
|
e.onError(new q(Z.FORMAT_ERROR, "Error formatting date.", u));
|
3108
3108
|
}
|
@@ -3113,7 +3113,7 @@ function Ro(e, t) {
|
|
3113
3113
|
r[n - 2] = arguments[n];
|
3114
3114
|
var a = r[0], o = r[1], i = o === void 0 ? {} : o, l = typeof a == "string" ? new Date(a || 0) : a;
|
3115
3115
|
try {
|
3116
|
-
return
|
3116
|
+
return ut(e, "time", t, i).format(l);
|
3117
3117
|
} catch (u) {
|
3118
3118
|
e.onError(new q(Z.FORMAT_ERROR, "Error formatting time.", u));
|
3119
3119
|
}
|
@@ -3135,7 +3135,7 @@ function Mo(e, t) {
|
|
3135
3135
|
r[n - 2] = arguments[n];
|
3136
3136
|
var a = r[0], o = r[1], i = o === void 0 ? {} : o, l = typeof a == "string" ? new Date(a || 0) : a;
|
3137
3137
|
try {
|
3138
|
-
return
|
3138
|
+
return ut(e, "date", t, i).formatToParts(l);
|
3139
3139
|
} catch (u) {
|
3140
3140
|
e.onError(new q(Z.FORMAT_ERROR, "Error formatting date.", u));
|
3141
3141
|
}
|
@@ -3146,7 +3146,7 @@ function Po(e, t) {
|
|
3146
3146
|
r[n - 2] = arguments[n];
|
3147
3147
|
var a = r[0], o = r[1], i = o === void 0 ? {} : o, l = typeof a == "string" ? new Date(a || 0) : a;
|
3148
3148
|
try {
|
3149
|
-
return
|
3149
|
+
return ut(e, "time", t, i).formatToParts(l);
|
3150
3150
|
} catch (u) {
|
3151
3151
|
e.onError(new q(Z.FORMAT_ERROR, "Error formatting time.", u));
|
3152
3152
|
}
|
@@ -3201,7 +3201,7 @@ Try polyfilling it using "@formatjs/intl-listformat"
|
|
3201
3201
|
return String(c);
|
3202
3202
|
});
|
3203
3203
|
return t(a, l).formatToParts(f).map(function(c) {
|
3204
|
-
return c.type === "literal" ? c :
|
3204
|
+
return c.type === "literal" ? c : S(S({}, c), { value: u[c.value] || c.value });
|
3205
3205
|
});
|
3206
3206
|
} catch (c) {
|
3207
3207
|
o(new q(Z.FORMAT_ERROR, "Error formatting list.", c));
|
@@ -3297,8 +3297,8 @@ Please consider using "@formatjs/cli" to pre-compile your messages for performan
|
|
3297
3297
|
For more details see https://formatjs.io/docs/getting-started/message-distribution`);
|
3298
3298
|
}
|
3299
3299
|
function Xo(e, t) {
|
3300
|
-
var r = To(t), n =
|
3301
|
-
return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && i ? i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && i && i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new bo('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), Go(n),
|
3300
|
+
var r = To(t), n = S(S({}, En), e), a = n.locale, o = n.defaultLocale, i = n.onError;
|
3301
|
+
return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && i ? i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && i && i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new bo('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), Go(n), S(S({}, n), {
|
3302
3302
|
formatters: r,
|
3303
3303
|
formatNumber: Uo.bind(null, n, r.getNumberFormat),
|
3304
3304
|
formatNumberToParts: zo.bind(null, n, r.getNumberFormat),
|
@@ -3319,7 +3319,7 @@ function Xo(e, t) {
|
|
3319
3319
|
function Rn(e) {
|
3320
3320
|
en(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
3321
3321
|
}
|
3322
|
-
var In =
|
3322
|
+
var In = S(S({}, En), {
|
3323
3323
|
textComponent: w.Fragment
|
3324
3324
|
});
|
3325
3325
|
function Vo(e) {
|
@@ -3342,7 +3342,7 @@ function Zo(e, t) {
|
|
3342
3342
|
}
|
3343
3343
|
return !0;
|
3344
3344
|
}
|
3345
|
-
var
|
3345
|
+
var ct = { exports: {} }, je = {};
|
3346
3346
|
/**
|
3347
3347
|
* @license React
|
3348
3348
|
* react-jsx-runtime.production.min.js
|
@@ -3384,7 +3384,7 @@ var Dr;
|
|
3384
3384
|
function Yo() {
|
3385
3385
|
return Dr || (Dr = 1, process.env.NODE_ENV !== "production" && function() {
|
3386
3386
|
var e = ce, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), M = Symbol.iterator, I = "@@iterator";
|
3387
|
-
function
|
3387
|
+
function T(s) {
|
3388
3388
|
if (s === null || typeof s != "object")
|
3389
3389
|
return null;
|
3390
3390
|
var m = M && s[M] || s[I];
|
@@ -3546,8 +3546,8 @@ function Yo() {
|
|
3546
3546
|
}
|
3547
3547
|
var we = !1, de;
|
3548
3548
|
{
|
3549
|
-
var
|
3550
|
-
de = new
|
3549
|
+
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
3550
|
+
de = new mt();
|
3551
3551
|
}
|
3552
3552
|
function R(s, m) {
|
3553
3553
|
if (!s || we)
|
@@ -3684,7 +3684,7 @@ function Yo() {
|
|
3684
3684
|
}
|
3685
3685
|
}
|
3686
3686
|
var na = Array.isArray;
|
3687
|
-
function
|
3687
|
+
function pt(s) {
|
3688
3688
|
return na(s);
|
3689
3689
|
}
|
3690
3690
|
function aa(s) {
|
@@ -3712,8 +3712,8 @@ function Yo() {
|
|
3712
3712
|
ref: !0,
|
3713
3713
|
__self: !0,
|
3714
3714
|
__source: !0
|
3715
|
-
}, ur, cr,
|
3716
|
-
|
3715
|
+
}, ur, cr, vt;
|
3716
|
+
vt = {};
|
3717
3717
|
function sa(s) {
|
3718
3718
|
if (Ke.call(s, "ref")) {
|
3719
3719
|
var m = Object.getOwnPropertyDescriptor(s, "ref").get;
|
@@ -3733,7 +3733,7 @@ function Yo() {
|
|
3733
3733
|
function ua(s, m) {
|
3734
3734
|
if (typeof s.ref == "string" && ze.current && m && ze.current.stateNode !== m) {
|
3735
3735
|
var E = Q(ze.current.type);
|
3736
|
-
|
3736
|
+
vt[E] || (p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Q(ze.current.type), s.ref), vt[E] = !0);
|
3737
3737
|
}
|
3738
3738
|
}
|
3739
3739
|
function ca(s, m) {
|
@@ -3802,7 +3802,7 @@ function Yo() {
|
|
3802
3802
|
return ha(s, O, Y, H, N, ze.current, C);
|
3803
3803
|
}
|
3804
3804
|
}
|
3805
|
-
var
|
3805
|
+
var gt = x.ReactCurrentOwner, fr = x.ReactDebugCurrentFrame;
|
3806
3806
|
function De(s) {
|
3807
3807
|
if (s) {
|
3808
3808
|
var m = s._owner, E = xe(s.type, s._source, m ? m.type : null);
|
@@ -3810,15 +3810,15 @@ function Yo() {
|
|
3810
3810
|
} else
|
3811
3811
|
fr.setExtraStackFrame(null);
|
3812
3812
|
}
|
3813
|
-
var
|
3814
|
-
|
3815
|
-
function
|
3813
|
+
var yt;
|
3814
|
+
yt = !1;
|
3815
|
+
function bt(s) {
|
3816
3816
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
3817
3817
|
}
|
3818
3818
|
function hr() {
|
3819
3819
|
{
|
3820
|
-
if (
|
3821
|
-
var s = Q(
|
3820
|
+
if (gt.current) {
|
3821
|
+
var s = Q(gt.current.type);
|
3822
3822
|
if (s)
|
3823
3823
|
return `
|
3824
3824
|
|
@@ -3861,25 +3861,25 @@ Check the top-level render call using <` + E + ">.");
|
|
3861
3861
|
return;
|
3862
3862
|
dr[E] = !0;
|
3863
3863
|
var N = "";
|
3864
|
-
s && s._owner && s._owner !==
|
3864
|
+
s && s._owner && s._owner !== gt.current && (N = " It was passed a child from " + Q(s._owner.type) + "."), De(s), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, N), De(null);
|
3865
3865
|
}
|
3866
3866
|
}
|
3867
3867
|
function pr(s, m) {
|
3868
3868
|
{
|
3869
3869
|
if (typeof s != "object")
|
3870
3870
|
return;
|
3871
|
-
if (
|
3871
|
+
if (pt(s))
|
3872
3872
|
for (var E = 0; E < s.length; E++) {
|
3873
3873
|
var N = s[E];
|
3874
|
-
|
3874
|
+
bt(N) && mr(N, m);
|
3875
3875
|
}
|
3876
|
-
else if (
|
3876
|
+
else if (bt(s))
|
3877
3877
|
s._store && (s._store.validated = !0);
|
3878
3878
|
else if (s) {
|
3879
|
-
var H =
|
3879
|
+
var H = T(s);
|
3880
3880
|
if (typeof H == "function" && H !== s.entries)
|
3881
3881
|
for (var U = H.call(s), C; !(C = U.next()).done; )
|
3882
|
-
|
3882
|
+
bt(C.value) && mr(C.value, m);
|
3883
3883
|
}
|
3884
3884
|
}
|
3885
3885
|
}
|
@@ -3898,8 +3898,8 @@ Check the top-level render call using <` + E + ">.");
|
|
3898
3898
|
if (E) {
|
3899
3899
|
var N = Q(m);
|
3900
3900
|
ra(E, s.props, "prop", N, s);
|
3901
|
-
} else if (m.PropTypes !== void 0 && !
|
3902
|
-
|
3901
|
+
} else if (m.PropTypes !== void 0 && !yt) {
|
3902
|
+
yt = !0;
|
3903
3903
|
var H = Q(m);
|
3904
3904
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
|
3905
3905
|
}
|
@@ -3927,7 +3927,7 @@ Check the top-level render call using <` + E + ">.");
|
|
3927
3927
|
var Y = ma(H);
|
3928
3928
|
Y ? O += Y : O += hr();
|
3929
3929
|
var G;
|
3930
|
-
s === null ? G = "null" :
|
3930
|
+
s === null ? G = "null" : pt(s) ? G = "array" : s !== void 0 && s.$$typeof === t ? (G = "<" + (Q(s.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : G = typeof s, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, O);
|
3931
3931
|
}
|
3932
3932
|
var X = da(s, m, E, H, U);
|
3933
3933
|
if (X == null)
|
@@ -3936,7 +3936,7 @@ Check the top-level render call using <` + E + ">.");
|
|
3936
3936
|
var $ = m.children;
|
3937
3937
|
if ($ !== void 0)
|
3938
3938
|
if (N)
|
3939
|
-
if (
|
3939
|
+
if (pt($)) {
|
3940
3940
|
for (var He = 0; He < $.length; He++)
|
3941
3941
|
pr($[He], s);
|
3942
3942
|
Object.freeze && Object.freeze($);
|
@@ -3960,8 +3960,8 @@ Check the top-level render call using <` + E + ">.");
|
|
3960
3960
|
}
|
3961
3961
|
(function(e) {
|
3962
3962
|
process.env.NODE_ENV === "production" ? e.exports = Jo() : e.exports = Yo();
|
3963
|
-
})(
|
3964
|
-
const Wo =
|
3963
|
+
})(ct);
|
3964
|
+
const Wo = ct.exports.Fragment, d = ct.exports.jsx, k = ct.exports.jsxs;
|
3965
3965
|
var Qt = w.createContext(null);
|
3966
3966
|
Qt.Consumer;
|
3967
3967
|
var qo = Qt.Provider, Qo = qo, Ko = Qt;
|
@@ -3999,7 +3999,7 @@ function Je(e) {
|
|
3999
3999
|
};
|
4000
4000
|
return t.displayName = _t[e], t;
|
4001
4001
|
}
|
4002
|
-
function
|
4002
|
+
function Tt(e) {
|
4003
4003
|
return {
|
4004
4004
|
locale: e.locale,
|
4005
4005
|
timeZone: e.timeZone,
|
@@ -4024,10 +4024,10 @@ function Pn(e) {
|
|
4024
4024
|
var Hr = function(e, t, r, n) {
|
4025
4025
|
for (var a = [], o = 4; o < arguments.length; o++)
|
4026
4026
|
a[o - 4] = arguments[o];
|
4027
|
-
var i = Pn(n), l = Lt.apply(void 0,
|
4027
|
+
var i = Pn(n), l = Lt.apply(void 0, oe([e, t, r, i], a, !1));
|
4028
4028
|
return Array.isArray(l) ? w.Children.toArray(l) : l;
|
4029
4029
|
}, Lr = function(e, t) {
|
4030
|
-
var r = e.defaultRichTextElements, n = Vt(e, ["defaultRichTextElements"]), a = Pn(r), o = Xo(
|
4030
|
+
var r = e.defaultRichTextElements, n = Vt(e, ["defaultRichTextElements"]), a = Pn(r), o = Xo(S(S(S({}, In), n), {
|
4031
4031
|
defaultRichTextElements: a
|
4032
4032
|
}), t), i = {
|
4033
4033
|
locale: o.locale,
|
@@ -4040,7 +4040,7 @@ var Hr = function(e, t, r, n) {
|
|
4040
4040
|
onError: o.onError,
|
4041
4041
|
defaultRichTextElements: a
|
4042
4042
|
};
|
4043
|
-
return
|
4043
|
+
return S(S({}, o), {
|
4044
4044
|
formatMessage: Hr.bind(null, i, o.formatters),
|
4045
4045
|
$t: Hr.bind(null, i, o.formatters)
|
4046
4046
|
});
|
@@ -4050,12 +4050,12 @@ var Hr = function(e, t, r, n) {
|
|
4050
4050
|
var r = e !== null && e.apply(this, arguments) || this;
|
4051
4051
|
return r.cache = wn(), r.state = {
|
4052
4052
|
cache: r.cache,
|
4053
|
-
intl: Lr(
|
4054
|
-
prevConfig:
|
4053
|
+
intl: Lr(Tt(r.props), r.cache),
|
4054
|
+
prevConfig: Tt(r.props)
|
4055
4055
|
}, r;
|
4056
4056
|
}
|
4057
4057
|
return t.getDerivedStateFromProps = function(r, n) {
|
4058
|
-
var a = n.prevConfig, o = n.cache, i =
|
4058
|
+
var a = n.prevConfig, o = n.cache, i = Tt(r);
|
4059
4059
|
return Zo(a, i) ? null : {
|
4060
4060
|
intl: Lr(i, o),
|
4061
4061
|
prevConfig: i
|
@@ -4088,7 +4088,7 @@ function Nn(e) {
|
|
4088
4088
|
e[t] && (n && (n += " "), n += t);
|
4089
4089
|
return n;
|
4090
4090
|
}
|
4091
|
-
function
|
4091
|
+
function at() {
|
4092
4092
|
for (var e, t, r = 0, n = ""; r < arguments.length; )
|
4093
4093
|
(e = arguments[r++]) && (t = Nn(e)) && (n && (n += " "), n += t);
|
4094
4094
|
return n;
|
@@ -4122,7 +4122,7 @@ function K(e, t) {
|
|
4122
4122
|
function _r(e) {
|
4123
4123
|
return typeof e == "boolean";
|
4124
4124
|
}
|
4125
|
-
function
|
4125
|
+
function ot(e) {
|
4126
4126
|
return !!(e && {}.toString.call(e) == "[object Function]");
|
4127
4127
|
}
|
4128
4128
|
function ni(e) {
|
@@ -4130,7 +4130,7 @@ function ni(e) {
|
|
4130
4130
|
}
|
4131
4131
|
function ai(e, t) {
|
4132
4132
|
if (e != null)
|
4133
|
-
if (
|
4133
|
+
if (ot(e))
|
4134
4134
|
e(t);
|
4135
4135
|
else
|
4136
4136
|
try {
|
@@ -4170,10 +4170,10 @@ function oi(e, t) {
|
|
4170
4170
|
}
|
4171
4171
|
return r.displayName = `${e}Context`, n.displayName = `${e}Provider`, [n, a];
|
4172
4172
|
}
|
4173
|
-
function
|
4173
|
+
function nt(e) {
|
4174
4174
|
return "which" in e ? e.which === 3 : "button" in e ? e.button === 2 : !1;
|
4175
4175
|
}
|
4176
|
-
function
|
4176
|
+
function it(...e) {
|
4177
4177
|
return e.filter((t) => t != null).join("--");
|
4178
4178
|
}
|
4179
4179
|
function Kt() {
|
@@ -4185,7 +4185,7 @@ function Cn() {
|
|
4185
4185
|
}, []);
|
4186
4186
|
}
|
4187
4187
|
var Le = An() ? xa : qr;
|
4188
|
-
function
|
4188
|
+
function St(e) {
|
4189
4189
|
const t = Ta(null);
|
4190
4190
|
return qr(() => {
|
4191
4191
|
t.current = e;
|
@@ -4264,10 +4264,10 @@ function fi(e, t) {
|
|
4264
4264
|
function Fr(e, t, r) {
|
4265
4265
|
var g;
|
4266
4266
|
let n, a;
|
4267
|
-
_r(t) ? n = t : (n = (g = t == null ? void 0 : t.observe) != null ? g : !0, a = t == null ? void 0 : t.onChange),
|
4267
|
+
_r(t) ? n = t : (n = (g = t == null ? void 0 : t.observe) != null ? g : !0, a = t == null ? void 0 : t.onChange), ot(r) && (a = r), w.useEffect(() => {
|
4268
4268
|
_r(t) && console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe");
|
4269
4269
|
}, [t]), w.useEffect(() => {
|
4270
|
-
|
4270
|
+
ot(r) && console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange");
|
4271
4271
|
}, [r]);
|
4272
4272
|
let [o, i] = w.useState(e.current), l = w.useRef(!1), u = w.useRef(!1), [f, c] = w.useState(null), h = w.useRef(a);
|
4273
4273
|
return Le(() => {
|
@@ -4283,8 +4283,8 @@ function Fr(e, t, r) {
|
|
4283
4283
|
return;
|
4284
4284
|
}
|
4285
4285
|
let M = fi(b, (I) => {
|
4286
|
-
var
|
4287
|
-
(
|
4286
|
+
var T;
|
4287
|
+
(T = h.current) == null || T.call(h, I), c(I);
|
4288
4288
|
});
|
4289
4289
|
return M.observe(), () => {
|
4290
4290
|
M.unobserve();
|
@@ -4510,7 +4510,7 @@ function Oi(e, t, r = 0, n = 0) {
|
|
4510
4510
|
function Ai(e, t) {
|
4511
4511
|
const r = Xe(e.current);
|
4512
4512
|
function n(p) {
|
4513
|
-
p.key === "Tab" && t.current && ue(t.current).length === 0 || (p.key === "Tab" && p.shiftKey ? f(p) ? c(p) : h(p) ? g(p) : M(p) &&
|
4513
|
+
p.key === "Tab" && t.current && ue(t.current).length === 0 || (p.key === "Tab" && p.shiftKey ? f(p) ? c(p) : h(p) ? g(p) : M(p) && T() : p.key === "Tab" && (o() ? i(p) : l() ? u(p) : b(p) && T()));
|
4514
4514
|
}
|
4515
4515
|
w.useEffect(() => (r.addEventListener("keydown", n), () => {
|
4516
4516
|
r.removeEventListener("keydown", n);
|
@@ -4563,7 +4563,7 @@ function Ai(e, t) {
|
|
4563
4563
|
return p.target === ue(r)[0];
|
4564
4564
|
}
|
4565
4565
|
let I = [];
|
4566
|
-
function
|
4566
|
+
function T() {
|
4567
4567
|
const p = t.current && ue(t.current);
|
4568
4568
|
p && (p.forEach((v) => {
|
4569
4569
|
I.push([v, v.tabIndex]), v.tabIndex = -1;
|
@@ -4575,7 +4575,7 @@ function Ai(e, t) {
|
|
4575
4575
|
});
|
4576
4576
|
}
|
4577
4577
|
}
|
4578
|
-
var
|
4578
|
+
var Rt = !1, Ci = 0;
|
4579
4579
|
function Ur() {
|
4580
4580
|
return ++Ci;
|
4581
4581
|
}
|
@@ -4586,11 +4586,11 @@ function Di(e) {
|
|
4586
4586
|
let o = zr();
|
4587
4587
|
return e != null ? e : o;
|
4588
4588
|
}
|
4589
|
-
let t = e != null ? e :
|
4589
|
+
let t = e != null ? e : Rt ? Ur() : null, [r, n] = w.useState(t);
|
4590
4590
|
return Le(() => {
|
4591
4591
|
r === null && n(Ur());
|
4592
4592
|
}, []), w.useEffect(() => {
|
4593
|
-
|
4593
|
+
Rt === !1 && (Rt = !0);
|
4594
4594
|
}, []), (a = e != null ? e : r) != null ? a : void 0;
|
4595
4595
|
}
|
4596
4596
|
function Hi(e, t = {}) {
|
@@ -4696,7 +4696,7 @@ function ki(e, t) {
|
|
4696
4696
|
function I() {
|
4697
4697
|
return g === p().index ? u ? x() : b[M] : b[(M + 1) % b.length];
|
4698
4698
|
}
|
4699
|
-
function
|
4699
|
+
function T() {
|
4700
4700
|
return g === x().index ? u ? p() : b[M] : b[(M - 1 + b.length) % b.length];
|
4701
4701
|
}
|
4702
4702
|
function x() {
|
@@ -4716,27 +4716,27 @@ function ki(e, t) {
|
|
4716
4716
|
case "ArrowUp":
|
4717
4717
|
if (l === "vertical" || l === "both") {
|
4718
4718
|
h.preventDefault();
|
4719
|
-
let B =
|
4719
|
+
let B = T();
|
4720
4720
|
n(i === "option" ? B : B[i]);
|
4721
4721
|
}
|
4722
4722
|
break;
|
4723
4723
|
case "ArrowLeft":
|
4724
4724
|
if (l === "horizontal" || l === "both") {
|
4725
4725
|
h.preventDefault();
|
4726
|
-
let B = (f ? I :
|
4726
|
+
let B = (f ? I : T)();
|
4727
4727
|
n(i === "option" ? B : B[i]);
|
4728
4728
|
}
|
4729
4729
|
break;
|
4730
4730
|
case "ArrowRight":
|
4731
4731
|
if (l === "horizontal" || l === "both") {
|
4732
4732
|
h.preventDefault();
|
4733
|
-
let B = (f ?
|
4733
|
+
let B = (f ? T : I)();
|
4734
4734
|
n(i === "option" ? B : B[i]);
|
4735
4735
|
}
|
4736
4736
|
break;
|
4737
4737
|
case "PageUp":
|
4738
4738
|
h.preventDefault();
|
4739
|
-
let v = (h.ctrlKey ?
|
4739
|
+
let v = (h.ctrlKey ? T : x)();
|
4740
4740
|
n(i === "option" ? v : v[i]);
|
4741
4741
|
break;
|
4742
4742
|
case "Home":
|
@@ -4780,7 +4780,7 @@ function zi(e) {
|
|
4780
4780
|
index: r
|
4781
4781
|
}));
|
4782
4782
|
}
|
4783
|
-
var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji = "OPEN_MENU_AT_FIRST_ITEM", Ut = "OPEN_MENU_AT_INDEX", zn = "OPEN_MENU_CLEARED", zt = "SEARCH_FOR_ITEM", pe = "SELECT_ITEM_AT_INDEX", jt = "SET_BUTTON_ID",
|
4783
|
+
var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji = "OPEN_MENU_AT_FIRST_ITEM", Ut = "OPEN_MENU_AT_INDEX", zn = "OPEN_MENU_CLEARED", zt = "SEARCH_FOR_ITEM", pe = "SELECT_ITEM_AT_INDEX", jt = "SET_BUTTON_ID", ft = Hi("DropdownDescendantContext"), [Gi, We] = oi("Dropdown"), Xi = {
|
4784
4784
|
triggerId: null,
|
4785
4785
|
isExpanded: !1,
|
4786
4786
|
typeaheadQuery: "",
|
@@ -4789,7 +4789,7 @@ var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji
|
|
4789
4789
|
id: e,
|
4790
4790
|
children: t
|
4791
4791
|
}) => {
|
4792
|
-
let r = w.useRef(null), n = w.useRef(null), a = w.useRef(null), [o, i] = _i(), l = Di(e), u = e ||
|
4792
|
+
let r = w.useRef(null), n = w.useRef(null), a = w.useRef(null), [o, i] = _i(), l = Di(e), u = e || it("menu", l), f = it("menu-button", u), [c, h] = w.useReducer(Qi, {
|
4793
4793
|
...Xi,
|
4794
4794
|
triggerId: f
|
4795
4795
|
}), g = w.useRef(!1), b = w.useRef([]), M = w.useRef(!1), I = w.useRef({
|
@@ -4798,10 +4798,10 @@ var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji
|
|
4798
4798
|
});
|
4799
4799
|
return w.useEffect(() => {
|
4800
4800
|
c.isExpanded ? (window.__REACH_DISABLE_TOOLTIPS = !0, window.requestAnimationFrame(() => {
|
4801
|
-
|
4801
|
+
st(n.current);
|
4802
4802
|
})) : window.__REACH_DISABLE_TOOLTIPS = !1;
|
4803
4803
|
}, [c.isExpanded]), /* @__PURE__ */ d(Bi, {
|
4804
|
-
context:
|
4804
|
+
context: ft,
|
4805
4805
|
items: o,
|
4806
4806
|
set: i,
|
4807
4807
|
children: /* @__PURE__ */ d(Gi, {
|
@@ -4815,7 +4815,7 @@ var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji
|
|
4815
4815
|
state: c,
|
4816
4816
|
triggerClickedRef: g,
|
4817
4817
|
triggerRef: r,
|
4818
|
-
children:
|
4818
|
+
children: ot(t) ? t({
|
4819
4819
|
isExpanded: c.isExpanded,
|
4820
4820
|
isOpen: c.isExpanded
|
4821
4821
|
}) : t
|
@@ -4849,7 +4849,7 @@ function Gn({
|
|
4849
4849
|
}, [c, o, r]), w.useEffect(() => {
|
4850
4850
|
r == null && o({
|
4851
4851
|
type: jt,
|
4852
|
-
payload:
|
4852
|
+
payload: it("menu-button", i)
|
4853
4853
|
});
|
4854
4854
|
}, [i, o, r]);
|
4855
4855
|
function I(x) {
|
@@ -4874,8 +4874,8 @@ function Gn({
|
|
4874
4874
|
break;
|
4875
4875
|
}
|
4876
4876
|
}
|
4877
|
-
function
|
4878
|
-
|
4877
|
+
function T(x) {
|
4878
|
+
nt(x.nativeEvent) || (l.current = {
|
4879
4879
|
x: x.clientX,
|
4880
4880
|
y: x.clientY
|
4881
4881
|
}, h || (u.current = !0), o(h ? {
|
@@ -4894,7 +4894,7 @@ function Gn({
|
|
4894
4894
|
ref: g,
|
4895
4895
|
id: c || void 0,
|
4896
4896
|
onKeyDown: K(e, I),
|
4897
|
-
onMouseDown: K(t,
|
4897
|
+
onMouseDown: K(t, T),
|
4898
4898
|
type: "button"
|
4899
4899
|
}
|
4900
4900
|
};
|
@@ -4934,7 +4934,7 @@ function Xn({
|
|
4934
4934
|
}) {
|
4935
4935
|
let {
|
4936
4936
|
dispatch: I,
|
4937
|
-
dropdownRef:
|
4937
|
+
dropdownRef: T,
|
4938
4938
|
mouseDownStartPosRef: x,
|
4939
4939
|
readyToSelect: p,
|
4940
4940
|
selectCallbacks: v,
|
@@ -4950,25 +4950,25 @@ function Xn({
|
|
4950
4950
|
key: ge,
|
4951
4951
|
disabled: c,
|
4952
4952
|
isLink: t
|
4953
|
-
}), [c, ye, t, ge]), V = Li(te,
|
4953
|
+
}), [c, ye, t, ge]), V = Li(te, ft, e), se = V === y && !c, Me = Ye(b, Q, Fe);
|
4954
4954
|
v.current[V] = f;
|
4955
4955
|
function he() {
|
4956
|
-
|
4956
|
+
st(P.current), f && f(), I({
|
4957
4957
|
type: er
|
4958
4958
|
});
|
4959
4959
|
}
|
4960
4960
|
function Pe(L) {
|
4961
|
-
|
4961
|
+
nt(L.nativeEvent) || t && (c ? L.preventDefault() : he());
|
4962
4962
|
}
|
4963
4963
|
function be(L) {
|
4964
4964
|
t && L.preventDefault();
|
4965
4965
|
}
|
4966
4966
|
function Ne(L) {
|
4967
|
-
|
4967
|
+
nt(L.nativeEvent) || (t ? fe.current = !0 : L.preventDefault());
|
4968
4968
|
}
|
4969
4969
|
function Oe(L) {
|
4970
|
-
let J = Xe(
|
4971
|
-
!se && V != null && !c && ((
|
4970
|
+
let J = Xe(T.current);
|
4971
|
+
!se && V != null && !c && ((T == null ? void 0 : T.current) && T.current !== J.activeElement && B.current !== J.activeElement && T.current.focus(), I({
|
4972
4972
|
type: pe,
|
4973
4973
|
payload: {
|
4974
4974
|
index: V
|
@@ -4989,7 +4989,7 @@ function Xn({
|
|
4989
4989
|
type: pe,
|
4990
4990
|
payload: {
|
4991
4991
|
index: V,
|
4992
|
-
dropdownRef:
|
4992
|
+
dropdownRef: T
|
4993
4993
|
}
|
4994
4994
|
});
|
4995
4995
|
}
|
@@ -5002,7 +5002,7 @@ function Xn({
|
|
5002
5002
|
});
|
5003
5003
|
}
|
5004
5004
|
function Ee(L) {
|
5005
|
-
if (!
|
5005
|
+
if (!nt(L.nativeEvent)) {
|
5006
5006
|
if (!p.current) {
|
5007
5007
|
p.current = !0;
|
5008
5008
|
return;
|
@@ -5101,7 +5101,7 @@ function Vn({
|
|
5101
5101
|
}), 1e3);
|
5102
5102
|
return () => window.clearTimeout(P);
|
5103
5103
|
}, [a, b, g, i]);
|
5104
|
-
let I =
|
5104
|
+
let I = St(b.length), T = St(b[h]), x = St(h);
|
5105
5105
|
w.useEffect(() => {
|
5106
5106
|
h > b.length - 1 ? a({
|
5107
5107
|
type: pe,
|
@@ -5109,14 +5109,14 @@ function Vn({
|
|
5109
5109
|
index: b.length - 1,
|
5110
5110
|
dropdownRef: i
|
5111
5111
|
}
|
5112
|
-
}) : I !== b.length && h > -1 &&
|
5112
|
+
}) : I !== b.length && h > -1 && T && x === h && b[h] !== T && a({
|
5113
5113
|
type: pe,
|
5114
5114
|
payload: {
|
5115
|
-
index: b.findIndex((v) => v.key === (
|
5115
|
+
index: b.findIndex((v) => v.key === (T == null ? void 0 : T.key)),
|
5116
5116
|
dropdownRef: i
|
5117
5117
|
}
|
5118
5118
|
});
|
5119
|
-
}, [i, a, b, I,
|
5119
|
+
}, [i, a, b, I, T, x, h]);
|
5120
5120
|
let p = K(function(P) {
|
5121
5121
|
let {
|
5122
5122
|
key: y
|
@@ -5126,12 +5126,12 @@ function Vn({
|
|
5126
5126
|
case "Enter":
|
5127
5127
|
case " ":
|
5128
5128
|
let z = b.find((B) => B.index === h);
|
5129
|
-
z && !z.disabled && (P.preventDefault(), z.isLink && z.element ? z.element.click() : (
|
5129
|
+
z && !z.disabled && (P.preventDefault(), z.isLink && z.element ? z.element.click() : (st(o.current), l.current[z.index] && l.current[z.index](), a({
|
5130
5130
|
type: er
|
5131
5131
|
})));
|
5132
5132
|
break;
|
5133
5133
|
case "Escape":
|
5134
|
-
|
5134
|
+
st(o.current), a({
|
5135
5135
|
type: Ze
|
5136
5136
|
});
|
5137
5137
|
break;
|
@@ -5148,7 +5148,7 @@ function Vn({
|
|
5148
5148
|
}
|
5149
5149
|
break;
|
5150
5150
|
}
|
5151
|
-
}, ki(
|
5151
|
+
}, ki(ft, {
|
5152
5152
|
currentIndex: h,
|
5153
5153
|
orientation: "vertical",
|
5154
5154
|
rotate: !1,
|
@@ -5285,9 +5285,9 @@ function Jn(e) {
|
|
5285
5285
|
let {
|
5286
5286
|
dropdownId: t
|
5287
5287
|
} = We("useItemId");
|
5288
|
-
return e != null && e > -1 ?
|
5288
|
+
return e != null && e > -1 ? it(`option-${e}`, t) : void 0;
|
5289
5289
|
}
|
5290
|
-
function
|
5290
|
+
function st(e) {
|
5291
5291
|
e && e.focus();
|
5292
5292
|
}
|
5293
5293
|
function qi(e, t) {
|
@@ -5363,7 +5363,7 @@ function Qi(e, t = {}) {
|
|
5363
5363
|
}
|
5364
5364
|
}
|
5365
5365
|
function Yn() {
|
5366
|
-
return Fi(
|
5366
|
+
return Fi(ft);
|
5367
5367
|
}
|
5368
5368
|
var qe = w.forwardRef(({
|
5369
5369
|
as: e = w.Fragment,
|
@@ -5470,7 +5470,7 @@ var qn = w.forwardRef(({
|
|
5470
5470
|
});
|
5471
5471
|
});
|
5472
5472
|
qn.displayName = "MenuItems";
|
5473
|
-
var
|
5473
|
+
var ht = w.forwardRef(({
|
5474
5474
|
as: e = "a",
|
5475
5475
|
component: t,
|
5476
5476
|
onSelect: r,
|
@@ -5485,7 +5485,7 @@ var mt = w.forwardRef(({
|
|
5485
5485
|
isLink: !0,
|
5486
5486
|
onSelect: r || Kt
|
5487
5487
|
})));
|
5488
|
-
|
5488
|
+
ht.displayName = "MenuLink";
|
5489
5489
|
var Qn = w.forwardRef(({
|
5490
5490
|
portal: e = !0,
|
5491
5491
|
...t
|
@@ -5528,7 +5528,7 @@ var Kn = w.forwardRef(({
|
|
5528
5528
|
});
|
5529
5529
|
});
|
5530
5530
|
Kn.displayName = "MenuPopover";
|
5531
|
-
function
|
5531
|
+
function dt({
|
5532
5532
|
children: e,
|
5533
5533
|
withMinWidth: t = !0,
|
5534
5534
|
className: r,
|
@@ -5536,7 +5536,7 @@ function pt({
|
|
5536
5536
|
}) {
|
5537
5537
|
return /* @__PURE__ */ d(Qn, {
|
5538
5538
|
...n,
|
5539
|
-
className:
|
5539
|
+
className: at({
|
5540
5540
|
"tw-min-w-[13.125rem]": t
|
5541
5541
|
}, "motion-safe:data-[reach-menu-list]:tw-animate-slideDown motion-safe:data-[reach-menu-items]:tw-animate-slideDown tw-z-[1] tw-mt-2 tw-bg-white tw-shadow-[0_1px_2px_0_rgb(60,64,67,0.3),0_2px_6px_2px_rgb(60,64,67,0.15)] tw-outline-none tw-will-change-transform", r),
|
5542
5542
|
children: e
|
@@ -5552,7 +5552,7 @@ function Ki({
|
|
5552
5552
|
}));
|
5553
5553
|
return /* @__PURE__ */ k(qe, {
|
5554
5554
|
children: [/* @__PURE__ */ k(Qe, {
|
5555
|
-
as:
|
5555
|
+
as: re,
|
5556
5556
|
className: "aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 aria-expanded:tw-duration-150",
|
5557
5557
|
variant: "ghost",
|
5558
5558
|
colorScheme: "primary",
|
@@ -5582,9 +5582,9 @@ function Ki({
|
|
5582
5582
|
})
|
5583
5583
|
})]
|
5584
5584
|
})]
|
5585
|
-
}), /* @__PURE__ */ d(
|
5585
|
+
}), /* @__PURE__ */ d(dt, {
|
5586
5586
|
className: "tw-grid tw-max-w-[250px] tw-grid-cols-2 tw-gap-3 tw-px-4 tw-py-4",
|
5587
|
-
children: n.map((a) => /* @__PURE__ */ k(
|
5587
|
+
children: n.map((a) => /* @__PURE__ */ k(ht, {
|
5588
5588
|
className: "data-selected:tw-duration-150 tw-flex tw-flex-col tw-items-center tw-gap-2 tw-rounded-lg tw-px-2 tw-py-2 tw-text-center tw-text-sm tw-font-light tw-text-black tw-no-underline tw-transition-colors tw-duration-500 hover:tw-cursor-pointer hover:tw-bg-gray-50 hover:tw-duration-150 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",
|
5589
5589
|
href: a.url,
|
5590
5590
|
children: [/* @__PURE__ */ d("img", {
|
@@ -5606,7 +5606,7 @@ function Gr({
|
|
5606
5606
|
}) {
|
5607
5607
|
return /* @__PURE__ */ d("h1", {
|
5608
5608
|
...r,
|
5609
|
-
className:
|
5609
|
+
className: at("tw-my-0 tw-mr-auto tw-ml-2 tw-text-lg tw-font-light tw-leading-none tw-tracking-wide tw-text-black md:tw-text-xl lg:tw-text-2xl", t),
|
5610
5610
|
children: e
|
5611
5611
|
});
|
5612
5612
|
}
|
@@ -5637,7 +5637,7 @@ function as({
|
|
5637
5637
|
return /* @__PURE__ */ k(qe, {
|
5638
5638
|
children: [/* @__PURE__ */ k(Qe, {
|
5639
5639
|
className: "aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 tw-hidden aria-expanded:tw-duration-150 sm:tw-inline-block",
|
5640
|
-
as:
|
5640
|
+
as: re,
|
5641
5641
|
variant: "ghost",
|
5642
5642
|
colorScheme: "primary",
|
5643
5643
|
compact: !0,
|
@@ -5668,14 +5668,14 @@ function as({
|
|
5668
5668
|
})]
|
5669
5669
|
})]
|
5670
5670
|
})]
|
5671
|
-
}), /* @__PURE__ */ k(
|
5672
|
-
children: [t && /* @__PURE__ */ d(
|
5671
|
+
}), /* @__PURE__ */ k(dt, {
|
5672
|
+
children: [t && /* @__PURE__ */ d(It, {
|
5673
5673
|
href: t,
|
5674
5674
|
label: r.formatMessage({
|
5675
5675
|
id: "documentation"
|
5676
5676
|
}),
|
5677
5677
|
icon: /* @__PURE__ */ k("svg", {
|
5678
|
-
className:
|
5678
|
+
className: Mt,
|
5679
5679
|
"aria-hidden": !0,
|
5680
5680
|
xmlns: "http://www.w3.org/2000/svg",
|
5681
5681
|
viewBox: "0 0 100 100",
|
@@ -5689,7 +5689,7 @@ function as({
|
|
5689
5689
|
d: "M78.521 5H21.479a4.067 4.067 0 00-4.063 4.063v81.875a4.067 4.067 0 004.063 4.063h43.522c.161 0 .314-.032.46-.08.023-.007.045-.012.067-.021.148-.056.282-.136.404-.233.011-.008.024-.011.034-.02L82.05 81.083c.015-.013.026-.029.041-.042a1.27 1.27 0 00.114-.118c.03-.034.06-.068.086-.104.03-.041.056-.084.082-.128a1.2 1.2 0 00.066-.122c.021-.045.038-.092.055-.139a1.315 1.315 0 00.084-.43c.001-.021.006-.041.006-.062V9.063A4.068 4.068 0 0078.521 5zM20.417 90.938V9.063c0-.586.476-1.063 1.062-1.063h57.042c.586 0 1.063.477 1.063 1.063v69.374H65a1.5 1.5 0 00-1.5 1.5V92H21.479a1.063 1.063 0 01-1.062-1.062zm56.562-9.501L66.5 90.273v-8.837h10.479z"
|
5690
5690
|
})]
|
5691
5691
|
})
|
5692
|
-
}), /* @__PURE__ */ d(
|
5692
|
+
}), /* @__PURE__ */ d(It, {
|
5693
5693
|
href: Xr(rs, `[${e.applicationName}] Support Request`, r.formatMessage({
|
5694
5694
|
id: "contactUsMailBody"
|
5695
5695
|
}), e),
|
@@ -5697,7 +5697,7 @@ function as({
|
|
5697
5697
|
id: "contactus"
|
5698
5698
|
}),
|
5699
5699
|
icon: /* @__PURE__ */ d("svg", {
|
5700
|
-
className:
|
5700
|
+
className: Mt,
|
5701
5701
|
"aria-hidden": !0,
|
5702
5702
|
xmlns: "http://www.w3.org/2000/svg",
|
5703
5703
|
viewBox: "0 0 100 100",
|
@@ -5710,7 +5710,7 @@ function as({
|
|
5710
5710
|
})
|
5711
5711
|
})
|
5712
5712
|
})
|
5713
|
-
}), /* @__PURE__ */ d(
|
5713
|
+
}), /* @__PURE__ */ d(It, {
|
5714
5714
|
href: Xr(ns, `[${e.applicationName}] Sales Contact Request`, r.formatMessage({
|
5715
5715
|
id: "contactSalesMailBody"
|
5716
5716
|
}), e),
|
@@ -5718,7 +5718,7 @@ function as({
|
|
5718
5718
|
id: "contactSales"
|
5719
5719
|
}),
|
5720
5720
|
icon: /* @__PURE__ */ d("svg", {
|
5721
|
-
className:
|
5721
|
+
className: Mt,
|
5722
5722
|
"aria-hidden": !0,
|
5723
5723
|
xmlns: "http://www.w3.org/2000/svg",
|
5724
5724
|
viewBox: "0 0 100 100",
|
@@ -5731,41 +5731,16 @@ function as({
|
|
5731
5731
|
})
|
5732
5732
|
})
|
5733
5733
|
})
|
5734
|
-
}), /* @__PURE__ */ d(rt, {
|
5735
|
-
href: "https://slack.xcomponent.com",
|
5736
|
-
label: r.formatMessage({
|
5737
|
-
id: "contactDevelopers"
|
5738
|
-
}),
|
5739
|
-
icon: /* @__PURE__ */ k("svg", {
|
5740
|
-
className: nt,
|
5741
|
-
viewBox: "8 8 30 30",
|
5742
|
-
fill: "none",
|
5743
|
-
xmlns: "http://www.w3.org/2000/svg",
|
5744
|
-
"aria-hidden": !0,
|
5745
|
-
children: [/* @__PURE__ */ d("path", {
|
5746
|
-
d: "M16.535 27.397a2.711 2.711 0 01-2.704 2.705 2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h2.704v2.705zM17.898 27.397a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772a2.712 2.712 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772z",
|
5747
|
-
fill: "#E01E5A"
|
5748
|
-
}), /* @__PURE__ */ d("path", {
|
5749
|
-
d: "M20.603 16.535a2.711 2.711 0 01-2.705-2.704 2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v2.704h-2.705zM20.603 17.898a2.712 2.712 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772z",
|
5750
|
-
fill: "#36C5F0"
|
5751
|
-
}), /* @__PURE__ */ d("path", {
|
5752
|
-
d: "M31.465 20.603a2.711 2.711 0 012.704-2.705 2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-2.704v-2.705zM30.102 20.603a2.711 2.711 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772z",
|
5753
|
-
fill: "#2EB67D"
|
5754
|
-
}), /* @__PURE__ */ d("path", {
|
5755
|
-
d: "M27.397 31.465a2.711 2.711 0 012.705 2.704 2.711 2.711 0 01-2.705 2.705 2.712 2.712 0 01-2.705-2.705v-2.704h2.705zM27.397 30.102a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772a2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772z",
|
5756
|
-
fill: "#ECB22E"
|
5757
|
-
})]
|
5758
|
-
})
|
5759
5734
|
})]
|
5760
5735
|
})]
|
5761
5736
|
});
|
5762
5737
|
}
|
5763
|
-
function
|
5738
|
+
function It({
|
5764
5739
|
href: e,
|
5765
5740
|
label: t,
|
5766
5741
|
icon: r
|
5767
5742
|
}) {
|
5768
|
-
return /* @__PURE__ */ k(
|
5743
|
+
return /* @__PURE__ */ k(ht, {
|
5769
5744
|
className: "tw-m-0 tw-flex tw-items-center tw-gap-4 tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black tw-no-underline hover:tw-cursor-pointer hover:tw-bg-gray-50 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",
|
5770
5745
|
href: e,
|
5771
5746
|
target: "_blank",
|
@@ -5773,7 +5748,7 @@ function rt({
|
|
5773
5748
|
children: [r, t]
|
5774
5749
|
});
|
5775
5750
|
}
|
5776
|
-
const
|
5751
|
+
const Mt = "tw-w-[1.5rem] tw-h-[1.5rem] tw-block", $n = "x4b.language", os = (e) => {
|
5777
5752
|
window.localStorage.setItem($n, e);
|
5778
5753
|
};
|
5779
5754
|
function is() {
|
@@ -5790,7 +5765,7 @@ function ss({
|
|
5790
5765
|
}) {
|
5791
5766
|
return /* @__PURE__ */ k(qe, {
|
5792
5767
|
children: [/* @__PURE__ */ d(Qe, {
|
5793
|
-
as:
|
5768
|
+
as: re,
|
5794
5769
|
className: "aria-expanded:tw-border-gray-100 aria-expanded:tw-bg-gray-100 aria-expanded:tw-text-gray-700 aria-expanded:tw-duration-150",
|
5795
5770
|
variant: "ghost",
|
5796
5771
|
colorScheme: "gray",
|
@@ -5819,7 +5794,7 @@ function ss({
|
|
5819
5794
|
})]
|
5820
5795
|
})]
|
5821
5796
|
})
|
5822
|
-
}), /* @__PURE__ */ d(
|
5797
|
+
}), /* @__PURE__ */ d(dt, {
|
5823
5798
|
withMinWidth: !1,
|
5824
5799
|
className: "tw-min-w-fit",
|
5825
5800
|
children: t.filter((n) => Vr[n]).map((n) => /* @__PURE__ */ d(Wn, {
|
@@ -5837,7 +5812,7 @@ function ls({
|
|
5837
5812
|
onClick: t
|
5838
5813
|
}) {
|
5839
5814
|
const r = Re();
|
5840
|
-
return /* @__PURE__ */ k(
|
5815
|
+
return /* @__PURE__ */ k(re, {
|
5841
5816
|
className: "tw-hidden sm:tw-inline-block",
|
5842
5817
|
variant: "ghost",
|
5843
5818
|
colorScheme: "primary",
|
@@ -5884,7 +5859,7 @@ function us({
|
|
5884
5859
|
return /* @__PURE__ */ k(qe, {
|
5885
5860
|
children: [/* @__PURE__ */ k(Qe, {
|
5886
5861
|
className: "!tw-px-0 !tw-py-0 tw-transition-opacity hover:tw-opacity-80 aria-expanded:tw-opacity-80 aria-expanded:tw-duration-150",
|
5887
|
-
as:
|
5862
|
+
as: re,
|
5888
5863
|
variant: "ghost",
|
5889
5864
|
colorScheme: "primary",
|
5890
5865
|
compact: !0,
|
@@ -5922,7 +5897,7 @@ function us({
|
|
5922
5897
|
clipPath: "url(#user-badge--clip-path)"
|
5923
5898
|
})]
|
5924
5899
|
})]
|
5925
|
-
}), /* @__PURE__ */ k(
|
5900
|
+
}), /* @__PURE__ */ k(dt, {
|
5926
5901
|
withMinWidth: !1,
|
5927
5902
|
className: "tw-w-[310px]",
|
5928
5903
|
children: [/* @__PURE__ */ k("div", {
|
@@ -5930,8 +5905,8 @@ function us({
|
|
5930
5905
|
children: [/* @__PURE__ */ d("div", {
|
5931
5906
|
className: "tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-base tw-font-semibold tw-leading-tight tw-text-black",
|
5932
5907
|
children: e
|
5933
|
-
}), /* @__PURE__ */ d(
|
5934
|
-
as:
|
5908
|
+
}), /* @__PURE__ */ d(ht, {
|
5909
|
+
as: re,
|
5935
5910
|
className: "tw-self-end data-[selected]:[&:not(:hover)]:tw-ring data-[selected]:[&:not(:hover)]:tw-ring-gray-300",
|
5936
5911
|
variant: "outline",
|
5937
5912
|
colorScheme: "gray",
|
@@ -5969,18 +5944,18 @@ function cs({
|
|
5969
5944
|
className: M,
|
5970
5945
|
...I
|
5971
5946
|
}) {
|
5972
|
-
const
|
5947
|
+
const T = Re(), x = t == null ? void 0 : t[e], p = t == null ? void 0 : t["x4b-settings"], v = () => {
|
5973
5948
|
const P = !ti();
|
5974
5949
|
ri(P), a && a(P);
|
5975
5950
|
};
|
5976
5951
|
return x ? /* @__PURE__ */ d("header", {
|
5977
5952
|
...I,
|
5978
5953
|
"aria-label": "Global",
|
5979
|
-
className:
|
5954
|
+
className: at(M, "tw-box-border tw-bg-white ", h && "tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),
|
5980
5955
|
children: /* @__PURE__ */ k("nav", {
|
5981
5956
|
"aria-label": "top",
|
5982
|
-
className:
|
5983
|
-
children: [h && a && /* @__PURE__ */ k(
|
5957
|
+
className: at(h ? "tw-gap-0 sm:tw-gap-1 lg:tw-gap-2" : "tw-gap-0 sm:tw-gap-1", b && "tw-mx-auto tw-max-w-7xl", "tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),
|
5958
|
+
children: [h && a && /* @__PURE__ */ k(re, {
|
5984
5959
|
variant: "ghost",
|
5985
5960
|
colorScheme: "primary",
|
5986
5961
|
compact: !0,
|
@@ -5988,7 +5963,7 @@ function cs({
|
|
5988
5963
|
onClick: v,
|
5989
5964
|
children: [/* @__PURE__ */ d("p", {
|
5990
5965
|
className: "tw-sr-only",
|
5991
|
-
children:
|
5966
|
+
children: T.formatMessage({
|
5992
5967
|
id: "mainMenu"
|
5993
5968
|
})
|
5994
5969
|
}), /* @__PURE__ */ k("svg", {
|
@@ -5998,7 +5973,7 @@ function cs({
|
|
5998
5973
|
height: "20",
|
5999
5974
|
viewBox: "0 0 18 16",
|
6000
5975
|
children: [/* @__PURE__ */ d("title", {
|
6001
|
-
children:
|
5976
|
+
children: T.formatMessage({
|
6002
5977
|
id: "mainMenu"
|
6003
5978
|
})
|
6004
5979
|
}), /* @__PURE__ */ d("g", {
|
@@ -6026,7 +6001,7 @@ function cs({
|
|
6026
6001
|
}), r !== void 0 && h && /* @__PURE__ */ d(ls, {
|
6027
6002
|
count: r,
|
6028
6003
|
onClick: n
|
6029
|
-
}), p && h && /* @__PURE__ */ k(
|
6004
|
+
}), p && h && /* @__PURE__ */ k(re, {
|
6030
6005
|
as: "a",
|
6031
6006
|
variant: "ghost",
|
6032
6007
|
colorScheme: "primary",
|
@@ -6035,7 +6010,7 @@ function cs({
|
|
6035
6010
|
href: `${p.url}${h ? `#refreshToken=${h}` : ""}`,
|
6036
6011
|
children: [/* @__PURE__ */ d("p", {
|
6037
6012
|
className: "tw-sr-only",
|
6038
|
-
children:
|
6013
|
+
children: T.formatMessage({
|
6039
6014
|
id: "settings"
|
6040
6015
|
})
|
6041
6016
|
}), /* @__PURE__ */ k("svg", {
|
@@ -6045,7 +6020,7 @@ function cs({
|
|
6045
6020
|
height: "22",
|
6046
6021
|
viewBox: "0 0 22 22",
|
6047
6022
|
children: [/* @__PURE__ */ d("title", {
|
6048
|
-
children:
|
6023
|
+
children: T.formatMessage({
|
6049
6024
|
id: "settings"
|
6050
6025
|
})
|
6051
6026
|
}), /* @__PURE__ */ d("g", {
|
@@ -6065,6 +6040,40 @@ function cs({
|
|
6065
6040
|
version: f,
|
6066
6041
|
url: x.url
|
6067
6042
|
}
|
6043
|
+
}), /* @__PURE__ */ d(re, {
|
6044
|
+
href: "https://slack.xcomponent.com",
|
6045
|
+
as: "a",
|
6046
|
+
variant: "ghost",
|
6047
|
+
colorScheme: "primary",
|
6048
|
+
compact: !0,
|
6049
|
+
rounded: !0,
|
6050
|
+
"aria-label": T.formatMessage({
|
6051
|
+
id: "contactDevelopers"
|
6052
|
+
}),
|
6053
|
+
children: /* @__PURE__ */ k("svg", {
|
6054
|
+
viewBox: "8 8 30 30",
|
6055
|
+
fill: "none",
|
6056
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6057
|
+
"aria-hidden": !0,
|
6058
|
+
className: "tw-w-[1.5rem] tw-h-[1.5rem] tw-block",
|
6059
|
+
children: [/* @__PURE__ */ d("title", {
|
6060
|
+
children: T.formatMessage({
|
6061
|
+
id: "contactDevelopers"
|
6062
|
+
})
|
6063
|
+
}), /* @__PURE__ */ d("path", {
|
6064
|
+
d: "M16.535 27.397a2.711 2.711 0 01-2.704 2.705 2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h2.704v2.705zM17.898 27.397a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772a2.712 2.712 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772z",
|
6065
|
+
fill: "#E01E5A"
|
6066
|
+
}), /* @__PURE__ */ d("path", {
|
6067
|
+
d: "M20.603 16.535a2.711 2.711 0 01-2.705-2.704 2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v2.704h-2.705zM20.603 17.898a2.712 2.712 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772z",
|
6068
|
+
fill: "#36C5F0"
|
6069
|
+
}), /* @__PURE__ */ d("path", {
|
6070
|
+
d: "M31.465 20.603a2.711 2.711 0 012.704-2.705 2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-2.704v-2.705zM30.102 20.603a2.711 2.711 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772z",
|
6071
|
+
fill: "#2EB67D"
|
6072
|
+
}), /* @__PURE__ */ d("path", {
|
6073
|
+
d: "M27.397 31.465a2.711 2.711 0 012.705 2.704 2.711 2.711 0 01-2.705 2.705 2.712 2.712 0 01-2.705-2.705v-2.704h2.705zM27.397 30.102a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772a2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772z",
|
6074
|
+
fill: "#ECB22E"
|
6075
|
+
})]
|
6076
|
+
})
|
6068
6077
|
}), h && t && /* @__PURE__ */ d(Ki, {
|
6069
6078
|
applicationDescriptions: t,
|
6070
6079
|
refreshToken: h
|
@@ -6077,24 +6086,24 @@ function cs({
|
|
6077
6086
|
languages: i || ["en"],
|
6078
6087
|
onLanguageSelected: l
|
6079
6088
|
}), !h && /* @__PURE__ */ k(Wo, {
|
6080
|
-
children: [/* @__PURE__ */ d(
|
6089
|
+
children: [/* @__PURE__ */ d(re, {
|
6081
6090
|
className: "tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",
|
6082
6091
|
size: "lg",
|
6083
6092
|
href: g,
|
6084
6093
|
as: "a",
|
6085
6094
|
variant: "link",
|
6086
6095
|
colorScheme: "gray",
|
6087
|
-
children:
|
6096
|
+
children: T.formatMessage({
|
6088
6097
|
id: "login"
|
6089
6098
|
})
|
6090
|
-
}), /* @__PURE__ */ d(
|
6099
|
+
}), /* @__PURE__ */ d(re, {
|
6091
6100
|
className: "tw-ml-3 tw-hidden lg:tw-inline-block",
|
6092
6101
|
size: "xl",
|
6093
6102
|
href: g,
|
6094
6103
|
as: "a",
|
6095
6104
|
variant: "solid",
|
6096
6105
|
colorScheme: "primary",
|
6097
|
-
children:
|
6106
|
+
children: T.formatMessage({
|
6098
6107
|
id: "getStartedFree"
|
6099
6108
|
})
|
6100
6109
|
})]
|
@@ -6228,20 +6237,20 @@ function vs(e) {
|
|
6228
6237
|
return Zr(t);
|
6229
6238
|
}
|
6230
6239
|
}
|
6231
|
-
function
|
6240
|
+
function lt(e) {
|
6232
6241
|
this.message = e;
|
6233
6242
|
}
|
6234
6243
|
function rr(e, t) {
|
6235
6244
|
if (typeof e != "string")
|
6236
|
-
throw new
|
6245
|
+
throw new lt("Invalid token specified");
|
6237
6246
|
var r = (t = t || {}).header === !0 ? 0 : 1;
|
6238
6247
|
try {
|
6239
6248
|
return JSON.parse(vs(e.split(".")[r]));
|
6240
6249
|
} catch (n) {
|
6241
|
-
throw new
|
6250
|
+
throw new lt("Invalid token specified: " + n.message);
|
6242
6251
|
}
|
6243
6252
|
}
|
6244
|
-
|
6253
|
+
lt.prototype = new Error(), lt.prototype.name = "InvalidTokenError";
|
6245
6254
|
const gs = (e) => {
|
6246
6255
|
if (e) {
|
6247
6256
|
const t = rr(e);
|