!function(e){woodmartThemeModule.menuStickyOffsets=function(){var o=e(".wd-sticky-nav"),t=e(".wd-close-side");function n(e,n=!0){e.addClass("wd-opened"),o.addClass("wd-opened"),t.trigger("wdCloseSideAction",["show","click","wd-location-sticky-nav"]),n&&o.on("mouseout",function(){d(),o.off("mouseout")})}function d(){e(".wd-header-sticky-nav").removeClass("wd-opened"),o.removeClass("wd-opened"),t.trigger("wdCloseSideAction",["hide","click","wd-location-sticky-nav"])}e(".wd-sticky-nav .wd-nav-sticky.wd-nav-vertical").each(function(){var o=e(this);o.on("mouseenter mousemove",function(){o.hasClass("wd-offsets-calculated")||(o.find("> .menu-item-has-children").each(function(){var o=e(this);o.find("> .wd-dropdown.wd-design-full-height").length||(t(o),o.find("> .wd-dropdown").length&&o.find(".menu-item.menu-item-has-children").each(function(){t(e(this))}))}),o.addClass("wd-offsets-calculated"))}),void 0!==woodmart_settings.clear_menu_offsets_on_resize&&"yes"!==woodmart_settings.clear_menu_offsets_on_resize||setTimeout(function(){woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){o.removeClass("wd-offsets-calculated"),o.find(" > .menu-item-has-children > .wd-dropdown-menu").attr("style","")},300))},2e3);var t=function(e){var o=e.find(" > .wd-dropdown"),t=o.innerHeight(),n=o.offset().top-woodmartThemeModule.$window.scrollTop(),d=woodmartThemeModule.$window.height(),s=0;o.attr("style",""),t&&n&&n+t>=d&&(s=n+t-d,o.css({top:-s}))}}),woodmartThemeModule.$document.on("click",".wd-header-sticky-nav",function(o){o.preventDefault();var t=e(this);n(t,t.hasClass("wd-close-menu-mouseout"))}),woodmartThemeModule.$document.on("mouseenter mousemove",".wd-header-sticky-nav.wd-event-hover",function(){n(e(this))}),woodmartThemeModule.$document.on("click touchstart",".wd-close-side.wd-location-sticky-nav",function(){d()})},window.addEventListener("wdEventStarted",function(){setTimeout(function(){woodmartThemeModule.menuStickyOffsets()},100)})}(jQuery);
!function(e){woodmartThemeModule.menuOverlay=function(){var d=".wd-header-nav.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-hover, .wd-header-cats.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-hover, .wd-sticky-nav:not(.wd-opened), .wd-header-cats.wd-with-overlay.wd-event-hover, .wd-header-my-account.wd-with-overlay, .wd-header-cart.wd-with-overlay, .wd-header-search.wd-display-dropdown.wd-with-overlay",o="",t=e(".wd-close-side");woodmartThemeModule.$document.on("mouseleave",d,function(){e(this).parents(".wd-header-cats.wd-with-overlay.wd-event-click.wd-opened").length||t.trigger("wdCloseSideAction",["hide","hover","wd-location-header-sticky wd-location-header wd-location-header-cats wd-location-sticky-nav"])}),woodmartThemeModule.$document.on("mouseenter mousemove",d,function(){var d=e(this);if(!(t.hasClass("wd-close-side-opened")||woodmartThemeModule.$window.width()<768)){var o=d.parents(".whb-header").length,a=d.parents(".whb-clone").length,n=d.hasClass("wd-sticky-nav"),w=d.parents(".wd-header-cats").length,i="";o?(i=d.parents(".whb-sticked").length?"wd-location-header-sticky":"wd-location-header",w&&(i+=" wd-location-header-cats")):a?i="wd-location-header-sticky":n&&(i="wd-location-sticky-nav"),t.trigger("wdCloseSideAction",["show","hover",i])}}),woodmartThemeModule.$document.on("click",".wd-header-nav.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-click, .wd-header-cats.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-click, .wd-header-cats.wd-with-overlay.wd-event-click, .wd-search-form.wd-with-overlay .wd-search-cat",function(d){var o=e(this);o.parents(".wd-header-cats.wd-with-overlay.wd-event-click.wd-opened").length||o.parents(".wd-header-cats.wd-with-overlay.wd-event-hover").length||setTimeout(function(){var e=o.hasClass("wd-opened")?"show":"hide";t.trigger("wdCloseSideAction",[e,"click"])})}),woodmartThemeModule.$document.on("click touchstart",".wd-close-side.wd-location-header",function(){e(this).removeClass("wd-location-header wd-close-side-opened")}),t.on("wdCloseSideAction",function(e,d,a,n="wd-location-header"){"hover"===a&&"click"===o||(o="click"===a&&"hide"===d?"":a,"show"===d?t.addClass("wd-close-side-opened").addClass(n):t.removeClass("wd-close-side-opened").removeClass(n))})},["wdEventStarted","wdUpdatedHeader"].forEach(e=>{window.addEventListener(e,function(){woodmartThemeModule.menuOverlay()})})}(jQuery);
!function(e){woodmartThemeModule.menuOffsets=function(){e(".wd-header-main-nav ul.menu > li, .wd-header-secondary-nav ul.menu > li, .widget_nav_mega_menu ul.menu:not(.wd-nav-vertical) > li, .wd-header-main-nav .wd-dropdown.wd-design-aside ul > li").each(function(){var d=e(this);function s(){d.hasClass("wd-offsets-calculated")||d.parents(".wd-design-aside").length||(d.find(" > .menu-item-has-children").each(function(){!function(d){var s,o,n,a=d.find(" > .wd-dropdown-menu"),t=a.outerWidth(),w=a.offset();if(a.attr("style",""),t&&w)if(a.hasClass("wd-design-full-width")||a.hasClass("wd-design-aside"))o=woodmartThemeModule.$window.width(),woodmartThemeModule.$body.hasClass("rtl")?(n=o-w.left-t)+t>=o&&(s=n+t-o,a.css({right:-s})):w.left+t>=o&&(s=w.left+t-o,a.css({left:-s}));else if(a.hasClass("wd-design-sized")||a.hasClass("wd-design-full-height")){o=woodmart_settings.site_width,(woodmartThemeModule.$window.width()<o||!o||d.parents(".whb-header").hasClass("whb-full-width"))&&(o=woodmartThemeModule.$window.width()),n=o-w.left-t;var i,l=15,r=(woodmartThemeModule.$window.width()-o)/2,m=e(".wd-sticky-nav");woodmartThemeModule.$body.hasClass("wd-sticky-nav-enabled")&&m.length&&(l-=m.width()/2),woodmartThemeModule.$body.hasClass("rtl")?(i=r+n)+t>=o&&(s=i+t-o,a.css({right:-s-l})):(i=w.left-r)+t>=o&&(s=i+t-o,a.css({left:-s-l}))}}(e(this))}),woodmartThemeModule.$document.trigger("resize.vcRowBehaviour"),d.addClass("wd-offsets-calculated"))}d.hasClass("menu-item")&&(d=e(this).parent()),d.on("mouseenter mousemove",function(){s()}),woodmartThemeModule.$window.on("wdHeaderBuilderStickyChanged",s),"yes"===woodmart_settings.clear_menu_offsets_on_resize&&setTimeout(function(){woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){d.removeClass("wd-offsets-calculated"),d.find(" > .menu-item-has-children > .wd-dropdown-menu").attr("style","")},300))},2e3)})},woodmartThemeModule.menuDropdownAside=function(){e(".wd-nav .wd-design-aside, .wd-header-cats.wd-open-dropdown .wd-nav").each(function(){var d=e(this).find(".menu-item");if(d.length){var s=d.first();s.hasClass("menu-item-has-children")||s.parents(".wd-sub-menu-wrapp").addClass("wd-empty-item"),s.addClass("wd-opened").find(".wd-dropdown").addClass("wd-opened"),d.on("mouseover",function(){var d=e(this),s=d.parents(".wd-sub-menu-wrapp");d.hasClass("wd-opened")||(d.hasClass("item-level-1")&&(d.hasClass("menu-item-has-children")?s.removeClass("wd-empty-item"):s.addClass("wd-empty-item")),d.siblings().removeClass("wd-opened").find(".wd-dropdown").removeClass("wd-opened"),d.addClass("wd-opened").find(".wd-dropdown").addClass("wd-opened"))})}})},window.addEventListener("wdEventStarted",function(){setTimeout(function(){woodmartThemeModule.menuDropdownAside(),woodmartThemeModule.menuOffsets()},100)}),window.addEventListener("wdUpdatedHeader",function(){e(".whb-header .wd-offsets-calculated").removeClass("wd-offsets-calculated"),e(".whb-header .menu-item.wd-opened, .whb-header .wd-dropdown.wd-opened").removeClass("wd-opened"),e(".whb-header .wd-dropdown-menu").attr("style",""),woodmartThemeModule.menuDropdownAside(),woodmartThemeModule.menuOffsets()})}(jQuery);
!function(e){woodmartThemeModule.menuSetUp=function(){var n=e(".wd-nav, .wd-header-cats, .wd-search-cat"),d="wd-opened";if(e(".mobile-nav").find("ul.wd-nav-mobile").find(" > li").has(".wd-dropdown-menu").addClass("menu-item-has-children"),woodmartThemeModule.$document.on("click",".wd-nav .wd-event-click > a, .wd-header-cats.wd-event-click > span, .wd-search-cat-btn",function(n){n.preventDefault();var t=e(this);t.parent().siblings().hasClass(d)&&t.parent().siblings().removeClass(d),t.parent().toggleClass(d)}),woodmartThemeModule.$document.on("click",function(t){var o=t.target;if(!(!(e("."+d).length>0)||e(o).is(".wd-event-hover")||e(o).parents().is(".wd-event-hover")||e(o).parents().is("."+d)||e(o).is("."+d)||e(o).is(".wd-sticky-nav")||o.closest(".wd-cookies-popup")||o.closest(".wd-fb-holder")||0!==e(".mfp-ready").length||0!==e(".pswp--open").length)){if(n.find(".wd-event-click."+d).removeClass(d),n.hasClass("wd-event-click")&&n.removeClass(d),e(o).closest(".wd-with-overlay").length)return;e(".wd-close-side").trigger("wdCloseSideAction",["hide","click"])}}),"yes"===woodmart_settings.menu_item_hover_to_click_on_responsive){function t(){woodmartThemeModule.$window.width()<=1024?n.find(" > .menu-item-has-children.wd-event-hover").each(function(){e(this).data("original-event","hover").removeClass("wd-event-hover").addClass("wd-event-click")}):n.find(" > .wd-event-click").each(function(){var n=e(this);"hover"===n.data("original-event")&&n.removeClass("wd-event-click").addClass("wd-event-hover")})}t(),woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){t()},300))}},["wdEventStarted","wdUpdatedHeader"].forEach(e=>{window.addEventListener(e,function(){woodmartThemeModule.menuSetUp()})})}(jQuery);
!function(e){woodmartThemeModule.headerBuilder=function(){var s,l=e(".whb-header"),d=e(".wd-hb"),o=e(".whb-sticky-row"),a="",r=woodmartThemeModule.$window,t=!1,h=300,n="",w=l.hasClass("whb-hide-on-scroll");if(o.each(function(){var s=e(this);if(s[0].offsetHeight>10)return a=s,!1}),l.hasClass("whb-sticky-real")||l.hasClass("whb-scroll-slide")){var i=e("#wpadminbar"),c=l.find(".whb-main-header")[0].offsetHeight,f=i.length>0?i[0].offsetHeight:0;if(l.hasClass("whb-sticky-real")){if(0===a.length||a[0].offsetHeight<10||"undefined"!=typeof elementorFrontend&&elementorFrontend.isEditMode())return;l.addClass("whb-sticky-prepared"),h=Math.ceil(a.offset().top)-f}l.hasClass("whb-scroll-slide")&&(h=c+f)}if(l.hasClass("whb-sticky-clone")){var b=[];b.cloneClass=l.find(".whb-general-header").attr("class"),w&&(b.wrapperClasses="whb-hide-on-scroll"),e(".whb-clone").length&&e(".whb-clone").remove(),n=(n=(n=(n=(n=woodmart_settings.whb_header_clone).replace(/<%([^%>]+)?%>|{{([^{}]+)}}/g,function(s){var d=s.slice(2,-2);return l.find(d).length?e("<div>").append(l.find(d).first().clone()).html():void 0!==b[d]?b[d]:""})).replace(/<link[^>]*>/g,"")).replace("whb-col-1","")).replace("dropdowns-loading",""),l.after(n),(l=l.parent().find(".whb-clone")).find(".whb-row").removeClass("whb-flex-equal-sides").addClass("whb-flex-flex-middle"),window.dispatchEvent(new CustomEvent("wdHeaderBuilderCloneCreated"))}function u(){l.hasClass("whb-boxed")&&(e(".wd-offsets-calculated .wd-dropdown-menu").attr("style",""),e(".wd-offsets-calculated").removeClass("wd-offsets-calculated"),woodmartThemeModule.$window.trigger("wdHeaderBuilderStickyChanged"))}r.on("scroll",function(){var o=h,a=woodmartThemeModule.$window.scrollTop(),r=woodmartThemeModule.$window.height(),n=woodmartThemeModule.$document.height();d.length>0&&d.hasClass("wd-display")&&(o+=d[0].offsetHeight),!e(".wd-hb-close").length&&l.hasClass("whb-scroll-stick")&&(o=h),a>o?t||(t=!0,l.addClass("whb-sticked"),u()):t&&(t=!1,l.removeClass("whb-sticked"),u());var i=100;l.hasClass("whb-scroll-stick")&&(i=500),w&&(s-a>0&&a>o?(l.addClass("whb-scroll-up"),l.removeClass("whb-scroll-down")):a-s>0&&a+r!==n&&a>o+i?(l.addClass("whb-scroll-down"),l.removeClass("whb-scroll-up")):a<=o?(l.removeClass("whb-scroll-down"),l.removeClass("whb-scroll-up")):a+r>=n-5&&(l.addClass("whb-scroll-up"),l.removeClass("whb-scroll-down"))),s=a}),woodmartThemeModule.$document.trigger("wdHeaderBuilderInited")},["wdEventStarted","wdUpdatedHeader"].forEach(e=>{window.addEventListener(e,function(){woodmartThemeModule.headerBuilder()})})}(jQuery);
!function(e){woodmartThemeModule.mobileSearchIcon=function(){woodmartThemeModule.$body.on("click",".wd-header-search-mobile:not(.wd-display-full-screen, .wd-display-full-screen-2)",function(d){d.preventDefault();var o=e(".mobile-nav");o.hasClass("wd-opened")||(e(this).addClass("wd-opened"),o.addClass("wd-opened"),e(".wd-close-side").addClass("wd-close-side-opened"),e(".mobile-nav .searchform").find('input[type="text"]').trigger("focus"))})},e(document).ready(function(){woodmartThemeModule.mobileSearchIcon()})}(jQuery);
(function(){var t,i;t=window.jQuery,i=t(window),t.fn.stick_in_parent=function(o){var s,n,e,c,r,l,a,p,u,f,d,h;for(null==o&&(o={}),h=o.sticky_class,l=o.inner_scrolling,d=o.recalc_every,f=o.parent,u=o.offset_top,p=o.spacer,e=o.bottoming,null==u&&(u=0),null==f&&(f=void 0),null==l&&(l=!0),null==h&&(h="is_stuck"),s=t(document),null==e&&(e=!0),c=function(o,n,c,r,a,k,g,m){var v,y,_,b,w,C,I,x,z,M,T;if(!o.data("sticky_kit")){if(o.data("sticky_kit",!0),w=s.height(),I=o.parent(),null!=f&&(I=I.closest(f)),!I.length)throw"failed to find stick parent";if(_=!1,v=!1,null!=p?p&&o.closest(p):t("<div />"),(x=function(){var t,i,n;if(!m)return w=s.height(),t=parseInt(I.css("border-top-width"),10),i=parseInt(I.css("padding-top"),10),parseInt(I.css("padding-bottom"),10),c=I.offset().top+t+i,r=I.height(),_&&(_=!1,v=!1,o.css({position:"",top:"",width:"",bottom:""}).removeClass(h),n=!0),a=o.offset().top-(parseInt(o.css("margin-top"),10)||0)-u,k=o.outerHeight(!0),o.css("float"),n?T():void 0})(),k!==r)return b=void 0,C=u,M=d,T=function(){var t,n,p,f,g,y;m||(p=!1,null!=M&&(M-=1)<=0&&(M=d,x(),p=!0),p||s.height()===w||(x(),p=!0),f=i.scrollTop(),null!=b&&(n=f-b),b=f,_?(e&&(g=f+k+C>r+c,v&&!g&&(v=!1,o.css({position:"sticky",bottom:"",top:C}).trigger("sticky_kit:unbottom"))),f<a&&(_=!1,C=u,t={position:"",width:"",top:""},o.css(t).removeClass(h).trigger("sticky_kit:unstick")),l&&(y=i.height(),k+u>y&&(v||(C-=n,C=Math.max(y-k,C),C=Math.min(u,C),_&&o.css({top:C+"px"}))))):f>a&&(_=!0,t={position:"sticky",top:C},o.css(t).addClass(h),o.trigger("sticky_kit:stick")),_&&e&&(null==g&&(g=f+k+C>r+c),!v&&g&&(v=!0,"static"===I.css("position")&&I.css({position:"relative"}))))},z=function(){return x(),T()},y=function(){if(m=!0,i.off("touchmove",T),i.off("scroll",T),i.off("resize",z),t(document.body).off("sticky_kit:recalc",z),o.off("sticky_kit:detach",y),o.removeData("sticky_kit"),o.css({position:"",bottom:"",top:"",width:""}),I.position("position",""),_)return o.removeClass(h)},i.on("touchmove",T),i.on("scroll",T),i.on("resize",z),t(document.body).on("sticky_kit:recalc",z),o.on("sticky_kit:detach",y),setTimeout(T,0)}},r=0,a=this.length;r<a;r++)n=this[r],c(t(n));return this}}).call(this);
!function(t){woodmartThemeModule.$document.on("wdElementorColumnReady pjax:complete wdShopPageInit",function(){woodmartThemeModule.stickyColumn()}),woodmartThemeModule.$window.on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementorFrontend.hooks.addAction("frontend/element_ready/container",function(t){var e=t.data("model-cid");void 0!==elementorFrontend.config.elements.data[e]&&(elementorFrontend.config.elements.data[e].attributes.container_sticky?t.addClass("wd-sticky-container-lg"):t.removeClass("wd-sticky-container-lg"),elementorFrontend.config.elements.data[e].attributes.container_sticky_tablet?t.addClass("wd-sticky-container-md-sm"):t.removeClass("wd-sticky-container-md-sm"),elementorFrontend.config.elements.data[e].attributes.container_sticky_mobile?t.addClass("wd-sticky-container-sm"):t.removeClass("wd-sticky-container-sm"))})}),woodmartThemeModule.stickyColumn=function(){t(".woodmart-sticky-column").each(function(){for(var e=t(this),n=150,o=e.attr("class").split(" "),i=0;i<o.length;i++)if(o[i].indexOf("wd_sticky_offset_")>=0){var s=o[i].split("_");n=parseInt(s[3])}e.find(" > .vc_column-inner > .wpb_wrapper").trigger("sticky_kit:detach"),e.find(" > .vc_column-inner > .wpb_wrapper").stick_in_parent({offset_top:n})}),t(".wd-elementor-sticky-column").each(function(){for(var e=t(this),n=150,o=e.attr("class").split(" "),i=0;i<o.length;i++)if(o[i].indexOf("wd_sticky_offset_")>=0){var s=o[i].split("_");n=parseInt(s[3])}var a=e.find(" > .elementor-widget-wrap");a.length<=0&&(a=e.find("> .elementor-widget-wrap")),a.stick_in_parent({offset_top:n})}),t(':is(.wp-block-wd-column, .wp-block-wd-off-sidebar, .wp-block-wd-off-content)[class*="wd-sticky-on-"]').each(function(){for(var e=t(this),n=150,o=e.attr("class").split(" "),i=0;i<o.length;i++)if(o[i].indexOf("wd_sticky_offset_")>=0){var s=o[i].split("_");n=parseInt(s[3])}function a(){var t=woodmartThemeModule.$window.width();e.trigger("sticky_kit:detach"),!e.hasClass("wd-sticky-on-lg")&&t>1024||!e.hasClass("wd-sticky-on-md-sm")&&t<=1024&&t>768||!e.hasClass("wd-sticky-on-sm")&&t<=768||e.stick_in_parent({offset_top:n})}a(),woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){a()},300))}),t('[class*="wd-sticky-container-"]').each(function(){var e=t(this);function n(){var t=woodmartThemeModule.$window.width();if(e.trigger("sticky_kit:detach"),!(!e.hasClass("wd-sticky-container-lg")&&t>1024||!e.hasClass("wd-sticky-container-md-sm")&&t<=1024&&t>768||!e.hasClass("wd-sticky-container-sm")&&t<=768)){var n=window.getComputedStyle(e[0]),o=parseInt(n.getPropertyValue("--wd-sticky-offset"),10);e.stick_in_parent({offset_top:o})}}n(),woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){n()},300))})},t(document).ready(function(){woodmartThemeModule.stickyColumn()})}(jQuery);
(a=>{var r,t,e,n;function o(n,i){var o=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=a(this),e=t.data("vc.accordion");e||(e=new r(t,a.extend(!0,{},i)),t.data("vc.accordion",e)),"string"==typeof n&&e[n].apply(e,o)})}(r=function(t){this.$element=t,this.activeClass="vc_active",this.animatingClass="vc_animating",this.useCacheFlag=void 0,this.$target=void 0,this.$targetContent=void 0,this.selector=void 0,this.$container=void 0,this.animationDuration=void 0,this.index=0}).transitionEvent=function(){var t,e=document.createElement("vcFakeElement"),n={transition:"transitionend",MSTransition:"msTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==e.style[t])return n[t]},r.emulateTransitionEnd=function(t,e){var n=!1;e=e||250,t.one(r.transitionName,function(){n=!0}),setTimeout(function(){n||t.trigger(r.transitionName)},e)},r.DEFAULT_TYPE="collapse",r.transitionName=r.transitionEvent(),r.prototype.controller=function(t){var e=this.$element,n=t;"string"==typeof(n=void 0===(n="string"!=typeof n?e.data("vcAction")||this.getContainer().data("vcAction"):n)?r.DEFAULT_TYPE:n)&&o.call(e,n,t)},r.prototype.isCacheUsed=function(){var t=this;return void 0===this.useCacheFlag&&(this.useCacheFlag=function(){return!1!==t.$element.data("vcUseCache")}()),this.useCacheFlag},r.prototype.getSelector=function(){var e=this.$element,t=function(){var t=e.data("vcTarget");return t=t||e.attr("href")};return this.isCacheUsed()?(void 0===this.selector&&(this.selector=t()),this.selector):t()},r.prototype.findContainer=function(){var t=this.$element.closest(this.$element.data("vcContainer"));return t=t.length?t:a("body")},r.prototype.getContainer=function(){return this.isCacheUsed()?(void 0===this.$container&&(this.$container=this.findContainer()),this.$container):this.findContainer()},r.prototype.getTarget=function(){var e=this,n=e.getSelector(),t=function(){var t=e.getContainer().find(n);return t=t.length?t:e.getContainer().filter(n)};return this.isCacheUsed()?(void 0===this.$target&&(this.$target=t()),this.$target):t()},r.prototype.getTargetContent=function(){var t,e=this.getTarget();return this.isCacheUsed()?(void 0===this.$targetContent&&((t=e).data("vcContent")&&!(t=e.find(e.data("vcContent"))).length&&(t=e),this.$targetContent=t),this.$targetContent):e.data("vcContent")&&(t=e.find(e.data("vcContent"))).length?t:e},r.prototype.getTriggers=function(){var n=0;return this.getContainer().find("[data-vc-accordion]").each(function(){var t=a(this),e=t.data("vc.accordion");void 0===e&&(t.vcAccordion(),e=t.data("vc.accordion")),e&&e.setIndex&&e.setIndex(n++)})},r.prototype.setIndex=function(t){this.index=t},r.prototype.getIndex=function(){return this.index},r.prototype.triggerEvent=function(t,e){"string"==typeof t&&(t=a.Event(t),this.$element.trigger(t,e))},r.prototype.getActiveTriggers=function(){return this.getTriggers().filter(function(){var t=a(this).data("vc.accordion");return t.getTarget().hasClass(t.activeClass)})},r.prototype.changeLocationHash=function(){var t,e=this.getTarget();(t=e.length?e.attr("id"):t)&&(history.pushState?history.pushState(null,null,"#"+t):location.hash="#"+t)},r.prototype.isActive=function(){return this.getTarget().hasClass(this.activeClass)},r.prototype.getAnimationDuration=function(){var t=this,e=function(){return void 0===r.transitionName?"0s":t.getTargetContent().css("transition-duration").split(",")[0]};return this.isCacheUsed()?(void 0===this.animationDuration&&(this.animationDuration=e()),this.animationDuration):e()},r.prototype.getAnimationDurationMilliseconds=function(){var t=this.getAnimationDuration();return"ms"===t.substr(-2)?parseInt(t):"s"===t.substr(-1)?Math.round(1e3*parseFloat(t)):void 0},r.prototype.isAnimated=function(){return 0<parseFloat(this.getAnimationDuration())},r.prototype.show=function(e){var n=this,i=n.getTarget(),o=n.getTargetContent();n.isActive()||(n.isAnimated()?(n.triggerEvent("beforeShow.vc.accordion"),i.queue(function(t){o.one(r.transitionName,function(){i.removeClass(n.animatingClass),o.attr("style",""),n.triggerEvent("afterShow.vc.accordion",e)}),r.emulateTransitionEnd(o,n.getAnimationDurationMilliseconds()+100),t()}).queue(function(t){o.attr("style",""),o.css({position:"absolute",visibility:"hidden",display:"block"});var e=o.height();o.data("vcHeight",e),o.attr("style",""),t()}).queue(function(t){o.height(0),o.css({"padding-top":0,"padding-bottom":0}),t()}).queue(function(t){i.addClass(n.animatingClass),i.addClass(n.activeClass),("object"==typeof e&&e.hasOwnProperty("changeHash")&&e.changeHash||void 0===e)&&n.changeLocationHash(),n.triggerEvent("show.vc.accordion",e),t()}).queue(function(t){var e=o.data("vcHeight");o.animate({height:e},{duration:n.getAnimationDurationMilliseconds(),complete:function(){o.data("events")||o.attr("style","")}}),o.css({"padding-top":"","padding-bottom":""}),t()})):(i.addClass(n.activeClass),n.triggerEvent("show.vc.accordion",e)))},r.prototype.hide=function(e){var n=this,i=n.getTarget(),o=n.getTargetContent();n.isActive()&&(n.isAnimated()?(n.triggerEvent("beforeHide.vc.accordion"),i.queue(function(t){o.one(r.transitionName,function(){i.removeClass(n.animatingClass),o.attr("style",""),n.triggerEvent("afterHide.vc.accordion",e)}),r.emulateTransitionEnd(o,n.getAnimationDurationMilliseconds()+100),t()}).queue(function(t){i.addClass(n.animatingClass),i.removeClass(n.activeClass),n.triggerEvent("hide.vc.accordion",e),t()}).queue(function(t){var e=o.height();o.height(e),t()}).queue(function(t){o.animate({height:0},n.getAnimationDurationMilliseconds()),o.css({"padding-top":0,"padding-bottom":0}),t()})):(i.removeClass(n.activeClass),n.triggerEvent("hide.vc.accordion",e)))},r.prototype.toggle=function(t){var e=this.$element;this.isActive()?o.call(e,"hide",t):o.call(e,"show",t)},r.prototype.dropdown=function(e){var n=this.$element;this.isActive()?o.call(n,"hide",e):(o.call(n,"show",e),a(document).on("click.vc.accordion.data-api.dropdown",function(t){o.call(n,"hide",e),a(document).off(t)}))},r.prototype.collapse=function(t){var e=this.$element,n=this.getActiveTriggers().filter(function(){return e[0]!==this});n.length&&o.call(n,"hide",t),o.call(e,"show",t)},r.prototype.collapseAll=function(t){var e=this.$element,n=this.getActiveTriggers().filter(function(){return e[0]!==this});n.length&&o.call(n,"hide",t),o.call(e,"toggle",t)},r.prototype.showNext=function(t){var e,n=this.getTriggers(),i=this.getActiveTriggers();n.length&&(-1<(e=i.length&&(i=i.eq(i.length-1).vcAccordion().data("vc.accordion"))&&i.getIndex?i.getIndex():e)&&e+1<n.length?o.call(n.eq(e+1),"controller",t):o.call(n.eq(0),"controller",t))},r.prototype.showPrev=function(t){var e,n=this.getTriggers(),i=this.getActiveTriggers();n.length&&(i.length&&(i=i.eq(i.length-1).vcAccordion().data("vc.accordion"))&&i.getIndex&&(e=i.getIndex()),o.call(-1<e?0<=e-1?n.eq(e-1):n.eq(n.length-1):n.eq(0),"controller",t))},r.prototype.showAt=function(t,e){var n=this.getTriggers();n.length&&t&&t<n.length&&o.call(n.eq(t),"controller",e)},r.prototype.scrollToActive=function(t){var e,n;(void 0===t||void 0===t.scrollTo||t.scrollTo)&&(0,(n=a((e=this).getTarget())).length)&&this.$element.length&&setTimeout(function(){n.offset().top-a(window).scrollTop()-+e.$element.outerHeight()<0&&a("html, body").animate({scrollTop:n.offset().top-+e.$element.outerHeight()},300)},300)},e=a.fn.vcAccordion,a.fn.vcAccordion=o,a.fn.vcAccordion.Constructor=r,a.fn.vcAccordion.noConflict=function(){return a.fn.vcAccordion=e,this},t=function(t){var e=a(this);t.preventDefault(),o.call(e,"controller")},n=function(){var t,e=window.location.hash;e&&(t=a(e)).length&&(e=t.find('[data-vc-accordion][href="'+e+'"],[data-vc-accordion][data-vc-target="'+e+'"]')).length&&(setTimeout(function(){a("html, body").animate({scrollTop:t.offset().top-.2*a(window).height()},0)},300),e.trigger("click"))},a(window).on("hashchange.vc.accordion",n),a(document).on("click.vc.accordion.data-api","[data-vc-accordion]",t),a(document).ready(n),a(document).on("afterShow.vc.accordion",function(t,e){o.call(a(t.target),"scrollToActive",e)})})(window.jQuery);
(n=>{var o,s,t;o=function(a,o){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=n(this),e=t.data("vc.tta.autoplay");e||(e=new s(t,n.extend(!0,{},s.DEFAULTS,t.data("vc-tta-autoplay"),o)),t.data("vc.tta.autoplay",e)),"string"==typeof a?e[a].apply(e,i):e.start(i)})},(s=function(t,e){this.$element=t,this.options=e}).DEFAULTS={delay:5e3,pauseOnHover:!0,stopOnClick:!0},s.prototype.show=function(){this.$element.find("[data-vc-accordion]:eq(0)").vcAccordion("showNext",{changeHash:!1,scrollTo:!1})},s.prototype.hasTimer=function(){return void 0!==this.$element.data("vc.tta.autoplay.timer")},s.prototype.setTimer=function(t){this.$element.data("vc.tta.autoplay.timer",t)},s.prototype.getTimer=function(){return this.$element.data("vc.tta.autoplay.timer")},s.prototype.deleteTimer=function(){this.$element.removeData("vc.tta.autoplay.timer")},s.prototype.start=function(){var e,a;e=this.$element,(a=this).hasTimer()||(this.setTimer(window.setInterval(this.show.bind(this),this.options.delay)),this.options.stopOnClick&&e.on("click.vc.tta.autoplay.data-api","[data-vc-accordion]",function(t){t&&t.preventDefault&&t.preventDefault(),a.hasTimer()&&o.call(e,"stop")}),this.options.pauseOnHover&&e.hover(function(t){t&&t.preventDefault&&t.preventDefault(),a.hasTimer()&&o.call(e,"mouseleave"===t.type?"resume":"pause")}))},s.prototype.resume=function(){this.hasTimer()&&this.setTimer(window.setInterval(this.show.bind(this),this.options.delay))},s.prototype.stop=function(){this.pause(),this.deleteTimer(),this.$element.off("click.vc.tta.autoplay.data-api mouseenter mouseleave")},s.prototype.pause=function(){var t=this.getTimer();void 0!==t&&window.clearInterval(t)},t=n.fn.vcTtaAutoPlay,n.fn.vcTtaAutoPlay=o,n.fn.vcTtaAutoPlay.Constructor=s,n.fn.vcTtaAutoPlay.noConflict=function(){return n.fn.vcTtaAutoPlay=t,this},n(document).ready(function(){n("[data-vc-tta-autoplay]").each(function(){n(this).vcTtaAutoPlay()})})})(window.jQuery);