@cloudflare/realtimekit-ui 1.1.1-staging.2 → 1.1.1-staging.3

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 (630) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-b9322340.js → TextMessage-8088b265.js} +1 -1
  3. package/dist/cjs/{chat-f1a9fd6e.js → chat-5d48e41a.js} +1 -1
  4. package/dist/cjs/{config-86164f93.js → config-b10db04e.js} +2 -2
  5. package/dist/cjs/{debounce-267777c1.js → debounce-5c0edae4.js} +1 -1
  6. package/dist/cjs/{index-92947ea7.js → index-e51fef54.js} +1 -1
  7. package/dist/cjs/index.cjs.js +5 -5
  8. package/dist/cjs/{merge-bb096d88.js → merge-f14ae920.js} +1 -1
  9. package/dist/cjs/{notification-ef397c71.js → notification-d2a2b8e8.js} +1 -1
  10. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-avatar_26.cjs.entry.js +6 -6
  17. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
  29. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
  39. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  52. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  59. package/dist/cjs/rtk-notifications.cjs.entry.js +4 -4
  60. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  61. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  67. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  68. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  70. package/dist/cjs/rtk-plugins_2.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  83. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  90. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  91. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  92. package/dist/cjs/{sidebar-7df66d80.js → sidebar-2d7d4341.js} +1 -1
  93. package/dist/cjs/{ui-store-d0e80f30.js → ui-store-be00fd39.js} +8 -8
  94. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  95. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  96. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  97. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  98. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  99. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  100. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  101. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  102. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  103. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
  104. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
  105. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  106. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  107. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  108. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  109. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  110. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  111. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  112. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  113. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  114. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  115. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  116. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
  117. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  118. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  119. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  120. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  121. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  122. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  123. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  124. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  125. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  126. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  127. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  128. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  129. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  130. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  131. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  132. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  133. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  134. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  135. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  136. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  137. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  138. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  139. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  140. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  141. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  142. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  143. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  144. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  145. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  146. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  147. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  148. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  149. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  150. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  151. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  152. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  153. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  154. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  155. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  156. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  157. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  158. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  159. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  160. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  161. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  162. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  163. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  164. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  165. package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
  166. package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
  167. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  168. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  169. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  170. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  171. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
  172. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
  173. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  174. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  175. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  176. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  177. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  178. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  179. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  180. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  181. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
  182. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  183. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  184. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  185. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  186. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  187. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  188. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  189. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  190. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  191. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  192. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  193. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +1 -1
  194. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  195. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  196. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  197. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  198. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  199. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  200. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  201. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  202. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  203. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +1 -1
  204. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  205. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  206. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  207. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  208. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  209. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  210. package/dist/collection/components/rtk-text-message/rtk-text-message.js +1 -1
  211. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  212. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  213. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  214. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  215. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  216. package/dist/collection/lib/lang/default-language.js +8 -8
  217. package/dist/components/index.js +6 -6
  218. package/dist/components/{p-b2d5329f.js → p-066a17a7.js} +2 -2
  219. package/dist/components/{p-71fb663b.js → p-07f5fbf8.js} +2 -2
  220. package/dist/components/{p-9cf41ab1.js → p-093c343d.js} +2 -2
  221. package/dist/components/{p-a101bff7.js → p-0ac528aa.js} +7 -7
  222. package/dist/components/{p-ecbb4e46.js → p-0daa4931.js} +2 -2
  223. package/dist/components/{p-a339a693.js → p-0ea18e25.js} +7 -7
  224. package/dist/components/{p-5cce54f2.js → p-0ed4523b.js} +4 -4
  225. package/dist/components/{p-1cbbf87d.js → p-0ed5dd26.js} +5 -5
  226. package/dist/components/{p-3577385a.js → p-10bddcda.js} +3 -3
  227. package/dist/components/{p-a74caccd.js → p-1cb17643.js} +2 -2
  228. package/dist/components/{p-c6c4c24e.js → p-1edbefa9.js} +2 -2
  229. package/dist/components/{p-1b26fbf7.js → p-1f880eb7.js} +2 -2
  230. package/dist/components/{p-d0eb78a2.js → p-20cdaae2.js} +3 -3
  231. package/dist/components/{p-c0de7320.js → p-2160e72a.js} +2 -2
  232. package/dist/components/{p-12b59b72.js → p-29d25df0.js} +2 -2
  233. package/dist/components/{p-2281c2c4.js → p-2bd49deb.js} +4 -4
  234. package/dist/components/{p-d70fbc37.js → p-2d36b78b.js} +2 -2
  235. package/dist/components/{p-2f56d366.js → p-2db9c75c.js} +3 -3
  236. package/dist/components/{p-1186c3c8.js → p-3279fd27.js} +2 -2
  237. package/dist/components/{p-c0ad28ff.js → p-41c457c7.js} +6 -6
  238. package/dist/components/{p-8a0106ed.js → p-46630fbd.js} +21 -21
  239. package/dist/components/{p-d22fc130.js → p-48756aaa.js} +3 -3
  240. package/dist/components/{p-ad179bea.js → p-487bf9b3.js} +2 -2
  241. package/dist/components/{p-512c4515.js → p-530312b5.js} +2 -2
  242. package/dist/components/{p-583f9282.js → p-53276237.js} +1 -1
  243. package/dist/components/{p-2305aa2d.js → p-578f9f42.js} +1 -1
  244. package/dist/components/{p-6e373d96.js → p-5928c177.js} +2 -2
  245. package/dist/components/{p-bcff8acc.js → p-5a8d62bc.js} +2 -2
  246. package/dist/components/{p-5c4de4b9.js → p-5fb7db3a.js} +5 -5
  247. package/dist/components/{p-cb053923.js → p-6188a239.js} +2 -2
  248. package/dist/components/{p-eff3c856.js → p-68f6b054.js} +2 -2
  249. package/dist/components/{p-f1fa3b2a.js → p-692e9616.js} +2 -2
  250. package/dist/components/{p-f4bd3f50.js → p-69d106e0.js} +2 -2
  251. package/dist/components/{p-da13b457.js → p-6bba6429.js} +3 -3
  252. package/dist/components/{p-0f065bee.js → p-6c38f8e1.js} +4 -4
  253. package/dist/components/{p-ad194cf2.js → p-6e2d57fa.js} +4 -4
  254. package/dist/components/{p-38ba07d0.js → p-70d6d81c.js} +3 -3
  255. package/dist/components/{p-526870e9.js → p-71577bfa.js} +11 -11
  256. package/dist/components/{p-154bed23.js → p-737ef231.js} +2 -2
  257. package/dist/components/{p-8cea6257.js → p-75cd16e4.js} +1 -1
  258. package/dist/components/{p-e334e15c.js → p-77b53323.js} +1 -1
  259. package/dist/components/{p-2976fcb0.js → p-7b85e0dc.js} +2 -2
  260. package/dist/components/{p-00551379.js → p-8759de71.js} +2 -2
  261. package/dist/components/{p-2690645d.js → p-8cfc4380.js} +2 -2
  262. package/dist/components/{p-81658a62.js → p-8de172d8.js} +2 -2
  263. package/dist/components/{p-e0ef3893.js → p-8f1d1b1c.js} +2 -2
  264. package/dist/components/{p-1099c0fe.js → p-9406d37b.js} +2 -2
  265. package/dist/components/{p-4870263f.js → p-9c8a6694.js} +10 -10
  266. package/dist/components/{p-6857797f.js → p-9cf524af.js} +5 -5
  267. package/dist/components/{p-cd6656bf.js → p-9d774486.js} +2 -2
  268. package/dist/components/{p-76c443b7.js → p-aba6838b.js} +2 -2
  269. package/dist/components/{p-08698341.js → p-ad0eeb89.js} +2 -2
  270. package/dist/components/{p-73db39b8.js → p-af58e54a.js} +2 -2
  271. package/dist/components/{p-fb5a823a.js → p-b1092195.js} +8 -8
  272. package/dist/components/{p-6c0eb5d7.js → p-b3a96140.js} +7 -7
  273. package/dist/components/{p-0d76966c.js → p-b8c4fbe9.js} +2 -2
  274. package/dist/components/{p-bfc86230.js → p-b91882cc.js} +2 -2
  275. package/dist/components/{p-fad88ee4.js → p-b935529f.js} +5 -5
  276. package/dist/components/{p-4b7af749.js → p-c887aabe.js} +6 -6
  277. package/dist/components/{p-4a8d69ae.js → p-c8cc4d31.js} +3 -3
  278. package/dist/components/{p-81f479e2.js → p-cec593ce.js} +4 -4
  279. package/dist/components/{p-06de876f.js → p-cf60c796.js} +2 -2
  280. package/dist/components/{p-f517e595.js → p-d01c3bc6.js} +2 -2
  281. package/dist/components/{p-41bf1c3d.js → p-d74b2bee.js} +2 -2
  282. package/dist/components/{p-fa8cf270.js → p-d974c596.js} +2 -2
  283. package/dist/components/{p-dacaa250.js → p-db0a069e.js} +2 -2
  284. package/dist/components/{p-7210157d.js → p-dc1ae6fe.js} +2 -2
  285. package/dist/components/{p-95a1fa70.js → p-dd03a634.js} +2 -2
  286. package/dist/components/{p-0f39e8ae.js → p-ddc9cbf0.js} +2 -2
  287. package/dist/components/{p-b1723439.js → p-e60074c0.js} +2 -2
  288. package/dist/components/{p-9e1478a0.js → p-ea1fa791.js} +2 -2
  289. package/dist/components/{p-d6024528.js → p-eaae65ba.js} +2 -2
  290. package/dist/components/{p-528cc24e.js → p-f3a942ff.js} +5 -5
  291. package/dist/components/{p-9bf3a2cd.js → p-f5b26a0b.js} +6 -6
  292. package/dist/components/{p-f19b4abc.js → p-f5e2e5d0.js} +8 -8
  293. package/dist/components/{p-2c66d025.js → p-fd798be6.js} +4 -4
  294. package/dist/components/{p-401ce922.js → p-fd8f2c35.js} +2 -2
  295. package/dist/components/{p-41d43013.js → p-fffd5136.js} +2 -2
  296. package/dist/components/rtk-ai-toggle.js +4 -4
  297. package/dist/components/rtk-ai-transcriptions.js +1 -1
  298. package/dist/components/rtk-ai.js +3 -3
  299. package/dist/components/rtk-audio-grid.js +2 -2
  300. package/dist/components/rtk-audio-tile.js +5 -5
  301. package/dist/components/rtk-audio-visualizer.js +1 -1
  302. package/dist/components/rtk-avatar.js +1 -1
  303. package/dist/components/rtk-breakout-room-manager.js +1 -1
  304. package/dist/components/rtk-breakout-room-participants.js +1 -1
  305. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  306. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  307. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  308. package/dist/components/rtk-camera-selector.js +1 -1
  309. package/dist/components/rtk-camera-toggle.js +4 -4
  310. package/dist/components/rtk-caption-toggle.js +4 -4
  311. package/dist/components/rtk-chat-composer-ui.js +5 -5
  312. package/dist/components/rtk-chat-composer-view.js +1 -1
  313. package/dist/components/rtk-chat-header.js +1 -1
  314. package/dist/components/rtk-chat-message.js +1 -1
  315. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  316. package/dist/components/rtk-chat-messages-ui.js +10 -10
  317. package/dist/components/rtk-chat-search-results.js +12 -12
  318. package/dist/components/rtk-chat-selector-ui.js +2 -2
  319. package/dist/components/rtk-chat-selector.js +1 -1
  320. package/dist/components/rtk-chat-toggle.js +5 -5
  321. package/dist/components/rtk-chat.js +1 -1
  322. package/dist/components/rtk-clock.js +2 -2
  323. package/dist/components/rtk-confirmation-modal.js +1 -1
  324. package/dist/components/rtk-controlbar-button.js +1 -1
  325. package/dist/components/rtk-controlbar.js +2 -2
  326. package/dist/components/rtk-counter.js +1 -1
  327. package/dist/components/rtk-debugger-audio.js +1 -1
  328. package/dist/components/rtk-debugger-screenshare.js +1 -1
  329. package/dist/components/rtk-debugger-system.js +1 -1
  330. package/dist/components/rtk-debugger-toggle.js +4 -4
  331. package/dist/components/rtk-debugger-video.js +1 -1
  332. package/dist/components/rtk-debugger.js +1 -1
  333. package/dist/components/rtk-dialog-manager.js +21 -21
  334. package/dist/components/rtk-dialog.js +1 -1
  335. package/dist/components/rtk-draft-attachment-view.js +1 -1
  336. package/dist/components/rtk-emoji-picker-button.js +1 -1
  337. package/dist/components/rtk-emoji-picker.js +1 -1
  338. package/dist/components/rtk-ended-screen.js +3 -3
  339. package/dist/components/rtk-file-dropzone.js +2 -2
  340. package/dist/components/rtk-file-message-view.js +1 -1
  341. package/dist/components/rtk-file-message.js +1 -1
  342. package/dist/components/rtk-file-picker-button.js +1 -1
  343. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  344. package/dist/components/rtk-grid-pagination.js +2 -2
  345. package/dist/components/rtk-grid.js +8 -8
  346. package/dist/components/rtk-header.js +2 -2
  347. package/dist/components/rtk-idle-screen.js +4 -4
  348. package/dist/components/rtk-image-message-view.js +1 -1
  349. package/dist/components/rtk-image-message.js +1 -1
  350. package/dist/components/rtk-image-viewer.js +2 -2
  351. package/dist/components/rtk-information-tooltip.js +2 -2
  352. package/dist/components/rtk-join-stage.js +1 -1
  353. package/dist/components/rtk-leave-button.js +4 -4
  354. package/dist/components/rtk-leave-meeting.js +1 -1
  355. package/dist/components/rtk-livestream-indicator.js +1 -1
  356. package/dist/components/rtk-livestream-player.js +1 -1
  357. package/dist/components/rtk-livestream-toggle.js +4 -4
  358. package/dist/components/rtk-logo.js +1 -1
  359. package/dist/components/rtk-meeting-title.js +2 -2
  360. package/dist/components/rtk-meeting.js +23 -23
  361. package/dist/components/rtk-menu-item.js +1 -1
  362. package/dist/components/rtk-menu-list.js +1 -1
  363. package/dist/components/rtk-menu.js +1 -1
  364. package/dist/components/rtk-message-list-view.js +3 -3
  365. package/dist/components/rtk-message-view.js +1 -1
  366. package/dist/components/rtk-mic-toggle.js +4 -4
  367. package/dist/components/rtk-microphone-selector.js +1 -1
  368. package/dist/components/rtk-mixed-grid.js +5 -5
  369. package/dist/components/rtk-more-toggle.js +4 -4
  370. package/dist/components/rtk-mute-all-button.js +4 -4
  371. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  372. package/dist/components/rtk-name-tag.js +1 -1
  373. package/dist/components/rtk-network-indicator.js +2 -2
  374. package/dist/components/rtk-notification.js +1 -1
  375. package/dist/components/rtk-notifications.js +4 -4
  376. package/dist/components/rtk-overlay-modal.js +1 -1
  377. package/dist/components/rtk-paginated-list.js +1 -1
  378. package/dist/components/rtk-participant-count.js +2 -2
  379. package/dist/components/rtk-participant-setup.js +2 -2
  380. package/dist/components/rtk-participant-tile.js +1 -1
  381. package/dist/components/rtk-participant.js +1 -1
  382. package/dist/components/rtk-participants-audio.js +3 -3
  383. package/dist/components/rtk-participants-stage-list.js +1 -1
  384. package/dist/components/rtk-participants-stage-queue.js +1 -1
  385. package/dist/components/rtk-participants-toggle.js +5 -5
  386. package/dist/components/rtk-participants-viewer-list.js +1 -1
  387. package/dist/components/rtk-participants-waiting-list.js +1 -1
  388. package/dist/components/rtk-participants.js +12 -12
  389. package/dist/components/rtk-permissions-message.js +1 -1
  390. package/dist/components/rtk-pinned-message-selector.js +1 -1
  391. package/dist/components/rtk-pip-toggle.js +4 -4
  392. package/dist/components/rtk-plugin-main.js +1 -1
  393. package/dist/components/rtk-plugins-toggle.js +5 -5
  394. package/dist/components/rtk-plugins.js +1 -1
  395. package/dist/components/rtk-poll-form.js +1 -1
  396. package/dist/components/rtk-poll.js +1 -1
  397. package/dist/components/rtk-polls-toggle.js +5 -5
  398. package/dist/components/rtk-polls.js +1 -1
  399. package/dist/components/rtk-recording-indicator.js +2 -2
  400. package/dist/components/rtk-recording-toggle.js +4 -4
  401. package/dist/components/rtk-screen-share-toggle.js +4 -4
  402. package/dist/components/rtk-screenshare-view.js +2 -2
  403. package/dist/components/rtk-settings-audio.js +1 -1
  404. package/dist/components/rtk-settings-toggle.js +4 -4
  405. package/dist/components/rtk-settings-video.js +1 -1
  406. package/dist/components/rtk-settings.js +10 -10
  407. package/dist/components/rtk-setup-screen.js +6 -6
  408. package/dist/components/rtk-sidebar-ui.js +1 -1
  409. package/dist/components/rtk-sidebar.js +8 -8
  410. package/dist/components/rtk-simple-grid.js +2 -2
  411. package/dist/components/rtk-speaker-selector.js +1 -1
  412. package/dist/components/rtk-spinner.js +1 -1
  413. package/dist/components/rtk-spotlight-grid.js +2 -2
  414. package/dist/components/rtk-spotlight-indicator.js +1 -1
  415. package/dist/components/rtk-stage-toggle.js +4 -4
  416. package/dist/components/rtk-stage.js +2 -2
  417. package/dist/components/rtk-switch.js +1 -1
  418. package/dist/components/rtk-tab-bar.js +1 -1
  419. package/dist/components/rtk-text-composer-view.js +1 -1
  420. package/dist/components/rtk-text-message.js +1 -1
  421. package/dist/components/rtk-transcript.js +1 -1
  422. package/dist/components/rtk-transcripts.js +3 -3
  423. package/dist/components/rtk-ui-provider.js +2 -2
  424. package/dist/components/rtk-viewer-count.js +1 -1
  425. package/dist/components/rtk-waiting-screen.js +3 -3
  426. package/dist/docs/docs-components.json +493 -493
  427. package/dist/esm/{TextMessage-cdf76ced.js → TextMessage-7be044e5.js} +1 -1
  428. package/dist/esm/{chat-12f27725.js → chat-a2aa6547.js} +1 -1
  429. package/dist/esm/{config-74c02ff0.js → config-74593213.js} +2 -2
  430. package/dist/esm/{debounce-0c6e63e9.js → debounce-ca38a11a.js} +1 -1
  431. package/dist/esm/{index-e677f28b.js → index-b879a205.js} +1 -1
  432. package/dist/esm/index.js +7 -7
  433. package/dist/esm/loader.js +8 -8
  434. package/dist/esm/{merge-df16b7d2.js → merge-2096d7df.js} +1 -1
  435. package/dist/esm/{notification-dd8b1d52.js → notification-9b2b1de0.js} +1 -1
  436. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  437. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  438. package/dist/esm/rtk-ai.entry.js +2 -2
  439. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  440. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  441. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  442. package/dist/esm/rtk-avatar_26.entry.js +6 -6
  443. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  444. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +2 -2
  445. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  446. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  447. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  448. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  449. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  450. package/dist/esm/rtk-chat-message.entry.js +2 -2
  451. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  452. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  453. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  454. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  455. package/dist/esm/rtk-clock.entry.js +2 -2
  456. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  457. package/dist/esm/rtk-controlbar.entry.js +2 -2
  458. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  459. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  460. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  461. package/dist/esm/rtk-dialog.entry.js +2 -2
  462. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  463. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  464. package/dist/esm/rtk-file-message_3.entry.js +4 -4
  465. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  466. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  467. package/dist/esm/rtk-grid.entry.js +2 -2
  468. package/dist/esm/rtk-header.entry.js +2 -2
  469. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  470. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  471. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  472. package/dist/esm/rtk-leave-button.entry.js +2 -2
  473. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  474. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  475. package/dist/esm/rtk-logo.entry.js +2 -2
  476. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  477. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  478. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  479. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  480. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  481. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  482. package/dist/esm/rtk-name-tag.entry.js +2 -2
  483. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  484. package/dist/esm/rtk-notification.entry.js +4 -4
  485. package/dist/esm/rtk-notifications.entry.js +4 -4
  486. package/dist/esm/rtk-participant-count.entry.js +2 -2
  487. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  488. package/dist/esm/rtk-participant_2.entry.js +3 -3
  489. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  490. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  491. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  492. package/dist/esm/rtk-participants.entry.js +3 -3
  493. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  494. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  495. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  496. package/dist/esm/rtk-plugins_2.entry.js +2 -2
  497. package/dist/esm/rtk-poll_2.entry.js +2 -2
  498. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  499. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  500. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  501. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  502. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  503. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  504. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  505. package/dist/esm/rtk-settings.entry.js +2 -2
  506. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  507. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  508. package/dist/esm/rtk-sidebar.entry.js +3 -3
  509. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  510. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  511. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  512. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  513. package/dist/esm/rtk-stage.entry.js +2 -2
  514. package/dist/esm/rtk-transcript.entry.js +2 -2
  515. package/dist/esm/rtk-transcripts.entry.js +2 -2
  516. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  517. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  518. package/dist/esm/{sidebar-293fd302.js → sidebar-ee3aed61.js} +1 -1
  519. package/dist/esm/{ui-store-644e4cb0.js → ui-store-b8241bad.js} +8 -8
  520. package/dist/realtimekit-ui/index.esm.js +1 -1
  521. package/dist/realtimekit-ui/{p-0cfee5d3.entry.js → p-00b74ca8.entry.js} +1 -1
  522. package/dist/realtimekit-ui/{p-2ff77d78.js → p-04dd66bd.js} +1 -1
  523. package/dist/realtimekit-ui/p-09aa740a.entry.js +1 -0
  524. package/dist/realtimekit-ui/{p-78802076.entry.js → p-0f32251b.entry.js} +1 -1
  525. package/dist/realtimekit-ui/{p-26b4e422.entry.js → p-11aca374.entry.js} +1 -1
  526. package/dist/realtimekit-ui/{p-2b47921e.entry.js → p-150cb217.entry.js} +1 -1
  527. package/dist/realtimekit-ui/p-244fb46d.entry.js +1 -0
  528. package/dist/realtimekit-ui/{p-2f93d90b.entry.js → p-246115d9.entry.js} +1 -1
  529. package/dist/realtimekit-ui/{p-b5e5e206.js → p-254a4df0.js} +1 -1
  530. package/dist/realtimekit-ui/{p-de2fd3a4.entry.js → p-26b23244.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-40ab8b0f.entry.js → p-2af665ba.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-ad11a64a.entry.js → p-2b47b0b5.entry.js} +1 -1
  533. package/dist/realtimekit-ui/{p-d3acf8e9.entry.js → p-2b651d97.entry.js} +1 -1
  534. package/dist/realtimekit-ui/{p-879459bb.entry.js → p-2c80db34.entry.js} +1 -1
  535. package/dist/realtimekit-ui/{p-1517b428.entry.js → p-307879d9.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-aac14289.entry.js → p-31c7d9df.entry.js} +1 -1
  537. package/dist/realtimekit-ui/p-34cc97c9.js +1 -0
  538. package/dist/realtimekit-ui/{p-6741242b.entry.js → p-3bebafe6.entry.js} +1 -1
  539. package/dist/realtimekit-ui/p-3c5c66c8.entry.js +1 -0
  540. package/dist/realtimekit-ui/{p-36f7accb.entry.js → p-41a7ab2f.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-aee32120.entry.js → p-44e90581.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-0bd7eedc.entry.js → p-4716c1c4.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-ffac36ba.entry.js → p-483141b7.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-d1a6e546.entry.js → p-48897dc4.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-bea3ee08.entry.js → p-49aa8058.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-5a425dac.entry.js → p-4b0041a1.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-1f877b80.entry.js → p-4ddb05e4.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-1a4f0b00.entry.js → p-505be06b.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-0c3f571f.entry.js → p-519ba50e.entry.js} +1 -1
  550. package/dist/realtimekit-ui/p-52af9106.entry.js +1 -0
  551. package/dist/realtimekit-ui/{p-abbee273.entry.js → p-55b3e4be.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-f1c4d507.entry.js → p-5a22e8b9.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-315cd380.js → p-5a88d1ff.js} +1 -1
  554. package/dist/realtimekit-ui/{p-319034e1.entry.js → p-5c61dfde.entry.js} +1 -1
  555. package/dist/realtimekit-ui/p-5d8114f9.entry.js +1 -0
  556. package/dist/realtimekit-ui/{p-b5d279fd.entry.js → p-5f39ad41.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-6d0690f6.entry.js → p-61a34d5f.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-30a3007c.entry.js → p-63cb8e3a.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-de253745.entry.js → p-6c032fbe.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-cbbb09a2.entry.js → p-6dbb02f2.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-ddcb6b8b.js → p-707c42ae.js} +1 -1
  562. package/dist/realtimekit-ui/{p-6c2ef845.entry.js → p-72b0916b.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-07860158.entry.js → p-73432322.entry.js} +1 -1
  564. package/dist/realtimekit-ui/p-766bd706.entry.js +1 -0
  565. package/dist/realtimekit-ui/p-82316a18.entry.js +1 -0
  566. package/dist/realtimekit-ui/{p-d5af89d0.entry.js → p-82579bd5.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-9ff0dfdb.entry.js → p-89fd25d4.entry.js} +1 -1
  568. package/dist/realtimekit-ui/p-8b3eeca6.entry.js +1 -0
  569. package/dist/realtimekit-ui/{p-67e751d5.entry.js → p-8d6a935f.entry.js} +1 -1
  570. package/dist/realtimekit-ui/p-8ea7a369.js +1 -0
  571. package/dist/realtimekit-ui/{p-3ec85ff3.entry.js → p-9263d155.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-7c6cdccf.entry.js → p-93da75e0.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-76b45a0d.entry.js → p-9600bf67.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-06dcd55e.entry.js → p-967431f8.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-c8f0b23e.entry.js → p-96f6f88f.entry.js} +1 -1
  576. package/dist/realtimekit-ui/{p-1feec027.entry.js → p-97cc663a.entry.js} +1 -1
  577. package/dist/realtimekit-ui/p-98b8b0a0.entry.js +1 -0
  578. package/dist/realtimekit-ui/{p-b0eaeddc.entry.js → p-9b1b89db.entry.js} +1 -1
  579. package/dist/realtimekit-ui/p-a0808275.entry.js +1 -0
  580. package/dist/realtimekit-ui/{p-ff86148c.entry.js → p-a0ae819c.entry.js} +1 -1
  581. package/dist/realtimekit-ui/p-a2151682.entry.js +1 -0
  582. package/dist/realtimekit-ui/{p-91735c98.entry.js → p-a92b3672.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-71393f37.entry.js → p-a95d3ef4.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-8329d4ae.entry.js → p-b5be7629.entry.js} +1 -1
  585. package/dist/realtimekit-ui/p-b875e32a.entry.js +1 -0
  586. package/dist/realtimekit-ui/{p-e62baf7c.entry.js → p-b91796a7.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-f6fdb3c3.js → p-bfb8f955.js} +1 -1
  588. package/dist/realtimekit-ui/{p-e6fc5935.entry.js → p-c088221f.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-b7bbc696.entry.js → p-c08bf953.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-01ef7b4d.entry.js → p-c1f9b4d3.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-f4e8a0b3.entry.js → p-c7a707b3.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-975cbc2e.entry.js → p-d600f2bd.entry.js} +1 -1
  593. package/dist/realtimekit-ui/p-d612de05.entry.js +1 -0
  594. package/dist/realtimekit-ui/{p-4814e742.entry.js → p-d61c25ac.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-d432c842.entry.js → p-da3ac69f.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-d10fe6c7.entry.js → p-da8a7b83.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-50aaac81.entry.js → p-dfc7c0fe.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-6acdcb4f.entry.js → p-e2bc812a.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-6a1faaf1.entry.js → p-e3729841.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-8e9ff91e.entry.js → p-e455b108.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-43fa4d95.entry.js → p-e5530fdf.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-f423e125.entry.js → p-e669abc6.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-d6126ff7.js → p-e7488fe2.js} +1 -1
  604. package/dist/realtimekit-ui/{p-67c674d4.entry.js → p-ebd4a92e.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-4a5e203d.entry.js → p-ec2215b4.entry.js} +1 -1
  606. package/dist/realtimekit-ui/p-ed7517c5.entry.js +1 -0
  607. package/dist/realtimekit-ui/{p-cd086077.entry.js → p-ef686270.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-be0d2b90.js → p-f09ef297.js} +1 -1
  609. package/dist/realtimekit-ui/{p-c0e5ddd4.entry.js → p-f6282ce8.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-bbaf3e7d.entry.js → p-f8ea9f68.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-a43a7ffb.entry.js → p-f9b1ccc2.entry.js} +1 -1
  612. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  613. package/dist/types/lib/lang/default-language.d.ts +2 -2
  614. package/package.json +1 -1
  615. package/dist/realtimekit-ui/p-15297e89.entry.js +0 -1
  616. package/dist/realtimekit-ui/p-1efb8f44.entry.js +0 -1
  617. package/dist/realtimekit-ui/p-205590ae.entry.js +0 -1
  618. package/dist/realtimekit-ui/p-25f3e66a.entry.js +0 -1
  619. package/dist/realtimekit-ui/p-29549a05.entry.js +0 -1
  620. package/dist/realtimekit-ui/p-3125a6e7.entry.js +0 -1
  621. package/dist/realtimekit-ui/p-6038d773.entry.js +0 -1
  622. package/dist/realtimekit-ui/p-6573487e.entry.js +0 -1
  623. package/dist/realtimekit-ui/p-67f94206.entry.js +0 -1
  624. package/dist/realtimekit-ui/p-77e5605f.js +0 -1
  625. package/dist/realtimekit-ui/p-8dd8bab2.entry.js +0 -1
  626. package/dist/realtimekit-ui/p-8fc79c56.js +0 -1
  627. package/dist/realtimekit-ui/p-a09b6b2c.entry.js +0 -1
  628. package/dist/realtimekit-ui/p-cbfe61b9.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-d107248e.entry.js +0 -1
  630. package/dist/realtimekit-ui/p-d24dd330.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const rtkSettingsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--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-1000, 255 255 255))}header{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}.title{font-size:20px;line-height:1}.back-btn,.dismiss-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--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)}.back-btn:hover,.dismiss-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;min-width:var(--rtk-space-56, 224px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:16px;--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);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;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}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}main{display:flex;flex:1 1 0%;align-items:center;justify-content:center;padding-left:var(--rtk-space-6, 24px);padding-right:var(--rtk-space-6, 24px);box-sizing:border-box;width:100%;max-width:calc(100% - var(--rtk-space-56, 224px))}.dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([size='sm']) .dismiss-btn{top:var(--rtk-space-5, 20px);right:var(--rtk-space-4, 16px)}:host([size='sm']) aside{width:100%;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;max-width:100%;overflow-y:auto;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='sm']) main header{justify-content:center}:host([size='sm']) main header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}:host([size='sm']) main.active{display:block}";
