42 lines
1.4 KiB
TypeScript
42 lines
1.4 KiB
TypeScript
// Module ID: 9684
|
|
// Function ID: 9685
|
|
// Name: openAcceptFriendRequestConfirmModal
|
|
// Dependencies: [9685, 676, 21, 698, 4684, 9686, 2007, 2]
|
|
// Exports: openAcceptFriendRequestConfirmModal
|
|
|
|
// Module 9684 (openAcceptFriendRequestConfirmModal)
|
|
import { ACCEPT_FRIEND_REQUEST_CONFIRMATION_MODAL_ID as closure_3 } from "RELATIONSHIP_COUNT_ANIMATION_THRESHOLD";
|
|
import { AnalyticEvents } from "ME";
|
|
import { jsx } from "jsxProd";
|
|
|
|
const result = require("jsxProd").fileFinishedImporting("modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx");
|
|
|
|
export const openAcceptFriendRequestConfirmModal = function openAcceptFriendRequestConfirmModal(arg0) {
|
|
let importDefault;
|
|
let require;
|
|
({ onConfirm: require, onCancel: importDefault } = arg0);
|
|
let obj = importDefault(698);
|
|
obj = { type: closure_3 };
|
|
obj.track(AnalyticEvents.OPEN_MODAL, obj);
|
|
obj = {
|
|
importer() {
|
|
return outer1_0(outer1_2[6])(outer1_2[5], outer1_2.paths).then((arg0) => {
|
|
let closure_0 = arg0.default;
|
|
return (arg0) => {
|
|
let closure_0 = arg0;
|
|
const obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.onCancel = function onCancel() {
|
|
closure_0.onClose();
|
|
if (outer1_1 != null) {
|
|
tmp2();
|
|
}
|
|
};
|
|
obj.onConfirm = closure_0;
|
|
return outer2_5(closure_0, obj);
|
|
};
|
|
});
|
|
}
|
|
};
|
|
importDefault(4684).openLazy(obj);
|
|
};
|