|
2
|
|
-(()=>{var e={550:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},887:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=l(n(1609)),i=l(n(8672)),a=n(7295);function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}t.Dots=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(y,e);var t,n,l,h,v=(l=y,h=p(),function(){var e,t=f(l);if(h){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function y(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),v.apply(this,arguments)}return t=y,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,l=t.onMouseLeave,c=t.infinite,d=t.slidesToScroll,p=t.slidesToShow,f=t.slideCount,h=t.currentSlide,v=(e={slideCount:f,slidesToScroll:d,slidesToShow:p,infinite:c}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,y={onMouseEnter:n,onMouseOver:r,onMouseLeave:l},b=[],g=0;g<v;g++){var m=(g+1)*d-1,w=c?m:(0,a.clamp)(m,0,f-1),S=w-(d-1),O=c?S:(0,a.clamp)(S,0,f-1),k=(0,i.default)({"slick-active":c?h>=O&&h<=w:h===O}),$={message:"dots",index:g,slidesToScroll:d,currentSlide:h},E=this.clickHandler.bind(this,$);b=b.concat(o.default.createElement("li",{key:g,className:k},o.default.cloneElement(this.props.customPaging(g),{onClick:E})))}return o.default.cloneElement(this.props.appendDots(b),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=u(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},y))}}],n&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(o.default.PureComponent)},1566:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},1609:e=>{"use strict";e.exports=window.React},2871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},3609:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e){var t=!1,n=!1,r=0;function o(){t&&(t=!1,e()),n&&l()}function i(){a(o)}function l(){var e=Date.now();if(t){if(e-r<2)return;n=!0}else t=!0,n=!1,setTimeout(i,20);r=e}return l}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=b(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return o?v(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=f(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,l=f(r.width),s=f(r.height);if("border-box"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=h(r,"left","right")+i),Math.round(s+a)!==n&&(s-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(l+i)-t,u=Math.round(s+a)-n;1!==Math.abs(c)&&(l-=c),1!==Math.abs(u)&&(s-=u)}return b(o.left,o.top,l,s)}(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var g=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),m=function(e,t){var n,r,o,i,a,l,s,c=(r=(n=t).x,o=n.y,i=n.width,a=n.height,l="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(l.prototype),u(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new m(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new r,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));const k=void 0!==i.ResizeObserver?i.ResizeObserver:O},4202:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1609)),o=n(8029),i=s(n(7771)),a=s(n(9429)),l=n(7295);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function g(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:String(t)}var w=(0,l.canUseDOM)()&&n(8248);t.default=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(S,e);var t,n,s,d,m=(s=S,d=y(),function(){var e,t=b(s);if(d){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,e)});function S(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,S),g(v(t=m.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),g(v(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),g(v(t),"slickNext",(function(){return t.innerSlider.slickNext()})),g(v(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),g(v(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),g(v(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=S,(n=[{key:"media",value:function(e,t){w.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=0===r?(0,i.default)({minWidth:0,maxWidth:n}):(0,i.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,l.canUseDOM)()&&e.media(o,(function(){e.setState({breakpoint:n})}))}));var n=(0,i.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){w.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":p(p(p({},a.default),this.props),t[0].settings):p(p({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var i=r.default.Children.toArray(this.props.children);i=i.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],c=null,d=0;d<i.length;d+=e.rows*e.slidesPerRow){for(var f=[],h=d;h<d+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var v=[],y=h;y<h+e.slidesPerRow&&(e.variableWidth&&i[y].props.style&&(c=i[y].props.style.width),!(y>=i.length));y+=1)v.push(r.default.cloneElement(i[y],{key:100*d+10*h+y,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));f.push(r.default.createElement("div",{key:10*d+h},v))}e.variableWidth?s.push(r.default.createElement("div",{key:d,style:{width:c}},f)):s.push(r.default.createElement("div",{key:d},f))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:b},i)}return s.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.default.createElement(o.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,l.filterSettings)(e)),s)}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),S}(r.default.Component)},5159:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=s||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return u.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,l,s,c=0,u=!1,d=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function m(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-c>=i}function w(){var e=h();if(m(e))return S(e);l=setTimeout(w,function(e){var n=t-(e-s);return d?f(n,i-(e-c)):n}(e))}function S(e){return l=void 0,b&&r?g(e):(r=o=void 0,a)}function O(){var e=h(),n=m(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(w,t),u?g(e):a}(s);if(d)return l=setTimeout(w,t),g(s)}return void 0===l&&(l=setTimeout(w,t)),a}return t=y(t)||0,v(n)&&(u=!!n.leading,i=(d="maxWait"in n)?p(y(n.maxWait)||0,t):i,b="trailing"in n?!!n.trailing:b),O.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=o=l=void 0},O.flush=function(){return void 0===l?a:S(h())},O}},5418:(e,t,n)=>{var r=n(1566),o=n(6018).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},5795:e=>{"use strict";e.exports=window.ReactDOM},6018:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},7295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.extractObject=void 0,t.filterSettings=function(e){return M.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})},t.validSettings=t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=void 0;var r=i(n(1609)),o=i(n(9429));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){var r,o,i,l;r=e,o=t,i=n[t],l=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==a(l)?l:String(l))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return Math.max(t,Math.min(e,n))}var u=t.safePreventDefault=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},d=t.getOnDemandLazySlides=function(e){for(var t=[],n=p(e),r=f(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t},p=(t.getRequiredLazySlides=function(e){for(var t=[],n=p(e),r=f(e),o=n;o<r;o++)t.push(o);return t},t.lazyStartIndex=function(e){return e.currentSlide-h(e)}),f=t.lazyEndIndex=function(e){return e.currentSlide+v(e)},h=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},v=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},y=t.getWidth=function(e){return e&&e.offsetWidth||0},b=t.getHeight=function(e){return e&&e.offsetHeight||0},g=t.getSwipeDirection=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"},m=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},w=(t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t,n=r.default.Children.count(e.children),o=e.listRef,i=Math.ceil(y(o)),a=e.trackRef&&e.trackRef.node,l=Math.ceil(y(a));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var u=o&&b(o.querySelector('[data-index="0"]')),p=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var h=e.lazyLoadedList||[],v=d(s(s({},e),{},{currentSlide:f,lazyLoadedList:h})),g={slideCount:n,slideWidth:t,listWidth:i,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:p,lazyLoadedList:h=h.concat(v)};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,a=e.slideCount,l=e.lazyLoad,u=e.currentSlide,p=e.centerMode,f=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS,y=e.lazyLoadedList;if(t&&n)return{};var b,g,w,S=i,O={},k={},C=o?i:c(i,0,a-1);if(r){if(!o&&(i<0||i>=a))return{};i<0?S=i+a:i>=a&&(S=i-a),l&&y.indexOf(S)<0&&(y=y.concat(S)),O={animating:!0,currentSlide:S,lazyLoadedList:y,targetSlide:S},k={animating:!1,targetSlide:S}}else b=S,S<0?(b=S+a,o?a%f!=0&&(b=a-a%f):b=0):!m(e)&&S>u?S=b=u:p&&S>=a?(S=o?a:a-1,b=o?0:a-1):S>=a&&(b=S-a,o?a%f!=0&&(b=0):b=a-h),!o&&S+h>=a&&(b=a-h),g=L(s(s({},e),{},{slideIndex:S})),w=L(s(s({},e),{},{slideIndex:b})),o||(g===w&&(S=b),g=w),l&&(y=y.concat(d(s(s({},e),{},{currentSlide:S})))),v?(O={animating:!0,currentSlide:b,trackStyle:E(s(s({},e),{},{left:g})),lazyLoadedList:y,targetSlide:C},k={animating:!1,currentSlide:b,trackStyle:$(s(s({},e),{},{left:w})),swipeLeft:null,targetSlide:C}):O={currentSlide:b,trackStyle:$(s(s({},e),{},{left:w})),lazyLoadedList:y,targetSlide:C};return{state:O,nextState:k}},t.changeSlide=function(e,t){var n,r,o,i,a=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,f=e.infinite;if(n=c%a!=0?0:(c-u)%a,"previous"===t.message)i=u-(o=0===n?a:l-n),p&&!f&&(i=-1==(r=u-o)?c-1:r),f||(i=d-a);else if("next"===t.message)i=u+(o=0===n?a:n),p&&!f&&(i=(u+a)%c+n),f||(i=d+a);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,f){var h=j(s(s({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===h?i-=c:i<t.currentSlide&&"right"===h&&(i+=c)}}else"index"===t.message&&(i=Number(t.index));return i},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&u(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,c=t.currentSlide,d=t.edgeFriction,p=t.edgeDragged,f=t.onEdge,h=t.swiped,v=t.swiping,y=t.slideCount,b=t.slidesToScroll,w=t.infinite,S=t.touchObject,O=t.swipeEvent,k=t.listHeight,E=t.listWidth;if(!n){if(r)return u(e);o&&i&&a&&u(e);var C,x={},_=L(t);S.curX=e.touches?e.touches[0].pageX:e.clientX,S.curY=e.touches?e.touches[0].pageY:e.clientY,S.swipeLength=Math.round(Math.sqrt(Math.pow(S.curX-S.startX,2)));var j=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2)));if(!a&&!v&&j>10)return{scrolling:!0};a&&(S.swipeLength=j);var T=(l?-1:1)*(S.curX>S.startX?1:-1);a&&(T=S.curY>S.startY?1:-1);var P=Math.ceil(y/b),M=g(t.touchObject,a),z=S.swipeLength;return w||(0===c&&("right"===M||"down"===M)||c+1>=P&&("left"===M||"up"===M)||!m(t)&&("left"===M||"up"===M))&&(z=S.swipeLength*d,!1===p&&f&&(f(M),x.edgeDragged=!0)),!h&&O&&(O(M),x.swiped=!0),C=o?_+z*(k/E)*T:l?_-z*T:_+z*T,a&&(C=_+z*T),x=s(s({},x),{},{touchObject:S,swipeLeft:C,trackStyle:$(s(s({},t),{},{left:C}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)||S.swipeLength>10&&(x.swiping=!0,u(e)),x}},t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,p=t.scrolling,f=t.onSwipe,h=t.targetSlide,v=t.currentSlide,y=t.infinite;if(!n)return r&&u(e),{};var b=l?c/a:i/a,m=g(o,l),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return w;if(!o.swipeLength)return w;if(o.swipeLength>b){var k,$;u(e),f&&f(m);var C=y?v:h;switch(m){case"left":case"up":$=C+O(t),k=d?S(t,$):$,w.currentDirection=0;break;case"right":case"down":$=C-O(t),k=d?S(t,$):$,w.currentDirection=1;break;default:k=C}w.triggerSlideHandler=k}else{var x=L(t);w.trackStyle=E(s(s({},t),{},{left:x}))}return w},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}),S=t.checkNavigable=function(e,t){var n=w(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},O=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,o=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(o).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+y(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},k=t.checkSpecKeys=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},$=t.getTrackCSS=function(e){var t,n;k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=_(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=s(s({},o),{},{WebkitTransform:i,transform:a,msTransform:l})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},E=t.getTrackAnimateCSS=function(e){k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=$(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},L=t.getTrackLeft=function(e){if(e.unslick)return 0;k(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,l=e.slideCount,s=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,p=e.variableWidth,f=e.slideHeight,h=e.fade,v=e.vertical;if(h||1===e.slideCount)return 0;var y=0;if(i?(y=-C(e),l%c!=0&&r+c>l&&(y=-(r>l?s-(r-l):l%c)),a&&(y+=parseInt(s/2))):(l%c!=0&&r+c>l&&(y=s-l%c),a&&(y=parseInt(s/2))),t=v?r*f*-1+y*f:r*u*-1+y*u,!0===p){var b,g=o&&o.node;if(b=r+C(e),t=(n=g&&g.childNodes[b])?-1*n.offsetLeft:0,!0===a){b=i?r+C(e):r,n=g&&g.children[b],t=0;for(var m=0;m<b;m++)t-=g&&g.children[m]&&g.children[m].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t},C=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},x=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},_=t.getTotalSlides=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+x(e)},j=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+T(e)?"left":"right":e.targetSlide<e.currentSlide-P(e)?"right":"left"},T=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},P=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},M=(t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},t.validSettings=Object.keys(o.default))},7771:(e,t,n)=>{var r=n(550),o=function(e){var t="",n=Object.keys(e);return n.forEach((function(o,i){var a=e[o];(function(e){return/[height|width]$/.test(e)})(o=r(o))&&"number"==typeof a&&(a+="px"),t+=!0===a?o:!1===a?"not "+o:"("+o+": "+a+")",i<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=o(n),r<e.length-1&&(t+=", ")})),t):o(e)}},7959:(e,t,n)=>{"use strict";t.A=void 0;var r,o=(r=n(4202))&&r.__esModule?r:{default:r};t.A=o.default},8029:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=p(n(1609)),o=p(n(2871)),i=p(n(5159)),a=p(n(8672)),l=n(7295),s=n(9512),c=n(887),u=n(9549),d=p(n(3609));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function O(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:String(t)}t.InnerSlider=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}($,e);var t,n,p,v,k=(p=$,v=w(),function(){var e,t=S(p);if(v){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,e)});function $(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,$),O(m(t=k.call(this,e)),"listRefHandler",(function(e){return t.list=e})),O(m(t),"trackRefHandler",(function(e){return t.track=e})),O(m(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,l.getHeight)(e)+"px"}})),O(m(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(y(y({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=y({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),O(m(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),O(m(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,l.getOnDemandLazySlides)(y(y({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var o=y(y({listRef:t.list,trackRef:t.track},t.props),t.state),i=t.didPropsChange(e);i&&t.updateState(o,i,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),O(m(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,i.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),O(m(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=y(y({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),O(m(t),"updateState",(function(e,n,o){var i=(0,l.initializedState)(e);e=y(y(y({},e),i),{},{slideIndex:i.currentSlide});var a=(0,l.getTrackLeft)(e);e=y(y({},e),{},{left:a});var s=(0,l.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(i.trackStyle=s),t.setState(i,o)})),O(m(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,o=[],i=(0,l.getPreClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,l.getPostClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<i;s++)n+=o[o.length-1-s],e+=o[o.length-1-s];for(var c=0;c<a;c++)e+=o[c];for(var u=0;u<t.state.currentSlide;u++)n+=o[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var p="".concat(o[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:d}}var f=r.default.Children.count(t.props.children),h=y(y(y({},t.props),t.state),{},{slideCount:f}),v=(0,l.getPreClones)(h)+(0,l.getPostClones)(h)+f,b=100/t.props.slidesToShow*v,g=100/v,m=-g*((0,l.getPreClones)(h)+t.state.currentSlide)*b/100;return t.props.centerMode&&(m+=(100-g*b/100)/2),{slideWidth:g+"%",trackStyle:{width:b+"%",left:m+"%"}}})),O(m(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var o=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),O(m(t),"progressiveLazyLoad",(function(){for(var e=[],n=y(y({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,l.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var o=t.state.currentSlide-1;o>=-(0,l.getPreClones)(n);o--)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),O(m(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,o=r.asNavFor,i=r.beforeChange,a=r.onLazyLoad,s=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,l.slideHandler)(y(y(y({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),p=d.state,f=d.nextState;if(p){i&&i(u,p.currentSlide);var h=p.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(p,(function(){o&&t.asNavForIndex!==e&&(t.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout((function(){var e=f.animating,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(f,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(p.currentSlide),delete t.animationEndCallback}))}),s))}))}})),O(m(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=y(y({},t.props),t.state),o=(0,l.changeSlide)(r,e);if((0===o||o)&&(!0===n?t.slideHandler(o,n):t.slideHandler(o),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var i=t.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}})),O(m(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),O(m(t),"keyHandler",(function(e){var n=(0,l.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),O(m(t),"selectHandler",(function(e){t.changeSlide(e)})),O(m(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),O(m(t),"enableBodyScroll",(function(){window.ontouchmove=null})),O(m(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,l.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),O(m(t),"swipeMove",(function(e){var n=(0,l.swipeMove)(e,y(y(y({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),O(m(t),"swipeEnd",(function(e){var n=(0,l.swipeEnd)(e,y(y(y({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),O(m(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),O(m(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),O(m(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),O(m(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),O(m(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,l.canGoNext)(y(y({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),O(m(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),O(m(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),O(m(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),O(m(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),O(m(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),O(m(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),O(m(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),O(m(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),O(m(t),"render",(function(){var e,n,o,i=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=y(y({},t.props),t.state),p=(0,l.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(p=y(y({},p),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var v=(0,l.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;v=y(y({},v),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,v)}var g=(0,l.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,g),o=r.default.createElement(u.NextArrow,g));var m=null;t.props.vertical&&(m={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var S=y(y({},m),w),O=t.props.touchMove,k={className:"slick-list",style:S,onClick:t.clickHandler,onMouseDown:O?t.swipeStart:null,onMouseMove:t.state.dragging&&O?t.swipeMove:null,onMouseUp:O?t.swipeEnd:null,onMouseLeave:t.state.dragging&&O?t.swipeEnd:null,onTouchStart:O?t.swipeStart:null,onTouchMove:t.state.dragging&&O?t.swipeMove:null,onTouchEnd:O?t.touchEnd:null,onTouchCancel:t.state.dragging&&O?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},$={className:i,dir:"ltr",style:t.props.style};return t.props.unslick&&(k={className:"slick-list"},$={className:i}),r.default.createElement("div",$,t.props.unslick?"":n,r.default.createElement("div",h({ref:t.listRefHandler},k),r.default.createElement(s.Track,h({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":o,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=y(y({},o.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=y(y({},t.state),n),t}return t=$,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==f(e[i])&&"function"!=typeof e[i]&&!isNaN(e[i])&&e[i]!==this.props[i]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),$}(r.default.Component)},8248:(e,t,n)=>{var r=n(9140);e.exports=new r},8672:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},9140:(e,t,n)=>{var r=n(5418),o=n(6018),i=o.each,a=o.isFunction,l=o.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}s.prototype={constructor:s,register:function(e,t,n){var o=this.queries,s=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,s)),a(t)&&(t={match:t}),l(t)||(t=[t]),i(t,(function(t){a(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=s},9429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1609))&&r.__esModule?r:{default:r},i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};t.default=i},9512:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=a(n(1609)),o=a(n(8672)),i=n(7295);function a(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,b(r.key),r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:String(t)}var g=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},m=function(e,t){return e.key||t};t.Track=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(w,e);var t,n,a,h,b=(a=w,h=p(),function(){var e,t=f(a);if(h){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function w(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(d(e=b.call.apply(b,[this].concat(n))),"node",null),y(d(e),"handleRef",(function(t){e.node=t})),e}return t=w,(n=[{key:"render",value:function(){var e=function(e){var t,n=[],a=[],l=[],s=r.default.Children.count(e.children),c=(0,i.lazyStartIndex)(e),u=(0,i.lazyEndIndex)(e);return r.default.Children.forEach(e.children,(function(d,p){var f,h={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:r.default.createElement("div",null);var y=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(v(v({},e),{},{index:p})),b=f.props.className||"",w=g(v(v({},e),{},{index:p}));if(n.push(r.default.cloneElement(f,{key:"original"+m(f,p),"data-index":p,className:(0,o.default)(w,b),tabIndex:"-1","aria-hidden":!w["slick-active"],style:v(v({outline:"none"},f.props.style||{}),y),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var S=s-p;S<=(0,i.getPreClones)(e)&&((t=-S)>=c&&(f=d),w=g(v(v({},e),{},{index:t})),a.push(r.default.cloneElement(f,{key:"precloned"+m(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(w,b),"aria-hidden":!w["slick-active"],style:v(v({},f.props.style||{}),y),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),(t=s+p)<u&&(f=d),w=g(v(v({},e),{},{index:t})),l.push(r.default.cloneElement(f,{key:"postcloned"+m(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(w,b),"aria-hidden":!w["slick-active"],style:v(v({},f.props.style||{}),y),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))}})),e.rtl?a.concat(n,l).reverse():a.concat(n,l)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),w}(r.default.PureComponent)},9549:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var o=l(n(1609)),i=l(n(8672)),a=n(7295);function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=h(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function f(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=g();return function(){var n,o=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}t.PrevArrow=function(e){v(n,e);var t=b(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,u(u({},n),r)):o.default.createElement("button",s({key:"0",type:"button"},n)," ","Previous")}}]),n}(o.default.PureComponent),t.NextArrow=function(e){v(n,e);var t=b(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,u(u({},n),r)):o.default.createElement("button",s({key:"1",type:"button"},n)," ","Next")}}]),n}(o.default.PureComponent)},9940:(e,t,n)=>{"use strict";var r=n(5795);t.H=r.createRoot,r.hydrateRoot}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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})},(()=>{"use strict";var e=n(1609),t=n(9940);const r="b-blocks-ImageCompare",o="linear-gradient(135deg, #0040E3, #18D4FD)",i=((0,e.createElement)("svg",{width:24,height:24,viewBox:"0 0 469.333 469.333"},(0,e.createElement)("path",{fill:"#146EF5",d:"M192 42.667H85.333c-23.573 0-42.667 19.093-42.667 42.667V384c0 23.573 19.093 42.667 42.667 42.667H192v42.667h42.667V0H192v42.667zm0 320H85.333l106.667-128v128zM384 42.667H277.333v42.667H384v277.333l-106.667-128v192H384c23.573 0 42.667-19.093 42.667-42.667V85.333c0-23.573-19.094-42.666-42.667-42.666z"})),(0,e.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,e.createElement)("path",{d:"M22 2v2H2V2h20zM7 22h3V6H7v16zm7-6h3V6h-3v10z"})),(0,e.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,e.createElement)("path",{d:"M22 11h-5V6h-3v5h-4V3H7v8H1.84v2H7v8h3v-8h4v5h3v-5h5z"})),(0,e.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,e.createElement)("path",{d:"M22 22H2v-2h20v2zM10 2H7v16h3V2zm7 6h-3v10h3V8z"})),t=>(0,e.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 24 24",height:"1em",width:"1em",...t},(0,e.createElement)("path",{d:"M15 19L15 5 7 12z"}))),a=t=>(0,e.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 24 24",height:"1em",width:"1em",...t},(0,e.createElement)("path",{d:"M9 19L17 12 9 5z"})),l=e=>({defaulthorizontal:`inset(0 0 0 ${e}%)`,defaultvertical:`inset(${e}% 0 0 0)`,zigzaghorizontal:`polygon(0% 0%, ${e}% 0%, ${e-6}% 9%, ${e}% 18%, ${e-6}% 27%, ${e}% 36%, ${e-6}% 45%, ${e}% 54%, ${e-6}% 63%, ${e}% 72%, ${e-6}% 81%, ${e}% 90%, ${e-6}% 100%, 0% 100%)`,zigzagvertical:`polygon(0% 0%,0% ${e}%,9% ${e+6}% ,18% ${e}%,27% ${e+6}%,36% ${e}%,45% ${e+6}%, 54% ${e}%,63% ${e+6}%,72% ${e}%, 81% ${e+6}%,90% ${e}%, 100% ${e+6}%,100% 0% )`,wavehorizontal:`polygon(\n ${e+7.778-8.8}% 0%,\n ${e+7.5-8.8}% 2.383%,\n ${e+7.5-8.8}% 2.383%,\n ${e+7.407-8.8}% 3.172%,\n ${e+7.292-8.8}% 4.088%,\n ${e+7.15-8.8}% 5.118%,\n ${e+6.973-8.8}% 6.247%,\n ${e+6.757-8.8}% 7.46%,\n ${e+6.496-8.8}% 8.745%,\n ${e+6.184-8.8}% 10.085%,\n ${e+5.816-8.8}% 11.467%,\n ${e+5.387-8.8}% 12.877%,\n ${e+4.889-8.8}% 14.3%,\n ${e+4.889-8.8}% 14.3%,\n ${e+4.324-8.8}% 15.725%,\n ${e+3.718-8.8}% 17.148%,\n ${e+3.102-8.8}% 18.571%,\n ${e+2.508-8.8}% 19.994%,\n ${e+1.968-8.8}% 21.417%,\n ${e+1.514-8.8}% 22.839%,\n ${e+1.177-8.8}% 24.262%,\n ${e+.989-8.8}% 25.685%,\n ${e+.983-8.8}% 27.109%,\n ${e+1.189-8.8}% 28.533%,\n ${e+1.189-8.8}% 28.533%,\n ${e+1.624-8.8}% 29.959%,\n ${e+2.256-8.8}% 31.385%,\n ${e+3.039-8.8}% 32.813%,\n ${e+3.925-8.8}% 34.241%,\n ${e+4.867-8.8}% 35.671%,\n ${e+5.816-8.8}% 37.101%,\n ${e+6.726-8.8}% 38.533%,\n ${e+7.549-8.8}% 39.965%,\n ${e+8.238-8.8}% 41.399%,\n ${e+8.744-8.8}% 42.833%,\n ${e+8.744-8.8}% 42.833%,\n ${e+9.034-8.8}% 44.268%,\n ${e+9.119-8.8}% 45.702%,\n ${e+9.024-8.8}% 47.135%,\n ${e+8.775-8.8}% 48.567%,\n ${e+8.396-8.8}% 50%,\n ${e+7.912-8.8}% 51.433%,\n ${e+7.347-8.8}% 52.865%,\n ${e+6.728-8.8}% 54.298%,\n ${e+6.078-8.8}% 55.732%,\n ${e+5.422-8.8}% 57.167%,\n ${e+5.422-8.8}% 57.167%,\n ${e+4.785-8.8}% 58.601%,\n ${e+4.186-8.8}% 60.035%,\n ${e+3.645-8.8}% 61.467%,\n ${e+3.181-8.8}% 62.899%,\n ${e+2.813-8.8}% 64.329%,\n ${e+2.559-8.8}% 65.759%,\n ${e+2.44-8.8}% 67.187%,\n ${e+2.474-8.8}% 68.615%,\n ${e+2.68-8.8}% 70.041%,\n ${e+3.078-8.8}% 71.467%,\n ${e+3.078-8.8}% 71.467%,\n ${e+3.676-8.8}% 72.891%,\n ${e+4.443-8.8}% 74.315%,\n ${e+5.338-8.8}% 75.738%,\n ${e+6.317-8.8}% 77.161%,\n ${e+7.34-8.8}% 78.583%,\n ${e+8.365-8.8}% 80.006%,\n ${e+9.35-8.8}% 81.429%,\n ${e+10.252-8.8}% 82.852%,\n ${e+11.031-8.8}% 84.275%,\n ${e+11.644-8.8}% 85.7%,\n ${e+11.644-8.8}% 85.7%,\n ${e+12.062-8.8}% 87.123%,\n ${e+12.298-8.8}% 88.533%,\n ${e+12.378-8.8}% 89.915%,\n ${e+12.328-8.8}% 91.255%,\n ${e+12.175-8.8}% 92.54%,\n ${e+11.944-8.8}% 93.753%,\n ${e+11.66-8.8}% 94.882%,\n ${e+11.35-8.8}% 95.912%,\n ${e+11.04-8.8}% 96.828%,\n ${e+10.756-8.8}% 97.617%,\n ${e+9.889-8.8}% 100%,\n 0% 100%,0% 97.617%,0% 97.617%,0% 96.828%,0% 95.912%,0% 94.882%,0% 93.753%,0% 92.54%,0% 91.255%,0% 89.915%,0% 88.533%,0% 87.123%,0% 85.7%,0% 85.7%,0% 84.275%,0% 82.852%,0% 81.429%,0% 80.006%,0% 78.583%,0% 77.161%,0% 75.738%,0% 74.315%,0% 72.891%,0% 71.467%,0% 71.467%,0% 70.041%,0% 68.615%,0% 67.187%,0% 65.759%,0% 64.329%,0% 62.899%,0% 61.467%,0% 60.035%,0% 58.601%,0% 57.167%,0% 57.167%,0% 55.732%,0% 54.298%,0% 52.865%,0% 51.433%,0% 50%,0% 48.567%,0% 47.135%,0% 45.702%,0% 44.268%,0% 42.833%,0% 42.833%,0% 41.399%,0% 39.965%,0% 38.533%,0% 37.101%,0% 35.671%,0% 34.241%,0% 32.813%,0% 31.385%,0% 29.959%,0% 28.533%,0% 28.533%,0% 27.109%,0% 25.685%,0% 24.262%,0% 22.839%,0% 21.417%,0% 19.994%,0% 18.571%,0% 17.148%,0% 15.725%,0% 14.3%,0% 14.3%,0% 12.877%,0% 11.467%,0% 10.085%,0% 8.745%,0% 7.46%,0% 6.247%,0% 5.118%,0% 4.088%,0% 3.172%,0% 2.383%,0% 0%,57.778% 0% )`,wavevertical:`polygon(\n 0% ${42.167+e-41}%,\n 2.389% ${42.45+e-41}%,\n 2.389% ${42.45+e-41}%,\n 3.175% ${42.54+e-41}%,\n 4.09% ${42.653+e-41}%,\n 5.119% ${42.795+e-41}%,\n 6.248% ${42.972+e-41}%,\n 7.463% ${43.188+e-41}%,\n 8.748% ${43.448+e-41}%,\n 10.09% ${43.76+e-41}%,\n 11.474% ${44.127+e-41}%,\n 12.886% ${44.555+e-41}%,\n 14.311% ${45.05+e-41}%,\n 14.311% ${45.05+e-41}%,\n 15.74% ${45.616+e-41}%,\n 17.168% ${46.224+e-41}%,\n 18.594% ${46.84+e-41}%,\n 20.019% ${47.435+e-41}%,\n 21.444% ${47.975+e-41}%,\n 22.87% ${48.429+e-41}%,\n 24.295% ${48.766+e-41}%,\n 25.721% ${48.952+e-41}%,\n 27.149% ${48.958+e-41}%,\n 28.578% ${48.75+e-41}%,\n 28.578% ${48.75+e-41}%,\n 30.005% ${48.31+e-41}%,\n 31.433% ${47.673+e-41}%,\n 32.863% ${46.886+e-41}%,\n 34.292% ${45.997+e-41}%,\n 35.722% ${45.052+e-41}%,\n 37.152% ${44.1+e-41}%,\n 38.582% ${43.188+e-41}%,\n 40.011% ${42.363+e-41}%,\n 41.439% ${41.674+e-41}%,\n 42.867% ${41.167+e-41}%,\n 42.867% ${41.167+e-41}%,\n 44.296% ${40.878+e-41}%,\n 45.723% ${40.793+e-41}%,\n 47.149% ${40.889+e-41}%,\n 48.575% ${41.14+e-41}%,\n 50% ${41.521+e-41}%,\n 51.425% ${42.007+e-41}%,\n 52.851% ${42.573+e-41}%,\n 54.277% ${43.193+e-41}%,\n 55.704% ${43.844+e-41}%,\n 57.133% ${44.5+e-41}%,\n 57.133% ${44.5+e-41}%,\n 58.561% ${45.137+e-41}%,\n 59.989% ${45.735+e-41}%,\n 61.418% ${46.275+e-41}%,\n 62.848% ${46.737+e-41}%,\n 64.278% ${47.104+e-41}%,\n 65.708% ${47.356+e-41}%,\n 67.137% ${47.474+e-41}%,\n 68.567% ${47.439+e-41}%,\n 69.995% ${47.232+e-41}%,\n 71.422% ${46.833+e-41}%,\n 71.422% ${46.833+e-41}%,\n 72.851% ${46.235+e-41}%,\n 74.279% ${45.469+e-41}%,\n 75.705% ${44.576+e-41}%,\n 77.13% ${43.598+e-41}%,\n 78.556% ${42.577+e-41}%,\n 79.981% ${41.555+e-41}%,\n 81.406% ${40.572+e-41}%,\n 82.832% ${39.672+e-41}%,\n 84.26% ${38.895+e-41}%,\n 85.689% ${38.283+e-41}%,\n 85.689% ${38.283+e-41}%,\n 87.114% ${37.863+e-41}%,\n 88.526% ${37.625+e-41}%,\n 89.91% ${37.542+e-41}%,\n 91.252% ${37.589+e-41}%,\n 92.538% ${37.74+e-41}%,\n 93.752% ${37.968+e-41}%,\n 94.881% ${38.247+e-41}%,\n 95.91% ${38.552+e-41}%,\n 96.825% ${38.856+e-41}%,\n 97.611% ${39.133+e-41}%,\n 100% ${40+e-41}%,\n 100% 100.167%,\n 97.611% 100.167%,\n 97.611% 100.167%,\n 96.825% 100.167%,\n 95.91% 100.167%,\n 94.881% 100.167%,\n 93.752% 100.167%,\n 92.538% 100.167%,\n 91.252% 100.167%,\n 89.91% 100.167%,\n 88.526% 100.167%,\n 87.114% 100.167%,\n 85.689% 100.167%,\n 85.689% 100.167%,\n 84.26% 100.167%,\n 82.832% 100.167%,\n 81.406% 100.167%,\n 79.981% 100.167%,\n 78.556% 100.167%,\n 77.13% 100.167%,\n 75.705% 100.167%,\n 74.279% 100.167%,\n 72.851% 100.167%,\n 71.422% 100.167%,\n 71.422% 100.167%,\n 69.995% 100.167%,\n 68.567% 100.167%,\n 67.137% 100.167%,\n 65.708% 100.167%,\n 64.278% 100.167%,\n 62.848% 100.167%,\n 61.418% 100.167%,\n 59.989% 100.167%,\n 58.561% 100.167%,\n 57.133% 100.167%,\n 57.133% 100.167%,\n 55.704% 100.167%,\n 54.277% 100.167%,\n 52.851% 100.167%,\n 51.425% 100.167%,\n 50% 100.167%,\n 48.575% 100.167%,\n 47.149% 100.167%,\n 45.723% 100.167%,\n 44.296% 100.167%,\n 42.867% 100.167%,\n 42.867% 100.167%,\n 41.439% 100.167%,\n 40.011% 100.167%,\n 38.582% 100.167%,\n 37.152% 100.167%,\n 35.722% 100.167%,\n 34.292% 100.167%,\n 32.863% 100.167%,\n 31.433% 100.167%,\n 30.005% 100.167%,\n 28.578% 100.167%,\n 28.578% 100.167%,\n 27.149% 100.167%,\n 25.721% 100.167%,\n 24.295% 100.167%,\n 22.87% 100.167%,\n 21.444% 100.167%,\n 20.019% 100.167%,\n 18.594% 100.167%,\n 17.168% 100.167%,\n 15.74% 100.167%,\n 14.311% 100.167%,\n 14.311% 100.167%,\n 12.886% 100.167%,\n 11.474% 100.167%,\n 10.09% 100.167%,\n 8.748% 100.167%,\n 7.463% 100.167%,\n 6.248% 100.167%,\n 5.119% 100.167%,\n 4.09% 100.167%,\n 3.175% 100.167%,\n 2.389% 100.167%,\n 0% 100.167%\n )`}),s=({beforeLabelEl:t,height:n,afterLabelEl:o,beforeImg:s,afterImg:c,orientation:u,options:d,dragg:p,label:f,captionEl:h,...v})=>{const{defaultOffset:y,isMoveClick:b,autoSlide:g,moveMouseOver:m}=d,{isAutoSlide:w,isHoverStop:S,speed:O}=g,[k,$]=(0,e.useState)(100*y),[E,L]=(0,e.useState)(!1),C=(0,e.useRef)(null),{handleClick:x}=((t,n,r,o,i,a=!1,l,s=50,c=!1)=>{const[u,d]=(0,e.useState)(!0),p=(0,e.useRef)(),f=(0,e.useRef)(1),h=e=>{if(!t||!n.current)return;const o=n.current.getBoundingClientRect(),a="touches"in e?e.touches[0]:e,l=("horizontal"===i?a.clientX-o.left:a.clientY-o.top)/("horizontal"===i?o.width:o.height)*100;r(Math.min(Math.max(l,0),100))};return(0,e.useEffect)((()=>{if(!t)return;const e=()=>o(!1),n=e=>h(e),r=e=>h(e);return window.addEventListener("mousemove",n),window.addEventListener("mouseup",e),window.addEventListener("touchmove",r),window.addEventListener("touchend",e),()=>{window.removeEventListener("mousemove",n),window.removeEventListener("mouseup",e),window.removeEventListener("touchmove",r),window.removeEventListener("touchend",e)}}),[t]),(0,e.useEffect)((()=>{if(!a||!u||t)return;let e;const n=t=>{e||(e=t);const o=(t-e)/1e3;e=t,r((e=>{let t=e+f.current*(10*s)*o;return t>=100&&(f.current=-1,t=100),t<=0&&(f.current=1,t=0),t})),p.current=requestAnimationFrame(n)};return p.current=requestAnimationFrame(n),()=>cancelAnimationFrame(p.current)}),[a,u,t,l,s]),(0,e.useEffect)((()=>{if(!n.current)return;const e=()=>d(!l),t=()=>d(!0);return n?.current?.addEventListener("mouseenter",e),n?.current?.addEventListener("mouseleave",t),()=>{n?.current?.removeEventListener("mouseenter",e),n?.current?.removeEventListener("mouseleave",t)}}),[n.current,l]),{handleClick:e=>{if(t||!n.current||!c)return;const o=n.current.getBoundingClientRect(),a=("horizontal"===i?e.clientX-o.left:e.clientY-o.top)/("horizontal"===i?o.width:o.height)*100;r(Math.min(Math.max(a,0),100))}}})(E,C,$,L,u,w,S,O,b),_=()=>{const e=C.current;if(!e)return;const t=Array.from(e.querySelectorAll("img"));if(!t.length)return;const r=parseInt(n,10);let o;if(!isNaN(r)&&r>0)o=r;else{const e=t.map((e=>e.getBoundingClientRect().height)).filter((e=>e>0));if(!e.length)return;o=Math.max(...e)}e.style.height=`${o}px`,t.forEach((e=>{e.style.height=`${o}px`}))};return(0,e.useEffect)((()=>{const e=C.current;if(!e)return;const t=new ResizeObserver(_);return t.observe(e),()=>t.disconnect()}),[]),(0,e.createElement)("div",{...v,className:r},(0,e.createElement)("div",{ref:C,className:"b-blocks-comparison-wrapper "+(f.isShowHover?"b-blocks-label-hover":""),onMouseDown:()=>L(!0),onTouchStart:()=>L(!0),...m?{onMouseMove:()=>L(!0),onMouseLeave:()=>L(!1)}:{},onClick:x},(0,e.createElement)("div",{className:"b-blocks-image-wrapper"},(0,e.createElement)("img",{src:s?.url,alt:s?.alt||s?.title,onLoad:_}),t),(0,e.createElement)("div",{className:"b-blocks-image-wrapper",style:{clipPath:l(k)[p.shapeType+u]}},(0,e.createElement)("img",{src:c?.url,alt:c?.alt||c?.title,onLoad:_}),o),(0,e.createElement)("div",{className:`b-blocks-comparison-slider-handle b-blocks-slider-${u} ${p.handleType} ${"default"!==p.shapeType?"circle-outline-line-none":""} `,style:{left:"horizontal"===u?`${k}%`:"",top:"vertical"===u?`${k}%`:""}},"default"===p.handleType?(0,e.createElement)("div",{key:p.handleType,className:"b-blocks-default-icon"}):(0,e.createElement)("div",{key:p.handleType,className:`b-blocks-${p.handleType}-icon`},(0,e.createElement)("div",null,(0,e.createElement)(i,null),(0,e.createElement)(a,null))))),h)};var c=n(7959);const u={style1:{left:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5303 18.5303C14.2374 18.8232 13.7626 18.8232 13.4697 18.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L13.4697 5.46967C13.7626 5.17678 14.2374 5.17678 14.5303 5.46967C14.8232 5.76256 14.8232 6.23744 14.5303 6.53033L9.06066 12L14.5303 17.4697C14.8232 17.7626 14.8232 18.2374 14.5303 18.5303Z"})),right:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.46967 5.46967C9.76256 5.17678 10.2374 5.17678 10.5303 5.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L10.5303 18.5303C10.2374 18.8232 9.76256 18.8232 9.46967 18.5303C9.17678 18.2374 9.17678 17.7626 9.46967 17.4697L14.9393 12L9.46967 6.53033C9.17678 6.23744 9.17678 5.76256 9.46967 5.46967Z"}))},style2:{left:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4939 20.5644C11.1821 20.8372 10.7083 20.8056 10.4356 20.4939L3.43557 12.4939C3.18814 12.2111 3.18814 11.7889 3.43557 11.5061L10.4356 3.50613C10.7083 3.1944 11.1822 3.16281 11.4939 3.43557C11.8056 3.70834 11.8372 4.18216 11.5644 4.49388L5.65283 11.25L20 11.25C20.4142 11.25 20.75 11.5858 20.75 12C20.75 12.4142 20.4142 12.75 20 12.75L5.65283 12.75L11.5644 19.5061C11.8372 19.8179 11.8056 20.2917 11.4939 20.5644Z"})),right:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5061 3.43557C12.8178 3.16281 13.2917 3.19439 13.5644 3.50612L20.5644 11.5061C20.8119 11.7889 20.8119 12.2111 20.5644 12.4939L13.5644 20.4939C13.2917 20.8056 12.8178 20.8372 12.5061 20.5644C12.1944 20.2917 12.1628 19.8178 12.4356 19.5061L18.3472 12.75H4C3.58579 12.75 3.25 12.4142 3.25 12C3.25 11.5858 3.58579 11.25 4 11.25H18.3472L12.4356 4.49388C12.1628 4.18215 12.1944 3.70833 12.5061 3.43557Z"}))},style3:{left:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M11 20.74C10.9012 20.7423 10.803 20.7238 10.7118 20.686C10.6205 20.6481 10.5382 20.5916 10.47 20.52L2.47 12.52C2.32955 12.3794 2.25066 12.1888 2.25066 11.99C2.25066 11.7913 2.32955 11.6007 2.47 11.46L10.47 3.46003C10.576 3.35806 10.7096 3.2895 10.8542 3.26288C10.9989 3.23626 11.1481 3.25274 11.2835 3.31029C11.4188 3.36783 11.5342 3.4639 11.6154 3.58653C11.6966 3.70917 11.7399 3.85296 11.74 4.00003V7.30003H21C21.1981 7.30262 21.3874 7.38247 21.5275 7.52256C21.6676 7.66265 21.7474 7.85192 21.75 8.05003V16.05C21.7474 16.2481 21.6676 16.4374 21.5275 16.5775C21.3874 16.7176 21.1981 16.7974 21 16.8H11.74V19.99C11.7402 20.139 11.6954 20.2845 11.6116 20.4076C11.5277 20.5307 11.4087 20.6257 11.27 20.68C11.1848 20.7175 11.0931 20.7379 11 20.74ZM4.07 12L10.25 18.18V16.05C10.25 15.8511 10.329 15.6603 10.4697 15.5197C10.6103 15.379 10.8011 15.3 11 15.3H20.25V8.80003H11C10.8019 8.79744 10.6126 8.71759 10.4725 8.57749C10.3324 8.4374 10.2526 8.24813 10.25 8.05003V5.82003L4.07 12Z"})),right:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M13 20.74C12.9039 20.7541 12.8062 20.7541 12.71 20.74C12.5724 20.6823 12.4551 20.5849 12.3732 20.4602C12.2912 20.3355 12.2484 20.1892 12.25 20.04V16.7H3.00001C2.81189 16.6956 2.63208 16.6216 2.49538 16.4923C2.35868 16.363 2.27481 16.1876 2.26001 16V8.00002C2.25463 7.89856 2.26965 7.79706 2.30417 7.7015C2.3387 7.60595 2.39204 7.51829 2.46103 7.44371C2.53002 7.36913 2.61326 7.30913 2.70584 7.26727C2.79841 7.22542 2.89844 7.20255 3.00001 7.20002H12.25V4.01002C12.2498 3.86106 12.2946 3.71551 12.3784 3.59241C12.4623 3.4693 12.5813 3.37436 12.72 3.32002C12.8551 3.26039 13.0053 3.24376 13.1502 3.27238C13.2951 3.301 13.4277 3.37349 13.53 3.48002L21.53 11.48C21.6705 11.6206 21.7493 11.8113 21.7493 12.01C21.7493 12.2088 21.6705 12.3994 21.53 12.54L13.53 20.54C13.4601 20.6079 13.377 20.6608 13.2858 20.6952C13.1946 20.7296 13.0973 20.7448 13 20.74ZM3.76001 15.2H13C13.1981 15.2026 13.3874 15.2825 13.5275 15.4226C13.6676 15.5626 13.7474 15.7519 13.75 15.95V18.18L19.93 12L13.75 5.83002V8.00002C13.7477 8.19843 13.6689 8.3883 13.53 8.53002C13.3817 8.65257 13.1919 8.71343 13 8.70002H3.76001V15.2Z"}))},style4:{left:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"M1.02698 11.9929L5.26242 16.2426L6.67902 14.8308L4.85766 13.0033L22.9731 13.0012L22.9728 11.0012L4.85309 11.0033L6.6886 9.17398L5.27677 7.75739L1.02698 11.9929Z"})),right:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"M23.0677 11.9929L18.818 7.75739L17.4061 9.17398L19.2415 11.0032L0.932469 11.0012L0.932251 13.0012L19.2369 13.0032L17.4155 14.8308L18.8321 16.2426L23.0677 11.9929Z"}))},style5:{left:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"m4.431 12.822 13 9A1 1 0 0 0 19 21V3a1 1 0 0 0-1.569-.823l-13 9a1.003 1.003 0 0 0 0 1.645z"})),right:(0,e.createElement)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"M5.536 21.886a1.004 1.004 0 0 0 1.033-.064l13-9a1 1 0 0 0 0-1.644l-13-9A1 1 0 0 0 5 3v18a1 1 0 0 0 .536.886z"}))},style6:{left:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},(0,e.createElement)("path",{d:"M16.5 8L13 11.5L16.5 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M10.5 8L7 11.5L10.5 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),right:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},(0,e.createElement)("path",{d:"M7 8L10.5 11.5L7 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M13 8L16.5 11.5L13 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}},d=({icon:t,...n})=>(0,e.createElement)("div",{...n},t),p=({attributes:t,device:n,setActiveIndex:r})=>{const{orientation:o,options:i,dragg:a,label:l,slider:p,sliderOptions:f,isLabel:h,isCap:v,align:y}=t,b=(0,e.useRef)(),{hAlign:g,vAlign:m}=l,{height:w,autoplay:S,speed:O,autoplaySpeed:k,pauseOnHover:$,infinite:E,dots:L,arrows:C,slidesView:x,arrowType:_}=f;(0,e.useEffect)((()=>{b.current&&p.length<2&&b.current.innerSlider.list.querySelectorAll(".slick-cloned").forEach((e=>{e.style.display="none"}))}),[b.current]);const j={className:"center",centerMode:!0,arrows:C,dots:L,infinite:E,centerPadding:"15%",draggable:!1,autoplay:S,slidesToShow:x[n],speed:O,autoplaySpeed:k,pauseOnHover:$,nextArrow:(0,e.createElement)(d,{className:"slick-arrow slick-prev",icon:u[_].right}),prevArrow:(0,e.createElement)(d,{className:"slick-arrow slick-next",icon:u[_].left})};return(0,e.createElement)(c.A,{...j,className:"b-blocks-image-compare-slider-wrapper",ref:b},p.map(((t,c)=>{const{beforeImg:u,afterImg:d,caption:f}=t,b={beforeLabelEl:h&&u.beforeLabel&&(0,e.createElement)("div",{className:`b-blocks-label b-blocks-before-label b-blocks-${o} ${"horizontal"===o?g:m}`,dangerouslySetInnerHTML:{__html:u.beforeLabel}}),afterLabelEl:h&&d.afterLabel&&(0,e.createElement)("div",{className:`b-blocks-label b-blocks-after-label b-blocks-${o} ${"horizontal"===o?g:m}`,dangerouslySetInnerHTML:{__html:d.afterLabel}}),captionEl:v&&f&&(0,e.createElement)("div",{className:"b-blocks-caption",dangerouslySetInnerHTML:{__html:f}}),orientation:o,options:i,dragg:a,label:l},S=`${n}-${u?.img?.url}-${d?.img?.url}-${p.length}-${JSON.stringify(w)}-${y}-${i.autoSlide.isMouseOver}`;return(0,e.createElement)(s,{key:S,...b,height:w[n],beforeImg:u.img,afterImg:d.img,onClick:()=>r(c)})})))},f=({attributes:t,afterLabelEl:n,beforeLabelEl:r,captionEl:o,isBackend:i=!1,backDevice:a="desktop",activeIndex:l,setActiveIndex:c=()=>{}})=>{const{beforeImg:u,afterImg:d,orientation:f,styles:h,options:v,dragg:y,label:b,align:g,theme:m,slider:w,sliderOptions:S}=t,{device:O}=(()=>{const[t,n]=(0,e.useState)("desktop"),r=()=>{const e=window.innerWidth;n(e>1024?"desktop":e>640?"tablet":"mobile")};return(0,e.useEffect)((()=>(r(),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)})),[]),{device:t}})(),k=i?a:O,$=`${u?.url}-${d?.url}-${JSON.stringify(h.container.height)}-${g}-${v.autoSlide.isMouseOver}-${k}`;return(0,e.createElement)(e.Fragment,null,"default"===m&&(0,e.createElement)(s,{key:$,beforeLabelEl:r,afterLabelEl:n,captionEl:o,beforeImg:u,afterImg:d,orientation:f,options:v,dragg:y,label:b,device:k,height:h.container.height[k]}),"slider"===m&&(0,e.createElement)(p,{key:`${w.length}-${JSON.stringify(S)}`,attributes:t,device:k,activeIndex:l,setActiveIndex:c}))},h=e=>!(null==e||""===e||Array.isArray(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&""===e.trim()||"number"==typeof e&&0===e),v=(e,t,n=!1)=>h(t)?`${e}: ${t}${n?" !important":""};`:"",y=(e,t=!0,n=!0,r=!0)=>{const{type:i="solid",color:a="",gradient:l=o,image:s={},position:c="center center",attachment:u="",repeat:d="no-repeat",size:p="",overlayColor:f=""}=e||{};return"gradient"===i&&n?v("background",l):"image"===i&&r?`background: url(${s?.url});\n\t\t\t\t${v("background-color",f)}\n\t\t\t\t${v("background-position",c)}\n\t\t\t\t${v("background-size",p)}\n\t\t\t\t${v("background-repeat",d)}\n\t\t\t\t${v("background-attachment",u)}\n\t\t\t\t${v("background-repeat",d)}\n\t\t\t\tbackground-blend-mode: overlay;`:t&&v("background",a)},b=e=>{const{width:t="",style:n="solid",color:r="",side:o="all",radius:i=""}=e||{},a=e=>{const t=o?.toLowerCase();return t?.includes("all")||t?.includes(e)},l=`${t} ${n} ${r}`,s=`\n\t\t${t&&0!==parseInt(t)?["top","right","bottom","left"].map((e=>a(e)?`border-${e}: ${l};`:"")).join(""):""}\n\t\t${v("border-radius",i)}\n\t`;return s},g=e=>{if(!e)return"";const t=e=>{const{color:t="#000000",style:n="solid",width:r="0px"}=e;return`${r} ${n} ${t}`};return"object"!=typeof e||Array.isArray(e)?"":e.hasOwnProperty("top")||e.hasOwnProperty("right")||e.hasOwnProperty("bottom")||e.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>e[n]?`border-${n}: ${t(e[n])};`:"")).join(" ").trim():v("border",t(e))},m=e=>{const{color:t="",bgType:n="solid",bg:r="",gradient:i=o}=e||{};return`\n\t\t${v("color",t)}\n\t\t${i||r?v("background","gradient"===n?i:r):""}\n\t`},w=e=>{const{side:t=2,vertical:n="0px",horizontal:r="0px",top:o="0px",right:i="0px",bottom:a="0px",left:l="0px"}=e||{};return 2===t?`${n} ${r}`:`${o} ${i} ${a} ${l}`},S=(e,t,n=!0)=>{const{fontFamily:r="Default",fontCategory:o="sans-serif",fontVariant:i=400,fontWeight:a,isUploadFont:l=!0,fontSize:s={desktop:null,tablet:null,mobile:null},fontStyle:c,textTransform:u,textDecoration:d,lineHeight:p,letterSpace:f}=t||{},h=!n||!r||"Default"===r,y=s?.desktop||s,b=s?.tablet||y,g=s?.mobile||b,m=e=>{const t=String(e);return["px","em","rem","%","vh","vw"].some((e=>t.endsWith(e)))?t:"number"==typeof e?`${t}px`:""},w=`\n\t\t${h?"":`font-family: '${r}', ${o};`}\n\t\t${v("font-weight",a)}\n\t\t${v("font-size",m(y))}\n\t\t${v("font-style",c)}\n\t\t${v("text-transform",u)}\n\t\t${v("text-decoration",d)}\n\t\t${v("line-height",p)}\n\t\t${v("letter-spacing",f)}\n\t`,S=i&&400!==i?"400i"===i?":ital@1":i?.includes("00i")?`: ital, wght@1, ${i?.replace("00i","00")} `:`: wght@${i} `:"",O=h?"":`https://fonts.googleapis.com/css2?family=${r?.split(" ").join("+")}${S.replace(/ /g,"")}&display=swap`;return{googleFontLink:!l||h?"":`@import url(${O});`,styles:`${e}{\n\t\t\t${w}\n\t\t}\n\t\t@media only screen and (max-width: 1024px) {\n\t\t\t${e}{\n\t\t\t\t${v("font-size",m(b))}\n\t\t\t}\n\t\t}\n\t\t@media only screen and (max-width: 640px) {\n\t\t\t${e}{\n\t\t\t\t${v("font-size",m(g))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},O=e=>{if(!e)return"";if("string"==typeof e)return e;if("object"==typeof e&&!Array.isArray(e)){const t=["top","right","bottom","left"];return t.map((t=>e[t]||"")).every((e=>!e))?"":t.map((t=>e[t]||"0")).join(" ")}return""},k=window.wp.i18n,$=((0,k.__)("Before Img","image-compare"),(0,k.__)("After Img","image-compare"),(0,k.__)("General","textdomain"),(0,k.__)("Style","textdomain"),["rectangle-caret","circle-caret","circle-big-caret","capsule-stroke","capsule-tiny-stroke-big","capsule-tiny-stroke-small"]),E=((0,k.__)("Style 1","b-blocks"),u.style1.right,(0,k.__)("Style 2","b-blocks"),u.style2.right,(0,k.__)("Style 3","b-blocks"),u.style3.right,(0,k.__)("Style 4","b-blocks"),u.style4.right,(0,k.__)("Style 5","b-blocks"),u.style5.right,(0,k.__)("Style 6","b-blocks"),u.style6.right,(0,k.__)("Navigation","textdomain"),(0,k.__)("Pagination","textdomain"),({attributes:t,id:n})=>{const{alignment:o,width:i,border:a,dragg:l,labelTypo:s,labelColors:c,labelPadding:u,capTypo:d,capColors:p,capPadding:f,styles:k,theme:E,sliderStyle:L}=t,{dragg:C}=k,{pagination:x,navigation:_}=L,{icon:j,container:T}=_,P=`#${n}`,M=`${P} .${r}`,z=`${M} .b-blocks-comparison-wrapper`,H=`${z} .b-blocks-label`,R=`${M} .b-blocks-caption`,D=`${z} .b-blocks-comparison-slider-handle`,I=`${P} .b-blocks-image-compare-slider-wrapper`,A=`${I} .slick-arrow`,W=`${I} .slick-dots`;return(0,e.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t${S("",s)?.googleFontLink}\n\t\t${S("",d)?.googleFontLink}\n\t\t${S(H,s)?.styles}\n\t\t${S(R,d)?.styles}\n\n\t\t${P}{\n\t\t\ttext-align: ${o};\n\t\t}\n\t\t${M}{\n\t\t\twidth: ${i};\n\t\t\t${b(a)}\n\t\t}\n\n\t\t${H}{\n\t\t\t${m(c)}\n\t\t\tpadding: ${w(u)};\n\t\t}\n\t\t${R}{\n\t\t\t${m(p)}\n\t\t\tpadding: ${w(f)};\n\t\t}\n\n\t\t${N=l.handleType,$.includes(N)?`${D} .b-blocks-${l.handleType}-icon{\n\t\t${v("border-color",C.handler.color)}\n\t\t${v("border-width",h(C.line.size)?C.line.size+"px":"")}\n\t\t\t}`:`${D} .b-blocks-${l.handleType}-icon{\n\t\t\t\t${v("background-color",C.handler.color)}\n\t\t\t\t${v("border-color",C.handler.color)}\n\t\t\t}`}\n\n\t\t${D} :where(svg){\n\t\t\t${v("color",C.icon.color)}\n\t\t\t${v("fill",C.icon.color)}\n\t\t}\n\t\t${D}::before{\n\t\t\tcontent:"";\n\t\t\t${v("width",h(C.line.size)?C.line.size+"px":"")}\n\t\t\t${y(C.line.bg)}\n\t\t}\n\t\t${D}::after{\n\t\t\tcontent:"";\n\t\t\t${v("width",h(C.line.size)?C.line.size+"px":"")}\n\t\t\t${y(C.line.bg)}\n\t\t}\n\t\t${"slider"===E?`\n\t\t\t\t${A}{\n\t\t\t\t\t${v("height",T.height)}\n\t\t\t\t\t${v("width",T.width)}\n\t\t\t\t\t${y(T.normal.bg)}\n\t\t\t\t\t${g(T.normal.border)}\n\t\t\t\t\t${v("border-radius",O(T.normal.radius))}\n\t\t\t\t}\n\n\t\t\t\t${A}:hover{\n\t\t\t\t\t${y(T.hover.bg)}\n\t\t\t\t\t${g(T.hover.border)}\n\t\t\t\t\t${v("border-radius",O(T.hover.radius))}\n\t\t\t\t}\n\n\t\t\t\t${A} > svg{\n\t\t\t\t\t${v("width",j.normal.size)}\n\t\t\t\t\t${v("fill",j.normal.color)}\n\t\t\t\t}\n\t\t\t\t${A}:hover svg{\n\t\t\t\t\t${v("fill",j.hover.color)}\n\t\t\t\t\t${v("width",j.hover.size)}\n\t\t\t\t}\n\t\t\t\t${W}>li>button::before{\n\t\t\t\t\t${v("background-color",x.active)}\n\t\t\t\t}\n\t\t\t\t${W}>li.slick-active>button::before{\n\t\t\t\t\t${v("background-color",x.active)}\n\t\t\t\t}\n\t\t\t\t`:""}\n\t\t`.replace(/\s+/g," ")}});var N});document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-image-comparison").forEach((n=>{const r=JSON.parse(n.dataset.attributes),{isLabel:o,label:i,beforeLabel:a,afterLabel:l,isCap:s,cap:c,orientation:u}=r,{hAlign:d,vAlign:p}=i,h=o&&a&&(0,e.createElement)("div",{className:`b-blocks-label b-blocks-before-label b-blocks-${u} ${"horizontal"===u?d:p}`,dangerouslySetInnerHTML:{__html:a}}),v=o&&l&&(0,e.createElement)("div",{className:`b-blocks-label b-blocks-after-label b-blocks-${u} ${"horizontal"===u?d:p}`,dangerouslySetInnerHTML:{__html:l}}),y=s&&c&&(0,e.createElement)("div",{className:"b-blocks-caption",dangerouslySetInnerHTML:{__html:c}});(0,t.H)(n).render((0,e.createElement)(e.Fragment,null,(0,e.createElement)(E,{attributes:r,id:n.id}),(0,e.createElement)(f,{afterLabelEl:v,beforeLabelEl:h,captionEl:y,attributes:r}))),n?.removeAttribute("data-attributes")}))}))})()})(); |
|
2
|
+(()=>{var e={1040(e,t,n){var r=n(8404),o=n(2524).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},1098(e,t,n){var r=n(1040),o=n(2524),i=o.each,s=o.isFunction,a=o.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var o=this.queries,l=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,l)),s(t)&&(t={match:t}),a(t)||(t=[t]),i(t,(function(t){s(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},8404(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},2524(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},2386(e,t,n){var r=n(1098);e.exports=new r},1441(e,t,n){var r=n(8028),o=function(e){var t="",n=Object.keys(e);return n.forEach((function(o,i){var s=e[o];(function(e){return/[height|width]$/.test(e)})(o=r(o))&&"number"==typeof s&&(s+="px"),t+=!0===s?o:!1===s?"not "+o:"("+o+": "+s+")",i<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=o(n),r<e.length-1&&(t+=", ")})),t):o(e)}},181(e){var t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,o=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,a="object"==typeof self&&self&&self.Object===Object&&self,l=s||a||Function("return this")(),c=Object.prototype.toString,u=Math.max,d=Math.min,p=function(){return l.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return NaN;if(f(e)){var s="function"==typeof e.valueOf?e.valueOf():e;e=f(s)?s+"":s}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(t,"");var a=r.test(e);return a||o.test(e)?i(e.slice(2),a?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,s,a,l,c=0,v=!1,b=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function m(e){var n=e-l;return void 0===l||n>=t||n<0||b&&e-c>=i}function w(){var e=p();if(m(e))return S(e);a=setTimeout(w,function(e){var n=t-(e-l);return b?d(n,i-(e-c)):n}(e))}function S(e){return a=void 0,y&&r?g(e):(r=o=void 0,s)}function O(){var e=p(),n=m(e);if(r=arguments,o=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(w,t),v?g(e):s}(l);if(b)return a=setTimeout(w,t),g(l)}return void 0===a&&(a=setTimeout(w,t)),s}return t=h(t)||0,f(n)&&(v=!!n.leading,i=(b="maxWait"in n)?u(h(n.maxWait)||0,t):i,y="trailing"in n?!!n.trailing:y),O.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=o=a=void 0},O.flush=function(){return void 0===a?s:S(p())},O}},9223(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var o=a(n(1609)),i=a(n(6942)),s=n(9445);function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=h(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function f(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){var t=g();return function(){var n,o=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}t.PrevArrow=function(e){v(n,e);var t=y(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,u(u({},n),r)):o.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(o.default.PureComponent),t.NextArrow=function(e){v(n,e);var t=y(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,s.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,u(u({},n),r)):o.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(o.default.PureComponent)},1327(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1609))&&r.__esModule?r:{default:r},i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};t.default=i},773(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=a(n(1609)),i=a(n(6942)),s=n(9445);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=f();return function(){var n,o=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}t.Dots=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,r=p(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.apply(this,arguments)}return t=a,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,a=t.onMouseLeave,c=t.infinite,d=t.slidesToScroll,p=t.slidesToShow,f=t.slideCount,h=t.currentSlide,v=(e={slideCount:f,slidesToScroll:d,slidesToShow:p,infinite:c}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:n,onMouseOver:r,onMouseLeave:a},y=[],g=0;g<v;g++){var m=(g+1)*d-1,w=c?m:(0,s.clamp)(m,0,f-1),S=w-(d-1),O=c?S:(0,s.clamp)(S,0,f-1),$=(0,i.default)({"slick-active":c?h>=O&&h<=w:h===O}),k={message:"dots",index:g,slidesToScroll:d,currentSlide:h},j=this.clickHandler.bind(this,k);y=y.concat(o.default.createElement("li",{key:g,className:$},o.default.cloneElement(this.props.customPaging(g),{onClick:j})))}return o.default.cloneElement(this.props.appendDots(y),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=u(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},b))}}],n&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.PureComponent)},4589(e,t,n){"use strict";t.A=void 0;var r,o=(r=n(8120))&&r.__esModule?r:{default:r};t.A=o.default},8841(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},4999(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=p(n(1609)),o=p(n(8841)),i=p(n(181)),s=p(n(6942)),a=n(9445),l=n(5942),c=n(773),u=n(9223),d=p(n(3591));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function m(e){var t=S();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}(this,n)}}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function $(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:String(t)}t.InnerSlider=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(v,e);var t,n,p=m(v);function v(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),$(w(t=p.call(this,e)),"listRefHandler",(function(e){return t.list=e})),$(w(t),"trackRefHandler",(function(e){return t.track=e})),$(w(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,a.getHeight)(e)+"px"}})),$(w(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,a.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),$(w(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),$(w(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,a.getOnDemandLazySlides)(b(b({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var o=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),i=t.didPropsChange(e);i&&t.updateState(o,i,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),$(w(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,i.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),$(w(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),$(w(t),"updateState",(function(e,n,o){var i=(0,a.initializedState)(e);e=b(b(b({},e),i),{},{slideIndex:i.currentSlide});var s=(0,a.getTrackLeft)(e);e=b(b({},e),{},{left:s});var l=(0,a.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(i.trackStyle=l),t.setState(i,o)})),$(w(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,o=[],i=(0,a.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),s=(0,a.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<i;l++)n+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<s;c++)e+=o[c];for(var u=0;u<t.state.currentSlide;u++)n+=o[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var p="".concat(o[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:d}}var f=r.default.Children.count(t.props.children),h=b(b(b({},t.props),t.state),{},{slideCount:f}),v=(0,a.getPreClones)(h)+(0,a.getPostClones)(h)+f,y=100/t.props.slidesToShow*v,g=100/v,m=-g*((0,a.getPreClones)(h)+t.state.currentSlide)*y/100;return t.props.centerMode&&(m+=(100-g*y/100)/2),{slideWidth:g+"%",trackStyle:{width:y+"%",left:m+"%"}}})),$(w(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var o=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),$(w(t),"progressiveLazyLoad",(function(){for(var e=[],n=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,a.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var o=t.state.currentSlide-1;o>=-(0,a.getPreClones)(n);o--)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),$(w(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,o=r.asNavFor,i=r.beforeChange,s=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,a.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),p=d.state,f=d.nextState;if(p){i&&i(u,p.currentSlide);var h=p.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));s&&h.length>0&&s(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(p,(function(){o&&t.asNavForIndex!==e&&(t.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout((function(){var e=f.animating,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(f,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(p.currentSlide),delete t.animationEndCallback}))}),l))}))}})),$(w(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),o=(0,a.changeSlide)(r,e);if((0===o||o)&&(!0===n?t.slideHandler(o,n):t.slideHandler(o),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var i=t.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}})),$(w(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),$(w(t),"keyHandler",(function(e){var n=(0,a.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),$(w(t),"selectHandler",(function(e){t.changeSlide(e)})),$(w(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),$(w(t),"enableBodyScroll",(function(){window.ontouchmove=null})),$(w(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,a.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),$(w(t),"swipeMove",(function(e){var n=(0,a.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),$(w(t),"swipeEnd",(function(e){var n=(0,a.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),$(w(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),$(w(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),$(w(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),$(w(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),$(w(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,a.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),$(w(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),$(w(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),$(w(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),$(w(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),$(w(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),$(w(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),$(w(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),$(w(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),$(w(t),"render",(function(){var e,n,o,i=(0,s.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),p=(0,a.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(p=b(b({},p),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var v=(0,a.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;v=b(b({},v),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,v)}var g=(0,a.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,g),o=r.default.createElement(u.NextArrow,g));var m=null;t.props.vertical&&(m={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var S=b(b({},m),w),O=t.props.touchMove,$={className:"slick-list",style:S,onClick:t.clickHandler,onMouseDown:O?t.swipeStart:null,onMouseMove:t.state.dragging&&O?t.swipeMove:null,onMouseUp:O?t.swipeEnd:null,onMouseLeave:t.state.dragging&&O?t.swipeEnd:null,onTouchStart:O?t.swipeStart:null,onTouchMove:t.state.dragging&&O?t.swipeMove:null,onTouchEnd:O?t.touchEnd:null,onTouchCancel:t.state.dragging&&O?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},k={className:i,dir:"ltr",style:t.props.style};return t.props.unslick&&($={className:"slick-list"},k={className:i}),r.default.createElement("div",k,t.props.unslick?"":n,r.default.createElement("div",h({ref:t.listRefHandler},$),r.default.createElement(l.Track,h({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":o,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},o.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=b(b({},t.state),n),t}return t=v,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==f(e[i])&&"function"!=typeof e[i]&&!isNaN(e[i])&&e[i]!==this.props[i]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(r.default.Component)},8120(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1609)),o=n(4999),i=l(n(1441)),s=l(n(1327)),a=n(9445);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,w(r.key),r)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}(this,n)}}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:String(t)}var S=(0,a.canUseDOM)()&&n(2386);t.default=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(c,e);var t,n,l=v(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),m(b(t=l.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),m(b(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),m(b(t),"slickNext",(function(){return t.innerSlider.slickNext()})),m(b(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),m(b(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),m(b(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=c,(n=[{key:"media",value:function(e,t){S.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=0===r?(0,i.default)({minWidth:0,maxWidth:n}):(0,i.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,a.canUseDOM)()&&e.media(o,(function(){e.setState({breakpoint:n})}))}));var n=(0,i.default)({minWidth:t.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){S.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":p(p(p({},s.default),this.props),t[0].settings):p(p({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var i=r.default.Children.toArray(this.props.children);i=i.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,d=0;d<i.length;d+=e.rows*e.slidesPerRow){for(var f=[],h=d;h<d+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var v=[],b=h;b<h+e.slidesPerRow&&(e.variableWidth&&i[b].props.style&&(c=i[b].props.style.width),!(b>=i.length));b+=1)v.push(r.default.cloneElement(i[b],{key:100*d+10*h+b,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));f.push(r.default.createElement("div",{key:10*d+h},v))}e.variableWidth?l.push(r.default.createElement("div",{key:d,style:{width:c}},f)):l.push(r.default.createElement("div",{key:d},f))}if("unslick"===e){var y="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:y},i)}return l.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.default.createElement(o.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(e)),l)}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.default.Component)},5942(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=s(n(1609)),o=s(n(6942)),i=n(9445);function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=f();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:String(t)}var m=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},w=function(e,t){return e.key||t};t.Track=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(a,e);var t,n,s=d(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(p(e=s.call.apply(s,[this].concat(n))),"node",null),y(p(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=function(e){var t,n=[],s=[],a=[],l=r.default.Children.count(e.children),c=(0,i.lazyStartIndex)(e),u=(0,i.lazyEndIndex)(e);return r.default.Children.forEach(e.children,(function(d,p){var f,h={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:r.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(b(b({},e),{},{index:p})),y=f.props.className||"",g=m(b(b({},e),{},{index:p}));if(n.push(r.default.cloneElement(f,{key:"original"+w(f,p),"data-index":p,className:(0,o.default)(g,y),tabIndex:"-1","aria-hidden":!g["slick-active"],style:b(b({outline:"none"},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var S=l-p;S<=(0,i.getPreClones)(e)&&((t=-S)>=c&&(f=d),g=m(b(b({},e),{},{index:t})),s.push(r.default.cloneElement(f,{key:"precloned"+w(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(g,y),"aria-hidden":!g["slick-active"],style:b(b({},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),(t=l+p)<u&&(f=d),g=m(b(b({},e),{},{index:t})),a.push(r.default.cloneElement(f,{key:"postcloned"+w(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(g,y),"aria-hidden":!g["slick-active"],style:b(b({},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))}})),e.rtl?s.concat(n,a).reverse():s.concat(n,a)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default.PureComponent)},9445(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.extractObject=void 0,t.filterSettings=function(e){return M.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})},t.validSettings=t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=void 0;var r=i(n(1609)),o=i(n(1327));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==s(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return Math.max(t,Math.min(e,n))}var u=t.safePreventDefault=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},d=t.getOnDemandLazySlides=function(e){for(var t=[],n=p(e),r=f(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t},p=(t.getRequiredLazySlides=function(e){for(var t=[],n=p(e),r=f(e),o=n;o<r;o++)t.push(o);return t},t.lazyStartIndex=function(e){return e.currentSlide-h(e)}),f=t.lazyEndIndex=function(e){return e.currentSlide+v(e)},h=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},v=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},b=t.getWidth=function(e){return e&&e.offsetWidth||0},y=t.getHeight=function(e){return e&&e.offsetHeight||0},g=t.getSwipeDirection=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"},m=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},w=(t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t,n=r.default.Children.count(e.children),o=e.listRef,i=Math.ceil(b(o)),s=e.trackRef&&e.trackRef.node,a=Math.ceil(b(s));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var u=o&&y(o.querySelector('[data-index="0"]')),p=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var h=e.lazyLoadedList||[],v=d(l(l({},e),{},{currentSlide:f,lazyLoadedList:h})),g={slideCount:n,slideWidth:t,listWidth:i,trackWidth:a,currentSlide:f,slideHeight:u,listHeight:p,lazyLoadedList:h=h.concat(v)};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,a=e.lazyLoad,u=e.currentSlide,p=e.centerMode,f=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS,b=e.lazyLoadedList;if(t&&n)return{};var y,g,w,S=i,O={},$={},L=o?i:c(i,0,s-1);if(r){if(!o&&(i<0||i>=s))return{};i<0?S=i+s:i>=s&&(S=i-s),a&&b.indexOf(S)<0&&(b=b.concat(S)),O={animating:!0,currentSlide:S,lazyLoadedList:b,targetSlide:S},$={animating:!1,targetSlide:S}}else y=S,S<0?(y=S+s,o?s%f!=0&&(y=s-s%f):y=0):!m(e)&&S>u?S=y=u:p&&S>=s?(S=o?s:s-1,y=o?0:s-1):S>=s&&(y=S-s,o?s%f!=0&&(y=0):y=s-h),!o&&S+h>=s&&(y=s-h),g=x(l(l({},e),{},{slideIndex:S})),w=x(l(l({},e),{},{slideIndex:y})),o||(g===w&&(S=y),g=w),a&&(b=b.concat(d(l(l({},e),{},{currentSlide:S})))),v?(O={animating:!0,currentSlide:y,trackStyle:j(l(l({},e),{},{left:g})),lazyLoadedList:b,targetSlide:L},$={animating:!1,currentSlide:y,trackStyle:k(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:L}):O={currentSlide:y,trackStyle:k(l(l({},e),{},{left:w})),lazyLoadedList:b,targetSlide:L};return{state:O,nextState:$}},t.changeSlide=function(e,t){var n,r,o,i,s=e.slidesToScroll,a=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,f=e.infinite;if(n=c%s!=0?0:(c-u)%s,"previous"===t.message)i=u-(o=0===n?s:a-n),p&&!f&&(i=-1==(r=u-o)?c-1:r),f||(i=d-s);else if("next"===t.message)i=u+(o=0===n?s:n),p&&!f&&(i=(u+s)%c+n),f||(i=d+s);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,f){var h=_(l(l({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===h?i-=c:i<t.currentSlide&&"right"===h&&(i+=c)}}else"index"===t.message&&(i=Number(t.index));return i},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&u(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,a=t.rtl,c=t.currentSlide,d=t.edgeFriction,p=t.edgeDragged,f=t.onEdge,h=t.swiped,v=t.swiping,b=t.slideCount,y=t.slidesToScroll,w=t.infinite,S=t.touchObject,O=t.swipeEvent,$=t.listHeight,j=t.listWidth;if(!n){if(r)return u(e);o&&i&&s&&u(e);var L,C={},T=x(t);S.curX=e.touches?e.touches[0].pageX:e.clientX,S.curY=e.touches?e.touches[0].pageY:e.clientY,S.swipeLength=Math.round(Math.sqrt(Math.pow(S.curX-S.startX,2)));var _=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2)));if(!s&&!v&&_>10)return{scrolling:!0};s&&(S.swipeLength=_);var E=(a?-1:1)*(S.curX>S.startX?1:-1);s&&(E=S.curY>S.startY?1:-1);var P=Math.ceil(b/y),M=g(t.touchObject,s),z=S.swipeLength;return w||(0===c&&("right"===M||"down"===M)||c+1>=P&&("left"===M||"up"===M)||!m(t)&&("left"===M||"up"===M))&&(z=S.swipeLength*d,!1===p&&f&&(f(M),C.edgeDragged=!0)),!h&&O&&(O(M),C.swiped=!0),L=o?T+z*($/j)*E:a?T-z*E:T+z*E,s&&(L=T+z*E),C=l(l({},C),{},{touchObject:S,swipeLeft:L,trackStyle:k(l(l({},t),{},{left:L}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)||S.swipeLength>10&&(C.swiping=!0,u(e)),C}},t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,a=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,p=t.scrolling,f=t.onSwipe,h=t.targetSlide,v=t.currentSlide,b=t.infinite;if(!n)return r&&u(e),{};var y=a?c/s:i/s,m=g(o,a),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return w;if(!o.swipeLength)return w;if(o.swipeLength>y){var $,k;u(e),f&&f(m);var L=b?v:h;switch(m){case"left":case"up":k=L+O(t),$=d?S(t,k):k,w.currentDirection=0;break;case"right":case"down":k=L-O(t),$=d?S(t,k):k,w.currentDirection=1;break;default:$=L}w.triggerSlideHandler=$}else{var C=x(t);w.trackStyle=j(l(l({},t),{},{left:C}))}return w},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}),S=t.checkNavigable=function(e,t){var n=w(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},O=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,o=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(o).every((function(r){if(e.vertical){if(r.offsetTop+y(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+b(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},$=t.checkSpecKeys=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},k=t.getTrackCSS=function(e){var t,n;$(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=T(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=l(l({},o),{},{WebkitTransform:i,transform:s,msTransform:a})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},j=t.getTrackAnimateCSS=function(e){$(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},x=t.getTrackLeft=function(e){if(e.unslick)return 0;$(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,s=e.centerMode,a=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,p=e.variableWidth,f=e.slideHeight,h=e.fade,v=e.vertical;if(h||1===e.slideCount)return 0;var b=0;if(i?(b=-L(e),a%c!=0&&r+c>a&&(b=-(r>a?l-(r-a):a%c)),s&&(b+=parseInt(l/2))):(a%c!=0&&r+c>a&&(b=l-a%c),s&&(b=parseInt(l/2))),t=v?r*f*-1+b*f:r*u*-1+b*u,!0===p){var y,g=o&&o.node;if(y=r+L(e),t=(n=g&&g.childNodes[y])?-1*n.offsetLeft:0,!0===s){y=i?r+L(e):r,n=g&&g.children[y],t=0;for(var m=0;m<y;m++)t-=g&&g.children[m]&&g.children[m].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t},L=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},C=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},T=t.getTotalSlides=function(e){return 1===e.slideCount?1:L(e)+e.slideCount+C(e)},_=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+E(e)?"left":"right":e.targetSlide<e.currentSlide-P(e)?"right":"left"},E=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},P=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},M=(t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},t.validSettings=Object.keys(o.default))},3591(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>$});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof globalThis&&globalThis.Math===Math?globalThis:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e){var t=!1,n=!1,r=0;function o(){t&&(t=!1,e()),n&&a()}function i(){s(o)}function a(){var e=Date.now();if(t){if(e-r<2)return;n=!0}else t=!0,n=!1,setTimeout(i,20);r=e}return a}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=y(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return o?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=f(i)}return t}(r),i=o.left+o.right,s=o.top+o.bottom,a=f(r.width),l=f(r.height);if("border-box"===r.boxSizing&&(Math.round(a+i)!==t&&(a-=h(r,"left","right")+i),Math.round(l+s)!==n&&(l-=h(r,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(a+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return y(o.left,o.top,a,l)}(e):p}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var g=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),m=function(e,t){var n,r,o,i,s,a,l,c=(r=(n=t).x,o=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),u(l,{x:r,y:o,width:i,height:s,top:o,right:r+i,bottom:s+o,left:r}),l);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new m(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new r,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));const $=void 0!==i.ResizeObserver?i.ResizeObserver:O},8028(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},1609(e){"use strict";e.exports=window.React},6942(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}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})},(()=>{"use strict";const e=window.ReactDOM;var t=n(1609);const r="b-blocks-ImageCompare",o="linear-gradient(135deg, #0040E3, #18D4FD)",i=window.ReactJSXRuntime,s=e=>(0,i.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 24 24",height:"1em",width:"1em",...e,children:(0,i.jsx)("path",{d:"M15 19L15 5 7 12z"})}),a=e=>(0,i.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 24 24",height:"1em",width:"1em",...e,children:(0,i.jsx)("path",{d:"M9 19L17 12 9 5z"})}),l=e=>({defaulthorizontal:`inset(0 0 0 ${e}%)`,defaultvertical:`inset(${e}% 0 0 0)`,zigzaghorizontal:`polygon(0% 0%, ${e}% 0%, ${e-6}% 9%, ${e}% 18%, ${e-6}% 27%, ${e}% 36%, ${e-6}% 45%, ${e}% 54%, ${e-6}% 63%, ${e}% 72%, ${e-6}% 81%, ${e}% 90%, ${e-6}% 100%, 0% 100%)`,zigzagvertical:`polygon(0% 0%,0% ${e}%,9% ${e+6}% ,18% ${e}%,27% ${e+6}%,36% ${e}%,45% ${e+6}%, 54% ${e}%,63% ${e+6}%,72% ${e}%, 81% ${e+6}%,90% ${e}%, 100% ${e+6}%,100% 0% )`,wavehorizontal:`polygon(\n ${e+7.778-8.8}% 0%,\n ${e+7.5-8.8}% 2.383%,\n ${e+7.5-8.8}% 2.383%,\n ${e+7.407-8.8}% 3.172%,\n ${e+7.292-8.8}% 4.088%,\n ${e+7.15-8.8}% 5.118%,\n ${e+6.973-8.8}% 6.247%,\n ${e+6.757-8.8}% 7.46%,\n ${e+6.496-8.8}% 8.745%,\n ${e+6.184-8.8}% 10.085%,\n ${e+5.816-8.8}% 11.467%,\n ${e+5.387-8.8}% 12.877%,\n ${e+4.889-8.8}% 14.3%,\n ${e+4.889-8.8}% 14.3%,\n ${e+4.324-8.8}% 15.725%,\n ${e+3.718-8.8}% 17.148%,\n ${e+3.102-8.8}% 18.571%,\n ${e+2.508-8.8}% 19.994%,\n ${e+1.968-8.8}% 21.417%,\n ${e+1.514-8.8}% 22.839%,\n ${e+1.177-8.8}% 24.262%,\n ${e+.989-8.8}% 25.685%,\n ${e+.983-8.8}% 27.109%,\n ${e+1.189-8.8}% 28.533%,\n ${e+1.189-8.8}% 28.533%,\n ${e+1.624-8.8}% 29.959%,\n ${e+2.256-8.8}% 31.385%,\n ${e+3.039-8.8}% 32.813%,\n ${e+3.925-8.8}% 34.241%,\n ${e+4.867-8.8}% 35.671%,\n ${e+5.816-8.8}% 37.101%,\n ${e+6.726-8.8}% 38.533%,\n ${e+7.549-8.8}% 39.965%,\n ${e+8.238-8.8}% 41.399%,\n ${e+8.744-8.8}% 42.833%,\n ${e+8.744-8.8}% 42.833%,\n ${e+9.034-8.8}% 44.268%,\n ${e+9.119-8.8}% 45.702%,\n ${e+9.024-8.8}% 47.135%,\n ${e+8.775-8.8}% 48.567%,\n ${e+8.396-8.8}% 50%,\n ${e+7.912-8.8}% 51.433%,\n ${e+7.347-8.8}% 52.865%,\n ${e+6.728-8.8}% 54.298%,\n ${e+6.078-8.8}% 55.732%,\n ${e+5.422-8.8}% 57.167%,\n ${e+5.422-8.8}% 57.167%,\n ${e+4.785-8.8}% 58.601%,\n ${e+4.186-8.8}% 60.035%,\n ${e+3.645-8.8}% 61.467%,\n ${e+3.181-8.8}% 62.899%,\n ${e+2.813-8.8}% 64.329%,\n ${e+2.559-8.8}% 65.759%,\n ${e+2.44-8.8}% 67.187%,\n ${e+2.474-8.8}% 68.615%,\n ${e+2.68-8.8}% 70.041%,\n ${e+3.078-8.8}% 71.467%,\n ${e+3.078-8.8}% 71.467%,\n ${e+3.676-8.8}% 72.891%,\n ${e+4.443-8.8}% 74.315%,\n ${e+5.338-8.8}% 75.738%,\n ${e+6.317-8.8}% 77.161%,\n ${e+7.34-8.8}% 78.583%,\n ${e+8.365-8.8}% 80.006%,\n ${e+9.35-8.8}% 81.429%,\n ${e+10.252-8.8}% 82.852%,\n ${e+11.031-8.8}% 84.275%,\n ${e+11.644-8.8}% 85.7%,\n ${e+11.644-8.8}% 85.7%,\n ${e+12.062-8.8}% 87.123%,\n ${e+12.298-8.8}% 88.533%,\n ${e+12.378-8.8}% 89.915%,\n ${e+12.328-8.8}% 91.255%,\n ${e+12.175-8.8}% 92.54%,\n ${e+11.944-8.8}% 93.753%,\n ${e+11.66-8.8}% 94.882%,\n ${e+11.35-8.8}% 95.912%,\n ${e+11.04-8.8}% 96.828%,\n ${e+10.756-8.8}% 97.617%,\n ${e+9.889-8.8}% 100%,\n 0% 100%,0% 97.617%,0% 97.617%,0% 96.828%,0% 95.912%,0% 94.882%,0% 93.753%,0% 92.54%,0% 91.255%,0% 89.915%,0% 88.533%,0% 87.123%,0% 85.7%,0% 85.7%,0% 84.275%,0% 82.852%,0% 81.429%,0% 80.006%,0% 78.583%,0% 77.161%,0% 75.738%,0% 74.315%,0% 72.891%,0% 71.467%,0% 71.467%,0% 70.041%,0% 68.615%,0% 67.187%,0% 65.759%,0% 64.329%,0% 62.899%,0% 61.467%,0% 60.035%,0% 58.601%,0% 57.167%,0% 57.167%,0% 55.732%,0% 54.298%,0% 52.865%,0% 51.433%,0% 50%,0% 48.567%,0% 47.135%,0% 45.702%,0% 44.268%,0% 42.833%,0% 42.833%,0% 41.399%,0% 39.965%,0% 38.533%,0% 37.101%,0% 35.671%,0% 34.241%,0% 32.813%,0% 31.385%,0% 29.959%,0% 28.533%,0% 28.533%,0% 27.109%,0% 25.685%,0% 24.262%,0% 22.839%,0% 21.417%,0% 19.994%,0% 18.571%,0% 17.148%,0% 15.725%,0% 14.3%,0% 14.3%,0% 12.877%,0% 11.467%,0% 10.085%,0% 8.745%,0% 7.46%,0% 6.247%,0% 5.118%,0% 4.088%,0% 3.172%,0% 2.383%,0% 0%,57.778% 0% )`,wavevertical:`polygon(\n 0% ${42.167+e-41}%,\n 2.389% ${42.45+e-41}%,\n 2.389% ${42.45+e-41}%,\n 3.175% ${42.54+e-41}%,\n 4.09% ${42.653+e-41}%,\n 5.119% ${42.795+e-41}%,\n 6.248% ${42.972+e-41}%,\n 7.463% ${43.188+e-41}%,\n 8.748% ${43.448+e-41}%,\n 10.09% ${43.76+e-41}%,\n 11.474% ${44.127+e-41}%,\n 12.886% ${44.555+e-41}%,\n 14.311% ${45.05+e-41}%,\n 14.311% ${45.05+e-41}%,\n 15.74% ${45.616+e-41}%,\n 17.168% ${46.224+e-41}%,\n 18.594% ${46.84+e-41}%,\n 20.019% ${47.435+e-41}%,\n 21.444% ${47.975+e-41}%,\n 22.87% ${48.429+e-41}%,\n 24.295% ${48.766+e-41}%,\n 25.721% ${48.952+e-41}%,\n 27.149% ${48.958+e-41}%,\n 28.578% ${48.75+e-41}%,\n 28.578% ${48.75+e-41}%,\n 30.005% ${48.31+e-41}%,\n 31.433% ${47.673+e-41}%,\n 32.863% ${46.886+e-41}%,\n 34.292% ${45.997+e-41}%,\n 35.722% ${45.052+e-41}%,\n 37.152% ${44.1+e-41}%,\n 38.582% ${43.188+e-41}%,\n 40.011% ${42.363+e-41}%,\n 41.439% ${41.674+e-41}%,\n 42.867% ${41.167+e-41}%,\n 42.867% ${41.167+e-41}%,\n 44.296% ${40.878+e-41}%,\n 45.723% ${40.793+e-41}%,\n 47.149% ${40.889+e-41}%,\n 48.575% ${41.14+e-41}%,\n 50% ${41.521+e-41}%,\n 51.425% ${42.007+e-41}%,\n 52.851% ${42.573+e-41}%,\n 54.277% ${43.193+e-41}%,\n 55.704% ${43.844+e-41}%,\n 57.133% ${44.5+e-41}%,\n 57.133% ${44.5+e-41}%,\n 58.561% ${45.137+e-41}%,\n 59.989% ${45.735+e-41}%,\n 61.418% ${46.275+e-41}%,\n 62.848% ${46.737+e-41}%,\n 64.278% ${47.104+e-41}%,\n 65.708% ${47.356+e-41}%,\n 67.137% ${47.474+e-41}%,\n 68.567% ${47.439+e-41}%,\n 69.995% ${47.232+e-41}%,\n 71.422% ${46.833+e-41}%,\n 71.422% ${46.833+e-41}%,\n 72.851% ${46.235+e-41}%,\n 74.279% ${45.469+e-41}%,\n 75.705% ${44.576+e-41}%,\n 77.13% ${43.598+e-41}%,\n 78.556% ${42.577+e-41}%,\n 79.981% ${41.555+e-41}%,\n 81.406% ${40.572+e-41}%,\n 82.832% ${39.672+e-41}%,\n 84.26% ${38.895+e-41}%,\n 85.689% ${38.283+e-41}%,\n 85.689% ${38.283+e-41}%,\n 87.114% ${37.863+e-41}%,\n 88.526% ${37.625+e-41}%,\n 89.91% ${37.542+e-41}%,\n 91.252% ${37.589+e-41}%,\n 92.538% ${37.74+e-41}%,\n 93.752% ${37.968+e-41}%,\n 94.881% ${38.247+e-41}%,\n 95.91% ${38.552+e-41}%,\n 96.825% ${38.856+e-41}%,\n 97.611% ${39.133+e-41}%,\n 100% ${40+e-41}%,\n 100% 100.167%,\n 97.611% 100.167%,\n 97.611% 100.167%,\n 96.825% 100.167%,\n 95.91% 100.167%,\n 94.881% 100.167%,\n 93.752% 100.167%,\n 92.538% 100.167%,\n 91.252% 100.167%,\n 89.91% 100.167%,\n 88.526% 100.167%,\n 87.114% 100.167%,\n 85.689% 100.167%,\n 85.689% 100.167%,\n 84.26% 100.167%,\n 82.832% 100.167%,\n 81.406% 100.167%,\n 79.981% 100.167%,\n 78.556% 100.167%,\n 77.13% 100.167%,\n 75.705% 100.167%,\n 74.279% 100.167%,\n 72.851% 100.167%,\n 71.422% 100.167%,\n 71.422% 100.167%,\n 69.995% 100.167%,\n 68.567% 100.167%,\n 67.137% 100.167%,\n 65.708% 100.167%,\n 64.278% 100.167%,\n 62.848% 100.167%,\n 61.418% 100.167%,\n 59.989% 100.167%,\n 58.561% 100.167%,\n 57.133% 100.167%,\n 57.133% 100.167%,\n 55.704% 100.167%,\n 54.277% 100.167%,\n 52.851% 100.167%,\n 51.425% 100.167%,\n 50% 100.167%,\n 48.575% 100.167%,\n 47.149% 100.167%,\n 45.723% 100.167%,\n 44.296% 100.167%,\n 42.867% 100.167%,\n 42.867% 100.167%,\n 41.439% 100.167%,\n 40.011% 100.167%,\n 38.582% 100.167%,\n 37.152% 100.167%,\n 35.722% 100.167%,\n 34.292% 100.167%,\n 32.863% 100.167%,\n 31.433% 100.167%,\n 30.005% 100.167%,\n 28.578% 100.167%,\n 28.578% 100.167%,\n 27.149% 100.167%,\n 25.721% 100.167%,\n 24.295% 100.167%,\n 22.87% 100.167%,\n 21.444% 100.167%,\n 20.019% 100.167%,\n 18.594% 100.167%,\n 17.168% 100.167%,\n 15.74% 100.167%,\n 14.311% 100.167%,\n 14.311% 100.167%,\n 12.886% 100.167%,\n 11.474% 100.167%,\n 10.09% 100.167%,\n 8.748% 100.167%,\n 7.463% 100.167%,\n 6.248% 100.167%,\n 5.119% 100.167%,\n 4.09% 100.167%,\n 3.175% 100.167%,\n 2.389% 100.167%,\n 0% 100.167%\n )`}),c=({beforeLabelEl:e,height:n,afterLabelEl:o,beforeImg:c,afterImg:u,orientation:d,options:p,dragg:f,label:h,captionEl:v,...b})=>{const{defaultOffset:y,isMoveClick:g,autoSlide:m,moveMouseOver:w}=p,{isAutoSlide:S,isHoverStop:O,speed:$}=m,[k,j]=(0,t.useState)(100*y),[x,L]=(0,t.useState)(!1),C=(0,t.useRef)(null),{handleClick:T}=((e,n,r,o,i,s=!1,a,l=50,c=!1)=>{const[u,d]=(0,t.useState)(!0),p=(0,t.useRef)(),f=(0,t.useRef)(1),h=t=>{if(!e||!n.current)return;const o=n.current.getBoundingClientRect(),s="touches"in t?t.touches[0]:t,a=("horizontal"===i?s.clientX-o.left:s.clientY-o.top)/("horizontal"===i?o.width:o.height)*100;r(Math.min(Math.max(a,0),100))};return(0,t.useEffect)((()=>{if(!e)return;const t=()=>o(!1),n=e=>h(e),r=e=>h(e);return window.addEventListener("mousemove",n),window.addEventListener("mouseup",t),window.addEventListener("touchmove",r),window.addEventListener("touchend",t),()=>{window.removeEventListener("mousemove",n),window.removeEventListener("mouseup",t),window.removeEventListener("touchmove",r),window.removeEventListener("touchend",t)}}),[e]),(0,t.useEffect)((()=>{if(!s||!u||e)return;let t;const n=e=>{t||(t=e);const o=(e-t)/1e3;t=e,r((e=>{let t=e+f.current*(10*l)*o;return t>=100&&(f.current=-1,t=100),t<=0&&(f.current=1,t=0),t})),p.current=requestAnimationFrame(n)};return p.current=requestAnimationFrame(n),()=>cancelAnimationFrame(p.current)}),[s,u,e,a,l]),(0,t.useEffect)((()=>{if(!n.current)return;const e=()=>d(!a),t=()=>d(!0);return n?.current?.addEventListener("mouseenter",e),n?.current?.addEventListener("mouseleave",t),()=>{n?.current?.removeEventListener("mouseenter",e),n?.current?.removeEventListener("mouseleave",t)}}),[n.current,a]),{handleClick:t=>{if(e||!n.current||!c)return;const o=n.current.getBoundingClientRect(),s=("horizontal"===i?t.clientX-o.left:t.clientY-o.top)/("horizontal"===i?o.width:o.height)*100;r(Math.min(Math.max(s,0),100))}}})(x,C,j,L,d,S,O,$,g),_=()=>{const e=C.current;if(!e)return;const t=Array.from(e.querySelectorAll("img"));if(!t.length)return;const r=parseInt(n,10);let o;if(!isNaN(r)&&r>0)o=r;else{const e=t.map((e=>e.getBoundingClientRect().height)).filter((e=>e>0));if(!e.length)return;o=Math.max(...e)}e.style.height=`${o}px`,t.forEach((e=>{e.style.height=`${o}px`}))};return(0,t.useEffect)((()=>{const e=C.current;if(!e)return;const t=new ResizeObserver(_);return t.observe(e),()=>t.disconnect()}),[]),(0,i.jsxs)("div",{...b,className:r,children:[(0,i.jsxs)("div",{ref:C,className:"b-blocks-comparison-wrapper "+(h.isShowHover?"b-blocks-label-hover":""),onMouseDown:()=>L(!0),onTouchStart:()=>L(!0),...w?{onMouseMove:()=>L(!0),onMouseLeave:()=>L(!1)}:{},onClick:T,children:[(0,i.jsxs)("div",{className:"b-blocks-image-wrapper",children:[(0,i.jsx)("img",{src:c?.url,alt:c?.alt||c?.title,onLoad:_}),e]}),(0,i.jsxs)("div",{className:"b-blocks-image-wrapper",style:{clipPath:l(k)[f.shapeType+d]},children:[(0,i.jsx)("img",{src:u?.url,alt:u?.alt||u?.title,onLoad:_}),o]}),(0,i.jsx)("div",{className:`b-blocks-comparison-slider-handle b-blocks-slider-${d} ${f.handleType} ${"default"!==f.shapeType?"circle-outline-line-none":""} `,style:{left:"horizontal"===d?`${k}%`:"",top:"vertical"===d?`${k}%`:""},children:"default"===f.handleType?(0,i.jsx)("div",{className:"b-blocks-default-icon"},f.handleType):(0,i.jsx)("div",{className:`b-blocks-${f.handleType}-icon`,children:(0,i.jsxs)("div",{children:[(0,i.jsx)(s,{}),(0,i.jsx)(a,{})]})},f.handleType)})]}),v]})};var u=n(4589);const d={style1:{left:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5303 18.5303C14.2374 18.8232 13.7626 18.8232 13.4697 18.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L13.4697 5.46967C13.7626 5.17678 14.2374 5.17678 14.5303 5.46967C14.8232 5.76256 14.8232 6.23744 14.5303 6.53033L9.06066 12L14.5303 17.4697C14.8232 17.7626 14.8232 18.2374 14.5303 18.5303Z"})}),right:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.46967 5.46967C9.76256 5.17678 10.2374 5.17678 10.5303 5.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L10.5303 18.5303C10.2374 18.8232 9.76256 18.8232 9.46967 18.5303C9.17678 18.2374 9.17678 17.7626 9.46967 17.4697L14.9393 12L9.46967 6.53033C9.17678 6.23744 9.17678 5.76256 9.46967 5.46967Z"})})},style2:{left:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4939 20.5644C11.1821 20.8372 10.7083 20.8056 10.4356 20.4939L3.43557 12.4939C3.18814 12.2111 3.18814 11.7889 3.43557 11.5061L10.4356 3.50613C10.7083 3.1944 11.1822 3.16281 11.4939 3.43557C11.8056 3.70834 11.8372 4.18216 11.5644 4.49388L5.65283 11.25L20 11.25C20.4142 11.25 20.75 11.5858 20.75 12C20.75 12.4142 20.4142 12.75 20 12.75L5.65283 12.75L11.5644 19.5061C11.8372 19.8179 11.8056 20.2917 11.4939 20.5644Z"})}),right:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5061 3.43557C12.8178 3.16281 13.2917 3.19439 13.5644 3.50612L20.5644 11.5061C20.8119 11.7889 20.8119 12.2111 20.5644 12.4939L13.5644 20.4939C13.2917 20.8056 12.8178 20.8372 12.5061 20.5644C12.1944 20.2917 12.1628 19.8178 12.4356 19.5061L18.3472 12.75H4C3.58579 12.75 3.25 12.4142 3.25 12C3.25 11.5858 3.58579 11.25 4 11.25H18.3472L12.4356 4.49388C12.1628 4.18215 12.1944 3.70833 12.5061 3.43557Z"})})},style3:{left:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{d:"M11 20.74C10.9012 20.7423 10.803 20.7238 10.7118 20.686C10.6205 20.6481 10.5382 20.5916 10.47 20.52L2.47 12.52C2.32955 12.3794 2.25066 12.1888 2.25066 11.99C2.25066 11.7913 2.32955 11.6007 2.47 11.46L10.47 3.46003C10.576 3.35806 10.7096 3.2895 10.8542 3.26288C10.9989 3.23626 11.1481 3.25274 11.2835 3.31029C11.4188 3.36783 11.5342 3.4639 11.6154 3.58653C11.6966 3.70917 11.7399 3.85296 11.74 4.00003V7.30003H21C21.1981 7.30262 21.3874 7.38247 21.5275 7.52256C21.6676 7.66265 21.7474 7.85192 21.75 8.05003V16.05C21.7474 16.2481 21.6676 16.4374 21.5275 16.5775C21.3874 16.7176 21.1981 16.7974 21 16.8H11.74V19.99C11.7402 20.139 11.6954 20.2845 11.6116 20.4076C11.5277 20.5307 11.4087 20.6257 11.27 20.68C11.1848 20.7175 11.0931 20.7379 11 20.74ZM4.07 12L10.25 18.18V16.05C10.25 15.8511 10.329 15.6603 10.4697 15.5197C10.6103 15.379 10.8011 15.3 11 15.3H20.25V8.80003H11C10.8019 8.79744 10.6126 8.71759 10.4725 8.57749C10.3324 8.4374 10.2526 8.24813 10.25 8.05003V5.82003L4.07 12Z"})}),right:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{d:"M13 20.74C12.9039 20.7541 12.8062 20.7541 12.71 20.74C12.5724 20.6823 12.4551 20.5849 12.3732 20.4602C12.2912 20.3355 12.2484 20.1892 12.25 20.04V16.7H3.00001C2.81189 16.6956 2.63208 16.6216 2.49538 16.4923C2.35868 16.363 2.27481 16.1876 2.26001 16V8.00002C2.25463 7.89856 2.26965 7.79706 2.30417 7.7015C2.3387 7.60595 2.39204 7.51829 2.46103 7.44371C2.53002 7.36913 2.61326 7.30913 2.70584 7.26727C2.79841 7.22542 2.89844 7.20255 3.00001 7.20002H12.25V4.01002C12.2498 3.86106 12.2946 3.71551 12.3784 3.59241C12.4623 3.4693 12.5813 3.37436 12.72 3.32002C12.8551 3.26039 13.0053 3.24376 13.1502 3.27238C13.2951 3.301 13.4277 3.37349 13.53 3.48002L21.53 11.48C21.6705 11.6206 21.7493 11.8113 21.7493 12.01C21.7493 12.2088 21.6705 12.3994 21.53 12.54L13.53 20.54C13.4601 20.6079 13.377 20.6608 13.2858 20.6952C13.1946 20.7296 13.0973 20.7448 13 20.74ZM3.76001 15.2H13C13.1981 15.2026 13.3874 15.2825 13.5275 15.4226C13.6676 15.5626 13.7474 15.7519 13.75 15.95V18.18L19.93 12L13.75 5.83002V8.00002C13.7477 8.19843 13.6689 8.3883 13.53 8.53002C13.3817 8.65257 13.1919 8.71343 13 8.70002H3.76001V15.2Z"})})},style4:{left:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"M1.02698 11.9929L5.26242 16.2426L6.67902 14.8308L4.85766 13.0033L22.9731 13.0012L22.9728 11.0012L4.85309 11.0033L6.6886 9.17398L5.27677 7.75739L1.02698 11.9929Z"})}),right:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"M23.0677 11.9929L18.818 7.75739L17.4061 9.17398L19.2415 11.0032L0.932469 11.0012L0.932251 13.0012L19.2369 13.0032L17.4155 14.8308L18.8321 16.2426L23.0677 11.9929Z"})})},style5:{left:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"m4.431 12.822 13 9A1 1 0 0 0 19 21V3a1 1 0 0 0-1.569-.823l-13 9a1.003 1.003 0 0 0 0 1.645z"})}),right:(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{transform:'${\r direction === "vertical" ? "rotate(90, 13, 12)" : ""\r }',d:"M5.536 21.886a1.004 1.004 0 0 0 1.033-.064l13-9a1 1 0 0 0 0-1.644l-13-9A1 1 0 0 0 5 3v18a1 1 0 0 0 .536.886z"})})},style6:{left:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",children:[(0,i.jsx)("path",{d:"M16.5 8L13 11.5L16.5 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M10.5 8L7 11.5L10.5 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),right:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",children:[(0,i.jsx)("path",{d:"M7 8L10.5 11.5L7 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M13 8L16.5 11.5L13 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},p=({icon:e,...t})=>(0,i.jsx)("div",{...t,children:e}),f=({attributes:e,device:n,setActiveIndex:r})=>{const{orientation:o,options:s,dragg:a,label:l,slider:f,sliderOptions:h,isLabel:v,isCap:b,align:y}=e,g=(0,t.useRef)(),{hAlign:m,vAlign:w}=l,{height:S,autoplay:O,speed:$,autoplaySpeed:k,pauseOnHover:j,infinite:x,dots:L,arrows:C,slidesView:T,arrowType:_}=h;(0,t.useEffect)((()=>{g.current&&f.length<2&&g.current.innerSlider.list.querySelectorAll(".slick-cloned").forEach((e=>{e.style.display="none"}))}),[g.current]);const E={className:"center",centerMode:!0,arrows:C,dots:L,infinite:x,centerPadding:"15%",draggable:!1,autoplay:O,slidesToShow:T[n],speed:$,autoplaySpeed:k,pauseOnHover:j,nextArrow:(0,i.jsx)(p,{className:"slick-arrow slick-prev",icon:d[_].right}),prevArrow:(0,i.jsx)(p,{className:"slick-arrow slick-next",icon:d[_].left})};return(0,i.jsx)(u.A,{...E,className:"b-blocks-image-compare-slider-wrapper",ref:g,children:f.map(((e,t)=>{const{beforeImg:u,afterImg:d,caption:p}=e,h={beforeLabelEl:v&&u.beforeLabel&&(0,i.jsx)("div",{className:`b-blocks-label b-blocks-before-label b-blocks-${o} ${"horizontal"===o?m:w}`,dangerouslySetInnerHTML:{__html:u.beforeLabel}}),afterLabelEl:v&&d.afterLabel&&(0,i.jsx)("div",{className:`b-blocks-label b-blocks-after-label b-blocks-${o} ${"horizontal"===o?m:w}`,dangerouslySetInnerHTML:{__html:d.afterLabel}}),captionEl:b&&p&&(0,i.jsx)("div",{className:"b-blocks-caption",dangerouslySetInnerHTML:{__html:p}}),orientation:o,options:s,dragg:a,label:l},g=`${n}-${u?.img?.url}-${d?.img?.url}-${f.length}-${JSON.stringify(S)}-${y}-${s.autoSlide.isMouseOver}`;return(0,i.jsx)(c,{...h,height:S[n],beforeImg:u.img,afterImg:d.img,onClick:()=>r(t)},g)}))})},h=({attributes:e,afterLabelEl:n,beforeLabelEl:r,captionEl:o,isBackend:s=!1,backDevice:a="desktop",activeIndex:l,setActiveIndex:u=()=>{}})=>{const{beforeImg:d,afterImg:p,orientation:h,styles:v,options:b,dragg:y,label:g,align:m,theme:w,slider:S,sliderOptions:O}=e,{device:$}=(()=>{const[e,n]=(0,t.useState)("desktop"),r=()=>{const e=window.innerWidth;n(e>1024?"desktop":e>640?"tablet":"mobile")};return(0,t.useEffect)((()=>(r(),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)})),[]),{device:e}})(),k=s?a:$,j=`${d?.url}-${p?.url}-${JSON.stringify(v.container.height)}-${m}-${b.autoSlide.isMouseOver}-${k}`;return(0,i.jsxs)(i.Fragment,{children:["default"===w&&(0,i.jsx)(c,{beforeLabelEl:r,afterLabelEl:n,captionEl:o,beforeImg:d,afterImg:p,orientation:h,options:b,dragg:y,label:g,device:k,height:v.container.height[k]},j),"slider"===w&&(0,i.jsx)(f,{attributes:e,device:k,activeIndex:l,setActiveIndex:u},`${S.length}-${JSON.stringify(O)}`)]})},v=e=>!(null==e||""===e||Array.isArray(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&""===e.trim()||"number"==typeof e&&0===e),b=e=>{const t=(e=>{try{const t=new URL(e);return["http:","https:"].includes(t.protocol)?t.toString():null}catch(t){return"string"==typeof e&&e.startsWith("/")&&!e.startsWith("//")?e:null}})(e);return t?`url('${t.replace(/['"()]/g,"")}')`:"none"},y=(e,t)=>v(t)?`${e}: ${t};`:"",g=(e,t=!0,n=!0,r=!0)=>{const{type:i="solid",color:s="",gradient:a=o,image:l={},position:c="center center",attachment:u="",repeat:d="no-repeat",size:p="",overlayColor:f=""}=e||{};return"gradient"===i&&n?y("background",a):"image"===i&&r?`background: ${b(l?.url)};\n\t\t\t\t${y("background-color",f)}\n\t\t\t\t${y("background-position",c)}\n\t\t\t\t${y("background-size",p)}\n\t\t\t\t${y("background-repeat",d)}\n\t\t\t\t${y("background-attachment",u)}\n\t\t\t\t${y("background-repeat",d)}\n\t\t\t\tbackground-blend-mode: overlay;`:t&&y("background",s)},m=e=>{const{width:t="",style:n="solid",color:r="",side:o="all",radius:i=""}=e||{},s=e=>{const t=o?.toLowerCase();return t?.includes("all")||t?.includes(e)},a=`${t} ${n} ${r}`,l=`\n\t\t${t&&0!==parseInt(t)?["top","right","bottom","left"].map((e=>s(e)?`border-${e}: ${a};`:"")).join(""):""}\n\t\t${y("border-radius",i)}\n\t`;return l},w=e=>{if(!e)return"";const t=e=>{const{color:t="#000000",style:n="solid",width:r="0px"}=e;return`${r} ${n} ${t}`};return"object"!=typeof e||Array.isArray(e)?"":e.hasOwnProperty("top")||e.hasOwnProperty("right")||e.hasOwnProperty("bottom")||e.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>e[n]?`border-${n}: ${t(e[n])};`:"")).join(" ").trim():y("border",t(e))},S=e=>{const{color:t="",bgType:n="solid",bg:r="",gradient:i=o}=e||{};return`\n\t\t${y("color",t)}\n\t\t${i||r?y("background","gradient"===n?i:r):""}\n\t`},O=e=>{const{side:t=2,vertical:n="0px",horizontal:r="0px",top:o="0px",right:i="0px",bottom:s="0px",left:a="0px"}=e||{};return 2===t?`${n} ${r}`:`${o} ${i} ${s} ${a}`},$=(e,t,n=!0)=>{const{fontFamily:r="Default",fontCategory:o="sans-serif",fontVariant:i=400,fontWeight:s,isUploadFont:a=!0,fontSize:l={desktop:null,tablet:null,mobile:null},fontStyle:c,textTransform:u,textDecoration:d,lineHeight:p,letterSpace:f}=t||{},h=!n||!r||"Default"===r,v=l?.desktop||l,b=l?.tablet||v,g=l?.mobile||b,m=e=>{const t=String(e);return["px","em","rem","%","vh","vw"].some((e=>t.endsWith(e)))?t:"number"==typeof e?`${t}px`:""},w=`\n\t\t${h?"":`font-family: '${r}', ${o};`}\n\t\t${y("font-weight",s)}\n\t\t${y("font-size",m(v))}\n\t\t${y("font-style",c)}\n\t\t${y("text-transform",u)}\n\t\t${y("text-decoration",d)}\n\t\t${y("line-height",p)}\n\t\t${y("letter-spacing",f)}\n\t`,S=i&&400!==i?"400i"===i?":ital@1":i?.includes("00i")?`: ital, wght@1, ${i?.replace("00i","00")} `:`: wght@${i} `:"",O=h?"":`https://fonts.googleapis.com/css2?family=${r?.split(" ").join("+")}${S.replace(/ /g,"")}&display=swap`;return{googleFontLink:!a||h?"":`@import url(${O});`,styles:`${e}{\n\t\t\t${w}\n\t\t}\n\t\t@media only screen and (max-width: 1024px) {\n\t\t\t${e}{\n\t\t\t\t${y("font-size",m(b))}\n\t\t\t}\n\t\t}\n\t\t@media only screen and (max-width: 640px) {\n\t\t\t${e}{\n\t\t\t\t${y("font-size",m(g))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},k=e=>{if(!e)return"";if("string"==typeof e)return e;if("object"==typeof e&&!Array.isArray(e)){const t=["top","right","bottom","left"];return t.map((t=>e[t]||"")).every((e=>!e))?"":t.map((t=>e[t]||"0")).join(" ")}return""},j=window.wp.i18n,x=((0,j.__)("Before Img","image-compare"),(0,j.__)("After Img","image-compare"),(0,j.__)("General","textdomain"),(0,j.__)("Style","textdomain"),["rectangle-caret","circle-caret","circle-big-caret","capsule-stroke","capsule-tiny-stroke-big","capsule-tiny-stroke-small"]),L=((0,j.__)("Style 1","b-blocks"),d.style1.right,(0,j.__)("Style 2","b-blocks"),d.style2.right,(0,j.__)("Style 3","b-blocks"),d.style3.right,(0,j.__)("Style 4","b-blocks"),d.style4.right,(0,j.__)("Style 5","b-blocks"),d.style5.right,(0,j.__)("Style 6","b-blocks"),d.style6.right,(0,j.__)("Navigation","textdomain"),(0,j.__)("Pagination","textdomain"),({attributes:e,id:t})=>{const{alignment:n,width:o,border:s,dragg:a,labelTypo:l,labelColors:c,labelPadding:u,capTypo:d,capColors:p,capPadding:f,styles:h,theme:b,sliderStyle:j}=e,{dragg:L}=h,{pagination:C,navigation:T}=j,{icon:_,container:E}=T,P=`#${t}`,M=`${P} .${r}`,z=`${M} .b-blocks-comparison-wrapper`,R=`${z} .b-blocks-label`,H=`${M} .b-blocks-caption`,D=`${z} .b-blocks-comparison-slider-handle`,I=`${P} .b-blocks-image-compare-slider-wrapper`,A=`${I} .slick-arrow`,W=`${I} .slick-dots`;return(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t${$("",l)?.googleFontLink}\n\t\t${$("",d)?.googleFontLink}\n\t\t${$(R,l)?.styles}\n\t\t${$(H,d)?.styles}\n\n\t\t${P}{\n\t\t\ttext-align: ${n};\n\t\t}\n\t\t${M}{\n\t\t\twidth: ${o};\n\t\t\t${m(s)}\n\t\t}\n\n\t\t${R}{\n\t\t\t${S(c)}\n\t\t\tpadding: ${O(u)};\n\t\t}\n\t\t${H}{\n\t\t\t${S(p)}\n\t\t\tpadding: ${O(f)};\n\t\t}\n\n\t\t${N=a.handleType,x.includes(N)?`${D} .b-blocks-${a.handleType}-icon{\n\t\t${y("border-color",L.handler.color)}\n\t\t${y("border-width",v(L.line.size)?L.line.size+"px":"")}\n\t\t\t}`:`${D} .b-blocks-${a.handleType}-icon{\n\t\t\t\t${y("background-color",L.handler.color)}\n\t\t\t\t${y("border-color",L.handler.color)}\n\t\t\t}`}\n\n\t\t${D} :where(svg){\n\t\t\t${y("color",L.icon.color)}\n\t\t\t${y("fill",L.icon.color)}\n\t\t}\n\t\t${D}::before{\n\t\t\tcontent:"";\n\t\t\t${y("width",v(L.line.size)?L.line.size+"px":"")}\n\t\t\t${g(L.line.bg)}\n\t\t}\n\t\t${D}::after{\n\t\t\tcontent:"";\n\t\t\t${y("width",v(L.line.size)?L.line.size+"px":"")}\n\t\t\t${g(L.line.bg)}\n\t\t}\n\t\t${"slider"===b?`\n\t\t\t\t${A}{\n\t\t\t\t\t${y("height",E.height)}\n\t\t\t\t\t${y("width",E.width)}\n\t\t\t\t\t${g(E.normal.bg)}\n\t\t\t\t\t${w(E.normal.border)}\n\t\t\t\t\t${y("border-radius",k(E.normal.radius))}\n\t\t\t\t}\n\n\t\t\t\t${A}:hover{\n\t\t\t\t\t${g(E.hover.bg)}\n\t\t\t\t\t${w(E.hover.border)}\n\t\t\t\t\t${y("border-radius",k(E.hover.radius))}\n\t\t\t\t}\n\n\t\t\t\t${A} > svg{\n\t\t\t\t\t${y("width",_.normal.size)}\n\t\t\t\t\t${y("fill",_.normal.color)}\n\t\t\t\t}\n\t\t\t\t${A}:hover svg{\n\t\t\t\t\t${y("fill",_.hover.color)}\n\t\t\t\t\t${y("width",_.hover.size)}\n\t\t\t\t}\n\t\t\t\t${W}>li>button::before{\n\t\t\t\t\t${y("background-color",C.active)}\n\t\t\t\t}\n\t\t\t\t${W}>li.slick-active>button::before{\n\t\t\t\t\t${y("background-color",C.active)}\n\t\t\t\t}\n\t\t\t\t`:""}\n\t\t`.replace(/\s+/g," ")}});var N});document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-image-comparison").forEach((t=>{const n=JSON.parse(t.dataset.attributes),{isLabel:r,label:o,beforeLabel:s,afterLabel:a,isCap:l,cap:c,orientation:u}=n,{hAlign:d,vAlign:p}=o,f=r&&s&&(0,i.jsx)("div",{className:`b-blocks-label b-blocks-before-label b-blocks-${u} ${"horizontal"===u?d:p}`,dangerouslySetInnerHTML:{__html:s}}),v=r&&a&&(0,i.jsx)("div",{className:`b-blocks-label b-blocks-after-label b-blocks-${u} ${"horizontal"===u?d:p}`,dangerouslySetInnerHTML:{__html:a}}),b=l&&c&&(0,i.jsx)("div",{className:"b-blocks-caption",dangerouslySetInnerHTML:{__html:c}});(0,e.createRoot)(t).render((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(L,{attributes:n,id:t.id}),(0,i.jsx)(h,{afterLabelEl:v,beforeLabelEl:f,captionEl:b,attributes:n})]})),t?.removeAttribute("data-attributes")}))}))})()})(); |