{"version":3,"sources":["images/Rectangle_2.png","components/modal/forgot-password.component.jsx","components/auth/Login.js","images/chevron-down.png","images/upload.png","components/auth/SetDashboard.js","images/dollor.png","images/timezone.png","images/laptop.png","components/auth/SignupModal.js","components/auth/SignUp.js","components/auth/signUpForm.js","components/auth/SignUpNext.jsx","pages/auth.page.jsx"],"names":["ForgotPassword","props","state","setState","useState","email","message","errors","isModalForgot","_jsx","_Fragment","children","Modal","title","open","onOk","handleOk","onCancel","handleCancel","footer","_jsxs","Form","layout","Item","label","Input","name","type","size","value","onChange","e","target","className","Button","onClick","async","event","preventDefault","isValid","validateFields","error","Object","keys","length","body","responseData","resetPassword","remote","success","_error$response","_error$response$data","response","data","Login","Component","constructor","super","onForgotModalShow","this","validateEmail","test","String","toLowerCase","Validator","isEmail","password","handleAllChange","handleSubmit","isLoading","deviceToken","localStorage","getItem","result","postData","token","user","selectedPlan","setItem","companyNumber","withTrialPeriod","companyName","setLoggedinState","userRole","isTrial","trialEnd","_id","getOrganization","getUserLastSignInDataAction","isRedirect","isCompleteSetup","isPaymentDone","isPaymentCompleted","err","_err$response","_err$response$data","_err$response$data$er","_err$response2","_err$response2$data","_err$response2$data$e","_err$response2$data$e2","_err$response3","_err$response3$data","_err$response3$data$e","_err$response3$data$e2","_err$response4","_err$response4$data","_err$response4$data$e","_err$response4$data$e2","_err$response5","_err$response5$data","_err$response5$data$e","_err$response5$data$e2","_err$response6","_err$response6$data","_err$response6$data$e","_err$response6$data$e2","_err$response7","_err$response7$data","_err$response7$data$e","_err$response7$data$e2","_err$response8","_err$response8$data","_err$response8$data$d","_err$response9","_err$response9$data","_err$response9$data$d","_err$response10","_err$response10$data","_err$response10$data$","_err$response11","_err$response11$data","_err$response11$data$","_err$response15","_err$response15$data","_err$response15$data$","_err$response16","_err$response16$data","_err$response16$data$","_err$response12","_err$response12$data","_err$response12$data$","_err$response13","_err$response13$data","_err$response13$data$","_err$response14","_err$response14$data","_err$response14$data$","_err$response17","_err$response17$data","_err$response17$data$","_err$response18","_err$response18$data","_err$response18$data$","isSalesPerson","isSuspended","isAdmin","isCardDeclined","isSubscriptionCanceled","validateAllUserData","lastName","roleId","contactNo","ssn","dateBirth","address","zipCode","city","nationality","gender","martialStatus","backupEmail","isToken","logoUrl","createValidUrl","componentDidMount","newCdnToken","getCdnToken","handleCDNToken","getUserPermissionData","_userPermissions$data","userPermissions","getUserPermissions","console","log","setUserPermissions","render","Navigate","to","Row","gutter","Col","lg","src","RightImage","alt","style","width","height","objectFit","display","flexDirection","justifyContent","Card","bordered","Link","srcSet","sizes","onSubmitCapture","InputField","placeholder","dclass","marginBottom","htmlType","id","loading","textAlign","href","rel","padding","color","Date","getFullYear","connect","dispatch","payload","action","headers","authorization","info","file","status","Option","Select","handleChange","SetDashboard","location","useLocation","redirect","setRedirect","useEffect","Container","bodyStyle","paddingTop","arrow","Upload","icon","upload","defaultValue","suffixIcon","arrowDwon","signup","SignupModal","navigate","useNavigate","isModalVisible","closable","wrapClassName","logosign","handleGoToLoginPage","SignUp","form","setForm","confirmPassword","setErrors","loader","setLoader","APILoader","setAPILoader","tokenId","setTokenId","openThankYouModal","setOpenThankYouModal","elements","useElements","stripe","useStripe","options","useOptions","fontSize","React","useMemo","base","fontFamily","fontWeight","invalid","_e$target$value","_e$target$value2","handleCompletePayment","amount","planId","process","REACT_APP_ESTIMATING_PRICE_ID","contactNumber","customerName","trialPaymentSuccessAPICall","_response$errors","SmallLoader","laptop","cardNumberElement","getElement","CardNumberElement","createToken","res","_res$token","formError","signUpStepOneSchema","errorsClone","freeTrial","_result$errors","_result$errors$errors","_res$token2","_result$errors2","_result$errors2$error","_result$errors3","_result$errors3$error","_result$errors4","_result$errors4$error","_result$errors5","_result$errors5$error","isTrialFlag","paymentStatusMessage","company","_res$token3","formErrorClone","role","MailOutlined","PhoneOutlined","maxLength","Password","prefix","lock","CardExpiryElement","CardCvcElement","disabled","customStyle","WebkitAppearance","MozAppearance","appearance","paddingRight","SignUpForm","useSelector","api","cdnToken","_form$contactNo3","_form$contactNo4","_form$contactNo","_form$contactNo2","PhoneInput","inputStyle","countryCodeEditable","onlyCountries","disableCountryGuess","country","SignUpNext","stripePromise","loadStripe","Auth","Routes","Route","path","expect","element","Elements"],"mappings":"ySAAe,MAA0B,wC,6ECK1B,SAASA,EAAeC,GACrC,MAAOC,EAAOC,GAAYC,mBAAS,CACjCC,MAAO,GACPC,QAAS,GACTC,OAAQ,CAAC,EACTC,eAAe,IA4DjB,OACEC,cAAAC,WAAA,CAAAC,SACEF,cAACG,IAAK,CACJC,MAAM,kBACNC,KAAMb,EAAMO,cACZO,KAAMd,EAAMe,SACZC,SAAUhB,EAAMiB,aAChBC,OAAQ,KAAKR,SAEbS,eAACC,IAAI,CAACC,OAAO,WAAUX,SAAA,CACrBF,cAACY,IAAKE,KAAI,CAACC,MAAM,QAAOb,SACtBF,cAACgB,IAAK,CACJC,KAAK,QACLC,KAAK,QACLC,KAAK,QACLC,MAAO3B,EAAMG,MACbyB,SAxBaC,IACvB5B,EAAS,IACJD,EACH,CAAC6B,EAAEC,OAAON,MAAOK,EAAEC,OAAOH,MAC1BtB,OAAQ,IACR,MAuBIa,eAAA,OAAKa,UAAU,aAAYtB,SAAA,CACzBF,cAACyB,IAAM,CACLC,QAASlC,EAAMiB,aACfe,UAAU,iBACVL,KAAK,QAAOjB,SACb,WAGDF,cAACyB,IAAM,CAACP,KAAK,UAAUQ,QA1ELC,UAC1BC,EAAMC,iBACNnC,EAAS,IAAKD,EAAOK,OAAQ,CAAC,IAC9B,MAAM,OAAEA,EAAM,QAAEgC,GAdKC,MACrB,MAAMjC,EAAS,CAAC,EAKhB,OAJKL,EAAMG,QACTE,EAAOF,MAAQ,wBACfC,IAAQmC,MAAMlC,EAAOF,MAAO,IAEvB,CACLE,SACAgC,SAAUG,OAAOC,KAAKpC,GAAQqC,OAC/B,EAK2BJ,GAC5B,IAAKD,EAEH,YADApC,EAAS,IAAKD,EAAOK,WAGvB,MAAM,MAAEF,GAAUH,EACZ2C,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AAS,IAuBb,EA+FsCK,SACvB,uBAOTF,cAAA,OAAKwB,UAAU,aAAYtB,SAAC,kCAKtC,CC7JA,MAAMwV,GAAgBC,YAAWjE,+GAC3Bd,GAAU,CAEd,EAEa,MAAMgF,WAAa9S,YAChCmI,SACE,OACEnH,aAAaC,QAAQ,oBACuB,UAA5CD,aAAaC,QAAQ,mBAEd/D,cAACkL,IAAQ,CAACC,GAAG,YAGpBxK,eAAAV,WAAA,CAAAC,SAAA,CACES,eAACkV,IAAM,CAAA3V,SAAA,CACLF,cAAC8V,IAAK,CAACC,KAAK,IAAIC,QAAM,EAACC,QAASjW,cAAC6C,EAAK,MACtC7C,cAAC8V,IAAK,CAACC,KAAK,iBAAiBE,QAASjW,cAACkO,EAAY,MACnDlO,cAAC8V,IAAK,CAACC,KAAK,eAAeE,QAASjW,cAACyV,GAAU,MAC/CzV,cAAC8V,IAAK,CAACC,KAAK,WAAWE,QAASjW,cAAC2U,GAAU,SAE7C3U,cAACkW,WAAQ,CAACxF,OAAQgF,GAAe9E,QAASA,GAAQ1Q,SAChDF,cAAC6V,IAAM,CAAA3V,SACLF,cAAC8V,IAAK,CAACC,KAAK,iBAAiBE,QAASjW,cAAC2P,GAAM,YAKvD,E","file":"static/js/65.0aa185cf.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/Rectangle_2.f24aa1c3.png\";","import { Button, Form, Input, message, Modal } from \"antd\";\nimport { React, useState } from \"react\";\n\nimport { resetPassword } from \"../../api/user\";\n\nexport default function ForgotPassword(props) {\n const [state, setState] = useState({\n email: \"\",\n message: \"\",\n errors: {},\n isModalForgot: false,\n });\n\n const validateFields = () => {\n const errors = {};\n if (!state.email) {\n errors.email = \"Email id is required\";\n message.error(errors.email, 5);\n }\n return {\n errors,\n isValid: !Object.keys(errors).length,\n };\n };\n const resetPasswordHandle = async (event) => {\n event.preventDefault();\n setState({ ...state, errors: {} });\n const { errors, isValid } = validateFields();\n if (!isValid) {\n setState({ ...state, errors });\n return;\n }\n const { email } = state;\n const body = {\n email,\n };\n\n try {\n const responseData = await resetPassword(body);\n\n if (responseData.errors) {\n message.error(\"Email does not exists\", 5);\n } else {\n setState({\n ...state,\n email: \"\",\n });\n }\n if (responseData.remote === \"success\") {\n setState({ email: \"\" });\n message.success(\n \"Reset Password link sent to your registered email id\",\n );\n props.handleCancel();\n }\n } catch (error) {\n setState({\n ...state,\n message: error.response?.data?.errors,\n });\n }\n };\n const handleAllChange = (e) => {\n setState({\n ...state,\n [e.target.name]: e.target.value,\n errors: [],\n });\n };\n\n return (\n <>\n \n
\n \n \n \n\n
\n \n Cancel\n \n \n
\n
\n \n \n );\n}\n","import { Button, Card, Col, Form, message, Row } from \"antd\";\nimport React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Link, Navigate } from \"react-router-dom\";\nimport Validator from \"validator\";\n\nimport { getUserLastSignInDataAction } from \"../../api/admin\";\nimport { getCdnToken } from \"../../api/auth\";\nimport { getUserPermissions } from \"../../api/teams\";\nimport RightImage from \"../../images/Rectangle_2.png\";\n// import { getToken } from \"../../firebase\";\n// import \"firebase/messaging\";\nimport {\n setLoggedinState,\n setUserPermissions,\n} from \"../../redux/api/api.action\";\nimport { getOrganization } from \"../../redux/organization/organization.action\";\nimport { createValidUrl } from \"../../utils/commonFuctions\";\nimport { postData } from \"../../utils/fetchApi\";\nimport InputField from \"../inputField/inputField.component\";\nimport ForgotPassword from \"../modal/forgot-password.component\";\n\nclass Login extends Component {\n constructor(props) {\n super(props);\n this.state = {\n email: \"\",\n password: \"\",\n isRedirect: false,\n isLoading: false,\n isToken: false,\n isCompleteSetup: false,\n isPaymentDone: null,\n isCardDeclined: false,\n isSubscriptionCanceled: false,\n logoUrl: createValidUrl(\"superadmin/logo/zavbit-logo.png\"),\n };\n }\n\n componentDidMount() {\n const handleCDNToken = async () => {\n try {\n const reponse = await getCdnToken();\n const newCdnToken = reponse.data.token;\n localStorage.setItem(\"cdnToken\", newCdnToken);\n this.setState({\n logoUrl: createValidUrl(\"superadmin/logo/zavbit-logo.png\"),\n });\n } catch (error) {}\n };\n const token = localStorage.getItem(\"token\");\n if (token) {\n this.setState({ isToken: true });\n } else {\n this.setState({ isToken: false });\n }\n // This is for getting device token of user.\n // getToken();\n handleCDNToken();\n }\n\n onForgotModalShow = () => {\n this.setState({\n isModalForgot: true,\n });\n };\n\n handleCancel = () => {\n this.setState({\n isModalForgot: false,\n });\n };\n\n handleOk = () => {\n this.setState({\n isModalForgot: false,\n });\n };\n\n validateEmail = (email) => {\n const re =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(String(email).toLowerCase());\n };\n\n validateFields = () => {\n const errors = {};\n if (!this.state.email) {\n errors.email = \"Email cannot be empty.\";\n } else if (!Validator.isEmail(this.state.email)) {\n errors.email = \"Email is not valid\";\n }\n if (!this.state.password) {\n errors.password = \"Password cannot be empty.\";\n }\n return {\n errors,\n isValid: !Object.keys(errors).length,\n };\n };\n\n handleAllChange = (e) => {\n this.setState({\n [e.target.name]: e.target.value,\n });\n };\n\n handleSubmit = async (event) => {\n event.preventDefault();\n this.setState({ isLoading: true });\n const { errors, isValid } = this.validateFields();\n if (!isValid) {\n this.setState({ isLoading: false });\n errors.email && message.error(errors.email, 3);\n errors.password && message.error(errors.password, 3);\n return;\n }\n const { email, password } = this.state;\n const deviceToken = localStorage.getItem(\"deviceToken\");\n const body = deviceToken\n ? { email, password, deviceToken: deviceToken || \"\" }\n : { email, password };\n try {\n const result = await postData(\"v3/auth/sign-in\", body);\n const {\n data: { token, user },\n } = result?.data;\n\n if (user?.selectedPlan) {\n localStorage.setItem(\"planName\", user?.selectedPlan);\n }\n\n if (user?.companyNumber) {\n localStorage.setItem(\"companyNumber\", user?.companyNumber);\n }\n\n if (user?.withTrialPeriod) {\n localStorage.setItem(\"isFreeTrial\", user?.withTrialPeriod);\n }\n if (user?.companyNumber) {\n localStorage.setItem(\"companyNumber\", user?.companyNumber);\n }\n if (user?.companyName) {\n localStorage.setItem(\"companyNumber\", user?.companyName);\n }\n if (token) {\n this.props.setLoggedinState(true);\n localStorage.setItem(\"token\", token);\n localStorage.setItem(\"userRole\", user.userRole);\n localStorage.setItem(\"trailAccount\", user.isTrial || false);\n localStorage.setItem(\"trailEndDate\", user.trialEnd || \"\");\n localStorage.setItem(\"isCardDeclined\", false);\n localStorage.setItem(\"isSubscriptionCanceled\", false);\n user?._id && localStorage.setItem(\"userId\", user?._id);\n if (this.props.getOrganization) {\n this.props.getOrganization();\n }\n if (\n !localStorage.getItem(\"superAdminToken\") &&\n !localStorage.getItem(\"fromSuperAdmin\")\n ) {\n await getUserLastSignInDataAction();\n }\n }\n\n this.setState({\n email: \"\",\n password: \"\",\n isRedirect: true,\n isLoading: false,\n isCompleteSetup: user?.isCompleteSetup,\n isPaymentDone: user?.isPaymentCompleted,\n });\n } catch (err) {\n const isPaymentDone = err?.response?.data?.error?.isPaymentDone;\n if (isPaymentDone === false) {\n this.setState({\n isLoading: false,\n isPaymentDone,\n });\n }\n\n localStorage.setItem(\n \"isFreeTrial\",\n err?.response?.data?.error?.user?.withTrialPeriod,\n );\n localStorage.setItem(\"isCardDeclined\", false);\n localStorage.setItem(\"isSubscriptionCanceled\", false);\n localStorage.setItem(\n \"planName\",\n err?.response?.data?.error?.user?.selectedPlan,\n );\n localStorage.setItem(\n \"companyName\",\n err?.response?.data?.error?.user?.companyName,\n );\n localStorage.setItem(\n \"companyNumber\",\n err?.response?.data?.error?.user?.companyNumber,\n );\n localStorage.setItem(\"userId\", err?.response?.data?.error?.user?._id);\n localStorage.setItem(\n \"userRole\",\n err?.response?.data?.error?.user?.userRole,\n );\n if (err) {\n if (err?.response?.data?.data?.isSalesPerson) {\n message.error(\n \"Sorry, you cannot login. We regret to inform you that your account has been disabled. Contact your companies admin to fix this problem.\",\n 5,\n );\n } else if (err?.response?.data?.data?.isSuspended) {\n message.error(\n \"Sorry, you cannot login. We regret to inform you that your account has been rejected. Your billing has been stopped. If you have any further questions, please contact us.\",\n 5,\n );\n } else {\n message.error(\n err.response ? err.response.data.error : \"Invalid Credentials\",\n 5,\n );\n }\n if (\n err?.response?.data?.data?.isAdmin &&\n err?.response?.data?.data?.isCardDeclined\n ) {\n localStorage.setItem(\"token\", err?.response?.data?.data?.token);\n localStorage.setItem(\"userId\", err?.response?.data?.data?._id);\n localStorage.setItem(\n \"isCardDeclined\",\n err?.response?.data?.data?.isCardDeclined,\n );\n this.setState({\n isCardDeclined: true,\n });\n }\n if (\n err?.response?.data?.data?.isAdmin &&\n err?.response?.data?.data?.isSubscriptionCanceled\n ) {\n localStorage.setItem(\"token\", err?.response?.data?.data?.token);\n localStorage.setItem(\"isCardDeclined\", true);\n localStorage.setItem(\"userId\", err?.response?.data?.data?._id);\n\n localStorage.setItem(\"isSubscriptionCanceled\", true);\n this.setState({\n isSubscriptionCanceled: true,\n });\n }\n }\n\n this.setState({\n isLoading: false,\n });\n }\n };\n\n validateAllUserData = (user) => {\n const {\n email,\n name,\n lastName,\n companyName,\n roleId,\n contactNo,\n ssn,\n dateBirth,\n address,\n zipCode,\n state,\n city,\n nationality,\n gender,\n martialStatus,\n backupEmail,\n } = user;\n\n if (\n name === \"\" ||\n lastName === \"\" ||\n roleId === \"\" ||\n contactNo === \"\" ||\n email === \"\" ||\n backupEmail === \"\" ||\n ssn === \"\" ||\n dateBirth === \"\" ||\n gender === \"\" ||\n martialStatus === \"\" ||\n nationality === \"\" ||\n address === \"\" ||\n city === \"\" ||\n state === \"\" ||\n zipCode === null ||\n companyName === \"\"\n ) {\n return false;\n }\n return true;\n };\n\n async getUserPermissionData() {\n const userPermissions = await getUserPermissions();\n console.log(\"userPermissions => \", userPermissions);\n this.props.setUserPermissions(userPermissions?.data?.data);\n }\n\n render() {\n if (this.state.isToken) {\n return this.state.isCompleteSetup ? (\n \n ) : (\n \n );\n }\n if (this.state.isPaymentDone === false) {\n return ;\n }\n if (this.state.isCardDeclined === true) {\n return (\n \n );\n }\n if (this.state.isSubscriptionCanceled === true) {\n return ;\n }\n if (this.state.isRedirect) {\n if (this.state.isCompleteSetup) {\n this.getUserPermissionData();\n return ;\n }\n return ;\n }\n\n return (\n
\n \n \n \n \n \n
\n \n
\n \n \n \n
\n
\n

