1var n=t=>{throw TypeError(t)};var d=(t,e,a)=>e.has(t)||n("Cannot "+a);var h=(t,e,a)=>(d(t,e,"read from private field"),a?a.call(t):e.get(t)),o=(t,e,a)=>e.has(t)?n("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,a),r=(t,e,a,s)=>(d(t,e,"write to private field"),s?s.call(t,a):e.set(t,a),a);var i;class u{constructor(e,a){o(this,i,[]);(this.host=e).addController(this),this.mediaQuery=window.matchMedia(a),this.onMediaQueryChange=this.onMediaQueryChange.bind(this)}addOnChangeCallback(e){h(this,i).push(e)}hostConnected(){this.mediaQuery.addEventListener("change",this.onMediaQueryChange)}hostDisconnected(){this.mediaQuery.removeEventListener("change",this.onMediaQueryChange),r(this,i,[])}get active(){return this.mediaQuery.matches}async onMediaQueryChange(){await this.host.updateComplete,this.host.requestUpdate(),h(this,i).forEach(e=>e())}}i=new WeakMap;export{u as M};
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.