1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[526],{5020:(e,n,t)=>{"use strict";t.d(n,{D:()=>h});var o=t(86917),i=t(97722),a=t(80251),r=t(54366),c=t(92972),s=t(64413),l=t(53239),d=t(23096),u=t(965),p=t(51656),_=t(82198);let g=async(e,n)=>{let t=await d.FU.post("/account-opening/new",e,{headers:{Authorization:"Bearer ".concat(n)}});if(t.status===c.t.CREATED)return t.data;throw Error("Error creating empty application")},h=function(){var e,n;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{customer:c,accessToken:d}=(0,s.useCustomer)(),h=null!=(e=t.customerId)?e:c.id,m=null!=(n=t.accessToken)?n:d,I=(0,a.n)({mutationFn:async e=>{let{accountHolderCategoryId:n,allowMissingAccountHolderCategory:t}=e,a=(0,_.NF)();return g((0,o._)((0,i._)((0,o._)({applicationType:u.Xr.PERSONAL},t?{allowMissingAccountHolderCategory:!0}:{accountHolderCategoryId:n}),{customerId:h}),a&&{customData:{utmVariables:a}}),m)},onSuccess:e=>{(0,_.I6)({id:e.applicationId,source:p.r.CUSTOMER_PORTAL}),(0,_.vj)(e.applicantId)},onError:e=>{(0,r.Qw)(e,{source:"useCreateEmptyApplication",customerId:h})}}),N=(0,l.useCallback)(async e=>I.mutateAsync({accountHolderCategoryId:e}),[I]),f=(0,l.useCallback)(async()=>I.mutateAsync({allowMissingAccountHolderCategory:!0}),[I]),A=(0,l.useCallback)(e=>{var n,t;return!!(null==e||null==(t=e.response)||null==(n=t.data)?void 0:n.code)&&(e.response.data.code===u.jy.MEMBER_HAS_HARD_STOP_LOCKOUT||e.response.data.code===u.jy.APPLICANT_HAS_PERSON_FLAG_INELIGIBILITY)},[]);return{createApplication:N,createApplicationWithoutCategory:f,isLoading:I.isLoading,isError:I.isError,error:I.error,isHardStopError:A,reset:I.reset}}},8572:(e,n,t)=>{"use strict";t.d(n,{c:()=>a,E:()=>i});var o=t(8368);let i=o.Ay.div.withConfig({displayName:"Divider__DividerWithMargin",componentId:"sc-baa34b32-0"})(["border:1px solid #cccccc;margin:20px 0px 15px 0px;opacity:0.5;"]),a=o.Ay.hr.withConfig({displayName:"Divider",componentId:"sc-baa34b32-1"})(["border:none;height:1px;margin:0;flex-shrink:0;background-color:",";"],e=>{let{theme:n}=e;return n.foundations.colors.black01})},20001:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(90946),i=t(44007);function a(){let e=(0,i.useRouter)(),n=e.query.businessProfileId,t=e.pathname.includes("business"),{features:a}=(0,o.m)(),r=!!((null==a?void 0:a.ENABLE_BUSINESS_ACCOUNT_OPENING_ON_APPLICANT_PORTAL)&&(n||t));return{businessProfileId:n,hasBAOFlag:null==a?void 0:a.ENABLE_BUSINESS_ACCOUNT_OPENING_ON_APPLICANT_PORTAL,hasBAOFlagAndBAOQueryParams:r,shouldShowBusinessVersion:r}}},20879:(e,n,t)=>{"use strict";t.d(n,{Te:()=>a,ez:()=>r});var o=t(82198);let i=e=>e.startsWith("".concat("utm","_"));function a(){let e=(0,o.NF)();if(!e)return{};let n=new URLSearchParams(e),t={};return n.forEach((e,n)=>{i(n)&&(t[n]=e)}),t}function r(e){if(!e)return{};let n={};return Object.entries(e).forEach(e=>{let[t,o]=e;i(t)&&"string"==typeof o&&(n[t]=o)}),n}},23120:(e,n,t)=>{"use strict";t.d(n,{Q:()=>d});var o=t(86917),i=t(42884),a=t(80975),r=t(94389),c=t(53239),s=t(44148),l=t(57253);let d=e=>{let{eventName:n,enabled:t=!0,dependencies:d=[],clutchProduct:u=s.bD.LENDING,propertiesParams:p,onEventTracked:_}=e,{partnerAlias:g}=(0,l.W)(),{isToggleEnabled:h}=(0,i.qv)(),m=p?JSON.stringify(p):void 0;(0,c.useEffect)(()=>{n&&g&&t&&(u===s.bD.LENDING?r.g.trackEvent(n,(0,o._)({type:"page_view",status:"started",piiFlowVersion:"v3",partnerAlias:g},p)):u===s.bD.ACCOUNT_OPENING&&r.g.trackEvent(n,(0,o._)({type:"page_view",status:"started",partnerAlias:g,productType:s.bD.ACCOUNT_OPENING,accountOpeningPiiFlow:(0,a.k)(h)},p)),_&&_())},[n,g,t,_,m,h,...d])}},29974:(e,n,t)=>{"use strict";t.d(n,{u:()=>c});var o=t(32144),i=t(31901);let a="@clutch/dao-sso-access-token";var r=t(64413);let c=()=>{let e=(0,o.jE)(),{accessToken:n}=(0,r.useCustomer)(),{data:t}=(0,i.I)({queryKey:[a],queryFn:async()=>{var n;return null!=(n=e.getQueryData([a]))?n:null},cacheTime:1/0});return n?{accessToken:n}:{accessToken:null==t?void 0:t.accessToken}}},39948:(e,n,t)=>{"use strict";t.d(n,{E:()=>s});var o=t(86917),i=t(25722),a=t(80263),r=t(85993),c=t(84474);let s=e=>{var{children:n,component:t="div"}=e,s=(0,i._)(e,["children","component"]);let l="string"==typeof n;return(0,a.jsx)(c.j,{condition:l,children:(0,a.jsx)(t,(0,o._)({dangerouslySetInnerHTML:{__html:Array.isArray(n)?n.map(e=>r.D.sanitize(e)):r.D.sanitize(n)}},s))})}},43348:(e,n,t)=>{"use strict";t.d(n,{E:()=>c});var o=t(8368),i=function(e,n,t){if(!t)return"cta"===n||"disclaimer"===n?e.token.typography.fontWeight["700"]:e.token.typography.fontWeight["400"];
1switch(t){case"bold":return e.token.typography.fontWeight["700"];case"medium":return e.token.typography.fontWeight["500"];default:return e.token.typography.fontWeight["400"]}},a=function(e,n){switch(n){case"cta":return e.token.typography.fontSize["00"];case"label":case"action":return e.token.typography.fontSize["01"];case"secondary":return e.token.typography.fontSize["02"];default:return e.token.typography.fontSize["03"]}},r=(0,o.AH)(["",""],function(e){var n=e.$color,t=e.theme;return(0,o.AH)(["color:",";"],n||t.token.color.text.primary)}),c=o.Ay.p.withConfig({displayName:"Textstyled__Text",componentId:"sc-hn4bbp-0"})([""," "," font-weight:",";font-size:",";",""],r,function(e){var n=e.$variant;return"action"===n||"cta"===n?"text-transform: uppercase;":""},function(e){return i(e.theme,e.$variant,e.$weight)},function(e){return a(e.theme,e.$variant)},function(e){return e.$shouldUseDesignSystemFont?(0,o.AH)(["font-family:",";"],function(e){return e.theme.token.typography.fontFamily.base}):""})},44088:(e,n,t)=>{"use strict";t.d(n,{u:()=>o.u});var o=t(29974)},44879:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>ea,default:()=>er});var o=t(80263),i=t(86917),a=t(97722),r=t(67380),c=t(54366),s=t(42884),l=t(35613),d=t(46316),u=t(44088),p=t(5020),_=t(20001),g=t(83495),h=t(20879),m=t(54956),I=t(87875),N=t(44007),f=t(64413),A=t(86281),y=t(53239),E=t(44148),T=t(35083),C=t(27194),O=t(965),w=t(71599),x=t(51001),S=t(82198),U=t(79445),b=t(58677),v=t(43894),L=t(317),F=t(12528),P=t(76191),D=t(57253),R=t(85561),k=t(56455),j=t(39948),$=t(59946),B=t(8368);let M=B.Ay.div.withConfig({displayName:"WelcomeMessage.styled__Title",componentId:"sc-8a84096-0"})(["font-size:",";font-weight:400;line-height:2rem;color:",";font-family:",";@media ","{font-size:",";}"],e=>e.$shouldUseNewUi?"1.6rem":"2.2rem",e=>e.$textDark?e.$shouldUseNewUi?e.theme.foundations.colors.black02:e.theme.foundations.colors.tertiary:"#FFF",e=>e.$shouldUseNewUi?e.theme.foundations.typography.fontFamily.sansSerifSecondary:"inherit",(0,$.P)({from:"md"}),e=>e.$shouldUseNewUi?"2rem":"2.2rem"),H=B.Ay.span.withConfig({displayName:"WelcomeMessage.styled__Description",componentId:"sc-8a84096-1"})(["font-size:1.125rem;font-weight:400;line-height:",";color:",";text-align:",";font-family:",";"],e=>e.$shouldUseNewUi?"1.4rem":"1rem",e=>e.$textDark?e.$shouldUseNewUi?"#585858":e.theme.foundations.colors.black70:"#FFF",e=>e.$shouldUseNewUi?"center":"left",e=>e.$shouldUseNewUi?e.theme.foundations.typography.fontFamily.sansSerifSecondary:"inherit"),G=B.Ay.div.withConfig({displayName:"WelcomeMessage.styled__Container",componentId:"sc-8a84096-2"})(["display:flex;flex-direction:column;gap:1.5rem;padding:",";align-items:",";@media ","{padding:",";}"],e=>e.$shouldUseNewUi?"1rem 0":"1.5rem 0",e=>e.$shouldUseNewUi?"center":"flex-start",(0,$.P)({from:"md"}),e=>e.$shouldUseNewUi?"3rem 0":"1.5rem 0"),W=e=>{let{title:n,subtitle:t,shouldUseNewUi:i}=e,{textDark:a}=(0,R.T)(),r=null==n?void 0:n.includes("</"),c=null==t?void 0:t.includes("</"),s=i?"Open your account":"Create your account",l=i?"We streamline account setup so you can manage your money effortlessly.":"We work hard to provide the best products and services, so that you can focus on living your best life";return(0,o.jsxs)(G,{$shouldUseNewUi:i,children:[(0,o.jsx)(M,{$textDark:a,$shouldUseNewUi:i,children:r?(0,o.jsx)(j.E,{component:"p",style:{margin:0},children:n}):null!=n?n:s}),(0,o.jsx)(H,{$textDark:a,$shouldUseNewUi:i,children:c?(0,o.jsx)(j.E,{component:"p",style:{margin:0},children:t}):null!=t?t:l})]})},Y=B.Ay.div.withConfig({displayName:"TosContent.styled__LogoContainer",componentId:"sc-24d0867-0"})(["padding-top:12px;padding-bottom:20px;display:flex;"]),z=B.Ay.div.withConfig({displayName:"TosContent.styled__Content",componentId:"sc-24d0867-1"})(["padding-bottom:10px;@media (max-width:800px){padding-top:",";}"],e=>e.$shouldUseNewUi?"1rem":"0"),q=B.Ay.div.withConfig({displayName:"TosContent.styled__TopWrapper",componentId:"sc-24d0867-2"})([""," @media (max-width:800px){background-color:",";padding-bottom:25px;padding-top:",";}"],e=>{let{$shouldUseNewUi:n}=e;return n&&"\n ".concat(Y," {\n justify-content: center;\n }\n ")},e=>e.theme.colors.intro_mobile_background,e=>e.$shouldUseNewUi?"2rem":"0"),K=B.Ay.div.withConfig({displayName:"TosContent.styled__Container",componentId:"sc-24d0867-3"})(["height:100%;display:flex;flex-direction:column;justify-content:",";margin-bottom:10px;flex:1;z-index:10;@media (min-width:800px){margin-bottom:20px;}"],e=>e.$shouldUseNewUi?"center":"flex-start"),V=B.Ay.div.withConfig({displayName:"TosContent.styled__IntroCtaSpacer",componentId:"sc-24d0867-4"})(["flex:1 1 auto;max-height:8rem;"]),J=B.Ay.div.withConfig({displayName:"TosContent.styled__DisclaimerWrapper",componentId:"sc-24d0867-5"})(["display:flex;flex-direction:column;gap:",";"],e=>e.$shouldUseNewUi?"2rem":void 0),Q=B.Ay.div.withConfig({displayName:"TosContent.styled__ButtonWrapper",componentId:"sc-24d0867-6"})(["button{","}"],e=>e.$shouldUseNewUi?(0,B.AH)(["max-width:300px;margin:0 auto;"]):""),X=e=>{let{onRegister:n,buttonTitle:t,disclaimer:i,loading:a,title:r,subtitle:c,customInsuranceCompanyConfig:l}=e,{theme:d}=(0,D.W)(),{textDark:u,showBackdrop:p}=(0,R.T)(),{isToggleEnabled:_}=(0,s.li)(),g=_?"GET STARTED":"START NOW";return(0,o.jsxs)(K,{$shouldUseNewUi:_,children:[(0,o.jsxs)(q,{$shouldUseNewUi:_,children:[(0,o.jsx)(Y,{children:(0,o.jsx)(F.qX,{})}),(0,o.jsx)(z,{$shouldUseNewUi:_,children:(0,o.jsx)(W,{title:r,subtitle:c,shouldUseNewUi:_})})]}),!_&&(0,o.jsx)(V,{}),(0,o.jsxs)(J,{$shouldUseNewUi:_,children:[(0,o.jsx)(Q,{$shouldUseNewUi:_,children:(0,o.jsx)(k.y,{title:null!=t?t:g,onPress:()=>n(),disabled:a,loading:a,testID:"get-started-btn",styleType:"#FFF"!==d.colors.background?"white":"primary"})}),(0,o.jsx)(L.w,{children:(0,o.jsx)(v.M,{text:(null!=i?i:"").replace("REPLACE_BUTTON_TITLE",t),textDark:u,showBackdrop:p,shouldUseDesignSystemFont:_,shouldUseNewUi:_})}),(0,o.jsx)(P.X,{dark:u,showBackdrop:p,showDivider:!_,customInsuranceCompanyConfig:l,shouldCenterText:!_})]})]})};B.Ay.div.withConfig({displayName:"AccountOpeningGetStartedLayout.styled__LogoContainer",componentId:"sc-cae571b5-0"})(["padding-top:12px;padding-bottom:20px;z-index:5;"]),B.Ay.div.withConfig({displayName:"AccountOpeningGetStartedLayout.styled__ButtonsWrapper",componentId:"sc-cae571b5-1"})(["flex:1;display:flex;flex-direction:column;min-height:max-content;justify-content:flex-end;width:100%;padding-bottom:20px;z-index:5;> div{margin-bottom:8px;}"]),B.Ay.div.withConfig({displayName:"AccountOpeningGetStartedLayout.styled__Content",componentId:"sc-cae571b5-2"})(["padding-bottom:30px;z-index:5;"]);let Z=B.Ay.div.withConfig({displayName:"AccountOpeningGetStartedLayout.styled__ContentWrapper",componentId:"sc-cae571b5-3"})(["position:relative;height:100%;flex-grow:1;overflow:auto;overflow-y:overlay;display:flex;flex-direction:column;padding:16px 20px 0;max-width:",";margin:0 auto;z-index:10;"],e=>e.$shouldUseNewUi?"500px":"768px"),ee=e=>{let{title:n,subtitle:t,srcHero:i,onAcceptedTerms:a,buttonTitle:r,loading:c,disclaimer:l,customInsuranceCompanyConfig:d}=e,{isToggleEnabled:u}=(0,s.li)();return(0,o.jsx)(U.zQ,{children:(0,o.jsx)(U.UC,{wrapContent:!1,children:(0,o.jsx)(b.Y,{$imgSrc:i,children:(0,o.jsx)(Z,{$shouldUseNewUi:u,children:(0,o.jsx)(X,{title:n,subtitle:t,buttonTitle:r,onRegister:a,loading:c,disclaimer:l,customInsuranceCompanyConfig:d})})})})})},en=async(e,n,t)=>{let o,i=new Promise(e=>{o=setTimeout(()=>e(null),2e3)}),a={context:"GetStarted.hasNoEligibleMemberships",applicationId:n},r=!1;try{let o=C.MP.configs.eligibleMemberships({token:e,applicationId:n,streamlinedMembershipFilter:t}).catch(e=>(r=!0,(0,c.Qw)(e instanceof Error?e:Error("eligibleMemberships check failed"),a),null)),s=await Promise.race([o,i]),l=null==s?void 0:s.memberships,d=Array.isArray(l)?l.length:void 0;return void 0!==d||r||(0,c.ZI)("account_opening_eligible_memberships_check_unavailable",a),0===d||void 0===d}finally{clearTimeout(o)}},et=e=>{var n;let{text:t,customInsuranceCompanyConfig:C,isSsoAuthenticated:U=!1,streamlinedMemberFlowMode:b=O.V8.ACCOUNT_HOLDER_CATEGORY_FIRST}=e,{useTelemetryTags:v}=(0,A.Jr)();
1v((0,r.createTags)().platform("APPLICANT_PORTAL").lineOfBusiness("ACCOUNT_OPENING").product("ACCOUNT_APPLICATION").feature("GET_STARTED").tags);let{hasBAOFlag:L}=(0,_.A)(),{isToggleEnabled:F}=(0,s.qv)(),{isToggleEnabled:P}=(0,s.JE)(),{accessToken:D}=(0,u.u)(),R=F&&P&&U,k=R&&b===O.V8.MEMBERSHIP_FIRST,{createApplicationWithoutCategory:j,isHardStopError:$}=(0,p.D)({customerId:D?null==(n=(0,T.oL)(D))?void 0:n.customerId:void 0,accessToken:D}),B=(0,N.useRouter)(),{srcHero:M}=(0,m.F)(),{cleanSession:H,updateCustomerToken:G}=(0,f.useCustomer)(),[W,Y]=(0,y.useState)(!1),z=(0,y.useRef)(void 0);(0,I.Q)({eventName:l.P.UI_ACCOUNT_OPENING_GET_STARTED,clutchProduct:E.bD.ACCOUNT_OPENING}),(0,y.useEffect)(()=>{var e;let n=Object.entries(B.query).length?[d.U.UTM_VARIABLES,d.U.DEEP_LINK_STORAGE_KEY]:[d.U.DEEP_LINK_STORAGE_KEY];if((0,S.mD)(n),(0,c.ZI)("GetStarted: Cleaned all session storage keys"),H(),!(null==(e=B.query)?void 0:e.token))return;let t=new URLSearchParams;t.delete("token"),B.replace({search:t.toString()})},[H]);let q={srcHero:M,onAcceptedTerms:async()=>{if(Y(!0),R){G({token:D});let n=(0,i._)({},(0,g.rg)(),(0,h.Te)());if(k){try{var e;let t=null!=(e=z.current)?e:(await j()).applicationId;z.current=t;let o=await en(D,t,k);await B.push(o?{pathname:w.w.ELIGIBILITY,query:(0,a._)((0,i._)({},n),{applicationId:t,[x.x2]:x.mj.NEW})}:{pathname:w.w.SELECT_MEMBERSHIP.replace(":applicationId",t),query:(0,a._)((0,i._)({},n),{streamlinedMembershipFilter:"true"})})}catch(e){if($(e))return void await B.push(w.w.CONTACT_STAFF);Y(!1)}return}B.push({pathname:w.w.HOLDER_CATEGORIES,query:n});return}B.push(L?w.w.PROFILE_TYPES:F?w.w.ID_VERIFICATION_DISCLAIMER:w.w.ACCOUNT_HOLDER_TYPES)},customInsuranceCompanyConfig:C,title:t.TITLE,subtitle:t.SUBTITLE,buttonTitle:t.CONFIRM_BUTTON_TEXT,loading:W,disclaimer:t.DISCLAIMER_HTML};return(0,o.jsx)(ee,(0,i._)({},q))};var eo=t(50140),ei=t.n(eo),ea=!0;function er(e){let{text:n,customInsuranceCompanyConfig:t,isSsoAuthenticated:i,streamlinedMemberFlowMode:a}=e,{text:r}=(0,D.W)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ei(),{children:(0,o.jsxs)("title",{children:["Create your account - ",r.PARTNER_LONG_NAME]})}),(0,o.jsx)(et,{text:n,customInsuranceCompanyConfig:t,isSsoAuthenticated:i,streamlinedMemberFlowMode:a})]})}},51001:(e,n,t)=>{"use strict";t.d(n,{DJ:()=>s,MU:()=>c,ZN:()=>r,mj:()=>i,x2:()=>o});let o="membershipSelection",i={EXISTING:"existing",NEW:"new"},a=Object.values(i);function r(e){return a.find(n=>n===e)}function c(e){return r(e)===i.EXISTING}function s(e){return r(e)===i.NEW}},63453:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account-opening",function(){return t(44879)}])},71599:(e,n,t)=>{"use strict";t.d(n,{w:()=>o});var o=function(e){return e.HOME="/account-opening",e.ACCOUNT_FEATURES="/account-opening/account-features",e.EDIT_ACCOUNT_FEATURES="/account-opening/edit-account-features",e.PROFILE_TYPES="/account-opening/profile-types",e.ACCOUNT_HOLDER_TYPES="/account-opening/account-holder-types",e.HOLDER_CATEGORIES="/account-opening/holder-categories",e.ACCOUNT_TYPES="/account-opening/account-types",e.ACCOUNTS="/account-opening/accounts",e.ADDITIONAL_APPLICANT_INFO="/account-opening/additional-applicant-info",e.APPLICANT_QUESTIONNAIRE="/account-opening/applicant-questionnaire",e.APPLICANTS_INFO="/account-opening/applicants-info",e.APPLICATION_EXTRA_QUESTIONS="/account-opening/application-extra-questions",e.ADDITIONAL_ROLE_QUESTIONS="/account-opening/additional-role-questions",e.APPLICATION_ROLES="/account-opening/application-roles",e.BENEFITS="/account-opening/benefits",e.ELIGIBILITY="/account-opening/eligibility",e.EDIT_ELIGIBILITY="/account-opening/applications/:applicationId/eligibility",e.CONTACT_STAFF="/account-opening/contact-staff",e.FRAUD_CHECK="/account-opening/fraud-check",e.FUNDING_AUTHORIZATION="/account-opening/funding-authorization",e.FUNDING_ACH="/account-opening/funding/ach",e.FUNDING_CASH="/account-opening/funding/cash",e.FUNDING_CREDIT_CARD="/account-opening/funding/credit-card",e.FUNDING_INTERNAL_ACCOUNT="/account-opening/funding/internal-account",e.NO_FUNDING="/account-opening/funding/no-funding",e.FUNDING_TYPE="/account-opening/funding-type",e.ID_VERIFICATION_DISCLAIMER="/account-opening/id-verification-disclaimer",e.PHONE_2FA="/account-opening/2fa/phone",e.PHONE_VERIFY_2FA="/account-opening/2fa/verify/phone",e.BUSINESS_ID_VERIFICATION_DISCLAIMER="/account-opening/business/id-verification-disclaimer",e.BUSINESS_PHONE_2FA="/account-opening/business/2fa/phone",e.BUSINESS_PHONE_VERIFY_2FA="/account-opening/business/2fa/verify/phone",e.BUSINESS_SSN_2FA="/account-opening/business/2fa/verify/ssn",e.SSN_2FA="/account-opening/2fa/verify/ssn",e.REVIEW="/account-opening/review",e.EDIT_APPLICANT="/account-opening/applicants/:applicantId/edit",e.EDIT_COLLECTED_FIELDS="/account-opening/applicants/:applicantId/edit-collected-fields",e.BRANCH_HANDOFF_SSN_2FA="/account-opening/handoff/2fa/verify/ssn",e.BRANCH_HANDOFF_PHONE_2FA="/account-opening/handoff/2fa/phone",e.BRANCH_HANDOFF_PHONE_VERIFY_2FA="/account-opening/handoff/2fa/verify/phone",e.ALT_BRANCH_HANDOFF_SSN_2FA="/account-opening/handoff/2fa-alt/verify/ssn",e.ALT_BRANCH_HANDOFF_DOB_2FA="/account-opening/handoff/2fa-alt/verify/dob",e.ALT_BRANCH_HANDOFF_PHONE_2FA="/account-opening/handoff/2fa-alt/phone",e.ALT_BRANCH_HANDOFF_PHONE_VERIFY_2FA="/account-opening/handoff/2fa-alt/verify/phone",e.THANK_YOU="/account-opening/thank-you",e.ONLINE_BANKING_ENROLLMENT="/account-opening/onl
1ine-banking-enrollment",e.JOINT_APPLICANTS="/account-opening/accounts/:accountId/joint-applicants",e.ADD_JOINT_APPLICANT="/account-opening/accounts/:accountId/add-joint-applicant",e.EDIT_JOINT_APPLICANT="/account-opening/accounts/:accountId/joint-applicants/:applicantId/edit",e.ADD_BENEFICIARY="/account-opening/accounts/:accountId/add-beneficiary",e.EDIT_BENEFICIARY="/account-opening/accounts/:accountId/beneficiaries/:beneficiaryId/edit",e.JOINT_APPLICANTS_APPLICATION_LEVEL="/account-opening/applications/:applicationId/joint-applicants",e.ADD_JOINT_APPLICANT_APPLICATION_LEVEL="/account-opening/applications/:applicationId/add-joint-applicant",e.EDIT_JOINT_APPLICANT_APPLICATION_LEVEL="/account-opening/applications/:applicationId/joint-applicants/:applicantId/edit",e.ADD_BENEFICIARY_APPLICATION_LEVEL="/account-opening/applications/:applicationId/add-beneficiary",e.EDIT_BENEFICIARY_APPLICATION_LEVEL="/account-opening/applications/:applicationId/beneficiaries/:beneficiaryId/edit",e.ASSOCIATE_JOINT_APPLICANTS="/account-opening/accounts/:accountId/joint-applicants/associate",e.ASSOCIATE_APPLICATION_JOINT_APPLICANTS="/account-opening/applications/:applicationId/joint-applicants/associate",e.ASSOCIATE_APPLICATION_BENEFICIARIES="/account-opening/applications/:applicationId/beneficiaries/associate",e.ASSOCIATE_BENEFICIARY="/account-opening/accounts/:accountId/beneficiaries/associate",e.SELECT_MEMBERSHIP="/account-opening/select-membership/:applicationId",e.WELCOME_EMAIL_LINK_EXPIRED="/account-opening/welcome-email/link-expired",e.WELCOME_EMAIL_HANDOFF_SSN_2FA="/account-opening/welcome-email/2fa/verify/ssn",e.WELCOME_EMAIL_PHONE_2FA="/account-opening/welcome-email/2fa/phone",e.WELCOME_EMAIL_PHONE_VERIFY_2FA="/account-opening/welcome-email/2fa/verify/phone",e.WELCOME_EMAIL_INFORMATION="/account-opening/welcome-email/information",e.ALT_WELCOME_EMAIL_HANDOFF_SSN_2FA="/account-opening/welcome-email/2fa-alt/verify/ssn",e.ALT_WELCOME_EMAIL_HANDOFF_DOB_2FA="/account-opening/welcome-email/2fa-alt/verify/dob",e.ALT_WELCOME_EMAIL_PHONE_2FA="/account-opening/welcome-email/2fa-alt/phone",e.ALT_WELCOME_EMAIL_PHONE_VERIFY_2FA="/account-opening/welcome-email/2fa-alt/verify/phone",e.BOOK_TO_CORE_PROCESSING="/account-opening/book-to-core/processing",e.BOOK_TO_CORE_COMPLETED="/account-opening/book-to-core/completed",e}({})},72705:(e,n,t)=>{"use strict";t.d(n,{m:()=>c});var o=t(31901),i=t(87763),a=t(27194);let r={queryKey:()=>[a.oR.ACCOUNT_OPENING_FEATURES],queryFn:async()=>a.MP.configs.features()},c=function(){let{enabled:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{enabled:!0},{isLoading:n,isFetching:t,error:a,data:c,refetch:s}=(0,o.I)(r.queryKey(),async()=>await r.queryFn(),{refetchOnWindowFocus:!1,staleTime:i.To,enabled:e});return{features:null==c?void 0:c.features,isLoading:n,error:a,isFetching:t,refetch:s}}},76191:(e,n,t)=>{"use strict";t.d(n,{X:()=>C});var o=t(80263),i=t(84474),a=t(37473),r=t(8368);let c=r.Ay.div.withConfig({displayName:"CustomInsuranceCompany.styled__ContentWrapper",componentId:"sc-8de56c0b-0"})(["width:100%;display:flex;flex-direction:column;align-items:center;margin:0 auto 1rem;",""],e=>{let{$showBackdrop:n}=e;return n&&(0,r.AH)(["background:rgba(0,0,0,0.3);backdrop-filter:blur(10px);border-radius:8px;padding:24px;"])}),s=(0,r.Ay)(a._).withConfig({displayName:"CustomInsuranceCompany.styled__SImage",componentId:"sc-8de56c0b-1"})(["margin-top:1rem;@media (max-width:899px){max-width:100%;height:auto !important;img{max-width:100%;height:auto !important;aspect-ratio:",";}}"],e=>{let{$aspectRatio:n}=e;return null!=n?n:"auto"}),l=r.Ay.label.withConfig({displayName:"CustomInsuranceCompany.styled__Label",componentId:"sc-8de56c0b-2"})(["font-size:",";color:",";margin-top:1rem;line-height:1rem;text-align:center;"],e=>{let{$size:n,theme:t}=e;return"".concat(n,"rem")||0},e=>{let{$dark:n,theme:t}=e;return n?t.token.color.gray["600"]:t.foundations.colors.white});function d(e){let{customInsuranceCompanyConfig:{logo:n,verbiage:t},dark:a,showBackdrop:r}=e,d=!a&&(null==n?void 0:n.srcUpToBackground)?null==n?void 0:n.srcUpToBackgroun
1d:null==n?void 0:n.src,u=(null==n?void 0:n.width)||240,p=(null==n?void 0:n.height)||32;return(0,o.jsxs)(c,{$showBackdrop:r,children:[(0,o.jsx)(i.j,{condition:!!n,children:(0,o.jsx)(s,{height:p,width:u,$aspectRatio:"".concat(u," / ").concat(p),imageFile:d,alt:null==t?void 0:t.text})}),(0,o.jsx)(i.j,{condition:!!t,children:(0,o.jsx)(l,{$dark:a,$size:null==t?void 0:t.size,children:null==t?void 0:t.text})})]})}var u=t(57253),p=t(22737),_=t(43348),g=t(8572),h=t(42884),m=t(59946);let I=r.Ay.div.withConfig({displayName:"NCUAFooter.styled__ContentWrapper",componentId:"sc-b8bb68dd-0"})(["width:'100%';margin:0 auto;"," @media ","{width:'100%';}"],e=>e.$showBackdrop?(0,r.AH)(["background:rgba(0,0,0,0.3);backdrop-filter:blur(10px);border-radius:8px;padding:24px;"]):"",(0,m.P)({from:"md"})),N=(0,r.Ay)(a._).withConfig({displayName:"NCUAFooter.styled__SImage",componentId:"sc-b8bb68dd-1"})(["margin:",";"],e=>e.$shouldUseNewUi?"1.6rem auto 0.5rem":"1rem auto 0.5rem"),f=r.Ay.div.withConfig({displayName:"NCUAFooter.styled__Title",componentId:"sc-b8bb68dd-2"})(["padding:1rem 0 0;text-align:center;color:",";"],e=>{let{$textDark:n,theme:t}=e;return n?t.foundations.colors.tertiary:t.foundations.colors.white}),A=r.Ay.div.withConfig({displayName:"NCUAFooter.styled__Label",componentId:"sc-b8bb68dd-3"})(["padding:",";text-align:",";line-height:1rem;p{font-size:",";color:",";}"],e=>e.$shouldUseNewUi?"0":"1rem 0",e=>e.$shouldCenterText?"center":"left",e=>{let{theme:n}=e;return n.foundations.typography.fontSize.xs},e=>{let{$textDark:n,$shouldUseNewUi:t,theme:o}=e;return n?t?"#585858":o.token.color.gray["600"]:o.foundations.colors.white}),y="Federally insured by the National Credit Union Administration",E=e=>{let{textDark:n=!0,showBackdrop:t=!1,showDivider:i=!0,shouldCenterText:a=!0,titleWeight:r="regular"}=e,{isToggleEnabled:c}=(0,h.li)();return(0,o.jsxs)(I,{$showBackdrop:t,$shouldUseNewUi:c,children:[t?null:i?(0,o.jsx)(g.c,{}):null,(0,o.jsx)(p.j,{condition:!c,children:(0,o.jsx)(f,{$textDark:n,children:y})}),(0,o.jsx)(N,{$shouldUseNewUi:c,height:100,width:211,source:"/assets/images/ncua-logo.jpg",alt:"National Credit Union Administration - Your savings federally insured to at least $250,000 and backed by the full faith and credit of the United States Government"}),(0,o.jsx)(p.j,{condition:c,children:(0,o.jsx)(A,{$textDark:n,$shouldUseNewUi:c,$shouldCenterText:a,children:(0,o.jsx)(_.E,{$variant:"secondary",$weight:r,$shouldUseDesignSystemFont:c,children:y})})}),(0,o.jsx)(A,{$textDark:n,$shouldUseNewUi:c,$shouldCenterText:a,children:(0,o.jsx)(_.E,{$variant:"secondary",$shouldUseDesignSystemFont:c,children:"Your savings federally insured to at least $250,000 and backed by the full faith and credit of the United States Government. National Credit Union Administration (NCUA) is a U.S. Government Agency."})})]})};function T(e){let{textDark:n=!0,showBackdrop:t=!1,showDivider:i,shouldCenterText:a,titleWeight:r}=e,c=(0,u.W)();return(null==c?void 0:c.features.ENABLE_NCUA_FOOTER)?(0,o.jsx)(E,{textDark:n,showBackdrop:t,showDivider:i,shouldCenterText:a,titleWeight:r}):null}function C(e){let{customInsuranceCompanyConfig:n,dark:t=!0,showBackdrop:a=!1,showDivider:r,shouldCenterText:c,titleWeight:s}=e;return(0,o.jsx)(i.j,{condition:!!n,fallback:(0,o.jsx)(T,{textDark:t,showBackdrop:a,showDivider:r,shouldCenterText:c,titleWeight:s}),children:(0,o.jsx)(d,{dark:t,showBackdrop:a,customInsuranceCompanyConfig:n})})}},83495:(e,n,t)=>{"use strict";t.d(n,{Ex:()=>p,MS:()=>I,Zq:()=>h,bR:()=>m,bY:()=>A,gS:()=>N,h1:()=>f,rg:()=>g,zI:()=>d});var o=t(86917),i=t(97722),a=t(25722),r=t(54366),c=t(46316),s=t(71599),l=t(20879);function d(e,n){return(0,o._)({},e?{category:e}:{},n?{accountType:n}:{})}let u=(e,n)=>{(0,r.ZI)("account_opening_deep_link_storage_failure",{operation:e,message:n instanceof Error?n.message:String(n)})},p=e=>{try{window.sessionStorage.setItem(c.U.DEEP_LINK_STORAGE_KEY,JSON.stringify(e))}catch(e){u("write",e)}},_=()=>{try{let e=window.sessionStorage.getItem(c.U.DEEP_LINK_STORAGE_KEY),n=e?JSON.parse(e):null;return null!=n?n:{}}catch(e){return u("read",e),{}}};function g(){let e=_();return d(e.category,e.accountType)}function h(e,n){return!!(e||n)}let m=()=>{sessionStorage.removeItem(c.U.DEEP_LINK_STORAGE_KEY)},I=e=>{let n=_();n.category&&n.category!==e&&m()},N=e=>{let n="string"==typeof e.query.category?e.query.category:void 0,t="string"==typeof e.query.accountType?e.query.accountType:void 0,o=_();return d(null!=n?n:o.category,null!=t?t:o.accountType)},f=(e,n,t,r)=>{var c,u;if(!t)return!1;let p=N(e);if(c=p.category,u=p.accountType,!c&&!u)return!1;let{accountType:_,category:g}=p,h=_?s.w.ACCOUNTS:s.w.ACCOUNT_TYPES,I=d(g,_),f=e.query,{applicantId:A}=f,y=(0,a._)(f,["applicantId"]),E=r||("string"==typeof A?A:void 0);return e.push({pathname:h,query:(0,o._)((0,i._)((0,o._)({},y),{applicationId:n}),E?{applicantId:E}:{},I,(0,l.Te)())}),m(),!0},A=e=>{let{router:n,applicationId:t,isInvertedPIIEnabled:o,selectedCategory:i,applicantId:a}=e,r=N(n);return r.category&&r.category!==i?(m(),!1):f(n,t,o,a)}},84474:(e,n,t)=>{"use strict";t.d(n,{j:()=>i});var o=t(80263);let i=e=>{let{condition:n,children:t,fallback:i=null}=e;return(0,o.jsx)(o.Fragment,{children:n?t:i})}},87875:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o.Q}
1);var o=t(23120)},90946:(e,n,t)=>{"use strict";t.d(n,{m:()=>o.m});var o=t(72705)}},e=>{e.O(0,[5708,6836,636,6593,8792],()=>e(e.s=63453)),_N_E=e.O()}]); 2//# sourceMappingURL=account-opening-bc166b207bd88875.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.