altcha 2.0.1 → 2.0.3
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/altcha.d.ts +5 -2
- package/dist/altcha.i18n.d.ts +5 -2
- package/dist/altcha.i18n.js +403 -385
- package/dist/altcha.i18n.umd.js +4 -4
- package/dist/altcha.js +250 -250
- package/dist/altcha.umd.cjs +4 -4
- package/dist_external/altcha.d.ts +5 -2
- package/dist_external/altcha.js +242 -242
- package/dist_external/altcha.umd.cjs +3 -3
- package/dist_i18n/all.js +111 -93
- package/dist_i18n/all.umd.cjs +1 -1
- package/dist_i18n/be.d.ts +1 -0
- package/dist_i18n/be.js +94 -0
- package/dist_i18n/be.umd.cjs +1 -0
- package/dist_i18n/europe.js +45 -27
- package/dist_i18n/europe.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/altcha.i18n.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var $n = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var Va = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var Sn = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
-
var Ae = (e, t, r) => Sn(e, typeof t != "symbol" ? t + "" : t, r),
|
|
7
|
-
var se = (e, t, r) => (
|
|
8
|
-
var
|
|
6
|
+
var Ae = (e, t, r) => Sn(e, typeof t != "symbol" ? t + "" : t, r), Ra = (e, t, r) => t.has(e) || Va("Cannot " + r);
|
|
7
|
+
var se = (e, t, r) => (Ra(e, t, "read from private field"), r ? r.call(e) : t.get(e)), wr = (e, t, r) => t.has(e) ? Va("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Cr = (e, t, r, i) => (Ra(e, t, "write to private field"), i ? i.call(e, r) : t.set(e, r), r);
|
|
8
|
+
var Ga = Array.isArray, Pn = Array.prototype.indexOf, zn = Array.from, Xt = Object.keys, St = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, Nn = Object.getOwnPropertyDescriptors, Dn = Object.prototype, qn = Array.prototype, Ya = Object.getPrototypeOf, ja = Object.isExtensible;
|
|
9
9
|
const bt = () => {
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function Wa(e) {
|
|
12
12
|
for (var t = 0; t < e.length; t++)
|
|
13
13
|
e[t]();
|
|
14
14
|
}
|
|
@@ -21,33 +21,33 @@ function On(e, t, r = !1) {
|
|
|
21
21
|
t
|
|
22
22
|
) : e;
|
|
23
23
|
}
|
|
24
|
-
const ke = 2,
|
|
24
|
+
const ke = 2, Ka = 4, nr = 8, zr = 16, Pe = 32, rt = 64, Qt = 128, he = 256, er = 512, fe = 1024, Se = 2048, at = 4096, mt = 8192, or = 16384, Hn = 32768, Nr = 65536, Fn = 1 << 19, Ja = 1 << 20, Tr = 1 << 21, jt = Symbol("$state"), Xa = Symbol("legacy props"), Mn = Symbol(""), Bn = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
|
|
25
25
|
let Pt = [], zt = [];
|
|
26
|
-
function
|
|
26
|
+
function Qa() {
|
|
27
27
|
var e = Pt;
|
|
28
|
-
Pt = [],
|
|
28
|
+
Pt = [], Wa(e);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function ei() {
|
|
31
31
|
var e = zt;
|
|
32
|
-
zt = [],
|
|
32
|
+
zt = [], Wa(e);
|
|
33
33
|
}
|
|
34
34
|
function Dr(e) {
|
|
35
|
-
Pt.length === 0 && queueMicrotask(
|
|
35
|
+
Pt.length === 0 && queueMicrotask(Qa), Pt.push(e);
|
|
36
36
|
}
|
|
37
37
|
function Un(e) {
|
|
38
|
-
zt.length === 0 && Bn(
|
|
38
|
+
zt.length === 0 && Bn(ei), zt.push(e);
|
|
39
39
|
}
|
|
40
40
|
function Zn() {
|
|
41
|
-
Pt.length > 0 &&
|
|
41
|
+
Pt.length > 0 && Qa(), zt.length > 0 && ei();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ti(e) {
|
|
44
44
|
return e === this.v;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function ri(e, t) {
|
|
47
47
|
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
48
48
|
}
|
|
49
49
|
function qr(e) {
|
|
50
|
-
return !
|
|
50
|
+
return !ri(e, this.v);
|
|
51
51
|
}
|
|
52
52
|
function Gn(e) {
|
|
53
53
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
@@ -76,15 +76,15 @@ function eo() {
|
|
|
76
76
|
function to() {
|
|
77
77
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
78
78
|
}
|
|
79
|
-
const ro = 1, ao = 4, io = 8, no = 16, oo = 1, lo = 2, Or = "[",
|
|
80
|
-
function
|
|
79
|
+
const ro = 1, ao = 4, io = 8, no = 16, oo = 1, lo = 2, Or = "[", ai = "[!", ii = "]", pt = {}, ue = Symbol(), so = "http://www.w3.org/1999/xhtml";
|
|
80
|
+
function ni(e) {
|
|
81
81
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
82
82
|
}
|
|
83
83
|
let ie = null;
|
|
84
|
-
function
|
|
84
|
+
function $a(e) {
|
|
85
85
|
ie = e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function oi(e, t = !1, r) {
|
|
88
88
|
var i = ie = {
|
|
89
89
|
p: ie,
|
|
90
90
|
c: null,
|
|
@@ -99,7 +99,7 @@ function ni(e, t = !1, r) {
|
|
|
99
99
|
i.d = !0;
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function li(e) {
|
|
103
103
|
const t = ie;
|
|
104
104
|
if (t !== null) {
|
|
105
105
|
e !== void 0 && (t.x = e);
|
|
@@ -121,16 +121,16 @@ function oi(e) {
|
|
|
121
121
|
return e || /** @type {T} */
|
|
122
122
|
{};
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function si() {
|
|
125
125
|
return !0;
|
|
126
126
|
}
|
|
127
127
|
function Fe(e) {
|
|
128
128
|
if (typeof e != "object" || e === null || jt in e)
|
|
129
129
|
return e;
|
|
130
|
-
const t =
|
|
130
|
+
const t = Ya(e);
|
|
131
131
|
if (t !== Dn && t !== qn)
|
|
132
132
|
return e;
|
|
133
|
-
var r = /* @__PURE__ */ new Map(), i =
|
|
133
|
+
var r = /* @__PURE__ */ new Map(), i = Ga(e), o = /* @__PURE__ */ D(0), n = j, u = (s) => {
|
|
134
134
|
var c = j;
|
|
135
135
|
Ve(n);
|
|
136
136
|
var d = s();
|
|
@@ -265,11 +265,11 @@ function lr(e) {
|
|
|
265
265
|
/** @type {Derived} */
|
|
266
266
|
j
|
|
267
267
|
) : null;
|
|
268
|
-
return $ === null || r !== null && (r.f & he) !== 0 ? t |= he : $.f |=
|
|
268
|
+
return $ === null || r !== null && (r.f & he) !== 0 ? t |= he : $.f |= Ja, {
|
|
269
269
|
ctx: ie,
|
|
270
270
|
deps: null,
|
|
271
271
|
effects: null,
|
|
272
|
-
equals:
|
|
272
|
+
equals: ti,
|
|
273
273
|
f: t,
|
|
274
274
|
fn: e,
|
|
275
275
|
reactions: null,
|
|
@@ -285,14 +285,14 @@ function lr(e) {
|
|
|
285
285
|
// @__NO_SIDE_EFFECTS__
|
|
286
286
|
function It(e) {
|
|
287
287
|
const t = /* @__PURE__ */ lr(e);
|
|
288
|
-
return
|
|
288
|
+
return pi(t), t;
|
|
289
289
|
}
|
|
290
290
|
// @__NO_SIDE_EFFECTS__
|
|
291
291
|
function uo(e) {
|
|
292
292
|
const t = /* @__PURE__ */ lr(e);
|
|
293
293
|
return t.equals = qr, t;
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function ui(e) {
|
|
296
296
|
var t = e.effects;
|
|
297
297
|
if (t !== null) {
|
|
298
298
|
e.effects = null;
|
|
@@ -314,28 +314,28 @@ function fo(e) {
|
|
|
314
314
|
}
|
|
315
315
|
return null;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function fi(e) {
|
|
318
318
|
var t, r = $;
|
|
319
319
|
Ue(fo(e));
|
|
320
320
|
try {
|
|
321
|
-
|
|
321
|
+
ui(e), t = ki(e);
|
|
322
322
|
} finally {
|
|
323
323
|
Ue(r);
|
|
324
324
|
}
|
|
325
325
|
return t;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
var t =
|
|
329
|
-
_e(e, r), e.equals(t) || (e.v = t, e.wv =
|
|
327
|
+
function ci(e) {
|
|
328
|
+
var t = fi(e), r = (Me || (e.f & he) !== 0) && e.deps !== null ? at : fe;
|
|
329
|
+
_e(e, r), e.equals(t) || (e.v = t, e.wv = yi());
|
|
330
330
|
}
|
|
331
331
|
const Nt = /* @__PURE__ */ new Map();
|
|
332
|
-
function
|
|
332
|
+
function di(e, t) {
|
|
333
333
|
var r = {
|
|
334
334
|
f: 0,
|
|
335
335
|
// TODO ideally we could skip this altogether, but it causes type errors
|
|
336
336
|
v: e,
|
|
337
337
|
reactions: null,
|
|
338
|
-
equals:
|
|
338
|
+
equals: ti,
|
|
339
339
|
rv: 0,
|
|
340
340
|
wv: 0
|
|
341
341
|
};
|
|
@@ -343,35 +343,35 @@ function ci(e, t) {
|
|
|
343
343
|
}
|
|
344
344
|
// @__NO_SIDE_EFFECTS__
|
|
345
345
|
function D(e, t) {
|
|
346
|
-
const r =
|
|
347
|
-
return
|
|
346
|
+
const r = di(e);
|
|
347
|
+
return pi(r), r;
|
|
348
348
|
}
|
|
349
349
|
// @__NO_SIDE_EFFECTS__
|
|
350
350
|
function Hr(e, t = !1) {
|
|
351
|
-
const r =
|
|
351
|
+
const r = di(e);
|
|
352
352
|
return t || (r.equals = qr), r;
|
|
353
353
|
}
|
|
354
354
|
function y(e, t, r = !1) {
|
|
355
|
-
j !== null && !Te &&
|
|
355
|
+
j !== null && !Te && si() && (j.f & (ke | zr)) !== 0 && !(ne != null && ne.includes(e)) && to();
|
|
356
356
|
let i = r ? Fe(t) : t;
|
|
357
357
|
return co(e, i);
|
|
358
358
|
}
|
|
359
359
|
function co(e, t) {
|
|
360
360
|
if (!e.equals(t)) {
|
|
361
361
|
var r = e.v;
|
|
362
|
-
Dt ? Nt.set(e, t) : Nt.set(e, r), e.v = t, (e.f & ke) !== 0 && ((e.f & Se) !== 0 &&
|
|
362
|
+
Dt ? Nt.set(e, t) : Nt.set(e, r), e.v = t, (e.f & ke) !== 0 && ((e.f & Se) !== 0 && fi(
|
|
363
363
|
/** @type {Derived} */
|
|
364
364
|
e
|
|
365
|
-
), _e(e, (e.f & he) === 0 ? fe : at)), e.wv =
|
|
365
|
+
), _e(e, (e.f & he) === 0 ? fe : at)), e.wv = yi(), hi(e, Se), $ !== null && ($.f & fe) !== 0 && ($.f & (Pe | rt)) === 0 && (ve === null ? vo([e]) : ve.push(e));
|
|
366
366
|
}
|
|
367
367
|
return t;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function hi(e, t) {
|
|
370
370
|
var r = e.reactions;
|
|
371
371
|
if (r !== null)
|
|
372
372
|
for (var i = r.length, o = 0; o < i; o++) {
|
|
373
373
|
var n = r[o], u = n.f;
|
|
374
|
-
(u & Se) === 0 && (_e(n, t), (u & (fe | he)) !== 0 && ((u & ke) !== 0 ?
|
|
374
|
+
(u & Se) === 0 && (_e(n, t), (u & (fe | he)) !== 0 && ((u & ke) !== 0 ? hi(
|
|
375
375
|
/** @type {Derived} */
|
|
376
376
|
n,
|
|
377
377
|
at
|
|
@@ -414,10 +414,10 @@ function ho() {
|
|
|
414
414
|
/** @type {Comment} */
|
|
415
415
|
t.data
|
|
416
416
|
);
|
|
417
|
-
if (r ===
|
|
417
|
+
if (r === ii) {
|
|
418
418
|
if (e === 0) return t;
|
|
419
419
|
e -= 1;
|
|
420
|
-
} else (r === Or || r ===
|
|
420
|
+
} else (r === Or || r === ai) && (e += 1);
|
|
421
421
|
}
|
|
422
422
|
var i = (
|
|
423
423
|
/** @type {TemplateNode} */
|
|
@@ -426,12 +426,12 @@ function ho() {
|
|
|
426
426
|
t.remove(), t = i;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var
|
|
429
|
+
var Sa, gi, vi, bi;
|
|
430
430
|
function Ir() {
|
|
431
|
-
if (
|
|
432
|
-
|
|
431
|
+
if (Sa === void 0) {
|
|
432
|
+
Sa = window, gi = /Firefox/.test(navigator.userAgent);
|
|
433
433
|
var e = Element.prototype, t = Node.prototype, r = Text.prototype;
|
|
434
|
-
|
|
434
|
+
vi = Qe(t, "firstChild").get, bi = Qe(t, "nextSibling").get, ja(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), ja(r) && (r.__t = void 0);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
function ur(e = "") {
|
|
@@ -439,11 +439,11 @@ function ur(e = "") {
|
|
|
439
439
|
}
|
|
440
440
|
// @__NO_SIDE_EFFECTS__
|
|
441
441
|
function pe(e) {
|
|
442
|
-
return
|
|
442
|
+
return vi.call(e);
|
|
443
443
|
}
|
|
444
444
|
// @__NO_SIDE_EFFECTS__
|
|
445
445
|
function Ge(e) {
|
|
446
|
-
return
|
|
446
|
+
return bi.call(e);
|
|
447
447
|
}
|
|
448
448
|
function G(e, t) {
|
|
449
449
|
if (!N)
|
|
@@ -486,7 +486,7 @@ function go(e) {
|
|
|
486
486
|
e.textContent = "";
|
|
487
487
|
}
|
|
488
488
|
let Wt = !1, tr = !1, rr = null, et = !1, Dt = !1;
|
|
489
|
-
function
|
|
489
|
+
function Pa(e) {
|
|
490
490
|
Dt = e;
|
|
491
491
|
}
|
|
492
492
|
let $t = [];
|
|
@@ -499,16 +499,16 @@ function Ue(e) {
|
|
|
499
499
|
$ = e;
|
|
500
500
|
}
|
|
501
501
|
let ne = null;
|
|
502
|
-
function
|
|
502
|
+
function pi(e) {
|
|
503
503
|
j !== null && j.f & Tr && (ne === null ? ne = [e] : ne.push(e));
|
|
504
504
|
}
|
|
505
505
|
let ae = null, de = 0, ve = null;
|
|
506
506
|
function vo(e) {
|
|
507
507
|
ve = e;
|
|
508
508
|
}
|
|
509
|
-
let
|
|
510
|
-
function
|
|
511
|
-
return ++
|
|
509
|
+
let mi = 1, ar = 0, Me = !1;
|
|
510
|
+
function yi() {
|
|
511
|
+
return ++mi;
|
|
512
512
|
}
|
|
513
513
|
function qt(e) {
|
|
514
514
|
var h;
|
|
@@ -532,7 +532,7 @@ function qt(e) {
|
|
|
532
532
|
if (n = r[o], qt(
|
|
533
533
|
/** @type {Derived} */
|
|
534
534
|
n
|
|
535
|
-
) &&
|
|
535
|
+
) && ci(
|
|
536
536
|
/** @type {Derived} */
|
|
537
537
|
n
|
|
538
538
|
), n.wv > e.wv)
|
|
@@ -555,24 +555,24 @@ function bo(e, t) {
|
|
|
555
555
|
}
|
|
556
556
|
throw Wt = !1, e;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function za(e) {
|
|
559
559
|
return (e.f & or) === 0 && (e.parent === null || (e.parent.f & Qt) === 0);
|
|
560
560
|
}
|
|
561
561
|
function fr(e, t, r, i) {
|
|
562
562
|
if (Wt) {
|
|
563
|
-
if (r === null && (Wt = !1),
|
|
563
|
+
if (r === null && (Wt = !1), za(t))
|
|
564
564
|
throw e;
|
|
565
565
|
return;
|
|
566
566
|
}
|
|
567
|
-
if (r !== null && (Wt = !0), bo(e, t),
|
|
567
|
+
if (r !== null && (Wt = !0), bo(e, t), za(t))
|
|
568
568
|
throw e;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Ai(e, t, r = !0) {
|
|
571
571
|
var i = e.reactions;
|
|
572
572
|
if (i !== null)
|
|
573
573
|
for (var o = 0; o < i.length; o++) {
|
|
574
574
|
var n = i[o];
|
|
575
|
-
ne != null && ne.includes(e) || ((n.f & ke) !== 0 ?
|
|
575
|
+
ne != null && ne.includes(e) || ((n.f & ke) !== 0 ? Ai(
|
|
576
576
|
/** @type {Derived} */
|
|
577
577
|
n,
|
|
578
578
|
t,
|
|
@@ -583,11 +583,11 @@ function yi(e, t, r = !0) {
|
|
|
583
583
|
)));
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function ki(e) {
|
|
587
587
|
var k;
|
|
588
588
|
var t = ae, r = de, i = ve, o = j, n = Me, u = ne, s = ie, c = Te, d = e.f;
|
|
589
589
|
ae = /** @type {null | Value[]} */
|
|
590
|
-
null, de = 0, ve = null, Me = (d & he) !== 0 && (Te || !et || j === null), j = (d & (Pe | rt)) === 0 ? e : null, ne = null,
|
|
590
|
+
null, de = 0, ve = null, Me = (d & he) !== 0 && (Te || !et || j === null), j = (d & (Pe | rt)) === 0 ? e : null, ne = null, $a(e.ctx), Te = !1, ar++, e.f |= Tr;
|
|
591
591
|
try {
|
|
592
592
|
var p = (
|
|
593
593
|
/** @type {Function} */
|
|
@@ -604,10 +604,10 @@ function Ai(e) {
|
|
|
604
604
|
for (v = de; v < h.length; v++)
|
|
605
605
|
((k = h[v]).reactions ?? (k.reactions = [])).push(e);
|
|
606
606
|
} else h !== null && de < h.length && (ir(e, de), h.length = de);
|
|
607
|
-
if (
|
|
607
|
+
if (si() && ve !== null && !Te && h !== null && (e.f & (ke | at | Se)) === 0)
|
|
608
608
|
for (v = 0; v < /** @type {Source[]} */
|
|
609
609
|
ve.length; v++)
|
|
610
|
-
|
|
610
|
+
Ai(
|
|
611
611
|
ve[v],
|
|
612
612
|
/** @type {Effect} */
|
|
613
613
|
e
|
|
@@ -615,7 +615,7 @@ function Ai(e) {
|
|
|
615
615
|
return o !== null && o !== e && (ar++, ve !== null && (i === null ? i = ve : i.push(.../** @type {Source[]} */
|
|
616
616
|
ve))), p;
|
|
617
617
|
} finally {
|
|
618
|
-
ae = t, de = r, ve = i, j = o, Me = n, ne = u,
|
|
618
|
+
ae = t, de = r, ve = i, j = o, Me = n, ne = u, $a(s), Te = c, e.f ^= Tr;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
function po(e, t) {
|
|
@@ -630,7 +630,7 @@ function po(e, t) {
|
|
|
630
630
|
r === null && (t.f & ke) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
631
631
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
632
632
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
633
|
-
(ae === null || !ae.includes(t)) && (_e(t, at), (t.f & (he | er)) === 0 && (t.f ^= er),
|
|
633
|
+
(ae === null || !ae.includes(t)) && (_e(t, at), (t.f & (he | er)) === 0 && (t.f ^= er), ui(
|
|
634
634
|
/** @type {Derived} **/
|
|
635
635
|
t
|
|
636
636
|
), ir(
|
|
@@ -652,9 +652,9 @@ function Fr(e) {
|
|
|
652
652
|
var r = $, i = ie, o = et;
|
|
653
653
|
$ = e, et = !0;
|
|
654
654
|
try {
|
|
655
|
-
(t & zr) !== 0 ? Eo(e) :
|
|
656
|
-
var n =
|
|
657
|
-
e.teardown = typeof n == "function" ? n : null, e.wv =
|
|
655
|
+
(t & zr) !== 0 ? Eo(e) : Li(e), Ci(e);
|
|
656
|
+
var n = ki(e);
|
|
657
|
+
e.teardown = typeof n == "function" ? n : null, e.wv = mi;
|
|
658
658
|
var u = e.deps, s;
|
|
659
659
|
} catch (c) {
|
|
660
660
|
fr(c, e, r, i || e.ctx);
|
|
@@ -673,7 +673,7 @@ function mo() {
|
|
|
673
673
|
throw e;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function _i() {
|
|
677
677
|
var e = et;
|
|
678
678
|
try {
|
|
679
679
|
var t = 0;
|
|
@@ -698,14 +698,14 @@ function yo(e) {
|
|
|
698
698
|
var i = e[r];
|
|
699
699
|
if ((i.f & (or | mt)) === 0)
|
|
700
700
|
try {
|
|
701
|
-
qt(i) && (Fr(i), i.deps === null && i.first === null && i.nodes_start === null && (i.teardown === null ?
|
|
701
|
+
qt(i) && (Fr(i), i.deps === null && i.first === null && i.nodes_start === null && (i.teardown === null ? xi(i) : i.fn = null));
|
|
702
702
|
} catch (o) {
|
|
703
703
|
fr(o, i, null, i.ctx);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
707
|
function cr(e) {
|
|
708
|
-
tr || (tr = !0, queueMicrotask(
|
|
708
|
+
tr || (tr = !0, queueMicrotask(_i));
|
|
709
709
|
for (var t = rr = e; t.parent !== null; ) {
|
|
710
710
|
t = t.parent;
|
|
711
711
|
var r = t.f;
|
|
@@ -720,7 +720,7 @@ function Ao(e) {
|
|
|
720
720
|
for (var t = [], r = e; r !== null; ) {
|
|
721
721
|
var i = r.f, o = (i & (Pe | rt)) !== 0, n = o && (i & fe) !== 0;
|
|
722
722
|
if (!n && (i & mt) === 0) {
|
|
723
|
-
if ((i &
|
|
723
|
+
if ((i & Ka) !== 0)
|
|
724
724
|
t.push(r);
|
|
725
725
|
else if (o)
|
|
726
726
|
r.f ^= fe;
|
|
@@ -749,7 +749,7 @@ function E(e) {
|
|
|
749
749
|
/** @type {T} */
|
|
750
750
|
t
|
|
751
751
|
);
|
|
752
|
-
tr = !0,
|
|
752
|
+
tr = !0, _i();
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
async function Er() {
|
|
@@ -772,7 +772,7 @@ function l(e) {
|
|
|
772
772
|
n !== null && (n.f & he) === 0 && (o.f ^= he);
|
|
773
773
|
}
|
|
774
774
|
return r && (o = /** @type {Derived} */
|
|
775
|
-
e, qt(o) &&
|
|
775
|
+
e, qt(o) && ci(o)), Dt && Nt.has(e) ? Nt.get(e) : e.v;
|
|
776
776
|
}
|
|
777
777
|
function tt(e) {
|
|
778
778
|
var t = Te;
|
|
@@ -817,7 +817,7 @@ function it(e, t, r, i = !0) {
|
|
|
817
817
|
throw Ze(n), c;
|
|
818
818
|
}
|
|
819
819
|
else t !== null && cr(n);
|
|
820
|
-
var u = r && n.deps === null && n.first === null && n.nodes_start === null && n.teardown === null && (n.f & (
|
|
820
|
+
var u = r && n.deps === null && n.first === null && n.nodes_start === null && n.teardown === null && (n.f & (Ja | Qt)) === 0;
|
|
821
821
|
if (!u && i && (o !== null && wo(n, o), j !== null && (j.f & ke) !== 0)) {
|
|
822
822
|
var s = (
|
|
823
823
|
/** @type {Derived} */
|
|
@@ -864,34 +864,34 @@ function Lo(e) {
|
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
function Br(e) {
|
|
867
|
-
return it(
|
|
867
|
+
return it(Ka, e, !1);
|
|
868
868
|
}
|
|
869
869
|
function Ur(e) {
|
|
870
870
|
return it(nr, e, !0);
|
|
871
871
|
}
|
|
872
872
|
function xe(e, t = [], r = lr) {
|
|
873
873
|
const i = t.map(r);
|
|
874
|
-
return
|
|
874
|
+
return wi(() => e(...i.map(l)));
|
|
875
875
|
}
|
|
876
|
-
function
|
|
876
|
+
function wi(e, t = 0) {
|
|
877
877
|
return it(nr | zr | t, e, !0);
|
|
878
878
|
}
|
|
879
879
|
function Rr(e, t = !0) {
|
|
880
880
|
return it(nr | Pe, e, !0, t);
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Ci(e) {
|
|
883
883
|
var t = e.teardown;
|
|
884
884
|
if (t !== null) {
|
|
885
885
|
const r = Dt, i = j;
|
|
886
|
-
|
|
886
|
+
Pa(!0), Ve(null);
|
|
887
887
|
try {
|
|
888
888
|
t.call(null);
|
|
889
889
|
} finally {
|
|
890
|
-
|
|
890
|
+
Pa(r), Ve(i);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Li(e, t = !1) {
|
|
895
895
|
var r = e.first;
|
|
896
896
|
for (e.first = e.last = null; r !== null; ) {
|
|
897
897
|
var i = r.next;
|
|
@@ -906,20 +906,20 @@ function Eo(e) {
|
|
|
906
906
|
}
|
|
907
907
|
function Ze(e, t = !0) {
|
|
908
908
|
var r = !1;
|
|
909
|
-
(t || (e.f & Fn) !== 0) && e.nodes_start !== null && (
|
|
909
|
+
(t || (e.f & Fn) !== 0) && e.nodes_start !== null && (Ei(
|
|
910
910
|
e.nodes_start,
|
|
911
911
|
/** @type {TemplateNode} */
|
|
912
912
|
e.nodes_end
|
|
913
|
-
), r = !0),
|
|
913
|
+
), r = !0), Li(e, t && !r), ir(e, 0), _e(e, or);
|
|
914
914
|
var i = e.transitions;
|
|
915
915
|
if (i !== null)
|
|
916
916
|
for (const n of i)
|
|
917
917
|
n.stop();
|
|
918
|
-
|
|
918
|
+
Ci(e);
|
|
919
919
|
var o = e.parent;
|
|
920
|
-
o !== null && o.first !== null &&
|
|
920
|
+
o !== null && o.first !== null && xi(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes_start = e.nodes_end = null;
|
|
921
921
|
}
|
|
922
|
-
function
|
|
922
|
+
function Ei(e, t) {
|
|
923
923
|
for (; e !== null; ) {
|
|
924
924
|
var r = e === t ? null : (
|
|
925
925
|
/** @type {TemplateNode} */
|
|
@@ -928,13 +928,13 @@ function Li(e, t) {
|
|
|
928
928
|
e.remove(), e = r;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function xi(e) {
|
|
932
932
|
var t = e.parent, r = e.prev, i = e.next;
|
|
933
933
|
r !== null && (r.next = i), i !== null && (i.prev = r), t !== null && (t.first === e && (t.first = i), t.last === e && (t.last = r));
|
|
934
934
|
}
|
|
935
935
|
function jr(e, t) {
|
|
936
936
|
var r = [];
|
|
937
|
-
|
|
937
|
+
Ti(e, r, !0), xo(r, () => {
|
|
938
938
|
Ze(e), t && t();
|
|
939
939
|
});
|
|
940
940
|
}
|
|
@@ -947,26 +947,26 @@ function xo(e, t) {
|
|
|
947
947
|
} else
|
|
948
948
|
t();
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Ti(e, t, r) {
|
|
951
951
|
if ((e.f & mt) === 0) {
|
|
952
952
|
if (e.f ^= mt, e.transitions !== null)
|
|
953
953
|
for (const u of e.transitions)
|
|
954
954
|
(u.is_global || r) && t.push(u);
|
|
955
955
|
for (var i = e.first; i !== null; ) {
|
|
956
956
|
var o = i.next, n = (i.f & Nr) !== 0 || (i.f & Pe) !== 0;
|
|
957
|
-
|
|
957
|
+
Ti(i, t, n ? r : !1), i = o;
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
|
-
function
|
|
962
|
-
|
|
961
|
+
function Na(e) {
|
|
962
|
+
Ii(e, !0);
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function Ii(e, t) {
|
|
965
965
|
if ((e.f & mt) !== 0) {
|
|
966
966
|
e.f ^= mt, (e.f & fe) === 0 && (e.f ^= fe), qt(e) && (_e(e, Se), cr(e));
|
|
967
967
|
for (var r = e.first; r !== null; ) {
|
|
968
968
|
var i = r.next, o = (r.f & Nr) !== 0 || (r.f & Pe) !== 0;
|
|
969
|
-
|
|
969
|
+
Ii(r, o ? t : !1), r = i;
|
|
970
970
|
}
|
|
971
971
|
if (e.transitions !== null)
|
|
972
972
|
for (const n of e.transitions)
|
|
@@ -985,9 +985,9 @@ function Vo(e, t) {
|
|
|
985
985
|
});
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
|
-
let
|
|
989
|
-
function
|
|
990
|
-
|
|
988
|
+
let Da = !1;
|
|
989
|
+
function Vi() {
|
|
990
|
+
Da || (Da = !0, document.addEventListener(
|
|
991
991
|
"reset",
|
|
992
992
|
(e) => {
|
|
993
993
|
Promise.resolve().then(() => {
|
|
@@ -1005,7 +1005,7 @@ function Ii() {
|
|
|
1005
1005
|
{ capture: !0 }
|
|
1006
1006
|
));
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function Ri(e) {
|
|
1009
1009
|
var t = j, r = $;
|
|
1010
1010
|
Ve(null), Ue(null);
|
|
1011
1011
|
try {
|
|
@@ -1015,17 +1015,17 @@ function Vi(e) {
|
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
1017
|
function Ro(e, t, r, i = r) {
|
|
1018
|
-
e.addEventListener(t, () =>
|
|
1018
|
+
e.addEventListener(t, () => Ri(r));
|
|
1019
1019
|
const o = e.__on_r;
|
|
1020
1020
|
o ? e.__on_r = () => {
|
|
1021
1021
|
o(), i(!0);
|
|
1022
|
-
} : e.__on_r = () => i(!0),
|
|
1022
|
+
} : e.__on_r = () => i(!0), Vi();
|
|
1023
1023
|
}
|
|
1024
|
-
const
|
|
1024
|
+
const ji = /* @__PURE__ */ new Set(), $r = /* @__PURE__ */ new Set();
|
|
1025
1025
|
function jo(e, t, r, i = {}) {
|
|
1026
1026
|
function o(n) {
|
|
1027
1027
|
if (i.capture || Rt.call(t, n), !n.cancelBubble)
|
|
1028
|
-
return
|
|
1028
|
+
return Ri(() => r == null ? void 0 : r.call(this, n));
|
|
1029
1029
|
}
|
|
1030
1030
|
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Dr(() => {
|
|
1031
1031
|
t.addEventListener(e, o, i);
|
|
@@ -1039,7 +1039,7 @@ function He(e, t, r, i, o) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
function $o(e) {
|
|
1041
1041
|
for (var t = 0; t < e.length; t++)
|
|
1042
|
-
|
|
1042
|
+
ji.add(e[t]);
|
|
1043
1043
|
for (var r of $r)
|
|
1044
1044
|
r(e);
|
|
1045
1045
|
}
|
|
@@ -1084,7 +1084,7 @@ function Rt(e) {
|
|
|
1084
1084
|
n.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
|
|
1085
1085
|
// -> the target could not have been disabled because it emits the event in the first place
|
|
1086
1086
|
e.target === n))
|
|
1087
|
-
if (
|
|
1087
|
+
if (Ga(_)) {
|
|
1088
1088
|
var [q, ...ce] = _;
|
|
1089
1089
|
q.apply(n, [e, ...ce]);
|
|
1090
1090
|
} else
|
|
@@ -1129,7 +1129,7 @@ function we(e, t) {
|
|
|
1129
1129
|
/* @__PURE__ */ pe(o)));
|
|
1130
1130
|
var u = (
|
|
1131
1131
|
/** @type {TemplateNode} */
|
|
1132
|
-
i ||
|
|
1132
|
+
i || gi ? document.importNode(o, !0) : o.cloneNode(!0)
|
|
1133
1133
|
);
|
|
1134
1134
|
if (r) {
|
|
1135
1135
|
var s = (
|
|
@@ -1189,8 +1189,8 @@ function So(e, t) {
|
|
|
1189
1189
|
var r = t == null ? "" : typeof t == "object" ? t + "" : t;
|
|
1190
1190
|
r !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = r, e.nodeValue = r + "");
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return
|
|
1192
|
+
function $i(e, t) {
|
|
1193
|
+
return Si(e, t);
|
|
1194
1194
|
}
|
|
1195
1195
|
function Po(e, t) {
|
|
1196
1196
|
Ir(), t.intro = t.intro ?? !1;
|
|
@@ -1209,22 +1209,22 @@ function Po(e, t) {
|
|
|
1209
1209
|
/** @type {Comment} */
|
|
1210
1210
|
n
|
|
1211
1211
|
), yt();
|
|
1212
|
-
const u =
|
|
1212
|
+
const u = Si(e, { ...t, anchor: n });
|
|
1213
1213
|
if (z === null || z.nodeType !== 8 || /** @type {Comment} */
|
|
1214
|
-
z.data !==
|
|
1214
|
+
z.data !== ii)
|
|
1215
1215
|
throw sr(), pt;
|
|
1216
1216
|
return vt(!1), /** @type {Exports} */
|
|
1217
1217
|
u;
|
|
1218
1218
|
} catch (u) {
|
|
1219
1219
|
if (u === pt)
|
|
1220
|
-
return t.recover === !1 && Jn(), Ir(), go(r), vt(!1),
|
|
1220
|
+
return t.recover === !1 && Jn(), Ir(), go(r), vt(!1), $i(e, t);
|
|
1221
1221
|
throw u;
|
|
1222
1222
|
} finally {
|
|
1223
1223
|
vt(i), Be(o);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
1226
|
const ht = /* @__PURE__ */ new Map();
|
|
1227
|
-
function
|
|
1227
|
+
function Si(e, { target: t, anchor: r, props: i = {}, events: o, context: n, intro: u = !0 }) {
|
|
1228
1228
|
Ir();
|
|
1229
1229
|
var s = /* @__PURE__ */ new Set(), c = (h) => {
|
|
1230
1230
|
for (var v = 0; v < h.length; v++) {
|
|
@@ -1238,12 +1238,12 @@ function $i(e, { target: t, anchor: r, props: i = {}, events: o, context: n, int
|
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
1240
|
};
|
|
1241
|
-
c(zn(
|
|
1241
|
+
c(zn(ji)), $r.add(c);
|
|
1242
1242
|
var d = void 0, p = Lo(() => {
|
|
1243
1243
|
var h = r ?? t.appendChild(ur());
|
|
1244
1244
|
return Rr(() => {
|
|
1245
1245
|
if (n) {
|
|
1246
|
-
|
|
1246
|
+
oi({});
|
|
1247
1247
|
var v = (
|
|
1248
1248
|
/** @type {ComponentContext} */
|
|
1249
1249
|
ie
|
|
@@ -1254,7 +1254,7 @@ function $i(e, { target: t, anchor: r, props: i = {}, events: o, context: n, int
|
|
|
1254
1254
|
/** @type {TemplateNode} */
|
|
1255
1255
|
h,
|
|
1256
1256
|
null
|
|
1257
|
-
), d = e(h, i) || {}, N && ($.nodes_end = z), n &&
|
|
1257
|
+
), d = e(h, i) || {}, N && ($.nodes_end = z), n && li();
|
|
1258
1258
|
}), () => {
|
|
1259
1259
|
var V;
|
|
1260
1260
|
for (var v of s) {
|
|
@@ -1289,18 +1289,18 @@ function W(e, t, [r, i] = [0, 0]) {
|
|
|
1289
1289
|
/** @type {Comment} */
|
|
1290
1290
|
o.data
|
|
1291
1291
|
);
|
|
1292
|
-
q === Or ? i = 0 : q ===
|
|
1292
|
+
q === Or ? i = 0 : q === ai ? i = 1 / 0 : (i = parseInt(q.substring(1)), i !== i && (i = s ? 1 / 0 : -1));
|
|
1293
1293
|
}
|
|
1294
1294
|
const _ = i > r;
|
|
1295
1295
|
!!s === _ && (o = ho(), Be(o), vt(!1), V = !0, i = -1);
|
|
1296
1296
|
}
|
|
1297
|
-
s ? (n ?
|
|
1297
|
+
s ? (n ? Na(n) : k && (n = Rr(() => k(o))), u && jr(u, () => {
|
|
1298
1298
|
u = null;
|
|
1299
|
-
})) : (u ?
|
|
1299
|
+
})) : (u ? Na(u) : k && (u = Rr(() => k(o, [r + 1, i]))), n && jr(n, () => {
|
|
1300
1300
|
n = null;
|
|
1301
1301
|
})), V && vt(!0);
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
wi(() => {
|
|
1304
1304
|
d = !1, t(p), d || h(null, null);
|
|
1305
1305
|
}, c), N && (o = z);
|
|
1306
1306
|
}
|
|
@@ -1315,7 +1315,7 @@ function Xe(e, t, r = !1, i = !1, o = !1) {
|
|
|
1315
1315
|
N && yt();
|
|
1316
1316
|
return;
|
|
1317
1317
|
}
|
|
1318
|
-
if (s.nodes_start !== null && (
|
|
1318
|
+
if (s.nodes_start !== null && (Ei(
|
|
1319
1319
|
s.nodes_start,
|
|
1320
1320
|
/** @type {TemplateNode} */
|
|
1321
1321
|
s.nodes_end
|
|
@@ -1357,7 +1357,7 @@ function No(e, t, r, i, o) {
|
|
|
1357
1357
|
var n = (s = t.$$slots) == null ? void 0 : s[r], u = !1;
|
|
1358
1358
|
n === !0 && (n = t.children, u = !0), n === void 0 || n(e, u ? () => i : i);
|
|
1359
1359
|
}
|
|
1360
|
-
const
|
|
1360
|
+
const qa = [...`
|
|
1361
1361
|
\r\f \v\uFEFF`];
|
|
1362
1362
|
function Do(e, t, r) {
|
|
1363
1363
|
var i = "" + e;
|
|
@@ -1368,7 +1368,7 @@ function Do(e, t, r) {
|
|
|
1368
1368
|
else if (i.length)
|
|
1369
1369
|
for (var n = o.length, u = 0; (u = i.indexOf(o, u)) >= 0; ) {
|
|
1370
1370
|
var s = u + n;
|
|
1371
|
-
(u === 0 ||
|
|
1371
|
+
(u === 0 || qa.includes(i[u - 1])) && (s === i.length || qa.includes(i[s])) ? i = (u === 0 ? "" : i.substring(0, u)) + i.substring(s + 1) : u = s;
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
return i === "" ? null : i;
|
|
@@ -1386,7 +1386,7 @@ function qo(e, t, r, i, o, n) {
|
|
|
1386
1386
|
return n;
|
|
1387
1387
|
}
|
|
1388
1388
|
const Oo = Symbol("is custom element"), Ho = Symbol("is html");
|
|
1389
|
-
function
|
|
1389
|
+
function Oa(e) {
|
|
1390
1390
|
if (N) {
|
|
1391
1391
|
var t = !1, r = () => {
|
|
1392
1392
|
if (!t) {
|
|
@@ -1400,21 +1400,21 @@ function qa(e) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
|
-
e.__on_r = r, Un(r),
|
|
1403
|
+
e.__on_r = r, Un(r), Vi();
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
1406
|
function Fo(e, t) {
|
|
1407
|
-
var r =
|
|
1407
|
+
var r = Pi(e);
|
|
1408
1408
|
r.value === (r.value = // treat null and undefined the same for the initial value
|
|
1409
1409
|
t ?? void 0) || // @ts-expect-error
|
|
1410
1410
|
// `progress` elements always need their value set when it's `0`
|
|
1411
1411
|
e.value === t && (t !== 0 || e.nodeName !== "PROGRESS") || (e.value = t ?? "");
|
|
1412
1412
|
}
|
|
1413
1413
|
function R(e, t, r, i) {
|
|
1414
|
-
var o =
|
|
1414
|
+
var o = Pi(e);
|
|
1415
1415
|
N && (o[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || o[t] !== (o[t] = r) && (t === "loading" && (e[Mn] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Mo(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Pi(e) {
|
|
1418
1418
|
return (
|
|
1419
1419
|
/** @type {Record<string | symbol, unknown>} **/
|
|
1420
1420
|
// @ts-expect-error
|
|
@@ -1424,16 +1424,16 @@ function Si(e) {
|
|
|
1424
1424
|
})
|
|
1425
1425
|
);
|
|
1426
1426
|
}
|
|
1427
|
-
var
|
|
1427
|
+
var Ha = /* @__PURE__ */ new Map();
|
|
1428
1428
|
function Mo(e) {
|
|
1429
|
-
var t =
|
|
1429
|
+
var t = Ha.get(e.nodeName);
|
|
1430
1430
|
if (t) return t;
|
|
1431
|
-
|
|
1431
|
+
Ha.set(e.nodeName, t = []);
|
|
1432
1432
|
for (var r, i = e, o = Element.prototype; o !== i; ) {
|
|
1433
1433
|
r = Nn(i);
|
|
1434
1434
|
for (var n in r)
|
|
1435
1435
|
r[n].set && t.push(n);
|
|
1436
|
-
i =
|
|
1436
|
+
i = Ya(i);
|
|
1437
1437
|
}
|
|
1438
1438
|
return t;
|
|
1439
1439
|
}
|
|
@@ -1449,7 +1449,7 @@ function Bo(e, t, r = t) {
|
|
|
1449
1449
|
e.checked = !!i;
|
|
1450
1450
|
});
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Fa(e, t) {
|
|
1453
1453
|
return e === t || (e == null ? void 0 : e[jt]) === t;
|
|
1454
1454
|
}
|
|
1455
1455
|
function Gt(e = {}, t, r, i) {
|
|
@@ -1457,11 +1457,11 @@ function Gt(e = {}, t, r, i) {
|
|
|
1457
1457
|
var o, n;
|
|
1458
1458
|
return Ur(() => {
|
|
1459
1459
|
o = n, n = [], tt(() => {
|
|
1460
|
-
e !== r(...n) && (t(e, ...n), o &&
|
|
1460
|
+
e !== r(...n) && (t(e, ...n), o && Fa(r(...o), e) && t(null, ...o));
|
|
1461
1461
|
});
|
|
1462
1462
|
}), () => {
|
|
1463
1463
|
Dr(() => {
|
|
1464
|
-
n &&
|
|
1464
|
+
n && Fa(r(...n), e) && t(null, ...n);
|
|
1465
1465
|
});
|
|
1466
1466
|
};
|
|
1467
1467
|
}), e;
|
|
@@ -1478,7 +1478,7 @@ function Uo(e, t, r) {
|
|
|
1478
1478
|
i.source.v = void 0, i.unsubscribe = bt;
|
|
1479
1479
|
else {
|
|
1480
1480
|
var o = !0;
|
|
1481
|
-
i.unsubscribe =
|
|
1481
|
+
i.unsubscribe = Di(e, (n) => {
|
|
1482
1482
|
o ? i.source.v = n : y(i.source, n);
|
|
1483
1483
|
}), o = !1;
|
|
1484
1484
|
}
|
|
@@ -1506,7 +1506,7 @@ function Go(e) {
|
|
|
1506
1506
|
Yt = t;
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function Ma(e) {
|
|
1510
1510
|
var t;
|
|
1511
1511
|
return ((t = e.ctx) == null ? void 0 : t.d) ?? !1;
|
|
1512
1512
|
}
|
|
@@ -1518,7 +1518,7 @@ function x(e, t, r, i) {
|
|
|
1518
1518
|
e[t]
|
|
1519
1519
|
)) : d = /** @type {V} */
|
|
1520
1520
|
e[t];
|
|
1521
|
-
var p = jt in e ||
|
|
1521
|
+
var p = jt in e || Xa in e, h = u && (((nt = Qe(e, t)) == null ? void 0 : nt.set) ?? (p && t in e && ((H) => e[t] = H))) || void 0, v = (
|
|
1522
1522
|
/** @type {V} */
|
|
1523
1523
|
i
|
|
1524
1524
|
), k = !0, V = !1, _ = () => (V = !0, k && (k = !1, s ? v = tt(
|
|
@@ -1550,13 +1550,13 @@ function x(e, t, r, i) {
|
|
|
1550
1550
|
if (arguments.length > 0) {
|
|
1551
1551
|
const me = oe ? l(J) : u ? Fe(H) : H;
|
|
1552
1552
|
if (!J.equals(me)) {
|
|
1553
|
-
if (K = !0, y(ee, me), V && v !== void 0 && (v = me),
|
|
1553
|
+
if (K = !0, y(ee, me), V && v !== void 0 && (v = me), Ma(J))
|
|
1554
1554
|
return H;
|
|
1555
1555
|
tt(() => l(J));
|
|
1556
1556
|
}
|
|
1557
1557
|
return H;
|
|
1558
1558
|
}
|
|
1559
|
-
return
|
|
1559
|
+
return Ma(J) ? J.v : l(J);
|
|
1560
1560
|
};
|
|
1561
1561
|
}
|
|
1562
1562
|
function Yo(e) {
|
|
@@ -1586,14 +1586,14 @@ class Wo {
|
|
|
1586
1586
|
return l(r.get(s) ?? i(s, Reflect.get(u, s)));
|
|
1587
1587
|
},
|
|
1588
1588
|
has(u, s) {
|
|
1589
|
-
return s ===
|
|
1589
|
+
return s === Xa ? !0 : (l(r.get(s) ?? i(s, Reflect.get(u, s))), Reflect.has(u, s));
|
|
1590
1590
|
},
|
|
1591
1591
|
set(u, s, c) {
|
|
1592
1592
|
return y(r.get(s) ?? i(s, c), c), Reflect.set(u, s, c);
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
1595
|
);
|
|
1596
|
-
Cr(this, be, (t.hydrate ? Po :
|
|
1596
|
+
Cr(this, be, (t.hydrate ? Po : $i)(t.component, {
|
|
1597
1597
|
target: t.target,
|
|
1598
1598
|
anchor: t.anchor,
|
|
1599
1599
|
props: o,
|
|
@@ -1643,8 +1643,8 @@ class Wo {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
1645
|
$e = new WeakMap(), be = new WeakMap();
|
|
1646
|
-
let
|
|
1647
|
-
typeof HTMLElement == "function" && (
|
|
1646
|
+
let zi;
|
|
1647
|
+
typeof HTMLElement == "function" && (zi = class extends HTMLElement {
|
|
1648
1648
|
/**
|
|
1649
1649
|
* @param {*} $$componentCtor
|
|
1650
1650
|
* @param {*} $$slots
|
|
@@ -1816,7 +1816,7 @@ function Ko(e) {
|
|
|
1816
1816
|
}), t;
|
|
1817
1817
|
}
|
|
1818
1818
|
function Jo(e, t, r, i, o, n) {
|
|
1819
|
-
let u = class extends
|
|
1819
|
+
let u = class extends zi {
|
|
1820
1820
|
constructor() {
|
|
1821
1821
|
super(e, r, o), this.$$p_d = t;
|
|
1822
1822
|
}
|
|
@@ -1851,8 +1851,8 @@ function Jo(e, t, r, i, o, n) {
|
|
|
1851
1851
|
}), e.element = /** @type {any} */
|
|
1852
1852
|
u, u;
|
|
1853
1853
|
}
|
|
1854
|
-
function
|
|
1855
|
-
ie === null &&
|
|
1854
|
+
function Ni(e) {
|
|
1855
|
+
ie === null && ni(), Vr(() => {
|
|
1856
1856
|
const t = tt(e);
|
|
1857
1857
|
if (typeof t == "function") return (
|
|
1858
1858
|
/** @type {() => void} */
|
|
@@ -1861,9 +1861,9 @@ function zi(e) {
|
|
|
1861
1861
|
});
|
|
1862
1862
|
}
|
|
1863
1863
|
function Xo(e) {
|
|
1864
|
-
ie === null &&
|
|
1864
|
+
ie === null && ni(), Ni(() => () => tt(e));
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function Di(e, t, r) {
|
|
1867
1867
|
if (e == null)
|
|
1868
1868
|
return t(void 0), bt;
|
|
1869
1869
|
const i = tt(
|
|
@@ -1880,7 +1880,7 @@ function Qo(e, t = bt) {
|
|
|
1880
1880
|
let r = null;
|
|
1881
1881
|
const i = /* @__PURE__ */ new Set();
|
|
1882
1882
|
function o(s) {
|
|
1883
|
-
if (
|
|
1883
|
+
if (ri(e, s) && (e = s, r)) {
|
|
1884
1884
|
const c = !gt.length;
|
|
1885
1885
|
for (const d of i)
|
|
1886
1886
|
d[1](), gt.push(d, e);
|
|
@@ -1910,7 +1910,7 @@ function Qo(e, t = bt) {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
function Jt(e) {
|
|
1912
1912
|
let t;
|
|
1913
|
-
return
|
|
1913
|
+
return Di(e, (r) => t = r)(), t;
|
|
1914
1914
|
}
|
|
1915
1915
|
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
1916
1916
|
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
@@ -1977,6 +1977,24 @@ const rl = {
|
|
|
1977
1977
|
};
|
|
1978
1978
|
globalThis.altchaI18n.set("bg", rl);
|
|
1979
1979
|
const al = {
|
|
1980
|
+
ariaLinkLabel: "Наведаць Altcha.org",
|
|
1981
|
+
enterCode: "Увядзіце код",
|
|
1982
|
+
enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
|
|
1983
|
+
error: "Праверка не прайшла. Паспрабуйце пазней.",
|
|
1984
|
+
expired: "Тэрмін праверкі скончыўся. Паспрабуйце зноў.",
|
|
1985
|
+
footer: 'Абаронена <a href="https://altcha.org/" target="_blank" aria-label="Наведаць Altcha.org">ALTCHA</a>',
|
|
1986
|
+
getAudioChallenge: "Атрымаць аўдыё выклік",
|
|
1987
|
+
label: "Я не робат",
|
|
1988
|
+
loading: "Загрузка...",
|
|
1989
|
+
reload: "Перазагрузіць",
|
|
1990
|
+
verify: "Праверыць",
|
|
1991
|
+
verificationRequired: "Патрабуецца праверка!",
|
|
1992
|
+
verified: "Праверана",
|
|
1993
|
+
verifying: "Правяраем...",
|
|
1994
|
+
waitAlert: "Праверка... калі ласка, пачакайце."
|
|
1995
|
+
};
|
|
1996
|
+
globalThis.altchaI18n.set("be", al);
|
|
1997
|
+
const il = {
|
|
1980
1998
|
ariaLinkLabel: "Posjetite Altcha.org",
|
|
1981
1999
|
enterCode: "Unesite kod",
|
|
1982
2000
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
|
@@ -1993,8 +2011,8 @@ const al = {
|
|
|
1993
2011
|
verifying: "Verifikacija u toku...",
|
|
1994
2012
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate."
|
|
1995
2013
|
};
|
|
1996
|
-
globalThis.altchaI18n.set("bs",
|
|
1997
|
-
const
|
|
2014
|
+
globalThis.altchaI18n.set("bs", il);
|
|
2015
|
+
const nl = {
|
|
1998
2016
|
ariaLinkLabel: "Visita Altcha.org",
|
|
1999
2017
|
enterCode: "Introdueix el codi",
|
|
2000
2018
|
enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
|
|
@@ -2011,8 +2029,8 @@ const il = {
|
|
|
2011
2029
|
verifying: "Verificant...",
|
|
2012
2030
|
waitAlert: "Verificant... si us plau, espera."
|
|
2013
2031
|
};
|
|
2014
|
-
globalThis.altchaI18n.set("ca",
|
|
2015
|
-
const
|
|
2032
|
+
globalThis.altchaI18n.set("ca", nl);
|
|
2033
|
+
const ol = {
|
|
2016
2034
|
ariaLinkLabel: "Navštivte Altcha.org",
|
|
2017
2035
|
enterCode: "Zadejte kód",
|
|
2018
2036
|
enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
|
|
@@ -2029,8 +2047,8 @@ const nl = {
|
|
|
2029
2047
|
verifying: "Ověřování...",
|
|
2030
2048
|
waitAlert: "Probíhá ověření... prosím počkejte."
|
|
2031
2049
|
};
|
|
2032
|
-
globalThis.altchaI18n.set("cs",
|
|
2033
|
-
const
|
|
2050
|
+
globalThis.altchaI18n.set("cs", ol);
|
|
2051
|
+
const ll = {
|
|
2034
2052
|
ariaLinkLabel: "Besøg Altcha.org",
|
|
2035
2053
|
enterCode: "Indtast kode",
|
|
2036
2054
|
enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
|
|
@@ -2047,8 +2065,8 @@ const ol = {
|
|
|
2047
2065
|
verifying: "Verificerer...",
|
|
2048
2066
|
waitAlert: "Verificerer... vent venligst."
|
|
2049
2067
|
};
|
|
2050
|
-
globalThis.altchaI18n.set("da",
|
|
2051
|
-
const
|
|
2068
|
+
globalThis.altchaI18n.set("da", ll);
|
|
2069
|
+
const sl = {
|
|
2052
2070
|
ariaLinkLabel: "Besuche Altcha.org",
|
|
2053
2071
|
enterCode: "Code eingeben",
|
|
2054
2072
|
enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
|
|
@@ -2065,8 +2083,8 @@ const ll = {
|
|
|
2065
2083
|
verifying: "Wird überprüft...",
|
|
2066
2084
|
waitAlert: "Überprüfung läuft... bitte warten."
|
|
2067
2085
|
};
|
|
2068
|
-
globalThis.altchaI18n.set("de",
|
|
2069
|
-
const
|
|
2086
|
+
globalThis.altchaI18n.set("de", sl);
|
|
2087
|
+
const ul = {
|
|
2070
2088
|
ariaLinkLabel: "Επισκεφθείτε το Altcha.org",
|
|
2071
2089
|
enterCode: "Εισαγάγετε κωδικό",
|
|
2072
2090
|
enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
|
|
@@ -2083,8 +2101,8 @@ const sl = {
|
|
|
2083
2101
|
verifying: "Γίνεται επαλήθευση...",
|
|
2084
2102
|
waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε."
|
|
2085
2103
|
};
|
|
2086
|
-
globalThis.altchaI18n.set("el",
|
|
2087
|
-
const
|
|
2104
|
+
globalThis.altchaI18n.set("el", ul);
|
|
2105
|
+
const fl = {
|
|
2088
2106
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2089
2107
|
enterCode: "Introduce el código",
|
|
2090
2108
|
enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
|
|
@@ -2101,8 +2119,8 @@ const ul = {
|
|
|
2101
2119
|
verifying: "Verificando...",
|
|
2102
2120
|
waitAlert: "Verificando... por favor espere."
|
|
2103
2121
|
};
|
|
2104
|
-
globalThis.altchaI18n.set("es-es",
|
|
2105
|
-
const
|
|
2122
|
+
globalThis.altchaI18n.set("es-es", fl);
|
|
2123
|
+
const cl = {
|
|
2106
2124
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2107
2125
|
enterCode: "Ingresa el código",
|
|
2108
2126
|
enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
|
|
@@ -2119,8 +2137,8 @@ const fl = {
|
|
|
2119
2137
|
verifying: "Verificando...",
|
|
2120
2138
|
waitAlert: "Verificando... por favor espera."
|
|
2121
2139
|
};
|
|
2122
|
-
globalThis.altchaI18n.set("es-419",
|
|
2123
|
-
const
|
|
2140
|
+
globalThis.altchaI18n.set("es-419", cl);
|
|
2141
|
+
const dl = {
|
|
2124
2142
|
ariaLinkLabel: "Külasta Altcha.org",
|
|
2125
2143
|
enterCode: "Sisesta kood",
|
|
2126
2144
|
enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
|
|
@@ -2137,8 +2155,8 @@ const cl = {
|
|
|
2137
2155
|
verifying: "Kinnitamine...",
|
|
2138
2156
|
waitAlert: "Kinnitamine... palun oota."
|
|
2139
2157
|
};
|
|
2140
|
-
globalThis.altchaI18n.set("et",
|
|
2141
|
-
const
|
|
2158
|
+
globalThis.altchaI18n.set("et", dl);
|
|
2159
|
+
const hl = {
|
|
2142
2160
|
ariaLinkLabel: "Bisitatu Altcha.org",
|
|
2143
2161
|
enterCode: "Sartu kodea",
|
|
2144
2162
|
enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
|
|
@@ -2155,8 +2173,8 @@ const dl = {
|
|
|
2155
2173
|
verifying: "Egiaztatzen...",
|
|
2156
2174
|
waitAlert: "Egiaztatzen... itxaron mesedez."
|
|
2157
2175
|
};
|
|
2158
|
-
globalThis.altchaI18n.set("eu",
|
|
2159
|
-
const
|
|
2176
|
+
globalThis.altchaI18n.set("eu", hl);
|
|
2177
|
+
const gl = {
|
|
2160
2178
|
ariaLinkLabel: "Vieraile sivulla Altcha.org",
|
|
2161
2179
|
enterCode: "Syötä koodi",
|
|
2162
2180
|
enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
|
|
@@ -2173,8 +2191,8 @@ const hl = {
|
|
|
2173
2191
|
verifying: "Vahvistetaan...",
|
|
2174
2192
|
waitAlert: "Vahvistetaan... odota hetki."
|
|
2175
2193
|
};
|
|
2176
|
-
globalThis.altchaI18n.set("fi",
|
|
2177
|
-
const
|
|
2194
|
+
globalThis.altchaI18n.set("fi", gl);
|
|
2195
|
+
const vl = {
|
|
2178
2196
|
ariaLinkLabel: "Visitez Altcha.org",
|
|
2179
2197
|
enterCode: "Entrez le code",
|
|
2180
2198
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
|
|
@@ -2191,8 +2209,8 @@ const gl = {
|
|
|
2191
2209
|
verifying: "Vérification en cours...",
|
|
2192
2210
|
waitAlert: "Vérification en cours... veuillez patienter."
|
|
2193
2211
|
};
|
|
2194
|
-
globalThis.altchaI18n.set("fr-ca",
|
|
2195
|
-
const
|
|
2212
|
+
globalThis.altchaI18n.set("fr-ca", vl);
|
|
2213
|
+
const bl = {
|
|
2196
2214
|
ariaLinkLabel: "Visitez Altcha.org",
|
|
2197
2215
|
enterCode: "Entrez le code",
|
|
2198
2216
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
|
@@ -2209,8 +2227,8 @@ const vl = {
|
|
|
2209
2227
|
verifying: "Vérification en cours...",
|
|
2210
2228
|
waitAlert: "Vérification en cours... veuillez patienter."
|
|
2211
2229
|
};
|
|
2212
|
-
globalThis.altchaI18n.set("fr-fr",
|
|
2213
|
-
const
|
|
2230
|
+
globalThis.altchaI18n.set("fr-fr", bl);
|
|
2231
|
+
const pl = {
|
|
2214
2232
|
ariaLinkLabel: "Tabhair cuairt ar Altcha.org",
|
|
2215
2233
|
enterCode: "Iontráil cód",
|
|
2216
2234
|
enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
|
|
@@ -2227,8 +2245,8 @@ const bl = {
|
|
|
2227
2245
|
verifying: "Fíorú ar siúl...",
|
|
2228
2246
|
waitAlert: "Fíorú ar siúl... fan go fóill."
|
|
2229
2247
|
};
|
|
2230
|
-
globalThis.altchaI18n.set("ga",
|
|
2231
|
-
const
|
|
2248
|
+
globalThis.altchaI18n.set("ga", pl);
|
|
2249
|
+
const ml = {
|
|
2232
2250
|
ariaLinkLabel: "Posjetite Altcha.org",
|
|
2233
2251
|
enterCode: "Unesite kod",
|
|
2234
2252
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite razmaknicu za reprodukciju zvuka.",
|
|
@@ -2245,8 +2263,8 @@ const pl = {
|
|
|
2245
2263
|
verifying: "Provjeravanje...",
|
|
2246
2264
|
waitAlert: "Provjera je u tijeku... molimo pričekajte."
|
|
2247
2265
|
};
|
|
2248
|
-
globalThis.altchaI18n.set("hr",
|
|
2249
|
-
const
|
|
2266
|
+
globalThis.altchaI18n.set("hr", ml);
|
|
2267
|
+
const yl = {
|
|
2250
2268
|
ariaLinkLabel: "Látogass el az Altcha.org oldalra",
|
|
2251
2269
|
enterCode: "Írja be a kódot",
|
|
2252
2270
|
enterCodeAria: "Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",
|
|
@@ -2263,8 +2281,8 @@ const ml = {
|
|
|
2263
2281
|
verifying: "Ellenőrzés folyamatban...",
|
|
2264
2282
|
waitAlert: "Ellenőrzés folyamatban... kérlek várj."
|
|
2265
2283
|
};
|
|
2266
|
-
globalThis.altchaI18n.set("hu",
|
|
2267
|
-
const
|
|
2284
|
+
globalThis.altchaI18n.set("hu", yl);
|
|
2285
|
+
const Al = {
|
|
2268
2286
|
ariaLinkLabel: "Heimsækja Altcha.org",
|
|
2269
2287
|
enterCode: "Sláðu inn kóða",
|
|
2270
2288
|
enterCodeAria: "Sláðu inn kóðann sem þú heyrir. Ýttu á Space til að spila hljóðið.",
|
|
@@ -2281,8 +2299,8 @@ const yl = {
|
|
|
2281
2299
|
verifying: "Að staðfesta...",
|
|
2282
2300
|
waitAlert: "Að staðfesta... vinsamlegast bíða."
|
|
2283
2301
|
};
|
|
2284
|
-
globalThis.altchaI18n.set("is",
|
|
2285
|
-
const
|
|
2302
|
+
globalThis.altchaI18n.set("is", Al);
|
|
2303
|
+
const kl = {
|
|
2286
2304
|
ariaLinkLabel: "Visita Altcha.org",
|
|
2287
2305
|
enterCode: "Inserisci il codice",
|
|
2288
2306
|
enterCodeAria: "Inserisci il codice che senti. Premi Spazio per riprodurre l'audio.",
|
|
@@ -2299,8 +2317,8 @@ const Al = {
|
|
|
2299
2317
|
verifying: "Verifica in corso...",
|
|
2300
2318
|
waitAlert: "Verifica in corso... attendere."
|
|
2301
2319
|
};
|
|
2302
|
-
globalThis.altchaI18n.set("it",
|
|
2303
|
-
const
|
|
2320
|
+
globalThis.altchaI18n.set("it", kl);
|
|
2321
|
+
const _l = {
|
|
2304
2322
|
ariaLinkLabel: "Apsilankykite Altcha.org",
|
|
2305
2323
|
enterCode: "Įveskite kodą",
|
|
2306
2324
|
enterCodeAria: "Įveskite girdimą kodą. Paspauskite tarpo klavišą, kad grotumėte garso įrašą.",
|
|
@@ -2317,8 +2335,8 @@ const kl = {
|
|
|
2317
2335
|
verifying: "Tikrinama...",
|
|
2318
2336
|
waitAlert: "Tikrinama... prašome palaukti."
|
|
2319
2337
|
};
|
|
2320
|
-
globalThis.altchaI18n.set("lt",
|
|
2321
|
-
const
|
|
2338
|
+
globalThis.altchaI18n.set("lt", _l);
|
|
2339
|
+
const wl = {
|
|
2322
2340
|
ariaLinkLabel: "Apmeklējiet Altcha.org",
|
|
2323
2341
|
enterCode: "Ievadiet kodu",
|
|
2324
2342
|
enterCodeAria: "Ievadiet dzirdamo kodu. Nospiediet atstarpes taustiņu, lai atskaņotu audio.",
|
|
@@ -2335,8 +2353,8 @@ const _l = {
|
|
|
2335
2353
|
verifying: "Notiek verifikācija...",
|
|
2336
2354
|
waitAlert: "Notiek verifikācija... lūdzu, uzgaidiet."
|
|
2337
2355
|
};
|
|
2338
|
-
globalThis.altchaI18n.set("lv",
|
|
2339
|
-
const
|
|
2356
|
+
globalThis.altchaI18n.set("lv", wl);
|
|
2357
|
+
const Cl = {
|
|
2340
2358
|
ariaLinkLabel: "Żur Altcha.org",
|
|
2341
2359
|
enterCode: "Idħol il-kodiċi",
|
|
2342
2360
|
enterCodeAria: "Idħol il-kodiċi li tisma'. Agħfas Spazju biex tindaqq l-awdjo.",
|
|
@@ -2353,8 +2371,8 @@ const wl = {
|
|
|
2353
2371
|
verifying: "Verifika għaddejja...",
|
|
2354
2372
|
waitAlert: "Verifika għaddejja... stenna ftit."
|
|
2355
2373
|
};
|
|
2356
|
-
globalThis.altchaI18n.set("mt",
|
|
2357
|
-
const
|
|
2374
|
+
globalThis.altchaI18n.set("mt", Cl);
|
|
2375
|
+
const qi = {
|
|
2358
2376
|
ariaLinkLabel: "Besøk Altcha.org",
|
|
2359
2377
|
enterCode: "Skriv inn kode",
|
|
2360
2378
|
enterCodeAria: "Skriv inn koden du hører. Trykk på Space for å spille av lyden.",
|
|
@@ -2371,9 +2389,9 @@ const Di = {
|
|
|
2371
2389
|
verifying: "Verifiserer...",
|
|
2372
2390
|
waitAlert: "Verifiserer... vennligst vent."
|
|
2373
2391
|
};
|
|
2374
|
-
globalThis.altchaI18n.set("nb",
|
|
2375
|
-
globalThis.altchaI18n.set("no",
|
|
2376
|
-
const
|
|
2392
|
+
globalThis.altchaI18n.set("nb", qi);
|
|
2393
|
+
globalThis.altchaI18n.set("no", qi);
|
|
2394
|
+
const Ll = {
|
|
2377
2395
|
ariaLinkLabel: "Bezoek Altcha.org",
|
|
2378
2396
|
enterCode: "Voer code in",
|
|
2379
2397
|
enterCodeAria: "Voer de code in die je hoort. Druk op Spatie om de audio af te spelen.",
|
|
@@ -2390,8 +2408,8 @@ const Cl = {
|
|
|
2390
2408
|
verifying: "Bezig met verifiëren...",
|
|
2391
2409
|
waitAlert: "Bezig met verifiëren... even geduld a.u.b."
|
|
2392
2410
|
};
|
|
2393
|
-
globalThis.altchaI18n.set("nl",
|
|
2394
|
-
const
|
|
2411
|
+
globalThis.altchaI18n.set("nl", Ll);
|
|
2412
|
+
const El = {
|
|
2395
2413
|
ariaLinkLabel: "Odwiedź Altcha.org",
|
|
2396
2414
|
enterCode: "Wprowadź kod",
|
|
2397
2415
|
enterCodeAria: "Wpisz kod, który słyszysz. Naciśnij Spację, aby odtworzyć dźwięk.",
|
|
@@ -2408,8 +2426,8 @@ const Ll = {
|
|
|
2408
2426
|
verifying: "Weryfikacja...",
|
|
2409
2427
|
waitAlert: "Trwa weryfikacja... proszę czekać."
|
|
2410
2428
|
};
|
|
2411
|
-
globalThis.altchaI18n.set("pl",
|
|
2412
|
-
const
|
|
2429
|
+
globalThis.altchaI18n.set("pl", El);
|
|
2430
|
+
const xl = {
|
|
2413
2431
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2414
2432
|
enterCode: "Introduza o código",
|
|
2415
2433
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
|
@@ -2426,8 +2444,8 @@ const El = {
|
|
|
2426
2444
|
verifying: "A verificar...",
|
|
2427
2445
|
waitAlert: "A verificar... por favor aguarde."
|
|
2428
2446
|
};
|
|
2429
|
-
globalThis.altchaI18n.set("pt-pt",
|
|
2430
|
-
const
|
|
2447
|
+
globalThis.altchaI18n.set("pt-pt", xl);
|
|
2448
|
+
const Tl = {
|
|
2431
2449
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2432
2450
|
enterCode: "Digite o código",
|
|
2433
2451
|
enterCodeAria: "Digite o código que você ouve. Pressione Espaço para reproduzir o áudio.",
|
|
@@ -2444,8 +2462,8 @@ const xl = {
|
|
|
2444
2462
|
verifying: "Verificando...",
|
|
2445
2463
|
waitAlert: "Verificando... por favor aguarde."
|
|
2446
2464
|
};
|
|
2447
|
-
globalThis.altchaI18n.set("pt-br",
|
|
2448
|
-
const
|
|
2465
|
+
globalThis.altchaI18n.set("pt-br", Tl);
|
|
2466
|
+
const Il = {
|
|
2449
2467
|
ariaLinkLabel: "Vizitează Altcha.org",
|
|
2450
2468
|
enterCode: "Introduceți codul",
|
|
2451
2469
|
enterCodeAria: "Introduceți codul pe care îl auziți. Apăsați Spațiu pentru a reda audio.",
|
|
@@ -2462,8 +2480,8 @@ const Tl = {
|
|
|
2462
2480
|
verifying: "Se verifică...",
|
|
2463
2481
|
waitAlert: "Se verifică... te rugăm să aștepți."
|
|
2464
2482
|
};
|
|
2465
|
-
globalThis.altchaI18n.set("ro",
|
|
2466
|
-
const
|
|
2483
|
+
globalThis.altchaI18n.set("ro", Il);
|
|
2484
|
+
const Vl = {
|
|
2467
2485
|
ariaLinkLabel: "Перейти на Altcha.org",
|
|
2468
2486
|
enterCode: "Введите код",
|
|
2469
2487
|
enterCodeAria: "Введите код, который слышите. Нажмите пробел для воспроизведения аудио.",
|
|
@@ -2480,8 +2498,8 @@ const Il = {
|
|
|
2480
2498
|
verifying: "Идет проверка...",
|
|
2481
2499
|
waitAlert: "Идет проверка... Пожалуйста, подождите."
|
|
2482
2500
|
};
|
|
2483
|
-
globalThis.altchaI18n.set("ru",
|
|
2484
|
-
const
|
|
2501
|
+
globalThis.altchaI18n.set("ru", Vl);
|
|
2502
|
+
const Rl = {
|
|
2485
2503
|
ariaLinkLabel: "Navštívte Altcha.org",
|
|
2486
2504
|
enterCode: "Zadajte kód",
|
|
2487
2505
|
enterCodeAria: "Zadajte kód, ktorý počujete. Stlačením medzerníka prehráte zvuk.",
|
|
@@ -2498,8 +2516,8 @@ const Vl = {
|
|
|
2498
2516
|
verifying: "Prebieha verifikácia...",
|
|
2499
2517
|
waitAlert: "Prebieha verifikácia... prosím čakajte."
|
|
2500
2518
|
};
|
|
2501
|
-
globalThis.altchaI18n.set("sk",
|
|
2502
|
-
const
|
|
2519
|
+
globalThis.altchaI18n.set("sk", Rl);
|
|
2520
|
+
const jl = {
|
|
2503
2521
|
ariaLinkLabel: "Obiščite Altcha.org",
|
|
2504
2522
|
enterCode: "Vnesite kodo",
|
|
2505
2523
|
enterCodeAria: "Vnesite kodo, ki jo slišite. Pritisnite preslednico za predvajanje zvoka.",
|
|
@@ -2516,8 +2534,8 @@ const Rl = {
|
|
|
2516
2534
|
verifying: "Preverjanje...",
|
|
2517
2535
|
waitAlert: "Preverjanje... prosim počakajte."
|
|
2518
2536
|
};
|
|
2519
|
-
globalThis.altchaI18n.set("sl",
|
|
2520
|
-
const
|
|
2537
|
+
globalThis.altchaI18n.set("sl", jl);
|
|
2538
|
+
const $l = {
|
|
2521
2539
|
ariaLinkLabel: "Posetite Altcha.org",
|
|
2522
2540
|
enterCode: "Unesite kod",
|
|
2523
2541
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
|
@@ -2534,8 +2552,8 @@ const jl = {
|
|
|
2534
2552
|
verifying: "Verifikacija u toku...",
|
|
2535
2553
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate."
|
|
2536
2554
|
};
|
|
2537
|
-
globalThis.altchaI18n.set("sr",
|
|
2538
|
-
const
|
|
2555
|
+
globalThis.altchaI18n.set("sr", $l);
|
|
2556
|
+
const Sl = {
|
|
2539
2557
|
ariaLinkLabel: "Besök Altcha.org",
|
|
2540
2558
|
enterCode: "Ange kod",
|
|
2541
2559
|
enterCodeAria: "Ange koden du hör. Tryck på mellanslag för att spela upp ljudet.",
|
|
@@ -2552,8 +2570,8 @@ const $l = {
|
|
|
2552
2570
|
verifying: "Verifierar...",
|
|
2553
2571
|
waitAlert: "Verifierar... vänligen vänta."
|
|
2554
2572
|
};
|
|
2555
|
-
globalThis.altchaI18n.set("sv",
|
|
2556
|
-
const
|
|
2573
|
+
globalThis.altchaI18n.set("sv", Sl);
|
|
2574
|
+
const Pl = {
|
|
2557
2575
|
ariaLinkLabel: "Altcha.org'yu ziyaret edin",
|
|
2558
2576
|
enterCode: "Kodu girin",
|
|
2559
2577
|
enterCodeAria: "Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",
|
|
@@ -2570,8 +2588,8 @@ const Sl = {
|
|
|
2570
2588
|
verifying: "Doğrulama yapılıyor...",
|
|
2571
2589
|
waitAlert: "Doğrulama yapılıyor... lütfen bekleyin."
|
|
2572
2590
|
};
|
|
2573
|
-
globalThis.altchaI18n.set("tr",
|
|
2574
|
-
const
|
|
2591
|
+
globalThis.altchaI18n.set("tr", Pl);
|
|
2592
|
+
const zl = {
|
|
2575
2593
|
ariaLinkLabel: "Відвідати Altcha.org",
|
|
2576
2594
|
enterCode: "Введіть код",
|
|
2577
2595
|
enterCodeAria: "Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",
|
|
@@ -2588,8 +2606,8 @@ const Pl = {
|
|
|
2588
2606
|
verifying: "Перевіряється...",
|
|
2589
2607
|
waitAlert: "Перевірка... будь ласка, зачекайте."
|
|
2590
2608
|
};
|
|
2591
|
-
globalThis.altchaI18n.set("uk",
|
|
2592
|
-
const
|
|
2609
|
+
globalThis.altchaI18n.set("uk", zl);
|
|
2610
|
+
const Nl = {
|
|
2593
2611
|
ariaLinkLabel: "Altcha.org পরিদর্শন করুন",
|
|
2594
2612
|
enterCode: "কোড লিখুন",
|
|
2595
2613
|
enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
|
|
@@ -2606,8 +2624,8 @@ const zl = {
|
|
|
2606
2624
|
verifying: "যাচাই করা হচ্ছে...",
|
|
2607
2625
|
waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।"
|
|
2608
2626
|
};
|
|
2609
|
-
globalThis.altchaI18n.set("bn",
|
|
2610
|
-
const
|
|
2627
|
+
globalThis.altchaI18n.set("bn", Nl);
|
|
2628
|
+
const Dl = {
|
|
2611
2629
|
ariaLinkLabel: "בקר באתר Altcha.org",
|
|
2612
2630
|
enterCode: "הזן קוד",
|
|
2613
2631
|
enterCodeAria: "הזן את הקוד שאתה שומע. לחץ על רווח להפעלת השמע.",
|
|
@@ -2624,8 +2642,8 @@ const Nl = {
|
|
|
2624
2642
|
verifying: "מאמת...",
|
|
2625
2643
|
waitAlert: "מבצע אימות... אנא המתן."
|
|
2626
2644
|
};
|
|
2627
|
-
globalThis.altchaI18n.set("he",
|
|
2628
|
-
const
|
|
2645
|
+
globalThis.altchaI18n.set("he", Dl);
|
|
2646
|
+
const ql = {
|
|
2629
2647
|
ariaLinkLabel: "Altcha.org पर जाएं",
|
|
2630
2648
|
enterCode: "कोड दर्ज करेंं",
|
|
2631
2649
|
enterCodeAria: "आप जो कोड सुनते हैं उसे दर्ज करें। ऑडियो चलाने के लिए स्पेस दबाएं।",
|
|
@@ -2642,8 +2660,8 @@ const Dl = {
|
|
|
2642
2660
|
verifying: "सत्यापित कर रहे हैं...",
|
|
2643
2661
|
waitAlert: "सत्यापित किया जा रहा है... कृपया प्रतीक्षा करें।"
|
|
2644
2662
|
};
|
|
2645
|
-
globalThis.altchaI18n.set("hi",
|
|
2646
|
-
const
|
|
2663
|
+
globalThis.altchaI18n.set("hi", ql);
|
|
2664
|
+
const Ol = {
|
|
2647
2665
|
ariaLinkLabel: "Kunjungi Altcha.org",
|
|
2648
2666
|
enterCode: "Masukkan kode",
|
|
2649
2667
|
enterCodeAria: "Masukkan kode yang Anda dengar. Tekan Spasi untuk memutar audio.",
|
|
@@ -2660,8 +2678,8 @@ const ql = {
|
|
|
2660
2678
|
verifying: "Memverifikasi...",
|
|
2661
2679
|
waitAlert: "Memverifikasi... harap tunggu."
|
|
2662
2680
|
};
|
|
2663
|
-
globalThis.altchaI18n.set("id",
|
|
2664
|
-
const
|
|
2681
|
+
globalThis.altchaI18n.set("id", Ol);
|
|
2682
|
+
const Hl = {
|
|
2665
2683
|
ariaLinkLabel: "Altcha.orgを訪問",
|
|
2666
2684
|
enterCode: "コードを入力",
|
|
2667
2685
|
enterCodeAria: "聞こえるコードを入力してください。スペースキーを押して音声を再生します。",
|
|
@@ -2678,8 +2696,8 @@ const Ol = {
|
|
|
2678
2696
|
verifying: "確認中...",
|
|
2679
2697
|
waitAlert: "確認中...少々お待ちください。"
|
|
2680
2698
|
};
|
|
2681
|
-
globalThis.altchaI18n.set("ja",
|
|
2682
|
-
const
|
|
2699
|
+
globalThis.altchaI18n.set("ja", Hl);
|
|
2700
|
+
const Fl = {
|
|
2683
2701
|
ariaLinkLabel: "Altcha.org 방문하기",
|
|
2684
2702
|
enterCode: "코드 입력",
|
|
2685
2703
|
enterCodeAria: "들리는 코드를 입력하세요. 스페이스 바를 눌러 오디오를 재생합니다.",
|
|
@@ -2696,8 +2714,8 @@ const Hl = {
|
|
|
2696
2714
|
verifying: "확인 중...",
|
|
2697
2715
|
waitAlert: "확인 중... 잠시만 기다려주세요."
|
|
2698
2716
|
};
|
|
2699
|
-
globalThis.altchaI18n.set("ko",
|
|
2700
|
-
const
|
|
2717
|
+
globalThis.altchaI18n.set("ko", Fl);
|
|
2718
|
+
const Ml = {
|
|
2701
2719
|
ariaLinkLabel: "Altcha.org भेट द्या",
|
|
2702
2720
|
enterCode: "कोड टाकाा",
|
|
2703
2721
|
enterCodeAria: "तुम्ही ऐकत असलेला कोड टाका. ऑडिओ प्ले करण्यासाठी स्पेस दाबा.",
|
|
@@ -2714,8 +2732,8 @@ const Fl = {
|
|
|
2714
2732
|
verifying: "पुष्टीकरण करत आहे...",
|
|
2715
2733
|
waitAlert: "पुष्टीकरण करत आहे... कृपया थोडा वेळ थांबा."
|
|
2716
2734
|
};
|
|
2717
|
-
globalThis.altchaI18n.set("mr",
|
|
2718
|
-
const
|
|
2735
|
+
globalThis.altchaI18n.set("mr", Ml);
|
|
2736
|
+
const Bl = {
|
|
2719
2737
|
ariaLinkLabel: "Altcha.org ஐ பார்வையிடவும்",
|
|
2720
2738
|
enterCode: "குறியீட்டை உள்ளிடவும்",
|
|
2721
2739
|
enterCodeAria: "நீங்கள் கேட்கும் குறியீட்டை உள்ளிடவும். ஆடியோவை இயக்க Space ஐ அழுத்தவும்.",
|
|
@@ -2732,8 +2750,8 @@ const Ml = {
|
|
|
2732
2750
|
verifying: "சரிபார்க்கப்படுகிறது...",
|
|
2733
2751
|
waitAlert: "சரிபார்க்கப்படுகிறது... தயவுசெய்து காத்திருக்கவும்."
|
|
2734
2752
|
};
|
|
2735
|
-
globalThis.altchaI18n.set("ta",
|
|
2736
|
-
const
|
|
2753
|
+
globalThis.altchaI18n.set("ta", Bl);
|
|
2754
|
+
const Ul = {
|
|
2737
2755
|
ariaLinkLabel: "Altcha.org సందర్శించండి",
|
|
2738
2756
|
enterCode: "కోడ్ని నమోదు చేయండి",
|
|
2739
2757
|
enterCodeAria: "మీరు విన్న కోడ్ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్ను నొక్కండి.",
|
|
@@ -2750,8 +2768,8 @@ const Bl = {
|
|
|
2750
2768
|
verifying: "ధ్రువీకరణ జరుగుతుంది...",
|
|
2751
2769
|
waitAlert: "ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి."
|
|
2752
2770
|
};
|
|
2753
|
-
globalThis.altchaI18n.set("te",
|
|
2754
|
-
const
|
|
2771
|
+
globalThis.altchaI18n.set("te", Ul);
|
|
2772
|
+
const Zl = {
|
|
2755
2773
|
ariaLinkLabel: "เยี่ยมชม Altcha.org",
|
|
2756
2774
|
enterCode: "ป้อนรหัส",
|
|
2757
2775
|
enterCodeAria: "ป้อนรหัสที่คุณได้ยิน กด Space เพื่อเล่นเสียง",
|
|
@@ -2768,8 +2786,8 @@ const Ul = {
|
|
|
2768
2786
|
verifying: "กำลังตรวจสอบ...",
|
|
2769
2787
|
waitAlert: "กำลังตรวจสอบ... กรุณารอ"
|
|
2770
2788
|
};
|
|
2771
|
-
globalThis.altchaI18n.set("th",
|
|
2772
|
-
const
|
|
2789
|
+
globalThis.altchaI18n.set("th", Zl);
|
|
2790
|
+
const Gl = {
|
|
2773
2791
|
ariaLinkLabel: "Altcha.org پر جائیں",
|
|
2774
2792
|
enterCode: "کوڈ درج کریں",
|
|
2775
2793
|
enterCodeAria: "جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",
|
|
@@ -2786,8 +2804,8 @@ const Zl = {
|
|
|
2786
2804
|
verifying: "توثیق ہو رہی ہے...",
|
|
2787
2805
|
waitAlert: "توثیق ہو رہی ہے... براہ کرم انتظار کریں۔"
|
|
2788
2806
|
};
|
|
2789
|
-
globalThis.altchaI18n.set("ur",
|
|
2790
|
-
const
|
|
2807
|
+
globalThis.altchaI18n.set("ur", Gl);
|
|
2808
|
+
const Yl = {
|
|
2791
2809
|
ariaLinkLabel: "Truy cập Altcha.org",
|
|
2792
2810
|
enterCode: "Nhập mã",
|
|
2793
2811
|
enterCodeAria: "Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",
|
|
@@ -2804,8 +2822,8 @@ const Gl = {
|
|
|
2804
2822
|
verifying: "Đang xác minh...",
|
|
2805
2823
|
waitAlert: "Đang xác minh... vui lòng chờ."
|
|
2806
2824
|
};
|
|
2807
|
-
globalThis.altchaI18n.set("vi",
|
|
2808
|
-
const
|
|
2825
|
+
globalThis.altchaI18n.set("vi", Yl);
|
|
2826
|
+
const Wl = {
|
|
2809
2827
|
ariaLinkLabel: "访问 Altcha.org",
|
|
2810
2828
|
enterCode: "输入代码",
|
|
2811
2829
|
enterCodeAria: "输入您听到的代码。按空格键播放音频。",
|
|
@@ -2822,8 +2840,8 @@ const Yl = {
|
|
|
2822
2840
|
verifying: "正在验证...",
|
|
2823
2841
|
waitAlert: "正在验证... 请稍等。"
|
|
2824
2842
|
};
|
|
2825
|
-
globalThis.altchaI18n.set("zh-cn",
|
|
2826
|
-
const
|
|
2843
|
+
globalThis.altchaI18n.set("zh-cn", Wl);
|
|
2844
|
+
const Kl = {
|
|
2827
2845
|
ariaLinkLabel: "訪問 Altcha.org",
|
|
2828
2846
|
enterCode: "輸入代碼",
|
|
2829
2847
|
enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
|
|
@@ -2840,13 +2858,13 @@ const Wl = {
|
|
|
2840
2858
|
verifying: "正在驗證...",
|
|
2841
2859
|
waitAlert: "正在驗證... 請稍等。"
|
|
2842
2860
|
};
|
|
2843
|
-
globalThis.altchaI18n.set("zh-tw",
|
|
2844
|
-
const
|
|
2845
|
-
`,
|
|
2846
|
-
function
|
|
2861
|
+
globalThis.altchaI18n.set("zh-tw", Kl);
|
|
2862
|
+
const Oi = `(function(){"use strict";const d=new TextEncoder;function p(e){return[...new Uint8Array(e)].map(t=>t.toString(16).padStart(2,"0")).join("")}async function b(e,t,r){if(typeof crypto>"u"||!("subtle"in crypto)||!("digest"in crypto.subtle))throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");return p(await crypto.subtle.digest(r.toUpperCase(),d.encode(e+t)))}function w(e,t,r="SHA-256",n=1e6,s=0){const o=new AbortController,a=Date.now();return{promise:(async()=>{for(let c=s;c<=n;c+=1){if(o.signal.aborted)return null;if(await b(t,c,r)===e)return{number:c,took:Date.now()-a}}return null})(),controller:o}}function h(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function g(e,t=12){const r=new Uint8Array(t);for(let n=0;n<t;n++)r[n]=e%256,e=Math.floor(e/256);return r}async function m(e,t="",r=1e6,n=0){const s="AES-GCM",o=new AbortController,a=Date.now(),l=async()=>{for(let u=n;u<=r;u+=1){if(o.signal.aborted||!c||!y)return null;try{const f=await crypto.subtle.decrypt({name:s,iv:g(u)},c,y);if(f)return{clearText:new TextDecoder().decode(f),took:Date.now()-a}}catch{}}return null};let c=null,y=null;try{y=h(e);const u=await crypto.subtle.digest("SHA-256",d.encode(t));c=await crypto.subtle.importKey("raw",u,s,!1,["decrypt"])}catch{return{promise:Promise.reject(),controller:o}}return{promise:l(),controller:o}}let i;onmessage=async e=>{const{type:t,payload:r,start:n,max:s}=e.data;let o=null;if(t==="abort")i==null||i.abort(),i=void 0;else if(t==="work"){if("obfuscated"in r){const{key:a,obfuscated:l}=r||{};o=await m(l,a,s,n)}else{const{algorithm:a,challenge:l,salt:c}=r||{};o=w(l,c,a,s,n)}i=o.controller,o.promise.then(a=>{self.postMessage(a&&{...a,worker:!0})})}}})();
|
|
2863
|
+
`, Ba = typeof self < "u" && self.Blob && new Blob([Oi], { type: "text/javascript;charset=utf-8" });
|
|
2864
|
+
function Jl(e) {
|
|
2847
2865
|
let t;
|
|
2848
2866
|
try {
|
|
2849
|
-
if (t =
|
|
2867
|
+
if (t = Ba && (self.URL || self.webkitURL).createObjectURL(Ba), !t) throw "";
|
|
2850
2868
|
const r = new Worker(t, {
|
|
2851
2869
|
name: e == null ? void 0 : e.name
|
|
2852
2870
|
});
|
|
@@ -2855,7 +2873,7 @@ function Kl(e) {
|
|
|
2855
2873
|
}), r;
|
|
2856
2874
|
} catch {
|
|
2857
2875
|
return new Worker(
|
|
2858
|
-
"data:text/javascript;charset=utf-8," + encodeURIComponent(
|
|
2876
|
+
"data:text/javascript;charset=utf-8," + encodeURIComponent(Oi),
|
|
2859
2877
|
{
|
|
2860
2878
|
name: e == null ? void 0 : e.name
|
|
2861
2879
|
}
|
|
@@ -2864,17 +2882,17 @@ function Kl(e) {
|
|
|
2864
2882
|
t && (self.URL || self.webkitURL).revokeObjectURL(t);
|
|
2865
2883
|
}
|
|
2866
2884
|
}
|
|
2867
|
-
const
|
|
2868
|
-
var
|
|
2869
|
-
typeof window < "u" && ((
|
|
2870
|
-
const
|
|
2871
|
-
function
|
|
2885
|
+
const Xl = "5";
|
|
2886
|
+
var Za;
|
|
2887
|
+
typeof window < "u" && ((Za = window.__svelte ?? (window.__svelte = {})).v ?? (Za.v = /* @__PURE__ */ new Set())).add(Xl);
|
|
2888
|
+
const Hi = new TextEncoder();
|
|
2889
|
+
function Ql(e) {
|
|
2872
2890
|
return [...new Uint8Array(e)].map((t) => t.toString(16).padStart(2, "0")).join("");
|
|
2873
2891
|
}
|
|
2874
|
-
async function
|
|
2892
|
+
async function es(e, t = "SHA-256", r = 1e5) {
|
|
2875
2893
|
const i = Date.now().toString(16);
|
|
2876
2894
|
e || (e = Math.round(Math.random() * r));
|
|
2877
|
-
const o = await
|
|
2895
|
+
const o = await Fi(i, e, t);
|
|
2878
2896
|
return {
|
|
2879
2897
|
algorithm: t,
|
|
2880
2898
|
challenge: o,
|
|
@@ -2882,24 +2900,24 @@ async function Ql(e, t = "SHA-256", r = 1e5) {
|
|
|
2882
2900
|
signature: ""
|
|
2883
2901
|
};
|
|
2884
2902
|
}
|
|
2885
|
-
async function
|
|
2903
|
+
async function Fi(e, t, r) {
|
|
2886
2904
|
if (typeof crypto > "u" || !("subtle" in crypto) || !("digest" in crypto.subtle))
|
|
2887
2905
|
throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");
|
|
2888
|
-
return
|
|
2906
|
+
return Ql(
|
|
2889
2907
|
await crypto.subtle.digest(
|
|
2890
2908
|
r.toUpperCase(),
|
|
2891
|
-
|
|
2909
|
+
Hi.encode(e + t)
|
|
2892
2910
|
)
|
|
2893
2911
|
);
|
|
2894
2912
|
}
|
|
2895
|
-
function
|
|
2913
|
+
function ts(e, t, r = "SHA-256", i = 1e6, o = 0) {
|
|
2896
2914
|
const n = new AbortController(), u = Date.now();
|
|
2897
2915
|
return {
|
|
2898
2916
|
promise: (async () => {
|
|
2899
2917
|
for (let c = o; c <= i; c += 1) {
|
|
2900
2918
|
if (n.signal.aborted)
|
|
2901
2919
|
return null;
|
|
2902
|
-
if (await
|
|
2920
|
+
if (await Fi(t, c, r) === e)
|
|
2903
2921
|
return {
|
|
2904
2922
|
number: c,
|
|
2905
2923
|
took: Date.now() - u
|
|
@@ -2910,25 +2928,25 @@ function es(e, t, r = "SHA-256", i = 1e6, o = 0) {
|
|
|
2910
2928
|
controller: n
|
|
2911
2929
|
};
|
|
2912
2930
|
}
|
|
2913
|
-
function
|
|
2931
|
+
function Ua() {
|
|
2914
2932
|
try {
|
|
2915
2933
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
2916
2934
|
} catch {
|
|
2917
2935
|
}
|
|
2918
2936
|
}
|
|
2919
|
-
function
|
|
2937
|
+
function rs(e) {
|
|
2920
2938
|
const t = atob(e), r = new Uint8Array(t.length);
|
|
2921
2939
|
for (let i = 0; i < t.length; i++)
|
|
2922
2940
|
r[i] = t.charCodeAt(i);
|
|
2923
2941
|
return r;
|
|
2924
2942
|
}
|
|
2925
|
-
function
|
|
2943
|
+
function as(e, t = 12) {
|
|
2926
2944
|
const r = new Uint8Array(t);
|
|
2927
2945
|
for (let i = 0; i < t; i++)
|
|
2928
2946
|
r[i] = e % 256, e = Math.floor(e / 256);
|
|
2929
2947
|
return r;
|
|
2930
2948
|
}
|
|
2931
|
-
async function
|
|
2949
|
+
async function is(e, t = "", r = 1e6, i = 0) {
|
|
2932
2950
|
const o = "AES-GCM", n = new AbortController(), u = Date.now(), s = async () => {
|
|
2933
2951
|
for (let p = i; p <= r; p += 1) {
|
|
2934
2952
|
if (n.signal.aborted || !c || !d)
|
|
@@ -2937,7 +2955,7 @@ async function as(e, t = "", r = 1e6, i = 0) {
|
|
|
2937
2955
|
const h = await crypto.subtle.decrypt(
|
|
2938
2956
|
{
|
|
2939
2957
|
name: o,
|
|
2940
|
-
iv:
|
|
2958
|
+
iv: as(p)
|
|
2941
2959
|
},
|
|
2942
2960
|
c,
|
|
2943
2961
|
d
|
|
@@ -2954,10 +2972,10 @@ async function as(e, t = "", r = 1e6, i = 0) {
|
|
|
2954
2972
|
};
|
|
2955
2973
|
let c = null, d = null;
|
|
2956
2974
|
try {
|
|
2957
|
-
d =
|
|
2975
|
+
d = rs(e);
|
|
2958
2976
|
const p = await crypto.subtle.digest(
|
|
2959
2977
|
"SHA-256",
|
|
2960
|
-
|
|
2978
|
+
Hi.encode(t)
|
|
2961
2979
|
);
|
|
2962
2980
|
c = await crypto.subtle.importKey(
|
|
2963
2981
|
"raw",
|
|
@@ -2978,7 +2996,7 @@ async function as(e, t = "", r = 1e6, i = 0) {
|
|
|
2978
2996
|
};
|
|
2979
2997
|
}
|
|
2980
2998
|
var w = /* @__PURE__ */ ((e) => (e.CODE = "code", e.ERROR = "error", e.VERIFIED = "verified", e.VERIFYING = "verifying", e.UNVERIFIED = "unverified", e.EXPIRED = "expired", e))(w || {}), Q = /* @__PURE__ */ ((e) => (e.ERROR = "error", e.LOADING = "loading", e.PLAYING = "playing", e.PAUSED = "paused", e.READY = "ready", e))(Q || {});
|
|
2981
|
-
const
|
|
2999
|
+
const ns = {
|
|
2982
3000
|
ariaLinkLabel: "Visit Altcha.org",
|
|
2983
3001
|
enterCode: "Enter code",
|
|
2984
3002
|
enterCodeAria: "Enter code you hear. Press Space to play audio.",
|
|
@@ -2995,21 +3013,21 @@ const is = {
|
|
|
2995
3013
|
verifying: "Verifying...",
|
|
2996
3014
|
waitAlert: "Verifying... please wait."
|
|
2997
3015
|
};
|
|
2998
|
-
globalThis.altchaI18n.set("en",
|
|
3016
|
+
globalThis.altchaI18n.set("en", ns);
|
|
2999
3017
|
const xr = (e, t) => {
|
|
3000
3018
|
let r = /* @__PURE__ */ uo(() => On(t == null ? void 0 : t(), 24));
|
|
3001
|
-
var i =
|
|
3019
|
+
var i = us();
|
|
3002
3020
|
xe(() => {
|
|
3003
3021
|
R(i, "width", l(r)), R(i, "height", l(r));
|
|
3004
3022
|
}), O(e, i);
|
|
3005
3023
|
};
|
|
3006
|
-
function
|
|
3024
|
+
function os(e, t) {
|
|
3007
3025
|
e.code === "Space" && (e.preventDefault(), e.stopImmediatePropagation(), t());
|
|
3008
3026
|
}
|
|
3009
|
-
function
|
|
3027
|
+
function ls(e, t) {
|
|
3010
3028
|
e.preventDefault(), t();
|
|
3011
3029
|
}
|
|
3012
|
-
function
|
|
3030
|
+
function ss(e, t, r, i, o, n, u, s) {
|
|
3013
3031
|
var c;
|
|
3014
3032
|
[
|
|
3015
3033
|
w.UNVERIFIED,
|
|
@@ -3018,31 +3036,31 @@ function ls(e, t, r, i, o, n, u, s) {
|
|
|
3018
3036
|
w.CODE
|
|
3019
3037
|
].includes(l(t)) ? r() !== !1 && ((c = l(i)) == null ? void 0 : c.reportValidity()) === !1 ? y(o, !1) : n() ? u() : s() : y(o, !0);
|
|
3020
3038
|
}
|
|
3021
|
-
var
|
|
3022
|
-
function
|
|
3023
|
-
var
|
|
3024
|
-
|
|
3025
|
-
const [r, i] = Zo(), o = () => Uo(
|
|
3039
|
+
var us = /* @__PURE__ */ dr('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="altcha-spinner"><path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" fill="currentColor" opacity=".25"></path><path d="M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z" fill="currentColor"></path></svg>'), fs = /* @__PURE__ */ we('<input type="hidden">'), cs = /* @__PURE__ */ we('<div><a target="_blank" class="altcha-logo" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.33955 16.4279C5.88954 20.6586 12.1971 21.2105 16.4279 17.6604C18.4699 15.947 19.6548 13.5911 19.9352 11.1365L17.9886 10.4279C17.8738 12.5624 16.909 14.6459 15.1423 16.1284C11.7577 18.9684 6.71167 18.5269 3.87164 15.1423C1.03163 11.7577 1.4731 6.71166 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577C16.9767 5.86872 17.5322 7.02798 17.804 8.2324L19.9522 9.01429C19.7622 7.07737 19.0059 5.17558 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956C-0.658625 5.88958 -1.21046 12.1971 2.33955 16.4279Z" fill="currentColor"></path><path d="M3.57212 2.33956C1.65755 3.94607 0.496389 6.11731 0.12782 8.40523L2.04639 9.13961C2.26047 7.15832 3.21057 5.25375 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577L13.8302 6.78606L19.9633 9.13364C19.7929 7.15555 19.0335 5.20847 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956Z" fill="currentColor"></path><path d="M7 10H5C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10H13C13 11.6569 11.6569 13 10 13C8.3431 13 7 11.6569 7 10Z" fill="currentColor"></path></svg></a></div>'), ds = /* @__PURE__ */ dr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z"></path></svg>'), hs = /* @__PURE__ */ dr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 7C15 6.44772 15.4477 6 16 6C16.5523 6 17 6.44772 17 7V17C17 17.5523 16.5523 18 16 18C15.4477 18 15 17.5523 15 17V7ZM7 7C7 6.44772 7.44772 6 8 6C8.55228 6 9 6.44772 9 7V17C9 17.5523 8.55228 18 8 18C7.44772 18 7 17.5523 7 17V7Z"></path></svg>'), gs = /* @__PURE__ */ dr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 12H7C8.10457 12 9 12.8954 9 14V19C9 20.1046 8.10457 21 7 21H4C2.89543 21 2 20.1046 2 19V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12V19C22 20.1046 21.1046 21 20 21H17C15.8954 21 15 20.1046 15 19V14C15 12.8954 15.8954 12 17 12H20C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12Z"></path></svg>'), vs = /* @__PURE__ */ we('<button type="button" class="altcha-code-challenge-audio"><!></button>'), bs = /* @__PURE__ */ we("<audio hidden autoplay><source></audio>"), ps = /* @__PURE__ */ we('<div class="altcha-code-challenge" role="dialog"><div class="altcha-code-challenge-arrow"></div> <form data-code-challenge-form="1"><img class="altcha-code-challenge-image" alt=""> <input type="text" autocomplete="off" name="code" class="altcha-code-challenge-input" required> <div class="altcha-code-challenge-buttons"><div class="altcha-code-challenge-buttons-left"><!> <button type="button" class="altcha-code-challenge-reload"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2V4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 9.25022 5.38734 6.82447 7.50024 5.38451L7.5 8H9.5V2L3.5 2V4L5.99918 3.99989C3.57075 5.82434 2 8.72873 2 12Z"></path></svg></button></div> <button type="submit" class="altcha-code-challenge-verify"><!> </button></div> <!></form></div>'), ms = /* @__PURE__ */ we("<div><!></div>"), ys = /* @__PURE__ */ we("<div><!></div>"), As = /* @__PURE__ */ we('<div class="altcha-error"><svg width="14" height="14" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg> <!></div>'), ks = /* @__PURE__ */ we('<div class="altcha-footer"><div><!></div></div>'), _s = /* @__PURE__ */ we('<div class="altcha-anchor-arrow"></div>'), ws = /* @__PURE__ */ we('<!> <div class="altcha"><div class="altcha-main"><div><!> <input type="checkbox"></div> <label class="altcha-label"><!></label> <!> <!> <!></div> <!> <!> <!></div>', 1);
|
|
3040
|
+
function Cs(e, t) {
|
|
3041
|
+
var Ta, Ia;
|
|
3042
|
+
oi(t, !0);
|
|
3043
|
+
const [r, i] = Zo(), o = () => Uo(Bi, "$altchaI18nStore", r);
|
|
3026
3044
|
let n = x(t, "auto", 7, void 0), u = x(t, "blockspam", 7, void 0), s = x(t, "challengeurl", 7, void 0), c = x(t, "challengejson", 7, void 0), d = x(t, "credentials", 7, void 0), p = x(t, "customfetch", 7, void 0), h = x(t, "debug", 7, !1), v = x(t, "delay", 7, 0), k = x(t, "disableautofocus", 7, !1), V = x(t, "expire", 7, void 0), _ = x(t, "floating", 7, void 0), q = x(t, "floatinganchor", 7, void 0), ce = x(t, "floatingoffset", 7, void 0), K = x(t, "floatingpersist", 7, !1), ee = x(t, "hidefooter", 7, !1), J = x(t, "hidelogo", 7, !1), nt = x(t, "id", 7, void 0), H = x(t, "language", 7, void 0), oe = x(t, "name", 7, "altcha"), me = x(t, "maxnumber", 7, 1e6), At = x(t, "mockerror", 7, !1), ze = x(t, "obfuscated", 7, void 0), Ot = x(t, "plugins", 7, void 0), kt = x(t, "refetchonexpire", 7, !0), Ye = x(t, "sentinel", 7, void 0), Ce = x(t, "spamfilter", 7, !1), ot = x(t, "strings", 7, void 0), ge = x(t, "test", 7, !1), te = x(t, "verifyurl", 7, void 0), lt = x(t, "workers", 23, () => Math.min(16, navigator.hardwareConcurrency || 8)), _t = x(t, "workerurl", 7, void 0);
|
|
3027
|
-
const { altchaI18n:
|
|
3045
|
+
const { altchaI18n: Mi } = globalThis, Bi = Mi.store, Gr = ["SHA-256", "SHA-384", "SHA-512"], Ui = "https://altcha.org/", Ne = (a, f) => {
|
|
3028
3046
|
t.$$host.dispatchEvent(new CustomEvent(a, { detail: f }));
|
|
3029
|
-
}, Yr = (
|
|
3047
|
+
}, Yr = (Ia = (Ta = document.documentElement.lang) == null ? void 0 : Ta.split("-")) == null ? void 0 : Ia[0], hr = /* @__PURE__ */ It(() => {
|
|
3030
3048
|
var a;
|
|
3031
3049
|
return s() && new URL(s(), location.origin).host.endsWith(".altcha.org") && !!((a = s()) != null && a.includes("apiKey=ckey_"));
|
|
3032
|
-
}), gr = /* @__PURE__ */ It(() => c() ? ua(c()) : void 0),
|
|
3050
|
+
}), gr = /* @__PURE__ */ It(() => c() ? ua(c()) : void 0), Zi = /* @__PURE__ */ It(() => ot() ? ua(ot()) : {}), P = /* @__PURE__ */ It(() => ({
|
|
3033
3051
|
...Xr(o()),
|
|
3034
|
-
...l(
|
|
3052
|
+
...l(Zi)
|
|
3035
3053
|
})), Wr = /* @__PURE__ */ It(() => `${nt() || oe()}_checkbox_${Math.round(Math.random() * 1e8)}`);
|
|
3036
3054
|
let wt = /* @__PURE__ */ D(!1), M = /* @__PURE__ */ D(null), T = /* @__PURE__ */ D(Fe(w.UNVERIFIED)), re = /* @__PURE__ */ D(void 0), Ct = /* @__PURE__ */ D(null), De = /* @__PURE__ */ D(null), vr = /* @__PURE__ */ D(null), st = /* @__PURE__ */ D(null), S = /* @__PURE__ */ D(null), We = /* @__PURE__ */ D(null), Le = null, B = /* @__PURE__ */ D(null), Ke = /* @__PURE__ */ D(!1), qe = [], br = /* @__PURE__ */ D(!1), Re = /* @__PURE__ */ D(null);
|
|
3037
3055
|
Vr(() => {
|
|
3038
|
-
|
|
3056
|
+
on(l(We));
|
|
3039
3057
|
}), Vr(() => {
|
|
3040
|
-
|
|
3058
|
+
ln(l(T));
|
|
3041
3059
|
}), Xo(() => {
|
|
3042
|
-
|
|
3043
|
-
}),
|
|
3060
|
+
Gi(), l(S) && (l(S).removeEventListener("submit", ia), l(S).removeEventListener("reset", na), l(S).removeEventListener("focusin", aa), y(S, null)), Le && (clearTimeout(Le), Le = null), document.removeEventListener("click", ta), document.removeEventListener("scroll", ra), window.removeEventListener("resize", sa);
|
|
3061
|
+
}), Ni(() => {
|
|
3044
3062
|
var a;
|
|
3045
|
-
I("mounted", "2.0.
|
|
3063
|
+
I("mounted", "2.0.3"), I("workers", lt()), Ji(), I("plugins", qe.length ? qe.map((f) => f.constructor.pluginName).join(", ") : "none"), ge() && I("using test mode"), V() && pr(V()), n() !== void 0 && I("auto", n()), _() !== void 0 && ca(_()), y(S, (a = l(re)) == null ? void 0 : a.closest("form"), !0), l(S) && (l(S).addEventListener("submit", ia, { capture: !0 }), l(S).addEventListener("reset", na), (n() === "onfocus" || K() === "focus") && l(S).addEventListener("focusin", aa)), n() === "onload" && (ze() ? Lt() : je()), l(hr) && (ee() || J()) && I("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."), requestAnimationFrame(() => {
|
|
3046
3064
|
Ne("load");
|
|
3047
3065
|
});
|
|
3048
3066
|
});
|
|
@@ -3057,21 +3075,21 @@ function ws(e, t) {
|
|
|
3057
3075
|
took: f.took
|
|
3058
3076
|
}));
|
|
3059
3077
|
}
|
|
3060
|
-
function
|
|
3078
|
+
function Gi() {
|
|
3061
3079
|
for (const a of qe)
|
|
3062
3080
|
a.destroy();
|
|
3063
3081
|
}
|
|
3064
3082
|
function Kr() {
|
|
3065
3083
|
s() && kt() && l(T) === w.VERIFIED ? je() : ut(w.EXPIRED, l(P).expired);
|
|
3066
3084
|
}
|
|
3067
|
-
async function
|
|
3085
|
+
async function Yi() {
|
|
3068
3086
|
var a;
|
|
3069
3087
|
if (At())
|
|
3070
3088
|
throw I("mocking error"), new Error("Mocked error.");
|
|
3071
3089
|
if (l(gr))
|
|
3072
3090
|
return I("using provided json data"), l(gr);
|
|
3073
3091
|
if (ge())
|
|
3074
|
-
return I("generating test challenge", { test: ge() }),
|
|
3092
|
+
return I("generating test challenge", { test: ge() }), es(typeof ge() != "boolean" ? +ge() : void 0);
|
|
3075
3093
|
{
|
|
3076
3094
|
if (!s() && l(S)) {
|
|
3077
3095
|
const L = l(S).getAttribute("action");
|
|
@@ -3096,14 +3114,14 @@ function ws(e, t) {
|
|
|
3096
3114
|
if (m)
|
|
3097
3115
|
try {
|
|
3098
3116
|
const L = JSON.parse(m);
|
|
3099
|
-
L && typeof L == "object" && L.verifyurl && !L.verifyurl.startsWith("fn:") && (L.verifyurl = ea(L.verifyurl));
|
|
3117
|
+
L && typeof L == "object" && (L.verifyurl && !L.verifyurl.startsWith("fn:") && (L.verifyurl = ea(L.verifyurl)), ga(L));
|
|
3100
3118
|
} catch (L) {
|
|
3101
3119
|
I("unable to configure from X-Altcha-Config", L);
|
|
3102
3120
|
}
|
|
3103
3121
|
return b;
|
|
3104
3122
|
}
|
|
3105
3123
|
}
|
|
3106
|
-
function
|
|
3124
|
+
function Wi(a) {
|
|
3107
3125
|
var g, m;
|
|
3108
3126
|
const f = (g = l(S)) == null ? void 0 : g.querySelector(typeof a == "string" ? `input[name="${a}"]` : 'input[type="email"]:not([data-no-spamfilter])');
|
|
3109
3127
|
return ((m = f == null ? void 0 : f.value) == null ? void 0 : m.slice(f.value.indexOf("@"))) || void 0;
|
|
@@ -3129,7 +3147,7 @@ function ws(e, t) {
|
|
|
3129
3147
|
);
|
|
3130
3148
|
return a[m || "en"];
|
|
3131
3149
|
}
|
|
3132
|
-
function
|
|
3150
|
+
function Ki() {
|
|
3133
3151
|
return Ce() === "ipAddress" ? {
|
|
3134
3152
|
blockedCountries: void 0,
|
|
3135
3153
|
classifier: void 0,
|
|
@@ -3174,46 +3192,46 @@ function ws(e, t) {
|
|
|
3174
3192
|
f[b] !== void 0 && f[b] !== null && m.searchParams.set(b, f[b]);
|
|
3175
3193
|
return m.toString();
|
|
3176
3194
|
}
|
|
3177
|
-
function
|
|
3195
|
+
function Ji() {
|
|
3178
3196
|
const a = Ot() !== void 0 ? Ot().split(",") : void 0;
|
|
3179
3197
|
for (const f of globalThis.altchaPlugins)
|
|
3180
3198
|
(!a || a.includes(f.pluginName)) && qe.push(new f({
|
|
3181
3199
|
el: l(re),
|
|
3182
3200
|
clarify: Lt,
|
|
3183
3201
|
dispatch: Ne,
|
|
3184
|
-
getConfiguration:
|
|
3185
|
-
getFloatingAnchor:
|
|
3186
|
-
getState:
|
|
3202
|
+
getConfiguration: va,
|
|
3203
|
+
getFloatingAnchor: ba,
|
|
3204
|
+
getState: pa,
|
|
3187
3205
|
log: I,
|
|
3188
3206
|
reset: ut,
|
|
3189
3207
|
solve: ha,
|
|
3190
3208
|
setState: Ee,
|
|
3191
|
-
setFloatingAnchor:
|
|
3209
|
+
setFloatingAnchor: ya,
|
|
3192
3210
|
verify: je
|
|
3193
3211
|
}));
|
|
3194
3212
|
}
|
|
3195
3213
|
function I(...a) {
|
|
3196
3214
|
(h() || a.some((f) => f instanceof Error)) && console[a[0] instanceof Error ? "error" : "log"]("ALTCHA", `[name=${oe()}]`, ...a);
|
|
3197
3215
|
}
|
|
3198
|
-
function
|
|
3216
|
+
function Xi() {
|
|
3199
3217
|
y(B, Q.PAUSED, !0);
|
|
3200
3218
|
}
|
|
3201
|
-
function
|
|
3219
|
+
function Qi(a) {
|
|
3202
3220
|
y(B, Q.ERROR, !0);
|
|
3203
3221
|
}
|
|
3204
|
-
function
|
|
3222
|
+
function en() {
|
|
3205
3223
|
y(B, Q.READY, !0);
|
|
3206
3224
|
}
|
|
3207
|
-
function
|
|
3225
|
+
function tn() {
|
|
3208
3226
|
y(B, Q.LOADING, !0);
|
|
3209
3227
|
}
|
|
3210
|
-
function
|
|
3228
|
+
function rn() {
|
|
3211
3229
|
y(B, Q.PLAYING, !0);
|
|
3212
3230
|
}
|
|
3213
|
-
function
|
|
3231
|
+
function an() {
|
|
3214
3232
|
y(B, Q.PAUSED, !0);
|
|
3215
3233
|
}
|
|
3216
|
-
function
|
|
3234
|
+
function nn(a) {
|
|
3217
3235
|
var f;
|
|
3218
3236
|
if (a.preventDefault(), a.stopPropagation(), l(M)) {
|
|
3219
3237
|
const g = new FormData(a.target), m = String(g.get("code"));
|
|
@@ -3242,12 +3260,12 @@ function ws(e, t) {
|
|
|
3242
3260
|
function ta(a) {
|
|
3243
3261
|
var g;
|
|
3244
3262
|
const f = a.target;
|
|
3245
|
-
_() && f && !l(re).contains(f) && (l(T) === w.VERIFIED && K() === !1 || l(T) === w.VERIFIED && K() === "focus" && !((g = l(S)) != null && g.matches(":focus-within")) || n() === "off" && l(T) === w.UNVERIFIED) &&
|
|
3263
|
+
_() && f && !l(re).contains(f) && (l(T) === w.VERIFIED && K() === !1 || l(T) === w.VERIFIED && K() === "focus" && !((g = l(S)) != null && g.matches(":focus-within")) || n() === "off" && l(T) === w.UNVERIFIED) && ma();
|
|
3246
3264
|
}
|
|
3247
3265
|
function ra() {
|
|
3248
3266
|
_() && l(T) !== w.UNVERIFIED && Et();
|
|
3249
3267
|
}
|
|
3250
|
-
function
|
|
3268
|
+
function on(a) {
|
|
3251
3269
|
for (const f of qe)
|
|
3252
3270
|
typeof f.onErrorChange == "function" && f.onErrorChange(l(We));
|
|
3253
3271
|
}
|
|
@@ -3257,7 +3275,7 @@ function ws(e, t) {
|
|
|
3257
3275
|
function ia(a) {
|
|
3258
3276
|
const f = a.target, g = a.submitter;
|
|
3259
3277
|
f != null && f.hasAttribute("data-code-challenge-form") || (l(S) && n() === "onsubmit" ? l(T) === w.UNVERIFIED ? (a.preventDefault(), a.stopPropagation(), je().then(() => {
|
|
3260
|
-
|
|
3278
|
+
un(g);
|
|
3261
3279
|
})) : l(T) !== w.VERIFIED && (a.preventDefault(), a.stopPropagation(), l(T) === w.VERIFYING && oa()) : l(S) && _() && n() === "off" && l(T) === w.UNVERIFIED && (a.preventDefault(), a.stopPropagation(), mr()));
|
|
3262
3280
|
}
|
|
3263
3281
|
function na() {
|
|
@@ -3272,7 +3290,7 @@ function ws(e, t) {
|
|
|
3272
3290
|
(a = l(De)) == null || a.play();
|
|
3273
3291
|
}));
|
|
3274
3292
|
}
|
|
3275
|
-
function
|
|
3293
|
+
function ln(a) {
|
|
3276
3294
|
for (const f of qe)
|
|
3277
3295
|
typeof f.onStateChange == "function" && f.onStateChange(l(T));
|
|
3278
3296
|
_() && l(T) !== w.UNVERIFIED && requestAnimationFrame(() => {
|
|
@@ -3285,7 +3303,7 @@ function ws(e, t) {
|
|
|
3285
3303
|
function ua(a) {
|
|
3286
3304
|
return JSON.parse(a);
|
|
3287
3305
|
}
|
|
3288
|
-
async function
|
|
3306
|
+
async function sn(a) {
|
|
3289
3307
|
if (!te())
|
|
3290
3308
|
throw new Error("Attribute verifyurl not set.");
|
|
3291
3309
|
I("requesting server verification from", te());
|
|
@@ -3302,8 +3320,8 @@ function ws(e, t) {
|
|
|
3302
3320
|
ipAddress: Oe,
|
|
3303
3321
|
text: Ar,
|
|
3304
3322
|
timeZone: Bt
|
|
3305
|
-
} =
|
|
3306
|
-
f.blockedCountries = b, f.classifier = C, f.disableRules = A, f.email = L === !1 ? void 0 :
|
|
3323
|
+
} = Ki();
|
|
3324
|
+
f.blockedCountries = b, f.classifier = C, f.disableRules = A, f.email = L === !1 ? void 0 : Wi(L), f.expectedCountries = X, f.expectedLanguages = F || (Yr ? [Yr] : void 0), f.fields = le === !1 ? void 0 : Qr(le), f.ipAddress = Oe === !1 ? void 0 : Oe || "auto", f.text = Ar, f.timeZone = Bt === !1 ? void 0 : Bt || Ua();
|
|
3307
3325
|
}
|
|
3308
3326
|
const g = await Jr()(te(), {
|
|
3309
3327
|
body: JSON.stringify(f),
|
|
@@ -3323,7 +3341,7 @@ function ws(e, t) {
|
|
|
3323
3341
|
throw new Error("Attribute verifyurl not set.");
|
|
3324
3342
|
I("requesting sentinel verification from", te());
|
|
3325
3343
|
const g = { code: f, payload: a };
|
|
3326
|
-
Ye() && (g.fields = Ye().fields ? Qr() : void 0, g.timeZone = Ye().timeZone ?
|
|
3344
|
+
Ye() && (g.fields = Ye().fields ? Qr() : void 0, g.timeZone = Ye().timeZone ? Ua() : void 0);
|
|
3327
3345
|
const m = await fetch(te(), {
|
|
3328
3346
|
body: JSON.stringify(g),
|
|
3329
3347
|
headers: { "content-type": "application/json" },
|
|
@@ -3336,7 +3354,7 @@ function ws(e, t) {
|
|
|
3336
3354
|
const b = await m.json();
|
|
3337
3355
|
return b != null && b.payload && y(Re, b.payload, !0), Ne("sentinelverification", b), b;
|
|
3338
3356
|
}
|
|
3339
|
-
function
|
|
3357
|
+
function un(a) {
|
|
3340
3358
|
var f;
|
|
3341
3359
|
l(S) && "requestSubmit" in l(S) ? l(S).requestSubmit(a) : (f = l(S)) != null && f.reportValidity() && (a ? a.click() : l(S).submit());
|
|
3342
3360
|
}
|
|
@@ -3362,7 +3380,7 @@ function ws(e, t) {
|
|
|
3362
3380
|
let f = null;
|
|
3363
3381
|
if ("Worker" in window) {
|
|
3364
3382
|
try {
|
|
3365
|
-
f = await
|
|
3383
|
+
f = await fn(a, a.maxNumber || a.maxnumber || me());
|
|
3366
3384
|
} catch (g) {
|
|
3367
3385
|
I(g);
|
|
3368
3386
|
}
|
|
@@ -3370,15 +3388,15 @@ function ws(e, t) {
|
|
|
3370
3388
|
return { data: a, solution: f };
|
|
3371
3389
|
}
|
|
3372
3390
|
if ("obfuscated" in a) {
|
|
3373
|
-
const g = await
|
|
3391
|
+
const g = await is(a.obfuscated, a.key, a.maxNumber || a.maxnumber);
|
|
3374
3392
|
return { data: a, solution: await g.promise };
|
|
3375
3393
|
}
|
|
3376
3394
|
return {
|
|
3377
3395
|
data: a,
|
|
3378
|
-
solution: await
|
|
3396
|
+
solution: await ts(a.challenge, a.salt, a.algorithm, a.maxNumber || a.maxnumber || me()).promise
|
|
3379
3397
|
};
|
|
3380
3398
|
}
|
|
3381
|
-
async function
|
|
3399
|
+
async function fn(a, f = typeof ge() == "number" ? ge() : a.maxNumber || a.maxnumber || me(), g = Math.ceil(lt())) {
|
|
3382
3400
|
const m = [];
|
|
3383
3401
|
g = Math.min(16, f, Math.max(1, g));
|
|
3384
3402
|
for (let A = 0; A < g; A++)
|
|
@@ -3416,10 +3434,10 @@ function ws(e, t) {
|
|
|
3416
3434
|
if ("clarify" in a && typeof a.clarify == "function")
|
|
3417
3435
|
return a.clarify();
|
|
3418
3436
|
}
|
|
3419
|
-
function
|
|
3437
|
+
function ga(a) {
|
|
3420
3438
|
a.obfuscated !== void 0 && ze(a.obfuscated), a.auto !== void 0 && (n(a.auto), n() === "onload" && (ze() ? Lt() : je())), a.blockspam !== void 0 && u(!!a.blockspam), a.customfetch !== void 0 && p(a.customfetch), a.floatinganchor !== void 0 && q(a.floatinganchor), a.delay !== void 0 && v(a.delay), a.floatingoffset !== void 0 && ce(a.floatingoffset), a.floating !== void 0 && ca(a.floating), a.expire !== void 0 && (pr(a.expire), V(a.expire)), a.challenge && (c(typeof a.challenge == "string" ? a.challenge : JSON.stringify(a.challenge)), da(l(gr))), a.challengeurl !== void 0 && s(a.challengeurl), a.debug !== void 0 && h(!!a.debug), a.hidefooter !== void 0 && ee(!!a.hidefooter), a.hidelogo !== void 0 && J(!!a.hidelogo), a.language !== void 0 && ot(Xr(o(), [a.language])), a.maxnumber !== void 0 && me(+a.maxnumber), a.mockerror !== void 0 && At(!!a.mockerror), a.name !== void 0 && oe(a.name), a.refetchonexpire !== void 0 && kt(!!a.refetchonexpire), a.sentinel !== void 0 && typeof a.sentinel == "object" && Ye(a.sentinel), a.spamfilter !== void 0 && Ce(typeof a.spamfilter == "object" ? a.spamfilter : !!a.spamfilter), a.strings && ot(typeof a.strings == "string" ? a.strings : JSON.stringify(a.strings)), a.test !== void 0 && ge(typeof a.test == "number" ? a.test : !!a.test), a.verifyurl !== void 0 && te(a.verifyurl), a.workers !== void 0 && lt(+a.workers), a.workerurl !== void 0 && _t(a.workerurl);
|
|
3421
3439
|
}
|
|
3422
|
-
function
|
|
3440
|
+
function va() {
|
|
3423
3441
|
return {
|
|
3424
3442
|
auto: n(),
|
|
3425
3443
|
blockspam: u(),
|
|
@@ -3445,16 +3463,16 @@ function ws(e, t) {
|
|
|
3445
3463
|
workerurl: _t()
|
|
3446
3464
|
};
|
|
3447
3465
|
}
|
|
3448
|
-
function
|
|
3466
|
+
function ba() {
|
|
3449
3467
|
return l(st);
|
|
3450
3468
|
}
|
|
3451
3469
|
function cn(a) {
|
|
3452
3470
|
return qe.find((f) => f.constructor.pluginName === a);
|
|
3453
3471
|
}
|
|
3454
|
-
function
|
|
3472
|
+
function pa() {
|
|
3455
3473
|
return l(T);
|
|
3456
3474
|
}
|
|
3457
|
-
function
|
|
3475
|
+
function ma() {
|
|
3458
3476
|
l(re).style.display = "none";
|
|
3459
3477
|
}
|
|
3460
3478
|
function Et(a = 20) {
|
|
@@ -3472,7 +3490,7 @@ function ws(e, t) {
|
|
|
3472
3490
|
function ut(a = w.UNVERIFIED, f = null) {
|
|
3473
3491
|
Le && (clearTimeout(Le), Le = null), y(wt, !1), y(Re, null), y(M, null), y(br, !1), y(B, null), Ee(a, f);
|
|
3474
3492
|
}
|
|
3475
|
-
function
|
|
3493
|
+
function ya(a) {
|
|
3476
3494
|
y(st, a, !0);
|
|
3477
3495
|
}
|
|
3478
3496
|
function Ee(a, f = null) {
|
|
@@ -3485,7 +3503,7 @@ function ws(e, t) {
|
|
|
3485
3503
|
l(re).style.display = "block", _() && Et();
|
|
3486
3504
|
}
|
|
3487
3505
|
async function je() {
|
|
3488
|
-
return ut(w.VERIFYING), await new Promise((a) => setTimeout(a, v() || 0)),
|
|
3506
|
+
return ut(w.VERIFYING), await new Promise((a) => setTimeout(a, v() || 0)), Yi().then((a) => (da(a), I("challenge", a), ha(a))).then(({ data: a, solution: f }) => {
|
|
3489
3507
|
var g;
|
|
3490
3508
|
if (I("solution", f), !f || a && "challenge" in a && !("clearText" in f))
|
|
3491
3509
|
if ((f == null ? void 0 : f.number) !== void 0 && "challenge" in a)
|
|
@@ -3495,7 +3513,7 @@ function ws(e, t) {
|
|
|
3495
3513
|
if (te() && Ye() !== void 0)
|
|
3496
3514
|
return fa(Ht(a, f));
|
|
3497
3515
|
if (te())
|
|
3498
|
-
return
|
|
3516
|
+
return sn(Ht(a, f));
|
|
3499
3517
|
y(Re, Ht(a, f), !0), I("payload", l(Re));
|
|
3500
3518
|
}
|
|
3501
3519
|
else
|
|
@@ -3510,22 +3528,22 @@ function ws(e, t) {
|
|
|
3510
3528
|
I(a), Ee(w.ERROR, a.message);
|
|
3511
3529
|
});
|
|
3512
3530
|
}
|
|
3513
|
-
var
|
|
3514
|
-
No(
|
|
3515
|
-
var xt = Y(
|
|
3516
|
-
let
|
|
3517
|
-
var
|
|
3531
|
+
var Aa = ws(), ka = Vt(Aa);
|
|
3532
|
+
No(ka, t, "default", {});
|
|
3533
|
+
var xt = Y(ka, 2), yr = G(xt), Ft = G(yr);
|
|
3534
|
+
let _a;
|
|
3535
|
+
var wa = G(Ft);
|
|
3518
3536
|
{
|
|
3519
3537
|
var dn = (a) => {
|
|
3520
3538
|
xr(a);
|
|
3521
3539
|
};
|
|
3522
|
-
W(
|
|
3540
|
+
W(wa, (a) => {
|
|
3523
3541
|
l(T) === w.VERIFYING && a(dn);
|
|
3524
3542
|
});
|
|
3525
3543
|
}
|
|
3526
|
-
var Je = Y(
|
|
3527
|
-
|
|
3528
|
-
|
|
3544
|
+
var Je = Y(wa, 2);
|
|
3545
|
+
Oa(Je), Je.__change = [
|
|
3546
|
+
ss,
|
|
3529
3547
|
T,
|
|
3530
3548
|
Ce,
|
|
3531
3549
|
S,
|
|
@@ -3576,40 +3594,40 @@ function ws(e, t) {
|
|
|
3576
3594
|
});
|
|
3577
3595
|
}
|
|
3578
3596
|
Z(Mt);
|
|
3579
|
-
var
|
|
3597
|
+
var Ca = Y(Mt, 2);
|
|
3580
3598
|
{
|
|
3581
3599
|
var bn = (a) => {
|
|
3582
|
-
var f =
|
|
3583
|
-
|
|
3600
|
+
var f = fs();
|
|
3601
|
+
Oa(f), xe(() => {
|
|
3584
3602
|
R(f, "name", oe()), Fo(f, l(Re));
|
|
3585
3603
|
}), O(a, f);
|
|
3586
3604
|
};
|
|
3587
|
-
W(
|
|
3605
|
+
W(Ca, (a) => {
|
|
3588
3606
|
l(T) === w.VERIFIED && a(bn);
|
|
3589
3607
|
});
|
|
3590
3608
|
}
|
|
3591
|
-
var
|
|
3609
|
+
var La = Y(Ca, 2);
|
|
3592
3610
|
{
|
|
3593
3611
|
var pn = (a) => {
|
|
3594
|
-
var f =
|
|
3595
|
-
R(g, "href",
|
|
3612
|
+
var f = cs(), g = G(f);
|
|
3613
|
+
R(g, "href", Ui), Z(f), xe(() => R(g, "aria-label", l(P).ariaLinkLabel)), O(a, f);
|
|
3596
3614
|
};
|
|
3597
|
-
W(
|
|
3615
|
+
W(La, (a) => {
|
|
3598
3616
|
(J() !== !0 || l(hr)) && a(pn);
|
|
3599
3617
|
});
|
|
3600
3618
|
}
|
|
3601
|
-
var mn = Y(
|
|
3619
|
+
var mn = Y(La, 2);
|
|
3602
3620
|
{
|
|
3603
3621
|
var yn = (a) => {
|
|
3604
|
-
var f =
|
|
3622
|
+
var f = ps(), g = Y(G(f), 2), m = G(g), b = Y(m, 2);
|
|
3605
3623
|
Vo(b, !k()), b.__keydown = [
|
|
3606
|
-
|
|
3624
|
+
os,
|
|
3607
3625
|
la
|
|
3608
3626
|
];
|
|
3609
3627
|
var C = Y(b, 2), A = G(C), L = G(A);
|
|
3610
3628
|
{
|
|
3611
3629
|
var F = (ye) => {
|
|
3612
|
-
var U =
|
|
3630
|
+
var U = vs();
|
|
3613
3631
|
U.__click = la;
|
|
3614
3632
|
var Ut = G(U);
|
|
3615
3633
|
{
|
|
@@ -3618,15 +3636,15 @@ function ws(e, t) {
|
|
|
3618
3636
|
}, xn = (ft, Tn) => {
|
|
3619
3637
|
{
|
|
3620
3638
|
var In = (ct) => {
|
|
3621
|
-
var kr =
|
|
3639
|
+
var kr = ds();
|
|
3622
3640
|
O(ct, kr);
|
|
3623
3641
|
}, Vn = (ct, kr) => {
|
|
3624
3642
|
{
|
|
3625
3643
|
var Rn = (dt) => {
|
|
3626
|
-
var _r =
|
|
3644
|
+
var _r = hs();
|
|
3627
3645
|
O(dt, _r);
|
|
3628
3646
|
}, jn = (dt) => {
|
|
3629
|
-
var _r =
|
|
3647
|
+
var _r = gs();
|
|
3630
3648
|
O(dt, _r);
|
|
3631
3649
|
};
|
|
3632
3650
|
W(
|
|
@@ -3660,7 +3678,7 @@ function ws(e, t) {
|
|
|
3660
3678
|
});
|
|
3661
3679
|
}
|
|
3662
3680
|
var X = Y(L, 2);
|
|
3663
|
-
X.__click = [
|
|
3681
|
+
X.__click = [ls, je], Z(A);
|
|
3664
3682
|
var le = Y(A, 2), Oe = G(le);
|
|
3665
3683
|
{
|
|
3666
3684
|
var Ar = (ye) => {
|
|
@@ -3675,10 +3693,10 @@ function ws(e, t) {
|
|
|
3675
3693
|
var Ln = Y(C, 2);
|
|
3676
3694
|
{
|
|
3677
3695
|
var En = (ye) => {
|
|
3678
|
-
var U =
|
|
3696
|
+
var U = bs(), Ut = G(U);
|
|
3679
3697
|
Z(U), Gt(U, (Tt) => y(De, Tt), () => l(De)), xe((Tt) => R(Ut, "src", Tt), [
|
|
3680
3698
|
() => ea(l(M).challenge.codeChallenge.audio, { language: H() })
|
|
3681
|
-
]), He("loadstart", U,
|
|
3699
|
+
]), He("loadstart", U, tn), He("canplay", U, en), He("pause", U, an), He("playing", U, rn), He("ended", U, Xi), He("error", Ut, Qi), O(ye, U);
|
|
3682
3700
|
};
|
|
3683
3701
|
W(Ln, (ye) => {
|
|
3684
3702
|
l(M).challenge.codeChallenge.audio && l(br) && ye(En);
|
|
@@ -3686,7 +3704,7 @@ function ws(e, t) {
|
|
|
3686
3704
|
}
|
|
3687
3705
|
Z(g), Z(f), xe(() => {
|
|
3688
3706
|
R(f, "aria-label", l(P).verificationRequired), R(m, "src", l(M).challenge.codeChallenge.image), R(b, "minlength", l(M).challenge.codeChallenge.length || 1), R(b, "maxlength", l(M).challenge.codeChallenge.length), R(b, "placeholder", l(P).enterCode), R(b, "aria-label", l(B) === Q.LOADING ? l(P).loading : l(B) === Q.PLAYING ? "" : l(P).enterCodeAria), R(b, "aria-live", l(B) ? "assertive" : "polite"), R(b, "aria-busy", l(B) === Q.LOADING), b.disabled = l(Ke), R(X, "aria-label", l(P).reload), R(X, "title", l(P).reload), X.disabled = l(Ke), le.disabled = l(Ke), R(le, "aria-label", l(P).verify), So(Bt, ` ${l(P).verify ?? ""}`);
|
|
3689
|
-
}), He("submit", g,
|
|
3707
|
+
}), He("submit", g, nn, !0), O(a, f);
|
|
3690
3708
|
};
|
|
3691
3709
|
W(mn, (a) => {
|
|
3692
3710
|
var f;
|
|
@@ -3694,16 +3712,16 @@ function ws(e, t) {
|
|
|
3694
3712
|
});
|
|
3695
3713
|
}
|
|
3696
3714
|
Z(yr);
|
|
3697
|
-
var
|
|
3715
|
+
var Ea = Y(yr, 2);
|
|
3698
3716
|
{
|
|
3699
3717
|
var An = (a) => {
|
|
3700
|
-
var f =
|
|
3718
|
+
var f = As(), g = Y(G(f), 2);
|
|
3701
3719
|
{
|
|
3702
3720
|
var m = (C) => {
|
|
3703
|
-
var A =
|
|
3721
|
+
var A = ms(), L = G(A);
|
|
3704
3722
|
Xe(L, () => l(P).expired), Z(A), xe(() => R(A, "title", l(We))), O(C, A);
|
|
3705
3723
|
}, b = (C) => {
|
|
3706
|
-
var A =
|
|
3724
|
+
var A = ys(), L = G(A);
|
|
3707
3725
|
Xe(L, () => l(P).error), Z(A), xe(() => R(A, "title", l(We))), O(C, A);
|
|
3708
3726
|
};
|
|
3709
3727
|
W(g, (C) => {
|
|
@@ -3712,24 +3730,24 @@ function ws(e, t) {
|
|
|
3712
3730
|
}
|
|
3713
3731
|
Z(f), O(a, f);
|
|
3714
3732
|
};
|
|
3715
|
-
W(
|
|
3733
|
+
W(Ea, (a) => {
|
|
3716
3734
|
(l(We) || l(T) === w.EXPIRED) && a(An);
|
|
3717
3735
|
});
|
|
3718
3736
|
}
|
|
3719
|
-
var
|
|
3737
|
+
var xa = Y(Ea, 2);
|
|
3720
3738
|
{
|
|
3721
3739
|
var kn = (a) => {
|
|
3722
|
-
var f =
|
|
3740
|
+
var f = ks(), g = G(f), m = G(g);
|
|
3723
3741
|
Xe(m, () => l(P).footer), Z(g), Z(f), O(a, f);
|
|
3724
3742
|
};
|
|
3725
|
-
W(
|
|
3743
|
+
W(xa, (a) => {
|
|
3726
3744
|
l(P).footer && (ee() !== !0 || l(hr)) && a(kn);
|
|
3727
3745
|
});
|
|
3728
3746
|
}
|
|
3729
|
-
var _n = Y(
|
|
3747
|
+
var _n = Y(xa, 2);
|
|
3730
3748
|
{
|
|
3731
3749
|
var wn = (a) => {
|
|
3732
|
-
var f =
|
|
3750
|
+
var f = _s();
|
|
3733
3751
|
Gt(f, (g) => y(Ct, g), () => l(Ct)), O(a, f);
|
|
3734
3752
|
};
|
|
3735
3753
|
W(_n, (a) => {
|
|
@@ -3738,25 +3756,25 @@ function ws(e, t) {
|
|
|
3738
3756
|
}
|
|
3739
3757
|
Z(xt), Gt(xt, (a) => y(re, a), () => l(re)), xe(
|
|
3740
3758
|
(a) => {
|
|
3741
|
-
R(xt, "data-state", l(T)), R(xt, "data-floating", _()),
|
|
3759
|
+
R(xt, "data-state", l(T)), R(xt, "data-floating", _()), _a = qo(Ft, 1, "altcha-checkbox", null, _a, a), R(Je, "id", l(Wr)), Je.required = n() !== "onsubmit" && (!_() || n() !== "off"), R(Mt, "for", l(Wr));
|
|
3742
3760
|
},
|
|
3743
3761
|
[
|
|
3744
3762
|
() => ({
|
|
3745
3763
|
"altcha-checkbox-verifying": l(T) === w.VERIFYING
|
|
3746
3764
|
})
|
|
3747
3765
|
]
|
|
3748
|
-
), He("invalid", Je, oa), Bo(Je, () => l(wt), (a) => y(wt, a)), O(e,
|
|
3749
|
-
var Cn =
|
|
3766
|
+
), He("invalid", Je, oa), Bo(Je, () => l(wt), (a) => y(wt, a)), O(e, Aa);
|
|
3767
|
+
var Cn = li({
|
|
3750
3768
|
clarify: Lt,
|
|
3751
|
-
configure:
|
|
3752
|
-
getConfiguration:
|
|
3753
|
-
getFloatingAnchor:
|
|
3769
|
+
configure: ga,
|
|
3770
|
+
getConfiguration: va,
|
|
3771
|
+
getFloatingAnchor: ba,
|
|
3754
3772
|
getPlugin: cn,
|
|
3755
|
-
getState:
|
|
3756
|
-
hide:
|
|
3773
|
+
getState: pa,
|
|
3774
|
+
hide: ma,
|
|
3757
3775
|
repositionFloating: Et,
|
|
3758
3776
|
reset: ut,
|
|
3759
|
-
setFloatingAnchor:
|
|
3777
|
+
setFloatingAnchor: ya,
|
|
3760
3778
|
setState: Ee,
|
|
3761
3779
|
show: mr,
|
|
3762
3780
|
verify: je,
|
|
@@ -3951,7 +3969,7 @@ function ws(e, t) {
|
|
|
3951
3969
|
}
|
|
3952
3970
|
$o(["change", "keydown", "click"]);
|
|
3953
3971
|
customElements.define("altcha-widget", Jo(
|
|
3954
|
-
|
|
3972
|
+
Cs,
|
|
3955
3973
|
{
|
|
3956
3974
|
blockspam: { type: "Boolean" },
|
|
3957
3975
|
debug: { type: "Boolean" },
|
|
@@ -4003,15 +4021,15 @@ customElements.define("altcha-widget", Jo(
|
|
|
4003
4021
|
],
|
|
4004
4022
|
!1
|
|
4005
4023
|
));
|
|
4006
|
-
const
|
|
4007
|
-
function
|
|
4024
|
+
const Ls = '@keyframes altcha-spinner{to{transform:rotate(360deg)}}.altcha{background:var(--altcha-color-base, transparent);border:var(--altcha-border-width, 1px) solid var(--altcha-color-border, #a0a0a0);border-radius:var(--altcha-border-radius, 3px);color:var(--altcha-color-text, currentColor);display:flex;flex-direction:column;max-width:var(--altcha-max-width, 260px);position:relative}.altcha:focus-within{border-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating]{background:var(--altcha-color-base, white);display:none;filter:drop-shadow(3px 3px 6px rgba(0,0,0,.2));left:-100%;position:fixed;top:-100%;width:var(--altcha-max-width, 260px);z-index:999999}.altcha[data-floating=top] .altcha-anchor-arrow{border-bottom-color:transparent;border-top-color:var(--altcha-color-border, #a0a0a0);bottom:-12px;top:auto}.altcha[data-floating=bottom]:focus-within::after{border-bottom-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating=top]:focus-within::after{border-top-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating]:not([data-state=unverified]){display:block}.altcha-anchor-arrow{border:6px solid transparent;border-bottom-color:var(--altcha-color-border, #a0a0a0);content:"";height:0;left:12px;position:absolute;top:-12px;width:0}.altcha-main{align-items:center;display:flex;gap:.4rem;padding:.7rem;position:relative}.altcha-code-challenge{background:var(--altcha-color-base, white);border:1px solid var(--altcha-color-border-focus, currentColor);border-radius:var(--altcha-border-radius, 3px);filter:drop-shadow(3px 3px 6px rgba(0,0,0,.2));padding:.5rem;position:absolute;top:2.5rem;z-index:9999999}.altcha-code-challenge>form{display:flex;flex-direction:column;gap:.5rem}.altcha-code-challenge-input{border:1px solid currentColor;border-radius:3px;box-sizing:border-box;outline:0;font-size:16px;padding:.35rem;width:220px}.altcha-code-challenge-input:focus{outline:2px solid color-mix(in srgb,var(--altcha-color-active, #1D1DC9) 20%,transparent)}.altcha-code-challenge-input:disabled{opacity:.7}.altcha-code-challenge-image{background-color:#fff;border:1px solid currentColor;border-radius:3px;box-sizing:border-box;object-fit:contain;height:50px;width:220px}.altcha-code-challenge-audio,.altcha-code-challenge-reload{background:color-mix(in srgb,var(--altcha-color-text, currentColor) 10%,transparent);border:0;border-radius:3px;color:var(--altcha-color-text, currentColor);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.35rem}.altcha-code-challenge-audio:disabled,.altcha-code-challenge-reload:disabled,.altcha-code-challenge-verify:disabled{opacity:.7;pointer-events:none}.altcha-code-challenge-audio>*,.altcha-code-challenge-reload>*{height:20px;width:20px}.altcha-code-challenge-buttons{display:flex;justify-content:space-between}.altcha-code-challenge-buttons-left{display:flex;gap:.25rem}.altcha-code-challenge-verify{align-items:center;background:var(--altcha-color-active, #1D1DC9);border:0;border-radius:3px;color:#fff;cursor:pointer;display:flex;gap:.5rem;font-size:100%;padding:.35rem 1rem}.altcha-code-challenge-arrow{border:6px solid transparent;border-bottom-color:var(--altcha-color-border, currentColor);content:"";height:0;left:.15rem;position:absolute;top:-12px;width:0}.altcha[data-floating=top] .altcha-code-challenge{top:-150px}.altcha[data-floating=top] .altcha-code-challenge-arrow{border-bottom-color:transparent;border-top-color:var(--altcha-color-border, currentColor);bottom:-12px;top:auto}.altcha-label{cursor:pointer;flex-grow:1}.altcha-logo{color:currentColor!important;opacity:.7}.altcha-footer:hover,.altcha-logo:hover{opacity:1}.altcha-error{color:var(--altcha-color-error-text, #f23939);display:flex;font-size:.85rem;gap:.3rem;padding:0 .7rem .7rem}.altcha-footer{align-items:center;background-color:var(--altcha-color-footer-bg, transparent);display:flex;font-size:.75rem;opacity:.7;justify-content:end;padding:.2rem .7rem}.altcha-footer a{color:currentColor}.altcha-checkbox{display:flex;align-items:center;justify-content:center;height:24px;position:relative;width:24px}.altcha-checkbox .altcha-spinner{bottom:0;left:0;position:absolute;right:0;top:0}.altcha-checkbox input{width:18px;height:18px;margin:0}.altcha-checkbox-verifying input{appearance:none;opacity:0;pointer-events:none}.altcha-spinner{animation:altcha-spinner .75s infinite linear;transform-origin:center}';
|
|
4025
|
+
function Es(e, t = "__altcha-css") {
|
|
4008
4026
|
if (!document.getElementById(t)) {
|
|
4009
4027
|
const r = document.createElement("style");
|
|
4010
4028
|
r.id = t, r.textContent = e, document.head.appendChild(r);
|
|
4011
4029
|
}
|
|
4012
4030
|
}
|
|
4013
|
-
globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new
|
|
4014
|
-
Ls
|
|
4031
|
+
globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new Jl();
|
|
4032
|
+
Es(Ls);
|
|
4015
4033
|
export {
|
|
4016
|
-
|
|
4034
|
+
Cs as Altcha
|
|
4017
4035
|
};
|