1$(document).ready(function () { 2 3 4 5 $('#contact_form_cg').formValidation({ 6 framework: 'bootstrap', 7 icon: { 8 validating: 'glyphicon glyphicon-refresh' 9 }, 10 fields: { 11 nom_contact: { 12 validators: { 13 notEmpty: { 14 message: 'Information Obligatoire' 15 }, 16 } 17 }, 18 phone_contact: { 19 validators: { 20 notEmpty: { 21 message: 'Information Obligatoire' 22 }, 23 } 24 }, 25 email_contact: { 26 validators: { 27 notEmpty: { 28 message: 'Information Obligatoire' 29 }, 30 regexp: { 31 regexp: '^[^@\\s]+@([^@\\s]+\\.)+[^@\\s]+$', 32 message: "Le format de l'adresse email est invalide" 33 } 34 } 35 }, 36 message_contact: { 37 validators: { 38 notEmpty: { 39 message: 'Information Obligatoire' 40 }, 41 } 42 }, 43 }, 44 }).off('success.form.fv') 45 .on('success.form.fv', function (e) { 46 e.preventDefault(); 47 var champsform = $('#contact_form_cg').serialize(); 48 $('.loading').show(); 49 $('#contact_cg').hide(); 50 $('#contact_cg').attr('disabled', true); 51 52 $.post("/contact/send_mail_contact", champsform).done(function (data) { 53 if (data == true) { 54 $(".alert-success").fadeIn('slow'); 55 $('.loading').hide(); 56 $('#contact_cg').show(); 57 setTimeout(function () { 58 $(".alert-success").hide(); 59 $('.input_contact').val(''); 60 $('#contact_cg').attr('disabled', false); 61 62 }, 2000); 63 } else { 64 $('.loading').hide(); 65 $('#contact_cg').show(); 66 $('#contact_cg').attr('disabled', false); 67 } 68 }); 69 return false; 70 }); 71 72 73 $(window).on('scroll', function () { 74 if ($('.map-contact').children().length > 0) { 75 return false; 76 } 77 if($('.banner_contact').offset().top < $(window).scrollTop()){ 78 return false; 79 } 80 $('.map-contact').html('<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d772.1801887780603!2d4.974807981946739!3d45.71080567333789!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47f4c3e81ad2a115%3A0xbcfd2c1f861de01b!2sCarte%20grise%20en%20ligne%20agr%C3%A9%C3%A9%20ANTS%20-%20Paiement%204x!5e1!3m2!1sfr!2stn!4v1616682551403!5m2!1sfr!2stn" style="border:0;margin-bottom: -8px; width: 100%;height: 450px" allowfullscreen></iframe>'); 81 }); 82 83});
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.