Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,104 @@
|
||||
/* Metro module 14420; source: modules/blocking/BlockedUserUtils.tsx; dependencies: [3793, 1360, 22, 2] */
|
||||
function _fun109144(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#109144, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:6, offset: 0x0233f8d2, size: 191 bytes, params: 8, frame: 20
|
||||
let env0_0 = require;
|
||||
const closure = function(a0) {
|
||||
return RelationshipStore.isBlockedOrIgnored(a0.userId);
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const relationshipStore = importDefault(3793) /* metro dependency 3793: RelationshipStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/blocking/BlockedUserUtils.tsx');
|
||||
exports.filterOutBlockedOrIgnoredUsers = function(a0, a1) {
|
||||
var env0_0 = a1;
|
||||
return a0.filter(_fun109147).filter(_fun109148);
|
||||
};
|
||||
exports.filterOutBlockedOrIgnoredUserIds = function(a0, a1) {
|
||||
var env0_0 = a1;
|
||||
return a0.filter(_fun109150);
|
||||
};
|
||||
exports.filterOutStreamsByBlockedOwner = function(a0) {
|
||||
return a0.filter(_fun109152);
|
||||
};
|
||||
exports.hasBlockedOrIgnoredUserIds = function(a0, a1) {
|
||||
var env0_0 = a1;
|
||||
return a0.some(_fun109154);
|
||||
};
|
||||
exports.voiceStateHasBlockedUsers = closure;
|
||||
exports.filterBlockedUsersFromVoiceStates = filterBlockedUsersFromVoiceStates;
|
||||
}
|
||||
|
||||
function filterOutBlockedOrIgnoredUsers(a0, a1) { // fn#109146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:286, offset: 0x0233f9ad, size: 48 bytes, params: 3, frame: 12
|
||||
const env0_0 = a1;
|
||||
return a0.filter(_fun109147).filter(_fun109148);
|
||||
}
|
||||
|
||||
function filterOutBlockedOrIgnoredUserIds(a0, a1) { // fn#109149, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:481, offset: 0x0233fa47, size: 31 bytes, params: 3, frame: 11
|
||||
const env0_0 = a1;
|
||||
return a0.filter(_fun109150);
|
||||
}
|
||||
|
||||
function filterOutStreamsByBlockedOwner(a0) { // fn#109151, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:633, offset: 0x0233fa9d, size: 24 bytes, params: 2, frame: 11
|
||||
return a0.filter(function(a0) {
|
||||
return !RelationshipStore.isBlockedOrIgnored(a0.ownerId);
|
||||
});
|
||||
}
|
||||
|
||||
function hasBlockedOrIgnoredUserIds(a0, a1) { // fn#109153, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:761, offset: 0x0233fad5, size: 32 bytes, params: 3, frame: 11
|
||||
const env0_0 = a1;
|
||||
return a0.some(_fun109154);
|
||||
}
|
||||
|
||||
function filterBlockedUsersFromVoiceStates(a0) { // fn#109155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:959, offset: 0x0233fb29, size: 78 bytes, params: 2, frame: 11
|
||||
let value = importDefault(22) /* metro dependency 22 */;
|
||||
value = value(a0);
|
||||
value = value.filter(function(a0) {
|
||||
return !voiceStateHasBlockedUsers(a0);
|
||||
});
|
||||
value = value.keyBy('userId');
|
||||
return value.value();
|
||||
}
|
||||
|
||||
function _fun109147(a0) { // fn#109147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:348, offset: 0x0233f9dd, size: 41 bytes, params: 2, frame: 11
|
||||
const value = environment.__proto__;
|
||||
return (require(1360) /* metro dependency 1360: GlobalUtils */).isNotNullish(a0);
|
||||
}
|
||||
|
||||
function _fun109148(a0) { // fn#109148, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:385, offset: 0x0233fa06, size: 65 bytes, params: 2, frame: 13
|
||||
var r0;
|
||||
var value;
|
||||
if (require != null) {
|
||||
r0 = require.includes(a0.id);
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = RelationshipStore.isBlockedOrIgnored(a0.id);
|
||||
r0 = value;
|
||||
}
|
||||
return !r0;
|
||||
}
|
||||
|
||||
function _fun109150(a0) { // fn#109150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:545, offset: 0x0233fa66, size: 55 bytes, params: 2, frame: 12
|
||||
var r0;
|
||||
var value;
|
||||
if (require != null) {
|
||||
r0 = require.includes(a0);
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = RelationshipStore.isBlockedOrIgnored(a0);
|
||||
r0 = value;
|
||||
}
|
||||
return !r0;
|
||||
}
|
||||
|
||||
function _fun109154(a0) { // fn#109154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14617:817, offset: 0x0233faf5, size: 52 bytes, params: 2, frame: 12
|
||||
var r0;
|
||||
var value;
|
||||
if (require != null) {
|
||||
r0 = require.includes(a0);
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = RelationshipStore.isBlockedOrIgnored(a0);
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
/* Metro module 8831; source: modules/blocking/useDiscoverableApplicationStream.tsx; dependencies: [4492, 3793, 661, 566, 2] */
|
||||
function _fun68984(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68984, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9016:6, offset: 0x01c63ca2, size: 171 bytes, params: 8, frame: 20
|
||||
let env0_0 = require;
|
||||
const closure = getDiscoverableApplicationStream;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const applicationStreamingStore = importDefault(4492) /* metro dependency 4492: ApplicationStreamingStore */;
|
||||
const relationshipStore = importDefault(3793) /* metro dependency 3793: RelationshipStore */;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).RelationshipTypes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/blocking/useDiscoverableApplicationStream.tsx');
|
||||
exports.default = function(a0) {
|
||||
var env0_0 = a0;
|
||||
return require(dependencyMap[3]).useStateFromStores([ApplicationStreamingStore, RelationshipStore], _fun68987,
|
||||
[a0]);
|
||||
};
|
||||
exports.getDiscoverableApplicationStream = closure;
|
||||
}
|
||||
|
||||
function getDiscoverableApplicationStream(a0) { // fn#68985, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9016:144, offset: 0x01c63d4d, size: 186 bytes, params: 2, frame: 16
|
||||
var r1;
|
||||
var r0;
|
||||
var r3;
|
||||
var item3;
|
||||
let value = a1;
|
||||
const value2 = undefined;
|
||||
const iterator = (value !== value2 ? value : [ApplicationStreamingStore, RelationshipStore])[Symbol.iterator]();
|
||||
const iterator2 = iterator.next;
|
||||
let item2 = Reflect.apply(iterator2, iterator, []);
|
||||
let item = item2.value;
|
||||
item2 = item2.done ? undefined : iterator;
|
||||
const r4 = item2 === value2 ? value2 : item;
|
||||
if (value) {
|
||||
r0 = item2;
|
||||
r1 = value2;
|
||||
r3 = value;
|
||||
} else {
|
||||
item3 = Reflect.apply(iterator2, item2, []);
|
||||
item = item3.value;
|
||||
item3 = item3.done ? undefined : item2;
|
||||
value = item3 === value2;
|
||||
if (value) {
|
||||
r0 = item3;
|
||||
r1 = value2;
|
||||
r3 = value;
|
||||
} else {
|
||||
r0 = item3;
|
||||
r1 = item;
|
||||
r3 = value;
|
||||
}
|
||||
}
|
||||
if (!r3) {
|
||||
r0.return();
|
||||
}
|
||||
value = null;
|
||||
const r5 = value != a0 ? r1.getRelationshipType(a0) : RelationshipTypes.NONE;
|
||||
r1 = value != a0 ? r4.getAnyDiscoverableStreamForUser(a0) : value;
|
||||
const BLOCKED = RelationshipTypes.BLOCKED;
|
||||
return r5 === BLOCKED || value == a0 ? value : r1;
|
||||
}
|
||||
|
||||
function useDiscoverableApplicationStream(a0) { // fn#68986, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9016:433, offset: 0x01c63e07, size: 83 bytes, params: 2, frame: 17
|
||||
const env0_0 = a0;
|
||||
return (require(566) /* metro dependency 566: flux */).useStateFromStores([ApplicationStreamingStore,
|
||||
RelationshipStore], _fun68987, [a0]);
|
||||
}
|
||||
|
||||
function _fun68987() { // fn#68987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9016:519, offset: 0x01c63e5a, size: 44 bytes, params: 1, frame: 14
|
||||
return getDiscoverableApplicationStream(env0_0, [ApplicationStreamingStore, RelationshipStore]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user