339 lines
35 KiB
JavaScript
339 lines
35 KiB
JavaScript
|
/*!
|
||
|
* Font Awesome Free 6.7.1 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 (global, factory) {
|
||
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||
|
typeof define === 'function' && define.amd ? define(factory) :
|
||
|
(global['fontawesome-free-shims'] = factory());
|
||
|
}(this, (function () { 'use strict';
|
||
|
|
||
|
let _WINDOW = {};
|
||
|
let _DOCUMENT = {};
|
||
|
try {
|
||
|
if (typeof window !== 'undefined') _WINDOW = window;
|
||
|
if (typeof document !== 'undefined') _DOCUMENT = document;
|
||
|
} catch (e) {}
|
||
|
const {
|
||
|
userAgent = ''
|
||
|
} = _WINDOW.navigator || {};
|
||
|
const WINDOW = _WINDOW;
|
||
|
const DOCUMENT = _DOCUMENT;
|
||
|
const IS_BROWSER = !!WINDOW.document;
|
||
|
const IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
|
||
|
const IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
|
||
|
|
||
|
function _defineProperty(e, r, t) {
|
||
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
||
|
value: t,
|
||
|
enumerable: !0,
|
||
|
configurable: !0,
|
||
|
writable: !0
|
||
|
}) : e[r] = t, e;
|
||
|
}
|
||
|
function ownKeys(e, r) {
|
||
|
var t = Object.keys(e);
|
||
|
if (Object.getOwnPropertySymbols) {
|
||
|
var o = Object.getOwnPropertySymbols(e);
|
||
|
r && (o = o.filter(function (r) {
|
||
|
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
||
|
})), t.push.apply(t, o);
|
||
|
}
|
||
|
return t;
|
||
|
}
|
||
|
function _objectSpread2(e) {
|
||
|
for (var r = 1; r < arguments.length; r++) {
|
||
|
var t = null != arguments[r] ? arguments[r] : {};
|
||
|
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
||
|
_defineProperty(e, r, t[r]);
|
||
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
||
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
||
|
});
|
||
|
}
|
||
|
return e;
|
||
|
}
|
||
|
function _toPrimitive(t, r) {
|
||
|
if ("object" != typeof t || !t) return t;
|
||
|
var e = t[Symbol.toPrimitive];
|
||
|
if (void 0 !== e) {
|
||
|
var i = e.call(t, r || "default");
|
||
|
if ("object" != typeof i) return i;
|
||
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
|
}
|
||
|
return ("string" === r ? String : Number)(t);
|
||
|
}
|
||
|
function _toPropertyKey(t) {
|
||
|
var i = _toPrimitive(t, "string");
|
||
|
return "symbol" == typeof i ? i : i + "";
|
||
|
}
|
||
|
|
||
|
var S = {
|
||
|
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"
|
||
|
}
|
||
|
};
|
||
|
var s = "classic";
|
||
|
var G = {
|
||
|
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"
|
||
|
}
|
||
|
};
|
||
|
var xt = {
|
||
|
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"
|
||
|
}
|
||
|
};
|
||
|
var St = {
|
||
|
kit: {
|
||
|
fak: "kit",
|
||
|
"fa-kit": "kit"
|
||
|
},
|
||
|
"kit-duotone": {
|
||
|
fakd: "kit-duotone",
|
||
|
"fa-kit-duotone": "kit-duotone"
|
||
|
}
|
||
|
};
|
||
|
var Ct = {
|
||
|
kit: {
|
||
|
"fa-kit": "fak"
|
||
|
},
|
||
|
"kit-duotone": {
|
||
|
"fa-kit-duotone": "fakd"
|
||
|
}
|
||
|
};
|
||
|
var Wt = {
|
||
|
kit: {
|
||
|
fak: "fa-kit"
|
||
|
},
|
||
|
"kit-duotone": {
|
||
|
fakd: "fa-kit-duotone"
|
||
|
}
|
||
|
};
|
||
|
var Et = {
|
||
|
kit: {
|
||
|
kit: "fak"
|
||
|
},
|
||
|
"kit-duotone": {
|
||
|
"kit-duotone": "fakd"
|
||
|
}
|
||
|
};
|
||
|
|
||
|
var po = {
|
||
|
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"
|
||
|
}
|
||
|
},
|
||
|
co = {
|
||
|
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"
|
||
|
}
|
||
|
};
|
||
|
|
||
|
const NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
|
||
|
const PRODUCTION = (() => {
|
||
|
try {
|
||
|
return process.env.NODE_ENV === 'production';
|
||
|
} catch (e$$1) {
|
||
|
return false;
|
||
|
}
|
||
|
})();
|
||
|
function familyProxy(obj) {
|
||
|
// Defaults to the classic family if family is not available
|
||
|
return new Proxy(obj, {
|
||
|
get(target, prop) {
|
||
|
return prop in target ? target[prop] : target[s];
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
const _PREFIX_TO_STYLE = _objectSpread2({}, S);
|
||
|
|
||
|
// We changed FACSSClassesToStyleId in the icons repo to be canonical and as such, "classic" family does not have any
|
||
|
// duotone styles. But we do still need duotone in _PREFIX_TO_STYLE below, so we are manually adding
|
||
|
// {'fa-duotone': 'duotone'}
|
||
|
_PREFIX_TO_STYLE[s] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
|
||
|
'fa-duotone': 'duotone'
|
||
|
}), S[s]), St['kit']), St['kit-duotone']);
|
||
|
const PREFIX_TO_STYLE = familyProxy(_PREFIX_TO_STYLE);
|
||
|
const _STYLE_TO_PREFIX = _objectSpread2({}, xt);
|
||
|
|
||
|
// We changed FAStyleIdToShortPrefixId in the icons repo to be canonical and as such, "classic" family does not have any
|
||
|
// duotone styles. But we do still need duotone in _STYLE_TO_PREFIX below, so we are manually adding {duotone: 'fad'}
|
||
|
_STYLE_TO_PREFIX[s] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
|
||
|
duotone: 'fad'
|
||
|
}), _STYLE_TO_PREFIX[s]), Et['kit']), Et['kit-duotone']);
|
||
|
const STYLE_TO_PREFIX = familyProxy(_STYLE_TO_PREFIX);
|
||
|
const _PREFIX_TO_LONG_STYLE = _objectSpread2({}, co);
|
||
|
_PREFIX_TO_LONG_STYLE[s] = _objectSpread2(_objectSpread2({}, _PREFIX_TO_LONG_STYLE[s]), Wt['kit']);
|
||
|
const PREFIX_TO_LONG_STYLE = familyProxy(_PREFIX_TO_LONG_STYLE);
|
||
|
const _LONG_STYLE_TO_PREFIX = _objectSpread2({}, po);
|
||
|
_LONG_STYLE_TO_PREFIX[s] = _objectSpread2(_objectSpread2({}, _LONG_STYLE_TO_PREFIX[s]), Ct['kit']);
|
||
|
const LONG_STYLE_TO_PREFIX = familyProxy(_LONG_STYLE_TO_PREFIX);
|
||
|
const _FONT_WEIGHT_TO_PREFIX = _objectSpread2({}, G);
|
||
|
const FONT_WEIGHT_TO_PREFIX = familyProxy(_FONT_WEIGHT_TO_PREFIX);
|
||
|
|
||
|
function bunker(fn) {
|
||
|
try {
|
||
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
||
|
args[_key - 1] = arguments[_key];
|
||
|
}
|
||
|
fn(...args);
|
||
|
} catch (e) {
|
||
|
if (!PRODUCTION) {
|
||
|
throw e;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const w = WINDOW || {};
|
||
|
if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
|
||
|
if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
|
||
|
if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
|
||
|
if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
|
||
|
var namespace = w[NAMESPACE_IDENTIFIER];
|
||
|
|
||
|
const shims = [["glass", null, "martini-glass-empty"], ["envelope-o", "far", "envelope"], ["star-o", "far", "star"], ["remove", null, "xmark"], ["close", null, "xmark"], ["gear", null, "gear"], ["trash-o", "far", "trash-can"], ["home", null, "house"], ["file-o", "far", "file"], ["clock-o", "far", "clock"], ["arrow-circle-o-down", "far", "circle-down"], ["arrow-circle-o-up", "far", "circle-up"], ["play-circle-o", "far", "circle-play"], ["repeat", null, "arrow-rotate-right"], ["rotate-right", null, "arrow-rotate-right"], ["refresh", null, "arrows-rotate"], ["list-alt", "far", "rectangle-list"], ["dedent", null, "outdent"], ["video-camera", null, "video"], ["picture-o", "far", "image"], ["photo", "far", "image"], ["image", "far", "image"], ["map-marker", null, "location-dot"], ["pencil-square-o", "far", "pen-to-square"], ["edit", "far", "pen-to-square"], ["share-square-o", null, "share-from-square"], ["check-square-o", "far", "square-check"], ["arrows", null, "up-down-left-right"], ["times-circle-o", "far", "circle-xmark"], ["check-circle-o", "far", "circle-check"], ["mail-forward", null, "share"], ["expand", null, "up-right-and-down-left-from-center"], ["compress", null, "down-left-and-up-right-to-center"], ["eye", "far", null], ["eye-slash", "far", null], ["warning", null, "triangle-exclamation"], ["calendar", null, "calendar-days"], ["arrows-v", null, "up-down"], ["arrows-h", null, "left-right"], ["bar-chart", null, "chart-column"], ["bar-chart-o", null, "chart-column"], ["twitter-square", "fab", "square-twitter"], ["facebook-square", "fab", "square-facebook"], ["gears", null, "gears"], ["thumbs-o-up", "far", "thumbs-up"], ["thumbs-o-down", "far", "thumbs-down"], ["heart-o", "far", "heart"], ["sign-out", null, "right-from-bracket"], ["linkedin-square", "fab", "linkedin"], ["thumb-tack", null, "thumbtack"], ["external-link", null, "up-right-from-square"], ["sign-in", null, "right-to-bracket"], ["github-square", "fab", "square-github"], ["lemon-o", "far", "lemon"], ["square-o", "far", "square"], ["bookmark-o", "far", "bookmark"], ["twitter", "fab", null], ["facebook", "fab", "facebook-f"], ["facebook-f", "fab", "facebook-f"], ["github", "fab", null], ["credit-card", "far", null], ["feed", null, "rss"], ["hdd-o", "far", "hard-drive"], ["hand-o-right", "far", "hand-point-right"], ["hand-o-left", "far", "hand-point-left"], ["hand-o-up", "far", "hand-point-up"], ["hand-o-down", "far", "hand-point-down"], ["globe", null, "earth-americas"], ["tasks", null, "bars-progress"], ["arrows-alt", null, "maximize"], ["group", null, "users"], ["chain", null, "link"], ["cut", null, "scissors"], ["files-o", "far", "copy"], ["floppy-o", "far", "floppy-disk"], ["save", "far", "floppy-disk"], ["navicon", null, "bars"], ["reorder", null, "bars"], ["magic", null, "wand-magic-sparkles"], ["pinterest", "fab", null], ["pinterest-square", "fab", "square-pinterest"], ["google-plus-square", "fab", "square-google-plus"], ["google-plus", "fab", "google-plus-g"], ["money", null, "money-bill-1"], ["unsorted", null, "sort"], ["sort-desc", null, "sort-down"], ["sort-asc", null, "sort-up"], ["linkedin", "fab", "linkedin-in"], ["rotate-left", null, "arrow-rotate-left"], ["legal", null, "gavel"], ["tachometer", null, "gauge-high"], ["dashboard", null, "gauge-high"], ["comment-o", "far", "comment"], ["comments-o", "far", "comments"], ["flash", null, "bolt"], ["clipboard", null, "paste"], ["lightbulb-o", "far", "lightbulb"], ["exchange", null, "right-left"], ["cloud-download", null, "cloud-arrow-down"], ["cloud-upload", null, "cloud-arrow-up"], ["bell-o", "far", "bell"], ["cutlery", null, "utensils"], ["file-text-o", "far", "file-lines"], ["building-o", "far", "building"], ["hospital-o", "far", "hospital"], ["tablet", null, "tablet-screen-button"], ["mobile", null, "mobile-screen-button"], ["mobile-phone", null, "mobile-screen-button"], ["circle-o", "far", "circle"], ["mail-reply", null, "reply"], ["github-alt", "fab", null], ["folder-o", "far", "folder"], ["folder-open-o", "far", "folder-open"], ["smile-o", "far", "face-smile"], ["frown-o", "far", "face-frow
|
||
|
bunker(() => {
|
||
|
if (typeof namespace.hooks.addShims === 'function') {
|
||
|
namespace.hooks.addShims(shims);
|
||
|
} else {
|
||
|
namespace.shims.push(...shims);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
return shims;
|
||
|
|
||
|
})));
|