1 2 function wb_consent_setcookie(cname, cvalue, exdays) { 3 var d = new Date(); 4 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 5 var expiration = "expires="+d.toUTCString(); 6 const domain = "; domain=" + (document.domain.match(/[^\.]*\.[^.]*$/)[0]) + ";"; 7 document.cookie = cname + "=" + cvalue + "; " + expiration+ "; path=/"+domain; 8 } 9 10 11 jQuery(document).ready(function($) { 12 var consent_note = document.cookie.replace(/(?:(?:^|.*;\s*)consent_cookie\s*\=\s*([^;]*).*$)|^.*$/, '$1'); 13 if(consent_note.indexOf("1")<0) { 14 $("#cookieconsentpopup").show(); 15 }else{ 16 $("#cookieconsentpopup").hide(); 17 } 18 19 $(document).on("click", ".close", function(c) { 20 wb_consent_setcookie('consent_cookie','1',365); 21 $(this).closest(".lp__cookie_tooltip").hide(); 22 }) 23 });
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.