@cloudflare/realtimekit-ui 2.2.0-staging.3 → 2.2.0-staging.5

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 (670) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-BA97TnvX.js → TextMessage-C4d86cID.js} +1 -1
  3. package/dist/cjs/{chat-NY588mAE.js → chat-_Z7QVSxx.js} +1 -1
  4. package/dist/cjs/{config-Chzt-h7l.js → config-C9cIVa2D.js} +5 -11
  5. package/dist/cjs/{debounce-CoFZKdWb.js → debounce-BaLnYFmQ.js} +1 -1
  6. package/dist/cjs/{index-BeKaBV5F.js → index-CSL0ebii.js} +1 -1
  7. package/dist/cjs/index.cjs.js +18 -10
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/{ui-kit-metadata-zBJ8NnVE.js → merge-B4v4sEV3.js} +1 -290
  10. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  11. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-audio-visualizer_3.cjs.entry.js +5 -6
  17. package/dist/cjs/rtk-avatar_26.cjs.entry.js +13 -12
  18. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  29. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-debugger.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-file-message_3.cjs.entry.js +6 -6
  41. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  54. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +4 -5
  55. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-notification.cjs.entry.js +8 -6
  61. package/dist/cjs/rtk-notifications.cjs.entry.js +195 -205
  62. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participant_2.cjs.entry.js +5 -5
  65. package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -4
  66. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
  68. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  69. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +347 -34
  78. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  80. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  86. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  89. package/dist/cjs/rtk-switch.cjs.entry.js +3 -3
  90. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  91. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  92. package/dist/cjs/rtk-ui-provider.cjs.entry.js +6 -5
  93. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  94. package/dist/cjs/ui-kit-metadata-BjBLJPVs.js +291 -0
  95. package/dist/cjs/{ui-store-DSyXGfDZ.js → ui-store-XQk2zaMR.js} +225 -8
  96. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  97. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  98. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  99. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  100. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  101. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  102. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  103. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  104. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  105. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
  106. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
  107. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  108. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  109. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  110. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  111. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  112. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  113. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  114. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  115. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  116. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  117. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  118. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
  119. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  120. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  121. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  122. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  123. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  124. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  125. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  126. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  127. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  128. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  129. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  130. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  131. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  132. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  133. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  134. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  135. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  136. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  137. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  138. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  139. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  140. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  141. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  142. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  143. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  144. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  145. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  146. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  147. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  148. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  149. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  150. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  151. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  152. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  153. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  154. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  155. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  156. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  157. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  158. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  159. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  160. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  161. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  162. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  163. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  164. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  165. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  166. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  167. package/dist/collection/components/rtk-notification/rtk-notification.js +5 -3
  168. package/dist/collection/components/rtk-notifications/rtk-notifications.js +194 -166
  169. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  170. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  171. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  172. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  173. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
  174. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
  175. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  176. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  177. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  178. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  179. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  180. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  181. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  182. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  183. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
  184. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  185. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  186. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  187. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  188. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  189. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  190. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  191. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  192. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  193. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  194. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  195. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +210 -0
  196. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +371 -37
  197. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  198. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  199. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
  200. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  201. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  202. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  203. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  204. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  205. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  206. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  207. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
  208. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  209. package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
  210. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  211. package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
  212. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  213. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
  214. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  215. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  216. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  217. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  218. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  219. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  220. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  221. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
  222. package/dist/collection/lib/default-ui-config.js +2 -8
  223. package/dist/collection/lib/lang/default-language.js +6 -0
  224. package/dist/collection/lib/notification.js +56 -2
  225. package/dist/collection/types/ui-config/config.js +101 -13
  226. package/dist/collection/utils/config.js +3 -8
  227. package/dist/collection/utils/notification.js +12 -3
  228. package/dist/collection/utils/ui-kit-metadata.js +1 -1
  229. package/dist/components/index.js +1 -1
  230. package/dist/components/{p-DC-3Hg9I.js → p-0DTiM_we.js} +1 -1
  231. package/dist/components/{p-kGPSVdob.js → p-1C_TdKq0.js} +1 -1
  232. package/dist/components/{p-CHSH0L_g.js → p-1J7p9yTO.js} +1 -1
  233. package/dist/components/{p-CGVMdadq.js → p-453sV-Ir.js} +1 -1
  234. package/dist/components/{p-0I1N5xHK.js → p-6A_cBfi7.js} +1 -1
  235. package/dist/components/{p-GMH-Dp75.js → p-B-L_tmky.js} +1 -1
  236. package/dist/components/{p-Zkjzr8ZL.js → p-B5e4-Gnb.js} +1 -1
  237. package/dist/components/{p-CugPCiPF.js → p-B7ZjIFa-.js} +1 -1
  238. package/dist/components/{p-xLck_VlO.js → p-B8xh8FL-.js} +1 -1
  239. package/dist/components/{p-BNjHUNwU.js → p-BDmVHB8l.js} +1 -1
  240. package/dist/components/{p-Bc2jtNZw.js → p-BJ7Hcvk1.js} +1 -1
  241. package/dist/components/p-BLyVHBPm.js +1 -0
  242. package/dist/components/{p-D9cHynev.js → p-BQ-x6_xE.js} +1 -1
  243. package/dist/components/{p-DAGCKEFc.js → p-BY_hQMNu.js} +1 -1
  244. package/dist/components/{p-BeWjGx1n.js → p-BaCQqa-Q.js} +1 -1
  245. package/dist/components/p-BbVYO_6g.js +1 -0
  246. package/dist/components/{p-CkNlX5-Y.js → p-BbdR8jiw.js} +1 -1
  247. package/dist/components/{p-GtIz3u0L.js → p-BeeuQPMZ.js} +1 -1
  248. package/dist/components/{p-BugzZ4hY.js → p-Bhp9Zffa.js} +1 -1
  249. package/dist/components/{p-Dc5xkFI9.js → p-BkWaCvJV.js} +1 -1
  250. package/dist/components/{p-Ds5j-VXZ.js → p-BmjopjI3.js} +1 -1
  251. package/dist/components/{p--F3BGV0E.js → p-Bo1ku_2a.js} +1 -1
  252. package/dist/components/{p-uxGiMP6W.js → p-BowkkEiR.js} +1 -1
  253. package/dist/components/p-BtMpJ0mM.js +1 -0
  254. package/dist/components/{p-DuRlksIi.js → p-BwnnHi0H.js} +1 -1
  255. package/dist/components/{p-CiX87kt0.js → p-BwpYVCMj.js} +1 -1
  256. package/dist/components/{p-DxZ5v-a-.js → p-Bxt73ql2.js} +1 -1
  257. package/dist/components/{p-gBEnKt4T.js → p-C-Jht7Ou.js} +1 -1
  258. package/dist/components/{p-CM3Y2kOg.js → p-C7qQzBOW.js} +1 -1
  259. package/dist/components/{p-BVRIm4Vt.js → p-CFL-ALsL.js} +1 -1
  260. package/dist/components/{p-ByMjaTnP.js → p-CNJG60uZ.js} +1 -1
  261. package/dist/components/{p-C7Rh2NRS.js → p-CNY9L4u1.js} +1 -1
  262. package/dist/components/{p-CH7w_Zrp.js → p-CP4anCBG.js} +1 -1
  263. package/dist/components/{p-Be6GRqFL.js → p-CQa16w_c.js} +1 -1
  264. package/dist/components/{p-CWxtbDEh.js → p-CSW-it45.js} +1 -1
  265. package/dist/components/{p-B2RoJ1tz.js → p-CVy_5Tvb.js} +1 -1
  266. package/dist/components/{p-U9jg1DvO.js → p-CY6CL9kK.js} +1 -1
  267. package/dist/components/{p-g5NPAxAj.js → p-C_fSXjwp.js} +1 -1
  268. package/dist/components/{p-BWLmBQB7.js → p-Cb3kcQH8.js} +1 -1
  269. package/dist/components/{p-oXCkwBKR.js → p-CjID2TEf.js} +1 -1
  270. package/dist/components/{p-BQMMBSP2.js → p-CjNPU4tr.js} +1 -1
  271. package/dist/components/{p-Ic4M6IZs.js → p-CoiejzBd.js} +1 -1
  272. package/dist/components/p-CpLLOHOq.js +1 -0
  273. package/dist/components/p-CsFRsJd2.js +1 -0
  274. package/dist/components/{p-BX3gY1PP.js → p-CsTjOsQ7.js} +1 -1
  275. package/dist/components/{p-BWqnoSw2.js → p-CsY7NAuq.js} +1 -1
  276. package/dist/components/{p-BC__OeWi.js → p-CshWFMrN.js} +1 -1
  277. package/dist/components/{p-vADJB1c2.js → p-D1dX_iSl.js} +1 -1
  278. package/dist/components/{p-B3ATJ-iD.js → p-D1ihibWt.js} +1 -1
  279. package/dist/components/{p-DNy6quyg.js → p-D3S9CkeA.js} +1 -1
  280. package/dist/components/{p-B2EHfWpD.js → p-D5NZi5H5.js} +1 -1
  281. package/dist/components/{p-Btj1QSzG.js → p-D6u-SXpn.js} +1 -1
  282. package/dist/components/p-D8OMvJbR.js +1 -0
  283. package/dist/components/p-DIblgdpF.js +1 -0
  284. package/dist/components/{p-BjZJaxt1.js → p-DLWL-o6Z.js} +1 -1
  285. package/dist/components/{p-BjG7yuwj.js → p-DRa-BDek.js} +1 -1
  286. package/dist/components/{p-DUIWB0ra.js → p-DW2Js6u1.js} +1 -1
  287. package/dist/components/p-DWYKl0rg.js +1 -0
  288. package/dist/components/{p-B6IcTqkN.js → p-DWgMo0uM.js} +1 -1
  289. package/dist/components/{p-msSLVaDl.js → p-D_HYgg0D.js} +1 -1
  290. package/dist/components/{p-D34dZlkT.js → p-D_Zth43B.js} +1 -1
  291. package/dist/components/{p-Bp8UGnBB.js → p-DcGAhFPL.js} +1 -1
  292. package/dist/components/{p-C07P-YzZ.js → p-DiO4NkoA.js} +1 -1
  293. package/dist/components/{p-CtPr1nvA.js → p-DtCdkVUQ.js} +1 -1
  294. package/dist/components/{p-ifBo9NHb.js → p-DuB7bImP.js} +1 -1
  295. package/dist/components/{p-Bjx68Nkv.js → p-DuheZw1w.js} +1 -1
  296. package/dist/components/{p-BBRpBb3D.js → p-DwHaSUu3.js} +1 -1
  297. package/dist/components/{p-CjOKLEdP.js → p-DxynE7R4.js} +1 -1
  298. package/dist/components/p-Dy7c6clK.js +1 -0
  299. package/dist/components/{p-CxPXk2ws.js → p-FI--hA8I.js} +1 -1
  300. package/dist/components/{p-IilUR0Z4.js → p-K3aT9e86.js} +1 -1
  301. package/dist/components/{p-B0Fo3cKf.js → p-LlsVAS7r.js} +1 -1
  302. package/dist/components/{p-CXDRC8Nb.js → p-R3NB2Rxd.js} +1 -1
  303. package/dist/components/{p-Dp2LhUKa.js → p-SJeISbFm.js} +1 -1
  304. package/dist/components/{p-DPENu38v.js → p-aAhxhPu6.js} +1 -1
  305. package/dist/components/{p-B_Wn0VnS.js → p-l4woSzxj.js} +1 -1
  306. package/dist/components/{p-DW9czTAD.js → p-ralyxXdZ.js} +1 -1
  307. package/dist/components/{p-BGaDuggr.js → p-sG2nShz-.js} +1 -1
  308. package/dist/components/{p-DAq4FN_d.js → p-w2nCsug-.js} +1 -1
  309. package/dist/components/rtk-ai-toggle.js +1 -1
  310. package/dist/components/rtk-ai-transcriptions.js +1 -1
  311. package/dist/components/rtk-ai.js +1 -1
  312. package/dist/components/rtk-audio-grid.js +1 -1
  313. package/dist/components/rtk-audio-tile.js +1 -1
  314. package/dist/components/rtk-audio-visualizer.js +1 -1
  315. package/dist/components/rtk-avatar.js +1 -1
  316. package/dist/components/rtk-breakout-room-manager.js +1 -1
  317. package/dist/components/rtk-breakout-room-participants.js +1 -1
  318. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  319. package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
  320. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  321. package/dist/components/rtk-camera-selector.js +1 -1
  322. package/dist/components/rtk-camera-toggle.js +1 -1
  323. package/dist/components/rtk-caption-toggle.js +1 -1
  324. package/dist/components/rtk-chat-composer-ui.js +1 -1
  325. package/dist/components/rtk-chat-composer-view.js +1 -1
  326. package/dist/components/rtk-chat-header.js +1 -1
  327. package/dist/components/rtk-chat-message.js +1 -1
  328. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  329. package/dist/components/rtk-chat-messages-ui.js +1 -1
  330. package/dist/components/rtk-chat-search-results.js +1 -1
  331. package/dist/components/rtk-chat-selector-ui.js +1 -1
  332. package/dist/components/rtk-chat-selector.js +1 -1
  333. package/dist/components/rtk-chat-toggle.js +1 -1
  334. package/dist/components/rtk-chat.js +1 -1
  335. package/dist/components/rtk-clock.js +1 -1
  336. package/dist/components/rtk-confirmation-modal.js +1 -1
  337. package/dist/components/rtk-controlbar-button.js +1 -1
  338. package/dist/components/rtk-controlbar.js +1 -1
  339. package/dist/components/rtk-counter.js +1 -1
  340. package/dist/components/rtk-debugger-audio.js +1 -1
  341. package/dist/components/rtk-debugger-screenshare.js +1 -1
  342. package/dist/components/rtk-debugger-system.js +1 -1
  343. package/dist/components/rtk-debugger-toggle.js +1 -1
  344. package/dist/components/rtk-debugger-video.js +1 -1
  345. package/dist/components/rtk-debugger.js +1 -1
  346. package/dist/components/rtk-dialog-manager.js +1 -1
  347. package/dist/components/rtk-dialog.js +1 -1
  348. package/dist/components/rtk-draft-attachment-view.js +1 -1
  349. package/dist/components/rtk-emoji-picker-button.js +1 -1
  350. package/dist/components/rtk-emoji-picker.js +1 -1
  351. package/dist/components/rtk-ended-screen.js +1 -1
  352. package/dist/components/rtk-file-dropzone.js +1 -1
  353. package/dist/components/rtk-file-message-view.js +1 -1
  354. package/dist/components/rtk-file-message.js +1 -1
  355. package/dist/components/rtk-file-picker-button.js +1 -1
  356. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  357. package/dist/components/rtk-grid-pagination.js +1 -1
  358. package/dist/components/rtk-grid.js +1 -1
  359. package/dist/components/rtk-header.js +1 -1
  360. package/dist/components/rtk-idle-screen.js +1 -1
  361. package/dist/components/rtk-image-message-view.js +1 -1
  362. package/dist/components/rtk-image-message.js +1 -1
  363. package/dist/components/rtk-image-viewer.js +1 -1
  364. package/dist/components/rtk-information-tooltip.js +1 -1
  365. package/dist/components/rtk-join-stage.js +1 -1
  366. package/dist/components/rtk-leave-button.js +1 -1
  367. package/dist/components/rtk-leave-meeting.js +1 -1
  368. package/dist/components/rtk-livestream-indicator.js +1 -1
  369. package/dist/components/rtk-livestream-player.js +1 -1
  370. package/dist/components/rtk-livestream-toggle.js +1 -1
  371. package/dist/components/rtk-logo.js +1 -1
  372. package/dist/components/rtk-meeting-title.js +1 -1
  373. package/dist/components/rtk-meeting.js +1 -1
  374. package/dist/components/rtk-menu-item.js +1 -1
  375. package/dist/components/rtk-menu-list.js +1 -1
  376. package/dist/components/rtk-menu.js +1 -1
  377. package/dist/components/rtk-message-list-view.js +1 -1
  378. package/dist/components/rtk-message-view.js +1 -1
  379. package/dist/components/rtk-mic-toggle.js +1 -1
  380. package/dist/components/rtk-microphone-selector.js +1 -1
  381. package/dist/components/rtk-mixed-grid.js +1 -1
  382. package/dist/components/rtk-more-toggle.js +1 -1
  383. package/dist/components/rtk-mute-all-button.js +1 -1
  384. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  385. package/dist/components/rtk-name-tag.js +1 -1
  386. package/dist/components/rtk-network-indicator.js +1 -1
  387. package/dist/components/rtk-notification.js +1 -1
  388. package/dist/components/rtk-notifications.js +1 -1
  389. package/dist/components/rtk-overlay-modal.js +1 -1
  390. package/dist/components/rtk-paginated-list.js +1 -1
  391. package/dist/components/rtk-participant-count.js +1 -1
  392. package/dist/components/rtk-participant-setup.js +1 -1
  393. package/dist/components/rtk-participant-tile.js +1 -1
  394. package/dist/components/rtk-participant.js +1 -1
  395. package/dist/components/rtk-participants-audio.js +1 -1
  396. package/dist/components/rtk-participants-stage-list.js +1 -1
  397. package/dist/components/rtk-participants-stage-queue.js +1 -1
  398. package/dist/components/rtk-participants-toggle.js +1 -1
  399. package/dist/components/rtk-participants-viewer-list.js +1 -1
  400. package/dist/components/rtk-participants-waiting-list.js +1 -1
  401. package/dist/components/rtk-participants.js +1 -1
  402. package/dist/components/rtk-permissions-message.js +1 -1
  403. package/dist/components/rtk-pinned-message-selector.js +1 -1
  404. package/dist/components/rtk-pip-toggle.js +1 -1
  405. package/dist/components/rtk-plugin-main.js +1 -1
  406. package/dist/components/rtk-plugins-toggle.js +1 -1
  407. package/dist/components/rtk-plugins.js +1 -1
  408. package/dist/components/rtk-poll-form.js +1 -1
  409. package/dist/components/rtk-poll.js +1 -1
  410. package/dist/components/rtk-polls-toggle.js +1 -1
  411. package/dist/components/rtk-polls.js +1 -1
  412. package/dist/components/rtk-recording-indicator.js +1 -1
  413. package/dist/components/rtk-recording-toggle.js +1 -1
  414. package/dist/components/rtk-screen-share-toggle.js +1 -1
  415. package/dist/components/rtk-screenshare-view.js +1 -1
  416. package/dist/components/rtk-settings-audio.js +1 -1
  417. package/dist/components/rtk-settings-toggle.js +1 -1
  418. package/dist/components/rtk-settings-video.js +1 -1
  419. package/dist/components/rtk-settings.js +1 -1
  420. package/dist/components/rtk-setup-screen.js +1 -1
  421. package/dist/components/rtk-sidebar-ui.js +1 -1
  422. package/dist/components/rtk-sidebar.js +1 -1
  423. package/dist/components/rtk-simple-grid.js +1 -1
  424. package/dist/components/rtk-speaker-selector.js +1 -1
  425. package/dist/components/rtk-spinner.js +1 -1
  426. package/dist/components/rtk-spotlight-grid.js +1 -1
  427. package/dist/components/rtk-spotlight-indicator.js +1 -1
  428. package/dist/components/rtk-stage-toggle.js +1 -1
  429. package/dist/components/rtk-stage.js +1 -1
  430. package/dist/components/rtk-switch.js +1 -1
  431. package/dist/components/rtk-tab-bar.js +1 -1
  432. package/dist/components/rtk-text-composer-view.js +1 -1
  433. package/dist/components/rtk-text-message-view.js +1 -1
  434. package/dist/components/rtk-text-message.js +1 -1
  435. package/dist/components/rtk-transcript.js +1 -1
  436. package/dist/components/rtk-transcripts.js +1 -1
  437. package/dist/components/rtk-ui-provider.js +1 -1
  438. package/dist/components/rtk-viewer-count.js +1 -1
  439. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  440. package/dist/components/rtk-waiting-screen.js +1 -1
  441. package/dist/docs/docs-components.json +3711 -742
  442. package/dist/docs/docs-vscode.json +5 -1
  443. package/dist/esm/{TextMessage-BZiVGmY1.js → TextMessage-yvgmoyno.js} +1 -1
  444. package/dist/esm/{chat-lvouWi7J.js → chat-C76CTGaE.js} +1 -1
  445. package/dist/esm/{config-B2jDqnc2.js → config-DP9lPGyT.js} +4 -10
  446. package/dist/esm/{debounce-aR8pwob-.js → debounce-wUcmtMrZ.js} +1 -1
  447. package/dist/esm/{index-CgECHQfr.js → index-BqWqJ0QM.js} +1 -1
  448. package/dist/esm/index.js +19 -11
  449. package/dist/esm/loader.js +1054 -579
  450. package/dist/esm/{ui-kit-metadata-DBkOnyOI.js → merge-CyAJSnqi.js} +2 -287
  451. package/dist/esm/realtimekit-ui.js +1 -1
  452. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  453. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  454. package/dist/esm/rtk-ai_3.entry.js +2 -2
  455. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  456. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  457. package/dist/esm/rtk-audio-visualizer_3.entry.js +2 -3
  458. package/dist/esm/rtk-avatar_26.entry.js +10 -9
  459. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  460. package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
  461. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  462. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  463. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  464. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  465. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  466. package/dist/esm/rtk-chat-message.entry.js +2 -2
  467. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  468. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  469. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  470. package/dist/esm/rtk-chat-toggle.entry.js +2 -2
  471. package/dist/esm/rtk-clock.entry.js +2 -2
  472. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  473. package/dist/esm/rtk-controlbar.entry.js +2 -2
  474. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  475. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  476. package/dist/esm/rtk-debugger.entry.js +2 -2
  477. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  478. package/dist/esm/rtk-dialog.entry.js +2 -2
  479. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  480. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  481. package/dist/esm/rtk-file-message_3.entry.js +6 -6
  482. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  483. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  484. package/dist/esm/rtk-grid.entry.js +2 -2
  485. package/dist/esm/rtk-header.entry.js +2 -2
  486. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  487. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  488. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  489. package/dist/esm/rtk-leave-button.entry.js +2 -2
  490. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  491. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  492. package/dist/esm/rtk-logo.entry.js +2 -2
  493. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  494. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  495. package/dist/esm/rtk-mic-toggle.entry.js +2 -3
  496. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  497. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  498. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  499. package/dist/esm/rtk-name-tag.entry.js +2 -2
  500. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  501. package/dist/esm/rtk-notification.entry.js +8 -6
  502. package/dist/esm/rtk-notifications.entry.js +194 -204
  503. package/dist/esm/rtk-participant-count.entry.js +2 -2
  504. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  505. package/dist/esm/rtk-participant_2.entry.js +5 -5
  506. package/dist/esm/rtk-participants-audio.entry.js +2 -3
  507. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  508. package/dist/esm/rtk-participants-toggle.entry.js +2 -2
  509. package/dist/esm/rtk-participants.entry.js +3 -3
  510. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  511. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  512. package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
  513. package/dist/esm/rtk-poll_2.entry.js +2 -2
  514. package/dist/esm/rtk-polls-toggle.entry.js +2 -2
  515. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  516. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  517. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  518. package/dist/esm/rtk-screenshare-view.entry.js +347 -34
  519. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  520. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  521. package/dist/esm/rtk-settings.entry.js +2 -2
  522. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  523. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  524. package/dist/esm/rtk-sidebar.entry.js +2 -2
  525. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  526. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  527. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  528. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  529. package/dist/esm/rtk-stage.entry.js +3 -3
  530. package/dist/esm/rtk-switch.entry.js +3 -3
  531. package/dist/esm/rtk-transcript.entry.js +3 -3
  532. package/dist/esm/rtk-transcripts.entry.js +2 -2
  533. package/dist/esm/rtk-ui-provider.entry.js +3 -2
  534. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  535. package/dist/esm/ui-kit-metadata-BLyVHBPm.js +286 -0
  536. package/dist/esm/{ui-store-25wIB_YH.js → ui-store-BDu-JN-c.js} +221 -9
  537. package/dist/realtimekit-ui/index.esm.js +1 -1
  538. package/dist/realtimekit-ui/{p-3ab9b329.entry.js → p-00d76359.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-2999cb8d.entry.js → p-09c97ce7.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-c7f7f0ee.entry.js → p-1649cd9b.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-aa1bcc8d.entry.js → p-1cb35848.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-2f380c20.entry.js → p-20ca622e.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-a5afae52.entry.js → p-212b81f9.entry.js} +1 -1
  544. package/dist/realtimekit-ui/p-216d317b.entry.js +1 -0
  545. package/dist/realtimekit-ui/{p-e54dbacd.entry.js → p-21d6fbde.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-6a985345.entry.js → p-2630a30f.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-7878ab30.entry.js → p-2666b720.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-1eac1ada.entry.js → p-29ca5030.entry.js} +1 -1
  549. package/dist/realtimekit-ui/p-2ac37cd3.entry.js +1 -0
  550. package/dist/realtimekit-ui/{p-69e11a90.entry.js → p-2b4a9798.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-69445dc5.entry.js → p-2cc93fdf.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-c35040dc.entry.js → p-2cffd80b.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-6bca148a.entry.js → p-2e00a64f.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-22cd2a40.entry.js → p-2f225d81.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-94a286d0.entry.js → p-31cff3b4.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-da857425.entry.js → p-339d78e0.entry.js} +1 -1
  557. package/dist/realtimekit-ui/p-39f4dfc2.entry.js +1 -0
  558. package/dist/realtimekit-ui/{p-d91222ea.entry.js → p-3df86b16.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-7711649a.entry.js → p-40b5a3f6.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-5ea44aa5.entry.js → p-40d669f7.entry.js} +1 -1
  561. package/dist/realtimekit-ui/p-465e03e3.entry.js +1 -0
  562. package/dist/realtimekit-ui/{p-a478656f.entry.js → p-468bbf25.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-467cb881.entry.js → p-46f5bd65.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-cdf80add.entry.js → p-4a2791af.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-a732dd55.entry.js → p-4d1c520d.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-fbde8aee.entry.js → p-4f4f74de.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-6568c9be.entry.js → p-50964a67.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-60e672f3.entry.js → p-590d9a6f.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-73f2a2db.entry.js → p-59e85491.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-cf9e2497.entry.js → p-5a316687.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-8dc6db09.entry.js → p-5ad79e40.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-a6b6f977.entry.js → p-65d4e49f.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-69ee90c7.entry.js → p-66c16b99.entry.js} +1 -1
  574. package/dist/realtimekit-ui/p-679cff34.entry.js +1 -0
  575. package/dist/realtimekit-ui/p-68355fad.entry.js +1 -0
  576. package/dist/realtimekit-ui/{p-f202a199.entry.js → p-6c6da19f.entry.js} +1 -1
  577. package/dist/realtimekit-ui/{p-a1febe2c.entry.js → p-6db3f0b3.entry.js} +1 -1
  578. package/dist/realtimekit-ui/p-705c69ef.entry.js +1 -0
  579. package/dist/realtimekit-ui/{p-b29b686b.entry.js → p-71bd9c93.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-3a0eaf1e.entry.js → p-780e1278.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-590350ae.entry.js → p-7b95fcea.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-c8cad0a6.entry.js → p-7f6cd05d.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-77648ee7.entry.js → p-80e72f3b.entry.js} +1 -1
  584. package/dist/realtimekit-ui/p-81b64fa2.entry.js +1 -0
  585. package/dist/realtimekit-ui/{p-64b7ca52.entry.js → p-866df7d3.entry.js} +1 -1
  586. package/dist/realtimekit-ui/{p-64f46d1e.entry.js → p-8a113cfb.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-00ae47eb.entry.js → p-915dec6c.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-b783a853.entry.js → p-9169be62.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-60f90e32.entry.js → p-95f35e70.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-95818179.entry.js → p-983ca822.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-3d95065e.entry.js → p-98e3caf7.entry.js} +1 -1
  592. package/dist/realtimekit-ui/p-9f5eb163.entry.js +1 -0
  593. package/dist/realtimekit-ui/p-BLyVHBPm.js +1 -0
  594. package/dist/realtimekit-ui/p-Bzni6MqK.js +1 -0
  595. package/dist/realtimekit-ui/p-DEqeU73W.js +1 -0
  596. package/dist/realtimekit-ui/p-DYdFtxVz.js +1 -0
  597. package/dist/realtimekit-ui/{p-CGOvNX5H.js → p-DjuLCOXk.js} +1 -1
  598. package/dist/realtimekit-ui/{p-CRQsZMW5.js → p-KiBrYIp4.js} +1 -1
  599. package/dist/realtimekit-ui/{p-8206b22d.entry.js → p-a058849b.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-54c71e62.entry.js → p-a2fd9cf2.entry.js} +1 -1
  601. package/dist/realtimekit-ui/p-a3177447.entry.js +1 -0
  602. package/dist/realtimekit-ui/{p-39a410f5.entry.js → p-a583cc88.entry.js} +1 -1
  603. package/dist/realtimekit-ui/p-aIVgtPUf.js +1 -0
  604. package/dist/realtimekit-ui/{p-cfa03301.entry.js → p-ad8e4409.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-13a913a9.entry.js → p-b16b8339.entry.js} +1 -1
  606. package/dist/realtimekit-ui/{p-0ce5b00f.entry.js → p-baa83772.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-70672349.entry.js → p-be12bd8a.entry.js} +1 -1
  608. package/dist/realtimekit-ui/p-c132536f.entry.js +1 -0
  609. package/dist/realtimekit-ui/{p-7d7409e5.entry.js → p-ca45d169.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-0df18cd8.entry.js → p-d1422675.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-d7b10d53.entry.js → p-d33dcab8.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-b56fe105.entry.js → p-d6177836.entry.js} +1 -1
  613. package/dist/realtimekit-ui/{p-2eb73b5f.entry.js → p-dfd083c9.entry.js} +1 -1
  614. package/dist/realtimekit-ui/p-e0fbcd2f.entry.js +1 -0
  615. package/dist/realtimekit-ui/{p-465c4010.entry.js → p-e2c07b34.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-8a481d43.entry.js → p-e48f5b65.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-4d59e280.entry.js → p-ea3591dd.entry.js} +1 -1
  618. package/dist/realtimekit-ui/{p-4b2ce9e5.entry.js → p-ea9632fb.entry.js} +1 -1
  619. package/dist/realtimekit-ui/{p-96b81823.entry.js → p-ebc2284a.entry.js} +1 -1
  620. package/dist/realtimekit-ui/{p-dcced1f6.entry.js → p-ed4e8032.entry.js} +1 -1
  621. package/dist/realtimekit-ui/{p-32079fea.entry.js → p-f163f7d0.entry.js} +1 -1
  622. package/dist/realtimekit-ui/{p-bef64365.entry.js → p-f42d1ca8.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-9675893b.entry.js → p-f6964364.entry.js} +1 -1
  624. package/dist/realtimekit-ui/{p-21119a4d.entry.js → p-f6cc50c1.entry.js} +1 -1
  625. package/dist/realtimekit-ui/{p-18607b9a.entry.js → p-fb638463.entry.js} +1 -1
  626. package/dist/realtimekit-ui/p-fe56d5f4.entry.js +1 -0
  627. package/dist/realtimekit-ui/{p-df5b5a98.entry.js → p-febe71c5.entry.js} +1 -1
  628. package/dist/realtimekit-ui/{p-Dj-6QheV.js → p-kAmDs9rB.js} +1 -1
  629. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  630. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +12 -3
  631. package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +31 -7
  632. package/dist/types/components.d.ts +20 -13
  633. package/dist/types/lib/lang/default-language.d.ts +6 -0
  634. package/dist/types/lib/notification.d.ts +31 -2
  635. package/dist/types/types/ui-config/config.d.ts +49 -10
  636. package/dist/types/utils/notification.d.ts +11 -2
  637. package/package.json +1 -1
  638. package/dist/cjs/browser-qKzDfwbO.js +0 -5
  639. package/dist/cjs/notification-Bny5fHfy.js +0 -39
  640. package/dist/components/p--EktoJd3.js +0 -1
  641. package/dist/components/p-36vx_Mui.js +0 -1
  642. package/dist/components/p-B56IYWsZ.js +0 -1
  643. package/dist/components/p-B5Ikq3LV.js +0 -1
  644. package/dist/components/p-BeJhcBfy.js +0 -1
  645. package/dist/components/p-C8IQnQjR.js +0 -1
  646. package/dist/components/p-CAqYddlg.js +0 -1
  647. package/dist/components/p-C_e0a6jQ.js +0 -1
  648. package/dist/components/p-DalLUQa1.js +0 -1
  649. package/dist/components/p-aXMUeMjU.js +0 -1
  650. package/dist/esm/browser-CAqYddlg.js +0 -3
  651. package/dist/esm/notification-DZgheLdK.js +0 -37
  652. package/dist/realtimekit-ui/p-1ff01d5f.entry.js +0 -1
  653. package/dist/realtimekit-ui/p-20588357.entry.js +0 -1
  654. package/dist/realtimekit-ui/p-341159c7.entry.js +0 -1
  655. package/dist/realtimekit-ui/p-63413c07.entry.js +0 -1
  656. package/dist/realtimekit-ui/p-72b2fe54.entry.js +0 -1
  657. package/dist/realtimekit-ui/p-792d2533.entry.js +0 -1
  658. package/dist/realtimekit-ui/p-828ecefa.entry.js +0 -1
  659. package/dist/realtimekit-ui/p-82a226df.entry.js +0 -1
  660. package/dist/realtimekit-ui/p-9c53a0b7.entry.js +0 -1
  661. package/dist/realtimekit-ui/p-B3SWd1rN.js +0 -1
  662. package/dist/realtimekit-ui/p-B56IYWsZ.js +0 -1
  663. package/dist/realtimekit-ui/p-C8tHk7bV.js +0 -1
  664. package/dist/realtimekit-ui/p-CAqYddlg.js +0 -1
  665. package/dist/realtimekit-ui/p-DgbGa7ou.js +0 -1
  666. package/dist/realtimekit-ui/p-a05269d4.entry.js +0 -1
  667. package/dist/realtimekit-ui/p-b415ff27.entry.js +0 -1
  668. package/dist/realtimekit-ui/p-cc9228ee.entry.js +0 -1
  669. package/dist/realtimekit-ui/p-df0fe032.entry.js +0 -1
  670. package/dist/realtimekit-ui/p-x7gw0EVy.js +0 -1
