JezK
Edit File: eael-2.js
!function(n){"use strict";window.interactiveCards=function(t){var i={container:t.containerId,frontAnimation:t.frontAnimation,rearAnimation:t.rearAnimation,contentAnimation:t.contentAnimation,revealTime:t.revealTime};n("#"+i.container);var a=n("#"+i.container+" .front-content"),e=n("#"+i.container+" .front-content .image-screen");e.data("bg");var o=n("#"+i.container+" .content"),r=n("#"+i.container+" .close-me");e.on("click",function(){n(this).removeClass(i.frontAnimation.end).addClass(i.frontAnimation.start),setTimeout(function(){a.removeClass(i.rearAnimation.end).addClass(i.rearAnimation.start),setTimeout(function(){o.addClass(i.contentAnimation)},2*t.revealTime)},t.revealTime)}),r.on("click",function(){o.removeClass(i.contentAnimation),setTimeout(function(){a.removeClass(i.rearAnimation.start).addClass(i.rearAnimation.end),setTimeout(function(){e.removeClass(i.frontAnimation.start).addClass(i.frontAnimation.end)},2*t.revealTime)},t.revealTime)});var c=n("#"+t.containerId+" .carousel-container"),s=c.find("ul"),m=s.find("li"),l=c.width(),d=m.first().children("img").width(),f=s.children("li").length,v=1;function A(n,t){s.animate({left:-(n-1)*t})}s.css("width",d*f+"px"),m.css("width",l+"px"),n("#"+t.containerId+" a.nav").on("click",function(t){t.preventDefault();var i=n(this).data("nav");"next"===i?v===f?A(v=1,d):A(++v,d):"prev"===i&&(1==v?A(v=f,d):A(--v,d))})}}(jQuery);!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}({15:function(e,t){var n=function(e,t){var n=e.find(".interactive-card").eq(0),r=void 0!==n.data("interactive-card-id")?n.data("interactive-card-id"):"",a=void 0!==n.data("animation")?n.data("animation"):"",i=void 0!==n.data("animation-time")?n.data("animation-time"):"",o={containerId:"interactive-card-"+r,frontAnimation:{start:"fade-out",end:"fade-in"},rearAnimation:{start:"zoom-out",end:"zoom-in"},contentAnimation:a.toString(),revealTime:i};interactiveCards(o);var c=t(".eael-ic-vimeo-iframe",e);c.length>0&&c.closest(".content").addClass("eael-vimeo-conatiner");var d="#interactive-card-"+r;t(document).on("click",d+" .close.close-me",(function(){var e=t(d+" iframe");e.attr("src",e.attr("src"))}))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-interactive-card.default",n)}))}});