PageSourceSearch

https://www.coloradoicsb.com/plugins/smb/gallery/components/assets/js/galleryLazy.js?v.1.2.54

js coloradoicsb.com collected 2026-10-04 13:27:27 UTC 1,791 bytes, 43 lines download raw bytes

1+function ($) {
2    "use strict";
3
4    $(window).load(function () {
5        var lazyLoadImg = false, $masonryGrid = $('[data-control="masonry"]');
6        $('.lazyLoadImg').length ? lazyLoadImg = true : lazyLoadImg = false;
7
8        function initImgLazy() {
9            $('.gallery-item--image.lazy').lazy({
10                effect: "fadeIn",
11                effectTime: 300,
12                threshold: 0,
13                afterLoad: function ($img) {
14                    setTimeout(function () {
15                        var $imgAnchor = $img.closest('.lazy-href');
16                        $imgAnchor.attr("href", $imgAnchor.data('href'));
17                        $imgAnchor.removeAttr('data-href');
18                    }, 100);
19                    if ($masonryGrid.length) setTimeout(function () { $masonryGrid.masonry(); }, 100);
20                    if ($masonryGrid.length) setTimeout(function () { $masonryGrid.masonry(); }, 16000);
21                    if (typeof window.gallerySlider != 'undefined') {
22                        setTimeout(function () {
23                            for (var i = 0; i < window.gallerySliderArr.length; ++i) {
24                                window.gallerySliderArr[i].redrawSlider();
25                            }
26                        }, 100);
27                    }
28                },
29                onFinishedAll: function () {
30                    if ($masonryGrid.length) $masonryGrid.masonry();
31                    if ($masonryGrid.length) setTimeout(function () { $masonryGrid.masonry(); }, 16000);
32                }
33            });
34        }
35
36        if (lazyLoadImg) {
37            initImgLazy();
38            window.dispatchEvent(new Event('resize'));
39            $(window).resize(function () { initImgLazy(); });
40        }
41    });
42
43}(window.jQuery);

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.