@100mslive/react-native-room-kit 0.0.1

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 (1111) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +25 -0
  3. package/lib/commonjs/HMSContainer.js +20 -0
  4. package/lib/commonjs/HMSContainer.js.map +1 -0
  5. package/lib/commonjs/HMSInstanceSetup.js +160 -0
  6. package/lib/commonjs/HMSInstanceSetup.js.map +1 -0
  7. package/lib/commonjs/HMSPrebuilt.js +32 -0
  8. package/lib/commonjs/HMSPrebuilt.js.map +1 -0
  9. package/lib/commonjs/HMSRoomSetup.js +216 -0
  10. package/lib/commonjs/HMSRoomSetup.js.map +1 -0
  11. package/lib/commonjs/Icons/100ms/assets/hms-logo.png +0 -0
  12. package/lib/commonjs/Icons/100ms/assets/hms-logo@2x.png +0 -0
  13. package/lib/commonjs/Icons/100ms/assets/hms-logo@3x.png +0 -0
  14. package/lib/commonjs/Icons/100ms/index.js +30 -0
  15. package/lib/commonjs/Icons/100ms/index.js.map +1 -0
  16. package/lib/commonjs/Icons/Alert/assets/alert.png +0 -0
  17. package/lib/commonjs/Icons/Alert/assets/alert@2x.png +0 -0
  18. package/lib/commonjs/Icons/Alert/assets/alert@3x.png +0 -0
  19. package/lib/commonjs/Icons/Alert/index.js +30 -0
  20. package/lib/commonjs/Icons/Alert/index.js.map +1 -0
  21. package/lib/commonjs/Icons/Camera/assets/camera-muted.png +0 -0
  22. package/lib/commonjs/Icons/Camera/assets/camera-muted@2x.png +0 -0
  23. package/lib/commonjs/Icons/Camera/assets/camera-muted@3x.png +0 -0
  24. package/lib/commonjs/Icons/Camera/assets/camera-unmuted.png +0 -0
  25. package/lib/commonjs/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
  26. package/lib/commonjs/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
  27. package/lib/commonjs/Icons/Camera/index.js +31 -0
  28. package/lib/commonjs/Icons/Camera/index.js.map +1 -0
  29. package/lib/commonjs/Icons/Chat/assets/chat.png +0 -0
  30. package/lib/commonjs/Icons/Chat/assets/chat@2x.png +0 -0
  31. package/lib/commonjs/Icons/Chat/assets/chat@3x.png +0 -0
  32. package/lib/commonjs/Icons/Chat/index.js +30 -0
  33. package/lib/commonjs/Icons/Chat/index.js.map +1 -0
  34. package/lib/commonjs/Icons/Chevron/assets/chevron-down.png +0 -0
  35. package/lib/commonjs/Icons/Chevron/assets/chevron-down@2x.png +0 -0
  36. package/lib/commonjs/Icons/Chevron/assets/chevron-down@3x.png +0 -0
  37. package/lib/commonjs/Icons/Chevron/assets/chevron-left.png +0 -0
  38. package/lib/commonjs/Icons/Chevron/assets/chevron-left@2x.png +0 -0
  39. package/lib/commonjs/Icons/Chevron/assets/chevron-left@3x.png +0 -0
  40. package/lib/commonjs/Icons/Chevron/index.js +31 -0
  41. package/lib/commonjs/Icons/Chevron/index.js.map +1 -0
  42. package/lib/commonjs/Icons/Clock/assets/clock.png +0 -0
  43. package/lib/commonjs/Icons/Clock/assets/clock@2x.png +0 -0
  44. package/lib/commonjs/Icons/Clock/assets/clock@3x.png +0 -0
  45. package/lib/commonjs/Icons/Clock/index.js +30 -0
  46. package/lib/commonjs/Icons/Clock/index.js.map +1 -0
  47. package/lib/commonjs/Icons/Close/assets/close.png +0 -0
  48. package/lib/commonjs/Icons/Close/assets/close@2x.png +0 -0
  49. package/lib/commonjs/Icons/Close/assets/close@3x.png +0 -0
  50. package/lib/commonjs/Icons/Close/index.js +30 -0
  51. package/lib/commonjs/Icons/Close/index.js.map +1 -0
  52. package/lib/commonjs/Icons/End/assets/end.png +0 -0
  53. package/lib/commonjs/Icons/End/assets/end@2x.png +0 -0
  54. package/lib/commonjs/Icons/End/assets/end@3x.png +0 -0
  55. package/lib/commonjs/Icons/End/index.js +30 -0
  56. package/lib/commonjs/Icons/End/index.js.map +1 -0
  57. package/lib/commonjs/Icons/Hand/assets/hand.png +0 -0
  58. package/lib/commonjs/Icons/Hand/assets/hand@2x.png +0 -0
  59. package/lib/commonjs/Icons/Hand/assets/hand@3x.png +0 -0
  60. package/lib/commonjs/Icons/Hand/index.js +32 -0
  61. package/lib/commonjs/Icons/Hand/index.js.map +1 -0
  62. package/lib/commonjs/Icons/Leave/assets/leave.png +0 -0
  63. package/lib/commonjs/Icons/Leave/assets/leave@2x.png +0 -0
  64. package/lib/commonjs/Icons/Leave/assets/leave@3x.png +0 -0
  65. package/lib/commonjs/Icons/Leave/index.js +30 -0
  66. package/lib/commonjs/Icons/Leave/index.js.map +1 -0
  67. package/lib/commonjs/Icons/Mic/assets/mic-muted.png +0 -0
  68. package/lib/commonjs/Icons/Mic/assets/mic-muted@2x.png +0 -0
  69. package/lib/commonjs/Icons/Mic/assets/mic-muted@3x.png +0 -0
  70. package/lib/commonjs/Icons/Mic/assets/mic-unmuted.png +0 -0
  71. package/lib/commonjs/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
  72. package/lib/commonjs/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
  73. package/lib/commonjs/Icons/Mic/index.js +31 -0
  74. package/lib/commonjs/Icons/Mic/index.js.map +1 -0
  75. package/lib/commonjs/Icons/NetworkQuality/assets/network_0.png +0 -0
  76. package/lib/commonjs/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
  77. package/lib/commonjs/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
  78. package/lib/commonjs/Icons/NetworkQuality/assets/network_1.png +0 -0
  79. package/lib/commonjs/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
  80. package/lib/commonjs/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
  81. package/lib/commonjs/Icons/NetworkQuality/assets/network_2.png +0 -0
  82. package/lib/commonjs/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
  83. package/lib/commonjs/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
  84. package/lib/commonjs/Icons/NetworkQuality/assets/network_3.png +0 -0
  85. package/lib/commonjs/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
  86. package/lib/commonjs/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
  87. package/lib/commonjs/Icons/NetworkQuality/assets/network_4.png +0 -0
  88. package/lib/commonjs/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
  89. package/lib/commonjs/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
  90. package/lib/commonjs/Icons/NetworkQuality/assets/network_5.png +0 -0
  91. package/lib/commonjs/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
  92. package/lib/commonjs/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
  93. package/lib/commonjs/Icons/NetworkQuality/index.js +31 -0
  94. package/lib/commonjs/Icons/NetworkQuality/index.js.map +1 -0
  95. package/lib/commonjs/Icons/Participants/assets/participants.png +0 -0
  96. package/lib/commonjs/Icons/Participants/assets/participants@2x.png +0 -0
  97. package/lib/commonjs/Icons/Participants/assets/participants@3x.png +0 -0
  98. package/lib/commonjs/Icons/Participants/index.js +30 -0
  99. package/lib/commonjs/Icons/Participants/index.js.map +1 -0
  100. package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera.png +0 -0
  101. package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
  102. package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
  103. package/lib/commonjs/Icons/RotateCamera/index.js +30 -0
  104. package/lib/commonjs/Icons/RotateCamera/index.js.map +1 -0
  105. package/lib/commonjs/Icons/ScreenShare/assets/screen-share.png +0 -0
  106. package/lib/commonjs/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
  107. package/lib/commonjs/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
  108. package/lib/commonjs/Icons/ScreenShare/index.js +30 -0
  109. package/lib/commonjs/Icons/ScreenShare/index.js.map +1 -0
  110. package/lib/commonjs/Icons/Send/assets/send.png +0 -0
  111. package/lib/commonjs/Icons/Send/assets/send@2x.png +0 -0
  112. package/lib/commonjs/Icons/Send/assets/send@3x.png +0 -0
  113. package/lib/commonjs/Icons/Send/index.js +30 -0
  114. package/lib/commonjs/Icons/Send/index.js.map +1 -0
  115. package/lib/commonjs/Icons/Settings/assets/settings.png +0 -0
  116. package/lib/commonjs/Icons/Settings/assets/settings@2x.png +0 -0
  117. package/lib/commonjs/Icons/Settings/assets/settings@3x.png +0 -0
  118. package/lib/commonjs/Icons/Settings/index.js +30 -0
  119. package/lib/commonjs/Icons/Settings/index.js.map +1 -0
  120. package/lib/commonjs/Icons/Speaker/assets/speaker-muted.png +0 -0
  121. package/lib/commonjs/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
  122. package/lib/commonjs/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
  123. package/lib/commonjs/Icons/Speaker/assets/speaker.png +0 -0
  124. package/lib/commonjs/Icons/Speaker/assets/speaker@2x.png +0 -0
  125. package/lib/commonjs/Icons/Speaker/assets/speaker@3x.png +0 -0
  126. package/lib/commonjs/Icons/Speaker/index.js +31 -0
  127. package/lib/commonjs/Icons/Speaker/index.js.map +1 -0
  128. package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
  129. package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
  130. package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
  131. package/lib/commonjs/Icons/ThreeDots/index.js +31 -0
  132. package/lib/commonjs/Icons/ThreeDots/index.js.map +1 -0
  133. package/lib/commonjs/Icons/index.js +215 -0
  134. package/lib/commonjs/Icons/index.js.map +1 -0
  135. package/lib/commonjs/assets/100ms-logo.png +0 -0
  136. package/lib/commonjs/assets/brb.png +0 -0
  137. package/lib/commonjs/assets/icon.png +0 -0
  138. package/lib/commonjs/assets/illustration.png +0 -0
  139. package/lib/commonjs/assets/network_0.png +0 -0
  140. package/lib/commonjs/assets/network_1.png +0 -0
  141. package/lib/commonjs/assets/network_2.png +0 -0
  142. package/lib/commonjs/assets/network_3.png +0 -0
  143. package/lib/commonjs/assets/network_4.png +0 -0
  144. package/lib/commonjs/assets/user_music.png +0 -0
  145. package/lib/commonjs/components/AvatarView.js +48 -0
  146. package/lib/commonjs/components/AvatarView.js.map +1 -0
  147. package/lib/commonjs/components/BackButton.js +42 -0
  148. package/lib/commonjs/components/BackButton.js.map +1 -0
  149. package/lib/commonjs/components/Chat/ChatBanner.js +77 -0
  150. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -0
  151. package/lib/commonjs/components/Chat/ChatList.js +51 -0
  152. package/lib/commonjs/components/Chat/ChatList.js.map +1 -0
  153. package/lib/commonjs/components/Chat/ChatMessage.js +175 -0
  154. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -0
  155. package/lib/commonjs/components/Chat/PinnedMessage.js +85 -0
  156. package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -0
  157. package/lib/commonjs/components/Chat/index.js +50 -0
  158. package/lib/commonjs/components/Chat/index.js.map +1 -0
  159. package/lib/commonjs/components/ChatWindow.js +608 -0
  160. package/lib/commonjs/components/ChatWindow.js.map +1 -0
  161. package/lib/commonjs/components/CustomButton.js +53 -0
  162. package/lib/commonjs/components/CustomButton.js.map +1 -0
  163. package/lib/commonjs/components/CustomHLSPlayerControls.js +81 -0
  164. package/lib/commonjs/components/CustomHLSPlayerControls.js.map +1 -0
  165. package/lib/commonjs/components/CustomInput.js +90 -0
  166. package/lib/commonjs/components/CustomInput.js.map +1 -0
  167. package/lib/commonjs/components/DefaultModal.js +104 -0
  168. package/lib/commonjs/components/DefaultModal.js.map +1 -0
  169. package/lib/commonjs/components/DisplayTrack.js +70 -0
  170. package/lib/commonjs/components/DisplayTrack.js.map +1 -0
  171. package/lib/commonjs/components/DisplayView.js +213 -0
  172. package/lib/commonjs/components/DisplayView.js.map +1 -0
  173. package/lib/commonjs/components/Footer.js +86 -0
  174. package/lib/commonjs/components/Footer.js.map +1 -0
  175. package/lib/commonjs/components/FullScreenIndicator.js +25 -0
  176. package/lib/commonjs/components/FullScreenIndicator.js.map +1 -0
  177. package/lib/commonjs/components/GridView.js +98 -0
  178. package/lib/commonjs/components/GridView.js.map +1 -0
  179. package/lib/commonjs/components/HLSPlayerEmoticons.js +48 -0
  180. package/lib/commonjs/components/HLSPlayerEmoticons.js.map +1 -0
  181. package/lib/commonjs/components/HLSPlayerStatsView.js +64 -0
  182. package/lib/commonjs/components/HLSPlayerStatsView.js.map +1 -0
  183. package/lib/commonjs/components/HLSView.js +141 -0
  184. package/lib/commonjs/components/HLSView.js.map +1 -0
  185. package/lib/commonjs/components/HMSChat.js +31 -0
  186. package/lib/commonjs/components/HMSChat.js.map +1 -0
  187. package/lib/commonjs/components/HMSHLSNotStarted.js +59 -0
  188. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -0
  189. package/lib/commonjs/components/HMSManageCameraRotation.js +42 -0
  190. package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -0
  191. package/lib/commonjs/components/HMSManageLeave.js +286 -0
  192. package/lib/commonjs/components/HMSManageLeave.js.map +1 -0
  193. package/lib/commonjs/components/HMSManageLocalAudio.js +46 -0
  194. package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -0
  195. package/lib/commonjs/components/HMSManageLocalVideo.js +46 -0
  196. package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -0
  197. package/lib/commonjs/components/HMSManageRaiseHand.js +48 -0
  198. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -0
  199. package/lib/commonjs/components/HMSPreviewDeviceSettings.js +305 -0
  200. package/lib/commonjs/components/HMSPreviewDeviceSettings.js.map +1 -0
  201. package/lib/commonjs/components/HMSPreviewEditName.js +63 -0
  202. package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -0
  203. package/lib/commonjs/components/HMSPreviewJoinButton.js +56 -0
  204. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -0
  205. package/lib/commonjs/components/HMSPreviewPeersList.js +89 -0
  206. package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -0
  207. package/lib/commonjs/components/HMSPreviewSubtitle.js +32 -0
  208. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -0
  209. package/lib/commonjs/components/HMSPreviewTile.js +138 -0
  210. package/lib/commonjs/components/HMSPreviewTile.js.map +1 -0
  211. package/lib/commonjs/components/HMSPreviewTitle.js +32 -0
  212. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -0
  213. package/lib/commonjs/components/HMSRoomOptions.js +105 -0
  214. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -0
  215. package/lib/commonjs/components/HMSShareScreen.js +59 -0
  216. package/lib/commonjs/components/HMSShareScreen.js.map +1 -0
  217. package/lib/commonjs/components/HMSShowNetworkQuality.js +57 -0
  218. package/lib/commonjs/components/HMSShowNetworkQuality.js.map +1 -0
  219. package/lib/commonjs/components/Header.js +177 -0
  220. package/lib/commonjs/components/Header.js.map +1 -0
  221. package/lib/commonjs/components/LiveButton.js +70 -0
  222. package/lib/commonjs/components/LiveButton.js.map +1 -0
  223. package/lib/commonjs/components/Meeting.js +64 -0
  224. package/lib/commonjs/components/Meeting.js.map +1 -0
  225. package/lib/commonjs/components/MeetingScreenContent.js +98 -0
  226. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -0
  227. package/lib/commonjs/components/MenuModal/Menu.js +250 -0
  228. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -0
  229. package/lib/commonjs/components/MenuModal/MenuDivider.js +27 -0
  230. package/lib/commonjs/components/MenuModal/MenuDivider.js.map +1 -0
  231. package/lib/commonjs/components/MenuModal/MenuItem.js +60 -0
  232. package/lib/commonjs/components/MenuModal/MenuItem.js.map +1 -0
  233. package/lib/commonjs/components/MenuModal/index.js +27 -0
  234. package/lib/commonjs/components/MenuModal/index.js.map +1 -0
  235. package/lib/commonjs/components/Modals.js +1640 -0
  236. package/lib/commonjs/components/Modals.js.map +1 -0
  237. package/lib/commonjs/components/PIPView.js +33 -0
  238. package/lib/commonjs/components/PIPView.js.map +1 -0
  239. package/lib/commonjs/components/Participants/ParticipantsFilter.js +128 -0
  240. package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +1 -0
  241. package/lib/commonjs/components/Participants/ParticipantsHeader.js +67 -0
  242. package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +1 -0
  243. package/lib/commonjs/components/Participants/ParticipantsList.js +274 -0
  244. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -0
  245. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +55 -0
  246. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -0
  247. package/lib/commonjs/components/Participants/SearchableParticipantsView.js +27 -0
  248. package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +1 -0
  249. package/lib/commonjs/components/Participants/index.js +61 -0
  250. package/lib/commonjs/components/Participants/index.js.map +1 -0
  251. package/lib/commonjs/components/ParticipantsModal.js +43 -0
  252. package/lib/commonjs/components/ParticipantsModal.js.map +1 -0
  253. package/lib/commonjs/components/PeerDisplayView.js +79 -0
  254. package/lib/commonjs/components/PeerDisplayView.js.map +1 -0
  255. package/lib/commonjs/components/PeerRTCStatsContainer.js +70 -0
  256. package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -0
  257. package/lib/commonjs/components/PeerRTCStatsView.js +54 -0
  258. package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -0
  259. package/lib/commonjs/components/PeerSettingsModalContent.js +241 -0
  260. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -0
  261. package/lib/commonjs/components/Picker.js +93 -0
  262. package/lib/commonjs/components/Picker.js.map +1 -0
  263. package/lib/commonjs/components/PressableIcon.js +46 -0
  264. package/lib/commonjs/components/PressableIcon.js.map +1 -0
  265. package/lib/commonjs/components/Preview.js +86 -0
  266. package/lib/commonjs/components/Preview.js.map +1 -0
  267. package/lib/commonjs/components/RoomSettingsModalContent.js +515 -0
  268. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -0
  269. package/lib/commonjs/components/StatusBar.js +26 -0
  270. package/lib/commonjs/components/StatusBar.js.map +1 -0
  271. package/lib/commonjs/components/StreamingQualityModalContent.js +215 -0
  272. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -0
  273. package/lib/commonjs/components/SwitchRow.js +49 -0
  274. package/lib/commonjs/components/SwitchRow.js.map +1 -0
  275. package/lib/commonjs/components/Tile.js +111 -0
  276. package/lib/commonjs/components/Tile.js.map +1 -0
  277. package/lib/commonjs/components/TilesContainer.js +38 -0
  278. package/lib/commonjs/components/TilesContainer.js.map +1 -0
  279. package/lib/commonjs/components/ZoomableView.js +84 -0
  280. package/lib/commonjs/components/ZoomableView.js.map +1 -0
  281. package/lib/commonjs/components/index.js +94 -0
  282. package/lib/commonjs/components/index.js.map +1 -0
  283. package/lib/commonjs/components/styles.js +965 -0
  284. package/lib/commonjs/components/styles.js.map +1 -0
  285. package/lib/commonjs/hooks/useHmsInstance.js +175 -0
  286. package/lib/commonjs/hooks/useHmsInstance.js.map +1 -0
  287. package/lib/commonjs/hooks-sdk-selectors.js +17 -0
  288. package/lib/commonjs/hooks-sdk-selectors.js.map +1 -0
  289. package/lib/commonjs/hooks-sdk.js +126 -0
  290. package/lib/commonjs/hooks-sdk.js.map +1 -0
  291. package/lib/commonjs/hooks-util-selectors.js +12 -0
  292. package/lib/commonjs/hooks-util-selectors.js.map +1 -0
  293. package/lib/commonjs/hooks-util.js +792 -0
  294. package/lib/commonjs/hooks-util.js.map +1 -0
  295. package/lib/commonjs/index.js +17 -0
  296. package/lib/commonjs/index.js.map +1 -0
  297. package/lib/commonjs/peerTrackNodeUtils.js +65 -0
  298. package/lib/commonjs/peerTrackNodeUtils.js.map +1 -0
  299. package/lib/commonjs/redux/actionTypes.js +75 -0
  300. package/lib/commonjs/redux/actionTypes.js.map +1 -0
  301. package/lib/commonjs/redux/actions/index.js +182 -0
  302. package/lib/commonjs/redux/actions/index.js.map +1 -0
  303. package/lib/commonjs/redux/index.js +12 -0
  304. package/lib/commonjs/redux/index.js.map +1 -0
  305. package/lib/commonjs/redux/reducers/appState.js +131 -0
  306. package/lib/commonjs/redux/reducers/appState.js.map +1 -0
  307. package/lib/commonjs/redux/reducers/chatWindow.js +45 -0
  308. package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -0
  309. package/lib/commonjs/redux/reducers/hmsStates.js +67 -0
  310. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -0
  311. package/lib/commonjs/redux/reducers/index.js +22 -0
  312. package/lib/commonjs/redux/reducers/index.js.map +1 -0
  313. package/lib/commonjs/redux/reducers/message.js +43 -0
  314. package/lib/commonjs/redux/reducers/message.js.map +1 -0
  315. package/lib/commonjs/redux/reducers/userState.js +67 -0
  316. package/lib/commonjs/redux/reducers/userState.js.map +1 -0
  317. package/lib/commonjs/types.js +16 -0
  318. package/lib/commonjs/types.js.map +1 -0
  319. package/lib/commonjs/utils/dimension.js +64 -0
  320. package/lib/commonjs/utils/dimension.js.map +1 -0
  321. package/lib/commonjs/utils/functions.js +368 -0
  322. package/lib/commonjs/utils/functions.js.map +1 -0
  323. package/lib/commonjs/utils/getRoomLinkDetails.js +23 -0
  324. package/lib/commonjs/utils/getRoomLinkDetails.js.map +1 -0
  325. package/lib/commonjs/utils/hooks.js +46 -0
  326. package/lib/commonjs/utils/hooks.js.map +1 -0
  327. package/lib/commonjs/utils/theme.js +144 -0
  328. package/lib/commonjs/utils/theme.js.map +1 -0
  329. package/lib/commonjs/utils/types.js +104 -0
  330. package/lib/commonjs/utils/types.js.map +1 -0
  331. package/lib/commonjs/utils.js +30 -0
  332. package/lib/commonjs/utils.js.map +1 -0
  333. package/lib/module/HMSContainer.js +12 -0
  334. package/lib/module/HMSContainer.js.map +1 -0
  335. package/lib/module/HMSInstanceSetup.js +151 -0
  336. package/lib/module/HMSInstanceSetup.js.map +1 -0
  337. package/lib/module/HMSPrebuilt.js +22 -0
  338. package/lib/module/HMSPrebuilt.js.map +1 -0
  339. package/lib/module/HMSRoomSetup.js +206 -0
  340. package/lib/module/HMSRoomSetup.js.map +1 -0
  341. package/lib/module/Icons/100ms/assets/hms-logo.png +0 -0
  342. package/lib/module/Icons/100ms/assets/hms-logo@2x.png +0 -0
  343. package/lib/module/Icons/100ms/assets/hms-logo@3x.png +0 -0
  344. package/lib/module/Icons/100ms/index.js +22 -0
  345. package/lib/module/Icons/100ms/index.js.map +1 -0
  346. package/lib/module/Icons/Alert/assets/alert.png +0 -0
  347. package/lib/module/Icons/Alert/assets/alert@2x.png +0 -0
  348. package/lib/module/Icons/Alert/assets/alert@3x.png +0 -0
  349. package/lib/module/Icons/Alert/index.js +22 -0
  350. package/lib/module/Icons/Alert/index.js.map +1 -0
  351. package/lib/module/Icons/Camera/assets/camera-muted.png +0 -0
  352. package/lib/module/Icons/Camera/assets/camera-muted@2x.png +0 -0
  353. package/lib/module/Icons/Camera/assets/camera-muted@3x.png +0 -0
  354. package/lib/module/Icons/Camera/assets/camera-unmuted.png +0 -0
  355. package/lib/module/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
  356. package/lib/module/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
  357. package/lib/module/Icons/Camera/index.js +23 -0
  358. package/lib/module/Icons/Camera/index.js.map +1 -0
  359. package/lib/module/Icons/Chat/assets/chat.png +0 -0
  360. package/lib/module/Icons/Chat/assets/chat@2x.png +0 -0
  361. package/lib/module/Icons/Chat/assets/chat@3x.png +0 -0
  362. package/lib/module/Icons/Chat/index.js +22 -0
  363. package/lib/module/Icons/Chat/index.js.map +1 -0
  364. package/lib/module/Icons/Chevron/assets/chevron-down.png +0 -0
  365. package/lib/module/Icons/Chevron/assets/chevron-down@2x.png +0 -0
  366. package/lib/module/Icons/Chevron/assets/chevron-down@3x.png +0 -0
  367. package/lib/module/Icons/Chevron/assets/chevron-left.png +0 -0
  368. package/lib/module/Icons/Chevron/assets/chevron-left@2x.png +0 -0
  369. package/lib/module/Icons/Chevron/assets/chevron-left@3x.png +0 -0
  370. package/lib/module/Icons/Chevron/index.js +23 -0
  371. package/lib/module/Icons/Chevron/index.js.map +1 -0
  372. package/lib/module/Icons/Clock/assets/clock.png +0 -0
  373. package/lib/module/Icons/Clock/assets/clock@2x.png +0 -0
  374. package/lib/module/Icons/Clock/assets/clock@3x.png +0 -0
  375. package/lib/module/Icons/Clock/index.js +22 -0
  376. package/lib/module/Icons/Clock/index.js.map +1 -0
  377. package/lib/module/Icons/Close/assets/close.png +0 -0
  378. package/lib/module/Icons/Close/assets/close@2x.png +0 -0
  379. package/lib/module/Icons/Close/assets/close@3x.png +0 -0
  380. package/lib/module/Icons/Close/index.js +22 -0
  381. package/lib/module/Icons/Close/index.js.map +1 -0
  382. package/lib/module/Icons/End/assets/end.png +0 -0
  383. package/lib/module/Icons/End/assets/end@2x.png +0 -0
  384. package/lib/module/Icons/End/assets/end@3x.png +0 -0
  385. package/lib/module/Icons/End/index.js +22 -0
  386. package/lib/module/Icons/End/index.js.map +1 -0
  387. package/lib/module/Icons/Hand/assets/hand.png +0 -0
  388. package/lib/module/Icons/Hand/assets/hand@2x.png +0 -0
  389. package/lib/module/Icons/Hand/assets/hand@3x.png +0 -0
  390. package/lib/module/Icons/Hand/index.js +24 -0
  391. package/lib/module/Icons/Hand/index.js.map +1 -0
  392. package/lib/module/Icons/Leave/assets/leave.png +0 -0
  393. package/lib/module/Icons/Leave/assets/leave@2x.png +0 -0
  394. package/lib/module/Icons/Leave/assets/leave@3x.png +0 -0
  395. package/lib/module/Icons/Leave/index.js +22 -0
  396. package/lib/module/Icons/Leave/index.js.map +1 -0
  397. package/lib/module/Icons/Mic/assets/mic-muted.png +0 -0
  398. package/lib/module/Icons/Mic/assets/mic-muted@2x.png +0 -0
  399. package/lib/module/Icons/Mic/assets/mic-muted@3x.png +0 -0
  400. package/lib/module/Icons/Mic/assets/mic-unmuted.png +0 -0
  401. package/lib/module/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
  402. package/lib/module/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
  403. package/lib/module/Icons/Mic/index.js +23 -0
  404. package/lib/module/Icons/Mic/index.js.map +1 -0
  405. package/lib/module/Icons/NetworkQuality/assets/network_0.png +0 -0
  406. package/lib/module/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
  407. package/lib/module/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
  408. package/lib/module/Icons/NetworkQuality/assets/network_1.png +0 -0
  409. package/lib/module/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
  410. package/lib/module/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
  411. package/lib/module/Icons/NetworkQuality/assets/network_2.png +0 -0
  412. package/lib/module/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
  413. package/lib/module/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
  414. package/lib/module/Icons/NetworkQuality/assets/network_3.png +0 -0
  415. package/lib/module/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
  416. package/lib/module/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
  417. package/lib/module/Icons/NetworkQuality/assets/network_4.png +0 -0
  418. package/lib/module/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
  419. package/lib/module/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
  420. package/lib/module/Icons/NetworkQuality/assets/network_5.png +0 -0
  421. package/lib/module/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
  422. package/lib/module/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
  423. package/lib/module/Icons/NetworkQuality/index.js +23 -0
  424. package/lib/module/Icons/NetworkQuality/index.js.map +1 -0
  425. package/lib/module/Icons/Participants/assets/participants.png +0 -0
  426. package/lib/module/Icons/Participants/assets/participants@2x.png +0 -0
  427. package/lib/module/Icons/Participants/assets/participants@3x.png +0 -0
  428. package/lib/module/Icons/Participants/index.js +22 -0
  429. package/lib/module/Icons/Participants/index.js.map +1 -0
  430. package/lib/module/Icons/RotateCamera/assets/rotate-camera.png +0 -0
  431. package/lib/module/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
  432. package/lib/module/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
  433. package/lib/module/Icons/RotateCamera/index.js +22 -0
  434. package/lib/module/Icons/RotateCamera/index.js.map +1 -0
  435. package/lib/module/Icons/ScreenShare/assets/screen-share.png +0 -0
  436. package/lib/module/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
  437. package/lib/module/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
  438. package/lib/module/Icons/ScreenShare/index.js +22 -0
  439. package/lib/module/Icons/ScreenShare/index.js.map +1 -0
  440. package/lib/module/Icons/Send/assets/send.png +0 -0
  441. package/lib/module/Icons/Send/assets/send@2x.png +0 -0
  442. package/lib/module/Icons/Send/assets/send@3x.png +0 -0
  443. package/lib/module/Icons/Send/index.js +22 -0
  444. package/lib/module/Icons/Send/index.js.map +1 -0
  445. package/lib/module/Icons/Settings/assets/settings.png +0 -0
  446. package/lib/module/Icons/Settings/assets/settings@2x.png +0 -0
  447. package/lib/module/Icons/Settings/assets/settings@3x.png +0 -0
  448. package/lib/module/Icons/Settings/index.js +22 -0
  449. package/lib/module/Icons/Settings/index.js.map +1 -0
  450. package/lib/module/Icons/Speaker/assets/speaker-muted.png +0 -0
  451. package/lib/module/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
  452. package/lib/module/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
  453. package/lib/module/Icons/Speaker/assets/speaker.png +0 -0
  454. package/lib/module/Icons/Speaker/assets/speaker@2x.png +0 -0
  455. package/lib/module/Icons/Speaker/assets/speaker@3x.png +0 -0
  456. package/lib/module/Icons/Speaker/index.js +23 -0
  457. package/lib/module/Icons/Speaker/index.js.map +1 -0
  458. package/lib/module/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
  459. package/lib/module/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
  460. package/lib/module/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
  461. package/lib/module/Icons/ThreeDots/index.js +23 -0
  462. package/lib/module/Icons/ThreeDots/index.js.map +1 -0
  463. package/lib/module/Icons/index.js +20 -0
  464. package/lib/module/Icons/index.js.map +1 -0
  465. package/lib/module/assets/100ms-logo.png +0 -0
  466. package/lib/module/assets/brb.png +0 -0
  467. package/lib/module/assets/icon.png +0 -0
  468. package/lib/module/assets/illustration.png +0 -0
  469. package/lib/module/assets/network_0.png +0 -0
  470. package/lib/module/assets/network_1.png +0 -0
  471. package/lib/module/assets/network_2.png +0 -0
  472. package/lib/module/assets/network_3.png +0 -0
  473. package/lib/module/assets/network_4.png +0 -0
  474. package/lib/module/assets/user_music.png +0 -0
  475. package/lib/module/components/AvatarView.js +39 -0
  476. package/lib/module/components/AvatarView.js.map +1 -0
  477. package/lib/module/components/BackButton.js +33 -0
  478. package/lib/module/components/BackButton.js.map +1 -0
  479. package/lib/module/components/Chat/ChatBanner.js +67 -0
  480. package/lib/module/components/Chat/ChatBanner.js.map +1 -0
  481. package/lib/module/components/Chat/ChatList.js +44 -0
  482. package/lib/module/components/Chat/ChatList.js.map +1 -0
  483. package/lib/module/components/Chat/ChatMessage.js +165 -0
  484. package/lib/module/components/Chat/ChatMessage.js.map +1 -0
  485. package/lib/module/components/Chat/PinnedMessage.js +75 -0
  486. package/lib/module/components/Chat/PinnedMessage.js.map +1 -0
  487. package/lib/module/components/Chat/index.js +5 -0
  488. package/lib/module/components/Chat/index.js.map +1 -0
  489. package/lib/module/components/ChatWindow.js +595 -0
  490. package/lib/module/components/ChatWindow.js.map +1 -0
  491. package/lib/module/components/CustomButton.js +46 -0
  492. package/lib/module/components/CustomButton.js.map +1 -0
  493. package/lib/module/components/CustomHLSPlayerControls.js +73 -0
  494. package/lib/module/components/CustomHLSPlayerControls.js.map +1 -0
  495. package/lib/module/components/CustomInput.js +83 -0
  496. package/lib/module/components/CustomInput.js.map +1 -0
  497. package/lib/module/components/DefaultModal.js +96 -0
  498. package/lib/module/components/DefaultModal.js.map +1 -0
  499. package/lib/module/components/DisplayTrack.js +63 -0
  500. package/lib/module/components/DisplayTrack.js.map +1 -0
  501. package/lib/module/components/DisplayView.js +203 -0
  502. package/lib/module/components/DisplayView.js.map +1 -0
  503. package/lib/module/components/Footer.js +76 -0
  504. package/lib/module/components/Footer.js.map +1 -0
  505. package/lib/module/components/FullScreenIndicator.js +17 -0
  506. package/lib/module/components/FullScreenIndicator.js.map +1 -0
  507. package/lib/module/components/GridView.js +90 -0
  508. package/lib/module/components/GridView.js.map +1 -0
  509. package/lib/module/components/HLSPlayerEmoticons.js +40 -0
  510. package/lib/module/components/HLSPlayerEmoticons.js.map +1 -0
  511. package/lib/module/components/HLSPlayerStatsView.js +56 -0
  512. package/lib/module/components/HLSPlayerStatsView.js.map +1 -0
  513. package/lib/module/components/HLSView.js +132 -0
  514. package/lib/module/components/HLSView.js.map +1 -0
  515. package/lib/module/components/HMSChat.js +22 -0
  516. package/lib/module/components/HMSChat.js.map +1 -0
  517. package/lib/module/components/HMSHLSNotStarted.js +50 -0
  518. package/lib/module/components/HMSHLSNotStarted.js.map +1 -0
  519. package/lib/module/components/HMSManageCameraRotation.js +33 -0
  520. package/lib/module/components/HMSManageCameraRotation.js.map +1 -0
  521. package/lib/module/components/HMSManageLeave.js +276 -0
  522. package/lib/module/components/HMSManageLeave.js.map +1 -0
  523. package/lib/module/components/HMSManageLocalAudio.js +37 -0
  524. package/lib/module/components/HMSManageLocalAudio.js.map +1 -0
  525. package/lib/module/components/HMSManageLocalVideo.js +37 -0
  526. package/lib/module/components/HMSManageLocalVideo.js.map +1 -0
  527. package/lib/module/components/HMSManageRaiseHand.js +39 -0
  528. package/lib/module/components/HMSManageRaiseHand.js.map +1 -0
  529. package/lib/module/components/HMSPreviewDeviceSettings.js +296 -0
  530. package/lib/module/components/HMSPreviewDeviceSettings.js.map +1 -0
  531. package/lib/module/components/HMSPreviewEditName.js +54 -0
  532. package/lib/module/components/HMSPreviewEditName.js.map +1 -0
  533. package/lib/module/components/HMSPreviewJoinButton.js +47 -0
  534. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -0
  535. package/lib/module/components/HMSPreviewPeersList.js +80 -0
  536. package/lib/module/components/HMSPreviewPeersList.js.map +1 -0
  537. package/lib/module/components/HMSPreviewSubtitle.js +23 -0
  538. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -0
  539. package/lib/module/components/HMSPreviewTile.js +129 -0
  540. package/lib/module/components/HMSPreviewTile.js.map +1 -0
  541. package/lib/module/components/HMSPreviewTitle.js +23 -0
  542. package/lib/module/components/HMSPreviewTitle.js.map +1 -0
  543. package/lib/module/components/HMSRoomOptions.js +96 -0
  544. package/lib/module/components/HMSRoomOptions.js.map +1 -0
  545. package/lib/module/components/HMSShareScreen.js +50 -0
  546. package/lib/module/components/HMSShareScreen.js.map +1 -0
  547. package/lib/module/components/HMSShowNetworkQuality.js +48 -0
  548. package/lib/module/components/HMSShowNetworkQuality.js.map +1 -0
  549. package/lib/module/components/Header.js +167 -0
  550. package/lib/module/components/Header.js.map +1 -0
  551. package/lib/module/components/LiveButton.js +61 -0
  552. package/lib/module/components/LiveButton.js.map +1 -0
  553. package/lib/module/components/Meeting.js +55 -0
  554. package/lib/module/components/Meeting.js.map +1 -0
  555. package/lib/module/components/MeetingScreenContent.js +89 -0
  556. package/lib/module/components/MeetingScreenContent.js.map +1 -0
  557. package/lib/module/components/MenuModal/Menu.js +242 -0
  558. package/lib/module/components/MenuModal/Menu.js.map +1 -0
  559. package/lib/module/components/MenuModal/MenuDivider.js +20 -0
  560. package/lib/module/components/MenuModal/MenuDivider.js.map +1 -0
  561. package/lib/module/components/MenuModal/MenuItem.js +53 -0
  562. package/lib/module/components/MenuModal/MenuItem.js.map +1 -0
  563. package/lib/module/components/MenuModal/index.js +4 -0
  564. package/lib/module/components/MenuModal/index.js.map +1 -0
  565. package/lib/module/components/Modals.js +1609 -0
  566. package/lib/module/components/Modals.js.map +1 -0
  567. package/lib/module/components/PIPView.js +23 -0
  568. package/lib/module/components/PIPView.js.map +1 -0
  569. package/lib/module/components/Participants/ParticipantsFilter.js +121 -0
  570. package/lib/module/components/Participants/ParticipantsFilter.js.map +1 -0
  571. package/lib/module/components/Participants/ParticipantsHeader.js +58 -0
  572. package/lib/module/components/Participants/ParticipantsHeader.js.map +1 -0
  573. package/lib/module/components/Participants/ParticipantsList.js +264 -0
  574. package/lib/module/components/Participants/ParticipantsList.js.map +1 -0
  575. package/lib/module/components/Participants/ParticipantsSeachInput.js +45 -0
  576. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -0
  577. package/lib/module/components/Participants/SearchableParticipantsView.js +18 -0
  578. package/lib/module/components/Participants/SearchableParticipantsView.js.map +1 -0
  579. package/lib/module/components/Participants/index.js +6 -0
  580. package/lib/module/components/Participants/index.js.map +1 -0
  581. package/lib/module/components/ParticipantsModal.js +34 -0
  582. package/lib/module/components/ParticipantsModal.js.map +1 -0
  583. package/lib/module/components/PeerDisplayView.js +71 -0
  584. package/lib/module/components/PeerDisplayView.js.map +1 -0
  585. package/lib/module/components/PeerRTCStatsContainer.js +60 -0
  586. package/lib/module/components/PeerRTCStatsContainer.js.map +1 -0
  587. package/lib/module/components/PeerRTCStatsView.js +46 -0
  588. package/lib/module/components/PeerRTCStatsView.js.map +1 -0
  589. package/lib/module/components/PeerSettingsModalContent.js +233 -0
  590. package/lib/module/components/PeerSettingsModalContent.js.map +1 -0
  591. package/lib/module/components/Picker.js +83 -0
  592. package/lib/module/components/Picker.js.map +1 -0
  593. package/lib/module/components/PressableIcon.js +37 -0
  594. package/lib/module/components/PressableIcon.js.map +1 -0
  595. package/lib/module/components/Preview.js +77 -0
  596. package/lib/module/components/Preview.js.map +1 -0
  597. package/lib/module/components/RoomSettingsModalContent.js +505 -0
  598. package/lib/module/components/RoomSettingsModalContent.js.map +1 -0
  599. package/lib/module/components/StatusBar.js +17 -0
  600. package/lib/module/components/StatusBar.js.map +1 -0
  601. package/lib/module/components/StreamingQualityModalContent.js +205 -0
  602. package/lib/module/components/StreamingQualityModalContent.js.map +1 -0
  603. package/lib/module/components/SwitchRow.js +41 -0
  604. package/lib/module/components/SwitchRow.js.map +1 -0
  605. package/lib/module/components/Tile.js +104 -0
  606. package/lib/module/components/Tile.js.map +1 -0
  607. package/lib/module/components/TilesContainer.js +31 -0
  608. package/lib/module/components/TilesContainer.js.map +1 -0
  609. package/lib/module/components/ZoomableView.js +76 -0
  610. package/lib/module/components/ZoomableView.js.map +1 -0
  611. package/lib/module/components/index.js +9 -0
  612. package/lib/module/components/index.js.map +1 -0
  613. package/lib/module/components/styles.js +959 -0
  614. package/lib/module/components/styles.js.map +1 -0
  615. package/lib/module/hooks/useHmsInstance.js +174 -0
  616. package/lib/module/hooks/useHmsInstance.js.map +1 -0
  617. package/lib/module/hooks-sdk-selectors.js +9 -0
  618. package/lib/module/hooks-sdk-selectors.js.map +1 -0
  619. package/lib/module/hooks-sdk.js +115 -0
  620. package/lib/module/hooks-sdk.js.map +1 -0
  621. package/lib/module/hooks-util-selectors.js +5 -0
  622. package/lib/module/hooks-util-selectors.js.map +1 -0
  623. package/lib/module/hooks-util.js +772 -0
  624. package/lib/module/hooks-util.js.map +1 -0
  625. package/lib/module/index.js +2 -0
  626. package/lib/module/index.js.map +1 -0
  627. package/lib/module/peerTrackNodeUtils.js +52 -0
  628. package/lib/module/peerTrackNodeUtils.js.map +1 -0
  629. package/lib/module/redux/actionTypes.js +67 -0
  630. package/lib/module/redux/actionTypes.js.map +1 -0
  631. package/lib/module/redux/actions/index.js +144 -0
  632. package/lib/module/redux/actions/index.js.map +1 -0
  633. package/lib/module/redux/index.js +4 -0
  634. package/lib/module/redux/index.js.map +1 -0
  635. package/lib/module/redux/reducers/appState.js +123 -0
  636. package/lib/module/redux/reducers/appState.js.map +1 -0
  637. package/lib/module/redux/reducers/chatWindow.js +38 -0
  638. package/lib/module/redux/reducers/chatWindow.js.map +1 -0
  639. package/lib/module/redux/reducers/hmsStates.js +60 -0
  640. package/lib/module/redux/reducers/hmsStates.js.map +1 -0
  641. package/lib/module/redux/reducers/index.js +14 -0
  642. package/lib/module/redux/reducers/index.js.map +1 -0
  643. package/lib/module/redux/reducers/message.js +34 -0
  644. package/lib/module/redux/reducers/message.js.map +1 -0
  645. package/lib/module/redux/reducers/userState.js +58 -0
  646. package/lib/module/redux/reducers/userState.js.map +1 -0
  647. package/lib/module/types.js +9 -0
  648. package/lib/module/types.js.map +1 -0
  649. package/lib/module/utils/dimension.js +53 -0
  650. package/lib/module/utils/dimension.js.map +1 -0
  651. package/lib/module/utils/functions.js +338 -0
  652. package/lib/module/utils/functions.js.map +1 -0
  653. package/lib/module/utils/getRoomLinkDetails.js +16 -0
  654. package/lib/module/utils/getRoomLinkDetails.js.map +1 -0
  655. package/lib/module/utils/hooks.js +39 -0
  656. package/lib/module/utils/hooks.js.map +1 -0
  657. package/lib/module/utils/theme.js +134 -0
  658. package/lib/module/utils/theme.js.map +1 -0
  659. package/lib/module/utils/types.js +90 -0
  660. package/lib/module/utils/types.js.map +1 -0
  661. package/lib/module/utils.js +23 -0
  662. package/lib/module/utils.js.map +1 -0
  663. package/lib/typescript/HMSContainer.d.ts +3 -0
  664. package/lib/typescript/HMSContainer.d.ts.map +1 -0
  665. package/lib/typescript/HMSInstanceSetup.d.ts +3 -0
  666. package/lib/typescript/HMSInstanceSetup.d.ts.map +1 -0
  667. package/lib/typescript/HMSPrebuilt.d.ts +18 -0
  668. package/lib/typescript/HMSPrebuilt.d.ts.map +1 -0
  669. package/lib/typescript/HMSRoomSetup.d.ts +3 -0
  670. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -0
  671. package/lib/typescript/Icons/100ms/index.d.ts +7 -0
  672. package/lib/typescript/Icons/100ms/index.d.ts.map +1 -0
  673. package/lib/typescript/Icons/Alert/index.d.ts +7 -0
  674. package/lib/typescript/Icons/Alert/index.d.ts.map +1 -0
  675. package/lib/typescript/Icons/Camera/index.d.ts +8 -0
  676. package/lib/typescript/Icons/Camera/index.d.ts.map +1 -0
  677. package/lib/typescript/Icons/Chat/index.d.ts +7 -0
  678. package/lib/typescript/Icons/Chat/index.d.ts.map +1 -0
  679. package/lib/typescript/Icons/Chevron/index.d.ts +8 -0
  680. package/lib/typescript/Icons/Chevron/index.d.ts.map +1 -0
  681. package/lib/typescript/Icons/Clock/index.d.ts +7 -0
  682. package/lib/typescript/Icons/Clock/index.d.ts.map +1 -0
  683. package/lib/typescript/Icons/Close/index.d.ts +7 -0
  684. package/lib/typescript/Icons/Close/index.d.ts.map +1 -0
  685. package/lib/typescript/Icons/End/index.d.ts +7 -0
  686. package/lib/typescript/Icons/End/index.d.ts.map +1 -0
  687. package/lib/typescript/Icons/Hand/index.d.ts +7 -0
  688. package/lib/typescript/Icons/Hand/index.d.ts.map +1 -0
  689. package/lib/typescript/Icons/Leave/index.d.ts +7 -0
  690. package/lib/typescript/Icons/Leave/index.d.ts.map +1 -0
  691. package/lib/typescript/Icons/Mic/index.d.ts +8 -0
  692. package/lib/typescript/Icons/Mic/index.d.ts.map +1 -0
  693. package/lib/typescript/Icons/NetworkQuality/index.d.ts +8 -0
  694. package/lib/typescript/Icons/NetworkQuality/index.d.ts.map +1 -0
  695. package/lib/typescript/Icons/Participants/index.d.ts +7 -0
  696. package/lib/typescript/Icons/Participants/index.d.ts.map +1 -0
  697. package/lib/typescript/Icons/RotateCamera/index.d.ts +7 -0
  698. package/lib/typescript/Icons/RotateCamera/index.d.ts.map +1 -0
  699. package/lib/typescript/Icons/ScreenShare/index.d.ts +7 -0
  700. package/lib/typescript/Icons/ScreenShare/index.d.ts.map +1 -0
  701. package/lib/typescript/Icons/Send/index.d.ts +7 -0
  702. package/lib/typescript/Icons/Send/index.d.ts.map +1 -0
  703. package/lib/typescript/Icons/Settings/index.d.ts +7 -0
  704. package/lib/typescript/Icons/Settings/index.d.ts.map +1 -0
  705. package/lib/typescript/Icons/Speaker/index.d.ts +8 -0
  706. package/lib/typescript/Icons/Speaker/index.d.ts.map +1 -0
  707. package/lib/typescript/Icons/ThreeDots/index.d.ts +8 -0
  708. package/lib/typescript/Icons/ThreeDots/index.d.ts.map +1 -0
  709. package/lib/typescript/Icons/index.d.ts +20 -0
  710. package/lib/typescript/Icons/index.d.ts.map +1 -0
  711. package/lib/typescript/components/AvatarView.d.ts +10 -0
  712. package/lib/typescript/components/AvatarView.d.ts.map +1 -0
  713. package/lib/typescript/components/BackButton.d.ts +5 -0
  714. package/lib/typescript/components/BackButton.d.ts.map +1 -0
  715. package/lib/typescript/components/Chat/ChatBanner.d.ts +3 -0
  716. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -0
  717. package/lib/typescript/components/Chat/ChatList.d.ts +5 -0
  718. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -0
  719. package/lib/typescript/components/Chat/ChatMessage.d.ts +8 -0
  720. package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -0
  721. package/lib/typescript/components/Chat/PinnedMessage.d.ts +3 -0
  722. package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -0
  723. package/lib/typescript/components/Chat/index.d.ts +5 -0
  724. package/lib/typescript/components/Chat/index.d.ts.map +1 -0
  725. package/lib/typescript/components/ChatWindow.d.ts +22 -0
  726. package/lib/typescript/components/ChatWindow.d.ts.map +1 -0
  727. package/lib/typescript/components/CustomButton.d.ts +14 -0
  728. package/lib/typescript/components/CustomButton.d.ts.map +1 -0
  729. package/lib/typescript/components/CustomHLSPlayerControls.d.ts +7 -0
  730. package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +1 -0
  731. package/lib/typescript/components/CustomInput.d.ts +24 -0
  732. package/lib/typescript/components/CustomInput.d.ts.map +1 -0
  733. package/lib/typescript/components/DefaultModal.d.ts +15 -0
  734. package/lib/typescript/components/DefaultModal.d.ts.map +1 -0
  735. package/lib/typescript/components/DisplayTrack.d.ts +9 -0
  736. package/lib/typescript/components/DisplayTrack.d.ts.map +1 -0
  737. package/lib/typescript/components/DisplayView.d.ts +10 -0
  738. package/lib/typescript/components/DisplayView.d.ts.map +1 -0
  739. package/lib/typescript/components/Footer.d.ts +9 -0
  740. package/lib/typescript/components/Footer.d.ts.map +1 -0
  741. package/lib/typescript/components/FullScreenIndicator.d.ts +3 -0
  742. package/lib/typescript/components/FullScreenIndicator.d.ts.map +1 -0
  743. package/lib/typescript/components/GridView.d.ts +14 -0
  744. package/lib/typescript/components/GridView.d.ts.map +1 -0
  745. package/lib/typescript/components/HLSPlayerEmoticons.d.ts +2 -0
  746. package/lib/typescript/components/HLSPlayerEmoticons.d.ts.map +1 -0
  747. package/lib/typescript/components/HLSPlayerStatsView.d.ts +6 -0
  748. package/lib/typescript/components/HLSPlayerStatsView.d.ts.map +1 -0
  749. package/lib/typescript/components/HLSView.d.ts +3 -0
  750. package/lib/typescript/components/HLSView.d.ts.map +1 -0
  751. package/lib/typescript/components/HMSChat.d.ts +3 -0
  752. package/lib/typescript/components/HMSChat.d.ts.map +1 -0
  753. package/lib/typescript/components/HMSHLSNotStarted.d.ts +3 -0
  754. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -0
  755. package/lib/typescript/components/HMSManageCameraRotation.d.ts +3 -0
  756. package/lib/typescript/components/HMSManageCameraRotation.d.ts.map +1 -0
  757. package/lib/typescript/components/HMSManageLeave.d.ts +9 -0
  758. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -0
  759. package/lib/typescript/components/HMSManageLocalAudio.d.ts +3 -0
  760. package/lib/typescript/components/HMSManageLocalAudio.d.ts.map +1 -0
  761. package/lib/typescript/components/HMSManageLocalVideo.d.ts +3 -0
  762. package/lib/typescript/components/HMSManageLocalVideo.d.ts.map +1 -0
  763. package/lib/typescript/components/HMSManageRaiseHand.d.ts +3 -0
  764. package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -0
  765. package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts +3 -0
  766. package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts.map +1 -0
  767. package/lib/typescript/components/HMSPreviewEditName.d.ts +5 -0
  768. package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -0
  769. package/lib/typescript/components/HMSPreviewJoinButton.d.ts +7 -0
  770. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -0
  771. package/lib/typescript/components/HMSPreviewPeersList.d.ts +5 -0
  772. package/lib/typescript/components/HMSPreviewPeersList.d.ts.map +1 -0
  773. package/lib/typescript/components/HMSPreviewSubtitle.d.ts +6 -0
  774. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -0
  775. package/lib/typescript/components/HMSPreviewTile.d.ts +3 -0
  776. package/lib/typescript/components/HMSPreviewTile.d.ts.map +1 -0
  777. package/lib/typescript/components/HMSPreviewTitle.d.ts +6 -0
  778. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -0
  779. package/lib/typescript/components/HMSRoomOptions.d.ts +6 -0
  780. package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -0
  781. package/lib/typescript/components/HMSShareScreen.d.ts +9 -0
  782. package/lib/typescript/components/HMSShareScreen.d.ts.map +1 -0
  783. package/lib/typescript/components/HMSShowNetworkQuality.d.ts +3 -0
  784. package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +1 -0
  785. package/lib/typescript/components/Header.d.ts +9 -0
  786. package/lib/typescript/components/Header.d.ts.map +1 -0
  787. package/lib/typescript/components/LiveButton.d.ts +17 -0
  788. package/lib/typescript/components/LiveButton.d.ts.map +1 -0
  789. package/lib/typescript/components/Meeting.d.ts +8 -0
  790. package/lib/typescript/components/Meeting.d.ts.map +1 -0
  791. package/lib/typescript/components/MeetingScreenContent.d.ts +8 -0
  792. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -0
  793. package/lib/typescript/components/MenuModal/Menu.d.ts +45 -0
  794. package/lib/typescript/components/MenuModal/Menu.d.ts.map +1 -0
  795. package/lib/typescript/components/MenuModal/MenuDivider.d.ts +6 -0
  796. package/lib/typescript/components/MenuModal/MenuDivider.d.ts.map +1 -0
  797. package/lib/typescript/components/MenuModal/MenuItem.d.ts +12 -0
  798. package/lib/typescript/components/MenuModal/MenuItem.d.ts.map +1 -0
  799. package/lib/typescript/components/MenuModal/index.d.ts +7 -0
  800. package/lib/typescript/components/MenuModal/index.d.ts.map +1 -0
  801. package/lib/typescript/components/Modals.d.ts +96 -0
  802. package/lib/typescript/components/Modals.d.ts.map +1 -0
  803. package/lib/typescript/components/PIPView.d.ts +8 -0
  804. package/lib/typescript/components/PIPView.d.ts.map +1 -0
  805. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +6 -0
  806. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +1 -0
  807. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +9 -0
  808. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +1 -0
  809. package/lib/typescript/components/Participants/ParticipantsList.d.ts +7 -0
  810. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -0
  811. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts +8 -0
  812. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -0
  813. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +3 -0
  814. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +1 -0
  815. package/lib/typescript/components/Participants/index.d.ts +6 -0
  816. package/lib/typescript/components/Participants/index.d.ts.map +1 -0
  817. package/lib/typescript/components/ParticipantsModal.d.ts +5 -0
  818. package/lib/typescript/components/ParticipantsModal.d.ts.map +1 -0
  819. package/lib/typescript/components/PeerDisplayView.d.ts +11 -0
  820. package/lib/typescript/components/PeerDisplayView.d.ts.map +1 -0
  821. package/lib/typescript/components/PeerRTCStatsContainer.d.ts +9 -0
  822. package/lib/typescript/components/PeerRTCStatsContainer.d.ts.map +1 -0
  823. package/lib/typescript/components/PeerRTCStatsView.d.ts +10 -0
  824. package/lib/typescript/components/PeerRTCStatsView.d.ts.map +1 -0
  825. package/lib/typescript/components/PeerSettingsModalContent.d.ts +13 -0
  826. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -0
  827. package/lib/typescript/components/Picker.d.ts +9 -0
  828. package/lib/typescript/components/Picker.d.ts.map +1 -0
  829. package/lib/typescript/components/PressableIcon.d.ts +11 -0
  830. package/lib/typescript/components/PressableIcon.d.ts.map +1 -0
  831. package/lib/typescript/components/Preview.d.ts +6 -0
  832. package/lib/typescript/components/Preview.d.ts.map +1 -0
  833. package/lib/typescript/components/RoomSettingsModalContent.d.ts +17 -0
  834. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -0
  835. package/lib/typescript/components/StatusBar.d.ts +7 -0
  836. package/lib/typescript/components/StatusBar.d.ts.map +1 -0
  837. package/lib/typescript/components/StreamingQualityModalContent.d.ts +9 -0
  838. package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -0
  839. package/lib/typescript/components/SwitchRow.d.ts +12 -0
  840. package/lib/typescript/components/SwitchRow.d.ts.map +1 -0
  841. package/lib/typescript/components/Tile.d.ts +12 -0
  842. package/lib/typescript/components/Tile.d.ts.map +1 -0
  843. package/lib/typescript/components/TilesContainer.d.ts +11 -0
  844. package/lib/typescript/components/TilesContainer.d.ts.map +1 -0
  845. package/lib/typescript/components/ZoomableView.d.ts +6 -0
  846. package/lib/typescript/components/ZoomableView.d.ts.map +1 -0
  847. package/lib/typescript/components/index.d.ts +9 -0
  848. package/lib/typescript/components/index.d.ts.map +1 -0
  849. package/lib/typescript/components/styles.d.ts +945 -0
  850. package/lib/typescript/components/styles.d.ts.map +1 -0
  851. package/lib/typescript/hooks/useHmsInstance.d.ts +1 -0
  852. package/lib/typescript/hooks/useHmsInstance.d.ts.map +1 -0
  853. package/lib/typescript/hooks-sdk-selectors.d.ts +4 -0
  854. package/lib/typescript/hooks-sdk-selectors.d.ts.map +1 -0
  855. package/lib/typescript/hooks-sdk.d.ts +12 -0
  856. package/lib/typescript/hooks-sdk.d.ts.map +1 -0
  857. package/lib/typescript/hooks-util-selectors.d.ts +3 -0
  858. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -0
  859. package/lib/typescript/hooks-util.d.ts +53 -0
  860. package/lib/typescript/hooks-util.d.ts.map +1 -0
  861. package/lib/typescript/index.d.ts +2 -0
  862. package/lib/typescript/index.d.ts.map +1 -0
  863. package/lib/typescript/peerTrackNodeUtils.d.ts +10 -0
  864. package/lib/typescript/peerTrackNodeUtils.d.ts.map +1 -0
  865. package/lib/typescript/redux/actionTypes.d.ts +56 -0
  866. package/lib/typescript/redux/actionTypes.d.ts.map +1 -0
  867. package/lib/typescript/redux/actions/index.d.ts +199 -0
  868. package/lib/typescript/redux/actions/index.d.ts.map +1 -0
  869. package/lib/typescript/redux/index.d.ts +55 -0
  870. package/lib/typescript/redux/index.d.ts.map +1 -0
  871. package/lib/typescript/redux/reducers/appState.d.ts +32 -0
  872. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -0
  873. package/lib/typescript/redux/reducers/chatWindow.d.ts +10 -0
  874. package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -0
  875. package/lib/typescript/redux/reducers/hmsStates.d.ts +46 -0
  876. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -0
  877. package/lib/typescript/redux/reducers/index.d.ts +54 -0
  878. package/lib/typescript/redux/reducers/index.d.ts.map +1 -0
  879. package/lib/typescript/redux/reducers/message.d.ts +12 -0
  880. package/lib/typescript/redux/reducers/message.d.ts.map +1 -0
  881. package/lib/typescript/redux/reducers/userState.d.ts +26 -0
  882. package/lib/typescript/redux/reducers/userState.d.ts.map +1 -0
  883. package/lib/typescript/types.d.ts +8 -0
  884. package/lib/typescript/types.d.ts.map +1 -0
  885. package/lib/typescript/utils/dimension.d.ts +15 -0
  886. package/lib/typescript/utils/dimension.d.ts.map +1 -0
  887. package/lib/typescript/utils/functions.d.ts +47 -0
  888. package/lib/typescript/utils/functions.d.ts.map +1 -0
  889. package/lib/typescript/utils/getRoomLinkDetails.d.ts +5 -0
  890. package/lib/typescript/utils/getRoomLinkDetails.d.ts.map +1 -0
  891. package/lib/typescript/utils/hooks.d.ts +2 -0
  892. package/lib/typescript/utils/hooks.d.ts.map +1 -0
  893. package/lib/typescript/utils/theme.d.ts +126 -0
  894. package/lib/typescript/utils/theme.d.ts.map +1 -0
  895. package/lib/typescript/utils/types.d.ts +82 -0
  896. package/lib/typescript/utils/types.d.ts.map +1 -0
  897. package/lib/typescript/utils.d.ts +12 -0
  898. package/lib/typescript/utils.d.ts.map +1 -0
  899. package/package.json +182 -0
  900. package/src/HMSContainer.tsx +18 -0
  901. package/src/HMSInstanceSetup.tsx +196 -0
  902. package/src/HMSPrebuilt.tsx +36 -0
  903. package/src/HMSRoomSetup.tsx +281 -0
  904. package/src/Icons/100ms/assets/hms-logo.png +0 -0
  905. package/src/Icons/100ms/assets/hms-logo@2x.png +0 -0
  906. package/src/Icons/100ms/assets/hms-logo@3x.png +0 -0
  907. package/src/Icons/100ms/index.tsx +27 -0
  908. package/src/Icons/Alert/assets/alert.png +0 -0
  909. package/src/Icons/Alert/assets/alert@2x.png +0 -0
  910. package/src/Icons/Alert/assets/alert@3x.png +0 -0
  911. package/src/Icons/Alert/index.tsx +27 -0
  912. package/src/Icons/Camera/assets/camera-muted.png +0 -0
  913. package/src/Icons/Camera/assets/camera-muted@2x.png +0 -0
  914. package/src/Icons/Camera/assets/camera-muted@3x.png +0 -0
  915. package/src/Icons/Camera/assets/camera-unmuted.png +0 -0
  916. package/src/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
  917. package/src/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
  918. package/src/Icons/Camera/index.tsx +34 -0
  919. package/src/Icons/Chat/assets/chat.png +0 -0
  920. package/src/Icons/Chat/assets/chat@2x.png +0 -0
  921. package/src/Icons/Chat/assets/chat@3x.png +0 -0
  922. package/src/Icons/Chat/index.tsx +24 -0
  923. package/src/Icons/Chevron/assets/chevron-down.png +0 -0
  924. package/src/Icons/Chevron/assets/chevron-down@2x.png +0 -0
  925. package/src/Icons/Chevron/assets/chevron-down@3x.png +0 -0
  926. package/src/Icons/Chevron/assets/chevron-left.png +0 -0
  927. package/src/Icons/Chevron/assets/chevron-left@2x.png +0 -0
  928. package/src/Icons/Chevron/assets/chevron-left@3x.png +0 -0
  929. package/src/Icons/Chevron/index.tsx +34 -0
  930. package/src/Icons/Clock/assets/clock.png +0 -0
  931. package/src/Icons/Clock/assets/clock@2x.png +0 -0
  932. package/src/Icons/Clock/assets/clock@3x.png +0 -0
  933. package/src/Icons/Clock/index.tsx +27 -0
  934. package/src/Icons/Close/assets/close.png +0 -0
  935. package/src/Icons/Close/assets/close@2x.png +0 -0
  936. package/src/Icons/Close/assets/close@3x.png +0 -0
  937. package/src/Icons/Close/index.tsx +27 -0
  938. package/src/Icons/End/assets/end.png +0 -0
  939. package/src/Icons/End/assets/end@2x.png +0 -0
  940. package/src/Icons/End/assets/end@3x.png +0 -0
  941. package/src/Icons/End/index.tsx +24 -0
  942. package/src/Icons/Hand/assets/hand.png +0 -0
  943. package/src/Icons/Hand/assets/hand@2x.png +0 -0
  944. package/src/Icons/Hand/assets/hand@3x.png +0 -0
  945. package/src/Icons/Hand/index.tsx +27 -0
  946. package/src/Icons/Leave/assets/leave.png +0 -0
  947. package/src/Icons/Leave/assets/leave@2x.png +0 -0
  948. package/src/Icons/Leave/assets/leave@3x.png +0 -0
  949. package/src/Icons/Leave/index.tsx +27 -0
  950. package/src/Icons/Mic/assets/mic-muted.png +0 -0
  951. package/src/Icons/Mic/assets/mic-muted@2x.png +0 -0
  952. package/src/Icons/Mic/assets/mic-muted@3x.png +0 -0
  953. package/src/Icons/Mic/assets/mic-unmuted.png +0 -0
  954. package/src/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
  955. package/src/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
  956. package/src/Icons/Mic/index.tsx +34 -0
  957. package/src/Icons/NetworkQuality/assets/network_0.png +0 -0
  958. package/src/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
  959. package/src/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
  960. package/src/Icons/NetworkQuality/assets/network_1.png +0 -0
  961. package/src/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
  962. package/src/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
  963. package/src/Icons/NetworkQuality/assets/network_2.png +0 -0
  964. package/src/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
  965. package/src/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
  966. package/src/Icons/NetworkQuality/assets/network_3.png +0 -0
  967. package/src/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
  968. package/src/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
  969. package/src/Icons/NetworkQuality/assets/network_4.png +0 -0
  970. package/src/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
  971. package/src/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
  972. package/src/Icons/NetworkQuality/assets/network_5.png +0 -0
  973. package/src/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
  974. package/src/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
  975. package/src/Icons/NetworkQuality/index.tsx +42 -0
  976. package/src/Icons/Participants/assets/participants.png +0 -0
  977. package/src/Icons/Participants/assets/participants@2x.png +0 -0
  978. package/src/Icons/Participants/assets/participants@3x.png +0 -0
  979. package/src/Icons/Participants/index.tsx +27 -0
  980. package/src/Icons/RotateCamera/assets/rotate-camera.png +0 -0
  981. package/src/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
  982. package/src/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
  983. package/src/Icons/RotateCamera/index.tsx +27 -0
  984. package/src/Icons/ScreenShare/assets/screen-share.png +0 -0
  985. package/src/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
  986. package/src/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
  987. package/src/Icons/ScreenShare/index.tsx +27 -0
  988. package/src/Icons/Send/assets/send.png +0 -0
  989. package/src/Icons/Send/assets/send@2x.png +0 -0
  990. package/src/Icons/Send/assets/send@3x.png +0 -0
  991. package/src/Icons/Send/index.tsx +24 -0
  992. package/src/Icons/Settings/assets/settings.png +0 -0
  993. package/src/Icons/Settings/assets/settings@2x.png +0 -0
  994. package/src/Icons/Settings/assets/settings@3x.png +0 -0
  995. package/src/Icons/Settings/index.tsx +27 -0
  996. package/src/Icons/Speaker/assets/speaker-muted.png +0 -0
  997. package/src/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
  998. package/src/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
  999. package/src/Icons/Speaker/assets/speaker.png +0 -0
  1000. package/src/Icons/Speaker/assets/speaker@2x.png +0 -0
  1001. package/src/Icons/Speaker/assets/speaker@3x.png +0 -0
  1002. package/src/Icons/Speaker/index.tsx +34 -0
  1003. package/src/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
  1004. package/src/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
  1005. package/src/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
  1006. package/src/Icons/ThreeDots/index.tsx +34 -0
  1007. package/src/Icons/index.ts +19 -0
  1008. package/src/assets/100ms-logo.png +0 -0
  1009. package/src/assets/brb.png +0 -0
  1010. package/src/assets/icon.png +0 -0
  1011. package/src/assets/illustration.png +0 -0
  1012. package/src/assets/network_0.png +0 -0
  1013. package/src/assets/network_1.png +0 -0
  1014. package/src/assets/network_2.png +0 -0
  1015. package/src/assets/network_3.png +0 -0
  1016. package/src/assets/network_4.png +0 -0
  1017. package/src/assets/user_music.png +0 -0
  1018. package/src/components/AvatarView.tsx +54 -0
  1019. package/src/components/BackButton.tsx +42 -0
  1020. package/src/components/Chat/ChatBanner.tsx +70 -0
  1021. package/src/components/Chat/ChatList.tsx +60 -0
  1022. package/src/components/Chat/ChatMessage.tsx +237 -0
  1023. package/src/components/Chat/PinnedMessage.tsx +89 -0
  1024. package/src/components/Chat/index.ts +4 -0
  1025. package/src/components/ChatWindow.tsx +706 -0
  1026. package/src/components/CustomButton.tsx +80 -0
  1027. package/src/components/CustomHLSPlayerControls.tsx +92 -0
  1028. package/src/components/CustomInput.tsx +139 -0
  1029. package/src/components/DefaultModal.tsx +117 -0
  1030. package/src/components/DisplayTrack.tsx +92 -0
  1031. package/src/components/DisplayView.tsx +314 -0
  1032. package/src/components/Footer.tsx +109 -0
  1033. package/src/components/FullScreenIndicator.tsx +21 -0
  1034. package/src/components/GridView.tsx +124 -0
  1035. package/src/components/HLSPlayerEmoticons.tsx +60 -0
  1036. package/src/components/HLSPlayerStatsView.tsx +68 -0
  1037. package/src/components/HLSView.tsx +170 -0
  1038. package/src/components/HMSChat.tsx +36 -0
  1039. package/src/components/HMSHLSNotStarted.tsx +62 -0
  1040. package/src/components/HMSManageCameraRotation.tsx +48 -0
  1041. package/src/components/HMSManageLeave.tsx +349 -0
  1042. package/src/components/HMSManageLocalAudio.tsx +49 -0
  1043. package/src/components/HMSManageLocalVideo.tsx +49 -0
  1044. package/src/components/HMSManageRaiseHand.tsx +48 -0
  1045. package/src/components/HMSPreviewDeviceSettings.tsx +387 -0
  1046. package/src/components/HMSPreviewEditName.tsx +63 -0
  1047. package/src/components/HMSPreviewJoinButton.tsx +64 -0
  1048. package/src/components/HMSPreviewPeersList.tsx +108 -0
  1049. package/src/components/HMSPreviewSubtitle.tsx +26 -0
  1050. package/src/components/HMSPreviewTile.tsx +152 -0
  1051. package/src/components/HMSPreviewTitle.tsx +26 -0
  1052. package/src/components/HMSRoomOptions.tsx +141 -0
  1053. package/src/components/HMSShareScreen.tsx +71 -0
  1054. package/src/components/HMSShowNetworkQuality.tsx +67 -0
  1055. package/src/components/Header.tsx +185 -0
  1056. package/src/components/LiveButton.tsx +77 -0
  1057. package/src/components/Meeting.tsx +72 -0
  1058. package/src/components/MeetingScreenContent.tsx +109 -0
  1059. package/src/components/MenuModal/Menu.tsx +305 -0
  1060. package/src/components/MenuModal/MenuDivider.tsx +22 -0
  1061. package/src/components/MenuModal/MenuItem.tsx +67 -0
  1062. package/src/components/MenuModal/index.ts +7 -0
  1063. package/src/components/Modals.tsx +2103 -0
  1064. package/src/components/PIPView.tsx +30 -0
  1065. package/src/components/Participants/ParticipantsFilter.tsx +144 -0
  1066. package/src/components/Participants/ParticipantsHeader.tsx +64 -0
  1067. package/src/components/Participants/ParticipantsList.tsx +331 -0
  1068. package/src/components/Participants/ParticipantsSeachInput.tsx +55 -0
  1069. package/src/components/Participants/SearchableParticipantsView.tsx +21 -0
  1070. package/src/components/Participants/index.ts +5 -0
  1071. package/src/components/ParticipantsModal.tsx +46 -0
  1072. package/src/components/PeerDisplayView.tsx +112 -0
  1073. package/src/components/PeerRTCStatsContainer.tsx +82 -0
  1074. package/src/components/PeerRTCStatsView.tsx +110 -0
  1075. package/src/components/PeerSettingsModalContent.tsx +355 -0
  1076. package/src/components/Picker.tsx +108 -0
  1077. package/src/components/PressableIcon.tsx +54 -0
  1078. package/src/components/Preview.tsx +108 -0
  1079. package/src/components/RoomSettingsModalContent.tsx +743 -0
  1080. package/src/components/StatusBar.tsx +22 -0
  1081. package/src/components/StreamingQualityModalContent.tsx +266 -0
  1082. package/src/components/SwitchRow.tsx +55 -0
  1083. package/src/components/Tile.tsx +119 -0
  1084. package/src/components/TilesContainer.tsx +48 -0
  1085. package/src/components/ZoomableView.tsx +91 -0
  1086. package/src/components/index.ts +8 -0
  1087. package/src/components/styles.ts +961 -0
  1088. package/src/hooks/useHmsInstance.ts +173 -0
  1089. package/src/hooks-sdk-selectors.tsx +9 -0
  1090. package/src/hooks-sdk.ts +156 -0
  1091. package/src/hooks-util-selectors.tsx +4 -0
  1092. package/src/hooks-util.ts +1124 -0
  1093. package/src/index.ts +1 -0
  1094. package/src/peerTrackNodeUtils.tsx +114 -0
  1095. package/src/redux/actionTypes.ts +85 -0
  1096. package/src/redux/actions/index.ts +196 -0
  1097. package/src/redux/index.ts +8 -0
  1098. package/src/redux/reducers/appState.ts +143 -0
  1099. package/src/redux/reducers/chatWindow.ts +35 -0
  1100. package/src/redux/reducers/hmsStates.ts +126 -0
  1101. package/src/redux/reducers/index.ts +14 -0
  1102. package/src/redux/reducers/message.ts +36 -0
  1103. package/src/redux/reducers/userState.ts +88 -0
  1104. package/src/types.ts +7 -0
  1105. package/src/utils/dimension.ts +57 -0
  1106. package/src/utils/functions.ts +522 -0
  1107. package/src/utils/getRoomLinkDetails.ts +23 -0
  1108. package/src/utils/hooks.ts +104 -0
  1109. package/src/utils/theme.ts +130 -0
  1110. package/src/utils/types.ts +95 -0
  1111. package/src/utils.ts +24 -0
