-
Notifications
You must be signed in to change notification settings - Fork 0
/
4845.3c9497eedde79132.js
1 lines (1 loc) · 47 KB
/
4845.3c9497eedde79132.js
1
"use strict";(self.webpackChunkcheapflightclient=self.webpackChunkcheapflightclient||[]).push([[4845],{74845:(H,v,r)=>{r.r(v),r.d(v,{BtcTransactionHistoryComponent:()=>Et});var h=r(36895),f=r(24006),C=r(37094),N=r(83700),B=r(88516),m=r(72506),x=r(44143),V=r(74891),q=r(19123),F=r(74713),D=r(48373),_=(()=>{return(i=_||(_={})).PROCESSING="PROCESSING",i.SUCCESS="SUCCESS",i.FAIL="FAIL",i.EXPIRED="EXPIRED",_;var i})(),y=r(8440),M=r(32830),S=r(80429),t=r(94650),J=r(53911),k=r(40899),U=r(97579);function K(i,s){if(1&i&&(t.TgZ(0,"div",15)(1,"div",16),t._uU(2),t.qZA(),t.TgZ(3,"div",17),t._uU(4),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(e.transactionDetail.errorCode),t.xp6(2),t.Oqu(e.transactionDetail.errorDetail)}}function L(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"div",8)(1,"div",9)(2,"div",10),t._uU(3,"M\xe3 giao d\u1ecbch:"),t.qZA(),t.TgZ(4,"div",11),t._uU(5),t.qZA()(),t.TgZ(6,"div",9)(7,"div",10),t._uU(8,"Th\u1eddi gian t\u1ea1o"),t.qZA(),t.TgZ(9,"div",11),t._uU(10),t.ALo(11,"date"),t.qZA()(),t.TgZ(12,"div",9)(13,"div",10),t._uU(14,"Th\u1eddi gian x\u1eed l\xfd"),t.qZA(),t.TgZ(15,"div",11),t._uU(16),t.ALo(17,"date"),t.qZA()(),t.TgZ(18,"div",9)(19,"div",10),t._uU(20,"IDT"),t.qZA(),t.TgZ(21,"div",11),t._uU(22),t.qZA()(),t.TgZ(23,"div",9)(24,"div",10),t._uU(25,"T\xe0i kho\u1ea3n thanh to\xe1n:"),t.qZA(),t.TgZ(26,"div",11),t._uU(27),t.ALo(28,"mapper"),t.qZA()(),t.TgZ(29,"div",9)(30,"div",10),t._uU(31,"Ch\u1ee7 t\xe0i kho\u1ea3n:"),t.qZA(),t.TgZ(32,"div",11),t._uU(33),t.qZA()(),t.TgZ(34,"div",9)(35,"div",10),t._uU(36,"S\u1ed1 t\xe0i kho\u1ea3n:"),t.qZA(),t.TgZ(37,"div",11),t._uU(38),t.qZA()(),t.TgZ(39,"div",9)(40,"div",10),t._uU(41,"S\u1ed1 ti\u1ec1n y\xeau c\u1ea7u:"),t.qZA(),t.TgZ(42,"div",11),t._uU(43),t.ALo(44,"number"),t.qZA()(),t.TgZ(45,"div",9)(46,"div",10),t._uU(47,"Th\u1ef1c nh\u1eadn:"),t.qZA(),t.TgZ(48,"div",12),t._uU(49),t.ALo(50,"number"),t.qZA()(),t.TgZ(51,"div",9)(52,"div",10),t._uU(53,"M\xe3 \u0111\u01a1n h\xe0ng:"),t.qZA(),t.TgZ(54,"div",11),t._uU(55),t.qZA()(),t.TgZ(56,"div",9)(57,"div",10),t._uU(58,"N\u1ed9i dung:"),t.qZA(),t.TgZ(59,"div",11),t._uU(60),t.qZA()(),t.TgZ(61,"div",9)(62,"div",10),t._uU(63,"Ph\u01b0\u01a1ng th\u1ee9c thanh to\xe1n:"),t.qZA(),t.TgZ(64,"div",11),t._uU(65," Chuy\u1ec3n kho\u1ea3n QR code "),t.qZA()(),t.TgZ(66,"div",9)(67,"div",10),t._uU(68,"Ngu\u1ed3n giao d\u1ecbch:"),t.qZA(),t.TgZ(69,"div",11),t._uU(70," GMBR "),t.qZA()(),t.TgZ(71,"div",9)(72,"div",10),t._uU(73,"Tr\u1ea1ng th\xe1i:"),t.qZA(),t.TgZ(74,"div",11)(75,"topup-status",13),t.NdJ("valueChange",function(o){t.CHM(e);const a=t.oxw();return t.KtG(a.onToggleResolvedStatus(o,a.transactionDetail))}),t.qZA()()(),t.YNc(76,K,5,2,"div",14),t.qZA()}if(2&i){const e=t.oxw();t.xp6(5),t.Oqu(e.transactionDetail.bankTransactionCode||"-"),t.xp6(5),t.hij(" ",e.transactionDetail.dateCreated?t.xi3(11,16,e.transactionDetail.dateCreated,"dd/MM/yyyy HH:mm:ss"):"-"," "),t.xp6(6),t.hij(" ",e.transactionDetail.dateProcessed?t.xi3(17,19,e.transactionDetail.dateProcessed,"dd/MM/yyyy HH:mm:ss"):"-"," "),t.xp6(6),t.hij(" ",e.transactionDetail.transactionCode||"-"," "),t.xp6(5),t.AsE(" ",t.xi3(28,22,e.transactionDetail.issuerBankName,e.issuerBankNameToCode)," - ",e.transactionDetail.remitterAccountNumber," "),t.xp6(6),t.AsE(" ",e.transactionDetail.bankName," - ",e.transactionDetail.bankNumber," "),t.xp6(5),t.Oqu(e.transactionDetail.bankNumber||"-"),t.xp6(5),t.hij("",t.lcZ(44,25,e.transactionDetail.amount||0)," \u0111"),t.xp6(6),t.hij("",t.lcZ(50,27,e.transactionDetail.actuallyAmount||0)," \u0111 "),t.xp6(6),t.Oqu(e.transactionDetail.orderId||"-"),t.xp6(5),t.Oqu(e.transactionDetail.content||"-"),t.xp6(15),t.Q6J("resolved","PROCESSED"===e.transactionDetail.processStatus)("transactionDetail",e.transactionDetail),t.xp6(1),t.Q6J("ngIf","FAIL"===e.transactionDetail.status)}}let I=(()=>{class i{constructor(e,n,o,a,c,A){this._paymentService=n,this._permissionService=o,this.ref=a,this.bottomSheetData=c,this.bottomSheetRef=A,this.issuerBankNameToCode=Z=>{var g;return Z&&(null===(g=y.d.find(p=>p.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase().includes((Z||"").toUpperCase())))||void 0===g?void 0:g.code)||""},e.registerIcons([m.UNF,m.TM4]),a&&(this.transactionDetail=a.data.transactionDetail),c&&(this.transactionDetail=c.transactionDetail)}close(){this.ref&&this.ref.close(!1),this.bottomSheetData&&this.bottomSheetRef.dismiss(!1)}onDeposit(){this.ref&&this.ref.close(!0),this.bottomSheetData&&this.bottomSheetRef.dismiss(!0)}onToggleResolvedStatus(e,n){n.processStatus=e.processStatus}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(m.KNP),t.Y36(J.t),t.Y36(k.$A),t.Y36(U.gb,8),t.Y36(C.Rr,8),t.Y36(C.Zu,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["btc-transaction-detail"]],standalone:!0,features:[t.jDz],decls:10,vars:1,consts:[[1,"w-[640px]","rounded-lg","bg-neutral-white","flex","flex-col","md:w-screen","md:h-full"],[1,"flex","justify-between","items-center","px-6","py-[13px]","border-b","border-b-neutral-gray-1","md:hidden"],[1,"text-heading-xs","text-neutral-gray-6"],["size","medium","icon","close",1,"text-neutral-gray-4","cursor-pointer",3,"click"],[1,"md:flex-1","md:bg-neutral-gray-1","md:justify-between","md:rounded-none","md:p-4"],["class","px-6 py-4 flex flex-col gap-y-2.5 md:bg-neutral-white md:rounded-lg",4,"ngIf"],[1,"p-6","flex","gap-x-4","justify-end","md:justify-between","md:bg-neutral-white"],["cf-button","","size","medium","type","secondary",1,"min-w-[156px]","md:hidden","justify-center",3,"click"],[1,"px-6","py-4","flex","flex-col","gap-y-2.5","md:bg-neutral-white","md:rounded-lg"],[1,"flex","items-center","gap-x-6"],[1,"min-w-[156px]","text-body-md-short"],[1,"flex-1","text-express-md"],[1,"flex-1","text-express-md","text-secondary-5-3"],[3,"resolved","transactionDetail","valueChange"],["class","p-4 bg-secondary-7-1 rounded",4,"ngIf"],[1,"p-4","bg-secondary-7-1","rounded"],[1,"text-express-md","text-secondary-7-5"],[1,"text-body-md-short","text-secondary-7-5"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"Chi ti\u1ebft giao d\u1ecbch"),t.qZA(),t.TgZ(4,"cf-icon",3),t.NdJ("click",function(){return n.close()}),t.qZA()(),t.TgZ(5,"div",4),t.YNc(6,L,77,29,"div",5),t.qZA(),t.TgZ(7,"div",6)(8,"button",7),t.NdJ("click",function(){return n.close()}),t._uU(9," \u0110\xf3ng "),t.qZA()()()),2&e&&(t.xp6(6),t.Q6J("ngIf",n.transactionDetail))},dependencies:[h.ez,h.O5,h.JJ,h.uU,m.AxE,m.Sm8,N.N8,N.Xq,M.i,S.q],encapsulation:2}),i})();function Q(i,s){if(1&i&&(t.TgZ(0,"div",7)(1,"div",1)(2,"div",2),t._uU(3,"Th\u1eddi gian x\u1eed l\xfd"),t.qZA(),t.TgZ(4,"div",3),t._uU(5),t.ALo(6,"date"),t.qZA()(),t.TgZ(7,"div",1)(8,"div",2),t._uU(9,"IDT"),t.qZA(),t.TgZ(10,"div",3),t._uU(11),t.qZA()(),t.TgZ(12,"div",1)(13,"div",2),t._uU(14,"T\xe0i kho\u1ea3n thanh to\xe1n"),t.qZA(),t.TgZ(15,"div",3),t._uU(16),t.ALo(17,"mapper"),t.qZA()(),t.TgZ(18,"div",1)(19,"div",2),t._uU(20,"Ngu\u1ed3n giao d\u1ecbch"),t.qZA(),t.TgZ(21,"div",3),t._uU(22," GMBR "),t.qZA()(),t.TgZ(23,"div",1)(24,"div",2),t._uU(25,"S\u1ed1 ti\u1ec1n y\xeau c\u1ea7u"),t.qZA(),t.TgZ(26,"div",3),t._uU(27),t.ALo(28,"number"),t.qZA()(),t.TgZ(29,"div",1)(30,"div",2),t._uU(31,"N\u1ed9i dung"),t.qZA(),t.TgZ(32,"div",3),t._uU(33),t.qZA()()()),2&i){const e=t.oxw();t.xp6(5),t.hij(" ",e.transactionData.dateProcessed?t.xi3(6,6,e.transactionData.dateProcessed,"dd/MM/yyyy HH:mm:ss"):"-"," "),t.xp6(6),t.hij(" ",e.transactionData.transactionCode||"-"," "),t.xp6(5),t.AsE(" ",t.xi3(17,9,e.transactionData.issuerBankName,e.issuerBankNameToCode)," - ",e.transactionData.remitterAccountNumber," "),t.xp6(11),t.hij("",t.lcZ(28,12,e.transactionData.amount||0)," \u0111"),t.xp6(6),t.Oqu(e.transactionData.content||"-")}}function R(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"div",8),t.NdJ("click",function(o){t.CHM(e);const a=t.oxw();return t.KtG(a.onShowMore(o))}),t._uU(1,"Thu g\u1ecdn"),t.qZA()}}function Y(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"div",8),t.NdJ("click",function(o){t.CHM(e);const a=t.oxw();return t.KtG(a.onShowMore(o))}),t._uU(1,"Xem th\xeam"),t.qZA()}}let G=(()=>{class i{constructor(e){this._permissionService=e,this.showDetail=new t.vpe,this.showMore=!1,this.issuerBankNameToCode=n=>{var o;return n&&(null===(o=y.d.find(a=>a.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase().includes((n||"").toUpperCase())))||void 0===o?void 0:o.code)||""}}transactionDetail(){this.showDetail.emit(!0)}onShowMore(e){e.preventDefault(),e.stopPropagation(),this.showMore=!this.showMore}onToggleResolvedStatus(e,n){n.processStatus=e.processStatus}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(k.$A))},i.\u0275cmp=t.Xpm({type:i,selectors:[["btc-transaction-item"]],inputs:{transactionData:"transactionData"},outputs:{showDetail:"showDetail"},standalone:!0,features:[t.jDz],decls:31,vars:15,consts:[[1,"bg-neutral-white","rounded-lg","p-3","flex","flex-col","gap-y-2",3,"click"],[1,"flex","items-center","gap-x-5"],[1,"text-body-sm","text-neutral-gray-4","min-w-[104px]"],[1,"flex-1","text-express-md","text-neutral-gray-6"],[3,"resolved","transactionDetail","valueChange"],["class","flex flex-col gap-y-2",4,"ngIf"],["class","py-2 text-express-sm text-secondary-3-4 text-center cursor-pointer",3,"click",4,"ngIf"],[1,"flex","flex-col","gap-y-2"],[1,"py-2","text-express-sm","text-secondary-3-4","text-center","cursor-pointer",3,"click"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.NdJ("click",function(){return n.transactionDetail()}),t.TgZ(1,"div",1)(2,"div",2),t._uU(3,"M\xe3 giao d\u1ecbch"),t.qZA(),t.TgZ(4,"div",3),t._uU(5),t.qZA()(),t.TgZ(6,"div",1)(7,"div",2),t._uU(8,"Tr\u1ea1ng th\xe1i"),t.qZA(),t.TgZ(9,"div",3)(10,"topup-status",4),t.NdJ("valueChange",function(a){return n.onToggleResolvedStatus(a,n.transactionData)}),t.qZA()()(),t.TgZ(11,"div",1)(12,"div",2),t._uU(13,"T\xe0i kho\u1ea3n nh\u1eadn"),t.qZA(),t.TgZ(14,"div",3),t._uU(15),t.qZA()(),t.TgZ(16,"div",1)(17,"div",2),t._uU(18,"Th\u1ef1c nh\u1eadn"),t.qZA(),t.TgZ(19,"div",3),t._uU(20),t.ALo(21,"number"),t.qZA()(),t.TgZ(22,"div",1)(23,"div",2),t._uU(24,"Th\u1eddi gian t\u1ea1o"),t.qZA(),t.TgZ(25,"div",3),t._uU(26),t.ALo(27,"date"),t.qZA()(),t.YNc(28,Q,34,14,"div",5),t.YNc(29,R,2,0,"div",6),t.YNc(30,Y,2,0,"div",6),t.qZA()),2&e&&(t.xp6(5),t.Oqu(n.transactionData.bankTransactionCode||""),t.xp6(5),t.Q6J("resolved","PROCESSED"===n.transactionData.processStatus)("transactionDetail",n.transactionDetail),t.xp6(5),t.AsE("",n.transactionData.bankName," - ",n.transactionData.bankNumber||"-",""),t.xp6(5),t.hij("",t.lcZ(21,10,n.transactionData.actuallyAmount||0)," \u0111"),t.xp6(6),t.hij(" ",n.transactionData.dateCreated?t.xi3(27,12,n.transactionData.dateCreated,"dd/MM/yyyy HH:mm:ss"):"-"," "),t.xp6(2),t.Q6J("ngIf",n.showMore),t.xp6(1),t.Q6J("ngIf",n.showMore),t.xp6(1),t.Q6J("ngIf",!n.showMore))},dependencies:[h.ez,h.O5,h.JJ,h.uU,S.q,M.i],styles:[":host{display:block}\n"],encapsulation:2,changeDetection:0}),i})();var j=r(67460),z=r(80750),O=r(15439),P=r(77296),X=r(28746),W=r(82761),w=r(80529),$=r(88001),tt=r(50494),et=r(54004),l=r(97582),u=r(87067),nt=r(43429);let it=(()=>{class i{}return(0,l.gn)([(0,u.C)()],i.prototype,"status",void 0),(0,l.gn)([(0,nt.D)(()=>ot),(0,u.C)()],i.prototype,"data",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"objectError",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"traceId",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"errorCode",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"success",void 0),i})(),ot=(()=>{class i{}return(0,l.gn)([(0,u.C)()],i.prototype,"id",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"transactionCode",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"session_code",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"dateCreated",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"dateExpire",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"dateProcessed",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"bankName",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"bankNumber",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"bankAccountName",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"amount",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"actuallyAmount",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"content",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"status",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"processStatus",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"errorDetail",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"errorCode",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"orderId",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"bankTransactionCode",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"issuerBankName",void 0),(0,l.gn)([(0,u.C)()],i.prototype,"remitterAccountNumber",void 0),i})();const at={headers:new w.WM({"Content-Type":"application/json"})};let rt=(()=>{class i{constructor(e,n){this.http=e,this.appConfig=n}getListTopup(e){return this.http.post(this.appConfig.apiUrl+"bc-server/get-list-topup",JSON.stringify(e),at).pipe((0,et.U)(n=>(0,tt.yE)(it,n,{excludeExtraneousValues:!0})))}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(w.eN),t.LFG($.qB))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var st=r(9381);function ct(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"a",51),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,a=t.oxw(2);return t.KtG(a.onRefund(o))}),t._uU(1,"Ho\xe0n ti\u1ec1n"),t.qZA()}}function lt(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"tr")(1,"td",44),t._uU(2),t.qZA(),t.TgZ(3,"td",44),t._uU(4),t.ALo(5,"date"),t.qZA(),t.TgZ(6,"td",44),t._uU(7),t.ALo(8,"date"),t.qZA(),t.TgZ(9,"td",44),t._uU(10),t.qZA(),t.TgZ(11,"td",44),t._uU(12),t.ALo(13,"mapper"),t.qZA(),t.TgZ(14,"td",44),t._uU(15),t.qZA(),t.TgZ(16,"td",45),t._uU(17),t.ALo(18,"number"),t.qZA(),t.TgZ(19,"td",45),t._uU(20),t.ALo(21,"number"),t.qZA(),t.TgZ(22,"td",44),t._uU(23),t.qZA(),t.TgZ(24,"td",46)(25,"div",47),t._uU(26),t.qZA(),t.TgZ(27,"cf-icon",48),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(2);return t.KtG(c.onExpand(a.content))}),t.qZA()(),t.TgZ(28,"td",44),t._uU(29," Chuy\u1ec3n kho\u1ea3n QR code "),t.qZA(),t.TgZ(30,"td",44),t._uU(31),t.qZA(),t.TgZ(32,"td",44)(33,"topup-status",49),t.NdJ("valueChange",function(o){const c=t.CHM(e).$implicit,A=t.oxw(2);return t.KtG(A.onToggleResolvedStatus(o,c))}),t.qZA()(),t.TgZ(34,"td",50)(35,"a",51),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(2);return t.KtG(c.transactionDetail(a))}),t._uU(36,"Chi ti\u1ebft"),t.qZA(),t.YNc(37,ct,2,0,"a",52),t.qZA()()}if(2&i){const e=s.$implicit,n=t.oxw(2);t.xp6(2),t.Oqu(e.bankTransactionCode||"-"),t.xp6(2),t.hij(" ",e.dateCreated?t.xi3(5,18,e.dateCreated,"dd/MM/yyyy HH:mm:ss"):"-"," "),t.xp6(3),t.hij(" ",e.dateProcessed?t.xi3(8,21,e.dateProcessed,"dd/MM/yyyy HH:mm:ss"):"-"," "),t.xp6(3),t.hij(" ",e.transactionCode||"-"," "),t.xp6(2),t.AsE(" ",t.xi3(13,24,e.issuerBankName,n.issuerBankNameToCode)," - ",e.remitterAccountNumber," "),t.xp6(3),t.AsE(" ",e.bankName," - ",e.bankNumber," "),t.xp6(2),t.hij("",t.lcZ(18,27,e.amount||0)," \u0111"),t.xp6(3),t.hij(" ",t.lcZ(21,29,e.actuallyAmount||0)," \u0111 "),t.xp6(3),t.hij(" ",e.orderId," "),t.xp6(3),t.hij(" ",e.content||"-"," "),t.xp6(5),t.hij(" ","INTERNAL"===e.source?"Trong h\u1ec7 th\u1ed1ng":"GMBR"," "),t.xp6(2),t.Q6J("resolved","PROCESSED"===e.processStatus)("transactionDetail",e)("listAgentTopup",n.agentTopupOptions),t.xp6(1),t.Q6J("sticky","right"),t.xp6(3),t.Q6J("ngIf","SUCCESS"===e.processStatus)}}const ut=function(){return{num:25}},dt=function(){return{num:50}},gt=function(){return{num:75}},pt=function(){return{num:100}},ht=function(i,s,e,n){return[i,s,e,n]};function mt(i,s){if(1&i&&(t.TgZ(0,"cf-table",38,39)(2,"thead",40)(3,"th",41),t._uU(4,"M\xe3 giao d\u1ecbch"),t.qZA(),t.TgZ(5,"th",41),t._uU(6,"Th\u1eddi gian t\u1ea1o"),t.qZA(),t.TgZ(7,"th",41),t._uU(8,"Th\u1eddi gian x\u1eed l\xfd"),t.qZA(),t.TgZ(9,"th",41),t._uU(10,"IDT"),t.qZA(),t.TgZ(11,"th",41),t._uU(12,"T\xe0i kho\u1ea3n thanh to\xe1n"),t.qZA(),t.TgZ(13,"th",41),t._uU(14,"T\xe0i kho\u1ea3n nh\u1eadn"),t.qZA(),t.TgZ(15,"th",41),t._uU(16,"S\u1ed1 ti\u1ec1n y\xeau c\u1ea7u"),t.qZA(),t.TgZ(17,"th",41),t._uU(18,"Th\u1ef1c nh\u1eadn"),t.qZA(),t.TgZ(19,"th",41),t._uU(20,"M\xe3 \u0111\u01a1n h\xe0ng"),t.qZA(),t.TgZ(21,"th",41),t._uU(22,"N\u1ed9i dung"),t.qZA(),t.TgZ(23,"th",41),t._uU(24,"Ph\u01b0\u01a1ng th\u1ee9c thanh to\xe1n"),t.qZA(),t.TgZ(25,"th",41),t._uU(26,"Ngu\u1ed3n giao d\u1ecbch"),t.qZA(),t.TgZ(27,"th",41),t._uU(28,"Tr\u1ea1ng th\xe1i"),t.qZA(),t.TgZ(29,"th",42),t._uU(30,"Ch\u1ee9c n\u0103ng"),t.qZA()(),t.TgZ(31,"tbody"),t.YNc(32,lt,38,31,"ng-template",43),t.qZA()()),2&i){const e=t.MAs(1),n=t.oxw();t.Q6J("fnSort",n.sortChange)("fnSearch",n.searchChange)("pageSizeList",t.l5B(24,ht,t.DdM(20,ut),t.DdM(21,dt),t.DdM(22,gt),t.DdM(23,pt)))("listData",n.listOfData)("pageSize",n.pageSize),t.xp6(3),t.Q6J("sortName","transactionCode"),t.xp6(2),t.Q6J("sortName","dateCreated"),t.xp6(2),t.Q6J("sortName","dateProcessed"),t.xp6(2),t.Q6J("sortName","transactionCode"),t.xp6(2),t.Q6J("sortName","issuerBankName"),t.xp6(2),t.Q6J("sortName","bankName"),t.xp6(2),t.Q6J("sortName","amount"),t.xp6(2),t.Q6J("sortName","actuallyAmount"),t.xp6(2),t.Q6J("sortName","orderId"),t.xp6(2),t.Q6J("sortName","content"),t.xp6(2),t.Q6J("sortName","methodPayment"),t.xp6(2),t.Q6J("sortName","source"),t.xp6(2),t.Q6J("sortName","status"),t.xp6(2),t.Q6J("sticky","right"),t.xp6(3),t.Q6J("ngForOf",e.partOfdata)}}function ft(i,s){if(1&i&&(t.ynx(0),t.GkF(1,53),t.BQk()),2&i){t.oxw();const e=t.MAs(60);t.xp6(1),t.Q6J("ngTemplateOutlet",e)}}function Tt(i,s){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"btc-transaction-item",55),t.NdJ("showDetail",function(){const a=t.CHM(e).$implicit,c=t.oxw(2);return t.KtG(c.transactionDetail(a))}),t.qZA(),t.BQk()}if(2&i){const e=s.$implicit;t.xp6(1),t.Q6J("transactionData",e)}}function Ct(i,s){if(1&i&&(t.ynx(0),t.YNc(1,Tt,2,1,"ng-container",54),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.listOfData)}}function _t(i,s){if(1&i&&t.GkF(0,53),2&i){t.oxw();const e=t.MAs(60);t.Q6J("ngTemplateOutlet",e)}}const E=function(){return[]};function vt(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"div",56)(1,"div",57)(2,"cf-input-group",58),t._UZ(3,"cf-icon",3),t.TgZ(4,"input",59,5),t.NdJ("ngModelChange",function(o){t.CHM(e);const a=t.oxw();return t.KtG(a.filterData.searchText=o)}),t.qZA()(),t.TgZ(6,"cf-input-group",58),t._UZ(7,"cf-icon",7),t.TgZ(8,"label",60),t._uU(9,"Th\u1eddi gian"),t.qZA(),t.TgZ(10,"input",61),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(),a=t.MAs(56);return t.KtG(o.openTimeSelectBts(a))}),t.ALo(11,"date"),t.qZA()(),t.TgZ(12,"cf-select",62),t.NdJ("ngModelChange",function(o){t.CHM(e);const a=t.oxw();return t.KtG(a.filterData.status=o)}),t.TgZ(13,"label",8),t._uU(14,"Tr\u1ea1ng th\xe1i"),t.qZA()()(),t.TgZ(15,"div")(16,"button",63),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.search())}),t._UZ(17,"cf-icon",64),t.TgZ(18,"div"),t._uU(19,"T\xecm ki\u1ebfm"),t.qZA()()()()}if(2&i){const e=t.oxw();t.xp6(4),t.Q6J("ngModel",e.filterData.searchText),t.xp6(6),t.Q6J("value",t.xi3(11,5,e.filterData.fromDate.value,"dd/MM/yyyy")),t.xp6(2),t.Q6J("data",e.statusOptions||t.DdM(8,E))("allowSearch",!1)("ngModel",e.filterData.status)}}function Nt(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"div",65)(1,"div",66)(2,"div",67),t.NdJ("scrolled",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.scrollDown())}),t._UZ(3,"cf-datepicker-inline",68),t.qZA()(),t.TgZ(4,"div",69)(5,"button",70),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onMobileDatePickerOK())}),t._uU(6,"X\xe1c nh\u1eadn"),t.qZA()()()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("infiniteScrollDistance",2)("infiniteScrollThrottle",300)("infiniteScrollUpDistance",2)("scrollWindow",!1)("fromRoot",!0)("alwaysCallback",!0)("infiniteScrollContainer",".ngb-dp-content"),t.xp6(1),t.Q6J("displayMonths",e.numOfMonth)("rangeSelection",!0)("secondaryCalendar","lunar")("formControl",e.filterData.fromDate)("fromDate",e.filterData.fromDate.value)("startDate",e.startDate)("displayMonthsOffset",0)}}function Bt(i,s){if(1&i&&(t.TgZ(0,"cf-radio",77),t._uU(1),t.qZA()),2&i){const e=s.$implicit;t.Q6J("value",e.value),t.xp6(1),t.hij(" ",e.text," ")}}function xt(i,s){if(1&i){const e=t.EpF();t.TgZ(0,"div",71)(1,"div",57)(2,"div",72)(3,"cf-radio-group",73),t.NdJ("ngModelChange",function(o){t.CHM(e);const a=t.oxw();return t.KtG(a.filterData.status=o)}),t.YNc(4,Bt,2,2,"cf-radio",74),t.qZA()(),t.TgZ(5,"div",75)(6,"button",76),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.search())}),t._uU(7,"X\xe1c nh\u1eadn"),t.qZA()()()()}if(2&i){const e=t.oxw();t.xp6(3),t.Q6J("ngModel",e.filterData.status),t.xp6(1),t.Q6J("ngForOf",e.statusOptions)}}function At(i,s){1&i&&(t.TgZ(0,"div",79)(1,"div",80)(2,"div"),t._UZ(3,"img",81),t.qZA(),t.TgZ(4,"div",82)(5,"div",83),t._uU(6,"Kh\xf4ng c\xf3 k\u1ebft qu\u1ea3"),t.qZA(),t.TgZ(7,"div",84)(8,"div"),t._uU(9,"Kh\xf4ng c\xf3 k\u1ebft qu\u1ea3 \u0111\u1ec3 hi\u1ec3n th\u1ecb"),t.qZA(),t.TgZ(10,"div"),t._uU(11,"Vui l\xf2ng ki\u1ec3m tra l\u1ea1i \u0111i\u1ec1u ki\u1ec7n t\xecm ki\u1ebfm."),t.qZA()()()()())}function bt(i,s){1&i&&t.YNc(0,At,12,0,"div",78),2&i&&t.Q6J("ngIf",!0)}function Dt(i,s){1&i&&t._UZ(0,"cf-spinner")}let Et=(()=>{class i{constructor(e,n,o,a,c,A,Z){this._modal=n,this._router=o,this.listTopupService=a,this._mobileDetectService=c,this._bottomSheetService=A,this._permissionService=Z,this.testDate=new Date,this.pageSize=25,this.listOfData=[],this.filterData={searchText:"",status:"",bankCode:"",fromDate:new f.NI(new Date,f.kI.required),toDate:new f.NI(new Date,f.kI.required)},this.statusOptions=[{value:"",text:"T\u1ea5t c\u1ea3 tr\u1ea1ng th\xe1i"},{value:_.SUCCESS,text:"Th\xe0nh c\xf4ng"},{value:_.FAIL,text:"Th\u1ea5t b\u1ea1i"},{value:_.PROCESSING,text:"\u0110ang x\u1eed l\xfd"},{value:_.EXPIRED,text:"H\u1ebft h\u1ea1n"}],this.bankAccountOptions=[{value:"",text:"T\u1ea5t c\u1ea3 ng\xe2n h\xe0ng"},{value:"ACB",text:"ACB"}],this.agentTopupOptions=[{value:"",name:"T\u1ea5t c\u1ea3 \u0111\u1ea1i l\xfd"}],this.methodPaymentOptions=[{value:"",text:"T\u1ea5t c\u1ea3"},{value:"QR_CODE",text:"Chuy\u1ec3n kho\u1ea3n - QR Code"}],this.sourceOptions=[{value:"",text:"T\u1ea5t c\u1ea3"},{value:"GMBR",text:"GMBR"}],this.agentTopupOptionsBts=[],this.isOpen=!1,this.bottomCenter=[{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetX:0,offsetY:0}],this.isLoading=!1,this.dateRangeStr="",this.TICKET_INFINITE_SCROLL_DEFAULT=10,this.TICKET_INFINITE_OFSET_INCREASE=10,this.ticketInfiniteScrollCount=this.TICKET_INFINITE_SCROLL_DEFAULT,this.DEFAULT_NUM_OF_MONTH=4,this.INCREASE_OFFSET=4,this.numOfMonth=this.DEFAULT_NUM_OF_MONTH,this.displayMonthsOffset=0,this.issuerBankNameToCode=g=>{var p;return g&&(null===(p=y.d.find(d=>d.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase().includes((g||"").toUpperCase())))||void 0===p?void 0:p.code)||""},this.increaseAlphabetSort=(g,p)=>g<p?-1:g>p?1:0,this.decreaseAlphabetSort=(g,p)=>g>p?-1:g<p?1:0,this.increaseNumberSort=(g,p)=>g-p,this.decreaseNumberSort=(g,p)=>p-g,this.sortChange=(g,p)=>{let d=p.map(b=>b);for(let b=0;b<g.length;b++){const T=g[b];switch(T.key){case"agent":d=this.agentSort(d,T);break;case"dateCreated":d=this.dateCreatedSort(d,T);break;case"dateProcessed":d=this.dateProcessedSort(d,T);break;case"transactionCode":d=this.transactionCodeSort(d,T);break;case"bankName":d=this.bankNameSort(d,T);break;case"amount":d=this.amountSort(d,T);break;case"actuallyAmount":d=this.actuallyAmountSort(d,T);break;case"orderId":d=this.orderIdSort(d,T);break;case"content":d=this.contentSort(d,T);break;case"source":d=this.sourceSort(d,T);break;case"status":d=this.statusSort(d,T)}}return d},this.searchChange=(g,p)=>p,e.registerIcons([m.esH,m.TM4,m.mAV,m.n78,m.Tdu])}ngOnInit(){this.filterData.fromDate.setValue(new Date),this.filterData.toDate.setValue(new Date),this.search()}search(){var e;this._mobileDetectService.isMobile()&&this.btsSearchMobile&&this.btsSearchMobile.dismiss();const n={bankCode:this.filterData.bankCode,fromDate:this.filterData.fromDate?O(this.filterData.fromDate.value).format("YYYY-MM-DD"):"",searchStr:(null===(e=this.filterData.searchText)||void 0===e?void 0:e.trim())||"",status:this.filterData.status,toDate:this.filterData.fromDate?O(this.filterData.fromDate.value).format("YYYY-MM-DD"):""};this.isLoading=!0,this.listTopupService.getListTopup(n).pipe((0,X.x)(()=>this.isLoading=!1)).subscribe({next:o=>{"OK"===o.status&&(this.listOfData=o.data)},error:()=>{}})}getStatusStr(e){switch(e){case"SUCCESS":return"Th\xe0nh c\xf4ng";case"FAIL":return"Th\u1ea5t b\u1ea1i";case"PROCESSING":return"\u0110ang x\u1eed l\xfd";case"EXPIRED":return"H\u1ebft h\u1ea1n";default:return""}}agentSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.agent,a.agent):(o,a)=>this.decreaseAlphabetSort(o.agent,a.agent))}orderIdSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.orderId,a.orderId):(o,a)=>this.decreaseAlphabetSort(o.orderId,a.orderId))}dateCreatedSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseNumberSort(o.dateCreated,a.dateCreated):(o,a)=>this.decreaseNumberSort(o.dateCreated,a.dateCreated))}dateProcessedSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseNumberSort(o.dateProcessed,a.dateProcessed):(o,a)=>this.decreaseNumberSort(o.dateProcessed,a.dateProcessed))}transactionCodeSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.transactionCode,a.transactionCode):(o,a)=>this.decreaseAlphabetSort(o.transactionCode,a.transactionCode))}bankNameSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.bankName,a.bankName):(o,a)=>this.decreaseAlphabetSort(o.bankName,a.bankName))}amountSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseNumberSort(o.amount,a.amount):(o,a)=>this.decreaseNumberSort(o.amount,a.amount))}actuallyAmountSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseNumberSort(o.actuallyAmount,a.actuallyAmount):(o,a)=>this.decreaseNumberSort(o.actuallyAmount,a.actuallyAmount))}contentSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.content,a.content):(o,a)=>this.decreaseAlphabetSort(o.content,a.content))}sourceSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.source,a.source):(o,a)=>this.decreaseAlphabetSort(o.source,a.source))}statusSort(e,n){return e.sort("ascend"===n.sort?(o,a)=>this.increaseAlphabetSort(o.status,a.status):(o,a)=>this.decreaseAlphabetSort(o.status,a.status))}openSearchBts(e){this.btsSearchMobile=this._bottomSheetService.open(e,{headerTitle:"T\xecm ki\u1ebfm",containerFullHeigh:!0,rightButtonIcon:"",leftButtonIcon:"close",leftButtonIconClass:"text-neutral-gray-4",restoreFocus:!1}),this.btsSearchMobile.containerInstance._leftButtonClick.subscribe(()=>this.btsSearchMobile.dismiss())}transactionDetail(e){if(this._mobileDetectService.isMobile()){const n=this._bottomSheetService.open(I,{headerTitle:"Chi ti\u1ebft giao d\u1ecbch",containerFullHeigh:!0,rightButtonIcon:"",leftButtonIcon:"close",leftButtonIconClass:"text-neutral-gray-4",restoreFocus:!1,data:{transactionDetail:e}});n.containerInstance._leftButtonClick.subscribe(o=>n.dismiss())}else this._modal.open(I,{transactionDetail:e})}openTimeSelectBts(e,n=""){if(this._mobileDetectService.mobileSubject.value){const o=this._bottomSheetService.open(e,{headerTitle:"T\xf9y ch\u1ec9nh th\u1eddi gian",leftButtonIcon:"close",leftButtonIconClass:"text-neutral-gray-4",rightButtonIcon:"",containerFullHeigh:!0,restoreFocus:!1});o.afterDismissed().subscribe({next:a=>{a&&(this.displayMonthsOffset=0,this.numOfMonth=0,"TIME_ONLY"===n&&this.search())}}),o.containerInstance._leftButtonClick.subscribe(a=>{o.dismiss()}),setTimeout(()=>{this.displayMonthsOffset=this.DEFAULT_NUM_OF_MONTH})}}scrollDown(){this.numOfMonth=this.numOfMonth+this.INCREASE_OFFSET}scrollUp(){this.displayMonthsOffset=this.displayMonthsOffset+this.INCREASE_OFFSET}onMobileDatePickerOK(){this.search(),this._bottomSheetService.dismiss()}openStatusBts(e){this.btsSearchMobile=this._bottomSheetService.open(e,{headerTitle:"Tr\u1ea1ng th\xe1i",rightButtonIcon:"close",leftButtonIcon:"",rightButtonIconClass:"text-neutral-gray-4",restoreFocus:!1}),this.btsSearchMobile.containerInstance._rightButtonClick.subscribe(()=>this.btsSearchMobile.dismiss())}close(){this._bottomSheetService.dismiss()}onSearchAgentBts(e){const n=e.data,o=n?this.agentTopupOptions.filter(a=>a.name.includes(n)):this.agentTopupOptions;this.agentTopupOptionsBts=o.map(a=>Object.assign(Object.assign({},a),{selected:a.value===this.agentCheckedBts}))}onAgentChecked(e){this.agentCheckedBts=e,this.agentTopupOptionsBts=this.agentTopupOptionsBts.map(n=>Object.assign(Object.assign({},n),{selected:n.value===this.agentCheckedBts}))}onToggleResolvedStatus(e,n){n.processStatus=e.processStatus}onExpand(e){this._modal.open(z.G,{description:e,title:"Di\u1ec5n gi\u1ea3i"})}onRefund(e){}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(m.KNP),t.Y36(U.oE),t.Y36(W.F0),t.Y36(rt),t.Y36(st.L),t.Y36(C.a2),t.Y36(k.$A))},i.\u0275cmp=t.Xpm({type:i,selectors:[["btc-transaction-history"]],standalone:!0,features:[t.jDz],decls:62,vars:24,consts:[[1,"flex","flex-col","md:hidden"],[1,"bg-neutral-white","px-[30px]","py-4","flex","justify-between","items-end","gap-x-4"],[1,"flex-1"],["cfHeadIcon","","icon","search","size","small"],["size","medium","cf-input","","placeholder","Nh\u1eadp \u0111\u1ec3 t\xecm ki\u1ebfm (n\u1ed9i dung chuy\u1ec3n kho\u1ea3n, m\xe3 giao d\u1ecbch)",3,"ngModel","ngModelChange"],["tableSearchInput",""],[1,"!w-[200px]",3,"status"],["cfHeadIcon","","icon","calendar","size","small"],["cfLabel",""],["autocomplete","off","cfDatepicker","","type","text","size","medium","cf-input","","placeholder","Ch\u1ecdn th\u1eddi gian",1,"py-[7px]",3,"secondaryCalendar","displayMonths","formControl","input","dateSelect"],["dateFrom","cfDatepicker"],["textField","text","valueField","value","placeholder","Ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c","size","medium",1,"!w-[200px]",3,"data","allowSearch","ngModel"],["textField","text","valueField","value","placeholder","Ch\u1ecdn ngu\u1ed3n giao d\u1ecbch","size","medium",1,"!w-[200px]",3,"data","allowSearch","ngModel"],["textField","text","valueField","value","placeholder","Ch\u1ecdn tr\u1ea1ng th\xe1i","size","medium",1,"!w-[200px]",3,"data","allowSearch","ngModel","ngModelChange"],[1,"w-[168px]"],["cf-button","","type","secondary","size","medium",1,"justify-center","!w-full",3,"click"],["cfHeadIcon","","icon","search","size","small",1,"mr-2"],[1,"p-6"],[1,"bg-neutral-white","rounded-lg","shadow-md"],[1,"flex","justify-between","items-center","py-5","px-4"],[1,"text-heading-sm","text-neutral-black"],[3,"fnSort","fnSearch","pageSizeList","listData","pageSize",4,"ngIf"],[4,"ngIf"],[1,"hidden","md:block","w-full"],[1,"py-3","px-4","bg-neutral-white"],[1,"text-heading-sm","text-neutral-gray-6","mb-3","hidden","md:block"],[1,"hidden","!w-full","md:mr-4","md:block","mt-3"],["size","medium","cf-input","","placeholder","T\xecm ki\u1ebfm (n\u1ed9i dung, m\xe3 giao d\u1ecbch)",3,"ngModel","ngModelChange","focus"],[1,"mt-3","flex","overflow-x-auto","gap-x-2"],[1,"gap-x-1.5","items-center","border","border-neutral-gray-3","rounded-full","px-4","py-[5px]","hidden","md:flex",3,"click"],[1,"text-body-md","whitespace-nowrap"],["icon","chevron_down","size","small",1,"text-neutral-gray-5"],[1,"p-4","flex","flex-col","gap-y-4"],[3,"ngTemplateOutlet",4,"ngIf"],["searchBts",""],["timeDatepickerBottomSheet",""],["statusBts",""],["emptyTemplate",""],[3,"fnSort","fnSearch","pageSizeList","listData","pageSize"],["managerTable",""],["cf-thead",""],["cf-th","",1,"whitespace-nowrap",3,"sortName"],["cf-th","",1,"whitespace-nowrap",3,"sticky"],["ngFor","",3,"ngForOf"],["cf-td","",1,"py-2","px-3","text-body-sm","whitespace-nowrap"],["cf-td","",1,"py-2","px-3","text-body-sm","whitespace-nowrap","text-right"],["cf-td","",1,"py-2","px-3","text-body-sm","group","relative"],[1,"w-[250px]","overflow-ellipsis","whitespace-nowrap","overflow-hidden"],["icon","expand","size","small",1,"group-hover:block","hidden","text-body-sm","absolute","right-0","top-0","cursor-pointer",3,"click"],[3,"resolved","transactionDetail","listAgentTopup","valueChange"],["cf-td","",1,"py-2","px-3",3,"sticky"],[1,"text-espressive-sm","text-secondary-3-4","cursor-pointer","whitespace-nowrap",3,"click"],["class","text-espressive-sm text-secondary-3-4 cursor-pointer whitespace-nowrap",3,"click",4,"ngIf"],[3,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"transactionData","showDetail"],[1,"p-4","w-full","flex","flex-col","justify-between"],[1,"flex","flex-col","gap-y-4"],[1,"!w-full"],["size","medium","cf-input","","placeholder","T\xecm ki\u1ebfm (n\u1ed9i dung, m\xe3 giao d\u1ecbch)",3,"ngModel","ngModelChange"],["cfLabel","",1,"text-espressive-sm","text-black","mb-1.5"],["cf-input","","type","text","size","medium","placeholder","Ch\u1ecdn th\u1eddi gian",1,"py-[7px]",3,"value","click"],["textField","text","valueField","value","placeholder","Ch\u1ecdn tr\u1ea1ng th\xe1i","size","medium",1,"grow-[180]","!w-full","!max-w-full",3,"data","allowSearch","ngModel","ngModelChange"],["cf-button","",1,"w-full","justify-center","gap-x-2",3,"click"],["icon","search","size","small"],[1,"flex","w-full","h-full","flex-col","justify-between"],[1,"grow","overflow-y-hidden","flex","pb-12"],["infinite-scroll","",1,"w-full","flex",3,"infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollUpDistance","scrollWindow","fromRoot","alwaysCallback","infiniteScrollContainer","scrolled"],["outsideDays","hidden","navigation","none","direction","vertical",1,"",3,"displayMonths","rangeSelection","secondaryCalendar","formControl","fromDate","startDate","displayMonthsOffset"],[1,"p-4","fixed","bottom-0","w-full","right-0","bg-neutral-white"],["cf-button","",1,"justify-center","w-full",3,"click"],[1,"p-4","shadow-cf-lg","w-[280px]","bg-neutral-white","rounded","md:w-full"],[1,"flex","flex-col","gap-y-[9px]","md:gap-y-4"],[1,"flex","flex-col","gap-x-8","gap-y-4",3,"ngModel","ngModelChange"],["size","medium",3,"value",4,"ngFor","ngForOf"],[1,"hidden","md:block"],["cf-button","",1,"w-full","justify-center",3,"click"],["size","medium",3,"value"],["class","bg-neutral-white rounded-lg",4,"ngIf"],[1,"bg-neutral-white","rounded-lg"],[1,"flex","flex-col","gap-y-8","justify-center","items-center","py-[120px]"],["src","assets/images/empty-result.svg","alt",""],[1,"flex","flex-col","gap-y-2","items-center"],[1,"text-heading-md"],[1,"text-body-md-short","text-center"]],template:function(e,n){if(1&e){const o=t.EpF();t.TgZ(0,"div",0)(1,"div",1)(2,"cf-input-group",2),t._UZ(3,"cf-icon",3),t.TgZ(4,"input",4,5),t.NdJ("ngModelChange",function(c){return n.filterData.searchText=c}),t.qZA()(),t.TgZ(6,"cf-input-group",6),t._UZ(7,"cf-icon",7),t.TgZ(8,"label",8),t._uU(9,"Th\u1eddi gian"),t.qZA(),t.TgZ(10,"input",9,10),t.NdJ("input",function(){t.CHM(o);const c=t.MAs(11);return t.KtG(c.close())})("dateSelect",function(){t.CHM(o);const c=t.MAs(11);return t.KtG(c.close())}),t.qZA()(),t.TgZ(12,"cf-select",11)(13,"label",8),t._uU(14,"Ph\u01b0\u01a1ng th\u1ee9c thanh to\xe1n"),t.qZA()(),t.TgZ(15,"cf-select",12)(16,"label",8),t._uU(17,"Ngu\u1ed3n giao d\u1ecbch"),t.qZA()(),t.TgZ(18,"cf-select",13),t.NdJ("ngModelChange",function(c){return n.filterData.status=c}),t.TgZ(19,"label",8),t._uU(20,"Tr\u1ea1ng th\xe1i"),t.qZA()(),t.TgZ(21,"div",14)(22,"button",15),t.NdJ("click",function(){return n.search()}),t._UZ(23,"cf-icon",16),t._uU(24," T\xecm ki\u1ebfm "),t.qZA()()(),t.TgZ(25,"div",17)(26,"div",18)(27,"div",19)(28,"div",20),t._uU(29,"L\u1ecbch s\u1eed giao d\u1ecbch B2C"),t.qZA()(),t.YNc(30,mt,33,29,"cf-table",21),t.YNc(31,ft,2,1,"ng-container",22),t.qZA()()(),t.TgZ(32,"div",23)(33,"div",24)(34,"div")(35,"div",25),t._uU(36,"L\u1ecbch s\u1eed giao d\u1ecbch"),t.qZA(),t.TgZ(37,"cf-input-group",26),t._UZ(38,"cf-icon",3),t.TgZ(39,"input",27,5),t.NdJ("ngModelChange",function(c){return n.filterData.searchText=c})("focus",function(){t.CHM(o);const c=t.MAs(54);return t.KtG(n.openSearchBts(c))}),t.qZA()(),t.TgZ(41,"div",28)(42,"div",29),t.NdJ("click",function(){t.CHM(o);const c=t.MAs(56);return t.KtG(n.openTimeSelectBts(c,"TIME_ONLY"))}),t.TgZ(43,"div",30),t._uU(44,"Th\u1eddi gian"),t.qZA(),t._UZ(45,"cf-icon",31),t.qZA(),t.TgZ(46,"div",29),t.NdJ("click",function(){t.CHM(o);const c=t.MAs(58);return t.KtG(n.openStatusBts(c))}),t.TgZ(47,"div",30),t._uU(48,"Tr\u1ea1ng th\xe1i"),t.qZA(),t._UZ(49,"cf-icon",31),t.qZA()()()(),t.TgZ(50,"div",32),t.YNc(51,Ct,2,1,"ng-container",22),t.YNc(52,_t,1,1,"ng-container",33),t.qZA()(),t.YNc(53,vt,20,9,"ng-template",null,34,t.W1O),t.YNc(55,Nt,7,14,"ng-template",null,35,t.W1O),t.YNc(57,xt,8,2,"ng-template",null,36,t.W1O),t.YNc(59,bt,1,1,"ng-template",null,37,t.W1O),t.YNc(61,Dt,1,0,"cf-spinner",22)}2&e&&(t.xp6(4),t.Q6J("ngModel",n.filterData.searchText),t.xp6(2),t.Q6J("status",n.filterData.fromDate.invalid&&(n.filterData.fromDate.dirty||n.filterData.fromDate.touched)?"error":"default")("status","default"),t.xp6(4),t.Q6J("secondaryCalendar","lunar")("displayMonths",1)("formControl",n.filterData.fromDate),t.xp6(2),t.Q6J("data",n.methodPaymentOptions||t.DdM(21,E))("allowSearch",!1)("ngModel",""),t.xp6(3),t.Q6J("data",n.sourceOptions||t.DdM(22,E))("allowSearch",!1)("ngModel",""),t.xp6(3),t.Q6J("data",n.statusOptions||t.DdM(23,E))("allowSearch",!1)("ngModel",n.filterData.status),t.xp6(12),t.Q6J("ngIf",n.listOfData.length),t.xp6(1),t.Q6J("ngIf",!n.listOfData.length),t.xp6(8),t.Q6J("ngModel",n.filterData.searchText),t.xp6(12),t.Q6J("ngIf",n.listOfData.length),t.xp6(1),t.Q6J("ngIf",!n.listOfData.length),t.xp6(9),t.Q6J("ngIf",n.isLoading))},dependencies:[h.ez,h.sg,h.O5,h.tP,h.JJ,h.uU,m.AxE,m.Sm8,N.N8,N.Xq,x.j$,x.ND,x.BN,F.q,B.Cs,D.rC,D.E_,D.qS,D.zs,f.u5,f.Fj,f.JJ,f.On,f.UX,f.oH,V.f,M.i,j.OR,C.DW,B._o,P.Rq,P.Ry,q.T,q.o,S.q,G],styles:["[_nghost-%COMP%]{display:block}"]}),i})()},8440:(H,v,r)=>{r.d(v,{d:()=>h});const h=[{id:17,name:"Ng\xe2n h\xe0ng TMCP C\xf4ng th\u01b0\u01a1ng Vi\u1ec7t Nam",code:"ICB",bin:"970415",shortName:"VietinBank",logo:"https://api.vietqr.io/img/ICB.png"},{id:43,name:"Ng\xe2n ha\u0300ng TMCP Ngoa\u0323i Th\u01b0\u01a1ng Vi\xea\u0323t Nam",code:"VCB",bin:"970436",shortName:"Vietcombank",logo:"https://api.vietqr.io/img/VCB.png"},{id:4,name:"Ng\xe2n h\xe0ng TMCP \u0110\u1ea7u t\u01b0 v\xe0 Ph\xe1t tri\u1ec3n Vi\u1ec7t Nam",code:"BIDV",bin:"970418",shortName:"BIDV",logo:"https://api.vietqr.io/img/BIDV.png"},{id:42,name:"Ng\xe2n h\xe0ng N\xf4ng nghi\u1ec7p v\xe0 Ph\xe1t tri\u1ec3n N\xf4ng th\xf4n Vi\u1ec7t Nam",code:"VBA",bin:"970405",shortName:"Agribank",logo:"https://api.vietqr.io/img/VBA.png"},{id:26,name:"Ng\xe2n h\xe0ng TMCP Ph\u01b0\u01a1ng \u0110\xf4ng",code:"OCB",bin:"970448",shortName:"OCB",logo:"https://api.vietqr.io/img/OCB.png"},{id:21,name:"Ng\xe2n h\xe0ng TMCP Qu\xe2n \u0111\u1ed9i",code:"MB",bin:"970422",shortName:"MBBank",logo:"https://api.vietqr.io/img/MB.png"},{id:38,name:"Ng\xe2n h\xe0ng TMCP K\u1ef9 th\u01b0\u01a1ng Vi\u1ec7t Nam",code:"TCB",bin:"970407",shortName:"Techcombank",logo:"assets/bank-logo/TCB.svg"},{id:2,name:"Ng\xe2n h\xe0ng TMCP \xc1 Ch\xe2u",code:"ACB",bin:"970416",shortName:"ACB",logo:"assets/bank-logo/ACB.svg"},{id:47,name:"Ng\xe2n h\xe0ng TMCP Vi\u1ec7t Nam Th\u1ecbnh V\u01b0\u1ee3ng",code:"VPB",bin:"970432",shortName:"VPBank",logo:"https://api.vietqr.io/img/VPB.png"},{id:39,name:"Ng\xe2n h\xe0ng TMCP Ti\xean Phong",code:"TPB",bin:"970423",shortName:"TPBank",logo:"https://api.vietqr.io/img/TPB.png"},{id:36,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n Th\u01b0\u01a1ng T\xedn",code:"STB",bin:"970403",shortName:"Sacombank",logo:"https://api.vietqr.io/img/STB.png"},{id:12,name:"Ng\xe2n h\xe0ng TMCP Ph\xe1t tri\u1ec3n Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"HDB",bin:"970437",shortName:"HDBank",logo:"https://api.vietqr.io/img/HDB.png"},{id:44,name:"Ng\xe2n ha\u0300ng TMCP Ba\u0309n Vi\xea\u0323t",code:"VCCB",bin:"970454",shortName:"VietCapitalBank",logo:"https://api.vietqr.io/img/VCCB.png"},{id:31,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n",code:"SCB",bin:"970429",shortName:"SCB",logo:"https://api.vietqr.io/img/SCB.png"},{id:45,name:"Ng\xe2n ha\u0300ng TMCP Qu\u1ed1c t\u1ebf Vi\u1ec7t Nam",code:"VIB",bin:"970441",shortName:"VIB",logo:"https://api.vietqr.io/img/VIB.png"},{id:35,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n - H\xe0 N\u1ed9i",code:"SHB",bin:"970443",shortName:"SHB",logo:"https://api.vietqr.io/img/SHB.png"},{id:10,name:"Ng\xe2n h\xe0ng TMCP Xu\u1ea5t Nh\u1eadp kh\u1ea9u Vi\u1ec7t Nam",code:"EIB",bin:"970431",shortName:"Eximbank",logo:"https://api.vietqr.io/img/EIB.png"},{id:22,name:"Ng\xe2n ha\u0300ng TMCP Ha\u0300ng Ha\u0309i",code:"MSB",bin:"970426",shortName:"MSB",logo:"https://api.vietqr.io/img/MSB.png"},{id:53,name:"TMCP Vi\u1ec7t Nam Th\u1ecbnh V\u01b0\u1ee3ng - Ng\xe2n h\xe0ng s\u1ed1 CAKE by VPBank",code:"CAKE",bin:"546034",shortName:"CAKE",logo:"https://api.vietqr.io/img/CAKE.png"},{id:54,name:"TMCP Vi\u1ec7t Nam Th\u1ecbnh V\u01b0\u1ee3ng - Ng\xe2n h\xe0ng s\u1ed1 Ubank by VPBank",code:"Ubank",bin:"546035",shortName:"Ubank",logo:"https://api.vietqr.io/img/UBANK.png"},{id:58,name:"Ng\xe2n h\xe0ng s\u1ed1 Timo by Ban Viet Bank (Timo by Ban Viet Bank)",code:"TIMO",bin:"963388",shortName:"Timo",logo:"https://vietqr.net/portal-service/resources/icons/TIMO.png"},{id:57,name:"T\u1ed5ng C\xf4ng ty D\u1ecbch v\u1ee5 s\u1ed1 Viettel - Chi nh\xe1nh t\u1eadp \u0111o\xe0n c\xf4ng nghi\u1ec7p vi\u1ec5n th\xf4ng Qu\xe2n \u0110\u1ed9i",code:"VTLMONEY",bin:"971005",shortName:"ViettelMoney",logo:"https://api.vietqr.io/img/VIETTELMONEY.png"},{id:56,name:"VNPT Money",code:"VNPTMONEY",bin:"971011",shortName:"VNPTMoney",logo:"https://api.vietqr.io/img/VNPTMONEY.png"},{id:34,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n C\xf4ng Th\u01b0\u01a1ng",code:"SGICB",bin:"970400",shortName:"SaigonBank",logo:"https://api.vietqr.io/img/SGICB.png"},{id:3,name:"Ng\xe2n h\xe0ng TMCP B\u1eafc \xc1",code:"BAB",bin:"970409",shortName:"BacABank",logo:"https://api.vietqr.io/img/BAB.png"},{id:30,name:"Ng\xe2n ha\u0300ng TMCP \u0110a\u0323i Chu\u0301ng Vi\xea\u0323t Nam",code:"PVCB",bin:"970412",shortName:"PVcomBank",logo:"https://api.vietqr.io/img/PVCB.png"},{id:27,name:"Ng\xe2n h\xe0ng Th\u01b0\u01a1ng m\u1ea1i TNHH MTV \u0110\u1ea1i D\u01b0\u01a1ng",code:"Oceanbank",bin:"970414",shortName:"Oceanbank",logo:"https://api.vietqr.io/img/OCEANBANK.png"},{id:24,name:"Ng\xe2n h\xe0ng TMCP Qu\u1ed1c D\xe2n",code:"NCB",bin:"970419",shortName:"NCB",logo:"https://api.vietqr.io/img/NCB.png"},{id:37,name:"Ng\xe2n h\xe0ng TNHH MTV Shinhan Vi\u1ec7t Nam",code:"SHBVN",bin:"970424",shortName:"ShinhanBank",logo:"https://api.vietqr.io/img/SHBVN.png"},{id:1,name:"Ng\xe2n h\xe0ng TMCP An B\xecnh",code:"ABB",bin:"970425",shortName:"ABBANK",logo:"https://api.vietqr.io/img/ABB.png"},{id:41,name:"Ng\xe2n h\xe0ng TMCP Vi\u1ec7t \xc1",code:"VAB",bin:"970427",shortName:"VietABank",logo:"https://api.vietqr.io/img/VAB.png"},{id:23,name:"Ng\xe2n h\xe0ng TMCP Nam \xc1",code:"NAB",bin:"970428",shortName:"NamABank",logo:"https://api.vietqr.io/img/NAB.png"},{id:29,name:"Ng\xe2n h\xe0ng TMCP X\u0103ng d\u1ea7u Petrolimex",code:"PGB",bin:"970430",shortName:"PGBank",logo:"https://api.vietqr.io/img/PGB.png"},{id:46,name:"Ng\xe2n h\xe0ng TMCP Vi\u1ec7t Nam Th\u01b0\u01a1ng T\xedn",code:"VIETBANK",bin:"970433",shortName:"VietBank",logo:"https://api.vietqr.io/img/VIETBANK.png"},{id:5,name:"Ng\xe2n h\xe0ng TMCP B\u1ea3o Vi\u1ec7t",code:"BVB",bin:"970438",shortName:"BaoVietBank",logo:"https://api.vietqr.io/img/BVB.png"},{id:33,name:"Ng\xe2n ha\u0300ng TMCP \u0110\xf4ng Nam A\u0301",code:"SEAB",bin:"970440",shortName:"SeABank",logo:"https://api.vietqr.io/img/SEAB.png"},{id:52,name:"Ng\xe2n h\xe0ng H\u1ee3p t\xe1c x\xe3 Vi\u1ec7t Nam",code:"COOPBANK",bin:"970446",shortName:"COOPBANK",logo:"https://api.vietqr.io/img/COOPBANK.png"},{id:20,name:"Ng\xe2n h\xe0ng TMCP B\u01b0u \u0110i\u1ec7n Li\xean Vi\u1ec7t",code:"LPB",bin:"970449",shortName:"LienVietPostBank",logo:"https://api.vietqr.io/img/LPB.png"},{id:19,name:"Ng\xe2n h\xe0ng TMCP Ki\xean Long",code:"KLB",bin:"970452",shortName:"KienLongBank",logo:"https://api.vietqr.io/img/KLB.png"},{id:55,name:"Ng\xe2n h\xe0ng \u0110\u1ea1i ch\xfang TNHH Kasikornbank",code:"KBank",bin:"668888",shortName:"KBank",logo:"https://api.vietqr.io/img/KBANK.png"},{id:50,name:"Ng\xe2n h\xe0ng Kookmin - Chi nh\xe1nh H\xe0 N\u1ed9i",code:"KBHN",bin:"970462",shortName:"KookminHN",logo:"https://api.vietqr.io/img/KBHN.png"},{id:60,name:"Ng\xe2n h\xe0ng KEB Hana \u2013 Chi nh\xe1nh Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"KEBHANAHCM",bin:"970466",shortName:"KEBHanaHCM",logo:"https://api.vietqr.io/img/KEBHANAHCM.png"},{id:61,name:"Ng\xe2n h\xe0ng KEB Hana \u2013 Chi nh\xe1nh H\xe0 N\u1ed9i",code:"KEBHANAHN",bin:"970467",shortName:"KEBHANAHN",logo:"https://api.vietqr.io/img/KEBHANAHN.png"},{id:62,name:"C\xf4ng ty T\xe0i ch\xednh TNHH MTV Mirae Asset (Vi\u1ec7t Nam) ",code:"MAFC",bin:"977777",shortName:"MAFC",logo:"https://api.vietqr.io/img/MAFC.png"},{id:59,name:"Ng\xe2n h\xe0ng Citibank, N.A. - Chi nh\xe1nh H\xe0 N\u1ed9i",code:"CITIBANK",bin:"533948",shortName:"Citibank",logo:"https://api.vietqr.io/img/CITIBANK.png"},{id:51,name:"Ng\xe2n h\xe0ng Kookmin - Chi nh\xe1nh Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"KBHCM",bin:"970463",shortName:"KookminHCM",logo:"https://api.vietqr.io/img/KBHCM.png"},{id:63,name:"Ng\xe2n h\xe0ng Ch\xednh s\xe1ch X\xe3 h\u1ed9i",code:"VBSP",bin:"999888",shortName:"VBSP",logo:"https://api.vietqr.io/img/VBSP.png"},{id:49,name:"Ng\xe2n h\xe0ng TNHH MTV Woori Vi\u1ec7t Nam",code:"WVN",bin:"970457",shortName:"Woori",logo:"https://api.vietqr.io/img/WVN.png"},{id:48,name:"Ng\xe2n h\xe0ng Li\xean doanh Vi\u1ec7t - Nga",code:"VRB",bin:"970421",shortName:"VRB",logo:"https://api.vietqr.io/img/VRB.png"},{id:40,name:"Ng\xe2n h\xe0ng United Overseas - Chi nh\xe1nh TP. H\u1ed3 Ch\xed Minh",code:"UOB",bin:"970458",shortName:"UnitedOverseas",logo:"https://api.vietqr.io/img/UOB.png"},{id:32,name:"Ng\xe2n h\xe0ng TNHH MTV Standard Chartered Bank Vi\u1ec7t Nam",code:"SCVN",bin:"970410",shortName:"StandardChartered",logo:"https://api.vietqr.io/img/SCVN.png"},{id:28,name:"Ng\xe2n h\xe0ng TNHH MTV Public Vi\u1ec7t Nam",code:"PBVN",bin:"970439",shortName:"PublicBank",logo:"https://api.vietqr.io/img/PBVN.png"},{id:25,name:"Ng\xe2n h\xe0ng Nonghyup - Chi nh\xe1nh H\xe0 N\u1ed9i",code:"NHB HN",bin:"801011",shortName:"Nonghyup",logo:"https://api.vietqr.io/img/NHB.png"},{id:18,name:"Ng\xe2n h\xe0ng TNHH Indovina",code:"IVB",bin:"970434",shortName:"IndovinaBank",logo:"https://api.vietqr.io/img/IVB.png"},{id:16,name:"Ng\xe2n ha\u0300ng C\xf4ng nghi\xea\u0323p Ha\u0300n Qu\xf4\u0301c - Chi nha\u0301nh TP. H\xf4\u0300 Chi\u0301 Minh",code:"IBK - HCM",bin:"970456",shortName:"IBKHCM",logo:"https://api.vietqr.io/img/IBK.png"},{id:15,name:"Ng\xe2n ha\u0300ng C\xf4ng nghi\xea\u0323p Ha\u0300n Qu\xf4\u0301c - Chi nha\u0301nh Ha\u0300 N\xf4\u0323i",code:"IBK - HN",bin:"970455",shortName:"IBKHN",logo:"https://api.vietqr.io/img/IBK.png"},{id:14,name:"Ng\xe2n h\xe0ng TNHH MTV HSBC (Vi\u1ec7t Nam)",code:"HSBC",bin:"458761",shortName:"HSBC",logo:"https://api.vietqr.io/img/HSBC.png"},{id:13,name:"Ng\xe2n h\xe0ng TNHH MTV Hong Leong Vi\u1ec7t Nam",code:"HLBVN",bin:"970442",shortName:"HongLeong",logo:"https://api.vietqr.io/img/HLBVN.png"},{id:11,name:"Ng\xe2n h\xe0ng Th\u01b0\u01a1ng m\u1ea1i TNHH MTV D\u1ea7u Kh\xed To\xe0n C\u1ea7u",code:"GPB",bin:"970408",shortName:"GPBank",logo:"https://api.vietqr.io/img/GPB.png"},{id:9,name:"Ng\xe2n h\xe0ng TMCP \u0110\xf4ng \xc1",code:"DOB",bin:"970406",shortName:"DongABank",logo:"https://api.vietqr.io/img/DOB.png"},{id:8,name:"DBS Bank Ltd - Chi nh\xe1nh Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"DBS",bin:"796500",shortName:"DBSBank",logo:"https://api.vietqr.io/img/DBS.png"},{id:7,name:"Ng\xe2n h\xe0ng TNHH MTV CIMB Vi\u1ec7t Nam",code:"CIMB",bin:"422589",shortName:"CIMB",logo:"https://api.vietqr.io/img/CIMB.png"},{id:6,name:"Ng\xe2n h\xe0ng Th\u01b0\u01a1ng m\u1ea1i TNHH MTV X\xe2y d\u1ef1ng Vi\u1ec7t Nam",code:"CBB",bin:"970444",shortName:"CBBank",logo:"https://api.vietqr.io/img/CBB.png"}]},80429:(H,v,r)=>{r.d(v,{q:()=>f});var h=r(94650);let f=(()=>{class C{transform(B,m,...x){return m(B,...x)}}return C.\u0275fac=function(B){return new(B||C)},C.\u0275pipe=h.Yjl({name:"mapper",type:C,pure:!0,standalone:!0}),C})()}}]);