@prosopo/procaptcha-bundle 0.3.5 → 0.3.36
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/dist/bundle/{Captcha-Cx0ArXYl.js → Captcha-1upZQDQF.js} +11 -11
- package/dist/bundle/{ProcaptchaWidget-DDAodo6R.js → ProcaptchaWidget-wUItdOkp.js} +321 -322
- package/dist/bundle/{index-HgeMtpKw.js → index-D8kIYYhv.js} +129 -128
- package/dist/bundle/procaptcha.bundle.js +1 -1
- package/dist/bundle/{utils-CfklpKIj.js → utils-D1z4XROV.js} +1368 -1367
- package/dist/cjs/account/dist/extension/ExtensionWeb2.cjs +1 -1
- package/package.json +8 -7
- package/stats.html +1 -1
|
@@ -2929,7 +2929,7 @@ var L;
|
|
|
2929
2929
|
})(L || (L = {}));
|
|
2930
2930
|
const Bh = (e, t = {
|
|
2931
2931
|
message: `Input not instance of ${e.name}`
|
|
2932
|
-
}) => pd((n) => n instanceof e, t), I = at.create,
|
|
2932
|
+
}) => pd((n) => n instanceof e, t), I = at.create, Q = en.create, Hh = So.create, Qh = tn.create, Jo = Zr.create, Kh = Sn.create, Gh = go.create, pl = Wr.create, qh = br.create, Yh = tr.create, Xh = gn.create, Jh = It.create, em = wo.create, At = st.create, K = oe.create, tm = oe.strictCreate, Xr = Br.create, nm = Xo.create, rm = Hr.create, im = xt.create, _s = Qr.create, om = _o.create, am = xn.create, lm = Qn.create, sm = Kr.create, hn = Gr.create, Ei = nn.create, ks = qr.create, um = nr.create, Nu = dt.create, cm = Ot.create, dm = En.create, fm = dt.createWithPreprocess, pm = xi.create, hm = () => I().optional(), mm = () => Q().optional(), vm = () => Jo().optional(), ym = {
|
|
2933
2933
|
string: (e) => at.create({ ...e, coerce: !0 }),
|
|
2934
2934
|
number: (e) => en.create({ ...e, coerce: !0 }),
|
|
2935
2935
|
boolean: (e) => Zr.create({
|
|
@@ -3029,8 +3029,8 @@ var _0 = /* @__PURE__ */ Object.freeze({
|
|
|
3029
3029
|
never: Jh,
|
|
3030
3030
|
null: qh,
|
|
3031
3031
|
nullable: dm,
|
|
3032
|
-
number:
|
|
3033
|
-
object:
|
|
3032
|
+
number: Q,
|
|
3033
|
+
object: K,
|
|
3034
3034
|
oboolean: vm,
|
|
3035
3035
|
onumber: mm,
|
|
3036
3036
|
optional: cm,
|
|
@@ -3062,14 +3062,14 @@ const wm = (e, t) => {
|
|
|
3062
3062
|
hn("ed25519"),
|
|
3063
3063
|
hn("ecdsa"),
|
|
3064
3064
|
hn("ethereum")
|
|
3065
|
-
]), _m =
|
|
3065
|
+
]), _m = K({
|
|
3066
3066
|
endpoint: I().url(),
|
|
3067
|
-
contract:
|
|
3067
|
+
contract: K({
|
|
3068
3068
|
address: I(),
|
|
3069
3069
|
name: I()
|
|
3070
3070
|
}),
|
|
3071
3071
|
pairType: hd,
|
|
3072
|
-
ss58Format:
|
|
3072
|
+
ss58Format: Q().positive().default(42)
|
|
3073
3073
|
}), km = wm(wn, _m.required({
|
|
3074
3074
|
endpoint: !0,
|
|
3075
3075
|
pairType: !0,
|
|
@@ -3104,68 +3104,68 @@ const wm = (e, t) => {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
}), Ou = Ei(["trace", "debug", "info", "warn", "error", "fatal", "log"]);
|
|
3106
3106
|
Ei(["mongo", "mongoMemory"]);
|
|
3107
|
-
const Eo = Ei(["development", "staging", "production"]), xm = _s(Eo,
|
|
3107
|
+
const Eo = Ei(["development", "staging", "production"]), xm = _s(Eo, K({
|
|
3108
3108
|
type: I(),
|
|
3109
3109
|
endpoint: I(),
|
|
3110
3110
|
dbname: I(),
|
|
3111
3111
|
authSource: I()
|
|
3112
|
-
})), Em =
|
|
3113
|
-
interval:
|
|
3114
|
-
maxBatchExtrinsicPercentage:
|
|
3115
|
-
}), Cm =
|
|
3112
|
+
})), Em = K({
|
|
3113
|
+
interval: Q().positive().optional().default(300),
|
|
3114
|
+
maxBatchExtrinsicPercentage: Q().positive().optional().default(59)
|
|
3115
|
+
}), Cm = K({
|
|
3116
3116
|
logLevel: Ou.optional().default(Ou.enum.info),
|
|
3117
3117
|
defaultEnvironment: Eo.default(Eo.Values.production),
|
|
3118
3118
|
defaultNetwork: wn.default(wn.Values.rococo),
|
|
3119
|
-
account:
|
|
3119
|
+
account: K({
|
|
3120
3120
|
address: I().optional(),
|
|
3121
3121
|
secret: I().optional(),
|
|
3122
3122
|
password: I().optional()
|
|
3123
3123
|
})
|
|
3124
|
-
}), md = Cm.merge(
|
|
3124
|
+
}), md = Cm.merge(K({
|
|
3125
3125
|
networks: km.default(Sm),
|
|
3126
3126
|
database: xm.optional(),
|
|
3127
3127
|
devOnlyWatchEvents: Jo().optional()
|
|
3128
|
-
})), Tm =
|
|
3129
|
-
solved:
|
|
3130
|
-
count:
|
|
3128
|
+
})), Tm = K({
|
|
3129
|
+
solved: K({
|
|
3130
|
+
count: Q().positive()
|
|
3131
3131
|
}).optional().default({ count: 1 }),
|
|
3132
|
-
unsolved:
|
|
3133
|
-
count:
|
|
3132
|
+
unsolved: K({
|
|
3133
|
+
count: Q().nonnegative()
|
|
3134
3134
|
}).optional().default({ count: 1 })
|
|
3135
|
-
}), Pm =
|
|
3135
|
+
}), Pm = K({
|
|
3136
3136
|
baseURL: I().url(),
|
|
3137
|
-
port:
|
|
3138
|
-
}), Nm =
|
|
3139
|
-
requiredNumberOfSolutions:
|
|
3140
|
-
solutionWinningPercentage:
|
|
3141
|
-
captchaBlockRecency:
|
|
3142
|
-
}), vd = md.merge(
|
|
3137
|
+
port: Q().optional().default(9229)
|
|
3138
|
+
}), Nm = K({
|
|
3139
|
+
requiredNumberOfSolutions: Q().positive().min(2),
|
|
3140
|
+
solutionWinningPercentage: Q().positive().max(100),
|
|
3141
|
+
captchaBlockRecency: Q().positive().min(2)
|
|
3142
|
+
}), vd = md.merge(K({
|
|
3143
3143
|
userAccountAddress: I().optional(),
|
|
3144
3144
|
web2: Jo().optional().default(!0),
|
|
3145
|
-
solutionThreshold:
|
|
3145
|
+
solutionThreshold: Q().positive().max(100).optional().default(80),
|
|
3146
3146
|
dappName: I().optional().default("ProsopoClientDapp"),
|
|
3147
3147
|
serverUrl: I().optional()
|
|
3148
3148
|
}));
|
|
3149
|
-
vd.merge(
|
|
3149
|
+
vd.merge(K({
|
|
3150
3150
|
serverUrl: I().url().optional()
|
|
3151
3151
|
}));
|
|
3152
|
-
const Om =
|
|
3153
|
-
area:
|
|
3154
|
-
width:
|
|
3155
|
-
height:
|
|
3152
|
+
const Om = K({
|
|
3153
|
+
area: K({
|
|
3154
|
+
width: Q().positive(),
|
|
3155
|
+
height: Q().positive()
|
|
3156
3156
|
}),
|
|
3157
|
-
offsetParameter:
|
|
3158
|
-
multiplier:
|
|
3159
|
-
fontSizeFactor:
|
|
3160
|
-
maxShadowBlur:
|
|
3161
|
-
numberOfRounds:
|
|
3162
|
-
seed:
|
|
3163
|
-
}), Rm = Xr([hn("light"), hn("dark")]), Im = vd.and(
|
|
3157
|
+
offsetParameter: Q().positive(),
|
|
3158
|
+
multiplier: Q().positive(),
|
|
3159
|
+
fontSizeFactor: Q().positive(),
|
|
3160
|
+
maxShadowBlur: Q().positive(),
|
|
3161
|
+
numberOfRounds: Q().positive(),
|
|
3162
|
+
seed: Q().positive()
|
|
3163
|
+
}), Rm = Xr([hn("light"), hn("dark")]), Im = vd.and(K({
|
|
3164
3164
|
accountCreator: Om.optional(),
|
|
3165
3165
|
theme: Rm.optional(),
|
|
3166
|
-
challengeValidLength:
|
|
3166
|
+
challengeValidLength: Q().positive().optional()
|
|
3167
3167
|
}));
|
|
3168
|
-
md.merge(
|
|
3168
|
+
md.merge(K({
|
|
3169
3169
|
captchas: Tm.optional().default({
|
|
3170
3170
|
solved: { count: 1 },
|
|
3171
3171
|
unsolved: { count: 0 }
|
|
@@ -3220,14 +3220,14 @@ var Ru;
|
|
|
3220
3220
|
(function(e) {
|
|
3221
3221
|
e.Solved = "solved", e.Unsolved = "unsolved";
|
|
3222
3222
|
})(Ru || (Ru = {}));
|
|
3223
|
-
const Mm =
|
|
3223
|
+
const Mm = K({
|
|
3224
3224
|
captchaId: Xr([I(), pl()]),
|
|
3225
3225
|
captchaContentId: Xr([I(), pl()]),
|
|
3226
3226
|
salt: I().min(34),
|
|
3227
|
-
solution:
|
|
3228
|
-
unlabelled:
|
|
3229
|
-
timeLimit:
|
|
3230
|
-
}), gd =
|
|
3227
|
+
solution: Q().array().optional(),
|
|
3228
|
+
unlabelled: Q().array().optional(),
|
|
3229
|
+
timeLimit: Q().optional()
|
|
3230
|
+
}), gd = K({
|
|
3231
3231
|
hash: I(),
|
|
3232
3232
|
data: I(),
|
|
3233
3233
|
type: ks(ml)
|
|
@@ -3244,28 +3244,28 @@ const Mm = Q({
|
|
|
3244
3244
|
solution: I().array().optional(),
|
|
3245
3245
|
unlabelled: I().array().optional()
|
|
3246
3246
|
}), Dm = Am.extend({
|
|
3247
|
-
solution:
|
|
3248
|
-
unlabelled:
|
|
3247
|
+
solution: Q().array().optional(),
|
|
3248
|
+
unlabelled: Q().array().optional()
|
|
3249
3249
|
}), $m = At(_d);
|
|
3250
3250
|
At(Dm);
|
|
3251
|
-
const kd =
|
|
3251
|
+
const kd = K({
|
|
3252
3252
|
captchaId: I(),
|
|
3253
3253
|
captchaContentId: I(),
|
|
3254
3254
|
solution: I().array(),
|
|
3255
3255
|
salt: I().min(34)
|
|
3256
3256
|
});
|
|
3257
3257
|
At(kd);
|
|
3258
|
-
|
|
3258
|
+
K({
|
|
3259
3259
|
items: At(jm)
|
|
3260
3260
|
});
|
|
3261
|
-
|
|
3261
|
+
K({
|
|
3262
3262
|
items: At(zm)
|
|
3263
3263
|
});
|
|
3264
|
-
|
|
3264
|
+
K({
|
|
3265
3265
|
captchas: $m,
|
|
3266
3266
|
format: ks(hl)
|
|
3267
3267
|
});
|
|
3268
|
-
|
|
3268
|
+
K({
|
|
3269
3269
|
labels: At(I())
|
|
3270
3270
|
});
|
|
3271
3271
|
var Iu;
|
|
@@ -3276,41 +3276,42 @@ var Lu;
|
|
|
3276
3276
|
(function(e) {
|
|
3277
3277
|
e.BatchCommit = "/v1/prosopo/provider/admin/batch", e.UpdateDataset = "/v1/prosopo/provider/admin/dataset", e.ProviderDeregister = "/v1/prosopo/provider/admin/deregister", e.ProviderUpdate = "/v1/prosopo/provider/admin/update";
|
|
3278
3278
|
})(Lu || (Lu = {}));
|
|
3279
|
-
var
|
|
3279
|
+
var J;
|
|
3280
3280
|
(function(e) {
|
|
3281
3281
|
e.datasetId = "datasetId", e.user = "user", e.dapp = "dapp", e.provider = "provider", e.blockNumber = "blockNumber", e.signature = "signature", e.requestHash = "requestHash", e.captchas = "captchas", e.commitmentId = "commitmentId", e.proof = "proof", e.providerUrl = "providerUrl", e.procaptchaResponse = "procaptcha-response", e.maxVerifiedTime = "maxVerifiedTime", e.verified = "verified", e.status = "status", e.challenge = "challenge", e.difficulty = "difficulty", e.nonce = "nonce";
|
|
3282
|
-
})(
|
|
3283
|
-
|
|
3284
|
-
[
|
|
3285
|
-
[
|
|
3286
|
-
[
|
|
3287
|
-
[
|
|
3282
|
+
})(J || (J = {}));
|
|
3283
|
+
K({
|
|
3284
|
+
[J.user]: I(),
|
|
3285
|
+
[J.dapp]: I(),
|
|
3286
|
+
[J.datasetId]: I(),
|
|
3287
|
+
[J.blockNumber]: I()
|
|
3288
3288
|
});
|
|
3289
|
-
const k0 =
|
|
3290
|
-
[
|
|
3291
|
-
[
|
|
3292
|
-
[
|
|
3293
|
-
[
|
|
3294
|
-
[
|
|
3289
|
+
const k0 = K({
|
|
3290
|
+
[J.user]: I(),
|
|
3291
|
+
[J.dapp]: I(),
|
|
3292
|
+
[J.captchas]: At(kd),
|
|
3293
|
+
[J.requestHash]: I(),
|
|
3294
|
+
[J.signature]: I()
|
|
3295
3295
|
});
|
|
3296
|
-
|
|
3297
|
-
[
|
|
3298
|
-
[
|
|
3299
|
-
[
|
|
3300
|
-
[
|
|
3296
|
+
K({
|
|
3297
|
+
[J.dapp]: I(),
|
|
3298
|
+
[J.user]: I(),
|
|
3299
|
+
[J.blockNumber]: Q(),
|
|
3300
|
+
[J.commitmentId]: I().optional(),
|
|
3301
|
+
[J.maxVerifiedTime]: Q().optional()
|
|
3301
3302
|
});
|
|
3302
|
-
|
|
3303
|
-
[
|
|
3304
|
-
[
|
|
3303
|
+
K({
|
|
3304
|
+
[J.challenge]: I(),
|
|
3305
|
+
[J.dapp]: I()
|
|
3305
3306
|
});
|
|
3306
|
-
|
|
3307
|
-
[
|
|
3308
|
-
[
|
|
3309
|
-
[
|
|
3310
|
-
[
|
|
3311
|
-
[
|
|
3312
|
-
[
|
|
3313
|
-
[
|
|
3307
|
+
K({
|
|
3308
|
+
[J.blockNumber]: Q(),
|
|
3309
|
+
[J.challenge]: I(),
|
|
3310
|
+
[J.difficulty]: Q(),
|
|
3311
|
+
[J.signature]: I(),
|
|
3312
|
+
[J.user]: I(),
|
|
3313
|
+
[J.dapp]: I(),
|
|
3314
|
+
[J.nonce]: Q()
|
|
3314
3315
|
});
|
|
3315
3316
|
var vl;
|
|
3316
3317
|
(function(e) {
|
|
@@ -4826,7 +4827,7 @@ function bu(e, t, n) {
|
|
|
4826
4827
|
throw new Error(`Index ${t} smaller than 0`);
|
|
4827
4828
|
return e[t];
|
|
4828
4829
|
}
|
|
4829
|
-
const iy = (e) => Array.isArray(e), N0 = (e) => iy(e) ? Lm(new Uint8Array(e)) : e.toString(), oy = Y.lazy(async () => import("./ProcaptchaWidget-
|
|
4830
|
+
const iy = (e) => Array.isArray(e), N0 = (e) => iy(e) ? Lm(new Uint8Array(e)) : e.toString(), oy = Y.lazy(async () => import("./ProcaptchaWidget-wUItdOkp.js")), ay = (e) => D(Y.Suspense, { fallback: D(Os, { darkMode: e.config.theme }), children: D(oy, { config: e.config, callbacks: e.callbacks }) }), Kd = ay, ly = Y.lazy(async () => import("./Captcha-1upZQDQF.js")), Gd = (e) => D(Y.Suspense, { fallback: D(Os, { darkMode: e.config.theme }), children: D(ly, { config: e.config, callbacks: e.callbacks }) });
|
|
4830
4831
|
var sy = "1.9.0", V = {
|
|
4831
4832
|
// Object is used instead of Typescript enum to avoid emitting IIFE which might be affected by further tree-shaking.
|
|
4832
4833
|
// See example of compiled enums https://stackoverflow.com/q/47363996)
|
|
@@ -7281,7 +7282,7 @@ function Qf(e, t) {
|
|
|
7281
7282
|
if (Oo)
|
|
7282
7283
|
throw e = Fl, Oo = !1, Fl = null, e;
|
|
7283
7284
|
}
|
|
7284
|
-
function
|
|
7285
|
+
function te(e, t) {
|
|
7285
7286
|
var n = t[Gl];
|
|
7286
7287
|
n === void 0 && (n = t[Gl] = /* @__PURE__ */ new Set());
|
|
7287
7288
|
var r = e + "__bubble";
|
|
@@ -7663,7 +7664,7 @@ function ln(e) {
|
|
|
7663
7664
|
function re(e) {
|
|
7664
7665
|
0 > Vn || (e.current = ql[Vn], ql[Vn] = null, Vn--);
|
|
7665
7666
|
}
|
|
7666
|
-
function
|
|
7667
|
+
function ee(e, t) {
|
|
7667
7668
|
Vn++, ql[Vn] = e.current, e.current = t;
|
|
7668
7669
|
}
|
|
7669
7670
|
var on = {}, Oe = ln(on), De = ln(!1), Tn = on;
|
|
@@ -7688,7 +7689,7 @@ function Ao() {
|
|
|
7688
7689
|
function Sc(e, t, n) {
|
|
7689
7690
|
if (Oe.current !== on)
|
|
7690
7691
|
throw Error(_(168));
|
|
7691
|
-
|
|
7692
|
+
ee(Oe, t), ee(De, n);
|
|
7692
7693
|
}
|
|
7693
7694
|
function Gf(e, t, n) {
|
|
7694
7695
|
var r = e.stateNode;
|
|
@@ -7701,13 +7702,13 @@ function Gf(e, t, n) {
|
|
|
7701
7702
|
return se({}, n, r);
|
|
7702
7703
|
}
|
|
7703
7704
|
function Do(e) {
|
|
7704
|
-
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || on, Tn = Oe.current,
|
|
7705
|
+
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || on, Tn = Oe.current, ee(Oe, e), ee(De, De.current), !0;
|
|
7705
7706
|
}
|
|
7706
7707
|
function xc(e, t, n) {
|
|
7707
7708
|
var r = e.stateNode;
|
|
7708
7709
|
if (!r)
|
|
7709
7710
|
throw Error(_(169));
|
|
7710
|
-
n ? (e = Gf(e, t, Tn), r.__reactInternalMemoizedMergedChildContext = e, re(De), re(Oe),
|
|
7711
|
+
n ? (e = Gf(e, t, Tn), r.__reactInternalMemoizedMergedChildContext = e, re(De), re(Oe), ee(Oe, e)) : re(De), ee(De, n);
|
|
7711
7712
|
}
|
|
7712
7713
|
var Tt = null, wa = !1, el = !1;
|
|
7713
7714
|
function qf(e) {
|
|
@@ -8313,7 +8314,7 @@ function yn(e) {
|
|
|
8313
8314
|
return e;
|
|
8314
8315
|
}
|
|
8315
8316
|
function tu(e, t) {
|
|
8316
|
-
switch (
|
|
8317
|
+
switch (ee(yi, t), ee(vi, e), ee(kt, Oi), e = t.nodeType, e) {
|
|
8317
8318
|
case 9:
|
|
8318
8319
|
case 11:
|
|
8319
8320
|
t = (t = t.documentElement) ? t.namespaceURI : Ml(null, "");
|
|
@@ -8321,7 +8322,7 @@ function tu(e, t) {
|
|
|
8321
8322
|
default:
|
|
8322
8323
|
e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = Ml(t, e);
|
|
8323
8324
|
}
|
|
8324
|
-
re(kt),
|
|
8325
|
+
re(kt), ee(kt, t);
|
|
8325
8326
|
}
|
|
8326
8327
|
function sr() {
|
|
8327
8328
|
re(kt), re(vi), re(yi);
|
|
@@ -8329,7 +8330,7 @@ function sr() {
|
|
|
8329
8330
|
function ap(e) {
|
|
8330
8331
|
yn(yi.current);
|
|
8331
8332
|
var t = yn(kt.current), n = Ml(t, e.type);
|
|
8332
|
-
t !== n && (
|
|
8333
|
+
t !== n && (ee(vi, e), ee(kt, n));
|
|
8333
8334
|
}
|
|
8334
8335
|
function nu(e) {
|
|
8335
8336
|
vi.current === e && (re(kt), re(vi));
|
|
@@ -8840,14 +8841,14 @@ function Op(e, t, n) {
|
|
|
8840
8841
|
var r = t.pendingProps, i = r.children, o = e !== null ? e.memoizedState : null;
|
|
8841
8842
|
if (r.mode === "hidden")
|
|
8842
8843
|
if (!(t.mode & 1))
|
|
8843
|
-
t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null },
|
|
8844
|
+
t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, ee(Hn, Ve), Ve |= n;
|
|
8844
8845
|
else {
|
|
8845
8846
|
if (!(n & 1073741824))
|
|
8846
|
-
return e = o !== null ? o.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, t.updateQueue = null,
|
|
8847
|
-
t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r = o !== null ? o.baseLanes : n,
|
|
8847
|
+
return e = o !== null ? o.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, t.updateQueue = null, ee(Hn, Ve), Ve |= e, null;
|
|
8848
|
+
t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r = o !== null ? o.baseLanes : n, ee(Hn, Ve), Ve |= r;
|
|
8848
8849
|
}
|
|
8849
8850
|
else
|
|
8850
|
-
o !== null ? (r = o.baseLanes | n, t.memoizedState = null) : r = n,
|
|
8851
|
+
o !== null ? (r = o.baseLanes | n, t.memoizedState = null) : r = n, ee(Hn, Ve), Ve |= r;
|
|
8851
8852
|
return Re(e, t, i, n), t.child;
|
|
8852
8853
|
}
|
|
8853
8854
|
function Rp(e, t) {
|
|
@@ -8906,7 +8907,7 @@ function as(e) {
|
|
|
8906
8907
|
}
|
|
8907
8908
|
function Lp(e, t, n) {
|
|
8908
8909
|
var r = t.pendingProps, i = ae.current, o = !1, a = (t.flags & 128) !== 0, l;
|
|
8909
|
-
if ((l = a) || (l = e !== null && e.memoizedState === null ? !1 : (i & 2) !== 0), l ? (o = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (i |= 1),
|
|
8910
|
+
if ((l = a) || (l = e !== null && e.memoizedState === null ? !1 : (i & 2) !== 0), l ? (o = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (i |= 1), ee(ae, i & 1), e === null)
|
|
8910
8911
|
return Xl(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (a = r.children, e = r.fallback, o ? (r = t.mode, o = t.child, a = { mode: "hidden", children: a }, !(r & 1) && o !== null ? (o.childLanes = 0, o.pendingProps = a) : o = Ea(a, r, 0, null), e = kn(e, r, n, null), o.return = t, e.return = t, o.sibling = e, t.child = o, t.child.memoizedState = as(n), t.memoizedState = os, e) : uu(t, a));
|
|
8911
8912
|
if (i = e.memoizedState, i !== null && (l = i.dehydrated, l !== null))
|
|
8912
8913
|
return F1(e, t, a, r, l, i, n);
|
|
@@ -9013,7 +9014,7 @@ function Mp(e, t, n) {
|
|
|
9013
9014
|
}
|
|
9014
9015
|
r &= 1;
|
|
9015
9016
|
}
|
|
9016
|
-
if (
|
|
9017
|
+
if (ee(ae, r), !(t.mode & 1))
|
|
9017
9018
|
t.memoizedState = null;
|
|
9018
9019
|
else
|
|
9019
9020
|
switch (i) {
|
|
@@ -9071,12 +9072,12 @@ function U1(e, t, n) {
|
|
|
9071
9072
|
break;
|
|
9072
9073
|
case 10:
|
|
9073
9074
|
var r = t.type._context, i = t.memoizedProps.value;
|
|
9074
|
-
|
|
9075
|
+
ee(Uo, r._currentValue), r._currentValue = i;
|
|
9075
9076
|
break;
|
|
9076
9077
|
case 13:
|
|
9077
9078
|
if (r = t.memoizedState, r !== null)
|
|
9078
|
-
return r.dehydrated !== null ? (
|
|
9079
|
-
|
|
9079
|
+
return r.dehydrated !== null ? (ee(ae, ae.current & 1), t.flags |= 128, null) : n & t.child.childLanes ? Lp(e, t, n) : (ee(ae, ae.current & 1), e = jt(e, t, n), e !== null ? e.sibling : null);
|
|
9080
|
+
ee(ae, ae.current & 1);
|
|
9080
9081
|
break;
|
|
9081
9082
|
case 19:
|
|
9082
9083
|
if (r = (n & t.childLanes) !== 0, e.flags & 128) {
|
|
@@ -9084,7 +9085,7 @@ function U1(e, t, n) {
|
|
|
9084
9085
|
return Mp(e, t, n);
|
|
9085
9086
|
t.flags |= 128;
|
|
9086
9087
|
}
|
|
9087
|
-
if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null),
|
|
9088
|
+
if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), ee(ae, ae.current), r)
|
|
9088
9089
|
break;
|
|
9089
9090
|
return null;
|
|
9090
9091
|
case 22:
|
|
@@ -9158,7 +9159,7 @@ jp = function(e, t, n, r) {
|
|
|
9158
9159
|
n
|
|
9159
9160
|
)), n = s;
|
|
9160
9161
|
else
|
|
9161
|
-
u === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, l = l ? l.__html : void 0, s != null && l !== s && (o = o || []).push(u, s)) : u === "children" ? typeof s != "string" && typeof s != "number" || (o = o || []).push(u, "" + s) : u !== "suppressContentEditableWarning" && u !== "suppressHydrationWarning" && (oi.hasOwnProperty(u) ? (s != null && u === "onScroll" &&
|
|
9162
|
+
u === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, l = l ? l.__html : void 0, s != null && l !== s && (o = o || []).push(u, s)) : u === "children" ? typeof s != "string" && typeof s != "number" || (o = o || []).push(u, "" + s) : u !== "suppressContentEditableWarning" && u !== "suppressHydrationWarning" && (oi.hasOwnProperty(u) ? (s != null && u === "onScroll" && te("scroll", e), o || l === s || (o = [])) : (o = o || []).push(u, s));
|
|
9162
9163
|
}
|
|
9163
9164
|
n && (o = o || []).push("style", n);
|
|
9164
9165
|
var u = o;
|
|
@@ -9228,40 +9229,40 @@ function V1(e, t, n) {
|
|
|
9228
9229
|
var o = t.memoizedProps;
|
|
9229
9230
|
switch (r[yt] = t, r[mi] = o, e = (t.mode & 1) !== 0, n) {
|
|
9230
9231
|
case "dialog":
|
|
9231
|
-
|
|
9232
|
+
te("cancel", r), te("close", r);
|
|
9232
9233
|
break;
|
|
9233
9234
|
case "iframe":
|
|
9234
9235
|
case "object":
|
|
9235
9236
|
case "embed":
|
|
9236
|
-
|
|
9237
|
+
te("load", r);
|
|
9237
9238
|
break;
|
|
9238
9239
|
case "video":
|
|
9239
9240
|
case "audio":
|
|
9240
9241
|
for (i = 0; i < Or.length; i++)
|
|
9241
|
-
|
|
9242
|
+
te(Or[i], r);
|
|
9242
9243
|
break;
|
|
9243
9244
|
case "source":
|
|
9244
|
-
|
|
9245
|
+
te("error", r);
|
|
9245
9246
|
break;
|
|
9246
9247
|
case "img":
|
|
9247
9248
|
case "image":
|
|
9248
9249
|
case "link":
|
|
9249
|
-
|
|
9250
|
+
te(
|
|
9250
9251
|
"error",
|
|
9251
9252
|
r
|
|
9252
|
-
),
|
|
9253
|
+
), te("load", r);
|
|
9253
9254
|
break;
|
|
9254
9255
|
case "details":
|
|
9255
|
-
|
|
9256
|
+
te("toggle", r);
|
|
9256
9257
|
break;
|
|
9257
9258
|
case "input":
|
|
9258
|
-
Gu(r, o),
|
|
9259
|
+
Gu(r, o), te("invalid", r);
|
|
9259
9260
|
break;
|
|
9260
9261
|
case "select":
|
|
9261
|
-
r._wrapperState = { wasMultiple: !!o.multiple },
|
|
9262
|
+
r._wrapperState = { wasMultiple: !!o.multiple }, te("invalid", r);
|
|
9262
9263
|
break;
|
|
9263
9264
|
case "textarea":
|
|
9264
|
-
Yu(r, o),
|
|
9265
|
+
Yu(r, o), te("invalid", r);
|
|
9265
9266
|
}
|
|
9266
9267
|
zl(n, o), i = null;
|
|
9267
9268
|
for (var a in o)
|
|
@@ -9271,7 +9272,7 @@ function V1(e, t, n) {
|
|
|
9271
9272
|
r.textContent,
|
|
9272
9273
|
l,
|
|
9273
9274
|
e
|
|
9274
|
-
), i = ["children", "" + l]) : oi.hasOwnProperty(a) && l != null && a === "onScroll" &&
|
|
9275
|
+
), i = ["children", "" + l]) : oi.hasOwnProperty(a) && l != null && a === "onScroll" && te("scroll", r);
|
|
9275
9276
|
}
|
|
9276
9277
|
switch (n) {
|
|
9277
9278
|
case "input":
|
|
@@ -9292,44 +9293,44 @@ function V1(e, t, n) {
|
|
|
9292
9293
|
e: {
|
|
9293
9294
|
switch (a = jl(n, r), n) {
|
|
9294
9295
|
case "dialog":
|
|
9295
|
-
|
|
9296
|
+
te("cancel", e), te("close", e), i = r;
|
|
9296
9297
|
break;
|
|
9297
9298
|
case "iframe":
|
|
9298
9299
|
case "object":
|
|
9299
9300
|
case "embed":
|
|
9300
|
-
|
|
9301
|
+
te("load", e), i = r;
|
|
9301
9302
|
break;
|
|
9302
9303
|
case "video":
|
|
9303
9304
|
case "audio":
|
|
9304
9305
|
for (i = 0; i < Or.length; i++)
|
|
9305
|
-
|
|
9306
|
+
te(Or[i], e);
|
|
9306
9307
|
i = r;
|
|
9307
9308
|
break;
|
|
9308
9309
|
case "source":
|
|
9309
|
-
|
|
9310
|
+
te("error", e), i = r;
|
|
9310
9311
|
break;
|
|
9311
9312
|
case "img":
|
|
9312
9313
|
case "image":
|
|
9313
9314
|
case "link":
|
|
9314
|
-
|
|
9315
|
+
te(
|
|
9315
9316
|
"error",
|
|
9316
9317
|
e
|
|
9317
|
-
),
|
|
9318
|
+
), te("load", e), i = r;
|
|
9318
9319
|
break;
|
|
9319
9320
|
case "details":
|
|
9320
|
-
|
|
9321
|
+
te("toggle", e), i = r;
|
|
9321
9322
|
break;
|
|
9322
9323
|
case "input":
|
|
9323
|
-
Gu(e, r), i = Ol(e, r),
|
|
9324
|
+
Gu(e, r), i = Ol(e, r), te("invalid", e);
|
|
9324
9325
|
break;
|
|
9325
9326
|
case "option":
|
|
9326
9327
|
i = r;
|
|
9327
9328
|
break;
|
|
9328
9329
|
case "select":
|
|
9329
|
-
e._wrapperState = { wasMultiple: !!r.multiple }, i = se({}, r, { value: void 0 }),
|
|
9330
|
+
e._wrapperState = { wasMultiple: !!r.multiple }, i = se({}, r, { value: void 0 }), te("invalid", e);
|
|
9330
9331
|
break;
|
|
9331
9332
|
case "textarea":
|
|
9332
|
-
Yu(e, r), i = Ll(e, r),
|
|
9333
|
+
Yu(e, r), i = Ll(e, r), te("invalid", e);
|
|
9333
9334
|
break;
|
|
9334
9335
|
default:
|
|
9335
9336
|
i = r;
|
|
@@ -9338,7 +9339,7 @@ function V1(e, t, n) {
|
|
|
9338
9339
|
for (o in l)
|
|
9339
9340
|
if (l.hasOwnProperty(o)) {
|
|
9340
9341
|
var s = l[o];
|
|
9341
|
-
o === "style" ? ff(e, s) : o === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, s != null && cf(e, s)) : o === "children" ? typeof s == "string" ? (n !== "textarea" || s !== "") && ai(e, s) : typeof s == "number" && ai(e, "" + s) : o !== "suppressContentEditableWarning" && o !== "suppressHydrationWarning" && o !== "autoFocus" && (oi.hasOwnProperty(o) ? s != null && o === "onScroll" &&
|
|
9342
|
+
o === "style" ? ff(e, s) : o === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, s != null && cf(e, s)) : o === "children" ? typeof s == "string" ? (n !== "textarea" || s !== "") && ai(e, s) : typeof s == "number" && ai(e, "" + s) : o !== "suppressContentEditableWarning" && o !== "suppressHydrationWarning" && o !== "autoFocus" && (oi.hasOwnProperty(o) ? s != null && o === "onScroll" && te("scroll", e) : s != null && Ms(e, o, s, a));
|
|
9342
9343
|
}
|
|
9343
9344
|
switch (n) {
|
|
9344
9345
|
case "input":
|
|
@@ -9438,7 +9439,7 @@ function V1(e, t, n) {
|
|
|
9438
9439
|
if (a = Wo(e), a !== null) {
|
|
9439
9440
|
for (t.flags |= 128, Er(o, !1), r = a.updateQueue, r !== null && (t.updateQueue = r, t.flags |= 4), t.subtreeFlags = 0, r = n, n = t.child; n !== null; )
|
|
9440
9441
|
o = n, e = r, o.flags &= 14680066, a = o.alternate, a === null ? (o.childLanes = 0, o.lanes = e, o.child = null, o.subtreeFlags = 0, o.memoizedProps = null, o.memoizedState = null, o.updateQueue = null, o.dependencies = null, o.stateNode = null) : (o.childLanes = a.childLanes, o.lanes = a.lanes, o.child = a.child, o.subtreeFlags = 0, o.deletions = null, o.memoizedProps = a.memoizedProps, o.memoizedState = a.memoizedState, o.updateQueue = a.updateQueue, o.type = a.type, e = a.dependencies, o.dependencies = e === null ? null : { lanes: e.lanes, firstContext: e.firstContext }), n = n.sibling;
|
|
9441
|
-
return
|
|
9442
|
+
return ee(ae, ae.current & 1 | 2), t.child;
|
|
9442
9443
|
}
|
|
9443
9444
|
e = e.sibling;
|
|
9444
9445
|
}
|
|
@@ -9453,7 +9454,7 @@ function V1(e, t, n) {
|
|
|
9453
9454
|
2 * de() - o.renderingStartTime > cr && n !== 1073741824 && (t.flags |= 128, r = !0, Er(o, !1), t.lanes = 4194304);
|
|
9454
9455
|
o.isBackwards ? (a.sibling = t.child, t.child = a) : (n = o.last, n !== null ? n.sibling = a : t.child = a, o.last = a);
|
|
9455
9456
|
}
|
|
9456
|
-
return o.tail !== null ? (t = o.tail, o.rendering = t, o.tail = t.sibling, o.renderingStartTime = de(), t.sibling = null, n = ae.current,
|
|
9457
|
+
return o.tail !== null ? (t = o.tail, o.rendering = t, o.tail = t.sibling, o.renderingStartTime = de(), t.sibling = null, n = ae.current, ee(ae, r ? n & 1 | 2 : n & 1), t) : (Ce(t), null);
|
|
9457
9458
|
case 22:
|
|
9458
9459
|
case 23:
|
|
9459
9460
|
return hu(), r = t.memoizedState !== null, e !== null && e.memoizedState !== null !== r && (t.flags |= 8192), r && t.mode & 1 ? Ve & 1073741824 && (Ce(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : Ce(t), null;
|
|
@@ -10877,7 +10878,7 @@ Kp = function(e, t, n) {
|
|
|
10877
10878
|
return Re(e, t, t.pendingProps.children, n), t.child;
|
|
10878
10879
|
case 10:
|
|
10879
10880
|
e: {
|
|
10880
|
-
if (r = t.type._context, i = t.pendingProps, o = t.memoizedProps, a = i.value,
|
|
10881
|
+
if (r = t.type._context, i = t.pendingProps, o = t.memoizedProps, a = i.value, ee(Uo, r._currentValue), r._currentValue = a, o !== null)
|
|
10881
10882
|
if (ft(o.value, a)) {
|
|
10882
10883
|
if (o.children === i.children && !De.current) {
|
|
10883
10884
|
t = jt(e, t, n);
|
|
@@ -11384,7 +11385,7 @@ const eh = "procaptcha.bundle.js", th = () => document.querySelector('script[src
|
|
|
11384
11385
|
return;
|
|
11385
11386
|
}
|
|
11386
11387
|
const r = document.createElement("input");
|
|
11387
|
-
r.type = "hidden", r.name =
|
|
11388
|
+
r.type = "hidden", r.name = J.procaptchaResponse, r.value = JSON.stringify(t), n.appendChild(r);
|
|
11388
11389
|
}, p0 = /* @__PURE__ */ new Set(["light", "dark"]), h0 = (e) => p0.has(e) ? e : "light", rh = (e, t, n) => {
|
|
11389
11390
|
e.forEach((r) => {
|
|
11390
11391
|
const i = (n == null ? void 0 : n.callback) || r.getAttribute("data-callback"), o = (n == null ? void 0 : n["chalexpired-callback"]) || r.getAttribute("data-chalexpired-callback"), a = (n == null ? void 0 : n["error-callback"]) || r.getAttribute("data-error-callback"), l = (n == null ? void 0 : n["close-callback"]) || r.getAttribute("data-close-callback"), s = (n == null ? void 0 : n["open-callback"]) || r.getAttribute("data-open-callback"), u = (n == null ? void 0 : n["expired-callback"]) || r.getAttribute("data-expired-callback"), d = {
|
|
@@ -11450,7 +11451,7 @@ if (Xc) {
|
|
|
11450
11451
|
});
|
|
11451
11452
|
}
|
|
11452
11453
|
export {
|
|
11453
|
-
|
|
11454
|
+
J as A,
|
|
11454
11455
|
zd as B,
|
|
11455
11456
|
Qv as C,
|
|
11456
11457
|
Vu as D,
|