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

+89
View File
@@ -0,0 +1,89 @@
/* Metro module 15714; source: modules/forums/ForumManager.tsx; dependencies: [6, 7, 15, 17, 18, 1379, 1386, 6896, 4860, 2] */
function _fun120593(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120593, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15922:6, offset: 0x025309c3, size: 264 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const env0_8 = (require(1386) /* metro dependency 1386: ChannelConstants */).isStaticChannelRoute;
let value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
value = _fun120597(value);
value = new value();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forums/ForumManager.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_120594() { // fn#120594, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15922:189, offset: 0x02530acb, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_120594_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun120597(a0) { // fn#120597, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15922:392, offset: 0x02530b2d, size: 74 bytes, params: 2, frame: 15
const closure = ForumManager;
env0_6(closure, a0);
return env0_3(closure, [{key: 'handleChannelPreload', value: value_120599}]);
}
function ForumManager(a0) { // fn#120598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15922:404, offset: 0x02530b77, size: 147 bytes, params: 2, frame: 19
var r0;
var Reflect;
let value = copyRestArgs(0, undefined);
let binding = env1_2;
binding(this, ForumManager);
const items = [];
arraySpread(items, value, 0, items);
value = env1_5(ForumManager);
binding = env1_4;
if (_isNativeReflectConstruct_120594()) {
Reflect = global.Reflect;
value = Reflect.construct(value, items, env1_5(this).constructor);
r0 = value;
} else {
value = value.apply(this, items);
r0 = value;
}
value = binding(this, r0);
value.actions = {CHANNEL_PRELOAD: value.handleChannelPreload};
return value;
}
function value_120599({channelId}) { // fn#120599, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15922:754, offset: 0x02530c0a, size: 94 bytes, params: 2, frame: 13
var channel;
const value = environment.__proto__;
if (!isStaticChannelRoute(channelId)) {
channel = ChannelStore.getChannel(channelId);
if (channel != null && channel.isForumLikeChannel()) {
(require(6896) /* metro dependency 6896: ForumPostDataLoader */).preloadForumThreads(channel);
}
}
}