2026-09-04 17:41:35 +00:00
|
|
|
// Module ID: 12552
|
|
|
|
|
// Function ID: 12553
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: confirmCancelFriendRequest
|
2026-09-04 17:41:35 +00:00
|
|
|
// Dependencies: [19, 21, 4867, 12553, 12554, 12555, 12556, 12557, 12558, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
|
|
|
|
|
|
2026-09-04 17:41:35 +00:00
|
|
|
// Module 12552 (confirmCancelFriendRequest)
|
2026-08-24 06:08:38 +00:00
|
|
|
import noopAll from "noop" /* 19 */;
|
2026-09-04 17:41:35 +00:00
|
|
|
import useAlertStore from "useAlertStore" /* 4867 */;
|
|
|
|
|
import UserProfileConfirmCancelFriendRequestDefault from "UserProfileConfirmCancelFriendRequest" /* 12553 */;
|
|
|
|
|
import UserProfileConfirmRemoveFriendDefault from "UserProfileConfirmRemoveFriend" /* 12554 */;
|
|
|
|
|
import UserProfileConfirmRemoveGameFriendDefault from "UserProfileConfirmRemoveGameFriend" /* 12555 */;
|
|
|
|
|
import UserProfileConfirmVideoUnstableConnectionDefault from "UserProfileConfirmVideoUnstableConnection" /* 12556 */;
|
|
|
|
|
import UserProfileAlertUserReportedDefault from "UserProfileAlertUserReported" /* 12557 */;
|
|
|
|
|
import UserProfileConfirmThreadRemoveDefault from "UserProfileConfirmThreadRemove" /* 12558 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
|
|
|
|
noopAll;
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileAlertUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const confirmCancelFriendRequest = function confirmCancelFriendRequest(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = useAlertStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
|
|
|
|
const merged = Object.assign(arg0);
|
2026-08-24 06:08:38 +00:00
|
|
|
obj.openAlert("cancel-friend-request", jsx(UserProfileConfirmCancelFriendRequestDefault, {}));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const confirmRemoveFriend = function confirmRemoveFriend(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = useAlertStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
|
|
|
|
const merged = Object.assign(arg0);
|
2026-08-24 06:08:38 +00:00
|
|
|
obj.openAlert("remove-friend", jsx(UserProfileConfirmRemoveFriendDefault, {}));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const confirmRemoveGameFriend = function confirmRemoveGameFriend(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = useAlertStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
|
|
|
|
const merged = Object.assign(arg0);
|
2026-08-24 06:08:38 +00:00
|
|
|
obj.openAlert("remove-game-friend", jsx(UserProfileConfirmRemoveGameFriendDefault, {}));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const confirmVideoUnstableConnection = function confirmVideoUnstableConnection(onConfirm) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = useAlertStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { onConfirm };
|
2026-08-24 06:08:38 +00:00
|
|
|
obj.openAlert("video-unstable-connection", jsx(UserProfileConfirmVideoUnstableConnectionDefault, { onConfirm }));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const alertUserReported = function alertUserReported() {
|
2026-08-24 06:08:38 +00:00
|
|
|
useAlertStore.openAlert("user-reported", jsx(UserProfileAlertUserReportedDefault, {}));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const confirmThreadRemove = function confirmThreadRemove(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = useAlertStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
|
|
|
|
const merged = Object.assign(arg0);
|
2026-08-24 06:08:38 +00:00
|
|
|
obj.openAlert("thread-remove", jsx(UserProfileConfirmThreadRemoveDefault, {}));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|