decord/source/modules/premium/powerups/native/GuildPowerupsGameServerCard.tsx

60 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 12132
// Function ID: 12133
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupsGameServerCard
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 17, 4372, 4287, 21, 4380, 712, 589, 12133, 12134, 12125, 12129, 4108, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 12132 (GuildPowerupsGameServerCard)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
2026-08-25 06:04:03 +00:00
import GuildPowerupsPerkCardDefault from "GuildPowerupsPerkCard" /* 12129 */;
import useGameServerPerkDefault from "useGameServerPerk" /* 12134 */;
2026-08-24 06:08:38 +00:00
import { View } from "get ActivityIndicator" /* 17 */;
2026-08-25 06:04:03 +00:00
import closure_4 from "maybeApplyNoTextColorForLightCustomTheme" /* 4372 */;
import closure_5 from "handleGameServerInstanceCreated" /* 4287 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
createCacheKey = { riveContainer: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { flex: 1, paddingVertical: ThemesDefault.space.PX_8 };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_7 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsGameServerCard.tsx");
2026-07-20 16:05:17 +00:00
export default function GuildPowerupsGameServerCard(guildId) {
guildId = guildId.guildId;
2026-07-29 08:29:29 +00:00
let obj = guildId(589);
2026-08-24 06:08:38 +00:00
const items = [closure_5];
const stateFromStores = obj.useStateFromStores(items, () => closure_1_5.getStateForGuild(guildId));
const tmp = callback();
2026-07-29 08:29:29 +00:00
const tmp2 = guildId;
const tmp5 = importDefault;
2026-08-24 06:08:38 +00:00
const tmp7 = useGameServerPerkDefault(guildId);
obj1 = guildId(589);
const items1 = [closure_4];
2026-07-29 08:29:29 +00:00
const stateFromStores1 = obj1.useStateFromStores(items1, () => useReducedMotion.useReducedMotion);
let tmp10 = null;
2026-07-20 16:05:17 +00:00
if (null != stateFromStores) {
2026-07-29 08:29:29 +00:00
tmp10 = null;
if (null != tmp7) {
obj = { title: null, description: null, cost: null, costDecorator: "+", riveComponent: null, badge: "beta", status: null, onPress: null };
({ title: obj3[0], description: obj3[1], cost: obj3[2] } = tmp7);
obj = { style: null, children: null };
obj[0] = tmp.riveContainer;
obj1 = { stateMachine: "SM_Auto", dataBinding: null };
const obj2 = { reducedMotion: null };
obj2[0] = stateFromStores1;
obj1[1] = obj2;
2026-08-25 06:04:03 +00:00
obj[1] = jsx(tmp2(4108).GameServerHostingRive, { stateMachine: "SM_Auto", dataBinding: null });
2026-07-29 08:29:29 +00:00
obj[4] = <View style={null}>{null}</View>;
obj[6] = tmp6;
obj[7] = tmp9;
2026-08-24 06:08:38 +00:00
tmp10 = jsx(GuildPowerupsPerkCardDefault, { style: null, children: null });
const tmp5Result = GuildPowerupsPerkCardDefault;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
return tmp10;
2026-07-20 16:05:17 +00:00
};