1jQuery(function ($) { 2 $('.homepage-tool-control').click(function () { 3 $(this).addClass('active').attr('aria-selected', 'true').siblings().removeClass('active').attr('aria-selected', 'false'); 4 5 $(`#${$(this).attr('aria-controls')}`).addClass('active').siblings().removeClass('active'); 6 }); 7 8 // Homepage news items show/hide 9 $('.homepage-news-item .expand-control').click(function () { 10 var newsDiv = $(this).parents('.homepage-news-item'); 11 var newsButton = $('.news-button', newsDiv); 12 var newsContentDiv = $('.news-item-excerpt', newsDiv); 13 14 if (newsDiv.hasClass('open')) { 15 newsDiv.removeClass('open'); 16 newsContentDiv.slideUp(); 17 newsButton.attr('aria-expanded', 'false'); 18 } else { 19 newsDiv.addClass('open'); 20 newsContentDiv.slideDown(); 21 newsButton.attr('aria-expanded', 'true'); 22 } 23 }); 24});
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.