import React__default from 'react';
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
import { O as OpenChannelProvider } from './OpenChannelProvider-b9104634.js';
import './OpenChannel/components/OpenChannelInput.js';
import './LocalizationContext-a82461b5.js';
import './stringSet-b60e9529.js';
import './index-6add7940.js';
import './ui/MessageInput.js';
import './_rollupPluginBabelHelpers-05128ded.js';
import 'prop-types';
import './const-3a34a127.js';
import './const-72f012b6.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './index-6420013c.js';
import 'dompurify';
import './consts-b4cb83cf.js';
import './ui/Icon.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './index-579ca9d7.js';
import './utils/message/getOutgoingMessageState.js';
import './consts-7693b8d3.js';
import './consts-9469111b.js';
import './tokenize-c718324d.js';
import './index.module-4f1cd64e.js';
import './OpenChannel/components/FrozenChannelNotification.js';
import './OpenChannel/components/OpenChannelHeader.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './uuid-717930b4.js';
import './MediaQueryContext-d6110905.js';
import './index-2cfab646.js';
import './ui/Loader.js';
import './OpenChannel/components/OpenChannelMessageList.js';
import './index-ad50e2c0.js';
import './index-ccef08fe.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-f3f446d2.js';
import './sendbirdSelectors.js';
import './topics-eb548880.js';
import './utils-e0c7329c.js';
import './utils-f610bf03.js';
import './index-629b2439.js';
import './useLongPress-12280c78.js';
import './ui/OpenChannelAdminMessage.js';
import './ui/OpenchannelOGMessage.js';
import './ui/LinkLabel.js';
import './index-a2bb2783.js';
import './Message/context.js';
import './ui/MentionLabel.js';
import './ui/OpenchannelThumbnailMessage.js';
import './ui/OpenchannelFileMessage.js';
import './ui/TextButton.js';
import './color-91e43dce.js';
import './ui/DateSeparator.js';
import './ui/FileViewer.js';
import './index-a9101009.js';
import './ui/Modal.js';
import './index-dd5a8777.js';
import './consts-fa6ab3c0.js';
import './compareIds-2e50e905.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
