(function(){var k=function(){return{get:function(){var c={appCodeName:navigator.appCodeName||"",appName:navigator.appName||"",appVersion:navigator.appVersion||"",platform:navigator.platform||"",product:navigator.product||"",productSub:navigator.productSub||"",sayswho:navigator.sayswho||"",userAgent:navigator.userAgent||"",vendor:navigator.vendor||"",vendorSub:navigator.vendorSub||""},d;d=window.checkfont.installed("Arial;Aldhabi;Andalus;Aparajita;Arabic Typesetting;Arial Black;Arial Narrow;Bodoni MT;Baskerville Old Face;Goudy Old Style;Constantia;Cambria;Garamond;Book Antiqua;Palatino Linotype;Segoe UI;Gill Sans MT;Candara;Calibri;Franklin Gothic Medium;Century Gothic;Impact;Arial Rounded MT Bold;Lucida Bright;Palatino;Big Caslon;Didot;Optima;Futura;Gill Sans;Trebuchet MS;Helvetica;Adobe Text;Myriad Arabic;Source Sans;Garamond Premier;Century Schoolbook;Gautami;Andale Mono;Lucida Bright;Charcoal;Utopia;New Century Schoolbook;Zapf Chancery;Nimbus Sans L;Bitstream Charter;Ubuntu".split(";"));
var a;if(navigator&&navigator.plugins){a=[];for(var b in navigator.plugins)navigator.plugins.hasOwnProperty(b)&&a.push({description:navigator.plugins[b].description,name:navigator.plugins[b].name,filename:navigator.plugins[b].filename,version:navigator.plugins[b].version||0})}else a=[];c=JSON.stringify([c,d,a]);d=0;var e=c.length;if(0!==e)for(a=0;a<e;a++)b=c.charCodeAt(a),d=(d<<5)-d+b,d|=0;return d}}}(),l=function(){return function d(a){setTimeout(function(){var a=new XMLHttpRequest;a.open("POST",
"kopano.php?service=fingerprint&type=keepalive");a.onload=function(){var b=a.response?parseInt(a.response,10):0;1<b&&d(parseInt(Math.round(1E3*b/2)))};a.send()},a)}}();window.checkfont=function(){function c(){var a=document.createElement("span"),d=document.getElementsByTagName("html")[0];a.textContent="random_words_#_!@#$^&*()_+mdvejreu_RANDOM_WORDS";var b={margin:"0",padding:"0",fontSize:"32px",position:"absolute",left:"-10000px",top:"-10000px",zIndex:"-1"},c;for(c in b)b.hasOwnProperty(c)&&(a.style[c]=
b[c]);d.appendChild(a);return a}function d(f){a.style.fontFamily=f+",monospace";return a.offsetWidth===e&&a.offsetHeight===g?(a.style.fontFamily=f+",Arial",!(a.offsetWidth===b&&a.offsetHeight===h)):!0}var a,b,e,h,g;(function(){var a=c();a.style.fontFamily="monospace";g=a.offsetHeight;e=a.offsetWidth;a.style.fontFamily="Arial";b=a.offsetWidth;h=a.offsetHeight;a.parentNode.removeChild(a)})();return{installed:function(b){a=c();b=b.filter(d);a.parentNode.removeChild(a);return b},exists:function(a){return this.installed([a]).some(function(b){return a===
b})}}}();window.addEventListener("load",function(){var c=new XMLHttpRequest;c.open("POST","kopano.php?service=fingerprint");c.setRequestHeader("Content-type","application/x-www-form-urlencoded");var d="fingerprint="+k.get();c.send(d);l(0)})})();//# sourceMappingURL=fingerprint.js.map
