1$(function(){ 2 if($('.reviews__items').length) { 3 $('.reviews__items').addClass('owl-carousel').owlCarousel({ 4 dots: true, 5 nav:true, 6 navText: ['',''], 7 margin: 40, 8 loop: true, 9 responsive:{ 10 0: { 11 items: 1 12 }, 13 540: { 14 items: 2, 15 }, 16 768 : { 17 items: 3 18 } 19 }, 20 onInitialized:function(){ 21 $(window).on('resize', function(){ 22 var height = 0; 23 $('.reviews__item') 24 .css('min-height',0) 25 .each(function(){ 26 if($(this).height()>=height) { 27 height = $(this).height(); 28 } 29 }) 30 .css('min-height',height); 31 }).trigger('resize'); 32 } 33 }); 34 } 35 36 $('.app-to-calc .app-to-calc__link,.app-to-calc img').on('click', function(event){ 37 if($(event.target).closest('.app-to-calc--not-title').length) {return true;} 38 event.preventDefault(); 39 $('html, body').animate({ 40 scrollTop : $('.map-wr').offset().top 41 }, 600); 42 }); 43 44 $('.app-nav__toggle').on('click', function(){ 45 $('.app-nav__menu').toggleClass('is-opened'); 46 }); 47 48 $(document).on('click', function(event){ 49 if($(event.target).closest('.app-nav__toggle').length) { 50 return; 51 } 52 $('.app-nav__menu').removeClass('is-opened'); 53 }); 54 55 $(window).on('scroll', function(){ 56 if($(window).scrollTop() > 200) { 57 $('.b-2top').addClass('b-2top--is-show'); 58 } else { 59 $('.b-2top').removeClass('b-2top--is-show'); 60 } 61 }).trigger('scroll'); 62 $('.b-2top').on('click', function(event){ 63 $('html, body').animate({scrollTop: 0}); 64 }); 65});
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.