!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o"),m.no_overlay||s.append("
");var r=s.find("img:first"),d=s.find("img:last");s.append("
");var l=s.find(".twentytwenty-handle");l.append(""),l.append(""),s.addClass("twentytwenty-container"),r.addClass("twentytwenty-before"),d.addClass("twentytwenty-after");var a=s.find(".twentytwenty-overlay");a.append("
"),a.append("
");function i(t){var e,n,a,i,o=(e=t,n=r.width(),a=r.height(),{w:n+"px",h:a+"px",cw:e*n+"px",ch:e*a+"px"});l.css("vertical"===c?"top":"left","vertical"===c?o.ch:o.cw),i=o,"vertical"===c?(r.css("clip","rect(0,"+i.w+","+i.ch+",0)"),d.css("clip","rect("+i.ch+","+i.w+","+i.h+",0)")):(r.css("clip","rect(0,"+i.cw+","+i.h+",0)"),d.css("clip","rect(0,"+i.w+","+i.h+","+i.cw+")")),s.css("height",i.h)}function o(t,e){var n,a,i;return n="vertical"===c?(e-y)/u:(t-p)/h,a=0,i=1,Math.max(a,Math.min(i,n))}g(window).on("resize.eatwentytwenty",function(t){i(e)});function w(t){((t.distX>t.distY&&t.distX<-t.distY||t.distX-t.distY)&&"vertical"!==c||(t.distXt.distY&&t.distX>-t.distY)&&"vertical"===c)&&t.preventDefault(),s.addClass("active"),p=s.offset().left,y=s.offset().top,h=r.width(),u=r.height()}function f(t){s.hasClass("active")&&(e=o(t.pageX,t.pageY),i(e))}function v(){s.removeClass("active")}var p=0,y=0,h=0,u=0,_=m.move_with_handle_only?l:s;_.on("movestart",w),_.on("move",f),_.on("moveend",v),m.move_slider_on_hover&&(s.on("mouseenter",w),s.on("mousemove",f),s.on("mouseleave",v)),l.on("touchmove",function(t){t.preventDefault()}),s.find("img").on("mousedown",function(t){t.preventDefault()}),m.click_to_move&&s.on("click",function(t){p=s.offset().left,y=s.offset().top,h=r.width(),u=r.height(),e=o(t.pageX,t.pageY),i(e)}),g(window).trigger("resize.eatwentytwenty")})}}(jQuery);!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=13)}({13:function(e,t){var n=function(e,t){var n=t(".eael-img-comp-container",e),o={default_offset_pct:n.data("offset")||.7,orientation:n.data("orientation")||"horizontal",before_label:n.data("before_label")||"Before",after_label:n.data("after_label")||"After",no_overlay:"yes"!=n.data("overlay"),move_slider_on_hover:"yes"==n.data("onhover"),move_with_handle_only:!0,click_to_move:"yes"==n.data("onclick")},r=t(".eael-advance-tabs"),a=r.find(".eael-tabs-nav li"),i=r.find(".eael-tabs-content > div");a.on("click",(function(){var e=i.eq(t(this).index());t(e).find(".eael-img-comp-container").length&&n.imagesLoaded().done((function(){n.find("div").remove(),n.find("img").removeClass("twentytwenty-before twentytwenty-after").removeAttr("style"),n.closest(".elementor-widget-container").html(n),n.eatwentytwenty(o)}))})),n.imagesLoaded().done((function(){n.find("div").remove(),n.find("img").removeClass("twentytwenty-before twentytwenty-after").removeAttr("style"),n.closest(".elementor-widget-container").html(n),n.eatwentytwenty(o)}))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-image-comparison.default",n)}))}});