(()=>{"use strict";var e,t={70242(e,t,r){var n=r(58168),a=(r(51609),r(86087)),o=r(46391),i=r.n(o);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}window.addEventListener("DOMContentLoaded",function(){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}(document.getElementsByClassName("eb-image-comparison-wrapper"));try{for(t.s();!(e=t.n()).done;){var r=e.value,o=r.getAttribute("data-left-image"),u=r.getAttribute("data-right-image"),d=r.getAttribute("data-vertical-mode"),c=r.getAttribute("data-hover"),f=r.getAttribute("data-show-label"),s=r.querySelector(".eb-image-comparison-before-label"),b=r.querySelector(".eb-image-comparison-after-label"),g=s?s.textContent:r.getAttribute("data-left-label"),m=b?b.textContent:r.getAttribute("data-right-label"),v=r.getAttribute("data-slider-position"),h=r.getAttribute("data-line-width"),p=r.getAttribute("data-line-color"),y=r.getAttribute("data-handle"),A="true"===d,w="true"===c,O=h?parseInt(h,10):0,S=v?Number(v)/100:.5;(0,a.createRoot)(r).render(React.createElement(i(),(0,n.A)({leftImage:o,rightImage:u},A?{vertical:!0}:{},w?{hover:!0}:{},"true"===f?{leftImageLabel:g}:{},"true"===f?{rightImageLabel:m}:{},"true"===y?{handle:React.createElement(React.Fragment,null)}:{},{sliderPositionPercentage:S,sliderLineWidth:O,sliderLineColor:p||"#ffffff"})))}}catch(e){t.e(e)}finally{t.f()}})},51609(e){e.exports=window.React},86087(e){e.exports=window.wp.element}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=t,n.amdO={},e=[],n.O=(t,r,a,o)=>{if(!r){var i=1/0;for(c=0;c<e.length;c++){for(var[r,a,o]=e[c],l=!0,u=0;u<r.length;u++)(!1&o||i>=o)&&Object.keys(n.O).every(e=>n.O[e](r[u]))?r.splice(u--,1):(l=!1,o<i&&(i=o));if(l){e.splice(c--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,a,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=5242,(()=>{var e={5242:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[i,l,u]=r,d=0;if(i.some(t=>0!==e[t])){for(a in l)n.o(l,a)&&(n.m[a]=l[a]);if(u)var c=u(n)}for(t&&t(r);d<i.length;d++)o=i[d],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},r=globalThis.webpackChunkessential_blocks=globalThis.webpackChunkessential_blocks||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var a=n.O(void 0,[3935,7916],()=>n(70242));a=n.O(a)})();