@burdenoff/microfe-auth 2026.510.127
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/README.md +12 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/auth/AuthRoot.d.ts +30 -0
- package/dist/auth/AuthRoot.d.ts.map +1 -0
- package/dist/auth/AuthRoot.js +82 -0
- package/dist/auth/AuthRoot.js.map +1 -0
- package/dist/auth/AuthRoutes.d.ts +29 -0
- package/dist/auth/AuthRoutes.d.ts.map +1 -0
- package/dist/auth/AuthRoutes.js +271 -0
- package/dist/auth/AuthRoutes.js.map +1 -0
- package/dist/auth/components/AuthIcons.d.ts +17 -0
- package/dist/auth/components/AuthIcons.d.ts.map +1 -0
- package/dist/auth/components/AuthIcons.js +197 -0
- package/dist/auth/components/AuthIcons.js.map +1 -0
- package/dist/auth/components/AuthLayout.d.ts +17 -0
- package/dist/auth/components/AuthLayout.d.ts.map +1 -0
- package/dist/auth/components/AuthLayout.js +237 -0
- package/dist/auth/components/AuthLayout.js.map +1 -0
- package/dist/auth/components/CaptchaV2.d.ts +16 -0
- package/dist/auth/components/CaptchaV2.d.ts.map +1 -0
- package/dist/auth/components/CaptchaV2.js +47 -0
- package/dist/auth/components/CaptchaV2.js.map +1 -0
- package/dist/auth/components/ConfirmActionDialog.d.ts +16 -0
- package/dist/auth/components/ConfirmActionDialog.d.ts.map +1 -0
- package/dist/auth/components/ConfirmActionDialog.js +68 -0
- package/dist/auth/components/ConfirmActionDialog.js.map +1 -0
- package/dist/auth/components/index.d.ts +4 -0
- package/dist/auth/components/index.d.ts.map +1 -0
- package/dist/auth/components/profile/UserProfileMenu.d.ts +42 -0
- package/dist/auth/components/profile/UserProfileMenu.d.ts.map +1 -0
- package/dist/auth/components/profile/UserProfileMenu.js +91 -0
- package/dist/auth/components/profile/UserProfileMenu.js.map +1 -0
- package/dist/auth/components/workspace/WorkspaceSelector.d.ts +76 -0
- package/dist/auth/components/workspace/WorkspaceSelector.d.ts.map +1 -0
- package/dist/auth/components/workspace/WorkspaceSelector.js +240 -0
- package/dist/auth/components/workspace/WorkspaceSelector.js.map +1 -0
- package/dist/auth/constants/permissions.d.ts +30 -0
- package/dist/auth/constants/permissions.d.ts.map +1 -0
- package/dist/auth/constants/permissions.js +18 -0
- package/dist/auth/constants/permissions.js.map +1 -0
- package/dist/auth/constants/sessionKeys.d.ts +18 -0
- package/dist/auth/constants/sessionKeys.d.ts.map +1 -0
- package/dist/auth/constants/sessionKeys.js +6 -0
- package/dist/auth/constants/sessionKeys.js.map +1 -0
- package/dist/auth/hooks/index.d.ts +18 -0
- package/dist/auth/hooks/index.d.ts.map +1 -0
- package/dist/auth/hooks/index.js +16 -0
- package/dist/auth/hooks/useAccountOperations.d.ts +19 -0
- package/dist/auth/hooks/useAccountOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useAccountOperations.js +52 -0
- package/dist/auth/hooks/useAccountOperations.js.map +1 -0
- package/dist/auth/hooks/useApiKeyOperations.d.ts +22 -0
- package/dist/auth/hooks/useApiKeyOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useApiKeyOperations.js +4 -0
- package/dist/auth/hooks/useAppOperations.d.ts +26 -0
- package/dist/auth/hooks/useAppOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useAppOperations.js +4 -0
- package/dist/auth/hooks/useAuthOperations.d.ts +57 -0
- package/dist/auth/hooks/useAuthOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useAuthOperations.js +236 -0
- package/dist/auth/hooks/useAuthOperations.js.map +1 -0
- package/dist/auth/hooks/useAuthPermissions.d.ts +20 -0
- package/dist/auth/hooks/useAuthPermissions.d.ts.map +1 -0
- package/dist/auth/hooks/useAuthPermissions.js +22 -0
- package/dist/auth/hooks/useAuthPermissions.js.map +1 -0
- package/dist/auth/hooks/useCaptchaV3.d.ts +13 -0
- package/dist/auth/hooks/useCaptchaV3.d.ts.map +1 -0
- package/dist/auth/hooks/useCaptchaV3.js +19 -0
- package/dist/auth/hooks/useCaptchaV3.js.map +1 -0
- package/dist/auth/hooks/useContextSwitcherData.d.ts +106 -0
- package/dist/auth/hooks/useContextSwitcherData.d.ts.map +1 -0
- package/dist/auth/hooks/useContextSwitcherData.js +466 -0
- package/dist/auth/hooks/useContextSwitcherData.js.map +1 -0
- package/dist/auth/hooks/useDelegationOperations.d.ts +25 -0
- package/dist/auth/hooks/useDelegationOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useDelegationOperations.js +4 -0
- package/dist/auth/hooks/useMfaOperations.d.ts +18 -0
- package/dist/auth/hooks/useMfaOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useMfaOperations.js +103 -0
- package/dist/auth/hooks/useMfaOperations.js.map +1 -0
- package/dist/auth/hooks/useMyWorkspaces.d.ts +45 -0
- package/dist/auth/hooks/useMyWorkspaces.d.ts.map +1 -0
- package/dist/auth/hooks/useMyWorkspaces.js +140 -0
- package/dist/auth/hooks/useMyWorkspaces.js.map +1 -0
- package/dist/auth/hooks/useOAuthOperations.d.ts +19 -0
- package/dist/auth/hooks/useOAuthOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useOAuthOperations.js +103 -0
- package/dist/auth/hooks/useOAuthOperations.js.map +1 -0
- package/dist/auth/hooks/usePasswordOperations.d.ts +13 -0
- package/dist/auth/hooks/usePasswordOperations.d.ts.map +1 -0
- package/dist/auth/hooks/usePasswordOperations.js +56 -0
- package/dist/auth/hooks/usePasswordOperations.js.map +1 -0
- package/dist/auth/hooks/useSessionOperations.d.ts +41 -0
- package/dist/auth/hooks/useSessionOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useSessionOperations.js +59 -0
- package/dist/auth/hooks/useSessionOperations.js.map +1 -0
- package/dist/auth/hooks/useSsoOperations.d.ts +65 -0
- package/dist/auth/hooks/useSsoOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useSsoOperations.js +236 -0
- package/dist/auth/hooks/useSsoOperations.js.map +1 -0
- package/dist/auth/hooks/useTokenRefresh.d.ts +56 -0
- package/dist/auth/hooks/useTokenRefresh.d.ts.map +1 -0
- package/dist/auth/hooks/useTokenRefresh.js +53 -0
- package/dist/auth/hooks/useTokenRefresh.js.map +1 -0
- package/dist/auth/hooks/useUserOperations.d.ts +32 -0
- package/dist/auth/hooks/useUserOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useUserOperations.js +100 -0
- package/dist/auth/hooks/useUserOperations.js.map +1 -0
- package/dist/auth/hooks/useWorkspaceOperations.d.ts +35 -0
- package/dist/auth/hooks/useWorkspaceOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useWorkspaceOperations.js +35 -0
- package/dist/auth/hooks/useWorkspaceOperations.js.map +1 -0
- package/dist/auth/hooks/useWorkspaceToken.d.ts +56 -0
- package/dist/auth/hooks/useWorkspaceToken.d.ts.map +1 -0
- package/dist/auth/hooks/useWorkspaceToken.js +94 -0
- package/dist/auth/hooks/useWorkspaceToken.js.map +1 -0
- package/dist/auth/index.d.ts +63 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +18 -0
- package/dist/auth/pages/ApiKeysPage.d.ts +5 -0
- package/dist/auth/pages/ApiKeysPage.d.ts.map +1 -0
- package/dist/auth/pages/AppsPage.d.ts +5 -0
- package/dist/auth/pages/AppsPage.d.ts.map +1 -0
- package/dist/auth/pages/AuditLogPage.d.ts +5 -0
- package/dist/auth/pages/AuditLogPage.d.ts.map +1 -0
- package/dist/auth/pages/AuditLogPage.js +129 -0
- package/dist/auth/pages/AuditLogPage.js.map +1 -0
- package/dist/auth/pages/DelegationsPage.d.ts +5 -0
- package/dist/auth/pages/DelegationsPage.d.ts.map +1 -0
- package/dist/auth/pages/EmailVerifyPage.d.ts +5 -0
- package/dist/auth/pages/EmailVerifyPage.d.ts.map +1 -0
- package/dist/auth/pages/EmailVerifyPage.js +166 -0
- package/dist/auth/pages/EmailVerifyPage.js.map +1 -0
- package/dist/auth/pages/LoginPage.d.ts +6 -0
- package/dist/auth/pages/LoginPage.d.ts.map +1 -0
- package/dist/auth/pages/LoginPage.js +575 -0
- package/dist/auth/pages/LoginPage.js.map +1 -0
- package/dist/auth/pages/MagicLinkPage.d.ts +6 -0
- package/dist/auth/pages/MagicLinkPage.d.ts.map +1 -0
- package/dist/auth/pages/MagicLinkPage.js +219 -0
- package/dist/auth/pages/MagicLinkPage.js.map +1 -0
- package/dist/auth/pages/MfaSetupPage.d.ts +5 -0
- package/dist/auth/pages/MfaSetupPage.d.ts.map +1 -0
- package/dist/auth/pages/MfaSetupPage.js +341 -0
- package/dist/auth/pages/MfaSetupPage.js.map +1 -0
- package/dist/auth/pages/MfaVerifyPage.d.ts +7 -0
- package/dist/auth/pages/MfaVerifyPage.d.ts.map +1 -0
- package/dist/auth/pages/MfaVerifyPage.js +189 -0
- package/dist/auth/pages/MfaVerifyPage.js.map +1 -0
- package/dist/auth/pages/OAuthCallbackPage.d.ts +7 -0
- package/dist/auth/pages/OAuthCallbackPage.d.ts.map +1 -0
- package/dist/auth/pages/OAuthCallbackPage.js +100 -0
- package/dist/auth/pages/OAuthCallbackPage.js.map +1 -0
- package/dist/auth/pages/PasswordResetPage.d.ts +6 -0
- package/dist/auth/pages/PasswordResetPage.d.ts.map +1 -0
- package/dist/auth/pages/PasswordResetPage.js +352 -0
- package/dist/auth/pages/PasswordResetPage.js.map +1 -0
- package/dist/auth/pages/ReactivatePage.d.ts +6 -0
- package/dist/auth/pages/ReactivatePage.d.ts.map +1 -0
- package/dist/auth/pages/ReactivatePage.js +217 -0
- package/dist/auth/pages/ReactivatePage.js.map +1 -0
- package/dist/auth/pages/RegisterPage.d.ts +5 -0
- package/dist/auth/pages/RegisterPage.d.ts.map +1 -0
- package/dist/auth/pages/RegisterPage.js +439 -0
- package/dist/auth/pages/RegisterPage.js.map +1 -0
- package/dist/auth/pages/SSORelayCallbackPage.d.ts +8 -0
- package/dist/auth/pages/SSORelayCallbackPage.d.ts.map +1 -0
- package/dist/auth/pages/SSORelayCallbackPage.js +48 -0
- package/dist/auth/pages/SSORelayCallbackPage.js.map +1 -0
- package/dist/auth/pages/SSORelayPage.d.ts +18 -0
- package/dist/auth/pages/SSORelayPage.d.ts.map +1 -0
- package/dist/auth/pages/SSORelayPage.js +134 -0
- package/dist/auth/pages/SSORelayPage.js.map +1 -0
- package/dist/auth/pages/SecurityPage.d.ts +5 -0
- package/dist/auth/pages/SecurityPage.d.ts.map +1 -0
- package/dist/auth/pages/SecurityPage.js +587 -0
- package/dist/auth/pages/SecurityPage.js.map +1 -0
- package/dist/auth/pages/SessionBridgePage.d.ts +14 -0
- package/dist/auth/pages/SessionBridgePage.d.ts.map +1 -0
- package/dist/auth/pages/SessionBridgePage.js +231 -0
- package/dist/auth/pages/SessionBridgePage.js.map +1 -0
- package/dist/auth/pages/SessionsPage.d.ts +5 -0
- package/dist/auth/pages/SessionsPage.d.ts.map +1 -0
- package/dist/auth/pages/SessionsPage.js +258 -0
- package/dist/auth/pages/SessionsPage.js.map +1 -0
- package/dist/auth/pages/SsoCallbackPage.d.ts +8 -0
- package/dist/auth/pages/SsoCallbackPage.d.ts.map +1 -0
- package/dist/auth/pages/SsoCallbackPage.js +188 -0
- package/dist/auth/pages/SsoCallbackPage.js.map +1 -0
- package/dist/auth/pages/SsoConfigPage.d.ts +6 -0
- package/dist/auth/pages/SsoConfigPage.d.ts.map +1 -0
- package/dist/auth/pages/SsoConfigPage.js +1144 -0
- package/dist/auth/pages/SsoConfigPage.js.map +1 -0
- package/dist/auth/pages/SsoLoginPage.d.ts +7 -0
- package/dist/auth/pages/SsoLoginPage.d.ts.map +1 -0
- package/dist/auth/pages/SsoLoginPage.js +236 -0
- package/dist/auth/pages/SsoLoginPage.js.map +1 -0
- package/dist/auth/pages/UserDetailsPage.d.ts +11 -0
- package/dist/auth/pages/UserDetailsPage.d.ts.map +1 -0
- package/dist/auth/pages/UserDetailsPage.js +338 -0
- package/dist/auth/pages/UserDetailsPage.js.map +1 -0
- package/dist/auth/pages/UserProfilePage.d.ts +5 -0
- package/dist/auth/pages/UserProfilePage.d.ts.map +1 -0
- package/dist/auth/pages/UserProfilePage.js +445 -0
- package/dist/auth/pages/UserProfilePage.js.map +1 -0
- package/dist/auth/pages/UsersPage.d.ts +5 -0
- package/dist/auth/pages/UsersPage.d.ts.map +1 -0
- package/dist/auth/pages/UsersPage.js +899 -0
- package/dist/auth/pages/UsersPage.js.map +1 -0
- package/dist/auth/providers/AuthProvider.d.ts +18 -0
- package/dist/auth/providers/AuthProvider.d.ts.map +1 -0
- package/dist/auth/providers/AuthProvider.js +36 -0
- package/dist/auth/providers/AuthProvider.js.map +1 -0
- package/dist/auth/providers/CaptchaProvider.d.ts +13 -0
- package/dist/auth/providers/CaptchaProvider.d.ts.map +1 -0
- package/dist/auth/providers/CaptchaProvider.js +21 -0
- package/dist/auth/providers/CaptchaProvider.js.map +1 -0
- package/dist/auth/store/authStore.d.ts +91 -0
- package/dist/auth/store/authStore.d.ts.map +1 -0
- package/dist/auth/store/authStore.js +314 -0
- package/dist/auth/store/authStore.js.map +1 -0
- package/dist/auth/types/index.d.ts +636 -0
- package/dist/auth/types/index.d.ts.map +1 -0
- package/dist/auth/utils/captchaConfig.d.ts +4 -0
- package/dist/auth/utils/captchaConfig.d.ts.map +1 -0
- package/dist/auth/utils/captchaConfig.js +13 -0
- package/dist/auth/utils/captchaConfig.js.map +1 -0
- package/dist/auth/utils/formatters.d.ts +37 -0
- package/dist/auth/utils/formatters.d.ts.map +1 -0
- package/dist/auth/utils/formatters.js +48 -0
- package/dist/auth/utils/formatters.js.map +1 -0
- package/dist/auth/utils/gatewayBaseUrls.d.ts +6 -0
- package/dist/auth/utils/gatewayBaseUrls.d.ts.map +1 -0
- package/dist/auth/utils/gatewayBaseUrls.js +18 -0
- package/dist/auth/utils/gatewayBaseUrls.js.map +1 -0
- package/dist/auth/utils/index.d.ts +3 -0
- package/dist/auth/utils/index.d.ts.map +1 -0
- package/dist/auth/utils/validation.d.ts +30 -0
- package/dist/auth/utils/validation.d.ts.map +1 -0
- package/dist/auth/utils/validation.js +15 -0
- package/dist/auth/utils/validation.js.map +1 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2978 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +944 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +21253 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +55214 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/microfe-auth.css +3 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +70 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js +959 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js.map +1 -0
- package/dist/node_modules/react-async-script/lib/esm/async-script-loader.js +114 -0
- package/dist/node_modules/react-async-script/lib/esm/async-script-loader.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/index.js +8 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/index.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha-wrapper.js +20 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha-wrapper.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha.js +148 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha-v3/dist/react-google-recaptcha-v3.esm.js +445 -0
- package/dist/node_modules/react-google-recaptcha-v3/dist/react-google-recaptcha-v3.esm.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/shared/hooks/index.d.ts +7 -0
- package/dist/shared/hooks/index.d.ts.map +1 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/types/index.d.ts +109 -0
- package/dist/shared/types/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +114 -0
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
|
|
2
|
+
//#region node_modules/react-google-recaptcha-v3/dist/react-google-recaptcha-v3.esm.js
|
|
3
|
+
var c = function() {
|
|
4
|
+
return c = Object.assign || function(e) {
|
|
5
|
+
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
6
|
+
return e;
|
|
7
|
+
}, c.apply(this, arguments);
|
|
8
|
+
};
|
|
9
|
+
function l(e, t, n, r) {
|
|
10
|
+
return new (n ||= Promise)((function(i, a) {
|
|
11
|
+
function o(e) {
|
|
12
|
+
try {
|
|
13
|
+
c(r.next(e));
|
|
14
|
+
} catch (e) {
|
|
15
|
+
a(e);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function s(e) {
|
|
19
|
+
try {
|
|
20
|
+
c(r.throw(e));
|
|
21
|
+
} catch (e) {
|
|
22
|
+
a(e);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function c(e) {
|
|
26
|
+
var t;
|
|
27
|
+
e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) {
|
|
28
|
+
e(t);
|
|
29
|
+
}))).then(o, s);
|
|
30
|
+
}
|
|
31
|
+
c((r = r.apply(e, t || [])).next());
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
function u(e, t) {
|
|
35
|
+
var n, r, i, a, o = {
|
|
36
|
+
label: 0,
|
|
37
|
+
sent: function() {
|
|
38
|
+
if (1 & i[0]) throw i[1];
|
|
39
|
+
return i[1];
|
|
40
|
+
},
|
|
41
|
+
trys: [],
|
|
42
|
+
ops: []
|
|
43
|
+
};
|
|
44
|
+
return a = {
|
|
45
|
+
next: s(0),
|
|
46
|
+
throw: s(1),
|
|
47
|
+
return: s(2)
|
|
48
|
+
}, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
|
|
49
|
+
return this;
|
|
50
|
+
}), a;
|
|
51
|
+
function s(a) {
|
|
52
|
+
return function(s) {
|
|
53
|
+
return function(a) {
|
|
54
|
+
if (n) throw TypeError("Generator is already executing.");
|
|
55
|
+
for (; o;) try {
|
|
56
|
+
if (n = 1, r && (i = 2 & a[0] ? r.return : a[0] ? r.throw || ((i = r.return) && i.call(r), 0) : r.next) && !(i = i.call(r, a[1])).done) return i;
|
|
57
|
+
switch (r = 0, i && (a = [2 & a[0], i.value]), a[0]) {
|
|
58
|
+
case 0:
|
|
59
|
+
case 1:
|
|
60
|
+
i = a;
|
|
61
|
+
break;
|
|
62
|
+
case 4: return o.label++, {
|
|
63
|
+
value: a[1],
|
|
64
|
+
done: !1
|
|
65
|
+
};
|
|
66
|
+
case 5:
|
|
67
|
+
o.label++, r = a[1], a = [0];
|
|
68
|
+
continue;
|
|
69
|
+
case 7:
|
|
70
|
+
a = o.ops.pop(), o.trys.pop();
|
|
71
|
+
continue;
|
|
72
|
+
default:
|
|
73
|
+
if (i = o.trys, !((i = i.length > 0 && i[i.length - 1]) || a[0] !== 6 && a[0] !== 2)) {
|
|
74
|
+
o = 0;
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
if (a[0] === 3 && (!i || a[1] > i[0] && a[1] < i[3])) {
|
|
78
|
+
o.label = a[1];
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
if (a[0] === 6 && o.label < i[1]) {
|
|
82
|
+
o.label = i[1], i = a;
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
if (i && o.label < i[2]) {
|
|
86
|
+
o.label = i[2], o.ops.push(a);
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
i[2] && o.ops.pop(), o.trys.pop();
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
a = t.call(e, o);
|
|
93
|
+
} catch (e) {
|
|
94
|
+
a = [6, e], r = 0;
|
|
95
|
+
} finally {
|
|
96
|
+
n = i = 0;
|
|
97
|
+
}
|
|
98
|
+
if (5 & a[0]) throw a[1];
|
|
99
|
+
return {
|
|
100
|
+
value: a[0] ? a[1] : void 0,
|
|
101
|
+
done: !0
|
|
102
|
+
};
|
|
103
|
+
}([a, s]);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
var d, f = function(e) {
|
|
108
|
+
var t;
|
|
109
|
+
e ? function(e) {
|
|
110
|
+
if (e) for (; e.lastChild;) e.lastChild.remove();
|
|
111
|
+
}(typeof e == "string" ? document.getElementById(e) : e) : (t = document.querySelector(".grecaptcha-badge")) && t.parentNode && document.body.removeChild(t.parentNode);
|
|
112
|
+
}, p = function(e, t) {
|
|
113
|
+
f(t), window.___grecaptcha_cfg = void 0;
|
|
114
|
+
var n = document.querySelector("#" + e);
|
|
115
|
+
n && n.remove(), function() {
|
|
116
|
+
var e = document.querySelector("script[src^=\"https://www.gstatic.com/recaptcha/releases\"]");
|
|
117
|
+
e && e.remove();
|
|
118
|
+
}();
|
|
119
|
+
}, m = function(e) {
|
|
120
|
+
var t = e.render, n = e.onLoadCallbackName, r = e.language, i = e.onLoad, a = e.useRecaptchaNet, o = e.useEnterprise, s = e.scriptProps, c = s === void 0 ? {} : s, l = c.nonce, u = l === void 0 ? "" : l, d = c.defer, f = d !== void 0 && d, p = c.async, m = p !== void 0 && p, h = c.id, g = h === void 0 ? "" : h, _ = c.appendTo, v = g || "google-recaptcha-v3";
|
|
121
|
+
if (function(e) {
|
|
122
|
+
return !!document.querySelector("#" + e);
|
|
123
|
+
}(v)) i();
|
|
124
|
+
else {
|
|
125
|
+
var y = function(e) {
|
|
126
|
+
return "https://www." + (e.useRecaptchaNet ? "recaptcha.net" : "google.com") + "/recaptcha/" + (e.useEnterprise ? "enterprise.js" : "api.js");
|
|
127
|
+
}({
|
|
128
|
+
useEnterprise: o,
|
|
129
|
+
useRecaptchaNet: a
|
|
130
|
+
}), b = document.createElement("script");
|
|
131
|
+
b.id = v, b.src = y + "?render=" + t + (t === "explicit" ? "&onload=" + n : "") + (r ? "&hl=" + r : ""), u && (b.nonce = u), b.defer = !!f, b.async = !!m, b.onload = i, (_ === "body" ? document.body : document.getElementsByTagName("head")[0]).appendChild(b);
|
|
132
|
+
}
|
|
133
|
+
}, h = function(e) {
|
|
134
|
+
typeof process < "u" && process.env && process.env.NODE_ENV !== "production" || console.warn(e);
|
|
135
|
+
};
|
|
136
|
+
(function(e) {
|
|
137
|
+
e.SCRIPT_NOT_AVAILABLE = "Recaptcha script is not available";
|
|
138
|
+
})(d ||= {});
|
|
139
|
+
var g = t({ executeRecaptcha: function() {
|
|
140
|
+
throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider");
|
|
141
|
+
} }), _ = g.Consumer;
|
|
142
|
+
function v(t) {
|
|
143
|
+
var r = t.reCaptchaKey, l = t.useEnterprise, u = l !== void 0 && l, f = t.useRecaptchaNet, _ = f !== void 0 && f, v = t.scriptProps, y = t.language, b = t.container, x = t.children, S = s(null), C = S[0], w = S[1], T = o(r);
|
|
144
|
+
i((function() {
|
|
145
|
+
if (r) {
|
|
146
|
+
var e = v?.id || "google-recaptcha-v3", t = v?.onLoadCallbackName || "onRecaptchaLoadCallback";
|
|
147
|
+
return window[t] = function() {
|
|
148
|
+
var e = u ? window.grecaptcha.enterprise : window.grecaptcha, t = c({
|
|
149
|
+
badge: "inline",
|
|
150
|
+
size: "invisible",
|
|
151
|
+
sitekey: r
|
|
152
|
+
}, b?.parameters || {});
|
|
153
|
+
T.current = e.render(b?.element, t);
|
|
154
|
+
}, m({
|
|
155
|
+
render: b?.element ? "explicit" : r,
|
|
156
|
+
onLoadCallbackName: t,
|
|
157
|
+
useEnterprise: u,
|
|
158
|
+
useRecaptchaNet: _,
|
|
159
|
+
scriptProps: v,
|
|
160
|
+
language: y,
|
|
161
|
+
onLoad: function() {
|
|
162
|
+
if (window && window.grecaptcha) {
|
|
163
|
+
var e = u ? window.grecaptcha.enterprise : window.grecaptcha;
|
|
164
|
+
e.ready((function() {
|
|
165
|
+
w(e);
|
|
166
|
+
}));
|
|
167
|
+
} else h("<GoogleRecaptchaProvider /> " + d.SCRIPT_NOT_AVAILABLE);
|
|
168
|
+
},
|
|
169
|
+
onError: function() {
|
|
170
|
+
h("Error loading google recaptcha script");
|
|
171
|
+
}
|
|
172
|
+
}), function() {
|
|
173
|
+
p(e, b?.element);
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
h("<GoogleReCaptchaProvider /> recaptcha key not provided");
|
|
177
|
+
}), [
|
|
178
|
+
u,
|
|
179
|
+
_,
|
|
180
|
+
JSON.stringify(v),
|
|
181
|
+
JSON.stringify(b?.parameters),
|
|
182
|
+
y,
|
|
183
|
+
r,
|
|
184
|
+
b?.element
|
|
185
|
+
]);
|
|
186
|
+
var E = n((function(e) {
|
|
187
|
+
if (!C || !C.execute) throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");
|
|
188
|
+
return C.execute(T.current, { action: e });
|
|
189
|
+
}), [C, T]), D = a((function() {
|
|
190
|
+
return {
|
|
191
|
+
executeRecaptcha: C ? E : void 0,
|
|
192
|
+
container: b?.element
|
|
193
|
+
};
|
|
194
|
+
}), [
|
|
195
|
+
E,
|
|
196
|
+
C,
|
|
197
|
+
b?.element
|
|
198
|
+
]);
|
|
199
|
+
return e.createElement(g.Provider, { value: D }, x);
|
|
200
|
+
}
|
|
201
|
+
var y = function() {
|
|
202
|
+
return r(g);
|
|
203
|
+
};
|
|
204
|
+
function b(t) {
|
|
205
|
+
var n = this, r = t.action, a = t.onVerify, o = t.refreshReCaptcha, s = y();
|
|
206
|
+
i((function() {
|
|
207
|
+
var e = s.executeRecaptcha;
|
|
208
|
+
e && l(n, void 0, void 0, (function() {
|
|
209
|
+
var t;
|
|
210
|
+
return u(this, (function(n) {
|
|
211
|
+
switch (n.label) {
|
|
212
|
+
case 0: return [4, e(r)];
|
|
213
|
+
case 1: return t = n.sent(), a ? (a(t), [2]) : (h("Please define an onVerify function"), [2]);
|
|
214
|
+
}
|
|
215
|
+
}));
|
|
216
|
+
}));
|
|
217
|
+
}), [
|
|
218
|
+
r,
|
|
219
|
+
a,
|
|
220
|
+
o,
|
|
221
|
+
s
|
|
222
|
+
]);
|
|
223
|
+
var c = s.container;
|
|
224
|
+
return typeof c == "string" ? e.createElement("div", { id: c }) : null;
|
|
225
|
+
}
|
|
226
|
+
function x(e, t) {
|
|
227
|
+
return e(t = { exports: {} }, t.exports), t.exports;
|
|
228
|
+
}
|
|
229
|
+
var S = typeof Symbol == "function" && Symbol.for, C = S ? Symbol.for("react.element") : 60103, w = S ? Symbol.for("react.portal") : 60106, T = S ? Symbol.for("react.fragment") : 60107, E = S ? Symbol.for("react.strict_mode") : 60108, D = S ? Symbol.for("react.profiler") : 60114, O = S ? Symbol.for("react.provider") : 60109, k = S ? Symbol.for("react.context") : 60110, A = S ? Symbol.for("react.async_mode") : 60111, j = S ? Symbol.for("react.concurrent_mode") : 60111, M = S ? Symbol.for("react.forward_ref") : 60112, N = S ? Symbol.for("react.suspense") : 60113, P = S ? Symbol.for("react.suspense_list") : 60120, F = S ? Symbol.for("react.memo") : 60115, I = S ? Symbol.for("react.lazy") : 60116, L = S ? Symbol.for("react.block") : 60121, R = S ? Symbol.for("react.fundamental") : 60117, z = S ? Symbol.for("react.responder") : 60118, B = S ? Symbol.for("react.scope") : 60119;
|
|
230
|
+
function V(e) {
|
|
231
|
+
if (typeof e == "object" && e) {
|
|
232
|
+
var t = e.$$typeof;
|
|
233
|
+
switch (t) {
|
|
234
|
+
case C: switch (e = e.type) {
|
|
235
|
+
case A:
|
|
236
|
+
case j:
|
|
237
|
+
case T:
|
|
238
|
+
case D:
|
|
239
|
+
case E:
|
|
240
|
+
case N: return e;
|
|
241
|
+
default: switch (e &&= e.$$typeof) {
|
|
242
|
+
case k:
|
|
243
|
+
case M:
|
|
244
|
+
case I:
|
|
245
|
+
case F:
|
|
246
|
+
case O: return e;
|
|
247
|
+
default: return t;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
case w: return t;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
function H(e) {
|
|
255
|
+
return V(e) === j;
|
|
256
|
+
}
|
|
257
|
+
var U = {
|
|
258
|
+
AsyncMode: A,
|
|
259
|
+
ConcurrentMode: j,
|
|
260
|
+
ContextConsumer: k,
|
|
261
|
+
ContextProvider: O,
|
|
262
|
+
Element: C,
|
|
263
|
+
ForwardRef: M,
|
|
264
|
+
Fragment: T,
|
|
265
|
+
Lazy: I,
|
|
266
|
+
Memo: F,
|
|
267
|
+
Portal: w,
|
|
268
|
+
Profiler: D,
|
|
269
|
+
StrictMode: E,
|
|
270
|
+
Suspense: N,
|
|
271
|
+
isAsyncMode: function(e) {
|
|
272
|
+
return H(e) || V(e) === A;
|
|
273
|
+
},
|
|
274
|
+
isConcurrentMode: H,
|
|
275
|
+
isContextConsumer: function(e) {
|
|
276
|
+
return V(e) === k;
|
|
277
|
+
},
|
|
278
|
+
isContextProvider: function(e) {
|
|
279
|
+
return V(e) === O;
|
|
280
|
+
},
|
|
281
|
+
isElement: function(e) {
|
|
282
|
+
return typeof e == "object" && !!e && e.$$typeof === C;
|
|
283
|
+
},
|
|
284
|
+
isForwardRef: function(e) {
|
|
285
|
+
return V(e) === M;
|
|
286
|
+
},
|
|
287
|
+
isFragment: function(e) {
|
|
288
|
+
return V(e) === T;
|
|
289
|
+
},
|
|
290
|
+
isLazy: function(e) {
|
|
291
|
+
return V(e) === I;
|
|
292
|
+
},
|
|
293
|
+
isMemo: function(e) {
|
|
294
|
+
return V(e) === F;
|
|
295
|
+
},
|
|
296
|
+
isPortal: function(e) {
|
|
297
|
+
return V(e) === w;
|
|
298
|
+
},
|
|
299
|
+
isProfiler: function(e) {
|
|
300
|
+
return V(e) === D;
|
|
301
|
+
},
|
|
302
|
+
isStrictMode: function(e) {
|
|
303
|
+
return V(e) === E;
|
|
304
|
+
},
|
|
305
|
+
isSuspense: function(e) {
|
|
306
|
+
return V(e) === N;
|
|
307
|
+
},
|
|
308
|
+
isValidElementType: function(e) {
|
|
309
|
+
return typeof e == "string" || typeof e == "function" || e === T || e === j || e === D || e === E || e === N || e === P || typeof e == "object" && !!e && (e.$$typeof === I || e.$$typeof === F || e.$$typeof === O || e.$$typeof === k || e.$$typeof === M || e.$$typeof === R || e.$$typeof === z || e.$$typeof === B || e.$$typeof === L);
|
|
310
|
+
},
|
|
311
|
+
typeOf: V
|
|
312
|
+
}, W = x((function(e, t) {
|
|
313
|
+
process.env.NODE_ENV !== "production" && function() {
|
|
314
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
315
|
+
function b(e) {
|
|
316
|
+
if (typeof e == "object" && e) {
|
|
317
|
+
var t = e.$$typeof;
|
|
318
|
+
switch (t) {
|
|
319
|
+
case n:
|
|
320
|
+
var p = e.type;
|
|
321
|
+
switch (p) {
|
|
322
|
+
case l:
|
|
323
|
+
case u:
|
|
324
|
+
case i:
|
|
325
|
+
case o:
|
|
326
|
+
case a:
|
|
327
|
+
case f: return p;
|
|
328
|
+
default:
|
|
329
|
+
var g = p && p.$$typeof;
|
|
330
|
+
switch (g) {
|
|
331
|
+
case c:
|
|
332
|
+
case d:
|
|
333
|
+
case h:
|
|
334
|
+
case m:
|
|
335
|
+
case s: return g;
|
|
336
|
+
default: return t;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
case r: return t;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
var x = l, S = u, C = c, w = s, T = n, E = d, D = i, O = h, k = m, A = r, j = o, M = a, N = f, P = !1;
|
|
344
|
+
function F(e) {
|
|
345
|
+
return b(e) === u;
|
|
346
|
+
}
|
|
347
|
+
t.AsyncMode = x, t.ConcurrentMode = S, t.ContextConsumer = C, t.ContextProvider = w, t.Element = T, t.ForwardRef = E, t.Fragment = D, t.Lazy = O, t.Memo = k, t.Portal = A, t.Profiler = j, t.StrictMode = M, t.Suspense = N, t.isAsyncMode = function(e) {
|
|
348
|
+
return P || (P = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), F(e) || b(e) === l;
|
|
349
|
+
}, t.isConcurrentMode = F, t.isContextConsumer = function(e) {
|
|
350
|
+
return b(e) === c;
|
|
351
|
+
}, t.isContextProvider = function(e) {
|
|
352
|
+
return b(e) === s;
|
|
353
|
+
}, t.isElement = function(e) {
|
|
354
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
355
|
+
}, t.isForwardRef = function(e) {
|
|
356
|
+
return b(e) === d;
|
|
357
|
+
}, t.isFragment = function(e) {
|
|
358
|
+
return b(e) === i;
|
|
359
|
+
}, t.isLazy = function(e) {
|
|
360
|
+
return b(e) === h;
|
|
361
|
+
}, t.isMemo = function(e) {
|
|
362
|
+
return b(e) === m;
|
|
363
|
+
}, t.isPortal = function(e) {
|
|
364
|
+
return b(e) === r;
|
|
365
|
+
}, t.isProfiler = function(e) {
|
|
366
|
+
return b(e) === o;
|
|
367
|
+
}, t.isStrictMode = function(e) {
|
|
368
|
+
return b(e) === a;
|
|
369
|
+
}, t.isSuspense = function(e) {
|
|
370
|
+
return b(e) === f;
|
|
371
|
+
}, t.isValidElementType = function(e) {
|
|
372
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
373
|
+
}, t.typeOf = b;
|
|
374
|
+
}();
|
|
375
|
+
})), G = (W.AsyncMode, W.ConcurrentMode, W.ContextConsumer, W.ContextProvider, W.Element, W.ForwardRef, W.Fragment, W.Lazy, W.Memo, W.Portal, W.Profiler, W.StrictMode, W.Suspense, W.isAsyncMode, W.isConcurrentMode, W.isContextConsumer, W.isContextProvider, W.isElement, W.isForwardRef, W.isFragment, W.isLazy, W.isMemo, W.isPortal, W.isProfiler, W.isStrictMode, W.isSuspense, W.isValidElementType, W.typeOf, x((function(e) {
|
|
376
|
+
process.env.NODE_ENV === "production" ? e.exports = U : e.exports = W;
|
|
377
|
+
}))), K = {
|
|
378
|
+
childContextTypes: !0,
|
|
379
|
+
contextType: !0,
|
|
380
|
+
contextTypes: !0,
|
|
381
|
+
defaultProps: !0,
|
|
382
|
+
displayName: !0,
|
|
383
|
+
getDefaultProps: !0,
|
|
384
|
+
getDerivedStateFromError: !0,
|
|
385
|
+
getDerivedStateFromProps: !0,
|
|
386
|
+
mixins: !0,
|
|
387
|
+
propTypes: !0,
|
|
388
|
+
type: !0
|
|
389
|
+
}, q = {
|
|
390
|
+
name: !0,
|
|
391
|
+
length: !0,
|
|
392
|
+
prototype: !0,
|
|
393
|
+
caller: !0,
|
|
394
|
+
callee: !0,
|
|
395
|
+
arguments: !0,
|
|
396
|
+
arity: !0
|
|
397
|
+
}, J = {
|
|
398
|
+
$$typeof: !0,
|
|
399
|
+
compare: !0,
|
|
400
|
+
defaultProps: !0,
|
|
401
|
+
displayName: !0,
|
|
402
|
+
propTypes: !0,
|
|
403
|
+
type: !0
|
|
404
|
+
}, Y = {};
|
|
405
|
+
function X(e) {
|
|
406
|
+
return G.isMemo(e) ? J : Y[e.$$typeof] || K;
|
|
407
|
+
}
|
|
408
|
+
Y[G.ForwardRef] = {
|
|
409
|
+
$$typeof: !0,
|
|
410
|
+
render: !0,
|
|
411
|
+
defaultProps: !0,
|
|
412
|
+
displayName: !0,
|
|
413
|
+
propTypes: !0
|
|
414
|
+
}, Y[G.Memo] = J;
|
|
415
|
+
var Z = Object.defineProperty, ee = Object.getOwnPropertyNames, Q = Object.getOwnPropertySymbols, te = Object.getOwnPropertyDescriptor, ne = Object.getPrototypeOf, $ = Object.prototype, re = function e(t, n, r) {
|
|
416
|
+
if (typeof n != "string") {
|
|
417
|
+
if ($) {
|
|
418
|
+
var i = ne(n);
|
|
419
|
+
i && i !== $ && e(t, i, r);
|
|
420
|
+
}
|
|
421
|
+
var a = ee(n);
|
|
422
|
+
Q && (a = a.concat(Q(n)));
|
|
423
|
+
for (var o = X(t), s = X(n), c = 0; c < a.length; ++c) {
|
|
424
|
+
var l = a[c];
|
|
425
|
+
if (!(q[l] || r && r[l] || s && s[l] || o && o[l])) {
|
|
426
|
+
var u = te(n, l);
|
|
427
|
+
try {
|
|
428
|
+
Z(t, l, u);
|
|
429
|
+
} catch {}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
return t;
|
|
434
|
+
}, ie = function(t) {
|
|
435
|
+
var n = function(n) {
|
|
436
|
+
return e.createElement(_, null, (function(r) {
|
|
437
|
+
return e.createElement(t, c({}, n, { googleReCaptchaProps: r }));
|
|
438
|
+
}));
|
|
439
|
+
};
|
|
440
|
+
return n.displayName = "withGoogleReCaptcha(" + (t.displayName || t.name || "Component") + ")", re(n, t), n;
|
|
441
|
+
};
|
|
442
|
+
//#endregion
|
|
443
|
+
export { b as GoogleReCaptcha, _ as GoogleReCaptchaConsumer, g as GoogleReCaptchaContext, v as GoogleReCaptchaProvider, y as useGoogleReCaptcha, ie as withGoogleReCaptcha };
|
|
444
|
+
|
|
445
|
+
//# sourceMappingURL=react-google-recaptcha-v3.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-google-recaptcha-v3.esm.js","names":["t","r","o","a","c","i"],"sources":["../../../../node_modules/react-google-recaptcha-v3/dist/react-google-recaptcha-v3.esm.js"],"sourcesContent":["import e,{createContext as t,useState as r,useRef as o,useEffect as n,useCallback as a,useMemo as c,useContext as i}from\"react\";\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */var s=function(){return s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},s.apply(this,arguments)};function u(e,t,r,o){return new(r||(r=Promise))((function(n,a){function c(e){try{s(o.next(e))}catch(e){a(e)}}function i(e){try{s(o.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,i)}s((o=o.apply(e,t||[])).next())}))}function l(e,t){var r,o,n,a,c={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},\"function\"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError(\"Generator is already executing.\");for(;c;)try{if(r=1,o&&(n=2&a[0]?o.return:a[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;switch(o=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,o=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!(n=c.trys,(n=n.length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){c.label=a[1];break}if(6===a[0]&&c.label<n[1]){c.label=n[1],n=a;break}if(n&&c.label<n[2]){c.label=n[2],c.ops.push(a);break}n[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(e){a=[6,e],o=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}var f,p=function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}(\"string\"==typeof e?document.getElementById(e):e):(t=document.querySelector(\".grecaptcha-badge\"))&&t.parentNode&&document.body.removeChild(t.parentNode)},d=function(e,t){p(t),window.___grecaptcha_cfg=void 0;var r=document.querySelector(\"#\"+e);r&&r.remove(),function(){var e=document.querySelector('script[src^=\"https://www.gstatic.com/recaptcha/releases\"]');e&&e.remove()}()},y=function(e){var t=e.render,r=e.onLoadCallbackName,o=e.language,n=e.onLoad,a=e.useRecaptchaNet,c=e.useEnterprise,i=e.scriptProps,s=void 0===i?{}:i,u=s.nonce,l=void 0===u?\"\":u,f=s.defer,p=void 0!==f&&f,d=s.async,y=void 0!==d&&d,m=s.id,v=void 0===m?\"\":m,b=s.appendTo,h=v||\"google-recaptcha-v3\";if(function(e){return!!document.querySelector(\"#\"+e)}(h))n();else{var g=function(e){return\"https://www.\"+(e.useRecaptchaNet?\"recaptcha.net\":\"google.com\")+\"/recaptcha/\"+(e.useEnterprise?\"enterprise.js\":\"api.js\")}({useEnterprise:c,useRecaptchaNet:a}),S=document.createElement(\"script\");S.id=h,S.src=g+\"?render=\"+t+(\"explicit\"===t?\"&onload=\"+r:\"\")+(o?\"&hl=\"+o:\"\"),l&&(S.nonce=l),S.defer=!!p,S.async=!!y,S.onload=n,(\"body\"===b?document.body:document.getElementsByTagName(\"head\")[0]).appendChild(S)}},m=function(e){\"undefined\"!=typeof process&&!!process.env&&\"production\"!==process.env.NODE_ENV||console.warn(e)};!function(e){e.SCRIPT_NOT_AVAILABLE=\"Recaptcha script is not available\"}(f||(f={}));var v=t({executeRecaptcha:function(){throw Error(\"GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider\")}}),b=v.Consumer;function h(t){var i=t.reCaptchaKey,u=t.useEnterprise,l=void 0!==u&&u,p=t.useRecaptchaNet,b=void 0!==p&&p,h=t.scriptProps,g=t.language,S=t.container,w=t.children,$=r(null),C=$[0],P=$[1],x=o(i),E=JSON.stringify(h),R=JSON.stringify(null==S?void 0:S.parameters);n((function(){if(i){var e=(null==h?void 0:h.id)||\"google-recaptcha-v3\",t=(null==h?void 0:h.onLoadCallbackName)||\"onRecaptchaLoadCallback\";window[t]=function(){var e=l?window.grecaptcha.enterprise:window.grecaptcha,t=s({badge:\"inline\",size:\"invisible\",sitekey:i},(null==S?void 0:S.parameters)||{});x.current=e.render(null==S?void 0:S.element,t)};return y({render:(null==S?void 0:S.element)?\"explicit\":i,onLoadCallbackName:t,useEnterprise:l,useRecaptchaNet:b,scriptProps:h,language:g,onLoad:function(){if(window&&window.grecaptcha){var e=l?window.grecaptcha.enterprise:window.grecaptcha;e.ready((function(){P(e)}))}else m(\"<GoogleRecaptchaProvider /> \"+f.SCRIPT_NOT_AVAILABLE)},onError:function(){m(\"Error loading google recaptcha script\")}}),function(){d(e,null==S?void 0:S.element)}}m(\"<GoogleReCaptchaProvider /> recaptcha key not provided\")}),[l,b,E,R,g,i,null==S?void 0:S.element]);var M=a((function(e){if(!C||!C.execute)throw new Error(\"<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded\");return C.execute(x.current,{action:e})}),[C,x]),N=c((function(){return{executeRecaptcha:C?M:void 0,container:null==S?void 0:S.element}}),[M,C,null==S?void 0:S.element]);return e.createElement(v.Provider,{value:N},w)}var g=function(){return i(v)};function S(t){var r=this,o=t.action,a=t.onVerify,c=t.refreshReCaptcha,i=g();n((function(){var e=i.executeRecaptcha;if(e){u(r,void 0,void 0,(function(){var t;return l(this,(function(r){switch(r.label){case 0:return[4,e(o)];case 1:return t=r.sent(),a?(a(t),[2]):(m(\"Please define an onVerify function\"),[2])}}))}))}}),[o,a,c,i]);var s=i.container;return\"string\"==typeof s?e.createElement(\"div\",{id:s}):null}function w(e,t){return e(t={exports:{}},t.exports),t.exports\n/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */}var $=\"function\"==typeof Symbol&&Symbol.for,C=$?Symbol.for(\"react.element\"):60103,P=$?Symbol.for(\"react.portal\"):60106,x=$?Symbol.for(\"react.fragment\"):60107,E=$?Symbol.for(\"react.strict_mode\"):60108,R=$?Symbol.for(\"react.profiler\"):60114,M=$?Symbol.for(\"react.provider\"):60109,N=$?Symbol.for(\"react.context\"):60110,O=$?Symbol.for(\"react.async_mode\"):60111,_=$?Symbol.for(\"react.concurrent_mode\"):60111,T=$?Symbol.for(\"react.forward_ref\"):60112,j=$?Symbol.for(\"react.suspense\"):60113,L=$?Symbol.for(\"react.suspense_list\"):60120,k=$?Symbol.for(\"react.memo\"):60115,F=$?Symbol.for(\"react.lazy\"):60116,A=$?Symbol.for(\"react.block\"):60121,V=$?Symbol.for(\"react.fundamental\"):60117,z=$?Symbol.for(\"react.responder\"):60118,G=$?Symbol.for(\"react.scope\"):60119;function I(e){if(\"object\"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case C:switch(e=e.type){case O:case _:case x:case R:case E:case j:return e;default:switch(e=e&&e.$$typeof){case N:case T:case F:case k:case M:return e;default:return t}}case P:return t}}}function D(e){return I(e)===_}var q={AsyncMode:O,ConcurrentMode:_,ContextConsumer:N,ContextProvider:M,Element:C,ForwardRef:T,Fragment:x,Lazy:F,Memo:k,Portal:P,Profiler:R,StrictMode:E,Suspense:j,isAsyncMode:function(e){return D(e)||I(e)===O},isConcurrentMode:D,isContextConsumer:function(e){return I(e)===N},isContextProvider:function(e){return I(e)===M},isElement:function(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===C},isForwardRef:function(e){return I(e)===T},isFragment:function(e){return I(e)===x},isLazy:function(e){return I(e)===F},isMemo:function(e){return I(e)===k},isPortal:function(e){return I(e)===P},isProfiler:function(e){return I(e)===R},isStrictMode:function(e){return I(e)===E},isSuspense:function(e){return I(e)===j},isValidElementType:function(e){return\"string\"==typeof e||\"function\"==typeof e||e===x||e===_||e===R||e===E||e===j||e===L||\"object\"==typeof e&&null!==e&&(e.$$typeof===F||e.$$typeof===k||e.$$typeof===M||e.$$typeof===N||e.$$typeof===T||e.$$typeof===V||e.$$typeof===z||e.$$typeof===G||e.$$typeof===A)},typeOf:I},B=w((function(e,t){\"production\"!==process.env.NODE_ENV&&function(){var e=\"function\"==typeof Symbol&&Symbol.for,r=e?Symbol.for(\"react.element\"):60103,o=e?Symbol.for(\"react.portal\"):60106,n=e?Symbol.for(\"react.fragment\"):60107,a=e?Symbol.for(\"react.strict_mode\"):60108,c=e?Symbol.for(\"react.profiler\"):60114,i=e?Symbol.for(\"react.provider\"):60109,s=e?Symbol.for(\"react.context\"):60110,u=e?Symbol.for(\"react.async_mode\"):60111,l=e?Symbol.for(\"react.concurrent_mode\"):60111,f=e?Symbol.for(\"react.forward_ref\"):60112,p=e?Symbol.for(\"react.suspense\"):60113,d=e?Symbol.for(\"react.suspense_list\"):60120,y=e?Symbol.for(\"react.memo\"):60115,m=e?Symbol.for(\"react.lazy\"):60116,v=e?Symbol.for(\"react.block\"):60121,b=e?Symbol.for(\"react.fundamental\"):60117,h=e?Symbol.for(\"react.responder\"):60118,g=e?Symbol.for(\"react.scope\"):60119;function S(e){if(\"object\"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var d=e.type;switch(d){case u:case l:case n:case c:case a:case p:return d;default:var v=d&&d.$$typeof;switch(v){case s:case f:case m:case y:case i:return v;default:return t}}case o:return t}}}var w=u,$=l,C=s,P=i,x=r,E=f,R=n,M=m,N=y,O=o,_=c,T=a,j=p,L=!1;function k(e){return S(e)===l}t.AsyncMode=w,t.ConcurrentMode=$,t.ContextConsumer=C,t.ContextProvider=P,t.Element=x,t.ForwardRef=E,t.Fragment=R,t.Lazy=M,t.Memo=N,t.Portal=O,t.Profiler=_,t.StrictMode=T,t.Suspense=j,t.isAsyncMode=function(e){return L||(L=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.\")),k(e)||S(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===s},t.isContextProvider=function(e){return S(e)===i},t.isElement=function(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===n},t.isLazy=function(e){return S(e)===m},t.isMemo=function(e){return S(e)===y},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===c},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return\"string\"==typeof e||\"function\"==typeof e||e===n||e===l||e===c||e===a||e===p||e===d||\"object\"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===i||e.$$typeof===s||e.$$typeof===f||e.$$typeof===b||e.$$typeof===h||e.$$typeof===g||e.$$typeof===v)},t.typeOf=S}()})),J=(B.AsyncMode,B.ConcurrentMode,B.ContextConsumer,B.ContextProvider,B.Element,B.ForwardRef,B.Fragment,B.Lazy,B.Memo,B.Portal,B.Profiler,B.StrictMode,B.Suspense,B.isAsyncMode,B.isConcurrentMode,B.isContextConsumer,B.isContextProvider,B.isElement,B.isForwardRef,B.isFragment,B.isLazy,B.isMemo,B.isPortal,B.isProfiler,B.isStrictMode,B.isSuspense,B.isValidElementType,B.typeOf,w((function(e){\"production\"===process.env.NODE_ENV?e.exports=q:e.exports=B}))),K={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},U={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Q={};function W(e){return J.isMemo(e)?H:Q[e.$$typeof]||K}Q[J.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q[J.Memo]=H;var X=Object.defineProperty,Y=Object.getOwnPropertyNames,Z=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,re=Object.prototype;var oe=function e(t,r,o){if(\"string\"!=typeof r){if(re){var n=te(r);n&&n!==re&&e(t,n,o)}var a=Y(r);Z&&(a=a.concat(Z(r)));for(var c=W(t),i=W(r),s=0;s<a.length;++s){var u=a[s];if(!(U[u]||o&&o[u]||i&&i[u]||c&&c[u])){var l=ee(r,u);try{X(t,u,l)}catch(e){}}}}return t},ne=function(t){var r=function(r){return e.createElement(b,null,(function(o){return e.createElement(t,s({},r,{googleReCaptchaProps:o}))}))};return r.displayName=\"withGoogleReCaptcha(\"+(t.displayName||t.name||\"Component\")+\")\",oe(r,t),r};export{S as GoogleReCaptcha,b as GoogleReCaptchaConsumer,v as GoogleReCaptchaContext,h as GoogleReCaptchaProvider,g as useGoogleReCaptcha,ne as withGoogleReCaptcha};\n//# sourceMappingURL=react-google-recaptcha-v3.esm.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAcgF,IAA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+
process.env.NODE_ENV !== "production" && (function() {
|
|
5
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
6
|
+
function b(e) {
|
|
7
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
8
|
+
}
|
|
9
|
+
function x(e) {
|
|
10
|
+
if (typeof e == "object" && e) {
|
|
11
|
+
var t = e.$$typeof;
|
|
12
|
+
switch (t) {
|
|
13
|
+
case n:
|
|
14
|
+
var p = e.type;
|
|
15
|
+
switch (p) {
|
|
16
|
+
case l:
|
|
17
|
+
case u:
|
|
18
|
+
case i:
|
|
19
|
+
case o:
|
|
20
|
+
case a:
|
|
21
|
+
case f: return p;
|
|
22
|
+
default:
|
|
23
|
+
var g = p && p.$$typeof;
|
|
24
|
+
switch (g) {
|
|
25
|
+
case c:
|
|
26
|
+
case d:
|
|
27
|
+
case h:
|
|
28
|
+
case m:
|
|
29
|
+
case s: return g;
|
|
30
|
+
default: return t;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
case r: return t;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
var S = l, C = u, w = c, T = s, E = n, D = d, O = i, k = h, A = m, j = r, M = o, N = a, P = f, F = !1;
|
|
38
|
+
function I(e) {
|
|
39
|
+
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(e) || x(e) === l;
|
|
40
|
+
}
|
|
41
|
+
function L(e) {
|
|
42
|
+
return x(e) === u;
|
|
43
|
+
}
|
|
44
|
+
function R(e) {
|
|
45
|
+
return x(e) === c;
|
|
46
|
+
}
|
|
47
|
+
function z(e) {
|
|
48
|
+
return x(e) === s;
|
|
49
|
+
}
|
|
50
|
+
function B(e) {
|
|
51
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
52
|
+
}
|
|
53
|
+
function V(e) {
|
|
54
|
+
return x(e) === d;
|
|
55
|
+
}
|
|
56
|
+
function H(e) {
|
|
57
|
+
return x(e) === i;
|
|
58
|
+
}
|
|
59
|
+
function U(e) {
|
|
60
|
+
return x(e) === h;
|
|
61
|
+
}
|
|
62
|
+
function W(e) {
|
|
63
|
+
return x(e) === m;
|
|
64
|
+
}
|
|
65
|
+
function G(e) {
|
|
66
|
+
return x(e) === r;
|
|
67
|
+
}
|
|
68
|
+
function K(e) {
|
|
69
|
+
return x(e) === o;
|
|
70
|
+
}
|
|
71
|
+
function q(e) {
|
|
72
|
+
return x(e) === a;
|
|
73
|
+
}
|
|
74
|
+
function J(e) {
|
|
75
|
+
return x(e) === f;
|
|
76
|
+
}
|
|
77
|
+
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = L, e.isContextConsumer = R, e.isContextProvider = z, e.isElement = B, e.isForwardRef = V, e.isFragment = H, e.isLazy = U, e.isMemo = W, e.isPortal = G, e.isProfiler = K, e.isStrictMode = q, e.isSuspense = J, e.isValidElementType = b, e.typeOf = x;
|
|
78
|
+
})();
|
|
79
|
+
}));
|
|
80
|
+
//#endregion
|
|
81
|
+
export default t();
|
|
82
|
+
export { t as require_react_is_development };
|
|
83
|
+
|
|
84
|
+
//# sourceMappingURL=react-is.development.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-is.development.js","names":[],"sources":["../../../../node_modules/react-is/cjs/react-is.development.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\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AK;;EAE5B,SAAS,EAAS,GAAQ;AACxB,UAAO,EAAO,EAAO,KAAK;;EAE5B,SAAS,EAAW,GAAQ;AAC1B,UAAO,EAAO,EAAO,KAAK;;EAE5B,SAAS,EAAa,GAAQ;AAC5B,UAAO,EAAO,EAAO,KAAK;;EAE5B,SAAS,EAAW,GAAQ;AAC1B,UAAO,EAAO,EAAO,KAAK;;AA8B5B,EA3BA,EAAQ,YAAY,GACpB,EAAQ,iBAAiB,GACzB,EAAQ,kBAAkB,GAC1B,EAAQ,kBAAkB,GAC1B,EAAQ,UAAU,GAClB,EAAQ,aAAa,GACrB,EAAQ,WAAW,GACnB,EAAQ,OAAO,GACf,EAAQ,OAAO,GACf,EAAQ,SAAS,GACjB,EAAQ,WAAW,GACnB,EAAQ,aAAa,GACrB,EAAQ,WAAW,GACnB,EAAQ,cAAc,GACtB,EAAQ,mBAAmB,GAC3B,EAAQ,oBAAoB,GAC5B,EAAQ,oBAAoB,GAC5B,EAAQ,YAAY,GACpB,EAAQ,eAAe,GACvB,EAAQ,aAAa,GACrB,EAAQ,SAAS,GACjB,EAAQ,SAAS,GACjB,EAAQ,WAAW,GACnB,EAAQ,aAAa,GACrB,EAAQ,eAAe,GACvB,EAAQ,aAAa,GACrB,EAAQ,qBAAqB,GAC7B,EAAQ,SAAS;KACX"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region node_modules/react-is/cjs/react-is.production.min.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
5
|
+
function b(e) {
|
|
6
|
+
if (typeof e == "object" && e) {
|
|
7
|
+
var t = e.$$typeof;
|
|
8
|
+
switch (t) {
|
|
9
|
+
case n: switch (e = e.type, e) {
|
|
10
|
+
case l:
|
|
11
|
+
case u:
|
|
12
|
+
case i:
|
|
13
|
+
case o:
|
|
14
|
+
case a:
|
|
15
|
+
case f: return e;
|
|
16
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
17
|
+
case c:
|
|
18
|
+
case d:
|
|
19
|
+
case h:
|
|
20
|
+
case m:
|
|
21
|
+
case s: return e;
|
|
22
|
+
default: return t;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
case r: return t;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function x(e) {
|
|
30
|
+
return b(e) === u;
|
|
31
|
+
}
|
|
32
|
+
e.AsyncMode = l, e.ConcurrentMode = u, e.ContextConsumer = c, e.ContextProvider = s, e.Element = n, e.ForwardRef = d, e.Fragment = i, e.Lazy = h, e.Memo = m, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = f, e.isAsyncMode = function(e) {
|
|
33
|
+
return x(e) || b(e) === l;
|
|
34
|
+
}, e.isConcurrentMode = x, e.isContextConsumer = function(e) {
|
|
35
|
+
return b(e) === c;
|
|
36
|
+
}, e.isContextProvider = function(e) {
|
|
37
|
+
return b(e) === s;
|
|
38
|
+
}, e.isElement = function(e) {
|
|
39
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
40
|
+
}, e.isForwardRef = function(e) {
|
|
41
|
+
return b(e) === d;
|
|
42
|
+
}, e.isFragment = function(e) {
|
|
43
|
+
return b(e) === i;
|
|
44
|
+
}, e.isLazy = function(e) {
|
|
45
|
+
return b(e) === h;
|
|
46
|
+
}, e.isMemo = function(e) {
|
|
47
|
+
return b(e) === m;
|
|
48
|
+
}, e.isPortal = function(e) {
|
|
49
|
+
return b(e) === r;
|
|
50
|
+
}, e.isProfiler = function(e) {
|
|
51
|
+
return b(e) === o;
|
|
52
|
+
}, e.isStrictMode = function(e) {
|
|
53
|
+
return b(e) === a;
|
|
54
|
+
}, e.isSuspense = function(e) {
|
|
55
|
+
return b(e) === f;
|
|
56
|
+
}, e.isValidElementType = function(e) {
|
|
57
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
58
|
+
}, e.typeOf = b;
|
|
59
|
+
}));
|
|
60
|
+
//#endregion
|
|
61
|
+
export default t();
|
|
62
|
+
export { t as require_react_is_production_min };
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=react-is.production.min.js.map
|