PageSourceSearch

https://desser.co.uk/cdn/shop/t/150/assets/sticky-product-bar.js?v=9909035458688193141787824833

js desser.co.uk collected 2026-10-03 21:22:27 UTC 1,468 bytes, 2 lines download raw bytes

1class StickyProductBar extends HTMLElement{constructor(){super(),this.isVisible=!1,this.triggerElement=null,this.init()}connectedCallback(){this.setupScrollListener(),document.body.appendChild(this)}disconnectedCallback(){this.removeEventListeners()}init(){this.triggerElement=document.querySelector(".product__section--buttons-outer"),this.style.display="none"}setupScrollListener(){let ticking=!1;const handleScroll=()=>{ticking||(requestAnimationFrame(()=>{this.checkScrollPosition(),ticking=!1}),ticking=!0)};window.addEventListener("scroll",handleScroll,{passive:!0}),this.scrollHandler=handleScroll}checkScrollPosition(){if(!this.triggerElement)return;const shouldShow=this.triggerElement.getBoundingClientRect().bottom<0;shouldShow&&!this.isVisible?this.show():!shouldShow&&this.isVisible&&this.hide()}show(){this.isVisible=!0,this.style.display="flex",this.style.transform="translateY(0)",document.body.classList.add("sticky-bar-visible")}hide(){this.isVisible=!1,this.style.transform="translateY(100%)",document.body.classList.remove("sticky-bar-visible"),this.addEventListener("transitionend",this.handleTransitionEnd,{once:!0})}handleTransitionEnd(){this.isVisible||(this.style.display="none")}removeEventListeners(){this.scrollHandler&&window.removeEventListener("scroll",this.scrollHandler)}}customElements.define("sticky-product-bar",StickyProductBar);
2//# sourceMappingURL=/cdn/shop/t/150/assets/sticky-product-bar.js.map?v=9909035458688193141787824833

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.