import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-7f67575f.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-e7f4cbdf.js';
import './index-90420b99.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-a59f0533.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-a69fd1ce.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-247fcf3a.js';
import '@sendbird/chat/groupChannel';
import './uuid-2e8efc75.js';
import '@sendbird/chat/message';
import './consts-e64103c6.js';
import './LocalizationContext-426f3d58.js';
import './stringSet-a62108b2.js';
import './utils-d317e3c3.js';
import './index-4105bc4d.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-3d9ef84c.js';
import './ui/Modal.js';
import 'react-dom';
import './index-3e548496.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-b531adc9.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-f83f0aac.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-e708f53d.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './useLongPress-c0ba590c.js';
import './utils-4bf6e4e6.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './ui/UserListItem.js';
import './ui/Avatar.js';
import './ui/MutedAvatarOverlay.js';
import './ui/Checkbox.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './Message/context.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-52ba73b9.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './index-89c84c27.js';
import './index.module-8bb7760e.js';
import './tokenize-eec42500.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './ChannelProvider-3bd92d16.js';
import './const-9982664a.js';
import './compareIds-aca19765.js';
import './resolvedReplyType-7bde5f56.js';
import './Channel/components/SuggestedMentionList.js';
import './const-ddd9d461.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-d72e53f1.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-15e764c0.js';
import './consts-f99cd0da.js';
import './consts-2eeaa3de.js';
import './index-eefc5b10.js';
import './useDirtyGetMentions-f302bddb.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-a9ca43b0.js';
import './index-65ed45e9.js';
import './index-e40d8b24.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-3adde78a.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-8567d9a9.js';
import './index-8b2036e8.js';

const Thread = props => {
  const {
    // props
    className,
    // ThreadProviderProps
    channelUrl,
    message,
    onHeaderActionClick,
    onMoveToParentMessage,
    // ThreadUIProps
    renderHeader,
    renderParentMessageInfo,
    renderMessage,
    renderMessageInput,
    renderCustomSeparator,
    renderParentMessageInfoPlaceholder,
    renderThreadListPlaceHolder,
    renderFileUploadIcon,
    renderVoiceMessageIcon,
    renderSendMessageIcon
  } = props;
  return /*#__PURE__*/React__default.createElement("div", {
    className: `sendbird-thread ${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
