PageSourceSearch

https://americansuppressorassociation.com/theme/bb91f029b1ef3adfdc…front.google-re-captcha-v3.plugin.473781.js

js americansuppressorassociation.com collected 2026-10-02 09:57:45 UTC 2,379 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[20423],{8959:(t,e,i)=>{i.d(e,{Z:()=>s});var a=i(9568);class s extends a.Z{init(){window.grecaptcha&&"function"==typeof window.grecaptcha.ready&&window.grecaptcha.ready(this._executeGoogleReCaptchaInitialization.bind(this))}_executeGoogleReCaptchaInitialization(){if(this._getForm(),this._form){if(this.grecaptchaInput=this.el.querySelector(this.options.grecaptchaInputSelector),!this.grecaptchaInput)throw Error("Input field for Google reCAPTCHA is missing!");this.grecaptcha=window.grecaptcha,this._formSubmitting=!1,this.formPluginInstances=window.PluginManager.getPluginInstancesFromElement(this._form),this._setGoogleReCaptchaHandleSubmit(),this._registerEvents()}}getGreCaptchaInfo(){}onFormSubmit(){}_getForm(){return this.el&&"FORM"===this.el.nodeName?(this._form=this.el,!0):(this._form=this.el.closest("form"),this._form)}_registerEvents(){this._form.addEventListener("submit",this._onFormSubmitCallback.bind(this),{capture:!0})}_submitInvisibleForm(){if(!this._form.checkValidity()){this._formSubmitting=!1;return}this.$emitter.publish("beforeGreCaptchaFormSubmit",{info:this.getGreCaptchaInfo(),token:this.grecaptchaInput.value});let t=!1;this.formPluginInstances.forEach(e=>{"function"==typeof e.sendAjaxFormSubmit&&!1!==e.options.useAjax&&(t=!0,e.sendAjaxFormSubmit())}),t||this._form.submit()}_onFormSubmitCallback(t){if(this._formSubmitting){t.preventDefault(),t.stopImmediatePropagation();return}t.preventDefault(),this._formSubmitting=!0,this.onFormSubmit()}_setGoogleReCaptchaHandleSubmit(){this.formPluginInstances.forEach(t=>{"function"==typeof t.sendAjaxFormSubmit&&!1!==t.options.useAjax&&(t.formSubmittedByCaptcha=!0)})}}},423:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(8959);class s extends a.Z{init(){super.init()}onFormSubmit(){this.grecaptchaInput.value=s.RECAPTCHA_PENDING_VALUE,this.grecaptcha.ready(this._onGreCaptchaReady.bind(this))}getGreCaptchaInfo(){return{version:"GoogleReCaptchaV3"}}_onGreCaptchaReady(){this.grecaptcha.execute(this.options.siteKey,{action:"submit"}).then(t=>{this.$emitter.publish("onGreCaptchaTokenResponse",{info:this.getGreCaptchaInfo(),token:t}),this.grecaptchaInput.value=t,this._formSubmitting=!1,this._submitInvisibleForm()})}}s.RECAPTCHA_PENDING_VALUE="recaptcha-pending",s.options={siteKey:null,grecaptchaInputSelector:".grecaptcha_v3-input"}}}]);

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.