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

68 lines
2.9 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11786
// Function ID: 11787
2026-07-20 16:05:17 +00:00
// Name: importDefaultResult1
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 21, 4668, 689, 712, 6323, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11786 (importDefaultResult1)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import PressableCard from "PressableCard" /* 6323 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
import importDefaultResult from "n" /* 689 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
createCacheKey = { cardActive: null, cardExpiring: null, cardRemoving: null };
createCacheKey = { borderColor: null };
2026-08-24 06:08:38 +00:00
const importDefaultResultResult = importDefaultResult(ThemesDefault.unsafe_rawColors.GREEN_360);
createCacheKey[0] = importDefaultResult(ThemesDefault.unsafe_rawColors.GREEN_360).alpha(0.35).hex();
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
const obj1 = { borderColor: null };
2026-08-24 06:08:38 +00:00
const alphaResult = importDefaultResult(ThemesDefault.unsafe_rawColors.GREEN_360).alpha(0.35);
const importDefaultResult1 = importDefaultResult;
const importDefaultResult1Result = importDefaultResult(ThemesDefault.unsafe_rawColors.YELLOW_300);
obj1[0] = importDefaultResult(ThemesDefault.unsafe_rawColors.YELLOW_300).alpha(0.35).hex();
2026-07-29 08:29:29 +00:00
createCacheKey[1] = obj1;
const obj2 = { borderColor: null };
2026-08-24 06:08:38 +00:00
const alphaResult1 = importDefaultResult(ThemesDefault.unsafe_rawColors.YELLOW_300).alpha(0.35);
const importDefaultResult2 = importDefaultResult;
const importDefaultResult2Result = importDefaultResult(ThemesDefault.unsafe_rawColors.YELLOW_300);
obj2[0] = importDefaultResult(ThemesDefault.unsafe_rawColors.YELLOW_300).alpha(0.35).hex();
2026-07-29 08:29:29 +00:00
createCacheKey[2] = obj2;
2026-08-24 06:08:38 +00:00
let closure_4 = createCacheKey.createStyles(createCacheKey);
const alphaResult2 = importDefaultResult(ThemesDefault.unsafe_rawColors.YELLOW_300).alpha(0.35);
const result = require("set").fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsCard.tsx");
2026-07-20 16:05:17 +00:00
export default function GuildPowerupsCard(status) {
status = status.status;
({ children, containerStyle, style } = status);
2026-07-29 08:29:29 +00:00
const merged = Object.assign(status, Object.create(null));
2026-08-24 06:08:38 +00:00
const tmp2 = callback();
2026-07-29 08:29:29 +00:00
let obj = { style: containerStyle, children: null };
2026-07-23 10:11:24 +00:00
obj = { border: "faint", radius: 16, shadow: "none" };
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
let type;
2026-07-29 08:29:29 +00:00
if (status != null) {
2026-07-20 16:05:17 +00:00
type = status.type;
}
2026-07-29 08:29:29 +00:00
const items = ["active" === type && tmp2.cardActive, , , ];
2026-07-20 16:05:17 +00:00
let type1;
2026-07-29 08:29:29 +00:00
if (status != null) {
2026-07-20 16:05:17 +00:00
type1 = status.type;
}
2026-07-29 08:29:29 +00:00
items[1] = "expiring" === type1 && tmp2.cardExpiring;
2026-07-20 16:05:17 +00:00
let type2;
2026-07-29 08:29:29 +00:00
if (status != null) {
2026-07-20 16:05:17 +00:00
type2 = status.type;
}
2026-07-29 08:29:29 +00:00
items[2] = "removing" === type2 && tmp2.cardRemoving;
2026-07-20 16:05:17 +00:00
items[3] = style;
2026-07-29 08:29:29 +00:00
obj.style = items;
obj.children = children;
2026-08-24 06:08:38 +00:00
obj[1] = jsx(PressableCard.Card, { border: "faint", radius: 16, shadow: "none" });
2026-07-23 10:11:24 +00:00
return <View border="faint" radius={16} shadow="none" />;
2026-07-20 16:05:17 +00:00
};