Cloudlog/assets/fontawesome/js/fontawesome.min.js

1 wiersz
30 KiB
JavaScript
Czysty Zwykły widok Historia

!function(){"use strict";function r(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function q(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},e=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),e.forEach(function(t){var e,a,n;e=r,n=i[a=t],a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n})}return r}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var a=[],n=!0,r=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(a.push(o.value),!e||a.length!==e);n=!0);}catch(t){r=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return a}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function m(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var t=function(){},e={},a={},n=null,i={mark:t,measure:t};try{"undefined"!=typeof window&&(e=window),"undefined"!=typeof document&&(a=document),"undefined"!=typeof MutationObserver&&(n=MutationObserver),"undefined"!=typeof performance&&(i=performance)}catch(t){}var s=(e.navigator||{}).userAgent,c=void 0===s?"":s,d=e,g=a,l=n,f=i,u=!!d.document,h=!!g.documentElement&&!!g.head&&"function"==typeof g.addEventListener&&"function"==typeof g.createElement,k=~c.indexOf("MSIE")||~c.indexOf("Trident/"),p="___FONT_AWESOME___",C=16,v="fa",b="svg-inline--fa",U="data-fa-i2svg",y="data-fa-pseudo-element",w="data-prefix",x="data-icon",A="fontawesome-i2svg",N=["HTML","HEAD","STYLE","SCRIPT"],z=function(){try{return!0}catch(t){return!1}}(),M=[1,2,3,4,5,6,7,8,9,10],O=M.concat([11,12,13,14,15,16,17,18,19,20]),S=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],E=["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(M.map(function(t){return"".concat(t,"x")})).concat(O.map(function(t){return"w-".concat(t)})),L=d.FontAwesomeConfig||{};if(g&&"function"==typeof g.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,a=o(t,2),n=a[0],r=a[1],i=""===(e=function(t){var e=g.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n))||"false"!==e&&("true"===e||e);null!=i&&(L[r]=i)})}var P=q({familyPrefix:v,replacementClass:b,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},L);P.autoReplaceSvg||(P.observeMutations=!1);var V=q({},P);d.FontAwesomeConfig=V;var j=d||{};j[p]||(j[p]={}),j[p].styles||(j[p].styles={}),j[p].hooks||(j[p].hooks={}),j[p].shims||(j[p].shims=[]);var R=j[p],T=[],H=!1;function I(t){h&&(H?setTimeout(t,0):T.push(t))}h&&((H=(g.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(g.readyState))||g.addEventListener("DOMContentLoaded",function t(){g.removeEventListener("DOMContentLoaded",t),H=1,T.map(function(t){return t()})}));var F=C,D={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Y(t){if(t&&h){var e=g.createElement("style");e.setAttribute("type","text/css")