974 lines
44 KiB
JavaScript
974 lines
44 KiB
JavaScript
/*!
|
|
* Font Awesome Pro 5.0.4 by @fontawesome - http://fontawesome.com
|
|
* License - http://fontawesome.com/license (Commercial License)
|
|
*/
|
|
!function() {
|
|
"use strict";
|
|
function t(t) {
|
|
var n = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).asNewDefault, e = void 0 !== n && n, r = Object.keys(yt), i = e ? function(t) {
|
|
return ~r.indexOf(t) && !~vt.indexOf(t);
|
|
} : function(t) {
|
|
return ~r.indexOf(t);
|
|
};
|
|
Object.keys(t).forEach(function(n) {
|
|
i(n) && (yt[n] = t[n]);
|
|
});
|
|
}
|
|
function n(n) {
|
|
t({
|
|
autoReplaceSvg: n,
|
|
observeMutations: n
|
|
});
|
|
}
|
|
function e(t) {
|
|
return ~ct.indexOf(t);
|
|
}
|
|
function r(t) {
|
|
if (t && void 0 !== Q.createElement) {
|
|
var n = Q.createElement("style");
|
|
n.setAttribute("type", "text/css"), n.innerHTML = t;
|
|
for (var e = Q.head.childNodes, r = null, i = e.length - 1; i > -1; i--) {
|
|
var a = e[i], o = (a.tagName || "").toUpperCase();
|
|
[ "STYLE", "LINK" ].indexOf(o) > -1 && (r = a);
|
|
}
|
|
return Q.head.insertBefore(n, r), t;
|
|
}
|
|
}
|
|
function i() {
|
|
return ++Mt;
|
|
}
|
|
function a(t) {
|
|
for (var n = [], e = (t || []).length >>> 0; e--; ) n[e] = t[e];
|
|
return n;
|
|
}
|
|
function o(t) {
|
|
return t.classList ? a(t.classList) : (t.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
return t;
|
|
});
|
|
}
|
|
function s(t, n) {
|
|
var r = n.split("-"), i = r[0], a = r.slice(1).join("-");
|
|
return i !== t || "" === a || e(a) ? null : a;
|
|
}
|
|
function f(t) {
|
|
return ("" + t).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
}
|
|
function l(t) {
|
|
return Object.keys(t || {}).reduce(function(n, e) {
|
|
return n + (e + '="') + f(t[e]) + '" ';
|
|
}, "").trim();
|
|
}
|
|
function c(t) {
|
|
return Object.keys(t || {}).reduce(function(n, e) {
|
|
return n + (e + ": ") + t[e] + ";";
|
|
}, "");
|
|
}
|
|
function u(t) {
|
|
return t.size !== At.size || t.x !== At.x || t.y !== At.y || t.rotate !== At.rotate || t.flipX || t.flipY;
|
|
}
|
|
function m(t) {
|
|
var n = t.transform, e = t.containerWidth, r = t.iconWidth;
|
|
return {
|
|
outer: {
|
|
transform: "translate(" + e / 2 + " 256)"
|
|
},
|
|
inner: {
|
|
transform: "translate(" + 32 * n.x + ", " + 32 * n.y + ") " + " " + ("scale(" + n.size / 16 * (n.flipX ? -1 : 1) + ", " + n.size / 16 * (n.flipY ? -1 : 1) + ") ") + " " + ("rotate(" + n.rotate + " 0 0)")
|
|
},
|
|
path: {
|
|
transform: "translate(" + r / 2 * -1 + " -256)"
|
|
}
|
|
};
|
|
}
|
|
function d(t) {
|
|
var n = t.transform, e = t.width, r = void 0 === e ? et : e, i = t.height, a = void 0 === i ? et : i, o = t.startCentered, s = void 0 !== o && o, f = "";
|
|
return f += s && nt ? "translate(" + (n.x / Nt - r / 2) + "em, " + (n.y / Nt - a / 2) + "em) " : s ? "translate(calc(-50% + " + n.x / Nt + "em), calc(-50% + " + n.y / Nt + "em)) " : "translate(" + n.x / Nt + "em, " + n.y / Nt + "em) ",
|
|
f += "scale(" + n.size / Nt * (n.flipX ? -1 : 1) + ", " + n.size / Nt * (n.flipY ? -1 : 1) + ") ",
|
|
f += "rotate(" + n.rotate + "deg) ";
|
|
}
|
|
function g(t) {
|
|
var n, e = t.icons, r = e.main, a = e.mask, o = t.prefix, s = t.iconName, f = t.transform, l = t.symbol, c = t.title, u = t.extra, m = a.found ? a : r, d = m.width, g = m.height, h = "fa-w-" + Math.ceil(d / g * 16), p = [ yt.replacementClass, s ? yt.familyPrefix + "-" + s : "", h ].concat(u.classes).join(" "), v = {
|
|
children: [],
|
|
attributes: gt({}, u.attributes, (n = {}, dt(n, rt, ""), dt(n, "data-prefix", o),
|
|
dt(n, "data-icon", s), dt(n, "class", p), dt(n, "role", "img"), dt(n, "xmlns", "http://www.w3.org/2000/svg"),
|
|
dt(n, "viewBox", "0 0 " + d + " " + g), n))
|
|
};
|
|
c && v.children.push({
|
|
tag: "title",
|
|
attributes: {
|
|
id: v.attributes["aria-labelledby"] || "title-" + i()
|
|
},
|
|
children: [ c ]
|
|
});
|
|
var b = gt({}, v, {
|
|
prefix: o,
|
|
iconName: s,
|
|
main: r,
|
|
mask: a,
|
|
transform: f,
|
|
symbol: l,
|
|
styles: u.styles
|
|
}), y = a.found && r.found ? Et(b) : zt(b), w = y.children, x = y.attributes;
|
|
return b.children = w, b.attributes = x, l ? Lt(b) : St(b);
|
|
}
|
|
function h(t) {
|
|
var n, e = t.content, r = t.width, i = t.height, a = t.transform, o = t.title, s = t.extra, f = gt({}, s.attributes, o ? {
|
|
title: o
|
|
} : {}, (n = {}, dt(n, rt, ""), dt(n, "class", s.classes.join(" ")), n)), l = gt({}, s.styles);
|
|
u(a) && (l.transform = d({
|
|
transform: a,
|
|
startCentered: !0,
|
|
width: r,
|
|
height: i
|
|
}), l["-webkit-transform"] = l.transform);
|
|
var m = c(l);
|
|
m.length > 0 && (f.style = m);
|
|
var g = [];
|
|
return g.push({
|
|
tag: "span",
|
|
attributes: f,
|
|
children: [ e ]
|
|
}), o && g.push({
|
|
tag: "span",
|
|
attributes: {
|
|
class: "sr-only"
|
|
},
|
|
children: [ o ]
|
|
}), g;
|
|
}
|
|
function p(t, n) {
|
|
return Xt[t][n];
|
|
}
|
|
function v(t, n) {
|
|
return Rt[t][n];
|
|
}
|
|
function b(t) {
|
|
return Ht[t] || {
|
|
prefix: null,
|
|
iconName: null
|
|
};
|
|
}
|
|
function y(t) {
|
|
return t.reduce(function(t, n) {
|
|
var e = s(yt.familyPrefix, n);
|
|
if (Ut[n]) t.prefix = n; else if (e) {
|
|
var r = "fa" === t.prefix ? b(e) : {};
|
|
t.iconName = r.iconName || e, t.prefix = r.prefix || t.prefix;
|
|
} else n !== yt.replacementClass && 0 !== n.indexOf("fa-w-") && t.rest.push(n);
|
|
return t;
|
|
}, Vt());
|
|
}
|
|
function w(t, n, e) {
|
|
if (t && t[n] && t[n][e]) return {
|
|
prefix: n,
|
|
iconName: e,
|
|
icon: t[n][e]
|
|
};
|
|
}
|
|
function x(t) {
|
|
var n = t.tag, e = t.attributes, r = void 0 === e ? {} : e, i = t.children, a = void 0 === i ? [] : i;
|
|
return "string" == typeof t ? f(t) : "<" + n + " " + l(r) + ">" + a.map(x).join("") + "</" + n + ">";
|
|
}
|
|
function k(t) {
|
|
var n = t.getAttribute ? t.getAttribute("class") : null;
|
|
return !!n && (!!~n.toString().indexOf(yt.replacementClass) || ~n.toString().indexOf("fa-layers-text"));
|
|
}
|
|
function _() {
|
|
return !0 === yt.autoReplaceSvg ? Kt.replace : Kt[yt.autoReplaceSvg] || Kt.replace;
|
|
}
|
|
function O(t, n) {
|
|
var e = "function" == typeof n ? n : qt;
|
|
0 === t.length ? e() : (J.requestAnimationFrame || function(t) {
|
|
return t();
|
|
})(function() {
|
|
var n = _(), r = Ft.begin("mutate");
|
|
t.map(n), r(), e();
|
|
});
|
|
}
|
|
function N(t) {
|
|
Gt = !0, t(), Gt = !1;
|
|
}
|
|
function A(t) {
|
|
if (Z) {
|
|
var n = t.treeCallback, e = t.nodeCallback, r = t.pseudoElementsCallback, i = new Z(function(t) {
|
|
Gt || a(t).forEach(function(t) {
|
|
if ("childList" === t.type && t.addedNodes.length > 0 && !k(t.addedNodes[0]) && (yt.searchPseudoElements && r(t.target),
|
|
n(t.target)), "attributes" === t.type && t.target.parentNode && yt.searchPseudoElements && r(t.target.parentNode),
|
|
"attributes" === t.type && k(t.target) && ~lt.indexOf(t.attributeName)) if ("class" === t.attributeName) {
|
|
var i = y(o(t.target)), a = i.prefix, s = i.iconName;
|
|
a && t.target.setAttribute("data-prefix", a), s && t.target.setAttribute("data-icon", s);
|
|
} else e(t.target);
|
|
});
|
|
});
|
|
Q.getElementsByTagName && i.observe(Q.getElementsByTagName("body")[0], {
|
|
childList: !0,
|
|
attributes: !0,
|
|
characterData: !0,
|
|
subtree: !0
|
|
});
|
|
}
|
|
}
|
|
function M(t) {
|
|
for (var n = "", e = 0; e < t.length; e++) n += ("000" + t.charCodeAt(e).toString(16)).slice(-4);
|
|
return n;
|
|
}
|
|
function C(t) {
|
|
var n = Qt(t), e = n.iconName, r = n.prefix, i = n.rest, a = Jt(t), o = $t(t), s = tn(t), f = nn(t), l = en(t);
|
|
return {
|
|
iconName: e,
|
|
title: t.getAttribute("title"),
|
|
prefix: r,
|
|
transform: o,
|
|
symbol: s,
|
|
mask: l,
|
|
extra: {
|
|
classes: i,
|
|
styles: a,
|
|
attributes: f
|
|
}
|
|
};
|
|
}
|
|
function E(t) {
|
|
this.name = "MissingIcon", this.message = t || "Icon unavailable", this.stack = new Error().stack;
|
|
}
|
|
function z(t, n) {
|
|
var e = {
|
|
found: !1,
|
|
width: 512,
|
|
height: 512,
|
|
icon: fn
|
|
};
|
|
if (t && n && ln[n] && ln[n][t]) {
|
|
var r = ln[n][t];
|
|
e = {
|
|
found: !0,
|
|
width: r[0],
|
|
height: r[1],
|
|
icon: {
|
|
tag: "path",
|
|
attributes: {
|
|
fill: "currentColor",
|
|
d: r.slice(4)[0]
|
|
}
|
|
}
|
|
};
|
|
} else if (t && n && !yt.showMissingIcons) throw new E("Icon is missing for prefix " + n + " with icon name " + t);
|
|
return e;
|
|
}
|
|
function S(t, n) {
|
|
var e = n.iconName, r = n.title, i = n.prefix, a = n.transform, o = n.symbol, s = n.mask, f = n.extra;
|
|
return [ t, g({
|
|
icons: {
|
|
main: z(e, i),
|
|
mask: z(s.iconName, s.prefix)
|
|
},
|
|
prefix: i,
|
|
iconName: e,
|
|
transform: a,
|
|
symbol: o,
|
|
mask: s,
|
|
title: r,
|
|
extra: f
|
|
}) ];
|
|
}
|
|
function L(t, n) {
|
|
var e = n.title, r = n.transform, i = n.extra, a = null, o = null;
|
|
if (nt) {
|
|
var s = parseInt(getComputedStyle(t).fontSize, 10), f = t.getBoundingClientRect();
|
|
a = f.width / s, o = f.height / s;
|
|
}
|
|
return yt.autoA11y && !e && (i.attributes["aria-hidden"] = "true"), [ t, h({
|
|
content: t.innerHTML,
|
|
width: a,
|
|
height: o,
|
|
transform: r,
|
|
title: e,
|
|
extra: i
|
|
}) ];
|
|
}
|
|
function T(t) {
|
|
var n = C(t);
|
|
return ~n.extra.classes.indexOf(cn) ? L(t, n) : S(t, n);
|
|
}
|
|
function j(t) {
|
|
"function" == typeof t.remove ? t.remove() : t && t.parentNode && t.parentNode.removeChild(t);
|
|
}
|
|
function P(t) {
|
|
var n = Ft.begin("searchPseudoElements");
|
|
N(function() {
|
|
a(t.querySelectorAll("*")).forEach(function(t) {
|
|
[ ":before", ":after" ].forEach(function(n) {
|
|
var e = J.getComputedStyle(t, n), r = e.getPropertyValue("font-family").match(un), i = a(t.children).filter(function(t) {
|
|
return t.getAttribute(it) === n;
|
|
})[0];
|
|
if (i && (i.nextSibling && i.nextSibling.textContent.indexOf(it) > -1 && j(i.nextSibling),
|
|
j(i), i = null), r && !i) {
|
|
var o = e.getPropertyValue("content"), s = Q.createElement("i");
|
|
s.setAttribute("class", "" + mn[r[1]]), s.setAttribute(it, n), s.innerText = 3 === o.length ? o.substr(1, 1) : o,
|
|
":before" === n ? t.insertBefore(s, t.firstChild) : t.appendChild(s);
|
|
}
|
|
});
|
|
});
|
|
}), n();
|
|
}
|
|
function F(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null, e = Q.documentElement.classList, r = function(t) {
|
|
return e.add(at + "-" + t);
|
|
}, i = function(t) {
|
|
return e.remove(at + "-" + t);
|
|
}, o = Object.keys(ln), s = [ "." + cn + ":not([" + rt + "])" ].concat(o.map(function(t) {
|
|
return "." + t + ":not([" + rt + "])";
|
|
})).join(", ");
|
|
if (0 !== s.length) {
|
|
var f = a(t.querySelectorAll(s));
|
|
if (f.length > 0) {
|
|
r("pending"), i("complete");
|
|
var l = Ft.begin("onTree"), c = f.reduce(function(t, n) {
|
|
try {
|
|
var e = T(n);
|
|
e && t.push(e);
|
|
} catch (t) {
|
|
ot || t instanceof E && console.error(t);
|
|
}
|
|
return t;
|
|
}, []);
|
|
l(), O(c, function() {
|
|
r("active"), r("complete"), i("pending"), "function" == typeof n && n();
|
|
});
|
|
}
|
|
}
|
|
}
|
|
function I(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null, e = T(t);
|
|
e && O([ e ], n);
|
|
}
|
|
function W(t, n) {
|
|
var e = Object.keys(n).reduce(function(t, e) {
|
|
var r = n[e];
|
|
return !!r.icon ? t[r.iconName] = r.icon : t[e] = r, t;
|
|
}, {});
|
|
"function" == typeof xt.hooks.addPack ? xt.hooks.addPack(t, e) : xt.styles[t] = gt({}, xt.styles[t] || {}, e),
|
|
"fas" === t && W("fa", n);
|
|
}
|
|
function B(t) {
|
|
return {
|
|
found: !0,
|
|
width: t[0],
|
|
height: t[1],
|
|
icon: {
|
|
tag: "path",
|
|
attributes: {
|
|
fill: "currentColor",
|
|
d: t.slice(4)[0]
|
|
}
|
|
}
|
|
};
|
|
}
|
|
function D() {
|
|
yt.autoAddCss && (gn || r(dn()), gn = !0);
|
|
}
|
|
function X(t, n) {
|
|
return Object.defineProperty(t, "abstract", {
|
|
get: n
|
|
}), Object.defineProperty(t, "html", {
|
|
get: function() {
|
|
return t.abstract.map(function(t) {
|
|
return x(t);
|
|
});
|
|
}
|
|
}), Object.defineProperty(t, "node", {
|
|
get: function() {
|
|
if (Q.createElement) {
|
|
var n = Q.createElement("div");
|
|
return n.innerHTML = t.html, n.children;
|
|
}
|
|
}
|
|
}), t;
|
|
}
|
|
function R(t) {
|
|
var n = t.prefix, e = void 0 === n ? "fa" : n, r = t.iconName;
|
|
if (r) return w(hn.definitions, e, r) || w(xt.styles, e, r);
|
|
}
|
|
var H = function() {}, Y = {}, U = {}, V = null, q = {
|
|
mark: H,
|
|
measure: H
|
|
};
|
|
try {
|
|
"undefined" != typeof window && (Y = window), "undefined" != typeof document && (U = document),
|
|
"undefined" != typeof MutationObserver && (V = MutationObserver), "undefined" != typeof performance && (q = performance);
|
|
} catch (t) {}
|
|
var K = (Y.navigator || {}).userAgent, G = void 0 === K ? "" : K, J = Y, Q = U, Z = V, $ = q, tt = !!J.document, nt = ~G.indexOf("MSIE") || ~G.indexOf("Trident/"), et = 16, rt = "data-fa-processed", it = "data-fa-pseudo-element", at = "fontawesome-i2svg", ot = function() {
|
|
try {
|
|
return !1;
|
|
} catch (t) {
|
|
return !1;
|
|
}
|
|
}(), st = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], ft = st.concat([ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]), lt = [ "class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask" ], ct = [ "xs", "sm", "lg", "fw", "ul", "li", "border", "pull-left", "pull-right", "spin", "pulse", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical", "stack", "stack-1x", "stack-2x", "inverse", "layers", "layers-text", "layers-counter" ].concat(st.map(function(t) {
|
|
return t + "x";
|
|
})).concat(ft.map(function(t) {
|
|
return "w-" + t;
|
|
})), ut = function(t, n) {
|
|
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
}, mt = function() {
|
|
function t(t, n) {
|
|
for (var e = 0; e < n.length; e++) {
|
|
var r = n[e];
|
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
|
|
Object.defineProperty(t, r.key, r);
|
|
}
|
|
}
|
|
return function(n, e, r) {
|
|
return e && t(n.prototype, e), r && t(n, r), n;
|
|
};
|
|
}(), dt = function(t, n, e) {
|
|
return n in t ? Object.defineProperty(t, n, {
|
|
value: e,
|
|
enumerable: !0,
|
|
configurable: !0,
|
|
writable: !0
|
|
}) : t[n] = e, t;
|
|
}, gt = Object.assign || function(t) {
|
|
for (var n = 1; n < arguments.length; n++) {
|
|
var e = arguments[n];
|
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
|
|
}
|
|
return t;
|
|
}, ht = function(t) {
|
|
if (Array.isArray(t)) {
|
|
for (var n = 0, e = Array(t.length); n < t.length; n++) e[n] = t[n];
|
|
return e;
|
|
}
|
|
return Array.from(t);
|
|
}, pt = J.FontAwesomeConfig || {}, vt = Object.keys(pt), bt = gt({
|
|
familyPrefix: "fa",
|
|
replacementClass: "svg-inline--fa",
|
|
autoReplaceSvg: !0,
|
|
autoAddCss: !0,
|
|
autoA11y: !0,
|
|
searchPseudoElements: !1,
|
|
observeMutations: !0,
|
|
keepOriginalSource: !0,
|
|
measurePerformance: !1,
|
|
showMissingIcons: !0
|
|
}, pt);
|
|
bt.autoReplaceSvg || (bt.observeMutations = !1);
|
|
var yt = gt({}, bt);
|
|
J.FontAwesomeConfig = yt;
|
|
var wt = J || {};
|
|
wt.___FONT_AWESOME___ || (wt.___FONT_AWESOME___ = {}), wt.___FONT_AWESOME___.styles || (wt.___FONT_AWESOME___.styles = {}),
|
|
wt.___FONT_AWESOME___.hooks || (wt.___FONT_AWESOME___.hooks = {}), wt.___FONT_AWESOME___.shims || (wt.___FONT_AWESOME___.shims = []);
|
|
var xt = wt.___FONT_AWESOME___, kt = [], _t = !1;
|
|
tt && ((_t = (Q.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(Q.readyState)) || Q.addEventListener("DOMContentLoaded", function t() {
|
|
Q.removeEventListener("DOMContentLoaded", t), _t = 1, kt.map(function(t) {
|
|
return t();
|
|
});
|
|
}));
|
|
var Ot = function(t) {
|
|
Q && (_t ? setTimeout(t, 0) : kt.push(t));
|
|
}, Nt = et, At = {
|
|
size: 16,
|
|
x: 0,
|
|
y: 0,
|
|
rotate: 0,
|
|
flipX: !1,
|
|
flipY: !1
|
|
}, Mt = 0, Ct = {
|
|
x: 0,
|
|
y: 0,
|
|
width: "100%",
|
|
height: "100%"
|
|
}, Et = function(t) {
|
|
var n = t.children, e = t.attributes, r = t.main, a = t.mask, o = t.transform, s = r.width, f = r.icon, l = a.width, c = a.icon, u = m({
|
|
transform: o,
|
|
containerWidth: l,
|
|
iconWidth: s
|
|
}), d = {
|
|
tag: "rect",
|
|
attributes: gt({}, Ct, {
|
|
fill: "white"
|
|
})
|
|
}, g = {
|
|
tag: "g",
|
|
attributes: gt({}, u.inner),
|
|
children: [ {
|
|
tag: "path",
|
|
attributes: gt({}, f.attributes, u.path, {
|
|
fill: "black"
|
|
})
|
|
} ]
|
|
}, h = {
|
|
tag: "g",
|
|
attributes: gt({}, u.outer),
|
|
children: [ g ]
|
|
}, p = "mask-" + i(), v = "clip-" + i(), b = {
|
|
tag: "defs",
|
|
children: [ {
|
|
tag: "clipPath",
|
|
attributes: {
|
|
id: v
|
|
},
|
|
children: [ c ]
|
|
}, {
|
|
tag: "mask",
|
|
attributes: gt({}, Ct, {
|
|
id: p,
|
|
maskUnits: "userSpaceOnUse",
|
|
maskContentUnits: "userSpaceOnUse"
|
|
}),
|
|
children: [ d, h ]
|
|
} ]
|
|
};
|
|
return n.push(b, {
|
|
tag: "rect",
|
|
attributes: gt({
|
|
fill: "currentColor",
|
|
"clip-path": "url(#" + v + ")",
|
|
mask: "url(#" + p + ")"
|
|
}, Ct)
|
|
}), {
|
|
children: n,
|
|
attributes: e
|
|
};
|
|
}, zt = function(t) {
|
|
var n = t.children, e = t.attributes, r = t.main, i = t.transform, a = c(t.styles);
|
|
if (a.length > 0 && (e.style = a), u(i)) {
|
|
var o = m({
|
|
transform: i,
|
|
containerWidth: r.width,
|
|
iconWidth: r.width
|
|
});
|
|
n.push({
|
|
tag: "g",
|
|
attributes: gt({}, o.outer),
|
|
children: [ {
|
|
tag: "g",
|
|
attributes: gt({}, o.inner),
|
|
children: [ {
|
|
tag: r.icon.tag,
|
|
children: r.icon.children,
|
|
attributes: gt({}, r.icon.attributes, o.path)
|
|
} ]
|
|
} ]
|
|
});
|
|
} else n.push(r.icon);
|
|
return {
|
|
children: n,
|
|
attributes: e
|
|
};
|
|
}, St = function(t) {
|
|
var n = t.children, e = t.main, r = t.mask, i = t.attributes, a = t.styles, o = t.transform;
|
|
if (u(o) && e.found && !r.found) {
|
|
var s = {
|
|
x: e.width / e.height / 2,
|
|
y: .5
|
|
};
|
|
i.style = c(gt({}, a, {
|
|
"transform-origin": s.x + o.x / 16 + "em " + (s.y + o.y / 16) + "em"
|
|
}));
|
|
}
|
|
return [ {
|
|
tag: "svg",
|
|
attributes: i,
|
|
children: n
|
|
} ];
|
|
}, Lt = function(t) {
|
|
var n = t.prefix, e = t.iconName, r = t.children, i = t.attributes, a = t.symbol, o = !0 === a ? n + "-" + yt.familyPrefix + "-" + e : a;
|
|
return [ {
|
|
tag: "svg",
|
|
attributes: {
|
|
style: "display: none;"
|
|
},
|
|
children: [ {
|
|
tag: "symbol",
|
|
attributes: gt({}, i, {
|
|
id: o
|
|
}),
|
|
children: r
|
|
} ]
|
|
} ];
|
|
}, Tt = function() {}, jt = yt.measurePerformance && $ && $.mark && $.measure ? $ : {
|
|
mark: Tt,
|
|
measure: Tt
|
|
}, Pt = function(t) {
|
|
jt.mark('FA "5.0.4" ' + t + " ends"), jt.measure('FA "5.0.4" ' + t, 'FA "5.0.4" ' + t + " begins", 'FA "5.0.4" ' + t + " ends");
|
|
}, Ft = {
|
|
begin: function(t) {
|
|
return jt.mark('FA "5.0.4" ' + t + " begins"), function() {
|
|
return Pt(t);
|
|
};
|
|
},
|
|
end: Pt
|
|
}, It = function(t, n) {
|
|
return function(e, r, i, a) {
|
|
return t.call(n, e, r, i, a);
|
|
};
|
|
}, Wt = function(t, n, e, r) {
|
|
var i, a, o, s = Object.keys(t), f = s.length, l = void 0 !== r ? It(n, r) : n;
|
|
for (void 0 === e ? (i = 1, o = t[s[0]]) : (i = 0, o = e); i < f; i++) o = l(o, t[a = s[i]], a, t);
|
|
return o;
|
|
}, Bt = xt.styles, Dt = xt.shims, Xt = {}, Rt = {}, Ht = {}, Yt = function() {
|
|
var t = function(t) {
|
|
return Wt(Bt, function(n, e, r) {
|
|
return n[r] = Wt(e, t, {}), n;
|
|
}, {});
|
|
};
|
|
Xt = t(function(t, n, e) {
|
|
return t[n[3]] = e, t;
|
|
}), Rt = t(function(t, n, e) {
|
|
var r = n[2];
|
|
return t[e] = e, r.forEach(function(n) {
|
|
t[n] = e;
|
|
}), t;
|
|
});
|
|
var n = "far" in Bt;
|
|
Ht = Wt(Dt, function(t, e) {
|
|
var r = e[0], i = e[1], a = e[2];
|
|
return "far" !== i || n || (i = "fas"), t[r] = {
|
|
prefix: i,
|
|
iconName: a
|
|
}, t;
|
|
}, {});
|
|
};
|
|
Yt();
|
|
var Ut = xt.styles, Vt = function() {
|
|
return {
|
|
prefix: null,
|
|
iconName: null,
|
|
rest: []
|
|
};
|
|
}, qt = function() {}, Kt = {
|
|
replace: function(t) {
|
|
var n = t[0], e = t[1].map(function(t) {
|
|
return x(t);
|
|
}).join("\n");
|
|
if (n.parentNode && n.outerHTML) n.outerHTML = e + (yt.keepOriginalSource && "svg" !== n.tagName.toLowerCase() ? "\x3c!-- " + n.outerHTML + " --\x3e" : ""); else if (n.parentNode) {
|
|
var r = document.createElement("span");
|
|
n.parentNode.replaceChild(r, n), r.outerHTML = e;
|
|
}
|
|
},
|
|
nest: function(t) {
|
|
var n = t[0], e = t[1];
|
|
if (~o(n).indexOf(yt.replacementClass)) return Kt.replace(t);
|
|
var r = new RegExp(yt.familyPrefix + "-.*");
|
|
delete e[0].attributes.style;
|
|
var i = e[0].attributes.class.split(" ").reduce(function(t, n) {
|
|
return n === yt.replacementClass || n.match(r) ? t.toSvg.push(n) : t.toNode.push(n),
|
|
t;
|
|
}, {
|
|
toNode: [],
|
|
toSvg: []
|
|
});
|
|
e[0].attributes.class = i.toSvg.join(" ");
|
|
var a = e.map(function(t) {
|
|
return x(t);
|
|
}).join("\n");
|
|
n.setAttribute("class", i.toNode.join(" ")), n.setAttribute(rt, ""), n.innerHTML = a;
|
|
}
|
|
}, Gt = !1, Jt = function(t) {
|
|
var n = t.getAttribute("style"), e = [];
|
|
return n && (e = n.split(";").reduce(function(t, n) {
|
|
var e = n.split(":"), r = e[0], i = e.slice(1);
|
|
return r && i.length > 0 && (t[r] = i.join(":").trim()), t;
|
|
}, {})), e;
|
|
}, Qt = function(t) {
|
|
var n = t.getAttribute("data-prefix"), e = t.getAttribute("data-icon"), r = void 0 !== t.innerText ? t.innerText.trim() : "", i = y(o(t));
|
|
return n && e && (i.prefix = n, i.iconName = e), i.prefix && r.length > 1 ? i.iconName = v(i.prefix, t.innerText) : i.prefix && 1 === r.length && (i.iconName = p(i.prefix, M(t.innerText))),
|
|
i;
|
|
}, Zt = function(t) {
|
|
var n = {
|
|
size: 16,
|
|
x: 0,
|
|
y: 0,
|
|
flipX: !1,
|
|
flipY: !1,
|
|
rotate: 0
|
|
};
|
|
return t ? t.toLowerCase().split(" ").reduce(function(t, n) {
|
|
var e = n.toLowerCase().split("-"), r = e[0], i = e.slice(1).join("-");
|
|
if (r && "h" === i) return t.flipX = !0, t;
|
|
if (r && "v" === i) return t.flipY = !0, t;
|
|
if (i = parseFloat(i), isNaN(i)) return t;
|
|
switch (r) {
|
|
case "grow":
|
|
t.size = t.size + i;
|
|
break;
|
|
|
|
case "shrink":
|
|
t.size = t.size - i;
|
|
break;
|
|
|
|
case "left":
|
|
t.x = t.x - i;
|
|
break;
|
|
|
|
case "right":
|
|
t.x = t.x + i;
|
|
break;
|
|
|
|
case "up":
|
|
t.y = t.y - i;
|
|
break;
|
|
|
|
case "down":
|
|
t.y = t.y + i;
|
|
break;
|
|
|
|
case "rotate":
|
|
t.rotate = t.rotate + i;
|
|
}
|
|
return t;
|
|
}, n) : n;
|
|
}, $t = function(t) {
|
|
return Zt(t.getAttribute("data-fa-transform"));
|
|
}, tn = function(t) {
|
|
var n = t.getAttribute("data-fa-symbol");
|
|
return null !== n && ("" === n || n);
|
|
}, nn = function(t) {
|
|
var n = a(t.attributes).reduce(function(t, n) {
|
|
return "class" !== t.name && "style" !== t.name && (t[n.name] = n.value), t;
|
|
}, {}), e = t.getAttribute("title");
|
|
return yt.autoA11y && (e ? n["aria-labelledby"] = yt.replacementClass + "-title-" + i() : n["aria-hidden"] = "true"),
|
|
n;
|
|
}, en = function(t) {
|
|
var n = t.getAttribute("data-fa-mask");
|
|
return n ? y(n.split(" ").map(function(t) {
|
|
return t.trim();
|
|
})) : Vt();
|
|
};
|
|
E.prototype = Object.create(Error.prototype), E.prototype.constructor = E;
|
|
var rn = {
|
|
fill: "currentColor"
|
|
}, an = {
|
|
attributeType: "XML",
|
|
repeatCount: "indefinite",
|
|
dur: "2s"
|
|
}, on = {
|
|
tag: "path",
|
|
attributes: gt({}, rn, {
|
|
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"
|
|
})
|
|
}, sn = gt({}, an, {
|
|
attributeName: "opacity"
|
|
}), fn = {
|
|
tag: "g",
|
|
children: [ on, {
|
|
tag: "circle",
|
|
attributes: gt({}, rn, {
|
|
cx: "256",
|
|
cy: "364",
|
|
r: "28"
|
|
}),
|
|
children: [ {
|
|
tag: "animate",
|
|
attributes: gt({}, an, {
|
|
attributeName: "r",
|
|
values: "28;14;28;28;14;28;"
|
|
})
|
|
}, {
|
|
tag: "animate",
|
|
attributes: gt({}, sn, {
|
|
values: "1;0;1;1;0;1;"
|
|
})
|
|
} ]
|
|
}, {
|
|
tag: "path",
|
|
attributes: gt({}, rn, {
|
|
opacity: "1",
|
|
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"
|
|
}),
|
|
children: [ {
|
|
tag: "animate",
|
|
attributes: gt({}, sn, {
|
|
values: "1;0;0;0;0;1;"
|
|
})
|
|
} ]
|
|
}, {
|
|
tag: "path",
|
|
attributes: gt({}, rn, {
|
|
opacity: "0",
|
|
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"
|
|
}),
|
|
children: [ {
|
|
tag: "animate",
|
|
attributes: gt({}, sn, {
|
|
values: "0;0;1;1;0;0;"
|
|
})
|
|
} ]
|
|
} ]
|
|
}, ln = xt.styles, cn = "fa-layers-text", un = /Font Awesome 5 (Solid|Regular|Light|Brands)/, mn = {
|
|
Solid: "fas",
|
|
Regular: "far",
|
|
Light: "fal",
|
|
Brands: "fab"
|
|
}, dn = function() {
|
|
var t = "svg-inline--fa", n = yt.familyPrefix, e = yt.replacementClass, r = 'svg:not(:root).svg-inline--fa {\n overflow: visible; }\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -.125em; }\n .svg-inline--fa.fa-lg {\n vertical-align: -.225em; }\n .svg-inline--fa.fa-w-1 {\n width: 0.0625em; }\n .svg-inline--fa.fa-w-2 {\n width: 0.125em; }\n .svg-inline--fa.fa-w-3 {\n width: 0.1875em; }\n .svg-inline--fa.fa-w-4 {\n width: 0.25em; }\n .svg-inline--fa.fa-w-5 {\n width: 0.3125em; }\n .svg-inline--fa.fa-w-6 {\n width: 0.375em; }\n .svg-inline--fa.fa-w-7 {\n width: 0.4375em; }\n .svg-inline--fa.fa-w-8 {\n width: 0.5em; }\n .svg-inline--fa.fa-w-9 {\n width: 0.5625em; }\n .svg-inline--fa.fa-w-10 {\n width: 0.625em; }\n .svg-inline--fa.fa-w-11 {\n width: 0.6875em; }\n .svg-inline--fa.fa-w-12 {\n width: 0.75em; }\n .svg-inline--fa.fa-w-13 {\n width: 0.8125em; }\n .svg-inline--fa.fa-w-14 {\n width: 0.875em; }\n .svg-inline--fa.fa-w-15 {\n width: 0.9375em; }\n .svg-inline--fa.fa-w-16 {\n width: 1em; }\n .svg-inline--fa.fa-w-17 {\n width: 1.0625em; }\n .svg-inline--fa.fa-w-18 {\n width: 1.125em; }\n .svg-inline--fa.fa-w-19 {\n width: 1.1875em; }\n .svg-inline--fa.fa-w-20 {\n width: 1.25em; }\n .svg-inline--fa.fa-pull-left {\n margin-right: .3em;\n width: auto; }\n .svg-inline--fa.fa-pull-right {\n margin-left: .3em;\n width: auto; }\n .svg-inline--fa.fa-border {\n height: 1.5em; }\n .svg-inline--fa.fa-li {\n width: 2em; }\n .svg-inline--fa.fa-fw {\n width: 1.25em; }\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -.125em;\n width: 1em; }\n .fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-text, .fa-layers-counter {\n display: inline-block;\n position: absolute;\n text-align: center; }\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: .25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right; }\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left; }\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left; }\n\n.fa-lg {\n font-size: 1.33333em;\n line-height: 0.75em;\n vertical-align: -.0667em; }\n\n.fa-xs {\n font-size: .75em; }\n\n.fa-sm {\n font-size: .875em; }\n\n.fa-1x {\n font-size: 1em; }\n\n.fa-2x {\n font-size: 2em; }\n\n.fa-3x {\n font-size: 3em; }\n\n.fa-4x {\n font-size: 4em; }\n\n.fa-5x {\n font-size: 5em; }\n\n.fa-6x {\n font-size: 6em; }\n\n.fa-7x {\n font-size: 7em; }\n\n.fa-8x {\n font-size: 8em; }\n\n.fa-9x {\n font-size: 9em; }\n\n.fa-10x {\n font-size: 10em; }\n\n.fa-fw {\n text-align: center;\n width: 1.25em; }\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0; }\n .fa-ul > li {\n position: relative; }\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit; }\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: .1em;\n padding: .2em .25em .15em; }\n\n.fa-pull-left {\n float: left; }\n\n.fa-pull-right {\n float: right; }\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: .3em; }\n\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: .3em; }\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n.fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n -webkit-filter: none;\n filter: none; }\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1em; }\n\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2em; }\n\n.fa-inverse {\n color: #fff; }\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px; }\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto; }\n';
|
|
if ("fa" !== n || e !== t) {
|
|
var i = new RegExp("\\.fa\\-", "g"), a = new RegExp("\\." + t, "g");
|
|
r = r.replace(i, "." + n + "-").replace(a, "." + e);
|
|
}
|
|
return r;
|
|
}, gn = !1, hn = new (function() {
|
|
function t() {
|
|
ut(this, t), this.definitions = {};
|
|
}
|
|
return mt(t, [ {
|
|
key: "add",
|
|
value: function() {
|
|
for (var t = this, n = arguments.length, e = Array(n), r = 0; r < n; r++) e[r] = arguments[r];
|
|
var i = e.reduce(this._pullDefinitions, {});
|
|
Object.keys(i).forEach(function(n) {
|
|
t.definitions[n] = gt({}, t.definitions[n] || {}, i[n]), W(n, i[n]);
|
|
});
|
|
}
|
|
}, {
|
|
key: "reset",
|
|
value: function() {
|
|
this.definitions = {};
|
|
}
|
|
}, {
|
|
key: "_pullDefinitions",
|
|
value: function(t, n) {
|
|
var e = n.prefix && n.iconName && n.icon ? {
|
|
0: n
|
|
} : n;
|
|
return Object.keys(e).map(function(n) {
|
|
var r = e[n], i = r.prefix, a = r.iconName, o = r.icon;
|
|
t[i] || (t[i] = {}), t[i][a] = o;
|
|
}), t;
|
|
}
|
|
} ]), t;
|
|
}())(), pn = {
|
|
i2svg: function() {
|
|
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
D();
|
|
var n = t.node, e = void 0 === n ? Q : n, r = t.callback, i = void 0 === r ? function() {} : r;
|
|
yt.searchPseudoElements && P(e), F(e, i);
|
|
},
|
|
css: dn,
|
|
insertCss: function() {
|
|
r(dn());
|
|
}
|
|
}, vn = {
|
|
transform: function(t) {
|
|
return Zt(t);
|
|
}
|
|
}, bn = function(t) {
|
|
return function(n) {
|
|
var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = (n || {}).icon ? n : R(n || {}), i = e.mask;
|
|
return i && (i = (i || {}).icon ? i : R(i || {})), t(r, gt({}, e, {
|
|
mask: i
|
|
}));
|
|
};
|
|
}(function(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, e = n.transform, r = void 0 === e ? At : e, a = n.symbol, o = void 0 !== a && a, s = n.mask, f = void 0 === s ? null : s, l = n.title, c = void 0 === l ? null : l, u = n.classes, m = void 0 === u ? [] : u, d = n.attributes, h = void 0 === d ? {} : d, p = n.styles, v = void 0 === p ? {} : p;
|
|
if (t) {
|
|
var b = t.prefix, y = t.iconName, w = t.icon;
|
|
return X(gt({
|
|
type: "icon"
|
|
}, t), function() {
|
|
return D(), yt.autoA11y && (c ? h["aria-labelledby"] = yt.replacementClass + "-title-" + i() : h["aria-hidden"] = "true"),
|
|
g({
|
|
icons: {
|
|
main: B(w),
|
|
mask: f ? B(f.icon) : {
|
|
found: !1,
|
|
width: null,
|
|
height: null,
|
|
icon: {}
|
|
}
|
|
},
|
|
prefix: b,
|
|
iconName: y,
|
|
transform: gt({}, At, r),
|
|
symbol: o,
|
|
title: c,
|
|
extra: {
|
|
attributes: h,
|
|
styles: v,
|
|
classes: m
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}), yn = {
|
|
noAuto: function() {
|
|
return n(!1);
|
|
},
|
|
dom: pn,
|
|
library: hn,
|
|
parse: vn,
|
|
findIconDefinition: R,
|
|
icon: bn,
|
|
text: function(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, e = n.transform, r = void 0 === e ? At : e, i = n.title, a = void 0 === i ? null : i, o = n.classes, s = void 0 === o ? [] : o, f = n.attributes, l = void 0 === f ? {} : f, c = n.styles, u = void 0 === c ? {} : c;
|
|
return X({
|
|
type: "text",
|
|
content: t
|
|
}, function() {
|
|
return D(), h({
|
|
content: t,
|
|
transform: gt({}, At, r),
|
|
title: a,
|
|
extra: {
|
|
attributes: l,
|
|
styles: u,
|
|
classes: [ yt.familyPrefix + "-layers-text" ].concat(ht(s))
|
|
}
|
|
});
|
|
});
|
|
},
|
|
layer: function(t) {
|
|
return X({
|
|
type: "layer"
|
|
}, function() {
|
|
D();
|
|
var n = [];
|
|
return t(function(t) {
|
|
n = Array.isArray(t) ? t.map(function(t) {
|
|
n = n.concat(t.abstract);
|
|
}) : n.concat(t.abstract);
|
|
}), [ {
|
|
tag: "span",
|
|
attributes: {
|
|
class: yt.familyPrefix + "-layers"
|
|
},
|
|
children: n
|
|
} ];
|
|
});
|
|
}
|
|
}, wn = function() {
|
|
yt.autoReplaceSvg && yn.dom.i2svg({
|
|
node: Q
|
|
});
|
|
};
|
|
Object.defineProperty(yn, "config", {
|
|
get: function() {
|
|
return yt;
|
|
},
|
|
set: function(n) {
|
|
t(n);
|
|
}
|
|
}), function(t) {
|
|
try {
|
|
t();
|
|
} catch (t) {
|
|
if (!ot) throw t;
|
|
}
|
|
}(function() {
|
|
tt && (J.FontAwesome || (J.FontAwesome = yn), Ot(function() {
|
|
Object.keys(xt.styles).length > 0 && wn(), yt.observeMutations && "function" == typeof MutationObserver && A({
|
|
treeCallback: F,
|
|
nodeCallback: I,
|
|
pseudoElementsCallback: P
|
|
});
|
|
})), xt.hooks = gt({}, xt.hooks, {
|
|
addPack: function(t, n) {
|
|
xt.styles[t] = gt({}, xt.styles[t] || {}, n), Yt(), wn();
|
|
},
|
|
addShims: function(t) {
|
|
var n;
|
|
(n = xt.shims).push.apply(n, ht(t)), Yt(), wn();
|
|
}
|
|
});
|
|
});
|
|
}(); |