PageSourceSearch

https://repuestos-d6c3d.firebaseapp.com/_nuxt/DmVMs07n.js

js repuestos-d6c3d.firebaseapp.com collected 2026-10-03 08:14:16 UTC 6,211 bytes, 1 lines download raw bytes

1import{_ as w}from"./BsqTxom4.js";import{_}from"./WWy_r-EY.js";import{a9 as h,u as k,k as P,r as c,q as I,j as C,c as d,b as t,d as A,e as p,a,i as s,t as g,h as x,_ as N,o as u}from"#entry";const E={class:"min-h-screen bg-gray-50 flex items-center justify-center px-4 py-12"},V={class:"max-w-2xl w-full"},j={class:"bg-white rounded-lg shadow-xl p-8 text-center"},z={class:"bg-yellow-50 border border-yellow-200 rounded-lg p-6 mb-8"},T={class:"flex items-start space-x-3"},B={class:"text-left"},D={class:"text-sm text-yellow-700 space-y-2"},$={class:"flex items-start gap-2"},M={class:"flex items-start gap-2"},S={class:"flex items-start gap-2"},W={class:"flex items-start gap-2"},R={key:0,class:"bg-gray-50 rounded-lg p-4 mb-8"},q={key:0,class:"text-sm text-gray-700"},F={key:1,class:"text-sm text-gray-700"},L={key:2,class:"text-sm text-gray-700 mt-2"},H={key:1,class:"mb-4"},G={class:"space-y-3"},K=h({__name:"pending",setup(O){k({title:"Pago Pendiente - AutoPiezas360",meta:[{name:"description",content:"Tu pago está siendo procesado"},{name:"robots",content:"noindex, nofollow"}]});const f=P(),o=c(""),r=c(""),m=c("");I(async()=>{if(o.value=String(f.query.payment_id||""),r.value=String(f.query.preference_id||""),o.value&&r.value)try{const{$firebaseFunctions:l}=C(),{httpsCallable:e}=await w(async()=>{const{httpsCallable:v}=await import("#entry").then(b=>b.aE);return{httpsCallable:v}},[],import.meta.url),i=await e(l,"verifyPayment")({paymentId:o.value,preferenceId:r.value});i.data.order?.id&&(m.value=i.data.order.id)}catch(l){console.error("Error verificando pago:",l)}});const y=()=>{const l=`Hola! Tengo un pago pendiente. ID de pago: ${o.value||"N/A"}. ¿Podrían ayudarme a verificar el estado?`,n=`https://wa.me/${"+56944622816".replace("+","")}?text=${encodeURIComponent(l)}`;window.open(n,"_blank")};return(l,e)=>{const n=_,i=N;
1return u(),d("div",E,[t("div",V,[t("div",j,[e[15]||(e[15]=A('<div class="mx-auto w-20 h-20 bg-yellow-100 rounded-full flex items-center justify-center mb-6"><svg class="w-12 h-12 text-yellow-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></div><h1 class="text-3xl font-bold text-gray-800 mb-4"> Pago Pendiente </h1><p class="text-lg text-gray-600 mb-6"> Tu pago está siendo procesado </p>',3)),t("div",z,[t("div",T,[e[5]||(e[5]=t("svg",{class:"w-6 h-6 text-yellow-600 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"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)),t("div",B,[e[4]||(e[4]=t("h3",{class:"font-semibold text-yellow-800 mb-2"},"¿Qué significa esto?",-1)),t("ul",D,[t("li",$,[a(n,{name:"clock",size:"sm",class:"shrink-0 mt-0.5"}),e[0]||(e[0]=s(" Tu pago está siendo verificado ",-1))]),t("li",M,[a(n,{name:"envelope",size:"sm",class:"shrink-0 mt-0.5"}),e[1]||(e[1]=s(" Recibirás un email cuando se confirme ",-1))]),t("li",S,[a(n,{name:"bolt",size:"sm",class:"shrink-0 mt-0.5"}),e[2]||(e[2]=s(" Esto puede tardar hasta 48 horas ",-1))]),t("li",W,[a(n,{name:"phone",size:"sm",class:"shrink-0 mt-0.5"}),e[3]||(e[3]=s(" Te contactaremos si necesitamos información adicional ",-1))])])])])]),o.value||r.value?(u(),d("div",R,[e[9]||(e[9]=t("p",{class:"text-xs text-gray-500 mb-1"},"Información del pago",-1)),o.value?(u(),d("p",q,[e[6]||(e[6]=t("strong",null,"ID de Pago:",-1)),s(" "+g(o.value),1)])):p("",!0),r.value?(u(),d("p",F,[e[7]||(e[7]=t("strong",null,"ID de Preferencia:",-1)),s(" "+g(r.value),1)])):p("",!0),m.value?(u(),d("p",L,[e[8]||(e[8]=t("strong",null,"ID de Pedido:",-1)),s(" "+g(m.value),1)])):p("",!0),e[10]||(e[10]=t("p",{class:"text-xs text-gray-500 mt-2"}," Guarda estos números para hacer seguimiento ",-1))])):p("",!0),m.value?(u(),d("div",H,[a(i,{to:`/compra/${m.value}?payment_id=${o.value}`,class:"block w-full bg-yellow-600 hover:bg-yellow-700 text-white py-3 px-6 rounded-lg font-medium transition-colors text-center"},{default:x(()=>[...e[11]||(e[11]=[s(" Ver Estado de mi Pedido ",-1)])]),_:1},8,["to"])])):p("",!0),t("div",G,[a(i,{to:"/repuestos",class:"block w-full bg-blue-600 hover:bg-blue-700 text-white py-3 px-6 rounded-lg font-medium transition-colors"},{default:x(()=>[...e[12]||(e[12]=[s(" Seguir Comprando ",-1)])]),_:1}),a(i,{to:"/",class:"block w-full bg-gray-100 hover:bg-gray-200 text-gray-700 py-3 px-6 rounded-lg font-medium transition-colors"},{default:x(()=>[...e[13]||(e[13]=[s(" Volver al Inicio ",-1)])]),_:1}),t("button",{onClick:y,class:"w-full bg-green-500 hover:bg-green-600 text-white py-3 px-6 rounded-lg font-medium transition-colors flex items-center justify-center space-x-2"},[...e[14]||(e[14]=[t("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488"})],-1),t("span",null,"Consultar Estado por WhatsApp",-1)])])]),e[16]||(e[16]=t("p",{class:"text-sm text-gray-500 mt-6"}," No te preocupes, te mantendremos informado sobre el estado de tu pago ",
1-1))])])])}}});export{K as default};

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.