{"version":3,"file":"ForceRandomClick.CZ8rKXLP.mjs","names":["useState","__legacyOverrideHOC_DataObserverContext","_jsx","__esmMin","init_npm_react_18_3_1","_e","oe","c","init_jsx_runtime","init_framer_BWFVvmND","DataObserverContext","ForceResetOnClick","clickCount","setClickCount","prev","withForceResetOnClick","C","props","init_ForceRandomClick"],"sources":["https:/framerusercontent.com/modules/gvDTTDLUK5jW05fWSuOY/vAEJ7MyaEOuKNpysXQHV/ForceRandomClick.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";export function ForceResetOnClick(){// Keeps a counter state that increments on click\nconst[clickCount,setClickCount]=useState(0);return{// This 'key' forces the child marketplace component to re-initialize completely\nkey:`random-key-${clickCount}`,onTap(){setClickCount(prev=>prev+1);}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withForceResetOnClick(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ForceResetOnClick(props)});};}withForceResetOnClick.displayName=\"ForceResetOnClick\";\nexport const __FramerMetadata__ = {\"exports\":{\"ForceResetOnClick\":{\"type\":\"override\",\"name\":\"ForceResetOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withForceResetOnClick\":{\"type\":\"reactHoc\",\"name\":\"withForceResetOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ForceRandomClick.map"],"mappings":"A,0KAAuE,SAAgBW,GAAmB,CAC1G,GAAK,CAACC,EAAWC,GAAeb,EAAS,CAAC,EAAE,MAAM,CAClD,IAAI,cAAcY,IAAa,OAAO,CAACC,EAAc,GAAMC,EAAK,CAAC,CAAE,CAAC,CAAE,CAAoJ,SAAgBC,EAAsB,EAAE,CAAC,MAAO,KAAQT,EAA+BL,CAAuC,EAASC,EAAKc,EAAE,CAAC,GAAGC,EAAM,GAAGN,EAAkBM,CAAK,CAAC,CAAC,EAAI,C,0CAAC,EAAsB,YAAY,mB"}