PageSourceSearch

https://www.searchpilot.com/hubfs/hub_generated/module_assets/1/19…/1779285790136/module_hero_stack.min.js

js searchpilot.com collected 2026-10-02 03:04:39 UTC 2,280 bytes, 2 lines download raw bytes

1var module_198153090669=function(){const oembedContainers=document.getElementsByClassName("oembed_container"),embedContainers=document.getElementsByClassName("embed_container");0!==oembedContainers.length&&Array.prototype.forEach.call(oembedContainers,function(t){!function(t){const e=t,i=e.querySelector(".iframe_wrapper"),a=e.querySelector(".oembed_custom-thumbnail"),s=i.dataset.embedUrl;if(s){var o=new XMLHttpRequest,n="/_hcms/oembed?url="+s+"&autoplay=0";o.open("GET",n,!0),o.onload=function(){if(o.status>=200&&o.status<400){var t=JSON.parse(o.responseText);const s=void 0===i.dataset.maxHeight||i.dataset.maxHeight?i.dataset.maxHeight:t.height,n=void 0===i.dataset.maxWidth||i.dataset.maxWidth?i.dataset.maxWidth:t.width,r=void 0===i.dataset.height||i.dataset.height?i.dataset.height:t.height,d=void 0===i.dataset.width||i.dataset.width?i.dataset.width:t.width,h=document.createElement("div");h.innerHTML=t.html;const l=h.firstChild;if(l.setAttribute("class","oembed_container_iframe"),l.setAttribute("title",t.title),a?a.onclick=function(){const t=new URL(l.src);t.searchParams.append("autoplay",1),l.src=t.toString(),this.setAttribute("class","oembed_custom-thumbnail--hide"),i.appendChild(l)}:i.appendChild(l),s){const t=s.toString(10)+"px";e.style.maxHeight=t,l.style.maxHeight=t,a&&(a.style.maxHeight=t)}if(n){const t=n.toString(10)+"px";e.style.maxWidth=t,l.style.maxWidth=t,a&&(a.style.maxWidth=t)}if(r){const t=r.toString(10)+"px";e.style.height=t,l.style.height=t,a&&(a.style.height=t)}if(d){const t=d.toString(10)+"px";e.style.width=t,l.style.width=t,a&&(a.style.width=t)}}else console.error("Server reached, error retrieving results.")},o.onerror=function(){console.error("Could not reach the server.")},o.send()}}(t)}),0!==embedContainers.length&&Array.prototype.forEach.call(embedContainers,function(t){!function(t){const e=t,i=e.querySelector(".iframe_wrapper iframe"),a=i.getAttribute("height"),s=i.getAttribute("width");if(null!==a){const t=a.toString(10)+"px";e.style.maxHeight=t}else i.style.height="100%";if(null!==s){const t=s.toString(10)+"px";e.style.maxWidth=t}else i.style.width="100%"}(t)})}();
2//# sourceURL=https://7378679.fs1.hubspotusercontent-na1.net/hubfs/7378679/hub_generated/module_assets/1/198153090669/1779285790136/module_hero_stack.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.