!function(e){e(window).on("elementor/frontend/init",(function(){The7ElementorSettings=function(t){this.$widget=t;var n={getID:function(e){return e.data("id")},getModelCID:function(e){return e.data("model-cid")},getItems:function(e,t){if(t){const i=t.split("."),o=i.splice(0,1);if(!i.length)return e[o];if(!e[o])return;return n.getItems(e[o],i.join("."))}return e}};The7ElementorSettings.prototype.getWidgetType=function(){const e=this.$widget.data("widget_type");return e?e.split(".")[0]:null},The7ElementorSettings.prototype.getID=function(){return n.getID(this.$widget)},The7ElementorSettings.prototype.getModelCID=function(){return n.getModelCID(this.$widget)},The7ElementorSettings.prototype.getCurrentDeviceSetting=function(e){return elementorFrontend.getCurrentDeviceSetting(this.getSettings(),e)},The7ElementorSettings.prototype.getSettings=function(t){var i={};const o=n.getModelCID(this.$widget);if(o){const t=elementorFrontend.config.elements.data[o],n=t.attributes;var s=n.widgetType||n.elType;n.isInner&&(s="inner-"+s);var r=elementorFrontend.config.elements.keys[s];r||(r=elementorFrontend.config.elements.keys[s]=[],e.each(t.controls,(function(e){this.frontend_available&&r.push(e)}))),e.each(t.getActiveControls(),(function(e){if(-1!==r.indexOf(e)){var t=n[e];t.toJSON&&(t=t.toJSON()),i[e]=t}}))}else i=this.$widget.data("settings")||{};return n.getItems(i,t)}},The7ElementorSettings.getResponsiveSettingList=function(e){return["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map((t=>t?`${e}_${t}`:e))},The7ElementorSettings.getControlValue=function(e,t,n){let i;return i="object"==typeof e[t]&&n?e[t][n]:e[t],i},The7ElementorSettings.getResponsiveControlValue=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const i=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)||elementorFrontend.getCurrentDeviceMode(),o=The7ElementorSettings.getControlValue(e,t,n);if("widescreen"===i){const i=The7ElementorSettings.getControlValue(e,`${t}_widescreen`,n);return i||0===i?i:o}const s=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0});let r=i,a=s.indexOf(i),l="";for(;a<=s.length;){if("desktop"===r){l=o;break}const i=`${t}_${r}`,m=The7ElementorSettings.getControlValue(e,i,n);if(m||0===m){l=m;break}a++,r=s[a]}return l}})),runElementHandlers=function(e){[...e].flatMap((e=>[...e.querySelectorAll(".elementor-element")])).forEach((e=>elementorFrontend.elementsHandler.runReadyTrigger(e)))},The7ElementorAnimation=function(){this.classes={animated:"animated",elementorInvisible:"elementor-invisible",the7Hidden:"the7-hidden"},this.animationTimerID,The7ElementorAnimation.prototype.animateElements=function(e){let t=this;e.forEach((function(e){t.animateElement(e)}))},The7ElementorAnimation.prototype.animateElement=function(e){let t=e.$element;if(t.hasClass(this.classes.animated))return;const n=e.animation,i=e.animationDelay;"none"!==n?this.animationTimerID=setTimeout((()=>{t.removeClass(this.classes.elementorInvisible).removeClass(this.classes.the7Hidden).addClass(this.classes.animated+" "+n)}),i):t.removeClass(this.classes.elementorInvisible).removeClass(this.classes.the7Hidden).addClass(this.classes.animated)},The7ElementorAnimation.prototype.resetElements=function(e){let t=this;e.forEach((function(e){t.resetElement(e)}))},The7ElementorAnimation.prototype.resetElement=function(e){clearTimeout(this.animationTimerID);let t=e.$element;if(!t.hasClass(this.classes.animated))return;const n=e.animation;"none"===n?(t.removeClass(this.classes.elementorInvisible),t.removeClass(this.classes.the7Hidden)):(t.addClass(this.classes.elementorInvisible),t.addClass(this.classes.the7Hidden)),t.removeClass(this.classes.animated),t.removeClass(n)},The7ElementorAnimation.prototype.findAnimationsInNode=function(t,n){let i="";void 0!==n&&(i=`:not(.${n})`);let o=t.find(`.elementor-element${i}`),s=[];return o.each((function(){const t=e(this),n=new The7ElementorSettings(t),i=n.getCurrentDeviceSetting("the7_animation")||n.getCurrentDeviceSetting("the7__animation");if(!i)return;const o=n.getSettings(),r=o._animation_delay||o.animation_delay||0;s.push({$element:t,animation:i,animationDelay:r})})),s}},The7ElementorAnimation.patchElementsAnimation=function(t,n=""){t.find(".elementor-element").each((function(){const t=e(this);if(!t.hasClass("the7-animate")){let i=t.data("settings");if(void 0!==i&&Object.keys(i).length){let t=The7ElementorSettings.getResponsiveSettingList("animation"),o=The7ElementorSettings.getResponsiveSettingList("_animation");const s=t.concat(o);let r=!1;if(s.forEach((function(e){var t,n,o;t=i,(n=e)!==(o=`the7_${e}`)&&t[n]&&(Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(t,n)),delete t[n],1)&&(i[e]="none",r=!0)})),r){const t=e(this),o=new The7ElementorSettings(t);(o.getCurrentDeviceSetting("animation")||o.getCurrentDeviceSetting("_animation"))&&t.addClass(`the7-hidden the7-animate ${n}`),t.attr("data-settings",JSON.stringify(i))}}}}))}}(jQuery); ;