PageSourceSearch

https://app.novo.co/Additional%20User%20Personal%20Info.e34c73e42b057bc2.js

js novo.co collected 2026-09-24 19:02:15 UTC 16,465 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"20260916.130036"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var o=arguments[a];if(null!=o)for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:novo-core-app":!0});var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8265d39f-760d-4680-9e39-68afc418534d",e._sentryDebugIdIdentifier="sentry-dbid-8265d39f-760d-4680-9e39-68afc418534d")}catch(e){}}(),(self.webpackChunkcore=self.webpackChunkcore||[]).push([[45929],{72756(e,a,o){o.d(a,{A:()=>g});var t=o(90024),n=o(55531),r=o(23463),i=o(21215),s=o(20951),l=o.n(s),d=o(75969),c=o(80824),u=o(4578),_=o(47861),m=o(72937),p=o(69500);const f=["name","rudderStackData","onClick","valueType","excludeCountryCodes","alertBlockedCountryTransaction"],h=({image:e,label:a})=>(0,p.jsxs)("div",{className:"flex items-center gap-3",children:[(0,p.jsx)("img",{src:e,alt:"",className:"w-4"}),(0,p.jsx)("div",{className:"",children:a})]}),g=e=>{let{name:a,rudderStackData:o,onClick:s,valueType:g,excludeCountryCodes:y=[],alertBlockedCountryTransaction:v=!1}=e,b=(0,t.A)(e,f);const{setValue:x,control:w}=(0,c.xW)(),S=(0,u.useSelector)((e=>null==e?void 0:e.common)),[I,C]=(0,d.useState)([]),N=(0,u.useDispatch)();(0,d.useEffect)((()=>{N((0,_.BJ)())}),[]),(0,d.useEffect)((()=>{var e;if(null!=S&&S.countries&&null!=S&&null!=(e=S.countries)&&e.length){const e=[];null==S||S.countries.forEach((a=>!y.includes(a.code)&&(e.push({name:a.name,value:a[g||"name"],label:(0,p.jsx)(h,{image:a.image,label:a.name}),icon:a.image,isCardTransactionBlocked:a.isCardTransactionBlocked}),!0))),C(e)}}),[null==S?void 0:S.countries]);const E=e=>{x(a,l()(e,(e=>e.value)),{shouldDirty:!0,shouldValidate:!0}),v&&null!=e&&e.isCardTransactionBlocked&&alert((0,m.catalogueText)("core-shared","we_do_not_support_card_transactions_in",{country:e.name})),o&&(0,n.sx)(Object.assign({},o.SELECTED,{value:e?e.name:""}))},D=e=>{o&&(0,n.sx)(o.VIEWED),s&&s(e)};return(0,p.jsx)(c.xI,{name:a,control:w,defaultValue:"",render:({field:{value:e}})=>(0,p.jsx)(r.Select,Object.assign({blurInputOnSelect:!0,noOptionsMessage:()=>(0,i.getErrorMessage)("NO_COUNTRY_FOUND"),options:I,name:a,isClearable:!0,value:I.find((a=>a.value===e))||null,onChange:E,onClick:D,"data-test-id":"country-select",filterOption:({data:e},a)=>{if(a){const o=((null==e?void 0:e.name)||"").toLowerCase(),t=(a||"").trimStart().toLowerCase(),n=` ${t}`,r=o.startsWith(t),i=o.includes(n);return r||i||!1}return!0}},b))})}},46609(e,a,o){o.r(a),o.d(a,{default:()=>b});var t=o(75969),n=o(80824),r=o(73681),i=o.n(r),s=o(20951),l=o.n(s),d=o(3534),c=o(11257),u=o(21215),_=o(27182),m=o(23463),p=o(72756),f=o(1291),h=o(72937),g=(o(33043),o(69500));const y=({onSubmitPersonalInfoForm:e})=>{var a,o,t;const{additionalUser:r}=(0,_.O)(),{handleSubmit:s,formState:l,control:c,setValue:y,watch:v}=(0,n.xW)(),{errors:b}=l,x=(0,d.useNavigate)();if(!r)return null;const w=v("dob");return(0,g.jsx)(m.Card,{background:"primary",children:(0,g.jsxs)(m.CardContent,{className:"flex-col gap-6",children:[(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,g.jsxs)("div",{className:"flex cursor-pointer items-center gap-3",onClick:()=>x(u.NOVO_PAGE_ROUTES.AdditionalUserInfoList),children:[(0,g.jsx)("div",{className:"flex items-center",children:(0,g.jsx)(f.Int,{name:"chevron-left",size:"md",color:"default"})}),(0,g.jsx)("div",{children:(0,h.catalogueText)("additional-user","back")})]}),(0,g.jsx)(m.Header3,{className:"text-typography-default",children:(0,h.catalogueText)("additional-user","personal_info")}),(0,g.jsx)(m.Divider,{})]}),(0,g.jsxs)(m.Form,{onSubmit:s(e),className:"grid auto-rows-auto grid-cols-1 gap-6 md:grid-cols-3",children:[(0,g.jsx)("div",{children:(0,g.jsx)(n.xI,{control:c,name:"first_name",render:({field:{value:e,onCh
1ange:a}})=>{var o;return(0,g.jsx)(m.Input,{label:(0,h.catalogueText)("additional-user","legal_first_name"),error:null==(o=b.first_name)?void 0:o.message,showError:!0,name:"first_name",value:e,onChange:a})}})}),(0,g.jsx)("div",{children:(0,g.jsx)(n.xI,{control:c,name:"middle_name",render:({field:{value:e,onChange:a}})=>{var o;return(0,g.jsx)(m.Input,{label:(0,h.catalogueText)("additional-user","legal_middle_name"),error:null==(o=b.middle_name)?void 0:o.message,showError:!0,name:"middle_name",value:e,onChange:a})}})}),(0,g.jsx)("div",{children:(0,g.jsx)(n.xI,{control:c,name:"last_name",render:({field:{value:e,onChange:a}})=>{var o;return(0,g.jsx)(m.Input,{label:(0,h.catalogueText)("additional-user","legal_last_name"),error:null==(o=b.last_name)?void 0:o.message,showError:!0,name:"last_name",value:e,onChange:a})}})}),(0,g.jsxs)("div",{className:"flex flex-col gap-0.5 "+(null!=b&&null!=(a=b.dob)&&a.message?"error":""),children:[(0,g.jsx)("label",{className:" ",children:(0,h.catalogueText)("additional-user","date_of_birth")}),(0,g.jsx)(m.DatePickerWithoutContext,{date:w,name:"dob",placeholder:"MM-DD-YYYY",displayFormat:"MM-DD-YYYY",minDate:i()().subtract(120,"year"),maxDate:i()().subtract(18,"year"),customInputIcon:(0,g.jsx)(f.Int,{name:"calendar",size:"sm",color:"grey"}),onChange:e=>y("dob",e,{shouldValidate:!0}),showError:!0,error:null==b||null==(o=b.dob)?void 0:o.message})]}),(0,g.jsx)("div",{children:(0,g.jsx)(p.A,{label:(0,h.catalogueText)("additional-user","citizenship"),name:"citizenship",placeholder:(0,h.catalogueText)("additional-user","select_citizenship"),classNamePrefix:"dropdown",showError:!0,error:null==b||null==(t=b.citizenship)?void 0:t.message,valueType:"code"})}),(0,g.jsx)("div",{children:(0,g.jsx)(n.xI,{control:c,name:"ssn",render:({field:{value:e,onChange:a}})=>{var o;return(0,g.jsx)(m.SSNInput,{label:(0,h.catalogueText)("additional-user","social_security_number"),error:null==(o=b.ssn)?void 0:o.message,showError:!0,name:"ssn",value:e,onChange:a})}})}),(0,g.jsx)("div",{className:"flex items-center",children:(0,g.jsx)(m.Button,{"data-test-id":"personal-info-next-button",type:"submit",buttonVariant:"primary",disabled:l.isSubmitting,children:(0,h.catalogueText)("additional-user","next")})})]})]})})};var v=o(27581);const b=()=>{const[e,a]=(0,t.useState)(!1),o=(0,d.useNavigate)(),r=(0,d.useLocation)(),s="W8BEN",{additionalUser:p,getAdditionalUser:f,updateAdditionalUserInfo:h,uploadAdditionalUserFile:b,deleteAdditionalUserFile:x}=(0,_.O)(),w=(0,n.mN)({mode:"onSubmit",reValidateMode:"onSubmit",resolver:(0,v.aw)(v.Qg),defaultValues:{citizenship:c.A.DEFAULT_CITIZENSHIP}});(0,t.useEffect)((()=>{p&&w.reset({first_name:(null==p?void 0:p.first_name)||"",middle_name:(null==p?void 0:p.middle_name)||"",last_name:(null==p?void 0:p.last_name)||"",citizenship:(null==p?void 0:p.citizenship)||c.A.DEFAULT_CITIZENSHIP,dob:null!=p&&p.dob?i()(p.dob):null,ssn:(null==p?void 0:p.ssn)||""})}),[p]);const S=async(o,t,n)=>{if(e)return!1;a(!0);const r={entity:"ADDITIONAL_USER",additional_user_doc:{type:o},cloud_file:{}},i={query:"mutation M($data:UploadFileInputType!){responseData: upload_file(data:$data){hasError message data userErrors}}",variables:{data:r}};let s;n?(r.cloud_file=Object.assign({},n,{file:t}),i.variables.data=r):(s=new FormData,s.append("operations",JSON.stringify(i)),s.append("map",JSON.stringify({0:["variables.data.local_file.file"]})),s.append("0",t));const l=await b({operations:i,formData:s});return a(!1),!!l&&(l.hasError?m.toast.error({message:l.message,errors:l.userErrors,title:l.title}):(f(),void m.toast.success({message:l.message})))};return(0,g.jsx)(n.Op,Object.assign({},w,{children:(0,g.jsx)(y,{onSubmitPersonalInfoForm:async e=>{let a={first_name:e.first_name,middle_name:e.middle_name,last_name:e.last_name,citizenship:e.citizenship,dob:i()(e.dob).format("YYYY-MM-DD"),ssn:e.ssn};const t={personal_info:Object.assign({},a)},n=await h({data:t});if(!n)return!1;if(n.hasError)return m.toast.error({message:n.message,errors:n.userErrors,title:n.title});let s=u.NOVO_PAGE_ROUTES.AdditionalUserAddress;const d=l()(r,(e=>e.state.from));return d&&(s=d),o(s)},onFileSelect:async e=>{if(e.preventDefault(),!e.target.files||!e.target.files.length)return!1;const a=e.target.files[0];return S(s,a)},onCloudFileSelect:async(o,t)=>!(!o||!t)&&(!e&&(a(!0),S("GOVERNMENT_ID",o,t))),removeFile:async()=>
1{if(e)return!1;a(!0);const o={entity:"ADDITIONAL_USER",additional_user_doc:{type:s}},t=await x({data:o});return a(!1),!!t&&(t.hasError?m.toast.error({message:t.message,errors:t.userErrors,title:t.title}):(f(),void m.toast.success({message:t.message})))},fileLoader:e})}))}},33043(e,a,o){var t=o(72937);const n=JSON.parse('{"for_driver_s_license":"For Driver\u2019s License:","upload_a_photo_of_the_front":"Upload a photo of the front of the license.","for_passport":"For Passport:","upload_a_photo_of_the_main":"Upload a photo of the main page of the passport including the signature.","please_provide_a_picture_of_your":"Please provide a picture of your government ID","please_provide_a_color_photo":"Please provide a color photo or a scan, with all 4 corners visible of your ID that is not expired or temporary.","please_edit_the_name_or_upload":"Please edit the name or upload a government ID which displays the name provided","personal_info":"Personal Info","edit":"Edit","legal_name":"Legal Name","provide_an_address_that_is_not":"Provide an address that is not a P.O Box or Post Office","address":"Address","home_address":"Home Address","update_your_ssn_so_we_can":"Update your SSN so we can verify your identity","ssn_social_security_number":"SSN (Social Security Number)","edit_the_name_or_upload":"Edit the name or upload a document which verifies your legal name change","full_name":"Full Name","upload_a_document_that_verifies_your":"Upload a document that verifies your legal name change:","marriage_certificate_or_name_change":"Marriage Certificate Or Name Change","upload_a_photo_of_your_ssn":"Upload a photo of your SSN card that is","n1_in_color":"1. In color","n3_a_photo_not_a_scan":"3. A photo, not a scan","n4_all_4_corners_visible":"4. All 4 corners visible","upload_a_document_that_links_you":"Upload a document that links you to the address","passport_or_u_s_driver_s":"Passport Or U.S. Driver\u2019s License","your_document_must_display":"Your document must display:","n1_your_legal_name":"1. Your legal name","n2_your_address":"2. your address","upload_supporting_document":"Upload supporting document","upload_file":"Upload file","submit":"Submit","by_clicking_submit_you_agree":"By clicking Submit, you agree to our Terms of Use, Privacy Policy and, Novo E-sign and Electronic Communications Agreement","back":"Back","where_do_you_live":"Where do you live?","for_security_reasons_we_can_t":"For security reasons, we can\'t accept P.O. Boxes or post offices.","enter_address":"Enter Address","unit":"Unit","enter_unit_suite":"Enter Unit / Suite","enter_city":"Enter City","select_state":"Select State","zip_code":"Zip Code","enter_zip_code":"Enter Zip Code","next":"Next","final_step":"Final Step","esign_and_electronic_communications_agreement":"eSign and Electronic Communications Agreement","i_have_read_and_i_agree":" I have read and I agree to the eSign and Electronic Communications Agreement above","novo_business_account_agreement":"Novo Business Account Agreement","business_debit_card_agreement":"Business Debit Card Agreement","terms_of_use_agreement":"Terms of Use Agreement","privacy_security_policy":"Privacy & Security Policy","mfs_privacy_notice":"MFS Privacy Notice","novo_fee_schedule":"Novo Fee Schedule","ach_sender_agreement":"ACH Sender Agreement","mobile_check_deposit_agreement":"Mobile Check Deposit Agreement","i_have_read_and_i_agree_2":"I have read and I agree to all the disclosures above, and certify that the information provided is truthful and accurate","identity_verification":"Identity Verification","please_provide_a_color_photo_not":"Please provide a color photo, not a scan, with all 4 corners visible of your ID that is not expired or temporary.","upload_file_2":"Upload File","government_id":"Government ID","allowed_file_formats_jpg_png":"Allowed file formats JPG, PNG or PDF | Maximum file size 10MB","n1_personal_info":"1. Personal Info","citizenship":"Citizenship","date_of_birth":"Date of Birth","social_security_number":"Social Security Number","n2_contact_details":"2. Contact Details","mobile_phone_number":"Mobile Phone Number","n3_identity_verification":"3. Identity Verification","driver_s_license_or_passport":"Driver\u2019s License or Passport","continue":"Continue","legal_first_name":"Legal First Name","legal_middle_name":"Legal Middle Name","legal_last_name":"Legal Last Name","select_citizenship":"Select Citizenship","legal_name_2":"Legal name","date_of_birth_2":"Date of birth","phone_number":"Phone Number","identity":"Identity","review_info_that_you_have_entered":"Review info that you have entered","
1security_code":"Security Code","we_have_sent_a_security_code":"We have sent a security code to","resend_security_code":"Resend Security Code","never_got_code_contact_us":"Never got code? contact us:","your_application_has_been_approved":"Your application has been approved!","account_ready":"Account Ready","account_ready_2":"Account ready","access_your_account":"Access your account","apple_store":"Apple Store","play_store":"Play Store","novo_web_application_link":"Novo Web Application Link","your_application_was_not_approved":"Your application was not approved","this_decision_is_based_on":"This decision is based on the bank\'s overall evaluated risk tolerance and could be due to one or more reasons, including, but not limited to, inability to verify ID, missing or incorrect documentation, or information provided from 3rd party vendors.","if_you_have_any_additional_questions":"If you have any additional questions, or feel that you are receiving this message as the result of an error, please contact Novo at","information_needed":"Information Needed","it_looks_like_we_need_additional":"It looks like we need additional info. Please click below to review the request and provide documents or information.","info_requested":"Info Requested","info_requested_2":"Info requested","additional_info":"Additional Info","additional_information_is_required":"Additional information is required","we_have_your_details":"We have your details","we_ve_got_your_application_we":"We\'ve got your application, we\'ll reach out via email if we need more info or once your account is ready.","you_can_expect_to_hear_from":"You can expect to hear from us by","under_review":"Under Review","under_review_2":"Under review","logout":"Logout","verify_phone":"Verify Phone","we_don_t_support_google_voice":"We don\'t support Google Voice, VoIP and virtual numbers.","your_phone_is_used_to_notify":"Your phone is used to notify you of possible fraudulent transactions and authentication flows like reset password.","a_sms_message_will_be_sent":"A SMS message will be sent to your mobile phone. Message and data rates may apply.","email":"Email","password":"Password","the_reset_password_link_is_expired":"The reset password link is expired.","could_not_encrypt_password":"Could not encrypt password","something_went_wrong":"Something went wrong!","please_upload_missing_documents":"Please upload missing documents","allowed_file_formats":"Allowed file formats: {formats} | Maximum file size 10MB","hey_name_glad_to_see_you_here":"Hey {name}, glad to see you here.","we_need_the_following_info":"We need the following info in order to add you as an additional user to {business}\u2019s Novo account.","didnt_get_a_code":"Didn\'t get a code?\xa0","request_a_new_code_in":"Request a new code in\xa0{countdown}","name_verify_your_phone":"{name}, Verify your phone","request_could_not_be_completed":"{name}, your request to be added to this business account could not be completed at this time.","your_account_is_now_open":"Your account is now open! Download the Novo app, or visit\xa0<desktop>app.novo.co</desktop><mobile>app.novo.co</mobile>\xa0to access your account, check the links below.","city":"City","state":"State","code":"Code"}');(0,t.registerCatalogue)("additional-user",n,{es:()=>o.e(50540).then(o.t.bind(o,50540,19)).then((e=>e.default))})}}]);
2//# sourceMappingURL=Additional User Personal Info.e34c73e42b057bc2.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.