1class State{constructor({controller:t,element:e,index:a}){this.controller=t,this.element=e,this.index=a,this.query=null,this.addEvent()}get media(){return this.element.getAttribute("media")}get value(){return this.element.getAttribute("value")||""}addEvent(){this.query=window.matchMedia(this.media),this.query.addEventListener("change",t=>this.applyState(t,this)),this.cascadeEvent=new Event("change",{target:this.query})}applyState(t=this.query){t.target.matches?this.controller.setState(this.value):this.controller.cascadeState(this.index)}cascadeState(){this.query.dispatchEvent(this.cascadeEvent)}}export default State;
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.