(()=>{"use strict";var e,t={302(){const e=(e=document)=>{(e instanceof HTMLElement||e instanceof Document)&&e.querySelectorAll(".calio-mc-pricing-table").forEach(e=>{(e=>{if(!(e instanceof HTMLElement))return;"function"==typeof e.__calioPricingDestroy&&e.__calioPricingDestroy();const t=[],n=(e,n,l,i)=>{e&&(e.addEventListener(n,l,i),t.push(()=>e.removeEventListener(n,l,i)))},l=e.querySelector(".calio-mc-pricing-toggle"),i=Array.from(e.querySelectorAll('.calio-mc-pricing-row[data-collapsible="yes"], .calio-mc-pricing-group-row[data-collapsible="yes"]')),a=e.querySelector(".calio-mc-pricing-billing-switcher"),o=Array.from(e.querySelectorAll('[data-billing="monthly"]')),r=Array.from(e.querySelectorAll('[data-billing="yearly"]')),c=Array.from(e.querySelectorAll(".calio-mc-pricing-cycle-label")),s=e.querySelector(".calio-mc-pricing-mobile-focus"),d=Array.from(e.querySelectorAll(".calio-mc-pricing-mobile-chip")),m=Array.from(e.querySelectorAll(".calio-mc-pricing-plan[data-plan-index]")),f=Array.from(e.querySelectorAll(".calio-mc-pricing-row-value[data-plan-index]"));let u=null,y=null;if(a&&o.length&&r.length){let t="yearly"===e.dataset.billingDefault?"yearly":"monthly";const l=a.querySelector(".calio-mc-pricing-billing-knob"),i=()=>{if(!(l instanceof HTMLElement))return;const e=a.querySelector(`.calio-mc-pricing-cycle-label[data-cycle="${t}"]`);if(!(e instanceof HTMLElement))return;const n=a.getBoundingClientRect(),i=e.getBoundingClientRect(),o=Math.max(0,Math.round(i.left-n.left)),r=Math.max(56,Math.round(i.width));a.style.setProperty("--calio-mc-knob-x",`${o}px`),a.style.setProperty("--calio-mc-knob-width",`${r}px`)},s=()=>{y&&window.cancelAnimationFrame(y),y=window.requestAnimationFrame(()=>{y=null,i()})},d=(e,t)=>{e.forEach(e=>{e instanceof HTMLElement&&(e.hidden=!1,e.classList.toggle("is-active",t),e.setAttribute("aria-hidden",t?"false":"true"))})},m=()=>{const n="yearly"===t;e.dataset.billing=t,a.setAttribute("aria-pressed",n?"true":"false"),d(o,!n),d(r,n),c.forEach(e=>{e instanceof HTMLElement&&e.classList.toggle("is-active",e.dataset.cycle===t)}),s()};m(),n(window,"resize",s),n(a,"click",()=>{a.classList.remove("is-switching"),a.offsetWidth,a.classList.add("is-switching"),u&&window.clearTimeout(u),u=window.setTimeout(()=>{a.classList.remove("is-switching")},360),t="monthly"===t?"yearly":"monthly",m()})}if(s instanceof HTMLElement&&d.length){let t=s.dataset.mobileDefault||d[0].dataset.planIndex||"0";const l=()=>{e.dataset.mobilePlan=t,d.forEach(e=>{if(!(e instanceof HTMLElement))return;const n=e.dataset.planIndex===t;e.classList.toggle("is-active",n),e.setAttribute("aria-pressed",n?"true":"false")}),m.forEach(e=>{e instanceof HTMLElement&&(e.dataset.mobileActive=e.dataset.planIndex===t?"true":"false")}),f.forEach(e=>{e instanceof HTMLElement&&(e.dataset.mobileActive=e.dataset.planIndex===t?"true":"false")})};l(),d.forEach(e=>{n(e,"click",()=>{t=e.dataset.planIndex||t,l()})})}if(l instanceof HTMLElement&&i.length>0){let e=!1;n(l,"click",()=>{e=!e,i.forEach(t=>{t instanceof HTMLElement&&(t.hidden=!e)}),l.textContent=e?l.dataset.lessText||"":l.dataset.moreText||""})}e.__calioPricingDestroy=()=>{u&&(window.clearTimeout(u),u=null),y&&(window.cancelAnimationFrame(y),y=null),t.forEach(e=>e()),e.__calioPricingDestroy=null}})(e)})};document.addEventListener("DOMContentLoaded",()=>{e(document)});let t=!1;const n=()=>!!t||!!window.elementorFrontend?.hooks&&(window.elementorFrontend.hooks.addAction("frontend/element_ready/calio-multicolumn-pricing-table.default",t=>{const n=t?.[0]||document;e(n)}),t=!0,!0);if(window.addEventListener("elementor/frontend/init",n),!n()){let e=0;const t=window.setInterval(()=>{e+=1,(n()||e>=40)&&window.clearInterval(t)},250)}}},n={};function l(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,l),a.exports}l.m=t,e=[],l.O=(t,n,i,a)=>{if(!n){var o=1/0;for(d=0;d<e.length;d++){for(var[n,i,a]=e[d],r=!0,c=0;c<n.length;c++)(!1&a||o>=a)&&Object.keys(l.O).every(e=>l.O[e](n[c]))?n.splice(c--,1):(r=!1,a<o&&(o=a));if(r){e.splice(d--,1);var s=i();void 0!==s&&(t=s)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[n,i,a]},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={7509:0,9225:0};l.O.j=t=>0===e[t];var t=(t,n)=>{var i,a,[o,r,c]=n,s=0;if(o.some(t=>0!==e[t])){for(i in r)l.o(r,i)&&(l.m[i]=r[i]);if(c)var d=c(l)}for(t&&t(n);s<o.length;s++)a=o[s],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return l.O(d)},n=globalThis.webpackChunkcalio_addon=globalThis.webpackChunkcalio_addon||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=l.O(void 0,[9225],()=>l(302));i=l.O(i)})();