"use strict";!function(e){e.extend(e.easing,{def:"easeOutQuad",swing:function(t,i,a,n,s){return e.easing[e.easing.def](t,i,a,n,s)},easeOutQuad:function(e,t,i,a,n){return-a*(t/=n)*(t-2)+i},easeInOutQuart:function(e,t,i,a,n){return(t/=n/2)<1?a/2*t*t*t*t+i:-a/2*((t-=2)*t*t*t-2)+i},easeOutQuint:function(e,t,i,a,n){return a*((t=t/n-1)*t*t*t*t+1)+i}}),theme.defaults.popup={fixedContentPos:!0,closeOnBgClick:!1,removalDelay:350,callbacks:{beforeOpen:function(){if(this.fixedContentPos){var t=window.innerWidth-document.body.clientWidth;e(".sticky-content.fixed").css("padding-right",t),e(".mfp-wrap").css("overflow","hidden auto")}},close:function(){this.fixedContentPos&&(e(".mfp-wrap").css("overflow",""),e(".sticky-content.fixed").css("padding-right",""))}}},theme.defaults.isotope={itemSelector:".grid-item",layoutMode:"masonry",percentPosition:!0,masonry:{columnWidth:".grid-space"},getSortData:{order:"[data-creative-order] parseInt",order_xxl:"[data-creative-order-xxl] parseInt",order_xlg:"[data-creative-order-xlg] parseInt",order_xl:"[data-creative-order-xl] parseInt",order_lg:"[data-creative-order-lg] parseInt",order_md:"[data-creative-order-md] parseInt",order_sm:"[data-creative-order-sm] parseInt"}},theme.defaults.popupPresets={login:{type:"ajax",mainClass:"mfp-login mfp-fade",tLoading:'
',preloader:!0,items:{src:alpha_vars.ajax_url},ajax:{settings:{method:"post",data:{action:"alpha_account_form",nonce:alpha_vars.nonce}},cursor:"mfp-ajax-cur"}},video:{type:"iframe",mainClass:"mfp-fade",preloader:!1,closeBtnInside:!1},firstpopup:{type:"inline",mainClass:"mfp-popup-template mfp-newsletter-popup mfp-flip-popup",callbacks:{beforeClose:function(){e('.mfp-alpha .popup .hide-popup input[type="checkbox"]').prop("checked")&&theme.setCookie("hideNewsletterPopup",!0,7)}}},popup_template:{type:"ajax",mainClass:"mfp-popup-template mfp-flip-popup",tLoading:'',preloader:!0,items:{src:alpha_vars.ajax_url},ajax:{settings:{method:"post"},cursor:"mfp-ajax-cur"}}},theme.defaults.slider={a11y:!1,containerModifierClass:"slider-container-",slideClass:"slider-slide",wrapperClass:"slider-wrapper",slideActiveClass:"slider-slide-active",slideDuplicateClass:"slider-slide-duplicate"},theme.defaults.sliderPresets={"compare-slider":{spaceBetween:10,slidesPerView:2,breakpoints:{992:{spaceBetween:30,slidesPerView:4},768:{spaceBetween:20,slidesPerView:3}}},"products-flipbook":{onInitialized:function(){function t(t){e(t.target).closest(".product-single-carousel, .product-gallery-carousel, .product-thumbs").length&&t.stopPropagation()}this.wrapperEl.addEventListener("mousedown",t),"ontouchstart"in document&&this.wrapperEl.addEventListener("touchstart",t,{passive:!0})}}},theme.preventDefault=function(e){e.preventDefault()},theme.initTemplate=function(e){theme.lazyload(e),theme.slider(e.find(".slider-wrapper")),theme.isotopes(e.find(".grid")),theme.woocommerce.initProducts(e),"function"==typeof theme.countdown&&theme.countdown(e.find(".countdown")),theme.call((function(){theme.$window.trigger("alpha_loadmore")}),300),theme.$body.trigger("alpha_init_tab_template")},theme.loadTemplate=function(t){var i="",a=alpha_vars.resource_split_tasks;alpha_vars.resource_split_tasks=0,t.children(".load-template").each((function(){i+=this.text})),i&&(t.html(i),theme.skeleton?theme.skeleton(e(".skeleton-body"),(function(){theme.initTemplate(t)})):theme.initTemplate(t)),alpha_vars.resource_split_tasks=a},theme.windowResized=function(e){return e==theme.resizeTimeStamp||(theme.resizeChanged=theme.canvasWidth!=window.innerWidth,theme.canvasWidth=window.innerWidth,theme.resizeTimeStamp=e),theme.resizeChanged},theme.setCookie=function(e,t,i){var a=new Date;a.setTime(a.getTime()+24*i*60*60*1e3),document.cookie=e+"="+t+";expires="+a.toUTCString()+";path=/"},theme.getCookie=function(e){for(var t=e+"=",i=document.cookie.split(";"),a=0;a600&&o.length&&(s-=o.parent().outerHeight()),e(".sticky-content.fix-top.fixed").each((function(){s-=this.offsetHeight}))}}e("html,body").stop().animate({scrollTop:s},a)},theme.scrollToFixedContent=function(t,i){var a=0,n=window.innerWidth>600&&e("#wp-toolbar").parent().length?e("#wp-toolbar").parent().outerHeight():0;e(".sticky-content.fix-top").each((function(){if(e(this).hasClass("toolbox-top")){var t=e(this).css("padding-top").slice();t.length>2&&(a-=Number(t.slice(0,-2)))}else{var i=e(this).hasClass("fixed");a+=e(this).addClass("fixed").outerHeight(),i||e(this).removeClass("fixed")}})),theme.scrollTo(t-a-n,i)},theme.getUrlParam=function(e,t){var i,a=document.createElement("a");a.href=decodeURIComponent(decodeURI(e)),(i=a.search).startsWith("?")&&(i=i.substr(1));var n={};return i.split("&").forEach((function(e){var t=e.indexOf("=");t>=0&&(n[e.substr(0,t)]=e.substr(t+1))})),n[t]?n[t]:""},theme.addUrlParam=function(e,t,i){var a,n,s=document.createElement("a");return e=decodeURIComponent(decodeURI(e)),s.href=e,0<=(a=s.search).indexOf(t+"=")?n=a.replace(new RegExp(t+"=[^&]*"),t+"="+i):((n=a.length&&0<=a.indexOf("?")?a:"?").endsWith("?")||(n+="&"),n+=t+"="+i),encodeURI(e.replace(a,"")+n.replace(/&+/,"&"))},theme.removeUrlParam=function(e,t){var i,a,n=document.createElement("a");return e=decodeURIComponent(decodeURI(e)),n.href=e,0<=(i=n.search).indexOf(t+"=")?((a=i.replace(new RegExp(t+"=[^&]*"),"").replace(/&+/,"&").replace("?&","?")).endsWith("&")&&(a=a.substr(0,a.length-1)),a.endsWith("?")&&(a=a.substr(0,a.length-1)),a=a.replace("&&","&")):a=i,encodeURI(e.replace(i,"")+a)},theme.showMore=function(e){theme.$(e).after('
'),theme.$window.trigger("scroll.loadingPosition")},theme.hideMore=function(e){theme.$(e).children(".d-loading-stick, .d-loading").remove()},theme.countTo=function(t,i=!1){e.fn.countTo&&theme.$(t).each((function(){var t=e(this);function a(){setTimeout((function(){var e={onComplete:function(){t.addClass("complete")}};t.data("duration")&&(e.speed=t.data("duration")),t.data("from-value")&&(e.from=t.data("from-value")),t.data("to-value")&&(e.to=t.data("to-value")),e.decimals=e.to&&"string"==typeof e.to&&e.to.indexOf(".")>=0?e.to.length-e.to.indexOf(".")-1:0,t.countTo(e)}),300)}i?a():theme.appear(this,a)}))},theme.parallax=function(){function t(e,t){return this.init(e,t)}t.prototype.init=function(e,t){return e.data("__parallax")||(this.$el=e,this.setData().setOptions(t).build()),this},t.prototype.setData=function(){return this.$el.data("__parallax",this),this},t.prototype.setOptions=function(i){return this.options=e.extend(!0,{},t.defaults,i,{wrapper:this.$el}),this},t.prototype.build=function(){var t,i=this;t=e('');var a=i.options.wrapper.attr("data-parallax-image")?"url("+i.options.wrapper.attr("data-parallax-image")+")":i.options.wrapper.css("background-image");t.css({"background-image":a,"background-size":"cover","background-position":"50% 0%",position:"absolute",width:"100%",height:100*i.options.speed+"%"}),i.options.wrapper.prepend(t),i.options.wrapper.css({position:"relative",overflow:"hidden"}),"left"!=i.options.direction&&"right"!=i.options.direction||t.css({"background-position":"0% 50%",width:100*i.options.speed+"%",height:"100%"});var n=function(){var e=-(100*i.options.speed-100);"up"==i.options.direction?t.attr("data-bottom-top","bottom: "+e+"%;").attr("data-top-bottom","bottom: 0%;"):"down"==i.options.direction?t.attr("data-bottom-top","top: "+e+"%;").attr("data-top-bottom","top: 0%;"):"left"==i.options.direction?t.attr("data-bottom-top","right: "+e+"%;").attr("data-top-bottom","right: 0%;"):t.attr("data-bottom-top","left: "+e+"%;").attr("data-top-bottom","left: 0%;")};return theme.isMobile?1==i.options.enableOnMobile?n():i.options.wrapper.addClass("parallax-disabled"):n(),this},e.fn.themeParallax=function(i){if(!theme.isMobile){if("undefined"==typeof skrollr)return this;var a=this.map((function(){var a=e(this);return a.data("__parallax")?a.data("__parallax"):new t(a,i)}));return theme.parallaxSkrollr&&skrollr.get()?theme.parallaxSkrollr.refresh():theme.isMobile||(theme.parallaxSkrollr=skrollr.init({forceHeight:!1,smoothScrolling:!0}),theme.parallaxSkrollr.refresh()),a}}}();var t=e.fn.block;e.fn.block=function(e){return"complete"==theme.status&&(this.append('
'),t.call(this,e)),this};var i=e.fn.unblock;e.fn.unblock=function(e){return"complete"==theme.status&&(i.call(this,e),this.hasClass("processing")||this.parents(".processing").length||this.children(".d-loading").remove(),theme.woocommerce&&"function"==typeof theme.woocommerce.initAlertAction&&theme.woocommerce.initAlertAction()),this},theme.stickyContent=function(){function t(e,t){return this.init(e,t)}function i(){theme.$window.trigger("sticky_refresh.alpha",{index:0,offsetTop:window.innerWidth>600&&e("#wp-toolbar").length&&e("#wp-toolbar").parent().is(":visible")?e("#wp-toolbar").parent().outerHeight():0})}function a(e){e&&!theme.windowResized(e.timeStamp)||(theme.$window.trigger("sticky_refresh_size.alpha"),theme.requestFrame(i))}return t.prototype.init=function(t,i){this.$el=t,this.options=e.extend(!0,{},theme.defaults.sticky,i,theme.parseOptions(t.attr("data-sticky-options"))),this.scrollPos=window.pageYOffset,this.originalHeight=this.$el.outerHeight(),theme.$window.on("sticky_refresh.alpha",this.refresh.bind(this)).on("sticky_refresh_size.alpha",this.refreshSize.bind(this))},t.prototype.refreshSize=function(e){var t=window.innerWidth>=this.options.minWidth&&window.innerWidth<=this.options.maxWidth;void 0===this.top&&(this.top=this.options.top),window.innerWidth>=768&&this.getTop?this.top=this.getTop():this.options.top||(this.top=this.isWrap?this.$el.parent().offset().top:this.$el.offset().top+this.$el[0].offsetHeight,this.$el.find(".toggle-menu.show-home").length&&(this.top+=this.$el.find(".toggle-menu .dropdown-box")[0].offsetHeight)),this.isWrap?t||this.unwrap():t&&this.wrap(),e&&theme.requestTimeout(this.refreshSize.bind(this),50)},t.prototype.wrap=function(){this.$el.wrap(''),this.$el.closest(".toolbox-horizontal").addClass("horizontal-fixed"),this.isWrap=!0},t.prototype.unwrap=function(){this.$el.unwrap(".sticky-content-wrapper"),this.$el.closest(".toolbox-horizontal").removeClass("horizontal-fixed"),this.isWrap=!1},t.prototype.refresh=function(t,i){var a=window.pageYOffset,n=this.$el;this.refreshSize(),e(".fixed.fix-top").each((function(){a+=e(this).outerHeight()})),a>=this.top+this.originalHeight&&this.isWrap?(this.height=n[0].offsetHeight,n.hasClass("fixed")||n.parent().css("height",this.height+"px"),this.options.scrollMode?(this.scrollPos>=window.pageYOffset&&n.hasClass("fix-top")||this.scrollPos<=window.pageYOffset&&n.hasClass("fix-bottom")?(n.addClass("fixed"),this.onFixed&&this.onFixed()):(n.removeClass("fixed").css({"margin-top":"","margin-bottom":"","z-index":""}),this.onUnfixed&&this.onUnfixed()),this.scrollPos=window.pageYOffset):(n.addClass("fixed"),this.onFixed&&this.onFixed()),n.hasClass("fixed")&&n.hasClass("fix-top")?(this.zIndex=this.options.max_index-e(".fix-top").index(n),n.css({"margin-top":i.offsetTop+"px","z-index":this.zIndex})):n.hasClass("fixed")&&n.hasClass("fix-bottom")?(this.zIndex=this.options.max_index-i.index,n.css({"margin-bottom":i.offsetBottom+"px","z-index":this.zIndex})):n.css({transition:"opacity .5s"}),n.hasClass("fixed")&&(n.hasClass("fix-top")?i.offsetTop+=n[0].offsetHeight:n.hasClass("fix-bottom")&&(i.offsetBottom+=n[0].offsetHeight))):(n.parent().css("height",""),n.removeClass("fixed").css({"margin-top":"","margin-bottom":"","z-index":""}),this.onUnfixed&&this.onUnfixed()),theme.$window.trigger("alpha_finish_sticky")},theme.$window.on("alpha_complete",(function(){window.addEventListener("scroll",i,{passive:!0}),theme.$window.on("resize",a),setTimeout((function(){a()}),1e3)})),function(i,a){theme.$(i).each((function(){var i=e(this);i.data("sticky-content")||i.data("sticky-content",new t(i,a))}))}}(),theme.alert=function(t){theme.$body.on("click",t+" .btn-close",(function(i){i.preventDefault(),e(this).closest(".elementor-widget-"+alpha_vars.theme+"_widget_alert").length&&(t=".elementor-widget-"+alpha_vars.theme+"_widget_alert"),e(this).closest(t).fadeOut((function(){e(this).remove()}))}))},theme.isotopes=function(){function t(t,i){var a=i||e(".grid");a.length&&a.each((function(t){var i=e(this);if(i.attr("data-creative-breaks")&&!i.hasClass("float-grid")){i.children(".grid-item").css({"animation-fill-mode":"none","-webkit-animation-fill-mode":"none"});var a=window.innerWidth,n=JSON.parse(i.attr("data-creative-breaks")),s=i.attr("data-current-break");if(a>=n.xlg?a="":a>=n.xlg&&a=n.xl&&a=n.lg&&a=n.md&&a=n.sm&&a=o.xlg?s="":s>=o.xlg&&s=o.xl&&s=o.lg&&s=o.md&&s=o.sm&&s0?theme.isIE?i(s.find(".expanded"),(function(){i(n)})):(i(s.find(".expanded")),i(n)):i(n))))}));var i=function(e,i){var a=e.closest(".card"),n=a.find(t);e.hasClass("expanded")?(n.removeClass("collapse").addClass("expand"),a.removeClass("collapse").addClass("expand"),e.addClass("collapsing").slideUp(300,(function(){e.removeClass("expanded collapsing").addClass("collapsed"),i&&i()}))):e.hasClass("collapsed")&&(n.removeClass("expand").addClass("collapse"),a.removeClass("expand").addClass("collapse"),e.addClass("expanding").slideDown(300,(function(){e.removeClass("collapsed expanding").addClass("expanded"),i&&i()})))}},theme.tab=function(t){if(""!=t){var i=function(i,a){var n=e(i);if(!n.closest(t).hasClass("loading")){var s,o="SPAN"==i.tagName?n.data("href"):n.attr("href");if(s="#"==o?n.closest(".nav").siblings(".tab-content").children(".tab-pane").eq(n.parent().index()):e(("#"==o.substring(0,1)?"":"#")+o),e(".elementor-element[data-id="+o+"]").length&&(s=e(".elementor-element[data-id="+o+"]")),s.length){a.preventDefault();var r=s.parent().children(".active");!n.hasClass("active")&&o&&(n.parent().parent().find(".active").removeClass("active"),n.addClass("active"),theme.loadTemplate(s),theme.slider(s.find(".slider-wrapper")),r.removeClass("in active"),s.addClass("active in"),theme.refreshLayouts())}}};"object"==typeof t?t.find(".nav-link").on("click",(function(e){i(this,e)})):theme.$body.on("click",t+" .nav-link",(function(e){i(this,e)}))}},theme.playableVideo=function(t){e(t+" .video-play").on("click",(function(i){var a=e(this).closest(t);a.hasClass("playing")?a.removeClass("playing").addClass("paused").find("video")[0].pause():a.removeClass("paused").addClass("playing").find("video")[0].play(),i.preventDefault()})),e(t+" video").on("ended",(function(){e(this).closest(".post-video").removeClass("playing")}))},theme.appearAnimate=function(e){var t="string"==typeof e&&e.indexOf("elementor-invisible")>0?"elementor-invisible":"appear-animate";theme.$(e).each((function(){var e=this;theme.appear(e,(function(){if(e.classList.contains(t)&&!e.classList.contains("appear-animation-visible")){var i=theme.parseOptions(e.getAttribute("data-settings")),a=1e3;e.classList.contains("animated-slow")?a=2e3:e.classList.contains("animated-fast")&&(a=750),theme.call((function(){e.style["animation-duration"]=a+"ms",e.style["animation-delay"]=i._animation_delay+"ms",e.style["transition-property"]="visibility, opacity",e.style["transition-duration"]="0s",e.style["transition-delay"]=i._animation_delay+"ms";var t=i.animation||i._animation||i._animation_name;t&&e.classList.add(t),e.classList.add("appear-animation-visible"),setTimeout((function(){e.style["transition-property"]="",e.style["transition-duration"]="",e.style["transition-delay"]="",e.classList.add("animating"),setTimeout((function(){e.classList.add("animated-done")}),a)}),i._animation_delay?i._animation_delay+500:500)}))}}))})),"object"==typeof elementorFrontend&&theme.$window.trigger("resize.waypoints")};var a,n,s,o,r,l;theme.initPopups=function(){function t(t){var i=e(t.target);i.closest(".mfp-gallery").length||i.closest(".mfp-content").length&&!i.hasClass("mfp-content")||e.fn.magnificPopup&&e.magnificPopup.instance.close()}theme.$body.on("click",".btn-video-iframe",(function(t){t.preventDefault(),theme.popup({items:{src:'