PageSourceSearch

https://www.kairaga.com/wp-content/themes/kairaga/assets/js/kairaga.js?v=1790298370

js kairaga.com collected 2026-09-25 01:06:15 UTC 1,283 bytes, 39 lines download raw bytes

1// SLIDER //
2document.addEventListener('DOMContentLoaded', function () {
3    const items = document.querySelectorAll('.image-item');
4    const captions = document.querySelectorAll('.caption');
5
6    if (items.length && captions.length) {
7        let currentIndex = 0;
8        items[currentIndex].classList.add('active');
9        captions[currentIndex].style.display = 'block';
10
11        setInterval(() => {
12            items[currentIndex].classList.add('fade-out');
13            captions[currentIndex].style.display = 'none';
14
15            setTimeout(() => {
16                items[currentIndex].classList.remove('active', 'fade-out');
17                currentIndex = (currentIndex + 1) % items.length;
18                items[currentIndex].classList.add('active');
19                captions[currentIndex].style.display = 'block';
20            }, 1000);
21        }, 10000);
22    }
23});
24
25// BACT TO TOP //
26$(document).ready(function () {
27    $(window).scroll(function () {
28        if ($(this).scrollTop() > 200) {
29            $('#backToTop').fadeIn();
30        } else {
31            $('#backToTop').fadeOut();
32        }
33    });
34
35    $('#backToTop').click(function () {
36        $('html, body').animate({ scrollTop: 0 }, 'slow');
37        return false;
38    });
39});

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.