Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,44 @@
/* Metro module 11265; source: modules/channel/native/openChannelPicker.tsx; dependencies: [1935, 1867, 4080, 10294, 1962, 1244, 2] */
function _fun86064(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86064, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11451:6, offset: 0x01f86848, size: 134 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const guildChannelStore = importDefault(1935) /* metro dependency 1935: GuildChannelStore */;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel/native/openChannelPicker.tsx');
exports.default = openChannelPicker;
}
function openChannelPicker(a0) { // fn#86065, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11451:204, offset: 0x01f868ce, size: 319 bytes, params: 2, frame: 28
const selectedChannel = a0.selectedChannel;
const guildId = a0.guildId;
const channelType = a0.channelType;
const filterFn = a0.filterFn;
const r10 = filterFn !== undefined ? filterFn : function() {
return true;
};
const onClose = a0.onClose;
const object4 = {'selectedChannel': 0, 'guildId': 0, 'channelType': 0, 'filterFn': 0, 'onClose': 0};
silentSetPrototypeOf(object4, null, undefined);
const value = copyDataProperties({}, a0, object4, undefined);
const guild = GuildStore.getGuild(guildId);
const getChannels = GuildChannelStore.getChannels;
const r9 = Reflect.apply(getChannels, GuildChannelStore, [guildId])[channelType] ?? [];
const defaultImport = importDefault(dependencyMap[2]);
const openLazy = defaultImport.openLazy;
const value4 = require(dependencyMap[4])(dependencyMap[3], dependencyMap.paths);
const object5 = {};
const object6 = {};
const intl = require(dependencyMap[5]).intl;
object6.title = intl.string(require(dependencyMap[5]).t.r2ptsz);
object6.onClose = onClose;
object5.header = object6;
object5.guild = guild;
object5.channels = r9.filter(r10).map(function(a0) {
return a0.channel;
});
object5.selectedChannel = selectedChannel;
copyDataProperties(object5, value, object4);
Reflect.apply(openLazy, defaultImport, [value4, 'ChannelPicker', object5]);
}