Welcome Back

\n
\n\n
\n \n {\" \"}\n \n Forgot Password?{\" \"}\n this.onForgotModalShow()}\n >\n Click Here\n \n \n \n \n Login\n \n \n \n \n Don’t have an account?{\" \"}\n \n {\" \"}\n Register\n \n \n \n \n \n
\n
\n
\n © ZevBit {new Date().getFullYear()}\n
\n \n
\n
\n );\n }\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n getOrganization: () => dispatch(getOrganization()),\n setLoggedinState: (payload) => dispatch(setLoggedinState(payload)),\n setUserPermissions: (data) => dispatch(setUserPermissions(data)),\n});\n\nexport default connect(null, mapDispatchToProps)(Login);\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACrSURBVHgB7ZMxDsIwDEVtwlEqxIA4Q8cOIDF2hJOQ3oAjMAFzxdCRngEWqg69iZtWrdRKqWLvflIUJbH/GyIDKIoiIjmm525Jegy3MDmkV0C8AeAp2u6h/n9LTh9LMITbyVXMlQQFs3DEDIhKt8dciZGEF/nD1tXvE212yJUYSfj4JpEYabhUsvIJQuEjxftl3Z9k/YHIW7f2t9KlD8ifdwjQSdxsNKAoyiItYNFS0pXE0NEAAAAASUVORK5CYII=\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAeCAYAAACiyHcXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALYSURBVHgB7VY7ctpQFL1SXKQkKzDsAFfQRawgpEuHXaaKxAZAG0DyCkJWAFkBSkcXtamsHZhsAHKOdMU8yxr0ZMiMC98Z6f3u793vc6Ql+L7fwdDR5S6O452cCY4NEgW7rvvtcDiMsexXjlPHcdb7/f4HFMrkBdCoRBAEEwyxGLfXT3Sv3M+g5D0UiaUlnFQCFpjhlnNdJhASQkZSwfEw3AJvkjME/mKxCOUSSoA5GX/nHMKDphsC3wd+ZIvfqAT4dcFwgynHEDebiwUYiu+gSM82aN/VbQ6HQzL7woCDAl/FErbbbQraPuj6COT3g8HgD9Yd7J9U5qpus/QvIv5eWoDGRw6wBN3jc47g5sCYYgYtn8mrYdQB8SOmuyiKPkgLgDDS1WVR9yjQcZa4XGimc50lyjqQSUtgQKrAxMwixhgGDwrMgENXe9gblYo8sYQWJSLSjCkscSMXBDPgqSj4j54oQX8CYSWGOdtEeEtFflMO+N8xRtyKhlQgwZfqfCwXBrqARY/zMgFcXWx0DGkill/5v7CUImi9PBHwG6sbMijQK7F42OQK0iKGPjKV2zYvZBJd0seFb2gJj5vMYRPJQgH2lZXWg41mgDWA7tgEcRH3WhepDTEthFtsjMZGYEw9sH+IJQD/mAAuTPm31KiJ0IhsTwqfZspwrWM0nU5nNnykqEd8FKV0R6oM+tIMzBYySOlLfBk3GRNaqGjmeRMT1iLFzZWnEomeTZr8yvYMws/4RtVA1LMez07xYD1i1dRlkap6sIIleMusTsAJhowNT2mSJnzzlWY+EcrecSeFj/KiBb8mfDOK+vylb0d9FHel6BufRDOx+kZxVQhL9EjTtKtNhrd80KhfS0vQIH5kIOuLy5OiFQTVR9Kxi+ptb0G85IjvGsRdPU6kPVBgwlTEyOD/hW9dV3+etXL1bSJnggob2eC68grgTYkSXoUSV3Ie/NRumMkZ8A+u4ZMlhwJJFwAAAABJRU5ErkJggg==\"","import { Button, Card, Col, Form, message, Row, Select, Upload } from \"antd\";\nimport React, { useEffect, useState } from \"react\";\nimport { Container } from \"react-bootstrap\";\nimport { Link, Navigate, useLocation } from \"react-router-dom\";\n\nimport { signup } from \"../../api/auth\";\nimport arrow from \"../../images/arrow.png\";\nimport arrowDwon from \"../../images/chevron-down.png\";\nimport dollor from \"../../images/dollor.png\";\nimport timezone from \"../../images/timezone.png\";\nimport upload from \"../../images/upload.png\";\n\nconst props = {\n name: \"file\",\n action: \"https://www.mocky.io/v2/5cc8019d300000980a055e76\",\n headers: {\n authorization: \"authorization-text\",\n },\n onChange(info) {\n if (info.file.status !== \"uploading\") {\n }\n if (info.file.status === \"done\") {\n message.success(`${info.file.name} file uploaded successfully`);\n } else if (info.file.status === \"error\") {\n message.error(`${info.file.name} file upload failed.`);\n }\n },\n};\nconst { Option } = Select;\n\nfunction handleChange() {}\n\nfunction SetDashboard() {\n const location = useLocation();\n const [redirect, setRedirect] = useState(null);\n useEffect(() => {\n if (!location.state) {\n setRedirect(\"/auth/sign-up\");\n }\n }, [location]);\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n await signup({});\n };\n\n if (redirect) {\n return ;\n }\n return (\n
\n \n \n \n
\n
\n Welcome to ZEVBIT SOFTWARE\n
\n
\n
Transform Your Business
\n \n \n \n
\n \n \n \n
\n\n
\n

