decord/source/modules/icymi/native/ContentInventoryEntryRow.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

52 lines
1.8 KiB
TypeScript

// Module ID: 16503
// Function ID: 16504
// Name: ContentInventoryEntryRow
// Dependencies: [19, 4209, 21, 504, 8130, 16504, 16513, 2]
// Exports: default
// Module 16503 (ContentInventoryEntryRow)
import noopAll from "noop" /* 19 */;
import itemsDefault from "items" /* 16504 */;
import CustomStatusEntryRowDefault from "CustomStatusEntryRow" /* 16513 */;
import closure_3 from "markAllUserIdListsStale" /* 4209 */;
import { jsx } from "jsxProd" /* 21 */;
const require = arg1;
noopAll;
const result = require("set").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;
let obj = content(504);
const items = [closure_3];
if (obj.useStateFromStores(items, () => closure_1_3.isBlockedOrIgnored(content.author_id))) {
return null;
} else {
const content_type = content.content_type;
if (tmp(8130).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8130).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8130).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
obj = { content: null, renderForScreenshot: null, visible: null };
obj[0] = content;
obj[1] = flag;
if (flag2 == null) {
flag2 = false;
}
obj[2] = flag2;
return jsx(CustomStatusEntryRowDefault, { content: null, renderForScreenshot: null, visible: null });
} else {
return null;
}
}
}
obj = { content: null, renderForScreenshot: null };
obj[0] = content;
obj[1] = flag;
return jsx(itemsDefault, { content: null, renderForScreenshot: null });
}
};