1function acceptCookies(){setCookie("cookPer","1",730);setCookie("cookAnop","1",730);setCookie("cookPucom","1",730);$("#capaAvisoPoliticaCookies").hide();enviarDatosGTM();gestionarInicioSesionGoogle()}function setCookie(n,t,i){$.cookie(n,t,{expires:i,path:"/"})}function marcarChecks(){$.cookie("cookAnop")=="1"&&$("#cookAnop").prop("checked",!0);$.cookie("cookPer")=="1"&&$("#cookPer").prop("checked",!0);$.cookie("cookPucom")=="1"&&$("#cookPucom").prop("checked",!0);comprobarChecks()}function comprobarChecks(){$("#AceptaCookies").prop("checked")&&$("#cookAnop").prop("checked")&&$("#cookPer").prop("checked")&&$("#cookPucom").prop("checked")?$("#AceptarTodas").prop("checked",!0):$("#AceptarTodas").prop("checked",!1)}function guardarConf(){var u=0,t=0,i=0,r=0,n=730;$("#AceptaCookies").prop("checked")&&(u=1);$("#cookAnop").prop("checked")&&(t=1);$("#cookPer").prop("checked")&&(i=1);$("#cookPucom").prop("checked")&&(r=1);(t==0||i==0||r==0)&&(n=60);setCookie("cookAnop",t,n);setCookie("cookPer",i,n);setCookie("cookPucom",r,n);configCookies();$("#capaAvisoPoliticaCookies").hide();enviarDatosGTM();gestionarInicioSesionGoogle()}function enviarDatosGTM(){dataLayer.push({cookAnop:$.cookie("cookAnop"),cookPucom:$.cookie("cookPucom"),event:"set_cookie"})}function cargarScriptGoogle(n){if(typeof google!="undefined"){n();return}const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client";t.async=!0;t.defer=!0;t.onload=n;t.onerror=()=>console.error("No se pudo cargar el SDK de Google");document.head.appendChild(t)}function gestionarInicioSesionGoogle(){cargarScriptGoogle(()=>{const n=document.getElementById("google-config")?.dataset?.client_id;n&&(google.accounts.id.initialize({client_id:n,callback:window.handleCredentialResponse,use_fedcm_for_prompt:!0}),google.accounts.id.prompt(),console.log("ð Google One Tap lanzado."))})}
1function showLoginModal(){if(!$("#abrirCuentaDD").hasClass("active")){$.cookie("pushLogin","true",{expires:1,path:"/"});const n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent);if(n){console.log("Mostrando login móvil");const n=document.querySelector(".header-login .dropdown-modal"),t=document.querySelector("header.header .dropdown-content");if(!n||!t)return;n.style.display="block";t.style.display="block";setTimeout(()=>{$(n).fadeOut(),$(t).fadeOut()},1e4)}else{console.log("Mostrando login desktop");const n=$("#abrirCuentaDD");n.addClass("active").find(".dropdown-content").slideDown(300);setTimeout(()=>{n.addClass("active").find(".dropdown-content").slideDown(300),$(".btn-user .user-dot").addClass("trigger-tooltip")},500);setTimeout(()=>{n.removeClass("active").find(".dropdown-content").slideUp(300),$(".btn-user .user-dot").removeClass("trigger-tooltip")},1e4)}}}$(document).ready(function(){$("#AceptarTodas").change(function(){var n=$(this).closest("#configCookies").find(":checkbox").not("#AceptaCookies");n.prop("checked",$(this).is(":checked"))})});window.credentialReceived=!1;window.credentialReceived=!1;
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.