PageSourceSearch

https://www.trafalgarstore.com/cdn/shop/t/261/assets/product-recom…?v=157488403753712946661790570060

js trafalgarstore.com collected 2026-10-03 21:24:18 UTC 1,343 bytes, 2 lines download raw bytes

1customElements.get("product-recommendations")||customElements.define("product-recommendations",class extends HTMLElement{constructor(){super(),"requestIdleCallback"in window?requestIdleCallback(this.init.bind(this),{timeout:1500}):FoxTheme.Motion.inView(this,this.init.bind(this),{margin:"0px 0px 400px 0px"})}init(){this.loadRecommendations(this.dataset.url)}loadRecommendations(url,isFallback=!1){fetch(url).then(response=>response.text()).then(responseText=>{const sectionInnerHTML=new DOMParser().parseFromString(responseText,"text/html").querySelector(".shopify-section");if(sectionInnerHTML===null)return;const recommendations=sectionInnerHTML.querySelector("product-recommendations");recommendations&&recommendations.innerHTML.trim().length&&(this.innerHTML=recommendations.innerHTML),recommendations.querySelector(".product-card")?this.dispatchEvent(new CustomEvent("recommendations:loaded")):!isFallback&&this.dataset.urlFallback?this.loadRecommendations(this.dataset.urlFallback,!0):(recommendations.classList.contains("complementary-products")?this.closest(".product__block").remove():this.closest(".shopify-section").remove(),this.dispatchEvent(new CustomEvent("recommendations:empty")))}).catch(e=>{console.error(e)})}});
2//# sourceMappingURL=/cdn/shop/t/261/assets/product-recommendations.js.map?v=157488403753712946661790570060

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.