// Module ID: 12463 // Function ID: 12464 // Name: CreateGuildActionCreators // Dependencies: [4707, 1085, 8667, 2] // Exports: showInstantInviteModal // Module 12463 (CreateGuildActionCreators) import Constants from "Constants" /* 1085 */; import GuildChannelStore from "GuildChannelStore" /* 4707 */; 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; }); };