'use strict';

var React = require('react');
var ChannelList_context = require('./ChannelListProvider-31051c98.js');
var ChannelList_components_ChannelListUI = require('./ChannelList/components/ChannelListUI.js');
require('./_rollupPluginBabelHelpers-00480ba8.js');
require('@sendbird/chat/groupChannel');
require('./topics-623a82c5.js');
require('./uuid-43555bb8.js');
require('./utils-89c82b6d.js');
require('./UserProfileContext-268ad0d1.js');
require('prop-types');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./index-609a0bf5.js');
require('./utils/message/getOutgoingMessageState.js');
require('./ChannelList/components/ChannelListHeader.js');
require('./LocalizationContext-bc6af64a.js');
require('./stringSet-812981b5.js');
require('./index-c08c7ef8.js');
require('./index-902525e0.js');
require('./ui/Avatar.js');
require('./ui/ImageRenderer.js');
require('./ui/Icon.js');
require('./ChannelList/components/AddChannel.js');
require('./ui/IconButton.js');
require('./CreateChannel.js');
require('./CreateChannel/components/CreateChannelUI.js');
require('./CreateChannelProvider-b5c526fc.js');
require('./sendbirdSelectors.js');
require('./CreateChannel/components/InviteUsers.js');
require('./ui/Modal.js');
require('react-dom');
require('./index-09573a50.js');
require('./ui/Button.js');
require('./MediaQueryContext-8be571f9.js');
require('./ui/UserListItem.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');
require('./ChannelList/components/ChannelPreview.js');
require('./ui/ChannelAvatar.js');
require('./utils-631cf823.js');
require('./ui/Badge.js');
require('./index-9638a3d3.js');
require('./index-a9099968.js');
require('./ui/Loader.js');
require('./index-89c089bb.js');
require('./index-c46b64e3.js');
require('./ui/MentionUserLabel.js');
require('./consts-c63fe2cd.js');
require('./ui/TextButton.js');
require('./color-41ee42a1.js');
require('./Channel/components/TypingIndicator.js');
require('./ChannelProvider-e2f422cf.js');
require('./const-f1c7b0cf.js');
require('./compareIds-a65972c5.js');
require('@sendbird/chat/message');
require('./consts-d0461d4c.js');
require('./resolvedReplyType-ab4bb8af.js');
require('./useLongPress-d5e59a98.js');
require('./ChannelList/components/ChannelPreviewAction.js');
require('./EditUserProfile.js');
require('./index-25fa5405.js');
require('./ui/Input.js');
require('./actionTypes-eb21276b.js');
require('./index-fd722a1e.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

const ChannelList = props => {
  return /*#__PURE__*/React__default["default"].createElement(ChannelList_context.ChannelListProvider, {
    className: props === null || props === void 0 ? void 0 : props.className,
    disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile,
    allowProfileEdit: props === null || props === void 0 ? void 0 : props.allowProfileEdit,
    onBeforeCreateChannel: props === null || props === void 0 ? void 0 : props.onBeforeCreateChannel,
    onThemeChange: props === null || props === void 0 ? void 0 : props.onThemeChange,
    overrideInviteUser: props === null || props === void 0 ? void 0 : props.overrideInviteUser,
    onProfileEditSuccess: props === null || props === void 0 ? void 0 : props.onProfileEditSuccess,
    onChannelSelect: props === null || props === void 0 ? void 0 : props.onChannelSelect,
    sortChannelList: props === null || props === void 0 ? void 0 : props.sortChannelList,
    queries: props === null || props === void 0 ? void 0 : props.queries,
    disableAutoSelect: props === null || props === void 0 ? void 0 : props.disableAutoSelect,
    activeChannelUrl: props === null || props === void 0 ? void 0 : props.activeChannelUrl,
    isTypingIndicatorEnabled: props === null || props === void 0 ? void 0 : props.isTypingIndicatorEnabled,
    isMessageReceiptStatusEnabled: props === null || props === void 0 ? void 0 : props.isMessageReceiptStatusEnabled
  }, /*#__PURE__*/React__default["default"].createElement(ChannelList_components_ChannelListUI, {
    renderChannelPreview: props === null || props === void 0 ? void 0 : props.renderChannelPreview,
    renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile,
    renderHeader: props === null || props === void 0 ? void 0 : props.renderHeader,
    renderPlaceHolderEmptyList: props === null || props === void 0 ? void 0 : props.renderPlaceHolderEmptyList,
    renderPlaceHolderError: props === null || props === void 0 ? void 0 : props.renderPlaceHolderError,
    renderPlaceHolderLoading: props === null || props === void 0 ? void 0 : props.renderPlaceHolderLoading
  }));
};

module.exports = ChannelList;
//# sourceMappingURL=ChannelList.js.map
