{"version":3,"file":"LeadStore.DDHCFzdc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/v8ehZ9vOl9zPRq81Oomz/ayAKEtB1fUbXKa3rr0dq/LeadStore.js"],"sourcesContent":["/**\n * Lead Store\n */import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{load,save,read,STORAGE_KEYS}from\"https://framerusercontent.com/modules/Q70GysxGEEGNZ5kgxFcP/VIbFh7kxwlP0GoXsCjfk/LocalStorage.js\";// ===== Store =====\nconst DEFAULT={provider:null,leadInfo:null};const KEY=STORAGE_KEYS.LEAD;export const useLeadStore=createStore(load(KEY,DEFAULT));// ===== Functions =====\nexport function saveProvider(provider){const current=read(KEY)||DEFAULT;save(KEY,{...current,provider});}export function saveLeadInfo(leadInfo){const current=read(KEY)||DEFAULT;save(KEY,{...current,leadInfo});}export function getProvider(){return read(KEY)?.provider||null;}export function getLeadInfo(){return read(KEY)?.leadInfo||null;}/**\n * MCP COMPATIBILITY FOOTER. DO NOT MODIFY.\n * FEROX SYSTEMS 2025\n *\n * The Framer MCP can only see files that export an override. This dummy\n * override makes this file visible and editable to the MCP.\n *\n * Does nothing; just returns the component unchanged.\n * @framerDisableUnlink\n */export function withMcp(Component){return Component;}\nexport const __FramerMetadata__ = {\"exports\":{\"withMcp\":{\"type\":\"reactHoc\",\"name\":\"withMcp\",\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"LeadStore\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getProvider\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Provider\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getLeadInfo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"saveLeadInfo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useLeadStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"saveProvider\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wLAIA,SAAgB,EAAa,EAAS,CAAkC,EAAK,EAAI,CAAC,GAA7B,EAAK,EAAI,EAAE,EAA6B,WAAS,CAAC,CAAE,SAAgB,EAAa,EAAS,CAAkC,EAAK,EAAI,CAAC,GAA7B,EAAK,EAAI,EAAE,EAA6B,WAAS,CAAC,CAAE,SAAgB,GAAa,CAAC,OAAO,EAAK,EAAI,EAAE,UAAU,KAAM,SAAgB,GAAa,CAAC,OAAO,EAAK,EAAI,EAAE,UAAU,0BAFpQ,IAAyI,CAC3M,EAAQ,CAAC,SAAS,KAAK,SAAS,KAAK,CAAO,EAAI,EAAa,KAA+B,EAAY,EAAK,EAAI,EAAQ,CAAC"}