\n \n \"\"\n {\" \"}\n Sign Up\n

\n
\n
\n \n \n \n }\n >\n \n Upload file (i.e. png, jpg)\n \n \n \n \n \n \n \n }\n >\n \n Upload file (i.e. png, jpg)\n \n \n \n \n \n \n
\n
\n \"\"\n
\n }\n className=\"ant-select-box\"\n >\n \n \n \n \n
\n
\n \n \n
\n
\n \"\"\n
\n }\n className=\"ant-select-box\"\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n Sign Up\n \n \n \n \n
\n
\n
\n );\n}\n\nexport default SetDashboard;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEA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Dj1TmEmWUlCpwH5ZjxIWhzL2p9luZuqEWLkemingPe34EcaG88l/zJuPQATVOOqtPjkLwxfBbFeUxil4qG0jino30kUYMsMCj+t/EZrHpdQx0kEuzPov4npHyt+g2F4MjgNAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/laptop.9b01a8eb.png\";","import { Button, Modal } from \"antd\";\nimport React from \"react\";\nimport { useNavigate } from \"react-router-dom\";\n\nimport logosign from \"../../images/logo-signup.png\";\n\nexport default function SignupModal(props) {\n const navigate = useNavigate();\n\n const handleGoToLoginPage = () => {\n navigate(\"/auth\");\n };\n\n return (\n \n
\n \"\"\n
\n
\n
\n
\n - THANK YOU -\n
\n

