1customElements.get("product-price")||customElements.define("product-price",class extends HTMLElement{constructor(){super()}update(price,compareAtPrice,noConvert=!1){if(compareAtPrice>price){if(this.classList.add("price--on-sale"),!this.querySelector(".price__sale .price-item--regular")){const spanPrice=document.createElement("span"),sPrice=document.createElement("s");sPrice.className="price-item price-item--regular light",spanPrice.append(sPrice),this.querySelector(".price__sale").prepend(spanPrice)}}else this.classList.remove("price--on-sale");const priceText=Shopify.showPrice(price,noConvert),compareAtPriceText=Shopify.showPrice(compareAtPrice,noConvert);this.querySelectorAll(".price__regular .price-item--regular, .price-item--sale").forEach(priceTag=>{priceTag.innerHTML=priceText}),this.querySelector(".price__sale .price-item--regular").innerHTML=compareAtPriceText}}); 2//# sourceMappingURL=/cdn/shop/t/19/assets/product-price.js.map?v=22113653949164134311715280487
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.