PageSourceSearch

https://app.pet-gp.co.uk/wp-content/themes/wordpress/assets/dist/js/recaptcha.js?ver=549097091

js pet-gp.co.uk collected 2026-10-04 11:03:22 UTC 1,778 bytes, 1 lines download raw bytes

1var onloadCallback=function(){const e=document.querySelector("#signup-checker-form"),t=document.querySelector("#login-checker-form"),a=document.querySelector("#reset-checker-form"),c=getAllFormsCaptchas([e,t,a]);renderCaptchas(c),setInterval((function(){renderCaptchas(c)}),6e4)};const getAllFormsCaptchas=e=>{const t=[];return e.map((e=>{if(e){const a=getCaptchaTokenField(e);t.push({form:e,tokenField:a})}})),t},getCaptchaTokenField=e=>{if(void 0!==e.id){const t=e.id.split("-");if(t.length>=0){const a="#"+t[0]+"-recaptcha-token";return e.querySelector(a)}}},renderCaptchas=e=>{e.map((e=>{e.form&&grecaptcha.ready((function(){grecaptcha.execute("6LexkDgqAAAAAOFZbSHzj29Tv91nvDn0hCJVYBHP").then((function(t){e.tokenField.value=t}))}))}))},renderCaptcha=e=>{grecaptcha.ready((function(){grecaptcha.execute("6Lca_SwqAAAAADFGPD2grStTe111Oj69wf12Sl3u").then((function(t){e.value=t}))}))};async function processCaptcha(e,t){if(!grecaptcha||!t)return!1;const a=e,c=new FormData;c.append("grecaptchaResponse",a);let r=`${t}/wp-admin/admin-ajax.php?action=validate_captcha`;try{const e=await fetch(r,{method:"POST",body:c}),t=await e.json();if(t.success)return{status:!0,message:""};if("timeout-or-duplicate"===t["error-codes"][0])return grecaptcha.reset(),{status:!1,message:"The Captcha is no longer valid please try again"}}catch(e){console.error(e)}return{status:!1,message:"You can't leave Captcha Code empty"}}async function checkCaptchaFormValid(e,t){if(e.preventDefault(),t){const e=getCaptchaTokenField(t).value;return 0==e.length?{status:!1,message:"You can't leave Captcha Code empty"}:await processCaptcha(e,site_url)}console.error("Unable to process the form")}function refreshFormCaptcha(e){if(e){const t=getCaptchaTokenField(e);renderCaptchas([{form:e,tokenField:t}])}}

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.