PageSourceSearch

https://prwire.com.au/js/includes/small_registration_form.js

js prwire.com.au collected 2026-10-03 21:39:08 UTC 1,333 bytes, 1 lines download raw bytes

1$(document).on("ready",(()=>{$(document).on("submit","#register-form",(function(r){r.preventDefault();var a=$(r.target).is("#register-form")?$(r.target):$(r.target).closest("#register-form"),t=a.serializeObject(),s=$(".signup-top-block");if($(".has-error").removeClass("has-error"),!e.validate(t))return Object.keys(e.getFieldsWithErrors()).map((function(e){a.find('[name="'+e+'"]').closest(".form-group").addClass("has-error")})),void app.createNotification("Please check form for errors","warning");s.mask();var i={email:a.serializeObject()._username};a.find(".small-user-exists").length?location.href=Routing.generate("sign_in",i):async function(e,r){$.ajax({url:Routing.generate("sign_up_check"),method:"post",data:{_username:e,_recaptcha:await getRecaptchaTokenMain("sign_up_check")},success:a=>{403===a.status?$("#register-form").append(influencingHbs.small_user_exists_form({username:e})):location.href=r},error:()=>{app.createNotification(SomethingWrongMessage_400,"warning")}})}(i.email,Routing.generate("sign_up",i))})),$(document).on("click",".js-use-another-email",(()=>{let e=$(".small-join-to-account");e.length||(e=$(".small-user-exists")),e.remove()}));var e=new JjvValidatorWrapper({type:"object",properties:{_username:{type:"string",format:"email",message:"Please provide valid email"}},required:["_username"]})}));

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.