(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{325:function(t,e,o){"use strict";var r=o(10),n=(o(72),o(74),o(336),o(15),o(31),o(28)),c=o.n(n),l="https://api-promos.ahorraseguros.mx/insurers";function d(){return d=Object(r.a)(regeneratorRuntime.mark((function t(){var e,o,r,data,n,d,m=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=m.length>0&&void 0!==m[0]?m[0]:"",o=m.length>1&&void 0!==m[1]?m[1]:"standard",t.prev=2,t.next=5,c.a.get("".concat(l,"/").concat(e));case 5:if(r=t.sent,data=r.data,e){t.next=9;break}return t.abrupt("return",data.insurers);case 9:return n=data.insurer,d=n.promotions.find((function(t){return t.type===o.toLowerCase()})),t.abrupt("return",{name:n.name,promo:d});case 14:t.prev=14,t.t0=t.catch(2),console.log(t.t0);case 17:case"end":return t.stop()}}),t,null,[[2,14]])}))),d.apply(this,arguments)}e.a=function(){return d.apply(this,arguments)}},328:function(t,e,o){"use strict";o(56),o(45),o(15);var r=o(10),n=(o(72),o(18),o(53),o(332),o(42),o(118),o(32),o(52),o(334),o(149),o(55),o(46),o(47),o(36),o(227),o(211)),c=o(145),l=o(146),d=(o(74),o(28)),m=o.n(d),f="https://ws-ana.com/v1/ana-car",h=new(function(){function t(){Object(c.a)(this,t)}return Object(l.a)(t,[{key:"marcas",value:function(){return m()({method:"get",url:f+"/brands"})}},{key:"modelos",value:function(t){return m()({method:"get",url:f+"/years?brand=".concat(t)})}},{key:"submarcas",value:function(t,e){return m()({method:"get",url:f+"/models?brand=".concat(t,"&year=").concat(e)})}},{key:"descripciones",value:function(t,e,o){return m()({method:"get",url:f+"/variants?brand=".concat(t,"&year=").concat(e,"&model=").concat(o)})}}]),t}()),v={props:{config:Object},components:{privacidad:n.a},data:function(){return{formData:{marcas:[],modelos:[],descripciones:[],subDescripciones:[],detalles:[],edades:[]},telefono:"",nombre:"",correo:"",accessToken:"",cp:"",formValido:0,warning_req:[{id:"marcaReq"},{id:"modeloReq"},{id:"descripcionReq"},{id:"detalleReq"},{id:"edadReq"},{id:"generoReq"},{id:"cpReq"},{id:"nombreReq"},{id:"correoReq"},{id:"telefonoReq"}]}},watch:{telefono:function(){var t=this;if(this.telefono.length>0){var e=this.telefono.substring(this.telefono.length-1,this.telefono.length);if(this.checkCaracter(e,"numero")){/^0/.test(this.telefono)&&(this.telefono=this.telefono.substring(1,this.telefono.length)),this.telefono=this.repetirCaracter(4,this.telefono,null),this.expresionRegularFinal(/^(\d){10}$/,this.telefono,"telefono"),10==this.telefono.length&&setTimeout((function(){t.myFocus("btnCotizarAuto")}),1e3)}else this.telefono=this.telefono.substring(0,this.telefono.length-1)}else this.$store.state.formData.telefono="",this.warningView("telefonoInc","none"),this.warningView("telefonoReq","block")},nombre:function(){if(this.nombre=this.myTrim_start(this.nombre),this.nombre.length>2){var t=this.nombre.substring(this.nombre.length-1,this.nombre.length);this.checkCaracter(t,"letra")?(this.nombre=this.repetirCaracter(2,this.nombre,null),this.expresionRegularFinal(/^([a-zA-ZÀ-ÿ\u00f1\u00d1]+\s[a-zA-ZÀ-ÿ\u00f1\u00d1])*[a-zA-ZÀ-ÿ\u00f1\u00d1]+$/,this.nombre,"nombre")):this.nombre=this.nombre.substring(0,this.nombre.length-1)}else this.$store.state.formData.nombre="",this.warningView("nombreInc","none"),this.warningView("nombreReq","block")},correo:function(){this.correo=this.correo.trim(),this.correo.length>0?(this.correo=this.repetirCaracter(3,this.correo,null),this.expresionRegularFinal(/^[\w\.\-]{2,30}@[a-zA-Z]{2,15}\.[a-z]{2,4}(\.[a-z]{2,2})?$/,this.correo,"correo")):(this.$store.state.formData.correo="",this.warningView("correoInc","none"),this.warningView("correoReq","block"))},cp:function(){var t=this;if(this.cp.length>0){var e=this.cp.substring(this.cp.length-1,this.cp.length);this.checkCaracter(e,"numero")?(this.cp=this.repetirCaracter(4,this.cp,"33333"),this.expresionRegularFinal(/^(\d){5}$/,this.cp,"cp"),5==this.cp.length&&setTimeout((function(){t.myFocus("nombre")}),1e3)):this.cp=this.cp.substring(0,this.cp.length-1)}else this.$store.state.formData.cp="",this.warningView("cpInc","none"),this.warningView("cpReq","block")}},beforeCreate:function(){console.log("BEFORE CREATED - FORM..."),this.$store.commit("validarTokenCore")},created:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$store.state.config.reload||(t.$store.state.config.reload=!0,"undefined"!=typeof window&&window.location.reload()),t.formData.marcas.length=0,t.formData.modelos.length=0,t.formData.descripciones.length=0,t.formData.subDescripciones.length=0,t.formData.detalles.length=0,t.formData.edades.length=0,t.$store.state.formData.aseguradora=t.$store.state.config.aseguradora,t.getMarcas(),t.getEdades();case 10:case"end":return e.stop()}}),e)})))()},mounted:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0!==t.$store.state.sin_token&&"expirado"!==t.$store.state.sin_token){e.next=5;break}return e.next=3,t.$store.dispatch("getToken").then((function(e){t.accessToken=e.data.accessToken})).catch((function(t){console.log("Hubo un problema al generar el token");void 0!==t.response&&t.response.status,void 0!==t.response&&JSON.stringify({error:t.response.data,peticion:JSON.parse(t.config.data)})}));case 3:e.next=6;break;case 5:t.accessToken=t.$store.state.config.accessToken;case 6:t.$store.state.config.reload||(t.$store.state.config.reload=!0,"undefined"!=typeof window&&window.location.reload()),"undefined"!=typeof window&&(t.$store.state.formData.urlOrigen=window.location.href),t.$store.state.formData.utmSource=t.$route.query.utm_source?t.$route.query.utm_source:"No params detected",t.$store.state.formData.utmMedium=t.$route.query.utm_medium?t.$route.query.utm_medium:"No params detected",t.$store.state.formData.utmCampaign=t.$route.query.utm_campaign?t.$route.query.utm_campaign:"No params detected",t.$store.state.formData.utmId=t.$route.query.utm_id?t.$route.query.utm_id:"No params detected";case 12:case"end":return e.stop()}}),e)})))()},methods:{space:function(t){var e=this[t],o=e.search("@"),r="";"correo"==[t]?(o&&e.substring(o+1,e.length).split("@").forEach((function(element){r+=element.replaceAll("@","")})),e=(e=(e=e.substring(0,o+1)+r).split(" ").join(" ").trim()).replace(/\s+/g,"")):e=e.split(" ").join(" ").trim(),this[t]=e},getMarcas:function(){var t=this;this.$store.state.formData.clave="",this.formData.subDescripciones.length=0,h.marcas().then((function(e){t.formData.marcas=e.data})).catch((function(t){t.status?t.status:t.response&&t.response.status;console.log("Hubo un problema al cargar las marcas")}))},getModelos:function(){var t=this;this.warningReq("marcaReq"),this.$store.state.formData.modelo="",this.$store.state.formData.descripcion="",this.$store.state.formData.detalle="",this.$store.state.formData.clave="",this.formData.modelos.length=0,this.formData.descripciones.length=0,this.formData.subDescripciones.length=0,this.formData.detalles.length=0,h.modelos(this.$store.state.formData.marca,this.accessToken).then((function(e){t.formData.modelos=e.data})).catch((function(e){var o="ERR_CONNECTION_REFUSED";void 0!==e.status?o=e.status:void 0!==e.response&&void 0!==e.response.status&&(o=e.response.status),401===o?t.$store.dispatch("getToken").then((function(e){void 0===e.data?t.accessToken=e.accessToken:void 0!==e.data.accessToken&&(t.accessToken=e.data.accessToken),t.getModelos()})).catch((function(e){console.log("Hubo un problema al generar el token"),t.$store.state.idEndPoint=382,t.catchStatusAndMessage(e,{tokenData:"MxQkZ8IhziDRxAl1PG4zvhQkYsx5XKa/mHxuu2nOXfM="})})):(t.$store.state.idEndPoint=1271,t.catchStatusAndMessage(e,{aseguradora:t.$store.state.aseguradora,marca:t.$store.state.formData.marca}))}))},getDescripciones:function(){var t=this;this.warningReq("modeloReq"),this.$store.state.formData.descripcion="",this.$store.state.formData.detalle="",this.$store.state.formData.clave="",this.formData.descripciones.length=0,this.formData.subDescripciones.length=0,this.formData.detalles.length=0,m.a.get("https://api.ipify.org?format=json").then((function(e){void 0===e.data?t.$store.state.config.ipCliente=e.ip:void 0!==e.data.ip&&(t.$store.state.config.ipCliente=e.data.ip)})),this.$store.commit("cotizacionPromo"),h.submarcas(this.$store.state.formData.marca,this.$store.state.formData.modelo,this.accessToken).then((function(e){t.formData.descripciones=e.data})).catch((function(e){var o="ERR_CONNECTION_REFUSED";void 0!==e.status?o=e.status:void 0!==e.response&&void 0!==e.response.status&&(o=e.response.status),401===o?t.$store.dispatch("getToken").then((function(e){void 0===e.data?t.accessToken=e.accessToken:void 0!==e.data.accessToken&&(t.accessToken=e.data.accessToken),t.getDescripciones()})).catch((function(e){console.log("Hubo un problema al generar el token"),t.$store.state.idEndPoint=382,t.catchStatusAndMessage(e,{tokenData:"MxQkZ8IhziDRxAl1PG4zvhQkYsx5XKa/mHxuu2nOXfM="})})):(t.$store.state.idEndPoint=1270,t.catchStatusAndMessage(e,{aseguradora:t.$store.state.aseguradora,marca:t.$store.state.formData.marca,modelo:t.$store.state.formData.modelo}))}))},getSubDescripciones:function(){var t=this;this.warningReq("descripcionReq"),this.$store.state.formData.detalle="",this.$store.state.formData.clave="",this.formData.subDescripciones.length=0,this.formData.detalles.length=0,h.descripciones(this.$store.state.formData.marca,this.$store.state.formData.modelo,this.$store.state.formData.descripcion,this.accessToken).then((function(e){t.formData.subDescripciones=e.data})).catch((function(e){var o="ERR_CONNECTION_REFUSED";void 0!==e.status?o=e.status:void 0!==e.response&&void 0!==e.response.status&&(o=e.response.status),401===o?t.$store.dispatch("getToken").then((function(e){void 0===e.data?t.accessToken=e.accessToken:void 0!==e.data.accessToken&&(t.accessToken=e.data.accessToken),t.getSubDescripciones()})).catch((function(e){console.log("Hubo un problema al generar el token"),t.$store.state.idEndPoint=382,t.catchStatusAndMessage(e,{tokenData:"MxQkZ8IhziDRxAl1PG4zvhQkYsx5XKa/mHxuu2nOXfM="})})):(t.$store.state.idEndPoint=1272,t.catchStatusAndMessage(e,{aseguradora:t.$store.state.aseguradora,marca:t.$store.state.formData.marca,modelo:t.$store.state.formData.modelo,descripcion:t.$store.state.formData.descripcion}))}))},catchStatusAndMessage:function(t,data){this.$store.state.status="",void 0!==t.status?this.$store.state.status=t.status:void 0!==t.response&&void 0!==t.response.status&&(this.$store.state.status=t.response.status),"number"!=typeof this.$store.state.status&&(this.$store.state.status=500),this.$store.state.message=JSON.stringify({error:t,peticion:data})},getEdades:function(){this.formData.edades=Array.from(Array(80).keys(),(function(t){return t+17+1}))},detalleSelected:function(t){var e=document.getElementById("detalle"),i=e.selectedIndex;""!=this.$store.state.formData.clave?this.$store.state.formData.detalle=e.options[i].text:this.$store.state.formData.detalle="",this.warningReq("detalleReq")},validateBeforeSubmit:function(){for(var t in this.formValido=1,this.warning_req)this.warningReq(this.warning_req[t].id);this.formValido?(this.$store.state.config.loading=!0,document.getElementById("btnCotizarAuto").disabled=!0,document.getElementById("formcotizar").reset(),$nuxt._router.push({path:this.$store.state.config.urlGracias})):document.getElementById("btnCotizarAuto").disabled=!1},myFocus:function(t){setTimeout((function(){var e=document.getElementById(t);e&&e.focus()}),1e3)},calculaFechaNacimiento:function(){this.$store.state.formData.fechaNacimiento=("01/01/"+((new Date).getFullYear()-this.$store.state.formData.edad).toString()).toString("dd/MM/yyyy")},warningReq:function(t){var e=t.substring(0,t.length-3),o=document.getElementById(e);if(o){var r=document.getElementsByClassName(t);void 0!==r[0]&&(r[0].style.display="none"),"cp"==e&&""==this.$store.state.formData.cp||-1!=this.cp.search(/[a-zA-Z]/g)||"nombre"==e&&""==this.$store.state.formData.nombre||-1!=this.nombre.search(/[0-9]/g)||"correo"==e&&""==this.$store.state.formData.correo||"telefono"==e&&""==this.$store.state.formData.telefono||-1!=this.telefono.search(/[a-zA-Z]/g)?(this.formValido=0,""==o.value&&this.warningView(t,"block")):""!=o.value||"marcaReq"!=t&&"modeloReq"!=t&&"descripcionReq"!=t&&"detalleReq"!=t&&"edadReq"!=t&&"generoReq"!=t||(this.warningView(t,"block"),this.formValido=0)}else console.log("No existe el elemento con id "+e)},warningView:function(t,view){var e=document.getElementsByClassName(t);void 0!==e[0]&&(e[0].style.display=view)},myTrim_start:function(t){return t.replace(/^\s+/,"")},checkCaracter:function(t,e){return("numero"==e?/[0-9]/:/[A-Za-z\sñÑáéíóúÁÉÍÓÚ\s\t]/).test(t)},repetirCaracter:function(t,e,o){var r=new RegExp("(.)\\1{".concat(t,"}")).exec(e);return r&&e!=o?e.substring(0,r.index)+e.substring(r.index+1,e.length):e},expresionRegularFinal:function(t,e,o){t.exec(e)?(this.$store.state.formData[o]=e.trim(),this.warningView(o+"Inc","none"),this.warningReq(o+"Req")):(this.$store.state.formData[o]="",this.warningReq(o+"Req"),this.warningView(o+"Inc","block"))}}},_=o(13),component=Object(_.a)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-6 col-lg-5 m-auto"},[e("form",{attrs:{id:"formcotizar",method:"POST",action:"",novalidate:""},on:{submit:function(e){return e.preventDefault(),t.validateBeforeSubmit("formcotizar")}}},[e("p",{staticClass:"text-center my-1 mt-md-3 tform"},[t._v("\n Ingresa los datos de tu auto para cotizar en segundos\n ")]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-12 col-md-6 form"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.state.formData.marca,expression:"$store.state.formData.marca"}],staticClass:"form-control form-select mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"marca",name:"marca",id:"marca",required:""},on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.state.formData,"marca",e.target.multiple?o:o[0])},function(e){t.getModelos(),t.myFocus("modelo")}]}},[e("option",{attrs:{value:""}},[t._v("Marca")]),t._v(" "),t._l(t.formData.marcas,(function(o){return e("option",{key:o.text},[t._v("\n "+t._s(o.text)+"\n ")])}))],2),t._v(" "),t._m(0)]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 form"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.state.formData.modelo,expression:"$store.state.formData.modelo"}],staticClass:"form-control form-select mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"modelo",name:"modelo",id:"modelo",required:""},on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.state.formData,"modelo",e.target.multiple?o:o[0])},function(e){t.getDescripciones(),t.myFocus("descripcion")}]}},[e("option",{attrs:{value:""}},[t._v("Modelo")]),t._v(" "),t._l(t.formData.modelos,(function(o){return e("option",{key:o.text},[t._v("\n "+t._s(o.text)+"\n ")])}))],2),t._v(" "),t._m(1)])]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-12 col-md-6 form"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.state.formData.descripcion,expression:"$store.state.formData.descripcion"}],staticClass:"form-control form-select mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"descripcion",name:"descripcion",id:"descripcion",required:""},on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.state.formData,"descripcion",e.target.multiple?o:o[0])},function(e){t.getSubDescripciones(),t.myFocus("detalle")}]}},[e("option",{attrs:{value:""}},[t._v("Submarca")]),t._v(" "),t._l(t.formData.descripciones,(function(o){return e("option",{key:o.text},[t._v("\n "+t._s(o.text)+"\n ")])}))],2),t._v(" "),t._m(2)]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 form"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.state.formData.clave,expression:"$store.state.formData.clave"}],staticClass:"form-control form-select mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"detalle",name:"detalle",id:"detalle",required:""},on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.state.formData,"clave",e.target.multiple?o:o[0])},function(e){t.detalleSelected(),t.myFocus("edad")}]}},[e("option",{attrs:{value:""}},[t._v("Descripción")]),t._v(" "),t._l(t.formData.subDescripciones,(function(o){return e("option",{key:o.text,domProps:{value:o.id}},[t._v("\n "+t._s(o.text)+"\n ")])}))],2),t._v(" "),t._m(3)])]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-12 text-center dat"},[t._v("Datos del Conductor")]),t._v(" "),e("div",{staticClass:"col-12 form"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.state.formData.edad,expression:"$store.state.formData.edad"}],staticClass:"form-control form-select mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"edad",name:"edad",id:"edad",required:""},on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.state.formData,"edad",e.target.multiple?o:o[0])},function(e){t.calculaFechaNacimiento(),t.warningReq("edadReq"),t.myFocus("genero")}]}},[e("option",{attrs:{value:""}},[t._v("Edad del conductor")]),t._v(" "),t._l(t.formData.edades,(function(o){return e("option",{key:o},[t._v("\n "+t._s(o)+"\n ")])}))],2),t._v(" "),t._m(4)])]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-6 form"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.state.formData.genero,expression:"$store.state.formData.genero"}],staticClass:"form-control form-select mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"genero",name:"genero",id:"genero",required:""},on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.state.formData,"genero",e.target.multiple?o:o[0])},function(e){t.myFocus("cp"),t.warningReq("generoReq")}]}},[e("option",{attrs:{value:""}},[t._v("Género")]),t._v(" "),e("option",{attrs:{value:"M"}},[t._v("Masculino")]),t._v(" "),e("option",{attrs:{value:"F"}},[t._v("Femenino")])]),t._v(" "),t._m(5)]),t._v(" "),e("div",{staticClass:"col-6 form"},[e("div",{staticClass:"form-floating"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.cp,expression:"cp"}],staticClass:"form-control mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"cp",type:"tel",name:"cp",id:"cp",required:"",maxlength:"5",minlength:"5",placeholder:"Código Postal"},domProps:{value:t.cp},on:{change:function(e){return t.myFocus("nombre")},input:function(e){e.target.composing||(t.cp=e.target.value)}}}),t._v(" "),t._m(6),t._v(" "),t._m(7),t._v(" "),e("label",{attrs:{for:"cp"}},[t._v("Código postal")])])])]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-12 form"},[e("div",{staticClass:"form-floating"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.nombre,expression:"nombre"}],staticClass:"form-control mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"nombre",type:"text",name:"nombre",id:"nombre",required:"",pattern:"[a-zA-Z\\sñÑáéíóúÁÉÍÓÚ\\s\\.]{3,50}",placeholder:"Escribe tu nombre"},domProps:{value:t.nombre},on:{change:function(e){return t.space("nombre")},input:function(e){e.target.composing||(t.nombre=e.target.value)}}}),t._v(" "),t._m(8),t._v(" "),t._m(9),t._v(" "),e("label",{attrs:{for:"nombre"}},[t._v("Escribe tu Nombre")])])])]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-12 col-lg-6 form"},[e("div",{staticClass:"form-floating"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.correo,expression:"correo"}],staticClass:"form-control mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"correo",type:"email",name:"correo",id:"correo",required:"",placeholder:"Escribe tu email"},domProps:{value:t.correo},on:{change:function(e){return t.space("correo")},input:function(e){e.target.composing||(t.correo=e.target.value)}}}),t._v(" "),t._m(10),t._v(" "),t._m(11),t._v(" "),e("label",{attrs:{for:"correo"}},[t._v("Escribe tu E-mail")])])]),t._v(" "),e("div",{staticClass:"col-12 col-lg-6 form"},[e("div",{staticClass:"form-floating"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.telefono,expression:"telefono"}],staticClass:"form-control mb-2",staticStyle:{overflow:"hidden",width:"100%"},attrs:{title:"telefono",type:"tel",name:"telefono",id:"telefono",required:"",maxlength:"10",minlength:"10",placeholder:"Escribe tu teléfono"},domProps:{value:t.telefono},on:{change:function(e){return t.myFocus("btnCotizarAuto")},input:function(e){e.target.composing||(t.telefono=e.target.value)}}}),t._v(" "),t._m(12),t._v(" "),t._m(13),t._v(" "),e("label",{attrs:{for:"telefono"}},[t._v("Escribe tu Teléfono")])])]),t._v(" "),e("input",{staticStyle:{visibility:"hidden",display:"none"},attrs:{type:"text",id:"gclid_field",name:"gclid_field",value:""}})]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 text-center"},[e("privacidad")],1)]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 text-center"},[e("button",{staticClass:"btn b-cotizar mb-lg-3",attrs:{type:"submit",id:"btnCotizarAuto"}},[e("strong",[t._v("Cotiza gratis\n "),e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],attrs:{"data-src":"/img/flecha.svg",width:"30",height:"40",alt:"flecha"}})])])])])])])}),[function(){var t=this._self._c;return t("small",{staticClass:"marcaReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Marca es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"modeloReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Modelo es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"descripcionReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Submarca es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"detalleReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Descripción es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"edadReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Edad es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"generoReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Género es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"cpReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Código Postal es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"cpInc",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Código Postal es incorrecto")])])},function(){var t=this._self._c;return t("small",{staticClass:"nombreReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Nombre es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"nombreInc",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Nombre es incorrecto")])])},function(){var t=this._self._c;return t("small",{staticClass:"correoReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo E-mail es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"correoInc",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("Ejemplo: tuemail@email.com")])])},function(){var t=this._self._c;return t("small",{staticClass:"telefonoReq",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Teléfono es requerido")])])},function(){var t=this._self._c;return t("small",{staticClass:"telefonoInc",staticStyle:{display:"none",color:"red"}},[t("span",[this._v("El campo Teléfono es incorrecto")])])}],!1,null,null,null);e.a=component.exports},332:function(t,e,o){"use strict";var r=o(2),n=o(228).trim;r({target:"String",proto:!0,forced:o(333)("trim")},{trim:function(){return n(this)}})},333:function(t,e,o){"use strict";var r=o(91).PROPER,n=o(3),c=o(229);t.exports=function(t){return n((function(){return!!c[t]()||"​…᠎"!=="​…᠎"[t]()||r&&c[t].name!==t}))}},334:function(t,e,o){"use strict";o(335)},335:function(t,e,o){"use strict";var r=o(2),n=o(8),c=o(4),l=o(26),d=o(6),m=o(44),f=o(148),h=o(14),v=o(54),_=o(147),y=o(226),D=o(7),w=o(19),$=D("replace"),C=TypeError,R=c("".indexOf),k=c("".replace),x=c("".slice),E=Math.max,S=function(t,e,o){return o>t.length?-1:""===e?o:R(t,e,o)};r({target:"String",proto:!0},{replaceAll:function(t,e){var o,r,c,D,T,A,N,z,M,F=l(this),I=0,O=0,P="";if(!m(t)){if((o=f(t))&&(r=h(l(_(t))),!~R(r,"g")))throw new C("`.replaceAll` does not allow non-global regexes");if(c=v(t,$))return n(c,t,F,e);if(w&&o)return k(h(F),t,e)}for(D=h(F),T=h(t),(A=d(e))||(e=h(e)),N=T.length,z=E(1,N),I=S(D,T,0);-1!==I;)M=A?h(e(T,I,D)):y(T,D,I,[],void 0,e),P+=x(D,O,I)+M,O=I+N,I=S(D,T,I+z);return O1?arguments[1]:void 0)}}),c(l)}}]);