1(function() { 2 var _ = {allowSend:false}; 3 var Init = function() { 4 EventHandler(); 5 }; 6 var Validate = function() { 7 var valid = true; 8 $("#get_pass").find("[required]").each(function(i, el) { 9 if (!$(el).isValid()) { 10 valid = false; 11 return false; 12 } 13 }); 14 return valid; 15 }; 16 var Send = function($el) { 17 if (!Validate()) { 18 return; 19 } 20 grecaptcha.render("recaptcha", {sitekey:$("#recaptcha").data().key, badge:"bottomleft", size:"invisible", callback:function() { 21 _.allowSend = true; 22 $("#get_pass").get(0).submit(); 23 }}); 24 grecaptcha.execute(); 25 $el.prop("disabled", true).addClass("sending-form"); 26 }; 27 var EventHandler = function() { 28 $("#btnRecPass").on("click", function(ev) { 29 if (_.allowSend === false) { 30 Send($(ev.currentTarget)); 31 } 32 return _.allowSend; 33 }); 34 }; 35 $(function() { 36 return Init(); 37 }); 38})(); 39
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.