import React__default from 'react';
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
import { O as OpenChannelProvider } from './OpenChannelProvider-770c207c.js';
import './OpenChannel/components/OpenChannelInput.js';
import './LocalizationContext-bcaf447a.js';
import './stringSet-7f300d56.js';
import './index-26c66412.js';
import './ui/MessageInput.js';
import './_rollupPluginBabelHelpers-52628376.js';
import 'prop-types';
import './const-c64639fc.js';
import './const-4bc8cbc7.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './index-208f60f9.js';
import 'dompurify';
import './consts-acdc6c08.js';
import './ui/Icon.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './index-46da725e.js';
import './utils/message/getOutgoingMessageState.js';
import './consts-c99872c0.js';
import './consts-cf7328d6.js';
import './tokenize-aa91b5a4.js';
import './index.module-6fe8c3f8.js';
import './OpenChannel/components/FrozenChannelNotification.js';
import './OpenChannel/components/OpenChannelHeader.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './uuid-9e3aeec6.js';
import './MediaQueryContext-0d6b7936.js';
import './index-b26a2bcd.js';
import './ui/Loader.js';
import './OpenChannel/components/OpenChannelMessageList.js';
import './index-1c8252a9.js';
import './index-0e63045e.js';
import './OpenChannel/components/OpenChannelMessage.js';
import './ui/OpenchannelUserMessage.js';
import './ui/ContextMenu.js';
import 'react-dom';
import './ui/SortByRow.js';
import './ui/UserProfile.js';
import './UserProfileContext-96f68187.js';
import './sendbirdSelectors.js';
import './topics-50ed8c29.js';
import './utils-4ce9435a.js';
import './utils-8e981411.js';
import './index-c4826ede.js';
import './useLongPress-8b46567a.js';
import './ui/OpenChannelAdminMessage.js';
import './ui/OpenchannelOGMessage.js';
import './ui/LinkLabel.js';
import './index-78f0d986.js';
import './Message/context.js';
import './ui/MentionLabel.js';
import './ui/OpenchannelThumbnailMessage.js';
import './ui/OpenchannelFileMessage.js';
import './ui/TextButton.js';
import './color-5dee2e2d.js';
import './ui/DateSeparator.js';
import './ui/FileViewer.js';
import './index-5ca598bf.js';
import './ui/Modal.js';
import './index-93228741.js';
import './consts-37c3d0a0.js';
import './compareIds-c483b4db.js';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';

const OpenChannel = props => {
  return /*#__PURE__*/React__default.createElement(OpenChannelProvider, {
    channelUrl: props === null || props === void 0 ? void 0 : props.channelUrl,
    isMessageGroupingEnabled: props === null || props === void 0 ? void 0 : props.isMessageGroupingEnabled,
    queries: props === null || props === void 0 ? void 0 : props.queries,
    messageLimit: props === null || props === void 0 ? void 0 : props.messageLimit,
    onBeforeSendUserMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendUserMessage,
    onBeforeSendFileMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendFileMessage,
    onChatHeaderActionClick: props === null || props === void 0 ? void 0 : props.onChatHeaderActionClick,
    disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile,
    renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile,
    onBackClick: props === null || props === void 0 ? void 0 : props.onBackClick
  }, /*#__PURE__*/React__default.createElement(OpenChannelUI, {
    renderMessage: props === null || props === void 0 ? void 0 : props.renderMessage,
    renderHeader: props === null || props === void 0 ? void 0 : props.renderHeader,
    renderInput: props === null || props === void 0 ? void 0 : props.renderInput,
    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
  }));
};

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