mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-18 19:22:18 +01:00
2 lines
38 KiB
JavaScript
2 lines
38 KiB
JavaScript
|
/*! For license information please see fontawesome.min.js.LICENSE.txt */
|
||
|
(()=>{"use strict";var t={};function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function e(t,n){for(var e=0;e<n.length;e++){var a=n[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function r(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),r.forEach((function(n){a(t,n,e[n])}))}return t}function i(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],a=!0,r=!1,i=void 0;try{for(var o,c=t[Symbol.iterator]();!(a=(o=c.next()).done)&&(e.push(o.value),!n||e.length!==n);a=!0);}catch(t){r=!0,i=t}finally{try{a||null==c.return||c.return()}finally{if(r)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();var o=function(){},c={},s={},f=null,l={mark:o,measure:o};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(s=document),"undefined"!=typeof MutationObserver&&(f=MutationObserver),"undefined"!=typeof performance&&(l=performance)}catch(t){}var u=(c.navigator||{}).userAgent,m=void 0===u?"":u,d=c,p=s,h=f,g=l,v=(d.document,!!p.documentElement&&!!p.head&&"function"==typeof p.addEventListener&&"function"==typeof p.createElement),b=~m.indexOf("MSIE")||~m.indexOf("Trident/"),y="svg-inline--fa",w="data-fa-i2svg",x="data-fa-pseudo-element",k="fontawesome-i2svg",_=["HTML","HEAD","STYLE","SCRIPT"],A=function(){try{return!0}catch(t){return!1}}(),M={fas:"solid",far:"regular",fal:"light",fad:"duotone",fab:"brands",fak:"kit",fa:"solid"},O={solid:"fas",regular:"far",light:"fal",duotone:"fad",brands:"fab",kit:"fak"},N="fa-layers-text",C=/Font Awesome ([5 ]*)(Solid|Regular|Light|Duotone|Brands|Free|Pro|Kit).*/i,E={900:"fas",400:"far",normal:"far",300:"fal"},S=[1,2,3,4,5,6,7,8,9,10],z=S.concat([11,12,13,14,15,16,17,18,19,20]),P=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],T={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},I=["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",T.GROUP,T.SWAP_OPACITY,T.PRIMARY,T.SECONDARY].concat(S.map((function(t){return"".concat(t,"x")}))).concat(z.map((function(t){return"w-".concat(t)}))),j=d.FontAwesomeConfig||{};p&&"function"==typeof p.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-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var n=i(t,2),e=n[0],a=n[1],r=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var n=p.querySelector("script["+t+"]");if(n)return n.getAttribute(t)}(e));null!=r&&(j[a]=r)}));var L=r({},{familyPrefix:"fa",replacementClass:y,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},j);L.autoReplaceSvg||(L.observeMutations=!1);var R=r({},L);d.FontAwes
|