(e=>{function t(e,t){e.find(".tm-slider-widget").MinimogSwiper()}function n(e,t){var n=e.find(".tm-slider-widget");e.hasClass("minimog-swiper-linked-yes")?(e=n.filter(".minimog-thumbs-swiper").MinimogSwiper(),n.filter(".minimog-main-swiper").MinimogSwiper({thumbs:{swiper:e,slidesPerGroup:3}})):n.MinimogSwiper()}function o(e,t){var n,o=e.find(".tm-slider-widget");e.hasClass("minimog-swiper-linked-yes")?(e=o.filter(".minimog-thumbs-swiper").MinimogSwiper(),((n=o.filter(".minimog-main-swiper").MinimogSwiper()).controller.control=e).controller.control=n):o.MinimogSwiper()}function r(e,n){var o,r,d=e.find(".tm-slider-widget"),t=d.filter(".minimog-thumbs-swiper").MinimogSwiper(),i=d.filter(".minimog-main-swiper").MinimogSwiper();(i.controller.control=t).controller.control=i,e.closest(".elementor-top-section").hasClass("elementor-section-stretched")&&(o=parseInt(d.data("content-width")),r=d.data("layout"),0!==o)&&n(window).on("resize",function(){var e=(n(window).width()-o)/2,t="default"===r?"padding-left":"padding-right";elementorFrontendConfig.is_rtl&&(t="padding-left"===t?"padding-right":"padding-left"),e<15&&(e=15),n(".testimonial-item",d).css({[t]:e+"px"}),n(".swiper-pagination-container",d).css({[t]:e+"px"})}).trigger("resize")}e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/tm-image-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-modern-slider.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-product-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-product-list-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-feature-product-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-product-category-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-product-brands-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-blog-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-marquee-list.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-image-box-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-slider-slideshow.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-product-category-banner-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-parallax-sliders.default",o),elementorFrontend.hooks.addAction("frontend/element_ready/tm-testimonial-carousel.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/tm-testimonial-slideshow.default",r),elementorFrontend.hooks.addAction("frontend/element_ready/tm-products-slideshow.default",r),elementorFrontend.hooks.addAction("frontend/element_ready/tm-instagram-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/tm-instagram-simulator-carousel.default",t)})})(jQuery);