// Module ID: 12826 // Function ID: 12827 // Name: getCanSendInvite // Dependencies: [676, 11313, 6037, 11314, 11315, 11316, 2] // Exports: getCanSendInvite // Module 12826 (getCanSendInvite) import set from "set" /* 2 */; import resultDefault from "result" /* 11313 */; import getPartySize from "getPartySize" /* 11314 */; import hasPartySize from "hasPartySize" /* 11315 */; 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(6037)(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(11316).isPartyFull(partySize); const tmp5Result = tmp5(11316); } return !isPartyFullResult; } else { return false; } } else { return false; } tmp11 = importDefault; } };