1var __defProp=Object.defineProperty,__name=(target,value)=>__defProp(target,"name",{value,configurable:!0});const initMainListCollections=__name($el=>{const state=window.Alpine.reactive({loading:!1,count:$el.querySelector("[data-next-url]")?.children?.length,next_url:$el.querySelector("[data-next-url]")?.getAttribute("data-next-url")});return{main_list_collections:{state,loadNextPage:__name(async(container=$el.querySelector("[data-next-url]"),paginationContainer=$el.querySelector('[data-pagination][x-ref="pagination"]'))=>{if(!state.next_url||state.loading)return;state.loading=!0;const html=await fetch(state.next_url).then(res=>res.text()),newDocument=document.createElement("div");newDocument.innerHTML=html;const section=newDocument.querySelector(`[data-style-id="${$el.getAttribute("data-style-id")}"]`),newContent=section.querySelector(`[data-next-url][x-ref="${container?.getAttribute("x-ref")}"]`);state.next_url=newContent?.getAttribute("data-next-url");const newPagination=section.querySelector('[data-pagination][x-ref="pagination"]');newContent&&(container.append(...newContent.children),state.count=container?.children?.length),paginationContainer&&newPagination&&(paginationContainer.innerHTML=newPagination.innerHTML),state.loading=!1},"loadNextPage")}}},"initMainListCollections");window._sections.initMainListCollections=initMainListCollections; 2//# sourceMappingURL=/cdn/shop/t/39/assets/__section--main_list_collections.js.map?v=69154335728424125751786456146
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.