1class ScrollToTopButton extends HTMLElement{constructor(){super(),this.classList.toggle("reveal",window.scrollY>window.innerHeight),window.addEventListener("scroll",()=>{requestAnimationFrame(()=>{this.classList.toggle("reveal",window.scrollY>window.innerHeight)})},{passive:!0}),this.addEventListener("click",()=>{this.scrollToTop()}),this.addEventListener("keydown",event=>{event.key==="Enter"&&this.scrollToTop()})}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{document.querySelector(".skip-to-content-link")?.focus()},700)}}customElements.define("scroll-to-top-button",ScrollToTopButton); 2//# sourceMappingURL=/cdn/shop/t/2/assets/scroll-to-top.js.map?v=175771221468027098831756341814
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.