PageSourceSearch

https://ador.com/cdn/shop/t/12/assets/quick-add.aio.min.js?v=110344531053798148521788762056

js ador.com collected 2026-10-02 06:41:55 UTC 2,807 bytes, 5 lines download raw bytes

1/*
2Generated time: May 7, 2026 08:12
3This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script.
4*/
5customElements.get("quick-add-modal")||customElements.define("quick-add-modal",class extends ModalDialog{constructor(){super(),this.modalContent=this.querySelector('[id^="QuickAddInfo-"]'),this.addEventListener("product-info:loaded",({target:e})=>{e.addPreProcessCallback(this.preprocessHTML.bind(this))})}hide(e=!1){var t=document.querySelector("cart-notification")||document.querySelector("cart-drawer");t&&t.setActiveElement(this.openedBy),this.modalContent.innerHTML="",e&&(this.openedBy=null),super.hide()}show(t){t.setAttribute("aria-disabled",!0),t.classList.add("loading"),t.querySelector(".loading__spinner").classList.remove("hidden"),fetch(t.getAttribute("data-product-url")).then(e=>e.text()).then(e=>{e=(new DOMParser).parseFromString(e,"text/html").querySelector("product-info");this.preprocessHTML(e),HTMLUpdateUtility.setInnerHTML(this.modalContent,e.outerHTML),window.Shopify&&Shopify.PaymentButton&&Shopify.PaymentButton.init(),window.ProductModel&&window.ProductModel.loadShopifyXR(),super.show(t)}).finally(()=>{t.removeAttribute("aria-disabled"),t.classList.remove("loading"),t.querySelector(".loading__spinner").classList.add("hidden")})}preprocessHTML(e){e.classList.forEach(e=>{!e.startsWith("color-")&&"gradient"!==e||this.modalContent.classList.add(e)}),this.preventDuplicatedIDs(e),this.removeDOMElements(e),this.removeGalleryListSemantic(e),this.updateImageSizes(e),this.preventVariantURLSwitching(e)}preventVariantURLSwitching(e){e.setAttribute("data-update-url","false")}removeDOMElements(e){var t=e.querySelector("pickup-availability"),t=(t&&t.remove(),e.querySelector("product-modal")),t=(t&&t.remove(),e.querySelectorAll("modal-dialog"));t&&t.forEach(e=>e.remove())}preventDuplicatedIDs(t){var e=t.dataset.section;let r=e,i="quickadd-"+e;t.innerHTML=t.innerHTML.replaceAll(r,i),Array.from(t.attributes).forEach(e=>{e.value.includes(r)&&t.setAttribute(e.name,e.value.replace(r,i))}),t.dataset.originalSection=e}removeGalleryListSemantic(e){e=e.querySelector('[id^="Slider-Gallery"]');e&&(e.setAttribute("role","presentation"),e.querySelectorAll('[id^="Slide-"]').forEach(e=>e.setAttribute("role","presentation")))}updateImageSizes(e){e=e.querySelector(".product");if(e?.classList.contains("product--columns")){var r=e.querySelectorAll(".product__media img");if(r.length){let t="(min-width: 1000px) 715px, (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw - 4rem)";e.classList.contains("product--medium")?t=t.replace("715px","605px"):e.classList.contains("product--small")&&(t=t.replace("715px","495px")),r.forEach(e=>e.setAttribute("sizes",t))}}}});

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.