1if (!customElements.get('rich-text-more')) { 2 customElements.define('rich-text-more', class MediaGallery extends HTMLElement { 3 constructor() { 4 super(); 5 this.button = this.querySelector('button'); 6 this.container = this.closest('.section-rich-text'); 7 this.button.addEventListener('click', this.handleClick); 8 } 9 10 handleClick = () => { 11 this.container.classList.toggle('is-expanded'); 12 } 13 }); 14}
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.