-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfont-feature-fibbing.js
1 lines (1 loc) · 2.37 KB
/
font-feature-fibbing.js
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.fontFeatureFibbing=e()}}(function(){return function e(t,o,n){function r(s,a){if(!o[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var c=o[s]={exports:{}};t[s][0].call(c.exports,function(e){var o=t[s][1][e];return r(o?o:e)},c,c.exports,e,t,o,n)}return o[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(e,t,o){t.exports=o=function(e,t){function n(e,t){for(var o=arguments,n=o.length-1,r=o[n][0];r!==!0&&!new RegExp(r).test(e)&&n>0;r=o[--n][0]);(t.slice||t.call(this,r,o[n]))&&(this[t]=o[n][1])}e=e.toLowerCase(),t===!0?t=o:t||(t={});var r="firefox",i="android",s=".+mobile",a="webkit",u="playstation",f="xbox",c="linux",d="crkey",l="chromecast",p="tablet",m="windows",v="phone",g="firetv",b="sticktv";return n.call(t,e,function(o,n){t.browser=n[2]||o;var r=e.match(new RegExp("((([\\/ ]version|"+n[0]+"(?!.+version))[/ ])| rv:)([0-9]{1,4}\\.[0-9]{0,2})"));t.version=r?Number(r[4]):0,t.prefix=n[1]},[!0,a],["\\(windows","ms","ie"],["safari",a],[r,"Moz"],["opera","O"],["msie","ms","ie"],["chrome|crios/",a,"chrome"]),n.call(t,e,"platform",[!0,m],[c,c],["lg.{0,3}netcast","lg"],[r+s,r],["mac os x","mac"],["iphone|ipod|ipad","ios"],[f,f],[u,u],[i,i],[m,m],[d,l],["smart-tv;|;samsung;smarttv","samsung"]),n.call(t,e,"device",[!0,"desktop"],[m+".+touch|ipad|"+i,p],["iphone|("+i+s+")|("+r+s+")|"+m+" phone|iemobile",v],[f+"|"+u,"console"],["tv|smarttv|googletv|appletv|hbbtv|pov_tv|netcast.tv|webos.+large","tv"],[d,l],["amazon-fireos|nexus (?=[^1-6])\\d{1,2}",p],["aftb|afts",g],["aftm",b]),t}},{}],2:[function(e,t,o){var n=e("vigour-ua");t.exports=function(){if("undefined"==typeof document)return!1;if(""===document.body.style.fontFeatureSettings||""===document.body.style.webkitFontFeatureSettings){var e=n(navigator.userAgent);return"safari"===e.browser&&e.version<=9.3?!1:!0}return""===document.body.style.mozFontFeatureSettings||""===document.body.style.MozFontFeatureSettings||""==typeof document.body.style.msFontFeatureSettings?!0:!1}},{"vigour-ua":1}]},{},[2])(2)});