1class c extends HTMLElement{constructor(){super()}connectedCallback(){this.initToggle()}initToggle(){const a=this.querySelectorAll("[data-apartment-toggle]"),s=this.querySelectorAll("[data-apartment-media]");!a.length||!s.length||a.forEach(n=>{n.addEventListener("click",()=>{const r=n.getAttribute("data-apartment-toggle");s.forEach(t=>{const e=t.getAttribute("data-apartment-media")===r;t.classList.toggle("hidden",!e)}),a.forEach(t=>{const e=t===n;t.classList.toggle("btn-primary",e),t.classList.toggle("btn-secondary",!e)})})})}}customElements.get("apartment-card")||customElements.define("apartment-card",c); 2//# sourceMappingURL=apartment-card.DGcTM2GS.js.map
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.