altcha 2.2.2 → 2.2.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/README.md +3 -2
- package/dist/altcha.d.ts +39 -19
- package/dist/altcha.i18n.d.ts +39 -19
- package/dist/altcha.i18n.js +1461 -1452
- package/dist/altcha.i18n.umd.js +4 -4
- package/dist/altcha.js +1219 -1210
- package/dist/altcha.umd.cjs +4 -4
- package/dist_external/altcha.d.ts +39 -19
- package/dist_external/altcha.js +1196 -1187
- package/dist_external/altcha.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/altcha.i18n.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var On = Object.defineProperty;
|
|
2
|
+
var qa = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var se = (e, t, r) => (
|
|
8
|
-
var
|
|
9
|
-
const
|
|
5
|
+
var Fn = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
+
var Ae = (e, t, r) => Fn(e, typeof t != "symbol" ? t + "" : t, r), Ha = (e, t, r) => t.has(e) || qa("Cannot " + r);
|
|
7
|
+
var se = (e, t, r) => (Ha(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Vr = (e, t, r) => t.has(e) ? qa("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), jr = (e, t, r, i) => (Ha(e, t, "write to private field"), i ? i.call(e, r) : t.set(e, r), r);
|
|
8
|
+
var ri = Array.isArray, Mn = Array.prototype.indexOf, Bn = Array.from, sr = Object.keys, Mt = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, Un = Object.getOwnPropertyDescriptors, Gn = Object.prototype, Wn = Array.prototype, ai = Object.getPrototypeOf, Oa = Object.isExtensible;
|
|
9
|
+
const Ct = () => {
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function ii(e) {
|
|
12
12
|
for (var t = 0; t < e.length; t++)
|
|
13
13
|
e[t]();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Zn(e, t, r = !1) {
|
|
16
16
|
return e === void 0 ? r ? (
|
|
17
17
|
/** @type {() => V} */
|
|
18
18
|
t()
|
|
@@ -21,70 +21,70 @@ function Wn(e, t, r = !1) {
|
|
|
21
21
|
t
|
|
22
22
|
) : e;
|
|
23
23
|
}
|
|
24
|
-
const
|
|
25
|
-
let
|
|
26
|
-
function li() {
|
|
27
|
-
var e = Mt;
|
|
28
|
-
Mt = [], ai(e);
|
|
29
|
-
}
|
|
24
|
+
const ke = 2, ni = 4, vr = 8, Mr = 16, Ne = 32, ct = 64, fr = 128, he = 256, cr = 512, ce = 1024, ze = 2048, ut = 4096, Et = 8192, br = 16384, Yn = 32768, Br = 65536, Kn = 1 << 19, oi = 1 << 20, Pr = 1 << 21, Ot = Symbol("$state"), li = Symbol("legacy props"), Jn = Symbol(""), Xn = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
|
|
25
|
+
let Bt = [], Ut = [];
|
|
30
26
|
function si() {
|
|
31
27
|
var e = Bt;
|
|
32
|
-
Bt = [],
|
|
28
|
+
Bt = [], ii(e);
|
|
29
|
+
}
|
|
30
|
+
function fi() {
|
|
31
|
+
var e = Ut;
|
|
32
|
+
Ut = [], ii(e);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
34
|
+
function Ur(e) {
|
|
35
|
+
Bt.length === 0 && queueMicrotask(si), Bt.push(e);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
37
|
+
function Qn(e) {
|
|
38
|
+
Ut.length === 0 && Xn(fi), Ut.push(e);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
40
|
+
function eo() {
|
|
41
|
+
Bt.length > 0 && si(), Ut.length > 0 && fi();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ci(e) {
|
|
44
44
|
return e === this.v;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function ui(e, t) {
|
|
47
47
|
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return !
|
|
49
|
+
function Gr(e) {
|
|
50
|
+
return !ui(e, this.v);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function to(e) {
|
|
53
53
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function ro() {
|
|
56
56
|
throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function ao(e) {
|
|
59
59
|
throw new Error("https://svelte.dev/e/effect_orphan");
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function io() {
|
|
62
62
|
throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function no() {
|
|
65
65
|
throw new Error("https://svelte.dev/e/hydration_failed");
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function oo(e) {
|
|
68
68
|
throw new Error("https://svelte.dev/e/props_invalid_value");
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function lo() {
|
|
71
71
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function so() {
|
|
74
74
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function fo() {
|
|
77
77
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
78
78
|
}
|
|
79
|
-
const
|
|
80
|
-
function
|
|
79
|
+
const co = 1, uo = 4, ho = 8, go = 16, vo = 1, bo = 2, Wr = "[", di = "[!", hi = "]", Lt = {}, fe = Symbol(), po = "http://www.w3.org/1999/xhtml";
|
|
80
|
+
function gi(e) {
|
|
81
81
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
82
82
|
}
|
|
83
83
|
let ie = null;
|
|
84
|
-
function
|
|
84
|
+
function Fa(e) {
|
|
85
85
|
ie = e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function vi(e, t = !1, r) {
|
|
88
88
|
var i = ie = {
|
|
89
89
|
p: ie,
|
|
90
90
|
c: null,
|
|
@@ -95,25 +95,25 @@ function gi(e, t = !1, r) {
|
|
|
95
95
|
x: null,
|
|
96
96
|
l: null
|
|
97
97
|
};
|
|
98
|
-
|
|
98
|
+
Kr(() => {
|
|
99
99
|
i.d = !0;
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function bi(e) {
|
|
103
103
|
const t = ie;
|
|
104
104
|
if (t !== null) {
|
|
105
105
|
e !== void 0 && (t.x = e);
|
|
106
|
-
const
|
|
107
|
-
if (
|
|
108
|
-
var r =
|
|
106
|
+
const c = t.e;
|
|
107
|
+
if (c !== null) {
|
|
108
|
+
var r = j, i = V;
|
|
109
109
|
t.e = null;
|
|
110
110
|
try {
|
|
111
|
-
for (var l = 0; l <
|
|
112
|
-
var n =
|
|
113
|
-
|
|
111
|
+
for (var l = 0; l < c.length; l++) {
|
|
112
|
+
var n = c[l];
|
|
113
|
+
We(n.effect), Re(n.reaction), Jr(n.fn);
|
|
114
114
|
}
|
|
115
115
|
} finally {
|
|
116
|
-
|
|
116
|
+
We(r), Re(i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
ie = t.p, t.m = !0;
|
|
@@ -121,74 +121,74 @@ function vi(e) {
|
|
|
121
121
|
return e || /** @type {T} */
|
|
122
122
|
{};
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function pi() {
|
|
125
125
|
return !0;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
if (typeof e != "object" || e === null ||
|
|
127
|
+
function Be(e) {
|
|
128
|
+
if (typeof e != "object" || e === null || Ot in e)
|
|
129
129
|
return e;
|
|
130
|
-
const t =
|
|
131
|
-
if (t !==
|
|
130
|
+
const t = ai(e);
|
|
131
|
+
if (t !== Gn && t !== Wn)
|
|
132
132
|
return e;
|
|
133
|
-
var r = /* @__PURE__ */ new Map(), i =
|
|
134
|
-
var
|
|
135
|
-
|
|
133
|
+
var r = /* @__PURE__ */ new Map(), i = ri(e), l = /* @__PURE__ */ P(0), n = V, c = (s) => {
|
|
134
|
+
var u = V;
|
|
135
|
+
Re(n);
|
|
136
136
|
var d = s();
|
|
137
|
-
return
|
|
137
|
+
return Re(u), d;
|
|
138
138
|
};
|
|
139
|
-
return i && r.set("length", /* @__PURE__ */
|
|
139
|
+
return i && r.set("length", /* @__PURE__ */ P(
|
|
140
140
|
/** @type {any[]} */
|
|
141
141
|
e.length
|
|
142
142
|
)), new Proxy(
|
|
143
143
|
/** @type {any} */
|
|
144
144
|
e,
|
|
145
145
|
{
|
|
146
|
-
defineProperty(s,
|
|
147
|
-
(!("value" in d) || d.configurable === !1 || d.enumerable === !1 || d.writable === !1) &&
|
|
148
|
-
var m = r.get(
|
|
149
|
-
return m === void 0 ? (m =
|
|
146
|
+
defineProperty(s, u, d) {
|
|
147
|
+
(!("value" in d) || d.configurable === !1 || d.enumerable === !1 || d.writable === !1) && lo();
|
|
148
|
+
var m = r.get(u);
|
|
149
|
+
return m === void 0 ? (m = c(() => /* @__PURE__ */ P(d.value)), r.set(u, m)) : y(
|
|
150
150
|
m,
|
|
151
|
-
|
|
151
|
+
c(() => Be(d.value))
|
|
152
152
|
), !0;
|
|
153
153
|
},
|
|
154
|
-
deleteProperty(s,
|
|
155
|
-
var d = r.get(
|
|
154
|
+
deleteProperty(s, u) {
|
|
155
|
+
var d = r.get(u);
|
|
156
156
|
if (d === void 0)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
),
|
|
157
|
+
u in s && (r.set(
|
|
158
|
+
u,
|
|
159
|
+
c(() => /* @__PURE__ */ P(fe))
|
|
160
|
+
), Rr(l));
|
|
161
161
|
else {
|
|
162
|
-
if (i && typeof
|
|
162
|
+
if (i && typeof u == "string") {
|
|
163
163
|
var m = (
|
|
164
164
|
/** @type {Source<number>} */
|
|
165
165
|
r.get("length")
|
|
166
|
-
), g = Number(
|
|
166
|
+
), g = Number(u);
|
|
167
167
|
Number.isInteger(g) && g < m.v && y(m, g);
|
|
168
168
|
}
|
|
169
|
-
y(d,
|
|
169
|
+
y(d, fe), Rr(l);
|
|
170
170
|
}
|
|
171
171
|
return !0;
|
|
172
172
|
},
|
|
173
|
-
get(s,
|
|
173
|
+
get(s, u, d) {
|
|
174
174
|
var A;
|
|
175
|
-
if (
|
|
175
|
+
if (u === Ot)
|
|
176
176
|
return e;
|
|
177
|
-
var m = r.get(
|
|
178
|
-
if (m === void 0 && (!g || (A =
|
|
177
|
+
var m = r.get(u), g = u in s;
|
|
178
|
+
if (m === void 0 && (!g || (A = lt(s, u)) != null && A.writable) && (m = c(() => /* @__PURE__ */ P(Be(g ? s[u] : fe))), r.set(u, m)), m !== void 0) {
|
|
179
179
|
var p = o(m);
|
|
180
|
-
return p ===
|
|
180
|
+
return p === fe ? void 0 : p;
|
|
181
181
|
}
|
|
182
|
-
return Reflect.get(s,
|
|
182
|
+
return Reflect.get(s, u, d);
|
|
183
183
|
},
|
|
184
|
-
getOwnPropertyDescriptor(s,
|
|
185
|
-
var d = Reflect.getOwnPropertyDescriptor(s,
|
|
184
|
+
getOwnPropertyDescriptor(s, u) {
|
|
185
|
+
var d = Reflect.getOwnPropertyDescriptor(s, u);
|
|
186
186
|
if (d && "value" in d) {
|
|
187
|
-
var m = r.get(
|
|
187
|
+
var m = r.get(u);
|
|
188
188
|
m && (d.value = o(m));
|
|
189
189
|
} else if (d === void 0) {
|
|
190
|
-
var g = r.get(
|
|
191
|
-
if (g !== void 0 && p !==
|
|
190
|
+
var g = r.get(u), p = g == null ? void 0 : g.v;
|
|
191
|
+
if (g !== void 0 && p !== fe)
|
|
192
192
|
return {
|
|
193
193
|
enumerable: !0,
|
|
194
194
|
configurable: !0,
|
|
@@ -198,78 +198,78 @@ function Me(e) {
|
|
|
198
198
|
}
|
|
199
199
|
return d;
|
|
200
200
|
},
|
|
201
|
-
has(s,
|
|
201
|
+
has(s, u) {
|
|
202
202
|
var p;
|
|
203
|
-
if (
|
|
203
|
+
if (u === Ot)
|
|
204
204
|
return !0;
|
|
205
|
-
var d = r.get(
|
|
206
|
-
if (d !== void 0 ||
|
|
207
|
-
d === void 0 && (d =
|
|
205
|
+
var d = r.get(u), m = d !== void 0 && d.v !== fe || Reflect.has(s, u);
|
|
206
|
+
if (d !== void 0 || j !== null && (!m || (p = lt(s, u)) != null && p.writable)) {
|
|
207
|
+
d === void 0 && (d = c(() => /* @__PURE__ */ P(m ? Be(s[u]) : fe)), r.set(u, d));
|
|
208
208
|
var g = o(d);
|
|
209
|
-
if (g ===
|
|
209
|
+
if (g === fe)
|
|
210
210
|
return !1;
|
|
211
211
|
}
|
|
212
212
|
return m;
|
|
213
213
|
},
|
|
214
|
-
set(s,
|
|
215
|
-
var
|
|
216
|
-
var g = r.get(
|
|
217
|
-
if (i &&
|
|
214
|
+
set(s, u, d, m) {
|
|
215
|
+
var X;
|
|
216
|
+
var g = r.get(u), p = u in s;
|
|
217
|
+
if (i && u === "length")
|
|
218
218
|
for (var A = d; A < /** @type {Source<number>} */
|
|
219
219
|
g.v; A += 1) {
|
|
220
|
-
var
|
|
221
|
-
|
|
220
|
+
var R = r.get(A + "");
|
|
221
|
+
R !== void 0 ? y(R, fe) : A in s && (R = c(() => /* @__PURE__ */ P(fe)), r.set(A + "", R));
|
|
222
222
|
}
|
|
223
|
-
g === void 0 ? (!p || (
|
|
223
|
+
g === void 0 ? (!p || (X = lt(s, u)) != null && X.writable) && (g = c(() => /* @__PURE__ */ P(void 0)), y(
|
|
224
224
|
g,
|
|
225
|
-
|
|
226
|
-
), r.set(
|
|
225
|
+
c(() => Be(d))
|
|
226
|
+
), r.set(u, g)) : (p = g.v !== fe, y(
|
|
227
227
|
g,
|
|
228
|
-
|
|
228
|
+
c(() => Be(d))
|
|
229
229
|
));
|
|
230
|
-
var
|
|
231
|
-
if (
|
|
232
|
-
if (i && typeof
|
|
233
|
-
var
|
|
230
|
+
var S = Reflect.getOwnPropertyDescriptor(s, u);
|
|
231
|
+
if (S != null && S.set && S.set.call(m, d), !p) {
|
|
232
|
+
if (i && typeof u == "string") {
|
|
233
|
+
var O = (
|
|
234
234
|
/** @type {Source<number>} */
|
|
235
235
|
r.get("length")
|
|
236
|
-
),
|
|
237
|
-
Number.isInteger(
|
|
236
|
+
), T = Number(u);
|
|
237
|
+
Number.isInteger(T) && T >= O.v && y(O, T + 1);
|
|
238
238
|
}
|
|
239
|
-
|
|
239
|
+
Rr(l);
|
|
240
240
|
}
|
|
241
241
|
return !0;
|
|
242
242
|
},
|
|
243
243
|
ownKeys(s) {
|
|
244
244
|
o(l);
|
|
245
|
-
var
|
|
245
|
+
var u = Reflect.ownKeys(s).filter((g) => {
|
|
246
246
|
var p = r.get(g);
|
|
247
|
-
return p === void 0 || p.v !==
|
|
247
|
+
return p === void 0 || p.v !== fe;
|
|
248
248
|
});
|
|
249
249
|
for (var [d, m] of r)
|
|
250
|
-
m.v !==
|
|
251
|
-
return
|
|
250
|
+
m.v !== fe && !(d in s) && u.push(d);
|
|
251
|
+
return u;
|
|
252
252
|
},
|
|
253
253
|
setPrototypeOf() {
|
|
254
|
-
|
|
254
|
+
so();
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Rr(e, t = 1) {
|
|
260
260
|
y(e, e.v + t);
|
|
261
261
|
}
|
|
262
262
|
// @__NO_SIDE_EFFECTS__
|
|
263
|
-
function
|
|
264
|
-
var t =
|
|
263
|
+
function pr(e) {
|
|
264
|
+
var t = ke | ze, r = V !== null && (V.f & ke) !== 0 ? (
|
|
265
265
|
/** @type {Derived} */
|
|
266
|
-
|
|
266
|
+
V
|
|
267
267
|
) : null;
|
|
268
|
-
return
|
|
268
|
+
return j === null || r !== null && (r.f & he) !== 0 ? t |= he : j.f |= oi, {
|
|
269
269
|
ctx: ie,
|
|
270
270
|
deps: null,
|
|
271
271
|
effects: null,
|
|
272
|
-
equals:
|
|
272
|
+
equals: ci,
|
|
273
273
|
f: t,
|
|
274
274
|
fn: e,
|
|
275
275
|
reactions: null,
|
|
@@ -279,33 +279,33 @@ function br(e) {
|
|
|
279
279
|
null
|
|
280
280
|
),
|
|
281
281
|
wv: 0,
|
|
282
|
-
parent: r ??
|
|
282
|
+
parent: r ?? j
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
285
|
// @__NO_SIDE_EFFECTS__
|
|
286
|
-
function
|
|
287
|
-
const t = /* @__PURE__ */
|
|
288
|
-
return
|
|
286
|
+
function Dt(e) {
|
|
287
|
+
const t = /* @__PURE__ */ pr(e);
|
|
288
|
+
return Ei(t), t;
|
|
289
289
|
}
|
|
290
290
|
// @__NO_SIDE_EFFECTS__
|
|
291
|
-
function
|
|
292
|
-
const t = /* @__PURE__ */
|
|
293
|
-
return t.equals =
|
|
291
|
+
function mo(e) {
|
|
292
|
+
const t = /* @__PURE__ */ pr(e);
|
|
293
|
+
return t.equals = Gr, t;
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function mi(e) {
|
|
296
296
|
var t = e.effects;
|
|
297
297
|
if (t !== null) {
|
|
298
298
|
e.effects = null;
|
|
299
299
|
for (var r = 0; r < t.length; r += 1)
|
|
300
|
-
|
|
300
|
+
Ze(
|
|
301
301
|
/** @type {Effect} */
|
|
302
302
|
t[r]
|
|
303
303
|
);
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function yo(e) {
|
|
307
307
|
for (var t = e.parent; t !== null; ) {
|
|
308
|
-
if ((t.f &
|
|
308
|
+
if ((t.f & ke) === 0)
|
|
309
309
|
return (
|
|
310
310
|
/** @type {Effect} */
|
|
311
311
|
t
|
|
@@ -314,280 +314,280 @@ function mo(e) {
|
|
|
314
314
|
}
|
|
315
315
|
return null;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
var t, r =
|
|
319
|
-
|
|
317
|
+
function yi(e) {
|
|
318
|
+
var t, r = j;
|
|
319
|
+
We(yo(e));
|
|
320
320
|
try {
|
|
321
|
-
|
|
321
|
+
mi(e), t = Vi(e);
|
|
322
322
|
} finally {
|
|
323
|
-
|
|
323
|
+
We(r);
|
|
324
324
|
}
|
|
325
325
|
return t;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
var t =
|
|
329
|
-
|
|
327
|
+
function Ai(e) {
|
|
328
|
+
var t = yi(e), r = (Ue || (e.f & he) !== 0) && e.deps !== null ? ut : ce;
|
|
329
|
+
_e(e, r), e.equals(t) || (e.v = t, e.wv = Ti());
|
|
330
330
|
}
|
|
331
|
-
const
|
|
332
|
-
function
|
|
331
|
+
const Gt = /* @__PURE__ */ new Map();
|
|
332
|
+
function ki(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: ci,
|
|
339
339
|
rv: 0,
|
|
340
340
|
wv: 0
|
|
341
341
|
};
|
|
342
342
|
return r;
|
|
343
343
|
}
|
|
344
344
|
// @__NO_SIDE_EFFECTS__
|
|
345
|
-
function
|
|
346
|
-
const r =
|
|
347
|
-
return
|
|
345
|
+
function P(e, t) {
|
|
346
|
+
const r = ki(e);
|
|
347
|
+
return Ei(r), r;
|
|
348
348
|
}
|
|
349
349
|
// @__NO_SIDE_EFFECTS__
|
|
350
|
-
function
|
|
351
|
-
const r =
|
|
352
|
-
return t || (r.equals =
|
|
350
|
+
function Zr(e, t = !1) {
|
|
351
|
+
const r = ki(e);
|
|
352
|
+
return t || (r.equals = Gr), r;
|
|
353
353
|
}
|
|
354
354
|
function y(e, t, r = !1) {
|
|
355
|
-
|
|
356
|
-
let i = r ?
|
|
357
|
-
return
|
|
355
|
+
V !== null && !Ve && pi() && (V.f & (ke | Mr)) !== 0 && !(ne != null && ne.includes(e)) && fo();
|
|
356
|
+
let i = r ? Be(t) : t;
|
|
357
|
+
return Ao(e, i);
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function Ao(e, t) {
|
|
360
360
|
if (!e.equals(t)) {
|
|
361
361
|
var r = e.v;
|
|
362
|
-
|
|
362
|
+
Wt ? Gt.set(e, t) : Gt.set(e, r), e.v = t, (e.f & ke) !== 0 && ((e.f & ze) !== 0 && yi(
|
|
363
363
|
/** @type {Derived} */
|
|
364
364
|
e
|
|
365
|
-
),
|
|
365
|
+
), _e(e, (e.f & he) === 0 ? ce : ut)), e.wv = Ti(), _i(e, ze), j !== null && (j.f & ce) !== 0 && (j.f & (Ne | ct)) === 0 && (ve === null ? wo([e]) : ve.push(e));
|
|
366
366
|
}
|
|
367
367
|
return t;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function _i(e, t) {
|
|
370
370
|
var r = e.reactions;
|
|
371
371
|
if (r !== null)
|
|
372
372
|
for (var i = r.length, l = 0; l < i; l++) {
|
|
373
|
-
var n = r[l],
|
|
374
|
-
(
|
|
373
|
+
var n = r[l], c = n.f;
|
|
374
|
+
(c & ze) === 0 && (_e(n, t), (c & (ce | he)) !== 0 && ((c & ke) !== 0 ? _i(
|
|
375
375
|
/** @type {Derived} */
|
|
376
376
|
n,
|
|
377
|
-
|
|
378
|
-
) :
|
|
377
|
+
ut
|
|
378
|
+
) : kr(
|
|
379
379
|
/** @type {Effect} */
|
|
380
380
|
n
|
|
381
381
|
)));
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function mr(e) {
|
|
385
385
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
386
386
|
}
|
|
387
|
-
let
|
|
388
|
-
function
|
|
389
|
-
|
|
387
|
+
let D = !1;
|
|
388
|
+
function wt(e) {
|
|
389
|
+
D = e;
|
|
390
390
|
}
|
|
391
|
-
let
|
|
392
|
-
function
|
|
391
|
+
let N;
|
|
392
|
+
function Ge(e) {
|
|
393
393
|
if (e === null)
|
|
394
|
-
throw
|
|
395
|
-
return
|
|
394
|
+
throw mr(), Lt;
|
|
395
|
+
return N = e;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
return
|
|
397
|
+
function xt() {
|
|
398
|
+
return Ge(
|
|
399
399
|
/** @type {TemplateNode} */
|
|
400
|
-
/* @__PURE__ */
|
|
400
|
+
/* @__PURE__ */ Ye(N)
|
|
401
401
|
);
|
|
402
402
|
}
|
|
403
|
-
function
|
|
404
|
-
if (
|
|
405
|
-
if (/* @__PURE__ */
|
|
406
|
-
throw
|
|
407
|
-
|
|
403
|
+
function Z(e) {
|
|
404
|
+
if (D) {
|
|
405
|
+
if (/* @__PURE__ */ Ye(N) !== null)
|
|
406
|
+
throw mr(), Lt;
|
|
407
|
+
N = e;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
411
|
-
for (var e = 0, t =
|
|
410
|
+
function ko() {
|
|
411
|
+
for (var e = 0, t = N; ; ) {
|
|
412
412
|
if (t.nodeType === 8) {
|
|
413
413
|
var r = (
|
|
414
414
|
/** @type {Comment} */
|
|
415
415
|
t.data
|
|
416
416
|
);
|
|
417
|
-
if (r ===
|
|
417
|
+
if (r === hi) {
|
|
418
418
|
if (e === 0) return t;
|
|
419
419
|
e -= 1;
|
|
420
|
-
} else (r ===
|
|
420
|
+
} else (r === Wr || r === di) && (e += 1);
|
|
421
421
|
}
|
|
422
422
|
var i = (
|
|
423
423
|
/** @type {TemplateNode} */
|
|
424
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ Ye(t)
|
|
425
425
|
);
|
|
426
426
|
t.remove(), t = i;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var
|
|
430
|
-
function
|
|
431
|
-
if (
|
|
432
|
-
|
|
429
|
+
var Ma, wi, Ci, Li;
|
|
430
|
+
function zr() {
|
|
431
|
+
if (Ma === void 0) {
|
|
432
|
+
Ma = window, wi = /Firefox/.test(navigator.userAgent);
|
|
433
433
|
var e = Element.prototype, t = Node.prototype, r = Text.prototype;
|
|
434
|
-
|
|
434
|
+
Ci = lt(t, "firstChild").get, Li = lt(t, "nextSibling").get, Oa(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), Oa(r) && (r.__t = void 0);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function yr(e = "") {
|
|
438
438
|
return document.createTextNode(e);
|
|
439
439
|
}
|
|
440
440
|
// @__NO_SIDE_EFFECTS__
|
|
441
|
-
function
|
|
442
|
-
return
|
|
441
|
+
function pe(e) {
|
|
442
|
+
return Ci.call(e);
|
|
443
443
|
}
|
|
444
444
|
// @__NO_SIDE_EFFECTS__
|
|
445
|
-
function
|
|
446
|
-
return
|
|
445
|
+
function Ye(e) {
|
|
446
|
+
return Li.call(e);
|
|
447
447
|
}
|
|
448
|
-
function
|
|
449
|
-
if (!
|
|
450
|
-
return /* @__PURE__ */
|
|
448
|
+
function Y(e, t) {
|
|
449
|
+
if (!D)
|
|
450
|
+
return /* @__PURE__ */ pe(e);
|
|
451
451
|
var r = (
|
|
452
452
|
/** @type {TemplateNode} */
|
|
453
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ pe(N)
|
|
454
454
|
);
|
|
455
|
-
return r === null && (r =
|
|
455
|
+
return r === null && (r = N.appendChild(yr())), Ge(r), r;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
if (!
|
|
457
|
+
function qt(e, t) {
|
|
458
|
+
if (!D) {
|
|
459
459
|
var r = (
|
|
460
460
|
/** @type {DocumentFragment} */
|
|
461
|
-
/* @__PURE__ */
|
|
461
|
+
/* @__PURE__ */ pe(
|
|
462
462
|
/** @type {Node} */
|
|
463
463
|
e
|
|
464
464
|
)
|
|
465
465
|
);
|
|
466
|
-
return r instanceof Comment && r.data === "" ? /* @__PURE__ */
|
|
466
|
+
return r instanceof Comment && r.data === "" ? /* @__PURE__ */ Ye(r) : r;
|
|
467
467
|
}
|
|
468
|
-
return
|
|
468
|
+
return N;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
471
|
-
let i =
|
|
470
|
+
function K(e, t = 1, r = !1) {
|
|
471
|
+
let i = D ? N : e;
|
|
472
472
|
for (var l; t--; )
|
|
473
473
|
l = i, i = /** @type {TemplateNode} */
|
|
474
|
-
/* @__PURE__ */
|
|
475
|
-
if (!
|
|
474
|
+
/* @__PURE__ */ Ye(i);
|
|
475
|
+
if (!D)
|
|
476
476
|
return i;
|
|
477
477
|
var n = i == null ? void 0 : i.nodeType;
|
|
478
478
|
if (r && n !== 3) {
|
|
479
|
-
var
|
|
480
|
-
return i === null ? l == null || l.after(
|
|
479
|
+
var c = yr();
|
|
480
|
+
return i === null ? l == null || l.after(c) : i.before(c), Ge(c), c;
|
|
481
481
|
}
|
|
482
|
-
return
|
|
482
|
+
return Ge(i), /** @type {TemplateNode} */
|
|
483
483
|
i;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function _o(e) {
|
|
486
486
|
e.textContent = "";
|
|
487
487
|
}
|
|
488
|
-
let
|
|
489
|
-
function
|
|
490
|
-
|
|
488
|
+
let nr = !1, ur = !1, dr = null, st = !1, Wt = !1;
|
|
489
|
+
function Ba(e) {
|
|
490
|
+
Wt = e;
|
|
491
491
|
}
|
|
492
|
-
let
|
|
493
|
-
let
|
|
494
|
-
function
|
|
495
|
-
|
|
492
|
+
let Ft = [];
|
|
493
|
+
let V = null, Ve = !1;
|
|
494
|
+
function Re(e) {
|
|
495
|
+
V = e;
|
|
496
496
|
}
|
|
497
|
-
let
|
|
498
|
-
function
|
|
499
|
-
|
|
497
|
+
let j = null;
|
|
498
|
+
function We(e) {
|
|
499
|
+
j = e;
|
|
500
500
|
}
|
|
501
501
|
let ne = null;
|
|
502
|
-
function
|
|
503
|
-
|
|
502
|
+
function Ei(e) {
|
|
503
|
+
V !== null && V.f & Pr && (ne === null ? ne = [e] : ne.push(e));
|
|
504
504
|
}
|
|
505
|
-
let ae = null,
|
|
506
|
-
function
|
|
507
|
-
|
|
505
|
+
let ae = null, de = 0, ve = null;
|
|
506
|
+
function wo(e) {
|
|
507
|
+
ve = e;
|
|
508
508
|
}
|
|
509
|
-
let
|
|
510
|
-
function
|
|
511
|
-
return ++
|
|
509
|
+
let xi = 1, hr = 0, Ue = !1;
|
|
510
|
+
function Ti() {
|
|
511
|
+
return ++xi;
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Zt(e) {
|
|
514
514
|
var g;
|
|
515
515
|
var t = e.f;
|
|
516
516
|
if ((t & ze) !== 0)
|
|
517
517
|
return !0;
|
|
518
|
-
if ((t &
|
|
519
|
-
var r = e.deps, i = (t &
|
|
518
|
+
if ((t & ut) !== 0) {
|
|
519
|
+
var r = e.deps, i = (t & he) !== 0;
|
|
520
520
|
if (r !== null) {
|
|
521
|
-
var l, n,
|
|
522
|
-
if (
|
|
521
|
+
var l, n, c = (t & cr) !== 0, s = i && j !== null && !Ue, u = r.length;
|
|
522
|
+
if (c || s) {
|
|
523
523
|
var d = (
|
|
524
524
|
/** @type {Derived} */
|
|
525
525
|
e
|
|
526
526
|
), m = d.parent;
|
|
527
|
-
for (l = 0; l <
|
|
528
|
-
n = r[l], (
|
|
529
|
-
|
|
527
|
+
for (l = 0; l < u; l++)
|
|
528
|
+
n = r[l], (c || !((g = n == null ? void 0 : n.reactions) != null && g.includes(d))) && (n.reactions ?? (n.reactions = [])).push(d);
|
|
529
|
+
c && (d.f ^= cr), s && m !== null && (m.f & he) === 0 && (d.f ^= he);
|
|
530
530
|
}
|
|
531
|
-
for (l = 0; l <
|
|
532
|
-
if (n = r[l],
|
|
531
|
+
for (l = 0; l < u; l++)
|
|
532
|
+
if (n = r[l], Zt(
|
|
533
533
|
/** @type {Derived} */
|
|
534
534
|
n
|
|
535
|
-
) &&
|
|
535
|
+
) && Ai(
|
|
536
536
|
/** @type {Derived} */
|
|
537
537
|
n
|
|
538
538
|
), n.wv > e.wv)
|
|
539
539
|
return !0;
|
|
540
540
|
}
|
|
541
|
-
(!i ||
|
|
541
|
+
(!i || j !== null && !Ue) && _e(e, ce);
|
|
542
542
|
}
|
|
543
543
|
return !1;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function Co(e, t) {
|
|
546
546
|
for (var r = t; r !== null; ) {
|
|
547
|
-
if ((r.f &
|
|
547
|
+
if ((r.f & fr) !== 0)
|
|
548
548
|
try {
|
|
549
549
|
r.fn(e);
|
|
550
550
|
return;
|
|
551
551
|
} catch {
|
|
552
|
-
r.f ^=
|
|
552
|
+
r.f ^= fr;
|
|
553
553
|
}
|
|
554
554
|
r = r.parent;
|
|
555
555
|
}
|
|
556
|
-
throw
|
|
556
|
+
throw nr = !1, e;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return (e.f &
|
|
558
|
+
function Ua(e) {
|
|
559
|
+
return (e.f & br) === 0 && (e.parent === null || (e.parent.f & fr) === 0);
|
|
560
560
|
}
|
|
561
|
-
function
|
|
562
|
-
if (
|
|
563
|
-
if (r === null && (
|
|
561
|
+
function Ar(e, t, r, i) {
|
|
562
|
+
if (nr) {
|
|
563
|
+
if (r === null && (nr = !1), Ua(t))
|
|
564
564
|
throw e;
|
|
565
565
|
return;
|
|
566
566
|
}
|
|
567
|
-
if (r !== null && (
|
|
567
|
+
if (r !== null && (nr = !0), Co(e, t), Ua(t))
|
|
568
568
|
throw e;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Ii(e, t, r = !0) {
|
|
571
571
|
var i = e.reactions;
|
|
572
572
|
if (i !== null)
|
|
573
573
|
for (var l = 0; l < i.length; l++) {
|
|
574
574
|
var n = i[l];
|
|
575
|
-
ne != null && ne.includes(e) || ((n.f &
|
|
575
|
+
ne != null && ne.includes(e) || ((n.f & ke) !== 0 ? Ii(
|
|
576
576
|
/** @type {Derived} */
|
|
577
577
|
n,
|
|
578
578
|
t,
|
|
579
579
|
!1
|
|
580
|
-
) : t === n && (r ?
|
|
580
|
+
) : t === n && (r ? _e(n, ze) : (n.f & ce) !== 0 && _e(n, ut), kr(
|
|
581
581
|
/** @type {Effect} */
|
|
582
582
|
n
|
|
583
583
|
)));
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Vi(e) {
|
|
587
587
|
var A;
|
|
588
|
-
var t = ae, r =
|
|
588
|
+
var t = ae, r = de, i = ve, l = V, n = Ue, c = ne, s = ie, u = Ve, d = e.f;
|
|
589
589
|
ae = /** @type {null | Value[]} */
|
|
590
|
-
null,
|
|
590
|
+
null, de = 0, ve = null, Ue = (d & he) !== 0 && (Ve || !st || V === null), V = (d & (Ne | ct)) === 0 ? e : null, ne = null, Fa(e.ctx), Ve = !1, hr++, e.f |= Pr;
|
|
591
591
|
try {
|
|
592
592
|
var m = (
|
|
593
593
|
/** @type {Function} */
|
|
@@ -595,144 +595,144 @@ function Ii(e) {
|
|
|
595
595
|
), g = e.deps;
|
|
596
596
|
if (ae !== null) {
|
|
597
597
|
var p;
|
|
598
|
-
if (
|
|
599
|
-
for (g.length =
|
|
600
|
-
g[
|
|
598
|
+
if (gr(e, de), g !== null && de > 0)
|
|
599
|
+
for (g.length = de + ae.length, p = 0; p < ae.length; p++)
|
|
600
|
+
g[de + p] = ae[p];
|
|
601
601
|
else
|
|
602
602
|
e.deps = g = ae;
|
|
603
|
-
if (!
|
|
604
|
-
for (p =
|
|
603
|
+
if (!Ue)
|
|
604
|
+
for (p = de; p < g.length; p++)
|
|
605
605
|
((A = g[p]).reactions ?? (A.reactions = [])).push(e);
|
|
606
|
-
} else g !== null &&
|
|
607
|
-
if (
|
|
606
|
+
} else g !== null && de < g.length && (gr(e, de), g.length = de);
|
|
607
|
+
if (pi() && ve !== null && !Ve && g !== null && (e.f & (ke | ut | ze)) === 0)
|
|
608
608
|
for (p = 0; p < /** @type {Source[]} */
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
609
|
+
ve.length; p++)
|
|
610
|
+
Ii(
|
|
611
|
+
ve[p],
|
|
612
612
|
/** @type {Effect} */
|
|
613
613
|
e
|
|
614
614
|
);
|
|
615
|
-
return l !== null && l !== e && (
|
|
616
|
-
|
|
615
|
+
return l !== null && l !== e && (hr++, ve !== null && (i === null ? i = ve : i.push(.../** @type {Source[]} */
|
|
616
|
+
ve))), m;
|
|
617
617
|
} finally {
|
|
618
|
-
ae = t,
|
|
618
|
+
ae = t, de = r, ve = i, V = l, Ue = n, ne = c, Fa(s), Ve = u, e.f ^= Pr;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Lo(e, t) {
|
|
622
622
|
let r = t.reactions;
|
|
623
623
|
if (r !== null) {
|
|
624
|
-
var i =
|
|
624
|
+
var i = Mn.call(r, e);
|
|
625
625
|
if (i !== -1) {
|
|
626
626
|
var l = r.length - 1;
|
|
627
627
|
l === 0 ? r = t.reactions = null : (r[i] = r[l], r.pop());
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
r === null && (t.f &
|
|
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)) && (
|
|
633
|
+
(ae === null || !ae.includes(t)) && (_e(t, ut), (t.f & (he | cr)) === 0 && (t.f ^= cr), mi(
|
|
634
634
|
/** @type {Derived} **/
|
|
635
635
|
t
|
|
636
|
-
),
|
|
636
|
+
), gr(
|
|
637
637
|
/** @type {Derived} **/
|
|
638
638
|
t,
|
|
639
639
|
0
|
|
640
640
|
));
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function gr(e, t) {
|
|
643
643
|
var r = e.deps;
|
|
644
644
|
if (r !== null)
|
|
645
645
|
for (var i = t; i < r.length; i++)
|
|
646
|
-
|
|
646
|
+
Lo(e, r[i]);
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function Yr(e) {
|
|
649
649
|
var t = e.f;
|
|
650
|
-
if ((t &
|
|
651
|
-
|
|
652
|
-
var r =
|
|
653
|
-
|
|
650
|
+
if ((t & br) === 0) {
|
|
651
|
+
_e(e, ce);
|
|
652
|
+
var r = j, i = ie, l = st;
|
|
653
|
+
j = e, st = !0;
|
|
654
654
|
try {
|
|
655
|
-
(t &
|
|
656
|
-
var n =
|
|
657
|
-
e.teardown = typeof n == "function" ? n : null, e.wv =
|
|
658
|
-
var
|
|
659
|
-
} catch (
|
|
660
|
-
|
|
655
|
+
(t & Mr) !== 0 ? $o(e) : $i(e), Si(e);
|
|
656
|
+
var n = Vi(e);
|
|
657
|
+
e.teardown = typeof n == "function" ? n : null, e.wv = xi;
|
|
658
|
+
var c = e.deps, s;
|
|
659
|
+
} catch (u) {
|
|
660
|
+
Ar(u, e, r, i || e.ctx);
|
|
661
661
|
} finally {
|
|
662
|
-
|
|
662
|
+
st = l, j = r;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function Eo() {
|
|
667
667
|
try {
|
|
668
|
-
|
|
668
|
+
io();
|
|
669
669
|
} catch (e) {
|
|
670
|
-
if (
|
|
671
|
-
|
|
670
|
+
if (dr !== null)
|
|
671
|
+
Ar(e, dr, null);
|
|
672
672
|
else
|
|
673
673
|
throw e;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
function
|
|
677
|
-
var e =
|
|
676
|
+
function ji() {
|
|
677
|
+
var e = st;
|
|
678
678
|
try {
|
|
679
679
|
var t = 0;
|
|
680
|
-
for (
|
|
681
|
-
t++ > 1e3 &&
|
|
682
|
-
var r =
|
|
683
|
-
|
|
680
|
+
for (st = !0; Ft.length > 0; ) {
|
|
681
|
+
t++ > 1e3 && Eo();
|
|
682
|
+
var r = Ft, i = r.length;
|
|
683
|
+
Ft = [];
|
|
684
684
|
for (var l = 0; l < i; l++) {
|
|
685
|
-
var n =
|
|
686
|
-
|
|
685
|
+
var n = To(r[l]);
|
|
686
|
+
xo(n);
|
|
687
687
|
}
|
|
688
|
-
|
|
688
|
+
Gt.clear();
|
|
689
689
|
}
|
|
690
690
|
} finally {
|
|
691
|
-
|
|
691
|
+
ur = !1, st = e, dr = null;
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function xo(e) {
|
|
695
695
|
var t = e.length;
|
|
696
696
|
if (t !== 0)
|
|
697
697
|
for (var r = 0; r < t; r++) {
|
|
698
698
|
var i = e[r];
|
|
699
|
-
if ((i.f & (
|
|
699
|
+
if ((i.f & (br | Et)) === 0)
|
|
700
700
|
try {
|
|
701
|
-
|
|
701
|
+
Zt(i) && (Yr(i), i.deps === null && i.first === null && i.nodes_start === null && (i.teardown === null ? zi(i) : i.fn = null));
|
|
702
702
|
} catch (l) {
|
|
703
|
-
|
|
703
|
+
Ar(l, i, null, i.ctx);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
|
|
709
|
-
for (var t =
|
|
707
|
+
function kr(e) {
|
|
708
|
+
ur || (ur = !0, queueMicrotask(ji));
|
|
709
|
+
for (var t = dr = e; t.parent !== null; ) {
|
|
710
710
|
t = t.parent;
|
|
711
711
|
var r = t.f;
|
|
712
|
-
if ((r & (
|
|
713
|
-
if ((r &
|
|
714
|
-
t.f ^=
|
|
712
|
+
if ((r & (ct | Ne)) !== 0) {
|
|
713
|
+
if ((r & ce) === 0) return;
|
|
714
|
+
t.f ^= ce;
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
|
-
|
|
717
|
+
Ft.push(t);
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function To(e) {
|
|
720
720
|
for (var t = [], r = e; r !== null; ) {
|
|
721
|
-
var i = r.f, l = (i & (Ne |
|
|
722
|
-
if (!n && (i &
|
|
723
|
-
if ((i &
|
|
721
|
+
var i = r.f, l = (i & (Ne | ct)) !== 0, n = l && (i & ce) !== 0;
|
|
722
|
+
if (!n && (i & Et) === 0) {
|
|
723
|
+
if ((i & ni) !== 0)
|
|
724
724
|
t.push(r);
|
|
725
725
|
else if (l)
|
|
726
|
-
r.f ^=
|
|
726
|
+
r.f ^= ce;
|
|
727
727
|
else
|
|
728
728
|
try {
|
|
729
|
-
|
|
730
|
-
} catch (
|
|
731
|
-
|
|
729
|
+
Zt(r) && Yr(r);
|
|
730
|
+
} catch (u) {
|
|
731
|
+
Ar(u, r, null, r.ctx);
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
if (
|
|
735
|
-
r =
|
|
733
|
+
var c = r.first;
|
|
734
|
+
if (c !== null) {
|
|
735
|
+
r = c;
|
|
736
736
|
continue;
|
|
737
737
|
}
|
|
738
738
|
}
|
|
@@ -742,25 +742,25 @@ function xo(e) {
|
|
|
742
742
|
}
|
|
743
743
|
return t;
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function w(e) {
|
|
746
746
|
for (var t; ; ) {
|
|
747
|
-
if (
|
|
747
|
+
if (eo(), Ft.length === 0)
|
|
748
748
|
return (
|
|
749
749
|
/** @type {T} */
|
|
750
750
|
t
|
|
751
751
|
);
|
|
752
|
-
|
|
752
|
+
ur = !0, ji();
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
async function
|
|
756
|
-
await Promise.resolve(),
|
|
755
|
+
async function Sr() {
|
|
756
|
+
await Promise.resolve(), w();
|
|
757
757
|
}
|
|
758
758
|
function o(e) {
|
|
759
|
-
var t = e.f, r = (t &
|
|
760
|
-
if (
|
|
759
|
+
var t = e.f, r = (t & ke) !== 0;
|
|
760
|
+
if (V !== null && !Ve) {
|
|
761
761
|
if (!(ne != null && ne.includes(e))) {
|
|
762
|
-
var i =
|
|
763
|
-
e.rv <
|
|
762
|
+
var i = V.deps;
|
|
763
|
+
e.rv < hr && (e.rv = hr, ae === null && i !== null && i[de] === e ? de++ : ae === null ? ae = [e] : (!Ue || !ae.includes(e)) && ae.push(e));
|
|
764
764
|
}
|
|
765
765
|
} else if (r && /** @type {Derived} */
|
|
766
766
|
e.deps === null && /** @type {Derived} */
|
|
@@ -769,32 +769,32 @@ function o(e) {
|
|
|
769
769
|
/** @type {Derived} */
|
|
770
770
|
e
|
|
771
771
|
), n = l.parent;
|
|
772
|
-
n !== null && (n.f &
|
|
772
|
+
n !== null && (n.f & he) === 0 && (l.f ^= he);
|
|
773
773
|
}
|
|
774
774
|
return r && (l = /** @type {Derived} */
|
|
775
|
-
e,
|
|
775
|
+
e, Zt(l) && Ai(l)), Wt && Gt.has(e) ? Gt.get(e) : e.v;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
778
|
-
var t =
|
|
777
|
+
function ft(e) {
|
|
778
|
+
var t = Ve;
|
|
779
779
|
try {
|
|
780
|
-
return
|
|
780
|
+
return Ve = !0, e();
|
|
781
781
|
} finally {
|
|
782
|
-
|
|
782
|
+
Ve = t;
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
|
-
const
|
|
786
|
-
function
|
|
787
|
-
e.f = e.f &
|
|
785
|
+
const Io = -7169;
|
|
786
|
+
function _e(e, t) {
|
|
787
|
+
e.f = e.f & Io | t;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
790
|
-
|
|
789
|
+
function Vo(e) {
|
|
790
|
+
j === null && V === null && ao(), V !== null && (V.f & he) !== 0 && j === null && ro(), Wt && to();
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function jo(e, t) {
|
|
793
793
|
var r = t.last;
|
|
794
794
|
r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
|
|
795
795
|
}
|
|
796
|
-
function
|
|
797
|
-
var l =
|
|
796
|
+
function dt(e, t, r, i = !0) {
|
|
797
|
+
var l = j, n = {
|
|
798
798
|
ctx: ie,
|
|
799
799
|
deps: null,
|
|
800
800
|
nodes_start: null,
|
|
@@ -812,28 +812,28 @@ function ut(e, t, r, i = !0) {
|
|
|
812
812
|
};
|
|
813
813
|
if (r)
|
|
814
814
|
try {
|
|
815
|
-
|
|
816
|
-
} catch (
|
|
817
|
-
throw
|
|
815
|
+
Yr(n), n.f |= Yn;
|
|
816
|
+
} catch (u) {
|
|
817
|
+
throw Ze(n), u;
|
|
818
818
|
}
|
|
819
|
-
else t !== null &&
|
|
820
|
-
var
|
|
821
|
-
if (!
|
|
819
|
+
else t !== null && kr(n);
|
|
820
|
+
var c = r && n.deps === null && n.first === null && n.nodes_start === null && n.teardown === null && (n.f & (oi | fr)) === 0;
|
|
821
|
+
if (!c && i && (l !== null && jo(n, l), V !== null && (V.f & ke) !== 0)) {
|
|
822
822
|
var s = (
|
|
823
823
|
/** @type {Derived} */
|
|
824
|
-
|
|
824
|
+
V
|
|
825
825
|
);
|
|
826
826
|
(s.effects ?? (s.effects = [])).push(n);
|
|
827
827
|
}
|
|
828
828
|
return n;
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
const t =
|
|
832
|
-
return
|
|
830
|
+
function Kr(e) {
|
|
831
|
+
const t = dt(vr, null, !1);
|
|
832
|
+
return _e(t, ce), t.teardown = e, t;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
835
|
-
|
|
836
|
-
var t =
|
|
834
|
+
function Nr(e) {
|
|
835
|
+
Vo();
|
|
836
|
+
var t = j !== null && (j.f & Ne) !== 0 && ie !== null && !ie.m;
|
|
837
837
|
if (t) {
|
|
838
838
|
var r = (
|
|
839
839
|
/** @type {ComponentContext} */
|
|
@@ -841,53 +841,53 @@ function zr(e) {
|
|
|
841
841
|
);
|
|
842
842
|
(r.e ?? (r.e = [])).push({
|
|
843
843
|
fn: e,
|
|
844
|
-
effect:
|
|
845
|
-
reaction:
|
|
844
|
+
effect: j,
|
|
845
|
+
reaction: V
|
|
846
846
|
});
|
|
847
847
|
} else {
|
|
848
|
-
var i =
|
|
848
|
+
var i = Jr(e);
|
|
849
849
|
return i;
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
function
|
|
853
|
-
const t =
|
|
852
|
+
function Ro(e) {
|
|
853
|
+
const t = dt(ct, e, !0);
|
|
854
854
|
return () => {
|
|
855
|
-
|
|
855
|
+
Ze(t);
|
|
856
856
|
};
|
|
857
857
|
}
|
|
858
|
-
function
|
|
859
|
-
const t =
|
|
858
|
+
function So(e) {
|
|
859
|
+
const t = dt(ct, e, !0);
|
|
860
860
|
return (r = {}) => new Promise((i) => {
|
|
861
|
-
r.outro ?
|
|
862
|
-
|
|
863
|
-
}) : (
|
|
861
|
+
r.outro ? qr(t, () => {
|
|
862
|
+
Ze(t), i(void 0);
|
|
863
|
+
}) : (Ze(t), i(void 0));
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
|
-
function Kr(e) {
|
|
867
|
-
return ut(ii, e, !1);
|
|
868
|
-
}
|
|
869
866
|
function Jr(e) {
|
|
870
|
-
return
|
|
867
|
+
return dt(ni, e, !1);
|
|
868
|
+
}
|
|
869
|
+
function Xr(e) {
|
|
870
|
+
return dt(vr, e, !0);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Ie(e, t = [], r = pr) {
|
|
873
873
|
const i = t.map(r);
|
|
874
|
-
return
|
|
874
|
+
return Ri(() => e(...i.map(o)));
|
|
875
875
|
}
|
|
876
|
-
function
|
|
877
|
-
return
|
|
876
|
+
function Ri(e, t = 0) {
|
|
877
|
+
return dt(vr | Mr | t, e, !0);
|
|
878
878
|
}
|
|
879
|
-
function
|
|
880
|
-
return
|
|
879
|
+
function Dr(e, t = !0) {
|
|
880
|
+
return dt(vr | Ne, e, !0, t);
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Si(e) {
|
|
883
883
|
var t = e.teardown;
|
|
884
884
|
if (t !== null) {
|
|
885
|
-
const r =
|
|
886
|
-
|
|
885
|
+
const r = Wt, i = V;
|
|
886
|
+
Ba(!0), Re(null);
|
|
887
887
|
try {
|
|
888
888
|
t.call(null);
|
|
889
889
|
} finally {
|
|
890
|
-
|
|
890
|
+
Ba(r), Re(i);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
893
|
}
|
|
@@ -895,50 +895,50 @@ function $i(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;
|
|
898
|
-
(r.f &
|
|
898
|
+
(r.f & ct) !== 0 ? r.parent = null : Ze(r, t), r = i;
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
901
|
function $o(e) {
|
|
902
902
|
for (var t = e.first; t !== null; ) {
|
|
903
903
|
var r = t.next;
|
|
904
|
-
(t.f & Ne) === 0 &&
|
|
904
|
+
(t.f & Ne) === 0 && Ze(t), t = r;
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
|
-
function
|
|
907
|
+
function Ze(e, t = !0) {
|
|
908
908
|
var r = !1;
|
|
909
|
-
(t || (e.f &
|
|
909
|
+
(t || (e.f & Kn) !== 0) && e.nodes_start !== null && (Pi(
|
|
910
910
|
e.nodes_start,
|
|
911
911
|
/** @type {TemplateNode} */
|
|
912
912
|
e.nodes_end
|
|
913
|
-
), r = !0), $i(e, t && !r),
|
|
913
|
+
), r = !0), $i(e, t && !r), gr(e, 0), _e(e, br);
|
|
914
914
|
var i = e.transitions;
|
|
915
915
|
if (i !== null)
|
|
916
916
|
for (const n of i)
|
|
917
917
|
n.stop();
|
|
918
|
-
|
|
918
|
+
Si(e);
|
|
919
919
|
var l = e.parent;
|
|
920
|
-
l !== null && l.first !== null &&
|
|
920
|
+
l !== null && l.first !== null && zi(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 Pi(e, t) {
|
|
923
923
|
for (; e !== null; ) {
|
|
924
924
|
var r = e === t ? null : (
|
|
925
925
|
/** @type {TemplateNode} */
|
|
926
|
-
/* @__PURE__ */
|
|
926
|
+
/* @__PURE__ */ Ye(e)
|
|
927
927
|
);
|
|
928
928
|
e.remove(), e = r;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function zi(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
|
-
function
|
|
935
|
+
function qr(e, t) {
|
|
936
936
|
var r = [];
|
|
937
|
-
|
|
938
|
-
|
|
937
|
+
Ni(e, r, !0), Po(r, () => {
|
|
938
|
+
Ze(e), t && t();
|
|
939
939
|
});
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function Po(e, t) {
|
|
942
942
|
var r = e.length;
|
|
943
943
|
if (r > 0) {
|
|
944
944
|
var i = () => --r || t();
|
|
@@ -947,47 +947,47 @@ function So(e, t) {
|
|
|
947
947
|
} else
|
|
948
948
|
t();
|
|
949
949
|
}
|
|
950
|
-
function
|
|
951
|
-
if ((e.f &
|
|
952
|
-
if (e.f ^=
|
|
953
|
-
for (const
|
|
954
|
-
(
|
|
950
|
+
function Ni(e, t, r) {
|
|
951
|
+
if ((e.f & Et) === 0) {
|
|
952
|
+
if (e.f ^= Et, e.transitions !== null)
|
|
953
|
+
for (const c of e.transitions)
|
|
954
|
+
(c.is_global || r) && t.push(c);
|
|
955
955
|
for (var i = e.first; i !== null; ) {
|
|
956
|
-
var l = i.next, n = (i.f &
|
|
957
|
-
|
|
956
|
+
var l = i.next, n = (i.f & Br) !== 0 || (i.f & Ne) !== 0;
|
|
957
|
+
Ni(i, t, n ? r : !1), i = l;
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
|
-
function
|
|
962
|
-
|
|
961
|
+
function Ga(e) {
|
|
962
|
+
Di(e, !0);
|
|
963
963
|
}
|
|
964
|
-
function
|
|
965
|
-
if ((e.f &
|
|
966
|
-
e.f ^=
|
|
964
|
+
function Di(e, t) {
|
|
965
|
+
if ((e.f & Et) !== 0) {
|
|
966
|
+
e.f ^= Et, (e.f & ce) === 0 && (e.f ^= ce), Zt(e) && (_e(e, ze), kr(e));
|
|
967
967
|
for (var r = e.first; r !== null; ) {
|
|
968
|
-
var i = r.next, l = (r.f &
|
|
969
|
-
|
|
968
|
+
var i = r.next, l = (r.f & Br) !== 0 || (r.f & Ne) !== 0;
|
|
969
|
+
Di(r, l ? t : !1), r = i;
|
|
970
970
|
}
|
|
971
971
|
if (e.transitions !== null)
|
|
972
972
|
for (const n of e.transitions)
|
|
973
973
|
(n.is_global || t) && n.in();
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
|
-
const
|
|
977
|
-
function
|
|
978
|
-
return
|
|
976
|
+
const zo = ["touchstart", "touchmove"];
|
|
977
|
+
function No(e) {
|
|
978
|
+
return zo.includes(e);
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function Do(e, t) {
|
|
981
981
|
if (t) {
|
|
982
982
|
const r = document.body;
|
|
983
|
-
e.autofocus = !0,
|
|
983
|
+
e.autofocus = !0, Ur(() => {
|
|
984
984
|
document.activeElement === r && e.focus();
|
|
985
985
|
});
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
|
-
let
|
|
989
|
-
function
|
|
990
|
-
|
|
988
|
+
let Wa = !1;
|
|
989
|
+
function qi() {
|
|
990
|
+
Wa || (Wa = !0, document.addEventListener(
|
|
991
991
|
"reset",
|
|
992
992
|
(e) => {
|
|
993
993
|
Promise.resolve().then(() => {
|
|
@@ -1005,56 +1005,56 @@ function Di() {
|
|
|
1005
1005
|
{ capture: !0 }
|
|
1006
1006
|
));
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1009
|
-
var t =
|
|
1010
|
-
|
|
1008
|
+
function Hi(e) {
|
|
1009
|
+
var t = V, r = j;
|
|
1010
|
+
Re(null), We(null);
|
|
1011
1011
|
try {
|
|
1012
1012
|
return e();
|
|
1013
1013
|
} finally {
|
|
1014
|
-
|
|
1014
|
+
Re(t), We(r);
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1018
|
-
e.addEventListener(t, () =>
|
|
1017
|
+
function qo(e, t, r, i = r) {
|
|
1018
|
+
e.addEventListener(t, () => Hi(r));
|
|
1019
1019
|
const l = e.__on_r;
|
|
1020
1020
|
l ? e.__on_r = () => {
|
|
1021
1021
|
l(), i(!0);
|
|
1022
|
-
} : e.__on_r = () => i(!0),
|
|
1022
|
+
} : e.__on_r = () => i(!0), qi();
|
|
1023
1023
|
}
|
|
1024
|
-
const
|
|
1025
|
-
function
|
|
1024
|
+
const Oi = /* @__PURE__ */ new Set(), Hr = /* @__PURE__ */ new Set();
|
|
1025
|
+
function Ho(e, t, r, i = {}) {
|
|
1026
1026
|
function l(n) {
|
|
1027
|
-
if (i.capture ||
|
|
1028
|
-
return
|
|
1027
|
+
if (i.capture || Ht.call(t, n), !n.cancelBubble)
|
|
1028
|
+
return Hi(() => r == null ? void 0 : r.call(this, n));
|
|
1029
1029
|
}
|
|
1030
|
-
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ?
|
|
1030
|
+
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Ur(() => {
|
|
1031
1031
|
t.addEventListener(e, l, i);
|
|
1032
1032
|
}) : t.addEventListener(e, l, i), l;
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1035
|
-
var n = { capture: i, passive: l },
|
|
1036
|
-
(t === document.body || t === window || t === document) &&
|
|
1037
|
-
t.removeEventListener(e,
|
|
1034
|
+
function Me(e, t, r, i, l) {
|
|
1035
|
+
var n = { capture: i, passive: l }, c = Ho(e, t, r, n);
|
|
1036
|
+
(t === document.body || t === window || t === document) && Kr(() => {
|
|
1037
|
+
t.removeEventListener(e, c, n);
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Oo(e) {
|
|
1041
1041
|
for (var t = 0; t < e.length; t++)
|
|
1042
|
-
|
|
1043
|
-
for (var r of
|
|
1042
|
+
Oi.add(e[t]);
|
|
1043
|
+
for (var r of Hr)
|
|
1044
1044
|
r(e);
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1047
|
-
var
|
|
1046
|
+
function Ht(e) {
|
|
1047
|
+
var X;
|
|
1048
1048
|
var t = this, r = (
|
|
1049
1049
|
/** @type {Node} */
|
|
1050
1050
|
t.ownerDocument
|
|
1051
|
-
), i = e.type, l = ((
|
|
1051
|
+
), i = e.type, l = ((X = e.composedPath) == null ? void 0 : X.call(e)) || [], n = (
|
|
1052
1052
|
/** @type {null | Element} */
|
|
1053
1053
|
l[0] || e.target
|
|
1054
|
-
),
|
|
1054
|
+
), c = 0, s = e.__root;
|
|
1055
1055
|
if (s) {
|
|
1056
|
-
var
|
|
1057
|
-
if (
|
|
1056
|
+
var u = l.indexOf(s);
|
|
1057
|
+
if (u !== -1 && (t === document || t === /** @type {any} */
|
|
1058
1058
|
window)) {
|
|
1059
1059
|
e.__root = t;
|
|
1060
1060
|
return;
|
|
@@ -1062,122 +1062,122 @@ function qt(e) {
|
|
|
1062
1062
|
var d = l.indexOf(t);
|
|
1063
1063
|
if (d === -1)
|
|
1064
1064
|
return;
|
|
1065
|
-
|
|
1065
|
+
u <= d && (c = u);
|
|
1066
1066
|
}
|
|
1067
1067
|
if (n = /** @type {Element} */
|
|
1068
|
-
l[
|
|
1069
|
-
|
|
1068
|
+
l[c] || e.target, n !== t) {
|
|
1069
|
+
Mt(e, "currentTarget", {
|
|
1070
1070
|
configurable: !0,
|
|
1071
1071
|
get() {
|
|
1072
1072
|
return n || r;
|
|
1073
1073
|
}
|
|
1074
1074
|
});
|
|
1075
|
-
var m =
|
|
1076
|
-
|
|
1075
|
+
var m = V, g = j;
|
|
1076
|
+
Re(null), We(null);
|
|
1077
1077
|
try {
|
|
1078
1078
|
for (var p, A = []; n !== null; ) {
|
|
1079
|
-
var
|
|
1079
|
+
var R = n.assignedSlot || n.parentNode || /** @type {any} */
|
|
1080
1080
|
n.host || null;
|
|
1081
1081
|
try {
|
|
1082
|
-
var
|
|
1083
|
-
if (
|
|
1082
|
+
var S = n["__" + i];
|
|
1083
|
+
if (S != null && (!/** @type {any} */
|
|
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 (
|
|
1088
|
-
var [
|
|
1089
|
-
|
|
1087
|
+
if (ri(S)) {
|
|
1088
|
+
var [O, ...T] = S;
|
|
1089
|
+
O.apply(n, [e, ...T]);
|
|
1090
1090
|
} else
|
|
1091
|
-
|
|
1092
|
-
} catch (
|
|
1093
|
-
p ? A.push(
|
|
1091
|
+
S.call(n, e);
|
|
1092
|
+
} catch (oe) {
|
|
1093
|
+
p ? A.push(oe) : p = oe;
|
|
1094
1094
|
}
|
|
1095
|
-
if (e.cancelBubble ||
|
|
1095
|
+
if (e.cancelBubble || R === t || R === null)
|
|
1096
1096
|
break;
|
|
1097
|
-
n =
|
|
1097
|
+
n = R;
|
|
1098
1098
|
}
|
|
1099
1099
|
if (p) {
|
|
1100
|
-
for (let
|
|
1100
|
+
for (let oe of A)
|
|
1101
1101
|
queueMicrotask(() => {
|
|
1102
|
-
throw
|
|
1102
|
+
throw oe;
|
|
1103
1103
|
});
|
|
1104
1104
|
throw p;
|
|
1105
1105
|
}
|
|
1106
1106
|
} finally {
|
|
1107
|
-
e.__root = t, delete e.currentTarget,
|
|
1107
|
+
e.__root = t, delete e.currentTarget, Re(m), We(g);
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Qr(e) {
|
|
1112
1112
|
var t = document.createElement("template");
|
|
1113
1113
|
return t.innerHTML = e, t.content;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function je(e, t) {
|
|
1116
1116
|
var r = (
|
|
1117
1117
|
/** @type {Effect} */
|
|
1118
|
-
|
|
1118
|
+
j
|
|
1119
1119
|
);
|
|
1120
1120
|
r.nodes_start === null && (r.nodes_start = e, r.nodes_end = t);
|
|
1121
1121
|
}
|
|
1122
1122
|
// @__NO_SIDE_EFFECTS__
|
|
1123
|
-
function
|
|
1124
|
-
var r = (t &
|
|
1123
|
+
function we(e, t) {
|
|
1124
|
+
var r = (t & vo) !== 0, i = (t & bo) !== 0, l, n = !e.startsWith("<!>");
|
|
1125
1125
|
return () => {
|
|
1126
|
-
if (
|
|
1127
|
-
return
|
|
1128
|
-
l === void 0 && (l =
|
|
1129
|
-
/* @__PURE__ */
|
|
1130
|
-
var
|
|
1126
|
+
if (D)
|
|
1127
|
+
return je(N, null), N;
|
|
1128
|
+
l === void 0 && (l = Qr(n ? e : "<!>" + e), r || (l = /** @type {Node} */
|
|
1129
|
+
/* @__PURE__ */ pe(l)));
|
|
1130
|
+
var c = (
|
|
1131
1131
|
/** @type {TemplateNode} */
|
|
1132
|
-
i ||
|
|
1132
|
+
i || wi ? document.importNode(l, !0) : l.cloneNode(!0)
|
|
1133
1133
|
);
|
|
1134
1134
|
if (r) {
|
|
1135
1135
|
var s = (
|
|
1136
1136
|
/** @type {TemplateNode} */
|
|
1137
|
-
/* @__PURE__ */
|
|
1138
|
-
),
|
|
1137
|
+
/* @__PURE__ */ pe(c)
|
|
1138
|
+
), u = (
|
|
1139
1139
|
/** @type {TemplateNode} */
|
|
1140
|
-
|
|
1140
|
+
c.lastChild
|
|
1141
1141
|
);
|
|
1142
|
-
|
|
1142
|
+
je(s, u);
|
|
1143
1143
|
} else
|
|
1144
|
-
|
|
1145
|
-
return
|
|
1144
|
+
je(c, c);
|
|
1145
|
+
return c;
|
|
1146
1146
|
};
|
|
1147
1147
|
}
|
|
1148
1148
|
// @__NO_SIDE_EFFECTS__
|
|
1149
|
-
function
|
|
1149
|
+
function _r(e, t, r = "svg") {
|
|
1150
1150
|
var i = !e.startsWith("<!>"), l = `<${r}>${i ? e : "<!>" + e}</${r}>`, n;
|
|
1151
1151
|
return () => {
|
|
1152
|
-
if (
|
|
1153
|
-
return
|
|
1152
|
+
if (D)
|
|
1153
|
+
return je(N, null), N;
|
|
1154
1154
|
if (!n) {
|
|
1155
|
-
var
|
|
1155
|
+
var c = (
|
|
1156
1156
|
/** @type {DocumentFragment} */
|
|
1157
|
-
|
|
1157
|
+
Qr(l)
|
|
1158
1158
|
), s = (
|
|
1159
1159
|
/** @type {Element} */
|
|
1160
|
-
/* @__PURE__ */
|
|
1160
|
+
/* @__PURE__ */ pe(c)
|
|
1161
1161
|
);
|
|
1162
1162
|
n = /** @type {Element} */
|
|
1163
|
-
/* @__PURE__ */
|
|
1163
|
+
/* @__PURE__ */ pe(s);
|
|
1164
1164
|
}
|
|
1165
|
-
var
|
|
1165
|
+
var u = (
|
|
1166
1166
|
/** @type {TemplateNode} */
|
|
1167
1167
|
n.cloneNode(!0)
|
|
1168
1168
|
);
|
|
1169
|
-
return
|
|
1169
|
+
return je(u, u), u;
|
|
1170
1170
|
};
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1173
|
-
if (
|
|
1174
|
-
return
|
|
1175
|
-
var e = document.createDocumentFragment(), t = document.createComment(""), r =
|
|
1176
|
-
return e.append(t, r),
|
|
1172
|
+
function rr() {
|
|
1173
|
+
if (D)
|
|
1174
|
+
return je(N, null), N;
|
|
1175
|
+
var e = document.createDocumentFragment(), t = document.createComment(""), r = yr();
|
|
1176
|
+
return e.append(t, r), je(t, r), e;
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1179
|
-
if (
|
|
1180
|
-
|
|
1178
|
+
function M(e, t) {
|
|
1179
|
+
if (D) {
|
|
1180
|
+
j.nodes_end = N, xt();
|
|
1181
1181
|
return;
|
|
1182
1182
|
}
|
|
1183
1183
|
e !== null && e.before(
|
|
@@ -1185,312 +1185,312 @@ function O(e, t) {
|
|
|
1185
1185
|
t
|
|
1186
1186
|
);
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Fo(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 Fi(e, t) {
|
|
1193
|
+
return Mi(e, t);
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1196
|
-
|
|
1197
|
-
const r = t.target, i =
|
|
1195
|
+
function Mo(e, t) {
|
|
1196
|
+
zr(), t.intro = t.intro ?? !1;
|
|
1197
|
+
const r = t.target, i = D, l = N;
|
|
1198
1198
|
try {
|
|
1199
1199
|
for (var n = (
|
|
1200
1200
|
/** @type {TemplateNode} */
|
|
1201
|
-
/* @__PURE__ */
|
|
1201
|
+
/* @__PURE__ */ pe(r)
|
|
1202
1202
|
); n && (n.nodeType !== 8 || /** @type {Comment} */
|
|
1203
|
-
n.data !==
|
|
1203
|
+
n.data !== Wr); )
|
|
1204
1204
|
n = /** @type {TemplateNode} */
|
|
1205
|
-
/* @__PURE__ */
|
|
1205
|
+
/* @__PURE__ */ Ye(n);
|
|
1206
1206
|
if (!n)
|
|
1207
|
-
throw
|
|
1208
|
-
|
|
1207
|
+
throw Lt;
|
|
1208
|
+
wt(!0), Ge(
|
|
1209
1209
|
/** @type {Comment} */
|
|
1210
1210
|
n
|
|
1211
|
-
),
|
|
1212
|
-
const
|
|
1213
|
-
if (
|
|
1214
|
-
|
|
1215
|
-
throw
|
|
1216
|
-
return
|
|
1217
|
-
|
|
1218
|
-
} catch (
|
|
1219
|
-
if (
|
|
1220
|
-
return t.recover === !1 &&
|
|
1221
|
-
throw
|
|
1211
|
+
), xt();
|
|
1212
|
+
const c = Mi(e, { ...t, anchor: n });
|
|
1213
|
+
if (N === null || N.nodeType !== 8 || /** @type {Comment} */
|
|
1214
|
+
N.data !== hi)
|
|
1215
|
+
throw mr(), Lt;
|
|
1216
|
+
return wt(!1), /** @type {Exports} */
|
|
1217
|
+
c;
|
|
1218
|
+
} catch (c) {
|
|
1219
|
+
if (c === Lt)
|
|
1220
|
+
return t.recover === !1 && no(), zr(), _o(r), wt(!1), Fi(e, t);
|
|
1221
|
+
throw c;
|
|
1222
1222
|
} finally {
|
|
1223
|
-
|
|
1223
|
+
wt(i), Ge(l);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
|
-
const
|
|
1227
|
-
function
|
|
1228
|
-
|
|
1229
|
-
var s = /* @__PURE__ */ new Set(),
|
|
1226
|
+
const kt = /* @__PURE__ */ new Map();
|
|
1227
|
+
function Mi(e, { target: t, anchor: r, props: i = {}, events: l, context: n, intro: c = !0 }) {
|
|
1228
|
+
zr();
|
|
1229
|
+
var s = /* @__PURE__ */ new Set(), u = (g) => {
|
|
1230
1230
|
for (var p = 0; p < g.length; p++) {
|
|
1231
1231
|
var A = g[p];
|
|
1232
1232
|
if (!s.has(A)) {
|
|
1233
1233
|
s.add(A);
|
|
1234
|
-
var
|
|
1235
|
-
t.addEventListener(A,
|
|
1236
|
-
var
|
|
1237
|
-
|
|
1234
|
+
var R = No(A);
|
|
1235
|
+
t.addEventListener(A, Ht, { passive: R });
|
|
1236
|
+
var S = kt.get(A);
|
|
1237
|
+
S === void 0 ? (document.addEventListener(A, Ht, { passive: R }), kt.set(A, 1)) : kt.set(A, S + 1);
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
1240
|
};
|
|
1241
|
-
|
|
1242
|
-
var d = void 0, m =
|
|
1243
|
-
var g = r ?? t.appendChild(
|
|
1244
|
-
return
|
|
1241
|
+
u(Bn(Oi)), Hr.add(u);
|
|
1242
|
+
var d = void 0, m = So(() => {
|
|
1243
|
+
var g = r ?? t.appendChild(yr());
|
|
1244
|
+
return Dr(() => {
|
|
1245
1245
|
if (n) {
|
|
1246
|
-
|
|
1246
|
+
vi({});
|
|
1247
1247
|
var p = (
|
|
1248
1248
|
/** @type {ComponentContext} */
|
|
1249
1249
|
ie
|
|
1250
1250
|
);
|
|
1251
1251
|
p.c = n;
|
|
1252
1252
|
}
|
|
1253
|
-
l && (i.$$events = l),
|
|
1253
|
+
l && (i.$$events = l), D && je(
|
|
1254
1254
|
/** @type {TemplateNode} */
|
|
1255
1255
|
g,
|
|
1256
1256
|
null
|
|
1257
|
-
), d = e(g, i) || {},
|
|
1257
|
+
), d = e(g, i) || {}, D && (j.nodes_end = N), n && bi();
|
|
1258
1258
|
}), () => {
|
|
1259
|
-
var
|
|
1259
|
+
var R;
|
|
1260
1260
|
for (var p of s) {
|
|
1261
|
-
t.removeEventListener(p,
|
|
1261
|
+
t.removeEventListener(p, Ht);
|
|
1262
1262
|
var A = (
|
|
1263
1263
|
/** @type {number} */
|
|
1264
|
-
|
|
1264
|
+
kt.get(p)
|
|
1265
1265
|
);
|
|
1266
|
-
--A === 0 ? (document.removeEventListener(p,
|
|
1266
|
+
--A === 0 ? (document.removeEventListener(p, Ht), kt.delete(p)) : kt.set(p, A);
|
|
1267
1267
|
}
|
|
1268
|
-
|
|
1268
|
+
Hr.delete(u), g !== r && ((R = g.parentNode) == null || R.removeChild(g));
|
|
1269
1269
|
};
|
|
1270
1270
|
});
|
|
1271
|
-
return
|
|
1271
|
+
return Or.set(d, m), d;
|
|
1272
1272
|
}
|
|
1273
|
-
let
|
|
1274
|
-
function
|
|
1275
|
-
const r =
|
|
1276
|
-
return r ? (
|
|
1273
|
+
let Or = /* @__PURE__ */ new WeakMap();
|
|
1274
|
+
function Bo(e, t) {
|
|
1275
|
+
const r = Or.get(e);
|
|
1276
|
+
return r ? (Or.delete(e), r(t)) : Promise.resolve();
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1279
|
-
|
|
1280
|
-
var l = e, n = null,
|
|
1278
|
+
function J(e, t, [r, i] = [0, 0]) {
|
|
1279
|
+
D && r === 0 && xt();
|
|
1280
|
+
var l = e, n = null, c = null, s = fe, u = r > 0 ? Br : 0, d = !1;
|
|
1281
1281
|
const m = (p, A = !0) => {
|
|
1282
1282
|
d = !0, g(A, p);
|
|
1283
1283
|
}, g = (p, A) => {
|
|
1284
1284
|
if (s === (s = p)) return;
|
|
1285
|
-
let
|
|
1286
|
-
if (
|
|
1285
|
+
let R = !1;
|
|
1286
|
+
if (D && i !== -1) {
|
|
1287
1287
|
if (r === 0) {
|
|
1288
|
-
const
|
|
1288
|
+
const O = (
|
|
1289
1289
|
/** @type {Comment} */
|
|
1290
1290
|
l.data
|
|
1291
1291
|
);
|
|
1292
|
-
|
|
1292
|
+
O === Wr ? i = 0 : O === di ? i = 1 / 0 : (i = parseInt(O.substring(1)), i !== i && (i = s ? 1 / 0 : -1));
|
|
1293
1293
|
}
|
|
1294
|
-
const
|
|
1295
|
-
!!s ===
|
|
1294
|
+
const S = i > r;
|
|
1295
|
+
!!s === S && (l = ko(), Ge(l), wt(!1), R = !0, i = -1);
|
|
1296
1296
|
}
|
|
1297
|
-
s ? (n ?
|
|
1298
|
-
|
|
1299
|
-
})) : (
|
|
1297
|
+
s ? (n ? Ga(n) : A && (n = Dr(() => A(l))), c && qr(c, () => {
|
|
1298
|
+
c = null;
|
|
1299
|
+
})) : (c ? Ga(c) : A && (c = Dr(() => A(l, [r + 1, i]))), n && qr(n, () => {
|
|
1300
1300
|
n = null;
|
|
1301
|
-
})),
|
|
1301
|
+
})), R && wt(!0);
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
Ri(() => {
|
|
1304
1304
|
d = !1, t(m), d || g(null, null);
|
|
1305
|
-
},
|
|
1305
|
+
}, u), D && (l = N);
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1308
|
-
var n = e,
|
|
1309
|
-
|
|
1307
|
+
function ot(e, t, r = !1, i = !1, l = !1) {
|
|
1308
|
+
var n = e, c = "";
|
|
1309
|
+
Ie(() => {
|
|
1310
1310
|
var s = (
|
|
1311
1311
|
/** @type {Effect} */
|
|
1312
|
-
|
|
1312
|
+
j
|
|
1313
1313
|
);
|
|
1314
|
-
if (
|
|
1315
|
-
|
|
1314
|
+
if (c === (c = t() ?? "")) {
|
|
1315
|
+
D && xt();
|
|
1316
1316
|
return;
|
|
1317
1317
|
}
|
|
1318
|
-
if (s.nodes_start !== null && (
|
|
1318
|
+
if (s.nodes_start !== null && (Pi(
|
|
1319
1319
|
s.nodes_start,
|
|
1320
1320
|
/** @type {TemplateNode} */
|
|
1321
1321
|
s.nodes_end
|
|
1322
|
-
), s.nodes_start = s.nodes_end = null),
|
|
1323
|
-
if (
|
|
1324
|
-
|
|
1325
|
-
for (var
|
|
1326
|
-
|
|
1327
|
-
d =
|
|
1328
|
-
/* @__PURE__ */
|
|
1329
|
-
if (
|
|
1330
|
-
throw
|
|
1331
|
-
|
|
1322
|
+
), s.nodes_start = s.nodes_end = null), c !== "") {
|
|
1323
|
+
if (D) {
|
|
1324
|
+
N.data;
|
|
1325
|
+
for (var u = xt(), d = u; u !== null && (u.nodeType !== 8 || /** @type {Comment} */
|
|
1326
|
+
u.data !== ""); )
|
|
1327
|
+
d = u, u = /** @type {TemplateNode} */
|
|
1328
|
+
/* @__PURE__ */ Ye(u);
|
|
1329
|
+
if (u === null)
|
|
1330
|
+
throw mr(), Lt;
|
|
1331
|
+
je(N, d), n = Ge(u);
|
|
1332
1332
|
return;
|
|
1333
1333
|
}
|
|
1334
|
-
var m =
|
|
1334
|
+
var m = c + "";
|
|
1335
1335
|
r ? m = `<svg>${m}</svg>` : i && (m = `<math>${m}</math>`);
|
|
1336
|
-
var g =
|
|
1336
|
+
var g = Qr(m);
|
|
1337
1337
|
if ((r || i) && (g = /** @type {Element} */
|
|
1338
|
-
/* @__PURE__ */
|
|
1338
|
+
/* @__PURE__ */ pe(g)), je(
|
|
1339
1339
|
/** @type {TemplateNode} */
|
|
1340
|
-
/* @__PURE__ */
|
|
1340
|
+
/* @__PURE__ */ pe(g),
|
|
1341
1341
|
/** @type {TemplateNode} */
|
|
1342
1342
|
g.lastChild
|
|
1343
1343
|
), r || i)
|
|
1344
|
-
for (; /* @__PURE__ */
|
|
1344
|
+
for (; /* @__PURE__ */ pe(g); )
|
|
1345
1345
|
n.before(
|
|
1346
1346
|
/** @type {Node} */
|
|
1347
|
-
/* @__PURE__ */
|
|
1347
|
+
/* @__PURE__ */ pe(g)
|
|
1348
1348
|
);
|
|
1349
1349
|
else
|
|
1350
1350
|
n.before(g);
|
|
1351
1351
|
}
|
|
1352
1352
|
});
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1354
|
+
function Uo(e, t, r, i, l) {
|
|
1355
1355
|
var s;
|
|
1356
|
-
|
|
1357
|
-
var n = (s = t.$$slots) == null ? void 0 : s[r],
|
|
1358
|
-
n === !0 && (n = t.children,
|
|
1356
|
+
D && xt();
|
|
1357
|
+
var n = (s = t.$$slots) == null ? void 0 : s[r], c = !1;
|
|
1358
|
+
n === !0 && (n = t.children, c = !0), n === void 0 || n(e, c ? () => i : i);
|
|
1359
1359
|
}
|
|
1360
|
-
const
|
|
1360
|
+
const Za = [...`
|
|
1361
1361
|
\r\f \v\uFEFF`];
|
|
1362
|
-
function
|
|
1362
|
+
function Go(e, t, r) {
|
|
1363
1363
|
var i = "" + e;
|
|
1364
1364
|
if (r) {
|
|
1365
1365
|
for (var l in r)
|
|
1366
1366
|
if (r[l])
|
|
1367
1367
|
i = i ? i + " " + l : l;
|
|
1368
1368
|
else if (i.length)
|
|
1369
|
-
for (var n = l.length,
|
|
1370
|
-
var s =
|
|
1371
|
-
(
|
|
1369
|
+
for (var n = l.length, c = 0; (c = i.indexOf(l, c)) >= 0; ) {
|
|
1370
|
+
var s = c + n;
|
|
1371
|
+
(c === 0 || Za.includes(i[c - 1])) && (s === i.length || Za.includes(i[s])) ? i = (c === 0 ? "" : i.substring(0, c)) + i.substring(s + 1) : c = s;
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
return i === "" ? null : i;
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1377
|
-
var
|
|
1378
|
-
if (
|
|
1379
|
-
var s =
|
|
1380
|
-
(!
|
|
1376
|
+
function Wo(e, t, r, i, l, n) {
|
|
1377
|
+
var c = e.__className;
|
|
1378
|
+
if (D || c !== r || c === void 0) {
|
|
1379
|
+
var s = Go(r, i, n);
|
|
1380
|
+
(!D || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : e.className = s), e.__className = r;
|
|
1381
1381
|
} else if (n && l !== n)
|
|
1382
|
-
for (var
|
|
1383
|
-
var d = !!n[
|
|
1384
|
-
(l == null || d !== !!l[
|
|
1382
|
+
for (var u in n) {
|
|
1383
|
+
var d = !!n[u];
|
|
1384
|
+
(l == null || d !== !!l[u]) && e.classList.toggle(u, d);
|
|
1385
1385
|
}
|
|
1386
1386
|
return n;
|
|
1387
1387
|
}
|
|
1388
|
-
const
|
|
1389
|
-
function
|
|
1390
|
-
if (
|
|
1388
|
+
const Zo = Symbol("is custom element"), Yo = Symbol("is html");
|
|
1389
|
+
function Ya(e) {
|
|
1390
|
+
if (D) {
|
|
1391
1391
|
var t = !1, r = () => {
|
|
1392
1392
|
if (!t) {
|
|
1393
1393
|
if (t = !0, e.hasAttribute("value")) {
|
|
1394
1394
|
var i = e.value;
|
|
1395
|
-
|
|
1395
|
+
I(e, "value", null), e.value = i;
|
|
1396
1396
|
}
|
|
1397
1397
|
if (e.hasAttribute("checked")) {
|
|
1398
1398
|
var l = e.checked;
|
|
1399
|
-
|
|
1399
|
+
I(e, "checked", null), e.checked = l;
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
|
-
e.__on_r = r,
|
|
1403
|
+
e.__on_r = r, Qn(r), qi();
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1407
|
-
var r =
|
|
1406
|
+
function Ko(e, t) {
|
|
1407
|
+
var r = Bi(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
|
-
function
|
|
1414
|
-
var l =
|
|
1415
|
-
|
|
1413
|
+
function I(e, t, r, i) {
|
|
1414
|
+
var l = Bi(e);
|
|
1415
|
+
D && (l[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || l[t] !== (l[t] = r) && (t === "loading" && (e[Jn] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Jo(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Bi(e) {
|
|
1418
1418
|
return (
|
|
1419
1419
|
/** @type {Record<string | symbol, unknown>} **/
|
|
1420
1420
|
// @ts-expect-error
|
|
1421
1421
|
e.__attributes ?? (e.__attributes = {
|
|
1422
|
-
[
|
|
1423
|
-
[
|
|
1422
|
+
[Zo]: e.nodeName.includes("-"),
|
|
1423
|
+
[Yo]: e.namespaceURI === po
|
|
1424
1424
|
})
|
|
1425
1425
|
);
|
|
1426
1426
|
}
|
|
1427
|
-
var
|
|
1428
|
-
function
|
|
1429
|
-
var t =
|
|
1427
|
+
var Ka = /* @__PURE__ */ new Map();
|
|
1428
|
+
function Jo(e) {
|
|
1429
|
+
var t = Ka.get(e.nodeName);
|
|
1430
1430
|
if (t) return t;
|
|
1431
|
-
|
|
1431
|
+
Ka.set(e.nodeName, t = []);
|
|
1432
1432
|
for (var r, i = e, l = Element.prototype; l !== i; ) {
|
|
1433
|
-
r =
|
|
1433
|
+
r = Un(i);
|
|
1434
1434
|
for (var n in r)
|
|
1435
1435
|
r[n].set && t.push(n);
|
|
1436
|
-
i =
|
|
1436
|
+
i = ai(i);
|
|
1437
1437
|
}
|
|
1438
1438
|
return t;
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1441
|
-
|
|
1440
|
+
function Xo(e, t, r = t) {
|
|
1441
|
+
qo(e, "change", (i) => {
|
|
1442
1442
|
var l = i ? e.defaultChecked : e.checked;
|
|
1443
1443
|
r(l);
|
|
1444
1444
|
}), // If we are hydrating and the value has since changed,
|
|
1445
1445
|
// then use the update value from the input instead.
|
|
1446
|
-
(
|
|
1447
|
-
|
|
1446
|
+
(D && e.defaultChecked !== e.checked || // If defaultChecked is set, then checked == defaultChecked
|
|
1447
|
+
ft(t) == null) && r(e.checked), Xr(() => {
|
|
1448
1448
|
var i = t();
|
|
1449
1449
|
e.checked = !!i;
|
|
1450
1450
|
});
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1453
|
-
return e === t || (e == null ? void 0 : e[
|
|
1452
|
+
function Ja(e, t) {
|
|
1453
|
+
return e === t || (e == null ? void 0 : e[Ot]) === t;
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1456
|
-
return
|
|
1455
|
+
function ar(e = {}, t, r, i) {
|
|
1456
|
+
return Jr(() => {
|
|
1457
1457
|
var l, n;
|
|
1458
|
-
return
|
|
1459
|
-
l = n, n = [],
|
|
1460
|
-
e !== r(...n) && (t(e, ...n), l &&
|
|
1458
|
+
return Xr(() => {
|
|
1459
|
+
l = n, n = [], ft(() => {
|
|
1460
|
+
e !== r(...n) && (t(e, ...n), l && Ja(r(...l), e) && t(null, ...l));
|
|
1461
1461
|
});
|
|
1462
1462
|
}), () => {
|
|
1463
|
-
|
|
1464
|
-
n &&
|
|
1463
|
+
Ur(() => {
|
|
1464
|
+
n && Ja(r(...n), e) && t(null, ...n);
|
|
1465
1465
|
});
|
|
1466
1466
|
};
|
|
1467
1467
|
}), e;
|
|
1468
1468
|
}
|
|
1469
|
-
let
|
|
1470
|
-
function
|
|
1469
|
+
let ir = !1, Fr = Symbol();
|
|
1470
|
+
function Qo(e, t, r) {
|
|
1471
1471
|
const i = r[t] ?? (r[t] = {
|
|
1472
1472
|
store: null,
|
|
1473
|
-
source: /* @__PURE__ */
|
|
1474
|
-
unsubscribe:
|
|
1473
|
+
source: /* @__PURE__ */ Zr(void 0),
|
|
1474
|
+
unsubscribe: Ct
|
|
1475
1475
|
});
|
|
1476
|
-
if (i.store !== e && !(
|
|
1476
|
+
if (i.store !== e && !(Fr in r))
|
|
1477
1477
|
if (i.unsubscribe(), i.store = e ?? null, e == null)
|
|
1478
|
-
i.source.v = void 0, i.unsubscribe =
|
|
1478
|
+
i.source.v = void 0, i.unsubscribe = Ct;
|
|
1479
1479
|
else {
|
|
1480
1480
|
var l = !0;
|
|
1481
|
-
i.unsubscribe =
|
|
1481
|
+
i.unsubscribe = Wi(e, (n) => {
|
|
1482
1482
|
l ? i.source.v = n : y(i.source, n);
|
|
1483
1483
|
}), l = !1;
|
|
1484
1484
|
}
|
|
1485
|
-
return e &&
|
|
1485
|
+
return e && Fr in r ? lr(e) : o(i.source);
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function el() {
|
|
1488
1488
|
const e = {};
|
|
1489
1489
|
function t() {
|
|
1490
|
-
|
|
1490
|
+
Kr(() => {
|
|
1491
1491
|
for (var r in e)
|
|
1492
1492
|
e[r].unsubscribe();
|
|
1493
|
-
|
|
1493
|
+
Mt(e, Fr, {
|
|
1494
1494
|
enumerable: !1,
|
|
1495
1495
|
value: !0
|
|
1496
1496
|
});
|
|
@@ -1498,72 +1498,72 @@ function Qo() {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
return [e, t];
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1502
|
-
var t =
|
|
1501
|
+
function tl(e) {
|
|
1502
|
+
var t = ir;
|
|
1503
1503
|
try {
|
|
1504
|
-
return
|
|
1504
|
+
return ir = !1, [e(), ir];
|
|
1505
1505
|
} finally {
|
|
1506
|
-
|
|
1506
|
+
ir = t;
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function Xa(e) {
|
|
1510
1510
|
var t;
|
|
1511
1511
|
return ((t = e.ctx) == null ? void 0 : t.d) ?? !1;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1514
|
-
var
|
|
1515
|
-
var l = (r &
|
|
1516
|
-
|
|
1513
|
+
function C(e, t, r, i) {
|
|
1514
|
+
var Se;
|
|
1515
|
+
var l = (r & co) !== 0, n = !0, c = (r & ho) !== 0, s = (r & go) !== 0, u = !1, d;
|
|
1516
|
+
c ? [d, u] = tl(() => (
|
|
1517
1517
|
/** @type {V} */
|
|
1518
1518
|
e[t]
|
|
1519
1519
|
)) : d = /** @type {V} */
|
|
1520
1520
|
e[t];
|
|
1521
|
-
var m =
|
|
1521
|
+
var m = Ot in e || li in e, g = c && (((Se = lt(e, t)) == null ? void 0 : Se.set) ?? (m && t in e && ((F) => e[t] = F))) || void 0, p = (
|
|
1522
1522
|
/** @type {V} */
|
|
1523
1523
|
i
|
|
1524
|
-
), A = !0,
|
|
1524
|
+
), A = !0, R = !1, S = () => (R = !0, A && (A = !1, s ? p = ft(
|
|
1525
1525
|
/** @type {() => V} */
|
|
1526
1526
|
i
|
|
1527
1527
|
) : p = /** @type {V} */
|
|
1528
1528
|
i), p);
|
|
1529
|
-
d === void 0 && i !== void 0 && (g && n &&
|
|
1530
|
-
var
|
|
1531
|
-
if (
|
|
1529
|
+
d === void 0 && i !== void 0 && (g && n && oo(), d = S(), g && g(d));
|
|
1530
|
+
var O;
|
|
1531
|
+
if (O = () => {
|
|
1532
1532
|
var F = (
|
|
1533
1533
|
/** @type {V} */
|
|
1534
1534
|
e[t]
|
|
1535
1535
|
);
|
|
1536
|
-
return F === void 0 ?
|
|
1537
|
-
}, (r &
|
|
1538
|
-
return
|
|
1536
|
+
return F === void 0 ? S() : (A = !0, R = !1, F);
|
|
1537
|
+
}, (r & uo) === 0)
|
|
1538
|
+
return O;
|
|
1539
1539
|
if (g) {
|
|
1540
|
-
var
|
|
1541
|
-
return function(F,
|
|
1542
|
-
return arguments.length > 0 ? ((!
|
|
1540
|
+
var T = e.$$legacy;
|
|
1541
|
+
return function(F, Ce) {
|
|
1542
|
+
return arguments.length > 0 ? ((!Ce || T || u) && g(Ce ? O() : F), F) : O();
|
|
1543
1543
|
};
|
|
1544
1544
|
}
|
|
1545
|
-
var
|
|
1546
|
-
var F =
|
|
1547
|
-
return
|
|
1545
|
+
var X = !1, oe = /* @__PURE__ */ Zr(d), Q = /* @__PURE__ */ pr(() => {
|
|
1546
|
+
var F = O(), Ce = o(oe);
|
|
1547
|
+
return X ? (X = !1, Ce) : oe.v = F;
|
|
1548
1548
|
});
|
|
1549
|
-
return
|
|
1549
|
+
return c && o(Q), l || (Q.equals = Gr), function(F, Ce) {
|
|
1550
1550
|
if (arguments.length > 0) {
|
|
1551
|
-
const
|
|
1552
|
-
if (!
|
|
1553
|
-
if (
|
|
1551
|
+
const De = Ce ? o(Q) : c ? Be(F) : F;
|
|
1552
|
+
if (!Q.equals(De)) {
|
|
1553
|
+
if (X = !0, y(oe, De), R && p !== void 0 && (p = De), Xa(Q))
|
|
1554
1554
|
return F;
|
|
1555
|
-
|
|
1555
|
+
ft(() => o(Q));
|
|
1556
1556
|
}
|
|
1557
1557
|
return F;
|
|
1558
1558
|
}
|
|
1559
|
-
return
|
|
1559
|
+
return Xa(Q) ? Q.v : o(Q);
|
|
1560
1560
|
};
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1563
|
-
return new
|
|
1562
|
+
function rl(e) {
|
|
1563
|
+
return new al(e);
|
|
1564
1564
|
}
|
|
1565
|
-
var Pe,
|
|
1566
|
-
class
|
|
1565
|
+
var Pe, be;
|
|
1566
|
+
class al {
|
|
1567
1567
|
/**
|
|
1568
1568
|
* @param {ComponentConstructorOptions & {
|
|
1569
1569
|
* component: any;
|
|
@@ -1571,57 +1571,57 @@ class rl {
|
|
|
1571
1571
|
*/
|
|
1572
1572
|
constructor(t) {
|
|
1573
1573
|
/** @type {any} */
|
|
1574
|
-
|
|
1574
|
+
Vr(this, Pe);
|
|
1575
1575
|
/** @type {Record<string, any>} */
|
|
1576
|
-
|
|
1576
|
+
Vr(this, be);
|
|
1577
1577
|
var n;
|
|
1578
|
-
var r = /* @__PURE__ */ new Map(), i = (
|
|
1579
|
-
var
|
|
1580
|
-
return r.set(
|
|
1578
|
+
var r = /* @__PURE__ */ new Map(), i = (c, s) => {
|
|
1579
|
+
var u = /* @__PURE__ */ Zr(s);
|
|
1580
|
+
return r.set(c, u), u;
|
|
1581
1581
|
};
|
|
1582
1582
|
const l = new Proxy(
|
|
1583
1583
|
{ ...t.props || {}, $$events: {} },
|
|
1584
1584
|
{
|
|
1585
|
-
get(
|
|
1586
|
-
return o(r.get(s) ?? i(s, Reflect.get(
|
|
1585
|
+
get(c, s) {
|
|
1586
|
+
return o(r.get(s) ?? i(s, Reflect.get(c, s)));
|
|
1587
1587
|
},
|
|
1588
|
-
has(
|
|
1589
|
-
return s ===
|
|
1588
|
+
has(c, s) {
|
|
1589
|
+
return s === li ? !0 : (o(r.get(s) ?? i(s, Reflect.get(c, s))), Reflect.has(c, s));
|
|
1590
1590
|
},
|
|
1591
|
-
set(
|
|
1592
|
-
return y(r.get(s) ?? i(s,
|
|
1591
|
+
set(c, s, u) {
|
|
1592
|
+
return y(r.get(s) ?? i(s, u), u), Reflect.set(c, s, u);
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
1595
|
);
|
|
1596
|
-
|
|
1596
|
+
jr(this, be, (t.hydrate ? Mo : Fi)(t.component, {
|
|
1597
1597
|
target: t.target,
|
|
1598
1598
|
anchor: t.anchor,
|
|
1599
1599
|
props: l,
|
|
1600
1600
|
context: t.context,
|
|
1601
1601
|
intro: t.intro ?? !1,
|
|
1602
1602
|
recover: t.recover
|
|
1603
|
-
})), (!((n = t == null ? void 0 : t.props) != null && n.$$host) || t.sync === !1) &&
|
|
1604
|
-
for (const
|
|
1605
|
-
|
|
1603
|
+
})), (!((n = t == null ? void 0 : t.props) != null && n.$$host) || t.sync === !1) && w(), jr(this, Pe, l.$$events);
|
|
1604
|
+
for (const c of Object.keys(se(this, be)))
|
|
1605
|
+
c === "$set" || c === "$destroy" || c === "$on" || Mt(this, c, {
|
|
1606
1606
|
get() {
|
|
1607
|
-
return se(this,
|
|
1607
|
+
return se(this, be)[c];
|
|
1608
1608
|
},
|
|
1609
1609
|
/** @param {any} value */
|
|
1610
1610
|
set(s) {
|
|
1611
|
-
se(this,
|
|
1611
|
+
se(this, be)[c] = s;
|
|
1612
1612
|
},
|
|
1613
1613
|
enumerable: !0
|
|
1614
1614
|
});
|
|
1615
|
-
se(this,
|
|
1616
|
-
(
|
|
1617
|
-
Object.assign(l,
|
|
1618
|
-
}, se(this,
|
|
1619
|
-
|
|
1615
|
+
se(this, be).$set = /** @param {Record<string, any>} next */
|
|
1616
|
+
(c) => {
|
|
1617
|
+
Object.assign(l, c);
|
|
1618
|
+
}, se(this, be).$destroy = () => {
|
|
1619
|
+
Bo(se(this, be));
|
|
1620
1620
|
};
|
|
1621
1621
|
}
|
|
1622
1622
|
/** @param {Record<string, any>} props */
|
|
1623
1623
|
$set(t) {
|
|
1624
|
-
se(this,
|
|
1624
|
+
se(this, be).$set(t);
|
|
1625
1625
|
}
|
|
1626
1626
|
/**
|
|
1627
1627
|
* @param {string} event
|
|
@@ -1639,12 +1639,12 @@ class rl {
|
|
|
1639
1639
|
};
|
|
1640
1640
|
}
|
|
1641
1641
|
$destroy() {
|
|
1642
|
-
se(this,
|
|
1642
|
+
se(this, be).$destroy();
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
|
-
Pe = new WeakMap(),
|
|
1646
|
-
let
|
|
1647
|
-
typeof HTMLElement == "function" && (
|
|
1645
|
+
Pe = new WeakMap(), be = new WeakMap();
|
|
1646
|
+
let Ui;
|
|
1647
|
+
typeof HTMLElement == "function" && (Ui = class extends HTMLElement {
|
|
1648
1648
|
/**
|
|
1649
1649
|
* @param {*} $$componentCtor
|
|
1650
1650
|
* @param {*} $$slots
|
|
@@ -1653,25 +1653,25 @@ typeof HTMLElement == "function" && (Bi = class extends HTMLElement {
|
|
|
1653
1653
|
constructor(t, r, i) {
|
|
1654
1654
|
super();
|
|
1655
1655
|
/** The Svelte component constructor */
|
|
1656
|
-
|
|
1656
|
+
Ae(this, "$$ctor");
|
|
1657
1657
|
/** Slots */
|
|
1658
|
-
|
|
1658
|
+
Ae(this, "$$s");
|
|
1659
1659
|
/** @type {any} The Svelte component instance */
|
|
1660
|
-
|
|
1660
|
+
Ae(this, "$$c");
|
|
1661
1661
|
/** Whether or not the custom element is connected */
|
|
1662
|
-
|
|
1662
|
+
Ae(this, "$$cn", !1);
|
|
1663
1663
|
/** @type {Record<string, any>} Component props data */
|
|
1664
|
-
|
|
1664
|
+
Ae(this, "$$d", {});
|
|
1665
1665
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
1666
|
-
|
|
1666
|
+
Ae(this, "$$r", !1);
|
|
1667
1667
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
1668
|
-
|
|
1668
|
+
Ae(this, "$$p_d", {});
|
|
1669
1669
|
/** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
|
|
1670
|
-
|
|
1670
|
+
Ae(this, "$$l", {});
|
|
1671
1671
|
/** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
|
|
1672
|
-
|
|
1672
|
+
Ae(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
1673
1673
|
/** @type {any} The managed render effect for reflecting attributes */
|
|
1674
|
-
|
|
1674
|
+
Ae(this, "$$me");
|
|
1675
1675
|
this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
|
|
1676
1676
|
}
|
|
1677
1677
|
/**
|
|
@@ -1701,22 +1701,22 @@ typeof HTMLElement == "function" && (Bi = class extends HTMLElement {
|
|
|
1701
1701
|
if (this.$$cn = !0, !this.$$c) {
|
|
1702
1702
|
let t = function(l) {
|
|
1703
1703
|
return (n) => {
|
|
1704
|
-
const
|
|
1705
|
-
l !== "default" && (
|
|
1704
|
+
const c = document.createElement("slot");
|
|
1705
|
+
l !== "default" && (c.name = l), M(n, c);
|
|
1706
1706
|
};
|
|
1707
1707
|
};
|
|
1708
1708
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
1709
1709
|
return;
|
|
1710
|
-
const r = {}, i =
|
|
1710
|
+
const r = {}, i = il(this);
|
|
1711
1711
|
for (const l of this.$$s)
|
|
1712
1712
|
l in i && (l === "default" && !this.$$d.children ? (this.$$d.children = t(l), r.default = !0) : r[l] = t(l));
|
|
1713
1713
|
for (const l of this.attributes) {
|
|
1714
1714
|
const n = this.$$g_p(l.name);
|
|
1715
|
-
n in this.$$d || (this.$$d[n] =
|
|
1715
|
+
n in this.$$d || (this.$$d[n] = or(n, l.value, this.$$p_d, "toProp"));
|
|
1716
1716
|
}
|
|
1717
1717
|
for (const l in this.$$p_d)
|
|
1718
1718
|
!(l in this.$$d) && this[l] !== void 0 && (this.$$d[l] = this[l], delete this[l]);
|
|
1719
|
-
this.$$c =
|
|
1719
|
+
this.$$c = rl({
|
|
1720
1720
|
component: this.$$ctor,
|
|
1721
1721
|
target: this.shadowRoot || this,
|
|
1722
1722
|
props: {
|
|
@@ -1724,28 +1724,28 @@ typeof HTMLElement == "function" && (Bi = class extends HTMLElement {
|
|
|
1724
1724
|
$$slots: r,
|
|
1725
1725
|
$$host: this
|
|
1726
1726
|
}
|
|
1727
|
-
}), this.$$me =
|
|
1728
|
-
|
|
1727
|
+
}), this.$$me = Ro(() => {
|
|
1728
|
+
Xr(() => {
|
|
1729
1729
|
var l;
|
|
1730
1730
|
this.$$r = !0;
|
|
1731
|
-
for (const n of
|
|
1731
|
+
for (const n of sr(this.$$c)) {
|
|
1732
1732
|
if (!((l = this.$$p_d[n]) != null && l.reflect)) continue;
|
|
1733
1733
|
this.$$d[n] = this.$$c[n];
|
|
1734
|
-
const
|
|
1734
|
+
const c = or(
|
|
1735
1735
|
n,
|
|
1736
1736
|
this.$$d[n],
|
|
1737
1737
|
this.$$p_d,
|
|
1738
1738
|
"toAttribute"
|
|
1739
1739
|
);
|
|
1740
|
-
|
|
1740
|
+
c == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, c);
|
|
1741
1741
|
}
|
|
1742
1742
|
this.$$r = !1;
|
|
1743
1743
|
});
|
|
1744
1744
|
});
|
|
1745
1745
|
for (const l in this.$$l)
|
|
1746
1746
|
for (const n of this.$$l[l]) {
|
|
1747
|
-
const
|
|
1748
|
-
this.$$l_u.set(n,
|
|
1747
|
+
const c = this.$$c.$on(l, n);
|
|
1748
|
+
this.$$l_u.set(n, c);
|
|
1749
1749
|
}
|
|
1750
1750
|
this.$$l = {};
|
|
1751
1751
|
}
|
|
@@ -1759,7 +1759,7 @@ typeof HTMLElement == "function" && (Bi = class extends HTMLElement {
|
|
|
1759
1759
|
*/
|
|
1760
1760
|
attributeChangedCallback(t, r, i) {
|
|
1761
1761
|
var l;
|
|
1762
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
1762
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = or(t, i, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
|
|
1763
1763
|
}
|
|
1764
1764
|
disconnectedCallback() {
|
|
1765
1765
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -1770,12 +1770,12 @@ typeof HTMLElement == "function" && (Bi = class extends HTMLElement {
|
|
|
1770
1770
|
* @param {string} attribute_name
|
|
1771
1771
|
*/
|
|
1772
1772
|
$$g_p(t) {
|
|
1773
|
-
return
|
|
1773
|
+
return sr(this.$$p_d).find(
|
|
1774
1774
|
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
1775
1775
|
) || t;
|
|
1776
1776
|
}
|
|
1777
1777
|
});
|
|
1778
|
-
function
|
|
1778
|
+
function or(e, t, r, i) {
|
|
1779
1779
|
var n;
|
|
1780
1780
|
const l = (n = r[e]) == null ? void 0 : n.type;
|
|
1781
1781
|
if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
@@ -1806,7 +1806,7 @@ function nr(e, t, r, i) {
|
|
|
1806
1806
|
return t;
|
|
1807
1807
|
}
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function il(e) {
|
|
1810
1810
|
const t = {};
|
|
1811
1811
|
return e.childNodes.forEach((r) => {
|
|
1812
1812
|
t[
|
|
@@ -1815,58 +1815,58 @@ function al(e) {
|
|
|
1815
1815
|
] = !0;
|
|
1816
1816
|
}), t;
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1819
|
-
let
|
|
1818
|
+
function nl(e, t, r, i, l, n) {
|
|
1819
|
+
let c = class extends Ui {
|
|
1820
1820
|
constructor() {
|
|
1821
1821
|
super(e, r, l), this.$$p_d = t;
|
|
1822
1822
|
}
|
|
1823
1823
|
static get observedAttributes() {
|
|
1824
|
-
return
|
|
1824
|
+
return sr(t).map(
|
|
1825
1825
|
(s) => (t[s].attribute || s).toLowerCase()
|
|
1826
1826
|
);
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
|
-
return
|
|
1830
|
-
|
|
1829
|
+
return sr(t).forEach((s) => {
|
|
1830
|
+
Mt(c.prototype, s, {
|
|
1831
1831
|
get() {
|
|
1832
1832
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
1833
1833
|
},
|
|
1834
|
-
set(
|
|
1834
|
+
set(u) {
|
|
1835
1835
|
var g;
|
|
1836
|
-
|
|
1836
|
+
u = or(s, u, t), this.$$d[s] = u;
|
|
1837
1837
|
var d = this.$$c;
|
|
1838
1838
|
if (d) {
|
|
1839
|
-
var m = (g =
|
|
1840
|
-
m ? d[s] =
|
|
1839
|
+
var m = (g = lt(d, s)) == null ? void 0 : g.get;
|
|
1840
|
+
m ? d[s] = u : d.$set({ [s]: u });
|
|
1841
1841
|
}
|
|
1842
1842
|
}
|
|
1843
1843
|
});
|
|
1844
1844
|
}), i.forEach((s) => {
|
|
1845
|
-
|
|
1845
|
+
Mt(c.prototype, s, {
|
|
1846
1846
|
get() {
|
|
1847
|
-
var
|
|
1848
|
-
return (
|
|
1847
|
+
var u;
|
|
1848
|
+
return (u = this.$$c) == null ? void 0 : u[s];
|
|
1849
1849
|
}
|
|
1850
1850
|
});
|
|
1851
1851
|
}), e.element = /** @type {any} */
|
|
1852
|
-
|
|
1852
|
+
c, c;
|
|
1853
1853
|
}
|
|
1854
|
-
function
|
|
1855
|
-
ie === null &&
|
|
1856
|
-
const t =
|
|
1854
|
+
function Gi(e) {
|
|
1855
|
+
ie === null && gi(), Nr(() => {
|
|
1856
|
+
const t = ft(e);
|
|
1857
1857
|
if (typeof t == "function") return (
|
|
1858
1858
|
/** @type {() => void} */
|
|
1859
1859
|
t
|
|
1860
1860
|
);
|
|
1861
1861
|
});
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1864
|
-
ie === null &&
|
|
1863
|
+
function ol(e) {
|
|
1864
|
+
ie === null && gi(), Gi(() => () => ft(e));
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function Wi(e, t, r) {
|
|
1867
1867
|
if (e == null)
|
|
1868
|
-
return t(void 0),
|
|
1869
|
-
const i =
|
|
1868
|
+
return t(void 0), Ct;
|
|
1869
|
+
const i = ft(
|
|
1870
1870
|
() => e.subscribe(
|
|
1871
1871
|
t,
|
|
1872
1872
|
// @ts-expect-error
|
|
@@ -1875,19 +1875,19 @@ function Gi(e, t, r) {
|
|
|
1875
1875
|
);
|
|
1876
1876
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
1877
1877
|
}
|
|
1878
|
-
const
|
|
1879
|
-
function
|
|
1878
|
+
const _t = [];
|
|
1879
|
+
function ll(e, t = Ct) {
|
|
1880
1880
|
let r = null;
|
|
1881
1881
|
const i = /* @__PURE__ */ new Set();
|
|
1882
1882
|
function l(s) {
|
|
1883
|
-
if (
|
|
1884
|
-
const
|
|
1883
|
+
if (ui(e, s) && (e = s, r)) {
|
|
1884
|
+
const u = !_t.length;
|
|
1885
1885
|
for (const d of i)
|
|
1886
|
-
d[1](),
|
|
1887
|
-
if (
|
|
1888
|
-
for (let d = 0; d <
|
|
1889
|
-
|
|
1890
|
-
|
|
1886
|
+
d[1](), _t.push(d, e);
|
|
1887
|
+
if (u) {
|
|
1888
|
+
for (let d = 0; d < _t.length; d += 2)
|
|
1889
|
+
_t[d][0](_t[d + 1]);
|
|
1890
|
+
_t.length = 0;
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
@@ -1897,32 +1897,32 @@ function ol(e, t = _t) {
|
|
|
1897
1897
|
e
|
|
1898
1898
|
));
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1901
|
-
const d = [s,
|
|
1902
|
-
return i.add(d), i.size === 1 && (r = t(l, n) ||
|
|
1900
|
+
function c(s, u = Ct) {
|
|
1901
|
+
const d = [s, u];
|
|
1902
|
+
return i.add(d), i.size === 1 && (r = t(l, n) || Ct), s(
|
|
1903
1903
|
/** @type {T} */
|
|
1904
1904
|
e
|
|
1905
1905
|
), () => {
|
|
1906
1906
|
i.delete(d), i.size === 0 && r && (r(), r = null);
|
|
1907
1907
|
};
|
|
1908
1908
|
}
|
|
1909
|
-
return { set: l, update: n, subscribe:
|
|
1909
|
+
return { set: l, update: n, subscribe: c };
|
|
1910
1910
|
}
|
|
1911
|
-
function
|
|
1911
|
+
function lr(e) {
|
|
1912
1912
|
let t;
|
|
1913
|
-
return
|
|
1913
|
+
return Wi(e, (r) => t = r)(), t;
|
|
1914
1914
|
}
|
|
1915
1915
|
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
1916
1916
|
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
1917
|
-
get: (e) =>
|
|
1917
|
+
get: (e) => lr(globalThis.altchaI18n.store)[e],
|
|
1918
1918
|
set: (e, t) => {
|
|
1919
|
-
Object.assign(
|
|
1919
|
+
Object.assign(lr(globalThis.altchaI18n.store), {
|
|
1920
1920
|
[e]: t
|
|
1921
|
-
}), globalThis.altchaI18n.store.set(
|
|
1921
|
+
}), globalThis.altchaI18n.store.set(lr(globalThis.altchaI18n.store));
|
|
1922
1922
|
},
|
|
1923
|
-
store:
|
|
1923
|
+
store: ll({})
|
|
1924
1924
|
};
|
|
1925
|
-
const
|
|
1925
|
+
const sl = {
|
|
1926
1926
|
ariaLinkLabel: "زور Altcha.org",
|
|
1927
1927
|
enterCode: "أدخل الرمز",
|
|
1928
1928
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
|
@@ -1939,8 +1939,8 @@ const ll = {
|
|
|
1939
1939
|
verifying: "جارٍ التحقق...",
|
|
1940
1940
|
waitAlert: "جارٍ التحقق... يرجى الانتظار."
|
|
1941
1941
|
};
|
|
1942
|
-
globalThis.altchaI18n.set("ar",
|
|
1943
|
-
const
|
|
1942
|
+
globalThis.altchaI18n.set("ar", sl);
|
|
1943
|
+
const fl = {
|
|
1944
1944
|
ariaLinkLabel: "Посетете Altcha.org",
|
|
1945
1945
|
enterCode: "Въведете код",
|
|
1946
1946
|
enterCodeAria: "Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",
|
|
@@ -1957,8 +1957,8 @@ const sl = {
|
|
|
1957
1957
|
verifying: "Проверява се...",
|
|
1958
1958
|
waitAlert: "Проверката е в процес... моля изчакайте."
|
|
1959
1959
|
};
|
|
1960
|
-
globalThis.altchaI18n.set("bg",
|
|
1961
|
-
const
|
|
1960
|
+
globalThis.altchaI18n.set("bg", fl);
|
|
1961
|
+
const cl = {
|
|
1962
1962
|
ariaLinkLabel: "Наведаць Altcha.org",
|
|
1963
1963
|
enterCode: "Увядзіце код",
|
|
1964
1964
|
enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
|
|
@@ -1975,8 +1975,8 @@ const ul = {
|
|
|
1975
1975
|
verifying: "Правяраем...",
|
|
1976
1976
|
waitAlert: "Праверка... калі ласка, пачакайце."
|
|
1977
1977
|
};
|
|
1978
|
-
globalThis.altchaI18n.set("be",
|
|
1979
|
-
const
|
|
1978
|
+
globalThis.altchaI18n.set("be", cl);
|
|
1979
|
+
const ul = {
|
|
1980
1980
|
ariaLinkLabel: "Posjetite Altcha.org",
|
|
1981
1981
|
enterCode: "Unesite kod",
|
|
1982
1982
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
|
@@ -1993,8 +1993,8 @@ const fl = {
|
|
|
1993
1993
|
verifying: "Verifikacija u toku...",
|
|
1994
1994
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate."
|
|
1995
1995
|
};
|
|
1996
|
-
globalThis.altchaI18n.set("bs",
|
|
1997
|
-
const
|
|
1996
|
+
globalThis.altchaI18n.set("bs", ul);
|
|
1997
|
+
const dl = {
|
|
1998
1998
|
ariaLinkLabel: "Visita Altcha.org",
|
|
1999
1999
|
enterCode: "Introdueix el codi",
|
|
2000
2000
|
enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
|
|
@@ -2011,8 +2011,8 @@ const cl = {
|
|
|
2011
2011
|
verifying: "Verificant...",
|
|
2012
2012
|
waitAlert: "Verificant... si us plau, espera."
|
|
2013
2013
|
};
|
|
2014
|
-
globalThis.altchaI18n.set("ca",
|
|
2015
|
-
const
|
|
2014
|
+
globalThis.altchaI18n.set("ca", dl);
|
|
2015
|
+
const hl = {
|
|
2016
2016
|
ariaLinkLabel: "Navštivte Altcha.org",
|
|
2017
2017
|
enterCode: "Zadejte kód",
|
|
2018
2018
|
enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
|
|
@@ -2029,8 +2029,8 @@ const dl = {
|
|
|
2029
2029
|
verifying: "Ověřování...",
|
|
2030
2030
|
waitAlert: "Probíhá ověření... prosím počkejte."
|
|
2031
2031
|
};
|
|
2032
|
-
globalThis.altchaI18n.set("cs",
|
|
2033
|
-
const
|
|
2032
|
+
globalThis.altchaI18n.set("cs", hl);
|
|
2033
|
+
const gl = {
|
|
2034
2034
|
ariaLinkLabel: "Besøg Altcha.org",
|
|
2035
2035
|
enterCode: "Indtast kode",
|
|
2036
2036
|
enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
|
|
@@ -2047,8 +2047,8 @@ const hl = {
|
|
|
2047
2047
|
verifying: "Verificerer...",
|
|
2048
2048
|
waitAlert: "Verificerer... vent venligst."
|
|
2049
2049
|
};
|
|
2050
|
-
globalThis.altchaI18n.set("da",
|
|
2051
|
-
const
|
|
2050
|
+
globalThis.altchaI18n.set("da", gl);
|
|
2051
|
+
const vl = {
|
|
2052
2052
|
ariaLinkLabel: "Besuche Altcha.org",
|
|
2053
2053
|
enterCode: "Code eingeben",
|
|
2054
2054
|
enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
|
|
@@ -2065,8 +2065,8 @@ const gl = {
|
|
|
2065
2065
|
verifying: "Wird überprüft...",
|
|
2066
2066
|
waitAlert: "Überprüfung läuft... bitte warten."
|
|
2067
2067
|
};
|
|
2068
|
-
globalThis.altchaI18n.set("de",
|
|
2069
|
-
const
|
|
2068
|
+
globalThis.altchaI18n.set("de", vl);
|
|
2069
|
+
const bl = {
|
|
2070
2070
|
ariaLinkLabel: "Επισκεφθείτε το Altcha.org",
|
|
2071
2071
|
enterCode: "Εισαγάγετε κωδικό",
|
|
2072
2072
|
enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
|
|
@@ -2083,8 +2083,8 @@ const vl = {
|
|
|
2083
2083
|
verifying: "Γίνεται επαλήθευση...",
|
|
2084
2084
|
waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε."
|
|
2085
2085
|
};
|
|
2086
|
-
globalThis.altchaI18n.set("el",
|
|
2087
|
-
const
|
|
2086
|
+
globalThis.altchaI18n.set("el", bl);
|
|
2087
|
+
const pl = {
|
|
2088
2088
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2089
2089
|
enterCode: "Introduce el código",
|
|
2090
2090
|
enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
|
|
@@ -2101,8 +2101,8 @@ const bl = {
|
|
|
2101
2101
|
verifying: "Verificando...",
|
|
2102
2102
|
waitAlert: "Verificando... por favor espere."
|
|
2103
2103
|
};
|
|
2104
|
-
globalThis.altchaI18n.set("es-es",
|
|
2105
|
-
const
|
|
2104
|
+
globalThis.altchaI18n.set("es-es", pl);
|
|
2105
|
+
const ml = {
|
|
2106
2106
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2107
2107
|
enterCode: "Ingresa el código",
|
|
2108
2108
|
enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
|
|
@@ -2119,8 +2119,8 @@ const pl = {
|
|
|
2119
2119
|
verifying: "Verificando...",
|
|
2120
2120
|
waitAlert: "Verificando... por favor espera."
|
|
2121
2121
|
};
|
|
2122
|
-
globalThis.altchaI18n.set("es-419",
|
|
2123
|
-
const
|
|
2122
|
+
globalThis.altchaI18n.set("es-419", ml);
|
|
2123
|
+
const yl = {
|
|
2124
2124
|
ariaLinkLabel: "Külasta Altcha.org",
|
|
2125
2125
|
enterCode: "Sisesta kood",
|
|
2126
2126
|
enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
|
|
@@ -2137,8 +2137,8 @@ const ml = {
|
|
|
2137
2137
|
verifying: "Kinnitamine...",
|
|
2138
2138
|
waitAlert: "Kinnitamine... palun oota."
|
|
2139
2139
|
};
|
|
2140
|
-
globalThis.altchaI18n.set("et",
|
|
2141
|
-
const
|
|
2140
|
+
globalThis.altchaI18n.set("et", yl);
|
|
2141
|
+
const Al = {
|
|
2142
2142
|
ariaLinkLabel: "Bisitatu Altcha.org",
|
|
2143
2143
|
enterCode: "Sartu kodea",
|
|
2144
2144
|
enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
|
|
@@ -2155,8 +2155,8 @@ const yl = {
|
|
|
2155
2155
|
verifying: "Egiaztatzen...",
|
|
2156
2156
|
waitAlert: "Egiaztatzen... itxaron mesedez."
|
|
2157
2157
|
};
|
|
2158
|
-
globalThis.altchaI18n.set("eu",
|
|
2159
|
-
const
|
|
2158
|
+
globalThis.altchaI18n.set("eu", Al);
|
|
2159
|
+
const kl = {
|
|
2160
2160
|
ariaLinkLabel: "بازدید از Altcha.org",
|
|
2161
2161
|
enterCode: "کد را وارد کنید",
|
|
2162
2162
|
enterCodeAria: "کدی که میشنوید را وارد کنید. برای پخش صدا Space را فشار دهید.",
|
|
@@ -2173,8 +2173,8 @@ const Al = {
|
|
|
2173
2173
|
verifying: "در حال تایید...",
|
|
2174
2174
|
waitAlert: "در حال تایید... لطفا منتظر بمانید."
|
|
2175
2175
|
};
|
|
2176
|
-
globalThis.altchaI18n.set("fa",
|
|
2177
|
-
const
|
|
2176
|
+
globalThis.altchaI18n.set("fa", kl);
|
|
2177
|
+
const _l = {
|
|
2178
2178
|
ariaLinkLabel: "Besicht Altcha.org",
|
|
2179
2179
|
enterCode: "Code aginn",
|
|
2180
2180
|
enterCodeAria: "Gitt de Code an deen dir héiert. Dréckt op d'Weltraumtast fir Audio ofzespillen.",
|
|
@@ -2191,8 +2191,8 @@ const kl = {
|
|
|
2191
2191
|
verifying: "Verifizéieren...",
|
|
2192
2192
|
waitAlert: "Verifizéieren... waart wgl."
|
|
2193
2193
|
};
|
|
2194
|
-
globalThis.altchaI18n.set("lb",
|
|
2195
|
-
const
|
|
2194
|
+
globalThis.altchaI18n.set("lb", _l);
|
|
2195
|
+
const wl = {
|
|
2196
2196
|
ariaLinkLabel: "Vieraile sivulla Altcha.org",
|
|
2197
2197
|
enterCode: "Syötä koodi",
|
|
2198
2198
|
enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
|
|
@@ -2209,8 +2209,8 @@ const _l = {
|
|
|
2209
2209
|
verifying: "Vahvistetaan...",
|
|
2210
2210
|
waitAlert: "Vahvistetaan... odota hetki."
|
|
2211
2211
|
};
|
|
2212
|
-
globalThis.altchaI18n.set("fi",
|
|
2213
|
-
const
|
|
2212
|
+
globalThis.altchaI18n.set("fi", wl);
|
|
2213
|
+
const Cl = {
|
|
2214
2214
|
ariaLinkLabel: "Visitez Altcha.org",
|
|
2215
2215
|
enterCode: "Entrez le code",
|
|
2216
2216
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
|
|
@@ -2227,8 +2227,8 @@ const wl = {
|
|
|
2227
2227
|
verifying: "Vérification en cours...",
|
|
2228
2228
|
waitAlert: "Vérification en cours... veuillez patienter."
|
|
2229
2229
|
};
|
|
2230
|
-
globalThis.altchaI18n.set("fr-ca",
|
|
2231
|
-
const
|
|
2230
|
+
globalThis.altchaI18n.set("fr-ca", Cl);
|
|
2231
|
+
const Ll = {
|
|
2232
2232
|
ariaLinkLabel: "Visitez Altcha.org",
|
|
2233
2233
|
enterCode: "Entrez le code",
|
|
2234
2234
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
|
@@ -2245,8 +2245,8 @@ const Cl = {
|
|
|
2245
2245
|
verifying: "Vérification en cours...",
|
|
2246
2246
|
waitAlert: "Vérification en cours... veuillez patienter."
|
|
2247
2247
|
};
|
|
2248
|
-
globalThis.altchaI18n.set("fr-fr",
|
|
2249
|
-
const
|
|
2248
|
+
globalThis.altchaI18n.set("fr-fr", Ll);
|
|
2249
|
+
const El = {
|
|
2250
2250
|
ariaLinkLabel: "Tabhair cuairt ar Altcha.org",
|
|
2251
2251
|
enterCode: "Iontráil cód",
|
|
2252
2252
|
enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
|
|
@@ -2263,8 +2263,8 @@ const Ll = {
|
|
|
2263
2263
|
verifying: "Fíorú ar siúl...",
|
|
2264
2264
|
waitAlert: "Fíorú ar siúl... fan go fóill."
|
|
2265
2265
|
};
|
|
2266
|
-
globalThis.altchaI18n.set("ga",
|
|
2267
|
-
const
|
|
2266
|
+
globalThis.altchaI18n.set("ga", El);
|
|
2267
|
+
const xl = {
|
|
2268
2268
|
ariaLinkLabel: "Posjetite Altcha.org",
|
|
2269
2269
|
enterCode: "Unesite kod",
|
|
2270
2270
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite razmaknicu za reprodukciju zvuka.",
|
|
@@ -2281,8 +2281,8 @@ const El = {
|
|
|
2281
2281
|
verifying: "Provjeravanje...",
|
|
2282
2282
|
waitAlert: "Provjera je u tijeku... molimo pričekajte."
|
|
2283
2283
|
};
|
|
2284
|
-
globalThis.altchaI18n.set("hr",
|
|
2285
|
-
const
|
|
2284
|
+
globalThis.altchaI18n.set("hr", xl);
|
|
2285
|
+
const Tl = {
|
|
2286
2286
|
ariaLinkLabel: "Látogass el az Altcha.org oldalra",
|
|
2287
2287
|
enterCode: "Írja be a kódot",
|
|
2288
2288
|
enterCodeAria: "Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",
|
|
@@ -2299,8 +2299,8 @@ const xl = {
|
|
|
2299
2299
|
verifying: "Ellenőrzés folyamatban...",
|
|
2300
2300
|
waitAlert: "Ellenőrzés folyamatban... kérlek várj."
|
|
2301
2301
|
};
|
|
2302
|
-
globalThis.altchaI18n.set("hu",
|
|
2303
|
-
const
|
|
2302
|
+
globalThis.altchaI18n.set("hu", Tl);
|
|
2303
|
+
const Il = {
|
|
2304
2304
|
ariaLinkLabel: "Heimsækja Altcha.org",
|
|
2305
2305
|
enterCode: "Sláðu inn kóða",
|
|
2306
2306
|
enterCodeAria: "Sláðu inn kóðann sem þú heyrir. Ýttu á Space til að spila hljóðið.",
|
|
@@ -2317,8 +2317,8 @@ const Tl = {
|
|
|
2317
2317
|
verifying: "Að staðfesta...",
|
|
2318
2318
|
waitAlert: "Að staðfesta... vinsamlegast bíða."
|
|
2319
2319
|
};
|
|
2320
|
-
globalThis.altchaI18n.set("is",
|
|
2321
|
-
const
|
|
2320
|
+
globalThis.altchaI18n.set("is", Il);
|
|
2321
|
+
const Vl = {
|
|
2322
2322
|
ariaLinkLabel: "Visita Altcha.org",
|
|
2323
2323
|
enterCode: "Inserisci il codice",
|
|
2324
2324
|
enterCodeAria: "Inserisci il codice che senti. Premi Spazio per riprodurre l'audio.",
|
|
@@ -2335,8 +2335,8 @@ const Il = {
|
|
|
2335
2335
|
verifying: "Verifica in corso...",
|
|
2336
2336
|
waitAlert: "Verifica in corso... attendere."
|
|
2337
2337
|
};
|
|
2338
|
-
globalThis.altchaI18n.set("it",
|
|
2339
|
-
const
|
|
2338
|
+
globalThis.altchaI18n.set("it", Vl);
|
|
2339
|
+
const jl = {
|
|
2340
2340
|
ariaLinkLabel: "Apsilankykite Altcha.org",
|
|
2341
2341
|
enterCode: "Įveskite kodą",
|
|
2342
2342
|
enterCodeAria: "Įveskite girdimą kodą. Paspauskite tarpo klavišą, kad grotumėte garso įrašą.",
|
|
@@ -2353,8 +2353,8 @@ const Vl = {
|
|
|
2353
2353
|
verifying: "Tikrinama...",
|
|
2354
2354
|
waitAlert: "Tikrinama... prašome palaukti."
|
|
2355
2355
|
};
|
|
2356
|
-
globalThis.altchaI18n.set("lt",
|
|
2357
|
-
const
|
|
2356
|
+
globalThis.altchaI18n.set("lt", jl);
|
|
2357
|
+
const Rl = {
|
|
2358
2358
|
ariaLinkLabel: "Apmeklējiet Altcha.org",
|
|
2359
2359
|
enterCode: "Ievadiet kodu",
|
|
2360
2360
|
enterCodeAria: "Ievadiet dzirdamo kodu. Nospiediet atstarpes taustiņu, lai atskaņotu audio.",
|
|
@@ -2371,8 +2371,8 @@ const jl = {
|
|
|
2371
2371
|
verifying: "Notiek verifikācija...",
|
|
2372
2372
|
waitAlert: "Notiek verifikācija... lūdzu, uzgaidiet."
|
|
2373
2373
|
};
|
|
2374
|
-
globalThis.altchaI18n.set("lv",
|
|
2375
|
-
const
|
|
2374
|
+
globalThis.altchaI18n.set("lv", Rl);
|
|
2375
|
+
const Sl = {
|
|
2376
2376
|
ariaLinkLabel: "Żur Altcha.org",
|
|
2377
2377
|
enterCode: "Idħol il-kodiċi",
|
|
2378
2378
|
enterCodeAria: "Idħol il-kodiċi li tisma'. Agħfas Spazju biex tindaqq l-awdjo.",
|
|
@@ -2389,8 +2389,8 @@ const Rl = {
|
|
|
2389
2389
|
verifying: "Verifika għaddejja...",
|
|
2390
2390
|
waitAlert: "Verifika għaddejja... stenna ftit."
|
|
2391
2391
|
};
|
|
2392
|
-
globalThis.altchaI18n.set("mt",
|
|
2393
|
-
const
|
|
2392
|
+
globalThis.altchaI18n.set("mt", Sl);
|
|
2393
|
+
const Zi = {
|
|
2394
2394
|
ariaLinkLabel: "Besøk Altcha.org",
|
|
2395
2395
|
enterCode: "Skriv inn kode",
|
|
2396
2396
|
enterCodeAria: "Skriv inn koden du hører. Trykk på Space for å spille av lyden.",
|
|
@@ -2407,8 +2407,8 @@ const Wi = {
|
|
|
2407
2407
|
verifying: "Verifiserer...",
|
|
2408
2408
|
waitAlert: "Verifiserer... vennligst vent."
|
|
2409
2409
|
};
|
|
2410
|
-
globalThis.altchaI18n.set("nb",
|
|
2411
|
-
globalThis.altchaI18n.set("no",
|
|
2410
|
+
globalThis.altchaI18n.set("nb", Zi);
|
|
2411
|
+
globalThis.altchaI18n.set("no", Zi);
|
|
2412
2412
|
const $l = {
|
|
2413
2413
|
ariaLinkLabel: "Bezoek Altcha.org",
|
|
2414
2414
|
enterCode: "Voer code in",
|
|
@@ -2427,7 +2427,7 @@ const $l = {
|
|
|
2427
2427
|
waitAlert: "Bezig met verifiëren... even geduld a.u.b."
|
|
2428
2428
|
};
|
|
2429
2429
|
globalThis.altchaI18n.set("nl", $l);
|
|
2430
|
-
const
|
|
2430
|
+
const Pl = {
|
|
2431
2431
|
ariaLinkLabel: "Odwiedź Altcha.org",
|
|
2432
2432
|
enterCode: "Wprowadź kod",
|
|
2433
2433
|
enterCodeAria: "Wpisz kod, który słyszysz. Naciśnij Spację, aby odtworzyć dźwięk.",
|
|
@@ -2444,8 +2444,8 @@ const Sl = {
|
|
|
2444
2444
|
verifying: "Weryfikacja...",
|
|
2445
2445
|
waitAlert: "Trwa weryfikacja... proszę czekać."
|
|
2446
2446
|
};
|
|
2447
|
-
globalThis.altchaI18n.set("pl",
|
|
2448
|
-
const
|
|
2447
|
+
globalThis.altchaI18n.set("pl", Pl);
|
|
2448
|
+
const zl = {
|
|
2449
2449
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2450
2450
|
enterCode: "Introduza o código",
|
|
2451
2451
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
|
@@ -2462,8 +2462,8 @@ const Pl = {
|
|
|
2462
2462
|
verifying: "A verificar...",
|
|
2463
2463
|
waitAlert: "A verificar... por favor aguarde."
|
|
2464
2464
|
};
|
|
2465
|
-
globalThis.altchaI18n.set("pt-pt",
|
|
2466
|
-
const
|
|
2465
|
+
globalThis.altchaI18n.set("pt-pt", zl);
|
|
2466
|
+
const Nl = {
|
|
2467
2467
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
2468
2468
|
enterCode: "Digite o código",
|
|
2469
2469
|
enterCodeAria: "Digite o código que você ouve. Pressione Espaço para reproduzir o áudio.",
|
|
@@ -2480,8 +2480,8 @@ const zl = {
|
|
|
2480
2480
|
verifying: "Verificando...",
|
|
2481
2481
|
waitAlert: "Verificando... por favor aguarde."
|
|
2482
2482
|
};
|
|
2483
|
-
globalThis.altchaI18n.set("pt-br",
|
|
2484
|
-
const
|
|
2483
|
+
globalThis.altchaI18n.set("pt-br", Nl);
|
|
2484
|
+
const Dl = {
|
|
2485
2485
|
ariaLinkLabel: "Vizitează Altcha.org",
|
|
2486
2486
|
enterCode: "Introduceți codul",
|
|
2487
2487
|
enterCodeAria: "Introduceți codul pe care îl auziți. Apăsați Spațiu pentru a reda audio.",
|
|
@@ -2498,8 +2498,8 @@ const Nl = {
|
|
|
2498
2498
|
verifying: "Se verifică...",
|
|
2499
2499
|
waitAlert: "Se verifică... te rugăm să aștepți."
|
|
2500
2500
|
};
|
|
2501
|
-
globalThis.altchaI18n.set("ro",
|
|
2502
|
-
const
|
|
2501
|
+
globalThis.altchaI18n.set("ro", Dl);
|
|
2502
|
+
const ql = {
|
|
2503
2503
|
ariaLinkLabel: "Перейти на Altcha.org",
|
|
2504
2504
|
enterCode: "Введите код",
|
|
2505
2505
|
enterCodeAria: "Введите код, который слышите. Нажмите пробел для воспроизведения аудио.",
|
|
@@ -2516,8 +2516,8 @@ const Dl = {
|
|
|
2516
2516
|
verifying: "Идет проверка...",
|
|
2517
2517
|
waitAlert: "Идет проверка... Пожалуйста, подождите."
|
|
2518
2518
|
};
|
|
2519
|
-
globalThis.altchaI18n.set("ru",
|
|
2520
|
-
const
|
|
2519
|
+
globalThis.altchaI18n.set("ru", ql);
|
|
2520
|
+
const Hl = {
|
|
2521
2521
|
ariaLinkLabel: "Navštívte Altcha.org",
|
|
2522
2522
|
enterCode: "Zadajte kód",
|
|
2523
2523
|
enterCodeAria: "Zadajte kód, ktorý počujete. Stlačením medzerníka prehráte zvuk.",
|
|
@@ -2534,8 +2534,8 @@ const ql = {
|
|
|
2534
2534
|
verifying: "Prebieha verifikácia...",
|
|
2535
2535
|
waitAlert: "Prebieha verifikácia... prosím čakajte."
|
|
2536
2536
|
};
|
|
2537
|
-
globalThis.altchaI18n.set("sk",
|
|
2538
|
-
const
|
|
2537
|
+
globalThis.altchaI18n.set("sk", Hl);
|
|
2538
|
+
const Ol = {
|
|
2539
2539
|
ariaLinkLabel: "Obiščite Altcha.org",
|
|
2540
2540
|
enterCode: "Vnesite kodo",
|
|
2541
2541
|
enterCodeAria: "Vnesite kodo, ki jo slišite. Pritisnite preslednico za predvajanje zvoka.",
|
|
@@ -2552,8 +2552,8 @@ const Hl = {
|
|
|
2552
2552
|
verifying: "Preverjanje...",
|
|
2553
2553
|
waitAlert: "Preverjanje... prosim počakajte."
|
|
2554
2554
|
};
|
|
2555
|
-
globalThis.altchaI18n.set("sl",
|
|
2556
|
-
const
|
|
2555
|
+
globalThis.altchaI18n.set("sl", Ol);
|
|
2556
|
+
const Fl = {
|
|
2557
2557
|
ariaLinkLabel: "Vizitoni Altcha.org",
|
|
2558
2558
|
enterCode: "Fut kodin",
|
|
2559
2559
|
enterCodeAria: "Fut kodin që dëgjon. Shtypni Hapësirë për të luajtur audio.",
|
|
@@ -2570,8 +2570,8 @@ const Ol = {
|
|
|
2570
2570
|
verifying: "Duke verifikuar...",
|
|
2571
2571
|
waitAlert: "Duke verifikuar... ju lutem prisni."
|
|
2572
2572
|
};
|
|
2573
|
-
globalThis.altchaI18n.set("sq",
|
|
2574
|
-
const
|
|
2573
|
+
globalThis.altchaI18n.set("sq", Fl);
|
|
2574
|
+
const Ml = {
|
|
2575
2575
|
ariaLinkLabel: "Posetite Altcha.org",
|
|
2576
2576
|
enterCode: "Unesite kod",
|
|
2577
2577
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
|
@@ -2588,8 +2588,8 @@ const Fl = {
|
|
|
2588
2588
|
verifying: "Verifikacija u toku...",
|
|
2589
2589
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate."
|
|
2590
2590
|
};
|
|
2591
|
-
globalThis.altchaI18n.set("sr",
|
|
2592
|
-
const
|
|
2591
|
+
globalThis.altchaI18n.set("sr", Ml);
|
|
2592
|
+
const Bl = {
|
|
2593
2593
|
ariaLinkLabel: "Besök Altcha.org",
|
|
2594
2594
|
enterCode: "Ange kod",
|
|
2595
2595
|
enterCodeAria: "Ange koden du hör. Tryck på mellanslag för att spela upp ljudet.",
|
|
@@ -2606,8 +2606,8 @@ const Ml = {
|
|
|
2606
2606
|
verifying: "Verifierar...",
|
|
2607
2607
|
waitAlert: "Verifierar... vänligen vänta."
|
|
2608
2608
|
};
|
|
2609
|
-
globalThis.altchaI18n.set("sv",
|
|
2610
|
-
const
|
|
2609
|
+
globalThis.altchaI18n.set("sv", Bl);
|
|
2610
|
+
const Ul = {
|
|
2611
2611
|
ariaLinkLabel: "Altcha.org'yu ziyaret edin",
|
|
2612
2612
|
enterCode: "Kodu girin",
|
|
2613
2613
|
enterCodeAria: "Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",
|
|
@@ -2624,8 +2624,8 @@ const Bl = {
|
|
|
2624
2624
|
verifying: "Doğrulama yapılıyor...",
|
|
2625
2625
|
waitAlert: "Doğrulama yapılıyor... lütfen bekleyin."
|
|
2626
2626
|
};
|
|
2627
|
-
globalThis.altchaI18n.set("tr",
|
|
2628
|
-
const
|
|
2627
|
+
globalThis.altchaI18n.set("tr", Ul);
|
|
2628
|
+
const Gl = {
|
|
2629
2629
|
ariaLinkLabel: "Відвідати Altcha.org",
|
|
2630
2630
|
enterCode: "Введіть код",
|
|
2631
2631
|
enterCodeAria: "Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",
|
|
@@ -2642,8 +2642,8 @@ const Ul = {
|
|
|
2642
2642
|
verifying: "Перевіряється...",
|
|
2643
2643
|
waitAlert: "Перевірка... будь ласка, зачекайте."
|
|
2644
2644
|
};
|
|
2645
|
-
globalThis.altchaI18n.set("uk",
|
|
2646
|
-
const
|
|
2645
|
+
globalThis.altchaI18n.set("uk", Gl);
|
|
2646
|
+
const Wl = {
|
|
2647
2647
|
ariaLinkLabel: "Besoek Altcha.org",
|
|
2648
2648
|
enterCode: "Voer kode in",
|
|
2649
2649
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
|
@@ -2660,8 +2660,8 @@ const Gl = {
|
|
|
2660
2660
|
verifying: "Verifieer...",
|
|
2661
2661
|
waitAlert: "Verifieer... wag asseblief."
|
|
2662
2662
|
};
|
|
2663
|
-
globalThis.altchaI18n.set("af",
|
|
2664
|
-
const
|
|
2663
|
+
globalThis.altchaI18n.set("af", Wl);
|
|
2664
|
+
const Zl = {
|
|
2665
2665
|
ariaLinkLabel: "Altcha.org ይጎብኙ",
|
|
2666
2666
|
enterCode: "ኮድ አስገባ",
|
|
2667
2667
|
enterCodeAria: "የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",
|
|
@@ -2678,8 +2678,8 @@ const Wl = {
|
|
|
2678
2678
|
verifying: "በማረጋገጥ ላይ...",
|
|
2679
2679
|
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።"
|
|
2680
2680
|
};
|
|
2681
|
-
globalThis.altchaI18n.set("am",
|
|
2682
|
-
const
|
|
2681
|
+
globalThis.altchaI18n.set("am", Zl);
|
|
2682
|
+
const Yl = {
|
|
2683
2683
|
ariaLinkLabel: "Tembelea Altcha.org",
|
|
2684
2684
|
enterCode: "Weka nambari",
|
|
2685
2685
|
enterCodeAria: "Weka nambari unayosikia. Bonyeza Space kucheza sauti.",
|
|
@@ -2696,8 +2696,8 @@ const Zl = {
|
|
|
2696
2696
|
verifying: "Inathibitisha...",
|
|
2697
2697
|
waitAlert: "Inathibitisha... tafadhali subiri."
|
|
2698
2698
|
};
|
|
2699
|
-
globalThis.altchaI18n.set("sw",
|
|
2700
|
-
const
|
|
2699
|
+
globalThis.altchaI18n.set("sw", Yl);
|
|
2700
|
+
const Kl = {
|
|
2701
2701
|
ariaLinkLabel: "Ṣe abẹwo si Altcha.org",
|
|
2702
2702
|
enterCode: "Tẹ koodu sii",
|
|
2703
2703
|
enterCodeAria: "Tẹ koodu ti o ngbọ sii. Tẹ Space lati ṣe ohun orin.",
|
|
@@ -2714,8 +2714,8 @@ const Yl = {
|
|
|
2714
2714
|
verifying: "Ó ń ṣàdájọ́...",
|
|
2715
2715
|
waitAlert: "Ó ń ṣàdájọ́... ẹ jọ̀ọ́ ẹ duro."
|
|
2716
2716
|
};
|
|
2717
|
-
globalThis.altchaI18n.set("yo",
|
|
2718
|
-
const
|
|
2717
|
+
globalThis.altchaI18n.set("yo", Kl);
|
|
2718
|
+
const Jl = {
|
|
2719
2719
|
ariaLinkLabel: "Altcha.org পরিদর্শন করুন",
|
|
2720
2720
|
enterCode: "কোড লিখুন",
|
|
2721
2721
|
enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
|
|
@@ -2732,8 +2732,8 @@ const Kl = {
|
|
|
2732
2732
|
verifying: "যাচাই করা হচ্ছে...",
|
|
2733
2733
|
waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।"
|
|
2734
2734
|
};
|
|
2735
|
-
globalThis.altchaI18n.set("bn",
|
|
2736
|
-
const
|
|
2735
|
+
globalThis.altchaI18n.set("bn", Jl);
|
|
2736
|
+
const Xl = {
|
|
2737
2737
|
ariaLinkLabel: "בקר באתר Altcha.org",
|
|
2738
2738
|
enterCode: "הזן קוד",
|
|
2739
2739
|
enterCodeAria: "הזן את הקוד שאתה שומע. לחץ על רווח להפעלת השמע.",
|
|
@@ -2750,8 +2750,8 @@ const Jl = {
|
|
|
2750
2750
|
verifying: "מאמת...",
|
|
2751
2751
|
waitAlert: "מבצע אימות... אנא המתן."
|
|
2752
2752
|
};
|
|
2753
|
-
globalThis.altchaI18n.set("he",
|
|
2754
|
-
const
|
|
2753
|
+
globalThis.altchaI18n.set("he", Xl);
|
|
2754
|
+
const Ql = {
|
|
2755
2755
|
ariaLinkLabel: "Altcha.org पर जाएं",
|
|
2756
2756
|
enterCode: "कोड दर्ज करेंं",
|
|
2757
2757
|
enterCodeAria: "आप जो कोड सुनते हैं उसे दर्ज करें। ऑडियो चलाने के लिए स्पेस दबाएं।",
|
|
@@ -2768,8 +2768,8 @@ const Xl = {
|
|
|
2768
2768
|
verifying: "सत्यापित कर रहे हैं...",
|
|
2769
2769
|
waitAlert: "सत्यापित किया जा रहा है... कृपया प्रतीक्षा करें।"
|
|
2770
2770
|
};
|
|
2771
|
-
globalThis.altchaI18n.set("hi",
|
|
2772
|
-
const
|
|
2771
|
+
globalThis.altchaI18n.set("hi", Ql);
|
|
2772
|
+
const es = {
|
|
2773
2773
|
ariaLinkLabel: "Kunjungi Altcha.org",
|
|
2774
2774
|
enterCode: "Masukkan kode",
|
|
2775
2775
|
enterCodeAria: "Masukkan kode yang Anda dengar. Tekan Spasi untuk memutar audio.",
|
|
@@ -2786,8 +2786,8 @@ const Ql = {
|
|
|
2786
2786
|
verifying: "Memverifikasi...",
|
|
2787
2787
|
waitAlert: "Memverifikasi... harap tunggu."
|
|
2788
2788
|
};
|
|
2789
|
-
globalThis.altchaI18n.set("id",
|
|
2790
|
-
const
|
|
2789
|
+
globalThis.altchaI18n.set("id", es);
|
|
2790
|
+
const ts = {
|
|
2791
2791
|
ariaLinkLabel: "Altcha.orgを訪問",
|
|
2792
2792
|
enterCode: "コードを入力",
|
|
2793
2793
|
enterCodeAria: "聞こえるコードを入力してください。スペースキーを押して音声を再生します。",
|
|
@@ -2804,8 +2804,8 @@ const es = {
|
|
|
2804
2804
|
verifying: "確認中...",
|
|
2805
2805
|
waitAlert: "確認中...少々お待ちください。"
|
|
2806
2806
|
};
|
|
2807
|
-
globalThis.altchaI18n.set("ja",
|
|
2808
|
-
const
|
|
2807
|
+
globalThis.altchaI18n.set("ja", ts);
|
|
2808
|
+
const rs = {
|
|
2809
2809
|
ariaLinkLabel: "Altcha.org 방문하기",
|
|
2810
2810
|
enterCode: "코드 입력",
|
|
2811
2811
|
enterCodeAria: "들리는 코드를 입력하세요. 스페이스 바를 눌러 오디오를 재생합니다.",
|
|
@@ -2822,8 +2822,8 @@ const ts = {
|
|
|
2822
2822
|
verifying: "확인 중...",
|
|
2823
2823
|
waitAlert: "확인 중... 잠시만 기다려주세요."
|
|
2824
2824
|
};
|
|
2825
|
-
globalThis.altchaI18n.set("ko",
|
|
2826
|
-
const
|
|
2825
|
+
globalThis.altchaI18n.set("ko", rs);
|
|
2826
|
+
const as = {
|
|
2827
2827
|
ariaLinkLabel: "Altcha.org сайтына кіру",
|
|
2828
2828
|
enterCode: "Кодты енгізіңіз",
|
|
2829
2829
|
enterCodeAria: "Естіген кодыңызды енгізіңіз. Аудионы ойнату үшін Бос орынды басыңыз.",
|
|
@@ -2840,8 +2840,8 @@ const rs = {
|
|
|
2840
2840
|
verifying: "Тексеруде...",
|
|
2841
2841
|
waitAlert: "Тексерілуде... күте тұрыңыз."
|
|
2842
2842
|
};
|
|
2843
|
-
globalThis.altchaI18n.set("kk",
|
|
2844
|
-
const
|
|
2843
|
+
globalThis.altchaI18n.set("kk", as);
|
|
2844
|
+
const is = {
|
|
2845
2845
|
ariaLinkLabel: "Altcha.org भेट द्या",
|
|
2846
2846
|
enterCode: "कोड टाकाा",
|
|
2847
2847
|
enterCodeAria: "तुम्ही ऐकत असलेला कोड टाका. ऑडिओ प्ले करण्यासाठी स्पेस दाबा.",
|
|
@@ -2858,8 +2858,8 @@ const as = {
|
|
|
2858
2858
|
verifying: "पुष्टीकरण करत आहे...",
|
|
2859
2859
|
waitAlert: "पुष्टीकरण करत आहे... कृपया थोडा वेळ थांबा."
|
|
2860
2860
|
};
|
|
2861
|
-
globalThis.altchaI18n.set("mr",
|
|
2862
|
-
const
|
|
2861
|
+
globalThis.altchaI18n.set("mr", is);
|
|
2862
|
+
const ns = {
|
|
2863
2863
|
ariaLinkLabel: "Altcha.org ஐ பார்வையிடவும்",
|
|
2864
2864
|
enterCode: "குறியீட்டை உள்ளிடவும்",
|
|
2865
2865
|
enterCodeAria: "நீங்கள் கேட்கும் குறியீட்டை உள்ளிடவும். ஆடியோவை இயக்க Space ஐ அழுத்தவும்.",
|
|
@@ -2876,8 +2876,8 @@ const is = {
|
|
|
2876
2876
|
verifying: "சரிபார்க்கப்படுகிறது...",
|
|
2877
2877
|
waitAlert: "சரிபார்க்கப்படுகிறது... தயவுசெய்து காத்திருக்கவும்."
|
|
2878
2878
|
};
|
|
2879
|
-
globalThis.altchaI18n.set("ta",
|
|
2880
|
-
const
|
|
2879
|
+
globalThis.altchaI18n.set("ta", ns);
|
|
2880
|
+
const os = {
|
|
2881
2881
|
ariaLinkLabel: "Altcha.org సందర్శించండి",
|
|
2882
2882
|
enterCode: "కోడ్ని నమోదు చేయండి",
|
|
2883
2883
|
enterCodeAria: "మీరు విన్న కోడ్ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్ను నొక్కండి.",
|
|
@@ -2894,8 +2894,8 @@ const ns = {
|
|
|
2894
2894
|
verifying: "ధ్రువీకరణ జరుగుతుంది...",
|
|
2895
2895
|
waitAlert: "ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి."
|
|
2896
2896
|
};
|
|
2897
|
-
globalThis.altchaI18n.set("te",
|
|
2898
|
-
const
|
|
2897
|
+
globalThis.altchaI18n.set("te", os);
|
|
2898
|
+
const ls = {
|
|
2899
2899
|
ariaLinkLabel: "เยี่ยมชม Altcha.org",
|
|
2900
2900
|
enterCode: "ป้อนรหัส",
|
|
2901
2901
|
enterCodeAria: "ป้อนรหัสที่คุณได้ยิน กด Space เพื่อเล่นเสียง",
|
|
@@ -2912,8 +2912,8 @@ const os = {
|
|
|
2912
2912
|
verifying: "กำลังตรวจสอบ...",
|
|
2913
2913
|
waitAlert: "กำลังตรวจสอบ... กรุณารอ"
|
|
2914
2914
|
};
|
|
2915
|
-
globalThis.altchaI18n.set("th",
|
|
2916
|
-
const
|
|
2915
|
+
globalThis.altchaI18n.set("th", ls);
|
|
2916
|
+
const ss = {
|
|
2917
2917
|
ariaLinkLabel: "Altcha.org پر جائیں",
|
|
2918
2918
|
enterCode: "کوڈ درج کریں",
|
|
2919
2919
|
enterCodeAria: "جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",
|
|
@@ -2930,8 +2930,8 @@ const ls = {
|
|
|
2930
2930
|
verifying: "توثیق ہو رہی ہے...",
|
|
2931
2931
|
waitAlert: "توثیق ہو رہی ہے... براہ کرم انتظار کریں۔"
|
|
2932
2932
|
};
|
|
2933
|
-
globalThis.altchaI18n.set("ur",
|
|
2934
|
-
const
|
|
2933
|
+
globalThis.altchaI18n.set("ur", ss);
|
|
2934
|
+
const fs = {
|
|
2935
2935
|
ariaLinkLabel: "Altcha.org saytiga tashrif buyuring",
|
|
2936
2936
|
enterCode: "Kodni kiriting",
|
|
2937
2937
|
enterCodeAria: "Eshitgan kodingizni kiriting. Audioni ijro etish uchun Bo'sh joy tugmasini bosing.",
|
|
@@ -2948,8 +2948,8 @@ const ss = {
|
|
|
2948
2948
|
verifying: "Tekshirilmoqda...",
|
|
2949
2949
|
waitAlert: "Tekshirilmoqda... iltimos kuting."
|
|
2950
2950
|
};
|
|
2951
|
-
globalThis.altchaI18n.set("uz",
|
|
2952
|
-
const
|
|
2951
|
+
globalThis.altchaI18n.set("uz", fs);
|
|
2952
|
+
const cs = {
|
|
2953
2953
|
ariaLinkLabel: "Truy cập Altcha.org",
|
|
2954
2954
|
enterCode: "Nhập mã",
|
|
2955
2955
|
enterCodeAria: "Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",
|
|
@@ -2966,8 +2966,8 @@ const us = {
|
|
|
2966
2966
|
verifying: "Đang xác minh...",
|
|
2967
2967
|
waitAlert: "Đang xác minh... vui lòng chờ."
|
|
2968
2968
|
};
|
|
2969
|
-
globalThis.altchaI18n.set("vi",
|
|
2970
|
-
const
|
|
2969
|
+
globalThis.altchaI18n.set("vi", cs);
|
|
2970
|
+
const us = {
|
|
2971
2971
|
ariaLinkLabel: "访问 Altcha.org",
|
|
2972
2972
|
enterCode: "输入代码",
|
|
2973
2973
|
enterCodeAria: "输入您听到的代码。按空格键播放音频。",
|
|
@@ -2984,8 +2984,8 @@ const fs = {
|
|
|
2984
2984
|
verifying: "正在验证...",
|
|
2985
2985
|
waitAlert: "正在验证... 请稍等。"
|
|
2986
2986
|
};
|
|
2987
|
-
globalThis.altchaI18n.set("zh-cn",
|
|
2988
|
-
const
|
|
2987
|
+
globalThis.altchaI18n.set("zh-cn", us);
|
|
2988
|
+
const ds = {
|
|
2989
2989
|
ariaLinkLabel: "訪問 Altcha.org",
|
|
2990
2990
|
enterCode: "輸入代碼",
|
|
2991
2991
|
enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
|
|
@@ -3002,13 +3002,13 @@ const cs = {
|
|
|
3002
3002
|
verifying: "正在驗證...",
|
|
3003
3003
|
waitAlert: "正在驗證... 請稍等。"
|
|
3004
3004
|
};
|
|
3005
|
-
globalThis.altchaI18n.set("zh-tw",
|
|
3006
|
-
const
|
|
3007
|
-
`,
|
|
3008
|
-
function
|
|
3005
|
+
globalThis.altchaI18n.set("zh-tw", ds);
|
|
3006
|
+
const Yi = `(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})})}}})();
|
|
3007
|
+
`, Qa = typeof self < "u" && self.Blob && new Blob([Yi], { type: "text/javascript;charset=utf-8" });
|
|
3008
|
+
function hs(e) {
|
|
3009
3009
|
let t;
|
|
3010
3010
|
try {
|
|
3011
|
-
if (t =
|
|
3011
|
+
if (t = Qa && (self.URL || self.webkitURL).createObjectURL(Qa), !t) throw "";
|
|
3012
3012
|
const r = new Worker(t, {
|
|
3013
3013
|
name: e == null ? void 0 : e.name
|
|
3014
3014
|
});
|
|
@@ -3017,7 +3017,7 @@ function ds(e) {
|
|
|
3017
3017
|
}), r;
|
|
3018
3018
|
} catch {
|
|
3019
3019
|
return new Worker(
|
|
3020
|
-
"data:text/javascript;charset=utf-8," + encodeURIComponent(
|
|
3020
|
+
"data:text/javascript;charset=utf-8," + encodeURIComponent(Yi),
|
|
3021
3021
|
{
|
|
3022
3022
|
name: e == null ? void 0 : e.name
|
|
3023
3023
|
}
|
|
@@ -3026,17 +3026,17 @@ function ds(e) {
|
|
|
3026
3026
|
t && (self.URL || self.webkitURL).revokeObjectURL(t);
|
|
3027
3027
|
}
|
|
3028
3028
|
}
|
|
3029
|
-
const
|
|
3030
|
-
var
|
|
3031
|
-
typeof window < "u" && ((
|
|
3032
|
-
const
|
|
3033
|
-
function
|
|
3029
|
+
const gs = "5";
|
|
3030
|
+
var ti;
|
|
3031
|
+
typeof window < "u" && ((ti = window.__svelte ?? (window.__svelte = {})).v ?? (ti.v = /* @__PURE__ */ new Set())).add(gs);
|
|
3032
|
+
const Ki = new TextEncoder();
|
|
3033
|
+
function vs(e) {
|
|
3034
3034
|
return [...new Uint8Array(e)].map((t) => t.toString(16).padStart(2, "0")).join("");
|
|
3035
3035
|
}
|
|
3036
|
-
async function
|
|
3036
|
+
async function bs(e, t = "SHA-256", r = 1e5) {
|
|
3037
3037
|
const i = Date.now().toString(16);
|
|
3038
3038
|
e || (e = Math.round(Math.random() * r));
|
|
3039
|
-
const l = await
|
|
3039
|
+
const l = await Ji(i, e, t);
|
|
3040
3040
|
return {
|
|
3041
3041
|
algorithm: t,
|
|
3042
3042
|
challenge: l,
|
|
@@ -3044,27 +3044,27 @@ async function vs(e, t = "SHA-256", r = 1e5) {
|
|
|
3044
3044
|
signature: ""
|
|
3045
3045
|
};
|
|
3046
3046
|
}
|
|
3047
|
-
async function
|
|
3047
|
+
async function Ji(e, t, r) {
|
|
3048
3048
|
if (typeof crypto > "u" || !("subtle" in crypto) || !("digest" in crypto.subtle))
|
|
3049
3049
|
throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");
|
|
3050
|
-
return
|
|
3050
|
+
return vs(
|
|
3051
3051
|
await crypto.subtle.digest(
|
|
3052
3052
|
r.toUpperCase(),
|
|
3053
|
-
|
|
3053
|
+
Ki.encode(e + t)
|
|
3054
3054
|
)
|
|
3055
3055
|
);
|
|
3056
3056
|
}
|
|
3057
|
-
function
|
|
3058
|
-
const n = new AbortController(),
|
|
3057
|
+
function ps(e, t, r = "SHA-256", i = 1e6, l = 0) {
|
|
3058
|
+
const n = new AbortController(), c = Date.now();
|
|
3059
3059
|
return {
|
|
3060
3060
|
promise: (async () => {
|
|
3061
|
-
for (let
|
|
3061
|
+
for (let u = l; u <= i; u += 1) {
|
|
3062
3062
|
if (n.signal.aborted)
|
|
3063
3063
|
return null;
|
|
3064
|
-
if (await
|
|
3064
|
+
if (await Ji(t, u, r) === e)
|
|
3065
3065
|
return {
|
|
3066
|
-
number:
|
|
3067
|
-
took: Date.now() -
|
|
3066
|
+
number: u,
|
|
3067
|
+
took: Date.now() - c
|
|
3068
3068
|
};
|
|
3069
3069
|
}
|
|
3070
3070
|
return null;
|
|
@@ -3072,56 +3072,56 @@ function bs(e, t, r = "SHA-256", i = 1e6, l = 0) {
|
|
|
3072
3072
|
controller: n
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
|
-
function
|
|
3075
|
+
function ei() {
|
|
3076
3076
|
try {
|
|
3077
3077
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
3078
3078
|
} catch {
|
|
3079
3079
|
}
|
|
3080
3080
|
}
|
|
3081
|
-
function
|
|
3081
|
+
function ms(e) {
|
|
3082
3082
|
const t = atob(e), r = new Uint8Array(t.length);
|
|
3083
3083
|
for (let i = 0; i < t.length; i++)
|
|
3084
3084
|
r[i] = t.charCodeAt(i);
|
|
3085
3085
|
return r;
|
|
3086
3086
|
}
|
|
3087
|
-
function
|
|
3087
|
+
function ys(e, t = 12) {
|
|
3088
3088
|
const r = new Uint8Array(t);
|
|
3089
3089
|
for (let i = 0; i < t; i++)
|
|
3090
3090
|
r[i] = e % 256, e = Math.floor(e / 256);
|
|
3091
3091
|
return r;
|
|
3092
3092
|
}
|
|
3093
|
-
async function
|
|
3094
|
-
const l = "AES-GCM", n = new AbortController(),
|
|
3093
|
+
async function As(e, t = "", r = 1e6, i = 0) {
|
|
3094
|
+
const l = "AES-GCM", n = new AbortController(), c = Date.now(), s = async () => {
|
|
3095
3095
|
for (let m = i; m <= r; m += 1) {
|
|
3096
|
-
if (n.signal.aborted || !
|
|
3096
|
+
if (n.signal.aborted || !u || !d)
|
|
3097
3097
|
return null;
|
|
3098
3098
|
try {
|
|
3099
3099
|
const g = await crypto.subtle.decrypt(
|
|
3100
3100
|
{
|
|
3101
3101
|
name: l,
|
|
3102
|
-
iv:
|
|
3102
|
+
iv: ys(m)
|
|
3103
3103
|
},
|
|
3104
|
-
|
|
3104
|
+
u,
|
|
3105
3105
|
d
|
|
3106
3106
|
);
|
|
3107
3107
|
if (g)
|
|
3108
3108
|
return {
|
|
3109
3109
|
clearText: new TextDecoder().decode(g),
|
|
3110
|
-
took: Date.now() -
|
|
3110
|
+
took: Date.now() - c
|
|
3111
3111
|
};
|
|
3112
3112
|
} catch {
|
|
3113
3113
|
}
|
|
3114
3114
|
}
|
|
3115
3115
|
return null;
|
|
3116
3116
|
};
|
|
3117
|
-
let
|
|
3117
|
+
let u = null, d = null;
|
|
3118
3118
|
try {
|
|
3119
|
-
d =
|
|
3119
|
+
d = ms(e);
|
|
3120
3120
|
const m = await crypto.subtle.digest(
|
|
3121
3121
|
"SHA-256",
|
|
3122
|
-
|
|
3122
|
+
Ki.encode(t)
|
|
3123
3123
|
);
|
|
3124
|
-
|
|
3124
|
+
u = await crypto.subtle.importKey(
|
|
3125
3125
|
"raw",
|
|
3126
3126
|
m,
|
|
3127
3127
|
l,
|
|
@@ -3139,8 +3139,8 @@ async function ys(e, t = "", r = 1e6, i = 0) {
|
|
|
3139
3139
|
controller: n
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
3142
|
-
var k = /* @__PURE__ */ ((e) => (e.CODE = "code", e.ERROR = "error", e.VERIFIED = "verified", e.VERIFYING = "verifying", e.UNVERIFIED = "unverified", e.EXPIRED = "expired", e))(k || {}),
|
|
3143
|
-
const
|
|
3142
|
+
var k = /* @__PURE__ */ ((e) => (e.CODE = "code", e.ERROR = "error", e.VERIFIED = "verified", e.VERIFYING = "verifying", e.UNVERIFIED = "unverified", e.EXPIRED = "expired", e))(k || {}), te = /* @__PURE__ */ ((e) => (e.ERROR = "error", e.LOADING = "loading", e.PLAYING = "playing", e.PAUSED = "paused", e.READY = "ready", e))(te || {});
|
|
3143
|
+
const ks = {
|
|
3144
3144
|
ariaLinkLabel: "Visit Altcha.org",
|
|
3145
3145
|
enterCode: "Enter code",
|
|
3146
3146
|
enterCodeAria: "Enter code you hear. Press Space to play audio.",
|
|
@@ -3157,82 +3157,82 @@ const As = {
|
|
|
3157
3157
|
verifying: "Verifying...",
|
|
3158
3158
|
waitAlert: "Verifying... please wait."
|
|
3159
3159
|
};
|
|
3160
|
-
globalThis.altchaI18n.set("en",
|
|
3160
|
+
globalThis.altchaI18n.set("en", ks);
|
|
3161
3161
|
const $r = (e, t) => {
|
|
3162
|
-
let r = /* @__PURE__ */
|
|
3163
|
-
var i =
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
}),
|
|
3162
|
+
let r = /* @__PURE__ */ mo(() => Zn(t == null ? void 0 : t(), 24));
|
|
3163
|
+
var i = Ls();
|
|
3164
|
+
Ie(() => {
|
|
3165
|
+
I(i, "width", o(r)), I(i, "height", o(r));
|
|
3166
|
+
}), M(e, i);
|
|
3167
3167
|
};
|
|
3168
|
-
function
|
|
3168
|
+
function _s(e, t) {
|
|
3169
3169
|
e.code === "Space" && (e.preventDefault(), e.stopImmediatePropagation(), t());
|
|
3170
3170
|
}
|
|
3171
|
-
function
|
|
3171
|
+
function ws(e, t) {
|
|
3172
3172
|
e.preventDefault(), t();
|
|
3173
3173
|
}
|
|
3174
|
-
function
|
|
3175
|
-
var
|
|
3174
|
+
function Cs(e, t, r, i, l, n, c, s) {
|
|
3175
|
+
var u;
|
|
3176
3176
|
[
|
|
3177
3177
|
k.UNVERIFIED,
|
|
3178
3178
|
k.ERROR,
|
|
3179
3179
|
k.EXPIRED,
|
|
3180
3180
|
k.CODE
|
|
3181
|
-
].includes(o(t)) ? r() !== !1 && ((
|
|
3182
|
-
}
|
|
3183
|
-
var
|
|
3184
|
-
function
|
|
3185
|
-
var
|
|
3186
|
-
|
|
3187
|
-
const [r, i] =
|
|
3188
|
-
let n =
|
|
3189
|
-
const { altchaI18n:
|
|
3190
|
-
t.$$host.dispatchEvent(new CustomEvent(a, { detail:
|
|
3191
|
-
},
|
|
3181
|
+
].includes(o(t)) ? r() !== !1 && ((u = o(i)) == null ? void 0 : u.reportValidity()) === !1 ? y(l, !1) : n() ? c() : s() : y(l, !0);
|
|
3182
|
+
}
|
|
3183
|
+
var Ls = /* @__PURE__ */ _r('<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>'), Es = /* @__PURE__ */ we('<input type="hidden">'), xs = /* @__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>'), Ts = /* @__PURE__ */ _r('<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>'), Is = /* @__PURE__ */ _r('<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>'), Vs = /* @__PURE__ */ _r('<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>'), js = /* @__PURE__ */ we('<button type="button" class="altcha-code-challenge-audio"><!></button>'), Rs = /* @__PURE__ */ we("<audio hidden autoplay><source></audio>"), Ss = /* @__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>'), $s = /* @__PURE__ */ we("<div><!></div>"), Ps = /* @__PURE__ */ we("<div><!></div>"), zs = /* @__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>'), Ns = /* @__PURE__ */ we('<div class="altcha-footer"><div><!></div></div>'), Ds = /* @__PURE__ */ we('<div class="altcha-anchor-arrow"></div>'), qs = /* @__PURE__ */ we('<!> <div class="altcha"><div class="altcha-main"><div><!> <input type="checkbox"></div> <label class="altcha-label"><!></label> <!> <!> <!></div> <!> <!> <!></div>', 1);
|
|
3184
|
+
function Hs(e, t) {
|
|
3185
|
+
var Na, Da;
|
|
3186
|
+
vi(t, !0);
|
|
3187
|
+
const [r, i] = el(), l = () => Qo(Qi, "$altchaI18nStore", r);
|
|
3188
|
+
let n = C(t, "auto", 7, void 0), c = C(t, "blockspam", 7, void 0), s = C(t, "challengeurl", 7, void 0), u = C(t, "challengejson", 7, void 0), d = C(t, "credentials", 7, void 0), m = C(t, "customfetch", 7, void 0), g = C(t, "debug", 7, !1), p = C(t, "delay", 7, 0), A = C(t, "disableautofocus", 7, !1), R = C(t, "refetchonexpire", 7, !0), S = C(t, "disablerefetchonexpire", 23, () => !R()), O = C(t, "expire", 7, void 0), T = C(t, "floating", 7, void 0), X = C(t, "floatinganchor", 7, void 0), oe = C(t, "floatingoffset", 7, void 0), Q = C(t, "floatingpersist", 7, !1), Se = C(t, "hidefooter", 7, !1), F = C(t, "hidelogo", 7, !1), Ce = C(t, "id", 7, void 0), De = C(t, "language", 7, void 0), Ke = C(t, "name", 7, "altcha"), Je = C(t, "maxnumber", 7, 1e6), Tt = C(t, "mockerror", 7, !1), qe = C(t, "obfuscated", 7, void 0), me = C(t, "overlay", 7, void 0), It = C(t, "overlaycontent", 7, void 0), Yt = C(t, "plugins", 7, void 0), Xe = C(t, "sentinel", 7, void 0), Le = C(t, "spamfilter", 7, !1), ht = C(t, "strings", 7, void 0), ge = C(t, "test", 7, !1), re = C(t, "verifyurl", 7, void 0), gt = C(t, "workers", 23, () => Math.min(16, navigator.hardwareConcurrency || 8)), Vt = C(t, "workerurl", 7, void 0);
|
|
3189
|
+
const { altchaI18n: Xi } = globalThis, Qi = Xi.store, ea = ["SHA-256", "SHA-384", "SHA-512"], en = "https://altcha.org/", He = (a, f) => {
|
|
3190
|
+
t.$$host.dispatchEvent(new CustomEvent(a, { detail: f }));
|
|
3191
|
+
}, ta = (Da = (Na = document.documentElement.lang) == null ? void 0 : Na.split("-")) == null ? void 0 : Da[0], wr = /* @__PURE__ */ Dt(() => {
|
|
3192
3192
|
var a;
|
|
3193
3193
|
return s() && new URL(s(), location.origin).host.endsWith(".altcha.org") && !!((a = s()) != null && a.includes("apiKey=ckey_"));
|
|
3194
|
-
}),
|
|
3195
|
-
...
|
|
3196
|
-
...o(
|
|
3197
|
-
})),
|
|
3198
|
-
let
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
}),
|
|
3202
|
-
|
|
3203
|
-
}),
|
|
3204
|
-
|
|
3205
|
-
}),
|
|
3194
|
+
}), Kt = /* @__PURE__ */ Dt(() => u() ? ba(u()) : void 0), tn = /* @__PURE__ */ Dt(() => ht() ? ba(ht()) : {}), z = /* @__PURE__ */ Dt(() => ({
|
|
3195
|
+
...na(l()),
|
|
3196
|
+
...o(tn)
|
|
3197
|
+
})), ra = /* @__PURE__ */ Dt(() => `${Ce() || Ke()}_checkbox_${Math.round(Math.random() * 1e8)}`);
|
|
3198
|
+
let Qe = /* @__PURE__ */ P(null), jt = /* @__PURE__ */ P(!1), U = /* @__PURE__ */ P(null), E = /* @__PURE__ */ P(Be(k.UNVERIFIED)), q = /* @__PURE__ */ P(void 0), Rt = /* @__PURE__ */ P(null), Oe = /* @__PURE__ */ P(null), ue = /* @__PURE__ */ P(null), Cr = /* @__PURE__ */ P(null), vt = /* @__PURE__ */ P(null), $ = /* @__PURE__ */ P(null), St = /* @__PURE__ */ P(null), et = /* @__PURE__ */ P(null), Ee = null, G = /* @__PURE__ */ P(null), tt = /* @__PURE__ */ P(!1), Fe = [], Lr = /* @__PURE__ */ P(!1), xe = /* @__PURE__ */ P(null);
|
|
3199
|
+
Nr(() => {
|
|
3200
|
+
vn(o(et));
|
|
3201
|
+
}), Nr(() => {
|
|
3202
|
+
bn(o(E));
|
|
3203
|
+
}), ol(() => {
|
|
3204
|
+
rn(), y(St, null), o($) && (o($).removeEventListener("submit", ua), o($).removeEventListener("reset", da), o($).removeEventListener("focusin", ca), y($, null)), Ee && (clearTimeout(Ee), Ee = null), document.removeEventListener("click", sa), document.removeEventListener("scroll", fa), window.removeEventListener("resize", va);
|
|
3205
|
+
}), Gi(() => {
|
|
3206
3206
|
var a;
|
|
3207
|
-
|
|
3208
|
-
|
|
3207
|
+
x("mounted", "2.2.3"), x("workers", gt()), ln(), x("plugins", Fe.length ? Fe.map((f) => f.constructor.pluginName).join(", ") : "none"), ge() && x("using test mode"), O() && Er(O()), n() !== void 0 && x("auto", n()), T() !== void 0 && Aa(T()), y($, (a = o(q)) == null ? void 0 : a.closest("form"), !0), o($) && (o($).addEventListener("submit", ua, { capture: !0 }), o($).addEventListener("reset", da), (n() === "onfocus" || Q() === "focus") && o($).addEventListener("focusin", ca)), me() && ka(!0), n() === "onload" && (qe() ? $t() : $e()), o(wr) && (Se() || F()) && x("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."), requestAnimationFrame(() => {
|
|
3208
|
+
He("load");
|
|
3209
3209
|
});
|
|
3210
3210
|
});
|
|
3211
|
-
function
|
|
3211
|
+
function Jt(a, f) {
|
|
3212
3212
|
return btoa(JSON.stringify({
|
|
3213
3213
|
algorithm: a.algorithm,
|
|
3214
3214
|
challenge: a.challenge,
|
|
3215
|
-
number:
|
|
3215
|
+
number: f.number,
|
|
3216
3216
|
salt: a.salt,
|
|
3217
3217
|
signature: a.signature,
|
|
3218
|
-
test:
|
|
3219
|
-
took:
|
|
3218
|
+
test: ge() ? !0 : void 0,
|
|
3219
|
+
took: f.took
|
|
3220
3220
|
}));
|
|
3221
3221
|
}
|
|
3222
|
-
function
|
|
3223
|
-
for (const a of
|
|
3222
|
+
function rn() {
|
|
3223
|
+
for (const a of Fe)
|
|
3224
3224
|
a.destroy();
|
|
3225
3225
|
}
|
|
3226
|
-
function
|
|
3227
|
-
s() &&
|
|
3226
|
+
function aa() {
|
|
3227
|
+
s() && !S() && o(E) === k.VERIFIED ? $e() : rt(k.EXPIRED, o(z).expired);
|
|
3228
3228
|
}
|
|
3229
|
-
async function
|
|
3230
|
-
if (
|
|
3231
|
-
throw
|
|
3232
|
-
if (o(
|
|
3233
|
-
return
|
|
3234
|
-
if (
|
|
3235
|
-
return
|
|
3229
|
+
async function an() {
|
|
3230
|
+
if (Tt())
|
|
3231
|
+
throw x("mocking error"), new Error("Mocked error.");
|
|
3232
|
+
if (o(Kt))
|
|
3233
|
+
return x("using provided json data"), pa(o(Kt).salt), o(Kt);
|
|
3234
|
+
if (ge())
|
|
3235
|
+
return x("generating test challenge", { test: ge() }), bs(typeof ge() != "boolean" ? +ge() : void 0);
|
|
3236
3236
|
{
|
|
3237
3237
|
if (!s() && o($)) {
|
|
3238
3238
|
const h = o($).getAttribute("action");
|
|
@@ -3240,54 +3240,54 @@ function qs(e, t) {
|
|
|
3240
3240
|
}
|
|
3241
3241
|
if (!s())
|
|
3242
3242
|
throw new Error("Attribute challengeurl not set.");
|
|
3243
|
-
|
|
3243
|
+
x("fetching challenge from", s());
|
|
3244
3244
|
const a = {
|
|
3245
3245
|
credentials: typeof d() == "boolean" ? "include" : d(),
|
|
3246
|
-
headers:
|
|
3247
|
-
},
|
|
3248
|
-
if (!
|
|
3246
|
+
headers: Le() !== !1 ? { "x-altcha-spam-filter": "1" } : {}
|
|
3247
|
+
}, f = await ia()(s(), a);
|
|
3248
|
+
if (!f || !(f instanceof Response))
|
|
3249
3249
|
throw new Error("Custom fetch function did not return a response.");
|
|
3250
|
-
if (
|
|
3251
|
-
throw new Error(`Server responded with ${
|
|
3252
|
-
const v =
|
|
3253
|
-
if (
|
|
3250
|
+
if (f.status !== 200)
|
|
3251
|
+
throw new Error(`Server responded with ${f.status}.`);
|
|
3252
|
+
const v = f.headers.get("X-Altcha-Config"), b = await f.json();
|
|
3253
|
+
if (pa(b.salt), v)
|
|
3254
3254
|
try {
|
|
3255
3255
|
const h = JSON.parse(v);
|
|
3256
|
-
h && typeof h == "object" && (h.verifyurl && !h.verifyurl.startsWith("fn:") && (h.verifyurl =
|
|
3256
|
+
h && typeof h == "object" && (h.verifyurl && !h.verifyurl.startsWith("fn:") && (h.verifyurl = la(h.verifyurl)), Ca(h));
|
|
3257
3257
|
} catch (h) {
|
|
3258
|
-
|
|
3258
|
+
x("unable to configure from X-Altcha-Config", h);
|
|
3259
3259
|
}
|
|
3260
3260
|
return b;
|
|
3261
3261
|
}
|
|
3262
3262
|
}
|
|
3263
|
-
function
|
|
3263
|
+
function nn(a) {
|
|
3264
3264
|
var v, b;
|
|
3265
|
-
const
|
|
3266
|
-
return ((b =
|
|
3265
|
+
const f = (v = o($)) == null ? void 0 : v.querySelector(typeof a == "string" ? `input[name="${a}"]` : 'input[type="email"]:not([data-no-spamfilter])');
|
|
3266
|
+
return ((b = f == null ? void 0 : f.value) == null ? void 0 : b.slice(f.value.indexOf("@"))) || void 0;
|
|
3267
3267
|
}
|
|
3268
|
-
function
|
|
3268
|
+
function ia() {
|
|
3269
3269
|
let a = fetch;
|
|
3270
3270
|
if (m())
|
|
3271
|
-
if (
|
|
3271
|
+
if (x("using customfetch"), typeof m() == "string") {
|
|
3272
3272
|
if (a = globalThis[m()] || null, !a)
|
|
3273
3273
|
throw new Error(`Custom fetch function not found: ${m()}`);
|
|
3274
3274
|
} else
|
|
3275
3275
|
a = m();
|
|
3276
3276
|
return a;
|
|
3277
3277
|
}
|
|
3278
|
-
function
|
|
3279
|
-
|
|
3278
|
+
function na(a, f = [
|
|
3279
|
+
De() || "",
|
|
3280
3280
|
document.documentElement.lang || "",
|
|
3281
3281
|
...navigator.languages
|
|
3282
3282
|
]) {
|
|
3283
|
-
const v = Object.keys(a).map((h) => h.toLowerCase()), b =
|
|
3284
|
-
(h,
|
|
3283
|
+
const v = Object.keys(a).map((h) => h.toLowerCase()), b = f.reduce(
|
|
3284
|
+
(h, _) => (_ = _.toLowerCase(), h || (a[_] ? _ : null) || v.find((L) => _.split("-")[0] === L.split("-")[0]) || null),
|
|
3285
3285
|
null
|
|
3286
3286
|
);
|
|
3287
3287
|
return a[b || "en"];
|
|
3288
3288
|
}
|
|
3289
|
-
function
|
|
3290
|
-
return
|
|
3289
|
+
function on() {
|
|
3290
|
+
return Le() === "ipAddress" ? {
|
|
3291
3291
|
blockedCountries: void 0,
|
|
3292
3292
|
classifier: void 0,
|
|
3293
3293
|
disableRules: void 0,
|
|
@@ -3298,7 +3298,7 @@ function qs(e, t) {
|
|
|
3298
3298
|
ipAddress: void 0,
|
|
3299
3299
|
text: void 0,
|
|
3300
3300
|
timeZone: void 0
|
|
3301
|
-
} : typeof
|
|
3301
|
+
} : typeof Le() == "object" ? Le() : {
|
|
3302
3302
|
blockedCountries: void 0,
|
|
3303
3303
|
classifier: void 0,
|
|
3304
3304
|
disableRules: void 0,
|
|
@@ -3311,168 +3311,168 @@ function qs(e, t) {
|
|
|
3311
3311
|
timeZone: void 0
|
|
3312
3312
|
};
|
|
3313
3313
|
}
|
|
3314
|
-
function
|
|
3314
|
+
function oa(a) {
|
|
3315
3315
|
var v;
|
|
3316
3316
|
return [
|
|
3317
3317
|
...((v = o($)) == null ? void 0 : v.querySelectorAll(a != null && a.length ? a.map((b) => `input[name="${b}"]`).join(", ") : 'input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')) || []
|
|
3318
3318
|
].reduce(
|
|
3319
3319
|
(b, h) => {
|
|
3320
|
-
const
|
|
3321
|
-
return
|
|
3322
|
-
`) :
|
|
3320
|
+
const _ = h.name, L = h.value;
|
|
3321
|
+
return _ && L && (b[_] = /\n/.test(L) ? L.replace(new RegExp("(?<!\\r)\\n", "g"), `\r
|
|
3322
|
+
`) : L), b;
|
|
3323
3323
|
},
|
|
3324
3324
|
{}
|
|
3325
3325
|
);
|
|
3326
3326
|
}
|
|
3327
|
-
function
|
|
3327
|
+
function la(a, f) {
|
|
3328
3328
|
const v = new URL(s() || location.origin), b = new URL(a, v);
|
|
3329
|
-
if (b.search || (b.search = v.search),
|
|
3330
|
-
for (const h in
|
|
3331
|
-
|
|
3329
|
+
if (b.search || (b.search = v.search), f)
|
|
3330
|
+
for (const h in f)
|
|
3331
|
+
f[h] !== void 0 && f[h] !== null && b.searchParams.set(h, f[h]);
|
|
3332
3332
|
return b.toString();
|
|
3333
3333
|
}
|
|
3334
|
-
function
|
|
3335
|
-
const a =
|
|
3336
|
-
for (const
|
|
3337
|
-
(!a || a.includes(
|
|
3338
|
-
el: o(
|
|
3334
|
+
function ln() {
|
|
3335
|
+
const a = Yt() !== void 0 ? Yt().split(",") : void 0;
|
|
3336
|
+
for (const f of globalThis.altchaPlugins)
|
|
3337
|
+
(!a || a.includes(f.pluginName)) && Fe.push(new f({
|
|
3338
|
+
el: o(q),
|
|
3339
3339
|
clarify: $t,
|
|
3340
|
-
dispatch:
|
|
3341
|
-
getConfiguration:
|
|
3342
|
-
getFloatingAnchor:
|
|
3343
|
-
getState:
|
|
3344
|
-
log:
|
|
3345
|
-
reset:
|
|
3346
|
-
solve:
|
|
3347
|
-
setState:
|
|
3348
|
-
setFloatingAnchor:
|
|
3349
|
-
verify:
|
|
3340
|
+
dispatch: He,
|
|
3341
|
+
getConfiguration: La,
|
|
3342
|
+
getFloatingAnchor: Ea,
|
|
3343
|
+
getState: xa,
|
|
3344
|
+
log: x,
|
|
3345
|
+
reset: rt,
|
|
3346
|
+
solve: wa,
|
|
3347
|
+
setState: Te,
|
|
3348
|
+
setFloatingAnchor: Ta,
|
|
3349
|
+
verify: $e
|
|
3350
3350
|
}));
|
|
3351
3351
|
}
|
|
3352
|
-
function
|
|
3353
|
-
(g() || a.some((
|
|
3352
|
+
function x(...a) {
|
|
3353
|
+
(g() || a.some((f) => f instanceof Error)) && console[a[0] instanceof Error ? "error" : "log"]("ALTCHA", `[name=${Ke()}]`, ...a);
|
|
3354
3354
|
}
|
|
3355
|
-
function
|
|
3356
|
-
y(
|
|
3357
|
-
}
|
|
3358
|
-
function sn(a) {
|
|
3359
|
-
y(U, ee.ERROR, !0);
|
|
3360
|
-
}
|
|
3361
|
-
function un() {
|
|
3362
|
-
y(U, ee.READY, !0);
|
|
3355
|
+
function sn() {
|
|
3356
|
+
y(G, te.PAUSED, !0);
|
|
3363
3357
|
}
|
|
3364
|
-
function fn() {
|
|
3365
|
-
y(
|
|
3358
|
+
function fn(a) {
|
|
3359
|
+
y(G, te.ERROR, !0);
|
|
3366
3360
|
}
|
|
3367
3361
|
function cn() {
|
|
3368
|
-
y(
|
|
3362
|
+
y(G, te.READY, !0);
|
|
3363
|
+
}
|
|
3364
|
+
function un() {
|
|
3365
|
+
y(G, te.LOADING, !0);
|
|
3369
3366
|
}
|
|
3370
3367
|
function dn() {
|
|
3371
|
-
y(
|
|
3368
|
+
y(G, te.PLAYING, !0);
|
|
3372
3369
|
}
|
|
3373
|
-
function hn(
|
|
3374
|
-
|
|
3375
|
-
|
|
3370
|
+
function hn() {
|
|
3371
|
+
y(G, te.PAUSED, !0);
|
|
3372
|
+
}
|
|
3373
|
+
function gn(a) {
|
|
3374
|
+
var f;
|
|
3375
|
+
if (a.preventDefault(), a.stopPropagation(), o(U)) {
|
|
3376
3376
|
const v = new FormData(a.target), b = String(v.get("code"));
|
|
3377
|
-
if ((
|
|
3377
|
+
if ((f = re()) != null && f.startsWith("fn:")) {
|
|
3378
3378
|
const h = re().replace(/^fn:/, "");
|
|
3379
|
-
if (
|
|
3379
|
+
if (x(`calling ${h} function instead of verifyurl`), !(h in globalThis))
|
|
3380
3380
|
throw new Error(`Global function "${h}" is undefined.`);
|
|
3381
3381
|
return globalThis[h]({
|
|
3382
|
-
challenge: o(
|
|
3382
|
+
challenge: o(U).challenge,
|
|
3383
3383
|
code: b,
|
|
3384
|
-
solution: o(
|
|
3384
|
+
solution: o(U).solution
|
|
3385
3385
|
});
|
|
3386
3386
|
}
|
|
3387
|
-
y(
|
|
3388
|
-
|
|
3389
|
-
var
|
|
3390
|
-
(
|
|
3391
|
-
})) : (
|
|
3387
|
+
y(tt, !0), ma(Jt(o(U).challenge, o(U).solution), b).then(({ reason: h, verified: _ }) => {
|
|
3388
|
+
_ ? (y(U, null), Te(k.VERIFIED), x("verified"), Sr().then(() => {
|
|
3389
|
+
var L;
|
|
3390
|
+
(L = o(Cr)) == null || L.focus(), He("verified", { payload: o(xe) }), n() === "onsubmit" ? ya(o(St)) : me() && Pt();
|
|
3391
|
+
})) : (rt(), y(et, h || "Verification failed", !0));
|
|
3392
3392
|
}).catch((h) => {
|
|
3393
|
-
y(
|
|
3393
|
+
y(U, null), Te(k.ERROR, h), x("sentinel verification failed:", h);
|
|
3394
3394
|
}).finally(() => {
|
|
3395
|
-
y(
|
|
3395
|
+
y(tt, !1);
|
|
3396
3396
|
});
|
|
3397
3397
|
}
|
|
3398
3398
|
}
|
|
3399
|
-
function
|
|
3399
|
+
function sa(a) {
|
|
3400
3400
|
var v;
|
|
3401
|
-
const
|
|
3402
|
-
|
|
3401
|
+
const f = a.target;
|
|
3402
|
+
T() && f && !o(q).contains(f) && (o(E) === k.VERIFIED && Q() === !1 || o(E) === k.VERIFIED && Q() === "focus" && !((v = o($)) != null && v.matches(":focus-within")) || n() === "off" && o(E) === k.UNVERIFIED) && Pt();
|
|
3403
3403
|
}
|
|
3404
|
-
function
|
|
3405
|
-
|
|
3404
|
+
function fa() {
|
|
3405
|
+
T() && o(E) !== k.UNVERIFIED && zt();
|
|
3406
3406
|
}
|
|
3407
|
-
function
|
|
3408
|
-
for (const
|
|
3409
|
-
typeof
|
|
3407
|
+
function vn(a) {
|
|
3408
|
+
for (const f of Fe)
|
|
3409
|
+
typeof f.onErrorChange == "function" && f.onErrorChange(o(et));
|
|
3410
3410
|
}
|
|
3411
|
-
function
|
|
3412
|
-
o(
|
|
3411
|
+
function ca(a) {
|
|
3412
|
+
o(E) === k.UNVERIFIED ? $e() : T() && Q() === "focus" && o(E) === k.VERIFIED && Xt();
|
|
3413
3413
|
}
|
|
3414
|
-
function
|
|
3414
|
+
function ua(a) {
|
|
3415
3415
|
var b;
|
|
3416
|
-
const
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
})) : o(
|
|
3420
|
-
}
|
|
3421
|
-
function ca() {
|
|
3422
|
-
Qe();
|
|
3416
|
+
const f = a.target;
|
|
3417
|
+
f != null && f.hasAttribute("data-code-challenge-form") || (y(St, a.submitter, !0), o($) && n() === "onsubmit" ? ((b = o(St)) == null || b.blur(), o(E) === k.UNVERIFIED ? (a.preventDefault(), a.stopPropagation(), $e().then(() => {
|
|
3418
|
+
ya(o(St));
|
|
3419
|
+
})) : o(E) !== k.VERIFIED && (a.preventDefault(), a.stopPropagation(), o(E) === k.VERIFYING && ha())) : o($) && T() && n() === "off" && o(E) === k.UNVERIFIED && (a.preventDefault(), a.stopPropagation(), Xt()));
|
|
3423
3420
|
}
|
|
3424
3421
|
function da() {
|
|
3425
|
-
|
|
3422
|
+
rt();
|
|
3426
3423
|
}
|
|
3427
3424
|
function ha() {
|
|
3428
|
-
o(
|
|
3425
|
+
o(E) === k.VERIFYING && o(z).waitAlert && alert(o(z).waitAlert);
|
|
3426
|
+
}
|
|
3427
|
+
function ga() {
|
|
3428
|
+
o(Oe) ? o(Oe).paused ? (o(Oe).currentTime = 0, o(Oe).play()) : o(Oe).pause() : (y(Lr, !0), requestAnimationFrame(() => {
|
|
3429
3429
|
var a;
|
|
3430
|
-
(a = o(
|
|
3430
|
+
(a = o(Oe)) == null || a.play();
|
|
3431
3431
|
}));
|
|
3432
3432
|
}
|
|
3433
|
-
function
|
|
3434
|
-
for (const
|
|
3435
|
-
typeof
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
}), y(
|
|
3433
|
+
function bn(a) {
|
|
3434
|
+
for (const f of Fe)
|
|
3435
|
+
typeof f.onStateChange == "function" && f.onStateChange(o(E));
|
|
3436
|
+
T() && o(E) !== k.UNVERIFIED && requestAnimationFrame(() => {
|
|
3437
|
+
zt();
|
|
3438
|
+
}), y(jt, o(E) === k.VERIFIED), me() && o(ue) && (o(E) !== k.UNVERIFIED ? Xt() : Pt());
|
|
3439
3439
|
}
|
|
3440
|
-
function
|
|
3441
|
-
|
|
3440
|
+
function va() {
|
|
3441
|
+
T() && zt();
|
|
3442
3442
|
}
|
|
3443
|
-
function
|
|
3443
|
+
function ba(a) {
|
|
3444
3444
|
return JSON.parse(a);
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3446
|
+
function pa(a) {
|
|
3447
3447
|
var b;
|
|
3448
|
-
const
|
|
3448
|
+
const f = new URLSearchParams((b = a.split("?")) == null ? void 0 : b[1]), v = f.get("expires") || f.get("expire");
|
|
3449
3449
|
if (v) {
|
|
3450
|
-
const h = new Date(+v * 1e3),
|
|
3451
|
-
|
|
3452
|
-
} else
|
|
3450
|
+
const h = new Date(+v * 1e3), _ = isNaN(h.getTime()) ? 0 : h.getTime() - Date.now();
|
|
3451
|
+
_ > 0 && Er(_);
|
|
3452
|
+
} else Ee && (clearTimeout(Ee), Ee = null);
|
|
3453
3453
|
}
|
|
3454
|
-
async function
|
|
3454
|
+
async function pn(a) {
|
|
3455
3455
|
if (!re())
|
|
3456
3456
|
throw new Error("Attribute verifyurl not set.");
|
|
3457
|
-
|
|
3458
|
-
const
|
|
3459
|
-
if (
|
|
3457
|
+
x("requesting server verification from", re());
|
|
3458
|
+
const f = { payload: a };
|
|
3459
|
+
if (Le() !== !1) {
|
|
3460
3460
|
const {
|
|
3461
3461
|
blockedCountries: h,
|
|
3462
|
-
classifier:
|
|
3463
|
-
disableRules:
|
|
3464
|
-
email:
|
|
3465
|
-
expectedLanguages:
|
|
3466
|
-
expectedCountries:
|
|
3462
|
+
classifier: _,
|
|
3463
|
+
disableRules: L,
|
|
3464
|
+
email: B,
|
|
3465
|
+
expectedLanguages: H,
|
|
3466
|
+
expectedCountries: ee,
|
|
3467
3467
|
fields: le,
|
|
3468
|
-
ipAddress:
|
|
3469
|
-
text:
|
|
3470
|
-
timeZone:
|
|
3471
|
-
} =
|
|
3472
|
-
|
|
3468
|
+
ipAddress: it,
|
|
3469
|
+
text: pt,
|
|
3470
|
+
timeZone: nt
|
|
3471
|
+
} = on();
|
|
3472
|
+
f.blockedCountries = h, f.classifier = _, f.disableRules = L, f.email = B === !1 ? void 0 : nn(B), f.expectedCountries = ee, f.expectedLanguages = H || (ta ? [ta] : void 0), f.fields = le === !1 ? void 0 : oa(le), f.ipAddress = it === !1 ? void 0 : it || "auto", f.text = pt, f.timeZone = nt === !1 ? void 0 : nt || ei();
|
|
3473
3473
|
}
|
|
3474
|
-
const v = await
|
|
3475
|
-
body: JSON.stringify(
|
|
3474
|
+
const v = await ia()(re(), {
|
|
3475
|
+
body: JSON.stringify(f),
|
|
3476
3476
|
headers: { "content-type": "application/json" },
|
|
3477
3477
|
method: "POST"
|
|
3478
3478
|
});
|
|
@@ -3481,15 +3481,15 @@ function qs(e, t) {
|
|
|
3481
3481
|
if (v.status !== 200)
|
|
3482
3482
|
throw new Error(`Server responded with ${v.status}.`);
|
|
3483
3483
|
const b = await v.json();
|
|
3484
|
-
if (b != null && b.payload && y(
|
|
3484
|
+
if (b != null && b.payload && y(xe, b.payload, !0), He("serververification", b), c() && b.classification === "BAD")
|
|
3485
3485
|
throw new Error("SpamFilter returned negative classification.");
|
|
3486
3486
|
}
|
|
3487
|
-
async function
|
|
3487
|
+
async function ma(a, f) {
|
|
3488
3488
|
if (!re())
|
|
3489
3489
|
throw new Error("Attribute verifyurl not set.");
|
|
3490
|
-
|
|
3491
|
-
const v = { code:
|
|
3492
|
-
|
|
3490
|
+
x("requesting sentinel verification from", re());
|
|
3491
|
+
const v = { code: f, payload: a };
|
|
3492
|
+
Xe() && (v.fields = Xe().fields ? oa() : void 0, v.timeZone = Xe().timeZone ? ei() : void 0);
|
|
3493
3493
|
const b = await fetch(re(), {
|
|
3494
3494
|
body: JSON.stringify(v),
|
|
3495
3495
|
headers: { "content-type": "application/json" },
|
|
@@ -3500,667 +3500,676 @@ function qs(e, t) {
|
|
|
3500
3500
|
if (b.status !== 200)
|
|
3501
3501
|
throw new Error(`Server responded with ${b.status}.`);
|
|
3502
3502
|
const h = await b.json();
|
|
3503
|
-
return h != null && h.payload && y(
|
|
3504
|
-
}
|
|
3505
|
-
function ma(a) {
|
|
3506
|
-
var u;
|
|
3507
|
-
o($) && "requestSubmit" in o($) ? o($).requestSubmit(a) : (u = o($)) != null && u.reportValidity() && (a ? a.click() : o($).submit());
|
|
3508
|
-
}
|
|
3509
|
-
function Lr(a) {
|
|
3510
|
-
T("expire", a), xe && (clearTimeout(xe), xe = null), a < 1 ? ra() : xe = setTimeout(ra, a);
|
|
3503
|
+
return h != null && h.payload && y(xe, h.payload, !0), He("sentinelverification", h), h;
|
|
3511
3504
|
}
|
|
3512
3505
|
function ya(a) {
|
|
3513
|
-
|
|
3506
|
+
var f;
|
|
3507
|
+
o($) && "requestSubmit" in o($) ? o($).requestSubmit(a) : (f = o($)) != null && f.reportValidity() && (a ? a.click() : o($).submit());
|
|
3508
|
+
}
|
|
3509
|
+
function Er(a) {
|
|
3510
|
+
x("expire", a), Ee && (clearTimeout(Ee), Ee = null), a < 1 ? aa() : Ee = setTimeout(aa, a);
|
|
3514
3511
|
}
|
|
3515
3512
|
function Aa(a) {
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3513
|
+
x("floating", a), T() !== a && (o(q).style.left = "", o(q).style.top = ""), T(a === !0 || a === "" ? "auto" : a === !1 || a === "false" ? void 0 : T()), T() ? (n() || n("onsubmit"), document.addEventListener("scroll", fa), document.addEventListener("click", sa), window.addEventListener("resize", va)) : n() === "onsubmit" && n(void 0);
|
|
3514
|
+
}
|
|
3515
|
+
function ka(a) {
|
|
3516
|
+
var f, v;
|
|
3517
|
+
if (x("overlay", a), me(a), a) {
|
|
3518
|
+
if (n() || n("onsubmit"), o(ue) && o(q).parentElement && o(ue).replaceWith(o(q).parentElement), (v = (f = o(q)) == null ? void 0 : f.parentElement) != null && v.parentElement) {
|
|
3519
|
+
y(ue, document.createElement("div"), !0), o(q).parentElement.parentElement.appendChild(o(ue));
|
|
3520
3520
|
const b = document.createElement("div"), h = document.createElement("button");
|
|
3521
|
-
h.type = "button", h.innerHTML = "×", h.addEventListener("click", (
|
|
3522
|
-
|
|
3523
|
-
}), o(
|
|
3521
|
+
h.type = "button", h.innerHTML = "×", h.addEventListener("click", (_) => {
|
|
3522
|
+
_.preventDefault(), rt();
|
|
3523
|
+
}), o(ue).classList.add("altcha-overlay-backdrop"), h.classList.add("altcha-overlay-close-button"), b.classList.add("altcha-overlay"), o(ue).append(b), b.append(h), It() && b.append(...document.querySelectorAll(It())), b.append(o(q).parentElement);
|
|
3524
3524
|
}
|
|
3525
|
-
} else o(
|
|
3525
|
+
} else o(ue) && o(q).parentElement && (o(ue).replaceWith(o(q).parentElement), o(q).style.display = "block");
|
|
3526
3526
|
}
|
|
3527
|
-
function
|
|
3527
|
+
function _a(a) {
|
|
3528
3528
|
if (!a.algorithm)
|
|
3529
3529
|
throw new Error("Invalid challenge. Property algorithm is missing.");
|
|
3530
3530
|
if (a.signature === void 0)
|
|
3531
3531
|
throw new Error("Invalid challenge. Property signature is missing.");
|
|
3532
|
-
if (!
|
|
3533
|
-
throw new Error(`Unknown algorithm value. Allowed values: ${
|
|
3532
|
+
if (!ea.includes(a.algorithm.toUpperCase()))
|
|
3533
|
+
throw new Error(`Unknown algorithm value. Allowed values: ${ea.join(", ")}`);
|
|
3534
3534
|
if (!a.challenge || a.challenge.length < 40)
|
|
3535
3535
|
throw new Error("Challenge is too short. Min. 40 chars.");
|
|
3536
3536
|
if (!a.salt || a.salt.length < 10)
|
|
3537
3537
|
throw new Error("Salt is too short. Min. 10 chars.");
|
|
3538
3538
|
}
|
|
3539
|
-
async function
|
|
3540
|
-
let
|
|
3539
|
+
async function wa(a) {
|
|
3540
|
+
let f = null, v = null;
|
|
3541
3541
|
if ("Worker" in window) {
|
|
3542
3542
|
try {
|
|
3543
|
-
|
|
3543
|
+
f = mn(a, a.maxNumber || a.maxnumber || Je()), y(Qe, f.controller, !0), v = await f.promise;
|
|
3544
3544
|
} catch (b) {
|
|
3545
|
-
|
|
3545
|
+
x(b);
|
|
3546
3546
|
} finally {
|
|
3547
|
-
y(
|
|
3547
|
+
y(Qe, null);
|
|
3548
3548
|
}
|
|
3549
3549
|
if (v === null || (v == null ? void 0 : v.number) !== void 0 || "obfuscated" in a)
|
|
3550
3550
|
return { data: a, solution: v };
|
|
3551
3551
|
}
|
|
3552
3552
|
if ("obfuscated" in a) {
|
|
3553
|
-
const b = await
|
|
3553
|
+
const b = await As(a.obfuscated, a.key, a.maxNumber || a.maxnumber);
|
|
3554
3554
|
return { data: a, solution: await b.promise };
|
|
3555
3555
|
}
|
|
3556
|
-
|
|
3556
|
+
f = ps(a.challenge, a.salt, a.algorithm, a.maxNumber || a.maxnumber || Je()), y(Qe, f.controller, !0);
|
|
3557
3557
|
try {
|
|
3558
|
-
v = await
|
|
3558
|
+
v = await f.promise;
|
|
3559
3559
|
} catch (b) {
|
|
3560
|
-
|
|
3560
|
+
x(b);
|
|
3561
3561
|
} finally {
|
|
3562
|
-
y(
|
|
3562
|
+
y(Qe, null);
|
|
3563
3563
|
}
|
|
3564
3564
|
return { data: a, solution: v };
|
|
3565
3565
|
}
|
|
3566
|
-
function
|
|
3566
|
+
function mn(a, f = typeof ge() == "number" ? ge() : a.maxNumber || a.maxnumber || Je(), v = Math.ceil(gt())) {
|
|
3567
3567
|
const b = new AbortController(), h = [];
|
|
3568
|
-
v = Math.min(16,
|
|
3569
|
-
for (let
|
|
3570
|
-
h.push(altchaCreateWorker(
|
|
3571
|
-
const
|
|
3568
|
+
v = Math.min(16, f, Math.max(1, v));
|
|
3569
|
+
for (let B = 0; B < v; B++)
|
|
3570
|
+
h.push(altchaCreateWorker(Vt()));
|
|
3571
|
+
const _ = Math.ceil(f / v);
|
|
3572
3572
|
return { promise: (async () => {
|
|
3573
|
-
const
|
|
3574
|
-
const le =
|
|
3573
|
+
const B = await Promise.all(h.map((H, ee) => {
|
|
3574
|
+
const le = ee * _;
|
|
3575
3575
|
return b.signal.addEventListener("abort", () => {
|
|
3576
|
-
|
|
3577
|
-
}), new Promise((
|
|
3578
|
-
|
|
3579
|
-
if (
|
|
3580
|
-
for (const
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
}),
|
|
3576
|
+
H.postMessage({ type: "abort" });
|
|
3577
|
+
}), new Promise((it) => {
|
|
3578
|
+
H.addEventListener("message", (pt) => {
|
|
3579
|
+
if (pt.data)
|
|
3580
|
+
for (const nt of h)
|
|
3581
|
+
nt !== H && nt.postMessage({ type: "abort" });
|
|
3582
|
+
it(pt.data);
|
|
3583
|
+
}), H.postMessage({
|
|
3584
3584
|
payload: a,
|
|
3585
|
-
max: le +
|
|
3585
|
+
max: le + _,
|
|
3586
3586
|
start: le,
|
|
3587
3587
|
type: "work"
|
|
3588
3588
|
});
|
|
3589
3589
|
});
|
|
3590
3590
|
}));
|
|
3591
|
-
for (const
|
|
3592
|
-
|
|
3593
|
-
return
|
|
3591
|
+
for (const H of h)
|
|
3592
|
+
H.terminate();
|
|
3593
|
+
return B.find((H) => !!H) || null;
|
|
3594
3594
|
})(), controller: b };
|
|
3595
3595
|
}
|
|
3596
3596
|
async function $t() {
|
|
3597
|
-
if (!
|
|
3598
|
-
|
|
3597
|
+
if (!qe()) {
|
|
3598
|
+
Te(k.ERROR);
|
|
3599
3599
|
return;
|
|
3600
3600
|
}
|
|
3601
|
-
const a =
|
|
3601
|
+
const a = Fe.find((f) => f.constructor.pluginName === "obfuscation");
|
|
3602
3602
|
if (!a || !("clarify" in a)) {
|
|
3603
|
-
|
|
3603
|
+
Te(k.ERROR), x("Plugin `obfuscation` not found. Import `altcha/plugins/obfuscation` to load it.");
|
|
3604
3604
|
return;
|
|
3605
3605
|
}
|
|
3606
3606
|
if ("clarify" in a && typeof a.clarify == "function")
|
|
3607
3607
|
return a.clarify();
|
|
3608
3608
|
}
|
|
3609
|
-
function
|
|
3610
|
-
a.obfuscated !== void 0 &&
|
|
3609
|
+
function Ca(a) {
|
|
3610
|
+
a.obfuscated !== void 0 && qe(a.obfuscated), a.auto !== void 0 && (n(a.auto), n() === "onload" && (qe() ? $t() : $e())), a.blockspam !== void 0 && c(!!a.blockspam), a.customfetch !== void 0 && m(a.customfetch), a.floatinganchor !== void 0 && X(a.floatinganchor), a.delay !== void 0 && p(a.delay), a.floatingoffset !== void 0 && oe(a.floatingoffset), a.floating !== void 0 && Aa(a.floating), a.expire !== void 0 && (Er(a.expire), O(a.expire)), a.challenge && (u(typeof a.challenge == "string" ? a.challenge : JSON.stringify(a.challenge)), _a(o(Kt))), a.challengeurl !== void 0 && s(a.challengeurl), a.debug !== void 0 && g(!!a.debug), a.hidefooter !== void 0 && Se(!!a.hidefooter), a.hidelogo !== void 0 && F(!!a.hidelogo), a.language !== void 0 && ht(na(l(), [a.language])), a.maxnumber !== void 0 && Je(+a.maxnumber), a.mockerror !== void 0 && Tt(!!a.mockerror), a.name !== void 0 && Ke(a.name), a.overlaycontent !== void 0 && It(a.overlaycontent), a.overlay !== void 0 && ka(a.overlay), a.refetchonexpire !== void 0 && S(!a.refetchonexpire), a.disablerefetchonexpire !== void 0 && S(!a.disablerefetchonexpire), a.sentinel !== void 0 && typeof a.sentinel == "object" && Xe(a.sentinel), a.spamfilter !== void 0 && Le(typeof a.spamfilter == "object" ? a.spamfilter : !!a.spamfilter), a.strings && ht(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 && re(a.verifyurl), a.workers !== void 0 && gt(+a.workers), a.workerurl !== void 0 && Vt(a.workerurl);
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3612
|
+
function La() {
|
|
3613
3613
|
return {
|
|
3614
3614
|
auto: n(),
|
|
3615
|
-
blockspam:
|
|
3615
|
+
blockspam: c(),
|
|
3616
3616
|
challengeurl: s(),
|
|
3617
3617
|
debug: g(),
|
|
3618
3618
|
delay: p(),
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3619
|
+
disableautofocus: A(),
|
|
3620
|
+
disablerefetchonexpire: S(),
|
|
3621
|
+
expire: O(),
|
|
3622
|
+
floating: T(),
|
|
3623
|
+
floatinganchor: X(),
|
|
3624
|
+
floatingoffset: oe(),
|
|
3625
|
+
hidefooter: Se(),
|
|
3626
|
+
hidelogo: F(),
|
|
3627
|
+
name: Ke(),
|
|
3628
|
+
maxnumber: Je(),
|
|
3629
|
+
mockerror: Tt(),
|
|
3630
|
+
obfuscated: qe(),
|
|
3631
|
+
overlay: me(),
|
|
3632
|
+
refetchonexpire: !S(),
|
|
3633
|
+
spamfilter: Le(),
|
|
3634
|
+
strings: o(z),
|
|
3635
|
+
test: ge(),
|
|
3634
3636
|
verifyurl: re(),
|
|
3635
|
-
workers:
|
|
3636
|
-
workerurl:
|
|
3637
|
+
workers: gt(),
|
|
3638
|
+
workerurl: Vt()
|
|
3637
3639
|
};
|
|
3638
3640
|
}
|
|
3639
|
-
function
|
|
3640
|
-
return o(
|
|
3641
|
+
function Ea() {
|
|
3642
|
+
return o(vt);
|
|
3641
3643
|
}
|
|
3642
|
-
function
|
|
3643
|
-
return
|
|
3644
|
+
function yn(a) {
|
|
3645
|
+
return Fe.find((f) => f.constructor.pluginName === a);
|
|
3644
3646
|
}
|
|
3645
|
-
function
|
|
3646
|
-
return o(
|
|
3647
|
+
function xa() {
|
|
3648
|
+
return o(E);
|
|
3647
3649
|
}
|
|
3648
|
-
function
|
|
3649
|
-
o(
|
|
3650
|
+
function Pt() {
|
|
3651
|
+
o(q).style.display = "none", me() && o(ue) && (o(ue).style.display = "none");
|
|
3650
3652
|
}
|
|
3651
|
-
function
|
|
3652
|
-
var
|
|
3653
|
-
if (o(
|
|
3654
|
-
if (o(
|
|
3655
|
-
const v = parseInt(
|
|
3656
|
-
if (
|
|
3657
|
-
const
|
|
3658
|
-
o(
|
|
3653
|
+
function zt(a = 20) {
|
|
3654
|
+
var f;
|
|
3655
|
+
if (o(q))
|
|
3656
|
+
if (o(vt) || y(vt, (X() ? document.querySelector(X()) : (f = o($)) == null ? void 0 : f.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])')) || o($), !0), o(vt)) {
|
|
3657
|
+
const v = parseInt(oe(), 10) || 12, b = o(vt).getBoundingClientRect(), h = o(q).getBoundingClientRect(), _ = document.documentElement.clientHeight, L = document.documentElement.clientWidth, B = T() === "auto" ? b.bottom + h.height + v + a > _ : T() === "top", H = Math.max(a, Math.min(L - a - h.width, b.left + b.width / 2 - h.width / 2));
|
|
3658
|
+
if (B ? o(q).style.top = `${b.top - (h.height + v)}px` : o(q).style.top = `${b.bottom + v}px`, o(q).style.left = `${H}px`, o(q).setAttribute("data-floating", B ? "top" : "bottom"), o(Rt)) {
|
|
3659
|
+
const ee = o(Rt).getBoundingClientRect();
|
|
3660
|
+
o(Rt).style.left = b.left - H + b.width / 2 - ee.width / 2 + "px";
|
|
3659
3661
|
}
|
|
3660
3662
|
} else
|
|
3661
|
-
|
|
3663
|
+
x("unable to find floating anchor element");
|
|
3662
3664
|
}
|
|
3663
|
-
function
|
|
3664
|
-
o(
|
|
3665
|
+
function rt(a = k.UNVERIFIED, f = null) {
|
|
3666
|
+
o(Qe) && (o(Qe).abort(), y(Qe, null)), y(jt, !1), y(xe, null), y(U, null), y(Lr, !1), y(G, null), Te(a, f);
|
|
3665
3667
|
}
|
|
3666
|
-
function
|
|
3667
|
-
y(
|
|
3668
|
+
function Ta(a) {
|
|
3669
|
+
y(vt, a, !0);
|
|
3668
3670
|
}
|
|
3669
|
-
function
|
|
3670
|
-
y(
|
|
3671
|
-
payload: o(
|
|
3672
|
-
state: o(
|
|
3671
|
+
function Te(a, f = null) {
|
|
3672
|
+
y(E, a, !0), y(et, f, !0), He("statechange", {
|
|
3673
|
+
payload: o(xe),
|
|
3674
|
+
state: o(E)
|
|
3673
3675
|
});
|
|
3674
3676
|
}
|
|
3675
|
-
function
|
|
3676
|
-
o(
|
|
3677
|
+
function Xt() {
|
|
3678
|
+
o(q).style.display = "block", T() && zt(), me() && o(ue) && (o(ue).style.display = "flex");
|
|
3677
3679
|
}
|
|
3678
|
-
async function
|
|
3679
|
-
return
|
|
3680
|
+
async function $e() {
|
|
3681
|
+
return rt(k.VERIFYING), await new Promise((a) => setTimeout(a, p() || 0)), an().then((a) => (_a(a), x("challenge", a), wa(a))).then(({ data: a, solution: f }) => {
|
|
3680
3682
|
var v;
|
|
3681
|
-
if (
|
|
3682
|
-
if ((
|
|
3683
|
+
if (x("solution", f), !f || a && "challenge" in a && !("clearText" in f)) {
|
|
3684
|
+
if ((f == null ? void 0 : f.number) !== void 0 && "challenge" in a)
|
|
3683
3685
|
if (re() && "codeChallenge" in a)
|
|
3684
|
-
["INPUT", "BUTTON", "SELECT", "TEXTAREA"].includes(((v = document.activeElement) == null ? void 0 : v.tagName) || "") && A() === !1 && document.activeElement.blur(), y(
|
|
3686
|
+
["INPUT", "BUTTON", "SELECT", "TEXTAREA"].includes(((v = document.activeElement) == null ? void 0 : v.tagName) || "") && A() === !1 && document.activeElement.blur(), y(U, { challenge: a, solution: f }, !0);
|
|
3685
3687
|
else {
|
|
3686
|
-
if (re() &&
|
|
3687
|
-
return
|
|
3688
|
+
if (re() && Xe() !== void 0)
|
|
3689
|
+
return ma(Jt(a, f));
|
|
3688
3690
|
if (re())
|
|
3689
|
-
return
|
|
3690
|
-
y(
|
|
3691
|
+
return pn(Jt(a, f));
|
|
3692
|
+
y(xe, Jt(a, f), !0), x("payload", o(xe));
|
|
3691
3693
|
}
|
|
3692
|
-
else if (o(
|
|
3693
|
-
throw
|
|
3694
|
+
else if (o(E) !== k.EXPIRED)
|
|
3695
|
+
throw x("Unable to find a solution. Ensure that the 'maxnumber' attribute is greater than the randomly generated number."), new Error("Unexpected result returned.");
|
|
3694
3696
|
}
|
|
3695
3697
|
}).then(() => {
|
|
3696
|
-
o(
|
|
3697
|
-
|
|
3698
|
-
})) : o(
|
|
3699
|
-
|
|
3698
|
+
o(U) ? (Te(k.CODE), Sr().then(() => {
|
|
3699
|
+
He("code", { codeChallenge: o(U) });
|
|
3700
|
+
})) : o(xe) && (Te(k.VERIFIED), x("verified"), Sr().then(() => {
|
|
3701
|
+
He("verified", { payload: o(xe) }), me() && Pt();
|
|
3700
3702
|
}));
|
|
3701
3703
|
}).catch((a) => {
|
|
3702
|
-
|
|
3704
|
+
x(a), Te(k.ERROR, a.message);
|
|
3703
3705
|
});
|
|
3704
3706
|
}
|
|
3705
|
-
var
|
|
3706
|
-
|
|
3707
|
-
var
|
|
3708
|
-
let
|
|
3709
|
-
var
|
|
3707
|
+
var Ia = qs(), Va = qt(Ia);
|
|
3708
|
+
Uo(Va, t, "default", {});
|
|
3709
|
+
var bt = K(Va, 2), xr = Y(bt), Qt = Y(xr);
|
|
3710
|
+
let ja;
|
|
3711
|
+
var Ra = Y(Qt);
|
|
3710
3712
|
{
|
|
3711
|
-
var
|
|
3713
|
+
var An = (a) => {
|
|
3712
3714
|
$r(a);
|
|
3713
3715
|
};
|
|
3714
|
-
|
|
3715
|
-
o(
|
|
3716
|
+
J(Ra, (a) => {
|
|
3717
|
+
o(E) === k.VERIFYING && a(An);
|
|
3716
3718
|
});
|
|
3717
3719
|
}
|
|
3718
|
-
var
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3720
|
+
var at = K(Ra, 2);
|
|
3721
|
+
Ya(at), at.__change = [
|
|
3722
|
+
Cs,
|
|
3723
|
+
E,
|
|
3724
|
+
Le,
|
|
3723
3725
|
$,
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
+
jt,
|
|
3727
|
+
qe,
|
|
3726
3728
|
$t,
|
|
3727
|
-
|
|
3728
|
-
],
|
|
3729
|
-
var
|
|
3729
|
+
$e
|
|
3730
|
+
], ar(at, (a) => y(Cr, a), () => o(Cr)), Z(Qt);
|
|
3731
|
+
var er = K(Qt, 2), kn = Y(er);
|
|
3730
3732
|
{
|
|
3731
|
-
var
|
|
3732
|
-
var
|
|
3733
|
-
|
|
3734
|
-
},
|
|
3733
|
+
var _n = (a) => {
|
|
3734
|
+
var f = rr(), v = qt(f);
|
|
3735
|
+
ot(v, () => o(z).verified), M(a, f);
|
|
3736
|
+
}, wn = (a, f) => {
|
|
3735
3737
|
{
|
|
3736
3738
|
var v = (h) => {
|
|
3737
|
-
var
|
|
3738
|
-
|
|
3739
|
-
}, b = (h,
|
|
3739
|
+
var _ = rr(), L = qt(_);
|
|
3740
|
+
ot(L, () => o(z).verifying), M(h, _);
|
|
3741
|
+
}, b = (h, _) => {
|
|
3740
3742
|
{
|
|
3741
|
-
var
|
|
3742
|
-
var
|
|
3743
|
-
|
|
3744
|
-
},
|
|
3745
|
-
var
|
|
3746
|
-
|
|
3743
|
+
var L = (H) => {
|
|
3744
|
+
var ee = rr(), le = qt(ee);
|
|
3745
|
+
ot(le, () => o(z).verificationRequired), M(H, ee);
|
|
3746
|
+
}, B = (H) => {
|
|
3747
|
+
var ee = rr(), le = qt(ee);
|
|
3748
|
+
ot(le, () => o(z).label), M(H, ee);
|
|
3747
3749
|
};
|
|
3748
|
-
|
|
3750
|
+
J(
|
|
3749
3751
|
h,
|
|
3750
|
-
(
|
|
3751
|
-
o(
|
|
3752
|
+
(H) => {
|
|
3753
|
+
o(E) === k.CODE ? H(L) : H(B, !1);
|
|
3752
3754
|
},
|
|
3753
|
-
|
|
3755
|
+
_
|
|
3754
3756
|
);
|
|
3755
3757
|
}
|
|
3756
3758
|
};
|
|
3757
|
-
|
|
3759
|
+
J(
|
|
3758
3760
|
a,
|
|
3759
3761
|
(h) => {
|
|
3760
|
-
o(
|
|
3762
|
+
o(E) === k.VERIFYING ? h(v) : h(b, !1);
|
|
3761
3763
|
},
|
|
3762
|
-
|
|
3764
|
+
f
|
|
3763
3765
|
);
|
|
3764
3766
|
}
|
|
3765
3767
|
};
|
|
3766
|
-
|
|
3767
|
-
o(
|
|
3768
|
+
J(kn, (a) => {
|
|
3769
|
+
o(E) === k.VERIFIED ? a(_n) : a(wn, !1);
|
|
3768
3770
|
});
|
|
3769
3771
|
}
|
|
3770
|
-
|
|
3771
|
-
var
|
|
3772
|
+
Z(er);
|
|
3773
|
+
var Sa = K(er, 2);
|
|
3772
3774
|
{
|
|
3773
|
-
var
|
|
3774
|
-
var
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
}),
|
|
3775
|
+
var Cn = (a) => {
|
|
3776
|
+
var f = Es();
|
|
3777
|
+
Ya(f), Ie(() => {
|
|
3778
|
+
I(f, "name", Ke()), Ko(f, o(xe));
|
|
3779
|
+
}), M(a, f);
|
|
3778
3780
|
};
|
|
3779
|
-
|
|
3780
|
-
o(
|
|
3781
|
+
J(Sa, (a) => {
|
|
3782
|
+
o(E) === k.VERIFIED && a(Cn);
|
|
3781
3783
|
});
|
|
3782
3784
|
}
|
|
3783
|
-
var $a =
|
|
3785
|
+
var $a = K(Sa, 2);
|
|
3784
3786
|
{
|
|
3785
|
-
var
|
|
3786
|
-
var
|
|
3787
|
-
|
|
3787
|
+
var Ln = (a) => {
|
|
3788
|
+
var f = xs(), v = Y(f);
|
|
3789
|
+
I(v, "href", en), Z(f), Ie(() => I(v, "aria-label", o(z).ariaLinkLabel)), M(a, f);
|
|
3788
3790
|
};
|
|
3789
|
-
|
|
3790
|
-
(
|
|
3791
|
+
J($a, (a) => {
|
|
3792
|
+
(F() !== !0 || o(wr)) && a(Ln);
|
|
3791
3793
|
});
|
|
3792
3794
|
}
|
|
3793
|
-
var
|
|
3795
|
+
var En = K($a, 2);
|
|
3794
3796
|
{
|
|
3795
|
-
var
|
|
3796
|
-
var
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3797
|
+
var xn = (a) => {
|
|
3798
|
+
var f = Ss(), v = K(Y(f), 2), b = Y(v), h = K(b, 2);
|
|
3799
|
+
Do(h, !A()), h.__keydown = [
|
|
3800
|
+
_s,
|
|
3801
|
+
ga
|
|
3800
3802
|
];
|
|
3801
|
-
var
|
|
3803
|
+
var _ = K(h, 2), L = Y(_), B = Y(L);
|
|
3802
3804
|
{
|
|
3803
|
-
var
|
|
3804
|
-
var
|
|
3805
|
-
|
|
3806
|
-
var
|
|
3805
|
+
var H = (ye) => {
|
|
3806
|
+
var W = js();
|
|
3807
|
+
W.__click = ga;
|
|
3808
|
+
var tr = Y(W);
|
|
3807
3809
|
{
|
|
3808
|
-
var
|
|
3809
|
-
$r(
|
|
3810
|
-
},
|
|
3810
|
+
var Nt = (mt) => {
|
|
3811
|
+
$r(mt, () => 20);
|
|
3812
|
+
}, Pn = (mt, zn) => {
|
|
3811
3813
|
{
|
|
3812
|
-
var
|
|
3813
|
-
var
|
|
3814
|
-
|
|
3815
|
-
},
|
|
3814
|
+
var Nn = (yt) => {
|
|
3815
|
+
var Tr = Ts();
|
|
3816
|
+
M(yt, Tr);
|
|
3817
|
+
}, Dn = (yt, Tr) => {
|
|
3816
3818
|
{
|
|
3817
|
-
var
|
|
3818
|
-
var
|
|
3819
|
-
|
|
3820
|
-
},
|
|
3821
|
-
var
|
|
3822
|
-
|
|
3819
|
+
var qn = (At) => {
|
|
3820
|
+
var Ir = Is();
|
|
3821
|
+
M(At, Ir);
|
|
3822
|
+
}, Hn = (At) => {
|
|
3823
|
+
var Ir = Vs();
|
|
3824
|
+
M(At, Ir);
|
|
3823
3825
|
};
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
(
|
|
3827
|
-
o(
|
|
3826
|
+
J(
|
|
3827
|
+
yt,
|
|
3828
|
+
(At) => {
|
|
3829
|
+
o(G) === te.PLAYING ? At(qn) : At(Hn, !1);
|
|
3828
3830
|
},
|
|
3829
|
-
|
|
3831
|
+
Tr
|
|
3830
3832
|
);
|
|
3831
3833
|
}
|
|
3832
3834
|
};
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
(
|
|
3836
|
-
o(
|
|
3835
|
+
J(
|
|
3836
|
+
mt,
|
|
3837
|
+
(yt) => {
|
|
3838
|
+
o(G) === te.ERROR ? yt(Nn) : yt(Dn, !1);
|
|
3837
3839
|
},
|
|
3838
|
-
|
|
3840
|
+
zn
|
|
3839
3841
|
);
|
|
3840
3842
|
}
|
|
3841
3843
|
};
|
|
3842
|
-
|
|
3843
|
-
o(
|
|
3844
|
+
J(tr, (mt) => {
|
|
3845
|
+
o(G) === te.LOADING ? mt(Nt) : mt(Pn, !1);
|
|
3844
3846
|
});
|
|
3845
3847
|
}
|
|
3846
|
-
W
|
|
3847
|
-
|
|
3848
|
-
}),
|
|
3848
|
+
Z(W), Ie(() => {
|
|
3849
|
+
I(W, "title", o(z).getAudioChallenge), W.disabled = o(G) === te.LOADING || o(G) === te.ERROR || o(tt), I(W, "aria-label", o(G) === te.LOADING ? o(z).loading : o(z).getAudioChallenge);
|
|
3850
|
+
}), M(ye, W);
|
|
3849
3851
|
};
|
|
3850
|
-
|
|
3851
|
-
o(
|
|
3852
|
+
J(B, (ye) => {
|
|
3853
|
+
o(U).challenge.codeChallenge.audio && ye(H);
|
|
3852
3854
|
});
|
|
3853
3855
|
}
|
|
3854
|
-
var
|
|
3855
|
-
|
|
3856
|
-
var le =
|
|
3856
|
+
var ee = K(B, 2);
|
|
3857
|
+
ee.__click = [ws, $e], Z(L);
|
|
3858
|
+
var le = K(L, 2), it = Y(le);
|
|
3857
3859
|
{
|
|
3858
|
-
var
|
|
3859
|
-
$r(
|
|
3860
|
+
var pt = (ye) => {
|
|
3861
|
+
$r(ye, () => 16);
|
|
3860
3862
|
};
|
|
3861
|
-
|
|
3862
|
-
o(
|
|
3863
|
+
J(it, (ye) => {
|
|
3864
|
+
o(tt) && ye(pt);
|
|
3863
3865
|
});
|
|
3864
3866
|
}
|
|
3865
|
-
var
|
|
3866
|
-
|
|
3867
|
-
var
|
|
3867
|
+
var nt = K(it);
|
|
3868
|
+
Z(le), Z(_);
|
|
3869
|
+
var Sn = K(_, 2);
|
|
3868
3870
|
{
|
|
3869
|
-
var $n = (
|
|
3870
|
-
var
|
|
3871
|
-
W
|
|
3872
|
-
() =>
|
|
3873
|
-
]),
|
|
3871
|
+
var $n = (ye) => {
|
|
3872
|
+
var W = Rs(), tr = Y(W);
|
|
3873
|
+
Z(W), ar(W, (Nt) => y(Oe, Nt), () => o(Oe)), Ie((Nt) => I(tr, "src", Nt), [
|
|
3874
|
+
() => la(o(U).challenge.codeChallenge.audio, { language: De() })
|
|
3875
|
+
]), Me("loadstart", W, un), Me("canplay", W, cn), Me("pause", W, hn), Me("playing", W, dn), Me("ended", W, sn), Me("error", tr, fn), M(ye, W);
|
|
3874
3876
|
};
|
|
3875
|
-
|
|
3876
|
-
o(
|
|
3877
|
+
J(Sn, (ye) => {
|
|
3878
|
+
o(U).challenge.codeChallenge.audio && o(Lr) && ye($n);
|
|
3877
3879
|
});
|
|
3878
3880
|
}
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
}),
|
|
3881
|
+
Z(v), Z(f), Ie(() => {
|
|
3882
|
+
I(f, "aria-label", o(z).verificationRequired), I(b, "src", o(U).challenge.codeChallenge.image), I(h, "minlength", o(U).challenge.codeChallenge.length || 1), I(h, "maxlength", o(U).challenge.codeChallenge.length), I(h, "placeholder", o(z).enterCode), I(h, "aria-label", o(G) === te.LOADING ? o(z).loading : o(G) === te.PLAYING ? "" : o(z).enterCodeAria), I(h, "aria-live", o(G) ? "assertive" : "polite"), I(h, "aria-busy", o(G) === te.LOADING), h.disabled = o(tt), I(ee, "aria-label", o(z).reload), I(ee, "title", o(z).reload), ee.disabled = o(tt), le.disabled = o(tt), I(le, "aria-label", o(z).verify), Fo(nt, ` ${o(z).verify ?? ""}`);
|
|
3883
|
+
}), Me("submit", v, gn, !0), M(a, f);
|
|
3882
3884
|
};
|
|
3883
|
-
|
|
3884
|
-
var
|
|
3885
|
-
(
|
|
3885
|
+
J(En, (a) => {
|
|
3886
|
+
var f;
|
|
3887
|
+
(f = o(U)) != null && f.challenge.codeChallenge && a(xn);
|
|
3886
3888
|
});
|
|
3887
3889
|
}
|
|
3888
|
-
|
|
3889
|
-
var
|
|
3890
|
+
Z(xr);
|
|
3891
|
+
var Pa = K(xr, 2);
|
|
3890
3892
|
{
|
|
3891
|
-
var
|
|
3892
|
-
var
|
|
3893
|
+
var Tn = (a) => {
|
|
3894
|
+
var f = zs(), v = K(Y(f), 2);
|
|
3893
3895
|
{
|
|
3894
|
-
var b = (
|
|
3895
|
-
var
|
|
3896
|
-
|
|
3897
|
-
}, h = (
|
|
3898
|
-
var
|
|
3899
|
-
|
|
3896
|
+
var b = (_) => {
|
|
3897
|
+
var L = $s(), B = Y(L);
|
|
3898
|
+
ot(B, () => o(z).expired), Z(L), Ie(() => I(L, "title", o(et))), M(_, L);
|
|
3899
|
+
}, h = (_) => {
|
|
3900
|
+
var L = Ps(), B = Y(L);
|
|
3901
|
+
ot(B, () => o(z).error), Z(L), Ie(() => I(L, "title", o(et))), M(_, L);
|
|
3900
3902
|
};
|
|
3901
|
-
|
|
3902
|
-
o(
|
|
3903
|
+
J(v, (_) => {
|
|
3904
|
+
o(E) === k.EXPIRED ? _(b) : _(h, !1);
|
|
3903
3905
|
});
|
|
3904
3906
|
}
|
|
3905
|
-
|
|
3907
|
+
Z(f), M(a, f);
|
|
3906
3908
|
};
|
|
3907
|
-
|
|
3908
|
-
(o(
|
|
3909
|
+
J(Pa, (a) => {
|
|
3910
|
+
(o(et) || o(E) === k.EXPIRED) && a(Tn);
|
|
3909
3911
|
});
|
|
3910
3912
|
}
|
|
3911
|
-
var
|
|
3913
|
+
var za = K(Pa, 2);
|
|
3912
3914
|
{
|
|
3913
|
-
var
|
|
3914
|
-
var
|
|
3915
|
-
|
|
3915
|
+
var In = (a) => {
|
|
3916
|
+
var f = Ns(), v = Y(f), b = Y(v);
|
|
3917
|
+
ot(b, () => o(z).footer), Z(v), Z(f), M(a, f);
|
|
3916
3918
|
};
|
|
3917
|
-
|
|
3918
|
-
o(
|
|
3919
|
+
J(za, (a) => {
|
|
3920
|
+
o(z).footer && (Se() !== !0 || o(wr)) && a(In);
|
|
3919
3921
|
});
|
|
3920
3922
|
}
|
|
3921
|
-
var
|
|
3923
|
+
var Vn = K(za, 2);
|
|
3922
3924
|
{
|
|
3923
|
-
var
|
|
3924
|
-
var
|
|
3925
|
-
|
|
3925
|
+
var jn = (a) => {
|
|
3926
|
+
var f = Ds();
|
|
3927
|
+
ar(f, (v) => y(Rt, v), () => o(Rt)), M(a, f);
|
|
3926
3928
|
};
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
+
J(Vn, (a) => {
|
|
3930
|
+
T() && a(jn);
|
|
3929
3931
|
});
|
|
3930
3932
|
}
|
|
3931
|
-
|
|
3933
|
+
Z(bt), ar(bt, (a) => y(q, a), () => o(q)), Ie(
|
|
3932
3934
|
(a) => {
|
|
3933
|
-
|
|
3935
|
+
I(bt, "data-state", o(E)), I(bt, "data-floating", T()), I(bt, "data-overlay", me()), ja = Wo(Qt, 1, "altcha-checkbox", null, ja, a), I(at, "id", o(ra)), at.required = n() !== "onsubmit" && (!T() || n() !== "off"), I(er, "for", o(ra));
|
|
3934
3936
|
},
|
|
3935
3937
|
[
|
|
3936
3938
|
() => ({
|
|
3937
|
-
"altcha-checkbox-verifying": o(
|
|
3939
|
+
"altcha-checkbox-verifying": o(E) === k.VERIFYING
|
|
3938
3940
|
})
|
|
3939
3941
|
]
|
|
3940
|
-
),
|
|
3941
|
-
var
|
|
3942
|
+
), Me("invalid", at, ha), Xo(at, () => o(jt), (a) => y(jt, a)), M(e, Ia);
|
|
3943
|
+
var Rn = bi({
|
|
3942
3944
|
clarify: $t,
|
|
3943
|
-
configure:
|
|
3944
|
-
getConfiguration:
|
|
3945
|
-
getFloatingAnchor:
|
|
3946
|
-
getPlugin:
|
|
3947
|
-
getState:
|
|
3948
|
-
hide:
|
|
3949
|
-
repositionFloating:
|
|
3950
|
-
reset:
|
|
3951
|
-
setFloatingAnchor:
|
|
3952
|
-
setState:
|
|
3953
|
-
show:
|
|
3954
|
-
verify:
|
|
3945
|
+
configure: Ca,
|
|
3946
|
+
getConfiguration: La,
|
|
3947
|
+
getFloatingAnchor: Ea,
|
|
3948
|
+
getPlugin: yn,
|
|
3949
|
+
getState: xa,
|
|
3950
|
+
hide: Pt,
|
|
3951
|
+
repositionFloating: zt,
|
|
3952
|
+
reset: rt,
|
|
3953
|
+
setFloatingAnchor: Ta,
|
|
3954
|
+
setState: Te,
|
|
3955
|
+
show: Xt,
|
|
3956
|
+
verify: $e,
|
|
3955
3957
|
get auto() {
|
|
3956
3958
|
return n();
|
|
3957
3959
|
},
|
|
3958
3960
|
set auto(a = void 0) {
|
|
3959
|
-
n(a),
|
|
3961
|
+
n(a), w();
|
|
3960
3962
|
},
|
|
3961
3963
|
get blockspam() {
|
|
3962
|
-
return
|
|
3964
|
+
return c();
|
|
3963
3965
|
},
|
|
3964
3966
|
set blockspam(a = void 0) {
|
|
3965
|
-
|
|
3967
|
+
c(a), w();
|
|
3966
3968
|
},
|
|
3967
3969
|
get challengeurl() {
|
|
3968
3970
|
return s();
|
|
3969
3971
|
},
|
|
3970
3972
|
set challengeurl(a = void 0) {
|
|
3971
|
-
s(a),
|
|
3973
|
+
s(a), w();
|
|
3972
3974
|
},
|
|
3973
3975
|
get challengejson() {
|
|
3974
|
-
return
|
|
3976
|
+
return u();
|
|
3975
3977
|
},
|
|
3976
3978
|
set challengejson(a = void 0) {
|
|
3977
|
-
|
|
3979
|
+
u(a), w();
|
|
3978
3980
|
},
|
|
3979
3981
|
get credentials() {
|
|
3980
3982
|
return d();
|
|
3981
3983
|
},
|
|
3982
3984
|
set credentials(a = void 0) {
|
|
3983
|
-
d(a),
|
|
3985
|
+
d(a), w();
|
|
3984
3986
|
},
|
|
3985
3987
|
get customfetch() {
|
|
3986
3988
|
return m();
|
|
3987
3989
|
},
|
|
3988
3990
|
set customfetch(a = void 0) {
|
|
3989
|
-
m(a),
|
|
3991
|
+
m(a), w();
|
|
3990
3992
|
},
|
|
3991
3993
|
get debug() {
|
|
3992
3994
|
return g();
|
|
3993
3995
|
},
|
|
3994
3996
|
set debug(a = !1) {
|
|
3995
|
-
g(a),
|
|
3997
|
+
g(a), w();
|
|
3996
3998
|
},
|
|
3997
3999
|
get delay() {
|
|
3998
4000
|
return p();
|
|
3999
4001
|
},
|
|
4000
4002
|
set delay(a = 0) {
|
|
4001
|
-
p(a),
|
|
4003
|
+
p(a), w();
|
|
4002
4004
|
},
|
|
4003
4005
|
get disableautofocus() {
|
|
4004
4006
|
return A();
|
|
4005
4007
|
},
|
|
4006
4008
|
set disableautofocus(a = !1) {
|
|
4007
|
-
A(a),
|
|
4009
|
+
A(a), w();
|
|
4010
|
+
},
|
|
4011
|
+
get refetchonexpire() {
|
|
4012
|
+
return R();
|
|
4013
|
+
},
|
|
4014
|
+
set refetchonexpire(a = !0) {
|
|
4015
|
+
R(a), w();
|
|
4016
|
+
},
|
|
4017
|
+
get disablerefetchonexpire() {
|
|
4018
|
+
return S();
|
|
4019
|
+
},
|
|
4020
|
+
set disablerefetchonexpire(a = !R) {
|
|
4021
|
+
S(a), w();
|
|
4008
4022
|
},
|
|
4009
4023
|
get expire() {
|
|
4010
|
-
return
|
|
4024
|
+
return O();
|
|
4011
4025
|
},
|
|
4012
4026
|
set expire(a = void 0) {
|
|
4013
|
-
|
|
4027
|
+
O(a), w();
|
|
4014
4028
|
},
|
|
4015
4029
|
get floating() {
|
|
4016
|
-
return
|
|
4030
|
+
return T();
|
|
4017
4031
|
},
|
|
4018
4032
|
set floating(a = void 0) {
|
|
4019
|
-
|
|
4033
|
+
T(a), w();
|
|
4020
4034
|
},
|
|
4021
4035
|
get floatinganchor() {
|
|
4022
|
-
return
|
|
4036
|
+
return X();
|
|
4023
4037
|
},
|
|
4024
4038
|
set floatinganchor(a = void 0) {
|
|
4025
|
-
|
|
4039
|
+
X(a), w();
|
|
4026
4040
|
},
|
|
4027
4041
|
get floatingoffset() {
|
|
4028
|
-
return
|
|
4042
|
+
return oe();
|
|
4029
4043
|
},
|
|
4030
4044
|
set floatingoffset(a = void 0) {
|
|
4031
|
-
|
|
4045
|
+
oe(a), w();
|
|
4032
4046
|
},
|
|
4033
4047
|
get floatingpersist() {
|
|
4034
|
-
return
|
|
4048
|
+
return Q();
|
|
4035
4049
|
},
|
|
4036
4050
|
set floatingpersist(a = !1) {
|
|
4037
|
-
|
|
4051
|
+
Q(a), w();
|
|
4038
4052
|
},
|
|
4039
4053
|
get hidefooter() {
|
|
4040
|
-
return
|
|
4054
|
+
return Se();
|
|
4041
4055
|
},
|
|
4042
4056
|
set hidefooter(a = !1) {
|
|
4043
|
-
|
|
4057
|
+
Se(a), w();
|
|
4044
4058
|
},
|
|
4045
4059
|
get hidelogo() {
|
|
4046
|
-
return
|
|
4060
|
+
return F();
|
|
4047
4061
|
},
|
|
4048
4062
|
set hidelogo(a = !1) {
|
|
4049
|
-
|
|
4063
|
+
F(a), w();
|
|
4050
4064
|
},
|
|
4051
4065
|
get id() {
|
|
4052
|
-
return
|
|
4066
|
+
return Ce();
|
|
4053
4067
|
},
|
|
4054
4068
|
set id(a = void 0) {
|
|
4055
|
-
|
|
4069
|
+
Ce(a), w();
|
|
4056
4070
|
},
|
|
4057
4071
|
get language() {
|
|
4058
|
-
return
|
|
4072
|
+
return De();
|
|
4059
4073
|
},
|
|
4060
4074
|
set language(a = void 0) {
|
|
4061
|
-
|
|
4075
|
+
De(a), w();
|
|
4062
4076
|
},
|
|
4063
4077
|
get name() {
|
|
4064
|
-
return
|
|
4078
|
+
return Ke();
|
|
4065
4079
|
},
|
|
4066
4080
|
set name(a = "altcha") {
|
|
4067
|
-
|
|
4081
|
+
Ke(a), w();
|
|
4068
4082
|
},
|
|
4069
4083
|
get maxnumber() {
|
|
4070
|
-
return
|
|
4084
|
+
return Je();
|
|
4071
4085
|
},
|
|
4072
4086
|
set maxnumber(a = 1e6) {
|
|
4073
|
-
|
|
4087
|
+
Je(a), w();
|
|
4074
4088
|
},
|
|
4075
4089
|
get mockerror() {
|
|
4076
|
-
return
|
|
4090
|
+
return Tt();
|
|
4077
4091
|
},
|
|
4078
4092
|
set mockerror(a = !1) {
|
|
4079
|
-
|
|
4093
|
+
Tt(a), w();
|
|
4080
4094
|
},
|
|
4081
4095
|
get obfuscated() {
|
|
4082
|
-
return
|
|
4096
|
+
return qe();
|
|
4083
4097
|
},
|
|
4084
4098
|
set obfuscated(a = void 0) {
|
|
4085
|
-
|
|
4099
|
+
qe(a), w();
|
|
4086
4100
|
},
|
|
4087
4101
|
get overlay() {
|
|
4088
|
-
return
|
|
4102
|
+
return me();
|
|
4089
4103
|
},
|
|
4090
4104
|
set overlay(a = void 0) {
|
|
4091
|
-
|
|
4105
|
+
me(a), w();
|
|
4092
4106
|
},
|
|
4093
4107
|
get overlaycontent() {
|
|
4094
|
-
return
|
|
4108
|
+
return It();
|
|
4095
4109
|
},
|
|
4096
4110
|
set overlaycontent(a = void 0) {
|
|
4097
|
-
|
|
4111
|
+
It(a), w();
|
|
4098
4112
|
},
|
|
4099
4113
|
get plugins() {
|
|
4100
|
-
return
|
|
4114
|
+
return Yt();
|
|
4101
4115
|
},
|
|
4102
4116
|
set plugins(a = void 0) {
|
|
4103
|
-
|
|
4104
|
-
},
|
|
4105
|
-
get refetchonexpire() {
|
|
4106
|
-
return Tt();
|
|
4107
|
-
},
|
|
4108
|
-
set refetchonexpire(a = !0) {
|
|
4109
|
-
Tt(a), C();
|
|
4117
|
+
Yt(a), w();
|
|
4110
4118
|
},
|
|
4111
4119
|
get sentinel() {
|
|
4112
|
-
return
|
|
4120
|
+
return Xe();
|
|
4113
4121
|
},
|
|
4114
4122
|
set sentinel(a = void 0) {
|
|
4115
|
-
|
|
4123
|
+
Xe(a), w();
|
|
4116
4124
|
},
|
|
4117
4125
|
get spamfilter() {
|
|
4118
|
-
return
|
|
4126
|
+
return Le();
|
|
4119
4127
|
},
|
|
4120
4128
|
set spamfilter(a = !1) {
|
|
4121
|
-
|
|
4129
|
+
Le(a), w();
|
|
4122
4130
|
},
|
|
4123
4131
|
get strings() {
|
|
4124
|
-
return
|
|
4132
|
+
return ht();
|
|
4125
4133
|
},
|
|
4126
4134
|
set strings(a = void 0) {
|
|
4127
|
-
|
|
4135
|
+
ht(a), w();
|
|
4128
4136
|
},
|
|
4129
4137
|
get test() {
|
|
4130
|
-
return
|
|
4138
|
+
return ge();
|
|
4131
4139
|
},
|
|
4132
4140
|
set test(a = !1) {
|
|
4133
|
-
|
|
4141
|
+
ge(a), w();
|
|
4134
4142
|
},
|
|
4135
4143
|
get verifyurl() {
|
|
4136
4144
|
return re();
|
|
4137
4145
|
},
|
|
4138
4146
|
set verifyurl(a = void 0) {
|
|
4139
|
-
re(a),
|
|
4147
|
+
re(a), w();
|
|
4140
4148
|
},
|
|
4141
4149
|
get workers() {
|
|
4142
|
-
return
|
|
4150
|
+
return gt();
|
|
4143
4151
|
},
|
|
4144
4152
|
set workers(a = Math.min(16, navigator.hardwareConcurrency || 8)) {
|
|
4145
|
-
|
|
4153
|
+
gt(a), w();
|
|
4146
4154
|
},
|
|
4147
4155
|
get workerurl() {
|
|
4148
|
-
return
|
|
4156
|
+
return Vt();
|
|
4149
4157
|
},
|
|
4150
4158
|
set workerurl(a = void 0) {
|
|
4151
|
-
|
|
4159
|
+
Vt(a), w();
|
|
4152
4160
|
}
|
|
4153
4161
|
});
|
|
4154
|
-
return i(),
|
|
4162
|
+
return i(), Rn;
|
|
4155
4163
|
}
|
|
4156
|
-
|
|
4157
|
-
customElements.define("altcha-widget",
|
|
4158
|
-
|
|
4164
|
+
Oo(["change", "keydown", "click"]);
|
|
4165
|
+
customElements.define("altcha-widget", nl(
|
|
4166
|
+
Hs,
|
|
4159
4167
|
{
|
|
4160
4168
|
blockspam: { type: "Boolean" },
|
|
4161
4169
|
debug: { type: "Boolean" },
|
|
4162
4170
|
delay: { type: "Number" },
|
|
4163
4171
|
disableautofocus: { type: "Boolean" },
|
|
4172
|
+
disablerefetchonexpire: { type: "Boolean" },
|
|
4164
4173
|
expire: { type: "Number" },
|
|
4165
4174
|
floatingoffset: { type: "Number" },
|
|
4166
4175
|
hidefooter: { type: "Boolean" },
|
|
@@ -4209,15 +4218,15 @@ customElements.define("altcha-widget", il(
|
|
|
4209
4218
|
],
|
|
4210
4219
|
!1
|
|
4211
4220
|
));
|
|
4212
|
-
const
|
|
4213
|
-
function
|
|
4221
|
+
const Os = '@keyframes overlay-slidein{to{opacity:1;top:50%}}@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}.altcha-overlay{--altcha-color-base:#fff;--altcha-color-text:#000;animation:overlay-slidein .5s forwards;display:flex;flex-direction:column;gap:.5rem;left:50%;width:260px;opacity:0;position:fixed;top:45%;transform:translate(-50%,-50%)}.altcha-overlay-backdrop{background:rgba(0,0,0,.5);bottom:0;display:none;left:0;position:fixed;right:0;top:0;z-index:99999999}.altcha-overlay-close-button{align-self:flex-end;background:0 0;border:0;padding:.25rem;cursor:pointer;color:currentColor;font-size:130%;line-height:1;opacity:.7}@media (max-height:450px){.altcha-overlay{top:10%!important;transform:translate(-50%,0)}}';
|
|
4222
|
+
function Fs(e, t = "__altcha-css") {
|
|
4214
4223
|
if (!document.getElementById(t)) {
|
|
4215
4224
|
const r = document.createElement("style");
|
|
4216
4225
|
r.id = t, r.textContent = e, document.head.appendChild(r);
|
|
4217
4226
|
}
|
|
4218
4227
|
}
|
|
4219
|
-
globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new
|
|
4220
|
-
Os
|
|
4228
|
+
globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new hs();
|
|
4229
|
+
Fs(Os);
|
|
4221
4230
|
export {
|
|
4222
|
-
|
|
4231
|
+
Hs as Altcha
|
|
4223
4232
|
};
|