1(function(){const addTabsEvents=()=>{const tabsWrapper=document.querySelector(".blog-tabs");if(document.querySelectorAll(".blog-tabs li").forEach(tabElement=>{const tabBtn=tabElement.querySelector("a");tabBtn.addEventListener("click",function(event){event.preventDefault(),event.stopPropagation();const href=tabBtn.href;tabElement.classList.contains("active")||renderBlogsGrid(href),resetActiveStates(),tabElement.classList.add("active")})}),window.innerWidth<=960){document.querySelector(".blog-tabs li.active").scrollIntoView();const y=tabsWrapper.getBoundingClientRect().top+window.scrollY+-100;window.scrollTo({top:y,behavior:"instant"})}};addTabsEvents();const renderBlogsGrid=async href=>{toggleOverlay("open");const sectionId=document.querySelector(".main-blog").id.replaceAll("shopify-section-","");let url=new URL(href);url.searchParams.append("section_id",sectionId);const res=await fetch(url.href);let html;res.ok&&(html=await res.text(),document.querySelector(".main-blog").innerHTML=html,addTabsEvents(),url.searchParams.delete("section_id"),history.pushState({},"",url.href),toggleOverlay("close"))},toggleOverlay=state=>{const overlay=document.querySelector(".blog-overlay");state==="open"?overlay.classList.add("active"):state==="close"&&overlay.classList.remove("active")},resetActiveStates=()=>{document.querySelectorAll(".blog-tabs li").forEach(tabElement=>{tabElement.classList.remove("active")})}})(); 2//# sourceMappingURL=/cdn/shop/t/67/assets/blog.js.map?v=120316852128461521861784902124
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.