'use strict';

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

var React = require('react');
var ChannelList_context = require('../../chunks/bundle-4jhVxof3.js');
var AddGroupChannelView = require('../../chunks/bundle-0SKvTM5F.js');
require('../../chunks/bundle-9l41IWgC.js');
require('@sendbird/chat/groupChannel');
require('../../chunks/bundle-1BET8ZYY.js');
require('../../chunks/bundle-5zZ25-q8.js');
require('../../chunks/bundle-BdWL3kB4.js');
require('../../chunks/bundle-qD5w2tyR.js');
require('../../chunks/bundle-bOij3dXU.js');
require('../../useSendbirdStateContext.js');
require('../../withSendbird.js');
require('../../chunks/bundle-SWOq3kxG.js');
require('../../chunks/bundle-Gw-7KmmG.js');
require('../../utils/message/getOutgoingMessageState.js');
require('../../chunks/bundle-unTPt0Np.js');
require('../../ui/IconButton.js');
require('../../ui/Icon.js');
require('../../CreateChannel.js');
require('../../CreateChannel/components/CreateChannelUI.js');
require('../../chunks/bundle-nTv4XhjL.js');
require('../../sendbirdSelectors.js');
require('../../CreateChannel/components/InviteUsers.js');
require('../../chunks/bundle-2dTv415Y.js');
require('../../chunks/bundle-xtUT3duD.js');
require('../../chunks/bundle-qYN98FNj.js');
require('../../chunks/bundle-UOOPIGjG.js');
require('../../chunks/bundle-Myh0hGtf.js');
require('react-dom');
require('../../ui/Button.js');
require('../../chunks/bundle-5i9-ntZ5.js');
require('../../ui/UserListItem.js');
require('../../chunks/bundle-Sxjv83JD.js');
require('../../ui/ImageRenderer.js');
require('../../chunks/bundle-xbuS1NJI.js');
require('../../ui/MutedAvatarOverlay.js');
require('../../ui/Checkbox.js');
require('../../ui/UserProfile.js');
require('../../ui/ContextMenu.js');
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
