@stream-io/video-react-native-sdk 1.9.31 → 1.10.0
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/CHANGELOG.md +15 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +31 -21
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +3 -2
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +7 -5
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -8
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +11 -9
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +5 -3
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +12 -9
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +22 -15
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +15 -11
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +18 -13
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +39 -34
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +10 -8
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +22 -18
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +25 -21
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +10 -7
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +43 -33
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +21 -16
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +32 -22
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +35 -25
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +12 -8
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +28 -22
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +25 -22
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -26
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +19 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +12 -9
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +14 -12
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +10 -7
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +19 -15
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +18 -15
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +20 -16
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js +4 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +39 -33
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +54 -43
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +30 -27
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +11 -7
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +17 -14
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +23 -20
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +8 -7
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +13 -11
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/commonjs/components/utility/Avatar.js +18 -15
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +35 -29
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/contexts/BackgroundFilters.js +5 -3
- package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
- package/dist/commonjs/contexts/StreamVideoContext.js +6 -5
- package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -1
- package/dist/commonjs/contexts/ThemeContext.js +5 -3
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
- package/dist/commonjs/icons/Back.js +8 -6
- package/dist/commonjs/icons/Back.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +8 -6
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/EndStreamIcon.js +8 -6
- package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Eye.js +8 -6
- package/dist/commonjs/icons/Eye.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +5 -3
- package/dist/commonjs/icons/IconWrapper.js.map +1 -1
- package/dist/commonjs/icons/LeaveStreamIcon.js +8 -6
- package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Lock.js +8 -6
- package/dist/commonjs/icons/Lock.js.map +1 -1
- package/dist/commonjs/icons/Mic.js +8 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +8 -6
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +8 -6
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +8 -6
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +8 -6
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +8 -6
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +8 -6
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ScreenShareIndicator.js +21 -18
- package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/commonjs/icons/Settings.js +7 -5
- package/dist/commonjs/icons/Settings.js.map +1 -1
- package/dist/commonjs/icons/ShieldBadge.js +8 -6
- package/dist/commonjs/icons/ShieldBadge.js.map +1 -1
- package/dist/commonjs/icons/Spotlight.js +10 -8
- package/dist/commonjs/icons/Spotlight.js.map +1 -1
- package/dist/commonjs/icons/StartStreamIcon.js +8 -6
- package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +11 -9
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ThreeDots.js +20 -18
- package/dist/commonjs/icons/ThreeDots.js.map +1 -1
- package/dist/commonjs/icons/TopViewBackground.js +24 -19
- package/dist/commonjs/icons/TopViewBackground.js.map +1 -1
- package/dist/commonjs/icons/Video.js +8 -6
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +8 -6
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/providers/StreamCall/index.js +5 -3
- package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
- package/dist/commonjs/providers/StreamVideo.js +10 -5
- package/dist/commonjs/providers/StreamVideo.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +33 -21
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +5 -2
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/module/components/Call/CallContent/index.js +2 -0
- package/dist/module/components/Call/CallContent/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +9 -6
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +13 -8
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +13 -10
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +7 -3
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js +14 -10
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +24 -16
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +17 -12
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +20 -14
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +2 -0
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +41 -34
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +12 -9
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +24 -19
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallLayout/index.js +2 -0
- package/dist/module/components/Call/CallLayout/index.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +27 -21
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/index.js +2 -0
- package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +12 -8
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +45 -34
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +23 -17
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/Lobby/index.js +2 -0
- package/dist/module/components/Call/Lobby/index.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +34 -23
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +37 -26
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +14 -9
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +30 -22
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +27 -22
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/index.js +2 -0
- package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
- package/dist/module/components/Call/index.js +2 -0
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +33 -27
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
- package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +7 -4
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +21 -16
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +14 -10
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +16 -13
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +7 -3
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +18 -13
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +18 -13
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +12 -8
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +21 -16
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
- package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/index.js +2 -0
- package/dist/module/components/Livestream/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +20 -15
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +22 -16
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +6 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +41 -34
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +56 -44
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +32 -28
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +13 -8
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +19 -15
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +25 -21
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +10 -8
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +15 -11
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/index.js +2 -0
- package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/index.js +2 -0
- package/dist/module/components/Participant/index.js.map +1 -1
- package/dist/module/components/index.js +2 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/utility/Avatar.js +20 -16
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +37 -30
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/components/utility/index.js +2 -0
- package/dist/module/components/utility/index.js.map +1 -1
- package/dist/module/constants/TestIds.js +2 -0
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +2 -0
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/contexts/BackgroundFilters.js +7 -3
- package/dist/module/contexts/BackgroundFilters.js.map +1 -1
- package/dist/module/contexts/StreamVideoContext.js +7 -3
- package/dist/module/contexts/StreamVideoContext.js.map +1 -1
- package/dist/module/contexts/ThemeContext.js +7 -3
- package/dist/module/contexts/ThemeContext.js.map +1 -1
- package/dist/module/contexts/index.js +2 -0
- package/dist/module/contexts/index.js.map +1 -1
- package/dist/module/hooks/index.js +2 -0
- package/dist/module/hooks/index.js.map +1 -1
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +2 -0
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
- package/dist/module/hooks/push/index.js +2 -0
- package/dist/module/hooks/push/index.js.map +1 -1
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +2 -0
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +2 -0
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +2 -0
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
- package/dist/module/hooks/push/useIosInitRemoteNotifications.js +2 -0
- package/dist/module/hooks/push/useIosInitRemoteNotifications.js.map +1 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +2 -0
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/push/useProcessPushCallEffect.js +2 -0
- package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
- package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js +2 -0
- package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js.map +1 -1
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -0
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js +2 -0
- package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js.map +1 -1
- package/dist/module/hooks/useAutoEnterPiPEffect.js +2 -0
- package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/module/hooks/useIsInPiPMode.js +2 -0
- package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +2 -0
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js +2 -0
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
- package/dist/module/hooks/usePermissionNotification.js +2 -0
- package/dist/module/hooks/usePermissionNotification.js.map +1 -1
- package/dist/module/hooks/usePermissionRequest.js +2 -0
- package/dist/module/hooks/usePermissionRequest.js.map +1 -1
- package/dist/module/hooks/useScreenShareButton.js +2 -0
- package/dist/module/hooks/useScreenShareButton.js.map +1 -1
- package/dist/module/hooks/useTrackDimensions.js +2 -0
- package/dist/module/hooks/useTrackDimensions.js.map +1 -1
- package/dist/module/icons/Back.js +10 -6
- package/dist/module/icons/Back.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +10 -6
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/EndStreamIcon.js +10 -6
- package/dist/module/icons/EndStreamIcon.js.map +1 -1
- package/dist/module/icons/Eye.js +10 -6
- package/dist/module/icons/Eye.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +7 -3
- package/dist/module/icons/IconWrapper.js.map +1 -1
- package/dist/module/icons/LeaveStreamIcon.js +10 -6
- package/dist/module/icons/LeaveStreamIcon.js.map +1 -1
- package/dist/module/icons/Lock.js +10 -6
- package/dist/module/icons/Lock.js.map +1 -1
- package/dist/module/icons/Mic.js +10 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +10 -6
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +10 -6
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +10 -6
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +10 -6
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +10 -6
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +10 -6
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/ScreenShareIndicator.js +23 -18
- package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/module/icons/Settings.js +9 -5
- package/dist/module/icons/Settings.js.map +1 -1
- package/dist/module/icons/ShieldBadge.js +10 -6
- package/dist/module/icons/ShieldBadge.js.map +1 -1
- package/dist/module/icons/Spotlight.js +12 -8
- package/dist/module/icons/Spotlight.js.map +1 -1
- package/dist/module/icons/StartStreamIcon.js +10 -6
- package/dist/module/icons/StartStreamIcon.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +13 -9
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/ThreeDots.js +22 -18
- package/dist/module/icons/ThreeDots.js.map +1 -1
- package/dist/module/icons/TopViewBackground.js +26 -19
- package/dist/module/icons/TopViewBackground.js.map +1 -1
- package/dist/module/icons/Video.js +10 -6
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +10 -6
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +2 -0
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/package.json +1 -0
- package/dist/module/providers/StreamCall/AppStateListener.js +2 -0
- package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/module/providers/StreamCall/DeviceStats.js +2 -0
- package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/module/providers/StreamCall/index.js +7 -4
- package/dist/module/providers/StreamCall/index.js.map +1 -1
- package/dist/module/providers/StreamVideo.js +12 -5
- package/dist/module/providers/StreamVideo.js.map +1 -1
- package/dist/module/theme/colors.js +2 -0
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +2 -0
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +2 -0
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +2 -0
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/theme/types.js +2 -0
- package/dist/module/translations/index.js +2 -0
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/index.js +2 -0
- package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/types.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js.map +1 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +2 -0
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/module/utils/hooks/index.js +2 -0
- package/dist/module/utils/hooks/index.js.map +1 -1
- package/dist/module/utils/hooks/useDebouncedValue.js +2 -0
- package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -1
- package/dist/module/utils/hooks/usePrevious.js +2 -0
- package/dist/module/utils/hooks/usePrevious.js.map +1 -1
- package/dist/module/utils/index.js +2 -0
- package/dist/module/utils/index.js.map +1 -1
- package/dist/module/utils/internal/newNotificationCallbacks.js +2 -0
- package/dist/module/utils/internal/newNotificationCallbacks.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/gestureHandler.js +2 -0
- package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/index.js +2 -0
- package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/reanimated.js +2 -0
- package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
- package/dist/module/utils/internal/pushLogoutCallback.js +2 -0
- package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
- package/dist/module/utils/internal/rxSubjects.js +2 -0
- package/dist/module/utils/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +2 -0
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
- package/dist/module/utils/push/android.js +2 -0
- package/dist/module/utils/push/android.js.map +1 -1
- package/dist/module/utils/push/index.js +2 -0
- package/dist/module/utils/push/index.js.map +1 -1
- package/dist/module/utils/push/internal/rxSubjects.js +2 -0
- package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/push/internal/utils.js +2 -0
- package/dist/module/utils/push/internal/utils.js.map +1 -1
- package/dist/module/utils/push/ios.js +2 -0
- package/dist/module/utils/push/ios.js.map +1 -1
- package/dist/module/utils/push/libs/callkeep.js +2 -0
- package/dist/module/utils/push/libs/callkeep.js.map +1 -1
- package/dist/module/utils/push/libs/expoNotifications.js +2 -0
- package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/index.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
- package/dist/module/utils/push/libs/index.js +2 -0
- package/dist/module/utils/push/libs/index.js.map +1 -1
- package/dist/module/utils/push/libs/iosPushNotification.js +2 -0
- package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/index.js +2 -0
- package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/lib.js +2 -0
- package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
- package/dist/module/utils/push/libs/voipPushNotification.js +2 -0
- package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
- package/dist/module/utils/push/utils.js +2 -0
- package/dist/module/utils/push/utils.js.map +1 -1
- package/dist/module/utils/setClientDetails.js +2 -0
- package/dist/module/utils/setClientDetails.js.map +1 -1
- package/dist/module/version.js +3 -1
- package/dist/module/version.js.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +8 -8
- package/src/version.ts +1 -1
package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_contexts","_reactNative","_icons","e","__esModule","default","LivestreamVideoControlButton","useCameraState","useCallSettings","useCallStateHooks","optimisticIsMute","camera","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","iconSizes","buttonSizes","livestreamVideoControlButton","useTheme","onPress","toggle","
|
|
1
|
+
{"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_contexts","_reactNative","_icons","_jsxRuntime","e","__esModule","default","LivestreamVideoControlButton","useCameraState","useCallSettings","useCallStateHooks","optimisticIsMute","camera","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","iconSizes","buttonSizes","livestreamVideoControlButton","useTheme","onPress","toggle","jsx","Pressable","style","styles","container","backgroundColor","buttonSecondary","height","xs","width","children","View","icon","sm","IconWrapper","Video","color","iconPrimary","size","md","VideoSlash","exports","StyleSheet","create","justifyContent","alignItems","marginHorizontal","borderRadius"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAgE,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhE;AACA;AACA;AACO,MAAMG,4BAA4B,GAAGA,CAAA,KAAM;EAChD,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EAC/D,MAAM;IAAEC,gBAAgB;IAAEC;EAAO,CAAC,GAAGJ,cAAc,CAAC,CAAC;EACrD,MAAMK,YAAY,GAAGJ,eAAe,CAAC,CAAC;EACtC,MAAMK,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC,SAAS;QAAEC;MAAY,CAAC;MACpCC;IACF;EACF,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEd,MAAMC,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,MAAMZ,MAAM,CAACa,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACX,oBAAoB,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,EAAE;EAChB,CAAC;EACDf,IAAI,EAAE,CAAC;AACT,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ var _contexts = require("../../../contexts");
|
|
|
10
10
|
var _icons = require("../../../icons");
|
|
11
11
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
12
12
|
var _videoClient = require("@stream-io/video-client");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
16
|
/**
|
|
@@ -51,21 +52,24 @@ const ViewerLeaveStreamButton = ({
|
|
|
51
52
|
logger('error', 'Error stopping livestream', error);
|
|
52
53
|
}
|
|
53
54
|
};
|
|
54
|
-
return /*#__PURE__*/
|
|
55
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
|
|
55
56
|
style: [styles.container, {
|
|
56
57
|
backgroundColor: colors.buttonSecondary
|
|
57
58
|
}, viewerLeaveStreamButton.container],
|
|
58
|
-
onPress: onLeaveStreamButtonPress
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
onPress: onLeaveStreamButtonPress,
|
|
60
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
61
|
+
style: [styles.icon, {
|
|
62
|
+
height: iconSizes.xs,
|
|
63
|
+
width: iconSizes.xs
|
|
64
|
+
}, viewerLeaveStreamButton.icon],
|
|
65
|
+
children: isAwaitingResponse ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.LeaveStreamIcon, {})
|
|
66
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
67
|
+
style: [styles.text, typefaces.subtitleBold, {
|
|
68
|
+
color: colors.textPrimary
|
|
69
|
+
}, viewerLeaveStreamButton.text],
|
|
70
|
+
children: isAwaitingResponse ? t('Loading...') : t('Leave Stream')
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
69
73
|
};
|
|
70
74
|
exports.ViewerLeaveStreamButton = ViewerLeaveStreamButton;
|
|
71
75
|
const styles = _reactNative.StyleSheet.create({
|
package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_contexts","_icons","_videoReactBindings","_videoClient","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ViewerLeaveStreamButton","onLeaveStreamHandler","isAwaitingResponse","setIsAwaitingResponse","useState","useCall","useI18n","theme","colors","variants","iconSizes","typefaces","viewerLeaveStreamButton","useTheme","onLeaveStreamButtonPress","leave","error","logger","getLogger","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_contexts","_icons","_videoReactBindings","_videoClient","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ViewerLeaveStreamButton","onLeaveStreamHandler","isAwaitingResponse","setIsAwaitingResponse","useState","useCall","useI18n","theme","colors","variants","iconSizes","typefaces","viewerLeaveStreamButton","useTheme","onLeaveStreamButtonPress","leave","error","logger","getLogger","jsxs","Pressable","style","styles","container","backgroundColor","buttonSecondary","onPress","children","jsx","View","icon","height","xs","width","ActivityIndicator","LeaveStreamIcon","Text","text","subtitleBold","color","textPrimary","exports","StyleSheet","create","flexDirection","alignItems","padding","borderRadius","marginLeft","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AAAoD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,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AU,CAACC,MAAM,CAAC;EAC/BpB,SAAS,EAAE;IACTqB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE;EAChB,CAAC;EACDjB,IAAI,EAAE,CAAC,CAAC;EACRO,IAAI,EAAE;IACJW,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _ViewerLeaveStreamButton = require("./ViewerLeaveStreamButton");
|
|
10
10
|
var _contexts = require("../../../contexts");
|
|
11
11
|
var _constants = require("../../../constants");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
/**
|
|
14
15
|
* Props for the ViewerLivestreamControls component.
|
|
@@ -28,18 +29,20 @@ const ViewerLivestreamControls = ({
|
|
|
28
29
|
viewerLivestreamControls
|
|
29
30
|
}
|
|
30
31
|
} = (0, _contexts.useTheme)();
|
|
31
|
-
return /*#__PURE__*/
|
|
32
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
32
33
|
style: [styles.container, {
|
|
33
34
|
backgroundColor: colors.sheetOverlay
|
|
34
35
|
}, viewerLivestreamControls.container],
|
|
35
|
-
onLayout: onLayout
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
onLayout: onLayout,
|
|
37
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
38
|
+
style: [styles.leftElement, viewerLivestreamControls.leftElement],
|
|
39
|
+
children: ViewerLeaveStreamButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(ViewerLeaveStreamButton, {
|
|
40
|
+
onLeaveStreamHandler: onLeaveStreamHandler
|
|
41
|
+
})
|
|
42
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
43
|
+
style: [styles.rightElement, viewerLivestreamControls.rightElement]
|
|
44
|
+
})]
|
|
45
|
+
});
|
|
43
46
|
};
|
|
44
47
|
exports.ViewerLivestreamControls = ViewerLivestreamControls;
|
|
45
48
|
const styles = _reactNative.StyleSheet.create({
|
package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ViewerLeaveStreamButton","_contexts","_constants","e","__esModule","default","ViewerLivestreamControls","ViewerLeaveStreamButton","DefaultViewerLeaveStreamButton","onLeaveStreamHandler","onLayout","theme","colors","viewerLivestreamControls","useTheme","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ViewerLeaveStreamButton","_contexts","_constants","_jsxRuntime","e","__esModule","default","ViewerLivestreamControls","ViewerLeaveStreamButton","DefaultViewerLeaveStreamButton","onLeaveStreamHandler","onLayout","theme","colors","viewerLivestreamControls","useTheme","jsxs","View","style","styles","container","backgroundColor","sheetOverlay","children","jsx","leftElement","rightElement","exports","StyleSheet","create","position","bottom","flexDirection","alignItems","paddingVertical","paddingHorizontal","zIndex","Z_INDEX","IN_FRONT","content","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,wBAAA,GAAAF,OAAA;AAIA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAA6C,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OA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BAAO,CAACC;EAClB,CAAC;EACDC,OAAO,EAAE,CAAC,CAAC;EACXd,WAAW,EAAE;IACXe,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd,CAAC;EACDP,YAAY,EAAE;IACZc,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -11,6 +11,7 @@ var _reactNative = require("react-native");
|
|
|
11
11
|
var _usePaginatedLayoutSortPreset = require("../../../hooks/usePaginatedLayoutSortPreset");
|
|
12
12
|
var _contexts = require("../../../contexts");
|
|
13
13
|
var _Participant = require("../../Participant");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
17
|
/**
|
|
@@ -54,20 +55,21 @@ const LivestreamLayout = ({
|
|
|
54
55
|
const landScapeStyles = {
|
|
55
56
|
flexDirection: landscape ? 'row' : 'column'
|
|
56
57
|
};
|
|
57
|
-
return /*#__PURE__*/
|
|
58
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
58
59
|
style: [styles.container, landScapeStyles, {
|
|
59
60
|
backgroundColor: colors.sheetTertiary
|
|
60
|
-
}, livestreamLayout.container]
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
}, livestreamLayout.container],
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(RemoteVideoTrackDimensionsRenderLessComponent, {
|
|
63
|
+
onDimensionsChange: onDimensionsChange
|
|
64
|
+
}), VideoRenderer && hasOngoingScreenShare && presenter && (presenter.isLocalParticipant && ScreenShareOverlay ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ScreenShareOverlay, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(VideoRenderer, {
|
|
65
|
+
trackType: "screenShareTrack",
|
|
66
|
+
participant: presenter
|
|
67
|
+
})), VideoRenderer && !hasOngoingScreenShare && currentSpeaker && /*#__PURE__*/(0, _jsxRuntime.jsx)(VideoRenderer, {
|
|
68
|
+
participant: currentSpeaker,
|
|
69
|
+
objectFit: objectFitToBeSet,
|
|
70
|
+
trackType: "videoTrack"
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
71
73
|
};
|
|
72
74
|
exports.LivestreamLayout = LivestreamLayout;
|
|
73
75
|
const RemoteVideoTrackDimensionsRenderLessComponent = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_videoClient","_videoReactBindings","_reactNative","_usePaginatedLayoutSortPreset","_contexts","_Participant","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LivestreamLayout","landscape","VideoRenderer","DefaultVideoRenderer","ScreenShareOverlay","useParticipants","useHasOngoingScreenShare","useCallStateHooks","useCall","theme","colors","livestreamLayout","useTheme","participants","currentSpeaker","hasOngoingScreenShare","presenter","find","hasScreenShare","undefined","usePaginatedLayoutSortPreset","objectFit","setObjectFit","useState","objectFitToBeSet","isLocalParticipant","onDimensionsChange","useCallback","d","isWidthWide","width","height","landScapeStyles","flexDirection","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_videoClient","_videoReactBindings","_reactNative","_usePaginatedLayoutSortPreset","_contexts","_Participant","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LivestreamLayout","landscape","VideoRenderer","DefaultVideoRenderer","ScreenShareOverlay","useParticipants","useHasOngoingScreenShare","useCallStateHooks","useCall","theme","colors","livestreamLayout","useTheme","participants","currentSpeaker","hasOngoingScreenShare","presenter","find","hasScreenShare","undefined","usePaginatedLayoutSortPreset","objectFit","setObjectFit","useState","objectFitToBeSet","isLocalParticipant","onDimensionsChange","useCallback","d","isWidthWide","width","height","landScapeStyles","flexDirection","jsxs","View","style","styles","container","backgroundColor","sheetTertiary","children","jsx","RemoteVideoTrackDimensionsRenderLessComponent","trackType","participant","exports","dimension","setDimension","useCallStatsReport","statsReport","highestFrameHeight","subscriberStats","highestFrameWidth","useEffect","StyleSheet","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamLayout/LivestreamLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,6BAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AAG2B,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAE,CA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AAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _ViewerLivestream = require("../ViewerLivestream");
|
|
|
9
9
|
var _videoClient = require("@stream-io/video-client");
|
|
10
10
|
var _StreamCall = require("../../../providers/StreamCall");
|
|
11
11
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
15
|
const LivestreamPlayer = ({
|
|
@@ -52,9 +53,10 @@ const LivestreamPlayer = ({
|
|
|
52
53
|
if (!call) {
|
|
53
54
|
return null;
|
|
54
55
|
}
|
|
55
|
-
return /*#__PURE__*/
|
|
56
|
-
call: call
|
|
57
|
-
|
|
56
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_StreamCall.StreamCall, {
|
|
57
|
+
call: call,
|
|
58
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ViewerLivestream, {})
|
|
59
|
+
});
|
|
58
60
|
};
|
|
59
61
|
exports.LivestreamPlayer = LivestreamPlayer;
|
|
60
62
|
//# sourceMappingURL=LivestreamPlayer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_ViewerLivestream","_videoClient","_StreamCall","_videoReactBindings","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LivestreamPlayer","callType","callId","ViewerLivestream","DefaultViewerLivestream","client","useStreamVideoClient","setCall","useState","useEffect","myCall","join","catch","logger","getLogger","state","callingState","CallingState","LEFT","leave","undefined","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_ViewerLivestream","_videoClient","_StreamCall","_videoReactBindings","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LivestreamPlayer","callType","callId","ViewerLivestream","DefaultViewerLivestream","client","useStreamVideoClient","setCall","useState","useEffect","myCall","join","catch","logger","getLogger","state","callingState","CallingState","LEFT","leave","undefined","jsx","StreamCall","children","exports"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAIA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAAuE,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAM,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,C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xB,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _contexts = require("../../../contexts");
|
|
10
10
|
var _icons = require("../../../icons");
|
|
11
11
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
15
|
/**
|
|
@@ -105,20 +106,23 @@ const DurationBadge = ({
|
|
|
105
106
|
const seconds = durationInMs % 60;
|
|
106
107
|
return `${days ? days + ' ' : ''}${hours ? hours + ':' : ''}${minutes < 10 ? '0' : ''}${minutes}:${seconds < 10 ? '0' : ''}${seconds}`;
|
|
107
108
|
};
|
|
108
|
-
return /*#__PURE__*/
|
|
109
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
109
110
|
style: [styles.container, {
|
|
110
111
|
backgroundColor: colors.sheetTertiary
|
|
111
|
-
}, durationBadge.container]
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
112
|
+
}, durationBadge.container],
|
|
113
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
114
|
+
style: [styles.icon, {
|
|
115
|
+
height: iconSizes.xs,
|
|
116
|
+
width: iconSizes.xs
|
|
117
|
+
}, durationBadge.icon],
|
|
118
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.ShieldBadge, {})
|
|
119
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
120
|
+
style: [styles.label, {
|
|
121
|
+
color: colors.textPrimary
|
|
122
|
+
}, durationBadge.label],
|
|
123
|
+
children: formatDuration(duration)
|
|
124
|
+
})]
|
|
125
|
+
});
|
|
122
126
|
};
|
|
123
127
|
exports.DurationBadge = DurationBadge;
|
|
124
128
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_contexts","_icons","_videoReactBindings","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DurationBadge","mode","useCallSession","useCallStateHooks","session","duration","setDuration","useState","live_started_at","liveStartTime","Date","now","Math","floor","getTime","useCall","theme","colors","variants","iconSizes","durationBadge","useTheme","useEffect","intervalId","handleLiveStarted","setInterval","d","handleLiveEnded","event","callDetails","live_ended_at","clearInterval","callLiveStartedUnsubscribe","on","callUpdatedUnsubscribe","formatDuration","durationInMs","days","hours","minutes","seconds","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_contexts","_icons","_videoReactBindings","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DurationBadge","mode","useCallSession","useCallStateHooks","session","duration","setDuration","useState","live_started_at","liveStartTime","Date","now","Math","floor","getTime","useCall","theme","colors","variants","iconSizes","durationBadge","useTheme","useEffect","intervalId","handleLiveStarted","setInterval","d","handleLiveEnded","event","callDetails","live_ended_at","clearInterval","callLiveStartedUnsubscribe","on","callUpdatedUnsubscribe","formatDuration","durationInMs","days","hours","minutes","seconds","jsxs","View","style","styles","container","backgroundColor","sheetTertiary","children","jsx","icon","height","xs","width","ShieldBadge","Text","label","color","textPrimary","exports","StyleSheet","create","paddingHorizontal","paddingVertical","borderRadius","flexDirection","alignItems","justifyContent","textAlign","fontSize","fontWeight","flexShrink","includeFontPadding","paddingLeft"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/DurationBadge.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAA6E,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAM,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAA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ACnB,CAAC,EACDhC,aAAa,CAAC8B,IAAI,CAClB;MAAAF,QAAA,eAEF,IAAArE,WAAA,CAAAsE,GAAA,EAACxE,MAAA,CAAA6E,WAAW,IAAE;IAAC,CACX,CAAC,eACP,IAAA3E,WAAA,CAAAsE,GAAA,EAAC1E,YAAA,CAAAgF,IAAI;MACHZ,KAAK,EAAE,CACLC,MAAM,CAACY,KAAK,EACZ;QAAEC,KAAK,EAAExC,MAAM,CAACyC;MAAY,CAAC,EAC7BtC,aAAa,CAACoC,KAAK,CACnB;MAAAR,QAAA,EAEDb,cAAc,CAAC9B,QAAQ;IAAC,CACrB,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAACsD,OAAA,CAAA3D,aAAA,GAAAA,aAAA;AAEF,MAAM4C,MAAM,GAAGgB,uBAAU,CAACC,MAAM,CAAC;EAC/BhB,SAAS,EAAE;IACTiB,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,YAAY,EAAE,CAAC;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDjB,IAAI,EAAE,CAAC,CAAC;EACRM,KAAK,EAAE;IACLY,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE,KAAK;IACzBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _contexts = require("../../../contexts");
|
|
10
10
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
11
11
|
var _icons = require("../../../icons");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
/**
|
|
14
15
|
* Props for the FollowerCount component.
|
|
@@ -31,20 +32,23 @@ const FollowerCount = ({}) => {
|
|
|
31
32
|
useParticipantCount
|
|
32
33
|
} = (0, _videoReactBindings.useCallStateHooks)();
|
|
33
34
|
const totalParticipants = useParticipantCount();
|
|
34
|
-
return /*#__PURE__*/
|
|
35
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
35
36
|
style: [styles.container, {
|
|
36
37
|
backgroundColor: colors.sheetTertiary
|
|
37
|
-
}, followerCount.container]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
}, followerCount.container],
|
|
39
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
40
|
+
style: [styles.icon, {
|
|
41
|
+
height: iconSizes.xs,
|
|
42
|
+
width: iconSizes.xs
|
|
43
|
+
}, followerCount.icon],
|
|
44
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Eye, {})
|
|
45
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
46
|
+
style: [styles.label, {
|
|
47
|
+
color: colors.textPrimary
|
|
48
|
+
}, followerCount.label],
|
|
49
|
+
children: totalParticipants
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
48
52
|
};
|
|
49
53
|
exports.FollowerCount = FollowerCount;
|
|
50
54
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_videoReactBindings","_icons","e","__esModule","default","FollowerCount","theme","colors","variants","iconSizes","followerCount","useTheme","useParticipantCount","useCallStateHooks","totalParticipants","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_videoReactBindings","_icons","_jsxRuntime","e","__esModule","default","FollowerCount","theme","colors","variants","iconSizes","followerCount","useTheme","useParticipantCount","useCallStateHooks","totalParticipants","jsxs","View","style","styles","container","backgroundColor","sheetTertiary","children","jsx","icon","height","xs","width","Eye","Text","label","color","textPrimary","exports","StyleSheet","create","paddingHorizontal","paddingVertical","borderTopRightRadius","borderBottomRightRadius","flexDirection","alignItems","justifyContent","fontSize","fontWeight","flexShrink","textAlign","includeFontPadding","marginLeft"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/FollowerCount.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAAqC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAErC;AACA;AACA;;AAGA;AACA;AACA;AACO,MAAMG,aAAa,GAAGA,CAAC,CAAqB,CAAC,KAAK;EACvD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC;IACF;EACF,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAoB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EACnD,MAAMC,iBAAiB,GAAGF,mBAAmB,CAAC,CAAC;EAC/C,oBACE,IAAAX,WAAA,CAAAc,IAAA,EAAClB,YAAA,CAAAmB,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEb,MAAM,CAACc;IAAc,CAAC,EACzCX,aAAa,CAACS,SAAS,CACvB;IAAAG,QAAA,gBAEF,IAAArB,WAAA,CAAAsB,GAAA,EAAC1B,YAAA,CAAAmB,IAAI;MACHC,KAAK,EAAE,CACLC,MAAM,CAACM,IAAI,EACX;QAAEC,MAAM,EAAEhB,SAAS,CAACiB,EAAE;QAAEC,KAAK,EAAElB,SAAS,CAACiB;MAAG,CAAC,EAC7ChB,aAAa,CAACc,IAAI,CAClB;MAAAF,QAAA,eAEF,IAAArB,WAAA,CAAAsB,GAAA,EAACvB,MAAA,CAAA4B,GAAG,IAAE;IAAC,CACH,CAAC,eACP,IAAA3B,WAAA,CAAAsB,GAAA,EAAC1B,YAAA,CAAAgC,IAAI;MACHZ,KAAK,EAAE,CACLC,MAAM,CAACY,KAAK,EACZ;QAAEC,KAAK,EAAExB,MAAM,CAACyB;MAAY,CAAC,EAC7BtB,aAAa,CAACoB,KAAK,CACnB;MAAAR,QAAA,EAEDR;IAAiB,CACd,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAACmB,OAAA,CAAA5B,aAAA,GAAAA,aAAA;AAEF,MAAMa,MAAM,GAAGgB,uBAAU,CAACC,MAAM,CAAC;EAC/BhB,SAAS,EAAE;IACTiB,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,oBAAoB,EAAE,CAAC;IACvBC,uBAAuB,EAAE,CAAC;IAC1BC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDlB,IAAI,EAAE,CAAC,CAAC;EACRM,KAAK,EAAE;IACLa,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE,QAAQ;IACnBC,kBAAkB,EAAE,KAAK;IACzBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -12,6 +12,7 @@ var _FollowerCount = require("./FollowerCount");
|
|
|
12
12
|
var _contexts = require("../../../contexts");
|
|
13
13
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
14
14
|
var _constants = require("../../../constants");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
17
|
/**
|
|
17
18
|
* Props for the HostLivestreamTopView component.
|
|
@@ -39,22 +40,26 @@ const HostLivestreamTopView = ({
|
|
|
39
40
|
hostLivestreamTopView
|
|
40
41
|
}
|
|
41
42
|
} = (0, _contexts.useTheme)();
|
|
42
|
-
return /*#__PURE__*/
|
|
43
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
43
44
|
style: [styles.container, {
|
|
44
45
|
backgroundColor: colors.sheetOverlay
|
|
45
46
|
}, hostLivestreamTopView.container],
|
|
46
|
-
onLayout: onLayout
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
onLayout: onLayout,
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
49
|
+
style: [styles.leftElement, hostLivestreamTopView.leftElement],
|
|
50
|
+
children: DurationBadge && /*#__PURE__*/(0, _jsxRuntime.jsx)(DurationBadge, {
|
|
51
|
+
mode: "host"
|
|
52
|
+
})
|
|
53
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
54
|
+
style: [styles.centerElement, hostLivestreamTopView.centerElement]
|
|
55
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
56
|
+
style: [styles.rightElement, hostLivestreamTopView.rightElement],
|
|
57
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
58
|
+
style: [styles.liveInfo, hostLivestreamTopView.liveInfo],
|
|
59
|
+
children: [liveOrBroadcasting && LiveIndicator && /*#__PURE__*/(0, _jsxRuntime.jsx)(LiveIndicator, {}), FollowerCount && /*#__PURE__*/(0, _jsxRuntime.jsx)(FollowerCount, {})]
|
|
60
|
+
})
|
|
61
|
+
})]
|
|
62
|
+
});
|
|
58
63
|
};
|
|
59
64
|
exports.HostLivestreamTopView = HostLivestreamTopView;
|
|
60
65
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_DurationBadge","_LiveIndicator","_FollowerCount","_contexts","_videoReactBindings","_constants","e","__esModule","default","HostLivestreamTopView","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","onLayout","useIsCallLive","useIsCallHLSBroadcastingInProgress","useCallStateHooks","isCallLive","isBroadcasting","liveOrBroadcasting","theme","colors","hostLivestreamTopView","useTheme","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_DurationBadge","_LiveIndicator","_FollowerCount","_contexts","_videoReactBindings","_constants","_jsxRuntime","e","__esModule","default","HostLivestreamTopView","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","onLayout","useIsCallLive","useIsCallHLSBroadcastingInProgress","useCallStateHooks","isCallLive","isBroadcasting","liveOrBroadcasting","theme","colors","hostLivestreamTopView","useTheme","jsxs","View","style","styles","container","backgroundColor","sheetOverlay","children","jsx","leftElement","mode","centerElement","rightElement","liveInfo","exports","StyleSheet","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","Z_INDEX","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAIA,IAAAG,cAAA,GAAAH,OAAA;AAIA,IAAAI,cAAA,GAAAJ,OAAA;AAIA,IAAAK,S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AAE;EACd,CAAC;EACDR,YAAY,EAAE;IACZgB,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -8,6 +8,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _contexts = require("../../../contexts");
|
|
10
10
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
/**
|
|
13
14
|
* Props for the LiveIndicator component.
|
|
@@ -27,15 +28,17 @@ const LiveIndicator = ({}) => {
|
|
|
27
28
|
const {
|
|
28
29
|
t
|
|
29
30
|
} = (0, _videoReactBindings.useI18n)();
|
|
30
|
-
return /*#__PURE__*/
|
|
31
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
31
32
|
style: [styles.container, {
|
|
32
33
|
backgroundColor: colors.buttonPrimary
|
|
33
|
-
}, liveIndicator.container]
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
}, liveIndicator.container],
|
|
35
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
36
|
+
style: [styles.label, {
|
|
37
|
+
color: colors.textPrimary
|
|
38
|
+
}, typefaces.subtitleBold, liveIndicator.label],
|
|
39
|
+
children: t('Live')
|
|
40
|
+
})
|
|
41
|
+
});
|
|
39
42
|
};
|
|
40
43
|
exports.LiveIndicator = LiveIndicator;
|
|
41
44
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_videoReactBindings","e","__esModule","default","LiveIndicator","theme","colors","typefaces","liveIndicator","useTheme","t","useI18n","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_videoReactBindings","_jsxRuntime","e","__esModule","default","LiveIndicator","theme","colors","typefaces","liveIndicator","useTheme","t","useI18n","jsx","View","style","styles","container","backgroundColor","buttonPrimary","children","Text","label","color","textPrimary","subtitleBold","exports","StyleSheet","create","paddingHorizontal","paddingVertical","borderTopLeftRadius","borderBottomLeftRadius","justifyContent","textAlign","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/LiveIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAA0D,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AAGA;AACA;AACA;AACO,MAAMG,aAAa,GAAGA,CAAC,CAAqB,CAAC,KAAK;EACvD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAc;EAC5C,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,oBACE,IAAAX,WAAA,CAAAY,GAAA,EAACf,YAAA,CAAAgB,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEX,MAAM,CAACY;IAAc,CAAC,EACzCV,aAAa,CAACQ,SAAS,CACvB;IAAAG,QAAA,eAEF,IAAAnB,WAAA,CAAAY,GAAA,EAACf,YAAA,CAAAuB,IAAI;MACHN,KAAK,EAAE,CACLC,MAAM,CAACM,KAAK,EACZ;QAAEC,KAAK,EAAEhB,MAAM,CAACiB;MAAY,CAAC,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