!function(e,t){"use strict";ElementsKit_Helper.registerWidget("elementskit-image-morphing.default",(function(e){let i,n,a,_=e.find(".ekit-morphing-wrapper").data("paths"),s=e.find(".ekit-morphing-wrapper").find("path")[0],o=e.data("settings");t.isEditMode()&&(o=t.config.elements.data[e.data("model-cid")].attributes);const p={targets:s,d:[{value:_||[]}],easing:o.ekit_morphing_effect?o.ekit_morphing_effect:"easeOutQuad",direction:o.ekit_morphing_direction?o.ekit_morphing_direction:"alternate",loop:"yes"==o.ekit_morphing_loop||1,duration:o.ekit_morphing_duration?o.ekit_morphing_duration:2e3,delay:o.ekit_morphing_delay?o.ekit_morphing_delay:10,endDelay:o.ekit_morphing_end_delay?o.ekit_morphing_end_delay:10};anime(p),o.ekit_svg_path_position_scale!=undefined&&(i=o.ekit_svg_path_position_scale.size?o.ekit_svg_path_position_scale.size:"1",n=o.ekit_svg_path_position_translate_x.size?o.ekit_svg_path_position_translate_x.size+"px":"100px",a=o.ekit_svg_path_position_translate_y.size?o.ekit_svg_path_position_translate_y.size+"px":"100px",e.find(".ekit-morphing-wrapper svg.ekit-custom-svg ").find("path").css({transform:`scale(${i}) translateX(${n}) translateY(${a})`}))}))}(jQuery,window.elementorFrontend);