Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
34 lines
1.2 KiB
TypeScript
34 lines
1.2 KiB
TypeScript
// Module ID: 5870
|
|
// Function ID: 5871
|
|
// Name: EmailVerificationModalActionCreators
|
|
// Dependencies: [1074, 1241, 4991, 5871, 1980, 573, 2]
|
|
|
|
// Module 5870 (EmailVerificationModalActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import Constants from "Constants" /* 1074 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */;
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 1980 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4991 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
|
const EMAIL_VERIFICATION_MODAL_KEY = "EMAIL_VERIFICATION_MODAL_KEY";
|
|
const result = size.fileFinishedImporting("actions/native/EmailVerificationModalActionCreators.tsx");
|
|
|
|
export default {
|
|
open() {
|
|
let flag = arg0;
|
|
if (arg0 === undefined) {
|
|
flag = false;
|
|
}
|
|
if (flag) {
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.USER_ACCOUNT_EMAIL_CHANGE_ATTEMPTED);
|
|
}
|
|
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5871, dependencyMap.paths), { isChangeEmail: flag }, EMAIL_VERIFICATION_MODAL_KEY);
|
|
},
|
|
close() {
|
|
DispatcherDefault.wait(() => {
|
|
ModalActionCreatorsDefault.popWithKey(EMAIL_VERIFICATION_MODAL_KEY);
|
|
});
|
|
}
|
|
};
|