@@ -4854,9 +4854,222 @@ const globalScripts = () => {};
4854
4854
  const defineCustomElements = async (win, options) => {
4855
4855
  if (typeof window === 'undefined') return undefined;
4856
4856
  await globalScripts();
4857
- return bootstrapLazy(JSON.parse("[[\"rtk-avatar_26\",[[1,\"rtk-meeting\",{\"loadConfigFromPreset\":[1028,\"load-config-from-preset\"],\"applyDesignSystem\":[1028,\"apply-design-system\"],\"mode\":[513],\"leaveOnUnmount\":[4,\"leave-on-unmount\"],\"meeting\":[16],\"showSetupScreen\":[1028,\"show-setup-screen\"],\"t\":[16],\"config\":[1040],\"size\":[1537],\"gridLayout\":[1,\"grid-layout\"],\"iconPack\":[16],\"overrides\":[16]},null,{\"meeting\":[{\"meetingChanged\":0}],\"iconPack\":[{\"iconPackChanged\":0}],\"t\":[{\"tChanged\":0}],\"config\":[{\"configChanged\":0}],\"overrides\":[{\"overridesChanged\":0}]}],[257,\"rtk-chat\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"canPinMessages\":[32],\"now\":[32],\"dropzoneActivated\":[32],\"showLatestMessageButton\":[32],\"canSend\":[32],\"canSendTextMessage\":[32],\"canSendFiles\":[32],\"canPrivateMessage\":[32],\"canSendPrivateTexts\":[32],\"canSendPrivateFiles\":[32],\"emojiPickerEnabled\":[32],\"participants\":[32],\"selectedParticipant\":[32],\"editingMessage\":[32],\"replyMessage\":[32],\"searchQuery\":[32],\"selectorState\":[32],\"isSendingMessage\":[32],\"showPinnedMessages\":[32]},[[8,\"editMessageInit\",\"onEditMessageInit\"],[0,\"rtkChatSelectorChange\",\"onChatSelectorChange\"]],{\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-chat-messages-ui-paginated\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"privateChatRecipient\":[16],\"children\":[32],\"permissionsChanged\":[32]},[[8,\"rtkPinnedMessageSelect\",\"onPinnedMessageSelect\"]],{\"privateChatRecipient\":[{\"privateChatRecipientChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-chat-composer-view\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"isSending\":[4,\"is-sending\"],\"canSendFiles\":[4,\"can-send-files\"],\"message\":[1],\"quotedMessage\":[1,\"quoted-message\"],\"storageKey\":[1,\"storage-key\"],\"inputTextPlaceholder\":[1,\"input-text-placeholder\"],\"isEditing\":[4,\"is-editing\"],\"iconPack\":[16],\"t\":[16],\"maxLength\":[2,\"max-length\"],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"rateLimits\":[16],\"fileToUpload\":[32],\"isEmojiPickerOpen\":[32],\"disableSendButton\":[32],\"rateLimitsBreached\":[32]}],[1,\"rtk-chat-header\"],[257,\"rtk-chat-selector\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"size\":[513],\"isOpen\":[32],\"showPrivateChat\":[32],\"selectedUser\":[32],\"pageSize\":[32],\"pagesAllowed\":[32],\"unreadMap\":[32],\"close\":[64]},null,{\"overrides\":[{\"overridesChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-pinned-message-selector\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"isOpen\":[32],\"pageSize\":[32],\"pagesAllowed\":[32],\"showPinnedMessages\":[32],\"close\":[64]},[[8,\"rtkChatSelectorChange\",\"onChatSelectorChange\"]],{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-draft-attachment-view\",{\"iconPack\":[16],\"t\":[16],\"attachment\":[16],\"filePreview\":[32]},null,{\"attachment\":[{\"onAttachmentChange\":0}]}],[1,\"rtk-emoji-picker-button\",{\"iconPack\":[16],\"t\":[16],\"isActive\":[4,\"is-active\"]}],[1,\"rtk-file-picker-button\",{\"filter\":[1],\"label\":[1],\"icon\":[1],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-text-composer-view\",{\"disabled\":[4],\"placeholder\":[1],\"value\":[1],\"maxLength\":[2,\"max-length\"],\"rateLimitBreached\":[4,\"rate-limit-breached\"],\"keyDownHandler\":[16],\"iconPack\":[16],\"t\":[16],\"maxLengthBreached\":[32],\"setText\":[64]}],[257,\"rtk-message-view\",{\"actions\":[16],\"messageType\":[1,\"message-type\"],\"isEdited\":[4,\"is-edited\"],\"variant\":[1],\"pinned\":[4],\"viewType\":[1,\"view-type\"],\"avatarUrl\":[1,\"avatar-url\"],\"hideAvatar\":[4,\"hide-avatar\"],\"authorName\":[1,\"author-name\"],\"isSelf\":[4,\"is-self\"],\"hideAuthorName\":[4,\"hide-author-name\"],\"hideMetadata\":[4,\"hide-metadata\"],\"time\":[16],\"iconPack\":[16]}],[1,\"rtk-emoji-picker\",{\"iconPack\":[16],\"t\":[16],\"focusWhenOpened\":[4,\"focus-when-opened\"],\"emojiList\":[32],\"filterVal\":[32],\"filteredEmojis\":[32]}],[1,\"rtk-image-message-view\",{\"url\":[1],\"iconPack\":[16],\"t\":[16],\"status\":[32]}],[1,\"rtk-file-message-view\",{\"name\":[1],\"size\":[2],\"url\":[1],\"iconPack\":[16]}],[0,\"rtk-text-message-view\",{\"text\":[1],\"isMarkdown\":[4,\"is-markdown\"]}],[1,\"rtk-markdown-view\",{\"text\":[1],\"maxLength\":[2,\"max-length\"]}],[1,\"rtk-paginated-list\",{\"pageSize\":[2,\"page-size\"],\"pagesAllowed\":[2,\"pages-allowed\"],\"emptyListLabel\":[1,\"empty-list-label\"],\"fetchData\":[16],\"createNodes\":[16],\"autoScroll\":[4,\"auto-scroll\"],\"iconPack\":[16],\"t\":[16],\"rerenderBoolean\":[32],\"showEmptyListLabel\":[32],\"isLoading\":[32],\"isLoadingTop\":[32],\"isLoadingBottom\":[32],\"rerenderList\":[64],\"onNewNode\":[64],\"onNodeDelete\":[64],\"onNodeUpdate\":[64],\"reset\":[64]}],[257,\"rtk-menu\",{\"size\":[513],\"placement\":[1],\"offset\":[2],\"iconPack\":[16],\"t\":[16]}],[257,\"rtk-menu-item\",{\"size\":[513],\"menuVariant\":[1,\"menu-variant\"],\"iconPack\":[16],\"t\":[16]}],[257,\"rtk-menu-list\",{\"iconPack\":[16],\"menuVariant\":[1,\"menu-variant\"],\"t\":[16]}],[257,\"rtk-avatar\",{\"participant\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]}],[257,\"rtk-tooltip\",{\"label\":[1],\"variant\":[513],\"disabled\":[516],\"open\":[516],\"kind\":[513],\"size\":[513],\"placement\":[1],\"delay\":[2],\"isInFocus\":[32]},null,{\"open\":[{\"openChanged\":0}]}],[1,\"rtk-spinner\",{\"iconPack\":[16],\"size\":[513]}],[273,\"rtk-button\",{\"size\":[513],\"variant\":[513],\"kind\":[513],\"reverse\":[516],\"disabled\":[516],\"type\":[513]}],[1,\"rtk-icon\",{\"icon\":[1],\"variant\":[513],\"size\":[513]}]]],[\"rtk-dialog-manager\",[[1,\"rtk-dialog-manager\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-participants\",[[257,\"rtk-participants\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"defaultParticipantsTabId\":[1,\"default-participants-tab-id\"],\"t\":[16],\"currentParticipantsTabId\":[32],\"tabs\":[32],\"hasRequests\":[32],\"search\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"currentParticipantsTabId\":[{\"currentParticipantsTabIdChanged\":0}]}]]],[\"rtk-chat-messages-ui\",[[1,\"rtk-chat-messages-ui\",{\"selectedGroup\":[1,\"selected-group\"],\"messages\":[16],\"selfUserId\":[1,\"self-user-id\"],\"canPinMessages\":[4,\"can-pin-messages\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"now\":[32],\"showLatestMessageButton\":[32]},null,{\"messages\":[{\"chatChanged\":0}],\"selectedGroup\":[{\"selectedBucketChanged\":0}]}]]],[\"rtk-chat-search-results\",[[1,\"rtk-chat-search-results\",{\"meeting\":[16],\"query\":[1],\"channelId\":[1,\"channel-id\"],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-settings\",[[1,\"rtk-settings\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"networkStatus\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-sidebar\",[[1,\"rtk-sidebar\",{\"enabledSections\":[1040],\"defaultSection\":[1,\"default-section\"],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513],\"currentTab\":[32],\"isFloating\":[32],\"enablePinning\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"view\":[{\"viewChanged\":0}]}]]],[\"rtk-camera-toggle\",[[257,\"rtk-camera-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"hideDeviceSelectionMenu\":[516,\"hide-device-selection-menu\"],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32],\"canProduceVideo\":[32],\"cameraPermission\":[32],\"stageStatus\":[32],\"videoDevices\":[32],\"currentDevice\":[32],\"hasAdditionalMenuItems\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-grid\",[[1,\"rtk-grid\",{\"layout\":[513],\"aspectRatio\":[513,\"aspect-ratio\"],\"meeting\":[16],\"gap\":[514],\"size\":[513],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"overrides\":[8],\"participants\":[32],\"pinnedParticipants\":[32],\"screenShareParticipants\":[32],\"plugins\":[32],\"emptyStage\":[32],\"showLiveStreamPlayer\":[32],\"canCurrentPeerHost\":[32],\"pipSupported\":[32],\"pipEnabled\":[32],\"hidden\":[32],\"roomState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"overrides\":[{\"overridesChanged\":0}],\"screenShareParticipants\":[{\"screenShareParticipantsChanged\":0}],\"plugins\":[{\"pluginsChanged\":0}],\"pinnedParticipants\":[{\"pinnedParticipantsChanged\":0}]}]]],[\"rtk-mic-toggle\",[[257,\"rtk-mic-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"hideDeviceSelectionMenu\":[516,\"hide-device-selection-menu\"],\"iconPack\":[16],\"t\":[16],\"audioEnabled\":[32],\"canProduceAudio\":[32],\"micPermission\":[32],\"stageStatus\":[32],\"audioInputDevices\":[32],\"speakerDevices\":[32],\"currentDevices\":[32],\"hasAdditionalMenuItems\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-screen-share-toggle\",[[1,\"rtk-screen-share-toggle\",{\"states\":[16],\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"maxScreenShareCount\":[32],\"screenShareCount\":[32],\"screenShareEnabled\":[32],\"canScreenShare\":[32],\"shareScreenPermission\":[32],\"screenShareState\":[32],\"stageStatus\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"t\":[{\"screenShareAppearanceChanged\":0}],\"iconPack\":[{\"screenShareAppearanceChanged\":0}]}]]],[\"rtk-chat-composer-ui\",[[257,\"rtk-chat-composer-ui\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"canSendFiles\":[4,\"can-send-files\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"prefill\":[16],\"members\":[16],\"emojiPickerActive\":[32],\"mentionQuery\":[32],\"focusedMemberIndex\":[32],\"filePreview\":[32]}]]],[\"rtk-debugger\",[[1,\"rtk-debugger\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"progress\":[32]},[[0,\"testProgress\",\"progressUpdate\"]]]]],[\"rtk-mixed-grid\",[[1,\"rtk-mixed-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"screenShareParticipants\":[16],\"plugins\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"activeTab\":[32],\"initialised\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"screenShareParticipants\":[{\"screenShareParticipantsChanged\":0}],\"plugins\":[{\"pluginsChanged\":0}]}]]],[\"rtk-setup-screen\",[[1,\"rtk-setup-screen\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"displayName\":[32],\"isJoining\":[32],\"joinError\":[32],\"joinErrorCode\":[32],\"canEditName\":[32],\"canProduceAudio\":[32],\"connectionState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-audio-tile\",[[257,\"rtk-audio-tile\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"participant\":[16],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}]]],[\"rtk-mute-all-button\",[[1,\"rtk-mute-all-button\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canDisable\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-stage-toggle\",[[1,\"rtk-stage-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"states\":[16],\"t\":[16],\"stageStatus\":[32],\"state\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-ai-toggle\",[[1,\"rtk-ai-toggle\",{\"variant\":[513],\"states\":[16],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"aiActive\":[32]},null,{\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-breakout-rooms-toggle\",[[1,\"rtk-breakout-rooms-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canToggle\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-caption-toggle\",[[1,\"rtk-caption-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"captionEnabled\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-chat-toggle\",[[1,\"rtk-chat-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"unreadMessageCount\":[32],\"chatActive\":[32],\"canViewChat\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"chatActive\":[{\"handleChatActiveChange\":0}]}]]],[\"rtk-debugger-toggle\",[[1,\"rtk-debugger-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513]}]]],[\"rtk-grid-pagination\",[[1,\"rtk-grid-pagination\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"page\":[32],\"pageCount\":[32],\"activeCount\":[32],\"activeComputedCount\":[32],\"showPagination\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"size\":[{\"sizeChanged\":0}]}]]],[\"rtk-idle-screen\",[[257,\"rtk-idle-screen\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"preJoinError\":[32],\"connectionState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-leave-button\",[[1,\"rtk-leave-button\",{\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-livestream-toggle\",[[1,\"rtk-livestream-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"livestreamState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-meeting-title\",[[1,\"rtk-meeting-title\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"meetingTitle\":[32],\"canEdit\":[32],\"isEditing\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-more-toggle\",[[257,\"rtk-more-toggle\",{\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-notifications\",[[1,\"rtk-notifications\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"size\":[513],\"iconPack\":[16],\"notifications\":[32],\"paused\":[32]},[[8,\"rtkApiError\",\"apiErrorListener\"],[8,\"rtkSendNotification\",\"sendNotificationListener\"]],{\"meeting\":[{\"meetingChanged\":0}],\"config\":[{\"configChanged\":0}],\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-participants-audio\",[[1,\"rtk-participants-audio\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"preloadedAudioElem\":[16],\"showPlayDialog\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-participants-toggle\",[[1,\"rtk-participants-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"participantsActive\":[32],\"waitlistedParticipants\":[32],\"stageRequestedParticipants\":[32],\"badgeCount\":[32],\"canViewParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"participantsActive\":[{\"handleParticipantsActiveChange\":0}]}]]],[\"rtk-pip-toggle\",[[1,\"rtk-pip-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"pipSupported\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-plugins-toggle\",[[1,\"rtk-plugins-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pluginsActive\":[32],\"canViewPlugins\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"pluginsActive\":[{\"handlePluginsActiveChange\":0}]}]]],[\"rtk-polls-toggle\",[[1,\"rtk-polls-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pollsActive\":[32],\"unreadPollsCount\":[32],\"canViewPolls\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"pollsActive\":[{\"handlePollsActiveChange\":0}]}]]],[\"rtk-recording-toggle\",[[1,\"rtk-recording-toggle\",{\"variant\":[513],\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513],\"disabled\":[4],\"recordingState\":[32],\"canRecord\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-screenshare-view\",[[257,\"rtk-screenshare-view\",{\"hideFullScreenButton\":[4,\"hide-full-screen-button\"],\"nameTagPosition\":[513,\"name-tag-position\"],\"participant\":[16],\"meeting\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoExpanded\":[32],\"screenShareEnabled\":[32],\"isSwitchingScreen\":[32],\"isFullScreen\":[32],\"remoteControlInfo\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}]]],[\"rtk-settings-toggle\",[[1,\"rtk-settings-toggle\",{\"variant\":[513],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ended-screen\",[[1,\"rtk-ended-screen\",{\"config\":[16],\"size\":[513],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"meeting\":[16],\"icon\":[32],\"message\":[32]},null,{\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-image-viewer\",[[1,\"rtk-image-viewer\",{\"image\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16]}]]],[\"rtk-message-list-view\",[[0,\"rtk-message-list-view\",{\"messages\":[16],\"renderer\":[16],\"loadMore\":[16],\"visibleItemsCount\":[2,\"visible-items-count\"],\"estimateItemSize\":[2,\"estimate-item-size\"],\"iconPack\":[16],\"range\":[32],\"isFetching\":[32],\"autoScroll\":[32],\"totalHeight\":[32]},null,{\"messages\":[{\"messagesUpdated\":0}]}]]],[\"rtk-chat-selector-ui\",[[1,\"rtk-chat-selector-ui\",{\"selfUserId\":[1,\"self-user-id\"],\"selectedGroupId\":[1,\"selected-group-id\"],\"unreadCounts\":[16],\"groups\":[16],\"iconPack\":[16],\"t\":[16],\"showParticipantsPanel\":[32],\"query\":[32]}]]],[\"rtk-clock\",[[1,\"rtk-clock\",{\"meeting\":[16],\"iconPack\":[16],\"size\":[513],\"startedTime\":[32],\"timeDiff\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"startedTime\":[{\"startedTimeChanged\":0}]}]]],[\"rtk-file-dropzone\",[[1,\"rtk-file-dropzone\",{\"hostEl\":[16],\"iconPack\":[16],\"t\":[16],\"dropzoneActivated\":[32]}]]],[\"rtk-information-tooltip\",[[257,\"rtk-information-tooltip\",{\"iconPack\":[16]}]]],[\"rtk-network-indicator\",[[1,\"rtk-network-indicator\",{\"participant\":[16],\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"isScreenShare\":[4,\"is-screen-share\"],\"score\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}]]],[\"rtk-participant-count\",[[1,\"rtk-participant-count\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"participantCount\":[32],\"isViewer\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-recording-indicator\",[[1,\"rtk-recording-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isRecording\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-transcripts\",[[1,\"rtk-transcripts\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"transcripts\":[32],\"listenerAttached\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-waiting-screen\",[[257,\"rtk-waiting-screen\",{\"meeting\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-grid\",[[257,\"rtk-audio-grid\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"hideSelf\":[4,\"hide-self\"],\"activeParticipants\":[32],\"onStageParticipants\":[32],\"offStageParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-controlbar\",[[257,\"rtk-controlbar\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-header\",[[257,\"rtk-header\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-participant-setup\",[[257,\"rtk-participant-setup\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoState\":[32],\"isPinned\":[32]},null,{\"participant\":[{\"participantsChanged\":0}],\"videoState\":[{\"videoStateChanged\":0}]}]]],[\"rtk-simple-grid\",[[257,\"rtk-simple-grid\",{\"participants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"dimensions\":[32],\"mediaConnection\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-spotlight-grid\",[[1,\"rtk-spotlight-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16]}]]],[\"rtk-stage\",[[257,\"rtk-stage\",{\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ui-provider\",[[260,\"rtk-ui-provider\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"mode\":[513],\"showSetupScreen\":[4,\"show-setup-screen\"],\"overrides\":[16]},null,{\"meeting\":[{\"meetingChanged\":0}],\"iconPack\":[{\"iconPackChanged\":0}],\"t\":[{\"tChanged\":0}],\"config\":[{\"configChanged\":0}],\"overrides\":[{\"overridesChanged\":0}]}]]],[\"rtk-chat-message\",[[1,\"rtk-chat-message\",{\"message\":[16],\"isContinued\":[4,\"is-continued\"],\"child\":[16],\"isUnread\":[4,\"is-unread\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isSelf\":[4,\"is-self\"],\"canEdit\":[4,\"can-edit\"],\"canDelete\":[4,\"can-delete\"],\"canReply\":[4,\"can-reply\"],\"canPin\":[4,\"can-pin\"],\"disableControls\":[4,\"disable-controls\"],\"alignRight\":[4,\"align-right\"],\"senderDisplayPicture\":[1,\"sender-display-picture\"],\"hideAvatar\":[4,\"hide-avatar\"],\"leftAlign\":[4,\"left-align\"],\"now\":[32]}]]],[\"rtk-notification\",[[1,\"rtk-notification\",{\"notification\":[16],\"paused\":[4],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]},null,{\"paused\":[{\"pausedChanged\":0}],\"notification\":[{\"notificationChanged\":0}]}]]],[\"rtk-name-tag\",[[257,\"rtk-name-tag\",{\"participant\":[16],\"meeting\":[16],\"size\":[513],\"isScreenShare\":[4,\"is-screen-share\"],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"length\":[32]},null,{\"size\":[{\"sizeChanged\":0}]}]]],[\"rtk-transcript\",[[1,\"rtk-transcript\",{\"transcript\":[16],\"t\":[16],\"timeout\":[32]},null,{\"transcript\":[{\"transcriptChanged\":0}]}]]],[\"rtk-settings-audio_2\",[[1,\"rtk-settings-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-settings-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-plugin-main_2\",[[1,\"rtk-tab-bar\",{\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"layout\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[16],\"tabs\":[16]}],[257,\"rtk-plugin-main\",{\"meeting\":[16],\"plugin\":[16],\"iconPack\":[16],\"t\":[16],\"canDeactivatePlugin\":[32]},null,{\"plugin\":[{\"pluginChanged\":0}]}]]],[\"rtk-fullscreen-toggle\",[[1,\"rtk-fullscreen-toggle\",{\"states\":[16],\"targetElement\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"fullScreenActive\":[32],\"isFullScreenSupported\":[32]}]]],[\"rtk-dialog\",[[257,\"rtk-dialog\",{\"hideCloseButton\":[4,\"hide-close-button\"],\"disableEscapeKey\":[4,\"disable-escape-key\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"open\":[1540]}]]],[\"rtk-sidebar-ui\",[[257,\"rtk-sidebar-ui\",{\"view\":[513],\"tabs\":[16],\"hideHeader\":[4,\"hide-header\"],\"hideCloseAction\":[4,\"hide-close-action\"],\"currentTab\":[1,\"current-tab\"],\"iconPack\":[16],\"focusCloseButton\":[4,\"focus-close-button\"],\"t\":[16]},null,{\"currentTab\":[{\"handleFocusCloseButton\":0}]}]]],[\"rtk-spotlight-indicator\",[[1,\"rtk-spotlight-indicator\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"canSpotlight\":[32],\"isSpotlighted\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-ai-transcriptions\",[[1,\"rtk-ai-transcriptions\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"initialTranscriptions\":[16],\"searchQuery\":[32],\"isProcessing\":[32],\"transcriptions\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"transcriptions\":[{\"transcriptionsChanged\":0}]}]]],[\"rtk-ai_3\",[[1,\"rtk-polls\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"create\":[32],\"polls\":[32],\"permissions\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-ai\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513]}],[1,\"rtk-plugins\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"plugins\":[32],\"activatedPluginsId\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-livestream-indicator_3\",[[1,\"rtk-livestream-player\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"playbackUrl\":[32],\"isSupported\":[32],\"playerState\":[32],\"livestreamState\":[32],\"playerError\":[32],\"livestreamId\":[32],\"audioPlaybackError\":[32],\"qualityLevels\":[32],\"selectedQuality\":[32],\"currentTime\":[32],\"duration\":[32],\"hideControls\":[32],\"isDragging\":[32],\"seekPosition\":[32],\"isSeeking\":[32]},null,{\"livestreamState\":[{\"updateLivestreamId\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-livestream-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isLivestreaming\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-viewer-count\",{\"meeting\":[16],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"viewerCount\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-logo\",[[1,\"rtk-logo\",{\"logoUrl\":[1025,\"logo-url\"],\"config\":[16],\"meeting\":[16],\"t\":[16]},null,{\"config\":[{\"configChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-participant_2\",[[257,\"rtk-participant\",{\"meeting\":[16],\"states\":[16],\"view\":[1],\"participant\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"audioEnabled\":[32],\"videoEnabled\":[32],\"isPinned\":[32],\"isHidden\":[32],\"isOnStage\":[32],\"canDisableParticipantAudio\":[32],\"canDisableParticipantVideo\":[32],\"canKickParticipant\":[32],\"canPinParticipant\":[32],\"canAllowParticipantOnStage\":[32],\"menuOpen\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"participant\":[{\"participantChanged\":0}]}],[0,\"rtk-virtualized-participant-list\",{\"items\":[16],\"renderItem\":[16],\"itemHeight\":[1026,\"item-height\"],\"bufferedItemsCount\":[2,\"buffered-items-count\"],\"emptyListElement\":[16],\"visibleStart\":[32],\"visibleEnd\":[32]},null,{\"items\":[{\"itemsChanged\":0}]}]]],[\"rtk-participants-stage-list_4\",[[1,\"rtk-participants-viewer-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"search\":[1],\"t\":[16],\"stageViewers\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"search\":[{\"searchChanged\":0}]}],[1,\"rtk-participants-stage-queue\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"stageRequestedParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-participants-waiting-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"waitlistedParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-participants-stage-list\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"search\":[1],\"participants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"search\":[{\"searchChanged\":0}]}]]],[\"rtk-poll_2\",[[1,\"rtk-poll-form\",{\"iconPack\":[16],\"t\":[16],\"options\":[32],\"anonymous\":[32],\"hideVotes\":[32],\"error\":[32]}],[1,\"rtk-poll\",{\"poll\":[16],\"self\":[1],\"permissions\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-debugger-audio_4\",[[1,\"rtk-debugger-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"audioProducerScoreStats\":[{\"audioProducerScoreStatsChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-debugger-screenshare\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32]},null,{\"videoProducerScoreStats\":[{\"videoProducerScoreStatsChanged\":0}],\"audioProducerScoreStats\":[{\"audioProducerScoreStatsChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-debugger-system\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"batterySectionHealth\":[32],\"battery\":[32],\"batteryFormattedStats\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-debugger-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"videoProducerScoreStats\":[{\"videoProducerScoreStatsChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-switch\",[[1,\"rtk-switch\",{\"checked\":[1028],\"readonly\":[4],\"disabled\":[516],\"iconPack\":[16],\"t\":[16]},null,{\"checked\":[{\"checkedChange\":0}]}]]],[\"rtk-camera-selector_2\",[[257,\"rtk-participant-tile\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"meeting\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isPinned\":[32],\"mediaConnectionError\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"participant\":[{\"participantsChanged\":0}]}],[1,\"rtk-camera-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"videoDevices\":[32],\"currentDevice\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-breakout-room-manager_3\",[[1,\"rtk-breakout-room-manager\",{\"meeting\":[16],\"assigningParticipants\":[4,\"assigning-participants\"],\"mode\":[1],\"states\":[16],\"allowDelete\":[4,\"allow-delete\"],\"iconPack\":[16],\"t\":[16],\"isDragMode\":[4,\"is-drag-mode\"],\"room\":[16],\"defaultExpanded\":[4,\"default-expanded\"],\"editingTitleRoomId\":[32],\"newTitle\":[32],\"showExpandedCard\":[32],\"glowingCard\":[32]},null,{\"room\":[{\"roomChanged\":0}]}],[257,\"rtk-breakout-room-participants\",{\"meeting\":[16],\"participantIds\":[16],\"iconPack\":[16],\"t\":[16],\"selectedParticipantIds\":[16],\"search\":[32],\"participantsToShow\":[32],\"isDragging\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"participantIds\":[{\"participantsChanged\":0}],\"search\":[{\"searchChanged\":0}]}],[1,\"rtk-counter\",{\"size\":[513],\"value\":[2],\"minValue\":[2,\"min-value\"],\"iconPack\":[16],\"t\":[16],\"input\":[32]},null,{\"input\":[{\"watchStateHandler\":0}]}]]],[\"rtk-file-message_3\",[[0,\"rtk-image-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"],\"status\":[32]}],[0,\"rtk-file-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}],[0,\"rtk-text-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}]]],[\"rtk-breakout-rooms-manager_8\",[[1,\"rtk-breakout-rooms-manager\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"loading\":[32],\"roomConfig\":[32],\"draftState\":[32],\"assigningParticipants\":[32],\"selectedParticipants\":[32],\"ephemeralStatusText\":[32],\"isDragMode\":[32]},[[0,\"participantDelete\",\"onParticipantDelete\"],[0,\"participantsDragging\",\"toggleDragMode\"],[0,\"selectedParticipantsUpdate\",\"updateSelectedParticipants\"],[0,\"allParticipantsToggleUpdate\",\"updateAllParticipants\"]],{\"selectedParticipants\":[{\"onSelectedParticipantsChanged\":0}]}],[1,\"rtk-broadcast-message-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"messagePayload\":[32],\"successMessage\":[32]}],[1,\"rtk-join-stage\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"dataConfig\":[16],\"isLoading\":[32]}],[257,\"rtk-permissions-message\",{\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"states\":[16],\"device\":[32],\"currentStep\":[32],\"svgSteps\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-confirmation-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-leave-meeting\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"canEndMeeting\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-mute-all-confirmation\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"allowUnmute\":[32]}],[1,\"rtk-overlay-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-visualizer_3\",[[1,\"rtk-audio-visualizer\",{\"variant\":[513],\"participant\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"hideMuted\":[4,\"hide-muted\"],\"isScreenShare\":[4,\"is-screen-share\"],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}],[1,\"rtk-speaker-selector\",{\"meeting\":[16],\"states\":[16],\"variant\":[1],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"speakerDevices\":[32],\"currentDevices\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-microphone-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"audioinputDevices\":[32],\"canProduceAudio\":[32],\"currentDevices\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-controlbar-button\",[[17,\"rtk-controlbar-button\",{\"variant\":[513],\"showWarning\":[4,\"show-warning\"],\"size\":[513],\"label\":[1],\"icon\":[1],\"isLoading\":[4,\"is-loading\"],\"disabled\":[516],\"iconPack\":[16],\"brandIcon\":[516,\"brand-icon\"]}]]]]"), options);
4857
+ return bootstrapLazy(JSON.parse("[[\"rtk-avatar_26\",[[1,\"rtk-meeting\",{\"loadConfigFromPreset\":[1028,\"load-config-from-preset\"],\"applyDesignSystem\":[1028,\"apply-design-system\"],\"mode\":[513],\"leaveOnUnmount\":[4,\"leave-on-unmount\"],\"meeting\":[16],\"showSetupScreen\":[1028,\"show-setup-screen\"],\"t\":[16],\"config\":[1040],\"size\":[1537],\"gridLayout\":[1,\"grid-layout\"],\"iconPack\":[16],\"overrides\":[16]},null,{\"meeting\":[{\"meetingChanged\":0}],\"iconPack\":[{\"iconPackChanged\":0}],\"t\":[{\"tChanged\":0}],\"config\":[{\"configChanged\":0}],\"overrides\":[{\"overridesChanged\":0}]}],[257,\"rtk-chat\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"canPinMessages\":[32],\"now\":[32],\"dropzoneActivated\":[32],\"showLatestMessageButton\":[32],\"canSend\":[32],\"canSendTextMessage\":[32],\"canSendFiles\":[32],\"canPrivateMessage\":[32],\"canSendPrivateTexts\":[32],\"canSendPrivateFiles\":[32],\"emojiPickerEnabled\":[32],\"participants\":[32],\"selectedParticipant\":[32],\"editingMessage\":[32],\"replyMessage\":[32],\"searchQuery\":[32],\"selectorState\":[32],\"isSendingMessage\":[32],\"showPinnedMessages\":[32]},[[8,\"editMessageInit\",\"onEditMessageInit\"],[0,\"rtkChatSelectorChange\",\"onChatSelectorChange\"]],{\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-chat-messages-ui-paginated\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"privateChatRecipient\":[16],\"children\":[32],\"permissionsChanged\":[32]},[[8,\"rtkPinnedMessageSelect\",\"onPinnedMessageSelect\"]],{\"privateChatRecipient\":[{\"privateChatRecipientChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-chat-composer-view\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"isSending\":[4,\"is-sending\"],\"canSendFiles\":[4,\"can-send-files\"],\"message\":[1],\"quotedMessage\":[1,\"quoted-message\"],\"storageKey\":[1,\"storage-key\"],\"inputTextPlaceholder\":[1,\"input-text-placeholder\"],\"isEditing\":[4,\"is-editing\"],\"iconPack\":[16],\"t\":[16],\"maxLength\":[2,\"max-length\"],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"rateLimits\":[16],\"fileToUpload\":[32],\"isEmojiPickerOpen\":[32],\"disableSendButton\":[32],\"rateLimitsBreached\":[32]}],[1,\"rtk-chat-header\"],[257,\"rtk-chat-selector\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"size\":[513],\"isOpen\":[32],\"showPrivateChat\":[32],\"selectedUser\":[32],\"pageSize\":[32],\"pagesAllowed\":[32],\"unreadMap\":[32],\"close\":[64]},null,{\"overrides\":[{\"overridesChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-pinned-message-selector\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"isOpen\":[32],\"pageSize\":[32],\"pagesAllowed\":[32],\"showPinnedMessages\":[32],\"close\":[64]},[[8,\"rtkChatSelectorChange\",\"onChatSelectorChange\"]],{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-draft-attachment-view\",{\"iconPack\":[16],\"t\":[16],\"attachment\":[16],\"filePreview\":[32]},null,{\"attachment\":[{\"onAttachmentChange\":0}]}],[1,\"rtk-emoji-picker-button\",{\"iconPack\":[16],\"t\":[16],\"isActive\":[4,\"is-active\"]}],[1,\"rtk-file-picker-button\",{\"filter\":[1],\"label\":[1],\"icon\":[1],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-text-composer-view\",{\"disabled\":[4],\"placeholder\":[1],\"value\":[1],\"maxLength\":[2,\"max-length\"],\"rateLimitBreached\":[4,\"rate-limit-breached\"],\"keyDownHandler\":[16],\"iconPack\":[16],\"t\":[16],\"maxLengthBreached\":[32],\"setText\":[64]}],[257,\"rtk-message-view\",{\"actions\":[16],\"messageType\":[1,\"message-type\"],\"isEdited\":[4,\"is-edited\"],\"variant\":[1],\"pinned\":[4],\"viewType\":[1,\"view-type\"],\"avatarUrl\":[1,\"avatar-url\"],\"hideAvatar\":[4,\"hide-avatar\"],\"authorName\":[1,\"author-name\"],\"isSelf\":[4,\"is-self\"],\"hideAuthorName\":[4,\"hide-author-name\"],\"hideMetadata\":[4,\"hide-metadata\"],\"time\":[16],\"iconPack\":[16]}],[1,\"rtk-emoji-picker\",{\"iconPack\":[16],\"t\":[16],\"focusWhenOpened\":[4,\"focus-when-opened\"],\"emojiList\":[32],\"filterVal\":[32],\"filteredEmojis\":[32]}],[1,\"rtk-image-message-view\",{\"url\":[1],\"iconPack\":[16],\"t\":[16],\"status\":[32]}],[1,\"rtk-file-message-view\",{\"name\":[1],\"size\":[2],\"url\":[1],\"iconPack\":[16]}],[0,\"rtk-text-message-view\",{\"text\":[1],\"isMarkdown\":[4,\"is-markdown\"]}],[1,\"rtk-markdown-view\",{\"text\":[1],\"maxLength\":[2,\"max-length\"]}],[1,\"rtk-paginated-list\",{\"pageSize\":[2,\"page-size\"],\"pagesAllowed\":[2,\"pages-allowed\"],\"emptyListLabel\":[1,\"empty-list-label\"],\"fetchData\":[16],\"createNodes\":[16],\"autoScroll\":[4,\"auto-scroll\"],\"iconPack\":[16],\"t\":[16],\"rerenderBoolean\":[32],\"showEmptyListLabel\":[32],\"isLoading\":[32],\"isLoadingTop\":[32],\"isLoadingBottom\":[32],\"rerenderList\":[64],\"onNewNode\":[64],\"onNodeDelete\":[64],\"onNodeUpdate\":[64],\"reset\":[64]}],[257,\"rtk-menu\",{\"size\":[513],\"placement\":[1],\"offset\":[2],\"iconPack\":[16],\"t\":[16]}],[257,\"rtk-menu-item\",{\"size\":[513],\"menuVariant\":[1,\"menu-variant\"],\"iconPack\":[16],\"t\":[16]}],[257,\"rtk-menu-list\",{\"iconPack\":[16],\"menuVariant\":[1,\"menu-variant\"],\"t\":[16]}],[257,\"rtk-avatar\",{\"participant\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]}],[257,\"rtk-tooltip\",{\"label\":[1],\"variant\":[513],\"disabled\":[516],\"open\":[516],\"kind\":[513],\"size\":[513],\"placement\":[1],\"delay\":[2],\"isInFocus\":[32]},null,{\"open\":[{\"openChanged\":0}]}],[1,\"rtk-spinner\",{\"iconPack\":[16],\"size\":[513]}],[273,\"rtk-button\",{\"size\":[513],\"variant\":[513],\"kind\":[513],\"reverse\":[516],\"disabled\":[516],\"type\":[513]}],[1,\"rtk-icon\",{\"icon\":[1],\"variant\":[513],\"size\":[513]}]]],[\"rtk-dialog-manager\",[[1,\"rtk-dialog-manager\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-participants\",[[257,\"rtk-participants\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"defaultParticipantsTabId\":[1,\"default-participants-tab-id\"],\"t\":[16],\"currentParticipantsTabId\":[32],\"tabs\":[32],\"hasRequests\":[32],\"search\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"currentParticipantsTabId\":[{\"currentParticipantsTabIdChanged\":0}]}]]],[\"rtk-chat-messages-ui\",[[1,\"rtk-chat-messages-ui\",{\"selectedGroup\":[1,\"selected-group\"],\"messages\":[16],\"selfUserId\":[1,\"self-user-id\"],\"canPinMessages\":[4,\"can-pin-messages\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"now\":[32],\"showLatestMessageButton\":[32]},null,{\"messages\":[{\"chatChanged\":0}],\"selectedGroup\":[{\"selectedBucketChanged\":0}]}]]],[\"rtk-chat-search-results\",[[1,\"rtk-chat-search-results\",{\"meeting\":[16],\"query\":[1],\"channelId\":[1,\"channel-id\"],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-settings\",[[1,\"rtk-settings\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"networkStatus\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-sidebar\",[[1,\"rtk-sidebar\",{\"enabledSections\":[1040],\"defaultSection\":[1,\"default-section\"],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513],\"currentTab\":[32],\"isFloating\":[32],\"enablePinning\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"view\":[{\"viewChanged\":0}]}]]],[\"rtk-camera-toggle\",[[257,\"rtk-camera-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"hideDeviceSelectionMenu\":[516,\"hide-device-selection-menu\"],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32],\"canProduceVideo\":[32],\"cameraPermission\":[32],\"stageStatus\":[32],\"videoDevices\":[32],\"currentDevice\":[32],\"hasAdditionalMenuItems\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-grid\",[[1,\"rtk-grid\",{\"layout\":[513],\"aspectRatio\":[513,\"aspect-ratio\"],\"meeting\":[16],\"gap\":[514],\"size\":[513],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"overrides\":[8],\"participants\":[32],\"pinnedParticipants\":[32],\"screenShareParticipants\":[32],\"plugins\":[32],\"emptyStage\":[32],\"showLiveStreamPlayer\":[32],\"canCurrentPeerHost\":[32],\"pipSupported\":[32],\"pipEnabled\":[32],\"hidden\":[32],\"roomState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"overrides\":[{\"overridesChanged\":0}],\"screenShareParticipants\":[{\"screenShareParticipantsChanged\":0}],\"plugins\":[{\"pluginsChanged\":0}],\"pinnedParticipants\":[{\"pinnedParticipantsChanged\":0}]}]]],[\"rtk-mic-toggle\",[[257,\"rtk-mic-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"hideDeviceSelectionMenu\":[516,\"hide-device-selection-menu\"],\"iconPack\":[16],\"t\":[16],\"audioEnabled\":[32],\"canProduceAudio\":[32],\"micPermission\":[32],\"stageStatus\":[32],\"audioInputDevices\":[32],\"speakerDevices\":[32],\"currentDevices\":[32],\"hasAdditionalMenuItems\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-screen-share-toggle\",[[1,\"rtk-screen-share-toggle\",{\"states\":[16],\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"maxScreenShareCount\":[32],\"screenShareCount\":[32],\"screenShareEnabled\":[32],\"canScreenShare\":[32],\"shareScreenPermission\":[32],\"screenShareState\":[32],\"stageStatus\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"t\":[{\"screenShareAppearanceChanged\":0}],\"iconPack\":[{\"screenShareAppearanceChanged\":0}]}]]],[\"rtk-chat-composer-ui\",[[257,\"rtk-chat-composer-ui\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"canSendFiles\":[4,\"can-send-files\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"prefill\":[16],\"members\":[16],\"emojiPickerActive\":[32],\"mentionQuery\":[32],\"focusedMemberIndex\":[32],\"filePreview\":[32]}]]],[\"rtk-debugger\",[[1,\"rtk-debugger\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"progress\":[32]},[[0,\"testProgress\",\"progressUpdate\"]]]]],[\"rtk-mixed-grid\",[[1,\"rtk-mixed-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"screenShareParticipants\":[16],\"plugins\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"activeTab\":[32],\"initialised\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"screenShareParticipants\":[{\"screenShareParticipantsChanged\":0}],\"plugins\":[{\"pluginsChanged\":0}]}]]],[\"rtk-setup-screen\",[[1,\"rtk-setup-screen\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"displayName\":[32],\"isJoining\":[32],\"joinError\":[32],\"joinErrorCode\":[32],\"canEditName\":[32],\"canProduceAudio\":[32],\"connectionState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-screenshare-view\",[[257,\"rtk-screenshare-view\",{\"hideFullScreenButton\":[4,\"hide-full-screen-button\"],\"maxVisibleViewerAvatars\":[2,\"max-visible-viewer-avatars\"],\"nameTagPosition\":[513,\"name-tag-position\"],\"participant\":[16],\"meeting\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"viewerVisibilityRevision\":[32],\"videoExpanded\":[32],\"screenShareEnabled\":[32],\"isSwitchingScreen\":[32],\"isFullScreen\":[32],\"remoteControlInfo\":[32],\"previewedViewerId\":[32],\"showRemainingViewers\":[32]},null,{\"participant\":[{\"participantChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-audio-tile\",[[257,\"rtk-audio-tile\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"participant\":[16],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}]]],[\"rtk-mute-all-button\",[[1,\"rtk-mute-all-button\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canDisable\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-stage-toggle\",[[1,\"rtk-stage-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"states\":[16],\"t\":[16],\"stageStatus\":[32],\"state\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-ai-toggle\",[[1,\"rtk-ai-toggle\",{\"variant\":[513],\"states\":[16],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"aiActive\":[32]},null,{\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-breakout-rooms-toggle\",[[1,\"rtk-breakout-rooms-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canToggle\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-caption-toggle\",[[1,\"rtk-caption-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"captionEnabled\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-chat-toggle\",[[1,\"rtk-chat-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"unreadMessageCount\":[32],\"chatActive\":[32],\"canViewChat\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"chatActive\":[{\"handleChatActiveChange\":0}]}]]],[\"rtk-debugger-toggle\",[[1,\"rtk-debugger-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513]}]]],[\"rtk-grid-pagination\",[[1,\"rtk-grid-pagination\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"page\":[32],\"pageCount\":[32],\"activeCount\":[32],\"activeComputedCount\":[32],\"showPagination\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"size\":[{\"sizeChanged\":0}]}]]],[\"rtk-idle-screen\",[[257,\"rtk-idle-screen\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"preJoinError\":[32],\"connectionState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-leave-button\",[[1,\"rtk-leave-button\",{\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-livestream-toggle\",[[1,\"rtk-livestream-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"livestreamState\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-meeting-title\",[[1,\"rtk-meeting-title\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"meetingTitle\":[32],\"canEdit\":[32],\"isEditing\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-more-toggle\",[[257,\"rtk-more-toggle\",{\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-notifications\",[[1,\"rtk-notifications\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"size\":[513],\"iconPack\":[16],\"notifications\":[32],\"paused\":[32]},[[8,\"rtkApiError\",\"apiErrorListener\"],[8,\"rtkSendNotification\",\"sendNotificationListener\"]],{\"meeting\":[{\"meetingChanged\":0}],\"config\":[{\"configChanged\":0}]}]]],[\"rtk-participants-audio\",[[1,\"rtk-participants-audio\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"preloadedAudioElem\":[16],\"showPlayDialog\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-participants-toggle\",[[1,\"rtk-participants-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"participantsActive\":[32],\"waitlistedParticipants\":[32],\"stageRequestedParticipants\":[32],\"badgeCount\":[32],\"canViewParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"participantsActive\":[{\"handleParticipantsActiveChange\":0}]}]]],[\"rtk-pip-toggle\",[[1,\"rtk-pip-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"pipSupported\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-plugins-toggle\",[[1,\"rtk-plugins-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pluginsActive\":[32],\"canViewPlugins\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"pluginsActive\":[{\"handlePluginsActiveChange\":0}]}]]],[\"rtk-polls-toggle\",[[1,\"rtk-polls-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pollsActive\":[32],\"unreadPollsCount\":[32],\"canViewPolls\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}],\"pollsActive\":[{\"handlePollsActiveChange\":0}]}]]],[\"rtk-recording-toggle\",[[1,\"rtk-recording-toggle\",{\"variant\":[513],\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513],\"disabled\":[4],\"recordingState\":[32],\"canRecord\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-settings-toggle\",[[1,\"rtk-settings-toggle\",{\"variant\":[513],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ended-screen\",[[1,\"rtk-ended-screen\",{\"config\":[16],\"size\":[513],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"meeting\":[16],\"icon\":[32],\"message\":[32]},null,{\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-image-viewer\",[[1,\"rtk-image-viewer\",{\"image\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16]}]]],[\"rtk-message-list-view\",[[0,\"rtk-message-list-view\",{\"messages\":[16],\"renderer\":[16],\"loadMore\":[16],\"visibleItemsCount\":[2,\"visible-items-count\"],\"estimateItemSize\":[2,\"estimate-item-size\"],\"iconPack\":[16],\"range\":[32],\"isFetching\":[32],\"autoScroll\":[32],\"totalHeight\":[32]},null,{\"messages\":[{\"messagesUpdated\":0}]}]]],[\"rtk-chat-selector-ui\",[[1,\"rtk-chat-selector-ui\",{\"selfUserId\":[1,\"self-user-id\"],\"selectedGroupId\":[1,\"selected-group-id\"],\"unreadCounts\":[16],\"groups\":[16],\"iconPack\":[16],\"t\":[16],\"showParticipantsPanel\":[32],\"query\":[32]}]]],[\"rtk-clock\",[[1,\"rtk-clock\",{\"meeting\":[16],\"iconPack\":[16],\"size\":[513],\"startedTime\":[32],\"timeDiff\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"startedTime\":[{\"startedTimeChanged\":0}]}]]],[\"rtk-file-dropzone\",[[1,\"rtk-file-dropzone\",{\"hostEl\":[16],\"iconPack\":[16],\"t\":[16],\"dropzoneActivated\":[32]}]]],[\"rtk-information-tooltip\",[[257,\"rtk-information-tooltip\",{\"iconPack\":[16]}]]],[\"rtk-network-indicator\",[[1,\"rtk-network-indicator\",{\"participant\":[16],\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"isScreenShare\":[4,\"is-screen-share\"],\"score\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}]]],[\"rtk-participant-count\",[[1,\"rtk-participant-count\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"participantCount\":[32],\"isViewer\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-recording-indicator\",[[1,\"rtk-recording-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isRecording\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-transcripts\",[[1,\"rtk-transcripts\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"transcripts\":[32],\"listenerAttached\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"states\":[{\"statesChanged\":0}]}]]],[\"rtk-waiting-screen\",[[257,\"rtk-waiting-screen\",{\"meeting\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-grid\",[[257,\"rtk-audio-grid\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"hideSelf\":[4,\"hide-self\"],\"activeParticipants\":[32],\"onStageParticipants\":[32],\"offStageParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-controlbar\",[[257,\"rtk-controlbar\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-header\",[[257,\"rtk-header\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-participant-setup\",[[257,\"rtk-participant-setup\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoState\":[32],\"isPinned\":[32]},null,{\"participant\":[{\"participantsChanged\":0}],\"videoState\":[{\"videoStateChanged\":0}]}]]],[\"rtk-simple-grid\",[[257,\"rtk-simple-grid\",{\"participants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"dimensions\":[32],\"mediaConnection\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-spotlight-grid\",[[1,\"rtk-spotlight-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16]}]]],[\"rtk-stage\",[[257,\"rtk-stage\",{\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ui-provider\",[[260,\"rtk-ui-provider\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"mode\":[513],\"showSetupScreen\":[4,\"show-setup-screen\"],\"overrides\":[16]},null,{\"meeting\":[{\"meetingChanged\":0}],\"iconPack\":[{\"iconPackChanged\":0}],\"t\":[{\"tChanged\":0}],\"config\":[{\"configChanged\":0}],\"overrides\":[{\"overridesChanged\":0}]}]]],[\"rtk-chat-message\",[[1,\"rtk-chat-message\",{\"message\":[16],\"isContinued\":[4,\"is-continued\"],\"child\":[16],\"isUnread\":[4,\"is-unread\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isSelf\":[4,\"is-self\"],\"canEdit\":[4,\"can-edit\"],\"canDelete\":[4,\"can-delete\"],\"canReply\":[4,\"can-reply\"],\"canPin\":[4,\"can-pin\"],\"disableControls\":[4,\"disable-controls\"],\"alignRight\":[4,\"align-right\"],\"senderDisplayPicture\":[1,\"sender-display-picture\"],\"hideAvatar\":[4,\"hide-avatar\"],\"leftAlign\":[4,\"left-align\"],\"now\":[32]}]]],[\"rtk-notification\",[[1,\"rtk-notification\",{\"notification\":[16],\"paused\":[4],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]},null,{\"paused\":[{\"pausedChanged\":0}],\"notification\":[{\"notificationChanged\":0}]}]]],[\"rtk-name-tag\",[[257,\"rtk-name-tag\",{\"participant\":[16],\"meeting\":[16],\"size\":[513],\"isScreenShare\":[4,\"is-screen-share\"],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"length\":[32]},null,{\"size\":[{\"sizeChanged\":0}]}]]],[\"rtk-transcript\",[[1,\"rtk-transcript\",{\"transcript\":[16],\"t\":[16],\"timeout\":[32]},null,{\"transcript\":[{\"transcriptChanged\":0}]}]]],[\"rtk-settings-audio_2\",[[1,\"rtk-settings-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-settings-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-plugin-main_2\",[[1,\"rtk-tab-bar\",{\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"layout\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[16],\"tabs\":[16]}],[257,\"rtk-plugin-main\",{\"meeting\":[16],\"plugin\":[16],\"iconPack\":[16],\"t\":[16],\"canDeactivatePlugin\":[32]},null,{\"plugin\":[{\"pluginChanged\":0}]}]]],[\"rtk-fullscreen-toggle\",[[1,\"rtk-fullscreen-toggle\",{\"states\":[16],\"targetElement\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"fullScreenActive\":[32],\"isFullScreenSupported\":[32]}]]],[\"rtk-dialog\",[[257,\"rtk-dialog\",{\"hideCloseButton\":[4,\"hide-close-button\"],\"disableEscapeKey\":[4,\"disable-escape-key\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"open\":[1540]}]]],[\"rtk-sidebar-ui\",[[257,\"rtk-sidebar-ui\",{\"view\":[513],\"tabs\":[16],\"hideHeader\":[4,\"hide-header\"],\"hideCloseAction\":[4,\"hide-close-action\"],\"currentTab\":[1,\"current-tab\"],\"iconPack\":[16],\"focusCloseButton\":[4,\"focus-close-button\"],\"t\":[16]},null,{\"currentTab\":[{\"handleFocusCloseButton\":0}]}]]],[\"rtk-spotlight-indicator\",[[1,\"rtk-spotlight-indicator\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"canSpotlight\":[32],\"isSpotlighted\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-ai-transcriptions\",[[1,\"rtk-ai-transcriptions\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"initialTranscriptions\":[16],\"searchQuery\":[32],\"isProcessing\":[32],\"transcriptions\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"transcriptions\":[{\"transcriptionsChanged\":0}]}]]],[\"rtk-ai_3\",[[1,\"rtk-polls\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"create\":[32],\"polls\":[32],\"permissions\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-ai\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513]}],[1,\"rtk-plugins\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"plugins\":[32],\"activatedPluginsId\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-livestream-indicator_3\",[[1,\"rtk-livestream-player\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"playbackUrl\":[32],\"isSupported\":[32],\"playerState\":[32],\"livestreamState\":[32],\"playerError\":[32],\"livestreamId\":[32],\"audioPlaybackError\":[32],\"qualityLevels\":[32],\"selectedQuality\":[32],\"currentTime\":[32],\"duration\":[32],\"hideControls\":[32],\"isDragging\":[32],\"seekPosition\":[32],\"isSeeking\":[32]},null,{\"livestreamState\":[{\"updateLivestreamId\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-livestream-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isLivestreaming\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-viewer-count\",{\"meeting\":[16],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"viewerCount\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-logo\",[[1,\"rtk-logo\",{\"logoUrl\":[1025,\"logo-url\"],\"config\":[16],\"meeting\":[16],\"t\":[16]},null,{\"config\":[{\"configChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-participant_2\",[[257,\"rtk-participant\",{\"meeting\":[16],\"states\":[16],\"view\":[1],\"participant\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"audioEnabled\":[32],\"videoEnabled\":[32],\"isPinned\":[32],\"isHidden\":[32],\"isOnStage\":[32],\"canDisableParticipantAudio\":[32],\"canDisableParticipantVideo\":[32],\"canKickParticipant\":[32],\"canPinParticipant\":[32],\"canAllowParticipantOnStage\":[32],\"menuOpen\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"participant\":[{\"participantChanged\":0}]}],[0,\"rtk-virtualized-participant-list\",{\"items\":[16],\"renderItem\":[16],\"itemHeight\":[1026,\"item-height\"],\"bufferedItemsCount\":[2,\"buffered-items-count\"],\"emptyListElement\":[16],\"visibleStart\":[32],\"visibleEnd\":[32]},null,{\"items\":[{\"itemsChanged\":0}]}]]],[\"rtk-participants-stage-list_4\",[[1,\"rtk-participants-viewer-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"search\":[1],\"t\":[16],\"stageViewers\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"search\":[{\"searchChanged\":0}]}],[1,\"rtk-participants-stage-queue\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"stageRequestedParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-participants-waiting-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"waitlistedParticipants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-participants-stage-list\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"search\":[1],\"participants\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"search\":[{\"searchChanged\":0}]}]]],[\"rtk-poll_2\",[[1,\"rtk-poll-form\",{\"iconPack\":[16],\"t\":[16],\"options\":[32],\"anonymous\":[32],\"hideVotes\":[32],\"error\":[32]}],[1,\"rtk-poll\",{\"poll\":[16],\"self\":[1],\"permissions\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-debugger-audio_4\",[[1,\"rtk-debugger-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"audioProducerScoreStats\":[{\"audioProducerScoreStatsChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-debugger-screenshare\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32]},null,{\"videoProducerScoreStats\":[{\"videoProducerScoreStatsChanged\":0}],\"audioProducerScoreStats\":[{\"audioProducerScoreStatsChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-debugger-system\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"batterySectionHealth\":[32],\"battery\":[32],\"batteryFormattedStats\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-debugger-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"videoProducerScoreStats\":[{\"videoProducerScoreStatsChanged\":0}],\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-switch\",[[1,\"rtk-switch\",{\"checked\":[1028],\"readonly\":[4],\"disabled\":[516],\"iconPack\":[16],\"t\":[16]},null,{\"checked\":[{\"checkedChange\":0}]}]]],[\"rtk-camera-selector_2\",[[257,\"rtk-participant-tile\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"meeting\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isPinned\":[32],\"mediaConnectionError\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"participant\":[{\"participantsChanged\":0}]}],[1,\"rtk-camera-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"videoDevices\":[32],\"currentDevice\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-breakout-room-manager_3\",[[1,\"rtk-breakout-room-manager\",{\"meeting\":[16],\"assigningParticipants\":[4,\"assigning-participants\"],\"mode\":[1],\"states\":[16],\"allowDelete\":[4,\"allow-delete\"],\"iconPack\":[16],\"t\":[16],\"isDragMode\":[4,\"is-drag-mode\"],\"room\":[16],\"defaultExpanded\":[4,\"default-expanded\"],\"editingTitleRoomId\":[32],\"newTitle\":[32],\"showExpandedCard\":[32],\"glowingCard\":[32]},null,{\"room\":[{\"roomChanged\":0}]}],[257,\"rtk-breakout-room-participants\",{\"meeting\":[16],\"participantIds\":[16],\"iconPack\":[16],\"t\":[16],\"selectedParticipantIds\":[16],\"search\":[32],\"participantsToShow\":[32],\"isDragging\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}],\"participantIds\":[{\"participantsChanged\":0}],\"search\":[{\"searchChanged\":0}]}],[1,\"rtk-counter\",{\"size\":[513],\"value\":[2],\"minValue\":[2,\"min-value\"],\"iconPack\":[16],\"t\":[16],\"input\":[32]},null,{\"input\":[{\"watchStateHandler\":0}]}]]],[\"rtk-file-message_3\",[[0,\"rtk-image-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"],\"status\":[32]}],[0,\"rtk-file-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}],[0,\"rtk-text-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}]]],[\"rtk-breakout-rooms-manager_8\",[[1,\"rtk-breakout-rooms-manager\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"loading\":[32],\"roomConfig\":[32],\"draftState\":[32],\"assigningParticipants\":[32],\"selectedParticipants\":[32],\"ephemeralStatusText\":[32],\"isDragMode\":[32]},[[0,\"participantDelete\",\"onParticipantDelete\"],[0,\"participantsDragging\",\"toggleDragMode\"],[0,\"selectedParticipantsUpdate\",\"updateSelectedParticipants\"],[0,\"allParticipantsToggleUpdate\",\"updateAllParticipants\"]],{\"selectedParticipants\":[{\"onSelectedParticipantsChanged\":0}]}],[1,\"rtk-broadcast-message-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"messagePayload\":[32],\"successMessage\":[32]}],[1,\"rtk-join-stage\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"dataConfig\":[16],\"isLoading\":[32]}],[257,\"rtk-permissions-message\",{\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"states\":[16],\"device\":[32],\"currentStep\":[32],\"svgSteps\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-confirmation-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-leave-meeting\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"canEndMeeting\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[1,\"rtk-mute-all-confirmation\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"allowUnmute\":[32]}],[1,\"rtk-overlay-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-visualizer_3\",[[1,\"rtk-audio-visualizer\",{\"variant\":[513],\"participant\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"hideMuted\":[4,\"hide-muted\"],\"isScreenShare\":[4,\"is-screen-share\"],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[{\"participantChanged\":0}]}],[1,\"rtk-speaker-selector\",{\"meeting\":[16],\"states\":[16],\"variant\":[1],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"speakerDevices\":[32],\"currentDevices\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}],[257,\"rtk-microphone-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"audioinputDevices\":[32],\"canProduceAudio\":[32],\"currentDevices\":[32]},null,{\"meeting\":[{\"meetingChanged\":0}]}]]],[\"rtk-controlbar-button\",[[17,\"rtk-controlbar-button\",{\"variant\":[513],\"showWarning\":[4,\"show-warning\"],\"size\":[513],\"label\":[1],\"icon\":[1],\"isLoading\":[4,\"is-loading\"],\"disabled\":[516],\"iconPack\":[16],\"brandIcon\":[516,\"brand-icon\"]}]]]]"), options);
4858
4858
  };
