52 lines
2.4 KiB
TypeScript
52 lines
2.4 KiB
TypeScript
/* Metro module 12691; source: modules/guild_antiraid/GuildReportRaidModalConstants.tsx; dependencies: [1244, 2] */
|
|
function _fun97253(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12881:6, offset: 0x02178cd1, size: 232 bytes, params: 8, frame: 18
|
|
var object2;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object2 = {DM_SPAM: 'DM_SPAM', MESSAGE_SPAM: 'MESSAGE_SPAM', MENTION_SPAM: 'MENTION_SPAM',
|
|
SUSPICIOUS_USERS: 'SUSPICIOUS_USERS', SETTINGS_SPAM: 'SETTINGS_SPAM'};
|
|
const MESSAGE_SPAM = object2.MESSAGE_SPAM;
|
|
const items2 = [MESSAGE_SPAM];
|
|
const DM_SPAM = object2.DM_SPAM;
|
|
items2[1] = DM_SPAM;
|
|
const MENTION_SPAM = object2.MENTION_SPAM;
|
|
items2[2] = MENTION_SPAM;
|
|
const SUSPICIOUS_USERS = object2.SUSPICIOUS_USERS;
|
|
items2[3] = SUSPICIOUS_USERS;
|
|
const SETTINGS_SPAM = object2.SETTINGS_SPAM;
|
|
items2[4] = SETTINGS_SPAM;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_antiraid/GuildReportRaidModalConstants.tsx');
|
|
exports.COMMUNITY_PORTAL_SERVER_SAFETY_PAGE = 'https://discord.com/community/securing-your-server';
|
|
exports.ReportRaidTypes = object2;
|
|
exports.REPORT_RAID_OPTIONS = items2;
|
|
exports.getReportRaidTypeLabel = getReportRaidTypeLabel;
|
|
}
|
|
|
|
function getReportRaidTypeLabel(a0) { // fn#97254, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12881:603, offset: 0x02178db9, size: 389 bytes, params: 2, frame: 15
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
const DM_SPAM = env0_2.DM_SPAM;
|
|
if (DM_SPAM === a0) {
|
|
return intl.string(t['9CYNmS']);
|
|
}
|
|
const MENTION_SPAM = env0_2.MENTION_SPAM;
|
|
if (MENTION_SPAM === a0) {
|
|
return intl.string(t['hR/IdO']);
|
|
}
|
|
const MESSAGE_SPAM = env0_2.MESSAGE_SPAM;
|
|
if (MESSAGE_SPAM === a0) {
|
|
return intl.string(t.fwloj2);
|
|
}
|
|
const SETTINGS_SPAM = env0_2.SETTINGS_SPAM;
|
|
if (SETTINGS_SPAM === a0) {
|
|
return intl.string(t.ETFVFw);
|
|
}
|
|
const SUSPICIOUS_USERS = env0_2.SUSPICIOUS_USERS;
|
|
if (SUSPICIOUS_USERS === a0) {
|
|
return intl.string(t['lKXu+n']);
|
|
}
|
|
return null;
|
|
}
|
|
|