1import{a as ee}from"./chunk-VTQPCGJG.js";import{a as te}from"./chunk-HKLYAXVU.js";import{D as C,G as T,H as B,I as y,J as I,O as _,Qa as L,R as O,T as s,Ua as p,W as F,Wa as H,Ya as G,_ as f,a as M,b as R,ba as E,cb as X,da as $,fa as d,g as V,ha as Q,hb as K,ia as U,ja as N,ka as o,l as z,la as a,ma as x,nb as W,oa as A,p as S,pa as D,pb as J,qa as c,rb as Y,sb as Z,u as w,v as q,w as j,xa as r,ya as b,za as g}from"./chunk-XQHXS5XU.js";function ne(n,t){n&1&&(o(0,"div",1),x(1,"div",2),a())}function oe(n,t){n&1&&(o(0,"div",4)(1,"div",19),y(),o(2,"svg",20),x(3,"path",21),a()()())}function ae(n,t){n&1&&(o(0,"div",4)(1,"div",22),y(),o(2,"svg",23),x(3,"path",24),a()()())}function re(n,t){if(n&1&&(o(0,"p",7),r(1," Pedido n\xBA "),o(2,"span",25),r(3),a()()),n&2){let e=c(2);s(3),b(e.ordersId())}}function le(n,t){n&1&&(o(0,"div",8),x(1,"div",26),r(2," Aguardando confirma\xE7\xE3o do pagamento\u2026 "),a())}function se(n,t){if(n&1&&(o(0,"div",9)(1,"strong"),r(2,"Pagamento n\xE3o confirmado."),a(),r(3," Voc\xEA pode tentar novamente na "),o(4,"a",27),r(5,"Central do Cliente"),a(),r(6,". "),a()),n&2){let e=c(2);s(4),E("href","https://central.ecorde.com.br/minhas-compras/detalhes"+e.ordersId(),O)}}function de(n,t){if(n&1&&(o(0,"div",28),x(1,"i",31),o(2,"span",32),r(3),a()()),n&2){let e,i=c(3);s(3),b((e=(e=i.cfg())==null||e.brick==null?null:e.brick.loadingText)!==null&&e!==void 0?e:"Carregando formul\xE1rio de pagamento...")}}function ce(n,t){if(n&1&&(o(0,"div",30)(1,"p",33),x(2,"i",34),r(3),a(),o(4,"p",35),r(5),a(),o(6,"p",36),r(7),o(8,"a",37),r(9),a(),r(10),a()()),n&2){let e,i,l,u,m=c(3);s(3),g(" ",(e=(e=m.cfg())==null||e.brick==null?null:e.brick.erroHeader)!==null&&e!==void 0?e:"Erro no pagamento"," "),s(2),b(m.brickError()),s(2),g(" ",(i=(i=m.cfg())==null||i.brick==null?null:i.brick.erroCentralLink)!==null&&i!==void 0?i:"Voc\xEA tamb\xE9m pode pagar via"," "),s(2),b((l=(l=m.cfg())==null||l.brick==null?null:l.brick.erroCentralLabel)!==null&&l!==void 0?l:"Central do Cliente"),s(),g(" ",(u=(u=m.cfg())==null||u.brick==null?null:u.brick.erroCentralSufixo)!==null&&u!==void 0?u:"com outra forma de pagamento."," ")}}function me(n,t){if(n&1&&(o(0,"div",10),f(1,de,4,1,"div",28),x(2,"div",29),f(3,ce,11,5,"div",30),a()),n&2){let e=c(2);s(),d(e.loadingBrick()?1:-1),s(),$("hidden",e.loadingBrick()),s(),d(e.brickError()?3:-1)}}function pe(n,t){if(n&1&&(o(0,"div",11),y(),o(1,"svg",38),x(2,"path",39),a(),I(),o(3,"div")(4,"p",40),r(5),a(),o(6,"p",41),r(7),a()()()),n&2){let e,i,l=c(2);s(5),g(" ",((e=(e=l.cfg())==null||e.pending==null?null:e.pending.titulo)!==null&&e!==void 0?e:"N\xFAmero do seu pedido: #{id}").replace("{id}",l.ordersId().toString())," "),s(2),g(" ",(i=(i=l.cfg())==null||i.pending==null?null:i.pending.descricao)!==null&&i!==void 0?i:"Acesse a Central do Cliente para escolher a forma de pagamento e finalizar sua compra."," ")}}function ue(n,t){if(n&1&&(o(0,"div",46),x(1,"img",55),a()),n&2){let e=c(3);s(),E("src",e.pixQrBase64(),O)}}function xe(n,t){if(n&1){let e=A();o(0,"div",49)(1,"span",56),r(2),a(),o(3,"button",57),D("click",function(){T(e);let l=c(3);return B(l.copiarChavePix())}),r(4),a()()}if(n&2){let e=c(3);s(2),b(e.pixChave()),s(),E("ngClass",e.copiouChave()?"bg-green-100 text-green-700":"bg-ecorde-red text-white hover:bg-red-700"),s(),g(" ",e.copiouChave()?"\u2713 Copiado!":"PIX Copia e Cola"," ")}}function ge(n,t){if(n&1&&(o(0,"div",12)(1,"h2",42)(2,"span",43),r(3,"P"),a(),r(4," Pague com PIX "),a(),o(5,"p",44),r(6," Transfer\xEAncia PIX \u2013 Nubank Digital "),a(),o(7,"div",45),f(8,ue,2,1,"div",46),o(9,"div",47)(10,"p",48),r(11," Use o app do seu banco para escanear o QR Code ou copie a chave abaixo: "),a(),f(12,xe,5,3,"div",49),o(13,"ul",50)(14,"li"),r(15," O PIX \xE9 processado em segundos, inclusive fora do hor\xE1rio comercial. "),a(),o(16,"li"),r(17," Ap\xF3s pagar, "),o(18,"strong",51),r(19,"envie o comprovante via WhatsApp"),a(),r(20," para agilizar a confirma\xE7\xE3o do pedido. "),a(),o(21,"li"),r(22," Assim que confirmarmos o recebimento, voc\xEA receber\xE1 uma notifica\xE7\xE3o por e-mail. "),a()()()(),o(23,"div",52),y(),o(24,"svg",53),x(25,"path",54),a(),I(),o(26,"span"),r(27,"Esta forma de pagamento "),o(28,"strong"),r(29,"n\xE3o possui confirma\xE7\xE3o autom\xE1tica"),a(),r(30,". Nossa equipe verificar\xE1 o pagamento em hor\xE1rio comercial."),a()()()),n&2){let e=c(2);s(8),d(e.pixQrBase64()?8:-1),s(4),d(e.pixChave()?12:-1)}}function _e(n,t){n&1&&(o(0,"div",58),y(),o(1,"svg",61),x(2,"circle",62)(3,"path",63),a(),I(),o(4,"span",64),r(5,"Gerando QR\u2026"),a()())}function fe(n,t){if(n&1&&(o(0,"div",46),x(1,"img",55),a()),n&2){let e=c(3);s(),E("src",e.pixQrBase64(),O)}}function he(n,t){if(n&1){let e=A();o(0,"div",59)(1,"span",56),r(2),a(),o(3,"button",57),D("click",function(){T(e);let l=c(3);return B(l.copiarChavePix())}),r(4),a()()}if(n&2){let e=c(3);s(2),b(e.pixChave()),s(),E("ngClass",e.copiouChave()?"bg-green-100 text-green-700":"bg-ecorde-red text-white hover:bg-red-700"),s(),g(" ",e.copiouChave()?"\u2713 C
1opiado!":"PIX Copia e Cola"," ")}}function be(n,t){if(n&1&&(o(0,"li"),r(1),a()),n&2){let e=t.$implicit;s(),b(e)}}function ve(n,t){if(n&1&&(o(0,"ul",50),U(1,be,2,1,"li",null,Q),a()),n&2){let e=c(3);s(),N(e.paymentInstrucoes())}}function Ce(n,t){n&1&&(o(0,"ul",50)(1,"li"),r(2," O PIX \xE9 processado em segundos, inclusive fora do hor\xE1rio comercial. "),a(),o(3,"li"),r(4," Ap\xF3s o pagamento, voc\xEA receber\xE1 a confirma\xE7\xE3o por e-mail. "),a(),o(5,"li"),r(6," Mantenha esta p\xE1gina aberta para acompanhar a confirma\xE7\xE3o autom\xE1tica. "),a()())}function ye(n,t){if(n&1&&(o(0,"p",60),r(1),a()),n&2){let e=c(3);s(),g(" ",e.paymentAvisoLegal()," ")}}function ke(n,t){if(n&1&&(o(0,"div",12)(1,"h2",42)(2,"span",43),r(3,"P"),a(),r(4),a(),o(5,"p",44),r(6," Confirma\xE7\xE3o autom\xE1tica via MercadoPago "),a(),o(7,"div",45),f(8,_e,6,0,"div",58)(9,fe,2,1,"div",46),o(10,"div",47)(11,"p",48),r(12," Use o app do seu banco para escanear o QR Code ou copie o c\xF3digo abaixo: "),a(),f(13,he,5,3,"div",59)(14,ve,3,0,"ul",50)(15,Ce,7,0,"ul",50),a()(),f(16,ye,2,1,"p",60),a()),n&2){let e,i=c(2);s(4),g(" ",(e=i.paymentTitulo())!==null&&e!==void 0?e:"Pague com PIX"," "),s(4),d(i.loadingQr()?8:i.pixQrBase64()?9:-1),s(5),d(i.pixChave()?13:-1),s(),d(i.paymentInstrucoes()&&i.paymentInstrucoes().length>0?14:15),s(2),d(i.paymentAvisoLegal()?16:-1)}}function Ee(n,t){if(n&1){let e=A();o(0,"div",49)(1,"span",68),r(2),a(),o(3,"button",57),D("click",function(){T(e);let l=c(3);return B(l.copiarLinhaBoleto())}),r(4),a()()}if(n&2){let e=c(3);s(2),b(e.boletoLinha()),s(),E("ngClass",e.copiouLinha()?"bg-green-100 text-green-700":"bg-ecorde-red text-white hover:bg-red-700"),s(),g(" ",e.copiouLinha()?"\u2713 Copiado!":"Copiar C\xF3digo"," ")}}function Se(n,t){if(n&1&&(o(0,"a",67),y(),o(1,"svg",16),x(2,"path",69),a(),r(3," Visualizar e Imprimir Boleto (PDF) "),a()),n&2){let e=c(3);E("href",e.boletoUrl(),O)}}function we(n,t){if(n&1&&(o(0,"div",12)(1,"h2",65)(2,"span",66),r(3,"B"),a(),r(4," Pague com Boleto Banc\xE1rio "),a(),f(5,Ee,5,3,"div",49)(6,Se,4,1,"a",67),o(7,"ul",50)(8,"li"),r(9," Prazo de compensa\xE7\xE3o banc\xE1ria: at\xE9 3 dias \xFAteis ap\xF3s o pagamento. "),a(),o(10,"li"),r(11," O boleto pode ser pago em qualquer banco, lot\xE9rica ou app banc\xE1rio. "),a(),o(12,"li"),r(13," Pedidos com boleto s\xE3o confirmados ap\xF3s a compensa\xE7\xE3o do pagamento. "),a()()()),n&2){let e=c(2);s(5),d(e.boletoLinha()?5:-1),s(),d(e.boletoUrl()?6:-1)}}function Ie(n,t){n&1&&(o(0,"div",13)(1,"div",70),y(),o(2,"svg",71),x(3,"path",72),a(),I(),o(4,"div")(5,"p",73),r(6," Pagamento aprovado "),a(),o(7,"p",74),r(8," Seu pedido foi confirmado e logo entrar\xE1 em separa\xE7\xE3o. "),a()()()())}function Pe(n,t){if(n&1){let e=A();o(0,"div",3),f(1,oe,4,0,"div",4)(2,ae,4,0,"div",4),o(3,"h1",5),r(4),a(),o(5,"p",6),r(6),a(),f(7,re,4,1,"p",7),a(),f(8,le,3,0,"div",8)(9,se,7,1,"div",9)(10,me,4,4,"div",10)(11,pe,8,2,"div",11)(12,ge,31,2,"div",12)(13,ke,17,5,"div",12)(14,we,14,2,"div",12)(15,Ie,9,0,"div",13),o(16,"div",14)(17,"button",15),D("click",function(){T(e);let l=c();return B(l.irParaCentral())}),y(),o(18,"svg",16),x(19,"path",17),a(),r(20),a(),I(),o(21,"p",18),r(22),a()()}if(n&2){let e,i,l=c();s(),d(l.pago()?1:-1),s(),d(!l.pago()&&(l.isPix()||l.isBoleto())?2:-1),s(2),g(" ",l.heroPrincipal()," "),s(2),b(l.heroSub()),s(),d(l.ordersId()?7:-1),s(),d(l.isPixComApi()&&l.pollingStatus()==="pending"&&!l.pago()?8:-1),s(),d(l.isPixComApi()&&l.pollingStatus()==="failed"?9:-1),s(),d(l.isPendingCartaoInterno()?10:-1),s(),d(l.isPending()?11:-1),s(),d(l.isPixEstatico()&&!l.pago()?12:-1),s(),d(l.isPixComApi()&&!l.pago()?13:-1),s(),d(l.isBoleto()&&!l.pago()?14:-1),s(),d(l.pago()?15:-1),s(5),g(" ",(e=(e=l.cfg())==null||e.rodape==null?null:e.rodape.acompanharLabel)!==null&&e!==void 0?e:"Acompanhar meu pedido na Central do Cliente"," "),s(2),g(" ",(i=(i=l.cfg())==null||i.rodape==null?null:i.rodape.emailAtualizacoes)!==null&&i!==void 0?i:"Voc\xEA tamb\xE9m receber\xE1 atualiza\xE7\xF5es por e-mail."," ")}}var ie=class n{router=C(J);route=C(W);http=C(K);apiConfig=C(Y);authService=C(te);cestaService=C(Z);document=C(H);pageConfig=C(ee);cfg=_(null);brickController=null;paymentId=_(null);loadingBrick=_(!1);brickMounted=_(!1);brickApproved=_(!1);brickError=_(null);state=_(null);pollingStatus=_(null);loadingQr=_(!1);copiado=_(!1);copiouChave=_(!1);copiouLinha=_(!1);paymentType=p(()=>this.state()?.paymentType??"");paymentData=p(()=>this.state()?.paymentData??{});ordersId=p(()=>this.state()?.ordersId??0);isPixEstatico=p(()=>this.paymentType()==="pix");isPixComApi=p(()=>this.paymentType()==="pix_externo");isPix=p(()=>this.isPixEstatico()||this.isPixComApi());isBoleto=p(()=>this.paymentType()==="boleto");
1isCartaoInterno=p(()=>this.paymentType()==="cartao_interno");isPendingCartaoInterno=p(()=>this.isCartaoInterno()&&this.state()?.status==="pending"&&!this.pago()&&!this.brickApproved());isPending=p(()=>this.state()?.status==="pending"&&!this.pago()&&!this.isCartaoInterno());pago=p(()=>this.state()?.status==="confirmed"||this.pollingStatus()==="paid"||this.brickApproved());heroPrincipal=p(()=>{let t=this.cfg()?.hero;return t?this.pago()?t.pago.titulo:this.isPendingCartaoInterno()?t.cartaoInternoSub.titulo:this.isPending()?t.pendente.titulo:this.isPix()||this.isBoleto()?t.pixBoleto.titulo:t.padrao.titulo:""});heroSub=p(()=>{let t=this.cfg()?.hero;return t?this.pago()?t.pago.sub:this.isPendingCartaoInterno()?t.cartaoInternoSub.sub:this.isPending()?t.pendente.sub:this.isPixEstatico()?t.pixEstatico.sub:this.isPixComApi()?t.pixComApi.sub:this.isBoleto()?t.boleto.sub:t.padrao.sub:""});pixQrBase64=p(()=>this.paymentData().qr_code_base64??null);pixChave=p(()=>this.paymentData().qr_code??this.paymentData().chave_pix??this.paymentData().pix_key??null);paymentTitulo=p(()=>this.paymentData().titulo??null);paymentInstrucoes=p(()=>this.paymentData().instrucoes??null);paymentAvisoLegal=p(()=>this.paymentData().aviso_legal??null);boletoLinha=p(()=>this.paymentData().barcode??null);boletoUrl=p(()=>this.paymentData().boleto_url??null);pollingActive=!1;ngOnInit(){this.pageConfig.getConfig("obrigado").pipe(S(1)).subscribe(i=>this.cfg.set(i));let t=history.state;if(t?.ordersId){this.state.set(t),t.paymentId&&this.paymentId.set(t.paymentId),this._postCheckoutActions();return}let e=this.route.snapshot.queryParamMap.get("c");if(e){this._loadByToken(e);return}this.router.navigate(["/"])}ngOnDestroy(){this.pollingActive=!1,this.brickController?.unmount()}_postCheckoutActions(){let t=this.state();t&&(this._setLastBuyIdCookie(t.ordersId),this.cestaService.limpar(),this.isPixComApi()&&t.status!=="confirmed"&&(!!t.paymentData?.qr_code_base64||!!t.paymentData?.qr_code?this._startPolling(t.ordersId,t.ordersToken):this._autoLoadPixQr(t.ordersId,t.ordersToken)),this.isCartaoInterno()&&t.status==="pending"&&this._loadBrickForCartao())}_loadBrickForCartao(){let t=this.paymentData().public_key;if(!t){this.brickError.set(this.cfg()?.brick.erroChavePublica??"Chave p\xFAblica do gateway n\xE3o encontrada. Contate o suporte.");return}let e="mp-sdk-v2";if(this.document.getElementById(e))this._mountBrickObrigado(t);else{let i=this.document.createElement("script");i.id=e,i.src="https://sdk.mercadopago.com/js/v2",i.async=!0,i.onload=()=>this._mountBrickObrigado(t),i.onerror=()=>{this.brickError.set(this.cfg()?.brick.erroCarregar??"N\xE3o foi poss\xEDvel carregar o formul\xE1rio de pagamento. Verifique sua conex\xE3o.")},this.document.head.appendChild(i)}}_mountBrickObrigado(t){this.loadingBrick.set(!0),setTimeout(()=>{try{let e=new MercadoPago(t,{locale:"pt-BR"}),i=parseFloat(String(this.paymentData().amount??0)),u=this.paymentData().is_sandbox===!0?{email:"[email protected]",identification:{type:"CPF",number:"12345678909"}}:{email:""};e.bricks().create("cardPayment","cardPaymentBrick_obrigado",{initialization:{amount:i||0,payer:u},customization:{visual:{style:{theme:"default"}},texts:{action:this.cfg()?.brick.textoBotao??"Pagar agora"},paymentMethods:{maxInstallments:12}},callbacks:{onReady:()=>{this.loadingBrick.set(!1),this.brickMounted.set(!0)},onSubmit:(m,h)=>this._handleBrickSubmit(m,h),onError:m=>{L()&&console.error("[Brick] error",m),this.brickError.set(this.cfg()?.brick.erroFormulario??"Erro no formul\xE1rio de pagamento. Tente novamente."),this.loadingBrick.set(!1)}}}).then(m=>{this.brickController=m}).catch(m=>{L()&&console.error("[Brick] create error",m),this.brickError.set(this.cfg()?.brick.erroInicializar??"N\xE3o foi poss\xEDvel inicializar o formul\xE1rio. Tente recarregar a p\xE1gina."),this.loadingBrick.set(!1)})}catch(e){L()&&console.error("[Brick] initBrick error",e),this.brickError.set(this.cfg()?.brick.erroInicializar??"N\xE3o foi poss\xEDvel inicializar o formul\xE1rio. Tente recarregar a p\xE1gina."),this.loadingBrick.set(!1)}},100)}_handleBrickSubmit(t,e){return new Promise((i,l)=>{let u=this.ordersId(),m=this.paymentId();if(!u||!m){l(new Error(this.cfg()?.brick.erroIdsInvalidos??"IDs inv\xE1lidos"));return}this.apiConfig.resolveUrl("me").pipe(S(1)).subscribe(h=>{let k=`${h}/orders/${u}/payments/${m}/checkout`;this.http.post(k,{card_token:t.token,payment_method_id:t.payment_method_id,payment_type:e.paymentTypeId,installments:t.installments}).subscribe({next:v=>{if(v.status==="paid"||v.status==="confirmed")this.brickApproved.set(!0),this.brickController?.unmount(),i();else{let P=this._resolveRejectionMessage(v.status_detail??null);
1this.brickError.set(P),l(new Error(P))}},error:v=>{let P=v?.error?.message||"Erro ao processar o pagamento. Tente novamente.";this.brickError.set(P),l(new Error(P))}})})})}_resolveRejectionMessage(t){let e=this.cfg()?.rejeicao,i=(t??"").toLowerCase();return i.includes("insufficient_amount")||i.includes("fund")?e?.saldo??"Saldo insuficiente no cart\xE3o.":i.includes("security_code")||i.includes("secu")?e?.cvv??"C\xF3digo de seguran\xE7a (CVV) inv\xE1lido.":i.includes("bad_filled_date")||i.includes("expi")?e?.vencimento??"Data de vencimento inv\xE1lida.":i.includes("card_disabled")||i.includes("lock")?e?.bloqueado??"Cart\xE3o bloqueado. Entre em contato com seu banco.":i.includes("exceeded_attempts")||i.includes("attem")?e?.tentativas??"N\xFAmero m\xE1ximo de tentativas atingido.":e?.padrao??"Pagamento recusado. Verifique os dados e tente novamente."}_autoLoadPixQr(t,e){this.loadingQr.set(!0),this.apiConfig.resolveUrl("me").pipe(S(1),w(i=>{let l=i.replace("/me","");return this.http.get(`${l}/me/orders/${t}/payments`).pipe(w(u=>{let h=(u.parcelas??[]).find(k=>(k.payment_method_type==="pix_externo"||k.payment_method_type==="pix")&&(k.status==="pending"||k.status==="failed"));return h?h.payment_data?.qr_code_base64?(this._applyPixData(h.payment_data),V(null)):this.http.post(`${l}/me/orders/${t}/payments/${h.id}/checkout`,{}):V(null)}))})).subscribe({next:i=>{(i?.qr_code_base64||i?.qr_code)&&this._applyPixData({qr_code:i.qr_code,qr_code_base64:i.qr_code_base64,expires_at:i.expires_at??null}),this.loadingQr.set(!1),this._startPolling(t,e)},error:()=>{this.loadingQr.set(!1),this._startPolling(t,e)}})}_applyPixData(t){let e=this.state();e&&this.state.set(R(M({},e),{paymentData:M(M({},e.paymentData),t)}))}_setLastBuyIdCookie(t){let i=location.hostname==="localhost"||location.hostname==="127.0.0.1",l=i?"":"; domain=.ecorde.com.br",u=i?"":"; secure";document.cookie=`_lastBuyID=${t}; max-age=7776000; path=/${l}${u}; samesite=lax`}_loadByToken(t){this.apiConfig.resolveUrl("storeConstantes").pipe(w(()=>this.http.get(`/api/v1/orders/track/${t}`)),S(1)).subscribe({next:e=>{this.state.set({ordersId:e.orders_id,ordersToken:e.orders_token,paymentType:e.payment_type,status:e.payment_status,paymentData:e.payment_data??{}}),this._postCheckoutActions()},error:()=>this.router.navigate(["/"])})}_startPolling(t,e){this.pollingActive=!0,this.pollingStatus.set("pending"),this.apiConfig.resolveUrl("me").pipe(S(1),w(i=>{let l=`${i.replace("/me","")}/me/orders/${t}/payments`;return z(8e3).pipe(q(()=>this.pollingActive),w(()=>this.http.get(l)),j(u=>{let m=u.parcelas??[],h=m.length>0&&m.every(v=>v.status==="paid"),k=m.some(v=>v.status==="failed");h?(this.pollingStatus.set("paid"),this.pollingActive=!1):k&&(this.pollingStatus.set("failed"),this.pollingActive=!1)}))})).subscribe()}copiarChavePix(){let t=this.pixChave();t&&navigator.clipboard.writeText(t).then(()=>{this.copiouChave.set(!0),setTimeout(()=>this.copiouChave.set(!1),2e3)})}copiarLinhaBoleto(){let t=this.boletoLinha();t&&navigator.clipboard.writeText(t).then(()=>{this.copiouLinha.set(!0),setTimeout(()=>this.copiouLinha.set(!1),2e3)})}irParaCentral(){let t=this.ordersId(),e=this.authService.getToken(),i=`https://central.ecorde.com.br/minhas-compras/detalhes/${t}`;window.location.href=e?`${i}#auth=${encodeURIComponent(e)}`:i}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=F({type:n,selectors:[["app-obrigado"]],decls:3,vars:2,consts:[[1,"min-h-screen","bg-dot-grid","flex","flex-col","items-center","py-10","px-4"],[1,"flex","items-center","justify-center","h-64"],[1,"animate-spin","rounded-full","h-12","w-12","border-4","border-ecorde-red","border-t-transparent"],[1,"w-full","max-w-2xl","mb-8","text-center"],[1,"flex","justify-center","mb-4"],[1,"text-2xl","font-bold","text-ecorde-dark","mb-2"],[1,"text-gray-500","text-sm"],[1,"mt-2","text-xs","text-gray-400"],[1,"w-full","max-w-2xl","mb-4","bg-amber-50","border","border-amber-200","rounded-xl","px-4","py-3","flex","items-center","gap-3","text-sm","text-amber-800"],[1,"w-full","max-w-2xl","mb-4","bg-red-50","border","border-red-200","rounded-xl","px-4","py-3","text-sm","text-red-700"],[1,"w-full","max-w-2xl","mb-6"],[1,"w-full","max-w-2xl","mb-6","bg-blue-50","border","border-blue-200","rounded-2xl","p-5","flex","items-start","gap-3"],[1,"w-full","max-w-2xl","bg-white","rounded-2xl","shadow-sm","border","border-gray-100","p-6","mb-6"],[1,"w-full","max-w-2xl","bg-green-50","border","border-green-200","rounded-2xl","p-6","mb-6"],[1,"w-full","max-w-2xl","mt-2","mb-8"],[1,"w-full","bg-ecorde-dark","text-white","font-semibold","py-3.5","rounded-xl","hover:bg-ecorde-dark/90","transition-colors","flex","items-center","justify-center","gap-2","text-sm",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"],[1,"text-center","text-xs","text-gray-400","mt-3"],[1,"w-20","h-20","rounded-full","bg-green-100","flex","items-center","justify-center"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-10","h-10","text-green-600"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 13l4 4L19 7"],[1,"w-20","h-20","rounded-full","bg-amber-100","flex","items-center","justify-center"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-10","h-10","text-amber-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"font-semibold","text-gray-600"],[1,"animate-spin","rounded-full","h-4","w-4","border-2","border-amber-500","border-t-transparent","flex-shrink-0"],["target","_blank","rel","noopener noreferrer",1,"underline",3,"href"],[1,"flex","items-center","justify-center","gap-2","py-10","text-gray-400"],["
1id","cardPaymentBrick_obrigado"],[1,"mt-4","rounded-2xl","bg-red-50","border","border-red-200","p-4"],["aria-hidden","true",1,"fa-solid","fa-spinner","animate-spin","text-violet-400","text-xl"],[1,"text-sm"],[1,"font-semibold","text-red-700","text-sm","flex","items-center","gap-2","mb-1"],["aria-hidden","true",1,"fa-solid","fa-circle-exclamation"],[1,"text-xs","text-red-600"],[1,"text-xs","text-gray-500","mt-2"],["href","https://central.ecorde.com.br","target","_blank","rel","noopener noreferrer",1,"text-ecorde-dark","underline","font-semibold"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-5","h-5","text-blue-500","flex-shrink-0","mt-0.5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"font-semibold","text-blue-800","text-sm"],[1,"text-blue-700","text-xs","mt-1"],[1,"font-semibold","text-ecorde-dark","mb-1","flex","items-center","gap-2"],[1,"w-6","h-6","rounded-full","bg-green-600","text-white","text-xs","flex","items-center","justify-center","font-bold"],[1,"text-xs","text-gray-400","mb-4"],[1,"flex","flex-col","sm:flex-row","gap-6","items-center","sm:items-start"],[1,"flex-shrink-0"],[1,"flex-1","min-w-0"],[1,"text-sm","text-gray-500","mb-3"],[1,"bg-gray-50","border","border-gray-200","rounded-lg","p-3","flex","items-center","justify-between","gap-2","mb-4"],[1,"text-xs","text-gray-500","space-y-1","list-disc","list-inside"],[1,"text-gray-700"],[1,"mt-4","rounded-xl","bg-amber-50","border","border-amber-200","px-4","py-3","flex","items-start","gap-2","text-xs","text-amber-800"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","flex-shrink-0","mt-0.5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"],["alt","QR Code PIX",1,"w-40","h-40","rounded-lg","border","border-gray-200","bg-white","p-2",3,"src"],[1,"text-xs","font-mono","text-gray-700","truncate"],[1,"flex-shrink-0","text-xs","px-3","py-1.5","rounded-lg","font-medium","transition-colors",3,"click","ngClass"],[1,"flex-shrink-0","w-40","h-40","rounded-lg","border","border-gray-200","bg-gray-50","flex","flex-col","items-center","justify-center","gap-2"],[1,"bg-gray-50","border","border-gray-200","rounded-lg","p-3","flex","items-center","justify-between","gap-2","mb-3"],[1,"mt-4","text-xs","text-gray-400","border-t","pt-3"],["fill","none","viewBox","0 0 24 24",1,"animate-spin","w-8","h-8","text-ecorde-red"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8v8H4z",1,"opacity-75"],[1,"text-xs","text-gray-400"],[1,"font-semibold","text-ecorde-dark","mb-4","flex","items-center","gap-2"],[1,"w-6","h-6","rounded-full","bg-blue-600","text-white","text-xs","flex","items-center","justify-center","font-bold"],["target","_blank","rel","noopener noreferrer",1,"inline-flex","items-center","gap-2","bg-blue-600","text-white","text-sm","font-medium","px-5","py-2.5","rounded-xl","hover:bg-blue-700","transition-colors","mb-4",3,"href"],[1,"text-xs","font-mono","text-gray-700","break-all"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"],[1,"flex","items-start","gap-3"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-5","h-5","text-green-600","flex-shrink-0","mt-0.5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"font-semibold","text-green-800","text-sm"],[1,"text-green-700","text-xs","mt-1"]],template:function(e,i){e&1&&(o(0,"section",0),f(1,ne,2,0,"div",1)(2,Pe,23,15),a()),e&2&&(s(),d(i.state()?-1:1),s(),d(i.state()?2:-1))},dependencies:[X,G],encapsulation:2})};export{ie as ObrigadoComponent};
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.