(i=>{"function"==typeof define&&define.amd?define("testimonials",i):i()})(function(){MyListing.Testimonial_Init=function(){jQuery(function(c){c(".testimonials.ml-widget").each(function(){var e,i=c(this),t=i.find(".testimonial-carousel .testimonial-content.item"),n=i.find(".testimonial-image"),a=0,s=t.length;function o(i){t.hide(),t.eq(i).show(),n.removeClass("active"),n.eq(i).addClass("active"),a=i}function l(){o((a+1)%s)}t.hide(),o(0),e=setInterval(l,5e3),n.click(function(i){i.preventDefault(),o(n.index(c(this))),clearInterval(e),e=setInterval(l,5e3)})})})},MyListing.Testimonial_Init()});
