@sendbird/uikit-react 3.15.13 → 3.15.14-rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1326) hide show
  1. package/App.js +115 -270
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +39 -0
  4. package/Channel/components/ChannelHeader.js +32 -40
  5. package/Channel/components/ChannelHeader.js.map +1 -1
  6. package/Channel/components/ChannelUI.js +77 -76
  7. package/Channel/components/ChannelUI.js.map +1 -1
  8. package/Channel/components/FileViewer.js +31 -35
  9. package/Channel/components/FileViewer.js.map +1 -1
  10. package/Channel/components/FrozenNotification.js +6 -5
  11. package/Channel/components/FrozenNotification.js.map +1 -1
  12. package/Channel/components/Message.js +68 -67
  13. package/Channel/components/Message.js.map +1 -1
  14. package/Channel/components/MessageInput.js +48 -50
  15. package/Channel/components/MessageInput.js.map +1 -1
  16. package/Channel/components/MessageInputWrapper.js +48 -50
  17. package/Channel/components/MessageInputWrapper.js.map +1 -1
  18. package/Channel/components/MessageList.js +74 -70
  19. package/Channel/components/MessageList.js.map +1 -1
  20. package/Channel/components/RemoveMessageModal.js +31 -36
  21. package/Channel/components/RemoveMessageModal.js.map +1 -1
  22. package/Channel/components/SuggestedMentionList.js +31 -41
  23. package/Channel/components/SuggestedMentionList.js.map +1 -1
  24. package/Channel/components/TypingIndicator.js +11 -7
  25. package/Channel/components/TypingIndicator.js.map +1 -1
  26. package/Channel/components/UnreadCount.js +8 -7
  27. package/Channel/components/UnreadCount.js.map +1 -1
  28. package/Channel/context.js +71 -39
  29. package/Channel/context.js.map +1 -1
  30. package/Channel/hooks/useHandleUploadFiles.js +20 -22
  31. package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  32. package/Channel/hooks/useInitialMessagesFetch.js +8 -8
  33. package/Channel/utils/compareMessagesForGrouping.js +16 -18
  34. package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  35. package/Channel/utils/getMessagePartsInfo.js +13 -14
  36. package/Channel/utils/getMessagePartsInfo.js.map +1 -1
  37. package/Channel.js +77 -76
  38. package/Channel.js.map +1 -1
  39. package/ChannelList/components/AddChannel.js +214 -45
  40. package/ChannelList/components/AddChannel.js.map +1 -1
  41. package/ChannelList/components/ChannelListHeader.js +16 -11
  42. package/ChannelList/components/ChannelListHeader.js.map +1 -1
  43. package/ChannelList/components/ChannelListUI.js +205 -138
  44. package/ChannelList/components/ChannelListUI.js.map +1 -1
  45. package/ChannelList/components/ChannelPreview.js +39 -41
  46. package/ChannelList/components/ChannelPreview.js.map +1 -1
  47. package/ChannelList/components/ChannelPreviewAction.js +17 -18
  48. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  49. package/ChannelList/context.js +14 -27
  50. package/ChannelList/context.js.map +1 -1
  51. package/ChannelList.js +212 -81
  52. package/ChannelList.js.map +1 -1
  53. package/ChannelSettings/components/ChannelProfile.js +28 -32
  54. package/ChannelSettings/components/ChannelProfile.js.map +1 -1
  55. package/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
  56. package/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
  57. package/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
  58. package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  59. package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
  60. package/ChannelSettings/components/ChannelSettingsUI.js +49 -50
  61. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  62. package/ChannelSettings/components/EditDetailsModal.js +23 -31
  63. package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  64. package/ChannelSettings/components/LeaveChannel.js +25 -28
  65. package/ChannelSettings/components/LeaveChannel.js.map +1 -1
  66. package/ChannelSettings/components/ModerationPanel.js +33 -33
  67. package/ChannelSettings/components/UserListItem.js +26 -29
  68. package/ChannelSettings/components/UserListItem.js.map +1 -1
  69. package/ChannelSettings/components/UserPanel.js +35 -35
  70. package/ChannelSettings/context.js +11 -173
  71. package/ChannelSettings/context.js.map +1 -1
  72. package/ChannelSettings/hooks/useMenuList.js +33 -33
  73. package/ChannelSettings.js +52 -52
  74. package/CreateChannel/components/CreateChannelUI.js +214 -45
  75. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  76. package/CreateChannel/components/InviteUsers.js +215 -153
  77. package/CreateChannel/components/InviteUsers.js.map +1 -1
  78. package/CreateChannel/components/SelectChannelType.js +216 -85
  79. package/CreateChannel/components/SelectChannelType.js.map +1 -1
  80. package/CreateChannel/context.js +221 -6
  81. package/CreateChannel/context.js.map +1 -1
  82. package/CreateChannel.js +213 -39
  83. package/CreateChannel.js.map +1 -1
  84. package/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
  85. package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  86. package/CreateOpenChannel/context.js +9 -4
  87. package/CreateOpenChannel/context.js.map +1 -1
  88. package/CreateOpenChannel.js +16 -24
  89. package/CreateOpenChannel.js.map +1 -1
  90. package/EditUserProfile/components/EditUserProfileUI.js +27 -35
  91. package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  92. package/EditUserProfile/context.js +1 -1
  93. package/EditUserProfile.js +16 -25
  94. package/EditUserProfile.js.map +1 -1
  95. package/GroupChannel/components/FileViewer.js +34 -36
  96. package/GroupChannel/components/FileViewer.js.map +1 -1
  97. package/GroupChannel/components/FrozenNotification.js +6 -5
  98. package/GroupChannel/components/FrozenNotification.js.map +1 -1
  99. package/GroupChannel/components/GroupChannelHeader.js +31 -37
  100. package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  101. package/GroupChannel/components/GroupChannelUI.js +73 -70
  102. package/GroupChannel/components/GroupChannelUI.js.map +1 -1
  103. package/GroupChannel/components/Message.js +67 -63
  104. package/GroupChannel/components/Message.js.map +1 -1
  105. package/GroupChannel/components/MessageInputWrapper.js +49 -48
  106. package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  107. package/GroupChannel/components/MessageList.js +76 -71
  108. package/GroupChannel/components/MessageList.js.map +1 -1
  109. package/GroupChannel/components/RemoveMessageModal.js +32 -34
  110. package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  111. package/GroupChannel/components/SuggestedMentionList.js +18 -13
  112. package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  113. package/GroupChannel/components/TypingIndicator.js +14 -10
  114. package/GroupChannel/components/TypingIndicator.js.map +1 -1
  115. package/GroupChannel/components/UnreadCount.js +8 -7
  116. package/GroupChannel/components/UnreadCount.js.map +1 -1
  117. package/GroupChannel/context.js +19 -513
  118. package/GroupChannel/context.js.map +1 -1
  119. package/GroupChannel.js +71 -68
  120. package/GroupChannel.js.map +1 -1
  121. package/GroupChannelList/components/AddGroupChannel.js +214 -45
  122. package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  123. package/GroupChannelList/components/GroupChannelListHeader.js +17 -13
  124. package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  125. package/GroupChannelList/components/GroupChannelListItem.js +39 -40
  126. package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  127. package/GroupChannelList/components/GroupChannelListUI.js +211 -115
  128. package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  129. package/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
  130. package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  131. package/GroupChannelList/context.js +13 -118
  132. package/GroupChannelList/context.js.map +1 -1
  133. package/GroupChannelList.js +209 -72
  134. package/GroupChannelList.js.map +1 -1
  135. package/MessageSearch/components/MessageSearchUI.js +24 -23
  136. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  137. package/MessageSearch/context.js +9 -280
  138. package/MessageSearch/context.js.map +1 -1
  139. package/MessageSearch.js +24 -20
  140. package/MessageSearch.js.map +1 -1
  141. package/OpenChannel/components/FrozenChannelNotification.js +5 -4
  142. package/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
  143. package/OpenChannel/components/OpenChannelHeader.js +23 -29
  144. package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  145. package/OpenChannel/components/OpenChannelInput.js +31 -33
  146. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  147. package/OpenChannel/components/OpenChannelMessage.js +45 -44
  148. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  149. package/OpenChannel/components/OpenChannelMessageList.js +54 -52
  150. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  151. package/OpenChannel/components/OpenChannelUI.js +49 -48
  152. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  153. package/OpenChannel/context.js +21 -27
  154. package/OpenChannel/context.js.map +1 -1
  155. package/OpenChannel.js +47 -46
  156. package/OpenChannel.js.map +1 -1
  157. package/OpenChannelList/components/OpenChannelListUI.js +20 -28
  158. package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  159. package/OpenChannelList/components/OpenChannelPreview.js +6 -6
  160. package/OpenChannelList/context.js +9 -5
  161. package/OpenChannelList/context.js.map +1 -1
  162. package/OpenChannelList.js +18 -26
  163. package/OpenChannelList.js.map +1 -1
  164. package/OpenChannelSettings/components/EditDetailsModal.js +23 -31
  165. package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  166. package/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
  167. package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  168. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
  169. package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  170. package/OpenChannelSettings/components/OperatorUI.js +37 -41
  171. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  172. package/OpenChannelSettings/components/ParticipantUI.js +22 -23
  173. package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  174. package/OpenChannelSettings/context.js +16 -35
  175. package/OpenChannelSettings/context.js.map +1 -1
  176. package/OpenChannelSettings.js +27 -28
  177. package/OpenChannelSettings.js.map +1 -1
  178. package/SendbirdProvider.js +486 -914
  179. package/SendbirdProvider.js.map +1 -1
  180. package/Thread/components/ParentMessageInfo.js +71 -68
  181. package/Thread/components/ParentMessageInfo.js.map +1 -1
  182. package/Thread/components/ParentMessageInfoItem.js +42 -39
  183. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  184. package/Thread/components/ThreadHeader.js +8 -7
  185. package/Thread/components/ThreadHeader.js.map +1 -1
  186. package/Thread/components/ThreadList.js +67 -63
  187. package/Thread/components/ThreadList.js.map +1 -1
  188. package/Thread/components/ThreadListItem.js +77 -76
  189. package/Thread/components/ThreadListItem.js.map +1 -1
  190. package/Thread/components/ThreadMessageInput.js +67 -67
  191. package/Thread/components/ThreadUI.js +74 -72
  192. package/Thread/components/ThreadUI.js.map +1 -1
  193. package/Thread/context/types.js +0 -1
  194. package/Thread/context/types.js.map +1 -1
  195. package/Thread/context.js +20 -1335
  196. package/Thread/context.js.map +1 -1
  197. package/Thread.js +70 -68
  198. package/Thread.js.map +1 -1
  199. package/VoicePlayer/context.js +9 -6
  200. package/VoicePlayer/context.js.map +1 -1
  201. package/VoicePlayer/useVoicePlayer.js +17 -22
  202. package/VoicePlayer/useVoicePlayer.js.map +1 -1
  203. package/VoiceRecorder/context.js +127 -22
  204. package/VoiceRecorder/context.js.map +1 -1
  205. package/VoiceRecorder/useVoiceRecorder.js +16 -22
  206. package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  207. package/chunks/{bundle-Dl9NVsui.js → bundle-1WicDXzs.js} +1 -1
  208. package/chunks/{bundle-Dl9NVsui.js.map → bundle-1WicDXzs.js.map} +1 -1
  209. package/chunks/{bundle-BXE5p6Kc.js → bundle-1dw3VwGW.js} +14 -13
  210. package/chunks/{bundle-BXE5p6Kc.js.map → bundle-1dw3VwGW.js.map} +1 -1
  211. package/chunks/{bundle-CDvvzlad.js → bundle-6HmJcgNR.js} +6 -5
  212. package/chunks/bundle-6HmJcgNR.js.map +1 -0
  213. package/chunks/{bundle-BAQj91eb.js → bundle-A2onzY73.js} +9 -8
  214. package/chunks/bundle-A2onzY73.js.map +1 -0
  215. package/chunks/{bundle-C6-Ix-Lk.js → bundle-B-hLTjcZ.js} +8 -7
  216. package/chunks/{bundle-DLlgZtQy.js.map → bundle-B-hLTjcZ.js.map} +1 -1
  217. package/chunks/{bundle-DfDrbjM5.js → bundle-B2hCX5Y1.js} +1 -1
  218. package/chunks/bundle-B2hCX5Y1.js.map +1 -0
  219. package/chunks/{bundle-DCX2mqfp.js → bundle-B8U-MPIR.js} +8 -22
  220. package/{cjs/chunks/bundle-DpyxKl7F.js.map → chunks/bundle-B8U-MPIR.js.map} +1 -1
  221. package/chunks/{bundle-BE58pe-0.js → bundle-B9ip9Rgs.js} +8 -8
  222. package/chunks/bundle-B9ip9Rgs.js.map +1 -0
  223. package/chunks/{bundle-5-21Jk06.js → bundle-BBTkAdNh.js} +16 -20
  224. package/chunks/bundle-BBTkAdNh.js.map +1 -0
  225. package/chunks/{bundle-DaKZZ13Y.js → bundle-BBhGk7VW.js} +1 -1
  226. package/chunks/bundle-BBhGk7VW.js.map +1 -0
  227. package/chunks/{bundle-TGosz9cX.js → bundle-BD_ok0_K.js} +1 -1
  228. package/chunks/bundle-BD_ok0_K.js.map +1 -0
  229. package/chunks/{bundle-_-FiwcfQ.js → bundle-BJw1wPlD.js} +2 -2
  230. package/chunks/{bundle-_-FiwcfQ.js.map → bundle-BJw1wPlD.js.map} +1 -1
  231. package/chunks/{bundle-Er6ifVzM.js → bundle-BMqNmFAC.js} +1 -1
  232. package/chunks/{bundle-Er6ifVzM.js.map → bundle-BMqNmFAC.js.map} +1 -1
  233. package/chunks/{bundle-Ci2fMtNJ.js → bundle-BMtR335z.js} +1 -2
  234. package/chunks/bundle-BMtR335z.js.map +1 -0
  235. package/chunks/{bundle-DWrM1EW4.js → bundle-BVQ6FvPr.js} +4 -4
  236. package/chunks/bundle-BVQ6FvPr.js.map +1 -0
  237. package/chunks/{bundle-DUTyBaXr.js → bundle-BY9oUVFG.js} +7 -2
  238. package/chunks/bundle-BY9oUVFG.js.map +1 -0
  239. package/chunks/{bundle-Deel9XzY.js → bundle-B_2pLVhC.js} +3 -3
  240. package/chunks/bundle-B_2pLVhC.js.map +1 -0
  241. package/chunks/bundle-BdjfIRue.js +24 -0
  242. package/chunks/bundle-BdjfIRue.js.map +1 -0
  243. package/chunks/{bundle-gQ2a8Eki.js → bundle-Bkbt9_K2.js} +4 -19
  244. package/chunks/bundle-Bkbt9_K2.js.map +1 -0
  245. package/chunks/bundle-BlijUxQw.js +38 -0
  246. package/chunks/bundle-BlijUxQw.js.map +1 -0
  247. package/chunks/{bundle-BFqR1X1Q.js → bundle-BneAvNJ6.js} +1 -1
  248. package/chunks/bundle-BneAvNJ6.js.map +1 -0
  249. package/chunks/bundle-BqSIw_8a.js +740 -0
  250. package/chunks/bundle-BqSIw_8a.js.map +1 -0
  251. package/chunks/{bundle-ryUmMhVP.js → bundle-ByVGO6Cn.js} +1 -1
  252. package/chunks/{bundle-ryUmMhVP.js.map → bundle-ByVGO6Cn.js.map} +1 -1
  253. package/chunks/{bundle-DkviGBGz.js → bundle-BznbvczW.js} +2 -2
  254. package/chunks/bundle-BznbvczW.js.map +1 -0
  255. package/chunks/{bundle-Dpdq7qeD.js → bundle-C-JPnBnR.js} +1 -1
  256. package/chunks/bundle-C-JPnBnR.js.map +1 -0
  257. package/chunks/{bundle-DrHsf0sP.js → bundle-C-rvXpNA.js} +4 -4
  258. package/chunks/bundle-C-rvXpNA.js.map +1 -0
  259. package/chunks/{bundle-90vsNbxW.js → bundle-C-yTkyP0.js} +1 -1
  260. package/chunks/bundle-C-yTkyP0.js.map +1 -0
  261. package/chunks/{bundle-CDjVXDOc.js → bundle-C1ncZUjl.js} +1 -1
  262. package/chunks/bundle-C1ncZUjl.js.map +1 -0
  263. package/chunks/{bundle-JYgg9UJ5.js → bundle-C9ITO9KN.js} +23 -23
  264. package/chunks/{bundle-JYgg9UJ5.js.map → bundle-C9ITO9KN.js.map} +1 -1
  265. package/chunks/{bundle-DRyEkedz.js → bundle-CAUVIS8U.js} +28 -24
  266. package/chunks/{bundle-DRyEkedz.js.map → bundle-CAUVIS8U.js.map} +1 -1
  267. package/chunks/{bundle-eYHtE5ry.js → bundle-CCC20GHQ.js} +3 -3
  268. package/chunks/bundle-CCC20GHQ.js.map +1 -0
  269. package/chunks/bundle-CClknHGO.js +4 -0
  270. package/chunks/bundle-CClknHGO.js.map +1 -0
  271. package/chunks/{bundle-yLTgHCRG.js → bundle-CDRwx6ov.js} +2 -2
  272. package/chunks/{bundle-yLTgHCRG.js.map → bundle-CDRwx6ov.js.map} +1 -1
  273. package/chunks/bundle-CDp-g5XU.js +257 -0
  274. package/chunks/{bundle-DCX2mqfp.js.map → bundle-CDp-g5XU.js.map} +1 -1
  275. package/chunks/{bundle-Dvg19muo.js → bundle-CFIe1TQh.js} +6 -6
  276. package/chunks/bundle-CFIe1TQh.js.map +1 -0
  277. package/chunks/{bundle-CZsW3iP9.js → bundle-CL4aee1v.js} +2 -2
  278. package/chunks/bundle-CL4aee1v.js.map +1 -0
  279. package/chunks/{bundle-D5-VMB5f.js → bundle-CPrxIh9y.js} +13 -12
  280. package/chunks/{bundle-D5-VMB5f.js.map → bundle-CPrxIh9y.js.map} +1 -1
  281. package/chunks/bundle-CQ2tpjBC.js +65 -0
  282. package/chunks/bundle-CQ2tpjBC.js.map +1 -0
  283. package/chunks/{bundle-BMygDCXK.js → bundle-CQrtVJsS.js} +1 -1
  284. package/chunks/bundle-CQrtVJsS.js.map +1 -0
  285. package/chunks/{bundle-LWpHaUiZ.js → bundle-CSXuv4Bd.js} +9 -7
  286. package/chunks/bundle-CSXuv4Bd.js.map +1 -0
  287. package/chunks/{bundle-CLonR-iH.js → bundle-CT9lv9jW.js} +8 -7
  288. package/chunks/{bundle-CLonR-iH.js.map → bundle-CT9lv9jW.js.map} +1 -1
  289. package/chunks/bundle-CUrIGyMS.js +661 -0
  290. package/chunks/bundle-CUrIGyMS.js.map +1 -0
  291. package/chunks/{bundle-MkyS3j4-.js → bundle-CdizyEdk.js} +1 -1
  292. package/chunks/bundle-CdizyEdk.js.map +1 -0
  293. package/chunks/{bundle-BBowfNDO.js → bundle-CfElKzoM.js} +1 -1
  294. package/chunks/bundle-CfElKzoM.js.map +1 -0
  295. package/chunks/{bundle-Cq6wCLlD.js → bundle-CgYA6f2I.js} +15 -15
  296. package/chunks/{bundle-Cq6wCLlD.js.map → bundle-CgYA6f2I.js.map} +1 -1
  297. package/chunks/{bundle-C7jYHvwG.js → bundle-Cj5_JUGB.js} +2 -2
  298. package/chunks/{bundle-C7jYHvwG.js.map → bundle-Cj5_JUGB.js.map} +1 -1
  299. package/chunks/{bundle-3aUfVJHj.js → bundle-ClwW4Dg-.js} +8 -9
  300. package/chunks/bundle-ClwW4Dg-.js.map +1 -0
  301. package/chunks/{bundle-Crm9sJrW.js → bundle-CrfqwS86.js} +8 -8
  302. package/chunks/{bundle-Crm9sJrW.js.map → bundle-CrfqwS86.js.map} +1 -1
  303. package/chunks/{bundle-CMuwfYDs.js → bundle-CuNiKKod.js} +17 -17
  304. package/chunks/{bundle-CMuwfYDs.js.map → bundle-CuNiKKod.js.map} +1 -1
  305. package/chunks/{bundle-DjgT6gu4.js → bundle-Cui2dEHn.js} +1 -1
  306. package/chunks/bundle-Cui2dEHn.js.map +1 -0
  307. package/chunks/{bundle-V4PrrT67.js → bundle-CvS9hHiN.js} +13 -13
  308. package/chunks/bundle-CvS9hHiN.js.map +1 -0
  309. package/chunks/{bundle-LPNnEgGp.js → bundle-CwlHaxRY.js} +1 -1
  310. package/chunks/bundle-CwlHaxRY.js.map +1 -0
  311. package/chunks/{bundle-DImSV9VW.js → bundle-CyiL7cM0.js} +3 -3
  312. package/chunks/bundle-CyiL7cM0.js.map +1 -0
  313. package/chunks/{bundle-CbEyAimK.js → bundle-CyrtxrpV.js} +4 -4
  314. package/chunks/bundle-CyrtxrpV.js.map +1 -0
  315. package/chunks/bundle-CzQv-JhI.js +9 -0
  316. package/chunks/bundle-CzQv-JhI.js.map +1 -0
  317. package/chunks/{bundle-B2dhmpsj.js → bundle-D1dUz9rt.js} +14 -14
  318. package/chunks/{bundle-B2dhmpsj.js.map → bundle-D1dUz9rt.js.map} +1 -1
  319. package/chunks/{bundle-BH8ohfFx.js → bundle-D5jjox7Q.js} +8 -8
  320. package/chunks/{bundle-BH8ohfFx.js.map → bundle-D5jjox7Q.js.map} +1 -1
  321. package/chunks/{bundle-BL_0pgq0.js → bundle-D7RFGuQj.js} +17 -16
  322. package/chunks/{bundle-BL_0pgq0.js.map → bundle-D7RFGuQj.js.map} +1 -1
  323. package/chunks/{bundle-4W3uBGU3.js → bundle-D9R7Jiqe.js} +1 -1
  324. package/chunks/bundle-D9R7Jiqe.js.map +1 -0
  325. package/chunks/bundle-DCVn-5-M.js +209 -0
  326. package/chunks/bundle-DCVn-5-M.js.map +1 -0
  327. package/chunks/bundle-DFLinAbj.js +12 -0
  328. package/chunks/bundle-DFLinAbj.js.map +1 -0
  329. package/chunks/{bundle-BI2YMBw_.js → bundle-DG6u-bEo.js} +60 -6
  330. package/chunks/bundle-DG6u-bEo.js.map +1 -0
  331. package/chunks/{bundle-C1U8wE49.js → bundle-DGW9ZhNd.js} +2 -2
  332. package/chunks/bundle-DGW9ZhNd.js.map +1 -0
  333. package/chunks/{bundle-BiPxcZtH.js → bundle-DMhVPx55.js} +1 -1
  334. package/chunks/bundle-DMhVPx55.js.map +1 -0
  335. package/chunks/{bundle-2kzSicIw.js → bundle-DTsnEKas.js} +3 -3
  336. package/chunks/{bundle-2kzSicIw.js.map → bundle-DTsnEKas.js.map} +1 -1
  337. package/chunks/bundle-DYlj08ur.js +1108 -0
  338. package/chunks/bundle-DYlj08ur.js.map +1 -0
  339. package/chunks/{bundle-DYeeW5nS.js → bundle-DbJ8lyIW.js} +7 -14
  340. package/chunks/bundle-DbJ8lyIW.js.map +1 -0
  341. package/chunks/{bundle-Bzt5nDi4.js → bundle-DbWSwWAr.js} +4 -4
  342. package/chunks/{bundle-Bzt5nDi4.js.map → bundle-DbWSwWAr.js.map} +1 -1
  343. package/chunks/{bundle-BeUKuH7h.js → bundle-Dg1G5COD.js} +3 -3
  344. package/chunks/{bundle-BeUKuH7h.js.map → bundle-Dg1G5COD.js.map} +1 -1
  345. package/chunks/{bundle-CcHvUx-a.js → bundle-DloA6aeM.js} +11 -10
  346. package/chunks/{bundle-CcHvUx-a.js.map → bundle-DloA6aeM.js.map} +1 -1
  347. package/chunks/{bundle-P-vXuw8U.js → bundle-DqDF0kxo.js} +1 -1
  348. package/chunks/bundle-DqDF0kxo.js.map +1 -0
  349. package/chunks/{bundle-k6zcGkBp.js → bundle-Dw8813nX.js} +4 -4
  350. package/chunks/bundle-Dw8813nX.js.map +1 -0
  351. package/chunks/{bundle-BP1CB0js.js → bundle-DwSHHkPT.js} +1 -1
  352. package/chunks/bundle-DwSHHkPT.js.map +1 -0
  353. package/chunks/{bundle-pOZPN8hk.js → bundle-DxxvrMQI.js} +1 -1
  354. package/chunks/{bundle-pOZPN8hk.js.map → bundle-DxxvrMQI.js.map} +1 -1
  355. package/chunks/{bundle-C9dF4QVS.js → bundle-DyUM-cLB.js} +1 -1
  356. package/chunks/bundle-DyUM-cLB.js.map +1 -0
  357. package/chunks/{bundle-BP1DBRft.js → bundle-HWQAzYJv.js} +5 -5
  358. package/chunks/{bundle-BP1DBRft.js.map → bundle-HWQAzYJv.js.map} +1 -1
  359. package/chunks/{bundle-DLlgZtQy.js → bundle-I8q8yCrt.js} +5 -5
  360. package/{cjs/chunks/bundle-DUanoG7J.js.map → chunks/bundle-I8q8yCrt.js.map} +1 -1
  361. package/chunks/{bundle-CzdrQ_Yq.js → bundle-IJCJg91y.js} +1 -1
  362. package/chunks/bundle-IJCJg91y.js.map +1 -0
  363. package/chunks/bundle-JsdOq6pg.js +260 -0
  364. package/chunks/bundle-JsdOq6pg.js.map +1 -0
  365. package/{cjs/chunks/bundle-DE5YH8Q-.js → chunks/bundle-KQc1NYs1.js} +2 -32
  366. package/chunks/{bundle-CIN9yQRB.js.map → bundle-KQc1NYs1.js.map} +1 -1
  367. package/chunks/{bundle-BR3O1lZq.js → bundle-RBoKRbHz.js} +1 -1
  368. package/chunks/bundle-RBoKRbHz.js.map +1 -0
  369. package/chunks/{bundle-DCbJaskZ.js → bundle-c5KbzTiA.js} +3 -2
  370. package/chunks/bundle-c5KbzTiA.js.map +1 -0
  371. package/chunks/{bundle-Dskg5qjd.js → bundle-eHS4YF9i.js} +1 -1
  372. package/chunks/bundle-eHS4YF9i.js.map +1 -0
  373. package/chunks/bundle-hj-JCZtT.js +149 -0
  374. package/chunks/bundle-hj-JCZtT.js.map +1 -0
  375. package/chunks/{bundle-DvcOxLrR.js → bundle-i9LnR1n4.js} +3 -3
  376. package/chunks/bundle-i9LnR1n4.js.map +1 -0
  377. package/chunks/{bundle-CJBs1h8R.js → bundle-jlClj1B3.js} +16 -16
  378. package/chunks/{bundle-CJBs1h8R.js.map → bundle-jlClj1B3.js.map} +1 -1
  379. package/chunks/{bundle-jw_xHmHg.js → bundle-k2A_Dplg.js} +3 -2
  380. package/chunks/bundle-k2A_Dplg.js.map +1 -0
  381. package/chunks/bundle-m1et25Jg.js +2920 -0
  382. package/chunks/bundle-m1et25Jg.js.map +1 -0
  383. package/chunks/bundle-t7Yx3Waq.js +190 -0
  384. package/chunks/bundle-t7Yx3Waq.js.map +1 -0
  385. package/chunks/{bundle-CTE4m7bC.js → bundle-ur8S4QkK.js} +5 -5
  386. package/chunks/{bundle-CTE4m7bC.js.map → bundle-ur8S4QkK.js.map} +1 -1
  387. package/chunks/{bundle-_sFl37fA.js → bundle-zZfVGvhn.js} +6 -7
  388. package/{cjs/chunks/bundle-ChVeqDIG.js.map → chunks/bundle-zZfVGvhn.js.map} +1 -1
  389. package/cjs/App.js +116 -271
  390. package/cjs/App.js.map +1 -1
  391. package/cjs/Channel/components/ChannelHeader.js +32 -40
  392. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  393. package/cjs/Channel/components/ChannelUI.js +77 -76
  394. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  395. package/cjs/Channel/components/FileViewer.js +31 -35
  396. package/cjs/Channel/components/FileViewer.js.map +1 -1
  397. package/cjs/Channel/components/FrozenNotification.js +6 -5
  398. package/cjs/Channel/components/FrozenNotification.js.map +1 -1
  399. package/cjs/Channel/components/Message.js +68 -67
  400. package/cjs/Channel/components/Message.js.map +1 -1
  401. package/cjs/Channel/components/MessageInput.js +48 -50
  402. package/cjs/Channel/components/MessageInput.js.map +1 -1
  403. package/cjs/Channel/components/MessageInputWrapper.js +48 -50
  404. package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
  405. package/cjs/Channel/components/MessageList.js +74 -70
  406. package/cjs/Channel/components/MessageList.js.map +1 -1
  407. package/cjs/Channel/components/RemoveMessageModal.js +31 -36
  408. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  409. package/cjs/Channel/components/SuggestedMentionList.js +31 -41
  410. package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
  411. package/cjs/Channel/components/TypingIndicator.js +11 -7
  412. package/cjs/Channel/components/TypingIndicator.js.map +1 -1
  413. package/cjs/Channel/components/UnreadCount.js +8 -7
  414. package/cjs/Channel/components/UnreadCount.js.map +1 -1
  415. package/cjs/Channel/context.js +153 -121
  416. package/cjs/Channel/context.js.map +1 -1
  417. package/cjs/Channel/hooks/useHandleUploadFiles.js +21 -23
  418. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  419. package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
  420. package/cjs/Channel/utils/compareMessagesForGrouping.js +16 -18
  421. package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  422. package/cjs/Channel/utils/getMessagePartsInfo.js +13 -14
  423. package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
  424. package/cjs/Channel.js +77 -76
  425. package/cjs/Channel.js.map +1 -1
  426. package/cjs/ChannelList/components/AddChannel.js +216 -47
  427. package/cjs/ChannelList/components/AddChannel.js.map +1 -1
  428. package/cjs/ChannelList/components/ChannelListHeader.js +16 -11
  429. package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
  430. package/cjs/ChannelList/components/ChannelListUI.js +206 -139
  431. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  432. package/cjs/ChannelList/components/ChannelPreview.js +39 -41
  433. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  434. package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -18
  435. package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  436. package/cjs/ChannelList/context.js +14 -27
  437. package/cjs/ChannelList/context.js.map +1 -1
  438. package/cjs/ChannelList.js +213 -82
  439. package/cjs/ChannelList.js.map +1 -1
  440. package/cjs/ChannelSettings/components/ChannelProfile.js +28 -32
  441. package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
  442. package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
  443. package/cjs/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
  444. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
  445. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  446. package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
  447. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +48 -49
  448. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  449. package/cjs/ChannelSettings/components/EditDetailsModal.js +23 -31
  450. package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  451. package/cjs/ChannelSettings/components/LeaveChannel.js +25 -28
  452. package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
  453. package/cjs/ChannelSettings/components/ModerationPanel.js +33 -33
  454. package/cjs/ChannelSettings/components/UserListItem.js +26 -29
  455. package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
  456. package/cjs/ChannelSettings/components/UserPanel.js +34 -34
  457. package/cjs/ChannelSettings/context.js +14 -175
  458. package/cjs/ChannelSettings/context.js.map +1 -1
  459. package/cjs/ChannelSettings/hooks/useMenuList.js +33 -33
  460. package/cjs/ChannelSettings.js +53 -53
  461. package/cjs/CreateChannel/components/CreateChannelUI.js +215 -46
  462. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  463. package/cjs/CreateChannel/components/InviteUsers.js +216 -154
  464. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  465. package/cjs/CreateChannel/components/SelectChannelType.js +217 -86
  466. package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
  467. package/cjs/CreateChannel/context.js +225 -8
  468. package/cjs/CreateChannel/context.js.map +1 -1
  469. package/cjs/CreateChannel.js +214 -40
  470. package/cjs/CreateChannel.js.map +1 -1
  471. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
  472. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  473. package/cjs/CreateOpenChannel/context.js +9 -4
  474. package/cjs/CreateOpenChannel/context.js.map +1 -1
  475. package/cjs/CreateOpenChannel.js +16 -24
  476. package/cjs/CreateOpenChannel.js.map +1 -1
  477. package/cjs/EditUserProfile/components/EditUserProfileUI.js +27 -35
  478. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  479. package/cjs/EditUserProfile/context.js +1 -1
  480. package/cjs/EditUserProfile.js +16 -25
  481. package/cjs/EditUserProfile.js.map +1 -1
  482. package/cjs/GroupChannel/components/FileViewer.js +34 -36
  483. package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
  484. package/cjs/GroupChannel/components/FrozenNotification.js +6 -5
  485. package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
  486. package/cjs/GroupChannel/components/GroupChannelHeader.js +32 -38
  487. package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  488. package/cjs/GroupChannel/components/GroupChannelUI.js +74 -71
  489. package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
  490. package/cjs/GroupChannel/components/Message.js +67 -63
  491. package/cjs/GroupChannel/components/Message.js.map +1 -1
  492. package/cjs/GroupChannel/components/MessageInputWrapper.js +48 -47
  493. package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  494. package/cjs/GroupChannel/components/MessageList.js +75 -70
  495. package/cjs/GroupChannel/components/MessageList.js.map +1 -1
  496. package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -34
  497. package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  498. package/cjs/GroupChannel/components/SuggestedMentionList.js +18 -13
  499. package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  500. package/cjs/GroupChannel/components/TypingIndicator.js +14 -10
  501. package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -1
  502. package/cjs/GroupChannel/components/UnreadCount.js +8 -7
  503. package/cjs/GroupChannel/components/UnreadCount.js.map +1 -1
  504. package/cjs/GroupChannel/context.js +25 -520
  505. package/cjs/GroupChannel/context.js.map +1 -1
  506. package/cjs/GroupChannel.js +72 -69
  507. package/cjs/GroupChannel.js.map +1 -1
  508. package/cjs/GroupChannelList/components/AddGroupChannel.js +216 -47
  509. package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  510. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +17 -13
  511. package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  512. package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -40
  513. package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  514. package/cjs/GroupChannelList/components/GroupChannelListUI.js +213 -117
  515. package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  516. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
  517. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  518. package/cjs/GroupChannelList/context.js +19 -121
  519. package/cjs/GroupChannelList/context.js.map +1 -1
  520. package/cjs/GroupChannelList.js +211 -74
  521. package/cjs/GroupChannelList.js.map +1 -1
  522. package/cjs/MessageSearch/components/MessageSearchUI.js +24 -23
  523. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  524. package/cjs/MessageSearch/context.js +17 -285
  525. package/cjs/MessageSearch/context.js.map +1 -1
  526. package/cjs/MessageSearch.js +25 -21
  527. package/cjs/MessageSearch.js.map +1 -1
  528. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -4
  529. package/cjs/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
  530. package/cjs/OpenChannel/components/OpenChannelHeader.js +23 -29
  531. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  532. package/cjs/OpenChannel/components/OpenChannelInput.js +31 -33
  533. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  534. package/cjs/OpenChannel/components/OpenChannelMessage.js +45 -44
  535. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  536. package/cjs/OpenChannel/components/OpenChannelMessageList.js +54 -52
  537. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  538. package/cjs/OpenChannel/components/OpenChannelUI.js +49 -48
  539. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  540. package/cjs/OpenChannel/context.js +21 -27
  541. package/cjs/OpenChannel/context.js.map +1 -1
  542. package/cjs/OpenChannel.js +47 -46
  543. package/cjs/OpenChannel.js.map +1 -1
  544. package/cjs/OpenChannelList/components/OpenChannelListUI.js +20 -28
  545. package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  546. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
  547. package/cjs/OpenChannelList/context.js +9 -5
  548. package/cjs/OpenChannelList/context.js.map +1 -1
  549. package/cjs/OpenChannelList.js +18 -26
  550. package/cjs/OpenChannelList.js.map +1 -1
  551. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +23 -31
  552. package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  553. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
  554. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  555. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
  556. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  557. package/cjs/OpenChannelSettings/components/OperatorUI.js +37 -41
  558. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  559. package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -23
  560. package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  561. package/cjs/OpenChannelSettings/context.js +16 -35
  562. package/cjs/OpenChannelSettings/context.js.map +1 -1
  563. package/cjs/OpenChannelSettings.js +27 -28
  564. package/cjs/OpenChannelSettings.js.map +1 -1
  565. package/cjs/SendbirdProvider.js +486 -915
  566. package/cjs/SendbirdProvider.js.map +1 -1
  567. package/cjs/Thread/components/ParentMessageInfo.js +71 -68
  568. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  569. package/cjs/Thread/components/ParentMessageInfoItem.js +42 -39
  570. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  571. package/cjs/Thread/components/ThreadHeader.js +8 -7
  572. package/cjs/Thread/components/ThreadHeader.js.map +1 -1
  573. package/cjs/Thread/components/ThreadList.js +67 -63
  574. package/cjs/Thread/components/ThreadList.js.map +1 -1
  575. package/cjs/Thread/components/ThreadListItem.js +77 -76
  576. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  577. package/cjs/Thread/components/ThreadMessageInput.js +67 -67
  578. package/cjs/Thread/components/ThreadUI.js +74 -72
  579. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  580. package/cjs/Thread/context/types.js +0 -1
  581. package/cjs/Thread/context/types.js.map +1 -1
  582. package/cjs/Thread/context.js +26 -1337
  583. package/cjs/Thread/context.js.map +1 -1
  584. package/cjs/Thread.js +71 -69
  585. package/cjs/Thread.js.map +1 -1
  586. package/cjs/VoicePlayer/context.js +9 -6
  587. package/cjs/VoicePlayer/context.js.map +1 -1
  588. package/cjs/VoicePlayer/useVoicePlayer.js +18 -23
  589. package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
  590. package/cjs/VoiceRecorder/context.js +130 -25
  591. package/cjs/VoiceRecorder/context.js.map +1 -1
  592. package/cjs/VoiceRecorder/useVoiceRecorder.js +17 -23
  593. package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  594. package/cjs/chunks/{bundle-s1cLz65w.js → bundle-89fX6BxE.js} +1 -1
  595. package/cjs/chunks/bundle-89fX6BxE.js.map +1 -0
  596. package/cjs/chunks/{bundle-ByQJ042a.js → bundle-9_krLx4g.js} +1 -1
  597. package/cjs/chunks/bundle-9_krLx4g.js.map +1 -0
  598. package/cjs/chunks/bundle-9tkwiavu.js +76 -0
  599. package/cjs/chunks/bundle-9tkwiavu.js.map +1 -0
  600. package/cjs/chunks/{bundle-B5-vaN7x.js → bundle-AIWiAqMa.js} +17 -16
  601. package/cjs/chunks/{bundle-DeLEOQNO.js.map → bundle-AIWiAqMa.js.map} +1 -1
  602. package/cjs/chunks/{bundle-qMxPIH0k.js → bundle-B0eUHYFY.js} +6 -6
  603. package/cjs/chunks/bundle-B0eUHYFY.js.map +1 -0
  604. package/cjs/chunks/{bundle-BcIrmepz.js → bundle-B1kfg8W4.js} +1 -1
  605. package/cjs/chunks/bundle-B1kfg8W4.js.map +1 -0
  606. package/cjs/chunks/{bundle-BloKh_k7.js → bundle-B6qGo4m1.js} +1 -1
  607. package/cjs/chunks/bundle-B6qGo4m1.js.map +1 -0
  608. package/cjs/chunks/{bundle-DHPSwRDh.js → bundle-B9hMMeRS.js} +4 -4
  609. package/cjs/chunks/bundle-B9hMMeRS.js.map +1 -0
  610. package/cjs/chunks/{bundle-Cq5LKFhE.js → bundle-BDIgb36c.js} +7 -1
  611. package/cjs/chunks/bundle-BDIgb36c.js.map +1 -0
  612. package/cjs/chunks/{bundle-XANrnOqB.js → bundle-BETqmgP_.js} +1 -2
  613. package/cjs/chunks/bundle-BETqmgP_.js.map +1 -0
  614. package/cjs/chunks/{bundle-BA6Cum_9.js → bundle-BFcjbhNL.js} +3 -3
  615. package/cjs/chunks/{bundle-BA6Cum_9.js.map → bundle-BFcjbhNL.js.map} +1 -1
  616. package/cjs/chunks/bundle-BJftto_l.js +7 -0
  617. package/cjs/chunks/bundle-BJftto_l.js.map +1 -0
  618. package/cjs/chunks/bundle-BNJqog7S.js +217 -0
  619. package/{chunks/bundle-5-21Jk06.js.map → cjs/chunks/bundle-BNJqog7S.js.map} +1 -1
  620. package/cjs/chunks/{bundle-6UD0H-nz.js → bundle-BPPW92E3.js} +14 -14
  621. package/cjs/chunks/bundle-BPPW92E3.js.map +1 -0
  622. package/cjs/chunks/{bundle-D1slQ3hS.js → bundle-BPkbLqnu.js} +1 -1
  623. package/cjs/chunks/bundle-BPkbLqnu.js.map +1 -0
  624. package/cjs/chunks/{bundle-BpThX3wu.js → bundle-BRCUEZkM.js} +5 -5
  625. package/{chunks/bundle-BI2YMBw_.js.map → cjs/chunks/bundle-BRCUEZkM.js.map} +1 -1
  626. package/cjs/chunks/{bundle-DX3sBwvt.js → bundle-BT0N2gkH.js} +29 -25
  627. package/{chunks/bundle-MyLy9AIu.js.map → cjs/chunks/bundle-BT0N2gkH.js.map} +1 -1
  628. package/cjs/chunks/{bundle-BZd597ep.js → bundle-BT4XFhDb.js} +1 -1
  629. package/cjs/chunks/bundle-BT4XFhDb.js.map +1 -0
  630. package/cjs/chunks/bundle-BVPusRwU.js +187 -0
  631. package/cjs/chunks/bundle-BVPusRwU.js.map +1 -0
  632. package/cjs/chunks/{bundle-LNbeYHuL.js → bundle-BX-bINZz.js} +24 -24
  633. package/cjs/chunks/{bundle-LNbeYHuL.js.map → bundle-BX-bINZz.js.map} +1 -1
  634. package/cjs/chunks/{bundle-m5OpCHlj.js → bundle-Baj1zcQe.js} +8 -22
  635. package/cjs/chunks/bundle-Baj1zcQe.js.map +1 -0
  636. package/cjs/chunks/{bundle-DTD48j2K.js → bundle-BauO6Klm.js} +7 -17
  637. package/cjs/chunks/bundle-BauO6Klm.js.map +1 -0
  638. package/cjs/chunks/{bundle-Aw-PHA-I.js → bundle-BbTEVoxS.js} +1 -1
  639. package/cjs/chunks/bundle-BbTEVoxS.js.map +1 -0
  640. package/cjs/chunks/bundle-BgQpYkVd.js +263 -0
  641. package/cjs/chunks/bundle-BgQpYkVd.js.map +1 -0
  642. package/cjs/chunks/{bundle-BbpZ1Xe-.js → bundle-BhqxNcA7.js} +2 -2
  643. package/cjs/chunks/{bundle-BbpZ1Xe-.js.map → bundle-BhqxNcA7.js.map} +1 -1
  644. package/cjs/chunks/{bundle-DuSS5Dmw.js → bundle-BlmK-5Zz.js} +1 -1
  645. package/cjs/chunks/bundle-BlmK-5Zz.js.map +1 -0
  646. package/cjs/chunks/{bundle-DkDRIPJe.js → bundle-BptOxtGN.js} +6 -5
  647. package/cjs/chunks/bundle-BptOxtGN.js.map +1 -0
  648. package/cjs/chunks/bundle-BreESs72.js +672 -0
  649. package/cjs/chunks/bundle-BreESs72.js.map +1 -0
  650. package/cjs/chunks/{bundle-DVc6YedH.js → bundle-Bt94Y5zF.js} +4 -4
  651. package/cjs/chunks/bundle-Bt94Y5zF.js.map +1 -0
  652. package/cjs/chunks/{bundle-YTiDKoON.js → bundle-BtQOYbDr.js} +1 -1
  653. package/cjs/chunks/bundle-BtQOYbDr.js.map +1 -0
  654. package/cjs/chunks/bundle-BxRRC13A.js +40 -0
  655. package/cjs/chunks/bundle-BxRRC13A.js.map +1 -0
  656. package/cjs/chunks/{bundle-C3_KfqSN.js → bundle-BzLDYrps.js} +1 -1
  657. package/cjs/chunks/bundle-BzLDYrps.js.map +1 -0
  658. package/cjs/chunks/{bundle-BFFRQpby.js → bundle-C1XBtmxo.js} +8 -8
  659. package/cjs/chunks/bundle-C1XBtmxo.js.map +1 -0
  660. package/cjs/chunks/{bundle-Bua7cUR6.js → bundle-CIv79KtD.js} +16 -16
  661. package/cjs/chunks/{bundle-Bua7cUR6.js.map → bundle-CIv79KtD.js.map} +1 -1
  662. package/cjs/chunks/{bundle-bfd2VoyQ.js → bundle-CJLuEmh0.js} +26 -25
  663. package/cjs/chunks/{bundle-bfd2VoyQ.js.map → bundle-CJLuEmh0.js.map} +1 -1
  664. package/cjs/chunks/{bundle-B0uIbH1T.js → bundle-CK1N-Lna.js} +4 -19
  665. package/cjs/chunks/bundle-CK1N-Lna.js.map +1 -0
  666. package/cjs/chunks/{bundle-D4NkDFD-.js → bundle-CKctMt7s.js} +11 -10
  667. package/cjs/chunks/{bundle-sZREfKpL.js.map → bundle-CKctMt7s.js.map} +1 -1
  668. package/cjs/chunks/bundle-CPmEIY0J.js +1119 -0
  669. package/cjs/chunks/bundle-CPmEIY0J.js.map +1 -0
  670. package/cjs/chunks/{bundle-DUanoG7J.js → bundle-CTa0qp2J.js} +5 -5
  671. package/cjs/chunks/bundle-CTa0qp2J.js.map +1 -0
  672. package/cjs/chunks/{bundle-CNvRk1Z6.js → bundle-CVshjFAv.js} +1 -1
  673. package/cjs/chunks/bundle-CVshjFAv.js.map +1 -0
  674. package/cjs/chunks/{bundle-DeLEOQNO.js → bundle-C_Lbwszw.js} +5 -5
  675. package/cjs/chunks/{bundle-B5-vaN7x.js.map → bundle-C_Lbwszw.js.map} +1 -1
  676. package/cjs/chunks/{bundle-BfjugOIp.js → bundle-CayzfAtS.js} +4 -4
  677. package/cjs/chunks/bundle-CayzfAtS.js.map +1 -0
  678. package/cjs/chunks/bundle-Cbdc9ZJY.js +201 -0
  679. package/cjs/chunks/bundle-Cbdc9ZJY.js.map +1 -0
  680. package/cjs/chunks/{bundle-BSfpBazH.js → bundle-CcGys-84.js} +3 -3
  681. package/cjs/chunks/bundle-CcGys-84.js.map +1 -0
  682. package/cjs/chunks/{bundle-BAF8GaDh.js → bundle-Cgx64DbJ.js} +1 -1
  683. package/cjs/chunks/bundle-Cgx64DbJ.js.map +1 -0
  684. package/cjs/chunks/{bundle-D-kYFL1Z.js → bundle-CkXIqGZB.js} +1 -1
  685. package/cjs/chunks/bundle-CkXIqGZB.js.map +1 -0
  686. package/cjs/chunks/bundle-CmF5XsRI.js +270 -0
  687. package/cjs/chunks/bundle-CmF5XsRI.js.map +1 -0
  688. package/cjs/chunks/{bundle-BOCivP7e.js → bundle-CmJi_0Nb.js} +2 -2
  689. package/cjs/chunks/bundle-CmJi_0Nb.js.map +1 -0
  690. package/cjs/chunks/{bundle-QF_AmnwV.js → bundle-CqCReWdH.js} +8 -7
  691. package/cjs/chunks/{bundle-D4NkDFD-.js.map → bundle-CqCReWdH.js.map} +1 -1
  692. package/cjs/chunks/{bundle-n_Z6yPjx.js → bundle-CsoIWjn3.js} +6 -7
  693. package/cjs/chunks/bundle-CsoIWjn3.js.map +1 -0
  694. package/cjs/chunks/{bundle-sZREfKpL.js → bundle-Csp1LbIg.js} +7 -6
  695. package/{chunks/bundle-C6-Ix-Lk.js.map → cjs/chunks/bundle-Csp1LbIg.js.map} +1 -1
  696. package/cjs/chunks/bundle-Ctgz-ey7.js +761 -0
  697. package/cjs/chunks/bundle-Ctgz-ey7.js.map +1 -0
  698. package/cjs/chunks/{bundle-Bu4cmOCm.js → bundle-D-ZoYmRl.js} +1 -1
  699. package/cjs/chunks/bundle-D-ZoYmRl.js.map +1 -0
  700. package/cjs/chunks/{bundle-JpIugjtL.js → bundle-D07kXU0F.js} +3 -3
  701. package/cjs/chunks/bundle-D07kXU0F.js.map +1 -0
  702. package/cjs/chunks/{bundle-B5aEwfu1.js → bundle-D0lw9Bpa.js} +1 -1
  703. package/cjs/chunks/bundle-D0lw9Bpa.js.map +1 -0
  704. package/cjs/chunks/{bundle-D30swLTX.js → bundle-D1THQ7gU.js} +3 -3
  705. package/cjs/chunks/bundle-D1THQ7gU.js.map +1 -0
  706. package/cjs/chunks/{bundle-DpyxKl7F.js → bundle-D6K2mhIo.js} +16 -20
  707. package/{chunks/bundle-3aUfVJHj.js.map → cjs/chunks/bundle-D6K2mhIo.js.map} +1 -1
  708. package/cjs/chunks/{bundle-DYjhaLRW.js → bundle-D6rmjKfk.js} +9 -7
  709. package/cjs/chunks/bundle-D6rmjKfk.js.map +1 -0
  710. package/{chunks/bundle-CIN9yQRB.js → cjs/chunks/bundle-D8Y4YVC3.js} +3 -22
  711. package/cjs/chunks/{bundle-DE5YH8Q-.js.map → bundle-D8Y4YVC3.js.map} +1 -1
  712. package/cjs/chunks/{bundle-DWfeFlxG.js → bundle-DB7AA9OZ.js} +1 -1
  713. package/cjs/chunks/bundle-DB7AA9OZ.js.map +1 -0
  714. package/cjs/chunks/{bundle-CuWm0vby.js → bundle-DFU6GAqv.js} +1 -1
  715. package/cjs/chunks/{bundle-CuWm0vby.js.map → bundle-DFU6GAqv.js.map} +1 -1
  716. package/cjs/chunks/{bundle-COBYaK8T.js → bundle-DGGbCcCF.js} +4 -4
  717. package/cjs/chunks/{bundle-COBYaK8T.js.map → bundle-DGGbCcCF.js.map} +1 -1
  718. package/cjs/chunks/{bundle-Khwf-z37.js → bundle-DGGi0jBz.js} +9 -9
  719. package/cjs/chunks/bundle-DGGi0jBz.js.map +1 -0
  720. package/cjs/chunks/{bundle-XxCVYLKy.js → bundle-DHln-sDF.js} +8 -9
  721. package/cjs/chunks/bundle-DHln-sDF.js.map +1 -0
  722. package/cjs/chunks/bundle-DKTpL0g1.js +32 -0
  723. package/cjs/chunks/bundle-DKTpL0g1.js.map +1 -0
  724. package/cjs/chunks/{bundle-A5UoPEJO.js → bundle-DNSLlJbl.js} +4 -4
  725. package/cjs/chunks/bundle-DNSLlJbl.js.map +1 -0
  726. package/cjs/chunks/{bundle-DL3fuSPu.js → bundle-DQuGiR7V.js} +1 -1
  727. package/cjs/chunks/bundle-DQuGiR7V.js.map +1 -0
  728. package/cjs/chunks/{bundle-BL1sGjVd.js → bundle-DY7vPqdQ.js} +1 -1
  729. package/cjs/chunks/bundle-DY7vPqdQ.js.map +1 -0
  730. package/cjs/chunks/bundle-DYhBZd6j.js +152 -0
  731. package/cjs/chunks/bundle-DYhBZd6j.js.map +1 -0
  732. package/cjs/chunks/{bundle-Clz7RiTn.js → bundle-DeK5VJQG.js} +1 -1
  733. package/cjs/chunks/bundle-DeK5VJQG.js.map +1 -0
  734. package/cjs/chunks/{bundle-Bhf_RRfA.js → bundle-DeUnCD5j.js} +1 -1
  735. package/cjs/chunks/bundle-DeUnCD5j.js.map +1 -0
  736. package/cjs/chunks/{bundle-vf5ayidG.js → bundle-Dj5V094j.js} +17 -17
  737. package/cjs/chunks/{bundle-vf5ayidG.js.map → bundle-Dj5V094j.js.map} +1 -1
  738. package/cjs/chunks/{bundle-DzEGN4bG.js → bundle-Dk0-umQd.js} +1 -1
  739. package/cjs/chunks/bundle-Dk0-umQd.js.map +1 -0
  740. package/cjs/chunks/{bundle-nWxq3V_Q.js → bundle-DmbYmCTt.js} +3 -3
  741. package/cjs/chunks/bundle-DmbYmCTt.js.map +1 -0
  742. package/cjs/chunks/{bundle-B3LOu7kN.js → bundle-DxdlR74x.js} +4 -3
  743. package/cjs/chunks/bundle-DxdlR74x.js.map +1 -0
  744. package/cjs/chunks/{bundle-D6fimwV5.js → bundle-DyKOhVHq.js} +8 -8
  745. package/cjs/chunks/bundle-DyKOhVHq.js.map +1 -0
  746. package/cjs/chunks/{bundle-BOSyMutC.js → bundle-DzDaD05v.js} +2 -2
  747. package/cjs/chunks/{bundle-BOSyMutC.js.map → bundle-DzDaD05v.js.map} +1 -1
  748. package/cjs/chunks/{bundle-DHZYT5M_.js → bundle-DzywW4aT.js} +1 -1
  749. package/cjs/chunks/bundle-DzywW4aT.js.map +1 -0
  750. package/cjs/chunks/bundle-G3zxoxUu.js +11 -0
  751. package/cjs/chunks/bundle-G3zxoxUu.js.map +1 -0
  752. package/cjs/chunks/{bundle-Bc_sQb3i.js → bundle-Kcs0P7Bk.js} +5 -5
  753. package/cjs/chunks/bundle-Kcs0P7Bk.js.map +1 -0
  754. package/cjs/chunks/bundle-LSngpiw3.js +2932 -0
  755. package/cjs/chunks/bundle-LSngpiw3.js.map +1 -0
  756. package/cjs/chunks/{bundle-Dq5LRxGL.js → bundle-QCztkj4c.js} +11 -10
  757. package/cjs/chunks/bundle-QCztkj4c.js.map +1 -0
  758. package/cjs/chunks/{bundle-ChVeqDIG.js → bundle-QoSUa8d1.js} +13 -13
  759. package/{chunks/bundle-_sFl37fA.js.map → cjs/chunks/bundle-QoSUa8d1.js.map} +1 -1
  760. package/cjs/chunks/{bundle-WqJcr9PX.js → bundle-aZt_yr7x.js} +4 -4
  761. package/cjs/chunks/{bundle-WqJcr9PX.js.map → bundle-aZt_yr7x.js.map} +1 -1
  762. package/cjs/chunks/{bundle-DmO3Qtot.js → bundle-es5xApqy.js} +1 -1
  763. package/cjs/chunks/{bundle-DmO3Qtot.js.map → bundle-es5xApqy.js.map} +1 -1
  764. package/cjs/chunks/{bundle-R7sVfaA9.js → bundle-jKIGkHX-.js} +9 -8
  765. package/cjs/chunks/bundle-jKIGkHX-.js.map +1 -0
  766. package/cjs/chunks/{bundle-ChDTEa9-.js → bundle-lK-G2WrJ.js} +1 -1
  767. package/cjs/chunks/bundle-lK-G2WrJ.js.map +1 -0
  768. package/cjs/chunks/{bundle-CfUeEOi0.js → bundle-nScEwTro.js} +14 -14
  769. package/cjs/chunks/bundle-nScEwTro.js.map +1 -0
  770. package/cjs/chunks/{bundle-S-XkXH4q.js → bundle-r0O7RuH2.js} +2 -2
  771. package/cjs/chunks/bundle-r0O7RuH2.js.map +1 -0
  772. package/cjs/chunks/{bundle-B2zio8XF.js → bundle-vqTlMP2p.js} +1 -1
  773. package/cjs/chunks/bundle-vqTlMP2p.js.map +1 -0
  774. package/cjs/chunks/{bundle-BBgc3koD.js → bundle-ysciuVYD.js} +15 -14
  775. package/cjs/chunks/{bundle-BBgc3koD.js.map → bundle-ysciuVYD.js.map} +1 -1
  776. package/cjs/hooks/useConnectionState.js +8 -5
  777. package/cjs/hooks/useConnectionState.js.map +1 -1
  778. package/cjs/hooks/useLocalization.js +4 -3
  779. package/cjs/hooks/useLocalization.js.map +1 -1
  780. package/cjs/hooks/useModal.js +56 -24
  781. package/cjs/hooks/useModal.js.map +1 -1
  782. package/cjs/index.js +119 -127
  783. package/cjs/index.js.map +1 -1
  784. package/cjs/pubSub/topics.js +1 -1
  785. package/cjs/sendbirdSelectors.js +3 -3
  786. package/cjs/ui/Accordion.js +2 -2
  787. package/cjs/ui/AccordionGroup.js +1 -1
  788. package/cjs/ui/AdminMessage.js +3 -3
  789. package/cjs/ui/Avatar.js +4 -4
  790. package/cjs/ui/Badge.js +5 -4
  791. package/cjs/ui/Badge.js.map +1 -1
  792. package/cjs/ui/BottomSheet.js +19 -25
  793. package/cjs/ui/BottomSheet.js.map +1 -1
  794. package/cjs/ui/Button.js +3 -3
  795. package/cjs/ui/ChannelAvatar.js +5 -5
  796. package/cjs/ui/ConnectionStatus.js +6 -5
  797. package/cjs/ui/ConnectionStatus.js.map +1 -1
  798. package/cjs/ui/ContextMenu.js +16 -14
  799. package/cjs/ui/ContextMenu.js.map +1 -1
  800. package/cjs/ui/DateSeparator.js +4 -4
  801. package/cjs/ui/EmojiReactions.js +27 -28
  802. package/cjs/ui/EmojiReactions.js.map +1 -1
  803. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
  804. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  805. package/cjs/ui/FileMessageItemBody.js +20 -16
  806. package/cjs/ui/FileMessageItemBody.js.map +1 -1
  807. package/cjs/ui/FileViewer.js +22 -23
  808. package/cjs/ui/FileViewer.js.map +1 -1
  809. package/cjs/ui/Header.js +6 -6
  810. package/cjs/ui/Icon.js +2 -2
  811. package/cjs/ui/IconButton.js +1 -1
  812. package/cjs/ui/ImageRenderer.js +2 -2
  813. package/cjs/ui/Input.js +3 -3
  814. package/cjs/ui/Label.js +3 -3
  815. package/cjs/ui/LinkLabel.js +4 -4
  816. package/cjs/ui/Loader.js +2 -2
  817. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
  818. package/cjs/ui/MentionLabel.js +24 -27
  819. package/cjs/ui/MentionLabel.js.map +1 -1
  820. package/cjs/ui/MentionUserLabel.js +2 -2
  821. package/cjs/ui/MessageContent.js +48 -45
  822. package/cjs/ui/MessageContent.js.map +1 -1
  823. package/cjs/ui/MessageFeedbackFailedModal.js +15 -22
  824. package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
  825. package/cjs/ui/MessageFeedbackModal.js +15 -22
  826. package/cjs/ui/MessageFeedbackModal.js.map +1 -1
  827. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
  828. package/cjs/ui/MessageInput.js +26 -22
  829. package/cjs/ui/MessageInput.js.map +1 -1
  830. package/cjs/ui/MessageItemMenu.js +15 -13
  831. package/cjs/ui/MessageItemMenu.js.map +1 -1
  832. package/cjs/ui/MessageItemReactionMenu.js +16 -14
  833. package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
  834. package/cjs/ui/MessageMenu.js +17 -15
  835. package/cjs/ui/MessageMenu.js.map +1 -1
  836. package/cjs/ui/MessageSearchFileItem.js +17 -15
  837. package/cjs/ui/MessageSearchFileItem.js.map +1 -1
  838. package/cjs/ui/MessageSearchItem.js +12 -11
  839. package/cjs/ui/MessageSearchItem.js.map +1 -1
  840. package/cjs/ui/MessageStatus.js +15 -13
  841. package/cjs/ui/MessageStatus.js.map +1 -1
  842. package/cjs/ui/MessageTemplate.js +1 -1
  843. package/cjs/ui/MobileFeedbackMenu.js +15 -21
  844. package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
  845. package/cjs/ui/MobileMenu.js +21 -23
  846. package/cjs/ui/MobileMenu.js.map +1 -1
  847. package/cjs/ui/Modal.js +13 -21
  848. package/cjs/ui/Modal.js.map +1 -1
  849. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  850. package/cjs/ui/OGMessageItemBody.js +24 -26
  851. package/cjs/ui/OGMessageItemBody.js.map +1 -1
  852. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  853. package/cjs/ui/OpenChannelAvatar.js +8 -7
  854. package/cjs/ui/OpenChannelAvatar.js.map +1 -1
  855. package/cjs/ui/OpenchannelConversationHeader.js +8 -7
  856. package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
  857. package/cjs/ui/OpenchannelFileMessage.js +24 -26
  858. package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
  859. package/cjs/ui/OpenchannelOGMessage.js +26 -28
  860. package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
  861. package/cjs/ui/OpenchannelThumbnailMessage.js +23 -25
  862. package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
  863. package/cjs/ui/OpenchannelUserMessage.js +25 -27
  864. package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
  865. package/cjs/ui/PlaceHolder.js +6 -5
  866. package/cjs/ui/PlaceHolder.js.map +1 -1
  867. package/cjs/ui/PlaybackTime.js +3 -3
  868. package/cjs/ui/ProgressBar.js +1 -1
  869. package/cjs/ui/QuoteMessage.js +12 -10
  870. package/cjs/ui/QuoteMessage.js.map +1 -1
  871. package/cjs/ui/QuoteMessageInput.js +12 -10
  872. package/cjs/ui/QuoteMessageInput.js.map +1 -1
  873. package/cjs/ui/ReactionBadge.js +3 -3
  874. package/cjs/ui/ReactionButton.js +4 -4
  875. package/cjs/ui/SortByRow.js +2 -2
  876. package/cjs/ui/TemplateMessageItemBody.js +21 -17
  877. package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
  878. package/cjs/ui/TextButton.js +2 -2
  879. package/cjs/ui/TextMessageItemBody.js +24 -27
  880. package/cjs/ui/TextMessageItemBody.js.map +1 -1
  881. package/cjs/ui/ThreadReplies.js +8 -7
  882. package/cjs/ui/ThreadReplies.js.map +1 -1
  883. package/cjs/ui/ThumbnailMessageItemBody.js +10 -9
  884. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  885. package/cjs/ui/Toggle.js +8 -5
  886. package/cjs/ui/Toggle.js.map +1 -1
  887. package/cjs/ui/Tooltip.js +3 -3
  888. package/cjs/ui/TooltipWrapper.js +1 -1
  889. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  890. package/cjs/ui/UnknownMessageItemBody.js +10 -8
  891. package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
  892. package/cjs/ui/UserListItem.js +28 -31
  893. package/cjs/ui/UserListItem.js.map +1 -1
  894. package/cjs/ui/UserListItemMenu.js +17 -15
  895. package/cjs/ui/UserListItemMenu.js.map +1 -1
  896. package/cjs/ui/UserProfile.js +19 -32
  897. package/cjs/ui/UserProfile.js.map +1 -1
  898. package/cjs/ui/VoiceMessageInput.js +9 -8
  899. package/cjs/ui/VoiceMessageInput.js.map +1 -1
  900. package/cjs/ui/VoiceMessageItemBody.js +16 -21
  901. package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
  902. package/cjs/ui/Word.js +21 -24
  903. package/cjs/ui/Word.js.map +1 -1
  904. package/cjs/utils/message/isVoiceMessage.js +6 -5
  905. package/cjs/utils/message/isVoiceMessage.js.map +1 -1
  906. package/dist/index.css +113 -113
  907. package/hooks/useConnectionState.js +8 -5
  908. package/hooks/useConnectionState.js.map +1 -1
  909. package/hooks/useLocalization.js +4 -3
  910. package/hooks/useLocalization.js.map +1 -1
  911. package/hooks/useModal.js +55 -22
  912. package/hooks/useModal.js.map +1 -1
  913. package/index.js +116 -125
  914. package/index.js.map +1 -1
  915. package/package.json +15 -33
  916. package/pubSub/topics.js +1 -1
  917. package/sendbirdSelectors.js +3 -3
  918. package/types/hooks/useDeepCompareEffect.d.ts +24 -0
  919. package/types/hooks/useStore.d.ts +14 -0
  920. package/types/hooks/useThrottleCallback.d.ts +0 -7
  921. package/types/index.d.ts +3 -2
  922. package/types/lib/MediaQueryContext.d.ts +1 -1
  923. package/types/lib/Sendbird/context/SendbirdContext.d.ts +18 -0
  924. package/types/lib/Sendbird/context/SendbirdProvider.d.ts +4 -0
  925. package/types/lib/Sendbird/context/hooks/useSendbird.d.ts +32 -0
  926. package/types/lib/Sendbird/context/hooks/useSendbirdStateContext.d.ts +3 -0
  927. package/types/lib/Sendbird/context/initialState.d.ts +2 -0
  928. package/types/lib/Sendbird/index.d.ts +16 -0
  929. package/types/lib/{types.d.ts → Sendbird/types.d.ts} +167 -102
  930. package/types/lib/Sendbird/utils.d.ts +28 -0
  931. package/types/lib/emojiManager.d.ts +2 -3
  932. package/types/lib/hooks/schedulerFactory.d.ts +1 -1
  933. package/types/lib/hooks/useMarkAsDeliveredScheduler.d.ts +1 -1
  934. package/types/lib/hooks/useMarkAsReadScheduler.d.ts +1 -1
  935. package/types/lib/hooks/useMessageTemplateUtils.d.ts +10 -5
  936. package/types/lib/selectors.d.ts +37 -37
  937. package/types/lib/utils/uikitConfigMapper.d.ts +1 -1
  938. package/types/modules/App/types.d.ts +1 -1
  939. package/types/modules/Channel/context/hooks/useGetChannel.d.ts +1 -1
  940. package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +1 -1
  941. package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -2
  942. package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +1 -2
  943. package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +1 -1
  944. package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +1 -1
  945. package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
  946. package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
  947. package/types/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +1 -1
  948. package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
  949. package/types/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +16 -8
  950. package/types/modules/Channel/context/utils.d.ts +1 -1
  951. package/types/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +1 -2
  952. package/types/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +1 -1
  953. package/types/modules/ChannelList/utils.d.ts +1 -1
  954. package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
  955. package/types/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +1 -1
  956. package/types/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +1 -1
  957. package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +23 -38
  958. package/types/modules/ChannelSettings/context/hooks/useChannelHandler.d.ts +10 -0
  959. package/types/modules/ChannelSettings/context/hooks/useSetChannel.d.ts +10 -0
  960. package/types/modules/ChannelSettings/context/index.d.ts +3 -0
  961. package/types/modules/ChannelSettings/context/types.d.ts +40 -0
  962. package/types/modules/ChannelSettings/context/useChannelSettings.d.ts +11 -0
  963. package/types/modules/ChannelSettings/index.d.ts +1 -1
  964. package/types/modules/CreateChannel/components/InviteUsers/utils.d.ts +1 -1
  965. package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +36 -9
  966. package/types/modules/CreateChannel/context/index.d.ts +2 -0
  967. package/types/modules/CreateChannel/context/useCreateChannel.d.ts +11 -0
  968. package/types/modules/CreateChannel/utils.d.ts +1 -1
  969. package/types/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +1 -2
  970. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +1 -1
  971. package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +1 -1
  972. package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -1
  973. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +64 -55
  974. package/types/modules/GroupChannel/context/hooks/useGroupChannel.d.ts +23 -0
  975. package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +4 -10
  976. package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +0 -2
  977. package/types/modules/GroupChannel/context/index.d.ts +2 -0
  978. package/types/modules/GroupChannel/context/types.d.ts +80 -0
  979. package/types/modules/GroupChannel/index.d.ts +1 -1
  980. package/types/modules/GroupChannelList/context/GroupChannelListProvider.d.ts +36 -4
  981. package/types/modules/GroupChannelList/context/index.d.ts +2 -0
  982. package/types/modules/GroupChannelList/context/useGroupChannelList.d.ts +8 -0
  983. package/types/modules/Message/hooks/useDirtyGetMentions.d.ts +1 -1
  984. package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +51 -24
  985. package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +2 -8
  986. package/types/modules/MessageSearch/context/hooks/useMessageSearch.d.ts +21 -0
  987. package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +2 -9
  988. package/types/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +1 -7
  989. package/types/modules/MessageSearch/context/hooks/useSetChannel.d.ts +2 -7
  990. package/types/modules/MessageSearch/context/index.d.ts +2 -0
  991. package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
  992. package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -3
  993. package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -2
  994. package/types/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +1 -1
  995. package/types/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +1 -1
  996. package/types/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +1 -2
  997. package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -2
  998. package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -2
  999. package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +1 -1
  1000. package/types/modules/OpenChannel/context/utils.d.ts +1 -1
  1001. package/types/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +1 -1
  1002. package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -2
  1003. package/types/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +1 -1
  1004. package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -2
  1005. package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -2
  1006. package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +1 -1
  1007. package/types/modules/Thread/context/ThreadProvider.d.ts +110 -22
  1008. package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +4 -3
  1009. package/types/modules/Thread/context/hooks/useGetAllEmoji.d.ts +2 -4
  1010. package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -7
  1011. package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +2 -4
  1012. package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +2 -4
  1013. package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -3
  1014. package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +5 -3
  1015. package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +4 -3
  1016. package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +4 -3
  1017. package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +4 -3
  1018. package/types/modules/Thread/context/hooks/useSetCurrentUserId.d.ts +6 -0
  1019. package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +14 -7
  1020. package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +1 -1
  1021. package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +4 -3
  1022. package/types/modules/Thread/context/index.d.ts +2 -0
  1023. package/types/modules/Thread/context/useThread.d.ts +64 -0
  1024. package/types/modules/Thread/types.d.ts +8 -0
  1025. package/types/ui/FileMessageItemBody/index.d.ts +1 -1
  1026. package/types/ui/MessageContent/MessageBody/index.d.ts +3 -3
  1027. package/types/ui/MessageContent/index.d.ts +1 -1
  1028. package/types/ui/MessageInput/messageInputUtils.d.ts +3 -3
  1029. package/types/ui/MultipleFilesMessageItemBody/index.d.ts +1 -1
  1030. package/types/utils/color.d.ts +0 -1
  1031. package/types/utils/compressImages.d.ts +1 -2
  1032. package/types/utils/getIsReactionEnabled.d.ts +2 -2
  1033. package/types/utils/index.d.ts +2 -26
  1034. package/types/utils/messages.d.ts +7 -6
  1035. package/types/utils/storeManager.d.ts +10 -0
  1036. package/types/utils/utils.d.ts +5 -0
  1037. package/ui/Accordion.js +2 -2
  1038. package/ui/AccordionGroup.js +1 -1
  1039. package/ui/AdminMessage.js +3 -3
  1040. package/ui/Avatar.js +4 -4
  1041. package/ui/Badge.js +5 -4
  1042. package/ui/Badge.js.map +1 -1
  1043. package/ui/BottomSheet.js +19 -25
  1044. package/ui/BottomSheet.js.map +1 -1
  1045. package/ui/Button.js +3 -3
  1046. package/ui/ChannelAvatar.js +5 -5
  1047. package/ui/ConnectionStatus.js +6 -5
  1048. package/ui/ConnectionStatus.js.map +1 -1
  1049. package/ui/ContextMenu.js +16 -14
  1050. package/ui/ContextMenu.js.map +1 -1
  1051. package/ui/DateSeparator.js +4 -4
  1052. package/ui/EmojiReactions.js +26 -27
  1053. package/ui/EmojiReactions.js.map +1 -1
  1054. package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
  1055. package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  1056. package/ui/FileMessageItemBody.js +20 -16
  1057. package/ui/FileMessageItemBody.js.map +1 -1
  1058. package/ui/FileViewer.js +22 -23
  1059. package/ui/FileViewer.js.map +1 -1
  1060. package/ui/Header.js +6 -6
  1061. package/ui/Icon.js +2 -2
  1062. package/ui/IconButton.js +1 -1
  1063. package/ui/ImageRenderer.js +2 -2
  1064. package/ui/Input.js +3 -3
  1065. package/ui/Label.js +3 -3
  1066. package/ui/LinkLabel.js +4 -4
  1067. package/ui/Loader.js +2 -2
  1068. package/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
  1069. package/ui/MentionLabel.js +24 -27
  1070. package/ui/MentionLabel.js.map +1 -1
  1071. package/ui/MentionUserLabel.js +2 -2
  1072. package/ui/MessageContent.js +48 -45
  1073. package/ui/MessageContent.js.map +1 -1
  1074. package/ui/MessageFeedbackFailedModal.js +15 -22
  1075. package/ui/MessageFeedbackFailedModal.js.map +1 -1
  1076. package/ui/MessageFeedbackModal.js +15 -22
  1077. package/ui/MessageFeedbackModal.js.map +1 -1
  1078. package/ui/MessageInput/hooks/usePaste.js +7 -7
  1079. package/ui/MessageInput.js +24 -20
  1080. package/ui/MessageInput.js.map +1 -1
  1081. package/ui/MessageItemMenu.js +15 -13
  1082. package/ui/MessageItemMenu.js.map +1 -1
  1083. package/ui/MessageItemReactionMenu.js +16 -14
  1084. package/ui/MessageItemReactionMenu.js.map +1 -1
  1085. package/ui/MessageMenu.js +17 -15
  1086. package/ui/MessageMenu.js.map +1 -1
  1087. package/ui/MessageSearchFileItem.js +17 -15
  1088. package/ui/MessageSearchFileItem.js.map +1 -1
  1089. package/ui/MessageSearchItem.js +12 -11
  1090. package/ui/MessageSearchItem.js.map +1 -1
  1091. package/ui/MessageStatus.js +15 -13
  1092. package/ui/MessageStatus.js.map +1 -1
  1093. package/ui/MessageTemplate.js +1 -1
  1094. package/ui/MobileFeedbackMenu.js +15 -21
  1095. package/ui/MobileFeedbackMenu.js.map +1 -1
  1096. package/ui/MobileMenu.js +21 -23
  1097. package/ui/MobileMenu.js.map +1 -1
  1098. package/ui/Modal.js +13 -21
  1099. package/ui/Modal.js.map +1 -1
  1100. package/ui/MutedAvatarOverlay.js +2 -2
  1101. package/ui/OGMessageItemBody.js +24 -26
  1102. package/ui/OGMessageItemBody.js.map +1 -1
  1103. package/ui/OpenChannelAdminMessage.js +3 -3
  1104. package/ui/OpenChannelAvatar.js +8 -7
  1105. package/ui/OpenChannelAvatar.js.map +1 -1
  1106. package/ui/OpenchannelConversationHeader.js +8 -7
  1107. package/ui/OpenchannelConversationHeader.js.map +1 -1
  1108. package/ui/OpenchannelFileMessage.js +24 -26
  1109. package/ui/OpenchannelFileMessage.js.map +1 -1
  1110. package/ui/OpenchannelOGMessage.js +26 -28
  1111. package/ui/OpenchannelOGMessage.js.map +1 -1
  1112. package/ui/OpenchannelThumbnailMessage.js +23 -25
  1113. package/ui/OpenchannelThumbnailMessage.js.map +1 -1
  1114. package/ui/OpenchannelUserMessage.js +25 -27
  1115. package/ui/OpenchannelUserMessage.js.map +1 -1
  1116. package/ui/PlaceHolder.js +6 -5
  1117. package/ui/PlaceHolder.js.map +1 -1
  1118. package/ui/PlaybackTime.js +3 -3
  1119. package/ui/ProgressBar.js +1 -1
  1120. package/ui/QuoteMessage.js +12 -10
  1121. package/ui/QuoteMessage.js.map +1 -1
  1122. package/ui/QuoteMessageInput.js +12 -10
  1123. package/ui/QuoteMessageInput.js.map +1 -1
  1124. package/ui/ReactionBadge.js +3 -3
  1125. package/ui/ReactionButton.js +4 -4
  1126. package/ui/SortByRow.js +2 -2
  1127. package/ui/TemplateMessageItemBody.js +21 -17
  1128. package/ui/TemplateMessageItemBody.js.map +1 -1
  1129. package/ui/TextButton.js +2 -2
  1130. package/ui/TextMessageItemBody.js +24 -27
  1131. package/ui/TextMessageItemBody.js.map +1 -1
  1132. package/ui/ThreadReplies.js +8 -7
  1133. package/ui/ThreadReplies.js.map +1 -1
  1134. package/ui/ThumbnailMessageItemBody.js +10 -9
  1135. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  1136. package/ui/Toggle.js +8 -5
  1137. package/ui/Toggle.js.map +1 -1
  1138. package/ui/Tooltip.js +3 -3
  1139. package/ui/TooltipWrapper.js +1 -1
  1140. package/ui/TypingIndicatorBubble.js +4 -4
  1141. package/ui/UnknownMessageItemBody.js +10 -8
  1142. package/ui/UnknownMessageItemBody.js.map +1 -1
  1143. package/ui/UserListItem.js +28 -31
  1144. package/ui/UserListItem.js.map +1 -1
  1145. package/ui/UserListItemMenu.js +18 -16
  1146. package/ui/UserListItemMenu.js.map +1 -1
  1147. package/ui/UserProfile.js +19 -32
  1148. package/ui/UserProfile.js.map +1 -1
  1149. package/ui/VoiceMessageInput.js +9 -8
  1150. package/ui/VoiceMessageInput.js.map +1 -1
  1151. package/ui/VoiceMessageItemBody.js +16 -21
  1152. package/ui/VoiceMessageItemBody.js.map +1 -1
  1153. package/ui/Word.js +21 -24
  1154. package/ui/Word.js.map +1 -1
  1155. package/utils/message/isVoiceMessage.js +6 -5
  1156. package/utils/message/isVoiceMessage.js.map +1 -1
  1157. package/chunks/bundle-4W3uBGU3.js.map +0 -1
  1158. package/chunks/bundle-90vsNbxW.js.map +0 -1
  1159. package/chunks/bundle-BAQj91eb.js.map +0 -1
  1160. package/chunks/bundle-BBowfNDO.js.map +0 -1
  1161. package/chunks/bundle-BE58pe-0.js.map +0 -1
  1162. package/chunks/bundle-BFqR1X1Q.js.map +0 -1
  1163. package/chunks/bundle-BMygDCXK.js.map +0 -1
  1164. package/chunks/bundle-BP1CB0js.js.map +0 -1
  1165. package/chunks/bundle-BR3O1lZq.js.map +0 -1
  1166. package/chunks/bundle-BWM5xqIs.js +0 -57
  1167. package/chunks/bundle-BWM5xqIs.js.map +0 -1
  1168. package/chunks/bundle-BiPxcZtH.js.map +0 -1
  1169. package/chunks/bundle-Bk5X1tDl.js +0 -8
  1170. package/chunks/bundle-Bk5X1tDl.js.map +0 -1
  1171. package/chunks/bundle-C1U8wE49.js.map +0 -1
  1172. package/chunks/bundle-C9dF4QVS.js.map +0 -1
  1173. package/chunks/bundle-CB5ZFhrW.js +0 -9
  1174. package/chunks/bundle-CB5ZFhrW.js.map +0 -1
  1175. package/chunks/bundle-CDjVXDOc.js.map +0 -1
  1176. package/chunks/bundle-CDvvzlad.js.map +0 -1
  1177. package/chunks/bundle-CHzQIw7_.js +0 -43
  1178. package/chunks/bundle-CHzQIw7_.js.map +0 -1
  1179. package/chunks/bundle-CZsW3iP9.js.map +0 -1
  1180. package/chunks/bundle-CbEyAimK.js.map +0 -1
  1181. package/chunks/bundle-Ci2fMtNJ.js.map +0 -1
  1182. package/chunks/bundle-Ctm0h0rU.js +0 -12
  1183. package/chunks/bundle-Ctm0h0rU.js.map +0 -1
  1184. package/chunks/bundle-Cu4bYcMG.js +0 -67
  1185. package/chunks/bundle-Cu4bYcMG.js.map +0 -1
  1186. package/chunks/bundle-CzdrQ_Yq.js.map +0 -1
  1187. package/chunks/bundle-DCbJaskZ.js.map +0 -1
  1188. package/chunks/bundle-DImSV9VW.js.map +0 -1
  1189. package/chunks/bundle-DUTyBaXr.js.map +0 -1
  1190. package/chunks/bundle-DWrM1EW4.js.map +0 -1
  1191. package/chunks/bundle-DYeeW5nS.js.map +0 -1
  1192. package/chunks/bundle-DaKZZ13Y.js.map +0 -1
  1193. package/chunks/bundle-Deel9XzY.js.map +0 -1
  1194. package/chunks/bundle-DfDrbjM5.js.map +0 -1
  1195. package/chunks/bundle-DjgT6gu4.js.map +0 -1
  1196. package/chunks/bundle-DkviGBGz.js.map +0 -1
  1197. package/chunks/bundle-Dpdq7qeD.js.map +0 -1
  1198. package/chunks/bundle-DrHsf0sP.js.map +0 -1
  1199. package/chunks/bundle-Dskg5qjd.js.map +0 -1
  1200. package/chunks/bundle-DtycZWOo.js +0 -20
  1201. package/chunks/bundle-DtycZWOo.js.map +0 -1
  1202. package/chunks/bundle-DvcOxLrR.js.map +0 -1
  1203. package/chunks/bundle-Dvg19muo.js.map +0 -1
  1204. package/chunks/bundle-LPNnEgGp.js.map +0 -1
  1205. package/chunks/bundle-LWpHaUiZ.js.map +0 -1
  1206. package/chunks/bundle-MkyS3j4-.js.map +0 -1
  1207. package/chunks/bundle-MrMJJXf2.js +0 -34
  1208. package/chunks/bundle-MrMJJXf2.js.map +0 -1
  1209. package/chunks/bundle-MyLy9AIu.js +0 -367
  1210. package/chunks/bundle-P-vXuw8U.js.map +0 -1
  1211. package/chunks/bundle-TGosz9cX.js.map +0 -1
  1212. package/chunks/bundle-V4PrrT67.js.map +0 -1
  1213. package/chunks/bundle-eYHtE5ry.js.map +0 -1
  1214. package/chunks/bundle-gQ2a8Eki.js.map +0 -1
  1215. package/chunks/bundle-jw_xHmHg.js.map +0 -1
  1216. package/chunks/bundle-k6zcGkBp.js.map +0 -1
  1217. package/cjs/chunks/bundle-4i5ybSGL.js +0 -107
  1218. package/cjs/chunks/bundle-4i5ybSGL.js.map +0 -1
  1219. package/cjs/chunks/bundle-6UD0H-nz.js.map +0 -1
  1220. package/cjs/chunks/bundle-A5UoPEJO.js.map +0 -1
  1221. package/cjs/chunks/bundle-Aw-PHA-I.js.map +0 -1
  1222. package/cjs/chunks/bundle-B0uIbH1T.js.map +0 -1
  1223. package/cjs/chunks/bundle-B2zio8XF.js.map +0 -1
  1224. package/cjs/chunks/bundle-B3LOu7kN.js.map +0 -1
  1225. package/cjs/chunks/bundle-B5aEwfu1.js.map +0 -1
  1226. package/cjs/chunks/bundle-BAF8GaDh.js.map +0 -1
  1227. package/cjs/chunks/bundle-BFFRQpby.js.map +0 -1
  1228. package/cjs/chunks/bundle-BFPhV1oD.js +0 -10
  1229. package/cjs/chunks/bundle-BFPhV1oD.js.map +0 -1
  1230. package/cjs/chunks/bundle-BFXyNnQ0.js +0 -11
  1231. package/cjs/chunks/bundle-BFXyNnQ0.js.map +0 -1
  1232. package/cjs/chunks/bundle-BL1sGjVd.js.map +0 -1
  1233. package/cjs/chunks/bundle-BOCivP7e.js.map +0 -1
  1234. package/cjs/chunks/bundle-BSfpBazH.js.map +0 -1
  1235. package/cjs/chunks/bundle-BUuEhLl0.js +0 -26
  1236. package/cjs/chunks/bundle-BUuEhLl0.js.map +0 -1
  1237. package/cjs/chunks/bundle-BZd597ep.js.map +0 -1
  1238. package/cjs/chunks/bundle-BcIrmepz.js.map +0 -1
  1239. package/cjs/chunks/bundle-Bc_sQb3i.js.map +0 -1
  1240. package/cjs/chunks/bundle-BfjugOIp.js.map +0 -1
  1241. package/cjs/chunks/bundle-Bhf_RRfA.js.map +0 -1
  1242. package/cjs/chunks/bundle-BloKh_k7.js.map +0 -1
  1243. package/cjs/chunks/bundle-BpThX3wu.js.map +0 -1
  1244. package/cjs/chunks/bundle-Bu4cmOCm.js.map +0 -1
  1245. package/cjs/chunks/bundle-ByQJ042a.js.map +0 -1
  1246. package/cjs/chunks/bundle-C3_KfqSN.js.map +0 -1
  1247. package/cjs/chunks/bundle-CNvRk1Z6.js.map +0 -1
  1248. package/cjs/chunks/bundle-CT3qZJLT.js +0 -36
  1249. package/cjs/chunks/bundle-CT3qZJLT.js.map +0 -1
  1250. package/cjs/chunks/bundle-CYAm3mYC.js +0 -50
  1251. package/cjs/chunks/bundle-CYAm3mYC.js.map +0 -1
  1252. package/cjs/chunks/bundle-CfUeEOi0.js.map +0 -1
  1253. package/cjs/chunks/bundle-ChDTEa9-.js.map +0 -1
  1254. package/cjs/chunks/bundle-Clz7RiTn.js.map +0 -1
  1255. package/cjs/chunks/bundle-Cq5LKFhE.js.map +0 -1
  1256. package/cjs/chunks/bundle-D-kYFL1Z.js.map +0 -1
  1257. package/cjs/chunks/bundle-D1slQ3hS.js.map +0 -1
  1258. package/cjs/chunks/bundle-D30swLTX.js.map +0 -1
  1259. package/cjs/chunks/bundle-D6fimwV5.js.map +0 -1
  1260. package/cjs/chunks/bundle-D7uROwt_.js +0 -73
  1261. package/cjs/chunks/bundle-D7uROwt_.js.map +0 -1
  1262. package/cjs/chunks/bundle-DHPSwRDh.js.map +0 -1
  1263. package/cjs/chunks/bundle-DHZYT5M_.js.map +0 -1
  1264. package/cjs/chunks/bundle-DL3fuSPu.js.map +0 -1
  1265. package/cjs/chunks/bundle-DQy9DqFO.js +0 -84
  1266. package/cjs/chunks/bundle-DQy9DqFO.js.map +0 -1
  1267. package/cjs/chunks/bundle-DTD48j2K.js.map +0 -1
  1268. package/cjs/chunks/bundle-DVc6YedH.js.map +0 -1
  1269. package/cjs/chunks/bundle-DWfeFlxG.js.map +0 -1
  1270. package/cjs/chunks/bundle-DX3sBwvt.js.map +0 -1
  1271. package/cjs/chunks/bundle-DYjhaLRW.js.map +0 -1
  1272. package/cjs/chunks/bundle-DkDRIPJe.js.map +0 -1
  1273. package/cjs/chunks/bundle-Dq5LRxGL.js.map +0 -1
  1274. package/cjs/chunks/bundle-DuSS5Dmw.js.map +0 -1
  1275. package/cjs/chunks/bundle-DzEGN4bG.js.map +0 -1
  1276. package/cjs/chunks/bundle-JpIugjtL.js.map +0 -1
  1277. package/cjs/chunks/bundle-Khwf-z37.js.map +0 -1
  1278. package/cjs/chunks/bundle-Ol1CxgYk.js +0 -385
  1279. package/cjs/chunks/bundle-Ol1CxgYk.js.map +0 -1
  1280. package/cjs/chunks/bundle-QF_AmnwV.js.map +0 -1
  1281. package/cjs/chunks/bundle-R7sVfaA9.js.map +0 -1
  1282. package/cjs/chunks/bundle-S-XkXH4q.js.map +0 -1
  1283. package/cjs/chunks/bundle-XANrnOqB.js.map +0 -1
  1284. package/cjs/chunks/bundle-XxCVYLKy.js.map +0 -1
  1285. package/cjs/chunks/bundle-YTiDKoON.js.map +0 -1
  1286. package/cjs/chunks/bundle-m5OpCHlj.js.map +0 -1
  1287. package/cjs/chunks/bundle-nWxq3V_Q.js.map +0 -1
  1288. package/cjs/chunks/bundle-n_Z6yPjx.js.map +0 -1
  1289. package/cjs/chunks/bundle-qMxPIH0k.js.map +0 -1
  1290. package/cjs/chunks/bundle-s1cLz65w.js.map +0 -1
  1291. package/cjs/useSendbirdStateContext.js +0 -27
  1292. package/cjs/useSendbirdStateContext.js.map +0 -1
  1293. package/cjs/withSendbird.js +0 -33
  1294. package/cjs/withSendbird.js.map +0 -1
  1295. package/types/hooks/useAppendDomNode.d.ts +0 -2
  1296. package/types/hooks/useSendbirdStateContext.d.ts +0 -3
  1297. package/types/lib/Sendbird.d.ts +0 -67
  1298. package/types/lib/SendbirdSdkContext.d.ts +0 -12
  1299. package/types/lib/SendbirdState.d.ts +0 -7
  1300. package/types/lib/dux/appInfo/actionTypes.d.ts +0 -26
  1301. package/types/lib/dux/appInfo/initialState.d.ts +0 -23
  1302. package/types/lib/dux/appInfo/reducers.d.ts +0 -3
  1303. package/types/lib/dux/appInfo/utils.d.ts +0 -7
  1304. package/types/lib/dux/sdk/actionTypes.d.ts +0 -16
  1305. package/types/lib/dux/sdk/initialState.d.ts +0 -9
  1306. package/types/lib/dux/sdk/reducers.d.ts +0 -3
  1307. package/types/lib/dux/user/actionTypes.d.ts +0 -14
  1308. package/types/lib/dux/user/initialState.d.ts +0 -8
  1309. package/types/lib/dux/user/reducers.d.ts +0 -3
  1310. package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -16
  1311. package/types/lib/hooks/useConnect/connect.d.ts +0 -2
  1312. package/types/lib/hooks/useConnect/disconnectSdk.d.ts +0 -2
  1313. package/types/lib/hooks/useConnect/index.d.ts +0 -2
  1314. package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -22
  1315. package/types/lib/hooks/useConnect/types.d.ts +0 -47
  1316. package/types/modules/GroupChannel/context/hooks/useToggleReactionCallback.d.ts +0 -4
  1317. package/types/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -8
  1318. package/types/modules/MessageSearch/context/dux/initialState.d.ts +0 -14
  1319. package/types/modules/MessageSearch/context/dux/reducers.d.ts +0 -7
  1320. package/types/modules/Thread/context/dux/actionTypes.d.ts +0 -38
  1321. package/types/modules/Thread/context/dux/initialState.d.ts +0 -22
  1322. package/types/modules/Thread/context/dux/reducer.d.ts +0 -8
  1323. package/useSendbirdStateContext.js +0 -22
  1324. package/useSendbirdStateContext.js.map +0 -1
  1325. package/withSendbird.js +0 -24
  1326. package/withSendbird.js.map +0 -1
