1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9fb12ea8-9f46-4591-9c26-f1d49ffcf06d",e._sentryDebugIdIdentifier="sentry-dbid-9fb12ea8-9f46-4591-9c26-f1d49ffcf06d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7743],{13469:(e,r,n)=>{"use strict";n.r(r),n.d(r,{default:()=>h});var t=n(26514),i=n(89642),a=n(11538),o=n(39072),s=n(46225),l=n(28955),c=n(56144),d=n(40489),u=n(93477),_=n(27423),m=n(96235),g=n(21214),E=n(28187);let h=()=>{let e=(0,s.useRouter)(),r=(0,E.A)(),{l10n:n}=(0,i.B2)(),{messages:h}=(0,g.A)(),{institution:p,application:N,setApplication:I,shouldAskAdditionalField:A}=(0,u.Xn)(),{formData:v,onChange:f}=(0,o.O1)({}),S=p.captcha_public_key,b=(p.show_captcha_bao||A("captcha"))&&S,O=async t=>{if(b&&!v.captchaValue)return void t(n.getString("error-notification-recaptcha",null,"Please verify you're not a robot."));if(A("communications consent")&&!v.communications_consent)return void t(n.getString("error-notification-communications-consent",null,"Please agree to receive communications about your account opening process."));try{let n={email:v.email,first_name:v.first_name,last_name:v.last_name,metadata:N.metadata,captcha:v.captchaValue};A("communications consent")&&(n.communications_consent=v.communications_consent||!1),A("marketing consent")&&(n.marketing_consent=v.marketing_consent||!1);let{code:i}=await r("account_opening/business/verify_applicant",{method:"POST"},n),a={applicants:[{first_name:v.first_name,last_name:v.last_name,email:v.email}],code:i};A("marketing consent")&&(a.marketing_comms_consent=v.marketing_consent||!1),I(a),e.push("/business/welcome_code"),t()}catch(e){t(n.getString("error-notification-generic",null,"Something went wrong"))}};return(0,t.jsxs)(_.A,{children:[(0,t.jsx)("div",{className:"alignChild--center--center",children:(0,t.jsxs)("div",{className:"preapp-container open-an-account",children:[(0,t.jsx)("h1",{className:"margin--top--xl",children:(0,t.jsx)(i.Oj,{id:"heading-open-an-account",vars:{institutionName:p.long_name},children:"Open an {$institutionName} Account"})}),(0,t.jsx)("div",{className:"margin--top--xs margin--bottom--l",children:(0,t.jsx)(i.Oj,{id:"subheading-open-an-account",vars:{institutionName:p.long_name},children:"Join thousands of other businesses that use {$institutionName} to manage their finances"})}),(0,t.jsxs)(m.A,{data:v,onChange:f,messages:h,children:[(0,t.jsx)("div",{className:"margin--top--l",children:(0,t.jsxs)(a.Row,{alignItems:"center",children:[(0,t.jsx)(a.Row.Item,{children:(0,t.jsx)(m.A.Field,{required:!0,children:(0,t.jsx)(a.TextInput,{field:"first_name",label:n.getString("label-first-name",null,"First name"),testId:"first-name",onBlur:()=>{var e;return f({first_name:null==(e=v.first_name)?void 0:e.trim()})}})})}),(0,t.jsx)(a.Row.Item,{children:(0,t.jsx)(m.A.Field,{required:!0,children:(0,t.jsx)(a.TextInput,{field:"last_name",label:n.getString("label-last-name",null,"Last name"),testId:"last-name",onBlur:()=>{var e;return f({last_name:null==(e=v.last_name)?void 0:e.trim()})}})})})]})}),(0,t.jsx)("div",{className:"margin--top--l",children:(0,t.jsx)(o.f0,{required:!0,label:n.getString("label-email",null,"Email address"),errorLabel:n.getString("error-email-invalid",null,"Please enter a valid email address."),maxLength:36})}),A("communications consent")&&(0,t.jsx)("div",{className:"margin--top--l",children:(0,t.jsx)(a.Checkbox,{label:n.getString("label-communications-consent",null,"I agree to receive communications about my account opening process via email and other channels. My information will be used only to support my application and is handled according to the Privacy Policy."),checked:v.communications_consent||!1,onChange:e=>f({communications_consent:e.target.checked})})}),A("marketing consent")&&(0,t.jsx)("div",{className:"margin--top--l",children:(0,t.jsx)(a.Checkbox,{label:n.getString("label-marketing-consent",{institutionName:p.long_name},"I would also like to receive marketing emails and updates about ".concat(p.long_name,"'s products and services.")),checked:v.marketing_consent||!1,onChange:e=>f({marketing_consent:e.target.checked})})}),b&&(0,t.jsx)(l.A,{className:"margin--top--l",sitekey:S,onChange:e=>{f({captchaValue:e})},onExpired:()=>f({captchaValue:null})}),(0,t.jsx)("div",{className:"progress-buttons-container",children:(0,t.jsx)(m.A.Action,{onSubmit:O,children:(0,t.jsx)(a.Button,{label:n.getString("label-get-started",null,"Get started"),testId:"get-started"})})}),(0,t.jsx)("div",{className:"margin--top--l",children:(0,t.jsx)(i.Oj,{id:"continue-application",elems:{button:(0,t.jsx)(a.Button,{kind:"plain",onClick:()=>e.push("/business/locate_application"),testId:"continue-application"})},children:(0,t.jsx)("p",{children:"Started an application but didn't finish it? <button>Continue it now</button>"})})})]})]})}),(0,t.jsx)("div",{className:"alignChild--center--center",children:(0,t.jsx)(d.A,{isBusiness:!0})}),(0,t.jsx)(c.A,{needsPadding:!0})]})}},21214:(e,r,n)=>{"use strict";n.d(r,{A:()=>a});var t=n(89642),i=n(49526);let a=()=>{let{l10n:e}=(0,t.B2)();return{messages:{errorRequired:e.getString("error-invalid-required"),errorSummary:e.getString("please-correct-errors"),errorGeneric:e.getString("error-form-generic"),errorCheckInfo:e.getString("error-form-check-again"),warnConfirm:e.getString("error-form-confirm-submit")},translateError:r=>(0,i.Y)(r,{INVALID_CODE:e.getString("server-error-invalid-code"),NOT_A_NUMBER:e.getString("server-error-not-a-number"),INVALID_PHONE:e.getString("server-error-invalid-phone"),NOT_US_PHONE:e.getString("server-error-us-phone"),INVALID_US_PHONE:e.getString("server-error-invalid-us-phone"),GENERIC_ERROR:e.getString("server-error-generic"),INVALID_VERIFICATION_CODE:e.getString("server-error-invalid-verification-code"),VAGUE_EMAIL:e.getString("server-error-vague-email"),VAGUE_VERIFICATION:e.getString("server-error-vague-verification"),NO_EMAIL_ON_FILE:e.getString("server-error-no-email-on-file"),EMAIL_MISMATCH:e.getString("server-error-email-mismatch"),EMAIL_VALIDATION_FAIL:e.getString("server-error-email-validation-fail"),UNABLE_TO_VALIDATE:e.getString("server-error-unable-to-validate"),CORE_ERROR:e.getString("server-error-core-error"),EIN_NOT_FOUND:e.getString("server-error-ein-not-found"),NO_BUSINESS_FOUND:e.getString("server-error-no-business-found"),AGE_BELOW_MIN:e.getString("server-error-age-below-min"),ADDRESS_MUST_NOT_BE_PO_BOX:e.getString("server-error-address-cannot-be-po-box"),USERNAME_REQUIRED:e.getString("server-error-username-required"),CANNOT_OPEN_ACCOUNT_MSG_DATA_MISMATCH:e.getString("server-error-locate-account-mismatch"),OWNERSHIP_ERROR_EXCEEDS_100:e.getString("server-error-ownership-above-max"),OWNERSHIP_ERROR_MINIMUM_THRESHOLD:e.getString("server-error-ownership-below-min"),OWNERSHIP_EMAIL_ALREADY_REGISTERED_USE_ANOTHER:e.getString("server-error-ownership-email-already-registered-use-another"),OWNERSHIP_EMAIL_ALREADY_REGISTERED_USE_SEND_TO_OWNER_FEATURE:e.getString("server-error-ownership-email-already-registered-use-send-to-owner"),PRODUCT_MINIMUM_BALANCE_INCORRECTLY_CONVERTED:e.getString("server-error-product-minimum-balance-incorrectly-converted")})}}},24947:e=>{e.exports={"footer-tftp-disclosure":"FooterDisclosure_footer-tftp-disclosure__ofsXj","bao-footer-tftp-disclosure":"FooterDisclosure_bao-footer-tftp-disclosure__G5LnP"}},27423:(e,r,n)=>{"use strict";n.d(r,{A:()=>
1o});var t=n(26514),i=n(39072),a=n(93477);let o=e=>{let{children:r}=e,{institution:n}=(0,a.Xn)();return(0,t.jsxs)("div",{className:"nds-container narmi-grid",children:[(0,t.jsx)(i.iX,{institution:{name:n.long_name,logo:n.logo_url},className:"nds-navbar-logo",logoUrl:n.dao_website_flow_logo_nav_url}),(0,t.jsx)("div",{className:"narmi-grid-content",children:r})]})}},40489:(e,r,n)=>{"use strict";n.d(r,{A:()=>l});var t=n(26514),i=n(89642),a=n(76715),o=n(24947),s=n.n(o);let l=e=>{var r;let{isBusiness:n}=e,{l10n:o}=(0,i.B2)(),{institution:l}=(0,a.A)();return(null==l||null==(r=l.features)?void 0:r.ao_use_landing_page_tftp_disclosure)?(0,t.jsx)("div",{className:"".concat(s()["footer-tftp-disclosure"]," ").concat(n?"".concat(s()["bao-footer-tftp-disclosure"]):""),children:o.getString("form-tftp-disclosure",null)}):null}},48449:(e,r,n)=>{"use strict";n.d(r,{Ak:()=>t});let t=(e=21)=>{let r="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return r}},49526:(e,r,n)=>{"use strict";n.d(r,{$:()=>t,Y:()=>i});let t={INVALID_CODE:"Entered code is not valid",NOT_A_NUMBER:"is not a number",INVALID_PHONE:"enter a valid phone number",NOT_US_PHONE:"is not a US phone number",INVALID_US_PHONE:"is an invalid US phone number",GENERIC_ERROR:"Unable to successfully perform request",INVALID_VERIFICATION_CODE:"Invalid verification code",VAGUE_EMAIL:"If we were able to locate your email in our system",VAGUE_VERIFICATION:"We were unable to validate the information submitted",NO_EMAIL_ON_FILE:"We apologize, we are unable to open an additional account",EMAIL_MISMATCH:"We couldn't find a matching email in our records",EMAIL_VALIDATION_FAIL:"Must be a email address without spaces.",UNABLE_TO_VALIDATE:"We were unable to verify your identity",CORE_ERROR:"An external service is unavailable",EIN_NOT_FOUND:"The EIN entered does not match our records",NO_BUSINESS_FOUND:"No existing business account found",AGE_BELOW_MIN:"must be above institution minimum",ADDRESS_MUST_NOT_BE_PO_BOX:"Address must not be a P.O. Box.",USERNAME_REQUIRED:"A username is required",CANNOT_OPEN_ACCOUNT_MSG_DATA_MISMATCH:"We apologize, we are not able to open an additional account at this time. Please contact support for assistance.",OWNERSHIP_ERROR_EXCEEDS_100:"Total ownership percentage cannot exceed 100%",OWNERSHIP_ERROR_MINIMUM_THRESHOLD:"Ownership percentage must be above minimum reporting threshold",OWNERSHIP_EMAIL_ALREADY_REGISTERED_USE_ANOTHER:"This email address is already registered. Please use another email address.",OWNERSHIP_EMAIL_ALREADY_REGISTERED_USE_SEND_TO_OWNER_FEATURE:"This email address is already registered. Please send to the person to complete or use another email address.",PRODUCT_MINIMUM_BALANCE_INCORRECTLY_CONVERTED:"Product minimum balance appears to be incorrectly converted. Please contact support for assistance."},i=(e,r)=>{let n=e;return Object.entries(t).forEach(t=>{let[i,a]=t;e&&e.includes(a)&&(n=r[i])}),n}},56518:(e,r,n)=>{"use strict";n.d(r,{A:()=>a});var t=n(26514),i=n(89642);let a=e=>{let{dao_footer_display_selector:r,isCreditUnion:n,member_dif:a}=e,{l10n:o}=(0,i.B2)();if((null==r?void 0:r.show_member_dif_text)&&a)return(0,t.jsx)("span",{children:"".concat(o.getString("footer-membership-fdic-dif",null,"Member FDIC and DIF.")," ")});if(null==r?void 0:r.show_membership_text){let e=n?o.getString("footer-membership-ncua",null,"Insured by NCUA."):o.getString("footer-membership-fdic",null,"Member FDIC.");return(0,t.jsx)("span",{children:"".concat(e," ")})}return null}},58064:(e,r,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/business/welcome",function(){return n(13469)}])},68745:(e,r,n)=>{"use strict";n.d(r,{A:()=>t});let t=(e,r)=>{var n,t,i;let{privacyUrl:a,termsUrl:o}=r,s=null!=(n=null==e?void 0:e.show_privacy_policy_and_terms_links)&&n;return{showPrivacyPolicyLink:(null!=(t=null==e?void 0:e.show_privacy_policy_link)?t:s)&&!!a,showTermsLink:(null!=(i=null==e?void 0:e.show_terms_link)?i:s)&&!!o}}},96235:(e,r,n)=>{"use strict";n.d(r,{A:()=>u});var t=n(67059),i=n(94264),a=n(45176),o=n(26514),s=n(39072),l=n(48449),c=n(75834);let d=e=>{var{children:r}=e,n=(0,a._)(e,["children"]);let[d]=(0,c.useState)((0,l.Ak)());return(0,o.jsx)(s.yP,(0,i._)((0,t._)({},n),{formID:d,children:r}))};d.Field=s.yP.Field,d.Action=s.yP.Action,d.ActionBar=s.yP.ActionBar;let u=d}},e=>{e.O(0,[2130,636,6593,8792],()=>e(e.s=58064)),_N_E=e.O()}]);
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.