(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.apiFetch;var r=e.n(t);function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var o=window.eb_frontend,a=o.generateArrowHTML,i=o.loadSvgIcons,s=!!EssentialBlocksLocalize&&EssentialBlocksLocalize.rest_rootURL;r().use(r().createRootURLMiddleware(s)),window.addEventListener("DOMContentLoaded",function(e){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw i}}}}(document.getElementsByClassName("eb-post-carousel-wrapper"));try{var o=function(){var e=t.value,r=e.dataset,n=null==r?void 0:r.id,o=JSON.parse(r.slidersettings),s=JSON.parse(r.attributes),l=o.arrows,u=o.autoplay,d=o.dots,c=o.infinite,f=o.pauseOnHover,p=o.slideToShowRange,v=o.MOBslideToShowRange,w=o.TABslideToShowRange,y=o.autoplaySpeed,h=o.speed,m=(o.isRTLEnable,"rtl"===document.documentElement.dir);jQuery(".init-"+n).slick({arrows:l,autoplay:u,dots:d,infinite:c,pauseOnHover:f,slidesToShow:p,autoplaySpeed:y,speed:h,rtl:m,prevArrow:a(s.leftArrowIcon,"prev"),nextArrow:a(s.rightArrowIcon,"next"),responsive:[{breakpoint:1024,settings:{slidesToShow:w}},{breakpoint:767,settings:{slidesToShow:v}}]}),setTimeout(function(){i(e)},100)};for(r.s();!(t=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}})})();