decord/source/modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

46 lines
1.7 KiB
TypeScript

// Module ID: 10804
// Function ID: 10805
// Name: openAcceptFriendRequestConfirmModal
// Dependencies: [10805, 673, 21, 695, 4866, 10806, 2008, 2]
// Exports: openAcceptFriendRequestConfirmModal
// Module 10804 (openAcceptFriendRequestConfirmModal)
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import ME from "ME" /* 673 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 695 */;
import _modDef4866 from "module_4866" /* 4866 */;
import RELATIONSHIP_COUNT_ANIMATION_THRESHOLD from "RELATIONSHIP_COUNT_ANIMATION_THRESHOLD" /* 10805 */;
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);
};
});
}
};
_modDef4866.openLazy(obj);
};