@zezosoft/zezo-ott-react-native-ui-kit 1.0.2 → 1.0.4
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/LICENSE +0 -0
- package/README.md +6 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
- package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
- package/lib/module/assets/animations/heart.json +788 -0
- package/lib/module/assets/animations/succesfull-payment.json +2379 -1
- package/lib/module/assets/animations/voice-icon.json +542 -1
- package/lib/module/components/Account/Account.js +6 -6
- package/lib/module/components/Account/Account.js.map +1 -1
- package/lib/module/components/Account/index.js +1 -1
- package/lib/module/components/Account/index.js.map +1 -1
- package/lib/module/components/Alert/UAAlert.js +138 -0
- package/lib/module/components/Alert/UAAlert.js.map +1 -0
- package/lib/module/components/Alert/index.js +4 -0
- package/lib/module/components/Alert/index.js.map +1 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/OTP/OTP.js +9 -9
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +267 -0
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +178 -0
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/Auth/index.js +9 -7
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +4 -10
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/BlogView/index.js +1 -1
- package/lib/module/components/BlogView/index.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +1 -1
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/MenuBtn.js +1 -1
- package/lib/module/components/Button/MenuBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +2 -2
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +2 -2
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Button/index.js +3 -3
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +2 -2
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +2 -2
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +4 -4
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +4 -4
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +4 -4
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +5 -5
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +4 -4
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
- package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
- package/lib/module/components/Content/Card/index.js +10 -10
- package/lib/module/components/Content/Card/index.js.map +1 -1
- package/lib/module/components/Content/Content.js +4 -4
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +2 -2
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/ContentView.js +8 -9
- package/lib/module/components/ContentView/ContentView.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +6 -6
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/AboutSection.js +2 -2
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +2 -2
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/components/PlayButton.js +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js +1 -1
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
- package/lib/module/components/ContentView/index.js +2 -2
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +3 -3
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/One.js +3 -3
- package/lib/module/components/Headers/One.js.map +1 -1
- package/lib/module/components/Headers/Three.js +2 -2
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +6 -7
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -3
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +3 -3
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputOne.js +1 -1
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Input/InputTwo.js +1 -1
- package/lib/module/components/Input/InputTwo.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +1 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +2 -2
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js +110 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +216 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +182 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +203 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +121 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +290 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/types.js +2 -0
- package/lib/module/components/Reels/ReelsSeries/types.js.map +1 -0
- package/lib/module/components/Reels/index.js +11 -0
- package/lib/module/components/Reels/index.js.map +1 -0
- package/lib/module/components/Search/One.js +9 -9
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +3 -3
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Search/index.js +2 -2
- package/lib/module/components/Search/index.js.map +1 -1
- package/lib/module/components/Settings/AppSettings.js +4 -4
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Settings/index.js +1 -1
- package/lib/module/components/Settings/index.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +4 -4
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Subscription/index.js +1 -1
- package/lib/module/components/Subscription/index.js.map +1 -1
- package/lib/module/components/TabBar/One.js +2 -2
- package/lib/module/components/TabBar/One.js.map +1 -1
- package/lib/module/components/TabBar/Three.js +1 -1
- package/lib/module/components/TabBar/Three.js.map +1 -1
- package/lib/module/components/TabBar/Two.js +2 -2
- package/lib/module/components/TabBar/Two.js.map +1 -1
- package/lib/module/components/TabBar/index.js +3 -3
- package/lib/module/components/TabBar/index.js.map +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/Text/index.js +1 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +11 -3
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +258 -0
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +1 -1
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +11 -16
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/User/index.js +5 -4
- package/lib/module/components/User/index.js.map +1 -1
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/View/index.js +1 -1
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/components/index.js +20 -18
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
- package/lib/module/components/layout/index.js +1 -1
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/store/RecentSearchesStore.js.map +1 -1
- package/lib/module/store/splashStore.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +24 -18
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/useTheme.js +2 -2
- package/lib/module/theme/hook/useTheme.js.map +1 -1
- package/lib/module/theme/index.js +3 -2
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/theme/themes.js +2 -13
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/utils/Formater.js +17 -0
- package/lib/module/utils/Formater.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +0 -1
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
- package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
- package/lib/typescript/src/components/Alert/index.d.ts +2 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts +32 -0
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts +15 -0
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/index.d.ts +2 -1
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +9 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +18 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +18 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +24 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +8 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +2 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +27 -0
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/User/index.d.ts +2 -1
- package/lib/typescript/src/components/User/index.d.ts.map +1 -1
- package/lib/typescript/src/components/View/View.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +2 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
- package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
- package/lib/typescript/src/store/splashStore.d.ts +5 -3
- package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/index.d.ts +5 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +12 -4
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
- package/lib/typescript/src/utils/Formater.d.ts +2 -0
- package/lib/typescript/src/utils/Formater.d.ts.map +1 -0
- package/package.json +175 -70
- package/src/Styles/globalStyles.ts +18 -18
- package/src/assets/animations/135037-payment-processing-error.json +1347 -1
- package/src/assets/animations/7227-vui-animation.json +3377 -1
- package/src/assets/animations/heart.json +788 -0
- package/src/assets/animations/succesfull-payment.json +2379 -1
- package/src/assets/animations/voice-icon.json +542 -1
- package/src/components/Account/Account.tsx +139 -61
- package/src/components/Alert/UAAlert.tsx +168 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
- package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
- package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
- package/src/components/Auth/OTP/OTP.tsx +77 -32
- package/src/components/Auth/QrLogin/QrLogin.tsx +306 -0
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +213 -0
- package/src/components/Auth/SignUp/SignUp.tsx +67 -32
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
- package/src/components/Auth/index.ts +3 -1
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
- package/src/components/BlogView/BlogView.tsx +51 -31
- package/src/components/Button/BackBtn.tsx +31 -9
- package/src/components/Button/MenuBtn.tsx +61 -22
- package/src/components/Button/PrimaryBtn.tsx +30 -10
- package/src/components/Button/TextButton.tsx +30 -15
- package/src/components/Button/index.ts +1 -1
- package/src/components/Content/Card/Category/Category.tsx +73 -32
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
- package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
- package/src/components/Content/Card/Sliders/index.ts +2 -2
- package/src/components/Content/Card/Styles/Five.tsx +65 -22
- package/src/components/Content/Card/Styles/Four.tsx +73 -23
- package/src/components/Content/Card/Styles/One.tsx +68 -21
- package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
- package/src/components/Content/Card/Styles/Six.tsx +57 -19
- package/src/components/Content/Card/Styles/Three.tsx +59 -23
- package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
- package/src/components/Content/Card/Styles/Two.tsx +39 -18
- package/src/components/Content/Card/components/CardPoster.tsx +34 -32
- package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
- package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
- package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
- package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
- package/src/components/Content/Card/index.ts +2 -2
- package/src/components/Content/Content.tsx +41 -17
- package/src/components/Content/Sections.tsx +14 -8
- package/src/components/ContentView/ContentView.tsx +34 -27
- package/src/components/ContentView/MoreContentList.tsx +40 -18
- package/src/components/ContentView/components/AboutSection.tsx +30 -12
- package/src/components/ContentView/components/CastCard.tsx +65 -24
- package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
- package/src/components/ContentView/components/GenreTags.tsx +35 -11
- package/src/components/ContentView/components/HeroBanner.tsx +52 -21
- package/src/components/ContentView/components/PlayButton.tsx +13 -5
- package/src/components/ContentView/components/Title.tsx +30 -10
- package/src/components/ContentView/components/TrailerButton.tsx +16 -7
- package/src/components/Headers/AppHeader.tsx +41 -15
- package/src/components/Headers/One.tsx +19 -10
- package/src/components/Headers/Three.tsx +22 -7
- package/src/components/Headers/Two.tsx +25 -14
- package/src/components/Headers/index.ts +1 -1
- package/src/components/Input/Input.ts +1 -1
- package/src/components/Input/InputOne.tsx +69 -23
- package/src/components/Input/InputTwo.tsx +41 -18
- package/src/components/Input/PhoneNumberInput.tsx +94 -48
- package/src/components/Keyboard/HideKeyboard.tsx +16 -10
- package/src/components/Loader/Loader.tsx +3 -8
- package/src/components/Logo/Logo.tsx +17 -9
- package/src/components/Reels/ReelsSeries/Model/Episodes.tsx +133 -0
- package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +249 -0
- package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +209 -0
- package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +185 -0
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +163 -0
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +333 -0
- package/src/components/Reels/ReelsSeries/types.ts +27 -0
- package/src/components/Reels/index.ts +8 -0
- package/src/components/Search/One.tsx +46 -17
- package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
- package/src/components/Search/components/SearchCard.tsx +34 -16
- package/src/components/Search/index.ts +1 -1
- package/src/components/Settings/AppSettings.tsx +80 -29
- package/src/components/Subscription/SubOne.tsx +84 -39
- package/src/components/Subscription/index.ts +1 -1
- package/src/components/TabBar/One.tsx +22 -18
- package/src/components/TabBar/Three.tsx +55 -19
- package/src/components/TabBar/Two.tsx +16 -12
- package/src/components/TabBar/index.ts +1 -1
- package/src/components/Text/Text.tsx +7 -3
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +104 -38
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +265 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
- package/src/components/User/WatchLater/WatchLater.tsx +94 -31
- package/src/components/User/components/UserAvatar.tsx +8 -4
- package/src/components/User/components/UserSection.tsx +39 -27
- package/src/components/User/index.ts +3 -1
- package/src/components/View/View.tsx +11 -2
- package/src/components/index.ts +2 -0
- package/src/components/layout/SafeAreaWrapper.tsx +10 -4
- package/src/constants/dummySections.ts +9 -7
- package/src/hooks/useDebounce.ts +4 -1
- package/src/hooks/useInitSplashCacheSync.ts +46 -18
- package/src/hooks/useKeyboard.ts +5 -3
- package/src/hooks/usePaginatedSection.ts +11 -7
- package/src/store/RecentSearchesStore.ts +12 -7
- package/src/store/splashStore.ts +16 -16
- package/src/theme/ThemeProvider.tsx +57 -24
- package/src/theme/hook/useTheme.ts +7 -3
- package/src/theme/index.ts +6 -0
- package/src/theme/themes.ts +45 -31
- package/src/types/content/content-view.types.ts +4 -1
- package/src/types/hook/usePaginatedSetion.ts +1 -1
- package/src/utils/Formater.ts +14 -0
- package/lib/module/components/Icons/AlertIcon.js +0 -33
- package/lib/module/components/Icons/AlertIcon.js.map +0 -1
- package/lib/module/components/Icons/DeviceIcon.js +0 -25
- package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
- package/lib/module/components/Icons/NewIndex.js +0 -36
- package/lib/module/components/Icons/NewIndex.js.map +0 -1
- package/lib/module/components/Icons/ResendOTP.js +0 -21
- package/lib/module/components/Icons/ResendOTP.js.map +0 -1
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
- package/src/components/Icons/AlertIcon.tsx +0 -18
- package/src/components/Icons/DeviceIcon.tsx +0 -18
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
- package/src/components/Icons/NewIndex.ts +0 -35
- package/src/components/Icons/ResendOTP.tsx +0 -13
- /package/lib/module/assets/{img → svg}/h.svg +0 -0
- /package/src/assets/{img → svg}/h.svg +0 -0
- /package/src/{index.ts → index.tsx} +0 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
import { View, Text, TouchableOpacity, Image, StyleSheet, Dimensions } from 'react-native';
|
|
5
|
+
import Modal from 'react-native-modal';
|
|
6
|
+
import LinearGradient from 'react-native-linear-gradient';
|
|
7
|
+
import { X } from 'lucide-react-native';
|
|
8
|
+
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
9
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
10
|
+
import Episodes from "./Model/Episodes.js";
|
|
11
|
+
import Synopsis from "./Model/Synopsis.js";
|
|
12
|
+
import { formatCount } from "../../../utils/Formater.js";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
const {
|
|
15
|
+
height
|
|
16
|
+
} = Dimensions.get('window');
|
|
17
|
+
const ReelSeriesDetailsModal = ({
|
|
18
|
+
visible,
|
|
19
|
+
onClose,
|
|
20
|
+
reel,
|
|
21
|
+
data,
|
|
22
|
+
activeEpisodeIndex,
|
|
23
|
+
onEpisodeSelect
|
|
24
|
+
}) => {
|
|
25
|
+
const [activeTab, setActiveTab] = useState('synopsis');
|
|
26
|
+
const [routes] = useState([{
|
|
27
|
+
key: 'synopsis',
|
|
28
|
+
title: 'Synopsis'
|
|
29
|
+
}, {
|
|
30
|
+
key: 'episodes',
|
|
31
|
+
title: 'Episodes'
|
|
32
|
+
}]);
|
|
33
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
34
|
+
isVisible: visible,
|
|
35
|
+
onBackdropPress: onClose,
|
|
36
|
+
swipeDirection: "down",
|
|
37
|
+
onSwipeComplete: onClose,
|
|
38
|
+
backdropOpacity: 0.5,
|
|
39
|
+
style: {
|
|
40
|
+
margin: 0,
|
|
41
|
+
justifyContent: 'flex-end'
|
|
42
|
+
},
|
|
43
|
+
propagateSwipe: true,
|
|
44
|
+
children: /*#__PURE__*/_jsxs(LinearGradient, {
|
|
45
|
+
colors: ['rgba(103,85,35,1)', 'rgba(21,21,21,1)'],
|
|
46
|
+
style: styles.bottomSheetContainer,
|
|
47
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
48
|
+
style: styles.dragHandle
|
|
49
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
50
|
+
onPress: onClose,
|
|
51
|
+
style: styles.closeButtonWrapper,
|
|
52
|
+
children: /*#__PURE__*/_jsx(X, {
|
|
53
|
+
size: moderateScale(16),
|
|
54
|
+
color: '#fff'
|
|
55
|
+
})
|
|
56
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
57
|
+
style: styles.headerRow,
|
|
58
|
+
children: [/*#__PURE__*/_jsx(Image, {
|
|
59
|
+
source: {
|
|
60
|
+
uri: data.thumbnail
|
|
61
|
+
},
|
|
62
|
+
style: styles.reelPosterImage
|
|
63
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
64
|
+
style: {
|
|
65
|
+
flex: 1
|
|
66
|
+
},
|
|
67
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
68
|
+
style: styles.reelTitleText,
|
|
69
|
+
children: data.title
|
|
70
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
71
|
+
style: styles.reelDescriptionText,
|
|
72
|
+
numberOfLines: 3,
|
|
73
|
+
children: data.description
|
|
74
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
75
|
+
style: styles.reelViewsText,
|
|
76
|
+
children: [formatCount(data.views || 0), " Views"]
|
|
77
|
+
})]
|
|
78
|
+
})]
|
|
79
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
80
|
+
style: {
|
|
81
|
+
flexDirection: 'row',
|
|
82
|
+
// justifyContent: 'space-around',
|
|
83
|
+
marginTop: verticalScale(10)
|
|
84
|
+
},
|
|
85
|
+
children: routes.map(item => /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
86
|
+
style: {
|
|
87
|
+
borderBottomColor: 'white',
|
|
88
|
+
borderBottomWidth: activeTab === routes.find(r => r.key === item.key)?.key ? 2 : 0,
|
|
89
|
+
paddingBottom: 6,
|
|
90
|
+
marginHorizontal: 12
|
|
91
|
+
},
|
|
92
|
+
onPress: () => {
|
|
93
|
+
const tab = routes.find(r => r.key === item.key)?.key;
|
|
94
|
+
tab && setActiveTab(tab);
|
|
95
|
+
},
|
|
96
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
97
|
+
style: {
|
|
98
|
+
color: 'white',
|
|
99
|
+
fontSize: RFValue(11),
|
|
100
|
+
fontWeight: '700',
|
|
101
|
+
opacity: activeTab === routes.find(r => r.key === item.key)?.key ? 1 : 0.6
|
|
102
|
+
},
|
|
103
|
+
children: item.title
|
|
104
|
+
})
|
|
105
|
+
}, item.key))
|
|
106
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
107
|
+
style: {
|
|
108
|
+
flex: 1,
|
|
109
|
+
marginTop: verticalScale(8),
|
|
110
|
+
marginHorizontal: 12
|
|
111
|
+
},
|
|
112
|
+
children: [activeTab === 'synopsis' && /*#__PURE__*/_jsx(Synopsis, {
|
|
113
|
+
reel: reel,
|
|
114
|
+
data: data
|
|
115
|
+
}), activeTab === 'episodes' && /*#__PURE__*/_jsx(Episodes, {
|
|
116
|
+
reel: reel,
|
|
117
|
+
data: data,
|
|
118
|
+
currentReel: activeEpisodeIndex,
|
|
119
|
+
onEpisodeSelect: onEpisodeSelect
|
|
120
|
+
})]
|
|
121
|
+
})]
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
export default ReelSeriesDetailsModal;
|
|
126
|
+
const styles = StyleSheet.create({
|
|
127
|
+
bottomSheetContainer: {
|
|
128
|
+
height: height * 0.9,
|
|
129
|
+
borderTopLeftRadius: moderateScale(20),
|
|
130
|
+
borderTopRightRadius: moderateScale(20),
|
|
131
|
+
overflow: 'hidden',
|
|
132
|
+
paddingTop: verticalScale(10)
|
|
133
|
+
},
|
|
134
|
+
dragHandle: {
|
|
135
|
+
width: moderateScale(50),
|
|
136
|
+
height: verticalScale(5),
|
|
137
|
+
borderRadius: moderateScale(3),
|
|
138
|
+
backgroundColor: 'rgba(255,255,255,0.5)',
|
|
139
|
+
alignSelf: 'center',
|
|
140
|
+
marginBottom: verticalScale(10)
|
|
141
|
+
},
|
|
142
|
+
closeButtonWrapper: {
|
|
143
|
+
position: 'absolute',
|
|
144
|
+
top: verticalScale(10),
|
|
145
|
+
right: moderateScale(14),
|
|
146
|
+
zIndex: 10,
|
|
147
|
+
borderRadius: moderateScale(18),
|
|
148
|
+
width: moderateScale(30),
|
|
149
|
+
height: moderateScale(30),
|
|
150
|
+
justifyContent: 'center',
|
|
151
|
+
alignItems: 'center',
|
|
152
|
+
backgroundColor: 'rgba(255,255,255,0.26)'
|
|
153
|
+
},
|
|
154
|
+
headerRow: {
|
|
155
|
+
flexDirection: 'row',
|
|
156
|
+
paddingHorizontal: moderateScale(16),
|
|
157
|
+
marginBottom: verticalScale(10)
|
|
158
|
+
},
|
|
159
|
+
reelPosterImage: {
|
|
160
|
+
width: moderateScale(80),
|
|
161
|
+
height: verticalScale(100),
|
|
162
|
+
borderRadius: moderateScale(8),
|
|
163
|
+
marginRight: moderateScale(12)
|
|
164
|
+
},
|
|
165
|
+
reelTitleText: {
|
|
166
|
+
fontSize: RFValue(14),
|
|
167
|
+
fontWeight: '600',
|
|
168
|
+
color: '#fff'
|
|
169
|
+
},
|
|
170
|
+
reelDescriptionText: {
|
|
171
|
+
fontSize: RFValue(10),
|
|
172
|
+
color: 'rgba(215,215,215,1)',
|
|
173
|
+
marginBottom: verticalScale(4),
|
|
174
|
+
marginTop: verticalScale(3.5)
|
|
175
|
+
},
|
|
176
|
+
reelViewsText: {
|
|
177
|
+
fontSize: RFValue(10),
|
|
178
|
+
color: 'rgba(215,215,215,1)',
|
|
179
|
+
marginTop: verticalScale(2)
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
//# sourceMappingURL=ReelSeriesDetailsModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","View","Text","TouchableOpacity","Image","StyleSheet","Dimensions","Modal","LinearGradient","X","moderateScale","verticalScale","RFValue","Episodes","Synopsis","formatCount","jsx","_jsx","jsxs","_jsxs","height","get","ReelSeriesDetailsModal","visible","onClose","reel","data","activeEpisodeIndex","onEpisodeSelect","activeTab","setActiveTab","routes","key","title","isVisible","onBackdropPress","swipeDirection","onSwipeComplete","backdropOpacity","style","margin","justifyContent","propagateSwipe","children","colors","styles","bottomSheetContainer","dragHandle","onPress","closeButtonWrapper","size","color","headerRow","source","uri","thumbnail","reelPosterImage","flex","reelTitleText","reelDescriptionText","numberOfLines","description","reelViewsText","views","flexDirection","marginTop","map","item","borderBottomColor","borderBottomWidth","find","r","paddingBottom","marginHorizontal","tab","fontSize","fontWeight","opacity","currentReel","create","borderTopLeftRadius","borderTopRightRadius","overflow","paddingTop","width","borderRadius","backgroundColor","alignSelf","marginBottom","position","top","right","zIndex","alignItems","paddingHorizontal","marginRight"],"sourceRoot":"../../../../../src","sources":["components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,IAAI,EACJC,IAAI,EACJC,gBAAgB,EAChBC,KAAK,EACLC,UAAU,EACVC,UAAU,QACL,cAAc;AACrB,OAAOC,KAAK,MAAM,oBAAoB;AACtC,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SAASC,CAAC,QAAQ,qBAAqB;AACvC,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,OAAOC,QAAQ,MAAM,qBAAkB;AACvC,OAAOC,QAAQ,MAAM,qBAAkB;AAEvC,SAASC,WAAW,QAAQ,4BAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEtD,MAAM;EAAEC;AAAO,CAAC,GAAGd,UAAU,CAACe,GAAG,CAAC,QAAQ,CAAC;AAW3C,MAAMC,sBAA6D,GAAGA,CAAC;EACrEC,OAAO;EACPC,OAAO;EACPC,IAAI;EACJC,IAAI;EACJC,kBAAkB;EAClBC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAG9B,QAAQ,CACxC,UACF,CAAC;EACD,MAAM,CAAC+B,MAAM,CAAC,GAAG/B,QAAQ,CAKvB,CACA;IAAEgC,GAAG,EAAE,UAAU;IAAEC,KAAK,EAAE;EAAW,CAAC,EACtC;IAAED,GAAG,EAAE,UAAU;IAAEC,KAAK,EAAE;EAAW,CAAC,CACvC,CAAC;EAEF,oBACEhB,IAAA,CAACV,KAAK;IACJ2B,SAAS,EAAEX,OAAQ;IACnBY,eAAe,EAAEX,OAAQ;IACzBY,cAAc,EAAC,MAAM;IACrBC,eAAe,EAAEb,OAAQ;IACz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|
4
|
+
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
5
|
+
import { Heart, Forward, ChevronRight, ListVideo } from 'lucide-react-native';
|
|
6
|
+
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
7
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const ReelSeriesOverlay = ({
|
|
10
|
+
data,
|
|
11
|
+
currentTime,
|
|
12
|
+
duration,
|
|
13
|
+
onLikePress,
|
|
14
|
+
onEpisodesPress,
|
|
15
|
+
onSharePress,
|
|
16
|
+
activeEpisodeIndex
|
|
17
|
+
}) => {
|
|
18
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
19
|
+
style: styles.overlay,
|
|
20
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
21
|
+
style: styles.rightIcons,
|
|
22
|
+
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
23
|
+
style: styles.iconBox,
|
|
24
|
+
onPress: onLikePress,
|
|
25
|
+
activeOpacity: 0.7,
|
|
26
|
+
children: [/*#__PURE__*/_jsx(Heart, {
|
|
27
|
+
size: moderateScale(25),
|
|
28
|
+
color: data.isLiked ? 'red' : '#fff',
|
|
29
|
+
fill: data.isLiked ? 'red' : 'none'
|
|
30
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
31
|
+
style: [styles.iconLabel, {
|
|
32
|
+
color: '#fff'
|
|
33
|
+
}],
|
|
34
|
+
children: data.likes
|
|
35
|
+
})]
|
|
36
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
37
|
+
style: styles.iconBox,
|
|
38
|
+
onPress: onEpisodesPress,
|
|
39
|
+
children: [/*#__PURE__*/_jsx(ListVideo, {
|
|
40
|
+
color: '#fff',
|
|
41
|
+
size: moderateScale(25)
|
|
42
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
43
|
+
style: [styles.iconLabel, {
|
|
44
|
+
color: '#fff'
|
|
45
|
+
}],
|
|
46
|
+
children: "Episodes"
|
|
47
|
+
})]
|
|
48
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
49
|
+
style: styles.iconBox,
|
|
50
|
+
onPress: onSharePress,
|
|
51
|
+
children: [/*#__PURE__*/_jsx(Forward, {
|
|
52
|
+
color: '#fff',
|
|
53
|
+
size: moderateScale(25)
|
|
54
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
55
|
+
style: [styles.iconLabel, {
|
|
56
|
+
color: '#fff'
|
|
57
|
+
}],
|
|
58
|
+
children: "Share"
|
|
59
|
+
})]
|
|
60
|
+
})]
|
|
61
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
62
|
+
style: styles.titleBox,
|
|
63
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
64
|
+
style: [styles.title, {
|
|
65
|
+
color: '#fff'
|
|
66
|
+
}],
|
|
67
|
+
children: data.title.length <= 25 ? data.title : data.title.slice(0, 25) + '...'
|
|
68
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
69
|
+
numberOfLines: 2,
|
|
70
|
+
style: [styles.description, {
|
|
71
|
+
color: '#fff',
|
|
72
|
+
marginTop: 2.5,
|
|
73
|
+
opacity: 0.9
|
|
74
|
+
}],
|
|
75
|
+
children: data.description
|
|
76
|
+
})]
|
|
77
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
78
|
+
style: [styles.episodesRow, {
|
|
79
|
+
backgroundColor: 'rgba(0,0,0,0.5)'
|
|
80
|
+
}],
|
|
81
|
+
onPress: onEpisodesPress,
|
|
82
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
83
|
+
style: styles.bottomLeft,
|
|
84
|
+
children: [/*#__PURE__*/_jsx(ListVideo, {
|
|
85
|
+
color: '#fff',
|
|
86
|
+
width: moderateScale(20),
|
|
87
|
+
height: moderateScale(20)
|
|
88
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
89
|
+
style: [styles.episodes, {
|
|
90
|
+
color: '#fff'
|
|
91
|
+
}],
|
|
92
|
+
children: [activeEpisodeIndex + 1, " / ", data.episodes.length, " Episodes"]
|
|
93
|
+
})]
|
|
94
|
+
}), /*#__PURE__*/_jsx(ChevronRight, {
|
|
95
|
+
color: '#fff',
|
|
96
|
+
size: moderateScale(22)
|
|
97
|
+
})]
|
|
98
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
99
|
+
style: styles.progressBar,
|
|
100
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
101
|
+
style: [styles.progressFill, {
|
|
102
|
+
width: duration > 0 ? `${currentTime / duration * 100}%` : '0%'
|
|
103
|
+
}]
|
|
104
|
+
}), duration > 0 && /*#__PURE__*/_jsx(View, {
|
|
105
|
+
style: [styles.progressKnob, {
|
|
106
|
+
left: `${currentTime / duration * 100}%`
|
|
107
|
+
}]
|
|
108
|
+
})]
|
|
109
|
+
})]
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
export default ReelSeriesOverlay;
|
|
113
|
+
const styles = StyleSheet.create({
|
|
114
|
+
overlay: {
|
|
115
|
+
flex: 1,
|
|
116
|
+
justifyContent: 'flex-end',
|
|
117
|
+
paddingBottom: verticalScale(12),
|
|
118
|
+
paddingHorizontal: moderateScale(12)
|
|
119
|
+
},
|
|
120
|
+
centerPlayPauseButton: {
|
|
121
|
+
position: 'absolute',
|
|
122
|
+
top: '50%',
|
|
123
|
+
left: '50%',
|
|
124
|
+
transform: [{
|
|
125
|
+
translateX: -25
|
|
126
|
+
}, {
|
|
127
|
+
translateY: -25
|
|
128
|
+
}],
|
|
129
|
+
width: moderateScale(50),
|
|
130
|
+
height: moderateScale(50),
|
|
131
|
+
borderRadius: moderateScale(25),
|
|
132
|
+
justifyContent: 'center',
|
|
133
|
+
alignItems: 'center',
|
|
134
|
+
zIndex: 5
|
|
135
|
+
},
|
|
136
|
+
rightIcons: {
|
|
137
|
+
position: 'absolute',
|
|
138
|
+
bottom: verticalScale(120),
|
|
139
|
+
right: moderateScale(10),
|
|
140
|
+
alignItems: 'center'
|
|
141
|
+
},
|
|
142
|
+
iconBox: {
|
|
143
|
+
marginVertical: verticalScale(8),
|
|
144
|
+
alignItems: 'center'
|
|
145
|
+
},
|
|
146
|
+
iconLabel: {
|
|
147
|
+
fontSize: RFValue(10),
|
|
148
|
+
marginTop: verticalScale(4)
|
|
149
|
+
},
|
|
150
|
+
titleBox: {
|
|
151
|
+
marginBottom: verticalScale(10)
|
|
152
|
+
},
|
|
153
|
+
following: {
|
|
154
|
+
fontSize: RFValue(10),
|
|
155
|
+
fontWeight: '500'
|
|
156
|
+
},
|
|
157
|
+
title: {
|
|
158
|
+
fontSize: RFValue(13),
|
|
159
|
+
fontWeight: '500'
|
|
160
|
+
},
|
|
161
|
+
description: {
|
|
162
|
+
fontSize: RFValue(10)
|
|
163
|
+
},
|
|
164
|
+
episodesRow: {
|
|
165
|
+
flexDirection: 'row',
|
|
166
|
+
justifyContent: 'space-between',
|
|
167
|
+
alignItems: 'center',
|
|
168
|
+
borderRadius: moderateScale(8),
|
|
169
|
+
paddingHorizontal: moderateScale(12),
|
|
170
|
+
paddingVertical: verticalScale(8),
|
|
171
|
+
marginBottom: verticalScale(6)
|
|
172
|
+
},
|
|
173
|
+
bottomLeft: {
|
|
174
|
+
flexDirection: 'row',
|
|
175
|
+
alignItems: 'center'
|
|
176
|
+
},
|
|
177
|
+
episodes: {
|
|
178
|
+
fontSize: RFValue(13),
|
|
179
|
+
marginLeft: moderateScale(10)
|
|
180
|
+
},
|
|
181
|
+
progressBar: {
|
|
182
|
+
height: verticalScale(2),
|
|
183
|
+
backgroundColor: 'rgba(255, 255, 255, 0.3)',
|
|
184
|
+
borderRadius: moderateScale(1)
|
|
185
|
+
},
|
|
186
|
+
progressFill: {
|
|
187
|
+
height: '100%',
|
|
188
|
+
backgroundColor: '#fff',
|
|
189
|
+
borderRadius: moderateScale(1)
|
|
190
|
+
},
|
|
191
|
+
progressKnob: {
|
|
192
|
+
position: 'absolute',
|
|
193
|
+
top: -verticalScale(2),
|
|
194
|
+
width: moderateScale(7),
|
|
195
|
+
height: moderateScale(7),
|
|
196
|
+
borderRadius: moderateScale(5),
|
|
197
|
+
backgroundColor: '#fff',
|
|
198
|
+
transform: [{
|
|
199
|
+
translateX: -5
|
|
200
|
+
}]
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
//# sourceMappingURL=ReelSeriesOverlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","TouchableOpacity","StyleSheet","Heart","Forward","ChevronRight","ListVideo","moderateScale","verticalScale","RFValue","jsx","_jsx","jsxs","_jsxs","ReelSeriesOverlay","data","currentTime","duration","onLikePress","onEpisodesPress","onSharePress","activeEpisodeIndex","style","styles","overlay","children","rightIcons","iconBox","onPress","activeOpacity","size","color","isLiked","fill","iconLabel","likes","titleBox","title","length","slice","numberOfLines","description","marginTop","opacity","episodesRow","backgroundColor","bottomLeft","width","height","episodes","progressBar","progressFill","progressKnob","left","create","flex","justifyContent","paddingBottom","paddingHorizontal","centerPlayPauseButton","position","top","transform","translateX","translateY","borderRadius","alignItems","zIndex","bottom","right","marginVertical","fontSize","marginBottom","following","fontWeight","flexDirection","paddingVertical","marginLeft"],"sourceRoot":"../../../../../src","sources":["components/Reels/ReelsSeries/ReelSeriesOverlay.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,cAAc;AACvE,SAASC,KAAK,EAAEC,OAAO,EAAEC,YAAY,EAAEC,SAAS,QAAQ,qBAAqB;AAC7E,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAkB3D,MAAMC,iBAAoD,GAAGA,CAAC;EAC5DC,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back, useRef, useMemo } from 'react';
|
|
4
|
+
import { FlatList, Dimensions, StyleSheet, View, TouchableOpacity } from 'react-native';
|
|
5
|
+
import { debounce } from 'lodash';
|
|
6
|
+
import ReelsSeriesItem from "./ReelsSeriesItem.js";
|
|
7
|
+
import { verticalScale } from 'react-native-size-matters';
|
|
8
|
+
import { Search } from 'lucide-react-native';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const {
|
|
11
|
+
height
|
|
12
|
+
} = Dimensions.get('window');
|
|
13
|
+
const TAB_BAR_HEIGHT = verticalScale(65);
|
|
14
|
+
const SCREEN_HEIGHT = height - TAB_BAR_HEIGHT;
|
|
15
|
+
export const ReelsSeries = ({
|
|
16
|
+
data,
|
|
17
|
+
autoScroll,
|
|
18
|
+
onEndReached,
|
|
19
|
+
onLikePress,
|
|
20
|
+
onEpisodesPress,
|
|
21
|
+
onSharePress,
|
|
22
|
+
onSearchPress,
|
|
23
|
+
isFocused = true
|
|
24
|
+
}) => {
|
|
25
|
+
const [currentVisibleIndex, setCurrentVisibleIndex] = useState(0);
|
|
26
|
+
const listRef = useRef(null);
|
|
27
|
+
const keyExtractor = useCallback(item => item.episodeId.toString(), []);
|
|
28
|
+
const hendlePlayEpisode = useCallback(index => {
|
|
29
|
+
if (index < 0 || index >= (data.episodes?.length || 0)) return;
|
|
30
|
+
listRef.current?.scrollToIndex({
|
|
31
|
+
index,
|
|
32
|
+
animated: true
|
|
33
|
+
});
|
|
34
|
+
setCurrentVisibleIndex(index);
|
|
35
|
+
}, [data.episodes]);
|
|
36
|
+
const renderReelList = useCallback(({
|
|
37
|
+
item,
|
|
38
|
+
index
|
|
39
|
+
}) => {
|
|
40
|
+
return /*#__PURE__*/_jsx(ReelsSeriesItem, {
|
|
41
|
+
reel: item,
|
|
42
|
+
data: data,
|
|
43
|
+
videoHeight: SCREEN_HEIGHT,
|
|
44
|
+
onLikePress: onLikePress,
|
|
45
|
+
onEpisodesPress: () => onEpisodesPress?.(item.episodeId),
|
|
46
|
+
onSharePress: () => onSharePress?.(item.episodeId),
|
|
47
|
+
isVisible: index === currentVisibleIndex && isFocused,
|
|
48
|
+
activeEpisodeIndex: currentVisibleIndex,
|
|
49
|
+
preload: Math.abs(currentVisibleIndex + 3) >= index,
|
|
50
|
+
onEpisodeSelect: hendlePlayEpisode,
|
|
51
|
+
autoScroll: autoScroll
|
|
52
|
+
}, item.episodeId);
|
|
53
|
+
}, [data, onLikePress, currentVisibleIndex, isFocused, hendlePlayEpisode, autoScroll, onEpisodesPress, onSharePress]);
|
|
54
|
+
const memoizedRenderReelList = useMemo(() => renderReelList, [renderReelList]);
|
|
55
|
+
const viewabilityConfig = useRef({
|
|
56
|
+
itemVisiblePercentThreshold: 80
|
|
57
|
+
}).current;
|
|
58
|
+
const onViewableItemsChanged = useRef(debounce(({
|
|
59
|
+
viewableItems
|
|
60
|
+
}) => {
|
|
61
|
+
if (viewableItems.length > 0) {
|
|
62
|
+
setCurrentVisibleIndex(viewableItems[0]?.index || 0);
|
|
63
|
+
}
|
|
64
|
+
}, 100)).current;
|
|
65
|
+
const getItemLayout = useCallback((_, index) => ({
|
|
66
|
+
length: SCREEN_HEIGHT,
|
|
67
|
+
offset: SCREEN_HEIGHT * index,
|
|
68
|
+
index
|
|
69
|
+
}), []);
|
|
70
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
71
|
+
style: [styles.container, {
|
|
72
|
+
backgroundColor: '#000'
|
|
73
|
+
}],
|
|
74
|
+
children: [onSearchPress && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
75
|
+
style: [styles.fixedSearch, {
|
|
76
|
+
top: verticalScale(40),
|
|
77
|
+
right: 16
|
|
78
|
+
}],
|
|
79
|
+
onPress: onSearchPress,
|
|
80
|
+
children: /*#__PURE__*/_jsx(Search, {
|
|
81
|
+
color: '#fff',
|
|
82
|
+
size: verticalScale(22)
|
|
83
|
+
})
|
|
84
|
+
}), /*#__PURE__*/_jsx(FlatList, {
|
|
85
|
+
ref: listRef,
|
|
86
|
+
data: data.episodes || [],
|
|
87
|
+
keyExtractor: keyExtractor,
|
|
88
|
+
renderItem: memoizedRenderReelList,
|
|
89
|
+
windowSize: 2,
|
|
90
|
+
onEndReached: onEndReached,
|
|
91
|
+
pagingEnabled: true,
|
|
92
|
+
viewabilityConfig: viewabilityConfig,
|
|
93
|
+
disableIntervalMomentum: true,
|
|
94
|
+
removeClippedSubviews: true,
|
|
95
|
+
maxToRenderPerBatch: 2,
|
|
96
|
+
onViewableItemsChanged: onViewableItemsChanged,
|
|
97
|
+
initialNumToRender: 1,
|
|
98
|
+
onEndReachedThreshold: 0.1,
|
|
99
|
+
decelerationRate: "fast",
|
|
100
|
+
showsVerticalScrollIndicator: false,
|
|
101
|
+
scrollEventThrottle: 16,
|
|
102
|
+
snapToInterval: SCREEN_HEIGHT,
|
|
103
|
+
snapToAlignment: "start",
|
|
104
|
+
getItemLayout: getItemLayout,
|
|
105
|
+
contentContainerStyle: {
|
|
106
|
+
paddingBottom: TAB_BAR_HEIGHT
|
|
107
|
+
}
|
|
108
|
+
})]
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
export default ReelsSeries;
|
|
112
|
+
const styles = StyleSheet.create({
|
|
113
|
+
container: {
|
|
114
|
+
flex: 1
|
|
115
|
+
},
|
|
116
|
+
fixedSearch: {
|
|
117
|
+
position: 'absolute',
|
|
118
|
+
zIndex: 10
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
//# sourceMappingURL=ReelsSeries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","useRef","useMemo","FlatList","Dimensions","StyleSheet","View","TouchableOpacity","debounce","ReelsSeriesItem","verticalScale","Search","jsx","_jsx","jsxs","_jsxs","height","get","TAB_BAR_HEIGHT","SCREEN_HEIGHT","ReelsSeries","data","autoScroll","onEndReached","onLikePress","onEpisodesPress","onSharePress","onSearchPress","isFocused","currentVisibleIndex","setCurrentVisibleIndex","listRef","keyExtractor","item","episodeId","toString","hendlePlayEpisode","index","episodes","length","current","scrollToIndex","animated","renderReelList","reel","videoHeight","isVisible","activeEpisodeIndex","preload","Math","abs","onEpisodeSelect","memoizedRenderReelList","viewabilityConfig","itemVisiblePercentThreshold","onViewableItemsChanged","viewableItems","getItemLayout","_","offset","style","styles","container","backgroundColor","children","fixedSearch","top","right","onPress","color","size","ref","renderItem","windowSize","pagingEnabled","disableIntervalMomentum","removeClippedSubviews","maxToRenderPerBatch","initialNumToRender","onEndReachedThreshold","decelerationRate","showsVerticalScrollIndicator","scrollEventThrottle","snapToInterval","snapToAlignment","contentContainerStyle","paddingBottom","create","flex","position","zIndex"],"sourceRoot":"../../../../../src","sources":["components/Reels/ReelsSeries/ReelsSeries.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,EAAEC,MAAM,EAAEC,OAAO,QAAQ,OAAO;AACrE,SACEC,QAAQ,EACRC,UAAU,EACVC,UAAU,EACVC,IAAI,EACJC,gBAAgB,QAEX,cAAc;AACrB,SAASC,QAAQ,QAAQ,QAAQ;AACjC,OAAOC,eAAe,MAAM,sBAAmB;AAC/C,SAASC,aAAa,QAAQ,2BAA2B;AACzD,SAASC,MAAM,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAG7C,MAAM;EAAEC;AAAO,CAAC,GAAGZ,UAAU,CAACa,GAAG,CAAC,QAAQ,CAAC;AAC3C,MAAMC,cAAc,GAAGR,aAAa,CAAC,EAAE,CAAC;AACxC,MAAMS,aAAa,GAAGH,MAAM,GAAGE,cAAc;AAa7C,OAAO,MAAME,WAAiC,GAAGA,CAAC;EAChDC,IAAI;EACJC,UAAU;EACVC,YAAY;EACZC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,aAAa;EACbC,SAAS,GAAG;AACd,CAAC,KAAK;EACJ,MAAM,CAACC,mBAAmB,EAAEC,sB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