decord/source/modules/vibegrations/native/VibegrationsChannelRow.tsx

54 lines
2.3 KiB
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 16052
// Function ID: 16053
2026-08-24 06:08:38 +00:00
// Name: VibegrationsChannelRow
2026-09-03 10:05:34 +00:00
// Dependencies: [19, 673, 1393, 10227, 21, 4478, 709, 1219, 12177, 1233, 3500, 10262, 2]
2026-08-24 06:08:38 +00:00
// Exports: default
2026-09-03 10:05:34 +00:00
// Module 16052 (VibegrationsChannelRow)
2026-09-02 09:53:35 +00:00
import ThemesDefault from "Themes" /* 709 */;
import messagesProxyDefault from "messagesProxy" /* 3500 */;
2026-09-03 10:05:34 +00:00
import BaseChannelSubtitleDefault from "BaseChannelSubtitle" /* 12177 */;
2026-08-24 06:08:38 +00:00
import closure_3 from "noop" /* 19 */;
2026-09-02 09:53:35 +00:00
import { Routes } from "ME" /* 673 */;
import { StaticChannelRoute } from "set" /* 1393 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-09-01 10:26:29 +00:00
import createCacheKey from "createCacheKey" /* 4478 */;
2026-08-24 06:08:38 +00:00
const require = arg1;
createCacheKey = { container: null };
createCacheKey = { marginVertical: require("hairlineWidth").CHANNEL_MARGIN_VERTICAL, marginHorizontal: 8, borderRadius: ThemesDefault.radii.md };
createCacheKey[0] = createCacheKey;
let closure_7 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/vibegrations/native/VibegrationsChannelRow.tsx");
export default function VibegrationsChannelRow(selected) {
selected = selected.selected;
let id;
id = selected.guild.id;
const items = [id];
const callback = React.useCallback(() => {
id(closure_1_2[7]).transitionTo(closure_1_4.CHANNEL(id, closure_1_5.VIBEGRATIONS));
}, items);
if (true === selected) {
2026-09-03 10:05:34 +00:00
let DEFAULT = id(12177).ChannelModes.SELECTED;
2026-08-24 06:08:38 +00:00
let tmp5 = id;
} else {
2026-09-03 10:05:34 +00:00
DEFAULT = id(12177).ChannelModes.DEFAULT;
2026-08-24 06:08:38 +00:00
tmp5 = id;
}
let obj = { onPress: callback, style: callback().container, accessible: true, accessibilityLabel: null, accessibilityState: null, mode: null, name: null, icon: null };
const tmp = callback();
2026-09-02 09:53:35 +00:00
const intl = tmp5(1233).intl;
2026-08-24 06:08:38 +00:00
obj[3] = intl.string(messagesProxyDefault.Xmvb23);
obj[4] = { selected };
obj[5] = DEFAULT;
obj = { name: null, mode: null };
2026-09-02 09:53:35 +00:00
const intl2 = tmp5(1233).intl;
2026-08-24 06:08:38 +00:00
obj[0] = intl2.string(messagesProxyDefault.Xmvb23);
obj[1] = DEFAULT;
2026-09-03 10:05:34 +00:00
obj[6] = jsx(tmp5(12177).BaseChannelName, { name: null, mode: null });
obj = { mode: DEFAULT, IconComponent: tmp5(10262).MagicWandIcon };
obj[7] = jsx(tmp5(12177).BaseChannelIcon, { mode: DEFAULT, IconComponent: tmp5(10262).MagicWandIcon });
return jsx(BaseChannelSubtitleDefault, { mode: DEFAULT, IconComponent: tmp5(10262).MagicWandIcon });
2026-08-24 06:08:38 +00:00
};