PageSourceSearch

https://a2rl.io/js/imola_countdown.js?v=1790925004

js a2rl.io collected 2026-10-02 07:10:39 UTC 1,544 bytes, 31 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    var timeElement = document.getElementById('imolaCountdownTimer');
3    if (!timeElement || typeof moment === 'undefined') return;
4
5    var eventTime = moment.tz('2026-09-05T18:30:00', 'Europe/Rome');
6    var intervalId;
7
8    var render = function () {
9        var duration = moment.duration(eventTime.diff(moment.tz()));
10
11        if (duration.asSeconds() <= 0) {
12            clearInterval(intervalId);
13            timeElement.closest('.imola-countdown-wrap').classList.add('d-none');
14            return;
15        }
16
17        var days = String(Math.floor(duration.asDays())).padStart(2, '0');
18        var hours = String(duration.hours()).padStart(2, '0');
19        var minutes = String(duration.minutes()).padStart(2, '0');
20        var seconds = String(duration.seconds()).padStart(2, '0');
21
22        timeElement.innerHTML =
23            "<div class='time-block'><span class='t-number'>" + days + "</span><span class='time-text'>DAYS</span></div><span class='divider'>:</span>" +
24            "<div class='time-block'><span class='t-number'>" + hours + "</span><span class='time-text'>HOURS</span></div><span class='divider'>:</span>" +
25            "<div class='time-block'><span class='t-number'>" + minutes + "</span><span class='time-text'>MIN</span></div><span class='divider'>:</span>" +
26            "<div class='time-block'><span class='t-number'>" + seconds + "</span><span class='time-text'>SEC</span></div>";
27    };
28
29    render();
30    intervalId = setInterval(render, 1000);
31});

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.