/* Metro module 4847; source: modules/explicit_media_redaction/ExplicitMediaManagerUtils.tsx; dependencies: [2] */ function _fun42417(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#42417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5025:6, offset: 0x011393ce, size: 94 bytes, params: 8, frame: 16 const hasAttachmentsEmbedsOrComponents = function(a0) { var r0; r0 = a0.attachments != null && a0.attachments.length > 0; r0 = !r0 ? a0.embeds != null && a0.embeds.length > 0 : r0; r0 = !r0 ? a0.components != null && a0.components.length > 0 : r0; return r0; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/explicit_media_redaction/ExplicitMediaManagerUtils.tsx'); exports.hasAttachmentsEmbedsComponentsOrSnapshots = hasAttachmentsEmbedsComponentsOrSnapshots; } function hasAttachmentsEmbedsComponentsOrSnapshots(a0) { // fn#42419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5025:406, offset: 0x01139499, size: 97 bytes, params: 2, frame: 14 if (a0 == null) { return false; } const r5 = 'messageSnapshots' in a0 ? a0.messageSnapshots : a0.message_snapshots; return hasAttachmentsEmbedsOrComponents(a0) || r5 != null && r5?.some(function(a0) { return hasAttachmentsEmbedsOrComponents(a0.message); }); }