1const { Core, Events } = Global; 2 3const CN_ACTIVE = '!active'; 4 5customElements.define('product-info-loading', class extends Core { 6 7 render() { 8 this.sub(Events.VARIANT_LOADING, this._handleLoading); 9 } 10 11 _handleLoading(state) { 12 this.classList.toggle(CN_ACTIVE, state); 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.