{"version":3,"file":"FormEmbed.qlAD5LPL.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/9apLhqSDiBSX27skenxJ/lNp4KXdoTbf0mupEKW6Y/FormEmbed.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,forwardRef}from\"react\";export function withLoadLeadConnectorScript(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{// Create script element\nconst script=document.createElement(\"script\");script.src=\"https://link.msgsndr.com/js/form_embed.js\";script.async=true;// Append script to document body\ndocument.body.appendChild(script);// Cleanup script on unmount\nreturn()=>{document.body.removeChild(script);};},[]);// Render your existing embed element as-is\nreturn /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withwithLoadLeadConnectorScript(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withLoadLeadConnectorScript(props)});};}withwithLoadLeadConnectorScript.displayName=\"withLoadLeadConnectorScript\";\nexport const __FramerMetadata__ = {\"exports\":{\"withLoadLeadConnectorScript\":{\"type\":\"override\",\"name\":\"withLoadLeadConnectorScript\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithLoadLeadConnectorScript\":{\"type\":\"reactHoc\",\"name\":\"withwithLoadLeadConnectorScript\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormEmbed.map"],"mappings":"4KAAmF,SAAgB,EAA4B,EAAU,CAAC,OAAoB,GAAY,EAAM,KAAO,MAAc,CACrM,IAAM,EAAO,SAAS,cAAc,SAAS,CAE7C,MAF8C,GAAO,IAAI,4CAA4C,EAAO,MAAM,GAClH,SAAS,KAAK,YAAY,EAAO,KACvB,CAAC,SAAS,KAAK,YAAY,EAAO,GAAK,EAAE,CAAC,CAChC,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,CAAC,EAAG,CAAqJ,SAAgB,EAAgC,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAA4B,EAAM,CAAC,CAAC,mBAJ5W,IAAwC,IAI2H,CAA6M,EAAgC,YAAY"}