!async function(){async function e(e){return new Promise((t=>{const n=document.cookie.match(new RegExp(`(^| )${e}=([^;]+)`));t(n?decodeURI(n[2]):null)}))}async function t(t,o){try{const a=await fetch(t,{headers:new Headers({"nf-cookie":await e("__mmapiwsid")})});if(a.ok){const e=await a.json(),t=e?.code?async function(e,t,n){return new Promise((o=>{let a="";if(n){const e=new Date;e.setTime(e.getTime()+1e3*n),a="; expires="+e.toUTCString()}document.cookie=`${e}=${t||""}${a}; path=/`,o()}))}(o,e.code,86400):Promise.resolve();n(e?.code),await t}}catch(e){console.error("Error registering device:",e)}}function n(e){requestAnimationFrame((()=>{const t=document.getElementById("nf_customer_code");t&&e&&(t.innerHTML=e)}))}var o;o=async function(){window.requestIdleCallback=window.requestIdleCallback||function(e){setTimeout(e,1e3)},requestIdleCallback((async()=>{try{await async function(){(()=>{var l=(e,t,n)=>new Promise((o,r)=>{var c=a=>{try{u(n.next(a))}catch(i){r(i)}},s=a=>{try{u(n.throw(a))}catch(i){r(i)}},u=a=>a.done?o(a.value):Promise.resolve(a.value).then(c,s);u((n=n.apply(e,t)).next())});var g=window.__mmapiws||{};function m(e,t){let n=e.length&3,o=e.length-n,r=t,c,s=3432918353,u=461845907,a=0,i;for(;a>>16)*s&65535)<<16)&4294967295,i=i<<15|i>>>17,i=(i&65535)*u+(((i>>>16)*u&65535)<<16)&4294967295,r^=i,r=r<<13|r>>>19,c=(r&65535)*5+(((r>>>16)*5&65535)<<16)&4294967295,r=(c&65535)+27492+(((c>>>16)+58964&65535)<<16);switch(i=0,n){case 3:i^=(e.charCodeAt(a+2)&255)<<16;case 2:i^=(e.charCodeAt(a+1)&255)<<8;case 1:i^=e.charCodeAt(a)&255,i=(i&65535)*s+(((i>>>16)*s&65535)<<16)&4294967295,i=i<<15|i>>>17,i=(i&65535)*u+(((i>>>16)*u&65535)<<16)&4294967295,r^=i}return r^=e.length,r^=r>>>16,r=(r&65535)*2246822507+(((r>>>16)*2246822507&65535)<<16)&4294967295,r^=r>>>13,r=(r&65535)*3266489909+(((r>>>16)*3266489909&65535)<<16)&4294967295,r^=r>>>16,r>>>0}function h(e){return new Promise(t=>setTimeout(t,e))}function y(){try{return window.top.location.origin!==window.self.location.origin}catch(e){return!0}}function S(){let e,t;try{e=document.createElement("canvas"),t=e.getContext("2d")}catch(n){}return t?(t.fillStyle="red",t.fillRect(30,10,200,100),t.strokeStyle="#1a3bc1",t.lineWidth=6,t.lineCap="round",t.arc(50,50,20,0,Math.PI,!1),t.stroke(),t.fillStyle="#42e1a2",t.font="15.4px 'Arial'",t.textBaseline="alphabetic",t.fillText("PR flacks quiz gym: TV DJ box when? \u2620",15,60),t.shadowOffsetX=1,t.shadowOffsetY=2,t.shadowColor="white",t.fillStyle="rgba(0, 0, 200, 0.5)",t.font="60px 'Not a real font'",t.fillText("No\u9A97",40,80),m(e.toDataURL(),0)):null}function w(){let e=['video/mp4; codecs="avc1.42c00d"','video/ogg; codecs="theora"','video/webm; codecs="vorbis,vp8"','video/webm; codecs="vorbis,vp9"','video/mp2t; codecs="avc1.42E01E,mp4a.40.2"'];return{audio:P(["audio/mpeg",'audio/mp4; codecs="mp4a.40.2"','audio/ogg; codecs="vorbis"','audio/ogg; codecs="opus"','audio/webm; codecs="vorbis"','audio/wav; codecs="1"']),video:P(e)}}function P(e){let t={};for(let n=0;n{e.onload=function(){var u;let o=e.contentDocument||((u=e.contentWindow)==null?void 0:u.document);if(!o){n(new Error("Failed to create iframe document"));return}T.forEach((a,i)=>{let f=o.createElement("div");f.id=`rect-${i}`,Object.assign(f.style,a),o.body.appendChild(f)});let r=a=>{var i;return(i=o.getElementById(a))==null?void 0:i.getClientRects()[0]},c=T.map((a,i)=>{let f=r(`rect-${i}`);return f||n(new Error(`Failed to get rect for rect-${i}`)),f}),s=m(JSON.stringify(c),0);document.body.removeChild(e),t(s)},e.srcdoc=""})}catch(e){return null}})}var b=["Abadi MT Condensed Light","Adobe Fangsong Std","Adobe Hebrew","Adobe Ming Std","Agency FB","Arab","Arabic Typesetting","Arial Black","Batang","Bauhaus 93","Bell MT","Bitstream Vera Serif","Bodoni MT","Bookman Old Style","Braggadocio","Broadway","Calibri","Californian FB","Castellar","Casual","Centaur","Century Gothic","Chalkduster","Colonna MT","Copperplate Gothic Light","DejaVu LGC Sans Mono","Desdemona","DFKai-SB","Dotum","Engravers MT","Eras Bold ITC","Eurostile","FangSong","Forte","Franklin Gothic Heavy","French Script MT","Gabriola","Gigi","Gisha","Goudy Old Style","Gulim","GungSeo","Haettenschweiler","Harrington","Hiragino Sans GB","Impact","Informal Roman","KacstOne","Kino MT","Kozuka Gothic Pr6N","Lohit Gujarati","Loma","Lucida Bright","Lucida Fax","Magneto","Malgun Gothic","Matura MT Script Capitals","Menlo","MingLiU-ExtB","MoolBoran","MS PMincho","MS Reference Sans Serif","News Gothic MT","Niagara Solid","Nyala","Palace Script MT","Papyrus","Perpetua","Playbill","PMingLiU","Rachana","Rockwell","Sawasdee","Script MT Bold","Segoe Print","Showcard Gothic","SimHei","Snap ITC","TlwgMono","Tw Cen MT Condensed Extra Bold","Ubuntu","Umpush","Univers","Utopia","Vladimir Script","Wide Latin"];function D(){let e=U();return e!==null?e:V()}function U(){let e,t;try{e=document.createElement("canvas"),t=e.getContext("2d")}catch(u){}if(!t)return null;let n=["sans-serif","serif","monospace"],o=[],r="72px",c="mmmmmmmmmmlli";for(let u=0;u-1||(t[o.name]=1,e.push(A(o)))}for(let n=0;n!!s).map(s=>s.id))}catch(s){}return!y()&&t.keyboard&&t.keyboard.getLayoutMap&&(((o=e.keyboard)!=null?o:e.keyboard={}).layoutMap=Array.from((yield t.keyboard.getLayoutMap()).entries())),navigator.mediaDevices&&(navigator.mediaDevices.getSupportedConstraints&&(((r=e.mediaDevices)!=null?r:e.mediaDevices={}).supportedConstraints=navigator.mediaDevices.getSupportedConstraints()),navigator.mediaDevices.enumerateDevices&&(((c=e.mediaDevices)!=null?c:e.mediaDevices={}).enumerateDevices=(yield navigator.mediaDevices.enumerateDevices()).map(s=>s.kind))),e})}function F(){let e={},t=[];for(let n in window.screen)typeof window.screen[n]!="object"&&(e[n]=window.screen[n]),t.push(n);return e.enumerationOrder=t,e}function x(e){let t=[],n={};for(let o in e)t.push(o),o!=="webkitPersistentStorage"&&(typeof e[o]!="object"||Q(e[o]))&&(n[o]=e[o]);return n.enumerationOrder=t,n}function Q(e){return Object.prototype.toString.call(e)==="[object Array]"}function E(){return l(this,null,function*(){if(!window.speechSynthesis)return null;try{return{voices:(yield K()).slice(0,20).map(t=>x(t))}}catch(e){return null}})}function K(){return l(this,null,function*(){let e=speechSynthesis.getVoices();return e.length?e:(yield Promise.race([new Promise(t=>speechSynthesis.addEventListener("voiceschanged",t,{once:!0})),h(50)]),speechSynthesis.getVoices())})}function L(){let e,t=document.createElement("canvas"),n={};try{e=t.getContext("webgl")||t.getContext("experimental-webgl")}catch(o){}if(!e)return n;try{n.extensions=e.getSupportedExtensions()}catch(o){}try{g.disableWebglHash||(n.hash=X(e,t))}catch(o){}return n}function X(e,t){let n="attribute vec2 attrVertex; varying vec2 varyinTexCoordinate; uniform vec2 uniformOffset; void main() { varyinTexCoordinate = attrVertex + uniformOffset; gl_Position = vec4(attrVertex, 0, 1); }",o="precision mediump float; varying vec2 varyinTexCoordinate; void main() { gl_FragColor = vec4(varyinTexCoordinate, 0, 1); }",r=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,r);let c=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,c,e.STATIC_DRAW);let s=3,u=3,a=e.createProgram(),i=e.createShader(e.VERTEX_SHADER);e.shaderSource(i,n),e.compileShader(i);let f=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(f,o),e.compileShader(f),e.attachShader(a,i),e.attachShader(a,f),e.linkProgram(a),e.useProgram(a);let d=e.getAttribLocation(a,"attrVertex"),_=e.getUniformLocation(a,"uniformOffset");return e.enableVertexAttribArray(0),e.vertexAttribPointer(d,s,e.FLOAT,!1,0,0),e.uniform2f(_,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,u),m(t.toDataURL(),0)}function N(){return l(this,null,function*(){let e=new Date,t;try{t=v()}catch(r){}let o={accountId:ne(),applePay:$(),canvas:{"2dHash":S(),webgl:L()},codecs:w(),deviceTime:e.getTime()/1e3,documentUrl:document.URL,fonts:{css:D()},hasGPC:Z(),heapSizeLimit:ee(),math:M(),navigator:yield O(),plugins:B(),screen:F(),speechSynthesis:yield E(),systemColors:t,timezoneOffset:e.getTimezoneOffset(),touchInput:te(),rects:yield C()};if(navigator.getBattery){let r=yield navigator.getBattery();o.battery={charging:r.charging,chargingTime:r.chargingTime,dischargingTime:r.dischargingTime,level:r.level}}return o})}function $(){if(y())return null;let e=window.ApplePaySession;return e?{canMakePayments:e.canMakePayments()}:null}function Z(){return!!navigator.globalPrivacyControl}function ee(){let e=performance.memory;return e?e.jsHeapSizeLimit:0}function te(){try{return navigator.maxTouchPoints>0||"ontouchstart"in window?!0:window.matchMedia("(-webkit-touch-enabled),(-moz-touch-enabled),(-o-touch-enabled),(-ms-touch-enabled)").matches}catch(e){return!1}}function ne(){return typeof window.survey_height_follow!="undefined"?window.survey_height_follow:typeof 76913!="undefined"?76913:g.accountId}function R(){return l(this,null,function*(){let e={};return e.cookie=document.cookie.replace(/(?:(?:^|.*;\s*)__mmapiwsid\s*=\s*([^;]*).*$)|^.*$/,"$1"),window.localStorage&&(e.localStorage=localStorage.getItem("__mmapiwsid")),window.indexedDB&&(e.indexedDb=yield ie()),e})}function k(e,t){return l(this,null,function*(){let n="__mmapiwsid",o=new Date;o.setFullYear(o.getFullYear()+2),e||(e=document.domain);try{document.cookie=n+"="+t+"; Secure; expires="+o.toUTCString()+"; domain="+e+"; path=/; SameSite=None"}catch(r){}if(window.localStorage)try{localStorage.setItem(n,t)}catch(r){}yield oe(t)})}var p="StoredId";function oe(e){return l(this,null,function*(){let t=yield G();if(!t)return;let o=t.transaction(p,"readwrite").objectStore(p);try{o.put({id:0,value:e})}catch(r){}})}function re(){if(!window.indexedDB)return null;try{return indexedDB.open("__mmapiwsDb",1)}catch(e){return null}}function G(){return l(this,null,function*(){let e=re();return new Promise(t=>{e.onsuccess=n=>{t(n.currentTarget.result)},e.onerror=()=>{t(null)},e.onupgradeneeded=n=>{n.currentTarget.result.createObjectStore(p,{keyPath:"id"})}})})}function ie(){return l(this,null,function*(){let e=yield G();return e?new Promise(t=>{let r=e.transaction(p,"readonly").objectStore(p).get(0);r.onsuccess=function(c){let s=c.target.result;s&&t(s.value),t(null)},r.onerror=()=>t(null)}):null})}function ae(){return l(this,null,function*(){let e=yield N();yield j(e,6)})}function H(){return l(this,null,function*(){typeof document.body!="undefined"&&document.body?yield ae():(yield h(500),yield H())})}function se(e,t,n){return l(this,null,function*(){let o=e.split(/;/),r=o[0],c=o[1],s=parseInt(o[2],10);typeof c!="undefined"&&(yield k(r,c)),t===6&&s===6&&!g.apiHost&&(yield j(n,4))})}function ce(){if(!window.performance)return null;let e=performance.getEntriesByType("resource");if(e===void 0)return null;let t=W(6);for(let n=0;nconsole.error(e));})(); /** * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) * * @author Gary Court * @see http://github.com/garycourt/murmurhash-js * @author Austin Appleby * @see http://sites.google.com/site/murmurhash/ * @license MIT. http://opensource.org/licenses/MIT * * @param {string} key ASCII only * @param {number} seed Positive integer only * @return {number} 32-bit positive integer hash */ /*! * Based on Detector function (v.0.3) from: * Author : Lalit Patel * Website: http://www.lalit.org/lab/javascript-css-font-detect/ * License: Apache Software License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */}(),await async function(){return new Promise(((t,n)=>{const o=setInterval((async()=>{await e("__mmapiwsid")&&(clearInterval(o),t("resolved"))}),100);setTimeout((()=>{clearInterval(o),n(new Error("Timed out waiting"))}),1e4)}))}();const o=12295;await async function(o){if(!o)return;const a=`nf${o}_services_exp`,c=await e(a);c?n(c):await t("https://services.nofraud.com/v1/device/setup/12295",a)}(o)}catch(e){console.error("Error loading device JS:",e)}}),{timeout:2e3})},"interactive"===document.readyState||"complete"===document.readyState?o():document.addEventListener("DOMContentLoaded",o)}();