1import{mediaQueryLarge,isMobileBreakpoint}from"@theme/utilities";class AccordionRow extends HTMLElement{get details(){return this.querySelector('[data-ref="accordion-details"]')}#controller=new AbortController;connectedCallback(){const{signal}=this.#controller;this.#setDefaultOpenState(),mediaQueryLarge.addEventListener("change",this.#handleMediaQueryChange,{signal})}disconnectedCallback(){this.#controller.abort()}#handleMediaQueryChange=()=>{this.#setDefaultOpenState()};#setDefaultOpenState(){const isMobile=isMobileBreakpoint();this.details.open=isMobile&&this.hasAttribute("open-by-default-on-mobile")||!isMobile&&this.hasAttribute("open-by-default-on-desktop")}}customElements.get("accordion-row")||customElements.define("accordion-row",AccordionRow); 2//# sourceMappingURL=/cdn/shop/t/18/assets/accordion.js.map?v=164214674226593356811781090903
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.