PageSourceSearch

https://www.svazpersonalistu.cz/wp-content/plugins/wp-magnific-popup/js/wpmp.js?ver=7.1.2.1790227384

js svazpersonalistu.cz collected 2026-09-24 12:57:00 UTC 3,495 bytes, 63 lines download raw bytes

1jQuery(document).ready(function() {
2    if (typeof wpmp_options !== 'undefined')
3    {
4
5            console.log(wpmp_options);
6            if (typeof wpmp_options.image !== 'undefined' && wpmp_options.image.class) {
7                jQuery('.' + wpmp_options.image.class).magnificPopup({
8                    type: 'image',
9                    disableOn: typeof wpmp_options.image.disable_on !== 'undefined' ? wpmp_options.image.disable_on : 0,
10                    closeOnContentClick: typeof wpmp_options.image.close_on_content_click !== 'undefined' && wpmp_options.image.close_on_content_click,
11                    closeBtnInside: typeof wpmp_options.image.close_btn_inside !== 'undefined' && wpmp_options.image.close_btn_inside,
12                    image: {
13                        verticalFit: typeof wpmp_options.image.vertical_fit !== 'undefined' && wpmp_options.image.vertical_fit
14                    },
15                    zoom: {
16                        enabled: typeof wpmp_options.image.zoom_enabled !== 'undefined' && wpmp_options.image.zoom_enabled,
17                        duration: 300
18                    }
19                });
20            }
21
22            if (typeof wpmp_options.gallery !== 'undefined' && wpmp_options.gallery.class) {
23                jQuery('.' + wpmp_options.gallery.class).magnificPopup({
24                    closeBtnInside: typeof wpmp_options.gallery.close_btn_inside !== 'undefined' && wpmp_options.gallery.close_btn_inside,
25                    disableOn: typeof wpmp_options.gallery.disable_on !== 'undefined' ? wpmp_options.gallery.disable_on : 0,
26                    delegate: 'a',
27                    type: 'image',
28                    tLoading: wpmp_options.image_loading_text,
29                    gallery: {
30                        enabled: true,
31                        navigateByImgClick: typeof wpmp_options.gallery.navigate_by_img_click !== 'undefined' && wpmp_options.gallery.navigate_by_img_click,
32                        preload: [0,1] // Will preload 0 - before current, and 1 after the current image
33                    },
34                    image: {
35                        tError: wpmp_options.image_error_text,
36                        titleSrc: function(item) {
37                            return item.el.attr('title');
38                        }
39                    }
40                });
41            }
42
43            if (typeof wpmp_options.iframe !== 'undefined' && wpmp_options.iframe.class) {
44                jQuery('.' + wpmp_options.iframe.class).magnificPopup({
45                    type: 'iframe',
46                    disableOn: typeof wpmp_options.iframe.disable_on !== 'undefined' ? wpmp_options.iframe.disable_on : 0,
47                    removalDelay: 160,
48                    preloader: false,
49                    fixedContentPos: false,
50                    closeBtnInside: typeof wpmp_options.iframe.close_btn_inside !== 'undefined' && wpmp_options.iframe.close_btn_inside,
51                });
52            }
53
54            if (typeof wpmp_options.div !== 'undefined' && wpmp_options.div.class) {
55                jQuery('.' + wpmp_options.div.class).magnificPopup({
56                    type: 'inline',
57                    disableOn: typeof wpmp_options.div.disable_on !== 'undefined' ? wpmp_options.div.disable_on : 0,
58                    closeBtnInside: typeof wpmp_options.div.close_btn_inside !== 'undefined' && wpmp_options.div.close_btn_inside,
59                    preloader: false
60                });
61            }
62        }
63});

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.