decord/alpha/source/modules/mfa/MFAActionCreators.tsx
github-actions 97fd043558 chore: update source for alpha 347.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4941.js (118.4 MB)
2026-09-19 06:52:51 +00:00

22 lines
772 B
TypeScript

// Module ID: 15940
// Function ID: 15941
// Name: mfa/MFAActionCreators
// Dependencies: [15941, 15942, 15951, 2]
// Exports: openMFAModal
// Module 15940 (mfa/MFAActionCreators)
import MFAConstants from "MFAConstants" /* 15941 */;
import MFA from "MFA" /* 15951 */;
import size from "module_2" /* 2 */;
const require = globalThis.__r;
const SELECT_NAMES = MFAConstants.SELECT_NAMES;
const result = size.fileFinishedImporting("modules/mfa/MFAActionCreators.tsx");
export const openMFAModal = function openMFAModal(methods, arg1, arg2) {
_require = arg1;
methods = methods.methods;
methods.methods = methods.filter((type) => Object.hasOwn(SELECT_NAMES, type.type));
require("MFAModal").openMFAModal(methods, (arg0) => MFA.trySubmit(arg0, closure_0), arg2);
};