{"version":3,"file":"CalcStore.BtMSDIwS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/w0F4YxuFb1ebk0OW8AIq/teVE2bZqLM74DLc9qPge/CalcStore.js"],"sourcesContent":["/**\n * Calculator 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={inputs:null,results:null};const KEY=STORAGE_KEYS.CALCULATOR;export const useCalculatorStore=createStore(load(KEY,DEFAULT));// ===== Functions =====\nexport function saveCalculator(data){save(KEY,data);}export function getCalculatorResults(){return read(KEY)?.results||null;}export function getCalculatorInputs(){return read(KEY)?.inputs||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\":{\"saveCalculator\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCalculatorStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CalculatorStore\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCalculatorResults\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMcp\":{\"type\":\"reactHoc\",\"name\":\"withMcp\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"getCalculatorInputs\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wLAIA,SAAgB,EAAe,EAAK,CAAC,EAAK,EAAI,EAAK,CAAE,SAAgB,GAAsB,CAAC,OAAO,EAAK,EAAI,EAAE,SAAS,KAAM,SAAgB,GAAqB,CAAC,OAAO,EAAK,EAAI,EAAE,QAAQ,4BAFrH,IAAyI,CAC3M,EAAQ,CAAC,OAAO,KAAK,QAAQ,KAAK,CAAO,EAAI,EAAa,WAAwB,EAAmB,EAAY,EAAK,EAAI,EAAQ,CAAC"}