import React__default from 'react';
import { ThreadProvider } from './Thread/context.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './chunks/bundle--GxLwo7q.js';
import './chunks/bundle-3E-IANjq.js';
import './chunks/bundle-NQDEdVJA.js';
import './chunks/bundle-KIf79auh.js';
import '@sendbird/chat/message';
import './utils/message/getOutgoingMessageState.js';
import './chunks/bundle-xC7o7NLR.js';
import './chunks/bundle-_hGurAcC.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './chunks/bundle-6yzuMtzi.js';
import '@sendbird/chat/groupChannel';
import './chunks/bundle-hjFxrcMW.js';
import './chunks/bundle-C-Q3OKQW.js';
import './chunks/bundle-wpc1Fted.js';
import './chunks/bundle-XDy3Cf54.js';
import './chunks/bundle-wWnN6K3w.js';
import './chunks/bundle-7Mx2MtAL.js';
import './chunks/bundle-9c5vLDe9.js';
import './Thread/components/ParentMessageInfo.js';
import './chunks/bundle-eC1SRuX3.js';
import './chunks/bundle-Aqr_4BjO.js';
import './chunks/bundle-22Jw6ztq.js';
import 'react-dom';
import './chunks/bundle-DHw1C5gJ.js';
import './chunks/bundle-Y3ZVN9yF.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './ui/Icon.js';
import './chunks/bundle-XjJUjhN1.js';
import './chunks/bundle-LTiCF37t.js';
import './chunks/bundle-0QDb7-Y_.js';
import './Thread/components/ParentMessageInfoItem.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './chunks/bundle-n2BmCgGV.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './chunks/bundle-lZq_XDzb.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './hooks/useModal.js';
import './ui/UserListItem.js';
import './chunks/bundle-b2jLXyrm.js';
import './chunks/bundle-Sl-oiala.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 './chunks/bundle-bg3dRlK7.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './chunks/bundle-BiPw1Sub.js';
import './chunks/bundle-Sm0-7tTm.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './chunks/bundle-y9VJsc3H.js';
import './chunks/bundle-6_zAh1Y3.js';
import './chunks/bundle-jqQY8n8G.js';
import '@sendbird/uikit-tools';
import './chunks/bundle-Drmg8_dh.js';
import './chunks/bundle-gQwzebOn.js';
import './chunks/bundle-NntyZyeL.js';
import './chunks/bundle-yIputEl7.js';
import './chunks/bundle-AaDwp4eU.js';
import './ui/MessageItemMenu.js';
import './chunks/bundle-0DTNrbOf.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import './chunks/bundle-zy69cX9t.js';
import 'dompurify';
import './chunks/bundle-9C7b_-hs.js';
import './chunks/bundle-0Vur_TKy.js';
import './chunks/bundle-4gcxTdvH.js';
import './chunks/bundle-bgVMRm8v.js';
import './Message/hooks/useDirtyGetMentions.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './chunks/bundle-qouYngqR.js';
import './chunks/bundle-ubVU4exZ.js';
import './chunks/bundle-PYv4lPO3.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './chunks/bundle-2AR3a1T9.js';
import './ui/UnknownMessageItemBody.js';
import './Channel/utils/compareMessagesForGrouping.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './chunks/bundle-DbZW44FD.js';
import './chunks/bundle-39Y3yv8j.js';
import './GroupChannel/components/SuggestedMentionList.js';
import './ui/QuoteMessageInput.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './chunks/bundle-NwEKq2eQ.js';
import './chunks/bundle-y909vBn9.js';
import './GroupChannel/context.js';
import './chunks/bundle-npMrmwG6.js';
import './chunks/bundle-9QigDxkR.js';
import './chunks/bundle-Ueye8-sz.js';
import './chunks/bundle-X7gl5vNX.js';
import './chunks/bundle-PdtvfqJT.js';
import './Channel/hooks/useHandleUploadFiles.js';
import './ui/PlaceHolder.js';

var Thread = function (props) {
    var 
    // props
    className = props.className, 
    // ThreadProviderProps
    channelUrl = props.channelUrl, message = props.message, onHeaderActionClick = props.onHeaderActionClick, onMoveToParentMessage = props.onMoveToParentMessage, isMultipleFilesMessageEnabled = props.isMultipleFilesMessageEnabled, 
    // onBeforeSend~~~Message
    onBeforeSendUserMessage = props.onBeforeSendUserMessage, onBeforeSendFileMessage = props.onBeforeSendFileMessage, onBeforeSendVoiceMessage = props.onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage = props.onBeforeSendMultipleFilesMessage, 
    // 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 (React__default.createElement("div", { className: "sendbird-thread ".concat(className) },
        React__default.createElement(ThreadProvider, { channelUrl: channelUrl, message: message, onHeaderActionClick: onHeaderActionClick, onMoveToParentMessage: onMoveToParentMessage, onBeforeSendUserMessage: onBeforeSendUserMessage, onBeforeSendFileMessage: onBeforeSendFileMessage, onBeforeSendVoiceMessage: onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage: onBeforeSendMultipleFilesMessage, isMultipleFilesMessageEnabled: isMultipleFilesMessageEnabled },
            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