\n You can start your 7 days free trial by login to your account\n

\n\n \n Click Here For Login\n \n
\n
\n \n );\n}\n","/* eslint-disable no-unused-vars */\nimport { MailOutlined, PhoneOutlined } from \"@ant-design/icons\";\nimport {\n CardCvcElement,\n CardExpiryElement,\n CardNumberElement,\n useElements,\n useStripe,\n} from \"@stripe/react-stripe-js\";\nimport { Button, Card, Col, Form, Input, message, Row } from \"antd\";\nimport React, { useState } from \"react\";\nimport { Container } from \"react-bootstrap\";\n\nimport { signup } from \"../../api/auth\";\nimport { trialPaymentSuccessAPICall } from \"../../api/planPricing\";\nimport company from \"../../images/company.png\";\nimport laptop from \"../../images/laptop.png\";\nimport lock from \"../../images/lock.png\";\nimport logosign from \"../../images/logo-signup.png\";\nimport user from \"../../images/user.png\";\nimport { signUpStepOneSchema } from \"../../validators/auth/auth.validator\";\nimport InputField from \"../inputField/inputField.component\";\nimport SmallLoader from \"../loader/smallLoader\";\nimport SignupModal from \"./SignupModal\";\n\nfunction SignUp() {\n const [form, setForm] = useState({\n email: \"\",\n password: \"\",\n confirmPassword: \"\",\n companyName: \"\",\n contactNo: \"\",\n name: \"\",\n });\n const [errors, setErrors] = useState({});\n const [loader, setLoader] = useState(false);\n const [APILoader, setAPILoader] = useState(false);\n const [tokenId, setTokenId] = useState(null);\n const [openThankYouModal, setOpenThankYouModal] = useState(false);\n const elements = useElements();\n const stripe = useStripe();\n\n const useOptions = () => {\n const fontSize = \"16px\";\n const options = React.useMemo(\n () => ({\n style: {\n base: {\n fontSize,\n fontFamily: \"'Poppins', sans-serif\",\n fontWeight: \"300\",\n \"::placeholder\": {\n color: \"#bfbfbf\",\n },\n },\n invalid: {\n color: \"#9e2146\",\n },\n },\n }),\n [fontSize],\n );\n return options;\n };\n\n const options = useOptions();\n\n const handleAllChange = (e) => {\n if (\n e.target.name === \"contactNo\" &&\n (e.target.value?.length < 7 || e.target.value?.length > 10)\n ) {\n setErrors({\n ...errors,\n contactNo: \"Contact number should be minimum 7 and maximum 10 digits\",\n });\n setForm({ ...form, [e.target.name]: e.target.value });\n } else {\n setErrors({ ...errors, contactNo: \"\" });\n setForm({ ...form, [e.target.name]: e.target.value });\n }\n };\n\n const handleCompletePayment = async (token) => {\n setLoader(true);\n const payload = {\n amount: 0,\n planId: process.env.REACT_APP_ESTIMATING_PRICE_ID,\n token: tokenId || token,\n email: form?.email,\n contactNumber: form?.contactNo,\n companyName: form?.companyName,\n customerName: form?.name,\n };\n const response = await trialPaymentSuccessAPICall(payload);\n if (response && response?.remote) {\n setLoader(false);\n setAPILoader(false);\n if (response?.remote === \"failure\") {\n message.error(\n response?.errors?.errors || \"Something went to wrong\",\n 10,\n );\n } else {\n setOpenThankYouModal(true);\n }\n } else {\n message.error(\"Something went to wrong\");\n setLoader(false);\n setAPILoader(false);\n }\n };\n\n const handleOk = () => {\n setOpenThankYouModal(false);\n };\n\n const handleCancel = () => {\n setOpenThankYouModal(false);\n };\n\n const handleSubmit = async (e) => {\n e && e?.preventDefault();\n setAPILoader(true);\n const cardNumberElement = elements.getElement(CardNumberElement);\n const { error } = await stripe.createToken(cardNumberElement);\n if (error) {\n message.error(\n \"Please Complete The Required Fields\" ||\n error?.message ||\n \"Something went to wrong! Please contact to admin\",\n );\n setAPILoader(false);\n return;\n }\n const res = await stripe.createToken(cardNumberElement);\n if (res && res?.token) {\n setTokenId(res?.token?.id || \"\");\n }\n setErrors({});\n const { isValid, errors: formError } = signUpStepOneSchema(form);\n if (!isValid) {\n if (\n form.contactNo &&\n (form.contactNo.length < 7 || form.contactNo.length > 10)\n ) {\n const formErrorClone = formError;\n formErrorClone.contactNo =\n \"Contact number should be minimum 7 and maximum 10 digits\";\n setErrors(formErrorClone);\n } else {\n setErrors(formError);\n }\n setAPILoader(false);\n } else if (\n form.contactNo &&\n (form.contactNo.length < 7 || form.contactNo.length > 10)\n ) {\n const errorsClone = { ...errors };\n errorsClone.name = \"\";\n errorsClone.email = \"\";\n errorsClone.companyName = \"\";\n errorsClone.password = \"\";\n errorsClone.confirmPassword = \"\";\n errorsClone.contactNo =\n \"Contact number should be minimum 7 and maximum 10 digits\";\n setErrors(errorsClone);\n setAPILoader(false);\n } else {\n const payload = { ...form };\n payload.freeTrial = true;\n setLoader(true);\n const result = await signup(payload);\n if (result?.errors) {\n if (result?.errors?.errors?.isTrialFlag === false) {\n handleCompletePayment(res?.token?.id);\n } else {\n message.error(\n result?.errors?.errors?.paymentStatusMessage ||\n result?.errors?.errors?.email ||\n result?.errors?.errors?.company ||\n result?.errors?.errors?.message ||\n \"Something went wrong!\",\n 10,\n );\n setLoader(false);\n setAPILoader(false);\n setErrors(result.errors.errors);\n }\n } else if (result?.remote === \"success\") {\n handleCompletePayment(res?.token?.id);\n } else {\n setLoader(false);\n setAPILoader(false);\n message.error(\n \"Something went to wrong! Please contact to admin for more information.\",\n );\n }\n }\n };\n\n return (\n <>\n
\n \"\"\n
\n
\n \n \n {loader && (\n
\n \n
\n )}\n \n
\n
\n
HURRY...APPLY NOW FOR YOUR
\n
\n
7 DAYS FREE TRIAL
\n
\n
\n\n
\n \"laptop\"\n
\n \n \n \n
\n }\n placeholder=\"Full Name\"\n label=\"Full Name\"\n type=\"text\"\n name=\"name\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n />\n
\n {errors.name}\n
\n }\n placeholder=\"Email\"\n label=\"Email Address\"\n type=\"text\"\n name=\"email\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n />\n
\n {errors.email}\n
\n }\n placeholder=\"Company Name\"\n label=\"Company\"\n type=\"text\"\n name=\"companyName\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n />\n\n
\n {errors.companyName}\n
\n\n }\n placeholder=\"Phone Number\"\n label=\"Phone Number\"\n type=\"number\"\n name=\"contactNo\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n maxLength=\"10\"\n />\n\n
\n {errors.contactNo}\n
\n \n \n }\n placeholder=\"Password\"\n name=\"password\"\n onChange={handleAllChange}\n />\n
\n {errors.password && (\n <>\n Password must have:
\n 1. Minimum 8 characters
\n 2. Atleast one upper case and smaller case required{\" \"}\n
\n 3. Atleast one special character required
\n 4. Atleast one number required
5. No spaces\n accepted\n \n )}\n
\n
\n \n \n }\n placeholder=\"Confirm Password\"\n name=\"confirmPassword\"\n onChange={handleAllChange}\n />\n
\n {errors.confirmPassword}\n
\n
\n \n \n
\n \n \n \n
\n
\n \n

