@cloudflare/realtimekit-ui 1.2.1-staging.5 → 1.2.1-staging.6

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 (512) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-8c732faa.js → TextMessage-ca569f12.js} +1 -1
  3. package/dist/cjs/{chat-d1cd538a.js → chat-a1c8f378.js} +1 -1
  4. package/dist/cjs/{config-b0a77c08.js → config-8ce93a9c.js} +2 -2
  5. package/dist/cjs/{debounce-390416a3.js → debounce-43f12da4.js} +1 -1
  6. package/dist/cjs/{floating-ui.dom.esm-705e65f3.js → floating-ui.dom.esm-9d940028.js} +142 -130
  7. package/dist/cjs/{index-3a723e80.js → index-3f8e5441.js} +1 -1
  8. package/dist/cjs/index.cjs.js +4 -4
  9. package/dist/cjs/{merge-32853693.js → merge-ff059743.js} +1 -1
  10. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-avatar_26.cjs.entry.js +9 -9
  17. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +5 -5
  19. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +6 -10
  27. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
  29. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
  39. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-grid.cjs.entry.js +7 -3
  42. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +87 -14
  48. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  52. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  59. package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
  60. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  61. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-participant_2.cjs.entry.js +8 -8
  63. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  67. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  68. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  70. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  72. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-setup-screen.cjs.entry.js +3 -3
  80. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  82. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
  90. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  91. package/dist/cjs/{sidebar-913c4258.js → sidebar-0166350b.js} +1 -1
  92. package/dist/cjs/{ui-store-2401aedf.js → ui-store-583d205a.js} +1 -2
  93. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -8
  94. package/dist/collection/components/rtk-grid/rtk-grid.js +5 -1
  95. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +3 -3
  96. package/dist/collection/components/rtk-meeting/rtk-meeting.js +2 -2
  97. package/dist/collection/components/rtk-notifications/rtk-notifications.js +2 -2
  98. package/dist/collection/components/rtk-participant/rtk-participant.js +4 -4
  99. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  100. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  101. package/dist/collection/utils/breakout-rooms.js +1 -2
  102. package/dist/components/index.js +5 -5
  103. package/dist/components/{p-34e72b10.js → p-0031a3c0.js} +3 -3
  104. package/dist/components/{p-f7027067.js → p-00e98940.js} +3 -3
  105. package/dist/components/{p-90a6ceed.js → p-02d63986.js} +2 -2
  106. package/dist/components/{p-80c8bd12.js → p-02f091dd.js} +2 -2
  107. package/dist/components/{p-806e0ecb.js → p-0304f83a.js} +2 -2
  108. package/dist/components/{p-41a8d4b9.js → p-06bfb00c.js} +5 -5
  109. package/dist/components/{p-b7dd5423.js → p-070aa695.js} +1 -1
  110. package/dist/components/{p-77d43657.js → p-0a836b64.js} +2 -2
  111. package/dist/components/{p-652de874.js → p-0c8d2918.js} +11 -11
  112. package/dist/components/{p-c3e84d62.js → p-0da52a33.js} +3 -3
  113. package/dist/components/{p-dc82c81e.js → p-0e5b6daf.js} +3 -3
  114. package/dist/components/{p-3feac4bd.js → p-10552fa5.js} +7 -7
  115. package/dist/components/{p-51489680.js → p-13a05c55.js} +2 -2
  116. package/dist/components/{p-023bc0c1.js → p-165dddf4.js} +2 -2
  117. package/dist/components/{p-0f7f2c40.js → p-1804e307.js} +2 -2
  118. package/dist/components/{p-037d5106.js → p-1a6308ec.js} +3 -3
  119. package/dist/components/{p-75593f09.js → p-20612910.js} +2 -2
  120. package/dist/components/{p-d1742776.js → p-21453136.js} +2 -2
  121. package/dist/components/{p-56345e7d.js → p-241583c3.js} +3 -3
  122. package/dist/components/{p-88787807.js → p-27d6399a.js} +1 -1
  123. package/dist/components/{p-bfe52be0.js → p-2e897160.js} +4 -4
  124. package/dist/components/{p-be965eef.js → p-32b624f9.js} +2 -2
  125. package/dist/components/{p-2cdb3314.js → p-344db48b.js} +3 -3
  126. package/dist/components/{p-7e03849f.js → p-3e49e36a.js} +2 -2
  127. package/dist/components/{p-1cc53c67.js → p-3ff755e5.js} +3 -3
  128. package/dist/components/{p-71f9ae5f.js → p-42aa9cd9.js} +5 -5
  129. package/dist/components/{p-8e4a07d0.js → p-4594b213.js} +2 -2
  130. package/dist/components/{p-71b3bd01.js → p-465af231.js} +9 -9
  131. package/dist/components/{p-161478a2.js → p-477d076c.js} +2 -2
  132. package/dist/components/{p-a40b66b6.js → p-49619802.js} +5 -5
  133. package/dist/components/{p-00223948.js → p-4a34e1d0.js} +6 -6
  134. package/dist/components/{p-6b3d9fef.js → p-4c3d522b.js} +2 -2
  135. package/dist/components/{p-40625af0.js → p-4f889007.js} +2 -2
  136. package/dist/components/{p-2be1f5d7.js → p-550ddac7.js} +2 -2
  137. package/dist/components/{p-340f039c.js → p-5644d937.js} +2 -2
  138. package/dist/components/{p-10758885.js → p-5b3a7f00.js} +1 -2
  139. package/dist/components/{p-28fcedda.js → p-5ba840d9.js} +2 -2
  140. package/dist/components/{p-1aefe623.js → p-5ba9c3d1.js} +3 -3
  141. package/dist/components/{p-c1872f41.js → p-5d232d53.js} +11 -11
  142. package/dist/components/{p-4e1165f4.js → p-60d401f8.js} +3 -3
  143. package/dist/components/{p-c287d0f6.js → p-670b184f.js} +2 -2
  144. package/dist/components/{p-023a495b.js → p-6ccdf3c3.js} +2 -2
  145. package/dist/components/{p-5e456a83.js → p-6fa03a7f.js} +2 -2
  146. package/dist/components/{p-a37e1407.js → p-7071c775.js} +2 -2
  147. package/dist/components/{p-d84e7573.js → p-73901fd8.js} +2 -2
  148. package/dist/components/{p-0ab5cb5e.js → p-7c6602b9.js} +2 -2
  149. package/dist/components/{p-41ed86d4.js → p-7dd3acf5.js} +3 -3
  150. package/dist/components/{p-6c58bd27.js → p-7e34f516.js} +1 -1
  151. package/dist/components/{p-9e52536f.js → p-8564f93d.js} +3 -3
  152. package/dist/components/{p-f8d2ee61.js → p-88e8bca6.js} +2 -2
  153. package/dist/components/{p-31826961.js → p-9033d188.js} +5 -5
  154. package/dist/components/{p-84ab2eb7.js → p-9068e892.js} +2 -2
  155. package/dist/components/{p-0b7981de.js → p-a2de6dfc.js} +2 -2
  156. package/dist/components/{p-e8e8ad5f.js → p-a3bf84d7.js} +3 -3
  157. package/dist/components/{p-2a79db22.js → p-a642ad81.js} +22 -22
  158. package/dist/components/{p-ff9cb738.js → p-a9e7fa80.js} +6 -6
  159. package/dist/components/{p-9b559d4e.js → p-adf6dfcc.js} +2 -2
  160. package/dist/components/{p-769bb885.js → p-b1a93be0.js} +142 -130
  161. package/dist/components/{p-dfb3e706.js → p-b220448d.js} +2 -2
  162. package/dist/components/{p-0d6e93d6.js → p-b350d09f.js} +2 -2
  163. package/dist/components/{p-1e2133fb.js → p-b3a98a90.js} +5 -5
  164. package/dist/components/{p-c4385270.js → p-bc5c1265.js} +10 -10
  165. package/dist/components/{p-e953ec08.js → p-bd5c9c89.js} +2 -2
  166. package/dist/components/{p-98c3a8f8.js → p-bece0226.js} +1 -1
  167. package/dist/components/{p-cf1fd016.js → p-c0931990.js} +2 -2
  168. package/dist/components/{p-6434f29f.js → p-c1ab8045.js} +2 -2
  169. package/dist/components/{p-3b8f5970.js → p-c232dfce.js} +4 -4
  170. package/dist/components/{p-a4b04604.js → p-c5ef686a.js} +5 -5
  171. package/dist/components/{p-1f5b6602.js → p-c6700b7b.js} +2 -2
  172. package/dist/components/{p-c9553451.js → p-cb6f4d4b.js} +2 -2
  173. package/dist/components/{p-22c06c83.js → p-cc8af588.js} +7 -7
  174. package/dist/components/{p-e37d0aa2.js → p-d0abd8bc.js} +5 -5
  175. package/dist/components/{p-05590ac2.js → p-d414fa54.js} +5 -5
  176. package/dist/components/{p-704ee653.js → p-d4c852fe.js} +90 -17
  177. package/dist/components/{p-f191f7a4.js → p-d6a71424.js} +5 -5
  178. package/dist/components/{p-c89976c3.js → p-e1f78de7.js} +2 -2
  179. package/dist/components/{p-5915a274.js → p-e6245534.js} +2 -2
  180. package/dist/components/{p-73c883e4.js → p-ecb802ad.js} +2 -2
  181. package/dist/components/{p-581de242.js → p-f4a5c8ff.js} +5 -5
  182. package/dist/components/{p-1dac76ab.js → p-f74bd10e.js} +8 -8
  183. package/dist/components/rtk-ai-toggle.js +4 -4
  184. package/dist/components/rtk-ai-transcriptions.js +1 -1
  185. package/dist/components/rtk-ai.js +1 -1
  186. package/dist/components/rtk-audio-grid.js +2 -2
  187. package/dist/components/rtk-audio-tile.js +5 -5
  188. package/dist/components/rtk-audio-visualizer.js +1 -1
  189. package/dist/components/rtk-avatar.js +1 -1
  190. package/dist/components/rtk-breakout-room-manager.js +1 -1
  191. package/dist/components/rtk-breakout-room-participants.js +1 -1
  192. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  193. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  194. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  195. package/dist/components/rtk-camera-selector.js +1 -1
  196. package/dist/components/rtk-camera-toggle.js +5 -5
  197. package/dist/components/rtk-caption-toggle.js +4 -4
  198. package/dist/components/rtk-chat-composer-ui.js +6 -6
  199. package/dist/components/rtk-chat-composer-view.js +1 -1
  200. package/dist/components/rtk-chat-header.js +1 -1
  201. package/dist/components/rtk-chat-message.js +1 -1
  202. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  203. package/dist/components/rtk-chat-messages-ui.js +11 -11
  204. package/dist/components/rtk-chat-search-results.js +16 -20
  205. package/dist/components/rtk-chat-selector-ui.js +2 -2
  206. package/dist/components/rtk-chat-selector.js +1 -1
  207. package/dist/components/rtk-chat-toggle.js +5 -5
  208. package/dist/components/rtk-chat.js +1 -1
  209. package/dist/components/rtk-clock.js +2 -2
  210. package/dist/components/rtk-confirmation-modal.js +1 -1
  211. package/dist/components/rtk-controlbar-button.js +1 -1
  212. package/dist/components/rtk-controlbar.js +2 -2
  213. package/dist/components/rtk-counter.js +1 -1
  214. package/dist/components/rtk-debugger-audio.js +1 -1
  215. package/dist/components/rtk-debugger-screenshare.js +1 -1
  216. package/dist/components/rtk-debugger-system.js +1 -1
  217. package/dist/components/rtk-debugger-toggle.js +4 -4
  218. package/dist/components/rtk-debugger-video.js +1 -1
  219. package/dist/components/rtk-debugger.js +1 -1
  220. package/dist/components/rtk-dialog-manager.js +22 -22
  221. package/dist/components/rtk-dialog.js +1 -1
  222. package/dist/components/rtk-draft-attachment-view.js +1 -1
  223. package/dist/components/rtk-emoji-picker-button.js +1 -1
  224. package/dist/components/rtk-emoji-picker.js +1 -1
  225. package/dist/components/rtk-ended-screen.js +3 -3
  226. package/dist/components/rtk-file-dropzone.js +2 -2
  227. package/dist/components/rtk-file-message-view.js +1 -1
  228. package/dist/components/rtk-file-message.js +1 -1
  229. package/dist/components/rtk-file-picker-button.js +1 -1
  230. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  231. package/dist/components/rtk-grid-pagination.js +3 -3
  232. package/dist/components/rtk-grid.js +13 -9
  233. package/dist/components/rtk-header.js +2 -2
  234. package/dist/components/rtk-idle-screen.js +4 -4
  235. package/dist/components/rtk-image-message-view.js +1 -1
  236. package/dist/components/rtk-image-message.js +1 -1
  237. package/dist/components/rtk-image-viewer.js +2 -2
  238. package/dist/components/rtk-information-tooltip.js +2 -2
  239. package/dist/components/rtk-join-stage.js +1 -1
  240. package/dist/components/rtk-leave-button.js +4 -4
  241. package/dist/components/rtk-leave-meeting.js +1 -1
  242. package/dist/components/rtk-livestream-indicator.js +1 -1
  243. package/dist/components/rtk-livestream-player.js +1 -1
  244. package/dist/components/rtk-livestream-toggle.js +4 -4
  245. package/dist/components/rtk-logo.js +1 -1
  246. package/dist/components/rtk-meeting-title.js +3 -3
  247. package/dist/components/rtk-meeting.js +26 -26
  248. package/dist/components/rtk-menu-item.js +1 -1
  249. package/dist/components/rtk-menu-list.js +1 -1
  250. package/dist/components/rtk-menu.js +1 -1
  251. package/dist/components/rtk-message-list-view.js +3 -3
  252. package/dist/components/rtk-message-view.js +1 -1
  253. package/dist/components/rtk-mic-toggle.js +5 -5
  254. package/dist/components/rtk-microphone-selector.js +1 -1
  255. package/dist/components/rtk-mixed-grid.js +6 -6
  256. package/dist/components/rtk-more-toggle.js +4 -4
  257. package/dist/components/rtk-mute-all-button.js +5 -5
  258. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  259. package/dist/components/rtk-name-tag.js +1 -1
  260. package/dist/components/rtk-network-indicator.js +2 -2
  261. package/dist/components/rtk-notification.js +1 -1
  262. package/dist/components/rtk-notifications.js +5 -5
  263. package/dist/components/rtk-overlay-modal.js +1 -1
  264. package/dist/components/rtk-paginated-list.js +1 -1
  265. package/dist/components/rtk-participant-count.js +2 -2
  266. package/dist/components/rtk-participant-setup.js +2 -2
  267. package/dist/components/rtk-participant-tile.js +1 -1
  268. package/dist/components/rtk-participant.js +1 -1
  269. package/dist/components/rtk-participants-audio.js +3 -3
  270. package/dist/components/rtk-participants-stage-list.js +1 -1
  271. package/dist/components/rtk-participants-stage-queue.js +1 -1
  272. package/dist/components/rtk-participants-toggle.js +5 -5
  273. package/dist/components/rtk-participants-viewer-list.js +1 -1
  274. package/dist/components/rtk-participants-waiting-list.js +1 -1
  275. package/dist/components/rtk-participants.js +13 -13
  276. package/dist/components/rtk-permissions-message.js +1 -1
  277. package/dist/components/rtk-pinned-message-selector.js +1 -1
  278. package/dist/components/rtk-pip-toggle.js +4 -4
  279. package/dist/components/rtk-plugin-main.js +1 -1
  280. package/dist/components/rtk-plugins-toggle.js +5 -5
  281. package/dist/components/rtk-plugins.js +1 -1
  282. package/dist/components/rtk-poll-form.js +1 -1
  283. package/dist/components/rtk-poll.js +1 -1
  284. package/dist/components/rtk-polls-toggle.js +5 -5
  285. package/dist/components/rtk-polls.js +1 -1
  286. package/dist/components/rtk-recording-indicator.js +2 -2
  287. package/dist/components/rtk-recording-toggle.js +4 -4
  288. package/dist/components/rtk-screen-share-toggle.js +5 -5
  289. package/dist/components/rtk-screenshare-view.js +3 -3
  290. package/dist/components/rtk-settings-audio.js +1 -1
  291. package/dist/components/rtk-settings-toggle.js +4 -4
  292. package/dist/components/rtk-settings-video.js +1 -1
  293. package/dist/components/rtk-settings.js +10 -10
  294. package/dist/components/rtk-setup-screen.js +7 -7
  295. package/dist/components/rtk-sidebar-ui.js +1 -1
  296. package/dist/components/rtk-sidebar.js +11 -11
  297. package/dist/components/rtk-simple-grid.js +2 -2
  298. package/dist/components/rtk-speaker-selector.js +1 -1
  299. package/dist/components/rtk-spinner.js +1 -1
  300. package/dist/components/rtk-spotlight-grid.js +2 -2
  301. package/dist/components/rtk-spotlight-indicator.js +1 -1
  302. package/dist/components/rtk-stage-toggle.js +5 -5
  303. package/dist/components/rtk-stage.js +2 -2
  304. package/dist/components/rtk-switch.js +1 -1
  305. package/dist/components/rtk-tab-bar.js +1 -1
  306. package/dist/components/rtk-text-composer-view.js +1 -1
  307. package/dist/components/rtk-text-message.js +1 -1
  308. package/dist/components/rtk-tooltip.js +1 -1
  309. package/dist/components/rtk-transcript.js +1 -1
  310. package/dist/components/rtk-transcripts.js +3 -3
  311. package/dist/components/rtk-ui-provider.js +3 -3
  312. package/dist/components/rtk-viewer-count.js +1 -1
  313. package/dist/components/rtk-waiting-screen.js +3 -3
  314. package/dist/docs/docs-components.json +1 -1
  315. package/dist/esm/{TextMessage-b81bacea.js → TextMessage-2acfc44b.js} +1 -1
  316. package/dist/esm/{chat-ebc1e723.js → chat-269c61ba.js} +1 -1
  317. package/dist/esm/{config-d61d07b8.js → config-4bdf983d.js} +2 -2
  318. package/dist/esm/{debounce-66c0bb2a.js → debounce-296a3316.js} +1 -1
  319. package/dist/esm/{floating-ui.dom.esm-21c3d54e.js → floating-ui.dom.esm-78a1e61c.js} +142 -130
  320. package/dist/esm/{index-6399e84f.js → index-dafb4b7f.js} +1 -1
  321. package/dist/esm/index.js +6 -6
  322. package/dist/esm/loader.js +250 -166
  323. package/dist/esm/{merge-c7a7e7e1.js → merge-86cf8b27.js} +1 -1
  324. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  325. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  326. package/dist/esm/rtk-ai_3.entry.js +2 -2
  327. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  328. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  329. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  330. package/dist/esm/rtk-avatar_26.entry.js +9 -9
  331. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  332. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +5 -5
  333. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  334. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  335. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  336. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  337. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  338. package/dist/esm/rtk-chat-message.entry.js +2 -2
  339. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  340. package/dist/esm/rtk-chat-search-results.entry.js +6 -10
  341. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  342. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  343. package/dist/esm/rtk-clock.entry.js +2 -2
  344. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  345. package/dist/esm/rtk-controlbar.entry.js +2 -2
  346. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  347. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  348. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  349. package/dist/esm/rtk-dialog.entry.js +2 -2
  350. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  351. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  352. package/dist/esm/rtk-file-message_3.entry.js +4 -4
  353. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  354. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  355. package/dist/esm/rtk-grid.entry.js +7 -3
  356. package/dist/esm/rtk-header.entry.js +2 -2
  357. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  358. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  359. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  360. package/dist/esm/rtk-leave-button.entry.js +2 -2
  361. package/dist/esm/rtk-livestream-indicator_3.entry.js +87 -14
  362. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  363. package/dist/esm/rtk-logo.entry.js +2 -2
  364. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  365. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  366. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  367. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  368. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  369. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  370. package/dist/esm/rtk-name-tag.entry.js +2 -2
  371. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  372. package/dist/esm/rtk-notification.entry.js +4 -4
  373. package/dist/esm/rtk-notifications.entry.js +5 -5
  374. package/dist/esm/rtk-participant-count.entry.js +2 -2
  375. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  376. package/dist/esm/rtk-participant_2.entry.js +8 -8
  377. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  378. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  379. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  380. package/dist/esm/rtk-participants.entry.js +3 -3
  381. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  382. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  383. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  384. package/dist/esm/rtk-poll_2.entry.js +2 -2
  385. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  386. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  387. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  388. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  389. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  390. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  391. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  392. package/dist/esm/rtk-settings.entry.js +2 -2
  393. package/dist/esm/rtk-setup-screen.entry.js +3 -3
  394. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  395. package/dist/esm/rtk-sidebar.entry.js +3 -3
  396. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  397. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  398. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  399. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  400. package/dist/esm/rtk-stage.entry.js +2 -2
  401. package/dist/esm/rtk-transcript.entry.js +2 -2
  402. package/dist/esm/rtk-transcripts.entry.js +2 -2
  403. package/dist/esm/rtk-ui-provider.entry.js +3 -3
  404. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  405. package/dist/esm/{sidebar-359b2a59.js → sidebar-4b23298b.js} +1 -1
  406. package/dist/esm/{ui-store-eae1cb74.js → ui-store-76bb0e8e.js} +1 -2
  407. package/dist/realtimekit-ui/index.esm.js +1 -1
  408. package/dist/realtimekit-ui/{p-ee99dc71.entry.js → p-003a95fc.entry.js} +1 -1
  409. package/dist/realtimekit-ui/{p-97a3e100.entry.js → p-06f49c32.entry.js} +1 -1
  410. package/dist/realtimekit-ui/{p-ec5f1872.entry.js → p-0928d88d.entry.js} +1 -1
  411. package/dist/realtimekit-ui/p-0b892bb4.entry.js +1 -0
  412. package/dist/realtimekit-ui/{p-7156c6de.entry.js → p-0d674434.entry.js} +1 -1
  413. package/dist/realtimekit-ui/{p-1c34437d.entry.js → p-0e11efb7.entry.js} +1 -1
  414. package/dist/realtimekit-ui/{p-aa713d2b.js → p-0fa0e7d1.js} +1 -1
  415. package/dist/realtimekit-ui/{p-91e4d028.entry.js → p-113467fc.entry.js} +1 -1
  416. package/dist/realtimekit-ui/{p-2da328f6.entry.js → p-153cdff6.entry.js} +1 -1
  417. package/dist/realtimekit-ui/p-1eb9b441.entry.js +1 -0
  418. package/dist/realtimekit-ui/{p-39502471.entry.js → p-1f8208c4.entry.js} +1 -1
  419. package/dist/realtimekit-ui/{p-7743b431.entry.js → p-238e36c9.entry.js} +1 -1
  420. package/dist/realtimekit-ui/{p-dcca8ad0.entry.js → p-242afbdf.entry.js} +1 -1
  421. package/dist/realtimekit-ui/p-29097dbf.entry.js +1 -0
  422. package/dist/realtimekit-ui/{p-35e34f35.entry.js → p-2af1d7f6.entry.js} +1 -1
  423. package/dist/realtimekit-ui/{p-b9e01888.entry.js → p-2cb8e246.entry.js} +1 -1
  424. package/dist/realtimekit-ui/{p-88d67cb8.entry.js → p-2fac891e.entry.js} +1 -1
  425. package/dist/realtimekit-ui/{p-25869169.js → p-32915a9a.js} +1 -1
  426. package/dist/realtimekit-ui/{p-21b01dff.entry.js → p-3390e8ab.entry.js} +1 -1
  427. package/dist/realtimekit-ui/{p-d8ea03fc.entry.js → p-35a53de8.entry.js} +1 -1
  428. package/dist/realtimekit-ui/{p-87f5dd0d.entry.js → p-35a5637a.entry.js} +1 -1
  429. package/dist/realtimekit-ui/{p-60460ed5.entry.js → p-386d54ee.entry.js} +1 -1
  430. package/dist/realtimekit-ui/{p-5a4e85e6.entry.js → p-3b221671.entry.js} +1 -1
  431. package/dist/realtimekit-ui/p-412cdd31.entry.js +1 -0
  432. package/dist/realtimekit-ui/{p-b5a39382.entry.js → p-44832865.entry.js} +1 -1
  433. package/dist/realtimekit-ui/{p-b24bb3a9.entry.js → p-4490e4a5.entry.js} +1 -1
  434. package/dist/realtimekit-ui/{p-d2c88267.entry.js → p-44b0cd83.entry.js} +1 -1
  435. package/dist/realtimekit-ui/{p-ac7bc414.entry.js → p-44ea537a.entry.js} +1 -1
  436. package/dist/realtimekit-ui/{p-197b9ecd.entry.js → p-48af2624.entry.js} +1 -1
  437. package/dist/realtimekit-ui/p-48d5f1f4.entry.js +1 -0
  438. package/dist/realtimekit-ui/{p-fa0b8be0.entry.js → p-52a632bf.entry.js} +1 -1
  439. package/dist/realtimekit-ui/{p-0ba5abaf.entry.js → p-52e08862.entry.js} +1 -1
  440. package/dist/realtimekit-ui/{p-030e3abf.js → p-52ff99d3.js} +1 -1
  441. package/dist/realtimekit-ui/p-560cea5a.js +1 -0
  442. package/dist/realtimekit-ui/{p-cddd6022.entry.js → p-5e408139.entry.js} +1 -1
  443. package/dist/realtimekit-ui/{p-c919946e.entry.js → p-62e9fbff.entry.js} +1 -1
  444. package/dist/realtimekit-ui/{p-ede3a07f.entry.js → p-63ee927b.entry.js} +1 -1
  445. package/dist/realtimekit-ui/{p-e154debf.entry.js → p-67ed9214.entry.js} +1 -1
  446. package/dist/realtimekit-ui/{p-fabc52c5.entry.js → p-6a609ccb.entry.js} +1 -1
  447. package/dist/realtimekit-ui/{p-c61aa2ee.entry.js → p-6f6376d7.entry.js} +1 -1
  448. package/dist/realtimekit-ui/{p-74c38371.entry.js → p-722aa34d.entry.js} +1 -1
  449. package/dist/realtimekit-ui/{p-1b3f80e6.entry.js → p-77bdd9b4.entry.js} +1 -1
  450. package/dist/realtimekit-ui/p-792d3d16.js +1 -0
  451. package/dist/realtimekit-ui/{p-175eff95.entry.js → p-7c4a22cd.entry.js} +1 -1
  452. package/dist/realtimekit-ui/{p-1cfaf116.entry.js → p-7d059801.entry.js} +1 -1
  453. package/dist/realtimekit-ui/{p-81858504.entry.js → p-8202a654.entry.js} +1 -1
  454. package/dist/realtimekit-ui/{p-84c57178.entry.js → p-84a52bdf.entry.js} +1 -1
  455. package/dist/realtimekit-ui/{p-84acf974.entry.js → p-8865b8c8.entry.js} +1 -1
  456. package/dist/realtimekit-ui/{p-1efd60a6.entry.js → p-8d6f2c1d.entry.js} +1 -1
  457. package/dist/realtimekit-ui/{p-f571e977.js → p-901c1d40.js} +1 -1
  458. package/dist/realtimekit-ui/{p-de3f5f11.entry.js → p-9566f8ce.entry.js} +1 -1
  459. package/dist/realtimekit-ui/{p-9d4cc782.entry.js → p-977fb594.entry.js} +1 -1
  460. package/dist/realtimekit-ui/p-9811c98c.js +1 -0
  461. package/dist/realtimekit-ui/{p-5b3b1149.entry.js → p-9a3880ea.entry.js} +1 -1
  462. package/dist/realtimekit-ui/{p-10b40b27.entry.js → p-9a3d1fe3.entry.js} +1 -1
  463. package/dist/realtimekit-ui/{p-a91a59f4.entry.js → p-9baa1a27.entry.js} +1 -1
  464. package/dist/realtimekit-ui/{p-eebeae03.entry.js → p-9e211b0c.entry.js} +1 -1
  465. package/dist/realtimekit-ui/{p-8fed760a.entry.js → p-9e4200f3.entry.js} +1 -1
  466. package/dist/realtimekit-ui/{p-e1b4ebba.entry.js → p-a1260195.entry.js} +1 -1
  467. package/dist/realtimekit-ui/{p-585740a7.entry.js → p-a1af8ff8.entry.js} +1 -1
  468. package/dist/realtimekit-ui/{p-8a0d9c94.entry.js → p-a2367cc6.entry.js} +1 -1
  469. package/dist/realtimekit-ui/{p-5f2dde80.entry.js → p-a6a139d0.entry.js} +1 -1
  470. package/dist/realtimekit-ui/{p-8e92078f.entry.js → p-a74e0a97.entry.js} +1 -1
  471. package/dist/realtimekit-ui/{p-6796537b.entry.js → p-a9441717.entry.js} +1 -1
  472. package/dist/realtimekit-ui/{p-34c62895.js → p-af705ed1.js} +1 -1
  473. package/dist/realtimekit-ui/{p-f21d0149.entry.js → p-b10872dc.entry.js} +1 -1
  474. package/dist/realtimekit-ui/p-b1a93be0.js +1 -0
  475. package/dist/realtimekit-ui/{p-2e83a057.entry.js → p-bbfa215e.entry.js} +1 -1
  476. package/dist/realtimekit-ui/{p-275fc9c4.entry.js → p-bcfa5ae6.entry.js} +1 -1
  477. package/dist/realtimekit-ui/{p-0b75982e.entry.js → p-c31cc651.entry.js} +1 -1
  478. package/dist/realtimekit-ui/{p-3260fbac.entry.js → p-c370864b.entry.js} +1 -1
  479. package/dist/realtimekit-ui/{p-9a266aa2.entry.js → p-c63ba546.entry.js} +1 -1
  480. package/dist/realtimekit-ui/{p-78117bbf.entry.js → p-cdc266b8.entry.js} +1 -1
  481. package/dist/realtimekit-ui/p-ce7a7178.entry.js +1 -0
  482. package/dist/realtimekit-ui/{p-b015de9e.entry.js → p-d879ebe0.entry.js} +1 -1
  483. package/dist/realtimekit-ui/{p-1a15cd7a.entry.js → p-d9a5d325.entry.js} +1 -1
  484. package/dist/realtimekit-ui/p-dc6a9973.entry.js +1 -0
  485. package/dist/realtimekit-ui/{p-1d9b18e2.entry.js → p-e0957448.entry.js} +1 -1
  486. package/dist/realtimekit-ui/{p-f76aea4b.entry.js → p-e49b1288.entry.js} +1 -1
  487. package/dist/realtimekit-ui/{p-a61766cf.entry.js → p-e7ec420f.entry.js} +1 -1
  488. package/dist/realtimekit-ui/{p-da9f1318.entry.js → p-e80dea09.entry.js} +1 -1
  489. package/dist/realtimekit-ui/{p-a73a1ac3.entry.js → p-eb9ebb93.entry.js} +1 -1
  490. package/dist/realtimekit-ui/{p-49c7dd3b.entry.js → p-ebfa6492.entry.js} +1 -1
  491. package/dist/realtimekit-ui/{p-1462f4b9.entry.js → p-f10b9cc3.entry.js} +1 -1
  492. package/dist/realtimekit-ui/{p-222d5ee2.entry.js → p-f1684041.entry.js} +1 -1
  493. package/dist/realtimekit-ui/{p-3f7f767f.entry.js → p-f20f9ec3.entry.js} +1 -1
  494. package/dist/realtimekit-ui/{p-a52b89c7.entry.js → p-f44b2e72.entry.js} +1 -1
  495. package/dist/realtimekit-ui/{p-e2437ecd.entry.js → p-f4d6b673.entry.js} +1 -1
  496. package/dist/realtimekit-ui/p-ff29818e.entry.js +1 -0
  497. package/dist/realtimekit-ui/{p-07cc4eb3.entry.js → p-fff385a0.entry.js} +1 -1
  498. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  499. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
  500. package/package.json +1 -1
  501. package/dist/realtimekit-ui/p-1a149ec5.entry.js +0 -1
  502. package/dist/realtimekit-ui/p-2ce61128.js +0 -1
  503. package/dist/realtimekit-ui/p-769bb885.js +0 -1
  504. package/dist/realtimekit-ui/p-89662dd3.js +0 -1
  505. package/dist/realtimekit-ui/p-9e95c0de.entry.js +0 -1
  506. package/dist/realtimekit-ui/p-a35c12c6.entry.js +0 -1
  507. package/dist/realtimekit-ui/p-af75f965.entry.js +0 -1
  508. package/dist/realtimekit-ui/p-b1630c30.entry.js +0 -1
  509. package/dist/realtimekit-ui/p-c7b23146.entry.js +0 -1
  510. package/dist/realtimekit-ui/p-f078d1f5.entry.js +0 -1
  511. package/dist/realtimekit-ui/p-f5062eab.entry.js +0 -1
  512. package/dist/realtimekit-ui/p-fc5bc1f1.js +0 -1
