1var RSFormProReCAPTCHAv3 = { 2 forms: {}, 3 add: function(key, action, formId) { 4 formId = parseInt(formId); 5 6 RSFormProReCAPTCHAv3.forms[formId] = {key: key, action: action}; 7 }, 8 execute: function(formId) { 9 formId = parseInt(formId); 10 11 var form = RSFormProReCAPTCHAv3.forms[formId]; 12 13 if (typeof form !== 'object') { 14 return false; 15 } 16 17 grecaptcha.execute(form.key, {action: form.action}).then(function(token){ 18 document.getElementById('g-recaptcha-response-' + formId).value = token; 19 RSFormPro.submitForm(RSFormPro.getForm(formId)); 20 }); 21 } 22};
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.