(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["recaptcha-v3"],{"720d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("fffb");t.load=r.load,t.getInstance=r.getInstance;var i=n("b3e0");t.ReCaptchaInstance=i.ReCaptchaInstance},b3e0:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function c(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,c)}u((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(e){return function(t){return u([e,t])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){this.siteKey=e,this.recaptcha=t,this.styleContainer=null}return e.prototype.execute=function(e){return r(this,void 0,void 0,function(){return i(this,function(t){return[2,this.recaptcha.execute(this.siteKey,{action:e})]})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){null===this.styleContainer&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{display:none !important;}",document.head.appendChild(this.styleContainer))},e.prototype.showBadge=function(){null!==this.styleContainer&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},e}();t.ReCaptchaInstance=o},fffb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n("b3e0");(function(e){e[e["NOT_LOADED"]=0]="NOT_LOADED",e[e["LOADING"]=1]="LOADING",e[e["LOADED"]=2]="LOADED"})(r||(r={}));var o=function(){function e(){}return e.load=function(t,n){if(void 0===n&&(n={}),"undefined"===typeof document)return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===r.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===r.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(t,n){e.successfulLoadingConsumers.push(function(e){return t(e)}),e.errorLoadingRunnable.push(function(e){return n(e)})});e.instanceSiteKey=t,e.setLoadingState(r.LOADING);var o=new e;return new Promise(function(a,c){o.loadScript(t,n.useRecaptchaNet||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(r.LOADED);var o=new i.ReCaptchaInstance(t,grecaptcha);e.successfulLoadingConsumers.forEach(function(e){return e(o)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&o.hideBadge(),e.instance=o,a(o)}).catch(function(t){e.errorLoadingRunnable.forEach(function(e){return e(t)}),e.errorLoadingRunnable=[],c(t)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return null===e.loadingState?r.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,i,o){var a=this;void 0===n&&(n=!1),void 0===i&&(i={}),void 0===o&&(o="");var c=document.createElement("script");c.setAttribute("recaptcha-v3-script","");var u="https://www.google.com/recaptcha/api.js";n&&(u="https://recaptcha.net/recaptcha/api.js"),o&&(u=o);var s=this.buildQueryString(i);return c.src=u+"?render="+t+s,new Promise(function(t,n){c.addEventListener("load",a.waitForScriptToLoad(function(){t(c)}),!1),c.onerror=function(t){e.setLoadingState(r.NOT_LOADED),n(t)},document.head.appendChild(c)})},e.prototype.buildQueryString=function(e){var t=Object.keys(e);return t.length<1?"":"&"+Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")},e.prototype.waitForScriptToLoad=function(t){var n=this;return function(){void 0===window.grecaptcha?setTimeout(function(){n.waitForScriptToLoad(t)},e.SCRIPT_LOAD_DELAY):window.grecaptcha.ready(function(){t()})}},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();t.load=o.load,t.getInstance=o.getInstance}}]);
//# sourceMappingURL=recaptcha-v3.04062250.2024-10-22T18:36:13.257Z.js.map