'use strict';

var React = require('react');
var Thread_context = require('./Thread/context.js');
var Thread_components_ThreadUI = require('./Thread/components/ThreadUI.js');
require('./chunks/bundle-hzGTyicd.js');
require('./chunks/bundle-BMB3xh2i.js');
require('./chunks/bundle-E1H3DQtB.js');
require('./chunks/bundle-H3iUL9jU.js');
require('@sendbird/chat/message');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-uubJJzRW.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./Thread/context/types.js');
require('@sendbird/chat');
require('./chunks/bundle-m_0K8NXX.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-jP-1bn23.js');
require('./chunks/bundle-EsJltkVm.js');
require('./chunks/bundle--yF0PJ6E.js');
require('./chunks/bundle-om7V4Kmd.js');
require('./chunks/bundle-08DJamJs.js');
require('./chunks/bundle-ubmIpm9y.js');
require('./chunks/bundle-zuVbTz4t.js');
require('./chunks/bundle-WWYVAaVT.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-0TRHdH1v.js');
require('./chunks/bundle-aQOJcXCO.js');
require('./chunks/bundle--t70CDfb.js');
require('react-dom');
require('./chunks/bundle-Kwa0c8dM.js');
require('./chunks/bundle-lHnGN-3L.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('./chunks/bundle-qXInmu7W.js');
require('./chunks/bundle-eG-yFfLY.js');
require('./chunks/bundle-eg9jnWPm.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-YxnuYJcD.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-mk0LQISG.js');
require('./ui/ContextMenu.js');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./hooks/useModal.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-mNGciuzV.js');
require('./chunks/bundle-DgcTM2HW.js');
require('./ui/MutedAvatarOverlay.js');
require('./ui/Checkbox.js');
require('./ui/UserProfile.js');
require('./sendbirdSelectors.js');
require('./ui/Tooltip.js');
require('./ui/TooltipWrapper.js');
require('./Message/context.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./chunks/bundle-X6IgWOv5.js');
require('./VoiceRecorder/context.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-YvcRCGBd.js');
require('./chunks/bundle-ZpJLlgNE.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-Pcl0nMWb.js');
require('./chunks/bundle-oLo1K2bf.js');
require('./chunks/bundle-LFW-mAQF.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-V4Gdewny.js');
require('./chunks/bundle-kLhcU0Bg.js');
require('./chunks/bundle-jUxjf8aL.js');
require('./chunks/bundle-Ok99sReN.js');
require('./ui/MessageItemMenu.js');
require('./chunks/bundle-y7MhfXfx.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-_vyDAzUb.js');
require('./chunks/bundle-a3DGXthf.js');
require('dompurify');
require('./chunks/bundle-dwD6gaHJ.js');
require('./chunks/bundle-0LtiaxJx.js');
require('./chunks/bundle-8XvxyLQN.js');
require('./chunks/bundle-hCR6GZHZ.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./Thread/components/ThreadHeader.js');
require('./Thread/components/ThreadList.js');
require('./Thread/components/ThreadListItem.js');
require('./ui/DateSeparator.js');
require('./chunks/bundle-4QpLkquA.js');
require('./chunks/bundle-3-zCFAsZ.js');
require('./chunks/bundle-8oh3Iidd.js');
require('./ui/TextMessageItemBody.js');
require('./ui/OGMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-r9E_mzs-.js');
require('./ui/UnknownMessageItemBody.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./chunks/bundle-xbwLn6pV.js');
require('./chunks/bundle-o2O3PYyl.js');
require('./chunks/bundle-hlZ6VwkW.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-p1TqI4uJ.js');
require('./chunks/bundle-49TaYIAY.js');
require('./chunks/bundle-qjc3EF_B.js');
require('./chunks/bundle--zfwoPVm.js');
require('./chunks/bundle-QU7zbepl.js');
require('./chunks/bundle-kYfqAttM.js');
require('./chunks/bundle-Z6FnnPza.js');
require('./Channel/hooks/useHandleUploadFiles.js');
require('./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.createElement("div", { className: "sendbird-thread ".concat(className) },
        React.createElement(Thread_context.ThreadProvider, { channelUrl: channelUrl, message: message, onHeaderActionClick: onHeaderActionClick, onMoveToParentMessage: onMoveToParentMessage, onBeforeSendUserMessage: onBeforeSendUserMessage, onBeforeSendFileMessage: onBeforeSendFileMessage, onBeforeSendVoiceMessage: onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage: onBeforeSendMultipleFilesMessage, isMultipleFilesMessageEnabled: isMultipleFilesMessageEnabled },
            React.createElement(Thread_components_ThreadUI, { renderHeader: renderHeader, renderParentMessageInfo: renderParentMessageInfo, renderMessage: renderMessage, renderMessageInput: renderMessageInput, renderCustomSeparator: renderCustomSeparator, renderParentMessageInfoPlaceholder: renderParentMessageInfoPlaceholder, renderThreadListPlaceHolder: renderThreadListPlaceHolder, renderFileUploadIcon: renderFileUploadIcon, renderVoiceMessageIcon: renderVoiceMessageIcon, renderSendMessageIcon: renderSendMessageIcon }))));
};

module.exports = Thread;
//# sourceMappingURL=Thread.js.map
