PageSourceSearch

https://repuestos-d6c3d.firebaseapp.com/_nuxt/D8Ey7-J_.js

js repuestos-d6c3d.firebaseapp.com collected 2026-10-03 08:14:07 UTC 12,767 bytes, 6 lines download raw bytes

1import{r as p,S as C,c,b as e,a as l,h as z,i as s,w as j,e as E,f as i,v as d,p as q,t as A,m as M,_ as S,o as b}from"#entry";import{_ as V}from"./WWy_r-EY.js";import{F as N}from"./DiAwE3HV.js";import{S as f}from"./2b48V30p.js";import{w as v}from"./pAYh3yWb.js";import{u as _}from"./Dfz_eyMs.js";import"./BsqTxom4.js";const L={class:"min-h-screen bg-gray-50 pt-32"},T={class:"bg-white shadow-sm border-b"},I={class:"max-w-6xl mx-auto px-4 py-4"},B={class:"text-sm text-gray-600 mb-4"},P={class:"max-w-6xl mx-auto px-4 py-8"},U={class:"bg-gradient-to-r from-blue-600 to-blue-800 text-white rounded-xl p-8 mb-8"},W={class:"text-center"},$={class:"grid md:grid-cols-3 gap-6 mb-8"},D={class:"bg-white/10 rounded-lg p-6 backdrop-blur"},R={class:"flex justify-center mb-3"},F={class:"bg-white/10 rounded-lg p-6 backdrop-blur"},O={class:"flex justify-center mb-3"},H={class:"bg-white/10 rounded-lg p-6 backdrop-blur"},Q={class:"flex justify-center mb-3"},G={class:"grid md:grid-cols-2 gap-8 mb-8"},J={class:"bg-white rounded-lg shadow-md p-6"},K=["disabled"],X={key:0},Y={key:1},Z={class:"space-y-6"},ee={class:"bg-green-50 border border-green-200 rounded-lg p-6"},te={class:"space-y-2 text-sm text-green-600"},oe={class:"flex items-center gap-2"},se={class:"flex items-center gap-2"},le={class:"bg-blue-50 border border-blue-200 rounded-lg p-6"},ne={class:"space-y-2 text-sm text-blue-600"},ae={class:"flex items-center gap-2"},re={class:"bg-gray-50 border border-gray-200 rounded-lg p-6"},ie={class:"space-y-2 text-sm text-gray-600"},de={class:"flex items-center gap-2"},ue={class:"flex items-center gap-2"},me={class:"flex items-center gap-2"},pe={class:"bg-white rounded-lg shadow-md p-6 sm:p-8"},he={__name:"contacto",setup(ce){const o=p({nombre:"",email:"",telefono:"",vehiculo:"",mensaje:""}),u=p(!1),r=p(""),x=p(!1),g=()=>{window.open(v("Hola! Necesito cotizar un repuesto que no encuentro en su catálogo. ¿Pueden ayudarme con importación directa?"),"_blank")},y=async()=>{u.value=!0,r.value="";try{await new Promise(t=>setTimeout(t,1e3));const m=`Nueva consulta desde web:
2Nombre: ${o.value.nombre}
3Email: ${o.value.email}
4Teléfono: ${o.value.telefono}
5Vehículo: ${o.value.vehiculo}
6Consulta: ${o.value.mensaje}`;window.open(v(m),"_blank"),r.value="Consulta enviada! Te hemos redirigido a WhatsApp para respuesta inmediata.",x.value=!0,o.value={nombre:"",email:"",telefono:"",vehiculo:"",mensaje:""}}catch{r.value="Error al enviar. Por favor, intenta por WhatsApp directamente.",x.value=!1}finally{u.value=!1}},{setPageSEO:w,setStructuredDataList:h}=_();return w("contacto"),h([{type:"localbusiness"},{type:"breadcrumb",data:{breadcrumbs:[{name:"Inicio",path:"/"},{name:"Contacto",path:"/contacto"}]}},{type:"faq",data:{faqs:f,url:`${C}/contacto`}}]),(m,t)=>{const k=S,n=V;return b(),c("div",L,[e("div",T,[e("div",I,[e("nav",B,[l(k,{to:"/",class:"hover:text-blue-600"},{default:z(()=>[...t[5]||(t[5]=[s("Inicio",-1)])]),_:1}),t[6]||(t[6]=e("span",{class:"mx-2"},"›",-1)),t[7]||(t[7]=e("span",{class:"text-gray-800 font-medium"},"Contacto",-1))]),t[8]||(t[8]=e("h1",{class:"text-3xl font-bold text-gray-800"}," Contacto AutoPiezas360 ",-1)),t[9]||(t[9]=e("p",{class:"text-gray-600 mt-2"}," ¿No encuentras tu repuesto? Lo conseguimos por ti con hasta 50% de descuento ",-1))])]),e("div",P,[e("div",U,[e("div",W,[t[17]||(t[17]=e("h2",{class:"text-3xl font-bold mb-4"}," ¿No está tu repuesto en la lista? ",-1)),t[18]||(t[18]=e("p",{class:"text-xl mb-6 opacity-90"},[s(" Si tu repuesto no aparece en nuestro catálogo o tienes un modelo muy antiguo, "),e("strong",null,"nosotros lo conseguimos por ti")],-1)),e("div",$,[e("div",D,[e("div",R,[l(n,{name:"currency-dollar",size:"xl",class:"text-white"})]),t[10]||(t[10]=e("h3",{class:"font-bold text-lg mb-2"},"50% Más Barato",-1)),t[11]||(t[11]=e("p",{class:"text-sm opacity-90"}," Que comprarlo en Chile a la competencia ",-1))]),e("div",F,[e("div",O,[l(n,{name:"truck",size:"xl",class:"text-white"})]),t[12]||(t[12]=e("h3",{class:"font-bold text-lg mb-2"},"7-14 Días",-1)),t[13]||(t[13]=e("p",{class:"text-sm opacity-90"}," Importación directa desde fábrica ",-1))]),e("div",H,[e("div",Q,[l(n,{name:"wrench-screwdriver",size:"xl",class:"text-white"})]),t[14]||(t[14]=e("h3",{class:"font-bold text-lg mb-2"},"Cualquier Modelo",-1)),t[15]||(t[15]=e("p",{class:"text-sm opacity-90"}," Incluso vehículos muy antiguos ",-1))])]),t[19]||(t[19]=e("div",{class:"bg-orange-500 rounded-lg p-6 mb-6"},[e("h3",{class:"text-xl font-bold mb-2"},"¿Por qué sale mejor importar?"),e("p",{class:"text-lg"},[s(" Importamos directo desde fábrica sin intermediarios. "),e("strong",null,"Siempre será más barato"),s(" que comprar en tiendas locales. ")])],-1)),e("button",{onClick:g,class:"bg-green-500 hover:bg-green-600 text-white px-8 py-4 rounded-lg text-xl font-bold transition-colors flex items-center justify-center space-x-3 mx-auto"},[...t[16]||(t[16]=[e("svg",{class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24"},[e("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-.
6198 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),e("span",null,"Escribir por WhatsApp Ahora",-1)])])])]),e("div",G,[e("div",J,[t[25]||(t[25]=e("h3",{class:"text-2xl font-bold text-gray-800 mb-6"},"Envíanos tu consulta",-1)),e("form",{onSubmit:j(y,["prevent"]),class:"space-y-4"},[e("div",null,[t[20]||(t[20]=e("label",{class:"block text-sm font-medium text-gray-700 mb-2"},"Nombre completo",-1)),i(e("input",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.value.nombre=a),type:"text",required:"",class:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"Tu nombre completo"},null,512),[[d,o.value.nombre]])]),e("div",null,[t[21]||(t[21]=e("label",{class:"block text-sm font-medium text-gray-700 mb-2"},"Email",-1)),i(e("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>o.value.email=a),type:"email",required:"",class:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"[email protected]"},null,512),[[d,o.value.email]])]),e("div",null,[t[22]||(t[22]=e("label",{class:"block text-sm font-medium text-gray-700 mb-2"},"Teléfono (opcional)",-1)),i(e("input",{"onUpdate:modelValue":t[2]||(t[2]=a=>o.value.telefono=a),type:"tel",class:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"+56 9 1234 5678"},null,512),[[d,o.value.telefono]])]),e("div",null,[t[23]||(t[23]=e("label",{class:"block text-sm font-medium text-gray-700 mb-2"},"Vehículo (Marca, Modelo, Año)",-1)),i(e("input",{"onUpdate:modelValue":t[3]||(t[3]=a=>o.value.vehiculo=a),type:"text",class:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"Ej: Toyota Corolla 2015"},null,512),[[d,o.value.vehiculo]])]),e("div",null,[t[24]||(t[24]=e("label",{class:"block text-sm font-medium text-gray-700 mb-2"},"Repuesto que necesitas",-1)),i(e("textarea",{"onUpdate:modelValue":t[4]||(t[4]=a=>o.value.mensaje=a),required:"",rows:"4",class:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"Describe el repuesto que necesitas, código OEM, o cualquier detalle que tengas..."},null,512),[[d,o.value.mensaje]])]),e("button",{type:"submit",disabled:u.value,class:"w-full bg-blue-600 hover:bg-blue-700 disabled:opacity-50 text-white px-4 py-3 rounded-md font-medium transition-colors"},[u.value?(b(),c("span",Y,"Enviando...")):(b(),c("span",X,"Enviar Consulta"))],8,K),r.value?(b(),c("p",{key:0,class:q([x.value?"text-green-600":"text-red-600","text-sm mt-2"])},A(r.value),3)):E("",!0)],32)]),e("div",Z,[e("div",ee,[t[29]||(t[29]=e("h3",{class:"text-xl font-bold text-green-800 mb-4 flex items-center"},[e("svg",{class:"w-6 h-6 mr-2",fill:"currentColor",viewBox:"0 0 24 24"},[e("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"})]),s(" WhatsApp (Recomendado) ")],-1)),t[30]||(t[30]=e("p",{class:"text-green-700 mb-4"},[e("strong",null,"La forma más rápida de cotizar."),s(" Respuesta inmediata en horario comercial. ")],-1)),e("div",te,[t[28]||(t[28]=e("p",null,[e("strong",null,"+56 9 4462 2816")],-1)),e("p",oe,[l(n,{name:"calendar-days",size:"sm"}),t[26]||(t[26]=s(" Lunes a Viernes: 9:00 - 18:00 ",-1))]),e("p",se,[l(n,{name:"calendar-days",size:"sm"}),t[27]||(t[27]=s(" Sábados: 9:00 - 14:00 ",-1))])]),e("button",{onClick:g,class:"mt-4 w-full bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md transition-colors"}," Abrir WhatsApp ")]),e("div",le,[t[33]||(t[33]=e("h3",{class:"text-xl font-bold text-blue-800 mb-4 flex items-center"},[e("svg",{class:"w-6 h-6 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}
6)]),s(" Email ")],-1)),t[34]||(t[34]=e("p",{class:"text-blue-700 mb-4"}," Para consultas detalladas o cotizaciones con imágenes. ",-1)),e("div",ne,[t[32]||(t[32]=e("p",null,[e("strong",null,"[email protected]")],-1)),e("p",ae,[l(n,{name:"clock",size:"sm"}),t[31]||(t[31]=s(" Respuesta en 2-4 horas hábiles ",-1))])]),t[35]||(t[35]=e("a",{href:"mailto:[email protected]?subject=Consulta repuesto&body=Hola, necesito cotizar un repuesto para mi vehículo:",class:"mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md transition-colors inline-block text-center"}," Enviar Email ",-1))]),e("div",re,[t[40]||(t[40]=e("h3",{class:"text-xl font-bold text-gray-800 mb-4 flex items-center"},[e("svg",{class:"w-6 h-6 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]),s(" Ubicación ")],-1)),e("div",ie,[t[39]||(t[39]=e("p",null,[e("strong",null,"Santiago, Chile")],-1)),e("p",de,[l(n,{name:"truck",size:"sm",class:"text-gray-500"}),t[36]||(t[36]=s(" Envíos a todo Chile ",-1))]),e("p",ue,[l(n,{name:"building-storefront",size:"sm",class:"text-gray-500"}),t[37]||(t[37]=s(" Operación 100% online ",-1))]),e("p",me,[l(n,{name:"cube",size:"sm",class:"text-gray-500"}),t[38]||(t[38]=s(" Importación directa ",-1))])])])])]),e("div",pe,[l(N,{"id-prefix":"contacto-faq",title:"Preguntas frecuentes",subtitle:"Compatibilidad, importación, envíos, garantía y pagos.",faqs:M(f)},null,8,["faqs"])])])])}}};export{he 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.