(f=>{var e={};function n(){a().init()}function t(){d()}function a(){function n(e){var n=new Swiper(e[0],{speed:800,centeredSlides:!0,slidesPerView:"auto",allowTouchMove:!1,init:!1}),t=e.closest(".qode-numbered-carousel"),a=t.find(".qode-nc-bg-item"),d=t.find(".qode-nc-indicator"),o=t.find(".qode-nc-grid-line:last-child"),i=qode_body.hasClass("qode-ms-explorer");n.on("init",function(){t.data("items",a.length),r(t,e,a,d,e.find(".swiper-wrapper")),((d,o)=>{function i(e,n,t){l(e,"qode-"+t),e.data("idle",!1),e.addClass("qode-mask"),"next"==t?setTimeout(function(){n.slideNext(u)},a):(e.addClass("qode-fade-prev-content"),setTimeout(function(){e.removeClass("qode-fade-prev-content"),n.slidePrev(u)},1.5*a))}var e,n,r,s,c,a=500,u=800;d.on("click",".swiper-slide",function(e){e=f(e.currentTarget);e.hasClass("swiper-slide-next")?d.data("idle")&&i(d,o,"next"):e.hasClass("swiper-slide-prev")&&d.data("idle")&&i(d,o,"prev")}),d.hasClass("qode-change-on-scroll")&&(d[0].addEventListener("wheel",function(e){var n;d.data("idle")&&(e=0<e.deltaY?"next":"prev",n=d.data("active-index"),"next"==e&&n<d.data("items")||"prev"==e&&1<n)&&i(d,o,e)}),Modernizr.touch&&d[0].addEventListener("touchstart",function(e){d.data("touch-start",parseInt(e.changedTouches[0].clientX))}),Modernizr.touch)&&d[0].addEventListener("touchmove",function(e){d.data("touch-move",parseInt(e.changedTouches[0].clientX));var n,e=d.data("touch-move")-d.data("touch-start");d.data("idle")&&(e=e<0?"next":"prev",n=d.data("active-index"),"next"==e&&n<d.data("items")||"prev"==e&&1<n)&&i(d,o,e)}),qode.windowWidth<1025&&(e="touchstart",n="touchend",r="srcElement",c=!(s=function(e){return e.originalEvent.changedTouches[0].clientX}),d.on(e,function(e){var t,a;c||f(e[r]).is("a, span")||(a=s(t=e),c=!0,d.one(n,function(e){var n=s(e);10<Math.abs(a-n)&&!((e,n)=>(e=e.originalEvent.changedTouches[0].clientY,n=n.originalEvent.changedTouches[0].clientY,100<Math.abs(n-e)))(t,e)&&(e=d.data("active-index"),n<a?e<d.data("items")&&i(d,o,"next"):1<e&&i(d,o,"prev")),c=!1}))}))})(t,n),e.addClass("qode-show").one(qode.transitionEnd,function(){t.addClass("qode-initialized"),o.one(qode.transitionEnd,function(){t.data("idle",!0)}),i&&t.data("idle",!0)})}),n.on("slideChangeTransitionEnd",function(){r(t,e,a,d,e.find(".swiper-wrapper")),t.removeClass("qode-mask"),o.one(qode.transitionEnd,function(){t.data("idle",!0)}),i&&t.data("idle",!0)}),e.waitForImages(function(){n.init()})}function r(e,n,t,a,d){i(e,n),s(e,t),s(e,a),qode_body.hasClass("qode-ms-explorer")||o(d)}var o=function(e){var n=Math.round(e.css("transform").split(",")[4]);e.css("transform","matrix(1, 0, 0, 1, "+n+", 0)")},i=function(e,n){n=n.find(".swiper-slide-active").data("index");e.data("active-index",n)},l=function(e,n){e.removeClass("qode-next qode-prev").addClass(n)},s=function(e,n){var t=n.filter(function(){return f(this).data("index")==e.data("active-index")});n.removeClass("qode-active"),t.addClass("qode-active")};return{init:function(){var e=f(".qode-numbered-carousel");e.length&&e.each(function(){var e=f(this).find(".swiper-container");n(e)})}}}function d(){f(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_numbered_carousel.default",function(){qode.modules.numberedCarousel.qodeNumberedCarousel().init()})})}(qode.modules.numberedCarousel=e).qodeNumberedCarousel=a,e.qodeInitElementorNumberedCarousel=d,e.qodeOnDocumentReady=n,e.qodeOnWindowLoad=t,f(document).ready(n),f(window).on("load",t)})(jQuery);