PageSourceSearch

https://www.amesto.no/hubfs/hub_generated/module_assets/1/37992877…/module_text-left-image.min.js

js amesto.no collected 2026-10-07 23:18:03 UTC 2,106 bytes, 2 lines download raw bytes

1var module_379928774905=(window.__hsVideoOverlay||(window.__hsVideoOverlay=function(){var el,player;function close(){el.classList.remove("video-overlay--open"),player.innerHTML=""}return{open:function(src){if(el||((el=document.createElement("div")).className="video-overlay",el.innerHTML='<div class="video-overlay__backdrop"></div><div class="video-overlay__box"><button class="video-overlay__close" aria-label="Lukk video"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><line x1="1" y1="1" x2="19" y2="19" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/><line x1="19" y1="1" x2="1" y2="19" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/></svg></button><div class="video-overlay__player"></div></div>',document.body.appendChild(el),player=el.querySelector(".video-overlay__player"),el.querySelector(".video-overlay__backdrop").addEventListener("click",close),el.querySelector(".video-overlay__close").addEventListener("click",close),document.addEventListener("keydown",function(e){"Escape"===e.key&&close()})),player.innerHTML="",src){var ifr=document.createElement("iframe");ifr.src=src,ifr.setAttribute("allowfullscreen",""),ifr.setAttribute("allow","autoplay; fullscreen"),ifr.style.cssText="width:100%;height:100%;border:0;display:block;",player.appendChild(ifr)}el.classList.add("video-overlay--open")}}}()),void document.querySelectorAll(".two-col__media--video").forEach(function(wrap){var playBtn=wrap.querySelector(".two-col__play"),preload=wrap.querySelector(".two-col__video-src-preload");playBtn&&playBtn.addEventListener("click",function(){var src=null;if(preload){var iframe=preload.querySelector("iframe");iframe&&(src=iframe.getAttribute("data-hsv-src")||iframe.src||"")&&-1===(src=src.replace(/autoplay=false/gi,"autoplay=true")).indexOf("autoplay")&&(src+=(-1===src.indexOf("?")?"?":"&")+"autoplay=true")}window.__hsVideoOverlay.open(src)})}));
2//# sourceURL=https://24924595.fs1.hubspotusercontent-eu1.net/hubfs/24924595/hub_generated/module_assets/1/379928774905/1790578993669/module_text-left-image.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.