decord/beta/source/modules/captcha/tooling/CaptchaTestUtils.tsx
2026-10-02 13:37:24 +00:00

31 lines
1,001 B
TypeScript

// Module ID: 15272
// Function ID: 15273
// Name: CaptchaTestUtils
// Dependencies: [15273, 2]
// Module 15272 (CaptchaTestUtils)
import CaptchaTestActionCreators from "CaptchaTestActionCreators" /* 15273 */;
import size from "module_2" /* 2 */;
const entries = Object.entries(CaptchaTestActionCreators.HCaptchaDifficulty);
const mapped = entries.map((item) => {
let str;
let tmp;
[tmp, str] = item;
const obj = { id: str.toString(), label: tmp, value: str };
return obj;
});
const found = mapped.filter(function isHCaptchaDifficulty(value) {
return typeof value.value !== "string";
});
const entries1 = Object.entries(CaptchaTestActionCreators.CaptchaDeciderType);
const mapped1 = entries1.map((item) => {
let tmp;
let tmp2;
[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;