phcthemes_web_theme_pack 2.0.9 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcthemes_web_theme_pack_antlr.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_appstrap.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_bold.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_devine_villas.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_hostinza.js +2 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_pitnik.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_smarty.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_xero.js +1 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_zoner.js +1 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_antlr.scss +4 -4
- data/app/assets/stylesheets/themes/antlr/css/colors/blue.css +97 -0
- data/app/assets/stylesheets/themes/antlr/css/colors/green.css +97 -0
- data/app/assets/stylesheets/themes/antlr/css/colors/pink.css +97 -0
- data/app/assets/stylesheets/themes/antlr/{filter.css → css/filter.css} +0 -0
- data/app/assets/stylesheets/themes/antlr/{maps.scss → css/maps.scss} +0 -0
- data/app/assets/stylesheets/themes/antlr/css/style.css +7608 -0
- data/app/assets/stylesheets/themes/antlr/fonts/cloudicon/Cloudicon.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/cloudicon/Cloudicon.svg +330 -0
- data/app/assets/stylesheets/themes/antlr/fonts/cloudicon/Cloudicon.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/cloudicon/Cloudicon.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/cloudicon/cloudicon.css +304 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/all.css +4222 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/brands.css +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/fontawesome.css +4192 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/regular.css +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/solid.css +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/svg-with-js.css +341 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/v4-shims.css +2162 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/css/v4-shims.min.css +1 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/js/all.js +3843 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/js/brands.js +536 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/js/fontawesome.js +1997 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/js/regular.js +273 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/js/solid.js +1037 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/js/v4-shims.js +64 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-brands-400.svg +1260 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-regular-400.svg +471 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-solid-900.svg +2763 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Bold/OpenSans-Bold.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Bold/OpenSans-Bold.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Bold/OpenSans-Bold.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Bold/OpenSans-Bold.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Bold/OpenSans-Bold.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/BoldItalic/OpenSans-BoldItalic.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/BoldItalic/OpenSans-BoldItalic.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/BoldItalic/OpenSans-BoldItalic.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/BoldItalic/OpenSans-BoldItalic.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/BoldItalic/OpenSans-BoldItalic.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBold/OpenSans-ExtraBold.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBold/OpenSans-ExtraBold.svg +21059 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBold/OpenSans-ExtraBold.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBold/OpenSans-ExtraBold.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBold/OpenSans-ExtraBold.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Italic/OpenSans-Italic.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Italic/OpenSans-Italic.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Italic/OpenSans-Italic.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Italic/OpenSans-Italic.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Italic/OpenSans-Italic.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Light/OpenSans-Light.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Light/OpenSans-Light.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Light/OpenSans-Light.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Light/OpenSans-Light.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Light/OpenSans-Light.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/LightItalic/OpenSans-LightItalic.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/LightItalic/OpenSans-LightItalic.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/LightItalic/OpenSans-LightItalic.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/LightItalic/OpenSans-LightItalic.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/LightItalic/OpenSans-LightItalic.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Regular/OpenSans-Regular.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Regular/OpenSans-Regular.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Regular/OpenSans-Regular.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Regular/OpenSans-Regular.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Regular/OpenSans-Regular.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Semibold/OpenSans-Semibold.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Semibold/OpenSans-Semibold.svg +21053 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Semibold/OpenSans-Semibold.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Semibold/OpenSans-Semibold.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/Semibold/OpenSans-Semibold.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/SemiboldItalic/OpenSans-SemiboldItalic.eot +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/SemiboldItalic/OpenSans-SemiboldItalic.svg +958 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/SemiboldItalic/OpenSans-SemiboldItalic.ttf +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/SemiboldItalic/OpenSans-SemiboldItalic.woff +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/SemiboldItalic/OpenSans-SemiboldItalic.woff2 +0 -0
- data/app/assets/stylesheets/themes/antlr/fonts/opensans/opensans.css +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/Instagram.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/add.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/aid.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/alarm.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/alert.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/alpha.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/analytics.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/android.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/apple.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/arrowdown.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/audio.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/award.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ballon.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/basketshop.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/battery.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/bell.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/bitcoin.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/blog.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/bluetooth.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/book.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/bookmark.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/branch.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/briefcase.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/browser.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/brush.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/bubble.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/builder.svg +16 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/bulb.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/businesman.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/calendar.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/card.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cart.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cartdown.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cartnull.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cartup.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cctv.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/center.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ceo.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/chart.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/check.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/clip.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/clock.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/close.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloud.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudconnect.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudfast.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudfiber.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudlinux.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudmanaged.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudown.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudowner.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudsecurity.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudserver.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudup.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cloudwindows.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cluster.svg +14 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/code.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/coffe.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/color.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/compare.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/compass.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/container.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/coupon.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/cpu.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/crown.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/danger.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/database.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/dedicated.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/delete.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/designed.svg +18 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/desktop.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/device.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/diagram.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/diamond.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/direction.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/directions.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/disabled.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/diskette.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/display.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/docbox.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/document.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/dollar.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/domains.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/domainserver.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/doubleleft.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/doubleright.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/download.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/dribbble.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/drink.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/drives.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/drivessd.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/drone.svg +25 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/drop.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/dropbox.svg +24 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/duality.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/dvd.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/eco.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ecommerce.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/editable.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/email.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/emailopen.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/empty.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/energy.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/euro.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/eye.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/facebook.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/factory.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/favorite.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/features.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/female.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/filter.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/financial.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/firewall.svg +17 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/flagpoint.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/flash.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/folder.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/free.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/freenetwork.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/frequency.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/full.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/fullscreen.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/gaming.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/gift.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/git.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/github.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/glasses.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/global.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/globe.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/goal.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/googleplus.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/graduation.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/grow.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/hand.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/hat.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/headphones.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/helpdesk.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/hierarchy.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/house.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/housebird.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/html5.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/inbox.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/index.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/indicateleft.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/indicateright.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/infrastructure.svg +18 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/interface.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/internet.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/inverse.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/key.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/label.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/laptop.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/latency.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/law.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/layers.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/learning.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/led.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/left.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/less.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/link.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/linkedin.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/linux.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/linuxserver.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/livechat.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/location.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/lock.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/log.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/magnetic.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/mailbox.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/maintenance.svg +17 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/man.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/managedserver.svg +16 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/map.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/medal.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/meeting.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/megaphone.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/menu.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/metric.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/mobile.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/money.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/monitor.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/mouse.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/move.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/movie.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/music.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/mute.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/navigation.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/network.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/notes.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/objective.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/on.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/pacman.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/paper.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/paypal.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/phone.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/pic.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/pin.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/pinterest.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/placard.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/plane.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/play.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/playstore.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/plug.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/plus.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/point.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/points.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/pound.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/preferences.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/print.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/privacy.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/private.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/progress.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/protected.svg +14 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/protection.svg +23 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/qrcode.svg +14 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/question.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/rack.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ram.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/random.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/rate.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/recycle.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/redundancy.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/refresh.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/regression.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/reload.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/repair.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/report.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/reseller.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/resize.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ribbon.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/right.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/robot.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/router.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/sad.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/savings.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/science.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/security.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/select.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/servers.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/settings.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/shared.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/shipping.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/shop.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/sinal.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/smile.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/snapchat.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/solid.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/solution.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/spam.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/speed.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/stable.svg +17 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/star.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/statuette.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/strategy.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/stream.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/structure.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/sun.svg +13 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/support.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/surprise.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/switch.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/sync.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/tablet.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/tag.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/talk.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/target.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/tea.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/technology.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/telescope.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/thumbdown.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/thumbup.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ticket.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/time.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/timer.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/tools.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/toxic.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/twitter.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/umbrella.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/unlock.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/upgrade.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/upload.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/ups.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/usb.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/user.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/vault.svg +14 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/video.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/vimeo.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/virus.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/vps.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/wallet.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/water.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/wifi.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/win.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/wind.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/window.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/windows.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/windowserver.svg +11 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/wine.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/wink.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/woman.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/wordpress.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/youtube.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/fonts/svg/zoom.svg +7 -0
- data/app/assets/stylesheets/themes/antlr/img/blackfriday/bf-demos.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/blackfriday/bf-email.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/blackfriday/bf-newsletter.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/blackfriday/bf-orderform.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/blackfriday/bf-svg.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/blackfriday/bf-whmcs.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/casestudy.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/check.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/closer.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/img/controlpanel01.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/controlpanel02.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/controlpanel03.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/cssda.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/de-flag.svg +31 -0
- data/app/assets/stylesheets/themes/antlr/img/drag.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/favicon.ico +0 -0
- data/app/assets/stylesheets/themes/antlr/img/filter/cd-icon-arrow.svg +12 -0
- data/app/assets/stylesheets/themes/antlr/img/filter/cd-icon-check.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/img/filter/cd-icon-filter.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/img/grabbing.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/logo-light.svg +32 -0
- data/app/assets/stylesheets/themes/antlr/img/logo.svg +31 -0
- data/app/assets/stylesheets/themes/antlr/img/logos/ark.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/logos/counterstrike.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/logos/rust.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/owl.video.play.png +0 -0
- data/app/assets/stylesheets/themes/antlr/img/partners/drupal.svg +59 -0
- data/app/assets/stylesheets/themes/antlr/img/partners/envato.svg +31 -0
- data/app/assets/stylesheets/themes/antlr/img/partners/joomla.svg +53 -0
- data/app/assets/stylesheets/themes/antlr/img/partners/magento.svg +56 -0
- data/app/assets/stylesheets/themes/antlr/img/partners/wordpress.svg +53 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/alipay.svg +32 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/americanexpress.svg +39 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/applepay.svg +31 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/boleto.svg +63 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/chatpay.svg +85 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/discover.svg +47 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/googlepay.svg +21 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/ideal.svg +36 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/mastercard.svg +69 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/payoneer.svg +50 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/paypal.svg +39 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/samsungpay.svg +35 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/sepa.svg +109 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/sofort.svg +43 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/visa.svg +17 -0
- data/app/assets/stylesheets/themes/antlr/img/payments/visacheckout.svg +49 -0
- data/app/assets/stylesheets/themes/antlr/img/preanima.svg +14 -0
- data/app/assets/stylesheets/themes/antlr/img/symbol.svg +18 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner01.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner02.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner03.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner04.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner05.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner06.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner07.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner08.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner09.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner10.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner11.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner12.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner13.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner14.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner15.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/img/topbanner16.jpg +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/alldevices.svg +34 -0
- data/app/assets/stylesheets/themes/antlr/patterns/api.svg +133 -0
- data/app/assets/stylesheets/themes/antlr/patterns/backups.svg +58 -0
- data/app/assets/stylesheets/themes/antlr/patterns/balancing.svg +84 -0
- data/app/assets/stylesheets/themes/antlr/patterns/blackfriday.svg +455 -0
- data/app/assets/stylesheets/themes/antlr/patterns/cloud3d.svg +1 -0
- data/app/assets/stylesheets/themes/antlr/patterns/cloudvps.svg +45 -0
- data/app/assets/stylesheets/themes/antlr/patterns/cock.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/patterns/commercialman.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/patterns/controlpanel.svg +47 -0
- data/app/assets/stylesheets/themes/antlr/patterns/controlplesk.svg +35 -0
- data/app/assets/stylesheets/themes/antlr/patterns/cpupath-w.svg +570 -0
- data/app/assets/stylesheets/themes/antlr/patterns/cpupath.svg +570 -0
- data/app/assets/stylesheets/themes/antlr/patterns/dbaashigh.svg +43 -0
- data/app/assets/stylesheets/themes/antlr/patterns/dbaasscale.svg +40 -0
- data/app/assets/stylesheets/themes/antlr/patterns/dbaassecure.svg +105 -0
- data/app/assets/stylesheets/themes/antlr/patterns/ddosalways.svg +21 -0
- data/app/assets/stylesheets/themes/antlr/patterns/ddoslayers.svg +47 -0
- data/app/assets/stylesheets/themes/antlr/patterns/dedicatedserver3d.svg +1 -0
- data/app/assets/stylesheets/themes/antlr/patterns/dns.svg +71 -0
- data/app/assets/stylesheets/themes/antlr/patterns/domainmanage.svg +49 -0
- data/app/assets/stylesheets/themes/antlr/patterns/domainrenewal.svg +20 -0
- data/app/assets/stylesheets/themes/antlr/patterns/domains.svg +54 -0
- data/app/assets/stylesheets/themes/antlr/patterns/efficiency.svg +333 -0
- data/app/assets/stylesheets/themes/antlr/patterns/emailcalendar.svg +25 -0
- data/app/assets/stylesheets/themes/antlr/patterns/emailsecurity.svg +50 -0
- data/app/assets/stylesheets/themes/antlr/patterns/emailsync.svg +25 -0
- data/app/assets/stylesheets/themes/antlr/patterns/exapath-w.svg +8 -0
- data/app/assets/stylesheets/themes/antlr/patterns/exapath.svg +6 -0
- data/app/assets/stylesheets/themes/antlr/patterns/gaming.svg +128 -0
- data/app/assets/stylesheets/themes/antlr/patterns/git.svg +35 -0
- data/app/assets/stylesheets/themes/antlr/patterns/gitpull.svg +44 -0
- data/app/assets/stylesheets/themes/antlr/patterns/hardware.svg +209 -0
- data/app/assets/stylesheets/themes/antlr/patterns/hostingpanel.svg +41 -0
- data/app/assets/stylesheets/themes/antlr/patterns/install.svg +39 -0
- data/app/assets/stylesheets/themes/antlr/patterns/iptv.svg +47 -0
- data/app/assets/stylesheets/themes/antlr/patterns/iptvdevices.svg +30 -0
- data/app/assets/stylesheets/themes/antlr/patterns/kangaroo.svg +9 -0
- data/app/assets/stylesheets/themes/antlr/patterns/lion.svg +10 -0
- data/app/assets/stylesheets/themes/antlr/patterns/map.svg +25 -0
- data/app/assets/stylesheets/themes/antlr/patterns/maxsecurity.svg +18 -0
- data/app/assets/stylesheets/themes/antlr/patterns/monitoring.svg +140 -0
- data/app/assets/stylesheets/themes/antlr/patterns/motpath-w.svg +76 -0
- data/app/assets/stylesheets/themes/antlr/patterns/motpath.svg +76 -0
- data/app/assets/stylesheets/themes/antlr/patterns/notfound.svg +33 -0
- data/app/assets/stylesheets/themes/antlr/patterns/os.svg +69 -0
- data/app/assets/stylesheets/themes/antlr/patterns/performance.svg +97 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/alldevices.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/api.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/backups.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/balancing.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/cloudvps.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/cock.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/commercialman.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/controlpanel.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/controlplesk.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/cpupath-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/cpupath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/dbaashigh.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/dbaasscale.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/dbaassecure.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/ddosalways.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/ddoslayers.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/dns.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/domainmanage.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/domainrenewal.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/domains.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/efficiency.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/emailcalendar.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/emailsecurity.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/emailsync.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/exapath-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/exapath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/gaming.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/git.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/gitpull.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/hardware.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/hostingpanel.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/install.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/iptv.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/iptvdevices.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/kangaroo.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/lion.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/map.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/maxsecurity.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/monitoring.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/motpath-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/motpath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/notfound.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/os.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/performance.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/promo-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/promopath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/protectvisitors.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/provisioning.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/quarantine.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/rack.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/ranking.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/redundant.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/salesman.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/scalable.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/soon.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/ssd.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/ssl.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/support.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/supportman.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/virtualnumbers.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/voice.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-blue/voip.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/alldevices.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/api.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/backups.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/balancing.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/cloudvps.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/cock.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/commercialman.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/controlpanel.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/controlplesk.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/cpupath-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/cpupath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/dbaashigh.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/dbaasscale.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/dbaassecure.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/ddosalways.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/ddoslayers.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/dns.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/domainmanage.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/domainrenewal.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/domains.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/efficiency.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/emailcalendar.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/emailsecurity.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/emailsync.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/exapath-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/exapath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/git.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/gitpull.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/hardware.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/hostingpanel.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/install.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/iptv.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/iptvdevices.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/kangaroo.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/lion.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/map.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/maxsecurity.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/monitoring.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/motpath-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/motpath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/notfound.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/os.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/performance.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/promo-w.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/promopath.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/protectvisitors.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/provisioning.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/quarantine.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/rack.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/ranking.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/redundant.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/salesman.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/scalable.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/soon.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/ssd.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/ssl.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/support.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/supportman.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/virtualnumbers.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/voice.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/png-pink/voip.png +0 -0
- data/app/assets/stylesheets/themes/antlr/patterns/promo-w.svg +611 -0
- data/app/assets/stylesheets/themes/antlr/patterns/promopath.svg +608 -0
- data/app/assets/stylesheets/themes/antlr/patterns/protectvisitors.svg +63 -0
- data/app/assets/stylesheets/themes/antlr/patterns/provisioning.svg +125 -0
- data/app/assets/stylesheets/themes/antlr/patterns/quarantine.svg +205 -0
- data/app/assets/stylesheets/themes/antlr/patterns/rack.svg +679 -0
- data/app/assets/stylesheets/themes/antlr/patterns/ranking.svg +20 -0
- data/app/assets/stylesheets/themes/antlr/patterns/redundant.svg +128 -0
- data/app/assets/stylesheets/themes/antlr/patterns/salesman.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/patterns/scalable.svg +60 -0
- data/app/assets/stylesheets/themes/antlr/patterns/soon.svg +34 -0
- data/app/assets/stylesheets/themes/antlr/patterns/ssd.svg +74 -0
- data/app/assets/stylesheets/themes/antlr/patterns/ssl.svg +31 -0
- data/app/assets/stylesheets/themes/antlr/patterns/support.svg +47 -0
- data/app/assets/stylesheets/themes/antlr/patterns/supportman.svg +15 -0
- data/app/assets/stylesheets/themes/antlr/patterns/virtualnumbers.svg +48 -0
- data/app/assets/stylesheets/themes/antlr/patterns/voice.svg +57 -0
- data/app/assets/stylesheets/themes/antlr/patterns/voip.svg +48 -0
- data/lib/phcthemes_web_theme_pack/version.rb +1 -1
- metadata +650 -13
@@ -0,0 +1,1997 @@
|
|
1
|
+
(function () {
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
function _classCallCheck(instance, Constructor) {
|
5
|
+
if (!(instance instanceof Constructor)) {
|
6
|
+
throw new TypeError("Cannot call a class as a function");
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
function _defineProperties(target, props) {
|
11
|
+
for (var i = 0; i < props.length; i++) {
|
12
|
+
var descriptor = props[i];
|
13
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
14
|
+
descriptor.configurable = true;
|
15
|
+
if ("value" in descriptor) descriptor.writable = true;
|
16
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
21
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
22
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
23
|
+
return Constructor;
|
24
|
+
}
|
25
|
+
|
26
|
+
function _defineProperty(obj, key, value) {
|
27
|
+
if (key in obj) {
|
28
|
+
Object.defineProperty(obj, key, {
|
29
|
+
value: value,
|
30
|
+
enumerable: true,
|
31
|
+
configurable: true,
|
32
|
+
writable: true
|
33
|
+
});
|
34
|
+
} else {
|
35
|
+
obj[key] = value;
|
36
|
+
}
|
37
|
+
|
38
|
+
return obj;
|
39
|
+
}
|
40
|
+
|
41
|
+
function _objectSpread(target) {
|
42
|
+
for (var i = 1; i < arguments.length; i++) {
|
43
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
44
|
+
var ownKeys = Object.keys(source);
|
45
|
+
|
46
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
47
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
48
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
49
|
+
}));
|
50
|
+
}
|
51
|
+
|
52
|
+
ownKeys.forEach(function (key) {
|
53
|
+
_defineProperty(target, key, source[key]);
|
54
|
+
});
|
55
|
+
}
|
56
|
+
|
57
|
+
return target;
|
58
|
+
}
|
59
|
+
|
60
|
+
function _slicedToArray(arr, i) {
|
61
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
62
|
+
}
|
63
|
+
|
64
|
+
function _toConsumableArray(arr) {
|
65
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
|
66
|
+
}
|
67
|
+
|
68
|
+
function _arrayWithoutHoles(arr) {
|
69
|
+
if (Array.isArray(arr)) {
|
70
|
+
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
|
71
|
+
|
72
|
+
return arr2;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
function _arrayWithHoles(arr) {
|
77
|
+
if (Array.isArray(arr)) return arr;
|
78
|
+
}
|
79
|
+
|
80
|
+
function _iterableToArray(iter) {
|
81
|
+
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
82
|
+
}
|
83
|
+
|
84
|
+
function _iterableToArrayLimit(arr, i) {
|
85
|
+
var _arr = [];
|
86
|
+
var _n = true;
|
87
|
+
var _d = false;
|
88
|
+
var _e = undefined;
|
89
|
+
|
90
|
+
try {
|
91
|
+
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
92
|
+
_arr.push(_s.value);
|
93
|
+
|
94
|
+
if (i && _arr.length === i) break;
|
95
|
+
}
|
96
|
+
} catch (err) {
|
97
|
+
_d = true;
|
98
|
+
_e = err;
|
99
|
+
} finally {
|
100
|
+
try {
|
101
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
102
|
+
} finally {
|
103
|
+
if (_d) throw _e;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
return _arr;
|
108
|
+
}
|
109
|
+
|
110
|
+
function _nonIterableSpread() {
|
111
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
112
|
+
}
|
113
|
+
|
114
|
+
function _nonIterableRest() {
|
115
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
116
|
+
}
|
117
|
+
|
118
|
+
var noop = function noop() {};
|
119
|
+
|
120
|
+
var _WINDOW = {};
|
121
|
+
var _DOCUMENT = {};
|
122
|
+
var _MUTATION_OBSERVER = null;
|
123
|
+
var _PERFORMANCE = {
|
124
|
+
mark: noop,
|
125
|
+
measure: noop
|
126
|
+
};
|
127
|
+
|
128
|
+
try {
|
129
|
+
if (typeof window !== 'undefined') _WINDOW = window;
|
130
|
+
if (typeof document !== 'undefined') _DOCUMENT = document;
|
131
|
+
if (typeof MutationObserver !== 'undefined') _MUTATION_OBSERVER = MutationObserver;
|
132
|
+
if (typeof performance !== 'undefined') _PERFORMANCE = performance;
|
133
|
+
} catch (e) {}
|
134
|
+
|
135
|
+
var _ref = _WINDOW.navigator || {},
|
136
|
+
_ref$userAgent = _ref.userAgent,
|
137
|
+
userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent;
|
138
|
+
|
139
|
+
var WINDOW = _WINDOW;
|
140
|
+
var DOCUMENT = _DOCUMENT;
|
141
|
+
var MUTATION_OBSERVER = _MUTATION_OBSERVER;
|
142
|
+
var PERFORMANCE = _PERFORMANCE;
|
143
|
+
var IS_BROWSER = !!WINDOW.document;
|
144
|
+
var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
|
145
|
+
var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
|
146
|
+
|
147
|
+
var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
|
148
|
+
var UNITS_IN_GRID = 16;
|
149
|
+
var DEFAULT_FAMILY_PREFIX = 'fa';
|
150
|
+
var DEFAULT_REPLACEMENT_CLASS = 'svg-inline--fa';
|
151
|
+
var DATA_FA_I2SVG = 'data-fa-i2svg';
|
152
|
+
var DATA_FA_PSEUDO_ELEMENT = 'data-fa-pseudo-element';
|
153
|
+
var DATA_PREFIX = 'data-prefix';
|
154
|
+
var DATA_ICON = 'data-icon';
|
155
|
+
var HTML_CLASS_I2SVG_BASE_CLASS = 'fontawesome-i2svg';
|
156
|
+
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ['HTML', 'HEAD', 'STYLE', 'SCRIPT'];
|
157
|
+
var PRODUCTION = function () {
|
158
|
+
try {
|
159
|
+
return "production" === 'production';
|
160
|
+
} catch (e) {
|
161
|
+
return false;
|
162
|
+
}
|
163
|
+
}();
|
164
|
+
var oneToTen = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
165
|
+
var oneToTwenty = oneToTen.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]);
|
166
|
+
var ATTRIBUTES_WATCHED_FOR_MUTATION = ['class', 'data-prefix', 'data-icon', 'data-fa-transform', 'data-fa-mask'];
|
167
|
+
var RESERVED_CLASSES = ['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(oneToTen.map(function (n) {
|
168
|
+
return "".concat(n, "x");
|
169
|
+
})).concat(oneToTwenty.map(function (n) {
|
170
|
+
return "w-".concat(n);
|
171
|
+
}));
|
172
|
+
|
173
|
+
var initial = WINDOW.FontAwesomeConfig || {};
|
174
|
+
|
175
|
+
function getAttrConfig(attr) {
|
176
|
+
var element = DOCUMENT.querySelector('script[' + attr + ']');
|
177
|
+
|
178
|
+
if (element) {
|
179
|
+
return element.getAttribute(attr);
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
function coerce(val) {
|
184
|
+
// Getting an empty string will occur if the attribute is set on the HTML tag but without a value
|
185
|
+
// We'll assume that this is an indication that it should be toggled to true
|
186
|
+
// For example <script data-search-pseudo-elements src="..."></script>
|
187
|
+
if (val === '') return true;
|
188
|
+
if (val === 'false') return false;
|
189
|
+
if (val === 'true') return true;
|
190
|
+
return val;
|
191
|
+
}
|
192
|
+
|
193
|
+
if (DOCUMENT && typeof DOCUMENT.querySelector === 'function') {
|
194
|
+
var attrs = [['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']];
|
195
|
+
attrs.forEach(function (_ref) {
|
196
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
197
|
+
attr = _ref2[0],
|
198
|
+
key = _ref2[1];
|
199
|
+
|
200
|
+
var val = coerce(getAttrConfig(attr));
|
201
|
+
|
202
|
+
if (val !== undefined && val !== null) {
|
203
|
+
initial[key] = val;
|
204
|
+
}
|
205
|
+
});
|
206
|
+
}
|
207
|
+
|
208
|
+
var _default = _objectSpread({
|
209
|
+
familyPrefix: DEFAULT_FAMILY_PREFIX,
|
210
|
+
replacementClass: DEFAULT_REPLACEMENT_CLASS,
|
211
|
+
autoReplaceSvg: true,
|
212
|
+
autoAddCss: true,
|
213
|
+
autoA11y: true,
|
214
|
+
searchPseudoElements: false,
|
215
|
+
observeMutations: true,
|
216
|
+
keepOriginalSource: true,
|
217
|
+
measurePerformance: false,
|
218
|
+
showMissingIcons: true
|
219
|
+
}, initial);
|
220
|
+
|
221
|
+
if (!_default.autoReplaceSvg) _default.observeMutations = false;
|
222
|
+
|
223
|
+
var config = _objectSpread({}, _default);
|
224
|
+
|
225
|
+
WINDOW.FontAwesomeConfig = config;
|
226
|
+
|
227
|
+
var w = WINDOW || {};
|
228
|
+
if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
|
229
|
+
if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
|
230
|
+
if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
|
231
|
+
if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
|
232
|
+
var namespace = w[NAMESPACE_IDENTIFIER];
|
233
|
+
|
234
|
+
var functions = [];
|
235
|
+
|
236
|
+
var listener = function listener() {
|
237
|
+
DOCUMENT.removeEventListener('DOMContentLoaded', listener);
|
238
|
+
loaded = 1;
|
239
|
+
functions.map(function (fn) {
|
240
|
+
return fn();
|
241
|
+
});
|
242
|
+
};
|
243
|
+
|
244
|
+
var loaded = false;
|
245
|
+
|
246
|
+
if (IS_DOM) {
|
247
|
+
loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
|
248
|
+
if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', listener);
|
249
|
+
}
|
250
|
+
|
251
|
+
function domready (fn) {
|
252
|
+
if (!IS_DOM) return;
|
253
|
+
loaded ? setTimeout(fn, 0) : functions.push(fn);
|
254
|
+
}
|
255
|
+
|
256
|
+
var d = UNITS_IN_GRID;
|
257
|
+
var meaninglessTransform = {
|
258
|
+
size: 16,
|
259
|
+
x: 0,
|
260
|
+
y: 0,
|
261
|
+
rotate: 0,
|
262
|
+
flipX: false,
|
263
|
+
flipY: false
|
264
|
+
};
|
265
|
+
|
266
|
+
function isReserved(name) {
|
267
|
+
return ~RESERVED_CLASSES.indexOf(name);
|
268
|
+
}
|
269
|
+
|
270
|
+
function bunker(fn) {
|
271
|
+
try {
|
272
|
+
fn();
|
273
|
+
} catch (e) {
|
274
|
+
if (!PRODUCTION) {
|
275
|
+
throw e;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
function insertCss(css) {
|
280
|
+
if (!css || !IS_DOM) {
|
281
|
+
return;
|
282
|
+
}
|
283
|
+
|
284
|
+
var style = DOCUMENT.createElement('style');
|
285
|
+
style.setAttribute('type', 'text/css');
|
286
|
+
style.innerHTML = css;
|
287
|
+
var headChildren = DOCUMENT.head.childNodes;
|
288
|
+
var beforeChild = null;
|
289
|
+
|
290
|
+
for (var i = headChildren.length - 1; i > -1; i--) {
|
291
|
+
var child = headChildren[i];
|
292
|
+
var tagName = (child.tagName || '').toUpperCase();
|
293
|
+
|
294
|
+
if (['STYLE', 'LINK'].indexOf(tagName) > -1) {
|
295
|
+
beforeChild = child;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
DOCUMENT.head.insertBefore(style, beforeChild);
|
300
|
+
return css;
|
301
|
+
}
|
302
|
+
var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
303
|
+
function nextUniqueId() {
|
304
|
+
var size = 12;
|
305
|
+
var id = '';
|
306
|
+
|
307
|
+
while (size-- > 0) {
|
308
|
+
id += idPool[Math.random() * 62 | 0];
|
309
|
+
}
|
310
|
+
|
311
|
+
return id;
|
312
|
+
}
|
313
|
+
function toArray(obj) {
|
314
|
+
var array = [];
|
315
|
+
|
316
|
+
for (var i = (obj || []).length >>> 0; i--;) {
|
317
|
+
array[i] = obj[i];
|
318
|
+
}
|
319
|
+
|
320
|
+
return array;
|
321
|
+
}
|
322
|
+
function classArray(node) {
|
323
|
+
if (node.classList) {
|
324
|
+
return toArray(node.classList);
|
325
|
+
} else {
|
326
|
+
return (node.getAttribute('class') || '').split(' ').filter(function (i) {
|
327
|
+
return i;
|
328
|
+
});
|
329
|
+
}
|
330
|
+
}
|
331
|
+
function getIconName(familyPrefix, cls) {
|
332
|
+
var parts = cls.split('-');
|
333
|
+
var prefix = parts[0];
|
334
|
+
var iconName = parts.slice(1).join('-');
|
335
|
+
|
336
|
+
if (prefix === familyPrefix && iconName !== '' && !isReserved(iconName)) {
|
337
|
+
return iconName;
|
338
|
+
} else {
|
339
|
+
return null;
|
340
|
+
}
|
341
|
+
}
|
342
|
+
function htmlEscape(str) {
|
343
|
+
return "".concat(str).replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>');
|
344
|
+
}
|
345
|
+
function joinAttributes(attributes) {
|
346
|
+
return Object.keys(attributes || {}).reduce(function (acc, attributeName) {
|
347
|
+
return acc + "".concat(attributeName, "=\"").concat(htmlEscape(attributes[attributeName]), "\" ");
|
348
|
+
}, '').trim();
|
349
|
+
}
|
350
|
+
function joinStyles(styles) {
|
351
|
+
return Object.keys(styles || {}).reduce(function (acc, styleName) {
|
352
|
+
return acc + "".concat(styleName, ": ").concat(styles[styleName], ";");
|
353
|
+
}, '');
|
354
|
+
}
|
355
|
+
function transformIsMeaningful(transform) {
|
356
|
+
return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
|
357
|
+
}
|
358
|
+
function transformForSvg(_ref) {
|
359
|
+
var transform = _ref.transform,
|
360
|
+
containerWidth = _ref.containerWidth,
|
361
|
+
iconWidth = _ref.iconWidth;
|
362
|
+
var outer = {
|
363
|
+
transform: "translate(".concat(containerWidth / 2, " 256)")
|
364
|
+
};
|
365
|
+
var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
|
366
|
+
var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
|
367
|
+
var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
|
368
|
+
var inner = {
|
369
|
+
transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
|
370
|
+
};
|
371
|
+
var path = {
|
372
|
+
transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
|
373
|
+
};
|
374
|
+
return {
|
375
|
+
outer: outer,
|
376
|
+
inner: inner,
|
377
|
+
path: path
|
378
|
+
};
|
379
|
+
}
|
380
|
+
function transformForCss(_ref2) {
|
381
|
+
var transform = _ref2.transform,
|
382
|
+
_ref2$width = _ref2.width,
|
383
|
+
width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width,
|
384
|
+
_ref2$height = _ref2.height,
|
385
|
+
height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height,
|
386
|
+
_ref2$startCentered = _ref2.startCentered,
|
387
|
+
startCentered = _ref2$startCentered === void 0 ? false : _ref2$startCentered;
|
388
|
+
var val = '';
|
389
|
+
|
390
|
+
if (startCentered && IS_IE) {
|
391
|
+
val += "translate(".concat(transform.x / d - width / 2, "em, ").concat(transform.y / d - height / 2, "em) ");
|
392
|
+
} else if (startCentered) {
|
393
|
+
val += "translate(calc(-50% + ".concat(transform.x / d, "em), calc(-50% + ").concat(transform.y / d, "em)) ");
|
394
|
+
} else {
|
395
|
+
val += "translate(".concat(transform.x / d, "em, ").concat(transform.y / d, "em) ");
|
396
|
+
}
|
397
|
+
|
398
|
+
val += "scale(".concat(transform.size / d * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d * (transform.flipY ? -1 : 1), ") ");
|
399
|
+
val += "rotate(".concat(transform.rotate, "deg) ");
|
400
|
+
return val;
|
401
|
+
}
|
402
|
+
|
403
|
+
var ALL_SPACE = {
|
404
|
+
x: 0,
|
405
|
+
y: 0,
|
406
|
+
width: '100%',
|
407
|
+
height: '100%'
|
408
|
+
};
|
409
|
+
function makeIconMasking (_ref) {
|
410
|
+
var children = _ref.children,
|
411
|
+
attributes = _ref.attributes,
|
412
|
+
main = _ref.main,
|
413
|
+
mask = _ref.mask,
|
414
|
+
transform = _ref.transform;
|
415
|
+
var mainWidth = main.width,
|
416
|
+
mainPath = main.icon;
|
417
|
+
var maskWidth = mask.width,
|
418
|
+
maskPath = mask.icon;
|
419
|
+
var trans = transformForSvg({
|
420
|
+
transform: transform,
|
421
|
+
containerWidth: maskWidth,
|
422
|
+
iconWidth: mainWidth
|
423
|
+
});
|
424
|
+
var maskRect = {
|
425
|
+
tag: 'rect',
|
426
|
+
attributes: _objectSpread({}, ALL_SPACE, {
|
427
|
+
fill: 'white'
|
428
|
+
})
|
429
|
+
};
|
430
|
+
var maskInnerGroup = {
|
431
|
+
tag: 'g',
|
432
|
+
attributes: _objectSpread({}, trans.inner),
|
433
|
+
children: [{
|
434
|
+
tag: 'path',
|
435
|
+
attributes: _objectSpread({}, mainPath.attributes, trans.path, {
|
436
|
+
fill: 'black'
|
437
|
+
})
|
438
|
+
}]
|
439
|
+
};
|
440
|
+
var maskOuterGroup = {
|
441
|
+
tag: 'g',
|
442
|
+
attributes: _objectSpread({}, trans.outer),
|
443
|
+
children: [maskInnerGroup]
|
444
|
+
};
|
445
|
+
var maskId = "mask-".concat(nextUniqueId());
|
446
|
+
var clipId = "clip-".concat(nextUniqueId());
|
447
|
+
var maskTag = {
|
448
|
+
tag: 'mask',
|
449
|
+
attributes: _objectSpread({}, ALL_SPACE, {
|
450
|
+
id: maskId,
|
451
|
+
maskUnits: 'userSpaceOnUse',
|
452
|
+
maskContentUnits: 'userSpaceOnUse'
|
453
|
+
}),
|
454
|
+
children: [maskRect, maskOuterGroup]
|
455
|
+
};
|
456
|
+
var defs = {
|
457
|
+
tag: 'defs',
|
458
|
+
children: [{
|
459
|
+
tag: 'clipPath',
|
460
|
+
attributes: {
|
461
|
+
id: clipId
|
462
|
+
},
|
463
|
+
children: [maskPath]
|
464
|
+
}, maskTag]
|
465
|
+
};
|
466
|
+
children.push(defs, {
|
467
|
+
tag: 'rect',
|
468
|
+
attributes: _objectSpread({
|
469
|
+
fill: 'currentColor',
|
470
|
+
'clip-path': "url(#".concat(clipId, ")"),
|
471
|
+
mask: "url(#".concat(maskId, ")")
|
472
|
+
}, ALL_SPACE)
|
473
|
+
});
|
474
|
+
return {
|
475
|
+
children: children,
|
476
|
+
attributes: attributes
|
477
|
+
};
|
478
|
+
}
|
479
|
+
|
480
|
+
function makeIconStandard (_ref) {
|
481
|
+
var children = _ref.children,
|
482
|
+
attributes = _ref.attributes,
|
483
|
+
main = _ref.main,
|
484
|
+
transform = _ref.transform,
|
485
|
+
styles = _ref.styles;
|
486
|
+
var styleString = joinStyles(styles);
|
487
|
+
|
488
|
+
if (styleString.length > 0) {
|
489
|
+
attributes['style'] = styleString;
|
490
|
+
}
|
491
|
+
|
492
|
+
if (transformIsMeaningful(transform)) {
|
493
|
+
var trans = transformForSvg({
|
494
|
+
transform: transform,
|
495
|
+
containerWidth: main.width,
|
496
|
+
iconWidth: main.width
|
497
|
+
});
|
498
|
+
children.push({
|
499
|
+
tag: 'g',
|
500
|
+
attributes: _objectSpread({}, trans.outer),
|
501
|
+
children: [{
|
502
|
+
tag: 'g',
|
503
|
+
attributes: _objectSpread({}, trans.inner),
|
504
|
+
children: [{
|
505
|
+
tag: main.icon.tag,
|
506
|
+
children: main.icon.children,
|
507
|
+
attributes: _objectSpread({}, main.icon.attributes, trans.path)
|
508
|
+
}]
|
509
|
+
}]
|
510
|
+
});
|
511
|
+
} else {
|
512
|
+
children.push(main.icon);
|
513
|
+
}
|
514
|
+
|
515
|
+
return {
|
516
|
+
children: children,
|
517
|
+
attributes: attributes
|
518
|
+
};
|
519
|
+
}
|
520
|
+
|
521
|
+
function asIcon (_ref) {
|
522
|
+
var children = _ref.children,
|
523
|
+
main = _ref.main,
|
524
|
+
mask = _ref.mask,
|
525
|
+
attributes = _ref.attributes,
|
526
|
+
styles = _ref.styles,
|
527
|
+
transform = _ref.transform;
|
528
|
+
|
529
|
+
if (transformIsMeaningful(transform) && main.found && !mask.found) {
|
530
|
+
var width = main.width,
|
531
|
+
height = main.height;
|
532
|
+
var offset = {
|
533
|
+
x: width / height / 2,
|
534
|
+
y: 0.5
|
535
|
+
};
|
536
|
+
attributes['style'] = joinStyles(_objectSpread({}, styles, {
|
537
|
+
'transform-origin': "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em")
|
538
|
+
}));
|
539
|
+
}
|
540
|
+
|
541
|
+
return [{
|
542
|
+
tag: 'svg',
|
543
|
+
attributes: attributes,
|
544
|
+
children: children
|
545
|
+
}];
|
546
|
+
}
|
547
|
+
|
548
|
+
function asSymbol (_ref) {
|
549
|
+
var prefix = _ref.prefix,
|
550
|
+
iconName = _ref.iconName,
|
551
|
+
children = _ref.children,
|
552
|
+
attributes = _ref.attributes,
|
553
|
+
symbol = _ref.symbol;
|
554
|
+
var id = symbol === true ? "".concat(prefix, "-").concat(config.familyPrefix, "-").concat(iconName) : symbol;
|
555
|
+
return [{
|
556
|
+
tag: 'svg',
|
557
|
+
attributes: {
|
558
|
+
style: 'display: none;'
|
559
|
+
},
|
560
|
+
children: [{
|
561
|
+
tag: 'symbol',
|
562
|
+
attributes: _objectSpread({}, attributes, {
|
563
|
+
id: id
|
564
|
+
}),
|
565
|
+
children: children
|
566
|
+
}]
|
567
|
+
}];
|
568
|
+
}
|
569
|
+
|
570
|
+
function makeInlineSvgAbstract(params) {
|
571
|
+
var _params$icons = params.icons,
|
572
|
+
main = _params$icons.main,
|
573
|
+
mask = _params$icons.mask,
|
574
|
+
prefix = params.prefix,
|
575
|
+
iconName = params.iconName,
|
576
|
+
transform = params.transform,
|
577
|
+
symbol = params.symbol,
|
578
|
+
title = params.title,
|
579
|
+
extra = params.extra,
|
580
|
+
_params$watchable = params.watchable,
|
581
|
+
watchable = _params$watchable === void 0 ? false : _params$watchable;
|
582
|
+
|
583
|
+
var _ref = mask.found ? mask : main,
|
584
|
+
width = _ref.width,
|
585
|
+
height = _ref.height;
|
586
|
+
|
587
|
+
var widthClass = "fa-w-".concat(Math.ceil(width / height * 16));
|
588
|
+
var attrClass = [config.replacementClass, iconName ? "".concat(config.familyPrefix, "-").concat(iconName) : '', widthClass].filter(function (c) {
|
589
|
+
return extra.classes.indexOf(c) === -1;
|
590
|
+
}).concat(extra.classes).join(' ');
|
591
|
+
var content = {
|
592
|
+
children: [],
|
593
|
+
attributes: _objectSpread({}, extra.attributes, {
|
594
|
+
'data-prefix': prefix,
|
595
|
+
'data-icon': iconName,
|
596
|
+
'class': attrClass,
|
597
|
+
'role': 'img',
|
598
|
+
'xmlns': 'http://www.w3.org/2000/svg',
|
599
|
+
'viewBox': "0 0 ".concat(width, " ").concat(height)
|
600
|
+
})
|
601
|
+
};
|
602
|
+
|
603
|
+
if (watchable) {
|
604
|
+
content.attributes[DATA_FA_I2SVG] = '';
|
605
|
+
}
|
606
|
+
|
607
|
+
if (title) content.children.push({
|
608
|
+
tag: 'title',
|
609
|
+
attributes: {
|
610
|
+
id: content.attributes['aria-labelledby'] || "title-".concat(nextUniqueId())
|
611
|
+
},
|
612
|
+
children: [title]
|
613
|
+
});
|
614
|
+
|
615
|
+
var args = _objectSpread({}, content, {
|
616
|
+
prefix: prefix,
|
617
|
+
iconName: iconName,
|
618
|
+
main: main,
|
619
|
+
mask: mask,
|
620
|
+
transform: transform,
|
621
|
+
symbol: symbol,
|
622
|
+
styles: extra.styles
|
623
|
+
});
|
624
|
+
|
625
|
+
var _ref2 = mask.found && main.found ? makeIconMasking(args) : makeIconStandard(args),
|
626
|
+
children = _ref2.children,
|
627
|
+
attributes = _ref2.attributes;
|
628
|
+
|
629
|
+
args.children = children;
|
630
|
+
args.attributes = attributes;
|
631
|
+
|
632
|
+
if (symbol) {
|
633
|
+
return asSymbol(args);
|
634
|
+
} else {
|
635
|
+
return asIcon(args);
|
636
|
+
}
|
637
|
+
}
|
638
|
+
function makeLayersTextAbstract(params) {
|
639
|
+
var content = params.content,
|
640
|
+
width = params.width,
|
641
|
+
height = params.height,
|
642
|
+
transform = params.transform,
|
643
|
+
title = params.title,
|
644
|
+
extra = params.extra,
|
645
|
+
_params$watchable2 = params.watchable,
|
646
|
+
watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
|
647
|
+
|
648
|
+
var attributes = _objectSpread({}, extra.attributes, title ? {
|
649
|
+
'title': title
|
650
|
+
} : {}, {
|
651
|
+
'class': extra.classes.join(' ')
|
652
|
+
});
|
653
|
+
|
654
|
+
if (watchable) {
|
655
|
+
attributes[DATA_FA_I2SVG] = '';
|
656
|
+
}
|
657
|
+
|
658
|
+
var styles = _objectSpread({}, extra.styles);
|
659
|
+
|
660
|
+
if (transformIsMeaningful(transform)) {
|
661
|
+
styles['transform'] = transformForCss({
|
662
|
+
transform: transform,
|
663
|
+
startCentered: true,
|
664
|
+
width: width,
|
665
|
+
height: height
|
666
|
+
});
|
667
|
+
styles['-webkit-transform'] = styles['transform'];
|
668
|
+
}
|
669
|
+
|
670
|
+
var styleString = joinStyles(styles);
|
671
|
+
|
672
|
+
if (styleString.length > 0) {
|
673
|
+
attributes['style'] = styleString;
|
674
|
+
}
|
675
|
+
|
676
|
+
var val = [];
|
677
|
+
val.push({
|
678
|
+
tag: 'span',
|
679
|
+
attributes: attributes,
|
680
|
+
children: [content]
|
681
|
+
});
|
682
|
+
|
683
|
+
if (title) {
|
684
|
+
val.push({
|
685
|
+
tag: 'span',
|
686
|
+
attributes: {
|
687
|
+
class: 'sr-only'
|
688
|
+
},
|
689
|
+
children: [title]
|
690
|
+
});
|
691
|
+
}
|
692
|
+
|
693
|
+
return val;
|
694
|
+
}
|
695
|
+
function makeLayersCounterAbstract(params) {
|
696
|
+
var content = params.content,
|
697
|
+
title = params.title,
|
698
|
+
extra = params.extra;
|
699
|
+
|
700
|
+
var attributes = _objectSpread({}, extra.attributes, title ? {
|
701
|
+
'title': title
|
702
|
+
} : {}, {
|
703
|
+
'class': extra.classes.join(' ')
|
704
|
+
});
|
705
|
+
|
706
|
+
var styleString = joinStyles(extra.styles);
|
707
|
+
|
708
|
+
if (styleString.length > 0) {
|
709
|
+
attributes['style'] = styleString;
|
710
|
+
}
|
711
|
+
|
712
|
+
var val = [];
|
713
|
+
val.push({
|
714
|
+
tag: 'span',
|
715
|
+
attributes: attributes,
|
716
|
+
children: [content]
|
717
|
+
});
|
718
|
+
|
719
|
+
if (title) {
|
720
|
+
val.push({
|
721
|
+
tag: 'span',
|
722
|
+
attributes: {
|
723
|
+
class: 'sr-only'
|
724
|
+
},
|
725
|
+
children: [title]
|
726
|
+
});
|
727
|
+
}
|
728
|
+
|
729
|
+
return val;
|
730
|
+
}
|
731
|
+
|
732
|
+
var noop$1 = function noop() {};
|
733
|
+
|
734
|
+
var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
|
735
|
+
mark: noop$1,
|
736
|
+
measure: noop$1
|
737
|
+
};
|
738
|
+
var preamble = "FA \"5.6.3\"";
|
739
|
+
|
740
|
+
var begin = function begin(name) {
|
741
|
+
p.mark("".concat(preamble, " ").concat(name, " begins"));
|
742
|
+
return function () {
|
743
|
+
return end(name);
|
744
|
+
};
|
745
|
+
};
|
746
|
+
|
747
|
+
var end = function end(name) {
|
748
|
+
p.mark("".concat(preamble, " ").concat(name, " ends"));
|
749
|
+
p.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends"));
|
750
|
+
};
|
751
|
+
|
752
|
+
var perf = {
|
753
|
+
begin: begin,
|
754
|
+
end: end
|
755
|
+
};
|
756
|
+
|
757
|
+
/**
|
758
|
+
* Internal helper to bind a function known to have 4 arguments
|
759
|
+
* to a given context.
|
760
|
+
*/
|
761
|
+
|
762
|
+
var bindInternal4 = function bindInternal4(func, thisContext) {
|
763
|
+
return function (a, b, c, d) {
|
764
|
+
return func.call(thisContext, a, b, c, d);
|
765
|
+
};
|
766
|
+
};
|
767
|
+
|
768
|
+
/**
|
769
|
+
* # Reduce
|
770
|
+
*
|
771
|
+
* A fast object `.reduce()` implementation.
|
772
|
+
*
|
773
|
+
* @param {Object} subject The object to reduce over.
|
774
|
+
* @param {Function} fn The reducer function.
|
775
|
+
* @param {mixed} initialValue The initial value for the reducer, defaults to subject[0].
|
776
|
+
* @param {Object} thisContext The context for the reducer.
|
777
|
+
* @return {mixed} The final result.
|
778
|
+
*/
|
779
|
+
|
780
|
+
|
781
|
+
var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
|
782
|
+
var keys = Object.keys(subject),
|
783
|
+
length = keys.length,
|
784
|
+
iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn,
|
785
|
+
i,
|
786
|
+
key,
|
787
|
+
result;
|
788
|
+
|
789
|
+
if (initialValue === undefined) {
|
790
|
+
i = 1;
|
791
|
+
result = subject[keys[0]];
|
792
|
+
} else {
|
793
|
+
i = 0;
|
794
|
+
result = initialValue;
|
795
|
+
}
|
796
|
+
|
797
|
+
for (; i < length; i++) {
|
798
|
+
key = keys[i];
|
799
|
+
result = iterator(result, subject[key], key, subject);
|
800
|
+
}
|
801
|
+
|
802
|
+
return result;
|
803
|
+
};
|
804
|
+
|
805
|
+
var styles = namespace.styles,
|
806
|
+
shims = namespace.shims;
|
807
|
+
var _byUnicode = {};
|
808
|
+
var _byLigature = {};
|
809
|
+
var _byOldName = {};
|
810
|
+
var build = function build() {
|
811
|
+
var lookup = function lookup(reducer) {
|
812
|
+
return reduce(styles, function (o, style, prefix) {
|
813
|
+
o[prefix] = reduce(style, reducer, {});
|
814
|
+
return o;
|
815
|
+
}, {});
|
816
|
+
};
|
817
|
+
|
818
|
+
_byUnicode = lookup(function (acc, icon, iconName) {
|
819
|
+
acc[icon[3]] = iconName;
|
820
|
+
return acc;
|
821
|
+
});
|
822
|
+
_byLigature = lookup(function (acc, icon, iconName) {
|
823
|
+
var ligatures = icon[2];
|
824
|
+
acc[iconName] = iconName;
|
825
|
+
ligatures.forEach(function (ligature) {
|
826
|
+
acc[ligature] = iconName;
|
827
|
+
});
|
828
|
+
return acc;
|
829
|
+
});
|
830
|
+
var hasRegular = 'far' in styles;
|
831
|
+
_byOldName = reduce(shims, function (acc, shim) {
|
832
|
+
var oldName = shim[0];
|
833
|
+
var prefix = shim[1];
|
834
|
+
var iconName = shim[2];
|
835
|
+
|
836
|
+
if (prefix === 'far' && !hasRegular) {
|
837
|
+
prefix = 'fas';
|
838
|
+
}
|
839
|
+
|
840
|
+
acc[oldName] = {
|
841
|
+
prefix: prefix,
|
842
|
+
iconName: iconName
|
843
|
+
};
|
844
|
+
return acc;
|
845
|
+
}, {});
|
846
|
+
};
|
847
|
+
build();
|
848
|
+
function byUnicode(prefix, unicode) {
|
849
|
+
return _byUnicode[prefix][unicode];
|
850
|
+
}
|
851
|
+
function byLigature(prefix, ligature) {
|
852
|
+
return _byLigature[prefix][ligature];
|
853
|
+
}
|
854
|
+
function byOldName(name) {
|
855
|
+
return _byOldName[name] || {
|
856
|
+
prefix: null,
|
857
|
+
iconName: null
|
858
|
+
};
|
859
|
+
}
|
860
|
+
|
861
|
+
var styles$1 = namespace.styles;
|
862
|
+
var emptyCanonicalIcon = function emptyCanonicalIcon() {
|
863
|
+
return {
|
864
|
+
prefix: null,
|
865
|
+
iconName: null,
|
866
|
+
rest: []
|
867
|
+
};
|
868
|
+
};
|
869
|
+
function getCanonicalIcon(values) {
|
870
|
+
return values.reduce(function (acc, cls) {
|
871
|
+
var iconName = getIconName(config.familyPrefix, cls);
|
872
|
+
|
873
|
+
if (styles$1[cls]) {
|
874
|
+
acc.prefix = cls;
|
875
|
+
} else if (iconName) {
|
876
|
+
var shim = acc.prefix === 'fa' ? byOldName(iconName) : {};
|
877
|
+
acc.iconName = shim.iconName || iconName;
|
878
|
+
acc.prefix = shim.prefix || acc.prefix;
|
879
|
+
} else if (cls !== config.replacementClass && cls.indexOf('fa-w-') !== 0) {
|
880
|
+
acc.rest.push(cls);
|
881
|
+
}
|
882
|
+
|
883
|
+
return acc;
|
884
|
+
}, emptyCanonicalIcon());
|
885
|
+
}
|
886
|
+
function iconFromMapping(mapping, prefix, iconName) {
|
887
|
+
if (mapping && mapping[prefix] && mapping[prefix][iconName]) {
|
888
|
+
return {
|
889
|
+
prefix: prefix,
|
890
|
+
iconName: iconName,
|
891
|
+
icon: mapping[prefix][iconName]
|
892
|
+
};
|
893
|
+
}
|
894
|
+
}
|
895
|
+
|
896
|
+
function toHtml(abstractNodes) {
|
897
|
+
var tag = abstractNodes.tag,
|
898
|
+
_abstractNodes$attrib = abstractNodes.attributes,
|
899
|
+
attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib,
|
900
|
+
_abstractNodes$childr = abstractNodes.children,
|
901
|
+
children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr;
|
902
|
+
|
903
|
+
if (typeof abstractNodes === 'string') {
|
904
|
+
return htmlEscape(abstractNodes);
|
905
|
+
} else {
|
906
|
+
return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(''), "</").concat(tag, ">");
|
907
|
+
}
|
908
|
+
}
|
909
|
+
|
910
|
+
var noop$2 = function noop() {};
|
911
|
+
|
912
|
+
function isWatched(node) {
|
913
|
+
var i2svg = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null;
|
914
|
+
return typeof i2svg === 'string';
|
915
|
+
}
|
916
|
+
|
917
|
+
function getMutator() {
|
918
|
+
if (config.autoReplaceSvg === true) {
|
919
|
+
return mutators.replace;
|
920
|
+
}
|
921
|
+
|
922
|
+
var mutator = mutators[config.autoReplaceSvg];
|
923
|
+
return mutator || mutators.replace;
|
924
|
+
}
|
925
|
+
|
926
|
+
var mutators = {
|
927
|
+
replace: function replace(mutation) {
|
928
|
+
var node = mutation[0];
|
929
|
+
var abstract = mutation[1];
|
930
|
+
var newOuterHTML = abstract.map(function (a) {
|
931
|
+
return toHtml(a);
|
932
|
+
}).join('\n');
|
933
|
+
|
934
|
+
if (node.parentNode && node.outerHTML) {
|
935
|
+
node.outerHTML = newOuterHTML + (config.keepOriginalSource && node.tagName.toLowerCase() !== 'svg' ? "<!-- ".concat(node.outerHTML, " -->") : '');
|
936
|
+
} else if (node.parentNode) {
|
937
|
+
var newNode = document.createElement('span');
|
938
|
+
node.parentNode.replaceChild(newNode, node);
|
939
|
+
newNode.outerHTML = newOuterHTML;
|
940
|
+
}
|
941
|
+
},
|
942
|
+
nest: function nest(mutation) {
|
943
|
+
var node = mutation[0];
|
944
|
+
var abstract = mutation[1]; // If we already have a replaced node we do not want to continue nesting within it.
|
945
|
+
// Short-circuit to the standard replacement
|
946
|
+
|
947
|
+
if (~classArray(node).indexOf(config.replacementClass)) {
|
948
|
+
return mutators.replace(mutation);
|
949
|
+
}
|
950
|
+
|
951
|
+
var forSvg = new RegExp("".concat(config.familyPrefix, "-.*"));
|
952
|
+
delete abstract[0].attributes.style;
|
953
|
+
var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
|
954
|
+
if (cls === config.replacementClass || cls.match(forSvg)) {
|
955
|
+
acc.toSvg.push(cls);
|
956
|
+
} else {
|
957
|
+
acc.toNode.push(cls);
|
958
|
+
}
|
959
|
+
|
960
|
+
return acc;
|
961
|
+
}, {
|
962
|
+
toNode: [],
|
963
|
+
toSvg: []
|
964
|
+
});
|
965
|
+
abstract[0].attributes.class = splitClasses.toSvg.join(' ');
|
966
|
+
var newInnerHTML = abstract.map(function (a) {
|
967
|
+
return toHtml(a);
|
968
|
+
}).join('\n');
|
969
|
+
node.setAttribute('class', splitClasses.toNode.join(' '));
|
970
|
+
node.setAttribute(DATA_FA_I2SVG, '');
|
971
|
+
node.innerHTML = newInnerHTML;
|
972
|
+
}
|
973
|
+
};
|
974
|
+
function perform(mutations, callback) {
|
975
|
+
var callbackFunction = typeof callback === 'function' ? callback : noop$2;
|
976
|
+
|
977
|
+
if (mutations.length === 0) {
|
978
|
+
callbackFunction();
|
979
|
+
} else {
|
980
|
+
var frame = WINDOW.requestAnimationFrame || function (op) {
|
981
|
+
return op();
|
982
|
+
};
|
983
|
+
|
984
|
+
frame(function () {
|
985
|
+
var mutator = getMutator();
|
986
|
+
var mark = perf.begin('mutate');
|
987
|
+
mutations.map(mutator);
|
988
|
+
mark();
|
989
|
+
callbackFunction();
|
990
|
+
});
|
991
|
+
}
|
992
|
+
}
|
993
|
+
var disabled = false;
|
994
|
+
function disableObservation(operation) {
|
995
|
+
disabled = true;
|
996
|
+
operation();
|
997
|
+
disabled = false;
|
998
|
+
}
|
999
|
+
var mo = null;
|
1000
|
+
function observe(options) {
|
1001
|
+
if (!MUTATION_OBSERVER) {
|
1002
|
+
return;
|
1003
|
+
}
|
1004
|
+
|
1005
|
+
if (!config.observeMutations) {
|
1006
|
+
return;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
var treeCallback = options.treeCallback,
|
1010
|
+
nodeCallback = options.nodeCallback,
|
1011
|
+
pseudoElementsCallback = options.pseudoElementsCallback,
|
1012
|
+
_options$observeMutat = options.observeMutationsRoot,
|
1013
|
+
observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT.body : _options$observeMutat;
|
1014
|
+
mo = new MUTATION_OBSERVER(function (objects) {
|
1015
|
+
if (disabled) return;
|
1016
|
+
toArray(objects).forEach(function (mutationRecord) {
|
1017
|
+
if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
|
1018
|
+
if (config.searchPseudoElements) {
|
1019
|
+
pseudoElementsCallback(mutationRecord.target);
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
treeCallback(mutationRecord.target);
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
if (mutationRecord.type === 'attributes' && mutationRecord.target.parentNode && config.searchPseudoElements) {
|
1026
|
+
pseudoElementsCallback(mutationRecord.target.parentNode);
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
if (mutationRecord.type === 'attributes' && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
|
1030
|
+
if (mutationRecord.attributeName === 'class') {
|
1031
|
+
var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)),
|
1032
|
+
prefix = _getCanonicalIcon.prefix,
|
1033
|
+
iconName = _getCanonicalIcon.iconName;
|
1034
|
+
|
1035
|
+
if (prefix) mutationRecord.target.setAttribute('data-prefix', prefix);
|
1036
|
+
if (iconName) mutationRecord.target.setAttribute('data-icon', iconName);
|
1037
|
+
} else {
|
1038
|
+
nodeCallback(mutationRecord.target);
|
1039
|
+
}
|
1040
|
+
}
|
1041
|
+
});
|
1042
|
+
});
|
1043
|
+
if (!IS_DOM) return;
|
1044
|
+
mo.observe(observeMutationsRoot, {
|
1045
|
+
childList: true,
|
1046
|
+
attributes: true,
|
1047
|
+
characterData: true,
|
1048
|
+
subtree: true
|
1049
|
+
});
|
1050
|
+
}
|
1051
|
+
function disconnect() {
|
1052
|
+
if (!mo) return;
|
1053
|
+
mo.disconnect();
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
function styleParser (node) {
|
1057
|
+
var style = node.getAttribute('style');
|
1058
|
+
var val = [];
|
1059
|
+
|
1060
|
+
if (style) {
|
1061
|
+
val = style.split(';').reduce(function (acc, style) {
|
1062
|
+
var styles = style.split(':');
|
1063
|
+
var prop = styles[0];
|
1064
|
+
var value = styles.slice(1);
|
1065
|
+
|
1066
|
+
if (prop && value.length > 0) {
|
1067
|
+
acc[prop] = value.join(':').trim();
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
return acc;
|
1071
|
+
}, {});
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
return val;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
function toHex(unicode) {
|
1078
|
+
var result = '';
|
1079
|
+
|
1080
|
+
for (var i = 0; i < unicode.length; i++) {
|
1081
|
+
var hex = unicode.charCodeAt(i).toString(16);
|
1082
|
+
result += ('000' + hex).slice(-4);
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
return result;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
function classParser (node) {
|
1089
|
+
var existingPrefix = node.getAttribute('data-prefix');
|
1090
|
+
var existingIconName = node.getAttribute('data-icon');
|
1091
|
+
var innerText = node.innerText !== undefined ? node.innerText.trim() : '';
|
1092
|
+
var val = getCanonicalIcon(classArray(node));
|
1093
|
+
|
1094
|
+
if (existingPrefix && existingIconName) {
|
1095
|
+
val.prefix = existingPrefix;
|
1096
|
+
val.iconName = existingIconName;
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
if (val.prefix && innerText.length > 1) {
|
1100
|
+
val.iconName = byLigature(val.prefix, node.innerText);
|
1101
|
+
} else if (val.prefix && innerText.length === 1) {
|
1102
|
+
val.iconName = byUnicode(val.prefix, toHex(node.innerText));
|
1103
|
+
}
|
1104
|
+
|
1105
|
+
return val;
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
var parseTransformString = function parseTransformString(transformString) {
|
1109
|
+
var transform = {
|
1110
|
+
size: 16,
|
1111
|
+
x: 0,
|
1112
|
+
y: 0,
|
1113
|
+
flipX: false,
|
1114
|
+
flipY: false,
|
1115
|
+
rotate: 0
|
1116
|
+
};
|
1117
|
+
|
1118
|
+
if (!transformString) {
|
1119
|
+
return transform;
|
1120
|
+
} else {
|
1121
|
+
return transformString.toLowerCase().split(' ').reduce(function (acc, n) {
|
1122
|
+
var parts = n.toLowerCase().split('-');
|
1123
|
+
var first = parts[0];
|
1124
|
+
var rest = parts.slice(1).join('-');
|
1125
|
+
|
1126
|
+
if (first && rest === 'h') {
|
1127
|
+
acc.flipX = true;
|
1128
|
+
return acc;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
if (first && rest === 'v') {
|
1132
|
+
acc.flipY = true;
|
1133
|
+
return acc;
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
rest = parseFloat(rest);
|
1137
|
+
|
1138
|
+
if (isNaN(rest)) {
|
1139
|
+
return acc;
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
switch (first) {
|
1143
|
+
case 'grow':
|
1144
|
+
acc.size = acc.size + rest;
|
1145
|
+
break;
|
1146
|
+
|
1147
|
+
case 'shrink':
|
1148
|
+
acc.size = acc.size - rest;
|
1149
|
+
break;
|
1150
|
+
|
1151
|
+
case 'left':
|
1152
|
+
acc.x = acc.x - rest;
|
1153
|
+
break;
|
1154
|
+
|
1155
|
+
case 'right':
|
1156
|
+
acc.x = acc.x + rest;
|
1157
|
+
break;
|
1158
|
+
|
1159
|
+
case 'up':
|
1160
|
+
acc.y = acc.y - rest;
|
1161
|
+
break;
|
1162
|
+
|
1163
|
+
case 'down':
|
1164
|
+
acc.y = acc.y + rest;
|
1165
|
+
break;
|
1166
|
+
|
1167
|
+
case 'rotate':
|
1168
|
+
acc.rotate = acc.rotate + rest;
|
1169
|
+
break;
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
return acc;
|
1173
|
+
}, transform);
|
1174
|
+
}
|
1175
|
+
};
|
1176
|
+
function transformParser (node) {
|
1177
|
+
return parseTransformString(node.getAttribute('data-fa-transform'));
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
function symbolParser (node) {
|
1181
|
+
var symbol = node.getAttribute('data-fa-symbol');
|
1182
|
+
return symbol === null ? false : symbol === '' ? true : symbol;
|
1183
|
+
}
|
1184
|
+
|
1185
|
+
function attributesParser (node) {
|
1186
|
+
var extraAttributes = toArray(node.attributes).reduce(function (acc, attr) {
|
1187
|
+
if (acc.name !== 'class' && acc.name !== 'style') {
|
1188
|
+
acc[attr.name] = attr.value;
|
1189
|
+
}
|
1190
|
+
|
1191
|
+
return acc;
|
1192
|
+
}, {});
|
1193
|
+
var title = node.getAttribute('title');
|
1194
|
+
|
1195
|
+
if (config.autoA11y) {
|
1196
|
+
if (title) {
|
1197
|
+
extraAttributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(nextUniqueId());
|
1198
|
+
} else {
|
1199
|
+
extraAttributes['aria-hidden'] = 'true';
|
1200
|
+
}
|
1201
|
+
}
|
1202
|
+
|
1203
|
+
return extraAttributes;
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
function maskParser (node) {
|
1207
|
+
var mask = node.getAttribute('data-fa-mask');
|
1208
|
+
|
1209
|
+
if (!mask) {
|
1210
|
+
return emptyCanonicalIcon();
|
1211
|
+
} else {
|
1212
|
+
return getCanonicalIcon(mask.split(' ').map(function (i) {
|
1213
|
+
return i.trim();
|
1214
|
+
}));
|
1215
|
+
}
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
var blankMeta = {
|
1219
|
+
iconName: null,
|
1220
|
+
title: null,
|
1221
|
+
prefix: null,
|
1222
|
+
transform: meaninglessTransform,
|
1223
|
+
symbol: false,
|
1224
|
+
mask: null,
|
1225
|
+
extra: {
|
1226
|
+
classes: [],
|
1227
|
+
styles: {},
|
1228
|
+
attributes: {}
|
1229
|
+
}
|
1230
|
+
};
|
1231
|
+
function parseMeta(node) {
|
1232
|
+
var _classParser = classParser(node),
|
1233
|
+
iconName = _classParser.iconName,
|
1234
|
+
prefix = _classParser.prefix,
|
1235
|
+
extraClasses = _classParser.rest;
|
1236
|
+
|
1237
|
+
var extraStyles = styleParser(node);
|
1238
|
+
var transform = transformParser(node);
|
1239
|
+
var symbol = symbolParser(node);
|
1240
|
+
var extraAttributes = attributesParser(node);
|
1241
|
+
var mask = maskParser(node);
|
1242
|
+
return {
|
1243
|
+
iconName: iconName,
|
1244
|
+
title: node.getAttribute('title'),
|
1245
|
+
prefix: prefix,
|
1246
|
+
transform: transform,
|
1247
|
+
symbol: symbol,
|
1248
|
+
mask: mask,
|
1249
|
+
extra: {
|
1250
|
+
classes: extraClasses,
|
1251
|
+
styles: extraStyles,
|
1252
|
+
attributes: extraAttributes
|
1253
|
+
}
|
1254
|
+
};
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
function MissingIcon(error) {
|
1258
|
+
this.name = 'MissingIcon';
|
1259
|
+
this.message = error || 'Icon unavailable';
|
1260
|
+
this.stack = new Error().stack;
|
1261
|
+
}
|
1262
|
+
MissingIcon.prototype = Object.create(Error.prototype);
|
1263
|
+
MissingIcon.prototype.constructor = MissingIcon;
|
1264
|
+
|
1265
|
+
var FILL = {
|
1266
|
+
fill: 'currentColor'
|
1267
|
+
};
|
1268
|
+
var ANIMATION_BASE = {
|
1269
|
+
attributeType: 'XML',
|
1270
|
+
repeatCount: 'indefinite',
|
1271
|
+
dur: '2s'
|
1272
|
+
};
|
1273
|
+
var RING = {
|
1274
|
+
tag: 'path',
|
1275
|
+
attributes: _objectSpread({}, FILL, {
|
1276
|
+
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'
|
1277
|
+
})
|
1278
|
+
};
|
1279
|
+
|
1280
|
+
var OPACITY_ANIMATE = _objectSpread({}, ANIMATION_BASE, {
|
1281
|
+
attributeName: 'opacity'
|
1282
|
+
});
|
1283
|
+
|
1284
|
+
var DOT = {
|
1285
|
+
tag: 'circle',
|
1286
|
+
attributes: _objectSpread({}, FILL, {
|
1287
|
+
cx: '256',
|
1288
|
+
cy: '364',
|
1289
|
+
r: '28'
|
1290
|
+
}),
|
1291
|
+
children: [{
|
1292
|
+
tag: 'animate',
|
1293
|
+
attributes: _objectSpread({}, ANIMATION_BASE, {
|
1294
|
+
attributeName: 'r',
|
1295
|
+
values: '28;14;28;28;14;28;'
|
1296
|
+
})
|
1297
|
+
}, {
|
1298
|
+
tag: 'animate',
|
1299
|
+
attributes: _objectSpread({}, OPACITY_ANIMATE, {
|
1300
|
+
values: '1;0;1;1;0;1;'
|
1301
|
+
})
|
1302
|
+
}]
|
1303
|
+
};
|
1304
|
+
var QUESTION = {
|
1305
|
+
tag: 'path',
|
1306
|
+
attributes: _objectSpread({}, FILL, {
|
1307
|
+
opacity: '1',
|
1308
|
+
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'
|
1309
|
+
}),
|
1310
|
+
children: [{
|
1311
|
+
tag: 'animate',
|
1312
|
+
attributes: _objectSpread({}, OPACITY_ANIMATE, {
|
1313
|
+
values: '1;0;0;0;0;1;'
|
1314
|
+
})
|
1315
|
+
}]
|
1316
|
+
};
|
1317
|
+
var EXCLAMATION = {
|
1318
|
+
tag: 'path',
|
1319
|
+
attributes: _objectSpread({}, FILL, {
|
1320
|
+
opacity: '0',
|
1321
|
+
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'
|
1322
|
+
}),
|
1323
|
+
children: [{
|
1324
|
+
tag: 'animate',
|
1325
|
+
attributes: _objectSpread({}, OPACITY_ANIMATE, {
|
1326
|
+
values: '0;0;1;1;0;0;'
|
1327
|
+
})
|
1328
|
+
}]
|
1329
|
+
};
|
1330
|
+
var missing = {
|
1331
|
+
tag: 'g',
|
1332
|
+
children: [RING, DOT, QUESTION, EXCLAMATION]
|
1333
|
+
};
|
1334
|
+
|
1335
|
+
var styles$2 = namespace.styles;
|
1336
|
+
var LAYERS_TEXT_CLASSNAME = 'fa-layers-text';
|
1337
|
+
var FONT_FAMILY_PATTERN = /Font Awesome 5 (Solid|Regular|Light|Brands|Free|Pro)/;
|
1338
|
+
var STYLE_TO_PREFIX = {
|
1339
|
+
'Solid': 'fas',
|
1340
|
+
'Regular': 'far',
|
1341
|
+
'Light': 'fal',
|
1342
|
+
'Brands': 'fab'
|
1343
|
+
};
|
1344
|
+
var FONT_WEIGHT_TO_PREFIX = {
|
1345
|
+
'900': 'fas',
|
1346
|
+
'400': 'far',
|
1347
|
+
'300': 'fal'
|
1348
|
+
};
|
1349
|
+
|
1350
|
+
function findIcon(iconName, prefix) {
|
1351
|
+
var val = {
|
1352
|
+
found: false,
|
1353
|
+
width: 512,
|
1354
|
+
height: 512,
|
1355
|
+
icon: missing
|
1356
|
+
};
|
1357
|
+
|
1358
|
+
if (iconName && prefix && styles$2[prefix] && styles$2[prefix][iconName]) {
|
1359
|
+
var icon = styles$2[prefix][iconName];
|
1360
|
+
var width = icon[0];
|
1361
|
+
var height = icon[1];
|
1362
|
+
var vectorData = icon.slice(4);
|
1363
|
+
val = {
|
1364
|
+
found: true,
|
1365
|
+
width: width,
|
1366
|
+
height: height,
|
1367
|
+
icon: {
|
1368
|
+
tag: 'path',
|
1369
|
+
attributes: {
|
1370
|
+
fill: 'currentColor',
|
1371
|
+
d: vectorData[0]
|
1372
|
+
}
|
1373
|
+
}
|
1374
|
+
};
|
1375
|
+
} else if (iconName && prefix && !config.showMissingIcons) {
|
1376
|
+
throw new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName));
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
return val;
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
function generateSvgReplacementMutation(node, nodeMeta) {
|
1383
|
+
var iconName = nodeMeta.iconName,
|
1384
|
+
title = nodeMeta.title,
|
1385
|
+
prefix = nodeMeta.prefix,
|
1386
|
+
transform = nodeMeta.transform,
|
1387
|
+
symbol = nodeMeta.symbol,
|
1388
|
+
mask = nodeMeta.mask,
|
1389
|
+
extra = nodeMeta.extra;
|
1390
|
+
return [node, makeInlineSvgAbstract({
|
1391
|
+
icons: {
|
1392
|
+
main: findIcon(iconName, prefix),
|
1393
|
+
mask: findIcon(mask.iconName, mask.prefix)
|
1394
|
+
},
|
1395
|
+
prefix: prefix,
|
1396
|
+
iconName: iconName,
|
1397
|
+
transform: transform,
|
1398
|
+
symbol: symbol,
|
1399
|
+
mask: mask,
|
1400
|
+
title: title,
|
1401
|
+
extra: extra,
|
1402
|
+
watchable: true
|
1403
|
+
})];
|
1404
|
+
}
|
1405
|
+
|
1406
|
+
function generateLayersText(node, nodeMeta) {
|
1407
|
+
var title = nodeMeta.title,
|
1408
|
+
transform = nodeMeta.transform,
|
1409
|
+
extra = nodeMeta.extra;
|
1410
|
+
var width = null;
|
1411
|
+
var height = null;
|
1412
|
+
|
1413
|
+
if (IS_IE) {
|
1414
|
+
var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10);
|
1415
|
+
var boundingClientRect = node.getBoundingClientRect();
|
1416
|
+
width = boundingClientRect.width / computedFontSize;
|
1417
|
+
height = boundingClientRect.height / computedFontSize;
|
1418
|
+
}
|
1419
|
+
|
1420
|
+
if (config.autoA11y && !title) {
|
1421
|
+
extra.attributes['aria-hidden'] = 'true';
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
return [node, makeLayersTextAbstract({
|
1425
|
+
content: node.innerHTML,
|
1426
|
+
width: width,
|
1427
|
+
height: height,
|
1428
|
+
transform: transform,
|
1429
|
+
title: title,
|
1430
|
+
extra: extra,
|
1431
|
+
watchable: true
|
1432
|
+
})];
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
function generateMutation(node) {
|
1436
|
+
var nodeMeta = parseMeta(node);
|
1437
|
+
|
1438
|
+
if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
|
1439
|
+
return generateLayersText(node, nodeMeta);
|
1440
|
+
} else {
|
1441
|
+
return generateSvgReplacementMutation(node, nodeMeta);
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
function searchPseudoElements(root) {
|
1446
|
+
if (!IS_DOM) return;
|
1447
|
+
var end = perf.begin('searchPseudoElements');
|
1448
|
+
disableObservation(function () {
|
1449
|
+
toArray(root.querySelectorAll('*')).filter(function (n) {
|
1450
|
+
return n.parentNode !== document.head && !~TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS.indexOf(n.tagName.toUpperCase()) && !n.getAttribute(DATA_FA_PSEUDO_ELEMENT) && (!n.parentNode || n.parentNode.tagName !== 'svg');
|
1451
|
+
}).forEach(function (node) {
|
1452
|
+
[':before', ':after'].forEach(function (pos) {
|
1453
|
+
var children = toArray(node.children);
|
1454
|
+
var alreadyProcessedPseudoElement = children.filter(function (c) {
|
1455
|
+
return c.getAttribute(DATA_FA_PSEUDO_ELEMENT) === pos;
|
1456
|
+
})[0];
|
1457
|
+
var styles = WINDOW.getComputedStyle(node, pos);
|
1458
|
+
var fontFamily = styles.getPropertyValue('font-family').match(FONT_FAMILY_PATTERN);
|
1459
|
+
var fontWeight = styles.getPropertyValue('font-weight');
|
1460
|
+
|
1461
|
+
if (alreadyProcessedPseudoElement && !fontFamily) {
|
1462
|
+
// If we've already processed it but the current computed style does not result in a font-family,
|
1463
|
+
// that probably means that a class name that was previously present to make the icon has been
|
1464
|
+
// removed. So we now should delete the icon.
|
1465
|
+
node.removeChild(alreadyProcessedPseudoElement);
|
1466
|
+
} else if (fontFamily) {
|
1467
|
+
var content = styles.getPropertyValue('content');
|
1468
|
+
var prefix = ~['Light', 'Regular', 'Solid', 'Brands'].indexOf(fontFamily[1]) ? STYLE_TO_PREFIX[fontFamily[1]] : FONT_WEIGHT_TO_PREFIX[fontWeight];
|
1469
|
+
var iconName = byUnicode(prefix, toHex(content.length === 3 ? content.substr(1, 1) : content)); // Only convert the pseudo element in this :before/:after position into an icon if we haven't
|
1470
|
+
// already done so with the same prefix and iconName
|
1471
|
+
|
1472
|
+
if (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconName) {
|
1473
|
+
if (alreadyProcessedPseudoElement) {
|
1474
|
+
// Delete the old one, since we're replacing it with a new one
|
1475
|
+
node.removeChild(alreadyProcessedPseudoElement);
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
var extra = blankMeta.extra;
|
1479
|
+
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = pos;
|
1480
|
+
var abstract = makeInlineSvgAbstract(_objectSpread({}, blankMeta, {
|
1481
|
+
icons: {
|
1482
|
+
main: findIcon(iconName, prefix),
|
1483
|
+
mask: emptyCanonicalIcon()
|
1484
|
+
},
|
1485
|
+
prefix: prefix,
|
1486
|
+
iconName: iconName,
|
1487
|
+
extra: extra,
|
1488
|
+
watchable: true
|
1489
|
+
}));
|
1490
|
+
var element = DOCUMENT.createElement('svg');
|
1491
|
+
|
1492
|
+
if (pos === ':before') {
|
1493
|
+
node.insertBefore(element, node.firstChild);
|
1494
|
+
} else {
|
1495
|
+
node.appendChild(element);
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
element.outerHTML = abstract.map(function (a) {
|
1499
|
+
return toHtml(a);
|
1500
|
+
}).join('\n');
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
});
|
1504
|
+
});
|
1505
|
+
});
|
1506
|
+
end();
|
1507
|
+
}
|
1508
|
+
function onTree(root) {
|
1509
|
+
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
1510
|
+
if (!IS_DOM) return;
|
1511
|
+
var htmlClassList = DOCUMENT.documentElement.classList;
|
1512
|
+
|
1513
|
+
var hclAdd = function hclAdd(suffix) {
|
1514
|
+
return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
|
1515
|
+
};
|
1516
|
+
|
1517
|
+
var hclRemove = function hclRemove(suffix) {
|
1518
|
+
return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
|
1519
|
+
};
|
1520
|
+
|
1521
|
+
var prefixes = Object.keys(styles$2);
|
1522
|
+
var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function (p) {
|
1523
|
+
return ".".concat(p, ":not([").concat(DATA_FA_I2SVG, "])");
|
1524
|
+
})).join(', ');
|
1525
|
+
|
1526
|
+
if (prefixesDomQuery.length === 0) {
|
1527
|
+
return;
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
var candidates = toArray(root.querySelectorAll(prefixesDomQuery));
|
1531
|
+
|
1532
|
+
if (candidates.length > 0) {
|
1533
|
+
hclAdd('pending');
|
1534
|
+
hclRemove('complete');
|
1535
|
+
} else {
|
1536
|
+
return;
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
var mark = perf.begin('onTree');
|
1540
|
+
var mutations = candidates.reduce(function (acc, node) {
|
1541
|
+
try {
|
1542
|
+
var mutation = generateMutation(node);
|
1543
|
+
|
1544
|
+
if (mutation) {
|
1545
|
+
acc.push(mutation);
|
1546
|
+
}
|
1547
|
+
} catch (e) {
|
1548
|
+
if (!PRODUCTION) {
|
1549
|
+
if (e instanceof MissingIcon) {
|
1550
|
+
console.error(e);
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
return acc;
|
1556
|
+
}, []);
|
1557
|
+
mark();
|
1558
|
+
perform(mutations, function () {
|
1559
|
+
hclAdd('active');
|
1560
|
+
hclAdd('complete');
|
1561
|
+
hclRemove('pending');
|
1562
|
+
if (typeof callback === 'function') callback();
|
1563
|
+
});
|
1564
|
+
}
|
1565
|
+
function onNode(node) {
|
1566
|
+
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
1567
|
+
var mutation = generateMutation(node);
|
1568
|
+
|
1569
|
+
if (mutation) {
|
1570
|
+
perform([mutation], callback);
|
1571
|
+
}
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
var baseStyles = "svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-rotate-90{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}";
|
1575
|
+
|
1576
|
+
function css () {
|
1577
|
+
var dfp = DEFAULT_FAMILY_PREFIX;
|
1578
|
+
var drc = DEFAULT_REPLACEMENT_CLASS;
|
1579
|
+
var fp = config.familyPrefix;
|
1580
|
+
var rc = config.replacementClass;
|
1581
|
+
var s = baseStyles;
|
1582
|
+
|
1583
|
+
if (fp !== dfp || rc !== drc) {
|
1584
|
+
var dPatt = new RegExp("\\.".concat(dfp, "\\-"), 'g');
|
1585
|
+
var rPatt = new RegExp("\\.".concat(drc), 'g');
|
1586
|
+
s = s.replace(dPatt, ".".concat(fp, "-")).replace(rPatt, ".".concat(rc));
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
return s;
|
1590
|
+
}
|
1591
|
+
|
1592
|
+
function define(prefix, icons) {
|
1593
|
+
var normalized = Object.keys(icons).reduce(function (acc, iconName) {
|
1594
|
+
var icon = icons[iconName];
|
1595
|
+
var expanded = !!icon.icon;
|
1596
|
+
|
1597
|
+
if (expanded) {
|
1598
|
+
acc[icon.iconName] = icon.icon;
|
1599
|
+
} else {
|
1600
|
+
acc[iconName] = icon;
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
return acc;
|
1604
|
+
}, {});
|
1605
|
+
|
1606
|
+
if (typeof namespace.hooks.addPack === 'function') {
|
1607
|
+
namespace.hooks.addPack(prefix, normalized);
|
1608
|
+
} else {
|
1609
|
+
namespace.styles[prefix] = _objectSpread({}, namespace.styles[prefix] || {}, normalized);
|
1610
|
+
}
|
1611
|
+
/**
|
1612
|
+
* Font Awesome 4 used the prefix of `fa` for all icons. With the introduction
|
1613
|
+
* of new styles we needed to differentiate between them. Prefix `fa` is now an alias
|
1614
|
+
* for `fas` so we'll easy the upgrade process for our users by automatically defining
|
1615
|
+
* this as well.
|
1616
|
+
*/
|
1617
|
+
|
1618
|
+
|
1619
|
+
if (prefix === 'fas') {
|
1620
|
+
define('fa', icons);
|
1621
|
+
}
|
1622
|
+
}
|
1623
|
+
|
1624
|
+
var Library =
|
1625
|
+
/*#__PURE__*/
|
1626
|
+
function () {
|
1627
|
+
function Library() {
|
1628
|
+
_classCallCheck(this, Library);
|
1629
|
+
|
1630
|
+
this.definitions = {};
|
1631
|
+
}
|
1632
|
+
|
1633
|
+
_createClass(Library, [{
|
1634
|
+
key: "add",
|
1635
|
+
value: function add() {
|
1636
|
+
var _this = this;
|
1637
|
+
|
1638
|
+
for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
|
1639
|
+
definitions[_key] = arguments[_key];
|
1640
|
+
}
|
1641
|
+
|
1642
|
+
var additions = definitions.reduce(this._pullDefinitions, {});
|
1643
|
+
Object.keys(additions).forEach(function (key) {
|
1644
|
+
_this.definitions[key] = _objectSpread({}, _this.definitions[key] || {}, additions[key]);
|
1645
|
+
define(key, additions[key]);
|
1646
|
+
build();
|
1647
|
+
});
|
1648
|
+
}
|
1649
|
+
}, {
|
1650
|
+
key: "reset",
|
1651
|
+
value: function reset() {
|
1652
|
+
this.definitions = {};
|
1653
|
+
}
|
1654
|
+
}, {
|
1655
|
+
key: "_pullDefinitions",
|
1656
|
+
value: function _pullDefinitions(additions, definition) {
|
1657
|
+
var normalized = definition.prefix && definition.iconName && definition.icon ? {
|
1658
|
+
0: definition
|
1659
|
+
} : definition;
|
1660
|
+
Object.keys(normalized).map(function (key) {
|
1661
|
+
var _normalized$key = normalized[key],
|
1662
|
+
prefix = _normalized$key.prefix,
|
1663
|
+
iconName = _normalized$key.iconName,
|
1664
|
+
icon = _normalized$key.icon;
|
1665
|
+
if (!additions[prefix]) additions[prefix] = {};
|
1666
|
+
additions[prefix][iconName] = icon;
|
1667
|
+
});
|
1668
|
+
return additions;
|
1669
|
+
}
|
1670
|
+
}]);
|
1671
|
+
|
1672
|
+
return Library;
|
1673
|
+
}();
|
1674
|
+
|
1675
|
+
function prepIcon(icon) {
|
1676
|
+
var width = icon[0];
|
1677
|
+
var height = icon[1];
|
1678
|
+
var vectorData = icon.slice(4);
|
1679
|
+
return {
|
1680
|
+
found: true,
|
1681
|
+
width: width,
|
1682
|
+
height: height,
|
1683
|
+
icon: {
|
1684
|
+
tag: 'path',
|
1685
|
+
attributes: {
|
1686
|
+
fill: 'currentColor',
|
1687
|
+
d: vectorData[0]
|
1688
|
+
}
|
1689
|
+
}
|
1690
|
+
};
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
function ensureCss() {
|
1694
|
+
if (config.autoAddCss && !_cssInserted) {
|
1695
|
+
insertCss(css());
|
1696
|
+
|
1697
|
+
_cssInserted = true;
|
1698
|
+
}
|
1699
|
+
}
|
1700
|
+
|
1701
|
+
function apiObject(val, abstractCreator) {
|
1702
|
+
Object.defineProperty(val, 'abstract', {
|
1703
|
+
get: abstractCreator
|
1704
|
+
});
|
1705
|
+
Object.defineProperty(val, 'html', {
|
1706
|
+
get: function get() {
|
1707
|
+
return val.abstract.map(function (a) {
|
1708
|
+
return toHtml(a);
|
1709
|
+
});
|
1710
|
+
}
|
1711
|
+
});
|
1712
|
+
Object.defineProperty(val, 'node', {
|
1713
|
+
get: function get() {
|
1714
|
+
if (!IS_DOM) return;
|
1715
|
+
var container = DOCUMENT.createElement('div');
|
1716
|
+
container.innerHTML = val.html;
|
1717
|
+
return container.children;
|
1718
|
+
}
|
1719
|
+
});
|
1720
|
+
return val;
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
function findIconDefinition(params) {
|
1724
|
+
var _params$prefix = params.prefix,
|
1725
|
+
prefix = _params$prefix === void 0 ? 'fa' : _params$prefix,
|
1726
|
+
iconName = params.iconName;
|
1727
|
+
if (!iconName) return;
|
1728
|
+
return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName);
|
1729
|
+
}
|
1730
|
+
|
1731
|
+
function resolveIcons(next) {
|
1732
|
+
return function (maybeIconDefinition) {
|
1733
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1734
|
+
var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
|
1735
|
+
var mask = params.mask;
|
1736
|
+
|
1737
|
+
if (mask) {
|
1738
|
+
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
return next(iconDefinition, _objectSpread({}, params, {
|
1742
|
+
mask: mask
|
1743
|
+
}));
|
1744
|
+
};
|
1745
|
+
}
|
1746
|
+
|
1747
|
+
var library = new Library();
|
1748
|
+
var noAuto = function noAuto() {
|
1749
|
+
config.autoReplaceSvg = false;
|
1750
|
+
config.observeMutations = false;
|
1751
|
+
disconnect();
|
1752
|
+
};
|
1753
|
+
var _cssInserted = false;
|
1754
|
+
var dom = {
|
1755
|
+
i2svg: function i2svg() {
|
1756
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1757
|
+
|
1758
|
+
if (IS_DOM) {
|
1759
|
+
ensureCss();
|
1760
|
+
var _params$node = params.node,
|
1761
|
+
node = _params$node === void 0 ? DOCUMENT : _params$node,
|
1762
|
+
_params$callback = params.callback,
|
1763
|
+
callback = _params$callback === void 0 ? function () {} : _params$callback;
|
1764
|
+
|
1765
|
+
if (config.searchPseudoElements) {
|
1766
|
+
searchPseudoElements(node);
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
onTree(node, callback);
|
1770
|
+
}
|
1771
|
+
},
|
1772
|
+
css: css,
|
1773
|
+
insertCss: function insertCss$$1() {
|
1774
|
+
if (!_cssInserted) {
|
1775
|
+
insertCss(css());
|
1776
|
+
|
1777
|
+
_cssInserted = true;
|
1778
|
+
}
|
1779
|
+
},
|
1780
|
+
watch: function watch() {
|
1781
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1782
|
+
var autoReplaceSvgRoot = params.autoReplaceSvgRoot,
|
1783
|
+
observeMutationsRoot = params.observeMutationsRoot;
|
1784
|
+
|
1785
|
+
if (config.autoReplaceSvg === false) {
|
1786
|
+
config.autoReplaceSvg = true;
|
1787
|
+
}
|
1788
|
+
|
1789
|
+
config.observeMutations = true;
|
1790
|
+
domready(function () {
|
1791
|
+
autoReplace({
|
1792
|
+
autoReplaceSvgRoot: autoReplaceSvgRoot
|
1793
|
+
});
|
1794
|
+
observe({
|
1795
|
+
treeCallback: onTree,
|
1796
|
+
nodeCallback: onNode,
|
1797
|
+
pseudoElementsCallback: searchPseudoElements,
|
1798
|
+
observeMutationsRoot: observeMutationsRoot
|
1799
|
+
});
|
1800
|
+
});
|
1801
|
+
}
|
1802
|
+
};
|
1803
|
+
var parse = {
|
1804
|
+
transform: function transform(transformString) {
|
1805
|
+
return parseTransformString(transformString);
|
1806
|
+
}
|
1807
|
+
};
|
1808
|
+
var icon = resolveIcons(function (iconDefinition) {
|
1809
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1810
|
+
var _params$transform = params.transform,
|
1811
|
+
transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
|
1812
|
+
_params$symbol = params.symbol,
|
1813
|
+
symbol = _params$symbol === void 0 ? false : _params$symbol,
|
1814
|
+
_params$mask = params.mask,
|
1815
|
+
mask = _params$mask === void 0 ? null : _params$mask,
|
1816
|
+
_params$title = params.title,
|
1817
|
+
title = _params$title === void 0 ? null : _params$title,
|
1818
|
+
_params$classes = params.classes,
|
1819
|
+
classes = _params$classes === void 0 ? [] : _params$classes,
|
1820
|
+
_params$attributes = params.attributes,
|
1821
|
+
attributes = _params$attributes === void 0 ? {} : _params$attributes,
|
1822
|
+
_params$styles = params.styles,
|
1823
|
+
styles = _params$styles === void 0 ? {} : _params$styles;
|
1824
|
+
if (!iconDefinition) return;
|
1825
|
+
var prefix = iconDefinition.prefix,
|
1826
|
+
iconName = iconDefinition.iconName,
|
1827
|
+
icon = iconDefinition.icon;
|
1828
|
+
return apiObject(_objectSpread({
|
1829
|
+
type: 'icon'
|
1830
|
+
}, iconDefinition), function () {
|
1831
|
+
ensureCss();
|
1832
|
+
|
1833
|
+
if (config.autoA11y) {
|
1834
|
+
if (title) {
|
1835
|
+
attributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(nextUniqueId());
|
1836
|
+
} else {
|
1837
|
+
attributes['aria-hidden'] = 'true';
|
1838
|
+
}
|
1839
|
+
}
|
1840
|
+
|
1841
|
+
return makeInlineSvgAbstract({
|
1842
|
+
icons: {
|
1843
|
+
main: prepIcon(icon),
|
1844
|
+
mask: mask ? prepIcon(mask.icon) : {
|
1845
|
+
found: false,
|
1846
|
+
width: null,
|
1847
|
+
height: null,
|
1848
|
+
icon: {}
|
1849
|
+
}
|
1850
|
+
},
|
1851
|
+
prefix: prefix,
|
1852
|
+
iconName: iconName,
|
1853
|
+
transform: _objectSpread({}, meaninglessTransform, transform),
|
1854
|
+
symbol: symbol,
|
1855
|
+
title: title,
|
1856
|
+
extra: {
|
1857
|
+
attributes: attributes,
|
1858
|
+
styles: styles,
|
1859
|
+
classes: classes
|
1860
|
+
}
|
1861
|
+
});
|
1862
|
+
});
|
1863
|
+
});
|
1864
|
+
var text = function text(content) {
|
1865
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1866
|
+
var _params$transform2 = params.transform,
|
1867
|
+
transform = _params$transform2 === void 0 ? meaninglessTransform : _params$transform2,
|
1868
|
+
_params$title2 = params.title,
|
1869
|
+
title = _params$title2 === void 0 ? null : _params$title2,
|
1870
|
+
_params$classes2 = params.classes,
|
1871
|
+
classes = _params$classes2 === void 0 ? [] : _params$classes2,
|
1872
|
+
_params$attributes2 = params.attributes,
|
1873
|
+
attributes = _params$attributes2 === void 0 ? {} : _params$attributes2,
|
1874
|
+
_params$styles2 = params.styles,
|
1875
|
+
styles = _params$styles2 === void 0 ? {} : _params$styles2;
|
1876
|
+
return apiObject({
|
1877
|
+
type: 'text',
|
1878
|
+
content: content
|
1879
|
+
}, function () {
|
1880
|
+
ensureCss();
|
1881
|
+
return makeLayersTextAbstract({
|
1882
|
+
content: content,
|
1883
|
+
transform: _objectSpread({}, meaninglessTransform, transform),
|
1884
|
+
title: title,
|
1885
|
+
extra: {
|
1886
|
+
attributes: attributes,
|
1887
|
+
styles: styles,
|
1888
|
+
classes: ["".concat(config.familyPrefix, "-layers-text")].concat(_toConsumableArray(classes))
|
1889
|
+
}
|
1890
|
+
});
|
1891
|
+
});
|
1892
|
+
};
|
1893
|
+
var counter = function counter(content) {
|
1894
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1895
|
+
var _params$title3 = params.title,
|
1896
|
+
title = _params$title3 === void 0 ? null : _params$title3,
|
1897
|
+
_params$classes3 = params.classes,
|
1898
|
+
classes = _params$classes3 === void 0 ? [] : _params$classes3,
|
1899
|
+
_params$attributes3 = params.attributes,
|
1900
|
+
attributes = _params$attributes3 === void 0 ? {} : _params$attributes3,
|
1901
|
+
_params$styles3 = params.styles,
|
1902
|
+
styles = _params$styles3 === void 0 ? {} : _params$styles3;
|
1903
|
+
return apiObject({
|
1904
|
+
type: 'counter',
|
1905
|
+
content: content
|
1906
|
+
}, function () {
|
1907
|
+
ensureCss();
|
1908
|
+
return makeLayersCounterAbstract({
|
1909
|
+
content: content.toString(),
|
1910
|
+
title: title,
|
1911
|
+
extra: {
|
1912
|
+
attributes: attributes,
|
1913
|
+
styles: styles,
|
1914
|
+
classes: ["".concat(config.familyPrefix, "-layers-counter")].concat(_toConsumableArray(classes))
|
1915
|
+
}
|
1916
|
+
});
|
1917
|
+
});
|
1918
|
+
};
|
1919
|
+
var layer = function layer(assembler) {
|
1920
|
+
return apiObject({
|
1921
|
+
type: 'layer'
|
1922
|
+
}, function () {
|
1923
|
+
ensureCss();
|
1924
|
+
var children = [];
|
1925
|
+
assembler(function (args) {
|
1926
|
+
Array.isArray(args) ? args.map(function (a) {
|
1927
|
+
children = children.concat(a.abstract);
|
1928
|
+
}) : children = children.concat(args.abstract);
|
1929
|
+
});
|
1930
|
+
return [{
|
1931
|
+
tag: 'span',
|
1932
|
+
attributes: {
|
1933
|
+
class: "".concat(config.familyPrefix, "-layers")
|
1934
|
+
},
|
1935
|
+
children: children
|
1936
|
+
}];
|
1937
|
+
});
|
1938
|
+
};
|
1939
|
+
var api = {
|
1940
|
+
noAuto: noAuto,
|
1941
|
+
config: config,
|
1942
|
+
dom: dom,
|
1943
|
+
library: library,
|
1944
|
+
parse: parse,
|
1945
|
+
findIconDefinition: findIconDefinition,
|
1946
|
+
icon: icon,
|
1947
|
+
text: text,
|
1948
|
+
counter: counter,
|
1949
|
+
layer: layer,
|
1950
|
+
toHtml: toHtml
|
1951
|
+
};
|
1952
|
+
|
1953
|
+
var autoReplace = function autoReplace() {
|
1954
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1955
|
+
var _params$autoReplaceSv = params.autoReplaceSvgRoot,
|
1956
|
+
autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv;
|
1957
|
+
if (Object.keys(namespace.styles).length > 0 && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
|
1958
|
+
node: autoReplaceSvgRoot
|
1959
|
+
});
|
1960
|
+
};
|
1961
|
+
|
1962
|
+
function bootstrap() {
|
1963
|
+
if (IS_BROWSER) {
|
1964
|
+
if (!WINDOW.FontAwesome) {
|
1965
|
+
WINDOW.FontAwesome = api;
|
1966
|
+
}
|
1967
|
+
|
1968
|
+
domready(function () {
|
1969
|
+
autoReplace();
|
1970
|
+
observe({
|
1971
|
+
treeCallback: onTree,
|
1972
|
+
nodeCallback: onNode,
|
1973
|
+
pseudoElementsCallback: searchPseudoElements
|
1974
|
+
});
|
1975
|
+
});
|
1976
|
+
}
|
1977
|
+
|
1978
|
+
namespace.hooks = _objectSpread({}, namespace.hooks, {
|
1979
|
+
addPack: function addPack(prefix, icons) {
|
1980
|
+
namespace.styles[prefix] = _objectSpread({}, namespace.styles[prefix] || {}, icons);
|
1981
|
+
build();
|
1982
|
+
autoReplace();
|
1983
|
+
},
|
1984
|
+
addShims: function addShims(shims) {
|
1985
|
+
var _namespace$shims;
|
1986
|
+
|
1987
|
+
(_namespace$shims = namespace.shims).push.apply(_namespace$shims, _toConsumableArray(shims));
|
1988
|
+
|
1989
|
+
build();
|
1990
|
+
autoReplace();
|
1991
|
+
}
|
1992
|
+
});
|
1993
|
+
}
|
1994
|
+
|
1995
|
+
bunker(bootstrap);
|
1996
|
+
|
1997
|
+
}());
|