// Module ID: 12839 // Function ID: 12840 // Name: getCanSendInvite // Dependencies: [676, 10956, 7298, 10957, 10958, 10959, 2] // Exports: getCanSendInvite // Module 12839 (getCanSendInvite) import set from "set" /* 2 */; import resultDefault from "result" /* 10956 */; import getPartySize from "getPartySize" /* 10957 */; import hasPartySize from "hasPartySize" /* 10958 */; import ME from "ME" /* 676 */; ({ 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(7298)(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(10959).isPartyFull(partySize); const tmp5Result = tmp5(10959); } return !isPartyFullResult; } else { return false; } } else { return false; } tmp11 = importDefault; } };