@cloudflare/realtimekit-ui 1.1.0-staging.9 → 1.1.1-staging.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 (781) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{ChatHead-e13f3b0e.js → ChatHead-777e6a2d.js} +1 -1
  3. package/dist/cjs/{TextMessage-1dc6f8b9.js → TextMessage-b9322340.js} +2 -2
  4. package/dist/cjs/{chat-2ae6f058.js → chat-f1a9fd6e.js} +1 -16
  5. package/dist/cjs/{config-0a88d50b.js → config-86164f93.js} +2 -2
  6. package/dist/cjs/{debounce-b06b27ca.js → debounce-267777c1.js} +1 -1
  7. package/dist/cjs/index-2e5758b6.js +4403 -0
  8. package/dist/cjs/{index-821d14b7.js → index-6f8c1928.js} +1 -1
  9. package/dist/cjs/{index-e4244d7d.js → index-92947ea7.js} +2 -2
  10. package/dist/cjs/index.cjs.js +6 -6
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{merge-c46cfa17.js → merge-bb096d88.js} +1 -1
  13. package/dist/cjs/{notification-f3750b61.js → notification-ef397c71.js} +1 -1
  14. package/dist/cjs/realtimekit-ui.cjs.js +30 -3
  15. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
  16. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +5 -5
  17. package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-audio-grid.cjs.entry.js +5 -5
  19. package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
  20. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +4 -4
  21. package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_26.cjs.entry.js} +661 -605
  22. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +8 -8
  23. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +13 -13
  24. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
  26. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +11 -25
  29. package/dist/cjs/rtk-chat-message.cjs.entry.js +6 -6
  30. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +13 -7
  31. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +4 -4
  32. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
  33. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -13
  34. package/dist/cjs/rtk-clock.cjs.entry.js +6 -6
  35. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +4 -4
  36. package/dist/cjs/rtk-controlbar.cjs.entry.js +5 -5
  37. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +3 -3
  38. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +4 -4
  39. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +4 -4
  40. package/dist/cjs/rtk-dialog.cjs.entry.js +4 -4
  41. package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
  42. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +4 -4
  43. package/dist/cjs/rtk-file-message_3.cjs.entry.js +14 -14
  44. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
  45. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +4 -4
  46. package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
  47. package/dist/cjs/rtk-header.cjs.entry.js +5 -5
  48. package/dist/cjs/rtk-idle-screen.cjs.entry.js +46 -5
  49. package/dist/cjs/rtk-image-viewer.cjs.entry.js +4 -4
  50. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +4 -4
  51. package/dist/cjs/rtk-leave-button.cjs.entry.js +4 -4
  52. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2477 -1450
  53. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
  54. package/dist/cjs/rtk-logo.cjs.entry.js +3 -3
  55. package/dist/cjs/rtk-meeting-title.cjs.entry.js +3 -3
  56. package/dist/cjs/rtk-message-list-view.cjs.entry.js +7 -7
  57. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
  58. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
  59. package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -5
  60. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-name-tag.cjs.entry.js +4 -4
  62. package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-notification.cjs.entry.js +7 -7
  64. package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
  65. package/dist/cjs/rtk-participant-count.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-participant-setup.cjs.entry.js +5 -5
  67. package/dist/cjs/rtk-participant_2.cjs.entry.js +19 -19
  68. package/dist/cjs/rtk-participants-audio.cjs.entry.js +4 -4
  69. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +5 -5
  70. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +4 -4
  71. package/dist/cjs/rtk-participants.cjs.entry.js +4 -4
  72. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +4 -4
  74. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
  75. package/dist/cjs/rtk-plugins_2.cjs.entry.js +7 -7
  76. package/dist/cjs/rtk-poll_2.cjs.entry.js +6 -6
  77. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +4 -4
  78. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +4 -4
  79. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
  80. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
  81. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +8 -8
  82. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
  83. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +4 -4
  84. package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
  85. package/dist/cjs/rtk-setup-screen.cjs.entry.js +26 -8
  86. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +5 -5
  87. package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -5
  88. package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
  89. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +6 -6
  90. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
  91. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
  92. package/dist/cjs/rtk-stage.cjs.entry.js +4 -4
  93. package/dist/cjs/rtk-transcript.cjs.entry.js +4 -4
  94. package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
  95. package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
  96. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +4 -4
  97. package/dist/cjs/{sidebar-0eb1e4ef.js → sidebar-7df66d80.js} +1 -1
  98. package/dist/cjs/{ui-store-6c2d680f.js → ui-store-d0e80f30.js} +113 -34
  99. package/dist/collection/collection-manifest.json +4 -6
  100. package/dist/collection/components/rtk-ai/rtk-ai.js +9 -3
  101. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +3 -3
  102. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +3 -3
  103. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -4
  104. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +4 -4
  105. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
  106. package/dist/collection/components/rtk-avatar/rtk-avatar.js +4 -4
  107. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +3 -3
  108. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +5 -5
  109. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +4 -4
  110. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +4 -4
  111. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -5
  112. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +3 -3
  113. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +3 -3
  114. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +3 -3
  115. package/dist/collection/components/rtk-chat/rtk-chat.css +4 -37
  116. package/dist/collection/components/rtk-chat/rtk-chat.js +63 -388
  117. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -51
  118. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +30 -17
  119. package/dist/collection/components/{rtk-channel-details/rtk-channel-details.css → rtk-chat-header/rtk-chat-header.css} +28 -46
  120. package/dist/collection/components/rtk-chat-header/rtk-chat-header.js +32 -0
  121. package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +0 -2
  122. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +9 -9
  123. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +0 -2
  124. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +6 -6
  125. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +92 -97
  126. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -4
  127. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.css +141 -0
  128. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +445 -0
  129. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
  130. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +9 -12
  131. package/dist/collection/components/rtk-clock/rtk-clock.js +5 -5
  132. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +4 -4
  133. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +4 -4
  134. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -2
  135. package/dist/collection/components/rtk-counter/rtk-counter.css +0 -2
  136. package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
  137. package/dist/collection/components/rtk-debugger/rtk-debugger.js +3 -3
  138. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +3 -3
  139. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +3 -3
  140. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +3 -3
  141. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +4 -4
  142. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +3 -3
  143. package/dist/collection/components/rtk-dialog/rtk-dialog.css +1 -2
  144. package/dist/collection/components/rtk-dialog/rtk-dialog.js +3 -3
  145. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +3 -3
  146. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
  147. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +0 -2
  148. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
  149. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
  150. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +3 -3
  151. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
  152. package/dist/collection/components/rtk-file-message/rtk-file-message.js +5 -5
  153. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
  154. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
  155. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
  156. package/dist/collection/components/rtk-grid/rtk-grid.js +3 -3
  157. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +0 -2
  158. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +3 -3
  159. package/dist/collection/components/rtk-header/rtk-header.js +4 -4
  160. package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
  161. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +22 -0
  162. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +79 -4
  163. package/dist/collection/components/rtk-image-message/rtk-image-message.js +7 -7
  164. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
  165. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +4 -4
  166. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
  167. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +4 -4
  168. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
  169. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -5
  170. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +3 -3
  171. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +3 -3
  172. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +9 -3
  173. package/dist/collection/components/rtk-logo/rtk-logo.js +2 -2
  174. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +6 -0
  175. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  176. package/dist/collection/components/rtk-meeting/rtk-meeting.js +13 -5
  177. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +3 -3
  178. package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
  179. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +1 -1
  180. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
  181. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +3 -3
  182. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
  183. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  184. package/dist/collection/components/rtk-message-view/rtk-message-view.css +18 -1
  185. package/dist/collection/components/rtk-message-view/rtk-message-view.js +51 -3
  186. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +3 -3
  187. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
  188. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +5 -5
  189. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
  190. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +3 -3
  191. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +4 -4
  192. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +5 -5
  193. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +4 -4
  194. package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
  195. package/dist/collection/components/rtk-notifications/rtk-notifications.js +3 -3
  196. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +4 -4
  197. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +104 -2
  198. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +104 -51
  199. package/dist/collection/components/rtk-participant/rtk-participant.js +16 -16
  200. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +3 -3
  201. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +5 -5
  202. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +5 -5
  203. package/dist/collection/components/rtk-participants/rtk-participants.js +3 -3
  204. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +4 -4
  205. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +4 -4
  206. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -3
  207. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +3 -3
  208. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +3 -3
  209. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +3 -3
  210. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +4 -4
  211. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +107 -0
  212. package/dist/collection/components/{rtk-channel-header/rtk-channel-header.js → rtk-pinned-message-selector/rtk-pinned-message-selector.js} +181 -118
  213. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +9 -3
  214. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +5 -5
  215. package/dist/collection/components/rtk-plugins/rtk-plugins.js +4 -4
  216. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +3 -3
  217. package/dist/collection/components/rtk-poll/rtk-poll.js +5 -5
  218. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
  219. package/dist/collection/components/rtk-polls/rtk-polls.js +6 -6
  220. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +3 -3
  221. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +4 -4
  222. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
  223. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +3 -3
  224. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +9 -9
  225. package/dist/collection/components/rtk-settings/rtk-settings.js +3 -3
  226. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +3 -3
  227. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
  228. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +3 -3
  229. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +0 -2
  230. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +25 -6
  231. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +3 -3
  232. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +11 -5
  233. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +3 -3
  234. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +3 -3
  235. package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
  236. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +5 -5
  237. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +3 -3
  238. package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
  239. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +3 -3
  240. package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
  241. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +4 -4
  242. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
  243. package/dist/collection/components/rtk-text-message/rtk-text-message.js +5 -5
  244. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  245. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  246. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  247. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +2 -2
  248. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
  249. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +3 -3
  250. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  251. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +4 -4
  252. package/dist/collection/lib/icons/default-icon-pack.js +0 -2
  253. package/dist/collection/lib/lang/default-language.js +2 -5
  254. package/dist/collection/lib/overrides.js +1 -0
  255. package/dist/collection/utils/chat.js +0 -4
  256. package/dist/collection/utils/flags.js +0 -2
  257. package/dist/components/index.js +8 -8
  258. package/dist/components/{p-39e8b34a.js → p-00551379.js} +4 -4
  259. package/dist/components/{p-bb4983b8.js → p-06de876f.js} +7 -7
  260. package/dist/components/{p-4902c5cf.js → p-08698341.js} +5 -5
  261. package/dist/components/{p-5476e3f3.js → p-0d76966c.js} +6 -6
  262. package/dist/components/{p-dab9d3d6.js → p-0db812c2.js} +1 -12
  263. package/dist/components/{p-00bb4abb.js → p-0f065bee.js} +11 -11
  264. package/dist/components/{p-7148ec6a.js → p-0f39e8ae.js} +5 -5
  265. package/dist/components/{p-7f489600.js → p-1099c0fe.js} +5 -5
  266. package/dist/components/{p-107e55c1.js → p-1186c3c8.js} +5 -5
  267. package/dist/components/{p-eeb37b16.js → p-12b59b72.js} +5 -5
  268. package/dist/components/{p-fb836f65.js → p-15156a2c.js} +2 -2
  269. package/dist/components/{p-761c0e78.js → p-154bed23.js} +6 -6
  270. package/dist/components/{p-c05530c8.js → p-1b26fbf7.js} +3 -3
  271. package/dist/components/{p-e0510925.js → p-1cbbf87d.js} +7 -7
  272. package/dist/components/{p-dc3143c0.js → p-1fd0aeb8.js} +3 -3
  273. package/dist/components/{p-294cda89.js → p-2281c2c4.js} +8 -8
  274. package/dist/components/{p-ad873f2d.js → p-2305aa2d.js} +1 -1
  275. package/dist/components/{p-6f8d2043.js → p-2690645d.js} +3 -3
  276. package/dist/components/{p-616ae7ab.js → p-2976fcb0.js} +8 -8
  277. package/dist/components/{p-8cfdac0d.js → p-2c66d025.js} +9 -9
  278. package/dist/components/{p-fa476519.js → p-2f56d366.js} +11 -11
  279. package/dist/components/{p-598dc3f2.js → p-3577385a.js} +8 -8
  280. package/dist/components/{p-241a8245.js → p-38ba07d0.js} +6 -6
  281. package/dist/components/{p-6101a21c.js → p-401ce922.js} +5 -5
  282. package/dist/components/{p-2090b03d.js → p-41bf1c3d.js} +5 -5
  283. package/dist/components/{p-46d99dd9.js → p-41d43013.js} +7 -7
  284. package/dist/components/{p-4e5a54c2.js → p-4870263f.js} +16 -16
  285. package/dist/components/p-4a8d69ae.js +437 -0
  286. package/dist/components/{p-a8a6496d.js → p-4b7af749.js} +9 -9
  287. package/dist/components/{p-45220ce9.js → p-512c4515.js} +7 -7
  288. package/dist/components/{p-c0db1a83.js → p-526870e9.js} +82 -59
  289. package/dist/components/p-528cc24e.js +260 -0
  290. package/dist/components/{p-da87cc71.js → p-583f9282.js} +1 -1
  291. package/dist/components/p-5c4de4b9.js +86 -0
  292. package/dist/components/{p-8d6b21d5.js → p-5cce54f2.js} +8 -8
  293. package/dist/components/{p-cf8f725b.js → p-61dcdd44.js} +4 -4
  294. package/dist/components/p-6857797f.js +218 -0
  295. package/dist/components/{p-d765dbe4.js → p-6c0eb5d7.js} +11 -11
  296. package/dist/components/{p-95e08256.js → p-6e373d96.js} +4 -4
  297. package/dist/components/{p-aae4c250.js → p-707dced6.js} +2 -2
  298. package/dist/components/{p-b30d5f6b.js → p-71fb663b.js} +4 -4
  299. package/dist/components/{p-c334f0e5.js → p-7210157d.js} +8 -8
  300. package/dist/components/{p-35e93724.js → p-73db39b8.js} +2 -2
  301. package/dist/components/{p-193d8051.js → p-76c443b7.js} +3 -3
  302. package/dist/components/{p-6739a399.js → p-8123217e.js} +3 -3
  303. package/dist/components/{p-fb900e8f.js → p-81658a62.js} +6 -6
  304. package/dist/components/{p-02b840f8.js → p-81f479e2.js} +8 -8
  305. package/dist/components/p-8a0106ed.js +463 -0
  306. package/dist/components/{p-05df465d.js → p-8cea6257.js} +1 -1
  307. package/dist/components/{p-695f0784.js → p-95a1fa70.js} +5 -5
  308. package/dist/components/{p-a51db0d6.js → p-9bf3a2cd.js} +22 -22
  309. package/dist/components/{p-4ebf9684.js → p-9cf41ab1.js} +5 -5
  310. package/dist/components/{p-0e5cc539.js → p-9e1478a0.js} +7 -7
  311. package/dist/components/{p-da9018ea.js → p-a101bff7.js} +11 -11
  312. package/dist/components/{p-0f2de0f8.js → p-a339a693.js} +18 -12
  313. package/dist/components/{p-3b29dda1.js → p-a3cc7425.js} +2 -2
  314. package/dist/components/{p-89025409.js → p-a6c17b0d.js} +2482 -1455
  315. package/dist/components/{p-4b319158.js → p-a74caccd.js} +4 -4
  316. package/dist/components/{p-2309fb19.js → p-ad179bea.js} +5 -5
  317. package/dist/components/{p-819cb785.js → p-b1723439.js} +5 -5
  318. package/dist/components/{p-1a9e3806.js → p-b2d5329f.js} +5 -5
  319. package/dist/components/{p-3e58e0f3.js → p-bcff8acc.js} +4 -4
  320. package/dist/components/{p-6c9a833e.js → p-bfc86230.js} +4 -4
  321. package/dist/components/{p-a54b82e9.js → p-c0790538.js} +1 -1
  322. package/dist/components/{p-1a8b46bb.js → p-c0ad28ff.js} +9 -9
  323. package/dist/components/{p-4aede34c.js → p-c0de7320.js} +5 -5
  324. package/dist/components/{p-6ec01673.js → p-c6c4c24e.js} +4 -4
  325. package/dist/components/{p-540d8eb9.js → p-cb053923.js} +6 -6
  326. package/dist/components/{p-af3b99f4.js → p-cd6656bf.js} +8 -8
  327. package/dist/components/{p-a25f3aca.js → p-d0b9b4a1.js} +6 -6
  328. package/dist/components/{p-5669b6e7.js → p-d0eb78a2.js} +9 -9
  329. package/dist/components/{p-43d6a221.js → p-d22fc130.js} +8 -8
  330. package/dist/components/{p-4b375dfa.js → p-d6024528.js} +4 -4
  331. package/dist/components/{p-2447a26f.js → p-d70fbc37.js} +5 -5
  332. package/dist/components/{p-2a65883d.js → p-da13b457.js} +6 -6
  333. package/dist/components/{p-0a31ef52.js → p-dacaa250.js} +3 -3
  334. package/dist/components/{p-1f5a4682.js → p-e0ef3893.js} +7 -7
  335. package/dist/components/{p-1391bef0.js → p-e229128b.js} +1 -1
  336. package/dist/components/{p-6f7c46d2.js → p-e334e15c.js} +2 -2
  337. package/dist/components/{p-fef53de3.js → p-ecbb4e46.js} +7 -7
  338. package/dist/components/{p-84b30573.js → p-eff3c856.js} +6 -6
  339. package/dist/components/{p-e847fee9.js → p-f19b4abc.js} +114 -35
  340. package/dist/components/{p-7834fd55.js → p-f1fa3b2a.js} +7 -7
  341. package/dist/components/{p-60fdbd75.js → p-f3c261ec.js} +1 -1
  342. package/dist/components/{p-0b2b3442.js → p-f4bd3f50.js} +7 -7
  343. package/dist/components/{p-48acb953.js → p-f517e595.js} +6 -6
  344. package/dist/components/{p-89eb65a9.js → p-fa8cf270.js} +3 -3
  345. package/dist/components/{p-28170a8d.js → p-fb5a823a.js} +24 -30
  346. package/dist/components/p-fdad14c9.js +4028 -0
  347. package/dist/components/rtk-ai-toggle.js +6 -6
  348. package/dist/components/rtk-ai-transcriptions.js +1 -1
  349. package/dist/components/rtk-ai.js +6 -6
  350. package/dist/components/rtk-audio-grid.js +5 -5
  351. package/dist/components/rtk-audio-tile.js +7 -7
  352. package/dist/components/rtk-audio-visualizer.js +1 -1
  353. package/dist/components/rtk-avatar.js +1 -1
  354. package/dist/components/rtk-breakout-room-manager.js +1 -1
  355. package/dist/components/rtk-breakout-room-participants.js +1 -1
  356. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  357. package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
  358. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  359. package/dist/components/rtk-button.js +1 -1
  360. package/dist/components/rtk-camera-selector.js +1 -1
  361. package/dist/components/rtk-camera-toggle.js +7 -7
  362. package/dist/components/rtk-caption-toggle.js +6 -6
  363. package/dist/components/rtk-chat-composer-ui.js +17 -34
  364. package/dist/components/rtk-chat-composer-view.js +1 -1
  365. package/dist/components/{rtk-channel-header.d.ts → rtk-chat-header.d.ts} +4 -4
  366. package/dist/components/rtk-chat-header.js +6 -0
  367. package/dist/components/rtk-chat-message.js +1 -1
  368. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  369. package/dist/components/rtk-chat-messages-ui.js +26 -20
  370. package/dist/components/rtk-chat-search-results.js +16 -16
  371. package/dist/components/rtk-chat-selector-ui.js +5 -5
  372. package/dist/components/{rtk-channel-creator.d.ts → rtk-chat-selector.d.ts} +4 -4
  373. package/dist/components/rtk-chat-selector.js +6 -0
  374. package/dist/components/rtk-chat-toggle.js +13 -16
  375. package/dist/components/rtk-chat.js +1 -1
  376. package/dist/components/rtk-clock.js +7 -7
  377. package/dist/components/rtk-confirmation-modal.js +1 -1
  378. package/dist/components/rtk-controlbar-button.js +1 -1
  379. package/dist/components/rtk-controlbar.js +5 -5
  380. package/dist/components/rtk-counter.js +1 -1
  381. package/dist/components/rtk-debugger-audio.js +1 -1
  382. package/dist/components/rtk-debugger-screenshare.js +1 -1
  383. package/dist/components/rtk-debugger-system.js +1 -1
  384. package/dist/components/rtk-debugger-toggle.js +7 -7
  385. package/dist/components/rtk-debugger-video.js +1 -1
  386. package/dist/components/rtk-debugger.js +1 -1
  387. package/dist/components/rtk-dialog-manager.js +26 -26
  388. package/dist/components/rtk-dialog.js +1 -1
  389. package/dist/components/rtk-draft-attachment-view.js +1 -1
  390. package/dist/components/rtk-emoji-picker-button.js +1 -1
  391. package/dist/components/rtk-emoji-picker.js +1 -1
  392. package/dist/components/rtk-ended-screen.js +5 -5
  393. package/dist/components/rtk-file-dropzone.js +5 -5
  394. package/dist/components/rtk-file-message-view.js +1 -1
  395. package/dist/components/rtk-file-message.js +1 -1
  396. package/dist/components/rtk-file-picker-button.js +1 -1
  397. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  398. package/dist/components/rtk-grid-pagination.js +7 -7
  399. package/dist/components/rtk-grid.js +12 -12
  400. package/dist/components/rtk-header.js +5 -5
  401. package/dist/components/rtk-icon.js +1 -1
  402. package/dist/components/rtk-idle-screen.js +56 -9
  403. package/dist/components/rtk-image-message-view.js +1 -1
  404. package/dist/components/rtk-image-message.js +1 -1
  405. package/dist/components/rtk-image-viewer.js +6 -6
  406. package/dist/components/rtk-information-tooltip.js +5 -5
  407. package/dist/components/rtk-join-stage.js +1 -1
  408. package/dist/components/rtk-leave-button.js +7 -7
  409. package/dist/components/rtk-leave-meeting.js +1 -1
  410. package/dist/components/rtk-livestream-indicator.js +1 -1
  411. package/dist/components/rtk-livestream-player.js +1 -1
  412. package/dist/components/rtk-livestream-toggle.js +6 -6
  413. package/dist/components/rtk-logo.js +1 -1
  414. package/dist/components/rtk-markdown-view.js +1 -1
  415. package/dist/components/rtk-meeting-title.js +4 -4
  416. package/dist/components/rtk-meeting.js +69 -49
  417. package/dist/components/rtk-menu-item.js +1 -1
  418. package/dist/components/rtk-menu-list.js +1 -1
  419. package/dist/components/rtk-menu.js +1 -1
  420. package/dist/components/rtk-message-list-view.js +8 -8
  421. package/dist/components/rtk-message-view.js +1 -1
  422. package/dist/components/rtk-mic-toggle.js +7 -7
  423. package/dist/components/rtk-microphone-selector.js +1 -1
  424. package/dist/components/rtk-mixed-grid.js +10 -10
  425. package/dist/components/rtk-more-toggle.js +8 -8
  426. package/dist/components/rtk-mute-all-button.js +7 -7
  427. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  428. package/dist/components/rtk-name-tag.js +1 -1
  429. package/dist/components/rtk-network-indicator.js +4 -4
  430. package/dist/components/rtk-notification.js +1 -1
  431. package/dist/components/rtk-notifications.js +8 -8
  432. package/dist/components/rtk-overlay-modal.js +1 -1
  433. package/dist/components/rtk-paginated-list.js +1 -1
  434. package/dist/components/rtk-participant-count.js +4 -4
  435. package/dist/components/rtk-participant-setup.js +5 -5
  436. package/dist/components/rtk-participant-tile.js +1 -1
  437. package/dist/components/rtk-participant.js +1 -1
  438. package/dist/components/rtk-participants-audio.js +7 -7
  439. package/dist/components/rtk-participants-stage-list.js +1 -1
  440. package/dist/components/rtk-participants-stage-queue.js +1 -1
  441. package/dist/components/rtk-participants-toggle.js +7 -7
  442. package/dist/components/rtk-participants-viewer-list.js +1 -1
  443. package/dist/components/rtk-participants-waiting-list.js +1 -1
  444. package/dist/components/rtk-participants.js +17 -17
  445. package/dist/components/rtk-permissions-message.js +1 -1
  446. package/dist/components/rtk-pinned-message-selector.d.ts +11 -0
  447. package/dist/components/rtk-pinned-message-selector.js +6 -0
  448. package/dist/components/rtk-pip-toggle.js +6 -6
  449. package/dist/components/rtk-plugin-main.js +1 -1
  450. package/dist/components/rtk-plugins-toggle.js +7 -7
  451. package/dist/components/rtk-plugins.js +1 -1
  452. package/dist/components/rtk-poll-form.js +1 -1
  453. package/dist/components/rtk-poll.js +1 -1
  454. package/dist/components/rtk-polls-toggle.js +7 -7
  455. package/dist/components/rtk-polls.js +1 -1
  456. package/dist/components/rtk-recording-indicator.js +5 -5
  457. package/dist/components/rtk-recording-toggle.js +6 -6
  458. package/dist/components/rtk-screen-share-toggle.js +7 -7
  459. package/dist/components/rtk-screenshare-view.js +11 -11
  460. package/dist/components/rtk-settings-audio.js +1 -1
  461. package/dist/components/rtk-settings-toggle.js +7 -7
  462. package/dist/components/rtk-settings-video.js +1 -1
  463. package/dist/components/rtk-settings.js +13 -13
  464. package/dist/components/rtk-setup-screen.js +33 -14
  465. package/dist/components/rtk-sidebar-ui.js +1 -1
  466. package/dist/components/rtk-sidebar.js +13 -13
  467. package/dist/components/rtk-simple-grid.js +4 -4
  468. package/dist/components/rtk-speaker-selector.js +1 -1
  469. package/dist/components/rtk-spinner.js +1 -1
  470. package/dist/components/rtk-spotlight-grid.js +6 -6
  471. package/dist/components/rtk-spotlight-indicator.js +1 -1
  472. package/dist/components/rtk-stage-toggle.js +7 -7
  473. package/dist/components/rtk-stage.js +4 -4
  474. package/dist/components/rtk-switch.js +1 -1
  475. package/dist/components/rtk-tab-bar.js +1 -1
  476. package/dist/components/rtk-text-composer-view.js +1 -1
  477. package/dist/components/rtk-text-message-view.js +1 -1
  478. package/dist/components/rtk-text-message.js +1 -1
  479. package/dist/components/rtk-tooltip.js +1 -1
  480. package/dist/components/rtk-transcript.js +1 -1
  481. package/dist/components/rtk-transcripts.js +4 -4
  482. package/dist/components/rtk-ui-provider.js +3 -3
  483. package/dist/components/rtk-viewer-count.js +1 -1
  484. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  485. package/dist/components/rtk-waiting-screen.js +5 -5
  486. package/dist/docs/docs-components.json +11101 -18241
  487. package/dist/docs/docs-vscode.json +64 -114
  488. package/dist/esm/{ChatHead-15c2f8d4.js → ChatHead-148558a8.js} +1 -1
  489. package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-cdf76ced.js} +2 -2
  490. package/dist/esm/{chat-b2bea75f.js → chat-12f27725.js} +2 -13
  491. package/dist/esm/{config-325caca3.js → config-74c02ff0.js} +2 -2
  492. package/dist/esm/{debounce-3139f9e3.js → debounce-0c6e63e9.js} +1 -1
  493. package/dist/esm/{index-d31a2e33.js → index-3f51790f.js} +1 -1
  494. package/dist/esm/index-55463a54.js +4365 -0
  495. package/dist/esm/{index-6eb882e7.js → index-e677f28b.js} +2 -2
  496. package/dist/esm/index.js +8 -8
  497. package/dist/esm/loader.js +6551 -3612
  498. package/dist/esm/{merge-bc2a0775.js → merge-df16b7d2.js} +1 -1
  499. package/dist/esm/{notification-4beb1e0d.js → notification-dd8b1d52.js} +1 -1
  500. package/dist/esm/realtimekit-ui.js +31 -4
  501. package/dist/esm/rtk-ai-toggle.entry.js +3 -3
  502. package/dist/esm/rtk-ai-transcriptions.entry.js +5 -5
  503. package/dist/esm/rtk-ai.entry.js +3 -3
  504. package/dist/esm/rtk-audio-grid.entry.js +5 -5
  505. package/dist/esm/rtk-audio-tile.entry.js +3 -3
  506. package/dist/esm/rtk-audio-visualizer_4.entry.js +4 -4
  507. package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_26.entry.js} +659 -605
  508. package/dist/esm/rtk-breakout-room-manager_3.entry.js +8 -8
  509. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +13 -13
  510. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
  511. package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
  512. package/dist/esm/rtk-camera-toggle.entry.js +3 -3
  513. package/dist/esm/rtk-caption-toggle.entry.js +3 -3
  514. package/dist/esm/rtk-chat-composer-ui.entry.js +11 -25
  515. package/dist/esm/rtk-chat-message.entry.js +6 -6
  516. package/dist/esm/rtk-chat-messages-ui.entry.js +13 -7
  517. package/dist/esm/rtk-chat-search-results.entry.js +4 -4
  518. package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
  519. package/dist/esm/rtk-chat-toggle.entry.js +10 -13
  520. package/dist/esm/rtk-clock.entry.js +6 -6
  521. package/dist/esm/rtk-controlbar-button.entry.js +4 -4
  522. package/dist/esm/rtk-controlbar.entry.js +5 -5
  523. package/dist/esm/rtk-debugger-audio_4.entry.js +3 -3
  524. package/dist/esm/rtk-debugger-toggle.entry.js +4 -4
  525. package/dist/esm/rtk-dialog-manager.entry.js +4 -4
  526. package/dist/esm/rtk-dialog.entry.js +4 -4
  527. package/dist/esm/rtk-ended-screen.entry.js +3 -3
  528. package/dist/esm/rtk-file-dropzone.entry.js +4 -4
  529. package/dist/esm/rtk-file-message_3.entry.js +14 -14
  530. package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
  531. package/dist/esm/rtk-grid-pagination.entry.js +4 -4
  532. package/dist/esm/rtk-grid.entry.js +4 -4
  533. package/dist/esm/rtk-header.entry.js +5 -5
  534. package/dist/esm/rtk-idle-screen.entry.js +46 -5
  535. package/dist/esm/rtk-image-viewer.entry.js +4 -4
  536. package/dist/esm/rtk-information-tooltip.entry.js +4 -4
  537. package/dist/esm/rtk-leave-button.entry.js +4 -4
  538. package/dist/esm/rtk-livestream-indicator_3.entry.js +2477 -1450
  539. package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
  540. package/dist/esm/rtk-logo.entry.js +3 -3
  541. package/dist/esm/rtk-meeting-title.entry.js +3 -3
  542. package/dist/esm/rtk-message-list-view.entry.js +7 -7
  543. package/dist/esm/rtk-mic-toggle.entry.js +3 -3
  544. package/dist/esm/rtk-mixed-grid.entry.js +4 -4
  545. package/dist/esm/rtk-more-toggle.entry.js +5 -5
  546. package/dist/esm/rtk-mute-all-button.entry.js +3 -3
  547. package/dist/esm/rtk-name-tag.entry.js +4 -4
  548. package/dist/esm/rtk-network-indicator.entry.js +3 -3
  549. package/dist/esm/rtk-notification.entry.js +7 -7
  550. package/dist/esm/rtk-notifications.entry.js +5 -5
  551. package/dist/esm/rtk-participant-count.entry.js +3 -3
  552. package/dist/esm/rtk-participant-setup.entry.js +5 -5
  553. package/dist/esm/rtk-participant_2.entry.js +19 -19
  554. package/dist/esm/rtk-participants-audio.entry.js +4 -4
  555. package/dist/esm/rtk-participants-stage-list_4.entry.js +5 -5
  556. package/dist/esm/rtk-participants-toggle.entry.js +4 -4
  557. package/dist/esm/rtk-participants.entry.js +4 -4
  558. package/dist/esm/rtk-pip-toggle.entry.js +3 -3
  559. package/dist/esm/rtk-plugin-main_2.entry.js +4 -4
  560. package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
  561. package/dist/esm/rtk-plugins_2.entry.js +7 -7
  562. package/dist/esm/rtk-poll_2.entry.js +6 -6
  563. package/dist/esm/rtk-polls-toggle.entry.js +4 -4
  564. package/dist/esm/rtk-recording-indicator.entry.js +4 -4
  565. package/dist/esm/rtk-recording-toggle.entry.js +3 -3
  566. package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
  567. package/dist/esm/rtk-screenshare-view.entry.js +8 -8
  568. package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
  569. package/dist/esm/rtk-settings-toggle.entry.js +4 -4
  570. package/dist/esm/rtk-settings.entry.js +3 -3
  571. package/dist/esm/rtk-setup-screen.entry.js +26 -8
  572. package/dist/esm/rtk-sidebar-ui.entry.js +5 -5
  573. package/dist/esm/rtk-sidebar.entry.js +5 -5
  574. package/dist/esm/rtk-simple-grid.entry.js +4 -4
  575. package/dist/esm/rtk-spotlight-grid.entry.js +6 -6
  576. package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
  577. package/dist/esm/rtk-stage-toggle.entry.js +3 -3
  578. package/dist/esm/rtk-stage.entry.js +4 -4
  579. package/dist/esm/rtk-transcript.entry.js +4 -4
  580. package/dist/esm/rtk-transcripts.entry.js +3 -3
  581. package/dist/esm/rtk-ui-provider.entry.js +3 -3
  582. package/dist/esm/rtk-waiting-screen.entry.js +4 -4
  583. package/dist/esm/{sidebar-376c9917.js → sidebar-293fd302.js} +1 -1
  584. package/dist/esm/{ui-store-12132d9c.js → ui-store-644e4cb0.js} +114 -35
  585. package/dist/realtimekit-ui/index.esm.js +1 -1
  586. package/dist/realtimekit-ui/p-01ef7b4d.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-0511529f.entry.js +1 -0
  588. package/dist/realtimekit-ui/p-06dcd55e.entry.js +1 -0
  589. package/dist/realtimekit-ui/{p-a1408db4.entry.js → p-07860158.entry.js} +1 -1
  590. package/dist/realtimekit-ui/p-0bd7eedc.entry.js +1 -0
  591. package/dist/realtimekit-ui/p-0c3f571f.entry.js +1 -0
  592. package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-0cfee5d3.entry.js} +1 -1
  593. package/dist/realtimekit-ui/p-1517b428.entry.js +1 -0
  594. package/dist/realtimekit-ui/{p-6914a616.entry.js → p-15297e89.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-1a4f0b00.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-1efb8f44.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-2441260e.entry.js → p-1f877b80.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-af58f450.entry.js → p-1feec027.entry.js} +1 -1
  599. package/dist/realtimekit-ui/p-205590ae.entry.js +1 -0
  600. package/dist/realtimekit-ui/p-25f3e66a.entry.js +1 -0
  601. package/dist/realtimekit-ui/{p-6888b050.entry.js → p-26b4e422.entry.js} +1 -1
  602. package/dist/realtimekit-ui/p-29549a05.entry.js +1 -0
  603. package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-2b47921e.entry.js} +1 -1
  604. package/dist/realtimekit-ui/p-2f93d90b.entry.js +1 -0
  605. package/dist/realtimekit-ui/{p-afa7211c.js → p-2ff77d78.js} +1 -1
  606. package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-30a3007c.entry.js} +1 -1
  607. package/dist/realtimekit-ui/p-3125a6e7.entry.js +1 -0
  608. package/dist/realtimekit-ui/{p-9b550ec4.js → p-315cd380.js} +1 -1
  609. package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-36f7accb.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-3ec85ff3.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-14569a57.entry.js → p-40ab8b0f.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-43fa4d95.entry.js} +1 -1
  613. package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-4814e742.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-616dc312.entry.js → p-4a5e203d.entry.js} +1 -1
  615. package/dist/realtimekit-ui/p-4ec77793.js +1 -0
  616. package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-50aaac81.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-5a425dac.entry.js} +1 -1
  618. package/dist/realtimekit-ui/{p-c5f704a3.entry.js → p-6038d773.entry.js} +1 -1
  619. package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6573487e.entry.js} +1 -1
  620. package/dist/realtimekit-ui/p-6741242b.entry.js +1 -0
  621. package/dist/realtimekit-ui/p-67c674d4.entry.js +1 -0
  622. package/dist/realtimekit-ui/{p-02c6b025.entry.js → p-67e751d5.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-67f94206.entry.js} +1 -1
  624. package/dist/realtimekit-ui/p-6a1faaf1.entry.js +1 -0
  625. package/dist/realtimekit-ui/p-6acdcb4f.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-6c2ef845.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-6d0690f6.entry.js} +1 -1
  628. package/dist/realtimekit-ui/p-71393f37.entry.js +1 -0
  629. package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-76b45a0d.entry.js} +1 -1
  630. package/dist/realtimekit-ui/{p-a7e0277f.js → p-77e5605f.js} +1 -1
  631. package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-78802076.entry.js} +1 -1
  632. package/dist/realtimekit-ui/p-7c6cdccf.entry.js +1 -0
  633. package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-8329d4ae.entry.js} +1 -1
  634. package/dist/realtimekit-ui/{p-342b4926.entry.js → p-879459bb.entry.js} +1 -1
  635. package/dist/realtimekit-ui/p-8dd8bab2.entry.js +1 -0
  636. package/dist/realtimekit-ui/p-8e9ff91e.entry.js +1 -0
  637. package/dist/realtimekit-ui/p-8fc79c56.js +1 -0
  638. package/dist/realtimekit-ui/{p-00445029.entry.js → p-91735c98.entry.js} +1 -1
  639. package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-975cbc2e.entry.js} +1 -1
  640. package/dist/realtimekit-ui/p-9ff0dfdb.entry.js +1 -0
  641. package/dist/realtimekit-ui/{p-54a88fdf.entry.js → p-a09b6b2c.entry.js} +1 -1
  642. package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-a43a7ffb.entry.js} +1 -1
  643. package/dist/realtimekit-ui/p-a599f720.js +2 -0
  644. package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-aac14289.entry.js} +1 -1
  645. package/dist/realtimekit-ui/p-abbee273.entry.js +1 -0
  646. package/dist/realtimekit-ui/p-ad11a64a.entry.js +1 -0
  647. package/dist/realtimekit-ui/p-aee32120.entry.js +1 -0
  648. package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-b0eaeddc.entry.js} +1 -1
  649. package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-b5d279fd.entry.js} +1 -1
  650. package/dist/realtimekit-ui/p-b5e5e206.js +1 -0
  651. package/dist/realtimekit-ui/{p-6896e819.entry.js → p-b7bbc696.entry.js} +1 -1
  652. package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-bbaf3e7d.entry.js} +1 -1
  653. package/dist/realtimekit-ui/{p-11a469d9.js → p-be0d2b90.js} +1 -1
  654. package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-bea3ee08.entry.js} +1 -1
  655. package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-c0e5ddd4.entry.js} +1 -1
  656. package/dist/realtimekit-ui/p-c8f0b23e.entry.js +1 -0
  657. package/dist/realtimekit-ui/{p-573187b4.entry.js → p-cbbb09a2.entry.js} +1 -1
  658. package/dist/realtimekit-ui/{p-80e51a73.entry.js → p-cbfe61b9.entry.js} +1 -1
  659. package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-cd086077.entry.js} +1 -1
  660. package/dist/realtimekit-ui/p-d107248e.entry.js +1 -0
  661. package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-d10fe6c7.entry.js} +1 -1
  662. package/dist/realtimekit-ui/p-d1a6e546.entry.js +1 -0
  663. package/dist/realtimekit-ui/p-d24dd330.entry.js +1 -0
  664. package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-d3acf8e9.entry.js} +1 -1
  665. package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d3d4e6de.entry.js} +1 -1
  666. package/dist/realtimekit-ui/p-d432c842.entry.js +1 -0
  667. package/dist/realtimekit-ui/p-d5af89d0.entry.js +1 -0
  668. package/dist/realtimekit-ui/p-d6126ff7.js +1 -0
  669. package/dist/realtimekit-ui/{p-d3e520e5.js → p-ddcb6b8b.js} +1 -1
  670. package/dist/realtimekit-ui/{p-4485414e.entry.js → p-de253745.entry.js} +1 -1
  671. package/dist/realtimekit-ui/{p-369648b9.entry.js → p-de2fd3a4.entry.js} +1 -1
  672. package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-e6fc5935.entry.js} +1 -1
  673. package/dist/realtimekit-ui/{p-c8eaa707.js → p-eccb6d78.js} +1 -1
  674. package/dist/realtimekit-ui/p-f1c4d507.entry.js +1 -0
  675. package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-f423e125.entry.js} +1 -1
  676. package/dist/realtimekit-ui/{p-f266302c.entry.js → p-f4e8a0b3.entry.js} +1 -1
  677. package/dist/realtimekit-ui/{p-cd0c5440.js → p-f6fdb3c3.js} +1 -1
  678. package/dist/realtimekit-ui/p-ff86148c.entry.js +1 -0
  679. package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-ffac36ba.entry.js} +1 -1
  680. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  681. package/dist/types/components/rtk-ai/rtk-ai.d.ts +6 -0
  682. package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +6 -0
  683. package/dist/types/components/rtk-chat/rtk-chat.d.ts +6 -43
  684. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +1 -4
  685. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
  686. package/dist/types/components/rtk-chat-header/rtk-chat-header.d.ts +7 -0
  687. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +6 -15
  688. package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +54 -0
  689. package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +11 -0
  690. package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +6 -0
  691. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +5 -0
  692. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +11 -5
  693. package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +6 -0
  694. package/dist/types/components/rtk-pinned-message-selector/rtk-pinned-message-selector.d.ts +40 -0
  695. package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +6 -0
  696. package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +1 -0
  697. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +6 -2
  698. package/dist/types/components.d.ts +336 -498
  699. package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
  700. package/dist/types/lib/lang/default-language.d.ts +1 -4
  701. package/dist/types/lib/overrides.d.ts +5 -0
  702. package/dist/types/types/props.d.ts +1 -4
  703. package/dist/types/utils/chat.d.ts +1 -3
  704. package/dist/types/utils/flags.d.ts +0 -2
  705. package/package.json +1 -1
  706. package/dist/cjs/index-05554ce6.js +0 -2251
  707. package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
  708. package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
  709. package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
  710. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
  711. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
  712. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
  713. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
  714. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
  715. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
  716. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
  717. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
  718. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
  719. package/dist/components/p-713c7ed7.js +0 -85
  720. package/dist/components/p-a73665b4.js +0 -203
  721. package/dist/components/p-b64798ac.js +0 -703
  722. package/dist/components/p-c3592601.js +0 -1641
  723. package/dist/components/p-fbc02b1f.js +0 -402
  724. package/dist/components/rtk-channel-creator.js +0 -214
  725. package/dist/components/rtk-channel-details.d.ts +0 -11
  726. package/dist/components/rtk-channel-details.js +0 -6
  727. package/dist/components/rtk-channel-header.js +0 -151
  728. package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
  729. package/dist/components/rtk-channel-selector-ui.js +0 -194
  730. package/dist/components/rtk-channel-selector-view.d.ts +0 -11
  731. package/dist/components/rtk-channel-selector-view.js +0 -6
  732. package/dist/esm/index-c1fb98bb.js +0 -2218
  733. package/dist/esm/rtk-channel-creator.entry.js +0 -159
  734. package/dist/esm/rtk-channel-details.entry.js +0 -45
  735. package/dist/esm/rtk-channel-header.entry.js +0 -79
  736. package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
  737. package/dist/realtimekit-ui/p-0ee570cd.js +0 -2
  738. package/dist/realtimekit-ui/p-1462cbd9.entry.js +0 -1
  739. package/dist/realtimekit-ui/p-1834416c.entry.js +0 -1
  740. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
  741. package/dist/realtimekit-ui/p-23784be6.entry.js +0 -1
  742. package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
  743. package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
  744. package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
  745. package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
  746. package/dist/realtimekit-ui/p-43530cd3.entry.js +0 -1
  747. package/dist/realtimekit-ui/p-45f90b95.js +0 -1
  748. package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
  749. package/dist/realtimekit-ui/p-4b638184.entry.js +0 -1
  750. package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
  751. package/dist/realtimekit-ui/p-5892c1e0.entry.js +0 -1
  752. package/dist/realtimekit-ui/p-5b2d97fc.js +0 -1
  753. package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
  754. package/dist/realtimekit-ui/p-639601b7.entry.js +0 -1
  755. package/dist/realtimekit-ui/p-64206b62.entry.js +0 -1
  756. package/dist/realtimekit-ui/p-67ead213.entry.js +0 -1
  757. package/dist/realtimekit-ui/p-685adc5f.entry.js +0 -1
  758. package/dist/realtimekit-ui/p-701cdf1b.entry.js +0 -1
  759. package/dist/realtimekit-ui/p-7a9a226e.entry.js +0 -1
  760. package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
  761. package/dist/realtimekit-ui/p-85b45c3b.entry.js +0 -1
  762. package/dist/realtimekit-ui/p-95fb25d6.entry.js +0 -1
  763. package/dist/realtimekit-ui/p-a031547c.entry.js +0 -1
  764. package/dist/realtimekit-ui/p-a5900df2.js +0 -1
  765. package/dist/realtimekit-ui/p-a680da64.entry.js +0 -1
  766. package/dist/realtimekit-ui/p-a9190330.entry.js +0 -1
  767. package/dist/realtimekit-ui/p-a91a2e10.entry.js +0 -1
  768. package/dist/realtimekit-ui/p-ac6c8ebe.entry.js +0 -1
  769. package/dist/realtimekit-ui/p-b25f7d7b.entry.js +0 -1
  770. package/dist/realtimekit-ui/p-b51e813e.entry.js +0 -1
  771. package/dist/realtimekit-ui/p-be03944b.entry.js +0 -1
  772. package/dist/realtimekit-ui/p-cda276d6.entry.js +0 -1
  773. package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
  774. package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
  775. package/dist/realtimekit-ui/p-ea21ec0c.entry.js +0 -1
  776. package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +0 -1
  777. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
  778. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
  779. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
  780. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
  781. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
