!function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-heading > *"),i=e.find(".bdt-heading"),a=n.find(".bdt-animated-heading"),r=a.data("settings");if(n.length){if("animated"===r.layout)i.css("display","block"),epObserveTarget(n[0],(function(){t(a).Morphext(r)}),{root:null,rootMargin:"0px",threshold:.8});else if("typed"===r.layout)epObserveTarget(n[0],(function(){var e=t(a).attr("id");new Typed("#"+e,r)}),{root:null,rootMargin:"0px",threshold:.8});else if("split_text"===r.layout){var o=t(n),s=gsap.timeline(),d=new SplitText(o,{type:"chars, words, lines"});gsap.set(o,{perspective:r.anim_perspective}),epObserveTarget(n[0],(function(){!function(){var e=gsap.timeline(),t=new SplitText(o,{type:"chars, words, lines"});e.clear().time(0),t.revert()}(),d.split({type:"chars, words, lines"});var e="";e="lines"==r.animation_on?d.lines:"chars"==r.animation_on?d.chars:d.words,s.staggerFrom(e,.5,{opacity:0,scale:r.anim_scale,y:r.anim_rotation_y,rotationX:r.anim_rotation_x,transformOrigin:r.anim_transform_origin},r.anim_duration)}),{root:null,rootMargin:"0px"})}t(n).animate({easing:"slow",opacity:1},500)}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-animated-heading.default",n)}))}(jQuery,window.elementorFrontend);