1document.addEventListener('alpine:init', () => { 2 Alpine.data('footerApp', () => ({ 3 init() { 4 this.setCurrentBreakpoint(); 5 6 window.addEventListener('resize', () => { 7 this.setCurrentBreakpoint(); 8 }); 9 }, 10 isMobile: false, 11 activeNav: -1, 12 setCurrentBreakpoint() { 13 const isMobile = window.matchMedia('(max-width: 767px)').matches; 14 this.isMobile = isMobile; 15 }, 16 setActiveNav(index) { 17 this.activeNav = this.activeNav == index ? -1 : index; 18 } 19 })); 20});
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.