-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecapUC2.user.js
826 lines (825 loc) · 26.3 KB
/
recapUC2.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
// ==UserScript==
// @name recaptcha by noCaptchaAi.com
// @namespace npm/vite-plugin-monkey
// @version 0.0.0
// @author noCaptchaAi.com
// @match *://*/*
// ==/UserScript==
(function () {
"use strict";
const sharedConfig = {};
function setHydrateContext(context) {
sharedConfig.context = context;
}
const equalFn = (a, b) => a === b;
const signalOptions = {
equals: equalFn,
};
let runEffects = runQueue;
const STALE = 1;
const PENDING = 2;
const UNOWNED = {
owned: null,
cleanups: null,
context: null,
owner: null,
};
var Owner = null;
let Transition = null;
let Listener = null;
let Updates = null;
let Effects = null;
let ExecCount = 0;
function createRoot(fn, detachedOwner) {
const listener = Listener,
owner = Owner,
unowned = fn.length === 0,
root = unowned
? UNOWNED
: {
owned: null,
cleanups: null,
context: null,
owner: detachedOwner || owner,
},
updateFn = unowned ? fn : () => fn(() => untrack(() => cleanNode(root)));
Owner = root;
Listener = null;
try {
return runUpdates(updateFn, true);
} finally {
Listener = listener;
Owner = owner;
}
}
function createSignal(value, options) {
options = options
? Object.assign({}, signalOptions, options)
: signalOptions;
const s = {
value,
observers: null,
observerSlots: null,
comparator: options.equals || void 0,
};
const setter = (value2) => {
if (typeof value2 === "function") {
value2 = value2(s.value);
}
return writeSignal(s, value2);
};
return [readSignal.bind(s), setter];
}
function createRenderEffect(fn, value, options) {
const c = createComputation(fn, value, false, STALE);
updateComputation(c);
}
function createEffect(fn, value, options) {
runEffects = runUserEffects;
const c = createComputation(fn, value, false, STALE),
s = SuspenseContext && lookup(Owner, SuspenseContext.id);
if (s) c.suspense = s;
c.user = true;
Effects ? Effects.push(c) : updateComputation(c);
}
function untrack(fn) {
const listener = Listener;
Listener = null;
try {
return fn();
} finally {
Listener = listener;
}
}
let SuspenseContext;
function readSignal() {
const runningTransition = Transition;
if (this.sources && (this.state || runningTransition)) {
if (this.state === STALE || runningTransition) updateComputation(this);
else {
const updates = Updates;
Updates = null;
runUpdates(() => lookUpstream(this), false);
Updates = updates;
}
}
if (Listener) {
const sSlot = this.observers ? this.observers.length : 0;
if (!Listener.sources) {
Listener.sources = [this];
Listener.sourceSlots = [sSlot];
} else {
Listener.sources.push(this);
Listener.sourceSlots.push(sSlot);
}
if (!this.observers) {
this.observers = [Listener];
this.observerSlots = [Listener.sources.length - 1];
} else {
this.observers.push(Listener);
this.observerSlots.push(Listener.sources.length - 1);
}
}
return this.value;
}
function writeSignal(node, value, isComp) {
let current = node.value;
if (!node.comparator || !node.comparator(current, value)) {
node.value = value;
if (node.observers && node.observers.length) {
runUpdates(() => {
for (let i = 0; i < node.observers.length; i += 1) {
const o = node.observers[i];
const TransitionRunning = Transition && Transition.running;
if (TransitionRunning && Transition.disposed.has(o));
if (
(TransitionRunning && !o.tState) ||
(!TransitionRunning && !o.state)
) {
if (o.pure) Updates.push(o);
else Effects.push(o);
if (o.observers) markDownstream(o);
}
if (TransitionRunning);
else o.state = STALE;
}
if (Updates.length > 1e6) {
Updates = [];
if (false);
throw new Error();
}
}, false);
}
}
return value;
}
function updateComputation(node) {
if (!node.fn) return;
cleanNode(node);
const owner = Owner,
listener = Listener,
time = ExecCount;
Listener = Owner = node;
runComputation(node, node.value, time);
Listener = listener;
Owner = owner;
}
function runComputation(node, value, time) {
let nextValue;
try {
nextValue = node.fn(value);
} catch (err) {
if (node.pure) {
{
node.state = STALE;
node.owned && node.owned.forEach(cleanNode);
node.owned = null;
}
}
handleError(err);
}
if (!node.updatedAt || node.updatedAt <= time) {
if (node.updatedAt != null && "observers" in node) {
writeSignal(node, nextValue);
} else node.value = nextValue;
node.updatedAt = time;
}
}
function createComputation(fn, init, pure, state = STALE, options) {
const c = {
fn,
state,
updatedAt: null,
owned: null,
sources: null,
sourceSlots: null,
cleanups: null,
value: init,
owner: Owner,
context: null,
pure,
};
if (Owner === null);
else if (Owner !== UNOWNED) {
{
if (!Owner.owned) Owner.owned = [c];
else Owner.owned.push(c);
}
}
return c;
}
function runTop(node) {
const runningTransition = Transition;
if (node.state === 0 || runningTransition) return;
if (node.state === PENDING || runningTransition) return lookUpstream(node);
if (node.suspense && untrack(node.suspense.inFallback))
return node.suspense.effects.push(node);
const ancestors = [node];
while (
(node = node.owner) &&
(!node.updatedAt || node.updatedAt < ExecCount)
) {
if (node.state || runningTransition) ancestors.push(node);
}
for (let i = ancestors.length - 1; i >= 0; i--) {
node = ancestors[i];
if (node.state === STALE || runningTransition) {
updateComputation(node);
} else if (node.state === PENDING || runningTransition) {
const updates = Updates;
Updates = null;
runUpdates(() => lookUpstream(node, ancestors[0]), false);
Updates = updates;
}
}
}
function runUpdates(fn, init) {
if (Updates) return fn();
let wait = false;
if (!init) Updates = [];
if (Effects) wait = true;
else Effects = [];
ExecCount++;
try {
const res = fn();
completeUpdates(wait);
return res;
} catch (err) {
if (!Updates) Effects = null;
handleError(err);
}
}
function completeUpdates(wait) {
if (Updates) {
runQueue(Updates);
Updates = null;
}
if (wait) return;
const e = Effects;
Effects = null;
if (e.length) runUpdates(() => runEffects(e), false);
}
function runQueue(queue) {
for (let i = 0; i < queue.length; i++) runTop(queue[i]);
}
function runUserEffects(queue) {
let i,
userLength = 0;
for (i = 0; i < queue.length; i++) {
const e = queue[i];
if (!e.user) runTop(e);
else queue[userLength++] = e;
}
if (sharedConfig.context) setHydrateContext();
for (i = 0; i < userLength; i++) runTop(queue[i]);
}
function lookUpstream(node, ignore) {
const runningTransition = Transition;
node.state = 0;
for (let i = 0; i < node.sources.length; i += 1) {
const source = node.sources[i];
if (source.sources) {
if (source.state === STALE || runningTransition) {
if (source !== ignore) runTop(source);
} else if (source.state === PENDING || runningTransition)
lookUpstream(source, ignore);
}
}
}
function markDownstream(node) {
const runningTransition = Transition;
for (let i = 0; i < node.observers.length; i += 1) {
const o = node.observers[i];
if (!o.state || runningTransition) {
o.state = PENDING;
if (o.pure) Updates.push(o);
else Effects.push(o);
o.observers && markDownstream(o);
}
}
}
function cleanNode(node) {
let i;
if (node.sources) {
while (node.sources.length) {
const source = node.sources.pop(),
index = node.sourceSlots.pop(),
obs = source.observers;
if (obs && obs.length) {
const n = obs.pop(),
s = source.observerSlots.pop();
if (index < obs.length) {
n.sourceSlots[s] = index;
obs[index] = n;
source.observerSlots[index] = s;
}
}
}
}
if (node.owned) {
for (i = 0; i < node.owned.length; i++) cleanNode(node.owned[i]);
node.owned = null;
}
if (node.cleanups) {
for (i = 0; i < node.cleanups.length; i++) node.cleanups[i]();
node.cleanups = null;
}
node.state = 0;
node.context = null;
}
function castError(err) {
if (err instanceof Error || typeof err === "string") return err;
return new Error("Unknown error");
}
function handleError(err) {
err = castError(err);
throw err;
}
function lookup(owner, key) {
return owner
? owner.context && owner.context[key] !== void 0
? owner.context[key]
: lookup(owner.owner, key)
: void 0;
}
function createComponent(Comp, props) {
return untrack(() => Comp(props || {}));
}
function reconcileArrays(parentNode, a, b) {
let bLength = b.length,
aEnd = a.length,
bEnd = bLength,
aStart = 0,
bStart = 0,
after = a[aEnd - 1].nextSibling,
map = null;
while (aStart < aEnd || bStart < bEnd) {
if (a[aStart] === b[bStart]) {
aStart++;
bStart++;
continue;
}
while (a[aEnd - 1] === b[bEnd - 1]) {
aEnd--;
bEnd--;
}
if (aEnd === aStart) {
const node =
bEnd < bLength
? bStart
? b[bStart - 1].nextSibling
: b[bEnd - bStart]
: after;
while (bStart < bEnd) parentNode.insertBefore(b[bStart++], node);
} else if (bEnd === bStart) {
while (aStart < aEnd) {
if (!map || !map.has(a[aStart])) a[aStart].remove();
aStart++;
}
} else if (a[aStart] === b[bEnd - 1] && b[bStart] === a[aEnd - 1]) {
const node = a[--aEnd].nextSibling;
parentNode.insertBefore(b[bStart++], a[aStart++].nextSibling);
parentNode.insertBefore(b[--bEnd], node);
a[aEnd] = b[bEnd];
} else {
if (!map) {
map = /* @__PURE__ */ new Map();
let i = bStart;
while (i < bEnd) map.set(b[i], i++);
}
const index = map.get(a[aStart]);
if (index != null) {
if (bStart < index && index < bEnd) {
let i = aStart,
sequence = 1,
t;
while (++i < aEnd && i < bEnd) {
if ((t = map.get(a[i])) == null || t !== index + sequence) break;
sequence++;
}
if (sequence > index - bStart) {
const node = a[aStart];
while (bStart < index) parentNode.insertBefore(b[bStart++], node);
} else parentNode.replaceChild(b[bStart++], a[aStart++]);
} else aStart++;
} else a[aStart++].remove();
}
}
}
function render(code, element, init, options = {}) {
let disposer;
createRoot((dispose) => {
disposer = dispose;
element === document
? code()
: insert(element, code(), element.firstChild ? null : void 0, init);
}, options.owner);
return () => {
disposer();
element.textContent = "";
};
}
function insert(parent, accessor, marker, initial) {
if (marker !== void 0 && !initial) initial = [];
if (typeof accessor !== "function")
return insertExpression(parent, accessor, initial, marker);
createRenderEffect(
(current) => insertExpression(parent, accessor(), current, marker),
initial
);
}
function insertExpression(parent, value, current, marker, unwrapArray) {
if (sharedConfig.context && !current) current = [...parent.childNodes];
while (typeof current === "function") current = current();
if (value === current) return current;
const t = typeof value,
multi = marker !== void 0;
parent = (multi && current[0] && current[0].parentNode) || parent;
if (t === "string" || t === "number") {
if (sharedConfig.context) return current;
if (t === "number") value = value.toString();
if (multi) {
let node = current[0];
if (node && node.nodeType === 3) {
node.data = value;
} else node = document.createTextNode(value);
current = cleanChildren(parent, current, marker, node);
} else {
if (current !== "" && typeof current === "string") {
current = parent.firstChild.data = value;
} else current = parent.textContent = value;
}
} else if (value == null || t === "boolean") {
if (sharedConfig.context) return current;
current = cleanChildren(parent, current, marker);
} else if (t === "function") {
createRenderEffect(() => {
let v = value();
while (typeof v === "function") v = v();
current = insertExpression(parent, v, current, marker);
});
return () => current;
} else if (Array.isArray(value)) {
const array = [];
const currentArray = current && Array.isArray(current);
if (normalizeIncomingArray(array, value, current, unwrapArray)) {
createRenderEffect(
() =>
(current = insertExpression(parent, array, current, marker, true))
);
return () => current;
}
if (sharedConfig.context) {
if (!array.length) return current;
for (let i = 0; i < array.length; i++) {
if (array[i].parentNode) return (current = array);
}
}
if (array.length === 0) {
current = cleanChildren(parent, current, marker);
if (multi) return current;
} else if (currentArray) {
if (current.length === 0) {
appendNodes(parent, array, marker);
} else reconcileArrays(parent, current, array);
} else {
current && cleanChildren(parent);
appendNodes(parent, array);
}
current = array;
} else if (value instanceof Node) {
if (sharedConfig.context && value.parentNode)
return (current = multi ? [value] : value);
if (Array.isArray(current)) {
if (multi)
return (current = cleanChildren(parent, current, marker, value));
cleanChildren(parent, current, null, value);
} else if (current == null || current === "" || !parent.firstChild) {
parent.appendChild(value);
} else parent.replaceChild(value, parent.firstChild);
current = value;
} else;
return current;
}
function normalizeIncomingArray(normalized, array, current, unwrap) {
let dynamic = false;
for (let i = 0, len = array.length; i < len; i++) {
let item = array[i],
prev = current && current[i];
if (item instanceof Node) {
normalized.push(item);
} else if (item == null || item === true || item === false);
else if (Array.isArray(item)) {
dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
} else if (typeof item === "function") {
if (unwrap) {
while (typeof item === "function") item = item();
dynamic =
normalizeIncomingArray(
normalized,
Array.isArray(item) ? item : [item],
Array.isArray(prev) ? prev : [prev]
) || dynamic;
} else {
normalized.push(item);
dynamic = true;
}
} else {
const value = String(item);
if (prev && prev.nodeType === 3 && prev.data === value) {
normalized.push(prev);
} else normalized.push(document.createTextNode(value));
}
}
return dynamic;
}
function appendNodes(parent, array, marker = null) {
for (let i = 0, len = array.length; i < len; i++)
parent.insertBefore(array[i], marker);
}
function cleanChildren(parent, current, marker, replacement) {
if (marker === void 0) return (parent.textContent = "");
const node = replacement || document.createTextNode("");
if (current.length) {
let inserted = false;
for (let i = current.length - 1; i >= 0; i--) {
const el = current[i];
if (node !== el) {
const isParent = el.parentNode === parent;
if (!inserted && !i)
isParent
? parent.replaceChild(node, el)
: parent.insertBefore(node, marker);
else isParent && el.remove();
} else inserted = true;
}
} else parent.insertBefore(node, marker);
return [node];
}
const [count, setCount] = createSignal(0);
const [ChildCount, setChildCount] = createSignal();
const $ = (val) => document.querySelector(val);
const $all = (val) => document.querySelectorAll(val);
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
createEffect(() => {
console.log("count", count());
let tiles = $all("table tbody tr td");
console.log(tiles == null ? void 0 : tiles.length);
setCount(tiles == null ? void 0 : tiles.length);
});
function App() {
let baseurl = "https://beta.nocaptchaai.com/solve";
const headers = {
"Content-Type": "application/json",
apikey: "",
};
function isFrame() {
return $(".recaptcha-checkbox") !== null;
}
function isSolved() {
var _a, _b;
const is_widget_frame_solved =
((_a = document.querySelector(".recaptcha-checkbox")) == null
? void 0
: _a.getAttribute("aria-checked")) === "true";
const is_image_frame_solved =
(_b = document.querySelector("#recaptcha-verify-button")) == null
? void 0
: _b.disabled;
return is_widget_frame_solved || is_image_frame_solved;
}
async function getBase64FromUrl(url) {
if (!url) throw new Error("A valid URL must be provided.");
const response = await fetch(url);
if (!response.ok)
throw new Error(`Failed to fetch URL. Status code: ${response.status}`);
const blob = await response.blob();
const reader = new FileReader();
return new Promise((resolve, reject) => {
reader.onloadend = () => {
if (reader.result) {
resolve(
reader.result.replace(/^data:image\/(png|jpeg);base64,/, "")
);
} else {
reject(new Error("Failed to convert to base64"));
}
};
reader.readAsDataURL(blob);
});
}
setInterval(() => {
let err1 = $(".rc-imageselect-incorrect-response");
if (!isFrame()) {
const err2 = $(".rc-anchor-error-msg-container");
if (err2 && err2.style.display !== "none") {
$(".recaptcha-checkbox-border").click();
}
} else if (err1 && err1.style.display === "block") {
$("#recaptcha-reload-button").click();
solve();
return;
} else;
}, 2e3);
(async () => {
var _a;
await sleep(1e3);
let tiles = $all("table tbody tr td");
console.log(tiles.length);
setCount(tiles.length);
async function solve2() {
setCount($all("table tbody tr td").length);
if (count() === 16) {
console.log(count(), "44 ran");
await solve44();
} else if (count() === 9) {
console.log(count(), "33 ran");
await solve33();
}
}
solve2();
(_a = $(".recaptcha-checkbox-border")) == null ? void 0 : _a.click();
await sleep(2e3);
async function solve44() {
var _a2;
await sleep(1e3);
if (isSolved()) return;
let err1 = $(".rc-imageselect-incorrect-response");
if (err1.style.display === "block") {
console.log("44, incorrect response");
$("#recaptcha-reload-button").click();
solve2();
return;
}
setCount($all("table tbody tr td").length);
if (count() === 9) {
console.log("moving to 33");
solve33();
return;
}
function target2() {
return $(
".rc-imageselect-desc strong,.rc-imageselect-desc-no-canonical strong"
);
}
if (!target2()) {
await sleep(1e3);
solve2();
}
const imageTile = document.querySelector(".rc-image-tile-44");
if (!imageTile) {
await sleep(1e3);
return solve2();
}
let images = {
0: await getBase64FromUrl($(".rc-image-tile-44").src),
};
console.log("images", images);
const response = await fetch(baseurl, {
method: "POST",
headers,
body: JSON.stringify({
images,
target: target2().innerText,
type: 44,
method: "recaptcha2",
}),
});
const result = await response.json();
console.log(await result.solution);
if ((await result.status) === "solved") {
console.log("44 received solved");
for (const index of result.solution) {
$all(".rc-imageselect-tile")[index].click();
await sleep(300);
images = {};
}
(_a2 = $("#recaptcha-verify-button")) == null ? void 0 : _a2.click();
await sleep(1e3);
if (count() === 16) {
solve44();
} else if (count() === 9) {
solve33();
}
}
}
async function solve33(a) {
var _a2, _b;
await sleep(1e3);
let res1 = $(".rc-imageselect-incorrect-response");
let res2 = $(".rc-imageselect-error-select-more");
if (
$(res1.style.display === "block" || res2.style.display === "block")
) {
console.log("33 error");
solve2();
return;
}
if (isSolved()) return;
if (count() === 16) {
console.log("44");
solve44();
return;
}
function target2() {
return $(
".rc-imageselect-desc strong,.rc-imageselect-desc-no-canonical strong"
);
}
let images = {};
if (a) {
const aa = $all(".rc-image-tile-wrapper");
for (const index of a) {
images[index] = await getBase64FromUrl(aa[index].children[0].src);
await sleep(1e3);
}
console.log(images);
} else {
images[0] = await getBase64FromUrl(
(_a2 = $(".rc-image-tile-33")) == null ? void 0 : _a2.src
);
}
const response = await fetch(baseurl, {
method: "POST",
headers,
body: JSON.stringify({
images,
target: target2().innerText,
type: a ? "split_33" : 33,
method: "recaptcha2",
}),
});
const result = await response.json();
console.log(result.solution);
console.log(result.solution.length);
if (result.status === "solved") {
if (
$(res1.style.display === "block" || res2.style.display === "block")
) {
console.log("33 error");
solve2();
return;
}
if (result.solution.length == 0) {
$("#recaptcha-verify-button").click();
await sleep(1e3);
if (count() === 16) {
solve44();
} else if (count() === 9) {
solve33();
}
} else {
for (const index of result.solution) {
$all(".rc-imageselect-tile")[index].style.transition = "";
$all(".rc-imageselect-tile")[index].click();
await sleep(300);
}
if ($(".rc-image-tile-11") === null) {
let checkDisplay = function (parent2) {
let children = parent2.children;
for (let i = 0; i < children.length; i++) {
if (children[i].style.display !== "none") {
return true;
}
}
return false;
};
$("#recaptcha-verify-button").click();
let parent = document.querySelector("[aria-live='polite']");
if (checkDisplay(parent)) {
console.log("skipping");
$("#recaptcha-reload-button").click();
await sleep(2e3);
setCount($all("table tbody tr td").length);
if (count() === 16) {
solve44();
} else if (count() === 9) {
solve33();
}
}
} else if (count() === 9) {
await sleep(1e3);
solve33(result.solution);
} else if (count() === 16) {
await sleep(1e3);
solve44();
}
}
setChildCount($all(".rc-image-tile-overlay").length);
await sleep(2e3);
} else if (result.solution === 0) {
(_b = $("#recaptcha-verify-button")) == null ? void 0 : _b.click();
}
}
})();
}
render(
() => createComponent(App, {}),
(() => {
const app = document.createElement("div");
app.style.flex = "1";
document.body.append(app);
return app;
})()
);
})();