function HandleClientIdLoaded(e){if(window._EA_ID=e,setClientId(window._EA_ID),populateBrowserVariables(),window._CTR_FingerprintGeneratedCallback)try{window._CTR_FingerprintGeneratedCallback(window._EA_ID)}catch(e){}if(!0!==window._CTR_IS_SPA){var n="https://ctrwow-prod-fingerprint-microservice.azurewebsites.net/api/CreateLogHttpTrigger?code=X52ZQaDTSiyjsN334TNPrE34ReCoFvTXh7l0v8fT2knldk1LpP1fYw==&trackingId="+getTrackingCode(),t=getSession();sendTrafficLogRequest(n,JSON.stringify({fingerprint:window._EA_ID,variables:window._EA_VARS,location:window.location,sessionId:t.sessionId,isNewSession:t.isNewSession,type:"PAGEVIEW",customData:window._CTR_CUSTOM_DATA}))}}function sendEvent(e){getTrackingCode()&&window._EA_ID&&window._CTR_IS_TRACKING_ENABLED&&window.socketConnection&&window.socketConnection.send(JSON.stringify(e))}function _EA_PUSH(e,n,t){if(getTrackingCode()&&window._EA_ID&&window._CTR_IS_TRACKING_ENABLED){var r="https://ctrwow-prod-fingerprint-microservice.azurewebsites.net/api/CreateFunctionHttpTrigger?code=UaJqPA9RGvefKokk5Jt6CXObgyELuRwSLvpiGFZi6FtD//RXEBzcIg==&trackingId="+getTrackingCode();"LOGIN"===e&&clearSession();var i=getSession();if("PAGEVIEW"===e)sendTrafficLogRequest(r,JSON.stringify({fingerprint:window._EA_ID,variables:window._EA_VARS,location:window.location,sessionId:i.sessionId,isNewSession:i.isNewSession,fnName:e,args:n,customData:window._CTR_CUSTOM_DATA})),window._EA_START_TIME=new Date;else if("ONUNLOAD"===e){window._EA_END_TIME=new Date;var o=window._EA_END_TIME-window._EA_START_TIME;sendTrafficLogRequest(r,JSON.stringify({fingerprint:window._EA_ID,variables:window._EA_VARS,location:window.location,sessionId:i.sessionId,isNewSession:i.isNewSession,fnName:e,customData:window._CTR_CUSTOM_DATA,args:{timeSpentOnPageInMiliSeconds:o,eventParams:n}})),window._EA_START_TIME=new Date}else t?sendEvent({fingerprint:window._EA_ID,fnName:e,type:"FN",args:n,location:window.location,variables:window._EA_VARS,sessionId:i.sessionId,isNewSession:i.isNewSession,customData:window._CTR_CUSTOM_DATA}):sendTrafficLogRequest(r,JSON.stringify({fingerprint:window._EA_ID,fnName:e,args:n,location:window.location,variables:window._EA_VARS,sessionId:i.sessionId,isNewSession:i.isNewSession,customData:window._CTR_CUSTOM_DATA}));return"LOGOUT"===e&&clearSession(),e}}function getClientId(){return getCookie("d_ctr_cid")}function setClientId(e){e&&setCookie("d_ctr_cid",e,window._CTR_FINGERPRINT_CACHE_DURATION||1051200)}function getTrackingCode(){return window._CTR_TRACKING_ID}function getSession(){var e="d_ctr_sid"+getTrackingCode(),n=getCookie(e),t=!1;return n||(n=generateSessionId(),t=!0),setCookie(e,n,30),{sessionId:n,isNewSession:t}}function clearSession(){setCookie("d_ctr_sid"+getTrackingCode(),"")}function generateSessionId(){var e=(new Date).getTime(),n=(1e9*Math.random()).toFixed(0);return window._CTR_TRACKING_ID+"."+e+"."+n}function sendTrafficLogRequest(e,n){if(getTrackingCode()&&window._EA_ID&&window._CTR_IS_TRACKING_ENABLED)try{if(!navigator.sendBeacon){var t=new XMLHttpRequest;return t.open("POST",e),t.setRequestHeader("Content-Type","application/json"),t.send(n),!0}navigator.sendBeacon(e,n)}catch(e){}}function getCookie(e){for(var n=e+"=",t=decodeURIComponent(document.cookie).split(";"),r=0;ra[0]&&n[1]=n+a?(n=r,[4,f(0)]):[3,3]):[3,4];case 2:e.sent(),e.label=3;case 3:return++t,[3,1];case 4:return[2]}})})}function v(e,n){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],n=[n[0]>>>16,65535&n[0],n[1]>>>16,65535&n[1]];var t=[0,0,0,0];return t[3]+=e[3]+n[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]+n[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]+n[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]+n[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]}function g(e,n){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],n=[n[0]>>>16,65535&n[0],n[1]>>>16,65535&n[1]];var t=[0,0,0,0];return t[3]+=e[3]*n[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]*n[3],t[1]+=t[2]>>>16,t[2]&=65535,t[2]+=e[3]*n[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]*n[3],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[2]*n[2],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[3]*n[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]}function p(e,n){return 32==(n%=64)?[e[1],e[0]]:n<32?[e[0]<>>32-n,e[1]<>>32-n]:(n-=32,[e[1]<>>32-n,e[0]<>>32-n])}function w(e,n){return 0==(n%=64)?e:n<32?[e[0]<>>32-n,e[1]<>>1]),[4283543511,3981806797]),[0,e[0]>>>1]),[3301882366,444984403]),[0,e[0]>>>1])}function n(e,n){n=n||0;var t,r=(e=e||"").length%16,i=e.length-r,o=[0,n],a=[0,n],s=[0,0],c=[0,0],u=[2277735313,289559509],d=[1291169091,658871167];for(t=0;t>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}function r(e){return parseInt(e)}function o(e){return parseFloat(e)}function a(e,n){return"number"==typeof e&&isNaN(e)?n:e}function y(e){return e.reduce(function(e,n){return e+(n?1:0)},0)}function k(e,n){if(void 0===n&&(n=1),1<=Math.abs(n))return Math.round(e/n)*n;var t=1/n;return Math.round(e*t)/t}function _(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function c(i,a,n){var s=Object.keys(i).filter(function(e){return!function(e,n){for(var t=0,r=e.length;t.6*n.length})).sort(),[2,r]}})})},fontPreferences:function(){return void 0===a&&(a=4e3),M(function(e,n){var t=n.document,r=t.body,i=r.style;i.width=a+"px",i.webkitTextSizeAdjust=i.textSizeAdjust="none",S()?r.style.zoom=""+1/n.devicePixelRatio:A()&&(r.style.zoom="reset");var o=t.createElement("div");return o.textContent=s(Array(a/20<<0)).map(function(){return"word"}).join(" "),r.appendChild(o),function(e,n){for(var t={},r={},i=0,o=Object.keys(Z);i');var a},audio:function(){var e,n=window,t=n.OfflineAudioContext||n.webkitOfflineAudioContext;if(!t)return-2;if(A()&&!x()&&!(3<=y(["DOMRectList"in(e=window),"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])))return-1;var r=new t(1,5e3,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;var o=r.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,i.connect(o),o.connect(r.destination),i.start(0);var s,c,a=(s=r,c=function(){},[new Promise(function(n,t){var e=!1,r=0,i=0;function o(){setTimeout(function(){return t(I("timeout"))},Math.min(500,i+5e3-Date.now()))}s.oncomplete=function(e){return n(e.renderedBuffer)};var a=function(){try{switch(s.startRendering(),s.state){case"running":i=Date.now(),e&&o();break;case"suspended":document.hidden||r++,e&&3<=r?t(I("suspended")):setTimeout(a,500)}}catch(e){t(e)}};a(),c=function(){e||(e=!0,0