Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
// Module ID: 12615
|
|
// Function ID: 12616
|
|
// Name: useGetGuildPowerupBannerImage
|
|
// Dependencies: [4599, 504, 2]
|
|
// Exports: default, getGuildPowerupBannerImage
|
|
|
|
// Module 12615 (useGetGuildPowerupBannerImage)
|
|
import initialize from "initialize" /* 504 */;
|
|
import AccessibilityStore from "AccessibilityStore" /* 4599 */;
|
|
|
|
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;
|
|
}
|
|
};
|