@@ -4234,8 +4234,7 @@ function splitCollection(collection, parts) {
4234
4234
  return result.filter((res) => res.length);
4235
4235
  }
4236
4236
  function participantIdentifier(participant) {
4237
- var _a;
4238
- return (_a = participant.customParticipantId) !== null && _a !== void 0 ? _a : participant.clientSpecificId;
4237
+ return participant.customParticipantId;
4239
4238
  }
4240
4239
  function getAllConnectedParticipants(meeting) {
4241
4240
  // TODO: remove this once we start getting display pics from socket
@@ -10826,10 +10825,6 @@ const oppositeSideMap = {
10826
10825
  bottom: 'top',
10827
10826
  top: 'bottom'
10828
10827
  };
10829
- const oppositeAlignmentMap = {
10830
- start: 'end',
10831
- end: 'start'
10832
- };
10833
10828
  function clamp(start, value, end) {
10834
10829
  return max(start, min(value, end));
10835
10830
  }
@@ -10848,9 +10843,9 @@ function getOppositeAxis(axis) {
10848
10843
  function getAxisLength(axis) {
10849
10844
  return axis === 'y' ? 'height' : 'width';
10850
10845
  }
10851
- const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
10852
10846
  function getSideAxis(placement) {
10853
- return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
10847
+ const firstChar = placement[0];
10848
+ return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
10854
10849
  }
10855
10850
  function getAlignmentAxis(placement) {
10856
10851
  return getOppositeAxis(getSideAxis(placement));
@@ -10873,7 +10868,7 @@ function getExpandedPlacements(placement) {
10873
10868
  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
10874
10869
  }
10875
10870
  function getOppositeAlignmentPlacement(placement) {
10876
- return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
10871
+ return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
10877
10872
  }
10878
10873
  const lrPlacement = ['left', 'right'];
10879
10874
  const rlPlacement = ['right', 'left'];
@@ -10904,7 +10899,8 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
10904
10899
  return list;
10905
10900
  }
10906
10901
  function getOppositePlacement(placement) {
10907
- return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
10902
+ const side = getSide(placement);
10903
+ return oppositeSideMap[side] + placement.slice(side.length);
10908
10904
  }
10909
10905
  function expandPaddingObject(padding) {
10910
10906
  return {
@@ -10998,6 +10994,74 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
10998
10994
  return coords;
10999
10995
  }
11000
10996
 
10997
+ /**
10998
+ * Resolves with an object of overflow side offsets that determine how much the
10999
+ * element is overflowing a given clipping boundary on each side.
11000
+ * - positive = overflowing the boundary by that number of pixels
11001
+ * - negative = how many pixels left before it will overflow
11002
+ * - 0 = lies flush with the boundary
11003
+ * @see https://floating-ui.com/docs/detectOverflow
11004
+ */
11005
+ async function detectOverflow(state, options) {
11006
+ var _await$platform$isEle;
11007
+ if (options === void 0) {
11008
+ options = {};
11009
+ }
11010
+ const {
11011
+ x,
11012
+ y,
11013
+ platform,
11014
+ rects,
11015
+ elements,
11016
+ strategy
11017
+ } = state;
11018
+ const {
11019
+ boundary = 'clippingAncestors',
11020
+ rootBoundary = 'viewport',
11021
+ elementContext = 'floating',
11022
+ altBoundary = false,
11023
+ padding = 0
11024
+ } = evaluate(options, state);
11025
+ const paddingObject = getPaddingObject(padding);
11026
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
11027
+ const element = elements[altBoundary ? altContext : elementContext];
11028
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
11029
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
11030
+ boundary,
11031
+ rootBoundary,
11032
+ strategy
11033
+ }));
11034
+ const rect = elementContext === 'floating' ? {
11035
+ x,
11036
+ y,
11037
+ width: rects.floating.width,
11038
+ height: rects.floating.height
11039
+ } : rects.reference;
11040
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
11041
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
11042
+ x: 1,
11043
+ y: 1
11044
+ } : {
11045
+ x: 1,
11046
+ y: 1
11047
+ };
11048
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
11049
+ elements,
11050
+ rect,
11051
+ offsetParent,
11052
+ strategy
11053
+ }) : rect);
11054
+ return {
11055
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
11056
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
11057
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
11058
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
11059
+ };
11060
+ }
11061
+
11062
+ // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
11063
+ const MAX_RESET_COUNT = 50;
11064
+
11001
11065
  /**
11002
11066
  * Computes the `x` and `y` coordinates that will place the floating element
11003
11067
  * next to a given reference element.
@@ -11012,7 +11076,10 @@ const computePosition$1 = async (reference, floating, config) => {
11012
11076
  middleware = [],
11013
11077
  platform
11014
11078
  } = config;
11015
- const validMiddleware = middleware.filter(Boolean);
11079
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
11080
+ ...platform,
11081
+ detectOverflow
11082
+ };
11016
11083
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
11017
11084
  let rects = await platform.getElementRects({
11018
11085
  reference,
@@ -11024,13 +11091,17 @@ const computePosition$1 = async (reference, floating, config) => {
11024
11091
  y
11025
11092
  } = computeCoordsFromPlacement(rects, placement, rtl);
11026
11093
  let statefulPlacement = placement;
11027
- let middlewareData = {};
11028
11094
  let resetCount = 0;
11029
- for (let i = 0; i < validMiddleware.length; i++) {
11095
+ const middlewareData = {};
11096
+ for (let i = 0; i < middleware.length; i++) {
11097
+ const currentMiddleware = middleware[i];
11098
+ if (!currentMiddleware) {
11099
+ continue;
11100
+ }
11030
11101
  const {
11031
11102
  name,
11032
11103
  fn
11033
- } = validMiddleware[i];
11104
+ } = currentMiddleware;
11034
11105
  const {
11035
11106
  x: nextX,
11036
11107
  y: nextY,
@@ -11044,7 +11115,7 @@ const computePosition$1 = async (reference, floating, config) => {
11044
11115
  strategy,
11045
11116
  middlewareData,
11046
11117
  rects,
11047
- platform,
11118
+ platform: platformWithDetectOverflow,
11048
11119
  elements: {
11049
11120
  reference,
11050
11121
  floating
@@ -11052,14 +11123,11 @@ const computePosition$1 = async (reference, floating, config) => {
11052
11123
  });
11053
11124
  x = nextX != null ? nextX : x;
11054
11125
  y = nextY != null ? nextY : y;
11055
- middlewareData = {
11056
- ...middlewareData,
11057
- [name]: {
11058
- ...middlewareData[name],
11059
- ...data
11060
- }
11126
+ middlewareData[name] = {
11127
+ ...middlewareData[name],
11128
+ ...data
11061
11129
  };
11062
- if (reset && resetCount <= 50) {
11130
+ if (reset && resetCount < MAX_RESET_COUNT) {
11063
11131
  resetCount++;
11064
11132
  if (typeof reset === 'object') {
11065
11133
  if (reset.placement) {
@@ -11089,71 +11157,6 @@ const computePosition$1 = async (reference, floating, config) => {
11089
11157
  };
11090
11158
  };
11091
11159
 
11092
- /**
11093
- * Resolves with an object of overflow side offsets that determine how much the
11094
- * element is overflowing a given clipping boundary on each side.
11095
- * - positive = overflowing the boundary by that number of pixels
11096
- * - negative = how many pixels left before it will overflow
11097
- * - 0 = lies flush with the boundary
11098
- * @see https://floating-ui.com/docs/detectOverflow
11099
- */
11100
- async function detectOverflow(state, options) {
11101
- var _await$platform$isEle;
11102
- if (options === void 0) {
11103
- options = {};
11104
- }
11105
- const {
11106
- x,
11107
- y,
11108
- platform,
11109
- rects,
11110
- elements,
11111
- strategy
11112
- } = state;
11113
- const {
11114
- boundary = 'clippingAncestors',
11115
- rootBoundary = 'viewport',
11116
- elementContext = 'floating',
11117
- altBoundary = false,
11118
- padding = 0
11119
- } = evaluate(options, state);
11120
- const paddingObject = getPaddingObject(padding);
11121
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
11122
- const element = elements[altBoundary ? altContext : elementContext];
11123
- const clippingClientRect = rectToClientRect(await platform.getClippingRect({
11124
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
11125
- boundary,
11126
- rootBoundary,
11127
- strategy
11128
- }));
11129
- const rect = elementContext === 'floating' ? {
11130
- x,
11131
- y,
11132
- width: rects.floating.width,
11133
- height: rects.floating.height
11134
- } : rects.reference;
11135
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
11136
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
11137
- x: 1,
11138
- y: 1
11139
- } : {
11140
- x: 1,
11141
- y: 1
11142
- };
11143
- const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
11144
- elements,
11145
- rect,
11146
- offsetParent,
11147
- strategy
11148
- }) : rect);
11149
- return {
11150
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
11151
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
11152
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
11153
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
11154
- };
11155
- }
11156
-
11157
11160
  /**
11158
11161
  * Provides data to position an inner element of the floating element so that it
11159
11162
  * appears centered to the reference element.
@@ -11275,7 +11278,7 @@ const autoPlacement$1 = function (options) {
11275
11278
  ...detectOverflowOptions
11276
11279
  } = evaluate(options, state);
11277
11280
  const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
11278
- const overflow = await detectOverflow(state, detectOverflowOptions);
11281
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
11279
11282
  const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
11280
11283
  const currentPlacement = placements$1[currentIndex];
11281
11284
  if (currentPlacement == null) {
@@ -11389,7 +11392,7 @@ const flip$1 = function (options) {
11389
11392
  fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
11390
11393
  }
11391
11394
  const placements = [initialPlacement, ...fallbackPlacements];
11392
- const overflow = await detectOverflow(state, detectOverflowOptions);
11395
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
11393
11396
  const overflows = [];
11394
11397
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
11395
11398
  if (checkMainAxis) {
@@ -11496,7 +11499,8 @@ const hide$1 = function (options) {
11496
11499
  options,
11497
11500
  async fn(state) {
11498
11501
  const {
11499
- rects
11502
+ rects,
11503
+ platform
11500
11504
  } = state;
11501
11505
  const {
11502
11506
  strategy = 'referenceHidden',
@@ -11505,7 +11509,7 @@ const hide$1 = function (options) {
11505
11509
  switch (strategy) {
11506
11510
  case 'referenceHidden':
11507
11511
  {
11508
- const overflow = await detectOverflow(state, {
11512
+ const overflow = await platform.detectOverflow(state, {
11509
11513
  ...detectOverflowOptions,
11510
11514
  elementContext: 'reference'
11511
11515
  });
@@ -11519,7 +11523,7 @@ const hide$1 = function (options) {
11519
11523
  }
11520
11524
  case 'escaped':
11521
11525
  {
11522
- const overflow = await detectOverflow(state, {
11526
+ const overflow = await platform.detectOverflow(state, {
11523
11527
  ...detectOverflowOptions,
11524
11528
  altBoundary: true
11525
11529
  });
@@ -11642,7 +11646,8 @@ const shift$1 = function (options) {
11642
11646
  const {
11643
11647
  x,
11644
11648
  y,
11645
- placement
11649
+ placement,
11650
+ platform
11646
11651
  } = state;
11647
11652
  const {
11648
11653
  mainAxis: checkMainAxis = true,
@@ -11665,7 +11670,7 @@ const shift$1 = function (options) {
11665
11670
  x,
11666
11671
  y
11667
11672
  };
11668
- const overflow = await detectOverflow(state, detectOverflowOptions);
11673
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
11669
11674
  const crossAxis = getSideAxis(getSide(placement));
11670
11675
  const mainAxis = getOppositeAxis(crossAxis);
11671
11676
  let mainAxisCoord = coords[mainAxis];
@@ -11748,7 +11753,6 @@ function isShadowRoot(value) {
11748
11753
  }
11749
11754
  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
11750
11755
  }
11751
- const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
11752
11756
  function isOverflowElement(element) {
11753
11757
  const {
11754
11758
  overflow,
@@ -11756,32 +11760,35 @@ function isOverflowElement(element) {
11756
11760
  overflowY,
11757
11761
  display
11758
11762
  } = getComputedStyle$1(element);
11759
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
11763
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
11760
11764
  }
11761
- const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
11762
11765
  function isTableElement(element) {
11763
- return tableElements.has(getNodeName(element));
11766
+ return /^(table|td|th)$/.test(getNodeName(element));
11764
11767
  }
11765
- const topLayerSelectors = [':popover-open', ':modal'];
11766
11768
  function isTopLayer(element) {
11767
- return topLayerSelectors.some(selector => {
11768
- try {
11769
- return element.matches(selector);
11770
- } catch (_e) {
11771
- return false;
11769
+ try {
11770
+ if (element.matches(':popover-open')) {
11771
+ return true;
11772
11772
  }
11773
- });
11773
+ } catch (_e) {
11774
+ // no-op
11775
+ }
11776
+ try {
11777
+ return element.matches(':modal');
11778
+ } catch (_e) {
11779
+ return false;
11780
+ }
11774
11781
  }
11775
- const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
11776
- const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
11777
- const containValues = ['paint', 'layout', 'strict', 'content'];
11782
+ const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
11783
+ const containRe = /paint|layout|strict|content/;
11784
+ const isNotNone = value => !!value && value !== 'none';
11785
+ let isWebKitValue;
11778
11786
  function isContainingBlock(elementOrCss) {
11779
- const webkit = isWebKit();
11780
11787
  const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
11781
11788
 
11782
11789
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
11783
11790
  // https://drafts.csswg.org/css-transforms-2/#individual-transforms
11784
- return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
11791
+ return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
11785
11792
  }
11786
11793
  function getContainingBlock(element) {
11787
11794
  let currentNode = getParentNode(element);
@@ -11796,12 +11803,13 @@ function getContainingBlock(element) {
11796
11803
  return null;
11797
11804
  }
11798
11805
  function isWebKit() {
11799
- if (typeof CSS === 'undefined' || !CSS.supports) return false;
11800
- return CSS.supports('-webkit-backdrop-filter', 'none');
11806
+ if (isWebKitValue == null) {
11807
+ isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
11808
+ }
11809
+ return isWebKitValue;
11801
11810
  }
11802
- const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
11803
11811
  function isLastTraversableNode(node) {
11804
- return lastTraversableNodeNames.has(getNodeName(node));
11812
+ return /^(html|body|#document)$/.test(getNodeName(node));
11805
11813
  }
11806
11814
  function getComputedStyle$1(element) {
11807
11815
  return getWindow(element).getComputedStyle(element);
@@ -11854,8 +11862,9 @@ function getOverflowAncestors(node, list, traverseIframes) {
11854
11862
  if (isBody) {
11855
11863
  getFrameElement(win);
11856
11864
  return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], []);
11865
+ } else {
11866
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, []));
11857
11867
  }
11858
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, []));
11859
11868
  }
11860
11869
  function getFrameElement(win) {
11861
11870
  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
@@ -12032,7 +12041,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
12032
12041
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
12033
12042
  scroll = getNodeScroll(offsetParent);
12034
12043
  }
12035
- if (isHTMLElement(offsetParent)) {
12044
+ if (isOffsetParentAnElement) {
12036
12045
  const offsetRect = getBoundingClientRect(offsetParent);
12037
12046
  scale = getScale(offsetParent);
12038
12047
  offsets.x = offsetRect.x + offsetParent.clientLeft;
@@ -12120,7 +12129,6 @@ function getViewportRect(element, strategy) {
12120
12129
  };
12121
12130
  }
12122
12131
 
12123
- const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
12124
12132
  // Returns the inner client rect, subtracting scrollbars if present.
12125
12133
  function getInnerBoundingClientRect(element, strategy) {
12126
12134
  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
@@ -12185,7 +12193,7 @@ function getClippingElementAncestors(element, cache) {
12185
12193
  if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
12186
12194
  currentContainingBlockComputedStyle = null;
12187
12195
  }
12188
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
12196
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
12189
12197
  if (shouldDropCurrentNode) {
12190
12198
  // Drop non-containing blocks.
12191
12199
  result = result.filter(ancestor => ancestor !== currentNode);
@@ -12210,20 +12218,23 @@ function getClippingRect(_ref) {
12210
12218
  } = _ref;
12211
12219
  const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
12212
12220
  const clippingAncestors = [...elementClippingAncestors, rootBoundary];
12213
- const firstClippingAncestor = clippingAncestors[0];
12214
- const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
12215
- const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
12216
- accRect.top = max(rect.top, accRect.top);
12217
- accRect.right = min(rect.right, accRect.right);
12218
- accRect.bottom = min(rect.bottom, accRect.bottom);
12219
- accRect.left = max(rect.left, accRect.left);
12220
- return accRect;
12221
- }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
12221
+ const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
12222
+ let top = firstRect.top;
12223
+ let right = firstRect.right;
12224
+ let bottom = firstRect.bottom;
12225
+ let left = firstRect.left;
12226
+ for (let i = 1; i < clippingAncestors.length; i++) {
12227
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
12228
+ top = max(rect.top, top);
12229
+ right = min(rect.right, right);
12230
+ bottom = min(rect.bottom, bottom);
12231
+ left = max(rect.left, left);
12232
+ }
12222
12233
  return {
12223
- width: clippingRect.right - clippingRect.left,
12224
- height: clippingRect.bottom - clippingRect.top,
12225
- x: clippingRect.left,
12226
- y: clippingRect.top
12234
+ width: right - left,
12235
+ height: bottom - top,
12236
+ x: left,
12237
+ y: top
12227
12238
  };
12228
12239
  }
12229
12240
 
@@ -14298,7 +14309,7 @@ const RtkMeeting = class {
14298
14309
  disconnectedCallback() {
14299
14310
  var _a;
14300
14311
  if (this.leaveOnUnmount) {
14301
- (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leaveRoom();
14312
+ (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave();
14302
14313
  }
14303
14314
  this.resizeObserver.disconnect();
14304
14315
  window.removeEventListener('rtkError', this.authErrorListener);
@@ -14423,7 +14434,7 @@ const RtkMeeting = class {
14423
14434
  }
14424
14435
  else {
14425
14436
  meeting
14426
- .joinRoom()
14437
+ .join()
14427
14438
  .then(() => {
14428
14439
  this.updateStates({ joinError: undefined, joinErrorCode: undefined });
14429
14440
  })
@@ -16983,20 +16994,16 @@ const RtkChatSearchResults = class {
16983
16994
  /** Language */
