@cloudflare/realtimekit-ui 1.0.0-staging.7 → 1.0.0-staging.9
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.
- package/dist/browser.js +1 -1
- package/dist/cjs/{TextMessage-cbe10d86.js → TextMessage-e9ca06aa.js} +1 -1
- package/dist/cjs/{chat-412ceea4.js → chat-46e7e4fe.js} +1 -1
- package/dist/cjs/{config-985d77d0.js → config-dba24e25.js} +7 -1
- package/dist/cjs/{index-b47380e3.js → index-daae8cee.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{notification-7af436af.js → notification-1948ed2f.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +29 -19
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-clock.cjs.entry.js +7 -6
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +4 -4
- package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +6 -6
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -5
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-count.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participant_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants.cjs.entry.js +2 -2
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +6 -6
- package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +4 -4
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +4 -4
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +3 -3
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
- package/dist/cjs/{sidebar-023f63fc.js → sidebar-a3c87828.js} +1 -1
- package/dist/cjs/{ui-store-1d132800.js → ui-store-3ddce955.js} +6 -0
- package/dist/collection/components/rtk-clock/rtk-clock.css +5 -4
- package/dist/collection/components/rtk-clock/rtk-clock.js +4 -3
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +5 -9
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +5 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +5 -2
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
- package/dist/collection/components/rtk-notification/rtk-notification.css +26 -18
- package/dist/collection/components/rtk-notification/rtk-notification.js +34 -4
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +4 -2
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +5 -4
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +5 -2
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +2 -2
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +5 -4
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
- package/dist/collection/lib/default-ui-config.js +6 -0
- package/dist/collection/utils/config.js +6 -0
- package/dist/components/index.js +5 -5
- package/dist/components/{p-65afebd3.js → p-0a9d8224.js} +4 -4
- package/dist/components/{p-cb4940e9.js → p-0c4a1808.js} +12 -12
- package/dist/components/{p-5c7262b7.js → p-0c94b402.js} +14 -14
- package/dist/components/{p-e114de57.js → p-0ea515b2.js} +4 -4
- package/dist/components/{p-d55da893.js → p-0eab3933.js} +5 -5
- package/dist/components/{p-8db0a4da.js → p-10182034.js} +2 -2
- package/dist/components/{p-793ed5cb.js → p-10759cad.js} +2 -2
- package/dist/components/{p-40ad6638.js → p-135d5d2f.js} +3 -3
- package/dist/components/{p-ddc286c8.js → p-175b365f.js} +3 -3
- package/dist/components/{p-b40adc00.js → p-1a546cf4.js} +10 -8
- package/dist/components/{p-9977f17c.js → p-24e9b37b.js} +7 -7
- package/dist/components/{p-129cc75c.js → p-24ffce5a.js} +2 -2
- package/dist/components/{p-61d7cfae.js → p-25770e4e.js} +25 -25
- package/dist/components/{p-a9b1e3dd.js → p-260b86da.js} +6 -6
- package/dist/components/{p-df6f544a.js → p-28f65402.js} +9 -9
- package/dist/components/{p-94417a57.js → p-2ecf028f.js} +4 -4
- package/dist/components/{p-456299a7.js → p-2f2fb96d.js} +1 -1
- package/dist/components/{p-2973e211.js → p-31a1dc4d.js} +2 -2
- package/dist/components/{p-c921dfb0.js → p-31ce3b90.js} +2 -2
- package/dist/components/{p-b99df227.js → p-32d788e7.js} +3 -3
- package/dist/components/{p-3b2f5ba8.js → p-35d6211b.js} +4 -4
- package/dist/components/{p-ec0d1a77.js → p-3d845f44.js} +3 -3
- package/dist/components/{p-2e04d08a.js → p-406292be.js} +4 -4
- package/dist/components/{p-95c03709.js → p-4096426e.js} +5 -5
- package/dist/components/{p-94d33473.js → p-4608147b.js} +5 -5
- package/dist/components/{p-7b48ba5a.js → p-46690510.js} +2 -2
- package/dist/components/{p-7ef7b528.js → p-4880c342.js} +14 -14
- package/dist/components/{p-b2771f98.js → p-4a436e2d.js} +7 -1
- package/dist/components/{p-56f3354e.js → p-4cc0e9a5.js} +1 -1
- package/dist/components/{p-0083965b.js → p-4cedc9e8.js} +2 -2
- package/dist/components/{p-ea04d205.js → p-4e3d7f9d.js} +3 -3
- package/dist/components/{p-6234f3c4.js → p-50ecaaf1.js} +1 -1
- package/dist/components/{p-c4f19df7.js → p-55598b38.js} +3 -3
- package/dist/components/{p-10a05286.js → p-563bc723.js} +10 -10
- package/dist/components/{p-083710da.js → p-59ea0ce1.js} +4 -4
- package/dist/components/{p-d0306d37.js → p-59fb6900.js} +5 -5
- package/dist/components/{p-6cada312.js → p-5ffcbba3.js} +2 -2
- package/dist/components/{p-00c52995.js → p-606ca241.js} +6 -6
- package/dist/components/{p-15c3dd0e.js → p-62a6b783.js} +2 -2
- package/dist/components/{p-929d11f5.js → p-68b6f23b.js} +5 -5
- package/dist/components/{p-9e617955.js → p-6acaa07e.js} +4 -4
- package/dist/components/{p-3819cd85.js → p-71e0f6f2.js} +4 -4
- package/dist/components/{p-45386cf3.js → p-734a10e4.js} +4 -4
- package/dist/components/{p-281e2d8b.js → p-7a7d1710.js} +6 -6
- package/dist/components/{p-1f182a69.js → p-80bef3b5.js} +5 -5
- package/dist/components/{p-531aad34.js → p-81f4e985.js} +4 -4
- package/dist/components/{p-0536e520.js → p-898da6ae.js} +14 -14
- package/dist/components/{p-8720d374.js → p-922f201f.js} +5 -5
- package/dist/components/{p-90dc317b.js → p-935b5e0f.js} +5 -5
- package/dist/components/{p-c4bae3c7.js → p-965a4bd9.js} +4 -4
- package/dist/components/{p-40528bcd.js → p-9c17c7ce.js} +4 -4
- package/dist/components/{p-74c4573e.js → p-9cace38c.js} +6 -6
- package/dist/components/{p-ea4ce54a.js → p-9cfe5c7c.js} +5 -5
- package/dist/components/{p-56ceecc0.js → p-9da5b9d0.js} +6 -6
- package/dist/components/{p-f7a87f51.js → p-a24309fd.js} +4 -4
- package/dist/components/{p-02d2b0fd.js → p-a41e1b94.js} +3 -3
- package/dist/components/{p-164424cd.js → p-aa9ee9a5.js} +7 -7
- package/dist/components/{p-27988e7d.js → p-ab87c5be.js} +6 -6
- package/dist/components/{p-df65f9e5.js → p-ae239151.js} +2 -2
- package/dist/components/{p-f894e365.js → p-b12e5011.js} +5 -5
- package/dist/components/{p-d64c69c2.js → p-b3537ccc.js} +4 -4
- package/dist/components/{p-a9598bcb.js → p-b373da43.js} +8 -8
- package/dist/components/{p-96dc9653.js → p-b39c779d.js} +4 -4
- package/dist/components/{p-168b17a0.js → p-bcb91396.js} +1 -1
- package/dist/components/{p-f27b3e2b.js → p-bd9a0ef8.js} +4 -4
- package/dist/components/{p-ecf5520f.js → p-c11b2f37.js} +1 -1
- package/dist/components/{p-b05351e6.js → p-c2723ebb.js} +12 -12
- package/dist/components/{p-8d377d94.js → p-c27c353f.js} +5 -5
- package/dist/components/{p-79e3eeee.js → p-c7dcb441.js} +2 -2
- package/dist/components/{p-e897d0cb.js → p-c939f92d.js} +8 -8
- package/dist/components/{p-15594b6b.js → p-d5791958.js} +1 -1
- package/dist/components/{p-f6f7191a.js → p-ddf6148a.js} +8 -8
- package/dist/components/{p-5d748ac6.js → p-e2b78972.js} +4 -4
- package/dist/components/{p-dcd9f0d2.js → p-e3b59650.js} +1 -1
- package/dist/components/{p-5dd6a99e.js → p-e3ffbf6c.js} +5 -5
- package/dist/components/{p-0a514f3f.js → p-e4241aa9.js} +7 -7
- package/dist/components/{p-0ecdf806.js → p-e4376670.js} +8 -8
- package/dist/components/{p-1e5c8aa3.js → p-e542eda6.js} +7 -7
- package/dist/components/{p-9fe29f26.js → p-e6d09c50.js} +6 -0
- package/dist/components/{p-6d518dc3.js → p-eb10c563.js} +10 -10
- package/dist/components/{p-3237d36e.js → p-eca2ab2e.js} +53 -53
- package/dist/components/p-ece96324.js +107 -0
- package/dist/components/{p-be1b951d.js → p-ef376a73.js} +5 -5
- package/dist/components/{p-789d49ad.js → p-f0dfdfea.js} +4 -4
- package/dist/components/{p-d27979d5.js → p-f33bb583.js} +10 -10
- package/dist/components/{p-41c73a61.js → p-f6046472.js} +5 -5
- package/dist/components/{p-f9546c57.js → p-fe278fba.js} +3 -3
- package/dist/components/rtk-ai-toggle.js +5 -5
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +5 -5
- package/dist/components/rtk-audio-grid.js +2 -2
- package/dist/components/rtk-audio-tile.js +6 -6
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +5 -5
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-button.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +6 -6
- package/dist/components/rtk-caption-toggle.js +5 -5
- package/dist/components/rtk-channel-creator.js +1 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +1 -1
- package/dist/components/rtk-channel-selector-ui.js +6 -6
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +8 -8
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +3 -3
- package/dist/components/rtk-chat-toggle.js +6 -6
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +8 -7
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +2 -2
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +5 -5
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +4 -4
- package/dist/components/rtk-file-dropzone.js +3 -3
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +7 -7
- package/dist/components/rtk-grid.js +10 -10
- package/dist/components/rtk-header.js +2 -2
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +5 -5
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +4 -4
- package/dist/components/rtk-information-tooltip.js +3 -3
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +5 -5
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +5 -5
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting-title.js +6 -6
- package/dist/components/rtk-meeting.js +55 -55
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +4 -4
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +6 -6
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +8 -8
- package/dist/components/rtk-more-toggle.js +5 -5
- package/dist/components/rtk-mute-all-button.js +6 -6
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +3 -3
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +5 -5
- package/dist/components/rtk-participant-setup.js +4 -4
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +6 -6
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +6 -6
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +16 -16
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +5 -5
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +6 -6
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +6 -6
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +5 -5
- package/dist/components/rtk-recording-toggle.js +5 -5
- package/dist/components/rtk-screen-share-toggle.js +6 -6
- package/dist/components/rtk-screenshare-view.js +10 -10
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +6 -6
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +12 -12
- package/dist/components/rtk-setup-screen.js +10 -10
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +11 -11
- package/dist/components/rtk-simple-grid.js +3 -3
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +4 -4
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +6 -6
- package/dist/components/rtk-stage.js +3 -3
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +3 -3
- package/dist/components/rtk-ui-provider.js +3 -3
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +4 -4
- package/dist/docs/docs-components.json +24 -1
- package/dist/docs/docs-vscode.json +4 -0
- package/dist/esm/{TextMessage-de672e39.js → TextMessage-efd224db.js} +1 -1
- package/dist/esm/{chat-e970cf90.js → chat-c25836b0.js} +1 -1
- package/dist/esm/{config-d4ed799b.js → config-1ca1ba30.js} +7 -1
- package/dist/esm/{index-d0112c6b.js → index-6aaa85ca.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/loader.js +85 -62
- package/dist/esm/{notification-b7669c56.js → notification-800f2bcd.js} +1 -1
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
- package/dist/esm/rtk-ai.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
- package/dist/esm/rtk-avatar_54.entry.js +29 -19
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-channel-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +3 -3
- package/dist/esm/rtk-clock.entry.js +7 -6
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +4 -4
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +2 -2
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +6 -6
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-meeting-title.entry.js +5 -5
- package/dist/esm/rtk-message-list-view.entry.js +2 -2
- package/dist/esm/rtk-mic-toggle.entry.js +2 -2
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-participant-count.entry.js +4 -4
- package/dist/esm/rtk-participant-setup.entry.js +4 -4
- package/dist/esm/rtk-participant_2.entry.js +4 -4
- package/dist/esm/rtk-participants-audio.entry.js +3 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
- package/dist/esm/rtk-participants-toggle.entry.js +3 -3
- package/dist/esm/rtk-participants.entry.js +2 -2
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugins_2.entry.js +6 -6
- package/dist/esm/rtk-poll_2.entry.js +5 -5
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +4 -4
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +7 -7
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +4 -4
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +3 -3
- package/dist/esm/rtk-simple-grid.entry.js +3 -3
- package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +3 -3
- package/dist/esm/rtk-transcript.entry.js +3 -3
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +3 -3
- package/dist/esm/rtk-waiting-screen.entry.js +3 -3
- package/dist/esm/{sidebar-8b5e88e0.js → sidebar-cafaa8d3.js} +1 -1
- package/dist/esm/{ui-store-0f6095db.js → ui-store-b453cdf2.js} +6 -0
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-2c575cd8.entry.js → p-01f5aba6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7c147408.entry.js → p-03a04390.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b5e01d07.entry.js → p-050f0b1f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-570a7910.entry.js → p-0a1d9e02.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1c0358f4.entry.js → p-0d4db84d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-73d6823a.entry.js → p-0e777b3f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7ea7c01d.entry.js → p-131b1e94.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a7bed91d.entry.js → p-139da463.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-612e7cfa.entry.js → p-18fdb6bb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-06d64de4.entry.js → p-235b7aa8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2776bf3b.entry.js → p-238a19f8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7352c128.entry.js → p-29802710.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
- package/dist/realtimekit-ui/p-2bfa32da.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1f94b76a.entry.js → p-3ed1c004.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1c87e187.entry.js → p-3fd79328.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d1225160.entry.js → p-42a64cbb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-acab6548.entry.js → p-44915a3b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0f27bd13.js → p-4b882b41.js} +1 -1
- package/dist/realtimekit-ui/{p-21f1348d.entry.js → p-4d8ab9a5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ba05218f.entry.js → p-4f2ec64b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bb563d65.entry.js → p-4f45e362.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-288e8b44.entry.js → p-4ff47eb0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-12f2bd64.entry.js → p-5325b5e5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-38136f6d.entry.js → p-55040827.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-18284fd7.entry.js → p-55503b00.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4e85f3b7.entry.js → p-556db3a1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-acf5b77f.entry.js → p-560c3d93.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bf8ee4dc.entry.js → p-5b15e3cf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8c6e8627.entry.js → p-61c38e05.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a3df14dd.entry.js → p-621a7265.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dd28e235.entry.js → p-679bd218.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d8ef9c71.entry.js → p-6be9be47.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
- package/dist/realtimekit-ui/{p-eef2d66b.js → p-6ededa68.js} +1 -1
- package/dist/realtimekit-ui/{p-3020ebef.entry.js → p-73bc3abd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7ef6ba98.entry.js → p-7536cb87.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4c0282cf.entry.js → p-7c1a2584.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-60bd5711.entry.js → p-7dbd2a25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cc349e60.entry.js → p-807dd186.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dafa21f4.entry.js → p-85ff4a34.entry.js} +1 -1
- package/dist/realtimekit-ui/p-89f6a08a.entry.js +1 -0
- package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-99f0d02d.entry.js → p-917f2951.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-efd16e73.entry.js → p-93f881e2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fe993d97.entry.js → p-9435f236.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-193e4084.entry.js → p-94b739b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-580a9089.entry.js → p-950454b7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d2e08aa3.entry.js → p-9946b484.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-83d064c4.entry.js → p-9ff45356.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-91555d3d.entry.js → p-a5d22edf.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a6f03681.entry.js +1 -0
- package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9a30eb32.js → p-aaba206b.js} +1 -1
- package/dist/realtimekit-ui/{p-8f4aa500.entry.js → p-ac91f9f9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-14697cc8.entry.js → p-affaaf1a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f14df538.entry.js → p-b14563cb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-15979e9d.js → p-b16cee89.js} +1 -1
- package/dist/realtimekit-ui/{p-77c89c11.entry.js → p-b62f9abb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5b40b871.entry.js → p-b80f1bed.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-526d3453.entry.js → p-bc17c582.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-002a2c69.entry.js → p-bf56688f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-aae30d94.entry.js → p-c6f7cd03.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3acd31e4.entry.js → p-c8f8b690.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-65cd7711.entry.js → p-d013442a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fa90fbe2.entry.js → p-d075d673.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
- package/dist/realtimekit-ui/{p-bed5abea.entry.js → p-d9217d24.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
- package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
- package/dist/realtimekit-ui/{p-28d56c8d.entry.js → p-e13b5128.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-39c6795d.entry.js → p-e171b1c4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8e4d1601.entry.js → p-e80cf367.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ee167b96.js +1 -0
- package/dist/realtimekit-ui/{p-801bdf55.entry.js → p-f7c6931d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-523d7f94.js → p-fc36f92c.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-notification/rtk-notification.d.ts +4 -0
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/components/p-2cfccf90.js +0 -96
- package/dist/realtimekit-ui/p-150c1647.entry.js +0 -1
- package/dist/realtimekit-ui/p-1b792ded.entry.js +0 -1
- package/dist/realtimekit-ui/p-2698a644.entry.js +0 -1
- package/dist/realtimekit-ui/p-424c9c68.entry.js +0 -1
- package/dist/realtimekit-ui/p-76d7fd68.entry.js +0 -1
- package/dist/realtimekit-ui/p-a1278d45.js +0 -1
- package/dist/realtimekit-ui/p-ae00b85e.entry.js +0 -1
- package/dist/realtimekit-ui/p-b3f93f40.entry.js +0 -1
- package/dist/realtimekit-ui/p-b4a51176.entry.js +0 -1
- package/dist/realtimekit-ui/p-b9281511.js +0 -1
- package/dist/realtimekit-ui/p-be75700c.entry.js +0 -1
- package/dist/realtimekit-ui/p-ddc1d2af.entry.js +0 -1
- package/dist/realtimekit-ui/p-f1a12dce.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r,H as a}from"./p-0ee570cd.js";import{a as o,c as
|
|
1
|
+
import{r as t,h as r,H as a}from"./p-0ee570cd.js";import{a as o,c as e}from"./p-ee167b96.js";import{S as i}from"./p-2aa242f4.js";var s=function(t,r,a,o){var e,i=arguments.length,s=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,a,o);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(s=(i<3?e(s):i>3?e(r,a,s):e(r,a))||s);return i>3&&s&&Object.defineProperty(r,a,s),s};const c=class{constructor(r){t(this,r),this.iconPack=o,this.t=e(),this.isScreenShare=!1,this.score=10,this.onMediaScoreUpdate=({kind:t,isScreenshare:r,score:a})=>{("video"===t||this.isScreenShare&&r)&&(this.score=a)}}connectedCallback(){this.participantChanged(this.participant)}participantChanged(t){t&&t.addListener("mediaScoreUpdate",this.onMediaScoreUpdate)}disconnectedCallback(){var t;null===(t=this.participant)||void 0===t||t.removeListener("mediaScoreUpdate",this.onMediaScoreUpdate)}render(){let t=Math.round(this.score/2),o="good";if(t>3)return null;switch(t<1&&(t=1),t){case 3:case 2:o="poor";break;case 1:o="poorest"}return r(a,null,r("rtk-icon",{icon:this.iconPack[`signal_${t}`],class:o}),r("rtk-icon",{icon:this.iconPack.signal_5,class:"bg-signal"}))}static get watchers(){return{participant:["participantChanged"]}}};s([i()],c.prototype,"meeting",void 0),s([i()],c.prototype,"iconPack",void 0),s([i()],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{position:relative;display:block;height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}rtk-icon{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;height:100%;width:100%;--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}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))}:host([size='md']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.bg-signal{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:0;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}";export{c as rtk_network_indicator}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as r,a}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-
|
|
1
|
+
import{r as t,h as i,H as r,a}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-ee167b96.js";import{S as o}from"./p-2aa242f4.js";import{R as c}from"./p-c8eaa707.js";var n=function(t,i,r,a){var e,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,a);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(o=(s<3?e(o):s>3?e(i,r,o):e(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(i){t(this,i),this.iconPack=e,this.t=s(),this.hideSelf=!1,this.activeParticipants=[],this.onStageParticipants=[],this.offStageParticipants=[],this.onParticipantListUpdate=()=>{if(!this.meeting)return;let t=this.meeting.participants.active.toArray();this.hideSelf||(t=[...t,this.meeting.self]);let i=this.meeting.participants.joined.toArray().filter((i=>!t.some((t=>t.id===i.id))));this.activeParticipants=t,this.onStageParticipants=i}}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){t&&"AUDIO_ROOM"===t.self.config.viewType&&(this.onParticipantListUpdate(),t.participants.active.addListener("participantJoined",this.onParticipantListUpdate),t.participants.active.addListener("participantLeft",this.onParticipantListUpdate),t.participants.joined.addListener("participantJoined",this.onParticipantListUpdate),t.participants.joined.addListener("participantLeft",this.onParticipantListUpdate))}disconnectedCallback(){this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.meeting.participants.active.removeListener("participantJoined",this.onParticipantListUpdate),this.meeting.participants.active.removeListener("participantLeft",this.onParticipantListUpdate),this.meeting.participants.joined.removeListener("participantJoined",this.onParticipantListUpdate),this.meeting.participants.joined.removeListener("participantLeft",this.onParticipantListUpdate)}renderGrid(t=[]){const r={meeting:this.meeting,size:this.size,config:this.config,t:this.t,iconPack:this.iconPack,states:this.states};return t.map((t=>i(c,{element:"rtk-audio-tile",defaults:r,props:{key:t.id,participant:t},childProps:{participant:t},deepProps:!0})))}render(){const t=this.activeParticipants.concat(this.onStageParticipants);return i(r,{key:"0547c2c61b1c1b1fc4fcc5353b9094f8c118bd83"},i("div",{key:"46dd0248db3437461bd56bd507a2f42ce05af03a",class:"content scrollbar"},i("div",{key:"98a3dc4928c3062f3e5058b50d415f147c273c26",class:"stage grid"},this.renderGrid(t)),this.offStageParticipants.length>0&&i("div",{key:"18015fe551647048c990f107ba313c5e13ba7d47",class:"waitlist-area"},i("div",{key:"50a65d4f48d94426860d808ff6151d3e0d519f4e",class:"listening-title"},this.offStageParticipants.length," ",this.t("grid.listening")),i("div",{key:"173e4ebc97425b7298236673122f76ebfae59609",class:"waitlist-grid grid"},this.renderGrid(this.offStageParticipants)))),i("slot",{key:"c92a12329a9c4c456f3506cee2aa2d73dceaa0e0"}))}get host(){return a(this)}static get watchers(){return{meeting:["meetingChanged"]}}};n([o()],l.prototype,"meeting",void 0),n([o()],l.prototype,"states",void 0),n([o()],l.prototype,"iconPack",void 0),n([o()],l.prototype,"size",void 0),n([o()],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)}.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;height:100%;width:100%;box-sizing:border-box}.content{position:relative;display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.waitlist-area{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.listening-title{text-align:center;margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-4, 16px)}.waitlist-grid{flex:1 1 0%}.grid{box-sizing:border-box;flex:1 1 0%;gap:var(--rtk-space-6, 24px);display:flex;align-content:center;justify-content:center;flex-wrap:wrap}:host([size='md']) .grid{gap:var(--rtk-space-4, 16px)}:host([size='sm']) .grid{gap:var(--rtk-space-3, 12px)}rtk-audio-tile{aspect-ratio:1 / 1;flex:none;width:calc(20%);max-width:var(--rtk-space-48, 192px);transition:all 0.3s}rtk-audio-tile[size='md']{width:100%;max-width:var(--rtk-space-36, 144px)}rtk-audio-tile[size='sm']{width:100%;max-width:var(--rtk-space-24, 96px)}";export{l as rtk_audio_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as r}from"./p-0ee570cd.js";import{a as s,c as o}from"./p-
|
|
1
|
+
import{r as t,c as e,h as a,H as r}from"./p-0ee570cd.js";import{a as s,c as o}from"./p-ee167b96.js";import{S as i}from"./p-2aa242f4.js";var f=function(t,e,a,r){var s,o=arguments.length,i=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,a,r);else for(var f=t.length-1;f>=0;f--)(s=t[f])&&(i=(o<3?s(i):o>3?s(e,a,i):s(e,a))||i);return o>3&&i&&Object.defineProperty(e,a,i),i};const n=class{constructor(a){t(this,a),this.stateUpdate=e(this,"rtkStateUpdate",7),this.iconPack=s,this.t=o()}render(){return a(r,{key:"c28c425c3619477e0e9234f42ec5711a49d27a43"},a("slot",{key:"8a4210ce0af731affd16bdab0258135f71b6408f"}))}};f([i()],n.prototype,"iconPack",void 0),f([i()],n.prototype,"t",void 0),n.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;position:relative;overflow:hidden}";export{n as rtk_stage}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as e,h as t,H as a}from"./p-0ee570cd.js";import{d as r,a as i,c as o}from"./p-ee167b96.js";import{S as c}from"./p-2aa242f4.js";var s=function(e,t,a,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,a,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,a,c):i(t,a))||c);return o>3&&c&&Object.defineProperty(t,a,c),c};const n=class{constructor(t){e(this,t),this.config=r,this.iconPack=i,this.t=o()}render(){return t(a,{key:"f2c47d3259b2df855467a20acb9c3cf9efba0656"},t("slot",{key:"f00f36e15ecf6279903d8512f3dee23057de734a"},t("div",{key:"980543555369e3547a6ba36a4235e885ca65ee4b",class:"centered",part:"content"},t("rtk-logo",{key:"9a82a757b90ceb5ec2d143cc2e4ba3a85e4b5ead",meeting:this.meeting,config:this.config,part:"logo",t:this.t}),t("p",{key:"e9c2f4e21f075ee74e147249bd52e8947bdfa37d"},this.t("waitlist.body_text")))))}};s([c()],n.prototype,"meeting",void 0),s([c()],n.prototype,"iconPack",void 0),s([c()],n.prototype,"t",void 0),n.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{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))}";export{n as rtk_waiting_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{d as o,a,c as n}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{d as o,a,c as n}from"./p-ee167b96.js";import{S as r}from"./p-2aa242f4.js";var c=function(t,i,e,s){var o,a=arguments.length,n=a<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(i,e,n):o(i,e))||n);return a>3&&n&&Object.defineProperty(i,e,n),n};const h=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=o,this.iconPack=a,this.t=n(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,e,s;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode)&&"LIVESTREAM"!==(null===(s=t.self.config)||void 0===s?void 0:s.viewType))}togglePip(){this.meeting.participants.pip&&(this.meeting.participants.pip.isActive?this.meeting.participants.pip.disable():this.meeting.participants.pip.enable(),this.stateUpdate.emit({activeMoreMenu:!1}))}render(){if(!this.pipSupported)return e(s,{"data-hidden":!0});const t=this.meeting.participants.pip.isActive;return e(s,{role:"log","aria-label":"Picture-in-Picture mode"},e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.togglePip(),icon:t?this.iconPack.pip_on:this.iconPack.pip_off,label:this.t(t?"pip_off":"pip_on"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};c([r()],h.prototype,"meeting",void 0),c([r()],h.prototype,"states",void 0),c([r()],h.prototype,"iconPack",void 0),c([r()],h.prototype,"size",void 0),c([r()],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:block}:host([data-hidden]){display:none}";export{h as rtk_pip_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r,h as
|
|
1
|
+
import{r as t,c as r,h as e,H as o,a}from"./p-0ee570cd.js";import{a as i,c}from"./p-ee167b96.js";import{S as s}from"./p-2aa242f4.js";var n=function(t,r,e,o){var a,i=arguments.length,c=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,r,e,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(c=(i<3?a(c):i>3?a(r,e,c):a(r,e))||c);return i>3&&c&&Object.defineProperty(r,e,c),c};const d=class{constructor(e){t(this,e),this.stateUpdate=r(this,"rtkStateUpdate",7),this.iconPack=i,this.t=c(),this.handleKeyDown=({key:t})=>{"Escape"===t&&this.stateUpdate.emit({activeMoreMenu:!1})},this.handleOnClick=t=>{!t.composedPath().includes(this.host)&&this.states.activeMoreMenu&&this.stateUpdate.emit({activeMoreMenu:!1})},this.toggleMoreMenu=()=>{this.stateUpdate.emit({activeMoreMenu:!this.states.activeMoreMenu})}}connectedCallback(){window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("click",this.handleOnClick)}disconnectedCallback(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("click",this.handleOnClick)}render(){const t=this.t("more");return e(o,{key:"cc4c42c7e70920678ccd5504299cc2ea132ba082",title:t},this.states.activeMoreMenu&&e("div",{key:"4e15d624377561cc3bfac660822041079387d15c",class:"more-menu"},e("slot",{key:"83c8c81d94edbed4d30143fe4a0a9fc77f7c3883",name:"more-elements"})),e("rtk-controlbar-button",{key:"1b88da49b3bd62fc05f43e83743935cbe1848bdf",size:this.size,iconPack:this.iconPack,onClick:t=>{t.stopPropagation(),this.toggleMoreMenu()},icon:this.iconPack.horizontal_dots,label:t,part:"controlbar-button"}),e("slot",{key:"06155b80eabc3aa0c8495c5bc447af457acdd038",name:"expanded"}))}get host(){return a(this)}};n([s()],d.prototype,"states",void 0),n([s()],d.prototype,"size",void 0),n([s()],d.prototype,"iconPack",void 0),n([s()],d.prototype,"t",void 0),d.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{position:relative;display:flex;flex-direction:column;overflow:visible}.more-menu{position:absolute;right:calc(var(--rtk-space-24, 96px) * -1);bottom:var(--rtk-space-16, 64px);z-index:50;margin-bottom:var(--rtk-space-3, 12px);box-sizing:border-box;max-height:60vh;width:var(--rtk-space-64, 256px);overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;display:flex;flex-direction:column;align-items:stretch}:host([size='sm']) .more-menu{bottom:var(--rtk-space-10, 40px)}.more-menu::-webkit-scrollbar{height:var(--rtk-space-0, 0px);width:var(--rtk-space-1\\.5, 6px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.more-menu::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";export{d as rtk_more_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,H as e}from"./p-0ee570cd.js";import{a as s,c as a,q as n}from"./p-ee167b96.js";import{S as r}from"./p-2aa242f4.js";var o=function(t,i,e,s){var a,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(r=(n<3?a(r):n>3?a(i,e,r):a(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const h=class{constructor(i){t(this,i),this.iconPack=s,this.t=a(),this.participantCount=0,this.isViewer=!1,this.disconnectMeeting=t=>{null!=t&&null!=this.countListener&&(t.participants.joined.removeListener("participantJoined",this.countListener),t.participants.joined.removeListener("participantLeft",this.countListener),(null==t?void 0:t.stage)&&this.stageUpdateListener&&t.stage.removeListener("stageStatusUpdate",this.stageUpdateListener),t.self.removeListener("roomJoined",this.countListener))}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}meetingChanged(t,i){this.disconnectMeeting(i),null!=t&&(this.countListener=()=>{this.participantCount=t.participants.joined.size+(t.self.roomJoined?1:0)},this.countListener(),this.isViewer=n(this.meeting),t.participants.joined.addListener("participantJoined",this.countListener),t.participants.joined.addListener("participantLeft",this.countListener),(null==t?void 0:t.stage)&&(this.stageUpdateListener=()=>{this.isViewer=n(this.meeting)},null==t||t.stage.addListener("stageStatusUpdate",this.stageUpdateListener)),t.self.addListener("roomJoined",this.countListener))}render(){return this.isViewer?i(e,{"data-hidden":!0}):i(e,{tabIndex:0,role:"log","aria-label":`${this.participantCount} ${this.t("participants")}`},i("rtk-icon",{icon:this.iconPack.people,tabIndex:-1,"aria-hidden":!0,part:"icon"}),this.participantCount)}static get watchers(){return{meeting:["meetingChanged"]}}};o([r()],h.prototype,"meeting",void 0),o([r()],h.prototype,"iconPack",void 0),o([r()],h.prototype,"t",void 0),o([r()],h.prototype,"size",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:inline-flex;height:var(--rtk-space-10, 40px);-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{h as rtk_participant_count}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t,i as e}from"./p-b9281511.js";import{e as r,b as i,i as o,g as n,c as a,k as l,a as d,d as s,f as c,h as g,j as v,l as k,m as p,n as u,o as m,S as f,p as b,q as h}from"./p-46923b34.js";import{i as x,b as y,a as w}from"./p-2c3cda13.js";const S=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],O={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},A={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function I(t){let e="0",r="0",i="0";return 4==(t=t.trim()).length?(e="0x"+t[1]+t[1],r="0x"+t[2]+t[2],i="0x"+t[3]+t[3]):t.length>6&&(e="0x"+t[1]+t[2],r="0x"+t[3]+t[4],i="0x"+t[5]+t[6]),[+e,+r,+i]}const F=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),_="--rtk-";function M(t,e=_){return e+t}const $=(t,e,r=_)=>{Object.keys(e).forEach((i=>{const o=e[i];if("string"==typeof o)if("text"===i||"text-on-brand"===i){const e=I(o).join(" ");t.style.setProperty(M(`colors-${i}-1000`,r),`${e}`),t.style.setProperty(M(`colors-${i}-900`,r),`${e} / 0.88`),t.style.setProperty(M(`colors-${i}-800`,r),`${e} / 0.76`),t.style.setProperty(M(`colors-${i}-700`,r),`${e} / 0.64`),t.style.setProperty(M(`colors-${i}-600`,r),`${e} / 0.52`)}else{const e=I(o).join(" ");t.style.setProperty(M(`colors-${i}`,r),e)}else"object"==typeof o&&Object.keys(o).forEach((e=>{const n=I(o[e]).join(" ");t.style.setProperty(M(`colors-${i}-${e}`,r),n)}))}))},T=(t,{spacingBase:e,borderRadius:r,borderWidth:i,colors:o,fontFamily:n,googleFont:a,theme:l,tokenPrefix:d=_})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof a&&((t=>{const e=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",e.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),e.push(r),document.head.append(...e)})(a),t.style.setProperty(M("font-family",d),a)),"string"==typeof n&&t.style.setProperty(M("font-family",d),n),"number"==typeof e&&((t,e,r=_)=>{S.forEach((i=>{t.style.setProperty(M(`space-${i}`,r),i*e+"px")}))})(t,e,d),"string"==typeof i&&((t,e,r=_)=>{if(e in j){const i=j[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-width-${e}`,r),`${i[e]}px`)}))}})(t,i,d),"string"==typeof r&&((t,e,r=_)=>{if(e in A){const i=A[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-radius-${e}`,r),`${i[e]}px`)}))}})(t,r,d),"string"==typeof l){const e=O[l];null!=e&&$(t,e,d)}"object"==typeof o&&$(t,o,d)};function R(t,e,o){(void 0!==o&&!r(t[e],o)||void 0===o&&!(e in t))&&i(t,e,o)}var C="[object Object]",D=Function.prototype.toString,E=Object.prototype.hasOwnProperty,z=D.call(Object);function P(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function U(t,e,r,i,b){t!==e&&function(t,e,r){for(var i=-1,o=Object(t),n=r(t),a=n.length;a--;){var l=n[++i];if(!1===e(o[l],l,o))break}}(e,(function(h,S){if(b||(b=new f),w(h))!function(t,e,r,i,f,b,h){var S=P(t,r),O=P(e,r),j=h.get(O);if(j)R(t,r,j);else{var A,I=b?b(S,O,r+"",t,e,h):void 0,F=void 0===I;if(F){var _=d(O),M=!_&&s(O),$=!_&&!M&&c(O);I=O,_||M||$?d(S)?I=S:x(A=S)&&o(A)?I=g(S):M?(F=!1,I=v(O,!0)):$?(F=!1,I=k(O,!0)):I=[]:function(t){if(!x(t)||y(t)!=C)return!1;var e=n(t);if(null===e)return!0;var r=E.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&D.call(r)==z}(O)||p(O)?(I=S,p(S)?I=function(t){return a(t,l(t))}(S):w(S)&&!u(S)||(I=m(O))):F=!1}F&&(h.set(O,I),f(I,O,i,b,h),h.delete(O)),R(t,r,I)}}(t,e,S,r,U,i,b);else{var O=i?i(P(t,S),h,S+"",t,e,b):void 0;void 0===O&&(O=h),R(t,S,O)}}),l)}function B(t){return t}var L,q,H,N=Math.max,V=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:B,W=Date.now;const G=(L=V,q=0,H=0,function(){var t=W(),e=16-(t-H);if(H=t,e>0){if(++q>=800)return arguments[0]}else q=0;return L.apply(void 0,arguments)});var J;const K=(J=function(t,e,r){U(t,e,r)},function(t,e){return G(function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,n=N(i.length-e,0),a=Array(n);++o<n;)a[o]=i[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=i[o];return l[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,l)}}(t,e,B),t+"")}((function(t,e){var i=-1,n=e.length,a=n>1?e[n-1]:void 0,l=n>2?e[2]:void 0;for(a=J.length>3&&"function"==typeof a?(n--,a):void 0,l&&function(t,e,i){if(!w(i))return!1;var n=typeof e;return!!("number"==n?o(i)&&h(e,i.length):"string"==n&&e in i)&&r(i[e],t)}(e[0],e[1],l)&&(a=n<3?void 0:a,n=1),t=Object(t);++i<n;){var d=e[i];d&&J(t,d,i)}return t}))),Q=(e,r=t)=>{let i=Object.assign({},r);return K(i,e),i},X=(t,r,i={},o={grid_pagination:!0,settings_toggle:!0})=>{var n,a,l,d,s,c,g,v,k,p,u,m,f,b,h,x,y,w;const S={showSetupScreen:!0};let O,j=["rtk-stage"],A={},I={};const _=!1!==(null==o?void 0:o.settings_toggle),M=!1!==(null==o?void 0:o.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){j.push("rtk-controlbar");const{elements:i}=t.controlBar,o=[...i.fullscreen?["rtk-fullscreen-toggle"]:[],..._?["rtk-settings-toggle"]:[]],n=[],v=[];(null===(a=r.participants.pip)||void 0===a?void 0:a.isSupported())&&(null===(d=null===(l=r.self)||void 0===l?void 0:l.config)||void 0===d?void 0:d.pipMode)&&"LIVESTREAM"!==(null===(s=r.self.config)||void 0===s?void 0:s.viewType)&&v.push("rtk-pip-toggle"),(null==r?void 0:r.self.permissions.canDisableParticipantAudio)&&v.push("rtk-mute-all-button"),v.push("rtk-breakout-rooms-toggle"),(null===(c=r.self)||void 0===c?void 0:c.permissions.canRecord)&&v.push("rtk-recording-toggle"),null!==(g=r.self.permissions.transcriptionEnabled)&&void 0!==g&&g&&v.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&v.push("rtk-debugger-toggle"),e(r)&&o.push("rtk-livestream-toggle"),i.screenshare&&o.push("rtk-screen-share-toggle"),i.chat&&n.push("rtk-chat-toggle"),i.polls&&n.push("rtk-polls-toggle"),i.participants&&n.push("rtk-participants-toggle"),i.plugins&&n.push("rtk-plugins-toggle"),n.push("rtk-ai-toggle");const k=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];v.length>0&&k.push("rtk-more-toggle");const p=o.concat(n).concat(v);let u=!1;p.length>0&&(u=!0),I={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":o,"div#controlbar-center":k,"div#controlbar-right":n,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":v.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",u&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(v=t.header)||void 0===v?void 0:v.isEnabled){j.unshift("rtk-header");const{elements:e}=t.header;let r=["rtk-recording-indicator","rtk-livestream-indicator"],i=[],o=[];M&&o.push("rtk-grid-pagination"),e.title&&i.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(O=e.logo,r.unshift("rtk-logo")),e.participantCount&&o.push("rtk-participant-count","rtk-viewer-count"),e.timer&&o.push("rtk-clock"),A={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":r,"div#header-center":i,"div#header-right":o,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}j.push("rtk-participants-audio","rtk-dialog-manager");let $={logo:O};$=t.designTokens,F(null===(p=null===(k=null==t?void 0:t.designTokens)||void 0===k?void 0:k.colors)||void 0===p?void 0:p.textOnBrand)&&($.colors["text-on-brand"]=null===(m=null===(u=null==t?void 0:t.designTokens)||void 0===u?void 0:u.colors)||void 0===m?void 0:m.textOnBrand),F(null===(b=null===(f=null==t?void 0:t.designTokens)||void 0===f?void 0:f.colors)||void 0===b?void 0:b.videoBg)&&($.colors["video-bg"]=null===(x=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===x?void 0:x.videoBg);let T={designTokens:$,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar","activeAI"]},"rtk-meeting[meeting=idle]":["rtk-idle-screen"],"rtk-meeting[meeting=waiting]":["rtk-waiting-screen"],"rtk-meeting[meeting=setup]":["rtk-setup-screen","rtk-dialog-manager"],"rtk-meeting[meeting=joined]":j,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.sm":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.md":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},A),I),{"rtk-stage":{states:["activeSidebar","activeAI"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-stage.activeAI":{add:[["rtk-ai",{view:"sidebar"}]]},"rtk-stage.activeAI.sm":{remove:["rtk-ai"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenshare":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-grid.activeScreenShare":["rtk-mixed-grid"],"rtk-grid.activePlugin":["rtk-mixed-grid"],"rtk-grid.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-mixed-grid":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",..._?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"div#setupcontrols-settings":[["rtk-settings-toggle",{size:"sm"}]],"rtk-screenshare-view":["rtk-name-tag","rtk-network-indicator"],"rtk-name-tag":[["rtk-audio-visualizer",{slot:"start"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return T=Q(i,T),S.showSetupScreen=null===(w=null===(y=t.setupScreen)||void 0===y?void 0:y.isEnabled)||void 0===w||w,{config:T,data:S}};export{K as d,Q as e,X as g,T as p}
|
|
1
|
+
import{d as t,i as e}from"./p-ee167b96.js";import{e as r,b as i,i as o,g as n,c as a,k as l,a as d,d as s,f as c,h as g,j as v,l as p,m as k,n as u,o as m,S as f,p as b,q as h}from"./p-46923b34.js";import{i as x,b as y,a as w}from"./p-2c3cda13.js";const S=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],O={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},I={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function A(t){let e="0",r="0",i="0";return 4==(t=t.trim()).length?(e="0x"+t[1]+t[1],r="0x"+t[2]+t[2],i="0x"+t[3]+t[3]):t.length>6&&(e="0x"+t[1]+t[2],r="0x"+t[3]+t[4],i="0x"+t[5]+t[6]),[+e,+r,+i]}const F=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),_="--rtk-";function M(t,e=_){return e+t}const $=(t,e,r=_)=>{Object.keys(e).forEach((i=>{const o=e[i];if("string"==typeof o)if("text"===i||"text-on-brand"===i){const e=A(o).join(" ");t.style.setProperty(M(`colors-${i}-1000`,r),`${e}`),t.style.setProperty(M(`colors-${i}-900`,r),`${e} / 0.88`),t.style.setProperty(M(`colors-${i}-800`,r),`${e} / 0.76`),t.style.setProperty(M(`colors-${i}-700`,r),`${e} / 0.64`),t.style.setProperty(M(`colors-${i}-600`,r),`${e} / 0.52`)}else{const e=A(o).join(" ");t.style.setProperty(M(`colors-${i}`,r),e)}else"object"==typeof o&&Object.keys(o).forEach((e=>{const n=A(o[e]).join(" ");t.style.setProperty(M(`colors-${i}-${e}`,r),n)}))}))},T=(t,{spacingBase:e,borderRadius:r,borderWidth:i,colors:o,fontFamily:n,googleFont:a,theme:l,tokenPrefix:d=_})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof a&&((t=>{const e=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",e.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),e.push(r),document.head.append(...e)})(a),t.style.setProperty(M("font-family",d),a)),"string"==typeof n&&t.style.setProperty(M("font-family",d),n),"number"==typeof e&&((t,e,r=_)=>{S.forEach((i=>{t.style.setProperty(M(`space-${i}`,r),i*e+"px")}))})(t,e,d),"string"==typeof i&&((t,e,r=_)=>{if(e in j){const i=j[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-width-${e}`,r),`${i[e]}px`)}))}})(t,i,d),"string"==typeof r&&((t,e,r=_)=>{if(e in I){const i=I[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-radius-${e}`,r),`${i[e]}px`)}))}})(t,r,d),"string"==typeof l){const e=O[l];null!=e&&$(t,e,d)}"object"==typeof o&&$(t,o,d)};function R(t,e,o){(void 0!==o&&!r(t[e],o)||void 0===o&&!(e in t))&&i(t,e,o)}var C="[object Object]",D=Function.prototype.toString,E=Object.prototype.hasOwnProperty,z=D.call(Object);function P(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function U(t,e,r,i,b){t!==e&&function(t,e,r){for(var i=-1,o=Object(t),n=r(t),a=n.length;a--;){var l=n[++i];if(!1===e(o[l],l,o))break}}(e,(function(h,S){if(b||(b=new f),w(h))!function(t,e,r,i,f,b,h){var S=P(t,r),O=P(e,r),j=h.get(O);if(j)R(t,r,j);else{var I,A=b?b(S,O,r+"",t,e,h):void 0,F=void 0===A;if(F){var _=d(O),M=!_&&s(O),$=!_&&!M&&c(O);A=O,_||M||$?d(S)?A=S:x(I=S)&&o(I)?A=g(S):M?(F=!1,A=v(O,!0)):$?(F=!1,A=p(O,!0)):A=[]:function(t){if(!x(t)||y(t)!=C)return!1;var e=n(t);if(null===e)return!0;var r=E.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&D.call(r)==z}(O)||k(O)?(A=S,k(S)?A=function(t){return a(t,l(t))}(S):w(S)&&!u(S)||(A=m(O))):F=!1}F&&(h.set(O,A),f(A,O,i,b,h),h.delete(O)),R(t,r,A)}}(t,e,S,r,U,i,b);else{var O=i?i(P(t,S),h,S+"",t,e,b):void 0;void 0===O&&(O=h),R(t,S,O)}}),l)}function B(t){return t}var L,q,H,N=Math.max,V=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:B,W=Date.now;const G=(L=V,q=0,H=0,function(){var t=W(),e=16-(t-H);if(H=t,e>0){if(++q>=800)return arguments[0]}else q=0;return L.apply(void 0,arguments)});var J;const K=(J=function(t,e,r){U(t,e,r)},function(t,e){return G(function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,n=N(i.length-e,0),a=Array(n);++o<n;)a[o]=i[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=i[o];return l[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,l)}}(t,e,B),t+"")}((function(t,e){var i=-1,n=e.length,a=n>1?e[n-1]:void 0,l=n>2?e[2]:void 0;for(a=J.length>3&&"function"==typeof a?(n--,a):void 0,l&&function(t,e,i){if(!w(i))return!1;var n=typeof e;return!!("number"==n?o(i)&&h(e,i.length):"string"==n&&e in i)&&r(i[e],t)}(e[0],e[1],l)&&(a=n<3?void 0:a,n=1),t=Object(t);++i<n;){var d=e[i];d&&J(t,d,i)}return t}))),Q=(e,r=t)=>{let i=Object.assign({},r);return K(i,e),i},X=(t,r,i={},o={grid_pagination:!0,settings_toggle:!0})=>{var n,a,l,d,s,c,g,v,p,k,u,m,f,b,h,x,y,w;const S={showSetupScreen:!0};let O,j=["rtk-stage"],I={},A={};const _=!1!==(null==o?void 0:o.settings_toggle),M=!1!==(null==o?void 0:o.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){j.push("rtk-controlbar");const{elements:i}=t.controlBar,o=[...i.fullscreen?["rtk-fullscreen-toggle"]:[],..._?["rtk-settings-toggle"]:[]],n=[],v=[];(null===(a=r.participants.pip)||void 0===a?void 0:a.isSupported())&&(null===(d=null===(l=r.self)||void 0===l?void 0:l.config)||void 0===d?void 0:d.pipMode)&&"LIVESTREAM"!==(null===(s=r.self.config)||void 0===s?void 0:s.viewType)&&v.push("rtk-pip-toggle"),(null==r?void 0:r.self.permissions.canDisableParticipantAudio)&&v.push("rtk-mute-all-button"),v.push("rtk-breakout-rooms-toggle"),(null===(c=r.self)||void 0===c?void 0:c.permissions.canRecord)&&v.push("rtk-recording-toggle"),null!==(g=r.self.permissions.transcriptionEnabled)&&void 0!==g&&g&&v.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&v.push("rtk-debugger-toggle"),e(r)&&o.push("rtk-livestream-toggle"),i.screenshare&&o.push("rtk-screen-share-toggle"),i.chat&&n.push("rtk-chat-toggle"),i.polls&&n.push("rtk-polls-toggle"),i.participants&&n.push("rtk-participants-toggle"),i.plugins&&n.push("rtk-plugins-toggle"),n.push("rtk-ai-toggle");const p=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];v.length>0&&p.push("rtk-more-toggle");const k=o.concat(n).concat(v);let u=!1;k.length>0&&(u=!0),A={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":o,"div#controlbar-center":p,"div#controlbar-right":n,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":v.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":k.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":k.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",u&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(v=t.header)||void 0===v?void 0:v.isEnabled){j.unshift("rtk-header");const{elements:e}=t.header;let r=["rtk-recording-indicator","rtk-livestream-indicator"],i=[],o=[];M&&o.push("rtk-grid-pagination"),e.title&&i.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(O=e.logo,r.unshift("rtk-logo")),e.participantCount&&o.push("rtk-participant-count","rtk-viewer-count"),e.timer&&o.push("rtk-clock"),I={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":r,"div#header-center":i,"div#header-right":o,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}j.push("rtk-participants-audio","rtk-dialog-manager");let $={logo:O};$=t.designTokens,F(null===(k=null===(p=null==t?void 0:t.designTokens)||void 0===p?void 0:p.colors)||void 0===k?void 0:k.textOnBrand)&&($.colors["text-on-brand"]=null===(m=null===(u=null==t?void 0:t.designTokens)||void 0===u?void 0:u.colors)||void 0===m?void 0:m.textOnBrand),F(null===(b=null===(f=null==t?void 0:t.designTokens)||void 0===f?void 0:f.colors)||void 0===b?void 0:b.videoBg)&&($.colors["video-bg"]=null===(x=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===x?void 0:x.videoBg);let T={designTokens:$,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--dyte-space-2, 8px)"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--dyte-space-1, 4px)"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all",gap:"var(--header-section-gap)"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all",gap:"var(--header-section-gap)",paddingInline:"var(--dyte-space-3, 12px)"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--header-section-gap)"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar","activeAI"]},"rtk-meeting[meeting=idle]":["rtk-idle-screen"],"rtk-meeting[meeting=waiting]":["rtk-waiting-screen"],"rtk-meeting[meeting=setup]":["rtk-setup-screen","rtk-dialog-manager"],"rtk-meeting[meeting=joined]":j,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.sm":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.md":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},I),A),{"rtk-stage":{states:["activeSidebar","activeAI"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-stage.activeAI":{add:[["rtk-ai",{view:"sidebar"}]]},"rtk-stage.activeAI.sm":{remove:["rtk-ai"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenshare":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-grid.activeScreenShare":["rtk-mixed-grid"],"rtk-grid.activePlugin":["rtk-mixed-grid"],"rtk-grid.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-mixed-grid":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",..._?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"div#setupcontrols-settings":[["rtk-settings-toggle",{size:"sm"}]],"rtk-screenshare-view":["rtk-name-tag","rtk-network-indicator"],"rtk-name-tag":[["rtk-audio-visualizer",{slot:"start"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return T=Q(i,T),S.showSetupScreen=null===(w=null===(y=t.setupScreen)||void 0===y?void 0:y.isEnabled)||void 0===w||w,{config:T,data:S}};export{K as d,Q as e,X as g,T as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as i}from"./p-0ee570cd.js";import{d as r,a,c as o}from"./p-
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-0ee570cd.js";import{d as r,a,c as o}from"./p-ee167b96.js";import{S as s}from"./p-2aa242f4.js";var n=function(t,e,i,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(s=(o<3?a(s):o>3?a(e,i,s):a(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const d=class{constructor(e){t(this,e),this.isPinned=!1,this.nameTagPosition="bottom-left",this.isPreview=!1,this.config=r,this.variant="solid",this.iconPack=a,this.t=o(),this.onVideoUpdate=t=>{this.videoState=t}}connectedCallback(){this.participantsChanged(this.participant)}componentDidLoad(){this.videoStateChanged(this.videoState)}disconnectedCallback(){null!=this.participant&&this.participant.removeListener("videoUpdate",this.onVideoUpdate)}async participantsChanged(t){null!=t&&(this.videoState={videoEnabled:t.videoEnabled,videoTrack:t.videoTrack},this.isPinned=t.isPinned,t.addListener("videoUpdate",this.onVideoUpdate))}videoStateChanged(t){if(null!=t&&null!=this.videoEl)if(t.videoEnabled){const e=new MediaStream;e.addTrack(t.videoTrack),this.videoEl.srcObject=e}else this.videoEl.srcObject=void 0}isMirrored(){var t;if(null!=this.participant&&("preview"in this.participant||this.isPreview)){const e=this.states,i=null===(t=null==e?void 0:e.prefs)||void 0===t?void 0:t.mirrorVideo;if("boolean"==typeof i)return i}return!1}render(){var t,r,a,o;return e(i,{key:"69573519e7127835dd9304dcfb507ebbb94e0de8"},e("video",{key:"75c047e3029721e655016da9a40e2b94770a5234",ref:t=>this.videoEl=t,class:{visible:null===(t=this.videoState)||void 0===t?void 0:t.videoEnabled,mirror:this.isMirrored(),[null!==(o=null===(a=null===(r=this.config)||void 0===r?void 0:r.config)||void 0===a?void 0:a.videoFit)&&void 0!==o?o:"cover"]:!0},autoPlay:!0,playsInline:!0,muted:!0}),e("slot",{key:"3bdccee7fb4e001425249fe832b4bdcb01751306"}))}static get watchers(){return{participant:["participantsChanged"],videoState:["videoStateChanged"]}}};n([s()],d.prototype,"states",void 0),n([s()],d.prototype,"size",void 0),n([s()],d.prototype,"iconPack",void 0),n([s()],d.prototype,"t",void 0),d.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{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16 / 9;height:var(--rtk-space-56, 224px);overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));transition-property:var(--rtk-transition-property, all);transition-duration:150ms}@media (prefers-reduced-motion){:host{--rtk-transition-property:none}}:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag){left:var(--rtk-space-2, 8px);bottom:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px)}video{display:none;position:absolute;height:100%;width:100%;border-radius:var(--rtk-border-radius-lg, 12px)}video.contain{-o-object-fit:contain;object-fit:contain}video.cover{-o-object-fit:cover;object-fit:cover}video.visible{display:block}video::-webkit-media-controls{display:none !important}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}video.mirror{transform:scaleX(-1)}@media (orientation: portrait){:host{height:var(--rtk-space-44, 176px)}}";export{d as rtk_participant_setup}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t,h as
|
|
1
|
+
import{r,c as t,h as a,H as o}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-ee167b96.js";import{g as c}from"./p-aaba206b.js";import{S as i}from"./p-2aa242f4.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,H as e,a as s}from"./p-0ee570cd.js";import{d as a,a as o,c as n}from"./p-
|
|
1
|
+
import{r as t,h as i,H as e,a as s}from"./p-0ee570cd.js";import{d as a,a as o,c as n}from"./p-ee167b96.js";import{R as h}from"./p-c8eaa707.js";import{u as r}from"./p-b13ddb7d.js";import{i as c}from"./p-f47d4fe8.js";import{S as p}from"./p-2aa242f4.js";var f=function(t,i,e,s){var a,o=arguments.length,n=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(o<3?a(n):o>3?a(i,e,n):a(i,e))||n);return o>3&&n&&Object.defineProperty(i,e,n),n};const d=class{constructor(i){t(this,i),this.participants=[],this.aspectRatio="16:9",this.gap=8,this.config=a,this.iconPack=o,this.t=n(),this.dimensions={width:0,height:0},this.setHostDimensions=()=>{const{clientWidth:t,clientHeight:i}=this.host;this.dimensions={width:t,height:i}}}connectedCallback(){this.resizeObserver=new c(this.setHostDimensions),this.resizeObserver.observe(this.host),this.meetingChanged(this.meeting)}meetingChanged(t){const i=null==t?void 0:t.meta;i&&(this.mediaConnection=Object.assign({},i.mediaState))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},{width:s,height:a,getPosition:o}=r({dimensions:this.dimensions,count:this.participants.length,aspectRatio:this.aspectRatio,gap:this.gap});return i(e,{key:"66b303c15b37e03ca647f8633c72f664f1e7256f"},i("slot",{key:"14f45cb35f76b6456561df790ca4be4ff415f1e7"},this.participants.map(((e,n)=>{const{top:r,left:c}=o(n);return i(h,{element:"rtk-participant-tile",defaults:t,props:{participant:e,style:{position:"absolute",top:`${r}px`,left:`${c}px`,width:`${s}px`,height:`${a}px`},key:e.id,"data-participant":e.id,mediaConnection:this.mediaConnection},childProps:{participant:e},deepProps:!0})}))))}get host(){return s(this)}static get watchers(){return{meeting:["meetingChanged"]}}};f([p()],d.prototype,"size",void 0),f([p()],d.prototype,"meeting",void 0),f([p()],d.prototype,"states",void 0),f([p()],d.prototype,"iconPack",void 0),f([p()],d.prototype,"t",void 0),d.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{position:relative;display:block;height:100%;width:100%}";export{d as rtk_simple_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{d as r,a as i,c}from"./p-
|
|
1
|
+
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{d as r,a as i,c}from"./p-ee167b96.js";import{S as n}from"./p-2aa242f4.js";var o=function(t,e,a,r){var i,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,r);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(n=(c<3?i(n):c>3?i(e,a,n):i(e,a))||n);return c>3&&n&&Object.defineProperty(e,a,n),n};const s=class{constructor(e){t(this,e),this.config=r,this.iconPack=i,this.t=c()}render(){return e(a,{key:"9f9d0064dfc52af63ae90921929b25c822cb4d8c"},e("slot",{key:"c1c5744d86e89b22fa5f5c1b623ea97c0a1d2731"},e("div",{key:"25e311957c411c61940fa1d51e350d466b0b2c92",class:"ctr",part:"container"},e("rtk-logo",{key:"daac0467ba4c3f5f9c7e23667c928e4ed40d6f96",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),e("rtk-spinner",{key:"c36f58219362cb8d6c31eb975004428439592d3f","aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}};o([n()],s.prototype,"meeting",void 0),o([n()],s.prototype,"iconPack",void 0),o([n()],s.prototype,"t",void 0),s.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{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}rtk-spinner{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";export{s as rtk_idle_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,c as r,h as e,H as t}from"./p-0ee570cd.js";import{c as o,a as c}from"./p-
|
|
1
|
+
import{r as a,c as r,h as e,H as t}from"./p-0ee570cd.js";import{c as o,a as c}from"./p-ee167b96.js";import{d as i}from"./p-9fc565cf.js";import{S as s}from"./p-2aa242f4.js";import{f as d,s as n}from"./p-338c7261.js";var l=function(a,r,e,t){var o,c=arguments.length,i=c<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,r,e,t);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(i=(c<3?o(i):c>3?o(r,e,i):o(r,e))||i);return c>3&&i&&Object.defineProperty(r,e,i),i};const b=class{constructor(e){a(this,e),this.close=r(this,"close",7),this.t=o(),this.iconPack=c,this.keypressListener=a=>{"Escape"===a.key&&this.close.emit()},this.handleOutsideClick=()=>this.close.emit()}connectedCallback(){document.addEventListener("keydown",this.keypressListener),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("keydown",this.keypressListener),document.removeEventListener("click",this.handleOutsideClick)}render(){return e(t,{key:"2bb235425497f7932f5cfd73ab7faa2c15d3691d",class:"scrollbar",onClick:a=>a.stopPropagation()},e("div",{key:"04dd5a250967f61e20b7b8fe559ca4ea1012f949",class:"header"},e("div",{key:"9f533863c5d32c7333c872333d7c6c14c02f5827",class:"shared-by-user"},this.t("chat.img.shared_by")," ",e("span",{key:"6e24710128bef29114ba0fa4f7c06561a7293a96",class:"displayName"},d(n(this.image.displayName)))),e("div",{key:"1d7e518f2b61c74634885518450a0364691205cb",class:"actions"},e("rtk-button",{key:"b9ca96cf9eef4dfe347412daeec77f6b5183e5c5",onClick:()=>i(this.image.link,{fallbackName:"image"})},e("rtk-icon",{key:"ee1326105412e04d113b35a8b1815f22c0699b87",icon:this.iconPack.download,slot:"start"}),"Download"),e("rtk-button",{key:"240d7f9f00f19031402bfca7c54d65a1f3bbef6d",kind:"icon",variant:"secondary",onClick:()=>this.close.emit()},e("rtk-icon",{key:"91e47a9b52baf9f28efda7b1d98f12d90724da1f",icon:this.iconPack.dismiss})))),e("div",{key:"e50deb0d992a18b49641ccfde023f256083d05c7",class:"image-ctr"},e("img",{key:"febe53b5401100dd4a7e9c46693302e4c8dd711c",src:this.image.link})))}};l([s()],b.prototype,"size",void 0),l([s()],b.prototype,"t",void 0),l([s()],b.prototype,"iconPack",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)}.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{width:1140px;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-6, 24px);padding-top:var(--rtk-space-5, 20px);overflow-y:auto;color:rgb(var(--rtk-colors-text-1000, 255 255 255));z-index:40;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.displayName{font-weight:700}.image-ctr{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;justify-content:center;overflow:hidden}.actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}img{box-sizing:border-box;display:block;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--rtk-space-4, 16px)}.shared-by-user{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']) .header{flex-direction:column}:host([size='sm']) .header .actions{margin-top:var(--rtk-space-4, 16px)}";export{b as rtk_image_viewer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a as o,c as a,o as r}from"./p-ee167b96.js";import{S as n}from"./p-2aa242f4.js";var c=function(t,i,s,e){var o,a=arguments.length,r=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(i,s,r):o(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const l=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=o,this.t=a(),this.canToggle=!1,this.permissionsUpdateListener=()=>{this.canToggle=r(this.meeting)},this.breakoutRoomToggle=()=>{var t,i;this.stateUpdate.emit({activeBreakoutRoomsManager:{active:!(null===(i=null===(t=this.states)||void 0===t?void 0:t.activeBreakoutRoomsManager)||void 0===i?void 0:i.active),mode:this.meeting.connectedMeetings.isActive?"view":"create"}})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,s;null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s||s.off("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){t&&(this.canToggle=r(t),t.self.permissions.on("permissionsUpdate",this.permissionsUpdateListener))}render(){if(this.canToggle)return s(e,{title:this.t("breakout_rooms")},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.breakoutRoomToggle,icon:this.iconPack.breakout_rooms,label:this.t("breakout_rooms"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"states",void 0),c([n()],l.prototype,"size",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],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}";export{l as rtk_breakout_rooms_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a,c as n}from"./p-ee167b96.js";import{i as o,r,e as c,a as h}from"./p-02f19345.js";import{S as l}from"./p-2aa242f4.js";var f=function(t,i,s,e){var a,n=arguments.length,o=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(o=(n<3?a(o):n>3?a(i,s,o):a(i,s))||o);return n>3&&o&&Object.defineProperty(i,s,o),o};const d=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=n(),this.fullScreenActive=!1,this.isFullScreenSupported=!0,this.onFullScreenchange=()=>{this.fullScreenActive=o()},this.toggleFullScreen=()=>{let t=this.targetElement||document.querySelector("rtk-meeting");t&&(this.fullScreenActive?(c(),this.fullScreenActive=!1):(r(t),this.fullScreenActive=!0),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){this.isFullScreenSupported=h(),this.onFullScreenchange(),window.addEventListener("webkitfullscreenchange",this.onFullScreenchange),window.addEventListener("fullscreenchange",this.onFullScreenchange)}disconnectedCallback(){window.removeEventListener("webkitfullscreenchange",this.onFullScreenchange),window.removeEventListener("fullscreenchange",this.onFullScreenchange)}render(){return this.isFullScreenSupported?s(e,{title:this.t("full_screen")},s("rtk-controlbar-button",{size:this.size,iconPack:this.iconPack,onClick:this.toggleFullScreen,icon:this.fullScreenActive?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,label:this.t(this.fullScreenActive?"full_screen.exit":"full_screen"),variant:this.variant})):s(e,{"data-hidden":!0})}};f([l()],d.prototype,"states",void 0),f([l()],d.prototype,"size",void 0),f([l()],d.prototype,"iconPack",void 0),f([l()],d.prototype,"t",void 0),d.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{d as rtk_fullscreen_toggle}
|