Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,58 @@
|
||||
/* Metro module 8767; source: modules/user_profile/useBotProfileCommands.tsx; dependencies: [31, 8060, 1909, 2] */
|
||||
function _fun68589(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68589, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8952:6, offset: 0x01c553a1, size: 118 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/useBotProfileCommands.tsx');
|
||||
exports.default = useBotProfileCommands;
|
||||
}
|
||||
|
||||
function useBotProfileCommands(a0, a1, a2) { // fn#68590, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8952:196, offset: 0x01c55417, size: 107 bytes, params: 4, frame: 17
|
||||
const value2 = (importAll(8060) /* metro dependency 8060: ApplicationCommandQueryApi */).useAccessibleCommandsForApplication(a0,
|
||||
a1, a2);
|
||||
const commands = value2.commands;
|
||||
const binding = env0_3;
|
||||
const useMemo = binding.useMemo;
|
||||
return {application: value2.application, commands: Reflect.apply(useMemo, binding, [_fun68591, [commands]])};
|
||||
}
|
||||
|
||||
function _fun68591() { // fn#68591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8952:357, offset: 0x01c55482, size: 43 bytes, params: 1, frame: 12
|
||||
return commands?.filter(function(a0) {
|
||||
var r0;
|
||||
var options;
|
||||
var value = a0.nsfw !== true;
|
||||
if (value) {
|
||||
options = a0.options;
|
||||
value = undefined;
|
||||
value = (options == null ? value : options.find(_fun68593)) == null;
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
});
|
||||
}
|
||||
|
||||
function _fun68592(a0) { // fn#68592, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8952:386, offset: 0x01c554ad, size: 60 bytes, params: 2, frame: 14
|
||||
var r0;
|
||||
var options;
|
||||
let value = a0.nsfw !== true;
|
||||
if (value) {
|
||||
options = a0.options;
|
||||
value = undefined;
|
||||
value = (options == null ? value : options.find(_fun68593)) == null;
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun68593({type}) { // fn#68593, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8952:457, offset: 0x01c554e9, size: 87 bytes, params: 2, frame: 14
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
const ApplicationCommandOptionType = (require(1909) /* metro dependency 1909: Server */).ApplicationCommandOptionType;
|
||||
const SUB_COMMAND = ApplicationCommandOptionType.SUB_COMMAND;
|
||||
return type === SUB_COMMAND || type === ApplicationCommandOptionType.SUB_COMMAND_GROUP;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user