@riovir/wc-fontawesome
Version:
Web components for Font Awesome
1,796 lines (1,738 loc) • 112 kB
JavaScript
/*!
* Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2025 Fonticons, Inc.
*/
function _e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
return n;
}
function nn(e) {
if (Array.isArray(e)) return e;
}
function rn(e) {
if (Array.isArray(e)) return _e(e);
}
function on(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function sn(e, t) {
for (var a = 0; a < t.length; a++) {
var n = t[a];
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ht(n.key), n);
}
}
function ln(e, t, a) {
return t && sn(e.prototype, t), Object.defineProperty(e, "prototype", {
writable: !1
}), e;
}
function oe(e, t) {
var a = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!a) {
if (Array.isArray(e) || (a = Ke(e)) || t) {
a && (e = a);
var n = 0, r = function() {
};
return {
s: r,
n: function() {
return n >= e.length ? {
done: !0
} : {
done: !1,
value: e[n++]
};
},
e: function(l) {
throw l;
},
f: r
};
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var i, o = !0, s = !1;
return {
s: function() {
a = a.call(e);
},
n: function() {
var l = a.next();
return o = l.done, l;
},
e: function(l) {
s = !0, i = l;
},
f: function() {
try {
o || a.return == null || a.return();
} finally {
if (s) throw i;
}
}
};
}
function g(e, t, a) {
return (t = Ht(t)) in e ? Object.defineProperty(e, t, {
value: a,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = a, e;
}
function fn(e) {
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
}
function un(e, t) {
var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (a != null) {
var n, r, i, o, s = [], l = !0, u = !1;
try {
if (i = (a = a.call(e)).next, t === 0) {
if (Object(a) !== a) return;
l = !1;
} else for (; !(l = (n = i.call(a)).done) && (s.push(n.value), s.length !== t); l = !0) ;
} catch (d) {
u = !0, r = d;
} finally {
try {
if (!l && a.return != null && (o = a.return(), Object(o) !== o)) return;
} finally {
if (u) throw r;
}
}
return s;
}
}
function cn() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function dn() {
throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function dt(e, t) {
var a = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(e);
t && (n = n.filter(function(r) {
return Object.getOwnPropertyDescriptor(e, r).enumerable;
})), a.push.apply(a, n);
}
return a;
}
function f(e) {
for (var t = 1; t < arguments.length; t++) {
var a = arguments[t] != null ? arguments[t] : {};
t % 2 ? dt(Object(a), !0).forEach(function(n) {
g(e, n, a[n]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : dt(Object(a)).forEach(function(n) {
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
});
}
return e;
}
function ve(e, t) {
return nn(e) || un(e, t) || Ke(e, t) || cn();
}
function N(e) {
return rn(e) || fn(e) || Ke(e) || dn();
}
function mn(e, t) {
if (typeof e != "object" || !e) return e;
var a = e[Symbol.toPrimitive];
if (a !== void 0) {
var n = a.call(e, t);
if (typeof n != "object") return n;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
function Ht(e) {
var t = mn(e, "string");
return typeof t == "symbol" ? t : t + "";
}
function ce(e) {
"@babel/helpers - typeof";
return ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, ce(e);
}
function Ke(e, t) {
if (e) {
if (typeof e == "string") return _e(e, t);
var a = {}.toString.call(e).slice(8, -1);
return a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set" ? Array.from(e) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? _e(e, t) : void 0;
}
}
var mt = function() {
}, Qe = {}, Ut = {}, Gt = null, Bt = {
mark: mt,
measure: mt
};
try {
typeof window < "u" && (Qe = window), typeof document < "u" && (Ut = document), typeof MutationObserver < "u" && (Gt = MutationObserver), typeof performance < "u" && (Bt = performance);
} catch {
}
var vn = Qe.navigator || {}, vt = vn.userAgent, ht = vt === void 0 ? "" : vt, M = Qe, b = Ut, gt = Gt, re = Bt;
M.document;
var R = !!b.documentElement && !!b.head && typeof b.addEventListener == "function" && typeof b.createElement == "function", Vt = ~ht.indexOf("MSIE") || ~ht.indexOf("Trident/"), Ae, hn = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, gn = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i, Xt = {
classic: {
fa: "solid",
fas: "solid",
"fa-solid": "solid",
far: "regular",
"fa-regular": "regular",
fal: "light",
"fa-light": "light",
fat: "thin",
"fa-thin": "thin",
fab: "brands",
"fa-brands": "brands"
},
duotone: {
fa: "solid",
fad: "solid",
"fa-solid": "solid",
"fa-duotone": "solid",
fadr: "regular",
"fa-regular": "regular",
fadl: "light",
"fa-light": "light",
fadt: "thin",
"fa-thin": "thin"
},
sharp: {
fa: "solid",
fass: "solid",
"fa-solid": "solid",
fasr: "regular",
"fa-regular": "regular",
fasl: "light",
"fa-light": "light",
fast: "thin",
"fa-thin": "thin"
},
"sharp-duotone": {
fa: "solid",
fasds: "solid",
"fa-solid": "solid",
fasdr: "regular",
"fa-regular": "regular",
fasdl: "light",
"fa-light": "light",
fasdt: "thin",
"fa-thin": "thin"
},
slab: {
"fa-regular": "regular",
faslr: "regular"
},
"slab-press": {
"fa-regular": "regular",
faslpr: "regular"
},
thumbprint: {
"fa-light": "light",
fatl: "light"
},
whiteboard: {
"fa-semibold": "semibold",
fawsb: "semibold"
},
notdog: {
"fa-solid": "solid",
fans: "solid"
},
"notdog-duo": {
"fa-solid": "solid",
fands: "solid"
},
etch: {
"fa-solid": "solid",
faes: "solid"
},
jelly: {
"fa-regular": "regular",
fajr: "regular"
},
"jelly-fill": {
"fa-regular": "regular",
fajfr: "regular"
},
"jelly-duo": {
"fa-regular": "regular",
fajdr: "regular"
},
chisel: {
"fa-regular": "regular",
facr: "regular"
}
}, pn = {
GROUP: "duotone-group",
PRIMARY: "primary",
SECONDARY: "secondary"
}, Jt = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"], A = "classic", te = "duotone", qt = "sharp", Kt = "sharp-duotone", Qt = "chisel", Zt = "etch", ea = "jelly", ta = "jelly-duo", aa = "jelly-fill", na = "notdog", ra = "notdog-duo", ia = "slab", oa = "slab-press", sa = "thumbprint", la = "whiteboard", bn = "Classic", yn = "Duotone", xn = "Sharp", wn = "Sharp Duotone", An = "Chisel", Sn = "Etch", kn = "Jelly", En = "Jelly Duo", Pn = "Jelly Fill", In = "Notdog", Fn = "Notdog Duo", Cn = "Slab", Nn = "Slab Press", Tn = "Thumbprint", On = "Whiteboard", fa = [A, te, qt, Kt, Qt, Zt, ea, ta, aa, na, ra, ia, oa, sa, la];
Ae = {}, g(g(g(g(g(g(g(g(g(g(Ae, A, bn), te, yn), qt, xn), Kt, wn), Qt, An), Zt, Sn), ea, kn), ta, En), aa, Pn), na, In), g(g(g(g(g(Ae, ra, Fn), ia, Cn), oa, Nn), sa, Tn), la, On);
var _n = {
classic: {
900: "fas",
400: "far",
normal: "far",
300: "fal",
100: "fat"
},
duotone: {
900: "fad",
400: "fadr",
300: "fadl",
100: "fadt"
},
sharp: {
900: "fass",
400: "fasr",
300: "fasl",
100: "fast"
},
"sharp-duotone": {
900: "fasds",
400: "fasdr",
300: "fasdl",
100: "fasdt"
},
slab: {
400: "faslr"
},
"slab-press": {
400: "faslpr"
},
whiteboard: {
600: "fawsb"
},
thumbprint: {
300: "fatl"
},
notdog: {
900: "fans"
},
"notdog-duo": {
900: "fands"
},
etch: {
900: "faes"
},
chisel: {
400: "facr"
},
jelly: {
400: "fajr"
},
"jelly-fill": {
400: "fajfr"
},
"jelly-duo": {
400: "fajdr"
}
}, jn = {
"Font Awesome 7 Free": {
900: "fas",
400: "far"
},
"Font Awesome 7 Pro": {
900: "fas",
400: "far",
normal: "far",
300: "fal",
100: "fat"
},
"Font Awesome 7 Brands": {
400: "fab",
normal: "fab"
},
"Font Awesome 7 Duotone": {
900: "fad",
400: "fadr",
normal: "fadr",
300: "fadl",
100: "fadt"
},
"Font Awesome 7 Sharp": {
900: "fass",
400: "fasr",
normal: "fasr",
300: "fasl",
100: "fast"
},
"Font Awesome 7 Sharp Duotone": {
900: "fasds",
400: "fasdr",
normal: "fasdr",
300: "fasdl",
100: "fasdt"
},
"Font Awesome 7 Jelly": {
400: "fajr",
normal: "fajr"
},
"Font Awesome 7 Jelly Fill": {
400: "fajfr",
normal: "fajfr"
},
"Font Awesome 7 Jelly Duo": {
400: "fajdr",
normal: "fajdr"
},
"Font Awesome 7 Slab": {
400: "faslr",
normal: "faslr"
},
"Font Awesome 7 Slab Press": {
400: "faslpr",
normal: "faslpr"
},
"Font Awesome 7 Thumbprint": {
300: "fatl",
normal: "fatl"
},
"Font Awesome 7 Notdog": {
900: "fans",
normal: "fans"
},
"Font Awesome 7 Notdog Duo": {
900: "fands",
normal: "fands"
},
"Font Awesome 7 Etch": {
900: "faes",
normal: "faes"
},
"Font Awesome 7 Chisel": {
400: "facr",
normal: "facr"
},
"Font Awesome 7 Whiteboard": {
600: "fawsb",
normal: "fawsb"
}
}, Rn = /* @__PURE__ */ new Map([["classic", {
defaultShortPrefixId: "fas",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin", "brands"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["duotone", {
defaultShortPrefixId: "fad",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["sharp", {
defaultShortPrefixId: "fass",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["sharp-duotone", {
defaultShortPrefixId: "fasds",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["chisel", {
defaultShortPrefixId: "facr",
defaultStyleId: "regular",
styleIds: ["regular"],
futureStyleIds: [],
defaultFontWeight: 400
}], ["etch", {
defaultShortPrefixId: "faes",
defaultStyleId: "solid",
styleIds: ["solid"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["jelly", {
defaultShortPrefixId: "fajr",
defaultStyleId: "regular",
styleIds: ["regular"],
futureStyleIds: [],
defaultFontWeight: 400
}], ["jelly-duo", {
defaultShortPrefixId: "fajdr",
defaultStyleId: "regular",
styleIds: ["regular"],
futureStyleIds: [],
defaultFontWeight: 400
}], ["jelly-fill", {
defaultShortPrefixId: "fajfr",
defaultStyleId: "regular",
styleIds: ["regular"],
futureStyleIds: [],
defaultFontWeight: 400
}], ["notdog", {
defaultShortPrefixId: "fans",
defaultStyleId: "solid",
styleIds: ["solid"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["notdog-duo", {
defaultShortPrefixId: "fands",
defaultStyleId: "solid",
styleIds: ["solid"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["slab", {
defaultShortPrefixId: "faslr",
defaultStyleId: "regular",
styleIds: ["regular"],
futureStyleIds: [],
defaultFontWeight: 400
}], ["slab-press", {
defaultShortPrefixId: "faslpr",
defaultStyleId: "regular",
styleIds: ["regular"],
futureStyleIds: [],
defaultFontWeight: 400
}], ["thumbprint", {
defaultShortPrefixId: "fatl",
defaultStyleId: "light",
styleIds: ["light"],
futureStyleIds: [],
defaultFontWeight: 300
}], ["whiteboard", {
defaultShortPrefixId: "fawsb",
defaultStyleId: "semibold",
styleIds: ["semibold"],
futureStyleIds: [],
defaultFontWeight: 600
}]]), Dn = {
chisel: {
regular: "facr"
},
classic: {
brands: "fab",
light: "fal",
regular: "far",
solid: "fas",
thin: "fat"
},
duotone: {
light: "fadl",
regular: "fadr",
solid: "fad",
thin: "fadt"
},
etch: {
solid: "faes"
},
jelly: {
regular: "fajr"
},
"jelly-duo": {
regular: "fajdr"
},
"jelly-fill": {
regular: "fajfr"
},
notdog: {
solid: "fans"
},
"notdog-duo": {
solid: "fands"
},
sharp: {
light: "fasl",
regular: "fasr",
solid: "fass",
thin: "fast"
},
"sharp-duotone": {
light: "fasdl",
regular: "fasdr",
solid: "fasds",
thin: "fasdt"
},
slab: {
regular: "faslr"
},
"slab-press": {
regular: "faslpr"
},
thumbprint: {
light: "fatl"
},
whiteboard: {
semibold: "fawsb"
}
}, ua = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], pt = {
kit: {
fak: "kit",
"fa-kit": "kit"
},
"kit-duotone": {
fakd: "kit-duotone",
"fa-kit-duotone": "kit-duotone"
}
}, Mn = ["kit"], Ln = "kit", $n = "kit-duotone", zn = "Kit", Wn = "Kit Duotone";
g(g({}, Ln, zn), $n, Wn);
var Yn = {
kit: {
"fa-kit": "fak"
}
}, Hn = {
"Font Awesome Kit": {
400: "fak",
normal: "fak"
},
"Font Awesome Kit Duotone": {
400: "fakd",
normal: "fakd"
}
}, Un = {
kit: {
fak: "fa-kit"
}
}, bt = {
kit: {
kit: "fak"
},
"kit-duotone": {
"kit-duotone": "fakd"
}
}, Se, ie = {
GROUP: "duotone-group",
SWAP_OPACITY: "swap-opacity",
PRIMARY: "primary",
SECONDARY: "secondary"
}, Gn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"], Bn = "classic", Vn = "duotone", Xn = "sharp", Jn = "sharp-duotone", qn = "chisel", Kn = "etch", Qn = "jelly", Zn = "jelly-duo", er = "jelly-fill", tr = "notdog", ar = "notdog-duo", nr = "slab", rr = "slab-press", ir = "thumbprint", or = "whiteboard", sr = "Classic", lr = "Duotone", fr = "Sharp", ur = "Sharp Duotone", cr = "Chisel", dr = "Etch", mr = "Jelly", vr = "Jelly Duo", hr = "Jelly Fill", gr = "Notdog", pr = "Notdog Duo", br = "Slab", yr = "Slab Press", xr = "Thumbprint", wr = "Whiteboard";
Se = {}, g(g(g(g(g(g(g(g(g(g(Se, Bn, sr), Vn, lr), Xn, fr), Jn, ur), qn, cr), Kn, dr), Qn, mr), Zn, vr), er, hr), tr, gr), g(g(g(g(g(Se, ar, pr), nr, br), rr, yr), ir, xr), or, wr);
var Ar = "kit", Sr = "kit-duotone", kr = "Kit", Er = "Kit Duotone";
g(g({}, Ar, kr), Sr, Er);
var Pr = {
classic: {
"fa-brands": "fab",
"fa-duotone": "fad",
"fa-light": "fal",
"fa-regular": "far",
"fa-solid": "fas",
"fa-thin": "fat"
},
duotone: {
"fa-regular": "fadr",
"fa-light": "fadl",
"fa-thin": "fadt"
},
sharp: {
"fa-solid": "fass",
"fa-regular": "fasr",
"fa-light": "fasl",
"fa-thin": "fast"
},
"sharp-duotone": {
"fa-solid": "fasds",
"fa-regular": "fasdr",
"fa-light": "fasdl",
"fa-thin": "fasdt"
},
slab: {
"fa-regular": "faslr"
},
"slab-press": {
"fa-regular": "faslpr"
},
whiteboard: {
"fa-semibold": "fawsb"
},
thumbprint: {
"fa-light": "fatl"
},
notdog: {
"fa-solid": "fans"
},
"notdog-duo": {
"fa-solid": "fands"
},
etch: {
"fa-solid": "faes"
},
jelly: {
"fa-regular": "fajr"
},
"jelly-fill": {
"fa-regular": "fajfr"
},
"jelly-duo": {
"fa-regular": "fajdr"
},
chisel: {
"fa-regular": "facr"
}
}, Ir = {
classic: ["fas", "far", "fal", "fat", "fad"],
duotone: ["fadr", "fadl", "fadt"],
sharp: ["fass", "fasr", "fasl", "fast"],
"sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"],
slab: ["faslr"],
"slab-press": ["faslpr"],
whiteboard: ["fawsb"],
thumbprint: ["fatl"],
notdog: ["fans"],
"notdog-duo": ["fands"],
etch: ["faes"],
jelly: ["fajr"],
"jelly-fill": ["fajfr"],
"jelly-duo": ["fajdr"],
chisel: ["facr"]
}, je = {
classic: {
fab: "fa-brands",
fad: "fa-duotone",
fal: "fa-light",
far: "fa-regular",
fas: "fa-solid",
fat: "fa-thin"
},
duotone: {
fadr: "fa-regular",
fadl: "fa-light",
fadt: "fa-thin"
},
sharp: {
fass: "fa-solid",
fasr: "fa-regular",
fasl: "fa-light",
fast: "fa-thin"
},
"sharp-duotone": {
fasds: "fa-solid",
fasdr: "fa-regular",
fasdl: "fa-light",
fasdt: "fa-thin"
},
slab: {
faslr: "fa-regular"
},
"slab-press": {
faslpr: "fa-regular"
},
whiteboard: {
fawsb: "fa-semibold"
},
thumbprint: {
fatl: "fa-light"
},
notdog: {
fans: "fa-solid"
},
"notdog-duo": {
fands: "fa-solid"
},
etch: {
faes: "fa-solid"
},
jelly: {
fajr: "fa-regular"
},
"jelly-fill": {
fajfr: "fa-regular"
},
"jelly-duo": {
fajdr: "fa-regular"
},
chisel: {
facr: "fa-regular"
}
}, Fr = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], ca = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fajr", "fajfr", "fajdr", "facr"].concat(Gn, Fr), Cr = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], da = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Nr = da.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Tr = ["aw", "fw", "pull-left", "pull-right"], Or = [].concat(N(Object.keys(Ir)), Cr, Tr, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", ie.GROUP, ie.SWAP_OPACITY, ie.PRIMARY, ie.SECONDARY]).concat(da.map(function(e) {
return "".concat(e, "x");
})).concat(Nr.map(function(e) {
return "w-".concat(e);
})), _r = {
"Font Awesome 5 Free": {
900: "fas",
400: "far"
},
"Font Awesome 5 Pro": {
900: "fas",
400: "far",
normal: "far",
300: "fal"
},
"Font Awesome 5 Brands": {
400: "fab",
normal: "fab"
},
"Font Awesome 5 Duotone": {
900: "fad"
}
}, _ = "___FONT_AWESOME___", Re = 16, ma = "fa", va = "svg-inline--fa", H = "data-fa-i2svg", De = "data-fa-pseudo-element", jr = "data-fa-pseudo-element-pending", Ze = "data-prefix", et = "data-icon", yt = "fontawesome-i2svg", Rr = "async", Dr = ["HTML", "HEAD", "STYLE", "SCRIPT"], ha = ["::before", "::after", ":before", ":after"], ga = (function() {
try {
return process.env.NODE_ENV === "production";
} catch {
return !1;
}
})();
function ae(e) {
return new Proxy(e, {
get: function(a, n) {
return n in a ? a[n] : a[A];
}
});
}
var pa = f({}, Xt);
pa[A] = f(f(f(f({}, {
"fa-duotone": "duotone"
}), Xt[A]), pt.kit), pt["kit-duotone"]);
var Mr = ae(pa), Me = f({}, Dn);
Me[A] = f(f(f(f({}, {
duotone: "fad"
}), Me[A]), bt.kit), bt["kit-duotone"]);
var xt = ae(Me), Le = f({}, je);
Le[A] = f(f({}, Le[A]), Un.kit);
var ba = ae(Le), $e = f({}, Pr);
$e[A] = f(f({}, $e[A]), Yn.kit);
ae($e);
var Lr = hn, ya = "fa-layers-text", $r = gn, zr = f({}, _n);
ae(zr);
var Wr = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ke = pn, Yr = [].concat(N(Mn), N(Or)), Q = M.FontAwesomeConfig || {};
function Hr(e) {
var t = b.querySelector("script[" + e + "]");
if (t)
return t.getAttribute(e);
}
function Ur(e) {
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
}
if (b && typeof b.querySelector == "function") {
var Gr = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
Gr.forEach(function(e) {
var t = ve(e, 2), a = t[0], n = t[1], r = Ur(Hr(a));
r != null && (Q[n] = r);
});
}
var xa = {
styleDefault: "solid",
familyDefault: A,
cssPrefix: ma,
replacementClass: va,
autoReplaceSvg: !0,
autoAddCss: !0,
searchPseudoElements: !1,
searchPseudoElementsWarnings: !0,
searchPseudoElementsFullScan: !1,
observeMutations: !0,
mutateApproach: "async",
keepOriginalSource: !0,
measurePerformance: !1,
showMissingIcons: !0
};
Q.familyPrefix && (Q.cssPrefix = Q.familyPrefix);
var J = f(f({}, xa), Q);
J.autoReplaceSvg || (J.observeMutations = !1);
var m = {};
Object.keys(xa).forEach(function(e) {
Object.defineProperty(m, e, {
enumerable: !0,
set: function(a) {
J[e] = a, Z.forEach(function(n) {
return n(m);
});
},
get: function() {
return J[e];
}
});
});
Object.defineProperty(m, "familyPrefix", {
enumerable: !0,
set: function(t) {
J.cssPrefix = t, Z.forEach(function(a) {
return a(m);
});
},
get: function() {
return J.cssPrefix;
}
});
M.FontAwesomeConfig = m;
var Z = [];
function Br(e) {
return Z.push(e), function() {
Z.splice(Z.indexOf(e), 1);
};
}
var B = Re, T = {
size: 16,
x: 0,
y: 0,
rotate: 0,
flipX: !1,
flipY: !1
};
function Vr(e) {
if (!(!e || !R)) {
var t = b.createElement("style");
t.setAttribute("type", "text/css"), t.innerHTML = e;
for (var a = b.head.childNodes, n = null, r = a.length - 1; r > -1; r--) {
var i = a[r], o = (i.tagName || "").toUpperCase();
["STYLE", "LINK"].indexOf(o) > -1 && (n = i);
}
return b.head.insertBefore(t, n), e;
}
}
var Xr = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
function wt() {
for (var e = 12, t = ""; e-- > 0; )
t += Xr[Math.random() * 62 | 0];
return t;
}
function q(e) {
for (var t = [], a = (e || []).length >>> 0; a--; )
t[a] = e[a];
return t;
}
function tt(e) {
return e.classList ? q(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
return t;
});
}
function wa(e) {
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
}
function Jr(e) {
return Object.keys(e || {}).reduce(function(t, a) {
return t + "".concat(a, '="').concat(wa(e[a]), '" ');
}, "").trim();
}
function he(e) {
return Object.keys(e || {}).reduce(function(t, a) {
return t + "".concat(a, ": ").concat(e[a].trim(), ";");
}, "");
}
function at(e) {
return e.size !== T.size || e.x !== T.x || e.y !== T.y || e.rotate !== T.rotate || e.flipX || e.flipY;
}
function qr(e) {
var t = e.transform, a = e.containerWidth, n = e.iconWidth, r = {
transform: "translate(".concat(a / 2, " 256)")
}, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), l = {
transform: "".concat(i, " ").concat(o, " ").concat(s)
}, u = {
transform: "translate(".concat(n / 2 * -1, " -256)")
};
return {
outer: r,
inner: l,
path: u
};
}
function Kr(e) {
var t = e.transform, a = e.width, n = a === void 0 ? Re : a, r = e.height, i = r === void 0 ? Re : r, o = "";
return Vt ? o += "translate(".concat(t.x / B - n / 2, "em, ").concat(t.y / B - i / 2, "em) ") : o += "translate(calc(-50% + ".concat(t.x / B, "em), calc(-50% + ").concat(t.y / B, "em)) "), o += "scale(".concat(t.size / B * (t.flipX ? -1 : 1), ", ").concat(t.size / B * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
}
var Qr = `:root, :host {
--fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
--fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
--fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
--fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";
--fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";
--fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";
--fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";
--fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";
--fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";
--fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";
--fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";
--fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";
--fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";
--fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";
--fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";
--fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";
--fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";
}
.svg-inline--fa {
box-sizing: content-box;
display: var(--fa-display, inline-block);
height: 1em;
overflow: visible;
vertical-align: -0.125em;
width: var(--fa-width, 1.25em);
}
.svg-inline--fa.fa-2xs {
vertical-align: 0.1em;
}
.svg-inline--fa.fa-xs {
vertical-align: 0em;
}
.svg-inline--fa.fa-sm {
vertical-align: -0.0714285714em;
}
.svg-inline--fa.fa-lg {
vertical-align: -0.2em;
}
.svg-inline--fa.fa-xl {
vertical-align: -0.25em;
}
.svg-inline--fa.fa-2xl {
vertical-align: -0.3125em;
}
.svg-inline--fa.fa-pull-left,
.svg-inline--fa .fa-pull-start {
float: inline-start;
margin-inline-end: var(--fa-pull-margin, 0.3em);
}
.svg-inline--fa.fa-pull-right,
.svg-inline--fa .fa-pull-end {
float: inline-end;
margin-inline-start: var(--fa-pull-margin, 0.3em);
}
.svg-inline--fa.fa-li {
width: var(--fa-li-width, 2em);
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
}
.fa-layers-counter, .fa-layers-text {
display: inline-block;
position: absolute;
text-align: center;
}
.fa-layers {
display: inline-block;
height: 1em;
position: relative;
text-align: center;
vertical-align: -0.125em;
width: var(--fa-width, 1.25em);
}
.fa-layers .svg-inline--fa {
inset: 0;
margin: auto;
position: absolute;
transform-origin: center center;
}
.fa-layers-text {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transform-origin: center center;
}
.fa-layers-counter {
background-color: var(--fa-counter-background-color, #ff253a);
border-radius: var(--fa-counter-border-radius, 1em);
box-sizing: border-box;
color: var(--fa-inverse, #fff);
line-height: var(--fa-counter-line-height, 1);
max-width: var(--fa-counter-max-width, 5em);
min-width: var(--fa-counter-min-width, 1.5em);
overflow: hidden;
padding: var(--fa-counter-padding, 0.25em 0.5em);
right: var(--fa-right, 0);
text-overflow: ellipsis;
top: var(--fa-top, 0);
transform: scale(var(--fa-counter-scale, 0.25));
transform-origin: top right;
}
.fa-layers-bottom-right {
bottom: var(--fa-bottom, 0);
right: var(--fa-right, 0);
top: auto;
transform: scale(var(--fa-layers-scale, 0.25));
transform-origin: bottom right;
}
.fa-layers-bottom-left {
bottom: var(--fa-bottom, 0);
left: var(--fa-left, 0);
right: auto;
top: auto;
transform: scale(var(--fa-layers-scale, 0.25));
transform-origin: bottom left;
}
.fa-layers-top-right {
top: var(--fa-top, 0);
right: var(--fa-right, 0);
transform: scale(var(--fa-layers-scale, 0.25));
transform-origin: top right;
}
.fa-layers-top-left {
left: var(--fa-left, 0);
right: auto;
top: var(--fa-top, 0);
transform: scale(var(--fa-layers-scale, 0.25));
transform-origin: top left;
}
.fa-1x {
font-size: 1em;
}
.fa-2x {
font-size: 2em;
}
.fa-3x {
font-size: 3em;
}
.fa-4x {
font-size: 4em;
}
.fa-5x {
font-size: 5em;
}
.fa-6x {
font-size: 6em;
}
.fa-7x {
font-size: 7em;
}
.fa-8x {
font-size: 8em;
}
.fa-9x {
font-size: 9em;
}
.fa-10x {
font-size: 10em;
}
.fa-2xs {
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
}
.fa-xs {
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
}
.fa-sm {
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
}
.fa-lg {
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
}
.fa-xl {
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
}
.fa-2xl {
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
}
.fa-width-auto {
--fa-width: auto;
}
.fa-fw,
.fa-width-fixed {
--fa-width: 1.25em;
}
.fa-ul {
list-style-type: none;
margin-inline-start: var(--fa-li-margin, 2.5em);
padding-inline-start: 0;
}
.fa-ul > li {
position: relative;
}
.fa-li {
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
position: absolute;
text-align: center;
width: var(--fa-li-width, 2em);
line-height: inherit;
}
/* Heads Up: Bordered Icons will not be supported in the future!
- This feature will be deprecated in the next major release of Font Awesome (v8)!
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
*/
/* Notes:
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
* --@{v.$css-prefix}-border-padding =
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
*/
.fa-border {
border-color: var(--fa-border-color, #eee);
border-radius: var(--fa-border-radius, 0.1em);
border-style: var(--fa-border-style, solid);
border-width: var(--fa-border-width, 0.0625em);
box-sizing: var(--fa-border-box-sizing, content-box);
padding: var(--fa-border-padding, 0.1875em 0.25em);
}
.fa-pull-left,
.fa-pull-start {
float: inline-start;
margin-inline-end: var(--fa-pull-margin, 0.3em);
}
.fa-pull-right,
.fa-pull-end {
float: inline-end;
margin-inline-start: var(--fa-pull-margin, 0.3em);
}
.fa-beat {
animation-name: fa-beat;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, ease-in-out);
}
.fa-bounce {
animation-name: fa-bounce;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
}
.fa-fade {
animation-name: fa-fade;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}
.fa-beat-fade {
animation-name: fa-beat-fade;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}
.fa-flip {
animation-name: fa-flip;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, ease-in-out);
}
.fa-shake {
animation-name: fa-shake;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, linear);
}
.fa-spin {
animation-name: fa-spin;
animation-delay: var(--fa-animation-delay, 0s);
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 2s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, linear);
}
.fa-spin-reverse {
--fa-animation-direction: reverse;
}
.fa-pulse,
.fa-spin-pulse {
animation-name: fa-spin;
animation-direction: var(--fa-animation-direction, normal);
animation-duration: var(--fa-animation-duration, 1s);
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
animation-timing-function: var(--fa-animation-timing, steps(8));
}
@media (prefers-reduced-motion: reduce) {
.fa-beat,
.fa-bounce,
.fa-fade,
.fa-beat-fade,
.fa-flip,
.fa-pulse,
.fa-shake,
.fa-spin,
.fa-spin-pulse {
animation: none !important;
transition: none !important;
}
}
@keyframes fa-beat {
0%, 90% {
transform: scale(1);
}
45% {
transform: scale(var(--fa-beat-scale, 1.25));
}
}
@keyframes fa-bounce {
0% {
transform: scale(1, 1) translateY(0);
}
10% {
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
}
30% {
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
}
50% {
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
}
57% {
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
}
64% {
transform: scale(1, 1) translateY(0);
}
100% {
transform: scale(1, 1) translateY(0);
}
}
@keyframes fa-fade {
50% {
opacity: var(--fa-fade-opacity, 0.4);
}
}
@keyframes fa-beat-fade {
0%, 100% {
opacity: var(--fa-beat-fade-opacity, 0.4);
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(var(--fa-beat-fade-scale, 1.125));
}
}
@keyframes fa-flip {
50% {
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
}
}
@keyframes fa-shake {
0% {
transform: rotate(-15deg);
}
4% {
transform: rotate(15deg);
}
8%, 24% {
transform: rotate(-18deg);
}
12%, 28% {
transform: rotate(18deg);
}
16% {
transform: rotate(-22deg);
}
20% {
transform: rotate(22deg);
}
32% {
transform: rotate(-12deg);
}
36% {
transform: rotate(12deg);
}
40%, 100% {
transform: rotate(0deg);
}
}
@keyframes fa-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.fa-rotate-90 {
transform: rotate(90deg);
}
.fa-rotate-180 {
transform: rotate(180deg);
}
.fa-rotate-270 {
transform: rotate(270deg);
}
.fa-flip-horizontal {
transform: scale(-1, 1);
}
.fa-flip-vertical {
transform: scale(1, -1);
}
.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical {
transform: scale(-1, -1);
}
.fa-rotate-by {
transform: rotate(var(--fa-rotate-angle, 0));
}
.svg-inline--fa .fa-primary {
fill: var(--fa-primary-color, currentColor);
opacity: var(--fa-primary-opacity, 1);
}
.svg-inline--fa .fa-secondary {
fill: var(--fa-secondary-color, currentColor);
opacity: var(--fa-secondary-opacity, 0.4);
}
.svg-inline--fa.fa-swap-opacity .fa-primary {
opacity: var(--fa-secondary-opacity, 0.4);
}
.svg-inline--fa.fa-swap-opacity .fa-secondary {
opacity: var(--fa-primary-opacity, 1);
}
.svg-inline--fa mask .fa-primary,
.svg-inline--fa mask .fa-secondary {
fill: black;
}
.svg-inline--fa.fa-inverse {
fill: var(--fa-inverse, #fff);
}
.fa-stack {
display: inline-block;
height: 2em;
line-height: 2em;
position: relative;
vertical-align: middle;
width: 2.5em;
}
.fa-inverse {
color: var(--fa-inverse, #fff);
}
.svg-inline--fa.fa-stack-1x {
height: 1em;
width: 1.25em;
}
.svg-inline--fa.fa-stack-2x {
height: 2em;
width: 2.5em;
}
.fa-stack-1x,
.fa-stack-2x {
bottom: 0;
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 0;
z-index: var(--fa-stack-z-index, auto);
}`;
function Aa() {
var e = ma, t = va, a = m.cssPrefix, n = m.replacementClass, r = Qr;
if (a !== e || n !== t) {
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
r = r.replace(i, ".".concat(a, "-")).replace(o, "--".concat(a, "-")).replace(s, ".".concat(n));
}
return r;
}
var At = !1;
function Ee() {
m.autoAddCss && !At && (Vr(Aa()), At = !0);
}
var Zr = {
mixout: function() {
return {
dom: {
css: Aa,
insertCss: Ee
}
};
},
hooks: function() {
return {
beforeDOMElementCreation: function() {
Ee();
},
beforeI2svg: function() {
Ee();
}
};
}
}, j = M || {};
j[_] || (j[_] = {});
j[_].styles || (j[_].styles = {});
j[_].hooks || (j[_].hooks = {});
j[_].shims || (j[_].shims = []);
var C = j[_], Sa = [], ka = function() {
b.removeEventListener("DOMContentLoaded", ka), de = 1, Sa.map(function(t) {
return t();
});
}, de = !1;
R && (de = (b.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(b.readyState), de || b.addEventListener("DOMContentLoaded", ka));
function ei(e) {
R && (de ? setTimeout(e, 0) : Sa.push(e));
}
function ne(e) {
var t = e.tag, a = e.attributes, n = a === void 0 ? {} : a, r = e.children, i = r === void 0 ? [] : r;
return typeof e == "string" ? wa(e) : "<".concat(t, " ").concat(Jr(n), ">").concat(i.map(ne).join(""), "</").concat(t, ">");
}
function St(e, t, a) {
if (e && e[t] && e[t][a])
return {
prefix: t,
iconName: a,
icon: e[t][a]
};
}
var Pe = function(t, a, n, r) {
var i = Object.keys(t), o = i.length, s = a, l, u, d;
for (n === void 0 ? (l = 1, d = t[i[0]]) : (l = 0, d = n); l < o; l++)
u = i[l], d = s(d, t[u], u, t);
return d;
};
function Ea(e) {
return N(e).length !== 1 ? null : e.codePointAt(0).toString(16);
}
function kt(e) {
return Object.keys(e).reduce(function(t, a) {
var n = e[a], r = !!n.icon;
return r ? t[n.iconName] = n.icon : t[a] = n, t;
}, {});
}
function Pa(e, t) {
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = a.skipHooks, r = n === void 0 ? !1 : n, i = kt(t);
typeof C.hooks.addPack == "function" && !r ? C.hooks.addPack(e, kt(t)) : C.styles[e] = f(f({}, C.styles[e] || {}), i), e === "fas" && Pa("fa", t);
}
var ee = C.styles, ti = C.shims, Ia = Object.keys(ba), ai = Ia.reduce(function(e, t) {
return e[t] = Object.keys(ba[t]), e;
}, {}), nt = null, Fa = {}, Ca = {}, Na = {}, Ta = {}, Oa = {};
function ni(e) {
return ~Yr.indexOf(e);
}
function ri(e, t) {
var a = t.split("-"), n = a[0], r = a.slice(1).join("-");
return n === e && r !== "" && !ni(r) ? r : null;
}
var _a = function() {
var t = function(i) {
return Pe(ee, function(o, s, l) {
return o[l] = Pe(s, i, {}), o;
}, {});
};
Fa = t(function(r, i, o) {
if (i[3] && (r[i[3]] = o), i[2]) {
var s = i[2].filter(function(l) {
return typeof l == "number";
});
s.forEach(function(l) {
r[l.toString(16)] = o;
});
}
return r;
}), Ca = t(function(r, i, o) {
if (r[o] = o, i[2]) {
var s = i[2].filter(function(l) {
return typeof l == "string";
});
s.forEach(function(l) {
r[l] = o;
});
}
return r;
}), Oa = t(function(r, i, o) {
var s = i[2];
return r[o] = o, s.forEach(function(l) {
r[l] = o;
}), r;
});
var a = "far" in ee || m.autoFetchSvg, n = Pe(ti, function(r, i) {
var o = i[0], s = i[1], l = i[2];
return s === "far" && !a && (s = "fas"), typeof o == "string" && (r.names[o] = {
prefix: s,
iconName: l
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
prefix: s,
iconName: l
}), r;
}, {
names: {},
unicodes: {}
});
Na = n.names, Ta = n.unicodes, nt = ge(m.styleDefault, {
family: m.familyDefault
});
};
Br(function(e) {
nt = ge(e.styleDefault, {
family: m.familyDefault
});
});
_a();
function rt(e, t) {
return (Fa[e] || {})[t];
}
function ii(e, t) {
return (Ca[e] || {})[t];
}
function z(e, t) {
return (Oa[e] || {})[t];
}
function ja(e) {
return Na[e] || {
prefix: null,
iconName: null
};
}
function oi(e) {
var t = Ta[e], a = rt("fas", e);
return t || (a ? {
prefix: "fas",
iconName: a
} : null) || {
prefix: null,
iconName: null
};
}
function L() {
return nt;
}
var Ra = function() {
return {
prefix: null,
iconName: null,
rest: []
};
};
function si(e) {
var t = A, a = Ia.reduce(function(n, r) {
return n[r] = "".concat(m.cssPrefix, "-").concat(r), n;
}, {});
return fa.forEach(function(n) {
(e.includes(a[n]) || e.some(function(r) {
return ai[n].includes(r);
})) && (t = n);
}), t;
}
function ge(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.family, n = a === void 0 ? A : a, r = Mr[n][e];
if (n === te && !e)
return "fad";
var i = xt[n][e] || xt[n][r], o = e in C.styles ? e : null, s = i || o || null;
return s;
}
function li(e) {
var t = [], a = null;
return e.forEach(function(n) {
var r = ri(m.cssPrefix, n);
r ? a = r : n && t.push(n);
}), {
iconName: a,
rest: t
};
}
function Et(e) {
return e.sort().filter(function(t, a, n) {
return n.indexOf(t) === a;
});
}
var Pt = ca.concat(ua);
function pe(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.skipLookups, n = a === void 0 ? !1 : a, r = null, i = Et(e.filter(function(v) {
return Pt.includes(v);
})), o = Et(e.filter(function(v) {
return !Pt.includes(v);
})), s = i.filter(function(v) {
return r = v, !Jt.includes(v);
}), l = ve(s, 1), u = l[0], d = u === void 0 ? null : u, c = si(i), h = f(f({}, li(o)), {}, {
prefix: ge(d, {
family: c
})
});
return f(f(f({}, h), di({
values: e,
family: c,
styles: ee,
config: m,
canonical: h,
givenPrefix: r
})), fi(n, r, h));
}
function fi(e, t, a) {
var n = a.prefix, r = a.iconName;
if (e || !n || !r)
return {
prefix: n,
iconName: r
};
var i = t === "fa" ? ja(r) : {}, o = z(n, r);
return r = i.iconName || o || r, n = i.prefix || n, n === "far" && !ee.far && ee.fas && !m.autoFetchSvg && (n = "fas"), {
prefix: n,
iconName: r
};
}
var ui = fa.filter(function(e) {
return e !== A || e !== te;
}), ci = Object.keys(je).filter(function(e) {
return e !== A;
}).map(function(e) {
return Object.keys(je[e]);
}).flat();
function di(e) {
var t = e.values, a = e.family, n = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, o = e.styles, s = o === void 0 ? {} : o, l = e.config, u = l === void 0 ? {} : l, d = a === te, c = t.includes("fa-duotone") || t.includes("fad"), h = u.familyDefault === "duotone", v = n.prefix === "fad" || n.prefix === "fa-duotone";
if (!d && (c || h || v) && (n.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (n.prefix = "fab"), !n.prefix && ui.includes(a)) {
var y = Object.keys(s).find(function(S) {
return ci.includes(S);
});
if (y || u.autoFetchSvg) {
var p = Rn.get(a).defaultShortPrefixId;
n.prefix = p, n.iconName = z(n.prefix, n.iconName) || n.iconName;
}
}
return (n.prefix === "fa" || i === "fa") && (n.prefix = L() || "fas"), n;
}
var mi = /* @__PURE__ */ (function() {
function e() {
on(this, e), this.definitions = {};
}
return ln(e, [{
key: "add",
value: function() {
for (var a = this, n = arguments.length, r = new Array(n), i = 0; i < n; i++)
r[i] = arguments[i];
var o = r.reduce(this._pullDefinitions, {});
Object.keys(o).forEach(function(s) {
a.definitions[s] = f(f({}, a.definitions[s] || {}), o[s]), Pa(s, o[s]), _a();
});
}
}, {
key: "reset",
value: function() {
this.definitions = {};
}
}, {
key: "_pullDefinitions",
value: function(a, n) {
var r = n.prefix && n.iconName && n.icon ? {
0: n
} : n;
return Object.keys(r).map(function(i) {
var o = r[i], s = o.prefix, l = o.iconName, u = o.icon, d = u[2];
a[s] || (a[s] = {}), d.length > 0 && d.forEach(function(c) {
typeof c == "string" && (a[s][c] = u);
}), a[s][l] = u;
}), a;
}
}]);
})(), It = [], V = {}, X = {}, vi = Object.keys(X);
function hi(e, t) {
var a = t.mixoutsTo;
return It = e, V = {}, Object.keys(X).forEach(function(n) {
vi.indexOf(n) === -1 && delete X[n];
}), It.forEach(function(n) {
var r = n.mixout ? n.mixout() : {};
if (Object.keys(r).forEach(function(o) {
typeof r[o] == "function" && (a[o] = r[o]), ce(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
a[o] || (a[o] = {}), a[o][s] = r[o][s];
});
}), n.hooks) {
var i = n.hooks();
Object.keys(i).forEach(function(o) {
V[o] || (V[o] = []), V[o].