43 lines
2.3 KiB
TypeScript
43 lines
2.3 KiB
TypeScript
/* Metro module 12041; source: actions/native/CreateGuildActionCreators.tsx; dependencies: [1935, 661, 9151, 2] */
|
|
function _fun92529(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#92529, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12227:6, offset: 0x0208e240, size: 136 bytes, params: 8, frame: 18
|
|
let env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const guildChannelStore = importDefault(1935) /* metro dependency 1935: GuildChannelStore */;
|
|
const env0_3 = (require(661) /* metro dependency 661: Constants */).InstantInviteSources;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/native/CreateGuildActionCreators.tsx');
|
|
exports.showInstantInviteModal = function(a0) {
|
|
var env0_0 = a0;
|
|
GuildChannelStore.addConditionalChangeListener(_fun92531);
|
|
};
|
|
}
|
|
|
|
function showInstantInviteModal(a0) { // fn#92530, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12227:240, offset: 0x0208e2c8, size: 38 bytes, params: 2, frame: 11
|
|
const env0_0 = a0;
|
|
GuildChannelStore.addConditionalChangeListener(_fun92531);
|
|
}
|
|
|
|
function _fun92531() { // fn#92531, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12227:307, offset: 0x0208e2ee, size: 66 bytes, params: 1, frame: 12
|
|
var environment;
|
|
var r0;
|
|
let value = environment.__proto__;
|
|
value = GuildChannelStore.getDefaultChannel(env0_0);
|
|
value = value == null;
|
|
if (value) {
|
|
r0 = value;
|
|
} else {
|
|
global.setImmediate(_fun92532);
|
|
r0 = false;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function _fun92532() { // fn#92532, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12227:372, offset: 0x0208e330, size: 62 bytes, params: 1, frame: 15
|
|
const instantInviteUtilsModule = require(9151) /* metro dependency 9151: InstantInviteUtils */;
|
|
const showInstantInviteActionSheet = instantInviteUtilsModule.showInstantInviteActionSheet;
|
|
const binding = env0_0;
|
|
const GUILD_CREATE = InstantInviteSources.GUILD_CREATE;
|
|
Reflect.apply(showInstantInviteActionSheet, instantInviteUtilsModule, [binding, {source: GUILD_CREATE}]);
|
|
}
|
|
|