(e=>{function n(i,o,r){var a;return function(){var e=this,t=arguments,n=r&&!a;clearTimeout(a),a=setTimeout(function(){a=null,r||i.apply(e,t)},o),n&&i.apply(e,t)}}var i=e(window);i.on("elementor/frontend/init",function(){var t=elementorModules.frontend.handlers.Base.extend({CACHED_ELEMENTS:[],isEqhEnabled:function(){return"yes"===this.getElementSettings("_ha_eqh_enable")&&e.fn.matchHeight},isDisabledOnDevice:function(){var e=i.outerWidth(),t=elementorFrontendConfig.breakpoints.md,n=elementorFrontendConfig.breakpoints.lg;return"yes"==this.getElementSettings("_ha_eqh_disable_on_mobile")&&e<t||"yes"==this.getElementSettings("_ha_eqh_disable_on_tablet")&&t<=e&&e<n},getEqhTo:function(){return this.getElementSettings("_ha_eqh_to")||"widget"},getEqhWidgets:function(){return this.getElementSettings("_ha_eqh_widget")||[]},getTargetElements:function(){var n=this;return this.getEqhWidgets().map(function(e){var t=n.$element.find(".elementor-widget-"+e+" .elementor-widget-container");return elementorFrontendConfig.experimentalFeatures.hasOwnProperty("e_optimized_markup")&&1==elementorFrontendConfig.experimentalFeatures.e_optimized_markup&&!t.length?n.$element.find(".elementor-widget-"+e):t})},bindEvents:function(){this.isEqhEnabled()&&(this.run(),i.on("resize orientationchange",n(this.run.bind(this),500)))},onElementChange:n(function(e,t){-1!==e.indexOf("_ha_eqh")&&(this.unbindMatchHeight(!0),this.run())},100),unbindMatchHeight:function(e){e?(this.CACHED_ELEMENTS.forEach(function(e){e.matchHeight({remove:!0})}),this.CACHED_ELEMENTS=[]):this.getTargetElements().forEach(function(e){e&&e.matchHeight({remove:!0})})},run:function(){var t=this;this.isDisabledOnDevice()?this.unbindMatchHeight():this.getTargetElements().forEach(function(e){e.length&&(e.matchHeight({byRow:!1}),t.CACHED_ELEMENTS.push(e))})}});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);