/* Metro module 3794; source: records/MessageRecord.tsx; dependencies: [6, 7, 15, 17, 18, 1886, 661, 1391, 3795, 4845, 7152, 8042, 2] */ import ClassCallCheck from '../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import Record from '../lib/Record.tsx'; /* Metro dependency 1886 */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */ import * as ReactionUtilsModule from '../modules/reactions/ReactionUtils.tsx'; /* Metro dependency 3795 */ import * as MessageReactionsTypesModule from '../modules/messages/MessageReactionsTypes.tsx'; /* Metro dependency 7152 */ function _fun28892(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:6, offset: 0x00f8605d, size: 326 bytes, params: 8, frame: 20 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = CreateClass; const value4 = _fun28897(Record); value = value(ModeratorReport); const value5 = _fun28901(Record); const value6 = _fun28903(value4); (FileImportTrackerModule).fileFinishedImporting('records/MessageRecord.tsx'); exports.default = value6; exports.MinimalMessageRecord = value4; exports.ModeratorReport = value; exports.MessageSnapshotRecord = value5; exports.isMessageComponentsV2 = function(a0) { return require(dependencyMap[7]).hasFlag(a0.flags, MessageFlags.IS_COMPONENTS_V2); }; function _callSuper_28893(a0, a1, a2) { // fn#28893, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:228, offset: 0x00e9bac6, size: 100 bytes, params: 4, frame: 20 var r0; var Reflect; let value = a2; const value3 = Module00017(a1); if (_isNativeReflectConstruct_28894()) { Reflect = global.Reflect; value = Reflect.construct(value3, value || [], Module00017(a0).constructor); r0 = value; } else { value = value3.apply(a0, value); r0 = value; } return PossibleConstructorReturn(a0, r0); } function _isNativeReflectConstruct_28894() { // fn#28894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:359, offset: 0x00f861a3, size: 94 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_28894_isNativeReflectConstruct = function() { return !!result; })(); } function _fun28897(a0) { // fn#28897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:558, offset: 0x00f86201, size: 68 bytes, params: 2, frame: 15 const MinimalMessageRecord2 = MinimalMessageRecord; Inherits(MinimalMessageRecord2, a0); return env0_4(MinimalMessageRecord2, [{key: 'hasFlag', value: value_28899}]); function MinimalMessageRecord(a0) { // fn#28898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:570, offset: 0x00f86245, size: 335 bytes, params: 2, frame: 15 const value = environment.__proto__; env1_3(this, MinimalMessageRecord); const value3 = _callSuper_28893(this, MinimalMessageRecord); const type = a0.type; const value4 = null; let r1 = value4 != type ? type : MessageTypes.DEFAULT; value3.type = r1; const content = a0.content; value3.content = value4 != content ? content : ''; const attachments = a0.attachments; value3.attachments = value4 != attachments ? attachments : []; const embeds = a0.embeds; value3.embeds = value4 != embeds ? embeds : []; const timestamp = a0.timestamp; value3.timestamp = value4 != timestamp ? timestamp : new global.Date(); const editedTimestamp = a0.editedTimestamp; value3.editedTimestamp = value4 != editedTimestamp ? editedTimestamp : value4; const flags = a0.flags; value3.flags = value4 != flags ? flags : 0; const components = a0.components; value3.components = value4 != components ? components : []; const codedLinks = a0.codedLinks; value3.codedLinks = value4 != codedLinks ? codedLinks : []; const stickers = a0.stickers; value3.stickers = value4 != stickers ? stickers : []; const sticker_items = a0.sticker_items; r1 = value4 != sticker_items ? sticker_items : a0.stickerItems; r1 = value4 == r1 ? [] : r1; value3.stickerItems = r1; const soundboard_sounds = a0.soundboard_sounds; value3.soundboardSounds = value4 != soundboard_sounds ? soundboard_sounds : a0.soundboardSounds; return value3; } function value_28899(a0) { // fn#28899, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:1328, offset: 0x00f86394, size: 50 bytes, params: 2, frame: 13 let value = environment.__proto__; value = require(1391) /* metro dependency 1391: FlagUtils */; return value.hasFlag(this.flags, a0); } } function ModeratorReport({reporting_user_id, reported_user_id, reporting_member, reported_member}) { // fn#28900, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:1390, offset: 0x00f863c6, size: 75 bytes, params: 2, frame: 14 ClassCallCheck(this, ModeratorReport); this.reporting_user_id = reporting_user_id; this.reported_user_id = reported_user_id; this.reporting_member = reporting_member; this.reported_member = reported_member; } function _fun28901(a0) { // fn#28901, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:1611, offset: 0x00f86411, size: 40 bytes, params: 2, frame: 14 const MessageSnapshotRecord2 = MessageSnapshotRecord; Inherits(MessageSnapshotRecord2, a0); return env0_4(MessageSnapshotRecord2); function MessageSnapshotRecord({message, moderator_report}) { // fn#28902, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:1623, offset: 0x00f86439, size: 99 bytes, params: 2, frame: 15 var value4; const value = environment.__proto__; env1_3(this, MessageSnapshotRecord); const value3 = _callSuper_28893(this, MessageSnapshotRecord); value3.message = new env1_11(message); value4 = null; value3.moderatorReport = value4 != moderator_report ? moderator_report : value4; return value3; } } function _fun28903(a0) { // fn#28903, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:1895, offset: 0x00f8649c, size: 421 bytes, params: 2, frame: 16 const MessageRecord2 = MessageRecord; Inherits(MessageRecord2, a0); return env0_4(MessageRecord2, [{key: 'isEdited', value: function() { return this.editedTimestamp != null; }}, {key: 'getChannelId', value: function() { return this.channel_id; }}, {key: 'getReaction', value: function(a0) { var env0_0 = a0; return this.reactions.find(_fun28909); }}, {key: 'getContentMessage', value: function() { var value = this; return importDefault(dependencyMap[9])(value) ? value.messageSnapshots[0].message : value; }}, {key: 'userHasReactedWithEmoji', value: function(a0, a1) { var env0_0 = a0; var env0_1 = a1; return this.reactions.some(_fun28912); }}, {key: 'addReaction', value: value_28913}, {key: 'addReactionBatch', value: function(a0, a1) { var env0_0 = a1; return a0.reduce(_fun28916, this); }}, {key: 'removeReaction', value: value_28918}, {key: 'removeReactionsForEmoji', value: function(a0) { var env0_0 = a0; return this.set('reactions', this.reactions.filter(_fun28921)); }}, {key: 'isSystemDM', value: function() { return this.author.isSystemUser(); }}, {key: 'isCommandType', value: value_28923}, {key: 'isPoll', value: function() { return this.poll != null; }}, {key: 'isInteractionPlaceholder', value: function() { return this.interaction != null && this.author.isNonUserBot(); }}, {key: 'canDeleteOwnMessage', value: value_28926}, {key: 'toJS', value: function() { var r4; var r5; var object = {}; copyDataProperties(object, this, r5); var value = this.mentionGames.values(); var items = []; arraySpread(items, value, 0, r4); object['mentionGames'] = items; object['webkhook_id'] = this.webhookId; object['edited_timestamp'] = this.editedTimestamp; object['mention_everyone'] = this.mentionEveryone; return object; }}, {key: 'isFirstMessageInForumPost', value: function(a0) { return this.id === this.channel_id && a0.isForumPost(); }}]); function MessageRecord(a0) { // fn#28904, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:1907, offset: 0x00f86641, size: 971 bytes, params: 2, frame: 18 var environment; var changelogId; var map; var value5; let value = environment.__proto__; const binding = env1_3; const value3 = undefined; binding(this, MessageRecord); const value4 = _callSuper_28893(this, MessageRecord, [a0]); value4.id = a0.id; value4.channel_id = a0.channel_id; value4.author = a0.author; value4.customRenderedContent = a0.customRenderedContent; let r1 = a0.mentions || []; value4.mentions = r1; value4.mentionRoles = a0.mentionRoles || []; value4.mentionChannels = a0.mentionChannels || []; const mentionGames = a0.mentionGames; let Map = global.Map; if (mentionGames instanceof Map) { r1 = a0.mentionGames; } else { Map = global.Map; value5 = (a0.mentionGames ?? []).map(function(a0) { return [a0.id, a0]; }); map = new Map(); } value4.mentionGames = r1; let mentioned = a0.mentioned; mentioned = !!mentioned && mentioned; value4.mentioned = mentioned; let pinned = a0.pinned; pinned = !!pinned && pinned; value4.pinned = pinned; let mentionEveryone = a0.mentionEveryone; mentionEveryone = !!mentionEveryone && mentionEveryone; value4.mentionEveryone = mentionEveryone; let tts = a0.tts; tts = !!tts && tts; value4.tts = tts; value4.giftCodes = a0.giftCodes || []; value4.state = a0.state || MessageStates.SENT; const nonce = a0.nonce; value = null; let r2 = value != nonce ? nonce : value3; value4.nonce = r2; let blocked = a0.blocked; blocked = !!blocked && blocked; value4.blocked = blocked; let ignored = a0.ignored; ignored = !!ignored && ignored; value4.ignored = ignored; let call = a0.call; call = !call ? value : call; value4.call = call; let bot = a0.bot; bot = !!bot && bot; value4.bot = bot; let webhookId = a0.webhookId; webhookId = !webhookId ? value : webhookId; value4.webhookId = webhookId; value4.reactions = a0.reactions || []; r2 = a0.application_id || a0.applicationId; r2 = !r2 ? value : r2; value4.applicationId = r2; let application = a0.application; application = !application ? value : application; value4.application = application; let activity = a0.activity; activity = !activity ? value : activity; value4.activity = activity; r2 = a0.activity_instance || a0.activityInstance; r2 = !r2 ? value : r2; value4.activityInstance = r2; let messageReference = a0.messageReference; messageReference = !messageReference ? value : messageReference; value4.messageReference = messageReference; r2 = a0.hit || a0.isSearchHit; r2 = !!r2 && r2; value4.isSearchHit = r2; let loggingName = a0.loggingName; loggingName = !loggingName ? value : loggingName; value4.loggingName = loggingName; value4.colorString = a0.colorString; value4.nick = a0.nick; let interaction = a0.interaction; interaction = !interaction ? value : interaction; value4.interaction = interaction; let interactionData = a0.interactionData; interactionData = !interactionData ? value : interactionData; value4.interactionData = interactionData; let interactionMetadata = a0.interactionMetadata; interactionMetadata = !interactionMetadata ? value : interactionMetadata; value4.interactionMetadata = interactionMetadata; let interactionError = a0.interactionError; interactionError = !interactionError ? value : interactionError; value4.interactionError = interactionError; value4.roleSubscriptionData = a0.roleSubscriptionData; value4.purchaseNotification = a0.purchaseNotification; value4.poll = a0.poll; value4.sharedClientTheme = a0.shared_client_theme || a0.sharedClientTheme; let referralTrialOfferId = a0.referralTrialOfferId; referralTrialOfferId = !referralTrialOfferId ? value : referralTrialOfferId; value4.referralTrialOfferId = referralTrialOfferId; let premiumGroupInviteId = a0.premiumGroupInviteId; premiumGroupInviteId = !premiumGroupInviteId ? value : premiumGroupInviteId; value4.premiumGroupInviteId = premiumGroupInviteId; const gift_info = a0.gift_info; value4.giftInfo = value != gift_info ? gift_info : a0.giftInfo; let giftingPrompt = a0.giftingPrompt; giftingPrompt = !giftingPrompt ? value : giftingPrompt; value4.giftingPrompt = giftingPrompt; let boostingPrompt = a0.boostingPrompt; boostingPrompt = !boostingPrompt ? value : boostingPrompt; value4.boostingPrompt = boostingPrompt; value4.messageSnapshots = a0.messageSnapshots || []; let isUnsupported = a0.isUnsupported; isUnsupported = !!isUnsupported && isUnsupported; value4.isUnsupported = isUnsupported; const changelog_id = a0.changelog_id; if (value != changelog_id) { r2 = changelog_id; } else { changelogId = a0.changelogId; changelogId = !changelogId ? value : changelogId; r2 = changelogId; } value4.changelogId = r2; const media_mention = a0.media_mention; r2 = value != media_mention ? media_mention : a0.mediaMention; value4.mediaMention = value != r2 ? r2 : value; return value4; } function value_28908(a0) { // fn#28908, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:3998, offset: 0x00f86a27, size: 36 bytes, params: 2, frame: 11 const env0_0 = a0; return this.reactions.find(_fun28909); function _fun28909({emoji}) { // fn#28909, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:4038, offset: 0x00f86a4b, size: 55 bytes, params: 2, frame: 13 const value = environment.__proto__.__proto__; return (ReactionUtilsModule).emojiEquals(emoji, env0_0); } } function value_28911(a0, a1) { // fn#28911, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:4217, offset: 0x00f86abc, size: 43 bytes, params: 3, frame: 11 const env0_0 = a0; const env0_1 = a1; return this.reactions.some(_fun28912); function _fun28912(a0) { // fn#28912, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:4259, offset: 0x00f86ae7, size: 95 bytes, params: 2, frame: 16 var r0; let value = environment.__proto__.__proto__; value = require(3795) /* metro dependency 3795: ReactionUtils */; if (value.emojiEquals(a0.emoji, env0_0)) { r0 = require && a0.me; r0 = !r0 ? !require && a0.me_burst : r0; return r0; } } } function value_28913(a0) { // fn#28913, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:4358, offset: 0x00f86b46, size: 412 bytes, params: 2, frame: 20 var environment; const ReactionTypes = (MessageReactionsTypesModule).ReactionTypes; var value4; let value = a1; const value2 = a2; const value3 = a3; const env0_0 = a0; const r5 = value !== undefined ? value : false; const r4 = value2 !== undefined ? value2 : []; const r1 = value3 !== undefined ? value3 : ReactionTypes.NORMAL; const env0_4 = -1; value = this.reactions.map(_fun28914); if (env0_4 === -1) { value4 = environment.__proto__; if (r1 === ReactionTypes.BURST) { value.push({'emoji': null, 'me': false, 'me_burst': null, 'count': 0, 'count_details': null, 'burst_count': 1, emoji: a0, me_burst: r5, count_details: {'burst': 1, 'normal': 0}, burst_colors: r4}); } else if (r1 === ReactionTypes.VOTE) { value.push({'emoji': null, 'me': false, 'me_burst': false, 'me_vote': null, 'count': 0, 'count_details': null, 'burst_count': 0, emoji: a0, me_vote: r5, count_details: {'burst': 0, 'normal': 0, 'vote': 1}, burst_colors: []}); } else { value.push({'emoji': null, 'me': null, 'me_burst': false, 'count': 1, 'count_details': null, 'burst_count': 0, emoji: a0, me: r5, count_details: {'burst': 0, 'normal': 1}, burst_colors: []}); } } return this.set('reactions', value); function _fun28914(a0, a1) { // fn#28914, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:4443, offset: 0x00f86ce2, size: 582 bytes, params: 3, frame: 18 var r6; var r4; var binding; const ReactionTypes = (MessageReactionsTypesModule).ReactionTypes; var value5; var object; var object2; var count_details; var object3; var value10; var object4; const value = a0; const value3 = undefined; if (ReactionUtilsModule.emojiEquals(value.emoji, env0_0)) { env0_4 = a1; binding = ClassCallCheck; if (binding === ReactionTypes.BURST) { if (env0_1) { if (value.me_burst) { return value; } value10 = value.burst_count + 1; r4 = value.burst_colors == null ? env0_2 : value.burst_colors.length > 0 ? value.burst_colors : env0_2; object = {}; copyDataProperties(object, value, require); binding = env0_1; object['me_burst'] = binding ? !!binding : value.me_burst; object['burst_count'] = value10; object4 = {}; copyDataProperties(object4, value.count_details, require); object4['burst'] = value10; object['count_details'] = object4; object['burst_colors'] = r4; return object; } value10 = value.burst_count + 1; r4 = value.burst_colors == null ? env0_2 : value.burst_colors.length > 0 ? value.burst_colors : env0_2; object = {}; copyDataProperties(object, value, require); binding = env0_1; object['me_burst'] = binding ? !!binding : value.me_burst; object['burst_count'] = value10; object4 = {}; copyDataProperties(object4, value.count_details, require); object4['burst'] = value10; object['count_details'] = object4; object['burst_colors'] = r4; return object; } binding = ClassCallCheck; if (binding === ReactionTypes.VOTE) { count_details = value.count_details; r4 = (count_details == null ? value3 : count_details.vote) ?? 0; r6 = env0_1 && value.me_vote ? r4 : r4 + 1; object = {}; copyDataProperties(object, value, require); object3 = {}; count_details = value.count_details; copyDataProperties(object3, count_details, require); object3['vote'] = r6; object['count_details'] = object3; binding = env0_1; object['me_vote'] = binding ? !!binding : value.me_vote; return object; } if (env0_1) { if (value.me) { return value; } value5 = value.count + 1; object = {}; copyDataProperties(object, value, require); object['count'] = value5; object2 = {}; copyDataProperties(object2, value.count_details, require); object2['normal'] = value5; object['count_details'] = object2; binding = env0_1; object['me'] = binding ? !!binding : value.me; return object; } value5 = value.count + 1; object = {}; copyDataProperties(object, value, require); object['count'] = value5; object2 = {}; count_details = value.count_details; copyDataProperties(object2, count_details, require); object2['normal'] = value5; object['count_details'] = object2; binding = env0_1; r6 = binding ? !!binding : value.me; object['me'] = r6; return object; } return value; } } function value_28915(a0, a1) { // fn#28915, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:5544, offset: 0x00f86f28, size: 34 bytes, params: 3, frame: 13 const env0_0 = a1; return a0.reduce(function(a0, {users, emoji, reactionType}) { return users.reduce(_fun28917, a0); }, this); function _fun28916(a0, {users, emoji, reactionType}) { // fn#28916, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:5575, offset: 0x00f86f4a, size: 53 bytes, params: 3, frame: 13 return users.reduce(function(a0, a1) { return a0.addReaction(emoji, a1 === require, [], reactionType); }, a0); function _fun28917(a0, a1) { // fn#28917, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:5641, offset: 0x00f86f7f, size: 47 bytes, params: 3, frame: 17 return a0.addReaction(emoji, a1 === require, [], reactionType); } } } function value_28918(a0) { // fn#28918, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:5718, offset: 0x00f86fae, size: 302 bytes, params: 2, frame: 23 var environment; var NORMAL; let value = a1; const value2 = a2; const env0_0 = a0; const value3 = undefined; let r4 = value !== value3 ? value : false; if (value2 === value3) { value = environment.__proto__; NORMAL = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.NORMAL; } const env0_3 = -1; value = this.reactions.map(_fun28919); const {count, burst_count, count_details} = value[env0_3] ?? ({}); const normal = count_details == null ? value3 : count_details.normal; const value4 = 0; const r7 = normal ?? value4; const r6 = (count_details == null ? value3 : count_details.burst) ?? value4; r4 = (count_details == null ? value3 : count_details.vote) ?? value4; let r1 = env0_3 !== -1 && count <= value4 && burst_count <= value4; r1 = r1 && r7 <= value4 && r6 <= value4 && r4 <= value4; if (r1) { value.splice(env0_3, 1); } return this.set('reactions', value); function _fun28919(a0, a1) { // fn#28919, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:5806, offset: 0x00f870dc, size: 528 bytes, params: 3, frame: 18 var r7; var r6; var r5; var r1; var r0; const ReactionTypes = (MessageReactionsTypesModule).ReactionTypes; var object; var object2; var count_details; var object3; var object4; const value = a0; const value3 = undefined; if (ReactionUtilsModule.emojiEquals(value.emoji, env0_0)) { if (env0_2 === ReactionTypes.BURST) { r6 = env0_1 ? value.me_burst ? value.burst_count - 1 : value.burst_count : value.burst_count - 1; object = {}; copyDataProperties(object, value, require); object['burst_count'] = r6; object['me_burst'] = !env0_1 && value.me_burst; object4 = {}; copyDataProperties(object4, value.count_details, require); object4['burst'] = r6; object['count_details'] = object4; r1 = object; } else if (env0_2 === ReactionTypes.VOTE) { count_details = value.count_details; r5 = (count_details == null ? value3 : count_details.vote) ?? 0; r7 = env0_1 ? value.me_vote ? r5 - 1 : r5 : r5 - 1; object = {}; copyDataProperties(object, value, require); object3 = {}; count_details = value.count_details; copyDataProperties(object3, count_details, require); object3['vote'] = r7; object['count_details'] = object3; object['me_vote'] = !env0_1 && value.me_vote; r1 = object; } else { r7 = env0_1 ? value.me ? value.count - 1 : value.count : value.count - 1; object = {}; copyDataProperties(object, value, require); object['count'] = r7; object['me'] = !env0_1 && value.me; object2 = {}; copyDataProperties(object2, value.count_details, require); object2['normal'] = r7; object['count_details'] = object2; r1 = object; } env0_3 = a1; r0 = r1; } else { r0 = value; } return r0; } } function value_28920(a0) { // fn#28920, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:6658, offset: 0x00f872ec, size: 50 bytes, params: 2, frame: 14 const env0_0 = a0; return this.set('reactions', this.reactions.filter(_fun28921)); function _fun28921({emoji}) { // fn#28921, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:6721, offset: 0x00f8731e, size: 58 bytes, params: 2, frame: 13 let value = environment.__proto__.__proto__; value = require(3795) /* metro dependency 3795: ReactionUtils */; return !value.emojiEquals(emoji, env0_0); } } function value_28923() { // fn#28923, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:6859, offset: 0x00f8736d, size: 49 bytes, params: 1, frame: 4 const type = this.type; const value = environment.__proto__; const CHAT_INPUT_COMMAND = MessageTypes.CHAT_INPUT_COMMAND; return type === CHAT_INPUT_COMMAND || this.type === MessageTypes.CONTEXT_MENU_COMMAND; } function value_28926(a0) { // fn#28926, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3921:7146, offset: 0x00f873d3, size: 165 bytes, params: 2, frame: 15 if (this.author.id === a0) { return true; } let interactionMetadata = this.interactionMetadata; const value = undefined; const r2 = (interactionMetadata == null ? value : interactionMetadata.authorizing_integration_owners) ?? ({}); interactionMetadata = this.interactionMetadata; return (interactionMetadata == null ? value : interactionMetadata.user.id) === a0 && global.Object.keys(r2).length === 1 && (require(8042) /* metro dependency 8042: ApplicationIntegrationType */).ApplicationIntegrationType.USER_INSTALL in r2; } } } global.__d(_fun28892, 3794, [6, 7, 15, 17, 18, 1886, 661, 1391, 3795, 4845, 7152, 8042, 2]) /* metro module 3794, dependencies: [6, 7, 15, 17, 18, 1886, 661, 1391, 3795, 4845, 7152, 8042, 2] */;