1(()=>{var t;/(^|\s)header-variant--/.test(document.body.className)||(t=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&e.target.classList.contains("enable-transparent-header")?document.body.classList.add("header-is-transparent"):document.body.classList.remove("header-is-transparent")})},{rootMargin:"-30px 0px 0px 0px"}),document.querySelectorAll(".hero-container.enable-transparent-header").forEach(function(e){t.observe(e)})),document.querySelectorAll(".hero-container").forEach(function(e){var a,r=e.querySelector(".hero__video-toggle"),n=Array.prototype.slice.call(e.querySelectorAll(".hero__video-el")),t=Array.prototype.slice.call(e.querySelectorAll(".hero__video-yt")),o=Array.prototype.slice.call(e.querySelectorAll(".hero__video-poster"));function i(e){var t,n,o;r&&(r.dataset.state=e?"playing":"paused",t=r.querySelector(".hero__video-icon-play"),n=r.querySelector(".hero__video-icon-pause"),o=r.querySelector("span"),t&&(t.style.display=e?"none":""),n&&(n.style.display=e?"":"none"),o)&&(o.textContent=e?"Pause video":"Afspil video")}function c(){o.forEach(function(e){e.classList.add("is-hidden")})}n.length?(n.forEach(function(e){e.addEventListener("play",function(){i(!0)}),e.addEventListener("pause",function(){i(!1)})}),r&&r.addEventListener("click",function(){var t=n.some(function(e){return!e.paused});n.forEach(function(e){t?e.pause():e.play()})})):t.length&&(r?(a=[],t.forEach(function(e){var t,n,o;e.id||(e.id="hero-yt-"+Math.random().toString(36).slice(2)),t=function(){a.push(new YT.Player(e.id,{events:{onStateChange:function(e){e.data===YT.PlayerState.PLAYING?(c(),i(!0)):e.data!==YT.PlayerState.PAUSED&&e.data!==YT.PlayerState.ENDED||i(!1)}}}))},window.YT&&window.YT.Player?t():(document.querySelector('script[src*="youtube.com/iframe_api"]')||((n=document.createElement("script")).src="https://www.youtube.com/iframe_api",document.head.appendChild(n)),o=setInterval(function(){window.YT&&window.YT.Player&&(clearInterval(o),t())},100))}),r.addEventListener("click",function(){var t=a.some(function(e){return"function"==typeof e.getPlayerState&&1===e.getPlayerState()});a.forEach(function(e){"function"==typeof e.getPlayerState&&(t?e.pauseVideo():e.playVideo())})})):o.length&&(t.forEach(function(e){e.addEventListener("load",function(){setTimeout(c,600)})}),setTimeout(c,1500)))})})();
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.