1(function($) { 2 'use strict'; 3 $(document).ready(function() { 4 $('.entity-ref-tab-formatter-accordion').each(function(){ 5 var options = ''; 6 options = $.extend({ 7 collapsible: true, 8 active: false, 9 heightStyle: 'content' 10 }, options); 11 $(this).accordion(options); 12 }); 13 }); 14 15 $(document).ready(function() { 16 var url = new URL(window.location.href); 17 var c = url.searchParams.get("scroll"); 18 if (c) { 19 20 var target = $('.field--name-field-sub-comp-accordion-title').filter(function(){ 21 return $(this).text().toLowerCase().includes(c.replace('%20', ' ')) 22 }); 23 24 if (target) { 25 var title = $(target[0]).closest('h3'); 26 var accordion = $(target[0]).closest('.entity-ref-tab-formatter-accordion'); 27 var index = title.prevAll('h3').length; 28 accordion.accordion('option', 'active', index); 29 30 $('html,body').animate({ 31 scrollTop: $(title).offset().top - $('.navbar').height() - 50 32 }, 'slow'); 33 } 34 } 35 }); 36 37 38})(jQuery);
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.