summaryrefslogtreecommitdiff
path: root/assets/plugins/font-awesome/js/fontawesome.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/plugins/font-awesome/js/fontawesome.js')
-rw-r--r--assets/plugins/font-awesome/js/fontawesome.js60
1 files changed, 2 insertions, 58 deletions
diff --git a/assets/plugins/font-awesome/js/fontawesome.js b/assets/plugins/font-awesome/js/fontawesome.js
index 01e0981..ae4b1f2 100644
--- a/assets/plugins/font-awesome/js/fontawesome.js
+++ b/assets/plugins/font-awesome/js/fontawesome.js
@@ -1,5 +1,5 @@
/*!
- * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
+ * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
(function () {
@@ -1109,7 +1109,7 @@
mark: noop$1,
measure: noop$1
};
- var preamble = "FA \"5.15.1\"";
+ var preamble = "FA \"5.15.3\"";
var begin = function begin(name) {
p.mark("".concat(preamble, " ").concat(name, " begins"));
@@ -1186,35 +1186,6 @@
return result;
}
- function codePointAt(string, index) {
- /*! https://mths.be/codepointat v0.2.0 by @mathias */
- var size = string.length;
- var first = string.charCodeAt(index);
- var second;
-
- if (first >= 0xD800 && first <= 0xDBFF && size > index + 1) {
- second = string.charCodeAt(index + 1);
-
- if (second >= 0xDC00 && second <= 0xDFFF) {
- return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
- }
- }
-
- return first;
- }
- /**
- * Used to check that the character is between the E000..F8FF private unicode
- * range
- */
-
- function isPrivateUnicode(iconName) {
- if (iconName.length !== 1) {
- return false;
- } else {
- var cp = codePointAt(iconName, 0);
- return cp >= 57344 && cp <= 63743;
- }
- }
function defineIcons(prefix, icons) {
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -1793,27 +1764,6 @@
};
var styles$2 = namespace.styles;
- function resolveCustomIconVersion() {
- var kitConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- var iconName = arguments.length > 1 ? arguments[1] : undefined;
-
- if (iconName && isPrivateUnicode(iconName)) {
- if (kitConfig && kitConfig.iconUploads) {
- var iconUploads = kitConfig.iconUploads;
- var descriptiveIconName = Object.keys(iconUploads).find(function (key) {
- return iconUploads[key] && iconUploads[key].u && iconUploads[key].u === toHex(iconName);
- });
-
- if (descriptiveIconName) {
- return iconUploads[descriptiveIconName].v;
- }
- }
- } else {
- if (kitConfig && kitConfig.iconUploads && kitConfig.iconUploads[iconName] && kitConfig.iconUploads[iconName].v) {
- return kitConfig.iconUploads[iconName].v;
- }
- }
- }
function asFoundIcon(icon) {
var width = icon[0];
var height = icon[1];
@@ -1876,12 +1826,6 @@
var icon = styles$2[prefix][iconName];
return resolve(asFoundIcon(icon));
}
- var kitToken = null;
- var iconVersion = resolveCustomIconVersion(WINDOW.FontAwesomeKitConfig, iconName);
-
- if (WINDOW.FontAwesomeKitConfig && WINDOW.FontAwesomeKitConfig.token) {
- kitToken = WINDOW.FontAwesomeKitConfig.token;
- }
if (iconName && prefix && !config.showMissingIcons) {
reject(new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName)));