539 lines
22 KiB
TypeScript
539 lines
22 KiB
TypeScript
/* Metro module 11174; source: modules/saved_messages/SavedMessagesStore.tsx; dependencies: [6, 7, 15, 17, 18, 1878, 3780, 11175, 4625, 566, 694, 2] */
|
|
function _fun85332(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85332, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:6, offset: 0x01f6bc16, size: 732 bytes, params: 8, frame: 25
|
|
const env0_0 = require;
|
|
const _arrayLikeToArray_85338 = function(a0, a1) {
|
|
var r0;
|
|
var r1;
|
|
var r2;
|
|
var value3;
|
|
var length;
|
|
var value5;
|
|
var value = undefined;
|
|
var value2 = value == null;
|
|
reducibleJoin2: while (true) {
|
|
if (value2) {
|
|
r0 = value2;
|
|
break reducibleJoin2;
|
|
}
|
|
value3 = value > a0.length;
|
|
r0 = value3;
|
|
break reducibleJoin2;
|
|
}
|
|
reducibleJoin4: while (true) {
|
|
if (r0) {
|
|
length = a0.length;
|
|
r1 = length;
|
|
break reducibleJoin4;
|
|
}
|
|
r1 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
value = (0, global.Array)(r1);
|
|
var value4 = 0;
|
|
if (value4 < r1) {
|
|
r2 = value4;
|
|
reducibleLoop5: while (true) {
|
|
value[r2] = a0[r2];
|
|
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
if (value5 < r1) {
|
|
r2 = value5;
|
|
continue reducibleLoop5;
|
|
}
|
|
break reducibleLoop5;
|
|
}
|
|
}
|
|
return value;
|
|
};
|
|
const closure = getComparator_85340;
|
|
const getSavedMessageKey = function({channelId, messageId}) {
|
|
return '' + channelId + '-' + messageId;
|
|
};
|
|
const closure2 = GUILD_CREATE_85345;
|
|
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 userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
|
const SecondaryIndexMap = (require(3780) /* metro dependency 3780: SecondaryIndexMap */).SecondaryIndexMap;
|
|
const secondaryIndexMap = new SecondaryIndexMap(_fun85346, function({saveData}) {
|
|
return getComparator_85340(saveData);
|
|
});
|
|
let Set = global.Set;
|
|
let set = new Set();
|
|
Set = global.Set;
|
|
set = new Set();
|
|
const Map = global.Map;
|
|
let map = new Map();
|
|
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
|
_fun85348(Store).displayName = 'SavedMessagesStore';
|
|
map = new map(importDefault(694) /* metro dependency 694: Dispatcher */, {POST_CONNECTION_OPEN: function() {
|
|
env0_10 = true;
|
|
}, LOGOUT: LOGOUT_85363, SAVED_MESSAGES_UPDATE: SAVED_MESSAGES_UPDATE,
|
|
SAVED_MESSAGE_CREATE: function({savedMessage}) {
|
|
upsertSavedMessage(savedMessage);
|
|
}, SAVED_MESSAGE_DELETE: SAVED_MESSAGE_DELETE, MESSAGE_DELETE: function({id, channelId}) {
|
|
return nullifyMessageObject({messageId: id, channelId: channelId});
|
|
}, MESSAGE_DELETE_BULK: function({ids, channelId}) {
|
|
var r2;
|
|
var value4;
|
|
var value2 = _createForOfIteratorHelperLoose_85336(ids);
|
|
var value3 = value2();
|
|
if (!value3.done) {
|
|
for (r2 = value3; true; r2 = value4) {
|
|
nullifyMessageObject({messageId: r2.value, channelId: channelId});
|
|
value4 = value2();
|
|
if (value4.done) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}, MESSAGE_UPDATE: MESSAGE_UPDATE_85369, GUILD_CREATE: closure2, GUILD_UPDATE: closure2, GUILD_DELETE: closure2,
|
|
CHANNEL_CREATE: CHANNEL_CREATE_85370, CHANNEL_UPDATES: CHANNEL_UPDATES_85371,
|
|
CHANNEL_DELETE: CHANNEL_DELETE_85372, GUILD_MEMBER_UPDATE: GUILD_MEMBER_UPDATE_85373,
|
|
GUILD_ROLE_CREATE: closure2, GUILD_ROLE_UPDATE: closure2, GUILD_ROLE_DELETE: closure2,
|
|
MESSAGE_REMINDER_DUE: MESSAGE_REMINDER_DUE_85374});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/saved_messages/SavedMessagesStore.tsx');
|
|
exports.default = map;
|
|
exports.getComparator = closure;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_85333() { // fn#85333, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:160, offset: 0x01f6bef2, 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_85333_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _createForOfIteratorHelperLoose_85336(a0, a1) { // fn#85336, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:353, offset: 0x01f6bf54, size: 372 bytes, params: 3, frame: 20
|
|
var r6;
|
|
var r9;
|
|
var r5;
|
|
var value3;
|
|
var regexp;
|
|
const env0_0 = a0;
|
|
const Symbol = global.Symbol;
|
|
let value = typeof Symbol !== 'undefined';
|
|
let r1 = value && a0[global.Symbol.iterator];
|
|
r1 = !r1 ? a0['@@iterator'] : r1;
|
|
if (r1) {
|
|
value = r1.call(a0);
|
|
return value.next.bind(value);
|
|
}
|
|
const Array = global.Array;
|
|
if (Array.isArray(a0)) {
|
|
if (r1) {
|
|
}
|
|
return _fun85337;
|
|
}
|
|
value = undefined;
|
|
if (a0) {
|
|
if (typeof a0 === 'string') {
|
|
value = _arrayLikeToArray_85338(a0, value);
|
|
r5 = value;
|
|
} else {
|
|
value3 = ({}).toString.call(a0).slice(8, -1);
|
|
r6 = value3 === 'Object' && a0.constructor;
|
|
r9 = r6 ? a0.constructor.name : value3;
|
|
if (r9 === 'Map') {
|
|
r6 = global.Array.from(a0);
|
|
} else if (r9 === 'Set') {
|
|
r6 = global.Array.from(a0);
|
|
} else if (r9 === 'Arguments') {
|
|
value = _arrayLikeToArray_85338(a0, value);
|
|
r6 = value;
|
|
} else {
|
|
regexp = RegExp('^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$', '');
|
|
if (regexp.test(r9)) {
|
|
value = _arrayLikeToArray_85338(a0, value);
|
|
r6 = value;
|
|
} else {
|
|
r6 = value;
|
|
}
|
|
}
|
|
r5 = r6;
|
|
}
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
if (r5) {
|
|
if (r5) {
|
|
}
|
|
return _fun85337;
|
|
}
|
|
const TypeError = global.TypeError;
|
|
throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');
|
|
}
|
|
|
|
function getTimeSafe(a0) { // fn#85339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:1274, offset: 0x01f6c0c8, size: 128 bytes, params: 2, frame: 14
|
|
var Date;
|
|
var prototype;
|
|
var value;
|
|
var date;
|
|
var error;
|
|
var Error;
|
|
var value2;
|
|
if (a0 == null) {
|
|
value = environment;
|
|
return env0_8;
|
|
}
|
|
try {
|
|
Date = global.Date;
|
|
prototype = Date.prototype;
|
|
value = Object.create(prototype, {constructor: {value: Date}});
|
|
date = new Date(a0);
|
|
value = date instanceof Object ? date : value;
|
|
value = value.getTime();
|
|
} catch (error) {
|
|
Error = global.Error;
|
|
value = 'Invalid date given (' + a0 + ')';
|
|
prototype = Error.prototype;
|
|
value2 = Object.create(prototype, {constructor: {value: Error}});
|
|
error = new Error();
|
|
value = error instanceof Object ? error : value2;
|
|
throw value;
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function getComparator_85340(a0) { // fn#85340, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:1406, offset: 0x01f6c148, size: 67 bytes, params: 2, frame: 13
|
|
return a0.dueAt != null ? getTimeSafe(a0.dueAt) : env0_8 - getTimeSafe(a0.savedAt);
|
|
}
|
|
|
|
function isChannelRelevant(a0) { // fn#85341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:1761, offset: 0x01f6c18b, size: 42 bytes, params: 2, frame: 11
|
|
const value = env0_14.get(a0);
|
|
return value != null && value.size > 0;
|
|
}
|
|
|
|
function upsertSavedMessage(a0) { // fn#85343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:1904, offset: 0x01f6c1e0, size: 287 bytes, params: 2, frame: 18
|
|
var r7;
|
|
var Date;
|
|
var value7;
|
|
var date;
|
|
const savedMessageKey = getSavedMessageKey(a0.saveData);
|
|
if (env0_9.get(savedMessageKey) == null) {
|
|
env0_11 = global.Date.now();
|
|
}
|
|
env0_9.set(savedMessageKey, a0);
|
|
const messageId = a0.saveData.messageId;
|
|
const channelId = a0.saveData.channelId;
|
|
const value4 = env0_14.get(channelId);
|
|
if (value4 != null) {
|
|
r7 = value4;
|
|
} else {
|
|
set = new global.Set();
|
|
}
|
|
r7.add(messageId);
|
|
env0_14.set(channelId, r7);
|
|
if (a0.message == null) {
|
|
env0_13.add(messageId);
|
|
}
|
|
if (a0.saveData.dueAt == null) {
|
|
env0_12.delete(messageId);
|
|
} else {
|
|
Date = global.Date;
|
|
value7 = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
if ((date instanceof Object ? date : value7) > a0.saveData.dueAt) {
|
|
env0_12.add(messageId);
|
|
} else {
|
|
env0_12.delete(messageId);
|
|
}
|
|
}
|
|
}
|
|
|
|
function nullifyMessageObject({messageId, channelId}) { // fn#85344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:2214, offset: 0x01f6c2ff, size: 110 bytes, params: 2, frame: 15
|
|
var object2;
|
|
const savedMessageKey = getSavedMessageKey({messageId: messageId, channelId: channelId});
|
|
const value4 = env0_9.get(savedMessageKey);
|
|
const value5 = value4 == null;
|
|
if ((value5 ? undefined : value4.message) == null) {
|
|
return false;
|
|
}
|
|
object2 = {};
|
|
copyDataProperties(object2, value4, value5);
|
|
object2.message = null;
|
|
env0_9.set(savedMessageKey, object2);
|
|
return true;
|
|
}
|
|
|
|
function GUILD_CREATE_85345() { // fn#85345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:2428, offset: 0x01f6c36d, size: 44 bytes, params: 1, frame: 4
|
|
return env0_13.size !== 0 && (!env0_10 && undefined);
|
|
}
|
|
|
|
function _fun85346({saveData}) { // fn#85346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:1538, offset: 0x01f6c399, size: 132 bytes, params: 2, frame: 14
|
|
const SavedMessageSortTypes = (require(11175) /* metro dependency 11175: SavedMessagesTypes */).SavedMessageSortTypes;
|
|
const ALL = SavedMessageSortTypes.ALL;
|
|
return [ALL, saveData.dueAt != null ? SavedMessageSortTypes.REMINDER : SavedMessageSortTypes.BOOKMARK];
|
|
}
|
|
|
|
function _fun85348(a0) { // fn#85348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:2493, offset: 0x01f6c436, size: 359 bytes, params: 2, frame: 16
|
|
const closure = SavedMessagesStore;
|
|
env0_6(closure, a0);
|
|
return env0_3(closure, [{key: 'initialize', value: function() {
|
|
this.waitFor(UserStore);
|
|
}}, {key: 'getSavedMessages', value: value_85351}, {key: 'getSavedMessage', value: value_85352},
|
|
{key: 'getMessageBookmarks', value: value_85353}, {key: 'getMessageReminders', value: value_85354},
|
|
{key: 'getOverdueMessageReminderCount', value: value_85355}, {key: 'hasOverdueReminder', value: value_85356},
|
|
{key: 'getSavedMessageCount', value: value_85357}, {key: 'getIsStale', value: value_85358},
|
|
{key: 'getLastChanged', value: value_85359}, {key: 'isMessageBookmarked', value: value_85360},
|
|
{key: 'isMessageReminder', value: value_85361}]);
|
|
}
|
|
|
|
function LOGOUT_85363() { // fn#85363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3976, offset: 0x01f6c72c, size: 55 bytes, params: 1, frame: 10
|
|
env0_9.clear();
|
|
env0_14.clear();
|
|
env0_13.clear();
|
|
}
|
|
|
|
function SAVED_MESSAGES_UPDATE({savedMessages}) { // fn#85364, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:4058, offset: 0x01f6c763, size: 114 bytes, params: 2, frame: 14
|
|
var r2;
|
|
var upsertSavedMessageBinding;
|
|
var value4;
|
|
var value5;
|
|
env0_9.clear();
|
|
env0_14.clear();
|
|
env0_13.clear();
|
|
const value2 = _createForOfIteratorHelperLoose_85336(savedMessages);
|
|
const value3 = value2();
|
|
let done = value3.done;
|
|
if (!done) {
|
|
for (r2 = value3; true; r2 = value5) {
|
|
upsertSavedMessageBinding = upsertSavedMessage;
|
|
value4 = r2.value;
|
|
upsertSavedMessageBinding(value4);
|
|
value5 = value2();
|
|
done = value5.done;
|
|
if (done) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function SAVED_MESSAGE_DELETE({savedMessageData}) { // fn#85366, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:4332, offset: 0x01f6c7ee, size: 159 bytes, params: 2, frame: 17
|
|
var r0;
|
|
var messageId;
|
|
var value6;
|
|
const savedMessageKey = getSavedMessageKey(savedMessageData);
|
|
let binding = env0_9;
|
|
const value4 = binding.get(savedMessageKey);
|
|
if (value4 == null) {
|
|
r0 = false;
|
|
} else {
|
|
binding = env0_9;
|
|
binding.delete(savedMessageKey);
|
|
messageId = savedMessageData.messageId;
|
|
binding = env0_14;
|
|
value6 = binding.get(value4.saveData.channelId);
|
|
if (value6 != null) {
|
|
value6.delete(messageId);
|
|
}
|
|
binding = env0_13;
|
|
binding.delete(messageId);
|
|
binding = env0_12;
|
|
binding.delete(messageId);
|
|
env0_11 = global.Date.now();
|
|
r0 = undefined;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function MESSAGE_UPDATE_85369({message}) { // fn#85369, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:4926, offset: 0x01f6c905, size: 180 bytes, params: 2, frame: 18
|
|
var object2;
|
|
if (message.id == null) {
|
|
return false;
|
|
}
|
|
if (message.channel_id == null) {
|
|
return false;
|
|
}
|
|
const savedMessageKey = getSavedMessageKey({messageId: message.id, channelId: message.channel_id});
|
|
const value4 = env0_9.get(savedMessageKey);
|
|
var message = value4?.message;
|
|
if (message == null) {
|
|
return false;
|
|
}
|
|
object2 = {};
|
|
copyDataProperties(object2, value4, undefined);
|
|
const messageRecordUtilsModule = require(4625) /* metro dependency 4625: MessageRecordUtils */;
|
|
const updateMessageRecord = messageRecordUtilsModule.updateMessageRecord;
|
|
message = value4.message;
|
|
object2.message = Reflect.apply(updateMessageRecord, messageRecordUtilsModule, [message, message]);
|
|
env0_9.set(savedMessageKey, object2);
|
|
}
|
|
|
|
function CHANNEL_CREATE_85370({channel}) { // fn#85370, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:5300, offset: 0x01f6c9b9, size: 80 bytes, params: 2, frame: 14
|
|
var r1;
|
|
var r0;
|
|
var binding;
|
|
var isChannelRelevantBinding;
|
|
var id;
|
|
var value4;
|
|
var isChannelRelevant2;
|
|
const value2 = env0_13.size !== 0;
|
|
if (value2) {
|
|
binding = env0_10;
|
|
if (binding) {
|
|
r1 = !binding;
|
|
} else {
|
|
isChannelRelevantBinding = isChannelRelevant;
|
|
id = channel.id;
|
|
value4 = undefined;
|
|
isChannelRelevant2 = isChannelRelevantBinding(id);
|
|
r1 = isChannelRelevant2 ? value4 : !!isChannelRelevant2;
|
|
}
|
|
r0 = r1;
|
|
} else {
|
|
r0 = value2;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function CHANNEL_UPDATES_85371({channels}) { // fn#85371, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:5424, offset: 0x01f6ca09, size: 122 bytes, params: 2, frame: 18
|
|
var r2;
|
|
var r3;
|
|
var r0;
|
|
var isChannelRelevantBinding;
|
|
var value6;
|
|
var id;
|
|
var value7;
|
|
if (env0_13.size === 0) {
|
|
return false;
|
|
}
|
|
if (env0_10) {
|
|
return false;
|
|
}
|
|
const value2 = _createForOfIteratorHelperLoose_85336(channels);
|
|
const value3 = value2();
|
|
let done = value3.done;
|
|
if (done) {
|
|
r0 = false;
|
|
} else {
|
|
r2 = false;
|
|
r3 = value3;
|
|
while (true) {
|
|
isChannelRelevantBinding = isChannelRelevant;
|
|
value6 = r3.value;
|
|
id = value6.id;
|
|
r2 = isChannelRelevantBinding(id) || r2;
|
|
value7 = value2();
|
|
done = value7.done;
|
|
if (done) {
|
|
r0 = r2;
|
|
break;
|
|
}
|
|
r3 = value7;
|
|
continue;
|
|
}
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function GUILD_MEMBER_UPDATE_85373({user}) { // fn#85373, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:5769, offset: 0x01f6ca83, size: 96 bytes, params: 2, frame: 15
|
|
var r1;
|
|
var r0;
|
|
var binding;
|
|
var id2;
|
|
var currentUser;
|
|
var value5;
|
|
const value2 = env0_13.size !== 0;
|
|
if (value2) {
|
|
binding = env0_10;
|
|
if (binding) {
|
|
r1 = !binding;
|
|
} else {
|
|
id2 = user.id;
|
|
currentUser = UserStore.getCurrentUser();
|
|
value5 = undefined;
|
|
r1 = id2 === (currentUser == null ? value5 : currentUser.id) && value5;
|
|
}
|
|
r0 = r1;
|
|
} else {
|
|
r0 = value2;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function MESSAGE_REMINDER_DUE_85374({savedMessage}) { // fn#85374, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:6019, offset: 0x01f6cae3, size: 41 bytes, params: 2, frame: 11
|
|
const binding = env0_12;
|
|
binding.add(savedMessage.saveData.messageId);
|
|
}
|
|
|
|
function value_85351() { // fn#85351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:2872, offset: 0x01f6c59d, size: 53 bytes, params: 1, frame: 13
|
|
const binding = env1_9;
|
|
const values = binding.values;
|
|
const SavedMessageSortTypes = (require(11175) /* metro dependency 11175: SavedMessagesTypes */).SavedMessageSortTypes;
|
|
const ALL = SavedMessageSortTypes.ALL;
|
|
return Reflect.apply(values, binding, [ALL]);
|
|
}
|
|
|
|
function value_85352(a0, a1) { // fn#85352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:2966, offset: 0x01f6c5d2, size: 46 bytes, params: 3, frame: 13
|
|
return env1_9.get(getSavedMessageKey({channelId: a0, messageId: a1}));
|
|
}
|
|
|
|
function value_85353() { // fn#85353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3075, offset: 0x01f6c600, size: 53 bytes, params: 1, frame: 13
|
|
const binding = env1_9;
|
|
const values = binding.values;
|
|
const SavedMessageSortTypes = (require(11175) /* metro dependency 11175: SavedMessagesTypes */).SavedMessageSortTypes;
|
|
const BOOKMARK = SavedMessageSortTypes.BOOKMARK;
|
|
return Reflect.apply(values, binding, [BOOKMARK]);
|
|
}
|
|
|
|
function value_85354() { // fn#85354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3178, offset: 0x01f6c635, size: 53 bytes, params: 1, frame: 13
|
|
const binding = env1_9;
|
|
const values = binding.values;
|
|
const SavedMessageSortTypes = (require(11175) /* metro dependency 11175: SavedMessagesTypes */).SavedMessageSortTypes;
|
|
const REMINDER = SavedMessageSortTypes.REMINDER;
|
|
return Reflect.apply(values, binding, [REMINDER]);
|
|
}
|
|
|
|
function value_85355() { // fn#85355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3292, offset: 0x01f6c66a, size: 14 bytes, params: 1, frame: 1
|
|
return env1_12.size;
|
|
}
|
|
|
|
function value_85356() { // fn#85356, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3351, offset: 0x01f6c678, size: 20 bytes, params: 1, frame: 2
|
|
return env1_12.size > 0;
|
|
}
|
|
|
|
function value_85357() { // fn#85357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3414, offset: 0x01f6c68c, size: 18 bytes, params: 1, frame: 9
|
|
return env1_9.size();
|
|
}
|
|
|
|
function value_85360(a0, a1) { // fn#85360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3572, offset: 0x01f6c69e, size: 71 bytes, params: 3, frame: 13
|
|
let value = environment.__proto__;
|
|
value = env1_9.get(getSavedMessageKey({channelId: a0, messageId: a1}));
|
|
return value != null && value.saveData.dueAt == null;
|
|
}
|
|
|
|
function value_85361(a0, a1) { // fn#85361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11360:3717, offset: 0x01f6c6e5, size: 71 bytes, params: 3, frame: 13
|
|
let value = environment.__proto__;
|
|
value = env1_9.get(getSavedMessageKey({channelId: a0, messageId: a1}));
|
|
return value != null && value.saveData.dueAt != null;
|
|
}
|
|
|