16984
16995
  this.t = useLanguage();
16985
16996
  this.pageSize = 50;
16986
- this.searchMessages = async (timestamp, size, reversed) => {
16987
- return this.meeting.chat.searchMessages(this.query, {
16988
- channelId: this.channelId,
16989
- timestamp,
16990
- size,
16991
- reversed,
16992
- });
16997
+ /** NOTE(ikabra): Core APIs need to be implemented for this, this component is not being used inside chat UI and was broken as standalone. */
16998
+ this.searchMessages = async (_timestamp, _size, _reversed) => {
16999
+ return [];
16993
17000
  };
16994
17001
  this.nodeRenderer = (messages) => {
16995
17002
  return messages.map((message) => (h("rtk-chat-message", { key: message.id, message: message, disableControls: true })));
16996
17003
  };
16997
17004
  }
16998
17005
  render() {
16999
- return (h(Host, { key: 'fc3d7cb74b06656269c6cfc6aabaae16e875f598' }, h("rtk-paginated-list", { key: '8a9431648f5270f4c1f34435f4ac3c424a9b5b22', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer })));
17006
+ return (h(Host, { key: '4ea17889c442ac91c4bb54896c600d17290c0715' }, h("rtk-paginated-list", { key: '8fa700caf9b3a2c7329fb555baf1a979231fa71c', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer })));
17000
17007
  }
