!function(n){n.fn.fusionImageMagnify=function(){var i=n(this),a=i.attr("data-magnify-img"),e=i.attr("data-magnify-duration"),o="";o=i.find("img").hasClass("lazyload")?i.find("img").attr("data-orig-src"):i.find("img").attr("src"),a=void 0===a||""===a?o:a,e=void 0===e||""===e?120:parseInt(e),i.zoom({url:a,duration:e,touch:!1,magnify:1})},n.fn.fusionImageScroll=function(){var i,a=n(this),e=a.attr("data-scroll-height"),o=a.attr("data-scroll-speed"),t=a.find("img"),r=t.height();e=void 0===e||""===e?a.height():e,void 0===(i=e-r)||0<=i||(a.on("mouseenter",(function(){t.css({transform:"translateY( "+i+"px)",transition:"all "+o+"s linear"})})),a.on("mouseleave",(function(){t.css({transform:"translateY( 0px )",transition:"all "+o+"s linear"})})))}}(jQuery),jQuery(window).on("load",(function(){jQuery(".fusion-image-element .has-image-magnify").each((function(){jQuery(this).fusionImageMagnify()})),jQuery(".fusion-image-element .has-image-scroll").each((function(){jQuery(this).fusionImageScroll()}))})),jQuery(window).on("awb-more-elements-loaded",(function(n,i,a){jQuery(a).find(".fusion-image-element .has-image-magnify").each((function(){jQuery(this).fusionImageMagnify()})),jQuery(a).find(".fusion-image-element .has-image-scroll").each((function(){jQuery(this).fusionImageScroll()}))})),jQuery(window).on("fusion-element-render-fusion_imageframe",(function(n,i){const a=jQuery('div[data-cid="'+i+'"]');jQuery(a.find(".has-image-magnify")).fusionImageMagnify(),jQuery(a.find(".has-image-scroll")).fusionImageScroll()}));