decord/source/modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

47 lines
1.4 KiB
TypeScript

// Module ID: 12649
// Function ID: 12650
// Name: useGetGuildPowerupBannerImage
// Dependencies: [4628, 504, 2]
// Exports: default, getGuildPowerupBannerImage
// Module 12649 (useGetGuildPowerupBannerImage)
import initialize from "initialize" /* 504 */;
import AccessibilityStore from "AccessibilityStore" /* 4628 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx");
export default function useGetGuildPowerupBannerImage(animatedImageUrl, arg1, arg2) {
initialize;
[][0] = AccessibilityStore;
if (null != animatedImageUrl) {
if (!tmp2) {
if (false !== arg1) {
if (!arg2) {
let staticImageUrl = animatedImageUrl.animatedImageUrl;
if (staticImageUrl == null) {
staticImageUrl = animatedImageUrl.staticImageUrl;
}
}
}
}
staticImageUrl = animatedImageUrl.staticImageUrl;
}
};
export const getGuildPowerupBannerImage = function getGuildPowerupBannerImage(arr, stateFromStores1, arg2, arg3) {
if (null != arr) {
if (!stateFromStores1) {
if (false !== arg2) {
if (!arg3) {
let staticImageUrl = arr.animatedImageUrl;
if (staticImageUrl == null) {
staticImageUrl = arr.staticImageUrl;
}
}
return staticImageUrl;
}
}
staticImageUrl = arr.staticImageUrl;
}
};