17001
17008
  };
17002
17009
  __decorate$16([
@@ -18611,7 +18618,11 @@ const RtkGrid = class {
18611
18618
  .filter((participant) => participant.screenShareEnabled);
18612
18619
  this.plugins = (plugins === null || plugins === void 0 ? void 0 : plugins.active.toArray()) || [];
18613
18620
  if (permissions === null || permissions === void 0 ? void 0 : permissions.stageEnabled) {
18614
- this.canCurrentPeerHost = permissions.acceptStageRequests || permissions.canPresent;
18621
+ this.canCurrentPeerHost =
18622
+ permissions.acceptStageRequests ||
18623
+ permissions.canProduceAudio === 'ALLOWED' ||
18624
+ permissions.canProduceVideo === 'ALLOWED' ||
18625
+ permissions.canProduceScreenshare === 'ALLOWED';
18615
18626
  this.updateStage();
18616
18627
  }
18617
18628
  this.hidden = meeting.self.hidden;
@@ -20670,7 +20681,7 @@ const RtkNotifications = class {
20670
20681
  button: {
20671
20682
  text: this.t('end'),
20672
20683
  variant: 'danger',
20673
- onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leaveRoom(); },
20684
+ onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave(); },
20674
20685
  },
20675
20686
  });
20676
20687
  }
