Release 5.15.2 (#1539)

This commit is contained in:
Rob Madole
2021-01-13 14:19:18 -06:00
committed by GitHub
parent acf803d2b5
commit e7405daf90
15943 changed files with 23634 additions and 24020 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {
@@ -9599,7 +9599,7 @@
mark: noop$1,
measure: noop$1
};
var preamble = "FA \"5.15.1\"";
var preamble = "FA \"5.15.2\"";
var begin = function begin(name) {
p.mark("".concat(preamble, " ").concat(name, " begins"));
@@ -9676,35 +9676,6 @@
return result;
}
function codePointAt(string, index) {
/*! https://mths.be/codepointat v0.2.0 by @mathias */
var size = string.length;
var first = string.charCodeAt(index);
var second;
if (first >= 0xD800 && first <= 0xDBFF && size > index + 1) {
second = string.charCodeAt(index + 1);
if (second >= 0xDC00 && second <= 0xDFFF) {
return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
}
}
return first;
}
/**
* Used to check that the character is between the E000..F8FF private unicode
* range
*/
function isPrivateUnicode(iconName) {
if (iconName.length !== 1) {
return false;
} else {
var cp = codePointAt(iconName, 0);
return cp >= 57344 && cp <= 63743;
}
}
function defineIcons(prefix, icons) {
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -10283,27 +10254,6 @@
};
var styles$2 = namespace.styles;
function resolveCustomIconVersion() {
var kitConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var iconName = arguments.length > 1 ? arguments[1] : undefined;
if (iconName && isPrivateUnicode(iconName)) {
if (kitConfig && kitConfig.iconUploads) {
var iconUploads = kitConfig.iconUploads;
var descriptiveIconName = Object.keys(iconUploads).find(function (key) {
return iconUploads[key] && iconUploads[key].u && iconUploads[key].u === toHex(iconName);
});
if (descriptiveIconName) {
return iconUploads[descriptiveIconName].v;
}
}
} else {
if (kitConfig && kitConfig.iconUploads && kitConfig.iconUploads[iconName] && kitConfig.iconUploads[iconName].v) {
return kitConfig.iconUploads[iconName].v;
}
}
}
function asFoundIcon(icon) {
var width = icon[0];
var height = icon[1];
@@ -10366,12 +10316,6 @@
var icon = styles$2[prefix][iconName];
return resolve(asFoundIcon(icon));
}
var kitToken = null;
var iconVersion = resolveCustomIconVersion(WINDOW.FontAwesomeKitConfig, iconName);
if (WINDOW.FontAwesomeKitConfig && WINDOW.FontAwesomeKitConfig.token) {
kitToken = WINDOW.FontAwesomeKitConfig.token;
}
if (iconName && prefix && !config.showMissingIcons) {
reject(new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName)));

