PageSourceSearch

https://www.pingdom.com/wp-content/themes/sw-global/blocks/sw-reviews/scripts.js?ver=7.0.5

js pingdom.com collected 2026-09-24 06:23:46 UTC 958 bytes, 31 lines download raw bytes

1(function () {
2    function review_block_init(review_block) {
3        var reviews = review_block.querySelector('.glider');
4        if(!reviews) return;
5
6        new Glider(reviews, {
7            rewind: true,
8            arrows: {
9                prev: review_block.querySelector('.glider-prev'),
10                next: review_block.querySelector('.glider-next'),
11            },
12        });
13    }
14
15    function reviews_init() {
16        document.querySelectorAll('.sw19b-reviews').forEach(review_block_init);
17    }
18
19    var is_editor = document.currentScript.id == 'editor-main-sw19-js';
20    if (is_editor) {
21        window.addEventListener('DOMContentLoaded', function() {
22            if (window.acf && document.body.classList.contains('block-editor-page')) {
23                reviews_init();
24                window.acf.addAction('render_block_preview/type=sw-reviews', reviews_init);
25            }
26        });
27        return;
28    }
29
30    reviews_init();
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.