{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/9QedpdYSu7QbYhg4JR9x/NYsAL75nR8gUkEbOvRXr/Overrides.js"],
  "sourcesContent": ["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Animatable } from \"framer\"; // Set the initial value to 0\nlet currentValue = 0; // Create an Animatable object to store the current value\nconst counter = Animatable(0); // Function to update the counter value and trigger animation\nfunction updateCounter(value) {\n  counter.set(value);\n} // Override to trigger the updateCounter function when applied\nconst NumberCounter = () => {\n  return {\n    text: counter\n  };\n}; // Export the overrides directly\nexport const counterModule = {\n  NumberCounter,\n  updateCounter\n}; // Example of using the updateCounter function within the same file\nupdateCounter(40);\nimport { useContext as __legacyOverrideHOC_useContext } from \"react\";\nimport { DataObserverContext as __legacyOverrideHOC_DataObserverContext } from \"framer\";\nexport function withNumberCounter(C) {\n  return props => {\n    __legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);\n    return _jsx(C, {\n      ...props,\n      ...NumberCounter(props)\n    });\n  };\n}\nwithNumberCounter.displayName = \"NumberCounter\";\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"withNumberCounter\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withNumberCounter\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"counterModule\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Overrides.map"],
  "mappings": "gGAGA,IAAMA,EAAUC,EAAW,CAAC,EAC5B,SAASC,EAAcC,EAAO,CAC5BH,EAAQ,IAAIG,CAAK,CACnB,CACA,IAAMC,EAAgB,KACb,CACL,KAAMJ,CACR,GAMFK,EAAc,EAAE,EAGT,SAASC,EAAkBC,EAAG,CACnC,OAAOC,IACLC,EAA+BC,CAAuC,EAC/DC,EAAKJ,EAAG,CACb,GAAGC,EACH,GAAGI,EAAcJ,CAAK,CACxB,CAAC,EAEL,CACAF,EAAkB,YAAc",
  "names": ["counter", "Animatable", "updateCounter", "value", "NumberCounter", "updateCounter", "withNumberCounter", "C", "props", "re", "DataObserverContext", "p", "NumberCounter"]
}
