@nurtjahjo/swaraksara-ui-theme 0.3.11 → 0.3.12
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/icons/duotone/fill-drip.svg +1 -0
- package/dist/index.d.ts +5 -2
- package/dist/swaraksara-ui.js +219 -219
- package/dist/swaraksara-ui.umd.cjs +6 -6
- package/package.json +1 -1
package/dist/swaraksara-ui.js
CHANGED
|
@@ -19,28 +19,28 @@ const Er = ".swaraksara.id", Sr = () => {
|
|
|
19
19
|
if (a.indexOf(t) === 0) return a.substring(t.length, a.length);
|
|
20
20
|
}
|
|
21
21
|
return null;
|
|
22
|
-
}, Fn = In(void 0), fi = ({ children: e }) => {
|
|
23
|
-
const [
|
|
22
|
+
}, Fn = In(void 0), fi = ({ children: e, defaultMode: t = "light" }) => {
|
|
23
|
+
const [n, r] = xe(() => {
|
|
24
24
|
const l = Mn("sa_theme");
|
|
25
|
-
return l === "light" || l === "dark" || l === "auto" ? l :
|
|
26
|
-
}), [
|
|
25
|
+
return l === "light" || l === "dark" || l === "auto" ? l : t;
|
|
26
|
+
}), [a, o] = xe(
|
|
27
27
|
window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"
|
|
28
28
|
);
|
|
29
29
|
Me(() => {
|
|
30
|
-
const l = window.matchMedia("(prefers-color-scheme: dark)"), c = (
|
|
31
|
-
|
|
30
|
+
const l = window.matchMedia("(prefers-color-scheme: dark)"), c = (h) => {
|
|
31
|
+
o(h.matches ? "dark" : "light");
|
|
32
32
|
};
|
|
33
33
|
return l.addEventListener("change", c), () => l.removeEventListener("change", c);
|
|
34
34
|
}, []);
|
|
35
|
-
const
|
|
35
|
+
const i = st(() => n === "auto" ? a : n, [n, a]);
|
|
36
36
|
Me(() => {
|
|
37
37
|
const l = window.document.documentElement;
|
|
38
|
-
l.classList.remove("light", "dark"), l.classList.add(
|
|
39
|
-
}, [
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
return /* @__PURE__ */ _(Fn.Provider, { value:
|
|
38
|
+
l.classList.remove("light", "dark"), l.classList.add(i), Rn("sa_theme", n);
|
|
39
|
+
}, [n, i]);
|
|
40
|
+
const s = (l) => {
|
|
41
|
+
r(l);
|
|
42
|
+
}, u = st(() => ({ mode: n, resolvedTheme: i, setMode: s }), [n, i]);
|
|
43
|
+
return /* @__PURE__ */ _(Fn.Provider, { value: u, children: e });
|
|
44
44
|
}, Or = () => {
|
|
45
45
|
const e = Nn(Fn);
|
|
46
46
|
if (e === void 0)
|
|
@@ -82,7 +82,7 @@ function Yt(e, t) {
|
|
|
82
82
|
}
|
|
83
83
|
return n;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function f(e) {
|
|
86
86
|
for (var t = 1; t < arguments.length; t++) {
|
|
87
87
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
88
88
|
t % 2 ? Yt(Object(n), !0).forEach(function(r) {
|
|
@@ -415,20 +415,20 @@ function Ee(e) {
|
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
const Gn =
|
|
419
|
-
Gn[Y] =
|
|
418
|
+
const Gn = f({}, Yn);
|
|
419
|
+
Gn[Y] = f(f(f(f({}, {
|
|
420
420
|
"fa-duotone": "duotone"
|
|
421
421
|
}), Yn[Y]), Bt.kit), Bt["kit-duotone"]);
|
|
422
|
-
const na = Ee(Gn), dt =
|
|
423
|
-
dt[Y] =
|
|
422
|
+
const na = Ee(Gn), dt = f({}, jr);
|
|
423
|
+
dt[Y] = f(f(f(f({}, {
|
|
424
424
|
duotone: "fad"
|
|
425
425
|
}), dt[Y]), Ht.kit), Ht["kit-duotone"]);
|
|
426
|
-
const Gt = Ee(dt), mt =
|
|
427
|
-
mt[Y] =
|
|
428
|
-
const It = Ee(mt), pt =
|
|
429
|
-
pt[Y] =
|
|
426
|
+
const Gt = Ee(dt), mt = f({}, lt);
|
|
427
|
+
mt[Y] = f(f({}, mt[Y]), Wr.kit);
|
|
428
|
+
const It = Ee(mt), pt = f({}, Hr);
|
|
429
|
+
pt[Y] = f(f({}, pt[Y]), $r.kit);
|
|
430
430
|
Ee(pt);
|
|
431
|
-
const ra = Cr, Xn = "fa-layers-text", aa = _r, oa =
|
|
431
|
+
const ra = Cr, Xn = "fa-layers-text", aa = _r, oa = f({}, Mr);
|
|
432
432
|
Ee(oa);
|
|
433
433
|
const ia = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Xe = Ir, sa = [...zr, ...Jr], ve = ae.FontAwesomeConfig || {};
|
|
434
434
|
function la(e) {
|
|
@@ -460,7 +460,7 @@ const Kn = {
|
|
|
460
460
|
showMissingIcons: !0
|
|
461
461
|
};
|
|
462
462
|
ve.familyPrefix && (ve.cssPrefix = ve.familyPrefix);
|
|
463
|
-
const pe =
|
|
463
|
+
const pe = f(f({}, Kn), ve);
|
|
464
464
|
pe.autoReplaceSvg || (pe.observeMutations = !1);
|
|
465
465
|
const v = {};
|
|
466
466
|
Object.keys(Kn).forEach((e) => {
|
|
@@ -547,15 +547,15 @@ function pa(e) {
|
|
|
547
547
|
} = e;
|
|
548
548
|
const a = {
|
|
549
549
|
transform: "translate(".concat(n / 2, " 256)")
|
|
550
|
-
}, o = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), i = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"),
|
|
550
|
+
}, o = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), i = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), u = {
|
|
551
551
|
transform: "".concat(o, " ").concat(i, " ").concat(s)
|
|
552
|
-
},
|
|
552
|
+
}, l = {
|
|
553
553
|
transform: "translate(".concat(r / 2 * -1, " -256)")
|
|
554
554
|
};
|
|
555
555
|
return {
|
|
556
556
|
outer: a,
|
|
557
|
-
inner:
|
|
558
|
-
path:
|
|
557
|
+
inner: u,
|
|
558
|
+
path: l
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
561
|
function ha(e) {
|
|
@@ -1185,10 +1185,10 @@ function Kt(e, t, n) {
|
|
|
1185
1185
|
};
|
|
1186
1186
|
}
|
|
1187
1187
|
var Je = function(t, n, r, a) {
|
|
1188
|
-
var o = Object.keys(t), i = o.length, s = n, l, c
|
|
1189
|
-
for (r === void 0 ? (
|
|
1190
|
-
|
|
1191
|
-
return
|
|
1188
|
+
var o = Object.keys(t), i = o.length, s = n, u, l, c;
|
|
1189
|
+
for (r === void 0 ? (u = 1, c = t[o[0]]) : (u = 0, c = r); u < i; u++)
|
|
1190
|
+
l = o[u], c = s(c, t[l], l, t);
|
|
1191
|
+
return c;
|
|
1192
1192
|
};
|
|
1193
1193
|
function ba(e) {
|
|
1194
1194
|
const t = [];
|
|
@@ -1224,7 +1224,7 @@ function gt(e, t) {
|
|
|
1224
1224
|
const {
|
|
1225
1225
|
skipHooks: r = !1
|
|
1226
1226
|
} = n, a = Jt(t);
|
|
1227
|
-
typeof Q.hooks.addPack == "function" && !r ? Q.hooks.addPack(e, Jt(t)) : Q.styles[e] =
|
|
1227
|
+
typeof Q.hooks.addPack == "function" && !r ? Q.hooks.addPack(e, Jt(t)) : Q.styles[e] = f(f({}, Q.styles[e] || {}), a), e === "fas" && gt("fa", t);
|
|
1228
1228
|
}
|
|
1229
1229
|
const {
|
|
1230
1230
|
styles: Ae,
|
|
@@ -1344,19 +1344,19 @@ function Ye(e) {
|
|
|
1344
1344
|
skipLookups: n = !1
|
|
1345
1345
|
} = t;
|
|
1346
1346
|
let r = null;
|
|
1347
|
-
const a = ct.concat(qr), o = Qt(e.filter((h) => a.includes(h))), i = Qt(e.filter((h) => !ct.includes(h))), s = o.filter((h) => (r = h, !Wn.includes(h))), [
|
|
1348
|
-
prefix: $e(
|
|
1349
|
-
family:
|
|
1347
|
+
const a = ct.concat(qr), o = Qt(e.filter((h) => a.includes(h))), i = Qt(e.filter((h) => !ct.includes(h))), s = o.filter((h) => (r = h, !Wn.includes(h))), [u = null] = s, l = Ta(o), c = f(f({}, ka(i)), {}, {
|
|
1348
|
+
prefix: $e(u, {
|
|
1349
|
+
family: l
|
|
1350
1350
|
})
|
|
1351
1351
|
});
|
|
1352
|
-
return
|
|
1352
|
+
return f(f(f({}, c), Na({
|
|
1353
1353
|
values: e,
|
|
1354
|
-
family:
|
|
1354
|
+
family: l,
|
|
1355
1355
|
styles: Ae,
|
|
1356
1356
|
config: v,
|
|
1357
|
-
canonical:
|
|
1357
|
+
canonical: c,
|
|
1358
1358
|
givenPrefix: r
|
|
1359
|
-
})), Ca(n, r,
|
|
1359
|
+
})), Ca(n, r, c));
|
|
1360
1360
|
}
|
|
1361
1361
|
function Ca(e, t, n) {
|
|
1362
1362
|
let {
|
|
@@ -1383,8 +1383,8 @@ function Na(e) {
|
|
|
1383
1383
|
givenPrefix: a = "",
|
|
1384
1384
|
styles: o = {},
|
|
1385
1385
|
config: i = {}
|
|
1386
|
-
} = e, s = n === De,
|
|
1387
|
-
if (!s && (
|
|
1386
|
+
} = e, s = n === De, u = t.includes("fa-duotone") || t.includes("fad"), l = i.familyDefault === "duotone", c = r.prefix === "fad" || r.prefix === "fa-duotone";
|
|
1387
|
+
if (!s && (u || l || c) && (r.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (r.prefix = "fab"), !r.prefix && _a.includes(n) && (Object.keys(o).find((y) => Ia.includes(y)) || i.autoFetchSvg)) {
|
|
1388
1388
|
const y = Lr.get(n).defaultShortPrefixId;
|
|
1389
1389
|
r.prefix = y, r.iconName = le(r.prefix, r.iconName) || r.iconName;
|
|
1390
1390
|
}
|
|
@@ -1399,7 +1399,7 @@ class Ra {
|
|
|
1399
1399
|
n[r] = arguments[r];
|
|
1400
1400
|
const a = n.reduce(this._pullDefinitions, {});
|
|
1401
1401
|
Object.keys(a).forEach((o) => {
|
|
1402
|
-
this.definitions[o] =
|
|
1402
|
+
this.definitions[o] = f(f({}, this.definitions[o] || {}), a[o]), gt(o, a[o]);
|
|
1403
1403
|
const i = It[Y][o];
|
|
1404
1404
|
i && gt(i, a[o]), sr();
|
|
1405
1405
|
});
|
|
@@ -1416,9 +1416,9 @@ class Ra {
|
|
|
1416
1416
|
prefix: o,
|
|
1417
1417
|
iconName: i,
|
|
1418
1418
|
icon: s
|
|
1419
|
-
} = r[a],
|
|
1420
|
-
t[o] || (t[o] = {}),
|
|
1421
|
-
typeof
|
|
1419
|
+
} = r[a], u = s[2];
|
|
1420
|
+
t[o] || (t[o] = {}), u.length > 0 && u.forEach((l) => {
|
|
1421
|
+
typeof l == "string" && (t[o][l] = s);
|
|
1422
1422
|
}), t[o][i] = s;
|
|
1423
1423
|
}), t;
|
|
1424
1424
|
}
|
|
@@ -1568,13 +1568,13 @@ function $a(e) {
|
|
|
1568
1568
|
if (Rt(i) && n.found && !r.found) {
|
|
1569
1569
|
const {
|
|
1570
1570
|
width: s,
|
|
1571
|
-
height:
|
|
1572
|
-
} = n,
|
|
1573
|
-
x: s /
|
|
1571
|
+
height: u
|
|
1572
|
+
} = n, l = {
|
|
1573
|
+
x: s / u / 2,
|
|
1574
1574
|
y: 0.5
|
|
1575
1575
|
};
|
|
1576
|
-
a.style = ze(
|
|
1577
|
-
"transform-origin": "".concat(
|
|
1576
|
+
a.style = ze(f(f({}, o), {}, {
|
|
1577
|
+
"transform-origin": "".concat(l.x + i.x / 16, "em ").concat(l.y + i.y / 16, "em")
|
|
1578
1578
|
}));
|
|
1579
1579
|
}
|
|
1580
1580
|
return [{
|
|
@@ -1599,7 +1599,7 @@ function Ya(e) {
|
|
|
1599
1599
|
},
|
|
1600
1600
|
children: [{
|
|
1601
1601
|
tag: "symbol",
|
|
1602
|
-
attributes:
|
|
1602
|
+
attributes: f(f({}, a), {}, {
|
|
1603
1603
|
id: i
|
|
1604
1604
|
}),
|
|
1605
1605
|
children: r
|
|
@@ -1617,44 +1617,44 @@ function Lt(e) {
|
|
|
1617
1617
|
transform: o,
|
|
1618
1618
|
symbol: i,
|
|
1619
1619
|
title: s,
|
|
1620
|
-
maskId:
|
|
1621
|
-
titleId:
|
|
1622
|
-
extra:
|
|
1620
|
+
maskId: u,
|
|
1621
|
+
titleId: l,
|
|
1622
|
+
extra: c,
|
|
1623
1623
|
watchable: h = !1
|
|
1624
1624
|
} = e, {
|
|
1625
1625
|
width: y,
|
|
1626
1626
|
height: w
|
|
1627
|
-
} = n.found ? n : t, L = Yr.includes(r), b = [v.replacementClass, a ? "".concat(v.cssPrefix, "-").concat(a) : ""].filter((m) =>
|
|
1627
|
+
} = n.found ? n : t, L = Yr.includes(r), b = [v.replacementClass, a ? "".concat(v.cssPrefix, "-").concat(a) : ""].filter((m) => c.classes.indexOf(m) === -1).filter((m) => m !== "" || !!m).concat(c.classes).join(" ");
|
|
1628
1628
|
let E = {
|
|
1629
1629
|
children: [],
|
|
1630
|
-
attributes:
|
|
1630
|
+
attributes: f(f({}, c.attributes), {}, {
|
|
1631
1631
|
"data-prefix": r,
|
|
1632
1632
|
"data-icon": a,
|
|
1633
1633
|
class: b,
|
|
1634
|
-
role:
|
|
1634
|
+
role: c.attributes.role || "img",
|
|
1635
1635
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1636
1636
|
viewBox: "0 0 ".concat(y, " ").concat(w)
|
|
1637
1637
|
})
|
|
1638
1638
|
};
|
|
1639
|
-
const O = L && !~
|
|
1639
|
+
const O = L && !~c.classes.indexOf("fa-fw") ? {
|
|
1640
1640
|
width: "".concat(y / w * 16 * 0.0625, "em")
|
|
1641
1641
|
} : {};
|
|
1642
1642
|
h && (E.attributes[ce] = ""), s && (E.children.push({
|
|
1643
1643
|
tag: "title",
|
|
1644
1644
|
attributes: {
|
|
1645
|
-
id: E.attributes["aria-labelledby"] || "title-".concat(
|
|
1645
|
+
id: E.attributes["aria-labelledby"] || "title-".concat(l || we())
|
|
1646
1646
|
},
|
|
1647
1647
|
children: [s]
|
|
1648
1648
|
}), delete E.attributes.title);
|
|
1649
|
-
const D =
|
|
1649
|
+
const D = f(f({}, E), {}, {
|
|
1650
1650
|
prefix: r,
|
|
1651
1651
|
iconName: a,
|
|
1652
1652
|
main: t,
|
|
1653
1653
|
mask: n,
|
|
1654
|
-
maskId:
|
|
1654
|
+
maskId: u,
|
|
1655
1655
|
transform: o,
|
|
1656
1656
|
symbol: i,
|
|
1657
|
-
styles:
|
|
1657
|
+
styles: f(f({}, O), c.styles)
|
|
1658
1658
|
}), {
|
|
1659
1659
|
children: k,
|
|
1660
1660
|
attributes: z
|
|
@@ -1676,25 +1676,25 @@ function en(e) {
|
|
|
1676
1676
|
title: o,
|
|
1677
1677
|
extra: i,
|
|
1678
1678
|
watchable: s = !1
|
|
1679
|
-
} = e,
|
|
1679
|
+
} = e, u = f(f(f({}, i.attributes), o ? {
|
|
1680
1680
|
title: o
|
|
1681
1681
|
} : {}), {}, {
|
|
1682
1682
|
class: i.classes.join(" ")
|
|
1683
1683
|
});
|
|
1684
|
-
s && (
|
|
1685
|
-
const
|
|
1686
|
-
Rt(a) && (
|
|
1684
|
+
s && (u[ce] = "");
|
|
1685
|
+
const l = f({}, i.styles);
|
|
1686
|
+
Rt(a) && (l.transform = ha({
|
|
1687
1687
|
transform: a,
|
|
1688
1688
|
startCentered: !0,
|
|
1689
1689
|
width: n,
|
|
1690
1690
|
height: r
|
|
1691
|
-
}),
|
|
1692
|
-
const
|
|
1693
|
-
|
|
1691
|
+
}), l["-webkit-transform"] = l.transform);
|
|
1692
|
+
const c = ze(l);
|
|
1693
|
+
c.length > 0 && (u.style = c);
|
|
1694
1694
|
const h = [];
|
|
1695
1695
|
return h.push({
|
|
1696
1696
|
tag: "span",
|
|
1697
|
-
attributes:
|
|
1697
|
+
attributes: u,
|
|
1698
1698
|
children: [t]
|
|
1699
1699
|
}), o && h.push({
|
|
1700
1700
|
tag: "span",
|
|
@@ -1709,7 +1709,7 @@ function Wa(e) {
|
|
|
1709
1709
|
content: t,
|
|
1710
1710
|
title: n,
|
|
1711
1711
|
extra: r
|
|
1712
|
-
} = e, a =
|
|
1712
|
+
} = e, a = f(f(f({}, r.attributes), n ? {
|
|
1713
1713
|
title: n
|
|
1714
1714
|
} : {}), {}, {
|
|
1715
1715
|
class: r.classes.join(" ")
|
|
@@ -1786,7 +1786,7 @@ function xt(e, t) {
|
|
|
1786
1786
|
const o = Qe[t][e];
|
|
1787
1787
|
return r(bt(o));
|
|
1788
1788
|
}
|
|
1789
|
-
qa(e, t), r(
|
|
1789
|
+
qa(e, t), r(f(f({}, Ua), {}, {
|
|
1790
1790
|
icon: v.showMissingIcons && e ? ie("missingIconAbstract") || {} : {}
|
|
1791
1791
|
}));
|
|
1792
1792
|
});
|
|
@@ -1911,10 +1911,10 @@ function an(e) {
|
|
|
1911
1911
|
if (s.type === "childList" && s.addedNodes.length > 0 && !nn(s.addedNodes[0]) && (v.searchPseudoElements && r(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && v.searchPseudoElements && r(s.target.parentNode), s.type === "attributes" && nn(s.target) && ~ia.indexOf(s.attributeName))
|
|
1912
1912
|
if (s.attributeName === "class" && Ha(s.target)) {
|
|
1913
1913
|
const {
|
|
1914
|
-
prefix:
|
|
1915
|
-
iconName:
|
|
1914
|
+
prefix: u,
|
|
1915
|
+
iconName: l
|
|
1916
1916
|
} = Ye(Nt(s.target));
|
|
1917
|
-
s.target.setAttribute(Ct,
|
|
1917
|
+
s.target.setAttribute(Ct, u || i), l && s.target.setAttribute(_t, l);
|
|
1918
1918
|
} else Va(s.target) && n(s.target);
|
|
1919
1919
|
});
|
|
1920
1920
|
}), te && Le.observe(a, {
|
|
@@ -1975,7 +1975,7 @@ function on(e) {
|
|
|
1975
1975
|
rest: a
|
|
1976
1976
|
} = eo(e), o = to(e), i = yt("parseNodeAttributes", {}, e);
|
|
1977
1977
|
let s = t.styleParser ? Za(e) : [];
|
|
1978
|
-
return
|
|
1978
|
+
return f({
|
|
1979
1979
|
iconName: n,
|
|
1980
1980
|
title: e.getAttribute("title"),
|
|
1981
1981
|
titleId: e.getAttribute("data-fa-title-id"),
|
|
@@ -2010,9 +2010,9 @@ function ao() {
|
|
|
2010
2010
|
function sn(e) {
|
|
2011
2011
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2012
2012
|
if (!te) return Promise.resolve();
|
|
2013
|
-
const n = $.documentElement.classList, r = (
|
|
2013
|
+
const n = $.documentElement.classList, r = (c) => n.add("".concat(Vt, "-").concat(c)), a = (c) => n.remove("".concat(Vt, "-").concat(c)), o = v.autoFetchSvg ? ao() : Wn.concat(Object.keys(ro));
|
|
2014
2014
|
o.includes("fa") || o.push("fa");
|
|
2015
|
-
const i = [".".concat(Xn, ":not([").concat(ce, "])")].concat(o.map((
|
|
2015
|
+
const i = [".".concat(Xn, ":not([").concat(ce, "])")].concat(o.map((c) => ".".concat(c, ":not([").concat(ce, "])"))).join(", ");
|
|
2016
2016
|
if (i.length === 0)
|
|
2017
2017
|
return Promise.resolve();
|
|
2018
2018
|
let s = [];
|
|
@@ -2024,22 +2024,22 @@ function sn(e) {
|
|
|
2024
2024
|
r("pending"), a("complete");
|
|
2025
2025
|
else
|
|
2026
2026
|
return Promise.resolve();
|
|
2027
|
-
const
|
|
2027
|
+
const u = jt.begin("onTree"), l = s.reduce((c, h) => {
|
|
2028
2028
|
try {
|
|
2029
2029
|
const y = hr(h);
|
|
2030
|
-
y &&
|
|
2030
|
+
y && c.push(y);
|
|
2031
2031
|
} catch (y) {
|
|
2032
2032
|
Vn || y.name === "MissingIcon" && console.error(y);
|
|
2033
2033
|
}
|
|
2034
|
-
return
|
|
2034
|
+
return c;
|
|
2035
2035
|
}, []);
|
|
2036
|
-
return new Promise((
|
|
2037
|
-
Promise.all(
|
|
2036
|
+
return new Promise((c, h) => {
|
|
2037
|
+
Promise.all(l).then((y) => {
|
|
2038
2038
|
mr(y, () => {
|
|
2039
|
-
r("active"), r("complete"), a("pending"), typeof t == "function" && t(),
|
|
2039
|
+
r("active"), r("complete"), a("pending"), typeof t == "function" && t(), u(), c();
|
|
2040
2040
|
});
|
|
2041
2041
|
}).catch((y) => {
|
|
2042
|
-
|
|
2042
|
+
u(), h(y);
|
|
2043
2043
|
});
|
|
2044
2044
|
});
|
|
2045
2045
|
}
|
|
@@ -2056,7 +2056,7 @@ function io(e) {
|
|
|
2056
2056
|
let {
|
|
2057
2057
|
mask: a
|
|
2058
2058
|
} = n;
|
|
2059
|
-
return a && (a = (a || {}).icon ? a : vt(a || {})), e(r,
|
|
2059
|
+
return a && (a = (a || {}).icon ? a : vt(a || {})), e(r, f(f({}, n), {}, {
|
|
2060
2060
|
mask: a
|
|
2061
2061
|
}));
|
|
2062
2062
|
};
|
|
@@ -2070,9 +2070,9 @@ const so = function(e) {
|
|
|
2070
2070
|
maskId: o = null,
|
|
2071
2071
|
title: i = null,
|
|
2072
2072
|
titleId: s = null,
|
|
2073
|
-
classes:
|
|
2074
|
-
attributes:
|
|
2075
|
-
styles:
|
|
2073
|
+
classes: u = [],
|
|
2074
|
+
attributes: l = {},
|
|
2075
|
+
styles: c = {}
|
|
2076
2076
|
} = t;
|
|
2077
2077
|
if (!e) return;
|
|
2078
2078
|
const {
|
|
@@ -2080,12 +2080,12 @@ const so = function(e) {
|
|
|
2080
2080
|
iconName: y,
|
|
2081
2081
|
icon: w
|
|
2082
2082
|
} = e;
|
|
2083
|
-
return We(
|
|
2083
|
+
return We(f({
|
|
2084
2084
|
type: "icon"
|
|
2085
2085
|
}, e), () => (fe("beforeDOMElementCreation", {
|
|
2086
2086
|
iconDefinition: e,
|
|
2087
2087
|
params: t
|
|
2088
|
-
}), v.autoA11y && (i ?
|
|
2088
|
+
}), v.autoA11y && (i ? l["aria-labelledby"] = "".concat(v.replacementClass, "-title-").concat(s || we()) : (l["aria-hidden"] = "true", l.focusable = "false")), Lt({
|
|
2089
2089
|
icons: {
|
|
2090
2090
|
main: bt(w),
|
|
2091
2091
|
mask: a ? bt(a.icon) : {
|
|
@@ -2097,15 +2097,15 @@ const so = function(e) {
|
|
|
2097
2097
|
},
|
|
2098
2098
|
prefix: h,
|
|
2099
2099
|
iconName: y,
|
|
2100
|
-
transform:
|
|
2100
|
+
transform: f(f({}, J), n),
|
|
2101
2101
|
symbol: r,
|
|
2102
2102
|
title: i,
|
|
2103
2103
|
maskId: o,
|
|
2104
2104
|
titleId: s,
|
|
2105
2105
|
extra: {
|
|
2106
|
-
attributes:
|
|
2107
|
-
styles:
|
|
2108
|
-
classes:
|
|
2106
|
+
attributes: l,
|
|
2107
|
+
styles: c,
|
|
2108
|
+
classes: u
|
|
2109
2109
|
}
|
|
2110
2110
|
})));
|
|
2111
2111
|
};
|
|
@@ -2137,13 +2137,13 @@ var lo = {
|
|
|
2137
2137
|
titleId: o,
|
|
2138
2138
|
prefix: i,
|
|
2139
2139
|
transform: s,
|
|
2140
|
-
symbol:
|
|
2141
|
-
mask:
|
|
2142
|
-
maskId:
|
|
2140
|
+
symbol: u,
|
|
2141
|
+
mask: l,
|
|
2142
|
+
maskId: c,
|
|
2143
2143
|
extra: h
|
|
2144
2144
|
} = n;
|
|
2145
2145
|
return new Promise((y, w) => {
|
|
2146
|
-
Promise.all([xt(r, i),
|
|
2146
|
+
Promise.all([xt(r, i), l.iconName ? xt(l.iconName, l.prefix) : Promise.resolve({
|
|
2147
2147
|
found: !1,
|
|
2148
2148
|
width: 512,
|
|
2149
2149
|
height: 512,
|
|
@@ -2158,8 +2158,8 @@ var lo = {
|
|
|
2158
2158
|
prefix: i,
|
|
2159
2159
|
iconName: r,
|
|
2160
2160
|
transform: s,
|
|
2161
|
-
symbol:
|
|
2162
|
-
maskId:
|
|
2161
|
+
symbol: u,
|
|
2162
|
+
maskId: c,
|
|
2163
2163
|
title: a,
|
|
2164
2164
|
titleId: o,
|
|
2165
2165
|
extra: h,
|
|
@@ -2177,13 +2177,13 @@ var lo = {
|
|
|
2177
2177
|
} = t;
|
|
2178
2178
|
const s = ze(i);
|
|
2179
2179
|
s.length > 0 && (r.style = s);
|
|
2180
|
-
let
|
|
2181
|
-
return Rt(o) && (
|
|
2180
|
+
let u;
|
|
2181
|
+
return Rt(o) && (u = ie("generateAbstractTransformGrouping", {
|
|
2182
2182
|
main: a,
|
|
2183
2183
|
transform: o,
|
|
2184
2184
|
containerWidth: a.width,
|
|
2185
2185
|
iconWidth: a.width
|
|
2186
|
-
})), n.push(
|
|
2186
|
+
})), n.push(u || a.icon), {
|
|
2187
2187
|
children: n,
|
|
2188
2188
|
attributes: r
|
|
2189
2189
|
};
|
|
@@ -2269,7 +2269,7 @@ var lo = {
|
|
|
2269
2269
|
params: t
|
|
2270
2270
|
}), en({
|
|
2271
2271
|
content: e,
|
|
2272
|
-
transform:
|
|
2272
|
+
transform: f(f({}, J), n),
|
|
2273
2273
|
title: r,
|
|
2274
2274
|
extra: {
|
|
2275
2275
|
attributes: o,
|
|
@@ -2289,8 +2289,8 @@ var lo = {
|
|
|
2289
2289
|
} = n;
|
|
2290
2290
|
let i = null, s = null;
|
|
2291
2291
|
if ($n) {
|
|
2292
|
-
const
|
|
2293
|
-
i =
|
|
2292
|
+
const u = parseInt(getComputedStyle(t).fontSize, 10), l = t.getBoundingClientRect();
|
|
2293
|
+
i = l.width / u, s = l.height / u;
|
|
2294
2294
|
}
|
|
2295
2295
|
return v.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t, en({
|
|
2296
2296
|
content: t.innerHTML,
|
|
@@ -2304,7 +2304,7 @@ var lo = {
|
|
|
2304
2304
|
};
|
|
2305
2305
|
}
|
|
2306
2306
|
};
|
|
2307
|
-
const mo = new RegExp('"', "ug"), ln = [1105920, 1112319], cn =
|
|
2307
|
+
const mo = new RegExp('"', "ug"), ln = [1105920, 1112319], cn = f(f(f(f({}, {
|
|
2308
2308
|
FontAwesome: {
|
|
2309
2309
|
normal: "fas",
|
|
2310
2310
|
400: "fas"
|
|
@@ -2329,16 +2329,16 @@ function fn(e, t) {
|
|
|
2329
2329
|
return new Promise((r, a) => {
|
|
2330
2330
|
if (e.getAttribute(n) !== null)
|
|
2331
2331
|
return r();
|
|
2332
|
-
const i = he(e.children).filter((y) => y.getAttribute(ut) === t)[0], s = ae.getComputedStyle(e, t),
|
|
2333
|
-
if (i && !
|
|
2332
|
+
const i = he(e.children).filter((y) => y.getAttribute(ut) === t)[0], s = ae.getComputedStyle(e, t), u = s.getPropertyValue("font-family"), l = u.match(aa), c = s.getPropertyValue("font-weight"), h = s.getPropertyValue("content");
|
|
2333
|
+
if (i && !l)
|
|
2334
2334
|
return e.removeChild(i), r();
|
|
2335
|
-
if (
|
|
2335
|
+
if (l && h !== "none" && h !== "") {
|
|
2336
2336
|
const y = s.getPropertyValue("content");
|
|
2337
|
-
let w = go(
|
|
2337
|
+
let w = go(u, c);
|
|
2338
2338
|
const {
|
|
2339
2339
|
value: L,
|
|
2340
2340
|
isSecondary: b
|
|
2341
|
-
} = ho(y), E =
|
|
2341
|
+
} = ho(y), E = l[0].startsWith("FontAwesome");
|
|
2342
2342
|
let O = Ft(w, L), D = O;
|
|
2343
2343
|
if (E) {
|
|
2344
2344
|
const k = Pa(L);
|
|
@@ -2350,7 +2350,7 @@ function fn(e, t) {
|
|
|
2350
2350
|
extra: z
|
|
2351
2351
|
} = k;
|
|
2352
2352
|
z.attributes[ut] = t, xt(O, w).then((m) => {
|
|
2353
|
-
const q = Lt(
|
|
2353
|
+
const q = Lt(f(f({}, k), {}, {
|
|
2354
2354
|
icons: {
|
|
2355
2355
|
main: m,
|
|
2356
2356
|
mask: cr()
|
|
@@ -2503,25 +2503,25 @@ var wo = {
|
|
|
2503
2503
|
} = t;
|
|
2504
2504
|
const i = {
|
|
2505
2505
|
transform: "translate(".concat(a / 2, " 256)")
|
|
2506
|
-
}, s = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "),
|
|
2507
|
-
transform: "".concat(s, " ").concat(
|
|
2506
|
+
}, s = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), u = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"), c = {
|
|
2507
|
+
transform: "".concat(s, " ").concat(u, " ").concat(l)
|
|
2508
2508
|
}, h = {
|
|
2509
2509
|
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2510
2510
|
}, y = {
|
|
2511
2511
|
outer: i,
|
|
2512
|
-
inner:
|
|
2512
|
+
inner: c,
|
|
2513
2513
|
path: h
|
|
2514
2514
|
};
|
|
2515
2515
|
return {
|
|
2516
2516
|
tag: "g",
|
|
2517
|
-
attributes:
|
|
2517
|
+
attributes: f({}, y.outer),
|
|
2518
2518
|
children: [{
|
|
2519
2519
|
tag: "g",
|
|
2520
|
-
attributes:
|
|
2520
|
+
attributes: f({}, y.inner),
|
|
2521
2521
|
children: [{
|
|
2522
2522
|
tag: n.icon.tag,
|
|
2523
2523
|
children: n.icon.children,
|
|
2524
|
-
attributes:
|
|
2524
|
+
attributes: f(f({}, n.icon.attributes), y.path)
|
|
2525
2525
|
}]
|
|
2526
2526
|
}]
|
|
2527
2527
|
};
|
|
@@ -2561,36 +2561,36 @@ var Eo = {
|
|
|
2561
2561
|
transform: s
|
|
2562
2562
|
} = t;
|
|
2563
2563
|
const {
|
|
2564
|
-
width:
|
|
2565
|
-
icon:
|
|
2564
|
+
width: u,
|
|
2565
|
+
icon: l
|
|
2566
2566
|
} = a, {
|
|
2567
|
-
width:
|
|
2567
|
+
width: c,
|
|
2568
2568
|
icon: h
|
|
2569
2569
|
} = o, y = pa({
|
|
2570
2570
|
transform: s,
|
|
2571
|
-
containerWidth:
|
|
2572
|
-
iconWidth:
|
|
2571
|
+
containerWidth: c,
|
|
2572
|
+
iconWidth: u
|
|
2573
2573
|
}), w = {
|
|
2574
2574
|
tag: "rect",
|
|
2575
|
-
attributes:
|
|
2575
|
+
attributes: f(f({}, Ze), {}, {
|
|
2576
2576
|
fill: "white"
|
|
2577
2577
|
})
|
|
2578
|
-
}, L =
|
|
2579
|
-
children:
|
|
2578
|
+
}, L = l.children ? {
|
|
2579
|
+
children: l.children.map(pn)
|
|
2580
2580
|
} : {}, b = {
|
|
2581
2581
|
tag: "g",
|
|
2582
|
-
attributes:
|
|
2583
|
-
children: [pn(
|
|
2584
|
-
tag:
|
|
2585
|
-
attributes:
|
|
2582
|
+
attributes: f({}, y.inner),
|
|
2583
|
+
children: [pn(f({
|
|
2584
|
+
tag: l.tag,
|
|
2585
|
+
attributes: f(f({}, l.attributes), y.path)
|
|
2586
2586
|
}, L))]
|
|
2587
2587
|
}, E = {
|
|
2588
2588
|
tag: "g",
|
|
2589
|
-
attributes:
|
|
2589
|
+
attributes: f({}, y.outer),
|
|
2590
2590
|
children: [b]
|
|
2591
2591
|
}, O = "mask-".concat(i || we()), D = "clip-".concat(i || we()), k = {
|
|
2592
2592
|
tag: "mask",
|
|
2593
|
-
attributes:
|
|
2593
|
+
attributes: f(f({}, Ze), {}, {
|
|
2594
2594
|
id: O,
|
|
2595
2595
|
maskUnits: "userSpaceOnUse",
|
|
2596
2596
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -2608,7 +2608,7 @@ var Eo = {
|
|
|
2608
2608
|
};
|
|
2609
2609
|
return n.push(z, {
|
|
2610
2610
|
tag: "rect",
|
|
2611
|
-
attributes:
|
|
2611
|
+
attributes: f({
|
|
2612
2612
|
fill: "currentColor",
|
|
2613
2613
|
"clip-path": "url(#".concat(D, ")"),
|
|
2614
2614
|
mask: "url(#".concat(O, ")")
|
|
@@ -2632,15 +2632,15 @@ var Eo = {
|
|
|
2632
2632
|
};
|
|
2633
2633
|
n.push({
|
|
2634
2634
|
tag: "path",
|
|
2635
|
-
attributes:
|
|
2635
|
+
attributes: f(f({}, r), {}, {
|
|
2636
2636
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
2637
2637
|
})
|
|
2638
2638
|
});
|
|
2639
|
-
const o =
|
|
2639
|
+
const o = f(f({}, a), {}, {
|
|
2640
2640
|
attributeName: "opacity"
|
|
2641
2641
|
}), i = {
|
|
2642
2642
|
tag: "circle",
|
|
2643
|
-
attributes:
|
|
2643
|
+
attributes: f(f({}, r), {}, {
|
|
2644
2644
|
cx: "256",
|
|
2645
2645
|
cy: "364",
|
|
2646
2646
|
r: "28"
|
|
@@ -2649,36 +2649,36 @@ var Eo = {
|
|
|
2649
2649
|
};
|
|
2650
2650
|
return t || i.children.push({
|
|
2651
2651
|
tag: "animate",
|
|
2652
|
-
attributes:
|
|
2652
|
+
attributes: f(f({}, a), {}, {
|
|
2653
2653
|
attributeName: "r",
|
|
2654
2654
|
values: "28;14;28;28;14;28;"
|
|
2655
2655
|
})
|
|
2656
2656
|
}, {
|
|
2657
2657
|
tag: "animate",
|
|
2658
|
-
attributes:
|
|
2658
|
+
attributes: f(f({}, o), {}, {
|
|
2659
2659
|
values: "1;0;1;1;0;1;"
|
|
2660
2660
|
})
|
|
2661
2661
|
}), n.push(i), n.push({
|
|
2662
2662
|
tag: "path",
|
|
2663
|
-
attributes:
|
|
2663
|
+
attributes: f(f({}, r), {}, {
|
|
2664
2664
|
opacity: "1",
|
|
2665
2665
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
2666
2666
|
}),
|
|
2667
2667
|
children: t ? [] : [{
|
|
2668
2668
|
tag: "animate",
|
|
2669
|
-
attributes:
|
|
2669
|
+
attributes: f(f({}, o), {}, {
|
|
2670
2670
|
values: "1;0;0;0;0;1;"
|
|
2671
2671
|
})
|
|
2672
2672
|
}]
|
|
2673
2673
|
}), t || n.push({
|
|
2674
2674
|
tag: "path",
|
|
2675
|
-
attributes:
|
|
2675
|
+
attributes: f(f({}, r), {}, {
|
|
2676
2676
|
opacity: "0",
|
|
2677
2677
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
2678
2678
|
}),
|
|
2679
2679
|
children: [{
|
|
2680
2680
|
tag: "animate",
|
|
2681
|
-
attributes:
|
|
2681
|
+
attributes: f(f({}, o), {}, {
|
|
2682
2682
|
values: "0;0;1;1;0;0;"
|
|
2683
2683
|
})
|
|
2684
2684
|
}]
|
|
@@ -2723,15 +2723,15 @@ var hn;
|
|
|
2723
2723
|
function Co() {
|
|
2724
2724
|
if (hn) return M;
|
|
2725
2725
|
hn = 1;
|
|
2726
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = 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, s = e ? Symbol.for("react.context") : 60110,
|
|
2726
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = 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, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
2727
2727
|
function k(m) {
|
|
2728
2728
|
if (typeof m == "object" && m !== null) {
|
|
2729
2729
|
var q = m.$$typeof;
|
|
2730
2730
|
switch (q) {
|
|
2731
2731
|
case t:
|
|
2732
2732
|
switch (m = m.type, m) {
|
|
2733
|
+
case u:
|
|
2733
2734
|
case l:
|
|
2734
|
-
case c:
|
|
2735
2735
|
case r:
|
|
2736
2736
|
case o:
|
|
2737
2737
|
case a:
|
|
@@ -2740,7 +2740,7 @@ function Co() {
|
|
|
2740
2740
|
default:
|
|
2741
2741
|
switch (m = m && m.$$typeof, m) {
|
|
2742
2742
|
case s:
|
|
2743
|
-
case
|
|
2743
|
+
case c:
|
|
2744
2744
|
case L:
|
|
2745
2745
|
case w:
|
|
2746
2746
|
case i:
|
|
@@ -2755,10 +2755,10 @@ function Co() {
|
|
|
2755
2755
|
}
|
|
2756
2756
|
}
|
|
2757
2757
|
function z(m) {
|
|
2758
|
-
return k(m) ===
|
|
2758
|
+
return k(m) === l;
|
|
2759
2759
|
}
|
|
2760
|
-
return M.AsyncMode =
|
|
2761
|
-
return z(m) || k(m) ===
|
|
2760
|
+
return M.AsyncMode = u, M.ConcurrentMode = l, M.ContextConsumer = s, M.ContextProvider = i, M.Element = t, M.ForwardRef = c, M.Fragment = r, M.Lazy = L, M.Memo = w, M.Portal = n, M.Profiler = o, M.StrictMode = a, M.Suspense = h, M.isAsyncMode = function(m) {
|
|
2761
|
+
return z(m) || k(m) === u;
|
|
2762
2762
|
}, M.isConcurrentMode = z, M.isContextConsumer = function(m) {
|
|
2763
2763
|
return k(m) === s;
|
|
2764
2764
|
}, M.isContextProvider = function(m) {
|
|
@@ -2766,7 +2766,7 @@ function Co() {
|
|
|
2766
2766
|
}, M.isElement = function(m) {
|
|
2767
2767
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
2768
2768
|
}, M.isForwardRef = function(m) {
|
|
2769
|
-
return k(m) ===
|
|
2769
|
+
return k(m) === c;
|
|
2770
2770
|
}, M.isFragment = function(m) {
|
|
2771
2771
|
return k(m) === r;
|
|
2772
2772
|
}, M.isLazy = function(m) {
|
|
@@ -2782,17 +2782,17 @@ function Co() {
|
|
|
2782
2782
|
}, M.isSuspense = function(m) {
|
|
2783
2783
|
return k(m) === h;
|
|
2784
2784
|
}, M.isValidElementType = function(m) {
|
|
2785
|
-
return typeof m == "string" || typeof m == "function" || m === r || m ===
|
|
2785
|
+
return typeof m == "string" || typeof m == "function" || m === r || m === l || m === o || m === a || m === h || m === y || typeof m == "object" && m !== null && (m.$$typeof === L || m.$$typeof === w || m.$$typeof === i || m.$$typeof === s || m.$$typeof === c || m.$$typeof === E || m.$$typeof === O || m.$$typeof === D || m.$$typeof === b);
|
|
2786
2786
|
}, M.typeOf = k, M;
|
|
2787
2787
|
}
|
|
2788
2788
|
var F = {};
|
|
2789
2789
|
var gn;
|
|
2790
2790
|
function _o() {
|
|
2791
2791
|
return gn || (gn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
2792
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = 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, s = e ? Symbol.for("react.context") : 60110,
|
|
2792
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = 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, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
2793
2793
|
function k(p) {
|
|
2794
2794
|
return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2795
|
-
p === r || p ===
|
|
2795
|
+
p === r || p === l || p === o || p === a || p === h || p === y || typeof p == "object" && p !== null && (p.$$typeof === L || p.$$typeof === w || p.$$typeof === i || p.$$typeof === s || p.$$typeof === c || p.$$typeof === E || p.$$typeof === O || p.$$typeof === D || p.$$typeof === b);
|
|
2796
2796
|
}
|
|
2797
2797
|
function z(p) {
|
|
2798
2798
|
if (typeof p == "object" && p !== null) {
|
|
@@ -2801,8 +2801,8 @@ function _o() {
|
|
|
2801
2801
|
case t:
|
|
2802
2802
|
var Te = p.type;
|
|
2803
2803
|
switch (Te) {
|
|
2804
|
+
case u:
|
|
2804
2805
|
case l:
|
|
2805
|
-
case c:
|
|
2806
2806
|
case r:
|
|
2807
2807
|
case o:
|
|
2808
2808
|
case a:
|
|
@@ -2812,7 +2812,7 @@ function _o() {
|
|
|
2812
2812
|
var $t = Te && Te.$$typeof;
|
|
2813
2813
|
switch ($t) {
|
|
2814
2814
|
case s:
|
|
2815
|
-
case
|
|
2815
|
+
case c:
|
|
2816
2816
|
case L:
|
|
2817
2817
|
case w:
|
|
2818
2818
|
case i:
|
|
@@ -2826,12 +2826,12 @@ function _o() {
|
|
|
2826
2826
|
}
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
|
-
var m =
|
|
2829
|
+
var m = u, q = l, H = s, V = i, Ue = t, qe = c, Oe = r, Be = L, He = w, ue = n, Ve = o, G = a, se = h, Pe = !1;
|
|
2830
2830
|
function Ge(p) {
|
|
2831
|
-
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), d(p) || z(p) ===
|
|
2831
|
+
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), d(p) || z(p) === u;
|
|
2832
2832
|
}
|
|
2833
2833
|
function d(p) {
|
|
2834
|
-
return z(p) ===
|
|
2834
|
+
return z(p) === l;
|
|
2835
2835
|
}
|
|
2836
2836
|
function g(p) {
|
|
2837
2837
|
return z(p) === s;
|
|
@@ -2843,7 +2843,7 @@ function _o() {
|
|
|
2843
2843
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
2844
2844
|
}
|
|
2845
2845
|
function x(p) {
|
|
2846
|
-
return z(p) ===
|
|
2846
|
+
return z(p) === c;
|
|
2847
2847
|
}
|
|
2848
2848
|
function I(p) {
|
|
2849
2849
|
return z(p) === r;
|
|
@@ -2892,31 +2892,31 @@ function Io() {
|
|
|
2892
2892
|
return !1;
|
|
2893
2893
|
for (var i = {}, s = 0; s < 10; s++)
|
|
2894
2894
|
i["_" + String.fromCharCode(s)] = s;
|
|
2895
|
-
var
|
|
2896
|
-
return i[
|
|
2895
|
+
var u = Object.getOwnPropertyNames(i).map(function(c) {
|
|
2896
|
+
return i[c];
|
|
2897
2897
|
});
|
|
2898
|
-
if (
|
|
2898
|
+
if (u.join("") !== "0123456789")
|
|
2899
2899
|
return !1;
|
|
2900
|
-
var
|
|
2901
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
2902
|
-
c
|
|
2903
|
-
}), Object.keys(Object.assign({},
|
|
2900
|
+
var l = {};
|
|
2901
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(c) {
|
|
2902
|
+
l[c] = c;
|
|
2903
|
+
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
2904
2904
|
} catch {
|
|
2905
2905
|
return !1;
|
|
2906
2906
|
}
|
|
2907
2907
|
}
|
|
2908
2908
|
return et = a() ? Object.assign : function(o, i) {
|
|
2909
|
-
for (var s,
|
|
2910
|
-
s = Object(arguments[
|
|
2909
|
+
for (var s, u = r(o), l, c = 1; c < arguments.length; c++) {
|
|
2910
|
+
s = Object(arguments[c]);
|
|
2911
2911
|
for (var h in s)
|
|
2912
|
-
t.call(s, h) && (
|
|
2912
|
+
t.call(s, h) && (u[h] = s[h]);
|
|
2913
2913
|
if (e) {
|
|
2914
|
-
|
|
2915
|
-
for (var y = 0; y <
|
|
2916
|
-
n.call(s,
|
|
2914
|
+
l = e(s);
|
|
2915
|
+
for (var y = 0; y < l.length; y++)
|
|
2916
|
+
n.call(s, l[y]) && (u[l[y]] = s[l[y]]);
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
|
-
return
|
|
2919
|
+
return u;
|
|
2920
2920
|
}, et;
|
|
2921
2921
|
}
|
|
2922
2922
|
var tt, bn;
|
|
@@ -2947,27 +2947,27 @@ function No() {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
};
|
|
2949
2949
|
}
|
|
2950
|
-
function a(o, i, s,
|
|
2950
|
+
function a(o, i, s, u, l) {
|
|
2951
2951
|
if (process.env.NODE_ENV !== "production") {
|
|
2952
|
-
for (var
|
|
2953
|
-
if (r(o,
|
|
2952
|
+
for (var c in o)
|
|
2953
|
+
if (r(o, c)) {
|
|
2954
2954
|
var h;
|
|
2955
2955
|
try {
|
|
2956
|
-
if (typeof o[
|
|
2956
|
+
if (typeof o[c] != "function") {
|
|
2957
2957
|
var y = Error(
|
|
2958
|
-
(
|
|
2958
|
+
(u || "React class") + ": " + s + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2959
2959
|
);
|
|
2960
2960
|
throw y.name = "Invariant Violation", y;
|
|
2961
2961
|
}
|
|
2962
|
-
h = o[
|
|
2962
|
+
h = o[c](i, c, u, s, null, t);
|
|
2963
2963
|
} catch (L) {
|
|
2964
2964
|
h = L;
|
|
2965
2965
|
}
|
|
2966
2966
|
if (h && !(h instanceof Error) && e(
|
|
2967
|
-
(
|
|
2967
|
+
(u || "React class") + ": type specification of " + s + " `" + c + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2968
2968
|
), h instanceof Error && !(h.message in n)) {
|
|
2969
2969
|
n[h.message] = !0;
|
|
2970
|
-
var w =
|
|
2970
|
+
var w = l ? l() : "";
|
|
2971
2971
|
e(
|
|
2972
2972
|
"Failed " + s + " type: " + h.message + (w ?? "")
|
|
2973
2973
|
);
|
|
@@ -2986,20 +2986,20 @@ function Ro() {
|
|
|
2986
2986
|
var e = gr(), t = Io(), n = /* @__PURE__ */ zt(), r = /* @__PURE__ */ yr(), a = /* @__PURE__ */ No(), o = function() {
|
|
2987
2987
|
};
|
|
2988
2988
|
process.env.NODE_ENV !== "production" && (o = function(s) {
|
|
2989
|
-
var
|
|
2990
|
-
typeof console < "u" && console.error(
|
|
2989
|
+
var u = "Warning: " + s;
|
|
2990
|
+
typeof console < "u" && console.error(u);
|
|
2991
2991
|
try {
|
|
2992
|
-
throw new Error(
|
|
2992
|
+
throw new Error(u);
|
|
2993
2993
|
} catch {
|
|
2994
2994
|
}
|
|
2995
2995
|
});
|
|
2996
2996
|
function i() {
|
|
2997
2997
|
return null;
|
|
2998
2998
|
}
|
|
2999
|
-
return at = function(s,
|
|
3000
|
-
var
|
|
2999
|
+
return at = function(s, u) {
|
|
3000
|
+
var l = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
|
|
3001
3001
|
function h(d) {
|
|
3002
|
-
var g = d && (
|
|
3002
|
+
var g = d && (l && d[l] || d[c]);
|
|
3003
3003
|
if (typeof g == "function")
|
|
3004
3004
|
return g;
|
|
3005
3005
|
}
|
|
@@ -3036,7 +3036,7 @@ function Ro() {
|
|
|
3036
3036
|
var g = {}, C = 0;
|
|
3037
3037
|
function P(I, S, T, N, j, R, W) {
|
|
3038
3038
|
if (N = N || y, R = R || T, W !== n) {
|
|
3039
|
-
if (
|
|
3039
|
+
if (u) {
|
|
3040
3040
|
var p = new Error(
|
|
3041
3041
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
3042
3042
|
);
|
|
@@ -3310,7 +3310,7 @@ function Mo() {
|
|
|
3310
3310
|
function n() {
|
|
3311
3311
|
}
|
|
3312
3312
|
return n.resetWarningCache = t, ot = function() {
|
|
3313
|
-
function r(i, s, l, c,
|
|
3313
|
+
function r(i, s, u, l, c, h) {
|
|
3314
3314
|
if (h !== e) {
|
|
3315
3315
|
var y = new Error(
|
|
3316
3316
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -3385,16 +3385,16 @@ function zo(e) {
|
|
|
3385
3385
|
function $o(e, t) {
|
|
3386
3386
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3387
3387
|
if (n != null) {
|
|
3388
|
-
var r, a, o, i, s = [],
|
|
3388
|
+
var r, a, o, i, s = [], u = !0, l = !1;
|
|
3389
3389
|
try {
|
|
3390
|
-
if (o = (n = n.call(e)).next, t !== 0) for (; !(
|
|
3391
|
-
} catch (
|
|
3392
|
-
|
|
3390
|
+
if (o = (n = n.call(e)).next, t !== 0) for (; !(u = (r = o.call(n)).done) && (s.push(r.value), s.length !== t); u = !0) ;
|
|
3391
|
+
} catch (c) {
|
|
3392
|
+
l = !0, a = c;
|
|
3393
3393
|
} finally {
|
|
3394
3394
|
try {
|
|
3395
|
-
if (!
|
|
3395
|
+
if (!u && n.return != null && (i = n.return(), Object(i) !== i)) return;
|
|
3396
3396
|
} finally {
|
|
3397
|
-
if (
|
|
3397
|
+
if (l) throw a;
|
|
3398
3398
|
}
|
|
3399
3399
|
}
|
|
3400
3400
|
return s;
|
|
@@ -3490,7 +3490,7 @@ try {
|
|
|
3490
3490
|
Tt = typeof process < "u" && process.env.FA_VERSION || "7.0.0";
|
|
3491
3491
|
}
|
|
3492
3492
|
function Xo(e) {
|
|
3493
|
-
var t = e.beat, n = e.fade, r = e.beatFade, a = e.bounce, o = e.shake, i = e.flash, s = e.spin,
|
|
3493
|
+
var t = e.beat, n = e.fade, r = e.beatFade, a = e.bounce, o = e.shake, i = e.flash, s = e.spin, u = e.spinPulse, l = e.spinReverse, c = e.pulse, h = e.fixedWidth, y = e.inverse, w = e.border, L = e.listItem, b = e.flip, E = e.size, O = e.rotation, D = e.pull, k = e.swapOpacity, z = e.rotateBy, m = e.widthAuto, q = Ko(Tt, Vo), H = re(re(re(re(re(re({
|
|
3494
3494
|
"fa-beat": t,
|
|
3495
3495
|
"fa-fade": n,
|
|
3496
3496
|
"fa-beat-fade": r,
|
|
@@ -3498,9 +3498,9 @@ function Xo(e) {
|
|
|
3498
3498
|
"fa-shake": o,
|
|
3499
3499
|
"fa-flash": i,
|
|
3500
3500
|
"fa-spin": s,
|
|
3501
|
-
"fa-spin-reverse":
|
|
3502
|
-
"fa-spin-pulse":
|
|
3503
|
-
"fa-pulse":
|
|
3501
|
+
"fa-spin-reverse": l,
|
|
3502
|
+
"fa-spin-pulse": u,
|
|
3503
|
+
"fa-pulse": c,
|
|
3504
3504
|
"fa-fw": h,
|
|
3505
3505
|
"fa-inverse": y,
|
|
3506
3506
|
"fa-border": w,
|
|
@@ -3516,17 +3516,17 @@ function Xo(e) {
|
|
|
3516
3516
|
});
|
|
3517
3517
|
}
|
|
3518
3518
|
function Ko(e, t) {
|
|
3519
|
-
for (var n = e.split("-"), r = Pn(n, 2), a = r[0], o = r[1], i = t.split("-"), s = Pn(i, 2),
|
|
3520
|
-
var w =
|
|
3519
|
+
for (var n = e.split("-"), r = Pn(n, 2), a = r[0], o = r[1], i = t.split("-"), s = Pn(i, 2), u = s[0], l = s[1], c = a.split("."), h = u.split("."), y = 0; y < Math.max(c.length, h.length); y++) {
|
|
3520
|
+
var w = c[y] || "0", L = h[y] || "0", b = parseInt(w, 10), E = parseInt(L, 10);
|
|
3521
3521
|
if (b !== E)
|
|
3522
3522
|
return b > E;
|
|
3523
3523
|
}
|
|
3524
|
-
for (var O = 0; O < Math.max(
|
|
3525
|
-
var D =
|
|
3524
|
+
for (var O = 0; O < Math.max(c.length, h.length); O++) {
|
|
3525
|
+
var D = c[O] || "0", k = h[O] || "0";
|
|
3526
3526
|
if (D !== k && D.length !== k.length)
|
|
3527
3527
|
return D.length < k.length;
|
|
3528
3528
|
}
|
|
3529
|
-
return !(o && !
|
|
3529
|
+
return !(o && !l);
|
|
3530
3530
|
}
|
|
3531
3531
|
function Jo(e) {
|
|
3532
3532
|
return e = e - 0, e === e;
|
|
@@ -3554,21 +3554,21 @@ function xr(e, t) {
|
|
|
3554
3554
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3555
3555
|
if (typeof t == "string")
|
|
3556
3556
|
return t;
|
|
3557
|
-
var r = (t.children || []).map(function(
|
|
3558
|
-
return xr(e,
|
|
3559
|
-
}), a = Object.keys(t.attributes || {}).reduce(function(
|
|
3560
|
-
var
|
|
3561
|
-
switch (
|
|
3557
|
+
var r = (t.children || []).map(function(u) {
|
|
3558
|
+
return xr(e, u);
|
|
3559
|
+
}), a = Object.keys(t.attributes || {}).reduce(function(u, l) {
|
|
3560
|
+
var c = t.attributes[l];
|
|
3561
|
+
switch (l) {
|
|
3562
3562
|
case "class":
|
|
3563
|
-
|
|
3563
|
+
u.attrs.className = c, delete t.attributes.class;
|
|
3564
3564
|
break;
|
|
3565
3565
|
case "style":
|
|
3566
|
-
|
|
3566
|
+
u.attrs.style = ei(c);
|
|
3567
3567
|
break;
|
|
3568
3568
|
default:
|
|
3569
|
-
|
|
3569
|
+
l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? u.attrs[l.toLowerCase()] = c : u.attrs[br(l)] = c;
|
|
3570
3570
|
}
|
|
3571
|
-
return
|
|
3571
|
+
return u;
|
|
3572
3572
|
}, {
|
|
3573
3573
|
attrs: {}
|
|
3574
3574
|
}), o = n.style, i = o === void 0 ? {} : o, s = Uo(n, Qo);
|
|
@@ -3639,14 +3639,14 @@ var kn = {
|
|
|
3639
3639
|
swapOpacity: !1,
|
|
3640
3640
|
widthAuto: !1
|
|
3641
3641
|
}, ge = /* @__PURE__ */ _n.forwardRef(function(e, t) {
|
|
3642
|
-
var n = K(K({}, kn), e), r = n.icon, a = n.mask, o = n.symbol, i = n.className, s = n.title,
|
|
3642
|
+
var n = K(K({}, kn), e), r = n.icon, a = n.mask, o = n.symbol, i = n.className, s = n.title, u = n.titleId, l = n.maskId, c = Tn(r), h = it("classes", [].concat(Pt(Xo(n)), Pt((i || "").split(" ")))), y = it("transform", typeof n.transform == "string" ? St.transform(n.transform) : n.transform), w = it("mask", Tn(a)), L = To(c, K(K(K(K({}, h), y), w), {}, {
|
|
3643
3643
|
symbol: o,
|
|
3644
3644
|
title: s,
|
|
3645
|
-
titleId:
|
|
3646
|
-
maskId:
|
|
3645
|
+
titleId: u,
|
|
3646
|
+
maskId: l
|
|
3647
3647
|
}));
|
|
3648
3648
|
if (!L)
|
|
3649
|
-
return ti("Could not find icon",
|
|
3649
|
+
return ti("Could not find icon", c), null;
|
|
3650
3650
|
var b = L.abstract, E = {
|
|
3651
3651
|
ref: t
|
|
3652
3652
|
};
|