import React__default from 'react';
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
import { O as OpenChannelProvider } from './OpenChannelProvider-1efcabea.js';
import './OpenChannel/components/OpenChannelInput.js';
import './LocalizationContext-426f3d58.js';
import './stringSet-a62108b2.js';
import './index-90420b99.js';
import './ui/MessageInput.js';
import './_rollupPluginBabelHelpers-a69fd1ce.js';
import 'prop-types';
import './const-ddd9d461.js';
import './const-9982664a.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './index-4105bc4d.js';
import 'dompurify';
import './consts-15e764c0.js';
import './ui/Icon.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './index-f83f0aac.js';
import './utils/message/getOutgoingMessageState.js';
import './consts-f99cd0da.js';
import './consts-2eeaa3de.js';
import './tokenize-eec42500.js';
import './index.module-8bb7760e.js';
import './OpenChannel/components/FrozenChannelNotification.js';
import './OpenChannel/components/OpenChannelHeader.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './uuid-2e8efc75.js';
import './MediaQueryContext-b531adc9.js';
import './index-8b2036e8.js';
import './ui/Loader.js';
import './OpenChannel/components/OpenChannelMessageList.js';
import './index-e40d8b24.js';
import './index-e7f4cbdf.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-a59f0533.js';
import './sendbirdSelectors.js';
import './topics-247fcf3a.js';
import './utils-4bf6e4e6.js';
import './utils-8e1b51bf.js';
import './index-2528bdee.js';
import './useLongPress-c0ba590c.js';
import './ui/OpenChannelAdminMessage.js';
import './ui/OpenchannelOGMessage.js';
import './ui/LinkLabel.js';
import './index-89c84c27.js';
import './Message/context.js';
import './ui/MentionLabel.js';
import './ui/OpenchannelThumbnailMessage.js';
import './ui/OpenchannelFileMessage.js';
import './ui/TextButton.js';
import './color-e708f53d.js';
import './ui/DateSeparator.js';
import './ui/FileViewer.js';
import './index-3e548496.js';
import './ui/Modal.js';
import './index-80b9e974.js';
import './consts-e64103c6.js';
import './compareIds-aca19765.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
