%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/plugins/bdthemes-element-pack-lite/assets/js/ |
Current File : /home/tradesc/www/relax/wp-content/plugins/bdthemes-element-pack-lite/assets/js/ep-scripts.min.js |
var debounce=function(e,t,n){var o;return function(){var i=this,s=arguments,r=n&&!o;clearTimeout(o),o=setTimeout((function(){o=null,n||e.apply(i,s)}),t),r&&e.apply(i,s)}};function epObserveTarget(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.rootMargin=n.rootMargin||"10% 0px 0px 0px",new IntersectionObserver((function(e,o){e.forEach((function(e){e.isIntersecting&&(t(e),n.loop||o.unobserve(e.target))}))}),n).observe(e)}function EP_SAFE_HTML(e){const t={img:["src","alt","title","width","height","style"],a:["href","title","target","rel"],p:["class","style","id"],b:["class","style"],i:["class","style"],u:["class","style"],strong:["class","style"],em:["class","style"],br:[],hr:["class","style"],ul:["class","style"],ol:["class","style"],li:["class","style"],div:["class","style","id"],span:["class","style","id"],blockquote:["cite","class","style"],code:["class","style"],pre:["class","style"],h1:["class","style","id"],h2:["class","style","id"],h3:["class","style","id"],h4:["class","style","id"],h5:["class","style","id"],h6:["class","style","id"],table:["class","style","id"],thead:["class","style"],tbody:["class","style"],tfoot:["class","style"],tr:["class","style"],th:["class","style","scope"],td:["class","style","colspan","rowspan"]};return e=e.replace(/<\/?([a-zA-Z0-9]+)([^>]*)>/g,((e,n,o)=>{if(n=n.toLowerCase(),!t.hasOwnProperty(n))return"";const i=t[n];return`<${n}${o.replace(/([a-zA-Z0-9-]+)\s*=\s*("[^"]*"|'[^']*'|[^\s>]*)/g,((e,t,n)=>(t=t.toLowerCase(),!i.includes(t)||t.startsWith("on")||/^javascript:/i.test(n)?"":`${t}=${n}`)))}>`}))}function returnCurrencySymbol(e=null){if(null===e)return"";let t={USD:"$",EUR:"€",CRC:"₡",GBP:"£",ILS:"₪",INR:"₹",JPY:"¥",KRW:"₩",NGN:"₦",PHP:"₱",PLN:"zł",PYG:"₲",THB:"฿",UAH:"₴",VND:"₫"};return void 0!==t[e]?t[e]:""}jQuery,jQuery(document).ajaxComplete((function(e,t,n){if(t.responseJSON&&void 0!==t.responseJSON.cart_hash&&t.responseJSON.cart_hash&&jQuery(".bdt-offcanvas").hasClass("__update_cart")){let e=jQuery(".bdt-offcanvas.__update_cart").attr("id");bdtUIkit.util.ready((function(){bdtUIkit.offcanvas("#"+e).show()}))}})),jQuery(document).ready((function(){jQuery(".bdt-ss-link").on("click",(function(){var e=jQuery("<input>");jQuery("body").append(e),e.val(jQuery(this).data("url")).select(),document.execCommand("copy"),e.remove(),jQuery(this).find(".bdt-social-share-title").html(jQuery(this).data("copied")),setTimeout((()=>{jQuery(this).find(".bdt-social-share-title").html(jQuery(this).data("orginal"))}),5e3)}));const e={"elementor-widget-bdt-post-grid-tab":{selectors:[".bdt-post-grid-desc-inner a",".bdt-post-grid-tab-readmore"]},"elementor-widget-bdt-post-grid":{selectors:[".bdt-post-grid-title a",".bdt-post-grid-readmore"]},"elementor-widget-bdt-post-card":{selectors:[".bdt-post-card-title a",".bdt-post-card-button"]},"elementor-widget-bdt-post-block":{selectors:[".bdt-post-block-title a",".bdt-post-block-read-more"]},"elementor-widget-bdt-post-block-modern":{selectors:[".bdt-post-block-modern-title a",".bdt-post-block-modern-read-more"]},"elementor-widget-bdt-post-gallery":{selectors:[".bdt-post-gallery-title-link",".bdt-gallery-item-link"]},"elementor-widget-bdt-post-list":{selectors:[".bdt-title a",".bdt-image a"]},"elementor-widget-bdt-post-slider":{selectors:[".bdt-post-slider-title-wrap a",".bdt-post-slider-button"]}};Object.keys(e).forEach((function(t){jQuery("."+t).length>0&&void 0!==jQuery("."+t).data("settings")&&"yes"===jQuery("."+t).data("settings").bdt_link_new_tab&&e[t].selectors.forEach((function(e){jQuery(e).attr("target","_blank")}))})),jQuery(".bdt-pass-input-wrapper").find("i").on("click",(function(){jQuery(this).hasClass("fa-eye")&&jQuery(this).toggleClass("fa-eye-slash");let e=jQuery(this).closest(".bdt-pass-input-wrapper").find("input");"password"==e.attr("type")?jQuery(e).attr("type","text"):jQuery(e).attr("type","password")}))})),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-ep-accordion-container"),o=n.find(".bdt-ep-accordion"),i=n.find(".bdt-ep-accordion-item.bdt-open");if(n.length){var s=o.data("settings"),r=s.activeHash,a=s.hashTopOffset,d=s.hashScrollspyTime,l=s.activeScrollspy;s.closeAllItemsOnMobile&&window.matchMedia("(max-width: 767px)").matches&&(i.removeClass("bdt-open"),i.find(".bdt-ep-accordion-content").prop("hidden",!0)),null==l&&(l="no"),"yes"==r&&(t(window).on("load",(function(){"yes"==l?c(o,d,a):bdtUIkit.accordion(o).toggle(t('[data-title="'+window.location.hash.substring(1)+'"]').data("accordion-index"),!1)})),t(o).find(".bdt-ep-accordion-title").off("click").on("click",(function(e){window.location.hash=t.trim(t(this).attr("data-title")),c(o,d=1e3,a)})),t(window).on("hashchange",(function(e){c(o,d=1e3,a)})))}function c(e,n,o){if(window.location.hash&&t(e).find('[data-title="'+window.location.hash.substring(1)+'"]').length){var i=t('[data-title="'+window.location.hash.substring(1)+'"]').closest(e).attr("id");"yes"==l?t("html, body").animate({easing:"slow",scrollTop:t("#"+i).offset().top-o},n,(function(){})).promise().then((function(){bdtUIkit.accordion(e).toggle(t('[data-title="'+window.location.hash.substring(1)+'"]').data("accordion-index"),!1)})):bdtUIkit.accordion(e).toggle(t('[data-title="'+window.location.hash.substring(1)+'"]').data("accordion-index"),!0)}}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-accordion.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-accordion.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(e){e.hasClass("elementor-element-edit-mode")&&e.addClass("bdt-background-overlay-yes")}))}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-ep-business-hours");n.find(".bdt-ep-business-hours-current-time");if(n.length){var o=n.data("settings"),i=(o.dynamic_timezone,o.timeNotation),s=o.business_hour_style;"dynamic"==s&&t(document).ready((function(){var e,r="%H:%M:%S",a=o.dynamic_timezone;if(e="static"==s?o.dynamic_timezone_default:a,"12h"==i&&(r="%I:%M:%S %p"),""!=e){var d={format:r,timeNotation:i,am_pm:!0,utc:!0,utc_offset:e};t(n).find(".bdt-ep-business-hours-current-time").jclock(d)}}))}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-business-hours.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-contact-form .without-recaptcha");if(e.find('.bdt-contact-form input[type="tel"]').on("input",(function(e){this.value=this.value.replace(/[^0-9\+]/g,"")})),n.length)return n.submit((function(e){return o(n),!1})),!1};function o(t){var n=window.ElementPackConfig.contact_form;return e.ajax({url:t.attr("action"),type:"POST",data:t.serialize(),beforeSend:function(){bdtUIkit.notification({message:"<div bdt-spinner></div> "+n.sending_msg,timeout:!1,status:"primary"})},success:function(n){var o=e(n).data("redirect"),i=e(n).data("external"),s=e(n).data("resetstatus");bdtUIkit.notification.closeAll();var r=bdtUIkit.notification({message:n});o&&"no"!=o&&bdtUIkit.util.on(document,"close",(function(e){e.detail[0]===r&&window.open(o,i)})),localStorage.setItem("bdtCouponCode",t.attr("id")),s&&"no"!==s&&t[0].reset()}}),!1}window.elementPackGICCB=function(){var t=window.ElementPackConfig.contact_form;return new Promise((function(n,i){void 0===grecaptcha&&(bdtUIkit.notification({message:"<div bdt-spinner></div> "+t.captcha_nd,timeout:!1,status:"warning"}),i());var s=grecaptcha.getResponse();s||(bdtUIkit.notification({message:"<div bdt-spinner></div> "+t.captcha_nr,timeout:!1,status:"warning"}),i());var r=e("textarea.g-recaptcha-response").filter((function(){return e(this).val()===s})).closest("form.bdt-contact-form-form"),a=r.attr("action");a&&""!==a&&o(r),grecaptcha.reset()}))},jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-contact-form.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-cookie-consent"),o=n.data("settings"),i=Boolean(elementorFrontend.isEditMode()),s=n.data("gtag");if(!n.length||i)return;if(window.cookieconsent.initialise(o),t(".cc-compliance").append('<button class="btn-denyCookie bdt-cc-close-btn cc-btn cc-dismiss">\n\t\t\t\t<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">\n\t\t\t\t<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18 17.94 6M18 18 6.06 6"/>\n\t\t\t\t</svg>\n\t\t </button>'),t(".bdt-cc-close-btn").on("click",(function(){t(".bdt-cookie-consent").hide(),document.cookie="element_pack_cookie_widget=denied; max-age=604800"})),-1!==document.cookie.indexOf("element_pack_cookie_widget=denied"))return void t(".bdt-cookie-consent").hide();if(void 0===s)return;if(!0!==s.gtag_enabled)return;let r={ad_user_data:s.ad_user_data,ad_personalization:s.ad_personalization,ad_storage:s.ad_storage,analytics_storage:s.analytics_storage};t(".cc-btn.cc-dismiss").on("click",(function(){gtag("consent","update",r)}))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-cookie-consent.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-countdown-wrapper");if(n.length){var o=n.data("settings"),i=o.endTime,s=o.loopHours,r=o.isLogged,a=function(e,t,n){var o="";if(n){var i=new Date;i.setTime(i.getTime()+60*n*60*1e3),o="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+o+"; path=/"},d=function(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var i=n[o];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null},l=function(e,t){return Math.floor(Math.random()*(t-e+1)+e)},c=function(e){var t=e-Date.now();return{total:t,seconds:t/1e3%60,minutes:t/1e3/60%60,hours:t/1e3/60/60%24,days:t/1e3/60/60/24}},u=function(e){jQuery.ajax({url:o.adminAjaxUrl,type:"post",data:{action:"element_pack_countdown_end",endTime:e,couponTrickyId:o.couponTrickyId},success:function(e){"ended"==e&&("message"==o.endActionType&&(jQuery(o.msgId).css({display:"block"}),jQuery(o.id+"-timer").css({display:"none"})),"url"==o.endActionType&&o.redirectUrl&&setInterval((function(){jQuery(location).attr("href",o.redirectUrl)}),o.redirectDelay))},error:function(){console.log("Error")}})},f=function(){jQuery.ajax({url:o.adminAjaxUrl,type:"post",data:{action:"element_pack_countdown_end",endTime:i,couponTrickyId:o.couponTrickyId},success:function(e){},error:function(){}})},g=function(){jQuery.ajax({url:o.adminAjaxUrl,type:"post",data:{action:"element_pack_countdown_end",endTime:i,couponTrickyId:o.couponTrickyId},success:function(e){"ended"==e&&setTimeout((function(){o.triggerId&&document.getElementById(o.triggerId).click()}),1500)},error:function(){}})},h=function(e){clearInterval(e)};if(0==s){var m=bdtUIkit.countdown(t(o.id+"-timer"),{date:o.finalTime}),p=setInterval((function(){var e=c(m.date).seconds.toFixed(0);parseInt(e)<0&&(jQuery("body").hasClass("elementor-editor-active")||(jQuery(o.id+"-msg").css({display:"none"}),"none"!=o.endActionType&&u(i)),h(p))}),1e3);if("coupon-code"==o.endActionType)var b=setInterval((function(){var e=c(m.date).seconds.toFixed(0);parseInt(e)<0&&(jQuery("body").hasClass("elementor-editor-active")||"coupon-code"==o.endActionType&&f(i),h(b))}),1e3);if(!1!==o.triggerId)b=setInterval((function(){var e=c(m.date).seconds.toFixed(0);parseInt(e)<0&&(jQuery("body").hasClass("elementor-editor-active")||g(),h(b))}),1e3)}if(!1!==s){var y,w=new Date,v=l(6,14),_=60*s*60*1e3-60*v*1e3,k=new Date(w.getTime()+_).toISOString(),j=d("bdtCountdownLoopTime");null!=j&&"undefined"!=j||!1!==r||a("bdtCountdownLoopTime",k,s),y=!1===r?d("bdtCountdownLoopTime"):k,t(o.id+"-timer").attr("data-bdt-countdown","date: "+y);var x=(m=bdtUIkit.countdown(t(o.id+"-timer"),{date:y})).date;setInterval((function(){var e=c(x).seconds.toFixed(0);parseInt(e)>0&&(null!=j&&"undefined"!=j||!1!==r||(a("bdtCountdownLoopTime",k,s),bdtUIkit.countdown(t(o.id+"-timer"),{date:y})))}),1e3)}}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-countdown.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-countdown.bdt-tiny-countdown",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-custom-gallery"),o=n.data("settings");if(n.length&&1==o.tiltShow){var i=document.querySelectorAll(o.id+" [data-tilt]");VanillaTilt.init(i)}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-gallery.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-gallery.bdt-abetis",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-gallery.bdt-fedara",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";e(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{direction:"alternate",easing:"easeInOutSine",loop:!0}},settings:function(e){return this.getElementSettings("ep_floating_effects_"+e)},onElementChange:debounce((function(e){-1!==e.indexOf("ep_floating")&&(this.anime&&this.anime.restart(),this.run())}),400),run:function(){var e=this.getDefaultSettings(),t=this.findElement(".elementor-widget-container").get(0);this.settings("translate_toggle")&&(0===this.settings("translate_x.sizes.from").length&&0===this.settings("translate_x.sizes.to").length||(e.translateX={value:[this.settings("translate_x.sizes.from")||0,this.settings("translate_x.sizes.to")||0],duration:this.settings("translate_duration.size"),delay:this.settings("translate_delay.size")||0}),0===this.settings("translate_y.sizes.from").length&&0===this.settings("translate_y.sizes.to").length||(e.translateY={value:[this.settings("translate_y.sizes.from")||0,this.settings("translate_y.sizes.to")||0],duration:this.settings("translate_duration.size"),delay:this.settings("translate_delay.size")||0})),this.settings("rotate_toggle")&&"yes"!==this.settings("rotate_infinite")&&(0===this.settings("rotate_x.sizes.from").length&&0===this.settings("rotate_x.sizes.to").length||(e.rotateX={value:[this.settings("rotate_x.sizes.from")||0,this.settings("rotate_x.sizes.to")||0],duration:this.settings("rotate_duration.size"),delay:this.settings("rotate_delay.size")||0}),0===this.settings("rotate_y.sizes.from").length&&0===this.settings("rotate_y.sizes.to").length||(e.rotateY={value:[this.settings("rotate_y.sizes.from")||0,this.settings("rotate_y.sizes.to")||0],duration:this.settings("rotate_duration.size"),delay:this.settings("rotate_delay.size")||0}),0===this.settings("rotate_z.sizes.from").length&&0===this.settings("rotate_z.sizes.to").length||(e.rotateZ={value:[this.settings("rotate_z.sizes.from")||0,this.settings("rotate_z.sizes.to")||0],duration:this.settings("rotate_duration.size"),delay:this.settings("rotate_delay.size")||0})),this.settings("scale_toggle")&&(0===this.settings("scale_x.sizes.from").length&&0===this.settings("scale_x.sizes.to").length||(e.scaleX={value:[this.settings("scale_x.sizes.from")||0,this.settings("scale_x.sizes.to")||0],duration:this.settings("scale_duration.size"),delay:this.settings("scale_delay.size")||0}),0===this.settings("scale_y.sizes.from").length&&0===this.settings("scale_y.sizes.to").length||(e.scaleY={value:[this.settings("scale_y.sizes.from")||0,this.settings("scale_y.sizes.to")||0],duration:this.settings("scale_duration.size"),delay:this.settings("scale_delay.size")||0})),this.settings("skew_toggle")&&(0===this.settings("skew_x.sizes.from").length&&0===this.settings("skew_x.sizes.to").length||(e.skewX={value:[this.settings("skew_x.sizes.from")||0,this.settings("skew_x.sizes.to")||0],duration:this.settings("skew_duration.size"),delay:this.settings("skew_delay.size")||0}),0===this.settings("skew_y.sizes.from").length&&0===this.settings("skew_y.sizes.to").length||(e.skewY={value:[this.settings("skew_y.sizes.from")||0,this.settings("skew_y.sizes.to")||0],duration:this.settings("skew_duration.size"),delay:this.settings("skew_delay.size")||0})),this.settings("border_radius_toggle")&&(jQuery(t).css("overflow","hidden"),0===this.settings("border_radius.sizes.from").length&&0===this.settings("border_radius.sizes.to").length||(e.borderRadius={value:[this.settings("border_radius.sizes.from")||0,this.settings("border_radius.sizes.to")||0],duration:this.settings("border_radius_duration.size"),delay:this.settings("border_radius_delay.size")||0})),this.settings("opacity_toggle")&&(0===this.settings("opacity_start.size").length&&0===this.settings("opacity_end.size").length||(e.opacity={value:[this.settings("opacity_start.size")||1,this.settings("opacity_end.size")||0],duration:this.settings("opacity_duration.size"),easing:"linear"})),this.settings("easing")&&(e.easing=this.settings("easing")),this.settings("show")&&(e.targets=t,(this.settings("translate_toggle")||this.settings("rotate_toggle")||this.settings("scale_toggle")||this.settings("skew_toggle")||this.settings("border_radius_toggle")||this.settings("opacity_toggle"))&&(this.anime=window.anime&&window.anime(e)))}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-flip-box"),o=n.data("settings");n.length&&("click"===o.flipTrigger&&t(n).on("click",(function(){t(this).toggleClass("bdt-active")})),"hover"===o.flipTrigger&&(t(n).on("mouseenter",(function(){t(this).addClass("bdt-active")})),t(n).on("mouseleave",(function(){t(this).removeClass("bdt-active")}))))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-flip-box.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-ep-image-accordion"),o=n.data("settings"),i=n.find(".bdt-ep-image-accordion-item"),s=n.children().length;if(1==o.activeItem&&o.activeItemNumber<=s&&(n.find(".bdt-ep-image-accordion-item").removeClass("active"),n.children().eq(o.activeItemNumber-1).addClass("active")),t(i).on(o.mouse_event,(function(){t(this).siblings().removeClass("active"),t(this).addClass("active")})),1!=o.activeItem&&t("body").on(o.mouse_event,(function(e){"bdt-ep-image-accordion"==e.target.$imageAccordion||t(e.target).closest(".bdt-ep-image-accordion").length||n.find(".bdt-ep-image-accordion-item").removeClass("active")})),o.swiping){var r=0,a=0;t(i).on("touchstart",(function(e){r=e.changedTouches[0].screenX})),t(i).on("touchend",(function(e){a=e.changedTouches[0].screenX,function(e){var n=a-r,o=t(e.currentTarget).prev(),s=t(e.currentTarget).next();n>50?(o.length&&t(i).removeClass("active"),t(e.currentTarget).prev().addClass("active")):n<-50&&(s.length&&t(i).removeClass("active"),t(e.currentTarget).next().addClass("active"))}(e)}))}o.inactiveItemOverlay&&(console.log("inactiveItemOverlay"),t(i).on(o.mouse_event,(function(e){e.stopPropagation(),t(this).hasClass("active")?t(this).removeClass("bdt-inactive").siblings().addClass("bdt-inactive"):t(this).siblings().removeClass("bdt-inactive")})),t(document).on(o.mouse_event,(function(){t(i).removeClass("bdt-inactive")})))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-accordion.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){e.find(".bdt-image-compare");var n=e.find(".image-compare");if(n.length){var o=n.data("settings"),i=o.default_offset_pct,s=o.orientation,r=o.before_label,a=o.after_label,d=o.no_overlay,l=o.on_hover,c=o.add_circle_blur,u=o.add_circle_shadow,f=o.add_circle,g=o.smoothing,h=o.smoothing_amount,m=o.bar_color,p=o.move_slider_on_hover,b=document.querySelectorAll("#"+o.id),y={controlColor:m,controlShadow:u,addCircle:f,addCircleBlur:c,showLabels:d,labelOptions:{before:r,after:a,onHover:l},smoothing:g,smoothingAmount:h,hoverStart:p,verticalMode:s,startingPoint:i,fluidMode:!1};b.forEach((function(e){new ImageCompare(e,y).mount()}))}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-compare.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-image-magnifier"),o=n.data("settings"),i=n.find("> .bdt-image-magnifier-image");n.length&&t(i).ImageZoom(o)};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-magnifier.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-image-stack");if(n.length){var o=n.find(".bdt-tippy-tooltip"),i=e.data("id");o.each((function(e){tippy(this,{allowHTML:!0,theme:"bdt-tippy-"+i})}))}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-stack.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-logo-grid-wrapper");if(n.length){var o=n.find("> .bdt-tippy-tooltip"),i=e.data("id");o.each((function(e){tippy(this,{allowHTML:!0,theme:"bdt-tippy-"+i})}))}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-logo-grid.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-open-street-map"),o=n.data("settings"),i=n.data("map_markers"),s="";if(n.length){var r=L.map(n[0],{zoomControl:o.zoomControl,scrollWheelZoom:!1}).setView([o.lat,o.lng],o.zoom);for(var a in""!==o.mapboxToken?(s="https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token="+o.mapboxToken,L.tileLayer(s,{maxZoom:18,attribution:'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',id:"mapbox/streets-v11",tileSize:512,zoomOffset:-1}).addTo(r)):L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r),i)if(""!=i[a].iconUrl&&void 0!==i[a].iconUrl){var d=new(L.Icon.extend({options:{iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[2,-41]}}))({iconUrl:i[a].iconUrl});L.marker([i[a].lat,i[a].lng],{icon:d}).bindPopup(i[a].infoWindow).addTo(r)}else""!=i[a].lat&&void 0!==i[a].lat&&L.marker([i[a].lat,i[a].lng]).bindPopup(i[a].infoWindow).addTo(r)}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-open-street-map.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-panel-slider");if(!n.length)return;var o=n.find(".swiper-carousel"),i=n.data("settings"),s=n.data("widget-settings");const r=elementorFrontend.utils.swiper;!async function(){await new r(o,i);i.pauseOnHover&&t(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}(),1==s.mouseInteractivity&&setTimeout((()=>{var e=t(s.id).find(".bdt-panel-slide-item");t(e).each(((e,n)=>{var o=t(n).get(0);new Parallax(o,{selector:".bdt-panel-slide-thumb",hoverOnly:!0,pointerEvents:!0})}))}),2e3)};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-panel-slider.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-panel-slider.bdt-middle",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-panel-slider.always-visible",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-progress-pie");n.length&&epObserveTarget(e[0],(function(){var e=t(n);e.asPieProgress({namespace:"pieProgress",classes:{svg:"bdt-progress-pie-svg",number:"bdt-progress-pie-number",content:"bdt-progress-pie-content"}}),e.asPieProgress("start")}),{root:null,rootMargin:"0px",threshold:1})};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-progress-pie.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-reading-progress");if(n.length){var o=n.data("settings");jQuery(document).ready((function(){var e,i,s,r={borderSize:10,mainBgColor:"#E6F4F7",lightBorderColor:"#A2ECFB",darkBorderColor:"#39B4CC"},a=o.progress_bg,d=o.scroll_bg,l=t(n),c="bdt-reading-progress-border",u="bdt-reading-progress-circle",f="bdt-reading-progress-text",g=function(){e=window.innerHeight,i=document.body.offsetHeight,s=i-e},h=function(){var e=document.createEvent("Event");e.initEvent("scroll",!1,!1),window.dispatchEvent(e)};t(l).html("<div class='"+c+"'><div class='"+u+"'><span class='"+f+"'></span></div></div>"),t("."+c,l).css({"background-color":d,"background-image":"linear-gradient(91deg, transparent 50%,"+r.lightBorderColor+"50%), linear-gradient(90deg,"+r.lightBorderColor+"50%, transparent 50%"}),t("."+u,l).css({width:r.width-r.borderSize,height:r.height-r.borderSize}),t(window).on("scroll",(function(){var e=window.pageYOffset||document.documentElement.scrollTop;!function(e){var n=Math.round(100*e),o=360*n/100;o<=180?t("."+c,l).css("background-image","linear-gradient("+(90+o)+"deg, transparent 50%, "+a+" 50%),linear-gradient(90deg, "+a+" 50%, transparent 50%)"):t("."+c,l).css("background-image","linear-gradient("+(o-90)+"deg, transparent 50%, "+d+" 50%),linear-gradient(90deg, "+a+" 50%, transparent 50%)"),t("."+f,l).text(n+"%")}(Math.max(0,Math.min(1,e/s)))})),t(window).on("resize",(function(){g(),h()})),t(window).on("load",(function(){g(),h()}))}))}},o=function(e,t){if(e.find(".bdt-progress-with-cursor").length){document.getElementsByTagName("body")[0].addEventListener("mousemove",(function(e){n.style.left=e.clientX+"px",n.style.top=e.clientY+"px",o.style.left=e.clientX+"px",o.style.top=e.clientY+"px",i.style.left=e.clientX+"px",i.style.top=e.clientY+"px"}));var n=document.querySelector(".bdt-cursor"),o=document.querySelector(".bdt-cursor2"),i=document.querySelector(".bdt-cursor3");d();for(var s=document.querySelectorAll(".hover-target"),r=s.length-1;r>=0;r--)l(s[r]);t(document).ready((function(){var e=document.querySelector(".bdt-progress-wrap path"),n=e.getTotalLength();e.style.transition=e.style.WebkitTransition="none",e.style.strokeDasharray=n+" "+n,e.style.strokeDashoffset=n,e.getBoundingClientRect(),e.style.transition=e.style.WebkitTransition="stroke-dashoffset 10ms linear";var o=function(){var o=t(window).scrollTop(),i=t(document).height()-t(window).height(),s=n-o*n/i;e.style.strokeDashoffset=s};o(),jQuery(window).on("scroll",o)}))}function a(e){o.classList.add("hover"),i.classList.add("hover")}function d(e){o.classList.remove("hover"),i.classList.remove("hover")}function l(e){e.addEventListener("mouseover",a),e.addEventListener("mouseout",d)}},i=function(e,t){e.find(".bdt-horizontal-progress").length&&t("#bdt-progress").progress({size:"3px",wapperBg:"#eee",innerBg:"#DA4453"})},s=function(e,t){if(e.find(".bdt-progress-with-top").length){var n=document.querySelector(".bdt-progress-wrap path"),o=n.getTotalLength();n.style.transition=n.style.WebkitTransition="none",n.style.strokeDasharray=o+" "+o,n.style.strokeDashoffset=o,n.getBoundingClientRect(),n.style.transition=n.style.WebkitTransition="stroke-dashoffset 10ms linear";var i=function(){var e=jQuery(window).scrollTop(),t=jQuery(document).height()-jQuery(window).height(),i=o-e*o/t;n.style.strokeDashoffset=i};i(),jQuery(window).on("scroll",i);jQuery(window).on("scroll",(function(){jQuery(this).scrollTop()>50?jQuery(".bdt-progress-wrap").addClass("active-progress"):jQuery(".bdt-progress-wrap").removeClass("active-progress")})),jQuery(".bdt-progress-wrap").on("click",(function(e){return e.preventDefault(),jQuery("html, body").animate({scrollTop:0},550),!1}))}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.bdt-progress-with-cursor",o),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.bdt-horizontal-progress",i),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.bdt-back-to-top-with-progress",s)}))}(jQuery,window.elementorFrontend),function(e,t){e(window).on("elementor/frontend/init",(function(){let t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},settings:function(e){return this.getElementSettings("reading_timer_"+e)},calculateReadingTime:function(e){let t=e.split(/\s+/).filter((function(e){return""!==e})).length,n=this.settings("avg_words_per_minute")?this.settings("avg_words_per_minute").size:200,o=Math.floor(t/n),i=Math.floor(t%n/(n/60)),s=this.settings("minute_text")?this.settings("minute_text"):"min read",r=this.settings("seconds_text")?this.settings("seconds_text"):"sec read";return t>=n?`${o} ${s}`:`${i} ${r}`},run:function(){const t=`.elementor-element-${this.$element.data("id")} .bdt-reading-timer`,n=this.settings("content_id");let o=this.settings("minute_text")?this.settings("minute_text"):"min read";if(Boolean(elementorFrontend.isEditMode()))e(t).append("2 "+o);else if(n){ReadingContent=e(document).find(`#${n}`).text();var i=this.calculateReadingTime(ReadingContent);e(t).append(i)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-timer.default",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-review-card-carousel");if(!n.length)return;var o=n.find(".swiper-carousel"),i=n.data("settings");const s=elementorFrontend.utils.swiper;!async function(){await new s(o,i);i.pauseOnHover&&t(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-review-card-carousel.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-scroll-button"),o=n.data("selector"),i=n.data("settings");n.length&&(1==i.HideOnBeforeScrolling&&t(window).scroll((function(){t(window).scrollTop()>300?n.css("opacity","1"):n.css("opacity","0")})),t(n).on("click",(function(e){e.preventDefault(),bdtUIkit.scroll(n,i).scrollTo(t(o))})))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-scroll-button.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n,o=function(e,t){var o=e.find(".bdt-search-container"),i=e.find(".bdt-ajax-search");let s;if(t(e).find(".bdt-navbar-dropdown-close").on("click",(function(){bdtUIkit.drop(e.find(".bdt-navbar-dropdown")).hide()})),i.length){var r=t(i).find(".bdt-search-result"),a=t(i).data("settings"),d=t(o).data("settings"),l=t(i).attr("anchor-target");l="yes"===l?"_blank":"_self",clearTimeout(n),d&&d.element_connect&&t(d.element_selector).hide(),t(i).on("keyup keypress",(function(e){if(13===(e.keyCode||e.which))return e.preventDefault(),!1})),i.find(".bdt-search-input").keyup((function(){s=t(this).val(),n=setTimeout((function(){t(i).addClass("bdt-search-loading"),jQuery.ajax({url:window.ElementPackConfig.ajaxurl,type:"post",data:{action:"element_pack_search",s:s,settings:a},success:function(e){if((e=t.parseJSON(e)).results.length>0)if(s.length>=3){var n=`<div class="bdt-search-result-inner">\n <h3 class="bdt-search-result-header">${window.ElementPackConfig.search.search_result}<i class="ep-icon-close bdt-search-result-close-btn"></i></h3>\n <ul class="bdt-list bdt-list-divider">`;for(let t=0;t<e.results.length;t++){const o=e.results[t];n+=`<li class="bdt-search-item" data-url="${o.url}">\n <a href="${o.url}" target="${l}">\n <div class="bdt-search-title">${o.title}</div>\n <div class="bdt-search-text">${o.text}</div>\n </a>\n </li>`}n+=`</ul><a class="bdt-search-more">${window.ElementPackConfig.search.more_result}</a></div>`,r.html(n),r.show(),t(".bdt-search-result-close-btn").on("click",(function(e){t(".bdt-search-result").hide(),t(".bdt-search-input").val("")})),t(i).removeClass("bdt-search-loading"),t(".bdt-search-more").on("click",(function(e){e.preventDefault(),t(i).submit()}))}else r.hide();else if(s.length>3){var o=`<div class="bdt-search-result-inner">\n <h3 class="bdt-search-result-header">${window.ElementPackConfig.search.search_result}<i class="ep-icon-close bdt-search-result-close-btn"></i></h3>\n <div class="bdt-search-text">${s} ${window.ElementPackConfig.search.not_found}</div>\n </div>`;r.html(o),r.show(),t(".bdt-search-result-close-btn").on("click",(function(e){t(".bdt-search-result").hide(),t(".bdt-search-input").val("")})),t(i).removeClass("bdt-search-loading"),d&&d.element_connect&&(r.hide(),setTimeout((function(){t(d.element_selector).show()}),1500))}else r.hide(),t(i).removeClass("bdt-search-loading")}})}),450)}))}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-search.default",o)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-slider");if(!n.length)return;var o=n.find(".swiper-carousel"),i=n.data("settings");const s=elementorFrontend.utils.swiper;!async function(){await new s(o,i);i.pauseOnHover&&t(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-slider.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-slider.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-static-carousel");if(!n.length)return;var o=n.find(".swiper-carousel"),i=n.data("settings");const s=elementorFrontend.utils.swiper;!async function(){await new s(o,i);i.pauseOnHover&&t(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-static-carousel.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-static-grid-tab"),o=n.find(".gridtab"),i=n.data("settings");n.length&&t(o).gridtab(i)};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-static-grid-tab.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-step-flow"),o=t(n).find(".bdt-title-separator-wrapper > img");n.length&&epObserveTarget(e[0],(function(){bdtUIkit.svg(o,{strokeAnimation:!0})}),{root:null,rootMargin:"0px",threshold:.8})};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-step-flow.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-show-hide-container"),o=n.find(".bdt-show-hide");if(n.length){var i=o.data("settings"),s=i.id,r=i.scrollspy_time,a=i.scrollspy_top_offset,d=i.by_widget_selector_status,l=i.toggle_initially_open,c=i.source_selector,u=i.widget_visibility,f=i.widget_visibility_tablet,g=i.widget_visibility_mobile,h=i.viewport_lg,m=i.viewport_md,p=u;"undefined"!=i.widget_visibility&&null!=i.widget_visibility||(p=u=0),"undefined"!=i.widget_visibility_tablet&&null!=i.widget_visibility_tablet||(f=u),"undefined"!=i.widget_visibility_mobile&&null!=i.widget_visibility_mobile||(g=u),t(window).resize((function(){p=window.outerWidth>h?u:window.outerWidth>m?f:g})),t(o).find(".bdt-show-hide-title").off("click").on("click",(function(e){var n=t(this);!function(e,n,o,s,r){if("yes"===i.status_scrollspy&&"yes"!==d){if(t(e).find(".bdt-show-hide-item")){"yes"===i.hash_location&&(window.location.hash=t.trim(n));var a=t("#bdt-show-hide-"+n).find(".bdt-show-hide-item");t("html, body").animate({easing:"slow",scrollTop:t(a).offset().top-r},s,(function(){})).promise().then((function(){t(o).siblings(".bdt-show-hide-content").slideToggle("slow",(function(){t(o).parent().toggleClass("bdt-open")}))}))}}else"yes"===d?(t(o).parent().toggleClass("bdt-open"),t(o).siblings(".bdt-show-hide-content").slideToggle("slow",(function(){}))):t(o).siblings(".bdt-show-hide-content").slideToggle("slow",(function(){t(o).parent().toggleClass("bdt-open")}))}(o,s,n,r,a)})),t(window).on("load",(function(){0!=t(n).find("#bdt-show-hide-"+window.location.hash.substring(1)).length&&"yes"===i.hash_location&&function(){s=window.location.hash.substring(1);var e=t("#bdt-show-hide-"+s).find(".bdt-show-hide-title"),n=t("#bdt-show-hide-"+s).find(".bdt-show-hide-item");t("html, body").animate({easing:"slow",scrollTop:t(n).offset().top-a},r,(function(){})).promise().then((function(){t(e).siblings(".bdt-show-hide-content").slideToggle("slow",(function(){t(e).parent().toggleClass("bdt-open")}))}))}()})),"yes"===d&&(t(o).find(".bdt-show-hide-title").on("click",(function(){"yes"===i.status_scrollspy?t("html, body").animate({easing:"slow",scrollTop:t(c).offset().top-a},r,(function(){})).promise().then((function(){t(c).hasClass("bdt-fold-close")?(t(c).removeClass("bdt-fold-close toggle_initially_open").addClass("bdt-fold-open"),b(t(c),500)):t(c).css({height:p+"px"}).addClass("bdt-fold-close").removeClass("bdt-fold-open")})):t(c).hasClass("bdt-fold-close")?(t(c).removeClass("bdt-fold-close toggle_initially_open").addClass("bdt-fold-open"),b(t(c),500)):t(c).css({height:p+"px",transition:"all 1s ease-in-out 0s"}).addClass("bdt-fold-close").removeClass("bdt-fold-open")})),"yes"===l?t(c).addClass("bdt-fold-toggle bdt-fold-open toggle_initially_open"):t(c).addClass("bdt-fold-toggle bdt-fold-close toggle_initially_open"),t(window).resize((function(){y()})),y())}function b(e,t){var n=e.height(),o=e.css("height","auto").height();e.height(n),e.stop().animate({height:o},t)}function y(){t(c).hasClass("bdt-fold-close")?t(c).css({height:p+"px"}):b(t(c),500)}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-toggle.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-tutor-lms-course-grid"),o=n.data("settings");if(n.length&&1==o.tiltShow){var i=document.querySelectorAll(o.id+" .bdt-tutor-course-item");VanillaTilt.init(i)}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-tutor-lms-course-grid.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-tutor-lms-course-carousel");if(!n.length)return;var o=n.find(".swiper-carousel"),i=n.data("settings");const s=elementorFrontend.utils.swiper;!async function(){await new s(o,i);i.pauseOnHover&&t(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-tutor-lms-course-carousel.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(t,n){bdtUIkit.notification({message:"<div bdt-spinner></div>"+e(t).find(".bdt_spinner_message").val(),timeout:!1}),e(t).find("button.bdt-button").attr("disabled",!0);var o=e(t).find(".redirect_after_register").val();e.ajax({type:"POST",dataType:"json",url:element_pack_ajax_login_config.ajaxurl,data:{action:"element_pack_ajax_register",first_name:e(t).find(".first_name").val(),last_name:e(t).find(".last_name").val(),email:e(t).find(".user_email").val(),password:e(t).find(".user_password").val(),is_password_required:e(t).find(".is_password_required").val(),"g-recaptcha-response":e(t).find("#g-recaptcha-response").val(),widget_id:n.data("id"),page_id:e(t).find(".page_id").val(),security:e(t).find("#bdt-user-register-sc").val(),lang:element_pack_ajax_login_config.language},success:function(n){var i=t.find(".element-pack-google-recaptcha");if(i.length>0){var s=i.attr("data-widgetid");grecaptcha.reset(s),grecaptcha.execute(s)}!0===n.registered?(bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<div class=\"bdt-flex\"><span bdt-icon='icon: info'></span><span>"+n.message+"</span></div>",status:"primary"}),o&&(document.location.href=o)):(bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<div class=\"bdt-flex\"><span bdt-icon='icon: warning'></span><span>"+n.message+"</span></div>",status:"warning"})),e(t).find("button.bdt-button").attr("disabled",!1)}})},o=function(){var t,n=e(".element-pack-google-recaptcha");n.length>0&&n.each((function(){var n=e(this),o=n.attr("data-widgetid");void 0!==o&&!1!==o||(t=grecaptcha.render(e(this).attr("id"),{sitekey:n.data("sitekey"),callback:function(e){""!==e&&n.append(jQuery("<input>",{type:"hidden",value:e,class:"g-recaptcha-response"}))}}),n.attr("data-widgetid",t))}))};window.onLoadElementPackRegisterCaptcha=o;var i=function(e,t){var o=e.find(".bdt-user-register-widget"),i=e.find(".element-pack-google-recaptcha"),s=e.find(".bdt-user-register");o.on("submit",(function(t){t.preventDefault(),n(o,e)})),elementorFrontend.isEditMode()&&void 0===i.attr("data-widgetid")&&onLoadElementPackRegisterCaptcha(),i.length>0&&grecaptcha.ready((function(){var e=i.attr("data-widgetid");grecaptcha.execute(e)}));var r=s.data("settings");if(r&&void 0!==r.passStrength){var a=0,d=t("#"+r.id),l=t("#"+r.id).find(".bdt-progress-bar"),c={progress:function(e=0){e<=100&&t(l).css({width:e+"%"})},formula:function(e,n){return n<6?(a=0,t(l).css("background","#ff4d4d")):n<8?(a=10,t(l).css("background","#ffff1a")):null==e.match(/0|1|2|3|4|5|6|7|8|9/)&&null==e.match(/[A-Z]/)?(a=40,t(l).css("background","#ffc14d")):n<12?(a=50,t(l).css("background","#1aff1a")):(a=60,t(l).css("background","#1aff1a")),null!=e.match(/[a-z]/)&&(a+=10),null!=e.match(/[A-Z]/)&&(a+=10),null!=e.match(/0|1|2|3|4|5|6|7|8|9/)&&(a+=10),null!=e.match(/\W/)&&null!=e.match(/\D/)&&(a+=10),a},forceStrongPass:function(e){e>=70?t(d).find(".elementor-field-type-submit .bdt-button").prop("disabled",!1):t(d).find(".elementor-field-type-submit .bdt-button").prop("disabled",!0)},init:function(){e.find(".user_password").keyup((function(){var e=t(this).val(),n=e.length;let o=c.formula(e,n);c.progress(o),void 0!==r.forceStrongPass&&c.forceStrongPass(o)})),void 0!==r.forceStrongPass&&t(d).find(".elementor-field-type-submit .bdt-button").prop("disabled",!0),e.find(".confirm_password").keyup((function(){let n=t(this).val(),o=n.length,i=c.formula(n,o);c.progress(i),n!==e.find(".user_password").val()?(e.find(".bdt-user-register-pass-res").removeClass("bdt-hidden"),t(d).find(".elementor-field-type-submit .bdt-button").prop("disabled",!0)):(e.find(".bdt-user-register-pass-res").addClass("bdt-hidden"),void 0!==r.forceStrongPass&&c.forceStrongPass(i))}))}};c.init()}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-register.default",i),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-register.bdt-dropdown",i),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-register.bdt-modal",i)}))}(jQuery,window.elementorFrontend),jQuery(document).ready((function(){jQuery("body").on("click",".bdt-element-link",(function(){var e=jQuery(this),t=e.data("ep-wrapper-link"),n="bdt-element-link-"+e.data("id");0===jQuery("#"+n).length&&jQuery("body").append(jQuery(document.createElement("a")).prop({target:t.is_external?"_blank":"_self",href:t.url,class:"bdt-hidden",id:n,rel:t.nofollow?"nofollow noreferer":""})),jQuery("#"+n)[0].click()}))})),function(e,t){e(window).on("elementor/frontend/init",(function(){var t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{depth:"30px",layers:8}},onElementChange:debounce((function(e){-1!==e.indexOf("ep_threed_text_")&&this.run()}),400),settings:function(e){return this.getElementSettings("ep_threed_text_"+e)},run:function(){var t=this.getDefaultSettings(),n=this.findElement(".elementor-heading-title, .bdt-main-heading-inner"),o="ep-"+this.getID(),i="#"+o;if(jQuery(n).attr("id",o),this.settings("depth.size")&&(t.depth=this.settings("depth.size")+this.settings("depth.unit")||"30px"),this.settings("layers")&&(t.layers=this.settings("layers")||8),this.settings("perspective.size")&&(t.perspective=this.settings("perspective.size")+"px"||"500px"),this.settings("fade")&&(t.fade=!!this.settings("fade")),this.settings("event")&&(t.event=this.settings("event")||"pointer"),this.settings("event_rotation")&&"none"!=this.settings("event")&&(t.eventRotation=this.settings("event_rotation.size")+"deg"||"35deg"),this.settings("event_direction")&&"none"!=this.settings("event")&&(t.eventDirection=this.settings("event_direction")||"default"),"yes"==this.settings("active")){var s=e(i).html();e(i).parent().append('<div class="ep-z-text-duplicate" style="display:none;">'+s+"</div>"),s=e(i).parent().find(".ep-z-text-duplicate:first").html(),e(i).find(".z-text").remove();new Ztextify(i,t,s)}if(this.settings("depth_color")){var r=this.settings("depth_color")||"#fafafa";e(i).find(".z-layers .z-layer:not(:first-child)").css("color",r)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-ep-product-carousel");if(!n.length)return;var o=n.find(".swiper-carousel"),i=n.data("settings");const s=elementorFrontend.utils.swiper;!async function(){await new s(o,i);i.pauseOnHover&&t(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-product-carousel.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-age-gate");n.length&&t.each(n,(function(e,n){var o=t(this),i=o.data("settings"),s=i.id,r=(i.displayTimes,i.closeBtnDelayShow),a=i.delayTime,d=i.widgetId,l=i.requiredAge,c=i.redirect_link,u=Boolean(elementorFrontend.isEditMode());u&&(c=!1);var f={setLocalize:function(){if(u)this.clearLocalize();else{this.clearLocalize();var e=d,t=60*i.displayTimesExpire*60,n=Date.now()+1e3*t;if(null===localStorage.getItem(e)&&(localStorage.setItem(e,0),localStorage.setItem(e+"_expiresIn",n)),null!==localStorage.getItem(e)){var o=parseInt(localStorage.getItem(e));o++,localStorage.setItem(e,o)}}},clearLocalize:function(){var e=parseInt(localStorage.getItem(d+"_expiresIn"));Date.now()>=e&&(localStorage.removeItem(d+"_expiresIn"),localStorage.removeItem(d))},modalFire:function(){(parseInt(localStorage.getItem(d))||0)>=1||bdtUIkit.modal(o,{bgclose:!1,keyboard:!1}).show()},ageVerify:function(){var e=this,n=parseInt(localStorage.getItem(d))||0;t("#"+d).find(".bdt-button").on("click",(function(){if(parseInt(t("#"+d).find(".bdt-age-input").val())>=l)e.setLocalize(),n+=1,bdtUIkit.modal(o).hide();else{if(0==c)return void t(".modal-msg-text").removeClass("bdt-hidden");t(".modal-msg-text").removeClass("bdt-hidden"),window.location.replace(c)}})),bdtUIkit.util.on(o,"hidden",(function(){u||(0==c&&n<=0?setTimeout((function(){e.modalFire()}),1500):!1!==c&&n<=0&&window.location.replace(c))}))},closeBtnDelayShow:function(){var e=t("#"+s);e.find("#bdt-modal-close-button").hide(0),e.on("shown",(function(){t("#bdt-modal-close-button").hide(0).fadeIn(a)})).on("hide",(function(){e.find("#bdt-modal-close-button").hide(0)}))},default:function(){this.modalFire()},init:function(){var e=this;e.default(),e.ageVerify(),r&&e.closeBtnDelayShow()}};f.init()}))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-age-gate.default",n)}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";e(window).on("elementor/frontend/init",(function(){var t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{left:"unset",time:".5s",mixColor:"#fff",backgroundColor:"#fff",saveInCookies:!1,label:"🌓",autoMatchOsTheme:!1}},onElementChange:debounce((function(e){this.run()}),400),settings:function(e){return this.getElementSettings(e)},setCookie:function(e,t,n){var o="";if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),o="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+o+"; path=/"},getCookie:function(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var i=n[o];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null},eraseCookie:function(e){document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"},run:function(){var t=this.getDefaultSettings(),n=(this.findElement(".elementor-widget-container").get(0),"yes"===this.settings("autoMatchOsTheme")&&"undefined"!==this.settings("autoMatchOsTheme")),o="yes"===this.settings("saveInCookies")&&"undefined"!==this.settings("saveInCookies");if(t.left="unset",t.time=this.settings("time.size")/1e3+"s",t.mixColor=this.settings("mix_color"),t.backgroundColor=this.settings("default_background"),t.saveInCookies=o,t.label="🌓",t.autoMatchOsTheme=n,e("body").removeClass((function(e,t){return(t.match(/\bbdt-dark-mode-\S+/g)||[]).join(" ")})),e("body").addClass("bdt-dark-mode-position-"+this.settings("toggle_position")),e(this.settings("ignore_element")).addClass("darkmode-ignore"),t.mixColor){e(".darkmode-toggle, .darkmode-layer, .darkmode-background").remove();var i=new Darkmode(t);i.showWidget(),"dark"===this.settings("default_mode")?(i.toggle(),e("body").addClass("darkmode--activated"),e(".darkmode-layer").addClass("darkmode-layer--simple darkmode-layer--expanded")):(e("body").removeClass("darkmode--activated"),e(".darkmode-layer").removeClass("darkmode-layer--simple darkmode-layer--expanded"));var s=this;if(!1===e("body").hasClass("elementor-editor-active")&&!0===o){e(".darkmode-toggle").on("click",(function(){!0===i.isActivated()?(s.eraseCookie("bdtDarkModeUserAction"),s.setCookie("bdtDarkModeUserAction","dark",10)):!1===i.isActivated()&&(s.eraseCookie("bdtDarkModeUserAction"),s.setCookie("bdtDarkModeUserAction","light",10))}));var r=this.getCookie("bdtDarkModeUserAction");null!==r&&"undefined"!==r&&("dark"===r?(i.toggle(),e("body").addClass("darkmode--activated"),e(".darkmode-layer").addClass("darkmode-layer--simple darkmode-layer--expanded")):(e("body").removeClass("darkmode--activated"),e(".darkmode-layer").removeClass("darkmode-layer--simple darkmode-layer--expanded")))}}}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-dark-mode.default",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}(jQuery,window.elementorFrontend),function(e,t){e(window).on("elementor/frontend/init",(function(){var t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce((function(e){-1!==e.indexOf("element_pack_agbg_")&&this.run()}),400),settings:function(e){return this.getElementSettings("element_pack_agbg_"+e)},parseColor:function(e){if(/^rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*([\d.]*)\)$/.test(e)){const[t,n,o,i,s=1]=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*([\d.]*)\)$/);return 1===parseFloat(s)?`#${((1<<24)+(parseInt(n)<<16)+(parseInt(o)<<8)+parseInt(i)).toString(16).slice(1)}`:`rgba(${n}, ${o}, ${i}, .${s.toString().split(".")[1]||0})`}if(/^#([A-Fa-f0-9]{8})$/.test(e)){const t=e.match(/[A-Fa-f0-9]{2}/g).map((e=>parseInt(e,16))),n=parseFloat((t[3]/255).toFixed(2));return 1===n?`#${e.slice(1,7)}`:`rgba(${t[0]}, ${t[1]}, ${t[2]}, .${n.toString().split(".")[1]||0})`}if(/^#([A-Fa-f0-9]{6})$/.test(e))return e.toLowerCase();if(/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,?\s*([\d.]*)\)$/.test(e)){const[t,n,o,i,s=1]=e.match(/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,?\s*([\d.]*)\)$/);return 1===parseFloat(s)?`hsl(${n}, ${o}%, ${i}%)`:`hsla(${n}, ${o}%, ${i}%, .${s.toString().split(".")[1]||0})`}return e},run:function(){if("yes"!==this.settings("show"))return;const t=this.$element.data("id"),n=document.querySelector(".elementor-element-"+t),o=e(n).find(".bdt-animated-gradient-background");e(o).length<1&&e(n).prepend('<canvas id="canvas-basic-'+t+'" class="bdt-animated-gradient-background"></canvas>');const i=e(n).find(".bdt-animated-gradient-background").attr("id");let s=this.settings("color_list").map((e=>[this.parseColor(e.start_color),this.parseColor(e.end_color)]));var r=void 0!==this.settings("direction")?this.settings("direction"):"diagonal",a=void 0!==this.settings("transitionSpeed")?this.settings("transitionSpeed.size"):"5500";new Granim({element:"#"+i,direction:r,isPausedWhenNotInView:!0,states:{"default-state":{gradients:s,transitionSpeed:a}}})}}),elementorFrontend.hooks.addAction("frontend/element_ready/section",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})),elementorFrontend.hooks.addAction("frontend/element_ready/container",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}(jQuery,window.elementorFrontend),function(e,t){e(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce((function(e){-1!==e.indexOf("element_pack_widget_")&&(this.instance.destroy(),this.run())}),400),settings:function(e){return this.getElementSettings("element_pack_widget_"+e)},run:function(){var e=this.getDefaultSettings(),t=this.$element.data("id"),n=document.querySelector(".elementor-element-"+t+" .elementor-widget-container");this.settings("tooltip_text")&&(e.content=EP_SAFE_HTML(this.settings("tooltip_text"))),e.arrow=!!this.settings("tooltip_arrow"),e.followCursor=!!this.settings("tooltip_follow_cursor"),this.settings("tooltip_placement")&&(e.placement=this.settings("tooltip_placement")),this.settings("tooltip_trigger")&&(this.settings("tooltip_custom_trigger")?e.triggerTarget=document.querySelector(this.settings("tooltip_custom_trigger")):e.trigger=this.settings("tooltip_trigger")),this.settings("tooltip_animation")&&("fill"===this.settings("tooltip_animation")?e.animateFill=!0:e.animation=this.settings("tooltip_animation")),(this.settings("tooltip_x_offset.size")||this.settings("tooltip_y_offset.size"))&&(e.offset=[this.settings("tooltip_x_offset.size")||0,this.settings("tooltip_y_offset.size")||0]),this.settings("tooltip")&&(e.theme="bdt-tippy-"+t,this.instance=tippy(n,e))}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))}(jQuery,window.elementorFrontend),function(e,t){"use strict";e(window).on("elementor/frontend/init",(function(){const t=function(t){jQuery(t).find(".bdt-ep-read-more-text").length&&jQuery(t).find(".bdt-ep-read-more-text").each((function(){var t=e(this).data("read-more").words_length||20,n=e(this).html().replace(/<\/?[^>]+(>|$)/g,"").split(/\s+/);if(n.length>t){var o=n.slice(0,t).join(" "),i=n.slice(t).join(" ");e(this).html(`\n ${o}\n <a href="#" class="bdt_read_more">...${ElementPackConfig.words_limit.read_more}</a>\n <span class="bdt_more_text" style="display:none;">${i}</span>\n <a href="#" class="bdt_read_less" style="display:none;">${ElementPackConfig.words_limit.read_less}</a>\n `),e(this).find("a.bdt_read_more").click((function(t){t.preventDefault(),e(this).hide(),e(this).siblings(".bdt_more_text").show(),e(this).siblings("a.bdt_read_less").show()})),e(this).find("a.bdt_read_less").click((function(t){t.preventDefault(),e(this).hide(),e(this).siblings(".bdt_more_text").hide(),e(this).siblings("a.bdt_read_more").show()}))}}))},n={"bdt-review-card.default":t,"bdt-review-card-carousel.default":t,"bdt-review-card-grid.default":t,"bdt-testimonial-carousel.default":t,"bdt-testimonial-carousel.bdt-twyla":t,"bdt-testimonial-carousel.bdt-vyxo":t,"bdt-testimonial-grid.default":t,"bdt-testimonial-slider.default":t,"bdt-testimonial-slider.bdt-single":t,"bdt-testimonial-slider.bdt-thumb":t};e.each(n,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)}))}))}(jQuery,window.elementorFrontend);