1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static targets=["mac","nonMac"];connect(){this.detectOS()}detectOS(){const t=this.#t();this.macTargets.forEach(a=>{a.classList.toggle("hidden",!t)}),this.nonMacTargets.forEach(a=>{a.classList.toggle("hidden",t)})}#t(){return navigator.userAgentData&&navigator.userAgentData.platform?"macOS"===navigator.userAgentData.platform:/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)}}
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.