// Module ID: 8739 // Function ID: 8740 // Name: confirmActivityChangeModal // Dependencies: [4030, 1922, 4984, 4827, 1236, 1903, 2] // Exports: default // Module 8739 (confirmActivityChangeModal) import markAllUserIdListsStale from "markAllUserIdListsStale"; import mergeGuildAvatar from "mergeGuildAvatar"; const require = arg1; const result = require("computeChannelName").fileFinishedImporting("modules/activities/confirmActivityChangeAlert.tsx"); export default function confirmActivityChangeModal(name, channel) { let str = ""; if (null != channel) { let obj = require(4984) /* computeChannelName */; str = obj.computeChannelName(channel, mergeGuildAvatar, markAllUserIdListsStale); } obj = { title: null, cancelText: null, confirmText: null, onConfirm: null, onCancel: null, body: null }; const intl = require(1236) /* getSystemLocale */.intl; obj[0] = intl.string(require(1236) /* getSystemLocale */.t.XkIWkk); const intl2 = require(1236) /* getSystemLocale */.intl; obj[1] = intl2.string(require(1236) /* getSystemLocale */.t["ETE/oC"]); const intl3 = require(1236) /* getSystemLocale */.intl; obj[2] = intl3.string(require(1236) /* getSystemLocale */.t["cY+Oob"]); obj[3] = arg2; obj[4] = arg3; const intl4 = require(1236) /* getSystemLocale */.intl; name = undefined; if (name != null) { name = name.name; } if (name == null) { const intl5 = tmp6(1236).intl; name = intl5.string(tmp6(1236).t.G99XFs); } obj = { currentApplicationName: name, currentApplicationChannelName: null }; const obj2 = importDefault(4827); if (tmp6Result.isNullOrEmpty(str)) { const intl6 = tmp6(1236).intl; str = intl6.string(tmp6(1236).t.OGUjmt); } obj[1] = str; obj[5] = intl4.format(require(1236) /* getSystemLocale */.t["5/Xort"], obj); obj2.show(obj); };