','']});function t(){o($(".owl-item.active .owl-slide-text"))}function o(e){var t=e.height(),{top:e,left:o}=e.position(),t=t+e+20;$(".owl-carousel .owl-dots").css({top:t+"px",left:o+"px"})}e.on("changed.owl.carousel",e=>{$(".owl-slide-animated").removeClass("is-transitioned");const t=$(".owl-item").eq(e.item.index);t.find(".owl-slide-animated").addClass("is-transitioned"),o(t.find(".owl-slide-text"))}),e.on("resize.owl.carousel",()=>{setTimeout(()=>{t()},50)}),t(),jQuery("#carousel").owlCarousel({autoplay:!1,lazyLoad:!0,loop:!0,margin:20,dots:!0,responsiveClass:!0,autoHeight:!0,autoplayTimeout:7e3,smartSpeed:800,nav:!0,responsive:{0:{items:1,dots:!0},600:{items:2},1024:{items:2},1366:{items:3}}}),jQuery("#carousel1").owlCarousel({autoplay:!1,lazyLoad:!0,loop:!0,margin:20,dots:!0,responsiveClass:!0,autoHeight:!0,autoplayTimeout:7e3,smartSpeed:800,nav:!0,responsive:{0:{items:1,dots:!0},600:{items:1},1024:{items:1},1366:{items:1}}}),$(".btn-rush,.btn-buy").not('[href="#"]').not('[href="#0"]').click(function(e){var t;location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname&&(t=(t=$(this.hash)).length?t:$("[name="+this.hash.slice(1)+"]")).length&&(e.preventDefault(),$("html, body").animate({scrollTop:t.offset().top},1e3,function(){var e=$(t);if(e.focus(),e.is(":focus"))return!1;e.attr("tabindex","-1"),e.focus()}))})}),$(document).ready(function(){$(".minus").click(function(){var e=$(this).parent().find("input"),t=(t=parseInt(e.val())-1)<1?1:t;return e.val(t),e.change(),!1}),$(".plus").click(function(){var e=$(this).parent().find("input");return e.val(parseInt(e.val())+1),e.change(),!1})})