PageSourceSearch

https://www.wochenschau-online.de/theme/1405a8c068268496de81bb1c02…front.google-re-captcha-v3.plugin.0696d3.js

js wochenschau-online.de collected 2026-10-04 02:15:24 UTC 2,029 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[20423],{8959:(t,e,i)=>{i.d(e,{Z:()=>n});var s=i(9568);class n extends s.Z{init(){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))}_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){this._formSubmitting||(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:()=>n});var s=i(8959);class n extends s.Z{init(){super.init()}onFormSubmit(){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()})}}n.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.