1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static get targets(){return["body"]}static get values(){return{open:{type:Boolean,default:!0}}}connect(){this.showState()}toggle(){this.openValue=!this.openValue,this.showState()}showState(){this.openValue?this.show():this.hide()}show(){this.bodyTarget.classList.add("show")}hide(){this.bodyTarget.classList.remove("show")}}
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.