Files
2026-07-28 01:06:53 +03:00

22 lines
1.9 KiB
TypeScript

/* Metro module 8256; source: modules/premium/powerups/utils/getPowerupEntitlementPrice.tsx; dependencies: [2] */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun66054(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#66054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8441:6, offset: 0x01be9dcd, size: 87 bytes, params: 8, frame: 15
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/premium/powerups/utils/getPowerupEntitlementPrice.tsx');
exports.default = getPowerupEntitlementPrice;
}
function getPowerupEntitlementPrice(a0) { // fn#66055, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8441:197, offset: 0x01be9e24, size: 223 bytes, params: 2, frame: 7
const value = undefined;
const guild_monetization = a0 == null || a0.tenant_metadata == null ? value : a0.tenant_metadata.guild_monetization;
const guild_monetization2 = a0 == null || a0.sku == null || a0.sku.tenant_metadata == null ? value : a0.sku.tenant_metadata.guild_monetization;
let r0 = (guild_monetization == null || guild_monetization.game_server == null ? value : guild_monetization.game_server.boost_price) ?? (guild_monetization == null || guild_monetization.powerup == null ? value : guild_monetization.powerup.boost_price);
r0 = r0 ?? (guild_monetization2 == null || guild_monetization2.game_server == null ? value : guild_monetization2.game_server.boost_price);
r0 = r0 ?? (guild_monetization2 == null || guild_monetization2.powerup == null ? value : guild_monetization2.powerup.boost_price);
return r0;
}
global.__d(_fun66054, 8256, [2]) /* metro module 8256, dependencies: [2] */;