import{d as a}from"./vendor-pinia-BSPefQhS.js";const o=a("app_store",{state:()=>({appLoader:!0,isThankYouPage:!1,isMobile:!1,calcId:null,title:"",dateFormat:"",submissionLoader:!1,isLive:!1,isProActive:!1,isCustomThankYouPage:!1}),getters:{getDateFormat:e=>e.dateFormat,getCalcTitle:e=>e.title,getCalcId:e=>e.calcId,getAppLoader:e=>e.appLoader,getThankYoyPageStatus:e=>e.isThankYouPage,getIsMobile:e=>e.isMobile,getSubmissionLoader:e=>e.submissionLoader,getIsLive:e=>e.isLive,getProStatus:e=>e.isProActive},actions:{setSubmissionLoader(e){this.submissionLoader=e},setDateFormat(e){this.dateFormat=e},setCalcId(e){this.calcId=e},setCalcTitle(e){this.title=e},updateAppLoader(e){this.appLoader=e},updateThankYouPageStatus(e){!e&&this.isCustomThankYouPage||(this.isThankYouPage=e)},updateMobileStatus(e){this.isMobile=e},setCustomThankYouPage(e){this.isCustomThankYouPage=e,e&&(this.isThankYouPage=e)},checkIfLive(){const e=window.location.href,t=["stylemixthemes","stylemixstage"];this.isLive=t.some(s=>e.includes(s))&&!e.includes("/wp/")},setProStatus(e){this.isProActive=e}}});export{o as u};
//# sourceMappingURL=appStore-CFAkQG2b.js.map
