1var api_key;$(function(){$.getJSON("/api/v1/corporation_info/",{"format":"JSON"},function(data,textStatus,jqXHR){api_key=data.objects[0].api_key;handle_contact_commercial();});$("#commercial-contact-form form").on("appSuccess",function(data,textStatus){$("#commercial-contact-form").html("<h1>Thank you for your inquiry!</h1><p> A team representative will be in touch shortly.</p>");$('.complete-form').addClass('hide');});});var handle_contact_commercial=function(){$("#commercial-contact-form form").on("submit",function(e){e.preventDefault();var recaptcha=grecaptcha.getResponse(1);console.log(recaptcha) 2if(recaptcha==""){alert("Please check recaptcha");}else{if($('#commercial-contact-form form input[name^="email_"]').val().indexOf('@')==-1){if($(".email_error").length==0){$('#commercial-contact-form form input[name^="email_"]').prev().before('<div lass="email_error contact_form_error">Please Enter A Valid Email Address</div>');}else{$('.email_error').show();}}else{$('.email_error').hide();} 3if($('#commercial-contact-form form input[name^="phone-"]').val().replace(/[^0-9]*/g,'').length<10){if($(".phone_error").length==0){$('#commercial-contact-form form input[name^="phone-"]').prev().before('<div class="phone_number_error contact_form_error">Please Enter A Valid Phone Number</div>');}else{$('.phone_error').show();}}else{$('.phone_error').hide();} 4if($('.contact_form_error').is(":visible")){return false;} 5else{var url="/api/v2/corporation_saved_data/?format=json&slug=contact&api_key="+api_key;var djenga_form=$("input:not([type=submit]), input:not('#recaptcha-token'), select, textarea",$(this)),djenga_data={},self=$(this);_.map(djenga_form,function(field){var $field=$(field);if($field.attr("type")=="checkbox"){if($field.is(":checked")){djenga_data[$field.attr("name")]="checked";}else{djenga_data[$field.attr("name")]="unchecked";}}else if($field.attr("data-type")=="select"){} 6else{djenga_data[$field.attr("name")]=$field.val();}});var response=$.ajax({url:url,type:"POST",contentType:"application/json",data:JSON.stringify(djenga_data),beforeSend:function(jqXHR,settings){self.find("input[type=submit]").attr("disabled","disabled");}}).always(function(jqXHR){self.find("input[type=submit]").removeAttr("disabled");self.trigger("appDone");}).done(function(data,textStatus,jqXHR){self.trigger("appSuccess",[data,textStatus]);}).fail(function(data,textStatus,jqXHR){self.trigger("appFailure",[data,textStatus]);});}}});};
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.