import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-8d535c1b.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-c55389dc.js';
import './index-5b34a381.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-d2264917.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-dfc61977.js';
import './tslib.es6-645dedf8.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-c4837013.js';
import '@sendbird/chat/groupChannel';
import './uuid-e15650df.js';
import '@sendbird/chat/message';
import './consts-37ea645a.js';
import './LocalizationContext-187f787e.js';
import './stringSet-fd70cba0.js';
import './utils-88f76aba.js';
import './index-46d8dde5.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-5a70495b.js';
import './ui/Modal.js';
import 'react-dom';
import './index-f338f866.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-add671c4.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-102fbe62.js';
import './ui/Word.js';
import './ui/LinkLabel.js';
import './ui/MentionLabel.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './utils-780c1e12.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-b379fbc5.js';
import './ui/EmojiReactions.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-c29a819f.js';
import './VoiceRecorder/context.js';
import './lame.all.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './Channel/components/SuggestedMentionList.js';
import './ChannelProvider-e2c86cba.js';
import './compareIds-86584ff3.js';
import './const-26fafb08.js';
import './const-693a408f.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-87c77099.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-b2395440.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-7b740ffc.js';
import './index-7afa5c8d.js';
import './index-30236e16.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './ui/UnknownMessageItemBody.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './VoiceMessageInputWrapper-2434abc5.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-30721345.js';
import './index-e3412d57.js';

var Thread = function (props) {
  var // props
  className = props.className,
      // ThreadProviderProps
  channelUrl = props.channelUrl,
      message = props.message,
      onHeaderActionClick = props.onHeaderActionClick,
      onMoveToParentMessage = props.onMoveToParentMessage,
      // ThreadUIProps
  renderHeader = props.renderHeader,
      renderParentMessageInfo = props.renderParentMessageInfo,
      renderMessage = props.renderMessage,
      renderMessageInput = props.renderMessageInput,
      renderCustomSeparator = props.renderCustomSeparator,
      renderParentMessageInfoPlaceholder = props.renderParentMessageInfoPlaceholder,
      renderThreadListPlaceHolder = props.renderThreadListPlaceHolder,
      renderFileUploadIcon = props.renderFileUploadIcon,
      renderVoiceMessageIcon = props.renderVoiceMessageIcon,
      renderSendMessageIcon = props.renderSendMessageIcon;
  return /*#__PURE__*/React__default.createElement("div", {
    className: "sendbird-thread ".concat(className)
  }, /*#__PURE__*/React__default.createElement(ThreadProvider, {
    channelUrl: channelUrl,
    message: message,
    onHeaderActionClick: onHeaderActionClick,
    onMoveToParentMessage: onMoveToParentMessage
  }, /*#__PURE__*/React__default.createElement(ThreadUI, {
    renderHeader: renderHeader,
    renderParentMessageInfo: renderParentMessageInfo,
    renderMessage: renderMessage,
    renderMessageInput: renderMessageInput,
    renderCustomSeparator: renderCustomSeparator,
    renderParentMessageInfoPlaceholder: renderParentMessageInfoPlaceholder,
    renderThreadListPlaceHolder: renderThreadListPlaceHolder,
    renderFileUploadIcon: renderFileUploadIcon,
    renderVoiceMessageIcon: renderVoiceMessageIcon,
    renderSendMessageIcon: renderSendMessageIcon
  })));
};

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