134
js/all.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {
@@ -8273,11 +8273,11 @@
R.autoReplaceSvg || (R.observeMutations = !1);
var ac = $({}, R);
r.FontAwesomeConfig = ac;
var F = r || {};
F[A] || (F[A] = {}), F[A].styles || (F[A].styles = {}), F[A].hooks || (F[A].hooks = {}),
F[A].shims || (F[A].shims = []);
var D = F[A], Q = [], Y = !1;
function U(c) {
var D = r || {};
D[A] || (D[A] = {}), D[A].styles || (D[A].styles = {}), D[A].hooks || (D[A].hooks = {}),
D[A].shims || (D[A].shims = []);
var F = D[A], Q = [], Y = !1;
function W(c) {
C && (Y ? setTimeout(c, 0) : Q.push(c));
}
C && ((Y = (o.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(o.readyState)) || o.addEventListener("DOMContentLoaded", function c() {
@@ -8285,25 +8285,25 @@
return c();
});
}));
var W, X = "pending", B = "settled", K = "fulfilled", G = "rejected", J = function() {}, lc = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, hc = "undefined" == typeof setImmediate ? setTimeout : setImmediate, zc = [];
var X, B = "pending", U = "settled", G = "fulfilled", K = "rejected", J = function() {}, lc = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, hc = "undefined" == typeof setImmediate ? setTimeout : setImmediate, zc = [];
function vc() {
for (var c = 0; c < zc.length; c++) zc[c][0](zc[c][1]);
W = !(zc = []);
X = !(zc = []);
}
function Mc(c, a) {
zc.push([ c, a ]), W || (W = !0, hc(vc, 0));
zc.push([ c, a ]), X || (X = !0, hc(vc, 0));
}
function mc(c) {
var a = c.owner, l = a._state, h = a._data, z = c[l], v = c.then;
if ("function" == typeof z) {
l = K;
l = G;
try {
h = z(h);
} catch (c) {
Lc(v, c);
}
}
Hc(v, h) || (l === K && Vc(v, h), l === G && Lc(v, h));
Hc(v, h) || (l === G && Vc(v, h), l === K && Lc(v, h));
}
function Hc(a, l) {
var h;
@@ -8326,19 +8326,19 @@
c !== a && Hc(c, a) || sc(c, a);
}
function sc(c, a) {
c._state === X && (c._state = B, c._data = a, Mc(Cc, c));
c._state === B && (c._state = U, c._data = a, Mc(Cc, c));
}
function Lc(c, a) {
c._state === X && (c._state = B, c._data = a, Mc(fc, c));
c._state === B && (c._state = U, c._data = a, Mc(fc, c));
}
function ec(c) {
c._then = c._then.forEach(mc);
}
function Cc(c) {
c._state = K, ec(c);
c._state = G, ec(c);
}
function fc(c) {
c._state = G, ec(c), !c._handled && lc && global.process.emit("unhandledRejection", c._data, c);
c._state = K, ec(c), !c._handled && lc && global.process.emit("unhandledRejection", c._data, c);
}
function Ac(c) {
global.process.emit("rejectionHandled", c);
@@ -8361,7 +8361,7 @@
}
tc.prototype = {
constructor: tc,
_state: X,
_state: B,
_then: null,
_data: void 0,
_handled: !1,
@@ -8372,8 +8372,8 @@
fulfilled: c,
rejected: a
};
return !a && !c || this._handled || (this._handled = !0, this._state === G && lc && Mc(Ac, this)),
this._state === K || this._state === G ? Mc(mc, l) : this._then.push(l), l.then;
return !a && !c || this._handled || (this._handled = !0, this._state === K && lc && Mc(Ac, this)),
this._state === G || this._state === K ? Mc(mc, l) : this._then.push(l), l.then;
},
catch: function(c) {
return this.then(null, c);
@@ -8502,7 +8502,7 @@
},
children: [ H ]
});
var Z, u, b, p, g, S, w, k, y, q, x, j, O, P, E, _, N, T, I, R, F, D, Q, Y, U, W, X, B = $({}, i, {
var Z, u, b, p, g, S, w, k, y, q, x, j, O, P, E, _, N, T, I, R, D, F, Q, Y, W, X, B, U = $({}, i, {
prefix: z,
iconName: v,
main: l,
@@ -8511,7 +8511,7 @@
transform: M,
symbol: m,
styles: $({}, d, L.styles)
}), K = h.found && l.found ? (b = (Z = B).children, p = Z.attributes, g = Z.main,
}), G = h.found && l.found ? (b = (Z = U).children, p = Z.attributes, g = Z.main,
S = Z.mask, w = Z.maskId, k = Z.transform, y = g.width, q = g.icon, x = S.width,
j = S.icon, O = kc({
transform: k,
@@ -8543,7 +8543,7 @@
maskContentUnits: "userSpaceOnUse"
}),
children: [ P, N ]
}, F = {
}, D = {
tag: "defs",
children: [ {
tag: "clipPath",
@@ -8552,7 +8552,7 @@
},
children: (u = j, "g" === u.tag ? u.children : [ u ])
}, R ]
}, b.push(F, {
}, b.push(D, {
tag: "rect",
attributes: $({
fill: "currentColor",
@@ -8588,19 +8588,19 @@
children: a,
attributes: l
};
}(B), G = K.children, J = K.attributes;
return B.children = G, B.attributes = J, m ? (Q = (D = B).prefix, Y = D.iconName,
U = D.children, W = D.attributes, X = D.symbol, [ {
}(U), K = G.children, J = G.attributes;
return U.children = K, U.attributes = J, m ? (Q = (F = U).prefix, Y = F.iconName,
W = F.children, X = F.attributes, B = F.symbol, [ {
tag: "svg",
attributes: {
style: "display: none;"
},
children: [ {
tag: "symbol",
attributes: $({}, W, {
id: !0 === X ? "".concat(Q, "-").concat(ac.familyPrefix, "-").concat(Y) : X
attributes: $({}, X, {
id: !0 === B ? "".concat(Q, "-").concat(ac.familyPrefix, "-").concat(Y) : B
}),
children: U
children: W
} ]
} ]) : function(c) {
var a = c.children, l = c.main, h = c.mask, z = c.attributes, v = c.styles, M = c.transform;
@@ -8615,7 +8615,7 @@
attributes: z,
children: a
} ];
}(B);
}(U);
}
function jc(c) {
var a = c.content, l = c.width, h = c.height, z = c.transform, v = c.title, M = c.extra, m = c.watchable, H = void 0 !== m && m, V = $({}, M.attributes, v ? {
@@ -8652,7 +8652,7 @@
var Oc = function() {}, Pc = ac.measurePerformance && s && s.mark && s.measure ? s : {
mark: Oc,
measure: Oc
}, Ec = 'FA "5.15.1"', _c = function(c) {
}, Ec = 'FA "5.15.2"', _c = function(c) {
Pc.mark("".concat(Ec, " ").concat(c, " ends")), Pc.measure("".concat(Ec, " ").concat(c), "".concat(Ec, " ").concat(c, " begins"), "".concat(Ec, " ").concat(c, " ends"));
}, Nc = {
begin: function(c) {
@@ -8675,13 +8675,13 @@
}
return a;
}
var Rc = D.styles, Fc = D.shims, Dc = {}, Qc = {}, Yc = {}, Uc = function() {
var Rc = F.styles, Dc = F.shims, Fc = {}, Qc = {}, Yc = {}, Wc = function() {
var c = function(h) {
return Tc(Rc, function(c, a, l) {
return c[l] = Tc(a, h, {}), c;
}, {});
};
Dc = c(function(c, a, l) {
Fc = c(function(c, a, l) {
return a[3] && (c[a[3]] = l), c;
}), Qc = c(function(a, c, l) {
var h = c[2];
@@ -8690,7 +8690,7 @@
}), a;
});
var v = "far" in Rc;
Yc = Tc(Fc, function(c, a) {
Yc = Tc(Dc, function(c, a) {
var l = a[0], h = a[1], z = a[2];
return "far" !== h || v || (h = "fas"), c[l] = {
prefix: h,
@@ -8698,21 +8698,21 @@
}, c;
}, {});
};
function Wc(c, a) {
return (Dc[c] || {})[a];
function Xc(c, a) {
return (Fc[c] || {})[a];
}
Uc();
var Xc = D.styles, Bc = function() {
Wc();
var Bc = F.styles, Uc = function() {
return {
prefix: null,
iconName: null,
rest: []
};
};
function Kc(c) {
function Gc(c) {
return c.reduce(function(c, a) {
var l = pc(ac.familyPrefix, a);
if (Xc[a]) c.prefix = a; else if (ac.autoFetchSvg && -1 < Object.keys(y).indexOf(a)) c.prefix = a; else if (l) {
if (Bc[a]) c.prefix = a; else if (ac.autoFetchSvg && -1 < Object.keys(y).indexOf(a)) c.prefix = a; else if (l) {
var h = "fa" === c.prefix ? Yc[l] || {
prefix: null,
iconName: null
@@ -8720,9 +8720,9 @@
c.iconName = h.iconName || l, c.prefix = h.prefix || c.prefix;
} else a !== ac.replacementClass && 0 !== a.indexOf("fa-w-") && c.rest.push(a);
return c;
}, Bc());
}, Uc());
}
function Gc(c, a, l) {
function Kc(c, a, l) {
if (c && c[a] && c[a][l]) return {
prefix: a,
iconName: l,
@@ -8794,7 +8794,7 @@
if ("childList" === c.type && 0 < c.addedNodes.length && !ca(c.addedNodes[0]) && (ac.searchPseudoElements && M(c.target),
z(c.target)), "attributes" === c.type && c.target.parentNode && ac.searchPseudoElements && M(c.target.parentNode),
"attributes" === c.type && ca(c.target) && ~_.indexOf(c.attributeName)) if ("class" === c.attributeName) {
var a = Kc(bc(c.target)), l = a.prefix, h = a.iconName;
var a = Gc(bc(c.target)), l = a.prefix, h = a.iconName;
l && c.target.setAttribute("data-prefix", l), h && c.target.setAttribute("data-icon", h);
} else v(c.target);
});
@@ -8807,9 +8807,9 @@
}
}
function Ha(c) {
var a, l, h = c.getAttribute("data-prefix"), z = c.getAttribute("data-icon"), v = void 0 !== c.innerText ? c.innerText.trim() : "", M = Kc(bc(c));
var a, l, h = c.getAttribute("data-prefix"), z = c.getAttribute("data-icon"), v = void 0 !== c.innerText ? c.innerText.trim() : "", M = Gc(bc(c));
return h && z && (M.prefix = h, M.iconName = z), M.prefix && 1 < v.length ? M.iconName = (a = M.prefix,
l = c.innerText, (Qc[a] || {})[l]) : M.prefix && 1 === v.length && (M.iconName = Wc(M.prefix, Ic(c.innerText))),
l = c.innerText, (Qc[a] || {})[l]) : M.prefix && 1 === v.length && (M.iconName = Xc(M.prefix, Ic(c.innerText))),
M;
}
var Va = function(c) {
@@ -8865,9 +8865,9 @@
}, {})), l), f = Va(c.getAttribute("data-fa-transform")), A = null !== (h = c.getAttribute("data-fa-symbol")) && ("" === h || h), t = (v = uc((z = c).attributes).reduce(function(c, a) {
return "class" !== c.name && "style" !== c.name && (c[a.name] = a.value), c;
}, {}), M = z.getAttribute("title"), m = z.getAttribute("data-fa-title-id"), ac.autoA11y && (M ? v["aria-labelledby"] = "".concat(ac.replacementClass, "-title-").concat(m || Zc()) : (v["aria-hidden"] = "true",
v.focusable = "false")), v), r = (H = c.getAttribute("data-fa-mask")) ? Kc(H.split(" ").map(function(c) {
v.focusable = "false")), v), r = (H = c.getAttribute("data-fa-mask")) ? Gc(H.split(" ").map(function(c) {
return c.trim();
})) : Bc();
})) : Uc();
return {
iconName: s,
title: c.getAttribute("title"),
@@ -8947,7 +8947,7 @@
})
} ]
} ]
}, ra = D.styles;
}, ra = F.styles;
function oa(c) {
var a = c[0], l = c[1], h = f(c.slice(4), 1)[0];
return {
@@ -8992,26 +8992,10 @@
icon: ta
};
if (h && z && ra[z] && ra[z][h]) return c(oa(ra[z][h]));
!function() {
var c = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, a = 1 < arguments.length ? arguments[1] : void 0;
if (a && function(c) {
if (1 !== c.length) return !1;
var a, l, h, z, v, M = (l = 0, z = (a = c).length, 55296 <= (v = a.charCodeAt(l)) && v <= 56319 && l + 1 < z && 56320 <= (h = a.charCodeAt(l + 1)) && h <= 57343 ? 1024 * (v - 55296) + h - 56320 + 65536 : v);
return 57344 <= M && M <= 63743;
}(a)) {
if (c && c.iconUploads) {
var l = c.iconUploads, h = Object.keys(l).find(function(c) {
return l[c] && l[c].u && l[c].u === Ic(a);
});
if (h) l[h].v;
}
} else if (c && c.iconUploads && c.iconUploads[a] && c.iconUploads[a].v) c.iconUploads[a].v;
}(r.FontAwesomeKitConfig, h);
r.FontAwesomeKitConfig && r.FontAwesomeKitConfig.token && r.FontAwesomeKitConfig.token,
h && z && !ac.showMissingIcons ? a(new La("Icon is missing for prefix ".concat(z, " with icon name ").concat(h))) : c(l);
});
}
var ia = D.styles;
var ia = F.styles;
function da(c) {
var v, a, M, m, H, V, s, L, l, e, C, h = sa(c);
return ~h.extra.classes.indexOf(x) ? function(c, a) {
@@ -9106,7 +9090,7 @@
})[0], l = r.getComputedStyle(f, A), z = l.getPropertyValue("font-family").match(j), v = l.getPropertyValue("font-weight"), M = l.getPropertyValue("content");
if (a && !z) return f.removeChild(a), h();
if (z && "none" !== M && "" !== M) {
var m = l.getPropertyValue("content"), H = ~[ "Solid", "Regular", "Light", "Duotone", "Brands", "Kit" ].indexOf(z[2]) ? q[z[2].toLowerCase()] : O[v], V = Ic(3 === m.length ? m.substr(1, 1) : m), s = Wc(H, V), L = s;
var m = l.getPropertyValue("content"), H = ~[ "Solid", "Regular", "Light", "Duotone", "Brands", "Kit" ].indexOf(z[2]) ? q[z[2].toLowerCase()] : O[v], V = Ic(3 === m.length ? m.substr(1, 1) : m), s = Xc(H, V), L = s;
if (!s || a && a.getAttribute(b) === H && a.getAttribute(p) === L) h(); else {
f.setAttribute(t, L), a && f.removeChild(a);
var e = {
@@ -9128,7 +9112,7 @@
var a = xc($({}, e, {
icons: {
main: c,
mask: Bc()
mask: Uc()
},
prefix: H,
iconName: L,
@@ -9191,7 +9175,7 @@
}
function xa(c) {
var a = c.prefix, l = void 0 === a ? "fa" : a, h = c.iconName;
if (h) return Gc(Oa.definitions, l, h) || Gc(D.styles, l, h);
if (h) return Kc(Oa.definitions, l, h) || Kc(F.styles, l, h);
}
var ja, Oa = new (function() {
function c() {
@@ -9211,9 +9195,9 @@
var l = h[a];
return l.icon ? c[l.iconName] = l.icon : c[a] = l, c;
}, {});
"function" != typeof D.hooks.addPack || z ? D.styles[a] = $({}, D.styles[a] || {}, v) : D.hooks.addPack(a, v),
"function" != typeof F.hooks.addPack || z ? F.styles[a] = $({}, F.styles[a] || {}, v) : F.hooks.addPack(a, v),
"fas" === a && c("fa", h);
}(c, z[c]), Uc();
}(c, z[c]), Wc();
});
}
}, {
@@ -9250,7 +9234,7 @@
watch: function() {
var c = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, a = c.autoReplaceSvgRoot, l = c.observeMutationsRoot;
!1 === ac.autoReplaceSvg && (ac.autoReplaceSvg = !0), ac.observeMutations = !0,
U(function() {
W(function() {
Ta({
autoReplaceSvgRoot: a
}), ma({
@@ -9390,7 +9374,7 @@
toHtml: Jc
}, Ta = function() {
var c = (0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}).autoReplaceSvgRoot, a = void 0 === c ? o : c;
(0 < Object.keys(D.styles).length || ac.autoFetchSvg) && C && ac.autoReplaceSvg && Na.dom.i2svg({
(0 < Object.keys(F.styles).length || ac.autoFetchSvg) && C && ac.autoReplaceSvg && Na.dom.i2svg({
node: a
});
};
@@ -9401,19 +9385,19 @@
if (!k) throw c;
}
}(function() {
L && (r.FontAwesome || (r.FontAwesome = Na), U(function() {
L && (r.FontAwesome || (r.FontAwesome = Na), W(function() {
Ta(), ma({
treeCallback: Za,
nodeCallback: ua,
pseudoElementsCallback: Sa
});
})), D.hooks = $({}, D.hooks, {
})), F.hooks = $({}, F.hooks, {
addPack: function(c, a) {
D.styles[c] = $({}, D.styles[c] || {}, a), Uc(), Ta();
F.styles[c] = $({}, F.styles[c] || {}, a), Wc(), Ta();
},
addShims: function(c) {
var a;
(a = D.shims).push.apply(a, e(c)), Uc(), Ta();
(a = F.shims).push.apply(a, e(c)), Wc(), Ta();
}
});
});

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {

2
js/brands.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function (global, factory) {

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
var e, t;

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {

2
js/duotone.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {
@@ -1109,7 +1109,7 @@
mark: noop$1,
measure: noop$1
};
var preamble = "FA \"5.15.1\"";
var preamble = "FA \"5.15.2\"";
var begin = function begin(name) {
p.mark("".concat(preamble, " ").concat(name, " begins"));
@@ -1186,35 +1186,6 @@
return result;
}
function codePointAt(string, index) {
/*! https://mths.be/codepointat v0.2.0 by @mathias */
var size = string.length;
var first = string.charCodeAt(index);
var second;
if (first >= 0xD800 && first <= 0xDBFF && size > index + 1) {
second = string.charCodeAt(index + 1);
if (second >= 0xDC00 && second <= 0xDFFF) {
return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
}
}
return first;
}
/**
* Used to check that the character is between the E000..F8FF private unicode
* range
*/
function isPrivateUnicode(iconName) {
if (iconName.length !== 1) {
return false;
} else {
var cp = codePointAt(iconName, 0);
return cp >= 57344 && cp <= 63743;
}
}
function defineIcons(prefix, icons) {
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -1793,27 +1764,6 @@
};
var styles$2 = namespace.styles;
function resolveCustomIconVersion() {
var kitConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var iconName = arguments.length > 1 ? arguments[1] : undefined;
if (iconName && isPrivateUnicode(iconName)) {
if (kitConfig && kitConfig.iconUploads) {
var iconUploads = kitConfig.iconUploads;
var descriptiveIconName = Object.keys(iconUploads).find(function (key) {
return iconUploads[key] && iconUploads[key].u && iconUploads[key].u === toHex(iconName);
});
if (descriptiveIconName) {
return iconUploads[descriptiveIconName].v;
}
}
} else {
if (kitConfig && kitConfig.iconUploads && kitConfig.iconUploads[iconName] && kitConfig.iconUploads[iconName].v) {
return kitConfig.iconUploads[iconName].v;
}
}
}
function asFoundIcon(icon) {
var width = icon[0];
var height = icon[1];
@@ -1876,12 +1826,6 @@
var icon = styles$2[prefix][iconName];
return resolve(asFoundIcon(icon));
}
var kitToken = null;
var iconVersion = resolveCustomIconVersion(WINDOW.FontAwesomeKitConfig, iconName);
if (WINDOW.FontAwesomeKitConfig && WINDOW.FontAwesomeKitConfig.token) {
kitToken = WINDOW.FontAwesomeKitConfig.token;
}
if (iconName && prefix && !config.showMissingIcons) {
reject(new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName)));

154
js/fontawesome.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {
@@ -108,21 +108,21 @@
SWAP_OPACITY: "swap-opacity",
PRIMARY: "primary",
SECONDARY: "secondary"
}, F = [ "xs", "sm", "lg", "fw", "ul", "li", "border", "pull-left", "pull-right", "spin", "pulse", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical", "flip-both", "stack", "stack-1x", "stack-2x", "inverse", "layers", "layers-text", "layers-counter", D.GROUP, D.SWAP_OPACITY, D.PRIMARY, D.SECONDARY ].concat(R.map(function(t) {
}, Y = [ "xs", "sm", "lg", "fw", "ul", "li", "border", "pull-left", "pull-right", "spin", "pulse", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical", "flip-both", "stack", "stack-1x", "stack-2x", "inverse", "layers", "layers-text", "layers-counter", D.GROUP, D.SWAP_OPACITY, D.PRIMARY, D.SECONDARY ].concat(R.map(function(t) {
return "".concat(t, "x");
})).concat(T.map(function(t) {
return "w-".concat(t);
})), Y = v.FontAwesomeConfig || {};
})), H = v.FontAwesomeConfig || {};
if (b && "function" == typeof b.querySelector) {
[ [ "data-family-prefix", "familyPrefix" ], [ "data-replacement-class", "replacementClass" ], [ "data-auto-replace-svg", "autoReplaceSvg" ], [ "data-auto-add-css", "autoAddCss" ], [ "data-auto-a11y", "autoA11y" ], [ "data-search-pseudo-elements", "searchPseudoElements" ], [ "data-observe-mutations", "observeMutations" ], [ "data-mutate-approach", "mutateApproach" ], [ "data-keep-original-source", "keepOriginalSource" ], [ "data-measure-performance", "measurePerformance" ], [ "data-show-missing-icons", "showMissingIcons" ] ].forEach(function(t) {
var n, e = p(t, 2), a = e[0], r = e[1], i = "" === (n = function(t) {
var n = b.querySelector("script[" + t + "]");
if (n) return n.getAttribute(t);
}(a)) || "false" !== n && ("true" === n || n);
null != i && (Y[r] = i);
null != i && (H[r] = i);
});
}
var H = $({}, {
var F = $({}, {
familyPrefix: g,
replacementClass: y,
autoReplaceSvg: !0,
@@ -134,29 +134,29 @@
keepOriginalSource: !0,
measurePerformance: !1,
showMissingIcons: !0
}, Y);
H.autoReplaceSvg || (H.observeMutations = !1);
var nt = $({}, H);
}, H);
F.autoReplaceSvg || (F.observeMutations = !1);
var nt = $({}, F);
v.FontAwesomeConfig = nt;
var U = v || {};
U[h] || (U[h] = {}), U[h].styles || (U[h].styles = {}), U[h].hooks || (U[h].hooks = {}),
U[h].shims || (U[h].shims = []);
var X = U[h], B = [], W = !1;
var X = v || {};
X[h] || (X[h] = {}), X[h].styles || (X[h].styles = {}), X[h].hooks || (X[h].hooks = {}),
X[h].shims || (X[h].shims = []);
var B = X[h], U = [], W = !1;
function q(t) {
m && (W ? setTimeout(t, 0) : B.push(t));
m && (W ? setTimeout(t, 0) : U.push(t));
}
m && ((W = (b.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(b.readyState)) || b.addEventListener("DOMContentLoaded", function t() {
b.removeEventListener("DOMContentLoaded", t), W = 1, B.map(function(t) {
b.removeEventListener("DOMContentLoaded", t), W = 1, U.map(function(t) {
return t();
});
}));
var K, V = "pending", G = "settled", J = "fulfilled", Q = "rejected", Z = function() {}, et = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, at = "undefined" == typeof setImmediate ? setTimeout : setImmediate, rt = [];
var V, G = "pending", K = "settled", J = "fulfilled", Q = "rejected", Z = function() {}, et = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, at = "undefined" == typeof setImmediate ? setTimeout : setImmediate, rt = [];
function it() {
for (var t = 0; t < rt.length; t++) rt[t][0](rt[t][1]);
K = !(rt = []);
V = !(rt = []);
}
function ot(t, n) {
rt.push([ t, n ]), K || (K = !0, at(it, 0));
rt.push([ t, n ]), V || (V = !0, at(it, 0));
}
function ct(t) {
var n = t.owner, e = n._state, a = n._data, r = t[e], i = t.then;
@@ -191,10 +191,10 @@
t !== n && st(t, n) || ft(t, n);
}
function ft(t, n) {
t._state === V && (t._state = G, t._data = n, ot(mt, t));
t._state === G && (t._state = K, t._data = n, ot(mt, t));
}
function ut(t, n) {
t._state === V && (t._state = G, t._data = n, ot(pt, t));
t._state === G && (t._state = K, t._data = n, ot(pt, t));
}
function dt(t) {
t._then = t._then.forEach(ct);
@@ -226,7 +226,7 @@
}
gt.prototype = {
constructor: gt,
_state: V,
_state: G,
_then: null,
_data: void 0,
_handled: !1,
@@ -304,7 +304,7 @@
}
function Mt(t, n) {
var e, a = n.split("-"), r = a[0], i = a.slice(1).join("-");
return r !== t || "" === i || (e = i, ~F.indexOf(e)) ? null : i;
return r !== t || "" === i || (e = i, ~Y.indexOf(e)) ? null : i;
}
function Ot(t) {
return "".concat(t).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -367,7 +367,7 @@
},
children: [ s ]
});
var k, A, C, M, O, P, S, N, z, E, I, j, L, R, T, _, D, F, Y, H, U, X, B, W, q, K, V, G = $({}, w, {
var k, A, C, M, O, P, S, N, z, E, I, j, L, R, T, _, D, Y, H, F, X, B, U, W, q, V, G, K = $({}, w, {
prefix: r,
iconName: i,
main: e,
@@ -376,7 +376,7 @@
transform: o,
symbol: c,
styles: $({}, x, u.styles)
}), J = a.found && e.found ? (C = (k = G).children, M = k.attributes, O = k.main,
}), J = a.found && e.found ? (C = (k = K).children, M = k.attributes, O = k.main,
P = k.mask, S = k.maskId, N = k.transform, z = O.width, E = O.icon, I = P.width,
j = P.icon, L = Nt({
transform: N,
@@ -400,29 +400,29 @@
tag: "g",
attributes: $({}, L.outer),
children: [ _ ]
}, F = "mask-".concat(S || kt()), Y = "clip-".concat(S || kt()), H = {
}, Y = "mask-".concat(S || kt()), H = "clip-".concat(S || kt()), F = {
tag: "mask",
attributes: $({}, zt, {
id: F,
id: Y,
maskUnits: "userSpaceOnUse",
maskContentUnits: "userSpaceOnUse"
}),
children: [ R, D ]
}, U = {
}, X = {
tag: "defs",
children: [ {
tag: "clipPath",
attributes: {
id: Y
id: H
},
children: (A = j, "g" === A.tag ? A.children : [ A ])
}, H ]
}, C.push(U, {
}, F ]
}, C.push(X, {
tag: "rect",
attributes: $({
fill: "currentColor",
"clip-path": "url(#".concat(Y, ")"),
mask: "url(#".concat(F, ")")
"clip-path": "url(#".concat(H, ")"),
mask: "url(#".concat(Y, ")")
}, zt)
}), {
children: C,
@@ -453,17 +453,17 @@
children: n,
attributes: e
};
}(G), Q = J.children, Z = J.attributes;
return G.children = Q, G.attributes = Z, c ? (B = (X = G).prefix, W = X.iconName,
q = X.children, K = X.attributes, V = X.symbol, [ {
}(K), Q = J.children, Z = J.attributes;
return K.children = Q, K.attributes = Z, c ? (U = (B = K).prefix, W = B.iconName,
q = B.children, V = B.attributes, G = B.symbol, [ {
tag: "svg",
attributes: {
style: "display: none;"
},
children: [ {
tag: "symbol",
attributes: $({}, K, {
id: !0 === V ? "".concat(B, "-").concat(nt.familyPrefix, "-").concat(W) : V
attributes: $({}, V, {
id: !0 === G ? "".concat(U, "-").concat(nt.familyPrefix, "-").concat(W) : G
}),
children: q
} ]
@@ -480,7 +480,7 @@
attributes: r,
children: n
} ];
}(G);
}(K);
}
function jt(t) {
var n = t.content, e = t.width, a = t.height, r = t.transform, i = t.title, o = t.extra, c = t.watchable, s = void 0 !== c && c, l = $({}, o.attributes, i ? {
@@ -517,7 +517,7 @@
var Lt = function() {}, Rt = nt.measurePerformance && f && f.mark && f.measure ? f : {
mark: Lt,
measure: Lt
}, Tt = 'FA "5.15.1"', _t = function(t) {
}, Tt = 'FA "5.15.2"', _t = function(t) {
Rt.mark("".concat(Tt, " ").concat(t, " ends")), Rt.measure("".concat(Tt, " ").concat(t), "".concat(Tt, " ").concat(t, " begins"), "".concat(Tt, " ").concat(t, " ends"));
}, Dt = {
begin: function(t) {
@@ -526,7 +526,7 @@
};
},
end: _t
}, Ft = function(t, n, e, a) {
}, Yt = function(t, n, e, a) {
var r, i, o, c, s, l = Object.keys(t), f = l.length, u = void 0 !== a ? (c = n,
s = a, function(t, n, e, a) {
return c.call(s, t, n, e, a);
@@ -534,28 +534,28 @@
for (o = void 0 === e ? (r = 1, t[l[0]]) : (r = 0, e); r < f; r++) o = u(o, t[i = l[r]], i, t);
return o;
};
function Yt(t) {
function Ht(t) {
for (var n = "", e = 0; e < t.length; e++) {
n += ("000" + t.charCodeAt(e).toString(16)).slice(-4);
}
return n;
}
var Ht = X.styles, Ut = X.shims, Xt = {}, Bt = {}, Wt = {}, qt = function() {
var Ft = B.styles, Xt = B.shims, Bt = {}, Ut = {}, Wt = {}, qt = function() {
var t = function(a) {
return Ft(Ht, function(t, n, e) {
return t[e] = Ft(n, a, {}), t;
return Yt(Ft, function(t, n, e) {
return t[e] = Yt(n, a, {}), t;
}, {});
};
Xt = t(function(t, n, e) {
Bt = t(function(t, n, e) {
return n[3] && (t[n[3]] = e), t;
}), Bt = t(function(n, t, e) {
}), Ut = t(function(n, t, e) {
var a = t[2];
return n[e] = e, a.forEach(function(t) {
n[t] = e;
}), n;
});
var i = "far" in Ht;
Wt = Ft(Ut, function(t, n) {
var i = "far" in Ft;
Wt = Yt(Xt, function(t, n) {
var e = n[0], a = n[1], r = n[2];
return "far" !== a || i || (a = "fas"), t[e] = {
prefix: a,
@@ -563,11 +563,11 @@
}, t;
}, {});
};
function Kt(t, n) {
return (Xt[t] || {})[n];
function Vt(t, n) {
return (Bt[t] || {})[n];
}
qt();
var Vt = X.styles, Gt = function() {
var Gt = B.styles, Kt = function() {
return {
prefix: null,
iconName: null,
@@ -577,7 +577,7 @@
function Jt(t) {
return t.reduce(function(t, n) {
var e = Mt(nt.familyPrefix, n);
if (Vt[n]) t.prefix = n; else if (nt.autoFetchSvg && -1 < Object.keys(z).indexOf(n)) t.prefix = n; else if (e) {
if (Gt[n]) t.prefix = n; else if (nt.autoFetchSvg && -1 < Object.keys(z).indexOf(n)) t.prefix = n; else if (e) {
var a = "fa" === t.prefix ? Wt[e] || {
prefix: null,
iconName: null
@@ -585,7 +585,7 @@
t.iconName = a.iconName || e, t.prefix = a.prefix || t.prefix;
} else n !== nt.replacementClass && 0 !== n.indexOf("fa-w-") && t.rest.push(n);
return t;
}, Gt());
}, Kt());
}
function Qt(t, n, e) {
if (t && t[n] && t[n][e]) return {
@@ -674,7 +674,7 @@
function ln(t) {
var n, e, a = t.getAttribute("data-prefix"), r = t.getAttribute("data-icon"), i = void 0 !== t.innerText ? t.innerText.trim() : "", o = Jt(Ct(t));
return a && r && (o.prefix = a, o.iconName = r), o.prefix && 1 < i.length ? o.iconName = (n = o.prefix,
e = t.innerText, (Bt[n] || {})[e]) : o.prefix && 1 === i.length && (o.iconName = Kt(o.prefix, Yt(t.innerText))),
e = t.innerText, (Ut[n] || {})[e]) : o.prefix && 1 === i.length && (o.iconName = Vt(o.prefix, Ht(t.innerText))),
o;
}
var fn = function(t) {
@@ -732,7 +732,7 @@
}, {}), o = r.getAttribute("title"), c = r.getAttribute("data-fa-title-id"), nt.autoA11y && (o ? i["aria-labelledby"] = "".concat(nt.replacementClass, "-title-").concat(c || kt()) : (i["aria-hidden"] = "true",
i.focusable = "false")), i), v = (s = t.getAttribute("data-fa-mask")) ? Jt(s.split(" ").map(function(t) {
return t.trim();
})) : Gt();
})) : Kt();
return {
iconName: f,
title: t.getAttribute("title"),
@@ -812,7 +812,7 @@
})
} ]
} ]
}, bn = X.styles;
}, bn = B.styles;
function yn(t) {
var n = t[0], e = t[1], a = p(t.slice(4), 1)[0];
return {
@@ -857,26 +857,10 @@
icon: vn
};
if (a && r && bn[r] && bn[r][a]) return t(yn(bn[r][a]));
!function() {
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, n = 1 < arguments.length ? arguments[1] : void 0;
if (n && function(t) {
if (1 !== t.length) return !1;
var n, e, a, r, i, o = (e = 0, r = (n = t).length, 55296 <= (i = n.charCodeAt(e)) && i <= 56319 && e + 1 < r && 56320 <= (a = n.charCodeAt(e + 1)) && a <= 57343 ? 1024 * (i - 55296) + a - 56320 + 65536 : i);
return 57344 <= o && o <= 63743;
}(n)) {
if (t && t.iconUploads) {
var e = t.iconUploads, a = Object.keys(e).find(function(t) {
return e[t] && e[t].u && e[t].u === Yt(n);
});
if (a) e[a].v;
}
} else if (t && t.iconUploads && t.iconUploads[n] && t.iconUploads[n].v) t.iconUploads[n].v;
}(v.FontAwesomeKitConfig, a);
v.FontAwesomeKitConfig && v.FontAwesomeKitConfig.token && v.FontAwesomeKitConfig.token,
a && r && !nt.showMissingIcons ? n(new dn("Icon is missing for prefix ".concat(r, " with icon name ").concat(a))) : t(e);
});
}
var xn = X.styles;
var xn = B.styles;
function kn(t) {
var i, n, o, c, s, l, f, u, e, d, m, a = un(t);
return ~a.extra.classes.indexOf(I) ? function(t, n) {
@@ -971,7 +955,7 @@
})[0], e = v.getComputedStyle(p, h), r = e.getPropertyValue("font-family").match(j), i = e.getPropertyValue("font-weight"), o = e.getPropertyValue("content");
if (n && !r) return p.removeChild(n), a();
if (r && "none" !== o && "" !== o) {
var c = e.getPropertyValue("content"), s = ~[ "Solid", "Regular", "Light", "Duotone", "Brands", "Kit" ].indexOf(r[2]) ? E[r[2].toLowerCase()] : L[i], l = Yt(3 === c.length ? c.substr(1, 1) : c), f = Kt(s, l), u = f;
var c = e.getPropertyValue("content"), s = ~[ "Solid", "Regular", "Light", "Duotone", "Brands", "Kit" ].indexOf(r[2]) ? E[r[2].toLowerCase()] : L[i], l = Ht(3 === c.length ? c.substr(1, 1) : c), f = Vt(s, l), u = f;
if (!f || n && n.getAttribute(C) === s && n.getAttribute(M) === u) a(); else {
p.setAttribute(g, u), n && p.removeChild(n);
var d = {
@@ -993,7 +977,7 @@
var n = It($({}, d, {
icons: {
main: t,
mask: Gt()
mask: Kt()
},
prefix: s,
iconName: u,
@@ -1056,7 +1040,7 @@
}
function jn(t) {
var n = t.prefix, e = void 0 === n ? "fa" : n, a = t.iconName;
if (a) return Qt(Rn.definitions, e, a) || Qt(X.styles, e, a);
if (a) return Qt(Rn.definitions, e, a) || Qt(B.styles, e, a);
}
var Ln, Rn = new (function() {
function t() {
@@ -1076,7 +1060,7 @@
var e = a[n];
return e.icon ? t[e.iconName] = e.icon : t[n] = e, t;
}, {});
"function" != typeof X.hooks.addPack || r ? X.styles[n] = $({}, X.styles[n] || {}, i) : X.hooks.addPack(n, i),
"function" != typeof B.hooks.addPack || r ? B.styles[n] = $({}, B.styles[n] || {}, i) : B.hooks.addPack(n, i),
"fas" === n && t("fa", a);
}(t, r[t]), qt();
});
@@ -1116,7 +1100,7 @@
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, n = t.autoReplaceSvgRoot, e = t.observeMutationsRoot;
!1 === nt.autoReplaceSvg && (nt.autoReplaceSvg = !0), nt.observeMutations = !0,
q(function() {
Yn({
Hn({
autoReplaceSvgRoot: n
}), sn({
treeCallback: An,
@@ -1164,7 +1148,7 @@
return a && (a = (a || {}).icon ? a : jn(a || {})), Ln(e, $({}, n, {
mask: a
}));
}), Fn = {
}), Yn = {
noAuto: function() {
nt.autoReplaceSvg = !1, nt.observeMutations = !1, cn && cn.disconnect();
},
@@ -1253,9 +1237,9 @@
});
},
toHtml: Zt
}, Yn = function() {
}, Hn = function() {
var t = (0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}).autoReplaceSvgRoot, n = void 0 === t ? b : t;
(0 < Object.keys(X.styles).length || nt.autoFetchSvg) && m && nt.autoReplaceSvg && Fn.dom.i2svg({
(0 < Object.keys(B.styles).length || nt.autoFetchSvg) && m && nt.autoReplaceSvg && Yn.dom.i2svg({
node: n
});
};
@@ -1266,19 +1250,19 @@
if (!N) throw t;
}
}(function() {
u && (v.FontAwesome || (v.FontAwesome = Fn), q(function() {
Yn(), sn({
u && (v.FontAwesome || (v.FontAwesome = Yn), q(function() {
Hn(), sn({
treeCallback: An,
nodeCallback: Cn,
pseudoElementsCallback: Sn
});
})), X.hooks = $({}, X.hooks, {
})), B.hooks = $({}, B.hooks, {
addPack: function(t, n) {
X.styles[t] = $({}, X.styles[t] || {}, n), qt(), Yn();
B.styles[t] = $({}, B.styles[t] || {}, n), qt(), Hn();
},
addShims: function(t) {
var n;
(n = X.shims).push.apply(n, d(t)), qt(), Yn();
(n = B.shims).push.apply(n, d(t)), qt(), Hn();
}
});
});

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {

2
js/light.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {

2
js/regular.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {

2
js/solid.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
!function() {

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function (global, factory) {

2
js/v4-shims.min.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
var l, a;