1"use strict";(self.webpackChunkva_gpt=self.webpackChunkva_gpt||[]).push([[594],{5044:(v,h,n)=>{n.a(v,async(x,t)=>{try{n.d(h,{u:()=>o});var i=n(4650),s=n(7876),u=n(5135),l=x([s]);s=(l.then?(await l)():l)[0];let o=(()=>{class c{constructor(){}ngOnInit(){}}return c.\u0275fac=function(m){return new(m||c)},c.\u0275cmp=i.Xpm({type:c,selectors:[["payment-container"]],decls:4,vars:0,consts:[[1,"flex","flex-col","h-full"],[1,"grow","overflow-auto","flex","flex-col","justify-center","items-center"]],template:function(m,d){1&m&&(i.TgZ(0,"div",0),i._UZ(1,"app-header"),i.TgZ(2,"div",1),i._UZ(3,"purchase-popup-view"),i.qZA()())},dependencies:[s.G,u.y]}),c})();t()}catch(o){t(o)}})},3937:(v,h,n)=>{n.a(v,async(x,t)=>{try{n.d(h,{h:()=>l});var i=n(4650),s=n(5044),u=x([s]);s=(u.then?(await u)():u)[0];let l=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275cmp=i.Xpm({type:o,selectors:[["payment-page"]],decls:1,vars:0,template:function(r,m){1&r&&i._UZ(0,"payment-container")},dependencies:[s.u],encapsulation:2}),o})();t()}catch(l){t(l)}})},5135:(v,h,n)=>{n.d(h,{y:()=>P});var x=n(4509),t=n(4650),i=n(9381),s=n(7344),u=n(6895),l=n(791),o=n(4638),c=n(8750);function r(e,g){1&e&&(t.ynx(0),t._UZ(1,"i",16),t.TgZ(2,"h3"),t._uU(3),t.ALo(4,"capitalize"),t.ALo(5,"translate"),t.qZA(),t.BQk()),2&e&&(t.xp6(3),t.Oqu(t.lcZ(4,1,t.lcZ(5,3,"thank_you_for_your_purchase"))))}function m(e,g){1&e&&(t._UZ(0,"i",17),t.TgZ(1,"h3"),t._uU(2),t.ALo(3,"capitalize"),t.ALo(4,"translate"),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,1,t.lcZ(4,3,"purchase_failed"))))}function d(e,g){if(1&e&&(t.TgZ(0,"div",18)(1,"i"),t._uU(2),t.ALo(3,"translate"),t.TgZ(4,"b"),t._uU(5),t.qZA()()()),2&e){const p=t.oxw(2);t.xp6(2),t.hij(" ",t.lcZ(3,2,"confirmation_mail")," "),t.xp6(3),t.Oqu(p.email)}}function Z(e,g){1&e&&(t.TgZ(0,"button",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&e&&(t.Q6J("routerLink",""),t.xp6(1),t.hij(" ",t.lcZ(2,2,"back_to_homepage")," "))}function f(e,g){1&e&&(t.TgZ(0,"button",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&e&&(t.Q6J("routerLink","/package-solution"),t.xp6(1),t.hij(" ",t.lcZ(2,2,"repurchase")," "))}function y(e,g){if(1&e&&(t.TgZ(0,"div",1)(1,"div",2),t.YNc(2,r,6,5,"ng-container",3),t.YNc(3,m,5,5,"ng-template",null,4,t.W1O),t.qZA(),t.TgZ(5,"div",5)(6,"ul",6)(7,"li",7)(8,"h4",8),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"span",9),t._uU(12),t.ALo(13,"capitalize"),t.ALo(14,"translate"),t.qZA()(),t.TgZ(15,"li",10)(16,"h4",8),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.TgZ(19,"span",9),t._uU(20),t.qZA()(),t.TgZ(21,"li",11)(22,"h4",8),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"span",9),t._uU(26),t.ALo(27,"currency"),t.qZA()(),t.TgZ(28,"li",12)(29,"h4",8),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"span",9),t._uU(33),t.ALo(34,"uppercase"),t.qZA()()(),t.YNc(35,d,6,4,"div",13),t.qZA(),t.TgZ(36,"div",14),t.YNc(37,Z,3,4,"button",15),t.YNc(38,f,3,4,"button",15),t.qZA()()),2&e){const p=t.MAs(4),a=t.oxw();t.xp6(2),t.Q6J("ngIf","success"===a.transactionStatus)("ngIfElse",p),t.xp6(7),t.hij(" ",t.lcZ(10,13,"transaction_status")," "),t.xp6(3),t.hij(" ",t.lcZ(13,15,t.lcZ(14,17,a.transactionStatus))," "),t.xp6(5),t.Oqu(t.lcZ(18,19,"payment_id")),t.xp6(3),t.Oqu(a.paymentId),t.xp6(3),t.Oqu(t.lcZ(24,21,"payment_amount")),t.xp6(3),t.hij(" ",t.xi3(27,23,a.paymentAmount,"VND")," "),t.xp6(4),t.Oqu(t.lcZ(31,26,"payment_via")),t.xp6(3),t.Oqu(t.lcZ(34,28,a.paymentVia)),t.xp6(2),t.Q6J("ngIf","success"===a.transactionStatus),t.xp6(2),t.Q6J("ngIf","success"===a.transactionStatus),t.xp6(1),t.Q6J("ngIf","success"!==a.transactionStatus)}}let P=(()=>{class e{constructor(p,a){this.userService=p,this.transactionService=a,this.transactionId="",this.transactionStatus="success",this.paymentId="",this.paymentAmount=0,this.paymentVia="",this.email="[email protected]",this.isVisible=!1}ngOnInit(){this.setEmail(),this.transactionId=x._.getPaymentIdFromCurrentUrl(),this.transactionService.getTransactionById(this.transactionId).subscribe({next:p=>{const a=p.data;this.transactionStatus=a.status,this.paymentId=a.orderId,this.paymentAmount=a.amount.vnd,this.paymentVia=a.gateway,this.isVisible=!0},error:p=>{}})}setEmail(){this.userService.getProfile().subscribe({next:({data:p})=>{this.email=p.email}})}}return e.\u0275fac=function(p){return new(p||e)(t.Y36(i.K),t.Y36(s.p))},e.\u0275cmp=t.Xpm({type:e,selectors:[["purchase-popup-view"]],decls:1,vars:1,consts:[["class","purchase-popup-container p-7 flex flex-col",4,"ngIf"],[1,"purchase-popup-container","p-7","flex","flex-col"],[1,"purchase-popup-header","flex","flex-col","justify-center","items-center","gap-[16px]"],[4,"ngIf","ngIfElse"],["transactionFailed",""],[1,"purchase-popup-body","mt-3"],[1,"main-wrapper","flex","flex-col","gap-2"],[1,"transaction-status"],[1,"popup-body-header"],[1,"popup-body-data"],[1,"payment-id"],[1,"payment-amount"],[1,"payment-via"],["class","sub-wrapper text-center mt-6",4,"ngIf"],[1,"purchase-popup-footer","mt-6","flex","justify-end"],["class","va-button",3,"routerLink",4,"ngIf"],[1,"va-icon","success-check-mark-icon","h-[55px]","w-[55px]"],[1,"va-icon","error-info-mark-icon","h-[55px]","w-[55px]"],[1,"sub-wrapper","text-center","mt-6"],[1,"va-button",3,"routerLink"]],template:function(p,a){1&p&&t.YNc(0,y,39,30,"div",0),2&p&&t.Q6J("ngIf",a.isVisible)},dependencies:[u.O5,l.rH,u.gd,u.H9,o.X$,c.e],styles:[".purchase-popup-container[_ngcontent-%COMP%]{width:550px;border-radius:10px;background:#ffffff;box-shadow:0 4px 12px #0000001a}.purchase-popup-container[_ngcontent-%COMP%] .purchase-popup-header[_ngcontent-%COMP%]{color:#23262f;font-size:24px;font-weight:700;line-height:32px;letter-spacing:.036px}.purchase-popup-container[_ngcontent-%COMP%] .purchase-popup-body[_ngcontent-%COMP%] .main-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:100px}.purchase-popup-container[_ngcontent-%COMP%] .purchase-popup-body[_ngcontent-%COMP%] .main-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .popup-body-header[_ngcontent-%COMP%]{color:#7
177e90;font-size:14px;font-weight:400;line-height:24px;letter-spacing:.056px}.purchase-popup-container[_ngcontent-%COMP%] .purchase-popup-body[_ngcontent-%COMP%] .main-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .popup-body-data[_ngcontent-%COMP%]{color:#353945;font-size:14px;font-weight:700;text-align:right;line-height:24px;letter-spacing:.056px}.purchase-popup-container[_ngcontent-%COMP%] .purchase-popup-body[_ngcontent-%COMP%] .sub-wrapper[_ngcontent-%COMP%]{color:#777e90;font-size:14px;font-weight:400;text-align:center;font-style:italic;line-height:24px;letter-spacing:.056px}"]}),e})()},4594:(v,h,n)=>{n.a(v,async(x,t)=>{try{n.r(h),n.d(h,{PaymentModule:()=>Z});var i=n(6895),s=n(3937),u=n(791),l=n(4466),o=n(9499),c=n(4650),r=x([s,o]);[s,o]=r.then?(await r)():r;const m=[{path:":id",component:s.h}],d=[o.O];let Z=(()=>{class f{}return f.\u0275fac=function(P){return new(P||f)},f.\u0275mod=c.oAB({type:f}),f.\u0275inj=c.cJS({imports:[i.ez,u.Bz.forChild(m),l.e,d]}),f})();t()}catch(m){t(m)}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.