1(function($){var captchaLoaded=!1;var constraints={name:{presence:{message:"^Please enter your name",},},email:{presence:{message:"^Please enter your email address",},email:{message:"^Invalid email address",},},phone:{presence:{message:"^Please enter your phone number",},format:{pattern:"^[0-9/-]+$",message:"^Phone number can only contain numbers and dashes",},length:{minimum:7,tooShort:"^Please enter at least %{count} characters",},},};$(function(){$(".contact-form input, .contact-form textarea").on("focus",function(){if(captchaLoaded){return} 2console.log("reCAPTCHA script loading.");var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.type="text/javascript";script.src="https://www.google.com/recaptcha/api.js";head.appendChild(script);captchaLoaded=!0});$(".contact-form input").on("focusout",function(event){errors=validate($(this).closest("form"),constraints);applyInputErrors($(this),errors)});$("input").on("focusin",function(event){resetInputErrors($(this))})});$(".contact-form").submit(function(e){e.preventDefault();console.log("Contact form submitted.");errors=validate($(this),constraints);if(errors){$(this).find("input").each(function(){applyInputErrors($(this),errors)})}else{var captchaID=getCaptchaID($(this).find(".g-recaptcha").attr("id"));grecaptcha.reset(captchaID);grecaptcha.execute(captchaID)}});function getCaptchaID(containerID){var returnedID=-1;$(".g-recaptcha").each(function(index){if(this.id==containerID){returnedID=index;return}});return returnedID} 3function applyInputErrors(inputToCheck,errorsList){var matchingError=errorsList[$(inputToCheck).attr("name")];if(matchingError){resetInputErrors($(inputToCheck));$(inputToCheck).addClass("has-error");$(inputToCheck).parent().append("<p class='error-text'>"+matchingError+"</p>")}} 4function resetInputErrors(inputToReset){$(inputToReset).removeClass("has-error");$(inputToReset).siblings("p.error-text").remove()}})(jQuery);function submitContactStandard(token){console.log("Invisible reCAPTCHA submitted: #contact-formStandard");document.getElementById("contact-formStandard").submit()} 5function submitContactFooter(token){document.getElementById("contact-formFooter").submit()}
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.