(e=>{("object"!=typeof exports||"undefined"==typeof module)&&"function"==typeof define&&define.amd?define(e):e()})(function(){function e(t){var n=this.constructor;return this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){return n.reject(e)})})}function c(e){return e&&void 0!==e.length}function n(){}function i(e){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function a(n,o){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,i._immediateFn(function(){var e,t=1===n._state?o.onFulfilled:o.onRejected;if(null!==t){try{e=t(n._value)}catch(e){return void s(o.promise,e)}r(o.promise,e)}else(1===n._state?r:s)(o.promise,n._value)})):n._deferreds.push(o)}function r(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,l(t);if("function"==typeof n)return d((o=n,a=e,function(){o.apply(a,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}var o,a}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&i._immediateFn(function(){e._handled||i._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,r(t,e))},function(e){n||(n=!0,s(t,e))})}catch(e){n||(n=!0,s(t,e))}}var t=setTimeout,o=(i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(o,e){var t=new this.constructor(n);return a(this,new function(e,t,n){this.onFulfilled="function"==typeof o?o:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(0,e,t)),t},i.prototype.finally=e,i.all=function(t){return new i(function(a,i){if(!c(t))return i(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return a([]);for(var s=r.length,e=0;r.length>e;e++)!function t(n,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var o=e.then;if("function"==typeof o)return o.call(e,function(e){t(n,e)},i)}r[n]=e,0==--s&&a(r)}catch(e){i(e)}}(e,r[e])})},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i(function(e){e(t)})},i.reject=function(n){return new i(function(e,t){t(n)})},i.race=function(a){return new i(function(e,t){if(!c(a))return t(new TypeError("Promise.race accepts an array"));for(var n=0,o=a.length;n<o;n++)i.resolve(a[n]).then(e,t)})},i._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){t(e,0)},i._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},(()=>{if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")})());"Promise"in o?o.Promise.prototype.finally||(o.Promise.prototype.finally=e):o.Promise=i}),((O,R)=>{var q={addedScripts:{},addedStyles:{},addedAssetsPromises:[],init:function(){var e={"jet-tabs.default":q.tabsInit,"jet-accordion.default":q.accordionInit,"jet-image-accordion.default":q.imageAccordionInit,"jet-switcher.default":q.switcherInit};O.each(e,function(e,t){R.hooks.addAction("frontend/element_ready/"+e,t)}),elementorFrontend.hooks.addAction("frontend/element_ready/loop-carousel.post",function(o,e){e(window).on("load",function(){var e=o.find(".swiper").data("swiper"),t=o.find(".jet-toggle__control"),n=o.find(".jet-switcher__control-instance");e&&(t||n)&&e.on("slideChange",function(){t.off("click.jetAccordion"),n.off("click.jetSwitcher"),q.initLoopCarouselHandlers(o)})})})},initLoopCarouselHandlers:function(e){e.find(".elementor-widget-jet-accordion, .elementor-widget-jet-switcher").each(function(){var e=O(this),t=e.data("element_type");t&&("widget"===t&&(t=e.data("widget_type"),window.elementorFrontend.hooks.doAction("frontend/element_ready/widget",e,O)),window.elementorFrontend.hooks.doAction("frontend/element_ready/global",e,O),window.elementorFrontend.hooks.doAction("frontend/element_ready/"+t,e,O))})},tabsInit:async function(n){var o,t,a,i,r,d=O(".jet-tabs",n).first(),u=(d.data("id"),O(window)),c=O(".jet-tabs__control-wrapper",d).first(),h=O(".jet-tabs__content-wrapper",d).first(),l=O(".jet-tabs__control",c),f=O("> .jet-tabs__content",h),p=O.extend(d.data("settings")||{},q.getElementorElementSettings(n)),e=[],s=null,g=null,m=window.location.hash||!1,w=!!m&&m.replace("#","").split("&"),v=(p.tabsPosition,[]),b=[],_=elementorFrontend.getCurrentDeviceMode(),m=R.config.responsive.activeBreakpoints,j=d.data("swiper-settings")||{};function y(e,t=!1){if(i)try{i.slideToLoop(e,t?0:C.speed,!0)}catch(e){}}if(q.prepareVideoIframes(h),q.observeVideoIframes(h),t="desktop",b.desktop=""!=p.tabs_position?p.tabs_position:"top",v.desktop="jet-tabs-position-"+b.desktop,Object.keys(m).reverse().forEach(function(e){"widescreen"===e?(b[e]=p["tabs_position_"+e]&&""!=p["tabs_position_"+e]?p["tabs_position_"+e]:"top",v[e]="jet-tabs-position-"+b[e]):(b[e]=p["tabs_position_"+e]&&""!=p["tabs_position_"+e]?p["tabs_position_"+e]:b[t],v[e]="jet-tabs-position-"+b[e],t=e)}),!d.hasClass(v[_])){for(var[I,x]of Object.entries(v))d.removeClass(x);d.addClass(v[_])}"click"===p.event?l.on("click.jetTabs",function(){var e=O(this),t=+e.data("tab")-1,e=e.data("template-id");clearInterval(s),p.ajaxTemplate&&e&&M(t),F(t),k(t)}):"ontouchend"in window||"ontouchstart"in window?(l.on("touchstart",function(e){o=O(window).scrollTop()}),l.on("touchend",function(e){var t=O(this),n=+t.data("tab")-1,t=t.data("template-id");if(o!==O(window).scrollTop())return!1;clearInterval(s),p.ajaxTemplate&&t&&M(n),F(n),T.length&&y(n),k(n)})):l.on("mouseenter",function(e){var t=O(this),n=+t.data("tab")-1,t=t.data("template-id");clearInterval(s),p.ajaxTemplate&&t&&M(n),F(n)}),u.load(function(){var e=f.eq([p.activeIndex]).outerHeight(!0);"yes"!=p.no_active_tabs&&(e+=parseInt(h.css("border-top-width"))+parseInt(h.css("border-bottom-width")),h.css("min-height",e))}),"left"!==b[_]&&"right"!==b[_]&&(a=O(".jet-tabs__content.active-content",n))[0]&&new MutationObserver((e,t)=>{for(var n of e)"childList"===n.type&&(a.closest(".jet-tabs__content-wrapper").css("min-height","auto"),n=a.outerHeight(!0),n+=parseInt(a.css("border-top-width"))+parseInt(a.css("border-bottom-width")),a.closest(".jet-tabs__content-wrapper").css("min-height",n))}).observe(a[0],{childList:!0,subtree:!0});let C={slidesPerView:"auto",centeredSlides:j.centeredSlides||!1,loop:j.loop||!1,loopFillGroupWithBlank:!0,speed:300,navigation:{nextEl:d.find(".swiper-button-next")[0],prevEl:d.find(".swiper-button-prev")[0]},keyboard:!0,allowTouchMove:!0,slideToClickedSlide:!1,autoplay:!!p.autoSwitch&&{delay:p.autoSwitchDelay,disableOnInteraction:!1,stopOnLastSlide:!0}},T=n.find(".jet-tabs-swiper"),S=p.autoSwitchDelay?+p.autoSwitchDelay+(T.length?C.speed:0):0;function k(o){p.autoSwitch&&(clearInterval(s),g&&clearTimeout(g),g=setTimeout(function(){var e,t,n;e=o,p.autoSwitch&&(t=l.length,clearInterval(s),g&&clearTimeout(g),n="number"==typeof e?e:-1===p.activeIndex?-1:p.activeIndex,s=setInterval(function(){var e;n=(n+1+t)%t,p.ajaxTemplate&&M(n),F(n),T.length&&(y(n),(e=T.find(".jet-tabs-swiper-container")).find(".swiper-slide").removeClass("active-tab"),e.find('.swiper-slide[data-swiper-slide-index="'+n+'"]').addClass("active-tab"))},S))},S))}function A(){i.autoplay&&i.autoplay.running&&(i.autoplay.stop(),clearInterval(s))}if(T.length){let a=T.find(".jet-tabs-swiper-container");function P(e){var t=parseInt(e.getAttribute("data-swiper-slide-index"),10);a.find(".swiper-slide.active-tab").removeClass("active-tab"),O(e).addClass("active-tab"),F(t),A(),clearInterval(s)}function E(){var e=a.find(".swiper-slide");e.off("mouseenter touchend"),e.on("mouseenter",function(){A(),P(this)}),e.on("touchend",function(){if(o!==O(window).scrollTop())return!1;P(this)})}"fixed"===j.slidesPerView&&a.find(".swiper-slide").css("width",j.itemWidth),a.length&&a.hasClass("swiper")&&(i=await new window.elementorFrontend.utils.swiper(a[0],C),m=[".jet-tabs__content-wrapper input",".jet-tabs__content-wrapper textarea",".jet-tabs__content-wrapper select",'.jet-tabs__content-wrapper [contenteditable="true"]'].join(", "),d.on("keydown.jetTabsSwiperFix",m,function(e){var t=e.which||e.keyCode;37!==t&&38!==t&&39!==t&&40!==t||e.stopPropagation()}),m=-1===p.activeIndex?0:p.activeIndex,i.slideToLoop(m,0,!1),p.autoSwitch&&-1===p.activeIndex&&(i.autoplay.stop(),setTimeout(()=>i.autoplay.start(),S)),i.on("reachEnd",function(){if(p.autoSwitch&&i.isEnd&&!j.loop){let n=a.find(".swiper-slide").last()[0],o=new MutationObserver(e=>{for(var t of e)"attributes"===t.type&&n.classList.contains("active-tab")&&(o.disconnect(),setTimeout(()=>{i.slideTo(0,C.speed,!0),i.autoplay.start()},S))});o.observe(n,{attributes:!0,attributeFilter:["class"]})}}),j.loop&&("click"===p.event?i.on("click",function(){i.clickedSlide&&P(i.clickedSlide)}):"hover"===p.event&&(E(),i.on("transitionEnd",function(){E()}))),a.on("click",function(){A(),clearInterval(s)}),"hover"===p.event&&a.on("mouseenter",function(){A()}),i.on("autoplay",function(){a.find(".swiper-slide").removeClass("active-tab");var e=i.realIndex;a.find('.swiper-slide[data-swiper-slide-index="'+e+'"]').addClass("active-tab")}),i.on("navigationPrev",A),i.on("navigationNext",A),i.on("touchStart",A))}function F(e){var o="auto",t=c.outerHeight(!0),n=elementorFrontend.getCurrentDeviceMode(),a=0,i=(l=c.find(".jet-tabs__control"),f=h.children(".jet-tabs__content"),h.children(".jet-tabs__content.active-content")),i=(q.pauseMediaInContainer(i),l.filter('[data-tab="'+(e+1)+'"]').first()),r=(i=i.length?i:l.eq(e)).attr("id"),s=r?f.filter('[aria-labelledby="'+r+'"]'):O();(s=s.length?s:f.filter('[data-tab="'+(e+1)+'"]')).length||(s=f.eq(e)),l.removeClass("active-tab").attr("aria-expanded","false"),f.removeClass("active-content").attr("aria-hidden","true"),i.addClass("active-tab").attr("aria-expanded","true"),s.addClass("active-content").attr("aria-hidden","false"),q.restoreMediaInContainer(s),"stretch"===c.css("align-self")&&(O(".jet-tabs__control",c).each(function(){a+=O(this).outerHeight(!0)}),t=a),o=s.outerHeight(!0),o+=parseInt(h.css("border-top-width"))+parseInt(h.css("border-bottom-width")),"left"===b[n]||"right"===b[n]?o<t?(d.css({"min-height":"auto"}),h.css({"min-height":t}),d.css({"min-height":t})):o<h.outerHeight(!0)&&(h.css({"min-height":o}),d.css({"min-height":o})):(h.css({"min-height":o}),(r=h)[0]&&new MutationObserver((e,t)=>{for(var n of e)"childList"===n.type&&(o=s.outerHeight(!0),o+=parseInt(h.css("border-top-width"))+parseInt(h.css("border-bottom-width")),h.css({"min-height":o}))}).observe(r[0],{childList:!0,subtree:!0})),u.trigger("jet-tabs/tabs/show-tab-event/before",{target:d,tabIndex:e}),setTimeout(function(){u.trigger("jet-tabs/tabs/show-tab-event/after",{target:d,tabIndex:e}),!0===p.switchScrolling&&O("html, body").animate({scrollTop:h.offset().top-p.switchScrollingOffset.size},300)},500)}function M(s){var c=f.eq(s),e=c.data("template-loaded")||!1,t=c.data("template-id"),l=O(".jet-tabs-loader",c),n={id:t,dev:window.JetTabsSettings.devMode};e||!1===t||(u.trigger("jet-tabs/ajax-load-template/before",{toggleIndex:s,target:d,contentHolder:c}),c.data("template-loaded",!0),window.JetTabsSettings.isSelfRequest&&(n.jet_tabs_self=1,n["no-cache"]="true",n.timeStamp=Date.now()),O.ajax({type:"GET",url:window.JetTabsSettings.templateApiUrl,dataType:"json",data:n,success:function(t){if(t&&void 0!==t.template_content){var e,n,o=t.template_content,a=t.template_scripts||{},i=t.template_styles||{},r=[];for(e in a)r.push(q.loadScriptAsync(e,a[e]));for(n in i)r.push(q.loadStyle(n,i[n]));Promise.allSettled(r).then(function(e){l.remove(),c.html(o),q.prepareVideoIframes(c),q.observeVideoIframes(h),q.elementorFrontendInit(c),u.trigger("jet-tabs/ajax-load-template/after",{toggleIndex:s,target:d,contentHolder:c,responce:t,response:t})})}else l.remove(),c.data("template-loaded",!1)},error:function(e,t,n){l.remove(),c.data("template-loaded",!1)}}))}p.autoSwitch&&(r=-1,s=setInterval(function(){var e=c.find(".jet-tabs__control:visible"),t=e.length;t&&(r=(r+1)%t,t=e.eq(r),e=parseInt(t.data("tab"),10)-1,p.ajaxTemplate&&t.data("template-id")&&M(e),F(e))},S)),p.ajaxTemplate&&M(p.activeIndex),O(window).on("resize.jetTabs orientationchange.jetTabs",q.debounce(50,function(){_=elementorFrontend.getCurrentDeviceMode();for(var[e,t]of Object.entries(v))d.removeClass(t);d.addClass(v[_])})),O(".jet-tabs__control",n).keydown(function(e){var t,n,o=O(this),e=e.which||e.keyCode;if((13==e||32==e)&&!o.hasClass("active-tab"))return o.click(),!1;37==e&&(t=o.prev().data("tab"),n=o.prev().data("template-id"),(null!=t?(clearInterval(s),p.ajaxTemplate&&n&&M(t-1),F(t-1),o.prev()):o).focus()),39==e&&(t=o.next().data("tab"),n=o.next().data("template-id"),(null!=t?(clearInterval(s),p.ajaxTemplate&&n&&M(t-1),F(t-1),o.next()):o).focus())}),w&&l.each(function(e){var t=O(this),n=t.attr("id"),o=t.data("template-id"),a=e;w.forEach(function(e,t){e===n&&(p.ajaxTemplate&&o&&M(a),F(a))})}),l.each(function(){e.push('a[href*="#'+O(this).attr("id")+'"]')}),O(document).on("click.jetTabAnchor",e.join(","),function(e){var t=O(this.hash);t.closest(n)[0]&&(t=t.data("tab")-1,p.ajaxTemplate&&M(t),F(t))})},switcherInit:function(n){var t,a=O(".jet-switcher",n).first(),i=(a.data("id"),O(window)),e=O(".jet-switcher__control-wrapper",a).first(),r=O(".jet-switcher__content-wrapper",a).first(),o=O("> .jet-switcher__control-instance",e),s=O("> .jet-switcher__control-instance > .jet-switcher__control, > .jet-switcher__control",e),c=O("> .jet-switcher__content",r),l=(O("> .jet-switcher__content--disable",r),O("> .jet-switcher__content--enable",r),a.hasClass("jet-switcher--disable")),d=(a.data("settings"),null);function u(e){var t,n,o;d&&(clearTimeout(d),d=null),r.css({height:r.outerHeight(!0)}),a.toggleClass("jet-switcher--disable jet-switcher--enable"),t=(l=!a.hasClass("jet-switcher--disable"))?s.eq(1):s.eq(0),n=l?c.eq(1):c.eq(0),c.removeClass("active-content"),o=n.outerHeight(!0),o+=parseInt(r.css("border-top-width"))+parseInt(r.css("border-bottom-width")),n.addClass("active-content"),s.attr("aria-expanded","false"),t.attr("aria-expanded","true"),c.attr("aria-hidden","true"),n.attr("aria-hidden","false"),r.css({height:o}),d=setTimeout(function(){r.css({height:"auto"}),d=null},500),i.trigger("jet-tabs/switcher/show-case-event/before",{target:a,caseIndex:e}),setTimeout(function(){i.trigger("jet-tabs/switcher/show-case-event/after",{target:a,caseIndex:e})},500)}a.on("click.jetSwitcherAnchors",'.jet-listing a[href^="#"]',function(e){var t,n,o=this.getAttribute("href");o&&"#"!==o&&(o=o.slice(1),n=document.getElementById(o))&&(e.preventDefault(),d&&(clearTimeout(d),d=null),r.css({height:"auto"}),e=(e=(e=O(n).closest(".jet-switcher__content")).length?e[0].querySelector(".jet-listing"):null)?e.offsetHeight-e.scrollHeight:0,t=(t=document.getElementById("wpadminbar"))?t.offsetHeight:0,n=n.getBoundingClientRect().top+window.scrollY+e-t,window.scrollTo({top:n,behavior:"smooth"}),history&&history.replaceState?history.replaceState(null,"","#"+o):window.location.hash=o)}),q.observeVideoIframes(r),"ontouchend"in window||"ontouchstart"in window?(o.on("touchstart",function(e){t=O(window).scrollTop()}),o.on("touchend",function(e){if(t!==O(window).scrollTop())return!1;u()})):o.on("click.jetSwitcher",function(){u()}),O(window).on("resize.jetSwitcher orientationchange.jetSwitcher",function(){r.css({height:"auto"})}),O(".jet-switcher__control",n).keydown(function(e){var t=O(this),e=e.which||e.keyCode;if(13!=e&&32!=e||(u(),O('[aria-expanded="true"]',n).focus()),37==e)if(0!=t.prev().length&&t.prev().hasClass("jet-switcher__control")&&a.hasClass("jet-switcher--preset-1"))t.prev().focus(),u();else if(a.hasClass("jet-switcher--preset-2")){if(t.hasClass("jet-switcher__control--disable"))return!1;t.hasClass("jet-switcher__control--enable")&&(O(".jet-switcher__control--disable",n).focus(),u())}if(39==e)if(0!=t.next().length&&t.next().hasClass("jet-switcher__control")&&a.hasClass("jet-switcher--preset-1"))t.next().focus(),u();else if(a.hasClass("jet-switcher--preset-2"))if(t.hasClass("jet-switcher__control--disable"))O(".jet-switcher__control--enable",n).focus(),u();else if(t.hasClass("jet-switcher__control--enable"))return!1})},recalcReadMoreBox:function(e){var t,n=e.closest(".jet-view-more-section.view-more-visible");(n=(n=n.length?n:e.closest(".jet-view-more__content")).length?n:e.closest("[data-jet-view-more]")).length&&(t=n.find(".jet-view-more__content, .elementor-widget-container, .e-con-inner").first()[0]||n[0],requestAnimationFrame(function(){n[0].style.height="";var e=t.scrollHeight;n.css("max-height",e+"px")}))},accordionInit:function(n){var l,o,d=O(".jet-accordion",n).first(),u=(d.data("id"),O(window)),e=O("> .jet-accordion__inner > .jet-toggle > .jet-toggle__control",d),h=O.extend(d.data("settings")||{},q.getElementorElementSettings(n)),f=O("> .jet-accordion__inner > .jet-toggle",d),t=[],a=window.location.hash||!1,i=!!a&&a.replace("#","").split("&");function r(e){var t=elementorFrontend.getCurrentDeviceMode();return"mobile"===t&&h.hasOwnProperty(e+"Mobile")?h[e+"Mobile"]:"tablet"===t&&h.hasOwnProperty(e+"Tablet")?h[e+"Tablet"]:h[e]}function p(){var e=r("switchScrolling");return!0===e||"yes"===e||"true"===e}function g(){var e=r("switchScrollingOffset");return e&&"object"==typeof e&&void 0!==e.size?parseInt(e.size||0,10):parseInt(e||0,10)}function m(){var e=r("switchScrollingDelay"),e=parseInt(e,10);return isNaN(e)?500:e}function w(e,t,n,o){t.css({height:t.outerHeight()}),n.attr("aria-expanded","false"),requestAnimationFrame(function(){requestAnimationFrame(function(){t.css({height:0})})}),setTimeout(function(){e.removeClass("active-toggle"),"function"==typeof o&&o()},500)}function v(r){var e=f.eq(r),s=O("> .jet-toggle__content",e),c=O("> .jet-toggle__content > .jet-toggle__content-inner",e),e=s.data("template-loaded")||!1,t=s.data("template-id"),l=O(".jet-tabs-loader",c);e||!1===t||(u.trigger("jet-tabs/ajax-load-template/before",{toggleIndex:r,target:d,contentHolder:s}),s.data("template-loaded",!0),e={id:t,dev:window.JetTabsSettings.devMode},window.JetTabsSettings&&window.JetTabsSettings.isSelfRequest&&(e.jet_tabs_self=1,e._=Date.now()),O.ajax({type:"GET",url:window.JetTabsSettings.templateApiUrl,dataType:"json",data:e,success:function(e){if(e&&void 0!==e.template_content){var t,n,o=e.template_content,a=e.template_scripts||{},i=e.template_styles||{};for(t in a)q.addedAssetsPromises.push(q.loadScriptAsync(t,a[t]));for(n in i)q.addedAssetsPromises.push(q.loadStyle(n,i[n]));Promise.all(q.addedAssetsPromises).then(function(e){l.remove(),c.html(o),q.elementorFrontendInit(c),u.trigger("jet-tabs/ajax-load-template/after",{toggleIndex:r,target:d,contentHolder:s,responce:response,response:response})},function(e){console.log("Script Loaded Error")})}else l.remove(),s.data("template-loaded",!1)}}))}f.each(function(){O(this).hasClass("active-toggle")&&h.ajaxTemplate&&v(O(this).find(".jet-toggle__control").data("toggle")-1)}),O(window).on("resize.jetAccordion orientationchange.jetAccordion",function(){var e=O("> .jet-accordion__inner > .active-toggle",d);O("> .jet-toggle__content",e).css({height:"auto"})}),O(".jet-toggle__control",n).keydown(function(e){var t=O(this),e=e.which||e.keyCode;if(13==e||32==e)return t.click(),!1;37==e&&0!=t.closest(".jet-accordion__item").prev().length&&t.closest(".jet-accordion__item").prev().find(".jet-toggle__control").focus(),39==e&&0!=t.closest(".jet-accordion__item").next().length&&t.closest(".jet-accordion__item").next().find(".jet-toggle__control").focus()}),e.on("click.jetAccordion",function(){var e=O(this),i=e.closest(".jet-toggle"),r=+e.data("toggle")-1;elementorFrontend.getCurrentDeviceMode();if(void 0!==l&&l&&clearTimeout(l),void 0!==o&&o&&clearTimeout(o),!i.data("animating"))if(i.data("animating",!0),setTimeout(function(){i.removeData("animating")},100),h.collapsible){var a=O("> .jet-toggle__control",i),t=O("> .jet-toggle__content",i);if(a.length&&t.length){let e="active-toggle";var s=i.hasClass(e),a=a[0].getBoundingClientRect().top+window.scrollY;let t=null,n=null,o=null;f.each(function(){this!==i[0]&&this.classList.contains(e)&&(t=this,n=this.querySelector(".jet-toggle__control"),o=this.querySelector(".jet-toggle__content"))});var c=o?.scrollHeight||0;if(!s&&n&&o)if(t.classList.remove(e),o.style.height="0",n.setAttribute("aria-expanded","false"),c)if(n.getBoundingClientRect().top+window.scrollY<a){let t=a-c;window.scrollY>t&&requestAnimationFrame(()=>{let e=0;!0===p()&&(e=g()),window.scrollTo({top:t-e,behavior:"auto"})})}f.each(function(e){var t=O(this),n=O("> .jet-toggle__control",t),o=O("> .jet-toggle__content",t),a=O("> .jet-toggle__content > .jet-toggle__content-inner",t).outerHeight();a+=parseInt(o.css("border-top-width"))+parseInt(o.css("border-bottom-width")),e!==r||i.hasClass("active-toggle")?t.hasClass("active-toggle")&&w(t,o,n):(t.addClass("active-toggle"),o.css({height:a}),n.attr("aria-expanded","true"),h.ajaxTemplate&&v(r),u.trigger("jet-tabs/accordion/show-toggle-event/before",{target:d,toggleIndex:r}),l&&clearTimeout(l),l=setTimeout(function(){u.trigger("jet-tabs/accordion/show-toggle-event/after",{target:d,toggleIndex:r}),o.css({height:"auto"}),q.recalcReadMoreBox(d),p()&&O("html, body").animate({scrollTop:t.offset().top-g()},m())},500))})}}else{var t=O("> .jet-toggle__content",i),n=O("> .jet-toggle__content > .jet-toggle__content-inner",i).outerHeight();n+=parseInt(t.css("border-top-width"))+parseInt(t.css("border-bottom-width")),o&&clearTimeout(o),o=setTimeout(function(){i.hasClass("active-toggle")?w(i,t,e,function(){var e=d.closest(".jet-view-more-section.view-more-visible");e.length&&requestAnimationFrame(function(){e.css("max-height",e[0].scrollHeight+"px")})}):(i.addClass("active-toggle"),t.css({height:n}),e.attr("aria-expanded","true"),h.ajaxTemplate&&v(r),u.trigger("jet-tabs/accordion/show-toggle-event/before",{target:d,toggleIndex:r}),l&&clearTimeout(l),l=setTimeout(function(){u.trigger("jet-tabs/accordion/show-toggle-event/after",{target:d,toggleIndex:r}),t.css({height:"auto"}),q.recalcReadMoreBox(d),p()&&!0!==h.collapsible&&O("html, body").animate({scrollTop:e.offset().top-g()},m())},200))},200)}}),i&&e.each(function(e){var n=O(this),o=n.attr("id");i.forEach(function(e,t){e===o&&n.trigger("click.jetAccordion")})}),e.each(function(){t.push('a[href*="#'+O(this).attr("id")+'"]')}),O(document).on("click.jetAccordionAnchor",t.join(","),function(e){var t=O(this.hash);t.closest(n)[0]&&t.trigger("click.jetAccordion")})},imageAccordionInit:function(e){var t,e=O(".jet-image-accordion",e);e.length&&(t=e.data("settings"),new jetImageAccordion(e,t).init())},loadScriptAsync:function(o,a){return a?q.addedScripts.hasOwnProperty(o)?q.addedScripts[o]:void(q.addedScripts[o]=new Promise(function(e,t){var n;document.querySelector('script[src="'+a+'"]')?e(o):((n=document.createElement("script")).src=a,n.async=!0,n.onload=function(){e(o)},n.onerror=function(){t({type:"script",handler:o,uri:a})},document.head.appendChild(n))})):Promise.resolve(o)},loadStyle:function(o,a){return a?(q.addedStyles.hasOwnProperty(o)||(q.addedStyles[o]=new Promise(function(e,t){var n;document.querySelector('link[href="'+a+'"]')?e(o):((n=document.createElement("link")).id=o,n.rel="stylesheet",n.href=a,n.type="text/css",n.media="all",n.onload=function(){e(o)},n.onerror=function(){t({type:"style",handler:o,uri:a})},document.head.appendChild(n))})),q.addedStyles[o]):Promise.resolve(o)},elementorFrontendInit:function(e){e.find("[data-element_type]").each(function(){var t=O(this),e=t.data("element_type");if(e)try{"widget"===e&&(e=t.data("widget_type"),window.elementorFrontend.hooks.doAction("frontend/element_ready/widget",t,O)),window.elementorFrontend.hooks.doAction("frontend/element_ready/global",t,O),window.elementorFrontend.hooks.doAction("frontend/element_ready/"+e,t,O)}catch(e){return console.log(e),t.remove(),!1}})},getElementorElementSettings:function(e){return window.elementorFrontend&&window.elementorFrontend.isEditMode()&&e.hasClass("elementor-element-edit-mode")?q.getEditorElementSettings(e):e.data("settings")||{}},getEditorElementSettings:function(e){var e=e.data("model-cid");return e&&R.hasOwnProperty("config")&&R.config.hasOwnProperty("elements")&&R.config.elements.hasOwnProperty("data")&&(e=R.config.elements.data[e])?e.toJSON():{}},prepareVideoIframes:function(e){e&&e.length&&e.find("iframe").each(function(){var e=O(this),t=e.attr("src")?"src":e.attr("data-src")?"data-src":e.attr("data-lazy-src")?"data-lazy-src":e.attr("data-lazy-load")?"data-lazy-load":null;if(t){var n=e.attr(t);if(n){var o=/youtube\.com|youtube-nocookie\.com|youtu\.be/i.test(n),a=/vimeo\.com/i.test(n);if(o||a)try{var i=0===n.indexOf("//")?window.location.protocol+n:n,r=new URL(i),s=(o&&(r.searchParams.has("enablejsapi")||r.searchParams.set("enablejsapi","1"),r.searchParams.has("origin")||r.searchParams.set("origin",window.location.origin)),!a||r.searchParams.has("api")||r.searchParams.set("api","1"),r.toString());(s=0===n.indexOf("//")?s.replace(window.location.protocol,""):s)!==n&&e.attr(t,s)}catch(e){}}}})},pauseMediaInContainer:function(e){e&&e.length&&(e.find("video, audio").each(function(){try{this.pause()}catch(e){}}),e.find("iframe").each(function(){var e=jQuery(this),t=((t=e).attr("src")?{attr:"src",url:t.attr("src")}:t.attr("data-src")?{attr:"data-src",url:t.attr("data-src")}:t.attr("data-lazy-src")?{attr:"data-lazy-src",url:t.attr("data-lazy-src")}:t.attr("data-lazy-load")?{attr:"data-lazy-load",url:t.attr("data-lazy-load")}:{attr:null,url:""}).url||"";if(t){var n=/youtube\.com|youtube-nocookie\.com|youtu\.be/i.test(t),o=/vimeo\.com/i.test(t);if(n||o){n=n&&/enablejsapi=1/i.test(t),o=o&&/api=1/i.test(t);if((n||o)&&this.contentWindow)try{if(n)return void this.contentWindow.postMessage(JSON.stringify({event:"command",func:"pauseVideo",args:""}),"*");if(o)return void this.contentWindow.postMessage(JSON.stringify({method:"pause"}),"*")}catch(e){}try{e.attr("data-jet-tabs-restore-src")||e.attr("data-jet-tabs-restore-src",t),e.attr("src","about:blank"),e.removeAttr("srcdoc")}catch(e){}}}}))},observeVideoIframes:function(e){var t;e&&e.length&&(e.data("jetTabsVideoObserver")||((t=new MutationObserver(function(e){e.forEach(function(e){var t;"attributes"===e.type?(t=e.target)&&1===t.nodeType&&"IFRAME"===t.tagName&&q.prepareVideoIframes(jQuery(t).parent()):"childList"===e.type&&e.addedNodes&&e.addedNodes.length&&e.addedNodes.forEach(function(e){1===e.nodeType&&((e=jQuery(e)).is("iframe")?q.prepareVideoIframes(e.parent()):(e.find?e.find("iframe"):jQuery()).length&&q.prepareVideoIframes(e))})})})).observe(e[0],{childList:!0,subtree:!0,attributes:!0,attributeFilter:["src","data-src","data-lazy-src","data-lazy-load"]}),e.data("jetTabsVideoObserver",t)))},restoreMediaInContainer:function(e){e&&e.length&&e.find("iframe[data-jet-tabs-restore-src]").each(function(){var e=jQuery(this),t=e.attr("data-jet-tabs-restore-src");t&&(e.attr("src",t),e.removeAttr("data-jet-tabs-restore-src"),q.prepareVideoIframes(e.parent()))})},debounce:function(t,n){var o;return function(e){o&&clearTimeout(o),o=setTimeout(function(){n.call(this,e),o=null},t)}}};window.jetImageAccordion=function(e,n){var o,a=this,i=e,r=O(".jet-image-accordion__item",i),s=r.length,n=n||{};n=O.extend({orientation:"vertical",activeSize:{size:50,unit:"%"},duration:500,activeItem:-1},n),o=n.activeItem,this.layoutBuild=function(){r.css({"transition-duration":n.duration+"ms"}),r.each(function(e){e===o&&(O(this).addClass("active-accordion"),a.layoutRender())}),O(".jet-image-accordion__image-instance",r).imagesLoaded().progress(function(e,t){var t=O(t.img),n=t.closest(".jet-image-accordion__item"),n=O(".jet-image-accordion__item-loader",n);t.addClass("loaded"),n.fadeTo(250,0,function(){O(this).remove()})}),a.layoutRender(),a.addEvents()},this.layoutRender=function(e){var t=n.activeSize.size,t=((100/s).toFixed(2),t/((100-t)/(s-1)));O(".jet-image-accordion__item:not(.active-accordion)",i).css({"flex-grow":1}),O(".active-accordion",i).css({"flex-grow":t})},this.addEvents=function(){var t=O(window).scrollTop();"ontouchend"in window||"ontouchstart"in window?(r.on("touchstart.jetImageAccordion",function(e){t=O(window).scrollTop()}),r.on("touchend.jetImageAccordion",function(e){e.stopPropagation();e=O(this);if(t!==O(window).scrollTop())return!1;e.hasClass("active-accordion")?r.removeClass("active-accordion"):(r.removeClass("active-accordion"),e.addClass("active-accordion")),a.layoutRender()})):(r.on("mouseenter",function(e){var t=O(this);t.hasClass("active-accordion")||(r.removeClass("active-accordion"),t.addClass("active-accordion")),a.layoutRender()}),O(".jet-image-accordion__item",i).keydown(function(e){var t=O(this),e=e.which||e.keyCode;13!=e&&32!=e||(t.hasClass("active-accordion")?(r.removeClass("active-accordion"),-1!==o&&r.eq(o).addClass("active-accordion"),a.layoutRender()):(r.removeClass("active-accordion"),t.addClass("active-accordion")),a.layoutRender()),37==e&&0!=t.prev().length&&(r.removeClass("active-accordion"),t.prev().focus(),t.prev().addClass("active-accordion"),a.layoutRender()),39==e&&0!=t.next().length&&(r.removeClass("active-accordion"),t.next().focus(),t.next().addClass("active-accordion"),a.layoutRender())})),i.on("mouseleave.jetImageAccordion",function(e){r.removeClass("active-accordion"),-1!==o&&r.eq(o).addClass("active-accordion"),a.layoutRender()})},this.init=function(){a.layoutBuild()}},O(window).on("elementor/frontend/init",q.init),window.JetTabs=q})(jQuery,window.elementorFrontend);