/home/devfahim/www/fluentlab.devfahim.site/wp-content/themes/eduma/assets/js/thim-scripts.min.js
!function (t) { "use strict"; var e = { el_thim_pop_up_login: null, el_loginpopupform: null, el_registerPopupForm: null, el_form_purchase_course: null, el_form_enroll_course: null, data: {}, ready: function () { this.getElements(), this.el_thim_pop_up_login.length && (this.el_loginpopupform = this.el_thim_pop_up_login.find("form[name=loginpopupform]"), this.el_registerPopupForm = this.el_thim_pop_up_login.find("form[name=registerformpopup]"), this.login_form()), this.form_submission_validate(), this.thim_TopHeader(), this.ctf7_input_effect(), this.mobile_menu_toggle(), this.thim_background_gradient(), this.thim_magnificPopup(), this.full_right(), this.course_sidebar_right_offset_top(), this.thim_carousel(), this.event_click(), this.plus_minus_addtocart(), this.back_to_top(), this.StickySidebar(), this.thim_SwitchLayout("thim-course"), this.thim_SwitchLayout("thim-product"), this.thim_SwitchLayout("blog"), this.thim_gallery(), this.submit_form_validate(), this.waypoint_js(), this.product_gallery(), this.recipe_ingredient(), this.nav_tabs_post() }, getElements: function () { this.el_thim_pop_up_login = t("#thim-popup-login"), this.el_form_purchase_course = t("form[name=purchase-course]"), this.el_form_enroll_course = t("form[name=enroll-course]") }, load: function () { this.thim_menu(), this.thim_contentslider(), this.counter_box(), this.product_quick_view(), t("#contact-form-registration").length && this.thim_course_offline_popup_form_register() }, resize: function () { this.full_right(), this.thim_carousel(), this.thim_gallery() }, plus_minus_addtocart: function () { t("body").hasClass("woocommerce-cart") && (t("th.product-name").attr("colspan", "2"), t("td.actions").attr("colspan", "7")), t(document).on("click", ".quantity-add-value div.plus,.quantity-add-value div.minus", (function (e) { var i = t(this).parent(".quantity-add-value").find(".qty"), a = parseFloat(i.val()); isNaN(a) && (a = 0); var o = parseFloat(i.attr("max")), n = parseFloat(i.attr("min")), s = parseFloat(i.attr("step")); t(this).is(".plus") ? o && o <= a ? i.val(o).change() : i.val(a + s).change() : n && n >= a ? i.val(n).change() : a > 0 && i.val(a - s).change() })), t(".quantity-add-value").each((function () { "hidden" == t(this).find(".qty").attr("type") && t(this).hide() })) }, validate_form: function (e) { var i = !0, a = /[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}/gim; if (e.find("input.required").each((function () { if (t(this).val() || (t(this).addClass("invalid"), i = !1), t(this).is(":checkbox") && !t(this).is(":checked") && (t(this).addClass("invalid"), i = !1), "email" === t(this).attr("type") && (a.test(t(this).val()) || (t(this).addClass("invalid"), i = !1)), t(this).hasClass("captcha-result")) { parseInt(t(this).data("captcha1")) + parseInt(t(this).data("captcha2")) !== parseInt(t(this).val()) && (t(this).addClass("invalid").val(""), i = !1) } })), e.hasClass("auto_login")) { let t = e.find("input[name=password]"), a = e.find("input[name=repeat_password]"); t.val() !== a.val() && (t.addClass("invalid"), a.addClass("invalid"), i = !1) } return t("form input.required").on("focus", (function () { t(this).removeClass("invalid") })), i }, login_form: function () { var i = this; (t(document).on("click", "#thim-popup-login .close-popup", (function (e) { e.preventDefault(), t("body").removeClass("thim-popup-active"), i.el_thim_pop_up_login.removeClass(), i.el_loginpopupform.find(".params-purchase-code").remove(), i.el_loginpopupform.find(".params-enroll-code").remove() })), t("body .thim-login-popup a.js-show-popup").on("click", (function (e) { e.preventDefault(), t("body").addClass("thim-popup-active"), i.el_thim_pop_up_login.addClass("active"), t(this).hasClass("login") ? i.el_thim_pop_up_login.addClass("sign-in") : i.el_thim_pop_up_login.addClass("sign-up") })), t("body .widget_book-event a.js-show-popup").on("click", (function (e) { e.preventDefault(), t("body").addClass("thim-popup-active"), i.el_thim_pop_up_login.addClass("active") })), i.el_thim_pop_up_login.find(".link-bottom a").on("click", (function (e) { e.preventDefault(), t(this).hasClass("login") ? i.el_thim_pop_up_login.removeClass("sign-up").addClass("sign-in") : i.el_thim_pop_up_login.removeClass("sign-in").addClass("sign-up") })), t("body").hasClass("thim-popup-feature")) && (t('body:not(".logged-in") .enroll-course .button-enroll-course,body:not(".logged-in") form.purchase-course:not(".guest_checkout") .button:not(.button-add-to-cart),body:not(".logged-in") form.learnpress-single-package__add-cart:not(".guest_checkout") .lp-buy-package').on("click", (function (e) { const a = t(".thim-link-login.thim-login-popup .login"); a && (e.preventDefault(), a.trigger("click"), i.add_params_purchase_course_to_el(i.el_loginpopupform), i.add_params_purchase_course_to_el(i.el_registerPopupForm)) })), t(".learn-press-content-protected-message .lp-link-login").on("click", (function (e) { e.preventDefault(), t(".thim-link-login.thim-login-popup .login").trigger("click"), i.add_params_purchase_course_to_el(i.el_loginpopupform), i.add_params_purchase_course_to_el(i.el_registerPopupForm) }))); t(document).on("click", "#thim-popup-login", (function (e) { "thim-popup-login" === t(e.target).attr("id") && (t("body").removeClass("thim-popup-active"), i.el_thim_pop_up_login.removeClass(), i.el_loginpopupform.find(".params-purchase-code").remove(), i.el_registerPopupForm.find(".params-purchase-code").remove(), i.el_loginpopupform.find(".params-enroll-code").remove(), i.el_registerPopupForm.find(".params-enroll-code").remove()) })), this.el_loginpopupform.submit((function (a) { if (!e.validate_form(t(this))) return a.preventDefault(), !1; i.el_thim_pop_up_login.find(".thim-login-container").addClass("loading") })), i.el_thim_pop_up_login.find("form[name=registerformpopup]").on("submit", (function (a) { if (!e.validate_form(t(this))) return a.preventDefault(), !1; i.el_thim_pop_up_login.find(".thim-login-container").addClass("loading") })), t("#customer_login .login").submit((function (e) { var i = t(this), a = i.find("#username"), o = i.find("#password"); o.length > 0 && "" == o.val() && (o.addClass("invalid"), e.preventDefault()), a.length > 0 && "" == a.val() && (a.addClass("invalid"), e.preventDefault()) })), t("#customer_login .register").submit((function (e) { var i = t(this), a = i.find("#reg_username"), o = i.find("#reg_email"), n = i.find("#reg_password"), s = t("#customer_login .register .captcha-result"); s.length > 0 && (parseInt(s.data("captcha1")) + parseInt(s.data("captcha2")) != parseInt(s.val()) && (s.addClass("invalid").val(""), e.preventDefault())); n.length > 0 && "" == n.val() && (n.addClass("invalid"), e.preventDefault()), a.length > 0 && "" == a.val() && (a.addClass("invalid"), e.preventDefault()), o.length > 0 && ("" == o.val() || !/[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}/gim.test(o.val())) && (o.addClass("invalid"), e.preventDefault()) })), t("#reg_username, #reg_email, #reg_password,#username, #password").on("focus", (function () { t(this).removeClass("invalid") })) }, add_params_purchase_course_to_el: function (e) { const i = this; if (i.el_form_purchase_course.length) { e.append('<p class="params-purchase-code"></p>'); var a = e.find(".params-purchase-code"); t.each(i.el_form_purchase_course.find("input"), (function (e) { const i = t(this).attr("name"), o = t(this).clone(); 0 === a.find("input[name=" + i + "]").length && a.append(o) })) } if (i.el_form_enroll_course.length) { e.append('<p class="params-enroll-code"></p>'); const a = e.find(".params-enroll-code"); t.each(i.el_form_enroll_course.find("input"), (function (e) { const i = t(this).attr("name"), o = t(this).clone(); 0 === a.find("input[name=" + i + "]").length && a.append(o) })) } }, form_submission_validate: function () { t(".form-submission-login form[name=loginform]").on("submit", (function (i) { if (!e.validate_form(t(this))) return i.preventDefault(), !1 })), t(".form-submission-register form[name=registerform]").on("submit", (function (i) { if (!e.validate_form(t(this))) return i.preventDefault(), !1 })), t(".form-submission-lost-password form[name=lostpasswordform]").on("submit", (function (i) { if (!e.validate_form(t(this))) return i.preventDefault(), !1 })) }, thim_TopHeader: function () { var e = t("#masthead"), i = e.outerHeight(!0), a = t("#wrapper-container .content-pusher"), o = t("#wrapper-container .top_site_main"); t("body").removeClass("fixloader"), e.hasClass("header_overlay") ? (o.css({ "padding-top": i + "px" }), t(window).resize((function () { let t = e.outerHeight(!0); o.css({ "padding-top": t + "px" }) }))) : e.hasClass("sticky-header") & e.hasClass("header_default") && (a.css({ "padding-top": i + "px" }), t(window).resize((function () { let t = e.outerHeight(!0); a.css({ "padding-top": t + "px" }) }))) }, ctf7_input_effect: function () { let e = t(".form_developer_course"), i = e.find(".field_item input"), a = e.find(".submit_row"); i.focus((function () { t(this).parent().addClass("focusing") })).blur((function () { t(this).parent().removeClass("focusing") })), a.on("click", (function () { t(this).closest("form").submit() })) }, thim_menu: function () { t(".width-navigation .menu-main-menu>li.menu-item").last().addClass("last-menu-item"); var e = t("#masthead.sticky-header"), i = t(".content-pusher").length > 0 ? t(".content-pusher").offset().top : 0, a = e.outerHeight(), o = 0, n = t(".site-header .thim-logo img"), s = t(n).attr("src"), r = t(n).data("retina"), l = t(n).data("sticky"), d = t(n).data("mobile"), c = t(n).data("sticky_mobile"); t(window).scrollTop() > 2 && e.removeClass("affix-top").addClass("affix"), t(window).outerWidth() < 769 ? null != d && t(n).attr("src", d) : window.devicePixelRatio > 1 && null != r && t(n).attr("src", r); let u = !1; t(window).scroll((function () { var m = t(this).scrollTop(); m > 2 ? (e.removeClass("affix-top").addClass("affix"), u || (t(window).outerWidth() < 769 && null != c ? t(n).attr("src", c) : null != l && t(n).attr("src", l)), u = !0) : (e.removeClass("affix").addClass("affix-top"), u && (t(window).outerWidth() < 769 ? null != d ? t(n).attr("src", d) : null != s && t(n).attr("src", s) : window.devicePixelRatio > 1 && null != r ? t(n).attr("src", r) : null != s && t(n).attr("src", s)), u = !1), m > o && m > a + i ? e.hasClass("menu-hidden") || e.addClass("menu-hidden") : e.hasClass("menu-hidden") && e.removeClass("menu-hidden"), o = m })), t(".wrapper-container:not(.mobile-menu-open) .site-header .navbar-nav > .menu-item").each((function () { if (t(">.sub-menu", this).length <= 0) return; let e = t(">.sub-menu", this), i = e.offset().left, a = e.width(), o = t(".thim-nav-wrapper").width(); if (i + a <= o) { let t = e.find(">.menu-item>.sub-menu"); if (t.length <= 0) return; t.offset().left + t.width() <= o || e.addClass("dropdown-left-side") } else e.addClass("dropdown-menu-right") })); let m = t("header#masthead"); m.hasClass("noline_menu_active") || function () { if (t(window).width() > 768) { var e = t("#masthead .navbar-nav>li.menu-item.current-menu-item,#masthead .navbar-nav>li.menu-item.current-menu-parent, #masthead .navbar-nav>li.menu-item.current-menu-ancestor"); if (e.length > 0) { e.before('<span id="magic-line"></span>'); var i = e.find(">a,>span.disable_link,>span.tc-menu-inner"), a = e.position().left, o = parseInt(i.css("padding-left")); (n = t("#magic-line")).width(i.width()).css("left", Math.round(o + a)).data("magic-width", n.width()).data("magic-left", n.position().left) } else { var n; t("#masthead .navbar-nav>li.menu-item:first-child").before('<span id="magic-line"></span>'), (n = t("#magic-line")).data("magic-width", 0) } var s = parseInt(t(".site-header .navigation").outerHeight()); n.css("bottom", s - (s - 90) / 2 - 64), m.hasClass("item_menu_active_top") && n.css("bottom", s - 2), t("#masthead .navbar-nav>li.menu-item").on({ mouseenter: function () { var e = t(this).find(">a,>span.disable_link,>span.tc-menu-inner"), i = e.width(), a = e.parent().position().left, o = parseInt(e.css("padding-left")); n.data("magic-left") || (n.css("left", Math.round(a + o)), n.data("magic-left", "auto")), n.stop().animate({ left: Math.round(a + o), width: i }) }, mouseleave: function () { n.stop().animate({ left: n.data("magic-left"), width: n.data("magic-width") }) } }) } }() }, mobile_menu_toggle: function () { 0 == jQuery(".navbar-nav>li.menu-item-has-children").hasClass("thim-ekits-menu__has-dropdown") && (jQuery(window).width() > 1024 ? jQuery(".navbar-nav>li.menu-item-has-children >a,.navbar-nav>li.menu-item-has-children >span,.navbar-nav>li.tc-menu-layout-builder >a,.navbar-nav>li.tc-menu-layout-builder >span").after('<span class="icon-toggle"><i class="edu-angle-down"></i></span>') : (jQuery(".navbar-nav li.menu-item-has-children:not(.current-menu-parent) >a,.navbar-nav li.menu-item-has-children:not(.current-menu-parent) >span,.navbar-nav li.tc-menu-layout-builder:not(.current-menu-parent) >a,.navbar-nav li.tc-menu-layout-builder:not(.current-menu-parent) >span").after('<span class="icon-toggle"><i class="edu-angle-down"></i></span>'), jQuery(".navbar-nav li.menu-item-has-children.current-menu-parent >a,.navbar-nav li.menu-item-has-children.current-menu-parent >span,.navbar-nav li.tc-menu-layout-builder.current-menu-parent >a,.navbar-nav li.tc-menu-layout-builder.current-menu-parent >span").after('<span class="icon-toggle"><i class="edu-angle-up"></i></span>'))), t(document).on("click", ".menu-mobile-effect", (function (e) { e.stopPropagation(), t("body").toggleClass("mobile-menu-open") })), t(document).on("click", ".wrapper-container", (function (e) { t("body").removeClass("mobile-menu-open") })), t(document).on("click", ".mobile-menu-inner", (function (t) { t.stopPropagation() })), t(".navbar-nav li .icon-toggle").on("click", (function (e) { e.stopPropagation(), t(this).parent().toggleClass("thim-ekits-menu__is-hover") })), t(".navbar-nav li .icon-toggle,.thim-ekits-menu__icon").on("click", (function (e) { e.stopPropagation(), t(".mobile-menu-wrapper .icon-menu-back").addClass("show-icon") })), t(".mobile-menu-wrapper .icon-menu-back").on("click", (function (t) { t.stopPropagation(); const e = document.querySelectorAll(".thim-ekits-menu__is-hover"); e.length > 0 && e[e.length - 1].classList.remove("thim-ekits-menu__is-hover"), 0 === document.querySelectorAll(".thim-ekits-menu__is-hover").length && this.classList.remove("show-icon") })) }, thim_carousel: function () { if (jQuery().owlCarousel) { let a = !!t("body").hasClass("rtl"); if (t(".thim-gallery-images").owlCarousel({ rtl: a, autoplay: !1, singleItem: !0, stopOnHover: !0, autoHeight: !1, loop: !0, loadedClass: "owl-loaded owl-carousel" }), t(".thim-carousel-wrapper").each((function () { var i = t(this).data("visible") ? parseInt(t(this).data("visible")) : 4, o = t(this).data("desktopsmall") ? parseInt(t(this).data("desktopsmall")) : i, n = t(this).data("itemtablet") ? parseInt(t(this).data("itemtablet")) : 2, s = t(this).data("itemmobile") ? parseInt(t(this).data("itemmobile")) : 1, r = !!t(this).data("pagination"), l = !!t(this).data("navigation"), d = !!t(this).data("autoplay") && parseInt(t(this).data("autoplay")), c = t(this).data("margin") ? parseInt(t(this).data("margin")) : 0, u = t(this).data("navigation-text") && "2" === t(this).data("navigation-text") ? ["<i class='edu-long-arrow-left '></i>", "<i class='edu-long-arrow-right '></i>"] : ["<i class='edu-chevron-left '></i>", "<i class='edu-chevron-right '></i>"]; t(this).owlCarousel({ items: i, nav: l, dots: r, loop: t(this).children().length > i, rewind: !0, rtl: a, margin: c, loadedClass: "owl-loaded owl-carousel", navContainerClass: "owl-nav owl-buttons", dotsClass: "owl-dots owl-pagination", dotClass: "owl-page", responsive: { 0: { items: s, dots: !0, nav: !1 }, 480: { items: n }, 1024: { items: o }, 1200: { items: i } }, lazyLoad: !0, autoplay: d, navText: u, afterAction: function () { var e = t(window).width(), i = t("#main-home-content").width(), a = t(".thim-instructor-courses"), o = t(".thim_full_right.thim-event-layout-6"); if (o.length) { var n = (jQuery(window).width() - o.width()) / 2; o.find(".owl-controls .owl-buttons").css("margin-left", "-" + n + "px"), o.find(".owl-controls .owl-buttons").css({ "margin-left": "-" + n + "px", "padding-left": n + "px", "margin-right": n + "px" }) } if (a.length && e > i) { var s = (e - i) / 2; t(".thim-instructor-courses .thim-course-slider-instructor .owl-controls .owl-buttons").css("left", s + "px") } } }), e.addWrapOwlControls(t(this)) })), t(".thim-course-slider-instructor").each((function () { var i = t(this).data("visible") ? parseInt(t(this).data("visible")) : 4, o = t(this).data("desktopsmall") ? parseInt(t(this).data("desktopsmall")) : i, n = t(this).data("itemtablet") ? parseInt(t(this).data("itemtablet")) : 2, s = t(this).data("itemmobile") ? parseInt(t(this).data("itemmobile")) : 1, r = !!t(this).data("pagination"), l = !!t(this).data("navigation"), d = !!t(this).data("autoplay") && parseInt(t(this).data("autoplay")), c = t(this).data("navigation-text") && "2" === t(this).data("navigation-text") ? ["<i class='edu-long-arrow-left '></i>", "<i class='edu-long-arrow-right '></i>"] : ["<i class='edu-chevron-left '></i>", "<i class='edu-chevron-right '></i>"]; t(this).owlCarousel({ items: i, rtl: a, responsive: { 0: { items: s }, 480: { items: n }, 1024: { items: n }, 1400: { items: o } }, nav: l, dots: r, loop: t(this).children().length > i, rewind: !0, lazyLoad: !0, autoplay: d, navText: c, loadedClass: "owl-loaded owl-carousel", navContainerClass: "owl-nav owl-buttons", dotsClass: "owl-dots owl-pagination", dotClass: "owl-page", afterAction: function () { var e = t(window).width(), i = t("#main-home-content").width(); if (t(".thim-instructor-courses").length && e > i) { var a = (e - i) / 2; t(".thim-instructor-courses .thim-course-slider-instructor .owl-controls .owl-buttons").css("left", a + "px") } } }), e.addWrapOwlControls(t(this)) })), t(".thim-carousel-course-categories .thim-course-slider, .thim-carousel-course-categories-tabs .thim-course-slider").each((function () { var i = t(this).data("visible") ? parseInt(t(this).data("visible")) : 7, o = t(this).data("desktop") ? parseInt(t(this).data("desktop")) : i, n = t(this).data("desktopsmall") ? parseInt(t(this).data("desktopsmall")) : 6, s = t(this).data("tablet") ? parseInt(t(this).data("tablet")) : 4, r = t(this).data("mobile") ? parseInt(t(this).data("mobile")) : 2, l = !!t(this).data("pagination"), d = !!t(this).data("navigation"), c = !!t(this).data("autoplay") && parseInt(t(this).data("autoplay")); t(this).owlCarousel({ items: i, loop: t(this).children().length > i, rewind: !0, rtl: a, responsive: { 0: { items: r }, 480: { items: s }, 1024: { items: n }, 1800: { items: o } }, nav: d, dots: l, loadedClass: "owl-loaded owl-carousel", autoplay: c, navContainerClass: "owl-nav owl-buttons", dotsClass: "owl-dots owl-pagination", dotClass: "owl-page", navText: ["<i class='edu-chevron-left '></i>", "<i class='edu-chevron-right '></i>"] }), e.addWrapOwlControls(t(this)) })), t("div").hasClass("cross-sells")) { var i = t(".cross-sells").find(".product-grid"); i.find(".product").length > 3 && (i.owlCarousel({ items: 4, loop: !1, rewind: !0, dots: !0, nav: !0, margin: 30, responsive: { 0: { items: 1, margin: 0 }, 480: { items: 2, margin: 15 }, 768: { items: 3 }, 1290: { items: 4 } }, loadedClass: "owl-loaded owl-carousel", navContainerClass: "owl-nav owl-buttons", dotsClass: "owl-dots owl-pagination", dotClass: "owl-page", autoplay: !1, navText: ["<i class='edu-angle-left '></i>", "<i class='edu-angle-right '></i>"] }), e.addWrapOwlControls(i)) } } }, thim_gallery: function () { t("article.format-gallery .flexslider").length > 0 && t("article.format-gallery .flexslider").imagesLoaded((function () { jQuery().flexslider && t(".flexslider").flexslider({ slideshow: !0, animation: "fade", pauseOnHover: !0, animationSpeed: 400, smoothHeight: !0, directionNav: !0, controlNav: !1 }) })), t(".thim-ekit-single-post__featured-image .flexslider").length > 0 && t(".thim-ekit-single-post__featured-image .flexslider").imagesLoaded((function () { jQuery().flexslider && t(".flexslider").flexslider({ slideshow: !0, animation: "fade", pauseOnHover: !0, animationSpeed: 400, smoothHeight: !0, directionNav: !0, controlNav: !1 }) })); var e = t(".isotope-layout"); e.length > 0 && e.each((function () { var i, a, o = jQuery(this); 1 != (i = t(this).data("column") ? parseInt(t(this).data("column")) : 4) && (parseInt(e.width()) < 768 && (i = 2), parseInt(e.width()) < 480 && (i = 1)), a = Math.floor((parseInt(e.width(), 10) - 30 * (i - 1)) / i), Math.floor(parseInt(a, 10)), o.find(".item_gallery").css({ width: a }), jQuery().isotope && o.isotope({ itemSelector: ".item_gallery", masonry: { columnWidth: a, gutter: 30 } }) })), t(document).on("click", ".thim-gallery-popup", (function (e) { e.preventDefault(); var i = t(this), a = { action: "thim_gallery_popup", post_id: i.attr("data-id") }; i.addClass("loading"), t.post(ajaxurl, a, (function (e) { i.removeClass("loading"), t(".thim-gallery-show").append(e), t(".thim-gallery-show img").length > 0 ? t(".thim-gallery-show").magnificPopup({ mainClass: "my-mfp-zoom-in", type: "image", delegate: "a", showCloseBtn: !1, gallery: { enabled: !0 }, callbacks: { open: function () { t("body").addClass("thim-popup-active"), t.magnificPopup.instance.close = function () { t(".thim-gallery-show").empty(), t("body").removeClass("thim-popup-active"), t.magnificPopup.proto.close.call(this) } } } }).magnificPopup("open") : t.magnificPopup.open({ mainClass: "my-mfp-zoom-in", items: { src: t(".thim-gallery-show"), type: "inline" }, showCloseBtn: !1, callbacks: { open: function () { t("body").addClass("thim-popup-active"), t.magnificPopup.instance.close = function () { t(".thim-gallery-show").empty(), t("body").removeClass("thim-popup-active"), t.magnificPopup.proto.close.call(this) } } } }) })) })), t(document).on("click", ".filter-controls .filter", (function (e) { e.preventDefault(); var i = t(this), a = i.data("filter"), o = i.closest(".thim-widget-gallery-posts"), n = o.find(".thim-gallery-loadmore-wrap"); i.closest(".filter-controls").find(".filter").removeClass("active"), i.addClass("active"), "*" === a ? n.show() : n.hide(); var s = o.find(".isotope-layout"); s.length && jQuery().isotope && s.isotope({ filter: a }) })), t(document).on("click", ".thim-gallery-load-more", (function (e) { e.preventDefault(); var i = t(this), a = i.closest(".thim-widget-gallery-posts").find(".wrapper-gallery-filter"), o = parseInt(i.data("page")), n = parseInt(i.data("max")), s = parseInt(i.data("limit")), r = parseInt(i.data("columns")), l = i.data("cat"), d = i.data("template"), c = i.data("nonce"); if (!i.hasClass("loading")) { i.addClass("loading").text("Loading..."); var u = { action: "thim_gallery_load_more", page: o + 1, limit: s, columns: r, cat: l, template: d, nonce: c }; t.post(ajaxurl, u, (function (e) { if (e.success && e.data.html) { var s = t(e.data.html); a.append(s).isotope("appended", s), setTimeout((function () { a.isotope("layout") }), 100), i.data("page", o + 1), (!e.data.has_more || o + 1 >= n) && i.hide() } else i.hide() })).fail((function () { alert("Error loading more items. Please try again.") })).always((function () { i.removeClass("loading").text("Load More") })) } })) }, thim_contentslider: function () { t(".thim-testimonial-slider").each((function () { var e = t(this), i = parseInt(e.data("visible")), a = parseInt(e.data("time")), o = !!e.data("auto"), n = e.data("ratio") ? e.data("ratio") : 1.18, s = e.data("padding") ? e.data("padding") : 15, r = e.data("activepadding") ? e.data("activepadding") : 0, l = e.data("width") ? e.data("width") : 100, d = !!e.data("mousewheel"); if (jQuery().thimContentSlider) t(this).thimContentSlider({ items: e, itemsVisible: i, mouseWheel: d, autoPlay: o, pauseTime: a, itemMaxWidth: l, itemMinWidth: l, activeItemRatio: n, activeItemPadding: r, itemPadding: s }) })) }, counter_box: function () { jQuery().waypoint && jQuery(".counter-box").waypoint((function () { jQuery(this).find(".display-percentage").each((function () { var t = jQuery(this).data("percentage"); jQuery(this).countTo({ from: 0, to: t, refreshInterval: 40, speed: 2e3 }) })) }), { triggerOnce: !0, offset: "80%" }) }, thim_background_gradient: function () { var e = jQuery(".thim_overlay_gradient"), i = jQuery(".thim_overlay_gradient_2"); e.length && t(".thim_overlay_gradient rs-sbg-px > rs-sbg-wrap > rs-sbg").addClass("thim-overlayed"), i.length && t(".thim_overlay_gradient_2 rs-sbg-px > rs-sbg-wrap > rs-sbg").addClass("thim-overlayed") }, thim_magnificPopup: function () { jQuery().magnificPopup && (t(".thim-single-image-popup,.thim-image-popup").magnificPopup({ type: "image", zoom: { enabled: !0, duration: 300, easing: "ease-in-out" } }), t(".thim-video-popup .button-popup").on("click", (function (e) { var i = t(this); e.preventDefault(), t.magnificPopup.open({ items: { src: i.parent().parent().find(".video-content"), type: "inline" }, showCloseBtn: !1, callbacks: { open: function () { t("body").addClass("thim-popup-active"), t.magnificPopup.instance.close = function () { t("body").removeClass("thim-popup-active"), t.magnificPopup.proto.close.call(this) } } } }) }))) }, full_right: function () { t(".thim_full_right").each((function () { var t = (jQuery(window).width() - jQuery(this).width()) / 2; jQuery(this).children().css("margin-right", "-" + t + "px") })), t(".thim_full_left").each((function () { var t = (jQuery(window).width() - jQuery(this).width()) / 2; jQuery(this).children().css("margin-left", "-" + t + "px") })), t(".thim_coundown_full_left").each((function () { var t = (jQuery(window).width() - jQuery(this).width()) / 2 + "px"; jQuery(this).find(".thim-widget-countdown-box").parent().css({ "margin-left": "-" + t, "padding-left": t }) })), t("footer#colophon.has-footer-bottom").css("margin-bottom", t(".footer-bottom").height()); var e = parseFloat(t('body.rtl .vc_row-has-fill[data-vc-full-width="true"]').css("left")), i = parseFloat(t('body.rtl .vc_row-no-padding[data-vc-full-width="true"]').css("left")); "undefined" != e && t('body.rtl .vc_row-has-fill[data-vc-full-width="true"]').css({ right: e, left: "" }), "undefined" != i && t('body.rtl .vc_row-no-padding[data-vc-full-width="true"]').css({ right: i, left: "" }) }, thim_course_offline_popup_form_register: function () { t("#contact-form-registration >.wpcf7").length && t("#contact-form-registration >.wpcf7").append('<a href="#" class="thim-close edu-times"></a>'); t(document).on("click", "#contact-form-registration .wpcf7-form-control.wpcf7-submit", (function () { t(document).on("mailsent.wpcf7", (function (e) { setTimeout((function () { t("body").removeClass("thim-contact-popup-active"), t("#contact-form-registration").removeClass("active") }), 3e3) })) })), t(document).on("click", ".course-payment .thim-enroll-course-button", (function (e) { e.preventDefault(), t("body").addClass("thim-contact-popup-active"), t("#contact-form-registration").addClass("active") })), t(document).on("click", "#contact-form-registration", (function (e) { "contact-form-registration" == t(e.target).attr("id") && (t("body").removeClass("thim-contact-popup-active"), t("#contact-form-registration").removeClass("active")) })), t(document).on("click", "#contact-form-registration .thim-close", (function (e) { e.preventDefault(), t("body").removeClass("thim-contact-popup-active"), t("#contact-form-registration").removeClass("active") })) }, course_sidebar_right_offset_top: function () { var e = t(".course-info-top"); if (e.length) { var i = e.innerHeight(); t(".thim-style-content-layout_style_3 .sticky-sidebar").css("margin-top", "-" + (i - 20) + "px") } }, addWrapOwlControls: function (t) { t.find(".owl-controls").length || t.find(".owl-nav, .owl-dots").wrapAll("<div class='owl-controls'></div>") }, event_click: function () { t(document).on("click", ".filter-courses-effect", (function (e) { e.stopPropagation(), t("body").toggleClass("mobile-filter-open") })), t(document).on("click", ".filter-column, .close-filter, .widget-area, .course-filter-submit, .lp-form-course-filter__close", (function (e) { t("body").removeClass("mobile-filter-open") })), t(document).on("click", ".filter-course, .widget_course_filter", (function (t) { t.stopPropagation() })), t(document).on("click", ".button-categories-popup", (function (e) { e.stopPropagation(), t("body").toggleClass("categories-popup-open") })), t(document).on("click", ".categories-column, .close-categories", (function (e) { t("body").removeClass("categories-popup-open") })), t(document).on("click", ".categories-popup", (function (t) { t.stopPropagation() })), t(".video-container").on("click", ".beauty-intro .btns", (function () { var e = '<iframe src="' + t(this).closest(".video-container").find(".yt-player").attr("data-video") + '" height= "' + t(".parallaxslider").height() + '"></iframe>'; t(this).closest(".video-container").find(".yt-player").replaceWith(e), t(this).closest(".video-container").find(".hideClick:first").css("display", "none") })), t(".login-password").append('<span id="show_pass"><i class="edu-eye"></i></span>'), t(document).on("click", "#show_pass", (function () { var e = t(this), i = e.parents(".login-password").find(">input"); e.hasClass("active") ? i.attr("type", "password") : i.attr("type", "text"), e.toggleClass("active") })), t(".navbar-nav li a,.arrow-scroll > a").on("click", (function (e) { var i = 0, a = jQuery("#masthead").outerHeight(), o = jQuery(this).attr("href"), n = jQuery("#wpadminbar").outerHeight(); parseInt(jQuery(window).scrollTop(), 10) < 2 && (i = 47), o && 0 == o.indexOf("#") && o.length > 1 && (e.preventDefault(), t("html,body").animate({ scrollTop: jQuery(o).offset().top - n - a + i }, 850)) })), t(document).on("click", ".content_course_2 .course_right .menu_course ul li a, .content_course_2 .thim-course-menu-landing .thim-course-landing-tab li a", (function () { t("html, body").animate({ scrollTop: t(t(this).attr("href")).offset().top }, 1e3) })), t(document).on("click", ".filter-controls .filter", (function (e) { e.preventDefault(); var i = t(this).data("filter"), a = t(this).parents(".thim-widget-gallery-posts").find(".wrapper-gallery-filter"); t(".filter-controls .filter").removeClass("active"), t(this).addClass("active"), a.isotope({ filter: i }) })), t(".bg-video-play").on("click", (function () { var e = t(this), i = t(this).parents(".thim-widget-icon-box").find(".full-screen-video").get(0); i.paused ? (i.play(), e.addClass("bg-pause")) : (i.pause(), e.removeClass("bg-pause")) })); var e = t(".thim-carousel-course-categories-tabs"); e.each((function () { e.find(".thim-course-slider .item").click((function (i) { i.preventDefault(), e.find(".item_content.active").removeClass("active"), e.find(t(this).find(".title a").attr("href")).addClass("active"), e.find(".thim-course-slider .item.active").removeClass("active"), t(this).addClass("active") })) })); var i = t(".click-show-sub"); i.each((function () { i.find("li.has-child .drop-icon").click((function (e) { e.preventDefault(), t(this).parents("li.has-child").hasClass("active") ? t(this).parents("li.has-child").removeClass("active") : (i.find("li.has-child.active").removeClass("active"), t(this).parents("li.has-child").addClass("active")) })) })); var a = t(".thim-login-popup.has_sub_info"); a.length > 0 && (t(document).on("click", ".thim-login-popup.has_sub_info > .profile", (function (e) { e.preventDefault(), t(this).next(".user-info").toggle(), a.toggleClass("show") })), t(document).on("click", (function (e) { t(e.target).closest(".profile, .user-info").length || (t(".user-info").hide(), a.removeClass("show")) }))); var o = t(".course-tabs .nav-tabs>li").length; o > 0 && t(".course-tabs .nav-tabs>li").addClass("thim-col-" + o), t(".filter-button-toggle-wp").on("click", (function () { t("body").toggleClass("thim-filter-product") })), document.addEventListener("click", (function (e) { e.target.classList.contains("wrapper-search-fields") || e.target.classList.contains("filter-button-toggle-wp") || t("body").removeClass("thim-filter-product") })) }, thim_SwitchLayout: function (e) { var i = t("#" + e + "-archive"), a = "." + e + "-switch-layout > a"; if (!(i.length < 1)) { if ("thim-course" == e) if (t(".thim-course-switch-layout").length < 1) return; var o = localStorage.getItem(e + "-layout"); "list-layout" == o && (i.hasClass(e + "-grid") && i.removeClass(e + "-grid").addClass(e + "-list"), t(a).removeClass("switch-active"), t("." + e + "-switch-layout .switchToList").addClass("switch-active")), "grid-layout" == o && (i.hasClass(e + "-list") && i.removeClass(e + "-list").addClass(e + "-grid"), t(a).removeClass("switch-active"), t("." + e + "-switch-layout .switchToGrid").addClass("switch-active")), t(a).on("click", (function (o) { o.preventDefault(); var n = t(this); n.hasClass("switch-active") || (t(a).removeClass("switch-active"), n.addClass("switch-active"), n.hasClass("switchToGrid") ? i.fadeOut(300, (function () { i.removeClass(e + "-list").addClass(e + "-grid").fadeIn(300), localStorage.setItem(e + "-layout", "grid-layout") })) : i.fadeOut(300, (function () { i.removeClass(e + "-grid").addClass(e + "-list").fadeIn(300), localStorage.setItem(e + "-layout", "list-layout") }))) })) } }, back_to_top: function () { if (jQuery(".scroll-circle-progress").length) { var e = document.querySelector(".scroll-circle-progress path"), i = e.getTotalLength(); e.style.transition = e.style.WebkitTransition = "none", e.style.strokeDasharray = i + " " + i, e.style.strokeDashoffset = i, e.getBoundingClientRect(), e.style.transition = e.style.WebkitTransition = "stroke-dashoffset 10ms linear"; var a = function () { var a = t(window).scrollTop(), o = t(document).height() - t(window).height(), n = i - a * i / o; e.style.strokeDashoffset = n }; a(), t(window).scroll(a) } jQuery(window).scroll((function () { jQuery(this).scrollTop() > 100 ? jQuery("#back-to-top").addClass("active") : jQuery("#back-to-top").removeClass("active") })), jQuery("#back-to-top").on("click", (function () { return jQuery("html, body").animate({ scrollTop: "0px" }, 500), !1 })) }, StickySidebar: function () { var e = 20; t("#wpadminbar").length && (e += t("#wpadminbar").outerHeight()), t("#masthead.sticky-header").length && (e += t("#masthead.sticky-header").outerHeight()), t(".thim-ekit__header").length && (e += t(".thim-ekit__header").outerHeight()), console.log(e), jQuery("#sidebar.sticky-sidebar").theiaStickySidebar({ containerSelector: "", additionalMarginTop: e, additionalMarginBottom: "0", updateSidebarHeight: !1, minWidth: "768", sidebarBehavior: "modern" }) }, product_quick_view: function () { t(document).on("click", ".quick-view", (function (e) { t(".quick-view a").css("display", "none"), t(this).append('<a href="javascript:;" class="loading dark"></a>'); var i = { action: "jck_quickview", product: t(this).attr("data-prod") }; t.post(ajaxurl, i, (function (e) { t.magnificPopup.open({ mainClass: "my-mfp-zoom-in", items: { src: e, type: "inline" }, callbacks: { open: function () { t("body").addClass("thim-popup-active"), t.magnificPopup.instance.close = function () { t("body").removeClass("thim-popup-active"), t.magnificPopup.proto.close.call(this) } } } }), t(".quick-view a").css("display", "inline-block"), t(".loading").remove(), t(".product-card .wrapper").removeClass("animate"), setTimeout((function () { "undefined" != typeof wc_add_to_cart_variation_params && t(".product-info .variations_form").each((function () { t(this).wc_variation_form().find(".variations select:eq(0)").change() })) }), 600) })), e.preventDefault() })) }, submit_form_validate: function () { t("form#bbp-search-form").submit((function () { if ("" === t.trim(t("#bbp_search").val())) return t("#bbp_search").focus(), !1 })), t("form.search-form").submit((function () { var e = t(this).find("input[name='s']"); if ("" === t.trim(e.val())) return e.focus(), !1 })), t("form#commentform").submit((function (e) { var i = t(this), a = i.find('#comment[aria-required="true"]'), o = i.find('#author[aria-required="true"]'), n = i.find('#url[aria-required="true"]'), s = i.find('#email[aria-required="true"]'); o.length > 0 && "" == o.val() && (o.addClass("invalid"), e.preventDefault()), a.length > 0 && "" == a.val() && (a.addClass("invalid"), e.preventDefault()), n.length > 0 && "" == n.val() && (n.addClass("invalid"), e.preventDefault()), s.length > 0 && ("" == s.val() || !/[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}/gim.test(s.val())) && (s.addClass("invalid"), e.preventDefault()) })), t("input.wpcf7-text, textarea.wpcf7-textarea").on("focus", (function () { t(this).hasClass("wpcf7-not-valid") && t(this).removeClass("wpcf7-not-valid") })), t(document).on("click", ".wpcf7-form-control.wpcf7-submit", (function () { var e = t(this).parents(".wpcf7-form"); e.addClass("thim-sending"), t(document).on("invalid.wpcf7", (function (t) { e.removeClass("thim-sending") })), t(document).on("spam.wpcf7", (function (i) { e.removeClass("thim-sending"), setTimeout((function () { t(".wpcf7-response-output").length > 0 && t(".wpcf7-response-output").hide() }), 4e3) })), t(document).on("mailsent.wpcf7", (function (i) { e.removeClass("thim-sending"), setTimeout((function () { t(".wpcf7-response-output").length > 0 && t(".wpcf7-response-output").hide() }), 4e3) })), t(document).on("mailfailed.wpcf7", (function (i) { e.removeClass("thim-sending"), setTimeout((function () { t(".wpcf7-response-output").length > 0 && t(".wpcf7-response-output").hide() }), 4e3) })) })), t(".mc4wp-form #mc4wp_email").on("focus", (function () { t(this).parents(".mc4wp-form").addClass("focus-input") })).on("focusout", (function () { t(this).parents(".mc4wp-form.focus-input").removeClass("focus-input") })) }, waypoint_js: function () { void 0 !== jQuery.fn.waypoint && jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").waypoint((function () { jQuery(this).addClass("wpb_start_animation") }), { offset: "85%" }) }, course_menu_landing: function () { if (t(".thim-course-menu-landing").length > 0) { var e = t(".thim-course-menu-landing"), i = t("#learn-press-course-tabs .nav-tabs"), a = i.find(">li.active"), o = i.find(">li>a"), n = e.find(".thim-course-landing-tab"), s = n.find(">li>a"), r = t("#course-landing").length > 0 ? t("#course-landing").offset().top : 0, l = t(window).height() > r ? t(window).height() : r; if (t("footer#colophon").addClass("has-thim-course-menu"), t(".thim-ekit__footer").addClass("has-thim-course-menu"), t(".navbar-mobile-button").addClass("hide"), t("body").removeClass("has-navbar-mobile"), a.length > 0) { var d = a.find(">a").attr("href"), c = n.find('>li>a[href="' + d + '"]'); c.length > 0 && c.parent().addClass("active") } s.on("click", (function (e) { e.preventDefault(); var a = t(this).attr("href"), o = t(this).parent(); o.hasClass("active") || (n.find("li.active").removeClass("active"), o.addClass("active")), i.length > 0 ? (i.find('>li>a[href="' + a + '"]').trigger("click"), t("body, html").animate({ scrollTop: i.offset().top - 50 }, 800)) : t("body, html").animate({ scrollTop: t(t.attr(this, "href")).offset().top }, 500) })), o.on("click", (function () { var e = t(this).attr("href"), i = n.find('>li>a[href="' + e + '"]').parent(); i.hasClass("active") || (n.find("li.active").removeClass("active"), i.addClass("active")) })), t(window).scroll((function () { t(window).scrollTop() > l ? t("body").addClass("course-landing-active") : t("body.course-landing-active").removeClass("course-landing-active") })) } }, product_gallery: function () { t("#carousel").length > 0 && jQuery().flexslider && (jQuery("#carousel").flexslider({ animation: "slide", controlNav: !1, animationLoop: !1, slideshow: !1, itemWidth: 125, itemMargin: 15, asNavFor: "#slider" }), jQuery("#slider").flexslider({ animation: "slide", controlNav: !1, animationLoop: !1, slideshow: !1, sync: "#carousel" })) }, recipe_ingredient: function () { let e = t(".wprm-recipe-servings-toggle"); if (e.length > 0) { function i(t) { if (Number.isInteger(t)) return t.toString(); for (var e = t, i = 1; e % 1 != 0;)e *= 10, i *= 10; var a = function (t, e) { return 0 === e ? t : a(e, t % e) }, o = a(e, i); return e /= o, 1 === (i /= o) ? e.toString() : e + "/" + i } t(".wprm-recipe-ingredient-amount").each((function () { var e, i, a = t(this).text(), o = 2 === (i = (e = a).split("/")).length ? parseFloat(i[0]) / parseFloat(i[1]) : parseFloat(e); t(this).data("original-decimal", o) })), t(e).on("click", ".wprm-toggle", (function (a) { a.preventDefault(); var o = parseInt(t(this).data("value")); t(".wprm-recipe-ingredient-amount").each((function () { var e = t(this).data("original-decimal") * o; t(this).text(i(e)) })), e.find(">.wprm-toggle").removeClass("wprm-toggle-active"), t(this).addClass("wprm-toggle-active") })) } }, nav_tabs_post: function () { var e = t(".thim-tabs-post"); 0 != e.length && e.on("click", ".nav-tabs a", (function (i) { i.preventDefault(); var a = (e = t(this).parents(".thim-tabs-post")).find(".nav-tabs .cat-item.active a").attr("data-cat"); e.find(".nav-tabs li").removeClass("active"), t(this).parents("li").addClass("active"); var o = e.attr("data-params"), n = t(this).attr("data-cat"), s = e.attr("id"), r = { action: "thim_load_content_post", category: n, params: o }; e.data[s + a] = e.find(".loop-wrapper").html(), e.find(".loop-wrapper").removeClass("fadeIn"), e.data[s + n] ? setTimeout((function () { e.find(".loop-wrapper").html(e.data[s + n]), e.find(".loop-wrapper").addClass("fadeIn") }), 300) : t.ajax({ type: "POST", url: ajaxurl, data: r, beforeSend: function () { e.addClass("loading") }, success: function (t) { t.success && (e.find(".loop-wrapper").html(t.data), e.find(".loop-wrapper").addClass("fadeIn")), e.removeClass("loading") }, error: function (t, e) { alert(t.statusText) } }) })) } }; function i(e) { var i = 0; e.each((function (a, o) { t(this).outerHeight() > i && (i = t(this).outerHeight()), a + 1 == e.length && e.css("min-height", i) })) } function a(e, i) { t(e).each((function () { var e = t(this), a = i ? e.find(i) : e.children(), o = 0; a.each((function () { var e = t(this).outerHeight(); e > o && (o = e) })).css("min-height", o) })) } function o() { var e = t("#main-content .content-area"), i = t("#main-content .site-footer"), a = t(window).height(); e.length > 0 && i.length > 0 && e.css("min-height", a - i.height()) } t(document).ready((function () { e.ready(), t(window).resize((function () { e.resize() })) })), t(window).on("load", (function () { e.load(), setTimeout((function () { e.course_menu_landing() }), 400), t(window).width() > 767 && a(t(".thim-grid-posts .item-post")), t(window).resize((function () { if (t(".thim-carousel-instructors .instructor-item").css("min-height", ""), t("body.thim-demo-university-4 .thim-about-eduma, body.thim-demo-university-4 .thim-video-popup .video-info").css("min-height", ""), (t(window).width() < 767 || t(window).width() > 1200) && t("body.thim-demo-university-4 #sb_instagram .sbi_photo").css("min-height", ""), a(t(".thim-owl-carousel-post:not(.layout-3) .image")), a(t(".thim-row-bg-border-top .thim-bg-border-top")), i(t(".thim-carousel-instructors .instructor-item")), i(t(".thim-testimonial-carousel-kindergarten .item")), a(t(".thim-widget-carousel-categories .item")), a(t(".elementor-widget-thim-carousel-categories .item")), o(), t(window).width() > 767 && (a(t(".thim-grid-posts .item-post")), a(t("body.thim-demo-university-4 .thim-about-eduma, body.thim-demo-university-4 .thim-video-popup .video-info"))), t(window).width() > 767 && t(window).width() < 1200 && t("body.thim-demo-university-4 .thim-icon-our-programs").length) { var e = parseInt(t("body.thim-demo-university-4 .thim-icon-our-programs").outerHeight() / 3); t("body.thim-demo-university-4 #sb_instagram .sbi_photo").css("min-height", e) } })), a(".thim-carousel-instructors", ".instructor-item"), a(".thim-owl-carousel-post", ".image"), o() })), t(window).on("elementor/frontend/init", (function () { elementorFrontend.hooks.addAction("frontend/element_ready/thim-carousel-post.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-twitter.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-courses.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-list-event.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-course-categories.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-our-team.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-gallery-images.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-list-instructors.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-testimonials.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-courses-collection.default", e.thim_carousel), elementorFrontend.hooks.addAction("frontend/element_ready/thim-testimonials.default", e.thim_contentslider), elementorFrontend.hooks.addAction("frontend/element_ready/thim-counters-box.default", e.counter_box), elementorFrontend.hooks.addAction("frontend/element_ready/global", (function (t) { var e = t.find(".owl-carousel"); if (e.length) { var i = e.data("owlCarousel"); i && i.reload() } })); const t = t => { elementorFrontend.elementsHandler.addHandler(window.ThimEkits.ThimSlider, { $element: t }) }; elementorFrontend.hooks.addAction("frontend/element_ready/thim-list-instructors.default", t), elementorFrontend.hooks.addAction("frontend/element_ready/thim-list-event.default", t) })) }(jQuery);