1/** 2 * @package SP Cookie Consent 3 * @author JoomShaper https://www.joomshaper.com 4 * @copyright Copyright (c) 2010 - 2021 JoomShaper 5 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later 6*/ 7 8jQuery(function ($) { 9 // Cookie consent 10 $('.sp-cookie-allow').on('click', function(event) { 11 event.preventDefault(); 12 13 var date = new Date(); 14 date.setTime(date.getTime() + (30 * 24 * 60 * 60 * 1000)); 15 var expires = "; expires=" + date.toGMTString(); 16 document.cookie = "spcookie_status=ok" + expires + "; path=/"; 17 18 $(this).closest('#sp-cookie-consent').fadeOut(); 19 }); 20});
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.