2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 12649
|
|
|
|
|
// Function ID: 12650
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: useGetGuildPowerupBannerImage
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [4628, 504, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: default, getGuildPowerupBannerImage
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 12649 (useGetGuildPowerupBannerImage)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initialize from "initialize" /* 504 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import AccessibilityStore from "AccessibilityStore" /* 4628 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx");
|
2026-07-29 08:29:29 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export default function useGetGuildPowerupBannerImage(animatedImageUrl, arg1, arg2) {
|
2026-08-24 06:08:38 +00:00
|
|
|
initialize;
|
2026-09-10 05:38:07 +00:00
|
|
|
[][0] = AccessibilityStore;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (null != animatedImageUrl) {
|
|
|
|
|
if (!tmp2) {
|
|
|
|
|
if (false !== arg1) {
|
|
|
|
|
if (!arg2) {
|
|
|
|
|
let staticImageUrl = animatedImageUrl.animatedImageUrl;
|
|
|
|
|
if (staticImageUrl == null) {
|
|
|
|
|
staticImageUrl = animatedImageUrl.staticImageUrl;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
staticImageUrl = animatedImageUrl.staticImageUrl;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
export const getGuildPowerupBannerImage = function getGuildPowerupBannerImage(arr, stateFromStores1, arg2, arg3) {
|
|
|
|
|
if (null != arr) {
|
|
|
|
|
if (!stateFromStores1) {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (false !== arg2) {
|
|
|
|
|
if (!arg3) {
|
2026-09-10 05:38:07 +00:00
|
|
|
let staticImageUrl = arr.animatedImageUrl;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (staticImageUrl == null) {
|
2026-09-10 05:38:07 +00:00
|
|
|
staticImageUrl = arr.staticImageUrl;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return staticImageUrl;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
staticImageUrl = arr.staticImageUrl;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|