@cloudflare/realtimekit-ui 1.1.0-staging.9 → 1.1.1-staging.1
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/{ChatHead-e13f3b0e.js → ChatHead-777e6a2d.js} +1 -1
- package/dist/cjs/{TextMessage-1dc6f8b9.js → TextMessage-b9322340.js} +2 -2
- package/dist/cjs/{chat-2ae6f058.js → chat-f1a9fd6e.js} +1 -16
- package/dist/cjs/{config-0a88d50b.js → config-86164f93.js} +2 -2
- package/dist/cjs/{debounce-b06b27ca.js → debounce-267777c1.js} +1 -1
- package/dist/cjs/index-2e5758b6.js +4403 -0
- package/dist/cjs/{index-821d14b7.js → index-6f8c1928.js} +1 -1
- package/dist/cjs/{index-e4244d7d.js → index-92947ea7.js} +2 -2
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{merge-c46cfa17.js → merge-bb096d88.js} +1 -1
- package/dist/cjs/{notification-f3750b61.js → notification-ef397c71.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +30 -3
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +5 -5
- package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +5 -5
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +4 -4
- package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_26.cjs.entry.js} +661 -605
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +8 -8
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +13 -13
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +11 -25
- package/dist/cjs/rtk-chat-message.cjs.entry.js +6 -6
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +13 -7
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -13
- package/dist/cjs/rtk-clock.cjs.entry.js +6 -6
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +4 -4
- package/dist/cjs/rtk-controlbar.cjs.entry.js +5 -5
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +4 -4
- package/dist/cjs/rtk-dialog.cjs.entry.js +4 -4
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +4 -4
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +14 -14
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +4 -4
- package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-header.cjs.entry.js +5 -5
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +46 -5
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +4 -4
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/rtk-leave-button.cjs.entry.js +4 -4
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2477 -1450
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-logo.cjs.entry.js +3 -3
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +3 -3
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +7 -7
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -5
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-name-tag.cjs.entry.js +4 -4
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-notification.cjs.entry.js +7 -7
- package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant-count.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant_2.cjs.entry.js +19 -19
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants.cjs.entry.js +4 -4
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +7 -7
- package/dist/cjs/rtk-poll_2.cjs.entry.js +6 -6
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +4 -4
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +8 -8
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +26 -8
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +5 -5
- package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +6 -6
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage.cjs.entry.js +4 -4
- package/dist/cjs/rtk-transcript.cjs.entry.js +4 -4
- package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +4 -4
- package/dist/cjs/{sidebar-0eb1e4ef.js → sidebar-7df66d80.js} +1 -1
- package/dist/cjs/{ui-store-6c2d680f.js → ui-store-d0e80f30.js} +113 -34
- package/dist/collection/collection-manifest.json +4 -6
- package/dist/collection/components/rtk-ai/rtk-ai.js +9 -3
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +3 -3
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +3 -3
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -4
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +4 -4
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +4 -4
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +3 -3
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +5 -5
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +4 -4
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +4 -4
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -5
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +3 -3
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +3 -3
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +3 -3
- package/dist/collection/components/rtk-chat/rtk-chat.css +4 -37
- package/dist/collection/components/rtk-chat/rtk-chat.js +63 -388
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -51
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +30 -17
- package/dist/collection/components/{rtk-channel-details/rtk-channel-details.css → rtk-chat-header/rtk-chat-header.css} +28 -46
- package/dist/collection/components/rtk-chat-header/rtk-chat-header.js +32 -0
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +0 -2
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +9 -9
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +0 -2
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +6 -6
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +92 -97
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -4
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.css +141 -0
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +445 -0
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +9 -12
- package/dist/collection/components/rtk-clock/rtk-clock.js +5 -5
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +4 -4
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +4 -4
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -2
- package/dist/collection/components/rtk-counter/rtk-counter.css +0 -2
- package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +3 -3
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +3 -3
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +3 -3
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +3 -3
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +4 -4
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +3 -3
- package/dist/collection/components/rtk-dialog/rtk-dialog.css +1 -2
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +3 -3
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +3 -3
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +0 -2
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +3 -3
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +5 -5
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
- package/dist/collection/components/rtk-grid/rtk-grid.js +3 -3
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +0 -2
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +3 -3
- package/dist/collection/components/rtk-header/rtk-header.js +4 -4
- package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +22 -0
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +79 -4
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +7 -7
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +4 -4
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +4 -4
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -5
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +3 -3
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +3 -3
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +9 -3
- package/dist/collection/components/rtk-logo/rtk-logo.js +2 -2
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +6 -0
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +13 -5
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +3 -3
- package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +1 -1
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +3 -3
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +18 -1
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +51 -3
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +3 -3
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +5 -5
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +3 -3
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +4 -4
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +5 -5
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +4 -4
- package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +3 -3
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +4 -4
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +104 -2
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +104 -51
- package/dist/collection/components/rtk-participant/rtk-participant.js +16 -16
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +3 -3
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +5 -5
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +5 -5
- package/dist/collection/components/rtk-participants/rtk-participants.js +3 -3
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +4 -4
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +4 -4
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -3
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +3 -3
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +3 -3
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +3 -3
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +4 -4
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +107 -0
- package/dist/collection/components/{rtk-channel-header/rtk-channel-header.js → rtk-pinned-message-selector/rtk-pinned-message-selector.js} +181 -118
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +9 -3
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +5 -5
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +4 -4
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +3 -3
- package/dist/collection/components/rtk-poll/rtk-poll.js +5 -5
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +6 -6
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +3 -3
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +4 -4
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +3 -3
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +9 -9
- package/dist/collection/components/rtk-settings/rtk-settings.js +3 -3
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +3 -3
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +3 -3
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +0 -2
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +25 -6
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +3 -3
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +11 -5
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +3 -3
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +3 -3
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +5 -5
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +3 -3
- package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +3 -3
- package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +4 -4
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +5 -5
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +2 -2
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +3 -3
- 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 +4 -4
- package/dist/collection/lib/icons/default-icon-pack.js +0 -2
- package/dist/collection/lib/lang/default-language.js +2 -5
- package/dist/collection/lib/overrides.js +1 -0
- package/dist/collection/utils/chat.js +0 -4
- package/dist/collection/utils/flags.js +0 -2
- package/dist/components/index.js +8 -8
- package/dist/components/{p-39e8b34a.js → p-00551379.js} +4 -4
- package/dist/components/{p-bb4983b8.js → p-06de876f.js} +7 -7
- package/dist/components/{p-4902c5cf.js → p-08698341.js} +5 -5
- package/dist/components/{p-5476e3f3.js → p-0d76966c.js} +6 -6
- package/dist/components/{p-dab9d3d6.js → p-0db812c2.js} +1 -12
- package/dist/components/{p-00bb4abb.js → p-0f065bee.js} +11 -11
- package/dist/components/{p-7148ec6a.js → p-0f39e8ae.js} +5 -5
- package/dist/components/{p-7f489600.js → p-1099c0fe.js} +5 -5
- package/dist/components/{p-107e55c1.js → p-1186c3c8.js} +5 -5
- package/dist/components/{p-eeb37b16.js → p-12b59b72.js} +5 -5
- package/dist/components/{p-fb836f65.js → p-15156a2c.js} +2 -2
- package/dist/components/{p-761c0e78.js → p-154bed23.js} +6 -6
- package/dist/components/{p-c05530c8.js → p-1b26fbf7.js} +3 -3
- package/dist/components/{p-e0510925.js → p-1cbbf87d.js} +7 -7
- package/dist/components/{p-dc3143c0.js → p-1fd0aeb8.js} +3 -3
- package/dist/components/{p-294cda89.js → p-2281c2c4.js} +8 -8
- package/dist/components/{p-ad873f2d.js → p-2305aa2d.js} +1 -1
- package/dist/components/{p-6f8d2043.js → p-2690645d.js} +3 -3
- package/dist/components/{p-616ae7ab.js → p-2976fcb0.js} +8 -8
- package/dist/components/{p-8cfdac0d.js → p-2c66d025.js} +9 -9
- package/dist/components/{p-fa476519.js → p-2f56d366.js} +11 -11
- package/dist/components/{p-598dc3f2.js → p-3577385a.js} +8 -8
- package/dist/components/{p-241a8245.js → p-38ba07d0.js} +6 -6
- package/dist/components/{p-6101a21c.js → p-401ce922.js} +5 -5
- package/dist/components/{p-2090b03d.js → p-41bf1c3d.js} +5 -5
- package/dist/components/{p-46d99dd9.js → p-41d43013.js} +7 -7
- package/dist/components/{p-4e5a54c2.js → p-4870263f.js} +16 -16
- package/dist/components/p-4a8d69ae.js +437 -0
- package/dist/components/{p-a8a6496d.js → p-4b7af749.js} +9 -9
- package/dist/components/{p-45220ce9.js → p-512c4515.js} +7 -7
- package/dist/components/{p-c0db1a83.js → p-526870e9.js} +82 -59
- package/dist/components/p-528cc24e.js +260 -0
- package/dist/components/{p-da87cc71.js → p-583f9282.js} +1 -1
- package/dist/components/p-5c4de4b9.js +86 -0
- package/dist/components/{p-8d6b21d5.js → p-5cce54f2.js} +8 -8
- package/dist/components/{p-cf8f725b.js → p-61dcdd44.js} +4 -4
- package/dist/components/p-6857797f.js +218 -0
- package/dist/components/{p-d765dbe4.js → p-6c0eb5d7.js} +11 -11
- package/dist/components/{p-95e08256.js → p-6e373d96.js} +4 -4
- package/dist/components/{p-aae4c250.js → p-707dced6.js} +2 -2
- package/dist/components/{p-b30d5f6b.js → p-71fb663b.js} +4 -4
- package/dist/components/{p-c334f0e5.js → p-7210157d.js} +8 -8
- package/dist/components/{p-35e93724.js → p-73db39b8.js} +2 -2
- package/dist/components/{p-193d8051.js → p-76c443b7.js} +3 -3
- package/dist/components/{p-6739a399.js → p-8123217e.js} +3 -3
- package/dist/components/{p-fb900e8f.js → p-81658a62.js} +6 -6
- package/dist/components/{p-02b840f8.js → p-81f479e2.js} +8 -8
- package/dist/components/p-8a0106ed.js +463 -0
- package/dist/components/{p-05df465d.js → p-8cea6257.js} +1 -1
- package/dist/components/{p-695f0784.js → p-95a1fa70.js} +5 -5
- package/dist/components/{p-a51db0d6.js → p-9bf3a2cd.js} +22 -22
- package/dist/components/{p-4ebf9684.js → p-9cf41ab1.js} +5 -5
- package/dist/components/{p-0e5cc539.js → p-9e1478a0.js} +7 -7
- package/dist/components/{p-da9018ea.js → p-a101bff7.js} +11 -11
- package/dist/components/{p-0f2de0f8.js → p-a339a693.js} +18 -12
- package/dist/components/{p-3b29dda1.js → p-a3cc7425.js} +2 -2
- package/dist/components/{p-89025409.js → p-a6c17b0d.js} +2482 -1455
- package/dist/components/{p-4b319158.js → p-a74caccd.js} +4 -4
- package/dist/components/{p-2309fb19.js → p-ad179bea.js} +5 -5
- package/dist/components/{p-819cb785.js → p-b1723439.js} +5 -5
- package/dist/components/{p-1a9e3806.js → p-b2d5329f.js} +5 -5
- package/dist/components/{p-3e58e0f3.js → p-bcff8acc.js} +4 -4
- package/dist/components/{p-6c9a833e.js → p-bfc86230.js} +4 -4
- package/dist/components/{p-a54b82e9.js → p-c0790538.js} +1 -1
- package/dist/components/{p-1a8b46bb.js → p-c0ad28ff.js} +9 -9
- package/dist/components/{p-4aede34c.js → p-c0de7320.js} +5 -5
- package/dist/components/{p-6ec01673.js → p-c6c4c24e.js} +4 -4
- package/dist/components/{p-540d8eb9.js → p-cb053923.js} +6 -6
- package/dist/components/{p-af3b99f4.js → p-cd6656bf.js} +8 -8
- package/dist/components/{p-a25f3aca.js → p-d0b9b4a1.js} +6 -6
- package/dist/components/{p-5669b6e7.js → p-d0eb78a2.js} +9 -9
- package/dist/components/{p-43d6a221.js → p-d22fc130.js} +8 -8
- package/dist/components/{p-4b375dfa.js → p-d6024528.js} +4 -4
- package/dist/components/{p-2447a26f.js → p-d70fbc37.js} +5 -5
- package/dist/components/{p-2a65883d.js → p-da13b457.js} +6 -6
- package/dist/components/{p-0a31ef52.js → p-dacaa250.js} +3 -3
- package/dist/components/{p-1f5a4682.js → p-e0ef3893.js} +7 -7
- package/dist/components/{p-1391bef0.js → p-e229128b.js} +1 -1
- package/dist/components/{p-6f7c46d2.js → p-e334e15c.js} +2 -2
- package/dist/components/{p-fef53de3.js → p-ecbb4e46.js} +7 -7
- package/dist/components/{p-84b30573.js → p-eff3c856.js} +6 -6
- package/dist/components/{p-e847fee9.js → p-f19b4abc.js} +114 -35
- package/dist/components/{p-7834fd55.js → p-f1fa3b2a.js} +7 -7
- package/dist/components/{p-60fdbd75.js → p-f3c261ec.js} +1 -1
- package/dist/components/{p-0b2b3442.js → p-f4bd3f50.js} +7 -7
- package/dist/components/{p-48acb953.js → p-f517e595.js} +6 -6
- package/dist/components/{p-89eb65a9.js → p-fa8cf270.js} +3 -3
- package/dist/components/{p-28170a8d.js → p-fb5a823a.js} +24 -30
- package/dist/components/p-fdad14c9.js +4028 -0
- package/dist/components/rtk-ai-toggle.js +6 -6
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +6 -6
- package/dist/components/rtk-audio-grid.js +5 -5
- package/dist/components/rtk-audio-tile.js +7 -7
- 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 +6 -6
- 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 +7 -7
- package/dist/components/rtk-caption-toggle.js +6 -6
- package/dist/components/rtk-chat-composer-ui.js +17 -34
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/{rtk-channel-header.d.ts → rtk-chat-header.d.ts} +4 -4
- package/dist/components/rtk-chat-header.js +6 -0
- 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 +26 -20
- package/dist/components/rtk-chat-search-results.js +16 -16
- package/dist/components/rtk-chat-selector-ui.js +5 -5
- package/dist/components/{rtk-channel-creator.d.ts → rtk-chat-selector.d.ts} +4 -4
- package/dist/components/rtk-chat-selector.js +6 -0
- package/dist/components/rtk-chat-toggle.js +13 -16
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +7 -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 +5 -5
- 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 +7 -7
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +26 -26
- 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 +5 -5
- package/dist/components/rtk-file-dropzone.js +5 -5
- 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 +12 -12
- package/dist/components/rtk-header.js +5 -5
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +56 -9
- 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 +6 -6
- package/dist/components/rtk-information-tooltip.js +5 -5
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +7 -7
- 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 +6 -6
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +4 -4
- package/dist/components/rtk-meeting.js +69 -49
- 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 +8 -8
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +7 -7
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +10 -10
- package/dist/components/rtk-more-toggle.js +8 -8
- package/dist/components/rtk-mute-all-button.js +7 -7
- 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 +4 -4
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +8 -8
- 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 +4 -4
- package/dist/components/rtk-participant-setup.js +5 -5
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +7 -7
- 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 +7 -7
- 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 +17 -17
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pinned-message-selector.d.ts +11 -0
- package/dist/components/rtk-pinned-message-selector.js +6 -0
- package/dist/components/rtk-pip-toggle.js +6 -6
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +7 -7
- 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 +7 -7
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +5 -5
- package/dist/components/rtk-recording-toggle.js +6 -6
- package/dist/components/rtk-screen-share-toggle.js +7 -7
- package/dist/components/rtk-screenshare-view.js +11 -11
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +7 -7
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +13 -13
- package/dist/components/rtk-setup-screen.js +33 -14
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +13 -13
- package/dist/components/rtk-simple-grid.js +4 -4
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +6 -6
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +7 -7
- package/dist/components/rtk-stage.js +4 -4
- 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 +4 -4
- 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 +5 -5
- package/dist/docs/docs-components.json +11101 -18241
- package/dist/docs/docs-vscode.json +64 -114
- package/dist/esm/{ChatHead-15c2f8d4.js → ChatHead-148558a8.js} +1 -1
- package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-cdf76ced.js} +2 -2
- package/dist/esm/{chat-b2bea75f.js → chat-12f27725.js} +2 -13
- package/dist/esm/{config-325caca3.js → config-74c02ff0.js} +2 -2
- package/dist/esm/{debounce-3139f9e3.js → debounce-0c6e63e9.js} +1 -1
- package/dist/esm/{index-d31a2e33.js → index-3f51790f.js} +1 -1
- package/dist/esm/index-55463a54.js +4365 -0
- package/dist/esm/{index-6eb882e7.js → index-e677f28b.js} +2 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/loader.js +6551 -3612
- package/dist/esm/{merge-bc2a0775.js → merge-df16b7d2.js} +1 -1
- package/dist/esm/{notification-4beb1e0d.js → notification-dd8b1d52.js} +1 -1
- package/dist/esm/realtimekit-ui.js +31 -4
- package/dist/esm/rtk-ai-toggle.entry.js +3 -3
- package/dist/esm/rtk-ai-transcriptions.entry.js +5 -5
- package/dist/esm/rtk-ai.entry.js +3 -3
- package/dist/esm/rtk-audio-grid.entry.js +5 -5
- package/dist/esm/rtk-audio-tile.entry.js +3 -3
- package/dist/esm/rtk-audio-visualizer_4.entry.js +4 -4
- package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_26.entry.js} +659 -605
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +8 -8
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +13 -13
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
- package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
- package/dist/esm/rtk-camera-toggle.entry.js +3 -3
- package/dist/esm/rtk-caption-toggle.entry.js +3 -3
- package/dist/esm/rtk-chat-composer-ui.entry.js +11 -25
- package/dist/esm/rtk-chat-message.entry.js +6 -6
- package/dist/esm/rtk-chat-messages-ui.entry.js +13 -7
- package/dist/esm/rtk-chat-search-results.entry.js +4 -4
- package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-toggle.entry.js +10 -13
- package/dist/esm/rtk-clock.entry.js +6 -6
- package/dist/esm/rtk-controlbar-button.entry.js +4 -4
- package/dist/esm/rtk-controlbar.entry.js +5 -5
- package/dist/esm/rtk-debugger-audio_4.entry.js +3 -3
- package/dist/esm/rtk-debugger-toggle.entry.js +4 -4
- package/dist/esm/rtk-dialog-manager.entry.js +4 -4
- package/dist/esm/rtk-dialog.entry.js +4 -4
- package/dist/esm/rtk-ended-screen.entry.js +3 -3
- package/dist/esm/rtk-file-dropzone.entry.js +4 -4
- package/dist/esm/rtk-file-message_3.entry.js +14 -14
- package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
- package/dist/esm/rtk-grid-pagination.entry.js +4 -4
- package/dist/esm/rtk-grid.entry.js +4 -4
- package/dist/esm/rtk-header.entry.js +5 -5
- package/dist/esm/rtk-idle-screen.entry.js +46 -5
- package/dist/esm/rtk-image-viewer.entry.js +4 -4
- package/dist/esm/rtk-information-tooltip.entry.js +4 -4
- package/dist/esm/rtk-leave-button.entry.js +4 -4
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2477 -1450
- package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
- package/dist/esm/rtk-logo.entry.js +3 -3
- package/dist/esm/rtk-meeting-title.entry.js +3 -3
- package/dist/esm/rtk-message-list-view.entry.js +7 -7
- package/dist/esm/rtk-mic-toggle.entry.js +3 -3
- package/dist/esm/rtk-mixed-grid.entry.js +4 -4
- package/dist/esm/rtk-more-toggle.entry.js +5 -5
- package/dist/esm/rtk-mute-all-button.entry.js +3 -3
- package/dist/esm/rtk-name-tag.entry.js +4 -4
- package/dist/esm/rtk-network-indicator.entry.js +3 -3
- package/dist/esm/rtk-notification.entry.js +7 -7
- package/dist/esm/rtk-notifications.entry.js +5 -5
- package/dist/esm/rtk-participant-count.entry.js +3 -3
- package/dist/esm/rtk-participant-setup.entry.js +5 -5
- package/dist/esm/rtk-participant_2.entry.js +19 -19
- package/dist/esm/rtk-participants-audio.entry.js +4 -4
- package/dist/esm/rtk-participants-stage-list_4.entry.js +5 -5
- package/dist/esm/rtk-participants-toggle.entry.js +4 -4
- package/dist/esm/rtk-participants.entry.js +4 -4
- package/dist/esm/rtk-pip-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugin-main_2.entry.js +4 -4
- package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
- package/dist/esm/rtk-plugins_2.entry.js +7 -7
- package/dist/esm/rtk-poll_2.entry.js +6 -6
- package/dist/esm/rtk-polls-toggle.entry.js +4 -4
- package/dist/esm/rtk-recording-indicator.entry.js +4 -4
- package/dist/esm/rtk-recording-toggle.entry.js +3 -3
- package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
- package/dist/esm/rtk-screenshare-view.entry.js +8 -8
- package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
- package/dist/esm/rtk-settings-toggle.entry.js +4 -4
- package/dist/esm/rtk-settings.entry.js +3 -3
- package/dist/esm/rtk-setup-screen.entry.js +26 -8
- package/dist/esm/rtk-sidebar-ui.entry.js +5 -5
- package/dist/esm/rtk-sidebar.entry.js +5 -5
- package/dist/esm/rtk-simple-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-grid.entry.js +6 -6
- package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
- package/dist/esm/rtk-stage-toggle.entry.js +3 -3
- package/dist/esm/rtk-stage.entry.js +4 -4
- package/dist/esm/rtk-transcript.entry.js +4 -4
- package/dist/esm/rtk-transcripts.entry.js +3 -3
- package/dist/esm/rtk-ui-provider.entry.js +3 -3
- package/dist/esm/rtk-waiting-screen.entry.js +4 -4
- package/dist/esm/{sidebar-376c9917.js → sidebar-293fd302.js} +1 -1
- package/dist/esm/{ui-store-12132d9c.js → ui-store-644e4cb0.js} +114 -35
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-01ef7b4d.entry.js +1 -0
- package/dist/realtimekit-ui/p-0511529f.entry.js +1 -0
- package/dist/realtimekit-ui/p-06dcd55e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a1408db4.entry.js → p-07860158.entry.js} +1 -1
- package/dist/realtimekit-ui/p-0bd7eedc.entry.js +1 -0
- package/dist/realtimekit-ui/p-0c3f571f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-0cfee5d3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-1517b428.entry.js +1 -0
- package/dist/realtimekit-ui/{p-6914a616.entry.js → p-15297e89.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-1a4f0b00.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-1efb8f44.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2441260e.entry.js → p-1f877b80.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-af58f450.entry.js → p-1feec027.entry.js} +1 -1
- package/dist/realtimekit-ui/p-205590ae.entry.js +1 -0
- package/dist/realtimekit-ui/p-25f3e66a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-6888b050.entry.js → p-26b4e422.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29549a05.entry.js +1 -0
- package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-2b47921e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2f93d90b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-afa7211c.js → p-2ff77d78.js} +1 -1
- package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-30a3007c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3125a6e7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9b550ec4.js → p-315cd380.js} +1 -1
- package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-36f7accb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-3ec85ff3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-14569a57.entry.js → p-40ab8b0f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-43fa4d95.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-4814e742.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-616dc312.entry.js → p-4a5e203d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4ec77793.js +1 -0
- package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-50aaac81.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-5a425dac.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c5f704a3.entry.js → p-6038d773.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6573487e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6741242b.entry.js +1 -0
- package/dist/realtimekit-ui/p-67c674d4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-02c6b025.entry.js → p-67e751d5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-67f94206.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6a1faaf1.entry.js +1 -0
- package/dist/realtimekit-ui/p-6acdcb4f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-6c2ef845.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-6d0690f6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-71393f37.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-76b45a0d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a7e0277f.js → p-77e5605f.js} +1 -1
- package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-78802076.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7c6cdccf.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-8329d4ae.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-342b4926.entry.js → p-879459bb.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8dd8bab2.entry.js +1 -0
- package/dist/realtimekit-ui/p-8e9ff91e.entry.js +1 -0
- package/dist/realtimekit-ui/p-8fc79c56.js +1 -0
- package/dist/realtimekit-ui/{p-00445029.entry.js → p-91735c98.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-975cbc2e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9ff0dfdb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-54a88fdf.entry.js → p-a09b6b2c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-a43a7ffb.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a599f720.js +2 -0
- package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-aac14289.entry.js} +1 -1
- package/dist/realtimekit-ui/p-abbee273.entry.js +1 -0
- package/dist/realtimekit-ui/p-ad11a64a.entry.js +1 -0
- package/dist/realtimekit-ui/p-aee32120.entry.js +1 -0
- package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-b0eaeddc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-b5d279fd.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b5e5e206.js +1 -0
- package/dist/realtimekit-ui/{p-6896e819.entry.js → p-b7bbc696.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-bbaf3e7d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-11a469d9.js → p-be0d2b90.js} +1 -1
- package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-bea3ee08.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-c0e5ddd4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c8f0b23e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-573187b4.entry.js → p-cbbb09a2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-80e51a73.entry.js → p-cbfe61b9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-cd086077.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d107248e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-d10fe6c7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d1a6e546.entry.js +1 -0
- package/dist/realtimekit-ui/p-d24dd330.entry.js +1 -0
- package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-d3acf8e9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d3d4e6de.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d432c842.entry.js +1 -0
- package/dist/realtimekit-ui/p-d5af89d0.entry.js +1 -0
- package/dist/realtimekit-ui/p-d6126ff7.js +1 -0
- package/dist/realtimekit-ui/{p-d3e520e5.js → p-ddcb6b8b.js} +1 -1
- package/dist/realtimekit-ui/{p-4485414e.entry.js → p-de253745.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-369648b9.entry.js → p-de2fd3a4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-e6fc5935.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c8eaa707.js → p-eccb6d78.js} +1 -1
- package/dist/realtimekit-ui/p-f1c4d507.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-f423e125.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f266302c.entry.js → p-f4e8a0b3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cd0c5440.js → p-f6fdb3c3.js} +1 -1
- package/dist/realtimekit-ui/p-ff86148c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-ffac36ba.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-ai/rtk-ai.d.ts +6 -0
- package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +6 -0
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +6 -43
- package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +1 -4
- package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
- package/dist/types/components/rtk-chat-header/rtk-chat-header.d.ts +7 -0
- package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +6 -15
- package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +54 -0
- package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +11 -0
- package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +6 -0
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +5 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +11 -5
- package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +6 -0
- package/dist/types/components/rtk-pinned-message-selector/rtk-pinned-message-selector.d.ts +40 -0
- package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +6 -0
- package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +1 -0
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +6 -2
- package/dist/types/components.d.ts +336 -498
- package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
- package/dist/types/lib/lang/default-language.d.ts +1 -4
- package/dist/types/lib/overrides.d.ts +5 -0
- package/dist/types/types/props.d.ts +1 -4
- package/dist/types/utils/chat.d.ts +1 -3
- package/dist/types/utils/flags.d.ts +0 -2
- package/package.json +1 -1
- package/dist/cjs/index-05554ce6.js +0 -2251
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
- package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
- package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
- package/dist/components/p-713c7ed7.js +0 -85
- package/dist/components/p-a73665b4.js +0 -203
- package/dist/components/p-b64798ac.js +0 -703
- package/dist/components/p-c3592601.js +0 -1641
- package/dist/components/p-fbc02b1f.js +0 -402
- package/dist/components/rtk-channel-creator.js +0 -214
- package/dist/components/rtk-channel-details.d.ts +0 -11
- package/dist/components/rtk-channel-details.js +0 -6
- package/dist/components/rtk-channel-header.js +0 -151
- package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
- package/dist/components/rtk-channel-selector-ui.js +0 -194
- package/dist/components/rtk-channel-selector-view.d.ts +0 -11
- package/dist/components/rtk-channel-selector-view.js +0 -6
- package/dist/esm/index-c1fb98bb.js +0 -2218
- package/dist/esm/rtk-channel-creator.entry.js +0 -159
- package/dist/esm/rtk-channel-details.entry.js +0 -45
- package/dist/esm/rtk-channel-header.entry.js +0 -79
- package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
- package/dist/realtimekit-ui/p-0ee570cd.js +0 -2
- package/dist/realtimekit-ui/p-1462cbd9.entry.js +0 -1
- package/dist/realtimekit-ui/p-1834416c.entry.js +0 -1
- package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
- package/dist/realtimekit-ui/p-23784be6.entry.js +0 -1
- package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
- package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
- package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
- package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
- package/dist/realtimekit-ui/p-43530cd3.entry.js +0 -1
- package/dist/realtimekit-ui/p-45f90b95.js +0 -1
- package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
- package/dist/realtimekit-ui/p-4b638184.entry.js +0 -1
- package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
- package/dist/realtimekit-ui/p-5892c1e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-5b2d97fc.js +0 -1
- package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
- package/dist/realtimekit-ui/p-639601b7.entry.js +0 -1
- package/dist/realtimekit-ui/p-64206b62.entry.js +0 -1
- package/dist/realtimekit-ui/p-67ead213.entry.js +0 -1
- package/dist/realtimekit-ui/p-685adc5f.entry.js +0 -1
- package/dist/realtimekit-ui/p-701cdf1b.entry.js +0 -1
- package/dist/realtimekit-ui/p-7a9a226e.entry.js +0 -1
- package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
- package/dist/realtimekit-ui/p-85b45c3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-95fb25d6.entry.js +0 -1
- package/dist/realtimekit-ui/p-a031547c.entry.js +0 -1
- package/dist/realtimekit-ui/p-a5900df2.js +0 -1
- package/dist/realtimekit-ui/p-a680da64.entry.js +0 -1
- package/dist/realtimekit-ui/p-a9190330.entry.js +0 -1
- package/dist/realtimekit-ui/p-a91a2e10.entry.js +0 -1
- package/dist/realtimekit-ui/p-ac6c8ebe.entry.js +0 -1
- package/dist/realtimekit-ui/p-b25f7d7b.entry.js +0 -1
- package/dist/realtimekit-ui/p-b51e813e.entry.js +0 -1
- package/dist/realtimekit-ui/p-be03944b.entry.js +0 -1
- package/dist/realtimekit-ui/p-cda276d6.entry.js +0 -1
- package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
- package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea21ec0c.entry.js +0 -1
- package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +0 -1
- package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
- package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e="realtimekit-ui",t={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,modernPropertyDecls:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0};var n,o=Object.defineProperty,s={isDev:!!t.isDev,isBrowser:!0,isServer:!1,isTesting:!!t.isTesting},i=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((t.state||t.prop)&&(31&s||32&s)){const t=e[o],s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),o);Object.defineProperty(e,o,{get(){return s.get.call(this)},set(e){s.set.call(this,e)},configurable:!0,enumerable:!0}),e[o]=n.i.has(o)?n.i.get(o):t}}))},r=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},l=(e,n)=>{e.__stencil__getHostRef=()=>n,n.l=e,t.modernPropertyDecls&&(t.state||t.prop)&&i(e,n)},c=(e,n)=>{const o={u:0,$hostElement$:e,o:n,i:new Map};t.isDev&&(o.p=0),t.method&&t.lazyLoad&&(o.m=new Promise((e=>o.v=e))),t.asyncLoading&&(o.$=new Promise((e=>o.S=e)),e["s-p"]=[],e["s-rc"]=[]);const s=o;return e.__stencil__getHostRef=()=>s,!t.lazyLoad&&t.modernPropertyDecls&&(t.state||t.prop)&&i(e,o),s},a=(e,t)=>t in e,u=(e,t)=>(n||console.error)(e,t),d=t.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],f=(...e)=>console.error(...d,...e),h=(...e)=>console.warn(...d,...e),p=(...e)=>console.info(...d,...e),m=new Map,v=(e,n,o)=>{const s=e.C.replace(/-/g,"_"),i=e.O;if(t.isDev&&"string"!=typeof i)return void f(`Trying to lazily load component <${e.C}> with style mode "${n.j}", but it does not exist.`);if(!i)return;const r=!t.hotModuleReplacement&&m.get(i);return r?r[s]:import(`./${i}.entry.js${t.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((e=>(t.hotModuleReplacement||m.set(i,e),e[s])),(e=>{u(e,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},$=new Map,g=[],b="s-id",y="sty-id",w="c-id",S="_stencilDocData",x={hostIds:0,rootLevelIds:0,staticComponents:new Set},C="slot-fb{display:contents}slot-fb[hidden]{display:none}",O="http://www.w3.org/1999/xlink",j=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],E="undefined"!=typeof window?window:{},k=E.HTMLElement||class{},N={u:0,k:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},T=t.shadowDom,R=e=>Promise.resolve(e),L=!!t.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),_=0,D=!1,M=[],A=[],I=[],P=(e,t)=>n=>{e.push(n),D||(D=!0,t&&4&N.u?B(U):N.raf(U))},F=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){u(e)}e.length=0},H=(e,t)=>{let n=0,o=0;for(;n<e.length&&(o=performance.now())<t;)try{e[n++](o)}catch(e){u(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},U=()=>{if(t.asyncQueue&&_++,F(M),t.asyncQueue){const e=2==(6&N.u)?performance.now()+14*Math.ceil(.1*_):1/0;H(A,e),H(I,e),A.length>0&&(I.push(...A),A.length=0),(D=M.length+A.length+I.length>0)?N.raf(U):_=0}else F(A),(D=M.length>0)&&N.raf(U)},B=e=>R().then(e),W=P(M,!1),z=P(A,!0),V=e=>"object"==(e=typeof e)||"function"===e;function X(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})({},{err:()=>J,map:()=>K,ok:()=>Y,unwrap:()=>Q,unwrapErr:()=>q});var Y=e=>({isOk:!0,isErr:!1,value:e}),J=e=>({isOk:!1,isErr:!0,value:e});function K(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>Y(e))):Y(n)}if(e.isErr)return J(e.value);throw"should never get here"}var Q=e=>{if(e.isOk)return e.value;throw e.value},q=e=>{if(e.isErr)return e.value;throw e.value},G=e=>{const t=Ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&ee(t,e.tagName).forEach((e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!te(e,se(e),!1).length)}));let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&Ne(e,"childNodes").length&&G(e)}},Z=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function ee(e,t,n){let o,s=0,i=[];for(;s<e.length;s++){if(o=e[s],o["s-sr"]&&(!t||o["s-hn"]===t)&&(void 0===n||se(o)===n)&&(i.push(o),void 0!==n))return i;i=[...i,...ee(o.childNodes,t,n)]}return i}var te=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)se(s)!==t||!n&&s["s-sr"]||o.push(s);return o},ne=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,oe=(e,n,o,s)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=e,!n["s-cr"]||!n["s-cr"].parentNode)return;const r=n["s-cr"].parentNode,l=Ne(r,o?"prepend":"appendChild");if(t.hydrateClientSide&&void 0!==s){i["s-oo"]=s;const e=Ne(r,"childNodes"),t=[i];e.forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0)),t.forEach((e=>l.call(r,e)))}else l.call(r,i);e["s-ol"]=i,e["s-sh"]=n["s-hn"]},se=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function ie(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots. \n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:Z(s.childNodes)).forEach((e=>{o===se(e)&&n.push(e)})),t?n.filter((e=>1===e.nodeType)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function re(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function le(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=e["s-sn"]=se(e)||"";return{slotNode:ee(Ne(t,"childNodes"),t.tagName,o)[0],slotName:o}}var ce=e=>{ae(e),ue(e),he(e),fe(e),$e(e),pe(e),me(e),ve(e),ge(e),be(e),de(e)},ae=e=>{const n=e.cloneNode;e.cloneNode=function(e){const o=!!t.shadowDom&&this.shadowRoot&&T,s=n.call(this,!!o&&e);if(t.slot&&!o&&e){let e,n,o=0;const i=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],r=this.__childNodes||this.childNodes;for(;o<r.length;o++)e=r[o]["s-nr"],n=i.every((e=>!r[o][e])),e&&(t.appendChildSlotFix&&s.__appendChild?s.__appendChild(e.cloneNode(!0)):s.appendChild(e.cloneNode(!0))),n&&s.appendChild(r[o].cloneNode(!0))}return s}},ue=e=>{e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=le(e,this);if(n){oe(e,n);const o=te(n,t),s=o[o.length-1],i=Ne(s,"parentNode"),r=Ne(i,"insertBefore")(e,s.nextSibling);return re(n),G(this),r}return this.__appendChild(e)}},de=e=>{e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&ee(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void G(this)):this.__removeChild(e)}},fe=e=>{e.__prepend=e.prepend,e.prepend=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=se(t))||"",o=ee(Ne(this,"childNodes"),this.tagName,n)[0];if(o){oe(t,o,!0);const e=te(o,n)[0],s=Ne(e,"parentNode"),i=Ne(s,"insertBefore")(t,Ne(e,"nextSibling"));return re(o),i}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)}))}},he=e=>{e.__append=e.append,e.append=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)}))}},pe=e=>{const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===e)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===e)for(;s=o.firstChild;)this.append(s)}},me=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},ve=e=>{e.__insertBefore||(e.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:o}=le(e,this),s=this.__childNodes?this.childNodes:Z(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==t&&null!==t);else{if(i=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){oe(e,o);const n=Ne(t,"parentNode");Ne(n,"insertBefore")(e,t),re(o)}}})),i)return e}const i=null==t?void 0:t.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(e):this.__insertBefore(e,t)})},$e=e=>{const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},ge=e=>{ke("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((t=>e+=t.textContent||"")),e},set:function(e){(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()})),this.insertAdjacentHTML("beforeend",e)}})},be=e=>{class t extends Array{item(e){return this[e]}}ke("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),ke("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),ke("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),ke("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...Z(this.__childNodes)),e}})},ye=e=>{e&&void 0===e.__nextSibling&&globalThis.Node&&(we(e),xe(e),Oe(e),e.nodeType===Node.ELEMENT_NODE&&(Se(e),Ce(e)))},we=e=>{e&&!e.__nextSibling&&(ke("nextSibling",e),Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextSibling}}))},Se=e=>{e&&!e.__nextElementSibling&&(ke("nextElementSibling",e),Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextElementSibling}}))},xe=e=>{e&&!e.__previousSibling&&(ke("previousSibling",e),Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousSibling}}))},Ce=e=>{e&&!e.__previousElementSibling&&(ke("previousElementSibling",e),Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousElementSibling}}))},Oe=e=>{e&&!e.__parentNode&&(ke("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},je=["children","nextElementSibling","previousElementSibling"],Ee=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function ke(e,t){let n;je.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):Ee.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function Ne(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var Te=0,Re=(e,n="")=>{if(t.profile&&performance.mark){const t=`st:${e}:${n}:${Te++}`;return performance.mark(t),()=>performance.measure(`[Stencil] ${e}() <${n}>`,t)}return()=>{}},Le=(e,n,...o)=>{let s=null,i=null,r=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof e&&!V(s))?s+="":t.isDev&&"function"!=typeof e&&void 0===s.u&&f("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].N+=s:a.push(l?_e(null,s):s),c=l)};if(u(o),n&&(t.isDev&&"input"===e&&Fe(n),t.vdomKey&&n.key&&(i=n.key),t.slotRelocation&&n.name&&(r=n.name),t.vdomClass)){const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}if(t.isDev&&a.some(Me)&&f("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),t.vdomFunctional&&"function"==typeof e)return e(null===n?{}:n,a,Ae);const d=_e(e,null);return d.T=n,a.length>0&&(d.R=a),t.vdomKey&&(d.L=i),t.slotRelocation&&(d._=r),d},_e=(e,n)=>{const o={u:0,D:e,N:n,M:null,R:null};return t.vdomAttribute&&(o.T=null),t.vdomKey&&(o.L=null),t.slotRelocation&&(o._=null),o},De={},Me=e=>e&&e.D===De,Ae={forEach:(e,t)=>e.map(Ie).forEach(t),map:(e,t)=>e.map(Ie).map(t).map(Pe)},Ie=e=>({vattrs:e.T,vchildren:e.R,vkey:e.L,vname:e._,vtag:e.D,vtext:e.N}),Pe=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),Le(e.vtag,t,...e.vchildren||[])}const t=_e(e.vtag,e.vtext);return t.T=e.vattrs,t.R=e.vchildren,t.L=e.vkey,t._=e.vname,t},Fe=e=>{const t=Object.keys(e),n=t.indexOf("value");if(-1===n)return;const o=t.indexOf("type"),s=t.indexOf("min"),i=t.indexOf("max"),r=t.indexOf("step");(n<o||n<s||n<i||n<r)&&h('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},He=(e,n,o,s,i,r,l,c=[])=>{let a,u,d,f;const h=i["s-sc"];if(1===r.nodeType){if(a=r.getAttribute(w),a&&(u=a.split("."),u[0]===l||"0"===u[0])){d=Be({u:0,A:u[0],I:u[1],P:u[2],F:u[3],D:r.tagName.toLowerCase(),M:r,T:{class:r.className||""}}),n.push(d),r.removeAttribute(w),e.R||(e.R=[]),t.scoped&&h&&(r["s-si"]=h,d.T.class+=" "+h);const i=d.M.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===d.D&&(We(i,u[2],d,r,e,n,o,s,c),t.scoped&&h&&r.classList.add(h)),d.M["s-sn"]=i,d.M.removeAttribute("s-sn")),void 0!==d.F&&(e.R[d.F]=d),e=d,s&&"0"===d.P&&(s[d.F]=d.M)}if(r.shadowRoot)for(f=r.shadowRoot.childNodes.length-1;f>=0;f--)He(e,n,o,s,i,r.shadowRoot.childNodes[f],l,c);const p=r.__childNodes||r.childNodes;for(f=p.length-1;f>=0;f--)He(e,n,o,s,i,p[f],l,c)}else if(8===r.nodeType)u=r.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],d=Be({A:u[1],I:u[2],P:u[3],F:u[4]||"0",M:r,T:null,R:null,L:null,_:null,D:null,N:null}),"t"===a?(d.M=Je(r,3),d.M&&3===d.M.nodeType&&(d.N=d.M.textContent,n.push(d),r.remove(),l===d.A&&(e.R||(e.R=[]),e.R[d.F]=d),s&&"0"===d.P&&(s[d.F]=d.M))):"c"===a?(d.M=Je(r,8),d.M&&8===d.M.nodeType&&(n.push(d),r.remove())):d.A===l&&("s"===a?We(r["s-sn"]=u[5]||"",u[2],d,r,e,n,o,s,c):"r"===a&&(t.shadowDom&&s?r.remove():t.slotRelocation&&(i["s-cr"]=r,r["s-cn"]=!0))));else if(e&&"style"===e.D){const t=_e(null,r.textContent);t.M=r,t.F="0",e.R=[t]}else 3!==r.nodeType||r.wholeText.trim()||r.remove();return e},Ue=(e,t)=>{if(1===e.nodeType){const n=e[b]||e.getAttribute(b);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)Ue(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)Ue(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Be=e=>({u:0,A:null,I:null,P:null,F:"0",M:null,T:null,R:null,L:null,_:null,D:null,N:null,...e});function We(e,n,o,s,i,r,l,c,a){s["s-sr"]=!0,o._=e||null,o.D="slot";const u=(null==i?void 0:i.M)?i.M["s-id"]||i.M.getAttribute("s-id"):"";if(t.shadowDom&&c&&E.document){const t=o.M=E.document.createElement(o.D);o._&&o.M.setAttribute("name",e),u&&u!==o.A?i.M.insertBefore(t,i.M.children[0]):s.parentNode.insertBefore(o.M,s),Ye(a,n,e,s,o.A),s.remove(),"0"===o.P&&(c[o.F]=o.M)}else{const t=o.M,l=u&&u!==o.A&&i.M.shadowRoot;Ye(a,n,e,s,l?u:o.A),ie(s),l&&i.M.insertBefore(t,i.M.children[0]),r.push(o)}l.push(o),i.R||(i.R=[]),i.R[o.F]=o}var ze,Ve,Xe,Ye=(e,t,n,o,s)=>{let i=o.nextSibling;for(e[t]=e[t]||[];i&&((i.getAttribute&&i.getAttribute("slot")||i["s-sn"])===n||""===n&&!i["s-sn"]&&(8===i.nodeType&&1!==i.nodeValue.indexOf(".")||3===i.nodeType));)i["s-sn"]=n,e[t].push({slot:o,node:i,hostId:s}),i=i.nextSibling},Je=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},Ke="-shadowcsshost",Qe="-shadowcssslotted",qe="-shadowcsscontext",Ge=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Ze=RegExp("("+Ke+Ge,"gim"),et=RegExp("("+qe+Ge,"gim"),tt=RegExp("("+Qe+Ge,"gim"),nt=Ke+"-no-combinator",ot=/-shadowcsshost-no-combinator([^\s]*)/,st=[/::shadow/g,/::content/g],it=/-shadowcsshost/gim,rt=e=>RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),lt=rt("::slotted"),ct=rt(":host"),at=rt(":host-context"),ut=/\/\*\s*[\s\S]*?\*\//g,dt=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ft=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ht=/([{}])/g,pt=/(^.*?[^\\])??((:+)(.*)|$)/,mt="%BLOCK%",vt=(e,t)=>{const n=$t(e);let o=0;return n.escapedString.replace(ft,((...e)=>{const s=e[2];let i="",r=e[4],l="";r&&r.startsWith("{"+mt)&&(i=n.blocks[o++],r=r.substring(8),l="{");const c=t({selector:s,content:i});return`${e[1]}${c.selector}${e[3]}${l}${c.content}${r}`}))},$t=e=>{const t=e.split(ht),n=[],o=[];let s=0,i=[];for(let e=0;e<t.length;e++){const r=t[e];"}"===r&&s--,s>0?i.push(r):(i.length>0&&(o.push(i.join("")),n.push(mt),i=[]),n.push(r)),"{"===r&&s++}return i.length>0&&(o.push(i.join("")),n.push(mt)),{escapedString:n.join(""),blocks:o}},gt=(e,t,n)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),o=[];for(let s=0;s<t.length;s++){const i=t[s].trim();if(!i)break;o.push(n(nt,i,e[3]))}return o.join(",")}return nt+e[3]})),bt=(e,t,n)=>e+t.replace(Ke,"")+n,yt=(e,t,n)=>t.indexOf(Ke)>-1?bt(e,t,n):e+t+n+", "+t+" "+e+n,wt=(e,t)=>e.replace(pt,((e,n="",o,s="",i="")=>n+t+s+i)),St=(e,t,n,o)=>vt(e,(e=>{let s=e.selector,i=e.content;return"@"!==e.selector[0]?s=((e,t,n,o)=>e.split(",").map((e=>o&&e.indexOf("."+o)>-1?e.trim():((e,t)=>!(e=>(e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+e+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(t).test(e))(e,t)?((e,t,n)=>{const o="."+(t=t.replace(/\[is=([^\]]*)\]/g,((e,...t)=>t[0]))),s=e=>{let s=e.trim();if(!s)return"";if(e.indexOf(nt)>-1)s=((e,t,n)=>{if(it.lastIndex=0,it.test(e)){const t="."+n;return e.replace(ot,((e,n)=>wt(n,t))).replace(it,t+" ")}return t+" "+e})(e,t,n);else{const t=e.replace(it,"");t.length>0&&(s=wt(t,o))}return s},i=(e=>{const t=[];let n=0;return{content:(e=e.replace(/(\[[^\]]*\])/g,((e,o)=>{const s=`__ph-${n}__`;return t.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,o,s)=>{const i=`__ph-${n}__`;return t.push(s),n++,o+i})),placeholders:t}})(e);let r,l="",c=0;const a=/( |>|\+|~(?!=))\s*/g;let u=!((e=i.content).indexOf(nt)>-1);for(;null!==(r=a.exec(e));){const t=r[1],n=e.slice(c,r.index).trim();u=u||n.indexOf(nt)>-1,l+=`${u?s(n):n} ${t} `,c=a.lastIndex}const d=e.substring(c);return u=u||d.indexOf(nt)>-1,l+=u?s(d):d,((e,t)=>t.replace(/__ph-(\d+)__/g,((t,n)=>e[+n])))(i.placeholders,l)})(e,t,n).trim():e.trim())).join(", "))(e.selector,t,n,o):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(i=St(e.content,t,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:i}})),xt=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,"."+t),Ct=(e,t,n)=>{const o=t+"-h",s=t+"-s",i=(e=>e.match(dt)||[])(e);e=(e=>e.replace(ut,""))(e);const r=[];if(n){const t=e=>{const t=`/*!@___${r.length}___*/`;return r.push({placeholder:t,comment:`/*!@${e.selector}*/`}),e.selector=t+e.selector,e};e=vt(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=vt(e.content,t),e):e))}const l=((e,t,n,o)=>{const s=((e,t)=>{const n="."+t+" > ",o=[];return e=e.replace(tt,((...e)=>{if(e[2]){const t=e[2].trim(),s=n+t+e[3];let i="";for(let t=e[4]-1;t>=0;t--){const n=e[5][t];if("}"===n||","===n)break;i=n+i}const r=(i+s).trim(),l=`${i.trimEnd()}${s.trim()}`.trim();return r!==l&&o.push({orgSelector:r,updatedSelector:`${l}, ${r}`}),s}return nt+e[3]})),{selectors:o,cssText:e}})(e=(e=>gt(e,et,yt))(e=(e=>gt(e,Ze,bt))(e=(e=>e.replace(at,"$1"+qe).replace(ct,"$1"+Ke).replace(lt,"$1"+Qe))(e))),o);return e=(e=>st.reduce(((e,t)=>e.replace(t," ")),e))(e=s.cssText),t&&(e=St(e,t,n,o)),{cssText:(e=(e=xt(e,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((e=>({orgSelector:xt(e.orgSelector,n),updatedSelector:xt(e.updatedSelector,n)})))}})(e,t,o,s);return e=[l.cssText,...i].join("\n"),n&&r.forEach((({placeholder:t,comment:n})=>{e=e.replace(t,n)})),l.slottedSelectors.forEach((t=>{const n=RegExp((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t.orgSelector),"g");e=e.replace(n,t.updatedSelector)})),e},Ot=e=>g.map((t=>t(e))).find((e=>!!e)),jt=(e,n)=>null==e||V(e)?e:t.propBoolean&&4&n?"false"!==e&&(""===e||!!e):t.propNumber&&2&n?parseFloat(e):t.propString&&1&n?e+"":e,Et=e=>t.lazyLoad?r(e).$hostElement$:e,kt=(e,n,o)=>{const s=Et(e);return{emit:e=>(t.isDev&&!s.isConnected&&h(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Nt(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:e}))}},Nt=(e,t,n)=>{const o=N.ce(t,n);return e.dispatchEvent(o),o},Tt=new WeakMap,Rt=(e,t,n)=>{let o=$.get(e);L&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,$.set(e,o)},Lt=(e,n,o)=>{var s;const i=Dt(n,o),r=$.get(i);if(!t.attachStyles||!E.document)return i;if(e=11===e.nodeType?e:E.document,r)if("string"==typeof r){let o,l=Tt.get(e=e.head||e);if(l||Tt.set(e,l=new Set),!l.has(i)){if(t.hydrateClientSide&&e.host&&(o=e.querySelector(`[${y}="${i}"]`)))o.innerHTML=r;else{o=document.querySelector(`[${y}="${i}"]`)||E.document.createElement("style"),o.innerHTML=r;const l=null!=(s=N.U)?s:X(E.document);if(null!=l&&o.setAttribute("nonce",l),(t.hydrateServerSide||t.hotModuleReplacement)&&(2&n.u||128&n.u)&&o.setAttribute(y,i),!(1&n.u))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(L){const t=new CSSStyleSheet;t.replaceSync(r),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=r+t.innerHTML:e.prepend(o)}else e.append(o);1&n.u&&e.insertBefore(o,null)}4&n.u&&(o.innerHTML+=C),l&&l.add(i)}}else t.constructableCSS&&!e.adoptedStyleSheets.includes(r)&&(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return i},_t=e=>{const n=e.o,o=e.$hostElement$,s=n.u,i=Re("attachStyles",n.C),r=Lt(t.shadowDom&&T&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,e.j);(t.shadowDom||t.scoped)&&t.cssAnnotations&&(10&s&&2&s||128&s)&&(o["s-sc"]=r,o.classList.add(r+"-h")),i()},Dt=(e,n)=>"sc-"+(t.mode&&n&&32&e.u?e.C+"-"+n:e.C),Mt=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),At=()=>{if(!E.document)return;const e=E.document.querySelectorAll(`[${y}]`);let t=0;for(;t<e.length;t++)Rt(e[t].getAttribute(y),Mt(e[t].innerHTML),!0)},It=(e,n,o,s,i,r,l)=>{if(o===s)return;let c=a(e,n),u=n.toLowerCase();if(t.vdomClass&&"class"===n){const n=e.classList,i=Ft(o);let r=Ft(s);t.hydrateClientSide&&e["s-si"]&&l?(r.push(e["s-si"]),i.forEach((t=>{t.startsWith(e["s-si"])&&r.push(t)})),r=[...new Set(r)],n.add(...r)):(n.remove(...i.filter((e=>e&&!r.includes(e)))),n.add(...r.filter((e=>e&&!i.includes(e)))))}else if(t.vdomStyle&&"style"===n){if(t.updatable)for(const n in o)s&&null!=s[n]||(!t.hydrateServerSide&&n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in s)o&&s[n]===o[n]||(!t.hydrateServerSide&&n.includes("-")?e.style.setProperty(n,s[n]):e.style[n]=s[n])}else if(t.vdomKey&&"key"===n);else if(t.vdomRef&&"ref"===n)s&&s(e);else if(!t.vdomListener||(t.lazyLoad?c:e.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(t.vdomPropOrAttr){const l=V(s);if((c||l&&null!==s)&&!i)try{if(e.tagName.includes("-"))e[n]!==s&&(e[n]=s);else{const t=null==s?"":s;"list"===n?c=!1:null!=o&&e[n]==t||("function"==typeof e.__lookupSetter__(n)?e[n]=t:e.setAttribute(n,t))}}catch(e){}let a=!1;t.vdomXlink&&u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,a=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(n)||(t.vdomXlink&&a?e.removeAttributeNS(O,n):e.removeAttribute(n)):(!c||4&r||i)&&!l&&1===e.nodeType&&(s=!0===s?"":s,t.vdomXlink&&a?e.setAttributeNS(O,n,s):e.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):a(E,u)?u.slice(2):u[2]+n.slice(3),o||s){const t=n.endsWith(Ht);n=n.replace(Ut,""),o&&N.rel(e,n,o,t),s&&N.ael(e,n,s,t)}},Pt=/\s/,Ft=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Pt):[]),Ht="Capture",Ut=RegExp(Ht+"$"),Bt=(e,n,o,s)=>{const i=11===n.M.nodeType&&n.M.host?n.M.host:n.M,r=e&&e.T||{},l=n.T||{};if(t.updatable)for(const e of Wt(Object.keys(r)))e in l||It(i,e,r[e],void 0,o,n.u,s);for(const e of Wt(Object.keys(l)))It(i,e,r[e],l[e],o,n.u,s)};function Wt(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var zt=!1,Vt=!1,Xt=!1,Yt=!1,Jt=(e,n,o)=>{var s;const i=n.R[o];let r,l,c,a=0;if(t.slotRelocation&&!zt&&(Xt=!0,"slot"===i.D&&(i.u|=i.R?2:1)),t.isDev&&i.M&&f(`The JSX ${null!==i.N?`"${i.N}" text`:`"${i.D}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),t.vdomText&&null!==i.N)r=i.M=E.document.createTextNode(i.N);else if(t.slotRelocation&&1&i.u)r=i.M=t.isDebug||t.hydrateServerSide?an(i):E.document.createTextNode(""),t.vdomAttribute&&Bt(null,i,Yt);else{if(t.svg&&!Yt&&(Yt="svg"===i.D),!E.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(r=i.M=t.svg?E.document.createElementNS(Yt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!zt&&t.slotRelocation&&2&i.u?"slot-fb":i.D):E.document.createElement(!zt&&t.slotRelocation&&2&i.u?"slot-fb":i.D),t.svg&&Yt&&"foreignObject"===i.D&&(Yt=!1),t.vdomAttribute&&Bt(null,i,Yt),t.scoped&&null!=ze&&void 0!==ze&&r["s-si"]!==ze&&r.classList.add(r["s-si"]=ze),i.R)for(a=0;a<i.R.length;++a)l=Jt(e,i,a),l&&r.appendChild(l);t.svg&&("svg"===i.D?Yt=!1:"foreignObject"===r.tagName&&(Yt=!0))}return r["s-hn"]=Xe,t.slotRelocation&&3&i.u&&(r["s-sr"]=!0,r["s-cr"]=Ve,r["s-sn"]=i._||"",r["s-rf"]=null==(s=i.T)?void 0:s.ref,ie(r),c=e&&e.R&&e.R[o],c&&c.D===i.D&&e.M&&(t.experimentalSlotFixes?Kt(e.M):Qt(e.M,!1)),t.scoped&&ln(Ve,r,n.M,null==e?void 0:e.M)),r},Kt=e=>{N.u|=1;const t=e.closest(Xe.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const e of n?o.reverse():o)null!=e["s-sh"]&&(rn(t,e,null!=n?n:null),e["s-sh"]=void 0,Xt=!0)}N.u&=-2},Qt=(e,n)=>{N.u|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Xe&&o.push(t)}for(let e=o.length-1;e>=0;e--){const t=o[e];t["s-hn"]!==Xe&&t["s-ol"]&&(rn(en(t).parentNode,t,en(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,Xt=!0),n&&Qt(t,n)}N.u&=-2},qt=(e,n,o,s,i,r)=>{let l,c=t.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;for(t.shadowDom&&c.shadowRoot&&c.tagName===Xe&&(c=c.shadowRoot);i<=r;++i)s[i]&&(l=Jt(null,o,i),l&&(s[i].M=l,rn(c,l,t.slotRelocation?en(n):n)))},Gt=(e,n,o)=>{for(let s=n;s<=o;++s){const n=e[s];if(n){const e=n.M;sn(n),e&&(t.slotRelocation&&(Vt=!0,e["s-ol"]?e["s-ol"].remove():Qt(e,!0)),e.remove())}}},Zt=(e,n,o=!1)=>e.D===n.D&&(t.slotRelocation&&"slot"===e.D?e._===n._:t.vdomKey&&!o?e.L===n.L:(o&&!e.L&&n.L&&(e.L=n.L),!0)),en=e=>e&&e["s-ol"]||e,tn=(e,n,o=!1)=>{const s=n.M=e.M,i=e.R,r=n.R,l=n.D,c=n.N;let a;t.vdomText&&null!==c?t.vdomText&&t.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:t.vdomText&&e.N!==c&&(s.data=c):(t.svg&&(Yt="svg"===l||"foreignObject"!==l&&Yt),(t.vdomAttribute||t.reflect)&&(t.slot&&"slot"===l&&!zt&&t.experimentalSlotFixes&&e._!==n._&&(n.M["s-sn"]=n._||"",Kt(n.M.parentElement)),Bt(e,n,Yt,o)),t.updatable&&null!==i&&null!==r?((e,n,o,s,i=!1)=>{let r,l,c=0,a=0,u=0,d=0,f=n.length-1,h=n[0],p=n[f],m=s.length-1,v=s[0],$=s[m];for(;c<=f&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--f];else if(null==v)v=s[++a];else if(null==$)$=s[--m];else if(Zt(h,v,i))tn(h,v,i),h=n[++c],v=s[++a];else if(Zt(p,$,i))tn(p,$,i),p=n[--f],$=s[--m];else if(Zt(h,$,i))!t.slotRelocation||"slot"!==h.D&&"slot"!==$.D||Qt(h.M.parentNode,!1),tn(h,$,i),rn(e,h.M,p.M.nextSibling),h=n[++c],$=s[--m];else if(Zt(p,v,i))!t.slotRelocation||"slot"!==h.D&&"slot"!==$.D||Qt(p.M.parentNode,!1),tn(p,v,i),rn(e,p.M,h.M),p=n[--f],v=s[++a];else{if(u=-1,t.vdomKey)for(d=c;d<=f;++d)if(n[d]&&null!==n[d].L&&n[d].L===v.L){u=d;break}t.vdomKey&&u>=0?(l=n[u],l.D!==v.D?r=Jt(n&&n[a],o,u):(tn(l,v,i),n[u]=void 0,r=l.M),v=s[++a]):(r=Jt(n&&n[a],o,a),v=s[++a]),r&&(t.slotRelocation?rn(en(h.M).parentNode,r,en(h.M)):rn(h.M.parentNode,r,h.M))}c>f?qt(e,null==s[m+1]?null:s[m+1].M,o,s,a,m):t.updatable&&a>m&&Gt(n,c,f)})(s,i,n,r,o):null!==r?(t.updatable&&t.vdomText&&null!==e.N&&(s.textContent=""),qt(s,null,n,r,0,r.length-1)):!o&&t.updatable&&null!==i&&Gt(i,0,i.length-1),t.svg&&Yt&&"svg"===l&&(Yt=!1))},nn=[],on=e=>{let n,o,s;const i=e.__childNodes||e.childNodes;for(const e of i){if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){o=n.parentNode.__childNodes||n.parentNode.childNodes;const i=e["s-sn"];for(s=o.length-1;s>=0;s--)if(n=o[s],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||t.experimentalSlotFixes&&n["s-sh"]&&n["s-sh"]===e["s-hn"]))if(ne(n,i)){let t=nn.find((e=>e.B===n));Vt=!0,n["s-sn"]=n["s-sn"]||i,t?(t.B["s-sh"]=e["s-hn"],t.W=e):(n["s-sh"]=e["s-hn"],nn.push({W:e,B:n})),n["s-sr"]&&nn.map((e=>{ne(e.B,n["s-sn"])&&(t=nn.find((e=>e.B===n)),t&&!e.W&&(e.W=t.W))}))}else nn.some((e=>e.B===n))||nn.push({B:n})}1===e.nodeType&&on(e)}},sn=e=>{t.vdomRef&&(e.T&&e.T.ref&&e.T.ref(null),e.R&&e.R.map(sn))},rn=(e,n,o)=>{if(t.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])ln(n["s-cr"],n,e,n.parentElement);else if(t.experimentalSlotFixes&&"string"==typeof n["s-sn"]){11!==e.getRootNode().nodeType&&Oe(n),e.insertBefore(n,o);const{slotNode:t}=le(n);return t&&re(t),n}return t.experimentalSlotFixes&&e.__insertBefore?e.__insertBefore(n,o):null==e?void 0:e.insertBefore(n,o)};function ln(e,t,n,o){var s,i;let r;if(e&&"string"==typeof t["s-sn"]&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(r=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"],l=t["s-hn"];if(null==(s=n.classList)||s.add(r+"-s"),o&&(null==(i=o.classList)?void 0:i.contains(r+"-s"))){let t=(o.__childNodes||o.childNodes)[0],n=!1;for(;t;){if(t["s-sn"]!==e&&t["s-hn"]===l&&t["s-sr"]){n=!0;break}t=t.nextSibling}n||o.classList.remove(r+"-s")}}}var cn=(e,n,o=!1)=>{var s,i,r,l,c;const a=e.$hostElement$,u=e.o,d=e.V||_e(null,null),f=Me(n)?n:Le(null,null,n);if(Xe=a.tagName,t.isDev&&Array.isArray(n)&&n.some(Me))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Xe.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(t.reflect&&u.X&&(f.T=f.T||{},u.X.map((([e,t])=>f.T[t]=a[e]))),o&&f.T)for(const e of Object.keys(f.T))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.T[e]=a[e]);if(f.D=null,f.u|=4,e.V=f,f.M=d.M=t.shadowDom&&a.shadowRoot||a,(t.scoped||t.shadowDom)&&(ze=a["s-sc"]),zt=T&&!!(1&u.u)&&!(128&u.u),t.slotRelocation&&(Ve=a["s-cr"],Vt=!1),tn(d,f,o),t.slotRelocation){if(N.u|=1,Xt){on(f.M);for(const e of nn){const n=e.B;if(!n["s-ol"]&&E.document){const e=t.isDebug||t.hydrateServerSide?un(n):E.document.createTextNode("");e["s-nr"]=n,rn(n.parentNode,n["s-ol"]=e,n)}}for(const e of nn){const n=e.B,c=e.W;if(c){const e=c.parentNode;let o=c.nextSibling;if(!t.hydrateServerSide&&(!t.experimentalSlotFixes||o&&1===o.nodeType)){let t=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;t;){let s=null!=(i=t["s-nr"])?i:null;if(s&&s["s-sn"]===n["s-sn"]&&e===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}t=t.previousSibling}}(!o&&e!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o&&(t.experimentalSlotFixes||n["s-hn"]||!n["s-ol"]||(n["s-hn"]=n["s-ol"].parentNode.nodeName),rn(e,n,o),1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(r=n["s-ih"])&&r)),n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(o&&(n["s-ih"]=null!=(l=n.hidden)&&l),n.hidden=!0)}}Vt&&G(f.M),N.u&=-2,nn.length=0}if(t.experimentalScopedSlotChanges&&2&u.u){const e=f.M.__childNodes||f.M.childNodes;for(const t of e)t["s-hn"]===Xe||t["s-sh"]||(o&&null==t["s-ih"]&&(t["s-ih"]=null!=(c=t.hidden)&&c),t.hidden=!0)}Ve=void 0},an=e=>{var t;return null==(t=E.document)?void 0:t.createComment(`<slot${e._?' name="'+e._+'"':""}> (host=${Xe.toLowerCase()})`)},un=e=>{var t;return null==(t=E.document)?void 0:t.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`))},dn=(e,n)=>{if(t.asyncLoading&&n&&!e.Y&&n["s-p"]){const t=n["s-p"].push(new Promise((o=>e.Y=()=>{n["s-p"].splice(t-1,1),o()})))}},fn=(e,n)=>{if(t.taskQueue&&t.updatable&&(e.u|=16),t.asyncLoading&&4&e.u)return void(e.u|=512);dn(e,e.J);const o=()=>hn(e,n);return t.taskQueue?z(o):o()},hn=(e,n)=>{const o=e.$hostElement$,s=Re("scheduleUpdate",e.o.C),i=t.lazyLoad?e.l:o;if(!i)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return n?(t.lazyLoad&&t.hostListener&&(e.u|=256,e.K&&(e.K.map((([e,t])=>Sn(i,e,t,o))),e.K=void 0)),xn(o,"componentWillLoad"),r=Sn(i,"componentWillLoad",void 0,o)):(xn(o,"componentWillUpdate"),r=Sn(i,"componentWillUpdate",void 0,o)),xn(o,"componentWillRender"),r=pn(r,(()=>Sn(i,"componentWillRender",void 0,o))),s(),pn(r,(()=>vn(e,i,n)))},pn=(e,t)=>mn(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),mn=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,vn=async(e,n,o)=>{var s;const i=e.$hostElement$,r=Re("update",e.o.C),l=i["s-rc"];t.style&&o&&_t(e);const c=Re("render",e.o.C);if(t.isDev&&(e.u|=1024),t.hydrateServerSide?await gn(e,n,i,o):gn(e,n,i,o),t.isDev&&(e.p=void 0===e.p?1:e.p+1,e.u&=-1025),t.hydrateServerSide)try{On(i),o&&(1&e.o.u?i["s-en"]="":2&e.o.u&&(i["s-en"]="c"))}catch(e){u(e,i)}if(t.asyncLoading&&l&&(l.map((e=>e())),i["s-rc"]=void 0),c(),r(),t.asyncLoading){const t=null!=(s=i["s-p"])?s:[],n=()=>bn(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}else bn(e)},$n=null,gn=(e,n,o,s)=>{const i=!!t.allRenderFn,r=!!t.lazyLoad,l=!!t.taskQueue,c=!!t.updatable;try{if($n=n,n=(i||n.render)&&n.render(),c&&l&&(e.u&=-17),(c||r)&&(e.u|=2),t.hasRenderFn||t.reflect)if(t.vdomRender||t.reflect){if(t.hydrateServerSide)return Promise.resolve(n).then((t=>cn(e,t,s)));cn(e,n,s)}else 1&e.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(t){u(t,e.$hostElement$)}return $n=null,null},bn=e=>{const n=e.o.C,o=e.$hostElement$,s=Re("postUpdate",n),i=t.lazyLoad?e.l:o,r=e.J;t.isDev&&(e.u|=1024),Sn(i,"componentDidRender",void 0,o),t.isDev&&(e.u&=-1025),xn(o,"componentDidRender"),64&e.u?(t.isDev&&(e.u|=1024),Sn(i,"componentDidUpdate",void 0,o),t.isDev&&(e.u&=-1025),xn(o,"componentDidUpdate"),s()):(e.u|=64,t.asyncLoading&&t.cssAnnotations&&Cn(o),t.isDev&&(e.u|=2048),Sn(i,"componentDidLoad",void 0,o),t.isDev&&(e.u&=-2049),xn(o,"componentDidLoad"),s(),t.asyncLoading&&(e.S(o),r||wn(n))),t.method&&t.lazyLoad&&e.v(o),t.asyncLoading&&(e.Y&&(e.Y(),e.Y=void 0),512&e.u&&B((()=>fn(e,!1))),e.u&=-517)},yn=e=>{if(t.updatable&&(s.isBrowser||s.isTesting)){const t=r(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.u)&&fn(t,!1),n}return!1},wn=n=>{t.asyncQueue&&(N.u|=2),B((()=>Nt(E,"appload",{detail:{namespace:e}}))),t.profile&&performance.measure&&performance.measure(`[Stencil] ${e} initial load (by ${n})`,"st:app:start")},Sn=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){u(e,o)}},xn=(n,o)=>{t.lifecycleDOMEvents&&Nt(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:e}})},Cn=e=>{var n,o;return t.hydratedClass?e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated"):t.hydratedAttribute?e.setAttribute(null!=(o=t.hydratedSelectorName)?o:"hydrated",""):void 0},On=e=>{const t=e.children;if(null!=t)for(let e=0,n=t.length;e<n;e++){const n=t[e];"function"==typeof n.connectedCallback&&n.connectedCallback(),On(n)}},jn=(e,t)=>r(e).i.get(t),En=(e,n,o,s)=>{const i=r(e);if(t.lazyLoad&&!i)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=t.lazyLoad?i.$hostElement$:e,c=i.i.get(n),a=i.u,d=t.lazyLoad?i.l:l;if(o=jt(o,s.t[n][0]),(!t.lazyLoad||!(8&a)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.i.set(n,o),t.isDev&&(1024&i.u?h(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",l,"\nNew value",o,"\nOld value",c):2048&i.u&&h(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",l,"\nNew value",o,"\nOld value",c)),!t.lazyLoad||d)){if(t.watchCallback&&s.q&&128&a){const e=s.q[n];e&&e.map((e=>{try{d[e](o,c,n)}catch(e){u(e,l)}}))}if(t.updatable&&2==(18&a)){if(d.componentShouldUpdate&&!1===d.componentShouldUpdate(o,c,n))return;fn(i,!1)}}},kn=(e,n,o)=>{var s,i;const l=e.prototype;if(t.isTesting){if(l.__stencilAugmented)return;l.__stencilAugmented=!0}if(t.formAssociated&&64&n.u&&1&o&&j.forEach((e=>{const n=l[e];Object.defineProperty(l,e,{value(...o){const s=r(this),i=t.lazyLoad?s.l:this;if(i){const s=t.lazyLoad?i[e]:n;"function"==typeof s&&s.call(i,...o)}else s.$.then((t=>{const n=t[e];"function"==typeof n&&n.call(t,...o)}))}})})),t.member&&n.t||t.watchCallback&&(n.q||e.watchers)){t.watchCallback&&e.watchers&&!n.q&&(n.q=e.watchers);const c=Object.entries(null!=(s=n.t)?s:{});if(c.map((([e,[s]])=>{if((t.prop||t.state)&&(31&s||(!t.lazyLoad||2&o)&&32&s)){const{get:i,set:c}=Object.getOwnPropertyDescriptor(l,e)||{};i&&(n.t[e][0]|=2048),c&&(n.t[e][0]|=4096),(1&o||!i)&&Object.defineProperty(l,e,{get(){if(t.lazyLoad){if(!(2048&n.t[e][0]))return jn(this,e);const t=r(this),o=t?t.l:l;if(!o)return;return o[e]}if(!t.lazyLoad)return i?i.apply(this):jn(this,e)},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(i){const l=r(this);if(t.isDev&&(1&o||4096&n.t[e][0]||0!==(l&&8&l.u)||!(31&s)||1024&s||h(`@Prop() "${e}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),c){const t=32&s?this[e]:l.$hostElement$[e];return void 0===t&&l.i.get(e)?i=l.i.get(e):!l.i.get(e)&&t&&l.i.set(e,t),c.call(this,jt(i,s)),void En(this,e,i=32&s?this[e]:l.$hostElement$[e],n)}if(t.lazyLoad){if(t.lazyLoad){if(!(1&o&&4096&n.t[e][0]))return En(this,e,i,n),void(1&o&&!l.l&&l.$.then((()=>{4096&n.t[e][0]&&l.l[e]!==l.i.get(e)&&(l.l[e]=i)})));const t=()=>{const t=l.l[e];!l.i.get(e)&&t&&l.i.set(e,t),l.l[e]=jt(i,s),En(this,e,l.l[e],n)};l.l?t():l.$.then((()=>t()))}}else En(this,e,i,n)}})}else t.lazyLoad&&t.method&&1&o&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const o=r(this);return null==(n=null==o?void 0:o.m)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[e](...t)}))}})})),t.observeAttribute&&(!t.lazyLoad||1&o)){const o=new Map;l.attributeChangedCallback=function(e,s,i){N.jmp((()=>{var c;const a=o.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad)i=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==i)return;if(null==a){const o=r(this),l=null==o?void 0:o.u;if(l&&!(8&l)&&128&l&&i!==s){const r=t.lazyLoad?o.l:t.lazyLoad?o.$hostElement$:this,l=null==(c=n.q)?void 0:c[e];null==l||l.forEach((t=>{null!=r[t]&&r[t].call(r,i,s,e)}))}return}}const u=Object.getOwnPropertyDescriptor(l,a);(i=(null!==i||"boolean"!=typeof this[a])&&i)===this[a]||u.get&&!u.set||(this[a]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.q)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,s])=>{var i;const r=s[1]||e;return o.set(r,e),t.reflect&&512&s[0]&&(null==(i=n.X)||i.push([e,r])),r}))]))}}return e},Nn=async(e,n,o,s)=>{let i;if(!(32&n.u)){if(n.u|=32,t.lazyLoad&&o.O){const r=v(o,n,s);if(r&&"then"in r){const e=((e,n)=>t.profile&&performance.mark?(0===performance.getEntriesByName(e,"mark").length&&performance.mark(e),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,e)}):()=>{})(`st:load:${o.C}:${n.j}`,`[Stencil] Load module for <${o.C}>`);i=await r,e()}else i=r;if(!i)throw Error(`Constructor for "${o.C}#${n.j}" was not found`);t.member&&!i.isProxied&&(t.watchCallback&&(o.q=i.watchers),kn(i,o,2),i.isProxied=!0);const l=Re("createInstance",o.C);t.member&&(n.u|=8);try{new i(n)}catch(t){u(t,e)}t.member&&(n.u&=-9),t.watchCallback&&(n.u|=128),l(),Tn(n.l,e)}else i=e.constructor,customElements.whenDefined(e.localName).then((()=>n.u|=128));if(t.style&&i&&i.style){let s;"string"==typeof i.style?s=i.style:t.mode&&"string"!=typeof i.style&&(n.j=Ot(e),n.j&&(s=i.style[n.j]),t.hydrateServerSide&&n.j&&e.setAttribute("s-mode",n.j));const r=Dt(o,n.j);if(!$.has(r)){const e=Re("registerStyles",o.C);t.hydrateServerSide&&t.shadowDom&&128&o.u&&(s=Ct(s,r,!0)),Rt(r,s,!!(1&o.u)),e()}}}const r=n.J,l=()=>fn(n,!0);t.asyncLoading&&r&&r["s-rc"]?r["s-rc"].push(l):l()},Tn=(e,n)=>{t.lazyLoad&&Sn(e,"connectedCallback",void 0,n)},Rn=e=>{if(!(1&N.u)){const n=r(e),o=n.o,s=Re("connectedCallback",o.C);if(t.hostListenerTargetParent&&Pn(e,n,o.G,!0),1&n.u)Pn(e,n,o.G,!1),(null==n?void 0:n.l)?Tn(n.l,e):(null==n?void 0:n.$)&&n.$.then((()=>Tn(n.l,e)));else{let s;if(n.u|=1,t.hydrateClientSide&&(s=e.getAttribute(b),s)){if(t.shadowDom&&T&&1&o.u){const n=t.mode?Lt(e.shadowRoot,o,e.getAttribute("s-mode")):Lt(e.shadowRoot,o);e.classList.remove(n+"-h",n+"-s")}else if(t.scoped&&2&o.u){const n=Dt(o,t.mode?e.getAttribute("s-mode"):void 0);e["s-sc"]=n}((e,n,o,s)=>{const i=Re("hydrateClient",n),r=e.shadowRoot,l=[],c=[],a=[],u=t.shadowDom&&r?[]:null,d=_e(n,null);let f;if(d.M=e,t.scoped){const t=s.o;t&&10&t.u&&e["s-sc"]?(f=e["s-sc"],e.classList.add(f+"-h")):e["s-sc"]&&delete e["s-sc"]}!E.document||N.Z&&N.Z.size||Ue(E.document.body,N.Z=new Map),e[b]=o,e.removeAttribute(b),s.V=He(d,l,c,u,e,e,o,a);let h=0;const p=l.length;let m;for(;h<p;h++){m=l[h];const t=m.A+"."+m.I,o=N.Z.get(t),s=m.M;r||(s["s-hn"]=n.toUpperCase(),"slot"===m.D&&(s["s-cr"]=e["s-cr"])),"slot"===m.D&&(m._=m.M["s-sn"]||m.M.name||null,m.R?(m.u|=2,m.M.childNodes.length||m.R.forEach((e=>{m.M.appendChild(e.M)}))):m.u|=1),o&&o.isConnected&&(r&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),r||(s["s-oo"]=parseInt(m.I))),N.Z.delete(t)}const v=[],$=a.length;let g,y,w,S,x=0;for(;x<$;x++)if(g=a[x],g&&g.length)for(w=g.length,y=0;y<w;y++){if(S=g[y],v[S.hostId]||(v[S.hostId]=N.Z.get(S.hostId)),!v[S.hostId])continue;const e=v[S.hostId];e.shadowRoot&&r||(S.slot["s-cr"]=e["s-cr"],S.slot["s-cr"]=!S.slot["s-cr"]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0],oe(S.node,S.slot,!1,S.node["s-oo"]),t.experimentalSlotFixes&&ye(S.node)),e.shadowRoot&&S.node.parentElement!==e&&e.appendChild(S.node)}if(t.scoped&&f&&c.length&&c.forEach((e=>{e.M.parentElement.classList.add(f+"-s")})),t.shadowDom&&r&&!r.childNodes.length){let t=0;const n=u.length;if(n){for(;t<n;t++)r.appendChild(u[t]);Array.from(e.childNodes).forEach((e=>{"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))}))}}N.Z.delete(e["s-id"]),s.$hostElement$=e,i()})(e,o.C,s,n)}if(t.slotRelocation&&!s&&(t.hydrateServerSide||(t.slot||t.shadowDom)&&12&o.u)&&Ln(e),t.asyncLoading){let o=e;for(;o=o.parentNode||o.host;)if(t.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){dn(n,n.J=o);break}}t.prop&&!t.hydrateServerSide&&o.t&&Object.entries(o.t).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),t.initializeNextTick?B((()=>Nn(e,n,o))):Nn(e,n,o)}s()}},Ln=e=>{if(!E.document)return;const n=e["s-cr"]=E.document.createComment(t.isDebug?`content-ref (host=${e.localName})`:"");n["s-cn"]=!0,rn(e,n,e.firstChild)},_n=(e,n)=>{t.lazyLoad&&Sn(e,"disconnectedCallback",void 0,n||e)},Dn=async e=>{if(!(1&N.u)){const n=r(e);t.hostListener&&n.ee&&(n.ee.map((e=>e())),n.ee=void 0),t.lazyLoad?(null==n?void 0:n.l)?_n(n.l,e):(null==n?void 0:n.$)&&n.$.then((()=>_n(n.l,e))):_n(e)}Tt.has(e)&&Tt.delete(e),e.shadowRoot&&Tt.has(e.shadowRoot)&&Tt.delete(e.shadowRoot)},Mn=(e,n)=>{const o={u:n[0],C:n[1]};t.member&&(o.t=n[2]),t.hostListener&&(o.G=n[3]),t.watchCallback&&(o.q=e.q),t.reflect&&(o.X=[]),t.shadowDom&&!T&&1&o.u&&(o.u|=8),t.experimentalSlotFixes?t.scoped&&2&o.u&&ce(e.prototype):(t.slotChildNodesFix&&be(e.prototype),t.cloneNodeFix&&ae(e.prototype),t.appendChildSlotFix&&ue(e.prototype),t.scopedSlotTextContentFix&&2&o.u&&ge(e.prototype)),t.hydrateClientSide&&t.shadowDom&&At();const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){c(this,o)},connectedCallback(){this.__hasHostListenerAttached||(Pn(this,r(this),o.G,!1),this.__hasHostListenerAttached=!0),Rn(this),s&&s.call(this)},disconnectedCallback(){Dn(this),i&&i.call(this)},__attachShadow(){if(T)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow(t.shadowDelegatesFocus?{mode:"open",delegatesFocus:!!(16&o.u)}:{mode:"open"});else this.shadowRoot=this}}),e.is=o.C,kn(e,o,3)},An=(e,n={})=>{var o;if(t.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(t.devTools){const e=E.stencil=E.stencil||{},t=e.inspect;e.inspect=e=>{let n=(e=>{const t=r(e);if(!t)return;const n=t.u,o=t.$hostElement$;return{renderCount:t.p,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:t.i,ancestorComponent:t.J,hostElement:o,lazyInstance:t.l,vnode:t.V,modeName:t.j,onReadyPromise:t.$,onReadyResolve:t.S,onInstancePromise:t.m,onInstanceResolve:t.v,onRenderResolve:t.Y,queuedListeners:t.K,rmListeners:t.ee,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(e);return n||"function"!=typeof t||(n=t(e)),n}}})(),!E.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Re("bootstrapLazy"),i=[],l=n.exclude||[],a=E.customElements,u=E.document.head,d=u.querySelector("meta[charset]"),f=E.document.createElement("style"),h=[];let p,m=!0;Object.assign(N,n),N.k=new URL(n.resourcesUrl||"./",E.document.baseURI).href,t.asyncQueue&&n.syncQueue&&(N.u|=4),t.hydrateClientSide&&(N.u|=2),t.hydrateClientSide&&t.shadowDom&&At();let v=!1;if(e.map((e=>{e[1].map((o=>{var s;const u={u:o[0],C:o[1],t:o[2],G:o[3]};4&u.u&&(v=!0),t.member&&(u.t=o[2]),t.hostListener&&(u.G=o[3]),t.reflect&&(u.X=[]),t.watchCallback&&(u.q=null!=(s=o[4])?s:{}),t.shadowDom&&!T&&1&u.u&&(u.u|=8);const d=t.transformTagName&&n.transformTagName?n.transformTagName(u.C):u.C,f=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,c(e=this,u),t.shadowDom&&1&u.u)if(T)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.C}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow(t.shadowDelegatesFocus?{mode:"open",delegatesFocus:!!(16&u.u)}:{mode:"open"});else t.hydrateServerSide||"shadowRoot"in e||(e.shadowRoot=e)}connectedCallback(){const e=r(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Pn(this,e,u.G,!1)),p&&(clearTimeout(p),p=null),m?h.push(this):N.jmp((()=>Rn(this)))}disconnectedCallback(){N.jmp((()=>Dn(this))),N.raf((()=>{var e;const t=r(this),n=h.findIndex((e=>e===this));n>-1&&h.splice(n,1),(null==(e=null==t?void 0:t.V)?void 0:e.M)instanceof Node&&!t.V.M.isConnected&&delete t.V.M}))}componentOnReady(){return r(this).$}};t.experimentalSlotFixes?t.scoped&&2&u.u&&ce(f.prototype):(t.slotChildNodesFix&&be(f.prototype),t.cloneNodeFix&&ae(f.prototype),t.appendChildSlotFix&&ue(f.prototype),t.scopedSlotTextContentFix&&2&u.u&&ge(f.prototype)),t.formAssociated&&64&u.u&&(f.formAssociated=!0),t.hotModuleReplacement&&(f.prototype["s-hmr"]=function(e){((e,t,n)=>{const o=r(e);o.u=1,Nn(e,o,t,n)})(this,u,e)}),u.O=e[0],l.includes(d)||a.get(d)||(i.push(d),a.define(d,kn(f,u,1)))}))})),i.length>0&&(v&&(f.textContent+=C),t.invisiblePrehydration&&(t.hydratedClass||t.hydratedAttribute)&&(f.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!=(o=N.U)?o:X(E.document);null!=e&&f.setAttribute("nonce",e),u.insertBefore(f,d?d.nextSibling:u.firstChild)}m=!1,h.length?h.map((e=>e.connectedCallback())):N.jmp(t.profile?()=>p=setTimeout(wn,30,"timeout"):()=>p=setTimeout(wn,30)),s()},In=(e,t)=>t,Pn=(e,n,o,s)=>{t.hostListener&&o&&E.document&&(t.hostListenerTargetParent&&(o=o.filter(s?([e])=>32&e:([e])=>!(32&e))),o.map((([o,s,i])=>{const r=t.hostListenerTarget?Hn(E.document,e,o):e,l=Fn(n,i),c=Un(o);N.ael(r,s,l,c),(n.ee=n.ee||[]).push((()=>N.rel(r,s,l,c)))})))},Fn=(e,n)=>o=>{var s;try{t.lazyLoad?256&e.u?null==(s=e.l)||s[n](o):(e.K=e.K||[]).push([n,o]):e.$hostElement$[n](o)}catch(t){u(t,e.$hostElement$)}},Hn=(e,n,o)=>t.hostListenerTargetDocument&&4&o?e:t.hostListenerTargetWindow&&8&o?E:t.hostListenerTargetBody&&16&o?e.body:t.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Un=e=>({passive:!!(1&e),capture:!!(2&e)}),Bn=e=>N.U=e,Wn=(e,t,n,o)=>{var s;null!=t&&(null!=t["s-nr"]&&o.push(t),1===t.nodeType)&&[...Array.from(t.childNodes),...Array.from((null==(s=t.shadowRoot)?void 0:s.childNodes)||[])].forEach((t=>{const s=r(t);null==s||n.staticComponents.has(t.nodeName.toLowerCase())||zn(e,t,s.V,n,{nodeIds:0}),Wn(e,t,n,o)}))},zn=(e,t,n,o,s)=>{if(null!=n){const i=++o.hostIds;if(t.setAttribute(b,i),null!=t["s-cr"]&&(t["s-cr"].nodeValue="r."+i),null!=n.R){const t=0;n.R.forEach(((n,o)=>{Vn(e,n,s,i,t,o)}))}if(t&&n&&n.M&&!t.hasAttribute(w)){const e=t.parentElement;if(e&&e.childNodes){const o=Array.from(e.childNodes),s=o.find((e=>8===e.nodeType&&e["s-sr"]));if(s){const e=o.indexOf(t)-1;n.M.setAttribute(w,`${s["s-host-id"]}.${s["s-node-id"]}.0.${e}`)}}}}},Vn=(e,t,n,o,s,i)=>{const r=t.M;if(null==r)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${i}`;if(r["s-host-id"]=o,r["s-node-id"]=l,1===r.nodeType)r.setAttribute(w,c),"string"!=typeof r["s-sn"]||r.getAttribute("slot")||r.setAttribute("s-sn",r["s-sn"]);else if(3===r.nodeType){const t=r.parentNode,n=null==t?void 0:t.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=e.createComment("t."+c);rn(t,n,r)}}else 8===r.nodeType&&r["s-sr"]&&(r.nodeValue=`s.${c}.${r["s-sn"]||""}`);if(null!=t.R){const i=s+1;t.R.forEach(((t,s)=>{Vn(e,t,n,o,i,s)}))}};const Xn=Object.freeze({__proto__:null,BUILD:t,Build:s,Env:{},Fragment:In,H:k,HTMLElement:k,Host:De,NAMESPACE:e,STENCIL_DEV_MODE:d,addHostEventListeners:Pn,bootstrapLazy:An,cmpModules:m,connectedCallback:Rn,consoleDevError:f,consoleDevInfo:p,consoleDevWarn:h,consoleError:u,createEvent:kt,defineCustomElement:(e,t)=>{customElements.define(t[1],Mn(e,t))},disconnectedCallback:Dn,forceModeUpdate:e=>{if(t.style&&t.mode&&!t.lazyLoad){const t=Ot(e),n=r(e);if(n.j!==t){const o=n.o,s=e["s-sc"],i=Dt(o,t),r=e.constructor.style[t],l=o.u;r&&($.has(i)||Rt(i,r,!!(1&l)),n.j=t,e.classList.remove(s+"-h",s+"-s"),_t(n),yn(e))}}},forceUpdate:yn,getAssetPath:e=>{const t=new URL(e,N.k);return t.origin!==E.location.origin?t.href:t.pathname},getElement:Et,getHostRef:r,getMode:e=>r(e).j,getRenderingRef:()=>$n,getValue:jn,h:Le,insertVdomAnnotations:(e,t)=>{if(null!=e){const n=S in e?e[S]:{...x};n.staticComponents=new Set(t);const o=[];Wn(e,e.body,n,o),o.forEach((t=>{var o;if(null!=t&&t["s-nr"]){const s=t["s-nr"];let i=s["s-host-id"],r=s["s-node-id"],l=`${i}.${r}`;if(null==i)if(i=0,n.rootLevelIds++,r=n.rootLevelIds,l=`${i}.${r}`,1===s.nodeType)s.setAttribute(w,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===i&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void t.remove();const n=e.createComment(l);n.nodeValue="t."+l,rn(s.parentNode,n,s)}else if(8===s.nodeType){const t=e.createComment(l);t.nodeValue="c."+l,s.parentNode.insertBefore(t,s)}let c="o."+l;const a=t.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),t.nodeValue=c}}))}},isMemberInElement:a,loadModule:v,modeResolutionChain:g,nextTick:B,parsePropertyValue:jt,plt:N,postUpdateComponent:bn,promiseResolve:R,proxyComponent:kn,proxyCustomElement:Mn,readTask:W,registerHost:c,registerInstance:l,renderVdom:cn,setAssetPath:e=>N.k=e,setErrorHandler:e=>n=e,setMode:e=>g.push(e),setNonce:Bn,setPlatformHelpers:e=>{Object.assign(N,e)},setPlatformOptions:e=>Object.assign(N,e),setValue:En,styles:$,supportsConstructableStylesheets:L,supportsListenerOptions:!0,supportsShadow:T,win:E,writeTask:z});export{t as B,In as F,k as H,e as N,Xn as S,De as a,An as b,p as c,kt as d,z as e,s as f,Et as g,Le as h,R as p,l as r,Bn as s,E as w}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,
|
|
1
|
+
import{r as o,h as t,a as r}from"./p-a599f720.js";import{S as a}from"./p-315cd380.js";import{e}from"./p-8fc79c56.js";const i=class{constructor(t){o(this,t),this.iconPack=e}render(){return t(r,{key:"f6ceb562ad29d9bcafe1faaa7f8680cb968509bf"},t("div",{key:"f4136f844d6ba57d43e4af5aae03a54a8d439028",class:"tooltip-container"},t("rtk-icon",{key:"c6ddee8984ae5f6560484b970bdc10a832be06ec",icon:this.iconPack.info,size:"sm"}),t("div",{key:"78e4eefcd29ee99dcc9fba0cbf015b39b0097348",class:"tooltip"},t("slot",{key:"1561ac818363c0cbb031a4b4a10d1a56a1dbe379",name:"tootlip-text"}))))}};(function(o,t,r,a){var e,i=arguments.length,c=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(o,t,r,a);else for(var p=o.length-1;p>=0;p--)(e=o[p])&&(c=(i<3?e(c):i>3?e(t,r,c):e(t,r))||c);i>3&&c&&Object.defineProperty(t,r,c)})([a()],i.prototype,"iconPack",void 0),i.style=":host{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);cursor:pointer}.tooltip-container{position:relative;display:flex;flex-direction:row;align-items:center}.tooltip-container rtk-icon{cursor:pointer;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.tooltip-container rtk-icon:hover+.tooltip{display:flex !important}.tooltip{position:absolute;margin-left:var(--rtk-space-2, 8px);display:none !important;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));z-index:50;display:flex;min-width:var(--rtk-space-60, 240px);flex-direction:column;--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);left:14px}";export{i as rtk_information_tooltip}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a,a as e}from"./p-a599f720.js";import{c as i,e as r,i as o}from"./p-8fc79c56.js";import{R as s}from"./p-eccb6d78.js";import{S as n}from"./p-315cd380.js";var c=function(t,a,e,i){var r,o=arguments.length,s=o<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,a,e,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(o<3?r(s):o>3?r(a,e,s):r(a,e))||s);return o>3&&s&&Object.defineProperty(a,e,s),s};const d=class{constructor(a){t(this,a),this.variant="solid",this.disableRender=!1,this.config=i(),this.iconPack=r,this.t=o()}render(){return a(e,{key:"be00ae26f16ab4381eddade1f80172789a2833b2"},!this.disableRender&&a(s,{key:"d7ed714d51dfcb94195864d462c1b9598eea8ca7",element:"rtk-controlbar",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),a("slot",{key:"1601a47d06eab5c79762abdb45d3edb4b0a9f6b6"}))}};c([n()],d.prototype,"meeting",void 0),c([n()],d.prototype,"config",void 0),c([n()],d.prototype,"states",void 0),c([n()],d.prototype,"iconPack",void 0),c([n()],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{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}";export{d as rtk_controlbar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,a}from"./p-a599f720.js";import{c as i,e as s,i as r}from"./p-8fc79c56.js";import{R as n}from"./p-eccb6d78.js";import{S as o}from"./p-315cd380.js";var c=function(t,e,a,i){var s,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,i);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(n=(r<3?s(n):r>3?s(e,a,n):s(e,a))||n);return r>3&&n&&Object.defineProperty(e,a,n),n};const d=class{constructor(e){t(this,e),this.variant="solid",this.disableRender=!1,this.config=i(),this.iconPack=s,this.t=r()}render(){return e(a,{key:"e88e21ff9c7d6499eb935b4ed487eea19a5da28b"},!this.disableRender&&e(n,{key:"1e6641216a381c9d07152f61eb2a3c0634871bde",element:"rtk-header",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),e("slot",{key:"0cc84f35845f14f426c2b68c9abe914e9654f2db"}))}};c([o()],d.prototype,"meeting",void 0),c([o()],d.prototype,"config",void 0),c([o()],d.prototype,"states",void 0),c([o()],d.prototype,"iconPack",void 0),c([o()],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:flex;height:var(--rtk-space-12, 48px);align-items:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{display:none !important}}@media only screen and (max-height: 480px) and (orientation: landscape){:host{display:none !important}}";export{d as rtk_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,e,h as r,a as s,f as i}from"./p-a599f720.js";import{e as o,i as n,H as c}from"./p-8fc79c56.js";import{d as l,f as d,e as p}from"./p-382270d8.js";import{s as h}from"./p-0752f2ba.js";import{S as b}from"./p-315cd380.js";var k=function(t,a,e,r){var s,i=arguments.length,o=i<3?a:null===r?r=Object.getOwnPropertyDescriptor(a,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,a,e,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(a,e,o):s(a,e))||o);return i>3&&o&&Object.defineProperty(a,e,o),o};let v=!1;const g=class{constructor(r){t(this,r),this.onPinMessage=a(this,"pinMessage",7),this.stateUpdate=a(this,"rtkStateUpdate",7),this.observingEl=[],this.autoScrollEnabled=!0,this.messages=[],this.canPinMessages=!1,this.iconPack=o,this.t=n(),this.now=new Date,this.showLatestMessageButton=!1,this.onScroll=t=>{const a=t.target;e((()=>{const{scrollTop:t,clientHeight:e,scrollHeight:r}=a;t+e+10>=r?(this.autoScrollEnabled=!0,this.showLatestMessageButton=!1):this.autoScrollEnabled=!1}))},this.scrollToBottom=()=>{h(this.$chat)},this.observeMessage=t=>{t&&this.observingEl.push(t);try{this.intersectionObserver.observe(t)}catch(t){}},this.getMessageActions=t=>{const a=[];return!t.pinned&&this.canPinMessages&&a.push({id:"pin_message",label:this.t("pin"),icon:this.iconPack.pin}),a},this.onMessageActionHandler=(t,a)=>{"pin_message"===t&&this.onPinMessage.emit(a)}}connectedCallback(){var t;i.isDev&&!v&&(v=!0,console.warn("[realtimekit-ui] `rtk-chat-messages-ui` is deprecated and will be removed in a future release. Use `rtk-chat-messages-ui-paginated` instead.")),this.lastReadTimestamp=null!==(t=c.everyone)&&void 0!==t?t:new Date("0001-01-01T00:00:00Z"),this.intersectionObserver=new IntersectionObserver((t=>{document.hasFocus()&&e((()=>{for(const a of t)a.isIntersecting&&parseInt(a.target.getAttribute("data-timestamp"))>this.lastReadTimestamp.getTime()&&(c[this.selectedGroup]=new Date)}))}));const a=()=>{this.now=new Date,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(a))}),6e4)};this.request=requestAnimationFrame(a),this.chatChanged(this.messages)}componentDidLoad(){this.$chat.addEventListener("scroll",this.onScroll),this.$chat.scrollTop=this.$chat.scrollHeight}componentDidRender(){this.autoScrollEnabled?h(this.$chat):null==this.autoScrollEnabled&&h(this.$chat,!1)}chatChanged(t){if(null!=this.$chat&&!this.autoScrollEnabled&&this.$chat.clientHeight!==this.$chat.scrollHeight)for(let a=t.length-1;a>=0;a--)if(t[a].message.time>this.lastReadTimestamp&&t[a].message.userId!==this.selfUserId){this.showLatestMessageButton=!0;break}}selectedBucketChanged(){this.autoScrollEnabled=void 0,this.observingEl.forEach((t=>{this.intersectionObserver.unobserve(t)})),this.observingEl=[]}disconnectedCallback(){this.$chat.removeEventListener("scroll",this.onScroll),this.intersectionObserver.disconnect(),clearTimeout(this.timeout),cancelAnimationFrame(this.request)}render(){var t;let a=null,e=!1;return r(s,{key:"eb407b1c88839fd9892658dd53ea838b45b649ae"},r("div",{key:"b3aa97bb11d4ce2fa688bb6171947505e3520b71",class:"chat-container scrollbar",ref:t=>this.$chat=t,part:"container"},r("div",{key:"8652876ea9af0bb1261718b412e34035cdbd905f",class:"spacer",part:"spacer"}),r("div",{key:"dd5caf3b54ff4378d75c3d2d4faec5dfaa79abb7",class:"chat",part:"chat"},null===(t=this.messages)||void 0===t?void 0:t.map((t=>{if("chat"===t.type){const{message:s}=t,i=!(s.userId===this.selfUserId)&&!this.autoScrollEnabled&&!e&&s.time>this.lastReadTimestamp;i&&(e=i);const o=!i&&s.userId===(null==a?void 0:a.userId)&&l(s.time,null==a?void 0:a.time)<2;return a=s,r("div",{"is-continued":o,key:t.message.id,ref:this.observeMessage,"data-timestamp":s.time.getTime(),class:s.pinned?"pinned":""},i&&r("div",{class:"new-chat-marker",part:"new-chat-marker"},this.t("chat.new")),r("div",{class:"message-wrapper"},r("rtk-message-view",{time:s.time,actions:this.getMessageActions(s),authorName:s.displayName,hideAuthorName:!0,hideAvatar:!0,hideMetadata:!0,viewType:"incoming",variant:"bubble",onAction:t=>this.onMessageActionHandler(t.detail,s)},!o&&r("div",{class:"head"},r("div",{class:"name"},s.displayName),!!s.time&&r("div",{class:"time",title:d(s.time)},p(s.time,new Date(Date.now())))),r("div",{class:"body"},"text"===s.type&&r("rtk-text-message-view",{text:s.message,isMarkdown:!0}),"file"===s.type&&r("rtk-file-message-view",{name:s.name,url:s.link,size:s.size}),"image"===s.type&&r("rtk-image-message-view",{url:s.link,onPreview:()=>{this.stateUpdate.emit({image:s})}}))),s.pinned&&r("div",{class:"pin-button",part:"pin-button"},r("rtk-tooltip",{label:this.t("unpin")},r("rtk-button",{kind:"icon",variant:"ghost",onClick:()=>this.onMessageActionHandler("pin_message",s),disabled:!this.canPinMessages},r("rtk-icon",{icon:this.iconPack.pin,size:"sm"}))))))}return null})))),r("div",{key:"d6d8dd49909ce709059c37a36a2a2bbb00ddadce",class:"show-new-messages-ctr"},r("rtk-button",{key:"4ce0073d4c5ea5116d555557e8bdbac52a68b34a",class:{"show-new-messages":!0,active:this.showLatestMessageButton},kind:"icon",part:"show-new-messages",onClick:this.scrollToBottom},r("rtk-icon",{key:"8e62ffccf8ac65eafead0442eaa4fb4447d5083a",icon:this.iconPack.chevron_down}))))}static get watchers(){return{messages:["chatChanged"],selectedGroup:["selectedBucketChanged"]}}};k([b()],g.prototype,"iconPack",void 0),k([b()],g.prototype,"t",void 0),g.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;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));word-break:break-word}.chat-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);flex:1 0 0px;overflow-y:scroll}.chat-container .spacer{flex:1 1 auto}.chat-container .chat{flex:0 0 auto}.file-picker{display:none}.chat .head{margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-2, 8px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{overflow-wrap:break-word;line-height:1.5}.chat .body .emoji{font-size:24px}p{margin:var(--rtk-space-0, 0px);line-height:1.5}rtk-message-view{margin-top:var(--rtk-space-2, 8px);display:block;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}rtk-message-view::part(message){flex-grow:1}*[is-continued] rtk-message-view{margin-top:var(--rtk-space-1, 4px)}.pinned .message-wrapper{position:relative}.pinned .pin-button{position:absolute;right:var(--rtk-space-4, 16px);top:calc(var(--rtk-space-4, 16px) * -1);display:flex;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))}.pinned .pin-button:hover rtk-button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.new-chat-marker{display:flex;width:100%;align-items:center;gap:var(--rtk-space-2, 8px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.new-chat-marker::before{content:'';height:1px;flex:1 1 0%;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.show-new-messages-ctr{pointer-events:none;display:flex;justify-content:flex-end;padding:var(--rtk-space-3, 12px);z-index:0;margin-top:calc(var(--rtk-space-14, 56px) * -1)}.show-new-messages{pointer-events:auto;--tw-translate-y:var(--rtk-space-16, 64px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}";export{g as rtk_chat_messages_ui}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,d as i,h as r,a as s}from"./p-a599f720.js";import{i as e,e as n}from"./p-8fc79c56.js";import{S as a}from"./p-315cd380.js";var o=function(t,i,r,s){var e,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,r,s);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(n<3?e(a):n>3?e(i,r,a):e(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const c=class{constructor(r){t(this,r),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.t=e(),this.iconPack=n,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,i,r;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){this.apiError.emit({trace:this.t("recording.start"),message:this.t("recording.error.start")})}return;case"RECORDING":try{return void await(null===(i=this.meeting)||void 0===i?void 0:i.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>!this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(i=this.meeting)||void 0===i||i.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){return this.meeting?this.canRecord?r(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},r("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],c.prototype,"meeting",void 0),o([a()],c.prototype,"t",void 0),o([a()],c.prototype,"iconPack",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_recording_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,d as i,h as a,a as s}from"./p-a599f720.js";import{G as e,e as r,i as o,N as h}from"./p-8fc79c56.js";import{S as d}from"./p-315cd380.js";class c{constructor(t,i){this.meeting=t,this.audio=null!=i?i:document.createElement("audio"),this.audio.autoplay=!0,this.logger=t.__internals__.logger,this.audioStream=new MediaStream,this.audio.srcObject=this.audioStream,this.audioTracks=[]}addTrack(t,i){this.audioTracks.some((i=>i.id===t))||(this.audioTracks.push({id:t,track:i}),this.audioStream.addTrack(i),this.play())}removeTrack(t){const i=this.audioTracks.find((i=>i.id===t));null!=i&&(this.audioStream.removeTrack(i.track),this.audioTracks=this.audioTracks.filter((i=>i.id!==t)))}async play(){var t;this.audio.srcObject=this.audioStream,await(null===(t=this.audio.play())||void 0===t?void 0:t.catch((t=>{"NotAllowedError"===t.name?null!=this._onError&&this._onError():"AbortError"!==t.name&&this.logger.error("[rtk-audio] play() error\n",t)})))}async setDevice(t){var i,a,s;e(this.meeting)||await(null===(s=null===(a=(i=this.audio).setSinkId)||void 0===a?void 0:a.call(i,t))||void 0===s?void 0:s.catch((t=>{this.logger.error("[rtk-audio] setSinkId() error\n",t)})))}onError(t){this._onError=t}}var n=function(t,i,a,s){var e,r=arguments.length,o=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,a,s);else for(var h=t.length-1;h>=0;h--)(e=t[h])&&(o=(r<3?e(o):r>3?e(i,a,o):e(i,a))||o);return r>3&&o&&Object.defineProperty(i,a,o),o};const l=class{constructor(a){t(this,a),this.dialogClose=i(this,"dialogClose",7),this.iconPack=r,this.t=o(),this.preloadedAudioElem=void 0,this.showPlayDialog=!1,this.onRtkDialogClose=()=>{this.showPlayDialog=!1,this.dialogClose.emit()}}componentDidLoad(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;this.meeting&&(this.audioUpdateListener&&this.meeting.participants.joined.removeListener("audioUpdate",this.audioUpdateListener),this.screenShareUpdateListener&&this.meeting.participants.joined.removeListener("screenShareUpdate",this.screenShareUpdateListener),this.participantLeftListener&&this.meeting.participants.joined.removeListener("participantLeft",this.participantLeftListener),this.deviceUpdateListener&&this.meeting.self.removeListener("deviceUpdate",this.deviceUpdateListener),this.stageStatusUpdateListener&&(null===(t=this.meeting.stage)||void 0===t||t.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)))}async setupAudio(){this.audio=new c(this.meeting,this.preloadedAudioElem);const t=this.meeting.self.getCurrentDevices();null!=t.speaker&&await this.audio.setDevice(t.speaker.deviceId)}async handleAutoPlayError(){this.audio||await this.setupAudio(),this.audio.onError((()=>{this.showPlayDialog=!0})),this.audio.play()}async handleEvents(t){this.audioUpdateListener=({id:t,audioEnabled:i,audioTrack:a})=>{const s=`audio-${t}`;i&&null!=a?this.audio.addTrack(s,a):this.audio.removeTrack(s)};const i=t.participants.joined.toArray();for(const t of i)this.audioUpdateListener(t);this.participantLeftListener=({id:t})=>{this.audio.removeTrack(`audio-${t}`),this.audio.removeTrack(`screenshare-${t}`)},this.screenShareUpdateListener=({id:t,screenShareEnabled:i,screenShareTracks:a})=>{const s=`screenshare-${t}`;i&&null!=a.audio?this.audio.addTrack(s,a.audio):this.audio.removeTrack(s)},this.deviceUpdateListener=({device:t,preview:i})=>{i||"audiooutput"===t.kind&&this.audio.setDevice(t.deviceId)},t.participants.joined.addListener("audioUpdate",this.audioUpdateListener),t.participants.joined.addListener("screenShareUpdate",this.screenShareUpdateListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener),t.self.addListener("deviceUpdate",this.deviceUpdateListener)}async meetingChanged(t){var i;t&&(this.setupAudio(),h(t)?(this.stageStatusUpdateListener=async t=>{"ON_STAGE"===t&&await this.handleAutoPlayError()},null===(i=t.stage)||void 0===i||i.on("stageStatusUpdate",this.stageStatusUpdateListener)):await this.handleAutoPlayError(),await this.handleEvents(t))}render(){return a(s,{key:"b4dc66ad5570492c73e3fc2d88f92c67de90c392"},this.showPlayDialog&&a("rtk-dialog",{key:"b0e893eee0ce675ba927f4bbb817ab7c0c4473f6",open:!0,onRtkDialogClose:this.onRtkDialogClose,hideCloseButton:!0,disableEscapeKey:!0,iconPack:this.iconPack,t:this.t},a("div",{key:"a0f78ba76265d38a77dfbbe0bc680052f3d0393c",class:"modal"},a("h3",{key:"b150dc2862b2c626ecf27a5e78de86c98309ddee"},this.t("audio_playback.title")),a("p",{key:"f4a8eb77ba14a074eb105741240e3cb6765364bf"},this.t("audio_playback.description")),a("rtk-button",{key:"c6fc0f2d1e4d48f2d187fca780fafee841e69175",kind:"wide",onClick:()=>{this.audio.play(),this.onRtkDialogClose()},title:this.t("audio_playback")},this.t("audio_playback")))))}static get watchers(){return{meeting:["meetingChanged"]}}};n([d()],l.prototype,"meeting",void 0),n([d()],l.prototype,"iconPack",void 0),n([d()],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;overflow-wrap:break-word;color:rgb(var(--rtk-colors-text-1000, 255 255 255));word-wrap:break-word}.modal{box-sizing:border-box;width:100%;max-width:var(--rtk-space-96, 384px);padding:var(--rtk-space-4, 16px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.modal h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:24px;font-weight:500}.modal p{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-6, 24px)}.modal rtk-button{width:100%}";export{l as rtk_participants_audio}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{H as t}from"./p-8fc79c56.js";const e=t=>{let e=null;try{const n=JSON.parse(t.message),{target:s,message:o}=n;e=void 0===s||void 0===o?t:Object.assign(Object.assign({},t),{targetUserIds:s,message:o})}catch(n){e=t}return e};function n(t){return t.sort(((t,e)=>t.localeCompare(e))).join("_")}function s(t,e){if(null==t)return!0;for(const n of t)if("file"===n.kind){const t=n.getAsFile();n.type.startsWith("image/")?e("image",t):e("file",t)}}function o({messages:t,participants:s,selfUserId:o}){const r={};for(const t of s)r[n([t.userId,o])]=[];return t.forEach((t=>{var s;const o=e(t);let c="everyone";if((null===(s=o.targetUserIds)||void 0===s?void 0:s.length)>0){const t=new Set([o.userId,...o.targetUserIds]);c=n(Array.from(t))}r[c]||(r[c]=[]),r[c].push({type:"chat",message:o})})),r}function r({messages:e,selfUserId:n,selectedGroupId:s,participants:r}){var c;const a=o({messages:e,selfUserId:n,participants:r}),i={};for(const e in a){const o=null!==(c=t[e])&&void 0!==c?c:0;e===s?(i[e]=0,t[e]=new Date):i[e]=a[e].filter((t=>"chat"==t.type&&t.message.time>o&&t.message.userId!==n)).length}return i}function c({groupId:t,selfUserId:e}){return t.split("_").find((t=>t!=e))}function a(t){return t.split("").reverse().join("")}const i=/^\*([^*\s]+)\*/,f=/^_([^_\s]+)_/,u=/^~([^~\s]+)~/,l=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.,~#?&//=]*)/,p=/<blockquote>[.\s\S]*<\/blockquote>\n\n/m;function d(t,e=!1){if(!p.test(t))return"";let n=0,s=13;return e&&(n=12,s=0),t.substring(t.indexOf("<blockquote>")+n,t.indexOf("</blockquote>")+s)}function g(t){return t.replace(p,"")}const b=2e3,m=["<a>","<b>","<i>","<q>","<s>"];function _(t){t=(t=t.split(" ").map((t=>{if(l.test(t)){const e=l.exec(t);t=t.replace(e[0],`<a>${e[0]}</a>`)}else{if(i.test(t)){const e=i.exec(t);t=t.replace(e[0],`<b>${e[1]}</b>`)}if(f.test(t)){const e=f.exec(t);t=t.replace(e[0],`<i>${e[1]}</i>`)}if(u.test(t)){const e=u.exec(t);t=t.replace(e[0],`<s>${e[1]}</s>`)}}return t})).join(" ")).split(" ").map(((t,e)=>">"!==t||0!==e&&">"!==t[e-1]?t:"<q></q>")).join(" ");const[e]=v(t);return e}function v(t,e=""){const n=[];if(0===t.length)return[n,0];let s=0;for(;s<t.length;){if(e.length&&e===t.substring(s,s+e.length))return[n,s+e.length];if(m.includes(t.substring(s,s+3))){const[e,o]=v(t.substring(s+3),`</${t[s+1]}>`);n.push({type:t[s+1],content:1===e.length&&"plain_text"===e[0].type?e[0].content:e}),s+=o+3}else{let e=n[n.length-1];e&&"plain_text"===e.type||(n.push({type:"plain_text",content:""}),e=n[n.length-1]),e.content+=t[s],s++}}return[n,s]}export{b as M,o as a,r as b,c,p as d,d as e,e as f,n as g,s as h,_ as p,a as r,g as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t,h as a,H as o}from"./p-0ee570cd.js";import{e,i}from"./p-25c4d10f.js";import{S as s}from"./p-9b550ec4.js";import{a as c,f as l,g as n}from"./p-6f211c3e.js";var p=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const d=class{constructor(a){r(this,a),this.onVote=t(this,"rtkVotePoll",7),this.iconPack=e,this.t=i(),this.MAX_VOTES_RENDER=10}vote(r,t){this.poll.voted.includes(this.self)?r.preventDefault():this.onVote.emit({id:this.poll.id,index:t})}render(){const r=this.poll.voted.includes(this.self);return a(o,{key:"2951e932453e7c58f3d2a1bc0952b02c7f231fe2"},a("div",{key:"fda1240df8d21e01df14e749593f00ca81a4c4a2",class:"ctr"},a("p",{key:"08459f706bdb922eddc7a3b7f3b2177293f18371",class:"poll-title"},this.t("polls.by")," ",c(l(this.poll.createdBy),20)),a("div",{key:"b8c1d0755a17862bf372c24c72b6ad5f9a774d81",class:"poll"},a("p",{key:"cd76bf5da75f3165eecac1c6845bbb5c0a69a99c",class:"poll-question"},this.poll.question),a("div",{key:"00c702b964872b7883bcd656e3b8e03a1986b28e",class:"poll-answers"},a("span",{key:"e51a233616f792e6bcbbb8376099a4a5e9e7dd02"},this.t("polls.answers")),a("span",{key:"f3fe545292f85870d11f334c211099bdab8694f0"},this.poll.voted.length)),this.poll.options.map(((t,o)=>a("div",{class:{active:t.votes.some((r=>r.id===this.self)),"open-vote":this.permissions.polls.canVote&&!r,"poll-option":!0}},a("div",{class:"poll-option-header","data-disabled":!this.permissions.polls.canVote},a("label",null,!r&&a("input",{disabled:!this.permissions.polls.canVote,readOnly:r,type:"radio",checked:t.votes.some((r=>r.id===this.self)),onClick:r=>this.vote(r,o)}),a("p",null,t.text)),a("span",{class:"counter"},t.count)),a("div",{class:"votes"},t.votes.slice(0,this.MAX_VOTES_RENDER).map((r=>{if(!this.poll.anonymous||this.self===this.poll.createdByUserId)return a("rtk-tooltip",{label:r.name},a("div",{class:"vote"},n(r.name)))})),t.votes.length>this.MAX_VOTES_RENDER&&a("rtk-tooltip",{label:`+${t.votes.length-this.MAX_VOTES_RENDER} more `},a("div",{class:"vote"},"+",t.votes.length-this.MAX_VOTES_RENDER)))))))))}};p([s()],d.prototype,"iconPack",void 0),p([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)}.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)))}.ctr{margin-bottom:var(--rtk-space-3, 12px);display:flex;width:100%;flex-direction:column;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.poll-title{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-4, 16px);font-size:12px}.poll{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));display:flex;flex-direction:column;padding:var(--rtk-space-4, 16px)}.poll-question{padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;overflow-wrap:break-word}.poll-answers{display:flex;flex-direction:row;justify-content:space-between;font-size:12px;margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-3, 12px)}.poll-option{display:flex;flex-direction:column;margin-top:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);word-break:break-word}.poll-option.open-vote:hover{cursor:pointer}.poll-option label{display:flex;flex-direction:row;cursor:inherit}.poll-option-header{display:flex;flex-direction:row;justify-content:space-between;padding:var(--rtk-space-1, 4px)}.poll-option-header[data-disabled='true']:hover{cursor:default}.poll-option-header input{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-2, 8px);cursor:inherit}.poll-option-header .counter{color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:12px}.votes{margin-top:var(--rtk-space-1, 4px);display:flex;flex-direction:row;flex-wrap:wrap}.vote{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);display:flex;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-none, 0);clip-path:circle()}.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.active .counter{color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}";var b=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const k=class{constructor(a){r(this,a),this.onCreate=t(this,"rtkCreatePoll",7),this.iconPack=e,this.t=i(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(r){var t;this.options=this.options.filter(((t,a)=>a!==r)),1===(null===(t=this.error)||void 0===t?void 0:t.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(r,t){var a;this.options[t]=r.target.value,1===(null===(a=this.error)||void 0===a?void 0:a.code)&&(this.error=void 0)}handleSubmit(){const r={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};r.question?this.options.filter((r=>""===r.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(r):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return a(o,{key:"3b0e105480e37261b64a99552f20f65b467deb5c"},a("div",{key:"8682faca7764a1669f589be097ccfee63d49e9b3",class:"create-poll"},a("p",{key:"723847f27d92eeac805b7c55692d61ce48476eb0"},this.t("polls.question")),a("textarea",{key:"e85b887af5077f79a0542aa256cbc1ee2e209c67",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:r=>this.question=r,placeholder:this.t("polls.question.placeholder")}),this.options.map(((r,t)=>a("div",{class:"option"},a("input",{placeholder:this.t("polls.option.placeholder"),value:r,onInput:r=>this.updateOption(r,t)}),t>1&&a("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(t)},a("rtk-icon",{icon:this.iconPack.subtract}))))),a("rtk-button",{key:"4b1552030c268c7b9c67e63f47ca4decbaca549f",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"3af3d5e264c8acd9fd2348483489a02aaf9ac770"},a("input",{key:"39339af087cc40813d79a211fd12866ade71403c",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"30a29efafcbd837057cfed7957d48c04d02e2570"},a("input",{key:"e5c949df6cfec33c4c31c14db9d2ff816211ca3f",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:r=>this.hideVotes=r.target.checked}),this.t("polls.results.hide")),a("rtk-button",{key:"994e07e64080cd4251202ac3090da2c4e71f8a02",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"27e0ab9385fe99ca5bab3a9ce4c756988dafbea4",class:"error-text"},this.error.message)))}};b([s()],k.prototype,"iconPack",void 0),b([s()],k.prototype,"t",void 0),k.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)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{d as rtk_poll,k as rtk_poll_form}
|
|
1
|
+
import{r,d as t,h as a,a as o}from"./p-a599f720.js";import{e,i}from"./p-8fc79c56.js";import{S as s}from"./p-315cd380.js";import{a as l,f as c,g as n}from"./p-6f211c3e.js";var p=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var l=r.length-1;l>=0;l--)(e=r[l])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const d=class{constructor(a){r(this,a),this.onVote=t(this,"rtkVotePoll",7),this.iconPack=e,this.t=i(),this.MAX_VOTES_RENDER=10}vote(r,t){this.poll.voted.includes(this.self)?r.preventDefault():this.onVote.emit({id:this.poll.id,index:t})}render(){const r=this.poll.voted.includes(this.self);return a(o,{key:"69e61c49e0f7f2015538447a8862bdb7fd3b4840"},a("div",{key:"00dec58cb19f30a4fc01926dd383edb270cd61c3",class:"ctr"},a("p",{key:"04d88ddf1f20e1a7e5b017f058b585723498f474",class:"poll-title"},this.t("polls.by")," ",l(c(this.poll.createdBy),20)),a("div",{key:"5432167291df04bc4a4bfa23117df79c8512027d",class:"poll"},a("p",{key:"bee55a8193f96f582cf1c3006393740ab652dea7",class:"poll-question"},this.poll.question),a("div",{key:"aefe01131512e992e756196b5b451d4423bb9635",class:"poll-answers"},a("span",{key:"973f566c9d84a6519f7ab307fd072215fe76f72d"},this.t("polls.answers")),a("span",{key:"2a87b4bd72b99916cf20070c792742d04c1a44ca"},this.poll.voted.length)),this.poll.options.map(((t,o)=>a("div",{class:{active:t.votes.some((r=>r.id===this.self)),"open-vote":this.permissions.polls.canVote&&!r,"poll-option":!0}},a("div",{class:"poll-option-header","data-disabled":!this.permissions.polls.canVote},a("label",null,!r&&a("input",{disabled:!this.permissions.polls.canVote,readOnly:r,type:"radio",checked:t.votes.some((r=>r.id===this.self)),onClick:r=>this.vote(r,o)}),a("p",null,t.text)),a("span",{class:"counter"},t.count)),a("div",{class:"votes"},t.votes.slice(0,this.MAX_VOTES_RENDER).map((r=>{if(!this.poll.anonymous||this.self===this.poll.createdByUserId)return a("rtk-tooltip",{label:r.name},a("div",{class:"vote"},n(r.name)))})),t.votes.length>this.MAX_VOTES_RENDER&&a("rtk-tooltip",{label:`+${t.votes.length-this.MAX_VOTES_RENDER} more `},a("div",{class:"vote"},"+",t.votes.length-this.MAX_VOTES_RENDER)))))))))}};p([s()],d.prototype,"iconPack",void 0),p([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)}.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)))}.ctr{margin-bottom:var(--rtk-space-3, 12px);display:flex;width:100%;flex-direction:column;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.poll-title{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-4, 16px);font-size:12px}.poll{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));display:flex;flex-direction:column;padding:var(--rtk-space-4, 16px)}.poll-question{padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;overflow-wrap:break-word}.poll-answers{display:flex;flex-direction:row;justify-content:space-between;font-size:12px;margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-3, 12px)}.poll-option{display:flex;flex-direction:column;margin-top:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);word-break:break-word}.poll-option.open-vote:hover{cursor:pointer}.poll-option label{display:flex;flex-direction:row;cursor:inherit}.poll-option-header{display:flex;flex-direction:row;justify-content:space-between;padding:var(--rtk-space-1, 4px)}.poll-option-header[data-disabled='true']:hover{cursor:default}.poll-option-header input{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-2, 8px);cursor:inherit}.poll-option-header .counter{color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:12px}.votes{margin-top:var(--rtk-space-1, 4px);display:flex;flex-direction:row;flex-wrap:wrap}.vote{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);display:flex;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-none, 0);clip-path:circle()}.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.active .counter{color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}";var b=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var l=r.length-1;l>=0;l--)(e=r[l])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const k=class{constructor(a){r(this,a),this.onCreate=t(this,"rtkCreatePoll",7),this.iconPack=e,this.t=i(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(r){var t;this.options=this.options.filter(((t,a)=>a!==r)),1===(null===(t=this.error)||void 0===t?void 0:t.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(r,t){var a;this.options[t]=r.target.value,1===(null===(a=this.error)||void 0===a?void 0:a.code)&&(this.error=void 0)}handleSubmit(){const r={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};r.question?this.options.filter((r=>""===r.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(r):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return a(o,{key:"ff160dd70e52bfa8a0c5116acea73a16cb84b9b8"},a("div",{key:"2f14946249e12cbc38db8cca86d370030286dc8e",class:"create-poll"},a("p",{key:"a6e3704c58e3526aa2e0f517f529c7ee48627f30"},this.t("polls.question")),a("textarea",{key:"6b076d162f80cc4e08ecc9379e829f37d43d06bb",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:r=>this.question=r,placeholder:this.t("polls.question.placeholder")}),this.options.map(((r,t)=>a("div",{class:"option"},a("input",{placeholder:this.t("polls.option.placeholder"),value:r,onInput:r=>this.updateOption(r,t)}),t>1&&a("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(t)},a("rtk-icon",{icon:this.iconPack.subtract}))))),a("rtk-button",{key:"be4055b21c6c810d0721fe2daf3308011b2c6d8f",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"0e22f9da27289adf831d5a9458237aa11758fd41"},a("input",{key:"577da1d275259a4e9ebffedf153f52e799172c42",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"c06bcbfb6d15125c614764002985d20713e672a4"},a("input",{key:"9e9bb29126ed51c0bbd06481b44f690d737fbb64",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:r=>this.hideVotes=r.target.checked}),this.t("polls.results.hide")),a("rtk-button",{key:"ab48323f46db1f6e485bea960f6d7ec6bb684075",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"1d61b167ee24001d0b66acdb361262bf7f2ffcc6",class:"error-text"},this.error.message)))}};b([s()],k.prototype,"iconPack",void 0),b([s()],k.prototype,"t",void 0),k.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)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{d as rtk_poll,k as rtk_poll_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,d as i,h as r,a as e}from"./p-a599f720.js";import{e as o,i as a,V as s,W as n}from"./p-8fc79c56.js";import{S as c}from"./p-315cd380.js";var l=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const p=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a()}render(){var t,i;if(!this.meeting)return null;const o={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},a=this.states,c=!0===(null===(t=null==a?void 0:a.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===s("mute-notification-sounds");return r(e,null,r("rtk-microphone-selector",Object.assign({},o),r("rtk-audio-visualizer",{participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),r("rtk-speaker-selector",Object.assign({},o)),r("div",{class:"group",part:"notification-toggle"},r("div",{class:"row"},r("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),r("rtk-switch",{id:"notification-toggle",checked:!c,onRtkChange:t=>{const{checked:i}=t.target,r=!i;this.stateUpdate.emit({prefs:{muteNotificationSounds:r}}),n("mute-notification-sounds",r)},iconPack:this.iconPack,t:this.t}))))}};l([c()],p.prototype,"meeting",void 0),l([c()],p.prototype,"states",void 0),l([c()],p.prototype,"iconPack",void 0),l([c()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:100%;flex-direction:column}audio{visibility:hidden}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}rtk-audio-visualizer{flex-shrink:0}rtk-button{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));--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}rtk-button rtk-icon{margin-right:var(--rtk-space-2, 8px)}";var d=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const h=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var i;t&&(this.videoEnabled=t.self.videoEnabled,null===(i=t.self)||void 0===i||i.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,i,o;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},c=this.states,l=!0===(null===(t=null==c?void 0:c.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===s("mirror-video");return r(e,null,r("div",{class:"section",part:"tile-preview"},r("div",{class:"group",part:"tile-preview"},!0===this.videoEnabled?r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,states:c,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(o=this.meeting)||void 0===o?void 0:o.self,size:this.size},r("div",null,r("rtk-icon",{id:"icon",icon:this.iconPack.video_off,tabIndex:-1,"aria-hidden":!0}),r("div",null,this.t("settings.camera_off"))))))),r("rtk-camera-selector",Object.assign({},a)),r("div",{class:"group",part:"mirror-toggle"},r("div",{class:"row"},r("label",{htmlFor:"mirror-toggle"},this.t("settings.mirror_video")),r("rtk-switch",{checked:l,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:i}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:i}}),n("mirror-video",i)}}))))}static get watchers(){return{meeting:["meetingChanged"]}}};d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"states",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],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)}.rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5)}:host{display:flex;width:100%;flex-direction:column}.rtk-select{width:100%;text-overflow:ellipsis}rtk-participant-tile{margin-left:auto;margin-right:auto;margin-bottom:var(--rtk-space-4, 16px);max-width:100%}#icon{padding-bottom:var(--rtk-space-1, 4px)}.apply-button{height:var(--rtk-space-10, 40px)}label{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.section{display:flex;flex-direction:column}@media only screen and (max-height: 480px) and (orientation: landscape){:host{flex-direction:row}:host([size='sm']){flex-direction:row}.section[part='tile-preview']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);max-height:90%;max-width:40%;flex-shrink:1}.section[part='video-settings']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);flex-grow:1}}";export{p as rtk_settings_audio,h as rtk_settings_video}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{N as r}from"./p-8fc79c56.js";const t=r=>{if(r&&!r.chat)return!1;const{chatPublic:t,chatPrivate:n}=r.self.permissions;return t.canSend||t.canReceive||t.text||t.files||n.canSend||n.canReceive||n.files||n.text},n=r=>{if(r&&!r.polls)return!1;const{polls:t}=r.self.permissions;return t.canCreate||t.canView||t.canVote},u=r=>{var t;if(!(null===(t=r.self.permissions)||void 0===t?void 0:t.showParticipantList))return!1;if(r&&!r.participants)return!1;const n=null==r?void 0:r.self.config;return!(n&&!n.controlBar.elements.participants)},i=t=>{if(r(t))return!1;if(t&&!t.plugins)return!1;if("LIVESTREAM"===t.meta.viewType)return"ON_STAGE"===t.stage.status;const{plugins:n}=t.self.permissions;return n.canClose||n.canStart};export{u as a,i as b,t as c,n as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{c as a,e as n,i as r,O as h}from"./p-25c4d10f.js";import{d as o}from"./p-cbdd7a99.js";import{R as c}from"./p-c8eaa707.js";import{S as p}from"./p-9b550ec4.js";import{d}from"./p-b13ddb7d.js";var l=function(t,i,s,e){var a,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(r=(n<3?a(r):n>3?a(i,s,r):a(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const g=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=a(),this.iconPack=n,this.t=r(),this.gridSize=d,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.onParticipantJoined=o((()=>{this.updateActiveParticipants()}),50),this.onParticipantLeft=o((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=h(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:a}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==a||a.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.onParticipantLeft),e.active.removeListener("participantJoined",this.onParticipantJoined),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,a,n;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:r,plugins:h,stage:o}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:c}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==c?void 0:c.isRecorder)||c.hiddenParticipant,this.participants=this.filterParticipants([...r.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...r.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=r.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==h?void 0:h.active.toArray())||[],(null==c?void 0:c.stageEnabled)&&(this.canCurrentPeerHost=c.acceptStageRequests||c.canPresent,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==o||o.addListener("stageStatusUpdate",this.stageStatusListener),null==h||h.all.addListener("stateUpdate",this.onPluginStateUpdate),r.addListener("viewModeChanged",this.onViewModeChanged),r.active.addListener("participantLeft",this.onParticipantLeft),null===(a=null==r?void 0:r.joined)||void 0===a||a.on("stageStatusUpdate",this.peerStageStatusListener),r.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),r.active.addListener("participantJoined",this.onParticipantJoined),r.pinned.addListener("participantJoined",this.onParticipantPinned),r.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(n=t.stage)||void 0===n?void 0:n.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),..."ACTIVE_GRID"!==s.viewMode||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){const t={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return this.invalidRoomStates.includes(this.roomState)?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),s("h3",null,this.t("disconnected")),s("p",null,this.t("disconnected.description")))):"disconnected"===this.roomState?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("offline")),s("p",null,this.t("offline.description")))):"failed"===this.roomState?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("failed")),s("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?s(e,null,s("rtk-livestream-player",{meeting:this.meeting,size:this.size}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?s(e,null,s("div",{class:"webinar-stage"},s("div",{class:"center"},this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_host")),s("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):s(e,null,s(c,{element:"rtk-grid",defaults:t,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:["meetingChanged"],overrides:["overridesChanged"],screenShareParticipants:["screenShareParticipantsChanged"],plugins:["pluginsChanged"],pinnedParticipants:["pinnedParticipantsChanged"]}}};l([p()],g.prototype,"meeting",void 0),l([p()],g.prototype,"states",void 0),l([p()],g.prototype,"config",void 0),l([p()],g.prototype,"iconPack",void 0),l([p()],g.prototype,"t",void 0),g.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;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}";export{g as rtk_grid}
|
|
1
|
+
import{r as t,d as i,h as s,a as e}from"./p-a599f720.js";import{c as a,e as n,i as r,N as h}from"./p-8fc79c56.js";import{d as o}from"./p-cbdd7a99.js";import{R as c}from"./p-eccb6d78.js";import{S as p}from"./p-315cd380.js";import{d}from"./p-b13ddb7d.js";var l=function(t,i,s,e){var a,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(r=(n<3?a(r):n>3?a(i,s,r):a(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const g=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=a(),this.iconPack=n,this.t=r(),this.gridSize=d,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.onParticipantJoined=o((()=>{this.updateActiveParticipants()}),50),this.onParticipantLeft=o((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=h(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:a}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==a||a.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.onParticipantLeft),e.active.removeListener("participantJoined",this.onParticipantJoined),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,a,n;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:r,plugins:h,stage:o}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:c}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==c?void 0:c.isRecorder)||c.hiddenParticipant,this.participants=this.filterParticipants([...r.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...r.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=r.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==h?void 0:h.active.toArray())||[],(null==c?void 0:c.stageEnabled)&&(this.canCurrentPeerHost=c.acceptStageRequests||c.canPresent,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==o||o.addListener("stageStatusUpdate",this.stageStatusListener),null==h||h.all.addListener("stateUpdate",this.onPluginStateUpdate),r.addListener("viewModeChanged",this.onViewModeChanged),r.active.addListener("participantLeft",this.onParticipantLeft),null===(a=null==r?void 0:r.joined)||void 0===a||a.on("stageStatusUpdate",this.peerStageStatusListener),r.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),r.active.addListener("participantJoined",this.onParticipantJoined),r.pinned.addListener("participantJoined",this.onParticipantPinned),r.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(n=t.stage)||void 0===n?void 0:n.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),..."ACTIVE_GRID"!==s.viewMode||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){const t={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return this.invalidRoomStates.includes(this.roomState)?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),s("h3",null,this.t("disconnected")),s("p",null,this.t("disconnected.description")))):"disconnected"===this.roomState?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("offline")),s("p",null,this.t("offline.description")))):"failed"===this.roomState?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("failed")),s("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?s(e,null,s("rtk-livestream-player",{meeting:this.meeting,size:this.size}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?s(e,null,s("div",{class:"webinar-stage"},s("div",{class:"center"},this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_host")),s("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):s(e,null,s(c,{element:"rtk-grid",defaults:t,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:["meetingChanged"],overrides:["overridesChanged"],screenShareParticipants:["screenShareParticipantsChanged"],plugins:["pluginsChanged"],pinnedParticipants:["pinnedParticipantsChanged"]}}};l([p()],g.prototype,"meeting",void 0),l([p()],g.prototype,"states",void 0),l([p()],g.prototype,"config",void 0),l([p()],g.prototype,"iconPack",void 0),l([p()],g.prototype,"t",void 0),g.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;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}";export{g as rtk_grid}
|