(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"6iyd":function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{constructor(n){this.elementRef=n,this.appAutoFocus=!0,this.focusDelay=0}ngOnChanges(){this.checkFocus()}checkFocus(){this.appAutoFocus&&document.activeElement!==this.elementRef.nativeElement&&setTimeout(()=>{this.elementRef.nativeElement.focus()},this.focusDelay)}}},REHm:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{constructor(){}ngOnInit(){}}},mowF:function(n,t,l){"use strict";l.r(t);var e=l("8Y7J");class o{}var i=l("pMnS"),c=l("TSSN"),a=l("SVse"),r=l("iInd"),u=l("2bj0"),g=l("TETI"),s=l("svkw"),b=l("REHm"),m=l("6iyd"),h=l("XpjX"),d=l("Fo8p"),p=l("Xwc5");class _{constructor(n,t,l){this.commonService=n,this.langService=t,this.translate=l,this.showHydro=!0,this.sortName=[h.s.HYDRO,h.s.TAI_LOC,h.s.SAVY,h.s.COUNTER,h.s.LIVEBANK,h.s.FOREIGN],this.groupForeign=["USD","EUR","AUD","CAD","GBP","JPY","SGD"],this.arrImgs=[{code:h.s.HYDRO,image:"assets/icons/inquiry/ic_piggy.svg"},{code:h.s.SAVY,image:"assets/icons/inquiry/ic_savy.svg"},{code:h.s.COUNTER,image:"assets/icons/inquiry/ic_branch.svg"},{code:h.s.LIVEBANK,image:"assets/icons/inquiry/ic_livebank.svg"},{code:h.s.FOREIGN,image:"assets/icons/inquiry/ic_foreign-currency.svg"},{code:h.s.TAI_LOC,image:"assets/icons/inquiry/ic_gold.svg"}]}ngOnInit(){this.commonService.setPageTitle("inquiry.saving.enquiries_saving"),this.commonService.showBreadcrumb(!0),this.curLang=this.langService.getLang(),this.bindSavingSummaryData();const n=this.translate.instant("inquiry.saving.hydro_saving");this.hydroName=n[0].toLowerCase()+n.slice(1)}bindSavingSummaryData(){this.commonService.callApi({method:d.a.GET,url:p.a.SAVING_ENQUIRIES_SUMMARY,success:this.setSavingSummaryData.bind(this)})}setSavingSummaryData(n){this.listSavingSummary=n,this.sortSavingNameByCode(this.listSavingSummary.groups),this.sortSavingAccountsByDate(this.listSavingSummary.groups),this.checkNoHydroSaving(this.listSavingSummary),this.listSavingSummary.totalForeigns.sort((n,t)=>this.groupForeign.indexOf(n.currency)-this.groupForeign.indexOf(t.currency)),window.scrollTo(0,0)}sortSavingNameByCode(n){n.sort((n,t)=>h.s.FOREIGN===n.code&&h.s.FOREIGN===t.code?this.groupForeign.indexOf(n.name_en)-this.groupForeign.indexOf(t.name_en):this.sortName.indexOf(n.code)-this.sortName.indexOf(t.code))}sortSavingAccountsByDate(n){n.forEach(n=>n.accounts.sort((n,t)=>{const l=new Date(n.maturityDate).getTime(),e=new Date(t.maturityDate).getTime();return l===e?n.acctName.localeCompare(t.acctName):l-e}))}getIcon(n){let t="";const l=this.arrImgs.find(t=>t.code===n);return l&&(t=l.image),t}checkNoHydroSaving(n){if(0!==n.groups.length){const t=n.groups.filter(n=>n.code===h.s.HYDRO);this.showHydro=t===[]||0===t.length}else this.showHydro=!0}}var C=l("oUVn"),M=l("WmRU"),O=e.pb({encapsulation:0,styles:[[".hide[_ngcontent-%COMP%]{display:none!important}.nonePointer[_ngcontent-%COMP%]{cursor:none;pointer-events:none}.show-saving[_ngcontent-%COMP%]{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.show[_ngcontent-%COMP%]{max-height:-webkit-fit-content!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.hide-saving[_ngcontent-%COMP%], .hideHydro[_ngcontent-%COMP%]{max-height:0;overflow:hidden;margin:0!important}.row[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.scale[_ngcontent-%COMP%], .scaleHydro[_ngcontent-%COMP%]{transition-duration:.5s;transition-property:transform;transform:rotate(180deg)}.unScaleHydro[_ngcontent-%COMP%], .unscale[_ngcontent-%COMP%]{transition-duration:.5s;transition-property:transform;transform:rotate(360deg)}.hideHydroSaving[_ngcontent-%COMP%]{display:none}.pointer[_ngcontent-%COMP%]{outline:0}.borderBottom[_ngcontent-%COMP%]{border-bottom-left-radius:5px!important;border-bottom-right-radius:5px!important}.content[_ngcontent-%COMP%]{margin-top:2rem;width:100%}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%]{width:352px;margin-bottom:1rem;padding:0;margin-right:24px}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-vnd[_ngcontent-%COMP%]{display:block;background-color:#fff;padding:24px;text-decoration:none;border-radius:5px;text-transform:capitalize}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-vnd[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500;font-size:14px;font-style:normal;font-stretch:normal;line-height:1.71;letter-spacing:normal;color:#ad8ad8;margin-bottom:5px}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-vnd[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-vnd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%]{font-size:30px;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;margin-bottom:0;word-break:break-all}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-vnd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{word-break:break-word}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%]{border-top:1px solid rgba(105,105,105,.14);border-top-left-radius:0;border-top-right-radius:0}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] .item-amount[_ngcontent-%COMP%]{margin-bottom:.3rem;padding-top:4px;padding-bottom:4px;border-right:1px solid #f6f6fe;width:50%}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] .item-amount[_ngcontent-%COMP%]:nth-child(odd){padding-left:0}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] .item-amount[_ngcontent-%COMP%]:nth-child(even){border-right:none;padding-left:16px}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] .item-amount[_ngcontent-%COMP%]:last-child{border-right:none}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] .item-amount[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:16px;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:.24px;margin-bottom:0;word-break:break-word}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%] .total-usd[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%] .minWidth[_ngcontent-%COMP%]{min-width:50%;width:unset}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%]{padding:0;width:424px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%]{max-height:100vh;overflow-y:auto;background-color:#fff;border-radius:5px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:3px;background:#e2d8ee}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#7b35bb}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%]{display:block;background-color:#fff;padding:24px;text-decoration:none;border-radius:0;text-transform:capitalize;overflow:hidden;border-top:2px solid rgba(239,241,248,.6)}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%]:first-child{border-top:none;border-top-right-radius:5px;border-top-left-radius:5px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .title-saving[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:16px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .title-saving[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-transform:initial;font-size:14px;font-weight:500;font-style:normal;font-stretch:normal;line-height:1.71;letter-spacing:normal;color:#ad8ad8;margin-bottom:0}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .icon-down[_ngcontent-%COMP%]{height:25px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%]{border-bottom:2px solid rgba(239,241,248,.6);justify-content:space-between;padding-top:16px;padding-bottom:16px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%]:focus{outline:0}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%]:hover{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px;background:#e2d8ef;border-top:2px solid rgba(239,241,248,.6);margin-top:-2px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .oval[_ngcontent-%COMP%]{padding:0;text-align:center;margin-right:16px;display:flex;justify-content:left;align-items:center;width:60px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%]{padding:0}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{word-break:break-word}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;text-transform:initial;justify-content:flex-start;font-style:normal;font-stretch:normal;line-height:1.71;letter-spacing:normal}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%] .account-number[_ngcontent-%COMP%]{min-width:60%;font-weight:400}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%] .gr_curr[_ngcontent-%COMP%]{min-width:40%}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%] .curren[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin-bottom:0}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] .medium[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%]:last-child{border-bottom:none;margin-bottom:-24px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;font-size:16px;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:.24px;padding:0}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:4px}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .no-content-saving[_ngcontent-%COMP%]{text-transform:initial;text-align:center;margin:1rem 0 0 5px;font-size:16px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .no-content-saving[_ngcontent-%COMP%] span.pointer[_ngcontent-%COMP%]{color:#ff9800}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%] .hydro[_ngcontent-%COMP%] .title-saving[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:0}@media screen and (max-width:831px){.content-left[_ngcontent-%COMP%]{width:45%!important;margin-right:0!important;padding-right:24px!important}.content-right[_ngcontent-%COMP%]{width:55%!important;margin-right:0!important}}@media screen and (max-width:576px){.content-left[_ngcontent-%COMP%], .content-right[_ngcontent-%COMP%]{width:100%!important;margin-right:0!important;padding-right:0!important}.content[_ngcontent-%COMP%] .content-right[_ngcontent-%COMP%] .account-saving[_ngcontent-%COMP%] .has-conntent-saving[_ngcontent-%COMP%] .saving-item[_ngcontent-%COMP%]{flex-wrap:nowrap}.content[_ngcontent-%COMP%] .content-left[_ngcontent-%COMP%]{padding-right:0}}"]],data:{}});function v(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,6,"div",[["class","item-amount"]],[[2,"minWidth",null]],null,null,null,null)),(n()(),e.rb(1,0,null,null,5,"h6",[],null,null,null,null,null)),(n()(),e.Lb(2,null,[""," "])),e.Hb(3,2),e.Hb(4,2),(n()(),e.rb(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),e.Lb(6,null,["",""]))],null,(function(n,t){n(t,0,0,1===t.component.listSavingSummary.totalForeigns.length);var l=e.Mb(t,2,0,t.context.$implicit.total%1==0?n(t,3,0,e.Db(t.parent.parent.parent,0),t.context.$implicit.total,"VND"):n(t,4,0,e.Db(t.parent.parent.parent,0),t.context.$implicit.total,t.context.$implicit.currency));n(t,2,0,l),n(t,6,0,t.context.$implicit.currency)}))}function P(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,6,"div",[["class","total-usd"]],null,null,null,null,null)),(n()(),e.rb(1,0,null,null,2,"h4",[["class","title"]],null,null,null,null,null)),(n()(),e.Lb(2,null,["",""])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(4,0,null,null,2,"div",[["class","amount row"]],null,null,null,null,null)),(n()(),e.gb(16777216,null,null,1,null,v)),e.qb(6,278528,null,0,a.m,[e.N,e.K,e.q],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){n(t,6,0,t.component.listSavingSummary.totalForeigns)}),(function(n,t){n(t,2,0,e.Mb(t,2,0,e.Db(t,3).transform("inquiry.saving.total_saving_foreign_currency")))}))}function f(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,12,"div",[["class","content-left"]],null,null,null,null,null)),(n()(),e.rb(1,0,null,null,9,"div",[["class","total-vnd card"]],[[2,"borderBottom",null]],null,null,null,null)),(n()(),e.rb(2,0,null,null,2,"h4",[["class","title"]],null,null,null,null,null)),(n()(),e.Lb(3,null,["",""])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(5,0,null,null,5,"h4",[["class","amount"]],null,null,null,null,null)),(n()(),e.Lb(6,null,[""," "])),e.Hb(7,2),(n()(),e.rb(8,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),e.Lb(9,null,["",""])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.gb(16777216,null,null,1,null,P)),e.qb(12,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null)],(function(n,t){n(t,12,0,t.component.listSavingSummary.totalForeigns.length)}),(function(n,t){var l=t.component;n(t,1,0,0===l.listSavingSummary.totalForeigns.length),n(t,3,0,e.Mb(t,3,0,e.Db(t,4).transform("inquiry.saving.total_saving_vnd")));var o=0!==l.listSavingSummary.totalVnd?e.Mb(t,6,0,n(t,7,0,e.Db(t.parent,0),l.listSavingSummary.totalVnd,"VND")):l.listSavingSummary.totalVnd;n(t,6,0,o),n(t,9,0,e.Mb(t,9,0,e.Db(t,10).transform("fund_topup.vnd")))}))}function x(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,18,"div",[["class","account-saving hydro"]],null,null,null,null,null)),(n()(),e.rb(1,0,null,null,3,"div",[["class","title-saving"]],null,null,null,null,null)),(n()(),e.rb(2,0,null,null,2,"h4",[],null,null,null,null,null)),(n()(),e.Lb(3,null,["",""])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(5,0,null,null,13,"div",[["class","no-content-saving"]],null,null,null,null,null)),(n()(),e.Lb(6,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(8,0,null,null,1,"span",[["class","saving_name"]],null,null,null,null,null)),(n()(),e.Lb(9,null,["",""])),(n()(),e.Lb(10,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(12,0,null,null,4,"span",[["class","pointer"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,13).onClick()&&o),o}),null,null)),e.qb(13,16384,null,0,r.n,[r.m,r.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(14,1),(n()(),e.Lb(15,null,[""," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.Lb(17,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h])],(function(n,t){var l=n(t,14,0,"/main/saving");n(t,13,0,l)}),(function(n,t){var l=t.component;n(t,3,0,e.Mb(t,3,0,e.Db(t,4).transform("inquiry.saving.hydro_saving"))),n(t,6,0,e.Mb(t,6,0,e.Db(t,7).transform("inquiry.saving.list_saving"))),n(t,9,0,l.hydroName),n(t,10,0,e.Mb(t,10,0,e.Db(t,11).transform("inquiry.saving.empty"))),n(t,15,0,e.Mb(t,15,0,e.Db(t,16).transform("fund_topup.click_here"))),n(t,17,0,e.Mb(t,17,0,e.Db(t,18).transform("inquiry.saving.to_set_new_saving_account")))}))}function y(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),e.Lb(1,null,["(",")"]))],null,(function(n,t){n(t,1,0,t.parent.context.$implicit.accounts.length)}))}function w(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,25,"div",[["class","saving-item row pointer"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,1).onClick()&&o),o}),null,null)),e.qb(1,16384,null,0,r.n,[r.m,r.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(2,2),(n()(),e.rb(3,0,null,null,1,"div",[["class","col-sm-2 oval"]],null,null,null,null,null)),(n()(),e.rb(4,0,null,null,0,"img",[["alt","Saving"]],[[8,"src",4]],null,null,null,null)),(n()(),e.rb(5,0,null,null,20,"div",[["class","center col-sm-9"]],null,null,null,null,null)),(n()(),e.rb(6,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),e.Lb(7,null,["",""])),(n()(),e.rb(8,0,null,null,11,"div",[["class","medium"]],null,null,null,null,null)),(n()(),e.rb(9,0,null,null,2,"h6",[["class","account-number"]],null,null,null,null,null)),(n()(),e.Lb(10,null,["",""])),e.Hb(11,1),(n()(),e.rb(12,0,null,null,7,"div",[["class","gr_curr"]],null,null,null,null,null)),(n()(),e.rb(13,0,null,null,6,"h6",[["class","curren"]],null,null,null,null,null)),(n()(),e.Lb(14,null,[""," "])),e.Hb(15,2),e.Hb(16,2),e.Hb(17,2),(n()(),e.rb(18,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),e.Lb(19,null,["",""])),(n()(),e.rb(20,0,null,null,5,"p",[],null,null,null,null,null)),(n()(),e.Lb(21,null,[""," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(23,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),e.Lb(24,null,["",""])),e.Hb(25,2)],(function(n,t){var l=n(t,2,0,"/main/inquiry/saving",t.context.$implicit.acctNo);n(t,1,0,l)}),(function(n,t){n(t,4,0,t.component.getIcon(t.parent.parent.context.$implicit.code)),n(t,7,0,t.context.$implicit.acctName);var l=e.Mb(t,10,0,n(t,11,0,e.Db(t.parent.parent.parent.parent,1),t.context.$implicit.acctNo));n(t,10,0,l);var o=e.Mb(t,14,0,"foreign"===t.parent.parent.context.$implicit.code?t.context.$implicit.balance%1==0?n(t,15,0,e.Db(t.parent.parent.parent.parent,0),t.context.$implicit.balance,"VND"):n(t,16,0,e.Db(t.parent.parent.parent.parent,0),t.context.$implicit.balance,t.context.$implicit.currency):n(t,17,0,e.Db(t.parent.parent.parent.parent,0),t.context.$implicit.balance,t.context.$implicit.currency));n(t,14,0,o),n(t,19,0,t.context.$implicit.currency),n(t,21,0,e.Mb(t,21,0,e.Db(t,22).transform("inquiry.saving.harvest")));var i=e.Mb(t,24,0,n(t,25,0,e.Db(t.parent.parent.parent.parent,2),t.context.$implicit.maturityDate,"dd/MM/yyyy"));n(t,24,0,i)}))}function k(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,2,"div",[["class","has-conntent-saving"]],[[2,"hideHydro",null],[2,"show-saving",null],[2,"hide-saving",null]],null,null,null,null)),(n()(),e.gb(16777216,null,null,1,null,w)),e.qb(2,278528,null,0,a.m,[e.N,e.K,e.q],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){n(t,2,0,t.parent.context.$implicit.accounts)}),(function(n,t){n(t,0,0,"hydro"===t.parent.context.$implicit.code&&t.parent.context.$implicit["expanded"+t.parent.context.index],t.parent.context.$implicit["expanded"+t.parent.context.index],!t.parent.context.$implicit["expanded"+t.parent.context.index]&&"hydro"!==t.parent.context.$implicit.code)}))}function S(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,13,"div",[["class","no-content-saving"]],null,null,null,null,null)),(n()(),e.Lb(1,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(3,0,null,null,1,"span",[["class","saving_name"]],null,null,null,null,null)),(n()(),e.Lb(4,null,["",""])),(n()(),e.Lb(5,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(7,0,null,null,4,"span",[["class","pointer"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,8).onClick()&&o),o}),null,null)),e.qb(8,16384,null,0,r.n,[r.m,r.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(9,1),(n()(),e.Lb(10,null,[""," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.Lb(12,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h])],(function(n,t){var l=n(t,9,0,"/main/saving");n(t,8,0,l)}),(function(n,t){var l=t.component;n(t,1,0,e.Mb(t,1,0,e.Db(t,2).transform("inquiry.saving.list_saving"))),n(t,4,0,l.hydroName),n(t,5,0,e.Mb(t,5,0,e.Db(t,6).transform("inquiry.saving.empty"))),n(t,10,0,e.Mb(t,10,0,e.Db(t,11).transform("fund_topup.click_here"))),n(t,12,0,e.Mb(t,12,0,e.Db(t,13).transform("inquiry.saving.to_set_new_saving_account")))}))}function D(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,10,"div",[["class","account-saving"]],[[2,"hide",null]],null,null,null,null)),(n()(),e.rb(1,0,null,null,5,"div",[["class","title-saving pointer"]],[[2,"nonePointer",null]],[[null,"click"]],(function(n,t,l){var e=!0;return"click"===t&&(e=0!=(n.context.$implicit["expanded"+n.context.index]=!n.context.$implicit["expanded"+n.context.index])&&e),e}),null,null)),(n()(),e.rb(2,0,null,null,3,"h4",[],null,null,null,null,null)),(n()(),e.Lb(3,null,[""," "])),(n()(),e.gb(16777216,null,null,1,null,y)),e.qb(5,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null),(n()(),e.rb(6,0,null,null,0,"img",[["alt","down"],["class","icon-down"],["src","assets/icons/Icons_Arrow_Down.svg"]],[[2,"scaleHydro",null],[2,"unScaleHydro",null],[2,"scale",null],[2,"unscale",null],[2,"hide",null]],null,null,null,null)),(n()(),e.gb(16777216,null,null,1,null,k)),e.qb(8,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null),(n()(),e.gb(16777216,null,null,1,null,S)),e.qb(10,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null)],(function(n,t){n(t,5,0,0!==t.context.$implicit.accounts.length),n(t,8,0,0!==t.context.$implicit.accounts.length),n(t,10,0,0===t.context.$implicit.accounts.length&&"hydro"===t.context.$implicit.code)}),(function(n,t){var l=t.component;n(t,0,0,0===t.context.$implicit.accounts.length&&"hydro"!==t.context.$implicit.code),n(t,1,0,0===t.context.$implicit.accounts.length),n(t,3,0,"vi"===l.curLang?t.context.$implicit.name_vi:t.context.$implicit.name_en),n(t,6,0,!t.context.$implicit["expanded"+t.context.index]&&"hydro"===t.context.$implicit.code,t.context.$implicit["expanded"+t.context.index]&&"hydro"===t.context.$implicit.code,t.context.$implicit["expanded"+t.context.index]&&"hydro"!==t.context.$implicit.code,!t.context.$implicit["expanded"+t.context.index]&&"hydro"!==t.context.$implicit.code,0===t.context.$implicit.accounts.length)}))}function L(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,5,"div",[["class","content-right"]],null,null,null,null,null)),(n()(),e.rb(1,0,null,null,4,"div",[["class","scroll-content"]],null,null,null,null,null)),(n()(),e.gb(16777216,null,null,1,null,x)),e.qb(3,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null),(n()(),e.gb(16777216,null,null,1,null,D)),e.qb(5,278528,null,0,a.m,[e.N,e.K,e.q],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){var l=t.component;n(t,3,0,l.showHydro),n(t,5,0,l.listSavingSummary.groups)}),null)}function B(n){return e.Nb(0,[e.Fb(0,u.a,[]),e.Fb(0,g.a,[]),e.Fb(0,a.e,[e.s]),(n()(),e.rb(3,0,null,null,1,"app-nav-tab",[],null,null,null,s.b,s.a)),e.qb(4,114688,null,0,b.a,[],null,null),(n()(),e.rb(5,0,null,null,5,"div",[["class","content row"]],null,null,null,null,null)),e.qb(6,540672,null,0,m.a,[e.k],{appAutoFocus:[0,"appAutoFocus"]},null),(n()(),e.gb(16777216,null,null,1,null,f)),e.qb(8,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null),(n()(),e.gb(16777216,null,null,1,null,L)),e.qb(10,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null)],(function(n,t){var l=t.component;n(t,4,0),n(t,6,0,!0),n(t,8,0,l.listSavingSummary),n(t,10,0,l.listSavingSummary)}),null)}function N(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,1,"app-saving",[],null,null,null,B,O)),e.qb(1,114688,null,0,_,[C.a,M.a,c.j],null,null)],(function(n,t){n(t,1,0)}),null)}var q=e.nb("app-saving",_,N,{},{},[]),I=l("W0uk"),A=l("idmU"),F=l("BW0S"),j=l("oJK4"),$=l("/nuz"),E=l("4Rf3"),H=l("Ou8G"),R=l("B7dy");class T{constructor(n,t,l,e,o,i){this.commonService=n,this.activedRoute=t,this.langService=l,this.cdr=e,this.router=o,this.translateService=i,this.isShowPayOffBtn=!0,this.isShowDialog=!1,this.isShowPopupSavy=!1}ngAfterViewInit(){this.widthCurrentProgress&&(this.widthCurrentProgress=this.progressCardComponent.widthCurrentProgress,this.cdr.detectChanges())}ngOnInit(){this.commonService.showBackButton(),this.commonService.setPageTitle(""),this.accountNumber=this.activedRoute.snapshot.paramMap.get("accNumber"),this.bindDetailSavingData(),this.currentLang=this.langService.getLang()}bindDetailSavingData(){this.commonService.callApi({method:d.a.GET,url:`${p.a.SAVING_ENQUIRIES_DETAILS}${this.accountNumber}`,success:this.setDetailSavingData.bind(this)})}setDetailSavingData(n){this.savingDetail=n,this.commonService.setPageTitle("vi"===this.currentLang?this.savingDetail.accInfo.groupNameVi:this.savingDetail.accInfo.groupNameEn),window.scrollTo(0,0)}cardSavingEmit(n){const t=n.accInfo;"savy"===t.groupCode?this.isShowPopupSavy=!0:(this.isShowPopupSavy=!1,t.settlementType=Object(R.a)(n.accInfo.settlementType),this.router.navigate(["/main/saving/autoroll-setting"],{state:{savingDetail:t}}))}clickHeaderBtn(){const n={accountNumber:this.savingDetail.accInfo.acctNo,branchCode:this.savingDetail.accInfo.branchCode,effectiveDate:this.savingDetail.accInfo.startDate};if(this.rateWithdrawalPremature)return this.contentDialog=this.translateService.instant("saving.settlement_content",{rate:this.rateWithdrawalPremature}),"savy"===this.savingDetail.accInfo.groupCode?(this.isShowPopupSavy=!0,this.isShowDialog=!1):(this.isShowDialog=!0,this.isShowPopupSavy=!1),"";this.commonService.callApi({method:"post",progress:!0,data:n,url:p.a.SAVING_INTEREST_RATES_NON_TERM,success:n=>{this.rateWithdrawalPremature=n.rate,this.contentDialog=this.translateService.instant("saving.settlement_content",{rate:n.rate}),"savy"===this.savingDetail.accInfo.groupCode?(this.isShowPopupSavy=!0,this.isShowDialog=!1):(this.isShowDialog=!0,this.isShowPopupSavy=!1)},error:n=>{console.log(n)}})}moveWithdrawalPremature(){this.router.navigate(["/main/saving/early-settlement"],{state:{savingDetail:this.savingDetail.accInfo}})}}var z=e.pb({encapsulation:0,styles:[[".row[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.hide[_ngcontent-%COMP%]{display:none}.final[_ngcontent-%COMP%]{text-align:right;margin-top:-3.3rem;margin-bottom:2.5rem;color:#a0a5b6;font-size:16px;font-weight:500;font-style:normal;font-stretch:normal;line-height:1.75;letter-spacing:.27px}.active[_ngcontent-%COMP%]{color:#ff9800}.inactive[_ngcontent-%COMP%]{display:none}.content-detail[_ngcontent-%COMP%]{max-width:800px;margin:auto}.content-detail[_ngcontent-%COMP%] .content-detail-bottom[_ngcontent-%COMP%]{width:45%;margin:24px auto auto;text-align:center}.content-detail[_ngcontent-%COMP%] .content-detail-bottom[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;text-align:center}.content-detail[_ngcontent-%COMP%] .content-detail-bottom[_ngcontent-%COMP%] span[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:17px;margin-bottom:2px}.modal-inner[_ngcontent-%COMP%]{width:100%;text-align:center;display:flex;flex-direction:column}.modal-inner[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{margin-bottom:16px;font-size:20px;font-weight:700}.modal-inner[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{font-size:16px;color:#ad8ad8;text-align:center}.wrap-btn-saving[_ngcontent-%COMP%]{margin-top:24px;display:flex;flex-wrap:wrap}.wrap-btn-saving[_ngcontent-%COMP%] .btn-again[_ngcontent-%COMP%], .wrap-btn-saving[_ngcontent-%COMP%] .btn-home[_ngcontent-%COMP%]{min-width:190px!important;max-width:288px}.wrap-btn-saving[_ngcontent-%COMP%] .btn-again[_ngcontent-%COMP%]{margin-right:24px}.confirm_saving_savy[_ngcontent-%COMP%] .modal-content-wrapper{max-width:540px!important}@media screen and (max-width:700px){.content-detail-bottom[_ngcontent-%COMP%]{width:100%!important}}@media screen and (max-width:575px){.wrap-btn-saving[_ngcontent-%COMP%]{justify-content:center}.wrap-btn-saving[_ngcontent-%COMP%] .btn-again[_ngcontent-%COMP%]{margin-right:0!important;order:2;margin-top:16px}.wrap-btn-saving[_ngcontent-%COMP%] .btn-again[_ngcontent-%COMP%], .wrap-btn-saving[_ngcontent-%COMP%] .btn-home[_ngcontent-%COMP%]{width:100%}.wrap-btn-saving[_ngcontent-%COMP%] .btn-home[_ngcontent-%COMP%]{order:1}.btn[_ngcontent-%COMP%]{max-width:100%!important}app-progress-card[_ngcontent-%COMP%] .show-header-button.mobile{padding-top:32px}}"]],data:{}});function G(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,4,"div",[["class","content-detail show-header-button"]],null,null,null,null,null)),(n()(),e.rb(1,0,null,null,1,"app-progress-card",[],null,[[null,"headerBtn"]],(function(n,t,l){var e=!0;return"headerBtn"===t&&(e=!1!==n.component.clickHeaderBtn()&&e),e}),I.b,I.a)),e.qb(2,114688,[[1,4]],0,A.a,[C.a],{savingDetail:[0,"savingDetail"]},{headerBtn:"headerBtn"}),(n()(),e.rb(3,0,null,null,1,"app-card-saving",[],null,[[null,"cardSavingEmit"]],(function(n,t,l){var e=!0;return"cardSavingEmit"===t&&(e=!1!==n.component.cardSavingEmit(l)&&e),e}),F.b,F.a)),e.qb(4,114688,null,0,j.a,[M.a,r.m],{savingDetail:[0,"savingDetail"]},{cardSavingEmit:"cardSavingEmit"})],(function(n,t){var l=t.component;n(t,2,0,l.savingDetail),n(t,4,0,l.savingDetail)}),null)}function W(n){return e.Nb(0,[e.Fb(0,$.a,[]),e.Jb(671088640,1,{progressCardComponent:0}),(n()(),e.gb(16777216,null,null,1,null,G)),e.qb(3,16384,null,0,a.n,[e.N,e.K],{ngIf:[0,"ngIf"]},null),(n()(),e.rb(4,0,null,null,19,"app-modal",[],null,[[null,"hideModal"],[null,"showChange"]],(function(n,t,l){var e=!0,o=n.component;return"hideModal"===t&&(e=0!=(o.isShowDialog=!1)&&e),"showChange"===t&&(e=!1!==(o.isShowDialog=l)&&e),e}),E.b,E.a)),e.qb(5,638976,null,0,H.a,[],{show:[0,"show"]},{showChange:"showChange",hideModal:"hideModal"}),(n()(),e.rb(6,0,null,0,17,"div",[["class","modal-inner"]],null,null,null,null,null)),(n()(),e.rb(7,0,null,null,9,"span",[["class","modal-content"]],null,null,null,null,null)),(n()(),e.rb(8,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),e.Lb(9,null,["",""])),e.Hb(10,2),(n()(),e.rb(11,0,null,null,2,"span",[["style","color: #42236a"]],null,null,null,null,null)),(n()(),e.Lb(12,null,["",""])),e.Hb(13,2),(n()(),e.rb(14,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),e.Lb(15,null,["",""])),e.Hb(16,2),(n()(),e.rb(17,0,null,null,6,"div",[["class","wrap-btn-saving"],["style","justify-content: center;"]],null,null,null,null,null)),(n()(),e.rb(18,0,null,null,2,"button",[["class","btn-again btn btn-secondary"]],null,[[null,"click"]],(function(n,t,l){var e=!0;return"click"===t&&(e=0!=(n.component.isShowDialog=!1)&&e),e}),null,null)),(n()(),e.Lb(19,null,["",""])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(21,0,null,null,2,"button",[["class","btn-home btn btn-primary"]],null,[[null,"click"]],(function(n,t,l){var e=!0;return"click"===t&&(e=!1!==n.component.moveWithdrawalPremature()&&e),e}),null,null)),(n()(),e.Lb(22,null,["",""])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(24,0,null,null,9,"app-modal",[["class","confirm_saving_savy"]],null,[[null,"hideModal"],[null,"showChange"]],(function(n,t,l){var e=!0,o=n.component;return"hideModal"===t&&(e=0!=(o.isShowPopupSavy=!1)&&e),"showChange"===t&&(e=!1!==(o.isShowPopupSavy=l)&&e),e}),E.b,E.a)),e.qb(25,638976,null,0,H.a,[],{show:[0,"show"]},{showChange:"showChange",hideModal:"hideModal"}),(n()(),e.rb(26,0,null,0,7,"div",[["class","modal-inner"]],null,null,null,null,null)),(n()(),e.rb(27,0,null,null,2,"span",[["class","modal-content"]],null,null,null,null,null)),(n()(),e.Lb(28,null,[" "," "])),e.Fb(131072,c.i,[c.j,e.h]),(n()(),e.rb(30,0,null,null,3,"div",[["class","wrap-btn-saving"],["style","justify-content: center;"]],null,null,null,null,null)),(n()(),e.rb(31,0,null,null,2,"button",[["class","btn-home btn btn-primary"]],null,[[null,"click"]],(function(n,t,l){var e=!0;return"click"===t&&(e=0!=(n.component.isShowPopupSavy=!1)&&e),e}),null,null)),(n()(),e.Lb(32,null,["",""])),e.Fb(131072,c.i,[c.j,e.h])],(function(n,t){var l=t.component;n(t,3,0,l.savingDetail),n(t,5,0,l.isShowDialog),n(t,25,0,l.isShowPopupSavy)}),(function(n,t){var l=t.component,o=e.Mb(t,9,0,n(t,10,0,e.Db(t,0),l.contentDialog,0));n(t,9,0,o);var i=e.Mb(t,12,0,n(t,13,0,e.Db(t,0),l.contentDialog,1));n(t,12,0,i);var c=e.Mb(t,15,0,n(t,16,0,e.Db(t,0),l.contentDialog,2));n(t,15,0,c),n(t,19,0,e.Mb(t,19,0,e.Db(t,20).transform("general.btn_cancel"))),n(t,22,0,e.Mb(t,22,0,e.Db(t,23).transform("txt_login_close_btn"))),n(t,28,0,e.Mb(t,28,0,e.Db(t,29).transform("saving.common.to_download_app_savy"))),n(t,32,0,e.Mb(t,32,0,e.Db(t,33).transform("general.btn_close")))}))}function J(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,1,"app-saving-detail",[],null,null,null,W,z)),e.qb(1,4308992,null,0,T,[C.a,r.a,M.a,e.h,r.m,c.j],null,null)],(function(n,t){n(t,1,0)}),null)}var V=e.nb("app-saving-detail",T,J,{},{},[]),K=l("t68o"),U=l("zbXB"),Y=l("nUBW"),X=l("NcyJ"),Q=l("QQfA"),Z=l("IP0z"),nn=l("s6ns"),tn=l("POq0"),ln=l("821u"),en=l("Xd0L"),on=l("/HVE"),cn=l("s7LF"),an=l("tE3g"),rn=l("IheW"),un=l("twHD"),gn=l("Bivo"),sn=l("nACA"),bn=l("b2ZG");class mn{}var hn=l("cUpR"),dn=l("Fwaw"),pn=l("zMNK"),_n=l("hOhj"),Cn=l("5GAg"),Mn=l("HsOI"),On=l("oapL"),vn=l("ZwOa"),Pn=l("LSHg"),fn=l("PCNd"),xn=l("BWTZ"),yn=l("A8Sk"),wn=l("mBWA"),kn=l("1SeI");l.d(t,"SavingModuleNgFactory",(function(){return Sn}));var Sn=e.ob(o,[],(function(n){return e.Ab([e.Bb(512,e.j,e.Z,[[8,[i.a,q,V,K.a,U.b,U.a,Y.a,X.c,X.b]],[3,e.j],e.v]),e.Bb(4608,a.p,a.o,[e.s,[2,a.G]]),e.Bb(4608,Q.a,Q.a,[Q.g,Q.c,e.j,Q.f,Q.d,e.p,e.x,a.d,Z.b,[2,a.i]]),e.Bb(5120,Q.h,Q.i,[Q.a]),e.Bb(5120,nn.b,nn.c,[Q.a]),e.Bb(135680,nn.d,nn.d,[Q.a,e.p,[2,a.i],[2,nn.a],nn.b,[3,nn.d],Q.c]),e.Bb(4608,tn.b,tn.b,[]),e.Bb(4608,ln.i,ln.i,[]),e.Bb(5120,ln.a,ln.b,[Q.a]),e.Bb(4608,en.b,en.b,[]),e.Bb(4608,en.a,en.l,[[2,en.e],on.a]),e.Bb(4608,cn.e,cn.e,[]),e.Bb(4608,cn.y,cn.y,[]),e.Bb(5120,c.f,an.b,[rn.c]),e.Bb(4608,c.c,c.e,[]),e.Bb(4608,c.h,c.d,[]),e.Bb(4608,c.b,c.a,[]),e.Bb(4608,c.j,c.j,[c.k,c.f,c.c,c.h,c.b,c.l,c.m]),e.Bb(4608,un.a,un.a,[]),e.Bb(5120,gn.a,gn.b,[Q.a]),e.Bb(4608,sn.a,bn.a,[[2,sn.b],on.a]),e.Bb(1073742336,a.b,a.b,[]),e.Bb(1073742336,r.q,r.q,[[2,r.v],[2,r.m]]),e.Bb(1073742336,mn,mn,[]),e.Bb(1073742336,Z.a,Z.a,[]),e.Bb(1073742336,en.h,en.h,[[2,en.c],[2,hn.f]]),e.Bb(1073742336,on.b,on.b,[]),e.Bb(1073742336,en.k,en.k,[]),e.Bb(1073742336,dn.c,dn.c,[]),e.Bb(1073742336,pn.f,pn.f,[]),e.Bb(1073742336,_n.b,_n.b,[]),e.Bb(1073742336,Q.e,Q.e,[]),e.Bb(1073742336,nn.g,nn.g,[]),e.Bb(1073742336,tn.c,tn.c,[]),e.Bb(1073742336,Cn.a,Cn.a,[]),e.Bb(1073742336,ln.j,ln.j,[]),e.Bb(1073742336,Mn.b,Mn.b,[]),e.Bb(1073742336,On.b,On.b,[]),e.Bb(1073742336,vn.b,vn.b,[]),e.Bb(1073742336,en.m,en.m,[]),e.Bb(1073742336,en.i,en.i,[]),e.Bb(1073742336,c.g,c.g,[]),e.Bb(1073742336,cn.x,cn.x,[]),e.Bb(1073742336,cn.v,cn.v,[]),e.Bb(1073742336,Pn.a,Pn.a,[]),e.Bb(1073742336,fn.a,fn.a,[]),e.Bb(1073742336,cn.j,cn.j,[]),e.Bb(1073742336,an.a,an.a,[]),e.Bb(1073742336,xn.a,xn.a,[]),e.Bb(1073742336,yn.a,yn.a,[]),e.Bb(1073742336,yn.b,yn.b,[]),e.Bb(1073742336,wn.a,wn.a,[]),e.Bb(1073742336,o,o,[]),e.Bb(1024,r.k,(function(){return[[{path:"",component:_},{path:":accNumber",component:T}]]}),[]),e.Bb(256,en.d,en.f,[]),e.Bb(256,c.m,void 0,[]),e.Bb(256,c.l,void 0,[]),e.Bb(256,kn.a,yn.c,[])])}))},svkw:function(n,t,l){"use strict";var e=l("8Y7J"),o=l("iInd"),i=l("TSSN");l("REHm"),l.d(t,"a",(function(){return c})),l.d(t,"b",(function(){return a}));var c=e.pb({encapsulation:0,styles:[["[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]],data:{}});function a(n){return e.Nb(0,[(n()(),e.rb(0,0,null,null,46,"div",[["class","tab-main"],["id","tab-enquiry"]],null,null,null,null,null)),(n()(),e.rb(1,0,null,null,45,"div",[["class","nav-tab"]],null,null,null,null,null)),(n()(),e.rb(2,0,null,null,8,"div",[["class","nav-tab-button"],["routerLinkActive","active"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,3).onClick()&&o),o}),null,null)),e.qb(3,16384,[[1,4]],0,o.n,[o.m,o.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(4,1),e.qb(5,1720320,null,2,o.o,[o.m,e.k,e.C,[2,o.n],[2,o.p]],{routerLinkActiveOptions:[0,"routerLinkActiveOptions"],routerLinkActive:[1,"routerLinkActive"]},null),e.Jb(603979776,1,{links:1}),e.Jb(603979776,2,{linksWithHrefs:1}),e.Gb(8,{exact:0}),(n()(),e.Lb(9,null,[""," "])),e.Fb(131072,i.i,[i.j,e.h]),(n()(),e.rb(11,0,null,null,8,"div",[["class","nav-tab-button"],["routerLinkActive","active"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,12).onClick()&&o),o}),null,null)),e.qb(12,16384,[[3,4]],0,o.n,[o.m,o.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(13,1),e.qb(14,1720320,null,2,o.o,[o.m,e.k,e.C,[2,o.n],[2,o.p]],{routerLinkActiveOptions:[0,"routerLinkActiveOptions"],routerLinkActive:[1,"routerLinkActive"]},null),e.Jb(603979776,3,{links:1}),e.Jb(603979776,4,{linksWithHrefs:1}),e.Gb(17,{exact:0}),(n()(),e.Lb(18,null,["",""])),e.Fb(131072,i.i,[i.j,e.h]),(n()(),e.rb(20,0,null,null,8,"div",[["class","nav-tab-button"],["routerLinkActive","active"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,21).onClick()&&o),o}),null,null)),e.qb(21,16384,[[5,4]],0,o.n,[o.m,o.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(22,1),e.qb(23,1720320,null,2,o.o,[o.m,e.k,e.C,[2,o.n],[2,o.p]],{routerLinkActiveOptions:[0,"routerLinkActiveOptions"],routerLinkActive:[1,"routerLinkActive"]},null),e.Jb(603979776,5,{links:1}),e.Jb(603979776,6,{linksWithHrefs:1}),e.Gb(26,{exact:0}),(n()(),e.Lb(27,null,["",""])),e.Fb(131072,i.i,[i.j,e.h]),(n()(),e.rb(29,0,null,null,8,"div",[["class","nav-tab-button"],["routerLinkActive","active"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,30).onClick()&&o),o}),null,null)),e.qb(30,16384,[[7,4]],0,o.n,[o.m,o.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(31,1),e.qb(32,1720320,null,2,o.o,[o.m,e.k,e.C,[2,o.n],[2,o.p]],{routerLinkActiveOptions:[0,"routerLinkActiveOptions"],routerLinkActive:[1,"routerLinkActive"]},null),e.Jb(603979776,7,{links:1}),e.Jb(603979776,8,{linksWithHrefs:1}),e.Gb(35,{exact:0}),(n()(),e.Lb(36,null,["",""])),e.Fb(131072,i.i,[i.j,e.h]),(n()(),e.rb(38,0,null,null,8,"div",[["class","nav-tab-button"],["routerLinkActive","active"]],null,[[null,"click"]],(function(n,t,l){var o=!0;return"click"===t&&(o=!1!==e.Db(n,39).onClick()&&o),o}),null,null)),e.qb(39,16384,[[9,4]],0,o.n,[o.m,o.a,[8,null],e.C,e.k],{routerLink:[0,"routerLink"]},null),e.Eb(40,1),e.qb(41,1720320,null,2,o.o,[o.m,e.k,e.C,[2,o.n],[2,o.p]],{routerLinkActiveOptions:[0,"routerLinkActiveOptions"],routerLinkActive:[1,"routerLinkActive"]},null),e.Jb(603979776,9,{links:1}),e.Jb(603979776,10,{linksWithHrefs:1}),e.Gb(44,{exact:0}),(n()(),e.Lb(45,null,["",""])),e.Fb(131072,i.i,[i.j,e.h])],(function(n,t){var l=n(t,4,0,"/main/inquiry/account");n(t,3,0,l);var e=n(t,8,0,!1);n(t,5,0,e,"active");var o=n(t,13,0,"/main/inquiry/saving");n(t,12,0,o);var i=n(t,17,0,!0);n(t,14,0,i,"active");var c=n(t,22,0,"/main/inquiry/credit-card");n(t,21,0,c);var a=n(t,26,0,!0);n(t,23,0,a,"active");var r=n(t,31,0,"/main/inquiry/loan");n(t,30,0,r);var u=n(t,35,0,!0);n(t,32,0,u,"active");var g=n(t,40,0,"/main/inquiry/transfer");n(t,39,0,g);var s=n(t,44,0,!0);n(t,41,0,s,"active")}),(function(n,t){n(t,9,0,e.Mb(t,9,0,e.Db(t,10).transform("menu.inquiry.account"))),n(t,18,0,e.Mb(t,18,0,e.Db(t,19).transform("menu.inquiry.saving"))),n(t,27,0,e.Mb(t,27,0,e.Db(t,28).transform("menu.inquiry.credit_card"))),n(t,36,0,e.Mb(t,36,0,e.Db(t,37).transform("menu.inquiry.loan"))),n(t,45,0,e.Mb(t,45,0,e.Db(t,46).transform("menu.inquiry.transfer")))}))}}}]);