decord/source/modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

47 lines
1.4 KiB
TypeScript

// Module ID: 12655
// Function ID: 12656
// Name: useGetGuildPowerupBannerImage
// Dependencies: [4631, 504, 2]
// Exports: default, getGuildPowerupBannerImage
// Module 12655 (useGetGuildPowerupBannerImage)
import initialize from "initialize" /* 504 */;
import AccessibilityStore from "AccessibilityStore" /* 4631 */;
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;
}
};