import React__default from 'react';
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
import { O as OpenChannelProvider } from './OpenChannelProvider-995a7397.js';
import './OpenChannel/components/OpenChannelInput.js';
import './LocalizationContext-1701e5c8.js';
import './stringSet-e9bb0333.js';
import './index-ff8f2f61.js';
import './ui/MessageInput.js';
import './_rollupPluginBabelHelpers-cc035350.js';
import 'prop-types';
import './const-2e67461b.js';
import './const-7c266a95.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './index-f50d7ab0.js';
import 'dompurify';
import './consts-a0834b70.js';
import './ui/Icon.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './index-99ab01f6.js';
import './utils/message/getOutgoingMessageState.js';
import './consts-3a33a0a8.js';
import './consts-b3274b3d.js';
import './tokenize-d12690c3.js';
import './index.module-d24badee.js';
import './OpenChannel/components/FrozenChannelNotification.js';
import './OpenChannel/components/OpenChannelHeader.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './uuid-8b344dd2.js';
import './MediaQueryContext-e5b401d0.js';
import './index-11fe17e1.js';
import './ui/Loader.js';
import './OpenChannel/components/OpenChannelMessageList.js';
import './index-3f8e1a51.js';
import './index-5a62f6b7.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-74e9a128.js';
import './sendbirdSelectors.js';
import './topics-0b30f52b.js';
import './utils-05aa9060.js';
import './utils-a59107a2.js';
import './index-e30c58e0.js';
import './useLongPress-6d0b6619.js';
import './ui/OpenChannelAdminMessage.js';
import './ui/OpenchannelOGMessage.js';
import './ui/LinkLabel.js';
import './index-a31ee68d.js';
import './Message/context.js';
import './ui/MentionLabel.js';
import './ui/OpenchannelThumbnailMessage.js';
import './ui/OpenchannelFileMessage.js';
import './ui/TextButton.js';
import './color-ea3bf5b8.js';
import './ui/DateSeparator.js';
import './ui/FileViewer.js';
import './index-44c86e58.js';
import './ui/Modal.js';
import './index-3461216d.js';
import './consts-44eaef6b.js';
import './compareIds-367bb030.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
