1!function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(callback,thisArg){thisArg=thisArg||window;for(var i=0;i<this.length;i++)callback.call(thisArg,this[i],i,this)});var callback,nav=document.querySelector(".header__navigation"),langSwitcher=document.querySelector(".header__language-switcher"),search=document.querySelector(".header__search"),allToggles=document.querySelectorAll(".header--toggle"),navToggle=document.querySelector(".header__navigation--toggle"),langToggle=document.querySelector(".header__language-switcher--toggle"),searchToggle=document.querySelector(".header__search--toggle"),closeToggle=document.querySelector(".header__close--toggle"),allElements=document.querySelectorAll(".header--element, .header--toggle"),emailGlobalUnsub=document.querySelector('input[name="globalunsub"]');function toggleNav(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),nav.classList.toggle("open"),navToggle.classList.toggle("open");var hdr=document.querySelector(".header");navToggle.classList.contains("open")&&(hdr.classList.toggle("sticky"),hdr.classList.add("h-bg"),document.body.classList.toggle("o-hidden")),closeToggle.classList.toggle("show")}function toggleLang(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),langSwitcher.classList.toggle("open"),langToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function toggleSearch(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),search.classList.toggle("open"),searchToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function closeAll(){allElements.forEach(function(element){element.classList.remove("hide","open")}),document.body.classList.remove("o-hidden"),document.querySelector(".header").classList.remove("h-bg"),closeToggle.classList.remove("show")}function toggleDisabled(){document.querySelectorAll("#email-prefs-form .item").forEach(function(item){var emailSubItemInput=item.querySelector("input");emailGlobalUnsub.checked?(item.classList.add("disabled"),emailSubItemInput.setAttribute("disabled","disabled"),emailSubItemInput.checked=!1):(item.classList.remove("disabled"),emailSubItemInput.removeAttribute("disabled"))})}callback=function(){document.body&&(langSwitcher&&langToggle.addEventListener("click",toggleLang),navToggle&&navToggle.addEventListener("click",toggleNav),searchToggle&&searchToggle.addEventListener("click",toggleSearch),closeToggle&&closeToggle.addEventListener("click",closeAll),emailGlobalUnsub&&emailGlobalUnsub.addEventListener("change",toggleDisabled))},["interactive","complete"].indexOf(document.readyState)>=0?callback():document.addEventListener("DOMContentLoaded",callback)}(),document.addEventListener("DOMContentLoaded",function(){var lazyloadImages;if("IntersectionObserver"in window){lazyloadImages=document.querySelectorAll(".lazy");var imageObserver=new IntersectionObserver(function(entries,observer){entries.forEach(function(entry){if(entry.isIntersecting){var image=entry.target;image.classList.remove("lazy"),imageObserver.unobserve(image)}})});lazyloadImages.forEach(function(image){imageObserver.observe(image)})}else{var lazyloadThrottleTimeout;function lazyload(){lazyloadThrottleTimeout&&clearTimeout(lazyloadThrottleTimeout),lazyloadThrottleTimeout=setTimeout(function(){var scrollTop=window.pageYOffset;lazyloadImages.forEach(function(img){img.offsetTop<window.innerHeight+scrollTop&&(img.src=img.dataset.src,img.classList.remove("lazy"))}),0==lazyloadImages.length&&(document.removeEventListener("scroll",lazyload),window.removeEventListener("resize",lazyload),window.removeEventListener("orientationChange",lazyload))},20)}lazyloadImages=document.querySelectorAll(".lazy"),document.addEventListener("scroll",lazyload),window.addEventListener("resize",lazyload),window.addEventListener("orientationChange",lazyload)}}); 2//# sourceURL=https://25719561.fs1.hubspotusercontent-eu1.net/hubfs/25719561/hub_generated/template_assets/1/50369804265/1789568248837/template_main.js
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.