@@ -0,0 +1,505 @@
1
+ import React, { useRef } from 'react';
2
+ import { View, StyleSheet, Text, Platform, ScrollView, Image, TouchableOpacity, Alert, InteractionManager } from 'react-native';
3
+ import { HMSAudioFilePlayerNode, HMSUpdateListenerActions } from '@100mslive/react-native-hms';
4
+ import { useDispatch, useSelector } from 'react-redux';
5
+ import Toast from 'react-native-simple-toast';
6
+ import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
7
+ import Ionicons from 'react-native-vector-icons/Ionicons';
8
+ import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
9
+ import EntypoIcons from 'react-native-vector-icons/Entypo';
10
+ import DocumentPicker from 'react-native-document-picker';
11
+ import { openSettings, requestNotifications } from 'react-native-permissions';
12
+ import { COLORS } from '../utils/theme';
13
+ import { changePipModeStatus, changeEnableHLSPlayerControls, changeShowHLSStats, changeShowCustomHLSPlayerControls } from '../redux/actions';
14
+ import { ModalTypes, PipModes } from '../utils/types';
15
+ import { parseMetadata } from '../utils/functions';
16
+ import { getJoinConfig } from '../utils';
17
+ import { HMSShareScreen } from './HMSShareScreen';
18
+ import { ScreenShareIcon } from '../Icons';
19
+ export const RoomSettingsModalContent = _ref => {
20
+ var _localPeerRole$name, _localPeerRole$name2, _localPeerRole$permis, _localPeerRole$permis2, _localPeerRole$permis3, _localPeerRole$permis4, _localPeerRole$permis5, _localPeerRole$permis6, _localPeerRole$publis, _localPeerRole$name3, _localPeerRole$publis2, _localPeerRole$publis3;
21
+ let {
22
+ newAudioMixingMode,
23
+ isAudioShared,
24
+ //
25
+ audioDeviceListenerAdded,
26
+ muteAllTracksAudio,
27
+ closeRoomSettingsModal,
28
+ setModalVisible,
29
+ setIsAudioShared,
30
+ setAudioDeviceListenerAdded,
31
+ setMuteAllTracksAudio
32
+ } = _ref;
33
+ // REFS
34
+ const audioFilePlayerNodeRef = useRef(new HMSAudioFilePlayerNode('audio_file_player_node'));
35
+
36
+ // REDUX STATES & DISPATCH
37
+ const dispatch = useDispatch();
38
+ const hmsInstance = useSelector(state => state.user.hmsInstance);
39
+ const debugMode = useSelector(state => state.user.debugMode);
40
+ const localPeerRole = useSelector(state => {
41
+ var _state$hmsStates$loca;
42
+ return (_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.role;
43
+ });
44
+ const localPeerMetadata = useSelector(state => {
45
+ var _state$hmsStates$loca2;
46
+ return (_state$hmsStates$loca2 = state.hmsStates.localPeer) === null || _state$hmsStates$loca2 === void 0 ? void 0 : _state$hmsStates$loca2.metadata;
47
+ });
48
+ const isHLSStreaming = useSelector(state => {
49
+ var _state$hmsStates$room;
50
+ return ((_state$hmsStates$room = state.hmsStates.room) === null || _state$hmsStates$room === void 0 || (_state$hmsStates$room = _state$hmsStates$room.hlsStreamingState) === null || _state$hmsStates$room === void 0 ? void 0 : _state$hmsStates$room.running) ?? false;
51
+ });
52
+ const rtmpAndRecording = useSelector(state => {
53
+ var _state$hmsStates$room2;
54
+ return ((_state$hmsStates$room2 = state.hmsStates.room) === null || _state$hmsStates$room2 === void 0 || (_state$hmsStates$room2 = _state$hmsStates$room2.browserRecordingState) === null || _state$hmsStates$room2 === void 0 ? void 0 : _state$hmsStates$room2.running) ?? false;
55
+ });
56
+ const pipModeStatus = useSelector(state => state.app.pipModeStatus);
57
+ const showHLSStats = useSelector(state => state.app.joinConfig.showHLSStats);
58
+ const enableHLSPlayerControls = useSelector(state => state.app.joinConfig.enableHLSPlayerControls);
59
+ const showCustomHLSPlayerControls = useSelector(state => state.app.joinConfig.showCustomHLSPlayerControls);
60
+
61
+ // CONSTANTS
62
+ const parsedMetadata = parseMetadata(localPeerMetadata);
63
+ const isPipModeUnavailable = pipModeStatus === PipModes.NOT_AVAILABLE;
64
+
65
+ //#region FUNCTIONS
66
+ const handleBRB = async () => {
67
+ closeRoomSettingsModal();
68
+ await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.changeMetadata(JSON.stringify({
69
+ ...parsedMetadata,
70
+ isBRBOn: !(parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isBRBOn),
71
+ isHandRaised: false
72
+ })).then(d => console.log('Change Metadata Success: ', d)).catch(e => console.log('Change Metadata Error: ', e)));
73
+ };
74
+ const onRaiseHandPress = async () => {
75
+ closeRoomSettingsModal();
76
+ await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.changeMetadata(JSON.stringify({
77
+ ...parsedMetadata,
78
+ isHandRaised: !(parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isHandRaised),
79
+ isBRBOn: false
80
+ })).then(d => console.log('Change Metadata Success: ', d)).catch(e => console.log('Change Metadata Error: ', e)));
81
+ };
82
+ const onParticipantsPress = () => {
83
+ InteractionManager.runAfterInteractions(() => {
84
+ setModalVisible(ModalTypes.PARTICIPANTS, true);
85
+ });
86
+ };
87
+ const enterPipMode = async () => {
88
+ if (isPipModeUnavailable) {
89
+ return console.log('PIP mode unavailable on Deice!');
90
+ }
91
+ closeRoomSettingsModal();
92
+ try {
93
+ const isEnabled = await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.enablePipMode({
94
+ aspectRatio: [16, 9],
95
+ // for 16:9 aspect ratio
96
+ endButton: true,
97
+ videoButton: true,
98
+ audioButton: true
99
+ }));
100
+ if (isEnabled === true) {
101
+ dispatch(changePipModeStatus(PipModes.ACTIVE));
102
+ }
103
+ } catch (error) {
104
+ console.log(error);
105
+ }
106
+ };
107
+ const handleLocalRemoteAudiosMute = () => {
108
+ closeRoomSettingsModal();
109
+ hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.setPlaybackForAllAudio(!muteAllTracksAudio);
110
+ setMuteAllTracksAudio(!muteAllTracksAudio);
111
+ };
112
+ const handleRemoteAudiosMute = async () => {
113
+ closeRoomSettingsModal();
114
+ await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.remoteMuteAllAudio().then(d => console.log('Remote Mute All Audio Success: ', d)).catch(e => console.log('Remote Mute All Audio Error: ', e)));
115
+ };
116
+ const handleHLSStreaming = () => {
117
+ if (isHLSStreaming) {
118
+ closeRoomSettingsModal();
119
+ hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.stopHLSStreaming().then(d => console.log('Stop HLS Streaming Success: ', d)).catch(e => console.log('Stop HLS Streaming Error: ', e));
120
+ } else {
121
+ setModalVisible(ModalTypes.HLS_STREAMING, true);
122
+ }
123
+ };
124
+ const handleRTMPAndRecording = () => {
125
+ if (rtmpAndRecording) {
126
+ closeRoomSettingsModal();
127
+ hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.stopRtmpAndRecording().then(d => console.log('Stop RTMP And Recording Success: ', d)).catch(e => console.log('Stop RTMP And Recording Error: ', e));
128
+ } else {
129
+ setModalVisible(ModalTypes.RECORDING, true);
130
+ }
131
+ };
132
+ const addRemoveAudioDeviceChangeListener = () => {
133
+ closeRoomSettingsModal();
134
+ if (hmsInstance) {
135
+ if (audioDeviceListenerAdded) {
136
+ setAudioDeviceListenerAdded(false);
137
+ hmsInstance.removeEventListener(HMSUpdateListenerActions.ON_AUDIO_DEVICE_CHANGED);
138
+ } else {
139
+ setAudioDeviceListenerAdded(true);
140
+ hmsInstance.setAudioDeviceChangeListener(data => {
141
+ Toast.showWithGravity(`Audio Device Output changed to ${data === null || data === void 0 ? void 0 : data.device}`, Toast.LONG, Toast.TOP);
142
+ });
143
+ }
144
+ }
145
+ };
146
+ const changeBulkRole = () => setModalVisible(ModalTypes.BULK_ROLE_CHANGE, true);
147
+ const changeTrackState = () => setModalVisible(ModalTypes.CHANGE_TRACK_ROLE, true);
148
+ const switchAudioOutput = () => {
149
+ if (Platform.OS === 'android') {
150
+ setModalVisible(ModalTypes.SWITCH_AUDIO_OUTPUT, true);
151
+ } else {
152
+ closeRoomSettingsModal();
153
+ hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.switchAudioOutputUsingIOSUI();
154
+ }
155
+ };
156
+ const changeAudioMode = () => setModalVisible(ModalTypes.CHANGE_AUDIO_MODE, true);
157
+ const setAudioMixingMode = () => setModalVisible(ModalTypes.AUDIO_MIXING_MODE, true);
158
+ const handleHLSPlayerAspectRatio = () => {
159
+ setModalVisible(ModalTypes.HLS_PLAYER_ASPECT_RATIO, true);
160
+ };
161
+ const showRTCStats = () => setModalVisible(ModalTypes.RTC_STATS, true);
162
+ const toggleShowHLSStats = () => {
163
+ dispatch(changeShowHLSStats(!showHLSStats));
164
+ setModalVisible(ModalTypes.DEFAULT);
165
+ };
166
+ const toggleEnableHLSPlayerControls = () => {
167
+ dispatch(changeEnableHLSPlayerControls(!enableHLSPlayerControls));
168
+ setModalVisible(ModalTypes.DEFAULT);
169
+ };
170
+ const toggleShowCustomHLSPlayerControls = () => {
171
+ dispatch(changeShowCustomHLSPlayerControls(!showCustomHLSPlayerControls));
172
+ setModalVisible(ModalTypes.DEFAULT);
173
+ };
174
+
175
+ // Android Audioshare
176
+ const handleAudioShare = async () => {
177
+ closeRoomSettingsModal();
178
+ if (isAudioShared) {
179
+ hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.stopAudioshare().then(d => {
180
+ setIsAudioShared(false);
181
+ console.log('Stop Audioshare Success: ', d);
182
+ }).catch(e => console.log('Stop Audioshare Error: ', e));
183
+ } else {
184
+ // check notification permission on android platform
185
+ // Audio share feature needs foreground service running. for Foreground service to keep running, we need active notification.
186
+ if (Platform.OS === 'android') {
187
+ const result = await requestNotifications(['alert', 'sound']);
188
+ console.log('Notification Permission Result: ', result);
189
+ if (result.status === 'blocked') {
190
+ Alert.alert('Notification Permission is Blocked!', '100ms SDK needs notification permission to start audio share. Please allow notification from settings and try again!', [{
191
+ text: 'cancel'
192
+ }, {
193
+ text: 'Go to Settings',
194
+ onPress: () => openSettings()
195
+ }], {
196
+ cancelable: true
197
+ });
198
+ return;
199
+ }
200
+ }
201
+ hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.startAudioshare(newAudioMixingMode).then(d => {
202
+ setIsAudioShared(true);
203
+ console.log('Start Audioshare Success: ', d);
204
+ }).catch(e => console.log('Start Audioshare Error: ', e));
205
+ }
206
+ };
207
+
208
+ // iOS Audioshare
209
+ const setAudioShareVolume = () => setModalVisible(ModalTypes.SET_AUDIO_SHARE_VOLUME, true);
210
+
211
+ // iOS Audioshare
212
+ const playAudioShare = () => {
213
+ closeRoomSettingsModal();
214
+ setTimeout(() => {
215
+ DocumentPicker.pickSingle().then(result => {
216
+ console.log('Document Picker Success: ', result);
217
+ audioFilePlayerNodeRef.current.play(result === null || result === void 0 ? void 0 : result.uri, false, false).then(d => {
218
+ console.log('Start Audioshare Success: ', d);
219
+ }).catch(e => console.log('Start Audioshare Error: ', e));
220
+ }).catch(e => console.log('Document Picker Error: ', e));
221
+ }, 500);
222
+ };
223
+
224
+ // iOS Audioshare
225
+ const stopAudioShare = () => {
226
+ closeRoomSettingsModal();
227
+ audioFilePlayerNodeRef.current.stop();
228
+ };
229
+
230
+ // iOS Audioshare
231
+ const pauseAudioShare = () => {
232
+ closeRoomSettingsModal();
233
+ audioFilePlayerNodeRef.current.pause();
234
+ };
235
+
236
+ // iOS Audioshare
237
+ const resumeAudioShare = () => {
238
+ closeRoomSettingsModal();
239
+ audioFilePlayerNodeRef.current.resume();
240
+ };
241
+
242
+ // iOS Audioshare
243
+ const isAudioSharePlaying = () => {
244
+ closeRoomSettingsModal();
245
+ audioFilePlayerNodeRef.current.isPlaying().then(d => console.log('Audioshare isPlaying: ', d)).catch(e => console.log('Audioshare isPlaying: ', e));
246
+ };
247
+
248
+ // iOS Audioshare
249
+ const getAudioShareDuration = () => {
250
+ closeRoomSettingsModal();
251
+ audioFilePlayerNodeRef.current.duration().then(d => console.log('Audioshare duration: ', d)).catch(e => console.log('Audioshare duration: ', e));
252
+ };
253
+
254
+ // iOS Audioshare
255
+ const getAudioShareCurrentDuration = () => {
256
+ closeRoomSettingsModal();
257
+ audioFilePlayerNodeRef.current.currentDuration().then(d => console.log('Audioshare currentDuration: ', d)).catch(e => console.log('Audioshare currentDuration: ', e));
258
+ };
259
+ //#endregion
260
+
261
+ return /*#__PURE__*/React.createElement(View, {
262
+ style: styles.container
263
+ }, /*#__PURE__*/React.createElement(View, {
264
+ style: styles.chatHeaderContainer
265
+ }, /*#__PURE__*/React.createElement(Text, {
266
+ style: styles.chatHeading
267
+ }, "More Options")), /*#__PURE__*/React.createElement(ScrollView, {
268
+ style: styles.contentContainer,
269
+ contentContainerStyle: styles.scrollContentContainer
270
+ }, /*#__PURE__*/React.createElement(HMSShareScreen, {
271
+ screenShareDelegate: /*#__PURE__*/React.createElement(ScreenShareDelegate, {
272
+ closeRoomSettingsModal: closeRoomSettingsModal
273
+ })
274
+ }), /*#__PURE__*/React.createElement(TouchableOpacity, {
275
+ onPress: handleBRB,
276
+ style: styles.button
277
+ }, /*#__PURE__*/React.createElement(Image, {
278
+ source: require('../assets/brb.png'),
279
+ style: styles.brbIcon
280
+ }), /*#__PURE__*/React.createElement(Text, {
281
+ style: styles.text
282
+ }, parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isBRBOn ? 'Remove BRB' : 'Set BRB')), /*#__PURE__*/React.createElement(SettingItem, {
283
+ onPress: onRaiseHandPress,
284
+ text: parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isHandRaised ? 'Low Your Hand' : 'Raise Hand',
285
+ IconType: Ionicons,
286
+ iconName: 'hand-left-outline'
287
+ }), /*#__PURE__*/React.createElement(SettingItem, {
288
+ onPress: onParticipantsPress,
289
+ text: 'Participants',
290
+ IconType: Ionicons,
291
+ iconName: 'people'
292
+ }), localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name = localPeerRole.name) !== null && _localPeerRole$name !== void 0 && _localPeerRole$name.includes('hls-') ? /*#__PURE__*/React.createElement(SettingItem, {
293
+ onPress: handleHLSPlayerAspectRatio,
294
+ text: 'Change Aspect Ratio',
295
+ IconType: MaterialCommunityIcons,
296
+ iconName: 'aspect-ratio'
297
+ }) : null, !(localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name2 = localPeerRole.name) !== null && _localPeerRole$name2 !== void 0 && _localPeerRole$name2.includes('hls-')) ? /*#__PURE__*/React.createElement(SettingItem, {
298
+ onPress: handleLocalRemoteAudiosMute,
299
+ text: `${muteAllTracksAudio ? 'Unmute' : 'Mute'} Room`,
300
+ IconType: Ionicons,
301
+ iconName: muteAllTracksAudio ? 'mic-off-outline' : 'mic-outline'
302
+ }) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis = localPeerRole.permissions) !== null && _localPeerRole$permis !== void 0 && _localPeerRole$permis.hlsStreaming ? /*#__PURE__*/React.createElement(SettingItem, {
303
+ onPress: handleHLSStreaming,
304
+ text: `${isHLSStreaming === true ? 'Stop' : 'Start'} HLS Streaming`,
305
+ IconType: Ionicons,
306
+ iconName: "radio-outline"
307
+ }) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis2 = localPeerRole.permissions) !== null && _localPeerRole$permis2 !== void 0 && _localPeerRole$permis2.rtmpStreaming ? /*#__PURE__*/React.createElement(SettingItem, {
308
+ onPress: handleRTMPAndRecording,
309
+ text: rtmpAndRecording === true ? 'Stop RTMP And Recording' : 'Start RTMP or Recording',
310
+ IconType: Ionicons,
311
+ iconName: "recording-outline"
312
+ }) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis3 = localPeerRole.permissions) !== null && _localPeerRole$permis3 !== void 0 && _localPeerRole$permis3.changeRole ? /*#__PURE__*/React.createElement(SettingItem, {
313
+ onPress: changeBulkRole,
314
+ text: "Bulk Role Change",
315
+ IconType: Ionicons,
316
+ iconName: "people-outline"
317
+ }) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis4 = localPeerRole.permissions) !== null && _localPeerRole$permis4 !== void 0 && _localPeerRole$permis4.mute ? /*#__PURE__*/React.createElement(SettingItem, {
318
+ onPress: handleRemoteAudiosMute,
319
+ text: "Remote Mute All Audio Tracks",
320
+ IconType: Ionicons,
321
+ iconName: "mic-off-outline"
322
+ }) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis5 = localPeerRole.permissions) !== null && _localPeerRole$permis5 !== void 0 && _localPeerRole$permis5.mute || localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis6 = localPeerRole.permissions) !== null && _localPeerRole$permis6 !== void 0 && _localPeerRole$permis6.unmute ? /*#__PURE__*/React.createElement(SettingItem, {
323
+ onPress: changeTrackState,
324
+ text: "Change Track State For Role",
325
+ IconType: MaterialIcons,
326
+ iconName: "track-changes"
327
+ }) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis = localPeerRole.publishSettings) !== null && _localPeerRole$publis !== void 0 && (_localPeerRole$publis = _localPeerRole$publis.allowed) !== null && _localPeerRole$publis !== void 0 && _localPeerRole$publis.includes('audio') ? /*#__PURE__*/React.createElement(SettingItem, {
328
+ onPress: switchAudioOutput,
329
+ text: "Switch Audio Output",
330
+ IconType: MaterialCommunityIcons,
331
+ iconName: "cast-audio"
332
+ }) : null, !isPipModeUnavailable ? /*#__PURE__*/React.createElement(SettingItem, {
333
+ onPress: enterPipMode,
334
+ text: "Picture in Picture (PIP) Mode",
335
+ IconType: MaterialCommunityIcons,
336
+ iconName: "picture-in-picture-bottom-right"
337
+ }) : null, debugMode ? /*#__PURE__*/React.createElement(React.Fragment, null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name3 = localPeerRole.name) !== null && _localPeerRole$name3 !== void 0 && _localPeerRole$name3.includes('hls-') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
338
+ onPress: toggleShowHLSStats,
339
+ text: showHLSStats ? 'Hide HLS Stats' : 'Show HLS Stats',
340
+ IconType: MaterialCommunityIcons,
341
+ iconName: 'clipboard-pulse-outline'
342
+ }), /*#__PURE__*/React.createElement(SettingItem, {
343
+ onPress: toggleEnableHLSPlayerControls,
344
+ text: enableHLSPlayerControls ? 'Disable HLS Player Controls' : 'Enable HLS Player Controls',
345
+ IconType: Ionicons,
346
+ iconName: 'ios-settings-outline'
347
+ }), /*#__PURE__*/React.createElement(SettingItem, {
348
+ onPress: toggleShowCustomHLSPlayerControls,
349
+ text: showCustomHLSPlayerControls ? 'Hide Custom HLS Player Controls' : 'Show Custom HLS Player Controls',
350
+ IconType: Ionicons,
351
+ iconName: 'ios-settings-outline'
352
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
353
+ onPress: showRTCStats,
354
+ text: "Show RTC Stats",
355
+ IconType: MaterialCommunityIcons,
356
+ iconName: 'clipboard-pulse-outline'
357
+ })), Platform.OS === 'android' && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis2 = localPeerRole.publishSettings) !== null && _localPeerRole$publis2 !== void 0 && (_localPeerRole$publis2 = _localPeerRole$publis2.allowed) !== null && _localPeerRole$publis2 !== void 0 && _localPeerRole$publis2.includes('audio') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
358
+ onPress: addRemoveAudioDeviceChangeListener,
359
+ text: `${audioDeviceListenerAdded ? 'Remove' : 'Set'} Audio Output Change Listener`,
360
+ IconType: MaterialCommunityIcons,
361
+ iconName: "video-input-component"
362
+ }), /*#__PURE__*/React.createElement(SettingItem, {
363
+ onPress: handleAudioShare,
364
+ text: `${isAudioShared ? 'Stop' : 'Start'} Audioshare`,
365
+ IconType: Ionicons,
366
+ iconName: "share-social-outline"
367
+ }), /*#__PURE__*/React.createElement(SettingItem, {
368
+ onPress: changeAudioMode,
369
+ text: "Set Audio Mode",
370
+ IconType: MaterialCommunityIcons,
371
+ iconName: "call-split"
372
+ }), /*#__PURE__*/React.createElement(SettingItem, {
373
+ onPress: setAudioMixingMode,
374
+ text: "Set Audio Mixing Mode",
375
+ IconType: EntypoIcons,
376
+ iconName: "sound-mix"
377
+ })) : null, Platform.OS === 'ios' && getJoinConfig().audioMixer && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis3 = localPeerRole.publishSettings) !== null && _localPeerRole$publis3 !== void 0 && (_localPeerRole$publis3 = _localPeerRole$publis3.allowed) !== null && _localPeerRole$publis3 !== void 0 && _localPeerRole$publis3.includes('audio') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
378
+ onPress: playAudioShare,
379
+ text: "Play Audio Share",
380
+ IconType: Ionicons,
381
+ iconName: "play-outline"
382
+ }), /*#__PURE__*/React.createElement(SettingItem, {
383
+ onPress: stopAudioShare,
384
+ text: "Stop Audio Share",
385
+ IconType: Ionicons,
386
+ iconName: "stop-outline"
387
+ }), /*#__PURE__*/React.createElement(SettingItem, {
388
+ onPress: setAudioShareVolume,
389
+ text: "Set Audio Share Volume",
390
+ IconType: Ionicons,
391
+ iconName: "volume-high-outline"
392
+ }), /*#__PURE__*/React.createElement(SettingItem, {
393
+ onPress: pauseAudioShare,
394
+ text: "Pause Audio Share",
395
+ IconType: Ionicons,
396
+ iconName: "pause-outline"
397
+ }), /*#__PURE__*/React.createElement(SettingItem, {
398
+ onPress: resumeAudioShare,
399
+ text: "Resume Audio Share",
400
+ IconType: Ionicons,
401
+ iconName: "play-skip-forward-outline"
402
+ }), /*#__PURE__*/React.createElement(SettingItem, {
403
+ onPress: isAudioSharePlaying,
404
+ text: "Is Audio Share Playing",
405
+ IconType: MaterialCommunityIcons,
406
+ iconName: "file-question-outline"
407
+ }), /*#__PURE__*/React.createElement(SettingItem, {
408
+ onPress: getAudioShareDuration,
409
+ text: "Audio Share Duration",
410
+ IconType: Ionicons,
411
+ iconName: "timer-outline"
412
+ }), /*#__PURE__*/React.createElement(SettingItem, {
413
+ onPress: getAudioShareCurrentDuration,
414
+ text: "Audio Share Current Duration",
415
+ IconType: Ionicons,
416
+ iconName: "timer-outline"
417
+ })) : null) : null));
418
+ };
419
+ const SettingItem = _ref2 => {
420
+ let {
421
+ onPress,
422
+ text,
423
+ iconName,
424
+ IconType
425
+ } = _ref2;
426
+ return /*#__PURE__*/React.createElement(TouchableOpacity, {
427
+ style: styles.button,
428
+ onPress: onPress
429
+ }, /*#__PURE__*/React.createElement(IconType, {
430
+ name: iconName,
431
+ size: 24,
432
+ style: styles.icon
433
+ }), /*#__PURE__*/React.createElement(Text, {
434
+ style: styles.text
435
+ }, text));
436
+ };
437
+ const ScreenShareDelegate = _ref3 => {
438
+ let {
439
+ isLocalScreenShared,
440
+ onPress,
441
+ closeRoomSettingsModal
442
+ } = _ref3;
443
+ const handleScreenSharePress = () => {
444
+ closeRoomSettingsModal();
445
+ onPress === null || onPress === void 0 ? void 0 : onPress();
446
+ };
447
+ return /*#__PURE__*/React.createElement(TouchableOpacity, {
448
+ onPress: handleScreenSharePress,
449
+ style: styles.button
450
+ }, /*#__PURE__*/React.createElement(ScreenShareIcon, {
451
+ style: styles.icon
452
+ }), /*#__PURE__*/React.createElement(Text, {
453
+ style: styles.text
454
+ }, isLocalScreenShared ? 'Stop Screen Share' : 'Screen Share'));
455
+ };
456
+ const styles = StyleSheet.create({
457
+ container: {
458
+ height: '100%',
459
+ width: '100%',
460
+ backgroundColor: COLORS.SURFACE.DEFAULT
461
+ },
462
+ chatHeaderContainer: {
463
+ height: 48,
464
+ width: '80%',
465
+ flexDirection: 'row',
466
+ alignItems: 'center'
467
+ },
468
+ chatHeading: {
469
+ fontFamily: 'Inter-Medium',
470
+ fontSize: 20,
471
+ lineHeight: 24,
472
+ letterSpacing: 0.15,
473
+ color: COLORS.TEXT.HIGH_EMPHASIS,
474
+ paddingRight: 12
475
+ },
476
+ contentContainer: {
477
+ flex: 1,
478
+ marginVertical: 4
479
+ },
480
+ scrollContentContainer: {
481
+ paddingBottom: 52
482
+ },
483
+ brbIcon: {
484
+ width: 24,
485
+ height: 24,
486
+ tintColor: COLORS.WHITE,
487
+ marginRight: 12
488
+ },
489
+ button: {
490
+ flexDirection: 'row',
491
+ alignItems: 'center',
492
+ marginVertical: 12
493
+ },
494
+ text: {
495
+ fontFamily: 'Inter-Medium',
496
+ fontSize: 14,
497
+ lineHeight: 24,
498
+ color: COLORS.TEXT.HIGH_EMPHASIS
499
+ },
500
+ icon: {
501
+ color: COLORS.WHITE,
502
+ marginRight: 12
503
+ }
504
+ });
505
+ //# sourceMappingURL=RoomSettingsModalContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","View","StyleSheet","Text","Platform","ScrollView","Image","TouchableOpacity","Alert","InteractionManager","HMSAudioFilePlayerNode","HMSUpdateListenerActions","useDispatch","useSelector","Toast","MaterialCommunityIcons","Ionicons","MaterialIcons","EntypoIcons","DocumentPicker","openSettings","requestNotifications","COLORS","changePipModeStatus","changeEnableHLSPlayerControls","changeShowHLSStats","changeShowCustomHLSPlayerControls","ModalTypes","PipModes","parseMetadata","getJoinConfig","HMSShareScreen","ScreenShareIcon","RoomSettingsModalContent","_ref","_localPeerRole$name","_localPeerRole$name2","_localPeerRole$permis","_localPeerRole$permis2","_localPeerRole$permis3","_localPeerRole$permis4","_localPeerRole$permis5","_localPeerRole$permis6","_localPeerRole$publis","_localPeerRole$name3","_localPeerRole$publis2","_localPeerRole$publis3","newAudioMixingMode","isAudioShared","audioDeviceListenerAdded","muteAllTracksAudio","closeRoomSettingsModal","setModalVisible","setIsAudioShared","setAudioDeviceListenerAdded","setMuteAllTracksAudio","audioFilePlayerNodeRef","dispatch","hmsInstance","state","user","debugMode","localPeerRole","_state$hmsStates$loca","hmsStates","localPeer","role","localPeerMetadata","_state$hmsStates$loca2","metadata","isHLSStreaming","_state$hmsStates$room","room","hlsStreamingState","running","rtmpAndRecording","_state$hmsStates$room2","browserRecordingState","pipModeStatus","app","showHLSStats","joinConfig","enableHLSPlayerControls","showCustomHLSPlayerControls","parsedMetadata","isPipModeUnavailable","NOT_AVAILABLE","handleBRB","changeMetadata","JSON","stringify","isBRBOn","isHandRaised","then","d","console","log","catch","e","onRaiseHandPress","onParticipantsPress","runAfterInteractions","PARTICIPANTS","enterPipMode","isEnabled","enablePipMode","aspectRatio","endButton","videoButton","audioButton","ACTIVE","error","handleLocalRemoteAudiosMute","setPlaybackForAllAudio","handleRemoteAudiosMute","remoteMuteAllAudio","handleHLSStreaming","stopHLSStreaming","HLS_STREAMING","handleRTMPAndRecording","stopRtmpAndRecording","RECORDING","addRemoveAudioDeviceChangeListener","removeEventListener","ON_AUDIO_DEVICE_CHANGED","setAudioDeviceChangeListener","data","showWithGravity","device","LONG","TOP","changeBulkRole","BULK_ROLE_CHANGE","changeTrackState","CHANGE_TRACK_ROLE","switchAudioOutput","OS","SWITCH_AUDIO_OUTPUT","switchAudioOutputUsingIOSUI","changeAudioMode","CHANGE_AUDIO_MODE","setAudioMixingMode","AUDIO_MIXING_MODE","handleHLSPlayerAspectRatio","HLS_PLAYER_ASPECT_RATIO","showRTCStats","RTC_STATS","toggleShowHLSStats","DEFAULT","toggleEnableHLSPlayerControls","toggleShowCustomHLSPlayerControls","handleAudioShare","stopAudioshare","result","status","alert","text","onPress","cancelable","startAudioshare","setAudioShareVolume","SET_AUDIO_SHARE_VOLUME","playAudioShare","setTimeout","pickSingle","current","play","uri","stopAudioShare","stop","pauseAudioShare","pause","resumeAudioShare","resume","isAudioSharePlaying","isPlaying","getAudioShareDuration","duration","getAudioShareCurrentDuration","currentDuration","createElement","style","styles","container","chatHeaderContainer","chatHeading","contentContainer","contentContainerStyle","scrollContentContainer","screenShareDelegate","ScreenShareDelegate","button","source","require","brbIcon","SettingItem","IconType","iconName","name","includes","permissions","hlsStreaming","rtmpStreaming","changeRole","mute","unmute","publishSettings","allowed","Fragment","audioMixer","_ref2","size","icon","_ref3","isLocalScreenShared","handleScreenSharePress","create","height","width","backgroundColor","SURFACE","flexDirection","alignItems","fontFamily","fontSize","lineHeight","letterSpacing","color","TEXT","HIGH_EMPHASIS","paddingRight","flex","marginVertical","paddingBottom","tintColor","WHITE","marginRight"],"sourceRoot":"../../../src","sources":["components/RoomSettingsModalContent.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SACEC,IAAI,EACJC,UAAU,EACVC,IAAI,EACJC,QAAQ,EACRC,UAAU,EACVC,KAAK,EACLC,gBAAgB,EAChBC,KAAK,EACLC,kBAAkB,QACb,cAAc;AACrB,SACEC,sBAAsB,EAEtBC,wBAAwB,QACnB,6BAA6B;AACpC,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,OAAOC,KAAK,MAAM,2BAA2B;AAC7C,OAAOC,sBAAsB,MAAM,kDAAkD;AACrF,OAAOC,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,aAAa,MAAM,yCAAyC;AACnE,OAAOC,WAAW,MAAM,kCAAkC;AAC1D,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SAASC,YAAY,EAAEC,oBAAoB,QAAQ,0BAA0B;AAE7E,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,SACEC,mBAAmB,EACnBC,6BAA6B,EAC7BC,kBAAkB,EAClBC,iCAAiC,QAC5B,kBAAkB;AACzB,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;AACrD,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,aAAa,QAAQ,UAAU;AACxC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,eAAe,QAAQ,UAAU;AAc1C,OAAO,MAAMC,wBAEZ,GAAGC,IAAA,IAUE;EAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,qBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAA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ACqN,KAAK;IACvBC,WAAW,EAAE;EACf,CAAC;EACD7C,MAAM,EAAE;IACN8B,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBU,cAAc,EAAE;EAClB,CAAC;EACD5E,IAAI,EAAE;IACJmE,UAAU,EAAE,cAAc;IAC1BC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdE,KAAK,EAAE7M,MAAM,CAAC8M,IAAI,CAACC;EACrB,CAAC;EACDjB,IAAI,EAAE;IACJe,KAAK,EAAE7M,MAAM,CAACqN,KAAK;IACnBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { StatusBar, Platform } from 'react-native';
3
+ import { useShowLandscapeLayout } from '../hooks-util';
4
+ export const HMSStatusBar = _ref => {
5
+ let {
6
+ hidden
7
+ } = _ref;
8
+ const showLandscapeLayout = useShowLandscapeLayout();
9
+ return /*#__PURE__*/React.createElement(StatusBar, {
10
+ hidden: Platform.OS === 'ios' && hidden || showLandscapeLayout // use `hidden` prop to hide Status bar on iOS
11
+ ,
12
+ barStyle: Platform.OS === 'android' && hidden ? 'dark-content' : 'default' // hack: use `dark-content` value to make StatusBar look like it's hidden
13
+ ,
14
+ animated: true
15
+ });
16
+ };
17
+ //# sourceMappingURL=StatusBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StatusBar","Platform","useShowLandscapeLayout","HMSStatusBar","_ref","hidden","showLandscapeLayout","createElement","OS","barStyle","animated"],"sourceRoot":"../../../src","sources":["components/StatusBar.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,EAAEC,QAAQ,QAAQ,cAAc;AAElD,SAASC,sBAAsB,QAAQ,eAAe;AAMtD,OAAO,MAAMC,YAAyC,GAAGC,IAAA,IAAgB;EAAA,IAAf;IAAEC;EAAO,CAAC,GAAAD,IAAA;EAClE,MAAME,mBAAmB,GAAGJ,sBAAsB,CAAC,CAAC;EAEpD,oBACEH,KAAA,CAAAQ,aAAA,CAACP,SAAS;IACRK,MAAM,EAAGJ,QAAQ,CAACO,EAAE,KAAK,KAAK,IAAIH,MAAM,IAAKC,mBAAoB,CAAC;IAAA;IAClEG,QAAQ,EACNR,QAAQ,CAACO,EAAE,KAAK,SAAS,IAAIH,MAAM,GAAG,cAAc,GAAG,SACxD,CAAC;IAAA;IACFK,QAAQ,EAAE;EAAK,CAChB,CAAC;AAEN,CAAC"}