4859
4859
 
4860
+ const isFirefox = (meeting) => { var _a; return (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.browserSpecs.isFirefox(); };
4861
+
4862
+ const SOUNDS = {
4863
+ joined: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
4864
+ left: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
4865
+ message: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_message.mp3',
4866
+ };
4867
+ /**
4868
+ * Checks that a value is the name of a built-in sound: `joined`, `left` or `message`.
4869
+ */
4870
+ function isBuiltInSoundName(value) {
4871
+ return typeof value === 'string' && Object.prototype.hasOwnProperty.call(SOUNDS, value);
4872
+ }
4873
+ const AUDIO_FILE_EXTENSIONS = ['.mp3', '.wav', '.ogg', '.m4a', '.aac', '.flac', '.opus', '.webm'];
4874
+ /**
4875
+ * Checks that a value is a valid sound URL.
4876
+ * It must be an absolute URL that starts with `https://` or `http://` and ends with a
4877
+ * supported audio file extension: `.mp3`, `.wav`, `.ogg`, `.m4a`, `.aac`, `.flac`, `.opus`
4878
+ * or `.webm`.
4879
+ * A query string after the extension is allowed.
4880
+ */
4881
+ function isAudioFileUrl(url) {
4882
+ if (!url || typeof url !== 'string')
4883
+ return false;
4884
+ let parsedUrl;
4885
+ try {
4886
+ // no base URL: a relative path is not a valid URL here
4887
+ parsedUrl = new URL(url);
4888
+ }
4889
+ catch (error) {
4890
+ return false;
4891
+ }
4892
+ if (parsedUrl.protocol !== 'https:' && parsedUrl.protocol !== 'http:')
4893
+ return false;
4894
+ const path = parsedUrl.pathname.toLowerCase();
4895
+ return AUDIO_FILE_EXTENSIONS.some((extension) => path.endsWith(extension));
4896
+ }
4897
+ /**
4898
+ * Handles notification sounds in a meeting
4899
+ */
4900
+ class RTKNotificationsAudio {
4901
+ constructor(meeting) {
4902
+ this.meeting = meeting;
4903
+ this.audio = document.createElement('audio');
4904
+ this.audio.volume = 0.3;
4905
+ }
4906
+ /**
4907
+ * Plays one of the built-in notification sounds: `joined`, `left` or `message`.
4908
+ * After a sound starts, no other sound can start for `duration` milliseconds.
4909
+ * A call during that time does nothing.
4910
+ * @param sound The name of the built-in sound
4911
+ * @param duration How long this sound plays before other sounds can start, in milliseconds
4912
+ */
4913
+ play(sound, duration = 3000) {
4914
+ this.playUrlSound(SOUNDS[sound], duration);
4915
+ }
4916
+ /**
4917
+ * Plays an audio file from a URL.
4918
+ * It must be an absolute URL that starts with `https://` or `http://` and ends with a
4919
+ * supported audio file extension: `.mp3`, `.wav`, `.ogg`, `.m4a`, `.aac`, `.flac`, `.opus`
4920
+ * or `.webm`.
4921
+ * Any other URL is ignored.
4922
+ * @param url The URL of the audio file to play
4923
+ * @param duration How long this sound plays before other sounds can start, in milliseconds
4924
+ */
4925
+ playUrl(url, duration = 3000) {
4926
+ if (!isAudioFileUrl(url))
4927
+ return;
4928
+ this.playUrlSound(url, duration);
4929
+ }
4930
+ playUrlSound(source, duration) {
4931
+ var _a;
4932
+ if (this.playing)
4933
+ return;
4934
+ this.playing = true;
4935
+ this.audio.src = source;
4936
+ this.audio.volume = 0.3;
4937
+ (_a = this.audio.play()) === null || _a === void 0 ? void 0 : _a.catch((_) => { });
4938
+ setTimeout(() => {
4939
+ this.playing = false;
4940
+ }, duration);
4941
+ }
4942
+ async setDevice(id) {
4943
+ var _a, _b, _c;
4944
+ if (isFirefox(this.meeting))
4945
+ return;
4946
+ await ((_c = (_b = (_a = this.audio) === null || _a === void 0 ? void 0 : _a.setSinkId) === null || _b === void 0 ? void 0 : _b.call(_a, id)) === null || _c === void 0 ? void 0 : _c.catch((_) => { }));
4947
+ }
4948
+ }
4949
+
4950
+ const DEFAULT_NOTIFICATION_DURATION = 2000;
4951
+ const DEFAULT_NOTIFICATION_CONFIG = Object.freeze({
4952
+ notifications: {
4953
+ participant_joined: true,
4954
+ participant_left: true,
4955
+ participant_joined_waitlist: true,
4956
+ chat_new_message: true,
4957
+ chat_message_edited: false,
4958
+ chat_message_deleted: false,
4959
+ polls_new_poll: true,
4960
+ tab_sync_plugin_switched: true,
4961
+ tab_sync_screen_share_switched: true,
4962
+ recording_started: true,
4963
+ recording_stopped: true,
4964
+ stage_requested_to_join: false,
4965
+ stage_joined: false,
4966
+ stage_request_accepted: true,
4967
+ stage_request_rejected: true,
4968
+ stage_new_request_received: true,
4969
+ stage_invite_sent: true,
4970
+ speaker_switched: true,
4971
+ camera_switched: true,
4972
+ microphone_switched: true,
4973
+ network_restored: true,
4974
+ network_reconnecting: true,
4975
+ network_delayed: true,
4976
+ network_disconnected: true,
4977
+ network_failed: true,
4978
+ api_error: true,
4979
+ custom: true,
4980
+ },
4981
+ notification_sounds: {
4982
+ participant_joined: true,
4983
+ participant_left: false,
4984
+ participant_joined_waitlist: true,
4985
+ chat_new_message: true,
4986
+ chat_message_edited: false,
4987
+ chat_message_deleted: false,
4988
+ polls_new_poll: true,
4989
+ tab_sync_plugin_switched: false,
4990
+ tab_sync_screen_share_switched: false,
4991
+ recording_started: false,
4992
+ recording_stopped: false,
4993
+ stage_requested_to_join: false,
4994
+ stage_joined: false,
4995
+ stage_request_accepted: false,
4996
+ stage_request_rejected: false,
4997
+ stage_new_request_received: false,
4998
+ stage_invite_sent: false,
4999
+ speaker_switched: false,
5000
+ camera_switched: false,
5001
+ microphone_switched: false,
5002
+ network_restored: false,
5003
+ network_reconnecting: false,
5004
+ network_delayed: false,
5005
+ network_disconnected: false,
5006
+ network_failed: false,
5007
+ api_error: false,
5008
+ custom: true,
5009
+ },
5010
+ notification_duration: {
5011
+ participant_joined: 2100,
5012
+ participant_left: 2100,
5013
+ participant_joined_waitlist: 4000,
5014
+ chat_new_message: DEFAULT_NOTIFICATION_DURATION,
5015
+ chat_message_edited: DEFAULT_NOTIFICATION_DURATION,
5016
+ chat_message_deleted: DEFAULT_NOTIFICATION_DURATION,
5017
+ polls_new_poll: DEFAULT_NOTIFICATION_DURATION,
5018
+ tab_sync_plugin_switched: 2100,
5019
+ tab_sync_screen_share_switched: DEFAULT_NOTIFICATION_DURATION,
5020
+ recording_started: DEFAULT_NOTIFICATION_DURATION,
5021
+ recording_stopped: DEFAULT_NOTIFICATION_DURATION,
5022
+ stage_requested_to_join: DEFAULT_NOTIFICATION_DURATION,
5023
+ stage_joined: DEFAULT_NOTIFICATION_DURATION,
5024
+ stage_request_accepted: 3000,
5025
+ stage_request_rejected: 3000,
5026
+ stage_new_request_received: 3000,
5027
+ stage_invite_sent: DEFAULT_NOTIFICATION_DURATION,
5028
+ speaker_switched: 5000,
5029
+ camera_switched: 5000,
5030
+ microphone_switched: 5000,
5031
+ network_restored: 3000,
5032
+ network_reconnecting: 0,
5033
+ network_delayed: 0,
5034
+ network_disconnected: 0,
5035
+ network_failed: 0,
5036
+ api_error: DEFAULT_NOTIFICATION_DURATION,
5037
+ custom: DEFAULT_NOTIFICATION_DURATION,
5038
+ },
5039
+ notification_sound_urls: {
5040
+ participant_joined: SOUNDS.joined,
5041
+ participant_left: SOUNDS.left,
5042
+ participant_joined_waitlist: SOUNDS.message,
5043
+ chat_new_message: SOUNDS.message,
5044
+ chat_message_edited: SOUNDS.message,
5045
+ chat_message_deleted: SOUNDS.message,
5046
+ polls_new_poll: SOUNDS.message,
5047
+ tab_sync_plugin_switched: SOUNDS.message,
5048
+ tab_sync_screen_share_switched: SOUNDS.message,
5049
+ recording_started: SOUNDS.message,
5050
+ recording_stopped: SOUNDS.message,
5051
+ stage_requested_to_join: SOUNDS.joined,
5052
+ stage_joined: SOUNDS.joined,
5053
+ stage_request_accepted: SOUNDS.message,
5054
+ stage_request_rejected: SOUNDS.message,
5055
+ stage_new_request_received: SOUNDS.message,
5056
+ stage_invite_sent: SOUNDS.message,
5057
+ speaker_switched: SOUNDS.message,
5058
+ camera_switched: SOUNDS.message,
5059
+ microphone_switched: SOUNDS.message,
5060
+ network_restored: SOUNDS.message,
5061
+ network_reconnecting: SOUNDS.message,
5062
+ network_delayed: SOUNDS.message,
5063
+ network_disconnected: SOUNDS.message,
5064
+ network_failed: SOUNDS.message,
5065
+ api_error: SOUNDS.message,
5066
+ custom: undefined,
5067
+ },
5068
+ participant_joined_sound_notification_limit: 3,
5069
+ participant_chat_message_sound_notification_limit: 10,
5070
+ visible_notifications_limit: 5,
5071
+ });
5072
+
4860
5073
  /** Detect free variable `global` from Node.js. */
4861
5074
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
4862
5075
 
@@ -7201,14 +7414,7 @@ const defaultConfig = {
7201
7414
  'rtk-ai-toggle',
7202
7415
  ],
7203
7416
  },
