![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/cwd/wp-content/plugins/bdthemes-element-pack/assets/js/modules/ |
!function(t,n){"use strict";var i=function(t,n){var i=t.find(".bdt-tabs-area"),a=i.find(".bdt-tabs"),o=a.find(".bdt-tab");if(i.length){var e=a.data("settings"),d=e.hashScrollspyTime,s=e.hashTopOffset,c=e.navStickyOffset;"undefined"==c&&(c=10),t.find(".bdt-template-modal-iframe-edit-link").each((function(){var t=n(n(this).data("modal-element"));n(this).on("click",(function(n){bdtUIkit.modal(t).show()})),t.on("beforehide",(function(){window.parent.location.reload()}))})),"yes"==e.activeHash&&"bdt-sticky-custom"!=e.status&&(n(window).on("load",(function(){f(a,o,d,s)})),n(a).find(".bdt-tabs-item-title").off("click").on("click",(function(t){window.location.hash=n.trim(n(this).attr("data-title"))})),n(window).on("hashchange",(function(t){f(a,o,d,s)}))),"bdt-sticky-custom"==e.status&&(n(a).find(".bdt-tabs-item-title").bind().click("click",(function(t){"yes"==e.activeHash?window.location.hash=n.trim(n(this).attr("data-title")):n("html, body").animate({easing:"slow",scrollTop:n(a).offset().top-c},500,(function(){}))})),"yes"==e.activeHash&&"bdt-sticky-custom"==e.status&&(n(window).on("load",(function(){window.location.hash&&w(a,o,c)})),n(window).on("hashchange",(function(t){w(a,o,c)}))));var l=Boolean(elementorFrontend.isEditMode()),r=e.linkWidgetSettings,h=e.activeItem-1;void 0!==r&&!1===l&&r.forEach((function(t,i){0==i&&(n("#bdt-tab-content-"+e.linkWidgetId).parent().remove(),n(t).parent().wrapInner('<div class="bdt-switcher-wrapper" />'),n(t).parent().wrapInner('<div id="bdt-tab-content-'+e.linkWidgetId+'" class="bdt-switcher bdt-switcher-item-content" />'),null==e.activeItem&&n(t).addClass("bdt-active")),void 0!==e.activeItem&&i==h&&n(t).addClass("bdt-active"),n(t).attr("data-content-id","tab-"+(i+1))}))}function f(t,i,a,o){if(window.location.hash&&n(t).find('[data-title="'+window.location.hash.substring(1)+'"]').length){var e=n('[data-title="'+window.location.hash.substring(1)+'"]').closest(t).attr("id");n("html, body").animate({easing:"slow",scrollTop:n("#"+e).offset().top-o},a,(function(){})).promise().then((function(){bdtUIkit.tab(i).show(n('[data-title="'+window.location.hash.substring(1)+'"]').data("tab-index"))}))}}function w(t,i,a){if(n(t).find('[data-title="'+window.location.hash.substring(1)+'"]').length){var o=n('[data-title="'+window.location.hash.substring(1)+'"]').closest(t).attr("id");n("html, body").animate({easing:"slow",scrollTop:n("#"+o).offset().top-a},1e3,(function(){})).promise().then((function(){bdtUIkit.tab(i).show(n(i).find('[data-title="'+window.location.hash.substring(1)+'"]').data("tab-index"))}))}}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-edd-tabs.default",i)}))}(jQuery,window.elementorFrontend);