2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 11043
|
|
|
|
|
// Function ID: 11044
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getIsInParty
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getIsInParty
|
|
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 11043 (getIsInParty)
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/utils/getIsInParty.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getIsInParty = function getIsInParty(tmp8Result, activity) {
|
|
|
|
|
let id;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (activity != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const party = activity.party;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (party != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
id = party.id;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let tmp2 = null != id;
|
|
|
|
|
if (tmp2) {
|
|
|
|
|
let id1;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp8Result != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const party2 = tmp8Result.party;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (party2 != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
id1 = party2.id;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
tmp2 = null != id1 && tmp8Result.party.id === activity.party.id;
|
2026-07-29 08:29:29 +00:00
|
|
|
const tmp5 = null != id1 && tmp8Result.party.id === activity.party.id;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
};
|