1document.addEventListener("DOMContentLoaded", function () { 2 3 $('.img-slider').slick({ 4 arrows: true, 5 dots: true, 6 }); 7 8 $('.slider-4').slick({ 9 infinite: true, 10 slidesToShow: 4, 11 slidesToScroll: 1, 12 dots: false, 13 autoplay: false, 14 responsive: [ 15 { 16 breakpoint: 992, 17 settings: { 18 slidesToShow: 2, 19 } 20 }, 21 { 22 breakpoint: 576, 23 settings: { 24 slidesToShow: 1, 25 } 26 } 27 ] 28 }); 29 30 $(".lang-menu__btn").on('click', function () { 31 $(".lang-menu").toggleClass('active'); 32 }); 33 34 $(".search-block__btn").on('click', function () { 35 $(".search-block").toggleClass('active'); 36 }); 37 38 $(".main-menu-btn").on('click', function () { 39 $(".header").toggleClass('menu-active'); 40 }); 41 42 $(".category-menu__close").on('click', function () { 43 $(".header").removeClass('menu-active'); 44 }); 45 46 $(".comment-sorting-btn").on('click', function () { 47 $(".comment-sorting__wrap").toggleClass('active'); 48 }); 49 50}); 51 52$(document).on('mouseup', function (e) { 53 let item = $('.lang-menu'); 54 if (!item.is(e.target) && item.has(e.target).length === 0) { 55 item.removeClass('active'); 56 } 57 58 let search = $('.search-block'); 59 if (!search.is(e.target) && search.has(e.target).length === 0) { 60 search.removeClass('active'); 61 } 62 63 let header = $('.header'); 64 if (!header.is(e.target) && header.has(e.target).length === 0) { 65 header.removeClass('menu-active'); 66 } 67 68 let sorting = $('.comment-sorting__wrap'); 69 if (!sorting.is(e.target) && sorting.has(e.target).length === 0) { 70 sorting.removeClass('active'); 71 } 72}); 73 74if (document.documentElement.clientWidth < 992) { 75 $('.mobil-car-2').slick({ 76 infinite: true, 77 slidesToShow: 2, 78 slidesToScroll: 1, 79 dots: true, 80 arrows: false, 81 autoplay: false, 82 responsive: [ 83 { 84 breakpoint: 576, 85 settings: { 86 slidesToShow: 1, 87 } 88 } 89 ] 90 }); 91 92 $('.table-car-2').slick({ 93 infinite: true, 94 slidesToShow: 2, 95 slidesToScroll: 1, 96 dots: true, 97 arrows: false, 98 autoplay: false, 99 responsive: [ 100 { 101 breakpoint: 767, 102 settings: "unslick" 103 } 104 ] 105 }); 106};
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.