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)}function _readOnlyError(e){throw new TypeError('"'+e+'" is read-only')}function _createForOfIteratorHelper(e,t){var n,i,r,o,a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return r=!(i=!0),{s:function(){a=a.call(e)},n:function(){var e=a.next();return i=e.done,e},e:function(e){r=!0,n=e},f:function(){try{i||null==a.return||a.return()}finally{if(r)throw n}}};if(Array.isArray(e)||(a=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length)return a&&(e=a),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var n;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n{function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementorModules.frontend.handlers.Base),_createClass(e,[{key:"bindEvents",value:function(){"ui-split-animate"===this.getElementSettings("ui_animate_split")&&(jQuery(this.$element).css("opacity",0),this.processAnimation())}},{key:"processAnimation",value:function(){var r,o=this;elementorFrontend.isEditMode()?(this.unsplit(),setTimeout(function(){o.split()},20),setTimeout(function(){o.animate()},80)):this.isGTranslating()?(r=new MutationObserver(function(e){var t,n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;"attributes"===i.type&&"lang"===i.attributeName&&(r.disconnect(),setTimeout(function(){o.split(),o.animate()},750))}}catch(e){n.e(e)}finally{n.f()}})).observe(document.documentElement,{attributes:!0}):(this.split(),this.animate())}},{key:"isMarkupOptimized",value:function(){var e=elementorFrontend.config.experimentalFeatures.e_optimized_markup;return 0 *:not(style):not(.ui-e-highlight-icon):not(.ui-e-highlight-image)")):this.$element.find("*:not(style):not(.ui-e-highlight-icon):not(.ui-e-highlight-image)"),n=(0==i.length&&((this.isMarkupOptimized?this.$element:this.$element.find(n)).wrapInner('
'),i=this.isMarkupOptimized?this.$element.find("*:not(style)"):this.$element.find("".concat(n," > *:not(style)"))),this.getElementSettings("ui_animate_split_style"));-1!==n.indexOf("cut")&&(n=n.replace(" cut",""),i.addClass("ui-e-cut"),e=!0),Splitting({target:i,by:t,key:"ui-",isCut:e}),i.addClass("ui-e-"+n)}},{key:"unsplit",value:function(){var e="*:not(style)",t=this.isMarkupOptimized(!0),t=(this.isMarkupOptimized?this.$element.find("".concat(t," > ").concat(e)):this.$element.find("".concat(e)))[0],e=t.innerHTML;t&&t.classList.contains("splitting")&&(t.innerHTML=e.replace(/(\s)<\/span>/g,"$1").replace(/(\S+)<\/span>/g,"$1").replace(/ aria-hidden="true"/g,"").replace(/(\S+)<\/span>/g,"$2"),t.classList.remove("splitting"))}},{key:"animate",value:function(){var n=this,i=jQuery(this.$element),r=this.getElementSettings("ui_animate_split_style"),o=this.$element.find("."+this.get_split(!1)),a=this.$element.find(".elementor-widget-container > *:not(style)");o.removeClass(r),a.addClass("ui-e-"+r),new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(i.css("opacity",1),setTimeout(function(){a.removeClass("ui-e-"+r)},100),o.addClass("ui-e-animated"),o.addClass(r),t.unobserve(n.$element[0]))})},{rootMargin:"0px 0px -10% 0px"}).observe(this.$element[0]),setTimeout(function(){jQuery(n.$element).removeClass("elementor-invisible")},1)}},{key:"get_split",value:function(){var e=!(0