33 lines
2.4 KiB
TypeScript
33 lines
2.4 KiB
TypeScript
/* Metro module 11432; source: modules/premium/gifting/utils/PremiumGiftingIntentUtils.tsx; dependencies: [1880, 661, 2] */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as PremiumConstantsModule from '../../PremiumConstants.tsx'; /* Metro dependency 1880 */
|
|
|
|
function _fun87496(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#87496, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11618:6, offset: 0x01fc0dab, size: 228 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const AnalyticsLocations = (ConstantsModule).AnalyticsLocations;
|
|
const Set = global.Set;
|
|
const FRIEND_ANNIVERSARIES_CHAT = AnalyticsLocations.FRIEND_ANNIVERSARIES_CHAT;
|
|
const FRIEND_ANNIVERSARIES_ACTION_BUTTON = AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON;
|
|
const FRIEND_ANNIVERSARIES_ACTION_BUTTON_COACHMARK = AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON_COACHMARK;
|
|
const set = new Set([FRIEND_ANNIVERSARIES_CHAT, FRIEND_ANNIVERSARIES_ACTION_BUTTON,
|
|
FRIEND_ANNIVERSARIES_ACTION_BUTTON_COACHMARK]);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/premium/gifting/utils/PremiumGiftingIntentUtils.tsx');
|
|
exports.getPremiumGiftingIntentAnalyticsLocation = function(a0) {
|
|
return a0 === GiftIntentType.FRIEND_ANNIVERSARY ? {chat: AnalyticsLocations.FRIEND_ANNIVERSARIES_CHAT,
|
|
actionButton: AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON,
|
|
actionButtonCoachmark: AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON_COACHMARK} : {};
|
|
};
|
|
exports.isGiftingIntentLocation = isGiftingIntentLocation;
|
|
exports.parseGiftIntentType = function(a0) {
|
|
return a0 !== GiftIntentType.FRIEND_ANNIVERSARY ? null : GiftIntentType.FRIEND_ANNIVERSARY;
|
|
};
|
|
function isGiftingIntentLocation(a0) { // fn#87498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11618:680, offset: 0x00d715d9, size: 22 bytes, params: 2, frame: 11
|
|
return env0_2.has(a0);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun87496, 11432, [1880, 661, 2]) /* metro module 11432, dependencies: [1880, 661, 2] */;
|