// Module ID: 16588 // Function ID: 16589 // Name: getGroupDMRecipientLimit // Dependencies: [1921, 16589, 673, 1923, 1945, 16590, 2] // Exports: default // Module 16588 (getGroupDMRecipientLimit) import isPremiumAtLeast from "isPremiumAtLeast" /* 1945 */; import closure_2 from "mergeGuildAvatar" /* 1921 */; import { MAX_GROUP_DM_NITRO_PARTICIPANTS as closure_3 } from "MAX_GROUP_DM_NITRO_PARTICIPANTS" /* 16589 */; import ME from "ME" /* 673 */; import { PremiumTypes } from "GuildFeatures" /* 1923 */; require = arg1; ({ MAX_GROUP_DM_PARTICIPANTS: c4, MAX_GROUP_DM_STAFF_PARTICIPANTS: c5 } = ME); const result = require("set").fileFinishedImporting("modules/group_dm/getGroupDMRecipientLimit.tsx"); export default function getGroupDMRecipientLimit() { let obj = arg0; if (arg0 === undefined) { obj = {}; } let flag = obj.useNitroCapExperiment; if (flag === undefined) { flag = false; } currentUser = currentUser.getCurrentUser(); let isStaffResult; if (currentUser != null) { isStaffResult = currentUser.isStaff(); } if (isStaffResult) { let tmp5 = closure_5; } else { if (flag) { if (obj3.isPremium(currentUser, PremiumTypes.TIER_2)) { if (tmp2Result.getGroupDMNitroCapConfig("getGroupDMRecipientLimit").enabled) { tmp5 = closure_3; } tmp2Result = tmp2(16590); } obj3 = isPremiumAtLeast; tmp2 = require; } tmp5 = closure_4; } return tmp5; };