{"version":3,"file":"Form_with_Flex.DuAT-R6i.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/NbAGNwUyT9OZlDupnYAT/QaaVGdlYl2p1wAShcGrW/Form_with_Flex.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useCallback,useRef,useEffect}from\"react\";const fontStack='\"PP Neue Montreal Book Regular\", \"PP Neue Montreal Book\", \"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"';const labelStyles={position:\"absolute\",transform:\"translateX(-9999px)\"};const textStyles={fontFamily:fontStack};const inputContainerStyles={display:\"inline-block\",width:\"100%\",padding:\"0\",boxSizing:\"border-box\"};const inputStyles={display:\"inline-block\",width:\"100%\",lineHeight:\"1.4em\",outline:\"none\",border:\"none\",borderRadius:\"56px\",fontWeight:\"400\",fontSize:\"16px\",background:\"rgb(255, 255, 255)\",color:\"rgb(0, 0, 0)\",boxShadow:\"inset 0 0 0 0px transparent\"};const submitStyles={fontFamily:fontStack,appearance:\"none\",display:\"block\",width:\"100%\",lineHeight:\"1.4em\",outline:\"none\",border:\"none\",borderRadius:\"56px\",padding:\"24px\",fontWeight:\"600\",fontSize:\"16px\",background:\"rgb(10, 221, 248)\",cursor:\"pointer\",color:\"rgb(1, 16, 18)\",zIndex:\"1\",opacity:\"1\"};const formStyles={position:\"relative\",display:\"flex\",flexWrap:\"wrap\",gap:\"16px\",width:\"100%\"};const messageTextStyle={fontSize:\"1.5rem\",fontFamily:fontStack,padding:\"0 50px\",textAlign:\"left\"};const messageStyles={position:\"absolute\",top:\"0\",backgroundColor:\"rgb(230, 252, 254)\",borderRadius:\"16px\",opacity:\"1\",width:\"100%\",padding:\"0.5rem\",height:\"100%\",zIndex:10,display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\"};const spinnerStyle={height:\"50%\",margin:\"auto\"};function getCookieValue(name){const regex=new RegExp(`(^| )${name}=([^;]+)`);const match=document.cookie.match(regex);return match?match[2]:null;}const Dropdown=({id,label,options,required,fullWidth,padding,value,onChange,error})=>{const appliedStyles={...inputStyles,width:fullWidth?\"100%\":\"calc(50% - 8px)\",padding:padding,paddingRight:\"40px\",backgroundImage:'url(\\'data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"7\"><path d=\"M0 0l5 7 5-7z\" fill=\"%23000\"/></svg>\\')',backgroundRepeat:\"no-repeat\",backgroundPosition:\"right 16px center\",backgroundSize:\"10px 7px\",appearance:\"none\",color:value===\"\"?\"#999\":\"#000\",fontFamily:fontStack,fontSize:\"16px\",lineHeight:\"1.4em\",border:error?\"1px solid red\":\"none\"};const placeholderOptionStyle={color:\"#999\",fontFamily:fontStack,fontSize:\"16px\",lineHeight:\"1.4em\"};return /*#__PURE__*/_jsxs(\"div\",{style:inputContainerStyles,children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:id,style:labelStyles,children:label}),/*#__PURE__*/_jsxs(\"select\",{style:appliedStyles,id:id,name:id,required:required,onChange:onChange,value:value,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",disabled:true,style:placeholderOptionStyle,children:required?`${label} *`:label}),options.map((option,index)=>/*#__PURE__*/_jsx(\"option\",{value:option.value,style:{color:\"#000\",fontFamily:fontStack,fontSize:\"16px\",lineHeight:\"1.4em\"},children:option.label},index))]}),error&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"red\",fontSize:\"12px\"},children:error})]});};const personalEmailDomains=[\"gmail.com\",\"yahoo.com\",\"hotmail.com\",\"outlook.com\",\"aol.com\",\"icloud.com\",\"mail.com\",\"gmx.com\",\"protonmail.com\",\"live.com\"];const Input=({id,fieldType,label,required,description,validation,fullWidth,padding,link,allowPersonalEmails,value,onChange,error})=>{return /*#__PURE__*/_jsxs(_Fragment,{children:[description&&/*#__PURE__*/_jsx(\"p\",{style:textStyles,children:description}),/*#__PURE__*/_jsxs(\"div\",{style:{...inputContainerStyles,width:fullWidth?\"100%\":\"calc(50% - 8px)\"},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:id,style:labelStyles,children:label}),fieldType===\"message\"?/*#__PURE__*/_jsx(\"textarea\",{id:id,name:id,placeholder:required?`${label} *`:label,onChange:onChange,value:value,required:required,style:{...inputStyles,height:\"150px\",resize:\"vertical\",padding:padding,borderRadius:\"16px\",fontWeight:\"400\",fontSize:\"16px\",background:\"rgb(255, 255, 255)\",color:\"rgb(0, 0, 0)\",boxShadow:\"inset 0 0 0 0px transparent\",fontFamily:fontStack,border:error?\"1px solid red\":\"none\"}}):fieldType===\"checkbox\"||fieldType===\"tandc\"?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",id:id,name:id,checked:fieldType===\"checkbox\"?value:undefined,onChange:onChange,required:fieldType===\"tandc\"&&required,style:{marginRight:\"8px\",width:\"20px\",height:\"20px\"}}),fieldType===\"tandc\"&&link?/*#__PURE__*/_jsxs(\"label\",{htmlFor:id,style:{fontFamily:fontStack,fontSize:\"16px\"},children:[\"I agree to the\",\" \",/*#__PURE__*/_jsx(\"a\",{href:link,target:\"_blank\",rel:\"noopener noreferrer\",children:\"Terms and Conditions\"}),required?\" *\":\"\"]}):label&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:id,style:{fontFamily:fontStack,fontSize:\"16px\"},children:[label,\" \",required&&\"*\"]})]}):/*#__PURE__*/_jsx(\"input\",{type:fieldType===\"email\"?\"email\":fieldType===\"phone\"?\"tel\":\"text\",id:id,name:id,placeholder:required?`${label} *`:label,onChange:onChange,value:value,required:required,style:{...inputStyles,padding:padding,borderRadius:\"56px\",fontWeight:\"400\",fontSize:\"16px\",background:\"rgb(255, 255, 255)\",color:\"rgb(0, 0, 0)\",boxShadow:\"inset 0 0 0 0px transparent\",fontFamily:fontStack,border:error?\"1px solid red\":\"none\"}}),error&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"red\",fontSize:\"12px\"},children:error})]})]});};export default function CustomForm({formId,fields,successMessage,errorMessage,isHubSpot,hubspotFormID,hubspotPortalID,padding,submitText,allowPersonalEmails,redirectURL}){const[msg,setMessage]=useState(\"\");const[isSubmitting,setSubmitting]=useState(false);const[formKey,setFormKey]=useState(Date.now());const timerRef=useRef(null);const[errors,setErrors]=useState({});const[formValues,setFormValues]=useState({});const hubspotURL=`https://api.hsforms.com/submissions/v3/integration/submit/${hubspotPortalID}/${hubspotFormID}`;const handleChange=(e,field)=>{const{id,type}=field;let value=e.target.value;if(field.fieldType===\"checkbox\"||field.fieldType===\"tandc\"){value=e.target.checked;}setFormValues(prev=>({...prev,[id]:value}));// Inline validation\nlet error=\"\";if(field.required){if((field.fieldType===\"checkbox\"||field.fieldType===\"tandc\")&&!value){error=\"This field is required.\";}else if(!(field.fieldType===\"checkbox\"||field.fieldType===\"tandc\")&&value.trim()===\"\"){error=\"This field is required.\";}}if(field.fieldType===\"email\"&&value){const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailRegex.test(value)){error=\"Invalid email format.\";}else if(!allowPersonalEmails){var _value_split_;const domain=(_value_split_=value.split(\"@\")[1])===null||_value_split_===void 0?void 0:_value_split_.toLowerCase();if(personalEmailDomains.includes(domain)){error=\"Personal email domains are not allowed. Please use a business email.\";}}}setErrors(prev=>({...prev,[id]:error}));};const handleForm=useCallback(async e=>{e.preventDefault();if(isSubmitting)return;setSubmitting(true);let hasError=false;const tempErrors={};fields.forEach(field=>{const{id,fieldType,required}=field;const value=formValues[id];if(required){if((fieldType===\"checkbox\"||fieldType===\"tandc\")&&!value){tempErrors[id]=\"This field is required.\";hasError=true;return;}else if(!(fieldType===\"checkbox\"||fieldType===\"tandc\")&&(!value||value.trim()===\"\")){tempErrors[id]=\"This field is required.\";hasError=true;return;}}if(fieldType===\"email\"&&value){const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailRegex.test(value)){tempErrors[id]=\"Invalid email format.\";hasError=true;}else if(!allowPersonalEmails){var _value_split_;const domain=(_value_split_=value.split(\"@\")[1])===null||_value_split_===void 0?void 0:_value_split_.toLowerCase();if(personalEmailDomains.includes(domain)){tempErrors[id]=\"Personal email domains are not allowed. Please use a business email.\";hasError=true;}}}});setErrors(tempErrors);if(hasError){setMessage(errorMessage);setSubmitting(false);return;}if(isHubSpot){const hubSpotFields=fields.map(field=>({name:field.id,value:field.fieldType===\"checkbox\"||field.fieldType===\"tandc\"?formValues[field.id]?\"true\":\"false\":formValues[field.id]}));const hubSpotPayload={fields:hubSpotFields,context:{hutk:getCookieValue(\"hubspotutk\"),pageUri:window.location.href,pageName:document.title}};try{const response=await fetch(hubspotURL,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(hubSpotPayload)});if(response.ok){setMessage(successMessage);timerRef.current=setTimeout(()=>{if(redirectURL){window.location.href=redirectURL;}else{setMessage(\"\");setFormKey(Date.now());setFormValues({});setErrors({});}},3e3);}else{throw new Error(errorMessage);}}catch(error){console.error(error);setMessage(errorMessage);}}else{setMessage(successMessage);timerRef.current=setTimeout(()=>{if(redirectURL){window.location.href=redirectURL;}else{setMessage(\"\");setFormKey(Date.now());setFormValues({});setErrors({});}},3e3);}setSubmitting(false);},[fields,isHubSpot,allowPersonalEmails,hubspotURL,successMessage,errorMessage,redirectURL,isSubmitting,formValues]);useEffect(()=>{return()=>{if(timerRef.current){clearTimeout(timerRef.current);}};},[]);const submitButtonStyles={...submitStyles};return /*#__PURE__*/_jsxs(\"form\",{id:formId,style:formStyles,onSubmit:handleForm,noValidate:true,children:[msg&&/*#__PURE__*/_jsx(\"div\",{style:messageStyles,children:/*#__PURE__*/_jsx(\"p\",{style:messageTextStyle,children:msg})}),!isSubmitting?/*#__PURE__*/_jsxs(_Fragment,{children:[fields.map((field,index)=>{const fullWidth=field.fullWidth!==false;const fieldError=errors[field.id];if(field.fieldType===\"dropdown\"){return /*#__PURE__*/_jsx(Dropdown,{id:field.id,label:field.label,options:field.options,required:field.required,fullWidth:fullWidth,padding:padding,value:formValues[field.id]||\"\",onChange:e=>handleChange(e,field),error:fieldError},index);}else{return /*#__PURE__*/_jsx(Input,{id:field.id,fieldType:field.fieldType,label:field.label,required:field.required,description:field.description,validation:field.validation,fullWidth:fullWidth,padding:padding,link:field.link,allowPersonalEmails:allowPersonalEmails,value:field.fieldType===\"checkbox\"||field.fieldType===\"tandc\"?formValues[field.id]||false:formValues[field.id]||\"\",onChange:e=>handleChange(e,field),error:fieldError},index);}}),/*#__PURE__*/_jsx(\"input\",{style:submitButtonStyles,type:\"submit\",value:submitText,disabled:Object.values(errors).some(error=>error!==\"\")||isSubmitting})]}):/*#__PURE__*/_jsx(Loading,{})]},formKey);}function Loading(){return /*#__PURE__*/_jsx(\"div\",{style:spinnerStyle,children:\"Loading...\"});}addPropertyControls(CustomForm,{fields:{title:\"Form Fields\",type:ControlType.Array,control:{type:ControlType.Object,controls:{label:{title:\"Label\",type:ControlType.String},id:{title:\"Field ID\",type:ControlType.String},fieldType:{title:\"Field Type\",type:ControlType.Enum,options:[\"text\",\"email\",\"phone\",\"checkbox\",\"tandc\",\"dropdown\",\"message\"],optionTitles:[\"Text\",\"Email\",\"Phone\",\"Checkbox\",\"Terms and Conditions\",\"Dropdown\",\"Message\"]},required:{title:\"Required\",type:ControlType.Boolean},fullWidth:{title:\"Full Width\",type:ControlType.Boolean},validation:{title:\"Validation\",type:ControlType.Boolean,hidden:({fieldType})=>fieldType!==\"text\"&&fieldType!==\"email\"&&fieldType!==\"phone\"},description:{title:\"Description\",type:ControlType.String,hidden:({fieldType})=>fieldType!==\"text\"&&fieldType!==\"tandc\"&&fieldType!==\"email\"&&fieldType!==\"message\"&&fieldType!==\"phone\"},link:{title:\"Link\",type:ControlType.String,hidden:({fieldType})=>fieldType!==\"tandc\"},options:{title:\"Dropdown Options\",type:ControlType.Array,control:{type:ControlType.Object,controls:{value:{title:\"Value\",type:ControlType.String},label:{title:\"Label\",type:ControlType.String}}},hidden:({fieldType})=>fieldType!==\"dropdown\"}}}},successMessage:{title:\"Success Message\",type:ControlType.String,defaultValue:\"Thank you! Your submission has been received!\"},errorMessage:{title:\"Error Message\",type:ControlType.String,defaultValue:\"Oops! Something went wrong while submitting the form.\"},isHubSpot:{title:\"Is HubSpot Form\",type:ControlType.Boolean,defaultValue:false},hubspotFormID:{title:\"HubSpot Form ID\",type:ControlType.String,hidden:({isHubSpot})=>!isHubSpot},hubspotPortalID:{title:\"HubSpot Portal ID\",type:ControlType.String,hidden:({isHubSpot})=>!isHubSpot},padding:{title:\"Input Padding\",type:ControlType.String,defaultValue:\"24px\",description:\"Set the padding for input fields (e.g., '24px', '10px 20px')\"},submitText:{title:\"Submit Button Text\",type:ControlType.String,defaultValue:\"Submit\",description:\"Set the text for the submit button\"},allowPersonalEmails:{title:\"Allow Personal Emails\",type:ControlType.Boolean,defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Allow or disallow personal email domains like Gmail, Yahoo, etc.\",group:\"Validation\"},redirectURL:{title:\"Redirect URL\",type:ControlType.String,defaultValue:\"\",description:\"URL to redirect after successful submission\",group:\"Behavior\"}});CustomForm.defaultProps={formId:\"sign-up-form\",fields:[{label:\"Username\",id:\"username\",fieldType:\"text\",required:true},{label:\"Email\",id:\"email\",fieldType:\"email\",required:true},{label:\"Phone Number\",id:\"phone\",fieldType:\"phone\",required:false},{label:\"Organization\",id:\"org_name\",fieldType:\"text\",required:false,validation:true},{label:\"Terms and Conditions\",id:\"terms\",fieldType:\"tandc\",required:true,link:\"https://framer.com/projects/Unstructured-Launch-LIVE--wFmpDma6xUDQoDEcLkiX-dJhZS?node=Xb4ij6ru4&preview=1\"}],successMessage:\"Thank you! Your submission has been received!\",errorMessage:\"Oops! Something went wrong while submitting the form.\",isHubSpot:false,hubspotFormID:\"\",hubspotPortalID:\"\",padding:\"24px\",submitText:\"Submit\",allowPersonalEmails:false,redirectURL:\"\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Form_with_Flex.map"],"mappings":"gVAA+nD,SAAS,EAAe,EAAK,CAAC,IAAM,EAAM,AAAI,QAAQ,OAAO,EAAK,UAAA,CAAiB,EAAM,SAAS,OAAO,MAAM,EAAM,CAAC,OAAO,EAAM,EAAM,GAAG,IAAM,CAAikH,SAAwB,EAAW,CAAC,SAAO,SAAO,iBAAe,eAAa,YAAU,gBAAc,kBAAgB,UAAQ,aAAW,sBAAoB,cAAY,CAAC,CAAC,GAAK,CAAC,EAAI,EAAW,CAAC,EAAS,GAAG,CAAM,CAAC,EAAa,EAAc,CAAC,GAAS,EAAM,CAAM,CAAC,EAAQ,EAAW,CAAC,EAAS,KAAK,KAAK,CAAC,CAAO,EAAS,EAAO,KAAK,CAAM,CAAC,EAAO,EAAU,CAAC,EAAS,CAAE,EAAC,CAAM,CAAC,EAAW,EAAc,CAAC,EAAS,CAAE,EAAC,CAAO,GAAY,4DAA4D,EAAgB,GAAG,IAAsB,EAAa,CAAC,EAAE,IAAQ,CAAC,GAAK,CAAC,KAAG,OAAK,CAAC,EAAU,EAAM,EAAE,OAAO,MAA0F,CAAjF,EAAM,YAAY,YAAY,EAAM,YAAY,WAAS,EAAM,EAAE,OAAO,SAAS,EAAc,IAAO,CAAC,GAAG,GAAM,GAAI,CAAM,GAAE,CAC5iM,IAAI,EAAM,GAAsP,GAAhP,EAAM,YAAc,EAAM,YAAY,YAAY,EAAM,YAAY,WAAW,KAAkD,EAAM,YAAY,YAAY,EAAM,YAAY,UAAU,EAAM,MAAM,GAAG,MAApH,EAAM,2BAAuJ,EAAM,YAAY,SAAS,EAAM,CAAC,IAAM,EAAW,6B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