// Module ID: 13121 // Function ID: 13122 // Name: getCanSendInvite // Dependencies: [673, 11549, 6166, 9460, 9461, 9462, 2] // Exports: getCanSendInvite // Module 13121 (getCanSendInvite) import set from "set" /* 2 */; import getPartySize from "getPartySize" /* 9460 */; import hasPartySize from "hasPartySize" /* 9461 */; import resultDefault from "result" /* 11549 */; import ME from "ME" /* 673 */; ({ 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(6166)(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(9462).isPartyFull(partySize); const tmp5Result = tmp5(9462); } return !isPartyFullResult; } else { return false; } } else { return false; } tmp11 = importDefault; } };