PageSourceSearch

https://gonzocvv.info/assets/scripts/custom/common3a1b.js?v=1632412063

js gonzocvv.info collected 2026-10-07 05:21:08 UTC 3,225 bytes, 153 lines download raw bytes

1    $(document).ready(function() {
2
3
4        // Page initializtion
5
6        var $content = $('[data-load="content"]');
7
8        _init_plugins($content, function () {
9   
10           var $table = $('[data-table="content"]');
11           
12            if ($table.length) {
13
14                // Load table
15                _load_table($table);
16            }
17            else
18            {
19                _loader($(".loader-wrapper"), false);
20            }
21        });
22
23
24
25
26
27        // Go back page
28        window.onpopstate = function(event) {
29
30            // Load page
31            _load_page(window.location.href);
32
33
34            // Change navigation
35            _change_navigation($('#' + event.state.menu));
36        };
37
38
39
40        // Ajax page loader
41        $(document).on("click", '[data-load="page"]', function() {
42            var $element = $(this);
43
44
45            if ($element.hasClass('dropdown-toggle'))
46                return false;
47
48            // Load page
49            _load_page($element.data('url'));
50
51            // Change navigation
52            _change_navigation($element);
53
54            return false;
55        });
56
57
58        // Ajax page loader
59        $(document).on("click", '[data-load="site"]', function() {
60            var $element = $(this);
61
62            // Load page
63            _load_site($element.data('url'));
64
65            return false;
66        });
67
68
69        // Ajax modal loader
70        $(document).on("click", '[data-load="modal"]', function() {
71            var $element = $(this);
72
73            // Load page
74            _load_modal($element.data('url'));
75
76            return false;
77        });
78
79
80
81
82        // Submit search form
83        $(document).on("submit", "#search-form", function() {
84
85            // Load table
86            _load_table($('[data-table="content"]'));
87
88            return false;
89        });
90
91
92        // Reset search form
93        $(document).on("click", '#search-form [type="reset"]', function() {
94
95            _load_page(window.location.href)
96
97            return false;
98        });
99
100
101
102
103        $(document).on("click", 'thead [type="checkbox"]', function() {
104            $this = $(this);
105
106            $elements = $(this).parents('table')
107                .find('tbody [type="checkbox"]');
108
109            $elements.each(function () {
110                if ($(this).prop('disabled') == false)
111                    $(this).prop('checked', $this.prop('checked'));
112            });
113
114
115        });
116
117
118
119
120
121        // Click dropdown menu contact
122        $(document).on("click", ".dropdown-menu li", function(e) {
123            $('.dropdown-menu .active').removeClass('active');
124            var $active = $(this).addClass('active');
125
126            $('.contact-input .selected')
127                .text($active.text())
128                .attr('data-name', $active.data('name'));
129
130            e.preventDefault();
131        })
132
133
134
135        $(document).on("click", ".captcha-input #refresh", function(){
136            _captcha_update();
137        });
138
139
140
141
142
143        $('body').on('hidden.bs.modal', '.modal', function() {
144            $(this).remove();
145        });
146
147
148
149
150    });
151
152
153

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.