'use strict';

var _tslib = require('./chunks/bundle-Conb-pOy.js');
var React = require('react');
var ThreadProvider = require('./chunks/bundle-DXySM280.js');
var Thread_components_ThreadUI = require('./Thread/components/ThreadUI.js');
var utils = require('./chunks/bundle-CkQrhwR6.js');
require('./chunks/bundle-BLLzQxHS.js');
require('./chunks/bundle-dUH189qO.js');
require('./chunks/bundle-B78tdF27.js');
require('@sendbird/chat/message');
require('./chunks/bundle-DPDyqKIJ.js');
require('./chunks/bundle-BbrBawlX.js');
require('./chunks/bundle-Cyl6_qLo.js');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-Cfh78Xnm.js');
require('./chunks/bundle-Bnb8seJF.js');
require('./chunks/bundle-Bq15P9qk.js');
require('./chunks/bundle-B19RHFpR.js');
require('@sendbird/chat');
require('@sendbird/chat/groupChannel');
require('@sendbird/chat/openChannel');
require('./chunks/bundle-t8BQsgL5.js');
require('./chunks/bundle-CZ38Etcw.js');
require('./Thread/context/types.js');
require('./chunks/bundle-CxArG0ag.js');
require('./chunks/bundle-D36T0dOY.js');
require('./chunks/bundle-zgmRG2KL.js');
require('./chunks/bundle-fYxs1lss.js');
require('./chunks/bundle-DAdgL6r8.js');
require('./chunks/bundle-Dobj18FB.js');
require('./chunks/bundle-CVJwHwWn.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-CHAKEXIJ.js');
require('./chunks/bundle-Dj4TnPsk.js');
require('./chunks/bundle-DZlJeh0V.js');
require('react-dom');
require('./chunks/bundle-Fv6PNPGZ.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('./chunks/bundle-B2b-r84m.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-DurllD3r.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-C5p82xwC.js');
require('./chunks/bundle-DGV1BX0m.js');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./hooks/useModal.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-B7KG10z2.js');
require('./chunks/bundle-C99t7tzf.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-CXbYckbN.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./chunks/bundle-BHp3N9Mz.js');
require('./VoiceRecorder/context.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-CX7K4z2J.js');
require('./chunks/bundle-CzkEKbFB.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-KzwW_H6y.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-Yq_R9TAN.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-CNwwuHHA.js');
require('./chunks/bundle-B7tlFbQZ.js');
require('./chunks/bundle-BLz2EOZ5.js');
require('./chunks/bundle-Bomzwcdt.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-VKi81862.js');
require('dompurify');
require('./chunks/bundle-DHuNGmIj.js');
require('./chunks/bundle-2PCdBxVA.js');
require('./chunks/bundle-BkgFGPs_.js');
require('./chunks/bundle-D8HbGJZJ.js');
require('./ui/MobileMenu.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./chunks/bundle-BPUhuptz.js');
require('./chunks/bundle-Y-wq3CF0.js');
require('./chunks/bundle-BwwNS3QS.js');
require('./Thread/components/ThreadHeader.js');
require('./ui/Header.js');
require('./Thread/components/ThreadList.js');
require('./Thread/components/ThreadListItem.js');
require('./ui/DateSeparator.js');
require('./chunks/bundle-DO5FgbkI.js');
require('./chunks/bundle-ptQgj0WJ.js');
require('./chunks/bundle-DQaXgp8o.js');
require('./chunks/bundle-DYon6O60.js');
require('./ui/OGMessageItemBody.js');
require('./ui/TextMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-D9d0Qum8.js');
require('./ui/UnknownMessageItemBody.js');
require('./ui/TemplateMessageItemBody.js');
require('./chunks/bundle-Bt1qvip8.js');
require('./ui/FallbackTemplateMessageItemBody.tsx.js');
require('./ui/LoadingTemplateMessageItemBody.tsx.js');
require('./ui/MessageFeedbackFailedModal.js');
require('./chunks/bundle-PVDrKOjZ.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-BC4SHck9.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-loh9z8L6.js');
require('./chunks/bundle-CPW__Nwr.js');
require('./chunks/bundle-C0RMVFg8.js');
require('./chunks/bundle-19BZVS4G.js');
require('./Channel/hooks/useHandleUploadFiles.js');
require('./ui/PlaceHolder.js');

function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefaultCompat(React);

var Thread = function (props) {
    var _a;
    return (React__default.default.createElement("div", { className: utils.classnames('sendbird-thread', (_a = props === null || props === void 0 ? void 0 : props.className) !== null && _a !== void 0 ? _a : '') },
        React__default.default.createElement(ThreadProvider.ThreadProvider, _tslib.__assign({}, props),
            React__default.default.createElement(Thread_components_ThreadUI, _tslib.__assign({}, props)))));
};

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