7204
- config: {
7205
- notification_sounds: {
7206
- participant_left: false,
7207
- },
7208
- participant_joined_sound_notification_limit: 10,
7209
- participant_chat_message_sound_notification_limit: 10,
7210
- videoFit: 'cover',
7211
- },
7417
+ config: Object.assign(Object.assign({}, clone(DEFAULT_NOTIFICATION_CONFIG)), { videoFit: 'cover' }),
7212
7418
  };
7213
7419
  const createDefaultConfig = () => {
7214
7420
  return clone(defaultConfig);
@@ -7579,6 +7785,10 @@ const defaultLanguage = {
7579
7785
  'screenshare.min_preview': 'Minimize Preview',
7580
7786
  'screenshare.max_preview': 'Expand Preview',
7581
7787
  'screenshare.shared': 'Your screen is being shared.',
7788
+ 'screenshare.visibility.none': 'No one is viewing your screen.',
7789
+ 'screenshare.visibility.all': 'Everyone is viewing your screen.',
7790
+ 'screenshare.visibility.not_viewing': 'Not currently viewing:',
7791
+ 'screenshare.visibility.more': 'More participants',
7582
7792
  'screenshare.start': 'Share Screen',
7583
7793
  'screenshare.share_different_screen': 'Share Different Screen',
7584
7794
  'screenshare.menu': 'Screen Sharing',
@@ -7882,6 +8092,8 @@ const defaultLanguage = {
7882
8092
  'notifications.request_to_join_rejected': 'Request to join rejected',
7883
8093
  'notifications.accept': 'Accept',
7884
8094
  'notifications.new_poll_created_by': 'New poll created by',
8095
+ 'notifications.chat_message_edited': 'edited a message',
8096
+ 'notifications.chat_message_deleted': 'deleted a message',
7885
8097
  'notifications.connected_to': 'Connected to',
7886
8098
  'notifications.plugin_switched_to': 'Plugin switched to',
7887
8099
  'notifications.remote_control_requested': 'has requested for remote control',
@@ -8564,7 +8776,7 @@ var __classPrivateFieldGet = function (receiver, state, kind, f) {
8564
8776
  throw new TypeError("Cannot read private member from an object whose class did not declare it");
8565
8777
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
8566
8778
  };
8567
- var __rest = function (s, e) {
8779
+ var __rest$1 = function (s, e) {
8568
8780
  var t = {};
8569
8781
  for (var p in s)
8570
8782
  if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -8630,7 +8842,7 @@ class BreakoutRoomsManager {
8630
8842
  */
8631
8843
  addNewMeeting() {
8632
8844
  __classPrivateFieldSet(this, _BreakoutRoomsManager_hasLocalChanges, true, "f");
8633
- const _a = createDraftRoom(), meeting = __rest(_a, ["participants"]);
8845
+ const _a = createDraftRoom(), meeting = __rest$1(_a, ["participants"]);
8634
8846
  __classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_addNewMeetingToState).call(this, Object.assign(Object.assign({}, meeting), { isParent: false }));
8635
8847
  return meeting;
8636
8848
  }
@@ -8986,253 +9198,6 @@ const downloadFile = async (link, options) => {
8986
9198
  a.click();
8987
9199
  };
8988
9200
 
8989
- var spacingScale = [
8990
- 0,
8991
- 0.5,
8992
- 1,
8993
- 1.5,
8994
- 2,
8995
- 3,
8996
- 4,
8997
- 5,
8998
- 6,
8999
- 7,
9000
- 8,
9001
- 9,
9002
- 10,
9003
- 12,
9004
- 14,
9005
- 16,
9006
- 20,
9007
- 24,
9008
- 28,
9009
- 32,
9010
- 36,
9011
- 40,
9012
- 44,
9013
- 48,
9014
- 52,
9015
- 56,
9016
- 60,
9017
- 64,
9018
- 72,
9019
- 80,
9020
- 96
9021
- ];
9022
-
9023
- const THEMES = {
9024
- darkest: {
9025
- background: {
9026
- 1000: '#080808',
9027
- 900: '#1A1A1A',
9028
- 800: '#1E1E1E',
9029
- 700: '#2C2C2C',
9030
- 600: '#393939',
9031
- },
9032
- text: '#FFFFFF',
9033
- },
9034
- dark: {
9035
- background: {
9036
- 1000: '#252525',
9037
- 900: '#2F2F2F',
9038
- 800: '#323232',
9039
- 700: '#3E3E3E',
9040
- 600: '#4A4A4A',
9041
- },
9042
- text: '#F5F5F5',
9043
- 'video-bg': '#1C1C1C',
9044
- },
9045
- light: {
9046
- background: {
9047
- 1000: '#FFFFFF',
9048
- 900: '#F5F5F5',
9049
- 800: '#EBEBEB',
9050
- 700: '#E0E0E0',
9051
- 600: '#D6D6D6',
9052
- },
9053
- text: '#111111',
9054
- 'text-on-brand': '#ffffff',
9055
- 'video-bg': '#DADADA',
9056
- },
9057
- };
9058
-
9059
- const BORDER_WIDTHS = {
9060
- none: {
9061
- none: 0,
9062
- sm: 0,
9063
- md: 0,
9064
- lg: 0,
9065
- },
9066
- thin: {
9067
- none: 0,
9068
- sm: 1,
9069
- md: 2,
9070
- lg: 4,
9071
- },
9072
- fat: {
9073
- none: 0,
9074
- sm: 2,
9075
- md: 4,
9076
- lg: 8,
9077
- },
9078
- };
9079
- const BORDER_RADII = {
9080
- sharp: {
9081
- none: 0,
9082
- sm: 0,
9083
- md: 0,
9084
- lg: 0,
9085
- },
9086
- rounded: {
9087
- none: 0,
9088
- sm: 4,
9089
- md: 8,
9090
- lg: 12,
9091
- },
9092
- 'extra-rounded': {
9093
- none: 0,
9094
- sm: 8,
9095
- md: 16,
9096
- lg: 24,
9097
- },
9098
- circular: {
9099
- none: 9999,
9100
- sm: 9999,
9101
- md: 9999,
9102
- lg: 9999,
9103
- },
9104
- };
9105
-
9106
- function hexToRGB(h) {
9107
- h = h.trim();
9108
- let r = '0', g = '0', b = '0';
9109
- if (h.length == 4) {
9110
- r = '0x' + h[1] + h[1];
9111
- g = '0x' + h[2] + h[2];
9112
- b = '0x' + h[3] + h[3];
9113
- }
9114
- else if (h.length > 6) {
9115
- r = '0x' + h[1] + h[2];
9116
- g = '0x' + h[3] + h[4];
9117
- b = '0x' + h[5] + h[6];
9118
- }
9119
- return [+r, +g, +b];
9120
- }
9121
- const isValidHexColor = (color) => {
9122
- return typeof color === 'string' && color.length === 7 && color.startsWith('#');
9123
- };
9124
-
9125
- const DEFAULT_CSS_TOKEN_PREFIX = '--rtk-';
9126
- function getToken(token, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) {
9127
- return tokenPrefix + token;
9128
- }
9129
- const provideGoogleFont = (fontFamily) => {
9130
- const weights = [400, 500, 700];
9131
- const links = [];
9132
- if (document.querySelector('link[data-rtk-font]') == null) {
9133
- /**
9134
- * Adds the following preconnect link tags for faster google font loading
9135
- * <link rel="preconnect" href="https://fonts.googleapis.com">
9136
- * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9137
- */
9138
- const p1 = document.createElement('link');
9139
- p1.rel = 'preconnect';
9140
- p1.setAttribute('data-rtk-font', 'true');
9141
- p1.href = 'https://fonts.googleapis.com';
9142
- const p2 = p1.cloneNode(true);
9143
- p2.href = 'https://fonts.gstatic.com';
9144
- p2.crossOrigin = '';
9145
- links.push(p1, p2);
9146
- }
9147
- const link = document.createElement('link');
9148
- link.rel = 'stylesheet';
9149
- link.setAttribute('data-rtk-font', fontFamily);
9150
- link.href = encodeURI(`https://fonts.googleapis.com/css2?family=${fontFamily}:wght@${weights.join(';')}&display=swap`);
9151
- links.push(link);
9152
- document.head.append(...links);
9153
- };
9154
- const provideSpacing = (el, spacingBase, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
9155
- spacingScale.forEach((space) => {
9156
- el.style.setProperty(getToken(`space-${space}`, tokenPrefix), `${space * spacingBase}px`);
9157
- });
9158
- };
9159
- const provideBorderWidth = (el, borderWidth, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
9160
- if (borderWidth in BORDER_WIDTHS) {
9161
- const widths = BORDER_WIDTHS[borderWidth];
9162
- Object.keys(widths).forEach((type) => {
9163
- el.style.setProperty(getToken(`border-width-${type}`, tokenPrefix), `${widths[type]}px`);
9164
- });
9165
- }
9166
- };
9167
- const provideBorderRadius = (el, borderRadius, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
9168
- if (borderRadius in BORDER_RADII) {
9169
- const radii = BORDER_RADII[borderRadius];
9170
- Object.keys(radii).forEach((type) => {
9171
- el.style.setProperty(getToken(`border-radius-${type}`, tokenPrefix), `${radii[type]}px`);
9172
- });
9173
- }
9174
- };
9175
- const provideColors = (el, colors, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
9176
- Object.keys(colors).forEach((color) => {
9177
- const colorValue = colors[color];
9178
- if (typeof colorValue === 'string') {
9179
- if (color === 'text' || color === 'text-on-brand') {
9180
- const rgb = hexToRGB(colorValue).join(' ');
9181
- el.style.setProperty(getToken(`colors-${color}-1000`, tokenPrefix), `${rgb}`);
9182
- el.style.setProperty(getToken(`colors-${color}-900`, tokenPrefix), `${rgb} / 0.88`);
9183
- el.style.setProperty(getToken(`colors-${color}-800`, tokenPrefix), `${rgb} / 0.76`);
9184
- el.style.setProperty(getToken(`colors-${color}-700`, tokenPrefix), `${rgb} / 0.64`);
9185
- el.style.setProperty(getToken(`colors-${color}-600`, tokenPrefix), `${rgb} / 0.52`);
9186
- }
9187
- else {
9188
- const rgb = hexToRGB(colorValue).join(' ');
9189
- el.style.setProperty(getToken(`colors-${color}`, tokenPrefix), rgb);
9190
- }
9191
- }
9192
- else if (typeof colorValue === 'object') {
9193
- Object.keys(colorValue).forEach((shade) => {
9194
- const shadeValue = colorValue[shade];
9195
- const rgb = hexToRGB(shadeValue).join(' ');
9196
- el.style.setProperty(getToken(`colors-${color}-${shade}`, tokenPrefix), rgb);
9197
- });
9198
- }
9199
- });
9200
- };
9201
- /**
9202
- * Provides the design system new tokens to consume values from for styling the RealtimeKit UI components.
9203
- * @param el The element/node you want to _provide_ RTK Design system.
9204
- * @param tokens The design tokens you want to updated.
9205
- */
9206
- const provideRtkDesignSystem = (el, { spacingBase, borderRadius, borderWidth, colors, fontFamily, googleFont, theme, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX, }) => {
9207
- if (typeof el !== 'object') {
9208
- throw new Error('[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element');
9209
- }
9210
- if (typeof googleFont === 'string') {
9211
- provideGoogleFont(googleFont);
9212
- el.style.setProperty(getToken('font-family', tokenPrefix), googleFont);
9213
- }
9214
- if (typeof fontFamily === 'string') {
9215
- el.style.setProperty(getToken('font-family', tokenPrefix), fontFamily);
9216
- }
9217
- if (typeof spacingBase === 'number') {
9218
- provideSpacing(el, spacingBase, tokenPrefix);
9219
- }
9220
- if (typeof borderWidth === 'string') {
9221
- provideBorderWidth(el, borderWidth, tokenPrefix);
9222
- }
9223
- if (typeof borderRadius === 'string') {
9224
- provideBorderRadius(el, borderRadius, tokenPrefix);
9225
- }
9226
- if (typeof theme === 'string') {
9227
- const colors = THEMES[theme];
9228
- if (colors != null)
9229
- provideColors(el, colors, tokenPrefix);
9230
- }
9231
- if (typeof colors === 'object') {
9232
- provideColors(el, colors, tokenPrefix);
9233
- }
9234
- };
9235
-
9236
9201
  /**
9237
9202
  * This method returns the first argument it receives.
9238
9203
  *
@@ -9922,37 +9887,6 @@ var merge = createAssigner(function(object, source, srcIndex) {
9922
9887
  baseMerge(object, source, srcIndex);
9923
9888
  });
9924
9889
 
9925
- /**
9926
- * The literal below is replaced with the released package version by `prepublish.js`.
9927
- * Builds that are not published (local, dev) report it as is.
9928
- */
9929
- const UI_KIT_VERSION = '2.2.0-staging.3';
9930
- /**
9931
- * The wrapper packages load components from the loader bundle, which carries its own copy of
9932
- * this module, separate from the copy behind the main entry. The registered symbol is the one
9933
- * slot both copies can see.
9934
- */
9935
- const SDK_NAME_KEY = Symbol.for('rtk.uikit.sdkName');
9936
- const sdkNameSlot = globalThis;
9937
- function getUiKitSdkName() {
9938
- var _a;
9939
- return (_a = sdkNameSlot[SDK_NAME_KEY]) !== null && _a !== void 0 ? _a : 'html';
9940
- }
9941
- /** Tells the core SDK which UI Kit package and version is driving the meeting. */
9942
- function reportUiKitMetadata(meeting) {
9943
- var _a, _b;
9944
- try {
9945
- // Older core SDK versions do not have this method
9946
- (_b = (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.setUiKitMetadata) === null || _b === void 0 ? void 0 : _b.call(_a, {
9947
- sdkVersion: UI_KIT_VERSION,
9948
- sdkName: getUiKitSdkName(),
9949
- });
9950
- }
9951
- catch (_c) {
9952
- // Reporting must never break the meeting
9953
- }
9954
- }
9955
-
9956
9890
  /**
9957
9891
  * Computes selectors and returns them based on their priority.
9958
9892
  */
@@ -10165,6 +10099,284 @@ const Render = ({ element, defaults, childProps = {}, props = {}, onlyChildren =
10165
10099
  }
10166
10100
  };
10167
10101
 
10102
+ var spacingScale = [
10103
+ 0,
10104
+ 0.5,
10105
+ 1,
10106
+ 1.5,
10107
+ 2,
10108
+ 3,
10109
+ 4,
10110
+ 5,
10111
+ 6,
10112
+ 7,
10113
+ 8,
10114
+ 9,
10115
+ 10,
10116
+ 12,
10117
+ 14,
10118
+ 16,
10119
+ 20,
10120
+ 24,
10121
+ 28,
10122
+ 32,
10123
+ 36,
10124
+ 40,
10125
+ 44,
10126
+ 48,
10127
+ 52,
10128
+ 56,
10129
+ 60,
10130
+ 64,
10131
+ 72,
10132
+ 80,
10133
+ 96
10134
+ ];
10135
+
10136
+ const THEMES = {
10137
+ darkest: {
10138
+ background: {
10139
+ 1000: '#080808',
10140
+ 900: '#1A1A1A',
10141
+ 800: '#1E1E1E',
10142
+ 700: '#2C2C2C',
10143
+ 600: '#393939',
10144
+ },
10145
+ text: '#FFFFFF',
10146
+ },
10147
+ dark: {
10148
+ background: {
10149
+ 1000: '#252525',
10150
+ 900: '#2F2F2F',
10151
+ 800: '#323232',
10152
+ 700: '#3E3E3E',
10153
+ 600: '#4A4A4A',
10154
+ },
10155
+ text: '#F5F5F5',
10156
+ 'video-bg': '#1C1C1C',
10157
+ },
10158
+ light: {
10159
+ background: {
10160
+ 1000: '#FFFFFF',
10161
+ 900: '#F5F5F5',
10162
+ 800: '#EBEBEB',
10163
+ 700: '#E0E0E0',
10164
+ 600: '#D6D6D6',
10165
+ },
10166
+ text: '#111111',
10167
+ 'text-on-brand': '#ffffff',
10168
+ 'video-bg': '#DADADA',
10169
+ },
10170
+ };
10171
+
10172
+ const BORDER_WIDTHS = {
10173
+ none: {
10174
+ none: 0,
10175
+ sm: 0,
10176
+ md: 0,
10177
+ lg: 0,
10178
+ },
10179
+ thin: {
10180
+ none: 0,
10181
+ sm: 1,
10182
+ md: 2,
10183
+ lg: 4,
10184
+ },
10185
+ fat: {
10186
+ none: 0,
10187
+ sm: 2,
10188
+ md: 4,
10189
+ lg: 8,
10190
+ },
10191
+ };
10192
+ const BORDER_RADII = {
10193
+ sharp: {
10194
+ none: 0,
10195
+ sm: 0,
10196
+ md: 0,
10197
+ lg: 0,
10198
+ },
10199
+ rounded: {
10200
+ none: 0,
10201
+ sm: 4,
10202
+ md: 8,
10203
+ lg: 12,
10204
+ },
10205
+ 'extra-rounded': {
10206
+ none: 0,
10207
+ sm: 8,
10208
+ md: 16,
10209
+ lg: 24,
10210
+ },
10211
+ circular: {
10212
+ none: 9999,
10213
+ sm: 9999,
10214
+ md: 9999,
10215
+ lg: 9999,
10216
+ },
10217
+ };
10218
+
10219
+ function hexToRGB(h) {
10220
+ h = h.trim();
10221
+ let r = '0', g = '0', b = '0';
10222
+ if (h.length == 4) {
10223
+ r = '0x' + h[1] + h[1];
10224
+ g = '0x' + h[2] + h[2];
10225
+ b = '0x' + h[3] + h[3];
10226
+ }
10227
+ else if (h.length > 6) {
10228
+ r = '0x' + h[1] + h[2];
10229
+ g = '0x' + h[3] + h[4];
10230
+ b = '0x' + h[5] + h[6];
10231
+ }
10232
+ return [+r, +g, +b];
10233
+ }
10234
+ const isValidHexColor = (color) => {
10235
+ return typeof color === 'string' && color.length === 7 && color.startsWith('#');
10236
+ };
10237
+
10238
+ const DEFAULT_CSS_TOKEN_PREFIX = '--rtk-';
10239
+ function getToken(token, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) {
10240
+ return tokenPrefix + token;
10241
+ }
10242
+ const provideGoogleFont = (fontFamily) => {
10243
+ const weights = [400, 500, 700];
10244
+ const links = [];
10245
+ if (document.querySelector('link[data-rtk-font]') == null) {
10246
+ /**
10247
+ * Adds the following preconnect link tags for faster google font loading
10248
+ * <link rel="preconnect" href="https://fonts.googleapis.com">
10249
+ * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10250
+ */
10251
+ const p1 = document.createElement('link');
10252
+ p1.rel = 'preconnect';
10253
+ p1.setAttribute('data-rtk-font', 'true');
10254
+ p1.href = 'https://fonts.googleapis.com';
10255
+ const p2 = p1.cloneNode(true);
10256
+ p2.href = 'https://fonts.gstatic.com';
10257
+ p2.crossOrigin = '';
10258
+ links.push(p1, p2);
10259
+ }
10260
+ const link = document.createElement('link');
10261
+ link.rel = 'stylesheet';
10262
+ link.setAttribute('data-rtk-font', fontFamily);
10263
+ link.href = encodeURI(`https://fonts.googleapis.com/css2?family=${fontFamily}:wght@${weights.join(';')}&display=swap`);
10264
+ links.push(link);
10265
+ document.head.append(...links);
10266
+ };
10267
+ const provideSpacing = (el, spacingBase, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
10268
+ spacingScale.forEach((space) => {
10269
+ el.style.setProperty(getToken(`space-${space}`, tokenPrefix), `${space * spacingBase}px`);
10270
+ });
10271
+ };
10272
+ const provideBorderWidth = (el, borderWidth, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
10273
+ if (borderWidth in BORDER_WIDTHS) {
10274
+ const widths = BORDER_WIDTHS[borderWidth];
10275
+ Object.keys(widths).forEach((type) => {
10276
+ el.style.setProperty(getToken(`border-width-${type}`, tokenPrefix), `${widths[type]}px`);
10277
+ });
10278
+ }
10279
+ };
10280
+ const provideBorderRadius = (el, borderRadius, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
10281
+ if (borderRadius in BORDER_RADII) {
10282
+ const radii = BORDER_RADII[borderRadius];
10283
+ Object.keys(radii).forEach((type) => {
10284
+ el.style.setProperty(getToken(`border-radius-${type}`, tokenPrefix), `${radii[type]}px`);
10285
+ });
10286
+ }
10287
+ };
10288
+ const provideColors = (el, colors, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
10289
+ Object.keys(colors).forEach((color) => {
10290
+ const colorValue = colors[color];
10291
+ if (typeof colorValue === 'string') {
10292
+ if (color === 'text' || color === 'text-on-brand') {
10293
+ const rgb = hexToRGB(colorValue).join(' ');
10294
+ el.style.setProperty(getToken(`colors-${color}-1000`, tokenPrefix), `${rgb}`);
10295
+ el.style.setProperty(getToken(`colors-${color}-900`, tokenPrefix), `${rgb} / 0.88`);
10296
+ el.style.setProperty(getToken(`colors-${color}-800`, tokenPrefix), `${rgb} / 0.76`);
10297
+ el.style.setProperty(getToken(`colors-${color}-700`, tokenPrefix), `${rgb} / 0.64`);
10298
+ el.style.setProperty(getToken(`colors-${color}-600`, tokenPrefix), `${rgb} / 0.52`);
10299
+ }
10300
+ else {
10301
+ const rgb = hexToRGB(colorValue).join(' ');
10302
+ el.style.setProperty(getToken(`colors-${color}`, tokenPrefix), rgb);
10303
+ }
10304
+ }
10305
+ else if (typeof colorValue === 'object') {
10306
+ Object.keys(colorValue).forEach((shade) => {
10307
+ const shadeValue = colorValue[shade];
10308
+ const rgb = hexToRGB(shadeValue).join(' ');
10309
+ el.style.setProperty(getToken(`colors-${color}-${shade}`, tokenPrefix), rgb);
10310
+ });
10311
+ }
10312
+ });
10313
+ };
10314
+ /**
10315
+ * Provides the design system new tokens to consume values from for styling the RealtimeKit UI components.
10316
+ * @param el The element/node you want to _provide_ RTK Design system.
10317
+ * @param tokens The design tokens you want to updated.
10318
+ */
10319
+ const provideRtkDesignSystem = (el, { spacingBase, borderRadius, borderWidth, colors, fontFamily, googleFont, theme, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX, }) => {
10320
+ if (typeof el !== 'object') {
10321
+ throw new Error('[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element');
10322
+ }
10323
+ if (typeof googleFont === 'string') {
10324
+ provideGoogleFont(googleFont);
10325
+ el.style.setProperty(getToken('font-family', tokenPrefix), googleFont);
10326
+ }
10327
+ if (typeof fontFamily === 'string') {
10328
+ el.style.setProperty(getToken('font-family', tokenPrefix), fontFamily);
10329
+ }
10330
+ if (typeof spacingBase === 'number') {
10331
+ provideSpacing(el, spacingBase, tokenPrefix);
10332
+ }
10333
+ if (typeof borderWidth === 'string') {
10334
+ provideBorderWidth(el, borderWidth, tokenPrefix);
10335
+ }
10336
+ if (typeof borderRadius === 'string') {
10337
+ provideBorderRadius(el, borderRadius, tokenPrefix);
10338
+ }
10339
+ if (typeof theme === 'string') {
10340
+ const colors = THEMES[theme];
10341
+ if (colors != null)
10342
+ provideColors(el, colors, tokenPrefix);
10343
+ }
10344
+ if (typeof colors === 'object') {
10345
+ provideColors(el, colors, tokenPrefix);
10346
+ }
10347
+ };
10348
+
10349
+ /**
10350
+ * The literal below is replaced with the released package version by `prepublish.js`.
10351
+ * Builds that are not published (local, dev) report it as is.
10352
+ */
10353
+ const UI_KIT_VERSION = '2.2.0-staging.5';
10354
+ /**
10355
+ * The wrapper packages load components from the loader bundle, which carries its own copy of
10356
+ * this module, separate from the copy behind the main entry. The registered symbol is the one
10357
+ * slot both copies can see.
10358
+ */
10359
+ const SDK_NAME_KEY = Symbol.for('rtk.uikit.sdkName');
10360
+ const sdkNameSlot = globalThis;
10361
+ function getUiKitSdkName() {
10362
+ var _a;
10363
+ return (_a = sdkNameSlot[SDK_NAME_KEY]) !== null && _a !== void 0 ? _a : 'html';
10364
+ }
10365
+ /** Tells the core SDK which UI Kit package and version is driving the meeting. */
10366
+ function reportUiKitMetadata(meeting) {
10367
+ var _a, _b;
10368
+ try {
10369
+ // Older core SDK versions do not have this method
10370
+ (_b = (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.setUiKitMetadata) === null || _b === void 0 ? void 0 : _b.call(_a, {
10371
+ sdkVersion: UI_KIT_VERSION,
10372
+ sdkName: getUiKitSdkName(),
10373
+ });
10374
+ }
10375
+ catch (_c) {
10376
+ // Reporting must never break the meeting
10377
+ }
10378
+ }
10379
+
10168
10380
  /**
10169
10381
  * Extend the default UI Config with your own
10170
10382
  * @param config Your extended UI Config
@@ -10499,14 +10711,7 @@ const generateConfig = (oldConfig, meeting, toExtend = {}, options = { grid_pagi
10499
10711
  ['rtk-mic-toggle', { size: 'sm' }],
10500
10712
  ['rtk-camera-toggle', { size: 'sm' }],
10501
10713
  ], 'div#setupcontrols-settings': [['rtk-settings-toggle', { size: 'sm' }]], 'rtk-screenshare-view': ['rtk-name-tag', 'rtk-network-indicator'], 'rtk-name-tag': [['rtk-audio-visualizer', { slot: 'start' }]] }),
10502
- config: {
10503
- notification_sounds: {
10504
- participant_left: false,
10505
- },
10506
- participant_joined_sound_notification_limit: 3,
10507
- participant_chat_message_sound_notification_limit: 10,
10508
- videoFit: 'cover',
10509
- },
10714
+ config: Object.assign(Object.assign({}, clone(DEFAULT_NOTIFICATION_CONFIG)), { videoFit: 'cover' }),
10510
10715
  };
10511
10716
  config = extendConfig(toExtend, config);
10512
10717
  data.showSetupScreen = (_t = (_s = oldConfig.setupScreen) === null || _s === void 0 ? void 0 : _s.isEnabled) !== null && _t !== void 0 ? _t : true;
@@ -15982,7 +16187,7 @@ const RtkSpinner = class {
15982
16187
  this.size = 'md';
15983
16188
  }
15984
16189
  render() {
15985
- return (h(Host, { key: '3903fcae064050f9c3acbf65c872cec32075de22' }, h("rtk-icon", { key: '73641dc07b1ab8dc19739b621fe5026eb2c2d95a', class: "spinner", icon: this.iconPack.spinner })));
16190
+ return (h(Host, { key: '701717fea85393517c84a813043abc939c325d83' }, h("rtk-icon", { key: 'ce9c25244a8748231c2ba4656e19e527e9926b3a', class: "spinner", icon: this.iconPack.spinner })));
15986
16191
  }
15987
16192
  };
15988
16193
  __decorate$1$d([
@@ -16059,7 +16264,7 @@ const RtkTextComposerView = class {
16059
16264
  }
16060
16265
  }
16061
16266
  render() {
16062
- return (h("div", { key: '26f1d3d37ce2612460dbe1edd883dff335985b98', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: 'aa38bce1ab65d9b3f6006e205c44c9b9701611ee', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: '126fd7a1b76086b7d7330e295f318373cdb07872', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (h("div", { key: '942e3c98c819bfc88c12d896ace69cbc1637959f', class: 'text-error breached' }, h("rtk-icon", { key: '229f903a02fdf5e42ede84d6d23563f2fd563740', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: '0a3f5f137751ca8311caac77e6f33dbf3f10d64f', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
16267
+ return (h("div", { key: '6fb6734c906dd9474a971e048a0ec2e329cfb6e6', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: '49b825957d8874cb3e8ae1bfb8f354d45f9f9663', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: '4e8084ff97b72d668e20dbad4b31859714aef094', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (h("div", { key: 'd24ffb7a2e00dfdf9b508737a9767b3ca91e2d44', class: 'text-error breached' }, h("rtk-icon", { key: '95adc78d6607d77dc3310311a2639df9146418f8', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: '1ac72a5da38d7d71ccce5203ff56c117ddc876a0', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
16063
16268
  }
16064
16269
  };
16065
16270
  __decorate$1h([
@@ -16079,7 +16284,7 @@ const RtkTextMessageView = class {
16079
16284
  this.isMarkdown = false;
16080
16285
  }
16081
16286
  render() {
16082
- return (h("p", { key: '472ae0f4469eee501184996d94f948fd854a9897', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
16287
+ return (h("p", { key: 'b2f18e6bebb46fa938b8920cfff2f39d97ad7ca4', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
16083
16288
  }
16084
16289
  };
16085
16290
  RtkTextMessageView.style = rtkTextMessageViewCss();
@@ -20848,8 +21053,6 @@ var rtkMessageListView_entry = /*#__PURE__*/Object.freeze({
20848
21053
  rtk_message_list_view: RtkMessageListView
20849
21054
  });
20850
21055
 
20851
- const isFirefox = (meeting) => { var _a; return (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.browserSpecs.isFirefox(); };
20852
-
20853
21056
  const rtkMicToggleCss = () => `: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}.mic-controls{display:inline-flex;height:100%;align-items:stretch;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.mic-controls:hover{--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-800, 30 30 30))}rtk-tooltip{flex-shrink:0;width:-moz-max-content;width:max-content}rtk-controlbar-button{height:100%}:host(:not([hide-device-selection-menu])) rtk-controlbar-button{min-width:56px;width:-moz-max-content;width:max-content;border-top-right-radius:0;border-bottom-right-radius:0}:host(:not([hide-device-selection-menu])[size='sm']) rtk-controlbar-button{min-width:40px}:host(:not([hide-device-selection-menu])) rtk-controlbar-button::part(button){border-top-right-radius:0;border-bottom-right-radius:0}rtk-tooltip:hover rtk-controlbar-button::part(button){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}rtk-menu{display:flex;flex-shrink:0;width:28px}.device-trigger{box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-7, 28px);cursor:pointer;align-items:center;justify-content:center;border-top-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--rtk-controlbar-button-background-color, rgb(var(--rtk-colors-background-1000, 8 8 8)))}.device-trigger:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.device-trigger:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}rtk-menu-list{box-sizing:border-box;max-height:60vh;overflow-y:auto;width:min(360px, calc(100vw - 24px))}rtk-menu-item{justify-content:space-between;gap:var(--rtk-space-3, 12px);padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);line-height:1.25rem}rtk-menu-item:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253));outline-offset:-2px}rtk-menu-item[aria-disabled='true']{cursor:not-allowed;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.device-label{min-width:var(--rtk-space-0, 0px);overflow-wrap:anywhere}.empty-devices{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.menu-divider{border-top-width:var(--rtk-border-width-sm, 1px);border-bottom-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity))}.additional-menu-items:not(.has-items){display:none}::slotted([slot='additional-menu-items']){box-sizing:border-box;width:100%}:host([data-hidden]){display:none}:host(.audioDisabled) :slotted(rtk-icon){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}`;
20854
21057
 
20855
21058
  var __decorate$Q = function (decorators, target, key, desc) {
@@ -21554,76 +21757,6 @@ var rtkNetworkIndicator_entry = /*#__PURE__*/Object.freeze({
21554
21757
  rtk_network_indicator: RtkNetworkIndicator
21555
21758
  });
21556
21759
 
21557
- const SOUNDS = {
21558
- joined: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
21559
- left: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
21560
- message: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_message.mp3',
21561
- };
21562
- /**
21563
- * Handles notification sounds in a meeting
21564
- */
21565
- class RTKNotificationsAudio {
21566
- constructor(meeting) {
21567
- this.meeting = meeting;
21568
- this.audio = document.createElement('audio');
21569
- this.audio.volume = 0.3;
21570
- }
21571
- play(sound, duration = 3000) {
21572
- var _a;
21573
- if (this.playing)
21574
- return;
21575
- this.playing = true;
21576
- this.audio.src = SOUNDS[sound];
21577
- this.audio.volume = 0.3;
21578
- (_a = this.audio.play()) === null || _a === void 0 ? void 0 : _a.catch((_) => { });
21579
- setTimeout(() => {
21580
- this.playing = false;
21581
- }, duration);
21582
- }
21583
- async setDevice(id) {
21584
- var _a, _b, _c;
21585
- if (isFirefox(this.meeting))
21586
- return;
21587
- await ((_c = (_b = (_a = this.audio) === null || _a === void 0 ? void 0 : _a.setSinkId) === null || _b === void 0 ? void 0 : _b.call(_a, id)) === null || _c === void 0 ? void 0 : _c.catch((_) => { }));
21588
- }
21589
- }
21590
-
21591
- const DEFAULT_NOTIFICATION_DURATION = 2000;
21592
- const DEFAULT_NOTIFICATION_CONFIG = Object.freeze({
21593
- notifications: {
21594
- participant_joined: true,
21595
- participant_left: true,
21596
- participant_joined_waitlist: true,
21597
- chat: true,
21598
- polls: true,
21599
- webinar: true,
21600
- tab_sync: true,
21601
- recording_started: true,
21602
- recording_stopped: true,
21603
- },
21604
- notification_sounds: {
21605
- participant_joined: true,
21606
- participant_left: true,
21607
- chat: true,
21608
- polls: true,
21609
- webinar: true,
21610
- participant_joined_waitlist: true,
21611
- },
21612
- notification_duration: {
21613
- participant_joined: 2100,
21614
- participant_left: 2100,
21615
- participant_joined_waitlist: 4000,
21616
- chat: DEFAULT_NOTIFICATION_DURATION,
21617
- polls: DEFAULT_NOTIFICATION_DURATION,
21618
- webinar: DEFAULT_NOTIFICATION_DURATION,
21619
- tab_sync: DEFAULT_NOTIFICATION_DURATION,
21620
- recording_started: DEFAULT_NOTIFICATION_DURATION,
21621
- recording_stopped: DEFAULT_NOTIFICATION_DURATION,
21622
- },
21623
- participant_joined_sound_notification_limit: 10,
21624
- participant_chat_message_sound_notification_limit: 10,
21625
- });
21626
-
21627
21760
  const rtkNotificationsCss = () => `: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{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;z-index:100}rtk-notification{margin-top:var(--rtk-space-2, 8px)}`;
21628
21761
 
21629
21762
  var __decorate$L = function (decorators, target, key, desc) {
@@ -21636,27 +21769,21 @@ var __decorate$L = function (decorators, target, key, desc) {
21636
21769
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21637
21770
  return c > 3 && r && Object.defineProperty(target, key, r), r;
21638
21771
  };
21639
- function parseConfig(config) {
21640
- const permissions = Object.assign({}, DEFAULT_NOTIFICATION_CONFIG);
21641
- if (config == null)
21642
- return permissions;
21643
- Object.assign(permissions.notification_sounds, config.notification_sounds);
21644
- Object.assign(permissions.notifications, config.notifications);
21645
- Object.assign(permissions.notification_duration, config.notification_duration);
21646
- permissions.participant_chat_message_sound_notification_limit =
21647
- config.participant_chat_message_sound_notification_limit;
21648
- permissions.participant_joined_sound_notification_limit =
21649
- config.participant_joined_sound_notification_limit;
21650
- return permissions;
21651
- }
21652
- function getEnabledSounds(sounds) {
21653
- return Object.keys(sounds).filter((key) => sounds[key]);
21654
- }
21772
+ var __rest = function (s, e) {
21773
+ var t = {};
21774
+ for (var p in s)
21775
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
21776
+ t[p] = s[p];
21777
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
21778
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
21779
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
21780
+ t[p[i]] = s[p[i]];
21781
+ }
21782
+ return t;
21783
+ };
21655
21784
  const RtkNotifications = class {
21656
21785
  constructor(hostRef) {
21657
21786
  registerInstance(this, hostRef);
21658
- this.permissions = DEFAULT_NOTIFICATION_CONFIG;
21659
- this.enabledSounds = getEnabledSounds(DEFAULT_NOTIFICATION_CONFIG.notification_sounds);
21660
21787
  /** Config object */
21661
21788
  this.config = createDefaultConfig();
21662
21789
  /** Language */
@@ -21664,6 +21791,7 @@ const RtkNotifications = class {
21664
21791
  /** Icon pack */
21665
21792
  this.iconPack = defaultIconPack;
21666
21793
  this.notifications = [];
21794
+ this.notificationConfig = merge({}, DEFAULT_NOTIFICATION_CONFIG);
21667
21795
  this.addStagePeersListeners = (meeting) => {
21668
21796
  meeting.participants.joined.addListener('participantJoined', this.participantJoinedListener);
21669
21797
  meeting.participants.joined.addListener('participantLeft', this.participantLeftListener);
@@ -21673,30 +21801,31 @@ const RtkNotifications = class {
21673
21801
  meeting.participants.joined.removeListener('participantLeft', this.participantLeftListener);
21674
21802
  };
21675
21803
  this.onNotification = (e) => {
21676
- this.add(e.detail);
21677
- const playSound = e.detail.playSound;
21678
- if (playSound != undefined)
21679
- this.audio.play(playSound);
21804
+ var _a, _b;
21805
+ const _c = e.detail, { playSound, meetingId } = _c, notification = __rest(_c, ["playSound", "meetingId"]);
21806
+ // a notification that names a meeting is only for the rtk-notifications of that meeting
21807
+ if (!!meetingId && meetingId !== ((_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.meetingId))
21808
+ return;
21809
+ if (this.isShown('custom'))
21810
+ this.add(notification);
21811
+ this.playCustomSoundIfEnabled(playSound);
21680
21812
  };
21681
21813
  this.onRecordingUpdate = (recordingState) => {
21682
- var _a, _b;
21683
- if (recordingState === 'RECORDING' &&
21684
- this.permissions.notifications.recording_started !== false) {
21685
- this.add({
21814
+ if (recordingState === 'RECORDING') {
21815
+ this.showIfEnabled('recording_started', {
21686
21816
  id: 'recording-started',
21687
21817
  icon: this.iconPack.recording,
21688
21818
  message: this.t('recording.started'),
21689
- duration: (_a = this.permissions.notification_duration.recording_started) !== null && _a !== void 0 ? _a : DEFAULT_NOTIFICATION_DURATION,
21690
21819
  });
21820
+ this.playSoundIfEnabled('recording_started');
21691
21821
  }
21692
- else if (recordingState === 'STOPPING' &&
21693
- this.permissions.notifications.recording_stopped !== false) {
21694
- this.add({
21822
+ else if (recordingState === 'STOPPING') {
21823
+ this.showIfEnabled('recording_stopped', {
21695
21824
  id: 'recording-stopped',
21696
21825
  icon: this.iconPack.stop_recording,
21697
21826
  message: this.t('recording.stopped'),
21698
- duration: (_b = this.permissions.notification_duration.recording_stopped) !== null && _b !== void 0 ? _b : DEFAULT_NOTIFICATION_DURATION,
21699
21827
  });
21828
+ this.playSoundIfEnabled('recording_stopped');
21700
21829
  }
21701
21830
  };
21702
21831
  this.paused = false;
@@ -21707,10 +21836,9 @@ const RtkNotifications = class {
21707
21836
  }
21708
21837
  this.meetingChanged(this.meeting);
21709
21838
  this.configChanged(this.config);
21710
- this.statesChanged(this.states);
21711
21839
  }
21712
21840
  clearListeners(meeting) {
21713
- var _a, _b, _c, _d, _e, _f, _g, _h;
21841
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
21714
21842
  const isLivestream = meeting.meta.viewType === 'LIVESTREAM';
21715
21843
  if ((isLivestream && ((_a = meeting.stage) === null || _a === void 0 ? void 0 : _a.status) === 'ON_STAGE') || !isLivestream) {
21716
21844
  this.removeStagePeersListeners(meeting);
@@ -21728,25 +21856,24 @@ const RtkNotifications = class {
21728
21856
  this.stageStatusUpdateListener &&
21729
21857
  ((_g = meeting.stage) === null || _g === void 0 ? void 0 : _g.removeListener('stageStatusUpdate', this.stageStatusUpdateListener));
21730
21858
  (_h = meeting.recording) === null || _h === void 0 ? void 0 : _h.removeListener('recordingUpdate', this.onRecordingUpdate);
21859
+ this.peerStageStatusListener &&
21860
+ meeting.participants.joined.removeListener('stageStatusUpdate', this.peerStageStatusListener);
21861
+ this.waitlistedParticipantJoinedListener &&
21862
+ meeting.participants.waitlisted.removeListener('participantJoined', this.waitlistedParticipantJoinedListener);
21863
+ this.waitlistedParticipantLeftListener &&
21864
+ meeting.participants.waitlisted.removeListener('participantLeft', this.waitlistedParticipantLeftListener);
21865
+ this.activeTabUpdateListener &&
21866
+ ((_j = meeting.meta) === null || _j === void 0 ? void 0 : _j.removeListener('activeTabUpdate', this.activeTabUpdateListener));
21731
21867
  clearTimeout(this.disconnectTimeout);
21732
21868
  meeting.self.removeListener('deviceUpdate', this.deviceUpdateListener);
21733
21869
  }
21734
21870
  disconnectedCallback() {
21735
- var _a;
21736
21871
  if (typeof document !== 'undefined') {
21737
21872
  document === null || document === void 0 ? void 0 : document.removeEventListener('rtkNotification', this.onNotification);
21738
21873
  }
21739
21874
  if (!this.meeting)
21740
21875
  return;
21741
21876
  this.clearListeners(this.meeting);
21742
- this.waitlistedParticipantJoinedListener &&
21743
- this.meeting.participants.waitlisted.removeListener('participantJoined', this.waitlistedParticipantJoinedListener);
21744
- this.waitlistedParticipantLeftListener &&
21745
- this.meeting.participants.waitlisted.removeListener('participantLeft', this.waitlistedParticipantLeftListener);
21746
- this.activeTabUpdateListener &&
21747
- ((_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.removeListener('activeTabUpdate', this.activeTabUpdateListener));
21748
- this.peerStageStatusListener &&
21749
- this.meeting.participants.joined.removeListener('stageStatusUpdate', this.peerStageStatusListener);
21750
21877
  }
21751
21878
  meetingChanged(meeting, oldMeeting) {
21752
21879
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -21757,7 +21884,6 @@ const RtkNotifications = class {
21757
21884
  return;
21758
21885
  const isLivestream = meeting.meta.viewType === 'LIVESTREAM';
21759
21886
  this.audio = new RTKNotificationsAudio(meeting);
21760
- const { notifications, notification_duration, notification_sounds } = this.permissions;
21761
21887
  this.participantJoinedListener = (participant) => {
21762
21888
  /**
21763
21889
  * NOTE(ravindra-cloudflare):
@@ -21773,16 +21899,13 @@ const RtkNotifications = class {
21773
21899
  if (isReconnectedParticipant) {
21774
21900
  return;
21775
21901
  }
21776
- if (notifications.participant_joined) {
21777
- this.add({
21778
- id: `${participant.id}-joined`,
21779
- message: `${formatName(participant.name)} ${this.t('notifications.joined')}`,
21780
- image: participant.picture,
21781
- duration: notification_duration.participant_joined,
21782
- });
21783
- }
21784
- if (notification_sounds.participant_joined && this.canPlayParticipantJoinedSound()) {
21785
- this.audio.play('joined');
21902
+ this.showIfEnabled('participant_joined', {
21903
+ id: `${participant.id}-joined`,
21904
+ message: `${formatName(participant.name)} ${this.t('notifications.joined')}`,
21905
+ image: participant.picture,
21906
+ });
21907
+ if (this.canPlayParticipantJoinedSound()) {
21908
+ this.playSoundIfEnabled('participant_joined');
21786
21909
  }
21787
21910
  };
21788
21911
  this.participantLeftListener = (participant) => {
@@ -21795,27 +21918,25 @@ const RtkNotifications = class {
21795
21918
  return;
21796
21919
  }
21797
21920
  const { socketState: { state }, } = this.meeting.meta;
21798
- if (notifications.participant_left && state === 'connected') {
21799
- this.add({
21921
+ if (state === 'connected') {
21922
+ this.showIfEnabled('participant_left', {
21800
21923
  id: `${participant.id}-left`,
21801
21924
  message: `${formatName(participant.name)} ${this.t('notifications.left')}`,
21802
21925
  image: participant.picture,
21803
- duration: notification_duration.participant_left,
21804
21926
  });
21805
- }
21806
- if (notification_sounds.participant_left && this.canPlayParticipantJoinedSound()) {
21807
- this.audio.play('left');
21927
+ if (this.canPlayParticipantJoinedSound()) {
21928
+ this.playSoundIfEnabled('participant_left');
21929
+ }
21808
21930
  }
21809
21931
  };
21810
21932
  this.waitlistedParticipantJoinedListener = (participant) => {
21811
21933
  if (!this.canAcceptWaitingRequests())
21812
21934
  return;
21813
21935
  const id = `${participant.id}-joined-waitlist`;
21814
- this.add({
21936
+ this.showIfEnabled('participant_joined_waitlist', {
21815
21937
  id,
21816
21938
  message: `${formatName(participant.name)} ${this.t('notifications.requesting_to_join_meeting')}`,
21817
21939
  image: participant.picture,
21818
- duration: notification_duration.participant_joined_waitlist,
21819
21940
  button: {
21820
21941
  text: this.t('notifications.accept'),
21821
21942
  variant: 'primary',
@@ -21825,33 +21946,39 @@ const RtkNotifications = class {
21825
21946
  },
21826
21947
  },
21827
21948
  });
21828
- if (notification_sounds.participant_joined_waitlist && this.canPlayParticipantJoinedSound()) {
21829
- this.audio.play('message');
21949
+ if (this.canPlayParticipantJoinedSound()) {
21950
+ this.playSoundIfEnabled('participant_joined_waitlist');
21830
21951
  }
21831
21952
  };
21832
21953
  this.waitlistedParticipantLeftListener = (participant) => {
21833
21954
  this.remove(`${participant.id}-joined-waitlist`);
21834
21955
  };
21835
21956
  this.chatUpdateListener = ({ message, action }) => {
21836
- // NOTE(ikabra): we only want notifications for new messages
21837
- if (action !== 'add')
21838
- return;
21839
21957
  const parsedMessage = parseMessageForTarget(message);
21840
21958
  if (parsedMessage != null) {
21841
21959
  if (parsedMessage.userId === meeting.self.userId) {
21842
21960
  return;
21843
21961
  }
21844
- if (parsedMessage.type === 'text') {
21845
- if (notifications.chat) {
21846
- this.add({
21847
- id: `message-${Math.random().toString(36)}`,
21848
- icon: this.iconPack.chat,
21849
- message: `${parsedMessage.displayName}: ${parsedMessage.message}`,
21850
- duration: notification_duration.chat,
21851
- });
21962
+ if (action === 'edit' || action === 'delete') {
21963
+ const notificationKey = action === 'edit' ? 'chat_message_edited' : 'chat_message_deleted';
21964
+ this.showIfEnabled(notificationKey, {
21965
+ id: `message-${Math.random().toString(36)}`,
21966
+ icon: this.iconPack.chat,
21967
+ message: `${parsedMessage.displayName} ${this.t(`notifications.${notificationKey}`)}`,
21968
+ });
21969
+ if (this.canPlayChatSound()) {
21970
+ this.playSoundIfEnabled(notificationKey);
21852
21971
  }
21853
- if (notification_sounds.chat && this.canPlayChatSound()) {
21854
- this.audio.play('message');
21972
+ return;
21973
+ }
21974
+ if (parsedMessage.type === 'text') {
21975
+ this.showIfEnabled('chat_new_message', {
21976
+ id: `message-${Math.random().toString(36)}`,
21977
+ icon: this.iconPack.chat,
21978
+ message: `${parsedMessage.displayName}: ${parsedMessage.message}`,
21979
+ });
21980
+ if (this.canPlayChatSound()) {
21981
+ this.playSoundIfEnabled('chat_new_message');
21855
21982
  }
21856
21983
  }
21857
21984
  }
@@ -21859,19 +21986,15 @@ const RtkNotifications = class {
21859
21986
  this.pollUpdateListener = ({ polls, newPoll }) => {
21860
21987
  if (newPoll === false)
21861
21988
  return;
21862
- if (notifications.polls &&
21863
- this.meeting.self.userId !== polls[polls.length - 1].createdByUserId) {
21864
- this.add({
21865
- id: `poll-${Math.random().toString(36)}`,
21866
- icon: this.iconPack.poll,
21867
- message: `${this.t('notifications.new_poll_created_by')} ${polls[polls.length - 1].createdBy}`,
21868
- duration: notification_duration.polls,
21869
- });
21870
- }
21871
- if (notification_sounds.polls &&
21872
- this.meeting.self.userId !== polls[polls.length - 1].createdByUserId &&
21873
- this.canPlayChatSound()) {
21874
- this.audio.play('message');
21989
+ if (this.meeting.self.userId === polls[polls.length - 1].createdByUserId)
21990
+ return;
21991
+ this.showIfEnabled('polls_new_poll', {
21992
+ id: `poll-${Math.random().toString(36)}`,
21993
+ icon: this.iconPack.poll,
21994
+ message: `${this.t('notifications.new_poll_created_by')} ${polls[polls.length - 1].createdBy}`,
21995
+ });
21996
+ if (this.canPlayChatSound()) {
21997
+ this.playSoundIfEnabled('polls_new_poll');
21875
21998
  }
21876
21999
  };
21877
22000
  this.deviceUpdateListener = ({ device, preview }) => {
@@ -21880,58 +22003,60 @@ const RtkNotifications = class {
21880
22003
  if (device.kind === 'audiooutput') {
21881
22004
  this.audio.setDevice(device.deviceId);
21882
22005
  this.remove(`speaker-switched`);
21883
- this.add({
22006
+ this.showIfEnabled('speaker_switched', {
21884
22007
  id: `speaker-switched`,
21885
22008
  message: `${this.t('notifications.connected_to')} ${device.label}`,
21886
22009
  icon: this.iconPack.speaker,
21887
- duration: 5000,
21888
22010
  });
22011
+ this.playSoundIfEnabled('speaker_switched');
21889
22012
  }
21890
22013
  if (device.kind === 'videoinput') {
21891
22014
  this.remove(`camera-switched`);
21892
- this.add({
22015
+ this.showIfEnabled('camera_switched', {
21893
22016
  id: `camera-switched`,
21894
22017
  message: `${this.t('notifications.connected_to')} ${device.label}`,
21895
22018
  icon: this.meeting.self.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off,
21896
22019
  iconVariant: this.meeting.self.videoEnabled ? 'primary' : 'danger',
21897
- duration: 5000,
21898
22020
  });
22021
+ this.playSoundIfEnabled('camera_switched');
21899
22022
  }
21900
22023
  if (device.kind === 'audioinput') {
21901
22024
  this.remove(`mic-switched`);
21902
- this.add({
22025
+ this.showIfEnabled('microphone_switched', {
21903
22026
  id: `mic-switched`,
21904
22027
  message: `${this.t('notifications.connected_to')} ${device.label}`,
21905
22028
  icon: this.meeting.self.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off,
21906
22029
  iconVariant: this.meeting.self.audioEnabled ? 'primary' : 'danger',
21907
- duration: 5000,
21908
22030
  });
22031
+ this.playSoundIfEnabled('microphone_switched');
21909
22032
  }
21910
22033
  };
21911
22034
  this.socketConnectionUpdateListener = ({ state, reconnectionAttempt, reconnected }) => {
21912
22035
  switch (state) {
21913
22036
  case 'connected':
21914
22037
  this.remove('socket');
21915
- if (reconnected)
21916
- this.add({
22038
+ if (reconnected) {
22039
+ this.showIfEnabled('network_restored', {
21917
22040
  id: `socket`,
21918
22041
  icon: this.iconPack.wifi,
21919
22042
  message: this.t('network.restored'),
21920
- duration: 3000,
21921
22043
  });
22044
+ this.playSoundIfEnabled('network_restored');
22045
+ }
21922
22046
  break;
21923
22047
  case 'disconnected':
21924
22048
  this.remove('socket');
21925
- this.add({
22049
+ this.showIfEnabled('network_reconnecting', {
21926
22050
  id: 'socket',
21927
22051
  icon: this.iconPack.disconnected,
21928
22052
  message: this.t('network.reconnecting'),
21929
22053
  });
22054
+ this.playSoundIfEnabled('network_reconnecting');
21930
22055
  break;
21931
22056
  case 'reconnecting':
21932
22057
  if (reconnectionAttempt >= 6) {
21933
22058
  this.remove('socket');
21934
- this.add({
22059
+ this.showIfEnabled('network_disconnected', {
21935
22060
  id: 'socket',
21936
22061
  icon: this.iconPack.disconnected,
21937
22062
  message: this.t('network.disconnected'),
@@ -21941,19 +22066,21 @@ const RtkNotifications = class {
21941
22066
  onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave(); },
21942
22067
  },
21943
22068
  });
22069
+ this.playSoundIfEnabled('network_disconnected');
21944
22070
  }
21945
22071
  else if (reconnectionAttempt >= 4) {
21946
22072
  this.remove('socket');
21947
- this.add({
22073
+ this.showIfEnabled('network_delayed', {
21948
22074
  id: 'socket',
21949
22075
  icon: this.iconPack.disconnected,
21950
22076
  message: this.t('network.delay_extended'),
21951
22077
  });
22078
+ this.playSoundIfEnabled('network_delayed');
21952
22079
  }
21953
22080
  break;
21954
22081
  case 'failed':
21955
22082
  this.remove('socket');
21956
- this.add({
22083
+ this.showIfEnabled('network_failed', {
21957
22084
  id: 'socket',
21958
22085
  icon: this.iconPack.disconnected,
21959
22086
  message: this.t('network.leaving'),
@@ -21963,23 +22090,22 @@ const RtkNotifications = class {
21963
22090
  onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave(); },
21964
22091
  },
21965
22092
  });
22093
+ this.playSoundIfEnabled('network_failed');
21966
22094
  break;
21967
22095
  }
21968
22096
  };
21969
22097
  this.activeTabUpdateListener = (activeTab) => {
21970
- if (!notifications.tab_sync)
21971
- return;
21972
22098
  switch (activeTab.type) {
21973
22099
  case 'plugin':
21974
22100
  const activePlugin = meeting.plugins.active
21975
22101
  .toArray()
21976
22102
  .find((plugin) => plugin.id == activeTab.id);
21977
22103
  if (activePlugin != undefined) {
21978
- this.add({
22104
+ this.showIfEnabled('tab_sync_plugin_switched', {
21979
22105
  id: 'activeTab',
21980
22106
  message: `${this.t('notifications.plugin_switched_to')} ${activePlugin.name}`,
21981
- duration: notification_duration.participant_joined,
21982
22107
  });
22108
+ this.playSoundIfEnabled('tab_sync_plugin_switched');
21983
22109
  }
21984
22110
  break;
21985
22111
  case 'screenshare':
@@ -21988,21 +22114,20 @@ const RtkNotifications = class {
21988
22114
  .filter((participant) => participant.screenShareEnabled)
21989
22115
  .find((participant) => participant.id == activeTab.id);
21990
22116
  if (screenShareParticipant != undefined) {
21991
- this.add({
22117
+ this.showIfEnabled('tab_sync_screen_share_switched', {
21992
22118
  id: 'spotlight',
21993
22119
  message: `Now watching ${screenShareParticipant.name}'s screen`,
21994
- duration: notification_duration.webinar,
21995
22120
  });
22121
+ this.playSoundIfEnabled('tab_sync_screen_share_switched');
21996
22122
  }
21997
22123
  break;
21998
22124
  }
21999
22125
  };
22000
22126
  this.peerStageStatusListener = (participant) => {
22001
- if (participant.stageStatus === 'REQUESTED_TO_JOIN_STAGE') {
22002
- this.add({
22127
+ if (participant.stageStatus === 'REQUESTED_TO_JOIN_STAGE' && this.canAcceptStageRequests()) {
22128
+ this.showIfEnabled('stage_requested_to_join', {
22003
22129
  id: `stage-request-${participant.id}`,
22004
22130
  message: `${participant.name} ${this.t('notifications.requested_to_join_stage')}`,
22005
- duration: notification_duration.webinar,
22006
22131
  button: {
22007
22132
  text: this.t('notifications.accept'),
22008
22133
  variant: 'primary',
@@ -22012,41 +22137,36 @@ const RtkNotifications = class {
22012
22137
  },
22013
22138
  },
22014
22139
  });
22015
- if (notification_sounds.webinar) {
22016
- this.audio.play('joined');
22017
- }
22140
+ this.playSoundIfEnabled('stage_requested_to_join');
22018
22141
  }
22019
22142
  if (participant.stageStatus === 'ON_STAGE') {
22020
- this.add({
22143
+ this.showIfEnabled('stage_joined', {
22021
22144
  id: `stage-joined-${participant.id}`,
22022
22145
  message: `${participant.name} ${this.t('notifications.joined_stage')}`,
22023
- duration: notification_duration.webinar,
22024
22146
  });
22025
- if (notification_sounds.webinar) {
22026
- this.audio.play('joined');
22027
- }
22147
+ this.playSoundIfEnabled('stage_joined');
22028
22148
  }
22029
22149
  };
22030
22150
  this.stageRequestAccepted = () => {
22031
- this.add({
22151
+ this.showIfEnabled('stage_request_accepted', {
22032
22152
  id: 'stage-request-accepted',
22033
22153
  message: this.t('notifications.request_to_join_accepted'),
22034
- duration: 3000,
22035
22154
  });
22155
+ this.playSoundIfEnabled('stage_request_accepted');
22036
22156
  };
22037
22157
  this.stageRequestRejected = () => {
22038
- this.add({
22158
+ this.showIfEnabled('stage_request_rejected', {
22039
22159
  id: 'stage-request-rejected',
22040
22160
  message: this.t('notifications.request_to_join_rejected'),
22041
- duration: 3000,
22042
22161
  });
22162
+ this.playSoundIfEnabled('stage_request_rejected');
22043
22163
  };
22044
22164
  this.newStageRequests = ({ count }) => {
22045
- this.add({
22165
+ this.showIfEnabled('stage_new_request_received', {
22046
22166
  id: 'new-stage-request',
22047
22167
  message: `You have ${count < 0 ? 'new stage' : `${count} pending`} request${count === 1 ? '' : 's'}`,
22048
- duration: 3000,
22049
22168
  });
22169
+ this.playSoundIfEnabled('stage_new_request_received');
22050
22170
  };
22051
22171
  this.stageStatusUpdateListener = (status) => {
22052
22172
  if (status === 'ON_STAGE')
@@ -22076,55 +22196,95 @@ const RtkNotifications = class {
22076
22196
  meeting.self.addListener('deviceUpdate', this.deviceUpdateListener);
22077
22197
  meeting.meta.addListener('socketConnectionUpdate', this.socketConnectionUpdateListener);
22078
22198
  (_e = meeting.meta) === null || _e === void 0 ? void 0 : _e.addListener('activeTabUpdate', this.activeTabUpdateListener);
22199
+ meeting.participants.joined.addListener('stageStatusUpdate', this.peerStageStatusListener);
22079
22200
  (_f = meeting.recording) === null || _f === void 0 ? void 0 : _f.addListener('recordingUpdate', this.onRecordingUpdate);
22080
22201
  (_g = meeting.stage) === null || _g === void 0 ? void 0 : _g.addListener('stageRequestApproved', this.stageRequestAccepted);
22081
22202
  (_h = meeting.stage) === null || _h === void 0 ? void 0 : _h.addListener('stageRequestRejected', this.stageRequestRejected);
22082
- if (meeting.self.permissions.stageEnabled && meeting.self.permissions.acceptStageRequests) {
22203
+ if (this.canAcceptStageRequests()) {
22083
22204
  (_j = meeting.stage) === null || _j === void 0 ? void 0 : _j.addListener('newStageRequest', this.newStageRequests);
22084
22205
  }
22085
22206
  }
22086
22207
  configChanged(config) {
22087
- if (config != null) {
22088
- if ((config === null || config === void 0 ? void 0 : config.config) != null) {
22089
- this.permissions = parseConfig(config.config);
22090
- this.enabledSounds = getEnabledSounds(this.permissions.notification_sounds);
22091
- }
22092
- }
22093
- }
22094
- statesChanged(states) {
22095
- var _a;
22096
- if (states != null) {
22097
- const notificationSoundsEnabled = !((_a = states === null || states === void 0 ? void 0 : states.prefs) === null || _a === void 0 ? void 0 : _a.muteNotificationSounds);
22098
- // toggle only the notification sounds values which were enabled in the first place
22099
- for (const permission of this.enabledSounds) {
22100
- if (permission in this.permissions.notification_sounds) {
22101
- this.permissions.notification_sounds[permission] = notificationSoundsEnabled;
22102
- }
22103
- }
22104
- }
22208
+ // a group, key or limit that the config does not set keeps its default value
22209
+ this.notificationConfig = merge({}, DEFAULT_NOTIFICATION_CONFIG, config === null || config === void 0 ? void 0 : config.config);
22105
22210
  }
22106
22211
  apiErrorListener({ detail }) {
22107
22212
  const { trace, message } = detail;
22108
- this.add({
22213
+ this.showIfEnabled('api_error', {
22109
22214
  id: trace,
22110
22215
  message,
22111
- duration: DEFAULT_NOTIFICATION_DURATION,
22112
22216
  icon: this.iconPack.warning,
22113
22217
  });
22218
+ this.playSoundIfEnabled('api_error');
22114
22219
  }
22115
22220
  sendNotificationListener({ detail }) {
22116
22221
  const { trace, message } = detail;
22117
- this.add({
22222
+ // rtk-participant sends the stage invite message with a trace that starts with `join-stage-`
22223
+ if (trace === null || trace === void 0 ? void 0 : trace.startsWith('join-stage-')) {
22224
+ this.showIfEnabled('stage_invite_sent', { id: trace, message });
22225
+ this.playSoundIfEnabled('stage_invite_sent');
22226
+ return;
22227
+ }
22228
+ this.showIfEnabled('custom', {
22118
22229
  id: trace,
22119
22230
  message,
22120
- duration: DEFAULT_NOTIFICATION_DURATION,
22121
22231
  });
22232
+ this.playCustomSoundIfEnabled();
22233
+ }
22234
+ isShown(key) {
22235
+ return !!this.notificationConfig.notifications[key];
22236
+ }
22237
+ isSoundOn(key) {
22238
+ var _a, _b;
22239
+ if ((_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.prefs) === null || _b === void 0 ? void 0 : _b.muteNotificationSounds)
22240
+ return false;
22241
+ return !!this.notificationConfig.notification_sounds[key];
22242
+ }
22243
+ showIfEnabled(key, notification) {
22244
+ if (!this.isShown(key))
22245
+ return;
22246
+ const duration = this.notificationConfig.notification_duration[key];
22247
+ // a duration of 0 keeps the notification until it is dismissed or replaced
22248
+ // these two carry the End Meeting button, so the visible limit does not apply to them
22249
+ const ignoreVisibleLimit = key === 'network_disconnected' || key === 'network_failed';
22250
+ this.add(Object.assign(Object.assign({}, notification), { duration: duration > 0 ? duration : undefined }), ignoreVisibleLimit);
22251
+ }
22252
+ playSoundIfEnabled(key) {
22253
+ var _a;
22254
+ if (!this.isSoundOn(key))
22255
+ return;
22256
+ const url = this.notificationConfig.notification_sound_urls[key];
22257
+ // the audio player exists only after the meeting is set
22258
+ (_a = this.audio) === null || _a === void 0 ? void 0 : _a.playUrl(isAudioFileUrl(url) ? url : DEFAULT_NOTIFICATION_CONFIG.notification_sound_urls[key]);
22259
+ }
22260
+ /**
22261
+ * A custom notification plays the sound that its sender chose:
22262
+ * the name of a built-in sound or the URL of an audio file.
22263
+ * Without a usable sound from the sender, it plays the `custom` URL from the config, if one is set.
22264
+ */
22265
+ playCustomSoundIfEnabled(senderSound) {
22266
+ var _a, _b;
22267
+ if (!this.isSoundOn('custom'))
22268
+ return;
22269
+ if (isBuiltInSoundName(senderSound)) {
22270
+ (_a = this.audio) === null || _a === void 0 ? void 0 : _a.play(senderSound);
22271
+ return;
22272
+ }
22273
+ const configUrl = this.notificationConfig.notification_sound_urls.custom;
22274
+ const url = isAudioFileUrl(senderSound) ? senderSound : configUrl;
22275
+ if (isAudioFileUrl(url)) {
22276
+ (_b = this.audio) === null || _b === void 0 ? void 0 : _b.playUrl(url);
22277
+ }
22122
22278
  }
22123
- add(notification) {
22124
- // show notifications only if tab is in focus and a maximum of 5 at a time
22125
- if (document.visibilityState === 'visible' && this.notifications.length < 5) {
22279
+ add(notification, ignoreVisibleLimit = false) {
22280
+ // a new notification replaces an earlier one that has the same id
22281
+ const otherNotifications = this.notifications.filter(({ id }) => id !== notification.id);
22282
+ // show notifications only if tab is in focus and the visible limit is not reached
22283
+ const visibleLimit = this.notificationConfig.visible_notifications_limit;
22284
+ const hasRoom = ignoreVisibleLimit || !(visibleLimit > 0) || otherNotifications.length < visibleLimit;
22285
+ if (document.visibilityState === 'visible' && hasRoom) {
22126
22286
  // adds new notification to start of array so they appear at the bottom
22127
- this.notifications = [...this.notifications, notification];
22287
+ this.notifications = [...otherNotifications, notification];
22128
22288
  }
22129
22289
  }
22130
22290
  remove(id) {
@@ -22143,20 +22303,23 @@ const RtkNotifications = class {
22143
22303
  }, 400);
22144
22304
  }
22145
22305
  canPlayParticipantJoinedSound() {
22146
- return (this.permissions.participant_joined_sound_notification_limit == undefined ||
22147
- this.permissions.participant_joined_sound_notification_limit <= 0 ||
22306
+ return (this.notificationConfig.participant_joined_sound_notification_limit == undefined ||
22307
+ this.notificationConfig.participant_joined_sound_notification_limit <= 0 ||
22148
22308
  this.meeting.participants.count <=
22149
- this.permissions.participant_joined_sound_notification_limit);
22309
+ this.notificationConfig.participant_joined_sound_notification_limit);
22150
22310
  }
22151
22311
  canPlayChatSound() {
22152
- return (this.permissions.participant_chat_message_sound_notification_limit == undefined ||
22153
- this.permissions.participant_chat_message_sound_notification_limit <= 0 ||
22312
+ return (this.notificationConfig.participant_chat_message_sound_notification_limit == undefined ||
22313
+ this.notificationConfig.participant_chat_message_sound_notification_limit <= 0 ||
22154
22314
  this.meeting.participants.count <=
22155
- this.permissions.participant_chat_message_sound_notification_limit);
22315
+ this.notificationConfig.participant_chat_message_sound_notification_limit);
22316
+ }
22317
+ canAcceptStageRequests() {
22318
+ const { stageEnabled, acceptStageRequests } = this.meeting.self.permissions;
22319
+ return !!(stageEnabled && acceptStageRequests);
22156
22320
  }
22157
22321
  canAcceptWaitingRequests() {
22158
- return (this.permissions.notifications.participant_joined_waitlist &&
22159
- this.meeting.self.permissions.acceptWaitingRequests);
22322
+ return !!this.meeting.self.permissions.acceptWaitingRequests;
22160
22323
  }
22161
22324
  render() {
22162
22325
  if (!this.meeting) {
@@ -22171,9 +22334,6 @@ const RtkNotifications = class {
22171
22334
  }],
22172
22335
  "config": [{
22173
22336
  "configChanged": 0
22174
- }],
22175
- "states": [{
22176
- "statesChanged": 0
22177
22337
  }]
22178
22338
  }; }
22179
22339
  };
@@ -23843,7 +24003,7 @@ const isFullScreenSupported = () => {
23843
24003
  return false;
23844
24004
  };
23845
24005
 
23846
- const rtkScreenshareViewCss = () => `: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{height:100%;width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));container-type:inline-size;container-name:screentile}::slotted(rtk-name-tag){position:absolute;left:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px);opacity:0.8}#video-container{position:absolute;display:block;height:100%;width:100%}#video-container .fit-in-container{-o-object-fit:fill;object-fit:fill}video{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}video.visible{animation:video-fadein 0.4s ease}#controls{display:none;position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}:host(:hover) #controls,:host(:active) #controls,:host(:focus-visible) #controls{display:flex}#full-screen-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-6, 24px);text-align:center;font-size:20px;font-weight:500}:host([size='sm']) h3{font-size:16px}#self-message{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.isSelf) #self-view{flex:1 1 0%}:host(.isSelf) #video-container{position:static;aspect-ratio:auto;height:auto;width:50%;max-width:var(--rtk-space-96, 384px);border-radius:var(--rtk-border-radius-md, 8px);transition:0.6s ease}:host(.isSelf) #video-container.expand{width:60%;max-width:100%}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px)}:host([size='sm'].isSelf) #video-container,:host([size='md'].isSelf) #video-container,:host([size='sm'].isSelf) #expand-btn,:host([size='md'].isSelf) #expand-btn{display:none}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.remote-control{z-index:10;height:100%;max-height:100%;flex:0 1 auto}#remote-control-self{position:absolute;top:var(--rtk-space-0, 0px);left:50%;z-index:10;width:-moz-max-content;width:max-content;max-width:100%;box-sizing:border-box;display:flex;height:var(--rtk-space-8, 32px);align-items:center;overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));transform:translateX(-50%)}#remote-control-self p{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}#remote-control-self rtk-button{height:100%;border-radius:var(--rtk-border-radius-none, 0);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));font-size:12px}:host([size='sm']) #remote-control-self{height:auto;flex-direction:column}:host([size='sm']) #remote-control-self rtk-button{width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag){left:auto;right:var(--rtk-space-3, 12px)}:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag){left:auto;right:auto}:host([name-tag-position='top-left']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);bottom:auto}:host([name-tag-position='top-right']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);left:auto;bottom:auto}:host([name-tag-position='top-center']) ::slotted(rtk-name-tag){left:auto;right:auto;bottom:auto;top:var(--rtk-space-3, 12px)}@keyframes video-fadein{0%{opacity:0;transform:scale(1.4) translateY(20px)}100%{opacity:1;transform:scale(1) translateY(0)}}::slotted(rtk-network-indicator){position:absolute;right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px)}@media only screen and (max-height: 480px) and (orientation: landscape){:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{left:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-none, 0);transform-origin:0% 110%;transform:scale(0.6)}}@container screentile (max-width: 400px){::slotted(rtk-name-tag){transform-origin:0 130%;transform:scale(0.7)}}`;
24006
+ const rtkScreenshareViewCss = () => `: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{height:100%;width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));container-type:inline-size;container-name:screentile}::slotted(rtk-name-tag){position:absolute;left:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px);opacity:0.8}#video-container{position:absolute;display:block;height:100%;width:100%}#video-container .fit-in-container{-o-object-fit:fill;object-fit:fill}video{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.validation-border{pointer-events:none;position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px);left:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);border:2px solid rgb(var(--rtk-colors-background-600, 60 60 60));--validation-color:rgb(var(--rtk-colors-brand-500, 33 96 253));--rtk-screenshare-view-progress:var(--validation-progress);transition:--rtk-screenshare-view-progress 0.5s linear, border-color 0.5s linear}.validation-border.none-active{border-color:rgb(var(--rtk-colors-danger, 255 45 45));--rtk-screenshare-view-progress:0%;transition:none}.validation-border.complete{--validation-color:rgb(var(--rtk-colors-success, 98 165 4))}.validation-border::after{content:'';position:absolute;inset:-3px;padding:3px;border-radius:inherit;background:conic-gradient( from 0deg, var(--validation-color) var(--rtk-screenshare-view-progress), transparent 0 );-webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);-webkit-mask-composite:xor;-webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}video.visible{animation:video-fadein 0.4s ease}#controls{display:none;position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}:host(:hover) #controls,:host(:active) #controls,:host(:focus-visible) #controls{display:flex}#full-screen-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-6, 24px);text-align:center;font-size:20px;font-weight:500}:host([size='sm']) h3{font-size:16px}#self-message{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}.validation-status{margin-top:var(--rtk-space-5, 20px);max-width:100%;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));position:relative;z-index:2}.waiting-viewers{display:flex;max-width:100%;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px);position:relative}.pending-avatars{display:flex;max-width:100%;flex-wrap:wrap;align-items:center;justify-content:center;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}.pending-avatars button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);flex-shrink:0;border-radius:9999px;font-size:10px;display:flex;cursor:pointer;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);border:2px solid rgb(var(--rtk-colors-video-bg, 24 24 24));-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative}.pending-avatars button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-500, 33 96 253));outline-offset:2px}.pending-avatars .avatar-trigger{background-color:transparent}.pending-avatars rtk-avatar{height:100%;width:100%;font-size:10px;pointer-events:none}.pending-avatars button+button{margin-left:-10px}.pending-avatars button:hover,.pending-avatars button:focus-visible{z-index:1}.pending-avatars .more-avatar{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-weight:500;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.viewer-name{position:absolute;bottom:100%;left:50%;max-width:var(--rtk-space-48, 192px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));pointer-events:none;transform:translateX(-50%);width:-moz-max-content;width:max-content;margin-bottom:4px}.remaining-viewers{max-height:var(--rtk-space-40, 160px);width:var(--rtk-space-64, 256px);max-width:100%;overflow-y:auto;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;flex-direction:column;gap:var(--rtk-space-1, 4px);flex-basis:100%;margin:0 auto}.remaining-viewer{display:flex;align-items:center;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.remaining-viewer rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);flex-shrink:0;font-size:10px}.remaining-viewer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.none-visible{font-size:12px;font-weight:500;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.all-visible{font-size:12px;font-weight:500;--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}:host(.isSelf) #self-view{flex:1 1 0%}:host(.isSelf) #video-container{position:static;aspect-ratio:auto;height:auto;width:50%;max-width:var(--rtk-space-96, 384px);border-radius:var(--rtk-border-radius-md, 8px);transition:0.6s ease}:host(.isSelf) #video-container.expand{width:60%;max-width:100%}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px)}:host([size='sm'].isSelf) #video-container,:host([size='md'].isSelf) #video-container,:host([size='sm'].isSelf) #expand-btn,:host([size='md'].isSelf) #expand-btn{display:none}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.remote-control{z-index:10;height:100%;max-height:100%;flex:0 1 auto}#remote-control-self{position:absolute;top:var(--rtk-space-0, 0px);left:50%;z-index:10;width:-moz-max-content;width:max-content;max-width:100%;box-sizing:border-box;display:flex;height:var(--rtk-space-8, 32px);align-items:center;overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));transform:translateX(-50%)}#remote-control-self p{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}#remote-control-self rtk-button{height:100%;border-radius:var(--rtk-border-radius-none, 0);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));font-size:12px}:host([size='sm']) #remote-control-self{height:auto;flex-direction:column}:host([size='sm']) #remote-control-self rtk-button{width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag){left:auto;right:var(--rtk-space-3, 12px)}:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag){left:auto;right:auto}:host([name-tag-position='top-left']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);bottom:auto}:host([name-tag-position='top-right']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);left:auto;bottom:auto}:host([name-tag-position='top-center']) ::slotted(rtk-name-tag){left:auto;right:auto;bottom:auto;top:var(--rtk-space-3, 12px)}@keyframes video-fadein{0%{opacity:0;transform:scale(1.4) translateY(20px)}100%{opacity:1;transform:scale(1) translateY(0)}}::slotted(rtk-network-indicator){position:absolute;right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px)}@media only screen and (max-height: 480px) and (orientation: landscape){:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{left:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-none, 0);transform-origin:0% 110%;transform:scale(0.6)}}@container screentile (max-width: 400px){::slotted(rtk-name-tag){transform-origin:0 130%;transform:scale(0.7)}}`;
23847
24007
 
23848
24008
  var __decorate$z = function (decorators, target, key, desc) {
23849
24009
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -23855,34 +24015,138 @@ var __decorate$z = function (decorators, target, key, desc) {
23855
24015
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23856
24016
  return c > 3 && r && Object.defineProperty(target, key, r), r;
23857
24017
  };
24018
+ const SCREEN_SHARE_VISIBILITY_MESSAGE = '__rtk_screenshare_visibility__';
24019
+ let isScreenShareProgressRegistered = false;
23858
24020
  const RtkScreenshareView = class {
23859
24021
  constructor(hostRef) {
23860
24022
  registerInstance(this, hostRef);
23861
24023
  this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
23862
24024
  this.play = createEvent(this, "screensharePlay", 7);
23863
- this.screenShareListener = ({ screenShareEnabled, screenShareTracks, }) => {
23864
- const enabled = screenShareEnabled && screenShareTracks.video != null;
24025
+ this.pendingViewerIds = new Set();
24026
+ // Stencil batches state assignments, but does not observe Set mutations.
24027
+ this.viewerVisibilityRevision = 0;
24028
+ this.handleScreenShareUpdate = ({ screenShareEnabled, screenShareTracks, }) => {
24029
+ var _a, _b;
24030
+ const hasScreenShareVideo = screenShareEnabled && (screenShareTracks === null || screenShareTracks === void 0 ? void 0 : screenShareTracks.video) != null;
24031
+ if (((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.id)) {
24032
+ this.updateLocalScreenShareVisibilityTracking(hasScreenShareVideo);
24033
+ }
24034
+ else {
24035
+ this.prepareRemoteScreenShareVisibilityNotification(hasScreenShareVideo);
24036
+ }
23865
24037
  writeTask(() => {
23866
- this.screenShareEnabled = enabled;
24038
+ this.screenShareEnabled = hasScreenShareVideo;
23867
24039
  });
23868
24040
  };
24041
+ this.handleViewerJoined = (peer) => {
24042
+ var _a, _b, _c, _d;
24043
+ if (((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self) === null || _c === void 0 ? void 0 : _c.id)) {
24044
+ this.trackJoinedViewerScreenshareVisibility(peer);
24045
+ }
24046
+ else if (peer.id === ((_d = this.participant) === null || _d === void 0 ? void 0 : _d.id)) {
24047
+ // The sharer may have lost our earlier visibility report during reconnect.
24048
+ this.lastNotifiedVisibility = undefined;
24049
+ this.notifySharerOfScreenShareVisibility(true);
24050
+ }
24051
+ };
24052
+ this.handleViewerLeft = (peer) => {
24053
+ var _a, _b, _c;
24054
+ if (((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self) === null || _c === void 0 ? void 0 : _c.id)) {
24055
+ this.removeDepartedViewerVisibility(peer);
24056
+ }
24057
+ };
24058
+ this.handleScreenShareVisibilityNotification = ({ type, payload, peerId, }) => {
24059
+ var _a;
24060
+ const meeting = this.meeting;
24061
+ if (type !== SCREEN_SHARE_VISIBILITY_MESSAGE ||
24062
+ meeting == null ||
24063
+ ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) !== meeting.self.id ||
24064
+ payload == null ||
24065
+ typeof payload !== 'object') {
24066
+ return;
24067
+ }
24068
+ const { sharerId, producerId, visible } = payload;
24069
+ if (sharerId !== meeting.self.id ||
24070
+ typeof producerId !== 'string' ||
24071
+ typeof visible !== 'boolean' ||
24072
+ producerId !== this.trackedScreenShareProducerId ||
24073
+ !meeting.participants.joined.has(peerId)) {
24074
+ return;
24075
+ }
24076
+ if (visible) {
24077
+ if (!this.pendingViewerIds.delete(peerId)) {
24078
+ return;
24079
+ }
24080
+ }
24081
+ else {
24082
+ if (this.pendingViewerIds.has(peerId)) {
24083
+ return;
24084
+ }
24085
+ this.pendingViewerIds.add(peerId);
24086
+ }
24087
+ this.viewerVisibilityRevision++;
24088
+ this.hidePendingViewerDetailsWhenEmpty();
24089
+ };
24090
+ this.notifySharerOfScreenShareVisibility = (visible, meeting, sharerId) => {
24091
+ var _a, _b;
24092
+ if (meeting === void 0) {
24093
+ meeting = this.meeting;
24094
+ }
24095
+ if (sharerId === void 0) {
24096
+ sharerId = (_a = this.participant) === null || _a === void 0 ? void 0 : _a.id;
24097
+ }
24098
+ if (!((_b = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _b === void 0 ? void 0 : _b.broadcastMessage) || !sharerId || sharerId === meeting.self.id) {
24099
+ return;
24100
+ }
24101
+ const producerId = this.trackedScreenShareProducerId;
24102
+ if (!producerId || (visible && !this.isActivelyViewingScreenShare())) {
24103
+ return;
24104
+ }
24105
+ const last = this.lastNotifiedVisibility;
24106
+ if ((!visible && !(last === null || last === void 0 ? void 0 : last.visible)) ||
24107
+ ((last === null || last === void 0 ? void 0 : last.producerId) === producerId && last.visible === visible)) {
24108
+ return;
24109
+ }
24110
+ const notification = { producerId, visible };
24111
+ this.lastNotifiedVisibility = notification;
24112
+ void meeting.participants
24113
+ .broadcastMessage(SCREEN_SHARE_VISIBILITY_MESSAGE, { sharerId, producerId, visible }, { participantIds: [sharerId] })
24114
+ .catch((error) => {
24115
+ var _a, _b;
24116
+ if (this.lastNotifiedVisibility === notification) {
24117
+ this.lastNotifiedVisibility = undefined;
24118
+ }
24119
+ (_b = (_a = meeting.__internals__) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.error('rtkScreenshareView::validateScreenShare', { error });
24120
+ });
24121
+ };
24122
+ this.handleActiveTabUpdate = () => {
24123
+ this.notifySharerOfScreenShareVisibility(this.isActivelyViewingScreenShare());
24124
+ };
24125
+ this.handleVideoPause = () => {
24126
+ this.notifySharerOfScreenShareVisibility(false);
24127
+ };
23869
24128
  this.onVideoRef = (el) => {
23870
24129
  var _a;
23871
- if (el == null || el === this.videoEl)
24130
+ if (el == null || el === this.videoEl) {
23872
24131
  return;
24132
+ }
23873
24133
  this.videoEl = el;
23874
24134
  (_a = this.participant) === null || _a === void 0 ? void 0 : _a.registerScreenshareVideoElement(el);
23875
24135
  };
23876
24136
  this.fullScreenListener = () => {
23877
24137
  this.isFullScreen = isFullScreenEnabled();
23878
24138
  };
23879
- this.participantScreenshareUpdate = (p) => {
23880
- if (p.id !== this.participant.id)
24139
+ this.handleRemoteParticipantScreenShareUpdate = (p) => {
24140
+ var _a;
24141
+ if (!p || p.id !== ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id)) {
23881
24142
  return;
23882
- this.screenShareListener(p);
24143
+ }
24144
+ this.handleScreenShareUpdate(p);
23883
24145
  };
23884
24146
  /** Hide full screen button */
23885
24147
  this.hideFullScreenButton = false;
24148
+ /** Maximum number of pending viewer avatars shown before the overflow count */
24149
+ this.maxVisibleViewerAvatars = 3;
23886
24150
  /** Position of name tag */
23887
24151
  this.nameTagPosition = 'bottom-left';
23888
24152
  /** Variant */
@@ -23895,10 +24159,12 @@ const RtkScreenshareView = class {
23895
24159
  this.screenShareEnabled = false;
23896
24160
  this.isSwitchingScreen = false;
23897
24161
  this.isFullScreen = false;
24162
+ this.showRemainingViewers = false;
23898
24163
  this.shareDifferentScreen = async () => {
23899
24164
  const meeting = this.meeting;
23900
- if (meeting == null || this.isSwitchingScreen)
24165
+ if (meeting == null || this.isSwitchingScreen) {
23901
24166
  return;
24167
+ }
23902
24168
  this.isSwitchingScreen = true;
23903
24169
  try {
23904
24170
  await meeting.self.enableScreenShare();
@@ -23921,52 +24187,244 @@ const RtkScreenshareView = class {
23921
24187
  }
23922
24188
  };
23923
24189
  }
24190
+ getLocalScreenShareVideoProducerId() {
24191
+ var _a, _b, _c, _d;
24192
+ return (_d = (_c = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self) === null || _b === void 0 ? void 0 : _b.producers) === null || _c === void 0 ? void 0 : _c.find((producer) => { var _a; return (producer === null || producer === void 0 ? void 0 : producer.kind) === 'video' && ((_a = producer === null || producer === void 0 ? void 0 : producer.appData) === null || _a === void 0 ? void 0 : _a.screenShare) === true; })) === null || _d === void 0 ? void 0 : _d.id;
24193
+ }
24194
+ getRemoteScreenShareVideoProducerId() {
24195
+ var _a, _b, _c, _d, _e, _f, _g;
24196
+ const remotePeer = this.participant;
24197
+ if (!(remotePeer === null || remotePeer === void 0 ? void 0 : remotePeer.id)) {
24198
+ return;
24199
+ }
24200
+ return (_g = (_f = (_e = (_d = (_c = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants) === null || _b === void 0 ? void 0 : _b.joined) === null || _c === void 0 ? void 0 : _c.get) === null || _d === void 0 ? void 0 : _d.call(_c, remotePeer.id)) === null || _e === void 0 ? void 0 : _e.producers) === null || _f === void 0 ? void 0 : _f.find((producer) => (producer === null || producer === void 0 ? void 0 : producer.kind) === 'video' && (producer === null || producer === void 0 ? void 0 : producer.screenShare) === true)) === null || _g === void 0 ? void 0 : _g.producerId;
24201
+ }
24202
+ updateLocalScreenShareVisibilityTracking(enabled) {
24203
+ const producerId = enabled ? this.getLocalScreenShareVideoProducerId() : undefined;
24204
+ if (producerId === this.trackedScreenShareProducerId) {
24205
+ return;
24206
+ }
24207
+ if (!producerId) {
24208
+ this.resetScreenShareVisibilityTracking();
24209
+ return;
24210
+ }
24211
+ this.startTrackingScreenShareVisibility(producerId);
24212
+ }
24213
+ prepareRemoteScreenShareVisibilityNotification(enabled) {
24214
+ const producerId = enabled ? this.getRemoteScreenShareVideoProducerId() : undefined;
24215
+ if (producerId === this.trackedScreenShareProducerId) {
24216
+ return;
24217
+ }
24218
+ this.notifySharerOfScreenShareVisibility(false);
24219
+ this.trackedScreenShareProducerId = producerId;
24220
+ this.lastNotifiedVisibility = undefined;
24221
+ }
24222
+ startTrackingScreenShareVisibility(producerId) {
24223
+ this.resetScreenShareVisibilityTracking();
24224
+ this.trackedScreenShareProducerId = producerId;
24225
+ // Each viewer must report seeing the current screen-share producer.
24226
+ for (const viewerId of this.meeting.participants.joined.keys()) {
24227
+ this.pendingViewerIds.add(viewerId);
24228
+ }
24229
+ this.viewerVisibilityRevision++;
24230
+ }
24231
+ resetScreenShareVisibilityTracking() {
24232
+ this.trackedScreenShareProducerId = undefined;
24233
+ this.lastNotifiedVisibility = undefined;
24234
+ this.pendingViewerIds.clear();
24235
+ this.viewerVisibilityRevision++;
24236
+ this.previewedViewerId = undefined;
24237
+ this.showRemainingViewers = false;
24238
+ }
24239
+ trackJoinedViewerScreenshareVisibility(peer) {
24240
+ const meeting = this.meeting;
24241
+ if (!meeting || !this.trackedScreenShareProducerId) {
24242
+ return;
24243
+ }
24244
+ // A rejoined viewer needs to confirm the current share again.
24245
+ this.pendingViewerIds.add(peer.id);
24246
+ this.viewerVisibilityRevision++;
24247
+ }
24248
+ removeDepartedViewerVisibility(peer) {
24249
+ const meeting = this.meeting;
24250
+ if (!meeting || !this.trackedScreenShareProducerId) {
24251
+ return;
24252
+ }
24253
+ if (meeting.participants.joined.has(peer.id)) {
24254
+ return;
24255
+ }
24256
+ this.pendingViewerIds.delete(peer.id);
24257
+ this.viewerVisibilityRevision++;
24258
+ this.hidePendingViewerDetailsWhenEmpty();
24259
+ }
24260
+ hidePendingViewerDetailsWhenEmpty() {
24261
+ if (this.pendingViewerIds.size > 0) {
24262
+ return;
24263
+ }
24264
+ this.previewedViewerId = undefined;
24265
+ this.showRemainingViewers = false;
24266
+ }
24267
+ isActivelyViewingScreenShare() {
24268
+ var _a, _b, _c, _d, _e, _f, _g;
24269
+ const tab = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.selfActiveTab;
24270
+ const video = this.videoEl;
24271
+ const participantId = (_c = this.participant) === null || _c === void 0 ? void 0 : _c.id;
24272
+ const screenShareTrack = participantId
24273
+ ? (_f = (_e = (_d = this.meeting) === null || _d === void 0 ? void 0 : _d.participants.joined.get(participantId)) === null || _e === void 0 ? void 0 : _e.screenShareTracks) === null || _f === void 0 ? void 0 : _f.video
24274
+ : undefined;
24275
+ const videoSource = video === null || video === void 0 ? void 0 : video.srcObject;
24276
+ const attachedVideoTrack = videoSource && 'getVideoTracks' in videoSource ? videoSource.getVideoTracks()[0] : undefined;
24277
+ // An already-playing element can still hold a frame from the previous share.
24278
+ return (screenShareTrack != null &&
24279
+ attachedVideoTrack === screenShareTrack &&
24280
+ video != null &&
24281
+ !video.paused &&
24282
+ video.readyState >= video.HAVE_CURRENT_DATA &&
24283
+ (tab == null || (tab.type === 'screenshare' && tab.id === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id))));
24284
+ }
23924
24285
  connectedCallback() {
24286
+ if (!isScreenShareProgressRegistered &&
24287
+ typeof CSS !== 'undefined' &&
24288
+ typeof CSS.registerProperty === 'function') {
24289
+ // Shadow-root @property rules do not register in Chromium.
24290
+ try {
24291
+ CSS.registerProperty({
24292
+ name: '--rtk-screenshare-view-progress',
24293
+ syntax: '<percentage>',
24294
+ inherits: true,
24295
+ initialValue: '0%',
24296
+ });
24297
+ }
24298
+ catch (error) {
24299
+ if (!(error instanceof DOMException && error.name === 'InvalidModificationError')) {
24300
+ throw error;
24301
+ }
24302
+ }
24303
+ isScreenShareProgressRegistered = true;
24304
+ }
23925
24305
  window === null || window === void 0 ? void 0 : window.addEventListener('fullscreenchange', this.fullScreenListener);
23926
24306
  window === null || window === void 0 ? void 0 : window.addEventListener('webkitfullscreenchange', this.fullScreenListener);
23927
- this.participantChanged(this.participant);
24307
+ this.meetingChanged(this.meeting);
23928
24308
  }
23929
24309
  disconnectedCallback() {
24310
+ this.notifySharerOfScreenShareVisibility(false);
23930
24311
  this.cleanupParticipant(this.participant);
24312
+ this.cleanupMeeting(this.meeting);
23931
24313
  window === null || window === void 0 ? void 0 : window.removeEventListener('fullscreenchange', this.fullScreenListener);
23932
24314
  window === null || window === void 0 ? void 0 : window.removeEventListener('webkitfullscreenchange', this.fullScreenListener);
23933
24315
  }
23934
24316
  participantChanged(participant, oldParticipant) {
23935
24317
  // The SDK ignores a video element that another participant still manages
23936
24318
  this.cleanupParticipant(oldParticipant);
23937
- if (participant == null)
24319
+ if ((oldParticipant === null || oldParticipant === void 0 ? void 0 : oldParticipant.id) !== (participant === null || participant === void 0 ? void 0 : participant.id)) {
24320
+ this.notifySharerOfScreenShareVisibility(false, this.meeting, oldParticipant === null || oldParticipant === void 0 ? void 0 : oldParticipant.id);
24321
+ this.resetScreenShareVisibilityTracking();
24322
+ }
24323
+ else if (oldParticipant && oldParticipant !== participant) {
24324
+ // A fresh participant object can reattach the same producer to a new video track.
24325
+ this.lastNotifiedVisibility = undefined;
24326
+ }
24327
+ if (participant == null) {
23938
24328
  return;
24329
+ }
23939
24330
  // On first load the video element is registered once it renders, see onVideoRef
23940
- if (this.videoEl)
24331
+ if (this.videoEl) {
23941
24332
  participant.registerScreenshareVideoElement(this.videoEl);
23942
- if (!this.meeting)
24333
+ }
24334
+ if (!this.meeting) {
23943
24335
  return;
23944
- this.screenShareListener(participant);
23945
- if (participant.id === this.meeting.self.id)
23946
- participant.addListener('screenShareUpdate', this.screenShareListener);
23947
- else
23948
- this.meeting.participants.joined.addListener('screenShareUpdate', this.participantScreenshareUpdate);
24336
+ }
24337
+ this.handleScreenShareUpdate(participant);
24338
+ if (oldParticipant && oldParticipant !== participant) {
24339
+ this.notifySharerOfScreenShareVisibility(true);
24340
+ }
24341
+ if (participant.id === this.meeting.self.id) {
24342
+ participant.addListener('screenShareUpdate', this.handleScreenShareUpdate);
24343
+ }
24344
+ else {
24345
+ this.meeting.participants.joined.addListener('screenShareUpdate', this.handleRemoteParticipantScreenShareUpdate);
24346
+ }
23949
24347
  }
23950
- cleanupParticipant(participant) {
23951
- if (participant == null)
24348
+ meetingChanged(meeting, oldMeeting) {
24349
+ var _a, _b, _c, _d;
24350
+ if (oldMeeting) {
24351
+ this.notifySharerOfScreenShareVisibility(false, oldMeeting);
24352
+ this.cleanupParticipant(this.participant, oldMeeting);
24353
+ this.cleanupMeeting(oldMeeting);
24354
+ }
24355
+ this.resetScreenShareVisibilityTracking();
24356
+ if (!meeting) {
23952
24357
  return;
23953
- if (this.videoEl)
24358
+ }
24359
+ (_b = (_a = meeting.participants).addListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'broadcastedMessage', this.handleScreenShareVisibilityNotification);
24360
+ meeting.participants.joined.addListener('participantJoined', this.handleViewerJoined);
24361
+ meeting.participants.joined.addListener('participantLeft', this.handleViewerLeft);
24362
+ (_c = meeting.meta) === null || _c === void 0 ? void 0 : _c.addListener('selfTabUpdate', this.handleActiveTabUpdate);
24363
+ (_d = meeting.meta) === null || _d === void 0 ? void 0 : _d.addListener('activeTabUpdate', this.handleActiveTabUpdate);
24364
+ this.participantChanged(this.participant);
24365
+ }
24366
+ cleanupMeeting(meeting) {
24367
+ var _a, _b, _c, _d;
24368
+ this.resetScreenShareVisibilityTracking();
24369
+ if (!meeting) {
24370
+ return;
24371
+ }
24372
+ (_b = (_a = meeting.participants).removeListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'broadcastedMessage', this.handleScreenShareVisibilityNotification);
24373
+ meeting.participants.joined.removeListener('participantJoined', this.handleViewerJoined);
24374
+ meeting.participants.joined.removeListener('participantLeft', this.handleViewerLeft);
24375
+ (_c = meeting.meta) === null || _c === void 0 ? void 0 : _c.removeListener('selfTabUpdate', this.handleActiveTabUpdate);
24376
+ (_d = meeting.meta) === null || _d === void 0 ? void 0 : _d.removeListener('activeTabUpdate', this.handleActiveTabUpdate);
24377
+ }
24378
+ cleanupParticipant(participant, meeting = this.meeting) {
24379
+ if (participant == null) {
24380
+ return;
24381
+ }
24382
+ if (this.videoEl) {
23954
24383
  participant.deregisterScreenshareVideoElement(this.videoEl);
23955
- if (!this.meeting)
24384
+ }
24385
+ if (!meeting) {
23956
24386
  return;
23957
- if (participant.id === this.meeting.self.id)
23958
- participant.removeListener('screenShareUpdate', this.screenShareListener);
23959
- else
23960
- this.meeting.participants.joined.removeListener('screenShareUpdate', this.participantScreenshareUpdate);
24387
+ }
24388
+ if (participant.id === meeting.self.id) {
24389
+ participant.removeListener('screenShareUpdate', this.handleScreenShareUpdate);
24390
+ }
24391
+ else {
24392
+ meeting.participants.joined.removeListener('screenShareUpdate', this.handleRemoteParticipantScreenShareUpdate);
24393
+ }
23961
24394
  }
23962
24395
  render() {
23963
24396
  var _a, _b, _c;
23964
24397
  const isSelf = ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.id);
24398
+ const trackedViewerCount = this.trackedScreenShareProducerId && this.meeting ? this.meeting.participants.joined.size : 0;
24399
+ const pendingViewerCount = this.pendingViewerIds.size;
24400
+ const noViewersActive = trackedViewerCount > 0 && pendingViewerCount === trackedViewerCount;
24401
+ const confirmationProgress = trackedViewerCount > 0
24402
+ ? ((trackedViewerCount - pendingViewerCount) / trackedViewerCount) * 100
24403
+ : 0;
24404
+ const showVisibilityStatus = isSelf && trackedViewerCount > 0;
24405
+ const allViewersConfirmed = pendingViewerCount === 0;
24406
+ const displayedPendingViewers = [];
24407
+ const additionalPendingViewers = [];
24408
+ if (showVisibilityStatus && !noViewersActive && !allViewersConfirmed) {
24409
+ for (const viewerId of this.pendingViewerIds) {
24410
+ const viewer = this.meeting.participants.joined.get(viewerId);
24411
+ if (!viewer) {
24412
+ continue;
24413
+ }
24414
+ if (displayedPendingViewers.length < this.maxVisibleViewerAvatars) {
24415
+ displayedPendingViewers.push(viewer);
24416
+ }
24417
+ else if (this.showRemainingViewers) {
24418
+ additionalPendingViewers.push(viewer);
24419
+ }
24420
+ }
24421
+ }
24422
+ const additionalPendingViewerCount = Math.max(0, pendingViewerCount - displayedPendingViewers.length);
23965
24423
  const text = this.isFullScreen ? this.t('full_screen.exit') : this.t('full_screen');
23966
24424
  const icon = this.isFullScreen
23967
24425
  ? this.iconPack.full_screen_minimize
23968
24426
  : this.iconPack.full_screen_maximize;
23969
- return (h(Host, { key: '194efb9fa8783a441c8050ebab07a2d3546446bf', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: 'de008c1a856ba19e766c03b71b1be492a9975261', ref: this.onVideoRef, class: {
24427
+ return (h(Host, { key: '6986b5c16de2056d97623e685745c6990496babc', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: 'c83c791c578fe1b7c4d669d0ffe0f1596e17a780', ref: this.onVideoRef, class: {
23970
24428
  visible: this.screenShareEnabled,
23971
24429
  'fit-in-container': this.participant.supportsRemoteControl,
23972
24430
  }, playsInline: true, onPlay: () => {
@@ -23974,20 +24432,35 @@ const RtkScreenshareView = class {
23974
24432
  screenshareParticipant: this.participant,
23975
24433
  participant: this.meeting.self,
23976
24434
  });
23977
- }, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'bf9a96bcba99bb9cf13bbcf572e5a9b71d53498b', label: text }, h("rtk-button", { key: '06a5eb9396056114d9e1a339454e782b9c533a9b', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: 'fa4e499769a910ceb9b2bffa6668db83adbad135', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '1650592e64dd44004a53ccc168ab7138c78ea7f4' }, this.t('screenshare.shared')), h("div", { key: 'd09216ab62012e1d2d445b8f080ae18786fc197e', class: "actions" }, this.meeting != null && (h("rtk-button", { key: 'f4e8c65eaaf40190eb566eb473d7932411731793', variant: "danger", onClick: () => {
24435
+ }, onPlaying: () => this.notifySharerOfScreenShareVisibility(true), onLoadedData: () => {
24436
+ if (this.videoEl && !this.videoEl.paused) {
24437
+ this.notifySharerOfScreenShareVisibility(true);
24438
+ }
24439
+ }, onPause: this.handleVideoPause, onEnded: this.handleVideoPause, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: '17221ecf03be22834b3b1b23286dd075cfa885b1', label: text }, h("rtk-button", { key: 'c1414141153ff0c9a37bc849017e724811e8d536', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: '232665f29a058ab86a609025e7c369ace53f0368', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '06a04f7f2feadba54a4c54f0cacd6c4bc557923f' }, this.t('screenshare.shared')), h("div", { key: '4e1df4b305d5e4843cac9ae670ac8ff1a77648fa', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '74d2f1793363035a32dc478585d3b5a02d7fdbea', variant: "danger", onClick: () => {
23978
24440
  this.meeting.self.disableScreenShare();
23979
- } }, h("rtk-icon", { key: '215fd1e658442e6f9c70ee5f7cabcd22e0901886', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), this.meeting != null && (h("rtk-button", { key: 'a73b3774901661020ef20e9e48dc81a4277cc471', variant: "secondary", disabled: this.isSwitchingScreen, onClick: this.shareDifferentScreen }, h("rtk-icon", { key: 'f9a4304e8cb648f5f2ca6ee650f6b512e86f1833', icon: (_c = this.iconPack.share_screen_different) !== null && _c !== void 0 ? _c : this.iconPack.share_screen_start, slot: "start" }), this.t('screenshare.share_different_screen'))), h("rtk-button", { key: 'b2f93bd50018b9a727860014d0d4c33ab8a23334', variant: "secondary", id: "expand-btn", onClick: () => {
24441
+ } }, h("rtk-icon", { key: '4c4cbf01b1cf9286953ccfb4b40b841eb8203e8b', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), this.meeting != null && (h("rtk-button", { key: '9fe208d836de4daa414767db5b4e738ec53ce505', variant: "secondary", disabled: this.isSwitchingScreen, onClick: this.shareDifferentScreen }, h("rtk-icon", { key: '4040344624fdd4019fa7acdd3a4f2004d68ec3f7', icon: (_c = this.iconPack.share_screen_different) !== null && _c !== void 0 ? _c : this.iconPack.share_screen_start, slot: "start" }), this.t('screenshare.share_different_screen'))), h("rtk-button", { key: 'ed8b81b5ad16e2203bffe36651950ba882151d62', variant: "secondary", id: "expand-btn", onClick: () => {
23980
24442
  this.videoExpanded = !this.videoExpanded;
23981
- } }, h("rtk-icon", { key: '40d5bb9a3dfc648035b946ced0c584b3a6312100', icon: this.videoExpanded
24443
+ } }, h("rtk-icon", { key: '23266b23609ce8696652bb3cd3d74bbe779d7262', icon: this.videoExpanded
23982
24444
  ? this.iconPack.full_screen_minimize
23983
24445
  : this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
23984
24446
  ? this.t('screenshare.min_preview')
23985
- : this.t('screenshare.max_preview'))))), h("slot", { key: 'a2908fef4320f0bf4408a6a07d2ba4bea0acdc4c' })));
24447
+ : this.t('screenshare.max_preview'))))), showVisibilityStatus && (h("div", { key: '2b42d6f65ca92fdc92354f6afc6e1bb322dfd952', class: "validation-status", role: "status", "aria-live": "polite" }, allViewersConfirmed ? (h("span", { class: "all-visible" }, this.t('screenshare.visibility.all'))) : noViewersActive ? (h("span", { class: "none-visible" }, this.t('screenshare.visibility.none'))) : (h("div", { class: "waiting-viewers" }, h("span", null, this.t('screenshare.visibility.not_viewing')), h("div", { class: "pending-avatars" }, displayedPendingViewers.map((peer) => (h("button", { key: peer.id, class: "avatar-trigger", type: "button", "aria-label": peer.name, onMouseEnter: () => (this.previewedViewerId = peer.id), onMouseLeave: () => (this.previewedViewerId = undefined), onFocus: () => (this.previewedViewerId = peer.id), onBlur: () => (this.previewedViewerId = undefined), onClick: () => (this.previewedViewerId = peer.id) }, h("rtk-avatar", { participant: peer, size: "sm", iconPack: this.iconPack, t: this.t }), this.previewedViewerId === peer.id && (h("span", { class: "viewer-name", "aria-hidden": "true" }, peer.name))))), additionalPendingViewerCount > 0 && (h("button", { class: "more-avatar", type: "button", "aria-label": `${this.t('screenshare.visibility.more')} ${additionalPendingViewerCount}`, "aria-expanded": this.showRemainingViewers, "aria-controls": this.showRemainingViewers ? 'remaining-viewers' : undefined, onClick: () => (this.showRemainingViewers = !this.showRemainingViewers), onBlur: () => (this.showRemainingViewers = false), onKeyDown: (event) => {
24448
+ if (event.key === 'Escape') {
24449
+ this.showRemainingViewers = false;
24450
+ }
24451
+ } }, "+", additionalPendingViewerCount))), this.showRemainingViewers && additionalPendingViewerCount > 0 && (h("div", { id: "remaining-viewers", class: "remaining-viewers", role: "list" }, additionalPendingViewers.map((peer) => (h("div", { class: "remaining-viewer", role: "listitem", key: peer.id }, h("rtk-avatar", { participant: peer, size: "sm", iconPack: this.iconPack, t: this.t }), h("span", null, peer.name)))))))))), showVisibilityStatus && (h("div", { key: '834ab58b84f6e8471ddc40f9a2ba210cf3390968', class: {
24452
+ 'validation-border': true,
24453
+ 'none-active': noViewersActive,
24454
+ complete: allViewersConfirmed,
24455
+ }, style: { '--validation-progress': `${noViewersActive ? 100 : confirmationProgress}%` }, "aria-hidden": "true" })), h("slot", { key: '63e420aff5f60c85c1c1f5031740e37ff4620214' })));
23986
24456
  }
23987
24457
  get host() { return getElement(this); }
23988
24458
  static get watchers() { return {
23989
24459
  "participant": [{
23990
24460
  "participantChanged": 0
24461
+ }],
24462
+ "meeting": [{
24463
+ "meetingChanged": 0
23991
24464
  }]
23992
24465
  }; }
23993
24466
  };
@@ -24155,7 +24628,7 @@ const RtkSettingsToggle = class {
24155
24628
  }
24156
24629
  render() {
24157
24630
  const text = this.t('settings');
24158
- return (h(Host, { key: 'ad7c5414e325d5ae40fd9d9c60d2cfe3a087205f', title: text }, h("rtk-controlbar-button", { key: '4fd29a108fd3eff57cc3ab9069284dd72b703c71', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
24631
+ return (h(Host, { key: '4a7349ef852627dae7008d2fd0bd3491edce6327', title: text }, h("rtk-controlbar-button", { key: 'edd2c3e0fedcc8070855acf1bbc8f581775375ea', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
24159
24632
  }
24160
24633
  };
24161
24634
  __decorate$x([
@@ -24656,13 +25129,13 @@ const RtkSpotlightGrid = class {
24656
25129
  t: this.t,
24657
25130
  };
24658
25131
  const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
24659
- return (h(Host, { key: '89eb01a359afac77b549cf1874a66ee3c71b3c03' }, h("main", { key: 'c3d6ec072a2f6ad20f74075c1f14ed35d338542d', part: "main" }, h(Render, { key: '3beb850780222b5de7733b4f784cd8a009cc6f5a', element: "rtk-simple-grid", defaults: defaults, props: {
25132
+ return (h(Host, { key: '80307410481d7418e30c78351b6ec16e466b95da' }, h("main", { key: 'e454d37b226868e02f8da6f61abf18f274ce3fdd', part: "main" }, h(Render, { key: 'b05d69dd12ea7f2da225e4c0456aa9979d6db153', element: "rtk-simple-grid", defaults: defaults, props: {
24660
25133
  part: 'main-grid',
24661
25134
  participants: this.pinnedParticipants,
24662
25135
  aspectRatio: this.aspectRatio,
24663
25136
  gap: this.gap,
24664
25137
  size: this.getAdaptiveSize(this.pinnedParticipants.length),
24665
- } })), nonPinnedParticipants.length > 0 && (h("aside", { key: '3e729aed79f80a9f12bb586654ef654613a1035d', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: 'd23ad2d8775a4714b0681c39289930cfef90d531', element: "rtk-simple-grid", defaults: defaults, props: {
25138
+ } })), nonPinnedParticipants.length > 0 && (h("aside", { key: 'd7de316e63f1a4a770022f7da4ebc5836b3f28d6', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: '92c24d74113f04f8334be5a2fc1c68dd9d0ca421', element: "rtk-simple-grid", defaults: defaults, props: {
24666
25139
  part: 'aside-grid',
24667
25140
  participants: nonPinnedParticipants,
24668
25141
  aspectRatio: this.aspectRatio,
@@ -24716,7 +25189,7 @@ const RtkStage = class {
24716
25189
  this.t = useLanguage();
24717
25190
  }
24718
25191
  render() {
24719
- return (h(Host, { key: '2f1f0816b48e44bb3eae63b61e47adf34c31c24b' }, h("slot", { key: '030180b3dd7d9342fdb604c6dddcb81b54568ba5' })));
25192
+ return (h(Host, { key: 'f6dd0ce28b9760f1e0a176963f42d5d13e3fcee3' }, h("slot", { key: 'f6e3e11c57948dcc5207ae42a6c045e35657ac4e' })));
24720
25193
  }
24721
25194
  };
24722
25195
  __decorate$s([
@@ -25351,7 +25824,7 @@ const RtkWaitingScreen = class {
25351
25824
  this.t = useLanguage();
25352
25825
  }
25353
25826
  render() {
25354
- return (h(Host, { key: '26f7376b6a9342f61a633af98dbd52cfb776db89' }, h("slot", { key: 'b0f9d9c034e0e34fa1beaa8b74c0bb186972752d' }, h("div", { key: '9d564d44c7e587b2a1517e9f190f52ce994bc0b0', class: "centered", part: "content" }, h("rtk-logo", { key: '690aa7dce99175cdc91e5a9dc4a333ab1250ab82', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: '1bf08c2f97e04ea74c420ce1f26535d7f8fe5390' }, this.t('waitlist.body_text'))))));
25827
+ return (h(Host, { key: 'c1f8d15bbab64006850e558d639964c98726ffcd' }, h("slot", { key: '20c43713af8b86beeed449ab42b0063c336b0ed0' }, h("div", { key: 'd096a2636a3f6e9d7ba407e35ee4a9b64945a178', class: "centered", part: "content" }, h("rtk-logo", { key: 'ee54555093bf71941f0dbabd18f8b018aa9fd2ad', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: '95678476c7ef18ac3fd2795d64ef0c0fb1c9e710' }, this.t('waitlist.body_text'))))));
25355
25828
  }
25356
25829
  };
25357
25830
  __decorate$p([
@@ -64688,6 +65161,8 @@ const RtkNotification = class {
64688
65161
  }
64689
65162
  }
64690
65163
  notificationChanged(notification) {
65164
+ // a notification that replaces another one must not close on the timer of the earlier one
65165
+ clearTimeout(this.timeout);
64691
65166
  if (notification != null && typeof notification.duration === 'number' && !this.paused) {
64692
65167
  this.timeout = window.setTimeout(() => {
64693
65168
  this.dismiss.emit(notification.id);
@@ -64696,9 +65171,9 @@ const RtkNotification = class {
64696
65171
  }
64697
65172
  render() {
64698
65173
  var _a;
64699
- return (h(Host, { key: 'f8ddbd9e32a05c36d3b7ea8d1589bba1b6009fab' }, h("div", { key: '61fe82306da70295f9530edf9acdb28d891ae9d5', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '59cb7c56120f3c3d52fc9d39c7e1c7066d7f5d72', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
65174
+ return (h(Host, { key: 'f548c9e4b49c40e93279d6e6b3889d81ea0facb6' }, h("div", { key: 'b0a3d463882db7dee4debe5748f6c54ea9287aeb', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: 'ef4b3e2a15070b75e2cf9ae27913d38b46c6107e', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
64700
65175
  this.notification.icon == null &&
64701
- this.imageState !== 'errored' && (h("img", { key: '3dce9047059aa31989e0205f1fe20abade6b56f7', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'eaf2809d755002b226552111f52e5d6ec35f1731', class: "message" }, h(TextMessageView, { key: '5fc9377a438bcb3fe70d8ad85d753ed30123204c', message: this.notification.message })), h("div", { key: '5d4562cd5dd565b107f39b1eb0cbbd400281082b', class: "right" }, this.notification.button != null && (h("rtk-button", { key: 'f21316499b4f85b4ab7b3b1194c8014b969f2358', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '299be899a5cd4e7e23b9e0006e69d030b5f06b10', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'ef56fd50689c3166a3f6f7f8cebb2ed9d902dc3d', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
65176
+ this.imageState !== 'errored' && (h("img", { key: '5f79812ff0f10e958a9279517b6aa57dee354b70', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: '543e0840a834a3749a1345ae605fe03f1e160cf7', class: "message" }, h(TextMessageView, { key: '62cddeb9ab432dbd275507fae45b63c9c446d4b7', message: this.notification.message })), h("div", { key: 'a43e3df4cc658b22fd99ceeb3f053d3ba000d1c2', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '876db66ef576bfec5b03db97be2db0036db695bd', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '8eca9869989a1426c33882fd4a3eb0b6251753a8', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'f9aea2e422c5706d72fb5fcadf88bf4636585807', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
64702
65177
  }
64703
65178
  static get watchers() { return {
64704
65179
  "paused": [{
@@ -65528,7 +66003,7 @@ const RtkTranscript = class {
65528
66003
  }, 10000);
65529
66004
  }
65530
66005
  render() {
65531
- return (h(Host, { key: 'fdb8aba3206821e1ea2a740c4aa445743af78163' }, h("div", { key: '2dab88ac6c2e6ad3456e0937b554dc5ed1d3fc3b', class: "ctr" }, h("p", { key: 'a6f800abc99d21628bece07f8439e3bd08b73707', class: "message" }, h("span", { key: '582a269bf085439dc95c0c4f95e0de2dc9d515b1', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
66006
+ return (h(Host, { key: 'b120a7571b4bb3f29e501659a7826d1f1f67dd81' }, h("div", { key: '5886d22cff3bd5b9fccf8ec0d1ae93b648649880', class: "ctr" }, h("p", { key: '47b00c6367cb3c299c7ac78911cbe733a772c2e7', class: "message" }, h("span", { key: 'f2d8dd8cbb683cef4f18f404e52b48b9a1d09423', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
65532
66007
  }
65533
66008
  static get watchers() { return {
65534
66009
  "transcript": [{
@@ -66741,10 +67216,10 @@ const RtkTextMessage = class {
66741
67216
  this.showBubble = false;
66742
67217
  }
66743
67218
  render() {
66744
- return (h(Host, { key: '8ed6bb8a4e4d97e1fecd5d6133d31ae604fed478' }, !this.isContinued && (h(ChatHead, { key: 'd96c8193c191a95db53eb016d7be01089e608edc', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: 'b304a70535a20f0ca97eab10e8b5113ec63d387e', class: {
67219
+ return (h(Host, { key: 'c120a87f10cfab242e80d439cc263d8e9131b993' }, !this.isContinued && (h(ChatHead, { key: 'f2864164744900b1070a8e8489e636a93107bc9a', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '0acf38d1d713280adbc14c3e21c66916fb4d1c20', class: {
66745
67220
  body: true,
66746
67221
  bubble: this.showBubble,
66747
- }, part: "body" }, h("div", { key: 'f76628bfa7b1767247e1979fed8b06d58a16558b', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '9f61488ee069ce71c24d2033090d64a4a079f7ae', message: this.message.message })))));
67222
+ }, part: "body" }, h("div", { key: '9b1b42ae091b53a5d24b218d51d39d584a464469', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '736825e492c2692092ed7e5b32ff78b22cbfb0c3', message: this.message.message })))));
66748
67223
  }
66749
67224
  };
66750
67225
  __decorate$9([
@@ -67218,12 +67693,12 @@ const RtkVirtualizedParticipantList = class {
67218
67693
  render() {
67219
67694
  var _a;
67220
67695
  const totalHeight = this.items.length * this.itemHeight; // Total height of the list
67221
- return (h("div", { key: 'e83428212894f0bc8839e7d494e4bae1ebf7f123', class: "virtual-list-container", style: {
67696
+ return (h("div", { key: 'a350c465776fc1960c6df7684de0e16395f06209', class: "virtual-list-container", style: {
67222
67697
  position: 'relative',
67223
67698
  height: '100%',
67224
67699
  overflowX: 'hidden',
67225
67700
  overflowY: 'auto',
67226
- } }, h("div", { key: '0e190e6d5e3bef09ea3c7b9fae3900fdf03631de', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), h("div", { key: '4e00e02622145e0eb66734d41baa381a3e43a20f', style: { height: `${this.itemHeight}px` } })));
67701
+ } }, h("div", { key: 'aaf465765928bb398446ebfda347d788a127cad5', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), h("div", { key: 'b3bd70dce8f4fb979a12edbbf0da2112f8a175a2', style: { height: `${this.itemHeight}px` } })));
67227
67702
  }
67228
67703
  get el() { return getElement(this); }
67229
67704
  static get watchers() { return {
@@ -67941,7 +68416,7 @@ const RtkSwitch = class {
67941
68416
  this.onChange.emit(checked);
67942
68417
  }
67943
68418
  render() {
67944
- return (h(Host, { key: 'd9c0f74bd15e8247f60489de4a4aeca2114cb021', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: '8a0a02d723210616e57b8ee167f7967ab5e736c3', class: "switch", part: "switch" })));
68419
+ return (h(Host, { key: '8a545b2400deec8b3c43ebd2e800249b1735e3c3', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: 'deee0e70b4dba9c8b5030b7d3f921ec8cb56cdd0', class: "switch", part: "switch" })));
67945
68420
  }
67946
68421
  static get watchers() { return {
67947
68422
  "checked": [{