{"version":3,"file":"Account.DN1XAqSy.mjs","names":["React.useState","__esmMin","init_npm_react_18_3_1","_e","p","c","init_jsx_runtime","addPropertyControls","init_framer_BWFVvmND","ControlType","Account","message","setMessage","field","style","signup","SignUp","props","init_Account"],"sources":["https:/framerusercontent.com/modules/vHiIjEgln6lI1o3uLSkx/uHUC8QAl16Pd2mABDPoa/Account.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export default function Account({style,signup=false}){const[message,setMessage]=React.useState(\"\");const field={width:\"100%\",boxSizing:\"border-box\",border:\"1px solid #29241f\",background:\"#fff\",padding:\"16px\",font:\"inherit\",borderRadius:0};return /*#__PURE__*/_jsxs(\"form\",{style:{...style,width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:24,fontFamily:\"JMH Typewriter,serif\",color:\"#29241f\"},onSubmit:e=>{e.preventDefault();setMessage(\"Account authentication is not connected yet. No information has been sent or saved.\");},children:[signup&&/*#__PURE__*/_jsxs(\"label\",{style:{display:\"grid\",gap:8},children:[\"Full name\",/*#__PURE__*/_jsx(\"input\",{style:field,name:\"name\",autoComplete:\"name\",required:true})]}),/*#__PURE__*/_jsxs(\"label\",{style:{display:\"grid\",gap:8},children:[\"Email address\",/*#__PURE__*/_jsx(\"input\",{style:field,type:\"email\",name:\"email\",autoComplete:\"email\",required:true})]}),/*#__PURE__*/_jsxs(\"label\",{style:{display:\"grid\",gap:8},children:[\"Password\",/*#__PURE__*/_jsx(\"input\",{style:field,type:\"password\",name:\"password\",autoComplete:signup?\"new-password\":\"current-password\",minLength:8,required:true})]}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{...field,background:\"#000\",color:\"#fff\"},children:signup?\"CREATE ACCOUNT\":\"LOG IN\"}),/*#__PURE__*/_jsx(\"a\",{href:signup?\"/login\":\"/signup\",style:{color:\"inherit\",textAlign:\"center\"},children:signup?\"Already have an account? Log in\":\"Create an account\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:12},children:\"Preview only. Account authentication is not connected.\"}),message&&/*#__PURE__*/_jsx(\"p\",{role:\"status\",children:message})]});}addPropertyControls(Account,{signup:{type:ControlType.Boolean,defaultValue:false}});/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export function SignUp(props){return /*#__PURE__*/_jsx(Account,{...props,signup:true});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Account\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"\"}},\"SignUp\":{\"type\":\"reactComponent\",\"name\":\"SignUp\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Account.map"],"mappings":"A,iLACuC,SAAwBU,EAAQ,CAAC,QAAM,SAAO,IAAO,CAAC,GAAK,CAACC,EAAQC,GAAYZ,EAAe,EAAE,EAAQa,EAAM,CAAC,MAAM,OAAO,UAAU,aAAa,OAAO,oBAAoB,WAAW,OAAO,QAAQ,OAAO,KAAK,UAAU,aAAa,CAAC,EAAE,MAAoB,gBAAM,OAAO,CAAC,MAAM,CAAC,GAAGC,EAAM,MAAM,OAAO,QAAQ,OAAO,cAAc,SAAS,IAAI,GAAG,WAAW,uBAAuB,MAAM,SAAS,EAAE,SAAS,GAAG,CAAC,EAAE,eAAe,EAAEF,EAAW,qFAAqF,CAAE,EAAE,SAAS,CAACG,GAAqB,gBAAM,QAAQ,CAAC,MAAM,CAAC,QAAQ,OAAO,IAAI,CAAC,EAAE,SAAS,CAAC,YAAyB,gBAAK,QAAQ,CAAC,MAAMF,EAAM,KAAK,OAAO,aAAa,OAAO,SAAS,EAAI,CAAC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