1$(document).ready(function () { 2 3 // ââ Countdown ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 4 5 var dateStr = (typeof SORTEIO_DATE !== 'undefined' && SORTEIO_DATE) 6 ? SORTEIO_DATE 7 : '2027-01-31T00:00:00-03:00'; 8 9 var target = new Date(dateStr).getTime(); 10 11 function updateCountdown() { 12 var diff = Math.max(0, target - Date.now()); 13 14 var days = Math.floor(diff / 86400000); 15 var hours = Math.floor((diff % 86400000) / 3600000); 16 var minutes = Math.floor((diff % 3600000) / 60000); 17 var seconds = Math.floor((diff % 60000) / 1000); 18 19 var els = document.querySelectorAll('.home__cruise-countdown strong'); 20 if (els.length === 4) { 21 els[0].textContent = days; 22 els[1].textContent = String(hours).padStart(2, '0'); 23 els[2].textContent = String(minutes).padStart(2, '0'); 24 els[3].textContent = String(seconds).padStart(2, '0'); 25 } 26 } 27 28 updateCountdown(); 29 setInterval(updateCountdown, 1000); 30 31 // ââ Modal Regulamento ââââââââââââââââââââââââââââââââââââââââââââââââââââ 32 33 var $modalReg = $('#modalRegulamentoHome'); 34 35 function openModalReg() { 36 $modalReg.addClass('cruise-modal--open'); 37 $('body').css('overflow', 'hidden'); 38 } 39 40 function closeModalReg() { 41 $modalReg.removeClass('cruise-modal--open'); 42 $('body').css('overflow', ''); 43 } 44 45 $('#btnVerRegulamentoHome').on('click', function (e) { e.preventDefault(); openModalReg(); }); 46 $('#btnFecharRegulamentoHome').on('click', closeModalReg); 47 $modalReg.on('click', function (e) { 48 if (e.target === this) closeModalReg(); 49 }); 50 51});
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.