PageSourceSearch

https://sagardoarenlurraldea.eus/wp-content/themes/sagardoarenlurraldea/js/leyCookies.js

js sagardoarenlurraldea.eus collected 2026-10-02 10:09:04 UTC 3,796 bytes, 8 lines download raw bytes

1var NLC=function(e){var m=e.idiomaPagina||"es",r=e.idiomaPorDefecto||"es",s=e.prefijoCookie||"NLC",F=e.paginaRedirigirNoAceptarCookies||"http://www.agpd.es",k=e.mostrarAvisoRestrictivo||!1,n=e.jsonEnlacesPoliticaCookies,G=e.debug||!1,H=e.pathArchivoCss,d=e.jsonTextos;enlaceEnVentanaNueva=e.enlaceEnVentanaNueva||!1;var t=!1,u="",v="",w="",x="",y="",z="",A="",B="",p="",C=function(a,c){for(var b in c.idiomas)if(b===a)return!0;return!1},D=function(a){var c="";C(a,n)||(a=r);for(c in n.idiomas)if(c===a)return p=
2n.idiomas[c],!1},E=function(){var a=new Date;a.setDate(a.getDate()+-1E3);for(var c=document.cookie.split(";"),b=0;b<c.length;b++){var e=c[b].indexOf("="),f="",f=-1<e?c[b].substr(0,e):c[b];document.cookie=f+"=;path=/;expires="+a.toUTCString()}},I=function(){var a=document.createElement("div");a.id="NLC_opaqueLayer";k&&a.setAttribute("class","strict");var c=document.createElement("div");c.id="NLC_textLayer";k&&c.setAttribute("class","strict");var b=document.createElement("div");b.id="NLC_textLayer_Content";
3var e=document.createElement("p");e.id="NLC_textLayer_Content_Title";var f=document.createTextNode(u);e.appendChild(f);if(!k){f=document.createElement("a");f.setAttribute("href","#");f.onclick=function(){q();return!1};f.id="NLC_textLayer_Content_Title_Close";var d=document.createTextNode("X");f.appendChild(d);e.appendChild(f)}f=document.createElement("div");f.id="NLC_textLayer_Content_Message";var d=document.createElement("p"),g=document.createTextNode(v);d.appendChild(g);var g=document.createElement("p"),
4h=document.createTextNode("\u00a0");g.appendChild(h);h=document.createElement("a");h.setAttribute("href",p);enlaceEnVentanaNueva&&h.setAttribute("target","_blank");var l=document.createTextNode(B);h.appendChild(l);var l=document.createElement("p"),m=document.createTextNode(w);l.appendChild(m);l.appendChild(h);h=document.createTextNode(x);l.appendChild(h);f.appendChild(d);f.appendChild(g);f.appendChild(l);d=document.createElement("div");d.id="NLC_textLayer_Content_Buttons";g=document.createElement("a");
5g.id="NLC_textLayer_Content_Accept";g.setAttribute("href","#");g.onclick=function(){var a=s+"aceptarLeyCookies",b=new Date;b.setDate(b.getDate()+500);b=escape("aceptado")+("; expires="+b.toUTCString());document.cookie=a+"="+b+";path=/";q();return!1};h=y;k&&(h=A);h=document.createTextNode(h);g.appendChild(h);d.appendChild(g);k&&(g=document.createElement("a"),g.id="NLC_textLayer_Content_No_Accept",g.setAttribute("href","#"),g.onclick=function(){E();q();window.location.replace(F);return!1},h=document.createTextNode(z),
6g.appendChild(h),d.appendChild(g));b.appendChild(e);b.appendChild(f);b.appendChild(d);c.appendChild(b);document.body.appendChild(a);document.body.appendChild(c)},q=function(){var a=document.getElementById("NLC_opaqueLayer"),c=document.getElementById("NLC_textLayer");a.style.display="none";c.style.display="none"};(function(){G&&E();var a=!1;k&&(D(m),a=-1<window.location.href.indexOf(p)?!0:!1);if(!a){var c=s+"aceptarLeyCookies",a=document.cookie,b=a.indexOf(" "+c+"=");-1==b&&(b=a.indexOf(c+"="));-1==
7b?a=null:(b=a.indexOf("=",b)+1,c=a.indexOf(";",b),-1==c&&(c=a.length),a=unescape(a.substring(b,c)));if(!(null!=a&&""!=a)){t=!0;a=document.createElement("link");a.setAttribute("rel","stylesheet");a.setAttribute("type","text/css");a.setAttribute("href",H);"undefined"!=typeof a&&document.getElementsByTagName("head")[0].appendChild(a);a:for(b in a=m,b="",C(a,d)||(a=r),d.idiomas)if(b===a){u=d.idiomas[b][0];v=d.idiomas[b][1];w=d.idiomas[b][2];x=d.idiomas[b][3];y=d.idiomas[b][4];B=d.idiomas[b][5];z=d.idiomas[b][6];
8A=d.idiomas[b][7];break a}D(m);I();a=document.getElementById("NLC_opaqueLayer");b=document.getElementById("NLC_textLayer");a.style.display="block";b.style.display="block"}}})();return{avisoLeyCookiesMostrado:t}};

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.