1$(function () { 2 $("#appointmentForm").find("textarea,input,select").jqBootstrapValidation({ 3 preventSubmit: !0, submitError: function (t, e, s) { 4 } 5 , submitSuccess: function (t, e) { 6 e.preventDefault(), e.stopPropagation(); 7 8 grecaptcha.execute('6LcZDUwtAAAAAFQ7gR6VVRZvq1AWb0noWGonjFmY', { action: 'submit' }).then(function (token) { 9 $("#token2").val(token); 10 11 $.ajax({ 12 url: "/mail/appointment.php", type: "POST", data: t.serialize(), cache: !1, 13 success: function (res) { 14 const response = JSON.parse(res); 15 if (response.code == 200) { 16 // Check if GA4 is loaded to prevent breaking the form submission 17 if (typeof gtag === 'function') { 18 gtag('event', 'generate_lead', { 19 // Dynamically grabs the ID of the form, or defaults to 'contact_form' 20 'form_id': $("#appointmentForm").attr('id') || 'contact_form', 21 'form_name': 'Contact Us' 22 }); 23 } 24 $("#success2").html("<div class='alert alert-success alert-dismissible fade show'><span>Your message has been sent! </span><button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button></div>"), $("#appointmentForm").trigger("reset") 25 } else { 26 $("#success2").html("<div class='alert alert-danger alert-dismissible fade show'>Sorry, verification failed. Please try again later!<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button></div>"); 27 } 28 } 29 , error: function () { 30 $("#success2").html("<div class='alert alert-danger alert-dismissible fade show'>Sorry, it seems that my mail server is not responding. Please try again later!<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button></div>"); 31 } 32 }) 33 }) 34 } 35 , filter: function () { 36 return $(this).is(":visible") 37 } 38 } 39 ) 40} 41);
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.