"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}require("./split.scss");var _splitting=_interopRequireDefault(require("./splitting.js"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n *:not(style):not(.ui-e-highlight-icon):not(.ui-e-highlight-image)");0==n.length&&(this.$element.find(".elementor-widget-container").wrapInner('
'),n=this.$element.find(".elementor-widget-container > *:not(style)")),(0,_splitting.default)({target:n,by:t,key:"ui-"}),n.addClass("ui-e-"+e)}},{key:"unsplit",value:function(){var e=this.$element.find(".elementor-widget-container > *:not(style)")[0],t=e.innerHTML;this.$element.find(".elementor-widget-container > *:not(style)")[0].innerHTML=t.replace(/(\s)<\/span>/g,"$1").replace(/(\S+)<\/span>/g,"$1").replace(/ aria-hidden="true"/g,"").replace(/(\S+)<\/span>/g,"$2"),e.classList.remove("splitting")}},{key:"animate",value:function(){var e=this,t=jQuery(this.$element),n=this.getElementSettings("ui_animate_split_style"),i=this.$element.find("."+this.get_split(!1)),r=this.$element.find(".elementor-widget-container > *:not(style)");jQuery(this.$element).addClass("elementor-invisible"),i.removeClass(n),r.addClass("ui-e-"+n),"undefined"!=typeof Waypoint?new Waypoint({element:r,handler:function(e){t.css("opacity",1),setTimeout(function(){r.removeClass("ui-e-"+n)},100),i.addClass("ui-e-animated"),i.addClass(n)},offset:"90%"}):(t.css("opacity",1),setTimeout(function(){r.removeClass("ui-e-"+n)},200),i.addClass("ui-e-animated"),i.addClass(n)),setTimeout(function(){jQuery(e.$element).removeClass("elementor-invisible")},1)}},{key:"get_split",value:function(){var e=!(0