1class c extends window.HTMLElement{loadNextPage(){document.dispatchEvent(new CustomEvent("theme:loading:start"),{bubbles:!0});const t=this.querySelector("button");t&&(t.setAttribute("disabled",!0),t.classList.add("loading"));const e=this.dataset.nextUrl;e&&fetch(e).then(n=>n.text()).then(n=>{const i=new DOMParser().parseFromString(n,"text/html"),o=i.querySelector("[data-infinite]"),a=document.querySelector("[data-infinite]");Array.from(o.children).forEach(r=>{a.appendChild(r.cloneNode(!0))}),document.dispatchEvent(new CustomEvent("theme:loading:end"),{bubbles:!0}),t&&(t.setAttribute("disabled",!1),t.classList.remove("loading"));const s=i.querySelector("pagination-wrapper");this.replaceWith(s),window.history.replaceState({},"",e||window.location.pathname)})}connectedCallback(){const t=this.querySelector("button");t&&t.addEventListener("click",this.loadNextPage.bind(this))}disconnectedCallback(){const t=this.querySelector("button");t&&t.removeEventListener("click",this.loadNextPage.bind(this))}}window.customElements.define("pagination-wrapper",c); 2//# sourceMappingURL=pagination-wrapper.49793828.min.js.map
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.