jQuery(document).ready((function($){$(".sp-testimonial-free-section").each((function(index){var _this=$(this),custom_id=$(this).attr("id"),preloader;if("1"==_this.data("preloader")){var parents_class,parents_siblings_id=$("#"+custom_id).parent(".sp-testimonial-free-wrapper").find(".sp-testimonial-preloader").attr("id");setTimeout((function(){$("#"+parents_siblings_id).animate({opacity:1},600).hide()}),600),$("#"+custom_id).animate({opacity:1},600)}var SliderId=$(this).attr("id"),SliderData=$(this).data("swiper");if(SliderData&&!$("#"+SliderId+".sp-testimonial-free-section").hasClass("swiper-initialized")){var TestimonialSwiper=new Swiper("#"+SliderId+".sp-testimonial-free-section",{speed:SliderData.speed,slidesPerView:SliderData.slidesPerView.lg_desktop,slidesPerGroup:1,spaceBetween:SliderData.spaceBetween,loop:SliderData.infinite,loopFillGroupWithBlank:!0,autoHeight:SliderData.adaptiveHeight,simulateTouch:SliderData.draggable,freeMode:SliderData.freeMode,allowTouchMove:SliderData.swipe,mousewheel:SliderData.swipeToSlide,slidesPerGroupSkip:1,grabCursor:!0,pagination:1==SliderData.dots&&{el:"#"+SliderId+" .testimonial-pagination",clickable:!0},autoplay:{delay:SliderData.autoplaySpeed},navigation:1==SliderData.arrows&&{nextEl:"#"+SliderId+" .swiper-button-next.testimonial-nav-arrow",prevEl:"#"+SliderId+" .swiper-button-prev.testimonial-nav-arrow"},breakpoints:{320:{slidesPerView:SliderData.slidesPerView.mobile,navigation:1==SliderData.navigation_mobile&&{nextEl:"#"+SliderId+" .swiper-button-next.testimonial-nav-arrow",prevEl:"#"+SliderId+" .swiper-button-prev.testimonial-nav-arrow"},pagination:1==SliderData.pagination_mobile&&{el:"#"+SliderId+" .testimonial-pagination",clickable:!0}},576:{slidesPerView:SliderData.slidesPerView.tablet},736:{slidesPerView:SliderData.slidesPerView.laptop},980:{slidesPerView:SliderData.slidesPerView.desktop},1200:{slidesPerView:SliderData.slidesPerView.lg_desktop}},keyboard:{enabled:!0}});(!1===SliderData.autoplay||$(window).width()<576&&0==SliderData.autoplay_mobile)&&TestimonialSwiper.autoplay.stop(),SliderData.pauseOnHover&&SliderData.autoplay&&$("#"+SliderId).on({mouseenter:function(){TestimonialSwiper.autoplay.stop()},mouseleave:function(){TestimonialSwiper.autoplay.start()}})}}))}));