decord/source/modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

34 lines
1.3 KiB
TypeScript

// Module ID: 7859
// Function ID: 7860
// Name: ConversationPreviewBlockedMessage
// Dependencies: [19, 21, 4934, 709, 7860, 6908, 4477, 1233, 2]
// Exports: default
// Module 7859 (ConversationPreviewBlockedMessage)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 709 */;
import Text from "Text" /* 4477 */;
import Stack from "Stack" /* 4934 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ jsx: c3, jsxs: c4 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx");
export default function ConversationPreviewBlockedMessage(reason) {
let obj = { direction: "horizontal", spacing: ThemesDefault.space.PX_8, align: "center", children: null };
if ("blocked" === reason.reason) {
let EyeSlashIcon = tmp2(7860).DenyIcon;
} else {
EyeSlashIcon = tmp2(6908).EyeSlashIcon;
}
obj = { size: "sm", color: ThemesDefault.colors.TEXT_MUTED };
const items = [closure_3(EyeSlashIcon, obj), ];
const intl = tmp2(1233).intl;
const t = tmp2(1233).t;
obj = { variant: "text-md/normal", color: "text-muted", children: intl.string(tmp6 ? t["WPe+xL"] : t.uxrh1O) };
items[1] = closure_3(Text.Text, obj);
obj[3] = items;
return closure_4(Stack.Stack, obj);
};