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

60 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11792
// Function ID: 11793
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupsGameServerCard
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 4669, 4286, 21, 4668, 712, 589, 11793, 11794, 11785, 11789, 4107, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11792 (GuildPowerupsGameServerCard)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import GuildPowerupsPerkCardDefault from "GuildPowerupsPerkCard" /* 11789 */;
import useGameServerPerkDefault from "useGameServerPerk" /* 11794 */;
import { View } from "get ActivityIndicator" /* 17 */;
import closure_4 from "maybeApplyNoTextColorForLightCustomTheme" /* 4669 */;
import closure_5 from "handleGameServerInstanceCreated" /* 4286 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
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-24 06:08:38 +00:00
obj[1] = jsx(tmp2(4107).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
};