Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,37 @@
|
||||
/* Metro module 14857; source: modules/icymi/native/util/getIconForChannel.tsx; dependencies: [661, 6704, 6711, 6707, 6691, 6698, 6697, 2] */
|
||||
function _fun112294(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15054:6, offset: 0x023c40b9, size: 117 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(661) /* metro dependency 661: Constants */).ChannelTypes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/icymi/native/util/getIconForChannel.tsx');
|
||||
exports.getIconForChannel = getIconForChannel;
|
||||
}
|
||||
|
||||
function getIconForChannel({type}) { // fn#112295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15054:220, offset: 0x023c412e, size: 314 bytes, params: 2, frame: 12
|
||||
const GUILD_ANNOUNCEMENT = ChannelTypes.GUILD_ANNOUNCEMENT;
|
||||
if (GUILD_ANNOUNCEMENT === type) {
|
||||
return (require(6704) /* metro dependency 6704: AnnouncementsIcon */).AnnouncementsIcon;
|
||||
}
|
||||
const GUILD_VOICE = ChannelTypes.GUILD_VOICE;
|
||||
if (GUILD_VOICE === type) {
|
||||
return (require(6711) /* metro dependency 6711: VoiceNormalIcon */).VoiceNormalIcon;
|
||||
}
|
||||
const GUILD_STAGE_VOICE = ChannelTypes.GUILD_STAGE_VOICE;
|
||||
if (GUILD_STAGE_VOICE === type) {
|
||||
return (require(6707) /* metro dependency 6707: StageIcon */).StageIcon;
|
||||
}
|
||||
const GUILD_TEXT = ChannelTypes.GUILD_TEXT;
|
||||
if (GUILD_TEXT !== type) {
|
||||
var GUILD_FORUM = ChannelTypes.GUILD_FORUM;
|
||||
if (GUILD_FORUM === type) {
|
||||
return (require(6698) /* metro dependency 6698: ForumIcon */).ForumIcon;
|
||||
}
|
||||
var GUILD_MEDIA = ChannelTypes.GUILD_MEDIA;
|
||||
if (GUILD_MEDIA === type) {
|
||||
return (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon;
|
||||
}
|
||||
}
|
||||
return (require(6691) /* metro dependency 6691: TextIcon */).TextIcon;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/* Metro module 14855; source: modules/icymi/native/util/openDetailsActionSheet.tsx; dependencies: [9580, 4080, 14821, 1962, 2] */
|
||||
function _fun112279(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15052:6, offset: 0x023c2f0e, 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/icymi/native/util/openDetailsActionSheet.tsx');
|
||||
exports.openDetailsActionSheet = openDetailsActionSheet;
|
||||
}
|
||||
|
||||
function openDetailsActionSheet({guildId, channelId, id, type}) { // fn#112280, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15052:203, offset: 0x023c2f75, size: 198 bytes, params: 2, frame: 22
|
||||
importDefault(dependencyMap[0]).itemInteracted(id, type, 'overflow_menu');
|
||||
const defaultImport2 = importDefault(dependencyMap[0]);
|
||||
defaultImport2.feedItemActioned({itemId: id, itemType: type, actionParameters: {'actionGestureType': 'press',
|
||||
'actionTargetElement': 'overflow_menu_button', 'actionIntentType': 'open', 'actionDestinationType': null}});
|
||||
const defaultImport3 = importDefault(dependencyMap[1]);
|
||||
const openLazy = defaultImport3.openLazy;
|
||||
let value = require(dependencyMap[3]);
|
||||
value = value(dependencyMap[2], dependencyMap.paths);
|
||||
Reflect.apply(openLazy, defaultImport3, [value, 'ItemDetailsActionSheet', {guildId: guildId, channelId: channelId,
|
||||
id: id}]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user