{"version":3,"sources":["config.js","store/registration/logindSlice.js","services/registrationApi.js","components/Header/index.js","components/registration/Inputs/InputField.js","components/registration/Inputs/InputFieldPhone/index.js","components/registration/Inputs/SelectField.js","components/registration/Inputs/InputFieldArray.js","components/registration/Inputs/InputCheckBoxField.js","components/registration/Inputs/InputCurrencyField.js","components/registration/Inputs/InputDateField/index.js","components/registration/Inputs/InputPasswordField/index.js","components/registration/Inputs/InputSimplePassword.js","components/common/googleAutocomplete/googleAutocomplete.js","components/common/SupportSection/SupportSection.js","components/registration/RegistrationOfficeFormBody.js","components/common/superHeader/superHeader.js","assets/images/logo.png","containers/register/registerOffice.js","services/identificationApi.js","containers/instruction/RenderQuillText.js","containers/instruction/instruction.js","store/registration/fromSubmitSlice.js","store/identification/sideMenuSlice.js","store/identification/tabStateSlice.js","containers/identification/identification.js","containers/identification/identification-view.js","assets/images/DocuVerusLogoorg.png","components/forgotPassword/forgotPassword.js","containers/login/login.js","containers/resetPassword/resetPassword.js","PrivateRoute.js","components/registration/Inputs/InputTextArea.js","components/identification/identification-details/address/property-type/property-type.js","components/registration/Inputs/InputMaskFieid.js","components/identification/identification-details/personal-details/InputFieldArrayLandlord.js","components/identification/identification-details/address/address.js","components/registration/Inputs/customRadioButton.js","components/identification/identification-details/personal-details/InputFieldArray.js","components/identification/identification-details/personal-details/alias/alias.js","components/identification/identification-details/personal-details/personal-details.js","components/common/CustomUpload/CustomUpload.js","components/common/uploadFile/uploadFile.js","components/registration/Inputs/RadioInputField.js","components/identification/identification-details/proof-of-identity/proof-of-identity.js","components/identification/identification-details/ssn/ssn.js","components/identification/identification-details/identification-details.js","components/identification/applicant-details/applicant-detail/applying/applying.js","components/identification/applicant-details/applicant-detail/cooccupant/cooccupant.js","components/identification/applicant-details/applicant-detail/cosigner/cosigner.js","components/identification/applicant-details/applicant-detail/applicant-detail.js","components/identification/applicant-details/contacts/emergency-contact/emergency-contact.js","components/identification/applicant-details/contacts/reference/reference.js","components/identification/applicant-details/contacts/contacts.js","components/identification/applicant-details/finantial-details/finantial-details.js","components/identification/applicant-details/others/pets/pets.js","components/identification/applicant-details/others/others.js","components/identification/applicant-details/applicant-details.js","components/common/FileIcon/index.js","components/identification/income-banking/other-income/source.js","components/identification/income-banking/other-income/other-income.js","components/identification/income-banking/other-documents/other-documents.js","services/mlApi.js","components/identification/income-banking/banking-information/source.js","components/identification/income-banking/banking-information/banking-information.js","components/identification/income-banking/employement-income/employer-source.js","components/identification/income-banking/employement-income/employement-income.js","components/identification/income-banking/income-banking-other-form.js","components/identification/income-banking/income-banking.js","components/common/eSignature/SignaturePadComponent.js","components/common/eSignature/SignatureFromComponent.js","components/common/eSignature/eSignature.js","components/common/stripeButton/stripeButton.js","components/identification/consent-payment/payment-signature/payment-signature.js","components/identification/consent-payment/consent-payment.js","containers/Doc_upload/Paystub_Source.js","containers/Doc_upload/ProofOfBank_doc_upload.js","containers/Doc_upload/ProofOfIdentity_doc_upload.js","containers/Doc_upload/ProofOfIncome_doc_upload.js","containers/Doc_upload/ProofOfOtherIncome_doc_upload.js","containers/Doc_upload/ProofOfOther_doc_upload.js","containers/Doc_upload/ProofOfSSN.js","containers/Doc_upload/Identification_doc_upload.js","containers/Doc_upload/view.js","containers/Update_Address/UpdateDesireAddress.js","containers/Secondary_App/SecondaryApp.js","containers/Update_Address/UpdateDesireAddressProperty.js","containers/Success.js","containers/ViewConsent.js","containers/camera-scan/CameraScan.js","dbr.js","containers/backbarcode-scan/BackBarcodeScan.js","assets/mobile/images/cloud-icon.svg","assets/mobile/images/pic-icon.svg","containers/scan-home/ScanHome.js","containers/camera-scan-back/cameraScanBack.js","containers/scan-menu/ScanMenu.js","containers/scan-success/ScanSuccess.js","components/mlFileUpload/MLFileUpload.js","containers/ml/PredictPaystub.js","containers/ml/PredictBanckStatement.js","containers/Camera/camera/styles.js","containers/Camera/camera/index.js","containers/Camera/hooks/use-user-media.js","containers/Camera/hooks/use-card-ratio.js","containers/Camera/hooks/use-offsets.js","containers/Camera/styles.js","containers/Camera/index.js","App.js","store/registration/registrationSlice.js","store/registration/formInputCacheSlice.js","store/registration/index.js","store/identification/index.js","store/index.js","index.js"],"names":["BASE_URL_API","process","BASE_URL_LOCAL","logout_url","loginSlice","createSlice","name","initialState","email","token","logout","urlGeneratedAts","trnId","applicationType","newApp","refreshToken","reducers","state","action","payload","localStorage","clear","newApplication","_loginSlice$actions","actions","BASE_URL","baseQuery","fetchBaseQuery","baseUrl","prepareHeaders","headers","_ref","_getState$persistedRe","getState","persistedReducer","accessToken","set","concat","baseQueryWithReauth","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","args","api","extraOptions","_api$getState","result","refreshResult","data","wrap","_context","prev","next","console","warn","sent","error","status","log","dispatch","window","location","replace","message","abrupt","url","method","body","ok","json","tokendata","_readOnlyError","stop","_x","_x2","_x3","apply","arguments","registrationApi","createApi","reducerPath","endpoints","builder","logoutUser","mutation","query","loginUser","forgotUser","resetUser","createUser","getMasterRegistrationData","maxRetries","transformResponse","_transformResponse","_callee2","response","_response$records","_response$records4","_response$records6","_response$records7","_response$records8","_response$records9","_response$records10","_response$records11","hearAboutUsSelected","_response$records2","_hearAbout$","hearAbout","userState","agents","floors","lds","selected_agent","res","_context2","records","States","map","item","index","value","ID","label","StateShortCode","StateName","HearAboutUs","LeadSource","filter","_response$records3","_response$records3$He","_item$LeadSource","toLowerCase","State","_response$records5","Agents","ASPNetUserID","FullName","FloorCode","MinimumRent","MaximumRent","push","_objectSpread","hearAboutUs","Offices","OfficeName","length","city","City","desiredAddress","DesiredPropertyAddress","unitNo","DesiredUnitNumber","desiredRent","DesiredRent","moveInDate","DesiredMoveInDate","_x4","acceptTermsAndConditions","trn_id","useGetMasterRegistrationDataQuery","useCreateUserMutation","useLoginUserMutation","useForgotUserMutation","useResetUserMutation","useAcceptTermsAndConditionsMutation","useLogoutUserMutation","Header","_data$records","useSelector","_useGetMasterRegistra","isLoading","isSuccess","_jsx","_Fragment","children","className","_jsxs","style","flex","src","subrciber_logo","alt","subscriber_name","title","application_number","InputField","props","required","undefined","notRequired","register","_useFormContext","useFormContext","control","setValue","_useController","watch","useController","field","fieldState","htmlFor","minLength","maxLength","type","disabled","disable","placeholder","onBlur","e","_field$value","dependentFun","triggerDependent","target","inputType","val","convertSSNFormat","id","InputFieldPhone","getValues","viewOnlyFlag","formSubmit","Controller","render","PhoneInput","disableDropdown","country","countryCodeEditable","inputProps","ref","onChange","formattedValue","inputClass","SelectField","isDisable","onChangeCallback","customStyles","base","border","backgroundColor","_fieldState$error","_fieldState$error$val","_fieldState$error2","creatable","CreatableSelect","isDisabled","styles","options","Select","display","InputFieldArray","useWindowWidth","identification","sideMenuSlice","_useFieldArray","useFieldArray","focusAppend","fields","append","remove","_useFormState","useFormState","errors","dirtyFields","showNumberType","rigesterKey","number","addMultipleNumber","onClick","event","xmlns","width","height","fill","viewBox","d","paddingLeft","windowWidth","Stack","sx","textTransform","marginTop","spacing","ErrorMessage","Alert","severity","InputCheckBoxField","checked","InputCurrencyField","rest","_objectWithoutProperties","_excluded","CurrencyInput","allowNegativeValue","precision","disableAbbreviations","onValueChange","decimalsLimit","prefix","parseDate","str","dateParts","split","_dateParts","_slicedToArray","month","day","year","Date","isoDate","isNaN","String","getUTCMonth","padStart","getUTCDate","getUTCFullYear","ExampleCustomInput","forwardRef","inputFun","InputMask","mask","inputRef","InputDateField","ReactDatePicker","elem","input","customInput","maxDate","minDate","placeholderText","selected","date","getMonth","slice","getDate","getFullYear","formatDate","dateFormat","showYearDropdown","InputPasswordField","_useState","useState","color","percentage","_useState2","setStyle","strongRegex","RegExp","mediumRegex","test","hint","background","InputSimplePassword","GoogleAutoComplete","Autocomplete","apiKey","onPlaceSelected","place","autocomplete","_props$groupFieldName","_props$groupFieldName2","address","address_components","ShouldBeComponent","home","postal_code","street","region","forEach","component","shouldBe","indexOf","types","short_name","long_name","getAddressObject","trim","startsWith","fullAddress","groupFieldName","shouldValidate","zip","getSelected","state_data","includes","componentRestrictions","SupportSection","clickHere","setClickHere","RegistrationFormBody","_watch","_watch$label","_watch$label$split$","_watch2","_watch2$label","_watch2$label$split$","_watch3","_watch3$label","_watch3$label$label","_watch3$label$label$s","_data$records$propert","_data$records2","_data$records2$Office","_data$records3","_data$records4","_data$records4$proper","_watch4","_watch5","_watch6","_watch6$label","_watch7","_watch8","_data$records5","_watch9","_getUnitsList","_watch10","_watch11","_watch12","_watch13","_getValues","_watch14","_data$records6","_data$records7","_data$records8","nav","setNav","_useState3","_useState4","setNextMonthDate","_useState5","_useState6","_useState7","_useState8","showAnotherPhone","setShowAnotherPhone","useDispatch","isError","getUnitsList","floorId","units","FloorPlanID","UnitName","trigger","formState","useEffect","nextDate","getNextMonthDate","document","property_rent","property","LogoURL","Office","maxHeight","PropertyName","Number","join","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","preventDefault","href","onFocus","tabIndex","ImCross","size","suffix","Email_check","copyEmailNotUnique","i_confirm","SuperHeader","useNavigate","useLocation","_React$useState","React","_React$useState2","anchorEl","setAnchorEl","open","Boolean","addScript","createElement","setAttribute","appendChild","googleTranslateElementInit","google","translate","TranslateElement","pageLanguage","layout","InlineLayout","SIMPLE","_useLogoutUserMutatio","_useLogoutUserMutatio2","justifyContent","pathname","paddingRight","Button","currentTarget","clipPath","cx","cy","r","stroke","transform","Menu","onClose","MenuListProps","MenuItem","Register","_response$error3","navigate","_useCreateUserMutatio","_useCreateUserMutatio2","yup","this","typeError","matches","nullable","list","isUnique","row","i","j","JSON","stringify","schema","shape","fname","min","lname","mname","mobile","of","temp","toString","agent","isDynamicRequiredString","otherAgentName","when","is","then","coOperatingAgentStatus","coAgentName","realEstateAgency","password","username","reEnterPassword","oneOf","reEmail","rent","desiredMoveInDate","onSubmit","fromData","_fromData$unit","_fromData$unit$label","_fromData$unit$label$","_fromData$unit2","_fromData$unit2$label","_fromData$unit2$label2","_fromData$floor","_fromData$floor$label","_fromData$floor$label2","_response$data","_response$data$record","_response$data2","_response$data2$recor","formData","_response$error","_response$error$data","_response$error2","_response$error2$data","_response$data3","_response$data4","_response$data4$recor","_response$data5","_response$data5$recor","unit","floor","trnid","toast","dangerouslySetInnerHTML","__html","pauseOnHover","autoClose","success","pauseOnFocusLoss","methods","useForm","defaultValues","other","resolver","yupResolver","mode","reValidateMode","_data$records9","_data$records9$select","_data$records10","_data$records10$selec","_data$records11","_data$records11$selec","_data$records12","_data$records12$selec","_data$records13","_data$records14","_data$records15","_data$records15$selec","_data$records16","_data$records16$selec","_data$records17","_data$records17$selec","_data$records18","_data$records19","first_name","shouldDirty","middle_name","last_name","select_floor","selected_unit","handleSubmit","setFocus","Object","keys","reduce","a","getElementById","focus","Loader","radius","timeout","FormProvider","RegistrationOfficeFormBody","DevTool","ToastContainer","alert","fetch","identificationApi","tagTypes","getIncomeBanking","providesTags","_response$records2$em","_response$records2$em2","_response$records3$ot","_response$records3$ot2","_response$records4$ba","_response$records4$ba2","employerStatusOptions","addKeyToEmployer","employment_details","employer","_item$files","_item$files2","_response$records$sta","updatedEmployerStatus","employer_status","availableToUpload","files","no_doc_reason","fileCount","pay_frequency","gross_pay_verify","actual_state","states","singleState","employer_state","addKeyToOtherEmployer","other_income_details","otherincome","_item$files3","_item$files4","other_income_type","rental_assistance_type","addKeyToBank","banking_details","banking","_item$files5","_item$files6","_item$files7","account_type","other_reason","employerCount","singleEmp","_singleEmp$actual_sta","_singleEmp$actual_sta2","_singleEmp$actual_sta3","_singleEmp$actual_sta4","stateBody","iscurrent_employer","getCompanyLogo","getApplicantStatus","applicant_status","getTermandCondtion","getTermandCondtionRegistration","addEmployerSource","invalidatesTags","getvalidationCheckId","getvalidationCheckIncome","getvalidationCheckBank","getDocumentSectionwise","_ref3","profileID","subscriberId","acc","DisplayName","FinalValue","getQuestionsSectionwise","_ref4","_ref4$profileTab","profileTab","CaptionName","uploadFileService","getIdentificationData","_callee3","_response$records5$ad","_response$records$app","_response$records$app2","stateId","selectedState","_context3","identification_data","_ref5","singleAddress","_x5","_x6","applicant","otherPhoneCaption","alias_status","Alias","availableToUpload_id","isNameMatched","isDOBMatched","is_current_address","move_in_date","move_out_date","ssn_data","availableToUpload_ssn","file","saveIdDetails","addToReviewQ","savePayslip","deleteDocument","deleteSource","getDetails","labelCount","questionsLength","anyone_over_18","labelIndex","co_occupants","is_co_signer","reference","emergency_reference","renters_insurance","eviction_or_nonpayment","contingencies","filed_for_bankruptcy","is_student","have_vehicle","have_pet","do_you_smoke","convicted_for_crime","saveContexttual","savePayment","updatereviewpending","getSectionStatus","getViewConsent","getIdDocumentStatus","mobileScanSave","getUpdatedDesiredAddress","_transformResponse2","_callee4","_response$records9$re","_response$records9$re2","shortCodeUserState","applicantState","_context4","recordset","_x7","updateDesiredAddess","getSecondaryAppDetails","convictions_on_property","proof_of_document","saveSecondaryApp","getDocumentImg","img_id","getSubscriberFees","updateFloorPlanUnit","getUpdatedFloorsAndUnit","useUploadFileServiceMutation","useGetCompanyLogoQuery","useGetIdentificationDataQuery","useSaveIdDetailsMutation","useAddToReviewQMutation","useDeleteDocumentMutation","useGetDetailsQuery","useSaveContexttualMutation","useGetIncomeBankingQuery","useDeleteSourceMutation","useSavePayslipMutation","useAddEmployerSourceMutation","useGetApplicantStatusQuery","useSavePaymentMutation","useGetSectionStatusQuery","useUpdatereviewpendingMutation","useGetViewConsentQuery","useGetUpdatedDesiredAddressQuery","useUpdateDesiredAddessMutation","useGetSecondaryAppDetailsQuery","useSaveSecondaryAppMutation","useGetIdDocumentStatusQuery","useGetDocumentImgQuery","useMobileScanSaveMutation","useGetSubscriberFeesQuery","useUpdateFloorPlanUnitMutation","useGetUpdatedFloorsAndUnitQuery","useGetTermandCondtionQuery","useGetTermandCondtionRegistrationQuery","useGetvalidationCheckIdQuery","useGetvalidationCheckIncomeQuery","useGetvalidationCheckBankQuery","useGetDocumentSectionwiseQuery","useGetQuestionsSectionwiseQuery","RenderQuillText","text","quillRef","useRef","quillInstanceRef","current","Quill","theme","readOnly","modules","toolbar","quillEditor","root","innerHTML","clipboard","dangerouslyPasteHTML","Instruction","_registerTermsData$da3","_registerTermsData$da4","_registerTermsData$da5","_registerTermsData$da6","_registerTermsData$da7","_registerTermsData$da8","_registerTermsData$da9","_registerTermsData$da10","_registerTermsData$da11","_registerTermsData$da12","_dataTerm$records","_dataTerm$records2","_dataTerm$records3","_dataTerm$records4","i_accept","registerTermsData","dataTerm","_useAcceptTermsAndCon","selectedTab","setSelectedTab","_React$useState3","_React$useState4","openInstruction","setOpenInstruction","_React$useState5","_React$useState6","openTerms","setOpenTerms","_React$useState7","_React$useState8","_registerTermsData$da","_registerTermsData$da2","subscriber_text","role","Accordion","expanded","AccordionSummary","expandIcon","AiOutlinePlus","Typography","BsCheck2Circle","wordWrap","wordBreak","whiteSpace","fromSubmit","fromSectionSubmit","formSubmitStatus","formSubmitStatusRest","setViewOnlyFlag","_fromSubmit$actions","applicantFirstName","applicantMiddleName","applicantLastName","applicantNameMatched","applicantDOBMatched","applicationStatus","firstnameError","lastnameError","emailError","mobilenumberError","dateofbirthError","aliasfirstnameError","aliaslastnameError","isaliasrequired","isproofofidentityrequired","proofOfIdentityFilePresent","personalDetailsStatus","proofOfIdentityStatus","addressStatus","ssnStatus","applicantDetailsStatus","contactsStatus","financialDetailsStatus","otherStatus","employeeIncomeStatus","otherIncomeStatus","bankingInformationStatus","otherDocumentStatus","termsAndConditionStatus","paymentSignatureStatus","uploadPetImageId","innerWidth","scanMenu","applicationFee","subscriberFee","sideNav","applicationStatusState","personalDetailStatus","_action$payload","_action$payload3","_action$payload12","_action$payload15","_action$payload2","_action$payload2$data","file_id","_action$payload4","_action$payload9","_action$payload10","_action$payload11","_action$payload5","_action$payload6","_action$payload7","_action$payload8","_toConsumableArray","_action$payload13","_action$payload14","element","scanMenuSelect","enterApplicationFee","enterSubscriberFee","sideNavAction","tabsState","personalErr","ProofOfIdentityStatus","AddressStatus","SsnStatus","ApplicantDetailStatus","ApplicantErr","ContactsStatus","FinantialDetailStatus","OtherStatus","IncomeStatus","OtherIncomeStatus","BankStatus","OtherDocStatus","IncomeErr","termsStatus","paymentStatus","paymentErr","sideNavApplicant","sideNavIncome","sideNavPayment","sideNavIdentification","personalDetail","ProofOfIdentity","Address","Ssn","ApplicantDetail","Contacts","FinantialDetail","Other","Income","OtherIncome","Bank","OtherDoc","Terms","Payment","PaymentErr","sideNavIdentificationReducer","sideNavApplicantReducer","sideNavIncomeReducer","sideNavPaymentReducer","tabsStateAction","Identification","_application_status$a5","_application_status$a6","_application_status$a7","_application_status$a8","_application_status$a9","_application_status$a10","_application_status$a11","_application_status$a12","_application_status$a13","disableNextBtn","setDisableNext","identificationData","sectionCompleteStatus","contextualData","application_status","subTabs","tabsStateSlice","_application_status$a","_application_status$a2","_application_status$a3","_application_status$a4","identification_details_status","applicant_details_status","income_banking_status","consent_payment_status","BsCheckLg","Outlet","setTimeout","IdentificationView","boxSizing","IoMdArrowRoundBack","FaCheck","ForgotPassword","_useForgotUserMutatio","_useForgotUserMutatio2","maxWidth","emit","catch","getUrlAndTransId","path","splitPath","shift","fullPath","Login","forgotFlag","setForgotFlag","_useLoginUserMutation","_useLoginUserMutation2","getId","URLSearchParams","search","get","searchToken","_getUrlAndTransId","initiate","track","refetch","Logo","tempObj","_getUrlAndTransId2","_getUrlAndTransId3","_getUrlAndTransId4","_getUrlAndTransId5","sessionStorage","setItem","Modal","disableBackdropClick","onAbort","ResetPassword","guid","setGuid","_useResetUserMutation","_useResetUserMutation2","_props$match","_props$match$params","_props$match2","_props$match2$params","match","params","uid","DocumentContext","createContext","useDocumentContext","useContext","ContextWrappingForSuccess","_registrationPage$rec13","_registrationPage$rec14","_registrationPage$rec15","_registrationPage$rec16","_registrationPage$rec17","_registrationPage$rec18","_registrationPage$rec19","_registrationPage$rec20","_registrationPage$rec21","_registrationPage$rec22","_registrationPage$rec23","_registrationPage$rec24","documentData","setDocumentData","_useState9","_useState10","sectionData","setSectionData","_useState11","_useState12","setIdentificationData","_useGetApplicantStatu2","_useGetMasterRegistra2","isFetching","registrationPage","_useGetDocumentSectio2","ApplicationProfileID","subscriber_id","skip","documentWise","documentWiseLoading","_useGetQuestionsSecti3","sectionWise","sectionWiseLoading","_useGetQuestionsSecti4","identificationWise","identificationLoading","Provider","PrivateRouteViewOnly","_registrationPage$rec25","_registrationPage$rec26","_registrationPage$rec27","_registrationPage$rec28","_registrationPage$rec29","_registrationPage$rec30","_registrationPage$rec31","_registrationPage$rec32","_registrationPage$rec33","_registrationPage$rec34","_registrationPage$rec35","_registrationPage$rec36","_useState13","_useState14","_useState15","_useState16","_useState17","_useState18","_useGetApplicantStatu3","_useGetMasterRegistra3","_useGetDocumentSectio3","_useGetQuestionsSecti5","_useGetQuestionsSecti6","PrivateRouteInstructions","_useGetSectionStatusQ","accept_terms_and_condition_status","Navigate","to","from","RouteGuardLoginRegistration","RouteCheckGuard","_useSearchParams","useSearchParams","_useSearchParams2","searchParams","_useState19","_useState20","setResult","_useState21","_useState22","_useState23","_useState24","setToken","auth","myHeaders","Headers","requestOptions","redirect","RegisterOffice","PrivateRoute","_registrationPage$rec","_registrationPage$rec2","_registrationPage$rec3","_registrationPage$rec4","_registrationPage$rec5","_registrationPage$rec6","_registrationPage$rec7","_registrationPage$rec8","_registrationPage$rec9","_registrationPage$rec10","_registrationPage$rec11","_registrationPage$rec12","_useGetApplicantStatu","_useGetDocumentSectio","_useGetQuestionsSecti","_useGetQuestionsSecti2","InputTextArea","rows","PropertyType","availableValue","InputMaskField","max","InputFieldArrayLandlord","setDate","setOpen","deleteAddressIndex","setDeleteAddressIndex","keyName","touchedFields","subscription","debouncedSave","unsubscribe","nextSection","setNextSection","useCallback","debounce","nextValue","t0","checkValidation","t1","_useDocumentContext","identificationWiseRules","AccordionDetails","newIndex","TiDelete","IfPreviousMoveOutDate","MoveInDate","LandlordTelephone","ReasonforMoving","fields_id","zipCode","movedDate","propertyType","landLordName","landLordNumber","reasonForMoving","Dialog","DialogTitle","DialogContent","DialogContentText","DialogActions","autoFocus","variant","endIcon","AiOutlineArrowDown","CustomRadioButton","PersonalDetails","deleteAlias","setDeleteAlias","_value$applicant","otherPhoneNumber","applicantAliasLength","applicantAliasStatus","tabindex","moment","subtract","toDate","CustomUpload","_useUploadFileService","_useUploadFileService2","uploadFileRequest","documentId","disableFlag","setDisabledFlag","uploadFile","_step","FormData","_iterator","_createForOfIteratorHelper","s","n","done","f","err","SourceId","allowOfferLetter","_response$data3$recor","petIndex","blob_path","finally","Dropzone","multiple","onDropRejected","v","_step2","_iterator2","_step3","_iterator3","code","maxSize","onDrop","accept","onlyPdf","getRootProps","getInputProps","isDragAccept","isDragActive","isDragReject","additionalClass","FaFileUpload","padding","Box","LinearProgress","UploadFile","verifyDetails","RadioInputField","_validationCheck$reco","_validationCheck$reco2","_validationCheck$reco3","_validationCheck$reco4","documentWiseRules","_useDeleteDocumentMut","_useDeleteDocumentMut2","deleteDocumentType","setDeleteDocumentType","deleteDocumentHandler","Barcodedata","_Barcodedata$","_Barcodedata$2","_Barcodedata$3","_Barcodedata$4","_Barcodedata$4$field_","_Barcodedata$5","_Barcodedata$5$field_","_getValues2","_Barcodedata$6","_Barcodedata$6$field_","_getValues3","_Barcodedata$7","_Barcodedata$7$field_","_getValues4","DOB","field_value_original","format","backSide","firstNameChange","lastNameChange","dOBDateChange","validationCheck","hasSSToken","isImg","hasSSTokenBack","PermanentResidentID","USDriversLicense","Passport","Visa","QRCode","class","BiTrash","validation_message","isDeleted","ssnInformation","setSnnInformation","deleteSSN","setDeleteSSN","subscribe","SSNCard","RiInformationLine","MuiAlert","elevation","IdentificationDetails","_getIdentificationDat10","_props$data","_props$data$data","_props$data$data$reco","_getIdentificationDat11","_getIdentificationDat12","_getIdentificationDat13","_getIdentificationDat14","_getIdentificationDat15","_getIdentificationDat16","_getIdentificationDat23","_getIdentificationDat24","_getIdentificationDat25","_getIdentificationDat26","_getIdentificationDat27","_getIdentificationDat28","_getIdentificationDat29","_getIdentificationDat30","_getIdentificationDat31","_getIdentificationDat35","_getIdentificationDat36","_getIdentificationDat37","licenseInformation","setLicenseInformation","submitBtnRef","selectedName","setSelectedName","selectedDOB","setSelectedDOB","firstNameError","setFirstNameError","lastNameError","setLastNameError","mobileNoError","setMobileNoError","dobError","aliasFirstNameError","setAliasFirstNameError","aliasLastNameError","setAliasLastNameError","setSSNError","_useSaveIdDetailsMuta","_useSaveIdDetailsMuta2","nameMatched","formSectionSubmit","_submitBtnRef$current","handleSubmitValidation","click","notEmptyFieldsMethod","createError","myFailureMessage","setNameError","ssn_data_schema","isUS_citizen","otherwise","SSNNumber","ssnNo","validateSSNFormates","address_data_schema","street_address","appartment","zipcode","context","parent","dateConvertMoveIn","getTime","reason","landlord_name","landlord_number","current_rent","mortgage_rent","mortgage_company","identification_data_schema","documenttype_id","backfile","applicant_data_schema","uniquePhone","personaldetails_data_schema","_useState25","_useState26","userFirstName","setUserFirstName","_useState27","_useState28","userLastName","setUserLastName","_useState29","_useState30","userDOB","setUserDOB","_Object$keys","data_form_value","api_data","_data_form_value$iden","_data_form_value$iden2","_api_data$identificat","_data_form_value$iden3","_data_form_value$addr","_api_data$applicant","_data_form_value$appl","_data_form_value$appl2","_data_form_value$appl3","_data_form_value$appl4","_data_form_value$ssn_","_api_data$ssn_data","_data_form_value$ssn_2","_data_form_value$ssn_3","_api_data$ssn_data2","_data_form_value$ssn_4","_api_data$ssn_data3","_data_form_value$ssn_5","mapData","reset","onSubmitDetails","_fromData$ssn_data","_fromData$identificat","_fromData$address","_fromData$ssn_data2","_fromData$identificat2","promise","pending","_fromData$identificat3","_fromData$identificat4","_fromData$identificat5","_fromData$ssn_data3","_fromData$ssn_data4","_fromData$ssn_data5","_getIdentificationDat","_getIdentificationDat2","_getIdentificationDat3","_getIdentificationDat4","_getIdentificationDat5","_getIdentificationDat6","_getIdentificationDat7","_getIdentificationDat8","_getIdentificationDat9","postData","parms","submit","personalDetailsschema","_result","_submitBtnRef$current2","localSchema","_submitBtnRef$current3","_localSchema","_submitBtnRef$current4","_localSchema2","_submitBtnRef$current5","_args4","validateSync","isValid","t2","t3","handleChange","_callee5","validatePersonalDetails","validateProofOfIdentity","_personalDetailsschema","_submitBtnRef$current6","_localSchema3","_submitBtnRef$current7","_submitBtnRef$current8","_localSchema4","_submitBtnRef$current9","_submitBtnRef$current10","_submitBtnRef$current11","_context5","clearErrors","hash","Snackbar","anchorOrigin","vertical","horizontal","CloseIcon","fullWidth","textAlign","AiOutlineCloseCircle","float","toUpperCase","_getIdentificationDat17","_getIdentificationDat18","_getIdentificationDat19","_getIdentificationDat20","_getIdentificationDat21","_getIdentificationDat22","_getIdentificationDat32","_getIdentificationDat33","_getIdentificationDat34","_callee6","_context6","Applying","_useDeleteSourceMutat","_useDeleteSourceMutat2","is_fixed","is_submitted","checkSourceAvailableHandler","individual","CoOccupant","co_occupants_id","dob","ssn","relationship","CoSigner","co_signer_id","que","over18","setOver18","under18","setUnder18","coSinger","setCosinger","section","find","arr","EmergencyContact","referenceList","defaultValue","arrId","Reference","reference_id","removeReference","setRemovereference","removeEmergencyreference","setRemoveemergencyreference","reference_copy_status","FinantialDetails","removeRenters","setRemoveRenters","_useFormContext2","policy_expirationdate","policy_number","insurance_companyName","Pets","petfile","_state$identification","getPetId","fieldId","setFieldId","_getPetId$uploadPetIm","_petfile$index","file_image","_petfile$index2","pet_type","pet_breed","pet_weight","pet_name","pet_Spayedneutered","service_animal","_getPetId$uploadPetIm2","Others","_is_student$fields","_have_vehicle$fields","removeStudent","setRemoveStudent","removeVehcile","setRemoveVehcile","removePets","setRemovePets","collegeuniversity_name","anticipatedgraduation_date","major","activities","ApplicantDetails","pet_id","_useGetDetailsQuery","_useSaveContexttualMu","_useSaveContexttualMu2","saveContextual","_data$have_pet","setHours","financially_responsible","Question","ProfileTabFieldID","explanation","curr","orig","isAfter","vehicle_year","maxYear","addOneYear","parseInt","vehicle_make","vehicle_model","vehicle_color","vehicle_licenseplate","vehicle_monthlypayment","_args2","applicantDetailsSchema","validateapplicantDetails","contactsSchema","validateContacts","financeSchema","validateFinance","_fromData$have_pet","_fromData$have_pet$fi","_fromData$do_you_smok","havePet","questions","petDetail","_pet_id$uploadPetImag","Index","_props$fileObj3","_props$fileObj4","_props$fileObj5","_props$fileObj5$file_","_props$fileObj6","_props$fileObj7","_props$fileObj8","DeleteResult","_props$fileObj","_props$fileObj2","img","fileObj","path_image","file_name","is_Duplicate","AiFillWarning","substring","isUninitialized","_props$fileObj9","application_document_id","Source","_data$other_income_de","_data$other_income_de2","otherIncomeProof","setOtherIncomeProof","doDelete","deleteResult","isDeleting","setIsDeleting","FileIcon","source_id","document_id","deleteDocResponse","deleteDocError","disabledSouceBtn","setDisabledSourceBtn","_useAddEmployerSource","_useAddEmployerSource2","employerAddResult","_useGetIncomeBankingQ","handleClose","controlId","OtherDocuments","taxOtherDocs","setTaxOtherDocs","other_documents","mlApi","uploadFileMl","getEmailList","useUploadFileMlMutation","useGetEmailListQuery","_data$banking_details","_data$banking_details2","_validationCheck$data","_validationCheck$data2","_validationCheck$data3","_validationCheck$data4","_validationCheck$data5","bankStatementInformation","setBankStatementInformation","paystubWiseRules","MonthlyAmount","BankStatements","margin","validation_messages","BankingInformation","setConfirmDelete","employmentIncomeProof","setEmploymentIncomeProof","comment","setComment","displayContent","setDisplayContent","_monthlyIncome","EmployerName","Occupation","EmployerAddress","EmployerCity","EmployerState","SupervisorName","EmploymentStartDate","NumberFormat","decimalScale","displayType","thousandSeparator","CgComment","Paystub","marginLeft","minWidth","EmployementIncome","Transition","Slide","direction","IncomeBankingOtherForm","_methods$watch","_useSavePayslipMutati","_useSavePayslipMutati2","doSave","indexVerifyGross","setIndexVerifyGross","open1","setOpen1","refSubmitButtom","commonEmploymentFields","employer_name","manager_name","employer_city","employer_address","position","employment_start_date","bankCommonFields","bank_name","current_balance","phone_no","employer_zipcode","avrgross_pay","employment_end_date","unique","other_source","voucher_type","pension_source","other_rental_assistance","otherIncome","rentalAssistance","monthly_income","uniqueOtherIncome","uniqueBank","otherIncomeFormBinding","_otherIncomeDefaultVa","_methods$getValues$ot","_otherIncomeDefaultVa2","_methods$getValues$ot3","otherIncomeDefaultValue","_methods$getValues","_methods$getValues$ot2","replaceItem","arrItem","newOtherIncome","empItem","_payslipDefaultValue$","_methods$getValues$em","_bankDefaultValue$ban","_methods$getValues$ba","payslipDefaultValue","_methods$getValues2","_methods$getValues2$e","_methods$getValues3","_methods$getValues3$e","_methods$getValues4","_methods$getValues4$e","_payslipDefaultValue$2","_methods$getValues$em2","validation_message_status","monthly_avr_gross","newEmployer","isfuture_employer","total_income","total_annual_income","bankDefaultValue","_methods$getValues5","_methods$getValues5$b","_bankDefaultValue$ban2","_methods$getValues$ba2","bank","newBank","resetFormData","formBody","_formBody$employment_","_formBody$employment_2","_formBody$employment_3","_emp$files","emp","_data$pay_frequency","_data$employer_status","_data$files","_data$other_income_ty","_data$files2","_data$account_type","_data$files3","finish","_args3","incomeSchema","validateIncome","otherIncomeSchema","validateOtherIncome","bankSchema","validateBank","TransitionComponent","keepMounted","Grid","container","alignItems","xs","_refSubmitButtom$curr2","parseFloat","toFixed","_refSubmitButtom$curr3","disableRipple","_refSubmitButtom$curr","handleSave","IncomeBanking","Card","SignaturePadComponent","setSignatureImage","applicant_fname","applicant_lname","canvasRef","signaturePadRef","SignatureErr","setSignatureErr","canvas","SignaturePad","resizeCanvas","addEventListener","removeEventListener","_canvas$getContext","ratio","Math","devicePixelRatio","offsetWidth","offsetHeight","getContext","scale","_signaturePadRef$curr2","isEmpty","dataURL","toDataURL","yupSchema","Yup","form","_signaturePadRef$curr","borderRadius","boxShadow","flexDirection","marginBottom","signatureDiv","top","left","SignatureForm","_form$watch2","_form$watch3","signatureRef","fullName","signStyle","applicantFname","applicantLname","normalizedFullName","normalizedFname","normalizedLname","validateFullNameMatches","generateSignatureDebounced","generateSignature","_form$watch","clearRect","cancel","ctx","canvasWidth","canvasHeight","imageWidth","imageHeight","x","y","html2canvas","drawImage","saveSignature","croppedCanvas","getImageData","bottom","right","croppedWidth","croppedHeight","cropWhitespace","signatureData","isNotRequired","overflowX","bgcolor","p","TabPanel","hidden","ModalWithTabs","tabValue","setTabValue","startIcon","FiEdit2","IconButton","borderBottom","borderColor","Tabs","newValue","Tab","SignatureFromComponent","ESignature","CARD_OPTIONS","iconColor","fontSmoothing","invalid","complete","StripeButton","application_fee","sectionStatus","queries","_useSavePaymentMutati","_useSavePaymentMutati2","callSubmit","stripe","useStripe","elements","useElements","clientSecret","appearance","variables","colorPrimary","colorBackground","colorText","colorDanger","spacingUnit","_sectionStatus$data","_sectionStatus$data2","_sectionStatus$data3","_sectionStatus$data4","_sectionStatus$data5","_sectionStatus$data6","_yield$stripe$createP","tokenData","signatureImage","setIsEmptySignature","createPaymentMethod","card","getElement","CardElement","billing_details","addressData","phone","paymentMethod","createToken","address_city","address_line1","billingAddress","address_state","address_zip","amount","stripeTestPromise","loadStripe","PaymentSignature","_identificationData$a","_identificationData$a2","_identificationData$a3","_identificationData$a4","_identificationData$a5","_identificationData$a6","isEmptySignature","Email","watchApplicantBillingAddress","watchApplicantName","Elements","applicantFee","signatureFlag","autoHideDuration","Close","ConsentPayment","setCallSubmit","setSubscriberFee","setApplicantFee","_useGetTermandCondtio","getSubscriberFeesData","_fees_data$records","_fees_data$records$re","_fees_data$records2","_fees_data$records2$r","_fees_data$records3","_fees_data$records3$r","fees_data","SubscriberFee","ApplicationFee","cname","concent","copyapplicant","copybillingaddress","copyapplicantname","rel","Paystub_Source","_field$files","_ref$index","setDialogAction","paystub","warningText","ProofOfBank_doc_upload","_data$banking_details3","ProofOfIdentity_doc_upload","_identification$data6","_identification$data7","_identification$data8","_identification$data9","_identification$data10","_identification$data11","_identification$data12","_identification$data13","_identification$data14","_identification$data15","_identification$data16","_identification$data17","_identification$data18","_identification$data20","radio_data","setRadioData","_identification$data","_identification$data$","docId","setDocId","_identification$data2","_identification$data3","hasSSToken1","_identification$data4","_identification$data5","USPermanentResidentID","DriverLicense","_identification$data19","_identification$data21","BarcodeDocumentID","ProofOfIncome_doc_upload","_data$employment_deta","_data$employment_deta2","_data$employment_deta3","ProofOfOtherIncomeDocUpload","_data$other_income_de3","ProofOfDoc_doc_upload","_data$other_documents","ProofOfSSN","_useGetIdentification","Identification_doc_upload","View","isLoading1","_useAddToReviewQMutat","_useAddToReviewQMutat2","addToReviewQfun","applicationnumber","applicationID","isInReview","UpdateDesireAddress","_useGetUpdatedDesired","_useUpdateDesiredAdde","desired_rent","_data$records$applica","_data$records2$applic","_data$records3$applic","_data$records4$result","SecondaryApp","_data$proof_of_docume4","_useSaveSecondaryAppM","_useSaveSecondaryAppM2","_useGetSecondaryAppDe","deleteDocResult","_data_form_value$conv","_data_form_value$conv2","_api_data$convicted_f","_data_form_value$conv3","_data_form_value$conv4","_api_data$convicted_f2","_data_form_value$conv5","_data_form_value$conv6","_api_data$convictions","_data_form_value$conv7","_data_form_value$conv8","_api_data$convictions2","_api_data$proof_of_do","_data_form_value$proo","_data_form_value$proo2","_api_data$proof_of_do2","_saveSecondaryAppResp","saveSecondaryAppResponse","setOneStepDialog","_data$proof_of_docume","_data$proof_of_docume2","_data$proof_of_docume3","fieldset","onClickSecondary","minSize","_data$proof_of_docume5","filePath","newPath","UpdateDesireAddressProperty","_useUpdateFloorPlanUn","Unit","_formData$floor","_formData$Unit","unitId","Success","_IncomeBankData$data","_IncomeBankData$data$","_IncomeBankData$data$2","_IncomeBankData$data$3","_getMasterRegistratio","_getMasterRegistratio2","_getMasterRegistratio3","_getMasterRegistratio4","_identificationData$d","_identificationData$d2","_identificationData$d3","_identificationData$d4","_getMasterRegistratio5","_getMasterRegistratio6","_getMasterRegistratio7","_getMasterRegistratio8","updateRegisterDialog","setUpdateRegisterDialog","updateRegisterDialog1","setUpdateRegisterDialog1","oneStepDialog","handleClickOpen","getMasterRegistrationdata","IncomeBankData","secondary_status","secondary_complete","textDecoration","document_status","fullScreen","AppBar","Toolbar","edge","_identificationData$d5","_identificationData$d6","_identificationData$d7","_identificationData$d8","_IncomeBankData$data2","_IncomeBankData$data3","_IncomeBankData$data4","_IncomeBankData$data5","_IncomeBankData$data6","_IncomeBankData$data7","_IncomeBankData$data8","_IncomeBankData$data9","_IncomeBankData$data10","_IncomeBankData$data11","_IncomeBankData$data12","_IncomeBankData$data13","_IncomeBankData$data14","_IncomeBankData$data15","_IncomeBankData$data16","_IncomeBankData$data17","_IncomeBankData$data18","_IncomeBankData$data19","_IncomeBankData$data20","ml","dividers","ViewConsent","_termandCondtion$reco","_termandCondtion$reco2","_termandCondtion$reco3","_termandCondtion$reco4","_data$records$","_data$records$2","_data$records$2$Invit","_data$records$3","_data$records$4","_useGetViewConsentQue","termandCondtion","ip","InviteInfo","CreatedOn","name_on_card","transaction_date","card_number","getOS","_window$navigator","_window$navigator$use","userAgent","navigator","platform","userAgentData","os","CameraScan","_useMobileScanSaveMut","_useMobileScanSaveMut2","Save","Result","_useParams","useParams","uploadImag","setUploadimg","fileInputRef","mr","ArrowBack","reader","FileReader","readAsDataURL","onload","base64String","OCRData","raw_data","_res$data","onerror","mt","PhotoCameraOutlinedIcon","CircularProgress","DBR","organizationID","handshakeCode","BarcodeReader","engineResourcePath","_onLog","DLAbbrDesMap","parseDriverLicense","txt","lines","abbrs","line","abbr","content","description","BackBarcodeScan","setPscannerS","pScanner","elRef","createRef","history","pushState","onpopstate","go","scanner","settings","runtimeSettings","BarcodeScanner","createInstance","getRuntimeSettings","regionMeasuredByPercentage","regionLeft","regionTop","regionRight","regionBottom","updateRuntimeSettings","onFrameRead","results","onUnduplicatedRead","encodeURIComponent","barcodeFormatIds","EnumBarcodeFormat","BF_PDF417","LocalizationModes","deblurLevel","getUIElement","destroy","flexGrow","ScanHome","_data$records8$front","_data$records9$back","_useGetIdDocumentStat","startBtnState","setStartBtnState","_data$records$front","_data$records2$back","_data$records3$front","_data$records4$back","_data$records5$front","_data$records6$back","_data$records7$front","front","document_typeid","back","pic","cloud","_data$records10$front","_data$records11$back","_data$records12$front","CameraScanBack","captureBack","base64","rawFromUrl","_licenseInfo$DAQ","_licenseInfo$DAC","_licenseInfo$DAD","_licenseInfo$DCS","_licenseInfo$DAG","_licenseInfo$DAI","_licenseInfo$DAJ","_licenseInfo$DAK","_licenseInfo$DBB","_licenseInfo$DBD","_licenseInfo$DBA","_licenseInfo$DAJ2","decodeRawData","licenseInfo","MYOCRData","decodeURIComponent","DAQ","DAC","DAD","DCS","DAG","DAI","DAJ","DAK","DBB","DBD","DBA","_res$data2","ScanMenu","Container","Paper","MenuList","_data$records$back","_data$records2$front","_data$records3$back","ListItemIcon","ArrowCircleRightIcon","ListItemText","Divider","_data$records7$back","_data$records10$back","_data$records11$front","_data$records12$back","ScanSuccess","_ref$unauthacess","unauthacess","gap","ErrorIcon","strokeWidth","strokeLinecap","strokeLinejoin","MLFileUpload","_useUploadFileMlMutat","_useUploadFileMlMutat2","handleCallbackFileUploadResult","handleCallbackFileUpload","PredectPaystub","_childData$data","_childData$data$recor","childData","setChildData","childPdfFile","setchildPdfFile","URL","createObjectURL","class_predicted","PredictBankStatement","flashAnimation","keyframes","_templateObject","_taggedTemplateLiteral","Wrapper","styled","div","_templateObject2","_templateObject3","Canvas","_templateObject4","Video","video","_templateObject5","Overlay","_templateObject6","Flash","_templateObject7","flash","css","_templateObject8","CAPTURE_OPTIONS","audio","facingMode","Camera","onCapture","onClear","videoRef","setContainer","isVideoPlaying","setIsVideoPlaying","isCanvasEmpty","setIsCanvasEmpty","isFlashing","setIsFlashing","mediaStream","requestedMedia","setMediaStream","_enableVideoStream","stream","mediaDevices","getUserMedia","getTracks","enableVideoStream","useUserMedia","_useCardRatio","initialParams","aspectRatio","setAspectRatio","useCardRatio","_useCardRatio2","calculateRatio","offsets","vWidth","vHeight","cWidth","cHeight","setOffsets","round","useOffsets","videoWidth","videoHeight","handleCanPlay","play","handleCapture","toBlob","blob","srcObject","Measure","bounds","onResize","contentRect","measureRef","onCanPlay","autoPlay","playsInline","muted","onAnimationEnd","CameraIcon","createGlobalStyle","main","footer","CameraRoot","isCameraOpen","setIsCameraOpen","setCardImage","App","updateWindowWidth","BrowserRouter","Routes","Route","exact","registertionSlice","updateOnceOnLoad","_registertionSlice$ac","updateOnChange","formInputCacheSlice","_formInputCacheSlice$","combineReducers","registrationSlice","inputSlice","persistConfig","key","storage","storageSession","persistReducer","registration","store","configureStore","reducer","_reducer","_defineProperty","middleware","getDefaultMiddleware","serializableCheck","persister","persistStore","setupListeners","createTheme","palette","primary","typography","button","components","MuiButton","styleOverrides","contained","ReactDOM","PersistGate","loading","persistor","ThemeProvider"],"mappings":"6eAKaA,EAAeC,6CACfC,EAAiBD,mCAGjBE,EAAaF,2B,QCKpBG,EAAaC,YAAY,CAC7BC,KAAM,QACNC,aAZmB,CACnBC,MAAO,GACPC,MAAO,KACPC,QAAQ,EACRC,gBAAiB,KACjBC,MAAO,EACPC,gBAAiB,KACjBC,QAAQ,EACRC,aAAa,MAKbC,SAAU,CACRJ,MAAO,SAACK,EAAOC,GACTA,EAAOC,UACTF,EAAML,MAAQM,EAAOC,QAEzB,EACAR,gBAAiB,SAACM,EAAOC,GACvBD,EAAMN,gBAAkBO,EAAOC,OACjC,EACAX,MAAO,SAACS,EAAOC,GACbD,EAAMT,MAAQU,EAAOC,OACvB,EACAV,MAAO,SAACQ,EAAOC,GACbD,EAAMR,MAAQS,EAAOC,OACvB,EACAJ,aAAa,SAACE,EAAMC,GAClBD,EAAMF,aAAaG,EAAOC,OAC5B,EACAT,OAAQ,SAACO,EAAOC,IACS,IAAnBA,EAAOC,UACTC,aAAaC,QACbJ,EAAMR,MAAQ,MAEhBQ,EAAMP,OAASQ,EAAOC,OACxB,EACAN,gBAAiB,SAACI,EAAOC,GACvBD,EAAMJ,gBAAkBK,EAAOC,OACjC,EACAG,eAAgB,SAACL,EAAOC,GACtBD,EAAMH,OAASI,EAAOC,OACxB,KAIGI,EACLnB,EAAWoB,QADEf,EAAKc,EAALd,MAAOC,EAAMa,EAANb,OAAQE,EAAKW,EAALX,MAAMG,EAAYQ,EAAZR,aAAcJ,EAAeY,EAAfZ,gBAAiBE,EAAeU,EAAfV,gBAAiBS,EAAcC,EAAdD,eAGrElB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yC,WAAY,CACVC,OAAQ,CACNjgE,WAAY,YACZhL,cAAc,OACdmL,WAAY,SAGf+/D,WAAY,CACXC,UAAW,CACTC,eAAgB,CACdC,UAAW,CACTvnE,MAAO,gBAQjBwnE,IAAS/uE,OACPlD,cAAC86B,IAAQ,CAAC+1C,MAAOA,GAAM3wE,SACrBF,cAACkyE,KAAW,CAACC,QAAS,KAAMC,UAAWf,GAAUnxE,SAC/CF,cAACqyE,KAAa,CAACrpD,MAAOA,GAAM9oB,SAC1BF,cAACwvE,GAAG,UAIVt+D,SAASmL,eAAe,Q","file":"static/js/main.f6088f39.chunk.js","sourcesContent":["\n/**\n * pre prod\n */\nexport const protocol = \"\";\nexport const BASE_URL_API = process.env.REACT_APP_BASE_URL_API;\nexport const BASE_URL_LOCAL = process.env.REACT_APP_BASE_URL_LOCAL; //process.env.REACT_APP_BASE_URL;\nexport const sk = process.env.REACT_APP_pk;\nexport const pk = process.env.REACT_APP_pk;\nexport const logout_url = process.env.REACT_APP_logout_url;\n// export const logout_url = \"https://ats-app.dvapply.com\";","import { createSlice } from \"@reduxjs/toolkit\";\n/**\n * trnId is null|0|trn_id\n */\nconst initialState = {\n email: \"\",\n token: null,\n logout: false,\n urlGeneratedAts: null,\n trnId: 0,\n applicationType: null,\n newApp: false,\n refreshToken:null\n};\nconst loginSlice = createSlice({\n name: \"login\",\n initialState,\n reducers: {\n trnId: (state, action) => {\n if (action.payload)\n state.trnId = action.payload;\n \n },\n urlGeneratedAts: (state, action) => {\n state.urlGeneratedAts = action.payload;\n },\n email: (state, action) => {\n state.email = action.payload;\n },\n token: (state, action) => {\n state.token = action.payload;\n },\n refreshToken:(state,action)=>{\n state.refreshToken=action.payload\n },\n logout: (state, action) => {\n if (action.payload === true) {\n localStorage.clear();\n state.token = null;\n }\n state.logout = action.payload;\n },\n applicationType: (state, action) => {\n state.applicationType = action.payload;\n },\n newApplication: (state, action) => {\n state.newApp = action.payload;\n }\n },\n});\n\nexport const { token, logout, trnId,refreshToken, urlGeneratedAts, applicationType, newApplication } =\n loginSlice.actions;\n\nexport default loginSlice.reducer;\n","// Need to use the React-specific entry point to import createApi\nimport { createApi, fetchBaseQuery } from \"@reduxjs/toolkit/query/react\";\nimport { BASE_URL_API, BASE_URL_LOCAL } from \"../config\";\nimport {\n applicationType,\n logout,\n token,\n trnId,\n urlGeneratedAts,\n} from \"../store/registration/logindSlice\";\nimport { getUrlAndTransId } from \"./functions\";\n\n//const BASE_URL = \"https://40.71.253.227:5091\";\nconst BASE_URL = BASE_URL_API;\n// const BASE_URL = \"https://api.ats.dvapply.com\";\n\nexport const baseQuery = fetchBaseQuery({\n baseUrl: BASE_URL,\n prepareHeaders: (headers, { getState }) => {\n const {\n persistedReducer: {\n loginSlice: { email, token, trnId, refreshToken },\n },\n } = getState();\n const accessToken = token;\n if (accessToken) {\n headers.set(\"email\", email);\n headers.set(\"authorization\", `${accessToken}`);\n headers.set(\"trn_id\", trnId);\n }\n return headers;\n },\n});\n\nconst baseQueryWithReauth = async (args, api, extraOptions) => {\n console.warn(\"🚀 ~ file: registrationApi.js:35 ~ baseQueryWithReauth ~ args, api, extraOptions:\", args, api, extraOptions)\n const { persistedReducer: { loginSlice: { refreshToken } } } = api.getState();\n const result = await baseQuery(args, api, extraOptions);\n if (result.error && result.error.status === 406) {\n console.log(\"🚀 ~ file: registrationApi.js ~ line 37 ~ baseQueryWithReauth ~ result.error\", result.error)\n // alert(result.error.data.message);\n api.dispatch(logout(true));\n window.location.replace(BASE_URL_LOCAL + 'unauthorizedAccess?message=' + result.error.data.message);\n return;\n }\n if (result.error && result.error.status === 401) {\n // const refreshResult = await fetch();\n const refreshResult = await baseQuery(\n {\n url: \"users/refreshToken/\",\n method: 'POST',\n body: { 'refreshtoken': refreshToken }\n },\n api,\n extraOptions\n );\n if (refreshResult.ok) {\n const data = await refreshResult.json();\n api.dispatch(token(data.data.tokendata));\n // retry the initial query\n result = await baseQuery(args, api, extraOptions);\n } else {\n api.dispatch(logout(true));\n // }\n }\n }\n return result;\n};\n\nexport const registrationApi = createApi({\n reducerPath: \"registrationApi\",\n baseQuery: baseQueryWithReauth,\n endpoints: (builder) => ({\n logoutUser: builder.mutation({\n query: (body) => ({\n url: \"users/logout\",\n method: \"POST\",\n body: body,\n }),\n }),\n loginUser: builder.mutation({\n query: (body) => ({\n url: \"/users/login\",\n method: \"POST\",\n body: body,\n }),\n }),\n forgotUser: builder.mutation({\n query: (body) => ({\n url: \"/users/forgotPassword\",\n method: \"POST\",\n body: body,\n }),\n }),\n resetUser: builder.mutation({\n query: (body) => ({\n url: \"/users/resetPassword\",\n method: \"POST\",\n body: body,\n }),\n }),\n createUser: builder.mutation({\n query: (body) => {\n console.warn(\"🚀 ~ file: registrationApi.js:105 ~ body:\", body)\n return {\n url: \"users/register\",\n method: \"POST\",\n body: body,\n };\n },\n }),\n getMasterRegistrationData: builder.query({\n /**\n *\n * @param {trn_id,url} body\n * @returns\n */\n query: (body) => {\n return {\n url: \"users/registrationpage\",\n headers: body,\n };\n },\n extraOptions: { maxRetries: 0 },\n transformResponse: async (response) => {\n const state = response.records.States.map((item, index) => {\n return {\n value: item?.ID || index,\n label: item.StateShortCode + \" - \" + item.StateName,\n };\n });\n let hearAboutUsSelected = null;\n if (response.records?.HearAboutUs.HearAboutUs != null) {\n const hearAbout = response.records?.LeadSource.filter((item, index) => {\n if (\n response.records?.HearAboutUs?.HearAboutUs.toLowerCase() ==\n item?.LeadSource?.toLowerCase()\n ) {\n return item;\n }\n });\n hearAboutUsSelected = {\n value: hearAbout[0]?.ID,\n label: hearAbout[0].LeadSource,\n }\n }\n\n let userState;\n if (response?.records?.State !== null) {\n userState = response.records.States.filter((item, index) => {\n if (response?.records?.State == item.StateShortCode) {\n return item;\n }\n });\n }\n\n const agents = response.records.Agents.map((item, index) => {\n return {\n value: item.ASPNetUserID || index,\n label: item.FullName,\n };\n });\n let floors = response.records?.floors;\n if (floors)\n floors = response.records.floors.map((item, index) => {\n return {\n value: item.ID || index,\n label:\n \"Floor Plan: \" +\n item.FloorCode +\n \" (Min Rent: $\" +\n item.MinimumRent +\n \", Max Rent: $\" +\n item.MaximumRent + ')',\n };\n });\n\n agents.push({ value: 0, label: \"Other\" });\n const lds = response.records.LeadSource.map((item, index) => {\n return {\n value: item.ID || index,\n label: item.LeadSource,\n };\n }).filter((item) => {\n return item.value !== '75'\n });\n\n let selected_agent = null;\n if (response.records.selected_agent)\n selected_agent = {\n label: response.records.selected_agent.FullName,\n value: response.records.selected_agent.ASPNetUserID,\n ...response.records.selected_agent,\n };\n\n const res = {\n ...response,\n records: {\n ...response.records,\n selected_agent: selected_agent,\n States: state,\n Agents: agents,\n LeadSource: lds,\n floors: floors,\n hearAboutUs: hearAboutUsSelected,\n Offices: response.records.Offices.map(item => { return { value: item?.ID, label: item?.OfficeName } }),\n // Office: response?.records.Office && { value: response?.records?.Office.ID, label: response?.records?.Office.OfficeName },\n state:\n response?.records?.State == null\n ? null\n : userState.length > 0 && {\n value: userState[0].ID,\n label:\n userState[0].StateShortCode +\n \" - \" +\n userState[0].StateName,\n },\n city: response?.records.City,\n desiredAddress: response?.records?.DesiredPropertyAddress,\n unitNo: response?.records?.DesiredUnitNumber,\n desiredRent: response?.records?.DesiredRent,\n moveInDate: response?.records?.DesiredMoveInDate,\n },\n };\n\n //Smaple Application Profile Permission\n\n return res;\n },\n }),\n acceptTermsAndConditions: builder.mutation({\n query: (trn_id) => {\n return {\n url: \"users/updateTandC\",\n method: \"POST\",\n body: {\n trn_id: trn_id,\n },\n };\n },\n }),\n }),\n});\n\nexport const {\n useGetMasterRegistrationDataQuery,\n useCreateUserMutation,\n useLoginUserMutation,\n useForgotUserMutation,\n useResetUserMutation,\n useAcceptTermsAndConditionsMutation,\n useLogoutUserMutation\n} = registrationApi;\n","import React from \"react\";\nimport { useGetMasterRegistrationDataQuery } from \"../../services/registrationApi\";\nimport { useSelector } from \"react-redux\";\nimport { protocol } from \"../../config\";\n\nconst Header = () => {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const { data, isLoading, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n console.log(\"Check Master Registration DAta\", data);\n\n return (\n <>\n {!isLoading && isSuccess && (\n
\n
\n
\n
\n \n \n {data.records.subscriber_name}\n \n
\n
\n
\n \n Application ID:{\" \"}\n \n {data.records.application_number}\n \n \n
\n
\n
\n
\n
\n )}\n \n );\n};\n\nexport default Header;\n","import React from \"react\";\nimport { useFormContext, useController } from \"react-hook-form\";\n\nconst InputField = (props) => {\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { name } = props.register;\n const { control, setValue, watch } = useFormContext();\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n\n const convertSSNFormat = () => {\n let val = field.value;\n val = val.replace(/\\D/g, \"\");\n val = val.replace(/^(\\d{3})/, \"$1-\");\n val = val.replace(/-(\\d{2})/, \"-$1-\");\n setValue(\"ssn_data.SSNNumber\", val);\n };\n\n return (\n <>\n \n {props.label} {required && *}\n \n\n {\n const dependentFun = props.triggerDependent || null;\n if (dependentFun) {\n if (!e.target.value == \"\") {\n dependentFun(e);\n }\n }\n field.onBlur(e);\n if (props.inputType === \"SSN\") {\n if (field?.value?.length === 9) {\n convertSSNFormat();\n }\n }\n }}\n id={name}\n />\n
\n {error !== undefined && error.message}\n
\n \n );\n};\n\nexport default InputField;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { Controller, useFormContext } from \"react-hook-form\";\nimport \"./index.scss\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\nimport { useSelector } from \"react-redux\";\n\nconst InputFieldPhone = (props) => {\n const { name } = props.register;\n const { control, setValue, getValues } = useFormContext();\n\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n\n return (\n <>\n {\n const error = fieldState.error !== undefined;\n return (\n <>\n \n {props.label} {required && *}\n \n {\n field.onChange(formattedValue);\n }}\n onBlur={(e, country) => {\n field.onBlur(e,country);\n }}\n inputClass={`${required && !field.value && \"is-warning\"} ${\n error && \"is-invalid\"\n }`}\n disabled={viewOnlyFlag || props.disable}\n />\n {!error &&
}\n
\n {error && fieldState.error.message}\n
\n \n );\n }}\n />\n \n );\n};\n\nexport default InputFieldPhone;\n","import React from \"react\";\nimport { Controller } from \"react-hook-form\";\nimport { useSelector } from \"react-redux\";\nimport Select from \"react-select\";\nimport CreatableSelect from 'react-select/creatable'\n\nconst SelectField = (props) => {\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const defaultFun = (e) => { }\n const { name } = props.register;\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const isDisable = props.disable || viewOnlyFlag || false;\n const onChangeCallback = props.onChange || defaultFun\n const customStyles = {\n control: (base, state) => ({\n ...base,\n border: \"1px solid rgba(255, 133, 133, 0.37)\",\n backgroundColor: \"#FFF8F8\",\n }),\n };\n\n return (\n <>\n {\n const error = fieldState.error !== undefined;\n return (\n <>\n \n {props?.label} {required && *}\n \n {props?.creatable ? <>\n
Please select from the drop-down or type to create other option.
\n \n : {\n field.onChange(e);\n onChangeCallback(e)\n }}\n options={props?.options ? props?.options : []}\n />\n }\n\n
\n {error && fieldState.error?.value?.message || fieldState.error?.message}\n
\n \n );\n }}\n />\n \n );\n};\n\nexport default SelectField;\n","import { ErrorMessage } from \"@hookform/error-message\";\nimport { Alert, Stack } from \"@mui/material\";\nimport React, { useEffect } from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport { useSelector } from \"react-redux\";\nimport InputFieldPhone from \"./InputFieldPhone\";\nimport SelectField from \"./SelectField\";\n\nconst InputFieldArray = (props) => {\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const disabled=props.disabled||false;\n const { register } = props;\n const { control, watch } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n focusAppend: true,\n name: \"mobile\", // unique name for your Field Array\n\n // keyName: \"id\", default to \"id\", you can change the key name\n });\n const { errors, dirtyFields } = useFormState({\n control,\n });\n\n return (\n <>\n {fields.map((field, index) => {\n return (\n
\n
\n {props.showNumberType && (\n \n )}\n \n {errors && errors[index] && errors[index].number}\n
\n {props?.addMultipleNumber && (\n
\n
\n {index !== 0 && (\n remove(index)}\n >\n \n \n {\" \"}\n    \n \n )}\n
\n
\n {index === fields.length - 1 && index <= 1 && (\n
\n append({ number: \"\" })}\n >\n \n \n \n  \n \n Add another number\n \n \n
\n )}\n
\n
\n )}\n
\n );\n })}\n
\n
\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n
\n
\n \n );\n};\n\nexport default InputFieldArray;\n","import React from \"react\";\nimport { useFormContext, useController } from \"react-hook-form\";\n\nconst InputCheckBoxField = (props) => {\n const { name } = props.register;\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { control } = useFormContext();\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n\n return (\n <>\n
\n \n \n \n {props.label}\n \n
\n {error !== undefined && error.message}\n
\n
\n \n );\n};\n\nexport default InputCheckBoxField;\n","import CurrencyInput from \"react-currency-input-field\";\nimport React from \"react\";\nimport { Controller, useFormContext } from \"react-hook-form\";\nconst InputCurrencyField = (props) => {\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { control } = useFormContext();\n const { name } = props.register;\n return (\n <>\n {\n const { onChange, ...rest } = field;\n const error = fieldState.error !== undefined;\n return (\n <>\n \n {props.label} {required && *}\n \n {\n console.log(\n \"On Change value for input and currency field\",\n value\n );\n onChange(value || null);\n }}\n className={`form-control cus-input-control ${\n required && !field.value && \"is-warning\"\n } ${error && \"is-invalid\"}`}\n placeholder={props.placeholder || `Enter ${props.label}`}\n decimalsLimit={2}\n prefix=\"$ \"\n {...rest}\n />\n
\n {error && fieldState.error.message}\n
\n \n );\n }}\n />\n \n );\n};\n\nexport default InputCurrencyField;\n","import React, { forwardRef } from \"react\";\nimport { Controller, useFormContext, useFormState } from \"react-hook-form\";\nimport \"./index.scss\";\nimport ReactDatePicker from \"react-datepicker\";\nimport moment from \"moment\";\nimport InputMask from \"react-input-mask\";\nimport { JSONTree } from \"react-json-tree\";\nconst formatDate = (date) => {\n if (!date) return \"\";\n const month = (`0${date.getMonth() + 1}`).slice(-2);\n const day = (`0${date.getDate()}`).slice(-2);\n const year = date.getFullYear();\n return `${month}/${day}/${year}`;\n};\n\nconst parseDate = (str) => {\n if (!str) return null;\n // Check if the date is in the format mm/dd/yyyy\n const dateParts = str.split('/');\n if (dateParts.length === 3) {\n const [month, day, year] = dateParts;\n return new Date(year, month - 1, day);\n }\n\n // Check if the date is in the ISO 8601 format\n // Check if the date is in the ISO 8601 format\n const isoDate = new Date(str);\n if (!isNaN(isoDate)) {\n const month = String(isoDate.getUTCMonth() + 1).padStart(2, '0');\n const day = String(isoDate.getUTCDate()).padStart(2, '0');\n const year = isoDate.getUTCFullYear();\n return new Date(year, month - 1, day);\n }\n\n return null; // Handle invalid date strings\n};\n\nconst ExampleCustomInput = forwardRef((inputFun, ref) => (\n \n));\n\nconst InputDateField = (props) => {\n const { name } = props.register;\n const { control, setValue } = useFormContext();\n const required = props.notRequired === undefined ? true : !props.notRequired;\n return (\n <>\n {\n const error = fieldState.error !== undefined;\n const { onChange, value, ref, ...rest } = field;\n return (\n <>\n \n {props.label} {required && *}\n \n {\n elem && ref(elem.input);\n }}\n customInput={}\n maxDate={props.maxDate}\n minDate={props.minDate}\n placeholderText='MM/DD/YYYY'\n selected={parseDate(value)}\n onChange={(date) => onChange(formatDate(date))}\n dateFormat=\"MM/dd/yyyy\"\n showYearDropdown\n className={`form-control cus-input-control ${required && !field.value && \"is-warning\"\n } ${error && \"is-invalid\"}`}\n />\n\n {/* {\n elem && ref(elem.input);\n }}\n maxDate={props.maxDate}\n minDate={props.minDate}\n placeholderText='MM/DD/YYYY'\n onChange={(date) => {\n const utcDate = new Date(\n date.getFullYear(),\n date.getMonth(),\n date.getDate(),\n 0,\n 0,\n 0\n );\n\n // Here you would typically send `utcDate` to your API\n console.log('UTC Date:', utcDate.toISOString());\n field.onChange(utcDate)\n //moment.utc(date).format('MM/DD/YYYY')\n }}\n selected={field.value ? moment(field.value).toDate() : ''}\n showYearDropdown\n dateFormat=\"MM/dd/yyyy\"\n className={`form-control cus-input-control ${required && !field.value && \"is-warning\"\n } ${error && \"is-invalid\"}`}\n customInput={}\n timeZone=\"\"\n /> */}\n
Please enter date in MM/DD/YYYY format.
\n\n
\n {error && fieldState?.error?.message}\n
\n \n );\n }}\n />\n \n );\n};\n\nexport default InputDateField;\n\n\n","import React, { useState } from \"react\";\nimport { Controller, useController, useFormContext, useFormState } from \"react-hook-form\";\nimport \"./index.scss\";\n\nconst InputPasswordField = (props) => {\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { control } = useFormContext();\n const { name } = props.register;\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n\n const [style, setStyle] = useState({ color: \"red\", percentage: \"0%\" });\n\n return (\n <>\n \n
\n {\n const { onChange, ...rest } = field;\n return (\n <>\n {\n \n const dependentFun = props.triggerDependent || null;\n if (dependentFun) {\n if (!e.target.value == \"\") dependentFun(e);\n }\n rest.onBlur(e);\n }}\n onChange={(e) => {\n const strongRegex = new RegExp(\n \"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})\"\n );\n const mediumRegex = new RegExp(\n \"^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})\"\n );\n if (strongRegex.test(e.target.value)) {\n setStyle({ color: \"green\", percentage: \"100%\" });\n } else if (mediumRegex.test(e.target.value)) {\n setStyle({ color: \"yellow\", percentage: \"70%\" });\n } else {\n const percentage = (e.target.value.length / 8) * 40;\n setStyle({ color: \"red\", percentage: percentage + \"%\" });\n }\n onChange(e);\n }}\n id={name}\n />\n
{error && error.message}
\n {props.hint}\n
\n
\n
\n {error && (\n
\n
\n Weak - {error.message}\n
\n
\n )}\n \n );\n }}\n />\n \n \n );\n};\n\nexport default InputPasswordField;\n","import React from \"react\";\nimport { useController, useFormContext, useFormState } from \"react-hook-form\";\n\nconst InputSimplePassword = (props) => {\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { control } = useFormContext();\n const { name } = props.register;\n // const { dirtyFields, errors } = useFormState({\n // control,\n // });\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n\n // const error = errors[name];\n\n return (\n <>\n \n {\n const dependentFun = props.triggerDependent || null;\n if (dependentFun) {\n if (!e.target.value == \"\") dependentFun(e);\n }\n props.register.onBlur(e);\n }}\n id={name}\n />\n
{error && error.message}
\n \n );\n};\n\nexport default InputSimplePassword;\n","import React, { useState, useEffect } from \"react\";\nimport Autocomplete, { usePlacesWidget } from \"react-google-autocomplete\";\nimport { Controller, useController, useFormContext } from \"react-hook-form\";\nimport usePlacesService from \"react-google-autocomplete/lib/usePlacesAutocompleteService\";\n\nconst getAddressObject = (address_components) => {\n var ShouldBeComponent = {\n home: [\"street_number\"],\n postal_code: [\"postal_code\"],\n street: [\"street_address\", \"route\"],\n region: [\n \"administrative_area_level_1\",\n \"administrative_area_level_2\",\n \"administrative_area_level_3\",\n \"administrative_area_level_4\",\n \"administrative_area_level_5\",\n ],\n city: [\n \"locality\",\n \"sublocality\",\n \"sublocality_level_1\",\n \"sublocality_level_2\",\n \"sublocality_level_3\",\n \"sublocality_level_4\",\n ],\n country: [\"country\"],\n };\n\n var address = {\n home: \"\",\n postal_code: \"\",\n street: \"\",\n region: \"\",\n city: \"\",\n country: \"\",\n };\n address_components.forEach((component) => {\n for (var shouldBe in ShouldBeComponent) {\n if (ShouldBeComponent[shouldBe].indexOf(component.types[0]) !== -1) {\n if (shouldBe === \"country\") {\n address[shouldBe] = component.short_name;\n } else {\n address[shouldBe] = component.long_name;\n }\n }\n }\n });\n return address;\n};\n\nconst GoogleAutoComplete = (props) => {\n console.log(\"Google Places AutoComplete Props\", props);\n const { name } = props.register;\n const { control, setValue, watch } = useFormContext();\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n const { onChange, ...rest } = field;\n // const {\n // placesService,\n // placePredictions,\n // getPlacePredictions,\n // isPlacePredictionsLoading,\n // } = usePlacesService({\n // apiKey: \"AIzaSyBwbawNWTS5P3ulxNEtsGeMUD0UdMiNyKk\",\n // options: {\n // types: [\"address\"],\n // componentRestrictions: { country: \"us\" },\n // },\n // });\n\n //const value = watch(name);\n // useEffect(() => {\n // getPlacePredictions({ input: value });\n // }, [value]);\n // const uid = Math.round(new Date().getTime() / 1000);\n\n function startsWithSpace(str) {\n return str.startsWith(' ');\n}\n\n return (\n <>\n \n {props.label} {required && *}\n \n {\n onChange(place);\n const address = getAddressObject(\n place.address_components\n );\n\n \n\n console.log(\"address.street\",address)\n\n console.log(startsWithSpace(`${address.home.trim()} ${address.street.replace(/^ +/, '')}`));\n let fullAddress = '';\n if (address.home.trim() !== '') {\n fullAddress = `${address.home.trim()} ${address.street.trim()}`;\n } else {\n fullAddress = `${address.street.trim()}`;\n }\n\n setValue(props.groupFieldName.street, fullAddress, {\n shouldValidate: true,\n });\n\n // setValue(props.groupFieldName.street, `${address.home.trim()} ${address.street.replace(/^ +/, '')}`, {\n // shouldValidate: true,\n // });\n setValue(props.groupFieldName.city, address.city, {\n shouldValidate: true,\n });\n if (props.groupFieldName.home)\n setValue(props.groupFieldName.home, address.home, {\n shouldValidate: true,\n });\n if (props.groupFieldName.zip)\n setValue(props.groupFieldName.zip, address.postal_code, {\n shouldValidate: true,\n });\n const getSelected = props.groupFieldName?.state_data?.filter(\n (item) => {\n return item.label.includes(address.region);\n }\n );\n if (getSelected?.length) {\n setValue(props.groupFieldName.state, getSelected[0], {\n shouldValidate: true,\n });\n }\n }\n }\n placeholder={props.label}\n options={{\n types: [\"address\"],\n componentRestrictions: { country: \"us\" }\n }}\n />\n {/* {\n onChange(e);\n const selected = placePredictions.find((item, index) => {\n if (item.description === e.target.value) {\n return true;\n }\n });\n if (selected) {\n placesService.getDetails(\n { placeId: selected.place_id },\n (placeDetails) => {\n const address = getAddressObject(\n placeDetails.address_components\n );\n console.log(\"Check Address Line:115\", address);\n setValue(name, `${address.home} ${address.street}`, {\n shouldValidate: true,\n });\n setValue(props.groupFieldName.city, address.city, {\n shouldValidate: true,\n });\n if (props.groupFieldName.home)\n setValue(props.groupFieldName.home, address.home, {\n shouldValidate: true,\n });\n if (props.groupFieldName.zip)\n setValue(props.groupFieldName.zip, address.postal_code, {\n shouldValidate: true,\n });\n const getSelected = props.groupFieldName?.state_data?.filter(\n (item) => {\n return item.label.includes(address.region);\n }\n );\n if (getSelected?.length) {\n setValue(props.groupFieldName.state, getSelected[0], {\n shouldValidate: true,\n });\n }\n console.log(\n \"🚀 ~ file: googleAutocomplete.js ~ line 116 ~ placesService.getDetails ~ address\",\n address\n );\n console.log(\n \"🚀 ~ file: googleAutocomplete.js ~ line 115 ~ placesService.getDetails ~ placeDetails\",\n placeDetails\n );\n }\n );\n }\n }}\n {...rest}\n />\n \n {!isPlacePredictionsLoading &&\n placePredictions.map((item, key) => (\n */}\n
\n {error !== undefined && error.message}\n
\n \n );\n};\n\nexport default GoogleAutoComplete;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\n\nfunction SupportSection({ clickHere, setClickHere }) {\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n return (\n
\n {useWindowWidth.windowWidth > 992 ? (\n

\n Need help completing your application? Docuverus can be reached by\n phone at 856.886.8843 or by email at{\" \"}\n support@docuverus.com\n

\n ) : (\n

\n Need help completing your application?{\" \"}\n {clickHere && (\n setClickHere(false)}>\n Click here\n \n )}\n {!clickHere && (\n

\n Docuverus can be reached by phone at 856.886.8843{\" \"}\n or by email at support@docuverus.com\n

\n )}\n

\n )}\n
\n
\n\n
\n );\n}\n\nexport default SupportSection;\n","import React, { useEffect, useState } from \"react\";\nimport { useFormContext } from \"react-hook-form\";\nimport InputField from \"./Inputs/InputField\";\nimport InputFieldArray from \"./Inputs/InputFieldArray\";\nimport SelectField from \"./Inputs/SelectField\";\n\nimport InputCheckBoxField from \"./Inputs/InputCheckBoxField\";\nimport InputCurrencyField from \"./Inputs/InputCurrencyField\";\nimport InputDateField from \"./Inputs/InputDateField\";\nimport InputPasswordField from \"./Inputs/InputPasswordField\";\nimport InputSimplePassword from \"./Inputs/InputSimplePassword\";\nimport { NavLink } from \"react-router-dom\";\nimport { useGetMasterRegistrationDataQuery } from \"../../services/registrationApi\";\nimport { useSelector } from \"react-redux\";\nimport GoogleAutoComplete from \"../common/googleAutocomplete/googleAutocomplete\";\nimport moment from \"moment\";\nimport { logout_url, protocol } from \"../../config\";\nimport { ImCross } from \"react-icons/im\";\nimport SupportSection from \"../common/SupportSection/SupportSection\";\nimport { useDispatch } from \"react-redux\";\nimport { JSONTree } from \"react-json-tree\";\n\nconst RegistrationFormBody = (props) => {\n const [nav, setNav] = useState(0);\n const [nextMonthDate, setNextMonthDate] = useState();\n const [clickHere, setClickHere] = useState(true);\n const [showAnotherPhone, setShowAnotherPhone] = useState(false);\n const dispatch = useDispatch();\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const applicationType = useSelector(\n (state) => state.persistedReducer.loginSlice.applicationType\n );\n\n const { data, isLoading, isError, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n\n const getUnitsList = (floorId) => {\n if (!floorId) return [];\n const unitsFilter = data.records.units.filter((item) => {\n return item.FloorPlanID === floorId;\n });\n\n const units = unitsFilter.map((item, index) => {\n console.log(\">>>>\", item)\n return {\n value: item.ID || index,\n label: `Unit: ` + item.UnitName + ` (Rent: $` + item.MaximumRent + ')',\n };\n });\n\n if (units.length) return units;\n return [];\n };\n\n const { register, watch, trigger, formState, getValues, setValue } =\n useFormContext();\n const handleDependTrigger = (e) => {\n trigger(\"password\");\n };\n const handleDependTriggerCPass = (e) => {\n trigger(\"reEnterPassword\");\n };\n const handleDependTriggerEmail = (e) => {\n trigger(\"email\");\n };\n const handleDependTriggerCEmail = (e) => {\n trigger(\"reEmail\");\n };\n\n const getNextMonthDate = () => {\n let date = new Date();\n let nextDate = new Date(date.getFullYear(), date.getMonth() + 1, 1);\n setNextMonthDate(nextDate);\n };\n\n useEffect(() => {\n getNextMonthDate();\n }, []);\n useEffect(() => {\n document.title = \"Docuverus\";\n }, []);\n\n const myTextStyles = {\n color: 'var(--Primary-CTA, #2DC3E8)',\n fontFamily: 'Open Sans',\n fontSize: '14px',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: 'normal',\n };\n const property_rent = watch(\"unit\")?.label?.split(\"Rent: $\")[1]?.replace(\")\", \"\")\n ? watch(\"unit\")?.label?.split(\"Rent: $\")[1]?.replace(\")\", \"\")\n : watch(\"floor\")?.label?.label?.split(\"Rent: $\")[2]?.replace(\")\", \"\")\n if (isLoading && isError) return null;\n else\n return (\n
\n
\n
\n
\n
\n \n

\n Thanks for your interest in applying with{\" \"}\n {data?.records?.property?.PropertyName ||\n data?.records.subscriber_name}\n

\n {Number(property_rent) > 0 && <>\n {!watch(\"unit\")?.label && \n {watch(\"floor\")?.label &&\n `${watch(\"floor\")?.label?.split(\"&\").join()}`}\n }\n \n {watch(\"unit\")?.label &&\n `${watch(\"unit\")?.label}`}\n \n }\n
\n\n
\n

\n Please register to start your application\n

\n
\n Already started application?{\" \"}\n { e.preventDefault(); window.location.replace(logout_url) }}>Login Here\n
\n
\n
\n
\n
\n
\n \n
\n
    \n \n {\n setNav(0);\n }}\n href=\"#personalDetail\"\n >\n Personal Details\n \n \n {applicationType == \"Property\" ||\n applicationType === \"Floor\" || applicationType === \"Unit\" ? (\n \n {\n setNav(4);\n }}\n href=\"#floorAndUnit\"\n >\n Floor and Unit Plan\n \n \n ) : null}\n {applicationType == \"Office\" || applicationType == \"Agent\" ? (\n \n {\n setNav(1);\n }}\n id=\"agent-tab\"\n href=\"#agent\"\n >\n Agent\n \n \n ) : null}\n {applicationType == \"Office\" || applicationType == \"Agent\" ? (\n \n {\n setNav(2);\n }}\n id=\"desired-tab\"\n href=\"#desired\"\n >\n Desired Property Details\n \n \n ) : null}\n \n {\n setNav(3);\n }}\n id=\"logind-tab\"\n href=\"#logind\"\n >\n Login Details\n \n \n
\n
\n
\n
\n\n
\n
\n {/* applicaion-form-wrap */}\n
\n {\n setNav(0);\n }}\n className=\"form-w-block white-box mr-b30\"\n id=\"personalDetail\"\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 {!showAnotherPhone && (\n
\n {\n setValue(`other`, null);\n\n setShowAnotherPhone(true);\n }}\n >\n \n \n \n  \n \n Add another number\n \n \n
\n )}\n
\n
\n
\n {showAnotherPhone && (\n
\n
\n \n \n \n
\n
\n \n setShowAnotherPhone(false)}\n />\n
\n
\n
\n )}\n
\n {applicationType === \"Property\" ||\n applicationType === \"Floor\" || applicationType === \"Unit\" ? (\n {\n setNav(4);\n }}\n >\n
\n
\n
\n \n
\n
\n
\n
\n setValue(\"unit\", \"\")}\n notRequired={true}\n options={data ? data?.records?.floors : []}\n label=\"By Floor Plan\"\n register={register(\"floor\")}\n />\n
\n
\n {watch(\"floor\")?.value &&\n getUnitsList(watch(\"floor\")?.value)?.length >\n 0 && (\n
\n
\n \n
\n
\n )}\n\n
\n
\n {(watch('floor')?.MinimumRent < 1 || watch('unit')?.MinimumRent < 1) && \n
\n
\n \n
\n
}\n
\n
\n ) : null}\n {applicationType == \"Office\" || applicationType == \"Agent\" ? (\n {\n setNav(1);\n }}\n >\n
\n
\n
\n \n
\n
\n {getValues('Offices')?.length > 0 && (\n
\n
\n \n
\n
\n )}\n\n {watch(\"agent\")?.value == 0 && (\n
\n
\n \n
\n
\n )}\n
\n
\n
\n \n
\n {watch(\"coOperatingAgentStatus\") && (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n )}\n
\n
\n
\n \n ) : null}\n {applicationType == \"Office\" || applicationType == \"Agent\" ? (\n {\n setNav(2);\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
\n\n
\n \n ) : null}\n\n {\n setNav(3);\n }}\n >\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n {/* //data?.records?.Email_check */}\n {(data?.records?.Email_check || props.copyEmailNotUnique) && (\n <>\n
\n
\n \n
\n
\n \n Note: The email indicated\n above is registered with another user.\n Please specify unique username here.\n Username can be an email address, mobile\n phone number or any username not already\n in use.\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 \n \n \n \n \n
\n );\n};\n\nRegistrationFormBody.propTypes = {};\n\nexport default RegistrationFormBody;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useState } from \"react\";\nimport logoFile from \"../../../assets/images/logo.png\";\nimport { AiOutlineLogout } from \"react-icons/ai\";\n\nimport { Navigate, useLocation, useNavigate } from \"react-router-dom\";\nimport { useDispatch } from \"react-redux\";\nimport { logout, token } from \"../../../store/registration/logindSlice\";\nimport Button from \"@mui/material/Button\";\nimport Menu from \"@mui/material/Menu\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport { logout_url } from \"../../../config\";\nimport { useLogoutUserMutation } from \"../../../services/registrationApi\";\n\nconst SuperHeader = (props) => {\n const [logoutShow, setLogoutShow] = useState(false);\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const location = useLocation();\n\n const [anchorEl, setAnchorEl] = React.useState(null);\n const open = Boolean(anchorEl);\n const handleClick = (event) => {\n setAnchorEl(event.currentTarget);\n };\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n React.useEffect(() => {\n var addScript = document.createElement(\"script\");\n addScript.setAttribute(\n \"src\",\n \"//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"\n );\n document.body.appendChild(addScript);\n window.googleTranslateElementInit = googleTranslateElementInit;\n }, []);\n\n const google = window.google;\n\n const googleTranslateElementInit = () => {\n new window.google.translate.TranslateElement(\n {\n pageLanguage: \"en\",\n layout: google.translate.TranslateElement.InlineLayout.SIMPLE,\n },\n \"google_translate_element\"\n );\n };\n const [createUser, response] = useLogoutUserMutation();\n return (\n <>\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
\n \n {location.pathname == \"/instruction\" ||\n location.pathname == \"/identification\" ||\n location.pathname == \"/identification/\" ||\n location.pathname == \"/identification/applicantDetail\" ||\n location.pathname == \"/identification/incomeDetail\" ||\n location.pathname == \"/identification/payment\" ||\n location.pathname == \"/viewconsent\" ||\n location.pathname == \"/view\" ||\n location.pathname == \"/success\" ? (\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n const response = await createUser();\n if (response?.data) {\n dispatch(logout(true));\n\n setAnchorEl(null);\n window.location.replace(logout_url);\n }\n }}\n >\n Logout\n \n \n
\n
\n ) : null}\n
\n
\n
\n \n
\n \n );\n};\n\nexport default SuperHeader;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAAiCAYAAACk/QxiAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAhwSURBVHgB7Zp5bNRFFMenu9uT0iKCKFilgCgeqIlRiRqiiRiPqAnBOxo1arzgH4xXVKJGbTwxHmCiQRTQqIkHohIJBjEkEBAEBAQpIFDa0lp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x00TMwVZW7EDY8yx2Vc9KeRA25aDcuYycMJDFj3NHEHoTdZ3VAAT1tPGbjf1JNitUnDuhYzxKPZl1dl5w5GxDZk/eMqgvELpnWOITdD6mwBSAcVX+O8A7Oy3MtlV8Ay1ebFy59NFw3XoAnaNbddFaoNjhDYZxgRwKNgLWa3PGDEMNIsAeEx3/ZTeodhljpK/gZZrb6adRpRf9rmkjAz8f4OkQtjFd5MRzDS+LADlVVHMIlAtIk/XBSdEYBtIbr7IXoBWmINBT+nrVOX4nR9dWYsyEy9F3kGb3qfqTQDpQTdKTsCrvsDtPnt0nhKL7d7zBf10e406u367Mg97nZ/t0QGlpTeaAHoGuRRc0UsovjXNI54ft3gBV+8o8S7w3M8cXVx0OXMMpDQu+MNZb4CTMQFjrE53OlwkQ1Je3hmQbcD2lN7hM0Ijbm2UCaBbSPsvC26nC3lQG8fOvgUlLwAVG3QZkYvRjVNPIDu4G/TXLsfnN6HsF8zBG3LYpD6wvUVc2WIC6BYyyl604zklJxGw9Uqb4DZYz2NapW6sDk8Ewy1I8yvfb/CNA6MmgH8H9GMHJ2OjEysaoJ1vAugRsp7PE1uG4oYmcTIUyD+1r5gBBPDfgH8Aor0v/hUeNY4AAAAASUVORK5CYII=\"","import React, { useEffect } from \"react\";\nimport Header from \"../../components/Header\";\nimport RegistrationOfficeFormBody from \"../../components/registration/RegistrationOfficeFormBody\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\nimport { DevTool } from \"@hookform/devtools\";\nimport { useForm, FormProvider } from \"react-hook-form\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport {\n useGetMasterRegistrationDataQuery,\n useCreateUserMutation,\n} from \"../../services/registrationApi\";\nimport Loader from \"react-loader-spinner\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport SuperHeader from \"../../components/common/superHeader/superHeader\";\nimport { useNavigate, Link } from \"react-router-dom\";\nimport { refreshToken, token } from \"../../store/registration/logindSlice\";\nimport { trnId } from \"../../store/registration/logindSlice\";\nimport { logout_url } from \"../../config\";\n\nconst Register = (props) => {\n const dispatch = useDispatch();\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n \n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const { data, isLoading, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n\n const applicationType = useSelector(\n (state) => state.persistedReducer.loginSlice.applicationType\n );\n\n\n let navigate = useNavigate();\n\n const [createUser, response] = useCreateUserMutation();\n\n //yup.string().isAddressRequired(),\n yup.addMethod(yup.string, \"isDynamicRequiredString\", function () {\n if (applicationType === \"Office\" || applicationType === \"Agent\")\n return this.required(\"Required\")\n .typeError(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\");\n return this.notRequired().nullable();\n });\n\n yup.addMethod(yup.number, \"isDynamicRequiredNumber\", function () {\n if (applicationType === \"Office\" || applicationType === \"Agent\")\n return this.required(\"Required\");\n return this.notRequired();\n });\n yup.addMethod(yup.array, \"unique\", function (message, mapper = (a) => a) {\n return this.test(\"unique\", message, function (list) { });\n });\n\n yup.addMethod(yup.date, \"isDynamicRequiredDate\", function () {\n if (applicationType !== \"Office\" || applicationType !== \"Agent\")\n return this.required(\"Required\");\n return this.notRequired();\n });\n\n yup.addMethod(yup.array, \"uniquePhone\", function (message) {\n return this.test(\"unique\", message, function (data) {\n const list = data;\n let isUnique = true;\n let row = list.length;\n for (let i = 0; i < row; i++) {\n for (let j = i + 1; j < row; j++) {\n if (JSON.stringify(list[i]) === JSON.stringify(list[j])) {\n isUnique = false;\n }\n }\n }\n if (isUnique) {\n return true;\n }\n return false;\n });\n });\n\n const schema = yup.lazy((value) =>\n yup.object().shape({\n fname: yup\n .string()\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid name\")\n .min(2, \"minimum 2 characters is required\")\n .typeError(\"Required\"),\n lname: yup\n .string()\n .required(\"Required\")\n .typeError(\"Required\")\n .min(2, \"minimum 2 characters is required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid name\"),\n mname: yup\n .string()\n .nullable()\n .matches(/^$|^\\S+.*/g, \"Enter a valid name\"),\n mobile: yup.array().of(\n yup.object().shape({\n number: yup\n .string()\n .required(\"Required\")\n .typeError(\"Required\")\n .test(\"null\", \"required\", (value) => {\n return value.includes(\"null\") || value.includes(\"undefined\")\n ? false\n : true;\n })\n .test(\"rent\", \"Min 10 digits are required\", (value) => {\n let temp = value?.toString().replace(/\\D/g, \"\");\n return temp?.length > 10 ? true : false;\n }),\n })\n ),\n agent: yup.object({\n value: yup.string().isDynamicRequiredString(),\n label: yup.string().isDynamicRequiredString(),\n }),\n otherAgentName: yup.string().when(\"agent\", {\n is: (agent) => {\n if (agent.value === \"0\") return true;\n else return false;\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n ,\n }),\n coOperatingAgentStatus: yup.bool(),\n coAgentName: yup.string().when(\"coOperatingAgentStatus\", {\n is: true,\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n ,\n }),\n realEstateAgency: yup.string().when(\"coOperatingAgentStatus\", {\n is: true,\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n ,\n }),\n password: yup\n .string()\n .matches(\n /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\\$%\\^&\\*])(?=.{8,})/,\n \"Use 8 or more characters with a mix of letters, numbers & special characters\"\n )\n .required(\"Required\"),\n username: yup.string().nullable().when(\"Email_check\", {\n is: true,\n then: yup\n .string()\n .trim()\n .typeError(\"Required\")\n .required(\"Required\")\n\n .matches(/^\\S.*$/, \"Username should not start with whitespace\")\n }),\n reEnterPassword: yup\n .string()\n .oneOf([yup.ref(\"password\"), null], \"password must match\")\n .typeError(\"Required\")\n .required(\"Required\"),\n email: yup.string().email().typeError(\"Required\").required(\"Required\"),\n reEmail: yup\n .string()\n .typeError(\"Required\")\n .oneOf([yup.ref(\"email\"), null], \"email must match\")\n .required(\"Required\"),\n hearAboutUs: yup\n .object({\n value: yup.string(),\n label: yup.string(),\n })\n .typeError(\"Required\")\n .required(\"Required\"),\n address: yup.string().nullable().isDynamicRequiredString(),\n city: yup\n .string()\n .nullable()\n .isDynamicRequiredString()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n ,\n state: yup.object().typeError(\"Required\").required(),\n unitNo: yup.number().nullable(),\n rent: yup.string().isDynamicRequiredString(),\n desiredMoveInDate: yup\n .string()\n .typeError(\"Required\"),\n i_confirm: yup.bool().oneOf([true], \"field must be checked\"),\n })\n );\n\n const onSubmit = async (fromData) => {\n // dispatch(updateOnceOnLoad(fromData))\n const rent = fromData?.unit?.label?.split(\"Rent: $\")[1]?.replace(\")\", \"\")\n ? fromData?.unit?.label?.split(\"Rent: $\")[1]?.replace(\")\", \"\")\n : fromData?.floor?.label?.split(\"Rent: $\")[2]?.replace(\")\", \"\");\n\n const formData = {\n ...fromData,\n rent: Number(rent) || fromData.rent || 0,\n trn_id: trn_id,\n url,\n };\n\n const response = await createUser(formData);\n dispatch(trnId(response?.data?.records?.trnid));\n dispatch(refreshToken(response?.data?.records?.refreshToken));\n\n if (response.error) {\n toast.error(\n
\n {response.error?.data?.message ? (\n \n ) : (\n Something went wrong!\n )}\n
,\n {pauseOnHover:true,autoClose:false}\n );\n }\n if (response.data) {\n toast.success(response?.data?.message, { pauseOnFocusLoss: false });\n dispatch(token(response?.data?.records?.token));\n dispatch(refreshToken(response?.data?.records?.refreshToken));\n navigate(\"/instruction\");\n }\n };\n /**\n *\n */\n\n const methods = useForm({\n defaultValues: {\n fname: \"\",\n mname: \"\",\n lname: \"\",\n unitNo: null,\n mobile: [{ number: \"\" }],\n other: [{ number: \"\" }],\n password: \"\",\n i_confirm: false,\n email: \"\",\n reEmail: \"\",\n username: null,\n },\n resolver: yupResolver(schema),\n mode: \"onChange\",\n reValidateMode: \"onChange\",\n });\n\n useEffect(() => {\n // if (!formDataStore)\n if (data) {\n methods.setValue(\"fname\", data?.records.first_name, {\n shouldDirty: true,\n });\n methods.setValue(\"mname\", data?.records.middle_name, {\n shouldDirty: true,\n });\n methods.setValue(\"lname\", data?.records.last_name, { shouldDirty: true });\n methods.setValue(\"Email_check\", data?.records.Email_check, { shouldDirty: true });\n methods.setValue(\"email\", data?.records.email, { shouldDirty: true });\n methods.setValue(\"reEmail\", data?.records.email, { shouldDirty: true });\n methods.setValue(\"mobile\", [{ number: data?.records.mobile }], {\n shouldDirty: true,\n });\n methods.setValue(\"unitNo\", data?.records?.DesiredUnitNumber, {\n shouldDirty: true,\n });\n methods.setValue(\"rent\", data?.records?.DesiredRent, {\n shouldDirty: true,\n });\n methods.setValue(\"address\", data?.records?.DesiredPropertyAddress, {\n shouldDirty: true,\n });\n methods.setValue(\"city\", data?.records?.city, { shouldDirty: true });\n methods.setValue(\"state\", data?.records?.state, { shouldDirty: true });\n methods.setValue(\"Offices\", data?.records?.Offices);\n methods.setValue(\"Office\", data?.records.Office);\n methods.setValue(\n \"floor\",\n data?.records?.select_floor && {\n ...data?.records?.select_floor,\n value: data?.records?.select_floor?.ID,\n label:\n \"Floor Plan: \" +\n data?.records?.select_floor?.FloorCode +\n \" (Min Rent: $\" +\n data?.records?.select_floor?.MinimumRent +\n \", Max Rent: $\" +\n data?.records?.select_floor?.MaximumRent +\n \")\",\n }\n );\n methods.setValue(\n \"unit\",\n data?.records?.selected_unit && {\n ...data?.records?.selected_unit,\n value: data?.records?.selected_unit?.ID,\n label:\n `Unit: ` +\n data?.records?.selected_unit?.UnitName +\n ` (Rent: $` +\n data?.records?.selected_unit?.MaximumRent +\n \")\",\n }\n );\n methods.setValue(\"hearAboutUs\", data?.records?.hearAboutUs, {\n shouldDirty: true,\n });\n methods.setValue(\"desiredMoveInDate\", data?.records?.DesiredMoveInDate, {\n shouldDirty: true,\n });\n if (applicationType === \"Office\" || applicationType === \"Agent\")\n if (data.records.selected_agent)\n methods.setValue(\n \"agent\",\n {\n value: data.records.selected_agent.value,\n label: data.records.selected_agent.label,\n },\n { shouldDirty: true }\n );\n }\n }, [data, methods, applicationType]);\n\n\n const {\n register,\n handleSubmit,\n setFocus,\n control,\n watch,\n formState: { errors },\n } = methods;\n\n React.useEffect(() => {\n const firstError = Object.keys(errors).reduce((field, a) => {\n return !!errors[field] ? field : a;\n }, null);\n\n if (firstError == \"mobile\") {\n document.getElementById(\"mobile\").focus();\n }\n }, [errors, setFocus]);\n\n if (isLoading)\n return (\n \n );\n else\n return (\n\n
\n \n
\n \n
\n \n\n
\n
\n
\n
\n \n Data Policy\n \n \n Terms of Use\n \n
\n
\n
\n \n Start Application\n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n );\n};\n\nexport default Register;\n","// Need to use the React-specific entry point to import createApi\nimport { createApi, fetchBaseQuery } from \"@reduxjs/toolkit/query/react\";\nimport { BASE_URL_API, BASE_URL_LOCAL } from \"../config\";\nimport { logout, token } from \"../store/registration/logindSlice\";\n\n//const BASE_URL = \"https://40.71.253.227 \";\nconst BASE_URL = BASE_URL_API;\n// const BASE_URL = \"https://api.ats.dvapply.com\";\n\nexport const baseQuery = fetchBaseQuery({\n baseUrl: BASE_URL,\n prepareHeaders: (headers, { getState }) => {\n const {\n persistedReducer: {\n loginSlice: { email, token,trnId },\n },\n } = getState();\n const accessToken = token;\n if (accessToken) {\n headers.set(\"email\", email);\n headers.set(\"trn_id\", trnId);\n headers.set(\"authorization\", `${accessToken}`);\n }\n return headers;\n },\n});\n\nconst baseQueryWithReauth = async (args, api, extraOptions) => {\n const {persistedReducer:{loginSlice:{refreshToken}}} = api.getState();\n let result = await baseQuery(args, api, extraOptions);\n if (result.error && result.error.status === 406){\n alert(result.error.data.message);\n api.dispatch(logout(true));\n return ;\n } \n if (result.error && result.error.status === 401) {\n const refreshResult = await fetch(BASE_URL.split(\"/api\")[0]+\"/api/auth/refreshtoken\",{\n method:'POST',\n headers: {\n 'Accept': 'application/json',\n 'Content-Type': 'application/json'\n },\n body:JSON.stringify({'refreshtoken':refreshToken})\n }\n );\n if (refreshResult.ok) {\n const data= await refreshResult.json();\n api.dispatch(token(data.data.tokendata));\n // retry the initial query\n result = await baseQuery(args, api, extraOptions);\n } else {\n api.dispatch(logout(true));\n }\n }\n return result;\n};\n\nexport const identificationApi = createApi({\n reducerPath: \"identificationApi\",\n baseQuery: baseQueryWithReauth,\n tagTypes: [\n \"ID\",\n \"DELETEDOC\",\n \"ID1\",\n \"CONTEXT\",\n \"incomeBank\",\n \"APPLICANTSTATUS\",\n \"SECTIONSTATUS\",\n \"SAVECONTEXT\",\n \"GETUPDATEADDRESS\",\n \"SECONDARYDOC\",\n \"APPLICATIONSTATUS\",\n \"GETUPDATEFLOORUNITS\",\n ],\n endpoints: (builder) => ({\n getIncomeBanking: builder.query({\n query: (trn_id) => ({\n url: `/income/getIncomebanking/` + trn_id,\n }),\n providesTags: [\"incomeBank\", \"DELETEDOC\"],\n transformResponse: (response) => {\n let employerStatusOptions = [\n {\n label: \"Employed Full-Time\",\n value: \"Employed Full-Time\",\n },\n {\n label: \"Employed Part-Time\",\n value: \"Employed Part-Time\",\n },\n ];\n const addKeyToEmployer =\n response.records.employment_details.employer.map((item) => {\n let updatedEmployerStatus;\n if (item?.employer_status !== \"\") {\n updatedEmployerStatus =\n item?.employer_status == \"Employed Full-Time\"\n ? employerStatusOptions[0]\n : employerStatusOptions[1];\n }\n return {\n ...item,\n employer_status: updatedEmployerStatus,\n availableToUpload:\n item?.files?.length > 0\n ? \"Yes\"\n : item.no_doc_reason == null\n ? \"\"\n : \"No\",\n no_doc_reason:\n item.no_doc_reason ||\n \"I don't currently have access to document(s), but can provide later\",\n fileCount: item?.files?.length,\n pay_frequency: item.pay_frequency &&\n item.pay_frequency !== \"null\" && {\n label: item.pay_frequency,\n value: item.pay_frequency,\n },\n gross_pay_verify: false,\n actual_state: response?.records?.states?.filter(\n (singleState, index) => {\n console.log(\"SingleState, item\", singleState, item);\n if (item?.employer_state == singleState.StateShortCode) {\n return {\n value: singleState.ID || index,\n label:\n singleState.StateShortCode +\n \" - \" +\n singleState.StateName,\n };\n }\n }\n ),\n };\n });\n\n const addKeyToOtherEmployer =\n response.records.other_income_details.otherincome.map((item) => {\n return {\n ...item,\n availableToUpload:\n item?.files?.length > 0\n ? \"Yes\"\n : item.no_doc_reason != null\n ? \"No\"\n : \"\",\n no_doc_reason: item.no_doc_reason || \"I don't currently have access to document(s), but can provide later\",\n fileCount: item?.files?.length,\n other_income_type: item.other_income_type && {\n label: item.other_income_type,\n value: item.other_income_type,\n },\n rental_assistance_type: item.rental_assistance_type && {\n label: item.rental_assistance_type,\n value: item.rental_assistance_type,\n },\n };\n });\n const addKeyToBank = response.records.banking_details.banking.map(\n (item) => {\n return {\n ...item,\n availableToUpload:\n item?.files?.length > 0\n ? \"Yes\"\n : item.no_doc_reason != null\n ? \"No\"\n : \"\",\n no_doc_reason: item?.files?.length > 0 ? null : item.no_doc_reason || \"I don't currently have access to document(s), but can provide later\",\n fileCount: item?.files?.length,\n account_type: item.account_type && {\n label: item.account_type,\n value: item.account_type,\n },\n other_reason: item.other_reason,\n };\n }\n );\n return {\n ...response.records,\n employment_details: {\n ...response.records.employment_details,\n no_doc_reason:\n response.records.employment_details.no_doc_reason || \"I am not currently employed\",\n employerCount: response?.records?.employment_details?.employer?.length,\n employer: addKeyToEmployer?.map((singleEmp, index) => {\n if (singleEmp?.actual_state?.length > 0) {\n let stateBody = {\n value: singleEmp?.actual_state[0]?.ID || index,\n label:\n singleEmp?.actual_state[0]?.StateShortCode +\n \" - \" +\n singleEmp?.actual_state[0]?.StateName,\n };\n return {\n ...singleEmp,\n employer_state: stateBody,\n };\n } else {\n return {\n ...singleEmp,\n iscurrent_employer:\n index == 0\n ? singleEmp.iscurrent_employer || true\n : singleEmp.iscurrent_employer,\n };\n }\n }),\n },\n\n other_income_details: {\n ...response.records.other_income_details,\n employerCount:\n response.records?.other_income_details?.otherincome?.length,\n otherincome: addKeyToOtherEmployer,\n },\n banking_details: {\n ...response.records.banking_details,\n employerCount: response?.records?.banking_details?.banking?.length,\n banking: addKeyToBank,\n },\n };\n },\n }),\n getCompanyLogo: builder.query({\n query: (body) => ({\n url: `/users/logo/2`,\n }),\n }),\n getApplicantStatus: builder.query({\n query: (trn_id) => ({\n url: `/users/successstatus/` + trn_id,\n }),\n transformResponse: (response) => {\n return {\n ...response,\n applicant_status: response.records,\n };\n },\n providesTags: [\"APPLICATIONSTATUS\"],\n }),\n getTermandCondtion: builder.query({\n query: (trn_id) => ({\n url: `/stripe/getTandCpageforpayment/` + trn_id,\n })\n }),\n getTermandCondtionRegistration: builder.query({\n query: (trn_id) => ({\n url: `/users/getTandCpageforregistration/` + trn_id,\n })\n }),\n addEmployerSource: builder.mutation({\n query: (body) => {\n return {\n url: \"income/addSource\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"incomeBank\"],\n }),\n getvalidationCheckId: builder.query({\n query:(trn_id)=>({\n url:`/applicant/getIDValidationCheck/${trn_id}`\n }),\n providesTags: [\"ID\",\"incomeBank\",\"APPLICATIONSTATUS\"],\n }),\n getvalidationCheckIncome: builder.query({\n query:(trn_id)=>({\n url:`/income/getEmployerValidationCheck/${trn_id}`\n }),\n providesTags: [\"ID\",\"incomeBank\",\"APPLICATIONSTATUS\"],\n }),\n getvalidationCheckBank: builder.query({\n query:(trn_id)=>({\n url:`/income/getBankValidationCheck/${trn_id}`\n }),\n providesTags: [\"ID\",\"incomeBank\",\"APPLICATIONSTATUS\"],\n }),\n getDocumentSectionwise: builder.query({\n query:({profileID,subscriberId})=>({\n //getpreauthquestionsprofileandrolewise?profileid=2&subscriberid=2&rolename=Applicant\n url:`/income/getdocumentsectionwise?ApplicationProfileID=${profileID}&SubscriberID=${subscriberId}` //&rolename=document\n }),\n providesTags: [\"ID\",\"incomeBank\",\"APPLICATIONSTATUS\"],\n transformResponse: (response) => {\n if (response?.data) {\n return response.data.reduce((acc, item) => {\n // Remove spaces from CaptionName\n const key = item.DisplayName.replace(/[^a-zA-Z0-9]/g, '');\n acc[key] = item.FinalValue;\n console.log(\"🚀 ~ returnresponse.data.reduce ~ acc:\", acc)\n return acc;\n }, {});\n }\n return {};\n },\n }),\n getQuestionsSectionwise: builder.query({\n query:({subscriberId,profileID,profileTab='Income %26 Banking'})=>({\n url:`/income/getquestionssectionwise?ApplicationProfileID=${profileID}&SubscriberID=${subscriberId}&RoleName=Applicant&ProfileTab=${profileTab}`\n }),\n providesTags: [\"ID\",\"incomeBank\",\"APPLICATIONSTATUS\"],\n transformResponse: (response) => {\n return response.data.reduce((acc, item) => {\n // Remove spaces and any special characters from CaptionName\n const key = item.CaptionName.replace(/[^a-zA-Z0-9]/g, ''); // Removes all non-alphanumeric characters\n acc[key] = item.FinalValue;\n console.log(\"🚀 ~ returnresponse.data.reduce ~ acc:\", acc)\n return acc;\n }, {});\n return {};\n },\n }),\n uploadFileService: builder.mutation({\n query: (body) => {\n return {\n url: \"/applicant/document\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\n \"ID\",\n \"incomeBank\",\n \"CONTEXT\",\n \"SECONDARYDOC\",\n \"APPLICATIONSTATUS\",\n ],\n }),\n\n // we need to add trn id to url alwas to get all data intact\n getIdentificationData: builder.query({\n query: (trn_id) => ({\n url: `/applicant/getidentification/${trn_id}`,\n }),\n providesTags: [\"ID\", \"DELETEDOC\", \"ID1\"],\n transformResponse: async (response) => {\n const stateId = response.records.identification_data.state;\n const selectedState = response.records.states.filter((state) => {\n return state.ID == stateId;\n });\n if (response.records?.address?.length > 0) {\n const updateAddress = await response.records?.address.map(\n async (singleAddress, index) => {\n let states = await response.records.states.filter((state) => {\n if (state.ID == singleAddress.state) {\n console.log(\"Check State\", state);\n let body = {\n value: state.ID,\n label: state.StateName,\n };\n console.log(\"State Body\", body);\n singleAddress.state = body;\n }\n });\n console.log(\"Check The Updated Address\", singleAddress);\n }\n );\n }\n \n const res = {\n ...response.records,\n applicant: {\n ...response.records.applicant,\n otherPhoneCaption: {\n value: response.records.applicant.otherPhoneCaption,\n label: response.records.applicant.otherPhoneCaption,\n },\n alias_status:\n response.records.applicant?.Alias?.length > 0\n ? \"Yes\"\n : \"No\",\n // no_doc_reason: !response.records.identification_data.other_reason\n // ? \"Other\"\n // : !!response.records.identification_data.no_doc_reason\n // ? response.records.identification_data.no_doc_reason\n // : \"I don't currently have access to document(s), but can provide later\",\n // no_doc_reason:\n // response.records.identification_data.no_doc_reason ||\n // \"I don't currently have access to document(s), but can provide later\",\n availableToUpload_id:\n response.records.identification_data.availableToUpload_id,\n state:\n selectedState?.length > 0\n ? {\n value: selectedState[0].ID,\n label:\n selectedState[0].StateShortCode +\n \" - \" +\n selectedState[0].StateName,\n }\n : null,\n isNameMatched: \"\",\n isDOBMatched: \"\",\n },\n address: !response.records.address.length\n ? [\n {\n id: 0,\n is_current_address: true,\n move_in_date: null,\n move_out_date: null,\n },\n ]\n : response.records.address,\n ssn_data: {\n ...response.records.ssn_data,\n availableToUpload_ssn: response.records.ssn_data.file\n ? \"Yes\"\n : response.records.ssn_data.no_doc_reason\n ? \"No\"\n : response.records.ssn_data.other_reason\n ? \"No\"\n : \"\",\n // no_doc_reason: !response.records.ssn_data.other_reason\n // ? \"Other\"\n // : !!response.records.ssn_data.no_doc_reason\n // ? response.records.ssn_data.no_doc_reason\n // : \"I don't currently have access to document(s), but can provide later\",\n // assign_no_doc_reason: !response.records.ssn_data.other_reason\n // ? \"Other\"\n // : !!response.records.ssn_data.no_doc_reason\n no_doc_reason: response.records.ssn_data.no_doc_reason || \"I don't currently have access to document(s), but can provide later\",\n },\n identification_data:{\n ...response.records.identification_data,\n no_doc_reason: response.records.identification_data.no_doc_reason || \"I don't currently have access to document(s), but can provide later\",\n }\n };\n return res;\n },\n }),\n saveIdDetails: builder.mutation({\n query: (body) => {\n return {\n url: \"/applicant/saveiddetail\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"ID1\", \"SECTIONSTATUS\"],\n }),\n\n addToReviewQ: builder.mutation({\n query: (body) => {\n return {\n url: \"/users/updatereviewdone\",\n method: \"POST\",\n body: body,\n };\n },\n }),\n savePayslip: builder.mutation({\n query: (body) => {\n const newBody = {\n ...body, employment_details: {\n ...body.employment_details,\n no_doc_reason: body.employment_details.employer.length == 0 ? body.employment_details.no_doc_reason : null\n }\n }\n return {\n url: \"/income/saveincomebanking\",\n method: \"POST\",\n body: newBody,\n };\n },\n invalidatesTags: [\"incomeBank\", \"SECTIONSTATUS\"],\n }),\n deleteDocument: builder.mutation({\n query: (body) => {\n return {\n url: `/applicant/deletedocument/${body}`,\n method: \"DELETE\",\n };\n },\n invalidatesTags: [\"DELETEDOC\", \"SECONDARYDOC\", \"APPLICATIONSTATUS\"],\n }),\n deleteSource: builder.mutation({\n query: (body) => {\n return {\n url: `income/deleteSource`,\n method: \"DELETE\",\n body: body,\n };\n },\n invalidatesTags: [\"DELETEDOC\", \"APPLICATIONSTATUS\",\"incomeBank\"],\n }),\n getDetails: builder.query({\n query: (trn_id) => ({\n url: `/contextual/getdetails/${trn_id}`,\n }),\n providesTags: [\"CONTEXT\"],\n invalidatesTags: [\"SECTIONSTATUS\"],\n transformResponse: (response) => {\n let labelCount = 0;\n return {\n questionsLength: response.records?.length,\n anyone_over_18: response?.records[0]\n ? {\n ...response?.records[0],\n labelCount: response?.records[0].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n co_occupants: response?.records[1]\n ? {\n ...response?.records[1], //2\n // labelIndex: response.records[0].display ? 2 : 1,\n labelCount: response?.records[1].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n is_co_signer: response?.records[2]\n ? {\n ...response?.records[2],\n\n labelCount: response?.records[2].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n reference: response?.records[3]\n ? {\n ...response?.records[3],\n\n labelCount: response?.records[3].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n emergency_reference: response?.records[4]\n ? {\n ...response?.records[4],\n\n labelCount: response?.records[4].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n renters_insurance: response?.records[8]\n ? {\n ...response?.records[8],\n\n labelCount: response?.records[8].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n eviction_or_nonpayment: response?.records[10]\n ? {\n ...response?.records[10],\n\n labelCount: response?.records[10].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {}, //TODO: From Contengies\n contingencies: response?.records[11]\n ? {\n ...response?.records[11],\n\n labelCount: response?.records[11].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n filed_for_bankruptcy: response?.records[13]\n ? {\n ...response?.records[13],\n\n labelCount: response?.records[13].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n is_student: response?.records[7]\n ? {\n ...response?.records[7],\n\n labelCount: response?.records[7].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n have_vehicle: response?.records[6]\n ? {\n ...response?.records[6],\n\n labelCount: response?.records[6].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n have_pet: response?.records[5]\n ? {\n ...response?.records[5],\n\n labelCount: response?.records[5].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n do_you_smoke: response?.records[12]\n ? {\n ...response?.records[12],\n\n labelCount: response?.records[12].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n\n convicted_for_crime: response?.records[9]\n ? {\n ...response?.records[9],\n\n labelCount: response?.records[9].display\n ? labelCount++\n : labelCount,\n labelIndex: labelCount,\n } || {\n display: false,\n required: false,\n response: \"no\",\n }\n : {},\n };\n },\n }),\n saveContexttual: builder.mutation({\n query: (body) => {\n return {\n url: \"/contextual/savedetails\",\n method: \"POST\",\n body: body,\n };\n },\n providesTags: [\"SAVECONTEXT\"],\n invalidatesTags: [\"CONTEXT\", \"SECTIONSTATUS\"],\n }),\n savePayment: builder.mutation({\n query: (body) => {\n return {\n url: \"/stripe/payment\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"SECTIONSTATUS\"],\n }),\n updatereviewpending: builder.mutation({\n query: (body) => {\n return {\n url: \"/users/updatereviewpending\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"SECTIONSTATUS\"],\n }),\n getSectionStatus: builder.query({\n query: (trn_id) => ({\n url: `/users/sectionstatus/${trn_id}`,\n }),\n providesTags: [\"SECTIONSTATUS\"],\n transformResponse: (response) => {\n console.log(\"Check Response for section status\", response);\n return response.records;\n },\n }),\n getViewConsent: builder.query({\n query: (trn_id) => ({\n url: `/stripe/getpayment/${trn_id}`,\n }),\n transformResponse: (response) => {\n return response;\n },\n }),\n getIdDocumentStatus: builder.query({\n query: (trn_id) => ({\n url: `/applicant/getiddocumentstatus/${trn_id}`,\n }),\n providesTags: [\"DOCUMENTSTATUS\"],\n }),\n mobileScanSave: builder.mutation({\n query: (body) => {\n return {\n url: \"/applicant/mobile_scan_saveonly\",\n method: \"POST\",\n body: body,\n };\n },\n }),\n getUpdatedDesiredAddress: builder.query({\n query: (trn_id) => ({\n url: `/applicant/getupdateddesiredaddress/${trn_id}`,\n }),\n providesTags: [\"GETUPDATEADDRESS\"],\n transformResponse: async (response) => {\n console.log(\"Check Address Response\", response);\n const state = await response?.records?.state.map((item, index) => {\n return {\n value: item.ID || index,\n label: item.StateShortCode + \" - \" + item.StateName,\n };\n });\n let shortCodeUserState =\n response?.records?.result?.recordset[0]?.State.split(\" \")[0];\n let applicantState = await response?.records?.state.filter(\n (state, index) => {\n if (shortCodeUserState == state.StateShortCode) {\n const body = {\n value: state.ID,\n label: state.StateName,\n };\n\n console.log(\"Check State\", body);\n\n return {\n value: state.ID,\n label: state.StateName,\n };\n }\n }\n );\n console.log(\"Check Applicant State\", applicantState);\n return {\n ...response.records,\n state: state,\n records: {\n ...response.records,\n applicantState,\n },\n };\n },\n }),\n updateDesiredAddess: builder.mutation({\n query: (body) => {\n return {\n url: \"/applicant/updatedesiredaddress\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"GETUPDATEADDRESS\"],\n }),\n getSecondaryAppDetails: builder.query({\n query: (trn_id) => ({\n url: `/contextual/getsecondaryapplicationdetails/${trn_id}`,\n }),\n\n transformResponse: (response) => {\n return {\n convicted_for_crime: response.records[0],\n convictions_on_property: response.records[1],\n proof_of_document: response.records[2],\n };\n },\n providesTags: [\"SECONDARYDOC\"],\n }),\n saveSecondaryApp: builder.mutation({\n query: (body) => {\n return {\n url: \"/contextual/savesecondaryapplicationdetails\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"SECONDARYDOC\", \"APPLICATIONSTATUS\"],\n }),\n getDocumentImg: builder.query({\n query: (img_id) => ({\n url: `/applicant/getdocumentImg/${img_id}`,\n // responseType: 'blob',\n }),\n }),\n getSubscriberFees: builder.query({\n query: (trn_id) => ({\n url: `/stripe/payment/getSubscriberFees/${trn_id}`,\n }),\n }),\n\n updateFloorPlanUnit: builder.mutation({\n query: (body) => {\n return {\n url: \"/users/updateFloorPlanUnit\",\n method: \"POST\",\n body: body,\n };\n },\n invalidatesTags: [\"GETUPDATEFLOORUNITS\"],\n }),\n\n getUpdatedFloorsAndUnit: builder.query({\n query: (trn_id) => ({\n url: `/users/getUpdatedFloorsandUnit/${trn_id}`,\n }),\n providesTags: [\"GETUPDATEFLOORUNITS\"],\n }),\n }),\n});\n\nexport const {\n useGetCompanyLogoQuery,\n useUploadFileServiceMutation,\n useGetIdentificationDataQuery,\n useSaveIdDetailsMutation,\n useAddToReviewQMutation,\n useDeleteDocumentMutation,\n useGetDetailsQuery,\n useSaveContexttualMutation,\n useGetIncomeBankingQuery,\n useDeleteSourceMutation,\n useSavePayslipMutation,\n useAddEmployerSourceMutation,\n useGetApplicantStatusQuery,\n useSavePaymentMutation,\n useUpdatereviewpendingMutation,\n useGetSectionStatusQuery,\n useGetViewConsentQuery,\n useGetUpdatedDesiredAddressQuery,\n useUpdateDesiredAddessMutation,\n useGetSecondaryAppDetailsQuery,\n useSaveSecondaryAppMutation,\n useGetDocumentImgQuery,\n useGetIdDocumentStatusQuery,\n useMobileScanSaveMutation,\n useGetSubscriberFeesQuery,\n useUpdateFloorPlanUnitMutation,\n useGetUpdatedFloorsAndUnitQuery,\n useGetTermandCondtionQuery,\n useGetTermandCondtionRegistrationQuery,\n useGetvalidationCheckIdQuery,\n useGetvalidationCheckIncomeQuery,\n useGetvalidationCheckBankQuery,\n useGetDocumentSectionwiseQuery,\n useGetQuestionsSectionwiseQuery,\n} = identificationApi;\n\nexport default identificationApi;\n","import React, { useEffect, useRef } from 'react';\nimport { Quill } from 'react-quill';\n\nexport default function RenderQuillText({ text }) {\n const quillRef = useRef(null);\n const quillInstanceRef = useRef(null);\n\n // This effect initializes Quill only once when the component is mounted\n useEffect(() => {\n if (quillRef.current) {\n quillInstanceRef.current = new Quill(quillRef.current, {\n theme: 'snow',\n readOnly: true,\n modules: {\n toolbar: false,\n }\n });\n }\n }, []);\n\n // This effect watches the `text` prop and updates the Quill content when `text` changes\n useEffect(() => {\n if (quillInstanceRef.current && text) {\n const quillEditor = quillInstanceRef.current;\n const isEmpty = !quillEditor.root.innerHTML.trim() || quillEditor.root.innerHTML === '


';\n\n if (isEmpty) {\n quillEditor.clipboard.dangerouslyPasteHTML(0, text); // Safely update the editor's content\n }\n }\n }, [text]);\n\n return
;\n}\n","/* eslint-disable react/jsx-no-target-blank */\nimport React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { NavLink, useLocation, useNavigate } from \"react-router-dom\";\nimport { useForm } from \"react-hook-form\";\nimport SuperHeader from \"../../components/common/superHeader/superHeader\";\nimport {\n useAcceptTermsAndConditionsMutation,\n useGetMasterRegistrationDataQuery,\n} from \"../../services/registrationApi\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport 'quill/dist/quill.snow.css';\nimport 'react-quill/dist/quill.bubble.css';\nimport * as yup from \"yup\";\nimport InputCheckBoxField from \"../../components/registration/Inputs/InputCheckBoxField\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport { Accordion, AccordionSummary, Typography } from \"@mui/material\";\nimport { BsCheck2Circle } from \"react-icons/bs\";\nimport ExpandMoreIcon from \"@mui/icons-material/ExpandMore\";\nimport visa from \"../../assets/images/visa.png\";\nimport amex from \"../../assets/images/amex.png\";\nimport discover from \"../../assets/images/discover.png\";\nimport mc from \"../../assets/images/mc.png\";\nimport { AiOutlinePlus } from \"react-icons/ai\";\nimport { protocol } from \"../../config\";\nimport SupportSection from \"../../components/common/SupportSection/SupportSection\";\nimport parse from 'html-react-parser';\nimport { useGetTermandCondtionQuery, useGetTermandCondtionRegistrationQuery } from \"../../services/identificationApi\";\nimport { JSONTree } from \"react-json-tree\";\nimport RenderQuillText from \"./RenderQuillText\";\n\nconst Instruction = (props) => {\n\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const navigate = useNavigate();\n const schema = yup.object().shape({\n // i_accept: yup.bool().oneOf([true], \"field must be checked\"),\n });\n const methods = useForm({\n defaultValues: {\n i_accept: false,\n },\n resolver: yupResolver(schema),\n mode: \"all\",\n });\n const { register, handleSubmit } = methods;\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const { data, isLoading, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n\n const registerTermsData = useGetTermandCondtionRegistrationQuery(trn_id);\n const { data: dataTerm } = useGetTermandCondtionQuery(trn_id);\n\n const [acceptTermsAndConditions] = useAcceptTermsAndConditionsMutation();\n const [selectedTab, setSelectedTab] = React.useState(\"Instruction\");\n const [openInstruction, setOpenInstruction] = React.useState(true);\n const [openTerms, setOpenTerms] = React.useState(false);\n const [clickHere, setClickHere] = React.useState(true);\n const onSubmit = async (formData) => {\n const response = await acceptTermsAndConditions(trn_id);\n console.log(\"Response for instruction\", response);\n if (response.data?.success === true) {\n toast.success(response.data.message, { pauseOnFocusLoss: false });\n navigate(\"/identification\");\n }\n if (response.data?.success === false) {\n toast.error(response.data.message, { pauseOnFocusLoss: false });\n }\n };\n React.useEffect(() => {\n if (registerTermsData?.data?.records?.subscriber_text) {\n // Trigger re-render or handle the data processing\n }\n }, [registerTermsData?.data?.records?.subscriber_text]);\n\n React.useEffect(() => {\n document.title = \"Terms and Condition\";\n }, []);\n return (\n
\n \n
\n
\n
\n
\n
\n \n \n {data?.records?.subscriber_name}\n \n
\n
\n
\n \n
\n Name:{\" \"}\n \n {\" \"}\n {data?.records?.first_name} {data?.records?.last_name}\n \n
\n
\n Application ID:{\" \"}\n {data?.records?.application_number}\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n \n {\n setSelectedTab(\"Instruction\");\n setOpenTerms(false);\n setOpenInstruction(true);\n }}\n >\n Instructions\n \n \n \n {\n setSelectedTab(\"Terms\");\n setOpenInstruction(false);\n setOpenTerms(true);\n }}\n >\n Terms & Conditions\n \n \n \n
\n
\n
\n
\n {\n setOpenInstruction(!openInstruction);\n setOpenTerms(!openTerms);\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {openInstruction && }{\" \"}\n Instructions\n \n \n
\n\n
\n \n {registerTermsData?.data?.records?.text && (\n <>\n \n \n )}\n {registerTermsData && registerTermsData?.data?.records?.subscriber_text && (<>\n \n\n )}\n\n\n {/*
*/}\n
\n {/*
\n
\n
\n
\n
    \n
  • Visa
  • \n
  • MasterCard
  • \n
  • Discover
  • \n
  • American Express
  • \n
\n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
*/}\n
\n \n {\n setOpenTerms(!openTerms);\n setOpenInstruction(!openInstruction);\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {openTerms && } Terms &\n Conditions\n \n \n
\n
\n {dataTerm?.records?.text && (<>\n {/* {parse(dataTerm?.records?.text)} */}\n \n )}\n\n {dataTerm?.records?.subscriber_text && (<>\n
\n {/* {parse(dataTerm?.records?.subscriber_text)} */}\n \n )}\n
\n
\n {/*

\n \n Docuverus charges a NON-REFU NDABLE APPLICATION FEE of\n $5.00 per applicant (the \"Application Fee\"), which covers\n certain processing and screening service costs associated\n with your application submitted herein (the\n \"Application\"), such as verifying your income, checking\n your credit, and conducting a background check. Under no\n circumstances shall Applicant be entitled to a refund or\n charge-back of the Application Fee. The Application Fee,\n which must be paid at the time that the Applicant submits\n a rental application, is separate and apart from any real\n estate brokerage that Applicant may be responsible for\n paying to a Broker or my have otherwise agreed to pay to a\n Broker.\n

\n

\n Applicant represents and warrants that all of the\n information contained in the Application is true and\n accurate. Applicant expressly understands and agrees that\n submitting this Application does not guarantee that it\n will be accepted by the applicable landlord or property\n management company. Applicant acknowledges and agrees that\n Application acceptance is solely within the discretion of\n landlord and/or property management company and neither\n Docuverus, nor National Tenant Network (defined below), is\n responsible for determining whether Applicant's\n application is accepted or denied. Applicant further\n acknowledges and agrees that landlord(s) and/or property\n management company may deny Applicant's application or\n terminate any lease agreement with Applicant if any\n information contained herein is false, incomplete,\n unverifiable, and/or misleading. Applicant shall not be\n entitled to a refund or charge-back of the Application Fee\n in the event that the application is rejected or denied\n for any reason.\n

\n

\n As part of the application process, National Tenant\n Network will conduct a background screening report, In\n order for National Tenant Network and any prospective\n landlord to process your Application, Applicant must\n provide written consent to conduct or run certain\n searches, inquiries, or reports, which may include\n accessing your credit report (from Equifax, Experian or\n TransUnion), eviction report, criminal background report,\n sex offender report, income/employment verification,\n residency verification and OFAC terrorist search. By\n completing this Application and signing below, you consent\n to National Tenant Network conducting such searches in\n accordance with the Fair Credit Reporting Act. You are\n also consenting to Docuverus sharing your Application with\n National Tenant Network for the purpose of running a\n background screening report.\n

\n

\n Applicant consents to Docuverus sharing all application\n information and documents with Anytown Real Estate Ltd,\n and Applicant also consents to Anytown Real Estate Ltd\n providing a copy of Applicant's application and/or\n background report to a prospective Landlord and/or his/her\n respective listing agent, if applicable, in connection\n with the rental property applied for.\n

\n

\n Federal and State Disclosures
\n \n Click here\n {\" \"}\n for a Summary of Your Rights Under the Fair Credit\n Reporting Act.\n

\n

\n

\n Washington State applicants only:\n

{\" \"}\n You also have the right to request from the consumer\n reporting agency a written summary of your rights and\n remedies under the Washington Fair Credit Reporting Act.\n

\n

\n

\n New York/Maine applicants only:\n

{\" \"}\n You have the right to inspect and receive a copy of any\n investigative consumer report requested by the Landlord by\n contacting the consumer reporting agency identified\n directly. You may also contact the Company to request the\n name, address and telephone number of the nearest unit of\n the consumer reporting agency designated to handle\n inquiries, which the Company shall provide within 5 days.\n

\n

\n

\n New York City applicants only:\n

{\" \"}\n Pursuant to federal, state, and local law: 1) If we take\n adverse action against you on the basis of information\n contained in a tenant screening report, we must notify you\n that such action was taken and supply you with the name\n and address of the consumer reporting agency that provided\n the tenant screening report on the basis of which such\n action was taken; 2) if any adverse action is taken\n against you based on information contained in a tenant\n screening report, you have the right to inspect and\n receive a free copy of that report by contacting the\n consumer reporting agency: NTN-New York, PO Box 1023,\n Turnersville, NJ 08012, Telephone: 800-422-8299; 3) every\n tenant or prospective tenant is entitled to one free\n tenant screening report from each national consumer\n reporting agency annually, in addition to a credit report\n that should be obtained from www.annualcreditreport.com;\n and 4) every tenant or prospective tenant may dispute\n inaccurate or incorrect information contained in a tenant\n screening report directly with the consumer reporting\n agency.\n

\n

\n

\n New Jersey Applicants:\n

{\" \"}\n The Fair Chance in Housing Act requires specific notice to\n be provided to you, which can be found{\" \"}\n \n here.\n {\" \"}\n By signing this application, you agree that you have\n received and acknowledge this notice.\n

\n

\n

\n California applicants or residents only:\n

{\" \"}\n By signing this application, you also acknowledge receipt\n of the NOTICE REGARDING BACKGROUND INVESTIGATION PURSUANT\n TO CALIFORNIA LAW. Please contact the consumer reporting\n agency if you would like to receive a copy of an\n investigative consumer report or consumer credit report at\n no charge if one is obtained by the Company whenever you\n have a right to receive such a copy under California.\n

*/}\n
\n
\n \n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n {/* */}\n {/* \n \n I have read, understood,\n and consent to Docuverus's Data Policy and Terms of Use.\n \n
\n {methods.formState.errors !== undefined &&\n methods.formState.errors?.i_accept?.message}\n
*/}\n
\n
\n
\n
\n
\n \n {/* */}\n
\n
\n
\n
\n
\n \n
\n
\n );\n};\n\nexport default Instruction;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n fromSectionSubmit:0,\n viewOnlyFlag:false\n};\nconst fromSubmit = createSlice({\n name: \"fromSubmit\",\n initialState,\n reducers: {\n formSubmitStatus:(state,action)=>{\n state.fromSectionSubmit=state.fromSectionSubmit+1;\n // state.fromSectionSubmit=action.payload\n },\n formSubmitStatusRest:(state,action)=>{\n state.fromSectionSubmit=0;\n // state.fromSectionSubmit=action.payload\n },\n setViewOnlyFlag:(state,action)=>{\n state.viewOnlyFlag=action.payload\n }\n },\n});\n\nexport const {formSubmitStatus,formSubmitStatusRest,setViewOnlyFlag} = fromSubmit.actions;\n\nexport default fromSubmit.reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n selected: \"identification\",\n applicantFirstName: \"\",\n applicantMiddleName: \"\",\n applicantLastName: \"\",\n applicantNameMatched: null,\n applicantDOBMatched: null,\n applicationStatus: {},\n firstnameError: false,\n lastnameError: false,\n emailError: false,\n mobilenumberError: false,\n dateofbirthError: false,\n aliasfirstnameError: false,\n aliaslastnameError: false,\n isaliasrequired: null,\n isproofofidentityrequired: null,\n proofOfIdentityFilePresent: null,\n personalDetailsStatus: false,\n proofOfIdentityStatus: false,\n addressStatus: false,\n ssnStatus: false,\n applicantDetailsStatus: false,\n contactsStatus: false,\n financialDetailsStatus: false,\n otherStatus: false,\n employeeIncomeStatus: false,\n otherIncomeStatus: false,\n bankingInformationStatus: false,\n otherDocumentStatus: false,\n termsAndConditionStatus: false,\n paymentSignatureStatus: false,\n // uploadPetImageId: null,\n uploadPetImageId: [],\n windowWidth: window.innerWidth,\n scanMenu: 2,\n applicationFee: 0,\n subscriberFee: 0,\n};\nconst sideNav = createSlice({\n name: \"side_menu_nav\",\n initialState,\n reducers: {\n sideNav: (state, action) => {\n state.selected = action.payload;\n },\n applicationStatusState: (state, action) => {\n state.applicationStatus = action.payload;\n },\n personalDetailStatus: (state, action) => {\n console.log(\"Check State and Action\", state, action);\n state.personalDetailsStatus = action.payload;\n },\n proofOfIdentityStatus: (state, action) => {\n state.proofOfIdentityStatus = action.payload;\n },\n applicantNameMatched: (state, action) => {\n state.applicantNameMatched = action.payload;\n },\n applicantDOBMatched: (state, action) => {\n state.applicantDOBMatched = action.payload;\n },\n // uploadPetImageId: (state, action) => {\n // state.uploadPetImageId = action.payload;\n // },\n uploadPetImageId: (state, action) => {\n console.log(\n \"Check State and Action for UploadPetImage:66\",\n state,\n action\n );\n if (action.payload?.type == \"APICALL\") {\n state.uploadPetImageId = action.payload?.data?.map((data, index) => {\n return {\n index: index,\n id: data?.file_id,\n };\n });\n }\n if (action.payload?.type === \"UPLOAD\") {\n if (state.uploadPetImageId[action.payload?.index]) {\n state.uploadPetImageId[action.payload?.index] = {\n index: action.payload?.index,\n id: action.payload?.id,\n file: action.payload?.file,\n };\n return;\n }\n state.uploadPetImageId = [\n ...state.uploadPetImageId,\n {\n index: action.payload?.index,\n id: action.payload?.id,\n file: action.payload?.file,\n },\n ];\n }\n if (action.payload?.type === \"DELETE\") {\n for (let index = 0; index < state.uploadPetImageId.length; index++) {\n const element = state.uploadPetImageId[index];\n\n if (element?.index == action.payload?.index) {\n state.uploadPetImageId[element.index] = {\n index: action.payload?.index,\n id: null,\n };\n }\n }\n }\n if (action.payload?.type === \"DELETESOURCE\") {\n state.uploadPetImageId = [];\n }\n // state.uploadPetImageId.index = action.payload.index;\n // state.uploadPetImageId.id = action.payload.id;\n // if (action.payload?.type === \"LOCAL\") {\n // // state.uploadPetImageId = state.uploadPetImageId.filter(\n // // (pets, index) => {\n // // return pets?.id !== action.payload?.id;\n // // }\n // // );\n // for (let index = 0; index < state.uploadPetImageId.length; index++) {\n // const element = state.uploadPetImageId[index];\n // console.log(\"PREV0->\", element);\n\n // if (element?.index == action.payload?.index) {\n // console.log(\"PREV->\", element);\n // console.log(\"NEXT->\", action.payload);\n\n // state.uploadPetImageId[element.index] = {\n // index: action.payload?.index,\n // id: null,\n // };\n // // state.uploadPetImageId = [\n // // ...state.uploadPetImageId,\n // // {\n // // index: action.payload?.index,\n // // id: null,\n // // },\n // // ];\n // }\n // }\n // } else {\n // console.log(\"In Else Part for delete\");\n // state.uploadPetImageId = [];\n // // state.uploadPetImageId = [\n // // ...state.uploadPetImageId,\n // // {\n // // index: action.payload?.index,\n // // id: action.payload?.id,\n // // },\n // // ];\n // }\n // state.uploadPetImageId = [\n // ...state.uploadPetImageId,\n // {\n // index: action.payload?.index,\n // id: action.payload?.id,\n // },\n // ];\n // state.uploadPetImageId = state.uploadPetImageId.filter((petDetails, index) => {\n // petDetails.id == action.payload?.id ? \"\" : \"\"\n // })\n },\n firstnameError: (state, action) => {\n state.firstnameError = action.payload;\n },\n lastnameError: (state, action) => {\n state.lastnameError = action.payload;\n },\n emailError: (state, action) => {\n state.emailError = action.payload;\n },\n mobilenumberError: (state, action) => {\n state.mobilenumberError = action.payload;\n },\n dateofbirthError: (state, action) => {\n state.dateofbirthError = action.payload;\n },\n windowWidth: (state, action) => {\n state.windowWidth = action.payload;\n },\n aliasfirstnameError: (state, action) => {\n state.aliasfirstnameError = action.payload;\n },\n aliaslastnameError: (state, action) => {\n state.aliaslastnameError = action.payload;\n },\n isaliasrequired: (state, action) => {\n state.isaliasrequired = action.payload;\n },\n isproofofidentityrequired: (state, action) => {\n state.isproofofidentityrequired = action.payload;\n },\n proofOfIdentityFilePresent: (state, action) => {\n state.proofOfIdentityFilePresent = action.payload;\n },\n scanMenuSelect: (state, action) => {\n state.scanMenu = action.payload;\n },\n enterApplicationFee: (state, action) => {\n state.applicationFee = action.payload;\n },\n enterSubscriberFee: (state, action) => {\n state.subscriberFee = action.payload;\n },\n },\n});\n\nexport const sideNavAction = sideNav.actions;\n\nexport default sideNav.reducer;\n","import { createSlice } from '@reduxjs/toolkit'\nconst initialState = {\n personalErr: false,\n personalDetailsStatus: null,\n ProofOfIdentityStatus: null,\n AddressStatus: null,\n SsnStatus: null,\n ApplicantDetailStatus: false,\n ApplicantErr: false,\n ContactsStatus: false,\n FinantialDetailStatus: false,\n OtherStatus: false,\n IncomeStatus:false,\n OtherIncomeStatus:false,\n BankStatus:false,\n OtherDocStatus:false,\n IncomeErr:false,\n termsStatus:false,\n paymentStatus:false,\n paymentErr:false,\n sideNavApplicant:false,\n sideNavIncome:false,\n sideNavPayment:false,\n sideNavIdentification:false,\n}\nconst tabsState = createSlice({\n name: 'tabsState',\n initialState,\n reducers: {\n personalDetail: (state, action) => {\n state.personalDetailsStatus = action.payload;\n state.SsnStatus = false;\n state.AddressStatus = false;\n state.ProofOfIdentityStatus = false;\n },\n personalErr: (state, action) => {\n state.personalErr = action.payload;\n },\n ProofOfIdentity: (state, action) => {\n state.ProofOfIdentityStatus = action.payload;\n state.SsnStatus = false;\n state.AddressStatus = false;\n state.personalDetailsStatus = true;\n },\n Address: (state, action) => {\n state.AddressStatus = action.payload;\n state.SsnStatus = false;\n state.personalDetailsStatus = true;\n state.ProofOfIdentityStatus = true;\n },\n Ssn: (state, action) => {\n state.SsnStatus = action.payload;\n state.personalDetailsStatus = true;\n state.ProofOfIdentityStatus = true;\n state.AddressStatus = true;\n },\n ApplicantErr: (state, action) => {\n state.ApplicantErr = action.payload;\n },\n ApplicantDetail: (state, action) => {\n state.ApplicantDetailStatus = action.payload;\n state.ContactsStatus=false;\n state.FinantialDetailStatus=false;\n state.OtherStatus=false;\n },\n Contacts: (state, action) => {\n state.ContactsStatus = action.payload;\n state.ApplicantDetailStatus=true;\n state.FinantialDetailStatus=false;\n state.OtherStatus=false;\n },\n FinantialDetail: (state, action) => {\n state.FinantialDetailStatus = action.payload;\n state.ContactsStatus=true;\n state.ApplicantDetailStatus=true;\n state.OtherStatus=false;\n },\n Other: (state, action) => {\n state.OtherStatus = action.payload;\n state.FinantialDetailStatus = true;\n state.ContactsStatus=true;\n state.ApplicantDetailStatus=true;\n },\n Income:(state, action) => {\n state.OtherDocStatus = false;\n state.BankStatus = false;\n state.OtherIncomeStatus=false;\n state.IncomeStatus=action.payload;\n },\n OtherIncome:(state, action) => {\n state.OtherDocStatus = false;\n state.BankStatus = false;\n state.OtherIncomeStatus=action.payload;\n state.IncomeStatus=true;\n },\n Bank:(state, action) => {\n state.OtherDocStatus = false;\n state.BankStatus = action.payload;\n state.OtherIncomeStatus=true;\n state.IncomeStatus=true;\n },\n OtherDoc:(state, action) => {\n state.OtherDocStatus = action.payload;\n state.BankStatus = true;\n state.OtherIncomeStatus=true;\n state.IncomeStatus=true;\n },\n IncomeErr:(state,action)=>{\n state.IncomeErr=action.payload;\n },\n Terms:(state, action) => {\n state.paymentStatus = false;\n state.termsStatus = action.payload;\n },\n Payment:(state, action) => {\n state.OtherDocStatus = action.payload;\n state.termsStatus = true;\n },\n PaymentErr:(state,action)=>{\n state.paymentErr=action.payload;\n },\n sideNavIdentificationReducer:(state,action)=>{\n state.sideNavIdentification=action.payload;\n },\n sideNavApplicantReducer:(state,action)=>{\n state.sideNavApplicant=action.payload;\n },\n sideNavIncomeReducer:(state,action)=>{\n state.sideNavIncome=action.payload;\n },\n sideNavPaymentReducer:(state,action)=>{\n state.sideNavPayment=action.payload;\n }\n }\n});\n\nexport const tabsStateAction = tabsState.actions;\n\nexport default tabsState.reducer;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useEffect, useState, useRef } from \"react\";\n//import $ from \"jquery\";\n\nimport {\n useGetIdentificationDataQuery,\n useGetDetailsQuery,\n useGetSectionStatusQuery,\n} from \"../../services/identificationApi\";\nimport Loader from \"react-loader-spinner\";\nimport { useGetMasterRegistrationDataQuery } from \"../../services/registrationApi\";\nimport SuperHeader from \"../../components/common/superHeader/superHeader\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { Outlet, useNavigate } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom\";\nimport {\n formSubmitStatus,\n formSubmitStatusRest,\n} from \"../../store/registration/fromSubmitSlice\";\nimport { sideNavAction } from \"../../store/identification/sideMenuSlice\";\nimport { BsCheckLg } from \"react-icons/bs\";\nimport { useForm } from \"react-hook-form\";\nimport { tabsStateAction } from \"../../store/identification/tabStateSlice\";\nimport { protocol } from \"../../config\";\n\nconst Identification = (props) => {\n const [disableNextBtn, setDisableNext] = useState(false);\n const navigate = useNavigate();\n const dispatch = useDispatch();\n const { watch } = useForm();\n\n const location = useLocation();\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const { data, isLoading, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n let identificationData = useGetIdentificationDataQuery(trn_id);\n let sectionCompleteStatus = useGetSectionStatusQuery(trn_id);\n\n dispatch(sideNavAction.applicationStatusState(sectionCompleteStatus.data));\n let contextualData = useGetDetailsQuery(trn_id);\n const application_status = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n\n const subTabs = useSelector((state) => state.identification.tabsStateSlice);\n\n useEffect(() => {\n console.log(\" \", trn_id);\n if (\n application_status?.applicationStatus?.identification_details_status ===\n false\n ) {\n return navigate(\"/identification\");\n }\n if (\n application_status?.applicationStatus?.applicant_details_status === false\n ) {\n dispatch(tabsStateAction.sideNavIdentificationReducer(true));\n return navigate(\"applicantDetail\");\n }\n if (\n application_status?.applicationStatus?.income_banking_status === false\n ) {\n dispatch(tabsStateAction.sideNavIdentificationReducer(true));\n dispatch(tabsStateAction.sideNavApplicantReducer(true));\n return navigate(\"incomeDetail\");\n }\n if (\n application_status?.applicationStatus?.consent_payment_status === false\n ) {\n dispatch(tabsStateAction.sideNavIdentificationReducer(true));\n dispatch(tabsStateAction.sideNavApplicantReducer(true));\n dispatch(tabsStateAction.sideNavIncomeReducer(true));\n return navigate(\"payment\");\n }\n }, [application_status.applicationStatus]);\n\n if (isLoading && identificationData.isLoading && contextualData.isLoading)\n return (\n \n );\n else\n return (\n
\n \n
\n
\n
\n
\n
\n \n \n {data?.records?.subscriber_name}\n \n
\n
\n
\n \n
\n Name:{\" \"}\n \n {\" \"}\n {data?.records?.first_name} {data?.records?.last_name}\n \n
\n
\n Application ID:{\" \"}\n {data?.records?.application_number}\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
    \n \n {\n e.preventDefault();\n // dispatch(formSubmitStatusRest());\n navigate(\"/identification\");\n // dispatch(formSubmitStatus());\n }}\n >\n \n {subTabs.sideNavIdentification === true ? (\n \n ) : (\n <>1\n )}\n \n \n Identification Details\n \n \n
    \n \n
    \n \n \n {\n e.preventDefault();\n //dispatch(formSubmitStatusRest());\n\n // if (\n // application_status?.applicationStatus\n // ?.identification_details_status === true\n // ) {\n // navigate(\"applicantDetail\");\n // } else {\n if (subTabs.sideNavIdentification === true)\n return navigate(\"applicantDetail\");\n dispatch(formSubmitStatus());\n //}\n //navigate(\"applicantDetail\");\n }}\n >\n \n {subTabs.sideNavApplicant == true ? (\n \n ) : (\n <>2\n )}\n \n \n Applicant Details\n \n \n \n \n \n {\n e.preventDefault();\n // dispatch(formSubmitStatusRest());\n\n // if (\n // application_status?.applicationStatus\n // ?.applicant_details_status === true\n // ) {\n // navigate(\"incomeDetail\");\n // } else {\n if (\n subTabs.sideNavIdentification === true &&\n subTabs.sideNavApplicant == true\n )\n return navigate(\"incomeDetail\");\n dispatch(formSubmitStatus());\n // }\n //navigate(\"incomeDetail\");\n }}\n >\n \n {subTabs.sideNavIncome == true ? (\n \n ) : (\n <>3\n )}\n \n \n Income & Banking\n \n \n \n \n \n {\n e.preventDefault();\n //dispatch(formSubmitStatusRest());\n //navigate(\"payment\");\n // if (\n // application_status?.applicationStatus\n // ?.income_banking_status === true\n // ) {\n // navigate(\"payment\");\n // } else {\n if (\n subTabs.sideNavIdentification === true &&\n subTabs.sideNavApplicant == true &&\n subTabs.sideNavIncome == true\n )\n return navigate(\"payment\");\n dispatch(formSubmitStatus());\n //}\n }}\n >\n \n {application_status?.applicationStatus\n ?.consent_payment_status === true ? (\n \n ) : (\n <>4\n )}\n \n \n Consent & Payment\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 e.preventDefault();\n dispatch(formSubmitStatus());\n setDisableNext(true);\n if (\n location.pathname == \"/identification/payment\" ||\n location.pathname == \"/identification/payment/\"\n ) {\n setTimeout(() => setDisableNext(false), 10000);\n } else setTimeout(() => setDisableNext(false), 3000);\n }}\n >\n {location.pathname == \"/identification/payment\" ||\n location.pathname == \"/identification/payment/\"\n ? \"Submit \"\n : \"Next \"}{\" \"}\n  \n {(location.pathname !== \"/identification/payment\" ||\n location.pathname == \"/identification/payment/\") && (\n \n \n \n )}\n \n
\n
\n
\n
\n
\n
\n );\n};\n\nexport default Identification;\n","import React, { useEffect, useState, useRef } from \"react\";\n//import $ from \"jquery\";\n\nimport {\n useGetIdentificationDataQuery,\n useGetDetailsQuery,\n} from \"../../services/identificationApi\";\nimport Loader from \"react-loader-spinner\";\nimport { useGetMasterRegistrationDataQuery } from \"../../services/registrationApi\";\nimport SuperHeader from \"../../components/common/superHeader/superHeader\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { Outlet, useNavigate } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom\";\nimport {\n formSubmitStatus,\n formSubmitStatusRest,\n} from \"../../store/registration/fromSubmitSlice\";\nimport { FaCheck } from \"react-icons/fa\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { protocol } from \"../../config\";\n\nconst IdentificationView = (props) => {\n const navigate = useNavigate();\n const dispatch = useDispatch();\n\n // const sideMenuSlice = useSelector((state) => {\n // return state.identification.sideMenuSlice;\n // });\n //const { selected } = sideMenuSlice;\n const location = useLocation();\n // const dispatch = useDispatch();\n // const [selectedTap, setSelectedTap] = useState(\"income\");\n //const [logo, setLogo] = useState(\"\");\n // const [selectedNext, setSelectedNext] = useState(\"\");\n // const [getCompanyLogo, result] = useGetCompanyLogoQuery();\n // const applicantRef = useRef();\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const { data, isLoading, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n\n let identificationData = useGetIdentificationDataQuery(trn_id);\n\n let contextualData = useGetDetailsQuery(trn_id);\n\n if (isLoading && identificationData.isLoading && contextualData.isLoading)\n return (\n \n );\n else\n return (\n
\n \n\n
\n
\n
\n
\n
\n \n \n {data?.records?.subscriber_name}\n \n
\n
\n
\n \n
\n Name:{\" \"}\n \n {\" \"}\n {data?.records?.first_name} {data?.records?.last_name}\n \n
\n
\n Application ID:{\" \"}\n {data?.records?.application_number}\n
\n
\n
\n
\n \n
\n
\n
\n \n navigate(-1)}\n size={25}\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\nexport default IdentificationView;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACDhJREFUeNrsXU1y2kgUbqdyAM0JIlfNfvAmi2wiTmD7AmM4gc0JgMWsCScAnwB8AuRNFtmg7KcqygnC3GD6OV+bF0XC3VLrx/BeVZewJbXE+/r99utGKSEhISEhIaGjoLNj/nK99x8G+nBjefko+fI5afud3x75gAt1iyyvDbrwwm9ESXSLBBABREgAEUCEBBABREgAEUCEBBABREgAESqkziUXe+8/ROaj+jXhF+OYJF8+7wSQephPDCcALgFA78DlY3bfDgA90FEDlAog1YAgxt/qdqXKpb0D3HuF/gicew3MUgBxV0djZT9HYUvUX6T7p76nrxmYtw0BQSN6ptug5keFui3080j6hgJIPhikVhaq2Rk5UolbcgDE7f0VjIk+rFR706M9kZA9GIsGVJQEhgLGKwNEwOgQIBqMOwGjIzYEwd7MQ1cU5D3qlqKZQJD6/wsxRyCAvEyrCveSezrXbX0gT7XOuNKXxyiNbz1JxwRBmSsR84cahLUTej+vX+vnziGV0bEA8sYDGKQ+bkvcSkw9dwUjAwxlfvv641QA2dO4hE5fakZe+0qj635IQocnDwikY1ACDO/MQ0JxeOoS4po+j+sAIwPK9JQBcbEduyZGMNRXcnKAQF25JO/mDc7sjU5RQiJH6fjU1JfSwMdqPwd/MoB8dHFxWyhMmJ8aIC7q6qHpL4b45tVVp1SJ1ENH5jjR5cO/EZyGAEZ6/nD5p6sNSl5bFP+mAUCSEmBQbLOBFO4Q62z1/11nAB9PMVK3MeiuRPmptZaIc92u9edz9DNWR06dq1yEqgq4Udag7PT/75V7ziz2CaJ+BxdXPy2hYju5Tj0tUInv2Lm2aIHshA1dHIWE0KjSI5FG9kwfU9igAZprWiQBiKEnybUF45P+H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U7QlpGbFCgiEGpIQQ/d8vkADQYXXNAdBS5rXPOpFLVSQN78AFWh2p6P7Eha8/aIKUWG4+/7P3zsMgJQXTKMShdrTTyNhetfMudB1zzsT8WvZNUtE7r2cvp+ebSoncX/EnrduW0Ky6Qmz/675KaMnIJBtpXmJjf78g0sQPtP5GdTglq2A2qjfK9o3uNZUSo5zzq/AsB76XuA6On5jlfcDXM+v2Vg824CzZfet9P9WnQIEZCSgh1FuSoEouWfWny9opEMyFmpfSGAKIl4sUsAopWcNTH0WNlgOmRQYBtH07pnaF/FlQUzxbtRsJ6XMTkXn6Nvl3tpUVh6Z2bkdU0PP8wsahAQjkqZvzUreEUt5x7jOSmVCEmkkT9R+te8UUmDUFF90at6L05SrG8tqfKOOqYLfzGCmXZSQG8bYkI1Ao9bM55CBV+qLYG0K3XvDbIVhTMCeM2YtPMBcFxpBks3yN1pWse0MIKR+sIqJmJLAnpgsapQxygrnEib+3MBzkD7m3JuVkpCpoTnrXwGgM9P033/geIh+e3aO1ASQLKOyaHD0qi7/LhsYTlTxPPVTcZzxsFhpp/FejKG8wEYz5nxq1Iv6ua/JkFWNxGq/CQ0xgmb1+mAU/f3DMJIYxJho1qzQ/bQW/R36o121ExRsj1WmhAj3Fj6byldxnt6bVN13NqjOq+wvWdaGpOr3ojf632PO9Gdf7TfMD3AfX2RvzptF+ms2yq/VfkukEIb/kqsYuLZTjOb7jEob6XP/QY1G7L3TzPfIY+BLzx4BTGMnE0jM0f4KqZCQkJCQkJDQ66X/BRgAgsOFdXMVbbQAAAAASUVORK5CYII=\"","import React, { useEffect, useState } from \"react\";\nimport { yupResolver, yupArray } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\nimport InputField from \"../../components/registration/Inputs/InputField\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { toast, ToastContainer } from 'react-toastify';\nimport { useForgotUserMutation } from \"../../services/registrationApi\";\n\nconst ForgotPassword = (props) => {\n\n const [forgotUser, forgotUserResult] = useForgotUserMutation()\n\n const schema = yup.object().shape({\n email: yup.string().email().required(\"Required\")\n });\n\n const methods = useForm({\n defaultValues: {\n email: \"\",\n },\n resolver: yupResolver(schema),\n mode: \"onBlur\",\n });\n\n const onSubmit = (data) => {\n forgotUser(data).then(\n (response) => {\n console.log(response);\n if (response?.data && response.data.status == 200) {\n toast.success(response.data.message, { pauseOnFocusLoss: false });\n props.emit(true);\n } else {\n toast.error(response.error.data.message, { pauseOnFocusLoss: false });\n }\n\n }\n ).catch(\n (error) => {\n toast.error(error.message, { pauseOnFocusLoss: false });\n }\n )\n };\n\n\n return (\n
\n\n
\n\n
\n \n
\n

Forgot Password

\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\nexport default ForgotPassword;\n","import React, { useEffect, useState } from \"react\";\nimport Logo from \"../../assets/images/DocuVerusLogoorg.png\";\n\nimport { yupResolver, yupArray } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\nimport { DevTool } from \"@hookform/devtools\";\nimport InputField from \"../../components/registration/Inputs/InputField\";\nimport InputSimplePassword from \"../../components/registration/Inputs/InputSimplePassword\";\nimport { FormProvider, useForm } from \"react-hook-form\";\n\nimport Modal from \"@material-ui/core/Modal\";\nimport ForgotPassword from \"../../components/forgotPassword/forgotPassword\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport {\n useForgotUserMutation,\n useLoginUserMutation,\n} from \"../../services/registrationApi\";\nimport { Outlet, Link, useNavigate, Navigate } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\nimport {\n urlGeneratedAts,\n trnId,\n applicationType,\n token,\n refreshToken,\n} from \"../../store/registration/logindSlice\";\nimport identificationApi from \"../../services/identificationApi\";\nimport { logout_url } from \"../../config\";\n\nexport const getUrlAndTransId = (path) => {\n const splitPath = path.split(\"/\");\n splitPath.shift();\n if (splitPath[0] === \"identification\") {\n splitPath.shift();\n }\n let trn_id = null;\n let fullPath = null;\n if (\n (splitPath[0] === \"Office\" && splitPath.length === 5) ||\n (splitPath[0] === \"Unit\" && splitPath.length === 6) ||\n (splitPath[0] === \"Floor\" && splitPath.length === 6) ||\n (splitPath[0] === \"Property\" && splitPath.length === 5)\n ) {\n fullPath = splitPath.slice(0, splitPath.length - 1).join(\"/\");\n trn_id = splitPath[splitPath.length - 1];\n } else {\n fullPath = splitPath.slice(0, splitPath.length).join(\"/\");\n trn_id = 0;\n }\n return {\n url: fullPath,\n trn_id: trn_id,\n applicationType: splitPath[0],\n };\n};\n\nconst Login = (props) => {\n const [forgotFlag, setForgotFlag] = useState(false);\n const navigate = useNavigate();\n const dispatch = useDispatch();\n const location = useLocation();\n const [loginUser, loginUserResult] = useLoginUserMutation();\n\n const schema = yup.object().shape({\n password: yup.string().required(\"Required\"),\n email: yup.string().typeError(\"Required\").required(\"Required\"),\n });\n\n const methods = useForm({\n defaultValues: {\n email: \"\",\n password: \"\",\n },\n resolver: yupResolver(schema),\n mode: \"onBlur\",\n });\n\n useEffect(() => {\n document.title = \"Docuverus\";\n }, []);\n\n useEffect(() => {\n //debugger;\n const getId = new URLSearchParams(location.search).get(\"trn_id\");\n const url = new URLSearchParams(location.search).get(\"url\");\n console.log(\"🚀 ~ file: PrivateRoute.js ~ line 129 ~ login ~ url\", url);\n const searchToken = new URLSearchParams(location.search).get(\"token\");\n console.log(\n \"🚀 ~ file: PrivateRoute.js ~ line 131 ~ login ~ searchToken\",\n searchToken\n );\n const refreshToken = new URLSearchParams(location.search).get(\n \"refreshToken\"\n );\n console.log(\n \"🚀 ~ file: PrivateRoute.js ~ line 133 ~ login ~ refreshToken\",\n refreshToken\n );\n console.log(\"🚀 ~ file: PrivateRoute.js ~ line 128 ~ login ~ getId\", getId);\n if (getId && url && searchToken) {\n dispatch(token(searchToken));\n dispatch(urlGeneratedAts(url));\n dispatch(trnId(getId));\n dispatch(\n applicationType(\n getUrlAndTransId(\"/\" + url + \"/\" + getId)?.applicationType\n )\n );\n\n dispatch(\n identificationApi.endpoints.getSectionStatus.initiate(getId, {\n track: false,\n refetch: true,\n })\n ).then(() => { });\n\n navigate(\"/instruction\");\n }\n }, [location]);\n\n const onSubmit = (data) => {\n console.log(data);\n let tempObj = data;\n\n loginUser({\n ...tempObj,\n })\n .then((response) => {\n console.log(response);\n if (response?.data && response.data.status == 200) {\n\n dispatch(\n identificationApi.endpoints.getApplicantStatus.initiate(\n response.data.records.trn_id,\n { track: false, refetch: true }\n )\n ).then((res) => {\n dispatch(\n identificationApi.endpoints.getSectionStatus.initiate(\n response.data.records.trn_id,\n { track: false, refetch: true }\n )\n ).then(() => {\n dispatch(token(response.data.records.token));\n dispatch(refreshToken(response?.data?.records?.refreshToken));\n dispatch(\n urlGeneratedAts(\n getUrlAndTransId(\n \"/\" +\n response.data.records.url +\n \"/\" +\n response.data.records.trn_id\n )?.url\n )\n );\n dispatch(\n trnId(\n getUrlAndTransId(\n \"/\" +\n response.data.records.url +\n \"/\" +\n response.data.records.trn_id\n )?.trn_id\n )\n );\n dispatch(\n applicationType(\n getUrlAndTransId(\n \"/\" +\n response.data.records.url +\n \"/\" +\n response.data.records.trn_id\n )?.applicationType\n )\n );\n toast.success(response.data.message, { pauseOnFocusLoss: false });\n sessionStorage.setItem('trn_id', getUrlAndTransId(\n \"/\" +\n response.data.records.url +\n \"/\" +\n response.data.records.trn_id\n )?.trn_id)\n navigate(\"/instruction\");\n });\n });\n } else {\n toast.error(response.error.data.message, { pauseOnFocusLoss: false });\n }\n })\n .catch((error) => {\n console.log(error);\n toast.error(\"Invalid Credentials.\", { pauseOnFocusLoss: false });\n });\n };\n\n return (\n <>\n
\n
\n
\n
\n \"sealcon\"\n
\n\n
\n \n
\n
\n \n
\n
\n \n
\n \n \n
\n
\n
\n\n
\n
    \n
  • \n \n Data Policy\n \n
  • \n\n
  • \n \n Terms of Use\n \n
  • \n
  • \n Version\n
  • \n
\n
\n
\n
\n
\n \n\n setForgotFlag(false)}\n onAbort={() => setForgotFlag(false)}\n >\n setForgotFlag(false)} />\n \n \n \n );\n};\n\nexport default Login;\n","import React, { useEffect, useState } from \"react\";\nimport Logo from \"../../assets/images/DocuVerusLogoorg.png\";\n\nimport { yupResolver, yupArray } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\nimport { DevTool } from \"@hookform/devtools\";\nimport InputField from \"../../components/registration/Inputs/InputField\";\nimport InputSimplePassword from \"../../components/registration/Inputs/InputSimplePassword\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport InputPasswordField from \"../../components/registration/Inputs/InputPasswordField\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport { useResetUserMutation } from \"../../services/registrationApi\";\nimport { useNavigate } from \"react-router-dom\";\n\nconst ResetPassword = (props) => {\n const navigate = useNavigate();\n\n const [guid, setGuid] = useState(\"\");\n const [resetUser, resetUserResult] = useResetUserMutation();\n\n useEffect(() => {\n console.log(props?.match?.params?.id);\n setGuid(props?.match?.params?.id);\n }, []);\n\n const schema = yup.object().shape({\n password: yup\n .string()\n .matches(\n /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\\$%\\^&\\*])(?=.{8,})/,\n \"Use 8 or more characters with a mix of letters, numbers & symbols\"\n ),\n reEnterPassword: yup\n .string()\n .oneOf([yup.ref(\"password\"), null], \"password must match\")\n .required(\"Required\"),\n });\n\n const methods = useForm({\n defaultValues: {},\n resolver: yupResolver(schema),\n mode: \"onChange\",\n });\n\n const onSubmit = (data) => {\n let tempObj = {\n uid: guid,\n password: data.password,\n };\n resetUser(tempObj)\n .then((response) => {\n console.log(\"RESET PASSWORD:56\", response);\n if (response?.data && response.data.status == 200) {\n toast.success(response.data.message, { pauseOnFocusLoss: false });\n navigate(\"/login\");\n } else {\n toast.error(response.error.data.message, { pauseOnFocusLoss: false });\n }\n })\n .catch((error) => {\n toast.error(error.message, { pauseOnFocusLoss: false });\n });\n };\n\n return (\n <>\n
\n
\n
\n
\n \"sealcon\"\n
\n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n \n );\n};\n\nexport default ResetPassword;\n","import React, { createContext, useContext, useEffect, useState } from \"react\";\nimport {\n useLocation,\n Navigate,\n Outlet,\n useSearchParams,\n} from \"react-router-dom\";\nimport {\n urlGeneratedAts,\n trnId,\n applicationType,\n newApplication,\n} from \"./store/registration/logindSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n useGetApplicantStatusQuery,\n useGetDocumentSectionwiseQuery,\n useGetQuestionsSectionwiseQuery,\n useGetSectionStatusQuery,\n} from \"./services/identificationApi\";\nimport Loader from \"react-loader-spinner\";\nimport { setViewOnlyFlag } from \"./store/registration/fromSubmitSlice\";\nimport { logout_url } from \"./config\";\nimport { BASE_URL_API } from \"./config\";\nimport { useGetMasterRegistrationDataQuery } from \"./services/registrationApi\";\nimport RegisterOffice from \"./containers/register/registerOffice\";\n\n\nconst getUrlAndTransId = () => {\n const splitPath = window.location.pathname.split(\"/\");\n splitPath.shift();\n if (splitPath[0] === \"identification\") {\n splitPath.shift();\n }\n let trn_id = null;\n let fullPath = null;\n if (\n (splitPath[0] === \"Office\" && splitPath?.length === 5) ||\n (splitPath[0] === \"Unit\" && splitPath?.length === 7) ||\n (splitPath[0] === \"Floor\" && splitPath?.length === 6) ||\n (splitPath[0] === \"Property\" && splitPath?.length === 5) ||\n (splitPath[0] === \"Agent\" && splitPath?.length === 5)\n ) {\n localStorage.setItem('applicationType', splitPath[0]);\n fullPath = splitPath.slice(0, splitPath?.length - 1).join(\"/\");\n trn_id = splitPath[splitPath?.length - 1];\n } else {\n fullPath = splitPath.slice(0, splitPath?.length).join(\"/\");\n trn_id = 0;\n }\n sessionStorage.setItem('trn_id', trn_id);\n return {\n url: fullPath,\n trn_id: trn_id,\n applicationType: splitPath[0],\n };\n};\n\n// Create the context\nconst DocumentContext = createContext();\n\n// Create a custom hook to use the context\nexport const useDocumentContext = () => {\n return useContext(DocumentContext);\n};\n\n\nconst PrivateRoute = () => {\n const [documentData, setDocumentData] = useState(null);\n const [sectionData, setSectionData] = useState(null);\n const [identificationData, setIdentificationData] = useState(null);\n\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n\n let { data, isLoading, isError, isFetching } =\n useGetApplicantStatusQuery(trn_id);\n const { data: registrationPage, isLoading: LoadingRegistration, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n const { data: documentWise, isLoading: documentWiseLoading } = useGetDocumentSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id\n }, {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n\n })\n\n const { data: sectionWise, isLoading: sectionWiseLoading } = useGetQuestionsSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id\n }\n , {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n })\n\n const { data: identificationWise, isLoading: identificationLoading } = useGetQuestionsSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id,\n profileTab: 'Documents Upload'\n }\n , {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n })\n\n useEffect(() => {\n if (documentWise) setDocumentData(documentWise);\n if (sectionWise) setSectionData(sectionWise);\n if (identificationWise) setIdentificationData(identificationWise);\n }, [documentWise, sectionWise, identificationWise]);\n\n if (isLoading && identificationLoading && sectionWiseLoading && documentWiseLoading)\n return (\n \n );\n\n // if (isError) return window.location.replace(logout_url);\n if (!token) {\n return window.location.replace(logout_url);\n }\n return token ? (\n (data?.records?.application_status == \"Completed\" || data?.records?.application_status == \"Submitted\") ? (\n \n ) : (\n \n \n \n )\n ) : (\n window.location.replace(logout_url)\n // window.location.replace(logout_url)\n );\n};\n\nconst ContextWrappingForSuccess = () => {\n const [documentData, setDocumentData] = useState(null);\n const [sectionData, setSectionData] = useState(null);\n const [identificationData, setIdentificationData] = useState(null);\n\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n\n let { data, isLoading, isError, isFetching } =\n useGetApplicantStatusQuery(trn_id);\n const { data: registrationPage, isLoading: LoadingRegistration, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n const { data: documentWise, isLoading: documentWiseLoading } = useGetDocumentSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id\n }, {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n\n })\n\n const { data: sectionWise, isLoading: sectionWiseLoading } = useGetQuestionsSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id\n }\n , {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n })\n\n const { data: identificationWise, isLoading: identificationLoading } = useGetQuestionsSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id,\n profileTab: 'Documents Upload'\n }\n , {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n })\n\n useEffect(() => {\n if (documentWise) setDocumentData(documentWise);\n if (sectionWise) setSectionData(sectionWise);\n if (identificationWise) setIdentificationData(identificationWise);\n }, [documentWise, sectionWise, identificationWise]);\n\n if (isLoading && identificationLoading)\n return (\n \n );\n\n // if (isError) return window.location.replace(logout_url);\n if (!token) {\n return window.location.replace(logout_url);\n }\n return token ? (\n (data?.records?.application_status == \"Completed\" || data?.records?.application_status == \"Submitted\") ? (\n \n \n \n ) : (\n \n \n \n )\n ) : (\n window.location.replace(logout_url)\n );\n};\n\nconst PrivateRouteViewOnly = () => {\n const [documentData, setDocumentData] = useState(null);\n const [sectionData, setSectionData] = useState(null);\n const [identificationData, setIdentificationData] = useState(null);\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n let { data, isLoading, isError, isFetching } =\n useGetApplicantStatusQuery(trn_id);\n\n // const auth = true; // determine if authorized, from context or however you're doing it\n let location = useLocation();\n const dispatch = useDispatch();\n dispatch(setViewOnlyFlag(true));\n // If authorized, return an outlet that will render child elements\n // If not, return element that will navigate to login page\n const { data: registrationPage, isLoading: LoadingRegistration, isSuccess } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n const { data: documentWise, isLoading: documentWiseLoading } = useGetDocumentSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id\n }, {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n\n })\n\n const { data: sectionWise, isLoading: sectionWiseLoading } = useGetQuestionsSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id\n }\n , {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n })\n\n const { data: identificationWise, isLoading: identificationLoading } = useGetQuestionsSectionwiseQuery({\n profileID: registrationPage?.records?.ApplicationProfileID,\n subscriberId: registrationPage?.records?.subscriber_id,\n profileTab: 'Documents Upload'\n }\n , {\n skip: !registrationPage?.records?.ApplicationProfileID && !registrationPage?.records?.subscriber_id, // Skip the query if either parameter is missing\n })\n\n useEffect(() => {\n if (documentWise) setDocumentData(documentWise);\n if (sectionWise) setSectionData(sectionWise);\n if (identificationWise) setIdentificationData(identificationWise);\n }, [documentWise, sectionWise, identificationWise]);\n\n if (isLoading && identificationLoading && sectionWiseLoading && documentWiseLoading)\n return (\n \n );\n // if (token)\n // \n // else\n // return window.location.replace(logout_url);\n return token ? (\n \n \n \n ) : (\n window.location.replace(logout_url)\n );\n};\n\nconst PrivateRouteInstructions = () => {\n //debugger;\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n let { data, isLoading, isError, isFetching } =\n useGetSectionStatusQuery(trn_id);\n let location = useLocation();\n if (isLoading)\n return (\n \n );\n if (!token) {\n return window.location.replace(logout_url);\n }\n return token ? (\n data?.accept_terms_and_condition_status === false ? (\n \n ) : (\n \n )\n ) : (\n window.location.replace(logout_url)\n );\n};\n\nconst RouteGuardLoginRegistration = () => {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n // if (!trn_id) return ;\n return ;\n};\n\nconst RouteCheckGuard = () => {\n //debugger;\n const [searchParams, setSearchParams] = useSearchParams();\n const dispatch = useDispatch();\n dispatch(urlGeneratedAts(getUrlAndTransId().url));\n dispatch(trnId(getUrlAndTransId().trn_id));\n dispatch(applicationType(getUrlAndTransId().applicationType));\n dispatch(\n newApplication(searchParams.get(\"newapplication\") == \"true\" ? true : false)\n );\n const registrationStatus = true;\n\n //if (!getUrlAndTransId().trn_id) return ;\n const [result, setResult] = useState(null);\n const [error, setError] = useState(null);\n const [token, setToken] = useState(null);\n\n useEffect(() => {\n const urlParams = new URLSearchParams(window.location.search);\n const auth = urlParams.get('t');\n setToken(auth);\n const myHeaders = new Headers();\n myHeaders.append(\n \"auth\",\n auth\n );\n\n const requestOptions = {\n method: \"GET\",\n headers: myHeaders,\n redirect: \"follow\",\n };\n if (!auth) {\n return setResult(true);\n }\n\n fetch(BASE_URL_API + \"applicant/validate-invitation\", requestOptions)\n .then((response) => response.json())\n .then((result) => setResult(true))\n .catch((error) => {\n alert(\"Invited link has been expired. Please contact your admin. \");\n setResult(false)\n });\n }, []);\n\n if (result === null) {\n return
;\n }\n\n if (!result) {\n window.location.replace(logout_url);\n return null; // Ensure the component does not render anything after the redirect\n }\n return \n};\n\nexport {\n RouteCheckGuard,\n RouteGuardLoginRegistration,\n PrivateRouteViewOnly,\n PrivateRouteInstructions,\n ContextWrappingForSuccess\n};\nexport default PrivateRoute;\n","import React from \"react\";\nimport { useFormContext, useController } from \"react-hook-form\";\n\nconst InputTextArea = (props) => {\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { name } = props.register;\n const { control, watch } = useFormContext();\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n // const error = errors[name];\n return (\n <>\n \n {props.label} {required && *}\n \n \n \n Max 5000 Characters\n \n
\n {error !== undefined && error.message}\n
\n \n );\n};\n\nexport default InputTextArea;\n","import React from \"react\";\nimport { useFormContext, useFormState } from \"react-hook-form\";\n\nconst PropertyType = (props) => {\n console.log(\"Check Props PropertyType\", props);\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { name } = props.register;\n const { control, watch, getValues } = useFormContext();\n const { dirtyFields, errors } = useFormState({\n control,\n });\n const error = errors[name];\n return (\n <>\n
\n \n
\n \n \n \n Rent\n \n \n \n \n \n Own\n \n \n \n \n \n Other\n \n \n
\n
\n\n
{error && error.message}
\n \n );\n};\n\nexport default PropertyType;\n","import React from \"react\";\nimport InputMask from \"react-input-mask\";\nimport { useFormContext, useController } from \"react-hook-form\";\n\nfunction InputMaskField(props) {\n console.log(\"IPFIELD:6\", props);\n const required = props.notRequired === undefined ? true : !props.notRequired;\n const { name } = props.register;\n const { control, setValue, watch } = useFormContext();\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n console.log(\"Check FIELD:17\", field);\n return (\n <>\n \n {props.label} {required && *}\n \n\n {\n console.log(\"****99999\", e.target.value);\n const dependentFun = props.triggerDependent || null;\n if (dependentFun) {\n if (!e.target.value === \"\") {\n dependentFun(e);\n }\n }\n field.onBlur(e);\n }}\n id={name}\n />\n
\n {error !== undefined && error.message}\n
\n \n );\n}\n\nexport default InputMaskField;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputFieldPhone from \"../../../registration/Inputs/InputFieldPhone\";\n\nfunction InputFieldArrayLandlord(props) {\n console.log(\"Landlord props\", props);\n const { register } = props;\n const { control } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"identification_data.landlord_number\", // unique name for your Field Array\n // keyName: \"id\", default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n {fields.map((field, index) => (\n
\n
\n \n\n {errors && errors[index] && errors[index].number}\n
\n
\n
\n
\n {index !== 0 ? (\n
\n \n
\n ) : (\n
\n )}\n
\n
\n {index === fields?.length - 1 && index <= 1 && (\n
\n append({ number: \"\" })}\n >\n \n \n \n  Add another number\n \n
\n )}\n
\n
\n
\n
\n ))}\n \n );\n}\n\nexport default InputFieldArrayLandlord;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport GoogleAutoComplete from \"../../../common/googleAutocomplete/googleAutocomplete\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\nimport InputDateField from \"../../../registration/Inputs/InputDateField\";\nimport InputCurrencyField from \"../../../registration/Inputs/InputCurrencyField\";\nimport InputTextArea from \"../../../registration/Inputs/InputTextArea\";\nimport PropertyType from \"./property-type/property-type\";\nimport { useGetMasterRegistrationDataQuery } from \"../../../../services/registrationApi\";\nimport { useSelector } from \"react-redux\";\nimport { TiDelete } from \"react-icons/ti\";\nimport {\n AccordionDetails,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport InputMaskField from \"../../../registration/Inputs/InputMaskFieid\";\nimport InputFieldArrayLandlord from \"../personal-details/InputFieldArrayLandlord\";\nimport InputFieldPhone from \"../../../registration/Inputs/InputFieldPhone\";\nimport { AiOutlineCheckCircle } from \"react-icons/ai\";\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\nimport InputCheckBoxField from \"../../../registration/Inputs/InputCheckBoxField\";\nimport { JSONTree } from \"react-json-tree\";\nimport { useDocumentContext } from \"../../../../PrivateRoute\";\n\nconst Address = (props) => {\n const navigate = useNavigate();\n let nextDate = new Date().setDate(new Date().getDate() + 1);\n const { register, watch, getValues, control, setValue } = useFormContext();\n const [isCurrentAddress, setIsCurrentAddress] = useState(\n register(\"identification_data.is_current_address\")\n );\n\n const [open, setOpen] = useState(false);\n const [deleteAddressIndex, setDeleteAddressIndex] = useState(0);\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"address\",\n keyName: \"fields_id\",\n });\n const { dirtyFields, errors, touchedFields } = useFormState({\n control,\n });\n const error = errors[\"propertyType\"];\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { data, isLoading, isError, isSuccess } =\n useGetMasterRegistrationDataQuery({ trn_id, url });\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n debouncedSave(name, false);\n });\n return () => subscription.unsubscribe();\n }, [watch]);\n\n const [nextSection, setNextSection] = useState(false);\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const debouncedSave = useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"Address\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n \n {/* */}\n {fields.map((field, index) => {\n let newIndex = index + 1;\n return (\n
\n \n

Address

\n
\n \n
\n
\n
\n {newIndex}{\" \"}\n {newIndex == 1 ? (\n Current Address\n ) : (\n <>\n )}\n {newIndex !== 1 && (\n {\n setDeleteAddressIndex(index);\n setOpen(true);\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n )}\n
\n
\n
\n 0 ? \"Search Previous Address\" : \"Search Current Address\"}\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 {identificationWiseRules?.IfPreviousMoveOutDate != 'Hide' &&
\n
\n \n
\n
}\n {identificationWiseRules?.MoveInDate != 'Hide' &&
\n
\n \n
\n
}\n\n {identificationWiseRules?.IfPreviousMoveOutDate != 'Hide' &&
\n {watch(`address.${index}.is_current_address`) == false && (\n
\n \n
\n )}\n
}\n
\n \n
\n {watch(`address.${index}.property_type`) == \"1\" &&\n watch(`address.${index}.property_type`) !== \"3\" && (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n {identificationWiseRules?.LandlordTelephone!='Hide' &&
\n
\n \n
\n
}\n \n )}\n {watch(`address.${index}.property_type`) == \"2\" &&\n watch(`address.${index}.property_type`) !== \"3\" && (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n )}\n {identificationWiseRules?.ReasonforMoving != 'Hide' &&
\n
\n \n
\n
}\n
\n
\n \n \n );\n })}\n
\n \n Please include address history covering two most recent years.\n \n
\n \n \n append({\n id: 0,\n ID: 0,\n city: \"\",\n state: \"\",\n zipCode: \"\",\n movedDate: \"\",\n propertyType: \"\",\n rent: \"\",\n landLordName: \"\",\n landLordNumber: \"\",\n reasonForMoving: \"\",\n move_in_date: null,\n move_out_date: null,\n is_current_address: false,\n })\n }\n >\n \n \n \n   Add current or previous address\n \n \n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete address ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n setTimeout(() => {\n remove(deleteAddressIndex);\n }, 200);\n setOpen(false);\n\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#ssn\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab{\" \"}\n \n )}\n
\n );\n};\n\nexport default Address;\n","import React from \"react\";\nimport { Controller, useFormContext, useController } from \"react-hook-form\";\nimport { useSelector } from \"react-redux\";\nimport \"./custom.scss\";\nconst CustomRadioButton = (props) => {\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const required = props.notRequired === undefined ? true : !props.notRequired;\n //const selectedValue=props.selectedValue||0;\n const { name } = props.register;\n const { control } = useFormContext();\n const {\n field,\n fieldState: { error },\n } = useController({\n name,\n control,\n });\n\n return (\n <>\n {\n console.log(\"Check Field Radio:24\", field);\n return (\n <>\n
\n
\n {props.label} {required && *}\n
\n
\n
\n \n \n Yes\n \n
\n {\n if (!viewOnlyFlag && props?.onClick) {\n props?.onClick();\n }\n }}\n >\n \n \n No\n \n
\n
\n \n \n );\n }}\n />\n
\n {\" \"}\n {error && error.message}\n
\n \n );\n};\n\nexport default CustomRadioButton;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputFieldPhone from \"../../../registration/Inputs/InputFieldPhone\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport { Alert, Stack } from \"@mui/material\";\nimport { useSelector } from \"react-redux\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\n\nconst InputFieldArray = (props) => {\n const { register } = props;\n const {\n control,\n formState: { errors },\n } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"applicant.mobile\", // unique name for your Field Array\n // keyName: \"id\", default to \"id\", you can change the key name\n });\n\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n if (viewOnlyFlag)\n return (\n <>\n {fields.map((field, index) => (\n
\n
\n \n
\n
\n ))}\n \n );\n return (\n <>\n {fields.map((field, index) => (\n
\n {!props?.showNumberType && (\n
\n \n\n {errors && errors[index] && errors[index].number}\n
\n )}\n {props?.showNumberType && (\n
\n \n \n\n {errors && errors[index] && errors[index].number}\n
\n )}\n {/*
\n \n\n {errors && errors[index] && errors[index].number}\n
*/}\n {props?.addMultipleNumber && (\n
\n
\n
\n {index !== 0 ? (\n
\n \n
\n ) : (\n
\n )}\n
\n
\n {index === fields?.length - 1 && index <= 1 && (\n
\n append({ number: \"\" })}\n >\n \n \n \n  Add another number\n \n
\n )}\n
\n
\n
\n )}\n
\n ))}\n
\n
\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n
\n
\n \n );\n};\n\nexport default InputFieldArray;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport { TiDelete } from \"react-icons/ti\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { useSelector } from \"react-redux\";\n\nconst Alias = (props) => {\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { register } = props;\n const [open, setOpen] = React.useState(false);\n const [deleteAddressIndex, setDeleteAddressIndex] = React.useState(0);\n\n const { control, watch } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"applicant.Alias\", // unique name for your Field Array\n // keyName: \"id\", default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n {fields.map((field, index) => {\n let newIndex = index + 1;\n\n return (\n
\n \n
\n
\n
\n {newIndex}\n {\n setDeleteAddressIndex(index);\n setOpen(true);\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n {/* {\n setDeleteAddressIndex(index);\n setOpen(true);\n }}\n title=\"Delete this Employer\"\n className=\"btn btn-danger\"\n >\n Delete\n */}\n
\n
\n
\n {index === fields?.length - 1 && (\n <>\n
\n append({ fname: \"\", lname: \"\" })}\n >\n \n \n \n   Add another name\n \n
\n \n )}\n
\n
\n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete other ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n setTimeout(() => {\n remove(deleteAddressIndex);\n }, 200);\n setOpen(false);\n\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n \n );\n })}\n \n );\n};\n\nexport default Alias;\n","import React, { useCallback, useEffect, useState } from \"react\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport { useFormContext } from \"react-hook-form\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport InputFieldArray from \"./InputFieldArray\";\nimport InputDateField from \"../../../registration/Inputs/InputDateField\";\nimport Alias from \"./alias/alias\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { sideNavAction } from \"../../../../store/identification/sideMenuSlice\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\nimport { AccordionDetails, Button } from \"@mui/material\";\nimport debounce from \"lodash.debounce\";\nimport { ImCross } from \"react-icons/im\";\nimport { useNavigate } from \"react-router-dom\";\nimport moment from \"moment\";\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { JSONTree } from \"react-json-tree\";\n\nconst PersonalDetails = (props) => {\n console.log(\"Props:19\", props);\n const navigate = useNavigate();\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const dispatch = useDispatch();\n const { register, watch, getValues, setValue, formState } = useFormContext();\n const [yearsOld, setYearsOld] = useState(false);\n const [nextSection, setNextSection] = useState(false);\n const [deleteAlias, setDeleteAlias] = useState(false);\n const [showAnotherPhone, setShowAnotherPhone] = useState(\n JSON.stringify(watch(`applicant.otherPhoneCaption`))\n ? true\n : false\n );\n\n // highlight-starts\n const debouncedSave = useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"personalDetails\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n // highlight-ends\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n debouncedSave(name);\n if (name === \"applicant.alias_status\" && type === \"change\") {\n if (watch(\"applicant.alias_status\") === \"Yes\") {\n dispatch(sideNavAction.isaliasrequired(\"required\"));\n setValue(\"applicant.Alias\", [{ fname: \"\", lname: \"\" }]);\n }\n if (watch(\"applicant.alias_status\") === \"No\") {\n dispatch(sideNavAction.isaliasrequired(\"notRequired\"));\n }\n }\n if (\n name === \"applicant.availableToUpload_id\" &&\n type === \"change\"\n ) {\n if (watch(\"applicant.availableToUpload_id\") === \"Yes\") {\n dispatch(sideNavAction.isproofofidentityrequired(\"required\"));\n }\n if (watch(\"applicant.availableToUpload_id\") === \"No\") {\n dispatch(sideNavAction.isproofofidentityrequired(\"notRequired\"));\n }\n }\n });\n return () => subscription.unsubscribe();\n }, [getValues, setValue, watch, dispatch]);\n\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n console.log(\"Check Value, Name, Type =>>\", value, name, type);\n if (type === \"change\") {\n if (\n watch(`applicant.first_name`) === \"\" ||\n watch(`applicant.first_name`) === null\n ) {\n }\n if (\n watch(`applicant.last_name`) === \"\" ||\n watch(`applicant.last_name`) === null\n ) {\n }\n if (\n watch(`applicant.DOB`) === \"\" ||\n watch(`applicant.DOB`) === null\n ) {\n }\n }\n if (value.applicant?.otherPhoneNumber) {\n setShowAnotherPhone(true);\n }\n });\n return () => subscription.unsubscribe();\n }, [getValues, setValue, watch, formState]);\n\n useEffect(() => {\n const applicantAliasLength = getValues(`applicant.Alias`)?.length\n const applicantAliasStatus = getValues(`applicant.alias_status`)\n if(applicantAliasLength === 0 && applicantAliasStatus === \"Yes\") {\n setValue(\"applicant.alias_status\", \"No\");\n }\n }, [getValues, setValue, watch, formState])\n\n return (\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 {!showAnotherPhone && (\n
\n {\n setValue(\n `applicant.otherPhoneCaption`,\n null\n );\n setValue(\n `applicant.otherPhoneNumber`,\n null\n );\n setShowAnotherPhone(true);\n }}\n >\n \n \n \n  \n \n Add another number\n \n \n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n\n {showAnotherPhone && (\n
\n
\n
\n \n \n
\n
\n
\n {\n setValue(\n `applicant.otherPhoneCaption`,\n null\n );\n setValue(\n `applicant.otherPhoneNumber`,\n null\n );\n setShowAnotherPhone(false);\n }}\n />\n
\n
\n \n )}\n
\n
\n
\n \n\n\n
\n
\n
\n \n
\n 0\n ? true\n : false\n }\n onClick={() => {\n if (watch(`applicant.Alias`)?.length > 0) {\n setDeleteAlias(true);\n }\n }}\n label=\"Have you ever used any other name(s) during the\n past 5 years?\"\n register={register(\"applicant.alias_status\")}\n />\n
\n
\n \n {watch(\"applicant.alias_status\") === \"Yes\" && (\n <>\n \n \n )}\n \n \n {\n setDeleteAlias(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setDeleteAlias(false);\n }}\n >\n No\n \n {\n setValue(\"applicant.Alias\", []);\n setValue(\"applicant.alias_status\", \"No\");\n setDeleteAlias(false);\n }}\n >\n Yes\n \n \n \n \n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#poi\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n \n );\n};\n\nexport default PersonalDetails;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useUploadFileServiceMutation } from \"../../../services/identificationApi\";\nimport { sideNavAction } from \"../../../store/identification/sideMenuSlice\";\nimport Dropzone from \"react-dropzone\";\nimport { FaFileUpload } from \"react-icons/fa\";\nimport Box from \"@mui/material/Box\";\nimport LinearProgress from \"@mui/material/LinearProgress\";\nimport \"./style.css\";\n\nimport { useForm } from \"react-hook-form\";\nimport { toast } from \"react-toastify\";\n\nconst CustomUpload = (props) => {\n const { watch } = useForm();\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const dispatch = useDispatch();\n const [uploadFileRequest, result] = useUploadFileServiceMutation();\n\n const [documentId, setDocumentId] = useState(props.documentId);\n // const [file, setFile] = useState('');\n const [disableFlag, setDisabledFlag] = useState(false);\n\n const onChangeFile = (e) => {\n e.preventDefault();\n const reader = new FileReader();\n reader.readAsText(e.target.files[0]);\n let data = e.target.files[0];\n reader.onload = () => {\n if (reader.readyState === 2) {\n // setFile(reader.result);\n\n uploadFile(data);\n }\n };\n };\n\n const uploadFile = (file) => {\n setDisabledFlag(true);\n var formData = new FormData();\n for (let f of file) {\n formData.append(\"files\", f);\n }\n formData.append(\"trn_id\", trn_id);\n formData.append(\"document_id\", props.documentId);\n formData.append(\"source_id\", props.SourceId); //7929\n formData.append(\"allowOfferLetter\", props?.allowOfferLetter);\n console.log(formData);\n\n uploadFileRequest(formData).then((response) => {\n\n if (response?.error?.data?.status == 400) {\n toast.error(response?.error?.data?.message)\n }\n console.log(\"Upload File Response Data\", response);\n if (response?.data?.success === true) {\n dispatch(\n sideNavAction.uploadPetImageId({\n index: props?.petIndex,\n id: response?.data?.records?.id,\n file: response?.data?.records?.blob_path,\n type: \"UPLOAD\",\n })\n );\n }\n\n }).finally(() => {\n setTimeout(() => setDisabledFlag(false), 5000);\n });\n };\n\n return (\n <>\n
\n {\n for (let file of v) {\n console.log(\"🚀 ~ file: CustomUpload.js:68 ~ file\", file)\n for (let error of file.errors) {\n if (error.code == 'file-too-large') {\n toast.warn('File is larger than 10MB');\n }\n }\n }\n console.log(\"🚀 ~ file: CustomUpload.js:67 ~ v\", v)\n }}\n maxSize={10485760}\n onDrop={(file) => {\n // for (let f of file) {\n uploadFile(file);\n // }\n }}\n accept={\n props.onlyPdf == true\n ? \"application/pdf\"\n : \"image/*,application/pdf\"\n }\n >\n {({\n getRootProps,\n getInputProps,\n isDragActive,\n isDragAccept,\n isDragReject,\n }) => {\n const additionalClass = isDragAccept\n ? \"accept\"\n : isDragReject\n ? \"reject\"\n : \"\";\n\n return (\n \n \n \n \n \n

File Upload

\n
\n );\n }}\n \n \n {result.status === \"pending\" && (\n \n \n \n )}\n {/*
\n
\n {/* \n \n \n \n {props?.label}\n
\n
*/}\n \n );\n};\n\nexport default CustomUpload;\n","import React, { useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport CustomUpload from \"../CustomUpload/CustomUpload\";\nimport DropboxApi from \"../dropboxApi/dropboxApi\";\nimport GoogleDriveApi from \"../googleDriveApi/googleDriveApi\";\n\nconst UploadFile = (props) => {\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n if (viewOnlyFlag) return <>;\n return (\n
\n \n {/* \n \n\n */}\n
\n );\n};\n\nexport default UploadFile;\n","import {\n FormControl,\n FormControlLabel,\n FormLabel,\n Radio,\n RadioGroup,\n} from \"@mui/material\";\nimport React from \"react\";\nimport {\n Controller,\n useController,\n useForm,\n useFormContext,\n} from \"react-hook-form\";\n\nconst RadioInputField = (props) => {\n const { register, setValue, getValues } = useFormContext();\n //const selectedValue = getValues(props?.name) ; //|| \"Other\";\n\n return (\n <>\n {props.options.map((item, index) => {\n return (\n
\n \n \n
\n );\n })}\n \n );\n};\n\nexport default RadioInputField;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport UploadFile from \"../../../common/uploadFile/uploadFile\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport { useFormContext } from \"react-hook-form\";\nimport { AccordionDetails, Alert, Stack } from \"@mui/material\";\nimport {\n useDeleteDocumentMutation,\n useGetDetailsQuery,\n useGetDocumentImgQuery,\n useGetvalidationCheckIdQuery,\n} from \"../../../../services/identificationApi\";\nimport { BiTrash } from \"react-icons/bi\";\nimport moment from \"moment\";\n\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { sideNavAction } from \"../../../../store/identification/sideMenuSlice\";\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\nimport QRCode from \"react-qr-code\";\nimport { BASE_URL_LOCAL, protocol } from \"../../../../config\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport RadioInputField from \"../../../registration/Inputs/RadioInputField\";\nimport \"./index.css\";\nimport { JSONTree } from \"react-json-tree\";\nimport { useDocumentContext } from \"../../../../PrivateRoute\";\nconst FilePreview = (props) => {\n const { data, isLoading } = useGetDocumentImgQuery(props.id);\n\n return (\n <>\n \n {/* \n window\n .open(\n `${watch(\n \"identification_data.file\"\n )}`,\n \"_blank\"\n )\n .focus()\n }\n /> */}\n \n );\n};\nconst ProofOfIdentity = (props) => {\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n const navigate = useNavigate();\n const [selectOtherRadioButton, setSelectOtherRadioButton] =\n React.useState(false);\n\n const dispatch = useDispatch();\n const nameMatched = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n console.log(token);\n const [selectedPOI, setSelectedPOI] = useState(\"Passport\");\n const { register, watch, getValues, setValue, formState, trigger } =\n useFormContext();\n const [deleteDocument, result] = useDeleteDocumentMutation();\n\n const getIdentificationData = useGetDetailsQuery(trn_id);\n\n const [open, setOpen] = useState(false);\n const [deleteDocumentType, setDeleteDocumentType] = useState(\"\");\n\n const deleteDocumentHandler = (id) => {\n deleteDocument(id).then((response) => {\n if (response.data.success === true) {\n dispatch(sideNavAction.applicantNameMatched(null));\n dispatch(sideNavAction.applicantDOBMatched(null));\n }\n });\n };\n\n const verifyDetails = async () => {\n let Barcodedata = await watch(\"identification_data.Barcodedata\");\n\n if (Barcodedata?.length > 0) {\n console.log(\"In IFF FOR BARCODE\");\n let DOB = Barcodedata[8]?.field_value_original;\n if (\n Barcodedata[1]?.field_value_original == \"\" ||\n Barcodedata[3]?.field_value_original == \"\" ||\n DOB == \"\"\n ) {\n return;\n }\n if (\n Barcodedata[1]?.field_value_original?.toLowerCase() !==\n getValues(\"identification_data.first_name\")?.toLowerCase() ||\n Barcodedata[3]?.field_value_original?.toLowerCase() !==\n getValues(\"identification_data.last_name\")?.toLowerCase()\n ) {\n dispatch(sideNavAction.applicantNameMatched(false));\n }\n if (\n Barcodedata[1]?.field_value_original?.toLowerCase() ==\n getValues(\"identification_data.first_name\")?.toLowerCase() ||\n Barcodedata[3]?.field_value_original?.toLowerCase() ==\n getValues(\"identification_data.last_name\")?.toLowerCase()\n ) {\n dispatch(sideNavAction.applicantNameMatched(true));\n }\n\n //-----------------------------------------------------\n // DOB - Matched / Unmatched\n\n if (\n DOB !==\n moment(getValues(\"identification_data.DOB\")).format(\"MM/DD/YYYY\")\n ) {\n dispatch(sideNavAction.applicantDOBMatched(false));\n }\n if (\n DOB == moment(getValues(\"identification_data.DOB\")).format(\"MM/DD/YYYY\")\n ) {\n dispatch(sideNavAction.applicantDOBMatched(true));\n }\n }\n };\n const backSide = watch(\"identification_data.backfile\");\n\n let firstNameChange = watch(\"identification_data.first_name\");\n let lastNameChange = watch(\"identification_data.last_name\");\n let dOBDateChange = watch(\"identification_data.DOB\");\n\n const { data: validationCheck } = useGetvalidationCheckIdQuery(trn_id);\n useEffect(() => {\n if (backSide) {\n verifyDetails();\n }\n }, [backSide]);\n\n useEffect(() => {\n verifyDetails();\n }, [firstNameChange, lastNameChange, dOBDateChange]);\n\n useEffect(() => {\n const subscribe = watch((value, { name, type }) => {\n trigger(\"identification_data.file\");\n trigger(\"identification_data.backfile\");\n console.log(\"POI 133:\", value, name, type);\n if (name === \"identification_data.file\" && type === \"change\") {\n if (watch(\"identification_data.file\") !== null) {\n dispatch(sideNavAction.proofOfIdentityFilePresent(\"Present\"));\n }\n if (watch(\"identification_data.file\") === null) {\n dispatch(sideNavAction.proofOfIdentityFilePresent(\"notPresent\"));\n }\n }\n });\n return subscribe.unsubscribe();\n }, [watch, dispatch, setValue, getValues]);\n\n const [nextSection, setNextSection] = useState(false);\n const hasSSToken = (isImg = true) => {\n let url = getValues(`identification_data.file_image`);\n if (!isImg) {\n url = getValues(\"identification_data.file\");\n }\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n console.log(url);\n return url;\n };\n\n const hasSSTokenBack = (isImg = true) => {\n let url = getValues(`identification_data.backfile_image`);\n if (!isImg) {\n url = getValues(\"identification_data.backfile\");\n }\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n console.log(url);\n return url;\n };\n\n const debouncedSave = useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"ProofOfIdentity\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n\n const btnStatus = watch(\"identification_data.availableToUpload_id\");\n if (btnStatus) {\n debouncedSave(\"sdfds\");\n }\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n return (\n \n {/* \n \n \n \n */}\n {(documentWiseRules?.PermanentResidentID!=\"Hide\" || documentWiseRules?.USDriversLicense !=\"Hide\" || documentWiseRules?.Passport!=\"Hide\" || documentWiseRules?.Visa!=\"Hide\" ) &&
\n \n
}\n\n {watch(\"identification_data.availableToUpload_id\") == \"Yes\" && (\n <>\n \n Please upload CLEAR images of your ID here. Click the “i” for\n details.\n \n
\n
\n \n
    \n {
  • \n
    \n \n
    \n
  • }\n {documentWiseRules?.Passport!==\"Hide\" &&
  • \n
    \n \n {\n setValue(\"identification_data.documenttype_id\", 1);\n }}\n name=\"identity-doc\"\n />\n \n US Passport\n \n
    \n
  • }\n {documentWiseRules?.PermanentResidentID!==\"Hide\" &&
  • \n
    \n \n {\n setValue(\"identification_data.documenttype_id\", 10);\n }}\n name=\"identity-doc\"\n />\n \n Permanent Residence ID\n \n
    \n
  • }\n {documentWiseRules?.Visa!==\"Hide\" &&
  • \n
    \n \n
    \n
  • }\n
\n
\n {!viewOnlyFlag && (\n
\n {useWindowWidth.windowWidth < 776 && (\n
\n {\n window.open(\n `${BASE_URL_LOCAL}scan/${trn_id}`,\n \"_blank\"\n );\n }}\n className=\"blue-btn\"\n >\n Click to Capture ID\n \n
\n )}\n
\n )}\n 776 ? \"m-t-m-50\" : \"col-md-12\"\n }`}\n >\n {true && (\n
\n {!viewOnlyFlag && useWindowWidth.windowWidth > 776 && (\n <>\n {useWindowWidth.windowWidth < 1024 && (\n {\n window.open(\n `${BASE_URL_LOCAL}scan/${trn_id}`,\n \"_blank\"\n );\n }}\n className=\"blue-btn\"\n style={{ maxWidth: 110, fontSize: 16 }}\n >\n Capture ID\n \n )}\n
\n
Scan ID on Mobile
\n
\n \n
\n
\n
\n
\n
\n
or
\n
\n
\n \n )}\n\n \n Front Side:\n {watch(\"identification_data.file\") !== null ? (\n
\n \n window\n .open(\n `${hasSSToken(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n\n {\n setDeleteDocumentType(\"application_document_id\");\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n ) : (\n \n )}\n {watch(\"identification_data.documenttype_id\") == 2 && (\n <>\n Back Side:\n {watch(\"identification_data.backfile\") !== null ? (\n
\n \n window\n .open(\n `${hasSSTokenBack(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n\n {\n setDeleteDocumentType(\"BarcodeDocumentID\");\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n ) : (\n \n )}\n {watch(\"identification_data.file\") == null && (\n \n Upload Front Side first{\" \"}\n

\n )}\n \n )}\n
\n
\n )}\n \n \n
\n {/* {nameMatched?.applicantNameMatched === false ? (\n
\n \n Our system detected that the name found on the ID document\n you uploaded may not match the information entered on your\n application. If this is not your ID, then remove and\n reupload the correct ID. Otherwise, please confirm which\n information is correct.\n \n
\n ) : (\n <>\n )} */}\n {watch(\"identification_data.documenttype_id\") && (\n \n {\n if (message)\n return {message};\n\n return <>;\n }}\n />\n\n {\n if (message)\n return {message};\n\n return <>;\n }}\n />\n \n )}\n {/* {nameMatched?.applicantDOBMatched === false && (\n
\n \n Our system detected from the ID you uploaded a DOB different\n than what you entered. Please carefully review and confirm\n your correct date of birth (DOB).\n \n
\n )} */}\n
\n \n {\n
\n {/* item.applicant).filter(item=>!item.isDeleted)} /> */}\n {validationCheck?.records?.validation_message?.map(item=>item.applicant)?.filter(item=>!item.isDeleted)?.map((item) =>\n item.message && {item.message}\n )}\n {/* {getValues(\n `employment_details.employer.${index}.validation_message_status`\n ).map(\n (item) =>\n item.message && {item.message}\n )} */}\n
\n
}\n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete document ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n setTimeout(() => {\n if (deleteDocumentType == \"application_document_id\") {\n deleteDocumentHandler(\n getValues(\"identification_data.application_document_id\")\n );\n } else {\n deleteDocumentHandler(\n getValues(\"identification_data.BarcodeDocumentID\")\n );\n }\n }, 200);\n setOpen(false);\n\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n {/* {props?.data?.validation_message &&\n props?.data?.validation_message.map((item) => {\n if (!item.applicant.message) return null;\n return (\n \n {item.applicant.message}\n \n );\n })} */}\n \n )}\n {watch(`identification_data.availableToUpload_id`) == \"No\" && (documentWiseRules?.PermanentResidentID!=\"Hide\" || documentWiseRules?.USDriversLicense !=\"Hide\" || documentWiseRules?.Passport!=\"Hide\" || documentWiseRules?.Passport!=\"Hide\" ) && (\n <>\n \n {watch(\"identification_data.no_doc_reason\") == \"other\" && (\n
\n \n
\n
\n )}\n \n )}\n {viewOnlyFlag ||\n (nextSection && (\n {\n navigate(\"#address\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n ))}\n \n );\n};\n\nexport default ProofOfIdentity;\n","import React, { useEffect } from \"react\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport UploadFile from \"../../../common/uploadFile/uploadFile\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport { useFormContext } from \"react-hook-form\";\nimport { useDeleteDocumentMutation } from \"../../../../services/identificationApi\";\nimport { BiTrash } from \"react-icons/bi\";\nimport InputMaskField from \"../../../registration/Inputs/InputMaskFieid\";\nimport { useSelector } from \"react-redux\";\nimport { RiInformationLine } from \"react-icons/ri\";\n\nimport {\n AccordionDetails,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Stack,\n Alert,\n} from \"@mui/material\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport RadioInputField from \"../../../registration/Inputs/RadioInputField\";\nimport { useDocumentContext } from \"../../../../PrivateRoute\";\n\nconst Ssn = (props) => {\n const [ssnInformation, setSnnInformation] = React.useState(false);\n const [open, setOpen] = React.useState(false);\n const [selectOtherRadioButton, setSelectOtherRadioButton] =\n React.useState(false);\n\n const [deleteSSN, setDeleteSSN] = React.useState(false);\n\n const { register, watch, getValues, trigger, formState, setValue } =\n useFormContext();\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const [deleteDocument, result] = useDeleteDocumentMutation();\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n const deleteDocumentHandler = (id) => {\n deleteDocument(id).then((response) => {\n console.log(\"Delete SSN Doc Response\", response);\n if (response.data?.status == 200) {\n setDeleteSSN(false);\n setValue(\"ssn_data.file\", \"\");\n setValue(\"ssn_data.file_image\", \"\");\n setValue(\"ssn_data.availableToUpload_ssn\", \"No\");\n } else {\n alert(\"Error in delete document\");\n setDeleteSSN(false);\n }\n });\n };\n useEffect(() => {\n console.log(\"SSN:40\", watch(\"ssn_data\"));\n const subscribe = watch((value, { name, type }) => {\n console.log(\"Check value, name, type SSN line:24\", value, name, type);\n if (type === \"change\" && name === `ssn_data.isUS_citizen`) {\n trigger(\"ssn_data.SSNNumber\");\n }\n });\n return () => subscribe.unsubscribe;\n }, [setValue, trigger, watch]);\n const token = useSelector(\n (state) => state.persistedReducer.loginSlice.token\n );\n\n const hasSSToken = () =>{\n const url = getValues(\n `ssn_data.file_image`\n )\n if(!url)\n {\n return url;\n }\n else if(url.includes('?'))\n {\n return url+'&';\n }\n else{\n return url;\n }\n}\n return (\n \n
\n
\n {/* applicationProfile.identifications.ssnnumber !== 'Hide' && */}\n {
\n
\n \n
\n
}\n {/* applicationProfile.identifications.ssnnumber !== 'Hide' && */}\n {
\n
\n \n
\n
}\n\n {documentWiseRules?.SSNCard!='Hide' &&
\n
\n {\n if (!!watch(\"ssn_data.file\")) {\n setDeleteSSN(true);\n }\n }}\n disable={!!watch(\"ssn_data.file\")}\n label=\"Do you have proof of SSN available?\"\n register={register(\"ssn_data.availableToUpload_ssn\")}\n />\n
\n
}\n {watch(\"ssn_data.availableToUpload_ssn\") == \"Yes\" && (\n
\n
\n
\n
\n

\n Proof of SSN\n {\n setSnnInformation(true);\n }}\n />\n

\n
(SSN card or un-redacted W2)
\n \n Click the (i) button above for details\n \n
\n
\n
\n
\n {watch(\"ssn_data.file\") !== null ? (\n <>\n
\n \n window\n .open(\n `${hasSSToken(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n\n\n\n\n\n {\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n \n ) : (\n \n )}\n
\n
\n
\n
\n )}\n {watch(`ssn_data.availableToUpload_ssn`) == \"No\" && documentWiseRules?.SSNCard!='Hide' && (\n <>\n

\n {watch(\"ssn_data.no_doc_reason\") == \"other\" && (\n

\n \n
\n )}\n \n

\n \n )}\n
\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n
\n {\n setSnnInformation(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n Only upload clear, complete, straight documents.\n \n \n \n {\n setSnnInformation(false);\n }}\n autoFocus\n >\n Close\n \n \n \n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete document ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n setTimeout(() => {\n deleteDocumentHandler(\n watch(\"ssn_data.application_document_id\")\n );\n }, 200);\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n {\n setDeleteSSN(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setDeleteSSN(false);\n }}\n >\n No\n \n {\n setTimeout(() => {\n deleteDocumentHandler(\n watch(\"ssn_data.application_document_id\")\n );\n }, 200);\n }}\n >\n Yes\n \n \n \n
\n );\n};\n\nexport default Ssn;\n","import React, { useEffect, useState, useOutletContext, useRef } from \"react\";\nimport Address from \"./address/address\";\nimport PersonalDetails from \"./personal-details/personal-details\";\nimport ProofOfIdentity from \"./proof-of-identity/proof-of-identity\";\nimport Ssn from \"./ssn/ssn\";\nimport { useForm, FormProvider, useFormContext } from \"react-hook-form\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\nimport { DevTool } from \"@hookform/devtools\";\nimport {\n useGetIdentificationDataQuery,\n useGetSectionStatusQuery,\n useSaveIdDetailsMutation,\n} from \"../../../services/identificationApi\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { sideNavAction } from \"../../../store/identification/sideMenuSlice\";\nimport { formSubmitStatusRest } from \"../../../store/registration/fromSubmitSlice\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\nimport moment from \"moment\";\nimport {\n Accordion,\n AccordionSummary,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Typography,\n AccordionDetails,\n Snackbar,\n} from \"@mui/material\";\nimport { AiOutlinePlus } from \"react-icons/ai\";\nimport { AiOutlineCloseCircle } from \"react-icons/ai\";\nimport { BsCheck2Circle } from \"react-icons/bs\";\nimport { tabsStateAction } from \"../../../store/identification/tabStateSlice\";\nimport MuiAlert from \"@mui/material/Alert\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport SupportSection from \"../../common/SupportSection/SupportSection\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport { JSONTree } from \"react-json-tree\";\nimport { useDocumentContext } from \"../../../PrivateRoute\";\n\nconst Alert = React.forwardRef(function Alert(props, ref) {\n return ;\n});\nfunction validateDOB(dob) {\n var today = new Date();\n var minAge = new Date(\n today.getFullYear() - 100,\n today.getMonth(),\n today.getDate()\n );\n var maxAge = new Date(\n today.getFullYear() - 18,\n today.getMonth(),\n today.getDate()\n );\n\n if (dob > maxAge || dob < minAge) {\n return false;\n }\n return true;\n}\nconst IdentificationDetails = (props) => {\n const navigate = useNavigate();\n const location = useLocation();\n const [licenseInformation, setLicenseInformation] = React.useState(false);\n\n const submitBtnRef = useRef(null);\n const [selectedName, setSelectedName] = useState(null);\n const [selectedDOB, setSelectedDOB] = useState(null);\n const [open, setOpen] = useState(false);\n //*********FOR PERSONAL DETAILS SIDE COMPLETION***********//\n const [firstNameError, setFirstNameError] = useState(false);\n const [lastNameError, setLastNameError] = useState(false);\n const [emailIDError, setEmailIdError] = useState(false);\n const [mobileNoError, setMobileNoError] = useState(false);\n const [dobError, setDobError] = useState(false);\n const [aliasFirstNameError, setAliasFirstNameError] = useState(false);\n const [aliasLastNameError, setAliasLastNameError] = useState(false);\n const [ssnError, setSSNError] = useState(false);\n const [clickHere, setClickHere] = useState(true);\n\n const [saveIdDetails, result] = useSaveIdDetailsMutation();\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n\n const personalDetailsStatus = useSelector(\n (state) => state.identification.tabsStateSlice.personalDetailsStatus\n );\n\n const personalErr = useSelector(\n (state) => state.identification.tabsStateSlice.personalErr\n );\n\n const ProofOfIdentityStatus = useSelector(\n (state) => state.identification.tabsStateSlice.ProofOfIdentityStatus\n );\n const AddressStatus = useSelector(\n (state) => state.identification.tabsStateSlice.AddressStatus\n );\n\n const SsnStatus = useSelector(\n (state) => state.identification.tabsStateSlice.SsnStatus\n );\n\n const { data } = useGetSectionStatusQuery(trn_id);\n\n const nameMatched = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const getIdentificationData = useGetIdentificationDataQuery(trn_id);\n\n const formSectionSubmit = useSelector(\n (state) => state.formSubmit.fromSectionSubmit\n );\n const dispatch = useDispatch();\n\n useEffect(() => {\n (async () => {\n if (formSectionSubmit) {\n if (!(await handleSubmitValidation(\"personalDetails\"))) return;\n if (!(await handleSubmitValidation(\"ProofOfIdentity\"))) return;\n if (!(await handleSubmitValidation(\"Address\"))) return;\n if (!(await handleSubmitValidation(\"SSN\"))) return;\n submitBtnRef?.current?.click();\n }\n })();\n }, [formSectionSubmit]);\n\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n \n yup.addMethod(yup.array, \"uniquePhone\", function (message) {\n return this.test(\"unique\", message, function (data) {\n const list = data;\n let isUnique = true;\n let row = list?.length;\n for (let i = 0; i < row; i++) {\n for (let j = i + 1; j < row; j++) {\n if (JSON.stringify(list[i]) === JSON.stringify(list[j])) {\n isUnique = false;\n }\n }\n }\n if (isUnique) {\n return true;\n }\n return false;\n });\n });\n\n const notEmptyFieldsMethod = (\n value,\n path,\n createError,\n myFailureMessage,\n setNameError\n ) => {\n try {\n if (value) {\n console.log(\"Value For Mobile Number TEst 112\", value);\n setNameError(false);\n return true;\n }\n console.log(\"Value For Mobile Number TEst 116\", value, setNameError);\n\n setNameError(true);\n return createError({ path, message: myFailureMessage });\n } catch (error) {\n console.error(\"🚀 ~ file: identification.js ~ line 96 ~ error\", error);\n }\n };\n\n const validateSSNFormates = (ssnNo, path, createError, myFailureMessage) => {\n try {\n switch (ssnNo) {\n case \"111-11-1111\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"222-22-2222\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"333-33-3333\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"444-44-4444\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"555-55-5555\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"666-66-6666\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"777-77-7777\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"888-88-8888\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"999-99-9999\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n case \"123-45-6789\":\n setSSNError(true);\n return createError({ path, message: myFailureMessage });\n default:\n return true;\n }\n } catch (error) {\n console.error(\"🚀 ~ file: identification.js ~ line 160 ~ error\", error);\n }\n };\n\n const ssn_data_schema = yup.object().shape({\n isUS_citizen: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => true, //identificationWiseRules?.ssnnumber === 'Required',\n then: yup\n .string()\n .typeError(\"SSN is required\")\n .required(\"SSN is required to be uploaded\"),\n otherwise: yup\n .string()\n .nullable(), // If not required, allow it to be null\n }),\n SSNNumber: yup\n .string()\n .nullable()\n\n .when(\"isUS_citizen\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(\n \"^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$\",\n \"Please Enter valid SSN Number\"\n )\n .test(\"validate-ssn\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Please Enter valid SSN Number\";\n try {\n if (value) {\n return validateSSNFormates(\n value,\n path,\n createError,\n myFailureMessage\n );\n }\n } catch (error) {\n console.log(\"SSN YUP ERROR:429\", error);\n }\n }),\n }),\n availableToUpload_ssn: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => documentWiseRules?.SSNCard === 'Required',\n then: yup\n .string()\n .typeError(\"SSN is required\")\n .required(\"SSN is required to be uploaded\"),\n otherwise: yup\n .string()\n .nullable(), // If not required, allow it to be null\n }),\n file: yup\n .string()\n .nullable()\n .typeError(\"front file required\")\n .when(\"availableToUpload_ssn\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup\n .string()\n .typeError(\"SSN file is required\")\n .required(\"SSN file is required\"),\n }),\n other_reason: yup.string().when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable(),\n }),\n });\n\n const address_data_schema = yup.array().of(\n yup.object().shape({\n street_address: yup\n .string()\n .trim()\n .typeError(\"Required\")\n .required(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n appartment: yup\n .string()\n .nullable()\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n city: yup\n .string()\n .required(\"Required\")\n .min(2, \"minimum 2 characters is required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n state: yup\n .object({\n value: yup.string().required(\"Required\"),\n label: yup.string().required(\"Required\"),\n })\n .required(\"Required\"),\n zipcode: yup\n .string()\n .typeError(\"Required\")\n .matches(\n /^(\\d{4}[0-9]|\\d{8}[0-9]|\\d{4}[0-9]-\\d{3}[0-9]|-----\\d{3}[0-9])$/g,\n \"Please enter valid zip code\"\n )\n .required(\"Required\"),\n move_in_date: yup\n .string()\n .nullable()\n .when(\"is_current_address\", {\n is: (value) => {\n return !!value && identificationWiseRules?.MoveInDate === 'Required';\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n }),\n\n move_out_date: yup\n .string()\n .nullable()\n .when(\"is_current_address\", {\n is: (value) => {\n return value == false && identificationWiseRules?.IfPreviousMoveOutDate === 'Required';\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .test(\n \"move_out_date_compare\",\n \"the date must be greater than the move-in date\",\n function (value, context) {\n const { move_in_date } = this.parent;\n const dateConvertMoveIn = new Date(move_in_date);\n const dateConvertMoveOut = new Date(value);\n return (\n dateConvertMoveOut.getTime() >= dateConvertMoveIn.getTime()\n );\n }\n ),\n }),\n\n reason: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid name\")\n .when([], {\n is: () => identificationWiseRules?.ReasonforMoving === 'Required',\n then: yup.string().required(\"Reason is required\").max(500, \"maximum 500 characters is required\"),\n otherwise: yup.string().nullable(),\n }),\n landlord_name: yup\n .string()\n .nullable()\n .when(\"property_type\", {\n is: (value) => {\n return value == 1;\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .nullable()\n .required(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .min(2, \"minimum 2 characters is required\"),\n }),\n landlord_number: yup\n .string()\n .nullable()\n .when(\"property_type\", {\n is: (value) => {\n return value == 1 && identificationWiseRules?.LandlordTelephone === 'Required';\n },\n then: yup\n .string()\n .min(11, \"The value is not a valid Phone Number\")\n .typeError(\"Required\")\n .nullable()\n .required(\"Required\"),\n }),\n current_rent: yup\n .string()\n .nullable()\n .when(\"property_type\", {\n is: (value) => {\n return value == 1;\n },\n then: yup\n .string()\n .matches(/^(\\d*[0-9])/g, \"Only Numbers Allowed\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .required(\"Required\"),\n }),\n mortgage_rent: yup\n .string()\n .nullable()\n .when(\"property_type\", {\n is: (value) => {\n return value == 2;\n },\n then: yup\n .string()\n .nullable()\n .matches(/^(\\d*[0-9])/g, \"Only Numbers Allowed\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .required(\"Required\"),\n }),\n mortgage_company: yup\n .string()\n .nullable()\n .when(\"property_type\", {\n is: (value) => {\n return value == 2;\n },\n then: yup\n .string()\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .required(\"Required\"),\n }),\n })\n );\n const identification_data_schema = yup.object().shape({\n documenttype_id:yup.number(),\n availableToUpload_id: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => (documentWiseRules?.PermanentResidentID==\"Required\" || documentWiseRules?.Visa ==\"Required\" || documentWiseRules?.USDriversLicense==\"Required\" || documentWiseRules?.Passport==\"Required\" ),\n then: yup\n .string()\n .typeError(\"required\")\n .required(\"required\"),\n otherwise: yup\n .string()\n .nullable(), // If not required, allow it to be null\n }),\n file: yup\n .string()\n .nullable()\n .typeError(\"front file Required\")\n .when(\"availableToUpload_id\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup\n .string()\n .typeError(\"front file required\")\n .required(\"front file required\"),\n }),\n\n backfile: yup.string().when(\"availableToUpload_id\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.string().when(\"documenttype_id\", {\n is: (value) => {\n return value == \"2\" || value == \"13\";\n },\n then: yup.string()\n .required(\"required\")\n .typeError(\"Please upload back file\"),\n otherwise: yup.string().nullable(),\n }),\n otherwise: yup.string().nullable(),\n }),\n });\n const applicant_data_schema = yup.object().shape({\n first_name: yup\n .string()\n .typeError(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setFirstNameError\n );\n })\n .required(\"Required\")\n .min(2, \"minimum 2 characters is required\"),\n middle_name: yup\n .string()\n .nullable(),\n last_name: yup\n .string()\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setLastNameError\n );\n })\n .required(\"Required\")\n .min(2, \"minimum 2 characters is required\"),\n mobile: yup\n .array()\n .of(\n yup.object().shape({\n number: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Invalid phone number\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setMobileNoError\n );\n })\n .min(11, \"The value is not a valid Phone Number\"),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniquePhone(\"You cannot add duplicate phone number\"),\n\n DOB: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n // other_reason: yup.string().when(\"availableToUpload_id\", {\n // is: (value) => {\n // return value == \"No\";\n // },\n // then: yup.string().when(\"no_doc_reason\", {\n // is: (value) => {\n // return value == \"Other\";\n // },\n // then: yup.string().typeError(\"required\").required(\"Required\")\n // .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n // otherwise: yup.string().nullable(),\n // }),\n // otherwise: yup.string().nullable(),\n // }),\n otherPhoneCaption: yup.object().nullable(),\n Alias: yup.array().of(\n yup.object().shape({\n fname: yup\n .string()\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setAliasFirstNameError\n );\n })\n .typeError(\"Required\")\n .required(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n lname: yup\n .string()\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setAliasLastNameError\n );\n })\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .required(\"Required\"),\n })\n ),\n });\n\n // this schema is same as proof of ids , remove doc upload part\n const personaldetails_data_schema = yup.object().shape({\n first_name: yup\n .string()\n .typeError(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setFirstNameError\n );\n })\n .required(\"Required\")\n .min(2, \"minimum 2 characters is required\"),\n middle_name: yup\n .string()\n .nullable()\n ,\n last_name: yup\n .string()\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setLastNameError\n );\n })\n .required(\"Required\")\n .min(2, \"minimum 2 characters is required\"),\n mobile: yup\n .array()\n .of(\n yup.object().shape({\n number: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Invalid phone number\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setMobileNoError\n );\n })\n .min(11, \"The value is not a valid Phone Number\"),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniquePhone(\"You cannot add duplicate phone number\"),\n\n DOB: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n other_reason: yup.string().when(\"availableToUpload_id\", {\n is: (value) => {\n return value == \"No\";\n },\n then: yup.string().when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable(),\n }),\n otherwise: yup.string().nullable(),\n }),\n otherPhoneCaption: yup.object().nullable(),\n Alias: yup.array().of(\n yup.object().shape({\n fname: yup\n .string()\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setAliasFirstNameError\n );\n })\n .typeError(\"Required\")\n .required(\"Required\")\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n lname: yup\n .string()\n .test(\"is_empty_field\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Required\";\n return notEmptyFieldsMethod(\n value,\n path,\n createError,\n myFailureMessage,\n setAliasLastNameError\n );\n })\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .typeError(\"Required\")\n .required(\"Required\"),\n })\n ),\n // file: yup\n // .string()\n // .nullable()\n // .typeError(\"front file required\")\n // .when(\"availableToUpload_id\", {\n // is: (value) => {\n // return value == \"Yes\";\n // },\n // then: yup\n // .string()\n // .typeError(\"front file required\")\n // .required(\"front file required\"),\n // }),\n });\n\n const schema = yup.object().shape({\n applicant: applicant_data_schema,\n identification_data: identification_data_schema,\n address: address_data_schema,\n ssn_data: ssn_data_schema,\n });\n\n\n\n const methods = useForm({\n resolver: !viewOnlyFlag && yupResolver(schema),\n mode: \"onChange\",\n });\n const { setValue, getValues, watch } = methods;\n const [userFirstName, setUserFirstName] = useState(\"\");\n const [userLastName, setUserLastName] = useState(\"\");\n const [userDOB, setUserDOB] = useState(\"\");\n\n\n \n\n \n\n\n useEffect(() => {\n\n\n const data_form_value = methods.watch();\n\n const api_data = getIdentificationData?.data;\n \n if (Object.keys(data_form_value)?.length) {\n \n const mapData = {\n ...api_data,\n\n identification_data: {\n ...api_data?.identification_data,\n availableToUpload_id: !data_form_value?.identification_data?.availableToUpload_id?.length\n ? api_data?.identification_data?.availableToUpload_id\n : data_form_value?.identification_data?.availableToUpload_id,\n },\n address: !data_form_value?.address?.length\n ? api_data?.address\n : data_form_value?.address,\n\n applicant: {\n ...api_data?.applicant,\n alias_status: !data_form_value?.applicant.alias_status\n ? api_data?.applicant?.alias_status\n : data_form_value?.applicant?.alias_status,\n Alias: !data_form_value?.applicant?.Alias?.length\n ? api_data?.applicant.Alias\n : data_form_value?.applicant.Alias,\n DOB: !data_form_value?.applicant.DOB\n ? api_data?.applicant.DOB\n : data_form_value?.applicant.DOB,\n middle_name: !data_form_value?.applicant.middle_name\n ? api_data?.applicant.middle_name\n : data_form_value?.applicant.middle_name,\n first_name: !data_form_value?.applicant.first_name\n ? api_data?.applicant.first_name\n : data_form_value?.applicant.first_name,\n last_name: !data_form_value?.applicant.last_name\n ? api_data?.applicant.last_name\n : data_form_value?.applicant.last_name,\n mobile: !data_form_value?.applicant.mobile?.length\n ? api_data?.applicant.mobile\n : data_form_value?.applicant.mobile,\n otherPhoneCaption: !data_form_value?.applicant.otherPhoneCaption\n ? api_data?.applicant.otherPhoneCaption\n : data_form_value?.applicant.otherPhoneCaption,\n otherPhoneNumber: !data_form_value?.applicant.otherPhoneNumber\n ? api_data?.applicant.otherPhoneNumber\n : data_form_value?.applicant.otherPhoneNumber,\n \n\n },\n ssn_data: {\n ...api_data?.ssn_data,\n SSNNumber: !data_form_value?.ssn_data?.SSNNumber\n ? api_data?.ssn_data?.SSNNumber\n : data_form_value?.ssn_data?.SSNNumber,\n isUS_citizen: !data_form_value?.ssn_data?.isUS_citizen\n ? api_data?.ssn_data?.isUS_citizen\n : data_form_value?.ssn_data?.isUS_citizen,\n availableToUpload_ssn: !data_form_value?.ssn_data.availableToUpload_ssn\n ? api_data?.ssn_data?.availableToUpload_ssn\n : data_form_value?.ssn_data?.availableToUpload_ssn,\n },\n };\n \n methods.reset(mapData);\n setUserFirstName(\n !data_form_value?.applicant.first_name\n ? api_data?.applicant.first_name\n : data_form_value?.applicant.first_name\n );\n setUserLastName(\n !data_form_value?.applicant.last_name\n ? api_data?.applicant.last_name\n : data_form_value?.applicant.last_name\n );\n setUserDOB(\n !data_form_value?.applicant.DOB ? (api_data?.applicant.DOB)\n : data_form_value?.applicant.DOB\n );\n }\n else {\n methods.reset(api_data);\n }\n }, [getIdentificationData.data, methods]);\n\n // const watch = methods.watch;\n\n useEffect(() => {\n //FOR PERSONAL DETAILS SUB SECTION COMPLETION\n console.log(\"METHOD ERROR INVOKE Line:504\", firstNameError, lastNameError);\n if (firstNameError) {\n console.log(\"FirstNameError ::508\", firstNameError);\n dispatch(sideNavAction.firstnameError(true));\n }\n if (lastNameError) {\n dispatch(sideNavAction.lastnameError(true));\n }\n if (mobileNoError) {\n dispatch(sideNavAction.mobilenumberError(true));\n }\n if (dobError) {\n dispatch(sideNavAction.dateofbirthError(true));\n }\n if (aliasFirstNameError) {\n dispatch(sideNavAction.aliasfirstnameError(true));\n }\n if (aliasLastNameError) {\n dispatch(sideNavAction.aliaslastnameError(true));\n }\n if (!firstNameError && !lastNameError && !mobileNoError) {\n if (watch(\"applicant.alias_status\") === \"Yes\") {\n if (!aliasFirstNameError && !aliasLastNameError) {\n dispatch(sideNavAction.aliasfirstnameError(false));\n\n dispatch(sideNavAction.aliaslastnameError(false));\n }\n }\n dispatch(sideNavAction.firstnameError(false));\n dispatch(sideNavAction.lastnameError(false));\n dispatch(sideNavAction.mobilenumberError(false));\n dispatch(sideNavAction.dateofbirthError(false));\n }\n // dispatch(sideNavAction.personalDetailStatus(true));\n }, [\n firstNameError,\n lastNameError,\n mobileNoError,\n dobError,\n aliasFirstNameError,\n aliasLastNameError,\n dispatch,\n watch,\n ]);\n\n const onSubmitDetails = async (fromData) => {\n if (fromData?.ssn_data?.no_doc_reason === \"other\") {\n fromData.ssn_data.no_doc_reason = fromData?.ssn_data?.other_reason;\n }\n\n if (fromData?.identification_data?.no_doc_reason === \"other\") {\n fromData.identification_data.no_doc_reason =\n fromData?.identification_data?.other_reason;\n }\n\n setSelectedName(null);\n setSelectedDOB(null);\n if (fromData.address?.length > 0) {\n for (let index = 0; index < fromData.address.length; index++) {\n fromData.address[index].ID = fromData.address[index].ID\n ? fromData.address[index].ID\n : 0;\n }\n }\n const payload = {\n trn_id,\n ...fromData,\n };\n const response = await toast.promise(saveIdDetails(payload), {\n pending: \"Saving\",\n error: \"Saving failed 🤯\",\n });\n if (response) {\n dispatch(formSubmitStatusRest());\n dispatch(sideNavAction.sideNav(\"applicant\"));\n dispatch(tabsStateAction.sideNavIdentificationReducer(true));\n navigate(\"applicantDetail\");\n }\n };\n\n useEffect(() => {\n document.title = \"Identification Details\";\n }, []);\n\n useEffect(() => {\n dispatch(tabsStateAction.sideNavIdentificationReducer(false));\n }, []);\n\n const onSubmit = async (fromData) => {\n const postData = {\n ...fromData,\n identification_data: {\n ...fromData?.identification_data,\n other_reason:\n fromData?.identification_data?.availableToUpload_id == \"No\" &&\n fromData?.identification_data?.no_doc_reason == \"other\"\n ? fromData?.identification_data?.other_reason\n : null,\n },\n ssn_data: {\n ...fromData?.ssn_data,\n other_reason:\n fromData?.ssn_data?.availableToUpload_ssn == \"No\" &&\n fromData?.ssn_data?.no_doc_reason == \"other\"\n ? fromData?.ssn_data?.other_reason\n : null,\n },\n };\n setOpen(false);\n if (\n getIdentificationData?.data?.identification_data?.Barcodedata[1]\n ?.field_value_original === \"\" &&\n getIdentificationData?.data?.identification_data?.Barcodedata[3]\n ?.field_value_original === \"\" &&\n getIdentificationData?.data?.identification_data?.Barcodedata[8]\n ?.field_value_original === \"\"\n ) {\n return onSubmitDetails(postData);\n }\n if (watch(\"identification_data.backfile\") === null) {\n return onSubmitDetails(postData);\n }\n if (\n nameMatched?.applicantNameMatched === true &&\n nameMatched?.applicantDOBMatched === true\n ) {\n setOpen(false);\n return onSubmitDetails(postData);\n }\n\n if (\n nameMatched?.applicantNameMatched === false ||\n nameMatched?.applicantDOBMatched === false\n ) {\n //Beacuse we have to set both to not null but while for only DOB occur error, we are setting\n //selectDOB to \"value={USERENTERED || DOCUMENTENTEREDVALUE}\" but selectName remains null so\n //we use || not &&.\n if (selectedName !== null || selectedDOB !== null) {\n setOpen(false);\n return onSubmitDetails(postData);\n }\n console.log(\"6...\");\n setOpen(true);\n } else {\n onSubmitDetails(postData);\n }\n };\n\n const handleSubmitValidation = async (parms, submit = true) => {\n if (parms === \"personalDetails\") {\n const personalDetailsschema = yup.object().shape({\n applicant: personaldetails_data_schema,\n });\n try {\n const result = await personalDetailsschema.validateSync(\n methods.getValues()\n );\n console.log(\"Result:954\", result);\n if (!result) {\n if (submit) {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.personalDetail(false));\n }\n // dispatch(tabsStateAction.personalErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"ProofOfIdentity\") {\n const localSchema = yup.object().shape({\n applicant: applicant_data_schema,\n identification_data: identification_data_schema,\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (submit) {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ProofOfIdentity(false));\n }\n // dispatch(tabsStateAction.personalErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"Address\") {\n const localSchema = yup.object().shape({\n address: address_data_schema,\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Address(false));\n // dispatch(tabsStateAction.personalErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"SSN\") {\n const localSchema = yup.object().shape({\n ssn_data: ssn_data_schema,\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Ssn(false));\n // dispatch(tabsStateAction.personalErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n const handleChange = async (parms) => {\n // TODO\n // step 1 do validation then allow switch tabs\n // this is for mobile\n const personalDetailsschema = yup.object().shape({\n applicant: personaldetails_data_schema,\n });\n const validatePersonalDetails = await personalDetailsschema.isValid(methods.getValues());\n const localSchema = yup.object().shape({\n applicant: applicant_data_schema,\n identification_data: identification_data_schema,\n });\n const validateProofOfIdentity = await localSchema.isValid(methods.getValues());\n if (parms === \"personalDetails\") {\n const personalDetailsschema = yup.object().shape({\n applicant: personaldetails_data_schema,\n });\n try {\n const result = await personalDetailsschema.isValid(methods.getValues());\n if (result) {\n dispatch(tabsStateAction.personalDetail(true));\n dispatch(tabsStateAction.personalErr(false));\n methods.clearErrors();\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.personalDetail(false));\n dispatch(tabsStateAction.personalErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"ProofOfIdentity\") {\n const localSchema = yup.object().shape({\n applicant: applicant_data_schema,\n identification_data: identification_data_schema,\n });\n try {\n if (validatePersonalDetails) {\n const result = await localSchema.isValid(methods.getValues());\n if (result) {\n dispatch(tabsStateAction.ProofOfIdentity(true));\n dispatch(tabsStateAction.personalErr(false));\n methods.clearErrors();\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ProofOfIdentity(false));\n dispatch(tabsStateAction.personalErr(true));\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.personalDetail(false));\n dispatch(tabsStateAction.personalErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"Address\") {\n const localSchema = yup.object().shape({\n address: address_data_schema,\n });\n try {\n if (validatePersonalDetails) {\n if (validateProofOfIdentity) {\n const result = await localSchema.isValid(methods.getValues());\n if (result) {\n dispatch(tabsStateAction.Address(true));\n dispatch(tabsStateAction.personalErr(false));\n methods.clearErrors();\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Address(false));\n dispatch(tabsStateAction.personalErr(true));\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ProofOfIdentity(false));\n dispatch(tabsStateAction.personalErr(true));\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.personalDetail(false));\n dispatch(tabsStateAction.personalErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n\n const { hash } = location;\n \n\n useEffect(() => {\n if (!hash) return;\n if (hash == \"#personal-details\") {\n navigate(-1);\n return dispatch(tabsStateAction.personalDetail(false));\n }\n if (hash == \"#poi\") {\n navigate(-1);\n return handleChange(\"personalDetails\");\n }\n if (hash == \"#address\") {\n navigate(-1);\n return handleChange(\"ProofOfIdentity\");\n }\n if (hash == \"#ssn\") {\n navigate(-1);\n return handleChange(\"Address\");\n }\n }, [hash]);\n\n if (getIdentificationData.isLoading && !!identificationWiseRules) return

Loading

;\n if (getIdentificationData.isError)\n return (\n <>\n

Something went wrong please try again

\n \n );\n return (\n
\n {/* */}\n \n \n
\n
\n {/* Here code */}\n
\n {\n dispatch(tabsStateAction.personalDetail(false));\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {personalDetailsStatus && }{\" \"}\n Personal Details\n \n \n \n \n\n {\n handleChange(\"personalDetails\");\n }}\n >\n \n )\n }\n aria-controls=\"panel2bh-content\"\n id=\"panel2bh-header\"\n >\n \n {ProofOfIdentityStatus && }{\" \"}\n Proof of Identity{\" \"}\n {\n setLicenseInformation(true);\n }}\n />\n \n \n \n \n {\n handleChange(\"ProofOfIdentity\");\n }}\n >\n \n )\n }\n aria-controls=\"panel2bh-content\"\n id=\"panel2bh-header\"\n >\n \n {AddressStatus && } Address\n \n \n
\n \n {\n handleChange(\"Address\");\n }}\n >\n \n }\n aria-controls=\"panel2bh-content\"\n id=\"panel2bh-header\"\n >\n \n {SsnStatus && } Social\n Security Number\n \n \n \n \n \n {\n dispatch(tabsStateAction.personalErr(false));\n }}\n severity=\"error\"\n >\n {\" \"}\n Answer the required field \n \n \n
\n {/* end her */}\n \n NEXT\n \n
\n {open && (\n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {\n setOpen(false);\n }}\n style={{ float: \"left\", color: \"black\" }}\n className=\"cursor-pointer\"\n />\n Important Alert!\n \n \n \n {nameMatched?.applicantNameMatched === false && (\n <>\n
\n

\n Our system processed the document(s) you uploaded and\n found one or more possible discrepancies. Please\n review and indicate the correct information below.\n

\n
\n
\n {getIdentificationData?.data?.identification_data\n ?.Barcodedata[1]?.field_value_original !== \"\" &&\n getIdentificationData?.data?.identification_data\n ?.Barcodedata[3]?.field_value_original !== \"\" && (\n <>\n
\n <>\n

\n \n Your document uploaded name mismatched:*\n \n

\n

\n Select the Correct Value\n

\n \n
\n
\n
\n

According to you:

\n {\n setValue(\n \"applicant.first_name\",\n watch(\"applicant.first_name\")\n );\n setValue(\n \"applicant.last_name\",\n watch(\"applicant.last_name\")\n );\n setSelectedName(\"USERENTEREDVALUE\");\n dispatch(\n sideNavAction.applicantNameMatched(\n false\n )\n );\n\n // setOpen(false);\n setTimeout(() => {\n // refSubmitButtom?.current?.click();\n }, 100);\n }}\n >\n \n \n {userFirstName.toUpperCase()} \n {userLastName.toUpperCase()}{\" \"}\n \n \n \n
\n
\n

According to your document:

\n {\n setValue(\n \"applicant.first_name\",\n getIdentificationData?.data\n ?.identification_data?.Barcodedata[1]\n ?.field_value_original\n );\n setValue(\n \"applicant.last_name\",\n getIdentificationData?.data\n ?.identification_data?.Barcodedata[3]\n ?.field_value_original\n );\n dispatch(\n sideNavAction.applicantNameMatched(true)\n );\n\n setSelectedName(\"DOCUMENTENTEREDVALUE\");\n\n // setOpen(false);\n setTimeout(() => {\n // refSubmitButtom?.current?.click();\n }, 100);\n }}\n >\n \n {\n getIdentificationData?.data\n ?.identification_data?.Barcodedata[1]\n ?.field_value_original\n }{\" \"}\n {\n getIdentificationData?.data\n ?.identification_data?.Barcodedata[3]\n ?.field_value_original\n }\n \n \n
\n
\n \n )}\n
\n \n )}\n
\n <>\n {getIdentificationData?.data?.identification_data\n ?.Barcodedata[8]?.field_value_original !== \"\" && (\n <>\n
\n
\n

\n \n Your document uploaded DOB mismatched:*\n \n

\n

\n Select the Correct Value\n

\n
\n
\n
\n
\n

According to you:

\n {\n setValue(\"applicant.DOB\", watch(\"applicant.DOB\"));\n // setOpen(false);\n setSelectedDOB(\"USERENTEREDVALUE\");\n dispatch(\n sideNavAction.applicantDOBMatched(false)\n );\n\n setTimeout(() => {\n // refSubmitButtom?.current?.click();\n }, 100);\n }}\n >\n \n {/* {moment(watch(\"identification_data.DOB\")).format(\n \"MM-DD-YYYY\"\n )} */}\n {userDOB}\n \n \n
\n
\n

According to your document:

\n {\n //TODO: convert barcode DOB to Date format to submmit to API.\n setValue(\n \"applicant.DOB\",\n getIdentificationData?.data?.identification_data\n ?.Barcodedata[8]?.field_value_original\n );\n dispatch(sideNavAction.applicantDOBMatched(true));\n setSelectedDOB(\"DOCUMENTENTEREDVALUE\");\n // setOpen(false);\n }}\n >\n \n {\n getIdentificationData?.data?.identification_data\n ?.Barcodedata[8]?.field_value_original\n }\n \n \n
\n
\n \n )}\n \n
\n \n {\n setSelectedName(null);\n setSelectedDOB(null);\n setOpen(false);\n setValue(\"applicant.first_name\", userFirstName);\n setValue(\"applicant.last_name\", userLastName);\n setValue(\"applicant.DOB\", userDOB);\n }}\n >\n Cancel\n \n {\n setOpen(false);\n submitBtnRef.current.click();\n }}\n >\n Confirm\n \n \n \n )}\n \n <>\n {\n setLicenseInformation(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n Please upload CLEAR and straight images of your proof of\n identification. For state driver’s licenses or ID’s, both the\n front and back of your ID are required, and the back barcode\n must be VERY CLEAR. If you don’t currently have a clear image(s)\n of your ID, then you can scan or click the scan ID QR code; this\n will allow you to use your mobile phone as a remote scanner.\n \n \n \n {\n setLicenseInformation(false);\n }}\n autoFocus\n >\n Close\n \n \n \n \n
\n \n \n
\n \n
\n
\n );\n};\n\nexport default IdentificationDetails;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputCheckBoxField from \"../../../../registration/Inputs/InputCheckBoxField\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport { useDeleteSourceMutation } from \"../../../../../services/identificationApi\";\nimport { TiDelete } from \"react-icons/ti\";\nimport InputFieldPhone from \"../../../../registration/Inputs/InputFieldPhone\";\nimport { JSONTree } from \"react-json-tree\";\n\nconst Applying = (props) => {\n const { register } = props;\n const { control, watch } =\n useFormContext();\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n const { fields, append, remove, replace } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"anyone_over_18.fields\", // unique name for your Field Array\n keyName: \"fields_id\", //default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n {fields.map((field, index) => (\n
\n
\n
\n
\n {index + 1}{\" \"}\n \n {!field?.is_fixed && ( {\n remove(index);\n props?.checkSourceAvailableHandler(\"applying\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n )}\n
\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n \n
\n\n {errors && errors[index] && errors[index].number}\n
\n
\n
\n ))}\n
\n
\n \n append({\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: null,\n individual: false,\n })\n }\n >\n \n \n \n   Add another Co-Applicant over age 18\n \n
\n
\n \n );\n};\n\nexport default Applying;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputCheckBoxField from \"../../../../registration/Inputs/InputCheckBoxField\";\nimport InputDateField from \"../../../../registration/Inputs/InputDateField\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport { TiDelete } from \"react-icons/ti\";\nimport moment from \"moment\";\nimport { JSONTree } from \"react-json-tree\";\nconst CoOccupant = (props) => {\n const { register } = props;\n const { control ,formState} = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"co_occupants.fields\", // unique name for your Field Array\n keyName: \"co_occupants_id\", // default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n {fields?.map((field, index) => (\n
\n
\n
\n
\n {index + 1}{\" \"}\n {\n remove(index);\n props?.checkSourceAvailableHandler(\"cooccupant\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\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 {errors && errors[index] && errors[index].number}\n
\n
\n
\n ))}\n
\n
\n \n append({\n id: \"0\",\n first_name: \"\",\n last_name: \"\",\n dob: \"\",\n ssn: \"\",\n relationship: \"\",\n })\n }\n >\n \n \n \n   Add another Co-Occupant under age 18\n \n
\n
\n \n );\n};\n\nexport default CoOccupant;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputCheckBoxField from \"../../../../registration/Inputs/InputCheckBoxField\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport InputFieldPhone from \"../../../../registration/Inputs/InputFieldPhone\";\nimport { TiDelete } from \"react-icons/ti\";\n\nconst CoSigner = (props) => {\n const { register } = props;\n const { control } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"is_co_signer.fields\", // unique name for your Field Array\n keyName: \"co_signer_id\",\n // keyName: \"id\", default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n\n {fields?.map((field, index) => (\n
\n
\n
\n
\n {index + 1}{\" \"}\n {!field?.is_fixed && ( {\n remove(index);\n props?.checkSourceAvailableHandler(\"cosigner\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n )}\n
\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n {errors && errors[index] && errors[index].number}\n
\n {index !== 0 && (\n
\n \n
\n )}\n
\n
\n ))}\n
\n
\n \n append({\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: \"\",\n })\n }\n >\n \n \n \n   Add another Guarantor / Co-signer\n \n
\n
\n \n );\n};\n\nexport default CoSigner;\n","import React, { useCallback, useEffect, useState } from \"react\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport Applying from \"./applying/applying\";\nimport { useFormContext } from \"react-hook-form\";\nimport CoOccupant from \"./cooccupant/cooccupant\";\nimport CoSigner from \"./cosigner/cosigner\";\nimport { useSelector } from \"react-redux\";\nimport { BsCheckCircleFill } from \"react-icons/bs\";\nimport {\n AccordionDetails,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Button,\n} from \"@mui/material\";\n\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\n\nconst ApplicantDetail = (props) => {\n const { register, watch, getValues, setValue, formState } = useFormContext();\n const [question, setQuestions] = useState(props.que);\n const [over18, setOver18] = useState(false);\n const [under18, setUnder18] = useState(false);\n const [coSinger, setCosinger] = useState(false);\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const [nextSection, setNextSection] = useState(false);\n const navigate = useNavigate();\n // highlight-starts\n const debouncedSave = useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(\n await props.checkValidation(\"ApplicantDetails\", false)\n );\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n // highlight-ends\n\n const checkSourceAvailableHandler = (section) => {\n if (section == \"applying\" && watch(\"anyone_over_18.fields\")?.length == 0) {\n setValue(\"anyone_over_18.response\", \"No\");\n }\n if (section == \"cooccupant\" && watch(\"co_occupants.fields\")?.length == 0) {\n setValue(\"co_occupants.response\", \"No\");\n }\n if (section == \"cosigner\" && watch(\"is_co_signer.fields\")?.length == 0) {\n setValue(\"is_co_signer.response\", \"No\");\n }\n };\n\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n debouncedSave(name);\n if (type === \"change\" && name === `anyone_over_18.response`) {\n if (getValues(`anyone_over_18.response`) === \"Yes\")\n setValue(\"anyone_over_18.fields\", [\n { id: 0, first_name: \"\", last_name: \"\", email: \"\", mobile: null },\n ]);\n } else if (type === \"change\" && name === `co_occupants.response`) {\n if (getValues(`co_occupants.response`) === \"Yes\")\n setValue(\"co_occupants.fields\", [\n {\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: null,\n dob: null,\n },\n ]);\n } else if (type === \"change\" && name === `is_co_signer.response`) {\n //is_co_signer.fields\n if (getValues(`is_co_signer.response`) === \"Yes\")\n setValue(\"is_co_signer.fields\", [\n { id: 0, first_name: \"\", last_name: \"\", email: \"\", mobile: null },\n ]);\n }\n });\n return () => subscription.unsubscribe();\n }, [getValues, setValue, watch]);\n return (\n \n
\n
\n {getValues(\"anyone_over_18.display\") && (\n
\n \n {\n if (watch(\"anyone_over_18.fields\")?.length > 0 && !getValues( `anyone_over_18.fields`).find((item,index,arr)=>{\n return item.is_fixed===true\n })) {\n setUnder18(false);\n setCosinger(false);\n setOver18(true);\n }\n }}\n disable={watch(\"anyone_over_18.fields\")?.length > 0 }\n label={`${getValues(\n `anyone_over_18.labelIndex`\n )}. Are you applying with anyone over the age of 18?`}\n register={register(\"anyone_over_18.response\")}\n />\n
\n\n {watch(\"anyone_over_18.response\") === \"Yes\" && (\n \n )}\n
\n )}\n\n {getValues(\"co_occupants.display\") && (\n
\n
\n {\n if (watch(\"co_occupants.fields\")?.length > 0) {\n setOver18(false);\n setCosinger(false);\n setUnder18(true);\n }\n }}\n disable={watch(\"co_occupants.fields\")?.length > 0}\n label={`${getValues(\n `co_occupants.labelIndex`\n )}. Will any co-occupants UNDER the age of 18 be residing with you?`}\n register={register(\"co_occupants.response\")}\n />\n
\n\n {watch(\"co_occupants.response\") === \"Yes\" && (\n \n )}\n
\n )}\n\n {getValues(\"is_co_signer.display\") && (\n
\n
\n {\n if (watch(\"is_co_signer.fields\")?.length > 0 && !getValues( `is_co_signer.fields`).find((item,index,arr)=>{\n return item.is_fixed===true\n })) {\n setOver18(false);\n setUnder18(false);\n setCosinger(true);\n }\n }}\n disable={watch(\"is_co_signer.fields\")?.length > 0}\n label={`${getValues(\n `is_co_signer.labelIndex`\n )}. Do you expect to need a guarantor/co-signer?`}\n register={register(\"is_co_signer.response\")}\n />\n
\n\n {watch(\"is_co_signer.response\") === \"Yes\" && (\n \n )}\n
\n )}\n
\n
\n {}}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setUnder18(false);\n setOver18(false);\n setCosinger(false);\n }}\n >\n No\n \n {\n if (over18) {\n setUnder18(false);\n setOver18(false);\n setCosinger(false);\n setValue(\"anyone_over_18.fields\", []);\n setValue(\"anyone_over_18.response\", \"No\");\n }\n if (under18) {\n setOver18(false);\n setUnder18(false);\n setCosinger(false);\n setValue(\"co_occupants.fields\", []);\n setValue(\"co_occupants.response\", \"No\");\n }\n if (coSinger) {\n setOver18(false);\n setUnder18(false);\n setCosinger(false);\n setValue(\"is_co_signer.fields\", []);\n setValue(\"is_co_signer.response\", \"No\");\n }\n }}\n >\n Yes\n \n \n \n\n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#contacts\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n );\n};\n\nexport default ApplicantDetail;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport SelectField from \"../../../../registration/Inputs/SelectField\";\nimport { TiDelete } from \"react-icons/ti\";\nimport InputFieldPhone from \"../../../../registration/Inputs/InputFieldPhone\";\n\nconst EmergencyContact = (props) => {\n console.log(\"Ememgency contact props\", props);\n const { register } = props;\n const { control, watch, setValue, getValues } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"emergency_reference.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n
\n {fields.map((field, index) => {\n console.log(\"Check FIELDS VALUE\", field);\n if (\n watch(`emergency_reference.fields.${index}.reference_copy`)\n ?.value >= 0\n ) {\n if (\n !getValues(\n `emergency_reference.fields.${index}.reference_copy_status`\n )\n ) {\n /**\n *\n */\n setValue(\n `emergency_reference.fields.${index}`,\n getValues(\n `reference.fields.${\n getValues(\n `emergency_reference.fields.${index}.reference_copy`\n )?.value\n }`\n ),\n { shouldValidate: true }\n );\n setValue(\n `emergency_reference.fields.${index}.reference_copy_status`,\n true\n );\n }\n }\n return (\n
\n
\n
\n {index + 1}{\" \"}\n {\n remove(index);\n props?.checkSourceAvailableHandler(\"emergency\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n
\n
\n\n
\n {props.referenceList.filter(\n (item) =>\n !!item.first_name && !!item.last_name && !!item.email\n ).length > 0 && (\n
\n
\n
\n {watch(\n `emergency_reference.fields.${index}.first_name`\n ) === \"\" && (\n \n !!item.first_name &&\n !!item.last_name &&\n !!item.email\n )\n .map((item, index) => {\n const name =\n item.first_name + \" \" + item.last_name ||\n index;\n return {\n value: index,\n label: name,\n };\n })}\n label=\"Copy data from reference\"\n register={register(\n `emergency_reference.fields.${index}.reference_copy`\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 {errors && errors[index] && errors[index].number}\n
\n
\n );\n })}\n
\n \n append({\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: \"\",\n })\n }\n >\n \n \n \n   Add another emergency contact\n \n
\n
\n \n );\n};\n\nexport default EmergencyContact;\n","import React from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport { TiDelete } from \"react-icons/ti\";\nimport InputFieldPhone from \"../../../../registration/Inputs/InputFieldPhone\";\n\nconst Reference = (props) => {\n const { register } = props;\n const { control } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"reference.fields\", // unique name for your Field Array\n keyName: \"reference_id\", //default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n\n return (\n <>\n {fields.map((field, index) => (\n
\n
\n
\n
\n {index + 1}{\" \"}\n {\n remove(index);\n props?.checkSourceAvailableHandler(\"reference\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n
\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n \n
\n {errors && errors[index] && errors[index].number}\n
\n
\n
\n ))}\n
\n
\n \n append({\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: null,\n })\n }\n >\n \n \n \n   Add another reference\n \n
\n
\n \n );\n};\n\nexport default Reference;\n","import React, { useCallback, useState } from \"react\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport { useFormContext } from \"react-hook-form\";\nimport EmergencyContact from \"./emergency-contact/emergency-contact\";\nimport Reference from \"./reference/reference\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\nimport { useSelector } from \"react-redux\";\nimport { BsCheckCircleFill } from \"react-icons/bs\";\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\n\nimport {\n AccordionDetails,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Button,\n} from \"@mui/material\";\n\nconst Contacts = (props) => {\n const [removeReference, setRemovereference] = React.useState(false);\n const [removeEmergencyreference, setRemoveemergencyreference] =\n React.useState(false);\n\n const { register, watch, getValues, setValue, formState } = useFormContext();\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const [nextSection, setNextSection] = useState(false);\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const navigate = useNavigate();\n // highlight-starts\n const debouncedSave = useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"Contacts\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n // highlight-ends\n\n const checkSourceAvailableHandler = (section) => {\n if (section == \"reference\" && watch(\"reference.fields\")?.length == 0) {\n setValue(\"reference.response\", \"No\");\n }\n if (\n section == \"emergency\" &&\n watch(\"emergency_reference.fields\")?.length == 0\n ) {\n setValue(\"emergency_reference.response\", \"No\");\n }\n };\n\n React.useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n debouncedSave(name);\n if (type === \"change\" && name === `reference.response`) {\n if (getValues(`reference.response`) === \"Yes\")\n setValue(\"reference.fields\", [\n { id: 0, first_name: \"\", last_name: \"\", email: \"\", mobile: null },\n ]);\n } else if (type === \"change\" && name === `emergency_reference.response`) {\n if (getValues(`emergency_reference.response`) === \"Yes\")\n setValue(\"emergency_reference.fields\", [\n {\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: null,\n reference_copy_status: false,\n },\n ]);\n } else if (type === \"change\" && name === `is_co_signer.response`) {\n //is_co_signer.fields\n if (getValues(`is_co_signer.response`) === \"Yes\")\n setValue(\"is_co_signer.fields\", [\n { id: 0, first_name: \"\", last_name: \"\", email: \"\", mobile: null },\n ]);\n }\n });\n return () => subscription.unsubscribe();\n }, [getValues, setValue, watch]);\n\n return (\n \n
\n
\n {watch(\"reference.display\") === true && (\n <>\n
\n
\n {\n if (watch(\"reference.fields\")?.length > 0) {\n setRemoveemergencyreference(false);\n setRemovereference(true);\n }\n }}\n disable={watch(\"reference.fields\")?.length > 0}\n notRequired={!getValues(\"reference.required\")}\n label={`${getValues(\n `reference.labelIndex`\n )}. Do you have any references?`}\n register={register(\"reference.response\")}\n />\n
\n
\n {watch(\"reference.response\") === \"Yes\" && (\n \n )}\n \n )}\n {watch(\"emergency_reference.display\") === true && (\n <>\n
\n
\n {\n if (watch(\"emergency_reference.fields\")?.length > 0) {\n setRemovereference(false);\n setRemoveemergencyreference(true);\n }\n }}\n disable={watch(\"emergency_reference.fields\")?.length > 0}\n notRequired={!getValues(\"emergency_reference.required\")}\n label={`${getValues(\n `emergency_reference.labelIndex`\n )}. Do you have an emergency contact?`}\n register={register(\"emergency_reference.response\")}\n />\n
\n
\n {watch(\"emergency_reference.response\") === \"Yes\" && (\n \n )}\n \n )}\n
\n
\n {}}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setRemoveemergencyreference(false);\n setRemovereference(false);\n }}\n >\n No\n \n {\n if (removeReference) {\n setRemoveemergencyreference(false);\n setRemovereference(false);\n setValue(\"reference.fields\", []);\n setValue(\"reference.response\", \"No\");\n }\n if (removeEmergencyreference) {\n setRemoveemergencyreference(false);\n setRemovereference(false);\n setValue(\"emergency_reference.fields\", []);\n setValue(\"emergency_reference.response\", \"No\");\n }\n }}\n >\n Yes\n \n \n \n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#fd\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n );\n};\n\nexport default Contacts;\n","import React, { useCallback, useState } from \"react\";\nimport { useFormContext, useFieldArray } from \"react-hook-form\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport InputDateField from \"../../../registration/Inputs/InputDateField\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport InputTextArea from \"../../../registration/Inputs/InputTextArea\";\nimport { TiDelete } from \"react-icons/ti\";\nimport { useSelector } from \"react-redux\";\nimport { BsCheckCircleFill } from \"react-icons/bs\";\nimport {\n AccordionDetails,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Button,\n} from \"@mui/material\";\n\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\n\nconst FinantialDetails = (props) => {\n const [removeRenters, setRemoveRenters] = React.useState(false);\n const { register, formState } = useFormContext();\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { control, watch, setValue, getValues } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"renters_insurance.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n\n const e_o_n = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"eviction_or_nonpayment.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n const contingencies = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"contingencies.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n\n const filed_for_bankruptcy = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"filed_for_bankruptcy.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n\n const [nextSection, setNextSection] = useState(false);\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const navigate = useNavigate();\n // highlight-starts\n const debouncedSave = useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"Finance\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n // highlight-ends\n const checkSourceAvailableHandler = (section) => {\n if (section == \"renters\" && watch(\"renters_insurance.fields\")?.length == 0) {\n setValue(\"renters_insurance.response\", \"No\");\n }\n };\n\n React.useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n debouncedSave(name);\n if (type === \"change\" && name === `renters_insurance.response`) {\n if (getValues(`renters_insurance.response`) === \"Yes\")\n setValue(\"renters_insurance.fields\", [\n {\n id: 0,\n policy_expirationdate: \"\",\n policy_number: \"\",\n email: \"\",\n insurance_companyName: \"\",\n },\n ]);\n } \n // else if (\n // type === \"change\" &&\n // name === `eviction_or_nonpayment.response`\n // ) {\n // // if (getValues(`eviction_or_nonpayment.response`) === \"Yes\")\n // // setValue(\"eviction_or_nonpayment.fields\", [\n // // {\n // // id: 0,\n // // eviction_or_nonpayment_reason: \"\",\n // // },\n // // ]);\n // } \n // else if (type === \"change\" && name === `contingencies.response`) {\n // //contingencies.fields\n // if (getValues(`contingencies.response`) === \"Yes\")\n // setValue(\"contingencies.fields\", [\n // { id: 0, contigencies_reason: \"\" },\n // ]);\n // } \n // else if (\n // type === \"change\" &&\n // name === `filed_for_bankruptcy.response`\n // ) {\n // //contingencies.fields\n // // if (getValues(`filed_for_bankruptcy.response`) === \"Yes\")\n // // setValue(\"filed_for_bankruptcy.fields\", [\n // // { id: 0, filed_for_bankruptcy_reason: \"\" },\n // // ]);\n // }\n });\n return () => subscription.unsubscribe();\n }, [getValues, setValue, watch]);\n\n return (\n \n
\n
\n {watch(\"renters_insurance.display\") === true && (\n <>\n
\n
\n {\n if (watch(\"renters_insurance.fields\")?.length > 0) {\n setRemoveRenters(true);\n }\n }}\n notRequired={!getValues(\"renters_insurance.required\")}\n disable={watch(\"renters_insurance.fields\")?.length > 0}\n label={`${getValues(\n `renters_insurance.labelIndex`\n )}. Do you have renters insurance?`}\n register={register(\"renters_insurance.response\")}\n />\n
\n
\n {watch(\"renters_insurance.response\") === \"Yes\" && (\n
\n
\n {fields.map((field, index) => {\n return (\n
\n
\n
\n {/* \n {index + 1}\n {\" \"} */}\n {\n remove(index);\n checkSourceAvailableHandler(\"renters\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n );\n })}\n {!fields.length && (\n
\n \n append({\n id: 0,\n first_name: \"\",\n last_name: \"\",\n email: \"\",\n mobile: \"\",\n })\n }\n >\n \n \n \n   Add renters insurance detail\n \n
\n )}\n
\n
\n )}\n \n )}\n\n {watch(\"eviction_or_nonpayment.display\") === true && (\n <>\n
\n
\n \n
\n
\n {watch(\"eviction_or_nonpayment.response\") === \"Yes\" && (\n
\n
\n
\n \n
\n
\n
\n )}\n \n )}\n {watch(\"contingencies.display\") === true && (\n <>\n
\n
\n 0}\n label={`${getValues(\n `contingencies.labelIndex`\n )}. Do you have any contingencies?`}\n register={register(\"contingencies.response\")}\n notRequired={!getValues(`contingencies.required`)}\n />\n
\n
\n {watch(\"contingencies.response\") === \"Yes\" && (\n
\n
\n
\n \n
\n
\n
\n )}\n \n )}\n {watch(\"filed_for_bankruptcy.display\") === true && (\n <>\n
\n
\n 0}\n label={`${getValues(\n `filed_for_bankruptcy.labelIndex`\n )}. Have you ever filed for bankruptcy?`}\n register={register(\"filed_for_bankruptcy.response\")}\n notRequired={!getValues(`filed_for_bankruptcy.required`)}\n />\n
\n
\n \n )}\n {watch(\"filed_for_bankruptcy.response\") === \"Yes\" && (\n
\n
\n \n
\n
\n )}\n
\n
\n {\n setRemoveRenters(!removeRenters);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setRemoveRenters(!removeRenters);\n }}\n >\n No\n \n {\n setRemoveRenters(false);\n setValue(\"renters_insurance.fields\", []);\n setValue(\"renters_insurance.response\", \"No\");\n }}\n >\n Yes\n \n \n \n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#others\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n );\n};\n\nexport default FinantialDetails;\n","import React, { useState } from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport InputCheckBoxField from \"../../../../registration/Inputs/InputCheckBoxField\";\nimport InputField from \"../../../../registration/Inputs/InputField\";\nimport { TiDelete } from \"react-icons/ti\";\nimport UploadFile from \"../../../../common/uploadFile/uploadFile\";\nimport { BsFillFileEarmarkPdfFill } from \"react-icons/bs\";\nimport { BiTrash } from \"react-icons/bi\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { useDeleteDocumentMutation } from \"../../../../../services/identificationApi\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { sideNavAction } from \"../../../../../store/identification/sideMenuSlice\";\nimport { BASE_URL_API } from \"../../../../../config\";\n\nconst Pets = (props) => {\n const dispatch = useDispatch();\n const { register } = props;\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { control, setValue, watch, getValues } = useFormContext();\n const { fields, append, remove } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"have_pet.fields\", // unique name for your Field Array\n keyName: \"arrId\",\n //default to \"id\", you can change the key name\n });\n const { errors } = useFormState({\n control,\n });\n const petfile = useSelector((state) => state.identification.sideMenuSlice?.uploadPetImageId);\n const getPetId = useSelector((state) => state.identification.sideMenuSlice);\n const [open, setOpen] = useState(false);\n const [fieldId, setFieldId] = useState(null);\n const [deleteDocument, result] = useDeleteDocumentMutation();\n const [showPetImage, setShowPetImage] = useState(true);\n\n const deleteDocumentHandler = (id, type) => {\n deleteDocument(id).then((response) => {\n if (response.data.success === true) {\n dispatch(\n sideNavAction.uploadPetImageId({\n index: fieldId,\n id: id,\n type: type,\n })\n );\n // setShowPetImage(false);\n }\n });\n };\n\n const hasSSToken = (url) => {\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n };\n \n const token = useSelector(\n (state) => state.persistedReducer.loginSlice.token\n );\n return (\n <>\n \n {fields?.map((field, index) => (\n
\n
\n
\n {index + 1}{\" \"}\n {\n remove(index);\n props?.checkSourceAvailableHandler(\"pet\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n Has the pet been spayed or neutered?\n \n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n Image / Documentation of pet:\n
\n \n (You can add a picture and/or documentation about your\n pet here)\n \n
\n
\n\n {getPetId.uploadPetImageId[`${index}`]?.id && (\n <>\n
\n \n window\n .open(\n `${hasSSToken(field?.file ? `${field.file}` : `${petfile[index]?.file}`,)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n {\n setFieldId(index);\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n \n )}\n
\n
\n \n
\n
\n
\n\n
\n {errors && errors[index] && errors[index].number}\n \n
\n
\n
\n \n ))}\n {/* fields.length && */}\n\n <>\n
\n \n append({\n id: 0,\n pet_type: \"\",\n pet_breed: \"\",\n pet_weight: \"\",\n pet_name: \"\",\n pet_Spayedneutered: \"YES\",\n service_animal: false,\n })\n }\n >\n \n \n \n   Add another Pet or Service Animal\n \n
\n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete document ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n console.warn(watch(`have_pet.fields.${fieldId}`));\n if (watch(`have_pet.fields.${fieldId}.file_id`)) {\n console.log(\"IN IF\");\n deleteDocumentHandler(\n watch(`have_pet.fields.${fieldId}.file_id`),\n \"DELETE\"\n );\n } else {\n console.log(\"IN ELSE\");\n deleteDocumentHandler(\n getPetId.uploadPetImageId[`${fieldId}`]?.id,\n \"DELETE\"\n );\n }\n setTimeout(() => {\n setOpen(false);\n }, 200);\n }}\n >\n Yes\n \n \n \n \n \n );\n};\n\nexport default Pets;\n","import React from \"react\";\nimport { useFormContext, useFieldArray } from \"react-hook-form\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport InputDateField from \"../../../registration/Inputs/InputDateField\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport InputTextArea from \"../../../registration/Inputs/InputTextArea\";\nimport Pets from \"./pets/pets\";\nimport { TiDelete } from \"react-icons/ti\";\nimport InputCurrencyField from \"../../../registration/Inputs/InputCurrencyField\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { BsCheckCircleFill } from \"react-icons/bs\";\nimport {\n AccordionDetails,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { sideNavAction } from \"../../../../store/identification/sideMenuSlice\";\n\nconst Others = (props) => {\n const dispatch = useDispatch();\n const [removeStudent, setRemoveStudent] = React.useState(false);\n const [removeVehcile, setRemoveVehcile] = React.useState(false);\n const [removePets, setRemovePets] = React.useState(false);\n const { register, watch, control, getValues, setValue, formState } =\n useFormContext();\n\n const is_student = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"is_student.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n const have_vehicle = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"have_vehicle.fields\", // unique name for your Field Array\n keyName: \"arrId\", //default to \"id\", you can change the key name\n });\n\n const checkSourceAvailableHandler = (section) => {\n if (section == \"student\" && watch(\"is_student.fields\")?.length == 0) {\n setValue(\"is_student.response\", \"No\");\n }\n if (section == \"vehical\" && watch(\"have_vehicle.fields\")?.length == 0) {\n setValue(\"have_vehicle.response\", \"No\");\n }\n if (section == \"pet\" && watch(\"have_pet.fields\")?.length == 0) {\n setValue(\"have_pet.response\", \"No\");\n }\n };\n\n React.useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n console.log(value, name, type);\n if (type === \"change\" && name === `is_student.response`) {\n if (getValues(`is_student.response`) === \"Yes\")\n setValue(\"is_student.fields\", [\n {\n id: 0,\n collegeuniversity_name: \"\",\n anticipatedgraduation_date: \"\",\n major: \"\",\n activities: \"\",\n },\n ]);\n } else if (type === \"change\" && name === `have_vehicle.response`) {\n if (getValues(`have_vehicle.response`) === \"Yes\")\n setValue(\"have_vehicle.fields\", [\n {\n id: 0,\n },\n ]);\n } else if (type === \"change\" && name === `have_pet.response`) {\n //contingencies.fields\n if (getValues(`have_pet.response`) === \"Yes\")\n setValue(\"have_pet.fields\", [\n {\n id: 0,\n pet_type: \"\",\n pet_breed: \"\",\n pet_weight: \"\",\n pet_name: \"\",\n pet_Spayedneutered: \"YES\",\n service_animal: false,\n file: \"\",\n },\n ]);\n }\n });\n return () => subscription.unsubscribe();\n }, [getValues, setValue, watch]);\n\n return (\n \n
\n
\n {watch(\"is_student.display\") === true && (\n <>\n
\n
\n {\n if (watch(\"is_student.fields\")?.length > 0) {\n setRemoveVehcile(false);\n setRemovePets(false);\n setRemoveStudent(true);\n }\n }}\n notRequired={!getValues(\"is_student.required\")}\n disable={watch(\"is_student.fields\")?.length > 0}\n label={`${getValues(\n `is_student.labelIndex`\n )}. Are you a full time student?`}\n register={register(\"is_student.response\")}\n />\n
\n
\n {watch(\"is_student.response\") === \"Yes\" && (\n
\n
\n {is_student.fields.map((field, index) => {\n return (\n
\n
\n {/* \n {index + 1}\n {\" \"} */}\n {\n is_student.remove(index);\n checkSourceAvailableHandler(\"student\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n
\n
\n \n
\n\n
\n \n
\n
\n \n
\n
\n \n
\n
\n );\n })}\n {!is_student.fields?.length && (\n
\n \n is_student.append({\n id: 0,\n collegeuniversity_name: \"\",\n anticipatedgraduation_date: \"\",\n major: \"\",\n activities: \"\",\n })\n }\n >\n \n \n \n   Add College / University detail\n \n
\n )}\n
\n
\n )}\n \n )}\n\n
\n {watch(\"have_vehicle.display\") === true && (\n <>\n
\n {\n if (watch(\"have_vehicle.fields\")?.length > 0) {\n setRemovePets(false);\n setRemoveStudent(false);\n setRemoveVehcile(true);\n }\n }}\n notRequired={!getValues(\"have_vehicle.required\")}\n disable={watch(\"have_vehicle.fields\")?.length > 0}\n label={`${getValues(\n `have_vehicle.labelIndex`\n )}. Do you have a vehicle?`}\n register={register(\"have_vehicle.response\")}\n />\n
\n {watch(\"have_vehicle.response\") === \"Yes\" && (\n
\n
\n {have_vehicle.fields.map((field, index) => {\n return (\n
\n
\n {/* \n {index + 1}\n {\" \"} */}\n {\n have_vehicle.remove(index);\n checkSourceAvailableHandler(\"vehical\");\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\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 {!have_vehicle.fields?.length && (\n
\n \n have_vehicle.append({\n id: 0,\n })\n }\n >\n \n \n \n   Add vehicle detail\n \n
\n )}\n
\n
\n )}\n \n )}\n
\n {watch(\"have_pet.display\") === true && (\n <>\n
\n
\n {\n if (watch(\"have_pet.fields\")?.length > 0) {\n setRemoveStudent(false);\n setRemoveVehcile(false);\n setRemovePets(true);\n }\n }}\n disable={watch(\"have_pet.fields\")?.length > 0}\n notRequired={!getValues(\"have_pet.required\")}\n label={`${getValues(\n `have_pet.labelIndex`\n )}. Do you have pets or service animal?`}\n register={register(\"have_pet.response\")}\n />\n
\n
\n {watch(\"have_pet.response\") === \"Yes\" && (\n
\n
\n \n
\n
\n )}\n \n )}\n {watch(\"do_you_smoke.display\") === true && (\n <>\n
\n
\n \n
\n
\n \n )}\n {watch(\"convicted_for_crime.display\") === true && (\n
\n
\n \n
\n
\n )}\n\n {watch(\"convicted_for_crime.response\") == \"Yes\" && (\n
\n
\n
\n
\n \n
\n
\n
\n
\n )}\n
\n
\n {\n setRemovePets(false);\n setRemoveStudent(false);\n setRemoveVehcile(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setRemovePets(false);\n setRemoveStudent(false);\n setRemoveVehcile(false);\n }}\n >\n No\n \n {\n if (removePets) {\n setValue(\"have_pet.fields\", []);\n setValue(\"have_pet.response\", \"No\");\n dispatch(\n sideNavAction.uploadPetImageId({\n index: null,\n id: null,\n type: \"DELETESOURCE\",\n })\n );\n }\n if (removeStudent) {\n setValue(\"is_student.fields\", []);\n setValue(\"is_student.response\", \"No\");\n }\n if (removeVehcile) {\n setValue(\"have_vehicle.fields\", []);\n setValue(\"have_vehicle.response\", \"No\");\n }\n setRemovePets(false);\n setRemoveStudent(false);\n setRemoveVehcile(false);\n }}\n >\n Yes\n \n \n \n
\n );\n};\n\nexport default Others;\n","import React, {\n useEffect,\n forwardRef,\n useImperativeHandle,\n useRef,\n} from \"react\";\nimport ApplicantDetail from \"./applicant-detail/applicant-detail\";\nimport Contacts from \"./contacts/contacts\";\nimport FinantialDetails from \"./finantial-details/finantial-details\";\nimport Others from \"./others/others\";\nimport { useForm, FormProvider, useFormContext } from \"react-hook-form\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\nimport { DevTool } from \"@hookform/devtools\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { sideNavAction } from \"../../../store/identification/sideMenuSlice\";\nimport {\n useGetDetailsQuery,\n identificationApi,\n useGetSectionStatusQuery,\n} from \"../../../services/identificationApi\";\nimport { useSaveContexttualMutation } from \"../../../services/identificationApi\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\nimport moment from \"moment\";\nimport { formSubmitStatusRest } from \"../../../store/registration/fromSubmitSlice\";\n// import AiOutlinePlus from \"@mui/icons-material/ExpandMore\";\nimport { BsCheck2Circle } from \"react-icons/bs\";\nimport {\n Accordion,\n AccordionSummary,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Typography,\n AccordionDetails,\n Snackbar,\n} from \"@mui/material\";\nimport { tabsStateAction } from \"../../../store/identification/tabStateSlice\";\nimport MuiAlert from \"@mui/material/Alert\";\nimport { AiOutlinePlus } from \"react-icons/ai\";\n\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport SupportSection from \"../../common/SupportSection/SupportSection\";\n\nconst Alert = React.forwardRef(function Alert(props, ref) {\n return ;\n});\n\nconst ApplicantDetails = forwardRef((props, ref) => {\n const [clickHere, setClickHere] = React.useState(true);\n\n const navigate = useNavigate();\n const dispatch = useDispatch();\n const submitBtnRef = useRef(null);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const pet_id = useSelector((state) => state.identification.sideMenuSlice);\n let sectionCompleteStatus = useGetSectionStatusQuery(trn_id);\n\n dispatch(sideNavAction.applicationStatusState(sectionCompleteStatus.data));\n\n const formSectionSubmit = useSelector(\n (state) => state.formSubmit.fromSectionSubmit\n );\n\n const { data, isLoading, isError } = useGetDetailsQuery(trn_id);\n const [saveContextual, result] = useSaveContexttualMutation();\n\n const sectionStatus = useGetSectionStatusQuery(trn_id);\n\n useEffect(() => {\n document.title = \"Contextual Questions\";\n }, []);\n\n useEffect(() => {\n if (data) {\n let fields = data?.have_pet?.fields;\n dispatch(\n sideNavAction.uploadPetImageId({\n data: fields,\n type: \"APICALL\",\n })\n );\n }\n }, [data, dispatch]);\n\n useEffect(() => {\n (async () => {\n if (formSectionSubmit) {\n if (!(await handleSubmitValidation(\"ApplicantDetails\"))) return;\n if (!(await handleSubmitValidation(\"Contacts\"))) return;\n if (!(await handleSubmitValidation(\"Finance\"))) return;\n if (!(await handleSubmitValidation(\"Others\"))) return;\n submitBtnRef?.current?.click();\n }\n })();\n }, [formSectionSubmit]);\n\n const notEmptyFieldsMethod = (\n value,\n path,\n createError,\n myFailureMessage,\n setNameError\n ) => {\n try {\n if (value) {\n setNameError(false);\n return true;\n }\n setNameError(true);\n return createError({ path, message: myFailureMessage });\n } catch (error) {\n console.error(\"🚀 ~ file: identification.js ~ line 96 ~ error\", error);\n }\n };\n\n const today = new Date().setHours(0, 0, 0, 0);\n\n const schema = yup.object().shape({\n anyone_over_18: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid name\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid name\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n financially_responsible: yup.bool().nullable(),\n })\n ),\n }),\n\n // ProfileTabFieldID: yup.string().when(\"required\", {\n // is: true,\n // then: yup.string().required(\"required\"),\n // }),\n Question: yup.string(),\n }),\n is_co_signer: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n\n co_occupants: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n dob: yup\n .string()\n .nullable()\n .required(\"Required\"),\n relationship: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n ssn: yup\n .string()\n .nullable()\n .typeError()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .notRequired(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n reference: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n relationship: yup.string().required('Required').matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n emergency_reference: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n relationship: yup.string().required('Required').matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n renters_insurance: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n insurance_companyName: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n policy_number: yup\n .string()\n .matches(/^[A-Za-z0-9_]+$/, \"Only Alphanumeric Allowed\") //Make Number with Letters\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n policy_expirationdate: yup\n .string()\n .nullable()\n .typeError(\"required\")\n .required(\"Required\")\n // .test(\"policy_number\", \"Future Date Required\", (value) => {\n // if (!value) return true;\n // var now = new Date();\n // now.setHours(0, 0, 0, 0);\n // return value > now ? true : false;\n // })\n // .transform((curr, orig) => (orig == \"\" ? null : curr))\n ,\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n eviction_or_nonpayment: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n contingencies: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n filed_for_bankruptcy: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n is_student: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n collegeuniversity_name: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n activities: yup.string().matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n major: yup.string().matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n anticipatedgraduation_date: yup\n .string()\n .typeError(\"Required\")\n .nullable()\n .transform((curr, orig) => (orig == \"\" ? null : curr))\n .required(\"Required\")\n .test(\"date\", \"Future date required\", (value) => {\n if (!value) return true;\n return moment(value).isAfter(new Date());\n }),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n have_vehicle: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n vehicle_year: yup\n .string()\n .typeError(\"Required\")\n .nullable()\n .matches(/^(\\d+[0-9])$/, \"Only Allowed Numbers\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .test(\"validate-year\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Please enter valid year\";\n try {\n if (value) {\n let minYear = 1900;\n let maxYear = moment(new Date()).format(\"YYYY\");\n let addOneYear = parseInt(maxYear) + 1;\n console.log(\"Check Max Year\", maxYear, addOneYear);\n if (\n parseInt(value) < minYear ||\n parseInt(value) > addOneYear\n ) {\n return createError({ path, message: myFailureMessage });\n } else {\n return true;\n }\n }\n } catch (error) {\n console.log(\n \"year validation error in applicant details\",\n error\n );\n }\n })\n .required(\"Required\"),\n vehicle_make: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_model: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_color: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_licenseplate: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_monthlypayment: yup\n .string()\n .nullable()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n have_pet: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n pet_type: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pet_breed: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pet_weight: yup\n .string()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pet_name: yup.string().nullable().matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n service_animal: yup.boolean(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n do_you_smoke: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value === \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n convicted_for_crime: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value === \"true\";\n },\n then: yup\n .string()\n .nullable()\n\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n \n return value === \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n const methods = useForm({\n defaultValues: data,\n resolver: yupResolver(schema),\n mode: \"all\",\n });\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n useEffect(() => {\n methods.reset(data);\n }, [data, methods]);\n\n const ApplicantDetailStatus = useSelector(\n (state) => state.identification.tabsStateSlice.ApplicantDetailStatus\n );\n\n const ContactsStatus = useSelector(\n (state) => state.identification.tabsStateSlice.ContactsStatus\n );\n\n const FinantialDetailStatus = useSelector(\n (state) => state.identification.tabsStateSlice.FinantialDetailStatus\n );\n\n const OtherStatus = useSelector(\n (state) => state.identification.tabsStateSlice.OtherStatus\n );\n\n const ApplicantErr = useSelector(\n (state) => state.identification.tabsStateSlice.ApplicantErr\n );\n // useEffect(() => {\n // if (sectionStatus?.data?.applicant_details_status) {\n // dispatch(tabsStateAction.Other(true));\n // }\n // }, [sectionStatus?.data, dispatch]);\n\n const handleSubmitValidation = async (parms, submit = true) => {\n console.log(\"HandleSubmitCalled:813\", parms)\n if (parms === \"ApplicantDetails\") {\n const localSchema = yup.object().shape({\n anyone_over_18: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\").matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\").matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n financially_responsible: yup.bool().nullable(),\n })\n ),\n }),\n\n // ProfileTabFieldID: yup.string().when(\"required\", {\n // is: true,\n // then: yup.string().required(\"required\"),\n // }),\n Question: yup.string(),\n }),\n is_co_signer: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n co_occupants: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n dob: yup\n .string()\n .nullable()\n .required(\"Required\") ,\n relationship: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n ssn: yup\n .string()\n .nullable()\n .typeError()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\").matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .notRequired(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ApplicantDetail(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms == \"Contacts\") {\n const localSchema = yup.object().shape({\n reference: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n relationship: yup.string().required('Required').matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n emergency_reference: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n\n relationship: yup.string().required('Required').matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Contacts(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"Finance\") {\n const localSchema = yup.object().shape({\n renters_insurance: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n insurance_companyName: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n policy_number: yup\n .string()\n .matches(/^[A-Za-z0-9_]+$/, \"Only Numbers Allowed\").matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n policy_expirationdate: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr))\n // .test(\"policy_number\", \"Future Date Required\", (value) => {\n // if (!value) return true;\n // var now = new Date();\n // now.setHours(0, 0, 0, 0);\n // return value > now ? true : false;\n // })\n .required(\"Required\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n eviction_or_nonpayment: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n contingencies: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n filed_for_bankruptcy: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\").max(5000, 'Text size exceeds a limit of 5000!'),\n }),\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.FinantialDetail(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"Others\") {\n const localSchema = yup.object().shape({\n is_student: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n collegeuniversity_name: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n activities: yup.string().matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n major: yup.string().matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n anticipatedgraduation_date: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr))\n .required(\"Required\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n have_vehicle: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n vehicle_year: yup\n .string()\n .nullable()\n .matches(/^(\\d+[0-9])$/, \"Only Allowed Numbers\").matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .test(\"validate-year\", function (value) {\n const { path, createError } = this;\n const myFailureMessage = \"Please enter valid year\";\n try {\n if (value) {\n let minYear = 1900;\n let maxYear = moment(new Date()).format(\"YYYY\");\n let addOneYear = parseInt(maxYear) + 1;\n console.log(\"Check Max Year\", maxYear, addOneYear);\n if (\n parseInt(value) < minYear ||\n parseInt(value) > addOneYear\n ) {\n return createError({\n path,\n message: myFailureMessage,\n });\n } else {\n return true;\n }\n }\n } catch (error) {\n console.log(\n \"year validation error in applicant details\",\n error\n );\n }\n })\n .typeError(\"Required\")\n .required(\"Required\"),\n vehicle_make: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_model: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_color: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_licenseplate: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n vehicle_monthlypayment: yup\n .string()\n .nullable()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n have_pet: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n pet_type: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pet_breed: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pet_weight: yup\n .string()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pet_name: yup.string().matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n service_animal: yup.boolean(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n do_you_smoke: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n convicted_for_crime: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value === true;\n },\n then: yup\n .string()\n .nullable()\n\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n dispatch(tabsStateAction.Other(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n submitBtnRef?.current?.click();\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n\n const handleChange = async (parms) => {\n const applicantDetailsSchema = yup.object().shape({\n anyone_over_18: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n console.log(\"1369:\", value == \"true\");\n console.log(\"1369:\", typeof value);\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n financially_responsible: yup.bool().nullable(),\n })\n ),\n }),\n\n // ProfileTabFieldID: yup.string().when(\"required\", {\n // is: true,\n // then: yup.string().required(\"required\"),\n // }),\n Question: yup.string(),\n }),\n is_co_signer: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n co_occupants: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n dob: yup.string().nullable().required(\"Required\"),\n relationship: yup\n .string()\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n ssn: yup\n .string()\n .nullable()\n .typeError()\n .matches(/^(\\d*[0-9])|^$/g, \"Only Numbers Allowed\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .notRequired(),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n const validateapplicantDetails = await applicantDetailsSchema.isValid(\n methods.getValues()\n );\n const contactsSchema = yup.object().shape({\n reference: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n\n relationship: yup\n .string()\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n emergency_reference: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n first_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n last_name: yup\n .string()\n \n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n email: yup\n .string()\n .email(\"Invalid email format\")\n .required(\"Required\"),\n mobile: yup.string().nullable(),\n relationship: yup\n .string()\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n const validateContacts = await contactsSchema.isValid(methods.getValues());\n const financeSchema = yup.object().shape({\n renters_insurance: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n fields: yup.array().when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().of(\n yup.object().shape({\n insurance_companyName: yup\n .string()\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n policy_number: yup\n .string()\n .matches(/^[A-Za-z0-9_]+$/, \"Only Numbers Allowed\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .required(\"Required\"),\n policy_expirationdate: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig == \"\" ? null : curr))\n // .test(\"policy_number\", \"Future Date Required\", (value) => {\n // if (!value) return true;\n // var now = new Date();\n // now.setHours(0, 0, 0, 0);\n // return value > now ? true : false;\n // })\n .required(\"Required\"),\n })\n ),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n eviction_or_nonpayment: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .max(5000, \"Text size exceeds a limit of 5000!\"),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n contingencies: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .max(5000, \"Text size exceeds a limit of 5000!\"),\n }),\n\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n filed_for_bankruptcy: yup.object().shape({\n required: yup.string(),\n display: yup.string(),\n response: yup.string().when(\"required\", {\n is: (value) => {\n return value == \"true\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherwise: yup.string().nullable(),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\")\n .max(5000, \"Text size exceeds a limit of 5000!\"),\n }),\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n });\n const validateFinance = await financeSchema.isValid(methods.getValues());\n if (parms === \"ApplicantDetails\") {\n try {\n if (validateapplicantDetails) {\n methods.clearErrors();\n dispatch(tabsStateAction.ApplicantDetail(true));\n dispatch(tabsStateAction.ApplicantErr(false));\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ApplicantDetail(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms == \"Contacts\") {\n try {\n if (validateapplicantDetails) {\n if (validateContacts) {\n methods.clearErrors();\n dispatch(tabsStateAction.Contacts(true));\n dispatch(tabsStateAction.ApplicantErr(false));\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Contacts(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ApplicantDetail(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms == \"Finance\") {\n try {\n if (validateapplicantDetails) {\n if (validateContacts) {\n if (validateFinance) {\n methods.clearErrors();\n dispatch(tabsStateAction.FinantialDetail(true));\n dispatch(tabsStateAction.ApplicantErr(false));\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.FinantialDetail(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Contacts(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.ApplicantDetail(false));\n dispatch(tabsStateAction.ApplicantErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n\n const { hash } = useLocation();\n\n const onSubmit = async (fromData) => {\n let havePet = {\n ...fromData.have_pet,\n // pet_id: pet_id.uploadPetImageId,\n fields: fromData.have_pet?.fields?.map((petDetail, index) => {\n return {\n ...petDetail,\n pet_id: pet_id.uploadPetImageId[index]?.id,\n };\n }),\n };\n let questions = [];\n questions[0] = fromData.anyone_over_18;\n questions[1] = fromData.co_occupants;\n questions[2] = fromData.is_co_signer;\n questions[3] = fromData.reference;\n questions[4] = fromData.emergency_reference;\n questions[5] = fromData.renters_insurance;\n questions[6] = fromData.eviction_or_nonpayment;\n questions[7] = fromData.contingencies;\n questions[8] = fromData.filed_for_bankruptcy;\n questions[9] = fromData.is_student;\n questions[10] = fromData.have_vehicle;\n questions[11] = havePet;\n questions[12] = fromData.convicted_for_crime;\n if (fromData?.do_you_smoke?.display == \"true\") {\n questions.push(fromData.do_you_smoke);\n }\n let tempObj = {\n trn_id,\n questions: questions,\n };\n const response = await toast.promise(saveContextual(tempObj), {\n pending: \"Saving\",\n\n error: \"Saving failed 🤯\",\n });\n if (response) {\n dispatch(sideNavAction.uploadPetImageId(null));\n dispatch(formSubmitStatusRest());\n dispatch(tabsStateAction.Income(false));\n dispatch(tabsStateAction.sideNavApplicantReducer(true));\n navigate(\"/identification/incomeDetail\");\n }\n // saveContextual(tempObj).then((response) => {\n // console.log(\"Check response for Questions field\", response);\n // if (response.data.success) {\n // dispatch(sideNavAction.uploadPetImageId(null));\n // dispatch(formSubmitStatusRest());\n // navigate(\"/identification/incomeDetail\");\n // }\n // });\n };\n\n useEffect(() => {\n dispatch(tabsStateAction.sideNavApplicantReducer(false));\n }, []);\n\n useEffect(() => {\n if (!hash) return;\n if (hash == \"#ad\") {\n navigate(-1);\n return dispatch(tabsStateAction.ApplicantDetail(false));\n }\n if (hash == \"#contacts\") {\n navigate(-1);\n return handleChange(\"ApplicantDetails\");\n }\n if (hash == \"#fd\") {\n navigate(-1);\n return handleChange(\"Contacts\");\n }\n if (hash == \"#others\") {\n navigate(-1);\n return handleChange(\"Finance\");\n }\n }, [hash]);\n\n if (isLoading) return

Loading

;\n if (isError) return

Error

;\n\n return (\n
\n \n
\n
\n {/* Code here */}\n {\n dispatch(tabsStateAction.ApplicantDetail(false));\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {ApplicantDetailStatus && }{\" \"}\n Applicant Details\n \n \n \n \n\n {/* Contacts */}\n {\n handleChange(\"ApplicantDetails\");\n }}\n >\n \n )\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {ContactsStatus && } Contacts\n \n \n \n \n {/* Finincail Details */}\n {\n handleChange(\"Contacts\");\n }}\n >\n \n )\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {FinantialDetailStatus && }{\" \"}\n Financial Details\n \n \n \n \n {/* Others */}\n {\n handleChange(\"Finance\");\n }}\n >\n \n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {OtherStatus && } Other\n Details\n \n \n \n \n \n {\n dispatch(tabsStateAction.ApplicantErr(false));\n }}\n severity=\"error\"\n >\n {\" \"}\n Answer the required field \n \n \n {/* end here */}\n \n Next\n \n
\n
\n
\n \n \n
\n \n
\n
\n );\n});\n\nexport default ApplicantDetails;\n","import React from \"react\";\nimport { BiTrash } from \"react-icons/bi\";\nimport { BsFillFileEarmarkPdfFill } from \"react-icons/bs\";\nimport { useDeleteDocumentMutation } from \"../../../services/identificationApi\";\nimport { AiFillWarning } from \"react-icons/ai\";\nimport Button from \"@mui/material/Button\";\nimport Dialog from \"@mui/material/Dialog\";\nimport DialogActions from \"@mui/material/DialogActions\";\nimport DialogContent from \"@mui/material/DialogContent\";\nimport DialogContentText from \"@mui/material/DialogContentText\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport { protocol } from \"../../../config\";\nimport { useSelector } from \"react-redux\";\n\nconst Index = (props) => {\n const [deleteDocument, DeleteResult] = useDeleteDocumentMutation();\n const [open, setOpen] = React.useState(false);\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n\n const hasSSToken = (img = true) => {\n let url = props?.fileObj?.path_image;\n if (!img) {\n url = props?.fileObj?.path;\n }\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n };\n\n return (\n <>\n
\n {props?.fileObj?.is_Duplicate === 1 ? (\n \n \n \n Duplicate Payslip\n \n
\n ) : (\n
 
\n )}\n
\n
\n {/* \n window.open(\"http://\" + props.fileObj.path, \"_blank\").focus()\n }\n /> */}\n \n // window.open(protocol + hasSSToken()+``, \"_blank\").focus()\n window\n .open(hasSSToken(false) + \"?token=\" + token, \"_blank\")\n .focus()\n }\n />\n
\n
\n
\n \n {props?.fileObj?.file_name?.length > 21\n ? props?.fileObj?.file_name.substring(0, 24) + \"...\"\n : props?.fileObj?.file_name}\n \n
\n {!DeleteResult.isUninitialized ? (\n \n Deleting...\n \n ) : (\n setOpen(true)}\n title={`Delete ${props?.fileObj?.file_name}`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n )}\n
\n
\n {}}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {\"Are you sure want to delete file ?\"}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n deleteDocument(props?.fileObj?.application_document_id);\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n \n \n );\n};\n\nexport default Index;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\nimport { useFormContext } from \"react-hook-form\";\nimport InputCurrencyField from \"../../../registration/Inputs/InputCurrencyField\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport FileIcon from \"../../../common/FileIcon\";\nimport UploadFile from \"../../../common/uploadFile/uploadFile\";\nimport {\n useDeleteSourceMutation,\n useGetIncomeBankingQuery,\n} from \"../../../../services/identificationApi\";\nimport { TiDelete } from \"react-icons/ti\";\nimport {\n Alert,\n Button,\n DialogActions,\n DialogContent,\n DialogContentText,\n Stack,\n} from \"@mui/material\";\nimport { useSelector } from \"react-redux\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport Dialog from \"@mui/material/Dialog\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport RadioInputField from \"../../../registration/Inputs/RadioInputField\";\nimport { useDocumentContext } from \"../../../../PrivateRoute\";\n\nconst Source = ({ field, index }) => {\n const [otherIncomeProof, setOtherIncomeProof] = React.useState(false);\n const { register, watch, getValues, formState, setValue } = useFormContext();\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n const [isDeleting, setIsDeleting] = React.useState(false);\n const [open, setOpen] = React.useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { data } = useGetIncomeBankingQuery(trn_id);\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n
\n
\n
\n
\n
\n {index + 1}{\" \"}\n {deleteResult.isUninitialized === true ? (\n {\n setOpen(true);\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n ) : (\n \n )}\n
\n
\n
\n
\n
\n \n
\n
\n {watch(`other_income_details.otherincome[${index}].other_income_type`)?.value == 'Other' && (
\n
\n \n
\n
)}\n {watch(`other_income_details.otherincome[${index}].other_income_type`)?.value == 'Pension' && (
\n
\n \n
\n
)}\n {watch(`other_income_details.otherincome[${index}].other_income_type`)?.value == 'Rental Assistance' && (\n
\n
\n \n
\n
\n )}\n {watch(`other_income_details.otherincome[${index}].rental_assistance_type`)?.value == 'Other' && watch(`other_income_details.otherincome[${index}].other_income_type`)?.value == 'Rental Assistance' && (
\n
\n \n
\n
)}\n
\n
\n \n
\n
\n {documentWiseRules?.OtherIncome != 'Hide' &&
\n \n
}\n {watch(\n `other_income_details.otherincome.${index}.availableToUpload`\n ) == \"Yes\" && (\n <>\n
\n
\n
\n

\n Proof of Other Income:\n *\n setOtherIncomeProof(true)}\n />\n

\n
(covering 4 most recent weeks)
\n \n You can upload PDF proof of other income here. In order to verify other income, PDF bank statements are required. Please be sure to enter banking information in the Banking section below, and upload PDF bank statements covering the 3 most recent months downloaded directly from your bank account website.\n \n
\n
\n
\n
\n \n
\n
\n
\n \n {data?.other_income_details?.otherincome[index]?.files.map(\n (item, index) => {\n return (\n \n );\n }\n )}\n
\n \n )}\n\n {watch(\n `other_income_details.otherincome.${index}.availableToUpload`\n ) == \"No\" && documentWiseRules?.OtherIncome != 'Hide' && (\n

\n {\" \"}\n \n {watch(\n `other_income_details.otherincome.${index}.no_doc_reason`\n ) === \"other\" && (\n

\n \n
\n )}\n

\n )}\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n
\n
\n
\n\n deleteResult.isLoading}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete non-employment ${index + 1} ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n // Prevent multiple delete calls\n if (isDeleting) return;\n\n setIsDeleting(true);\n setOpen(false);\n\n await doDelete({\n trn_id: trn_id,\n source_id: index + 1,\n document_id: \"7\",\n })\n .then((deleteDocResponse) => {\n if (\n deleteDocResponse.data.status === 200 &&\n getValues(`other_income_details.otherincome`)?.length === 1\n ) {\n setValue(`other_income_details.response`, \"No\");\n }\n })\n .catch((deleteDocError) =>\n console.log(\n \"Delete Doc Error in Banking Source\",\n deleteDocError\n )\n )\n .finally(() => {\n setIsDeleting(false); // Reset the flag after deletion\n });\n }}\n autoFocus\n disabled={isDeleting} // Disable the button while deleting\n >\n Yes\n \n \n \n {\n setOtherIncomeProof(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n PDF bank statements covering 2-3 most recent months downloaded directly from your bank account website are required to verify non-employment income. Please be sure to add bank account information below and please be sure to upload PDF bank statements for each bank account entered.\n \n \n \n {\n setOtherIncomeProof(false);\n }}\n autoFocus\n >\n Close\n \n \n \n \n );\n};\n\nSource.propTypes = {};\n\nexport default Source;\n","import { ErrorMessage } from \"@hookform/error-message\";\nimport {\n AccordionDetails,\n Alert,\n Box,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n LinearProgress,\n Stack,\n} from \"@mui/material\";\nimport React, { useEffect, useState } from \"react\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport { useSelector } from \"react-redux\";\nimport {\n useAddEmployerSourceMutation,\n useDeleteSourceMutation,\n useGetIncomeBankingQuery,\n} from \"../../../../services/identificationApi\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport Source from \"./source\";\nimport { AiOutlineCheckCircle } from \"react-icons/ai\";\nimport Loader from \"react-loader-spinner\";\n\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\n\nconst OtherIncome = (props) => {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n const [deleteOtherIncome, setDeleteOtherIncome] = React.useState(false);\n const [disabledSouceBtn, setDisabledSourceBtn] = useState(false);\n const {\n control,\n register,\n watch,\n getValues,\n setValue,\n formState: { errors },\n } = useFormContext();\n const [addEmployerSource, employerAddResult] = useAddEmployerSourceMutation();\n // const { data } = useGetIncomeBankingQuery(trn_id);\n const { data, refetch: refetchIncomeBanking } = useGetIncomeBankingQuery(trn_id);\n console.log(data,\"dataincome\")\n const { fields, append } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"other_income_details.otherincome\", // unique name for your Field Array\n keyName: \"controlId\", //default to \"id\", you can change the key name\n });\n\n const deleteOtherIncomeSource = async () => {\n // setIsDeleting(true);\n let allOtherIncome = await getValues(`other_income_details.otherincome`);\n if (allOtherIncome?.length > 0) {\n for (let index = 0; index < allOtherIncome.length; index++) {\n const element = allOtherIncome[index];\n await doDelete({\n trn_id: trn_id,\n source_id: index + 1,\n document_id: \"7\",\n });\n }\n \n setDeleteOtherIncome(false);\n setValue(`other_income_details.response`, \"No\");\n await refetchIncomeBanking();\n \n // Reset the flag after deletion\n \n }\n // setIsDeleting(false); \n };\n\n const [nextSection, setNextSection] = React.useState(false);\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const navigate = useNavigate();\n // highlight-starts\n const debouncedSave = React.useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"OtherIncome\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n // highlight-ends\n\n React.useEffect(() => {\n console.log(\"Check Other Income fields\", fields);\n const subscription = watch((value, { name, type }) => {\n debouncedSave(name);\n if (type === \"change\" && name === `other_income_details.response`) {\n if (getValues(`other_income_details.response`) === \"Yes\") {\n addEmployerSource({\n trn_id: trn_id,\n document_id: \"7\",\n source_id: 1,\n });\n }\n }\n });\n return () => subscription.unsubscribe();\n }, [addEmployerSource, fields.length, getValues, trn_id, watch, fields]);\n const [open, setOpen] = useState(false);\n const handleClose = () => {\n setOpen(false);\n };\n useEffect(() => {\n setDisabledSourceBtn(false);\n }, [fields?.length]);\n // const [open, setOpen] = useState(false);\n return (\n \n
\n
\n
\n {\n if (watch(\"other_income_details.employerCount\") > 0) {\n // setDeleteOtherIncome(true);\n setOpen(true);\n }\n }}\n disable={getValues(`other_income_details.employerCount`)}\n register={register(`other_income_details.response`)}\n label=\"Do you have any other income (including alimony, child support, investment, retirement, SSI, disability or rental assistance, etc)?\"\n />\n
\n {watch(`other_income_details.response`) === \"Yes\" && (\n <>\n {fields.map((field, index) => (\n \n ))}\n {fields?.length <= 2 && (\n
\n
\n {employerAddResult.isLoading ? (\n <>\n \n \n \n \n ) : (\n <>\n {fields?.length >= 1 && {\n setDisabledSourceBtn(true);\n addEmployerSource({\n trn_id: trn_id,\n document_id: \"7\",\n source_id: fields.length + 1,\n })\n }}\n type=\"button\"\n disabled={disabledSouceBtn}\n >\n \n \n \n Add another other income source\n }\n \n )}\n
\n
\n )}\n \n )}\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n
\n
\n {/* {\n setDeleteOtherIncome(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setDeleteOtherIncome(false);\n }}\n >\n No\n \n {\n deleteOtherIncomeSource();\n }}\n \n >\n {deleteResult.isLoading ? (\n \n ) : (\n \"Yes\"\n )}\n \n \n */}\n \n {\"Warning!\"}\n \n \n You must delete all existing sources first.\n \n \n \n {\n setValue(`other_income_details.response`, \"Yes\");\n // setConfirmDelete(false); // Ensures response does not change\n handleClose();\n }}\n color=\"primary\"\n >\n OK\n \n \n \n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#bank-info\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n );\n};\n\nexport default OtherIncome;\n","import React from \"react\";\nimport { useFormContext } from \"react-hook-form\";\nimport UploadFile from \"../../../common/uploadFile/uploadFile\";\nimport FileIcon from \"../../../common/FileIcon\";\nimport { useGetIncomeBankingQuery } from \"../../../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\n\nconst OtherDocuments = (props) => {\n const [taxOtherDocs, setTaxOtherDocs] = React.useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { data } = useGetIncomeBankingQuery(trn_id);\n const { control, register, watch, getValues } = useFormContext();\n return (\n
\n \n \n

Other Documents

\n
\n \n\n
\n
\n
\n
\n
\n
\n Note: \n   If you want to upload any other document, you can do it\n here\n
\n
\n
\n
\n
\n
\n

\n Tax Documents OR Other Documents:\n {/* */}\n setTaxOtherDocs(true)}\n />\n

\n
(W2, 1099, tax return,etc)
\n \n Click the (i) button above for details\n \n
\n
\n \n
\n
\n
\n
\n \n {data.other_documents.map((item, index) => {\n return (\n \n );\n })}\n
\n
\n \n {\n setTaxOtherDocs(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n Only upload clear, complete, straight documents and that original\n PDF's downloaded from an HR or payroll website work best.\n \n \n \n {\n setTaxOtherDocs(false);\n }}\n autoFocus\n >\n Close\n \n \n \n \n );\n};\n\nexport default OtherDocuments;\n","// Need to use the React-specific entry point to import createApi\nimport { createApi, fetchBaseQuery } from \"@reduxjs/toolkit/query/react\";\nimport { BASE_URL_API } from \"../config\";\nimport { logout, token } from \"../store/registration/logindSlice\";\n\nconst BASE_URL = BASE_URL_API;\n\n\nexport const baseQuery = fetchBaseQuery({\n baseUrl: BASE_URL,\n prepareHeaders: (headers, { getState }) => {\n const {\n persistedReducer: {\n loginSlice: { email, token },\n },\n } = getState();\n const accessToken = token;\n if (accessToken) {\n headers.set(\"email\", email);\n headers.set(\"authorization\", `${accessToken}`);\n }\n return headers;\n },\n});\n\nconst baseQueryWithReauth = async (args, api, extraOptions) => {\n let result = await baseQuery(args, api, extraOptions);\n if (result.error && result.error.status === 401) {\n const refreshResult = await baseQuery(\n {\n url: \"token/refresh/\",\n },\n api,\n extraOptions\n );\n if (refreshResult.data) {\n api.dispatch(token(refreshResult.data.records.token));\n // retry the initial query\n result = await baseQuery(args, api, extraOptions);\n } else {\n api.dispatch(logout(true));\n }\n }\n return result;\n};\n\nexport const mlApi = createApi({\n reducerPath: \"mlApi\",\n baseQuery: baseQueryWithReauth,\n endpoints: (builder) => ({\n uploadFileMl: builder.mutation({\n query: (body) => {\n return {\n url: \"/ml/predictclass\",\n method: \"POST\",\n body: body,\n };\n },\n }),\n getEmailList: builder.query({\n query: (body) => ({\n url: `/ml/mlbanklist`,\n }),\n }),\n }),\n \n});\n\nexport const {\n useUploadFileMlMutation,\n useGetEmailListQuery,\n} = mlApi;\n\nexport default mlApi;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useFormContext } from \"react-hook-form\";\nimport {\n useDeleteSourceMutation,\n useGetIncomeBankingQuery,\n useGetvalidationCheckBankQuery,\n} from \"../../../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport { TiDelete } from \"react-icons/ti\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\nimport InputCurrencyField from \"../../../registration/Inputs/InputCurrencyField\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport UploadFile from \"../../../common/uploadFile/uploadFile\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport FileIcon from \"../../../common/FileIcon\";\nimport {\n Alert,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Stack,\n} from \"@mui/material\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport RadioInputField from \"../../../registration/Inputs/RadioInputField\";\nimport { useGetEmailListQuery } from \"../../../../services/mlApi\";\nimport { useDocumentContext } from \"../../../../PrivateRoute\";\n\nconst Source = ({ field, remove, index }) => {\n const { register, watch, getValues, formState, setValue } = useFormContext();\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n const [open, setOpen] = React.useState(false);\n const [bankStatementInformation, setBankStatementInformation] =\n React.useState(false);\n const [isDeleting, setIsDeleting] = React.useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n const { data: validationCheck } = useGetvalidationCheckBankQuery(trn_id);\n const { data: getEmailList } = useGetEmailListQuery();\n // useEffect(() => {\n // const subscribe = watch((value, { name, type }) => {\n // console.log(\"Check Val:46\", value, name, type);\n // setValue(name)\n // });\n // return () => subscribe.unsubscribe();\n // }, [watch]);\n\n const { data } = useGetIncomeBankingQuery(trn_id);\n return (\n
\n
\n
\n
\n
\n {index + 1}{\" \"}\n {deleteResult.isUninitialized ? (\n {\n setOpen(true);\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n ) : (\n \n )}\n
\n
\n {/* applicationProfileSettings.incomeNBanking.bankName !== \"Hide\" && */}\n
\n {
\n
\n \n
\n
}\n
\n
\n \n
\n
\n {paystubWiseRules?.MonthlyAmount !== \"Hide\" &&
\n
\n \n
\n
}\n
\n
\n {documentWiseRules?.BankStatements != 'Hide' &&
\n \n
}\n {watch(`banking_details.banking.${index}.availableToUpload`) ==\n \"Yes\" && (\n <>\n
\n
\n

\n Bank Statement:\n *\n {/* */}\n setBankStatementInformation(true)}\n />\n

\n\n
(covering 2 most recent months)
\n \n IMPORTANT! PDF Bank Statements downloaded directly from\n bank website ONLY! Please do NOT upload pictures of bank\n statements. Click \"i\" button above for full details.\n \n
\n
\n
\n
\n \n
\n
\n \n {data?.banking_details?.banking[index]?.files.map(\n (item, index) => {\n return (\n \n );\n }\n )}\n
\n \n )}\n\n {watch(`banking_details.banking.${index}.availableToUpload`) ==\n \"No\" && paystubWiseRules?.MonthlyAmount !== \"Hide\" && (\n <>\n {\" \"}\n \n {watch(`banking_details.banking.${index}.no_doc_reason`) ===\n \"other\" && (\n
\n \n
\n )}\n \n )}\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n {watch(`banking_details.banking.${index}.files`).length > 0 &&\n \n
\n {validationCheck?.data?.validation_messages?.[`source_${index + 1}`]?.map(item => item.applicant)?.filter(item => !item.isDeleted)?.map((item) =>\n item.message && {item.message}\n )}\n {/* {getValues(\n `employment_details.employer.${index}.validation_message_status`\n ).map(\n (item) =>\n item.message && {item.message}\n )} */}\n
\n
}\n
\n
\n
\n { }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete non-employment ${index + 1} ?`}\n \n \n \n Warning! Once deleted cannot revert back.\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n if (isDeleting) return;\n // setTimeout(() => {\n // remove(index);\n // }, 500);\n setIsDeleting(true);\n setOpen(false);\n await doDelete({\n trn_id: trn_id,\n source_id: index + 1,\n document_id: \"6\",\n })\n .then((deleteDocResponse) => {\n if (\n deleteDocResponse.data.status === 200 &&\n getValues(`banking_details.banking`)?.length === 1\n ) {\n setValue(`banking_details.response`, \"No\");\n }\n })\n .catch((deleteDocError) =>\n console.log(\n \"Delete Doc Error in Banking Source\",\n deleteDocError\n )\n )\n .finally(() => {\n setIsDeleting(false); // Reset the flag after deletion\n });\n // setOpen(false);\n }}\n autoFocus\n disabled={isDeleting}\n >\n Yes\n \n \n \n {\n setBankStatementInformation(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n IMPORTANT! If you did not upload original PDF’s of\n your earnings statements, are self-employed, or indicated any\n non-employment income, then for verification purposes, you will need\n to upload PDF’s of your 2 most recent personal bank statements\n downloaded directly from your online bank account website. Please do\n NOT upload scanned images, redacted documents, or screen shots of\n documents, and please do NOT “print to PDF”, “save as” or modify\n these documents in any way, as these documents cannot be verified by\n our system. If you are self-employed, PDF’s of your 2 most recent\n personal bank statements are required. If you have business bank\n statements, you can include them, but personal bank statements are\n required to verify self-employment income.\n \n \n \n {\n setBankStatementInformation(false);\n }}\n autoFocus\n >\n Close\n \n \n \n \n );\n};\n\nSource.propTypes = {};\n\nexport default Source;\n","// import { ErrorMessage } from \"@hookform/error-message\";\n// import {\n// AccordionDetails,\n// Alert,\n// Box,\n// Dialog,\n// DialogActions,\n// DialogContent,\n// DialogContentText,\n// DialogTitle,\n// LinearProgress,\n// Stack,\n// } from \"@mui/material\";\n// import React, { useEffect, useState } from \"react\";\n// import {\n// set,\n// useFieldArray,\n// useFormContext,\n// useFormState,\n// } from \"react-hook-form\";\n// import { useSelector } from \"react-redux\";\n// import {\n// useAddEmployerSourceMutation,\n// useDeleteSourceMutation,\n// } from \"../../../../services/identificationApi\";\n// import CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\n// import Source from \"./source\";\n// import { AiOutlineCheckCircle } from \"react-icons/ai\";\n// import Loader from \"react-loader-spinner\";\n// import debounce from \"lodash.debounce\";\n// import { useNavigate} from \"react-router-dom\";\n// import { AiOutlineArrowDown } from \"react-icons/ai\";\n// import { Button } from \"@mui/material\";\n// import { JSONTree } from \"react-json-tree\";\n\n// const BankingInformation = (props) => {\n// const trn_id = useSelector(\n// (state) => state.persistedReducer.loginSlice.trnId\n// );\n// const useWindowWidth = useSelector(\n// (state) => state.identification.sideMenuSlice\n// );\n \n// const [doDelete, deleteResult] = useDeleteSourceMutation();\n// const [disabledSouceBtn, setDisabledSourceBtn] = useState(false);\n// const [deleteBankingInformation, setDeleteBankingInformation] =\n// React.useState(false);\n// const [open, setOpen] = React.useState(false);\n\n// const handleClickOpen = () => {\n// setOpen(true);\n// };\n\n// const handleClose = () => {\n// setOpen(false);\n// };\n\n// const { control, register, watch, getValues, setValue } = useFormContext();\n// const [addEmployerSource, employerAddResult] = useAddEmployerSourceMutation();\n// const { fields, append, remove } = useFieldArray({\n// control, // control props comes from useForm (optional: if you are using FormContext)\n// name: \"banking_details.banking\", // unique name for your Field Array\n// keyName: \"controlId\", //default to \"id\", you can change the key name\n// });\n// const { errors } = useFormState({\n// control,\n// });\n// console.log(\"Check Fields for IB:28\", fields);\n// //&& getValues(`banking_details.banking`)?.length\n// const deleteAllBankingSource = async () => {\n// let promises = [];\n// let allBankingSource = await getValues(`banking_details.banking`);\n// if (allBankingSource?.length > 0) {\n// for (let index = 0; index < allBankingSource.length; index++) {\n// const element = allBankingSource[index];\n// promises.push(doDelete({\n// trn_id: trn_id,\n// source_id: index + 1,\n// document_id: \"6\",\n// }))\n\n// }\n// Promise.all(promises).then(response => {\n// const allbanksource=watch('banking_details.banking');\n// if(allbanksource?.length === 0)\n// {\n// setDeleteBankingInformation(false);\n// setValue(`banking_details.response`, \"No\");\n// }\n \n// });\n\n// }\n\n \n// };\n// const [nextSection, setNextSection] = React.useState(false);\n// const navigate = useNavigate();\n// // highlight-starts\n// const debouncedSave = React.useCallback(\n// debounce(\n// (nextValue) =>\n// (async () => {\n// setNextSection(await props.checkValidation(\"Bank\", false));\n// })(),\n// 1000\n// ),\n// [] // will be created only once initially\n// );\n// // highlight-ends\n// const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n// React.useEffect(() => {\n// const subscription = watch((value, { name, type }) => {\n// console.log(\"IB:32\", value, name, type);\n// debouncedSave(name);\n// if (type === \"change\" && name === `banking_details.response`) {\n// if (\n// getValues(`banking_details.response`) === \"Yes\" &&\n// getValues(`banking_details.banking`)?.length === 0\n// ) {\n// addEmployerSource({\n// trn_id: trn_id,\n// document_id: \"6\",\n// source_id: 1,\n// });\n// }\n// }\n// });\n// return () => subscription.unsubscribe();\n// }, [addEmployerSource, fields?.length, getValues, trn_id, watch]);\n\n// useEffect(() => {\n// setDisabledSourceBtn(false);\n// }, [fields?.length]);\n \n// return (\n// \n//
\n//
\n//
\n// \n// {\n// // e.preventDefault();\n// if (watch(\"banking_details.employerCount\") > 0) {\n// // setDeleteBankingInformation(true);\n// setOpen(true);\n// // alert(\"hi\")\n// }\n// }}\n// // disabled={true}\n// // disable={getValues(`banking_details.employerCount`)}\n// register={register(`banking_details.response`)}\n// label=\"Do you have a Bank Account ? \"\n// />\n//
\n// {watch(`banking_details.response`) === \"Yes\" && (\n// <>\n// {fields.map((field, index) => (\n// \n// ))}\n// {fields?.length <= 2 && (\n//
\n//
\n// {employerAddResult.isLoading ? (\n// <>\n// \n// \n// \n// \n// ) : (\n// <>\n// {fields?.length >= 1 && {\n// setDisabledSourceBtn(true);\n// addEmployerSource({\n// trn_id: trn_id,\n// document_id: \"6\",\n// source_id: fields.length + 1,\n// })\n// }}\n// type=\"button\"\n// disabled={disabledSouceBtn}\n// >\n// \n// \n// \n// Add another Bank Account\n// }\n// \n// )}\n//
\n//
\n// )}\n// \n// )}\n// \n// {\n// if (message) return {message};\n\n// return <>;\n// }}\n// />\n// \n//
\n//
\n// {/* {\n// setDeleteBankingInformation(false);\n// }}\n// aria-labelledby=\"alert-dialog-title\"\n// aria-describedby=\"alert-dialog-description\"\n// >\n// \n// {`Are you sure want to delete45\n// ?`}\n// \n// \n// \n// Warning! Once deleted cannot revert back .\n// \n// \n// \n// {\n// setDeleteBankingInformation(false);\n// }}\n// >\n// No\n// \n// {\n// deleteAllBankingSource();\n// }}\n\n// >\n// {deleteResult.isLoading ? (\n// \n// ) : (\n// \"Yes\"\n// )}\n// \n// \n// */}\n// \n// \n// {\"Warning!\"}\n// \n// \n// \n// please delete sources first\n// \n// \n// \n// \n// \n// \n \n// {viewOnlyFlag || nextSection && (\n// {\n// navigate(\"#od\");\n// }}\n// variant=\"contained\"\n// endIcon={}\n// >\n// Next Tab\n// \n// )}\n//
\n// );\n// };\n\n// export default BankingInformation;\nimport React, { useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport Source from \"./source\";\nimport { useAddEmployerSourceMutation, useDeleteSourceMutation } from \"../../../../services/identificationApi\";\nimport { Dialog, DialogActions, DialogContent, AccordionDetails,DialogContentText,Box, DialogTitle, Button, LinearProgress } from \"@mui/material\";\nimport { useFormContext, useFieldArray, useFormState } from \"react-hook-form\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\n\nconst BankingInformation = (props) => {\n const trn_id = useSelector(state => state.persistedReducer.loginSlice.trnId);\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n const [open, setOpen] = useState(false);\n const [confirmDelete, setConfirmDelete] = useState(false); // New state for tracking confirmation\n const [disabledSouceBtn, setDisabledSourceBtn] = useState(false);\n const { control, register, watch, getValues, setValue } = useFormContext();\n const [addEmployerSource, employerAddResult] = useAddEmployerSourceMutation();\n const { fields, append, remove } = useFieldArray({\n control,\n name: \"banking_details.banking\",\n keyName: \"controlId\",\n });\n const { errors } = useFormState({ control });\n\n const navigate = useNavigate();\n\n const handleClickOpen = () => {\n setOpen(true);\n };\n\n const handleClose = () => {\n setOpen(false);\n };\n\n const deleteAllBankingSource = async () => {\n let promises = [];\n let allBankingSource = await getValues(`banking_details.banking`);\n if (allBankingSource?.length > 0) {\n for (let index = 0; index < allBankingSource.length; index++) {\n const element = allBankingSource[index];\n promises.push(doDelete({\n trn_id: trn_id,\n source_id: index + 1,\n document_id: \"6\",\n }));\n }\n Promise.all(promises).then(response => {\n const allbanksource = watch('banking_details.banking');\n if (allbanksource?.length === 0) {\n setConfirmDelete(false);\n setValue(`banking_details.response`, \"No\");\n }\n });\n }\n };\n\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n if (type === \"change\" && name === `banking_details.response`) {\n if (\n getValues(`banking_details.response`) === \"Yes\" &&\n getValues(`banking_details.banking`)?.length === 0\n ) {\n addEmployerSource({\n trn_id: trn_id,\n document_id: \"6\",\n source_id: 1,\n });\n }\n }\n });\n return () => subscription.unsubscribe();\n }, [addEmployerSource, fields?.length, getValues, trn_id, watch]);\n useEffect(() => {\n setDisabledSourceBtn(false);\n }, [fields?.length]);\n return (\n \n
\n
\n
\n {\n if (watch(\"banking_details.employerCount\") > 0) {\n setOpen(true);\n }\n }}\n register={register(`banking_details.response`)}\n label=\"Do you have a Bank Account ? \"\n />\n
\n {watch(`banking_details.response`) === \"Yes\" && (\n <>\n {fields.map((field, index) => (\n \n ))}\n {fields?.length <=2 && (\n
\n
\n {employerAddResult.isLoading ? (\n \n \n \n ) : (\n <> {fields?.length >= 1 && {\n setDisabledSourceBtn(true);\n addEmployerSource({\n trn_id: trn_id,\n document_id: \"6\",\n source_id: fields.length + 1,\n });\n }}\n type=\"button\"\n disabled={disabledSouceBtn}\n >\n Add another Bank Account\n }\n \n\n )}\n
\n
\n )}\n \n )}\n
\n
\n\n {/* Dialog for warning */}\n \n {\"Warning!\"}\n \n \n You must delete all existing sources first.\n \n \n \n {\n setValue(`banking_details.response`, \"Yes\");\n setConfirmDelete(false); // Ensures response does not change\n handleClose();\n }}\n color=\"primary\"\n >\n OK\n \n \n \n\n {watch(\"banking_details.response\") === \"Yes\" && (\n {\n navigate(\"#od\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n );\n};\n\nexport default BankingInformation;\n\n","import React, { useEffect, useState } from \"react\";\nimport { useFormContext } from \"react-hook-form\";\nimport { CgComment } from \"react-icons/cg\";\nimport UploadFile from \"../../../common/uploadFile/uploadFile\";\nimport FileIcon from \"../../../common/FileIcon\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport InputDateField from \"../../../registration/Inputs/InputDateField\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport InputFieldPhone from \"../../../registration/Inputs/InputFieldPhone\";\nimport { TiDelete } from \"react-icons/ti\";\nimport { useDeleteSourceMutation, useGetvalidationCheckBankQuery, useGetvalidationCheckIncomeQuery } from \"../../../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport Button from \"@mui/material/Button\";\nimport Dialog from \"@mui/material/Dialog\";\nimport DialogActions from \"@mui/material/DialogActions\";\nimport DialogContent from \"@mui/material/DialogContent\";\nimport DialogContentText from \"@mui/material/DialogContentText\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport { Alert, Stack } from \"@mui/material\";\n// import { makeStyles} from \"@mui/styles\"\nimport NumberFormat from \"react-number-format\";\nimport InputCurrencyField from \"../../../registration/Inputs/InputCurrencyField\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\nimport { useGetMasterRegistrationDataQuery } from \"../../../../services/registrationApi\";\nimport InputTextArea from \"../../../registration/Inputs/InputTextArea\";\nimport InputMaskField from \"../../../registration/Inputs/InputMaskFieid\";\nimport GoogleAutoComplete from \"../../../common/googleAutocomplete/googleAutocomplete\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport RadioInputField from \"../../../registration/Inputs/RadioInputField\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport InputCheckBoxField from \"../../../registration/Inputs/InputCheckBoxField\";\nimport { JSONTree } from \"react-json-tree\";\nimport { useDocumentContext } from \"../../../../PrivateRoute\";\n\nconst Source = ({ field, index }) => {\n // const classes = useStyles();\n const [employmentIncomeProof, setEmploymentIncomeProof] = useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const { data } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n\n const [open, setOpen] = useState(false);\n const [comment, setComment] = useState(false);\n const [displayContent, setDisplayContent] = useState(0);\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n\n\n const {\n register,\n watch,\n getValues,\n setValue,\n trigger,\n formState: { errors },\n } = useFormContext();\n const { data: validationCheck } = useGetvalidationCheckIncomeQuery(trn_id);\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n if (\n type === \"change\" &&\n (name == `employment_details.employer[${index}].pay_frequency` ||\n name == `employment_details.employer.${index}.avrgross_pay`)\n ) {\n let _monthlyIncome =\n getValues(`employment_details.employer.${index}.avrgross_pay`) || 0;\n const pay_frequency = getValues(\n `employment_details.employer[${index}].pay_frequency`\n ).value;\n if (\n watch(`employment_details.employer[${index}].pay_frequency`) !== \"\"\n ) {\n if (pay_frequency == \"Weekly\") {\n _monthlyIncome = (_monthlyIncome * 52) / 12;\n } else if (pay_frequency == \"Bi-Weekly\") {\n _monthlyIncome = (_monthlyIncome * 26) / 12;\n } else if (pay_frequency == \"Monthly\") {\n //_monthlyIncome = _monthlyIncome;\n } else if (pay_frequency == \"Bi-Monthly\") {\n _monthlyIncome = (_monthlyIncome * 24) / 12;\n } else if (pay_frequency == \"One-Time\") {\n _monthlyIncome = _monthlyIncome / 12;\n } else {\n _monthlyIncome = _monthlyIncome / 12;\n }\n setValue(\n `employment_details.employer.${index}.total_income`,\n _monthlyIncome || 0\n );\n setValue(\n `employment_details.employer.${index}.total_annual_income`,\n (_monthlyIncome || 0) * 12\n );\n }\n }\n });\n return () => subscription.unsubscribe();\n }, [getValues, index, setValue, watch]);\n\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n <>\n
\n {/* \n */}\n\n
\n
\n
\n
\n
\n {index + 1}{\" \"}\n {deleteResult.isUninitialized ? (\n {\n setOpen(true);\n }}\n title=\"Delete this Employer\"\n className=\"float-right btn btn-sm btn-danger\"\n >\n Delete\n \n ) : (\n \n )}\n
\n
\n
\n {paystubWiseRules?.EmployerName !== \"Hide\" &&
\n
\n \n
\n
}\n {paystubWiseRules?.Occupation !== \"Hide\" &&
\n
\n \n
\n
}\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n {paystubWiseRules?.EmployerAddress !== \"Hide\" &&
\n
\n \n
\n
}\n {paystubWiseRules?.EmployerCity !== \"Hide\" &&
\n
\n \n
\n
}\n {paystubWiseRules?.EmployerState !== \"Hide\" &&
\n
\n \n
\n
}\n
\n
\n \n
\n
\n {paystubWiseRules?.SupervisorName !== \"Hide\" &&
\n
\n \n
\n
}\n
\n
\n {watch(\n `employment_details.employer.${index}.isfuture_employer`\n ) == false && (\n
\n \n
\n )}\n {watch(\n `employment_details.employer.${index}.iscurrent_employer`\n ) == false && (\n
\n \n
\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n {paystubWiseRules?.EmploymentStartDate !== \"Hide\" &&
\n
\n \n
\n
}\n {watch(\n `employment_details.employer.${index}.iscurrent_employer`\n ) === false &&\n watch(\n `employment_details.employer.${index}.isfuture_employer`\n ) === false && (\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 Calculated Amounts:\n */}\n Calculated Amounts:\n

\n
\n
Yearly Gross Income:
\n
\n \n
\n
\n
\n
Monthly Gross Income:
\n
\n \n
\n
\n
\n
\n
\n
\n
\n {getValues(`employment_details.employer.${index}.comment`) ===\n null ? (\n \n ) : (\n <>\n {\n setComment(true);\n }}\n size={25}\n color={\"#2dc3e8\"}\n className=\"cursor-pointer\"\n />{\" \"}\n {watch(`employment_details.employer.${index}.comment`)}\n \n )}\n
\n
\n {documentWiseRules?.Paystub !='Hide' &&
\n \n
}\n {watch(`employment_details.employer.${index}.availableToUpload`) ==\n \"Yes\" ? (\n <>\n
\n
\n

\n Proof of Employment Income:\n *\n {/* */}\n setEmploymentIncomeProof(true)}\n />\n

\n
(covering 4 most recent weeks)
\n
\n
\n \n IMPORTANT! PDF Earnings Statements downloaded directly\n from payroll website ONLY! Please do NOT upload pictures\n of paystubs. Click \"i\" button above for full details.\n \n
\n
\n \n
\n \n \n Newly employed?\n {\" \"}\n If you are starting a new job and do not yet have access\n to original PDFs of your earnings statements, then\n please check the box to the left, which will allow you\n to upload a PDF of your offer letter.{\" \"}\n \n
\n
\n
\n
\n \n
\n
\n \n {watch(`employment_details.employer.${index}.files`)?.map(\n (item, index) => {\n return (\n // \n \n //
\n );\n }\n )}\n
\n
\n \n ) : null}\n\n {watch(`employment_details.employer.${index}.availableToUpload`) ==\n \"No\" && documentWiseRules?.Paystub !='Hide' && (\n <>\n \n {watch(`employment_details.employer.${index}.no_doc_reason`) ===\n \"Other\" && (\n
\n \n
\n )}\n \n )}\n {/* {watch(`employment_details.employer.${index}.no_doc_reason`) ===\n \"Other\" &&\n watch(`employment_details.employer.${index}.availableToUpload`) ==\n \"No\" && (\n
\n \n
\n )} */}\n
\n \n \n \n {\n if (message)\n return (\n \n {message}\n \n );\n\n return <>This is an error alert — check it out!;\n }}\n />\n \n {/* */}\n {/* item.applicant)}/> */}\n {watch(`employment_details.employer.${index}.files`).length > 0 && \n \n
\n {validationCheck?.data?.validation_messages?.[`source_${index+1}`]?.map(item => item.applicant)?.filter(item=>!item.isDeleted)?.map((item) =>\n item.message && {item.message}\n )}\n {/* {getValues(\n `employment_details.employer.${index}.validation_message_status`\n ).map(\n (item) =>\n item.message && {item.message}\n )} */}\n
\n
}\n\n { }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete employer ${getValues(`employment_details.employer.${index}.employer_name`) ||\n index + 1\n } ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n // setTimeout(()=>{\n // remove(deleteIndex);\n // },500)\n let body = {\n trn_id: trn_id,\n source_id: getValues(`employment_details.employer.${index}.id`),\n document_id: \"3\",\n };\n console.warn(\"Check Delete Source\", body);\n setOpen(false);\n await doDelete({\n trn_id: trn_id,\n source_id: getValues(`employment_details.employer.${index}.id`),\n document_id: \"3\",\n })\n .then((result) => {\n console.log(\"Delete Doc Res\", result);\n console.log(\n \"INIF:719\",\n result,\n watch(`employment_details.employer`)?.length\n );\n\n if (\n result.data.status === 200 &&\n getValues(`employment_details.employer`)?.length === 1\n ) {\n console.log(\n \"INIF:719\",\n getValues(`employment_details.employer`)?.length\n );\n setValue(`employment_details.response`, \"No\");\n }\n })\n .catch((deleteDocError) => {\n console.log(\"Delete Doc Error\", deleteDocError);\n });\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n\n {\n setComment(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n Add/Edit Comment\n \n
\n
\n \n
\n
\n
\n \n {\n setComment(false);\n }}\n >\n Done\n \n \n \n {\n setDisplayContent(0);\n setEmploymentIncomeProof(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n

\n IMPORTANT! In order to calculate and verify your\n employment income, if you are currently employed, we will need you\n to upload PDF’s of your earnings statements (paystubs) downloaded\n directly from your payroll website. Please do NOT upload pictures\n or scanned images, and please do NOT “print to PDF”, “save as” or\n otherwise modify your PDF documents in any way as doing so can\n render your documents unverifiable. If you have questions, you can\n find answers to frequently-asked questions below by clicking the\n relevant question in blue.\n

\n setDisplayContent(1)}\n >\n Why original PDF’s?\n \n \n
\n The Docuverus software directly imports original PDF documents,\n which allows our system to more accurately read and validate your\n documents, expedites processing of your application, and can help\n to qualify you more quickly.\n
\n
\n
\n setDisplayContent(2)}\n >\n Newly employed?\n \n \n
\n If you are newly employed and do not yet have access to original\n PDF’s of your earnings statements, then please check the box to\n the below, which will allow you to upload a PDF of your offer\n letter.\n
\n
\n
\n\n setDisplayContent(3)}\n >\n Self-employed?\n \n \n
\n If you are self-employed and do not receive earnings statements /\n paystubs, then in order to verify your income, we will need for\n you to upload original PDF’s of your 3 most recent personal bank\n statements downloaded directly from your online bank account,\n which you can upload under the banking section below.\n
\n
\n
\n\n {/* setDisplayContent(4)}\n >\n Don’t have access to original PDF’s?\n \n \n
\n If you do not have access to original PDF’s of your earnings\n statements / paystubs, then check the box below to certify this.\n You can then upload image documents of your earnings statements in\n the document upload box below.\n
\n
*/}\n
\n\n setDisplayContent(5)}\n >\n Have non-employment income?\n \n \n
\n If you wish to upload proof of non-employment income, you can\n upload relevant documents in the “Proof of Non-Employment Income”\n section below.\n
\n
\n \n \n \n {\n setEmploymentIncomeProof(false);\n setDisplayContent(0);\n }}\n autoFocus\n >\n Close\n \n \n \n \n );\n};\n\nexport default Source;\n","import React, { useEffect, useState } from \"react\";\nimport CustomRadioButton from \"../../../registration/Inputs/customRadioButton\";\nimport Source from \"./employer-source\";\nimport { useFieldArray, useFormContext, useFormState } from \"react-hook-form\";\nimport {\n useAddEmployerSourceMutation,\n useDeleteSourceMutation,\n} from \"../../../../services/identificationApi\";\nimport Box from \"@mui/material/Box\";\nimport LinearProgress from \"@mui/material/LinearProgress\";\nimport { useSelector } from \"react-redux\";\nimport { ErrorMessage } from \"@hookform/error-message\";\nimport {\n AccordionDetails,\n Alert,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Stack,\n} from \"@mui/material\";\nimport Loader from \"react-loader-spinner\";\nimport debounce from \"lodash.debounce\";\nimport { useNavigate } from \"react-router-dom\";\nimport { AiOutlineArrowDown } from \"react-icons/ai\";\nimport InputField from \"../../../registration/Inputs/InputField\";\nimport RadioInputField from \"../../../registration/Inputs/RadioInputField\";\n\nconst EmployementIncome = (props) => {\n const [deleteEmployment, setDeleteEmployment] = React.useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const [addEmployerSource, employerAddResult] = useAddEmployerSourceMutation();\n const [disabledSouceBtn,setDisabledSourceBtn] = useState(false);\n const {\n control,\n register,\n getValues,\n watch,\n setValue,\n formState: { errors },\n } = useFormContext();\n const { fields } = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"employment_details.employer\", // unique name for your Field Array\n keyName: \"controlId\", //default to \"id\", you can change the key name\n });\n\n const noReasonField = useFieldArray({\n control, // control props comes from useForm (optional: if you are using FormContext)\n name: \"employment_details.newEmployer\", // unique name for your Field Array\n keyName: \"controlId\", //default to \"id\", you can change the key name\n });\n\n // const employmentNoDocArray = [\n // {\n // id: 1,\n // checked: `${\n // watch(`employment_details.no_doc_reason`) ==\n // \"I am currently not employed\"\n // ? true\n // : false\n // }`,\n // value: \"I am currently not employed\",\n // label: \"I am currently not employed\",\n // },\n // {\n // id: 2,\n // checked: `${\n // watch(`employment_details.no_doc_reason`) == \"I am starting new Job\"\n // ? true\n // : false\n // }\n // `,\n // value: \"I am starting new Job\",\n // label: \"I am starting new Job\",\n // },\n // {\n // id: 3,\n // checked: `${\n // watch(`employment_details.no_doc_reason`) == \"I am retired\"\n // ? true\n // : false\n // }\n // `,\n // value: \"I am retired\",\n // label: \"I am retired\",\n // },\n // {\n // id: 4,\n // checked: `${\n // watch(`employment_details.no_doc_reason`) == \"Other\" ? true : false\n // }\n // `,\n // value: \"Other\",\n // label: \"Other\",\n // },\n // ];\n\n const [doDelete, deleteResult] = useDeleteSourceMutation();\n\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n\n const deleteAllEmploymentSource = async () => {\n let allEmployment = await getValues(`employment_details.employer`);\n if (allEmployment?.length > 0) {\n for (let index = 0; index < allEmployment?.length; index++) {\n const element = allEmployment[index];\n await doDelete({\n trn_id: trn_id,\n source_id: element.id,\n document_id: \"3\",\n });\n }\n setDeleteEmployment(false);\n setValue(`employment_details.response`, \"No\");\n }\n };\n\n const [nextSection, setNextSection] = React.useState(false);\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const navigate = useNavigate();\n // highlight-starts\n const debouncedSave = React.useCallback(\n debounce(\n (nextValue) =>\n (async () => {\n setNextSection(await props.checkValidation(\"Income\", false));\n })(),\n 1000\n ),\n [] // will be created only once initially\n );\n // highlight-ends\n\n // useEffect(() => {\n // const subscription = watch((value, { name, type }) => {\n // if (type === \"change\" && name === `employment_details.response`) {\n // if (watch(`employment_details.response`) === \"No\") {\n // setValue(\n // \"employment_details.no_doc_reason\",\n // \"I am currently not employed\"\n // );\n // }\n // }\n // });\n\n // return () => subscription.unsubscribe();\n // }, [getValues, setValue, watch]);\n\n useEffect(() => {\n const subscription = watch((value, { name, type }) => {\n console.log(\"NAMECHANGE:156\", name);\n debouncedSave(name);\n if (type === \"change\" && name === `employment_details.response`) {\n if (getValues(`employment_details.response`) === \"Yes\") {\n console.log(\"fields.length\",fields.length)\n addEmployerSource({\n trn_id: trn_id,\n document_id: \"3\",\n source_id: fields.length+1,\n });\n }\n }\n });\n console.log(\"employerAddResult\",employerAddResult)\n console.log(\"fields2\",fields)\n return () => subscription.unsubscribe();\n }, [addEmployerSource, fields?.length, getValues, setValue, trn_id, watch]);\n\n useEffect(()=>{\n setDisabledSourceBtn(false);\n },[fields?.length])\n const [open, setOpen] = useState(false);\n const handleClose = () => {\n setOpen(false);\n };\n return (\n \n
\n
\n
\n {\n if (watch(\"employment_details.employerCount\") > 0) {\n // setDeleteEmployment(true);\n setOpen(true);\n }\n }}\n disable={getValues(`employment_details.employerCount`)}\n register={register(`employment_details.response`)}\n label=\"Are you currently employed, self employed, or starting a new job?\"\n />\n
\n {watch(`employment_details.response`) === \"Yes\" && (\n <>\n {fields.map((field, index) => (\n \n ))}\n {fields?.length <= 2 && (\n
\n
\n {employerAddResult.isLoading ? (\n <>\n \n \n \n \n ) : (\n <>\n { fields?.length >=1 && {\n setDisabledSourceBtn(true)\n addEmployerSource(\n {\n trn_id: trn_id,\n document_id: \"3\",\n source_id: fields.length+1, \n allowOfferLetter:false\n })\n }}\n disabled={disabledSouceBtn}\n \n >\n \n \n \n Add another Employer\n }\n \n )}\n
\n
\n )}\n \n )}\n {watch(`employment_details.response`) === \"No\" && (\n <>\n

\n {\" \"}\n \n {watch(`employment_details.no_doc_reason`) === \"Other\" && (\n

\n \n
\n )}\n

\n \n )}\n\n \n {\n if (message) return {message};\n\n return <>;\n }}\n />\n {\n if (message) return {message};\n\n return <>;\n }}\n />\n \n
\n
\n {/* {\n setDeleteEmployment(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete\n ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setDeleteEmployment(false);\n }}\n >\n No\n \n {\n deleteAllEmploymentSource();\n }}\n >\n {deleteResult.isLoading ? (\n \n ) : (\n \"Yes\"\n )}\n \n \n */}\n \n {\"Warning!\"}\n \n \n You must delete all existing sources first.\n \n \n \n {\n setValue(`employment_details.response`, \"Yes\");\n // setConfirmDelete(false); // Ensures response does not change\n handleClose();\n }}\n color=\"primary\"\n >\n OK\n \n \n \n {viewOnlyFlag || nextSection && (\n {\n navigate(\"#other-in\");\n }}\n variant=\"contained\"\n endIcon={}\n >\n Next Tab\n \n )}\n
\n );\n};\n\nexport default EmployementIncome;\n","import React, { useEffect, useRef } from \"react\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport {\n FormProvider,\n useForm,\n} from \"react-hook-form\";\nimport OtherIncome from \"./other-income/other-income\";\nimport OtherDocuments from \"./other-documents/other-documents\";\nimport {\n useGetIncomeBankingQuery,\n useGetSectionStatusQuery,\n useSavePayslipMutation,\n} from \"../../../services/identificationApi\";\nimport BankingInformation from \"./banking-information/banking-information\";\nimport EmployementIncome from \"./employement-income/employement-income\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { DevTool } from \"@hookform/devtools\";\nimport { ToastContainer, toast } from \"react-toastify\";\nimport Button from \"@mui/material/Button\";\nimport Dialog from \"@mui/material/Dialog\";\nimport DialogActions from \"@mui/material/DialogActions\";\nimport DialogContent from \"@mui/material/DialogContent\";\nimport DialogContentText from \"@mui/material/DialogContentText\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport Grid from \"@mui/material/Grid\";\nimport { AiOutlineCloseCircle } from \"react-icons/ai\";\nimport InputCurrencyField from \"../../registration/Inputs/InputCurrencyField\";\nimport NumberFormat from \"react-number-format\";\nimport Slide from \"@mui/material/Slide\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\nimport { formSubmitStatusRest } from \"../../../store/registration/fromSubmitSlice\";\nimport {\n Accordion,\n AccordionSummary,\n Snackbar,\n Typography,\n} from \"@mui/material\";\nimport { tabsStateAction } from \"../../../store/identification/tabStateSlice\";\nimport { BsCheck2Circle } from \"react-icons/bs\";\nimport MuiAlert from \"@mui/material/Alert\";\nimport { AiOutlinePlus } from \"react-icons/ai\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport SupportSection from \"../../common/SupportSection/SupportSection\";\nimport { JSONTree } from \"react-json-tree\";\nimport { useDocumentContext } from \"../../../PrivateRoute\";\n\nconst Transition = React.forwardRef(function Transition(props, ref) {\n return ;\n});\n\nconst Alert = React.forwardRef(function Alert(props, ref) {\n return ;\n});\n\n\n\n\nfunction IncomeBankingOtherForm(props) {\n const navigate = useNavigate();\n const [doSave, resultSave] = useSavePayslipMutation();\n const dispatch = useDispatch();\n const [open, setOpen] = React.useState(false);\n const [indexVerifyGross, setIndexVerifyGross] = React.useState(0);\n const [clickHere, setClickHere] = React.useState(true);\n\n const [open1, setOpen1] = React.useState(false);\n const refSubmitButtom = useRef(null);\n\n const handleClickOpen = () => {\n setOpen(true);\n };\n\n const handleClose = () => {\n setOpen(false);\n };\n\n const handleClose1 = () => {\n setOpen1(false);\n };\n const viewOnlyFlag = useSelector((state) => state.formSubmit.viewOnlyFlag);\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n const commonEmploymentFields = {\n employer_name: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.EmployerName === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"), // Validation for valid value\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n manager_name: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.SupervisorName === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n employer_state: yup\n .object()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.EmployerState === 'Required',\n then: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.object().nullable(), // If not required, allow it to be null\n }),\n employer_city: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.EmployerCity === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n employer_address: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.EmployerAddress === 'Required',\n then: yup\n .string()\n .trim()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n position: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.Occupation === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n employment_start_date: yup\n .string()\n .nullable() // Allow nullable in case it's not required\n .when([], {\n is: () => paystubWiseRules?.EmployerState === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n availableToUpload: yup\n .string()\n .nullable()\n .when([], {\n is: () => documentWiseRules?.Paystub === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n };\n const bankCommonFields = {\n bank_name: yup\n .string()\n .nullable()\n .when([], {\n is: () => true ,//paystubWiseRules?.BankName === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n account_type: yup\n .object()\n .nullable()\n .when([], {\n is: () => true, //paystubWiseRules?.BankAccountType === 'Required',\n then: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.object().nullable(), // If not required, allow it to be null\n }),\n current_balance: yup\n .number()\n .nullable()\n .when([], {\n is: () => paystubWiseRules?.MonthlyAmount === 'Required',\n then: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\"),\n otherwise: yup.number().nullable().notRequired(), // If not required, allow it to be null\n }),\n availableToUpload: yup\n .string()\n .nullable()\n .when([], {\n is: () => documentWiseRules?.BankStatements === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n };\n\n\n yup.addMethod(yup.array, \"unique\", function (message) {\n return this.test(\"unique\", message, function (data) {\n const list = data.map((item) => {\n return { employer_name: item?.employer_name, position: item?.position };\n });\n let isUnique = true;\n let row = list?.length;\n for (let i = 0; i < row; i++) {\n for (let j = i + 1; j < row; j++) {\n if (JSON.stringify(list[i]) === JSON.stringify(list[j])) {\n isUnique = false;\n }\n }\n }\n if (isUnique) {\n return true;\n }\n return false;\n });\n });\n\n yup.addMethod(yup.array, \"uniqueBank\", function (message) {\n return this.test(\"unique\", message, function (data) {\n const list = data.map((item) => {\n return { account_type: item?.account_type, bank_name: item?.bank_name };\n });\n let isUnique = true;\n let row = list?.length;\n for (let i = 0; i < row; i++) {\n for (let j = i + 1; j < row; j++) {\n if (JSON.stringify(list[i]) === JSON.stringify(list[j])) {\n isUnique = false;\n }\n }\n }\n if (isUnique) {\n return true;\n }\n return false;\n });\n });\n\n yup.addMethod(yup.array, \"uniqueOtherIncome\", function (message) {\n return this.test(\"unique\", message, function (data) {\n const list = data.map((item) => {\n return { other_income_type: item?.other_income_type };\n });\n let isUnique = true;\n let row = list?.length;\n for (let i = 0; i < row; i++) {\n for (let j = i + 1; j < row; j++) {\n if (JSON.stringify(list[i]) === JSON.stringify(list[j])) {\n isUnique = false;\n }\n }\n }\n if (isUnique) {\n return true;\n }\n return false;\n });\n });\n\n const schema = yup.object().shape({\n employment_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n no_doc_reason: yup.string().nullable(),\n other_reason: yup.string().when(\"no_doc_reason\", {\n is: (value) => {\n return value === \"Other\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable(),\n }),\n employer: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n ...commonEmploymentFields,\n // manager_name: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n phone_no: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n\n .min(11, \"The value is not a valid Phone Number\"),\n employer_zipcode: yup\n .string()\n .typeError(\"Required\")\n .matches(\n /^(\\d{4}[0-9]|\\d{8}[0-9]|\\d{4}[0-9]-\\d{3}[0-9]|-----\\d{3}[0-9])$/g,\n \"Please enter valid zip code\"\n )\n .required(\"Required\"),\n // employer_state: yup\n // .object()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // employer_name: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n // employer_city: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n // employer_address: yup\n // .string().trim()\n // .typeError(\"Required\")\n // .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n // availableToUpload: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n no_doc_reason: yup.string().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"No\";\n },\n then: yup.string().nullable(),\n }),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"Other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n }),\n avrgross_pay: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\")\n .min(1, \"The value must be greater than or equal to 1\"),\n // position: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n pay_frequency: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n employer_status: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n // employment_start_date: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n employment_end_date: yup.string().when(\"iscurrent_employer\", {\n is: (value) => {\n return value == false;\n },\n then: yup.string().when(\"isfuture_employer\", {\n is: (value) => {\n console.log(\"Value Type\", typeof value);\n return value == false;\n },\n then: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr))\n .typeError(\"Required\")\n .required(\"Required\")\n .test(\n \"end_date_compare\",\n \"the date must be greater than the employment start date\",\n function (value, context) {\n console.log(\"This Parent\", this.parent);\n const { employment_start_date } = this.parent;\n const dateConvertMoveIn = new Date(\n employment_start_date\n );\n const dateConvertMoveOut = new Date(value);\n return (\n dateConvertMoveOut.getTime() >\n dateConvertMoveIn.getTime()\n );\n }\n ),\n otherwise: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr)),\n }),\n otherwise: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr)),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .unique(\n \"You cannot add duplicate employer with same name and position \"\n ),\n }),\n }),\n other_income_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n\n otherincome: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n other_income_type: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n other_source: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'other',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n voucher_type: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Housing Assistance',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable()\n }),\n pension_source: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Pension',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n rental_assistance_type: yup.object().when('other_income_type', {\n is: (value) => {\n return value?.value == 'Rental Assistance';\n },\n then: yup.object().shape({\n label: yup.string().typeError(\"Required\")\n .required(\"Required\"),\n value: yup.string().typeError(\"Required\")\n .required(\"Required\")\n })\n .typeError(\"Required\")\n .required(\"Required\"),\n\n otherwise: yup.object().nullable()\n }),\n other_rental_assistance: yup.string().when(['other_income_type', 'rental_assistance_type'], {\n is: (otherIncome, rentalAssistance) => otherIncome?.value == 'Rental Assistance' && rentalAssistance?.value == 'Other',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n monthly_income: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\")\n .min(1, \"The value must be greater than 0\"),\n availableToUpload: yup\n .string()\n .nullable()\n .when([], {\n is: () => documentWiseRules?.OtherIncome === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n no_doc_reason: yup.string().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"No\";\n },\n then: yup.string().nullable(),\n // .typeError(\"required\")\n // .required(\"required\"),\n }),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniqueOtherIncome(\"You cannot add duplicate Other income \"),\n }),\n }),\n banking_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n banking: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n ...bankCommonFields,\n // bank_name: yup.string().required(\"Required\"),\n // account_type: yup\n // .object()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // current_balance: yup.number().nullable().notRequired(),\n // availableToUpload: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n no_doc_reason: yup.string().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"No\";\n },\n then: yup.string().nullable(),\n otherwise: yup.string().nullable(),\n }),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\")\n .matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n }),\n // .typeError(\"The value must be a number\"),\n // .required(\"required\")\n // .min(1, \"The value must be greater than or equal to 1\"),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniqueBank(\"You cannot add duplicate bank\"),\n }),\n }),\n });\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { data } = useGetIncomeBankingQuery(trn_id);\n const formData = data;\n const methods = useForm({\n defaultValues: formData,\n resolver: yupResolver(schema),\n mode: \"onChange\",\n });\n const handleSave = () => {\n if (methods.formState.isValid) {\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.gross_pay_verify`,\n true,\n true\n );\n }\n\n let _monthlyIncome =\n methods.getValues(\n `employment_details.employer.${indexVerifyGross}.new_avrgross_pay`\n ) || 0;\n const pay_frequency = methods.getValues(\n `employment_details.employer[${indexVerifyGross}].pay_frequency`\n ).value;\n if (pay_frequency == \"Weekly\") {\n _monthlyIncome = (_monthlyIncome / 52) * 12;\n } else if (pay_frequency == \"Bi-Weekly\") {\n _monthlyIncome = (_monthlyIncome / 26) * 12;\n } else if (pay_frequency == \"Monthly\") {\n //_monthlyIncome = _monthlyIncome;\n } else if (pay_frequency == \"Bi-Monthly\") {\n _monthlyIncome = (_monthlyIncome / 24) * 12;\n } else if (pay_frequency == \"One-Time\") {\n _monthlyIncome = _monthlyIncome * 12;\n } else {\n _monthlyIncome = _monthlyIncome * 12;\n }\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.avrgross_pay`,\n parseFloat(_monthlyIncome).toFixed(2),\n true\n );\n\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.new_avrgross_pay`,\n 0,\n true\n );\n setOpen1(false);\n setOpen(false);\n setTimeout(() => {\n refSubmitButtom?.current?.click();\n }, 100);\n };\n const formSectionSubmit = useSelector(\n (state) => state.formSubmit.fromSectionSubmit\n );\n const submitBtnRef = useRef(null);\n\n useEffect(() => {\n (async () => {\n if (formSectionSubmit) {\n if (!(await handleSubmitValidation(\"Income\"))) return;\n if (!(await handleSubmitValidation(\"OtherIncome\"))) return;\n if (!(await handleSubmitValidation(\"Bank\"))) return;\n submitBtnRef?.current?.click();\n }\n })();\n }, [formSectionSubmit]);\n\n const otherIncomeFormBinding = () => {\n const otherIncomeDefaultValue = formData.other_income_details;\n if (\n otherIncomeDefaultValue.otherincome?.length <= 0 ||\n methods.getValues().other_income_details.otherincome?.length <= 0\n ) {\n const response = methods.getValues()?.other_income_details?.response;\n return { ...formData.other_income_details, response };\n }\n const otherIncome = methods\n .getValues()\n .other_income_details.otherincome.map((item, index) => {\n // check if already present employer source update\n const replaceItem = otherIncomeDefaultValue.otherincome.find(\n (arrItem) => arrItem.id == item.id\n );\n if (!replaceItem) return item;\n return {\n ...item,\n id: replaceItem.id,\n files: replaceItem.files,\n fileCount: replaceItem.fileCount,\n };\n });\n\n if (\n otherIncomeDefaultValue.otherincome?.length ===\n methods.getValues().other_income_details.otherincome?.length\n ) {\n return {\n ...methods.getValues().other_income_details,\n otherincome: otherIncome,\n };\n }\n\n const newOtherIncome = otherIncomeDefaultValue.otherincome.map(\n (arrItem, index) => {\n const replaceItem = otherIncome.find(\n (empItem) => arrItem.id == empItem.id\n );\n if (!replaceItem) return arrItem;\n return {\n ...arrItem,\n id: replaceItem.id,\n files: replaceItem.files,\n fileCount: replaceItem.fileCount,\n other_income_type: replaceItem.other_income_type,\n monthly_income: replaceItem.monthly_income,\n no_doc_reason: replaceItem.no_doc_reason,\n other_reason: replaceItem.other_reason,\n availableToUpload: replaceItem.availableToUpload\n };\n }\n );\n\n return {\n ...methods.getValues().other_income_details,\n otherincome: newOtherIncome,\n };\n };\n useEffect(() => {\n let payslipDefaultValue = formData.employment_details;\n if (\n payslipDefaultValue.employer?.length <= 0 ||\n methods.getValues().employment_details.employer?.length <= 0\n ) {\n const response = methods.getValues()?.employment_details?.response;\n const no_doc_reason =\n methods.getValues()?.employment_details?.no_doc_reason;\n const other_reason =\n methods.getValues()?.employment_details?.other_reason;\n if (response == \"No\") {\n payslipDefaultValue = {\n ...formData.employment_details,\n response,\n no_doc_reason,\n other_reason,\n };\n } else payslipDefaultValue = { ...formData.employment_details, response };\n } else {\n //const methods.getValues().employment_details = methods.getValues();\n /**\n * This is for file upload update form\n */\n const employer = methods\n .getValues()\n .employment_details.employer.map((item, index) => {\n // check if already present employer source update\n const replaceItem = payslipDefaultValue.employer.find(\n (arrItem) => arrItem.id == item.id\n );\n if (!replaceItem) return item;\n return {\n ...item,\n id: replaceItem.id,\n files: replaceItem.files,\n fileCount: replaceItem.fileCount,\n validation_message_status: replaceItem.validation_message_status,\n gross_pay_verify: false,\n monthly_avr_gross: replaceItem.monthly_avr_gross,\n // no_doc_reason: replaceItem.no_doc_reason,\n };\n });\n\n if (\n payslipDefaultValue.employer?.length ===\n methods.getValues().employment_details.employer?.length\n ) {\n payslipDefaultValue = {\n ...methods.getValues().employment_details,\n employer: employer,\n };\n } else {\n const newEmployer = payslipDefaultValue.employer.map(\n (arrItem, index) => {\n const replaceItem = employer.find(\n (empItem) => arrItem.id == empItem.id\n );\n if (!replaceItem) return arrItem;\n\n return {\n ...arrItem,\n employer_name: replaceItem.employer_name,\n position: replaceItem.position,\n phone_no: replaceItem.phone_no,\n employer_address: replaceItem.employer_address,\n employer_city: replaceItem.employer_city,\n employer_state: replaceItem.employer_state,\n employer_zipcode: replaceItem.employer_zipcode,\n employment_start_date: replaceItem.employment_start_date,\n employment_end_date: replaceItem.employment_end_date,\n iscurrent_employer: replaceItem.iscurrent_employer,\n isfuture_employer: replaceItem.isfuture_employer,\n manager_name: replaceItem.manager_name,\n no_doc_reason: replaceItem.no_doc_reason,\n total_income: replaceItem.total_income,\n total_annual_income: replaceItem.total_annual_income,\n avrgross_pay: replaceItem.avrgross_pay,\n pay_frequency: replaceItem.pay_frequency,\n gross_pay_verify: replaceItem.gross_pay_verify,\n other_reason: replaceItem.other_reason,\n availableToUpload: replaceItem.availableToUpload,\n employer_status: replaceItem.employer_status,\n };\n }\n );\n payslipDefaultValue = {\n ...payslipDefaultValue,\n employer: newEmployer,\n };\n }\n }\n\n ////////////////////////////////////////////\n\n ////////////////////////////////////////////\n\n //////////////////////////////////////////\n let bankDefaultValue = formData.banking_details;\n if (\n bankDefaultValue.banking?.length <= 0 ||\n methods.getValues().banking_details.banking?.length <= 0\n ) {\n const response = methods.getValues()?.banking_details?.response;\n bankDefaultValue = { ...formData.banking_details, response };\n } else {\n const bank = methods\n .getValues()\n .banking_details.banking.map((item, index) => {\n // check if already present employer source update\n const replaceItem = bankDefaultValue.banking.find(\n (arrItem) => arrItem.id == item.id\n );\n if (!replaceItem) return item;\n return {\n ...item,\n id: replaceItem.id,\n files: replaceItem.files,\n fileCount: replaceItem.fileCount,\n };\n });\n\n if (\n bankDefaultValue.banking?.length ===\n methods.getValues().banking_details.banking?.length\n ) {\n bankDefaultValue = {\n ...methods.getValues().banking_details, //**ISSUE IS HERE SET other_income_details INSTED OF banking_details */\n banking: bank,\n };\n } else {\n const newBank = bankDefaultValue.banking.map((arrItem, index) => {\n const replaceItem = bank.find((empItem) => arrItem.id == empItem.id);\n console.log(\"replaceItem:528\", replaceItem);\n if (!replaceItem) return arrItem;\n return {\n ...arrItem,\n id: replaceItem.id,\n files: replaceItem.files,\n fileCount: replaceItem.fileCount,\n bank_name: replaceItem.bank_name,\n account_type: replaceItem.account_type,\n current_balance: replaceItem.current_balance,\n no_doc_reason: replaceItem.no_doc_reason,\n availableToUpload: replaceItem.availableToUpload\n };\n });\n bankDefaultValue = {\n ...methods.getValues().banking_details,\n banking: newBank,\n };\n }\n }\n // this for isolating methods\n const resetFormData = {\n ...formData,\n employment_details: {\n ...formData.employment_details,\n ...payslipDefaultValue,\n },\n other_income_details: {\n ...formData.other_income_details,\n ...otherIncomeFormBinding(),\n },\n banking_details: {\n ...formData.banking_details,\n ...bankDefaultValue,\n },\n };\n methods.reset(resetFormData);\n }, [formData, methods]);\n\n const onSubmit = async (formBody) => {\n const employer = formBody.employment_details.employer.map((data) => {\n return {\n ...data,\n pay_frequency: data.pay_frequency?.value,\n employer_status: data.employer_status?.label,\n no_doc_reason: data.files?.length > 0 ? null : data.no_doc_reason,\n other_reason: data?.availableToUpload !== \"Yes\" && data?.no_doc_reason == \"Other\" ? data?.other_reason : null,\n };\n });\n\n const otherIncome = formBody.other_income_details.otherincome.map(\n (data) => {\n return {\n ...data,\n other_income_type: data.other_income_type?.value,\n no_doc_reason: data.files?.length > 0 ? null : data?.no_doc_reason == \"other\" ? data?.other_reason : data.no_doc_reason,\n other_reason: data?.availableToUpload !== \"Yes\" && data?.no_doc_reason == \"other\" ? data?.other_reason : null,\n };\n }\n );\n\n const bank = formBody.banking_details.banking.map((data) => {\n return {\n ...data,\n bank_name: data.bank_name,\n account_type: data.account_type?.value,\n no_doc_reason: data.files?.length > 0 ? null : data?.no_doc_reason == \"other\" ? data?.other_reason : data.no_doc_reason,\n other_reason: data?.availableToUpload !== \"Yes\" && data?.no_doc_reason == \"other\" ? data?.other_reason : null,\n };\n });\n console.log(\"FormBody:592\", formBody);\n\n let index = 0;\n for (let emp of employer) {\n // console.log(\n // \"🚀 ~ file: income-banking-other-form.js ~ line 428 ~ onSubmit ~ emp\",\n // emp\n // );\n if (emp?.files?.length)\n if (emp.monthly_avr_gross)\n if (\n !emp.gross_pay_verify &&\n emp.total_income != emp.monthly_avr_gross\n ) {\n setIndexVerifyGross(index);\n setOpen(true);\n return;\n }\n index++;\n }\n\n const postData = {\n ...formBody,\n employment_details: {\n ...formBody.employment_details,\n employer: employer,\n other_reason: formBody?.employment_details?.response !== \"Yes\" && formBody?.employment_details?.no_doc_reason == \"Other\" ? formBody?.employment_details?.other_reason : null\n },\n other_income_details: {\n ...formBody.other_income_details,\n otherincome: otherIncome,\n },\n banking_details: {\n ...formBody.banking_details,\n banking: bank,\n },\n };\n console.log(\"Check Post Data:790\", postData);\n const response = await toast.promise(doSave(postData), {\n pending: \"Saving\",\n\n error: \"Saving failed 🤯\",\n });\n if (response) {\n dispatch(formSubmitStatusRest());\n dispatch(tabsStateAction.sideNavIncomeReducer(true));\n navigate(\"/identification/payment\");\n } else {\n toast.error(\"Something went wrong\");\n }\n };\n useEffect(() => {\n dispatch(tabsStateAction.sideNavIncomeReducer(false));\n }, []);\n\n const IncomeStatus = useSelector(\n (state) => state.identification.tabsStateSlice.IncomeStatus\n );\n\n const IncomeErr = useSelector(\n (state) => state.identification.tabsStateSlice.IncomeErr\n );\n\n const OtherIncomeStatus = useSelector(\n (state) => state.identification.tabsStateSlice.OtherIncomeStatus\n );\n const BankStatus = useSelector(\n (state) => state.identification.tabsStateSlice.BankStatus\n );\n\n const OtherDocStatus = useSelector(\n (state) => state.identification.tabsStateSlice.OtherDocStatus\n );\n\n\n\n const handleSubmitValidation = async (parms, submit = true) => {\n if (parms === \"Income\") {\n const localSchema = yup.object().shape({\n employment_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n other_reason: yup.string().when(\"no_doc_reason\", {\n is: (value) => {\n return value === \"Other\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n otherwise: yup.string().nullable(),\n }),\n employer: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n ...commonEmploymentFields,\n // manager_name: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n phone_no: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .min(11, \"The value is not a valid Phone Number\"),\n employer_zipcode: yup\n .string()\n .typeError(\"Required\")\n .matches(\n /^(\\d{4}[0-9]|\\d{8}[0-9]|\\d{4}[0-9]-\\d{3}[0-9]|-----\\d{3}[0-9])$/g,\n \"Please enter valid zip code\"\n )\n .required(\"Required\"),\n // employer_state: yup\n // .object()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // employer_name: yup\n // .string()\n // .typeError(\"required\")\n // .required(\"required\"),\n // employer_city: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // employer_address: yup\n // .string().trim()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // availableToUpload: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n avrgross_pay: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\")\n .min(1, \"The value must be greater than or equal to 1\"),\n // position: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n pay_frequency: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n // employment_start_date: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n employment_end_date: yup.string().when(\"iscurrent_employer\", {\n is: (value) => {\n return value == false;\n },\n then: yup.string().when(\"isfuture_employer\", {\n is: (value) => {\n console.log(\"Value Type\", typeof value);\n return value == false;\n },\n then: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr))\n .typeError(\"Required\")\n .required(\"Required\")\n .test(\n \"end_date_compare\",\n \"the date must be greater than the employment start date\",\n function (value, context) {\n console.log(\"This Parent\", this.parent);\n const { employment_start_date } = this.parent;\n const dateConvertMoveIn = new Date(\n employment_start_date\n );\n const dateConvertMoveOut = new Date(value);\n return (\n dateConvertMoveOut.getTime() >\n dateConvertMoveIn.getTime()\n );\n }\n ),\n otherwise: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr)),\n }),\n otherwise: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr)),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .unique(\n \"You cannot add duplicate employer with same name and position \"\n ),\n }),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Income(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"OtherIncome\") {\n const localSchema = yup.object().shape({\n other_income_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherincome: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n other_income_type: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n other_source: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Other',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n voucher_type: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Housing Assistance',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable()\n }),\n pension_source: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Pension',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n rental_assistance_type: yup.object().when('other_income_type', {\n is: (value) => {\n return value?.value == 'Rental Assistance';\n },\n then: yup.object().shape({\n label: yup.string().typeError(\"Required\")\n .required(\"Required\"),\n value: yup.string().typeError(\"required\")\n .required(\"Required\")\n })\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.object().nullable()\n }),\n other_rental_assistance: yup.string().when(['other_income_type', 'rental_assistance_type'], {\n is: (otherIncome, rentalAssistance) => otherIncome?.value == 'Rental Assistance' && rentalAssistance?.value == 'Other',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n\n availableToUpload: yup\n .string()\n .nullable()\n .when([], {\n is: () => documentWiseRules?.OtherIncome === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n monthly_income: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\")\n .min(1, \"The value must be greater than 0\"),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\"),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniqueOtherIncome(\"You cannot add duplicate Other income \"),\n }),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.OtherIncome(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"Bank\") {\n const localSchema = yup.object().shape({\n banking_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n banking: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n ...bankCommonFields,\n // bank_name: yup.string().required(\"Required\"),\n // availableToUpload: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n // account_type: yup\n // .object()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // current_balance: yup.number().nullable().notRequired(),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\"),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniqueBank(\"You cannot add duplicate bank\"),\n }),\n }),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n if (!submit) return false;\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Bank(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n const handleChange = async (parms) => {\n const incomeSchema = yup.object().shape({\n employment_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n other_reason: yup.string().when(\"no_doc_reason\", {\n is: (value) => {\n return value === \"Other\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n otherwise: yup.string().nullable(),\n }),\n employer: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n ...commonEmploymentFields,\n phone_no: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\")\n .min(11, \"The value is not a valid Phone Number\"),\n employer_zipcode: yup\n .string()\n .typeError(\"Required\")\n // .matches(/^(\\d{5})$/g, \"Please enter valid zip code\")\n .matches(\n /^(\\d{4}[0-9]|\\d{8}[0-9]|\\d{4}[0-9]-\\d{3}[0-9]|-----\\d{3}[0-9])$/g,\n \"Please enter valid zip code\"\n )\n .required(\"Required\"),\n // availableToUpload: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n avrgross_pay: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\")\n .min(1, \"The value must be greater than or equal to 1\"),\n // position: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n pay_frequency: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n // employment_start_date: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n employment_end_date: yup.string().when(\"iscurrent_employer\", {\n is: (value) => {\n return value == false;\n },\n then: yup.string().when(\"isfuture_employer\", {\n is: (value) => {\n console.log(\"Value Type\", typeof value);\n return value == false;\n },\n then: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr))\n .typeError(\"Required\")\n .required(\"Required\")\n .test(\n \"end_date_compare\",\n \"the date must be greater than the employment start date\",\n function (value, context) {\n console.log(\"This Parent\", this.parent);\n const { employment_start_date } = this.parent;\n const dateConvertMoveIn = new Date(\n employment_start_date\n );\n const dateConvertMoveOut = new Date(value);\n return (\n dateConvertMoveOut.getTime() >\n dateConvertMoveIn.getTime()\n );\n }\n ),\n otherwise: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr)),\n }),\n otherwise: yup\n .string()\n .nullable()\n .transform((curr, orig) => (orig === \"\" ? null : curr)),\n }),\n // employment_end_date: yup\n // .string()\n // .nullable()\n // .test(\n // \"end_date_compare\",\n // \"the date must be greater than the employment start date\",\n // function (value, context) {\n // const { move_in_date } = this.parent;\n // const dateConvertMoveIn = new Date(move_in_date);\n // const dateConvertMoveOut = new Date(value);\n // return (\n // dateConvertMoveOut.getTime() >\n // dateConvertMoveIn.getTime()\n // );\n // }\n // ),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .unique(\n \"You cannot add duplicate employer with same name and position \"\n ),\n }),\n }),\n });\n const validateIncome = await incomeSchema.isValid(methods.getValues());\n const otherIncomeSchema = yup.object().shape({\n other_income_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n otherincome: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n other_income_type: yup\n .object()\n .typeError(\"Required\")\n .required(\"Required\"),\n other_source: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Other',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n voucher_type: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Housing Assistance',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable()\n }),\n pension_source: yup.string().when('other_income_type', {\n is: (value) => value?.value == 'Pension',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n rental_assistance_type: yup.object().when('other_income_type', {\n is: (value) => {\n return value?.value == 'Rental Assistance';\n },\n then: yup.object().shape({\n label: yup.string().typeError(\"Required\")\n .required(\"Required\"),\n value: yup.string().typeError(\"Required\")\n .required(\"Required\")\n })\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.object().nullable()\n }),\n\n other_rental_assistance: yup.string().when(['other_income_type', 'rental_assistance_type'], {\n is: (otherIncome, rentalAssistance) => otherIncome?.value == 'Rental Assistance' && rentalAssistance?.value == 'Other',\n then: yup.string()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n otherwise: yup.string().nullable()\n }),\n\n availableToUpload: yup\n .string()\n .nullable()\n .when([], {\n is: () => documentWiseRules?.OtherIncome === 'Required',\n then: yup\n .string()\n .typeError(\"Required\")\n .required(\"Required\"),\n otherwise: yup.string().nullable(), // If not required, allow it to be null\n }),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n monthly_income: yup\n .number()\n .typeError(\"The value must be a number\")\n .required(\"Required\")\n .min(1, \"The value must be greater than 0\"),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniqueOtherIncome(\"You cannot add duplicate Other income \"),\n }),\n }),\n });\n const validateOtherIncome = await otherIncomeSchema.isValid(methods.getValues());\n const bankSchema = yup.object().shape({\n banking_details: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n banking: yup.array().when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup\n .array()\n .of(\n yup.object().shape({\n ...bankCommonFields,\n bank_name: yup.string().required(\"Required\"),\n // account_type: yup\n // .object()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n // current_balance: yup.number().nullable().notRequired(),\n // availableToUpload: yup\n // .string()\n // .typeError(\"Required\")\n // .required(\"Required\"),\n files: yup.array().when(\"availableToUpload\", {\n is: (value) => {\n return value == \"Yes\";\n },\n then: yup.array().min(1, \"At Least 1 Document Is Required\"),\n }),\n other_reason: yup\n .string()\n .nullable()\n .when(\"no_doc_reason\", {\n is: (value) => {\n return value == \"other\";\n },\n then: yup\n .string()\n .nullable()\n .typeError(\"Required\")\n .required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n }),\n })\n )\n .min(1, \"must have atleast 1 records\")\n .uniqueBank(\"You cannot add duplicate bank\"),\n }),\n }),\n });\n const validateBank = await bankSchema.isValid(methods.getValues());\n console.log(\"🚀 ~ handleChange ~ validateBank:\", validateBank)\n if (parms === \"Income\") {\n try {\n if (validateIncome) {\n dispatch(tabsStateAction.Income(true));\n dispatch(tabsStateAction.IncomeErr(false));\n methods.clearErrors();\n return true;\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Income(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"OtherIncome\") {\n try {\n if (validateIncome) {\n if (validateOtherIncome) {\n dispatch(tabsStateAction.OtherIncome(true));\n dispatch(tabsStateAction.IncomeErr(false));\n methods.clearErrors();\n return true;\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.OtherIncome(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Income(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"Bank\") {\n try {\n if (validateIncome) {\n if (validateOtherIncome) {\n if (validateBank) {\n dispatch(tabsStateAction.Bank(true));\n dispatch(tabsStateAction.IncomeErr(false));\n methods.clearErrors();\n return true;\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Bank(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.OtherIncome(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Income(false));\n dispatch(tabsStateAction.IncomeErr(true));\n return false;\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: identification-details.js ~ line 709 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n\n const { hash } = useLocation();\n useEffect(() => {\n if (!hash) return;\n if (hash == \"#ei\") {\n navigate(-1);\n return dispatch(tabsStateAction.Income(false));\n }\n if (hash == \"#other-in\") {\n navigate(-1);\n return handleChange(\"Income\");\n }\n if (hash == \"#bank-info\") {\n navigate(-1);\n return handleChange(\"OtherIncome\");\n }\n if (hash == \"#od\") {\n navigate(-1);\n return handleChange(\"Bank\");\n }\n }, [hash]);\n \n return (\n <>\n {/* */}\n \n
\n
\n
\n {/* Here code */}\n
\n {\n dispatch(tabsStateAction.Income(false));\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {IncomeStatus && }{\" \"}\n Employment Income\n \n \n \n \n\n {\n handleChange(\"Income\");\n }}\n >\n \n }\n aria-controls=\"panel2bh-content\"\n id=\"panel2bh-header\"\n >\n \n {OtherIncomeStatus && }{\" \"}\n Other Income\n \n \n \n \n\n {\n handleChange(\"OtherIncome\");\n }}\n >\n \n }\n aria-controls=\"panel2bh-content\"\n id=\"panel2bh-header\"\n >\n \n {BankStatus && } Banking\n Information\n \n \n \n \n\n {\n handleChange(\"Bank\");\n }}\n >\n \n }\n aria-controls=\"panel2bh-content\"\n id=\"panel2bh-header\"\n >\n \n {OtherDocStatus && } Other\n documents\n \n \n \n \n\n \n {\n dispatch(tabsStateAction.IncomeErr(false));\n }}\n severity=\"error\"\n >\n {\" \"}\n Answer the required field \n \n \n
\n {/* end her */}\n
\n\n \n Next\n \n
\n
\n \n
\n \n
\n {/* grey area compare popup to get work done */}\n {methods.watch(\"employment_details.employer\")?.length ? (\n <>\n \n \n \n Important Alert!\n \n \n \n

\n Our system processed the document(s) you uploaded and found\n one or more possible discrepancies. Please review and select\n the correct information below.\n

\n

\n \n Your Monthly Gross / Pre-Tax Income with{\" \"}\n {methods.getValues(\n `employment_details.employer.${indexVerifyGross}.employer_name`\n )}\n :*\n \n

\n

\n Select the Correct Value\n

\n
\n \n \n

According to you:

\n
\n \n

According to your document:

\n
\n \n \n \n {\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.gross_pay_verify`,\n true,\n true\n );\n setOpen(false);\n setTimeout(() => {\n refSubmitButtom?.current?.click();\n }, 100);\n }}\n >\n \n \n \n \n {\n let _monthlyIncome =\n methods.getValues(\n `employment_details.employer.${indexVerifyGross}.monthly_avr_gross`\n ) || 0;\n const pay_frequency = methods.getValues(\n `employment_details.employer[${indexVerifyGross}].pay_frequency`\n ).value;\n if (pay_frequency == \"Weekly\") {\n _monthlyIncome = (_monthlyIncome / 52) * 12;\n } else if (pay_frequency == \"Bi-Weekly\") {\n _monthlyIncome = (_monthlyIncome / 26) * 12;\n } else if (pay_frequency == \"Monthly\") {\n //_monthlyIncome = _monthlyIncome;\n } else if (pay_frequency == \"Bi-Monthly\") {\n _monthlyIncome = (_monthlyIncome / 24) * 12;\n } else if (pay_frequency == \"One-Time\") {\n _monthlyIncome = _monthlyIncome * 12;\n } else {\n _monthlyIncome = _monthlyIncome * 12;\n }\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.avrgross_pay`,\n parseFloat(_monthlyIncome).toFixed(2),\n true\n );\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.gross_pay_verify`,\n true,\n true\n );\n\n if (pay_frequency == \"Weekly\") {\n _monthlyIncome = (_monthlyIncome * 52) / 12;\n } else if (pay_frequency == \"Bi-Weekly\") {\n _monthlyIncome = (_monthlyIncome * 26) / 12;\n } else if (pay_frequency == \"Monthly\") {\n //_monthlyIncome = _monthlyIncome;\n } else if (pay_frequency == \"Bi-Monthly\") {\n _monthlyIncome = (_monthlyIncome * 24) / 12;\n } else if (pay_frequency == \"One-Time\") {\n _monthlyIncome = _monthlyIncome / 12;\n }\n\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.total_income`,\n parseFloat(_monthlyIncome).toFixed(2) || 0\n );\n methods.setValue(\n `employment_details.employer.${indexVerifyGross}.total_annual_income`,\n (parseFloat(_monthlyIncome).toFixed(2) || 0) * 12\n );\n\n setOpen(false);\n setTimeout(() => {\n refSubmitButtom?.current?.click();\n }, 100);\n }}\n className=\"btn btn-block btn-success\"\n >\n \n \n \n \n \n \n \n \n {/*

OR

*/}\n
\n \n \n \n {\n setOpen1(true);\n }}\n className=\"btn btn-link\"\n >\n Or enter a different value\n \n \n \n
\n \n\n \n {open1 && (\n \n \n \n )}\n \n {\n setOpen1(false);\n }}\n >\n Back\n \n\n handleSave()}\n >\n Save\n \n \n \n \n ) : null}\n\n {/* end grey area compare popup to get work done */}\n
\n \n \n );\n}\n\nexport default IncomeBankingOtherForm;\n","import React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n useGetIncomeBankingQuery,\n useGetSectionStatusQuery,\n} from \"../../../services/identificationApi\";\nimport IncomeBankingOtherForm from \"./income-banking-other-form\";\nimport { Box } from \"@mui/system\";\nimport { LinearProgress } from \"@mui/material\";\nimport Card from \"@mui/material/Card\";\nimport { sideNavAction } from \"../../../store/identification/sideMenuSlice\";\n\nconst IncomeBanking = (props) => {\n const dispatch = useDispatch();\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n let sectionCompleteStatus = useGetSectionStatusQuery(trn_id);\n console.log(\n \"Check Section Status Complete in Identification\",\n sectionCompleteStatus\n );\n dispatch(sideNavAction.applicationStatusState(sectionCompleteStatus.data));\n const { isLoading, isSuccess, isError, data } =\n useGetIncomeBankingQuery(trn_id);\n console.log(\"IB:25\", data);\n React.useEffect(() => {\n document.title = \"Income & Banking\";\n }, []);\n\n if (isError) return

API FAIL

;\n\n if (isLoading || !isSuccess)\n return (\n \n \n \n \n \n );\n return ;\n};\n\nexport default IncomeBanking;\n","import { Alert, Button, Snackbar } from '@mui/material';\nimport React, { useRef, useEffect } from 'react';\nimport SignaturePad from 'signature_pad';\nimport CloseIcon from '@mui/icons-material/Close';\nimport { FormProvider } from 'react-hook-form';\nimport * as Yup from 'yup';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport { useForm } from 'react-hook-form';\nimport InputCheckBoxField from '../../registration/Inputs/InputCheckBoxField';\n\nconst SignaturePadComponent = ({ setSignatureImage, handleClose, applicant_fname, applicant_lname }) => {\n const canvasRef = useRef(null);\n const signaturePadRef = useRef(null);\n const [SignatureErr, setSignatureErr] = React.useState(false);\n useEffect(() => {\n const canvas = canvasRef.current;\n if (canvas) {\n signaturePadRef.current = new SignaturePad(canvas);\n\n // Resize the canvas to fill the container\n resizeCanvas();\n window.addEventListener('resize', resizeCanvas);\n\n return () => {\n window.removeEventListener('resize', resizeCanvas);\n };\n }\n }, []);\n\n const resizeCanvas = () => {\n const canvas = canvasRef.current;\n if (canvas) {\n const ratio = Math.max(window.devicePixelRatio || 1, 1);\n canvas.width = canvas.offsetWidth * ratio;\n canvas.height = canvas.offsetHeight * ratio;\n canvas.getContext('2d')?.scale(ratio, ratio);\n }\n };\n\n const handleClear = () => {\n signaturePadRef.current?.clear();\n setSignatureErr(false);\n };\n\n const handleSave = () => {\n if (signaturePadRef.current?.isEmpty()) {\n // notify('Please provide a signature first.',{type:'warning',anchorOrigin: { vertical: 'top', horizontal: 'right' }});\n setSignatureErr(true);\n } else {\n const dataURL = signaturePadRef.current.toDataURL();\n // console.log(dataURL); // You can send this dataURL to your server or save it as an image\n // alert('Signature saved!');\n setSignatureImage(dataURL);\n handleClose();\n }\n };\n const yupSchema = Yup.object().shape({\n i_confirm: Yup.bool().oneOf([true], 'You must confirm this').required('I confirm is required'),\n\n });\n const form = useForm({ mode: \"all\", resolver: yupResolver(yupSchema) });\n const handleSaveClick = (event) => {\n event.preventDefault(); // Prevent default button click behavior\n form.handleSubmit(handleSave)(); // Explicitly submit the form\n};\n return (\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
\n
\n \n setSignatureErr(false)}\n severity=\"error\"\n >\n Please provide a signature. \n \n \n
\n );\n};\n\n\nexport default SignaturePadComponent;\n","// create a from where user can sign the document with there full name \n// form should contains option to choose the sign style, input box to type both required field \n// a canvas to show the signature form type name\n// and a button to save the signature \nimport React, { useState, useRef, useEffect } from 'react';\nimport html2canvas from 'html2canvas';\nimport { Button } from '@mui/material';\nimport InputField from '../../registration/Inputs/InputField';\nimport { FormProvider, useForm } from 'react-hook-form';\nimport SelectField from '../../registration/Inputs/SelectField';\nimport * as Yup from 'yup';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport { debounce } from 'lodash';\nimport InputCheckBoxField from '../../registration/Inputs/InputCheckBoxField';\n\nconst SignatureForm = ({ applicant_fname, applicant_lname, setSignatureImage, handleClose }) => {\n // const [fullName, setFullName] = useState('');\n // const [signStyle, setSignStyle] = useState('cursive');\n const canvasRef = useRef(null);\n const signatureRef = useRef(null);\n\n const validateFullNameMatches = (applicantFname, applicantLname, fullName) => {\n const normalizedFullName = fullName.trim().toLowerCase().replace(/\\s+/g, '');\n const normalizedFname = applicantFname.trim().toLowerCase().replace(/\\s+/g, '');\n const normalizedLname = applicantLname.trim().toLowerCase().replace(/\\s+/g, '');\n\n return normalizedFullName.includes(normalizedFname) || normalizedFullName.includes(normalizedLname);\n };\n\n const form = useForm({\n defaultValues: {\n fullName: '',\n signStyle: { value: '', label: '' },\n },\n resolver: yupResolver(Yup.object().shape({\n fullName: Yup.string().required('Name is required')\n .test('is-valid-fullname', 'Name must contain and match the applicant’s first or last name.', function (value) {\n return validateFullNameMatches(applicant_fname, applicant_lname, value);\n }),\n signStyle: Yup.object(\n { value: Yup.string().required('Sign Style is required'), label: Yup.string() }\n ).required('Sign Style is required'),\n i_confirm: Yup.bool().oneOf([true], 'You must confirm this').required('I confirm is required'),\n })),\n mode: \"all\",\n });\n const DEBOUNCE_DELAY = 100; // Adjust the delay as needed\n\n const generateSignatureDebounced = debounce(() => {\n generateSignature();\n }, DEBOUNCE_DELAY);\n\n useEffect(() => {\n if (form.watch('signStyle')?.value && form.watch('fullName')) {\n const ctx = canvasRef.current.getContext('2d');\n ctx.clearRect(0, 0, canvasRef.current.width, canvasRef.current.height);\n generateSignatureDebounced();\n }\n\n // Cleanup function to cancel the debounced call if the component unmounts\n return () => {\n generateSignatureDebounced.cancel();\n };\n }, [form.watch('signStyle'), form.watch('fullName')]);\n\n const cropWhitespace = (canvas) => {\n const ctx = canvas.getContext('2d');\n const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);\n const data = imageData.data;\n\n let top = null, bottom = null, left = null, right = null;\n\n for (let y = 0; y < canvas.height; y++) {\n for (let x = 0; x < canvas.width; x++) {\n const index = (y * canvas.width + x) * 4;\n const alpha = data[index + 3];\n\n if (alpha !== 0) { // If not fully transparent\n if (top === null) top = y;\n if (bottom === null || y > bottom) bottom = y;\n if (left === null || x < left) left = x;\n if (right === null || x > right) right = x;\n }\n }\n }\n\n // If no non-transparent pixels are found, return the original canvas\n if (top === null || bottom === null || left === null || right === null) {\n return canvas;\n }\n\n const croppedWidth = right - left + 1;\n const croppedHeight = bottom - top + 1;\n\n const croppedCanvas = document.createElement('canvas');\n croppedCanvas.width = croppedWidth;\n croppedCanvas.height = croppedHeight;\n const croppedCtx = croppedCanvas.getContext('2d');\n\n croppedCtx.drawImage(canvas, left, top, croppedWidth, croppedHeight, 0, 0, croppedWidth, croppedHeight);\n\n return croppedCanvas;\n };\n\n const generateSignature = async () => {\n const signatureDiv = signatureRef.current;\n const canvas = await html2canvas(signatureDiv);\n const ctx = canvasRef.current.getContext('2d');\n ctx.clearRect(0, 0, canvasRef.current.width, canvasRef.current.height);\n const canvasWidth = canvasRef.current.width;\n const canvasHeight = canvasRef.current.height;\n const imageWidth = canvas.width;\n const imageHeight = canvas.height;\n const x = (canvasWidth - imageWidth) / 2;\n const y = (canvasHeight - imageHeight) / 2;\n ctx.drawImage(canvas, x, y);\n };\n\n\n const saveSignature = (value) => {\n // alert('Signature saved successfully!')\n // const canvas = canvasRef.current;\n // const signatureData = canvas.toDataURL();\n const signatureDiv = signatureRef.current;\n html2canvas(signatureDiv).then((canvas) => {\n const croppedCanvas = cropWhitespace(canvas);\n const signatureData = croppedCanvas.toDataURL();\n console.log('Signature Data:', signatureData);\n setSignatureImage(signatureData);\n handleClose();\n });\n // Handle signature data here\n // console.log('Full Name:', form.watch('fullName'));\n // console.log('Signature Style:', form.watch('signStyle'))\n // console.log('Signature Data:', signatureData);\n // setSignatureImage(signatureData);\n // handleClose();\n };\n const handleClear = () => {\n form.reset({ fullName: '', signStyle: { value: '', label: '' } });\n canvasRef.current.getContext('2d').clearRect(0, 0, canvasRef.current.width, canvasRef.current.height);\n }\n const handleSaveClick = (event) => {\n event.preventDefault(); // Prevent default button click behavior\n form.handleSubmit(saveSignature)(); // Explicitly submit the form\n };\n return (\n \n {/* onSubmit={form.handleSubmit(saveSignature)} */}\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n {form.watch('signStyle')?.value && form.watch('fullName') &&
\n
\n \n
\n {form.watch('fullName') || 'Generating Signature'}\n
\n \n
}\n
\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n};\n\nconst styles = {\n form: {\n background: 'white',\n padding: '20px',\n borderRadius: '8px',\n boxShadow: '0 0 10px rgba(0, 0, 0, 0.1)',\n fontFamily: 'Arial, sans-serif',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n },\n canvas: {\n border: '1px solid #000',\n marginBottom: '16px',\n },\n \n signatureDiv: {\n position: 'absolute',\n top: '-9999px',\n left: '-9999px',\n whiteSpace: 'nowrap',\n fontSize: '48px',\n },\n};\n\n\nexport default SignatureForm;","import React, { useRef, useState, useEffect, createRef } from \"react\";\nimport { Modal, Box, Typography, Tabs, Tab, IconButton } from '@mui/material';\nimport SignaturePadComponent from \"./SignaturePadComponent\";\nimport SignatureFromComponent from \"./SignatureFromComponent\";\nimport CloseIcon from '@mui/icons-material/Close';\nimport { FiEdit2 } from \"react-icons/fi\";\nimport { Button } from \"@mui/material\";\n\n\nconst style = {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n width: 500,\n bgcolor: 'background.paper',\n boxShadow: 24,\n p: 4,\n};\n\nfunction TabPanel(props) {\n const { children, value, index, ...other } = props;\n\n return (\n
\n );\n}\n\nexport function ModalWithTabs({ applicant_lname, applicant_fname, setSignatureImage }) {\n const [open, setOpen] = useState(false);\n const [tabValue, setTabValue] = useState(0);\n\n const handleOpen = () => setOpen(true);\n const handleClose = () => setOpen(false);\n\n const handleTabChange = (event, newValue) => {\n setTabValue(newValue);\n };\n\n return (\n
\n }\n onClick={() => {\n handleOpen();\n }}\n >\n Click to e-Sign\n \n \n \n \n \n E-Signature \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\nconst ESignature = ({ setSignatureImage, applicantFirstName, applicantLastName }) => {\n return \n};\n\nexport default ESignature;\n","import React, { useEffect } from \"react\";\nimport {\n CardElement,\n useStripe,\n useElements,\n PaymentElement,\n} from \"@stripe/react-stripe-js\";\nimport { useSavePaymentMutation } from \"../../../services/identificationApi\";\nimport { useNavigate } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport { sk } from \"../../../config\";\n\nconst CARD_OPTIONS = {\n style: {\n base: {\n iconColor: \"#000\",\n color: \"#000\",\n fontWeight: 400,\n fontFamily: \"Roboto, Open Sans, Segoe UI, sans-serif\",\n fontSize: \"16px\",\n backgroundColor: \"#fff8f8\",\n lineHeight: \"34px\",\n fontSmoothing: \"antialiased\",\n \":-webkit-autofill\": {\n color: \"#fce883\",\n },\n \"::placeholder\": {\n color: \"#999\",\n fontSize: \"16px\",\n },\n },\n invalid: {\n iconColor: \"#ffc7ee\",\n color: \"#ffc7ee\",\n },\n complete: {\n backgroundColor: \"#fff\",\n },\n },\n};\n\nconst StripeButton = (props) => {\n const navigate = useNavigate();\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const application_fee = useSelector(\n (state) => state.identification.sideMenuSlice.applicationFee\n );\n const completeSectionStatus = useSelector(\n (state) => state.identificationApi?.queries\n );\n const sectionStatus = completeSectionStatus[`getSectionStatus(\"${trn_id}\")`];\n const [savePayment, result] = useSavePaymentMutation();\n\n useEffect(() => {\n if (props.callSubmit) {\n handleSubmit();\n }\n }, [props.callSubmit]);\n\n const stripe = useStripe();\n const clientSecret = sk;\n const appearance = {\n theme: \"night\",\n variables: {\n colorPrimary: \"#0570de\",\n colorBackground: \"#ffffff\",\n colorText: \"#30313d\",\n colorDanger: \"#df1b41\",\n fontFamily: \"Ideal Sans, system-ui, sans-serif\",\n spacingUnit: \"2px\",\n borderRadius: \"4px\",\n // See all possible variables below\n },\n };\n const elements = useElements({ clientSecret, appearance });\n\n const handleSubmit = async (event) => {\n if (props.signatureImage === \"\" || props.signatureImage === null) {\n props.setIsEmptySignature(true);\n return setTimeout(() => {\n props.setIsEmptySignature(false);\n }, 2000);\n }\n if (\n sectionStatus.data?.identification_details_status === false ||\n sectionStatus.data?.applicant_details_status === false ||\n sectionStatus.data?.income_banking_status === false\n ) {\n if (sectionStatus.data?.identification_details_status === false) {\n toast.error(\"Please complete Identification Details.\");\n return navigate(\"/identification\");\n }\n if (sectionStatus.data?.applicant_details_status === false) {\n toast.error(\"Please complete Applicant Details.\");\n return navigate(\"/identification/applicantDetail\");\n }\n if (sectionStatus.data?.income_banking_status === false) {\n toast.error(\"Please complete Income & Banking.\");\n return navigate(\"/identification/incomeDetail\");\n }\n }\n const { error, paymentMethod } = await stripe.createPaymentMethod({\n type: \"card\",\n card: elements.getElement(CardElement),\n billing_details: {\n name: props.addressData.name,\n email: props.addressData.email,\n phone: props.addressData.phone,\n address: {\n city: props.addressData.city,\n country: \"US\",\n },\n },\n });\n if (!error) {\n let token = await stripe.createToken(elements.getElement(CardElement));\n let tokenData = {\n ...token.token,\n card: {\n ...token.token.card,\n name: props.addressData.name,\n address_city: props.addressData.city,\n address_line1: props.addressData.billingAddress,\n address_state: props.addressData.state.label,\n address_zip: props.addressData.zipCode,\n },\n };\n let tempObj = {\n token: tokenData,\n trn_id: props.addressData.trn_id,\n file: props.addressData.file,\n document_id: props.addressData.document_id,\n amount: application_fee,\n };\n //TODO: Under token bind name and address coming under App data.\n const response = await toast.promise(savePayment(tempObj), {\n pending: \"Saving\",\n\n error: \"Saving failed 🤯\",\n });\n if (response?.error?.status === 400) {\n toast.error(\n \"Invalid card details, please provide valid card details. Payment Failed.\"\n );\n }\n if (response?.data?.status === 400) {\n toast.error(\n \"Invalid card details, please provide valid card details. Payment Failed.\"\n );\n }\n if (response?.data?.status === 200) {\n navigate(\"/success\");\n }\n } else {\n toast.error(error.message);\n }\n };\n\n return (\n
\n \n \n \n );\n};\n\nexport default StripeButton;\n","import React, { useState, useEffect } from \"react\";\nimport ESignature from \"../../../common/eSignature/eSignature\";\nimport StripeButton from \"../../../common/stripeButton/stripeButton\";\nimport { loadStripe } from \"@stripe/stripe-js\";\nimport { Elements } from \"@stripe/react-stripe-js\";\nimport { get, useController, useFormContext } from \"react-hook-form\";\nimport InputField from \"../../../registration/Inputs/InputField\";\n\nimport { useGetIdentificationDataQuery } from \"../../../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport SelectField from \"../../../registration/Inputs/SelectField\";\nimport { pk } from \"../../../../config\";\nimport { Alert, IconButton, Snackbar, Typography } from \"@mui/material\";\n\n\nimport { Close } from \"@material-ui/icons\";\nconst PUBLIC_KEY = pk;\n\nconst stripeTestPromise = loadStripe(PUBLIC_KEY);\n\nconst PaymentSignature = (props) => {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const getIdentificationData = useGetIdentificationDataQuery(trn_id);\n const [identificationData, setIdentificationData] = useState(\n getIdentificationData?.data\n );\n const [signatureFlag, setSignatureFlag] = useState(false);\n const [signatureImage, setSignatureImage] = useState(\"\");\n const [isEmptySignature, setIsEmptySignature] = useState(false);\n\n const {\n register,\n watch,\n getValues,\n setValue,\n handleSubmit,\n control,\n trigger,\n\n formState: { errors },\n } = useFormContext();\n\n let addressData = {\n billingAddress: watch(\"billingAddress\"),\n city: watch(\"city\"),\n state: watch(\"state\"),\n zipCode: watch(\"zipCode\"),\n name: identificationData?.identification_data.first_name + \" \" + identificationData?.identification_data.last_name,\n email: identificationData?.applicant.Email,\n phone: identificationData?.applicant.mobile[0].number,\n trn_id: trn_id,\n file: signatureImage,\n document_id: \"8\",\n };\n\n const watchApplicantBillingAddress = watch(\"copybillingaddress\");\n const watchApplicantName = watch(\"copyapplicantname\");\n\n useEffect(() => {\n if (watchApplicantBillingAddress) {\n setValue(\n \"billingAddress\",\n getIdentificationData?.data?.address[0]?.street_address,\n { shouldValidate: true }\n );\n setValue(\"city\", getIdentificationData?.data?.address[0]?.city, {\n shouldValidate: true,\n });\n setValue(\"state\", getIdentificationData?.data?.address[0]?.state, {\n shouldValidate: true,\n });\n setValue(\"zipCode\", getIdentificationData?.data?.address[0]?.zipcode, {\n shouldValidate: true,\n });\n } else {\n setValue(\"billingAddress\", \"\");\n setValue(\"city\", \"\");\n setValue(\"state\", \"\");\n setValue(\"zipCode\", \"\");\n }\n }, [\n watchApplicantBillingAddress,\n setValue,\n identificationData?.address,\n getIdentificationData?.data?.address,\n ]);\n\n useEffect(() => {\n if (watchApplicantName) {\n setValue(\n \"cname\",\n getIdentificationData?.data?.applicant?.first_name +\n \" \" +\n getIdentificationData?.data?.applicant?.last_name,\n { shouldValidate: true }\n );\n } else {\n setValue(\"cname\", \"\", { shouldValidate: true });\n }\n }, [\n watchApplicantName,\n identificationData?.applicant?.first_name,\n identificationData?.applicant?.last_name,\n setValue,\n identificationData,\n getIdentificationData,\n ]);\n\n return (\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n Copy Applicant Name\n \n
\n
\n \n
\n \n Enter Card Number *\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n \n Use current address for billing address\n \n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n {/* */}\n {\n return {\n value: item.ID || index,\n label: item.StateShortCode + \" - \" + item.StateName,\n };\n }\n )}\n label=\"Select State\"\n register={register(\"state\")}\n />\n
\n
\n \n
\n
\n
\n
\n\n
\n
\n
\n {signatureImage && }\n
\n
\n E-Signature: *\n
\n \n {identificationData?.applicant?.first_name}{\" \"}\n {identificationData?.applicant?.last_name}\n \n\n
\n
\n
\n {(<>\n \n \n \n {\" \"}\n Please Sign the Application. \n \n \n \n )}\n
\n
\n
\n\n {/*
\n
\n {signatureFlag && (\n \n )}\n
\n
*/}\n
\n
\n
\n
\n );\n};\n\nexport default PaymentSignature;\n","/* eslint-disable react/jsx-no-target-blank */\nimport React, { useEffect, useRef, useState } from \"react\";\nimport PaymentSignature from \"./payment-signature/payment-signature\";\nimport TermsCondition from \"./terms-condition/terms-condition\";\nimport { useForm, FormProvider, useFormContext } from \"react-hook-form\";\nimport InputCheckBoxField from \"../../registration/Inputs/InputCheckBoxField\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { AiOutlinePlus } from \"react-icons/ai\";\nimport { AiOutlineCloseCircle } from \"react-icons/ai\";\nimport { BsCheck2Circle } from \"react-icons/bs\";\nimport {\n Accordion,\n AccordionSummary,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Typography,\n AccordionDetails,\n Snackbar,\n} from \"@mui/material\";\nimport { tabsStateAction } from \"../../../store/identification/tabStateSlice\";\nimport MuiAlert from \"@mui/material/Alert\";\n\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { DevTool } from \"@hookform/devtools\";\nimport {\n useGetSectionStatusQuery,\n useGetSubscriberFeesQuery,\n useGetTermandCondtionQuery,\n} from \"../../../services/identificationApi\";\nimport { sideNavAction } from \"../../../store/identification/sideMenuSlice\";\nimport SupportSection from \"../../common/SupportSection/SupportSection\";\nimport parse from 'html-react-parser';\nimport { JSONTree } from \"react-json-tree\";\nimport RenderQuillText from \"../../../containers/instruction/RenderQuillText\";\nimport { logout_url } from \"../../../config\";\n\n\nconst Alert = React.forwardRef(function Alert(props, ref) {\n return ;\n});\n\nconst ConsentPayment = (props) => {\n const [callSubmit, setCallSubmit] = useState(false);\n const [subscriberFee, setSubscriberFee] = useState(0);\n const [applicantFee, setApplicantFee] = useState(0);\n const [clickHere, setClickHere] = React.useState(true);\n const formSectionSubmit = useSelector(\n (state) => state.formSubmit.fromSectionSubmit\n );\n const useWindowWidth = useSelector(\n (state) => state.identification.sideMenuSlice\n );\n const submitBtnRef = useRef(null);\n const dispatch = useDispatch();\n React.useEffect(() => {\n document.title = \"Consent & Payment\";\n }, []);\n useEffect(() => {\n (async () => {\n if (formSectionSubmit) {\n if (!(await handleSubmitValidation(\"terms\"))) return;\n if (!(await handleSubmitValidation(\"payment\"))) return;\n submitBtnRef?.current?.click();\n }\n })();\n }, [formSectionSubmit]);\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n\n const { data, error, isLoading } = useGetTermandCondtionQuery(trn_id)\n // .getDetails('${trn_id}').data\n const nj_status = useSelector((state) => state.identificationApi.queries);\n const sectionStatus = useGetSectionStatusQuery(trn_id);\n\n const termsStatus = useSelector(\n (state) => state.identification.tabsStateSlice.termsStatus\n );\n\n const paymentStatus = useSelector(\n (state) => state.identification.tabsStateSlice.paymentStatus\n );\n\n const paymentErr = useSelector(\n (state) => state.identification.tabsStateSlice.paymentErr\n );\n\n const getSubscriberFeesData = useGetSubscriberFeesQuery(trn_id);\n\n useEffect(() => {\n const fees_data = getSubscriberFeesData?.data;\n if (fees_data) {\n setSubscriberFee(fees_data?.records?.recordset[0]?.SubscriberFee);\n setApplicantFee(fees_data?.records?.recordset[0]?.ApplicationFee);\n dispatch(\n sideNavAction.enterApplicationFee(\n fees_data?.records?.recordset[0]?.ApplicationFee * 100\n )\n );\n }\n }, [getSubscriberFeesData?.data]);\n\n useEffect(() => {\n if (sectionStatus?.data?.consent_payment_status === true) {\n dispatch(tabsStateAction.Payment(true));\n }\n }, [dispatch, sectionStatus?.data]);\n\n const schema = yup.object().shape({\n billingAddress: yup.string().required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n state: yup.object().typeError(\"Required\").required(\"Required\"),\n city: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n zipCode: yup\n .string()\n .typeError(\"Required\")\n // .matches(/^(\\d{5})$/g, \"Please enter valid zip code\")\n .matches(\n /^(\\d{4}[0-9]|\\d{8}[0-9]|\\d{4}[0-9]-\\d{3}[0-9]|-----\\d{3}[0-9])$/g,\n \"Please enter valid zip code\"\n )\n .required(\"Required\"),\n cname: yup.string().typeError(\"Required\").required(\"Required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n });\n // .matches(/^[A-Za-z\\u00C0-\\u017F'-]+$/, \"Enter Valid Name\")\n const methods = useForm({\n defaultValues: {\n city: \"\",\n state: \"\",\n zipCode: \"\",\n concent: false,\n copyapplicant: false,\n copybillingaddress: false,\n copyapplicantname: false,\n },\n resolver: yupResolver(schema),\n mode: \"onChange\",\n });\n\n const onSubmit = (fromData) => {\n console.log(\"fromData\", fromData);\n setCallSubmit(true);\n setCallSubmit(false);\n // navigate(\"/success\");\n };\n\n const handleSubmitValidation = async (parms) => {\n if (parms === \"terms\") {\n const localSchema = yup.object().shape({\n concent: yup.bool().oneOf([true], \"This field must be checked\"),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Terms(false));\n dispatch(tabsStateAction.PaymentErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n } else if (parms === \"payment\") {\n const localSchema = yup.object().shape({\n billingAddress: yup.string().required(\"Required\"),\n state: yup.object().typeError(\"Required\").required(\"Required\"),\n zipCode: yup.string().typeError(\"Required\").required(\"Required\"),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (!result) {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Payment(false));\n dispatch(tabsStateAction.PaymentErr(true));\n return false;\n }\n return true;\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n\n const handleChange = async (parms) => {\n if (parms === \"terms\") {\n const localSchema = yup.object().shape({\n concent: yup.bool().oneOf([true], \"This field must be checked\"),\n });\n try {\n const result = await localSchema.isValid(methods.getValues());\n if (result) {\n methods.clearErrors();\n dispatch(tabsStateAction.Terms(true));\n dispatch(tabsStateAction.PaymentErr(false));\n } else {\n submitBtnRef?.current?.click();\n dispatch(tabsStateAction.Terms(false));\n dispatch(tabsStateAction.PaymentErr(true));\n }\n } catch (error) {\n console.error(\n \"🚀 ~ file: applicant-details.js ~ line 687 ~ handleChange ~ error\",\n error\n );\n }\n }\n };\n const navigate = useNavigate();\n const { hash } = useLocation();\n useEffect(() => {\n if (!hash) return;\n if (hash == \"#tc\") {\n navigate(-1);\n return dispatch(tabsStateAction.Terms(false));\n }\n if (hash == \"#ps\") {\n navigate(-1);\n return handleChange(\"terms\");\n }\n }, [hash]);\n if (isLoading) return

Loading...

\n return (\n
\n \n
\n {\n dispatch(tabsStateAction.Terms(false));\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {termsStatus && } Terms and\n Conditions\n \n \n \n
\n \n {data?.records?.text && (<>\n {/* {parse(data?.records?.text)} */}\n \n )}\n\n {data?.records?.subscriber_text && (<>\n
\n {/* {parse(data?.records?.subscriber_text)} */}\n \n )}\n\n
\n
\n
\n
\n \n \n {\" \"}\n

\n I have read, understood, and consent to\n Docuverus's{\" \"}\n \n Data Policy{\" \"}\n \n and{\" \"}\n \n Terms of Use.\n {\" \"}\n I also authorize Docuverus, LLC to charge my\n credit or debit card the NON-REFUNDABLE\n Application Fee of {\"$\" + applicantFee}.00\n

\n \n
\n
\n
\n
\n
\n
\n \n {\n handleChange(\"terms\");\n }}\n >\n }\n aria-controls=\"panel1bh-content\"\n id=\"panel1bh-header\"\n >\n \n {paymentStatus && } Payment &\n Signature\n \n \n \n \n \n \n \n {\n dispatch(tabsStateAction.PaymentErr(false));\n }}\n severity=\"error\"\n >\n {\" \"}\n Answer the required field \n \n \n\n \n Next\n \n \n
\n \n
\n \n
\n
\n );\n};\n\nexport default ConsentPayment;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport FileIcon from \"../../components/common/FileIcon\";\nimport UploadFile from \"../../components/common/uploadFile/uploadFile\";\nimport { RiInformationLine } from \"react-icons/ri\";\n\nconst Paystub_Source = ({\n onlyPdf,\n field,\n index = 0,\n title,\n setDialogAction,\n documentId,\n paystub,\n warningText,\n}) => {\n return (\n <>\n
\n
\n
\n <>\n
\n
\n
\n

\n {title} {index + 1}:*\n setDialogAction(true)}\n />\n

\n
(covering 4 most recent weeks)
\n \n {warningText\n ? warningText\n : \"IMPORTANT! PDF Earnings Statements only! Click (i) button above for full details\"}\n \n
\n
\n \n
\n
\n
\n \n
\n
\n {field?.files?.map((item, index) => {\n return (\n \n
\n \n
\n
\n );\n })}\n
\n
\n
\n
\n
\n \n );\n};\n\nexport default Paystub_Source;\n","/* eslint-disable react/jsx-pascal-case */\nimport React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport {\n useGetIncomeBankingQuery,\n useGetSectionStatusQuery,\n} from \"../../services/identificationApi\";\nimport Paystub_Source from \"./Paystub_Source\";\nimport {\n Alert,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Stack,\n} from \"@mui/material\";\nimport { useDocumentContext } from \"../../PrivateRoute\";\n\nconst ProofOfBank_doc_upload = () => {\n const [bankStatementInformation, setBankStatementInformation] =\n React.useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { isLoading, isSuccess, isError, data } =\n useGetIncomeBankingQuery(trn_id);\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n <>\n {true && (\n
\n {documentWiseRules?.BankStatements !='Hide' &&
\n
\n
\n
Banking Information
\n
\n
\n
\n <>\n {data?.banking_details?.banking.map((field, index) => (\n \n ))}\n {data?.banking_details?.banking?.length === 0 && (\n \n )}\n \n
\n {\n setBankStatementInformation(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n IMPORTANT! If you did not upload original\n PDF’s of your earnings statements, are self-employed, or\n indicated any non-employment income, then for verification\n purposes, you will need to upload PDF’s of your 2 most recent\n personal bank statements downloaded directly from your online\n bank account website. Please do NOT upload scanned images,\n redacted documents, or screen shots of documents, and please\n do NOT “print to PDF”, “save as” or modify these documents in\n any way, as these documents cannot be verified by our system.\n If you are self-employed, PDF’s of your 2 most recent personal\n bank statements are required. If you have business bank\n statements, you can include them, but personal bank statements\n are required to verify self-employment income.\n \n \n \n {\n setBankStatementInformation(false);\n }}\n autoFocus\n >\n Close\n \n \n \n
}\n
\n )}\n \n );\n};\n\nexport default ProofOfBank_doc_upload;\n","import React, { useEffect, useState } from \"react\";\nimport {\n useDeleteDocumentMutation,\n useGetIdentificationDataQuery,\n} from \"../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport UploadFile from \"../../components/common/uploadFile/uploadFile\";\nimport { BiTrash } from \"react-icons/bi\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport { useDocumentContext } from \"../../PrivateRoute\";\n\nconst ProofOfIdentity_doc_upload = () => {\n const [radio_data, setRadioData] = useState();\n const [licenseInformation, setLicenseInformation] = React.useState(false);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const [deleteDocument, result] = useDeleteDocumentMutation();\n const identification = useGetIdentificationDataQuery(trn_id);\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n useEffect(() => {\n setRadioData(identification?.data?.identification_data?.documenttype_id);\n }, [identification]);\n const [open, setOpen] = useState(false);\n const deleteDocumentHandler = (id) => {\n deleteDocument(id).then((response) => { });\n };\n const [docId, setDocId] = useState(\"\");\n // console.log(\"🚀 ~ file: ProofOfIdentity_doc_upload.js ~ line 12 ~ data\", data);\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n const hasSSToken = (isImg = true) => {\n let url = identification?.data?.identification_data.file_image;\n if (!isImg) {\n url = identification?.data?.identification_data.file;\n }\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n };\n const hasSSToken1 = (isImg = true) => {\n let url = identification?.data?.identification_data.backfile;\n if (!isImg) {\n url = identification?.data?.identification_data.file;\n }\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n };\n if (identification.isLoading) return <>Loading;\n return (\n
\n {(documentWiseRules?.USPermanentResidentID !=\"Hide\" || documentWiseRules?.DriverLicense !=\"Hide\" || documentWiseRules?.Passport!=\"Hide\" || documentWiseRules?.Visa!=\"Hide\" ) &&
\n
\n
\n
Proof of Identification:
\n
\n
\n
\n
\n
\n
\n <>\n
\n
\n
\n

\n Proof of Identification Option:\n \n

\n
\n
    \n
  • \n
    \n \n {\n setRadioData(2);\n }}\n name=\"identity-doc\"\n />\n \n
    \n
    \n License\n {\n setLicenseInformation(true);\n }}\n />\n
    \n \n Click the (i) button above for details\n \n
    \n \n \n
    \n
  • \n {documentWiseRules?.Passport!==\"Hide\" &&
  • \n
    \n \n {\n setRadioData(1);\n }}\n name=\"identity-doc\"\n />\n \n Passport\n \n
    \n
  • }\n {documentWiseRules?.USPermanentResidentID !==\"Hide\" &&
  • \n
    \n \n {\n setRadioData(10);\n }}\n name=\"identity-doc\"\n />\n \n Permanent Residence ID\n \n
    \n
  • }\n {documentWiseRules?.Visa!==\"Hide\" &&
  • \n
    \n \n {\n setRadioData(11);\n }}\n name=\"identity-doc\"\n />\n \n Visa\n \n
    \n
  • }\n
\n
\n
\n
\n
\n
\n \n
\n
\n {radio_data == 2 && (<>\n \n {identification?.data?.identification_data\n .file == null && \n Upload Front Side first\n \n }\n )}\n
\n
\n
\n
\n
\n
\n
\n {\n
\n
\n {identification?.data?.identification_data.file !==\n null && (\n
\n \n window\n .open(\n `${hasSSToken(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n {\n setDocId(\n identification?.data?.identification_data\n .application_document_id\n );\n // setDeleteDocumentType(\"application_document_id\");\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n )}\n\n {identification?.data?.identification_data\n .backfile !== null && (\n
\n \n window\n .open(\n `${hasSSToken1(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n {\n setDocId(\n identification?.data?.identification_data\n .BarcodeDocumentID\n );\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n )}\n
\n
\n }\n
\n \n
\n
\n
\n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete document ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n setOpen(false);\n }}\n >\n No\n \n {\n setTimeout(() => {\n deleteDocumentHandler(docId);\n }, 200);\n setOpen(false);\n\n setOpen(false);\n }}\n autoFocus\n >\n Yes\n \n \n \n {\n setLicenseInformation(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n Valid forms of proof identity include a driver's license, US\n passport, Permanent Resident ID, or US VISA.\n \n \n \n {\n setLicenseInformation(false);\n }}\n autoFocus\n >\n Close\n \n \n \n
\n
}\n
\n );\n};\n\nexport default ProofOfIdentity_doc_upload;\n","/* eslint-disable react/jsx-pascal-case */\nimport React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport {\n useGetIncomeBankingQuery,\n useGetSectionStatusQuery,\n} from \"../../services/identificationApi\";\nimport Paystub_Source from \"./Paystub_Source\";\nimport Dialog from \"@mui/material/Dialog\";\nimport DialogActions from \"@mui/material/DialogActions\";\nimport DialogContent from \"@mui/material/DialogContent\";\nimport DialogContentText from \"@mui/material/DialogContentText\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport Button from \"@mui/material/Button\";\nimport { useDocumentContext } from \"../../PrivateRoute\";\n\nconst ProofOfIncome_doc_upload = () => {\n const [employmentIncomeProof, setEmploymentIncomeProof] =\n React.useState(false);\n const [displayContent, setDisplayContent] = React.useState(0);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { isLoading, isSuccess, isError, data } =\n useGetIncomeBankingQuery(trn_id);\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n
\n {documentWiseRules?.Paystub !='Hide' &&
\n
\n
\n
Proof of Employment Income
\n
\n
\n
\n <>\n {data?.employment_details?.employer.map((field, index) => {\n return (\n <>\n \n \n );\n })}\n {data?.employment_details?.employer?.length === 0 && (\n \n )}\n \n
\n {\n setDisplayContent(0);\n setEmploymentIncomeProof(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n

\n IMPORTANT! In order to calculate and verify\n your employment income, if you are currently employed, we will\n need you to upload PDF’s of your earnings statements (paystubs)\n downloaded directly from your payroll website. Please do NOT\n upload pictures or scanned images, and please do NOT “print to\n PDF”, “save as” or otherwise modify your PDF documents in any\n way as doing so can render your documents unverifiable. If you\n have questions, you can find answers to frequently-asked\n questions below by clicking the relevant question in blue.\n

\n setDisplayContent(1)}\n >\n Why original PDF’s?\n \n \n
\n The Docuverus software directly imports original PDF documents,\n which allows our system to more accurately read and validate\n your documents, expedites processing of your application, and\n can help to qualify you more quickly.\n
\n
\n
\n setDisplayContent(2)}\n >\n Newly employed?\n \n \n
\n If you are starting a new job and do not yet have access to\n original PDF’s of your earnings statements, then please check\n the box to the below, which will allow you to upload a PDF of\n your offer letter.\n
\n
\n
\n\n setDisplayContent(3)}\n >\n Self-employed?\n \n \n
\n If you are self-employed and do not receive earnings statements\n / paystubs, then in order to verify your income, we will need\n for you to upload original PDF’s of your 3 most recent personal\n bank statements downloaded directly from your online bank\n account, which you can upload under the banking section below.\n
\n
\n
\n\n {/* setDisplayContent(4)}\n >\n Don’t have access to original PDF’s?\n */}\n {/* \n
\n If you do not have access to original PDF’s of your earnings\n statements / paystubs, then check the box below to certify this.\n You can then upload image documents of your earnings statements\n in the document upload box below.\n
\n
*/}\n
\n\n setDisplayContent(5)}\n >\n Have non-employment income?\n \n \n
\n If you wish to upload proof of non-employment income, you can\n upload relevant documents in the “Proof of Non-Employment\n Income” section below.\n
\n
\n \n \n \n {\n setEmploymentIncomeProof(false);\n setDisplayContent(0);\n }}\n autoFocus\n >\n Close\n \n \n \n
}\n
\n );\n return <>;\n};\n\nexport default ProofOfIncome_doc_upload;\n","/* eslint-disable react/jsx-pascal-case */\nimport React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport {\n useGetIncomeBankingQuery,\n useGetSectionStatusQuery,\n} from \"../../services/identificationApi\";\nimport Paystub_Source from \"./Paystub_Source\";\nimport {\n Alert,\n Button,\n DialogActions,\n DialogContent,\n DialogContentText,\n Stack,\n} from \"@mui/material\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport Dialog from \"@mui/material/Dialog\";\nimport { useDocumentContext } from \"../../PrivateRoute\";\n\nconst ProofOfOtherIncomeDocUpload = () => {\n const [otherIncomeProof, setOtherIncomeProof] = React.useState(false);\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { isLoading, isSuccess, isError, data } =\n useGetIncomeBankingQuery(trn_id);\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n <>\n {true && (\n
\n {documentWiseRules?.OtherIncome !='Hide' &&
\n
\n
\n
Proof of Non-Employment Income
\n
\n
\n
\n <>\n {data?.other_income_details?.otherincome.map((field, index) => (\n \n ))}\n {data?.other_income_details?.otherincome?.length === 0 && (\n \n )}\n \n
\n {\n setOtherIncomeProof(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n PDF bank statements covering 2-3 most recent months downloaded directly from your bank account website are required to verify non-employment income. Please be sure to add bank account information below and please be sure to upload PDF bank statements for each bank account entered.\n \n \n \n {\n setOtherIncomeProof(false);\n }}\n autoFocus\n >\n Close\n \n \n \n
}\n
\n )}\n \n );\n};\n\nexport default ProofOfOtherIncomeDocUpload;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport UploadFile from \"../../components/common/uploadFile/uploadFile\";\nimport {\n useGetIncomeBankingQuery,\n useGetSectionStatusQuery,\n} from \"../../services/identificationApi\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from \"@mui/material\";\nimport { RiInformationLine } from \"react-icons/ri\";\n\nimport FileIcon from \"../../components/common/FileIcon\";\nimport Paystub_Source from \"./Paystub_Source\";\n\nconst ProofOfDoc_doc_upload = () => {\n const [taxOtherDocs, setTaxOtherDocs] = React.useState(false);\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { isLoading, isSuccess, isError, data } =\n useGetIncomeBankingQuery(trn_id);\n return (\n
\n
\n
\n
\n
Other Documents
\n
\n
\n
\n
\n
\n
\n Note:\n If you want to upload any other document, you can do it here\n
\n
\n
\n
\n
\n
\n

\n Tax Documents OR Other Documents:\n setTaxOtherDocs(true)}\n />\n

\n
(W2, 1099, tax return,etc)
\n \n Click the (i) button above for details\n \n
\n
\n \n
\n
\n
\n
\n {\n
\n {data?.other_documents?.map((item, index) => {\n return (\n \n \n
\n );\n })}\n
\n }\n
\n
\n {\n setTaxOtherDocs(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n Only upload clear, complete, straight documents and that original\n PDF's downloaded from an HR or payroll website work best.\n \n \n \n {\n setTaxOtherDocs(false);\n }}\n autoFocus\n >\n Close\n \n \n \n
\n
\n );\n};\n\nexport default ProofOfDoc_doc_upload;\n","import React from \"react\";\nimport { BiTrash } from \"react-icons/bi\";\nimport { BsFillFileEarmarkPdfFill } from \"react-icons/bs\";\nimport { useSelector } from \"react-redux\";\nimport UploadFile from \"../../components/common/uploadFile/uploadFile\";\nimport {\n useDeleteDocumentMutation,\n useGetIdentificationDataQuery,\n} from \"../../services/identificationApi\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport {\n AccordionDetails,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Stack,\n Alert,\n} from \"@mui/material\";\nimport { useDocumentContext } from \"../../PrivateRoute\";\n\nconst ProofOfSSN = () => {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { isLoading, isSuccess, isError, data } =\n useGetIdentificationDataQuery(trn_id);\n const [deleteDocument, result] = useDeleteDocumentMutation();\n const [ssnInformation, setSnnInformation] = React.useState(false);\n const token = useSelector(\n (state) => state.persistedReducer.loginSlice.token\n );\n const ssn_data = data?.ssn_data;\n\n const hasSSToken = () => {\n const url = ssn_data.file_image;\n \n if (!url) {\n return url;\n } else if (url.includes('?')) {\n return url + '&';\n } else {\n return url;\n }\n };\n const { documentData:documentWiseRules, sectionData:paystubWiseRules, identificationData:identificationWiseRules } = useDocumentContext();\n\n return (\n
\n {documentWiseRules?.SSNCard !==\"Hide\" &&
\n
\n
\n
\n
Social Security Number
\n
\n
\n\n {/* */}\n
\n
\n
\n
\n
\n

\n Proof of SSN\n {\n setSnnInformation(true);\n }}\n />\n {/* */}\n

\n
(SSN card or un-redacted W2)
\n \n Click the (i) button above for details\n \n
\n {ssn_data.file && (\n <>\n
\n \n window\n .open(\n `${hasSSToken(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n\n {\n deleteDocument(ssn_data.application_document_id);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n \n )}\n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
}\n {\n setSnnInformation(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n Only upload clear, complete, straight documents.\n \n \n \n {\n setSnnInformation(false);\n }}\n autoFocus\n >\n Close\n \n \n \n
\n );\n};\n\nexport default ProofOfSSN;\n","import React from 'react';\nimport ProofOfIdentity from '../../components/identification/identification-details/proof-of-identity/proof-of-identity';\nimport ProofOfBank_doc_upload from './ProofOfBank_doc_upload';\nimport ProofOfIdentity_doc_upload from './ProofOfIdentity_doc_upload';\nimport ProofOfIncome_doc_upload from './ProofOfIncome_doc_upload';\nimport ProofOfOtherDocDocUpload from './ProofOfOtherIncome_doc_upload';\nimport ProofOfOtherIncomeDocUpload from './ProofOfOtherIncome_doc_upload';\nimport ProofOfDoc_doc_upload from './ProofOfOther_doc_upload';\nimport ProofOfSSN from './ProofOfSSN';\n\nconst Identification_doc_upload = () => {\n \n return (\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n );\n};\n\nexport default Identification_doc_upload;","import React from \"react\";\n//import $ from \"jquery\";\n\nimport {\n useGetIdentificationDataQuery,\n useGetDetailsQuery,\n useAddToReviewQMutation,\n useGetApplicantStatusQuery,\n\n} from \"../../services/identificationApi\";\n\nimport Loader from \"react-loader-spinner\";\nimport { useGetMasterRegistrationDataQuery } from \"../../services/registrationApi\";\nimport { useSelector } from \"react-redux\";\nimport { Outlet } from \"react-router-dom\";\nimport Identification_doc_upload from \"./Identification_doc_upload\";\nimport { toast, ToastContainer } from \"react-toastify\";\n\nconst View = (props) => {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n let { data, isFetching, isLoading1, isError, isSuccess, refetch } =\n useGetApplicantStatusQuery(trn_id);\n\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n let identificationData = useGetIdentificationDataQuery(trn_id);\n \n const { isLoading } = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n const [addToReviewQ, result] = useAddToReviewQMutation();\n\n const addToReviewQfun = async () => {\n const payload = {\n applicationnumber: data?.records?.applicationID,\n isInReview:1\n }\n const response = await toast.promise(addToReviewQ(payload), {\n pending: \"Saving\",\n error: \"Saving failed 🤯\",\n });\n if (response) {\n return \"Done!!\"\n }\n\n }\n\n\n let contextualData = useGetDetailsQuery(trn_id);\n\n\n if (isLoading && identificationData.isLoading && contextualData.isLoading)\n return (\n \n );\n else\n return (\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n {\n if (props?.setOpen) {\n props.setOpen(false);\n addToReviewQfun();\n }\n }}\n className=\"btn btn-info mt-3 mb-2 text-light\"\n >\n Submit\n \n
\n
\n
\n
\n );\n};\n\nexport default View;\n","import { yupResolver } from \"@hookform/resolvers/yup\";\nimport React from \"react\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport GoogleAutoComplete from \"../../components/common/googleAutocomplete/googleAutocomplete\";\nimport InputCurrencyField from \"../../components/registration/Inputs/InputCurrencyField\";\nimport InputDateField from \"../../components/registration/Inputs/InputDateField\";\nimport InputField from \"../../components/registration/Inputs/InputField\";\nimport SelectField from \"../../components/registration/Inputs/SelectField\";\nimport * as yup from \"yup\";\nimport {\n useGetUpdatedDesiredAddressQuery,\n useUpdateDesiredAddessMutation,\n} from \"../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport Loader from \"react-loader-spinner\";\nimport { toast, ToastContainer } from \"react-toastify\";\n\nfunction UpdateDesireAddress() {\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n\n const { data, isLoading, isError } = useGetUpdatedDesiredAddressQuery(trn_id);\n console.log(\"Check Updated Desired Address Data\", data);\n\n const [updateDesiredAddess] = useUpdateDesiredAddessMutation();\n\n const schema = yup.object().shape({\n address: yup.string().trim().required(\"required\").typeError(\"required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n city: yup.string().required(\"required\").matches(/^$|^\\S+.*/g, \"Enter a valid value\"),\n state: yup.object({\n value: yup.string().required(\"required\"),\n label: yup.string(),\n }),\n unitNo: yup\n .number()\n .typeError(\"required\")\n .nullable()\n .min(1),\n // .matches(/^(\\d*[0-9])|^$/, \"Only Numbers Allowed\"),\n rent: yup\n .string()\n .matches(/^(\\d*[0-9])|^$/, \"Only Numbers Allowed\")\n .min(1,'Greater than 0 value required')\n .nullable(true),\n desiredMoveInDate: yup.string().typeError(\"required\").required(\"required\"),\n });\n\n const methods = useForm({\n defaultValues: {\n address: \"\",\n city: \"\",\n state: \"\",\n unitNo: \"\",\n rent: \"\",\n desiredMoveInDate: \"\",\n },\n resolver: yupResolver(schema),\n mode: \"all\",\n });\n const { register, setValue } = methods;\n\n const onSubmit = async (formData) => {\n console.log(\"Form DAta\", formData);\n const response = await toast.promise(\n updateDesiredAddess({\n trn_id: trn_id,\n street_address: formData.address,\n city: formData.city,\n move_in_date: formData.desiredMoveInDate,\n state: formData.state,\n unitNo: formData.unitNo,\n desired_rent: formData.rent,\n }),\n {\n pending: \"Saving In Progress\",\n success: \"Address updated 👌\",\n error: \"Saving failed 🤯\",\n }\n );\n if (response?.data?.success) {\n } else {\n toast.error(\"Error in update address\");\n }\n };\n\n React.useEffect(() => {\n if (data) {\n let state = {\n value: data?.records?.applicantState[0]?.ID,\n label:\n data?.records?.applicantState[0]?.StateShortCode +\n \" - \" +\n data?.records?.applicantState[0]?.StateName,\n };\n let api_data = data?.records?.result?.recordset[0];\n setValue(\"address\", api_data.DesiredPropertyAddress);\n setValue(\"city\", api_data.City);\n setValue(\"state\", state);\n setValue(\"rent\", api_data.DesiredRent);\n setValue(\"desiredMoveInDate\", api_data.DesiredMoveInDate);\n setValue(\"unitNo\", api_data.DesiredUnitNumber);\n }\n }, [data, setValue]);\n if (isLoading)\n return (\n \n );\n else\n return (\n \n
onSubmit(data))}>\n
\n
\n
\n
\n {\n // setNav(2);\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 Save\n \n
\n
\n
\n
\n
\n
\n
\n\n \n \n \n );\n}\n\nexport default UpdateDesireAddress;\n","import React, { useCallback } from \"react\";\nimport Loader from \"react-loader-spinner\";\nimport { useSelector } from \"react-redux\";\nimport {\n useDeleteDocumentMutation,\n useGetSecondaryAppDetailsQuery,\n useSaveSecondaryAppMutation,\n useUploadFileServiceMutation,\n} from \"../../services/identificationApi\";\nimport * as yup from \"yup\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport InputTextArea from \"../../components/registration/Inputs/InputTextArea\";\nimport CustomRadioButton from \"../../components/registration/Inputs/customRadioButton\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport { UploadFile } from \"@mui/icons-material\";\nimport { BsFillFileEarmarkPdfFill } from \"react-icons/bs\";\nimport { BiTrash } from \"react-icons/bi\";\nimport { useDropzone } from \"react-dropzone\";\nimport Dropzone from \"react-dropzone\";\nimport { FaFileUpload } from \"react-icons/fa\";\nimport { Box } from \"@mui/system\";\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n LinearProgress,\n} from \"@mui/material\";\nimport { toast } from \"react-toastify\";\nimport { Button } from \"bootstrap\";\nimport { protocol } from \"../../config\";\nimport { JSONTree } from \"react-json-tree\";\n\nfunction SecondaryApp(props) {\n const [uploadFileRequest, result] = useUploadFileServiceMutation();\n const [saveSecondaryApp, apiResult] = useSaveSecondaryAppMutation();\n const [open, setOpen] = React.useState(false);\n const [uploadFlag, setUploadFlag] = React.useState(false);\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { data, isLoading, isError } = useGetSecondaryAppDetailsQuery(trn_id);\n console.log(\"SecondaryApp:11\", data);\n const [deleteDocument, deleteDocResult] = useDeleteDocumentMutation();\n const deleteDocumentHandler = (id) => {\n deleteDocument(id).then((response) => {\n console.log(\"delete Document resopnse\", response);\n setOpen(false);\n if (response.data.success === true) {\n //\n }\n });\n };\n\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n const schema = yup.object().shape({\n convicted_for_crime: yup.object().shape({\n response: yup\n .string()\n .typeError(\"Response Required\")\n .required(\"Response Required\"),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n }),\n required: yup.string(),\n display: yup.string(),\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n convictions_on_property: yup.object().shape({\n response: yup.string().when(\"convicted_for_crime.response\", {\n is: (value) => {\n return methods.watch(\"convicted_for_crime.response\") == \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n }),\n explanation: yup\n .string()\n .nullable()\n .when(\"response\", {\n is: (value) => {\n return value === \"Yes\";\n },\n then: yup.string().typeError(\"Required\").required(\"Required\"),\n }),\n required: yup.string(),\n display: yup.string(),\n ProfileTabFieldID: yup.string().when(\"required\", {\n is: true,\n then: yup.string().required(\"Required\"),\n }),\n Question: yup.string(),\n }),\n proof_of_document:yup.object().shape({\n response: yup.string().when(\"convicted_for_crime.response\", {\n is: (value) => {\n return methods.watch(\"convicted_for_crime.response\") == \"Yes\";\n },\n then: yup.string().when('required',{\n is:value=>value==true,\n then:yup.string().required('Required').typeError('Required'),\n otherwise:yup.string().nullable()\n }),\n }),\n })\n });\n\n const methods = useForm({\n defaultValues: data,\n resolver: yupResolver(schema),\n mode: \"all\",\n });\n\n React.useEffect(() => {\n const subscribe = methods.watch((value, { name, type }) => {\n console.log(\"VAL:120\", value, name, type);\n if (type === \"change\" && name === \"convicted_for_crime.response\") {\n if (methods.watch(\"convicted_for_crime.response\") == \"No\") {\n methods.setValue(\"convicted_for_crime.explanation\", \"\");\n }\n }\n if (type === \"change\" && name === \"convictions_on_property.response\") {\n if (methods.watch(\"convictions_on_property.response\") == \"No\") {\n methods.setValue(\"convictions_on_property.explanation\", \"\");\n }\n }\n if (type === \"change\" && name === \"proof_of_document.response\") {\n if (methods.watch(\"proof_of_document.response\") == \"No\") {\n // setOpen(true);\n } else {\n // setOpen(false);\n }\n }\n });\n return () => subscribe.unsubscribe();\n }, [methods]);\n\n React.useEffect(() => {\n const data_form_value = methods.getValues();\n const api_data = data;\n const mapData = {\n ...api_data,\n convicted_for_crime: {\n ...api_data?.convicted_for_crime,\n response: data_form_value?.convicted_for_crime?.response\n ? data_form_value?.convicted_for_crime?.response\n : api_data?.convicted_for_crime?.response,\n explanation: data_form_value?.convicted_for_crime?.explanation\n ? data_form_value?.convicted_for_crime?.explanation\n : api_data?.convicted_for_crime?.explanation,\n },\n convictions_on_property: {\n ...api_data?.convictions_on_property,\n response: data_form_value?.convictions_on_property?.response\n ? data_form_value?.convictions_on_property?.response\n : api_data?.convictions_on_property?.response,\n explanation: data_form_value?.convictions_on_property?.explanation\n ? data_form_value?.convictions_on_property?.explanation\n : api_data?.convictions_on_property?.explanation,\n },\n proof_of_document: {\n ...api_data?.proof_of_document,\n files: api_data?.proof_of_document?.files,\n response: data_form_value?.proof_of_document?.response\n ? data_form_value?.proof_of_document?.response\n : api_data?.proof_of_document?.response,\n },\n };\n methods.reset(mapData);\n console.log(\"DFV\", data_form_value);\n console.log(\"AD\", api_data);\n }, [data, methods]);\n\n if (isLoading) {\n return (\n \n );\n }\n if (isError) {\n return (\n <>\n

Error in getting questions.

\n \n );\n }\n const uploadFile = (file) => {\n var formData = new FormData();\n formData.append(\"files\", file);\n formData.append(\"trn_id\", trn_id);\n formData.append(\"document_id\", 15);\n formData.append(\"source_id\", 1); //7929\n console.log(formData);\n\n uploadFileRequest(formData).then((response) => {\n console.log(\"Upload File Response Data\", response);\n if (response.data.success === true) {\n // dispatch(sideNavAction.uploadPetImageId(response?.data?.records?.id));\n }\n // if (props.verifyDetails) {\n // props.verifyDetails();\n // }\n });\n };\n const onSubmit = async (data) => {\n let questions = [];\n questions[0] = data?.convicted_for_crime;\n questions[1] = data?.convictions_on_property;\n questions[2] = data?.proof_of_document;\n let payload = {\n trn_id,\n questions: questions,\n };\n const saveSecondaryAppResponse = await saveSecondaryApp(payload);\n console.log(\"APIRES:37\", saveSecondaryAppResponse);\n if (saveSecondaryAppResponse?.data?.success) {\n toast.success(\"Successfully save 👌\");\n setTimeout(() => {\n props?.setOneStepDialog(false);\n }, 2000);\n } else {\n toast.error(\"Saving failed 🤯\");\n }\n\n const response = await toast.promise(saveSecondaryApp(payload), {\n pending: \"Saving In Progress\",\n success: \"Successfully save 👌\",\n error: \"Saving failed 🤯\",\n });\n if (response) {\n //\n }\n };\n\n const hasSSToken = (isImg=true) => {\n if(!data?.proof_of_document?.files)\n return null;\n let url = data?.proof_of_document?.files[1];\n if(!isImg)\n {\n url=data?.proof_of_document?.files[0];\n }\n if (!url) {\n return url;\n } else if (url.includes(\"?\")) {\n return url + \"&\";\n } else {\n return url;\n }\n console.log(url);\n return url;\n };\n\n\n return (\n \n
onSubmit(data))}>\n
\n
\n
\n
\n
\n <>\n
\n
\n \n
\n
\n {methods.watch(\"convicted_for_crime.response\") === \"Yes\" && (\n
\n \n Please describe the nature of your criminal history,\n including the offense(s) committed, when the offense(s)\n were committed, if applicable, any mitigating\n information related to the offense(s) committed, and if\n applicable, any evidence of rehabilitative actions taken\n following your conviction(s).\n \n
\n
\n
\n \n
\n
\n
\n )}\n \n
\n {\n <>\n {methods.watch(\"convicted_for_crime.response\") === \"Yes\" && (\n <>\n
\n <>\n
\n
\n \n
\n
\n {methods.watch(\"convictions_on_property.response\") ===\n \"Yes\" && (\n
\n \n Please describe the circumstances surrounding\n the offense(s) committed on rented property.\n \n
\n
\n
\n \n
\n
\n
\n )}\n \n
\n
\n
\n
\n
\n
\n {\n setOpen(true);\n }}\n type=\"secondaryApp\"\n label=\"3. Do you have any related proof documentation or character references you wish to upload?\"\n register={methods.register(\n \"proof_of_document.response\"\n )}\n />\n
\n
\n
\n
\n <>\n {methods.watch(\"proof_of_document.response\") ==\n \"Yes\" && (\n
\n
\n
\n
\n

\n Proof Documentation / Character\n Reference{\" \"}\n *\n \n \n \n

\n \n Click the (i) button above for details\n \n
\n {methods.watch(\n \"proof_of_document.files\"\n )?.length > 0 && (\n
\n \n window\n .open(\n `${hasSSToken(false)}?token=${token}`,\n \"_blank\"\n )\n .focus()\n }\n />\n\n {\n // setDeleteDocumentType(\"application_document_id\");\n setOpen(true);\n }}\n title={`Delete`}\n className=\"btn btn-link btn-sm text-danger\"\n >\n Delete\n \n
\n //
\n\n // \n // window\n // .open(\n // `${data?.proof_of_document?.files[1]}`,\n // \"_blank\"\n // )\n // .focus()\n // }\n // />\n // {\n // setOpen(true);\n // }}\n // title={`Delete`}\n // className=\"btn btn-link btn-sm text-danger\"\n // >\n // Delete\n // \n //
\n )}\n
\n
\n {!!data?.proof_of_document?.files || <>\n {\n for (let f of file) {\n console.log(\n \"Check File:223\",\n file\n );\n uploadFile(f);\n }\n\n // console.log(\"🚀 ~ file: CustomUpload.js ~ line 55 ~ CustomUpload ~ file\", file);\n }}\n accept=\"application/pdf\"\n minSize={1024}\n maxSize={3072000}\n >\n {({\n getRootProps,\n getInputProps,\n isDragActive,\n isDragAccept,\n isDragReject,\n }) => {\n const additionalClass = isDragAccept\n ? \"accept\"\n : isDragReject\n ? \"reject\"\n : \"\";\n\n return (\n \n \n \n \n \n

\n File Upload\n

\n
\n );\n }}\n \n }\n
\n
\n {result.status === \"pending\" && (\n \n \n \n )}\n
\n
\n
\n )}\n \n
\n
\n
\n \n )}\n \n }\n
\n \n
\n
\n
\n {\n setOpen(false);\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n {`Are you sure want to delete document ?`}\n \n \n \n Warning! Once deleted cannot revert back .\n \n \n \n {\n methods.setValue(\"proof_of_document.response\", \"Yes\");\n setOpen(false);\n }}\n >\n No\n \n {\n //Delete logic\n let filePath = data?.proof_of_document?.files[0];\n let newPath = filePath.split(\"/\");\n deleteDocumentHandler(newPath[newPath?.length - 1]);\n }}\n autoFocus\n >\n {deleteDocResult.isLoading ? (\n \n ) : (\n \"Yes\"\n )}\n \n \n \n
\n
\n
\n );\n}\n\nexport default SecondaryApp;\n","import { yupResolver } from \"@hookform/resolvers/yup\";\nimport React from \"react\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport GoogleAutoComplete from \"../../components/common/googleAutocomplete/googleAutocomplete\";\nimport InputCurrencyField from \"../../components/registration/Inputs/InputCurrencyField\";\nimport InputDateField from \"../../components/registration/Inputs/InputDateField\";\nimport InputField from \"../../components/registration/Inputs/InputField\";\nimport SelectField from \"../../components/registration/Inputs/SelectField\";\nimport * as yup from \"yup\";\nimport {\n useGetUpdatedDesiredAddressQuery,\n useGetUpdatedFloorsAndUnitQuery,\n useUpdateDesiredAddessMutation,\n useUpdateFloorPlanUnitMutation,\n} from \"../../services/identificationApi\";\nimport { useSelector } from \"react-redux\";\nimport Loader from \"react-loader-spinner\";\nimport { toast, ToastContainer } from \"react-toastify\";\n\nfunction UpdateDesireAddressProperty(props) {\n console.log(\"UpdateDesireAddressProperty Props:19\", props);\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n\n const { data, isLoading, isError } = useGetUpdatedDesiredAddressQuery(trn_id);\n console.log(\"Check Updated Desired Address Data\", data);\n\n const getUpdatedFloorsAndUnit = useGetUpdatedFloorsAndUnitQuery(trn_id);\n console.log(\"Check Updated Floor and Unit\", getUpdatedFloorsAndUnit?.data);\n\n const [updateFloorPlanUnit] = useUpdateFloorPlanUnitMutation();\n\n const schema = yup.object().shape({\n // address: yup.string().required(\"required\"),\n // city: yup.string().required(\"required\"),\n // state: yup.object({\n // value: yup.string().required(\"required\"),\n // label: yup.string(),\n // }),\n // unitNo: yup\n // .string()\n // .nullable()\n // .matches(/^(\\d*[0-9])|^$/, \"Only Numbers Allowed\"),\n // rent: yup\n // .string()\n // .matches(/^(\\d*[0-9])|^$/, \"Only Numbers Allowed\")\n // .nullable(true),\n // desiredMoveInDate: yup.date().typeError(\"required\").required(\"required\"),\n // floor: yup.object({\n // value: yup.string().required(\"required\"),\n // label: yup.string(),\n // }),\n // Unit: yup.object({\n // value: yup.string().required(\"required\"),\n // label: yup.string(),\n // }),\n });\n\n const methods = useForm({\n defaultValues: {\n // address: \"\",\n // city: \"\",\n // state: \"\",\n // unitNo: \"\",\n // rent: \"\",\n // desiredMoveInDate: \"\",\n floor: \"\",\n Unit: \"\",\n },\n resolver: yupResolver(schema),\n mode: \"all\",\n });\n const { register, setValue, watch, getValues } = methods;\n\n const onSubmit = async (formData) => {\n console.log(\"Form DAta\", formData, trn_id);\n let payload = {\n trn_id: trn_id,\n floorId: formData?.floor?.value,\n unitId: formData?.Unit?.value,\n };\n const response = await toast.promise(updateFloorPlanUnit(payload), {\n pending: \"Saving In Progress\",\n success: \"Floor Plan Unit updated 👌\",\n error: \"Saving failed 🤯\",\n });\n if (response?.data?.success) {\n } else {\n toast.error(\"Error in update address\");\n }\n };\n\n React.useEffect(() => {\n if (data) {\n let state = {\n value: data?.records?.applicantState[0]?.ID,\n label:\n data?.records?.applicantState[0]?.StateShortCode +\n \" - \" +\n data?.records?.applicantState[0]?.StateName,\n };\n let api_data = data?.records?.result?.recordset[0];\n setValue(\"address\", api_data.DesiredPropertyAddress);\n setValue(\"city\", api_data.City);\n setValue(\"state\", state);\n setValue(\"rent\", api_data.DesiredRent);\n setValue(\"desiredMoveInDate\", api_data.DesiredMoveInDate);\n setValue(\"unitNo\", api_data.DesiredUnitNumber);\n }\n }, [data, setValue]);\n\n const getUnitsList = (floorId) => {\n console.log(\"Check unit filter\", floorId);\n if (!floorId) return [];\n const unitsFilter = props?.units.filter((item) => {\n return item.FloorPlanID === floorId;\n });\n\n const units = unitsFilter.map((item, index) => {\n return {\n value: item.ID || index,\n label: item.UnitName,\n };\n });\n\n if (units.length) return units;\n return [];\n };\n\n React.useEffect(() => {\n const subscribe = watch((value, { name, type }) => {\n if (name === \"floor\" && type === \"change\") {\n setValue(\"Unit\", \"\");\n }\n });\n return () => subscribe.unsubscribe();\n }, [setValue, watch]);\n\n if (isLoading)\n return (\n \n );\n else\n return (\n \n
\n
\n
\n
\n
\n {\n // setNav(2);\n }}\n >\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n Save\n \n
\n
\n
\n
\n
\n
\n
\n\n \n \n \n );\n}\n\nexport default UpdateDesireAddressProperty;\n","import {\n AppBar,\n Button,\n Dialog,\n DialogContent,\n Divider,\n IconButton,\n List,\n ListItem,\n ListItemText,\n Slide,\n Toolbar,\n Typography,\n withStyles,\n} from \"@mui/material\";\nimport React, { useEffect } from \"react\";\nimport { FaCheck } from \"react-icons/fa\";\nimport Loader from \"react-loader-spinner\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useNavigate } from \"react-router-dom\";\nimport SuperHeader from \"../components/common/superHeader/superHeader\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport IdentificationDetails from \"../components/identification/identification-details/identification-details\";\nimport {\n useGetApplicantStatusQuery,\n useGetIdentificationDataQuery,\n useAddToReviewQMutation,\n useGetIncomeBankingQuery,\n} from \"../services/identificationApi\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport { useGetMasterRegistrationDataQuery } from \"../services/registrationApi\";\nimport View from \"./Doc_upload/view\";\nimport { RouteGuardLoginRegistration } from \"../PrivateRoute\";\nimport UpdateDesireAddress from \"./Update_Address/UpdateDesireAddress\";\nimport SecondaryApp from \"./Secondary_App/SecondaryApp\";\nimport {\n formSubmitStatus,\n setViewOnlyFlag,\n} from \"../store/registration/fromSubmitSlice\";\nimport { RiInformationLine } from \"react-icons/ri\";\nimport { protocol } from \"../config\";\nimport UpdateDesireAddressProperty from \"./Update_Address/UpdateDesireAddressProperty\";\nimport { JSONTree } from \"react-json-tree\";\n\nconst Transition = React.forwardRef(function Transition(props, ref) {\n return ;\n});\n\nfunction Success() {\n const dispatch = useDispatch();\n const [addToReviewQ, result] = useAddToReviewQMutation();\n\n const [open, setOpen] = React.useState(false);\n const [updateRegisterDialog, setUpdateRegisterDialog] = React.useState(false);\n const [updateRegisterDialog1, setUpdateRegisterDialog1] =\n React.useState(false);\n const [oneStepDialog, setOneStepDialog] = React.useState(false);\n\n const handleClickOpen = () => {\n setOpen(true);\n };\n const handleClose = () => {\n setOpen(false);\n };\n\n const navigate = useNavigate();\n\n const token = useSelector((state) => state.persistedReducer.loginSlice.token);\n const applicationType = useSelector(\n (state) => state.persistedReducer.loginSlice.applicationType\n );\n console.log(\n \"🚀 ~ file: Success.js ~ line 60 ~ Success ~ applicationType\",\n applicationType\n );\n\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const url = useSelector(\n (state) => state.persistedReducer.loginSlice.urlGeneratedAts\n );\n const getMasterRegistrationdata = useGetMasterRegistrationDataQuery({\n trn_id,\n url,\n });\n\n console.log(\"GET MASTER REGISTER DATA:81\", getMasterRegistrationdata);\n let identificationData = useGetIdentificationDataQuery(trn_id);\n let IncomeBankData = useGetIncomeBankingQuery(trn_id);\n let { data, isFetching, isLoading, isError, isSuccess, refetch } =\n useGetApplicantStatusQuery(trn_id);\n console.log(\"IncomeBankData\", IncomeBankData?.data?.employment_details?.employer?.[0]?.files != null);\n\n useEffect(() => {\n console.log(\"SUCCESS:71\");\n dispatch(setViewOnlyFlag(false));\n if (!token) {\n navigate(\"/login\");\n }\n refetch();\n }, []);\n\n if (isLoading)\n return (\n \n );\n\n const addToReviewQfun = async () => {\n const payload = {\n applicationnumber: data?.records?.applicationID,\n isInReview:1\n }\n const response = await toast.promise(addToReviewQ(payload), {\n pending: \"Saving\",\n error: \"Saving failed 🤯\",\n });\n if (response) {\n return \"Done!!\"\n }\n\n }\n\n return (\n
\n \n
\n
\n
\n
\n
\n \n \n {getMasterRegistrationdata?.data?.records?.subscriber_name}\n \n
\n
\n
\n \n
\n Name:{\" \"}\n \n {\" \"}\n {\n identificationData?.data?.applicant?.first_name\n }{\" \"}\n {identificationData?.data?.applicant?.last_name}\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n <>\n
\n
\n \n
\n
\n
\n

Congratulations

\n
\n
\n
\n
Application ID
\n \n {data?.records?.applicationID}\n \n
\n
\n
\n Application Status\n
\n \n {data?.records?.application_status}\n \n
\n
\n \n {/* data?.records?.secondary_status */}\n {data?.records?.secondary_status && (\n <>\n {data?.records?.secondary_complete === false && (\n
\n \n
\n )}\n
\n {data?.records?.secondary_complete === false && (\n
\n Application Incomplete! You are required to complete a\n supplemental application regarding criminal background\n
\n )}\n setOneStepDialog(true)}\n className=\"cursor-pointer\"\n style={{\n color: data?.records?.secondary_complete\n ? \"#8cc474\"\n : \"red\",\n }}\n >\n Please complete your  \n \n {data?.records?.secondary_complete\n ? \"Secondary Application Completed\"\n : \"Secondary Application\"}\n \n \n
\n
\n \n )}\n {data?.records?.document_status === false && (\n <>\n
\n
\n One more step\n
\n

\n We just need to have you complete uploading any missing\n documents so that we can verify your identity and income,\n which is required to process your application. Click the\n link below to navigate to the document upload section\n where you can review what you've already uploaded, find\n relevant instructions, and upload any missing or required\n documents.\n

\n
\n
\n
\n \n Application Incomplete! You have not yet provided required\n proof documents.
\n
\n Complete your{\" \"}\n \n Document Upload\n {\" \"}\n \n
\n \n )}\n\n
\n {data?.records?.document_status && (\n
\n
\n
\n View your{\" \"}\n \n Document Upload\n {\" \"}\n
\n
\n )}\n {applicationType == \"Office\" || applicationType == \"Agent\" ? (\n
\n
\n View/Update your{\" \"}\n setUpdateRegisterDialog(true)}\n className=\"doc-upload-text cursor-pointer\"\n >\n Desired Address\n {\" \"}\n
\n
\n ) : (\n
\n
\n View/Update your{\" \"}\n setUpdateRegisterDialog1(true)}\n className=\"doc-upload-text cursor-pointer\"\n >\n Desired Floor/Unit\n {\" \"}\n
\n
\n )}\n
\n
\n
\n {/* */}\n
\n\n
\n {\n navigate(\"/viewconsent\");\n }}\n className=\"btn btn-outline-info ml-4\"\n >\n View Consent\n \n \n
\n \n {/* */}\n \n \n {\n\n handleClose();\n if (identificationData?.data?.identification_data?.file != null || \n identificationData?.data?.ssn_data?.file != null || \n IncomeBankData?.data?.employment_details?.employer?.[0]?.files?.length > 0 ||\n IncomeBankData?.data?.banking_details?.banking?.[0]?.files?.length > 0 ||\n IncomeBankData?.data?.other_documents?.[0]?.files?.length > 0||\n IncomeBankData?.data?.other_income_details?.otherincome?.[0]?.files?.length > 0\n ) {\n debugger;\n addToReviewQfun();\n } else {\n console.log(\"Condition not met, function not called.\");\n }\n\n }}\n aria-label=\"close\"\n >\n \n \n \n Docupload\n \n \n \n \n \n \n \n setUpdateRegisterDialog1(false)}\n TransitionComponent={Transition}\n >\n \n \n setUpdateRegisterDialog1(false)}\n aria-label=\"close\"\n >\n \n \n \n Desired Floor/Unit\n \n \n \n \n \n \n \n\n setUpdateRegisterDialog(false)}\n TransitionComponent={Transition}\n >\n \n \n setUpdateRegisterDialog(false)}\n aria-label=\"close\"\n >\n \n \n \n Desired Address\n \n \n \n \n \n \n \n setOneStepDialog(false)}\n TransitionComponent={Transition}\n >\n \n \n setOneStepDialog(false)}\n aria-label=\"close\"\n >\n \n \n \n Secondary App\n \n \n \n \n \n \n \n
\n );\n}\n\nexport default Success;\n","import moment from \"moment\";\nimport React from \"react\";\nimport Loader from \"react-loader-spinner\";\nimport { useSelector } from \"react-redux\";\nimport SuperHeader from \"../components/common/superHeader/superHeader\";\nimport { useGetTermandCondtionQuery, useGetViewConsentQuery } from \"../services/identificationApi\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { AiFillWarning } from \"react-icons/ai\";\nimport { useNavigate } from \"react-router-dom\";\nimport { protocol } from \"../config\";\nimport parse from 'html-react-parser';\nimport RenderQuillText from \"./instruction/RenderQuillText\";\n\nfunction ViewConsent() {\n const navigate = useNavigate();\n const trn_id = useSelector(\n (state) => state.persistedReducer.loginSlice.trnId\n );\n const { data, isLoading } = useGetViewConsentQuery(trn_id);\n const { data: termandCondtion, error, isLoading: isLoadingTermandCondtion } = useGetTermandCondtionQuery(trn_id)\n console.log(\"Check get Concent Details\", data);\n if (isLoading)\n return (\n \n );\n else {\n return (\n
\n \n
\n
\n \n navigate(-1)}\n size={25}\n />\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

\n Agreed to Terms, Conditions & Signature\n

\n {termandCondtion?.records?.text && (<>\n {/* {parse(termandCondtion?.records?.text)} */}\n \n )}\n\n {termandCondtion?.records?.subscriber_text && (<>\n
\n {/* {parse(termandCondtion?.records?.subscriber_text)} */}\n \n )}\n {/*

\n Docuverus charges a NON-REFUNDABLE APPLICATION FEE of\n $5.00 per applicant (the \"Application Fee\"), which covers\n certain processing and screening service costs associated\n with your application submitted herein (the\n \"Application\"), such as verifying your income, checking\n your credit, and conducting a background check. Under no\n circumstances shall Applicant be entitled to a refund or\n charge-back of the Application Fee. The Application Fee,\n which must be paid at the time that the Applicant submits\n a rental application, is separate and apart from any real\n estate brokerage that Applicant may be responsible for\n paying to a Broker or my have otherwise agreed to pay to a\n Broker.\n

\n

\n Applicant represents and warrants that all of the\n information contained in the Application is true and\n accurate. Applicant expressly understands and agrees that\n submitting this Application does not guarantee that it\n will be accepted by the applicable landlord or property\n management company. Applicant acknowledges and agrees that\n Application acceptance is solely within the discretion of\n landlord and/or property management company and neither\n Docuverus, nor National Tenant Network (defined below), is\n responsible for determining whether Applicant's\n application is accepted or denied. Applicant further\n acknowledges and agrees that landlord(s) and/or property\n management company may deny Applicant's application or\n terminate any lease agreement with Applicant if any\n information contained herein is false, incomplete,\n unverifiable, and/or misleading. Applicant shall not be\n entitled to a refund or charge-back of the Application Fee\n in the event that the application is rejected or denied\n for any reason.\n

\n

\n As part of the application process, National Tenant\n Network will conduct a background screening report, In\n order for National Tenant Network and any prospective\n landlord to process your Application, Applicant must\n provide written consent to conduct or run certain\n searches, inquiries, or reports, which may include\n accessing your credit report (from Equifax, Experian or\n TransUnion), eviction report, criminal background report,\n sex offender report, income/employment verification,\n residency verification and OFAC terrorist search. By\n completing this Application and signing below, you consent\n to National Tenant Network conducting such searches in\n accordance with the Fair Credit Reporting Act. You are\n also consenting to Docuverus sharing your Application with\n National Tenant Network for the purpose of running a\n background screening report.\n

\n

\n Applicant consents to Docuverus sharing all application\n information and documents with Anytown Real Estate Ltd,\n and Applicant also consents to Anytown Real Estate Ltd\n providing a copy of Applicant's application and/or\n background report to a prospective Landlord and/or his/her\n respective listing agent, if applicable, in connection\n with the rental property applied for.\n

\n

\n Federal and State Disclosures
\n Click here for a Summary of Your Rights Under the Fair\n Credit Reporting Act.\n

\n

\n Washington State applicants only: You also have the right\n to request from the consumer reporting agency a written\n summary of your rights and remedies under the Washington\n Fair Credit Reporting Act.\n

\n

\n New York/Maine applicants only: You have the right to\n inspect and receive a copy of any investigative consumer\n report requested by the Landlord by contacting the\n consumer reporting agency identified directly. You may\n also contact the Company to request the name, address and\n telephone number of the nearest unit of the consumer\n reporting agency designated to handle inquiries, which the\n Company shall provide within 5 days.\n

\n

\n New York City applicants only: Pursuant to federal, state,\n and local law: 1) If we take adverse action against you on\n the basis of information contained in a tenant screening\n report, we must notify you that such action was taken and\n supply you with the name and address of the consumer\n reporting agency that provided the tenant screening report\n on the basis of which such action was taken; 2) if any\n adverse action is taken against you based on information\n contained in a tenant screening report, you have the right\n to inspect and receive a free copy of that report by\n contacting the consumer reporting agency: NTN-New York, PO\n Box 1023, Turnersville, NJ 08012, Telephone: 800-422-8299;\n 3) every tenant or prospective tenant is entitled to one\n free tenant screening report from each national consumer\n reporting agency annually, in addition to a credit report\n that should be obtained from www.annualcreditreport.com;\n and 4) every tenant or prospective tenant may dispute\n inaccurate or incorrect information contained in a tenant\n screening report directly with the consumer reporting\n agency.\n

\n

\n California applicants or residents only: By signing this\n application, you also acknowledge receipt of the NOTICE\n REGARDING BACKGROUND INVESTIGATION PURSUANT TO CALIFORNIA\n LAW. Please contact the consumer reporting agency if you\n would like to receive a copy of an investigative consumer\n report or consumer credit report at no charge if one is\n obtained by the Company whenever you have a right to\n receive such a copy under California.\n

*/}\n
\n
\n {data?.records?.length > 0 && (\n <>\n
\n
\n
\n
\n
\n
\n Signature:\n
\n
\n \n
\n
\n
\n
\n IP Address:\n
\n
\n {`${data?.records[0].ip}`}\n
\n
\n
\n
\n Application Date:\n
\n
\n \n {moment(\n `${data?.records[0]?.InviteInfo?.CreatedOn}`\n ).format(\"MM-DD-YYYY\")}\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

\n Application Payment\n

\n
\n
\n Card holder name:\n
\n
\n {`${data?.records[0].name_on_card}`}\n
\n
\n
\n
\n Amount collected:\n
\n
\n {`$ ${\n data?.records[0].amount \n } `}\n
\n
\n
\n
\n Payment Date:\n
\n
\n \n {moment(\n `${data?.records[0]?.transaction_date}`\n ).format(\"MM-DD-YYYY\")}\n \n
\n
\n
\n
\n
\n
\n Card Number:\n
\n\n
\n \n {`XXXX-XXXX-XXXX-${data?.records[0]?.card_number}`}\n \n
\n
\n\n
\n
\n Billing address :\n
\n
\n {`${data?.records[0].city} ${data?.records[0].state}`}\n
\n
\n
\n
\n
\n
\n \n )}\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default ViewConsent;\n","import React, { useState, useRef, useEffect } from \"react\";\nimport { AppBar, Toolbar, Typography, Box, Button } from '@mui/material';\n\nimport IconButton from \"@mui/material/IconButton\";\nimport ArrowBack from \"@mui/icons-material/ArrowBack\";\nimport { CircularProgress, Container, LinearProgress, Stack } from \"@mui/material\";\nimport { useNavigate, useParams } from \"react-router-dom\";\nimport {\n useMobileScanSaveMutation,\n} from \"../../services/identificationApi\";\nimport PhotoCameraOutlinedIcon from '@mui/icons-material/PhotoCameraOutlined';\nexport function getOS() {\n const userAgent = window.navigator.userAgent,\n platform = window.navigator?.userAgentData?.platform || window.navigator.platform,\n macosPlatforms = ['macOS', 'Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'],\n windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE'],\n iosPlatforms = ['iPhone', 'iPad', 'iPod'];\n let os = null;\n\n if (macosPlatforms.indexOf(platform) !== -1) {\n os = 'MacOS';\n } else if (iosPlatforms.indexOf(platform) !== -1) {\n os = 'iOS';\n } else if (windowsPlatforms.indexOf(platform) !== -1) {\n os = 'Windows';\n } else if (/Android/.test(userAgent)) {\n os = 'Android';\n } else if (/Linux/.test(platform)) {\n os = 'Linux';\n }\n\n return os;\n}\n\nconst CameraScan = () => {\n const videoRef = useRef(null);\n const [Save, Result] = useMobileScanSaveMutation();\n const navigate = useNavigate();\n let { id, docId } = useParams();\n const [uploadImag, setUploadimg] = useState('')\n\n const handleFileChange = (event) => {\n const file = event.target.files[0];\n if (file) {\n const allowedExtensions = /(\\.jpg|\\.jpeg|\\.png|\\.gif|\\.heic|\\.webp|\\.bmp|\\.svg)$/i;\n if (!allowedExtensions.test(file.name)) {\n alert('File format not supported');\n return;\n }\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => {\n const base64String = reader.result;\n console.log('Base64:', base64String);\n setUploadimg(base64String);\n if (base64String) {\n Save({\n file: base64String,\n document_id: docId,\n trn_id: id,\n data: {\n OCRData: null,\n raw_data: null,\n },\n }).then((res) => {\n if (res?.data?.status === 200) {\n if (docId !== \"2\") {\n navigate(`/scan/${id}/success`, { replace: true });\n } else {\n navigate(`/scan/${id}/back/${docId}`, { replace: true });\n }\n } else {\n alert(\"Fail to save, try again\");\n setUploadimg(\"\")\n }\n });\n }\n };\n reader.onerror = (error) => {\n console.error('Error converting file to base64:', error);\n alert(\"Error converting file, try again\");\n setUploadimg(\"\")\n };\n }\n };\n const fileInputRef = useRef(null);\n\n const handleFileUpload = () => {\n fileInputRef.current.click();\n };\n\n useEffect(() => {\n setTimeout(() => { fileInputRef.current.click(); }, 500)\n\n }, [])\n\n \n\n return (\n <>\n \n \n \n {\n navigate(-1);\n }}\n size=\"large\"\n edge=\"start\"\n color=\"inherit\"\n aria-label=\"menu\"\n sx={{ mr: 2 }}\n >\n \n \n Docuverus | Front Side Upload\n \n \n \n {uploadImag ? : <>\n \n \n \n Snap a picture or upload from your phone\n \n {Result.isError && \n {Result.error.status == 401 ? 'The session has expired. Please close the tab and scan the barcode again.' : 'Fail to upload,Pls try again!'}\n }\n\n }\n {Result.isLoading && \n \n Please wait file Uploading...\n }\n \n \n \n );\n};\nexport default CameraScan;","import DBR from \"dynamsoft-javascript-barcode\";\n\n/** LICENSE ALERT - THE END */\nDBR.organizationID = \"100838422\";\nDBR.handshakeCode = \"100838422-100839496\";\n\nDBR.BarcodeReader.engineResourcePath = \"https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/\";\nDBR.BarcodeReader._onLog = console.log;\nexport default DBR;","import React, { useEffect, useState } from 'react';\nimport DBR from \"../../dbr\";\nimport AppBar from '@mui/material/AppBar';\nimport Box from '@mui/material/Box';\nimport Toolbar from '@mui/material/Toolbar';\nimport Typography from '@mui/material/Typography';\nimport { Button } from \"@mui/material\";\nimport { useNavigate, useParams } from 'react-router-dom';\nimport './style.css';\nconst DLAbbrDesMap = {\n 'DCA': 'Jurisdiction-specific vehicle class',\n 'DBA': 'Expiry Date',\n 'DCS': 'Last Name',\n 'DAC': 'First Name',\n 'DBD': 'Issue Date',\n 'DBB': 'Birth Date',\n 'DBC': 'Gender',\n 'DAY': 'Eye Color',\n 'DAU': 'Height',\n 'DAG': 'Street',\n 'DAI': 'City',\n 'DAJ': 'State',\n 'DAK': 'Zip',\n 'DAQ': 'License Number',\n 'DCF': 'Document Discriminator',\n 'DCG': 'Issue Country',\n 'DAH': 'Street 2',\n 'DAZ': 'Hair Color',\n 'DCI': 'Place of birth',\n 'DCJ': 'Audit information',\n 'DCK': 'Inventory Control Number',\n 'DBN': 'Alias / AKA Family Name',\n 'DBG': 'Alias / AKA Given Name',\n 'DBS': 'Alias / AKA Suffix Name',\n 'DCU': 'Name Suffix',\n 'DCE': 'Physical Description Weight Range',\n 'DCL': 'Race / Ethnicity',\n 'DCM': 'Standard vehicle classification',\n 'DCN': 'Standard endorsement code',\n 'DCO': 'Standard restriction code',\n 'DCP': 'Jurisdiction-specific vehicle classification description',\n 'DCQ': 'Jurisdiction-specific endorsement code description',\n 'DCR': 'Jurisdiction-specific restriction code description',\n 'DDA': 'Compliance Type',\n 'DDB': 'Card Revision Date',\n 'DDC': 'HazMat Endorsement Expiration Date',\n 'DDD': 'Limited Duration Document Indicator',\n 'DAW': 'Weight(pounds)',\n 'DAX': 'Weight(kilograms)',\n 'DDH': 'Under 18 Until',\n 'DDI': 'Under 19 Until',\n 'DDJ': 'Under 21 Until',\n 'DDK': 'Organ Donor Indicator',\n 'DDL': 'Veteran Indicator',\n // old standard\n 'DAA': 'Customer Full Name',\n 'DAB': 'Customer Last Name',\n 'DAE': 'Name Suffix',\n 'DAF': 'Name Prefix',\n 'DAL': 'Residence Street Address1',\n 'DAM': 'Residence Street Address2',\n 'DAN': 'Residence City',\n 'DAO': 'Residence Jurisdiction Code',\n 'DAR': 'License Classification Code',\n 'DAS': 'License Restriction Code',\n 'DAT': 'License Endorsements Code',\n 'DAV': 'Height in CM',\n 'DBE': 'Issue Timestamp',\n 'DBF': 'Number of Duplicates',\n 'DBH': 'Organ Donor',\n 'DBI': 'Non-Resident Indicator',\n 'DBJ': 'Unique Customer Identifier',\n 'DBK': 'Social Security Number',\n 'DBM': 'Social Security Number',\n 'DCH': 'Federal Commercial Vehicle Codes',\n 'DBR': 'Name Suffix',\n 'PAA': 'Permit Classification Code',\n 'PAB': 'Permit Expiration Date',\n 'PAC': 'Permit Identifier',\n 'PAD': 'Permit IssueDate',\n 'PAE': 'Permit Restriction Code',\n 'PAF': 'Permit Endorsement Code',\n 'ZVA': 'Court Restriction Code',\n 'DAD': 'Middle Name'\n};\n\nexport const parseDriverLicense = txt => {\n let lines = txt.split('\\n');\n let abbrs = Object.keys(DLAbbrDesMap);\n let map = {};\n lines.forEach((line, i) => {\n let abbr;\n let content;\n if (i === 1) {\n abbr = 'DAQ';\n content = line.substring(line.indexOf(abbr) + 3);\n } else {\n abbr = line.substring(0, 3);\n content = line.substring(3).trim();\n }\n if (abbrs.includes(abbr)) {\n map[abbr] = {\n description: DLAbbrDesMap[abbr],\n content: content\n };\n }\n });\n return map;\n};\n\nconst BackBarcodeScan = () => {\n const [pscannerS, setPscannerS] = useState(null);\n let bDestroyed = false;\n let pScanner = null;\n let elRef = React.createRef();\n const navigate = useNavigate();\n let { id, docId } = useParams();\n useEffect(() => {\n window.history.pushState(null, null, window.location.href);\n window.onpopstate = function (event) {\n window.history.go(1);\n };\n }, [])\n useEffect(() => {\n (async () => {\n try {\n let scanner = await (pScanner = pScanner || DBR.BarcodeScanner.createInstance());\n let settings = await scanner.getRuntimeSettings();\n settings.region.regionMeasuredByPercentage = 1;\n settings.region.regionLeft = 5;\n settings.region.regionTop = 25;\n settings.region.regionRight = 95;\n settings.region.regionBottom = 65;\n await scanner.updateRuntimeSettings(settings);\n scanner.onFrameRead = results => {\n };\n scanner.onUnduplicatedRead = (txt, result) => {\n if (txt.length > 0) {\n navigate(`/scan/${id}/camera_back/${docId}?raw=${encodeURIComponent(txt)}`, { replace: true });\n }\n };\n\n let runtimeSettings = await scanner.getRuntimeSettings();\n runtimeSettings.barcodeFormatIds = DBR.EnumBarcodeFormat.BF_PDF417;\n runtimeSettings.LocalizationModes = [2, 8, 0, 0, 0, 0, 0, 0];\n runtimeSettings.deblurLevel = 2;\n await scanner.updateRuntimeSettings(runtimeSettings);\n\n elRef.current.appendChild(scanner.getUIElement());\n setPscannerS(pScanner);\n await scanner.open();\n\n } catch (ex) {\n console.error(ex);\n }\n })();\n return () => {\n (async () => {\n bDestroyed = true;\n if (pScanner) {\n (await pScanner).destroy();\n }\n })()\n }\n }, [id])\n\n\n\n\n return (\n
\n \n \n \n \n Docuverus | Scan Barcode\n \n \n \n \n \n
\n

Align the barcode in the viewport and hold your device still. The barcode will then scan automatically.

\n\n
\n \n
\n
\n\n
\n );\n};\n\nexport default BackBarcodeScan;","export default __webpack_public_path__ + \"static/media/cloud-icon.76d4e9d1.svg\";","export default __webpack_public_path__ + \"static/media/pic-icon.8277633a.svg\";","import React, { useEffect, useState } from 'react';\nimport '../../assets/mobile/css/style.css';\nimport cloud from '../../assets/mobile/images/cloud-icon.svg';\nimport pic from '../../assets/mobile/images/pic-icon.svg';\nimport { useNavigate, useParams, useSearchParams } from 'react-router-dom';\nimport { useGetIdDocumentStatusQuery } from '../../services/identificationApi';\nimport { token, trnId } from '../../store/registration/logindSlice';\nimport { useDispatch } from 'react-redux';\n\nconst ScanHome = () => {\n const navigate = useNavigate();\n let { id } = useParams();\n const { data, isLoading } = useGetIdDocumentStatusQuery(id);\n const [searchParams, setSearchParams] = useSearchParams();\n const dispatch = useDispatch();\n if (searchParams.get(\"token\")) {\n dispatch(token(searchParams.get(\"token\")));\n dispatch(trnId(id));\n }\n const [startBtnState, setStartBtnState] = useState(false);\n\n useEffect(() => {\n if (data?.records?.front?.document_typeid == \"2\" || data?.records?.back?.document_typeid == \"13\") {\n if (data?.records?.front?.res && !data?.records?.back?.res) {\n setStartBtnState(false);\n }\n else if (!data?.records?.front?.res && data?.records?.back?.res) {\n setStartBtnState(true);\n }else{\n setStartBtnState(true);\n }\n } else {\n if(!data?.records?.front?.res){\n setStartBtnState(false);\n }else\n setStartBtnState(true);\n }\n }, [data])\n return (\n <>\n
\n
\n

    Welcome to Docuverus

\n
\n
\n
\n {!startBtnState && <>

Let’s verify your identity

\n
Select the types of document you would to upload
\n }\n {startBtnState && <>\n

Your documents have already been uploaded

\n
Please login to your application and delete them to upload new documents
\n {(!data?.records?.front?.res && data?.records?.back?.res) &&
Please delete back side driver's license to upload new documents
}\n }\n {!startBtnState &&
\n
    \n
  • \n
    \n \"\"\n
    \n
    \n
    \n Take Picture of an identity
    \n proof Documents\n
    \n
    \n
    \n
  • \n
  • \n
    \n \"\"\n
    \n
    \n
    \n Upload Different types
    \n of documents\n
    \n
    \n
    \n
  • \n
\n
}\n
\n {!startBtnState &&
\n \n
}\n
\n
\n \n );\n};\n\nexport default ScanHome;","import React, { useState, useEffect, useRef } from \"react\";\nimport IconButton from '@mui/material/IconButton';\nimport { useMobileScanSaveMutation } from '../../services/identificationApi';\nimport { useNavigate, useParams } from \"react-router-dom\";\nimport { parseDriverLicense } from \"../backbarcode-scan/BackBarcodeScan\";\nimport { AppBar, Toolbar, Typography, Box, Button ,CircularProgress} from '@mui/material';\nimport PhotoCameraOutlinedIcon from '@mui/icons-material/PhotoCameraOutlined';\nimport { getOS } from \"../camera-scan/CameraScan\";\nconst CameraScanBack = () => {\n const [uploadImag, setUploadimg] = useState('')\n let { id, docId } = useParams();\n const currentURL = window.location.href;\n const [Save, Result] = useMobileScanSaveMutation();\n const navigate = useNavigate();\n\n useEffect(() => {\n window.history.pushState(null, null, window.location.href);\n window.onpopstate = function (event) {\n window.history.go(1);\n };\n }, [])\n\n const captureBack = async (base64) => {\n const rawFromUrl = window.location.href.split('raw=')[1];\n if (base64) {\n if (rawFromUrl) {\n const decodeRawData = decodeURIComponent(rawFromUrl);\n const licenseInfo = parseDriverLicense(decodeRawData);\n const MYOCRData = [\n {\n \"alias\": \"License Id\",\n \"confidence\": 89,\n\n \"field_value_original\": licenseInfo?.DAQ?.content.replace(' ', '') || '',\n \"id\": 33,\n \"location\": \"\",\n \"name\": \"license_id\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"First Name\",\n \"confidence\": 93,\n \"field_value_original\": licenseInfo?.DAC?.content.replace(' ', '') || '',\n \"id\": 2,\n \"location\": \"\",\n \"name\": \"first_name\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Middle Name\",\n \"confidence\": 97,\n \"field_value_original\": licenseInfo?.DAD?.content.replace(' ', '') || '',\n \"id\": 34,\n \"location\": \"\",\n \"name\": \"middle_name\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Last Name\",\n \"confidence\": 92,\n \"field_value_original\": licenseInfo?.DCS?.content.replace(' ', '') || '',\n \"id\": 3,\n \"location\": \"\",\n \"name\": \"last_name\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Address\",\n \"confidence\": 71,\n \"field_value_original\": licenseInfo?.DAG?.content.replace(' ', '') || '',\n \"id\": 8,\n \"location\": \"\",\n \"name\": \"address\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"City\",\n \"confidence\": 92,\n \"field_value_original\": licenseInfo?.DAI?.content.replace(' ', '') || '',\n \"id\": 11,\n \"location\": \"\",\n \"name\": \"city\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"State\",\n \"confidence\": 92,\n \"field_value_original\": licenseInfo?.DAJ?.content.replace(' ', '') || '',\n \"id\": 1,\n \"location\": \"\",\n \"name\": \"state\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Postal Code\",\n \"confidence\": 92,\n \"field_value_original\": licenseInfo?.DAK?.content.replace(' ', '') || '',\n \"id\": 9,\n \"location\": \"\",\n \"name\": \"postal_code\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"DOB\",\n \"confidence\": 84,\n \"field_value_original\": licenseInfo?.DBB?.content.replace(' ', '') || \"\",\n \"id\": 4,\n \"location\": \"\",\n \"name\": \"dob\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Issue Date\",\n \"confidence\": 84,\n \"field_value_original\": licenseInfo?.DBD?.content.replace(' ', '') || \"\",\n \"id\": 5,\n \"location\": \"\",\n \"name\": \"issue_date\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Expiration Date\",\n \"confidence\": 84,\n \"field_value_original\": licenseInfo?.DBA?.content.replace(' ', '') || \"\",\n \"id\": 6,\n \"location\": \"\",\n \"name\": \"expiration_date\",\n \"section_name\": \"\",\n \"validation_required\": \"NO\"\n },\n {\n \"alias\": \"Doc/State Type\",\n \"confidence\": 92,\n \"field_value_original\": licenseInfo?.DAJ?.content.replace(' ', '') || '',\n \"id\": 156,\n \"location\": \"\",\n \"name\": \"doc_state_type\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n }\n ];\n\n Save({\n \"file\": base64,\n \"document_id\": 13,\n \"trn_id\": id,\n data: {\n OCRData: MYOCRData,\n raw_data: decodeRawData,\n }\n }).then((res) => {\n if (res?.data?.status === 200) {\n navigate(`/scan/${id}/success`, { replace: true })\n } else {\n alert(\"Fail to save, try again\");\n setUploadimg(\"\")\n }\n });\n\n } else {\n const MYOCRData = [\n {\n \"alias\": \"License Id\",\n \"confidence\": 89,\n\n \"field_value_original\": '',\n \"id\": 33,\n \"location\": \"\",\n \"name\": \"license_id\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"First Name\",\n \"confidence\": 93,\n \"field_value_original\": '',\n \"id\": 2,\n \"location\": \"\",\n \"name\": \"first_name\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Middle Name\",\n \"confidence\": 97,\n \"field_value_original\": '',\n \"id\": 34,\n \"location\": \"\",\n \"name\": \"middle_name\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Last Name\",\n \"confidence\": 92,\n \"field_value_original\": '',\n \"id\": 3,\n \"location\": \"\",\n \"name\": \"last_name\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Address\",\n \"confidence\": 71,\n \"field_value_original\": '',\n \"id\": 8,\n \"location\": \"\",\n \"name\": \"address\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"City\",\n \"confidence\": 92,\n \"field_value_original\": '',\n \"id\": 11,\n \"location\": \"\",\n \"name\": \"city\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"State\",\n \"confidence\": 92,\n \"field_value_original\": '',\n \"id\": 1,\n \"location\": \"\",\n \"name\": \"state\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Postal Code\",\n \"confidence\": 92,\n \"field_value_original\": '',\n \"id\": 9,\n \"location\": \"\",\n \"name\": \"postal_code\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"DOB\",\n \"confidence\": 84,\n \"field_value_original\": \"\",\n \"id\": 4,\n \"location\": \"\",\n \"name\": \"dob\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Issue Date\",\n \"confidence\": 84,\n \"field_value_original\": \"\",\n \"id\": 5,\n \"location\": \"\",\n \"name\": \"issue_date\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n },\n {\n \"alias\": \"Expiration Date\",\n \"confidence\": 84,\n \"field_value_original\": \"\",\n \"id\": 6,\n \"location\": \"\",\n \"name\": \"expiration_date\",\n \"section_name\": \"\",\n \"validation_required\": \"NO\"\n },\n {\n \"alias\": \"Doc/State Type\",\n \"confidence\": 92,\n \"field_value_original\": '',\n \"id\": 156,\n \"location\": \"\",\n \"name\": \"doc_state_type\",\n \"section_name\": \"\",\n \"validation_required\": \"No\"\n }\n ];\n Save({\n \"file\": base64,\n \"document_id\": 13,\n \"trn_id\": id,\n data: {\n OCRData: MYOCRData,\n raw_data: '',\n }\n }).then((res) => {\n if (res?.data?.status === 200) {\n navigate(`/scan/${id}/success`, { replace: true })\n } else {\n alert(\"Fail to save, try again\");\n setUploadimg(\"\")\n }\n });\n\n }\n }\n };\n\n const fileInputRef = useRef(null);\n\n const handleFileUpload = () => {\n fileInputRef.current.click();\n };\n \n \n useEffect(() => {\n setTimeout(() => { fileInputRef.current.click(); }, 500)\n\n }, [])\n\n const handleFileChange = (event) => {\n const file = event.target.files[0];\n const allowedExtensions = /(\\.jpg|\\.jpeg|\\.png|\\.gif|\\.heic|\\.webp|\\.bmp|\\.svg)$/i;\n if (!allowedExtensions.test(file.name)) {\n alert('File format not supported');\n return;\n }\n if (file) {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => {\n const base64String = reader.result;\n console.log('Base64:', base64String);\n setUploadimg(base64String);\n if (base64String) {\n captureBack(base64String)\n }\n \n };\n reader.onerror = (error) => {\n console.error('Error converting file to base64:', error);\n alert(\"Error converting file, try again\");\n setUploadimg(\"\")\n };\n }\n };\n\n return (\n <>\n \n \n \n Docuverus | Back Side\n \n \n \n {uploadImag ? : <>\n \n \n \n Snap a picture or upload from your phone\n \n {Result.isError && \n {Result.error.status == 401 ? 'The session has expired. Please close the tab and scan the barcode again.' : 'Fail to upload,Pls try again!'}\n }\n\n }\n {Result.isLoading && \n \n Please wait file Uploading...\n }\n \n \n \n );\n\n\n};\n\nexport default CameraScanBack;","import React, { useEffect } from \"react\";\nimport AppBar from \"@mui/material/AppBar\";\nimport Box from \"@mui/material/Box\";\nimport Toolbar from \"@mui/material/Toolbar\";\nimport Typography from \"@mui/material/Typography\";\nimport Paper from \"@mui/material/Paper\";\nimport ListItemText from \"@mui/material/ListItemText\";\nimport Divider from \"@mui/material/Divider\";\nimport MenuList from \"@mui/material/MenuList\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport ListItemIcon from \"@mui/material/ListItemIcon\";\nimport ArrowCircleRightIcon from \"@mui/icons-material/DoubleArrow\";\nimport { Container } from \"@mui/material\";\nimport { useNavigate, useParams } from \"react-router-dom\";\nimport { useGetIdDocumentStatusQuery } from \"../../services/identificationApi\";\nimport { useMobileScanSaveMutation } from \"../../services/identificationApi\";\n\nconst ScanMenu = () => {\n const navigate = useNavigate();\n let { id } = useParams();\n const { data, isLoading, refetch } = useGetIdDocumentStatusQuery(id);\n const [Save, Result] = useMobileScanSaveMutation();\n useEffect(() => {\n refetch();\n }, []);\n return (\n <>\n \n \n \n \n Docuverus | Document Type\n \n \n \n \n \n \n \n {\n if (data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n } else if (\n data?.records?.front?.res &&\n data?.records?.back?.res\n ) {\n alert(\"You have aready uploaded documents\");\n return;\n } else {\n navigate(`/scan/${id}/camera/2`);\n }\n }}\n >\n \n \n \n Driver's License \n \n \n {\n if (data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n }\n if (data?.records?.front?.res && data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n }\n navigate(`/scan/${id}/camera/1`);\n }}\n >\n \n \n \n Passport\n \n \n {\n if (data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n }\n if (data?.records?.front?.res && data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n }\n navigate(`/scan/${id}/camera/10`);\n }}\n >\n \n \n \n PRID\n \n \n {\n if (data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n }\n if (data?.records?.front?.res && data?.records?.back?.res) {\n alert(\"You have aready uploaded documents\");\n return;\n }\n navigate(`/scan/${id}/camera/11`);\n }}\n >\n \n \n \n Visa\n \n \n \n \n Select the types of document you would to upload*\n \n \n \n );\n};\n\nexport default ScanMenu;","import { AppBar, Box, Toolbar, Typography } from '@mui/material';\nimport React, { useEffect } from 'react';\nimport { useSearchParams } from 'react-router-dom';\nimport ErrorIcon from \"@mui/icons-material/Report\";\nconst ScanSuccess = ({ unauthacess = false }) => {\n const [searchParams, setSearchParams] = useSearchParams();\n const message = searchParams.get(\"message\")\n useEffect(() => {\n window.history.pushState(null, null, window.location.href);\n window.onpopstate = function (event) {\n window.history.go(1);\n };\n }, [])\n if (unauthacess) return (\n
\n

\n Property Not Available\n

\n \n \n
\n The Property you are trying to apply is not available. Please contact your agent / property if you wish to apply.\n
\n
\n );\n return (\n <>\n {/* {!unauthacess ? */}\n \n \n \n \n Docuverus\n \n \n \n \n {/* : */}\n <>


\n {/* } */}\n
\n
\n
\n
\n
\n
\n
\n {/* {!unauthacess ? */}\n
\n Thank you for uploading documents!\n
\n {/* : */}\n {/*
\n

\n Property Not Available\n

\n \n \n
*/}\n {/* } */}\n\n
\n {/* {!unauthacess ? */}\n \n \n \n \n \n {/* : */}\n {/* \n \n */}\n {/* } */}\n
\n {/* {!unauthacess ? */}\n

Please return to your desktop browser and click Refresh button!

\n {/* : */}\n {/*

{message ||\n \"The Property you are trying to apply is not available. Please contact your agent / property if you wish to apply.\"}

*/}\n {/* } */}\n
\n
\n
\n
\n
\n
\n
\n \n );\n};\n\nexport default ScanSuccess;","import React, { useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useUploadFileServiceMutation } from \"../../services/identificationApi\";\nimport { sideNavAction } from \"../../store/identification/sideMenuSlice\";\nimport Dropzone from \"react-dropzone\";\nimport { FaFileUpload } from \"react-icons/fa\";\nimport Box from \"@mui/material/Box\";\nimport LinearProgress from \"@mui/material/LinearProgress\";\nimport \"./style.css\";\nimport { useForm } from \"react-hook-form\";\nimport { useUploadFileMlMutation } from \"../../services/mlApi\";\n\nconst MLFileUpload = (props) => {\n const [uploadFileRequest, result] = useUploadFileMlMutation();\n\n\n const onChangeFile = (e) => {\n e.preventDefault();\n const reader = new FileReader();\n reader.readAsText(e.target.files[0]);\n let data = e.target.files[0];\n reader.onload = () => {\n if (reader.readyState === 2) {\n uploadFile(data);\n }\n };\n };\n\n const uploadFile = (file) => {\n props.handleCallbackFileUploadResult(null);\n props.handleCallbackFileUpload(file);\n var formData = new FormData();\n formData.append(\"files\", file);\n formData.append(\"documenttype_id\", props.documentId);\n uploadFileRequest(formData).then((response) => {\n if (response?.data?.success === true) {\n props.handleCallbackFileUploadResult(response);\n }\n });\n };\n\n return (\n <>\n
\n {\n for (let f of file) {\n uploadFile(f);\n }\n }}\n accept={props.onlyPdf==true?\"application/pdf\":\"image/*,application/pdf\"}\n >\n {({\n getRootProps,\n getInputProps,\n isDragActive,\n isDragAccept,\n isDragReject,\n }) => {\n const additionalClass = isDragAccept\n ? \"accept\"\n : isDragReject\n ? \"reject\"\n : \"\";\n\n return (\n \n \n \n \n \n

Drag 'n' drop a file here, or click to select a file

\n
\n );\n }}\n \n
\n {result.status === \"pending\" && (\n \n \n \n )}\n \n );\n};\n\nexport default MLFileUpload;\n","import React from 'react';\nimport { styled } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Paper from '@mui/material/Paper';\nimport Grid from '@mui/material/Grid';\nimport { Container, TextField } from '@mui/material';\nimport CustomUpload from '../../components/mlFileUpload/MLFileUpload';\nimport Animated from \"react-mount-animation\";\n\nconst PredectPaystub = (props) => {\n const [childData, setChildData] = React.useState();\n const [childPdfFile, setchildPdfFile] = React.useState();\n const handleCallbackFileUploadResult = (childData) => {\n setChildData(childData);\n }\n const handleCallbackFileUpload = (childData) => {\n setchildPdfFile(childData);\n }\n return (\n\n <>\n \n \n \n \n

Predict your Paystub here

\n
\n \n \n \n \n
\n
\n {childPdfFile&&(\n <>\n \n
Statement Preview
\n \n \n
\n \n
Statement Name
\n \n

{(childData?.data?.records?.class_predicted)}

\n
\n \n )}\n \n \n
\n\n \n );\n};\nexport default PredectPaystub;","import React from 'react';\nimport { styled } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Paper from '@mui/material/Paper';\nimport Grid from '@mui/material/Grid';\nimport { Container, TextField } from '@mui/material';\nimport CustomUpload from '../../components/mlFileUpload/MLFileUpload';\nimport Animated from \"react-mount-animation\";\n\nconst PredictBankStatement = (props) => {\n const [childData, setChildData] = React.useState();\n const [childPdfFile, setchildPdfFile] = React.useState();\n const handleCallbackFileUploadResult = (childData) => {\n setChildData(childData);\n }\n const handleCallbackFileUpload = (childData) => {\n setchildPdfFile(childData);\n }\n return (\n\n <>\n \n \n \n \n

Predict your Bank Statement here

\n
\n \n \n \n \n
\n
\n \n {childPdfFile&&(\n <>\n \n
Statement Preview
\n \n \n
\n \n
Statement Name
\n \n

{(childData?.data?.records?.class_predicted)}

\n
\n \n )}\n \n \n
\n\n \n );\n};\nexport default PredictBankStatement;","import styled, { keyframes, css } from \"styled-components\";\n\nconst flashAnimation = keyframes`\n from {\n opacity: 0.75;\n }\n\n to {\n opacity: 0;\n }\n`;\n\nexport const Wrapper = styled.div`\n display: flex;\n flex-flow: column;\n align-items: center;\n width: 100%;\n`;\n\nexport const Container = styled.div`\n position: relative;\n width: 100%;\n max-width: ${({ maxWidth }) => maxWidth && `${maxWidth}px`};\n max-height: ${({ maxHeight }) => maxHeight && `${maxHeight}px`};\n overflow: hidden;\n`;\n\nexport const Canvas = styled.canvas`\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n`;\n\nexport const Video = styled.video`\n position: absolute;\n\n &::-webkit-media-controls-play-button {\n display: none !important;\n -webkit-appearance: none;\n }\n`;\n\nexport const Overlay = styled.div`\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n box-shadow: 0px 0px 20px 56px rgba(0, 0, 0, 0.6);\n border: 1px solid #ffffff;\n border-radius: 10px;\n`;\n\nexport const Flash = styled.div`\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: #ffffff;\n opacity: 0;\n\n ${({ flash }) => {\n if (flash) {\n return css`\n animation: ${flashAnimation} 750ms ease-out;\n `;\n }\n }}\n`;\n\n// export const Button = styled.button`\n// width: 75%;\n// min-width: 100px;\n// max-width: 250px;\n// margin-top: 24px;\n// padding: 12px 24px;\n// background: silver;\n// `;\n","import React, { useState, useRef } from \"react\";\nimport Measure from \"react-measure\";\nimport { useUserMedia } from \"../hooks/use-user-media\";\nimport { useCardRatio } from \"../hooks/use-card-ratio\";\nimport { useOffsets } from \"../hooks/use-offsets\";\nimport {\n Video,\n Canvas,\n Wrapper,\n Container,\n Flash,\n Overlay,\n // Button\n} from \"./styles\";\n\nimport CameraswitchIcon from \"@mui/icons-material/Cameraswitch\";\nimport { Button } from \"@mui/material\";\nimport CameraIcon from \"@mui/icons-material/Camera\";\n\nconst CAPTURE_OPTIONS = {\n audio: false,\n video: {\n facingMode: \"environment\",\n width: { max: 4096 }, // Maximum width\n height: { max: 2160 } // Maximum height\n\n },\n};\n\n\nexport function Camera({ onCapture, onClear }) {\n const canvasRef = useRef();\n const videoRef = useRef();\n\n const [container, setContainer] = useState({ width: 0, height: 0 });\n const [isVideoPlaying, setIsVideoPlaying] = useState(false);\n const [isCanvasEmpty, setIsCanvasEmpty] = useState(true);\n const [isFlashing, setIsFlashing] = useState(false);\n\n const mediaStream = useUserMedia(CAPTURE_OPTIONS);\n const [aspectRatio, calculateRatio] = useCardRatio(1.586);\n const offsets = useOffsets(\n videoRef.current && videoRef.current.videoWidth,\n videoRef.current && videoRef.current.videoHeight,\n container.width,\n container.height\n );\n\n if (mediaStream && videoRef.current && !videoRef.current.srcObject) {\n videoRef.current.srcObject = mediaStream;\n }\n\n function handleResize(contentRect) {\n setContainer({\n width: contentRect.bounds.width,\n height: Math.round(contentRect.bounds.width / aspectRatio)\n });\n }\n\n function handleCanPlay() {\n calculateRatio(videoRef.current.videoHeight, videoRef.current.videoWidth);\n setIsVideoPlaying(true);\n videoRef.current.play();\n }\n\n function handleCapture() {\n const context = canvasRef.current.getContext(\"2d\");\n\n context.drawImage(\n videoRef.current,\n offsets.x,\n offsets.y,\n container.width,\n container.height,\n 0,\n 0,\n container.width,\n container.height\n );\n\n canvasRef.current.toBlob(blob => onCapture(blob), \"image/jpeg\", 1);\n setIsCanvasEmpty(false);\n setIsFlashing(true);\n }\n\n function handleClear() {\n const context = canvasRef.current.getContext(\"2d\");\n context.clearRect(0, 0, canvasRef.current.width, canvasRef.current.height);\n setIsCanvasEmpty(true);\n onClear();\n }\n\n if (!mediaStream) {\n return null;\n }\n\n return (\n <>\n \n {({ measureRef }) => (\n \n \n \n )}\n \n \n\n );\n}\n","import { useState, useEffect } from \"react\";\n\nexport function useUserMedia(requestedMedia) {\n const [mediaStream, setMediaStream] = useState(null);\n\n useEffect(() => {\n async function enableVideoStream() {\n try {\n const stream = await navigator.mediaDevices.getUserMedia(\n requestedMedia\n );\n setMediaStream(stream);\n } catch (err) {\n // Handle the error\n }\n }\n\n if (!mediaStream) {\n enableVideoStream();\n } else {\n return function cleanup() {\n mediaStream.getTracks().forEach(track => {\n track.stop();\n });\n };\n }\n }, [mediaStream, requestedMedia]);\n\n return mediaStream;\n}\n","import { useState, useCallback } from \"react\";\n\n/**\n * Since the camera container resembles a licence card, the height must always be less than the\n * width (regardless of the resolution of the camera). This is achieved by calculating a ratio\n * that is always >= 1 by dividing by the largest dimension.\n **/\nexport function useCardRatio(initialParams) {\n const [aspectRatio, setAspectRatio] = useState(initialParams);\n\n const calculateRatio = useCallback((height, width) => {\n if (height && width) {\n const isLandscape = height <= width;\n const ratio = isLandscape ? width / height : height / width;\n\n setAspectRatio(ratio);\n }\n }, []);\n\n return [aspectRatio, calculateRatio];\n}\n","import { useState, useEffect } from \"react\";\n\n/**\n * In the event that the video (v) is larger than it's parent container (c), calculate offsets\n * to center the container in the middle of the video.\n **/\nexport function useOffsets(vWidth, vHeight, cWidth, cHeight) {\n const [offsets, setOffsets] = useState({ x: 0, y: 0 });\n\n useEffect(() => {\n if (vWidth && vHeight && cWidth && cHeight) {\n const x = vWidth > cWidth ? Math.round((vWidth - cWidth) / 2) : 0;\n const y = vHeight > cHeight ? Math.round((vHeight - cHeight) / 2) : 0;\n\n setOffsets({ x, y });\n }\n }, [vWidth, vHeight, cWidth, cHeight]);\n\n return offsets;\n}\n","import styled, { createGlobalStyle } from \"styled-components\";\n\nexport const GlobalStyle = createGlobalStyle`\n * {\n box-sizing: border-box;\n }\n \n html {\n height: 100%;\n }\n\n body {\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n padding: 32px;\n margin: 0;\n padding: 0;\n }\n\n div#root {\n height: 100%;\n }\n`;\n\nexport const Root = styled.main`\n display: flex;\n flex-flow: column;\n align-items: center;\n text-align: center;\n overflow-x: hidden;\n overflow-y: auto;\n padding: 50px 0 100px;\n`;\n\nexport const Preview = styled.img`\n width: 100%;\n height: auto;\n`;\n\nexport const Footer = styled.footer`\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n background: silver;\n\n button {\n margin: 0 10px;\n }\n`;\n","import React, { Fragment, useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Camera } from \"./camera\";\nimport { Root, Preview, Footer, GlobalStyle } from \"./styles\";\n\nfunction CameraRoot() {\n const [isCameraOpen, setIsCameraOpen] = useState(false);\n const [cardImage, setCardImage] = useState();\n useEffect(()=>{\n setIsCameraOpen(true);\n },[])\n return (\n <>\n {isCameraOpen && (\n setCardImage(blob)}\n onClear={() => setCardImage(undefined)}\n />\n )}\n \n );\n}\n\nexport default CameraRoot;","import { BrowserRouter, Routes, Route } from \"react-router-dom\";\nimport RegisterOffice from \"./containers/register/registerOffice\";\nimport Instruction from \"./containers/instruction/instruction\";\nimport Identification from \"./containers/identification/identification\";\nimport IdentificationView from \"./containers/identification/identification-view\";\nimport Login from \"./containers/login/login\";\nimport ResetPassword from \"./containers/resetPassword/resetPassword\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport { ToastContainer } from \"react-toastify\";\nimport \"react-loader-spinner/dist/loader/css/react-spinner-loader.css\";\n\nimport PrivateRoute, {\n ContextWrappingForSuccess,\n PrivateRouteInstructions,\n PrivateRouteViewOnly,\n RouteCheckGuard,\n RouteGuardLoginRegistration,\n} from \"./PrivateRoute\";\nimport IdentificationDetails from \"./components/identification/identification-details/identification-details\";\nimport ApplicantDetails from \"./components/identification/applicant-details/applicant-details\";\nimport IncomeBanking from \"./components/identification/income-banking/income-banking\";\nimport ConsentPayment from \"./components/identification/consent-payment/consent-payment\";\nimport Success from \"./containers/Success\";\nimport ViewConsent from \"./containers/ViewConsent\";\nimport { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { sideNavAction } from \"./store/identification/sideMenuSlice\";\nimport CameraScan from \"./containers/camera-scan/CameraScan\";\nimport BackBarcodeScan from \"./containers/backbarcode-scan/BackBarcodeScan\";\nimport ScanHome from \"./containers/scan-home/ScanHome\";\nimport CameraScanBack from \"./containers/camera-scan-back/cameraScanBack\";\nimport ScanMenu from \"./containers/scan-menu/ScanMenu\";\nimport ScanSuccess from \"./containers/scan-success/ScanSuccess\";\nimport PredectPaystub from './containers/ml/PredictPaystub';\nimport PredictBankStatement from \"./containers/ml/PredictBanckStatement\";\nimport CameraRoot from \"./containers/Camera\";\n\nfunction App() {\n const dispatch = useDispatch();\n // const useWindowWidth = useSelector(\n // (state) => state.identification.sideMenuSlice\n // );\n\n const updateWindowWidth = () => {\n dispatch(sideNavAction.windowWidth(window.innerWidth));\n };\n\n useEffect(() => {\n sessionStorage.clear();\n localStorage.clear();\n // console.log(\"Check Width Function App Line 38\", useWindowWidth.windowWidth);\n window.addEventListener(\"resize\", updateWindowWidth);\n\n return () => {\n window.removeEventListener(\"resize\", updateWindowWidth);\n };\n }, []);\n\n return (\n <>\n \n \n } path=\"/Office/*\" />\n } path=\"/Agent/*\" />\n } path=\"/Unit/*\" />\n } path=\"/Floor/*\" />\n } path=\"/Property/*\" />\n Office Guest card} path=\"/Office/GuestCard/*\" />\n Office Docupload} path=\"/Office/Docupload/*\" />\n Property Guest card} path=\"/Property/GuestCard/*\" />\n Property Docupload} path=\"/Property/Docupload/*\" />\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\n } />\n } />\n } />\n\n \n } />\n } />\n } />\n } />\n } />\n } />\n \n \n \n \n \n );\n}\n\nexport default App;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = null; \n// {\n// Agents: [],\n// City: null,\n// DesiredMoveInDate: null,\n// DesiredPropertyAddress: null,\n// DesiredRent: null,\n// DesiredUnitNumber: null,\n// Email_check: false,\n// HearAboutUs: { HearAboutUs: null },\n// LeadSource: [],\n// State: null,\n// States: [],\n// applicant_id: 0,\n// application_number: 0,\n// email: null,\n// first_name: null,\n// floors: [],\n// last_name: null,\n// middle_name: null,\n// mobile: null,\n// property: null,\n// selected_agent: null,\n// subrciber_logo: null,\n// subscriber_id: null,\n// subscriber_name: null,\n// units: []\n// };\n\nconst registertionSlice = createSlice({\n name: \"register\",\n initialState,\n reducers: {\n updateOnceOnLoad: (state, action) => { //registration form slice\n return state=action.payload;\n }\n },\n});\n\nexport const { updateOnChange, updateOnceOnLoad } = registertionSlice.actions;\n\nexport default registertionSlice.reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = null; \n\nconst formInputCacheSlice = createSlice({\n name: \"formInputCache\",\n initialState,\n reducers: {\n updateOnceOnLoad: (state, action) => { //registration form slice\n return state=action.payload;\n }\n },\n});\n\nexport const { updateOnChange, updateOnceOnLoad } = formInputCacheSlice.actions;\n\nexport default formInputCacheSlice.reducer;","import { combineReducers } from \"@reduxjs/toolkit\";\nimport loginSlice from \"./logindSlice\";\nimport registrationSlice from \"./registrationSlice\";\nimport formInputCacheSlice from './formInputCacheSlice';\n\nexport default combineReducers({\n loginSlice,\n register:registrationSlice,\n inputSlice:formInputCacheSlice\n});\n","import { combineReducers } from \"@reduxjs/toolkit\";\nimport sideMenuSlice from \"./sideMenuSlice\";\nimport tabsStateSlice from './tabStateSlice';\n\nexport default combineReducers({\n tabsStateSlice,\n sideMenuSlice\n});\n","import { configureStore } from \"@reduxjs/toolkit\";\nimport { setupListeners } from \"@reduxjs/toolkit/query\";\n// import { combineReducers, createStore } from \"redux\";\n// import registrationSideMenuReducers from \"./reducers/registrationSideMenuReducer\";\nimport registration from \"./registration\";\nimport identification from \"./identification\";\nimport { registrationApi } from \"../services/registrationApi\";\nimport { identificationApi } from \"../services/identificationApi\";\nimport { persistStore, persistReducer } from 'redux-persist'\nimport storageSession from 'redux-persist/lib/storage/session' // defaults to localStorage for web\nimport formSubmit from '../store/registration/fromSubmitSlice';\nimport mlApi from \"../services/mlApi\";\n// const store=createStore(combineReducers({\n// registrationSideMenuReducers\n// }), window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__());\n// export default store;\n\n\nconst persistConfig = {\n key: 'root',\n storage:storageSession,\n}\nconst persistedReducer = persistReducer(persistConfig, registration);\n\nconst store = configureStore({\n reducer: {\n persistedReducer,\n identification,\n formSubmit,\n [registrationApi.reducerPath]: registrationApi.reducer,\n [identificationApi.reducerPath]: identificationApi.reducer,\n [mlApi.reducerPath]: mlApi.reducer\n },\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({serializableCheck: false}).concat(registrationApi.middleware, identificationApi.middleware,mlApi.middleware),\n});\n\nexport const persister = persistStore(store);\n\nsetupListeners(store.dispatch);\nexport default store;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport { Provider } from 'react-redux'\nimport store, { persister } from './store';\nimport { PersistGate } from 'redux-persist/integration/react'\nimport 'bootstrap/dist/js/bootstrap.bundle.js';\nimport 'bootstrap/dist/css/bootstrap.css';\n\nimport 'react-toastify/dist/ReactToastify.css';\nimport \"./index.css\";\nimport { createTheme, ThemeProvider } from '@mui/material/styles';\n\n// import './assets/css/index.scss';\n\nconst theme = createTheme({\n palette: {\n primary: {\n main: '#2DC3E8', // Replace with your desired primary color\n },\n },\n typography: {\n button: {\n fontFamily: 'Open Sans', // Set the font family for buttons\n textTransform:'none',\n fontWeight: 'bold',\n },\n }, \n components: {\n MuiButton: {\n styleOverrides: {\n contained: {\n color: '#ffffff', // Set the text color for contained buttons to white\n },\n },\n },\n },\n});\n\n\nReactDOM.render(\n \n \n \n \n \n \n ,\n document.getElementById(\"root\")\n);\n"],"sourceRoot":""}