\n {/* 7 days free from today, then just $300/m (plus applicable\n taxes). Cancel through your dashboard or by e-mail\n (admin@theonepercentsoftware.com) */}\n *After 7 Days, you will be subscribed for ONE% Software\n and will get charged $300/mo (plus applicable taxes).\n Cancel any time through your dashboard or by e-mail\n (admin@theonepercentsoftware.com)\n

\n
\n\n \n \n Start My Free Trial\n \n \n \n \n \n \n \n
\n \n \n );\n}\n\nexport default SignUp;\n","/* eslint-disable no-unused-vars */\nimport { MailOutlined, PhoneOutlined } from \"@ant-design/icons\";\nimport { Button, Card, Col, Form, Input, message, Row } from \"antd\";\nimport React, { useEffect, useState } from \"react\";\nimport { Container } from \"react-bootstrap\";\nimport PhoneInput from \"react-phone-input-2\";\nimport { useSelector } from \"react-redux\";\nimport { Link, Navigate, useLocation } from \"react-router-dom\";\n\nimport { signup } from \"../../api/auth\";\nimport arrow from \"../../images/arrow.png\";\nimport company from \"../../images/company.png\";\nimport lock from \"../../images/lock.png\";\nimport user from \"../../images/user.png\";\nimport { createValidUrl } from \"../../utils/commonFuctions\";\nimport { signUpStepOneSchema } from \"../../validators/auth/auth.validator\";\nimport InputField from \"../inputField/inputField.component\";\nimport SmallLoader from \"../loader/smallLoader\";\n\nconst customStyle = {\n WebkitAppearance: \"none\", // Disable default arrow button appearance for webkit browsers\n MozAppearance: \"none\", // Disable default arrow button appearance for Mozilla Firefox\n appearance: \"none\", // Disable default arrow button appearance for other browsers\n paddingRight: \"4px\", // Adjust padding to align the input text\n color: \"green\",\n};\nfunction SignUpForm() {\n const location = useLocation();\n const cdnToken = useSelector((state) => state.api.cdnToken);\n const [form, setForm] = useState({\n email: \"\",\n password: \"\",\n confirmPassword: \"\",\n companyName: \"\",\n contactNo: \"\",\n name: \"\",\n });\n const [state, setState] = useState({\n message: \"\",\n });\n const [errors, setErrors] = useState({});\n const [redirect, setRedirect] = useState(null);\n const [loader, setLoader] = useState(false);\n\n const handleAllChange = (e) => {\n if (\n e.target.name === \"contactNo\" &&\n (e.target.value?.length > 11 || e.target.value?.length < 11)\n ) {\n setErrors({\n ...errors,\n contactNo: \"Contact number should be 10 digits\",\n });\n setForm({ ...form, [e.target.name]: e.target.value });\n } else {\n setErrors({ ...errors, contactNo: \"\" });\n setForm({ ...form, [e.target.name]: e.target.value });\n }\n };\n\n const handleSubmit = async (e) => {\n e && e?.preventDefault();\n setErrors({});\n const { isValid, errors: formError } = signUpStepOneSchema(form);\n if (!isValid) {\n if (\n form.contactNo &&\n (form.contactNo?.length > 11 || form.contactNo?.length < 11)\n ) {\n const formErrorClone = formError;\n formErrorClone.contactNo = \"Contact number should be 10 digits\";\n setErrors(formErrorClone);\n } else {\n setErrors(formError);\n }\n setState({\n message: \"\",\n });\n } else if (\n form.contactNo &&\n (form.contactNo?.length > 11 || form.contactNo?.length < 11)\n ) {\n const errorsClone = { ...errors };\n errorsClone.name = \"\";\n errorsClone.email = \"\";\n errorsClone.companyName = \"\";\n errorsClone.password = \"\";\n errorsClone.confirmPassword = \"\";\n errorsClone.contactNo = \"Contact number should be 10 digits\";\n setErrors(errorsClone);\n setState({\n message: \"\",\n });\n } else {\n const payload = { ...form };\n setLoader(true);\n const result = await signup(payload);\n if (result?.errors) {\n message.error(\n result?.errors?.errors?.paymentStatusMessage ||\n result?.errors?.errors?.email ||\n result?.errors?.errors?.company ||\n result?.errors?.errors?.message ||\n \"Something went wrong!\",\n 10,\n );\n setLoader(false);\n setErrors(result.errors.errors);\n setErrors(result.errors.errors);\n setLoader(false);\n } else {\n setLoader(false);\n setForm({\n ...form,\n email: \"\",\n password: \"\",\n confirmPassword: \"\",\n companyName: \"\",\n name: \"\",\n contactNo: \"\",\n });\n message.success(\n \"Your account is created and send to admin to your account approval\",\n 10,\n );\n setRedirect(\"/auth\");\n }\n }\n };\n\n if (redirect) {\n return ;\n }\n\n return (\n
\n \n \n {loader && (\n
\n \n
\n )}\n \n
\n
\n Welcome to ZEVBIT SOFTWARE\n
\n
\n
Transform Your Business
\n \n \n \n
\n \n \n \n
\n
\n

