1function showCookieConsent() { 2 3 if (_localization.lang !== 'ru') return; 4 5 const e = getCookie('cookie-consent'); 6 if (!!e) return; 7 8 let tid = 0; 9 let c = $('.consent-container'); 10 if (c.length) { 11 clearTimeout(tid); 12 } else { 13 c = $('<div class="consent-container"><p>ÐолÑзÑÑÑÑ ÑайÑом, Ð²Ñ Ð¿ÑинимаеÑе <a href="/law/cookie" target="_blank">полиÑÐ¸ÐºÑ cookie</a></p></div>'); 14 c.append('<button class="btn btn-white btn-sm pressable">'+_localization.close+'</button').on('click', 'button', () => { 15 setCookie('cookie-consent', 1, { 'max-age': 60*60*24*365*100, path: '/' }); 16 clearTimeout(tid); 17 c.removeClass('active'); 18 }); 19 c.appendTo(document.body); 20 } 21 setTimeout(() => c.addClass('active'), 16); 22 tid = setTimeout(() => c.removeClass('active'), 30000); 23 24}
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.