1(function($){ 2 "use strict"; 3 4 5 $(window).on('elementor/frontend/init', function () { 6 7 8 elementorFrontend.hooks.addAction('frontend/element_ready/romancy_elementor_testimonial.default', function(){ 9 10 $(".slider-version_1").each(function(){ 11 var slk = $(this) ; 12 var slk_ops = slk.data('options') ? slk.data('options') : {}; 13 14 slk.slick({ 15 dots: slk_ops.dots, 16 autoplay : slk_ops.autoplay, 17 autoplaySpeed : slk_ops.autoplay_speed, 18 speed: slk_ops.smartSpeed, 19 centerPadding: 0, 20 slidesToShow: slk_ops.items, 21 infinite: slk_ops.loop, 22 arrows: slk_ops.arrows, 23 variableWidth: false, 24 centerMode: true, 25 asNavFor: slk_ops.navfor, 26 responsive: [ 27 { 28 breakpoint: 800, 29 settings: { 30 arrows: false, 31 centerMode: true, 32 variableWidth: false, 33 dots: true, 34 } 35 }, 36 { 37 breakpoint: 0, 38 settings: { 39 arrows: false, 40 dots: true, 41 } 42 } 43 44 ] 45 }); 46 47 /* Fixed WCAG */ 48 slk.find(".slick-prev").attr("title", "Previous"); 49 slk.find(".slick-next").attr("title", "Next"); 50 slk.find(".slick-dots button").attr("title", "Dots"); 51 52 }); 53 54 //slide syncing 55 $(".slide-for").each(function(){ 56 var slk2 = $(this) ; 57 58 // slider syncing 59 slk2.slick({ 60 slidesToShow: 5, 61 slidesToScroll: 1, 62 arrows: false, 63 dots: false, 64 variableWidth: true, 65 // centerPadding: 0, 66 // fade: true, 67 focusOnSelect: true, 68 // centerMode: true, 69 asNavFor: '.slide-testimonials' 70 }); 71 72 }); 73 74 $(".slider-version_2").each(function(){ 75 var slk = $(this) ; 76 var slk_ops = slk.data('options') ? slk.data('options') : {}; 77 78 slk.slick({ 79 dots: slk_ops.dots, 80 autoplay : slk_ops.autoplay, 81 autoplaySpeed : slk_ops.autoplay_speed, 82 speed: slk_ops.smartSpeed, 83 centerPadding: slk_ops.padding, 84 slidesToShow: slk_ops.items, 85 infinite: slk_ops.loop, 86 arrows: slk_ops.arrows, 87 variableWidth: false, 88 centerMode: true, 89 responsive: [ 90 { 91 breakpoint: 1025, 92 settings: { 93 arrows: false, 94 centerMode: true, 95 variableWidth: false, 96 slidesToShow: 2, 97 98 } 99 }, 100 { 101 breakpoint: 767, 102 settings: { 103 arrows: false, 104 centerMode: true, 105 variableWidth: false, 106 slidesToShow: 1, 107 dots: true, 108 } 109 }, 110 { 111 breakpoint: 0, 112 settings: { 113 arrows: false, 114 slidesToShow: 1, 115 dots: true, 116 } 117 } 118 119 ] 120 }); 121 122 /* Fixed WCAG */ 123 slk.find(".slick-prev").attr("title", "Previous"); 124 slk.find(".slick-next").attr("title", "Next"); 125 slk.find(".slick-dots button").attr("title", "Dots"); 126 127 }); 128 }); 129 130 131 }); 132 133})(jQuery); 134
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.