1$(document).ready(function() { 2 $('.show-modal').on('click', function() { 3 var data = $(this).attr('data-modal'); 4 $('.modal[data-modal=' + data + ']').show(); 5 $('body').addClass('lock'); 6 $('.layer').show(); 7 }); 8 9 $('.layer').on('click', function() { 10 $(this).hide(); 11 $('.modal').hide(); 12 $('body').removeClass('lock'); 13 }); 14 15 16 $('.scroll-link').click(function() { 17 $("html, body").animate({ 18 scrollTop: $($(this).attr("href")).offset().top - 120 + "px" 19 }, { 20 duration: 800 21 }); 22 return false; 23 }); 24 25document.querySelectorAll('.max-link').forEach(link => { 26 link.addEventListener('click', e => { 27 if (/Android|iPhone/i.test(navigator.userAgent)) { 28 e.preventDefault(); 29 30 const input = document.createElement('input'); 31 input.value = link.dataset.phone; 32 document.body.appendChild(input); 33 input.select(); 34 document.execCommand('copy'); 35 document.body.removeChild(input); 36 37 setTimeout(() => { 38 location.href = 'max:'; 39 }, 100); 40 } 41 42 }); 43}); 44 $('.address-link').on('click', function() { 45 $('.address-block').slideToggle(200, 'linear'); 46 }); 47 48 $('.all-cities').on('click', function() { 49 $('.phones-block').slideToggle(200, 'linear'); 50 }); 51 52 53 $('.mobile-menu-icon').on('click', function() { 54 $(this).toggleClass('active'); 55 $('header .menu').slideToggle(200, 'linear'); 56 }); 57 58 59 $('.galery-slider').slick({ 60 autoplay: false, 61 arrows: true, 62 dots: true, 63 infinite: true, 64 prevArrow: '<a class="slick-prev"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 15.3 26" style="enable-background:new 0 0 15.3 26;" xml:space="preserve"><g><path fill="#192730" d="M0,13l12.5,12.5c0.3,0.3,0.7,0.5,1.1,0.5c0.4,0,0.8-0.2,1.1-0.5c0.3-0.3,0.5-0.7,0.5-1.1s-0.2-0.8-0.5-1.1 L4.6,13L14.8,2.8c0.3-0.3,0.5-0.7,0.5-1.1s-0.2-0.8-0.5-1.1c-0.6-0.6-1.6-0.6-2.3,0L0,13z"/></g></svg></a>', 65 nextArrow: '<a class="slick-next"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 15.3 26" style="enable-background:new 0 0 15.3 26;" xml:space="preserve"><g><path fill="#192730" d="M2.7,0.5c-0.6-0.6-1.6-0.6-2.3,0C0.2,0.8,0,1.2,0,1.6s0.2,0.8,0.5,1.1L10.7,13L0.5,23.3C0.2,23.6,0,24,0,24.4 s0.2,0.8,0.5,1.1C0.8,25.8,1.2,26,1.6,26s0.8-0.2,1.1-0.5L15.3,13L2.7,0.5z"/></g></svg></a>', 66 autoplaySpeed: 5000, 67 slidesToShow: 1, 68 slidesToScroll: 1 69 }); 70 71 $('.cat-slider').slick({ 72 autoplay: false, 73 arrows: true, 74 dots: true, 75 infinite: true, 76 prevArrow: '<a class="slick-prev"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 15.3 26" style="enable-background:new 0 0 15.3 26;" xml:space="preserve"><g><path fill="#192730" d="M0,13l12.5,12.5c0.3,0.3,0.7,0.5,1.1,0.5c0.4,0,0.8-0.2,1.1-0.5c0.3-0.3,0.5-0.7,0.5-1.1s-0.2-0.8-0.5-1.1 L4.6,13L14.8,2.8c0.3-0.3,0.5-0.7,0.5-1.1s-0.2-0.8-0.5-1.1c-0.6-0.6-1.6-0.6-2.3,0L0,13z"/></g></svg></a>', 77 nextArrow: '<a class="slick-next"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 15.3 26" style="enable-background:new 0 0 15.3 26;" xml:space="preserve"><g><path fill="#192730" d="M2.7,0.5c-0.6-0.6-1.6-0.6-2.3,0C0.2,0.8,0,1.2,0,1.6s0.2,0.8,0.5,1.1L10.7,13L0.5,23.3C0.2,23.6,0,24,0,24.4 s0.2,0.8,0.5,1.1C0.8,25.8,1.2,26,1.6,26s0.8-0.2,1.1-0.5L15.3,13L2.7,0.5z"/></g></svg></a>', 78 autoplaySpeed: 5000, 79 slidesToShow: 4, 80 slidesToScroll: 4, 81 responsive: [{ 82 breakpoint: 1023, 83 settings: { 84 slidesToShow: 3, 85 slidesToScroll: 3 86 } 87 }, { 88 breakpoint: 767, 89 settings: { 90 slidesToShow: 1, 91 slidesToScroll: 1 92 } 93 }] 94 }); 95 96 $('.right-block a, .filter a').each(function() { 97 var location = window.location.protocol + '//' + window.location.hostname + window.location.pathname; 98 var link = $(this).attr('href'); 99 if (location === link) { 100 $(this).addClass('active').closest('.cat').addClass('active'); 101 } 102 }); 103 104});
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.