{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1GNBwKoabTTlXxq3Chx2/YHZRC67zGXtGqkZdFfJZ/SignUp_Form_1.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Form(props){const[emailInput,setEmailInput]=useState(\"\");const[errorState,setErrorState]=useState(null);const handleInput=event=>{setEmailInput(event.target.value);if(errorState===\"destructive\"&&event.target.value.length>0){setErrorState(null);}};const onSubmit=e=>{e.preventDefault();e.stopPropagation();if(emailInput.length===0){setErrorState(\"destructive\");}else{window.location.href=`https://app.luckyorange.com/create-account?email=${encodeURIComponent(emailInput)}`;}};const wrapperStyles={display:\"flex\",justifyContent:\"center\"};const formStyles={display:\"flex\",maxWidth:\"620px\",width:\"100%\"};const inputStyles={backgroundColor:\"#FFFFFF\",padding:\"0 24px\",borderRadius:\"4px\",border:errorState===\"destructive\"?\"3px solid red\":\"3px solid transparent\",height:\"48px\",fontSize:\"20px\",lineHeight:\"27.5px\",font:\"inherit\",width:\"100%\",marginRight:\"16px\",boxSizing:\"border-box\"};const buttonStyles={height:\"48px\",padding:\"12px 16px 12px 16px\",backgroundColor:\"#7D4D99\",borderRadius:\"4px\",fontSize:\"16px\",color:\"#ffffff\",letterSpacing:\"0.02em\",lineHeight:\"1.2\",border:\"none\",boxSizing:\"border-box\",whiteSpace:\"nowrap\",fontFamily:\"Avenir Next Demi Bold, Arial\"};return /*#__PURE__*/_jsx(\"div\",{className:\"wrapper\",style:wrapperStyles,children:/*#__PURE__*/_jsxs(\"form\",{onSubmit:onSubmit,// To learn more about styling see:\n// https://reactjs.org/docs/dom-elements.html#style\nstyle:formStyles,children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",id:\"email\",style:inputStyles,value:emailInput,onChange:handleInput,placeholder:errorState===\"destructive\"?\"Please Enter A Valid Email\":\"Enter Your Email\"}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:buttonStyles,children:\"Start My Free Trial\"})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Form\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignUp_Form_1.map"],
  "mappings": "gGAGkB,SAARA,EAAsBC,EAAM,CAAC,GAAK,CAACC,EAAWC,CAAa,EAAEC,EAAS,EAAE,EAAO,CAACC,EAAWC,CAAa,EAAEF,EAAS,IAAI,EAA+hC,OAAoBG,EAAK,MAAM,CAAC,UAAU,UAAU,MAA1sB,CAAC,QAAQ,OAAO,eAAe,QAAQ,EAAurB,SAAsBC,EAAM,OAAO,CAAC,SAA3+BC,GAAG,CAACA,EAAE,eAAe,EAAEA,EAAE,gBAAgB,EAAKP,EAAW,SAAS,EAAGI,EAAc,aAAa,EAAQI,EAAO,SAAS,KAAK,oDAAoD,mBAAmBR,CAAU,CAAC,EAAI,EAEpf,MAFokB,CAAC,QAAQ,OAAO,SAAS,QAAQ,MAAM,MAAM,EAEhmB,SAAS,CAAcK,EAAK,QAAQ,CAAC,KAAK,QAAQ,GAAG,QAAQ,MAFujB,CAAC,gBAAgB,UAAU,QAAQ,SAAS,aAAa,MAAM,OAAOF,IAAa,cAAc,gBAAgB,wBAAwB,OAAO,OAAO,SAAS,OAAO,WAAW,SAAS,KAAK,UAAU,MAAM,OAAO,YAAY,OAAO,UAAU,YAAY,EAEryB,MAAMH,EAAW,SAFoCS,GAAO,CAACR,EAAcQ,EAAM,OAAO,KAAK,EAAKN,IAAa,eAAeM,EAAM,OAAO,MAAM,OAAO,GAAGL,EAAc,IAAI,CAAG,EAE1I,YAAYD,IAAa,cAAc,6BAA6B,kBAAkB,CAAC,EAAeE,EAAK,SAAS,CAAC,KAAK,SAA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