2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 16054
|
|
|
|
|
// Function ID: 16055
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: CaptchaTestUtils
|
2026-10-12 16:32:48 +00:00
|
|
|
// Dependencies: [16055, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 16054 (CaptchaTestUtils)
|
|
|
|
|
import CaptchaTestActionCreators from "CaptchaTestActionCreators" /* 16055 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const entries = Object.entries(CaptchaTestActionCreators.HCaptchaDifficulty);
|
|
|
|
|
const mapped = entries.map((item) => {
|
2026-10-01 14:13:23 +00:00
|
|
|
let str;
|
|
|
|
|
let tmp;
|
2026-09-18 19:45:33 +00:00
|
|
|
[tmp, str] = item;
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj = { id: str.toString(), label: tmp, value: str };
|
|
|
|
|
return obj;
|
2026-09-18 19:45:33 +00:00
|
|
|
});
|
|
|
|
|
const found = mapped.filter(function isHCaptchaDifficulty(value) {
|
|
|
|
|
return typeof value.value !== "string";
|
|
|
|
|
});
|
|
|
|
|
const entries1 = Object.entries(CaptchaTestActionCreators.CaptchaDeciderType);
|
|
|
|
|
const mapped1 = entries1.map((item) => {
|
2026-10-01 14:13:23 +00:00
|
|
|
let tmp;
|
|
|
|
|
let tmp2;
|
2026-09-18 19:45:33 +00:00
|
|
|
[tmp, tmp2] = item;
|
|
|
|
|
return { id, label, value: id };
|
|
|
|
|
});
|
|
|
|
|
const result = size.fileFinishedImporting("modules/captcha/tooling/CaptchaTestUtils.tsx");
|
|
|
|
|
|
|
|
|
|
export const HCAPTCHA_DIFFICULTY_OPTIONS = found;
|
|
|
|
|
export const CAPTCHA_DECIDER_TYPE_OPTIONS = mapped1;
|