PageSourceSearch

https://nevatrip.ru/assets/meteor-landing/js/main.js?cache=6

js nevatrip.ru collected 2026-09-24 12:07:29 UTC 3,959 bytes, 165 lines download raw bytes

1$(document).ready(function(){
2
3  $('.nav .page__col:last-child .drop-down-container').addClass('right');
4
5  const closeNavDropDown = () => {
6    $('.drop-down-btn').removeClass('active');
7    $('.drop-down-container').slideUp(300);
8  }
9
10  $('.drop-down-btn').each(function(){
11    $(this).parent().on('click', function(e){
12      e.stopPropagation();
13    })
14
15    $(this).on('click', function() {
16      if($(this).hasClass('active')) {
17        $(this).parent().find('.drop-down-container').slideUp(300);
18        $(this).removeClass('active');
19      }else{
20        closeNavDropDown();
21        $(this).parent().find('.drop-down-container').slideDown(300);
22        $(this).addClass('active');
23
24        $(document).one('click', function(e) {
25          closeNavDropDown();
26        });
27      }
28    });
29  });
30  
31  $(".owl-carousel") && $(".owl-carousel").owlCarousel({
32    autoWidth: true, 
33    dots: false,
34    nav: true
35  });
36  
37  const swiperBlur = new Swiper('.swiper-blur', {
38    loop: true,
39    slidesPerView: 3,
40    // spaceBetween: 1,
41    centeredSlides: true,
42    autoHeight: true,
43    autoWidth: true,  
44    pagination: {
45      el: ".swiper-blur-pagination",
46      clickable: true,
47    },
48    navigation: {
49      nextEl: ".swiper-blur-button-next",
50      prevEl: ".swiper-blur-button-prev",
51    },
52    effect: "coverflow",
53    coverflowEffect: {
54      rotate: 0,
55      stretch: 0,
56      depth: 0,
57      modifier: 0,
58      slideShadows: true,
59    },
60    breakpoints: {
61      0: {
62        loop: true,
63        centeredSlides: false,
64        slidesPerView: 1,
65        spaceBetween: 10
66      },
67      768: {
68        effect: "coverflow",
69        grabCursor: true,
70        centeredSlides: true,
71        slidesPerView: "auto",
72        navigation: {
73          nextEl: ".swiper-blur-button-next",
74          prevEl: ".swiper-blur-button-prev",
75        },
76        effect: "coverflow",
77        coverflowEffect: {
78          rotate: 0,
79          stretch: 202,
80          depth: 460,
81          modifier: 1,
82          slideShadows: true,
83        },
84      },
85      940: {
86        effect: "coverflow",
87        grabCursor: true,
88        centeredSlides: true,
89        slidesPerView: "auto",
90        navigation: {
91          nextEl: ".swiper-blur-button-next",
92          prevEl: ".swiper-blur-button-prev",
93        },
94        effect: "coverflow",
95        coverflowEffect: {
96          rotate: 0,
97          stretch: 156,
98          depth: 743,
99          modifier: 1,
100          slideShadows: true,
101        },
102      },
103    },
104  });
105  
106  
107  
108  const swiperPrev = document.getElementById('swiper-blur-button-prev')
109  const swiperNext = document.getElementById('swiper-blur-button-next')
110
111
112
113  swiperPrev && swiperPrev.addEventListener('click', () => {
114    swiperBlur.slidePrev();
115  })
116  swiperNext && swiperNext.addEventListener('click', () => {
117    swiperBlur.slideNext();
118  })
119  
120  
121  
122  $(".header__toggler").on("click", function () {
123    if($("body").hasClass("js__nav-is-open")){
124      $("body").removeClass('js__nav-is-open');
125      $(".nav").slideUp(500);
126    } else {
127      $("body").addClass('js__nav-is-open');
128      $(".nav").slideDown(500);
129    }
130  });
131  
132  
133  
134  $('.faq__pane-ol').on('click', '.faq__pane-li-h4-a', function(e){
135    e.preventDefault();
136    $(this)
137      .next('.faq__pane-li-body') 
138      .not(':animated')
139      .slideToggle(); 
140    $(this).toggleClass('collapsed')
141  });
142  
143  
144  
145  document.querySelectorAll('a[href^="#"]').forEach(anchor => {
146    anchor.addEventListener('click', function (e) {
147      e.preventDefault();
148      $("body").removeClass('js__nav-is-open');
149      $(".nav").slideUp(500);
150
151      document.querySelector(this.getAttribute('href')).scrollIntoView({
152        behavior: 'smooth'
153      });
154    });
155  });
156  
157  
158  
159  $( ".article img" ).each(function() {
160    var alt = $(this).attr("alt");
161    $( this ).wrapAll( '<div class="article__img" />');
162    alt && $( this ).after( '<span class="article__img-author">'+alt+'</span>' );
163  });
164  
165});

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.