// Module ID: 6661 // Function ID: 58930 // Name: RowType // Dependencies: [653, 1212, 6662, 1921, 6663, 2] // Exports: getChannelPermissionSpecMap // Module 6661 (RowType) import ME from "ME"; let closure_3; let closure_4; let closure_5; let closure_6; ({ ChannelTypes: closure_3, ChannelTypesSets: closure_4, HelpdeskArticles: closure_5, Permissions: closure_6 } = ME); const result = require("getSystemLocale").fileFinishedImporting("modules/channel_permissions/ChannelPermissionsConstants.tsx"); export const RowType = { EMPTY_STATE: 0, [0]: "EMPTY_STATE", ADMINISTRATOR: 1, [1]: "ADMINISTRATOR", ROLE: 2, [2]: "ROLE", OWNER: 3, [3]: "OWNER", MEMBER: 4, [4]: "MEMBER", USER: 5, [5]: "USER", GUILD: 6, [6]: "GUILD" }; export const AudienceSelectorSections = { ROLES: 0, [0]: "ROLES", MEMBERS: 1, [1]: "MEMBERS", USERS: 2, [2]: "USERS", GUILDS: 3, [3]: "GUILDS" }; export const MEMBER_REQUEST_COUNT = 20; export const ADVANCED_MODE_ON_KEY = "channelPermissionSettingsAdvancedModeOn"; export const TrackExposureLocations = { SETTINGS_PAGE: "settings-page", MEMBERS_LIST: "members-list", EMPTY_STATE: "empty-state", CREATE_CHANNEL: "create-channel" }; export const SettingMode = { BASIC: "basic", ADVANCED: "advanced" }; export const getChannelPermissionSpecMap = function getChannelPermissionSpecMap(type, arg1, createPostsDisabled) { type = type.type; let obj = {}; let str = constants4.VIEW_CHANNEL; obj = {}; str = str.toString(); if (type === constants.GUILD_CATEGORY) { const intl2 = require(1212) /* getSystemLocale */.intl; let stringResult = intl2.string(require(1212) /* getSystemLocale */.t.uV83yi); } else { const intl = require(1212) /* getSystemLocale */.intl; stringResult = intl.string(require(1212) /* getSystemLocale */.t["W/A4Qp"]); } obj.title = stringResult; const GUILD_CATEGORY = constants.GUILD_CATEGORY; if (arg1) { if (GUILD_CATEGORY === type) { let M2iEy3 = require(1212) /* getSystemLocale */.t["o/vBzj"]; } else { if (constants.GUILD_VOICE !== type) { if (constants.GUILD_STAGE_VOICE !== type) { M2iEy3 = require(1212) /* getSystemLocale */.t["3jG0Bo"]; } } M2iEy3 = require(1212) /* getSystemLocale */.t.ejL1Wo; } } else if (type === GUILD_CATEGORY) { M2iEy3 = require(1212) /* getSystemLocale */.t.SzosGs; } else { M2iEy3 = require(1212) /* getSystemLocale */.t.M2iEy3; } obj.description = M2iEy3; obj.flag = constants4.VIEW_CHANNEL; obj[str] = obj; let str2 = constants4.MANAGE_CHANNELS; obj = {}; if (type === constants.GUILD_CATEGORY) { const intl4 = require(1212) /* getSystemLocale */.intl; let stringResult1 = intl4.string(require(1212) /* getSystemLocale */.t["9qLtWs"]); } else { const intl3 = require(1212) /* getSystemLocale */.intl; stringResult1 = intl3.string(require(1212) /* getSystemLocale */.t.nAw15L); } obj.title = stringResult1; if (constants.GUILD_CATEGORY === type) { let ydL28i = require(1212) /* getSystemLocale */.t.KJ2JnG; } else { str = constants; if (constants.GUILD_VOICE === type) { ydL28i = require(1212) /* getSystemLocale */.t["+gl2ne"]; } else if (constants.GUILD_STAGE_VOICE === type) { ydL28i = require(1212) /* getSystemLocale */.t.SDX669; } else { ydL28i = require(1212) /* getSystemLocale */.t.ydL28i; } } obj.description = ydL28i; obj.flag = constants4.MANAGE_CHANNELS; obj[str2.toString()] = obj; let str3 = constants4.MANAGE_ROLES; const obj1 = {}; str2 = str3.toString(); const intl5 = require(1212) /* getSystemLocale */.intl; obj1.title = intl5.string(require(1212) /* getSystemLocale */.t.ICb6am); if (constants.GUILD_CATEGORY === type) { let hOMXOv = require(1212) /* getSystemLocale */.t.TyyCMD; } else if (constants.GUILD_STAGE_VOICE === type) { hOMXOv = require(1212) /* getSystemLocale */.t.hcw4mx; } else { hOMXOv = require(1212) /* getSystemLocale */.t.hOMXOv; } obj1.description = hOMXOv; obj1.flag = constants4.MANAGE_ROLES; obj[str2] = obj1; let str4 = tmp34.MANAGE_WEBHOOKS; const obj2 = {}; str3 = str4.toString(); const intl6 = tmp36(1212).intl; obj2.title = intl6.string(require(1212) /* getSystemLocale */.t["/ADKmM"]); if (type === constants.GUILD_CATEGORY) { let CYBZry = require(1212) /* getSystemLocale */.t["K5+ZZ7"]; } else { CYBZry = require(1212) /* getSystemLocale */.t.CYBZry; } obj2.description = CYBZry; obj2.flag = constants4.MANAGE_WEBHOOKS; obj[str3] = obj2; let str5 = constants4.CREATE_INSTANT_INVITE; const obj3 = {}; str4 = str5.toString(); const intl7 = require(1212) /* getSystemLocale */.intl; obj3.title = intl7.string(require(1212) /* getSystemLocale */.t.zJrgTG); if (constants.GUILD_CATEGORY === type) { let lUCs1n = require(1212) /* getSystemLocale */.t["3YFAAX"]; } else { if (constants.GUILD_VOICE !== type) { if (constants.GUILD_STAGE_VOICE !== type) { lUCs1n = require(1212) /* getSystemLocale */.t.q4g2aI; } } lUCs1n = require(1212) /* getSystemLocale */.t.lUCs1n; } obj3.description = lUCs1n; obj3.flag = constants4.CREATE_INSTANT_INVITE; obj[str4] = obj3; let str6 = tmp50.SEND_MESSAGES; const obj4 = {}; const GUILD_THREADS_ONLY = constants2.GUILD_THREADS_ONLY; str5 = str6.toString(); if (GUILD_THREADS_ONLY.has(type)) { const intl10 = require(1212) /* getSystemLocale */.intl; let stringResult2 = intl10.string(require(1212) /* getSystemLocale */.t.nJwAHX); } else if (type === constants.GUILD_CATEGORY) { const intl9 = require(1212) /* getSystemLocale */.intl; stringResult2 = intl9.string(require(1212) /* getSystemLocale */.t.S1VOwd); } else { const intl8 = require(1212) /* getSystemLocale */.intl; stringResult2 = intl8.string(require(1212) /* getSystemLocale */.t.T32rkC); } obj4.title = stringResult2; if (constants.GUILD_CATEGORY === type) { let WQ6zpT = require(1212) /* getSystemLocale */.t.IjeLuu; } else { str = constants; if (constants.GUILD_FORUM === type) { if (null != createPostsDisabled) { if (createPostsDisabled.createPostsDisabled) { if (!type.isMediaChannel()) { let obj10 = importDefault(6662); let LG9VAi = obj10.getForumChannelPermissionText(); } WQ6zpT = LG9VAi; } } LG9VAi = require(1212) /* getSystemLocale */.t.LG9VAi; } else { str = constants; if (constants.GUILD_MEDIA === type) { WQ6zpT = require(1212) /* getSystemLocale */.t.LG9VAi; } else { str = constants; if (constants.GUILD_ANNOUNCEMENT === type) { const intl11 = require(1212) /* getSystemLocale */.intl; const obj5 = {}; let obj9 = importDefault(1921); obj5.articleURL = obj9.getArticleURL(constants3.ANNOUNCEMENT_CHANNELS); WQ6zpT = intl11.format(require(1212) /* getSystemLocale */.t.WFwfSD, obj5); } else if (constants.GUILD_VOICE === type) { let obj7 = importDefault(6663); let sendMessagesDisabled; if (null != createPostsDisabled) { sendMessagesDisabled = createPostsDisabled.sendMessagesDisabled; } WQ6zpT = obj7.getTextInVoiceSendMessageChannelPermissionText(sendMessagesDisabled); } else { WQ6zpT = require(1212) /* getSystemLocale */.t.WQ6zpT; } } } } obj4.description = WQ6zpT; obj4.flag = constants4.SEND_MESSAGES; obj[str5] = obj4; let str7 = constants4.EMBED_LINKS; const obj6 = {}; str6 = str7.toString(); const intl12 = require(1212) /* getSystemLocale */.intl; obj6.title = intl12.string(require(1212) /* getSystemLocale */.t["969dEL"]); if (type === constants.GUILD_CATEGORY) { let XFFhA0 = require(1212) /* getSystemLocale */.t["7zlUay"]; } else { XFFhA0 = require(1212) /* getSystemLocale */.t.XFFhA0; } obj6.description = XFFhA0; obj6.flag = constants4.EMBED_LINKS; obj[str6] = obj6; obj7 = {}; str7 = constants4.ATTACH_FILES.toString(); const intl13 = require(1212) /* getSystemLocale */.intl; obj7.title = intl13.string(require(1212) /* getSystemLocale */.t["3AS4UM"]); if (type === constants.GUILD_CATEGORY) { let WK9r7F = require(1212) /* getSystemLocale */.t.XREf9l; } else { WK9r7F = require(1212) /* getSystemLocale */.t.WK9r7F; } obj7.description = WK9r7F; obj7.flag = constants4.ATTACH_FILES; obj[str7] = obj7; const obj8 = {}; str = require; str = dependencyMap; str = constants4.ADD_REACTIONS.toString(); const intl14 = require(1212) /* getSystemLocale */.intl; obj8.title = intl14.string(require(1212) /* getSystemLocale */.t.yEoJAr); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let PVjR1Y = require(1212) /* getSystemLocale */.t.pZT2Zh; } else { str = constants; if (constants.GUILD_VOICE === type) { str = require; str = dependencyMap; PVjR1Y = require(1212) /* getSystemLocale */.t.xSSbIs; } else { str = require; str = dependencyMap; PVjR1Y = require(1212) /* getSystemLocale */.t.PVjR1Y; } } obj8.description = PVjR1Y; obj8.flag = constants4.ADD_REACTIONS; obj[str] = obj8; obj9 = {}; str = constants4.USE_EXTERNAL_EMOJIS.toString(); const intl15 = str(1212).intl; obj9.title = intl15.string(str(1212).t["+bxf3H"]); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let Qc5vOr = require(1212) /* getSystemLocale */.t.mWAbK4; } else { str = require; str = dependencyMap; Qc5vOr = require(1212) /* getSystemLocale */.t.Qc5vOr; } obj9.description = Qc5vOr; obj9.flag = constants4.USE_EXTERNAL_EMOJIS; obj[str] = obj9; obj10 = {}; str = constants4.USE_EXTERNAL_STICKERS.toString(); const intl16 = require(1212) /* getSystemLocale */.intl; obj10.title = intl16.string(require(1212) /* getSystemLocale */.t.ERNhYf); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let VF4fZZ = require(1212) /* getSystemLocale */.t["39whJ4"]; } else { str = require; str = dependencyMap; VF4fZZ = require(1212) /* getSystemLocale */.t.VF4fZZ; } obj10.description = VF4fZZ; obj10.flag = constants4.USE_EXTERNAL_STICKERS; obj[str] = obj10; const obj11 = {}; str = constants4.MENTION_EVERYONE.toString(); if (type === constants.GUILD_STAGE_VOICE) { str = require; str = dependencyMap; const intl18 = require(1212) /* getSystemLocale */.intl; str = intl18.string(require(1212) /* getSystemLocale */.t.VDUAHO); } else { str = require; str = dependencyMap; const intl17 = require(1212) /* getSystemLocale */.intl; str = intl17.string(require(1212) /* getSystemLocale */.t.Y78KGC); } obj11.title = str; if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; } else { str = constants; if (type === constants.GUILD_STAGE_VOICE) { str = require; str = dependencyMap; } else { str = require; str = dependencyMap; } } obj11.description = _6IUSdt; str = constants4; obj11.flag = constants4.MENTION_EVERYONE; obj[str] = obj11; const obj12 = {}; str = require; str = dependencyMap; str = constants4.MANAGE_MESSAGES.toString(); const intl19 = require(1212) /* getSystemLocale */.intl; obj12.title = intl19.string(require(1212) /* getSystemLocale */.t["6lU9xM"]); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; SeA_G9 = require(1212) /* getSystemLocale */.t["5R9nYh"]; } else { str = constants; if (constants.GUILD_ANNOUNCEMENT === type) { str = require; str = dependencyMap; const intl20 = require(1212) /* getSystemLocale */.intl; const obj13 = {}; str = importDefault; let obj19 = importDefault(1921); str = constants3; obj13.articleURL = obj19.getArticleURL(constants3.ANNOUNCEMENT_CHANNELS); SeA_G9 = intl20.format(require(1212) /* getSystemLocale */.t.XRxOo0, obj13); } else { str = require; str = dependencyMap; SeA_G9 = require(1212) /* getSystemLocale */.t["SeA+G9"]; } } obj12.description = SeA_G9; obj12.flag = str.MANAGE_MESSAGES; obj[str] = obj12; const obj14 = {}; str = str.PIN_MESSAGES.toString(); const intl21 = str(1212).intl; obj14.title = intl21.string(str(1212).t.Y5BI39); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; } else { str = require; str = dependencyMap; } obj14.description = _0l2EjL; obj14.flag = constants4.PIN_MESSAGES; obj[str] = obj14; const obj15 = {}; str = constants4.BYPASS_SLOWMODE.toString(); const intl22 = require(1212) /* getSystemLocale */.intl; obj15.title = intl22.string(require(1212) /* getSystemLocale */.t.kqcjeV); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let Ha1xbw = require(1212) /* getSystemLocale */.t.C4t1Xu; } else { str = require; str = dependencyMap; Ha1xbw = require(1212) /* getSystemLocale */.t.Ha1xbw; } obj15.description = Ha1xbw; obj15.flag = constants4.BYPASS_SLOWMODE; obj[str] = obj15; const obj16 = {}; str = constants4.MANAGE_OFFICIAL_MESSAGES.toString(); const intl23 = require(1212) /* getSystemLocale */.intl; obj16.title = intl23.string(require(1212) /* getSystemLocale */.t.Aj9ruN); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let qEbw4W = require(1212) /* getSystemLocale */.t["Pf0e/Q"]; } else { str = require; str = dependencyMap; qEbw4W = require(1212) /* getSystemLocale */.t.qEbw4W; } obj16.description = qEbw4W; obj16.flag = constants4.MANAGE_OFFICIAL_MESSAGES; obj[str] = obj16; const obj17 = {}; const GUILD_THREADS_ONLY2 = constants2.GUILD_THREADS_ONLY; str = constants4.READ_MESSAGE_HISTORY.toString(); str = GUILD_THREADS_ONLY2.has(type); const intl24 = require(1212) /* getSystemLocale */.intl; const string = intl24.string; const t = require(1212) /* getSystemLocale */.t; if (str) { str = string(t["0RQwtn"]); } else { str = string(t.l9ufaR); } obj17.title = str; if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let RqCc7i = require(1212) /* getSystemLocale */.t["cJRv/g"]; } else { str = constants; if (constants.GUILD_VOICE === type) { str = importDefault; str = dependencyMap; let obj24 = importDefault(6663); str = null; str = undefined; if (null != createPostsDisabled) { str = createPostsDisabled.readMessageHistoryDisabled; } RqCc7i = obj24.getTextInVoiceReadMessageHistoryChannelPermissionText(str); } else { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; RqCc7i = require(1212) /* getSystemLocale */.t.cuMfH0; } } str = require; str = dependencyMap; RqCc7i = require(1212) /* getSystemLocale */.t.RqCc7i; } } obj17.description = RqCc7i; obj17.flag = constants4.READ_MESSAGE_HISTORY; obj[str] = obj17; const obj18 = {}; str = constants4.SEND_TTS_MESSAGES.toString(); const intl25 = require(1212) /* getSystemLocale */.intl; obj18.title = intl25.string(require(1212) /* getSystemLocale */.t.mMbwh7); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let CpakGz = require(1212) /* getSystemLocale */.t.b7pc9U; } else { str = require; str = dependencyMap; CpakGz = require(1212) /* getSystemLocale */.t.CpakGz; } obj18.description = CpakGz; obj18.flag = constants4.SEND_TTS_MESSAGES; obj[str] = obj18; obj19 = {}; str = constants4.USE_APPLICATION_COMMANDS.toString(); const intl26 = require(1212) /* getSystemLocale */.intl; obj19.title = intl26.string(require(1212) /* getSystemLocale */.t.nkoPOt); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let ReG3gG = require(1212) /* getSystemLocale */.t["D+qW0J"]; } else { str = require; str = dependencyMap; ReG3gG = require(1212) /* getSystemLocale */.t.ReG3gG; } obj19.description = ReG3gG; obj19.flag = constants4.USE_APPLICATION_COMMANDS; obj[str] = obj19; const obj20 = {}; str = constants4.SEND_VOICE_MESSAGES.toString(); const intl27 = require(1212) /* getSystemLocale */.intl; obj20.title = intl27.string(require(1212) /* getSystemLocale */.t.WlWSBT); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let BhEo9V = require(1212) /* getSystemLocale */.t.gavGfv; } else { str = require; str = dependencyMap; BhEo9V = require(1212) /* getSystemLocale */.t.BhEo9V; } obj20.description = BhEo9V; obj20.flag = constants4.SEND_VOICE_MESSAGES; obj[str] = obj20; const obj21 = {}; str = constants4.SEND_POLLS.toString(); const intl28 = require(1212) /* getSystemLocale */.intl; obj21.title = intl28.string(require(1212) /* getSystemLocale */.t.UMQ7Ww); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let ckKKIO = require(1212) /* getSystemLocale */.t["18Ya7L"]; } else { str = require; str = dependencyMap; ckKKIO = require(1212) /* getSystemLocale */.t.ckKKIO; } obj21.description = ckKKIO; str = constants4; obj21.flag = constants4.SEND_POLLS; obj[str] = obj21; const obj22 = {}; str = require; str = dependencyMap; str = constants4.CONNECT.toString(); const intl29 = require(1212) /* getSystemLocale */.intl; obj22.title = intl29.string(require(1212) /* getSystemLocale */.t.S0W8Z5); const GUILD_CATEGORY2 = constants.GUILD_CATEGORY; if (arg1) { if (GUILD_CATEGORY2 === type) { str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t.XcrieN; } else { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t.SOFNhP; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t.j4AyO8; } } } str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t.LsS8xT; } } } else if (GUILD_CATEGORY2 === type) { str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t.stA0Hl; } else { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t["G9+Qie"]; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t.HvG8uR; } } } str = require; str = dependencyMap; QU_Rw8 = require(1212) /* getSystemLocale */.t["QU/Rw8"]; } } obj22.description = QU_Rw8; obj22.flag = str.CONNECT; obj[str] = obj22; const obj23 = {}; str = str.SPEAK.toString(); const intl30 = str(1212).intl; obj23.title = intl30.string(str(1212).t["8w1tIR"]); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; _VXsJI = require(1212) /* getSystemLocale */.t.iXhS6R; } else { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; _VXsJI = require(1212) /* getSystemLocale */.t.a8n741; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; _VXsJI = require(1212) /* getSystemLocale */.t["568E6d"]; } } } str = require; str = dependencyMap; _VXsJI = require(1212) /* getSystemLocale */.t["+VXsJI"]; } } obj23.description = _VXsJI; obj23.flag = str.SPEAK; obj[str] = obj23; obj24 = {}; str = str.STREAM.toString(); const intl31 = str(1212).intl; obj24.title = intl31.string(str(1212).t.FlNoSV); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let AuEQEC = require(1212) /* getSystemLocale */.t["ryG0/J"]; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; AuEQEC = require(1212) /* getSystemLocale */.t.swJcN6; } else { str = require; str = dependencyMap; AuEQEC = require(1212) /* getSystemLocale */.t.RY8rIc; } } } } str = require; str = dependencyMap; AuEQEC = require(1212) /* getSystemLocale */.t.AuEQEC; } obj24.description = AuEQEC; obj24.flag = str.STREAM; obj[str] = obj24; const obj25 = {}; str = str.USE_EMBEDDED_ACTIVITIES.toString(); const intl32 = str(1212).intl; obj25.title = intl32.string(str(1212).t.rLSGeh); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let RyEwla = require(1212) /* getSystemLocale */.t.maNzCO; } else { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; RyEwla = require(1212) /* getSystemLocale */.t.qinvMU; } } str = require; str = dependencyMap; RyEwla = require(1212) /* getSystemLocale */.t.RyEwla; } obj25.description = RyEwla; obj25.flag = str.USE_EMBEDDED_ACTIVITIES; obj[str] = obj25; const obj26 = {}; str = str.USE_EXTERNAL_APPS.toString(); const intl33 = str(1212).intl; obj26.title = intl33.string(str(1212).t["3TzAk0"]); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let qPUPip = require(1212) /* getSystemLocale */.t.bgIY3H; } else { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; qPUPip = require(1212) /* getSystemLocale */.t.czqMLp; } } str = require; str = dependencyMap; qPUPip = require(1212) /* getSystemLocale */.t.qPUPip; } obj26.description = qPUPip; obj26.flag = str.USE_EXTERNAL_APPS; obj[str] = obj26; const obj27 = {}; str = str.USE_SOUNDBOARD.toString(); const intl34 = str(1212).intl; obj27.title = intl34.string(str(1212).t.Bco7NG); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; const intl37 = require(1212) /* getSystemLocale */.intl; const obj28 = {}; str = importDefault; let obj40 = importDefault(1921); str = constants3; obj28.helpCenterArticle = obj40.getArticleURL(constants3.SOUNDBOARD); str = intl37.format(require(1212) /* getSystemLocale */.t["0kBp/0"], obj28); } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; const intl35 = require(1212) /* getSystemLocale */.intl; const obj29 = {}; str = importDefault; let obj36 = importDefault(1921); str = constants3; obj29.helpCenterArticle = obj36.getArticleURL(constants3.SOUNDBOARD); str = intl35.format(require(1212) /* getSystemLocale */.t.GEi6Ym, obj29); } } } str = require; str = dependencyMap; const intl36 = require(1212) /* getSystemLocale */.intl; const obj30 = {}; str = importDefault; let obj38 = importDefault(1921); str = constants3; obj30.helpCenterArticle = obj38.getArticleURL(constants3.SOUNDBOARD); str = intl36.format(require(1212) /* getSystemLocale */.t["6eYqU1"], obj30); } obj27.description = str; obj27.flag = str.USE_SOUNDBOARD; obj[str] = obj27; const obj31 = {}; str = str.USE_EXTERNAL_SOUNDS.toString(); const intl38 = str(1212).intl; obj31.title = intl38.string(str(1212).t.pwaVJ6); obj31.description = str(1212).t.qDpPtX; obj31.flag = str.USE_EXTERNAL_SOUNDS; obj[str] = obj31; const obj32 = {}; str = str.USE_VAD.toString(); const intl39 = str(1212).intl; obj32.title = intl39.string(str(1212).t["08zAV7"]); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; } else { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; } } } str = require; str = dependencyMap; } } obj32.description = _3GJwsc; obj32.flag = str.USE_VAD; obj[str] = obj32; const obj33 = {}; str = str.PRIORITY_SPEAKER.toString(); const intl40 = str(1212).intl; obj33.title = intl40.string(str(1212).t.BVK71i); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; const intl45 = require(1212) /* getSystemLocale */.intl; const obj34 = {}; const intl46 = require(1212) /* getSystemLocale */.intl; obj34.keybind = intl46.string(require(1212) /* getSystemLocale */.t.DkSwJ2); str = intl45.format(require(1212) /* getSystemLocale */.t.g5MzON, obj34); } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; const intl41 = require(1212) /* getSystemLocale */.intl; const obj35 = {}; const intl42 = require(1212) /* getSystemLocale */.intl; obj35.keybind = intl42.string(require(1212) /* getSystemLocale */.t.DkSwJ2); str = intl41.format(require(1212) /* getSystemLocale */.t.Ij0yKX, obj35); } } } str = require; str = dependencyMap; const intl43 = require(1212) /* getSystemLocale */.intl; obj36 = {}; const intl44 = require(1212) /* getSystemLocale */.intl; obj36.keybind = intl44.string(require(1212) /* getSystemLocale */.t.DkSwJ2); str = intl43.format(require(1212) /* getSystemLocale */.t["4nbjL0"], obj36); } obj33.description = str; obj33.flag = str.PRIORITY_SPEAKER; obj[str] = obj33; const obj37 = {}; str = str.MUTE_MEMBERS.toString(); const intl47 = str(1212).intl; obj37.title = intl47.string(str(1212).t["8EI30/"]); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let KYDG2K = require(1212) /* getSystemLocale */.t.bcuobK; } else { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; KYDG2K = require(1212) /* getSystemLocale */.t.EbvdH9; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; KYDG2K = require(1212) /* getSystemLocale */.t.LW5C9P; } } } str = require; str = dependencyMap; KYDG2K = require(1212) /* getSystemLocale */.t.KYDG2K; } } obj37.description = KYDG2K; obj37.flag = str.MUTE_MEMBERS; obj[str] = obj37; obj38 = {}; str = str.DEAFEN_MEMBERS.toString(); const intl48 = str(1212).intl; obj38.title = intl48.string(str(1212).t["9L47Fr"]); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; d_i1nX = require(1212) /* getSystemLocale */.t.amZ5vn; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; d_i1nX = require(1212) /* getSystemLocale */.t.UAdIxo; } } } str = require; str = dependencyMap; d_i1nX = require(1212) /* getSystemLocale */.t["d+i1nX"]; } obj38.description = d_i1nX; obj38.flag = str.DEAFEN_MEMBERS; obj[str] = obj38; const obj39 = {}; str = str.MOVE_MEMBERS.toString(); const intl49 = str(1212).intl; obj39.title = intl49.string(str(1212).t.YtjJPQ); if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let cbdQy2 = require(1212) /* getSystemLocale */.t.XmoyRD; } else { str = constants; if (constants.GUILD_STAGE_VOICE === type) { str = require; str = dependencyMap; cbdQy2 = require(1212) /* getSystemLocale */.t.bizKz6; } else { str = constants; if (constants.GUILD_TEXT !== type) { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; cbdQy2 = require(1212) /* getSystemLocale */.t.nSD1ah; } } } str = require; str = dependencyMap; cbdQy2 = require(1212) /* getSystemLocale */.t.cbdQy2; } } obj39.description = cbdQy2; obj39.flag = str.MOVE_MEMBERS; obj[str] = obj39; obj40 = {}; str = str.REQUEST_TO_SPEAK.toString(); const intl50 = str(1212).intl; obj40.title = intl50.string(str(1212).t["5kicT2"]); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let uzlYFE = require(1212) /* getSystemLocale */.t.T1lMSl; } else { str = require; str = dependencyMap; uzlYFE = require(1212) /* getSystemLocale */.t.uzlYFE; } obj40.description = uzlYFE; obj40.flag = constants4.REQUEST_TO_SPEAK; obj[str] = obj40; const obj41 = {}; const GUILD_THREADS_ONLY3 = constants2.GUILD_THREADS_ONLY; str = constants4.MANAGE_THREADS.toString(); if (GUILD_THREADS_ONLY3.has(type)) { str = require; str = dependencyMap; const intl53 = require(1212) /* getSystemLocale */.intl; str = intl53.string(require(1212) /* getSystemLocale */.t.ossiZD); } else { str = constants; if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; const intl52 = require(1212) /* getSystemLocale */.intl; str = intl52.string(require(1212) /* getSystemLocale */.t.QKe7Q3); } else { str = require; str = dependencyMap; const intl51 = require(1212) /* getSystemLocale */.intl; str = intl51.string(require(1212) /* getSystemLocale */.t.kEqgr7); } } obj41.title = str; if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; XLi_jG = require(1212) /* getSystemLocale */.t.S31soU; } else { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; XLi_jG = require(1212) /* getSystemLocale */.t.yvan0j; } } str = require; str = dependencyMap; XLi_jG = require(1212) /* getSystemLocale */.t["XLi/jG"]; } obj41.description = XLi_jG; obj41.flag = constants4.MANAGE_THREADS; obj[str] = obj41; const obj42 = {}; str = constants4.CREATE_PUBLIC_THREADS.toString(); const intl54 = require(1212) /* getSystemLocale */.intl; obj42.title = intl54.string(require(1212) /* getSystemLocale */.t["25rKnX"]); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; } else { str = require; str = dependencyMap; } obj42.description = _5SDtGB; obj42.flag = constants4.CREATE_PUBLIC_THREADS; obj[str] = obj42; const obj43 = {}; str = constants4.CREATE_PRIVATE_THREADS.toString(); const intl55 = require(1212) /* getSystemLocale */.intl; obj43.title = intl55.string(require(1212) /* getSystemLocale */.t.QwbTSa); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let Chg2zd = require(1212) /* getSystemLocale */.t["hBS/zn"]; } else { str = require; str = dependencyMap; Chg2zd = require(1212) /* getSystemLocale */.t.Chg2zd; } obj43.description = Chg2zd; obj43.flag = constants4.CREATE_PRIVATE_THREADS; obj[str] = obj43; const obj44 = {}; const GUILD_THREADS_ONLY4 = constants2.GUILD_THREADS_ONLY; str = constants4.SEND_MESSAGES_IN_THREADS.toString(); if (GUILD_THREADS_ONLY4.has(type)) { str = require; str = dependencyMap; const intl58 = require(1212) /* getSystemLocale */.intl; str = intl58.string(require(1212) /* getSystemLocale */.t.fqhqWm); } else { str = constants; if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; const intl57 = require(1212) /* getSystemLocale */.intl; str = intl57.string(require(1212) /* getSystemLocale */.t["5QlVGy"]); } else { str = require; str = dependencyMap; const intl56 = require(1212) /* getSystemLocale */.intl; str = intl56.string(require(1212) /* getSystemLocale */.t.fTE74g); } } obj44.title = str; if (constants.GUILD_CATEGORY === type) { str = require; str = dependencyMap; let XTnrPH = require(1212) /* getSystemLocale */.t.DlIVcN; } else { str = constants; if (constants.GUILD_FORUM !== type) { str = constants; if (constants.GUILD_MEDIA !== type) { str = require; str = dependencyMap; XTnrPH = require(1212) /* getSystemLocale */.t.xHO6Me; } } str = require; str = dependencyMap; XTnrPH = require(1212) /* getSystemLocale */.t.XTnrPH; } obj44.description = XTnrPH; obj44.flag = constants4.SEND_MESSAGES_IN_THREADS; obj[str] = obj44; const obj45 = {}; str = constants4.MANAGE_EVENTS.toString(); const intl59 = require(1212) /* getSystemLocale */.intl; obj45.title = intl59.string(require(1212) /* getSystemLocale */.t.HIgA5a); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; } else { str = require; str = dependencyMap; } obj45.description = _4pO_TY; obj45.flag = constants4.MANAGE_EVENTS; obj[str] = obj45; const obj46 = {}; str = constants4.CREATE_EVENTS.toString(); const intl60 = require(1212) /* getSystemLocale */.intl; obj46.title = intl60.string(require(1212) /* getSystemLocale */.t.qyjZua); if (type === constants.GUILD_CATEGORY) { str = require; str = dependencyMap; let sPoBLa = require(1212) /* getSystemLocale */.t.XpibmC; } else { str = require; str = dependencyMap; sPoBLa = require(1212) /* getSystemLocale */.t.sPoBLa; } obj46.description = sPoBLa; obj46.flag = constants4.CREATE_EVENTS; obj[str] = obj46; const obj47 = {}; str = constants4.SET_VOICE_CHANNEL_STATUS.toString(); const intl61 = require(1212) /* getSystemLocale */.intl; obj47.title = intl61.string(require(1212) /* getSystemLocale */.t.VBwkUf); if (null != createPostsDisabled) { if (createPostsDisabled.enableHangoutWindow) { str = require; str = dependencyMap; let C6BzXx = require(1212) /* getSystemLocale */.t.CYcJ6H; } obj47.description = C6BzXx; str = constants4; obj47.flag = constants4.SET_VOICE_CHANNEL_STATUS; obj[str] = obj47; return obj; } C6BzXx = require(1212) /* getSystemLocale */.t.C6BzXx; };