1$(document).ready( function () { 2 $('.g-accordion').on('click', function (e) { 3 e.stopPropagation(); 4 if($(this).find('.panelHolder').css('display') !== 'none'){ 5 let moreText = $(this).find('.g-accordion-header__toggle-text').data('more'); 6 $(this).find('.g-accordion-header__toggle-text').text(moreText); 7 } 8 else{ 9 let lessText = $(this).find('.g-accordion-header__toggle-text').data('less'); 10 $(this).find('.g-accordion-header__toggle-text').text(lessText); 11 } 12 13 $(this).find('.panelHolder').css('overflow', 'visible').fadeToggle(); 14 }); 15 16 $('.g-accordion .panelHolder').on('click', function (e) { 17 e.stopPropagation(); 18 }); 19 20 window.setInterval(checkGDPRCookies, 100); 21 checkGDPRCookies(); 22 23 24 if($("#partners").length > 0){ 25 calculatePartnerMapHeight(); 26 $(window).on('resize', function () { 27 calculatePartnerMapHeight(); 28 }); 29 } 30 31 32}); 33 34 35function calculatePartnerMapHeight() { 36 var documentWidth = $(document).width(); 37 if(documentWidth > 1260) 38 { 39 var useHeight = $("#partners").find(".c-text-content--has-summary-statement").outerHeight(); 40 $("#partners").find(".l-col:first").height(useHeight); 41 } 42 else 43 { 44 $("#partners").find(".l-col:first").height("auto"); 45 } 46} 47 48 49 50function getCookie(name) { 51 var nameEQ = name + "="; 52 var ca = document.cookie.split(';'); 53 for (var i = 0; i < ca.length; i++) { 54 var c = ca[i]; 55 while (c.charAt(0) == ' ') c = c.substring(1, c.length); 56 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); 57 } 58 return null; 59} 60 61function checkGDPRCookies(){ 62 if(jQuery('#cc-window').is(':visible')){ 63 jQuery('body').addClass('no-cookies'); 64 } 65 else{ 66 jQuery('body').removeClass('no-cookies'); 67 } 68}
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.