{"version":3,"file":"formatMoney.CU8uCsyy.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mExCm5r1EgH2vT7VdxEb/Ss2ejiiGcOUyVUYSUMYU/formatMoney.js"],"sourcesContent":["/**\n * FILE: formatMoney.ts\n * LOCATION: framer/api/formatMoney.ts\n * LAYER: Utility (Formatting)\n *\n * RESPONSIBILITY:\n * - Format monetary values for display\n * - Normalize currency presentation\n *\n * DOES NOT:\n * - Fetch pricing data\n * - Perform currency conversion logic\n * - Store state\n *\n * AUTHORITY:\n * - Pure formatting utility (no backend dependency)\n */export function formatMoney(amount,currency=\"CAD\"){if(amount==null||amount===\"\")return\"\";const value=typeof amount===\"string\"?parseFloat(amount):amount;if(isNaN(value))return\"\";return new Intl.NumberFormat(\"en-CA\",{style:\"currency\",currency}).format(value);}\nexport const __FramerMetadata__ = {\"exports\":{\"formatMoney\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./formatMoney.map"],"mappings":"oDAgBG,SAAgB,EAAY,EAAO,EAAS,MAAM,CAAC,GAAG,GAAQ,MAAM,IAAS,GAAG,MAAM,GAAG,IAAM,EAAM,OAAO,GAAS,SAAS,WAAW,CAAM,EAAE,EAAgC,OAAtB,MAAM,CAAK,EAAQ,GAAU,IAAI,KAAK,aAAa,QAAQ,CAAC,MAAM,WAAW,UAAQ,CAAC,CAAC,CAAC,OAAO,CAAK,CAAE"}