https://thebutimovement.com/cdn/shop/t/16/assets/product-content.js?v=166429180102898595031778970784
1customElements.get("product-content")||customElements.define("product-content",class extends HTMLElement{constructor(){super(),this.handleBuyTools(),this.handleCollapsibleBlocks()}handleBuyTools(){const productPageSection=document.querySelector(".product-page-section");if(!productPageSection)return;const isWrapped=productPageSection.closest(".product-section-main-wrap"),productInformation=productPageSection.querySelector("product-information"),productInfoWraper=productPageSection.querySelector(".product__info-wrapper"),nextElement=productPageSection?productPageSection.nextElementSibling:null,productContentIsNextSibling=nextElement?nextElement.classList.contains("product-content-section"):!1;if(productInfoWraper&&productContentIsNextSibling){if(!isWrapped){const templateProduct=this.closest(".template-product-wrapper"),walletButton=templateProduct?templateProduct.querySelector(".wallet-button-fade-in"):null;walletButton&&(walletButton.innerHTML=""),$(".product-section").wrapAll('<div class="product-section-main-wrap" />')}productPageSection.classList.remove("product-static-buy-tools"),productInformation&&(productInformation.buyToolsCalculations(),window.addEventListener("scroll",productInformation.onScrollToolsHandler,!1))}else productInfoWraper&&!productContentIsNextSibling&&(productPageSection.classList.add("product-static-buy-tools"),window.removeEventListener("scroll",productInformation.onScrollToolsHandler,!1),productInformation.staticBuyTools=!0)}handleCollapsibleBlocks(){const details=this.querySelectorAll(".product__collapsible-details"),RO=new ResizeObserver(entries=>entries.forEach(entry=>{const detail=entry.target,detailWidth=+detail.dataset.width,roundedEntrySize=Math.round(entry.contentRect.width);detailWidth!==roundedEntrySize&&(detail.removeAttribute("style"),this.setHeight(detail))}));details.forEach(detail=>{RO.observe(detail)})}setHeight(detail){detail.open=!0;const rectOpen=detail.getBoundingClientRect();detail.style.setProperty("--expanded",`${rectOpen.height}px`),detail.open=!1;const rectClose=detail.getBoundingClientRect();detail.style.setProperty("--collapsed",`${rectClose.height}px`),detail.dataset.width=Math.round(rectClose.width)}}); 2//# sourceMappingURL=/cdn/shop/t/16/assets/product-content.js.map?v=166429180102898595031778970784
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.