'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var React = require('react');
var ChannelList_context = require('../../chunks/bundle-BOkAcvZ5.js');
var AddGroupChannelView = require('../../chunks/bundle-COgdMKX_.js');
require('../../chunks/bundle-5ru_FO5x.js');
require('@sendbird/chat/groupChannel');
require('../../chunks/bundle-BedaAirg.js');
require('../../chunks/bundle-slS7A2f9.js');
require('../../chunks/bundle-Cd8aIDXf.js');
require('../../chunks/bundle-MDcnM2N1.js');
require('../../chunks/bundle-Cgk-lpZZ.js');
require('../../useSendbirdStateContext.js');
require('../../withSendbird.js');
require('../../chunks/bundle-BFtlkbFV.js');
require('../../chunks/bundle-Ce6jCnmC.js');
require('../../utils/message/getOutgoingMessageState.js');
require('../../chunks/bundle-Ca2tfuK5.js');
require('../../ui/IconButton.js');
require('../../ui/Icon.js');
require('../../CreateChannel.js');
require('../../CreateChannel/components/CreateChannelUI.js');
require('../../chunks/bundle-CH-hKDFq.js');
require('../../sendbirdSelectors.js');
require('../../CreateChannel/components/InviteUsers.js');
require('../../chunks/bundle-BLV9zZk1.js');
require('../../chunks/bundle-Ck_8lQa-.js');
require('../../chunks/bundle-V-_XUHW5.js');
require('../../chunks/bundle-DqTUSoNi.js');
require('../../chunks/bundle-CHERnV8x.js');
require('react-dom');
require('../../ui/Button.js');
require('../../chunks/bundle-DCPc6-Im.js');
require('../../ui/UserListItem.js');
require('../../chunks/bundle-BFWd_LLn.js');
require('../../ui/ImageRenderer.js');
require('../../chunks/bundle-Bvh9LUfE.js');
require('../../ui/MutedAvatarOverlay.js');
require('../../ui/Checkbox.js');
require('../../ui/UserProfile.js');
require('../../ui/ContextMenu.js');
require('@sendbird/chat');
require('@sendbird/chat/openChannel');
require('../../ui/SortByRow.js');
require('../../CreateChannel/components/SelectChannelType.js');

var AddChannel = function () {
    var _a = React.useState(false), showModal = _a[0], setShowModal = _a[1];
    var _b = ChannelList_context.useChannelListContext(), overrideInviteUser = _b.overrideInviteUser, onBeforeCreateChannel = _b.onBeforeCreateChannel, onChannelSelect = _b.onChannelSelect;
    return (React.createElement(AddGroupChannelView.AddGroupChannelView, { createChannelVisible: showModal, onChangeCreateChannelVisible: setShowModal, onCreateChannelClick: overrideInviteUser, onBeforeCreateChannel: onBeforeCreateChannel, onChannelCreated: onChannelSelect }));
};

exports.AddChannel = AddChannel;
exports.default = AddChannel;
//# sourceMappingURL=AddChannel.js.map
