1$(document).ready(function() { 2 $(".info-toggle-item > h2.info-toggle-title").click(function (event) { 3 event.preventDefault(); 4 const $toggleContent = $(this).siblings(".inner-toggle-item"); 5 6 $toggleContent.slideToggle(); 7 $toggleContent.toggleClass("add-padding"); 8 9 // Get the current aria-expanded state 10 var isExpanded = $(this).attr('aria-expanded') === 'true'; 11 12 // Toggle the aria-expanded attribute 13 $(this).attr('aria-expanded', !isExpanded); 14 15 $(this).toggleClass("info-toggle-open"); 16 $ 17 }); 18 19 // Open toggle using keyboard (Enter or Space) 20 $(".info-toggle-item > h2.info-toggle-title").keydown(function(event) { 21 if (event.key === "Enter" || event.key === " ") { 22 event.preventDefault(); 23 $(this).click(); 24 } 25 }); 26});
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.