decord/source/modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

46 lines
1.7 KiB
TypeScript

// Module ID: 10873
// Function ID: 10874
// Name: openAcceptFriendRequestConfirmModal
// Dependencies: [10874, 1074, 21, 1242, 4905, 10875, 1896, 2]
// Exports: openAcceptFriendRequestConfirmModal
// Module 10873 (openAcceptFriendRequestConfirmModal)
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import ME from "ME" /* 1074 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
import _modDef4905 from "module_4905" /* 4905 */;
import RELATIONSHIP_COUNT_ANIMATION_THRESHOLD from "RELATIONSHIP_COUNT_ANIMATION_THRESHOLD" /* 10874 */;
let closure_3 = RELATIONSHIP_COUNT_ANIMATION_THRESHOLD.ACCEPT_FRIEND_REQUEST_CONFIRMATION_MODAL_ID;
const AnalyticEvents = ME.AnalyticEvents;
const jsx = jsxProd.jsx;
const result = set.fileFinishedImporting("modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx");
export const openAcceptFriendRequestConfirmModal = function openAcceptFriendRequestConfirmModal(arg0) {
({ onConfirm: require, onCancel: importDefault } = arg0);
let obj = expandEventPropertiesDefault;
obj = { type: closure_3 };
obj.track(AnalyticEvents.OPEN_MODAL, obj);
obj = {
importer() {
return closure_1_0(closure_1_2[6])(closure_1_2[5], closure_1_2.paths).then((arg0) => {
closure_0 = arg0.default;
return (arg0) => {
closure_0 = arg0;
const obj = {};
const merged = Object.assign(arg0);
obj.onCancel = function onCancel() {
closure_0.onClose();
if (closure_1_1 != null) {
tmp2();
}
};
obj.onConfirm = closure_0;
return closure_2_5(closure_0, obj);
};
});
}
};
_modDef4905.openLazy(obj);
};