2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 10462
|
|
|
|
|
// Function ID: 81190
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useIsViewingActivity
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4144, 10447, 3982, 10444, 566, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useIsViewingActivity
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 10462 (useIsViewingActivity)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/activities/native/useIsViewingActivity.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useIsViewingActivity = function useIsViewingActivity(channelId) {
|
|
|
|
|
channelId = channelId.channelId;
|
2026-07-25 08:10:48 +00:00
|
|
|
let tmp = importDefault(10447)(channelId);
|
|
|
|
|
const isModalOpen = channelId(3982).useIsModalOpen(importDefault(10444));
|
|
|
|
|
const obj = channelId(3982);
|
2026-07-23 10:11:24 +00:00
|
|
|
const items = [_isNativeReflectConstruct];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items1 = [channelId];
|
2026-07-23 10:11:24 +00:00
|
|
|
const stateFromStores = channelId(566).useStateFromStores(items, () => outer1_3.getChatOpen(channelId), items1);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (tmp) {
|
|
|
|
|
tmp = isModalOpen;
|
|
|
|
|
}
|
|
|
|
|
if (tmp) {
|
|
|
|
|
tmp = !stateFromStores;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|