/* Metro module 7876; source: modules/threads/ThreadCreationHooks.tsx; dependencies: [57, 5, 31, 6897, 1226, 1379, 4645, 4814, 7080, 1243, 661, 4503, 6860, 7076, 7877, 1244, 7878, 21, 507, 7165, 7879, 7077, 1391, 4651, 7880, 7155, 4863, 7067, 4647, 694, 4002, 672, 7142, 8004, 2] */ function _fun63131(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63131, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:6, offset: 0x01b715f4, size: 552 bytes, params: 8, frame: 23 var object2; let env0_0 = require; const closure = getIsPrivate; const trimToLength = function(a0, a1) { var r0; var value = a0; if (value.length > a1) { value = value.substring(0, a1); value += '...'; r0 = value; } else { r0 = value; } return r0; }; const closure2 = getDefaultThreadName; const createThread_ = function() { return _createThread_.apply(this, arguments); }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let env0_3 = importDefault(57) /* metro dependency 57 */; let env0_4 = importDefault(5) /* metro dependency 5 */; const env0_5 = importAll(31) /* metro dependency 31 */; const forumActivePostStore = importDefault(6897) /* metro dependency 6897: ForumActivePostStore */; const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */; const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */; const draftStore = importDefault(4645) /* metro dependency 4645: DraftStore */; const env0_10 = (require(4645) /* metro dependency 4645: DraftStore */).DraftType; const messageStore = importDefault(4814) /* metro dependency 4814: MessageStore */; const env0_12 = (require(7080) /* metro dependency 7080: SlowmodeStore */).SlowmodeType; let value = require(1243) /* metro dependency 1243: ThreadConstants */; const env0_13 = value.FORUM_POST_CREATION_AUTOMOD_ERRORS; const env0_14 = value.FORUM_POST_CREATION_UPLOAD_ERRORS; value = require(661) /* metro dependency 661: Constants */; const env0_15 = value.AbortCodes; const env0_16 = value.AnalyticEvents; const env0_17 = value.ChannelTypes; const env0_18 = value.Endpoints; const env0_19 = value.LoggingInviteTypes; const env0_20 = value.MAX_MESSAGES_PER_CHANNEL; const env0_21 = value.MessageFlags; const env0_22 = (require(4503) /* metro dependency 4503: MessageConstants */).MessageSendLocation; object2 = {Disabled: 1}; object2[1] = 'Disabled'; object2.Enabled = 2; object2[2] = 'Enabled'; object2.PrivateOnly = 3; object2[3] = 'PrivateOnly'; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/ThreadCreationHooks.tsx'); exports.PrivateThreadMode = object2; exports.usePrivateThreadMode = usePrivateThreadMode; exports.getIsPrivate = closure; exports.getDefaultThreadName = closure2; exports.useCreateThreadCommon = useCreateThreadCommon; exports.createThread = function(a0, a1, a2, a3, a4) { var env0_0 = a0; var env0_1 = a1; var env0_2 = a2; var env0_3 = a3; var env0_4 = a4; return createThread_(a0, [], undefined, _fun63153); }; exports.useCreateForumPostCommon = useCreateForumPostCommon; } function getIsPrivate(a0, a1) { // fn#63132, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:605, offset: 0x01b7181c, size: 49 bytes, params: 3, frame: 4 const PrivateOnly = env0_23.PrivateOnly; return a1 === PrivateOnly || (a0.isPrivate ?? a0.isPrivate != null); } function getDefaultThreadName(a0, a1) { // fn#63134, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:759, offset: 0x01b71879, size: 574 bytes, params: 3, frame: 23 var r7; var r8; var r1; var value12; var index; var push; var substring; var length; var value13; var value14; let value = null; let r4 = value == a1 ? value : MessageStore.getMessage(a0.id, a1); const value4 = undefined; let r5 = value == r4 ? value4 : r4.getContentMessage(); const rawTitle = value == r5 || value == r5.embeds || value == r5.embeds[0] ? value4 : r5.embeds[0].rawTitle; const value6 = ''; const r2 = value != rawTitle ? rawTitle : value6; const text = value == r4 || value == r4.poll || value == r4.poll.question ? value4 : r4.poll.question.text; r4 = value != text ? text : value6; if (value6 !== r2) { value = environment; return trimToLength(r2, 40); } if (value6 !== r4) { value = environment; return trimToLength(r4, 80); } const defaultImport = importDefault(7076) /* metro dependency 7076: MessageParser */; const unparse = defaultImport.unparse; const content = value == r5 ? value4 : r5.content; const value11 = (importDefault(7877) /* metro dependency 7877: sanitizeThreadName */)(Reflect.apply(unparse, defaultImport, [value != content ? content : value6, a0.id, true]).split('\n')[0], true).replace(RegExp('^[ #-]+', ''), value6); const items2 = []; r5 = value11; while (true) { value12 = r5.match(RegExp('(?:\\s|[!@#$%^&*()_\\-+={}[\\]:";\'<>?,./])+', '')); if (value == value12) { break; } index = value12.index; if (value == index) { break; } push = items2.push; substring = r5.substring; index = value12.index; Reflect.apply(push, items2, [Reflect.apply(substring, r5, [0, index])]); items2.push(value12[0]); substring = r5.substring; index = value12.index; length = value12[0].length; value13 = Reflect.apply(substring, r5, [index + length]); r5 = value13; } items2.push(r5); const property = items2[0]; length = items2.length; value = 1; if (value < length) { r7 = property; r8 = value; while (true) { value = r7 + items2[r8]; length = value.length; if (length > 40) { r1 = r7; break; } value14 = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1; length = items2.length; if (value14 < length) { r7 = value; r8 = value14; continue; } r1 = value; break; } } else { r1 = property; } return trimToLength(r1, 40); } function _createThread_() { // fn#63136, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:1609, offset: 0x01b71ab7, size: 48 bytes, params: 1, frame: 14 return env0_4(_fun63138).apply(this, arguments); } function usePrivateThreadMode(a0) { // fn#63145, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4466, offset: 0x01b724e1, size: 96 bytes, params: 2, frame: 16 const value2 = (require(6860) /* metro dependency 6860: ThreadHooks */).useCanStartPublicThread(a0); const value3 = (require(6860) /* metro dependency 6860: ThreadHooks */).useCanStartPrivateThread(a0); const binding = env0_23; return value3 ? value2 ? binding.Enabled : binding.PrivateOnly : binding.Disabled; } function useCreateThreadCommon({parentChannel, parentMessageId, threadSettings, privateThreadMode, location, onThreadCreated, useDefaultThreadName, uploadHandler}) { // fn#63146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4722, offset: 0x01b72541, size: 151 bytes, params: 2, frame: 21 return onThreadCreated.useCallback(_fun63147(), [parentChannel, parentMessageId, threadSettings, onThreadCreated, privateThreadMode, location, useDefaultThreadName, uploadHandler]); } function createThread(a0, a1, a2, a3, a4) { // fn#63152, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:6167, offset: 0x01b72a15, size: 66 bytes, params: 6, frame: 16 const env0_0 = a0; const env0_1 = a1; const env0_2 = a2; const env0_3 = a3; const env0_4 = a4; return createThread_(a0, [], undefined, _fun63153); } function useCreateForumPostCommon({parentChannel, name, appliedTags, analyticsLocations, onThreadCreated, upload, activityAction, applicationId, voiceChatEnabled}) { // fn#63154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:6394, offset: 0x01b72ad0, size: 164 bytes, params: 2, frame: 22 return upload.useCallback(_fun63155(), [parentChannel, name, appliedTags, onThreadCreated, analyticsLocations, upload, activityAction, voiceChatEnabled, applicationId]); } function* _fun63138(a0, a1, a2, a3) { // fn#63138, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:1660, offset: 0x01b71af0, size: 2159 bytes, params: 5, frame: 41 var environment; var r22; var code; var name; var r16; var reason; var r13; var r14; var r3; var r9; var r7; var value4; var value5; var value6; var body; var value7; var value8; var binding; var binding2; var property; var value9; var dispatch; var object2; var binding3; var CreateThread; var id; var value10; var value11; var AccessibilityAnnouncer; var announce; var value12; var intl; var string; var binding4; var value13; var t; var XkUoBb; var zDAG2N; var value14; var value15; var binding5; var value16; var show; var value17; var value18; var j2d6Km; var value19; var value20; var value21; var fEptJP; var value22; var error; var value23; var TOO_MANY_THREADS; var TOO_MANY_ANNOUNCEMENT_THREADS; var SLOWMODE_RATE_LIMITED; var status; var has; var INVALID_FORM_BODY; var errors; var binding6; var EXPLICIT_CONTENT; var value24; var handleUploadMessageAttachmentsErrors; var getGuildId; var createNonce; var attachments; var value25; var length; var value26; var binding7; var value27; var value28; var Promise; var prototype; var closure; var promise; var binding8; var value29; var vWNFkx; var value30; var binding9; var Whhv4w; var retry_after; var binding10; var Millis; var SECOND; var binding11; var jDMxz2; var binding12; var value31; var value32; var binding13; var P0wT5S; var value33; var KGaiEK; var value34; var value35; var value36; var binding14; var value37; var fetchMessages; var messages; var value38; var value39; if (false) { return undefined; } value = a1; const value3 = undefined; var env0_0; const isForumLikeChannel2 = a0.isForumLikeChannel(); reducibleJoin155: while (true) { reduciblePort172: while (true) { exceptionLanding171: while (true) { reducibleJoin3: while (true) { reduciblePort151: while (true) { exceptionLanding94: while (true) { try { value4 = a3(); } catch (error) { break exceptionLanding94; } break reducibleJoin3; } var env0_1 = error; body = error.body; reducibleJoin96: while (true) { if (body == null) { code = value3; break reducibleJoin96; } code = body.code; break reducibleJoin96; } value23 = environment.__proto__.__proto__; TOO_MANY_THREADS = env2_15.TOO_MANY_THREADS; if (code === TOO_MANY_THREADS) { binding = env2_1; value = binding(env2_2[28]); show = value.show; object2 = {}; binding = env2_0; binding12 = env2_2; intl = binding(binding12[15]).intl; string = intl.string; t = binding(binding12[15]).t; if (isForumLikeChannel2) { vWNFkx = t.vWNFkx; value32 = Reflect.apply(string, intl, [vWNFkx]); r9 = value32; } else { value31 = Reflect.apply(string, intl, [t['1KEdvB']]); r9 = value31; } object2.title = r9; binding = env2_0; binding13 = env2_2; intl = binding(binding13[15]).intl; string = intl.string; t = binding(binding13[15]).t; if (isForumLikeChannel2) { KGaiEK = t.KGaiEK; value34 = Reflect.apply(string, intl, [KGaiEK]); r7 = value34; } else { P0wT5S = t.P0wT5S; value33 = Reflect.apply(string, intl, [P0wT5S]); r7 = value33; } object2.body = r7; Reflect.apply(show, value, [object2]); } else { body = error.body; reducibleJoin99: while (true) { if (body == null) { code = value3; break reducibleJoin99; } code = body.code; break reducibleJoin99; } TOO_MANY_ANNOUNCEMENT_THREADS = env2_15.TOO_MANY_ANNOUNCEMENT_THREADS; if (code === TOO_MANY_ANNOUNCEMENT_THREADS) { binding = env2_1; binding11 = env2_2; value = binding(binding11[28]); show = value.show; object2 = {}; binding = env2_0; intl = binding(binding11[15]).intl; string = intl.string; t = binding(binding11[15]).t; object2.title = Reflect.apply(string, intl, [t['1KEdvB']]); intl = binding(binding11[15]).intl; string = intl.string; t = binding(binding11[15]).t; jDMxz2 = t.jDMxz2; object2.body = Reflect.apply(string, intl, [jDMxz2]); Reflect.apply(show, value, [object2]); } else { body = error.body; reducibleJoin102: while (true) { if (body == null) { code = value3; break reducibleJoin102; } code = body.code; break reducibleJoin102; } SLOWMODE_RATE_LIMITED = env2_15.SLOWMODE_RATE_LIMITED; if (code === SLOWMODE_RATE_LIMITED) { body = error.body; retry_after = body.retry_after; value = 0; r3 = retry_after ?? value; reducibleJoin151: while (true) { if (r3 > value) { binding = env2_1; binding10 = env2_2; value = binding(binding10[29]); dispatch = value.dispatch; object2 = {type: 'SLOWMODE_SET_COOLDOWN'}; id = a0.id; object2.channelId = id; CreateThread = env2_12.CreateThread; object2.slowmodeType = CreateThread; Millis = binding(binding10[31]).Millis; SECOND = Millis.SECOND; object2.cooldownMs = r3 * SECOND; Reflect.apply(dispatch, value, [object2]); break reducibleJoin151; } break reducibleJoin151; } } else { status = error.status; if (status === 429) { binding = env2_1; value = binding(env2_2[28]); show = value.show; object2 = {}; binding = env2_0; binding8 = env2_2; intl = binding(binding8[15]).intl; string = intl.string; t = binding(binding8[15]).t; if (isForumLikeChannel2) { vWNFkx = t.vWNFkx; value30 = Reflect.apply(string, intl, [vWNFkx]); r14 = value30; } else { value29 = Reflect.apply(string, intl, [t['1KEdvB']]); r14 = value29; } object2.title = r14; binding = env2_0; binding9 = env2_2; intl = binding(binding9[15]).intl; string = intl.string; t = binding(binding9[15]).t; Whhv4w = t.Whhv4w; object2.body = Reflect.apply(string, intl, [Whhv4w]); Reflect.apply(show, value, [object2]); } else { binding = env2_13; has = binding.has; body = error.body; reducibleJoin106: while (true) { if (body == null) { code = value3; break reducibleJoin106; } code = body.code; break reducibleJoin106; } if (Reflect.apply(has, binding, [code])) { throw error; } body = error.body; reducibleJoin109: while (true) { if (body == null) { code = value3; break reducibleJoin109; } code = body.code; break reducibleJoin109; } INVALID_FORM_BODY = env2_15.INVALID_FORM_BODY; reducibleJoin151: while (true) { reducibleJoin116: while (true) { if (code !== INVALID_FORM_BODY) { has = env2_14.has; body = error.body; if (body == null) { code = value3; break reducibleJoin116; } code = body.code; break reducibleJoin116; } body = error.body; reducibleJoin113: while (true) { if (body == null) { name = value3; break reducibleJoin113; } errors = body.errors; if (errors == null) { name = value3; break reducibleJoin113; } name = errors.name; break reducibleJoin113; } if (name != null) { throw error; } binding = env2_14; has = binding.has; body = error.body; if (body == null) { code = value3; break reducibleJoin116; } code = body.code; break reducibleJoin116; } if (Reflect.apply(has, binding, [code])) { reducibleJoin133: while (true) { if (a2 == null) { break reducibleJoin133; } body = error.body; reducibleJoin121: while (true) { if (body == null) { code = value3; break reducibleJoin121; } code = body.code; break reducibleJoin121; } EXPLICIT_CONTENT = env2_15.EXPLICIT_CONTENT; if (code === EXPLICIT_CONTENT) { binding = env2_0; value = binding(env2_2[32]); createNonce = value.createNonce; value = Reflect.apply(createNonce, value, []); body = error.body; attachments = body.attachments; value25 = attachments != null; reducibleJoin131: while (true) { if (value25) { body = error.body; attachments = body.attachments; length = attachments.length; value26 = length > 0; r13 = value26; break reducibleJoin131; } r13 = value25; break reducibleJoin131; } if (r13) { binding = env2_1; binding7 = env2_2; value27 = binding(binding7[29]); dispatch = value27.dispatch; id = a0.id; attachments = error.body.attachments; Reflect.apply(dispatch, value27, [{type: 'MESSAGE_EXPLICIT_CONTENT_FP_CREATE', messageId: value, channelId: id, attachments: attachments}]); value28 = binding(binding7[33]); id = a0.id; value28(id, value); break reducibleJoin133; } break reducibleJoin133; } binding = env2_0; value24 = binding(env2_2[24]); handleUploadMessageAttachmentsErrors = value24.handleUploadMessageAttachmentsErrors; getGuildId = a0.getGuildId; reducibleJoin124: while (true) { if (value != null) { r16 = value; break reducibleJoin124; } r16 = []; break reducibleJoin124; } body = error.body; reducibleJoin126: while (true) { if (body == null) { code = value3; break reducibleJoin126; } code = body.code; break reducibleJoin126; } body = error.body; reducibleJoin128: while (true) { if (body == null) { reason = value3; break reducibleJoin128; } reason = body.reason; break reducibleJoin128; } Reflect.apply(handleUploadMessageAttachmentsErrors, value24, [{file: a2, guildId: Reflect.apply(getGuildId, a0, []), analyticsLocations: r16, code: code, reason: reason}]); break reducibleJoin133; } Promise = global.Promise; prototype = Promise.prototype; value = Object.create(prototype, {constructor: {value: Promise}}); closure = _fun63139; promise = new Promise(); return promise instanceof Object ? promise : value; } binding = env2_1; binding6 = env2_2; value = binding(binding6[28]); show = value.show; object2 = {}; binding = env2_0; intl = binding(binding6[15]).intl; string = intl.string; t = binding(binding6[15]).t; j2d6Km = t.j2d6Km; object2.title = Reflect.apply(string, intl, [j2d6Km]); intl = binding(binding6[15]).intl; string = intl.string; t = binding(binding6[15]).t; fEptJP = t.fEptJP; object2.body = Reflect.apply(string, intl, [fEptJP]); Reflect.apply(show, value, [object2]); break reducibleJoin151; } } } } } break reduciblePort151; } Promise = global.Promise; prototype = Promise.prototype; value = Object.create(prototype, {constructor: {value: Promise}}); closure = _fun63142; promise = new Promise(); value = promise instanceof Object ? promise : value; yield value; value = undefined; value35 = false; if (value35) { return value; } value36 = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { break exceptionLanding171; } break reducibleJoin155; } yield value4; try { value5 = undefined; value6 = false; } catch (error) { break exceptionLanding94; } if (value6) { return value5; } try { env0_0 = value5; } catch (error) { break exceptionLanding94; } try { body = value5.body; } catch (error) { break exceptionLanding94; } try { value7 = body == null; } catch (error) { break exceptionLanding94; } if (value7) { value15 = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { break exceptionLanding94; } try { binding5 = env2_2; } catch (error) { break exceptionLanding94; } try { property = binding5[28]; } catch (error) { break exceptionLanding94; } try { value16 = binding(property); } catch (error) { break exceptionLanding94; } try { show = value16.show; } catch (error) { break exceptionLanding94; } try { object2 = {}; } catch (error) { break exceptionLanding94; } try { binding = env2_0; } catch (error) { break exceptionLanding94; } try { property = binding5[15]; } catch (error) { break exceptionLanding94; } try { value17 = binding(property); } catch (error) { break exceptionLanding94; } try { intl = value17.intl; } catch (error) { break exceptionLanding94; } try { string = intl.string; } catch (error) { break exceptionLanding94; } try { property = binding5[15]; } catch (error) { break exceptionLanding94; } try { value18 = binding(property); } catch (error) { break exceptionLanding94; } try { t = value18.t; } catch (error) { break exceptionLanding94; } try { j2d6Km = t.j2d6Km; } catch (error) { break exceptionLanding94; } try { value19 = Reflect.apply(string, intl, [j2d6Km]); } catch (error) { break exceptionLanding94; } try { object2.title = value19; } catch (error) { break exceptionLanding94; } try { property = binding5[15]; } catch (error) { break exceptionLanding94; } try { value20 = binding(property); } catch (error) { break exceptionLanding94; } try { intl = value20.intl; } catch (error) { break exceptionLanding94; } try { string = intl.string; } catch (error) { break exceptionLanding94; } try { property = binding5[15]; } catch (error) { break exceptionLanding94; } try { value21 = binding(property); } catch (error) { break exceptionLanding94; } try { t = value21.t; } catch (error) { break exceptionLanding94; } try { fEptJP = t.fEptJP; } catch (error) { break exceptionLanding94; } try { value22 = Reflect.apply(string, intl, [fEptJP]); } catch (error) { break exceptionLanding94; } try { object2.body = value22; } catch (error) { break exceptionLanding94; } try { Reflect.apply(show, value16, [object2]); } catch (error) { break exceptionLanding94; } } else { value8 = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { break exceptionLanding94; } try { binding2 = env2_2; } catch (error) { break exceptionLanding94; } try { property = binding2[29]; } catch (error) { break exceptionLanding94; } try { value9 = binding(property); } catch (error) { break exceptionLanding94; } try { dispatch = value9.dispatch; } catch (error) { break exceptionLanding94; } try { object2 = {}; } catch (error) { break exceptionLanding94; } try { object2.type = 'SLOWMODE_RESET_COOLDOWN'; } catch (error) { break exceptionLanding94; } try { binding3 = env2_12; } catch (error) { break exceptionLanding94; } try { CreateThread = binding3.CreateThread; } catch (error) { break exceptionLanding94; } try { object2.slowmodeType = CreateThread; } catch (error) { break exceptionLanding94; } try { id = a0.id; } catch (error) { break exceptionLanding94; } try { object2.channelId = id; } catch (error) { break exceptionLanding94; } try { Reflect.apply(dispatch, value9, [object2]); } catch (error) { break exceptionLanding94; } try { property = binding2[29]; } catch (error) { break exceptionLanding94; } try { value10 = binding(property); } catch (error) { break exceptionLanding94; } try { dispatch = value10.dispatch; } catch (error) { break exceptionLanding94; } try { object2 = {}; } catch (error) { break exceptionLanding94; } try { object2.type = 'THREAD_CREATE_LOCAL'; } catch (error) { break exceptionLanding94; } try { body = value5.body; } catch (error) { break exceptionLanding94; } try { id = body.id; } catch (error) { break exceptionLanding94; } try { object2.channelId = id; } catch (error) { break exceptionLanding94; } try { Reflect.apply(dispatch, value10, [object2]); } catch (error) { break exceptionLanding94; } try { binding = env2_0; } catch (error) { break exceptionLanding94; } try { property = binding2[30]; } catch (error) { break exceptionLanding94; } try { value11 = binding(property); } catch (error) { break exceptionLanding94; } try { AccessibilityAnnouncer = value11.AccessibilityAnnouncer; } catch (error) { break exceptionLanding94; } try { announce = AccessibilityAnnouncer.announce; } catch (error) { break exceptionLanding94; } try { property = binding2[15]; } catch (error) { break exceptionLanding94; } try { value12 = binding(property); } catch (error) { break exceptionLanding94; } try { intl = value12.intl; } catch (error) { break exceptionLanding94; } try { string = intl.string; } catch (error) { break exceptionLanding94; } try { binding = env2_0; } catch (error) { break exceptionLanding94; } try { binding4 = env2_2; } catch (error) { break exceptionLanding94; } try { property = binding4[15]; } catch (error) { break exceptionLanding94; } try { value13 = binding(property); } catch (error) { break exceptionLanding94; } try { t = value13.t; } catch (error) { break exceptionLanding94; } if (isForumLikeChannel2) { try { zDAG2N = t.zDAG2N; } catch (error) { break exceptionLanding94; } r22 = zDAG2N; } else { try { XkUoBb = t.XkUoBb; } catch (error) { break exceptionLanding94; } r22 = XkUoBb; } try { value14 = Reflect.apply(string, intl, [r22]); } catch (error) { break exceptionLanding94; } try { Reflect.apply(announce, AccessibilityAnnouncer, [value14]); } catch (error) { break exceptionLanding94; } } Promise = global.Promise; prototype = Promise.prototype; value = Object.create(prototype, {constructor: {value: Promise}}); closure = _fun63142; promise = new Promise(); value = promise instanceof Object ? promise : value; yield value; value = undefined; value35 = false; if (value35) { return value; } value36 = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { break exceptionLanding171; } break reducibleJoin155; } break reduciblePort172; } return value; } try { binding14 = env2_2; } catch (error) { break exceptionLanding171; } try { property = binding14[27]; } catch (error) { break exceptionLanding171; } try { value37 = binding(property); } catch (error) { break exceptionLanding171; } try { fetchMessages = value37.fetchMessages; } catch (error) { break exceptionLanding171; } try { object2 = {}; } catch (error) { break exceptionLanding171; } try { id = value.id; } catch (error) { break exceptionLanding171; } try { object2.channelId = id; } catch (error) { break exceptionLanding171; } try { binding = env2_20; } catch (error) { break exceptionLanding171; } try { object2.limit = binding; } catch (error) { break exceptionLanding171; } try { messages = Reflect.apply(fetchMessages, value37, [object2]); } catch (error) { break exceptionLanding171; } yield messages; try { value38 = undefined; value39 = false; } catch (error) { break exceptionLanding171; } return value39 ? value38 : value; } function _fun63147() { // fn#63147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4916, offset: 0x01b725d8, size: 32 bytes, params: 1, frame: 12 const env0_0 = env1_4(_fun63149); return _fun63151; } function _fun63153() { // fn#63153, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:6234, offset: 0x01b72a57, size: 121 bytes, params: 1, frame: 15 const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP; const post = HTTP.post; const CHANNEL_THREADS = Endpoints.CHANNEL_THREADS; return Reflect.apply(post, HTTP, [{url: Reflect.apply(CHANNEL_THREADS, Endpoints, [env0_0.id]), body: {name: require, type: importDefault, auto_archive_duration: importAll, location: env0_4}, rejectWithError: false}]); } function _fun63155() { // fn#63155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:6589, offset: 0x01b72b74, size: 32 bytes, params: 1, frame: 12 const env0_0 = env1_4(_fun63157); return _fun63160; } function _fun63139(a0, a1) { // fn#63139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:3749, offset: 0x01b7235f, size: 67 bytes, params: 3, frame: 12 const env0_0 = a0; if (a1.body == null) { a1(); } env3_6.addConditionalChangeListener(_fun63140); } function _fun63142(a0, a1) { // fn#63142, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4091, offset: 0x01b7242f, size: 63 bytes, params: 3, frame: 11 if (a0.body == null) { a1(); } env3_8.addConditionalChangeListener(_fun63143); } function* _fun63149(a0, a1, a2) { // fn#63149, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4936, offset: 0x01b72601, size: 813 bytes, params: 4, frame: 32 var environment; var binding2; var intl; var value6; var getDraft; var id; var binding5; var FirstThreadMessage; var value12; var value13; var binding6; var value14; var clearDraft; var value15; var value18; var binding7; var value19; var binding8; var value22; if (true) { var env0_0; var env0_2; value = environment.__proto__.__proto__.__proto__; var binding = env3_24; env0_0 = binding(dependencyMap, env2_3); var name = dependencyMap.name; var value4 = ''; if (value4 === (name ?? value4)) { if (ForumActivePostStore) { binding = env3_26; if (value4 === binding(require, importDefault)) { binding = env3_0; binding2 = env3_2; intl = binding(binding2[15]).intl; value6 = intl.string(binding(binding2[15]).t['7Xm5QI']); } } } binding = env3_0; var binding3 = env3_2; env0_2 = binding(binding3[16]).getAutoArchiveDuration(require); binding = env3_8; var getChannel = binding.getChannel; var value8 = env3_1(binding3[17]); var value9 = Reflect.apply(getChannel, binding, [value8.castMessageIdAsChannelId(importDefault)]); binding = env3_27; yield binding(require, [], undefined, _fun63150); var value10 = undefined; if (false) { return value10; } if (value10 !== value9) { binding = env3_9; getDraft = binding.getDraft; id = require.id; binding5 = env3_10; FirstThreadMessage = binding5.FirstThreadMessage; value12 = Reflect.apply(getDraft, binding, [id, FirstThreadMessage]); value13 = value12.trim(); binding = env3_1; binding6 = env3_2; value14 = binding(binding6[19]); clearDraft = value14.clearDraft; id = require.id; Reflect.apply(clearDraft, value14, [id, binding5.ThreadSettings]); value15 = binding(binding6[19]); clearDraft = value15.clearDraft; id = require.id; FirstThreadMessage = binding5.FirstThreadMessage; Reflect.apply(clearDraft, value15, [id, FirstThreadMessage]); if (value4 !== value13 && value13 !== a0.trim()) { value18 = env3_1(env3_2[19]); value18.saveDraft(value10.id, value12, env3_10.ChannelMessage); } if (env2_5 != null) { env2_5(value10); } if (AuthenticationStore == null) { if (a1 == null) { binding = env3_1; binding7 = env3_2; value19 = binding(binding7[27]); value19.sendMessage(value10.id, binding(binding7[13]).parse(value10, a0), undefined, {location: env3_22.THREAD_CREATION}); } else if (a1.length > 0) { binding = env3_1; binding8 = env3_2; value22 = binding(binding8[27]); value22.sendStickers(value10.id, a1, binding(binding8[13]).parse(value10, a0), {location: env3_22.THREAD_CREATION}); } else { binding = env3_1; binding7 = env3_2; value19 = binding(binding7[27]); value19.sendMessage(value10.id, binding(binding7[13]).parse(value10, a0), undefined, {location: env3_22.THREAD_CREATION}); } } else if (a2 == null) { if (a1 == null) { binding = env3_1; binding7 = env3_2; value19 = binding(binding7[27]); value19.sendMessage(value10.id, binding(binding7[13]).parse(value10, a0), undefined, {location: env3_22.THREAD_CREATION}); } else if (a1.length > 0) { binding = env3_1; binding8 = env3_2; value22 = binding(binding8[27]); value22.sendStickers(value10.id, a1, binding(binding8[13]).parse(value10, a0), {location: env3_22.THREAD_CREATION}); } else { binding = env3_1; binding7 = env3_2; value19 = binding(binding7[27]); value19.sendMessage(value10.id, binding(binding7[13]).parse(value10, a0), undefined, {location: env3_22.THREAD_CREATION}); } } else if (a2.length > 0) { AuthenticationStore(value10, a2, a0, a1); } else if (a1 == null) { binding = env3_1; binding7 = env3_2; value19 = binding(binding7[27]); value19.sendMessage(value10.id, binding(binding7[13]).parse(value10, a0), undefined, {location: env3_22.THREAD_CREATION}); } else if (a1.length > 0) { binding = env3_1; binding8 = env3_2; value22 = binding(binding8[27]); value22.sendStickers(value10.id, a1, binding(binding8[13]).parse(value10, a0), {location: env3_22.THREAD_CREATION}); } else { binding = env3_1; binding7 = env3_2; value19 = binding(binding7[27]); value19.sendMessage(value10.id, binding(binding7[13]).parse(value10, a0), undefined, {location: env3_22.THREAD_CREATION}); } } var value25 = env3_1(env3_2[20]); var clearAll = value25.clearAll; id = require.id; FirstThreadMessage = env3_10.FirstThreadMessage; Reflect.apply(clearAll, value25, [id, FirstThreadMessage]); } } function* _fun63157(a0, a1, a2) { // fn#63157, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:6609, offset: 0x01b72b9d, size: 1060 bytes, params: 4, frame: 31 var r15; var r16; var r17; var r11; var r13; var uploaderFile; var session_id; var message; var value12; var files; var map; var closure; var binding3; var value14; var clearDraft; var binding4; var value15; var FirstThreadMessage; var value16; var clearAll; var value17; var trackForumPostCreated; var object2; var value18; var trackWithMetadata; var INVITE_SENT; var object3; var error; var file; var code; var reason; var handleUploadMessageAttachmentsErrors; let value = a0; if (false) { return undefined; } const value4 = undefined; let binding = env3_1; const value7 = env3_3(binding(env3_2[21])(value), 2); const value8 = 0; if (value7[value8]) { value = env3_0(env3_2[22]); value = value.addFlag(value8, env3_21.SUPPRESS_NOTIFICATIONS); r15 = value7[1]; r16 = value; } else { r15 = value; r16 = value8; } value = env3_0(env3_2[16]); const value10 = null; value = value.getAutoArchiveDuration(require, value10); binding = env3_18; const CHANNEL_THREADS = binding.CHANNEL_THREADS; let id = require.id; const env0_0 = Reflect.apply(CHANNEL_THREADS, binding, [id]) + '?use_nested_fields=true'; let object6 = {}; object6.name = importDefault; object6.auto_archive_duration = value; object6.applied_tags = dependencyMap; object6.message = {content: r15, sticker_ids: a1, flags: value8 === r16 ? value4 : r16}; if (value10 != ForumActivePostStore) { session_id = ForumActivePostStore.activity.session_id; if (value10 != session_id) { r17 = session_id; } else { binding = env3_7; r17 = binding.getSessionId(); } r13 = value10 == r17 ? value10 : {type: ForumActivePostStore.type, session_id: r17, target_user_id: ForumActivePostStore.targetUserId, party_id: value10 == ForumActivePostStore.activity.party ? value4 : ForumActivePostStore.activity.party.id}; } else { r13 = value10; } value = value10 != r13; if (value) { value = value10 != ForumActivePostStore; r11 = value; } else { r11 = value; } if (r11) { message = object6.message; message.application_id = ForumActivePostStore.activity.application_id; message = object6.message; message.activity = r13; } if (value10 == a2) { uploaderFile = value4; binding = env3_27; yield binding(require, env2_3, uploaderFile, _fun63159); value = undefined; if (false) { return value; } binding = env3_1; binding3 = env3_2; value14 = binding(binding3[19]); clearDraft = value14.clearDraft; id = require.id; binding4 = env3_10; Reflect.apply(clearDraft, value14, [id, binding4.ThreadSettings]); value15 = binding(binding3[19]); clearDraft = value15.clearDraft; id = require.id; FirstThreadMessage = binding4.FirstThreadMessage; Reflect.apply(clearDraft, value15, [id, FirstThreadMessage]); value16 = binding(binding3[20]); clearAll = value16.clearAll; id = require.id; FirstThreadMessage = binding4.FirstThreadMessage; Reflect.apply(clearAll, value16, [id, FirstThreadMessage]); binding = env3_0; value17 = binding(binding3[25]); trackForumPostCreated = value17.trackForumPostCreated; object2 = {}; object2.guildId = require.guild_id; id = require.id; object2.channelId = id; id = value.id; object2.postId = id; object2.applicationId = AuthenticationStore; object2.voiceChatEnabled = ChannelStore; Reflect.apply(trackForumPostCreated, value17, [object2]); } else { if (!(a2.length > value8)) { uploaderFile = value4; binding = env3_27; yield binding(require, env2_3, uploaderFile, _fun63159); value = undefined; if (false) { return value; } binding = env3_1; binding3 = env3_2; value14 = binding(binding3[19]); clearDraft = value14.clearDraft; id = require.id; binding4 = env3_10; Reflect.apply(clearDraft, value14, [id, binding4.ThreadSettings]); value15 = binding(binding3[19]); clearDraft = value15.clearDraft; id = require.id; FirstThreadMessage = binding4.FirstThreadMessage; Reflect.apply(clearDraft, value15, [id, FirstThreadMessage]); value16 = binding(binding3[20]); clearAll = value16.clearAll; id = require.id; FirstThreadMessage = binding4.FirstThreadMessage; Reflect.apply(clearAll, value16, [id, FirstThreadMessage]); binding = env3_0; value17 = binding(binding3[25]); trackForumPostCreated = value17.trackForumPostCreated; object2 = {}; object2.guildId = require.guild_id; id = require.id; object2.channelId = id; id = value.id; object2.postId = id; object2.applicationId = AuthenticationStore; object2.voiceChatEnabled = ChannelStore; Reflect.apply(trackForumPostCreated, value17, [object2]); if (value10 != object6.message.application_id) { value18 = env3_1(env3_2[26]); trackWithMetadata = value18.trackWithMetadata; INVITE_SENT = env3_16.INVITE_SENT; object3 = {}; object3.location = env3_22.THREAD_CREATION; object3.invite_type = env3_19.APPLICATION; object3.application_id = object6.message.application_id; object3.guild_id = require.getGuildId(); id = value.id; object3.channel_id = id; id = value.id; object3.message_id = id; Reflect.apply(trackWithMetadata, value18, [INVITE_SENT, object3]); } if (value10 != env2_4) { env2_4(value); } return value; } try { binding = env2_5; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { value = binding(a2); } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } yield value; try { value = undefined; value12 = false; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } if (value12) { return value; } try { uploaderFile = value.uploaderFile; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { message = object6.message; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { files = value.files; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { map = files.map; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { closure = _fun63158; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { value = Reflect.apply(map, files, [closure]); } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } try { message.attachments = value; } catch (error) { file = error.file; code = error.code; reason = error.reason; binding = env3_0; value = binding(env3_2[24]); handleUploadMessageAttachmentsErrors = value.handleUploadMessageAttachmentsErrors; object6 = {file: file}; object6.guildId = require.getGuildId(); if (value10 != env2_3) { binding = env2_3; object6.analyticsLocations = binding; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } object6.analyticsLocations = []; object6.code = code; object6.reason = reason; Reflect.apply(handleUploadMessageAttachmentsErrors, value, [object6]); throw error; } yield env3_27(require, env2_3, uploaderFile, _fun63159); value = undefined; if (false) { return value; } binding = env3_1; binding3 = env3_2; value14 = binding(binding3[19]); clearDraft = value14.clearDraft; id = require.id; binding4 = env3_10; Reflect.apply(clearDraft, value14, [id, binding4.ThreadSettings]); value15 = binding(binding3[19]); clearDraft = value15.clearDraft; id = require.id; FirstThreadMessage = binding4.FirstThreadMessage; Reflect.apply(clearDraft, value15, [id, FirstThreadMessage]); value16 = binding(binding3[20]); clearAll = value16.clearAll; id = require.id; FirstThreadMessage = binding4.FirstThreadMessage; Reflect.apply(clearAll, value16, [id, FirstThreadMessage]); value17 = env3_0(binding3[25]); value17.trackForumPostCreated({guildId: require.guild_id, channelId: require.id, postId: value.id, applicationId: AuthenticationStore, voiceChatEnabled: ChannelStore}); } if (value10 != object6.message.application_id) { value18 = env3_1(env3_2[26]); trackWithMetadata = value18.trackWithMetadata; INVITE_SENT = env3_16.INVITE_SENT; object3 = {}; object3.location = env3_22.THREAD_CREATION; object3.invite_type = env3_19.APPLICATION; object3.application_id = object6.message.application_id; object3.guild_id = require.getGuildId(); id = value.id; object3.channel_id = id; id = value.id; object3.message_id = id; Reflect.apply(trackWithMetadata, value18, [INVITE_SENT, object3]); } if (value10 != env2_4) { env2_4(value); } return value; } function _fun63140() { // fn#63140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:3807, offset: 0x01b723a2, size: 91 bytes, params: 1, frame: 13 var environment; const value = environment.__proto__.__proto__.__proto__.__proto__; let binding = env4_6; const andDeleteMostRecentUserCreatedThreadId = binding.getAndDeleteMostRecentUserCreatedThreadId(); if (andDeleteMostRecentUserCreatedThreadId != null) { binding = env4_8; var env0_0 = binding.getChannel(andDeleteMostRecentUserCreatedThreadId); binding = env4_1; binding(env4_2[29]).wait(_fun63141); return false; } } function _fun63143() { // fn#63143, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4149, offset: 0x01b7246e, size: 92 bytes, params: 1, frame: 13 var environment; const value = environment.__proto__.__proto__.__proto__.__proto__; const binding = env4_8; const getChannel = binding.getChannel; if (Reflect.apply(getChannel, binding, [env1_0.body.id]) != null) { env4_1(env4_2[29]).wait(_fun63144); return false; } } function _fun63150() { // fn#63150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:5233, offset: 0x01b7292e, size: 231 bytes, params: 1, frame: 18 const r3 = importDefault != null ? env4_18.CHANNEL_MESSAGE_THREADS(require.id, importDefault) : env4_18.CHANNEL_THREADS(require.id); const HTTP = env4_0(env4_2[18]).HTTP; return HTTP.post({url: r3, body: {name: env0_1, type: env0_0 ? env4_17.PRIVATE_THREAD : require.type === env4_17.GUILD_ANNOUNCEMENT ? env4_17.ANNOUNCEMENT_THREAD : env4_17.PUBLIC_THREAD, auto_archive_duration: env0_2, location: env3_4}, rejectWithError: false}); } function _fun63158(a0, a1) { // fn#63158, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:7357, offset: 0x01b72fc1, size: 45 bytes, params: 3, frame: 13 const value = environment.__proto__.__proto__.__proto__.__proto__; return env4_0(env4_2[23]).getAttachmentPayload(a0, a1); } function _fun63159() { // fn#63159, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:7615, offset: 0x01b72fee, size: 70 bytes, params: 1, frame: 13 const HTTP = env4_0(env4_2[18]).HTTP; return HTTP.post({url: env0_0, body: env0_1, rejectWithError: false}); } function _fun63141() { // fn#63141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:3921, offset: 0x01b723fd, size: 50 bytes, params: 1, frame: 11 var value2; if (env0_0 == null) { value = environment.__proto__; require(); } else { value2 = environment.__proto__; env1_0(env0_0); } } function _fun63144() { // fn#63144, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8054:4218, offset: 0x01b724ca, size: 23 bytes, params: 1, frame: 11 env1_0(env0_0); }