robertjohnson.work/docs/assets/plugins/font-awesome/js/fontawesome.min.js

5 lines
29 KiB
JavaScript
Raw Normal View History

2018-07-25 09:34:10 -04:00
/*!
* Font Awesome Free 5.1.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
!function(){"use strict";var t=function(){},e={},r={},a=null,n={mark:t,measure:t};try{"undefined"!=typeof window&&(e=window),"undefined"!=typeof document&&(r=document),"undefined"!=typeof MutationObserver&&(a=MutationObserver),"undefined"!=typeof performance&&(n=performance)}catch(t){}var i=(e.navigator||{}).userAgent,o=void 0===i?"":i,m=e,d=r,s=a,l=n,f=!!m.document,c=!!d.documentElement&&!!d.head&&"function"==typeof d.addEventListener&&"function"==typeof d.createElement,k=~o.indexOf("MSIE")||~o.indexOf("Trident/"),u="___FONT_AWESOME___",C=16,g="svg-inline--fa",A="data-fa-i2svg",h="data-fa-pseudo-element",p="data-prefix",v="data-icon",b="fontawesome-i2svg",y=["HTML","HEAD","STYLE","SCRIPT"],w=function(){try{return!0}catch(t){return!1}}(),x=[1,2,3,4,5,6,7,8,9,10],N=x.concat([11,12,13,14,15,16,17,18,19,20]),z=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],M=["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(x.map(function(t){return t+"x"})).concat(N.map(function(t){return"w-"+t})),S=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},L=function(){function a(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,e,r){return e&&a(t.prototype,e),r&&a(t,r),t}}(),E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},O=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],a=!0,n=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){n=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(n)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},P=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)},j=m.FontAwesomeConfig||{};if(d&&"function"==typeof d.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e,r=O(t,2),a=r[0],n=r[1],i=""===(e=function(t){var e=d.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(a))||"false"!==e&&("true"===e||e);null!=i&&(j[n]=i)})}var R=E({familyPrefix:"fa",replacementClass:g,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},j);R.autoReplaceSvg||(R.observeMutations=!1);var T=E({},R);m.FontAwesomeConfig=T;var H=m||{};H[u]||(H[u]={}),H[u].styles||(H[u].styles={}),H[u].hooks||(H[u].hooks={}),H[u].shims||(H[u].shims=[]);var I=H[u],F=[],_=!1;c&&((_=(d.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(d.readyState))||d.addEventListener("DOMContentLoaded",function t(){d.removeEventListener("DOMContentLoaded",t),_=1,F.map(function(t){return t()})}));var Y=function(t){c&&(_?setTimeout(t,0):F.push(t))},B=C,D={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function W(t){if(t&&c){var e=d.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var r=d.head.childNodes,a=null,n=r.length-1;-1<n;n--){var i=r[n],o=(i.tagName||"").toUpperCase();-1<["STYLE","LINK"].indexOf(o)&&(a=i)}return d.head.insertBefore(e,a),t}}var X=0;function q(){return++X}function U(t){for(var e=[],r=(t||[]).length>>>0;r--;)e[r]=t[r];return e}function V(t){return t.classList?U(t.classL