'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-D1GC3Mlw.js');
require('./chunks/bundle-BedaAirg.js');
require('./chunks/bundle-Bi2wvpu_.js');
require('./chunks/bundle-5ru_FO5x.js');
require('@sendbird/chat/message');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-MDcnM2N1.js');
require('./chunks/bundle-Cgk-lpZZ.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./Thread/context/types.js');
require('@sendbird/chat');
require('./chunks/bundle-CIO_k2aH.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-slS7A2f9.js');
require('./chunks/bundle-C0PM57R_.js');
require('./chunks/bundle-BLV9zZk1.js');
require('./chunks/bundle-Ck_8lQa-.js');
require('./chunks/bundle-V-_XUHW5.js');
require('./chunks/bundle-Dop6OgWE.js');
require('./chunks/bundle-DCPc6-Im.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-De62SpYH.js');
require('./chunks/bundle-CASwMFfX.js');
require('./chunks/bundle-CHERnV8x.js');
require('react-dom');
require('./chunks/bundle-Cd8aIDXf.js');
require('./chunks/bundle-DqTUSoNi.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('./chunks/bundle-DHHo4V-U.js');
require('./chunks/bundle-Ce6jCnmC.js');
require('./chunks/bundle-BFtlkbFV.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-xUIqwbO0.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-Bzoa2z57.js');
require('./ui/ContextMenu.js');
require('@sendbird/chat/openChannel');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./hooks/useModal.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-BFWd_LLn.js');
require('./chunks/bundle-Bvh9LUfE.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('./chunks/bundle-CGX-vhe9.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./chunks/bundle-BMU1Zuos.js');
require('./VoiceRecorder/context.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-B2jW5UwW.js');
require('./chunks/bundle-lBIlhpy4.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-BrG6R1ys.js');
require('./chunks/bundle-CGDy7a1C.js');
require('./chunks/bundle-OAOzXmfa.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-DCi84l6D.js');
require('./chunks/bundle-DrPY0rWx.js');
require('./chunks/bundle-DrCmmE89.js');
require('./chunks/bundle-DrV1GooU.js');
require('./ui/MessageItemMenu.js');
require('./chunks/bundle-Bm-ZyNnL.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-D0hE0g6d.js');
require('dompurify');
require('./chunks/bundle-B20ESzEn.js');
require('./chunks/bundle-9ogjIkrJ.js');
require('./chunks/bundle-B3qxP7Hx.js');
require('./chunks/bundle-BOisWxx6.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-DDwAQ_Z-.js');
require('./chunks/bundle-CMTxpe5r.js');
require('./chunks/bundle-Cf4R8HbK.js');
require('./ui/TextMessageItemBody.js');
require('./ui/OGMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-DqRKg94l.js');
require('./ui/UnknownMessageItemBody.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-B9GhSdVG.js');
require('./chunks/bundle-MOn9SqMU.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-CN06fWST.js');
require('./chunks/bundle-CFOCblXb.js');
require('./GroupChannel/context.js');
require('./chunks/bundle-Dv4YKtdL.js');
require('./chunks/bundle-ghdvllVc.js');
require('./chunks/bundle-3dML2VBI.js');
require('./chunks/bundle-Dpfab45s.js');
require('./chunks/bundle-BMEm0fE7.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
