PageSourceSearch

https://gorsovet-26.ru/wp-content/themes/template/js/popup.js

js gorsovet-26.ru collected 2026-10-03 00:12:20 UTC 1,019 bytes, 48 lines download raw bytes

1$('.open-corpus-popup').magnificPopup({
2  type: 'inline',
3  midClick: true,
4  closeBtnInside: true,
5});
6
7$('.open-policy-popup').magnificPopup({
8  type: 'inline',
9  midClick: true,
10  closeBtnInside: true,
11});
12
13const photos = document.querySelectorAll('.report__slider img');
14const reportItems = Array.from(photos).map((item) => ({
15  src: item.src,
16  type: 'inline',
17}));
18
19$('.open-report-popup').magnificPopup({
20  type: 'image',
21  mainClass: 'mfp-with-zoom',
22  midClick: true,
23  closeBtnInside: true,
24  gallery: {
25    enabled: true,
26  },
27  zoom: {
28    enabled: true,
29
30    duration: 300, // duration of the effect, in milliseconds
31    easing: 'ease-in-out', // CSS transition easing function
32
33    opener: function (openerElement) {
34      return openerElement.is('img') ? openerElement : openerElement.find('img');
35    },
36  },
37  removalDelay: 300,
38});
39
40$('.open-video-popup').magnificPopup({
41  type: 'iframe',
42});
43
44$('.open-fraction-popup').magnificPopup({
45  type: 'inline',
46  midClick: true,
47  closeBtnInside: true,
48});

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.