2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 11773
|
|
|
|
|
// Function ID: 11774
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: Tier3OverrideNotice
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [17, 21, 4668, 712, 8347, 4739, 11774, 11775, 1236, 2368, 11778, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 11773 (Tier3OverrideNotice)
|
|
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
|
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
|
|
|
import Text from "Text" /* 4739 */;
|
|
|
|
|
import apexExperiment from "apexExperiment" /* 8347 */;
|
|
|
|
|
import useGuildPowerupTier3OverrideConfigDefault from "useGuildPowerupTier3OverrideConfig" /* 11774 */;
|
|
|
|
|
import useGuildPowerupExpiringNotificationsConfigDefault from "useGuildPowerupExpiringNotificationsConfig" /* 11775 */;
|
|
|
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
|
|
|
import createCacheKey from "createCacheKey" /* 4668 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-20 16:05:17 +00:00
|
|
|
function Tier3OverrideNotice(children) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = apexExperiment;
|
2026-08-12 06:57:52 +00:00
|
|
|
obj = { style: callback().staffContainer, children: null };
|
|
|
|
|
const manaTypeConsolidationExperiment = obj.useManaTypeConsolidationExperiment("Tier3OverrideNotice");
|
|
|
|
|
let str = "text-sm/medium";
|
|
|
|
|
if (manaTypeConsolidationExperiment) {
|
|
|
|
|
str = "experimental/body-sm/normal";
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
obj[1] = closure_4(Text.Text, { variant: str, children: children.text });
|
2026-08-12 06:57:52 +00:00
|
|
|
return closure_4(View, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const View = get_ActivityIndicator.View;
|
2026-07-29 08:29:29 +00:00
|
|
|
({ jsx: c4, jsxs: c5 } = jsxProd);
|
|
|
|
|
let obj = { container: null, staffContainer: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
obj = { gap: ThemesDefault.space.PX_12, margin: ThemesDefault.space.PX_16 };
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[0] = obj;
|
2026-08-24 06:08:38 +00:00
|
|
|
obj[1] = { padding: ThemesDefault.space.PX_12, backgroundColor: ThemesDefault.colors.BACKGROUND_MOD_SUBTLE, borderRadius: ThemesDefault.radii.md, borderWidth: 1, borderStyle: "solid", borderColor: ThemesDefault.colors.BORDER_SUBTLE };
|
2026-07-29 08:29:29 +00:00
|
|
|
let closure_6 = createCacheKey.createStyles(obj);
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj1 = { padding: ThemesDefault.space.PX_12, backgroundColor: ThemesDefault.colors.BACKGROUND_MOD_SUBTLE, borderRadius: ThemesDefault.radii.md, borderWidth: 1, borderStyle: "solid", borderColor: ThemesDefault.colors.BORDER_SUBTLE };
|
|
|
|
|
const result = set.fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsNotificationContainer.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function GuildPowerupsNotificationContainer(guildId) {
|
|
|
|
|
guildId = guildId.guildId;
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp4 = useGuildPowerupTier3OverrideConfigDefault(guildId);
|
|
|
|
|
const tmp5 = useGuildPowerupExpiringNotificationsConfigDefault(guildId);
|
|
|
|
|
let obj = apexExperiment;
|
2026-08-12 06:57:52 +00:00
|
|
|
const manaTypeConsolidationExperiment = obj.useManaTypeConsolidationExperiment("GuildPowerupsNotificationContainer");
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp4.shouldShow) {
|
2026-08-12 06:57:52 +00:00
|
|
|
obj = { style: null, children: null };
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[0] = tmp.container;
|
2026-08-13 07:00:46 +00:00
|
|
|
let str = "text-subtle";
|
2026-08-12 06:57:52 +00:00
|
|
|
if (manaTypeConsolidationExperiment) {
|
|
|
|
|
str = "text-strong";
|
|
|
|
|
}
|
|
|
|
|
obj = { color: null, variant: null, children: null };
|
|
|
|
|
obj[0] = str;
|
|
|
|
|
let str2 = "eyebrow";
|
|
|
|
|
if (manaTypeConsolidationExperiment) {
|
|
|
|
|
str2 = "experimental/heading-lg/semibold";
|
|
|
|
|
}
|
|
|
|
|
obj[1] = str2;
|
|
|
|
|
const intl = tmp6(1236).intl;
|
2026-08-24 06:08:38 +00:00
|
|
|
obj[2] = intl.string(tmp2(2368)["3FRirU"]);
|
|
|
|
|
const items = [closure_4(tmp6(4739).Text, obj), , ];
|
2026-07-29 08:29:29 +00:00
|
|
|
let shouldShow = tmp4.shouldShow;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (shouldShow) {
|
2026-08-24 06:08:38 +00:00
|
|
|
obj1 = { text: null };
|
2026-08-12 06:57:52 +00:00
|
|
|
obj1[0] = tmp4.text;
|
|
|
|
|
shouldShow = tmp11(Tier3OverrideNotice, obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items[1] = shouldShow;
|
2026-07-29 08:29:29 +00:00
|
|
|
let shouldShow2 = tmp5.shouldShow;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (shouldShow2) {
|
2026-08-12 06:57:52 +00:00
|
|
|
const obj2 = { guildId: null, powerupNames: null, warnings: null };
|
|
|
|
|
obj2[0] = guildId;
|
|
|
|
|
({ expiringPowerupNames: obj5[1], warnings: obj5[2] } = tmp5);
|
2026-08-24 06:08:38 +00:00
|
|
|
shouldShow2 = tmp11(tmp2(11778), obj2);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items[2] = shouldShow2;
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[1] = items;
|
2026-08-12 06:57:52 +00:00
|
|
|
let tmp9Result = closure_5(View, obj);
|
|
|
|
|
const tmp10 = View;
|
|
|
|
|
const tmp9 = closure_5;
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-12 06:57:52 +00:00
|
|
|
tmp9Result = null;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-12 06:57:52 +00:00
|
|
|
return tmp9Result;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|