(()=>{"use strict";var e,t={779(){const e=(e,t=0)=>{const o=Number.parseInt(String(e),10);return Number.isFinite(o)?o:t},t=e=>"yes"===e||!0===e||"true"===e||"1"===e,o=()=>"function"==typeof window.Swiper?window.Swiper:"function"==typeof window.Swiper?.default?window.Swiper.default:null,a=(e,o)=>{const a=t(e.dataset.highlightActive);if(o.slides.forEach(e=>e.classList.remove("is-active-slide")),!a)return;const r=o.slides?.[o.activeIndex];r&&r.classList.add("is-active-slide")},r=e=>{e&&!e.destroyed&&(e.update(),e.navigation?.update?.(),e.pagination?.render?.(),e.pagination?.update?.(),e.scrollbar?.updateSize?.())},n=(n=document)=>{(n=>{n.querySelectorAll(".calio-woo-slider").forEach(n=>{const i=n.querySelector(".calio-woo-slider-swiper"),s=o();if(!i||!s)return;n.__calioWooSlider&&"function"==typeof n.__calioWooSlider.destroy&&(n.__calioWooSlider.destroy(!0,!0),n.__calioWooSlider=null);const l=Math.max(0,e(n.dataset.spaceBetween,24)),d=Math.max(1,e(n.dataset.slidesDesktop,4)),c=Math.max(1,e(n.dataset.slidesTablet,2)),u=Math.max(1,e(n.dataset.slidesMobile,1)),w=Math.max(1,e(n.dataset.slidesScroll,1)),p=Math.max(100,e(n.dataset.transitionSpeed,600)),v=Math.max(1e3,e(n.dataset.autoplaySpeed,3500)),m=t(n.dataset.showArrows),h=t(n.dataset.showDots),f=t(n.dataset.showScrollbar),b=t(n.dataset.autoplay),S=t(n.dataset.pauseOnHover),y=t(n.dataset.pauseOnInteraction),g=t(n.dataset.loop),O=t(n.dataset.grabCursor),x=t(n.dataset.centeredSlides),E=m?n.querySelector(".calio-woo-slider-arrow.is-prev"):null,M=m?n.querySelector(".calio-woo-slider-arrow.is-next"):null,_=h?n.querySelector(".calio-woo-slider-pagination"):null,k=f?n.querySelector(".calio-woo-slider-scrollbar"):null,P=new s(i,{observer:!0,observeParents:!0,watchOverflow:!0,loop:g,speed:p,grabCursor:O,centeredSlides:x,spaceBetween:l,slidesPerView:d,slidesPerGroup:w,autoplay:!!b&&{delay:v,disableOnInteraction:y,pauseOnMouseEnter:S},navigation:!(!E||!M)&&{prevEl:E,nextEl:M},pagination:!!_&&{el:_,clickable:!0},scrollbar:!!k&&{el:k,draggable:!0},breakpoints:{0:{slidesPerView:u,slidesPerGroup:1},768:{slidesPerView:c,slidesPerGroup:Math.min(w,c)},1025:{slidesPerView:d,slidesPerGroup:Math.min(w,d)}},on:{init(e){a(n,e),window.requestAnimationFrame(()=>r(e))},slideChange(e){a(n,e)},resize(e){a(n,e)}}});a(n,P),((e,t)=>{e.querySelectorAll("img").forEach(e=>{e.complete||(e.addEventListener("load",()=>r(t),{once:!0}),e.addEventListener("error",()=>r(t),{once:!0}))})})(n,P),window.setTimeout(()=>r(P),120),window.setTimeout(()=>r(P),600),n.__calioWooSlider=P})})(n instanceof HTMLElement||n instanceof Document?n:document)},i=(e=document)=>{const t=()=>n(e);"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t,{once:!0}):t();let a=0;const r=window.setInterval(()=>{a+=1,n(e),(o()||a>=20)&&window.clearInterval(r)},250);window.addEventListener("load",t,{once:!0})};i(document);let s=!1;const l=()=>!!s||!!window.elementorFrontend?.hooks&&(window.elementorFrontend.hooks.addAction("frontend/element_ready/calio-woocommerce-slider.default",e=>{const t=e?.[0]||document;i(t)}),s=!0,!0);if(window.addEventListener("elementor/frontend/init",l),!l()){let e=0;const t=window.setInterval(()=>{e+=1,(l()||e>=40)&&window.clearInterval(t)},250)}}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,a),n.exports}a.m=t,e=[],a.O=(t,o,r,n)=>{if(!o){var i=1/0;for(c=0;c<e.length;c++){for(var[o,r,n]=e[c],s=!0,l=0;l<o.length;l++)(!1&n||i>=n)&&Object.keys(a.O).every(e=>a.O[e](o[l]))?o.splice(l--,1):(s=!1,n<i&&(i=n));if(s){e.splice(c--,1);var d=r();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,r,n]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={4090:0,5198:0};a.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[i,s,l]=o,d=0;if(i.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var c=l(a)}for(t&&t(o);d<i.length;d++)n=i[d],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(c)},o=globalThis.webpackChunkcalio_addon=globalThis.webpackChunkcalio_addon||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var r=a.O(void 0,[5198],()=>a(779));r=a.O(r)})();