decord/source/modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

46 lines
1.7 KiB
TypeScript

// Module ID: 10878
// Function ID: 10879
// Name: openAcceptFriendRequestConfirmModal
// Dependencies: [10879, 1074, 21, 1242, 4905, 10880, 1896, 2]
// Exports: openAcceptFriendRequestConfirmModal
// Module 10878 (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" /* 10879 */;
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);
};