@@ -20692,7 +20703,7 @@ const RtkNotifications = class {
20692
20703
  button: {
20693
20704
  text: this.t('end'),
20694
20705
  variant: 'danger',
20695
- onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leaveRoom(); },
20706
+ onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave(); },
20696
20707
  },
20697
20708
  });
20698
20709
  break;
@@ -22830,7 +22841,7 @@ const RtkSetupScreen = class {
22830
22841
  (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.setName(this.displayName);
22831
22842
  gracefulStorage$1.setItem('rtk-display-name', this.displayName);
22832
22843
  try {
22833
- await ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.joinRoom());
22844
+ await ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.join());
22834
22845
  }
22835
22846
  catch (e) {
22836
22847
  this.isJoining = false;
@@ -23813,7 +23824,7 @@ const RtkUiProvider = class {
23813
23824
  this.updateStates({ meeting: 'setup' });
23814
23825
  }
23815
23826
  else {
23816
- meeting.joinRoom();
23827
+ meeting.join();
23817
23828
  }
23818
23829
  }
23819
23830
  window.removeEventListener('rtkError', this.authErrorListener);
@@ -24787,7 +24798,7 @@ const RtkLeaveMeeting = class {
24787
24798
  };
24788
24799
  this.handleLeave = () => {
24789
24800
  var _a;
24790
- (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leaveRoom();
24801
+ (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave();
24791
24802
  this.close();
24792
24803
  };
24793
24804
  this.handleJoinMainRoom = () => {
@@ -24818,9 +24829,9 @@ const RtkLeaveMeeting = class {
24818
24829
  }
24819
24830
  }
24820
24831
  render() {
24821
- return (h(Host, { key: 'c74c02b9d3701e32a89cf826e4beaa4621d64cd3' }, h("div", { key: 'c98494a59b744ba2d2dbebfa2304a759c7b64472', class: "leave-modal" }, h("div", { key: '1632b9e293ffb2fe35beb73e5db5cbdd408173ba', class: "header" }, h("h2", { key: 'cb1435cc8e6acc312d431d2ced0f44c4d1bde66d', class: "title" }, this.t('leave'))), h("p", { key: 'f968fa6dc28081b593945217eaaf35a6df7129b5', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
24832
+ return (h(Host, { key: '93a88022c62d7e1dbcd512fa19ad72e7e938e6cc' }, h("div", { key: '526c2dc395fe41a2e980c881c0d3d145c86e7c76', class: "leave-modal" }, h("div", { key: 'ecd34ea2ecc74099a9377ced64a24667aa2e24aa', class: "header" }, h("h2", { key: '51c05788210388df22e871bad265c05c40b7dd75', class: "title" }, this.t('leave'))), h("p", { key: 'fd6a2f2cc6f75c808f995bff3bf5e8628806a0b1', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
24822
24833
  ? this.t('breakout_rooms.leave_confirmation')
24823
- : this.t('leave_confirmation')), h("div", { key: '518499ac5fe2ebb9dcdd2c4ad93060ad7c3048d4', class: "content" }, h("rtk-button", { key: '46b66881f3c1f8f826b597882b215e1533a0f8a3', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: '46b9fc923e3729c89a9e75b5e2c2575cdeeaf61d', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: 'e13cc8f1af5fa0845b18483d43bd3f6aad45dcee', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: 'a817cf765d9c2ca961d9fcc61141845027a1ea46', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
24834
+ : this.t('leave_confirmation')), h("div", { key: '6ed0ae860e10f08858707aea9eae9530cfb0eb88', class: "content" }, h("rtk-button", { key: '8ecc5aca329f6bb5eac183dc5e997834c9b511ae', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: '8a31fdea844a2ce4b3b4aeba4114ef0178e2df0b', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: 'e8d815dccf9ea30ab9290f4789f855412b2c9baa', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: '64073a99ca9ee3beee04ce0aaa4ec4346d5c4de1', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
24824
24835
  }
24825
24836
  static get watchers() { return {
24826
24837
  "meeting": ["meetingChanged"]
@@ -25826,7 +25837,7 @@ function enableLogs(debugConfig, context, id) {
25826
25837
  // Some browsers don't allow to use bind on console object anyway
25827
25838
  // fallback to default if needed
25828
25839
  try {
25829
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.15"}`);
25840
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.16"}`);
25830
25841
  } catch (e) {
25831
25842
  /* log fn threw an exception. All logger methods are no-ops. */
25832
25843
  return createLogger();
@@ -25964,7 +25975,7 @@ var hasRequiredUrlToolkit;
25964
25975
  function requireUrlToolkit () {
25965
25976
  if (hasRequiredUrlToolkit) return urlToolkit.exports;
25966
25977
  hasRequiredUrlToolkit = 1;
25967
- (function (module, exports$1) {
25978
+ (function (module, exports) {
25968
25979
  // see https://tools.ietf.org/html/rfc1808
25969
25980
 
25970
25981
  (function (root) {
@@ -34781,6 +34792,23 @@ class BaseStreamController extends TaskLoop {
34781
34792
  }
34782
34793
  return Math.min(maxBufLen, config.maxMaxBufferLength);
34783
34794
  }
34795
+ exceedsMaxBuffer(bufferInfo, maxBufLen, selected) {
34796
+ const nextStart = bufferInfo.nextStart;
34797
+ if (nextStart && selected.start > nextStart) {
34798
+ const bufferedRanges = bufferInfo.buffered;
34799
+ if (bufferedRanges) {
34800
+ let fullBufferLength = bufferInfo.len;
34801
+ const bufferedIndex = bufferInfo.bufferedIndex;
34802
+ for (let i = bufferedRanges.length - 1; i > bufferedIndex; i--) {
34803
+ if (bufferedRanges[i].start < selected.start) {
34804
+ fullBufferLength += bufferedRanges[i].end - bufferedRanges[i].start;
34805
+ }
34806
+ }
34807
+ return fullBufferLength >= maxBufLen;
34808
+ }
34809
+ }
34810
+ return false;
34811
+ }
34784
34812
  reduceMaxBufferLength(threshold, fragDuration) {
34785
34813
  const config = this.config;
34786
34814
  const minLength = Math.max(Math.min(threshold - fragDuration, config.maxBufferLength), fragDuration);
@@ -34811,7 +34839,7 @@ class BaseStreamController extends TaskLoop {
34811
34839
  const {
34812
34840
  config
34813
34841
  } = this;
34814
- const start = fragments[0].start;
34842
+ const playlistStart = levelDetails.fragmentStart;
34815
34843
  const canLoadParts = config.lowLatencyMode && !!levelDetails.partList;
34816
34844
  let frag = null;
34817
34845
  if (levelDetails.live) {
@@ -34824,20 +34852,43 @@ class BaseStreamController extends TaskLoop {
34824
34852
  // In order to discover the range, we load the best matching fragment for that level and demux it.
34825
34853
  // Do not load using live logic if the starting frag is requested - we want to use getFragmentAtPosition() so that
34826
34854
  // we get the fragment matching that start time
34827
- if (!levelDetails.PTSKnown && !this.startFragRequested && this.startPosition === -1 || pos < start) {
34855
+ if (!levelDetails.PTSKnown && !this.startFragRequested && this.startPosition === -1 || pos < playlistStart) {
34828
34856
  var _frag;
34829
34857
  if (canLoadParts && !this.loadingParts) {
34830
34858
  this.log(`LL-Part loading ON for initial live fragment`);
34831
34859
  this.loadingParts = true;
34832
34860
  }
34833
34861
  frag = this.getInitialLiveFragment(levelDetails);
34862
+ const configValue = this.config.startPosition;
34834
34863
  const mainStart = this.hls.startPosition;
34835
34864
  const liveSyncPosition = this.hls.liveSyncPosition;
34836
- const startPosition = frag ? (mainStart !== -1 && mainStart >= start ? mainStart : liveSyncPosition) || frag.start : pos;
34837
- this.log(`Setting startPosition to ${startPosition} to match start frag at live edge. mainStart: ${mainStart} liveSyncPosition: ${liveSyncPosition} frag.start: ${(_frag = frag) == null ? void 0 : _frag.start}`);
34838
- this.startPosition = this.nextLoadPosition = startPosition;
34865
+ const fragStart = ((_frag = frag) == null ? void 0 : _frag.start) || 0;
34866
+ let startPosition;
34867
+ let reason;
34868
+ if (mainStart !== -1 && mainStart >= playlistStart) {
34869
+ startPosition = mainStart;
34870
+ reason = mainStart === configValue ? 'config' : 'next load start';
34871
+ } else if (liveSyncPosition !== null) {
34872
+ startPosition = liveSyncPosition;
34873
+ reason = 'live edge';
34874
+ } else {
34875
+ startPosition = pos;
34876
+ reason = 'buffer pos';
34877
+ }
34878
+ if (startPosition < fragStart) {
34879
+ startPosition = fragStart;
34880
+ reason = 'live frag start';
34881
+ }
34882
+ if (startPosition < playlistStart) {
34883
+ startPosition = playlistStart;
34884
+ reason = 'playlist start';
34885
+ }
34886
+ if (this.startPosition != startPosition || this.nextLoadPosition != startPosition) {
34887
+ this.log(`Setting startPosition to ${startPosition.toFixed(3)} ${mainStart === -1 ? '' : `(from ${configValue}) `}based on ${reason}. live edge: ${liveSyncPosition} live frag start: ${fragStart.toFixed(3)} playlist start: ${playlistStart.toFixed(3)} buffer pos: ${pos}`);
34888
+ this.startPosition = this.nextLoadPosition = startPosition;
34889
+ }
34839
34890
  }
34840
- } else if (pos <= start) {
34891
+ } else if (pos <= playlistStart) {
34841
34892
  // VoD playlist: if loadPosition before start of playlist, load first fragment
34842
34893
  frag = fragments[0];
34843
34894
  }
@@ -34855,8 +34906,11 @@ class BaseStreamController extends TaskLoop {
34855
34906
  return this.mapToInitFragWhenRequired(programFrag);
34856
34907
  }
34857
34908
  isLoopLoading(frag, targetBufferTime) {
34909
+ if (this.nextLoadPosition <= targetBufferTime) {
34910
+ return false;
34911
+ }
34858
34912
  const trackerState = this.fragmentTracker.getState(frag);
34859
- return (trackerState === FragmentState.OK || trackerState === FragmentState.PARTIAL && !!frag.gap) && this.nextLoadPosition > targetBufferTime;
34913
+ return trackerState === FragmentState.OK || trackerState === FragmentState.PARTIAL && !!frag.gap;
34860
34914
  }
34861
34915
  getNextFragmentLoopLoading(frag, levelDetails, bufferInfo, playlistType, maxBufLen) {
34862
34916
  let nextFragment = null;
@@ -34989,8 +35043,10 @@ class BaseStreamController extends TaskLoop {
34989
35043
  if (fragPrevious) {
34990
35044
  if (levelDetails.hasProgramDateTime) {
34991
35045
  // Prefer using PDT, because it can be accurate enough to choose the correct fragment without knowing the level sliding
34992
- this.log(`Live playlist, switching playlist, load frag with same PDT: ${fragPrevious.programDateTime}`);
34993
35046
  frag = findFragmentByPDT(fragments, fragPrevious.endProgramDateTime, this.config.maxFragLookUpTolerance);
35047
+ if (frag) {
35048
+ this.log(`Live playlist, switching playlist, load frag with same PDT: ${fragPrevious.programDateTime}`);
35049
+ }
34994
35050
  }
34995
35051
  if (!frag) {
34996
35052
  // SN does not need to be accurate between renditions, but depending on the packaging it may be so.
@@ -35845,7 +35901,7 @@ function requireEventemitter3 () {
35845
35901
  var eventemitter3Exports = requireEventemitter3();
35846
35902
  var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
35847
35903
 
35848
- const version = "1.6.15";
35904
+ const version = "1.6.16";
35849
35905
 
35850
35906
  // ensure the worker ends up in the bundle
35851
35907
  // If the worker should not be included this gets aliased to empty.js
@@ -42401,6 +42457,9 @@ class AudioStreamController extends BaseStreamController {
42401
42457
  this.bufferFlushed = true;
42402
42458
  return;
42403
42459
  }
42460
+ if (this.exceedsMaxBuffer(bufferInfo, maxBufLen, frag)) {
42461
+ return;
42462
+ }
42404
42463
 
42405
42464
  // Request audio segments up to one fragment ahead of main stream-controller
42406
42465
  let mainFragLoading = ((_this$mainFragLoading2 = this.mainFragLoading) == null ? void 0 : _this$mainFragLoading2.frag) || null;
@@ -50473,6 +50532,9 @@ class InterstitialsController extends Logger {
50473
50532
  return;
50474
50533
  }
50475
50534
  const backwardSeek = diff <= -0.01;
50535
+ if (this.timelinePos === -1 && !this.effectivePlayingItem) {
50536
+ this.checkStart();
50537
+ }
50476
50538
  this.timelinePos = currentTime;
50477
50539
  this.bufferedPos = currentTime;
50478
50540
 
@@ -50545,6 +50607,9 @@ class InterstitialsController extends Logger {
50545
50607
  if (currentTime === undefined || this.playbackDisabled) {
50546
50608
  return;
50547
50609
  }
50610
+ if (this.timelinePos === -1 && !this.effectivePlayingItem) {
50611
+ this.checkStart();
50612
+ }
50548
50613
 
50549
50614
  // Only allow timeupdate to advance primary position, seeking is used for jumping back
50550
50615
  // this prevents primaryPos from being reset to 0 after re-attach
@@ -51267,17 +51332,25 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
51267
51332
  const effectivePlayingItem = this.effectivePlayingItem;
51268
51333
  if (timelinePos === -1) {
51269
51334
  const startPosition = this.hls.startPosition;
51270
- this.log(timelineMessage('checkStart', startPosition));
51271
51335
  this.timelinePos = startPosition;
51272
- if (interstitialEvents.length && interstitialEvents[0].cue.pre) {
51336
+ if (interstitialEvents.length === 0) {
51337
+ this.setSchedulePosition(0);
51338
+ } else if (interstitialEvents[0].cue.pre) {
51339
+ this.log(timelineMessage('checkStart (preroll)', startPosition));
51273
51340
  const index = schedule.findEventIndex(interstitialEvents[0].identifier);
51274
51341
  this.setSchedulePosition(index);
51275
51342
  } else if (startPosition >= 0 || !this.primaryLive) {
51343
+ this.log(timelineMessage('checkStart', startPosition));
51276
51344
  const start = this.timelinePos = startPosition > 0 ? startPosition : 0;
51277
51345
  const index = schedule.findItemIndexAtTime(start);
51278
51346
  this.setSchedulePosition(index);
51347
+ } else if (this.hls.liveSyncPosition === 0) {
51348
+ this.setSchedulePosition(0);
51349
+ } else {
51350
+ this.log('[checkStart] waiting for live start');
51279
51351
  }
51280
51352
  } else if (effectivePlayingItem && !this.playingItem) {
51353
+ this.log(timelineMessage('checkStart (playing item)', effectivePlayingItem.start));
51281
51354
  const index = schedule.findItemIndex(effectivePlayingItem);
51282
51355
  this.setSchedulePosition(index);
51283
51356
  }
@@ -58979,6 +59052,9 @@ class StreamController extends BaseStreamController {
58979
59052
  if (!frag) {
58980
59053
  return;
58981
59054
  }
59055
+ if (this.exceedsMaxBuffer(bufferInfo, maxBufLen, frag)) {
59056
+ return;
59057
+ }
58982
59058
  if (frag.initSegment && !frag.initSegment.data && !this.bitrateTest) {
58983
59059
  frag = frag.initSegment;
58984
59060
  }
@@ -59020,6 +59096,14 @@ class StreamController extends BaseStreamController {
59020
59096
  immediateLevelSwitch() {
59021
59097
  this.abortCurrentFrag();
59022
59098
  this.flushMainBuffer(0, Number.POSITIVE_INFINITY);
59099
+ if (this.altAudio !== 0) {
59100
+ var _this$getLevelDetails;
59101
+ // If behind the live window, remove audio too to keep buffered media aligned
59102
+ const liveWindowStart = ((_this$getLevelDetails = this.getLevelDetails()) == null ? void 0 : _this$getLevelDetails.fragmentStart) || 0;
59103
+ if (liveWindowStart > this.lastCurrentTime) {
59104
+ super.flushMainBuffer(0, Number.POSITIVE_INFINITY, 'audio');
59105
+ }
59106
+ }
59023
59107
  }
59024
59108
 
59025
59109
  /**
@@ -65667,10 +65751,10 @@ const RtkParticipant = class {
65667
65751
  ? this.iconPack.leave_stage
65668
65752
  : this.iconPack.join_stage, slot: "start" }), this.isOnStage
65669
65753
  ? this.t('stage.remove_from_stage')
65670
- : this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '94ab4ac5ff623120259eefc4fde3d1cfc3906be9', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
65671
- var _a, _b;
65672
- (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.kick((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id);
65673
- } }, h("rtk-icon", { key: '89366c87999b7cba4437999d99c36fea55da52a7', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '05bc7bda52eb6e9183a3c90628c64ac7fb1baa8c' }, h(Render, { key: '39fbd70a6d9d5a0014befedd7c12b16723e4ad01', element: "rtk-participant", defaults: defaults, childProps: {
65754
+ : this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '0e5fe7c7f6e61599293843466c5b473226348d26', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
65755
+ var _a, _b, _c;
65756
+ (_c = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.joined.get((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id)) === null || _c === void 0 ? void 0 : _c.kick();
65757
+ } }, h("rtk-icon", { key: 'c7d370837be33a1a14fb32f64a35da3fdceafe28', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: 'ec5dea9563b71323776808d8ef1991cda87e625f' }, h(Render, { key: '6c423497a1c2f31a7190305913dce0019cf943f1', element: "rtk-participant", defaults: defaults, childProps: {
65674
65758
  participant: this.participant,
65675
65759
  }, deepProps: true, onlyChildren: true })))))))))));
65676
65760
  }