tocco-widget-bundle 3.12.15 → 3.12.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +3 -0
- package/dist/{chunk-363.d23be31bb11e52054830.js → chunk-363.f4f910a3c66d1499bf0e.js} +1 -1
- package/dist/{chunk-736.03854652bd612639f2b4.js → chunk-929.e6fd264c1763385924db.js} +1 -1
- package/dist/chunk-actions.d898700c92886e4da193.js +1 -0
- package/dist/education-portfolio.js +1 -1
- package/dist/entity-browser.js +1 -1
- package/dist/evaluation-execution-participation.js +1 -1
- package/dist/event-registration.js +1 -1
- package/dist/function-mutation.js +1 -1
- package/dist/job-application.js +1 -1
- package/dist/mailing-list.js +1 -1
- package/dist/stint-auction.js +1 -1
- package/dist/user-availability.js +1 -1
- package/dist/user-grades.js +1 -1
- package/dist/wage-view.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-actions.1b7a6e78023ec35310a3.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[736],{61074:e=>{e.exports=function(e){return e.split("")}},28754:(e,t,r)=>{var n=r(25160);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},12507:(e,t,r)=>{var n=r(28754),o=r(49698),i=r(63912),a=r(13222);e.exports=function(e){return function(t){t=a(t);var r=o(t)?i(t):void 0,c=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return c[e]()+s}}},62006:(e,t,r)=>{var n=r(15389),o=r(64894),i=r(95950);e.exports=function(e){return function(t,r,a){var c=Object(t);if(!o(t)){var s=n(r,3);t=i(t),r=function(e){return s(c[e],e,c)}}var p=e(t,r,a);return p>-1?c[s?t[p]:p]:void 0}}},49698:e=>{e.exports=function(){return!1}},63912:(e,t,r)=>{var n=r(61074),o=r(49698),i=r(42054);e.exports=function(e){return o(e)?i(e):n(e)}},42054:e=>{e.exports=function(e){return e.split("")}},14792:(e,t,r)=>{var n=r(13222),o=r(55808);e.exports=function(e){return o(n(e).toLowerCase())}},7309:(e,t,r)=>{var n=r(62006)(r(24713));e.exports=n},24713:(e,t,r)=>{var n=r(2523),o=r(15389),i=r(61489),a=Math.max;e.exports=function(e,t,r){var c=null==e?0:e.length;if(!c)return-1;var s=null==r?0:i(r);return s<0&&(s=a(c+s,0)),n(e,o(t,3),s)}},99786:(e,t,r)=>{var n=r(83120),o=r(15389),i=r(69302),a=r(55765),c=r(83693),s=r(68090),p=i((function(e){var t=s(e);return c(t)&&(t=void 0),a(n(e,1,c,!0),o(t,2))}));e.exports=p},55808:(e,t,r)=>{var n=r(12507)("toUpperCase");e.exports=n},39335:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(4883),o=r(12238),i=r.n(o),a=r(4146),c=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var p={},d=0;function u(e,t){return t=t||{},function(r){var o=r.displayName||r.name||"Component",a=function(o){var i,a;function c(e,t){var r;return(r=o.call(this,e,t)||this).state={},r.__scriptURL="",r}a=o,(i=c).prototype=Object.create(a.prototype),i.prototype.constructor=i,i.__proto__=a;var s=c.prototype;return s.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+d++),this.__scriptLoaderID},s.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},s.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},s.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=p[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var r in e.observers)e.observers[r](e);delete window[t.callbackName]},s.componentDidMount=function(){var e=this,r=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=t,i=o.globalName,a=o.callbackName,c=o.scriptId;if(i&&void 0!==window[i]&&(p[r]={loaded:!0,observers:{}}),p[r]){var s=p[r];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var d={};d[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},p[r]={loaded:!1,observers:d};var u=document.createElement("script");for(var h in u.src=r,u.async=!0,t.attributes)u.setAttribute(h,t.attributes[h]);c&&(u.id=c);var l=function(e){if(p[r]){var t=p[r].observers;for(var n in t)e(t[n])&&delete t[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=p[r];e&&(e.loaded=!0,l((function(t){return!a&&(t(e),!0)})))},u.onerror=function(){var e=p[r];e&&(e.errored=!0,l((function(t){return t(e),!0})))},document.body.appendChild(u)},s.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var r=document.getElementsByTagName("script"),n=0;n<r.length;n+=1)r[n].src.indexOf(e)>-1&&r[n].parentNode&&r[n].parentNode.removeChild(r[n]);var o=p[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete p[e])},s.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(a[e]=void 0!==window[e]?window[e]:void 0),a.ref=i,(0,n.createElement)(r,a)},c}(n.Component),u=(0,n.forwardRef)((function(e,t){return(0,n.createElement)(a,s({},e,{forwardedRef:t}))}));return u.displayName="AsyncScriptLoader("+o+")",u.propTypes={asyncScriptOnLoad:i().func},c()(u,r)}}},29336:(e,t,r)=>{"use strict";var n=r(33567);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array: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:o};return r.PropTypes=r,r}},12238:(e,t,r)=>{e.exports=r(29336)()},33567:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},99651:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(98931);r(32845);const o=n.A},98931:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(32845),o=r(39335),i="onloadcallback";function a(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}const c=(0,o.A)((function(){var e=a(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+i+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha",attributes:a().nonce?{nonce:a().nonce}:{}})(n.A)},32845:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(4883),o=r(49385),i=r.n(o),a=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){var t,r;function o(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,p(t,r);var i=o.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()}))},i.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},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(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{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(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,a));return n.createElement("div",c({},t,{ref:this.handleRecaptchaRef}))},o}(n.Component);d.displayName="ReCAPTCHA",d.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"]),isolated:i().bool},d.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},22501:(e,t,r)=>{"use strict";var n=r(1846);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array: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:o};return r.PropTypes=r,r}},49385:(e,t,r)=>{e.exports=r(22501)()},1846:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},18987:(e,t,r)=>{"use strict";
|
|
1
|
+
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[929],{61074:e=>{e.exports=function(e){return e.split("")}},28754:(e,t,r)=>{var n=r(25160);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},12507:(e,t,r)=>{var n=r(28754),o=r(49698),i=r(63912),a=r(13222);e.exports=function(e){return function(t){t=a(t);var r=o(t)?i(t):void 0,c=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return c[e]()+s}}},62006:(e,t,r)=>{var n=r(15389),o=r(64894),i=r(95950);e.exports=function(e){return function(t,r,a){var c=Object(t);if(!o(t)){var s=n(r,3);t=i(t),r=function(e){return s(c[e],e,c)}}var p=e(t,r,a);return p>-1?c[s?t[p]:p]:void 0}}},49698:e=>{e.exports=function(){return!1}},63912:(e,t,r)=>{var n=r(61074),o=r(49698),i=r(42054);e.exports=function(e){return o(e)?i(e):n(e)}},42054:e=>{e.exports=function(e){return e.split("")}},14792:(e,t,r)=>{var n=r(13222),o=r(55808);e.exports=function(e){return o(n(e).toLowerCase())}},7309:(e,t,r)=>{var n=r(62006)(r(24713));e.exports=n},24713:(e,t,r)=>{var n=r(2523),o=r(15389),i=r(61489),a=Math.max;e.exports=function(e,t,r){var c=null==e?0:e.length;if(!c)return-1;var s=null==r?0:i(r);return s<0&&(s=a(c+s,0)),n(e,o(t,3),s)}},99786:(e,t,r)=>{var n=r(83120),o=r(15389),i=r(69302),a=r(55765),c=r(83693),s=r(68090),p=i((function(e){var t=s(e);return c(t)&&(t=void 0),a(n(e,1,c,!0),o(t,2))}));e.exports=p},55808:(e,t,r)=>{var n=r(12507)("toUpperCase");e.exports=n},39335:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(4883),o=r(12238),i=r.n(o),a=r(4146),c=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var p={},d=0;function u(e,t){return t=t||{},function(r){var o=r.displayName||r.name||"Component",a=function(o){var i,a;function c(e,t){var r;return(r=o.call(this,e,t)||this).state={},r.__scriptURL="",r}a=o,(i=c).prototype=Object.create(a.prototype),i.prototype.constructor=i,i.__proto__=a;var s=c.prototype;return s.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+d++),this.__scriptLoaderID},s.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},s.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},s.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=p[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var r in e.observers)e.observers[r](e);delete window[t.callbackName]},s.componentDidMount=function(){var e=this,r=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=t,i=o.globalName,a=o.callbackName,c=o.scriptId;if(i&&void 0!==window[i]&&(p[r]={loaded:!0,observers:{}}),p[r]){var s=p[r];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var d={};d[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},p[r]={loaded:!1,observers:d};var u=document.createElement("script");for(var h in u.src=r,u.async=!0,t.attributes)u.setAttribute(h,t.attributes[h]);c&&(u.id=c);var l=function(e){if(p[r]){var t=p[r].observers;for(var n in t)e(t[n])&&delete t[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=p[r];e&&(e.loaded=!0,l((function(t){return!a&&(t(e),!0)})))},u.onerror=function(){var e=p[r];e&&(e.errored=!0,l((function(t){return t(e),!0})))},document.body.appendChild(u)},s.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var r=document.getElementsByTagName("script"),n=0;n<r.length;n+=1)r[n].src.indexOf(e)>-1&&r[n].parentNode&&r[n].parentNode.removeChild(r[n]);var o=p[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete p[e])},s.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(a[e]=void 0!==window[e]?window[e]:void 0),a.ref=i,(0,n.createElement)(r,a)},c}(n.Component),u=(0,n.forwardRef)((function(e,t){return(0,n.createElement)(a,s({},e,{forwardedRef:t}))}));return u.displayName="AsyncScriptLoader("+o+")",u.propTypes={asyncScriptOnLoad:i().func},c()(u,r)}}},29336:(e,t,r)=>{"use strict";var n=r(33567);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array: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:o};return r.PropTypes=r,r}},12238:(e,t,r)=>{e.exports=r(29336)()},33567:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},99651:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(98931);r(32845);const o=n.A},98931:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(32845),o=r(39335),i="onloadcallback";function a(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}const c=(0,o.A)((function(){var e=a(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+i+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha",attributes:a().nonce?{nonce:a().nonce}:{}})(n.A)},32845:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(4883),o=r(49385),i=r.n(o),a=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){var t,r;function o(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,p(t,r);var i=o.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()}))},i.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},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(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{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(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,a));return n.createElement("div",c({},t,{ref:this.handleRecaptchaRef}))},o}(n.Component);d.displayName="ReCAPTCHA",d.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"]),isolated:i().bool},d.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},22501:(e,t,r)=>{"use strict";var n=r(1846);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array: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:o};return r.PropTypes=r,r}},49385:(e,t,r)=>{e.exports=r(22501)()},1846:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6414:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(25406);const o=(i=n.A,a=i.getIn,function(e,t){return function(r){var n=t||function(e){return a(e,"form")};return!!a(n(r),e+".submitting")}});var i,a},18987:(e,t,r)=>{"use strict";
|
|
2
2
|
/*! js-cookie v3.0.5 | MIT */
|
|
3
3
|
function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{A:()=>o});var o=function e(t,r){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=n({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in i)i[c]&&(a+="; "+c,!0!==i[c]&&(a+="="+i[c].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),a=i.slice(1).join("=");try{var c=decodeURIComponent(i[0]);if(n[c]=t.read(a,c),e===c)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);
|