PageSourceSearch

https://www.waveenergyscotland.co.uk/scripts/m-threecardcarousel.js?d=3175

js waveenergyscotland.co.uk collected 2026-09-24 18:52:38 UTC 1,878 bytes, 44 lines download raw bytes

1(function ($, window, document) {
2
3    function init(root) {
4        const scope = root || document;
5        const sliderEl = scope.querySelectorAll('[data-module="threecardcarousel"]');
6        if (!sliderEl.length) return;
7
8        $(sliderEl).not('.slick-initialized').slick({
9            arrows: true,
10            dots: true,
11            slidesToShow: 3,
12            slidesToScroll: 3,
13            infinite: false,
14            prevArrow: '<button class="slick-nav-btn slick-nav-btn--prev" aria-label="Previous slide"><svg aria-hidden="true" viewBox="0 0 320 512"><path fill="currentColor" d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg></button>',
15            nextArrow: '<button class="slick-nav-btn slick-nav-btn--next" aria-label="Next slide"><svg aria-hidden="true" viewBox="0 0 320 512"><path fill="currentColor" d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg></button>',
16            responsive: [{
17                breakpoint: 1080,
18                settings: {
19                    slidesToShow: 2,
20                    slidesToScroll: 2,
21                    arrows: false
22                }
23            }, {
24                breakpoint: 500,
25                settings: {
26                    slidesToShow: 1,
27                    slidesToScroll: 1,
28                    arrows: false
29                }
30            }]
31        });
32    }
33
34    window.HIE = window.HIE || {};
35    window.HIE.initThreeCardCarousel = init;
36
37    $(function () {
38
39        setTimeout(function () {
40            init(document);
41        }, 500);
42    });
43
44})(window.jQuery, window, document);

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.