1(() => { 2 const storageKey = 'sexygf-age-gate-accepted-v1'; 3 const cookieName = 'sgf_age_gate'; 4 const acceptedValue = 'accepted'; 5 const ageGateMode = 6 document.documentElement.getAttribute('data-age-gate-mode'); 7 let acceptedInStorage = false; 8 9 if (ageGateMode === 'passive-bot') { 10 document.documentElement.setAttribute('data-age-gate-verified', 'true'); 11 return; 12 } 13 14 try { 15 try { 16 acceptedInStorage = 17 window.localStorage && 18 window.localStorage.getItem(storageKey) === acceptedValue; 19 } catch (storageError) { 20 acceptedInStorage = false; 21 } 22 23 const acceptedInCookie = document.cookie 24 .split('; ') 25 .some((entry) => entry === cookieName + '=' + acceptedValue); 26 27 if (acceptedInStorage || acceptedInCookie) { 28 document.documentElement.setAttribute('data-age-gate-verified', 'true'); 29 } 30 } catch (error) { 31 document.documentElement.removeAttribute('data-age-gate-verified'); 32 } 33})();
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.