window.sdl=window.sdl||[],document.addEventListener("DOMContentLoaded",(function(){try{function e(e){var t="; "+e+"=",n=(";"+document.cookie.toString()).split(t);if(2===n.length)return n.pop().split(";").shift()}var t=window.location,n={en:"en-ww",es:"es-es",de:"de-de",fr:"fr-fr",nl:"nl-nl",it:"it-it",pt:"pt-br",cs:"cs-cz",pl:"pl-pl",ru:"ru-ru"},a="";window.navigator.oscpu?a=window.navigator.oscpu:navigator.userAgentData&&navigator.userAgentData.platform?a=navigator.userAgentData.platform:-1!==document.body.className.indexOf("os-")&&(a=document.body.className.split("os-")[1]);var o=Math.min(window.screen.width,window.screen.height)<768||navigator.userAgent.indexOf("Mobi")>-1,r=document.getElementById("sdl-id")?document.getElementById("sdl-id").textContent:"";function s(){var t={};if(e("OptanonConsent"))for(var n=e("OptanonConsent").split("&"),a=0;a0?navigator.userAgentData.brands:[],platform:a,mobile:o},server:{provider:"hubspot",platform:"web",env:"prod",dataCenter:"-",sdlVersion:"2021-05-05/v1"},consentGroups:d.groups?decodeURIComponent(d.groups):"C0001:1"}),window.addEventListener("OneTrustGroupsUpdated",(function(){var e=s(),t=e.groups?decodeURIComponent(e.groups):"C0001:1",n=e.consentId?e.consentId:"";sdl.push({client:{cmpId:n},consentGroups:t,event:"user.update.consent",user:{update:{consent:{}}}})}));var l=t.origin+t.pathname,i="",u=document.getElementById("hub-dl")?document.getElementById("hub-dl").textContent:"",m=document.getElementById("category-dl")?document.getElementById("category-dl").textContent:"",p=document.getElementById("date-dl")?document.getElementById("date-dl").textContent:"",h=document.getElementById("author-dl")?document.getElementById("author-dl").textContent:"";i=document.getElementById("hub-dl")?u+"|"+m+"|"+h+"|"+p:document.getElementById("category-dl-cat")?m+"|"+p:document.getElementById("category-dl-hub")?u+"|"+m+"|"+p:"homepage";var g=document.getElementById("error-page-404"),v=document.getElementById("error-page-500"),y={};if(""!==t.search){var f=new URLSearchParams(t.search).entries();for(var w of f)y[w[0]]=w[1]}sdl.push({event:"screen",screen:{location:{url:t.href,woParams:l,protocol:t.protocol.replace(":",""),path:t.pathname,hostname:t.hostname,hash:t.search,params:y},locale:c.locale,screenCategory:"blog",section:g?"404":v?"500":i,title:c.locale+" | "+t.pathname,type:g||v?"error":t.href.match(/(signal\.|\/signal\/)/g)?"signal":t.href.match(/\/c-/g)?"academy":t.hostname.match(/\press\./g)?t.hostname.split(".").slice(0,2).join(" "):"",name:g?"PageNotFound":v?"InternalServerError":document.title,lineOfBusiness:"Consumer",screenId:r}});for(var I=document.querySelectorAll('a[data-role="download-link"]'),E=0;E-1?"avast":t.hostname.indexOf("avg")>-1?"avg":"":"",link:this.href?this.href:"",offerType:"download",os:"",localCurrencyCode:"",localPrice:0,localTax:0}]}},event:"user.download.products"})}));for(var C=document.querySelectorAll(".btn"),b=0;b