import{c as e}from"./p-59c95c5f.js";import{g as a}from"./p-c9699503.js";const o={env:"live",url:"https://theflood.team",dade:{apiKey:"668112a786ef9e357d5dbb53993afa62",url:"https://lockbox.dadesystems.com/api/billers/670"},functions:{url:"https://us-central1-the-flood-team.cloudfunctions.net"},firebase:{apiKey:"AIzaSyCMZzl6TZViOFx3G3Wz7omxL56e_WnMAzQ",authDomain:"the-flood-team.firebaseapp.com",projectId:"the-flood-team",storageBucket:"the-flood-team.appspot.com",messagingSenderId:"1065444417180",appId:"1:1065444417180:web:cd5fd2a1a6b15cf2f0d759",measurementId:"G-8J4NCLDTBN"},graphql:{url:"https://theflood.team/graphql"},logrocketKey:"mfh3ua/flood-team-app",stripe:{key:"pk_live_r5b0hheVLZcWxxyUS0cNkTlC",clientId:"ca_DRtszUtwgrKfRt9XkV5ArzRJYKLJV39m"},dynamicLinkDomain:"floodteam.page.link",franchise:{stripe:{key:"pk_live_B1NjOFNTbjMmRcPd6AeLrnDG00wukem0hk",clientId:"ca_H3DErpg90RI5wuL2mZU3AMjp1DumT2k0"},dade:{apiKey:"a4f3f7e624de9fded4af23a40b3f0ba4",url:"https://lockbox.dadesystems.com/api/billers/966"}}};function t(e,a){const t=!e?o:e&&e.indexOf(".")>=0?e.split(".").reduce(((e,a)=>e&&e[a]||null),o):e&&typeof o[e]!=="undefined"?o[e]:null;return a&&(!t&&t!==false&&t!==0||typeof t==="undefined"||t===null)?a:t}async function s(e,a){try{localStorage.setItem(e,JSON.stringify(a))}catch(e){console.log("Error setting data from cache with localStorage",e)}return a}const{state:i,onChange:l}=e({manifest:{},config:t(),version:"1.1.0",locations:a("floodteam:locations",[]),profile:a("floodteam:profile",{}),session:null,services:a("floodteam:services",[]),templates:a("floodteam:templates",[]),isOnline:false,claims:{},myJobs:a("floodteam:templates",[]),job:null,site:null,pins:a("floodteam:pins",[]),feed:a("floodteam:feed",[]),editorSizes:[50,50],isPreviewing:false,showingNaviation:false,roles:["homeowner","franchisee","mitigation","vision","design","tech","finance","operations","success","marketing","agent","adjuster","referral","vendor","business"]});l("editorSizes",(async e=>{await s("floodteam:editorSizes",e)}));l("isPreviewing",(async e=>{await s("floodteam:isPreviewing",e)}));l("feed",(async e=>{await s("floodteam:feed",e)}));l("pins",(async e=>{await s("floodteam:pins",e)}));l("job",(async e=>{await s("floodteam:job",e)}));l("myJobs",(async e=>{await s("floodteam:myjobs",e)}));l("claims",(async e=>{await s("floodteam:claims",e)}));l("profile",(async e=>{await s("floodteam:profile",e)}));l("site",(async e=>{await s("floodteam:site",e)}));l("services",(async e=>{await s("floodteam:services",e)}));l("locations",(async e=>{await s("floodteam:locations",e)}));l("templates",(async e=>{await s("floodteam:templates",e)}));export{t as e,i as s};
//# sourceMappingURL=p-46225039.js.map