@cloudflare/realtimekit-ui 2.0.2-staging.2 → 2.0.2

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 (614) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-5iqcrDk9.js → TextMessage-CXP5MCz2.js} +1 -1
  3. package/dist/cjs/{chat-CiRLOYTj.js → chat-BJwmnHGm.js} +1 -1
  4. package/dist/cjs/{config-Dr-kt-RY.js → config-lVBc97X8.js} +2 -2
  5. package/dist/cjs/{debounce-padcVDRF.js → debounce-BfjpS8nk.js} +1 -1
  6. package/dist/cjs/{index-BOQMsbCN.js → index-iml9xkbo.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/{merge-CSoi4R44.js → merge-BJWi-sVV.js} +1 -1
  9. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  10. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-avatar_26.cjs.entry.js +6 -6
  16. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  17. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  23. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
  38. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  51. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  58. package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
  59. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  61. package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
  62. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  68. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +7 -6
  73. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  90. package/dist/cjs/{ui-store-CTof0Q5V.js → ui-store-C8bSJOfE.js} +1 -0
  91. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  92. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  93. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  94. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  95. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  96. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  97. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  98. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  99. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  100. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
  101. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
  102. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  103. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  104. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  105. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  106. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  107. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  108. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  109. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  110. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  111. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  112. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  113. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
  114. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  115. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  116. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  117. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  118. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  119. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  120. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  121. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  122. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  123. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  124. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  125. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  126. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  127. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  128. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  129. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  130. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  131. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  132. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  133. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  134. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  135. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  136. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  137. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  138. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  139. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  140. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  141. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  142. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  143. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  144. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  145. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  146. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  147. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  148. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  149. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  150. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  151. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  152. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  153. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  154. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  155. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  156. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  157. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  158. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  159. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  160. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  161. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  162. package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
  163. package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
  164. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  165. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  166. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  167. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  168. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
  169. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
  170. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  171. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  172. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  173. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  174. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  175. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  176. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  177. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  178. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
  179. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  180. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  181. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  182. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  183. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  184. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  185. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  186. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  187. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  188. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +6 -5
  189. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  190. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +1 -1
  191. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  192. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  193. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  194. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  195. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  196. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  197. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  198. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  199. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  200. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +1 -1
  201. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  202. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  203. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  204. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  205. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  206. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  207. package/dist/collection/components/rtk-text-message/rtk-text-message.js +1 -1
  208. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  209. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  210. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  211. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  212. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  213. package/dist/collection/lib/lang/default-language.js +1 -0
  214. package/dist/components/index.js +1 -1
  215. package/dist/components/{p-BA_UY9k8.js → p-48gPeJ33.js} +1 -1
  216. package/dist/components/{p-CqEcYX16.js → p-66poN2qn.js} +1 -1
  217. package/dist/components/{p-C-OVY3ug.js → p-B17zaVfB.js} +1 -1
  218. package/dist/components/{p-DU5mNJqK.js → p-B2GVx1qA.js} +1 -1
  219. package/dist/components/{p-CdV0xzjB.js → p-B6TKlHLV.js} +1 -1
  220. package/dist/components/{p-DKjr_UXt.js → p-B77rBORD.js} +1 -1
  221. package/dist/components/{p-EuNHmu13.js → p-BGMQOFEz.js} +1 -1
  222. package/dist/components/{p-C4IJ0f9O.js → p-BIdrWJJD.js} +1 -1
  223. package/dist/components/{p-DEOaS443.js → p-BNRJKXAG.js} +1 -1
  224. package/dist/components/{p-KpmupjxR.js → p-BQkUbUdr.js} +1 -1
  225. package/dist/components/{p-BuZhKlht.js → p-BRPrcA0X.js} +1 -1
  226. package/dist/components/{p-COEreDeR.js → p-BUosYxgI.js} +1 -1
  227. package/dist/components/{p-Ce-9kgl0.js → p-Ba4odlrT.js} +1 -1
  228. package/dist/components/{p-DCEjf6bL.js → p-BbtnaCk4.js} +1 -1
  229. package/dist/components/{p-DZC8m5f_.js → p-Bgm0SnIA.js} +1 -1
  230. package/dist/components/{p-CB5hzEOM.js → p-BhG6UsF5.js} +1 -1
  231. package/dist/components/{p-ChuKD7QS.js → p-Bj4I4jh7.js} +1 -1
  232. package/dist/components/{p-DuOnRaMu.js → p-Bjmpb3KI.js} +1 -1
  233. package/dist/components/{p-wemYeTS7.js → p-BoeW-RxV.js} +1 -1
  234. package/dist/components/{p-BjF9F_tX.js → p-Bqf3TobZ.js} +1 -1
  235. package/dist/components/{p-C0H4DNJM.js → p-BssX9KwA.js} +1 -1
  236. package/dist/components/p-BsxEHBW2.js +1 -0
  237. package/dist/{realtimekit-ui/p-uIA60Puf.js → components/p-BthnOddY.js} +1 -1
  238. package/dist/components/{p-ak2clYhw.js → p-Bvn365hl.js} +1 -1
  239. package/dist/components/{p-DmVA5ArE.js → p-C-ZKbHGI.js} +1 -1
  240. package/dist/components/{p-pb5wDMuJ.js → p-C71rbtpI.js} +1 -1
  241. package/dist/components/{p-CrExxJHe.js → p-C8Dgpnzx.js} +1 -1
  242. package/dist/components/{p-CpOL3OJd.js → p-C9KgVl-d.js} +1 -1
  243. package/dist/components/{p-CQAMoQlr.js → p-CAgV-5OF.js} +1 -1
  244. package/dist/components/{p-C3Z3GLQh.js → p-CEjlztlu.js} +1 -1
  245. package/dist/components/{p-D1zAGrQ9.js → p-CIfkVpTJ.js} +1 -1
  246. package/dist/components/{p-DfWuSKCq.js → p-CNv9-uKL.js} +1 -1
  247. package/dist/components/{p-wl6GEzgG.js → p-COCm8rOB.js} +1 -1
  248. package/dist/components/{p-D0bZYAmS.js → p-CPF_oopS.js} +1 -1
  249. package/dist/components/{p-JyC3dswA.js → p-CRr8LXGp.js} +1 -1
  250. package/dist/components/{p-zBoy9v8V.js → p-CSO-O3S1.js} +1 -1
  251. package/dist/components/{p-7zlNLqpS.js → p-CSt7vW9Z.js} +1 -1
  252. package/dist/components/{p-PXVZ-Szx.js → p-CVfA5R2h.js} +1 -1
  253. package/dist/components/{p-DbHOlaHU.js → p-CWHbCyoL.js} +1 -1
  254. package/dist/components/{p-1sLF61J1.js → p-CXK5Hixp.js} +1 -1
  255. package/dist/components/{p-DBjcFAtV.js → p-CfFkjBT0.js} +1 -1
  256. package/dist/components/{p-COZSdc5O.js → p-Chf25Wxh.js} +1 -1
  257. package/dist/components/{p-Bf4LuZWa.js → p-Cj0CCucK.js} +1 -1
  258. package/dist/components/{p-BRbb3tLk.js → p-CkA8t9GX.js} +1 -1
  259. package/dist/components/{p-CBLUz_2s.js → p-CuqFnmgF.js} +1 -1
  260. package/dist/components/{p-Df2S0-LE.js → p-CwNP8xfN.js} +1 -1
  261. package/dist/components/{p-Cj44pA_c.js → p-Cz9_MmLt.js} +1 -1
  262. package/dist/components/{p-B1wrArJr.js → p-D3IRX-4x.js} +1 -1
  263. package/dist/components/{p-L9yK33Cu.js → p-DCtgO53p.js} +1 -1
  264. package/dist/components/{p-CphAED3J.js → p-DL4GSZ2e.js} +1 -1
  265. package/dist/components/{p-B4TnXODX.js → p-DPxfGgCX.js} +1 -1
  266. package/dist/components/{p-CKX6X8es.js → p-DSm20Isy.js} +1 -1
  267. package/dist/components/{p-BoGbJ5PX.js → p-DXSMSSbW.js} +1 -1
  268. package/dist/components/{p-s-jAl7lc.js → p-DX_XkIXf.js} +1 -1
  269. package/dist/components/{p-DNkzP2hS.js → p-D__Gipxn.js} +1 -1
  270. package/dist/components/{p-Deo_3EhX.js → p-D_tCWiMP.js} +1 -1
  271. package/dist/components/{p-BOYkqKBb.js → p-DcBUj_Ju.js} +1 -1
  272. package/dist/components/{p-ViKGg-Ct.js → p-DfGTdsn0.js} +1 -1
  273. package/dist/components/{p-J1kxEVHe.js → p-DjSGHZA8.js} +1 -1
  274. package/dist/components/{p-DlKMnwxL.js → p-Dr2k6gxY.js} +1 -1
  275. package/dist/components/{p-CnJQLwM-.js → p-Dy1vyj0N.js} +1 -1
  276. package/dist/components/{p-DnQYtb0h.js → p-RjS7wlRV.js} +1 -1
  277. package/dist/components/{p-DP4RUNa1.js → p-UCR1gRqj.js} +1 -1
  278. package/dist/components/{p-j2J2Tn1F.js → p-V9huV8XH.js} +1 -1
  279. package/dist/components/{p-BJKSFJeB.js → p-ebQT96VB.js} +1 -1
  280. package/dist/components/{p-FVFlyS1y.js → p-fEIEB26m.js} +1 -1
  281. package/dist/components/{p-DD3_OTZn.js → p-iZinM7-j.js} +1 -1
  282. package/dist/components/{p-B5-LNbkp.js → p-iaFYN7Sj.js} +1 -1
  283. package/dist/components/{p-Cmu_4ZYL.js → p-jyZncre7.js} +1 -1
  284. package/dist/components/{p-CABfszIM.js → p-kwrAj1JQ.js} +1 -1
  285. package/dist/components/{p-C9EBo56b.js → p-mm-pzvJ-.js} +1 -1
  286. package/dist/components/{p-Cd-WpR0J.js → p-nad0N2DI.js} +1 -1
  287. package/dist/components/{p-DY8ll5IU.js → p-nkadiHul.js} +1 -1
  288. package/dist/components/{p-e-OVL-Mg.js → p-oNFda96T.js} +1 -1
  289. package/dist/components/{p-uOh9MOi7.js → p-vBjvMv_5.js} +1 -1
  290. package/dist/components/{p-B-k80wnP.js → p-xmJ8IJTr.js} +1 -1
  291. package/dist/components/{p-B9MPybze.js → p-yIxFaBq2.js} +1 -1
  292. package/dist/components/rtk-ai-toggle.js +1 -1
  293. package/dist/components/rtk-ai-transcriptions.js +1 -1
  294. package/dist/components/rtk-ai.js +1 -1
  295. package/dist/components/rtk-audio-grid.js +1 -1
  296. package/dist/components/rtk-audio-tile.js +1 -1
  297. package/dist/components/rtk-audio-visualizer.js +1 -1
  298. package/dist/components/rtk-avatar.js +1 -1
  299. package/dist/components/rtk-breakout-room-manager.js +1 -1
  300. package/dist/components/rtk-breakout-room-participants.js +1 -1
  301. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  302. package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
  303. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  304. package/dist/components/rtk-camera-selector.js +1 -1
  305. package/dist/components/rtk-camera-toggle.js +1 -1
  306. package/dist/components/rtk-caption-toggle.js +1 -1
  307. package/dist/components/rtk-chat-composer-ui.js +1 -1
  308. package/dist/components/rtk-chat-composer-view.js +1 -1
  309. package/dist/components/rtk-chat-header.js +1 -1
  310. package/dist/components/rtk-chat-message.js +1 -1
  311. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  312. package/dist/components/rtk-chat-messages-ui.js +1 -1
  313. package/dist/components/rtk-chat-search-results.js +1 -1
  314. package/dist/components/rtk-chat-selector-ui.js +1 -1
  315. package/dist/components/rtk-chat-selector.js +1 -1
  316. package/dist/components/rtk-chat-toggle.js +1 -1
  317. package/dist/components/rtk-chat.js +1 -1
  318. package/dist/components/rtk-clock.js +1 -1
  319. package/dist/components/rtk-confirmation-modal.js +1 -1
  320. package/dist/components/rtk-controlbar-button.js +1 -1
  321. package/dist/components/rtk-controlbar.js +1 -1
  322. package/dist/components/rtk-counter.js +1 -1
  323. package/dist/components/rtk-debugger-audio.js +1 -1
  324. package/dist/components/rtk-debugger-screenshare.js +1 -1
  325. package/dist/components/rtk-debugger-system.js +1 -1
  326. package/dist/components/rtk-debugger-toggle.js +1 -1
  327. package/dist/components/rtk-debugger-video.js +1 -1
  328. package/dist/components/rtk-debugger.js +1 -1
  329. package/dist/components/rtk-dialog-manager.js +1 -1
  330. package/dist/components/rtk-dialog.js +1 -1
  331. package/dist/components/rtk-draft-attachment-view.js +1 -1
  332. package/dist/components/rtk-emoji-picker-button.js +1 -1
  333. package/dist/components/rtk-emoji-picker.js +1 -1
  334. package/dist/components/rtk-ended-screen.js +1 -1
  335. package/dist/components/rtk-file-dropzone.js +1 -1
  336. package/dist/components/rtk-file-message-view.js +1 -1
  337. package/dist/components/rtk-file-message.js +1 -1
  338. package/dist/components/rtk-file-picker-button.js +1 -1
  339. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  340. package/dist/components/rtk-grid-pagination.js +1 -1
  341. package/dist/components/rtk-grid.js +1 -1
  342. package/dist/components/rtk-header.js +1 -1
  343. package/dist/components/rtk-idle-screen.js +1 -1
  344. package/dist/components/rtk-image-message-view.js +1 -1
  345. package/dist/components/rtk-image-message.js +1 -1
  346. package/dist/components/rtk-image-viewer.js +1 -1
  347. package/dist/components/rtk-information-tooltip.js +1 -1
  348. package/dist/components/rtk-join-stage.js +1 -1
  349. package/dist/components/rtk-leave-button.js +1 -1
  350. package/dist/components/rtk-leave-meeting.js +1 -1
  351. package/dist/components/rtk-livestream-indicator.js +1 -1
  352. package/dist/components/rtk-livestream-player.js +1 -1
  353. package/dist/components/rtk-livestream-toggle.js +1 -1
  354. package/dist/components/rtk-logo.js +1 -1
  355. package/dist/components/rtk-meeting-title.js +1 -1
  356. package/dist/components/rtk-meeting.js +1 -1
  357. package/dist/components/rtk-menu-item.js +1 -1
  358. package/dist/components/rtk-menu-list.js +1 -1
  359. package/dist/components/rtk-menu.js +1 -1
  360. package/dist/components/rtk-message-list-view.js +1 -1
  361. package/dist/components/rtk-message-view.js +1 -1
  362. package/dist/components/rtk-mic-toggle.js +1 -1
  363. package/dist/components/rtk-microphone-selector.js +1 -1
  364. package/dist/components/rtk-mixed-grid.js +1 -1
  365. package/dist/components/rtk-more-toggle.js +1 -1
  366. package/dist/components/rtk-mute-all-button.js +1 -1
  367. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  368. package/dist/components/rtk-name-tag.js +1 -1
  369. package/dist/components/rtk-network-indicator.js +1 -1
  370. package/dist/components/rtk-notification.js +1 -1
  371. package/dist/components/rtk-notifications.js +1 -1
  372. package/dist/components/rtk-overlay-modal.js +1 -1
  373. package/dist/components/rtk-paginated-list.js +1 -1
  374. package/dist/components/rtk-participant-count.js +1 -1
  375. package/dist/components/rtk-participant-setup.js +1 -1
  376. package/dist/components/rtk-participant-tile.js +1 -1
  377. package/dist/components/rtk-participant.js +1 -1
  378. package/dist/components/rtk-participants-audio.js +1 -1
  379. package/dist/components/rtk-participants-stage-list.js +1 -1
  380. package/dist/components/rtk-participants-stage-queue.js +1 -1
  381. package/dist/components/rtk-participants-toggle.js +1 -1
  382. package/dist/components/rtk-participants-viewer-list.js +1 -1
  383. package/dist/components/rtk-participants-waiting-list.js +1 -1
  384. package/dist/components/rtk-participants.js +1 -1
  385. package/dist/components/rtk-permissions-message.js +1 -1
  386. package/dist/components/rtk-pinned-message-selector.js +1 -1
  387. package/dist/components/rtk-pip-toggle.js +1 -1
  388. package/dist/components/rtk-plugin-main.js +1 -1
  389. package/dist/components/rtk-plugins-toggle.js +1 -1
  390. package/dist/components/rtk-plugins.js +1 -1
  391. package/dist/components/rtk-poll-form.js +1 -1
  392. package/dist/components/rtk-poll.js +1 -1
  393. package/dist/components/rtk-polls-toggle.js +1 -1
  394. package/dist/components/rtk-polls.js +1 -1
  395. package/dist/components/rtk-recording-indicator.js +1 -1
  396. package/dist/components/rtk-recording-toggle.js +1 -1
  397. package/dist/components/rtk-screen-share-toggle.js +1 -1
  398. package/dist/components/rtk-screenshare-view.js +1 -1
  399. package/dist/components/rtk-settings-audio.js +1 -1
  400. package/dist/components/rtk-settings-toggle.js +1 -1
  401. package/dist/components/rtk-settings-video.js +1 -1
  402. package/dist/components/rtk-settings.js +1 -1
  403. package/dist/components/rtk-setup-screen.js +1 -1
  404. package/dist/components/rtk-sidebar-ui.js +1 -1
  405. package/dist/components/rtk-sidebar.js +1 -1
  406. package/dist/components/rtk-simple-grid.js +1 -1
  407. package/dist/components/rtk-speaker-selector.js +1 -1
  408. package/dist/components/rtk-spinner.js +1 -1
  409. package/dist/components/rtk-spotlight-grid.js +1 -1
  410. package/dist/components/rtk-spotlight-indicator.js +1 -1
  411. package/dist/components/rtk-stage-toggle.js +1 -1
  412. package/dist/components/rtk-stage.js +1 -1
  413. package/dist/components/rtk-switch.js +1 -1
  414. package/dist/components/rtk-tab-bar.js +1 -1
  415. package/dist/components/rtk-text-composer-view.js +1 -1
  416. package/dist/components/rtk-text-message.js +1 -1
  417. package/dist/components/rtk-transcript.js +1 -1
  418. package/dist/components/rtk-transcripts.js +1 -1
  419. package/dist/components/rtk-ui-provider.js +1 -1
  420. package/dist/components/rtk-viewer-count.js +1 -1
  421. package/dist/components/rtk-waiting-screen.js +1 -1
  422. package/dist/docs/docs-components.json +734 -246
  423. package/dist/esm/{TextMessage-DRvjfMBy.js → TextMessage-C1lPu3R8.js} +1 -1
  424. package/dist/esm/{chat-Zou036qQ.js → chat-DRqOBXqN.js} +1 -1
  425. package/dist/esm/{config-BYcrCEso.js → config-BiYmSYD9.js} +2 -2
  426. package/dist/esm/{debounce-BYqYBLuN.js → debounce-BmgYF10w.js} +1 -1
  427. package/dist/esm/{index-7w76SzJW.js → index-BnFmFXDx.js} +1 -1
  428. package/dist/esm/index.js +6 -6
  429. package/dist/esm/loader.js +6 -4
  430. package/dist/esm/{merge-CiWMx7_3.js → merge-Bnx8tW3F.js} +1 -1
  431. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  432. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  433. package/dist/esm/rtk-ai_3.entry.js +2 -2
  434. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  435. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  436. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  437. package/dist/esm/rtk-avatar_26.entry.js +6 -6
  438. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  439. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +2 -2
  440. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  441. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  442. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  443. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  444. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  445. package/dist/esm/rtk-chat-message.entry.js +2 -2
  446. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  447. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  448. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  449. package/dist/esm/rtk-chat-toggle.entry.js +2 -2
  450. package/dist/esm/rtk-clock.entry.js +2 -2
  451. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  452. package/dist/esm/rtk-controlbar.entry.js +2 -2
  453. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  454. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  455. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  456. package/dist/esm/rtk-dialog.entry.js +2 -2
  457. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  458. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  459. package/dist/esm/rtk-file-message_3.entry.js +4 -4
  460. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  461. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  462. package/dist/esm/rtk-grid.entry.js +2 -2
  463. package/dist/esm/rtk-header.entry.js +2 -2
  464. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  465. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  466. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  467. package/dist/esm/rtk-leave-button.entry.js +2 -2
  468. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  469. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  470. package/dist/esm/rtk-logo.entry.js +2 -2
  471. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  472. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  473. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  474. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  475. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  476. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  477. package/dist/esm/rtk-name-tag.entry.js +2 -2
  478. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  479. package/dist/esm/rtk-notification.entry.js +4 -4
  480. package/dist/esm/rtk-notifications.entry.js +3 -3
  481. package/dist/esm/rtk-participant-count.entry.js +2 -2
  482. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  483. package/dist/esm/rtk-participant_2.entry.js +3 -3
  484. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  485. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  486. package/dist/esm/rtk-participants-toggle.entry.js +2 -2
  487. package/dist/esm/rtk-participants.entry.js +3 -3
  488. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  489. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  490. package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
  491. package/dist/esm/rtk-poll_2.entry.js +2 -2
  492. package/dist/esm/rtk-polls-toggle.entry.js +2 -2
  493. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  494. package/dist/esm/rtk-recording-toggle.entry.js +7 -6
  495. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  496. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  497. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  498. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  499. package/dist/esm/rtk-settings.entry.js +2 -2
  500. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  501. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  502. package/dist/esm/rtk-sidebar.entry.js +2 -2
  503. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  504. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  505. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  506. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  507. package/dist/esm/rtk-stage.entry.js +2 -2
  508. package/dist/esm/rtk-transcript.entry.js +2 -2
  509. package/dist/esm/rtk-transcripts.entry.js +2 -2
  510. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  511. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  512. package/dist/esm/{ui-store-BtrgoOOT.js → ui-store-CkvSNsmd.js} +1 -0
  513. package/dist/realtimekit-ui/index.esm.js +1 -1
  514. package/dist/realtimekit-ui/{p-768c3c20.entry.js → p-066359c2.entry.js} +1 -1
  515. package/dist/realtimekit-ui/{p-5bd05c88.entry.js → p-0872cae4.entry.js} +1 -1
  516. package/dist/realtimekit-ui/{p-2c5a9a4d.entry.js → p-0c1a8f1a.entry.js} +1 -1
  517. package/dist/realtimekit-ui/{p-2baa2443.entry.js → p-11a08757.entry.js} +1 -1
  518. package/dist/realtimekit-ui/{p-ddd3808d.entry.js → p-12fa2370.entry.js} +1 -1
  519. package/dist/realtimekit-ui/{p-e0837ae7.entry.js → p-14204827.entry.js} +1 -1
  520. package/dist/realtimekit-ui/{p-26ba0489.entry.js → p-1de6c388.entry.js} +1 -1
  521. package/dist/realtimekit-ui/{p-7d4e36b0.entry.js → p-1e4ffceb.entry.js} +1 -1
  522. package/dist/realtimekit-ui/{p-836455f1.entry.js → p-207aa239.entry.js} +1 -1
  523. package/dist/realtimekit-ui/{p-243e3c22.entry.js → p-2438cd32.entry.js} +1 -1
  524. package/dist/realtimekit-ui/{p-5c5ca185.entry.js → p-255290c6.entry.js} +1 -1
  525. package/dist/realtimekit-ui/{p-3f297e22.entry.js → p-260169b4.entry.js} +1 -1
  526. package/dist/realtimekit-ui/p-27dd7099.entry.js +1 -0
  527. package/dist/realtimekit-ui/{p-6092b383.entry.js → p-2bbc4dfc.entry.js} +1 -1
  528. package/dist/realtimekit-ui/{p-2bd8f726.entry.js → p-2d1b8896.entry.js} +1 -1
  529. package/dist/realtimekit-ui/{p-105e4115.entry.js → p-34e01092.entry.js} +1 -1
  530. package/dist/realtimekit-ui/{p-8dcf542b.entry.js → p-3e34195d.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-CqWk07gT.js → p-3h3Qc6lD.js} +1 -1
  532. package/dist/realtimekit-ui/{p-d39bd2e9.entry.js → p-458e87f0.entry.js} +1 -1
  533. package/dist/realtimekit-ui/{p-149c0b9c.entry.js → p-4d2fcc46.entry.js} +1 -1
  534. package/dist/realtimekit-ui/{p-bb7b542e.entry.js → p-538b2ecf.entry.js} +1 -1
  535. package/dist/realtimekit-ui/{p-49f22238.entry.js → p-56a5c456.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-c90deeae.entry.js → p-588dcb34.entry.js} +1 -1
  537. package/dist/realtimekit-ui/{p-d5ccf7d6.entry.js → p-5f9fdbf1.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-5a1918a1.entry.js → p-607f649e.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-e87aa0f9.entry.js → p-64224592.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-e8823daa.entry.js → p-6454c955.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-e2f9a4fc.entry.js → p-676d4a41.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-65c856c3.entry.js → p-691a610d.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-27dcaef7.entry.js → p-6fa0e07e.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-d75ea8a3.entry.js → p-71b0d221.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-49feda1f.entry.js → p-727fa3f2.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-25374ae7.entry.js → p-7b94fb4f.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-db957a5c.entry.js → p-7bf3de16.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-f101d6f9.entry.js → p-7e0daf2a.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-16fe4fca.entry.js → p-86b027f8.entry.js} +1 -1
  550. package/dist/realtimekit-ui/p-8b08fbc0.entry.js +1 -0
  551. package/dist/realtimekit-ui/p-8cb45932.entry.js +1 -0
  552. package/dist/realtimekit-ui/{p-69ddb3a9.entry.js → p-8f362ed0.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-3df3b56b.entry.js → p-8f4c582b.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-4f264d60.entry.js → p-9139643b.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-34ebceb7.entry.js → p-92f6959e.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-213b9942.entry.js → p-932c7070.entry.js} +1 -1
  557. package/dist/realtimekit-ui/p-94f25ba4.entry.js +1 -0
  558. package/dist/realtimekit-ui/p-98b33e56.entry.js +1 -0
  559. package/dist/realtimekit-ui/{p-b77aab62.entry.js → p-9e855d5f.entry.js} +1 -1
  560. package/dist/realtimekit-ui/p-BTwUl5G9.js +1 -0
  561. package/dist/realtimekit-ui/{p-Dg4b2aZr.js → p-BmaxriWP.js} +1 -1
  562. package/dist/realtimekit-ui/{p-DpAk_WQ6.js → p-CKXY5S4J.js} +1 -1
  563. package/dist/realtimekit-ui/{p-BSWYrdZA.js → p-Cm8ENd-O.js} +1 -1
  564. package/dist/realtimekit-ui/p-D9rFUUCb.js +1 -0
  565. package/dist/realtimekit-ui/{p-BCaKYPpD.js → p-Dy41dnX2.js} +1 -1
  566. package/dist/realtimekit-ui/{p-6bc7af7a.entry.js → p-a74a3bd7.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-a060fa07.entry.js → p-ad1157e0.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-17690ef8.entry.js → p-ae82b88b.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-9c5cf5a3.entry.js → p-af7bffbb.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-e5293ed6.entry.js → p-b04cc83e.entry.js} +1 -1
  571. package/dist/realtimekit-ui/p-b491565f.entry.js +1 -0
  572. package/dist/realtimekit-ui/{p-9810aada.entry.js → p-b7f7e42a.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-fcde019e.entry.js → p-b90a0bf4.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-560dcff9.entry.js → p-bbe8664e.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-f5688e34.entry.js → p-c2ea0c8a.entry.js} +1 -1
  576. package/dist/realtimekit-ui/p-c6be9e1f.entry.js +1 -0
  577. package/dist/realtimekit-ui/{p-ce4105e5.entry.js → p-c8f68298.entry.js} +1 -1
  578. package/dist/realtimekit-ui/{p-04237239.entry.js → p-cb9955f1.entry.js} +1 -1
  579. package/dist/realtimekit-ui/{p-0d5719ea.entry.js → p-cb9a3294.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-9cb3685c.entry.js → p-cf8e7495.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-fd29249a.entry.js → p-cffb7c0e.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-1ae8c9ea.entry.js → p-d089d2bb.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-117f34c2.entry.js → p-d10a73b2.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-73bd1b57.entry.js → p-d1c91dad.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-15d96f62.entry.js → p-d438c98e.entry.js} +1 -1
  586. package/dist/realtimekit-ui/{p-7ff08b19.entry.js → p-d79a49f3.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-070294a1.entry.js → p-d9061f53.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-b81bfd1b.entry.js → p-de1b894a.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-779bd93e.entry.js → p-df4122cb.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-9b93c273.entry.js → p-e010a673.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-f4c228c8.entry.js → p-e1542a67.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-9b089f06.entry.js → p-e3015917.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-e12de42e.entry.js → p-ecac916f.entry.js} +1 -1
  594. package/dist/realtimekit-ui/{p-405addc8.entry.js → p-ee470245.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-c0fb33e4.entry.js → p-eeb3d851.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-c25c6602.entry.js → p-f182042f.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-4c1b7ee2.entry.js → p-f2380597.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-fb973221.entry.js → p-f5a30d5b.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-650339c3.entry.js → p-f95e96b7.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-ae94a77b.entry.js → p-fc6bfa36.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-56261662.entry.js → p-ff436b41.entry.js} +1 -1
  602. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  603. package/dist/types/lib/lang/default-language.d.ts +1 -0
  604. package/package.json +3 -2
  605. package/dist/components/p-BEOq_QN5.js +0 -1
  606. package/dist/components/p-De8YQHVd.js +0 -1
  607. package/dist/realtimekit-ui/p-0fe1ced3.entry.js +0 -1
  608. package/dist/realtimekit-ui/p-1f114cc0.entry.js +0 -1
  609. package/dist/realtimekit-ui/p-2906e52d.entry.js +0 -1
  610. package/dist/realtimekit-ui/p-2f438543.entry.js +0 -1
  611. package/dist/realtimekit-ui/p-450803e1.entry.js +0 -1
  612. package/dist/realtimekit-ui/p-Bbls2zyp.js +0 -1
  613. package/dist/realtimekit-ui/p-a8b77530.entry.js +0 -1
  614. package/dist/realtimekit-ui/p-d0baf267.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as t,H as i,c as s,h as e,d as a,t as n}from"./p-BBHQOrFK.js";import{e as o,i as r}from"./p-De8YQHVd.js";import{c}from"./p-D9HGXWKc.js";import{S as h}from"./p-CphAED3J.js";import{d as l}from"./p-B4TnXODX.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-BoGbJ5PX.js";var u=function(t,i,s,e){var a,n=arguments.length,o=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(o=(n<3?a(o):n>3?a(i,s,o):a(i,s))||o);return n>3&&o&&Object.defineProperty(i,s,o),o};const v=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.unreadMessageCount=0,this.variant="button",this.iconPack=o,this.t=r(),this.chatActive=!1,this.canViewChat=!1,this.pageSize=11,this.onChatUpdate=({action:t,message:i})=>{var s;this.chatActive||"add"===t&&i.userId!==(null===(s=this.meeting)||void 0===s?void 0:s.self.userId)&&this.unreadMessageCount<=10&&(this.unreadMessageCount+=1)},this.toggleChat=()=>{const t=this.states;this.chatActive=!((null==t?void 0:t.activeSidebar)&&"chat"===(null==t?void 0:t.sidebar)),this.chatActive&&(this.unreadMessageCount=0),this.stateUpdate.emit({activeSidebar:this.chatActive,sidebar:this.chatActive?"chat":void 0,activeMoreMenu:!1})},this.updateCanView=()=>{this.canViewChat=c(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,n;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.chat)||void 0===i||i.removeListener("chatUpdate",this.onChatUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.updateCanView),null===(n=null===(a=this.meeting)||void 0===a?void 0:a.self)||void 0===n||n.permissions.removeListener("chatUpdate",this.updateCanView)}meetingChanged(t){var i,s,e;t&&(this.setUnreadMessageCount(),this.canViewChat=c(t),null===(i=t.chat)||void 0===i||i.addListener("chatUpdate",this.onChatUpdate),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView),null===(e=null==t?void 0:t.self)||void 0===e||e.permissions.on("chatUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.chatActive=!0===t.activeSidebar&&"chat"===t.sidebar)}async setUnreadMessageCount(){var t,i;const s=this.meeting.chat;if(!s)return;const e=null!==(i=null===(t=this.meeting.meta)||void 0===t?void 0:t.meetingStartedTimestamp.getTime())&&void 0!==i?i:0,a=await s.fetchPublicMessages({timestamp:e,limit:this.pageSize,direction:"after"});this.unreadMessageCount=a.length}handleChatActiveChange(){this.chatActive||this.states.activeSidebar||this.buttonEl.focus()}render(){return this.meeting?this.canViewChat?e(a,{title:this.t("chat")},0!==this.unreadMessageCount&&!this.chatActive&&e("div",{class:"unread-count",part:"unread-count"},e("span",null,this.unreadMessageCount<this.pageSize?this.unreadMessageCount:"10+")),e("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.chatActive},onClick:this.toggleChat,icon:this.iconPack.chat,label:this.t("chat"),variant:this.variant})):e(a,{"data-hidden":!0}):null}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],chatActive:[{handleChatActiveChange:0}]}}static get style(){return":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:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-4, 16px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}"}},[1,"rtk-chat-toggle",{variant:[513],meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],unreadMessageCount:[32],chatActive:[32],canViewChat:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],chatActive:[{handleChatActiveChange:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-chat-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-chat-toggle":customElements.get(n(t))||customElements.define(n(t),v);break;case"rtk-controlbar-button":customElements.get(n(t))||l();break;case"rtk-icon":customElements.get(n(t))||d();break;case"rtk-spinner":customElements.get(n(t))||p()}}))}u([h()],v.prototype,"meeting",void 0),u([h()],v.prototype,"states",void 0),u([h()],v.prototype,"iconPack",void 0),u([h()],v.prototype,"t",void 0),g();const m=v,b=g;export{m as RtkChatToggle,b as defineCustomElement}
1
+ import{p as t,H as i,c as s,h as e,d as a,t as n}from"./p-BBHQOrFK.js";import{e as r,i as o}from"./p-BthnOddY.js";import{c}from"./p-D9HGXWKc.js";import{S as h}from"./p-DL4GSZ2e.js";import{d as l}from"./p-DPxfGgCX.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-DXSMSSbW.js";var u=function(t,i,s,e){var a,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(r=(n<3?a(r):n>3?a(i,s,r):a(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const v=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.unreadMessageCount=0,this.variant="button",this.iconPack=r,this.t=o(),this.chatActive=!1,this.canViewChat=!1,this.pageSize=11,this.onChatUpdate=({action:t,message:i})=>{var s;this.chatActive||"add"===t&&i.userId!==(null===(s=this.meeting)||void 0===s?void 0:s.self.userId)&&this.unreadMessageCount<=10&&(this.unreadMessageCount+=1)},this.toggleChat=()=>{const t=this.states;this.chatActive=!((null==t?void 0:t.activeSidebar)&&"chat"===(null==t?void 0:t.sidebar)),this.chatActive&&(this.unreadMessageCount=0),this.stateUpdate.emit({activeSidebar:this.chatActive,sidebar:this.chatActive?"chat":void 0,activeMoreMenu:!1})},this.updateCanView=()=>{this.canViewChat=c(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,n;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.chat)||void 0===i||i.removeListener("chatUpdate",this.onChatUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.updateCanView),null===(n=null===(a=this.meeting)||void 0===a?void 0:a.self)||void 0===n||n.permissions.removeListener("chatUpdate",this.updateCanView)}meetingChanged(t){var i,s,e;t&&(this.setUnreadMessageCount(),this.canViewChat=c(t),null===(i=t.chat)||void 0===i||i.addListener("chatUpdate",this.onChatUpdate),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView),null===(e=null==t?void 0:t.self)||void 0===e||e.permissions.on("chatUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.chatActive=!0===t.activeSidebar&&"chat"===t.sidebar)}async setUnreadMessageCount(){var t,i;const s=this.meeting.chat;if(!s)return;const e=null!==(i=null===(t=this.meeting.meta)||void 0===t?void 0:t.meetingStartedTimestamp.getTime())&&void 0!==i?i:0,a=await s.fetchPublicMessages({timestamp:e,limit:this.pageSize,direction:"after"});this.unreadMessageCount=a.length}handleChatActiveChange(){this.chatActive||this.states.activeSidebar||this.buttonEl.focus()}render(){return this.meeting?this.canViewChat?e(a,{title:this.t("chat")},0!==this.unreadMessageCount&&!this.chatActive&&e("div",{class:"unread-count",part:"unread-count"},e("span",null,this.unreadMessageCount<this.pageSize?this.unreadMessageCount:"10+")),e("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.chatActive},onClick:this.toggleChat,icon:this.iconPack.chat,label:this.t("chat"),variant:this.variant})):e(a,{"data-hidden":!0}):null}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],chatActive:[{handleChatActiveChange:0}]}}static get style(){return":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:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-4, 16px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}"}},[1,"rtk-chat-toggle",{variant:[513],meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],unreadMessageCount:[32],chatActive:[32],canViewChat:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],chatActive:[{handleChatActiveChange:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-chat-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-chat-toggle":customElements.get(n(t))||customElements.define(n(t),v);break;case"rtk-controlbar-button":customElements.get(n(t))||l();break;case"rtk-icon":customElements.get(n(t))||d();break;case"rtk-spinner":customElements.get(n(t))||p()}}))}u([h()],v.prototype,"meeting",void 0),u([h()],v.prototype,"states",void 0),u([h()],v.prototype,"iconPack",void 0),u([h()],v.prototype,"t",void 0),g();const m=v,b=g;export{m as RtkChatToggle,b as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as r}from"./p-DmVA5ArE.js";const s=o,m=r;export{s as RtkChat,m as defineCustomElement}
1
+ import{R as o,d as s}from"./p-C-ZKbHGI.js";const p=o,r=s;export{p as RtkChat,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,d as n,t as s}from"./p-BBHQOrFK.js";import{e as a}from"./p-De8YQHVd.js";import{S as r}from"./p-CphAED3J.js";import{d as o}from"./p-BYIBbfJ8.js";var c=function(t,e,i,n){var s,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(a<3?s(r):a>3?s(e,i,r):s(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const d=t=>(""+Math.trunc(t)).padStart(2,"0"),l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,n;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(n=t.meta)||void 0===n||n.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=d(t/3600)+":"),e+=`${d(t%3600/60)}:${d(t%60)}`,e}render(){return i(n,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[i("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),i("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}}static get style(){return":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:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}"}},[1,"rtk-clock",{meeting:[16],iconPack:[16],size:[513],startedTime:[32],timeDiff:[32]},void 0,{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}]);function h(){"undefined"!=typeof customElements&&["rtk-clock","rtk-icon"].forEach((t=>{switch(t){case"rtk-clock":customElements.get(s(t))||customElements.define(s(t),l);break;case"rtk-icon":customElements.get(s(t))||o()}}))}c([r()],l.prototype,"meeting",void 0),c([r()],l.prototype,"iconPack",void 0),h();const m=l,f=h;export{m as RtkClock,f as defineCustomElement}
1
+ import{p as t,H as e,h as i,d as n,t as s}from"./p-BBHQOrFK.js";import{e as a}from"./p-BthnOddY.js";import{S as r}from"./p-DL4GSZ2e.js";import{d as o}from"./p-BYIBbfJ8.js";var c=function(t,e,i,n){var s,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(a<3?s(r):a>3?s(e,i,r):s(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const d=t=>(""+Math.trunc(t)).padStart(2,"0"),l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,n;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(n=t.meta)||void 0===n||n.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=d(t/3600)+":"),e+=`${d(t%3600/60)}:${d(t%60)}`,e}render(){return i(n,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[i("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),i("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}}static get style(){return":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:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}"}},[1,"rtk-clock",{meeting:[16],iconPack:[16],size:[513],startedTime:[32],timeDiff:[32]},void 0,{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}]);function h(){"undefined"!=typeof customElements&&["rtk-clock","rtk-icon"].forEach((t=>{switch(t){case"rtk-clock":customElements.get(s(t))||customElements.define(s(t),l);break;case"rtk-icon":customElements.get(s(t))||o()}}))}c([r()],l.prototype,"meeting",void 0),c([r()],l.prototype,"iconPack",void 0),h();const m=l,f=h;export{m as RtkClock,f as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-DNkzP2hS.js";const p=o,r=s;export{p as RtkConfirmationModal,r as defineCustomElement}
1
+ import{R as o,d as p}from"./p-D__Gipxn.js";const s=o,r=p;export{s as RtkConfirmationModal,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-B4TnXODX.js";const p=o,r=s;export{p as RtkControlbarButton,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-DPxfGgCX.js";const p=o,r=s;export{p as RtkControlbarButton,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,d as a,t as r}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as s,e as o,i as n}from"./p-De8YQHVd.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{R as c}from"./p-CBJjerDR.js";import{S as p}from"./p-CphAED3J.js";var f=function(t,e,i,a){var r,s=arguments.length,o=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(e,i,o):r(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="solid",this.disableRender=!1,this.config=s(),this.iconPack=o,this.t=n()}render(){return i(a,{key:"68af3001ce88b084a7f11db7bbd201cad5bf477f"},!this.disableRender&&i(c,{key:"0f9084065a6ffb76744d97c78b81cb62022fe6af",element:"rtk-controlbar",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),i("slot",{key:"fb6acf7e94afc107c0ce8dc721c568020f5fd35c"}))}static get style(){return":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{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}"}},[257,"rtk-controlbar",{variant:[513],disableRender:[4,"disable-render"],meeting:[16],config:[16],states:[16],iconPack:[16],t:[16],size:[513]}]);function l(){"undefined"!=typeof customElements&&["rtk-controlbar"].forEach((t=>{"rtk-controlbar"===t&&(customElements.get(r(t))||customElements.define(r(t),d))}))}f([p()],d.prototype,"meeting",void 0),f([p()],d.prototype,"config",void 0),f([p()],d.prototype,"states",void 0),f([p()],d.prototype,"iconPack",void 0),f([p()],d.prototype,"t",void 0),l();const m=d,b=l;export{m as RtkControlbar,b as defineCustomElement}
1
+ import{p as t,H as e,h as i,d as a,t as r}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as s,e as o,i as n}from"./p-BthnOddY.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{R as c}from"./p-CBJjerDR.js";import{S as p}from"./p-DL4GSZ2e.js";var f=function(t,e,i,a){var r,s=arguments.length,o=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(e,i,o):r(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="solid",this.disableRender=!1,this.config=s(),this.iconPack=o,this.t=n()}render(){return i(a,{key:"68af3001ce88b084a7f11db7bbd201cad5bf477f"},!this.disableRender&&i(c,{key:"0f9084065a6ffb76744d97c78b81cb62022fe6af",element:"rtk-controlbar",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),i("slot",{key:"fb6acf7e94afc107c0ce8dc721c568020f5fd35c"}))}static get style(){return":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{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}"}},[257,"rtk-controlbar",{variant:[513],disableRender:[4,"disable-render"],meeting:[16],config:[16],states:[16],iconPack:[16],t:[16],size:[513]}]);function l(){"undefined"!=typeof customElements&&["rtk-controlbar"].forEach((t=>{"rtk-controlbar"===t&&(customElements.get(r(t))||customElements.define(r(t),d))}))}f([p()],d.prototype,"meeting",void 0),f([p()],d.prototype,"config",void 0),f([p()],d.prototype,"states",void 0),f([p()],d.prototype,"iconPack",void 0),f([p()],d.prototype,"t",void 0),l();const m=d,b=l;export{m as RtkControlbar,b as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-DnQYtb0h.js";const t=o,p=s;export{t as RtkCounter,p as defineCustomElement}
1
+ import{R as o,d as s}from"./p-RjS7wlRV.js";const p=o,r=s;export{p as RtkCounter,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-wemYeTS7.js";const e=o,m=s;export{e as RtkDebuggerAudio,m as defineCustomElement}
1
+ import{R as o,d as s}from"./p-BoeW-RxV.js";const p=o,r=s;export{p as RtkDebuggerAudio,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-B9MPybze.js";const p=o,r=s;export{p as RtkDebuggerScreenshare,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-yIxFaBq2.js";const a=o,p=s;export{a as RtkDebuggerScreenshare,p as defineCustomElement}
@@ -1 +1 @@
1
- import{R as s,d as o}from"./p-s-jAl7lc.js";const p=s,r=o;export{p as RtkDebuggerSystem,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-DX_XkIXf.js";const p=o,r=s;export{p as RtkDebuggerSystem,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,c as s,h as o,d as r,t as i}from"./p-BBHQOrFK.js";import{i as n,e as a}from"./p-De8YQHVd.js";import{S as c}from"./p-CphAED3J.js";import{d as l}from"./p-B4TnXODX.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as m}from"./p-BoGbJ5PX.js";var u=function(t,e,s,o){var r,i=arguments.length,n=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(i<3?r(n):i>3?r(e,s,n):r(e,s))||n);return i>3&&n&&Object.defineProperty(e,s,n),n};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.t=n(),this.iconPack=a}toggleDebugger(){var t;this.stateUpdate.emit({activeDebugger:!(null===(t=this.states)||void 0===t?void 0:t.activeDebugger),activeMoreMenu:!1})}render(){return o(r,{key:"33f74fc915ee6fe35432cda13c27812bc505e516",title:this.t("Troubleshooting")},o("rtk-controlbar-button",{key:"24981c8bbaaa255dd0c7f77d9ef13eee0c9939a7",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleDebugger(),icon:this.iconPack.debug,label:this.t("Troubleshooting"),variant:this.variant}))}static get style(){return":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}"}},[1,"rtk-debugger-toggle",{variant:[513],meeting:[16],states:[16],t:[16],iconPack:[16],size:[513]}]);function g(){"undefined"!=typeof customElements&&["rtk-debugger-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-debugger-toggle":customElements.get(i(t))||customElements.define(i(t),p);break;case"rtk-controlbar-button":customElements.get(i(t))||l();break;case"rtk-icon":customElements.get(i(t))||f();break;case"rtk-spinner":customElements.get(i(t))||m()}}))}u([c()],p.prototype,"meeting",void 0),u([c()],p.prototype,"states",void 0),u([c()],p.prototype,"t",void 0),u([c()],p.prototype,"iconPack",void 0),g();const b=p,d=g;export{b as RtkDebuggerToggle,d as defineCustomElement}
1
+ import{p as t,H as e,c as s,h as o,d as r,t as i}from"./p-BBHQOrFK.js";import{i as n,e as a}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as l}from"./p-DPxfGgCX.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as m}from"./p-DXSMSSbW.js";var u=function(t,e,s,o){var r,i=arguments.length,n=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(i<3?r(n):i>3?r(e,s,n):r(e,s))||n);return i>3&&n&&Object.defineProperty(e,s,n),n};const g=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.t=n(),this.iconPack=a}toggleDebugger(){var t;this.stateUpdate.emit({activeDebugger:!(null===(t=this.states)||void 0===t?void 0:t.activeDebugger),activeMoreMenu:!1})}render(){return o(r,{key:"33f74fc915ee6fe35432cda13c27812bc505e516",title:this.t("Troubleshooting")},o("rtk-controlbar-button",{key:"24981c8bbaaa255dd0c7f77d9ef13eee0c9939a7",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleDebugger(),icon:this.iconPack.debug,label:this.t("Troubleshooting"),variant:this.variant}))}static get style(){return":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}"}},[1,"rtk-debugger-toggle",{variant:[513],meeting:[16],states:[16],t:[16],iconPack:[16],size:[513]}]);function p(){"undefined"!=typeof customElements&&["rtk-debugger-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-debugger-toggle":customElements.get(i(t))||customElements.define(i(t),g);break;case"rtk-controlbar-button":customElements.get(i(t))||l();break;case"rtk-icon":customElements.get(i(t))||f();break;case"rtk-spinner":customElements.get(i(t))||m()}}))}u([c()],g.prototype,"meeting",void 0),u([c()],g.prototype,"states",void 0),u([c()],g.prototype,"t",void 0),u([c()],g.prototype,"iconPack",void 0),p();const b=g,d=p;export{b as RtkDebuggerToggle,d as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-BA_UY9k8.js";const p=o,r=s;export{p as RtkDebuggerVideo,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-48gPeJ33.js";const p=o,r=s;export{p as RtkDebuggerVideo,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-B-k80wnP.js";const p=o,r=s;export{p as RtkDebugger,r as defineCustomElement}
1
+ import{R as o,d as r}from"./p-xmJ8IJTr.js";const s=o,m=r;export{s as RtkDebugger,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,c as s,h as o,d as i,t as a}from"./p-BBHQOrFK.js";import{c as r,e as n,i as l}from"./p-De8YQHVd.js";import{S as m}from"./p-CphAED3J.js";import{R as c}from"./p-CBJjerDR.js";import{d as k}from"./p-DEOaS443.js";import{d}from"./p-Cmu_4ZYL.js";import{d as u}from"./p-DY8ll5IU.js";import{d as g}from"./p-uOh9MOi7.js";import{d as p}from"./p-COEreDeR.js";import{d as h}from"./p-D6vw6bT2.js";import{d as f}from"./p-DNkzP2hS.js";import{d as v}from"./p-DnQYtb0h.js";import{d as b}from"./p-B-k80wnP.js";import{d as j}from"./p-wemYeTS7.js";import{d as E}from"./p-B9MPybze.js";import{d as C}from"./p-s-jAl7lc.js";import{d as D}from"./p-BA_UY9k8.js";import{d as R}from"./p-C4IJ0f9O.js";import{d as O}from"./p-BYIBbfJ8.js";import{d as P}from"./p-C-OVY3ug.js";import{d as y}from"./p-Cj44pA_c.js";import{d as S}from"./p-Bf4LuZWa.js";import{d as B}from"./p-KpmupjxR.js";import{d as _}from"./p-D1zAGrQ9.js";import{d as A}from"./p-BoGbJ5PX.js";import{d as J}from"./p-DHSRRtn3.js";var w=function(t,e,s,o){var i,a=arguments.length,r=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,o);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(r=(a<3?i(r):a>3?i(e,s,r):i(e,s))||r);return a>3&&r&&Object.defineProperty(e,s,r),r};const Y=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.config=r(),this.iconPack=n,this.t=l(),this.updateStoreState=(t,e)=>{this.stateUpdate.emit({[t]:e})},this.cancelJoinStage=async()=>{var t,e,s;"ACCEPTED_TO_JOIN_STAGE"===(null===(t=this.meeting.stage)||void 0===t?void 0:t.status)&&await(null===(s=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===s?void 0:s.leave()),this.updateStoreState("activeJoinStage",!1)},this.joinStage=async()=>{await this.meeting.stage.join()},this.stageStatusUpdateListener=t=>{var e;(null===(e=this.states)||void 0===e?void 0:e.activeJoinStage)&&"ON_STAGE"===t&&this.updateStoreState("activeJoinStage",!1)}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting.stage)||void 0===t||t.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)}meetingChanged(t){if(!t)return;const{stage:e}=t;null==e||e.addListener("stageStatusUpdate",this.stageStatusUpdateListener)}render(){var t,e,s,a;if(!this.meeting)return;const r={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t},n=this.states;if(null!=(null==n?void 0:n.image)){const t=()=>{this.stateUpdate.emit({image:null})};return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:t,hideCloseButton:!0,iconPack:this.iconPack,t:this.t},o(c,{element:"rtk-image-viewer",defaults:r,props:{image:n.image,onClose:t}})))}if(!0===(null==n?void 0:n.activeSettings))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeSettings",!1),iconPack:this.iconPack,t:this.t},o(c,{element:"rtk-settings",defaults:r})));if(!0===(null==n?void 0:n.activeDebugger))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeDebugger",!1),iconPack:this.iconPack,t:this.t},o("rtk-debugger",Object.assign({},r))));if(!0===(null==n?void 0:n.activeLeaveConfirmation))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeLeaveConfirmation",!1),iconPack:this.iconPack,t:this.t},o("rtk-leave-meeting",Object.assign({},r))));if(!0===(null===(t=null==n?void 0:n.activePermissionsMessage)||void 0===t?void 0:t.enabled))return o(i,null,o("rtk-dialog",{open:!0,hideCloseButton:!0,iconPack:this.iconPack,t:this.t},o("rtk-permissions-message",Object.assign({},r))));if(!0===(null===(e=null==n?void 0:n.activeBreakoutRoomsManager)||void 0===e?void 0:e.active))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeBreakoutRoomsManager",{active:!1,data:void 0}),iconPack:this.iconPack,t:this.t},o("rtk-breakout-rooms-manager",Object.assign({},r))));if(!0===(null===(s=null==n?void 0:n.activeConfirmationModal)||void 0===s?void 0:s.active))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeConfirmationModal",!1),iconPack:this.iconPack,t:this.t},o("rtk-confirmation-modal",Object.assign({},r))));if(!0===(null===(a=null==n?void 0:n.activeOverlayModal)||void 0===a?void 0:a.active))return o(i,null,o("rtk-overlay-modal",{meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t}));if(null==n?void 0:n.activeBroadcastMessageModal)return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeBroadcastMessageModal",!1),iconPack:this.iconPack,t:this.t},o("rtk-broadcast-message-modal",Object.assign({},r))));if(!0===(null==n?void 0:n.activeJoinStage)){const t={title:this.t("stage.join_title"),label:{accept:this.t("stage.join_confirm"),reject:this.t("stage.join_cancel")},description:this.t("stage.join_summary")};return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:this.cancelJoinStage,iconPack:this.iconPack,t:this.t},o("rtk-join-stage",Object.assign({dataConfig:t,onRtkJoinStage:this.joinStage,onRtkLeaveStage:this.cancelJoinStage},r))))}return!0===(null==n?void 0:n.activeMuteAllConfirmation)?o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>{this.updateStoreState("activeMuteAllConfirmation",!1)},iconPack:this.iconPack,t:this.t},o("rtk-mute-all-confirmation",Object.assign({},r)))):void 0}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}"}},[1,"rtk-dialog-manager",{meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16]},void 0,{meeting:[{meetingChanged:0}]}]);function M(){"undefined"!=typeof customElements&&["rtk-dialog-manager","rtk-avatar","rtk-breakout-room-manager","rtk-breakout-room-participants","rtk-breakout-rooms-manager","rtk-broadcast-message-modal","rtk-button","rtk-confirmation-modal","rtk-counter","rtk-debugger","rtk-debugger-audio","rtk-debugger-screenshare","rtk-debugger-system","rtk-debugger-video","rtk-dialog","rtk-icon","rtk-join-stage","rtk-leave-meeting","rtk-mute-all-confirmation","rtk-overlay-modal","rtk-permissions-message","rtk-spinner","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-dialog-manager":customElements.get(a(t))||customElements.define(a(t),Y);break;case"rtk-avatar":customElements.get(a(t))||k();break;case"rtk-breakout-room-manager":customElements.get(a(t))||d();break;case"rtk-breakout-room-participants":customElements.get(a(t))||u();break;case"rtk-breakout-rooms-manager":customElements.get(a(t))||g();break;case"rtk-broadcast-message-modal":customElements.get(a(t))||p();break;case"rtk-button":customElements.get(a(t))||h();break;case"rtk-confirmation-modal":customElements.get(a(t))||f();break;case"rtk-counter":customElements.get(a(t))||v();break;case"rtk-debugger":customElements.get(a(t))||b();break;case"rtk-debugger-audio":customElements.get(a(t))||j();break;case"rtk-debugger-screenshare":customElements.get(a(t))||E();break;case"rtk-debugger-system":customElements.get(a(t))||C();break;case"rtk-debugger-video":customElements.get(a(t))||D();break;case"rtk-dialog":customElements.get(a(t))||R();break;case"rtk-icon":customElements.get(a(t))||O();break;case"rtk-join-stage":customElements.get(a(t))||P();break;case"rtk-leave-meeting":customElements.get(a(t))||y();break;case"rtk-mute-all-confirmation":customElements.get(a(t))||S();break;case"rtk-overlay-modal":customElements.get(a(t))||B();break;case"rtk-permissions-message":customElements.get(a(t))||_();break;case"rtk-spinner":customElements.get(a(t))||A();break;case"rtk-tooltip":customElements.get(a(t))||J()}}))}w([m()],Y.prototype,"meeting",void 0),w([m()],Y.prototype,"config",void 0),w([m()],Y.prototype,"states",void 0),w([m()],Y.prototype,"iconPack",void 0),w([m()],Y.prototype,"t",void 0),M();const T=Y,x=M;export{T as RtkDialogManager,x as defineCustomElement}
1
+ import{p as t,H as e,c as s,h as o,d as i,t as a}from"./p-BBHQOrFK.js";import{c as r,e as n,i as l}from"./p-BthnOddY.js";import{S as m}from"./p-DL4GSZ2e.js";import{R as c}from"./p-CBJjerDR.js";import{d as k}from"./p-BNRJKXAG.js";import{d}from"./p-jyZncre7.js";import{d as u}from"./p-nkadiHul.js";import{d as g}from"./p-vBjvMv_5.js";import{d as p}from"./p-BUosYxgI.js";import{d as h}from"./p-D6vw6bT2.js";import{d as f}from"./p-D__Gipxn.js";import{d as v}from"./p-RjS7wlRV.js";import{d as b}from"./p-xmJ8IJTr.js";import{d as j}from"./p-BoeW-RxV.js";import{d as C}from"./p-yIxFaBq2.js";import{d as E}from"./p-DX_XkIXf.js";import{d as R}from"./p-48gPeJ33.js";import{d as B}from"./p-BIdrWJJD.js";import{d as D}from"./p-BYIBbfJ8.js";import{d as y}from"./p-B17zaVfB.js";import{d as S}from"./p-Cz9_MmLt.js";import{d as P}from"./p-Cj0CCucK.js";import{d as O}from"./p-BQkUbUdr.js";import{d as J}from"./p-CIfkVpTJ.js";import{d as _}from"./p-DXSMSSbW.js";import{d as x}from"./p-DHSRRtn3.js";var I=function(t,e,s,o){var i,a=arguments.length,r=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,o);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(r=(a<3?i(r):a>3?i(e,s,r):i(e,s))||r);return a>3&&r&&Object.defineProperty(e,s,r),r};const M=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.config=r(),this.iconPack=n,this.t=l(),this.updateStoreState=(t,e)=>{this.stateUpdate.emit({[t]:e})},this.cancelJoinStage=async()=>{var t,e,s;"ACCEPTED_TO_JOIN_STAGE"===(null===(t=this.meeting.stage)||void 0===t?void 0:t.status)&&await(null===(s=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===s?void 0:s.leave()),this.updateStoreState("activeJoinStage",!1)},this.joinStage=async()=>{await this.meeting.stage.join()},this.stageStatusUpdateListener=t=>{var e;(null===(e=this.states)||void 0===e?void 0:e.activeJoinStage)&&"ON_STAGE"===t&&this.updateStoreState("activeJoinStage",!1)}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting.stage)||void 0===t||t.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)}meetingChanged(t){if(!t)return;const{stage:e}=t;null==e||e.addListener("stageStatusUpdate",this.stageStatusUpdateListener)}render(){var t,e,s,a;if(!this.meeting)return;const r={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t},n=this.states;if(null!=(null==n?void 0:n.image)){const t=()=>{this.stateUpdate.emit({image:null})};return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:t,hideCloseButton:!0,iconPack:this.iconPack,t:this.t},o(c,{element:"rtk-image-viewer",defaults:r,props:{image:n.image,onClose:t}})))}if(!0===(null==n?void 0:n.activeSettings))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeSettings",!1),iconPack:this.iconPack,t:this.t},o(c,{element:"rtk-settings",defaults:r})));if(!0===(null==n?void 0:n.activeDebugger))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeDebugger",!1),iconPack:this.iconPack,t:this.t},o("rtk-debugger",Object.assign({},r))));if(!0===(null==n?void 0:n.activeLeaveConfirmation))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeLeaveConfirmation",!1),iconPack:this.iconPack,t:this.t},o("rtk-leave-meeting",Object.assign({},r))));if(!0===(null===(t=null==n?void 0:n.activePermissionsMessage)||void 0===t?void 0:t.enabled))return o(i,null,o("rtk-dialog",{open:!0,hideCloseButton:!0,iconPack:this.iconPack,t:this.t},o("rtk-permissions-message",Object.assign({},r))));if(!0===(null===(e=null==n?void 0:n.activeBreakoutRoomsManager)||void 0===e?void 0:e.active))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeBreakoutRoomsManager",{active:!1,data:void 0}),iconPack:this.iconPack,t:this.t},o("rtk-breakout-rooms-manager",Object.assign({},r))));if(!0===(null===(s=null==n?void 0:n.activeConfirmationModal)||void 0===s?void 0:s.active))return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeConfirmationModal",!1),iconPack:this.iconPack,t:this.t},o("rtk-confirmation-modal",Object.assign({},r))));if(!0===(null===(a=null==n?void 0:n.activeOverlayModal)||void 0===a?void 0:a.active))return o(i,null,o("rtk-overlay-modal",{meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t}));if(null==n?void 0:n.activeBroadcastMessageModal)return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeBroadcastMessageModal",!1),iconPack:this.iconPack,t:this.t},o("rtk-broadcast-message-modal",Object.assign({},r))));if(!0===(null==n?void 0:n.activeJoinStage)){const t={title:this.t("stage.join_title"),label:{accept:this.t("stage.join_confirm"),reject:this.t("stage.join_cancel")},description:this.t("stage.join_summary")};return o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:this.cancelJoinStage,iconPack:this.iconPack,t:this.t},o("rtk-join-stage",Object.assign({dataConfig:t,onRtkJoinStage:this.joinStage,onRtkLeaveStage:this.cancelJoinStage},r))))}return!0===(null==n?void 0:n.activeMuteAllConfirmation)?o(i,null,o("rtk-dialog",{open:!0,onRtkDialogClose:()=>{this.updateStoreState("activeMuteAllConfirmation",!1)},iconPack:this.iconPack,t:this.t},o("rtk-mute-all-confirmation",Object.assign({},r)))):void 0}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}"}},[1,"rtk-dialog-manager",{meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16]},void 0,{meeting:[{meetingChanged:0}]}]);function w(){"undefined"!=typeof customElements&&["rtk-dialog-manager","rtk-avatar","rtk-breakout-room-manager","rtk-breakout-room-participants","rtk-breakout-rooms-manager","rtk-broadcast-message-modal","rtk-button","rtk-confirmation-modal","rtk-counter","rtk-debugger","rtk-debugger-audio","rtk-debugger-screenshare","rtk-debugger-system","rtk-debugger-video","rtk-dialog","rtk-icon","rtk-join-stage","rtk-leave-meeting","rtk-mute-all-confirmation","rtk-overlay-modal","rtk-permissions-message","rtk-spinner","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-dialog-manager":customElements.get(a(t))||customElements.define(a(t),M);break;case"rtk-avatar":customElements.get(a(t))||k();break;case"rtk-breakout-room-manager":customElements.get(a(t))||d();break;case"rtk-breakout-room-participants":customElements.get(a(t))||u();break;case"rtk-breakout-rooms-manager":customElements.get(a(t))||g();break;case"rtk-broadcast-message-modal":customElements.get(a(t))||p();break;case"rtk-button":customElements.get(a(t))||h();break;case"rtk-confirmation-modal":customElements.get(a(t))||f();break;case"rtk-counter":customElements.get(a(t))||v();break;case"rtk-debugger":customElements.get(a(t))||b();break;case"rtk-debugger-audio":customElements.get(a(t))||j();break;case"rtk-debugger-screenshare":customElements.get(a(t))||C();break;case"rtk-debugger-system":customElements.get(a(t))||E();break;case"rtk-debugger-video":customElements.get(a(t))||R();break;case"rtk-dialog":customElements.get(a(t))||B();break;case"rtk-icon":customElements.get(a(t))||D();break;case"rtk-join-stage":customElements.get(a(t))||y();break;case"rtk-leave-meeting":customElements.get(a(t))||S();break;case"rtk-mute-all-confirmation":customElements.get(a(t))||P();break;case"rtk-overlay-modal":customElements.get(a(t))||O();break;case"rtk-permissions-message":customElements.get(a(t))||J();break;case"rtk-spinner":customElements.get(a(t))||_();break;case"rtk-tooltip":customElements.get(a(t))||x()}}))}I([m()],M.prototype,"meeting",void 0),I([m()],M.prototype,"config",void 0),I([m()],M.prototype,"states",void 0),I([m()],M.prototype,"iconPack",void 0),I([m()],M.prototype,"t",void 0),w();const T=M,U=w;export{T as RtkDialogManager,U as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-C4IJ0f9O.js";const p=o,r=s;export{p as RtkDialog,r as defineCustomElement}
1
+ import{R as o,d as r}from"./p-BIdrWJJD.js";const s=o,p=r;export{s as RtkDialog,p as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-C0H4DNJM.js";const p=o,r=s;export{p as RtkDraftAttachmentView,r as defineCustomElement}
1
+ import{R as s,d as o}from"./p-BssX9KwA.js";const p=s,r=o;export{p as RtkDraftAttachmentView,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-C3Z3GLQh.js";const p=o,r=s;export{p as RtkEmojiPickerButton,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-CEjlztlu.js";const t=o,p=s;export{t as RtkEmojiPickerButton,p as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-BJKSFJeB.js";const p=o,r=s;export{p as RtkEmojiPicker,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-ebQT96VB.js";const p=o,r=s;export{p as RtkEmojiPicker,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{c as o,e as i,i as n}from"./p-De8YQHVd.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-CphAED3J.js";import{d as p}from"./p-BYIBbfJ8.js";import{d}from"./p-DfWuSKCq.js";var l=function(t,e,r,s){var a,o=arguments.length,i=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(o<3?a(i):o>3?a(e,r,i):a(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i};const m=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=o(),this.icon=i,this.t=n(),this.iconPack=i,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return r(s,null,r("div",{class:"ctr",part:"container"},r("rtk-icon",{icon:this.iconPack.breakout_rooms}),r("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){if(!this.meeting)return null;const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():r(s,null,r("div",{class:"ctr",part:"container"},r("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),r("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&r("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:[{statesChanged:0}]}}static get style(){return":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%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}"}},[1,"rtk-ended-screen",{config:[16],size:[513],states:[16],t:[16],iconPack:[16],meeting:[16],icon:[32],message:[32]},void 0,{states:[{statesChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-ended-screen","rtk-icon","rtk-logo"].forEach((t=>{switch(t){case"rtk-ended-screen":customElements.get(a(t))||customElements.define(a(t),m);break;case"rtk-icon":customElements.get(a(t))||p();break;case"rtk-logo":customElements.get(a(t))||d()}}))}l([c()],m.prototype,"config",void 0),l([c()],m.prototype,"states",void 0),l([c()],m.prototype,"t",void 0),l([c()],m.prototype,"iconPack",void 0),l([c()],m.prototype,"meeting",void 0),g();const k=m,u=g;export{k as RtkEndedScreen,u as defineCustomElement}
1
+ import{p as t,H as e,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{c as o,e as i,i as n}from"./p-BthnOddY.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as p}from"./p-BYIBbfJ8.js";import{d}from"./p-CNv9-uKL.js";var l=function(t,e,r,s){var a,o=arguments.length,i=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(o<3?a(i):o>3?a(e,r,i):a(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i};const m=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=o(),this.icon=i,this.t=n(),this.iconPack=i,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return r(s,null,r("div",{class:"ctr",part:"container"},r("rtk-icon",{icon:this.iconPack.breakout_rooms}),r("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){if(!this.meeting)return null;const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():r(s,null,r("div",{class:"ctr",part:"container"},r("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),r("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&r("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:[{statesChanged:0}]}}static get style(){return":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%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}"}},[1,"rtk-ended-screen",{config:[16],size:[513],states:[16],t:[16],iconPack:[16],meeting:[16],icon:[32],message:[32]},void 0,{states:[{statesChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-ended-screen","rtk-icon","rtk-logo"].forEach((t=>{switch(t){case"rtk-ended-screen":customElements.get(a(t))||customElements.define(a(t),m);break;case"rtk-icon":customElements.get(a(t))||p();break;case"rtk-logo":customElements.get(a(t))||d()}}))}l([c()],m.prototype,"config",void 0),l([c()],m.prototype,"states",void 0),l([c()],m.prototype,"t",void 0),l([c()],m.prototype,"iconPack",void 0),l([c()],m.prototype,"meeting",void 0),g();const k=m,u=g;export{k as RtkEndedScreen,u as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,c as o,h as r,d as c,t as s}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as i,i as a}from"./p-De8YQHVd.js";import"./p-Dguuxuf6.js";import{S as n}from"./p-CphAED3J.js";import{d as p}from"./p-BYIBbfJ8.js";var d=function(t,e,o,r){var c,s=arguments.length,i=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(c=t[a])&&(i=(s<3?c(i):s>3?c(e,o,i):c(e,o))||i);return s>3&&i&&Object.defineProperty(e,o,i),i};const f=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onDropCallback=o(this,"dropCallback",7),this.iconPack=i,this.t=a(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return r(c,{key:"31d5ca1c0b9612c257ca9fb2233c6c1d2a4d049f"},r("div",{key:"697c79cbd3c736b7efb890fddfca94c393b48d08",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"3fea26663f603965ef5dfc7d548cdcfc892bbc90",icon:this.iconPack.attach}),r("p",{key:"cab674da2e590d75ad20ca66661753cb52771925"},this.t("chat.send_attachment"))))}static get style(){return"#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}"}},[1,"rtk-file-dropzone",{hostEl:[16],iconPack:[16],t:[16],dropzoneActivated:[32]}]);function l(){"undefined"!=typeof customElements&&["rtk-file-dropzone","rtk-icon"].forEach((t=>{switch(t){case"rtk-file-dropzone":customElements.get(s(t))||customElements.define(s(t),f);break;case"rtk-icon":customElements.get(s(t))||p()}}))}d([n()],f.prototype,"iconPack",void 0),d([n()],f.prototype,"t",void 0),l();const h=f,b=l;export{h as RtkFileDropzone,b as defineCustomElement}
1
+ import{p as t,H as e,c as o,h as r,d as c,t as s}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as i,i as a}from"./p-BthnOddY.js";import"./p-Dguuxuf6.js";import{S as n}from"./p-DL4GSZ2e.js";import{d as p}from"./p-BYIBbfJ8.js";var d=function(t,e,o,r){var c,s=arguments.length,i=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(c=t[a])&&(i=(s<3?c(i):s>3?c(e,o,i):c(e,o))||i);return s>3&&i&&Object.defineProperty(e,o,i),i};const f=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onDropCallback=o(this,"dropCallback",7),this.iconPack=i,this.t=a(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return r(c,{key:"31d5ca1c0b9612c257ca9fb2233c6c1d2a4d049f"},r("div",{key:"697c79cbd3c736b7efb890fddfca94c393b48d08",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"3fea26663f603965ef5dfc7d548cdcfc892bbc90",icon:this.iconPack.attach}),r("p",{key:"cab674da2e590d75ad20ca66661753cb52771925"},this.t("chat.send_attachment"))))}static get style(){return"#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}"}},[1,"rtk-file-dropzone",{hostEl:[16],iconPack:[16],t:[16],dropzoneActivated:[32]}]);function l(){"undefined"!=typeof customElements&&["rtk-file-dropzone","rtk-icon"].forEach((t=>{switch(t){case"rtk-file-dropzone":customElements.get(s(t))||customElements.define(s(t),f);break;case"rtk-icon":customElements.get(s(t))||p()}}))}d([n()],f.prototype,"iconPack",void 0),d([n()],f.prototype,"t",void 0),l();const h=f,b=l;export{h as RtkFileDropzone,b as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as p}from"./p-B5-LNbkp.js";const s=o,r=p;export{s as RtkFileMessageView,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-iaFYN7Sj.js";const a=o,p=s;export{a as RtkFileMessageView,p as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-BRbb3tLk.js";const t=o,p=s;export{t as RtkFileMessage,p as defineCustomElement}
1
+ import{R as o,d as s}from"./p-CkA8t9GX.js";const t=o,p=s;export{t as RtkFileMessage,p as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-CdV0xzjB.js";const p=o,r=s;export{p as RtkFilePickerButton,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-B6TKlHLV.js";const p=o,r=s;export{p as RtkFilePickerButton,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-C9EBo56b.js";const p=o,r=s;export{p as RtkFullscreenToggle,r as defineCustomElement}
1
+ import{R as m,d as o}from"./p-mm-pzvJ-.js";const p=m,s=o;export{p as RtkFullscreenToggle,s as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as r,h as i,d as a,t as s}from"./p-BBHQOrFK.js";import{e as o,i as e}from"./p-De8YQHVd.js";import{S as n}from"./p-CphAED3J.js";import{d as c}from"./p-t72veIFj.js";import{d as h}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-DHSRRtn3.js";var l=function(t,r,i,a){var s,o=arguments.length,e=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(e=(o<3?s(e):o>3?s(r,i,e):s(r,i))||e);return o>3&&e&&Object.defineProperty(r,i,e),e};const g=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="rounded",this.iconPack=o,this.t=e(),this.page=1,this.pageCount=0,this.activeCount=0,this.activeComputedCount=0,this.showPagination=!1,this.onPageChanged=({currentPage:t,pageCount:r})=>{this.pageCount=r,this.page=t},this.toggleGridPagination=c((()=>{var t;const{self:r,participants:i}=this.meeting,{mobile:a,desktop:s}=null===(t=r.config)||void 0===t?void 0:t.maxVideoStreams,o="sm"===this.size?a:s,e=i.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus)).length;this.showPagination=!(e<o)}),50),this.onParticipantJoin=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.prevPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>1?t.setPage(this.page-=1):"PAGINATED"===t.viewMode&&t.setViewMode("ACTIVE_GRID")},this.nextPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>0&&this.page<this.pageCount?t.setPage(this.page+=1):t.count>0&&0===this.pageCount&&t.setViewMode("PAGINATED")}}connectedCallback(){this.meetingChanged(this.meeting),this.sizeChanged()}disconnectedCallback(){if(!this.meeting)return;const{participants:t,stage:r}=this.meeting;t.removeListener("pageChanged",this.onPageChanged),t.removeListener("viewModeChanged",this.onPageChanged),t.joined.removeListener("participantJoined",this.onParticipantJoin),t.joined.removeListener("participantLeft",this.onParticipantLeave),t.joined.removeListener("stageStatusUpdate",this.onStateStatusUpdate),r.removeListener("stageStatusUpdate",this.onStateStatusUpdate)}meetingChanged(t){if(null!=t){const{stage:r,participants:i}=t;this.page=i.currentPage,this.pageCount=i.pageCount,i.addListener("viewModeChanged",this.onPageChanged),i.addListener("pageChanged",this.onPageChanged),i.joined.addListener("participantJoined",this.onParticipantJoin),i.joined.addListener("participantLeft",this.onParticipantLeave),i.joined.addListener("stageStatusUpdate",this.onStateStatusUpdate),r.addListener("stageStatusUpdate",this.onStateStatusUpdate),this.activeCount=this.meeting.participants.joined.size,this.activeComputedCount=this.meeting.participants.joined.size,this.toggleGridPagination()}}sizeChanged(){this.toggleGridPagination()}render(){if(!this.meeting)return null;const{meta:t}=this.meeting;return"AUDIO_ROOM"!==(null==t?void 0:t.viewType)&&this.showPagination?i(a,null,i("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},i("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&i("div",{class:"center"},i("span",{class:"page"},0===this.pageCount?i("rtk-tooltip",{label:this.t("layout.auto")},i("rtk-button",{kind:"icon",class:"auto"},i("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[i("span",{class:"slash"},"/"),i("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&i("div",{class:"dots"},[...Array(this.pageCount)].map(((t,r)=>i("div",{key:"dot-"+r,class:{dot:!0,active:r+1===this.page}})))),i("rtk-button",{class:"next",variant:"secondary",kind:"icon",disabled:0!==this.page&&this.page===this.pageCount,onClick:this.nextPage,"aria-label":this.t("page.next")},i("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):i(a,{"data-hidden":!0})}static get watchers(){return{meeting:[{meetingChanged:0}],size:[{sizeChanged:0}]}}static get style(){return":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:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;font-size:16px}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}:host([size='sm']) .center{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([size='sm']) rtk-button{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) rtk-button rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}rtk-button{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.center{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.center .page{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.center .slash{margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-0\\.5, 2px)}.center .pages{align-self:flex-end;font-size:12px}:host([variant='rounded']){overflow:hidden;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button{border-radius:9999px;border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));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}:host([variant='rounded']) rtk-button:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button:not([disabled]):focus{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='grid']) rtk-button{position:absolute;top:50%;height:var(--rtk-space-20, 80px);width:var(--rtk-space-20, 80px);opacity:0.2;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='grid']) rtk-button:hover{opacity:1}:host([variant='grid']) rtk-button{transform:translateY(-50%)}:host([variant='grid']) rtk-button.prev{left:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) rtk-button.next{right:var(--rtk-space-0, 0px);border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host([variant='grid']) rtk-button.auto{left:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) .dots{position:absolute;left:50%;bottom:var(--rtk-space-3, 12px);display:flex;align-items:center;transform:translateX(-50%)}:host([variant='grid']) .dots .dot{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);cursor:pointer;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([variant='grid']) .dots .dot:last-child{margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) .dots .dot.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host([variant='grid'][size='sm']) rtk-button{height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);opacity:0.1}"}},[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]},void 0,{meeting:[{meetingChanged:0}],size:[{sizeChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-grid-pagination","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-grid-pagination":customElements.get(s(t))||customElements.define(s(t),g);break;case"rtk-button":customElements.get(s(t))||h();break;case"rtk-icon":customElements.get(s(t))||d();break;case"rtk-tooltip":customElements.get(s(t))||p()}}))}l([n()],g.prototype,"meeting",void 0),l([n()],g.prototype,"states",void 0),l([n()],g.prototype,"iconPack",void 0),l([n()],g.prototype,"t",void 0),u();const b=g,k=u;export{b as RtkGridPagination,k as defineCustomElement}
1
+ import{p as t,H as r,h as i,d as a,t as s}from"./p-BBHQOrFK.js";import{e as o,i as e}from"./p-BthnOddY.js";import{S as n}from"./p-DL4GSZ2e.js";import{d as c}from"./p-t72veIFj.js";import{d as h}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-DHSRRtn3.js";var l=function(t,r,i,a){var s,o=arguments.length,e=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(e=(o<3?s(e):o>3?s(r,i,e):s(r,i))||e);return o>3&&e&&Object.defineProperty(r,i,e),e};const g=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="rounded",this.iconPack=o,this.t=e(),this.page=1,this.pageCount=0,this.activeCount=0,this.activeComputedCount=0,this.showPagination=!1,this.onPageChanged=({currentPage:t,pageCount:r})=>{this.pageCount=r,this.page=t},this.toggleGridPagination=c((()=>{var t;const{self:r,participants:i}=this.meeting,{mobile:a,desktop:s}=null===(t=r.config)||void 0===t?void 0:t.maxVideoStreams,o="sm"===this.size?a:s,e=i.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus)).length;this.showPagination=!(e<o)}),50),this.onParticipantJoin=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.prevPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>1?t.setPage(this.page-=1):"PAGINATED"===t.viewMode&&t.setViewMode("ACTIVE_GRID")},this.nextPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>0&&this.page<this.pageCount?t.setPage(this.page+=1):t.count>0&&0===this.pageCount&&t.setViewMode("PAGINATED")}}connectedCallback(){this.meetingChanged(this.meeting),this.sizeChanged()}disconnectedCallback(){if(!this.meeting)return;const{participants:t,stage:r}=this.meeting;t.removeListener("pageChanged",this.onPageChanged),t.removeListener("viewModeChanged",this.onPageChanged),t.joined.removeListener("participantJoined",this.onParticipantJoin),t.joined.removeListener("participantLeft",this.onParticipantLeave),t.joined.removeListener("stageStatusUpdate",this.onStateStatusUpdate),r.removeListener("stageStatusUpdate",this.onStateStatusUpdate)}meetingChanged(t){if(null!=t){const{stage:r,participants:i}=t;this.page=i.currentPage,this.pageCount=i.pageCount,i.addListener("viewModeChanged",this.onPageChanged),i.addListener("pageChanged",this.onPageChanged),i.joined.addListener("participantJoined",this.onParticipantJoin),i.joined.addListener("participantLeft",this.onParticipantLeave),i.joined.addListener("stageStatusUpdate",this.onStateStatusUpdate),r.addListener("stageStatusUpdate",this.onStateStatusUpdate),this.activeCount=this.meeting.participants.joined.size,this.activeComputedCount=this.meeting.participants.joined.size,this.toggleGridPagination()}}sizeChanged(){this.toggleGridPagination()}render(){if(!this.meeting)return null;const{meta:t}=this.meeting;return"AUDIO_ROOM"!==(null==t?void 0:t.viewType)&&this.showPagination?i(a,null,i("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},i("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&i("div",{class:"center"},i("span",{class:"page"},0===this.pageCount?i("rtk-tooltip",{label:this.t("layout.auto")},i("rtk-button",{kind:"icon",class:"auto"},i("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[i("span",{class:"slash"},"/"),i("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&i("div",{class:"dots"},[...Array(this.pageCount)].map(((t,r)=>i("div",{key:"dot-"+r,class:{dot:!0,active:r+1===this.page}})))),i("rtk-button",{class:"next",variant:"secondary",kind:"icon",disabled:0!==this.page&&this.page===this.pageCount,onClick:this.nextPage,"aria-label":this.t("page.next")},i("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):i(a,{"data-hidden":!0})}static get watchers(){return{meeting:[{meetingChanged:0}],size:[{sizeChanged:0}]}}static get style(){return":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:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;font-size:16px}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}:host([size='sm']) .center{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([size='sm']) rtk-button{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) rtk-button rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}rtk-button{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.center{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.center .page{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.center .slash{margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-0\\.5, 2px)}.center .pages{align-self:flex-end;font-size:12px}:host([variant='rounded']){overflow:hidden;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button{border-radius:9999px;border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));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}:host([variant='rounded']) rtk-button:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button:not([disabled]):focus{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='grid']) rtk-button{position:absolute;top:50%;height:var(--rtk-space-20, 80px);width:var(--rtk-space-20, 80px);opacity:0.2;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='grid']) rtk-button:hover{opacity:1}:host([variant='grid']) rtk-button{transform:translateY(-50%)}:host([variant='grid']) rtk-button.prev{left:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) rtk-button.next{right:var(--rtk-space-0, 0px);border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host([variant='grid']) rtk-button.auto{left:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) .dots{position:absolute;left:50%;bottom:var(--rtk-space-3, 12px);display:flex;align-items:center;transform:translateX(-50%)}:host([variant='grid']) .dots .dot{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);cursor:pointer;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([variant='grid']) .dots .dot:last-child{margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) .dots .dot.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host([variant='grid'][size='sm']) rtk-button{height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);opacity:0.1}"}},[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]},void 0,{meeting:[{meetingChanged:0}],size:[{sizeChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-grid-pagination","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-grid-pagination":customElements.get(s(t))||customElements.define(s(t),g);break;case"rtk-button":customElements.get(s(t))||h();break;case"rtk-icon":customElements.get(s(t))||d();break;case"rtk-tooltip":customElements.get(s(t))||p()}}))}l([n()],g.prototype,"meeting",void 0),l([n()],g.prototype,"states",void 0),l([n()],g.prototype,"iconPack",void 0),l([n()],g.prototype,"t",void 0),u();const b=g,k=u;export{b as RtkGridPagination,k as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as i,c as s,h as e,d as r,t as a}from"./p-BBHQOrFK.js";import{c as n,e as o,i as h}from"./p-De8YQHVd.js";import{d as p}from"./p-t72veIFj.js";import{R as c}from"./p-CBJjerDR.js";import{a as l}from"./p-C0vp-Q7v.js";import{S as d}from"./p-CphAED3J.js";import{d as g}from"./p-CmmyVCoN.js";import{d as m}from"./p-D6vw6bT2.js";import{d as v}from"./p-B4TnXODX.js";import{d as u}from"./p-C9EBo56b.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as k}from"./p-JyC3dswA.js";import{d as x}from"./p-CrExxJHe.js";import{d as b}from"./p-BoGbJ5PX.js";import{d as S}from"./p-DKjr_UXt.js";var y=function(t,i,s,e){var r,a=arguments.length,n=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(a<3?r(n):a>3?r(i,s,n):r(i,s))||n);return a>3&&n&&Object.defineProperty(i,s,n),n};const C=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=n(),this.iconPack=o,this.t=h(),this.gridSize=g,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.onParticipantJoined=p((()=>{this.updateActiveParticipants()}),50),this.onParticipantLeft=p((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=l(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:r}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==r||r.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.onParticipantLeft),e.active.removeListener("participantJoined",this.onParticipantJoined),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,r,a;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:n,plugins:o,stage:h}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:p}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==p?void 0:p.isRecorder)||p.hiddenParticipant,this.participants=this.filterParticipants([...n.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...n.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=n.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==o?void 0:o.active.toArray())||[],(null==p?void 0:p.stageEnabled)&&(this.canCurrentPeerHost=p.acceptStageRequests||"ALLOWED"===p.canProduceAudio||"ALLOWED"===p.canProduceVideo||"ALLOWED"===p.canProduceScreenshare,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==h||h.addListener("stageStatusUpdate",this.stageStatusListener),null==o||o.all.addListener("stateUpdate",this.onPluginStateUpdate),n.addListener("viewModeChanged",this.onViewModeChanged),n.active.addListener("participantLeft",this.onParticipantLeft),null===(r=null==n?void 0:n.joined)||void 0===r||r.on("stageStatusUpdate",this.peerStageStatusListener),n.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),n.active.addListener("participantJoined",this.onParticipantJoined),n.pinned.addListener("participantJoined",this.onParticipantPinned),n.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(a=t.stage)||void 0===a?void 0:a.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),..."ACTIVE_GRID"!==s.viewMode||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){var t,i,s,a;const n={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};if(this.invalidRoomStates.includes(this.roomState))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),e("h3",null,this.t("disconnected")),e("p",null,this.t("disconnected.description"))));if("disconnected"===this.roomState){const n=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState;if("connected"!==(null===(s=null==n?void 0:n.send)||void 0===s?void 0:s.state)||"connected"!==(null===(a=null==n?void 0:n.recv)||void 0===a?void 0:a.state))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("offline")),e("p",null,this.t("offline.description"))))}return"failed"===this.roomState?e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("failed")),e("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?e(r,null,e("rtk-livestream-player",{meeting:this.meeting,size:this.size}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?e(r,null,e("div",{class:"webinar-stage"},e("div",{class:"center"},this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_host")),e("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):e(r,null,e(c,{element:"rtk-grid",defaults:n,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}}static get style(){return":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;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}"}},[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]},void 0,{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}]);function w(){"undefined"!=typeof customElements&&["rtk-grid","rtk-button","rtk-controlbar-button","rtk-fullscreen-toggle","rtk-icon","rtk-livestream-indicator","rtk-livestream-player","rtk-spinner","rtk-viewer-count"].forEach((t=>{switch(t){case"rtk-grid":customElements.get(a(t))||customElements.define(a(t),C);break;case"rtk-button":customElements.get(a(t))||m();break;case"rtk-controlbar-button":customElements.get(a(t))||v();break;case"rtk-fullscreen-toggle":customElements.get(a(t))||u();break;case"rtk-icon":customElements.get(a(t))||f();break;case"rtk-livestream-indicator":customElements.get(a(t))||k();break;case"rtk-livestream-player":customElements.get(a(t))||x();break;case"rtk-spinner":customElements.get(a(t))||b();break;case"rtk-viewer-count":customElements.get(a(t))||S()}}))}y([d()],C.prototype,"meeting",void 0),y([d()],C.prototype,"states",void 0),y([d()],C.prototype,"config",void 0),y([d()],C.prototype,"iconPack",void 0),y([d()],C.prototype,"t",void 0),w();const j=C,E=w;export{j as RtkGrid,E as defineCustomElement}
1
+ import{p as t,H as i,c as s,h as e,d as r,t as a}from"./p-BBHQOrFK.js";import{c as n,e as o,i as h}from"./p-BthnOddY.js";import{d as p}from"./p-t72veIFj.js";import{R as c}from"./p-CBJjerDR.js";import{a as l}from"./p-C0vp-Q7v.js";import{S as d}from"./p-DL4GSZ2e.js";import{d as g}from"./p-CmmyVCoN.js";import{d as m}from"./p-D6vw6bT2.js";import{d as v}from"./p-DPxfGgCX.js";import{d as u}from"./p-mm-pzvJ-.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as k}from"./p-CRr8LXGp.js";import{d as x}from"./p-C8Dgpnzx.js";import{d as b}from"./p-DXSMSSbW.js";import{d as S}from"./p-B77rBORD.js";var y=function(t,i,s,e){var r,a=arguments.length,n=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(a<3?r(n):a>3?r(i,s,n):r(i,s))||n);return a>3&&n&&Object.defineProperty(i,s,n),n};const C=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=n(),this.iconPack=o,this.t=h(),this.gridSize=g,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.onParticipantJoined=p((()=>{this.updateActiveParticipants()}),50),this.onParticipantLeft=p((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=l(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:r}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==r||r.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.onParticipantLeft),e.active.removeListener("participantJoined",this.onParticipantJoined),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,r,a;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:n,plugins:o,stage:h}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:p}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==p?void 0:p.isRecorder)||p.hiddenParticipant,this.participants=this.filterParticipants([...n.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...n.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=n.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==o?void 0:o.active.toArray())||[],(null==p?void 0:p.stageEnabled)&&(this.canCurrentPeerHost=p.acceptStageRequests||"ALLOWED"===p.canProduceAudio||"ALLOWED"===p.canProduceVideo||"ALLOWED"===p.canProduceScreenshare,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==h||h.addListener("stageStatusUpdate",this.stageStatusListener),null==o||o.all.addListener("stateUpdate",this.onPluginStateUpdate),n.addListener("viewModeChanged",this.onViewModeChanged),n.active.addListener("participantLeft",this.onParticipantLeft),null===(r=null==n?void 0:n.joined)||void 0===r||r.on("stageStatusUpdate",this.peerStageStatusListener),n.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),n.active.addListener("participantJoined",this.onParticipantJoined),n.pinned.addListener("participantJoined",this.onParticipantPinned),n.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(a=t.stage)||void 0===a?void 0:a.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),..."ACTIVE_GRID"!==s.viewMode||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){var t,i,s,a;const n={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};if(this.invalidRoomStates.includes(this.roomState))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),e("h3",null,this.t("disconnected")),e("p",null,this.t("disconnected.description"))));if("disconnected"===this.roomState){const n=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState;if("connected"!==(null===(s=null==n?void 0:n.send)||void 0===s?void 0:s.state)||"connected"!==(null===(a=null==n?void 0:n.recv)||void 0===a?void 0:a.state))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("offline")),e("p",null,this.t("offline.description"))))}return"failed"===this.roomState?e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("failed")),e("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?e(r,null,e("rtk-livestream-player",{meeting:this.meeting,size:this.size}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?e(r,null,e("div",{class:"webinar-stage"},e("div",{class:"center"},this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_host")),e("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):e(r,null,e(c,{element:"rtk-grid",defaults:n,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}}static get style(){return":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;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}"}},[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]},void 0,{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}]);function w(){"undefined"!=typeof customElements&&["rtk-grid","rtk-button","rtk-controlbar-button","rtk-fullscreen-toggle","rtk-icon","rtk-livestream-indicator","rtk-livestream-player","rtk-spinner","rtk-viewer-count"].forEach((t=>{switch(t){case"rtk-grid":customElements.get(a(t))||customElements.define(a(t),C);break;case"rtk-button":customElements.get(a(t))||m();break;case"rtk-controlbar-button":customElements.get(a(t))||v();break;case"rtk-fullscreen-toggle":customElements.get(a(t))||u();break;case"rtk-icon":customElements.get(a(t))||f();break;case"rtk-livestream-indicator":customElements.get(a(t))||k();break;case"rtk-livestream-player":customElements.get(a(t))||x();break;case"rtk-spinner":customElements.get(a(t))||b();break;case"rtk-viewer-count":customElements.get(a(t))||S()}}))}y([d()],C.prototype,"meeting",void 0),y([d()],C.prototype,"states",void 0),y([d()],C.prototype,"config",void 0),y([d()],C.prototype,"iconPack",void 0),y([d()],C.prototype,"t",void 0),w();const P=C,j=w;export{P as RtkGrid,j as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as a,d as i,t as s}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as r,e as n,i as o}from"./p-De8YQHVd.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{R as c}from"./p-CBJjerDR.js";import{S as d}from"./p-CphAED3J.js";var p=function(t,e,a,i){var s,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,i);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(n=(r<3?s(n):r>3?s(e,a,n):s(e,a))||n);return r>3&&n&&Object.defineProperty(e,a,n),n};const f=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="solid",this.disableRender=!1,this.config=r(),this.iconPack=n,this.t=o()}render(){return a(i,{key:"a323f95dac8cde8fdb77b1ecb0950402b7d418bb"},!this.disableRender&&a(c,{key:"a7beb145a76f2f879af3f54c9ec08317865b17d2",element:"rtk-header",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),a("slot",{key:"5bee25d9949611736d9c772e438314655ab8ae58"}))}static get style(){return":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:flex;height:var(--rtk-space-12, 48px);align-items:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{display:none !important}}@media only screen and (max-height: 480px) and (orientation: landscape){:host{display:none !important}}"}},[257,"rtk-header",{variant:[513],disableRender:[4,"disable-render"],meeting:[16],config:[16],states:[16],iconPack:[16],t:[16],size:[513]}]);function l(){"undefined"!=typeof customElements&&["rtk-header"].forEach((t=>{"rtk-header"===t&&(customElements.get(s(t))||customElements.define(s(t),f))}))}p([d()],f.prototype,"meeting",void 0),p([d()],f.prototype,"config",void 0),p([d()],f.prototype,"states",void 0),p([d()],f.prototype,"iconPack",void 0),p([d()],f.prototype,"t",void 0),l();const h=f,m=l;export{h as RtkHeader,m as defineCustomElement}
1
+ import{p as t,H as e,h as a,d as i,t as s}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as n,e as r,i as o}from"./p-BthnOddY.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{R as c}from"./p-CBJjerDR.js";import{S as d}from"./p-DL4GSZ2e.js";var p=function(t,e,a,i){var s,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,i);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(n<3?s(r):n>3?s(e,a,r):s(e,a))||r);return n>3&&r&&Object.defineProperty(e,a,r),r};const f=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="solid",this.disableRender=!1,this.config=n(),this.iconPack=r,this.t=o()}render(){return a(i,{key:"a323f95dac8cde8fdb77b1ecb0950402b7d418bb"},!this.disableRender&&a(c,{key:"a7beb145a76f2f879af3f54c9ec08317865b17d2",element:"rtk-header",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),a("slot",{key:"5bee25d9949611736d9c772e438314655ab8ae58"}))}static get style(){return":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:flex;height:var(--rtk-space-12, 48px);align-items:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{display:none !important}}@media only screen and (max-height: 480px) and (orientation: landscape){:host{display:none !important}}"}},[257,"rtk-header",{variant:[513],disableRender:[4,"disable-render"],meeting:[16],config:[16],states:[16],iconPack:[16],t:[16],size:[513]}]);function l(){"undefined"!=typeof customElements&&["rtk-header"].forEach((t=>{"rtk-header"===t&&(customElements.get(s(t))||customElements.define(s(t),f))}))}p([d()],f.prototype,"meeting",void 0),p([d()],f.prototype,"config",void 0),p([d()],f.prototype,"states",void 0),p([d()],f.prototype,"iconPack",void 0),p([d()],f.prototype,"t",void 0),l();const h=f,m=l;export{h as RtkHeader,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as r,d as o,t as a}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as i,e as n,i as s}from"./p-De8YQHVd.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-CphAED3J.js";import{d as l}from"./p-BYIBbfJ8.js";import{d}from"./p-DfWuSKCq.js";import{d as p}from"./p-BoGbJ5PX.js";var g=function(t,e,r,o){var a,i=arguments.length,n=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(i<3?a(n):i>3?a(e,r,n):a(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n};const k=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=i(),this.iconPack=n,this.t=s(),this.socketStateUpdate=({state:t})=>{var e;this.connectionState=t,"connected"===t&&((null===(e=this.states)||void 0===e?void 0:e.preJoinError)||(this.preJoinError=void 0))}}connectedCallback(){this.meetingChanged(this.meeting,void 0),this.statesChanged(this.states)}disconnectedCallback(){var t,e;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("socketConnectionUpdate",this.socketStateUpdate)}meetingChanged(t,e){var r,o,a,i;null===(r=null==e?void 0:e.meta)||void 0===r||r.removeListener("socketConnectionUpdate",this.socketStateUpdate),t&&(this.connectionState=null===(a=null===(o=t.meta)||void 0===o?void 0:o.socketState)||void 0===a?void 0:a.state,null===(i=t.meta)||void 0===i||i.addListener("socketConnectionUpdate",this.socketStateUpdate))}statesChanged(t){this.preJoinError=null==t?void 0:t.preJoinError}render(){var t,e;const a=null===(t=this.preJoinError)||void 0===t?void 0:t.message,i=null===(e=this.preJoinError)||void 0===e?void 0:e.code,n=!!this.connectionState&&"connected"!==this.connectionState&&!a,s=a||this.t("failed"===this.connectionState?"network.lost_extended":"network.lost");return r(o,{key:"5fbe382c783b15c48e8eeed8bed062e6a80bffca"},r("slot",{key:"45e242986aad838894c2f27292f163d62367398c"},r("div",{key:"7d67aec81786055ece1ab723628a8d574497a89a",class:"ctr",part:"container"},r("rtk-logo",{key:"4619a800a8a28678d7872a0c246a92d1a08ec359",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),a||n?r("div",{class:"error-state"},r("div",{class:"no-network-badge",part:"network-badge",role:"alert"},r("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected,part:"network-badge-icon"}),s),this.meeting&&a&&r("a",{class:"troubleshoot-link",href:"https://test.realtime.cloudflare.com?authToken="+this.meeting.__internals__.authToken,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),i&&r("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",i)):r("rtk-spinner",{"aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}}static get style(){return":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%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.error-state{display:flex;width:100%;flex-direction:column;align-items:center}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}rtk-spinner{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}"}},[257,"rtk-idle-screen",{meeting:[16],states:[16],config:[16],iconPack:[16],t:[16],preJoinError:[32],connectionState:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}]);function h(){"undefined"!=typeof customElements&&["rtk-idle-screen","rtk-icon","rtk-logo","rtk-spinner"].forEach((t=>{switch(t){case"rtk-idle-screen":customElements.get(a(t))||customElements.define(a(t),k);break;case"rtk-icon":customElements.get(a(t))||l();break;case"rtk-logo":customElements.get(a(t))||d();break;case"rtk-spinner":customElements.get(a(t))||p()}}))}g([c()],k.prototype,"meeting",void 0),g([c()],k.prototype,"states",void 0),g([c()],k.prototype,"config",void 0),g([c()],k.prototype,"iconPack",void 0),g([c()],k.prototype,"t",void 0),h();const v=k,f=h;export{v as RtkIdleScreen,f as defineCustomElement}
1
+ import{p as t,H as e,h as r,d as o,t as a}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as i,e as n,i as s}from"./p-BthnOddY.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as l}from"./p-BYIBbfJ8.js";import{d}from"./p-CNv9-uKL.js";import{d as p}from"./p-DXSMSSbW.js";var g=function(t,e,r,o){var a,i=arguments.length,n=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(i<3?a(n):i>3?a(e,r,n):a(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n};const k=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=i(),this.iconPack=n,this.t=s(),this.socketStateUpdate=({state:t})=>{var e;this.connectionState=t,"connected"===t&&((null===(e=this.states)||void 0===e?void 0:e.preJoinError)||(this.preJoinError=void 0))}}connectedCallback(){this.meetingChanged(this.meeting,void 0),this.statesChanged(this.states)}disconnectedCallback(){var t,e;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("socketConnectionUpdate",this.socketStateUpdate)}meetingChanged(t,e){var r,o,a,i;null===(r=null==e?void 0:e.meta)||void 0===r||r.removeListener("socketConnectionUpdate",this.socketStateUpdate),t&&(this.connectionState=null===(a=null===(o=t.meta)||void 0===o?void 0:o.socketState)||void 0===a?void 0:a.state,null===(i=t.meta)||void 0===i||i.addListener("socketConnectionUpdate",this.socketStateUpdate))}statesChanged(t){this.preJoinError=null==t?void 0:t.preJoinError}render(){var t,e;const a=null===(t=this.preJoinError)||void 0===t?void 0:t.message,i=null===(e=this.preJoinError)||void 0===e?void 0:e.code,n=!!this.connectionState&&"connected"!==this.connectionState&&!a,s=a||this.t("failed"===this.connectionState?"network.lost_extended":"network.lost");return r(o,{key:"5fbe382c783b15c48e8eeed8bed062e6a80bffca"},r("slot",{key:"45e242986aad838894c2f27292f163d62367398c"},r("div",{key:"7d67aec81786055ece1ab723628a8d574497a89a",class:"ctr",part:"container"},r("rtk-logo",{key:"4619a800a8a28678d7872a0c246a92d1a08ec359",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),a||n?r("div",{class:"error-state"},r("div",{class:"no-network-badge",part:"network-badge",role:"alert"},r("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected,part:"network-badge-icon"}),s),this.meeting&&a&&r("a",{class:"troubleshoot-link",href:"https://test.realtime.cloudflare.com?authToken="+this.meeting.__internals__.authToken,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),i&&r("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",i)):r("rtk-spinner",{"aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}}static get style(){return":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%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.error-state{display:flex;width:100%;flex-direction:column;align-items:center}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}rtk-spinner{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}"}},[257,"rtk-idle-screen",{meeting:[16],states:[16],config:[16],iconPack:[16],t:[16],preJoinError:[32],connectionState:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-idle-screen","rtk-icon","rtk-logo","rtk-spinner"].forEach((t=>{switch(t){case"rtk-idle-screen":customElements.get(a(t))||customElements.define(a(t),k);break;case"rtk-icon":customElements.get(a(t))||l();break;case"rtk-logo":customElements.get(a(t))||d();break;case"rtk-spinner":customElements.get(a(t))||p()}}))}g([c()],k.prototype,"meeting",void 0),g([c()],k.prototype,"states",void 0),g([c()],k.prototype,"config",void 0),g([c()],k.prototype,"iconPack",void 0),g([c()],k.prototype,"t",void 0),v();const h=k,f=v;export{h as RtkIdleScreen,f as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-DU5mNJqK.js";const m=o,p=s;export{m as RtkImageMessageView,p as defineCustomElement}
1
+ import{R as o,d as s}from"./p-B2GVx1qA.js";const p=o,r=s;export{p as RtkImageMessageView,r as defineCustomElement}
@@ -1 +1 @@
1
- import{R as s,d as o}from"./p-CBLUz_2s.js";const p=s,r=o;export{p as RtkImageMessage,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-CuqFnmgF.js";const m=o,p=s;export{m as RtkImageMessage,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,c as r,h as a,d as o,t as c}from"./p-BBHQOrFK.js";import{i as s,e as i}from"./p-De8YQHVd.js";import{d as n}from"./p-DDaHXyCC.js";import{S as d}from"./p-CphAED3J.js";import{f as l,s as b}from"./p-CJsXePY3.js";import{d as f}from"./p-D6vw6bT2.js";import{d as k}from"./p-BYIBbfJ8.js";var p=function(e,t,r,a){var o,c=arguments.length,s=c<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,a);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(s=(c<3?o(s):c>3?o(t,r,s):o(t,r))||s);return c>3&&s&&Object.defineProperty(t,r,s),s};const m=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.close=r(this,"close",7),this.t=s(),this.iconPack=i,this.keypressListener=e=>{"Escape"===e.key&&this.close.emit()},this.handleOutsideClick=()=>this.close.emit()}connectedCallback(){document.addEventListener("keydown",this.keypressListener),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("keydown",this.keypressListener),document.removeEventListener("click",this.handleOutsideClick)}render(){return a(o,{key:"09122e4d61355092a9c82bc337ea002a6c2acd58",class:"scrollbar",onClick:e=>e.stopPropagation()},a("div",{key:"2c6c3f705abf067d866e02b81c4b3d610f09fede",class:"header"},a("div",{key:"66cd4c200a2e8704acdf75d8830c94ac2abdc6be",class:"shared-by-user"},this.t("chat.img.shared_by")," ",a("span",{key:"3b4a866b673f35a454e7115fdc5c915d68966b1d",class:"displayName"},l(b(this.image.displayName)))),a("div",{key:"29e0e95e3e3d3b36917745a8f0a47beb9b5e3f02",class:"actions"},a("rtk-button",{key:"5cd7383e265a02c8b57a0f712e9e445495498c32",onClick:()=>n(this.image.link,{fallbackName:"image"})},a("rtk-icon",{key:"b098e89f707cc4cf413a620319e0eb2fd10b729a",icon:this.iconPack.download,slot:"start"}),"Download"),a("rtk-button",{key:"2cd6b7c21f0357d3104618d96d853d8bd8fcc542",kind:"icon",variant:"secondary",onClick:()=>this.close.emit()},a("rtk-icon",{key:"891428595d7a61c5400dc884bf8e1a501009eed5",icon:this.iconPack.dismiss})))),a("div",{key:"6194a26ac1357b93776b1c77ff72d1502151d619",class:"image-ctr"},a("img",{key:"24f21e7fff100bea8e79d261f180a57dc14fa5f4",src:this.image.link})))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:1140px;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-6, 24px);padding-top:var(--rtk-space-5, 20px);overflow-y:auto;color:rgb(var(--rtk-colors-text-1000, 255 255 255));z-index:40;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.displayName{font-weight:700}.image-ctr{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;justify-content:center;overflow:hidden}.actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}img{box-sizing:border-box;display:block;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--rtk-space-4, 16px)}.shared-by-user{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']) .header{flex-direction:column}:host([size='sm']) .header .actions{margin-top:var(--rtk-space-4, 16px)}"}},[1,"rtk-image-viewer",{image:[16],size:[513],t:[16],iconPack:[16]}]);function h(){"undefined"!=typeof customElements&&["rtk-image-viewer","rtk-button","rtk-icon"].forEach((e=>{switch(e){case"rtk-image-viewer":customElements.get(c(e))||customElements.define(c(e),m);break;case"rtk-button":customElements.get(c(e))||f();break;case"rtk-icon":customElements.get(c(e))||k()}}))}p([d()],m.prototype,"t",void 0),p([d()],m.prototype,"iconPack",void 0),h();const u=m,g=h;export{u as RtkImageViewer,g as defineCustomElement}
1
+ import{p as e,H as t,c as r,h as a,d as o,t as c}from"./p-BBHQOrFK.js";import{i as s,e as i}from"./p-BthnOddY.js";import{d as n}from"./p-DDaHXyCC.js";import{S as d}from"./p-DL4GSZ2e.js";import{f as l,s as b}from"./p-CJsXePY3.js";import{d as f}from"./p-D6vw6bT2.js";import{d as k}from"./p-BYIBbfJ8.js";var p=function(e,t,r,a){var o,c=arguments.length,s=c<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,a);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(s=(c<3?o(s):c>3?o(t,r,s):o(t,r))||s);return c>3&&s&&Object.defineProperty(t,r,s),s};const m=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.close=r(this,"close",7),this.t=s(),this.iconPack=i,this.keypressListener=e=>{"Escape"===e.key&&this.close.emit()},this.handleOutsideClick=()=>this.close.emit()}connectedCallback(){document.addEventListener("keydown",this.keypressListener),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("keydown",this.keypressListener),document.removeEventListener("click",this.handleOutsideClick)}render(){return a(o,{key:"09122e4d61355092a9c82bc337ea002a6c2acd58",class:"scrollbar",onClick:e=>e.stopPropagation()},a("div",{key:"2c6c3f705abf067d866e02b81c4b3d610f09fede",class:"header"},a("div",{key:"66cd4c200a2e8704acdf75d8830c94ac2abdc6be",class:"shared-by-user"},this.t("chat.img.shared_by")," ",a("span",{key:"3b4a866b673f35a454e7115fdc5c915d68966b1d",class:"displayName"},l(b(this.image.displayName)))),a("div",{key:"29e0e95e3e3d3b36917745a8f0a47beb9b5e3f02",class:"actions"},a("rtk-button",{key:"5cd7383e265a02c8b57a0f712e9e445495498c32",onClick:()=>n(this.image.link,{fallbackName:"image"})},a("rtk-icon",{key:"b098e89f707cc4cf413a620319e0eb2fd10b729a",icon:this.iconPack.download,slot:"start"}),"Download"),a("rtk-button",{key:"2cd6b7c21f0357d3104618d96d853d8bd8fcc542",kind:"icon",variant:"secondary",onClick:()=>this.close.emit()},a("rtk-icon",{key:"891428595d7a61c5400dc884bf8e1a501009eed5",icon:this.iconPack.dismiss})))),a("div",{key:"6194a26ac1357b93776b1c77ff72d1502151d619",class:"image-ctr"},a("img",{key:"24f21e7fff100bea8e79d261f180a57dc14fa5f4",src:this.image.link})))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:1140px;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-6, 24px);padding-top:var(--rtk-space-5, 20px);overflow-y:auto;color:rgb(var(--rtk-colors-text-1000, 255 255 255));z-index:40;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.displayName{font-weight:700}.image-ctr{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;justify-content:center;overflow:hidden}.actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}img{box-sizing:border-box;display:block;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--rtk-space-4, 16px)}.shared-by-user{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']) .header{flex-direction:column}:host([size='sm']) .header .actions{margin-top:var(--rtk-space-4, 16px)}"}},[1,"rtk-image-viewer",{image:[16],size:[513],t:[16],iconPack:[16]}]);function h(){"undefined"!=typeof customElements&&["rtk-image-viewer","rtk-button","rtk-icon"].forEach((e=>{switch(e){case"rtk-image-viewer":customElements.get(c(e))||customElements.define(c(e),m);break;case"rtk-button":customElements.get(c(e))||f();break;case"rtk-icon":customElements.get(c(e))||k()}}))}p([d()],m.prototype,"t",void 0),p([d()],m.prototype,"iconPack",void 0),h();const u=m,g=h;export{u as RtkImageViewer,g as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as o,h as r,d as e,t as a}from"./p-BBHQOrFK.js";import{S as i}from"./p-CphAED3J.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as s}from"./p-De8YQHVd.js";import"./p-Dguuxuf6.js";import{d as c}from"./p-BYIBbfJ8.js";const p=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=s}render(){return r(e,{key:"ff8e44d0644f3a81e71ec3595f109c396effd80e"},r("div",{key:"9b07fcd50ec2050f65008ad447b42fe0a2431fba",class:"tooltip-container"},r("rtk-icon",{key:"09393761a1ee443f54d08034c451397adf05c0a2",icon:this.iconPack.info,size:"sm"}),r("div",{key:"edcc65636e3888864a4f619b34929a494a748b43",class:"tooltip"},r("slot",{key:"298db1c52802862d8d1da4a3b9cfc33e3695163d",name:"tootlip-text"}))))}static get style(){return":host{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);cursor:pointer}.tooltip-container{position:relative;display:flex;flex-direction:row;align-items:center}.tooltip-container rtk-icon{cursor:pointer;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.tooltip-container rtk-icon:hover+.tooltip{display:flex !important}.tooltip{position:absolute;margin-left:var(--rtk-space-2, 8px);display:none !important;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));z-index:50;display:flex;min-width:var(--rtk-space-60, 240px);flex-direction:column;--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);left:14px}"}},[257,"rtk-information-tooltip",{iconPack:[16]}]);function n(){"undefined"!=typeof customElements&&["rtk-information-tooltip","rtk-icon"].forEach((t=>{switch(t){case"rtk-information-tooltip":customElements.get(a(t))||customElements.define(a(t),p);break;case"rtk-icon":customElements.get(a(t))||c()}}))}(function(t,o,r,e){var a,i=arguments.length,s=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,o,r,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(o,r,s):a(o,r))||s);i>3&&s&&Object.defineProperty(o,r,s)})([i()],p.prototype,"iconPack",void 0),n();const l=p,d=n;export{l as RtkInformationTooltip,d as defineCustomElement}
1
+ import{p as t,H as o,h as r,d as e,t as a}from"./p-BBHQOrFK.js";import{S as i}from"./p-DL4GSZ2e.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as s}from"./p-BthnOddY.js";import"./p-Dguuxuf6.js";import{d as c}from"./p-BYIBbfJ8.js";const p=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=s}render(){return r(e,{key:"ff8e44d0644f3a81e71ec3595f109c396effd80e"},r("div",{key:"9b07fcd50ec2050f65008ad447b42fe0a2431fba",class:"tooltip-container"},r("rtk-icon",{key:"09393761a1ee443f54d08034c451397adf05c0a2",icon:this.iconPack.info,size:"sm"}),r("div",{key:"edcc65636e3888864a4f619b34929a494a748b43",class:"tooltip"},r("slot",{key:"298db1c52802862d8d1da4a3b9cfc33e3695163d",name:"tootlip-text"}))))}static get style(){return":host{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);cursor:pointer}.tooltip-container{position:relative;display:flex;flex-direction:row;align-items:center}.tooltip-container rtk-icon{cursor:pointer;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.tooltip-container rtk-icon:hover+.tooltip{display:flex !important}.tooltip{position:absolute;margin-left:var(--rtk-space-2, 8px);display:none !important;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));z-index:50;display:flex;min-width:var(--rtk-space-60, 240px);flex-direction:column;--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);left:14px}"}},[257,"rtk-information-tooltip",{iconPack:[16]}]);function n(){"undefined"!=typeof customElements&&["rtk-information-tooltip","rtk-icon"].forEach((t=>{switch(t){case"rtk-information-tooltip":customElements.get(a(t))||customElements.define(a(t),p);break;case"rtk-icon":customElements.get(a(t))||c()}}))}(function(t,o,r,e){var a,i=arguments.length,s=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,o,r,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(o,r,s):a(o,r))||s);i>3&&s&&Object.defineProperty(o,r,s)})([i()],p.prototype,"iconPack",void 0),n();const l=p,d=n;export{l as RtkInformationTooltip,d as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-C-OVY3ug.js";const p=o,r=s;export{p as RtkJoinStage,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-B17zaVfB.js";const a=o,p=s;export{a as RtkJoinStage,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,c as s,h as o,d as r,t as a}from"./p-BBHQOrFK.js";import{e as n,i}from"./p-De8YQHVd.js";import{S as c}from"./p-CphAED3J.js";import{d as l}from"./p-B4TnXODX.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as m}from"./p-BoGbJ5PX.js";var p=function(t,e,s,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,o);else for(var i=t.length-1;i>=0;i--)(r=t[i])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=n,this.t=i(),this.leave=()=>{this.stateUpdate.emit({activeLeaveConfirmation:!0})}}render(){const t=this.t("leave");return o(r,{key:"b81ffe328736f1df741c1ef1f88a128771b5366e",label:t},o("rtk-controlbar-button",{key:"0674e4975571a6cbccca1b1252c33405ab8c1cb4",size:this.size,iconPack:this.iconPack,class:"leave red-icon",onClick:this.leave,icon:this.iconPack.call_end,label:t,variant:this.variant,part:"controlbar-button"}))}static get style(){return":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}"}},[1,"rtk-leave-button",{variant:[513],size:[513],iconPack:[16],t:[16]}]);function u(){"undefined"!=typeof customElements&&["rtk-leave-button","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-leave-button":customElements.get(a(t))||customElements.define(a(t),b);break;case"rtk-controlbar-button":customElements.get(a(t))||l();break;case"rtk-icon":customElements.get(a(t))||f();break;case"rtk-spinner":customElements.get(a(t))||m()}}))}p([c()],b.prototype,"iconPack",void 0),p([c()],b.prototype,"t",void 0),u();const k=b,h=u;export{k as RtkLeaveButton,h as defineCustomElement}
1
+ import{p as t,H as e,c as s,h as o,d as r,t as a}from"./p-BBHQOrFK.js";import{e as n,i}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as l}from"./p-DPxfGgCX.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as m}from"./p-DXSMSSbW.js";var b=function(t,e,s,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,o);else for(var i=t.length-1;i>=0;i--)(r=t[i])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=n,this.t=i(),this.leave=()=>{this.stateUpdate.emit({activeLeaveConfirmation:!0})}}render(){const t=this.t("leave");return o(r,{key:"b81ffe328736f1df741c1ef1f88a128771b5366e",label:t},o("rtk-controlbar-button",{key:"0674e4975571a6cbccca1b1252c33405ab8c1cb4",size:this.size,iconPack:this.iconPack,class:"leave red-icon",onClick:this.leave,icon:this.iconPack.call_end,label:t,variant:this.variant,part:"controlbar-button"}))}static get style(){return":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}"}},[1,"rtk-leave-button",{variant:[513],size:[513],iconPack:[16],t:[16]}]);function u(){"undefined"!=typeof customElements&&["rtk-leave-button","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-leave-button":customElements.get(a(t))||customElements.define(a(t),p);break;case"rtk-controlbar-button":customElements.get(a(t))||l();break;case"rtk-icon":customElements.get(a(t))||f();break;case"rtk-spinner":customElements.get(a(t))||m()}}))}b([c()],p.prototype,"iconPack",void 0),b([c()],p.prototype,"t",void 0),u();const k=p,h=u;export{k as RtkLeaveButton,h as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as p}from"./p-Cj44pA_c.js";const s=o,r=p;export{s as RtkLeaveMeeting,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-Cz9_MmLt.js";const t=o,m=s;export{t as RtkLeaveMeeting,m as defineCustomElement}
@@ -1 +1 @@
1
- import{R as s,d as o}from"./p-JyC3dswA.js";const p=s,r=o;export{p as RtkLivestreamIndicator,r as defineCustomElement}
1
+ import{R as o,d as p}from"./p-CRr8LXGp.js";const r=o,s=p;export{r as RtkLivestreamIndicator,s as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as r}from"./p-CrExxJHe.js";const s=o,p=r;export{s as RtkLivestreamPlayer,p as defineCustomElement}
1
+ import{R as o,d as p}from"./p-C8Dgpnzx.js";const s=o,r=p;export{s as RtkLivestreamPlayer,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,c as s,h as i,d as r,t as a}from"./p-BBHQOrFK.js";import{e as n,i as o}from"./p-De8YQHVd.js";import{i as l}from"./p-C0vp-Q7v.js";import{S as h}from"./p-CphAED3J.js";import{d as c}from"./p-B4TnXODX.js";import{d as m}from"./p-BYIBbfJ8.js";import{d as v}from"./p-BoGbJ5PX.js";var d=function(t,e,s,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n};const u=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.apiError=s(this,"rtkApiError",7),this.variant="button",this.iconPack=n,this.t=o(),this.livestreamState="IDLE",this.livestreamStateListener=t=>{this.livestreamState=t,"LIVESTREAMING"!==t&&"IDLE"!==t||this.stateUpdate.emit({activeMoreMenu:!1})},this.isLoading=()=>!this.meeting||"STARTING"===this.livestreamState||"STOPPING"===this.livestreamState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.clearListeners()}meetingChanged(t){var e,s;t&&(this.livestreamState=null===(e=this.meeting.livestream)||void 0===e?void 0:e.state,null===(s=this.meeting.livestream)||void 0===s||s.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,e;if("LIVESTREAMING"===this.livestreamState)try{await(null===(t=this.meeting.livestream)||void 0===t?void 0:t.stop())}catch(t){this.apiError.emit({trace:this.t("livestream.stop"),message:this.t("livestream.error.stop")})}else try{await(null===(e=this.meeting.livestream)||void 0===e?void 0:e.start())}catch(t){this.apiError.emit({trace:this.t("livestream.start"),message:this.t("livestream.error.start")})}}clearListeners(){var t;null===(t=this.meeting.livestream)||void 0===t||t.removeListener("livestreamUpdate",this.livestreamStateListener)}getLivestreamLabel(){switch(this.livestreamState){case"IDLE":return this.t("livestream.go_live");case"LIVESTREAMING":return this.t("livestream.end_live");case"WAITING_ON_MANUAL_INGESTION":return this.t("livestream.waiting_on_manual_ingestion");case"STARTING":return this.t("livestream.starting");case"STOPPING":return this.t("livestream.stopping");default:return this.t("livestream.error")}}getLivestreamIcon(){switch(this.livestreamState){case"IDLE":case"WAITING_ON_MANUAL_INGESTION":return this.iconPack.start_livestream;default:return this.iconPack.stop_livestream}}render(){return this.meeting?l(this.meeting)?i(r,null,i("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,isLoading:this.isLoading(),class:{"active-livestream":"LIVESTREAMING"===this.livestreamState},onClick:()=>this.toggleLivestream(),icon:this.getLivestreamIcon(),disabled:this.isLoading(),label:this.t(this.getLivestreamLabel()),variant:this.variant})):i(r,{"data-hidden":!0}):null}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}:host([data-hidden]){display:none}"}},[1,"rtk-livestream-toggle",{variant:[513],meeting:[16],size:[513],iconPack:[16],t:[16],livestreamState:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function p(){"undefined"!=typeof customElements&&["rtk-livestream-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-livestream-toggle":customElements.get(a(t))||customElements.define(a(t),u);break;case"rtk-controlbar-button":customElements.get(a(t))||c();break;case"rtk-icon":customElements.get(a(t))||m();break;case"rtk-spinner":customElements.get(a(t))||v()}}))}d([h()],u.prototype,"meeting",void 0),d([h()],u.prototype,"iconPack",void 0),d([h()],u.prototype,"t",void 0),p();const g=u,f=p;export{g as RtkLivestreamToggle,f as defineCustomElement}
1
+ import{p as t,H as e,c as s,h as i,d as r,t as a}from"./p-BBHQOrFK.js";import{e as n,i as o}from"./p-BthnOddY.js";import{i as l}from"./p-C0vp-Q7v.js";import{S as h}from"./p-DL4GSZ2e.js";import{d as c}from"./p-DPxfGgCX.js";import{d as m}from"./p-BYIBbfJ8.js";import{d as v}from"./p-DXSMSSbW.js";var d=function(t,e,s,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n};const u=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.apiError=s(this,"rtkApiError",7),this.variant="button",this.iconPack=n,this.t=o(),this.livestreamState="IDLE",this.livestreamStateListener=t=>{this.livestreamState=t,"LIVESTREAMING"!==t&&"IDLE"!==t||this.stateUpdate.emit({activeMoreMenu:!1})},this.isLoading=()=>!this.meeting||"STARTING"===this.livestreamState||"STOPPING"===this.livestreamState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.clearListeners()}meetingChanged(t){var e,s;t&&(this.livestreamState=null===(e=this.meeting.livestream)||void 0===e?void 0:e.state,null===(s=this.meeting.livestream)||void 0===s||s.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,e;if("LIVESTREAMING"===this.livestreamState)try{await(null===(t=this.meeting.livestream)||void 0===t?void 0:t.stop())}catch(t){this.apiError.emit({trace:this.t("livestream.stop"),message:this.t("livestream.error.stop")})}else try{await(null===(e=this.meeting.livestream)||void 0===e?void 0:e.start())}catch(t){this.apiError.emit({trace:this.t("livestream.start"),message:this.t("livestream.error.start")})}}clearListeners(){var t;null===(t=this.meeting.livestream)||void 0===t||t.removeListener("livestreamUpdate",this.livestreamStateListener)}getLivestreamLabel(){switch(this.livestreamState){case"IDLE":return this.t("livestream.go_live");case"LIVESTREAMING":return this.t("livestream.end_live");case"WAITING_ON_MANUAL_INGESTION":return this.t("livestream.waiting_on_manual_ingestion");case"STARTING":return this.t("livestream.starting");case"STOPPING":return this.t("livestream.stopping");default:return this.t("livestream.error")}}getLivestreamIcon(){switch(this.livestreamState){case"IDLE":case"WAITING_ON_MANUAL_INGESTION":return this.iconPack.start_livestream;default:return this.iconPack.stop_livestream}}render(){return this.meeting?l(this.meeting)?i(r,null,i("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,isLoading:this.isLoading(),class:{"active-livestream":"LIVESTREAMING"===this.livestreamState},onClick:()=>this.toggleLivestream(),icon:this.getLivestreamIcon(),disabled:this.isLoading(),label:this.t(this.getLivestreamLabel()),variant:this.variant})):i(r,{"data-hidden":!0}):null}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}:host([data-hidden]){display:none}"}},[1,"rtk-livestream-toggle",{variant:[513],meeting:[16],size:[513],iconPack:[16],t:[16],livestreamState:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function p(){"undefined"!=typeof customElements&&["rtk-livestream-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-livestream-toggle":customElements.get(a(t))||customElements.define(a(t),u);break;case"rtk-controlbar-button":customElements.get(a(t))||c();break;case"rtk-icon":customElements.get(a(t))||m();break;case"rtk-spinner":customElements.get(a(t))||v()}}))}d([h()],u.prototype,"meeting",void 0),d([h()],u.prototype,"iconPack",void 0),d([h()],u.prototype,"t",void 0),p();const g=u,f=p;export{g as RtkLivestreamToggle,f as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-DfWuSKCq.js";const p=o,r=s;export{p as RtkLogo,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-CNv9-uKL.js";const p=o,r=s;export{p as RtkLogo,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,d as o,t as s}from"./p-BBHQOrFK.js";import{e as n,i as r}from"./p-De8YQHVd.js";import{S as a}from"./p-CphAED3J.js";import{d as l}from"./p-DHSRRtn3.js";var c=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=n,this.t=r()}render(){var t;const e=null===(t=this.meeting)||void 0===t?void 0:t.meta.meetingTitle;return null==e?i(o,{"data-hidden":!0}):i(o,{role:"banner","aria-label":e},i("rtk-tooltip",{label:e,part:"tooltip"},i("div",{class:"title",part:"title"},e)))}static get style(){return":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{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:16px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host([data-hidden]){display:none}.title{text-align:center;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']){font-size:12px}"}},[1,"rtk-meeting-title",{meeting:[16],iconPack:[16],t:[16]}]);function m(){"undefined"!=typeof customElements&&["rtk-meeting-title","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-meeting-title":customElements.get(s(t))||customElements.define(s(t),p);break;case"rtk-tooltip":customElements.get(s(t))||l()}}))}c([a()],p.prototype,"meeting",void 0),c([a()],p.prototype,"iconPack",void 0),c([a()],p.prototype,"t",void 0),m();const f=p,d=m;export{f as RtkMeetingTitle,d as defineCustomElement}
1
+ import{p as t,H as e,h as i,d as o,t as n}from"./p-BBHQOrFK.js";import{e as s,i as r}from"./p-BthnOddY.js";import{S as a}from"./p-DL4GSZ2e.js";import{d as l}from"./p-DHSRRtn3.js";var c=function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=s,this.t=r()}render(){var t;const e=null===(t=this.meeting)||void 0===t?void 0:t.meta.meetingTitle;return null==e?i(o,{"data-hidden":!0}):i(o,{role:"banner","aria-label":e},i("rtk-tooltip",{label:e,part:"tooltip"},i("div",{class:"title",part:"title"},e)))}static get style(){return":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{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:16px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host([data-hidden]){display:none}.title{text-align:center;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']){font-size:12px}"}},[1,"rtk-meeting-title",{meeting:[16],iconPack:[16],t:[16]}]);function m(){"undefined"!=typeof customElements&&["rtk-meeting-title","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-meeting-title":customElements.get(n(t))||customElements.define(n(t),p);break;case"rtk-tooltip":customElements.get(n(t))||l()}}))}c([a()],p.prototype,"meeting",void 0),c([a()],p.prototype,"iconPack",void 0),c([a()],p.prototype,"t",void 0),m();const f=p,d=m;export{f as RtkMeetingTitle,d as defineCustomElement}