decord/source/modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx

34 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 11549
// Function ID: 89907
2026-07-20 16:05:17 +00:00
// Name: getGuildPowerupBannerImage
2026-07-25 08:10:48 +00:00
// Dependencies: [4123, 566, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 11549 (getGuildPowerupBannerImage)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const require = arg1;
function getGuildPowerupBannerImage(found, outer1_4, arg2, arg3) {
2026-07-20 16:05:17 +00:00
if (null != found) {
2026-07-23 10:11:24 +00:00
if (!outer1_4) {
2026-07-20 16:05:17 +00:00
if (false !== arg2) {
if (!arg3) {
let staticImageUrl = found.animatedImageUrl;
if (null == staticImageUrl) {
staticImageUrl = found.staticImageUrl;
}
}
return staticImageUrl;
}
}
staticImageUrl = found.staticImageUrl;
}
}
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx");
2026-07-20 16:05:17 +00:00
export default function useGetGuildPowerupBannerImage(found) {
2026-07-23 10:11:24 +00:00
const items = [_isNativeReflectConstruct];
return getGuildPowerupBannerImage(found, require(566) /* initialize */.useStateFromStores(items, () => outer1_2.useReducedMotion), arg1, arg2);
2026-07-20 16:05:17 +00:00
};
export { getGuildPowerupBannerImage };