23 lines
1.9 KiB
TypeScript
23 lines
1.9 KiB
TypeScript
/* Metro module 10151; source: modules/collectibles/hooks/useShouldShowPremiumProfileFrameEA.tsx; dependencies: [8499, 10055, 2] */
|
|
import CollectiblesProfileFramesPurchaseExperiment from '../experiments/CollectiblesProfileFramesPurchaseExperiment.tsx'; /* Metro dependency 10055 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as CollectiblesProfileFramesExperimentModule from '../experiments/CollectiblesProfileFramesExperiment.tsx'; /* Metro dependency 8499 */
|
|
|
|
function _fun79115(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10337:6, offset: 0x01e458a1, size: 103 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/hooks/useShouldShowPremiumProfileFrameEA.tsx');
|
|
exports.default = useShouldShowPremiumProfileFrameEA;
|
|
function useShouldShowPremiumProfileFrameEA(a0) { // fn#79116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10337:201, offset: 0x01e45908, size: 115 bytes, params: 2, frame: 16
|
|
const value2 = (CollectiblesProfileFramesExperimentModule).useIsProfileFramesEnabled(a0);
|
|
const defaultImport = CollectiblesProfileFramesPurchaseExperiment;
|
|
const useConfig = defaultImport.useConfig;
|
|
return value2 && Reflect.apply(useConfig, defaultImport,
|
|
[{location: a0}]).bucket === (require(10055) /* metro dependency 10055: CollectiblesProfileFramesPurchaseExperiment */).ProfileFramesPurchaseBucket.PAID_PREMIUM_SUBSCRIBERS_ONLY;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun79115, 10151, [8499, 10055, 2]) /* metro module 10151, dependencies: [8499, 10055, 2] */;
|