https://www.youngla.com/cdn/shop/t/205/assets/product-card-quick-b…?v=117402656766457186891789580317
1function productCardQuickBuySwatchSelector(value){return window.CSS&&typeof window.CSS.escape=="function"?`.product-card__quick-add-swatches [type="radio"][value="${window.CSS.escape(value)}"]`:`.product-card__quick-add-swatches [type="radio"][value="${value.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"]`}function productCardInfoSwatchSelector(value){return window.CSS&&typeof window.CSS.escape=="function"?`.product-card__info [type="radio"][value="${window.CSS.escape(value)}"]`:`.product-card__info [type="radio"][value="${value.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"]`}document.addEventListener("change",event=>{const swatch=event.target.closest(".product-card__quick-add-swatches [type='radio']");if(!swatch)return;const scope=swatch.closest("form")||swatch.closest("product-card");if(!scope)return;scope.querySelectorAll("[data-card-size-group]").forEach(group=>{group.classList.toggle("is-active",group.getAttribute("data-card-size-group")===swatch.value)}),scope.querySelectorAll(productCardQuickBuySwatchSelector(swatch.value)).forEach(matchingSwatch=>{matchingSwatch.checked=!0});const productCard=swatch.closest("product-card");if(productCard){const infoSwatch=productCard.querySelector(productCardInfoSwatchSelector(swatch.value));infoSwatch&&!infoSwatch.checked&&(infoSwatch.checked=!0,infoSwatch.dispatchEvent(new Event("change",{bubbles:!0})))}}),document.addEventListener("click",event=>{const sizeButton=event.target.closest(".product-card__size-button, .product-card__add-to-bag-button");if(!sizeButton||sizeButton.disabled)return;const form=sizeButton.closest("form"),variantId=sizeButton.getAttribute("data-variant-id");if(!form||!variantId)return;const idInput=form.querySelector("input[name='id']");idInput&&(idInput.value=variantId)}); 2//# sourceMappingURL=/cdn/shop/t/205/assets/product-card-quick-buy-swatches.js.map?v=117402656766457186891789580317
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.