"use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({onInit:function(){t.prototype.onInit.apply(this,arguments),this.isSpaceRat()&&(this.$element.addClass("ob-spacerat"),this.runRoutine())},isSpaceRat:function(){return"yes"===this.getElementSettings("_ob_spacerat_use")},onElementChange:function(e){"_ob_spacerat_use"===e&&("yes"===this.getElementSettings("_ob_spacerat_use")?this.$element.addClass("ob-spacerat"):this.$element.removeClass("ob-spacerat"))},runRoutine:function(){if(!this.isEdit){var e={};try{e=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if(void 0!==e._ob_spacerat_link){var t=e._ob_spacerat_link;if(""===t.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){t.is_external?window.open(t.url):location.href=t.url}))}}}}),elementorFrontend.hooks.addAction("frontend/element_ready/spacer.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}));