{"version":3,"file":"WithContentOverride.DHIIdm0K.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/y3CIXIa3ovBJIq6mb4jf/I2nDZ8bblUyPmyrlawyp/WithContentOverride.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useState,useEffect}from\"react\";export function withContentOverride(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[name,setName]=useState(null);useEffect(()=>{const params=new URLSearchParams(window.location.search);const urlName=params.get(\"giver\");if(urlName){setName(urlName);}},[]);if(name){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,text:`Join ${name} and get an expert coach for $0 out-of-pocket`});}return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withContentOverride\":{\"type\":\"reactHoc\",\"name\":\"withContentOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithContentOverride.map"],"mappings":"8IAA4F,SAAgB,EAAoB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,KAAK,CAAiR,OAAhR,MAAc,CAA0D,IAAM,EAAlD,IAAI,gBAAgB,EAAO,SAAS,OAAO,CAAsB,IAAI,QAAQ,CAAI,GAAS,EAAQ,EAAQ,EAAI,EAAE,CAAC,CAAI,EAA0B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,KAAK,QAAQ,EAAK,+CAA+C,CAAC,CAAsB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,CAAC,EAAG,sBAAzf,IAAiD"}