{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ND9xhe9NBM0pFxeDpanO/bAm6dADm6WjXtFDsZfbj/ContactForm.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";import{pseudo}from\"https://framerusercontent.com/modules/t0mhw52wU4lJARij4MFy/z69O3YHlXgBAYaLnLkwI/Miscellaneous.js\";export default function ContactForm({websiteLocation,textButton,justifyContent,lang,SF_representing,SF_tellUsMore}){const placeholder=pseudo(\"::-webkit-input-placeholder\",{color:\"#777\"});const handleOnTap=e=>{console.log(e);};useEffect(()=>{dispatchEvent(new Event(\"load\"));},[]);return /*#__PURE__*/_jsx(\"form\",{action:\"https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8\",id:\"salesforce-form\",method:\"POST\",children:/*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,justifyContent:justifyContent},children:[placeholder.injectStyle(),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"oid\",value:\"00D30000000KmWk\"}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"retURL\",value:lang==\"fr\"?\"https://www.angage.com/fr/merci/\":\"https://www.angage.com/en/thank-you/\"}),/*#__PURE__*/_jsx(\"input\",{id:\"00N4V00000DpLDv\",maxLength:255,name:\"00N4V00000DpLDv\",type:\"hidden\"}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",id:\"lead_source\",name:\"lead_source\",value:\"Website\"}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"Qualification__c\",id:\"Qualification__c\",value:\"Lead\"}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"Website_form_source__c\",id:\"Website_form_source__c\",value:websiteLocation}),/*#__PURE__*/_jsx(\"input\",{id:\"first_name\",name:\"first_name\",style:inputStyle50,className:placeholder.className,placeholder:translations.firstName[lang],maxLength:40,size:2,type:\"text\",required:true}),/*#__PURE__*/_jsx(\"input\",{id:\"last_name\",name:\"last_name\",style:inputStyle50,className:placeholder.className,placeholder:translations.lastName[lang],maxLength:80,size:2,type:\"text\",required:true}),/*#__PURE__*/_jsx(\"input\",{id:\"email\",name:\"email\",style:inputStyle50,className:placeholder.className,placeholder:translations.mail[lang],maxLength:80,size:80,type:\"email\",required:true}),/*#__PURE__*/_jsx(\"input\",{id:\"phone\",name:\"phone\",style:inputStyle50,className:placeholder.className,placeholder:translations.tel[lang],maxLength:40,size:80,type:\"tel\",pattern:\"^((\\\\+\\\\d{1,3}(-| )?\\\\(?\\\\d\\\\)?(-| )?\\\\d{1,5})|(\\\\(?\\\\d{2,6}\\\\)?))(-| )?(\\\\d{3,4})(-| )?(\\\\d{4})(( x| ext)\\\\d{1,5}){0,1}$\",required:true}),/*#__PURE__*/_jsx(\"input\",{id:\"company\",name:\"company\",style:inputStyle100,className:placeholder.className,placeholder:translations.company[lang],maxLength:40,size:80,type:\"text\",required:true}),/*#__PURE__*/_jsx(\"textarea\",{id:\"00N30000002xEFj\",name:\"00N30000002xEFj\",style:inputStyleTextArea,className:placeholder.className,rows:4,placeholder:translations.need[lang],wrap:\"soft\",required:true}),SF_representing?/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"00N4V00000EhF6T\",id:\"00N4V00000EhF6T\",value:SF_representing}):null,SF_tellUsMore?/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"00N4V00000EhF6Y\",id:\"00N4V00000EhF6Y\",value:SF_tellUsMore}):null,/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:buttonStyle,children:/*#__PURE__*/_jsx(\"span\",{style:spanButtonStyle,children:textButton})})]})});}ContactForm.defaultProps={textButton:\"Obtenir un devis\",justifyContent:\"left\"};addPropertyControls(ContactForm,{websiteLocation:{type:ControlType.String,title:\"Localisation du form\"},textButton:{type:ControlType.String,title:\"Button texte\"},justifyContent:{type:ControlType.Enum,title:\"Alignement\",defaultValue:\"left\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"]},lang:{type:ControlType.Enum,title:\"Language\",defaultValue:\"fr\",options:[\"fr\",\"en\"],optionTitles:[\"fr\",\"en\"]},SF_representing:{type:ControlType.String,title:\"SF Representing\"},SF_tellUsMore:{type:ControlType.String,title:\"SF Tell us more\"}});const translations={lastName:{fr:\"Nom\",en:\"Last name\"},firstName:{fr:\"Pr\\xe9nom\",en:\"First name\"},company:{fr:\"Soci\\xe9t\\xe9, organisation\",en:\"Company\"},mail:{fr:\"Email professionnel\",en:\"Work email\"},tel:{fr:\"T\\xe9l\\xe9phone\",en:\"Phone\"},need:{fr:\"Votre projet (contexte, besoin, nb de participants...)\",en:\"Your project (Expected number of attendees, date of the events, any particular product features you had your eyes on)\"}};// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={boxSizing:\"border-box\",flexShrink:0,// height: \"410px\" /* 364px */,\ndisplay:\"flex\",flexDirection:\"row\",justifyContent:\"flex-start\",alignItems:\"start\",// padding: \"15px 0px 0px 0px\",\noverflow:\"visible\",flex:\"1 0 0px\",position:\"relative\",alignContent:\"start\",flexWrap:\"wrap\",gap:10,borderRadius:\"0px 0px 0px 0px\"};const inputStyle={borderRadius:\"10px\",padding:\"15px\",pointerEvents:\"auto\",border:\"none\",fontFamily:\"Roboto\",fontSize:\"15px\",color:\"#333\",WebkitTapHighlightColor:\"rgba(0, 0, 0, 0)\",WebkitAppearance:\"none\",boxSizing:\"border-box\",outline:\"none\",resize:\"none\",margin:0};const inputStyle50={...inputStyle,backgroundColor:\"#F6F6F6\",height:\"50px\",width:\"calc(50% - 5px)\"};const inputStyle100={...inputStyle,backgroundColor:\"#F6F6F6\",height:\"50px\",width:\"100%\"};const inputStyleTextArea={...inputStyle,backgroundColor:\"#F6F6F6\",width:\"100%\"};const buttonTransparentStyle={backgroundColor:\"Transparent\",backgroundRepeat:\"no-repeat\",border:\"none\"};const buttonStyle={boxSizing:\"border-box\",flexShrink:0,width:\"min-content\"/* 147px */,height:42,display:\"flex\",flexDirection:\"row\",justifyContent:\"center\",alignItems:\"center\",padding:\"10px 20px 10px 20px\",boxShadow:\"0px 0px 0px 0px rgba(255, 85, 34, 0.5)\",backgroundColor:\"#ff5522\",backgroundRepeat:\"no-repeat\",border:\"none\",zIndex:0,position:\"relative\",alignContent:\"center\",flexWrap:\"nowrap\",gap:0,borderRadius:260,cursor:\"pointer\"};const spanButtonStyle={flexShrink:0,width:\"auto\"/* 107px */,height:\"auto\"/* 22px */,whiteSpace:\"pre\",overflow:\"visible\",position:\"relative\",fontWeight:500,fontStyle:\"normal\",fontFamily:`\"Roboto\", sans-serif`,color:\"#ffffff\",fontSize:18,letterSpacing:0,lineHeight:1.2};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ContactForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ContactForm.map"],
  "mappings": "yLAAAA,IAA8Q,SAARC,EAA6B,CAAC,gBAAAC,EAAgB,WAAAC,EAAW,eAAAC,EAAe,KAAAC,EAAK,gBAAAC,EAAgB,cAAAC,CAAa,EAAE,CAAC,IAAMC,EAAYC,EAAO,8BAA8B,CAAC,MAAM,MAAM,CAAC,EAAQC,EAAYC,GAAG,CAAC,QAAQ,IAAIA,CAAC,CAAE,EAAE,OAAAC,EAAU,IAAI,CAAC,cAAc,IAAI,MAAM,MAAM,CAAC,CAAE,EAAE,CAAC,CAAC,EAAsBC,EAAK,OAAO,CAAC,OAAO,wEAAwE,GAAG,kBAAkB,OAAO,OAAO,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAGC,EAAe,eAAeV,CAAc,EAAE,SAAS,CAACI,EAAY,YAAY,EAAeK,EAAK,QAAQ,CAAC,KAAK,SAAS,KAAK,MAAM,MAAM,iBAAiB,CAAC,EAAeA,EAAK,QAAQ,CAA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names": ["init_ssg_sandbox_shims", "ContactForm", "websiteLocation", "textButton", "justifyContent", "lang", "SF_representing", "SF_tellUsMore", "placeholder", "pseudo", "handleOnTap", "e", "ue", "p", "containerStyle", "inputStyle50", "translations", "inputStyle100", "inputStyleTextArea", "buttonStyle", "spanButtonStyle", "addPropertyControls", "ControlType", "inputStyle", "buttonStyle", "spanButtonStyle"]
}
