You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
70 KiB
13 lines
70 KiB
function ownKeys(n,t){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),a.push.apply(a,e)}return a}function _objectSpread2(n){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(a),!0).forEach((function(t){_defineProperty(n,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(a,t))}))}return n}function _typeof(n){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof(n)}function _wrapRegExp(){_wrapRegExp=function(n,t){return new BabelRegExp(n,void 0,t)};var n=RegExp.prototype,t=new WeakMap;function BabelRegExp(n,a,e){var r=new RegExp(n,a);return t.set(r,e||t.get(n)),_setPrototypeOf(r,BabelRegExp.prototype)}function buildGroups(n,a){var e=t.get(a);return Object.keys(e).reduce((function(t,a){return t[a]=n[e[a]],t}),Object.create(null))}return _inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(t){var a=n.exec.call(this,t);return a&&(a.groups=buildGroups(a,this)),a},BabelRegExp.prototype[Symbol.replace]=function(a,e){if("string"==typeof e){var r=t.get(this);return n[Symbol.replace].call(this,a,e.replace(/\$<([^>]+)>/g,(function(n,t){return"$"+r[t]})))}if("function"==typeof e){var i=this;return n[Symbol.replace].call(this,a,(function(){var n=arguments;return"object"!=typeof n[n.length-1]&&(n=[].slice.call(n)).push(buildGroups(n,i)),e.apply(this,n)}))}return n[Symbol.replace].call(this,a,e)},_wrapRegExp.apply(this,arguments)}function _classCallCheck(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(n,t){for(var a=0;a<t.length;a++){var e=t[a];e.enumerable=e.enumerable||false;e.configurable=true;"value"in e&&(e.writable=true);Object.defineProperty(n,e.key,e)}}function _createClass(n,t,a){t&&_defineProperties(n.prototype,t);a&&_defineProperties(n,a);Object.defineProperty(n,"prototype",{writable:false});return n}function _defineProperty(n,t,a){t in n?Object.defineProperty(n,t,{value:a,enumerable:true,configurable:true,writable:true}):n[t]=a;return n}function _inherits(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:true,configurable:true}});Object.defineProperty(n,"prototype",{writable:false});t&&_setPrototypeOf(n,t)}function _setPrototypeOf(n,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(n,t){n.__proto__=t;return n};return _setPrototypeOf(n,t)}function _slicedToArray(n,t){return _arrayWithHoles(n)||_iterableToArrayLimit(n,t)||_unsupportedIterableToArray(n,t)||_nonIterableRest()}function _toConsumableArray(n){return _arrayWithoutHoles(n)||_iterableToArray(n)||_unsupportedIterableToArray(n)||_nonIterableSpread()}function _arrayWithoutHoles(n){if(Array.isArray(n))return _arrayLikeToArray(n)}function _arrayWithHoles(n){if(Array.isArray(n))return n}function _iterableToArray(n){if(typeof Symbol!=="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function _iterableToArrayLimit(n,t){var a=n==null?null:typeof Symbol!=="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(a!=null){var e=[];var r=true;var i=false;var o,s;try{for(a=a.call(n);!(r=(o=a.next()).done);r=true){e.push(o.value);if(t&&e.length===t)break}}catch(n){i=true;s=n}finally{try{r||a.return==null||a.return()}finally{if(i)throw s}}return e}}function _unsupportedIterableToArray(n,t){if(n){if(typeof n==="string")return _arrayLikeToArray(n,t);var a=Object.prototype.toString.call(n).slice(8,-1);a==="Object"&&n.constructor&&(a=n.constructor.name);return a==="Map"||a==="Set"?Array.from(n):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(n,t):void 0}}function _arrayLikeToArray(n,t){(t==null||t>n.length)&&(t=n.length);for(var a=0,e=new Array(t);a<t;a++)e[a]=n[a];return e}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n=function noop(){};var t={};var a={};var e=null;var r={mark:n,measure:n};try{typeof window!=="undefined"&&(t=window);typeof document!=="undefined"&&(a=document);typeof MutationObserver!=="undefined"&&(e=MutationObserver);typeof performance!=="undefined"&&(r=performance)}catch(n){}var i=t.navigator||{},o=i.userAgent,s=o===void 0?"":o;var c=t;var f=a;var l=e;var u=r;c.document;var m=!!f.documentElement&&!!f.head&&typeof f.addEventListener==="function"&&typeof f.createElement==="function";var d=~s.indexOf("MSIE")||~s.indexOf("Trident/");var v,p,b,g,y;var h="___FONT_AWESOME___";var k=16;var x="fa";var w="svg-inline--fa";var S="data-fa-i2svg";var A="data-fa-pseudo-element";var P="data-fa-pseudo-element-pending";var _="data-prefix";var j="data-icon";var O="fontawesome-i2svg";var C="async";var N=["HTML","HEAD","STYLE","SCRIPT"];var I=function(){try{return process.env.NODE_ENV==="production"}catch(n){return false}}();var E="classic";var M="sharp";var z=[E,M];function familyProxy(n){return new Proxy(n,{get:function get(n,t){return t in n?n[t]:n[E]}})}var R=familyProxy((v={},_defineProperty(v,E,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),_defineProperty(v,M,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),v));var L=familyProxy((p={},_defineProperty(p,E,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),_defineProperty(p,M,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),p));var T=familyProxy((b={},_defineProperty(b,E,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),_defineProperty(b,M,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),b));var D=familyProxy((g={},_defineProperty(g,E,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),_defineProperty(g,M,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),g));var Y=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/;var F="fa-layers-text";var H=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;var U=familyProxy((y={},_defineProperty(y,E,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),_defineProperty(y,M,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),y));var W=[1,2,3,4,5,6,7,8,9,10];var B=W.concat([11,12,13,14,15,16,17,18,19,20]);var V=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"];var q={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"};var G=new Set;Object.keys(L[E]).map(G.add.bind(G));Object.keys(L[M]).map(G.add.bind(G));var X=[].concat(z,_toConsumableArray(G),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",q.GROUP,q.SWAP_OPACITY,q.PRIMARY,q.SECONDARY]).concat(W.map((function(n){return"".concat(n,"x")}))).concat(B.map((function(n){return"w-".concat(n)})));var K=c.FontAwesomeConfig||{};function getAttrConfig(n){var t=f.querySelector("script["+n+"]");if(t)return t.getAttribute(n)}function coerce(n){return n===""||n!=="false"&&(n==="true"||n)}if(f&&typeof f.querySelector==="function"){var $=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["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(n){var t=_slicedToArray(n,2),a=t[0],e=t[1];var r=coerce(getAttrConfig(a));r!==void 0&&r!==null&&(K[e]=r)}))}var J={styleDefault:"solid",familyDefault:"classic",cssPrefix:x,replacementClass:w,autoReplaceSvg:true,autoAddCss:true,autoA11y:true,searchPseudoElements:false,observeMutations:true,mutateApproach:"async",keepOriginalSource:true,measurePerformance:false,showMissingIcons:true};K.familyPrefix&&(K.cssPrefix=K.familyPrefix);var Q=_objectSpread2(_objectSpread2({},J),K);Q.autoReplaceSvg||(Q.observeMutations=false);var Z={};Object.keys(J).forEach((function(n){Object.defineProperty(Z,n,{enumerable:true,set:function set(t){Q[n]=t;nn.forEach((function(n){return n(Z)}))},get:function get(){return Q[n]}})}));Object.defineProperty(Z,"familyPrefix",{enumerable:true,set:function set(n){Q.cssPrefix=n;nn.forEach((function(n){return n(Z)}))},get:function get(){return Q.cssPrefix}});c.FontAwesomeConfig=Z;var nn=[];function onChange(n){nn.push(n);return function(){nn.splice(nn.indexOf(n),1)}}var tn=k;var an={size:16,x:0,y:0,rotate:0,flipX:false,flipY:false};function insertCss(n){if(n&&m){var t=f.createElement("style");t.setAttribute("type","text/css");t.innerHTML=n;var a=f.head.childNodes;var e=null;for(var r=a.length-1;r>-1;r--){var i=a[r];var o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(e=i)}f.head.insertBefore(t,e);return n}}var en="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function nextUniqueId(){var n=12;var t="";while(n-- >0)t+=en[Math.random()*62|0];return t}function toArray(n){var t=[];for(var a=(n||[]).length>>>0;a--;)t[a]=n[a];return t}function classArray(n){return n.classList?toArray(n.classList):(n.getAttribute("class")||"").split(" ").filter((function(n){return n}))}function htmlEscape(n){return"".concat(n).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function joinAttributes(n){return Object.keys(n||{}).reduce((function(t,a){return t+"".concat(a,'="').concat(htmlEscape(n[a]),'" ')}),"").trim()}function joinStyles(n){return Object.keys(n||{}).reduce((function(t,a){return t+"".concat(a,": ").concat(n[a].trim(),";")}),"")}function transformIsMeaningful(n){return n.size!==an.size||n.x!==an.x||n.y!==an.y||n.rotate!==an.rotate||n.flipX||n.flipY}function transformForSvg(n){var t=n.transform,a=n.containerWidth,e=n.iconWidth;var r={transform:"translate(".concat(a/2," 256)")};var i="translate(".concat(t.x*32,", ").concat(t.y*32,") ");var o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") ");var s="rotate(".concat(t.rotate," 0 0)");var c={transform:"".concat(i," ").concat(o," ").concat(s)};var f={transform:"translate(".concat(e/2*-1," -256)")};return{outer:r,inner:c,path:f}}function transformForCss(n){var t=n.transform,a=n.width,e=a===void 0?k:a,r=n.height,i=r===void 0?k:r,o=n.startCentered,s=o!==void 0&&o;var c="";c+=s&&d?"translate(".concat(t.x/tn-e/2,"em, ").concat(t.y/tn-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/tn,"em), calc(-50% + ").concat(t.y/tn,"em)) "):"translate(".concat(t.x/tn,"em, ").concat(t.y/tn,"em) ");c+="scale(".concat(t.size/tn*(t.flipX?-1:1),", ").concat(t.size/tn*(t.flipY?-1:1),") ");c+="rotate(".concat(t.rotate,"deg) ");return c}var rn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function css(){var n=x;var t=w;var a=Z.cssPrefix;var e=Z.replacementClass;var r=rn;if(a!==n||e!==t){var i=new RegExp("\\.".concat(n,"\\-"),"g");var o=new RegExp("\\--".concat(n,"\\-"),"g");var s=new RegExp("\\.".concat(t),"g");r=r.replace(i,".".concat(a,"-")).replace(o,"--".concat(a,"-")).replace(s,".".concat(e))}return r}var on=false;function ensureCss(){if(Z.autoAddCss&&!on){insertCss(css());on=true}}var sn={mixout:function mixout(){return{dom:{css:css,insertCss:ensureCss}}},hooks:function hooks(){return{beforeDOMElementCreation:function beforeDOMElementCreation(){ensureCss()},beforeI2svg:function beforeI2svg(){ensureCss()}}}};var cn=c||{};cn[h]||(cn[h]={});cn[h].styles||(cn[h].styles={});cn[h].hooks||(cn[h].hooks={});cn[h].shims||(cn[h].shims=[]);var fn=cn[h];var ln=[];var un=function listener(){f.removeEventListener("DOMContentLoaded",listener);mn=1;ln.map((function(n){return n()}))};var mn=false;if(m){mn=(f.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(f.readyState);mn||f.addEventListener("DOMContentLoaded",un)}function domready(n){m&&(mn?setTimeout(n,0):ln.push(n))}function toHtml(n){var t=n.tag,a=n.attributes,e=a===void 0?{}:a,r=n.children,i=r===void 0?[]:r;return typeof n==="string"?htmlEscape(n):"<".concat(t," ").concat(joinAttributes(e),">").concat(i.map(toHtml).join(""),"</").concat(t,">")}function iconFromMapping(n,t,a){if(n&&n[t]&&n[t][a])return{prefix:t,iconName:a,icon:n[t][a]}}var dn=function bindInternal4(n,t){return function(a,e,r,i){return n.call(t,a,e,r,i)}};
|
|
/**
|
|
* # Reduce
|
|
*
|
|
* A fast object `.reduce()` implementation.
|
|
*
|
|
* @param {Object} subject The object to reduce over.
|
|
* @param {Function} fn The reducer function.
|
|
* @param {mixed} initialValue The initial value for the reducer, defaults to subject[0].
|
|
* @param {Object} thisContext The context for the reducer.
|
|
* @return {mixed} The final result.
|
|
*/var vn=function fastReduceObject(n,t,a,e){var r,i,o,s=Object.keys(n),c=s.length,f=e!==void 0?dn(t,e):t;if(a===void 0){r=1;o=n[s[0]]}else{r=0;o=a}for(;r<c;r++){i=s[r];o=f(o,n[i],i,n)}return o};function ucs2decode(n){var t=[];var a=0;var e=n.length;while(a<e){var r=n.charCodeAt(a++);if(r>=55296&&r<=56319&&a<e){var i=n.charCodeAt(a++);if((i&64512)==56320)t.push(((r&1023)<<10)+(i&1023)+65536);else{t.push(r);a--}}else t.push(r)}return t}function toHex(n){var t=ucs2decode(n);return t.length===1?t[0].toString(16):null}function codePointAt(n,t){var a=n.length;var e=n.charCodeAt(t);var r;if(e>=55296&&e<=56319&&a>t+1){r=n.charCodeAt(t+1);if(r>=56320&&r<=57343)return 1024*(e-55296)+r-56320+65536}return e}function normalizeIcons(n){return Object.keys(n).reduce((function(t,a){var e=n[a];var r=!!e.icon;r?t[e.iconName]=e.icon:t[a]=e;return t}),{})}function defineIcons(n,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var e=a.skipHooks,r=e!==void 0&&e;var i=normalizeIcons(t);typeof fn.hooks.addPack!=="function"||r?fn.styles[n]=_objectSpread2(_objectSpread2({},fn.styles[n]||{}),i):fn.hooks.addPack(n,normalizeIcons(t));n==="fas"&&defineIcons("fa",t)}_wrapRegExp(/path d="((?:(?!")[\s\S])+)".*path d="((?:(?!")[\s\S])+)"/,{d1:1,d2:2}),_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)".*path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/,{cls1:1,d1:2,cls2:3,d2:4}),_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/,{cls1:1,d1:2});var pn,bn,gn;var yn=fn.styles,hn=fn.shims;var kn=(pn={},_defineProperty(pn,E,Object.values(T[E])),_defineProperty(pn,M,Object.values(T[M])),pn);var xn=null;var wn={};var Sn={};var An={};var Pn={};var _n={};var jn=(bn={},_defineProperty(bn,E,Object.keys(R[E])),_defineProperty(bn,M,Object.keys(R[M])),bn);function isReserved(n){return~X.indexOf(n)}function getIconName(n,t){var a=t.split("-");var e=a[0];var r=a.slice(1).join("-");return e!==n||r===""||isReserved(r)?null:r}var On=function build(){var n=function lookup(n){return vn(yn,(function(t,a,e){t[e]=vn(a,n,{});return t}),{})};wn=n((function(n,t,a){t[3]&&(n[t[3]]=a);if(t[2]){var e=t[2].filter((function(n){return typeof n==="number"}));e.forEach((function(t){n[t.toString(16)]=a}))}return n}));Sn=n((function(n,t,a){n[a]=a;if(t[2]){var e=t[2].filter((function(n){return typeof n==="string"}));e.forEach((function(t){n[t]=a}))}return n}));_n=n((function(n,t,a){var e=t[2];n[a]=a;e.forEach((function(t){n[t]=a}));return n}));var t="far"in yn||Z.autoFetchSvg;var a=vn(hn,(function(n,a){var e=a[0];var r=a[1];var i=a[2];r!=="far"||t||(r="fas");typeof e==="string"&&(n.names[e]={prefix:r,iconName:i});typeof e==="number"&&(n.unicodes[e.toString(16)]={prefix:r,iconName:i});return n}),{names:{},unicodes:{}});An=a.names;Pn=a.unicodes;xn=getCanonicalPrefix(Z.styleDefault,{family:Z.familyDefault})};onChange((function(n){xn=getCanonicalPrefix(n.styleDefault,{family:Z.familyDefault})}));On();function byUnicode(n,t){return(wn[n]||{})[t]}function byLigature(n,t){return(Sn[n]||{})[t]}function byAlias(n,t){return(_n[n]||{})[t]}function byOldName(n){return An[n]||{prefix:null,iconName:null}}function byOldUnicode(n){var t=Pn[n];var a=byUnicode("fas",n);return t||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null}}function getDefaultUsablePrefix(){return xn}var Cn=function emptyCanonicalIcon(){return{prefix:null,iconName:null,rest:[]}};function getCanonicalPrefix(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a=t.family,e=a===void 0?E:a;var r=R[e][n];var i=L[e][n]||L[e][r];var o=n in fn.styles?n:null;return i||o||null}var Nn=(gn={},_defineProperty(gn,E,Object.keys(T[E])),_defineProperty(gn,M,Object.keys(T[M])),gn);function getCanonicalIcon(n){var t;var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var e=a.skipLookups,r=e!==void 0&&e;var i=(t={},_defineProperty(t,E,"".concat(Z.cssPrefix,"-").concat(E)),_defineProperty(t,M,"".concat(Z.cssPrefix,"-").concat(M)),t);var o=null;var s=E;(n.includes(i[E])||n.some((function(n){return Nn[E].includes(n)})))&&(s=E);(n.includes(i[M])||n.some((function(n){return Nn[M].includes(n)})))&&(s=M);var c=n.reduce((function(n,t){var a=getIconName(Z.cssPrefix,t);if(yn[t]){t=kn[s].includes(t)?D[s][t]:t;o=t;n.prefix=t}else if(jn[s].indexOf(t)>-1){o=t;n.prefix=getCanonicalPrefix(t,{family:s})}else a?n.iconName=a:t!==Z.replacementClass&&t!==i[E]&&t!==i[M]&&n.rest.push(t);if(!r&&n.prefix&&n.iconName){var e=o==="fa"?byOldName(n.iconName):{};var c=byAlias(n.prefix,n.iconName);e.prefix&&(o=null);n.iconName=e.iconName||c||n.iconName;n.prefix=e.prefix||n.prefix;n.prefix!=="far"||yn.far||!yn.fas||Z.autoFetchSvg||(n.prefix="fas")}return n}),Cn());(n.includes("fa-brands")||n.includes("fab"))&&(c.prefix="fab");(n.includes("fa-duotone")||n.includes("fad"))&&(c.prefix="fad");if(!c.prefix&&s===M&&(yn.fass||Z.autoFetchSvg)){c.prefix="fass";c.iconName=byAlias(c.prefix,c.iconName)||c.iconName}c.prefix!=="fa"&&o!=="fa"||(c.prefix=getDefaultUsablePrefix()||"fas");return c}var In=function(){function Library(){_classCallCheck(this,Library);this.definitions={}}_createClass(Library,[{key:"add",value:function add(){var n=this;for(var t=arguments.length,a=new Array(t),e=0;e<t;e++)a[e]=arguments[e];var r=a.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(t){n.definitions[t]=_objectSpread2(_objectSpread2({},n.definitions[t]||{}),r[t]);defineIcons(t,r[t]);var a=T[E][t];a&&defineIcons(a,r[t]);On()}))}},{key:"reset",value:function reset(){this.definitions={}}},{key:"_pullDefinitions",value:function _pullDefinitions(n,t){var a=t.prefix&&t.iconName&&t.icon?{0:t}:t;Object.keys(a).map((function(t){var e=a[t],r=e.prefix,i=e.iconName,o=e.icon;var s=o[2];n[r]||(n[r]={});s.length>0&&s.forEach((function(t){typeof t==="string"&&(n[r][t]=o)}));n[r][i]=o}));return n}}]);return Library}();var En=[];var Mn={};var zn={};var Rn=Object.keys(zn);function registerPlugins(n,t){var a=t.mixoutsTo;En=n;Mn={};Object.keys(zn).forEach((function(n){Rn.indexOf(n)===-1&&delete zn[n]}));En.forEach((function(n){var t=n.mixout?n.mixout():{};Object.keys(t).forEach((function(n){typeof t[n]==="function"&&(a[n]=t[n]);_typeof(t[n])==="object"&&Object.keys(t[n]).forEach((function(e){a[n]||(a[n]={});a[n][e]=t[n][e]}))}));if(n.hooks){var e=n.hooks();Object.keys(e).forEach((function(n){Mn[n]||(Mn[n]=[]);Mn[n].push(e[n])}))}n.provides&&n.provides(zn)}));return a}function chainHooks(n,t){for(var a=arguments.length,e=new Array(a>2?a-2:0),r=2;r<a;r++)e[r-2]=arguments[r];var i=Mn[n]||[];i.forEach((function(n){t=n.apply(null,[t].concat(e))}));return t}function callHooks(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),e=1;e<t;e++)a[e-1]=arguments[e];var r=Mn[n]||[];r.forEach((function(n){n.apply(null,a)}))}function callProvided(){var n=arguments[0];var t=Array.prototype.slice.call(arguments,1);return zn[n]?zn[n].apply(null,t):void 0}function findIconDefinition(n){n.prefix==="fa"&&(n.prefix="fas");var t=n.iconName;var a=n.prefix||getDefaultUsablePrefix();if(t){t=byAlias(a,t)||t;return iconFromMapping(Ln.definitions,a,t)||iconFromMapping(fn.styles,a,t)}}var Ln=new In;var Tn=function noAuto(){Z.autoReplaceSvg=false;Z.observeMutations=false;callHooks("noAuto")};var Dn={i2svg:function i2svg(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(m){callHooks("beforeI2svg",n);callProvided("pseudoElements2svg",n);return callProvided("i2svg",n)}return Promise.reject("Operation requires a DOM of some kind.")},watch:function watch(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var t=n.autoReplaceSvgRoot;Z.autoReplaceSvg===false&&(Z.autoReplaceSvg=true);Z.observeMutations=true;domready((function(){Hn({autoReplaceSvgRoot:t});callHooks("watch",n)}))}};var Yn={icon:function icon(n){if(n===null)return null;if(_typeof(n)==="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:byAlias(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){var t=n[1].indexOf("fa-")===0?n[1].slice(3):n[1];var a=getCanonicalPrefix(n[0]);return{prefix:a,iconName:byAlias(a,t)||t}}if(typeof n==="string"&&(n.indexOf("".concat(Z.cssPrefix,"-"))>-1||n.match(Y))){var e=getCanonicalIcon(n.split(" "),{skipLookups:true});return{prefix:e.prefix||getDefaultUsablePrefix(),iconName:byAlias(e.prefix,e.iconName)||e.iconName}}if(typeof n==="string"){var r=getDefaultUsablePrefix();return{prefix:r,iconName:byAlias(r,n)||n}}}};var Fn={noAuto:Tn,config:Z,dom:Dn,parse:Yn,library:Ln,findIconDefinition:findIconDefinition,toHtml:toHtml};var Hn=function autoReplace(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var t=n.autoReplaceSvgRoot,a=t===void 0?f:t;(Object.keys(fn.styles).length>0||Z.autoFetchSvg)&&m&&Z.autoReplaceSvg&&Fn.dom.i2svg({node:a})};function domVariants(n,t){Object.defineProperty(n,"abstract",{get:t});Object.defineProperty(n,"html",{get:function get(){return n.abstract.map((function(n){return toHtml(n)}))}});Object.defineProperty(n,"node",{get:function get(){if(m){var t=f.createElement("div");t.innerHTML=n.html;return t.children}}});return n}function asIcon(n){var t=n.children,a=n.main,e=n.mask,r=n.attributes,i=n.styles,o=n.transform;if(transformIsMeaningful(o)&&a.found&&!e.found){var s=a.width,c=a.height;var f={x:s/c/2,y:.5};r.style=joinStyles(_objectSpread2(_objectSpread2({},i),{},{"transform-origin":"".concat(f.x+o.x/16,"em ").concat(f.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}function asSymbol(n){var t=n.prefix,a=n.iconName,e=n.children,r=n.attributes,i=n.symbol;var o=i===true?"".concat(t,"-").concat(Z.cssPrefix,"-").concat(a):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_objectSpread2(_objectSpread2({},r),{},{id:o}),children:e}]}]}function makeInlineSvgAbstract(n){var t=n.icons,a=t.main,e=t.mask,r=n.prefix,i=n.iconName,o=n.transform,s=n.symbol,c=n.title,f=n.maskId,l=n.titleId,u=n.extra,m=n.watchable,d=m!==void 0&&m;var v=e.found?e:a,p=v.width,b=v.height;var g=r==="fak";var y=[Z.replacementClass,i?"".concat(Z.cssPrefix,"-").concat(i):""].filter((function(n){return u.classes.indexOf(n)===-1})).filter((function(n){return n!==""||!!n})).concat(u.classes).join(" ");var h={children:[],attributes:_objectSpread2(_objectSpread2({},u.attributes),{},{"data-prefix":r,"data-icon":i,class:y,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(b)})};var k=g&&!~u.classes.indexOf("fa-fw")?{width:"".concat(p/b*16*.0625,"em")}:{};d&&(h.attributes[S]="");if(c){h.children.push({tag:"title",attributes:{id:h.attributes["aria-labelledby"]||"title-".concat(l||nextUniqueId())},children:[c]});delete h.attributes.title}var x=_objectSpread2(_objectSpread2({},h),{},{prefix:r,iconName:i,main:a,mask:e,maskId:f,transform:o,symbol:s,styles:_objectSpread2(_objectSpread2({},k),u.styles)});var w=e.found&&a.found?callProvided("generateAbstractMask",x)||{children:[],attributes:{}}:callProvided("generateAbstractIcon",x)||{children:[],attributes:{}},A=w.children,P=w.attributes;x.children=A;x.attributes=P;return s?asSymbol(x):asIcon(x)}function makeLayersTextAbstract(n){var t=n.content,a=n.width,e=n.height,r=n.transform,i=n.title,o=n.extra,s=n.watchable,c=s!==void 0&&s;var f=_objectSpread2(_objectSpread2(_objectSpread2({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});c&&(f[S]="");var l=_objectSpread2({},o.styles);if(transformIsMeaningful(r)){l.transform=transformForCss({transform:r,startCentered:true,width:a,height:e});l["-webkit-transform"]=l.transform}var u=joinStyles(l);u.length>0&&(f.style=u);var m=[];m.push({tag:"span",attributes:f,children:[t]});i&&m.push({tag:"span",attributes:{class:"sr-only"},children:[i]});return m}function makeLayersCounterAbstract(n){var t=n.content,a=n.title,e=n.extra;var r=_objectSpread2(_objectSpread2(_objectSpread2({},e.attributes),a?{title:a}:{}),{},{class:e.classes.join(" ")});var i=joinStyles(e.styles);i.length>0&&(r.style=i);var o=[];o.push({tag:"span",attributes:r,children:[t]});a&&o.push({tag:"span",attributes:{class:"sr-only"},children:[a]});return o}var Un=fn.styles;function asFoundIcon(n){var t=n[0];var a=n[1];var e=n.slice(4),r=_slicedToArray(e,1),i=r[0];var o=null;o=Array.isArray(i)?{tag:"g",attributes:{class:"".concat(Z.cssPrefix,"-").concat(q.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Z.cssPrefix,"-").concat(q.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Z.cssPrefix,"-").concat(q.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}};return{found:true,width:t,height:a,icon:o}}var Wn={found:false,width:512,height:512};function maybeNotifyMissing(n,t){I||Z.showMissingIcons||!n||console.error('Icon with name "'.concat(n,'" and prefix "').concat(t,'" is missing.'))}function findIcon(n,t){var a=t;t==="fa"&&Z.styleDefault!==null&&(t=getDefaultUsablePrefix());return new Promise((function(e,r){callProvided("missingIconAbstract");if(a==="fa"){var i=byOldName(n)||{};n=i.iconName||n;t=i.prefix||t}if(n&&t&&Un[t]&&Un[t][n]){var o=Un[t][n];return e(asFoundIcon(o))}maybeNotifyMissing(n,t);e(_objectSpread2(_objectSpread2({},Wn),{},{icon:Z.showMissingIcons&&n&&callProvided("missingIconAbstract")||{}}))}))}var Bn=function noop(){};var Vn=Z.measurePerformance&&u&&u.mark&&u.measure?u:{mark:Bn,measure:Bn};var qn='FA "6.5.2"';var Gn=function begin(n){Vn.mark("".concat(qn," ").concat(n," begins"));return function(){return Xn(n)}};var Xn=function end(n){Vn.mark("".concat(qn," ").concat(n," ends"));Vn.measure("".concat(qn," ").concat(n),"".concat(qn," ").concat(n," begins"),"".concat(qn," ").concat(n," ends"))};var Kn={begin:Gn,end:Xn};var $n=function noop(){};function isWatched(n){var t=n.getAttribute?n.getAttribute(S):null;return typeof t==="string"}function hasPrefixAndIcon(n){var t=n.getAttribute?n.getAttribute(_):null;var a=n.getAttribute?n.getAttribute(j):null;return t&&a}function hasBeenReplaced(n){return n&&n.classList&&n.classList.contains&&n.classList.contains(Z.replacementClass)}function getMutator(){if(Z.autoReplaceSvg===true)return Jn.replace;var n=Jn[Z.autoReplaceSvg];return n||Jn.replace}function createElementNS(n){return f.createElementNS("http://www.w3.org/2000/svg",n)}function createElement(n){return f.createElement(n)}function convertSVG(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a=t.ceFn,e=a===void 0?n.tag==="svg"?createElementNS:createElement:a;if(typeof n==="string")return f.createTextNode(n);var r=e(n.tag);Object.keys(n.attributes||[]).forEach((function(t){r.setAttribute(t,n.attributes[t])}));var i=n.children||[];i.forEach((function(n){r.appendChild(convertSVG(n,{ceFn:e}))}));return r}function nodeAsComment(n){var t=" ".concat(n.outerHTML," ");t="".concat(t,"Font Awesome fontawesome.com ");return t}var Jn={replace:function replace(n){var t=n[0];if(t.parentNode){n[1].forEach((function(n){t.parentNode.insertBefore(convertSVG(n),t)}));if(t.getAttribute(S)===null&&Z.keepOriginalSource){var a=f.createComment(nodeAsComment(t));t.parentNode.replaceChild(a,t)}else t.remove()}},nest:function nest(n){var t=n[0];var a=n[1];if(~classArray(t).indexOf(Z.replacementClass))return Jn.replace(n);var e=new RegExp("".concat(Z.cssPrefix,"-.*"));delete a[0].attributes.id;if(a[0].attributes.class){var r=a[0].attributes.class.split(" ").reduce((function(n,t){t===Z.replacementClass||t.match(e)?n.toSvg.push(t):n.toNode.push(t);return n}),{toNode:[],toSvg:[]});a[0].attributes.class=r.toSvg.join(" ");r.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",r.toNode.join(" "))}var i=a.map((function(n){return toHtml(n)})).join("\n");t.setAttribute(S,"");t.innerHTML=i}};function performOperationSync(n){n()}function perform(n,t){var a=typeof t==="function"?t:$n;if(n.length===0)a();else{var e=performOperationSync;Z.mutateApproach===C&&(e=c.requestAnimationFrame||performOperationSync);e((function(){var t=getMutator();var e=Kn.begin("mutate");n.map(t);e();a()}))}}var Qn=false;function disableObservation(){Qn=true}function enableObservation(){Qn=false}var Zn=null;function observe(n){if(l&&Z.observeMutations){var t=n.treeCallback,a=t===void 0?$n:t,e=n.nodeCallback,r=e===void 0?$n:e,i=n.pseudoElementsCallback,o=i===void 0?$n:i,s=n.observeMutationsRoot,c=s===void 0?f:s;Zn=new l((function(n){if(!Qn){var t=getDefaultUsablePrefix();toArray(n).forEach((function(n){if(n.type==="childList"&&n.addedNodes.length>0&&!isWatched(n.addedNodes[0])){Z.searchPseudoElements&&o(n.target);a(n.target)}n.type==="attributes"&&n.target.parentNode&&Z.searchPseudoElements&&o(n.target.parentNode);if(n.type==="attributes"&&isWatched(n.target)&&~V.indexOf(n.attributeName))if(n.attributeName==="class"&&hasPrefixAndIcon(n.target)){var e=getCanonicalIcon(classArray(n.target)),i=e.prefix,s=e.iconName;n.target.setAttribute(_,i||t);s&&n.target.setAttribute(j,s)}else hasBeenReplaced(n.target)&&r(n.target)}))}}));m&&Zn.observe(c,{childList:true,attributes:true,characterData:true,subtree:true})}}function disconnect(){Zn&&Zn.disconnect()}function styleParser(n){var t=n.getAttribute("style");var a=[];t&&(a=t.split(";").reduce((function(n,t){var a=t.split(":");var e=a[0];var r=a.slice(1);e&&r.length>0&&(n[e]=r.join(":").trim());return n}),{}));return a}function classParser(n){var t=n.getAttribute("data-prefix");var a=n.getAttribute("data-icon");var e=n.innerText!==void 0?n.innerText.trim():"";var r=getCanonicalIcon(classArray(n));r.prefix||(r.prefix=getDefaultUsablePrefix());if(t&&a){r.prefix=t;r.iconName=a}if(r.iconName&&r.prefix)return r;r.prefix&&e.length>0&&(r.iconName=byLigature(r.prefix,n.innerText)||byUnicode(r.prefix,toHex(n.innerText)));!r.iconName&&Z.autoFetchSvg&&n.firstChild&&n.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=n.firstChild.data);return r}function attributesParser(n){var t=toArray(n.attributes).reduce((function(n,t){n.name!=="class"&&n.name!=="style"&&(n[t.name]=t.value);return n}),{});var a=n.getAttribute("title");var e=n.getAttribute("data-fa-title-id");if(Z.autoA11y)if(a)t["aria-labelledby"]="".concat(Z.replacementClass,"-title-").concat(e||nextUniqueId());else{t["aria-hidden"]="true";t.focusable="false"}return t}function blankMeta(){return{iconName:null,title:null,titleId:null,prefix:null,transform:an,symbol:false,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function parseMeta(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:true};var a=classParser(n),e=a.iconName,r=a.prefix,i=a.rest;var o=attributesParser(n);var s=chainHooks("parseNodeAttributes",{},n);var c=t.styleParser?styleParser(n):[];return _objectSpread2({iconName:e,title:n.getAttribute("title"),titleId:n.getAttribute("data-fa-title-id"),prefix:r,transform:an,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:false,extra:{classes:i,styles:c,attributes:o}},s)}var nt=fn.styles;function generateMutation(n){var t=Z.autoReplaceSvg==="nest"?parseMeta(n,{styleParser:false}):parseMeta(n);return~t.extra.classes.indexOf(F)?callProvided("generateLayersText",n,t):callProvided("generateSvgReplacementMutation",n,t)}var tt=new Set;z.map((function(n){tt.add("fa-".concat(n))}));Object.keys(R[E]).map(tt.add.bind(tt));Object.keys(R[M]).map(tt.add.bind(tt));tt=_toConsumableArray(tt);function onTree(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!m)return Promise.resolve();var a=f.documentElement.classList;var e=function hclAdd(n){return a.add("".concat(O,"-").concat(n))};var r=function hclRemove(n){return a.remove("".concat(O,"-").concat(n))};var i=Z.autoFetchSvg?tt:z.map((function(n){return"fa-".concat(n)})).concat(Object.keys(nt));i.includes("fa")||i.push("fa");var o=[".".concat(F,":not([").concat(S,"])")].concat(i.map((function(n){return".".concat(n,":not([").concat(S,"])")}))).join(", ");if(o.length===0)return Promise.resolve();var s=[];try{s=toArray(n.querySelectorAll(o))}catch(n){}if(!(s.length>0))return Promise.resolve();e("pending");r("complete");var c=Kn.begin("onTree");var l=s.reduce((function(n,t){try{var a=generateMutation(t);a&&n.push(a)}catch(n){I||n.name==="MissingIcon"&&console.error(n)}return n}),[]);return new Promise((function(n,a){Promise.all(l).then((function(a){perform(a,(function(){e("active");e("complete");r("pending");typeof t==="function"&&t();c();n()}))})).catch((function(n){c();a(n)}))}))}function onNode(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;generateMutation(n).then((function(n){n&&perform([n],t)}))}function resolveIcons(n){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var e=(t||{}).icon?t:findIconDefinition(t||{});var r=a.mask;r&&(r=(r||{}).icon?r:findIconDefinition(r||{}));return n(e,_objectSpread2(_objectSpread2({},a),{},{mask:r}))}}var at=function render(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a=t.transform,e=a===void 0?an:a,r=t.symbol,i=r!==void 0&&r,o=t.mask,s=o===void 0?null:o,c=t.maskId,f=c===void 0?null:c,l=t.title,u=l===void 0?null:l,m=t.titleId,d=m===void 0?null:m,v=t.classes,p=v===void 0?[]:v,b=t.attributes,g=b===void 0?{}:b,y=t.styles,h=y===void 0?{}:y;if(n){var k=n.prefix,x=n.iconName,w=n.icon;return domVariants(_objectSpread2({type:"icon"},n),(function(){callHooks("beforeDOMElementCreation",{iconDefinition:n,params:t});if(Z.autoA11y)if(u)g["aria-labelledby"]="".concat(Z.replacementClass,"-title-").concat(d||nextUniqueId());else{g["aria-hidden"]="true";g.focusable="false"}return makeInlineSvgAbstract({icons:{main:asFoundIcon(w),mask:s?asFoundIcon(s.icon):{found:false,width:null,height:null,icon:{}}},prefix:k,iconName:x,transform:_objectSpread2(_objectSpread2({},an),e),symbol:i,title:u,maskId:f,titleId:d,extra:{attributes:g,styles:h,classes:p}})}))}};var et={mixout:function mixout(){return{icon:resolveIcons(at)}},hooks:function hooks(){return{mutationObserverCallbacks:function mutationObserverCallbacks(n){n.treeCallback=onTree;n.nodeCallback=onNode;return n}}},provides:function provides(n){n.i2svg=function(n){var t=n.node,a=t===void 0?f:t,e=n.callback,r=e===void 0?function(){}:e;return onTree(a,r)};n.generateSvgReplacementMutation=function(n,t){var a=t.iconName,e=t.title,r=t.titleId,i=t.prefix,o=t.transform,s=t.symbol,c=t.mask,f=t.maskId,l=t.extra;return new Promise((function(t,u){Promise.all([findIcon(a,i),c.iconName?findIcon(c.iconName,c.prefix):Promise.resolve({found:false,width:512,height:512,icon:{}})]).then((function(c){var u=_slicedToArray(c,2),m=u[0],d=u[1];t([n,makeInlineSvgAbstract({icons:{main:m,mask:d},prefix:i,iconName:a,transform:o,symbol:s,maskId:f,title:e,titleId:r,extra:l,watchable:true})])})).catch(u)}))};n.generateAbstractIcon=function(n){var t=n.children,a=n.attributes,e=n.main,r=n.transform,i=n.styles;var o=joinStyles(i);o.length>0&&(a.style=o);var s;transformIsMeaningful(r)&&(s=callProvided("generateAbstractTransformGrouping",{main:e,transform:r,containerWidth:e.width,iconWidth:e.width}));t.push(s||e.icon);return{children:t,attributes:a}}}};var rt={mixout:function mixout(){return{layer:function layer(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a=t.classes,e=a===void 0?[]:a;return domVariants({type:"layer"},(function(){callHooks("beforeDOMElementCreation",{assembler:n,params:t});var a=[];n((function(n){Array.isArray(n)?n.map((function(n){a=a.concat(n.abstract)})):a=a.concat(n.abstract)}));return[{tag:"span",attributes:{class:["".concat(Z.cssPrefix,"-layers")].concat(_toConsumableArray(e)).join(" ")},children:a}]}))}}}};var it={mixout:function mixout(){return{counter:function counter(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a=t.title,e=a===void 0?null:a,r=t.classes,i=r===void 0?[]:r,o=t.attributes,s=o===void 0?{}:o,c=t.styles,f=c===void 0?{}:c;return domVariants({type:"counter",content:n},(function(){callHooks("beforeDOMElementCreation",{content:n,params:t});return makeLayersCounterAbstract({content:n.toString(),title:e,extra:{attributes:s,styles:f,classes:["".concat(Z.cssPrefix,"-layers-counter")].concat(_toConsumableArray(i))}})}))}}}};var ot={mixout:function mixout(){return{text:function text(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a=t.transform,e=a===void 0?an:a,r=t.title,i=r===void 0?null:r,o=t.classes,s=o===void 0?[]:o,c=t.attributes,f=c===void 0?{}:c,l=t.styles,u=l===void 0?{}:l;return domVariants({type:"text",content:n},(function(){callHooks("beforeDOMElementCreation",{content:n,params:t});return makeLayersTextAbstract({content:n,transform:_objectSpread2(_objectSpread2({},an),e),title:i,extra:{attributes:f,styles:u,classes:["".concat(Z.cssPrefix,"-layers-text")].concat(_toConsumableArray(s))}})}))}}},provides:function provides(n){n.generateLayersText=function(n,t){var a=t.title,e=t.transform,r=t.extra;var i=null;var o=null;if(d){var s=parseInt(getComputedStyle(n).fontSize,10);var c=n.getBoundingClientRect();i=c.width/s;o=c.height/s}Z.autoA11y&&!a&&(r.attributes["aria-hidden"]="true");return Promise.resolve([n,makeLayersTextAbstract({content:n.innerHTML,width:i,height:o,transform:e,title:a,extra:r,watchable:true})])}}};var st=new RegExp('"',"ug");var ct=[1105920,1112319];function hexValueFromContent(n){var t=n.replace(st,"");var a=codePointAt(t,0);var e=a>=ct[0]&&a<=ct[1];var r=t.length===2&&t[0]===t[1];return{value:toHex(r?t[0]:t),isSecondary:e||r}}function replaceForPosition(n,t){var a="".concat(P).concat(t.replace(":","-"));return new Promise((function(e,r){if(n.getAttribute(a)!==null)return e();var i=toArray(n.children);var o=i.filter((function(n){return n.getAttribute(A)===t}))[0];var s=c.getComputedStyle(n,t);var l=s.getPropertyValue("font-family").match(H);var u=s.getPropertyValue("font-weight");var m=s.getPropertyValue("content");if(o&&!l){n.removeChild(o);return e()}if(l&&m!=="none"&&m!==""){var d=s.getPropertyValue("content");var v=~["Sharp"].indexOf(l[2])?M:E;var p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?L[v][l[2].toLowerCase()]:U[v][u];var b=hexValueFromContent(d),g=b.value,y=b.isSecondary;var h=l[0].startsWith("FontAwesome");var k=byUnicode(p,g);var x=k;if(h){var w=byOldUnicode(g);if(w.iconName&&w.prefix){k=w.iconName;p=w.prefix}}if(!k||y||o&&o.getAttribute(_)===p&&o.getAttribute(j)===x)e();else{n.setAttribute(a,x);o&&n.removeChild(o);var S=blankMeta();var P=S.extra;P.attributes[A]=t;findIcon(k,p).then((function(r){var i=makeInlineSvgAbstract(_objectSpread2(_objectSpread2({},S),{},{icons:{main:r,mask:Cn()},prefix:p,iconName:x,extra:P,watchable:true}));var o=f.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?n.insertBefore(o,n.firstChild):n.appendChild(o);o.outerHTML=i.map((function(n){return toHtml(n)})).join("\n");n.removeAttribute(a);e()})).catch(r)}}else e()}))}function replace(n){return Promise.all([replaceForPosition(n,"::before"),replaceForPosition(n,"::after")])}function processable(n){return n.parentNode!==document.head&&!~N.indexOf(n.tagName.toUpperCase())&&!n.getAttribute(A)&&(!n.parentNode||n.parentNode.tagName!=="svg")}function searchPseudoElements(n){if(m)return new Promise((function(t,a){var e=toArray(n.querySelectorAll("*")).filter(processable).map(replace);var r=Kn.begin("searchPseudoElements");disableObservation();Promise.all(e).then((function(){r();enableObservation();t()})).catch((function(){r();enableObservation();a()}))}))}var ft={hooks:function hooks(){return{mutationObserverCallbacks:function mutationObserverCallbacks(n){n.pseudoElementsCallback=searchPseudoElements;return n}}},provides:function provides(n){n.pseudoElements2svg=function(n){var t=n.node,a=t===void 0?f:t;Z.searchPseudoElements&&searchPseudoElements(a)}}};var lt=false;var ut={mixout:function mixout(){return{dom:{unwatch:function unwatch(){disableObservation();lt=true}}}},hooks:function hooks(){return{bootstrap:function bootstrap(){observe(chainHooks("mutationObserverCallbacks",{}))},noAuto:function noAuto(){disconnect()},watch:function watch(n){var t=n.observeMutationsRoot;lt?enableObservation():observe(chainHooks("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};var mt=function parseTransformString(n){var t={size:16,x:0,y:0,flipX:false,flipY:false,rotate:0};return n.toLowerCase().split(" ").reduce((function(n,t){var a=t.toLowerCase().split("-");var e=a[0];var r=a.slice(1).join("-");if(e&&r==="h"){n.flipX=true;return n}if(e&&r==="v"){n.flipY=true;return n}r=parseFloat(r);if(isNaN(r))return n;switch(e){case"grow":n.size=n.size+r;break;case"shrink":n.size=n.size-r;break;case"left":n.x=n.x-r;break;case"right":n.x=n.x+r;break;case"up":n.y=n.y-r;break;case"down":n.y=n.y+r;break;case"rotate":n.rotate=n.rotate+r;break}return n}),t)};var dt={mixout:function mixout(){return{parse:{transform:function transform(n){return mt(n)}}}},hooks:function hooks(){return{parseNodeAttributes:function parseNodeAttributes(n,t){var a=t.getAttribute("data-fa-transform");a&&(n.transform=mt(a));return n}}},provides:function provides(n){n.generateAbstractTransformGrouping=function(n){var t=n.main,a=n.transform,e=n.containerWidth,r=n.iconWidth;var i={transform:"translate(".concat(e/2," 256)")};var o="translate(".concat(a.x*32,", ").concat(a.y*32,") ");var s="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") ");var c="rotate(".concat(a.rotate," 0 0)");var f={transform:"".concat(o," ").concat(s," ").concat(c)};var l={transform:"translate(".concat(r/2*-1," -256)")};var u={outer:i,inner:f,path:l};return{tag:"g",attributes:_objectSpread2({},u.outer),children:[{tag:"g",attributes:_objectSpread2({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:_objectSpread2(_objectSpread2({},t.icon.attributes),u.path)}]}]}}}};var vt={x:0,y:0,width:"100%",height:"100%"};function fillBlack(n){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];n.attributes&&(n.attributes.fill||t)&&(n.attributes.fill="black");return n}function deGroup(n){return n.tag==="g"?n.children:[n]}var pt={hooks:function hooks(){return{parseNodeAttributes:function parseNodeAttributes(n,t){var a=t.getAttribute("data-fa-mask");var e=a?getCanonicalIcon(a.split(" ").map((function(n){return n.trim()}))):Cn();e.prefix||(e.prefix=getDefaultUsablePrefix());n.mask=e;n.maskId=t.getAttribute("data-fa-mask-id");return n}}},provides:function provides(n){n.generateAbstractMask=function(n){var t=n.children,a=n.attributes,e=n.main,r=n.mask,i=n.maskId,o=n.transform;var s=e.width,c=e.icon;var f=r.width,l=r.icon;var u=transformForSvg({transform:o,containerWidth:f,iconWidth:s});var m={tag:"rect",attributes:_objectSpread2(_objectSpread2({},vt),{},{fill:"white"})};var d=c.children?{children:c.children.map(fillBlack)}:{};var v={tag:"g",attributes:_objectSpread2({},u.inner),children:[fillBlack(_objectSpread2({tag:c.tag,attributes:_objectSpread2(_objectSpread2({},c.attributes),u.path)},d))]};var p={tag:"g",attributes:_objectSpread2({},u.outer),children:[v]};var b="mask-".concat(i||nextUniqueId());var g="clip-".concat(i||nextUniqueId());var y={tag:"mask",attributes:_objectSpread2(_objectSpread2({},vt),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,p]};var h={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:deGroup(l)},y]};t.push(h,{tag:"rect",attributes:_objectSpread2({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(b,")")},vt)});return{children:t,attributes:a}}}};var bt={provides:function provides(n){var t=false;c.matchMedia&&(t=c.matchMedia("(prefers-reduced-motion: reduce)").matches);n.missingIconAbstract=function(){var n=[];var a={fill:"currentColor"};var e={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:_objectSpread2(_objectSpread2({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=_objectSpread2(_objectSpread2({},e),{},{attributeName:"opacity"});var i={tag:"circle",attributes:_objectSpread2(_objectSpread2({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};t||i.children.push({tag:"animate",attributes:_objectSpread2(_objectSpread2({},e),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_objectSpread2(_objectSpread2({},r),{},{values:"1;0;1;1;0;1;"})});n.push(i);n.push({tag:"path",attributes:_objectSpread2(_objectSpread2({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:_objectSpread2(_objectSpread2({},r),{},{values:"1;0;0;0;0;1;"})}]});t||n.push({tag:"path",attributes:_objectSpread2(_objectSpread2({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:_objectSpread2(_objectSpread2({},r),{},{values:"0;0;1;1;0;0;"})}]});return{tag:"g",attributes:{class:"missing"},children:n}}}};var gt={hooks:function hooks(){return{parseNodeAttributes:function parseNodeAttributes(n,t){var a=t.getAttribute("data-fa-symbol");var e=a!==null&&(a===""||a);n.symbol=e;return n}}}};var yt=[sn,et,rt,it,ot,ft,ut,dt,pt,bt,gt];registerPlugins(yt,{mixoutsTo:Fn});var ht=Fn.noAuto;var kt=Fn.config;var xt=Fn.library;var wt=Fn.dom;var St=Fn.parse;var At=Fn.findIconDefinition;var Pt=Fn.toHtml;var _t=Fn.icon;var jt=Fn.layer;var Ot=Fn.text;var Ct=Fn.counter;export{Fn as api,kt as config,Ct as counter,wt as dom,At as findIconDefinition,_t as icon,jt as layer,xt as library,ht as noAuto,St as parse,Ot as text,Pt as toHtml};
|
|
|