@@ -0,0 +1,2920 @@
1
+ import React__default, { useContext, useRef, useCallback, useMemo } from 'react';
2
+ import { _ as __assign } from './bundle-Cj5_JUGB.js';
3
+ import { r as DEFAULT_UPLOAD_SIZE_LIMIT, q as DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT } from './bundle-BznbvczW.js';
4
+
5
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
+
7
+ function getDefaultExportFromCjs (x) {
8
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
9
+ }
10
+
11
+ var shim = {exports: {}};
12
+
13
+ var useSyncExternalStoreShim_production_min = {};
14
+
15
+ /**
16
+ * @license React
17
+ * use-sync-external-store-shim.production.min.js
18
+ *
19
+ * Copyright (c) Facebook, Inc. and its affiliates.
20
+ *
21
+ * This source code is licensed under the MIT license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */
24
+
25
+ var hasRequiredUseSyncExternalStoreShim_production_min;
26
+
27
+ function requireUseSyncExternalStoreShim_production_min () {
28
+ if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
29
+ hasRequiredUseSyncExternalStoreShim_production_min = 1;
30
+ var e=React__default;function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k="function"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c});},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c});})},[a]);p(d);return d}
31
+ function r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return !k(a,d)}catch(f){return !0}}function t(a,b){return b()}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;
32
+ return useSyncExternalStoreShim_production_min;
33
+ }
34
+
35
+ var useSyncExternalStoreShim_development = {};
36
+
37
+ /**
38
+ * @license React
39
+ * use-sync-external-store-shim.development.js
40
+ *
41
+ * Copyright (c) Facebook, Inc. and its affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ */
46
+
47
+ var hasRequiredUseSyncExternalStoreShim_development;
48
+
49
+ function requireUseSyncExternalStoreShim_development () {
50
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
51
+ hasRequiredUseSyncExternalStoreShim_development = 1;
52
+
53
+ if (process.env.NODE_ENV !== "production") {
54
+ (function() {
55
+
56
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
57
+ if (
58
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
59
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
60
+ 'function'
61
+ ) {
62
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
63
+ }
64
+ var React = React__default;
65
+
66
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
67
+
68
+ function error(format) {
69
+ {
70
+ {
71
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
72
+ args[_key2 - 1] = arguments[_key2];
73
+ }
74
+
75
+ printWarning('error', format, args);
76
+ }
77
+ }
78
+ }
79
+
80
+ function printWarning(level, format, args) {
81
+ // When changing this logic, you might want to also
82
+ // update consoleWithStackDev.www.js as well.
83
+ {
84
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
85
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
86
+
87
+ if (stack !== '') {
88
+ format += '%s';
89
+ args = args.concat([stack]);
90
+ } // eslint-disable-next-line react-internal/safe-string-coercion
91
+
92
+
93
+ var argsWithFormat = args.map(function (item) {
94
+ return String(item);
95
+ }); // Careful: RN currently depends on this prefix
96
+
97
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
98
+ // breaks IE9: https://github.com/facebook/react/issues/13610
99
+ // eslint-disable-next-line react-internal/no-production-logging
100
+
101
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
102
+ }
103
+ }
104
+
105
+ /**
106
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
107
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
108
+ */
109
+ function is(x, y) {
110
+ return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
111
+ ;
112
+ }
113
+
114
+ var objectIs = typeof Object.is === 'function' ? Object.is : is;
115
+
116
+ // dispatch for CommonJS interop named imports.
117
+
118
+ var useState = React.useState,
119
+ useEffect = React.useEffect,
120
+ useLayoutEffect = React.useLayoutEffect,
121
+ useDebugValue = React.useDebugValue;
122
+ var didWarnOld18Alpha = false;
123
+ var didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works
124
+ // because of a very particular set of implementation details and assumptions
125
+ // -- change any one of them and it will break. The most important assumption
126
+ // is that updates are always synchronous, because concurrent rendering is
127
+ // only available in versions of React that also have a built-in
128
+ // useSyncExternalStore API. And we only use this shim when the built-in API
129
+ // does not exist.
130
+ //
131
+ // Do not assume that the clever hacks used by this hook also work in general.
132
+ // The point of this shim is to replace the need for hacks by other libraries.
133
+
134
+ function useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of
135
+ // React do not expose a way to check if we're hydrating. So users of the shim
136
+ // will need to track that themselves and return the correct value
137
+ // from `getSnapshot`.
138
+ getServerSnapshot) {
139
+ {
140
+ if (!didWarnOld18Alpha) {
141
+ if (React.startTransition !== undefined) {
142
+ didWarnOld18Alpha = true;
143
+
144
+ error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');
145
+ }
146
+ }
147
+ } // Read the current snapshot from the store on every render. Again, this
148
+ // breaks the rules of React, and only works here because of specific
149
+ // implementation details, most importantly that updates are
150
+ // always synchronous.
151
+
152
+
153
+ var value = getSnapshot();
154
+
155
+ {
156
+ if (!didWarnUncachedGetSnapshot) {
157
+ var cachedValue = getSnapshot();
158
+
159
+ if (!objectIs(value, cachedValue)) {
160
+ error('The result of getSnapshot should be cached to avoid an infinite loop');
161
+
162
+ didWarnUncachedGetSnapshot = true;
163
+ }
164
+ }
165
+ } // Because updates are synchronous, we don't queue them. Instead we force a
166
+ // re-render whenever the subscribed state changes by updating an some
167
+ // arbitrary useState hook. Then, during render, we call getSnapshot to read
168
+ // the current value.
169
+ //
170
+ // Because we don't actually use the state returned by the useState hook, we
171
+ // can save a bit of memory by storing other stuff in that slot.
172
+ //
173
+ // To implement the early bailout, we need to track some things on a mutable
174
+ // object. Usually, we would put that in a useRef hook, but we can stash it in
175
+ // our useState hook instead.
176
+ //
177
+ // To force a re-render, we call forceUpdate({inst}). That works because the
178
+ // new object always fails an equality check.
179
+
180
+
181
+ var _useState = useState({
182
+ inst: {
183
+ value: value,
184
+ getSnapshot: getSnapshot
185
+ }
186
+ }),
187
+ inst = _useState[0].inst,
188
+ forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated
189
+ // in the layout phase so we can access it during the tearing check that
190
+ // happens on subscribe.
191
+
192
+
193
+ useLayoutEffect(function () {
194
+ inst.value = value;
195
+ inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the
196
+ // commit phase if there was an interleaved mutation. In concurrent mode
197
+ // this can happen all the time, but even in synchronous mode, an earlier
198
+ // effect may have mutated the store.
199
+
200
+ if (checkIfSnapshotChanged(inst)) {
201
+ // Force a re-render.
202
+ forceUpdate({
203
+ inst: inst
204
+ });
205
+ }
206
+ }, [subscribe, value, getSnapshot]);
207
+ useEffect(function () {
208
+ // Check for changes right before subscribing. Subsequent changes will be
209
+ // detected in the subscription handler.
210
+ if (checkIfSnapshotChanged(inst)) {
211
+ // Force a re-render.
212
+ forceUpdate({
213
+ inst: inst
214
+ });
215
+ }
216
+
217
+ var handleStoreChange = function () {
218
+ // TODO: Because there is no cross-renderer API for batching updates, it's
219
+ // up to the consumer of this library to wrap their subscription event
220
+ // with unstable_batchedUpdates. Should we try to detect when this isn't
221
+ // the case and print a warning in development?
222
+ // The store changed. Check if the snapshot changed since the last time we
223
+ // read from the store.
224
+ if (checkIfSnapshotChanged(inst)) {
225
+ // Force a re-render.
226
+ forceUpdate({
227
+ inst: inst
228
+ });
229
+ }
230
+ }; // Subscribe to the store and return a clean-up function.
231
+
232
+
233
+ return subscribe(handleStoreChange);
234
+ }, [subscribe]);
235
+ useDebugValue(value);
236
+ return value;
237
+ }
238
+
239
+ function checkIfSnapshotChanged(inst) {
240
+ var latestGetSnapshot = inst.getSnapshot;
241
+ var prevValue = inst.value;
242
+
243
+ try {
244
+ var nextValue = latestGetSnapshot();
245
+ return !objectIs(prevValue, nextValue);
246
+ } catch (error) {
247
+ return true;
248
+ }
249
+ }
250
+
251
+ function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
252
+ // Note: The shim does not use getServerSnapshot, because pre-18 versions of
253
+ // React do not expose a way to check if we're hydrating. So users of the shim
254
+ // will need to track that themselves and return the correct value
255
+ // from `getSnapshot`.
256
+ return getSnapshot();
257
+ }
258
+
259
+ var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
260
+
261
+ var isServerEnvironment = !canUseDOM;
262
+
263
+ var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
264
+ var useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;
265
+
266
+ useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
267
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
268
+ if (
269
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
270
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
271
+ 'function'
272
+ ) {
273
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
274
+ }
275
+
276
+ })();
277
+ }
278
+ return useSyncExternalStoreShim_development;
279
+ }
280
+
281
+ if (process.env.NODE_ENV === 'production') {
282
+ shim.exports = requireUseSyncExternalStoreShim_production_min();
283
+ } else {
284
+ shim.exports = requireUseSyncExternalStoreShim_development();
285
+ }
286
+
287
+ var shimExports = shim.exports;
288
+
289
+ /**
290
+ * Removes all key-value entries from the list cache.
291
+ *
292
+ * @private
293
+ * @name clear
294
+ * @memberOf ListCache
295
+ */
296
+
297
+ function listCacheClear$1() {
298
+ this.__data__ = [];
299
+ this.size = 0;
300
+ }
301
+
302
+ var _listCacheClear = listCacheClear$1;
303
+
304
+ /**
305
+ * Performs a
306
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
307
+ * comparison between two values to determine if they are equivalent.
308
+ *
309
+ * @static
310
+ * @memberOf _
311
+ * @since 4.0.0
312
+ * @category Lang
313
+ * @param {*} value The value to compare.
314
+ * @param {*} other The other value to compare.
315
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
316
+ * @example
317
+ *
318
+ * var object = { 'a': 1 };
319
+ * var other = { 'a': 1 };
320
+ *
321
+ * _.eq(object, object);
322
+ * // => true
323
+ *
324
+ * _.eq(object, other);
325
+ * // => false
326
+ *
327
+ * _.eq('a', 'a');
328
+ * // => true
329
+ *
330
+ * _.eq('a', Object('a'));
331
+ * // => false
332
+ *
333
+ * _.eq(NaN, NaN);
334
+ * // => true
335
+ */
336
+
337
+ function eq$2(value, other) {
338
+ return value === other || (value !== value && other !== other);
339
+ }
340
+
341
+ var eq_1 = eq$2;
342
+
343
+ var eq$1 = eq_1;
344
+
345
+ /**
346
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
347
+ *
348
+ * @private
349
+ * @param {Array} array The array to inspect.
350
+ * @param {*} key The key to search for.
351
+ * @returns {number} Returns the index of the matched value, else `-1`.
352
+ */
353
+ function assocIndexOf$4(array, key) {
354
+ var length = array.length;
355
+ while (length--) {
356
+ if (eq$1(array[length][0], key)) {
357
+ return length;
358
+ }
359
+ }
360
+ return -1;
361
+ }
362
+
363
+ var _assocIndexOf = assocIndexOf$4;
364
+
365
+ var assocIndexOf$3 = _assocIndexOf;
366
+
367
+ /** Used for built-in method references. */
368
+ var arrayProto = Array.prototype;
369
+
370
+ /** Built-in value references. */
371
+ var splice = arrayProto.splice;
372
+
373
+ /**
374
+ * Removes `key` and its value from the list cache.
375
+ *
376
+ * @private
377
+ * @name delete
378
+ * @memberOf ListCache
379
+ * @param {string} key The key of the value to remove.
380
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
381
+ */
382
+ function listCacheDelete$1(key) {
383
+ var data = this.__data__,
384
+ index = assocIndexOf$3(data, key);
385
+
386
+ if (index < 0) {
387
+ return false;
388
+ }
389
+ var lastIndex = data.length - 1;
390
+ if (index == lastIndex) {
391
+ data.pop();
392
+ } else {
393
+ splice.call(data, index, 1);
394
+ }
395
+ --this.size;
396
+ return true;
397
+ }
398
+
399
+ var _listCacheDelete = listCacheDelete$1;
400
+
401
+ var assocIndexOf$2 = _assocIndexOf;
402
+
403
+ /**
404
+ * Gets the list cache value for `key`.
405
+ *
406
+ * @private
407
+ * @name get
408
+ * @memberOf ListCache
409
+ * @param {string} key The key of the value to get.
410
+ * @returns {*} Returns the entry value.
411
+ */
412
+ function listCacheGet$1(key) {
413
+ var data = this.__data__,
414
+ index = assocIndexOf$2(data, key);
415
+
416
+ return index < 0 ? undefined : data[index][1];
417
+ }
418
+
419
+ var _listCacheGet = listCacheGet$1;
420
+
421
+ var assocIndexOf$1 = _assocIndexOf;
422
+
423
+ /**
424
+ * Checks if a list cache value for `key` exists.
425
+ *
426
+ * @private
427
+ * @name has
428
+ * @memberOf ListCache
429
+ * @param {string} key The key of the entry to check.
430
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
431
+ */
432
+ function listCacheHas$1(key) {
433
+ return assocIndexOf$1(this.__data__, key) > -1;
434
+ }
435
+
436
+ var _listCacheHas = listCacheHas$1;
437
+
438
+ var assocIndexOf = _assocIndexOf;
439
+
440
+ /**
441
+ * Sets the list cache `key` to `value`.
442
+ *
443
+ * @private
444
+ * @name set
445
+ * @memberOf ListCache
446
+ * @param {string} key The key of the value to set.
447
+ * @param {*} value The value to set.
448
+ * @returns {Object} Returns the list cache instance.
449
+ */
450
+ function listCacheSet$1(key, value) {
451
+ var data = this.__data__,
452
+ index = assocIndexOf(data, key);
453
+
454
+ if (index < 0) {
455
+ ++this.size;
456
+ data.push([key, value]);
457
+ } else {
458
+ data[index][1] = value;
459
+ }
460
+ return this;
461
+ }
462
+
463
+ var _listCacheSet = listCacheSet$1;
464
+
465
+ var listCacheClear = _listCacheClear,
466
+ listCacheDelete = _listCacheDelete,
467
+ listCacheGet = _listCacheGet,
468
+ listCacheHas = _listCacheHas,
469
+ listCacheSet = _listCacheSet;
470
+
471
+ /**
472
+ * Creates an list cache object.
473
+ *
474
+ * @private
475
+ * @constructor
476
+ * @param {Array} [entries] The key-value pairs to cache.
477
+ */
478
+ function ListCache$4(entries) {
479
+ var index = -1,
480
+ length = entries == null ? 0 : entries.length;
481
+
482
+ this.clear();
483
+ while (++index < length) {
484
+ var entry = entries[index];
485
+ this.set(entry[0], entry[1]);
486
+ }
487
+ }
488
+
489
+ // Add methods to `ListCache`.
490
+ ListCache$4.prototype.clear = listCacheClear;
491
+ ListCache$4.prototype['delete'] = listCacheDelete;
492
+ ListCache$4.prototype.get = listCacheGet;
493
+ ListCache$4.prototype.has = listCacheHas;
494
+ ListCache$4.prototype.set = listCacheSet;
495
+
496
+ var _ListCache = ListCache$4;
497
+
498
+ var ListCache$3 = _ListCache;
499
+
500
+ /**
501
+ * Removes all key-value entries from the stack.
502
+ *
503
+ * @private
504
+ * @name clear
505
+ * @memberOf Stack
506
+ */
507
+ function stackClear$1() {
508
+ this.__data__ = new ListCache$3;
509
+ this.size = 0;
510
+ }
511
+
512
+ var _stackClear = stackClear$1;
513
+
514
+ /**
515
+ * Removes `key` and its value from the stack.
516
+ *
517
+ * @private
518
+ * @name delete
519
+ * @memberOf Stack
520
+ * @param {string} key The key of the value to remove.
521
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
522
+ */
523
+
524
+ function stackDelete$1(key) {
525
+ var data = this.__data__,
526
+ result = data['delete'](key);
527
+
528
+ this.size = data.size;
529
+ return result;
530
+ }
531
+
532
+ var _stackDelete = stackDelete$1;
533
+
534
+ /**
535
+ * Gets the stack value for `key`.
536
+ *
537
+ * @private
538
+ * @name get
539
+ * @memberOf Stack
540
+ * @param {string} key The key of the value to get.
541
+ * @returns {*} Returns the entry value.
542
+ */
543
+
544
+ function stackGet$1(key) {
545
+ return this.__data__.get(key);
546
+ }
547
+
548
+ var _stackGet = stackGet$1;
549
+
550
+ /**
551
+ * Checks if a stack value for `key` exists.
552
+ *
553
+ * @private
554
+ * @name has
555
+ * @memberOf Stack
556
+ * @param {string} key The key of the entry to check.
557
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
558
+ */
559
+
560
+ function stackHas$1(key) {
561
+ return this.__data__.has(key);
562
+ }
563
+
564
+ var _stackHas = stackHas$1;
565
+
566
+ /** Detect free variable `global` from Node.js. */
567
+
568
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
569
+
570
+ var _freeGlobal = freeGlobal$1;
571
+
572
+ var freeGlobal = _freeGlobal;
573
+
574
+ /** Detect free variable `self`. */
575
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
576
+
577
+ /** Used as a reference to the global object. */
578
+ var root$8 = freeGlobal || freeSelf || Function('return this')();
579
+
580
+ var _root = root$8;
581
+
582
+ var root$7 = _root;
583
+
584
+ /** Built-in value references. */
585
+ var Symbol$3 = root$7.Symbol;
586
+
587
+ var _Symbol = Symbol$3;
588
+
589
+ var Symbol$2 = _Symbol;
590
+
591
+ /** Used for built-in method references. */
592
+ var objectProto$b = Object.prototype;
593
+
594
+ /** Used to check objects for own properties. */
595
+ var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
596
+
597
+ /**
598
+ * Used to resolve the
599
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
600
+ * of values.
601
+ */
602
+ var nativeObjectToString$1 = objectProto$b.toString;
603
+
604
+ /** Built-in value references. */
605
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : undefined;
606
+
607
+ /**
608
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
609
+ *
610
+ * @private
611
+ * @param {*} value The value to query.
612
+ * @returns {string} Returns the raw `toStringTag`.
613
+ */
614
+ function getRawTag$1(value) {
615
+ var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
616
+ tag = value[symToStringTag$1];
617
+
618
+ try {
619
+ value[symToStringTag$1] = undefined;
620
+ var unmasked = true;
621
+ } catch (e) {}
622
+
623
+ var result = nativeObjectToString$1.call(value);
624
+ if (unmasked) {
625
+ if (isOwn) {
626
+ value[symToStringTag$1] = tag;
627
+ } else {
628
+ delete value[symToStringTag$1];
629
+ }
630
+ }
631
+ return result;
632
+ }
633
+
634
+ var _getRawTag = getRawTag$1;
635
+
636
+ /** Used for built-in method references. */
637
+
638
+ var objectProto$a = Object.prototype;
639
+
640
+ /**
641
+ * Used to resolve the
642
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
643
+ * of values.
644
+ */
645
+ var nativeObjectToString = objectProto$a.toString;
646
+
647
+ /**
648
+ * Converts `value` to a string using `Object.prototype.toString`.
649
+ *
650
+ * @private
651
+ * @param {*} value The value to convert.
652
+ * @returns {string} Returns the converted string.
653
+ */
654
+ function objectToString$1(value) {
655
+ return nativeObjectToString.call(value);
656
+ }
657
+
658
+ var _objectToString = objectToString$1;
659
+
660
+ var Symbol$1 = _Symbol,
661
+ getRawTag = _getRawTag,
662
+ objectToString = _objectToString;
663
+
664
+ /** `Object#toString` result references. */
665
+ var nullTag = '[object Null]',
666
+ undefinedTag = '[object Undefined]';
667
+
668
+ /** Built-in value references. */
669
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
670
+
671
+ /**
672
+ * The base implementation of `getTag` without fallbacks for buggy environments.
673
+ *
674
+ * @private
675
+ * @param {*} value The value to query.
676
+ * @returns {string} Returns the `toStringTag`.
677
+ */
678
+ function baseGetTag$4(value) {
679
+ if (value == null) {
680
+ return value === undefined ? undefinedTag : nullTag;
681
+ }
682
+ return (symToStringTag && symToStringTag in Object(value))
683
+ ? getRawTag(value)
684
+ : objectToString(value);
685
+ }
686
+
687
+ var _baseGetTag = baseGetTag$4;
688
+
689
+ /**
690
+ * Checks if `value` is the
691
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
692
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
693
+ *
694
+ * @static
695
+ * @memberOf _
696
+ * @since 0.1.0
697
+ * @category Lang
698
+ * @param {*} value The value to check.
699
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
700
+ * @example
701
+ *
702
+ * _.isObject({});
703
+ * // => true
704
+ *
705
+ * _.isObject([1, 2, 3]);
706
+ * // => true
707
+ *
708
+ * _.isObject(_.noop);
709
+ * // => true
710
+ *
711
+ * _.isObject(null);
712
+ * // => false
713
+ */
714
+
715
+ function isObject$2(value) {
716
+ var type = typeof value;
717
+ return value != null && (type == 'object' || type == 'function');
718
+ }
719
+
720
+ var isObject_1 = isObject$2;
721
+
722
+ var baseGetTag$3 = _baseGetTag,
723
+ isObject$1 = isObject_1;
724
+
725
+ /** `Object#toString` result references. */
726
+ var asyncTag = '[object AsyncFunction]',
727
+ funcTag$1 = '[object Function]',
728
+ genTag = '[object GeneratorFunction]',
729
+ proxyTag = '[object Proxy]';
730
+
731
+ /**
732
+ * Checks if `value` is classified as a `Function` object.
733
+ *
734
+ * @static
735
+ * @memberOf _
736
+ * @since 0.1.0
737
+ * @category Lang
738
+ * @param {*} value The value to check.
739
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
740
+ * @example
741
+ *
742
+ * _.isFunction(_);
743
+ * // => true
744
+ *
745
+ * _.isFunction(/abc/);
746
+ * // => false
747
+ */
748
+ function isFunction$2(value) {
749
+ if (!isObject$1(value)) {
750
+ return false;
751
+ }
752
+ // The use of `Object#toString` avoids issues with the `typeof` operator
753
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
754
+ var tag = baseGetTag$3(value);
755
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
756
+ }
757
+
758
+ var isFunction_1 = isFunction$2;
759
+
760
+ var root$6 = _root;
761
+
762
+ /** Used to detect overreaching core-js shims. */
763
+ var coreJsData$1 = root$6['__core-js_shared__'];
764
+
765
+ var _coreJsData = coreJsData$1;
766
+
767
+ var coreJsData = _coreJsData;
768
+
769
+ /** Used to detect methods masquerading as native. */
770
+ var maskSrcKey = (function() {
771
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
772
+ return uid ? ('Symbol(src)_1.' + uid) : '';
773
+ }());
774
+
775
+ /**
776
+ * Checks if `func` has its source masked.
777
+ *
778
+ * @private
779
+ * @param {Function} func The function to check.
780
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
781
+ */
782
+ function isMasked$1(func) {
783
+ return !!maskSrcKey && (maskSrcKey in func);
784
+ }
785
+
786
+ var _isMasked = isMasked$1;
787
+
788
+ /** Used for built-in method references. */
789
+
790
+ var funcProto$1 = Function.prototype;
791
+
792
+ /** Used to resolve the decompiled source of functions. */
793
+ var funcToString$1 = funcProto$1.toString;
794
+
795
+ /**
796
+ * Converts `func` to its source code.
797
+ *
798
+ * @private
799
+ * @param {Function} func The function to convert.
800
+ * @returns {string} Returns the source code.
801
+ */
802
+ function toSource$2(func) {
803
+ if (func != null) {
804
+ try {
805
+ return funcToString$1.call(func);
806
+ } catch (e) {}
807
+ try {
808
+ return (func + '');
809
+ } catch (e) {}
810
+ }
811
+ return '';
812
+ }
813
+
814
+ var _toSource = toSource$2;
815
+
816
+ var isFunction$1 = isFunction_1,
817
+ isMasked = _isMasked,
818
+ isObject = isObject_1,
819
+ toSource$1 = _toSource;
820
+
821
+ /**
822
+ * Used to match `RegExp`
823
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
824
+ */
825
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
826
+
827
+ /** Used to detect host constructors (Safari). */
828
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
829
+
830
+ /** Used for built-in method references. */
831
+ var funcProto = Function.prototype,
832
+ objectProto$9 = Object.prototype;
833
+
834
+ /** Used to resolve the decompiled source of functions. */
835
+ var funcToString = funcProto.toString;
836
+
837
+ /** Used to check objects for own properties. */
838
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
839
+
840
+ /** Used to detect if a method is native. */
841
+ var reIsNative = RegExp('^' +
842
+ funcToString.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
843
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
844
+ );
845
+
846
+ /**
847
+ * The base implementation of `_.isNative` without bad shim checks.
848
+ *
849
+ * @private
850
+ * @param {*} value The value to check.
851
+ * @returns {boolean} Returns `true` if `value` is a native function,
852
+ * else `false`.
853
+ */
854
+ function baseIsNative$1(value) {
855
+ if (!isObject(value) || isMasked(value)) {
856
+ return false;
857
+ }
858
+ var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
859
+ return pattern.test(toSource$1(value));
860
+ }
861
+
862
+ var _baseIsNative = baseIsNative$1;
863
+
864
+ /**
865
+ * Gets the value at `key` of `object`.
866
+ *
867
+ * @private
868
+ * @param {Object} [object] The object to query.
869
+ * @param {string} key The key of the property to get.
870
+ * @returns {*} Returns the property value.
871
+ */
872
+
873
+ function getValue$1(object, key) {
874
+ return object == null ? undefined : object[key];
875
+ }
876
+
877
+ var _getValue = getValue$1;
878
+
879
+ var baseIsNative = _baseIsNative,
880
+ getValue = _getValue;
881
+
882
+ /**
883
+ * Gets the native function at `key` of `object`.
884
+ *
885
+ * @private
886
+ * @param {Object} object The object to query.
887
+ * @param {string} key The key of the method to get.
888
+ * @returns {*} Returns the function if it's native, else `undefined`.
889
+ */
890
+ function getNative$6(object, key) {
891
+ var value = getValue(object, key);
892
+ return baseIsNative(value) ? value : undefined;
893
+ }
894
+
895
+ var _getNative = getNative$6;
896
+
897
+ var getNative$5 = _getNative,
898
+ root$5 = _root;
899
+
900
+ /* Built-in method references that are verified to be native. */
901
+ var Map$3 = getNative$5(root$5, 'Map');
902
+
903
+ var _Map = Map$3;
904
+
905
+ var getNative$4 = _getNative;
906
+
907
+ /* Built-in method references that are verified to be native. */
908
+ var nativeCreate$4 = getNative$4(Object, 'create');
909
+
910
+ var _nativeCreate = nativeCreate$4;
911
+
912
+ var nativeCreate$3 = _nativeCreate;
913
+
914
+ /**
915
+ * Removes all key-value entries from the hash.
916
+ *
917
+ * @private
918
+ * @name clear
919
+ * @memberOf Hash
920
+ */
921
+ function hashClear$1() {
922
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
923
+ this.size = 0;
924
+ }
925
+
926
+ var _hashClear = hashClear$1;
927
+
928
+ /**
929
+ * Removes `key` and its value from the hash.
930
+ *
931
+ * @private
932
+ * @name delete
933
+ * @memberOf Hash
934
+ * @param {Object} hash The hash to modify.
935
+ * @param {string} key The key of the value to remove.
936
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
937
+ */
938
+
939
+ function hashDelete$1(key) {
940
+ var result = this.has(key) && delete this.__data__[key];
941
+ this.size -= result ? 1 : 0;
942
+ return result;
943
+ }
944
+
945
+ var _hashDelete = hashDelete$1;
946
+
947
+ var nativeCreate$2 = _nativeCreate;
948
+
949
+ /** Used to stand-in for `undefined` hash values. */
950
+ var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
951
+
952
+ /** Used for built-in method references. */
953
+ var objectProto$8 = Object.prototype;
954
+
955
+ /** Used to check objects for own properties. */
956
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
957
+
958
+ /**
959
+ * Gets the hash value for `key`.
960
+ *
961
+ * @private
962
+ * @name get
963
+ * @memberOf Hash
964
+ * @param {string} key The key of the value to get.
965
+ * @returns {*} Returns the entry value.
966
+ */
967
+ function hashGet$1(key) {
968
+ var data = this.__data__;
969
+ if (nativeCreate$2) {
970
+ var result = data[key];
971
+ return result === HASH_UNDEFINED$2 ? undefined : result;
972
+ }
973
+ return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
974
+ }
975
+
976
+ var _hashGet = hashGet$1;
977
+
978
+ var nativeCreate$1 = _nativeCreate;
979
+
980
+ /** Used for built-in method references. */
981
+ var objectProto$7 = Object.prototype;
982
+
983
+ /** Used to check objects for own properties. */
984
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
985
+
986
+ /**
987
+ * Checks if a hash value for `key` exists.
988
+ *
989
+ * @private
990
+ * @name has
991
+ * @memberOf Hash
992
+ * @param {string} key The key of the entry to check.
993
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
994
+ */
995
+ function hashHas$1(key) {
996
+ var data = this.__data__;
997
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
998
+ }
999
+
1000
+ var _hashHas = hashHas$1;
1001
+
1002
+ var nativeCreate = _nativeCreate;
1003
+
1004
+ /** Used to stand-in for `undefined` hash values. */
1005
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1006
+
1007
+ /**
1008
+ * Sets the hash `key` to `value`.
1009
+ *
1010
+ * @private
1011
+ * @name set
1012
+ * @memberOf Hash
1013
+ * @param {string} key The key of the value to set.
1014
+ * @param {*} value The value to set.
1015
+ * @returns {Object} Returns the hash instance.
1016
+ */
1017
+ function hashSet$1(key, value) {
1018
+ var data = this.__data__;
1019
+ this.size += this.has(key) ? 0 : 1;
1020
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1021
+ return this;
1022
+ }
1023
+
1024
+ var _hashSet = hashSet$1;
1025
+
1026
+ var hashClear = _hashClear,
1027
+ hashDelete = _hashDelete,
1028
+ hashGet = _hashGet,
1029
+ hashHas = _hashHas,
1030
+ hashSet = _hashSet;
1031
+
1032
+ /**
1033
+ * Creates a hash object.
1034
+ *
1035
+ * @private
1036
+ * @constructor
1037
+ * @param {Array} [entries] The key-value pairs to cache.
1038
+ */
1039
+ function Hash$1(entries) {
1040
+ var index = -1,
1041
+ length = entries == null ? 0 : entries.length;
1042
+
1043
+ this.clear();
1044
+ while (++index < length) {
1045
+ var entry = entries[index];
1046
+ this.set(entry[0], entry[1]);
1047
+ }
1048
+ }
1049
+
1050
+ // Add methods to `Hash`.
1051
+ Hash$1.prototype.clear = hashClear;
1052
+ Hash$1.prototype['delete'] = hashDelete;
1053
+ Hash$1.prototype.get = hashGet;
1054
+ Hash$1.prototype.has = hashHas;
1055
+ Hash$1.prototype.set = hashSet;
1056
+
1057
+ var _Hash = Hash$1;
1058
+
1059
+ var Hash = _Hash,
1060
+ ListCache$2 = _ListCache,
1061
+ Map$2 = _Map;
1062
+
1063
+ /**
1064
+ * Removes all key-value entries from the map.
1065
+ *
1066
+ * @private
1067
+ * @name clear
1068
+ * @memberOf MapCache
1069
+ */
1070
+ function mapCacheClear$1() {
1071
+ this.size = 0;
1072
+ this.__data__ = {
1073
+ 'hash': new Hash,
1074
+ 'map': new (Map$2 || ListCache$2),
1075
+ 'string': new Hash
1076
+ };
1077
+ }
1078
+
1079
+ var _mapCacheClear = mapCacheClear$1;
1080
+
1081
+ /**
1082
+ * Checks if `value` is suitable for use as unique object key.
1083
+ *
1084
+ * @private
1085
+ * @param {*} value The value to check.
1086
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1087
+ */
1088
+
1089
+ function isKeyable$1(value) {
1090
+ var type = typeof value;
1091
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1092
+ ? (value !== '__proto__')
1093
+ : (value === null);
1094
+ }
1095
+
1096
+ var _isKeyable = isKeyable$1;
1097
+
1098
+ var isKeyable = _isKeyable;
1099
+
1100
+ /**
1101
+ * Gets the data for `map`.
1102
+ *
1103
+ * @private
1104
+ * @param {Object} map The map to query.
1105
+ * @param {string} key The reference key.
1106
+ * @returns {*} Returns the map data.
1107
+ */
1108
+ function getMapData$4(map, key) {
1109
+ var data = map.__data__;
1110
+ return isKeyable(key)
1111
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1112
+ : data.map;
1113
+ }
1114
+
1115
+ var _getMapData = getMapData$4;
1116
+
1117
+ var getMapData$3 = _getMapData;
1118
+
1119
+ /**
1120
+ * Removes `key` and its value from the map.
1121
+ *
1122
+ * @private
1123
+ * @name delete
1124
+ * @memberOf MapCache
1125
+ * @param {string} key The key of the value to remove.
1126
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1127
+ */
1128
+ function mapCacheDelete$1(key) {
1129
+ var result = getMapData$3(this, key)['delete'](key);
1130
+ this.size -= result ? 1 : 0;
1131
+ return result;
1132
+ }
1133
+
1134
+ var _mapCacheDelete = mapCacheDelete$1;
1135
+
1136
+ var getMapData$2 = _getMapData;
1137
+
1138
+ /**
1139
+ * Gets the map value for `key`.
1140
+ *
1141
+ * @private
1142
+ * @name get
1143
+ * @memberOf MapCache
1144
+ * @param {string} key The key of the value to get.
1145
+ * @returns {*} Returns the entry value.
1146
+ */
1147
+ function mapCacheGet$1(key) {
1148
+ return getMapData$2(this, key).get(key);
1149
+ }
1150
+
1151
+ var _mapCacheGet = mapCacheGet$1;
1152
+
1153
+ var getMapData$1 = _getMapData;
1154
+
1155
+ /**
1156
+ * Checks if a map value for `key` exists.
1157
+ *
1158
+ * @private
1159
+ * @name has
1160
+ * @memberOf MapCache
1161
+ * @param {string} key The key of the entry to check.
1162
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1163
+ */
1164
+ function mapCacheHas$1(key) {
1165
+ return getMapData$1(this, key).has(key);
1166
+ }
1167
+
1168
+ var _mapCacheHas = mapCacheHas$1;
1169
+
1170
+ var getMapData = _getMapData;
1171
+
1172
+ /**
1173
+ * Sets the map `key` to `value`.
1174
+ *
1175
+ * @private
1176
+ * @name set
1177
+ * @memberOf MapCache
1178
+ * @param {string} key The key of the value to set.
1179
+ * @param {*} value The value to set.
1180
+ * @returns {Object} Returns the map cache instance.
1181
+ */
1182
+ function mapCacheSet$1(key, value) {
1183
+ var data = getMapData(this, key),
1184
+ size = data.size;
1185
+
1186
+ data.set(key, value);
1187
+ this.size += data.size == size ? 0 : 1;
1188
+ return this;
1189
+ }
1190
+
1191
+ var _mapCacheSet = mapCacheSet$1;
1192
+
1193
+ var mapCacheClear = _mapCacheClear,
1194
+ mapCacheDelete = _mapCacheDelete,
1195
+ mapCacheGet = _mapCacheGet,
1196
+ mapCacheHas = _mapCacheHas,
1197
+ mapCacheSet = _mapCacheSet;
1198
+
1199
+ /**
1200
+ * Creates a map cache object to store key-value pairs.
1201
+ *
1202
+ * @private
1203
+ * @constructor
1204
+ * @param {Array} [entries] The key-value pairs to cache.
1205
+ */
1206
+ function MapCache$2(entries) {
1207
+ var index = -1,
1208
+ length = entries == null ? 0 : entries.length;
1209
+
1210
+ this.clear();
1211
+ while (++index < length) {
1212
+ var entry = entries[index];
1213
+ this.set(entry[0], entry[1]);
1214
+ }
1215
+ }
1216
+
1217
+ // Add methods to `MapCache`.
1218
+ MapCache$2.prototype.clear = mapCacheClear;
1219
+ MapCache$2.prototype['delete'] = mapCacheDelete;
1220
+ MapCache$2.prototype.get = mapCacheGet;
1221
+ MapCache$2.prototype.has = mapCacheHas;
1222
+ MapCache$2.prototype.set = mapCacheSet;
1223
+
1224
+ var _MapCache = MapCache$2;
1225
+
1226
+ var ListCache$1 = _ListCache,
1227
+ Map$1 = _Map,
1228
+ MapCache$1 = _MapCache;
1229
+
1230
+ /** Used as the size to enable large array optimizations. */
1231
+ var LARGE_ARRAY_SIZE = 200;
1232
+
1233
+ /**
1234
+ * Sets the stack `key` to `value`.
1235
+ *
1236
+ * @private
1237
+ * @name set
1238
+ * @memberOf Stack
1239
+ * @param {string} key The key of the value to set.
1240
+ * @param {*} value The value to set.
1241
+ * @returns {Object} Returns the stack cache instance.
1242
+ */
1243
+ function stackSet$1(key, value) {
1244
+ var data = this.__data__;
1245
+ if (data instanceof ListCache$1) {
1246
+ var pairs = data.__data__;
1247
+ if (!Map$1 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1248
+ pairs.push([key, value]);
1249
+ this.size = ++data.size;
1250
+ return this;
1251
+ }
1252
+ data = this.__data__ = new MapCache$1(pairs);
1253
+ }
1254
+ data.set(key, value);
1255
+ this.size = data.size;
1256
+ return this;
1257
+ }
1258
+
1259
+ var _stackSet = stackSet$1;
1260
+
1261
+ var ListCache = _ListCache,
1262
+ stackClear = _stackClear,
1263
+ stackDelete = _stackDelete,
1264
+ stackGet = _stackGet,
1265
+ stackHas = _stackHas,
1266
+ stackSet = _stackSet;
1267
+
1268
+ /**
1269
+ * Creates a stack cache object to store key-value pairs.
1270
+ *
1271
+ * @private
1272
+ * @constructor
1273
+ * @param {Array} [entries] The key-value pairs to cache.
1274
+ */
1275
+ function Stack$1(entries) {
1276
+ var data = this.__data__ = new ListCache(entries);
1277
+ this.size = data.size;
1278
+ }
1279
+
1280
+ // Add methods to `Stack`.
1281
+ Stack$1.prototype.clear = stackClear;
1282
+ Stack$1.prototype['delete'] = stackDelete;
1283
+ Stack$1.prototype.get = stackGet;
1284
+ Stack$1.prototype.has = stackHas;
1285
+ Stack$1.prototype.set = stackSet;
1286
+
1287
+ var _Stack = Stack$1;
1288
+
1289
+ /** Used to stand-in for `undefined` hash values. */
1290
+
1291
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1292
+
1293
+ /**
1294
+ * Adds `value` to the array cache.
1295
+ *
1296
+ * @private
1297
+ * @name add
1298
+ * @memberOf SetCache
1299
+ * @alias push
1300
+ * @param {*} value The value to cache.
1301
+ * @returns {Object} Returns the cache instance.
1302
+ */
1303
+ function setCacheAdd$1(value) {
1304
+ this.__data__.set(value, HASH_UNDEFINED);
1305
+ return this;
1306
+ }
1307
+
1308
+ var _setCacheAdd = setCacheAdd$1;
1309
+
1310
+ /**
1311
+ * Checks if `value` is in the array cache.
1312
+ *
1313
+ * @private
1314
+ * @name has
1315
+ * @memberOf SetCache
1316
+ * @param {*} value The value to search for.
1317
+ * @returns {number} Returns `true` if `value` is found, else `false`.
1318
+ */
1319
+
1320
+ function setCacheHas$1(value) {
1321
+ return this.__data__.has(value);
1322
+ }
1323
+
1324
+ var _setCacheHas = setCacheHas$1;
1325
+
1326
+ var MapCache = _MapCache,
1327
+ setCacheAdd = _setCacheAdd,
1328
+ setCacheHas = _setCacheHas;
1329
+
1330
+ /**
1331
+ *
1332
+ * Creates an array cache object to store unique values.
1333
+ *
1334
+ * @private
1335
+ * @constructor
1336
+ * @param {Array} [values] The values to cache.
1337
+ */
1338
+ function SetCache$1(values) {
1339
+ var index = -1,
1340
+ length = values == null ? 0 : values.length;
1341
+
1342
+ this.__data__ = new MapCache;
1343
+ while (++index < length) {
1344
+ this.add(values[index]);
1345
+ }
1346
+ }
1347
+
1348
+ // Add methods to `SetCache`.
1349
+ SetCache$1.prototype.add = SetCache$1.prototype.push = setCacheAdd;
1350
+ SetCache$1.prototype.has = setCacheHas;
1351
+
1352
+ var _SetCache = SetCache$1;
1353
+
1354
+ /**
1355
+ * A specialized version of `_.some` for arrays without support for iteratee
1356
+ * shorthands.
1357
+ *
1358
+ * @private
1359
+ * @param {Array} [array] The array to iterate over.
1360
+ * @param {Function} predicate The function invoked per iteration.
1361
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
1362
+ * else `false`.
1363
+ */
1364
+
1365
+ function arraySome$1(array, predicate) {
1366
+ var index = -1,
1367
+ length = array == null ? 0 : array.length;
1368
+
1369
+ while (++index < length) {
1370
+ if (predicate(array[index], index, array)) {
1371
+ return true;
1372
+ }
1373
+ }
1374
+ return false;
1375
+ }
1376
+
1377
+ var _arraySome = arraySome$1;
1378
+
1379
+ /**
1380
+ * Checks if a `cache` value for `key` exists.
1381
+ *
1382
+ * @private
1383
+ * @param {Object} cache The cache to query.
1384
+ * @param {string} key The key of the entry to check.
1385
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1386
+ */
1387
+
1388
+ function cacheHas$1(cache, key) {
1389
+ return cache.has(key);
1390
+ }
1391
+
1392
+ var _cacheHas = cacheHas$1;
1393
+
1394
+ var SetCache = _SetCache,
1395
+ arraySome = _arraySome,
1396
+ cacheHas = _cacheHas;
1397
+
1398
+ /** Used to compose bitmasks for value comparisons. */
1399
+ var COMPARE_PARTIAL_FLAG$3 = 1,
1400
+ COMPARE_UNORDERED_FLAG$1 = 2;
1401
+
1402
+ /**
1403
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
1404
+ * partial deep comparisons.
1405
+ *
1406
+ * @private
1407
+ * @param {Array} array The array to compare.
1408
+ * @param {Array} other The other array to compare.
1409
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1410
+ * @param {Function} customizer The function to customize comparisons.
1411
+ * @param {Function} equalFunc The function to determine equivalents of values.
1412
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
1413
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
1414
+ */
1415
+ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
1416
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
1417
+ arrLength = array.length,
1418
+ othLength = other.length;
1419
+
1420
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
1421
+ return false;
1422
+ }
1423
+ // Check that cyclic values are equal.
1424
+ var arrStacked = stack.get(array);
1425
+ var othStacked = stack.get(other);
1426
+ if (arrStacked && othStacked) {
1427
+ return arrStacked == other && othStacked == array;
1428
+ }
1429
+ var index = -1,
1430
+ result = true,
1431
+ seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new SetCache : undefined;
1432
+
1433
+ stack.set(array, other);
1434
+ stack.set(other, array);
1435
+
1436
+ // Ignore non-index properties.
1437
+ while (++index < arrLength) {
1438
+ var arrValue = array[index],
1439
+ othValue = other[index];
1440
+
1441
+ if (customizer) {
1442
+ var compared = isPartial
1443
+ ? customizer(othValue, arrValue, index, other, array, stack)
1444
+ : customizer(arrValue, othValue, index, array, other, stack);
1445
+ }
1446
+ if (compared !== undefined) {
1447
+ if (compared) {
1448
+ continue;
1449
+ }
1450
+ result = false;
1451
+ break;
1452
+ }
1453
+ // Recursively compare arrays (susceptible to call stack limits).
1454
+ if (seen) {
1455
+ if (!arraySome(other, function(othValue, othIndex) {
1456
+ if (!cacheHas(seen, othIndex) &&
1457
+ (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
1458
+ return seen.push(othIndex);
1459
+ }
1460
+ })) {
1461
+ result = false;
1462
+ break;
1463
+ }
1464
+ } else if (!(
1465
+ arrValue === othValue ||
1466
+ equalFunc(arrValue, othValue, bitmask, customizer, stack)
1467
+ )) {
1468
+ result = false;
1469
+ break;
1470
+ }
1471
+ }
1472
+ stack['delete'](array);
1473
+ stack['delete'](other);
1474
+ return result;
1475
+ }
1476
+
1477
+ var _equalArrays = equalArrays$2;
1478
+
1479
+ var root$4 = _root;
1480
+
1481
+ /** Built-in value references. */
1482
+ var Uint8Array$1 = root$4.Uint8Array;
1483
+
1484
+ var _Uint8Array = Uint8Array$1;
1485
+
1486
+ /**
1487
+ * Converts `map` to its key-value pairs.
1488
+ *
1489
+ * @private
1490
+ * @param {Object} map The map to convert.
1491
+ * @returns {Array} Returns the key-value pairs.
1492
+ */
1493
+
1494
+ function mapToArray$1(map) {
1495
+ var index = -1,
1496
+ result = Array(map.size);
1497
+
1498
+ map.forEach(function(value, key) {
1499
+ result[++index] = [key, value];
1500
+ });
1501
+ return result;
1502
+ }
1503
+
1504
+ var _mapToArray = mapToArray$1;
1505
+
1506
+ /**
1507
+ * Converts `set` to an array of its values.
1508
+ *
1509
+ * @private
1510
+ * @param {Object} set The set to convert.
1511
+ * @returns {Array} Returns the values.
1512
+ */
1513
+
1514
+ function setToArray$1(set) {
1515
+ var index = -1,
1516
+ result = Array(set.size);
1517
+
1518
+ set.forEach(function(value) {
1519
+ result[++index] = value;
1520
+ });
1521
+ return result;
1522
+ }
1523
+
1524
+ var _setToArray = setToArray$1;
1525
+
1526
+ var Symbol = _Symbol,
1527
+ Uint8Array = _Uint8Array,
1528
+ eq = eq_1,
1529
+ equalArrays$1 = _equalArrays,
1530
+ mapToArray = _mapToArray,
1531
+ setToArray = _setToArray;
1532
+
1533
+ /** Used to compose bitmasks for value comparisons. */
1534
+ var COMPARE_PARTIAL_FLAG$2 = 1,
1535
+ COMPARE_UNORDERED_FLAG = 2;
1536
+
1537
+ /** `Object#toString` result references. */
1538
+ var boolTag$1 = '[object Boolean]',
1539
+ dateTag$1 = '[object Date]',
1540
+ errorTag$1 = '[object Error]',
1541
+ mapTag$2 = '[object Map]',
1542
+ numberTag$1 = '[object Number]',
1543
+ regexpTag$1 = '[object RegExp]',
1544
+ setTag$2 = '[object Set]',
1545
+ stringTag$1 = '[object String]',
1546
+ symbolTag = '[object Symbol]';
1547
+
1548
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
1549
+ dataViewTag$2 = '[object DataView]';
1550
+
1551
+ /** Used to convert symbols to primitives and strings. */
1552
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
1553
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
1554
+
1555
+ /**
1556
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
1557
+ * the same `toStringTag`.
1558
+ *
1559
+ * **Note:** This function only supports comparing values with tags of
1560
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
1561
+ *
1562
+ * @private
1563
+ * @param {Object} object The object to compare.
1564
+ * @param {Object} other The other object to compare.
1565
+ * @param {string} tag The `toStringTag` of the objects to compare.
1566
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1567
+ * @param {Function} customizer The function to customize comparisons.
1568
+ * @param {Function} equalFunc The function to determine equivalents of values.
1569
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
1570
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
1571
+ */
1572
+ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack) {
1573
+ switch (tag) {
1574
+ case dataViewTag$2:
1575
+ if ((object.byteLength != other.byteLength) ||
1576
+ (object.byteOffset != other.byteOffset)) {
1577
+ return false;
1578
+ }
1579
+ object = object.buffer;
1580
+ other = other.buffer;
1581
+
1582
+ case arrayBufferTag$1:
1583
+ if ((object.byteLength != other.byteLength) ||
1584
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
1585
+ return false;
1586
+ }
1587
+ return true;
1588
+
1589
+ case boolTag$1:
1590
+ case dateTag$1:
1591
+ case numberTag$1:
1592
+ // Coerce booleans to `1` or `0` and dates to milliseconds.
1593
+ // Invalid dates are coerced to `NaN`.
1594
+ return eq(+object, +other);
1595
+
1596
+ case errorTag$1:
1597
+ return object.name == other.name && object.message == other.message;
1598
+
1599
+ case regexpTag$1:
1600
+ case stringTag$1:
1601
+ // Coerce regexes to strings and treat strings, primitives and objects,
1602
+ // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
1603
+ // for more details.
1604
+ return object == (other + '');
1605
+
1606
+ case mapTag$2:
1607
+ var convert = mapToArray;
1608
+
1609
+ case setTag$2:
1610
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
1611
+ convert || (convert = setToArray);
1612
+
1613
+ if (object.size != other.size && !isPartial) {
1614
+ return false;
1615
+ }
1616
+ // Assume cyclic values are equal.
1617
+ var stacked = stack.get(object);
1618
+ if (stacked) {
1619
+ return stacked == other;
1620
+ }
1621
+ bitmask |= COMPARE_UNORDERED_FLAG;
1622
+
1623
+ // Recursively compare objects (susceptible to call stack limits).
1624
+ stack.set(object, other);
1625
+ var result = equalArrays$1(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
1626
+ stack['delete'](object);
1627
+ return result;
1628
+
1629
+ case symbolTag:
1630
+ if (symbolValueOf) {
1631
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
1632
+ }
1633
+ }
1634
+ return false;
1635
+ }
1636
+
1637
+ var _equalByTag = equalByTag$1;
1638
+
1639
+ /**
1640
+ * Appends the elements of `values` to `array`.
1641
+ *
1642
+ * @private
1643
+ * @param {Array} array The array to modify.
1644
+ * @param {Array} values The values to append.
1645
+ * @returns {Array} Returns `array`.
1646
+ */
1647
+
1648
+ function arrayPush$1(array, values) {
1649
+ var index = -1,
1650
+ length = values.length,
1651
+ offset = array.length;
1652
+
1653
+ while (++index < length) {
1654
+ array[offset + index] = values[index];
1655
+ }
1656
+ return array;
1657
+ }
1658
+
1659
+ var _arrayPush = arrayPush$1;
1660
+
1661
+ /**
1662
+ * Checks if `value` is classified as an `Array` object.
1663
+ *
1664
+ * @static
1665
+ * @memberOf _
1666
+ * @since 0.1.0
1667
+ * @category Lang
1668
+ * @param {*} value The value to check.
1669
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1670
+ * @example
1671
+ *
1672
+ * _.isArray([1, 2, 3]);
1673
+ * // => true
1674
+ *
1675
+ * _.isArray(document.body.children);
1676
+ * // => false
1677
+ *
1678
+ * _.isArray('abc');
1679
+ * // => false
1680
+ *
1681
+ * _.isArray(_.noop);
1682
+ * // => false
1683
+ */
1684
+
1685
+ var isArray$3 = Array.isArray;
1686
+
1687
+ var isArray_1 = isArray$3;
1688
+
1689
+ var arrayPush = _arrayPush,
1690
+ isArray$2 = isArray_1;
1691
+
1692
+ /**
1693
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1694
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1695
+ * symbols of `object`.
1696
+ *
1697
+ * @private
1698
+ * @param {Object} object The object to query.
1699
+ * @param {Function} keysFunc The function to get the keys of `object`.
1700
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1701
+ * @returns {Array} Returns the array of property names and symbols.
1702
+ */
1703
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
1704
+ var result = keysFunc(object);
1705
+ return isArray$2(object) ? result : arrayPush(result, symbolsFunc(object));
1706
+ }
1707
+
1708
+ var _baseGetAllKeys = baseGetAllKeys$1;
1709
+
1710
+ /**
1711
+ * A specialized version of `_.filter` for arrays without support for
1712
+ * iteratee shorthands.
1713
+ *
1714
+ * @private
1715
+ * @param {Array} [array] The array to iterate over.
1716
+ * @param {Function} predicate The function invoked per iteration.
1717
+ * @returns {Array} Returns the new filtered array.
1718
+ */
1719
+
1720
+ function arrayFilter$1(array, predicate) {
1721
+ var index = -1,
1722
+ length = array == null ? 0 : array.length,
1723
+ resIndex = 0,
1724
+ result = [];
1725
+
1726
+ while (++index < length) {
1727
+ var value = array[index];
1728
+ if (predicate(value, index, array)) {
1729
+ result[resIndex++] = value;
1730
+ }
1731
+ }
1732
+ return result;
1733
+ }
1734
+
1735
+ var _arrayFilter = arrayFilter$1;
1736
+
1737
+ /**
1738
+ * This method returns a new empty array.
1739
+ *
1740
+ * @static
1741
+ * @memberOf _
1742
+ * @since 4.13.0
1743
+ * @category Util
1744
+ * @returns {Array} Returns the new empty array.
1745
+ * @example
1746
+ *
1747
+ * var arrays = _.times(2, _.stubArray);
1748
+ *
1749
+ * console.log(arrays);
1750
+ * // => [[], []]
1751
+ *
1752
+ * console.log(arrays[0] === arrays[1]);
1753
+ * // => false
1754
+ */
1755
+
1756
+ function stubArray$1() {
1757
+ return [];
1758
+ }
1759
+
1760
+ var stubArray_1 = stubArray$1;
1761
+
1762
+ var arrayFilter = _arrayFilter,
1763
+ stubArray = stubArray_1;
1764
+
1765
+ /** Used for built-in method references. */
1766
+ var objectProto$6 = Object.prototype;
1767
+
1768
+ /** Built-in value references. */
1769
+ var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable;
1770
+
1771
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1772
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
1773
+
1774
+ /**
1775
+ * Creates an array of the own enumerable symbols of `object`.
1776
+ *
1777
+ * @private
1778
+ * @param {Object} object The object to query.
1779
+ * @returns {Array} Returns the array of symbols.
1780
+ */
1781
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
1782
+ if (object == null) {
1783
+ return [];
1784
+ }
1785
+ object = Object(object);
1786
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1787
+ return propertyIsEnumerable$1.call(object, symbol);
1788
+ });
1789
+ };
1790
+
1791
+ var _getSymbols = getSymbols$1;
1792
+
1793
+ /**
1794
+ * The base implementation of `_.times` without support for iteratee shorthands
1795
+ * or max array length checks.
1796
+ *
1797
+ * @private
1798
+ * @param {number} n The number of times to invoke `iteratee`.
1799
+ * @param {Function} iteratee The function invoked per iteration.
1800
+ * @returns {Array} Returns the array of results.
1801
+ */
1802
+
1803
+ function baseTimes$1(n, iteratee) {
1804
+ var index = -1,
1805
+ result = Array(n);
1806
+
1807
+ while (++index < n) {
1808
+ result[index] = iteratee(index);
1809
+ }
1810
+ return result;
1811
+ }
1812
+
1813
+ var _baseTimes = baseTimes$1;
1814
+
1815
+ /**
1816
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1817
+ * and has a `typeof` result of "object".
1818
+ *
1819
+ * @static
1820
+ * @memberOf _
1821
+ * @since 4.0.0
1822
+ * @category Lang
1823
+ * @param {*} value The value to check.
1824
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1825
+ * @example
1826
+ *
1827
+ * _.isObjectLike({});
1828
+ * // => true
1829
+ *
1830
+ * _.isObjectLike([1, 2, 3]);
1831
+ * // => true
1832
+ *
1833
+ * _.isObjectLike(_.noop);
1834
+ * // => false
1835
+ *
1836
+ * _.isObjectLike(null);
1837
+ * // => false
1838
+ */
1839
+
1840
+ function isObjectLike$4(value) {
1841
+ return value != null && typeof value == 'object';
1842
+ }
1843
+
1844
+ var isObjectLike_1 = isObjectLike$4;
1845
+
1846
+ var baseGetTag$2 = _baseGetTag,
1847
+ isObjectLike$3 = isObjectLike_1;
1848
+
1849
+ /** `Object#toString` result references. */
1850
+ var argsTag$2 = '[object Arguments]';
1851
+
1852
+ /**
1853
+ * The base implementation of `_.isArguments`.
1854
+ *
1855
+ * @private
1856
+ * @param {*} value The value to check.
1857
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1858
+ */
1859
+ function baseIsArguments$1(value) {
1860
+ return isObjectLike$3(value) && baseGetTag$2(value) == argsTag$2;
1861
+ }
1862
+
1863
+ var _baseIsArguments = baseIsArguments$1;
1864
+
1865
+ var baseIsArguments = _baseIsArguments,
1866
+ isObjectLike$2 = isObjectLike_1;
1867
+
1868
+ /** Used for built-in method references. */
1869
+ var objectProto$5 = Object.prototype;
1870
+
1871
+ /** Used to check objects for own properties. */
1872
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1873
+
1874
+ /** Built-in value references. */
1875
+ var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
1876
+
1877
+ /**
1878
+ * Checks if `value` is likely an `arguments` object.
1879
+ *
1880
+ * @static
1881
+ * @memberOf _
1882
+ * @since 0.1.0
1883
+ * @category Lang
1884
+ * @param {*} value The value to check.
1885
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1886
+ * else `false`.
1887
+ * @example
1888
+ *
1889
+ * _.isArguments(function() { return arguments; }());
1890
+ * // => true
1891
+ *
1892
+ * _.isArguments([1, 2, 3]);
1893
+ * // => false
1894
+ */
1895
+ var isArguments$1 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
1896
+ return isObjectLike$2(value) && hasOwnProperty$4.call(value, 'callee') &&
1897
+ !propertyIsEnumerable.call(value, 'callee');
1898
+ };
1899
+
1900
+ var isArguments_1 = isArguments$1;
1901
+
1902
+ var isBuffer$2 = {exports: {}};
1903
+
1904
+ /**
1905
+ * This method returns `false`.
1906
+ *
1907
+ * @static
1908
+ * @memberOf _
1909
+ * @since 4.13.0
1910
+ * @category Util
1911
+ * @returns {boolean} Returns `false`.
1912
+ * @example
1913
+ *
1914
+ * _.times(2, _.stubFalse);
1915
+ * // => [false, false]
1916
+ */
1917
+
1918
+ function stubFalse() {
1919
+ return false;
1920
+ }
1921
+
1922
+ var stubFalse_1 = stubFalse;
1923
+
1924
+ isBuffer$2.exports;
1925
+
1926
+ (function (module, exports) {
1927
+ var root = _root,
1928
+ stubFalse = stubFalse_1;
1929
+
1930
+ /** Detect free variable `exports`. */
1931
+ var freeExports = exports && !exports.nodeType && exports;
1932
+
1933
+ /** Detect free variable `module`. */
1934
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
1935
+
1936
+ /** Detect the popular CommonJS extension `module.exports`. */
1937
+ var moduleExports = freeModule && freeModule.exports === freeExports;
1938
+
1939
+ /** Built-in value references. */
1940
+ var Buffer = moduleExports ? root.Buffer : undefined;
1941
+
1942
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1943
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
1944
+
1945
+ /**
1946
+ * Checks if `value` is a buffer.
1947
+ *
1948
+ * @static
1949
+ * @memberOf _
1950
+ * @since 4.3.0
1951
+ * @category Lang
1952
+ * @param {*} value The value to check.
1953
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1954
+ * @example
1955
+ *
1956
+ * _.isBuffer(new Buffer(2));
1957
+ * // => true
1958
+ *
1959
+ * _.isBuffer(new Uint8Array(2));
1960
+ * // => false
1961
+ */
1962
+ var isBuffer = nativeIsBuffer || stubFalse;
1963
+
1964
+ module.exports = isBuffer;
1965
+ } (isBuffer$2, isBuffer$2.exports));
1966
+
1967
+ var isBufferExports = isBuffer$2.exports;
1968
+
1969
+ /** Used as references for various `Number` constants. */
1970
+
1971
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
1972
+
1973
+ /** Used to detect unsigned integer values. */
1974
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
1975
+
1976
+ /**
1977
+ * Checks if `value` is a valid array-like index.
1978
+ *
1979
+ * @private
1980
+ * @param {*} value The value to check.
1981
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1982
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1983
+ */
1984
+ function isIndex$1(value, length) {
1985
+ var type = typeof value;
1986
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
1987
+
1988
+ return !!length &&
1989
+ (type == 'number' ||
1990
+ (type != 'symbol' && reIsUint.test(value))) &&
1991
+ (value > -1 && value % 1 == 0 && value < length);
1992
+ }
1993
+
1994
+ var _isIndex = isIndex$1;
1995
+
1996
+ /** Used as references for various `Number` constants. */
1997
+
1998
+ var MAX_SAFE_INTEGER = 9007199254740991;
1999
+
2000
+ /**
2001
+ * Checks if `value` is a valid array-like length.
2002
+ *
2003
+ * **Note:** This method is loosely based on
2004
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
2005
+ *
2006
+ * @static
2007
+ * @memberOf _
2008
+ * @since 4.0.0
2009
+ * @category Lang
2010
+ * @param {*} value The value to check.
2011
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
2012
+ * @example
2013
+ *
2014
+ * _.isLength(3);
2015
+ * // => true
2016
+ *
2017
+ * _.isLength(Number.MIN_VALUE);
2018
+ * // => false
2019
+ *
2020
+ * _.isLength(Infinity);
2021
+ * // => false
2022
+ *
2023
+ * _.isLength('3');
2024
+ * // => false
2025
+ */
2026
+ function isLength$2(value) {
2027
+ return typeof value == 'number' &&
2028
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2029
+ }
2030
+
2031
+ var isLength_1 = isLength$2;
2032
+
2033
+ var baseGetTag$1 = _baseGetTag,
2034
+ isLength$1 = isLength_1,
2035
+ isObjectLike$1 = isObjectLike_1;
2036
+
2037
+ /** `Object#toString` result references. */
2038
+ var argsTag$1 = '[object Arguments]',
2039
+ arrayTag$1 = '[object Array]',
2040
+ boolTag = '[object Boolean]',
2041
+ dateTag = '[object Date]',
2042
+ errorTag = '[object Error]',
2043
+ funcTag = '[object Function]',
2044
+ mapTag$1 = '[object Map]',
2045
+ numberTag = '[object Number]',
2046
+ objectTag$2 = '[object Object]',
2047
+ regexpTag = '[object RegExp]',
2048
+ setTag$1 = '[object Set]',
2049
+ stringTag = '[object String]',
2050
+ weakMapTag$1 = '[object WeakMap]';
2051
+
2052
+ var arrayBufferTag = '[object ArrayBuffer]',
2053
+ dataViewTag$1 = '[object DataView]',
2054
+ float32Tag = '[object Float32Array]',
2055
+ float64Tag = '[object Float64Array]',
2056
+ int8Tag = '[object Int8Array]',
2057
+ int16Tag = '[object Int16Array]',
2058
+ int32Tag = '[object Int32Array]',
2059
+ uint8Tag = '[object Uint8Array]',
2060
+ uint8ClampedTag = '[object Uint8ClampedArray]',
2061
+ uint16Tag = '[object Uint16Array]',
2062
+ uint32Tag = '[object Uint32Array]';
2063
+
2064
+ /** Used to identify `toStringTag` values of typed arrays. */
2065
+ var typedArrayTags = {};
2066
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
2067
+ typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
2068
+ typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
2069
+ typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
2070
+ typedArrayTags[uint32Tag] = true;
2071
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
2072
+ typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
2073
+ typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] =
2074
+ typedArrayTags[errorTag] = typedArrayTags[funcTag] =
2075
+ typedArrayTags[mapTag$1] = typedArrayTags[numberTag] =
2076
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag] =
2077
+ typedArrayTags[setTag$1] = typedArrayTags[stringTag] =
2078
+ typedArrayTags[weakMapTag$1] = false;
2079
+
2080
+ /**
2081
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
2082
+ *
2083
+ * @private
2084
+ * @param {*} value The value to check.
2085
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2086
+ */
2087
+ function baseIsTypedArray$1(value) {
2088
+ return isObjectLike$1(value) &&
2089
+ isLength$1(value.length) && !!typedArrayTags[baseGetTag$1(value)];
2090
+ }
2091
+
2092
+ var _baseIsTypedArray = baseIsTypedArray$1;
2093
+
2094
+ /**
2095
+ * The base implementation of `_.unary` without support for storing metadata.
2096
+ *
2097
+ * @private
2098
+ * @param {Function} func The function to cap arguments for.
2099
+ * @returns {Function} Returns the new capped function.
2100
+ */
2101
+
2102
+ function baseUnary$1(func) {
2103
+ return function(value) {
2104
+ return func(value);
2105
+ };
2106
+ }
2107
+
2108
+ var _baseUnary = baseUnary$1;
2109
+
2110
+ var _nodeUtil = {exports: {}};
2111
+
2112
+ _nodeUtil.exports;
2113
+
2114
+ (function (module, exports) {
2115
+ var freeGlobal = _freeGlobal;
2116
+
2117
+ /** Detect free variable `exports`. */
2118
+ var freeExports = exports && !exports.nodeType && exports;
2119
+
2120
+ /** Detect free variable `module`. */
2121
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
2122
+
2123
+ /** Detect the popular CommonJS extension `module.exports`. */
2124
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2125
+
2126
+ /** Detect free variable `process` from Node.js. */
2127
+ var freeProcess = moduleExports && freeGlobal.process;
2128
+
2129
+ /** Used to access faster Node.js helpers. */
2130
+ var nodeUtil = (function() {
2131
+ try {
2132
+ // Use `util.types` for Node.js 10+.
2133
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
2134
+
2135
+ if (types) {
2136
+ return types;
2137
+ }
2138
+
2139
+ // Legacy `process.binding('util')` for Node.js < 10.
2140
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
2141
+ } catch (e) {}
2142
+ }());
2143
+
2144
+ module.exports = nodeUtil;
2145
+ } (_nodeUtil, _nodeUtil.exports));
2146
+
2147
+ var _nodeUtilExports = _nodeUtil.exports;
2148
+
2149
+ var baseIsTypedArray = _baseIsTypedArray,
2150
+ baseUnary = _baseUnary,
2151
+ nodeUtil = _nodeUtilExports;
2152
+
2153
+ /* Node.js helper references. */
2154
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
2155
+
2156
+ /**
2157
+ * Checks if `value` is classified as a typed array.
2158
+ *
2159
+ * @static
2160
+ * @memberOf _
2161
+ * @since 3.0.0
2162
+ * @category Lang
2163
+ * @param {*} value The value to check.
2164
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2165
+ * @example
2166
+ *
2167
+ * _.isTypedArray(new Uint8Array);
2168
+ * // => true
2169
+ *
2170
+ * _.isTypedArray([]);
2171
+ * // => false
2172
+ */
2173
+ var isTypedArray$2 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
2174
+
2175
+ var isTypedArray_1 = isTypedArray$2;
2176
+
2177
+ var baseTimes = _baseTimes,
2178
+ isArguments = isArguments_1,
2179
+ isArray$1 = isArray_1,
2180
+ isBuffer$1 = isBufferExports,
2181
+ isIndex = _isIndex,
2182
+ isTypedArray$1 = isTypedArray_1;
2183
+
2184
+ /** Used for built-in method references. */
2185
+ var objectProto$4 = Object.prototype;
2186
+
2187
+ /** Used to check objects for own properties. */
2188
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
2189
+
2190
+ /**
2191
+ * Creates an array of the enumerable property names of the array-like `value`.
2192
+ *
2193
+ * @private
2194
+ * @param {*} value The value to query.
2195
+ * @param {boolean} inherited Specify returning inherited property names.
2196
+ * @returns {Array} Returns the array of property names.
2197
+ */
2198
+ function arrayLikeKeys$1(value, inherited) {
2199
+ var isArr = isArray$1(value),
2200
+ isArg = !isArr && isArguments(value),
2201
+ isBuff = !isArr && !isArg && isBuffer$1(value),
2202
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
2203
+ skipIndexes = isArr || isArg || isBuff || isType,
2204
+ result = skipIndexes ? baseTimes(value.length, String) : [],
2205
+ length = result.length;
2206
+
2207
+ for (var key in value) {
2208
+ if ((inherited || hasOwnProperty$3.call(value, key)) &&
2209
+ !(skipIndexes && (
2210
+ // Safari 9 has enumerable `arguments.length` in strict mode.
2211
+ key == 'length' ||
2212
+ // Node.js 0.10 has enumerable non-index properties on buffers.
2213
+ (isBuff && (key == 'offset' || key == 'parent')) ||
2214
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
2215
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
2216
+ // Skip index properties.
2217
+ isIndex(key, length)
2218
+ ))) {
2219
+ result.push(key);
2220
+ }
2221
+ }
2222
+ return result;
2223
+ }
2224
+
2225
+ var _arrayLikeKeys = arrayLikeKeys$1;
2226
+
2227
+ /** Used for built-in method references. */
2228
+
2229
+ var objectProto$3 = Object.prototype;
2230
+
2231
+ /**
2232
+ * Checks if `value` is likely a prototype object.
2233
+ *
2234
+ * @private
2235
+ * @param {*} value The value to check.
2236
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
2237
+ */
2238
+ function isPrototype$1(value) {
2239
+ var Ctor = value && value.constructor,
2240
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$3;
2241
+
2242
+ return value === proto;
2243
+ }
2244
+
2245
+ var _isPrototype = isPrototype$1;
2246
+
2247
+ /**
2248
+ * Creates a unary function that invokes `func` with its argument transformed.
2249
+ *
2250
+ * @private
2251
+ * @param {Function} func The function to wrap.
2252
+ * @param {Function} transform The argument transform.
2253
+ * @returns {Function} Returns the new function.
2254
+ */
2255
+
2256
+ function overArg$1(func, transform) {
2257
+ return function(arg) {
2258
+ return func(transform(arg));
2259
+ };
2260
+ }
2261
+
2262
+ var _overArg = overArg$1;
2263
+
2264
+ var overArg = _overArg;
2265
+
2266
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2267
+ var nativeKeys$1 = overArg(Object.keys, Object);
2268
+
2269
+ var _nativeKeys = nativeKeys$1;
2270
+
2271
+ var isPrototype = _isPrototype,
2272
+ nativeKeys = _nativeKeys;
2273
+
2274
+ /** Used for built-in method references. */
2275
+ var objectProto$2 = Object.prototype;
2276
+
2277
+ /** Used to check objects for own properties. */
2278
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
2279
+
2280
+ /**
2281
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
2282
+ *
2283
+ * @private
2284
+ * @param {Object} object The object to query.
2285
+ * @returns {Array} Returns the array of property names.
2286
+ */
2287
+ function baseKeys$1(object) {
2288
+ if (!isPrototype(object)) {
2289
+ return nativeKeys(object);
2290
+ }
2291
+ var result = [];
2292
+ for (var key in Object(object)) {
2293
+ if (hasOwnProperty$2.call(object, key) && key != 'constructor') {
2294
+ result.push(key);
2295
+ }
2296
+ }
2297
+ return result;
2298
+ }
2299
+
2300
+ var _baseKeys = baseKeys$1;
2301
+
2302
+ var isFunction = isFunction_1,
2303
+ isLength = isLength_1;
2304
+
2305
+ /**
2306
+ * Checks if `value` is array-like. A value is considered array-like if it's
2307
+ * not a function and has a `value.length` that's an integer greater than or
2308
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
2309
+ *
2310
+ * @static
2311
+ * @memberOf _
2312
+ * @since 4.0.0
2313
+ * @category Lang
2314
+ * @param {*} value The value to check.
2315
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
2316
+ * @example
2317
+ *
2318
+ * _.isArrayLike([1, 2, 3]);
2319
+ * // => true
2320
+ *
2321
+ * _.isArrayLike(document.body.children);
2322
+ * // => true
2323
+ *
2324
+ * _.isArrayLike('abc');
2325
+ * // => true
2326
+ *
2327
+ * _.isArrayLike(_.noop);
2328
+ * // => false
2329
+ */
2330
+ function isArrayLike$1(value) {
2331
+ return value != null && isLength(value.length) && !isFunction(value);
2332
+ }
2333
+
2334
+ var isArrayLike_1 = isArrayLike$1;
2335
+
2336
+ var arrayLikeKeys = _arrayLikeKeys,
2337
+ baseKeys = _baseKeys,
2338
+ isArrayLike = isArrayLike_1;
2339
+
2340
+ /**
2341
+ * Creates an array of the own enumerable property names of `object`.
2342
+ *
2343
+ * **Note:** Non-object values are coerced to objects. See the
2344
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
2345
+ * for more details.
2346
+ *
2347
+ * @static
2348
+ * @since 0.1.0
2349
+ * @memberOf _
2350
+ * @category Object
2351
+ * @param {Object} object The object to query.
2352
+ * @returns {Array} Returns the array of property names.
2353
+ * @example
2354
+ *
2355
+ * function Foo() {
2356
+ * this.a = 1;
2357
+ * this.b = 2;
2358
+ * }
2359
+ *
2360
+ * Foo.prototype.c = 3;
2361
+ *
2362
+ * _.keys(new Foo);
2363
+ * // => ['a', 'b'] (iteration order is not guaranteed)
2364
+ *
2365
+ * _.keys('hi');
2366
+ * // => ['0', '1']
2367
+ */
2368
+ function keys$1(object) {
2369
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
2370
+ }
2371
+
2372
+ var keys_1 = keys$1;
2373
+
2374
+ var baseGetAllKeys = _baseGetAllKeys,
2375
+ getSymbols = _getSymbols,
2376
+ keys = keys_1;
2377
+
2378
+ /**
2379
+ * Creates an array of own enumerable property names and symbols of `object`.
2380
+ *
2381
+ * @private
2382
+ * @param {Object} object The object to query.
2383
+ * @returns {Array} Returns the array of property names and symbols.
2384
+ */
2385
+ function getAllKeys$1(object) {
2386
+ return baseGetAllKeys(object, keys, getSymbols);
2387
+ }
2388
+
2389
+ var _getAllKeys = getAllKeys$1;
2390
+
2391
+ var getAllKeys = _getAllKeys;
2392
+
2393
+ /** Used to compose bitmasks for value comparisons. */
2394
+ var COMPARE_PARTIAL_FLAG$1 = 1;
2395
+
2396
+ /** Used for built-in method references. */
2397
+ var objectProto$1 = Object.prototype;
2398
+
2399
+ /** Used to check objects for own properties. */
2400
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2401
+
2402
+ /**
2403
+ * A specialized version of `baseIsEqualDeep` for objects with support for
2404
+ * partial deep comparisons.
2405
+ *
2406
+ * @private
2407
+ * @param {Object} object The object to compare.
2408
+ * @param {Object} other The other object to compare.
2409
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2410
+ * @param {Function} customizer The function to customize comparisons.
2411
+ * @param {Function} equalFunc The function to determine equivalents of values.
2412
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2413
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2414
+ */
2415
+ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
2416
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1,
2417
+ objProps = getAllKeys(object),
2418
+ objLength = objProps.length,
2419
+ othProps = getAllKeys(other),
2420
+ othLength = othProps.length;
2421
+
2422
+ if (objLength != othLength && !isPartial) {
2423
+ return false;
2424
+ }
2425
+ var index = objLength;
2426
+ while (index--) {
2427
+ var key = objProps[index];
2428
+ if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
2429
+ return false;
2430
+ }
2431
+ }
2432
+ // Check that cyclic values are equal.
2433
+ var objStacked = stack.get(object);
2434
+ var othStacked = stack.get(other);
2435
+ if (objStacked && othStacked) {
2436
+ return objStacked == other && othStacked == object;
2437
+ }
2438
+ var result = true;
2439
+ stack.set(object, other);
2440
+ stack.set(other, object);
2441
+
2442
+ var skipCtor = isPartial;
2443
+ while (++index < objLength) {
2444
+ key = objProps[index];
2445
+ var objValue = object[key],
2446
+ othValue = other[key];
2447
+
2448
+ if (customizer) {
2449
+ var compared = isPartial
2450
+ ? customizer(othValue, objValue, key, other, object, stack)
2451
+ : customizer(objValue, othValue, key, object, other, stack);
2452
+ }
2453
+ // Recursively compare objects (susceptible to call stack limits).
2454
+ if (!(compared === undefined
2455
+ ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
2456
+ : compared
2457
+ )) {
2458
+ result = false;
2459
+ break;
2460
+ }
2461
+ skipCtor || (skipCtor = key == 'constructor');
2462
+ }
2463
+ if (result && !skipCtor) {
2464
+ var objCtor = object.constructor,
2465
+ othCtor = other.constructor;
2466
+
2467
+ // Non `Object` object instances with different constructors are not equal.
2468
+ if (objCtor != othCtor &&
2469
+ ('constructor' in object && 'constructor' in other) &&
2470
+ !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
2471
+ typeof othCtor == 'function' && othCtor instanceof othCtor)) {
2472
+ result = false;
2473
+ }
2474
+ }
2475
+ stack['delete'](object);
2476
+ stack['delete'](other);
2477
+ return result;
2478
+ }
2479
+
2480
+ var _equalObjects = equalObjects$1;
2481
+
2482
+ var getNative$3 = _getNative,
2483
+ root$3 = _root;
2484
+
2485
+ /* Built-in method references that are verified to be native. */
2486
+ var DataView$1 = getNative$3(root$3, 'DataView');
2487
+
2488
+ var _DataView = DataView$1;
2489
+
2490
+ var getNative$2 = _getNative,
2491
+ root$2 = _root;
2492
+
2493
+ /* Built-in method references that are verified to be native. */
2494
+ var Promise$2 = getNative$2(root$2, 'Promise');
2495
+
2496
+ var _Promise = Promise$2;
2497
+
2498
+ var getNative$1 = _getNative,
2499
+ root$1 = _root;
2500
+
2501
+ /* Built-in method references that are verified to be native. */
2502
+ var Set$2 = getNative$1(root$1, 'Set');
2503
+
2504
+ var _Set = Set$2;
2505
+
2506
+ var getNative = _getNative,
2507
+ root = _root;
2508
+
2509
+ /* Built-in method references that are verified to be native. */
2510
+ var WeakMap$1 = getNative(root, 'WeakMap');
2511
+
2512
+ var _WeakMap = WeakMap$1;
2513
+
2514
+ var DataView = _DataView,
2515
+ Map = _Map,
2516
+ Promise$1 = _Promise,
2517
+ Set$1 = _Set,
2518
+ WeakMap = _WeakMap,
2519
+ baseGetTag = _baseGetTag,
2520
+ toSource = _toSource;
2521
+
2522
+ /** `Object#toString` result references. */
2523
+ var mapTag = '[object Map]',
2524
+ objectTag$1 = '[object Object]',
2525
+ promiseTag = '[object Promise]',
2526
+ setTag = '[object Set]',
2527
+ weakMapTag = '[object WeakMap]';
2528
+
2529
+ var dataViewTag = '[object DataView]';
2530
+
2531
+ /** Used to detect maps, sets, and weakmaps. */
2532
+ var dataViewCtorString = toSource(DataView),
2533
+ mapCtorString = toSource(Map),
2534
+ promiseCtorString = toSource(Promise$1),
2535
+ setCtorString = toSource(Set$1),
2536
+ weakMapCtorString = toSource(WeakMap);
2537
+
2538
+ /**
2539
+ * Gets the `toStringTag` of `value`.
2540
+ *
2541
+ * @private
2542
+ * @param {*} value The value to query.
2543
+ * @returns {string} Returns the `toStringTag`.
2544
+ */
2545
+ var getTag$1 = baseGetTag;
2546
+
2547
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2548
+ if ((DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
2549
+ (Map && getTag$1(new Map) != mapTag) ||
2550
+ (Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag) ||
2551
+ (Set$1 && getTag$1(new Set$1) != setTag) ||
2552
+ (WeakMap && getTag$1(new WeakMap) != weakMapTag)) {
2553
+ getTag$1 = function(value) {
2554
+ var result = baseGetTag(value),
2555
+ Ctor = result == objectTag$1 ? value.constructor : undefined,
2556
+ ctorString = Ctor ? toSource(Ctor) : '';
2557
+
2558
+ if (ctorString) {
2559
+ switch (ctorString) {
2560
+ case dataViewCtorString: return dataViewTag;
2561
+ case mapCtorString: return mapTag;
2562
+ case promiseCtorString: return promiseTag;
2563
+ case setCtorString: return setTag;
2564
+ case weakMapCtorString: return weakMapTag;
2565
+ }
2566
+ }
2567
+ return result;
2568
+ };
2569
+ }
2570
+
2571
+ var _getTag = getTag$1;
2572
+
2573
+ var Stack = _Stack,
2574
+ equalArrays = _equalArrays,
2575
+ equalByTag = _equalByTag,
2576
+ equalObjects = _equalObjects,
2577
+ getTag = _getTag,
2578
+ isArray = isArray_1,
2579
+ isBuffer = isBufferExports,
2580
+ isTypedArray = isTypedArray_1;
2581
+
2582
+ /** Used to compose bitmasks for value comparisons. */
2583
+ var COMPARE_PARTIAL_FLAG = 1;
2584
+
2585
+ /** `Object#toString` result references. */
2586
+ var argsTag = '[object Arguments]',
2587
+ arrayTag = '[object Array]',
2588
+ objectTag = '[object Object]';
2589
+
2590
+ /** Used for built-in method references. */
2591
+ var objectProto = Object.prototype;
2592
+
2593
+ /** Used to check objects for own properties. */
2594
+ var hasOwnProperty = objectProto.hasOwnProperty;
2595
+
2596
+ /**
2597
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
2598
+ * deep comparisons and tracks traversed objects enabling objects with circular
2599
+ * references to be compared.
2600
+ *
2601
+ * @private
2602
+ * @param {Object} object The object to compare.
2603
+ * @param {Object} other The other object to compare.
2604
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2605
+ * @param {Function} customizer The function to customize comparisons.
2606
+ * @param {Function} equalFunc The function to determine equivalents of values.
2607
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
2608
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2609
+ */
2610
+ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
2611
+ var objIsArr = isArray(object),
2612
+ othIsArr = isArray(other),
2613
+ objTag = objIsArr ? arrayTag : getTag(object),
2614
+ othTag = othIsArr ? arrayTag : getTag(other);
2615
+
2616
+ objTag = objTag == argsTag ? objectTag : objTag;
2617
+ othTag = othTag == argsTag ? objectTag : othTag;
2618
+
2619
+ var objIsObj = objTag == objectTag,
2620
+ othIsObj = othTag == objectTag,
2621
+ isSameTag = objTag == othTag;
2622
+
2623
+ if (isSameTag && isBuffer(object)) {
2624
+ if (!isBuffer(other)) {
2625
+ return false;
2626
+ }
2627
+ objIsArr = true;
2628
+ objIsObj = false;
2629
+ }
2630
+ if (isSameTag && !objIsObj) {
2631
+ stack || (stack = new Stack);
2632
+ return (objIsArr || isTypedArray(object))
2633
+ ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
2634
+ : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2635
+ }
2636
+ if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
2637
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
2638
+ othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
2639
+
2640
+ if (objIsWrapped || othIsWrapped) {
2641
+ var objUnwrapped = objIsWrapped ? object.value() : object,
2642
+ othUnwrapped = othIsWrapped ? other.value() : other;
2643
+
2644
+ stack || (stack = new Stack);
2645
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2646
+ }
2647
+ }
2648
+ if (!isSameTag) {
2649
+ return false;
2650
+ }
2651
+ stack || (stack = new Stack);
2652
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2653
+ }
2654
+
2655
+ var _baseIsEqualDeep = baseIsEqualDeep$1;
2656
+
2657
+ var baseIsEqualDeep = _baseIsEqualDeep,
2658
+ isObjectLike = isObjectLike_1;
2659
+
2660
+ /**
2661
+ * The base implementation of `_.isEqual` which supports partial comparisons
2662
+ * and tracks traversed objects.
2663
+ *
2664
+ * @private
2665
+ * @param {*} value The value to compare.
2666
+ * @param {*} other The other value to compare.
2667
+ * @param {boolean} bitmask The bitmask flags.
2668
+ * 1 - Unordered comparison
2669
+ * 2 - Partial comparison
2670
+ * @param {Function} [customizer] The function to customize comparisons.
2671
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
2672
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2673
+ */
2674
+ function baseIsEqual$1(value, other, bitmask, customizer, stack) {
2675
+ if (value === other) {
2676
+ return true;
2677
+ }
2678
+ if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
2679
+ return value !== value && other !== other;
2680
+ }
2681
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$1, stack);
2682
+ }
2683
+
2684
+ var _baseIsEqual = baseIsEqual$1;
2685
+
2686
+ var baseIsEqual = _baseIsEqual;
2687
+
2688
+ /**
2689
+ * Performs a deep comparison between two values to determine if they are
2690
+ * equivalent.
2691
+ *
2692
+ * **Note:** This method supports comparing arrays, array buffers, booleans,
2693
+ * date objects, error objects, maps, numbers, `Object` objects, regexes,
2694
+ * sets, strings, symbols, and typed arrays. `Object` objects are compared
2695
+ * by their own, not inherited, enumerable properties. Functions and DOM
2696
+ * nodes are compared by strict equality, i.e. `===`.
2697
+ *
2698
+ * @static
2699
+ * @memberOf _
2700
+ * @since 0.1.0
2701
+ * @category Lang
2702
+ * @param {*} value The value to compare.
2703
+ * @param {*} other The other value to compare.
2704
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2705
+ * @example
2706
+ *
2707
+ * var object = { 'a': 1 };
2708
+ * var other = { 'a': 1 };
2709
+ *
2710
+ * _.isEqual(object, other);
2711
+ * // => true
2712
+ *
2713
+ * object === other;
2714
+ * // => false
2715
+ */
2716
+ function isEqual(value, other) {
2717
+ return baseIsEqual(value, other);
2718
+ }
2719
+
2720
+ var isEqual_1 = isEqual;
2721
+
2722
+ var isEqual$1 = /*@__PURE__*/getDefaultExportFromCjs(isEqual_1);
2723
+
2724
+ function hasStateChanged(prevState, updates) {
2725
+ return Object.entries(updates).some(function (_a) {
2726
+ var key = _a[0], value = _a[1];
2727
+ if (typeof prevState[key] === 'function' && typeof value === 'function') {
2728
+ /**
2729
+ * Function is not considered as state change. Why?
2730
+ * Because function is not a value, it's a reference.
2731
+ * If we consider non-memoized function as state change,
2732
+ * it will always be true and cause unnecessary re-renders.
2733
+ */
2734
+ return false;
2735
+ }
2736
+ return !isEqual$1(prevState[key], value);
2737
+ });
2738
+ }
2739
+ /**
2740
+ * A custom store creation utility
2741
+ */
2742
+ function createStore(initialState) {
2743
+ var state = __assign({}, initialState);
2744
+ var listeners = new Set();
2745
+ var isUpdating = false;
2746
+ var setState = function (partial, force) {
2747
+ // Prevent nested updates
2748
+ if (isUpdating)
2749
+ return;
2750
+ try {
2751
+ isUpdating = true;
2752
+ var nextState = typeof partial === 'function' ? partial(state) : partial;
2753
+ var hasChanged = hasStateChanged(state, nextState);
2754
+ if (force || hasChanged) {
2755
+ state = __assign(__assign({}, state), nextState);
2756
+ listeners.forEach(function (listener) { return listener(); });
2757
+ }
2758
+ }
2759
+ finally {
2760
+ isUpdating = false;
2761
+ }
2762
+ };
2763
+ return {
2764
+ getState: function () { return state; },
2765
+ setState: setState,
2766
+ subscribe: function (listener) {
2767
+ listeners.add(listener);
2768
+ return function () { return listeners.delete(listener); };
2769
+ },
2770
+ };
2771
+ }
2772
+
2773
+ /**
2774
+ * Config
2775
+ */
2776
+ var deprecatedConfig = {
2777
+ onUserProfileMessage: undefined,
2778
+ disableUserProfile: false,
2779
+ isReactionEnabled: true,
2780
+ isMentionEnabled: false,
2781
+ isVoiceMessageEnabled: true,
2782
+ replyType: 'NONE',
2783
+ showSearchIcon: true,
2784
+ isTypingIndicatorEnabledOnChannelList: false,
2785
+ isMessageReceiptStatusEnabledOnChannelList: false,
2786
+ setCurrenttheme: function () { },
2787
+ };
2788
+ var config = __assign(__assign({}, deprecatedConfig), {
2789
+ // Connection
2790
+ appId: '', userId: '', accessToken: undefined, theme: 'light', isOnline: false,
2791
+ // High level options
2792
+ allowProfileEdit: true, forceLeftToRightMessageLayout: false, disableMarkAsDelivered: false, isMultipleFilesMessageEnabled: false, htmlTextDirection: 'ltr', uikitUploadSizeLimit: DEFAULT_UPLOAD_SIZE_LIMIT, uikitMultipleFilesMessageLimit: DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT, imageCompression: undefined, voiceRecord: undefined, userMention: undefined,
2793
+ // Functions
2794
+ renderUserProfile: undefined, onStartDirectMessage: undefined, setCurrentTheme: undefined, userListQuery: undefined,
2795
+ // Utils
2796
+ pubSub: undefined, logger: undefined, markAsReadScheduler: undefined, markAsDeliveredScheduler: undefined,
2797
+ // UIKit Configs
2798
+ common: {
2799
+ enableUsingDefaultUserProfile: false,
2800
+ }, groupChannel: {
2801
+ enableOgtag: true,
2802
+ enableTypingIndicator: true,
2803
+ enableReactions: true,
2804
+ enableMention: false,
2805
+ replyType: 'none',
2806
+ threadReplySelectType: 'thread',
2807
+ enableVoiceMessage: true,
2808
+ typingIndicatorTypes: undefined,
2809
+ enableDocument: false,
2810
+ enableFeedback: false,
2811
+ enableSuggestedReplies: false,
2812
+ showSuggestedRepliesFor: 'all_messages',
2813
+ suggestedRepliesDirection: 'vertical',
2814
+ enableMarkdownForUserMessage: false,
2815
+ enableFormTypeMessage: false,
2816
+ enableReactionsSupergroup: undefined, // @deprecated
2817
+ }, groupChannelList: {
2818
+ enableTypingIndicator: false,
2819
+ enableMessageReceiptStatus: false,
2820
+ }, groupChannelSettings: {
2821
+ enableMessageSearch: false,
2822
+ }, openChannel: {
2823
+ enableOgtag: true,
2824
+ enableDocument: false,
2825
+ } });
2826
+ /**
2827
+ * Stores
2828
+ */
2829
+ var stores = {
2830
+ sdkStore: {
2831
+ sdk: {},
2832
+ initialized: false,
2833
+ loading: false,
2834
+ error: undefined,
2835
+ },
2836
+ userStore: {
2837
+ user: {},
2838
+ initialized: false,
2839
+ loading: false,
2840
+ },
2841
+ appInfoStore: {
2842
+ messageTemplatesInfo: undefined,
2843
+ waitingTemplateKeysMap: {},
2844
+ },
2845
+ };
2846
+ var initialState = {
2847
+ config: config,
2848
+ stores: stores,
2849
+ emojiManager: undefined,
2850
+ eventHandlers: {
2851
+ reaction: {
2852
+ onPressUserProfile: function () { },
2853
+ },
2854
+ connection: {
2855
+ onConnected: function () { },
2856
+ onFailed: function () { },
2857
+ },
2858
+ modal: {
2859
+ onMounted: function () { },
2860
+ },
2861
+ message: {
2862
+ onSendMessageFailed: function () { },
2863
+ onUpdateMessageFailed: function () { },
2864
+ onFileUploadFailed: function () { },
2865
+ },
2866
+ },
2867
+ utils: {
2868
+ updateMessageTemplatesInfo: function () { return new Promise(function () { }); },
2869
+ getCachedTemplate: function () { return null; },
2870
+ },
2871
+ };
2872
+
2873
+ /**
2874
+ * A generic hook for accessing and updating store state
2875
+ * @param StoreContext
2876
+ * @param selector
2877
+ * @param initialState
2878
+ */
2879
+ function useStore(StoreContext, selector, initialState) {
2880
+ var store = useContext(StoreContext);
2881
+ if (!store) {
2882
+ throw new Error('useStore must be used within a StoreProvider');
2883
+ }
2884
+ // Ensure the stability of the selector function using useRef
2885
+ var selectorRef = useRef(selector);
2886
+ selectorRef.current = selector;
2887
+ /**
2888
+ * useSyncExternalStore - a new API introduced in React18
2889
+ * but we're using a shim for now since it's only available in 18 >= version.
2890
+ * useSyncExternalStore simply tracks changes in an external store that is not dependent on React
2891
+ * through useState and useEffect
2892
+ * and helps with re-rendering and state sync through the setter of useState
2893
+ */
2894
+ var state = shimExports.useSyncExternalStore(store.subscribe, function () { return selectorRef.current(store.getState()); }, function () { return selectorRef.current(initialState); });
2895
+ var updateState = useCallback(function (updates) {
2896
+ var currentState = store.getState();
2897
+ if (hasStateChanged(currentState, updates)) {
2898
+ store.setState(function (prevState) { return (__assign(__assign({}, prevState), updates)); });
2899
+ }
2900
+ }, [store]);
2901
+ return useMemo(function () { return ({
2902
+ state: state,
2903
+ updateState: updateState,
2904
+ }); }, [state, updateState]);
2905
+ }
2906
+
2907
+ /**
2908
+ * SendbirdContext
2909
+ */
2910
+ var SendbirdContext = React__default.createContext(null);
2911
+ /**
2912
+ * A specialized hook for Ssendbird state management
2913
+ * @returns {ReturnType<typeof createStore<SendbirdState>>}
2914
+ */
2915
+ var useSendbirdStore = function () {
2916
+ return useStore(SendbirdContext, function (state) { return state; }, initialState);
2917
+ };
2918
+
2919
+ export { SendbirdContext as S, useSendbirdStore as a, initialState as b, createStore as c, isEqual$1 as i, shimExports as s, useStore as u };
2920
+ //# sourceMappingURL=bundle-m1et25Jg.js.map