PageSourceSearch

https://espositogioielli.it/cdn/shop/t/3/assets/quantity-selector.js?v=56005620581758573381783612942

js espositogioielli.it collected 2026-09-25 09:40:05 UTC 2,040 bytes, 2 lines download raw bytes

1window.Eurus.loadedScript.has("quantity-selector.js")||(window.Eurus.loadedScript.add("quantity-selector.js"),requestAnimationFrame(()=>{document.addEventListener("alpine:init",()=>{Alpine.data("xQuantitySelector",(productId,sectionId,qtyRuleMin,qtyRuleMax,isQtyRule,currencyCodeEnable,moneyWithCurrency,moneyFormat)=>({qty:qtyRuleMin,min:qtyRuleMin,max:qtyRuleMax,initQtyChangeEvent(selector){this.$nextTick(()=>{this.qty=document.getElementById(selector)?.value,document.addEventListener(`eurus:product:quantity-changed-${sectionId}`,e=>{this.qty=e.detail.quantity})})},minus(value){this.qty<=this.min?this.qty=this.min:(this.qty=parseInt(this.qty),this.qty==1?this.qty=1:this.qty-=value),this.updatePrice()},plus(value){this.qty>=this.max&&isQtyRule?this.qty=parseInt(this.max):(this.qty=parseInt(this.qty),this.qty+=value),this.updatePrice()},invalid(el){number=parseFloat(el.value),(!Number.isInteger(number)||number<this.min)&&(this.qty=this.min),number>this.max&&isQtyRule&&(this.qty=parseInt(this.max)),this.updatePrice()},updatePrice(){const product_template=document.getElementById(`x-product-template-${productId}-${sectionId}`),money_format=currencyCodeEnable?moneyWithCurrency:moneyFormat,getPrice=selector=>Number(product_template.querySelector(selector).innerHTML)*this.qty,update=(selector,value)=>{const el=product_template.querySelector(selector);el&&(el.innerHTML=value)};let product_price=Alpine.store("xHelper").formatMoney(getPrice(".target-price"),money_format),product_compare_at_price=Alpine.store("xHelper").formatMoney(getPrice(".target-compare-at-price"),money_format);update(".add_to_cart_button .main-product-price .price",product_price),update(".add_to_cart_button .main-product-price .price-sale",product_price),update(".add_to_cart_button .main-product-price .price-compare",product_compare_at_price),document.dispatchEvent(new CustomEvent(`quantity:changed-${sectionId}`,{detail:{qty:this.qty}}))}}))})}));
2//# sourceMappingURL=/cdn/shop/t/3/assets/quantity-selector.js.map?v=56005620581758573381783612942

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.