PageSourceSearch

https://cedid.es/js/app.js?v=1676466701

js cedid.es collected 2026-10-03 19:12:04 UTC 2,305 bytes, 85 lines download raw bytes

1// Uso y ejemplos en: http://blog.ikhuerta.com/get-extraer-variables-por-get-en-javascript
2var $_getVariables={isset:false};
3var $_getGlobalVariables={};
4var $_GETAllVariables = function (){
5	var scripts = document.getElementsByTagName("script");
6	for(var i=0;i<scripts.length;i++){
7	    var script = ( scripts[i].src+"" ).split("/");
8	    script = script[script.length-1].split("?",2);
9	    if (script.length>1)
10	    {	
11	        var parameters = script[1].split("&") 
12	        for (var j=0;j<parameters.length;j++){
13	            var vars = parameters[j].split("=");
14	            if (!$_getVariables[script[0]]) $_getVariables[script[0]] = {};
15	            $_getVariables[script[0]][vars[0]]=vars[1];
16	            $_getGlobalVariables[vars[0]]=vars[1];
17	        }
18	    }
19	}
20	$_getVariables.isset=true;
21};
22
23$_GET = function(paramToGet,jsFile)
24{
25	if (!$_getVariables.isset) 
26		$_GETAllVariables();
27	if (jsFile)
28		return $_getVariables[jsFile][paramToGet];
29	else
30		return $_getGlobalVariables[paramToGet];
31};
32$(function () {
33	window.addEventListener("orientationchange", function () {
34		window.location.reload()
35	});
36
37	var header = document.querySelector(".header");
38	new Headroom(header, {
39		tolerance: {
40			down: 10,
41			up: 20
42		},
43		offset: 0,
44		classes: {
45			initial: "headroom",
46			pinned: "headroom--pinned",
47			unpinned: "headroom--unpinned"
48		}
49	}).init();
50
51	
52});
53
54function validarFormulario() {
55	(() => {
56		'use strict'
57		// Fetch all the forms we want to apply custom Bootstrap validation styles to
58		const forms = document.querySelectorAll('.needs-validation')
59		// Loop over them and prevent submission
60		Array.from(forms).forEach(form => {
61			form.addEventListener('submit', event => {
62				if (!form.checkValidity()) {
63					event.preventDefault()
64					event.stopPropagation()
65				}
66				form.classList.add('was-validated')
67			}, false)
68		})
69	})()
70}
71
72/* if ("serviceWorker" in navigator) {
73	navigator.serviceWorker
74		.register('/sw.js')
75		.then(
76			function (reg) {
77				console.log("Se ha registrado el service worker: ", reg);
78			}
79		)
80		.catch(function (error) {
81			console.log('Ha fallado el registro del service worker: ', error);
82		});
83} else {
84	console.log('No están soportados los service workers.');
85} */

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.