'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-AjEjAHAy.js');
require('./chunks/bundle-1BET8ZYY.js');
require('./chunks/bundle-tBuSzzHI.js');
require('./chunks/bundle-9l41IWgC.js');
require('@sendbird/chat/message');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-qD5w2tyR.js');
require('./chunks/bundle-bOij3dXU.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./Thread/context/types.js');
require('@sendbird/chat');
require('./chunks/bundle-Vsy2G1YZ.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-5zZ25-q8.js');
require('./chunks/bundle-uyvcZB8I.js');
require('./chunks/bundle-2dTv415Y.js');
require('./chunks/bundle-xtUT3duD.js');
require('./chunks/bundle-qYN98FNj.js');
require('./chunks/bundle-HdAqAQmQ.js');
require('./chunks/bundle-5i9-ntZ5.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-DsdDiOQc.js');
require('./chunks/bundle-vj7Nj0B0.js');
require('./chunks/bundle-Myh0hGtf.js');
require('react-dom');
require('./chunks/bundle-BdWL3kB4.js');
require('./chunks/bundle-UOOPIGjG.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('./chunks/bundle-8JrMDacP.js');
require('./chunks/bundle-Gw-7KmmG.js');
require('./chunks/bundle-SWOq3kxG.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-yQR_oAnV.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-eVmdXbX4.js');
require('./ui/ContextMenu.js');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./hooks/useModal.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-Sxjv83JD.js');
require('./chunks/bundle-xbuS1NJI.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-xe1wuNko.js');
require('./VoiceRecorder/context.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-_1OqWxYy.js');
require('./chunks/bundle-QvRptclZ.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-xNnngzve.js');
require('./chunks/bundle-M7S2ba5_.js');
require('./chunks/bundle-nvUhM4Jt.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-JuSRYTO4.js');
require('./chunks/bundle-gaTYF6lz.js');
require('./chunks/bundle-NSfuzonk.js');
require('./chunks/bundle-wbFvXCMi.js');
require('./chunks/bundle-A45IMFSi.js');
require('./ui/MessageItemMenu.js');
require('./chunks/bundle-W4lK9aC2.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-rdAhtJum.js');
require('dompurify');
require('./chunks/bundle-ctM9C4Ol.js');
require('./chunks/bundle-nNgkSlET.js');
require('./chunks/bundle-RK7_ZCh1.js');
require('./chunks/bundle-RceCnDam.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-2-AYfw-C.js');
require('./chunks/bundle-pc4CZYj5.js');
require('./chunks/bundle-VBjH2Gyx.js');
require('./ui/TextMessageItemBody.js');
require('./ui/OGMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-EIBGC5ds.js');
require('./ui/UnknownMessageItemBody.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-sYYqa58y.js');
require('./chunks/bundle-0FJbDLYK.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-DKAurwqI.js');
require('./chunks/bundle-0Io7rZH6.js');
require('./GroupChannel/context.js');
require('./chunks/bundle-FYiANS7I.js');
require('./chunks/bundle-_Hwf9prH.js');
require('./chunks/bundle-b3QK79hX.js');
require('./chunks/bundle-aggH3_MP.js');
require('./chunks/bundle-OypRlCX4.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
