1 /* 2 jQuery.datepicker.regional['es'] = { 3 closeText: 'Cerrar', 4 prevText: '< Ant', 5 nextText: 'Sig >', 6 currentText: 'Hoy', 7 monthNames: ['Enero0', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'], 8 monthNamesShort: ['Ene','Feb','Mar','Abr', 'May','Jun','Jul','Ago','Sep', 'Oct','Nov','Dic'], 9 dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], 10 dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], 11 dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], 12 weekHeader: 'Sm', 13 dateFormat: 'dd/mm/yy', 14 firstDay: 1, 15 isRTL: false, 16 showMonthAfterYear: false, 17 yearSuffix: '' 18 }; 19 */ 20 //jQuery.datepicker.setDefaults(jQuery.datepicker.regional['es']); 21 22 vCurrentDate = window.location.pathname.substring(12,14) + '/' + window.location.pathname.substring(14,16) + '/' + window.location.pathname.substring(8,12); 23 24jQuery(document).ready(function($){ 25 $(function() { 26 $( "#ps_agendaDatepicker" ).datepicker({ 27 firstDay: 1, 28 defaultDate: vCurrentDate, 29 onSelect: function (date) { 30 // Your CSS changes, just in case you still need them 31 var vUrl = ''; 32 if (!window.location.pathname.includes('agenda')){ 33 vUrl = 'agenda/'; 34 } 35 vUrl = vUrl + date.substring(6,10) + date.substring(0,2) + date.substring(3,5); 36 window.open(vUrl, '_self'); 37 }} 38 ); 39 }); 40 41 if(getCookie('visitado') == 1){ 42 $('.region.region-modal-popup.ps_entitynodecanonical').hide() 43 }else{ 44 $('.region.region-modal-popup.ps_entitynodecanonical').show() 45 } 46 47 $('.ps-cerrar-modal-popup').on('click', function () { 48 $('.region.region-modal-popup.ps_entitynodecanonical').hide() 49 setCookie('visitado', '1') 50 }) 51 52}); 53 54function setCookie(key, value) { 55 var expires = new Date(); 56 expires.setTime(expires.getTime() + 3600000); //1 hora 57 document.cookie = key + '=' + value + ';expires=' + expires.toUTCString(); 58} 59 60function getCookie(key) { 61 var keyValue = document.cookie.match('(^|;) ?' + key + '=([^;]*)(;|$)'); 62 return keyValue ? keyValue[2] : null; 63}
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.