1jQuery(document).ready(function(e){const{pro_version_enabled:t,debug_mode:o,banner_params:i}=simpleBannerScriptParams;i.forEach((o,i)=>{const{simple_banner_text:c,simple_banner_disabled_page_paths:d,disabled_on_current_page:g,close_button_enabled:l,close_button_expiration:u,simple_banner_insert_inside_element:x,simple_banner_prepend_element:w,keep_site_custom_css:b,keep_site_custom_js:p,wp_body_open:f,wp_body_open_enabled:v}=o,r=i===0?"":`_${i+1}`,a={simpleBanner:`simple-banner${r}`,simpleBannerText:`simple-banner-text${r}`,simpleBannerCloseButton:`simple-banner-close-button${r}`,simpleBannerButton:`simple-banner-button${r}`,simpleBannerScrolling:`simple-banner-scrolling${r}`,simpleBannerSiteCustomCss:`simple-banner-site-custom-css${r}`,simpleBannerSiteCustomJs:`simple-banner-site-custom-js${r}`,simpleBannerHeaderMargin:`simple-banner-header-margin${r}`,simpleBannerHeaderPadding:`simple-banner-header-padding${r}`,simpleBannerClosedCookie:`simplebannerclosed${r}`},j=c&&c!==0[0]&&c!=="",y=!!d&&d.split(",").filter(Boolean).some(e=>{const t=e.trim();return t.at(0)==="*"&&t.at(-1)==="*"?window.location.pathname.includes(t.slice(1,-1)):t.at(0)==="*"?window.location.pathname.endsWith(t.slice(1)):t.at(-1)==="*"?window.location.pathname.startsWith(t.slice(0,-1)):window.location.pathname===t}),_=!t||t&&!g&&!y,m=j&&_;if(m){if(!f||!v){const t=l?`<button aria-label="Close" id="${a.simpleBannerCloseButton}" class="${a.simpleBannerButton}">✕</button>`:"",n=document.querySelector(x||w||"body");e(`<div id="${a.simpleBanner}" class="${a.simpleBanner}"><div class="${a.simpleBannerText}"><span>${c}</span></div>${t}</div>`).prependTo(n||"body")}const t=e("body").css("padding-left"),n=e("body").css("padding-right");t!="0px"&&e("head").append(`<style type="text/css" media="screen">.${a.simpleBanner}{margin-left:-${t};padding-left:${t};}</style>`),n!="0px"&&e("head").append(`<style type="text/css" media="screen">.${a.simpleBanner}{margin-right:-${n};padding-right:${n};}</style>`);function O(){const t=document.documentElement.scrollTop;t>e(`#${a.simpleBanner}`).height()?e(`#${a.simpleBanner}`).addClass(a.simpleBannerScrolling):e(`#${a.simpleBanner}`).removeClass(a.simpleBannerScrolling)}document.addEventListener("scroll",O)}function h(){!b&&document.getElementById(a.simpleBannerSiteCustomCss)&&document.getElementById(a.simpleBannerSiteCustomCss).remove(),!p&&document.getElementById(a.simpleBannerSiteCustomJs)&&document.getElementById(a.simpleBannerSiteCustomJs).remove(),document.getElementById(a.simpleBannerHeaderMargin)&&document.getElementById(a.simpleBannerHeaderMargin).remove(),document.getElementById(a.simpleBannerHeaderPadding)&&document.getElementById(a.simpleBannerHeaderPadding).remove(),document.getElementById(a.simpleBanner)&&document.getElementById(a.simpleBanner).remove()}if(m){const e=a.simpleBannerClosedCookie;l?s(e)==="true"?(h(),n(e,"true",u)):document.getElementById(a.simpleBannerCloseButton).onclick=function(){h(),n(e,"true",u)}:s(e)==="true"&&(document.cookie=`${a.simpleBannerClosedCookie}=true; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`)}});function n(e,t,n){let s;if(n===""||n==="0"||parseFloat(n)){const e=parseFloat(n)||0;s=new Date,s.setTime(s.getTime()+e*24*60*60*1e3)}else s=new Date(n);const o="expires="+s.toUTCString();document.cookie=e+"="+t+";"+o+";path=/"}function s(e){const t=e+"=",s=decodeURIComponent(document.cookie),n=s.split(";");for(let s=0;s<n.length;s++){let e=n[s];for(;e.charAt(0)==" ";)e=e.substring(1);if(e.indexOf(t)==0)return e.substring(t.length,e.length)}return""}t&&o&&console.log(simpleBannerScriptParams)})
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.