!function(e){"use strict";ElementsKit_Helper.registerWidget("elementskit-image-comparison.default",(function(e){var t=e.find(".elementskit-image-comparison"),o=t.data();for(let e in o)o.hasOwnProperty(e)&&"string"==typeof o[e]&&(o[e]=ElementsKit_Helper.escapeHtml(o[e]));t.imagesLoaded((function(){var e={orientation:t.hasClass("image-comparison-container-vertical")?"vertical":"horizontal",before_label:o?.label_before,after_label:o?.label_after,default_offset_pct:o?.offset,no_overlay:o?.overlay,move_slider_on_hover:o?.move_slider_on_hover,click_to_move:o?.click_to_move};t.twentytwenty(e)}))}))}(jQuery);