1import{b as De,c as Pe}from"./chunk-J2PDTKRD.js";import{a as p,b as ve}from"./chunk-HNFT3CBY.js";import"./chunk-B7SNLSGK.js";import"./chunk-VNPYY4VS.js";import{F as _e,d as ge,e as Ce,i as ye,n as be,o as we,s as xe,y as Ie}from"./chunk-UQLUOLH5.js";import{a as Se}from"./chunk-RLAVI7IK.js";import{a as m}from"./chunk-H6FKLVQ4.js";import"./chunk-TKLFVL62.js";import{d as oe,e as ce,m as he,n as U,o as ue}from"./chunk-SIJWI62L.js";import{B as le,C as j,G as de,P as me,Q as pe,S as fe,aa as Ae,q as re}from"./chunk-BPME3LOC.js";import{$b as te,Aa as T,Cb as J,Fa as x,Ib as Q,Jb as K,Ka as c,L as _,T as v,Ta as r,U as y,Ua as o,Va as P,Wa as q,Xa as W,Ya as $,Za as I,Zb as X,_b as ee,db as f,dd as B,fb as D,fd as V,gc as ie,id as g,jd as O,ka as R,ld as ae,m as H,pa as d,qa as u,qb as G,rb as Y,tb as S,td as ne,ud as se,vb as M,wa as F,xa as Z,za as k}from"./chunk-2LHUBT2Q.js";import"./chunk-BXCIALYJ.js";import"./chunk-LBEUMXOC.js";import"./chunk-2HDVBMTQ.js";import"./chunk-EHXWBBZT.js";import"./chunk-HC6MZPB3.js";import"./chunk-LOHYXAXQ.js";import"./chunk-EL5CQQ6W.js";import"./chunk-426OJ4HC.js";import"./chunk-42GMFTC3.js";import"./chunk-6ORVG5GD.js";import"./chunk-HXVUHKLC.js";import"./chunk-J5OMF6R4.js";import"./chunk-KWW2H4SN.js";import"./chunk-7HA5TF5T.js";import"./chunk-MM5QLNJM.js";import"./chunk-H3GX5QFY.js";import"./chunk-7D6K5XYM.js";import"./chunk-OBXDPQ3V.js";import"./chunk-6RQXLDZQ.js";import"./chunk-MCRJI3T3.js";import"./chunk-OT426E2Y.js";import"./chunk-5FWRYNIS.js";import{a as N,b as L,j as A}from"./chunk-V4IH5RX4.js";var Fe=["customDir"],Ve=n=>({gap:n});function Oe(n,w){if(n&1&&(r(0,"span",24),S(1),o()),n&2){let e=D();d(),M(" ",e.whiteLabelConstants.UpdatePaymentDetailsSubHeaderTextTwo,"")}}function je(n,w){if(n&1&&(r(0,"span",25),S(1),o()),n&2){let e=D();d(),M(" ",e.whiteLabelConstants.UpdatePaymentDetailsSubHeaderTextTwo,"")}}function ze(n,w){if(n&1){let e=I();r(0,"app-notification-box",26),f("copyClick",function(i){v(e);let a=D();return y(a.errMsgCopyClicked(i))}),o()}if(n&2){let e=D();c("notificationText",e.validationMsg||e.loaderText)("showIcon",!0)("showWarningIcon",!0)("status",e.notificationStatus)}}function He(n,w){if(n&1){let e=I();r(0,"added-banks",27),f("selectedBank",function(i){v(e);let a=D();return y(a.changeBankSelection(i))}),o()}if(n&2){let e=w.$implicit;c("bankDetails",e)}}function Re(n,w){if(n&1){let e=I();r(0,"added-card",28),f("selectedCard",function(i){v(e);let a=D();return y(a.changeCardSelection(i))}),o()}if(n&2){let e=w.$implicit;c("cardDetails",e)}}function Ze(n,w){if(n&1&&P(0,"app-footer",29),n&2){let e=D();c("isMobile",e.isMobile)("isCCCSite",e.wlService.IsCCCDomain())}}var ke=(()=>{class n{constructor(e,t,i,a,s,l,C,b){this.router=e,this.wlService=t,this.sessionService=i,this.tokenStorageService=a,this.paymentService=s,this.liveChatService=l,this.accountService=C,this.dateService=b,this.isMobile=!0,this.cardDetails=[],this.bankDetails=[],this.fetchedCardDetails=[],this.fetchedBankDetails=[],this.loaderText="",this.vcr=Z("customDir",{read:F}),this.isBankSelected=!1,this.isCardSelected=!1,this.hasActiveArng=!1,this.nextInstallmentDue="",this.notificationStatus="Owing"}ngOnInit(){sessionStorage.removeItem("isUpdatePaymentMethod"),this.whiteLabelConstants=this.wlService.getRedesignConstants("UpdatePaymentDetails"),this.confirmationConstants=this.wlService.getRedesignConstants("PaymentConfirmation"),this.accountId=this.sessionService.getAccountId(),this.paymentService.addedCardOrBank.subscribe(e=>{e&&this.loadDynamicComponent("confirmation",{hasActiveArng:this.hasActiveArng},!this.hasActiveArng)}),g("accountId",this.accountId)}ngAfterViewInit(){this.isMobile=this.tokenStorageService.isMobileView$.getValue(),this.isMobile||this.loadDynamicComponent("",{})}getPreviousArrangement(e,t,i){return A(this,null,function*(){this.wlService.showLoader(!0),this.accountService.getPreviousArrangement(this.accountId,!0).subscribe(a=>{a.PreviousArrangement.StatusID&&(this.selectedBankAccountIDForArng=a.PreviousArrangement.BankAccountContactID,this.hasActiveArng=a.PreviousArrangement.AccountArngID,this.nextInstallmentDue=a.PreviousArrangement.InstallmentStartDate),e&&t&&this.loadDynamicComponent(e,t,i),this.wlService.dismissLoader()},a=>{this.wlService.dismissLoader()})})}loadDynamicComponent(e,t,i=!1){if(g("UpdatePaymentDetailComponent.loadDynamicComponent: ",t),this.vcr()?.clear(),e==="addCard"){let a=this.vcr()?.createComponent(ve);a&&(t?.state?.accountId&&(a.instance.stateAccountId=t.state.accountId),t?.state?.cardDetail
1s&&(a.instance.stateCardDetails=t.state.cardDetails),t?.state?.hasActiveArng&&(a.instance.hasActiveArng=t.state.hasActiveArng),a?.instance.onAddCardClick.subscribe(()=>A(this,null,function*(){yield this.getPreviousArrangement("confirmation",t,!0),this.fetchContent(!0)})),a?.instance.navigateBack.subscribe(()=>{this.navigateToDashboard()}))}else if(e==="addBank"){let a=this.vcr()?.createComponent(De);a&&(a?.instance.onAddBankClick.subscribe(()=>A(this,null,function*(){yield this.getPreviousArrangement("confirmation",t,!1),this.fetchContent(!0)})),a?.instance.navigateBack.subscribe(()=>{this.navigateToDashboard()}),t?.state?.accountId&&(a.instance.stateAccountId=t.state.accountId),t?.state?.isNZCustomer&&(a.instance.isNZCustomer=t.state.isNZCustomer),t?.state?.bankDetails&&(a.instance.stateBankDetails=t.state.bankDetails),t?.state?.hasActiveArng&&(a.instance.hasActiveArng=t.state.hasActiveArng))}else if(e==="confirmation"){t?.state?.hasActiveArng&&(this.confirmationConstants.PaymentConfirmationPaymentMethodUpdateSuccessText=this.confirmationConstants?.PaymentConfirmationPaymentMethodUpdateSuccessText.replace("$firstPayDate$",this.dateService.formatDateWithSuffix(this.nextInstallmentDue)));let a=this.whiteLabelConstants.UpdatePaymentDetailsGreetingText,s=t?.state?.hasActiveArng?this.confirmationConstants?.PaymentConfirmationPaymentMethodSuccessUpdatedText:i?this.whiteLabelConstants.UpdatePaymentDetailsCreditCardSuccessNotificationText:this.whiteLabelConstants.UpdatePaymentDetailsBankCardSuccessNotificationText,l=t?.state?.hasActiveArng?this.confirmationConstants?.PaymentConfirmationPaymentMethodUpdateSuccessText:"",C=this.whiteLabelConstants.UpdatePaymentDetailsSuccessButtonText;if(!this.isMobile){let h=this.vcr()?.createComponent(be);h?.setInput("fromPage","addCard"),h?.setInput("greetingText",a),h?.setInput("successMessage",s),h?.setInput("receiptText",l),h?.setInput("buttonText",C),h?.instance.customButtonTrigger.subscribe(()=>{this.navigateToDashboard()});return}let b={fromPage:"addCard",greetingText:a,successMessage:s,receiptText:l,buttonText:C,nextPaymentDate:this.nextInstallmentDue};sessionStorage.setItem("isUpdatePaymentMethod","true"),this.router.navigate(["/dashboard/makepayment/confirmation"],{queryParams:b})}else{let a=this.vcr()?.createComponent(ue);a?.setInput("isMobile",this.isMobile),a?.setInput("showHardshipMessage",!1),a?.setInput("isExpanded",!0),a?.setInput("callContactUsApi",!0),a?.setInput("fromPage","login")}}navigateToDashboard(){this.loadDynamicComponent("",{})}addCard(){let e={};this.sessionService.getAccountId()!=this.accountId?e={state:{accountId:this.accountId,hasActiveArng:this.hasActiveArng}}:e={state:{hasActiveArng:this.hasActiveArng,fromPage:"updatePaymentDetails"}},this.isMobile?this.router.navigate(["/dashboard/makepayment/add-card"],e):this.loadDynamicComponent("addCard",e)}addBank(){let e={};this.sessionService.getAccountId()!=this.accountId?e={state:{accountId:this.accountId,isNZCustomer:this.isNZCustomer,hasActiveArng:this.hasActiveArng}}:e={state:{isNZCustomer:this.isNZCustomer,hasActiveArng:this.hasActiveArng,fromPage:"updatePaymentDetails"}},this.isMobile?this.router.navigate(["/dashboard/makepayment/add-bank-account"],e):this.loadDynamicComponent("addBank",e)}
1updatePaymentDetails(){if(this.validationMsg="",this.isBankSelected=!1,this.isCardSelected=!1,this.selectedBank=this.bankDetails.find(e=>e.isSelected),this.selectedCard=this.cardDetails.find(e=>e.isSelected),this.selectedBank?this.isBankSelected=!0:this.selectedCard&&(this.isCardSelected=!0),!this.isBankSelected&&!this.isCardSelected){this.validationMsg=this.whiteLabelConstants.UpdatePaymentDetailsUpdateValidationMsg;return}if(this.isBankSelected){g("Selected bank for update: ",JSON.stringify(this.selectedBank));let e={state:{accountId:this.accountId,isNZCustomer:this.isNZCustomer,hasActiveArng:this.hasActiveArng}};this.hasActiveArng&&this.processSetupPaymentPlan(e,!1)}else if(this.isCardSelected){g("Selected card for update: ",JSON.stringify(this.selectedCard));let e={state:{accountId:this.accountId,hasActiveArng:this.hasActiveArng}};this.hasActiveArng&&this.processSetupPaymentPlan(e,!0)}}processSetupPaymentPlan(e,t=!1){let i=this.composeSetupPaymentPlanRequest();g("SetupPaymentPlanRequest :",i),this.wlService.showLoader(),this.paymentService.SetupPaymentPlan(i).subscribe(a=>{if(this.setupPaymentPlanResponse=a,this.setupPaymentPlanResponse.StatusCode==j.Success){if(this.wlService.dismissLoader(),this.notificationStatus="Finalised",this.isMobile){this.loadDynamicComponent("confirmation",{state:{hasActiveArng:this.hasActiveArng}},t);return}this.getPreviousArrangement("confirmation",e,this.isCardSelected)}else if(this.wlService.dismissLoader(),this.setupPaymentPlanResponse.StatusCode==p.InvalidCreditCardDetails)this.validationMsg=m.CreditCardInvalid;else if(this.setupPaymentPlanResponse.StatusCode==p.ExpiredCreditCard)this.validationMsg=m.ExpiredCreditCard;else if(this.setupPaymentPlanResponse.StatusCode==p.InvalidDirectDebit)this.validationMsg=m.InvalidDirectDebit;else if(this.setupPaymentPlanResponse.StatusCode==p.CreditCardNotAllowed)this.validationMsg=m.CreditCardNotAllowed;else if(this.setupPaymentPlanResponse.StatusCode==p.PaymentPlanIsNotValid)this.validationMsg=this.wlService.IsUSDomain()?m.PaymentPlanIsNotValidUS:m.PaymentPlanIsNotValid;else if(this.setupPaymentPlanResponse.StatusCode==p.InstallmentAmountLessThanZeroPoint99)this.validationMsg=m.InstallmentAmountLessThanZeroPoint99;else if(this.setupPaymentPlanResponse.StatusCode==p.InstalAmtNotMatchedWithBrokArge)this.validationMsg=m.InstalAmtNotMatchedWithBrokArge;else if(this.setupPaymentPlanResponse.StatusCode==p.AmtNotEqualToSetupPlanRequestInstAmt)this.validationMsg=m.AmtNotEqualToSetupPlanRequestInstAmt;else if(this.setupPaymentPlanResponse.StatusCode==p.UserNotAllowedToSetupNewArge)this.validationMsg=this.wlService.IsUSDomain()?m.UserNotAllowedToSetupNewArgeUS:m.UserNotAllowedToSetupNewArge;else if(this.setupPaymentPlanResponse.StatusCode==p.InvalidFutureArngDate){this.wlService.dismissLoader();let s=this.wlService.getDisplayText("Arrangement.Date.MaxDaysLimit");this.validationMsg="Payment Dates must be within the next "+s+" days"}else this.setupPaymentPlanResponse.StatusCode===p.InvalidDateForArng&&(this.wlService.dismissLoader(),this.validationMsg=m.InvalidDateForArng)},a=>{this.wlService.dismissLoader(),this.validationMsg=this.getErrorMsg(a?.status)})}getErrorMsg(e){let i=new Map([[j.InternalServerError,m.InternalServerError]]).get(e);return i||""}composeSetupPaymentPlanRequest(){return{Token:this.tokenStorageService.getToken(),OfferId:this.accountId,PaymentDetail:{PaymentMethod:this.isCardSelected?O.CREDITCARD:O.DIRECTDEBIT,CreditCard:this.isCardSelected?{ExistingCreditCardId:this.selectedCard?.cardId?this.selectedCard?.cardId:"",CardHolderName:"",CardNumber:"",ExpiryMonth:0,ExpiryYear:0,Cvv:"",CardType:this.selectedCard?.cardType?this.selectedCard?.cardType.charAt(0).toUpperCase()+this.selectedCard?.cardType.slice(1).toLowerCase():""}:null,DirectDebit:this.isBankSelected?{ExistingDirectDebitId:this.selectedBank?.id,Bsb:"",AccountNumber:"",AccountName:"",AccountSuffix:""}:null},Domain:this.wlService.getDomainName(),SourceToken:this.sessionService.getSourceTokenValue(),InstallmentFrequency:"",InstallmentAmount:0,FirstPaymentDate:null,LumpSumAmount:0,OfferUserAction:"",IsUpdatePaymentMethod:!0}}changeCardSelection(e){e.isDelete?(g("Delete Card: ",e.cardId),this.deleteBankOrCard(e,null)):(this.cardDetail
1s.forEach(t=>{t.cardId!==e.cardId?(t.isSelected=!1,t.showDelete=this.selectedBankAccountIDForArng!==t.cardId):t.showDelete=t.isSelected?!1:this.selectedBankAccountIDForArng!==t.cardId}),this.bankDetails.forEach(t=>{t.isSelected=!1,t.showDelete=this.selectedBankAccountIDForArng!==t.id}))}changeBankSelection(e){e.isDelete?(g("Delete Bank: ",e.id),this.deleteBankOrCard(null,e)):(this.bankDetails.forEach(t=>{t.id!==e.id?(t.isSelected=!1,t.showDelete=this.selectedBankAccountIDForArng!==t.id):t.showDelete=t.isSelected?!1:this.selectedBankAccountIDForArng!==t.id}),this.cardDetails.forEach(t=>{t.isSelected=!1,t.showDelete=this.selectedBankAccountIDForArng!==t.cardId}))}returnToPrevPage(){this.router.navigate(["/dashboard"])}emitSelectedDT(e){g("emitSelectedDT",e),this.accountId=e,this.fetchContent()}fetchContent(e=!1){this.getPreviousArrangement("","",!1),this.validationMsg="",g("fetchContent for accountID",this.accountId);try{if(this.bankDetails=this.cardDetails=[],!this.hasFeature("HidePrevCardDetails")){let t=[];this.wlService.showLoader(),H([this.paymentService.GetCreditCards(this.accountId),this.paymentService.GetDirectDebits(this.accountId)]).subscribe(([i,a])=>{a&&(this.isNZCustomer=a.isNZCustomer),(a&&a?.DirectDebits?.length>0||this.bankDetails.length>0)&&(this.fetchedBankDetails=a?.DirectDebits?.map(s=>{let l=s.Name.split(" ");l=l.filter(E=>E!=="");var C=null,b=null;if(this.isNZCustomer){var h=l[1].split(" ")[0];C=h.slice(0,2),b=h.slice(-4)}return{id:s.Id,accountNumber:this.wlService.IsUSDomain()?Number(l[2]?.trim()):Number(l[1].split(" ")[1]),accountName:l[0],bsb:this.wlService.IsUSDomain()?l[1].trim():l[1].split(" ")[0],isSelected:this.selectedBankAccountIDForArng===s.Id,showDelete:this.selectedBankAccountIDForArng!==s.Id,suffix:l[2],bankCode:C,branchCode:b,isNZCustomer:this.isNZCustomer}}),this.fetchedBankDetails&&this.fetchedBankDetails.length>0&&(this.bankDetails=this.fetchedBankDetails),this.bankDetails.length>0&&e&&(this.bankDetails=this.bankDetails.map(s=>L(N({},s),{isSelected:!1})),this.bankDetails[0].isSelected=!0,this.bankDetails[0].showDelete=!1)),i&&(i?.CreditCards?.length&&i?.DebitCards?t=i.CreditCards.concat(i.DebitCards):i.CreditCards?t=i.CreditCards:i.DebitCards&&(t=i.DebitCards),this.fetchedCardDetails=t.map(s=>{let l=s.Name.split(" "),C=l[0].toLowerCase(),b=l[1].split(" ")[0],h=l[1].split(" ")[1],E=s.Expiry.split("/")[0],Be=s.Expiry.split("/")[1],Ue=this.selectedBankAccountIDForArng===s.Id,Ee=this.selectedBankAccountIDForArng!==s.Id;return{cardId:s.Id,cardType:C,cardNumber:b,fullName:h,isSelected:Ue,expiryMonth:E,expiryYear:Be,showDelete:Ee}}),this.cardDetails=this.fetchedCardDetails,this.cardDetails.length>0&&this.bankDetails.length==0&&e&&(this.cardDetails=this.cardDetails.map(s=>L(N({},s),{isSelected:!1})),this.cardDetails[0].isSelected=!0,this.cardDetails[0].showDelete=!1)),this.wlService.dismissLoader()},i=>{this.wlService.dismissLoader()})}}catch{this.wlService.dismissLoader()}}hasFeature(e){return this.wlService.hasFeature(e)}deleteBankOrCard(e,t){this.validationMsg="";let i={PaymentMethod:e?"CreditCard":"DirectDebit",AccountId:Number(sessionStorage.getItem("accountid")),CreditCard:e?{ExistingCreditCardId:e.cardId,CardHolderName:null,CardNumber:null,ExpiryMonth:null,ExpiryYear:null,Cvv:null}:null,DirectDebit:t?{ExistingDirectDebitId:t.id,AccountName:null,Bsb:null,AccountNumber:null}:null,Domain:this.wlService.getDomainName()};this.wlService.showLoader(),this.paymentService.deletePaymentDetail(i).subscribe(a=>{a?.StatusCode===100?(this.notificationStatus="Finalised",this.fetchContent()):(this.validationMsg=this.whiteLabelConstants?.UpdatePaymentDetailsDeleteFailedMsg,this.wlService.dismissLoader())},a=>{this.validationMsg=this.whiteLabelConstants?.UpdatePaymentDetailsDeleteFailedMsg,this.wlService.dismissLoader()})}errMsgCopyClicked(e){e==="liveChatClick"?this.liveChatService.maximize():e==="contactUsClick"&&this.router.navigate(["/dashboard/contact-us"])}static{this.\u0275fac=function(t){return new(t||n)(u(B),u(ne),u(ae),u(se),u(fe),u(oe),u(de),u(ge))}}static{this.\u0275cmp=k({type:n,selectors:[["app-account-detail"]],viewQuery:function(t,i){t&1&&G(i.vcr,Fe,5,F),t&2&&Y()},standalone:!1,decls:30,vars:39,consts:[["customDir",""],["forceOverscroll","false"],[3,"isMobile","
1isTransparent","disableVariableHeight"],["left-pane",""],[3,"onBackClick","toolbarTitle","showMenu","showLogo","showLeftIcon","isTransparent"],[1,"payment-details_5540-7100",3,"ngStyle"],[1,"title_5540-7101"],[1,"text-contact"],["class","text-cc text-burgandy",4,"ngIf"],["class","text-cc",4,"ngIf"],[3,"notificationText","showIcon","showWarningIcon","status","copyClick",4,"ngIf"],[1,"copy_5540-7104"],[1,"text-sub-message",3,"innerHTML"],[1,"childDiv"],[3,"selectedDT"],[1,"auto-layout_5540-7107"],[1,"auto-layout_9384-8945"],["style","width: 100%",3,"bankDetails","selectedBank",4,"ngFor","ngForOf"],[3,"clickEvent","buttonText","buttonType","iconSrc","rightIconSrc","customCss","isPayButton","textAlignment"],["style","width: 100%",3,"cardDetails","selectedCard",4,"ngFor","ngForOf"],[1,"cta_5540-7125"],[3,"clickEvent","buttonType","buttonText","isFullWidth","isDisabled"],[3,"isMobile","isCCCSite",4,"ngIf"],["right-pane",""],[1,"text-cc","text-burgandy"],[1,"text-cc"],[3,"copyClick","notificationText","showIcon","showWarningIcon","status"],[2,"width","100%",3,"selectedBank","bankDetail
1s"],[2,"width","100%",3,"selectedCard","cardDetails"],[3,"isMobile","isCCCSite"]],template:function(t,i){if(t&1){let a=I();r(0,"ion-content",1)(1,"app-split-pane-layout",2),q(2,3),r(3,"app-header-toolbar",4),f("onBackClick",function(){return v(a),y(i.returnToPrevPage())}),o(),r(4,"div",5)(5,"div",6)(6,"span",7),S(7),x(8,Oe,2,1,"span",8),o(),x(9,je,2,1,"span",9),o(),x(10,ze,1,4,"app-notification-box",10),r(11,"div",11),P(12,"span",12),Q(13,"sanitizedHtml"),o(),r(14,"div",13)(15,"app-multi-account-select",14),f("selectedDT",function(l){return v(a),y(i.emitSelectedDT(l))}),o()(),r(16,"div",15)(17,"div",16),x(18,He,1,1,"added-banks",17),r(19,"app-button",18),f("clickEvent",function(){return v(a),y(i.addBank())}),o(),r(20,"div",16),x(21,Re,1,1,"added-card",19),o(),r(22,"app-button",18),f("clickEvent",function(){return v(a),y(i.addCard())}),o()()(),r(23,"div",20)(24,"app-button",21),f("clickEvent",function(){return v(a),y(i.updatePaymentDetails())}),o()()(),x(25,Ze,1,2,"app-footer",22),W(),r(26,"div",23),$(27,null,0),o()(),P(29,"spinner"),o()}t&2&&(d(),c("isMobile",i.isMobile)("isTransparent",!1)("disableVariableHeight",!0),d(2),c("toolbarTitle",i.hasFeature("AllPages_ShowLogo")?null:i.whiteLabelConstants.UpdatePaymentDetailsHeaderText)("showMenu",!0)("showLogo",i.hasFeature("AllPages_ShowLogo"))("showLeftIcon",!0)("isTransparent",!1),d(),c("ngStyle",J(37,Ve,i.validationMsg||i.loaderText?"10px":"20px")),d(3),M(" ",i.whiteLabelConstants.UpdatePaymentDetailsSubHeaderTextOne," "),d(),c("ngIf",!i.isMobile),d(),c("ngIf",i.isMobile),d(),c("ngIf",i.validationMsg||i.loaderText),d(2),c("innerHTML",K(13,35,i.whiteLabelConstants==null?null:i.whiteLabelConstants.UpdatePaymentDetailsPageInfoText),R),d(6),c("ngForOf",i.bankDetails),d(),c("buttonText",i.whiteLabelConstants==null?null:i.whiteLabelConstants.UpdatePaymentDetailsAddBankButtonText)("buttonType","secondary")("iconSrc","assets/images/redesign/Bank.svg")("rightIconSrc","assets/images/redesign/right-arrow.svg")("customCss",!0)("isPayButton",!1)("textAlignment","left"),d(2),c("ngForOf",i.cardDetails),d(),c("buttonText",i.whiteLabelConstants==null?null:i.whiteLabelConstants.UpdatePaymentDetailsAddCardButtonText)("buttonType","secondary")("iconSrc","assets/images/redesign/CreditCard_dark.svg")("rightIconSrc","assets/images/redesign/right-arrow.svg")("customCss",!0)("isPayButton",!1)("textAlignment","left"),d(2),c("buttonType","primary")("buttonText",i.whiteLabelConstants==null?null:i.whiteLabelConstants.UpdatePaymentDetailsPrimaryButtonText)("isFullWidth",!0)("isDisabled",!i.hasActiveArng),d(),c("ngIf",i.wlService.IsCCCDomain()))},dependencies:[X,ee,te,re,pe,U,ce,Se,he,Ce,we,xe,Ie,me],styles:[`.payment-details_5540-7100{display:flex;flex-direction:column;flex-wrap:nowrap;grid-gap:5px;gap:10px;box-sizing:border-box;width:100%}.title_5540-7101{display:flex;flex-direction:column;justify-content:center;flex-wrap:nowrap;align-items:flex-start;gap:0px;box-sizing:border-box;width:-webkit-fill-available}.text-contact{color:var(--theme-color);font-size:46px;font-family:Outfit;line-height:46px;letter-spacing:-5%;text-decoration:none;font-weight:700;text-align:left;text-wrap:wrap;width:-webkit-fill-available}.text-cc{color:var(--navy-color);font-size:46px;font-family:Outfit;line-height:46px;letter-spacing:-5%;text-decoration:none;font-weight:700;text-align:left;text-wrap:wrap;width:-webkit-fill-available}.copy_5540-7104{display:flex;flex-direction:column;justify-content:flex-start;flex-wrap:nowrap;align-items:flex-start;gap:16px;box-sizing:border-box;width:-webkit-fill-available}.text-sub-message{color:var(--navy-color);font-size:18px;letter-spacing:0px;text-decoration:none;text-align:left;text-wrap:wrap;width:-webkit-fill-available}.auto-layout_5540-7107{display:flex;flex-direction:column;justify-content:center;flex-wrap:nowrap;align-items:flex-start;gap:16px;box-sizing:border-box;width:-webkit-fill-available}.auto-layout_5540-7107 app-button{width:100%}.auto-layout_9384-8945{display:flex;flex-direction:column;justify-content:flex-start;flex-wrap:nowrap;align-items:flex-start;gap:8px;box-sizing:border-box;width:100%}.cta_5540-7125{display:flex;flex-direction:column;justify-content:center;flex-wrap:nowrap;align-items:flex-start;gap:16px;box-sizing:border-box;overflow:hidden;width:-webkit-fill-available}.cta_5540-7125 app-button{width:100%} 2`],encapsulation:2})}}return n})();var Te=(()=>{class n{constructor(e){this.router=e}ngOnInit(){}doneClick(){this.router.navigate(["/dashboard"])}static{this.\u0275fac=function(t){return new(t||n)(u(B))}}static{this.\u0275cmp=k({type:n,selectors:[["app-update-payment-details-confirmation"]],standalone:!1,decls:10,vars:2,consts:[[1,"confirmation_5540-7785"],[1,"auto-layout_5540-7795"],[1,"text-thank-you--your-card-detail
2s-have-been-updated-_5540-7796"],[1,"text-this-might-take-up-to-5-mins-to-clear-_5540-7797"],[1,"button_5540-7798",3,"clickEvent","buttonType","buttonText"]],template:function(t,i){t&1&&(r(0,"div",0)(1,"div",1)(2,"span",2)(3,"b"),S(4,"Thank you."),o(),P(5,"br"),S(6,"Your card details have been updated."),o(),r(7,"span",3),S(8,"This might take up to 5 mins to clear."),o(),r(9,"app-button",4),f("clickEvent",function(){return i.doneClick()}),o()()()),t&2&&(d(9),c("buttonType","primary")("buttonText","Done"))},dependencies:[U],styles:[".confirmation_5540-7785[_ngcontent-%COMP%]{padding:50% 0 96px;display:flex;flex-direction:column;background:var(--white-color);flex-wrap:nowrap;align-items:center;gap:-32px;box-sizing:border-box;overflow:hidden;width:100%;height:100vh}.auto-layout_5540-7795[_ngcontent-%COMP%]{padding:0 24px;display:flex;flex-direction:column;justify-content:flex-start;flex-wrap:nowrap;align-items:flex-start;gap:32px;box-sizing:border-box;width:-webkit-fill-available}.text-thank-you--your-card-details-have-been-updated-_5540-7796[_ngcontent-%COMP%]{color:var(--navy-color);font-size:36px;letter-spacing:.2px;text-decoration:none;text-align:center;text-wrap:wrap;width:-webkit-fill-available}.text-this-might-take-up-to-5-mins-to-clear-_5540-7797[_ngcontent-%COMP%]{color:var(--navy-color);font-size:18px;font-family:Outfit;letter-spacing:0px;text-decoration:none;font-weight:400;text-align:center;text-wrap:wrap;width:-webkit-fill-available}.button_5540-7798[_ngcontent-%COMP%]{width:100%}"]})}}return n})();var qe=[{path:"",component:ke},{path:"confirmation",component:Te}],Me=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275mod=T({type:n})}static{this.\u0275inj=_({imports:[V.forChild(qe),V]})}}return n})();var zt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275mod=T({type:n})}static{this.\u0275inj=_({providers:[Pe,ye],imports:[ie,le,Me,Ae,_e]})}}return n})();export{zt as UpdatePaymentDetailModule};
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.