6
6
  const RtkSettingsStyle0 = rtkSettingsCss;
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-55463a54.js';
2
2
  import { a as shorten } from './string-068ce30a.js';
3
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage, I as gracefulStorage } from './ui-store-644e4cb0.js';
3
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage, I as gracefulStorage } from './ui-store-b8241bad.js';
4
4
  import { R as Render } from './index-3f51790f.js';
5
- import { S as SyncWithStore } from './index-e677f28b.js';
5
+ import { S as SyncWithStore } from './index-b879a205.js';
6
6
 
7
7
  const rtkSetupScreenCss = ":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;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;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}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.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)}";
8
8
  const RtkSetupScreenStyle0 = rtkSetupScreenCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { S as SyncWithStore } from './index-e677f28b.js';
3
- import { e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
2
+ import { S as SyncWithStore } from './index-b879a205.js';
3
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
4
4
 
5
5
  const rtkSidebarUiCss = ":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n\n:host {\n position: relative;\n height: 100%;\n width: 100%;\n font-family: var(--rtk-font-family, sans-serif);\n z-index: 50;\n display: flex;\n flex-direction: column;\n\n container-type: size;\n container-name: sidebarui;\n}\n\n@container sidebarui (height < 370px) {\n .main-header {\n height: var(--rtk-space-8, 32px) !important;\n }\n .close {\n top: var(--rtk-space-0\\.5, 2px) !important;\n left: var(--rtk-space-0, 0px) !important;\n color: rgba(var(--rtk-colors-danger, 255 45 45) / 0.6);\n }\n}\n\n:host([view='sidebar']) {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n}\n\n:host([view='full-screen']) {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n max-width: 100%;\n border: none;\n}\n\n::slotted(*) {\n flex-grow: 1;\n}\n\n.close {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n left: var(--rtk-space-2, 8px);\n z-index: 10;\n}\n\n.main-header {\n position: relative;\n display: flex;\n height: var(--rtk-space-12, 48px);\n place-items: center;\n justify-content: center;\n}\n\n.main-header, \n.mobile-tabs {\n flex-shrink: 0;\n}\n\n.mobile-tabs {\n display: flex;\n place-items: center;\n justify-content: space-evenly;\n border-bottom: 1px solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.mobile-tabs button {\n margin: var(--rtk-space-0, 0px);\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n padding: var(--rtk-space-0, 0px);\n color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));\n height: var(--rtk-space-10, 40px);\n cursor: pointer;\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n font-weight: 500;\n border-bottom: 1px solid transparent;\n}\n\n.mobile-tabs button.active {\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\nheader h3 {\n font-size: 14px;\n font-weight: 500;\n}\n\n@media only screen and (max-device-height: 480px) and (orientation: landscape) {\n .main-header {\n display: none !important;\n }\n}\n\n.tab-participant-count-badge {\n display: inline-block;\n padding: 2px 5px;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n.tab-participant-count-badge:not(.selected-tab) {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.tab-participant-count-badge.requests-pending{\n background-color: rgba(var(--rtk-colors-danger));\n}\n";
6
6
  const RtkSidebarUiStyle0 = rtkSidebarUiCss;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { c as canViewChat, d as canViewPolls, a as canViewParticipants, b as canViewPlugins } from './sidebar-293fd302.js';
4
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { c as canViewChat, d as canViewPolls, a as canViewParticipants, b as canViewPlugins } from './sidebar-ee3aed61.js';
4
+ import { S as SyncWithStore } from './index-b879a205.js';
5
5
  import { R as Render } from './index-3f51790f.js';
6
6
 
7
7
  const rtkSidebarCss = ":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{margin-right:var(--rtk-space-0, 0px);height:100%;width:100%;max-width:var(--rtk-space-96, 384px);box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity))}:host([view='sidebar']){right:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-4, 16px);overflow:clip;border-radius:var(--rtk-border-radius-lg, 12px);--tw-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-900, 26 26 26));--tw-shadow:var(--tw-shadow-colored)}:host([view='full-screen']){top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);max-width:100%}:host(.floating){position:absolute !important;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);left:auto;z-index:50}.pinned-state{position:absolute;right:var(--rtk-space-1, 4px);display:inline-flex;width:var(--rtk-space-2, 8px);justify-content:flex-end}";
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
3
  import { R as Render } from './index-3f51790f.js';
4
4
  import { u as useGrid } from './grid-a3ca5a3e.js';
5
5
  import { i as index } from './ResizeObserver.es-02979d4e.js';
6
- import { S as SyncWithStore } from './index-e677f28b.js';
6
+ import { S as SyncWithStore } from './index-b879a205.js';
7
7
 
8
8
  const rtkSimpleGridCss = ":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;height:100%;width:100%}";
9
9
  const RtkSimpleGridStyle0 = rtkSimpleGridCss;
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
3
  import { d as defaultGridSize } from './grid-a3ca5a3e.js';
4
4
  import { R as Render } from './index-3f51790f.js';
5
- import { S as SyncWithStore } from './index-e677f28b.js';
5
+ import { S as SyncWithStore } from './index-b879a205.js';
6
6
 
7
7
  const rtkSpotlightGridCss = ":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:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";
8
8
  const RtkSpotlightGridStyle0 = rtkSpotlightGridCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const rtkSpotlightIndicatorCss = ":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{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}";
6
6
  const RtkSpotlightIndicatorStyle0 = rtkSpotlightIndicatorCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const canJoinStage = (meeting) => {
6
6
  var _a, _b;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const rtkStageCss = ":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;position:relative;overflow:hidden}";
6
6
  const RtkStageStyle0 = rtkStageCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const rtkTranscriptCss = ":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{pointer-events:none;display:block;color:rgb(var(--rtk-colors-text-1000, 255 255 255));display:flex;justify-content:center;vertical-align:middle;animation:show 0.4s ease;transition:0.4s;z-index:5;width:100%}.ctr{box-sizing:border-box;display:inline-flex;height:100%;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--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);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto;padding:var(--rtk-space-3, 12px);overflow:auto;max-width:50%}.message{margin:var(--rtk-space-0, 0px);display:inline-block;justify-content:center;max-width:100%;text-wrap:wrap;line-height:1.5rem}.message .name{font-weight:bold}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateY(120px)}100%{opacity:1;transform:translateY(0px)}}@keyframes exit{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-120px)}}:host([size='sm']){font-size:14px}";
6
6
  const RtkTranscriptStyle0 = rtkTranscriptCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, e as writeTask, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { c as createDefaultConfig, i as useLanguage, P as clone } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { c as createDefaultConfig, i as useLanguage, P as clone } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const rtkTranscriptsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";
6
6
  const RtkTranscriptsStyle0 = rtkTranscriptsCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './ui-store-644e4cb0.js';
3
- import { d as deepMerge, p as provideRtkDesignSystem } from './merge-df16b7d2.js';
2
+ import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './ui-store-b8241bad.js';
3
+ import { d as deepMerge, p as provideRtkDesignSystem } from './merge-2096d7df.js';
4
4
 
5
5
  const rtkUiProviderCss = ":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;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}";
6
6
  const RtkUiProviderStyle0 = rtkUiProviderCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-644e4cb0.js';
3
- import { S as SyncWithStore } from './index-e677f28b.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-b8241bad.js';
3
+ import { S as SyncWithStore } from './index-b879a205.js';
4
4
 
5
5
  const rtkWaitingScreenCss = ":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}.centered{display:flex;flex-direction:column;align-items:center}rtk-logo{margin-bottom:var(--rtk-space-8, 32px);height:var(--rtk-space-12, 48px)}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))}";
6
6
  const RtkWaitingScreenStyle0 = rtkWaitingScreenCss;
@@ -1,4 +1,4 @@
1
- import { N as isLiveStreamViewer } from './ui-store-644e4cb0.js';
1
+ import { N as isLiveStreamViewer } from './ui-store-b8241bad.js';
2
2
 
3
3
  const canViewChat = (meeting) => {
4
4
  if (meeting && !meeting.chat)
@@ -3457,7 +3457,7 @@ const defaultLanguage = {
3457
3457
  'screenshare.shared': 'Your screen is being shared.',
3458
3458
  'screenshare.start': 'Share Screen',
3459
3459
  'screenshare.stop': 'Stop Sharing',
3460
- 'screenshare.error.unknown': 'An error occured while starting screenshare.',
3460
+ 'screenshare.error.unknown': 'An error occurred while starting screenshare.',
3461
3461
  'screenshare.error.max_count': 'Maximum screen share limit reached.',
3462
3462
  plugins: 'Plugins',
3463
3463
  perm_denied: 'Permission denied by browser.',
@@ -3495,9 +3495,9 @@ const defaultLanguage = {
3495
3495
  'perm_sys_denied.audio.windows.message': `Go to windows settings, select 'Settings > Privacy > Microphone'. Allow permissions to your browser and reload this application.`,
3496
3496
  'perm_sys_denied.video.windows.message': `Go to windows settings, select 'Settings > Privacy > Camera'. Allow permissions to your browser and reload this application.`,
3497
3497
  'perm_sys_denied.screenshare.windows.message': `Go to windows settings, select 'Settings > Privacy > Screenshare'. Allow permissions to your browser and reload this application.`,
3498
- 'perm_sys_denied.audio.android.message': `On you device, navigate to 'Settings > Apps'. Select your browser, allow Microphone permissions and reload this application.`,
3499
- 'perm_sys_denied.video.android.message': `On you device, navigate to 'Settings > Apps'. Select your browser, allow Camera permissions and reload this application.`,
3500
- 'perm_sys_denied.screenshare.android.message': `On you device, navigate to 'Settings > Apps'. Select your browser, allow Screenshare permissions and reload this application.`,
3498
+ 'perm_sys_denied.audio.android.message': `On your device, navigate to 'Settings > Apps'. Select your browser, allow Microphone permissions and reload this application.`,
3499
+ 'perm_sys_denied.video.android.message': `On your device, navigate to 'Settings > Apps'. Select your browser, allow Camera permissions and reload this application.`,
3500
+ 'perm_sys_denied.screenshare.android.message': `On your device, navigate to 'Settings > Apps'. Select your browser, allow Screenshare permissions and reload this application.`,
3501
3501
  'perm_sys_denied.audio.others.message': `Navigate to your system settings. Allow 'Microphone' permissions for your browser and reload this application.`,
3502
3502
  'perm_sys_denied.video.others.message': `Navigate to your system settings. Allow 'Camera' permissions for your browser and reload this application.`,
3503
3503
  'perm_sys_denied.screenshare.others.message': `Navigate to your system settings. Allow 'Screenshare' permissions for your browser and reload this application.`,
@@ -3622,7 +3622,7 @@ const defaultLanguage = {
3622
3622
  'ai.personal': 'Personal',
3623
3623
  'ai.caption_view': 'Caption View',
3624
3624
  'ai.chat.tooltip': 'This conversation will just be visible to you and not to others in the call.',
3625
- 'ai.chat.summerise': 'Hey AI, summarise this call',
3625
+ 'ai.chat.summarize': 'Hey AI, summarize this call',
3626
3626
  'ai.chat.agenda': "Hey AI, what is today's agenda?",
3627
3627
  search: 'Search',
3628
3628
  'search.could_not_find': "Couldn't find a participant with the specified name or ID.",
@@ -3654,7 +3654,7 @@ const defaultLanguage = {
3654
3654
  'livestream.waiting_on_manual_ingestion': 'Please ingest livestream media.',
3655
3655
  'livestream.error.not_supported': 'Player not supported.',
3656
3656
  'livestream.error.not_found': 'Playback URL not found.',
3657
- 'livestream.error.unknown': 'An unknown error occured.',
3657
+ 'livestream.error.unknown': 'An unknown error occurred.',
3658
3658
  'livestream.error.sync': 'Could not sync livestream please try again later.',
3659
3659
  'livestream.error.start': 'Error while starting livestream.',
3660
3660
  'livestream.error.stop': 'Error while stopping livestream.',
@@ -3669,7 +3669,7 @@ const defaultLanguage = {
3669
3669
  'remote_access.empty': 'There are no remote requests, yet.',
3670
3670
  'remote_access.requests': 'The following people have requested remote control to your screen share.',
3671
3671
  'remote_access.allow': 'Please select whom you want to give access to.',
3672
- 'remote_access.grant': 'Grant acess',
3672
+ 'remote_access.grant': 'Grant access',
3673
3673
  'remote_access.indicator': 'Any plugin or screenshare you switch to will sync the change across the meeting',
3674
3674
  chat: 'Chat',
3675
3675
  'chat.new': 'New',
@@ -3703,7 +3703,7 @@ const defaultLanguage = {
3703
3703
  'chat.pinned_msgs': 'Pinned messages',
3704
3704
  'chat.toggle_pinned_msgs': 'Toggle pinned messages',
3705
3705
  'date.today': 'Today',
3706
- 'date.yesteday': 'Yesterday',
3706
+ 'date.yesterday': 'Yesterday',
3707
3707
  'date.sunday': 'Sunday',
3708
3708
  'date.monday': 'Monday',
3709
3709
  'date.tuesday': 'Tuesday',
@@ -1 +1 @@
1
- import{c as t}from"./p-8fc79c56.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-8fc79c56.js";export{p as provideRtkDesignSystem}from"./p-f6fdb3c3.js";import{g as s}from"./p-ddcb6b8b.js";export{e as extendConfig,g as generateConfig}from"./p-ddcb6b8b.js";export{R as RtkNotificationsAudio}from"./p-2ff77d78.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-b5e5e206.js";import"./p-a599f720.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";s.length>0&&(a=`.${s.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{o=`${t}[${e[0]}=${e[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[o];return void 0===n&&(r[o]={},n=r[o]),new m(n,this.config,o)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
1
+ import{c as t}from"./p-8ea7a369.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-8ea7a369.js";export{p as provideRtkDesignSystem}from"./p-bfb8f955.js";import{g as s}from"./p-707c42ae.js";export{e as extendConfig,g as generateConfig}from"./p-707c42ae.js";export{R as RtkNotificationsAudio}from"./p-04dd66bd.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-254a4df0.js";import"./p-a599f720.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let a=t,o="";s.length>0&&(o=`.${s.join(".")}`,a=`${t}${o}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{a=`${t}[${e[0]}=${e[1]}]${o}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[a];return void 0===n&&(r[a]={},n=r[a]),new m(n,this.config,a)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
@@ -1 +1 @@
1
- import{r as t,d as i,h as s,a as e}from"./p-a599f720.js";import{e as a,i as r,F as n}from"./p-8fc79c56.js";import{S as h}from"./p-315cd380.js";var o=function(t,i,s,e){var a,r=arguments.length,n=r<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 h=t.length-1;h>=0;h--)(a=t[h])&&(n=(r<3?a(n):r>3?a(i,s,n):a(i,s))||n);return r>3&&n&&Object.defineProperty(i,s,n),n};const l=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.iconPack=a,this.t=r(),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 i,s;t&&(this.livestreamState=null===(i=this.meeting.livestream)||void 0===i?void 0:i.state,null===(s=this.meeting.livestream)||void 0===s||s.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,i;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===(i=this.meeting.livestream)||void 0===i?void 0:i.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?n(this.meeting)?s(e,null,s("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})):s(e,{"data-hidden":!0}):null}static get watchers(){return{meeting:["meetingChanged"]}}};o([h()],l.prototype,"meeting",void 0),o([h()],l.prototype,"iconPack",void 0),o([h()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{l as rtk_livestream_toggle}
1
+ import{r as t,d as i,h as s,a as e}from"./p-a599f720.js";import{e as a,i as r,F as n}from"./p-8ea7a369.js";import{S as h}from"./p-5a88d1ff.js";var o=function(t,i,s,e){var a,r=arguments.length,n=r<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 h=t.length-1;h>=0;h--)(a=t[h])&&(n=(r<3?a(n):r>3?a(i,s,n):a(i,s))||n);return r>3&&n&&Object.defineProperty(i,s,n),n};const l=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.iconPack=a,this.t=r(),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 i,s;t&&(this.livestreamState=null===(i=this.meeting.livestream)||void 0===i?void 0:i.state,null===(s=this.meeting.livestream)||void 0===s||s.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,i;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===(i=this.meeting.livestream)||void 0===i?void 0:i.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?n(this.meeting)?s(e,null,s("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})):s(e,{"data-hidden":!0}):null}static get watchers(){return{meeting:["meetingChanged"]}}};o([h()],l.prototype,"meeting",void 0),o([h()],l.prototype,"iconPack",void 0),o([h()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{l as rtk_livestream_toggle}
@@ -1 +1 @@
1
- import{G as t}from"./p-8fc79c56.js";const i={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class o{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,o=3e3){var s;this.playing||(this.playing=!0,this.audio.src=i[t],this.audio.volume=.3,null===(s=this.audio.play())||void 0===s||s.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(i){var o,s,a;t(this.meeting)||await(null===(a=null===(s=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===s?void 0:s.call(o,i))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}
1
+ import{G as t}from"./p-8ea7a369.js";const i={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class o{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,o=3e3){var s;this.playing||(this.playing=!0,this.audio.src=i[t],this.audio.volume=.3,null===(s=this.audio.play())||void 0===s||s.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(i){var o,s,a;t(this.meeting)||await(null===(a=null===(s=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===s?void 0:s.call(o,i))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}
@@ -0,0 +1 @@
1
+ import{r,d as t,h as a,a as o}from"./p-a599f720.js";import{e,i as s}from"./p-8ea7a369.js";import{g as c}from"./p-254a4df0.js";import{S as i}from"./p-5a88d1ff.js";var n=function(r,t,a,o){var e,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(r,t,a,o);else for(var i=r.length-1;i>=0;i--)(e=r[i])&&(c=(s<3?e(c):s>3?e(t,a,c):e(t,a))||c);return s>3&&c&&Object.defineProperty(t,a,c),c};const p=class{constructor(a){r(this,a),this.groupChanged=t(this,"rtkChatGroupChanged",7),this.unreadCounts={},this.groups=[],this.iconPack=e,this.t=s(),this.showParticipantsPanel=!1,this.query="",this.onScopeClick=r=>{this.showParticipantsPanel=!1,this.groupChanged.emit(r)}}toggleParticipants(){this.showParticipantsPanel=!this.showParticipantsPanel}getGroups(){return this.groups.filter((r=>r.name.toLowerCase().includes(this.query.toLowerCase())))}getName(){if(!this.selectedGroupId||"everyone"===this.selectedGroupId)return this.t("everyone");const r=this.groups.find((r=>r.userId===this.selectedGroupId));return r?r.name:this.t("everyone")}render(){const r=Object.keys(this.unreadCounts).reduce(((r,t)=>r+this.unreadCounts[t]),0);return a(o,null,a("div",{class:"chat-scope-selector"},this.showParticipantsPanel&&a("div",{class:"participants-container"},a("div",{class:"search",part:"search"},a("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),a("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),value:this.query,onInput:r=>{this.query=r.target.value},part:"search-input"})),a("ul",{class:"scope-list scrollbar"},""===this.query&&a("li",{class:"scope scope-special",onClick:()=>this.onScopeClick("everyone")},a("div",{class:"everyone-icon"},a("rtk-icon",{icon:this.iconPack.participants})),this.t("everyone"),this.unreadCounts.everyone>0&&a("div",{class:"unread-count",part:"unread-count"},a("span",null,this.unreadCounts.everyone))),this.getGroups().map((r=>{const t=this.unreadCounts[c([this.selfUserId,r.userId])];return a("li",{class:"scope",onClick:()=>this.onScopeClick(r),key:r.userId},r.name,t>0&&a("div",{class:"unread-count",part:"unread-count"},a("span",null,t)))})))),a("button",{onClick:()=>this.toggleParticipants()},a("span",null,`${this.t("to")} ${this.getName()}`," ",r>0&&a("div",{class:"unread-count selector"},a("span",null,r))),a("rtk-icon",{icon:this.showParticipantsPanel?this.iconPack.chevron_up:this.iconPack.chevron_down}))))}};n([i()],p.prototype,"iconPack",void 0),n([i()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;align-items:center;justify-content:space-between;--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-1000, 255 255 255));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.chat-scope-selector .search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);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}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}";export{p as rtk_chat_selector_ui}
@@ -1 +1 @@
1
- import{r as t,h as i,a as e,e as a,d as r}from"./p-a599f720.js";import{h as s}from"./p-3f882e7c.js";import{e as o,i as n,G as c}from"./p-8fc79c56.js";import{S as l}from"./p-315cd380.js";const d=(t,i)=>{if(null==t)return;const e=Math.round(1.5),a=[...Array(3)].map(((t,a)=>{let r=a;return r>e-1&&(r=3-r-1),Math.round((r+1)/(e+1)*i)})),{width:r,height:s}=t,o=t.getContext("2d");let n=2;const c=1*r/a.length,l=c-4;o.clearRect(0,0,r,s),o.fillStyle="rgb(0,0,0,0.0)",o.fillRect(0,0,r,s);const d=getComputedStyle(t).getPropertyValue("color");o.fillStyle=d,o.strokeStyle=d,o.lineCap="round",o.lineWidth=4,o.beginPath();for(const t of a){const i=Math.min(-Math.abs(1.2*t/10*s)+s/2,s/2-2.5),e=Math.max(2*(s/2-i),5);o.moveTo(n+l/2,i),o.lineTo(n+l/2,i+e),n+=c}o.stroke()};var h=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const p=class{constructor(i){t(this,i),this.variant="bars",this.iconPack=o,this.t=n(),this.hideMuted=!1,this.isScreenShare=!1,this.volume=0}connectedCallback(){this.participantChanged(this.participant)}componentDidLoad(){d(this.visualizer,0)}disconnectedCallback(){var t,i,e;null===(t=this.hark)||void 0===t||t.stop(),this.audioUpdateListener&&(null===(i=this.participant)||void 0===i||i.removeListener("audioUpdate",this.audioUpdateListener)),this.screenShareUpdateListener&&(null===(e=this.participant)||void 0===e||e.removeListener("screenShareUpdate",this.screenShareUpdateListener))}participantChanged(t){null!=t&&(this.audioUpdateListener=({audioEnabled:t,audioTrack:i})=>{var e;if(null===(e=this.hark)||void 0===e||e.stop(),t&&null!=i){this.audioEnabled=!0;const t=new MediaStream;t.addTrack(i),this.calcVolume(t),d(this.visualizer,0)}else this.volume=0,this.audioEnabled=!1},this.isScreenShare?(this.screenShareUpdateListener=({screenShareEnabled:t,screenShareTracks:i})=>{this.audioUpdateListener({audioEnabled:t&&null!=i.audio,audioTrack:i.audio})},this.screenShareUpdateListener({screenShareEnabled:t.screenShareEnabled,screenShareTracks:{audio:t.screenShareTracks.audio,video:t.screenShareTracks.video}}),t.addListener("screenShareUpdate",this.screenShareUpdateListener)):(this.audioUpdateListener(t),t.addListener("audioUpdate",this.audioUpdateListener)))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const i=this.volume;let e=Math.round(10**(t/115)*10);e<3&&(e=0);let a=Math.round((2*i+e)/3);i!==a&&(this.volume=a,d(this.visualizer,this.volume))}))}render(){return this.hideMuted&&!this.audioEnabled?null:i(e,null,i("div",{class:{audioActivePadding:this.hideMuted&&this.audioEnabled}},i("canvas",{width:"24",height:"24",class:{bars:!0,visible:this.audioEnabled},ref:t=>this.visualizer=t,part:"canvas"}),!this.isScreenShare&&!this.audioEnabled&&i("rtk-icon",{icon:this.iconPack.mic_off,part:"mic-off-icon"})))}static get watchers(){return{participant:["participantChanged"]}}};h([l()],p.prototype,"iconPack",void 0),h([l()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;width:-moz-fit-content;width:fit-content}.audioActivePadding{padding:var(--rtk-space-1, 4px)}canvas,rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){transform:scale(0.9)}canvas{display:none}canvas.visible{display:block}canvas.bars{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";var v=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const g=class{constructor(i){t(this,i),this.iconPack=o,this.variant="full",this.t=n(),this.audioinputDevices=[],this.canProduceAudio=!0,this.currentDevices={audio:void 0},this.stageStateListener=()=>{this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getAudioDevices();this.audioinputDevices=t},this.deviceUpdateListener=({device:t})=>{"audioinput"===t.kind&&(this.currentDevices={audio:t})},this.mediaPermissionUpdateListener=async({kind:t,message:i})=>{this.meeting&&"audio"===t&&"ACCEPTED"===i&&(this.audioinputDevices=await this.meeting.self.getAudioDevices())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,e,a,r;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStateListener),null===(e=this.meeting)||void 0===e||e.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(a=this.meeting)||void 0===a||a.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(r=this.meeting)||void 0===r||r.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener)}meetingChanged(t){t&&a((async()=>{var i,e;const{self:a,stage:r}=t,s=await t.self.getAudioDevices(),o=null===(i=t.self.getCurrentDevices())||void 0===i?void 0:i.audio;this.currentDevices={audio:o},this.canProduceAudio="ALLOWED"===t.self.permissions.canProduceAudio,null==r||r.addListener("stageStatusUpdate",this.stageStateListener),a.addListener("deviceListUpdate",this.deviceListUpdateListener),a.addListener("deviceUpdate",this.deviceUpdateListener),a.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),this.audioinputDevices=null!=o?[null!==(e=s.find((t=>t.deviceId===o.deviceId)))&&void 0!==e?e:o,...s.filter((t=>t.deviceId!==o.deviceId))]:s}))}setDevice(t){var i;if(c(this.meeting))return;const e=this.audioinputDevices.find((i=>i.deviceId===t));null!=e&&(this.currentDevices={audio:e},null===(i=this.meeting)||void 0===i||i.self.setDevice(e))}render(){if(!this.meeting)return null;let t=0;return i(e,null,this.canProduceAudio&&i("div",{part:"microphone-selection",class:"group container "+this.variant},i("label",{slot:"label"},"inline"!==this.variant&&this.t("settings.microphone_input"),i("rtk-icon",{icon:this.iconPack.mic_on,size:"sm"})),i("div",{class:"row"},i("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.audioinputDevices.map((({deviceId:e,label:a})=>{var r;return i("option",{value:e,selected:(null===(r=this.currentDevices.audio)||void 0===r?void 0:r.deviceId)===e},a||"Microphone "+ ++t)}))),i("slot",{name:"indicator"}))))}static get watchers(){return{meeting:["meetingChanged"]}}};v([l()],g.prototype,"meeting",void 0),v([l()],g.prototype,"iconPack",void 0),v([l()],g.prototype,"t",void 0),g.style=".rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline.container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}";var u=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const k=class{constructor(i){t(this,i),this.variant="full",this.iconPack=o,this.t=n(),this.speakerDevices=[],this.currentDevices={speaker:void 0},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getSpeakerDevices();this.speakerDevices=t},this.deviceUpdateListener=({device:t})=>{"audiooutput"===t.kind&&(this.currentDevices={speaker:t})},this.mediaPermissionUpdate=async({kind:t,message:i})=>{this.meeting&&"audio"===t&&"ACCEPTED"===i&&(this.speakerDevices=await this.meeting.self.getSpeakerDevices())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,e;null===(t=this.meeting)||void 0===t||t.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(e=this.meeting)||void 0===e||e.self.addListener("mediaPermissionUpdate",this.mediaPermissionUpdate)}meetingChanged(t){t&&a((async()=>{var i,e;const{self:a}=t,r=await t.self.getSpeakerDevices(),s=null===(i=t.self.getCurrentDevices())||void 0===i?void 0:i.speaker;this.currentDevices={speaker:s},a.addListener("deviceListUpdate",this.deviceListUpdateListener),a.addListener("deviceUpdate",this.deviceUpdateListener),a.addListener("mediaPermissionUpdate",this.mediaPermissionUpdate),this.speakerDevices=null!=s?[null!==(e=r.find((t=>t.deviceId===s.deviceId)))&&void 0!==e?e:s,...r.filter((t=>t.deviceId!==s.deviceId))]:r}))}testAudio(){var t;null===(t=this.testAudioEl)||void 0===t||t.play()}setDevice(t){var i,e;if(c(this.meeting))return;const a=this.speakerDevices.find((i=>i.deviceId===t));this.currentDevices={speaker:a},null!=a&&(null===(i=this.meeting)||void 0===i||i.self.setDevice(a),null===(e=this.testAudioEl)||void 0===e||e.setSinkId(a.deviceId))}render(){if(!this.meeting)return null;let t=0;return i(e,null,i("audio",{preload:"auto",src:"https://rtk-assets.realtime.cloudflare.com/ui-kit/speaker-test.mp3",ref:t=>this.testAudioEl=t}),i("div",{class:"group "+this.variant,part:"speaker-selection"},this.speakerDevices.length>0&&!c(this.meeting)&&i("div",{class:"container"},i("label",null,"inline"!==this.variant&&this.t("settings.speaker_output"),i("rtk-icon",{icon:this.iconPack.speaker,size:"sm"})),i("div",{class:"row"},i("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.speakerDevices.map((({deviceId:e,label:a})=>{var r;return i("option",{value:e,selected:(null===(r=this.currentDevices.speaker)||void 0===r?void 0:r.deviceId)===e},a||"Speaker "+ ++t)}))))),"full"===this.variant&&i("rtk-button",{variant:"secondary",onClick:()=>this.testAudio()},i("rtk-icon",{icon:this.iconPack.speaker,slot:"start"}),this.t("test"))))}static get watchers(){return{meeting:["meetingChanged"]}}};u([l()],k.prototype,"meeting",void 0),u([l()],k.prototype,"states",void 0),u([l()],k.prototype,"iconPack",void 0),u([l()],k.prototype,"t",void 0),k.style=".rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline .container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}";var f=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const b=class{constructor(i){t(this,i),this.onChange=r(this,"rtkChange",4),this.checked=!1,this.readonly=!1,this.disabled=!1,this.iconPack=o,this.t=n(),this.onClick=()=>{this.readonly||this.disabled||(this.checked=!this.checked)},this.onKeyPress=t=>{if(!this.readonly)switch(t.key){case"Enter":case" ":this.checked=!this.checked}}}connectedCallback(){this.checkedChange(this.checked)}checkedChange(t){this.checked=t,this.onChange.emit(t)}render(){return i(e,{key:"af0bcf0202cda77f3ec27510b867ed149c478bdf",role:"switch",tabIndex:this.disabled&&0,"aria-readonly":this.readonly,"aria-checked":this.checked,"aria-disabled":this.disabled,class:{checked:this.checked},onClick:this.onClick,onKeyPress:this.onKeyPress},i("div",{key:"e6f5eeb8acf33e9f058b029423eddc099033053c",class:"switch",part:"switch"}))}static get watchers(){return{checked:["checkedChange"]}}};f([l()],b.prototype,"iconPack",void 0),f([l()],b.prototype,"t",void 0),b.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-10, 40px);align-items:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;background-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));cursor:pointer}.switch{box-sizing:border-box;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);background-color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:9999px;transition-property:var(--rtk-transition-property, all);transition-duration:200ms}:host(.checked){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host(.checked) .switch{transform:translateX(100%)}:host([readonly]),:host([disabled]){cursor:not-allowed;opacity:0.6}";export{p as rtk_audio_visualizer,g as rtk_microphone_selector,k as rtk_speaker_selector,b as rtk_switch}
1
+ import{r as t,h as i,a as e,e as a,d as r}from"./p-a599f720.js";import{h as s}from"./p-3f882e7c.js";import{e as o,i as n,G as c}from"./p-8ea7a369.js";import{S as l}from"./p-5a88d1ff.js";const d=(t,i)=>{if(null==t)return;const e=Math.round(1.5),a=[...Array(3)].map(((t,a)=>{let r=a;return r>e-1&&(r=3-r-1),Math.round((r+1)/(e+1)*i)})),{width:r,height:s}=t,o=t.getContext("2d");let n=2;const c=1*r/a.length,l=c-4;o.clearRect(0,0,r,s),o.fillStyle="rgb(0,0,0,0.0)",o.fillRect(0,0,r,s);const d=getComputedStyle(t).getPropertyValue("color");o.fillStyle=d,o.strokeStyle=d,o.lineCap="round",o.lineWidth=4,o.beginPath();for(const t of a){const i=Math.min(-Math.abs(1.2*t/10*s)+s/2,s/2-2.5),e=Math.max(2*(s/2-i),5);o.moveTo(n+l/2,i),o.lineTo(n+l/2,i+e),n+=c}o.stroke()};var h=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const p=class{constructor(i){t(this,i),this.variant="bars",this.iconPack=o,this.t=n(),this.hideMuted=!1,this.isScreenShare=!1,this.volume=0}connectedCallback(){this.participantChanged(this.participant)}componentDidLoad(){d(this.visualizer,0)}disconnectedCallback(){var t,i,e;null===(t=this.hark)||void 0===t||t.stop(),this.audioUpdateListener&&(null===(i=this.participant)||void 0===i||i.removeListener("audioUpdate",this.audioUpdateListener)),this.screenShareUpdateListener&&(null===(e=this.participant)||void 0===e||e.removeListener("screenShareUpdate",this.screenShareUpdateListener))}participantChanged(t){null!=t&&(this.audioUpdateListener=({audioEnabled:t,audioTrack:i})=>{var e;if(null===(e=this.hark)||void 0===e||e.stop(),t&&null!=i){this.audioEnabled=!0;const t=new MediaStream;t.addTrack(i),this.calcVolume(t),d(this.visualizer,0)}else this.volume=0,this.audioEnabled=!1},this.isScreenShare?(this.screenShareUpdateListener=({screenShareEnabled:t,screenShareTracks:i})=>{this.audioUpdateListener({audioEnabled:t&&null!=i.audio,audioTrack:i.audio})},this.screenShareUpdateListener({screenShareEnabled:t.screenShareEnabled,screenShareTracks:{audio:t.screenShareTracks.audio,video:t.screenShareTracks.video}}),t.addListener("screenShareUpdate",this.screenShareUpdateListener)):(this.audioUpdateListener(t),t.addListener("audioUpdate",this.audioUpdateListener)))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const i=this.volume;let e=Math.round(10**(t/115)*10);e<3&&(e=0);let a=Math.round((2*i+e)/3);i!==a&&(this.volume=a,d(this.visualizer,this.volume))}))}render(){return this.hideMuted&&!this.audioEnabled?null:i(e,null,i("div",{class:{audioActivePadding:this.hideMuted&&this.audioEnabled}},i("canvas",{width:"24",height:"24",class:{bars:!0,visible:this.audioEnabled},ref:t=>this.visualizer=t,part:"canvas"}),!this.isScreenShare&&!this.audioEnabled&&i("rtk-icon",{icon:this.iconPack.mic_off,part:"mic-off-icon"})))}static get watchers(){return{participant:["participantChanged"]}}};h([l()],p.prototype,"iconPack",void 0),h([l()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;width:-moz-fit-content;width:fit-content}.audioActivePadding{padding:var(--rtk-space-1, 4px)}canvas,rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){transform:scale(0.9)}canvas{display:none}canvas.visible{display:block}canvas.bars{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";var v=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const g=class{constructor(i){t(this,i),this.iconPack=o,this.variant="full",this.t=n(),this.audioinputDevices=[],this.canProduceAudio=!0,this.currentDevices={audio:void 0},this.stageStateListener=()=>{this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getAudioDevices();this.audioinputDevices=t},this.deviceUpdateListener=({device:t})=>{"audioinput"===t.kind&&(this.currentDevices={audio:t})},this.mediaPermissionUpdateListener=async({kind:t,message:i})=>{this.meeting&&"audio"===t&&"ACCEPTED"===i&&(this.audioinputDevices=await this.meeting.self.getAudioDevices())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,e,a,r;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStateListener),null===(e=this.meeting)||void 0===e||e.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(a=this.meeting)||void 0===a||a.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(r=this.meeting)||void 0===r||r.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener)}meetingChanged(t){t&&a((async()=>{var i,e;const{self:a,stage:r}=t,s=await t.self.getAudioDevices(),o=null===(i=t.self.getCurrentDevices())||void 0===i?void 0:i.audio;this.currentDevices={audio:o},this.canProduceAudio="ALLOWED"===t.self.permissions.canProduceAudio,null==r||r.addListener("stageStatusUpdate",this.stageStateListener),a.addListener("deviceListUpdate",this.deviceListUpdateListener),a.addListener("deviceUpdate",this.deviceUpdateListener),a.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),this.audioinputDevices=null!=o?[null!==(e=s.find((t=>t.deviceId===o.deviceId)))&&void 0!==e?e:o,...s.filter((t=>t.deviceId!==o.deviceId))]:s}))}setDevice(t){var i;if(c(this.meeting))return;const e=this.audioinputDevices.find((i=>i.deviceId===t));null!=e&&(this.currentDevices={audio:e},null===(i=this.meeting)||void 0===i||i.self.setDevice(e))}render(){if(!this.meeting)return null;let t=0;return i(e,null,this.canProduceAudio&&i("div",{part:"microphone-selection",class:"group container "+this.variant},i("label",{slot:"label"},"inline"!==this.variant&&this.t("settings.microphone_input"),i("rtk-icon",{icon:this.iconPack.mic_on,size:"sm"})),i("div",{class:"row"},i("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.audioinputDevices.map((({deviceId:e,label:a})=>{var r;return i("option",{value:e,selected:(null===(r=this.currentDevices.audio)||void 0===r?void 0:r.deviceId)===e},a||"Microphone "+ ++t)}))),i("slot",{name:"indicator"}))))}static get watchers(){return{meeting:["meetingChanged"]}}};v([l()],g.prototype,"meeting",void 0),v([l()],g.prototype,"iconPack",void 0),v([l()],g.prototype,"t",void 0),g.style=".rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline.container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}";var u=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const k=class{constructor(i){t(this,i),this.variant="full",this.iconPack=o,this.t=n(),this.speakerDevices=[],this.currentDevices={speaker:void 0},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getSpeakerDevices();this.speakerDevices=t},this.deviceUpdateListener=({device:t})=>{"audiooutput"===t.kind&&(this.currentDevices={speaker:t})},this.mediaPermissionUpdate=async({kind:t,message:i})=>{this.meeting&&"audio"===t&&"ACCEPTED"===i&&(this.speakerDevices=await this.meeting.self.getSpeakerDevices())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,e;null===(t=this.meeting)||void 0===t||t.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(e=this.meeting)||void 0===e||e.self.addListener("mediaPermissionUpdate",this.mediaPermissionUpdate)}meetingChanged(t){t&&a((async()=>{var i,e;const{self:a}=t,r=await t.self.getSpeakerDevices(),s=null===(i=t.self.getCurrentDevices())||void 0===i?void 0:i.speaker;this.currentDevices={speaker:s},a.addListener("deviceListUpdate",this.deviceListUpdateListener),a.addListener("deviceUpdate",this.deviceUpdateListener),a.addListener("mediaPermissionUpdate",this.mediaPermissionUpdate),this.speakerDevices=null!=s?[null!==(e=r.find((t=>t.deviceId===s.deviceId)))&&void 0!==e?e:s,...r.filter((t=>t.deviceId!==s.deviceId))]:r}))}testAudio(){var t;null===(t=this.testAudioEl)||void 0===t||t.play()}setDevice(t){var i,e;if(c(this.meeting))return;const a=this.speakerDevices.find((i=>i.deviceId===t));this.currentDevices={speaker:a},null!=a&&(null===(i=this.meeting)||void 0===i||i.self.setDevice(a),null===(e=this.testAudioEl)||void 0===e||e.setSinkId(a.deviceId))}render(){if(!this.meeting)return null;let t=0;return i(e,null,i("audio",{preload:"auto",src:"https://rtk-assets.realtime.cloudflare.com/ui-kit/speaker-test.mp3",ref:t=>this.testAudioEl=t}),i("div",{class:"group "+this.variant,part:"speaker-selection"},this.speakerDevices.length>0&&!c(this.meeting)&&i("div",{class:"container"},i("label",null,"inline"!==this.variant&&this.t("settings.speaker_output"),i("rtk-icon",{icon:this.iconPack.speaker,size:"sm"})),i("div",{class:"row"},i("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.speakerDevices.map((({deviceId:e,label:a})=>{var r;return i("option",{value:e,selected:(null===(r=this.currentDevices.speaker)||void 0===r?void 0:r.deviceId)===e},a||"Speaker "+ ++t)}))))),"full"===this.variant&&i("rtk-button",{variant:"secondary",onClick:()=>this.testAudio()},i("rtk-icon",{icon:this.iconPack.speaker,slot:"start"}),this.t("test"))))}static get watchers(){return{meeting:["meetingChanged"]}}};u([l()],k.prototype,"meeting",void 0),u([l()],k.prototype,"states",void 0),u([l()],k.prototype,"iconPack",void 0),u([l()],k.prototype,"t",void 0),k.style=".rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline .container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}";var f=function(t,i,e,a){var r,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(i,e,o):r(i,e))||o);return s>3&&o&&Object.defineProperty(i,e,o),o};const b=class{constructor(i){t(this,i),this.onChange=r(this,"rtkChange",4),this.checked=!1,this.readonly=!1,this.disabled=!1,this.iconPack=o,this.t=n(),this.onClick=()=>{this.readonly||this.disabled||(this.checked=!this.checked)},this.onKeyPress=t=>{if(!this.readonly)switch(t.key){case"Enter":case" ":this.checked=!this.checked}}}connectedCallback(){this.checkedChange(this.checked)}checkedChange(t){this.checked=t,this.onChange.emit(t)}render(){return i(e,{key:"af0bcf0202cda77f3ec27510b867ed149c478bdf",role:"switch",tabIndex:this.disabled&&0,"aria-readonly":this.readonly,"aria-checked":this.checked,"aria-disabled":this.disabled,class:{checked:this.checked},onClick:this.onClick,onKeyPress:this.onKeyPress},i("div",{key:"e6f5eeb8acf33e9f058b029423eddc099033053c",class:"switch",part:"switch"}))}static get watchers(){return{checked:["checkedChange"]}}};f([l()],b.prototype,"iconPack",void 0),f([l()],b.prototype,"t",void 0),b.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-10, 40px);align-items:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;background-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));cursor:pointer}.switch{box-sizing:border-box;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);background-color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:9999px;transition-property:var(--rtk-transition-property, all);transition-duration:200ms}:host(.checked){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host(.checked) .switch{transform:translateX(100%)}:host([readonly]),:host([disabled]){cursor:not-allowed;opacity:0.6}";export{p as rtk_audio_visualizer,g as rtk_microphone_selector,k as rtk_speaker_selector,b as rtk_switch}
@@ -1 +1 @@
1
- import{r as t,h as r,a as o}from"./p-a599f720.js";import{e as a}from"./p-8fc79c56.js";import{S as i}from"./p-315cd380.js";const e=class{constructor(r){t(this,r),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=a,this.brandIcon=!1}render(){return r(o,{key:"90cbc7f04dd7975ef7331aace992aeadd1fdba52"},r("button",{key:"36ea971cf7d69742346dd6a65b41ef57def59a40","aria-label":this.label,part:"button"},this.isLoading?r("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):r("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),r("span",{key:"83dda2888c01eec119c1cc21921a682cc2111307",class:"label",part:"label"},this.label),this.showWarning&&r("rtk-icon",{key:"abddcd4d3c81f7ba09cc4595c98cb55c76d678ad",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}static get delegatesFocus(){return!0}};(function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);e>3&&n&&Object.defineProperty(r,o,n)})([i()],e.prototype,"iconPack",void 0),e.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{--background-color:var(\n --rtk-controlbar-button-background-color,\n rgb(var(--rtk-colors-background-1000, 8 8 8))\n );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}";export{e as rtk_controlbar_button}
1
+ import{r as t,h as r,a as o}from"./p-a599f720.js";import{e as a}from"./p-8ea7a369.js";import{S as i}from"./p-5a88d1ff.js";const e=class{constructor(r){t(this,r),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=a,this.brandIcon=!1}render(){return r(o,{key:"90cbc7f04dd7975ef7331aace992aeadd1fdba52"},r("button",{key:"36ea971cf7d69742346dd6a65b41ef57def59a40","aria-label":this.label,part:"button"},this.isLoading?r("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):r("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),r("span",{key:"83dda2888c01eec119c1cc21921a682cc2111307",class:"label",part:"label"},this.label),this.showWarning&&r("rtk-icon",{key:"abddcd4d3c81f7ba09cc4595c98cb55c76d678ad",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}static get delegatesFocus(){return!0}};(function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);e>3&&n&&Object.defineProperty(r,o,n)})([i()],e.prototype,"iconPack",void 0),e.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{--background-color:var(\n --rtk-controlbar-button-background-color,\n rgb(var(--rtk-colors-background-1000, 8 8 8))\n );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}";export{e as rtk_controlbar_button}
@@ -1 +1 @@
1
- import{r as t,h as r,a as i}from"./p-a599f720.js";import{e as a,i as s}from"./p-8fc79c56.js";import{S as o}from"./p-315cd380.js";import{d as e}from"./p-cbdd7a99.js";var n=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 c=class{constructor(r){t(this,r),this.variant="rounded",this.iconPack=a,this.t=s(),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=e((()=>{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=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=e((()=>{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?r(i,null,r("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},r("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&r("div",{class:"center"},r("span",{class:"page"},0===this.pageCount?r("rtk-tooltip",{label:this.t("layout.auto")},r("rtk-button",{kind:"icon",class:"auto"},r("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[r("span",{class:"slash"},"/"),r("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&r("div",{class:"dots"},[...Array(this.pageCount)].map(((t,i)=>r("div",{key:`dot-${i}`,class:{dot:!0,active:i+1===this.page}})))),r("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")},r("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):r(i,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"],size:["sizeChanged"]}}};n([o()],c.prototype,"meeting",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display: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}";export{c as rtk_grid_pagination}
1
+ import{r as t,h as r,a as i}from"./p-a599f720.js";import{e as a,i as s}from"./p-8ea7a369.js";import{S as o}from"./p-5a88d1ff.js";import{d as e}from"./p-cbdd7a99.js";var n=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 h=class{constructor(r){t(this,r),this.variant="rounded",this.iconPack=a,this.t=s(),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=e((()=>{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=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=e((()=>{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?r(i,null,r("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},r("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&r("div",{class:"center"},r("span",{class:"page"},0===this.pageCount?r("rtk-tooltip",{label:this.t("layout.auto")},r("rtk-button",{kind:"icon",class:"auto"},r("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[r("span",{class:"slash"},"/"),r("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&r("div",{class:"dots"},[...Array(this.pageCount)].map(((t,i)=>r("div",{key:`dot-${i}`,class:{dot:!0,active:i+1===this.page}})))),r("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")},r("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):r(i,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"],size:["sizeChanged"]}}};n([o()],h.prototype,"meeting",void 0),n([o()],h.prototype,"states",void 0),n([o()],h.prototype,"iconPack",void 0),n([o()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}: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}";export{h as rtk_grid_pagination}
@@ -0,0 +1 @@
1
+ import{r as t,d as i,h as s,a}from"./p-a599f720.js";import{e,i as o}from"./p-8ea7a369.js";import{S as r}from"./p-5a88d1ff.js";var n=function(t,i,s,a){var e,o=arguments.length,r=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(o<3?e(r):o>3?e(i,s,r):e(i,s))||r);return o>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=o(),this.aiActive=!1}statesChanged(t){this.aiActive=t.activeAI}toggleAI(){var t;this.aiActive=!(null===(t=this.states)||void 0===t?void 0:t.activeAI),this.stateUpdate.emit({activeAI:this.aiActive,activeMoreMenu:!1,activeSidebar:!1})}render(){var t,i;if(!this.meeting)return null;const e=this.t("ai.meeting_ai");return(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled?s(a,{title:e},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.aiActive},onClick:()=>this.toggleAI(),icon:this.iconPack.meeting_ai,label:e,variant:this.variant,brandIcon:!0})):s(a,{"data-hidden":!0})}static get watchers(){return{states:["statesChanged"]}}};n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"meeting",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],c.prototype,"t",void 0),c.style=":host{display:block}:host([data-hidden]){display:none}";export{c as rtk_ai_toggle}