1window.gdprAppliesGlobally = true; 2(function() { 3 function a(e) { 4 if (!window.frames[e]) { 5 if (document.body && document.body.firstChild) { 6 var t = document.body; 7 var n = document.createElement("iframe"); 8 n.style.display = "none"; 9 n.name = e; 10 n.title = e; 11 t.insertBefore(n, t.firstChild) 12 } else { setTimeout(function() { a(e) }, 5) } 13 } 14 } 15 16 function e(n, r, o, c, s) { 17 function e(e, t, n, a) { if (typeof n !== "function") { return } if (!window[r]) { window[r] = [] } var i = false; if (s) { i = s(e, t, n) } if (!i) { window[r].push({ command: e, parameter: t, callback: n, version: a }) } } 18 e.stub = true; 19 20 function t(a) { 21 if (!window[n] || window[n].stub !== true) { return } 22 if (!a.data) { return } 23 var i = typeof a.data === "string"; 24 var e; 25 try { e = i ? JSON.parse(a.data) : a.data } catch (t) { return } 26 if (e[o]) { 27 var r = e[o]; 28 window[n](r.command, r.parameter, function(e, t) { 29 var n = {}; 30 n[c] = { returnValue: e, success: t, callId: r.callId }; 31 a.source.postMessage(i ? JSON.stringify(n) : n, "*") 32 }, r.version) 33 } 34 } 35 if (typeof window[n] !== "function") { window[n] = e; if (window.addEventListener) { window.addEventListener("message", t, false) } else { window.attachEvent("onmessage", t) } } 36 } 37 e("__tcfapi", "__tcfapiBuffer", "__tcfapiCall", "__tcfapiReturn"); 38 a("__tcfapiLocator"); 39 (function(e) { 40 var t = document.createElement("script"); 41 t.id = "spcloader"; 42 t.type = "text/javascript"; 43 t.async = true; 44 t.src = "https://sdk.privacy-center.org/" + e + "/loader.js?target=" + document.location.hostname; 45 t.charset = "utf-8"; 46 var n = document.getElementsByTagName("script")[0]; 47 n.parentNode.insertBefore(t, n) 48 })("52b89a90-0181-4267-86a5-3a689b8c9d67") 49})(); 50 51(function($) { 52 53 function setCookie(c_name, value, exdays) { 54 var exdate = new Date(); 55 exdate.setDate(exdate.getDate() + exdays); 56 var c_value = escape(value) + ((exdays == null) ? "" : "; expires=" + exdate.toUTCString()); 57 document.cookie = c_name + "=" + c_value; 58 } 59 60 function getCookie(c_name) { 61 var i, x, y, ARRcookies = document.cookie.split(";"); 62 for (i = 0; i < ARRcookies.length; i++) { 63 x = ARRcookies[i].substr(0, ARRcookies[i].indexOf("=")); 64 y = ARRcookies[i].substr(ARRcookies[i].indexOf("=") + 1); 65 x = x.replace(/^\s+|\s+$/g, ""); 66 if (x == c_name) { 67 return unescape(y); 68 } 69 } 70 } 71 72 73 $('#btn-cerrar').click(function() { 74 //$('#modalwindow').modal('hide'); 75 setCookie("newsletter", "activado", 30); 76 //console.log("se ha generado la cookie"); 77 }); 78 79 $('#btn-suscripirse-newsletter').click(function() { 80 81 setCookie("newsletter", "activado", 30); 82 window.open('https://cloud.suscripcionesgrupoanaya.hablamosdelibros.es/suscripcion-contraluz', '_blank'); 83 }); 84 85 86 87 88 var newsletter_cookie = getCookie("newsletter"); 89 90 setTimeout(function() { 91 92 if (newsletter_cookie == null) { 93 $("#news-modal").modal("show"); 94 } 95 96 }, 5000); 97 98}(jQuery)); 99 100 101/* var settings = { 102 103 message: 'Le informamos que en esta web utilizamos cookies propias y de terceros para mejorar nuestros servicios mediante el análisis de sus hábitos de navegación. Para aceptar su uso puede pulsar sobre el botón ACEPTAR o continuar navegando. Puede cambiar la configuración u obtener más información sobre nuestra Política de Cookies.<br> <b> Leer más ', 104 moreLinkLabel: 'aquí.</b>', 105 messageMaxHeightPercent: 30, 106 moreLink: 'politica-de-cookies/', 107 delay: 1000, 108 allowAdvancedOptions: false, 109 110} 111 112$(document).ready(function() { 113 114 $('body').bsgdprcookies(settings); 115 116 $('#cookiesBtn').on('click', function(){ 117 $('body').bsgdprcookies(settings, 'reinit'); 118 }); 119 120}); 121 */
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.