1function cli_show_cookiebar(p){var Cookie={set:function(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString();} 2else var expires="";document.cookie=name+"="+value+expires+"; path=/";},read:function(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1,c.length);} 3if(c.indexOf(nameEQ)===0){return c.substring(nameEQ.length,c.length);}} 4return null;},erase:function(name){this.set(name,"",-1);},exists:function(name){return(this.read(name)!==null);}};var ACCEPT_COOKIE_NAME='viewed_cookie_policy',ACCEPT_COOKIE_EXPIRE=365,json_payload=p.settings;if(typeof JSON.parse!=="function"){console.log("CookieLawInfo requires JSON.parse but your browser doesn't support it");return;} 5var settings=JSON.parse(json_payload);var cached_header=jQuery(settings.notify_div_id),cached_showagain_tab=jQuery(settings.showagain_div_id),btn_accept=jQuery('#cookie_hdr_accept'),btn_decline=jQuery('#cookie_hdr_decline'),btn_moreinfo=jQuery('#cookie_hdr_moreinfo'),btn_settings=jQuery('#cookie_hdr_settings');cached_header.hide();if(!settings.showagain_tab){cached_showagain_tab.hide();} 6var hdr_args={'background-color':settings.background,'color':settings.text,'font-family':settings.font_family};if(settings.notify_position_vertical=="top"){if(settings.header_fix===true){hdr_args['position']='fixed';} 7hdr_args['top']='0';}else{hdr_args['bottom']='0';} 8var showagain_args={'background-color':settings.background,'color':l1hs(settings.text),'position':'fixed','font-family':settings.font_family};if(settings.border_on){var border_to_hide='border-'+settings.notify_position_vertical;showagain_args['border']='1px solid '+l1hs(settings.border);showagain_args[border_to_hide]='none';} 9if(settings.notify_position_vertical=="top"){if(settings.border_on){hdr_args['border-bottom']='4px solid '+l1hs(settings.border);} 10showagain_args.top='0';} 11else if(settings.notify_position_vertical=="bottom"){if(settings.border_on){hdr_args['border-top']='4px solid '+l1hs(settings.border);} 12hdr_args['position']='fixed';hdr_args['bottom']='0';showagain_args.bottom='0';}
13if(settings.notify_position_horizontal=="left"){showagain_args.left=settings.showagain_x_position;} 14else if(settings.notify_position_horizontal=="right"){showagain_args.right=settings.showagain_x_position;} 15cached_header.css(hdr_args);cached_showagain_tab.css(showagain_args);if(!Cookie.exists(ACCEPT_COOKIE_NAME)){displayHeader();} 16else{cached_header.hide();} 17if(settings.show_once_yn){setTimeout(close_header,settings.show_once);} 18function close_header(){Cookie.set(ACCEPT_COOKIE_NAME,'yes',ACCEPT_COOKIE_EXPIRE);hideHeader();} 19var main_button=jQuery('.cli-plugin-main-button');main_button.css('color',settings.button_1_link_colour);if(settings.button_1_as_button){main_button.css('background-color',settings.button_1_button_colour);main_button.hover(function(){jQuery(this).css('background-color',settings.button_1_button_hover);},function(){jQuery(this).css('background-color',settings.button_1_button_colour);});} 20var main_link=jQuery('.cli-plugin-main-link');main_link.css('color',settings.button_2_link_colour);if(settings.button_2_as_button){main_link.css('background-color',settings.button_2_button_colour);main_link.hover(function(){jQuery(this).css('background-color',settings.button_2_button_hover);},function(){jQuery(this).css('background-color',settings.button_2_button_colour);});} 21cached_showagain_tab.click(function(e){e.preventDefault();cached_showagain_tab.slideUp(settings.animate_speed_hide,function slideShow(){cached_header.slideDown(settings.animate_speed_show);});});jQuery("#cookielawinfo-cookie-delete").click(function(){Cookie.erase(ACCEPT_COOKIE_NAME);return false;});jQuery("#cookie_action_close_header").click(function(e){e.preventDefault();accept_close();});function accept_close(){Cookie.set(ACCEPT_COOKIE_NAME,'yes',ACCEPT_COOKIE_EXPIRE);if(settings.notify_animate_hide){cached_header.slideUp(settings.animate_speed_hide);} 22else{cached_header.hide();} 23cached_showagain_tab.slideDown(settings.animate_speed_show);return false;} 24function closeOnScroll(){if(window.pageYOffset>100&&!Cookie.read(ACCEPT_COOKIE_NAME)){accept_close();if(settings.scroll_close_reload===true){location.reload();} 25window.removeEventListener("scroll",closeOnScroll,false);}} 26if(settings.scroll_close===true){window.addEventListener("scroll",closeOnScroll,false);} 27function displayHeader(){if(settings.notify_animate_show){cached_header.slideDown(settings.animate_speed_show);} 28else{cached_header.show();} 29cached_showagain_tab.hide();} 30function hideHeader(){if(settings.notify_animate_show){cached_showagain_tab.slideDown(settings.animate_speed_show);} 31else{cached_showagain_tab.show();} 32cached_header.slideUp(settings.animate_speed_show);}};function l1hs(str){if(str.charAt(0)=="#"){str=str.substring(1,str.length);}else{return"#"+str;}return l1hs(str);}
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.