\n \n \"\"\n {\" \"}\n Sign Up\n

\n
\n
\n }\n placeholder=\"Full Name\"\n label=\"Full Name\"\n type=\"text\"\n name=\"name\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n />\n
\n {errors.name}\n
\n }\n placeholder=\"Email\"\n label=\"Email Address\"\n type=\"text\"\n name=\"email\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n />\n
\n {errors.email}\n
\n }\n placeholder=\"Company Name\"\n label=\"Company\"\n type=\"text\"\n name=\"companyName\"\n dclass=\"ant-icon-space mb-0\"\n onChange={handleAllChange}\n />\n\n
\n {errors.companyName}\n
\n\n \n \n {\n const temp = {\n target: {\n value: e,\n name: \"contactNo\",\n },\n };\n handleAllChange(temp);\n }}\n countryCodeEditable={false}\n onlyCountries={[\"us\"]}\n disableCountryGuess\n country=\"us\"\n placeholder=\"+1(253) 555-2555\"\n />\n \n\n
\n {errors.contactNo}\n
\n \n \n }\n placeholder=\"Password\"\n name=\"password\"\n onChange={handleAllChange}\n />\n
\n {errors.password && (\n <>\n Password must have:
\n 1. Minimum 8 characters
\n 2. Atleast one upper case and smaller case required{\" \"}\n
\n 3. Atleast one special character required
\n 4. Atleast one number required
5. No spaces\n accepted\n \n )}\n
\n
\n \n \n }\n placeholder=\"Confirm Password\"\n name=\"confirmPassword\"\n onChange={handleAllChange}\n />\n
\n {errors.confirmPassword}\n
\n
\n \n \n Sign Up\n \n \n \n \n \n
\n
\n
\n );\n}\n\nexport default SignUpForm;\n","import { Button, Card, Col, Form, Input, message, Row } from \"antd\";\nimport React, { useState } from \"react\";\nimport { Container } from \"react-bootstrap\";\nimport { Link, Navigate } from \"react-router-dom\";\n\nimport { signup } from \"../../api/auth\";\nimport arrow from \"../../images/arrow.png\";\nimport lock from \"../../images/lock.png\";\nimport { signUpStepOneSchema } from \"../../validators/auth/auth.validator\";\n\nexport default function SignUpNext() {\n const [form, setForm] = useState({\n email: \"\",\n password: \"\",\n confirmPassword: \"\",\n companyName: \"\",\n contactNo: \"\",\n name: \"\",\n });\n const [state, setState] = useState({\n message: \"\",\n });\n const [errors, setErrors] = useState({});\n const [redirect, setRedirect] = useState(null);\n\n const handleAllChange = (e) => {\n setForm({ ...form, [e.target.name]: e.target.value });\n };\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n setErrors({});\n const { isValid, errors } = signUpStepOneSchema(form);\n if (!isValid) {\n setErrors(errors);\n setState({\n message: \"\",\n });\n } else {\n const result = await signup(form);\n if (result.errors) {\n setErrors(result.errors.errors);\n } else {\n setForm({\n ...form,\n email: \"\",\n password: \"\",\n confirmPassword: \"\",\n companyName: \"\",\n name: \"\",\n contactNo: \"\",\n });\n\n setRedirect(\"/auth\");\n message.success(\n \"Your account is created and send to admin to your account approval\",\n 5,\n );\n }\n }\n };\n\n if (redirect) {\n return ;\n }\n\n return (\n <>\n
\n \n \n \n
\n
\n Welcome to ZEVBIT SOFTWARE\n
\n
\n \n \n \n
\n \n \n \n
\n
\n

