PageSourceSearch

https://novetrasys.ai/wp-content/plugins/xamin-elementor-extension…/Elementor/assets/js/masonry.js?ver=3.6.2

js novetrasys.ai collected 2026-10-05 15:41:54 UTC 1,912 bytes, 55 lines download raw bytes

1(function (jQuery) {
2    "use strict";
3
4    // Init elements after creation
5    jQuery(window).on('load', function () {
6        jQuery(window).on('elementor/frontend/init', function () {
7            if (typeof window.elementorFrontend !== 'undefined' && typeof window.elementorFrontend.hooks !== 'undefined') {
8                // If Elementor is in the Editor's Preview mode
9
10                if (elementorFrontend.isEditMode()) {
11                    elementorFrontend.hooks.addAction('frontend/element_ready/widget', function (scope) {
12                        if (scope.find('.iqonic-masonry-grid').length > 0) {
13                            var masonry = scope.find('.iqonic-masonry-grid');
14                            var parent = scope.find('.iqonic-masonry-grid').parent();
15                            apply_masonry(parent, masonry);
16                        }
17                    });
18                }
19            }
20        });
21    });
22    jQuery(window).ready(function () {
23        /*------------------------
24        Masonry
25        --------------------------*/
26        if (jQuery('.iqonic-masonry-grid').length > 0) {
27            jQuery('.iqonic-masonry-grid').each(function () {
28                apply_masonry(jQuery(".iqonic-masonry-block"), jQuery(this));
29            });
30        }
31    });
32
33    	// image popup
34		jQuery('.xamin-image-popup:has(img)').click(function (e) { e.preventDefault(); return false; });
35
36		jQuery('.xamin-image-popup').magnificPopup({
37			type: 'image',
38			gallery: {
39				enabled: true
40			}
41		});
42
43})(jQuery);
44
45function apply_masonry(parent, selector) {
46    let horizontal = selector.data("horizontalorder");
47    parent.imagesLoaded(function () {
48        selector.masonry({
49            columnWidth: ".grid-sizer",
50            itemSelector: ".iqonic-masonry-item",
51            horizontalOrder: horizontal,
52        });
53    });
54}
55

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.