// Module ID: 13022 // Function ID: 13023 // Name: CreateGuildActionCreators // Dependencies: [4748, 1085, 8683, 2] // Exports: showInstantInviteModal // Module 13022 (CreateGuildActionCreators) import Constants from "Constants" /* 1085 */; import GuildChannelStore from "GuildChannelStore" /* 4748 */; import size from "module_2" /* 2 */; const InstantInviteSources = Constants.InstantInviteSources; let result = size.fileFinishedImporting("actions/native/CreateGuildActionCreators.tsx"); export const showInstantInviteModal = function showInstantInviteModal(arg0) { let closure_0 = arg0; let result = GuildChannelStore.addConditionalChangeListener(() => { const defaultChannel = GuildChannelStore.getDefaultChannel(closure_0); let flag = null == defaultChannel; if (!flag) { const _setImmediate = setImmediate; setImmediate(() => { const obj = closure_2_0(closure_2_1[2]); const obj2 = { source: constants.GUILD_CREATE }; const result = obj.showInstantInviteActionSheet(defaultChannel, obj2); }); flag = false; } return flag; }); };