// Module ID: 13233 // Function ID: 13234 // Name: getCanSendInvite // Dependencies: [1074, 11754, 7313, 11755, 11756, 11757, 2] // Exports: getCanSendInvite // Module 13233 (getCanSendInvite) import set from "set" /* 2 */; import resultDefault from "result" /* 11754 */; import getPartySize from "getPartySize" /* 11755 */; import hasPartySize from "hasPartySize" /* 11756 */; import ME from "ME" /* 1074 */; ({ ActivityFlags: c3, ActivityActionTypes: c4 } = ME); const result = set.fileFinishedImporting("modules/activities/utils/getCanSendInvite.tsx"); export const getCanSendInvite = function getCanSendInvite(findActivityResult, author, application, id1) { if (author.author.id === id1) { return false; } else { if (resultDefault(findActivityResult, author, application.id)) { const activity = author.activity; let type; if (activity != null) { type = activity.type; } if (type !== constants2.JOIN_REQUEST) { return false; } else if (tmp11(7313)(findActivityResult, constants.JOIN)) { const partySize = getPartySize.getPartySize(findActivityResult); const obj = getPartySize; const tmp5 = require; const hasPartySizeResult = hasPartySize.hasPartySize(partySize); let isPartyFullResult = !hasPartySizeResult; if (hasPartySizeResult) { isPartyFullResult = tmp5(11757).isPartyFull(partySize); const tmp5Result = tmp5(11757); } return !isPartyFullResult; } else { return false; } } else { return false; } tmp11 = importDefault; } };