=n.match(/version\/([\.\d]+)/i))&&(t[2]=e[1]),t=t?[t[1],t[2]]:[o,navigator.appVersion,"-?"];var m=t[0].toLowerCase(),f=t[1];if("trident"==t[0].toLowerCase()){m="msie",console.log(n),f=n.match(/(rv)\:?(\.?\d+(\.\d+)*)/i);for(var l=0;l<f.length;l++)if(!isNaN(parseInt(f[l]))){f=f[l];break}}}this.mobile=s,this.browserType=m,this.browserVersion=parseInt(f),this.browserVersionExtended=f}var sniff=new sniff;"undefined"!=typeof document.documentElement.classList?(document.documentElement.classList.add(sniff.browser