1 2function validarEmail(e){return!!/\S+@\S+\.\S+/.test(e)}function isObject(e){return e instanceof Object}function validarForm(){var e=0;$(".requerido").each((function(t){var a=$(this).parent().find(".error");"email"==$(this).data("type")?""==$(this).val()?($(a).text($(this).data("mensaje")),$(a).show(),e++):validarEmail($(this).val())?($(a).text(""),$(a).hide()):($(a).text("Ingrese un email valido"),$(a).show(),e++):""==$(this).val()?($(a).text($(this).data("mensaje")),$(a).show(),e++):($(a).text(""),$(a).hide())})),0==e&&(swal({title:"Email Suscrito",text:"Espera pronto información importante en tu correo electrónico",type:"success",confirmButtonText:"Aceptar"}),_dp("configure",{appId:"256247dd"}),_dp("pageView"),_dp("identify",{email:$("#email").val(),first_name:$("#nombre").val()}),_dp("track","newsletter",{metadata:{email:$("#email").val(),first_name:$("#nombre").val()}}),$("#email").val(""),$("#nombre").val(""))}$(document).ready((function(){$("#btn_enviar").click((function(e){validarForm()}))})); 3 4
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.