!function(t,i){"use strict";ElementsKit_Helper.registerWidget("elementskit-motion-text.default",(function(i){var e=i.find(".ekit_motion_text_title"),n="yes"===e.data("ekit-infinite");if(e.hasClass("ekit_char_based")){var a=e.find(".ekit_motion_text"),o=e.data("ekit-animation-delay-s"),s=o,l="";a[0].childNodes.forEach((function(i){if(i.nodeType===Node.ELEMENT_NODE&&"BR"===i.nodeName)l+="<br>";else{var e=(i.nodeType===Node.TEXT_NODE?i.textContent:t(i).text()).split(" ");t.each(e,(function(i,a){""!==a?(l+='<span class="ekit-word" style="display:inline-block; white-space:nowrap;">',t.each(a.split(""),(function(t,i){l+='<span class="ekit-letter" style="display:inline-block;animation-delay:'+o+"ms;-moz-animation-delay:"+o+"ms;-webkit-animation-delay:"+o+"ms;"+(n?"animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;":"")+'">'+i+"</span>",o+=s})),l+="</span>",i<e.length-1&&(l+=" ")):l+=" "}))}})),a.html(l)}ElementsKit_Helper?.observeElement(e[0],(function(i){var e=t(i).data("animate-class");t(i).addClass(e).css("opacity",1),n&&!t(i).hasClass("ekit_char_based")&&t(i).css({"animation-iteration-count":"infinite","-moz-animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"})}),{threshold:1})}))}(jQuery,window.elementorFrontend);