@@ -1,14 +1,12 @@
1
- import { g as getRenderingRef, f as forceUpdate } from './index-c1fb98bb.js';
1
+ import { S as StencilCore } from './index-55463a54.js';
2
2
 
3
3
  const FlagsmithFeatureFlags = {
4
4
  PLAY_PARTICIPANT_TILE_VIDEO_ON_PAUSE: 'play_participant_tile_video_on_pause',
5
5
  FEAT_PAGINATED_CHAT: 'feat_paginated_chat',
6
6
  LOG_PLAYING_FAILURES: 'log_playing_failures',
7
- FEAT_CHANNEL_CHAT: 'feat_channel_chat',
8
7
  DISABLE_KICKING: 'disable_kicking',
9
8
  ADMIN_CANTREMOVE_ADMIN: 'admin_cantremove_admin',
10
9
  CANTINVITE_VIEWER: 'cantinvite_viewer',
11
- PINNED_MESSAGES: 'pinned_msgs',
12
10
  };
13
11
  const isBreakoutRoomsEnabled = (meeting) => meeting.connectedMeetings.supportsConnectedMeetings;
14
12
  const disableSettingSinkId = (meeting) => {
@@ -3093,12 +3091,13 @@ function getLivestreamViewerAllowedQualityLevels({ meeting, hlsLevels, }) {
3093
3091
  }
3094
3092
 
3095
3093
  const appendToMap = (map, propName, value) => {
3096
- const items = map.get(propName);
3097
- if (!items) {
3098
- map.set(propName, [value]);
3094
+ let refs = map.get(propName);
3095
+ if (!refs) {
3096
+ refs = [];
3097
+ map.set(propName, refs);
3099
3098
  }
3100
- else if (!items.includes(value)) {
3101
- items.push(value);
3099
+ if (!refs.some((ref) => ref.deref() === value)) {
3100
+ refs.push(new WeakRef(value));
3102
3101
  }
3103
3102
  };
3104
3103
  const debounce = (fn, ms) => {
@@ -3126,33 +3125,54 @@ const debounce = (fn, ms) => {
3126
3125
  const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
3127
3126
  const cleanupElements = debounce((map) => {
3128
3127
  for (let key of map.keys()) {
3129
- map.set(key, map.get(key).filter(isConnected));
3128
+ const refs = map.get(key).filter((ref) => {
3129
+ const elm = ref.deref();
3130
+ return elm && isConnected(elm);
3131
+ });
3132
+ map.set(key, refs);
3130
3133
  }
3131
3134
  }, 2_000);
3135
+ const core = StencilCore;
3136
+ const forceUpdate = core.forceUpdate;
3137
+ const getRenderingRef = core.getRenderingRef;
3132
3138
  const stencilSubscription = () => {
3133
- if (typeof getRenderingRef !== 'function') {
3139
+ if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
3134
3140
  // If we are not in a stencil project, we do nothing.
3135
3141
  // This function is not really exported by @stencil/core.
3136
3142
  return {};
3137
3143
  }
3144
+ const ensureForceUpdate = forceUpdate;
3145
+ const ensureGetRenderingRef = getRenderingRef;
3138
3146
  const elmsToUpdate = new Map();
3139
3147
  return {
3140
3148
  dispose: () => elmsToUpdate.clear(),
3141
3149
  get: (propName) => {
3142
- const elm = getRenderingRef();
3150
+ const elm = ensureGetRenderingRef();
3143
3151
  if (elm) {
3144
3152
  appendToMap(elmsToUpdate, propName, elm);
3145
3153
  }
3146
3154
  },
3147
3155
  set: (propName) => {
3148
- const elements = elmsToUpdate.get(propName);
3149
- if (elements) {
3150
- elmsToUpdate.set(propName, elements.filter(forceUpdate));
3156
+ const refs = elmsToUpdate.get(propName);
3157
+ if (refs) {
3158
+ const nextRefs = refs.filter((ref) => {
3159
+ const elm = ref.deref();
3160
+ if (!elm)
3161
+ return false;
3162
+ return ensureForceUpdate(elm);
3163
+ });
3164
+ elmsToUpdate.set(propName, nextRefs);
3151
3165
  }
3152
3166
  cleanupElements(elmsToUpdate);
3153
3167
  },
3154
3168
  reset: () => {
3155
- elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
3169
+ elmsToUpdate.forEach((refs) => {
3170
+ refs.forEach((ref) => {
3171
+ const elm = ref.deref();
3172
+ if (elm)
3173
+ ensureForceUpdate(elm);
3174
+ });
3175
+ });
3156
3176
  cleanupElements(elmsToUpdate);
3157
3177
  },
3158
3178
  };
@@ -3160,18 +3180,26 @@ const stencilSubscription = () => {
3160
3180
 
3161
3181
  const unwrap = (val) => (typeof val === 'function' ? val() : val);
3162
3182
  const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
3163
- const unwrappedState = unwrap(defaultState);
3164
- let states = new Map(Object.entries(unwrappedState ?? {}));
3183
+ const resolveDefaultState = () => (unwrap(defaultState) ?? {});
3184
+ const initialState = resolveDefaultState();
3185
+ let states = new Map(Object.entries(initialState));
3186
+ const proxyAvailable = typeof Proxy !== 'undefined';
3187
+ const plainState = proxyAvailable ? null : {};
3165
3188
  const handlers = {
3166
3189
  dispose: [],
3167
3190
  get: [],
3168
3191
  set: [],
3169
3192
  reset: [],
3170
3193
  };
3194
+ // Track onChange listeners to enable removeListener functionality
3195
+ const changeListeners = new Map();
3171
3196
  const reset = () => {
3172
3197
  // When resetting the state, the default state may be a function - unwrap it to invoke it.
3173
3198
  // otherwise, the state won't be properly reset
3174
- states = new Map(Object.entries(unwrap(defaultState) ?? {}));
3199
+ states = new Map(Object.entries(resolveDefaultState()));
3200
+ if (!proxyAvailable) {
3201
+ syncPlainStateKeys();
3202
+ }
3175
3203
  handlers.reset.forEach((cb) => cb());
3176
3204
  };
3177
3205
  const dispose = () => {
@@ -3188,12 +3216,14 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
3188
3216
  const oldValue = states.get(propName);
3189
3217
  if (shouldUpdate(value, oldValue, propName)) {
3190
3218
  states.set(propName, value);
3219
+ if (!proxyAvailable) {
3220
+ ensurePlainProperty(propName);
3221
+ }
3191
3222
  handlers.set.forEach((cb) => cb(propName, value, oldValue));
3192
3223
  }
3193
3224
  };
3194
- const state = (typeof Proxy === 'undefined'
3195
- ? {}
3196
- : new Proxy(unwrappedState, {
3225
+ const state = (proxyAvailable
3226
+ ? new Proxy(initialState, {
3197
3227
  get(_, propName) {
3198
3228
  return get(propName);
3199
3229
  },
@@ -3213,7 +3243,11 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
3213
3243
  set(propName, value);
3214
3244
  return true;
3215
3245
  },
3216
- }));
3246
+ })
3247
+ : (() => {
3248
+ syncPlainStateKeys();
3249
+ return plainState;
3250
+ })());
3217
3251
  const on = (eventName, callback) => {
3218
3252
  handlers[eventName].push(callback);
3219
3253
  return () => {
@@ -3221,17 +3255,24 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
3221
3255
  };
3222
3256
  };
3223
3257
  const onChange = (propName, cb) => {
3224
- const unSet = on('set', (key, newValue) => {
3258
+ const setHandler = (key, newValue) => {
3225
3259
  if (key === propName) {
3226
3260
  cb(newValue);
3227
3261
  }
3228
- });
3229
- // We need to unwrap the defaultState because it might be a function.
3230
- // Otherwise we might not be sending the right reset value.
3231
- const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));
3262
+ };
3263
+ const resetHandler = () => {
3264
+ const snapshot = resolveDefaultState();
3265
+ cb(snapshot[propName]);
3266
+ };
3267
+ // Register the handlers
3268
+ const unSet = on('set', setHandler);
3269
+ const unReset = on('reset', resetHandler);
3270
+ // Track the relationship between the user callback and internal handlers
3271
+ changeListeners.set(cb, { setHandler, resetHandler, propName });
3232
3272
  return () => {
3233
3273
  unSet();
3234
3274
  unReset();
3275
+ changeListeners.delete(cb);
3235
3276
  };
3236
3277
  };
3237
3278
  const use = (...subscriptions) => {
@@ -3256,6 +3297,47 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
3256
3297
  const oldValue = states.get(key);
3257
3298
  handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
3258
3299
  };
3300
+ const removeListener = (propName, listener) => {
3301
+ const listenerInfo = changeListeners.get(listener);
3302
+ if (listenerInfo && listenerInfo.propName === propName) {
3303
+ // Remove the specific handlers that were created for this listener
3304
+ removeFromArray(handlers.set, listenerInfo.setHandler);
3305
+ removeFromArray(handlers.reset, listenerInfo.resetHandler);
3306
+ changeListeners.delete(listener);
3307
+ }
3308
+ };
3309
+ function ensurePlainProperty(key) {
3310
+ if (proxyAvailable || !plainState) {
3311
+ return;
3312
+ }
3313
+ if (Object.prototype.hasOwnProperty.call(plainState, key)) {
3314
+ return;
3315
+ }
3316
+ Object.defineProperty(plainState, key, {
3317
+ configurable: true,
3318
+ enumerable: true,
3319
+ get() {
3320
+ return get(key);
3321
+ },
3322
+ set(value) {
3323
+ set(key, value);
3324
+ },
3325
+ });
3326
+ }
3327
+ function syncPlainStateKeys() {
3328
+ if (proxyAvailable || !plainState) {
3329
+ return;
3330
+ }
3331
+ const knownKeys = new Set(states.keys());
3332
+ for (const key of Object.keys(plainState)) {
3333
+ if (!knownKeys.has(key)) {
3334
+ delete plainState[key];
3335
+ }
3336
+ }
3337
+ for (const key of knownKeys) {
3338
+ ensurePlainProperty(key);
3339
+ }
3340
+ }
3259
3341
  return {
3260
3342
  state,
3261
3343
  get,
@@ -3266,6 +3348,7 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
3266
3348
  dispose,
3267
3349
  reset,
3268
3350
  forceUpdate,
3351
+ removeListener,
3269
3352
  };
3270
3353
  };
3271
3354
  const removeFromArray = (array, item) => {
@@ -3592,8 +3675,6 @@ const defaultLanguage = {
3592
3675
  'chat.new': 'New',
3593
3676
  'chat.max_limit_warning': 'Max Character Limit',
3594
3677
  'chat.rate_limit_error': 'Please wait before you can send another message',
3595
- 'chat.new_channel': 'Create new channel',
3596
- 'chat.channel_name': 'Enter channel name',
3597
3678
  'chat.member_name': 'Enter member name',
3598
3679
  'chat.add_members': 'Add members',
3599
3680
  'chat.delete_msg': 'Delete',
@@ -3604,7 +3685,6 @@ const defaultLanguage = {
3604
3685
  'chat.send_file': 'Send a file',
3605
3686
  'chat.send_emoji': 'Send an emoji',
3606
3687
  'chat.update_msg': 'Update message',
3607
- 'chat.channel_members': 'Channel Members',
3608
3688
  'chat.img.loading': 'Loading image',
3609
3689
  'chat.error.img_not_found': 'Image not found',
3610
3690
  'chat.error.empty_results': "Couldn't find a member with the specified name.",
@@ -3616,10 +3696,10 @@ const defaultLanguage = {
3616
3696
  'chat.search_conversations': 'Search conversations',
3617
3697
  'chat.start_conversation': 'Start a conversation..',
3618
3698
  'chat.empty_search': 'No messages found',
3619
- 'chat.empty_channel': 'Send a message to get started',
3699
+ 'chat.empty_chat': 'Send a message to get started',
3620
3700
  'chat.cancel_upload': 'Cancel upload',
3621
3701
  'chat.view_chats': 'View chats',
3622
- 'chat.everyone': 'everyone',
3702
+ 'chat.everyone': 'Everyone',
3623
3703
  'chat.pinned_msgs': 'Pinned messages',
3624
3704
  'chat.toggle_pinned_msgs': 'Toggle pinned messages',
3625
3705
  'date.today': 'Today',
@@ -3790,8 +3870,6 @@ const defaultIconPack = {
3790
3870
  horizontal_dots: '<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM18 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill="currentColor"/></svg>',
3791
3871
  ai_sparkle: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49 48" fill="none"><path fill="#F13E1B" d="m30.023 15.96.07.016a1.362 1.362 0 0 1 .657 2.068c-.163.23-.392.403-.658.497l-3.444 1.118a7.095 7.095 0 0 0-4.495 4.492l-1.12 3.442a1.357 1.357 0 0 1-1.267.907h-.016a1.361 1.361 0 0 1-1.283-.907l-1.12-3.442a7.091 7.091 0 0 0-4.495-4.509l-3.444-1.119a1.36 1.36 0 0 1 0-2.564l3.444-1.118a7.097 7.097 0 0 0 4.427-4.492l1.119-3.442a1.36 1.36 0 0 1 2.566 0l1.12 3.442a7.09 7.09 0 0 0 4.495 4.492l3.444 1.118Zm9.195 16.007-2.755-.894a5.678 5.678 0 0 1-3.596-3.594l-.896-2.753a1.087 1.087 0 0 0-2.053 0l-.895 2.753a5.672 5.672 0 0 1-3.541 3.594l-2.756.894a1.088 1.088 0 0 0 0 2.052l2.756.895a5.675 5.675 0 0 1 3.596 3.607l.896 2.753a1.088 1.088 0 0 0 2.052 0l.896-2.753a5.672 5.672 0 0 1 3.596-3.594l2.756-.894a1.088 1.088 0 0 0 0-2.052l-.056-.014Z"/><path fill="#2160FD" d="m39.218 31.967-2.755-.894a5.677 5.677 0 0 1-3.596-3.594l-.896-2.753a1.087 1.087 0 0 0-2.053 0l-.895 2.753a5.672 5.672 0 0 1-3.541 3.594l-2.756.894a1.088 1.088 0 0 0 0 2.052l2.756.895a5.675 5.675 0 0 1 3.596 3.607l.896 2.753a1.088 1.088 0 0 0 2.052 0l.896-2.753a5.672 5.672 0 0 1 3.596-3.594l2.756-.894a1.088 1.088 0 0 0 0-2.052l-.056-.014Z"/></svg>',
3792
3872
  meeting_ai: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" fill="none"><path fill="#F13E1B" d="M9.111 12.888a4.98 4.98 0 0 0-1.075-.8l-.04.048a4.651 4.651 0 0 0-.903-.424l-2.446-.8a.963.963 0 0 1-.467-.356.953.953 0 0 1 0-1.116.955.955 0 0 1 .467-.352l2.446-.8A5.088 5.088 0 0 0 9.04 7.06a5.048 5.048 0 0 0 1.2-1.904l.02-.064.799-2.444A.97.97 0 0 1 11.969 2a.97.97 0 0 1 .91.648l.8 2.444a5.147 5.147 0 0 0 1.219 1.976 5.042 5.042 0 0 0 1.974 1.2l2.45.8h.048c.188.067.351.19.468.352.115.164.176.36.175.56.001.2-.06.396-.175.56a1 1 0 0 1-.468.352l-2.446.8a5.067 5.067 0 0 0-1.978 1.2 5.096 5.096 0 0 0-1.199 1.976l-.8 2.448-.023.06a1.02 1.02 0 0 1-.184.284.967.967 0 0 1-.703.3 1 1 0 0 1-.927-.644l-.8-2.448a5.11 5.11 0 0 0-.799-1.508 5.16 5.16 0 0 0-.4-.472Zm10.434 5.396a.492.492 0 0 1 .176-.236.473.473 0 0 1 .1-.048.466.466 0 0 1 .168-.04c.1 0 .197.031.28.088l.091.072a.456.456 0 0 1 .096.164l.4 1.224c.124.372.332.71.607.988.278.276.616.484.987.608l1.223.4h.028l.084.04a.536.536 0 0 1 .148.136c.056.082.087.18.088.28a.484.484 0 0 1-.32.456l-1.227.4a2.528 2.528 0 0 0-1.595 1.6l-.399 1.224a.46.46 0 0 1-.176.232.464.464 0 0 1-.28.088.475.475 0 0 1-.455-.32l-.4-1.224a2.507 2.507 0 0 0-.611-.992 2.487 2.487 0 0 0-.987-.612l-1.223-.4a.48.48 0 0 1 0-.908l1.223-.4c.367-.128.7-.337.975-.612.137-.142.257-.3.36-.468.1-.162.18-.335.24-.516l.399-1.224Z"/><path fill="currentColor" d="M19.545 18.284a.492.492 0 0 1 .176-.236.469.469 0 0 1 .1-.048.466.466 0 0 1 .168-.04c.1 0 .197.031.28.088l.091.072a.456.456 0 0 1 .096.164l.4 1.224c.124.372.332.71.607.988.279.276.616.484.988.608l1.222.4h.028l.084.04a.534.534 0 0 1 .148.136c.057.082.087.18.088.28a.484.484 0 0 1-.32.456l-1.227.4a2.528 2.528 0 0 0-1.595 1.6l-.399 1.224a.46.46 0 0 1-.175.232.464.464 0 0 1-.28.088.475.475 0 0 1-.456-.32l-.4-1.224a2.509 2.509 0 0 0-.61-.992 2.487 2.487 0 0 0-.988-.612l-1.223-.4a.48.48 0 0 1 0-.908l1.223-.4c.367-.128.7-.337.975-.612a2.7 2.7 0 0 0 .36-.468c.1-.162.18-.335.24-.516l.4-1.224Z"/></svg>',
3793
- create_channel: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="currentColor" d="M2 14.75A3.25 3.25 0 0 0 5.25 18H6v2.75a1.25 1.25 0 0 0 1.999 1l2.125-1.59.396-1.583c.071-.286.177-.56.312-.82L7.5 20.252 7.499 16.5H5.25a1.75 1.75 0 0 1-1.75-1.75v-8.5c0-.966.784-1.75 1.75-1.75h13.5c.966 0 1.75.784 1.75 1.75v3.845a3.27 3.27 0 0 1 1.5.83V6.25A3.25 3.25 0 0 0 18.75 3H5.25A3.25 3.25 0 0 0 2 6.25v8.5Z"/><path fill="currentColor" d="m18.098 11.67-5.902 5.902a2.684 2.684 0 0 0-.707 1.247l-.458 1.831a1.087 1.087 0 0 0 1.319 1.318l1.83-.457a2.685 2.685 0 0 0 1.248-.707l5.902-5.902a2.285 2.285 0 1 0-3.232-3.232Z"/></svg>',
3794
- create_channel_illustration: '<svg width="503" height="362" viewBox="0 0 503 362" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M93.3477 192.893C93.3477 190.684 95.1385 188.893 97.3477 188.893H476C478.209 188.893 480 190.684 480 192.893V311.824C480 314.033 478.209 315.824 476 315.824H469.354C467.145 315.824 465.354 317.615 465.354 319.824V339.364C465.354 342.928 461.045 344.712 458.525 342.193L433.328 316.996C432.578 316.245 431.561 315.824 430.5 315.824H97.3477C95.1385 315.824 93.3477 314.033 93.3477 311.824V192.893Z" fill="#282828"/> <path d="M306.606 230.9H136.121C134.648 230.9 133.453 232.095 133.453 233.568C133.453 235.041 134.648 236.236 136.121 236.236H306.606C308.079 236.236 309.274 235.041 309.274 233.568C309.274 232.095 308.079 230.9 306.606 230.9Z" fill="#2160FD"/> <path d="M437.226 249.358H136.121C134.648 249.358 133.453 250.553 133.453 252.026C133.453 253.499 134.648 254.694 136.121 254.694H437.226C438.7 254.694 439.894 253.499 439.894 252.026C439.894 250.553 438.7 249.358 437.226 249.358Z" fill="#5C5C5C"/> <path d="M436.926 267.816H136.121C134.648 267.816 133.453 269.011 133.453 270.484C133.453 271.957 134.648 273.152 136.121 273.152H436.926C438.4 273.152 439.594 271.957 439.594 270.484C439.594 269.011 438.399 267.816 436.926 267.816Z" fill="#5C5C5C"/> <path d="M411.652 23C411.652 20.7909 409.861 19 407.652 19H29C26.7909 19 25 20.7909 25 23V141.931C25 144.14 26.7909 145.931 29 145.931H35.646C37.8551 145.931 39.646 147.722 39.646 149.931V169.472C39.646 173.036 43.9546 174.82 46.4745 172.3L71.6714 147.103C72.4216 146.352 73.439 145.931 74.4999 145.931H407.652C409.861 145.931 411.652 144.14 411.652 141.931V23Z" fill="#282828"/> <path d="M241.188 61.9839H70.703C69.2296 61.9839 68.0352 63.1783 68.0352 64.6517C68.0352 66.1252 69.2296 67.3196 70.703 67.3196H241.188C242.662 67.3196 243.856 66.1252 243.856 64.6517C243.856 63.1783 242.662 61.9839 241.188 61.9839Z" fill="#2160FD"/> <path d="M371.808 80.4419H70.703C69.2296 80.4419 68.0352 81.6363 68.0352 83.1098C68.0352 84.5832 69.2296 85.7776 70.703 85.7776H371.808C373.282 85.7776 374.476 84.5832 374.476 83.1098C374.476 81.6363 373.282 80.4419 371.808 80.4419Z" fill="#5C5C5C"/> <path d="M371.508 98.8999H70.703C69.2296 98.8999 68.0352 100.094 68.0352 101.568C68.0352 103.041 69.2296 104.236 70.703 104.236H371.508C372.982 104.236 374.176 103.041 374.176 101.568C374.176 100.094 372.982 98.8999 371.508 98.8999Z" fill="#5C5C5C"/> </svg>',
3795
3873
  captionsOn: '<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 4A3.25 3.25 0 0 1 22 7.25v9.505a3.25 3.25 0 0 1-3.25 3.25H5.25A3.25 3.25 0 0 1 2 16.755V7.25a3.25 3.25 0 0 1 3.066-3.245L5.25 4h13.5Zm0 1.5H5.25l-.144.006A1.75 1.75 0 0 0 3.5 7.25v9.505c0 .966.784 1.75 1.75 1.75h13.5a1.75 1.75 0 0 0 1.75-1.75V7.25a1.75 1.75 0 0 0-1.75-1.75ZM5.5 12c0-3.146 2.713-4.775 5.122-3.401A.75.75 0 0 1 9.878 9.9C8.481 9.104 7 9.994 7 12c0 2.005 1.484 2.896 2.88 2.103a.75.75 0 0 1 .74 1.304C8.216 16.775 5.5 15.143 5.5 12Zm7.5 0c0-3.146 2.713-4.775 5.122-3.401a.75.75 0 0 1-.744 1.302C15.981 9.104 14.5 9.994 14.5 12c0 2.005 1.484 2.896 2.88 2.103a.75.75 0 0 1 .74 1.304C15.716 16.775 13 15.143 13 12Z" fill="currentColor"/></svg>',
3796
3874
  captionsOff: '<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.28 2.22a.75.75 0 0 0-1.06 1.06l1.25 1.25A3.247 3.247 0 0 0 2 7.25v9.505a3.25 3.25 0 0 0 3.25 3.25h13.5c.063 0 .126-.002.188-.006l1.781 1.781a.75.75 0 0 0 1.061-1.06L3.28 2.22Zm14.164 16.284H5.25a1.75 1.75 0 0 1-1.75-1.75V7.25c0-.727.443-1.35 1.074-1.615l2.828 2.828C6.292 9.043 5.5 10.3 5.5 12c0 3.143 2.715 4.775 5.12 3.406a.75.75 0 0 0-.74-1.303C8.483 14.896 7 14.005 7 12c0-1.37.69-2.22 1.573-2.366l8.87 8.87Zm2.986-1.256c.045-.157.07-.322.07-.494V7.25a1.75 1.75 0 0 0-1.75-1.75H8.682L7.182 4H18.75A3.25 3.25 0 0 1 22 7.25v9.505c0 .593-.159 1.148-.436 1.627l-1.134-1.134Zm-5.877-5.877-1.197-1.197c.813-1.888 2.882-2.65 4.766-1.575a.75.75 0 0 1-.744 1.302c-1.241-.708-2.549-.085-2.825 1.47Z" fill="currentColor"/></svg>',
3797
3875
  play: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8 5v14l11-7z" /></svg>',
@@ -3845,6 +3923,7 @@ const chatUnreadTimestamps = {};
3845
3923
  */
3846
3924
  const defaultOverrides = {
3847
3925
  disableEmojiPicker: false,
3926
+ disablePrivateChat: false,
3848
3927
  };
3849
3928
 
3850
3929
  const getInitialStates = (peerId) => ({
@@ -3966,4 +4045,4 @@ function removeElement(propName, element, targetStore = uiStore) {
3966
4045
  }
3967
4046
  }
3968
4047
 
3969
- export { cloneTypedArray as A, BreakoutRoomsManager as B, isArguments$1 as C, isFunction as D, initCloneObject as E, isLiveStreamHost as F, disableSettingSinkId as G, chatUnreadTimestamps as H, FlagsmithFeatureFlags as I, gracefulStorage$1 as J, appendElement as K, removeElement as L, root$1 as M, canToggleBreakout as N, isLiveStreamViewer as O, showLivestream as P, clone as Q, resetRoomCount as R, Stack as S, participantIdentifier as T, PlayerState as U, getLivestreamViewerAllowedQualityLevels as V, getPreference as W, setPreference as X, getAllConnectedParticipants as Y, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultOverrides as f, getInitialStates as g, defaultLanguage as h, useLanguage as i, defineProperty$1 as j, isObject as k, isArrayLike as l, isIndex as m, eq as n, isObjectLike as o, baseGetTag as p, getPrototype$1 as q, baseAssignValue as r, copyObject as s, keysIn as t, uiStore as u, isArray$1 as v, isBuffer$1 as w, isTypedArray$1 as x, copyArray as y, cloneBuffer as z };
4048
+ export { cloneTypedArray as A, BreakoutRoomsManager as B, isArguments$1 as C, isFunction as D, initCloneObject as E, isLiveStreamHost as F, disableSettingSinkId as G, chatUnreadTimestamps as H, gracefulStorage$1 as I, appendElement as J, removeElement as K, root$1 as L, canToggleBreakout as M, isLiveStreamViewer as N, showLivestream as O, clone as P, resetRoomCount as Q, participantIdentifier as R, Stack as S, PlayerState as T, getLivestreamViewerAllowedQualityLevels as U, getPreference as V, setPreference as W, getAllConnectedParticipants as X, FlagsmithFeatureFlags as Y, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultOverrides as f, getInitialStates as g, defaultLanguage as h, useLanguage as i, defineProperty$1 as j, isObject as k, isArrayLike as l, isIndex as m, eq as n, isObjectLike as o, baseGetTag as p, getPrototype$1 as q, baseAssignValue as r, copyObject as s, keysIn as t, uiStore as u, isArray$1 as v, isBuffer$1 as w, isTypedArray$1 as x, copyArray as y, cloneBuffer as z };
@@ -1 +1 @@
1
- import{c as t}from"./p-25c4d10f.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-25c4d10f.js";export{p as provideRtkDesignSystem}from"./p-cd0c5440.js";import{g as s}from"./p-d3e520e5.js";export{e as extendConfig,g as generateConfig}from"./p-d3e520e5.js";export{R as RtkNotificationsAudio}from"./p-afa7211c.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-a5900df2.js";import"./p-0ee570cd.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";s.length>0&&(a=`.${s.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{o=`${t}[${e[0]}=${e[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[o];return void 0===n&&(r[o]={},n=r[o]),new m(n,this.config,o)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
1
+ import{c as t}from"./p-8fc79c56.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-8fc79c56.js";export{p as provideRtkDesignSystem}from"./p-f6fdb3c3.js";import{g as s}from"./p-ddcb6b8b.js";export{e as extendConfig,g as generateConfig}from"./p-ddcb6b8b.js";export{R as RtkNotificationsAudio}from"./p-2ff77d78.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-b5e5e206.js";import"./p-a599f720.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";s.length>0&&(a=`.${s.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{o=`${t}[${e[0]}=${e[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[o];return void 0===n&&(r[o]={},n=r[o]),new m(n,this.config,o)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
@@ -0,0 +1 @@
1
+ import{r as t,d as r,h as i,a}from"./p-a599f720.js";import{c as s,e,i as o}from"./p-8fc79c56.js";import{S as n}from"./p-315cd380.js";import{d as p}from"./p-d6126ff7.js";var c=function(t,r,i,a){var s,e=arguments.length,o=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(e<3?s(o):e>3?s(r,i,o):s(r,i))||o);return e>3&&o&&Object.defineProperty(r,i,o),o};const h=class{constructor(a){t(this,a),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=s(),this.iconPack=e,this.defaultParticipantsTabId="stage-list",this.t=o(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=p((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,a=0,s=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&a++,"OFF_STAGE"===t.stageStatus&&s++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,s++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&s++})),"ON_STAGE"===this.meeting.self.stageStatus&&a++,"OFF_STAGE"===this.meeting.self.stageStatus&&s++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,s++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&s++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:i("span",null,this.t("requests")," ",i("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:i("span",null,this.t("participants")," ",i("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},a))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:i("span",null,this.t("viewers")," ",i("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,i;return null===(i=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===i?void 0:i.stageEnabled},this.shouldShowRequestsTab=()=>{var t;let r=!1;return r="LIVESTREAM"!==this.meeting.meta.viewType&&(null===(t=this.meeting.self.config.waitingRoom)||void 0===t?void 0:t.isEnabled)&&this.meeting.self.permissions.acceptWaitingRequests,this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests||r},this.viewSection=t=>{this.currentParticipantsTabId=t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.participants.joined.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantsUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.stage.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("stageStatusUpdate",this.updateParticipantCountsInTabs))}meetingChanged(t){t&&(t.participants.joined.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.joined.on("participantsUpdate",this.updateParticipantCountsInTabs),t.participants.joined.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.joined.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.stage.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("stageStatusUpdate",this.updateParticipantCountsInTabs),this.updateParticipantCountsInTabs())}currentParticipantsTabIdChanged(){this.stateUpdate.emit({participantsTabId:this.currentParticipantsTabId}),this.updateParticipantCountsInTabs()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t};return i(a,null,i("div",{class:"search",part:"search"},i("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),i("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),i("slot",{name:"start"}),i("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},i("rtk-sidebar-ui",{tabs:this.tabs,currentTab:this.currentParticipantsTabId,view:"full-screen",hideHeader:!0,hideCloseAction:!0,style:{position:"relative"},onTabChange:t=>{this.viewSection(t.detail),t.stopPropagation()}},(!this.currentParticipantsTabId||"stage-list"===this.currentParticipantsTabId)&&i("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&i("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&i("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),i("rtk-participants-stage-queue",Object.assign({},t)),i("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&i("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),i("slot",{name:"end"}))}static get watchers(){return{meeting:["meetingChanged"],currentParticipantsTabId:["currentParticipantsTabIdChanged"]}}};c([n()],h.prototype,"meeting",void 0),c([n()],h.prototype,"states",void 0),c([n()],h.prototype,"config",void 0),c([n()],h.prototype,"iconPack",void 0),c([n()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.ctr.virtualised{overflow-y:hidden}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}:host([size='md']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}:host([size='sm']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}.no-pending-requests{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}";export{h as rtk_participants}
@@ -0,0 +1 @@
1
+ import{r as n,d as t,e,h as a,a as i,g as r}from"./p-a599f720.js";import{e as o,i as s}from"./p-8fc79c56.js";import{i as c,r as d,e as l,a as p}from"./p-02f19345.js";import{S as h}from"./p-315cd380.js";var f=function(n,t,e,a){var i,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,a);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(o=(r<3?i(o):r>3?i(t,e,o):i(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o};const g=class{constructor(e){n(this,e),this.stateUpdate=t(this,"rtkStateUpdate",7),this.play=t(this,"screensharePlay",7),this.fullScreenListener=()=>{this.isFullScreen=c()},this.participantScreenshareUpdate=n=>{n.id===this.participant.id&&this.screenShareListener(n)},this.hideFullScreenButton=!1,this.nameTagPosition="bottom-left",this.variant="solid",this.iconPack=o,this.t=s(),this.videoExpanded=!1,this.screenShareEnabled=!1,this.isFullScreen=!1,this.toggleFullScreen=()=>{this.isFullScreen?(l(),this.isFullScreen=!1):(d(this.host),this.isFullScreen=!0)}}connectedCallback(){null===window||void 0===window||window.addEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.addEventListener("webkitfullscreenchange",this.fullScreenListener)}componentDidLoad(){this.participantChanged(this.participant)}disconnectedCallback(){if(!this.meeting)return;const{self:n}=this.meeting;this.participant.id===n.id&&this.screenShareListener?this.participant.removeListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.removeListener("screenShareUpdate",this.participantScreenshareUpdate),null===window||void 0===window||window.removeEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.removeEventListener("webkitfullscreenchange",this.fullScreenListener)}participantChanged(n){if(null!=n&&this.meeting){const{self:t}=this.meeting;this.screenShareListener=({screenShareEnabled:n,screenShareTracks:t})=>{const a=n&&null!=t.video;if(e((()=>{this.screenShareEnabled=a})),a){const n=new MediaStream;n.addTrack(t.video),null!=this.videoEl&&(this.videoEl.srcObject=n,this.videoEl.play())}else null!=this.videoEl&&(this.videoEl.srcObject=void 0)},this.screenShareListener(n),n.id===t.id?n.addListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.addListener("screenShareUpdate",this.participantScreenshareUpdate)}}render(){var n,t;const e=(null===(n=this.participant)||void 0===n?void 0:n.id)===(null===(t=this.meeting)||void 0===t?void 0:t.self.id),r=this.t(this.isFullScreen?"full_screen.exit":"full_screen"),o=this.isFullScreen?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize;return a(i,{key:"9ee4407d83a5b437f91813eedec6fd0836620a8c",class:{isSelf:e}},a("div",{key:"video-container",id:"video-container",class:{expand:this.videoExpanded}},a("video",{key:"bfbee68ee2700aba43d1aae85a8456c40dc55244",ref:n=>this.videoEl=n,class:{visible:this.screenShareEnabled,"fit-in-container":this.participant.supportsRemoteControl},playsInline:!0,onPlay:()=>{this.play.emit({screenshareParticipant:this.participant,participant:this.meeting.self})},autoPlay:!0,muted:!0,id:`screen-share-video-${this.participant.id}`})),a("div",{id:"controls",key:"controls"},!this.hideFullScreenButton&&!e&&p()&&a("rtk-tooltip",{key:"25d8a59dae9afe875761f4ecaaae6d8f0c12792c",label:r},a("rtk-button",{key:"9b294b9b0a987c8e54f6bca1ab3edc3e1a5238f9",id:"full-screen-btn",kind:"icon",onClick:this.toggleFullScreen,title:r},a("rtk-icon",{key:"d768caec415a0b75f42d39cfb15f3821264046da",icon:o,"aria-hidden":!0,tabIndex:-1})))),e&&a("div",{id:"self-message",key:"self-message"},a("h3",{key:"7f4802409d87bb07dedac257e75f3e1d23ca4757"},this.t("screenshare.shared")),a("div",{key:"acd80c0b62e14b88c1a0c717814dcdc49c1c5a40",class:"actions"},null!=this.meeting&&a("rtk-button",{key:"721fc83372b3a9752b06fbffa61072f88aa9e1b0",variant:"danger",onClick:()=>{this.meeting.self.disableScreenShare()}},a("rtk-icon",{key:"7aa2e4a597a1411e000209c6db95babf9c7f0366",icon:this.iconPack.share_screen_stop,slot:"start"}),this.t("screenshare.stop")),a("rtk-button",{key:"4243b29230fc663db287f7db50dd4b5a8345a9bd",variant:"secondary",id:"expand-btn",onClick:()=>{this.videoExpanded=!this.videoExpanded}},a("rtk-icon",{key:"09c4a34f83662e5d1749e1dfd449d25da92c9976",icon:this.videoExpanded?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,slot:"start"}),this.t(this.videoExpanded?"screenshare.min_preview":"screenshare.max_preview")))),a("slot",{key:"a2046aecd50bc6fc0b8fb94a781bdd25c1d491ea"}))}get host(){return r(this)}static get watchers(){return{participant:["participantChanged"]}}};f([h()],g.prototype,"meeting",void 0),f([h()],g.prototype,"iconPack",void 0),f([h()],g.prototype,"t",void 0),g.style=":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n\n:host {\n height: 100%;\n width: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-lg, 12px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));\n container-type: inline-size;\n container-name: screentile;\n}\n\n::slotted(rtk-name-tag) {\n position: absolute;\n left: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n opacity: 0.8;\n}\n\n#video-container {\n position: absolute;\n display: block;\n height: 100%;\n width: 100%;\n}\n\n#video-container .fit-in-container {\n -o-object-fit: fill;\n object-fit: fill;\n}\n\nvideo {\n height: 100%;\n width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n:host([variant='gradient']) ::slotted(rtk-audio-visualizer) {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n right: var(--rtk-space-2, 8px);\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n padding: var(--rtk-space-2, 8px);\n}\n\n:host([variant='gradient']) ::slotted(rtk-name-tag) {\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n text-align: center;\n background-color: transparent;\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n --tw-gradient-from: rgb(var(--rtk-colors-background-1000, 8 8 8));\n --tw-gradient-to: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n --tw-gradient-to: transparent;\n}\n\n:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer) {\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n}\n\nvideo.visible {\n animation: video-fadein 0.4s ease;\n}\n\n#controls {\n display: none;\n position: absolute;\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n align-items: center;\n justify-content: flex-end;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host(:hover) #controls, \n:host(:active) #controls, \n:host(:focus-visible) #controls {\n display: flex;\n}\n\n#full-screen-btn {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n}\n\n/** For self view */\n\nh3 {\n margin-top: var(--rtk-space-10, 40px);\n margin-bottom: var(--rtk-space-6, 24px);\n text-align: center;\n font-size: 20px;\n font-weight: 500;\n}\n\n:host([size='sm']) h3 {\n font-size: 16px;\n}\n\n#self-message {\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n}\n\n:host(.isSelf) #self-view {\n flex: 1 1 0%;\n}\n\n:host(.isSelf) #video-container {\n position: static;\n aspect-ratio: auto;\n height: auto;\n width: 50%;\n max-width: var(--rtk-space-96, 384px);\n border-radius: var(--rtk-border-radius-md, 8px);\n transition: 0.6s ease;\n}\n\n:host(.isSelf) #video-container.expand {\n width: 60%;\n max-width: 100%;\n}\n\n.actions {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host([size='sm'].isSelf) #video-container,\n:host([size='md'].isSelf) #video-container,\n:host([size='sm'].isSelf) #expand-btn,\n:host([size='md'].isSelf) #expand-btn {\n /** Hide video, fullscreen buttons in sm and md breakpoints */\n display: none;\n}\n\n/** Remote control */\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.remote-control {\n z-index: 10;\n height: 100%;\n max-height: 100%;\n flex: 0 1 auto;\n}\n\n#remote-control-self {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n left: 50%;\n z-index: 10;\n width: -moz-max-content;\n width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n display: flex;\n height: var(--rtk-space-8, 32px);\n align-items: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transform: translateX(-50%);\n}\n\n#remote-control-self p {\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n padding-top: var(--rtk-space-2, 8px);\n padding-bottom: var(--rtk-space-2, 8px);\n}\n\n#remote-control-self rtk-button {\n height: 100%;\n border-radius: var(--rtk-border-radius-none, 0);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));\n font-size: 12px;\n}\n\n:host([size='sm']) #remote-control-self {\n height: auto;\n flex-direction: column;\n}\n\n:host([size='sm']) #remote-control-self rtk-button {\n width: 100%;\n padding-top: var(--rtk-space-1, 4px);\n padding-bottom: var(--rtk-space-1, 4px);\n}\n\n/** Name tag positions */\n\n:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag) {\n left: auto;\n right: var(--rtk-space-3, 12px);\n}\n\n:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n}\n\n:host([name-tag-position='top-left']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n bottom: auto;\n}\n\n:host([name-tag-position='top-right']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n left: auto;\n bottom: auto;\n}\n\n:host([name-tag-position='top-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n bottom: auto;\n top: var(--rtk-space-3, 12px);\n}\n\n/** Keyframes */\n\n@keyframes video-fadein {\n 0% {\n opacity: 0;\n transform: scale(1.4) translateY(20px);\n }\n\n 100% {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n\n::slotted(rtk-network-indicator) {\n position: absolute;\n right: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n}\n\n@media only screen and (max-height: 480px) and (orientation: landscape) {\n :host([size='sm'][variant='solid']) ::slotted(rtk-name-tag), \n :host([size='sm'][variant='solid']) rtk-name-tag {\n left: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n border-radius: var(--rtk-border-radius-none, 0);\n transform-origin: 0% 110%;\n transform: scale(0.6);\n }\n}\n\n@container screentile (max-width: 400px) {\n ::slotted(rtk-name-tag) {\n transform-origin: 0 130%;\n transform: scale(0.7);\n }\n}\n";export{g as rtk_screenshare_view}
@@ -0,0 +1 @@
1
+ import{r as t,d as i,h as s,a as o}from"./p-a599f720.js";import{e,i as a,M as r}from"./p-8fc79c56.js";import{S as n}from"./p-315cd380.js";var l=function(t,i,s,o){var e,a=arguments.length,r=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,o);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(a<3?e(r):a>3?e(i,s,r):e(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=a(),this.canToggle=!1,this.permissionsUpdateListener=()=>{this.canToggle=r(this.meeting)},this.breakoutRoomToggle=()=>{var t,i;this.stateUpdate.emit({activeBreakoutRoomsManager:{active:!(null===(i=null===(t=this.states)||void 0===t?void 0:t.activeBreakoutRoomsManager)||void 0===i?void 0:i.active),mode:this.meeting.connectedMeetings.isActive?"view":"create"}})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,s;null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s||s.off("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){t&&(this.canToggle=r(t),t.self.permissions.on("permissionsUpdate",this.permissionsUpdateListener))}render(){return this.meeting?this.canToggle?s(o,{title:this.t("breakout_rooms")},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.breakoutRoomToggle,icon:this.iconPack.breakout_rooms,label:this.t("breakout_rooms"),variant:this.variant})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};l([n()],c.prototype,"meeting",void 0),l([n()],c.prototype,"states",void 0),l([n()],c.prototype,"iconPack",void 0),l([n()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_breakout_rooms_toggle}
@@ -1 +1 @@
1
- import{r as t,w as s,h as i}from"./p-0ee570cd.js";import{e as r}from"./p-25c4d10f.js";import{S as e}from"./p-9b550ec4.js";import{d as h}from"./p-45f90b95.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"17ccb3852a89ddb77e5799413f8ee0ef0ac7c132",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"044af22a10ae312a46d90f29dc9a793d86540fb8",class:"scroller"},i("div",{key:"15a2b213883f210a44081c05c317f9da7a58380c",style:{height:`${this.totalHeight}px`}}),i("div",{key:"918071c6d3aed045814c1c2b3908572edae480ac",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"19b2f45794fa73f44d54b9b91ef1cab0df6c4aae",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"1a05d8ec0a4a11812afef413226c472d797e7ebe",class:"loader"},i("rtk-spinner",{key:"29f275642f8f8be5d9cbe12ff0eeedba48e1b4c1",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:["messagesUpdated"]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
1
+ import{r as t,e as s,h as i}from"./p-a599f720.js";import{e as r}from"./p-8fc79c56.js";import{S as e}from"./p-315cd380.js";import{d as h}from"./p-d6126ff7.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"9c8a4073886acf540a8beeea0ac31f865231f771",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"c64abddfc09ec7c88305b732df889f9de0597b53",class:"scroller"},i("div",{key:"c3e94f33890509b22f2b89022a76865f6776b217",style:{height:`${this.totalHeight}px`}}),i("div",{key:"f8c95faa0af4b1f31465a113707f0e4f753dadad",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"02d045f8c54072388c3c7df52ff4c92f2438a545",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"7ba90240987e1ecfb553d69bd7465cb20bb86274",class:"loader"},i("rtk-spinner",{key:"2fa19c46da125e4c5280625aefdf555f09ce2faa",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:["messagesUpdated"]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}