Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,46 @@
|
||||
/* Metro module 14624; source: modules/premium/powerups/hooks/useGuildPowerupExpiringNotificationsConfig.tsx; dependencies: [14625, 14626, 1244, 2646, 8188, 2256, 2] */
|
||||
function _fun110554(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110554, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14821:6, offset: 0x0237d160, size: 103 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/powerups/hooks/useGuildPowerupExpiringNotificationsConfig.tsx');
|
||||
exports.default = useGuildPowerupExpiringNotificationsConfig;
|
||||
}
|
||||
|
||||
function useGuildPowerupExpiringNotificationsConfig(a0) { // fn#110555, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14821:213, offset: 0x0237d1c7, size: 446 bytes, params: 2, frame: 24
|
||||
var r11;
|
||||
var items;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
var value8;
|
||||
var items3;
|
||||
const value2 = undefined;
|
||||
const value3 = (importDefault(14625) /* metro dependency 14625: useGetExpiringGuildPowerups */)(a0);
|
||||
const value4 = (importDefault(14626) /* metro dependency 14626: useGameServerGetExpiringEntitlements */)(a0);
|
||||
let length = value3.length;
|
||||
const r4 = length > 0 || value4.length > 0;
|
||||
if (r4) {
|
||||
length = value4.length;
|
||||
r11 = length > 0 ? intl.string((importDefault(2646) /* metro dependency 2646: GameServerMessages */)['B3OfL/']) : value2;
|
||||
value8 = value3.map(function(a0) {
|
||||
return a0.title;
|
||||
});
|
||||
items = [];
|
||||
arraySpread(items, r11 != null ? [r11] : [], arraySpread(items, value8, 0, undefined), undefined);
|
||||
items3 = [];
|
||||
if (value3.some(_fun110557)) {
|
||||
items3.push(intl.string((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */).Sfr0Jw));
|
||||
}
|
||||
length = value4.length;
|
||||
if (length > 0) {
|
||||
items3.push(intl.string((importDefault(2646) /* metro dependency 2646: GameServerMessages */).wiungr));
|
||||
}
|
||||
return {shouldShow: r4, expiringPowerups: value3, expiringPowerupNames: items, warnings: items3};
|
||||
}
|
||||
return {shouldShow: false, expiringPowerups: [], expiringPowerupNames: [], warnings: []};
|
||||
}
|
||||
|
||||
function _fun110557({skuId}) { // fn#110557, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14821:535, offset: 0x0237d385, size: 45 bytes, params: 2, frame: 12
|
||||
const VANITY_URL_POWERUP_SKU_ID = (require(8188) /* metro dependency 8188: Powerups */).VANITY_URL_POWERUP_SKU_ID;
|
||||
return skuId === VANITY_URL_POWERUP_SKU_ID;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user