1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c64fcfc1-8c67-4ad3-9ebf-0bfd2ba085c5",e._sentryDebugIdIdentifier="sentry-dbid-c64fcfc1-8c67-4ad3-9ebf-0bfd2ba085c5")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9633],{28723:(e,t,s)=>{s.d(t,{V:()=>p,w:()=>u});var a=s(67059),i=s(89642),n=s(46225),o=s(93477),l=s(73830),r=s(85556),d=s(48624),c=s(32250);let p=()=>{let e,{l10n:t}=(0,i.B2)(),{application:s,institution:n,eligibilityQuestions:p,shouldAskAdditionalField:u}=(0,o.Xn)(),{shouldSkipAccountActivityQuestions:g}=(0,l.x)(),h=e=r.G8?s.is_existing_on_core?d.Y5:d.fS:s.isAOIOB()?d.TX:d.g8;g&&(h=e.filter(e=>"/due_diligence"!==e.path));let f=h.filter(e=>e.isActive(s,n));return{routes:f,getPageInfo(){if(r.G8){let e=[];return s.is_existing_on_core&&e.push({path:void 0,description:"Business details",fluentMessages:{sidebarLabel:{id:"sidebar-step-business-details",fallback:"Business details"},reviewPage:{id:"review-heading-business-details",fallback:"Business details"}},data:s.getAbbreviatedBusinessInfo()}),[...e,...f.map(e=>({path:e.path,description:e.description,fluentMessages:e.fluentMessages,data:(0,d.g$)(e.getData(s,n),t,u(t.getString("label-short-date-of-incorporation")))}))]}let e=f[0],i=e.getData(s,n),o=(0,d.g$)(i,t),l=!s.selected_products.every(e=>["ira","hsa"].includes(e.category))&&s.applicants.length>1?s.applicants[1]:null,c=e.path===d.Sx.path&&f.some(e=>e.path===d.fF.path),p=[{path:e.path,description:e.description,fluentMessages:e.fluentMessages,data:c?(0,d.g$)((0,a._)({},i,d.fF.getData(s)),t):o}];return s.isAOIOB()&&!n.cao_aoiob_hide_review_applicant_details&&p.push({path:void 0,description:"Applicant details",fluentMessages:{sidebarLabel:{id:"review-heading-applicant",fallback:"Applicant details"},reviewPage:{id:"review-heading-applicant",fallback:"Applicant details"}},data:(0,d.g$)((0,d.Mt)(s.applicants[0],n),t)}),l&&p.push({path:e.path,description:"Co-applicant details",fluentMessages:{sidebarLabel:{id:"review-heading-co-applicant",fallback:"Co-applicant details"},reviewPage:{id:"review-heading-co-applicant",fallback:"Co-applicant details"}},data:(0,d.g$)((0,d.Mt)(l,n),t)}),p.concat(f.slice(1).filter(e=>!(c&&e.path===d.fF.path)).map(e=>({path:e.path,description:e.description,fluentMessages:e.fluentMessages,data:(0,d.g$)(e.getData(s,n),t)})))},determineInProgressRedirect(){var e;return s.state===c.gI.CREATING_REISSUED?d.kH.path:p&&p.length>0&&!s.core_users.length&&!(0,d.Vf)(s,n)&&0===s.eligibility_answers.length&&s.state!==c.gI.CREATING_PREAPPROVED?r.G8?"business/eligibility":"consumer/eligibility":s.should_redo_product_selection?"/account_selection":s.state===c.gI.FUNDING_FAILED?"/funding":s.state===c.gI.CREATING_UNVERIFIED_ALREADY_EXISTS_ON_CORE?"/business/locate_account":s.state===c.gI.DOCUMENTS_REQUESTED?"/consumer/documents_requested":(null==(e=f.find(e=>!e.isComplete(s)))?void 0:e.path)||"/application/complete"},getRemainingSteps:()=>s.state===c.gI.FUNDING_FAILED?[d.if,d.nb]:f.filter(e=>!e.isComplete(s))}},u=e=>{let{l10n:t}=(0,i.B2)(),s=(0,n.useRouter)(),a=p();return{nextRouter:s,steps:a,getStepsSidebar:()=>a.routes.map(e=>{let s=e.description;if("sidebarLabel"in e.fluentMessages){let{id:a,fallback:i}=e.fluentMessages.sidebarLabel;s=t.getString(a,null,i)}return{label:s,path:e.path}}),pushNextStep(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=this.getStepsSidebar().map(e=>e.path).indexOf(e.path),n=a.routes[i+t];n&&s.push(n.path)},hasPrevStep(){return this.getStepsSidebar().map(e=>e.path).indexOf(e.path)>0},pushPrevStep(){let t=this.getStepsSidebar().map(e=>e.path).indexOf(e.path),i=a.routes[t-1];i&&s.push(i.path)},pushSpecificStep(e){s.push(e)},getNextStep(){let t=this.getStepsSidebar().map(e=>e.path).indexOf(e.path);return a.routes[t+1]}}}},37146:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(53843);let i=e=>(0,a.I)(e)},52053:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(26514),i=s(89642),n=s(39072),o=s(93477),l=s(28723);let r=e=>{let{children:t,activeStep:s,fullHeight:r,showFDICBanner:d}=e,{institution:c}=(0,o.Xn)(),{l10n:p}=(0,i.B2)(),u=(0,l.w)(s),{fdic_ncua_logo_url:g,type:h,deposit_insurer:f}=c;return(0,a.jsxs)("div",{className:"sidebar-page-container",children:[(0,a.jsx)(n.z6,{title:c.long_name,activeStep:s,steps:u.getStepsSidebar(),logo_url:c.logo_url,action:e=>{u.nextRouter.push(e.path)}}),(0,a.jsxs)("div",{className:"sidebar-content-container",children:[d&&"FDIC"===f&&g&&(0,a.jsxs)("div",{className:"sidebar-page-banner",children:[(0,a.jsx)("img",{className:"sidebar-page-banner-img",src:g,"data-testid":"fdic-ncua-footer-logo",alt:p.getString("footer-alt-member-bank",{membership:"credit_union"===h?"NCUA":"FDIC"})}
1),p.getString("fdic-banner-copy",null,"FDIC Insured - Backed by the full faith and credit of the U.S. Government")]}),(0,a.jsx)("div",{className:"sidebar-content",style:{height:"".concat(r?"100%":null)},children:t})]})]})}},56144:(e,t,s)=>{s.d(t,{A:()=>g});var a=s(26514),i=s(89642),n=s(39072),o=s(44455),l=s(75834),r=s(85556),d=s(68745),c=s(56518),p=s(93477),u=s(95385);let g=e=>{let{needsPadding:t,hideFDICLogo:s}=e,{l10n:g}=(0,i.B2)(),{institution:h}=(0,p.Xn)(),{long_name:f,member_dif:m,dif_logo_url:_,equal_housing_logo_url:b,fdic_ncua_logo_url:x,type:v,help_email:S,help_phone:N,terms_url:w,privacy_url:y,display_bao_footer:I,dao_footer_display_selector:j}=h,{showLangSelect:C,localeCodes:k,localeNames:D,selectedLocale:A,setSelectedLocale:E}=(0,l.useContext)(u.k),{showPrivacyPolicyLink:q,showTermsLink:M}=(0,d.A)(j,{privacyUrl:y,termsUrl:w}),[F,U]=(0,l.useState)(!1),O="credit_union"===v,R="".concat(new Date().getFullYear()," ").concat(f);return r.G8&&!I?(0,a.jsx)(a.Fragment,{}):(0,a.jsxs)("div",{className:(0,o.A)(["footer-container",{"bottom-padded":t}]),"data-testid":"footer-container",children:[(0,a.jsxs)("div",{className:"fontSize--xs margin--top--l margin--bottom--xs","data-testid":"footer-long-name",children:["\xa9 ",R]}),(0,a.jsxs)("div",{className:"footer-membership fontSize--xs margin--bottom--xs","data-testid":"footer-membership",children:[" ",(0,a.jsx)(c.A,{dao_footer_display_selector:j,isCreditUnion:O,member_dif:m}),(0,a.jsx)("span",{children:(null==j?void 0:j.show_equal_housing_lender_text)&&g.getString("footer-membership-equal-housing",null,"Equal Housing Lender")}),(0,a.jsxs)("span",{className:"footer-logo-container",children:[(null==j?void 0:j.show_fdic_ncua_logo)&&x&&!s&&(0,a.jsx)("img",{style:{cursor:"pointer"},role:"presentation",alt:g.getString("footer-alt-member-bank",{membership:O?"NCUA":"FDIC"},"Member Bank: ".concat(O?"NCUA":"FDIC")),src:x,className:"footer-logo","data-testid":"fdic-ncua-footer-logo",onClick:()=>U(!0)}),(0,a.jsx)(n.lG,{headerStyle:"plain",isOpen:F,onUserDismiss:()=>U(!1),children:(0,a.jsx)("img",{alt:g.getString("footer-alt-member-bank",{membership:O?"NCUA":"FDIC"},"Member Bank: ".concat(O?"NCUA":"FDIC")),src:x})}),(null==j?void 0:j.show_member_dif_logo)&&m&&_&&(0,a.jsx)("img",{alt:g.getString("footer-alt-dif",null,"Member Bank: Depositors Insurance Fund"),src:_,className:"footer-logo","data-testid":"member-dif-footer-logo"}),(null==j?void 0:j.show_equal_housing_lender_logo)&&(0,a.jsx)("img",{src:b||"/ehl_black.png",alt:g.getString("footer-alt-equal-housing",null,"Equal Housing Lender Logo"),className:"footer-logo","data-testid":"equal-housing-footer-logo"})]})]}),(null==j?void 0:j.show_powered_by_narmi_text)&&(0,a.jsx)("div",{className:"fontSize--xs margin--bottom--xxs","data-testid":"footer-narmi-text",children:g.getString("footer-powered-by-narmi",null,"Powered by Narmi")}),(0,a.jsxs)("div",{className:"footer-lastRow",children:[(0,a.jsxs)("div",{className:"footer-contact",children:[(null==j?void 0:j.show_help_phone)?(0,a.jsxs)("div",{className:"fontSize--xs margin--top--l margin--bottom--xs fontWeight--semibold","data-testid":"footer-help-phone",children:[g.getString("footer-support-phone",null,"Call us:")," ",(0,a.jsx)("span",{className:"fontWeight--normal",children:N})]}):(0,a.jsx)("div",{className:"fontSize--xs margin--top--l margin--bottom--xs fontWeight--semibold","data-testid":"footer-help-phone"}),(null==j?void 0:j.show_help_email)&&S&&(0,a.jsxs)("div",{className:"fontSize--xs margin--bottom--xs fontWeight--semibold","data-testid":"footer-help-email",children:[g.getString("footer-support-email",null,"Email us:")," ",(0,a.jsx)("a",{href:"mailto:".concat(S),target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("span",{className:"fontWeight--normal",children:S})})]}),(q||M)&&(0,a.jsxs)("div",{className:"fontSize--xs fontWeight--semibold",children:[q&&(0,a.jsx)("a",{href:y,target:"_blank",rel:"noopener noreferrer","data-testid":"footer-privacy-policy",children:g.getString("footer-privacy-policy",null,"Privacy Policy")}),q&&M&&(0,a.jsx)(a.Fragment,{children:"\xa0 | \xa0"}),M&&(0,a.jsx)("a",{href:w,target:"_blank",rel:"noopener noreferrer","data-testid":"footer-terms",children:g.getString("footer-tos",null,"Terms")})]})]}),C&&(0,a.jsx)("div",{style:{minWidth:"240px"},children:(0,a.jsx)(n.T$,{localeCodes:k,localeNames:D,selectedLocale:A,onChange:e=>{E(e)}})})]})]})}},73830:(e,t,s)=>{s.d(t,{x:()=>c});var a=s(67059),i=s(89642),n=s(17375),o=s(75834),l=s(93477),r=s(85556);let d=(e,t)=>e.map(e=>(0,a._)({question:e.question||"",rawQuestion:e.rawQuestion||e.question||"",questionType:e.questionType||"",portalVersion:e.portalVersion||"",answerOptions:e.answerOptions?e.answerOptions.map(e=>({displayText:e.displayText||"",value:e.value||e.displayText||"",followUpQuestions:e.followUpQuestions?d(e.followUpQuestions):[]})):[],options:e.options||[],rawOptions:e.rawOptions||e.options||[],label:e.label||""},null!=t?{productId:t}:{}));function c(){let{l10n:e}=(0,i.B2)(),{application:t,institution:s}=(0,l.Xn)(),a=(null==s?void 0:s.skip_cao_account_activity_questions)&&!r.G8&&t.is_existing_on_core?[]:(r.G8?s.cdd_bao_questions:s.cdd_cao_questions)||[],c=t.selected_products.filter(e=>!!e.account_activity_questions).flatMap(e=>d(e.account_activity_questions,e.uuid)),p=r.G8?"bao":"cao",u=(0,o.useMemo)(()=>e?[...(0,n.a9)(a,p,e),...(0,n.a9)(c,p,e).filter((e,t,s)=>t===s.findIndex(t=>t.question===e.question))]:[],[a,c,e]),g=(0,o.useMemo)(()=>d(u),[u]),h=(0,o.useMemo)(()=>t.is_existing_on_core&&(null==s?void 0:s.skip_cao_account_activity_questions)&&0===a.length&&0===c.length,[t.is_existing_on_core,null==s?void 0:s.skip_cao_account_activity_questions,a.length,c.length]);return{institutionQuestions:a,productQuestions:c,localizedQuestions:u,parsedQuestions:g,shouldSkipAccountActivityQuestions:h}}}}]);
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.