(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{341:function(t,e,o){"use strict";o(342)},342:function(t,e,o){"use strict";var r=o(3),n=o(9),c=o(5),l=o(28),d=o(7),m=o(48),f=o(151),v=o(14),h=o(59),_=o(149),y=o(231),C=o(8),$=o(22),w=C("replace"),D=TypeError,x=c("".indexOf),S=c("".replace),R=c("".slice),k=Math.max,z=function(t,e,o){return o>t.length?-1:""===e?o:x(t,e,o)};r({target:"String",proto:!0},{replaceAll:function(t,e){var o,r,c,C,E,A,N,O,P,I=l(this),F=0,M=0,j="";if(!m(t)){if((o=f(t))&&(r=v(l(_(t))),!~x(r,"g")))throw new D("`.replaceAll` does not allow non-global regexes");if(c=h(t,w))return n(c,t,I,e);if($&&o)return S(v(I),t,e)}for(C=v(I),E=v(t),(A=d(e))||(e=v(e)),N=E.length,O=k(1,N),F=z(C,E,0);-1!==F;)P=A?v(e(E,F,C)):y(E,C,F,[],void 0,e),j+=R(C,M,F)+P,M=F+N,F=z(C,E,F+O);return M1?arguments[1]:void 0)}}),c(l)},345:function(t,e,o){"use strict";o.r(e);var r=o(11),n=(o(74),o(60),o(50),o(17),o(18),o(58),o(233),o(46),o(120),o(34),o(56),o(341),o(152),o(49),o(39),o(40),o(33),o(232),o(216)),c=o(147),l=o(148),d=(o(57),o(30)),m=o.n(d),f="https://ws-abaseguros.com/v2/aba-car",v=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}()),h={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:"subDescripcionReq"},{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(/^[a-zA-Z0-9\.\-\_]{2,30}@[a-zA-Z0-9]{2,15}\.[a-zA-Z]{2,4}(\.[a-zA-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(){this.$store.commit("validarTokenCore")},created:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,r,n,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"undefined"!=typeof window&&(t.$store.state.formData.urlOrigen=window.location.href),t.$store.state.formData.utmSource=null!==(o=t.$route.query)&&void 0!==o&&o.utm_source?t.$route.query.utm_source:"No params detected",t.$store.state.formData.utmMedium=null!==(r=t.$route.query)&&void 0!==r&&r.utm_medium?t.$route.query.utm_medium:"No params detected",t.$store.state.formData.utmCampaign=null!==(n=t.$route.query)&&void 0!==n&&n.utm_campaign?t.$route.query.utm_campaign:"No params detected",t.$store.state.formData.utmId=null!==(c=t.$route.query)&&void 0!==c&&c.utm_id?t.$route.query.utm_id:"No params detected",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 15: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");t.status?t.status:t.response&&t.response.status,void 0!==t.response?JSON.stringify({error:t.response.data,peticion:JSON.parse(t.config.data)}):JSON.stringify({error:t,peticion:{tokenData:"3horQBXSzh+18BVRm13E3EuU3UD7DzMtFojKqKN9WeI="}})}));case 3:e.next=6;break;case 5:t.accessToken=t.$store.state.config.accessToken;case 6: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.marca="",this.$store.state.formData.modelo="",this.$store.state.formData.descripcion="",this.$store.state.formData.clave="",this.formData.marcas.length=0,this.formData.modelos.length=0,this.formData.descripciones.length=0,this.formData.subDescripciones.length=0,v.marcas().then((function(e){t.formData.marcas=e.data})).catch((function(t){console.log(t,t.data,t.config.params);t.status&&t.status,t.data&&JSON.stringify({error:t.data,peticion:t.config.params});console.log("Hubo un problema al cargar las marcas")}))},getModelos:function(){var t=this;this.$store.state.formData.modelo="",this.$store.state.formData.descripcion="",this.$store.state.formData.clave="",this.formData.modelos.length=0,this.formData.descripciones.length=0,this.formData.subDescripciones.length=0,this.warningReq("marcaReq"),v.modelos(this.$store.state.formData.marca).then((function(e){t.formData.modelos=e.data})).catch((function(t){console.log(t,t.data,t.config.params);t.status&&t.status,t.data&&JSON.stringify({error:t.data,peticion:t.config.params});console.log("Hubo un problema al cargar las marcas")}))},getDescripciones:function(){var t=this;this.$store.state.formData.descripcion="",this.$store.state.formData.clave="",this.formData.descripciones.length=0,this.formData.subDescripciones.length=0,this.warningReq("modeloReq"),v.submarcas(this.$store.state.formData.marca,this.$store.state.formData.modelo).then((function(e){t.formData.descripciones=e.data})).catch((function(t){console.log(t,t.data,t.config.params);t.status&&t.status,t.data&&JSON.stringify({error:t.data,peticion:t.config.params});console.log("Hubo un problema al cargar las marcas")}))},getSubDescripciones:function(){var t=this;this.$store.state.formData.clave="",this.formData.subDescripciones.length=0,this.warningReq("descripcionReq"),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"),v.descripciones(this.$store.state.formData.marca,this.$store.state.formData.modelo,this.$store.state.formData.descripcion).then((function(e){t.formData.subDescripciones=e.data})).catch((function(t){console.log(t,t.data,t.config.params);t.status&&t.status,t.data&&JSON.stringify({error:t.data,peticion:t.config.params});console.log("Hubo un problema al cargar las marcas")}))},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(82).keys(),(function(t){return t+17+1}))},detalleSelected:function(t){var e=document.getElementById("subDescripcion"),i=e.selectedIndex;""!=this.$store.state.formData.clave?this.$store.state.formData.detalle=e.options[i].text:this.$store.state.formData.detalle="",this.warningReq("subDescripcionReq")},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.reload=!0,document.getElementById("btnCotizarAuto").disabled=!0,$nuxt._router.push({path:this.$store.state.config.urlRedireccion})):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&&"subDescripcionReq"!=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(15),y=Object(_.a)(h,(function(){var t=this,e=t._self._c;return e("client-only",[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",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("Selecciona 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(" "),e("small",{staticClass:"marcaReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo marca es requerido")])])]),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",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("Selecciona 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(" "),e("small",{staticClass:"modeloReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo modelo es requerido")])])])]),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("subDescripcion")}]}},[e("option",{attrs:{value:""}},[t._v("Selecciona 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(" "),e("small",{staticClass:"descripcionReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo Submarca es requerido")])])]),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:"subDescripcion",name:"subDescripcion",id:"subDescripcion",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("Selecciona 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(" "),e("small",{staticClass:"subDescripcionReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo Descripción es requerido")])])])]),t._v(" "),e("div",{staticClass:"row colum"},[e("div",{staticClass:"col-12 text-center dat"},[t._v("Datos del Conductor "),e("hr")]),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",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(" "),e("small",{staticClass:"edadReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo edad es requerido")])])])]),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",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(" "),e("small",{staticClass:"generoReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo género es requerido")])])]),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",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(" "),e("label",{attrs:{for:"cp"}},[t._v("Código postal")])]),t._v(" "),e("small",{staticClass:"cpReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo código postal es requerido")])]),t._v(" "),e("small",{staticClass:"cpInc fw-bold",staticStyle:{display:"none",color:"#01c1d6"}},[e("span",[t._v("Escribe tu código postal a 5 dígitos")])])])]),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",attrs:{title:"nombre",type:"text",name:"nombre",id:"nombre",pattern:"[a-zA-Z\\sñÑáéíóúÁÉÍÓÚ\\s\\.]{3,50}",required:"",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(" "),e("label",{attrs:{for:"nombre"}},[t._v("Escribe tu nombre")])]),t._v(" "),e("small",{staticClass:"nombreReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo nombre es requerido")])]),t._v(" "),e("small",{staticClass:"nombreInc fw-bold",staticStyle:{display:"none",color:"#01c1d6"}},[e("span",[t._v("Escribe el nombre correcto")])])])]),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",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(" "),e("label",{attrs:{for:"correo"}},[t._v("Escribe tu email")])]),t._v(" "),e("small",{staticClass:"correoReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo e-mail es requerido")])]),t._v(" "),e("small",{staticClass:"correoInc fw-bold",staticStyle:{display:"none",color:"#01c1d6"}},[e("span",[t._v("Ejemplo: tuemail@email.com")])])]),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",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(" "),e("label",{attrs:{for:"telefono"}},[t._v("Escribe tu teléfono")])]),t._v(" "),e("small",{staticClass:"telefonoReq",staticStyle:{display:"none",color:"red"}},[e("span",[t._v("El campo teléfono es requerido")])]),t._v(" "),e("small",{staticClass:"telefonoInc fw-bold",staticStyle:{display:"none",color:"#01c1d6"}},[e("span",[t._v("Escribe tu número a 10 dígitos")])])])]),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:"30",alt:"flecha"}})])])])])])])])}),[],!1,null,null,null).exports,C=(o(343),o(31),"https://api-promos.ahorraseguros.mx/insurers");function $(){return $=Object(r.a)(regeneratorRuntime.mark((function t(){var e,o,r,data,n,c,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=l.length>0&&void 0!==l[0]?l[0]:"",o=l.length>1&&void 0!==l[1]?l[1]:"standard",t.prev=2,t.next=5,m.a.get("".concat(C,"/").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,c=n.promotions.find((function(t){return t.type===o.toLowerCase()})),t.abrupt("return",{name:n.name,promo:c});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]])}))),$.apply(this,arguments)}var w=function(){return $.apply(this,arguments)},D={layout:"default",beforeCreate:function(){this.$store.state.config.aseguradora="ABA",this.$store.state.config.setaseguradora="CHUBB",this.$store.state.config.cotizacion=!0,this.$store.state.config.emision=!0,this.$store.state.config.grupoCallback="VN COMPARADOR M",this.$store.state.config.from="ONLINESEGUROS-ABA",this.$store.state.config.urlRedireccion="/gracias",this.$store.state.config.idSubRamo=39,this.$store.state.config.idPagina=275,this.$store.state.config.idMedioDifusion=1564,this.$store.state.config.idInteraccion=2415,this.$store.state.config.idEcommerce=2414,this.$store.state.config.dominioCorreo="CHUBB|chubb-onlineseguros",this.$store.state.config.textoSMS="Ya tenemos tu cotizacion, en breve un ejecutivo te contactará.",this.$store.state.config.imagen="/img/pixel1x1.svg",this.$store.state.config.id="imgPixel",this.$store.state.config.colpromo="col-8 col-md-8"},created:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,w(t.$store.state.config.aseguradora);case 3:o=e.sent,t.$store.commit("telApi"),t.$store.state.config.desc=o.promo.dto,t.$store.state.config.msi=o.promo.msi,t.$store.state.config.promoSpecial=o.promo.isSpecial,t.$store.state.config.promoLabel=o.promo.label,t.$store.state.config.promoImg=o.promo.urlImg,t.$store.state.config.extraMsg=o.promo.extraMsg,o.promo.isSpecial&&(t.$store.state.config.colpromo="col-6 col-md-6"),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.log(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})))()},components:{AutosForm:y},mounted:function(){},methods:{},head:function(){return{title:"Chubb Seguros",meta:[{hid:"keywords",name:"keywords",content:"Seguros de autos Chubb, Online Seguros"},{hid:"description",name:"description",content:"Seguros de autos Chubb, Online Seguros"},{hid:"sitemap",rel:"sitemap",type:"application/xml",title:"sitemap",href:"sitemap.xml"},{hid:"canonical",rel:"canonical",href:"https://chubb.onlineseguros.mx/"},{hid:"robots",name:"robots",content:"noindex, nofollow"}]}}},x=Object(_.a)(D,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row",staticStyle:{background:"#f5f5f5"}},[e("div",{staticClass:"col-md-6 mt-md-3 mt-lg-0 col-lg-6 ps-lg-5",attrs:{id:"cotizar"}},[t._m(0),t._v(" "),e("h3",{staticClass:"subtext"},[t._v("¡Cotiza el Mejor Precio en 10 Segundos!")]),t._v(" "),e("div",{staticClass:"row m-0"},[e("div",{staticClass:"col-12 px-0"},[e("div",{staticClass:"contenedorPromo"},[e("div",{staticClass:"container-fluid p-0 m-0 adornosPromo",style:this.$store.state.config.promoSpecial?"border: 5px dotted #E30613":"border: 5px dotted #00c1f9"},[e("div",{staticClass:"row pt-3 pb-1 px-2"},[e("div",{staticClass:"col-4 mt-1"},[e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],staticClass:"l-ficha f-logo",class:this.$store.state.config.logo,attrs:{"data-src":"/img/pixel1x1.svg",alt:"logo",width:"120",height:"65"}})]),t._v(" "),this.$store.state.config.promoSpecial?e("div",{staticClass:"col-2 px-1"},[e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],staticClass:"imgPromo",class:this.$store.state.config.lluvia,attrs:{"data-src":this.$store.state.config.promoImg,alt:"logo promocion",width:"83",height:"74"}})]):t._e(),t._v(" "),e("div",{staticClass:"",class:this.$store.state.config.colpromo,staticStyle:{position:"relative"}},[e("small",{staticClass:"labelPromo"},[t._v(t._s(this.$store.state.config.promoLabel))]),t._v(" "),e("p",{staticClass:"descuentosPromo",class:this.$store.state.config.textPromo,style:this.$store.state.config.promoSpecial?"background: #e30613":"background: #00c1f9"},[t._v(t._s(t.$store.state.config.desc))]),t._v(" "),""!==this.$store.state.config.msi?e("div",[e("small",{staticClass:"msiPromo"},[t._v(t._s(this.$store.state.config.msi))]),t._v(" "),e("small",{staticClass:"labelendPromo"},[t._v(" \n "+t._s(this.$store.state.config.extraMsg)+"\n ")])]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-block"},[e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"},{name:"lazy-load",rawName:"v-lazy-load"}],staticClass:"l-carro d-none d-md-block",attrs:{"data-src":"/img/carro.svg",alt:"carro",width:"655",height:"265"}})])]),t._v(" "),e("autos-form")],1),t._v(" "),t._m(1),t._v(" "),e("div",{},[t._m(2),t._v(" "),t._m(3),t._v(" "),e("div",{staticClass:"row my-3 my-md-4"},[e("div",{staticClass:"d-none d-md-block col-md-5 col-lg-5"},[e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"},{name:"lazy-load",rawName:"v-lazy-load"}],staticClass:"carro2",staticStyle:{width:"100%",height:"auto"},attrs:{"data-src":"/img/car-2.svg",alt:"carro",width:"532",height:"237"}})]),t._v(" "),t._m(4)]),t._v(" "),t._m(5)])])}),[function(){var t=this,e=t._self._c;return e("h1",{staticClass:"mb-lg-0 mt-lg-3"},[t._v("Seguros de auto"),e("strong",{staticClass:"chu"},[t._v(" Chubb")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row my-3 my-lg-5"},[e("div",{staticClass:"col-4 p-0 text-center"},[e("div",{staticClass:"iconos my-lg-3 mx-auto",attrs:{id:"beneOne",width:"60",height:"60"}}),t._v(" "),e("p",{staticClass:"m-0 t-iconos"},[t._v("Paga a Meses")]),t._v(" "),e("p",{staticClass:"m-0 t-iconos"},[t._v("Sin intereses")])]),t._v(" "),e("div",{staticClass:"col-4 text-center"},[e("div",{staticClass:"iconos my-lg-3 mx-auto",attrs:{id:"beneTwo",width:"60",height:"60"}}),t._v(" "),e("p",{staticClass:"m-0 t-iconos"},[t._v("Tu seguro de auto")]),t._v(" "),e("p",{staticClass:"m-0 t-iconos"},[t._v("al mejor precio")])]),t._v(" "),e("div",{staticClass:"col-4 text-center"},[e("div",{staticClass:"iconos my-lg-3 mx-auto",attrs:{id:"beneThree",width:"60",height:"60"}}),t._v(" "),e("p",{staticClass:"m-0 t-iconos"},[t._v("Recibe tu póliza")]),t._v(" "),e("p",{staticClass:"m-0 t-iconos"},[t._v("hoy mismo")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 px-lg-5 py-lg-3"},[e("h3",{staticClass:"subt"},[e("span",{staticClass:"textchu"},[t._v("Chubb Seguros, ")]),t._v(" excelentes coberturas para la seguridad de tu auto")]),t._v(" "),e("p",[t._v("Chubb Seguros, es una de las aseguradoras más importantes del país, y no solo del país, sino del mundo.")]),t._v(" "),e("p",[t._v(" Esta importancia obtenida es por la confianza que sus clientes les han otorgado, y ésta se debe a que son diferentes a otras compañías de seguros. ¿Diferentes?, pero en ¿qué? En sus coberturas y beneficios, pues son excelentes.")]),t._v(" "),e("p",[t._v("Y no son excelentes porque la aseguradora lo diga, sino porque sus asegurados así las califican. En su experiencia cuando han llegado a necesitar alguna protección, y se la solicitan a Seguros Chubb, ésta les ha brindado lo que requerían, de forma rápida y práctica.")]),t._v(" "),e("p",[t._v("En Online Seguros nos hemos percatado de ello, y por eso hoy te contamos del Seguros de Autos Chubb, para que también seas participe de las excelentes protecciones que tienen para tu auto. Y lo mejor a un buen precio.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 px-lg-5 py-lg-3"},[e("h3",{staticClass:"subt"},[t._v("Beneficios "),e("span",{staticClass:"textchu"},[t._v("Chubb Seguros, ")]),t._v(" calificados como excelentes")]),t._v(" "),e("p",[t._v("Los beneficios que tiene ABA Chubb, son el complemento perfecto a las coberturas que cuidan de tu auto. Por eso se detallan algunas de ellas.")]),t._v(" "),e("p",[t._v("Seguimiento en Línea, esto quiere decir que la reparación de los daños que haya sufrido tu auto lo puedes revisar en línea. Lo que significa no salir de casa y no perder el tiempo yendo a revisar que tu auto ya esté listo.")]),t._v(" "),e("p",[t._v("Grúa. Este es un servicio que puedes solicitar cuando tu auto se quede varado en mitad de la carretera. El traslado puede ser a tu casa o al taller de tu preferencia.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-7 text-center m-auto"},[e("p",{staticClass:"h3 text2"},[t._v("Obtén estos grandes beneficios en cuestión de segundos")]),t._v(" "),e("a",{staticClass:"btn b-arriba",attrs:{href:"#cotizar"}},[t._v(" Cotiza ahora "),e("i",{staticClass:"fas fa-chevron-right"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 px-lg-5 py-lg-3",staticStyle:{background:"#f5f5f5"}},[e("h3",{staticClass:"subt"},[t._v("Coberturas "),e("span",{staticClass:"textchu"},[t._v(" Seguros Chubb, ")]),t._v(" no puedes encontrar mejores ")]),t._v(" "),e("p",[t._v("Son 4 los planes que maneja Seguros de Autos Chubb, en este cuarteto de coberturas está la protección de tu auto que tanto has ansiado.")]),t._v(" "),e("p",[e("strong",[t._v("Plan de Responsabilidad Civil:")]),t._v(" Este plan te protege con la cobertura de daños a terceros con una suma asegurada de 1,500.000 (millón y medio de pesos), que se usan para la restauración de los daños ocasionadas a otros.")]),t._v(" "),e("p",[e("strong",[t._v("Plan Limitada: ")]),t._v(" La principal protección para tu auto en este paquete, es por el robo de tu unidad se te indemnizará con el valor comercial de tu automóvil.")]),t._v(" "),e("p",[e("strong",[t._v("Plan Amplia: ")]),t._v(" Te ofrece la protección ideal para tu auto en este plan ABA Seguros. Ya tienes la cobertura de daños materiales, con la cual cualquier reparación material de tu auto va a cuenta de la aseguradora.")]),t._v(" "),e("p",[e("strong",[t._v("Plan Integral: ")]),t._v(" Por el robo total de tu auto se te indemniza con el valor comercial de tu auto, pero no sólo eso, sino que se aumenta un 10 % a tu indemnización.")])])])}],!1,null,null,null);e.default=x.exports}}]);