PageSourceSearch

https://www.lacoquetakids.com/cdn/shop/t/291/assets/product-accordions.js?v=65911694848272229731761906982

js lacoquetakids.com collected 2026-10-03 21:24:12 UTC 934 bytes, 2 lines download raw bytes

1export class ProductAccordions extends window.BAO.CustomElement(){constructor(){super(),this.itemEls=this.querySelectorAll('[data-el="product-accordions.item"]'),this.initialiseAccordions()}initialiseAccordions(){this.itemEls.forEach(itemEl=>{const triggerEl=itemEl.querySelector('[data-el="product-accordions.trigger"]');this.handleClick=this.handleClick.bind(this),triggerEl.addEventListener("click",this.handleClick)})}handleClick(event){const itemEl=event.target.closest('[data-el="product-accordions.item"]'),linksEl=itemEl.querySelector('[data-el="product-accordions.links"]');itemEl.style.setProperty("--Max_Height",`${linksEl.offsetHeight}px`);const currentState=itemEl.getAttribute("aria-expanded")==="true";itemEl.setAttribute("aria-expanded",!currentState)}}customElements.define("product-accordions",ProductAccordions);
2//# sourceMappingURL=/cdn/shop/t/291/assets/product-accordions.js.map?v=65911694848272229731761906982

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.