Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
26 lines
937 B
TypeScript
26 lines
937 B
TypeScript
// Module ID: 15258
|
|
// Function ID: 15259
|
|
// Name: CaptchaTestUtils
|
|
// Dependencies: [15259, 2]
|
|
|
|
// Module 15258 (CaptchaTestUtils)
|
|
import CaptchaTestActionCreators from "CaptchaTestActionCreators" /* 15259 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const entries = Object.entries(CaptchaTestActionCreators.HCaptchaDifficulty);
|
|
const mapped = entries.map((item) => {
|
|
[tmp, str] = item;
|
|
return { id: str.toString(), label: tmp, value: str };
|
|
});
|
|
const found = mapped.filter(function isHCaptchaDifficulty(value) {
|
|
return typeof value.value !== "string";
|
|
});
|
|
const entries1 = Object.entries(CaptchaTestActionCreators.CaptchaDeciderType);
|
|
const mapped1 = entries1.map((item) => {
|
|
[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;
|