{"version":3,"file":"HubspotFormCtaBase.CEZAngPf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gN8dAHawNHx0hG9VfF2N/brfUMqCqFgaXUgFrHe4E/HubspotFormCtaBase.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType,addPropertyControls}from\"framer\";import{useEffect}from\"react\";export default function HubspotFormCtaBase(props){useEffect(()=>{const id=props.formIdValue;const script=document.createElement(\"script\");script.src=\"https://js.hsforms.net/forms/v2.js\";document.body.appendChild(script);script.addEventListener(\"load\",()=>{if(window.hbspt){window.hbspt.forms.create({portalId:\"21906989\",formId:id,target:\"#ctaformhere\",css:\" \",cssClass:\"form-cta\",submitButtonClass:\"form-cta-button\"});}});},[props.formIdValue]);return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,id:\"ctaformhere\"});}const containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"visible\"};addPropertyControls(HubspotFormCtaBase,{formIdValue:{type:ControlType.String,title:\"formID\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubspotFormCtaBase\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HubspotFormCtaBase.map"],"mappings":"yLAA4H,SAAwB,EAAmB,EAAM,CAA4Y,OAA3Y,MAAc,CAAC,IAAM,EAAG,EAAM,YAAkB,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,qCAAqC,SAAS,KAAK,YAAY,EAAO,CAAC,EAAO,iBAAiB,WAAW,CAAI,EAAO,OAAO,EAAO,MAAM,MAAM,OAAO,CAAC,SAAS,WAAW,OAAO,EAAG,OAAO,eAAe,IAAI,IAAI,SAAS,WAAW,kBAAkB,kBAAkB,CAAC,EAAI,EAAG,CAAC,EAAM,YAAY,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,EAAe,GAAG,cAAc,CAAC,wBAArlB,IAAoD,IAA6B,CAA4gB,EAAe,CAAC,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,UAAU,CAAC,EAAoB,EAAmB,CAAC,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,CAAC,CAAC"}