PageSourceSearch

https://open.mccu.coop/_next/static/chunks/61-98f350e40b4d68b2.js

js mccu.coop collected 2026-10-02 00:03:13 UTC 42,434 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{1126:(e,n,t)=>{t.d(n,{A:()=>a});var i=t(65437),o=t(88568),l=t(56142);let r={container:e=>{let{breakpoints:n}=e;return{display:"flex",alignItems:"center",[n.medium]:{marginLeft:"auto",width:"fit-content"}}},buttonWrapper:{display:"flex",alignItems:"center",button:{marginLeft:8,padding:0,height:24,minHeight:24,border:"none",backgroundColor:"transparent",outline:"none",div:{height:24,width:24}}},icon:{marginLeft:0,display:"block"}},a=e=>{let{children:n,iconName:t,name:a,onClick:s,isLoading:c,valueMinWidth:d,dataTestId:u}=e;return(0,i.FD)("div",{css:r.container,children:[(0,i.Y)("div",{css:{minWidth:d},children:n}),!!s&&(0,i.Y)("div",{css:r.buttonWrapper,children:(0,i.Y)(o.A,{name:a,onClick:s,isLoading:c,theme:"outline","data-testid":u,children:(0,i.Y)(l.A,{name:t,color:"grey2",size:"medium",css:r.icon})})})]})}},3126:(e,n,t)=>{t.d(n,{A:()=>a});var i=t(65437),o=t(53239),l=t(85332);let r={container:{zIndex:1e3}},a=e=>{let{isOpen:n,onClose:t,toggleRef:a,placement:s="bottom-end",children:c}=e,d=(0,o.useRef)(null),[u,p]=(0,o.useState)(null),{styles:h,attributes:m}=(0,l.E)(a,u,{placement:s});return((0,o.useEffect)(()=>{if(n){var e;null==d||null==(e=d.current)||e.focus()}},[n]),n)?(0,i.Y)("div",{tabIndex:0,ref:d,onKeyDown:e=>{"escape"===e.key.toLowerCase()&&(null==t||t())},children:(0,i.Y)("div",{css:r.container,ref:p,style:h.popper,...m.popper,children:c})}):null}},11047:(e,n,t)=>{t.d(n,{A:()=>D});var i=t(65437),o=t(48933),l=t(53239),r=t(37034),a=t(81626),s=t(36240),c=t(88568),d=t(86946),u=t(66546),p=t(65320),h=t(48863),m=t(56142),g=t(3126),f=t(95499),v=t(67315);let y={toggleContainer:{display:"inline"},toggleIcon:e=>{let{colors:n}=e;return{width:16,height:19,display:"inline-block",verticalAlign:"middle",marginRight:-8,color:n.brand.primary,transition:"transform 0.2s",willChange:"transform"}},toggleIconOpen:{transform:"rotate(90deg)"},menu:e=>{let{shadows:n,colors:t}=e;return{background:"white",boxShadow:n.five,minWidth:238,padding:"0",borderRadius:8,border:"1px solid ".concat(t.grey3),overflow:"hidden"}},modalMenu:{padding:"2.5rem 0 0"},menuItem:e=>{let{colors:n,fontScales:t}=e;return{...t.default,cursor:"pointer",appearance:"none",border:0,padding:"1.5rem 2rem",background:"white",display:"block",width:"100%",textAlign:"left","&:hover, &:focus":{background:n.grey5}}},modalMenuItem:e=>{let{colors:n,fontScales:t}=e;return{...t.large,textAlign:"center",color:n.brand.primary}}},b=e=>{var n;let{toggleText:t,actions:r,buttonProps:a,"aria-label":s,isDisabled:d,isLoading:b}=e,A=(0,l.useRef)(null),[w,T]=(0,l.useState)(!1),[x,I]=(0,l.useState)(null),[D,C]=(0,l.useState)(null),[Y,k]=(0,l.useState)(!1),R=(0,u.useMediaQuery)({query:"(max-width: ".concat(h.Ay.breakpoints.raw.medium.minWidth-1,"px)")}),S=()=>T(!w),N=()=>T(!1),F=()=>k(!1);(0,p.A)(A,R?null:N);let P=(0,i.Y)("div",{css:e=>[y.menu(e),R?y.modalMenu:{}],children:Array.isArray(r)&&r.map((e,n)=>(0,o.createElement)("button",{css:e=>[y.menuItem(e),R?y.modalMenuItem(e):{}],...e,key:n,onClick:()=>(e=>{var n;T(!1),null==(n=e.onClick)||n.call(e),e.confirm&&(k(!0),C(e))})(e)},e.text))});return(0,i.FD)("div",{ref:A,children:[(0,i.Y)("div",{css:y.toggleContainer,children:(0,i.FD)(c.A,{name:"actionsToggle",type:"button",theme:"link",size:"small","aria-label":s,"aria-haspopup":!0,...a,isLoading:b,isDisabled:d,onClick:S,ref:I,children:[t||"Edit",(0,i.Y)("span",{css:e=>[y.toggleIcon(e),w&&y.toggleIconOpen],children:(0,i.Y)(m.A,{name:"chevron-right",size:"small"})})]})}),R?(0,i.Y)(v.A,{isOpen:w,onClickAway:N,onClose:S,children:(0,i.Y)("div",{"data-testid":"modalActions",children:P})}):(0,i.Y)(g.A,{toggleRef:x,isOpen:w,onClose:()=>T(!1),children:(0,i.Y)("div",{"data-testid":"popoverActions",children:P})}),!!D&&(0,i.Y)(f.A,{isOpen:Y,onClose:F,onClickAway:F,onCancel:F,...D.confirm,onConfirm:()=>{var e;return(e=>{F(),e&&e()})(null==D||null==(e=D.confirm)?void 0:e.onConfirm)},children:null==D||null==(n=D.confirm)?void 0:n.text})]})};var A=t(2716),w=t(95603);let T={container:e=>{let{colors:n}=e;return{background:n.white,padding:16,display:"flex",alignItems:"center",justifyContent:"space-between"}},content:{paddingRight:10,textAlign:"left"},title:e=>{let{fontScales:n}=e;return{...n.default}},infoText:e=>{let{colors:n}=e;return{color:n.grey2}},description:e=>{let{colors:n,fontScales:t}=e;return{...t.small,color:n.grey1,marginBottom:8}},tagContainer:{margin:"4px 0"},tag:(0,o.css)({marginTop:4,display:"flex",flexWrap:"wrap",alignItems:"baseline"}),note:e=>{let{fontScales:n,colors:t}=e;return{...n.xsmall,color:t.grey2,display:"block",marginTop:4}},infoBox:{marginTop:10},tagNote:{marginLeft:4,marginTop:4},arrowIcon:{width:24,height:24},actions:(0,o.css)({display:"flex",flexDirection:"column",textAlign:"center",flexShrink:0}),containerInlineActions:e=>{let{breakpoints:n}=e;return{flexDirection:"column",alignItems:"stretch",[n.medium]:{flexDirection:"row",alignItems:"center"}}},contentInlineActions:e=>{let{breakpoints:n}=e;return{paddingRight:0,[n.medium]:{paddingRight:10}}},actionsInline:e=>{let{breakpoints:n}=e;return{flexDirection:"row",alignItems:"center",gap:8,width:"100%",marginTop:16,[n.medium]:{width:"auto",marginTop:0}}},actionInline:e=>{let{breakpoints:n}=e;return{flex:1,display:"flex","& > *":{flex:1},[n.medium]:{flex:"0 0 auto",display:"block","& > *":{flex:"initial"}}}},action:{"&:not(:first-of-type)":{marginTop:4}},linkAction:{"&:last-of-type":{marginBottom:-8}}},x={default:{container:(e,n)=>{let{colors:t}=e;return{borderRadius:n,border:"1px solid ".concat(t.grey3),marginBottom:16}},title:{marginBottom:6}},inCollapsible:{container:(e,n)=>{let{colors:t}=e;return{borderRadius:n,border:"1px solid ".concat(t.grey3),marginBottom:8}},title:{marginBottom:6}},grouped:{container:(e,n)=>{let{colors:t,breakpoints:i}=e;return{border:"1px solid ".concat(t.grey3),margin:"0 -16px","& + &":{borderTop:0},"&:first-of-type":{borderTop:"1px solid ".concat(t.grey3),[i.medium]:{borderTopLeftRadius:n,borderTopRightRadius:n}},"&:last-of-type":{borderBottom:"1px solid ".concat(t.grey3),[i.medium]:{borderBottomLeftRadius:n,borderBottomRightRadius:n}},[i.medium]:{margin:0}}},title:{}}},I=e=>r.createPortal((0,i.Y)(f.A,{...e}),document.body),D=e=>{let{title:n,infoText:t,infoTextAriaLabel:o,description:r,tag:u,note:p,noteAriaLabel:h,infoBoxText:m,infoBoxTooltip:g,actions:f,actionsMenu:v,append:y,isLoading:D,keepConfirmModalOpenWhileLoading:C,theme:Y="default",actionsLayout:k="stacked",isDisabled:R,children:S}=e,N="inline"===k,[F,P]=(0,l.useState)(!1),[O,E]=(0,l.useState)(null),L=(0,s.FF)("PART-1058-enable-new-self-serve-component-designs"),_=()=>{C&&D||P(!1)};(0,l.useEffect)(()=>{F&&!D&&P(!1)},[D]);let B=Array.isArray(f)&&!!f.length;return(0,i.FD)("div",{"data-testid":n,css:e=>[T.container(e),Y&&x[Y].container(e,L?(0,a.N)(e.borderShape):8),N&&T.containerInlineActions(e)],children:[(0,i.FD)("div",{css:e=>[T.content,N&&T.contentInlineActions(e)],children:[S,(0,i.FD)("div",{css:e=>{var n;return[T.title(e),Y&&(null==(n=x[Y])?void 0:n.title)]},children:[n,t?(0,i.Y)("span",{"aria-label":o,css:T.infoText,children:t}):null]}),r&&(0,i.Y)("div",{css:T.description,children:r}),u?(0,i.FD)("div",{css:T.tag,children:[(0,i.Y)(d.A,{theme:u.theme,children:u.text}),u.note&&(0,i.Y)("span",{css:e=>[T.note(e),T.tagNote],children:u.note})]}):null,p?(0,i.Y)("span",{"aria-label":h,css:T.note,children:(0,i.Y)(A.A,{isInline:!1,source:p})}):null,m?(0,i.Y)("div",{css:T.infoBox,children:(0,i.Y)(w.A,{content:m,tooltipIcon:g?"info-circle":null,tooltipContent:g})}):null]}),(B||!!v||!!y)&&(0,i.FD)("div",{css:e=>[T.actions,N&&T.actionsInline(e)],children:[B&&f.map((e,n)=>{var t;return(0,i.Y)("div",{css:n=>[!N&&T.action,N&&T.actionInline(n),(null==e?void 0:e.theme)==="link"&&T.linkAction],children:(0,i.Y)(c.A,{name:(null==e?void 0:e.name)||"action",size:N?"smallMedium":"small",theme:null!=(t=e.buttonTheme)?t:"outline",...e,isLoading:D,isDisabled:R,onClick:()=>(e=>{var n;return e.confirm?void(E(e.confirm),P(!0)):null==(n=e.onClick)?void 0:n.call(e)})(e),children:null==e?void 0:e.text})},n)}),!!v&&(0,i.Y)(b,{...v,isDisabled:R,isLoading:D}),y]}),B&&f.find(e=>null==e?void 0:e.confirm)&&(0,i.Y)(I,{isOpen:F,buttonText:null==O?void 0:O.buttonText,onClose:_,onClickAway:_,onCancel:_,isLoading:D,...O,onConfirm:(null==O?void 0:O.onConfirm)&&(()=>(e=>{_(),null==e||e()})(O.onConfirm)),children:null==O?void 0:O.text})]})}},23675:(e,n,t)=>{t.d(n,{A:()=>l});var i=t(65437),o=t(74161);let l=e=>{let{onGoToProducts:n,theme:t}=e;return(0,i.Y)(o.A,{icon:"illustration-waiting",heading:"Information Being Collected",subheading:"Thank y
1ou for reviewing. You will be notified for any additional next steps.",theme:t,onGoToProducts:n})}},35369:(e,n,t)=>{t.d(n,{$P:()=>d,M0:()=>c,Vd:()=>s});var i=t(65437),o=t(75655),l=t(68604),r=t(4738),a=t(27766);let s=e=>{let{addressData:n,addressTypes:t=[...o.gd],fields:i}=e;return t.map(e=>{let t=(0,l.HR)(n,e),o="address".concat(e,"Line2"),a="address".concat(e,"Zip"),s="address".concat(e,"Country"),c=null==t?void 0:t[o],d={...t},u=d[s];if(c?d[o]=c:c||delete d[o],!d[a]&&(0,r.hN)(u)&&delete d[a],u||delete d[s],d&&Object.values(d).every(Boolean)&&Object.keys(d).length){let n=(0,l.AT)(d,e);return n&&{...n,validationOptions:(0,r.ue)(null==i?void 0:i["address".concat(e)])}}return null}).filter(Boolean)},c=e=>{let{addressPrimaryLine1:n,addressPrimaryLine2:t,addressPrimaryCity:o,addressPrimaryState:l,addressPrimaryZip:r,addressPrimaryCountry:s,addressValidationOptions:c}=e;return n?(0,i.FD)(i.FK,{children:[n,t?", ".concat(t):"",(0,i.Y)("br",{}),(0,a.Ax)({addressPrimaryCity:o,addressPrimaryState:l,addressPrimaryZip:null!=r?r:"",addressPrimaryCountry:s,addressValidationOptions:c})]}):null},d=e=>{let{line1:n,line2:t,city:o,state:l,zip:r,country:s,validationOptions:c}=e;return n?(0,i.FD)(i.FK,{children:[n,t?", ".concat(t):"",(0,i.Y)("br",{}),(0,a.Ax)({addressPrimaryCity:o,addressPrimaryState:l,addressPrimaryZip:null!=r?r:"",addressPrimaryCountry:s,addressValidationOptions:c})]}):null}},42393:(e,n,t)=>{t.d(n,{A:()=>d});var i=t(70650),o=t(49542),l=t(57200),r=t(25577),a=t(51196),s=t(21900);let c=[i.p.loading,i.p.refetch],d=e=>{let{authData:n}=(0,s.A)(),{data:t,networkStatus:i,refetch:d,called:u}=(0,o.I)(a.iw,{skip:!n,variables:{includeAccounts:!!(null==e?void 0:e.includeAccounts)}}),[p]=(0,l._)(a.iw,{fetchPolicy:"cache-and-network"}),h=c.includes(i),[m,{loading:g}]=(0,r.n)(a.Cy,{update(e,n){let{data:{cancelApplication:{applicationId:t}}}=n;e.modify({fields:{applications:(e,n)=>{let{readField:i}=n;return e.filter(e=>t!==i("id",e))}}})}});return{...t,getApplications:p,refetchApplications:d,isLoading:h,called:u,cancelApplication:m,isCancelingApplication:g}}},66055:(e,n,t)=>{t.d(n,{A:()=>a});var i=t(65437),o=t(27766),l=t(53239),r=t(1126);let a=e=>{let{getTaxId:n,taxIdLastFour:t,isEIN:a}=e,[s,c]=(0,l.useState)(""),[d,u]=(0,l.useState)(!1),[p,h]=(0,l.useState)(!0),m=async()=>{if(!p)return h(!0);if(s)return h(!1);u(!0);try{let e=n&&await n();e&&(h(!1),c(e))}finally{u(!1)}},g=p||!s?(0,o.Eg)({visibleDigits:t,isEIN:a}):(0,o.UY)({value:s,isEIN:a});return(0,i.Y)(r.A,{iconName:p?"view":"view-off",name:p?"view":"view-off",onClick:n?m:void 0,isLoading:d,valueMinWidth:96,dataTestId:p?"show-button":"hide-button",children:g})}},67869:(e,n,t)=>{t.d(n,{Hf:()=>v,M8:()=>A,hl:()=>b,iw:()=>y,j9:()=>x,ry:()=>w,xq:()=>T});var i=t(65437),o=t(85294),l=t(1022),r=t(21632),a=t.n(r),s=t(55239),c=t.n(s),d=t(19661),u=t.n(d),p=t(58036),h=t.n(p),m=t(11831),g=t(66055),f=t(73849);let v=e=>{let{tooltip:n,rateType:t,clientDetails:l}=e,r="apr"===t?"Rate":"Yield",a="interestRate"===t?(0,o.bj)(l.rateLabelType):"Annual Percentage",s="interestRate"!==t?"".concat(a," ").concat(r):a;return(0,i.FD)("span",{children:[(0,i.FD)(i.FK,{children:[a,"interestRate"!==t?" ".concat(r):null]}),!!n&&(0,i.Y)(m.A,{content:n,title:s,isInline:!0,name:"".concat(t,"_tooltip"),iconSize:"small"})]})},y=e=>(0,i.FD)("span",{children:[(0,i.Y)(i.FK,{children:"Date Opened"}),!!e&&(0,i.Y)(m.A,{content:e,title:"Open Date",isInline:!0,name:"$date_opened_tooltip",iconSize:"small"})]}),b=e=>(null==e?void 0:e.type)==="rolloverFunds"?"Rollover":(null==e?void 0:e.type)==="transferFunds"?"Transfer":null,A=e=>{var n,t;let{primaryShareCreationInstruction:i}=e;return(null==i||null==(n=i.creditUnionFee)?void 0:n.paidByCustomer)?null!=(t=i.creditUnionFee.paidByCustomerLabel)?t:"Membership Fee":"Additional Funding"},w=e=>{let{rateProperties:n,pageConfig:t}=e;return(null==n?void 0:n.interestRateSource)==="core"?{interestRate:"".concat(n.interestRate,"%"),tooltip:a()(t,"interestRateTooltip.coreRate","This is your current rate.")}:(null==n?void 0:n.interestRate)?{interestRate:"".concat(n.interestRate,"%"),tooltip:a()(t,"interestRateTooltip.productRate","This was the rate at the time of account opening, please check your statement or online banking for the current rate.")}:{interestRate:"noRateReturnedText"in t&&t.noRateReturnedText?t.noRateReturnedText:"-",tooltip:a()(t,"interestRateTooltip.noRate","We were unable to retrieve your rate, please check your statement or online banking for your current rate.")}},T=e=>{let{rateProperties:n,pageConfig:t}=e;return(null==n?void 0:n.apySource)==="core"?{apy:"".concat(n.apy,"%"),tooltip:a()(t,"apyTooltip.coreRate","This is your current rate.")}:(null==n?void 0:n.apy)?{apy:"".concat(n.apy,"%"),tooltip:a()(t,"apyTooltip.productRate","This was the rate at the time of account opening, please check your statement or online banking for the current rate.")}:{apy:"noRateReturnedText"in t&&t.noRateReturnedText?t.noRateReturnedText:"-",tooltip:a()(t,"apyTooltip.noRate","We were unable to retrieve your rate, please check your statement or online banking for your current rate.")}},x=e=>{var n,t,r,a,s;let{application:d,product:p,clientDetails:m,reviewAndSignConfig:y,showInterestRateAndApy:b,accountReferenceId:A,timezone:x,taxReportingEntities:I,userId:D,enhancedTaxIdMasking:C,getTaxReportingTaxId:Y}=e,k=(null==p?void 0:p.type)==="loan";if(!(null==p?void 0:p.type)||k)return[];let R={checking:"Checking",savings:"Savings",loan:"Loan",certificate:(0,o.UC)({clientDetails:m}),moneyMarket:"Money Market",safeDepositBox:"Safe Deposit Box"},S=A&&A!==l.ZSb?null==(t=d.rawFields)||null==(n=t.accounts)?void 0:n.find(e=>e.referenceId===A):d.rawFields,N=null==(r=d.rateProperties)?void 0:r.find(e=>(null==e?void 0:e.accountReferenceId)===A),F=!!h()(u()(N,["__typename","accountReferenceId"]),e=>!c()(e)),{interestRate:P,tooltip:O}=null!=(a=w({rateProperties:N,pageConfig:y}))?a:{},{apy:E,tooltip:L}=null!=(s=T({rateProperties:N,pageConfig:y}))?s:{},_=b&&F?[[k?null:v({rateType:"apy",tooltip:L,clientDetails:m}),E?"".concat(E):null],[v({rateType:"interestRate",tooltip:O,clientDetails:m}),P?"".concat(P):null]]:[],B=I&&I.length>1?I.find(e=>e.accountReferenceId===A):null==I?void 0:I[0],M=(null==B?void 0:B.entityType)!=="person"||B.entity
1Id===D||!C,W=B?[["Tax Reporting Owner",B.name],...B.taxIdLastFour?[["Tax Reporting TIN",(0,i.Y)(g.A,{getTaxId:M&&Y?()=>Y(A):void 0,taxIdLastFour:B.taxIdLastFour,isEIN:B.isEIN},"taxReportingTin")]]:[]]:[];return[["Type",R[p.type]],...W,["Name",(null==S?void 0:S.accountName)||null],["Maturity Date",(0,f.A)(p,x)],..._]}},70388:(e,n,t)=>{t.d(n,{A:()=>l});var i=t(65437),o=t(62261);let l=e=>{let{heading:n,subheading:t}=e;return(0,i.Y)(o.A,{heading:n,subheading:t})}},73045:(e,n,t)=>{t.d(n,{A:()=>T});var i=t(65437),o=t(11854),l=t.n(o),r=t(13914),a=t.n(r),s=t(53239),c=t(81626),d=t(36240),u=t(88568),p=t(30082),h=t(56142),m=t(40990),g=t(54414),f=t(86946),v=t(2716);let y={container:(e,n)=>{let{animations:{speeds:t},colors:i}=e;return{position:"relative",appearance:"none",border:0,padding:0,marginBottom:16,width:"100%",borderRadius:n,background:i.white,transition:"background-color ".concat(t.default,", border ").concat(t.default,", opacity ").concat(t.default),"&:last-child":{marginBottom:0},"&, &:active":{color:"inherit"},"&:focus, &:focus-within":{boxShadow:"inset 0 0 0 3px ".concat(i.brand.focusLight)}}},description:e=>{let{colors:n,fontScales:t}=e;return{...t.small,color:n.grey2}},rowContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",minHeight:"2.0625rem"},collapsibleTrigger:{position:"relative",appearance:"none",border:0,background:"transparent",padding:0,margin:0},hasLink:{cursor:"pointer"},content:{display:"flex",alignItems:"center",paddingRight:"1rem",textAlign:"left"},linkAppend:{flexShrink:0,display:"flex",alignItems:"center"},icon:e=>{let{colors:n}=e;return{flexShrink:0,flexGrow:0,marginRight:19,display:"flex",alignItems:"center",justifyContent:"center",color:n.brand.primary,width:24,height:24}},arrowIcon:(e,n)=>{let{colors:t}=e;return{color:t.grey7,flexShrink:0,display:"inline-block",width:24,height:24,transform:n?"rotate(90deg)":"rotate(0deg)",transition:"0.125s ease-out transform"}},subContent:{display:"flex",flexDirection:"column"},titleContent:{display:"flex",alignItems:"center",marginBottom:2},titleTag:{marginLeft:8},footerTag:{marginTop:16},prepend:{marginRight:8},collapsibleContainer:{width:"100%"},loader:e=>{let{colors:n}=e;return{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,"&::before":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",background:n.black,opacity:.1}}},balance:e=>{let{fontScales:n}=e;return{...n.default}},keyValueContainer:e=>{let{fontScales:n}=e;return{marginTop:16,...n.default}},additionalInfo:(e,n)=>{let{colors:t,fontScales:i,breakpoints:o}=e;return{backgroundColor:t.grey12,borderRadius:n,padding:"12px 16px",[o.small]:{padding:16},marginTop:16,display:"flex",flexDirection:"row",alignItems:"flex-start",gap:12,width:"100%",...i.small,color:t.grey2}},additionalInfoIcon:e=>{let{colors:n}=e;return{flexShrink:0,marginTop:2,color:n.grey4}}},b={default:e=>{let{colors:n}=e;return{border:"1px solid ".concat(n.grey3)}},noBorder:()=>({border:"2px solid transparent"}),active:e=>{let{colors:n}=e;return{border:"1px solid ".concat(n.brand.primary)}},inactive:e=>{let{colors:n}=e;return{opacity:.6,border:"1px solid ".concat(n.brand.primaryLight),"&:hover":{opacity:1,border:"1px solid ".concat(n.brand.primary)}}},loading:e=>{let{colors:n}=e;return{opacity:.75,border:"1px solid ".concat(n.brand.primaryLight),pointerEvents:"none"}},grouped:e=>{let{colors:n}=e;return{borderRadius:0,marginBottom:0,border:"1px solid ".concat(n.grey3),"& + &":{borderTop:0}}},inline:e=>{let{breakpoints:n}=e;return{border:0,padding:0,[n.small]:{padding:0},background:"transparent"}},onboardingSurvey:e=>{let{colors:n}=e;return{background:n.brand.primary,color:"".concat(n.white," !important"),textDecoration:"none","& *":{color:"".concat(n.white," !important")}}}},A={default:{rowContainer:e=>{let{breakpoints:n}=e;return{padding:"8px 12px",[n.small]:{padding:"16px",minHeight:67}}},collapsibleContainer:e=>{let{breakpoints:n}=e;return{padding:"0 12px 8px",[n.small]:{padding:"0 16px 16px"}}},title:e=>{let{fontScales:n}=e;return{...n.default}},description:e=>{let{colors:n,fontScales:t}=e;return{...t.small,color:n.grey2}},arrowIcon:e=>{let{breakpoints:n}=e;return{marginLeft:4,width:16,height:16,[n.small]:{width:24,height:24}}}},thin:{container:e=>{let{fontScales:n}=e;return{...n.xsmall,marginBottom:8}},rowContainer:e=>({padding:"12px 16px",minHeight:56}),collapsibleContainer:()=>({padding:"0 16px 12px"}),title:e=>{let{fontScales:n}=e;return{...n.small}},arrowIcon:()=>({width:24,height:24,marginRight:3})},large:{rowContainer:e=>{let{breakpoints:n}=e;return{padding:"8px 12px",[n.small]:{padding:16}}},collapsibleContainer:e=>{let{breakpoints:n}=e;return{padding:"0 12px 8px",[n.small]:{padding:"0px 16px 12px"}}},title:e=>{let{fontScales:n}=e;return{...n.medium,fontWeight:700}},arrowIcon:e=>{let{breakpoints:n}=e;return{marginLeft:4,width:16,height:16,[n.small]:{width:24,height:24}}}}},w=e=>{let{showSpinner:n}=e;return(0,i.Y)("div",{css:y.loader,children:n&&(0,i.Y)(g.A,{size:"small"})})},T=e=>{let{title:n,description:t,balance:o,icon:r,onClick:g,tag:T,titleTag:x,footerTag:I,prepend:D,append:C,theme:Y="default",size:k="default",iconSize:R,brandColor:S,buttonText:N,Component:F="button",isLoading:P,isDisabled:O,collapsibleContent:E,collapsibleDefaultOpen:L=!1,hideTagWhenCollapsed:_=!0,"aria-label":B,"aria-description":M,hideArrow:W=!1,tabIndex:G,keyValueMap:U,children:z,additionalInfo:V,url:H,...q}=e,K=(0,d.FF)("PART-1058-enable-new-self-serve-component-designs"),j=T&&"string"==typeof n?"".concat(l()(n),"_tag"):void 0,{current:Q}
1=(0,s.useRef)(a()("collapsible-section-")),[Z,$]=(0,s.useState)(L),J=!_||!(E&&Z),X=E?"div":F,ee=E?"button":"div";return(0,i.FD)(X,{type:E?void 0:"button","data-setstaticid":!0,"data-uid":n,css:e=>{var n,t;return[y.container(e,K?(0,c.N)(e.borderShape):8),(g||H)&&!N&&!W?y.hasLink:null,"thin"===k&&(null==(t=A[k])||null==(n=t.container)?void 0:n.call(t,e)),b[Y](e),P||O?b.loading(e):null]},onClick:()=>{if(H){window.open(H,"_blank","noopener,noreferrer"),null==g||g();return}E||N||null==g||g()},"aria-label":B,"aria-describedby":j||M||void 0,tabIndex:G,...q,children:[(0,i.FD)(ee,{css:e=>[y.collapsibleTrigger,y.rowContainer,A[k].rowContainer(e),E&&y.hasLink],onClick:E&&(()=>$(!Z)),"aria-controls":E&&Q,"aria-expanded":E&&Z,type:E?"button":void 0,children:[(0,i.FD)("div",{css:y.content,children:[D&&(0,i.Y)("div",{css:y.prepend,children:D}),r&&(0,i.Y)("div",{css:e=>y.icon(e),children:(0,i.Y)(h.A,{name:r,size:R,brandColor:S})}),(0,i.FD)("div",{css:y.subContent,children:[(0,i.FD)("div",{css:y.titleContent,children:[n&&(0,i.Y)("div",{css:e=>A[k].title(e),children:n}),x&&(0,i.Y)("div",{css:y.titleTag,children:(0,i.Y)(f.A,{isAnimated:x.isAnimated,theme:x.theme,children:x.text})})]}),t&&(0,i.Y)("div",{css:e=>y.description(e),children:(0,i.Y)(v.A,{isInline:!1,source:t})}),!!(null==U?void 0:U.length)&&(0,i.Y)("div",{css:y.keyValueContainer,children:(0,i.Y)(m.A,{keyValueMap:U})}),I&&(0,i.Y)("div",{css:y.footerTag,children:(0,i.Y)(f.A,{isAnimated:I.isAnimated,theme:I.theme,children:I.text})})]})]}),(0,i.FD)("div",{css:y.linkAppend,children:[o&&(0,i.Y)("div",{css:y.balance,children:"$".concat(o.replaceAll("$",""))}),T&&J&&(0,i.Y)(f.A,{isAnimated:T.isAnimated,theme:T.theme,id:j,children:T.text}),C,g&&N?(0,i.Y)(u.A,{onClick:g,theme:"primary",size:"small",children:N}):!W&&(0,i.Y)("div",{css:e=>[y.arrowIcon(e,Z),A[k].arrowIcon(e)],children:(0,i.Y)(h.A,{name:"arrow-right-small",size:"fill"})})]})]}),(P||O)&&(0,i.Y)(w,{showSpinner:!!P}),!!E&&(0,i.Y)("div",{css:y.collapsibleContainer,id:Q,children:(0,i.Y)(p.A,{isOpen:Z,children:(0,i.FD)("div",{css:e=>{var n,t;return[null==(t=A[k])||null==(n=t.collapsibleContainer)?void 0:n.call(t,e)]},children:[E,V&&(0,i.FD)("div",{css:e=>y.additionalInfo(e,K?(0,c.N)(e.borderShape):8),children:[(0,i.Y)("div",{css:y.additionalInfoIcon,children:(0,i.Y)(h.A,{name:"info",size:"small"})}),(0,i.Y)("div",{children:V})]})]})})}),z]})}},73849:(e,n,t)=>{t.d(n,{A:()=>l});var i=t(85294),o=t(45492);let l=(e,n)=>{if(null==e?void 0:e.cumulativeTimeToMaturity){let t={years:(null==e?void 0:e.cumulativeTimeToMaturity.years)||void 0,days:(null==e?void 0:e.cumulativeTimeToMaturity.days)||void 0,months:(null==e?void 0:e.cumulativeTimeToMaturity.months)||void 0,weeks:(null==e?void 0:e.cumulativeTimeToMaturity.weeks)||void 0},l=i.cP(new Date,t).toISOString();return(0,o.wV)(l,{dateFormat:o.Kn.LONG_MONTH_DAY_YEAR,...n&&{timezone:n}})}return null}},76967:(e,n,t)=>{t.d(n,{A:()=>C,a:()=>I});var i=t(65437),o=t(35767),l=t(62767),r=t(45492),a=t(27766),s=t(92323),c=t(80511),d=t(19661),u=t.n(d),p=t(40005),h=t.n(p),m=t(91909),g=t(84425),f=t(67869),v=t(35369),y=t(54047),b=t(45979),A=t(57604),w=t(40990),T=t(73045),x=t(86285);let I="f28a16fa-4112-442e-9241-4d8b86d04460",D={collapsibleContainer:{textAlign:"left"}},C=e=>{var n,t,d,p,C,Y,k,R,S,N,F,P,O,E,L,_,B,M,W;let G,{account:U,product:z,application:V,hideDetails:H=!1,defaultOpen:q=!0,heading:K,description:j}=e,{clientDetails:Q,experiences:{timezone:{zone:Z,experience:$},selfServe:{pages:{onboarding:J}}}}=(0,y.t)(),{clientId:X}=Q,ee=I===X&&(null==z?void 0:z.type)==="certificate",{fields:en}=(0,g.A)({entityType:(null==U||null==(n=U.fields)?void 0:n.customerType)!=="consumer"?"business":"person"}),{fields:et}=(0,g.A)({entityType:"account"}),ei=h()([...(null==U?void 0:U.organizations)||[],...(null==U?void 0:U.persons)||[]],[e=>null==e?void 0:e.isPrimaryEntity,e=>(null==e?void 0:e.relationshipType)==="primary"]).filter(e=>!!(null==e?void 0:e.relationshipType)).filter(Boolean),eo=(null==U?void 0:U.fields)?(0,v.Vd)({addressData:U.fields,fields:et}):[],el=ee?"".concat(null==U?void 0:U.number,"-").concat(null==U?void 0:U.number):(null==U||null==(t=U.fields)?void 0:t.accountDisplayNumber)||(null==U?void 0:U.number),er=(null==z?void 0:z.type)==="loan",ea=(0,o.qk)(null==V?void 0:V.rawFields),es=null!=(L=null==V||null==(p=V.feeSnapshot)||null==(d=p.find(e=>(null==e?void 0:e.accountReferenceId)===(null==ea?void 0:ea.referenceId)))?void 0:d.totalFeesAmountCents)?L:null,ec=(null!=(_=null==V?void 0:V.addOnSnapshot)?_:[]).filter(e=>(null==e?void 0:e.loanReferenceId)===(null==ea?void 0:ea.referenceId)&&!!(null==e?void 0:e.selectionData)),ed=ec.reduce((e,n)=>{var t,i,o;return e.plus(null!=(o=null==n||null==(i=n.selectionData)||null==(t=i.costs)?void 0:t.totalBaseCostInCents)?o:"0")},new c.A(0)).toString(),eu=eo.map(e=>{var n;return[null==(n=en["address".concat(null==e?void 0:e.addressType)])?void 0:n.displayLabel,(0,v.$P)(u()(e,"addressType"))]}),ep=(null==U?void 0:U.fundingTransactions)||(null==V?void 0:V.fundingTransactions),eh=(null==ep?void 0:ep.length)===1,em=eh?null==(C=ep[0])?void 0:C.fundingAmount:null==ep||null==(Y=ep.find(e=>!e.isPrimaryShareFundingTransaction))?void 0:Y.fundingAmount,eg=(ep||[]).find(e=>!!(null==e?void 0:e.accountId)&&(null==U?void 0:U.id)===e.accountId&&e.isPrimaryShareFundingTransaction),ef=eh?null:null==eg?void 0:eg.fundingAmount,{interestRate:ev,tooltip:ey}=null!=(B=(0,f.ry)({rateProperties:U,pageConfig:J}))?B:{},{apy:eb,tooltip:eA}=null!=(M=(0,f.xq)({rateProperties:U,pageConfig:J}))?M:{},ew="both"===$?"Open Date: ".concat((0,m.n)(Q.clientName)," open date display is based on ").concat(Z):null;"creditUnion"===Q.clientType&&(null==eg?void 0:eg.primaryShareCreationInstructionName)&&(G=null==Q||null==(W=Q.creditUnionConfig)?void 0:W.primaryShareCreationInstructions[eg.primaryShareCreationInstructionName]);let eT=null==U?void 0:U.outstandingLoanBalance,ex=(null==z?void 0:z.type)==="certificate",eI=null==et?void 0:et.interestEarnedPayment,eD=(0,b.kK)({fieldValue:null==U||null==(k=U.fields)?void 0:k.interestEarnedPayment,fieldConfig:eI})||null,eC=null==et?void 0:et.interestEarnedPaymentFrequency,eY=(0,b.kK)({fieldValue:null==U||null==(R=U.fields)?void 0:R.interestEarnedPaymentFrequency,fieldConfig:eC}
1)||null,ek=H?void 0:[...ei.filter(Boolean).map(e=>[e.relationshipDisplayText||null,"personId"in e?(0,l.L)(e):"organizationId"in e&&e.legalName||null]),["Account Type",null==z?void 0:z.name],["Account Name",null==U?void 0:U.name],["Account Number",el],...!er?[["Routing Number",null==U?void 0:U.routingNumber]]:[],["Membership ID",null==U||null==(S=U.fields)?void 0:S.externalCoreMembershipId],[(0,f.iw)(ew),(null==U?void 0:U.openDate)?(0,r.wV)(null==U?void 0:U.openDate,{dateFormat:r.Kn.LONG_MONTH_DAY_YEAR,..."both"===$&&{timezone:Z}}):null],["Maturity Date",(null==U?void 0:U.maturityDate)?(0,r.wV)(null==U?void 0:U.maturityDate,{dateFormat:r.Kn.LONG_MONTH_DAY_YEAR,..."both"===$&&{timezone:Z}}):null],...ex?[["Interest Payment Frequency",eY],["Interest Earned Payment",eD]]:[],...er?[["Loan Amount",eT?(0,a.CQ)(eT):null],["Repayment Term",(null==ea?void 0:ea.offerLoanTermMonths)?"".concat(ea.offerLoanTermMonths," months"):null]]:[["Initial Deposit",em?(0,a.CQ)(em):null],[(0,f.M8)({primaryShareCreationInstruction:G}),ef?(0,a.CQ)(ef):null],["Deposit Type",(0,f.hl)(null==ep?void 0:ep.find(e=>(null==e?void 0:e.type)==="rolloverFunds"||(null==e?void 0:e.type)==="transferFunds"))]],...!er?[[(0,f.Hf)({rateType:"apy",tooltip:eA,clientDetails:Q}),eb?(0,i.Y)(x.A,{source:eb,isInline:!1}):null]]:[],[er?"Interest Rate":(0,f.Hf)({rateType:"interestRate",tooltip:ey,clientDetails:Q}),ev?(0,i.Y)(x.A,{source:ev,isInline:!1}):null],...er?[["Total Fees",es?(0,a.CQ)(es):null],["Total Add-ons Cost",ec.length>0?(0,a.CQ)(ed):null]]:eu].filter(e=>!!e[0]&&!!e[1]),eR=H?void 0:(0,i.Y)("div",{css:D.collapsibleContainer,children:(0,i.Y)(A.A,{variant:"grey",flushMobile:!0,children:(0,i.Y)(w.A,{keyValueMap:ek,theme:"small",isValuesRightAligned:!0})})}),eS=z&&(null==U||null==(N=U.fields)?void 0:N.accountVariant)&&(null==z||null==(P=z.accountVariants)?void 0:P[null==U||null==(F=U.fields)?void 0:F.accountVariant])&&(null==(O=(0,s.Gm)(null==U||null==(E=U.fields)?void 0:E.accountVariant,z))?void 0:O.label);return(0,i.Y)("div",{children:(0,i.Y)(T.A,{title:null!=K?K:"Account Information",description:j||eS,icon:"wallet",collapsibleContent:eR,collapsibleDefaultOpen:q,Component:"div",tabIndex:0})})}},94888:(e,n,t)=>{t.d(n,{Ay:()=>T});var i=t(65437),o=t(82031),l=t(74161),r=t(56994),a=t(14518),s=t(86285),c=t(54047),d=t(88568),u=t(90726),p=t(23675);let h={subheading:{display:"flex",flexDirection:"column",gap:"1rem",textAlign:"center",marginTop:"1rem"},sectionHeading:e=>{let{colors:n,fontScales:t}=e;return{...t.large,display:"block",fontWeight:700,color:n.grey7,marginBottom:"0.5rem"}}},m=e=>{let{heading:n,children:t}=e;return(0,i.FD)("span",{children:[(0,i.Y)("h3",{css:h.sectionHeading,children:n}),t]})};var g=t(46608);let f=function(e,n,t){let{headerText:i,subheaderText:o,formInfoText:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};switch(e){case"consumerDepositCreateAccount":case"minorDepositCreateAccount":case"consumerDepositAddSecondaryOwner":case"businessDepositCreateAccount":case"createAccount":return{heading:i||"Thank you for applying!",subheading:o||"We’re reviewing your account application, which should take 2-3 business days. We’ll email you when our review is complete. Thank you for choosing ".concat(t,"."),formInfoText:l};case"businessDepositAddAuthorizedSigner":return{heading:i||"Thank you for applying!",subheading:"We’re working on adding you to ".concat(n,"'s account, which should take 2-3 business days. We’ll email you when it’s ready!"),formInfoText:l};case"businessUpdatePersons":return{heading:i||"Thank you for submitting!",subheading:"We’re working on updating the information on file for ".concat(n,", which should take 2-3 business days. We’ll email you when the updates are complete!"),formInfoText:l};default:return{heading:"Application Type ".concat(e," has not been implemented in this view")}}},v=e=>{let{application:n,onGoToProducts:t,...o}=e,{type:r,organization:a}=n,{clientDetails:{clientFullName:s,clientHomepageUrl:d},experiences:{selfServe:{pages:{manualReviewRequired:u={}}}}}=(0,c.t)(),p=null==a?void 0:a.legalName;return(0,i.Y)(l.A,{icon:"account-review",...f(r,p,s,u),...o,onGoToProducts:t,children:(0,i.FD)("div",{children:["Return to ",(0,i.Y)(g.A,{href:d,children:s})]})})},y={formInfoTextContainer:{marginBottom:"1rem"}};var b=t(96654);let A=e=>{var n,t;let{application:o,onGoToProducts:r,theme:a}=e,{missingSignatures:s,requiredSigners:c,missingPreOfferSignatures:d,missingClosingSignatures:u,isCurrentUserPrimarySigner:p,isMultiApplicantsCDASO:h}=o,m=null!=(n=null==c?void 0:c.length)?n:1,g=(0,b.ZM)(o),f=m-(null!=(t=new Set(g&&["preOffer","closing"].includes(g)?[...null!=d?d:[],...null!=u?u:[]].map(e=>null==e?void 0:e.entityId):[...null!=s?s:[]].map(e=>null==e?void 0:e.entityId)).size)?t:0);return(0,i.Y)(l.A,{icon:"illustration-waiting",heading:"Information Being Collected",subheading:"Thank y
1ou for reviewing. You’ll be able to continue once all required parties have reviewed this".concat(h?" joint owner":""," application.<br>\n        ").concat(p?"** ".concat(f," of ").concat(m," required ").concat(m>1?"signers have":"signer has"," signed.**"):""),theme:a,onGoToProducts:r})},w={[o.Of.APPROVED_PENDING]:e=>{let{application:{type:n,organization:t},...o}=e,d=(0,c.t)(),u=null==t?void 0:t.legalName;return(0,i.Y)(l.A,{icon:"account-review",...((e,n,t)=>{let o=t.experiences.selfServe.pages.approvedPending,l="You’re approved!";if((null==o?void 0:o.headerText)||(null==o?void 0:o.subheaderText)||(null==o?void 0:o.formInfoText)){let{headerText:e,subheaderText:n,formInfoText:t}=o;return{heading:e||l,subheading:(0,i.FD)(i.FK,{children:[n?(0,i.Y)(a.fz,{children:(0,i.Y)(s.A,{source:n})}):null,t?(0,i.Y)(a.fz,{children:(0,i.Y)(r.A,{theme:"note",children:t})}):null]})}}switch(e){case"consumerDepositCreateAccount":case"minorDepositCreateAccount":case"consumerDepositAddSecondaryOwner":case"businessDepositCreateAccount":case"updateAccount":case"createAccount":return{heading:l,subheading:"We’re working on opening your account, which should take 2-3 business days. We’ll email you when it’s ready!"};case"businessDepositAddAuthorizedSigner":return{heading:l,subheading:"We’re working on adding you to ".concat(n,"'s account, which should take 2-3 business days. We’ll email you when it’s ready!")};case"businessUpdatePersons":return{heading:"Your changes have been approved!",subheading:"We’re working on updating the information on file for ".concat(n,", which should take 2-3 business days. We’ll email you when the updates are complete!")}}})(n,u,d),...o})},[o.Of.MANUAL_REVIEW_REQUIRED]:v,[o.Of.SUBMISSION_PENDING]:v,[o.Of.REJECTED]:e=>{var n,t,o,a;let{application:{type:d,organization:u},products:p,counterOfferProduct:h,onCounterOfferProductClick:m,onGoToProducts:g,...f}=e,v=(0,c.t)(),b=null==u?void 0:u.legalName,A=null==(n=v.experiences.selfServe.pages.rejected)?void 0:n.headerText,w=null==(t=v.experiences.selfServe.pages.rejected)?void 0:t.subheaderText,T=null==(o=v.experiences.selfServe.pages.rejected)?void 0:o.formInfoText;return(0,i.Y)(l.A,{icon:"account-review",heading:A||"We’re sorry",productId:null==p||null==(a=p[0])?void 0:a.id,onGoToProductsButtonTheme:h?"link":"primary",onGoToProducts:g,counterOfferProduct:h,onCounterOfferProductClick:m,...((e,n,t,o,l)=>{switch(e){case"consumerDepositCreateAccount":case"minorDepositCreateAccount":case"consumerDepositAddSecondaryOwner":case"businessDepositCreateAccount":case"createAccount":{let e=t.map(e=>e.name).join(", "),n=o||"Thank you for your interest, but we are unable to approve you for the following account".concat(t.length>1?"s":"",": ").concat(e,". Please be on the lookout for an email from us with more information about why we were unable to approve your account").concat(t.length>1?"s":"",".");return{icon:"account-issue",subheading:(0,i.Y)(s.A,{source:n}),formInfoText:l?(0,i.Y)("div",{css:y.formInfoTextContainer,children:(0,i.Y)(r.A,{theme:"note",children:l})}):null}}case"businessDepositAddAuthorizedSigner":return{icon:"account-issue",subheading:"We were unable to add you to this account. Please contact us below for next steps."};case"businessUpdatePersons":return{icon:"people-issue",subheading:"We were unable to verify the ".concat(n," team. Please contact us below for next steps.")};default:return{subheading:"Application Type ".concat(e," has not been implemented in this view")}}})(d,b,p,w,T),...f})},[o.Of.CANCELED]:e=>{var n,t;let{onGoToProducts:o}=e,r=(0,c.t)();return(0,i.Y)(l.A,{icon:"cancel",heading:"Uh oh!",subheading:"It looks like this application may have been canceled. Please contact us below for next steps.",onGoToProducts:o,children:(0,i.FD)("div",{children:[(null==r||null==(n=r.clientDetails)?void 0:n.customerServiceNumber)&&(0,i.FD)(i.FK,{children:["Call us: ",r.clientDetails.customerServiceNumber]}),(null==r||null==(t=r.clientDetails)?void 0:t.customerServiceUrl)&&(0,i.Y)(d.A,{theme:"link",href:r.clientDetails.customerServiceUrl,children:"Visit Customer Support"})]})})},[o.Of.FUNDING_EXECUTION_FAILURE]:e=>{let{onGoToProducts:n,...t}=e,o=(0,c.t)();return(0,i.Y)(l.A,{icon:"account-review",heading:"Issue Processing Your Initial Deposit",subheading:"Your new account has been opened but there was an issue with your initial deposit. Please contact us and we will help get this resolved.",onGoToProducts:n,...t,children:(0,i.FD)("div",{children:["Call us: ",o.clientDetails.customerServiceNumber,(0,i.Y)(d.A,{theme:"link",href:o.clientDetails.customerServiceUrl,children:"Visit Customer Support"})]})})},[o.Of.BOOKED_BUP]:e=>{let{onGoToProducts:n}=e,t=(0,c.t)();return(0,i.Y)(l.A,{icon:"illustration-tada",heading:"Business information updated!",subheading:"The information on file for ".concat(t.clientDetails.clientName," has been successfully updated."),onGoToProducts:n})},[o.Of.INELIGIBLE]:e=>{let{onGoToProducts:n}=e,t=(0,c.t)();return(0,i.Y)(l.A,{icon:"illustration-failure",heading:"Unable to Open Account",subheading:"Looks like you’ve already opened this account type with ".concat(t.clientDetails.clientName,", so you’re ineligible to open a new one."),onGoToProducts:n})},[o.Of.INCOMPLETE_PENDING_DATA]:p.A,[o.Of.IN_BRANCH_CLOSING]:e=>{var n,t,o,r,a,s,d;let{onGoToProducts:u,theme:p}=e,h=(0,c.t)(),m=(0,i.FD)("div",{children:[(0,i.Y)("p",{children:"Due to state regulations, this loan requires an in-person signature with our notary. Come in to your closest branch location and sign to complete your loan."}),(0,i.FD)("p",{children:["If you have any questions please contact\xa0",(null==h||null==(n=h.clientDetails)?void 0:n.clientFullName)?h.clientDetails.clientFullName:"us",(null==h||null==(t=h.clientDetails)?void 0:t.customerServiceNumber)&&(0,i.FD)(i.FK,{children:["\xa0at\xa0",h.clientDetails.customerServiceNumber]})]})]}),g=null==(a=h.experiences)||null==(r=a.selfServe)||null==(o=r.pages)?void 0:o.inBranchClosing,f=null!=(s=null==g?void 0:g.headerText)?s:"Complete Your Loan by Signing in Branch",v=null!=(d=null==g?void 0:g.subheaderText)?d:m;return(0,i.Y)(l.A,{icon:"illustration-signature",heading:f,subheading:v,theme:p,onGoToProducts:u})},[o.Of.REVIEW_AND_SIGN_COMPLETED]:A,[o.Of.DECLINED_OFFER]:e=>{let{onGoToProducts:n,...t}=e,{clientDetails:{customerServiceNumber:o,clientFullName:r}}=(0,c.t)();return(0,i.Y)(l.A,{icon:"cancel",heading:"Loan Offer Declined",subheading:"Thanks for c
1onsidering ".concat(r,". If you have any further questions or concerns, contact ").concat(r," at ").concat(o),onGoToProducts:n,...t})},[o.Of.HANDOFF_SENT]:e=>{let{onGoToProducts:n,theme:t,handoffRecipient:o}=e;return(0,i.Y)(l.A,{icon:"airplane",heading:"Hand Off Sent",subheading:"Your part is complete!",theme:t,onGoToProducts:n,children:(0,i.Y)(u.A.H4,{children:o?"Your part is complete! We've handed off this application to ".concat(o," to complete."):"We've handed off this application"})})},[o.Of.CLOSING_DOCUMENTS_SIGNED]:A,[o.Of.UNSUPPORTED_RESIDENCY]:e=>{var n,t,o;let{onGoToProducts:r,theme:a}=e,s=(0,c.t)(),d=s.clientDetails.customerServiceNumber,u=null==(n=s.experiences.selfServe.pages.unsupportedResidency)?void 0:n.headerText,p=null==(t=s.experiences.selfServe.pages.unsupportedResidency)?void 0:t.subheaderText,h=null==(o=s.experiences.selfServe.pages.unsupportedResidency)?void 0:o.formInfoText;return(0,i.Y)(l.A,{icon:"application-rejected",heading:u||"We're Sorry",subheading:p||"Unfortunately, we’re currently unable to support online account applications from customers who identify as Nonresident Aliens. To move forward, we recommend you give our team a call at **".concat(d,"** and/or visit one of our branches."),formInfoText:h,onGoToProducts:r,theme:a})},[o.Of.INVALID_OWNERSHIP_STRUCTURE]:e=>{var n,t,o;let{theme:r,application:a,onGoToProducts:s}=e,u=(0,c.t)();return(0,i.Y)(l.A,{icon:"people-issue",heading:"Missing Control Prong",subheading:"".concat((null==a||null==(n=a.organization)?void 0:n.legalName)||"This business"," does not meet the beneficial ownership requirements needed to open this account. Please contact us for more information."),theme:r,onGoToProducts:s,children:(0,i.FD)("div",{children:[(null==u||null==(t=u.clientDetails)?void 0:t.customerServiceNumber)&&(0,i.FD)(i.FK,{children:["Call us: ",u.clientDetails.customerServiceNumber]}),(null==u||null==(o=u.clientDetails)?void 0:o.customerServiceUrl)&&(0,i.Y)(d.A,{theme:"link",href:u.clientDetails.customerServiceUrl,children:"Visit Customer Support"})]})})},[o.Of.DECLINED_APPLICATION]:e=>{let{onGoToProducts:n,...t}=e;return(0,i.Y)(l.A,{icon:"account-issue",heading:"Application Declined",subheading:"We’ve notified the account owner(s) of your decision to decline.",onGoToProducts:n,...t})},[o.Of.APPLICATION_INVITATION_REJECTED]:e=>{let{onGoToProducts:n,...t}=e;return(0,i.Y)(l.A,{icon:"illustration-failure",heading:"We're sorry",subheading:"Not all parties have approved your invitation to this account.",onGoToProducts:n,...t})},[o.Of.LOAN_ESTIMATE_EXPIRED]:e=>{var n,t,o,r;let{products:a,onGoToProducts:s,theme:u}=e,p=(0,c.t)(),g=null!=(r=null==p||null==(n=p.clientDetails)?void 0:n.clientFullName)?r:"your lender",f=null==a?void 0:a.find(e=>e.isTridLoan),v=null==f?void 0:f.loanEstimateExpirationInDays,y=null==p||null==(t=p.clientDetails)?void 0:t.customerServiceNumber,b=(0,i.FD)("span",{css:h.subheading,children:["Loan estimates are valid for ",v," business days from the date of issue. The estimate for your application is no longer active and cannot be used to proceed.",(0,i.Y)(m,{heading:"What this means for you:",children:"No action has been taken on your loan, and your application is still on file. To move forward, your lender will need to generate a new loan estimate reflecting current rates and terms."}),(0,i.FD)(m,{heading:"Next step:",children:["Please contact ",g," to request an updated loan estimate and continue your application."]}),y&&(0,i.Y)("span",{children:y})]});return(0,i.Y)(l.A,{icon:"application-review",heading:"Your Loan Estimate Has Expired",subheading:b,theme:u,onGoToProducts:s,children:(0,i.Y)("div",{children:(null==p||null==(o=p.clientDetails)?void 0:o.customerServiceUrl)&&(0,i.Y)(d.A,{theme:"link",href:p.clientDetails.customerServiceUrl,children:"Visit Customer Support"})})})}},T=e=>{let{viewCode:n,...t}=e,o=w[n];return(0,i.Y)(o,{...t})}},96654:(e,n,t)=>{t.d(n,{ZM:()=>i});let i=e=>{let{reviewStatus:n,preOfferStatus:t,offerStatus:i,closingStatus:o}=e;if("approved"!==n)return null;if(t)switch(t){case"manualReviewRequired":case"approved":case"incomplete":case"processing":return"preOffer"}if(i)switch(i){case"incomplete":case"approved":case"processing":return"offer";case"accepted":return"closing"}if(o)switch(o){case"incomplete":case"manualReviewRequired":return"closing"}return null}}}]);

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.