!function(a,t){"use strict";a(".htmega-slick-slider").each((function(){!function(t){const i=a(t).data("settings");i&&a(t).slick({...i,prevArrow:'<button type="button" class="slick-prev"><i class="dashicons dashicons-arrow-left-alt2"></i></button>',nextArrow:'<button type="button" class="slick-next"><i class="dashicons dashicons-arrow-right-alt2"></i></button>'})}(a(this))})),a(".htmega-accordion-card-header").each((function(){var t;t=a(this),a(t).on("click",(function(){const t=a(this).closest(".htmega-accordion-card"),i=a(this).siblings(".htmega-accordion-card-body"),s=t.siblings();t.hasClass("htmega-accordion-card-active")?(t.removeClass("htmega-accordion-card-active"),i.slideUp()):(s.each((function(){const t=a(this);t.removeClass("htmega-accordion-card-active"),t.find(".htmega-accordion-card-body").slideUp()})),t.addClass("htmega-accordion-card-active"),i.slideDown(),t.find(".slick-slider").slick("refresh"))}))})),a(".htmega-tab-nav-item").each((function(){var t;t=a(this)[0],a(t).on("click",(function(){const t=a(this)[0],i=t.dataset.tabTarget,s=t.closest(".htmega-tab");a(t).addClass("htmega-tab-nav-item-active").siblings().removeClass("htmega-tab-nav-item-active"),a(s).find(`[data-tab-id="${i}"]`).show().siblings().hide(),a(s).find(`[data-tab-id="${i}"]`).find(".slick-slider").slick("refresh")}))}))}(jQuery,window);