\n \n \"\"\n {\" \"}\n Sign Up\n

\n
\n
\n \n \n }\n placeholder=\"Password\"\n name=\"password\"\n onChange={handleAllChange}\n />\n
\n {errors.password && (\n <>\n Password must have:
\n 1. Minimum 8 characters
\n 2. Atleast one upper case and smaller case required{\" \"}\n
\n 3. Atleast one special character required
\n 4. Atleast one number required
5. No spaces\n accepted\n \n )}\n
\n
\n \n \n }\n placeholder=\"Confirm Password\"\n name=\"confirmPassword\"\n onChange={handleAllChange}\n />\n
\n {errors.confirmPassword}\n
\n
\n
\n {state.message}\n
\n \n Sign Up\n \n \n \n \n
\n
Transform Your Business
\n
\n
\n \n );\n}\n","import { Elements } from \"@stripe/react-stripe-js\";\nimport { loadStripe } from \"@stripe/stripe-js\";\nimport React, { Component } from \"react\";\nimport { Navigate, Route, Routes } from \"react-router-dom\";\n\nimport Login from \"../components/auth/Login\";\nimport SetDashboard from \"../components/auth/SetDashboard\";\nimport SignUp from \"../components/auth/SignUp\";\nimport SignUpForm from \"../components/auth/signUpForm\";\nimport SignUpNext from \"../components/auth/SignUpNext\";\nconst stripePromise = loadStripe(process.env.REACT_APP_STRIPE_PRIVATE_KEY);\nconst options = {\n // passing the client secret obtained from the server\n // clientSecret: process.env.REACT_APP_STRIPE_PRIVATE_KEY,\n};\nexport default class Auth extends Component {\n render() {\n if (\n localStorage.getItem(\"isCompleteSetup\") &&\n localStorage.getItem(\"isCompleteSetup\") === \"false\"\n ) {\n return ;\n }\n return (\n <>\n \n } />\n } />\n } />\n } />\n \n \n \n } />\n \n \n \n );\n }\n}\n"],"sourceRoot":""}