import React__default, { useState } from 'react';
import { u as useChannelListContext } from '../../chunks/bundle-BmTGlIgs.js';
import { A as AddGroupChannelView } from '../../chunks/bundle-DQFIz2Zf.js';
import '../../chunks/bundle-7oF7KbGv.js';
import '@sendbird/chat/groupChannel';
import '../../chunks/bundle-BWuyd0AD.js';
import '../../chunks/bundle-BJ46V6XQ.js';
import '../../chunks/bundle-ByvmbZD0.js';
import '../../chunks/bundle-CD9AzC6s.js';
import '../../chunks/bundle-B7barEsR.js';
import '../../useSendbirdStateContext.js';
import '../../withSendbird.js';
import '../../chunks/bundle-BWCGFXhj.js';
import '../../utils/message/getOutgoingMessageState.js';
import '../../chunks/bundle-dC3DwujZ.js';
import '../../ui/IconButton.js';
import '../../ui/Icon.js';
import '../../CreateChannel.js';
import '../../CreateChannel/components/CreateChannelUI.js';
import '../../chunks/bundle-B8gKMDtp.js';
import '../../sendbirdSelectors.js';
import '../../CreateChannel/components/InviteUsers.js';
import '../../chunks/bundle-Bx5vhTbU.js';
import '../../chunks/bundle-C8im5l9B.js';
import '../../chunks/bundle-C1ds4cil.js';
import '../../chunks/bundle-Diqj6For.js';
import '../../chunks/bundle-C4Z-NWqF.js';
import 'react-dom';
import '../../ui/Button.js';
import '../../chunks/bundle-LYAWKk4n.js';
import '@sendbird/uikit-tools';
import 'css-vars-ponyfill';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';
import '../../chunks/bundle-CIwVkd-E.js';
import '../../chunks/bundle-BbWD2VuS.js';
import '../../ui/UserListItem.js';
import '../../chunks/bundle-CNJMLyGJ.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-CT8ZXUi2.js';
import '../../ui/MutedAvatarOverlay.js';
import '../../ui/Checkbox.js';
import '../../ui/UserProfile.js';
import '../../ui/ContextMenu.js';
import '../../ui/SortByRow.js';
import '../../CreateChannel/components/SelectChannelType.js';

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

export { AddChannel, AddChannel as default };
//# sourceMappingURL=AddChannel.js.map
