decord/source/modules/icymi/native/ContentInventoryEntryRow.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

48 lines
1.7 KiB
TypeScript

// Module ID: 16630
// Function ID: 16631
// Name: ContentInventoryEntryRow
// Dependencies: [19, 4286, 21, 504, 8259, 16631, 16640, 2]
// Exports: default
// Module 16630 (ContentInventoryEntryRow)
import GamingLikeEntryRowDefault from "GamingLikeEntryRow" /* 16631 */;
import CustomStatusEntryRowDefault from "CustomStatusEntryRow" /* 16640 */;
import noop from "module_19" /* 19 */;
import RelationshipStore from "RelationshipStore" /* 4286 */;
const require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/icymi/native/ContentInventoryEntryRow.tsx");
export default function ContentInventoryEntryRow(content) {
content = content.content;
let flag = content.renderForScreenshot;
if (flag === undefined) {
flag = false;
}
let flag2 = content.visible;
const items = [RelationshipStore];
if (obj.useStateFromStores(items, () => RelationshipStore.isBlockedOrIgnored(content.author_id))) {
return null;
} else {
const content_type = content.content_type;
if (tmp(8259).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8259).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8259).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
const obj2 = { content, renderForScreenshot: flag, visible: null };
if (flag2 == null) {
flag2 = false;
}
obj2.visible = flag2;
return jsx(CustomStatusEntryRowDefault, { content, renderForScreenshot: flag, visible: null });
} else {
return null;
}
}
}
const obj3 = { content, renderForScreenshot: flag };
return jsx(GamingLikeEntryRowDefault, { content, renderForScreenshot: flag });
}
obj = content(504);
};