1/* Menú lateral */ 2 3var navTrigger = document.getElementsByClassName('nav-trigger')[0], 4 body = document.getElementsByTagName('body')[0]; 5 6navTrigger.addEventListener('click', toggleNavigation); 7 8function toggleNavigation(event) { 9 event.preventDefault(); 10 body.classList.toggle('nav-open'); 11} 12 13 14/* Aviso en caso de estar usando internet explorer */ 15 16function isIE() { 17 ua = navigator.userAgent; 18 /* MSIE used to detect old browsers and Trident used to newer ones*/ 19 var is_ie = ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident/") > -1; 20 21 return is_ie; 22 } 23 /* Create an alert to show if the browser is IE or not */ 24 if (isIE()){ 25 alert('Navegador obsoleto. Recomendamos: Chrome, Firefox, Edge, Opera o Safari'); 26 body.style.backgroundColor = '#000'; 27 } 28 29 30/* Edición de estilo en menú para situarte en qué ventana estás */ 31 32function load() { 33 var url = window.location.pathname; 34 switch (url) { 35 case '/index': 36 $('#menu_ini').addClass('efeMenu2'); 37 $('#menu_ini').removeClass('efeMenu'); 38 $('#foo_ini').removeClass('efeMitigado'); 39 break; 40 case '/': 41 $('#menu_ini').addClass('efeMenu2'); 42 $('#menu_ini').removeClass('efeMenu'); 43 $('#foo_ini').removeClass('efeMitigado'); 44 break; 45 case '/programacion': 46 $('#menu_pro').addClass('efeMenu2'); 47 $('#menu_pro').removeClass('efeMenu'); 48 $('#foo_pro').removeClass('efeMitigado'); 49 break; 50 51 case '/contacto': 52 $('#menu_con').addClass('efeMenu2'); 53 $('#menu_con').removeClass('efeMenu'); 54 $('#foo_con').removeClass('efeMitigado'); 55 break; 56 case '/publicidad': 57 $('#menu_pub').addClass('efeMenu2'); 58 $('#menu_pub').removeClass('efeMenu'); 59 $('#foo_pub').removeClass('efeMitigado'); 60 break; 61 case '/search': 62 $('#menu_sea').addClass('efeMenu2'); 63 $('#menu_sea').removeClass('efeMenu'); 64 $('#foo_sea').removeClass('efeMitigado'); 65 break; 66 case '/sobre-nosotros': 67 $('#foo_sob').removeClass('efeMitigado'); 68 break; 69 case '/resintonizar': 70 $('#foo_res').removeClass('efeMitigado'); 71 break; 72 case '/legal': 73 $('#foo_inf').removeClass('efeMitigado'); 74 break; 75 case '/privacidad': 76 $('#foo_pri').removeClass('efeMitigado'); 77 break; 78 case '/cookies': 79 $('#foo_coo').removeClass('efeMitigado'); 80 break; 81 } 82 } 83 window.onload = load; 84 85 86/* VÃdeos flotantes desde evento "evePri()" y eveCoo() 87 para PolÃtica de privacidad y Cookies */ 88 89/* Texto Cookies */ 90/* 91function eveCoo(){ 92 93 $('#divFlotante').css("display", "flex"); 94 document.getElementById("divFlotante").innerHTML = '' 95 + '<div class="divExtrasFlot">' 96 + '<div class="divCol">' 97 + '<div class="divSubExtras">' 98 + '<div class="divSubExtrasX">' 99 + '<div class="apagar" onclick="eveFlotanteOff()"><span class="iconify" data-icon="feather:x" data-inline="false"></span></div>' 100 + '</div>' 101 + '<div class="divDetalleSubExtrasTxt scroll2">' 102 + '<h5>' 103 + 'Use of Cookies.' 104 + '</h5> ' 105 + '<p>' 106 + "This website may use technical cookies (small information files that the server sends to the computer of the person accessing the page) to carry out certain functions that are considered essential for the proper functioning and visualization of the site. The cookies used have, in any case, a temporary nature, with the sole purpose of making navigation more efficient, and they disappear when the user's session ends. In any case, these cookies provide personal data and will not be used to collect them." 107 + '</p>' 108 + '<p>' 109 + 'Through the use of cookies, it is also possible that the server where the web is located recognizes the browser used by the user in order to make browsing easier, for example, allowing access by users who have previously registered to the areas, services, promotions or contests reserved exclusively for them without having to register for each visit. They can also be used to measure the audience, traffic parameters, control the progress and number of entries, etc., being in these cases technically dispensable cookies but beneficial for the user. This website shall not install dispensable cookies without the prior consent of the user.' 110 + '</p>' 111 + '<p>' 112 + 'The user has the possibility to configure the browser to be alerted of the reception of cookies and to prevent its installation on his computer. Please, consult the instructions of your browser to expand this information.' 113 + '</p>' 114 + '</div>' 115 116 + '<div class="divBtnCen">' 117 + "<div class=' apagar button' onclick='setCookie("+'consent'+", true, 7);'>" 118 + '<button class="x"><span>Continue</span></button>' 119 + '</div>' 120 + '</div>' 121 122 + '</div>' 123 + '</div>' 124 +'</div>' 125}*/ 126 127/* Texto Legal */ 128 129function eveLeg(){ 130 131 $('#divFlotante').css("display", "flex"); 132 document.getElementById("divFlotante").innerHTML = '' 133 + '<div id="" class="divExtrasFlot" >' 134 + '<div class="divCol">' 135 + '<div id="" class="divSubExtras">' 136 + '<div class="divSubExtrasX">' 137 + '<div class="apagar" onclick="eveFlotanteOff()"><span class="iconify" data-icon="feather:x" data-inline="false"></span></div>' 138 + '</div>' 139 + '<div id="" class="divSubExtrasTxt">' 140 + '<div class="divDetalleSubExtrasTxt scroll">' 141 + '<h5>' 142 + 'Use of Cookies.' 143 + '<h5>' 144 + '<p>' 145 + "This website may use technical cookies (small information files that the server sends to the computer of the person accessing the page) to carry out certain functions that are considered essential for the proper functioning and visualization of the site. The cookies used have, in any case, a temporary nature, with the sole purpose of making navigation more efficient, and they disappear when the user's session ends. In any case, these cookies provide personal data and will not be used to collect them." 146 + '</p>' 147 + '<p>' 148 + 'Through the use of cookies, it is also possible that the server where the web is located recognizes the browser used by the user in order to make browsing easier, for example, allowing access by users who have previously registered to the areas, services, promotions or contests reserved exclusively for them without having to register for each visit. They can also be used to measure the audience, traffic parameters, control the progress and number of entries, etc., being in these cases technically dispensable cookies but beneficial for the user. This website shall not install dispensable cookies without the prior consent of the user.' 149 + '</p>' 150 + '<p>' 151 + 'The user has the possibility to configure the browser to be alerted of the reception of cookies and to prevent its installation on his computer. Please, consult the instructions of your browser to expand this information.' 152 + '</p>' 153 + '</div>' 154 + '</div>' 155 + '</div>' 156 + '</div>' 157 +'</div>' 158} 159 160 /* Texto PolÃtica de privacidad */ 161 162 function evePri(){ 163 $('#divFlotante').css("display", "flex"); 164 document.getElementById("divFlotante").innerHTML = '' 165 + '<div id="" class="divExtrasFlot" >' 166 + '<div class="divCol">' 167 + '<div id="" class="divSubExtras">' 168 + '<div class="divSubExtrasX">' 169 + '<div class="apagar" onclick="eveFlotanteOff()"><span class="iconify" data-icon="feather:x" data-inline="false"></span></div>' 170 + '</div>' 171 + '<div id="" class="divSubExtrasTxt">' 172 + '<div class="divDetalleSubExtrasTxt scroll2">' 173 + '<h5>PolÃtica de Privacidad</h5>' 174 + '<p><strong>' 175 + '1. INFORMACIOÌN AL USUARIO' 176 + '</strong></p>' 177 + '<p>' 178 + 'BEST OPTION MEDIA, S.L.U., en adelante RESPONSABLE, es el Responsable del tratamiento de los datos personales del Usuario y le informa que estos datos seraÌn tratados de conformidad con lo dispuesto en el Reglamento (UE) 2016/679 de 27 de abril (GDPR) y la Ley OrgaÌnica 3/2018 de 5 de diciembre (LOPDGDD), por lo que se le facilita la siguiente informacioÌn del tratamiento:' 179 + '</p>' 180 + '<p>' 181 + 'Fin del tratamiento: mantener una relacioÌn comercial con el Usuario. Las operaciones previstas para realizar el tratamiento son:' 182 + '</p>' 183 + '<ul>' 184 + '<li>' 185 + 'RemisioÌn de comunicaciones comerciales publicitarias por email, fax, SMS, MMS, comunidades sociales o cualquier otro medio electroÌnico o fiÌsico, presente o futuro, que posibilite realizar comunicaciones comerciales. Estas comunicaciones seraÌn realizadas por el RESPONSABLE y relacionadas sobre sus productos y servicios, o de sus colaboradores o proveedores con los que eÌste haya alcanzado alguÌn acuerdo de promocioÌn. En este caso, los terceros nunca tendraÌn acceso a los datos personales.' 186 + '</li>' 187 + '<li>' 188 + 'Realizar estudios estadiÌsticos.' 189 + '</li>' 190 + '<li>' 191 + 'Tramitar encargos, solicitudes o cualquier tipo de peticioÌn que sea realizada por el usuario a traveÌs de cualquiera de las formas de contacto que se ponen a su disposicioÌn.' 192 + '</li>' 193 + '<li>' 194 + 'Remitir el boletiÌn de noticias de la paÌgina web.' 195 + '</li>' 196 + '</ul>' 197 + '<p>' 198 + 'Base juriÌdica del tratamiento: consentimiento del interesado.' 199 + '</p>' 200 + '<p>'
201 + 'Criterios de conservacioÌn de los datos: se conservaraÌn durante no maÌs tiempo del necesario para mantener el fin del tratamiento y cuando ya no sea necesario para tal fin, se suprimiraÌn con medidas de seguridad adecuadas para garantizar la seudonimizacioÌn de los datos o la destruccioÌn total de los mismos.' 202 + '</p>' 203 + '<p>' 204 + 'Comunicación de los datos: No se comunicaraÌn los datos a terceros, salvo obligacioÌn legal. Derechos que asisten al Usuario:' 205 + '</p>' 206 + '<ul>' 207 + '<li>' 208 + 'Derecho a retirar el consentimiento en cualquier momento.' 209 + '</li>' 210 + '<li>' 211 + 'Derecho de acceso, rectificacioÌn, portabilidad y supresioÌn de sus datos y a la limitacioÌn u oposicioÌn al su tratamiento.' 212 + '</li>' 213 + '<li>' 214 + 'Derecho a presentar una reclamacioÌn ante la autoridad de control (www.aepd.es) si considera que el tratamiento no se ajusta a la normativa vigente.' 215 + '</li>' 216 + '</ul>' 217 + '<div>' 218 + '<div class="divBtn apagar" > ' 219 + '<span class="btnTxt">Continue</span>' 220 + '</div>' 221 + '</div>' 222 + '</div>' 223 + '</div>' 224 + '</div>' 225 + '</div>' 226 +'</div>' 227 ; 228} 229 230function eveFlotanteOff(){ 231 $('#divFlotante').fadeOut(); 232 document.getElementById("divFlotanteContent").innerHTML = '' 233 document.getElementById("cookies").innerHTML = '' 234 ; 235} 236 237 238/* Favicon en modo oscuro 239 240'use strict'; 241 242function setupIcons() { 243 const lightSchemeIcon = document.querySelector('link.light-scheme-icon'); 244 const darkSchemeIcon = document.querySelector('link.dark-scheme-icon');*/ 245 246 247 /* matcher = window.matchMedia('(prefers-color-scheme: dark)'); 248 matcher.addListener(onUpdate); 249 250 if (matcher.matches) { 251 lightSchemeIcon.remove(); 252 document.head.append(darkSchemeIcon); 253 } else { 254 document.head.append(lightSchemeIcon); 255 darkSchemeIcon.remove(); 256 }*/ 257 /*function setLight() { 258 document.head.append(lightSchemeIcon); 259 darkSchemeIcon.remove(); 260 } 261 262 function setDark() { 263 lightSchemeIcon.remove(); 264 document.head.append(darkSchemeIcon); 265 } 266 267 268 const matcher = window.matchMedia('(prefers-color-scheme:dark)'); 269 function onUpdate() { 270 if (matcher.matches) { 271 setDark(); 272 } else { 273 setLight(); 274 } 275 } 276 matcher.addListener(onUpdate); 277 onUpdate(); 278 279} 280 281setupIcons();*/ 282 283 284
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.