1function switchSwatchDisplay(el){var productTile=el.closest(".product-tile");if(productTile){var swatchDisplay=productTile.querySelector(".swatch-display-value");swatchDisplay&&(swatchDisplay.textContent=el.value);var productLink=productTile.querySelector(".product-tile-image-link");productLink.href=el.dataset.variantUrl,el.dataset.imageUrl&&switchSwatchImage(el,productTile),productTile.dispatchEvent(new CustomEvent("collection-tile:variant-changed",{bubbles:!0,detail:{swatchElement:el,swatchValue:el.value,variantUrl:el.dataset.variantUrl}}))}}function switchSwatchImage(el,productTile){var newImageUrl=el.dataset.imageUrl,newSecondaryImageUrl=el.dataset.secondaryImageUrl,imgElements=productTile.querySelectorAll("img");imgElements.forEach(function(imgElement){imgElement&&newImageUrl&&newSecondaryImageUrl&&(imgElement.classList.contains("product-tile-image")?imgElement.src=newImageUrl:imgElement.src=newSecondaryImageUrl)})}document.addEventListener("click",function(event){event.target.matches(".ColorSwatch__Radio")&&switchSwatchDisplay(event.target)});function moreSwatchesClicked(el){var productTile=el.closest(".product-tile");if(productTile){const link=productTile.querySelector(".product-tile-image-link");link&&link.click()}}document.addEventListener("click",function(event){event.target.matches(".swatch-more")&&moreSwatchesClicked(event.target)}); 2//# sourceMappingURL=/cdn/shop/t/10/assets/cuyana-product-tile.js.map?v=124531440760763733941762341329
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.