@lapidist/components
Version:
Lapidist components
1,856 lines (1,795 loc) • 124 kB
JavaScript
import Je, { useState as kr, useId as Qt } from "react";
function Un(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var vt = { exports: {} }, Pe = {};
/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var en;
function Cr() {
if (en) return Pe;
en = 1;
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
function n(r, a, o) {
var i = null;
if (o !== void 0 && (i = "" + o), a.key !== void 0 && (i = "" + a.key), "key" in a) {
o = {};
for (var l in a)
l !== "key" && (o[l] = a[l]);
} else o = a;
return a = o.ref, {
$$typeof: e,
type: r,
key: i,
ref: a !== void 0 ? a : null,
props: o
};
}
return Pe.Fragment = t, Pe.jsx = n, Pe.jsxs = n, Pe;
}
var ke = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var tn;
function Rr() {
return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
function e(s) {
if (s == null) return null;
if (typeof s == "function")
return s.$$typeof === Oe ? null : s.displayName || s.name || null;
if (typeof s == "string") return s;
switch (s) {
case P:
return "Fragment";
case I:
return "Profiler";
case S:
return "StrictMode";
case p:
return "Suspense";
case B:
return "SuspenseList";
case we:
return "Activity";
}
if (typeof s == "object")
switch (typeof s.tag == "number" && console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
), s.$$typeof) {
case D:
return "Portal";
case j:
return (s.displayName || "Context") + ".Provider";
case z:
return (s._context.displayName || "Context") + ".Consumer";
case M:
var c = s.render;
return s = s.displayName, s || (s = c.displayName || c.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
case ee:
return c = s.displayName || null, c !== null ? c : e(s.type) || "Memo";
case oe:
c = s._payload, s = s._init;
try {
return e(s(c));
} catch {
}
}
return null;
}
function t(s) {
return "" + s;
}
function n(s) {
try {
t(s);
var c = !1;
} catch {
c = !0;
}
if (c) {
c = console;
var v = c.error, _ = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
return v.call(
c,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
_
), t(s);
}
}
function r(s) {
if (s === P) return "<>";
if (typeof s == "object" && s !== null && s.$$typeof === oe)
return "<...>";
try {
var c = e(s);
return c ? "<" + c + ">" : "<...>";
} catch {
return "<...>";
}
}
function a() {
var s = ie.A;
return s === null ? null : s.getOwner();
}
function o() {
return Error("react-stack-top-frame");
}
function i(s) {
if (ge.call(s, "key")) {
var c = Object.getOwnPropertyDescriptor(s, "key").get;
if (c && c.isReactWarning) return !1;
}
return s.key !== void 0;
}
function l(s, c) {
function v() {
he || (he = !0, console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
c
));
}
v.isReactWarning = !0, Object.defineProperty(s, "key", {
get: v,
configurable: !0
});
}
function m() {
var s = e(this.type);
return q[s] || (q[s] = !0, console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
)), s = this.props.ref, s !== void 0 ? s : null;
}
function f(s, c, v, _, x, A, w, O) {
return v = A.ref, s = {
$$typeof: T,
type: s,
key: c,
props: A,
_owner: x
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(s, "ref", {
enumerable: !1,
get: m
}) : Object.defineProperty(s, "ref", { enumerable: !1, value: null }), s._store = {}, Object.defineProperty(s._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: 0
}), Object.defineProperty(s, "_debugInfo", {
configurable: !1,
enumerable: !1,
writable: !0,
value: null
}), Object.defineProperty(s, "_debugStack", {
configurable: !1,
enumerable: !1,
writable: !0,
value: w
}), Object.defineProperty(s, "_debugTask", {
configurable: !1,
enumerable: !1,
writable: !0,
value: O
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
}
function u(s, c, v, _, x, A, w, O) {
var E = c.children;
if (E !== void 0)
if (_)
if (Se(E)) {
for (_ = 0; _ < E.length; _++)
g(E[_]);
Object.freeze && Object.freeze(E);
} else
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else g(E);
if (ge.call(c, "key")) {
E = e(s);
var C = Object.keys(c).filter(function(W) {
return W !== "key";
});
_ = 0 < C.length ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}", ye[E + _] || (C = 0 < C.length ? "{" + C.join(": ..., ") + ": ...}" : "{}", console.error(
`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,
_,
E,
C,
E
), ye[E + _] = !0);
}
if (E = null, v !== void 0 && (n(v), E = "" + v), i(c) && (n(c.key), E = "" + c.key), "key" in c) {
v = {};
for (var R in c)
R !== "key" && (v[R] = c[R]);
} else v = c;
return E && l(
v,
typeof s == "function" ? s.displayName || s.name || "Unknown" : s
), f(
s,
E,
A,
x,
a(),
v,
w,
O
);
}
function g(s) {
typeof s == "object" && s !== null && s.$$typeof === T && s._store && (s._store.validated = 1);
}
var y = Je, T = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), j = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), ee = Symbol.for("react.memo"), oe = Symbol.for("react.lazy"), we = Symbol.for("react.activity"), Oe = Symbol.for("react.client.reference"), ie = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = Object.prototype.hasOwnProperty, Se = Array.isArray, V = console.createTask ? console.createTask : function() {
return null;
};
y = {
"react-stack-bottom-frame": function(s) {
return s();
}
};
var he, q = {}, G = y["react-stack-bottom-frame"].bind(
y,
o
)(), ue = V(r(o)), ye = {};
ke.Fragment = P, ke.jsx = function(s, c, v, _, x) {
var A = 1e4 > ie.recentlyCreatedOwnerStacks++;
return u(
s,
c,
v,
!1,
_,
x,
A ? Error("react-stack-top-frame") : G,
A ? V(r(s)) : ue
);
}, ke.jsxs = function(s, c, v, _, x) {
var A = 1e4 > ie.recentlyCreatedOwnerStacks++;
return u(
s,
c,
v,
!0,
_,
x,
A ? Error("react-stack-top-frame") : G,
A ? V(r(s)) : ue
);
};
}()), ke;
}
process.env.NODE_ENV === "production" ? vt.exports = Cr() : vt.exports = Rr();
var N = vt.exports, qn = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(e) {
(function() {
var t = {}.hasOwnProperty;
function n() {
for (var o = "", i = 0; i < arguments.length; i++) {
var l = arguments[i];
l && (o = a(o, r(l)));
}
return o;
}
function r(o) {
if (typeof o == "string" || typeof o == "number")
return o;
if (typeof o != "object")
return "";
if (Array.isArray(o))
return n.apply(null, o);
if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
return o.toString();
var i = "";
for (var l in o)
t.call(o, l) && o[l] && (i = a(i, l));
return i;
}
function a(o, i) {
return i ? o ? o + " " + i : o + i : o;
}
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
})();
})(qn);
var jr = qn.exports;
const Y = /* @__PURE__ */ Un(jr), ve = {
this: "_this_1c0jr_99",
"gutter-none": "_gutter-none_1c0jr_114",
"gutterX-none": "_gutterX-none_1c0jr_118",
"gutterY-none": "_gutterY-none_1c0jr_123",
"elevation-none": "_elevation-none_1c0jr_128",
"roundness-none": "_roundness-none_1c0jr_132",
"gutter-small": "_gutter-small_1c0jr_136",
"gutterX-small": "_gutterX-small_1c0jr_140",
"gutterY-small": "_gutterY-small_1c0jr_145",
"elevation-small": "_elevation-small_1c0jr_150",
"roundness-small": "_roundness-small_1c0jr_154",
"gutter-medium": "_gutter-medium_1c0jr_158",
"gutterX-medium": "_gutterX-medium_1c0jr_162",
"gutterY-medium": "_gutterY-medium_1c0jr_167",
"elevation-medium": "_elevation-medium_1c0jr_172",
"roundness-medium": "_roundness-medium_1c0jr_176",
"gutter-large": "_gutter-large_1c0jr_180",
"gutterX-large": "_gutterX-large_1c0jr_184",
"gutterY-large": "_gutterY-large_1c0jr_189",
"elevation-large": "_elevation-large_1c0jr_194",
"roundness-large": "_roundness-large_1c0jr_198"
}, X = ({
className: e,
as: t = "div",
testId: n = "Box",
elevation: r = "none",
gutter: a = "none",
gutterX: o = "none",
gutterY: i = "none",
roundness: l = "none",
...m
}) => /* @__PURE__ */ N.jsx(
t,
{
className: Y(
ve.this,
ve[`elevation-${r}`],
ve[`roundness-${l}`],
ve[`gutter-${a}`],
{
[ve[`gutterX-${o}`]]: o,
[ve[`gutterY-${i}`]]: i
},
e
),
"data-testid": n,
...m
}
);
X.displayName = "Box";
/*!
* Font Awesome Free 6.7.2 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 2024 Fonticons, Inc.
*/
function Nr(e, t, n) {
return (t = Mr(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
function nn(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
t && (r = r.filter(function(a) {
return Object.getOwnPropertyDescriptor(e, a).enumerable;
})), n.push.apply(n, r);
}
return n;
}
function d(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] != null ? arguments[t] : {};
t % 2 ? nn(Object(n), !0).forEach(function(r) {
Nr(e, r, n[r]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nn(Object(n)).forEach(function(r) {
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
});
}
return e;
}
function Ir(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
var r = n.call(e, t || "default");
if (typeof r != "object") return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
function Mr(e) {
var t = Ir(e, "string");
return typeof t == "symbol" ? t : t + "";
}
const rn = () => {
};
let zt = {}, Xn = {}, Hn = null, Bn = {
mark: rn,
measure: rn
};
try {
typeof window < "u" && (zt = window), typeof document < "u" && (Xn = document), typeof MutationObserver < "u" && (Hn = MutationObserver), typeof performance < "u" && (Bn = performance);
} catch {
}
const {
userAgent: an = ""
} = zt.navigator || {}, le = zt, $ = Xn, on = Hn, $e = Bn;
le.document;
const ae = !!$.documentElement && !!$.head && typeof $.addEventListener == "function" && typeof $.createElement == "function", Vn = ~an.indexOf("MSIE") || ~an.indexOf("Trident/");
var Fr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Lr = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, Gn = {
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"
}
}, Dr = {
GROUP: "duotone-group",
SWAP_OPACITY: "swap-opacity",
PRIMARY: "primary",
SECONDARY: "secondary"
}, Kn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], U = "classic", Ze = "duotone", zr = "sharp", $r = "sharp-duotone", Jn = [U, Ze, zr, $r], Yr = {
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"
}
}, Wr = {
"Font Awesome 6 Free": {
900: "fas",
400: "far"
},
"Font Awesome 6 Pro": {
900: "fas",
400: "far",
normal: "far",
300: "fal",
100: "fat"
},
"Font Awesome 6 Brands": {
400: "fab",
normal: "fab"
},
"Font Awesome 6 Duotone": {
900: "fad",
400: "fadr",
normal: "fadr",
300: "fadl",
100: "fadt"
},
"Font Awesome 6 Sharp": {
900: "fass",
400: "fasr",
normal: "fasr",
300: "fasl",
100: "fast"
},
"Font Awesome 6 Sharp Duotone": {
900: "fasds",
400: "fasdr",
normal: "fasdr",
300: "fasdl",
100: "fasdt"
}
}, Ur = /* @__PURE__ */ new Map([["classic", {
defaultShortPrefixId: "fas",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin", "brands"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["sharp", {
defaultShortPrefixId: "fass",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["duotone", {
defaultShortPrefixId: "fad",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin"],
futureStyleIds: [],
defaultFontWeight: 900
}], ["sharp-duotone", {
defaultShortPrefixId: "fasds",
defaultStyleId: "solid",
styleIds: ["solid", "regular", "light", "thin"],
futureStyleIds: [],
defaultFontWeight: 900
}]]), qr = {
classic: {
solid: "fas",
regular: "far",
light: "fal",
thin: "fat",
brands: "fab"
},
duotone: {
solid: "fad",
regular: "fadr",
light: "fadl",
thin: "fadt"
},
sharp: {
solid: "fass",
regular: "fasr",
light: "fasl",
thin: "fast"
},
"sharp-duotone": {
solid: "fasds",
regular: "fasdr",
light: "fasdl",
thin: "fasdt"
}
}, Xr = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], sn = {
kit: {
fak: "kit",
"fa-kit": "kit"
},
"kit-duotone": {
fakd: "kit-duotone",
"fa-kit-duotone": "kit-duotone"
}
}, Hr = ["kit"], Br = {
kit: {
"fa-kit": "fak"
},
"kit-duotone": {
"fa-kit-duotone": "fakd"
}
}, Vr = ["fak", "fakd"], Gr = {
kit: {
fak: "fa-kit"
},
"kit-duotone": {
fakd: "fa-kit-duotone"
}
}, ln = {
kit: {
kit: "fak"
},
"kit-duotone": {
"kit-duotone": "fakd"
}
}, Ye = {
GROUP: "duotone-group",
SWAP_OPACITY: "swap-opacity",
PRIMARY: "primary",
SECONDARY: "secondary"
}, Kr = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], Jr = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], Zr = {
"Font Awesome Kit": {
400: "fak",
normal: "fak"
},
"Font Awesome Kit Duotone": {
400: "fakd",
normal: "fakd"
}
}, Qr = {
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"
}
}, ea = {
classic: ["fas", "far", "fal", "fat", "fad"],
duotone: ["fadr", "fadl", "fadt"],
sharp: ["fass", "fasr", "fasl", "fast"],
"sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"]
}, bt = {
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"
}
}, ta = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands"], _t = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", ...Kr, ...ta], na = ["solid", "regular", "light", "thin", "duotone", "brands"], Zn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], ra = Zn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), aa = [...Object.keys(ea), ...na, "2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", Ye.GROUP, Ye.SWAP_OPACITY, Ye.PRIMARY, Ye.SECONDARY].concat(Zn.map((e) => "".concat(e, "x"))).concat(ra.map((e) => "w-".concat(e))), oa = {
"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"
}
};
const te = "___FONT_AWESOME___", xt = 16, Qn = "fa", er = "svg-inline--fa", me = "data-fa-i2svg", Et = "data-fa-pseudo-element", ia = "data-fa-pseudo-element-pending", $t = "data-prefix", Yt = "data-icon", cn = "fontawesome-i2svg", sa = "async", la = ["HTML", "HEAD", "STYLE", "SCRIPT"], tr = (() => {
try {
return process.env.NODE_ENV === "production";
} catch {
return !1;
}
})();
function Fe(e) {
return new Proxy(e, {
get(t, n) {
return n in t ? t[n] : t[U];
}
});
}
const nr = d({}, Gn);
nr[U] = d(d(d(d({}, {
"fa-duotone": "duotone"
}), Gn[U]), sn.kit), sn["kit-duotone"]);
const ca = Fe(nr), At = d({}, qr);
At[U] = d(d(d(d({}, {
duotone: "fad"
}), At[U]), ln.kit), ln["kit-duotone"]);
const fn = Fe(At), Tt = d({}, bt);
Tt[U] = d(d({}, Tt[U]), Gr.kit);
const Wt = Fe(Tt), wt = d({}, Qr);
wt[U] = d(d({}, wt[U]), Br.kit);
Fe(wt);
const fa = Fr, rr = "fa-layers-text", ua = Lr, da = d({}, Yr);
Fe(da);
const ma = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], rt = Dr, pa = [...Hr, ...aa], je = le.FontAwesomeConfig || {};
function ga(e) {
var t = $.querySelector("script[" + e + "]");
if (t)
return t.getAttribute(e);
}
function ha(e) {
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
}
$ && typeof $.querySelector == "function" && [["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-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((t) => {
let [n, r] = t;
const a = ha(ga(n));
a != null && (je[r] = a);
});
const ar = {
styleDefault: "solid",
familyDefault: U,
cssPrefix: Qn,
replacementClass: er,
autoReplaceSvg: !0,
autoAddCss: !0,
autoA11y: !0,
searchPseudoElements: !1,
observeMutations: !0,
mutateApproach: "async",
keepOriginalSource: !0,
measurePerformance: !1,
showMissingIcons: !0
};
je.familyPrefix && (je.cssPrefix = je.familyPrefix);
const Ae = d(d({}, ar), je);
Ae.autoReplaceSvg || (Ae.observeMutations = !1);
const b = {};
Object.keys(ar).forEach((e) => {
Object.defineProperty(b, e, {
enumerable: !0,
set: function(t) {
Ae[e] = t, Ne.forEach((n) => n(b));
},
get: function() {
return Ae[e];
}
});
});
Object.defineProperty(b, "familyPrefix", {
enumerable: !0,
set: function(e) {
Ae.cssPrefix = e, Ne.forEach((t) => t(b));
},
get: function() {
return Ae.cssPrefix;
}
});
le.FontAwesomeConfig = b;
const Ne = [];
function ya(e) {
return Ne.push(e), () => {
Ne.splice(Ne.indexOf(e), 1);
};
}
const se = xt, Z = {
size: 16,
x: 0,
y: 0,
rotate: 0,
flipX: !1,
flipY: !1
};
function va(e) {
if (!e || !ae)
return;
const t = $.createElement("style");
t.setAttribute("type", "text/css"), t.innerHTML = e;
const n = $.head.childNodes;
let r = null;
for (let a = n.length - 1; a > -1; a--) {
const o = n[a], i = (o.tagName || "").toUpperCase();
["STYLE", "LINK"].indexOf(i) > -1 && (r = o);
}
return $.head.insertBefore(t, r), e;
}
const ba = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
function Ie() {
let e = 12, t = "";
for (; e-- > 0; )
t += ba[Math.random() * 62 | 0];
return t;
}
function Te(e) {
const t = [];
for (let n = (e || []).length >>> 0; n--; )
t[n] = e[n];
return t;
}
function Ut(e) {
return e.classList ? Te(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
}
function or(e) {
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
}
function _a(e) {
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(or(e[n]), '" '), "").trim();
}
function Qe(e) {
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, ": ").concat(e[n].trim(), ";"), "");
}
function qt(e) {
return e.size !== Z.size || e.x !== Z.x || e.y !== Z.y || e.rotate !== Z.rotate || e.flipX || e.flipY;
}
function xa(e) {
let {
transform: t,
containerWidth: n,
iconWidth: r
} = e;
const a = {
transform: "translate(".concat(n / 2, " 256)")
}, o = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), i = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), l = "rotate(".concat(t.rotate, " 0 0)"), m = {
transform: "".concat(o, " ").concat(i, " ").concat(l)
}, f = {
transform: "translate(".concat(r / 2 * -1, " -256)")
};
return {
outer: a,
inner: m,
path: f
};
}
function Ea(e) {
let {
transform: t,
width: n = xt,
height: r = xt,
startCentered: a = !1
} = e, o = "";
return a && Vn ? o += "translate(".concat(t.x / se - n / 2, "em, ").concat(t.y / se - r / 2, "em) ") : a ? o += "translate(calc(-50% + ".concat(t.x / se, "em), calc(-50% + ").concat(t.y / se, "em)) ") : o += "translate(".concat(t.x / se, "em, ").concat(t.y / se, "em) "), o += "scale(".concat(t.size / se * (t.flipX ? -1 : 1), ", ").concat(t.size / se * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
}
var Aa = `:root, :host {
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
}
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
overflow: visible;
box-sizing: content-box;
}
.svg-inline--fa {
display: var(--fa-display, inline-block);
height: 1em;
overflow: visible;
vertical-align: -0.125em;
}
.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.0714285705em;
}
.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 {
margin-right: var(--fa-pull-margin, 0.3em);
width: auto;
}
.svg-inline--fa.fa-pull-right {
margin-left: var(--fa-pull-margin, 0.3em);
width: auto;
}
.svg-inline--fa.fa-li {
width: var(--fa-li-width, 2em);
top: 0.25em;
}
.svg-inline--fa.fa-fw {
width: var(--fa-fw-width, 1.25em);
}
.fa-layers svg.svg-inline--fa {
bottom: 0;
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 0;
}
.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: 1em;
}
.fa-layers svg.svg-inline--fa {
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: 0.625em;
line-height: 0.1em;
vertical-align: 0.225em;
}
.fa-xs {
font-size: 0.75em;
line-height: 0.0833333337em;
vertical-align: 0.125em;
}
.fa-sm {
font-size: 0.875em;
line-height: 0.0714285718em;
vertical-align: 0.0535714295em;
}
.fa-lg {
font-size: 1.25em;
line-height: 0.05em;
vertical-align: -0.075em;
}
.fa-xl {
font-size: 1.5em;
line-height: 0.0416666682em;
vertical-align: -0.125em;
}
.fa-2xl {
font-size: 2em;
line-height: 0.03125em;
vertical-align: -0.1875em;
}
.fa-fw {
text-align: center;
width: 1.25em;
}
.fa-ul {
list-style-type: none;
margin-left: var(--fa-li-margin, 2.5em);
padding-left: 0;
}
.fa-ul > li {
position: relative;
}
.fa-li {
left: calc(-1 * var(--fa-li-width, 2em));
position: absolute;
text-align: center;
width: var(--fa-li-width, 2em);
line-height: inherit;
}
.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.08em);
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
}
.fa-pull-left {
float: left;
margin-right: var(--fa-pull-margin, 0.3em);
}
.fa-pull-right {
float: right;
margin-left: 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-delay: -1ms;
animation-duration: 1ms;
animation-iteration-count: 1;
transition-delay: 0s;
transition-duration: 0s;
}
}
@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));
}
.fa-stack {
display: inline-block;
vertical-align: middle;
height: 2em;
position: relative;
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);
}
.svg-inline--fa.fa-stack-1x {
height: 1em;
width: 1.25em;
}
.svg-inline--fa.fa-stack-2x {
height: 2em;
width: 2.5em;
}
.fa-inverse {
color: var(--fa-inverse, #fff);
}
.sr-only,
.fa-sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.sr-only-focusable:not(:focus),
.fa-sr-only-focusable:not(:focus) {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 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;
}`;
function ir() {
const e = Qn, t = er, n = b.cssPrefix, r = b.replacementClass;
let a = Aa;
if (n !== e || r !== t) {
const o = new RegExp("\\.".concat(e, "\\-"), "g"), i = new RegExp("\\--".concat(e, "\\-"), "g"), l = new RegExp("\\.".concat(t), "g");
a = a.replace(o, ".".concat(n, "-")).replace(i, "--".concat(n, "-")).replace(l, ".".concat(r));
}
return a;
}
let un = !1;
function at() {
b.autoAddCss && !un && (va(ir()), un = !0);
}
var Ta = {
mixout() {
return {
dom: {
css: ir,
insertCss: at
}
};
},
hooks() {
return {
beforeDOMElementCreation() {
at();
},
beforeI2svg() {
at();
}
};
}
};
const ne = le || {};
ne[te] || (ne[te] = {});
ne[te].styles || (ne[te].styles = {});
ne[te].hooks || (ne[te].hooks = {});
ne[te].shims || (ne[te].shims = []);
var Q = ne[te];
const sr = [], lr = function() {
$.removeEventListener("DOMContentLoaded", lr), Ve = 1, sr.map((e) => e());
};
let Ve = !1;
ae && (Ve = ($.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test($.readyState), Ve || $.addEventListener("DOMContentLoaded", lr));
function wa(e) {
ae && (Ve ? setTimeout(e, 0) : sr.push(e));
}
function Le(e) {
const {
tag: t,
attributes: n = {},
children: r = []
} = e;
return typeof e == "string" ? or(e) : "<".concat(t, " ").concat(_a(n), ">").concat(r.map(Le).join(""), "</").concat(t, ">");
}
function dn(e, t, n) {
if (e && e[t] && e[t][n])
return {
prefix: t,
iconName: n,
icon: e[t][n]
};
}
var ot = function(t, n, r, a) {
var o = Object.keys(t), i = o.length, l = n, m, f, u;
for (r === void 0 ? (m = 1, u = t[o[0]]) : (m = 0, u = r); m < i; m++)
f = o[m], u = l(u, t[f], f, t);
return u;
};
function Oa(e) {
const t = [];
let n = 0;
const r = e.length;
for (; n < r; ) {
const a = e.charCodeAt(n++);
if (a >= 55296 && a <= 56319 && n < r) {
const o = e.charCodeAt(n++);
(o & 64512) == 56320 ? t.push(((a & 1023) << 10) + (o & 1023) + 65536) : (t.push(a), n--);
} else
t.push(a);
}
return t;
}
function Ot(e) {
const t = Oa(e);
return t.length === 1 ? t[0].toString(16) : null;
}
function Sa(e, t) {
const n = e.length;
let r = e.charCodeAt(t), a;
return r >= 55296 && r <= 56319 && n > t + 1 && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (r - 55296) * 1024 + a - 56320 + 65536 : r;
}
function mn(e) {
return Object.keys(e).reduce((t, n) => {
const r = e[n];
return !!r.icon ? t[r.iconName] = r.icon : t[n] = r, t;
}, {});
}
function St(e, t) {
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
const {
skipHooks: r = !1
} = n, a = mn(t);
typeof Q.hooks.addPack == "function" && !r ? Q.hooks.addPack(e, mn(t)) : Q.styles[e] = d(d({}, Q.styles[e] || {}), a), e === "fas" && St("fa", t);
}
const {
styles: Me,
shims: Pa
} = Q, cr = Object.keys(Wt), ka = cr.reduce((e, t) => (e[t] = Object.keys(Wt[t]), e), {});
let Xt = null, fr = {}, ur = {}, dr = {}, mr = {}, pr = {};
function Ca(e) {
return ~pa.indexOf(e);
}
function Ra(e, t) {
const n = t.split("-"), r = n[0], a = n.slice(1).join("-");
return r === e && a !== "" && !Ca(a) ? a : null;
}
const gr = () => {
const e = (r) => ot(Me, (a, o, i) => (a[i] = ot(o, r, {}), a), {});
fr = e((r, a, o) => (a[3] && (r[a[3]] = o), a[2] && a[2].filter((l) => typeof l == "number").forEach((l) => {
r[l.toString(16)] = o;
}), r)), ur = e((r, a, o) => (r[o] = o, a[2] && a[2].filter((l) => typeof l == "string").forEach((l) => {
r[l] = o;
}), r)), pr = e((r, a, o) => {
const i = a[2];
return r[o] = o, i.forEach((l) => {
r[l] = o;
}), r;
});
const t = "far" in Me || b.autoFetchSvg, n = ot(Pa, (r, a) => {
const o = a[0];
let i = a[1];
const l = a[2];
return i === "far" && !t && (i = "fas"), typeof o == "string" && (r.names[o] = {
prefix: i,
iconName: l
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
prefix: i,
iconName: l
}), r;
}, {
names: {},
unicodes: {}
});
dr = n.names, mr = n.unicodes, Xt = et(b.styleDefault, {
family: b.familyDefault
});
};
ya((e) => {
Xt = et(e.styleDefault, {
family: b.familyDefault
});
});
gr();
function Ht(e, t) {
return (fr[e] || {})[t];
}
function ja(e, t) {
return (ur[e] || {})[t];
}
function de(e, t) {
return (pr[e] || {})[t];
}
function hr(e) {
return dr[e] || {
prefix: null,
iconName: null
};
}
function Na(e) {
const t = mr[e], n = Ht("fas", e);
return t || (n ? {
prefix: "fas",
iconName: n
} : null) || {
prefix: null,
iconName: null
};
}
function ce() {
return Xt;
}
const yr = () => ({
prefix: null,
iconName: null,
rest: []
});
function Ia(e) {
let t = U;
const n = cr.reduce((r, a) => (r[a] = "".concat(b.cssPrefix, "-").concat(a), r), {});
return Jn.forEach((r) => {
(e.includes(n[r]) || e.some((a) => ka[r].includes(a))) && (t = r);
}), t;
}
function et(e) {
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
const {
family: n = U
} = t, r = ca[n][e];
if (n === Ze && !e)
return "fad";
const a = fn[n][e] || fn[n][r], o = e in Q.styles ? e : null;
return a || o || null;
}
function Ma(e) {
let t = [], n = null;
return e.forEach((r) => {
const a = Ra(b.cssPrefix, r);
a ? n = a : r && t.push(r);
}), {
iconName: n,
rest: t
};
}
function pn(e) {
return e.sort().filter((t, n, r) => r.indexOf(t) === n);
}
function tt(e) {
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
const {
skipLookups: n = !1
} = t;
let r = null;
const a = _t.concat(Jr), o = pn(e.filter((g) => a.includes(g))), i = pn(e.filter((g) => !_t.includes(g))), l = o.filter((g) => (r = g, !Kn.includes(g))), [m = null] = l, f = Ia(o), u = d(d({}, Ma(i)), {}, {
prefix: et(m, {
family: f
})
});
return d(d(d({}, u), za({
values: e,
family: f,
styles: Me,
config: b,
canonical: u,
givenPrefix: r
})), Fa(n, r, u));
}
function Fa(e, t, n) {
let {
prefix: r,
iconName: a
} = n;
if (e || !r || !a)
return {
prefix: r,
iconName: a
};
const o = t === "fa" ? hr(a) : {}, i = de(r, a);
return a = o.iconName || i || a, r = o.prefix || r, r === "far" && !Me.far && Me.fas && !b.autoFetchSvg && (r = "fas"), {
prefix: r,
iconName: a
};
}
const La = Jn.filter((e) => e !== U || e !== Ze), Da = Object.keys(bt).filter((e) => e !== U).map((e) => Object.keys(bt[e])).flat();
function za(e) {
const {
values: t,
family: n,
canonical: r,
givenPrefix: a = "",
styles: o = {},
config: i = {}
} = e, l = n === Ze, m = t.includes("fa-duotone") || t.includes("fad"), f = i.familyDefault === "duotone", u = r.prefix === "fad" || r.prefix === "fa-duotone";
if (!l && (m || f || u) && (r.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (r.prefix = "fab"), !r.prefix && La.includes(n) && (Object.keys(o).find((y) => Da.includes(y)) || i.autoFetchSvg)) {
const y = Ur.get(n).defaultShortPrefixId;
r.prefix = y, r.iconName = de(r.prefix, r.iconName) || r.iconName;
}
return (r.prefix === "fa" || a === "fa") && (r.prefix = ce() || "fas"), r;
}
class $a {
constructor() {
this.definitions = {};
}
add() {
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
n[r] = arguments[r];
const a = n.reduce(this._pullDefinitions, {});
Object.keys(a).forEach((o) => {
this.definitions[o] = d(d({}, this.definitions[o] || {}), a[o]), St(o, a[o]);
const i = Wt[U][o];
i && St(i, a[o]), gr();
});
}
reset() {
this.definitions = {};
}
_pullDefinitions(t, n) {
const r = n.prefix && n.iconName && n.icon ? {
0: n
} : n;
return Object.keys(r).map((a) => {
const {
prefix: o,
iconName: i,
icon: l
} = r[a], m = l[2];
t[o] || (t[o] = {}), m.length > 0 && m.forEach((f) => {
typeof f == "string" && (t[o][f] = l);
}), t[o][i] = l;
}), t;
}
}
let gn = [], _e = {};
const Ee = {}, Ya = Object.keys(Ee);
function Wa(e, t) {
let {
mixoutsTo: n
} = t;
return gn = e, _e = {}, Object.keys(Ee).forEach((r) => {
Ya.indexOf(r) === -1 && delete Ee[r];
}), gn.forEach((r) => {
const a = r.mixout ? r.mixout() : {};
if (Object.keys(a).forEach((o) => {
typeof a[o] == "function" && (n[o] = a[o]), typeof a[o] == "object" && Object.keys(a[o]).forEach((i) => {
n[o] || (n[o] = {}), n[o][i] = a[o][i];
});
}), r.hooks) {
const o = r.hooks();
Object.keys(o).forEach((i) => {
_e[i] || (_e[i] = []), _e[i].push(o[i]);
});
}
r.provides && r.provides(Ee);
}), n;
}
function Pt(e, t) {
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), a = 2; a < n; a++)
r[a - 2] = arguments[a];
return (_e[e] || []).forEach((i) => {
t = i.apply(null, [t, ...r]);
}), t;
}
function pe(e) {
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
n[r - 1] = arguments[r];
(_e[e] || []).forEach((o) => {
o.apply(null, n);
});
}
function fe() {
const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
return Ee[e] ? Ee[e].apply(null, t) : void 0;
}
function kt(e) {
e.prefix === "fa" && (e.prefix = "fas");
let {
iconName: t
} = e;
const n = e.prefix || ce();
if (t)
return t = de(n, t) || t, dn(vr.definitions, n, t) || dn(Q.styles, n, t);
}
const vr = new $a(), Ua = () => {
b.autoReplaceSvg = !1, b.observeMutations = !1, pe("noAuto");
}, qa = {
i2svg: function() {
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
return ae ? (pe("beforeI2svg", e), fe("pseudoElements2svg", e), fe("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
},
watch: function() {
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
const {
autoReplaceSvgRoot: t
} = e;
b.autoReplaceSvg === !1 && (b.autoReplaceSvg = !0), b.observeMutations = !0, wa(() => {
Ha({
autoReplaceSvgRoot: t
}), pe("watch", e);
});
}
}, Xa = {
icon: (e) => {
if (e === null)
return null;
if (typeof e == "object" && e.prefix && e.iconName)
return {
prefix: e.prefix,
iconName: de(e.prefix, e.iconName) || e.iconName
};
if (Array.isArray(e) && e.length === 2) {
const t = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], n = et(e[0]);
return {
prefix: n,
iconName: de(n, t) || t
};
}
if (typeof e == "string" && (e.indexOf("".concat(b.cssPrefix, "-")) > -1 || e.match(fa))) {
const t = tt(e.split(" "), {
skipLookups: !0
});
return {
prefix: t.prefix || ce(),
iconName: de(t.prefix, t.iconName) || t.iconName
};
}
if (typeof e == "string") {
const t = ce();
return {
prefix: t,
iconName: de(t, e) || e
};
}
}
}, H = {
noAuto: Ua,
config: b,
dom: qa,
parse: Xa,
library: vr,
findIconDefinition: kt,
toHtml: Le
}, Ha = function() {
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
const {
autoReplaceSvgRoot: t = $
} = e;
(Object.keys(Q.styles).length > 0 || b.autoFetchSvg) && ae && b.autoReplaceSvg && H.dom.i2svg({
node: t