PageSourceSearch

https://www.halodoc.com/resources/chunk-TQ2W325D.js

js halodoc.com collected 2026-09-24 08:51:34 UTC 22,014 bytes, 1 lines download raw bytes

1import{a as Fe}from"./chunk-XVYGBSAM.js";import"./chunk-E7SF35EY.js";import"./chunk-SAM2OTHP.js";import{l as Ae}from"./chunk-QLCNMJK5.js";import{d as Re,e as De,h as we,j as Ne}from"./chunk-NHK6MXCM.js";import"./chunk-UVBJQ6WQ.js";import{c as Ie,d as u}from"./chunk-HNZVUKGW.js";import{d as _,e as a}from"./chunk-4DB6KMHA.js";import"./chunk-Q2LIZUSJ.js";import{a as xe,b as Oe,c as Ee,d as I}from"./chunk-GDOO6OT5.js";import"./chunk-OPXCG33S.js";import"./chunk-UDE6CWWU.js";import"./chunk-T35T5MSV.js";import{Ia as Me,aa as be,ca as L,da as Te,oa as ke,u as Ce,w as Pe}from"./chunk-ESWOH4IW.js";import{x as Se}from"./chunk-4IAMFFCU.js";import{e as ve,f as ge,g as _e,l as A}from"./chunk-NWY46YXD.js";import"./chunk-7ISFHUQ3.js";import"./chunk-ZLOVQKZF.js";import"./chunk-UUV44MCL.js";import{P as he,yb as fe}from"./chunk-ULLOCMAI.js";import{b as de,d as ue,e as ye}from"./chunk-XJCPN7HX.js";import{$ as pe,ba as me}from"./chunk-JF7TYXAT.js";import{C as X,D as ee,Dc as ae,Ec as re,Ic as oe,Kb as O,Nc as E,Pc as C,Ud as le,cd as d,dd as P,e as Q,ea as te,ed as ce,fa as m,pc as v,rc as g,sa as s,ud as b,vb as h,vd as T,wc as se,xc as c,ya as ie,yc as p,za as ne,zc as M}from"./chunk-A6O2UMHS.js";import{a as F}from"./chunk-DATWAOVS.js";var U=(()=>{let r=class r{constructor(){this.dialogData=s(ge,{optional:!0}),this.bottomSheetData=s(xe,{optional:!0}),this.bottomSheetRef=s(Oe,{optional:!0}),this.dialogRef=s(ve,{optional:!0}),this.isMobile=!1}ngOnInit(){var e,t;this.isMobile=((e=this.dialogData)==null?void 0:e.isMobile)||((t=this.bottomSheetData)==null?void 0:t.isMobile)||!1}onTryAgainBtnClick(){var e,t;this.isMobile?(e=this.bottomSheetRef)==null||e.dismiss(!0):(t=this.dialogRef)==null||t.close(!0)}};r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=O({type:r,selectors:[["magneto-payment-failed-modal"]],decls:6,vars:2,consts:[[1,"payment-failure"],["title","Maaf, pembayaran gagal","label","Sistem kami sedang mengalami gangguan. Silakan coba lagi","mainCtaText","Coba Lagi","textAlign","center","ctaAlign","horizontal","ctaHorizontalAlign","center",3,"onMainCtaClick","showCloseIcon","mainCtaWidth"],[1,"w-full","flex","justify-center","mb-4"],["src","assets/img/payments/payment-failed.svg","alt","",1,"failure-img"]],template:function(t,i){t&1&&(c(0,"div",0),ae(1),c(2,"hd-base-popup-container",1),E("onMainCtaClick",function(){return i.onTryAgainBtnClick()}),c(3,"hd-base-popup-container-content")(4,"div",2),M(5,"img",3),p()()(),re(),p()),t&2&&(h(2),se("showCloseIcon",!1)("mainCtaWidth",i.isMobile?"100%":"100px"))},dependencies:[A,he,I,Se],styles:[".payment-failure-container[_ngcontent-%COMP%]{height:85%;display:flex;flex-direction:column;align-items:center;justify-content:center}.payment-failure-container[_ngcontent-%COMP%]   .failure-msg-title[_ngcontent-%COMP%]{font-size:20px;font-style:normal;font-weight:700;line-height:27px;text-align:center}.payment-failure-container[_ngcontent-%COMP%]   .failure-img[_ngcontent-%COMP%]{max-width:100%;height:auto;padding-top:64px;padding-bottom:24px}.payment-failure-container[_ngcontent-%COMP%]   .failure-msg-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:16px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center}.try-again-btn[_ngcontent-%COMP%]{background:#e0004d;border:1px solid #e0004d;border-radius:4px;color:#fff;margin-top:24px}"]});let n=r;return n})();function je(n,r){n&1&&(c(0,"p"),d(1),b(2,"translate"),p()),n&2&&(h(),P(T(2,1,"PAYMENTS.STATUS_MSG_SUCCESS_PD")))}function Ye(n,r){if(n&1&&(c(0,"p"),d(1),b(2,"translate"),p()),n&2){let o=C(3);h(),P(T(2,1,o.paymentSuccessText))}}function Ze(n,r){n&1&&(c(0,"p"),d(1),b(2,"translate"),p()),n&2&&(h(),P(T(2,1,"PAYMENTS.STATUS_MSG_SUCCESS_APPOINTMENT")))}function He(n,r){if(n&1&&(c(0,"div",1)(1,"h3",2),d(2),b(3,"translate"),p(),M(4,"img",3),c(5,"div",4)(6,"p"),d(7),b(8,"translate"),p(),v(9,je,3,3,"p"),v(10,Ye,3,3,"p"),v(11,Ze,3,3,"p"),p()()),n&2){let o=C(2);h(2),P(T(3,5,"PAYMENTS.STATUS_LABEL")),h(5),P(T(8,7,"PAYMENTS.STATUS_MSG_PAYMENT_RECEIVED")),h(2),g(o.serviceType==="pharmacy_delivery"?9:-1),h(),g(o.serviceType==="contact_doctor"?10:-1),h(),g(o.serviceType==="appointment"?11:-1)}}function Ve(n,r){if(n&1){let o=oe();c(0,"button",9),E("click",function(){ie(o);let t=C(4);return ne(t.onSeeOrderBtnClick())}),d(1," See Order "),p()}}function qe(n,r){if(n&1&&(c(0,"div",5),M(1,"img",6),c(2,"span"),d(3,"K
1ami sedang memproses pembayaranmu"),p(),c(4,"span"),d(5,"Mohon tunggu "),c(6,"span",7),d(7),p()(),v(8,Ve,2,0,"button",8),p()),n&2){let o=C(3);h(7),ce("",o.processingTimeCounter," detik"),h(),g(o.isShowSeeOrderCTA?8:-1)}}function Ge(n,r){if(n&1&&v(0,qe,9,2,"div",5),n&2){let o=C(2);g(o.paymentStatus===o.PaymentStatusType.processing||o.paymentStatus===o.PaymentStatusType.pending?0:-1)}}function ze(n,r){if(n&1&&(c(0,"div",0),v(1,He,12,9,"div",1)(2,Ge,1,1),p()),n&2){let o=C();h(),g(o.paymentStatus===o.PaymentStatusType.successful?1:2)}}var bt=(()=>{let r=class r{constructor(){this.utilityService=s(be),this.router=s(me),this.route=s(pe),this.dataService=s(Ce),this.translate=s(de),this.spinnerModalService=s(Me),this.consultationService=s(De),this.cartCheckoutFacade=s(Ne),this.paymentsCallbackService=s(Fe),this.orderService=s(Re),this.paymentService=s(Ie),this.dialog=s(_e),this.bottomSheet=s(Ee),this.gtmService=s(Te),this.doctorService=s(we),this.userService=s(ke),this.localStorageService=s(Pe),this.conciergeInstrumentation=s(Ae),this._cdrZoneless=s(le),this.serviceType="",this.serviceReferenceId="",this.paymentMethod="",this.paymentStatus="",this.paymentProvider="",this.isError=!1,this.isShowSeeOrderCTA=!1,this.processingTimeCounter=30,this.PaymentStatusType=u,this.ServiceTypeEnum=a,this.isPrivatePractice=!1,this.doctorId="",this.paymentId="",this.isPaymentStatusPolling=!1,this.paymentSuccessText="",this.$destroy=new Q,this.isMobile=!1,this.is404Error=!1}canDeactivate(){return!this.is404Error&&this.paymentStatus!="failed"&&this.cartCheckoutFacade.clearCartAndOrderState(),!0}ngOnDestroy(){this.paymentStatusPollingSubscription&&this.paymentStatusPollingSubscription.unsubscribe(),this.timerSubscription&&clearInterval(this.timerSubscription),this.$destroy.next(),this.$destroy.complete()}extractQueryParams(){this.serviceType=this.route.snapshot.queryParams.service_type,this.serviceReferenceId=this.route.snapshot.queryParams.service_reference_id,this.paymentMethod=this.route.snapshot.queryParams.payment_method}ngOnInit(){if(!this.utilityService.isServer()){if(this.isMobile=this.utilityService.isMobileDevice(),this.configureTranslation(),this.extractQueryParams(),!this.serviceReferenceId){this.paymentsCallbackService.navigateToUrl("/");return}this.paymentStatus=u.processing,setTimeout(()=>{this.serviceType===a.PHARMACY_DELIVERY?this.handlePaymentCallbackForPD():this.serviceType===a.CONTACT_DOCTOR?this.handlePaymentCallbackFor
1CD():this.serviceType===a.APPOINTMENTS&&this.handlePaymentCallbackForAppointment()},2e3)}}onSeeOrderBtnClick(){this.serviceType===a.PHARMACY_DELIVERY?this.router.navigate([`/riwayat/obat-dan-vitamin/${this.serviceReferenceId}`]):this.serviceType===a.APPOINTMENTS?this.router.navigate([`/riwayat/buatjanji/${this.serviceReferenceId}`],{replaceUrl:!0}):this.serviceType===a.CONTACT_DOCTOR&&this.router.navigate(["/riwayat"])}handlePaymentCallbackForAppointment(){this.paymentsCallbackService.getAppointment(this.serviceReferenceId).pipe(m(this.$destroy)).subscribe(e=>{this.spinnerModalService.hide();let t=e.appointment_booking;if(this.order=t,this.checkOrderStatusAndNavigateHome(t.status),t.status==="confirmed"||t.status==="booked")if(this.paymentsCallbackService.getPaymentSuccessShowState()==="yes"){this.handleNavigationOnConfirm(this.order);return}else this.paymentStatus="successful",this.paymentsCallbackService.storePaymentSuccessShownState("yes"),this.utilityService.isBrowser()&&setTimeout(()=>{this.handleNavigationOnConfirm(this.order)},3e3);if(t.payments&&t.payments.length>0){let i=this.paymentService.getLatestPayment(t.payments);if(this.paymentId=i==null?void 0:i.payment_reference_id,!this.paymentId)return;this.paymentService.getPaymentStatus(this.serviceType,this.serviceReferenceId,i==null?void 0:i.payment_reference_id).pipe(m(this.$destroy)).subscribe(y=>{this.handlePaymentStatus(y),this._cdrZoneless.markForCheck()})}this._cdrZoneless.markForCheck()},e=>{this.spinnerModalService.hide(),e&&e.status===404&&(this.is404Error=!0,this.paymentsCallbackService.navigateToUrl("/")),this._cdrZoneless.markForCheck()})}handlePaymentCallbackForPD(){this.orderService.getOrderById(this.serviceReferenceId).pipe(m(this.$destroy)).subscribe(e=>{if(this.spinnerModalService.hide(),this.order=e,this.checkOrderStatusAndNavigateHome(e.status),e.status==="confirmed")if(this.getPaymentStatusToTrackEvent(e.payments||[]),this.trackPDOrderPlacedEvent(e),this.paymentsCallbackService.getPaymentSuccessShowState()==="yes"){this.navigateToRespectiveHome();return}else{this.paymentStatus=u.successful,this.paymentsCallbackService.storePaymentSuccessShownState("yes"),this.utilityService.isBrowser()&&setTimeout(()=>{this.handleNavigationOnConfirm(this.order)},2e3);return}if(e.payments&&e.payments.length>0){let t=this.paymentService.getLatestPayment(e.payments);if(this.paymentId=t==null?void 0:t.payment_reference_id,!this.paymentId)return;this.paymentService.getPaymentStatus(this.serviceType,this.serviceReferenceId,t==null?void 0:t.payment_reference_id).pipe(m(this.$destroy)).subscribe(i=>{this.handlePaymentStatus(i),this._cdrZoneless.markForCheck()})}this._cdrZoneless.markForCheck()},e=>{this.spinnerModalService.hide(),e&&e.status===404&&(this.is404Error=!0,this.paymentsCallbackService.navigateToUrl("/")),this._cdrZoneless.markForCheck()})}fetchDoctor(e){let y=e.participants.filter(x=>x.participant_type==="doctor")[0].entity_id;return this.doctorId=y,this.doctorService.getDoctorById(y)}
1handlePaymentCallbackForCD(){this.consultationService.getConsultationById(this.serviceReferenceId).pipe(m(this.$destroy)).subscribe(e=>{if(this.isPrivatePractice=e.type==="private_practice",this.spinnerModalService.hide(),this.order=e,this.checkOrderStatusAndNavigateHome(e.status),this.isPrivatePractice){this.fetchDoctor(e).pipe(m(this.$destroy)).subscribe(t=>{this.paymentsCallbackService.navigateToUrl(`/tanya-dokter/sesi/private-practice/${t.slug}`),this._cdrZoneless.markForCheck()});return}if(e.status==="confirmed")if(this.getPaymentStatusToTrackEvent(e.payments),this.paymentsCallbackService.getPaymentSuccessShowState()==="yes"){this.paymentsCallbackService.navigateToUrl("/tanya-dokter");return}else{this.paymentStatus="successful",this.paymentsCallbackService.storePaymentSuccessShownState("yes"),this.utilityService.isBrowser()&&setTimeout(()=>{this.handleNavigationOnConfirm(this.order)},3e3);return}if(e.payments&&e.payments.length>0){let t=this.paymentService.getLatestPayment(e.payments);if(this.paymentId=t==null?void 0:t.payment_reference_id,!this.paymentId)return;this.paymentService.getPaymentStatus(this.serviceType,this.serviceReferenceId,t==null?void 0:t.payment_reference_id).pipe(m(this.$destroy)).subscribe(i=>{this.handlePaymentStatus(i),this._cdrZoneless.markForCheck()})}this._cdrZoneless.markForCheck()},e=>{this.spinnerModalService.hide(),this.handle404Error(e),this._cdrZoneless.markForCheck()})}handlePaymentStatus(e){if(this.paymentMethod=e.payment_method,this.paymentStatus=e.payment_status||"",this.paymentProvider=e.payment_provider,this.paymentStatus===u.successful){this.stopPaymentStatusAndTimerPolling(),this.trackPaymentSuccessfulEvent(),this.paymentsCallbackService.storePaymentSuccessShownState("yes"),this.paymentsCallbackService.makeConfirmAPICall(this.order,this.serviceType).pipe(m(this.$destroy)).subscribe(()=>{this.utilityService.isBrowser()&&setTimeout(()=>{this.handleNavigationOnConfirm(this.order)},3e3),this._cdrZoneless.markForCheck()},()=>{this.paymentStatus=u.failed,this.stopPaymentStatusAndTimerPolling(),this.openFailedPaymentWarning(),this._cdrZoneless.markForCheck()});return}else this.paymentStatus===u.processing||this.paymentStatus===u.pending?this.paymentStatusPollingSubscription||this.startPaymentStatusPolling():this.paymentStatus===u.failed&&(this.stopPaymentStatusAndTimerPolling(),this.openFailedPaymentWarning())}openFailedPaymentWarning(){this.isMobile?this.bottomSheet.open(U,{data:{isMobile:!0}}).afterDismissed().pipe(m(this.$destroy)).subscribe(t=>{t&&this.navigateToRespectivePaymentsPage(),this._cdrZoneless.markForCheck()}):this.dialog.open(U,{data:{isMobile:!1}}).afterClosed().pipe(m(this.$destroy)).subscribe(t=>{t&&this.navigateToRespectivePaymentsPage(),this._cdrZoneless.markForCheck()})}getPaymentStatusToTrackEvent(e){let t=this.paymentService.getLatestPayment(e);!t||!t.payment_reference_id||this.paymentService.getPaymentStatus(this.serviceType,this.serviceReferenceId,t.payment_reference_id).pipe(m(this.$destroy)).subscribe(i=>{this.paymentMethod=i.payment_method,this.paymentStatus=i.payment_status,this.paymentProvider=i.payment_provider,this.trackPaymentSuccessfulEvent(),this.isPrivatePractice&&this.trackPaymentSuccessForPP(),this._cdrZoneless.markForCheck()})}trackPaymentSuccessForPP(){let e={event:"payment_result",eventProperties:{service_type:this.getServiceType(),payment_method:this.paymentMethod,payment_gateway:this.paymentProvider,payment_status:this.paymentStatus,source:"PPE Room"}};this.gtmService.trackGaEvent(e)}trackPaymentSuccessfulEvent(){if(this.paymentMethod===_.LINKAJA||this.paymentMethod===_.BCA||this.paymentMethod===_.BNI||this.paymentMethod===_.MANDIRI||this.paymentMethod===_.PERMATA||this.paymentMethod===_.DANA||this.paymentMethod===_.BRI){let e={event:"payment_result",eventProperties:{service_type:this.getServiceType(),payment_method:this.paymentMethod,payment_gateway:this.paymentProvider,payment_status:this.paymentStatus}};this.gtmService.trackGaEvent(e)}}getServiceType(){switch(this.serviceType){case a.CONTACT_DOCTOR:return"CD";case a.PHARMACY_DELIVERY:return"PD";default:return""}}startPaymentStatusPolling(){if(this.isPaymentStatusPolling||this.utilityService.isServer())return;this.stopPaymentStatusAndTimerPolling(),this.timerSubscription=setInterval(()=>{if(this.processingTimeCounter===0){this.isShowSeeOrderCTA=!0;return}this.processingTimeCounter-=1},1e3),this.isPaymentStatusPolling=!0;let e=+this.order.payment_config.config.polling_interval*1e3,t=+this.order.payment_config.config.payment_expire*1e3;this.paymentStatusPollingSubscription=ee(e).pipe(m(X(t)),m(this.$destroy),te(()=>this.paymentService.getPaymentStatus(this.serviceType,this.serviceReferenceId,this.paymentId))).subscribe(i=>{this.handlePaymentStatus(i),this._cdrZoneless.markForCheck()},i=>{this.handle404Error(i),this._cdrZoneless.markForCheck()})}handleNavigationOnConfirm(e){if(this.serviceType===a.PHARMACY_DELIVERY){this.router.navigate([`/riwayat/obat-dan-vitamin/${e.customer_order_id}`],{replaceUrl:!0});return}
1else if(this.serviceType===a.CONTACT_DOCTOR)this.router.navigate(["/tanya-dokter/sesi"],{queryParams:{paymentSuccess:"1"},skipLocationChange:!0});else if(this.serviceType===a.APPOINTMENTS){this.router.navigate([`/riwayat/buatjanji/${e.customer_booking_id}`],{replaceUrl:!0});return}}stopPaymentStatusAndTimerPolling(){this.paymentStatusPollingSubscription&&this.paymentStatusPollingSubscription.unsubscribe(),this.isPaymentStatusPolling=!1,this.timerSubscription&&clearInterval(this.timerSubscription)}getOrderSource(){var e;return((e=this.localStorageService.getItem("utm_attributes"))==null?void 0:e.utm_source)||""}configureTranslation(){let e=this.dataService.currentUserLang;this.translate.use(e)}checkOrderStatusAndNavigateHome(e){if(this.serviceType===a.PHARMACY_DELIVERY&&e!=="approved"&&e!=="confirmed"&&e!=="payment_processing"&&e!=="payment_failed"){this.paymentsCallbackService.navigateToUrl("/obat-dan-vitamin");return}else if(this.serviceType===a.CONTACT_DOCTOR&&e!=="requested"&&e!=="confirmed"&&e!=="payment_processing"&&e!=="payment_failed"&&e!=="processing"&&e!=="started"){this.paymentsCallbackService.navigateToUrl("/tanya-dokter");return}else if(this.serviceType===a.APPOINTMENTS&&e==="cancelled"||e==="abandoned"||e==="completed"){this.paymentsCallbackService.navigateToUrl("/rumah-sakit");return}}handle404Error(e){e&&e.status===404&&(this.is404Error=!0,this.paymentsCallbackService.navigateToUrl("/"))}navigateToRespectivePaymentsPage(){this.serviceType===a.PHARMACY_DELIVERY?this.router.navigate(["/obat-dan-vitamin/checkout/payment"]):this.serviceType===a.CONTACT_DOCTOR?this.router.navigate([`/tanya-dokter/${this.serviceReferenceId}/payments`]):this.serviceType===a.APPOINTMENTS&&this.router.navigate([`/buatjanji/${this.serviceReferenceId}/metode_pembayaran?flow=regular`])}navigateToRespectiveHome(){this.serviceType===a.PHARMACY_DELIVERY?this.router.navigate(["/obat-dan-vitamin"]):this.serviceType===a.CONTACT_DOCTOR?this.router.navigate(["/tanya-dokter"]):this.serviceType===a.APPOINTMENTS&&this.router.navigate(["/rumah-sakit"])}trackPDOrderPlacedEvent(e){var $,j,Y,Z,H,V,q,G,z,W,J,K;if(!e||e.status==="cancelled")return;let t=0,i=[],y=0,x=0,R=[],Le=e.cart_id,k=[],B=[],D="no",w="Not Covered";($=e.items)==null||$.forEach(l=>{t+=l.quantity,R.push({cart_id:Le,product_name:l.name,quantity:l.quantity,price:l.price})}),(j=e.adjustments)==null||j.forEach(l=>{l.type=="discount"?(i.push(l.adjustment_reference_id),y+=l.value):l.type=="delivery_fee"?x=l.value:l.type==="benefit"&&(k.push(l.attributes.benefit_provider),B.push(l.attributes.policy_number))}),k.length&&e.total===0?(D="full",w="Full Coverage"):k.length&&(D="partial",w="Partial Coverage"),this.getOrderSource();let N=(Y=e.channel)==null?void 0:Y.toLowerCase(),f=this.conciergeInstrumentation.getConciergeOrderPlacedProperties(),S={service_type:"PD",date_completed:new Date(e.created_at).toLocaleString(),user_id:e.patient_id,first_trx:this._isFirstOrderForUser(),order_id:e.customer_order_id,GMV:e.total,total_shipments:(Z=e.shipments)==null?void 0:Z.length,total_qty:t,sku_count:(H=e.items)==null?void 0:H.length,delivery_region:e.shipping_address,payment_method:e.payments&&e.payments.length&&e.payments[0]&&e.payments[0].method||null,coupons:i.join(","),total_discount:y,total_shipping_cost:x,profitibility:e.item_total,insurance_provider:k.join(),insurance_coverage:D,order_items:JSON.stringify(R),more_efficient:this.isLabelledProduct(e),source:N,utm_source:this.getOrderSource(),benefit_coverage:w,benefit_provider:k.join(),benefit_policy_number:B.join()};f&&(S=F(F({},S),f),S.source=N?`${N},${f==null?void 0:f.source}`:f==null?void 0:f.source),(q=(V=e.items)==null?void 0:V.find(l=>l.lead_id))!=null&&q.lead_id&&(S.source="ai_prescription",S.ai_type="product_packaging"),(G=e.attributes)!=null&&G.ncd_reminder_id&&(S.source="wa_reminder");let Ue={event:"order_placed",eventProperties:S};this.gtmService.trackGaEvent(Ue);let Be={event:"Purchase",eventProperties:{order_id:e.customer_order_id,product_id:(W=(z=e.items)==null?void 0:z[0])==null?void 0:W.listing_id,product_name:(K=(J=e.items)==null?void 0:J[0])==null?void 0:K.name,content_type:"product",price:e.total,value:e.total,currency:"IDR"},isMetaPixelEvent:!0,isTikTokPixelEvent:!0,excludeFrom:[L.CRM,L.PRODUCT_ANALYTICS]};this.gtmService.trackGaEvent(Be)}isLabelledProduct(e){var t;return((t=e.items)==null?void 0:t.some(i=>!!(i.visual_cues&&i.visual_cues.includes("labelled_product"))))??!1}_isFirstOrderForUser(){return!!this.userService.getStoredNewUserProfile()}};r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=O({type:r,selectors:[["magneto-payments-callback"]],decls:1,vars:1,consts:[[1,"payments-callback-container"],[1,"payment-success-container"],[1,"success-title"],["src","assets/img/payments/payment_success.svg","alt","",1,"success-img"],[1,"status-msg-container"],[1,"payment-processing-container"],["src","assets/img/payments/payment_processing.svg","alt","",1,"success-img"],[1,"timer-text"],["dataTestId","on-see-order-btn-click-button","type","button",1,"border-none","bg-transparent","see-order-btn"],["dataTestId","on-see-order-btn-click-button","type","button",1,"border-none","bg-transparent","see-order-btn",3,"click"]],template:function(t,i){t&1&&v(0,ze,3,1,"div",0),t&2&&g(i.paymentStatus?0:-1)},dependencies:[A,ye,I,fe,ue],styles:[".payments-callback-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.payments-callback-container[_ngcontent-%COMP%]   .payment-success-container[_ngcontent-%COMP%]{height:85%;display:flex;flex-direction:column;align-items:center;justify-content:center}.payments-callback-container[_ngcontent-%COMP%]   .payment-success-container[_ngcontent-%COMP%]   .success-title[_ngcontent-%COMP%]{font-size:24px;font-style:normal;font-weight:600;letter-spacing:0px;text-align:center}.payments-callback-container[_ngcontent-%COMP%]   .payment-success-container[_ngcontent-%COMP%]   .success-img[_ngcontent-%COMP%]{max-width:100%;height:auto;padding-top:80px;padding-bottom:24px}.payments-callback-container[_ngcontent-%COMP%]   .payment-success-container[_ngcontent-%COMP%]   .status-msg-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:16px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center}.payments-callback-container[_ngcontent-%COMP%]   .payment-processing-container[_ngcontent-%COMP%]{height:85%;display:flex;flex-direction:column;align-items:center;justify-content:center}.payments-callback-container[_ngcontent-%COMP%]   .payment-processing-container[_ngcontent-%COMP%]   .see-order-btn[_ngcontent-%COMP%]{margin-top:24px;background:#e0004d;border:1px solid #e0004d;border-radius:4px;min-width:240px;color:#fff;font-size:14px;font-style:normal;font-weight:600;line-height:14px;letter-spacing:0px;text-align:center}.payments-callback-container[_ngcontent-%COMP%]   .payment-processing-container[_ngcontent-%COMP%]   .timer-text[_ngcontent-%COMP%]{color:#e0004d}"]}
1);let n=r;return n})();export{bt as PaymentsCallbackComponent};

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.