vendor: 1,648 bytes, line 1
1import{g as K,r as R,k as Q}from"./vendor-react-nj2ukvvY.js";var S={exports:{}},L,z;function X(){if(z)return L;z=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return L=r,L}var P,G;function Z(){if(G)return P;G=1;var r=X();function n(){}function i(){}return i.resetWarningCache=n,P=function(){function e(y,m,v,l,u,c){if(c!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return a.PropTypes=a,a},P}var V;function ee(){return V||(V=1,S.exports=Z()()),S.exports}var te=ee();const s=K(te);var re=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function k(){return k=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(r[e]=i[e])}return r},k.apply(this,arguments)}function ne(r,n){if(r==null)return{};var i={},e=Object.keys(r),t,a;for(a=0;a<e.length;a++)t=e[a],!(n.indexOf(t)>=0)&&(i[t]=r[t]);return i}function x(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ie(r,n){r.prototype=Object.create(n.prototype),r.prototype.constructor=r,j(r,n)}
1function j(r,n){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(r,n)}var O=(function(r){ie(n,r);function n(){var e;return e=r.call(this)||this,e.handleExpired=e.handleExpired.bind(x(e)),e.handleErrored=e.handleErrored.bind(x(e)),e.handleChange=e.handleChange.bind(x(e)),e.handleRecaptchaRef=e.handleRecaptchaRef.bind(x(e)),e}var i=n.prototype;return i.getCaptchaFunction=function(t){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[t]:this.props.grecaptcha[t]:null},i.getValue=function(){var t=this.getCaptchaFunction("getResponse");return t&&this._widgetId!==void 0?t(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},i.execute=function(){var t=this.getCaptchaFunction("execute");if(t&&this._widgetId!==void 0)return t(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var t=this;return new Promise(function(a,y){t.executionResolve=a,t.executionReject=y,t.execute()})},i.reset=function(){var t=this.getCaptchaFunction("reset");t&&this._widgetId!==void 0&&t(this._widgetId)},i.forceReset=function(){var t=this.getCaptchaFunction("reset");t&&t()},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(t){this.props.onChange&&this.props.onChange(t),this.executionResolve&&(this.executionResolve(t),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var t=this.getCaptchaFunction("render");if(t&&this._widgetId===void 0){var a=document.createElement("div");this._widgetId=t(a,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(a)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(t){this.captcha=t},i.render=function(){var t=this.props;t.sitekey,t.onChange,t.theme,t.type,t.tabindex,t.onExpired,t.onErrored,t.size,t.stoken,t.grecaptcha,t.badge,t.hl,t.isolated;var a=ne(t,re);return R.createElement("div",k({},a,{ref:this.handleRecaptchaRef}))},n})(R.Component);O.displayName="ReCAPTCHA";O.propTypes={sitekey:s.string.isRequired,onChange:s.func,grecaptcha:s.object,theme:s.oneOf(["dark","light"]),type:s.oneOf(["image","audio"]),tabindex:s.number,onExpired:s.func,onErrored:s.func,size:s.oneOf(["compact","normal","invisible"]),stoken:s.string,hl:s.string,badge:s.oneOf(["bottomright","bottomleft","inline"]),isolated:s.bool};O.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var E={exports:{}},C,B;function oe(){if(B)return C;B=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return C=r,C}var I,M;function ae(){if(M)return I;M=1;var r=oe();function n(){}function i(){}return i.resetWarningCache=n,I=function(){function e(y,m,v,l,u,c){if(c!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return a.PropTypes=a,a},I}var Y;function ce(){return Y||(Y=1,E.exports=ae()()),E.exports}var se=ce();const pe=K(se);function N(){return N=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(r[e]=i[e])}return r},N.apply(this,arguments)}function de(r,n){if(r==null)return{};var i={},e=Object.keys(r),t,a;for(a=0;a<e.length;a++)t=e[a],!(n.indexOf(t)>=0)&&(i[t]=r[t]);return i}function he(r,n){r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n}var h={},ue=0;function fe(r,n){return n=n||{}
1,function(e){var t=e.displayName||e.name||"Component",a=(function(m){he(v,m);function v(u,c){var o;return o=m.call(this,u,c)||this,o.state={},o.__scriptURL="",o}var l=v.prototype;return l.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+ue++),this.__scriptLoaderID},l.setupScriptURL=function(){return this.__scriptURL=typeof r=="function"?r():r,this.__scriptURL},l.asyncScriptLoaderHandleLoad=function(c){var o=this;this.setState(c,function(){return o.props.asyncScriptOnLoad&&o.props.asyncScriptOnLoad(o.state)})},l.asyncScriptLoaderTriggerOnScriptLoaded=function(){var c=h[this.__scriptURL];if(!c||!c.loaded)throw new Error("Script is not loaded.");for(var o in c.observers)c.observers[o](c);delete window[n.callbackName]},l.componentDidMount=function(){var c=this,o=this.setupScriptURL(),d=this.asyncScriptLoaderGetScriptLoaderID(),f=n,U=f.globalName,T=f.callbackName,W=f.scriptId;if(U&&typeof window[U]<"u"&&(h[o]={loaded:!0,observers:{}}),h[o]){var _=h[o];if(_&&(_.loaded||_.errored)){this.asyncScriptLoaderHandleLoad(_);return}_.observers[d]=function(p){return c.asyncScriptLoaderHandleLoad(p)};return}var q={};q[d]=function(p){return c.asyncScriptLoaderHandleLoad(p)},h[o]={loaded:!1,observers:q};var g=document.createElement("script");g.src=o,g.async=!0;for(var D in n.attributes)g.setAttribute(D,n.attributes[D]);W&&(g.id=W);var $=function(b){if(h[o]){var J=h[o],w=J.observers;for(var H in w)b(w[H])&&delete w[H]}};T&&typeof window<"u"&&(window[T]=function(){return c.asyncScriptLoaderTriggerOnScriptLoaded()}),g.onload=function(){var p=h[o];p&&(p.loaded=!0,$(function(b){return T?!1:(b(p),!0)}))},g.onerror=function(){var p=h[o];p&&(p.errored=!0,$(function(b){return b(p),!0}))},document.body.appendChild(g)},l.componentWillUnmount=function(){var c=this.__scriptURL;if(n.removeOnUnmount===!0)for(var o=document.getElementsByTagName("script"),d=0;d<o.length;d+=1)o[d].src.indexOf(c)>-1&&o[d].parentNode&&o[d].parentNode.removeChild(o[d]);var f=h[c];f&&(delete f.observers[this.asyncScriptLoaderGetScriptLoaderID()],n.removeOnUnmount===!0&&delete h[c])},l.render=function(){var c=n.globalName,o=this.props;o.asyncScriptOnLoad;var d=o.forwardedRef,f=de(o,["asyncScriptOnLoad","forwardedRef"]);return c&&typeof window<"u"&&(f[c]=typeof window[c]<"u"?window[c]:void 0),f.ref=d,R.createElement(e,f)},v})(R.Component),y=R.forwardRef(function(m,v){return R.createElement(a,N({},m,{forwardedRef:v}))});return y.displayName="AsyncScriptLoader("+t+")",y.propTypes={asyncScriptOnLoad:pe.func},Q(y,e)}}var F="onloadcallback",le="grecaptcha";function A(){return typeof window<"u"&&window.recaptchaOptions||{}}function ye(){var r=A(),n=r.useRecaptchaNet?"recaptcha.net":"www.google.com";return r.enterprise?"https://"+n+"/recaptcha/enterprise.js?onload="+F+"&render=explicit":"https://"+n+"/recaptcha/api.js?onload="+F+"&render=explicit"}const ge=fe(ye,{callbackName:F,globalName:le,attributes:A().nonce?{nonce:A().nonce}:{}})(O);export{ge as R};
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.