@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.5
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/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +25 -0
- package/lib/module/components/Auth/One/index.js.map +1 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
- package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/Two/index.js +29 -0
- package/lib/module/components/Auth/Two/index.js.map +1 -0
- package/lib/module/components/Auth/index.js +7 -22
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +1 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +16 -6
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +88 -13
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +3 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +132 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +127 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +126 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +207 -115
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +119 -94
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +145 -64
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +4 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +90 -33
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +41 -11
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/Content/types.js +4 -0
- package/lib/module/components/Content/types.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +1 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
- package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Details.js +156 -0
- package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Title.js +146 -0
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/index.js +18 -0
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
- package/lib/module/components/ContentView/index.js +6 -1
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/Four.js +68 -0
- package/lib/module/components/Headers/Four.js.map +1 -0
- package/lib/module/components/Headers/Three.js +75 -24
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -1
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +5 -1
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +157 -0
- package/lib/module/components/Input/InputThree.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
- package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +14 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -17
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
- package/lib/module/components/NewRelease/index.js +4 -0
- package/lib/module/components/NewRelease/index.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
- package/lib/module/components/Reels/index.js +1 -0
- package/lib/module/components/Reels/index.js.map +1 -1
- package/lib/module/components/Search/One.js +7 -4
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +59 -7
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +2 -1
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +47 -5
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -0
- package/lib/module/hooks/Images/index.js.map +1 -0
- package/lib/module/hooks/Images/useImageLoader.js +168 -0
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
- package/lib/module/hooks/Images/useImageValidation.js +36 -0
- package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +270 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -0
- package/lib/module/hooks/useCards.js +164 -0
- package/lib/module/hooks/useCards.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +11 -6
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/useSplashCache.js +78 -60
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +14 -2
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/index.js +0 -1
- package/lib/module/theme/hook/index.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +21 -7
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/themes.js +2 -0
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/validateColor.js +84 -0
- package/lib/module/theme/utils/validateColor.js.map +1 -0
- package/lib/module/utils/colorUtils.js +68 -0
- package/lib/module/utils/colorUtils.js.map +1 -0
- package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +447 -232
- 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/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
- 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/Three.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -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 +13 -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 +15 -3
- 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 +13 -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 +1 -0
- 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 +13 -5
- 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 +1 -0
- 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 +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
- 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 +3 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +2 -51
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +149 -0
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +2 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- 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/common/AppStatusBar.d.ts +1 -0
- package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +8 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +3 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCards.d.ts +36 -0
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +1 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +7 -4
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +13 -4
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
- package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
- package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
- package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
- package/src/components/Auth/One/OTP/OTP.tsx +465 -0
- package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
- package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
- package/src/components/Auth/One/index.ts +24 -0
- package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
- package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
- package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
- package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
- package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
- package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
- package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
- package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
- package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
- package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
- package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
- package/src/components/Auth/Two/index.ts +28 -0
- package/src/components/Auth/index.ts +7 -22
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
- package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
- package/src/components/BottomSheet/BottomSheet.tsx +6 -1
- package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/PrimaryBtn.tsx +10 -2
- package/src/components/Content/Card/Category/Category.tsx +104 -10
- package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
- package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
- package/src/components/Content/Card/Sliders/index.ts +2 -0
- package/src/components/Content/Card/Styles/Five.tsx +162 -62
- package/src/components/Content/Card/Styles/Four.tsx +165 -85
- package/src/components/Content/Card/Styles/One.tsx +162 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +160 -162
- package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
- package/src/components/Content/Card/Styles/Two.tsx +183 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +250 -151
- package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +103 -119
- package/src/components/Content/Sections.tsx +51 -45
- package/src/components/Content/types.ts +176 -0
- package/src/components/ContentView/MoreContentList.tsx +1 -0
- package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
- package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
- package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
- package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
- package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
- package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
- package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
- package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
- package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
- package/src/components/ContentView/Two/components/Details.tsx +193 -0
- package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
- package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
- package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
- package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
- package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
- package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
- package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
- package/src/components/ContentView/Two/components/Title.tsx +226 -0
- package/src/components/ContentView/Two/components/index.ts +15 -0
- package/src/components/ContentView/index.ts +7 -1
- package/src/components/Headers/Four.tsx +83 -0
- package/src/components/Headers/Three.tsx +88 -25
- package/src/components/Headers/index.ts +2 -0
- package/src/components/Input/Input.ts +4 -0
- package/src/components/Input/InputThree.tsx +212 -0
- package/src/components/Input/PhoneNumberInput.tsx +4 -2
- package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
- package/src/components/Loader/Loader.tsx +25 -9
- package/src/components/Logo/Logo.tsx +53 -34
- package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
- package/src/components/NewRelease/index.ts +1 -0
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
- package/src/components/Reels/ReelsSeries/types.ts +16 -0
- package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
- package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
- package/src/components/Reels/index.ts +1 -0
- package/src/components/Search/One.tsx +8 -5
- package/src/components/Search/components/SearchCard.tsx +68 -11
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
- package/src/components/User/WatchLater/WatchLater.tsx +1 -0
- package/src/components/common/AppStatusBar.tsx +7 -1
- package/src/components/index.ts +1 -0
- package/src/constants/dummySections.ts +54 -3
- package/src/hooks/Images/index.ts +2 -0
- package/src/hooks/Images/useImageLoader.ts +206 -0
- package/src/hooks/Images/useImageValidation.ts +36 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/usePaginatedSection.ts +26 -7
- package/src/hooks/useSplashCache.ts +88 -69
- package/src/theme/ThemeProvider.tsx +15 -2
- package/src/theme/hook/index.ts +0 -1
- package/src/theme/hook/useInternalTheme.ts +22 -13
- package/src/theme/themes.ts +3 -0
- package/src/theme/utils/validateColor.ts +127 -0
- package/src/types/content/content-view.types.ts +43 -1
- package/src/types/sections/index.ts +7 -4
- package/src/utils/colorUtils.ts +70 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
- package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
- package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
- package/lib/module/components/ContentView/ContentView.js.map +0 -1
- package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/components/Title.js.map +0 -1
- package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
- package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","View","Text","TouchableOpacity","StyleSheet","BottomSheet","Animated","FadeIn","FadeOut","moderateScale","verticalScale","RFValue","QualityControl","SpeedControl","jsx","_jsx","jsxs","_jsxs","SettingModal","theme","speed","quality","
|
|
1
|
+
{"version":3,"names":["React","useState","View","Text","TouchableOpacity","StyleSheet","BottomSheet","Animated","FadeIn","FadeOut","moderateScale","verticalScale","RFValue","QualityControl","SpeedControl","jsx","_jsx","jsxs","_jsxs","SettingModal","theme","speed","quality","qualities","qualitiesLoading","onSpeedChange","onQualityChange","isVisible","onClose","activeTab","setActiveTab","handleSelect","callback","value","setTimeout","title","height","visible","handleIndicatorStyle","backgroundColor","colors","button","children","style","styles","tabContainer","map","tab","isActive","borderBottomWidth","borderBottomColor","textPrimary","onPress","tabText","color","opacity","contentContainer","entering","duration","exiting","animatedContent","activeSpeed","activeQuality","loading","create","flexDirection","paddingHorizontal","marginTop","flex","alignItems","paddingBottom","marginHorizontal","fontSize","fontWeight","width","minHeight"],"sourceRoot":"../../../../../../src","sources":["components/Reels/ReelsSeries/Model/SettingModal.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU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A,eAE9B1B,IAAA,CAACH,cAAc;UACbiD,aAAa,EAAExC,OAAQ;UACvBF,KAAK,EAAEA,KAAM;UACbG,SAAS,EAAEA,SAAU;UACrBwC,OAAO,EAAEvC,gBAAiB;UAC1BE,eAAe,EAAGO,KAAK,IAAKF,YAAY,CAACL,eAAe,EAAEO,KAAK;QAAE,CAClE;MAAC,CACW,CAChB;IAAA,CACG,CAAC;EAAA,CACI,CAAC;AAElB,CAAC;AAED,eAAed,YAAY;AAE3B,MAAMyB,MAAM,GAAGvC,UAAU,CAAC2D,MAAM,CAAC;EAC/BnB,YAAY,EAAE;IACZoB,aAAa,EAAE,KAAK;IACpBC,iBAAiB,EAAExD,aAAa,CAAC,EAAE,CAAC;IACpCyD,SAAS,EAAExD,aAAa,CAAC,EAAE;EAC7B,CAAC;EACDoC,GAAG,EAAE;IACHqB,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE,CAAC;IAChBC,gBAAgB,EAAE7D,aAAa,CAAC,EAAE;EACpC,CAAC;EACD2C,OAAO,EAAE;IACPmB,QAAQ,EAAE5D,OAAO,CAAC,EAAE,CAAC;IACrB6D,UAAU,EAAE;EACd,CAAC;EACDjB,gBAAgB,EAAE;IAChBY,IAAI,EAAE,CAAC;IACPD,SAAS,EAAExD,aAAa,CAAC,EAAE,CAAC;IAC5BuD,iBAAiB,EAAExD,aAAa,CAAC,EAAE;EACrC,CAAC;EACDkD,eAAe,EAAE;IACfc,KAAK,EAAE,MAAM;IACbC,SAAS,EAAEhE,aAAa,CAAC,GAAG;EAC9B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useRef, useMemo } from 'react';
|
|
4
|
-
import { FlatList,
|
|
5
|
-
import { debounce } from 'lodash';
|
|
6
|
-
import ReelsSeriesItem from "./ReelsSeriesItem.js";
|
|
7
|
-
import { verticalScale } from 'react-native-size-matters';
|
|
4
|
+
import { FlatList, StyleSheet } from 'react-native';
|
|
8
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
6
|
+
import ReelsSeriesItem from "./ReelsSeriesItem.js";
|
|
9
7
|
import { useInternalTheme } from "../../../theme/hook/index.js";
|
|
10
8
|
import { View } from "../../View/index.js";
|
|
11
|
-
import
|
|
9
|
+
import Display from "../../../utils/Display.js";
|
|
10
|
+
import { AppStatusBar } from "../../common/AppStatusBar.js";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
const {
|
|
13
|
-
height
|
|
14
|
-
} =
|
|
15
|
-
const PRELOAD_RANGE =
|
|
16
|
-
const VIEWABILITY_THRESHOLD = 80;
|
|
17
|
-
const DEBOUNCE_DELAY = 100;
|
|
13
|
+
fullHeight: height
|
|
14
|
+
} = Display;
|
|
15
|
+
const PRELOAD_RANGE = 1;
|
|
18
16
|
export const ReelsSeries = ({
|
|
19
17
|
data,
|
|
20
18
|
autoScroll,
|
|
@@ -25,21 +23,34 @@ export const ReelsSeries = ({
|
|
|
25
23
|
onSearchPress,
|
|
26
24
|
onBackPress,
|
|
27
25
|
isFocused = true,
|
|
28
|
-
tabBarHeight,
|
|
26
|
+
tabBarHeight: _tabBarHeight,
|
|
27
|
+
// kept for backward compatibility, not used in height calc
|
|
29
28
|
isFullScreen = false,
|
|
30
29
|
theme: overrideTheme,
|
|
31
|
-
onEpisodeUnlockPress
|
|
30
|
+
onEpisodeUnlockPress,
|
|
31
|
+
onViewCount,
|
|
32
|
+
onWatchProgress
|
|
32
33
|
}) => {
|
|
33
34
|
const {
|
|
34
35
|
theme
|
|
35
36
|
} = useInternalTheme(overrideTheme);
|
|
36
|
-
const insets = useSafeAreaInsets();
|
|
37
37
|
const [currentVisibleIndex, setCurrentVisibleIndex] = useState(0);
|
|
38
|
+
const [layoutHeight, setLayoutHeight] = useState(height);
|
|
38
39
|
const listRef = useRef(null);
|
|
40
|
+
const insets = useSafeAreaInsets();
|
|
39
41
|
|
|
40
42
|
// Computed values
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
// Match container layout height when available, otherwise fall back to full
|
|
44
|
+
// window height. In full-screen, subtract bottom inset so content isn't
|
|
45
|
+
// hidden behind system UI.
|
|
46
|
+
const ITEM_HEIGHT = useMemo(() => {
|
|
47
|
+
const baseHeight = layoutHeight ?? height;
|
|
48
|
+
if (!isFullScreen) {
|
|
49
|
+
return baseHeight;
|
|
50
|
+
}
|
|
51
|
+
const bottomInset = insets.bottom ?? 0;
|
|
52
|
+
return Math.max(0, baseHeight - bottomInset);
|
|
53
|
+
}, [layoutHeight, isFullScreen, insets.bottom]);
|
|
43
54
|
const backgroundColor = useMemo(() => isFullScreen ? theme.colors.black : theme.colors.background, [isFullScreen, theme.colors.black, theme.colors.background]);
|
|
44
55
|
|
|
45
56
|
// Flatten all episodes from all series items and track which series they belong to
|
|
@@ -65,6 +76,17 @@ export const ReelsSeries = ({
|
|
|
65
76
|
});
|
|
66
77
|
setCurrentVisibleIndex(index);
|
|
67
78
|
}, [flattenedEpisodes]);
|
|
79
|
+
const handleAutoScrollNext = useCallback(() => {
|
|
80
|
+
const nextIndex = currentVisibleIndex + 1;
|
|
81
|
+
if (nextIndex >= flattenedEpisodes.length) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
listRef.current?.scrollToIndex({
|
|
85
|
+
index: nextIndex,
|
|
86
|
+
animated: true
|
|
87
|
+
});
|
|
88
|
+
setCurrentVisibleIndex(nextIndex);
|
|
89
|
+
}, [currentVisibleIndex, flattenedEpisodes.length]);
|
|
68
90
|
const renderReelList = useCallback(({
|
|
69
91
|
item,
|
|
70
92
|
index
|
|
@@ -82,7 +104,7 @@ export const ReelsSeries = ({
|
|
|
82
104
|
return /*#__PURE__*/_jsx(ReelsSeriesItem, {
|
|
83
105
|
reel: episode,
|
|
84
106
|
data: seriesData,
|
|
85
|
-
videoHeight:
|
|
107
|
+
videoHeight: ITEM_HEIGHT,
|
|
86
108
|
onLikePress: onLikePress,
|
|
87
109
|
onEpisodesPress: () => onEpisodesPress?.(item.episodeId),
|
|
88
110
|
onSharePress: () => onSharePress?.(item.episodeId),
|
|
@@ -90,39 +112,50 @@ export const ReelsSeries = ({
|
|
|
90
112
|
activeEpisodeIndex: currentVisibleIndex,
|
|
91
113
|
preload: preload,
|
|
92
114
|
onEpisodeSelect: handlePlayEpisode,
|
|
115
|
+
onAutoScrollNext: handleAutoScrollNext,
|
|
116
|
+
isFullScreen: isFullScreen,
|
|
93
117
|
autoScroll: autoScroll,
|
|
94
118
|
theme: theme,
|
|
95
119
|
onBackPress: onBackPress,
|
|
96
120
|
onSearchPress: onSearchPress,
|
|
97
|
-
onEpisodeUnlockPress: onEpisodeUnlockPress
|
|
121
|
+
onEpisodeUnlockPress: onEpisodeUnlockPress,
|
|
122
|
+
onViewCount: onViewCount,
|
|
123
|
+
onWatchProgress: onWatchProgress
|
|
98
124
|
});
|
|
99
|
-
}, [data, currentVisibleIndex, isFocused,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
125
|
+
}, [data, currentVisibleIndex, isFocused, ITEM_HEIGHT, onLikePress, handlePlayEpisode, isFullScreen, autoScroll, theme, onBackPress, onSearchPress, onEpisodeUnlockPress, onEpisodesPress, onSharePress, onViewCount, onWatchProgress, handleAutoScrollNext]);
|
|
126
|
+
const getItemLayout = useCallback((_, index) => {
|
|
127
|
+
const itemHeight = ITEM_HEIGHT;
|
|
128
|
+
return {
|
|
129
|
+
length: itemHeight,
|
|
130
|
+
offset: itemHeight * index,
|
|
131
|
+
index
|
|
132
|
+
};
|
|
133
|
+
}, [ITEM_HEIGHT]);
|
|
134
|
+
const handleMomentumScrollEnd = useCallback(event => {
|
|
135
|
+
const itemHeight = ITEM_HEIGHT || 1;
|
|
136
|
+
const offsetY = event.nativeEvent.contentOffset.y;
|
|
137
|
+
const index = Math.round(offsetY / itemHeight);
|
|
138
|
+
if (index !== currentVisibleIndex && index >= 0 && index < flattenedEpisodes.length) {
|
|
139
|
+
setCurrentVisibleIndex(index);
|
|
111
140
|
}
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
length: SCREEN_HEIGHT,
|
|
115
|
-
offset: SCREEN_HEIGHT * index,
|
|
116
|
-
index
|
|
117
|
-
}), [SCREEN_HEIGHT]);
|
|
118
|
-
return /*#__PURE__*/_jsx(View, {
|
|
141
|
+
}, [ITEM_HEIGHT, currentVisibleIndex, flattenedEpisodes.length]);
|
|
142
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
119
143
|
style: styles.mainContainer,
|
|
120
144
|
backgroundColor: backgroundColor,
|
|
121
|
-
children: /*#__PURE__*/_jsx(
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
145
|
+
children: [/*#__PURE__*/_jsx(AppStatusBar, {
|
|
146
|
+
theme: overrideTheme,
|
|
147
|
+
transparent: true
|
|
148
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
149
|
+
style: [styles.container, isFullScreen && insets.bottom ? {
|
|
150
|
+
paddingBottom: insets.bottom
|
|
151
|
+
} : null],
|
|
125
152
|
backgroundColor: backgroundColor,
|
|
153
|
+
onLayout: event => {
|
|
154
|
+
const h = event.nativeEvent.layout.height;
|
|
155
|
+
if (h && h > 0 && h !== layoutHeight) {
|
|
156
|
+
setLayoutHeight(h);
|
|
157
|
+
}
|
|
158
|
+
},
|
|
126
159
|
children: /*#__PURE__*/_jsx(FlatList, {
|
|
127
160
|
ref: listRef,
|
|
128
161
|
data: flattenedEpisodes,
|
|
@@ -130,21 +163,21 @@ export const ReelsSeries = ({
|
|
|
130
163
|
renderItem: renderReelList,
|
|
131
164
|
onEndReached: onEndReached,
|
|
132
165
|
pagingEnabled: true,
|
|
133
|
-
viewabilityConfig: viewabilityConfig,
|
|
134
166
|
disableIntervalMomentum: true,
|
|
135
167
|
removeClippedSubviews: true,
|
|
168
|
+
windowSize: 5,
|
|
136
169
|
maxToRenderPerBatch: 2,
|
|
137
|
-
|
|
138
|
-
initialNumToRender: 1,
|
|
170
|
+
initialNumToRender: 2,
|
|
139
171
|
onEndReachedThreshold: 0.1,
|
|
140
172
|
decelerationRate: "fast",
|
|
141
173
|
showsVerticalScrollIndicator: false,
|
|
142
|
-
scrollEventThrottle:
|
|
143
|
-
|
|
174
|
+
scrollEventThrottle: 32,
|
|
175
|
+
onMomentumScrollEnd: handleMomentumScrollEnd,
|
|
176
|
+
snapToInterval: ITEM_HEIGHT,
|
|
144
177
|
snapToAlignment: "start",
|
|
145
178
|
getItemLayout: getItemLayout
|
|
146
179
|
})
|
|
147
|
-
})
|
|
180
|
+
})]
|
|
148
181
|
});
|
|
149
182
|
};
|
|
150
183
|
export default ReelsSeries;
|
|
@@ -153,6 +186,7 @@ const styles = StyleSheet.create({
|
|
|
153
186
|
flex: 1
|
|
154
187
|
},
|
|
155
188
|
container: {
|
|
189
|
+
flex: 1,
|
|
156
190
|
overflow: 'hidden'
|
|
157
191
|
}
|
|
158
192
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useCallback","useRef","useMemo","FlatList","
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","useRef","useMemo","FlatList","StyleSheet","useSafeAreaInsets","ReelsSeriesItem","useInternalTheme","View","Display","AppStatusBar","jsx","_jsx","jsxs","_jsxs","fullHeight","height","PRELOAD_RANGE","ReelsSeries","data","autoScroll","onEndReached","onLikePress","onEpisodesPress","onSharePress","onSearchPress","onBackPress","isFocused","tabBarHeight","_tabBarHeight","isFullScreen","theme","overrideTheme","onEpisodeUnlockPress","onViewCount","onWatchProgress","currentVisibleIndex","setCurrentVisibleIndex","layoutHeight","setLayoutHeight","listRef","insets","ITEM_HEIGHT","baseHeight","bottomInset","bottom","Math","max","backgroundColor","colors","black","background","flattenedEpisodes","episodes","forEach","seriesItem","seriesIndex","episode","push","keyExtractor","item","episodeId","toString","handlePlayEpisode","index","findIndex","ep","length","current","scrollToIndex","animated","handleAutoScrollNext","nextIndex","renderReelList","seriesData","isVisible","preload","abs","reel","videoHeight","activeEpisodeIndex","onEpisodeSelect","onAutoScrollNext","getItemLayout","_","itemHeight","offset","handleMomentumScrollEnd","event","offsetY","nativeEvent","contentOffset","y","round","style","styles","mainContainer","children","transparent","container","paddingBottom","onLayout","h","layout","ref","renderItem","pagingEnabled","disableIntervalMomentum","removeClippedSubviews","windowSize","maxToRenderPerBatch","initialNumToRender","onEndReachedThreshold","decelerationRate","showsVerticalScrollIndicator","scrollEventThrottle","onMomentumScrollEnd","snapToInterval","snapToAlignment","create","flex","overflow"],"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,QAGL,cAAc;AACrB,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,OAAOC,eAAe,MAAM,sBAAmB;AAE/C,SAASC,gBAAgB,QAAQ,8BAAqB;AAEtD,SAASC,IAAI,QAAQ,qBAAY;AACjC,OAAOC,OAAO,MAAM,2BAAwB;AAC5C,SAASC,YAAY,QAAQ,8BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACzD,MAAM;EAAEC,UAAU,EAAEC;AAAO,CAAC,GAAGP,OAAO;AACtC,MAAMQ,aAAa,GAAG,CAAC;AAoBvB,OAAO,MAAMC,WAAiC,GAAGA,CAAC;EAChDC,IAAI;EACJC,UAAU;EACVC,YAAY;EACZC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,aAAa;EACbC,WAAW;EACXC,SAAS,GAAG,IAAI;EAChBC,YAAY,EAAEC,aAAa;EAAE;EAC7BC,YAA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nB,MAAMc,CAAC,GAAGd,KAAK,CAACE,WAAW,CAACa,MAAM,CAACvF,MAAM;QACzC,IAAIsF,CAAC,IAAIA,CAAC,GAAG,CAAC,IAAIA,CAAC,KAAKhE,YAAY,EAAE;UACpCC,eAAe,CAAC+D,CAAC,CAAC;QACpB;MACF,CAAE;MAAAL,QAAA,eAEFrF,IAAA,CAACT,QAAQ;QACPqG,GAAG,EAAEhE,OAAQ;QACbrB,IAAI,EAAEiC,iBAAkB;QACxBO,YAAY,EAAEA,YAAa;QAC3B8C,UAAU,EAAEhC,cAAe;QAC3BpD,YAAY,EAAEA,YAAa;QAC3BqF,aAAa;QACbC,uBAAuB;QACvBC,qBAAqB;QACrBC,UAAU,EAAE,CAAE;QACdC,mBAAmB,EAAE,CAAE;QACvBC,kBAAkB,EAAE,CAAE;QACtBC,qBAAqB,EAAE,GAAI;QAC3BC,gBAAgB,EAAC,MAAM;QACvBC,4BAA4B,EAAE,KAAM;QACpCC,mBAAmB,EAAE,EAAG;QACxBC,mBAAmB,EAAE7B,uBAAwB;QAC7C8B,cAAc,EAAE3E,WAAY;QAC5B4E,eAAe,EAAC,OAAO;QACvBnC,aAAa,EAAEA;MAAc,CAC9B;IAAC,CACE,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAED,eAAejE,WAAW;AAE1B,MAAM6E,MAAM,GAAG3F,UAAU,CAACmH,MAAM,CAAC;EAC/BvB,aAAa,EAAE;IACbwB,IAAI,EAAE;EACR,CAAC;EACDrB,SAAS,EAAE;IACTqB,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -13,6 +13,7 @@ const INITIAL_MODAL_STATE = {
|
|
|
13
13
|
type: 'none',
|
|
14
14
|
isVisible: false
|
|
15
15
|
};
|
|
16
|
+
const MIN_VIEW_DURATION_SEC = 5;
|
|
16
17
|
const ReelItem = ({
|
|
17
18
|
reel,
|
|
18
19
|
data,
|
|
@@ -22,13 +23,17 @@ const ReelItem = ({
|
|
|
22
23
|
onSharePress,
|
|
23
24
|
onBackPress,
|
|
24
25
|
isVisible,
|
|
26
|
+
isFullScreen,
|
|
25
27
|
preload,
|
|
26
28
|
activeEpisodeIndex,
|
|
27
29
|
onEpisodeSelect,
|
|
28
30
|
onSearchPress,
|
|
29
31
|
onLikeMorePress,
|
|
30
32
|
onEpisodeUnlockPress,
|
|
31
|
-
|
|
33
|
+
onViewCount,
|
|
34
|
+
theme,
|
|
35
|
+
onWatchProgress,
|
|
36
|
+
onAutoScrollNext
|
|
32
37
|
}) => {
|
|
33
38
|
// State
|
|
34
39
|
const [buffering, setBuffering] = useState(true);
|
|
@@ -42,13 +47,15 @@ const ReelItem = ({
|
|
|
42
47
|
const [duration, setDuration] = useState(0);
|
|
43
48
|
const [playbackRate, setPlaybackRate] = useState(1);
|
|
44
49
|
const [videoQuality, setVideoQuality] = useState('Auto');
|
|
45
|
-
const [isLiked, setIsLiked] = useState(data.isLiked);
|
|
46
|
-
const [likesCount, setLikesCount] = useState(data.likes);
|
|
50
|
+
const [isLiked, setIsLiked] = useState(() => Boolean(data.isLiked));
|
|
51
|
+
const [likesCount, setLikesCount] = useState(() => Number(data.likes) || 0);
|
|
47
52
|
const [hasError, setHasError] = useState(false);
|
|
48
53
|
|
|
49
54
|
// Refs
|
|
50
55
|
const timeoutRef = useRef(null);
|
|
51
56
|
const likeAnimTimeoutRef = useRef(null);
|
|
57
|
+
const viewCountedRef = useRef(false);
|
|
58
|
+
const autoScrolledRef = useRef(false);
|
|
52
59
|
|
|
53
60
|
// Constants
|
|
54
61
|
const isLocked = reel.isLocked;
|
|
@@ -78,11 +85,25 @@ const ReelItem = ({
|
|
|
78
85
|
setUnlockModalVisible(true);
|
|
79
86
|
}, []);
|
|
80
87
|
|
|
81
|
-
//
|
|
88
|
+
// Reset view-counted flag when episode changes
|
|
82
89
|
useEffect(() => {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}, [
|
|
90
|
+
viewCountedRef.current = false;
|
|
91
|
+
autoScrolledRef.current = false;
|
|
92
|
+
}, [reel.episodeId]);
|
|
93
|
+
|
|
94
|
+
// Reset video timing state when episode changes
|
|
95
|
+
useEffect(() => {
|
|
96
|
+
setCurrentTime(0);
|
|
97
|
+
setDuration(0);
|
|
98
|
+
setBuffering(true);
|
|
99
|
+
setHasError(false);
|
|
100
|
+
}, [reel.episodeId]);
|
|
101
|
+
|
|
102
|
+
// Sync like state from parent when episode changes or parent updates data
|
|
103
|
+
useEffect(() => {
|
|
104
|
+
setIsLiked(Boolean(data.isLiked));
|
|
105
|
+
setLikesCount(Number(data.likes) || 0);
|
|
106
|
+
}, [reel.episodeId, data.isLiked, data.likes]);
|
|
86
107
|
useEffect(() => {
|
|
87
108
|
if (!isVisible) {
|
|
88
109
|
setShowPauseIcon(null);
|
|
@@ -109,19 +130,22 @@ const ReelItem = ({
|
|
|
109
130
|
}, []);
|
|
110
131
|
const handleLikePress = useCallback(() => {
|
|
111
132
|
const newLiked = !isLiked;
|
|
112
|
-
const
|
|
133
|
+
const count = Number(likesCount) || 0;
|
|
134
|
+
const newCount = newLiked ? count + 1 : Math.max(0, count - 1);
|
|
113
135
|
setIsLiked(newLiked);
|
|
114
136
|
setLikesCount(newCount);
|
|
115
|
-
|
|
116
|
-
// Update data object for parent component
|
|
117
|
-
data.isLiked = newLiked;
|
|
118
|
-
data.likes = newCount;
|
|
119
137
|
if (newLiked) {
|
|
120
138
|
setShowLikeAnim(true);
|
|
121
139
|
setTimeoutSafely(likeAnimTimeoutRef, () => setShowLikeAnim(false), LIKE_ANIM_TIMEOUT);
|
|
122
140
|
}
|
|
123
|
-
|
|
124
|
-
|
|
141
|
+
|
|
142
|
+
// Parent should update its data (e.g. in onLikePress) so that like state
|
|
143
|
+
// persists across scroll and re-mounts
|
|
144
|
+
onLikePress?.({
|
|
145
|
+
id: reel.episodeId,
|
|
146
|
+
liked: newLiked
|
|
147
|
+
});
|
|
148
|
+
}, [isLiked, likesCount, onLikePress, reel.episodeId]);
|
|
125
149
|
const handleTogglePlay = useCallback(() => {
|
|
126
150
|
setIsPaused(prev => !prev);
|
|
127
151
|
setShowPauseIcon(true);
|
|
@@ -139,13 +163,6 @@ const ReelItem = ({
|
|
|
139
163
|
onEpisodeSelect(episode);
|
|
140
164
|
}
|
|
141
165
|
}, [closeAllModals, onEpisodeSelect, openUnlockModal]);
|
|
142
|
-
const handleVideoEnd = useCallback(() => {
|
|
143
|
-
if (!autoScroll) return;
|
|
144
|
-
const nextEpisode = data.episodes?.[activeEpisodeIndex + 1];
|
|
145
|
-
if (nextEpisode) {
|
|
146
|
-
onEpisodeSelect(nextEpisode);
|
|
147
|
-
}
|
|
148
|
-
}, [autoScroll, data.episodes, activeEpisodeIndex, onEpisodeSelect]);
|
|
149
166
|
|
|
150
167
|
// Gestures
|
|
151
168
|
const handleLockedTap = useCallback(() => {
|
|
@@ -200,6 +217,13 @@ const ReelItem = ({
|
|
|
200
217
|
onPlaybackRateChange: setPlaybackRate,
|
|
201
218
|
onQualityChange: setVideoQuality
|
|
202
219
|
}), [playbackRate, videoQuality]);
|
|
220
|
+
const handleVideoEnd = useCallback(() => {
|
|
221
|
+
if (!autoScroll || isLocked || autoScrolledRef.current) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
autoScrolledRef.current = true;
|
|
225
|
+
onAutoScrollNext?.();
|
|
226
|
+
}, [autoScroll, isLocked, onAutoScrollNext]);
|
|
203
227
|
|
|
204
228
|
// ----------------------- RENDER -----------------------
|
|
205
229
|
return /*#__PURE__*/_jsx(View, {
|
|
@@ -215,6 +239,7 @@ const ReelItem = ({
|
|
|
215
239
|
video: videoProps,
|
|
216
240
|
likes: likesProps,
|
|
217
241
|
actions: actionsProps,
|
|
242
|
+
isFullScreen: isFullScreen,
|
|
218
243
|
navigation: navigationProps,
|
|
219
244
|
settings: settingsProps,
|
|
220
245
|
children: /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
@@ -236,12 +261,12 @@ const ReelItem = ({
|
|
|
236
261
|
defaultSource: require('../../../assets/img/play.png'),
|
|
237
262
|
style: StyleSheet.absoluteFillObject
|
|
238
263
|
}), (isVisible || preload) && /*#__PURE__*/_jsx(Video, {
|
|
239
|
-
ref: videoRef,
|
|
264
|
+
ref: isVisible ? videoRef : undefined,
|
|
240
265
|
source: {
|
|
241
266
|
uri: videoUri
|
|
242
267
|
},
|
|
243
268
|
paused: finalPause,
|
|
244
|
-
repeat:
|
|
269
|
+
repeat: !autoScroll,
|
|
245
270
|
resizeMode: "cover",
|
|
246
271
|
poster: thumbnail,
|
|
247
272
|
posterResizeMode: "cover",
|
|
@@ -258,10 +283,33 @@ const ReelItem = ({
|
|
|
258
283
|
setHasError(false);
|
|
259
284
|
},
|
|
260
285
|
onLoad: info => {
|
|
261
|
-
|
|
286
|
+
if (Number(info.duration) > 0 && Number(info.duration) < 100000) {
|
|
287
|
+
setDuration(Number(info.duration));
|
|
288
|
+
}
|
|
262
289
|
setHasError(false);
|
|
263
290
|
},
|
|
264
|
-
onProgress: p =>
|
|
291
|
+
onProgress: p => {
|
|
292
|
+
setCurrentTime(p.currentTime);
|
|
293
|
+
if (isVisible) {
|
|
294
|
+
const safeDuration = duration > 0 ? duration : Number(p.seekableDuration) || 0;
|
|
295
|
+
const totalWatchTime = p.currentTime;
|
|
296
|
+
const isVideoCompleted = safeDuration > 0 && totalWatchTime >= safeDuration - 0.5;
|
|
297
|
+
onWatchProgress?.({
|
|
298
|
+
series: data,
|
|
299
|
+
episode: reel,
|
|
300
|
+
currentTime: p.currentTime,
|
|
301
|
+
duration: safeDuration,
|
|
302
|
+
isVideoCompleted,
|
|
303
|
+
totalWatchTime
|
|
304
|
+
});
|
|
305
|
+
if (p.currentTime >= MIN_VIEW_DURATION_SEC && !viewCountedRef.current) {
|
|
306
|
+
viewCountedRef.current = true;
|
|
307
|
+
onViewCount?.({
|
|
308
|
+
id: reel.episodeId
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
265
313
|
onEnd: handleVideoEnd,
|
|
266
314
|
style: StyleSheet.absoluteFillObject,
|
|
267
315
|
controls: false,
|
|
@@ -281,9 +329,11 @@ const ReelItem = ({
|
|
|
281
329
|
});
|
|
282
330
|
};
|
|
283
331
|
|
|
284
|
-
// Memo comparison
|
|
332
|
+
// Memo comparison – compare likes numerically so string/number don't cause extra re-renders
|
|
285
333
|
const areEqual = (prev, next) => {
|
|
286
|
-
|
|
334
|
+
const prevLikes = Number(prev.data.likes) || 0;
|
|
335
|
+
const nextLikes = Number(next.data.likes) || 0;
|
|
336
|
+
return prev.reel.episodeId === next.reel.episodeId && prev.isVisible === next.isVisible && prev.preload === next.preload && prev.activeEpisodeIndex === next.activeEpisodeIndex && prev.videoHeight === next.videoHeight && Boolean(prev.data.isLiked) === Boolean(next.data.isLiked) && prevLikes === nextLikes && prev.reel.isLocked === next.reel.isLocked && prev.reel.videoUrl === next.reel.videoUrl && prev.isVisible === next.isVisible;
|
|
287
337
|
};
|
|
288
338
|
export default /*#__PURE__*/memo(ReelItem, areEqual);
|
|
289
339
|
const {
|
|
@@ -292,8 +342,7 @@ const {
|
|
|
292
342
|
const styles = StyleSheet.create({
|
|
293
343
|
container: {
|
|
294
344
|
width,
|
|
295
|
-
overflow: 'hidden'
|
|
296
|
-
backgroundColor: '#000'
|
|
345
|
+
overflow: 'hidden'
|
|
297
346
|
}
|
|
298
347
|
});
|
|
299
348
|
//# sourceMappingURL=ReelsSeriesItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useEffect","useRef","useCallback","useMemo","memo","View","Dimensions","StyleSheet","Video","GestureDetector","GestureHandlerRootView","videoRef","videoControlsStyles","PAUSE_ICON_TIMEOUT","LIKE_ANIM_TIMEOUT","UNLOCK_MODAL_DELAY","useOverlayThresholds","useIsInOverlay","useCreateTapGesture","useCombinedGesture","clearTimeoutSafely","setTimeoutSafely","MediaControlsProvider","FastImage","jsx","_jsx","jsxs","_jsxs","INITIAL_MODAL_STATE","type","isVisible","ReelItem","reel","data","autoScroll","videoHeight","onLikePress","onSharePress","onBackPress","preload","activeEpisodeIndex","onEpisodeSelect","onSearchPress","onLikeMorePress","onEpisodeUnlockPress","theme","buffering","setBuffering","isPaused","setIsPaused","showPauseIcon","setShowPauseIcon","modal","setModal","unlockModalVisible","setUnlockModalVisible","unlockModalDismissed","setUnlockModalDismissed","showLikeAnim","setShowLikeAnim","currentTime","setCurrentTime","duration","setDuration","playbackRate","setPlaybackRate","videoQuality","setVideoQuality","isLiked","setIsLiked","likesCount","setLikesCount","likes","hasError","setHasError","timeoutRef","likeAnimTimeoutRef","isLocked","videoUri","videoUrl","thumbnail","rightThreshold","bottomThreshold","finalPause","showCenterControls","closeUnlockModal","closeAllModals","openUnlockModal","prev","handleLikePress","newLiked","newCount","Math","max","episodeId","handleTogglePlay","handleEpisodeSelect","episode","setTimeout","handleVideoEnd","nextEpisode","episodes","handleLockedTap","isInOverlay","createTapGesture","singleTap","doubleTap","combinedGesture","unlockProps","onClose","contentProps","series","activeIndex","videoProps","paused","likesProps","liked","count","showAnimation","actionsProps","onLike","onLikeMore","onShare","onUnLock","onUnlockPress","navigationProps","onBack","onSearch","settingsProps","quality","onPlaybackRateChange","onQualityChange","style","styles","container","height","children","unlock","content","video","actions","navigation","settings","flex","gesture","source","uri","priority","high","resizeMode","cover","defaultSource","require","absoluteFillObject","ref","repeat","poster","posterResizeMode","rate","onLoadStart","onBuffer","isBuffering","onReadyForDisplay","onLoad","info","onProgress","p","onEnd","controls","controlsStyles","ignoreSilentSwitch","playInBackground","onError","areEqual","next","width","get","create","overflow","backgroundColor"],"sourceRoot":"../../../../../src","sources":["components/Reels/ReelsSeries/ReelsSeriesItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IACVC,QAAQ,EACRC,SAAS,EACTC,MAAM,EACNC,WAAW,EACXC,OAAO,EACPC,IAAI,QACC,OAAO;AACd,SAASC,IAAI,EAAEC,UAAU,EAA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AAQ,KAAK+F,IAAI,CAAC9I,IAAI,CAAC+C,QAAQ,IACzCS,IAAI,CAAC1D,SAAS,KAAKgJ,IAAI,CAAChJ,SAAS;AAErC,CAAC;AAED,4BAAe1B,IAAI,CAAC2B,QAAQ,EAAE8I,QAAQ,CAAC;AAEvC,MAAM;EAAEE;AAAM,CAAC,GAAGzK,UAAU,CAAC0K,GAAG,CAAC,QAAQ,CAAC;AAE1C,MAAM3C,MAAM,GAAG9H,UAAU,CAAC0K,MAAM,CAAC;EAC/B3C,SAAS,EAAE;IACTyC,KAAK;IACLG,QAAQ,EAAE,QAAQ;IAClBC,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useState","useEffect","useRef","useCallback","useMemo","memo","View","Dimensions","StyleSheet","Video","GestureDetector","GestureHandlerRootView","videoRef","videoControlsStyles","PAUSE_ICON_TIMEOUT","LIKE_ANIM_TIMEOUT","UNLOCK_MODAL_DELAY","useOverlayThresholds","useIsInOverlay","useCreateTapGesture","useCombinedGesture","clearTimeoutSafely","setTimeoutSafely","MediaControlsProvider","FastImage","jsx","_jsx","jsxs","_jsxs","INITIAL_MODAL_STATE","type","isVisible","MIN_VIEW_DURATION_SEC","ReelItem","reel","data","autoScroll","videoHeight","onLikePress","onSharePress","onBackPress","isFullScreen","preload","activeEpisodeIndex","onEpisodeSelect","onSearchPress","onLikeMorePress","onEpisodeUnlockPress","onViewCount","theme","onWatchProgress","onAutoScrollNext","buffering","setBuffering","isPaused","setIsPaused","showPauseIcon","setShowPauseIcon","modal","setModal","unlockModalVisible","setUnlockModalVisible","unlockModalDismissed","setUnlockModalDismissed","showLikeAnim","setShowLikeAnim","currentTime","setCurrentTime","duration","setDuration","playbackRate","setPlaybackRate","videoQuality","setVideoQuality","isLiked","setIsLiked","Boolean","likesCount","setLikesCount","Number","likes","hasError","setHasError","timeoutRef","likeAnimTimeoutRef","viewCountedRef","autoScrolledRef","isLocked","videoUri","videoUrl","thumbnail","rightThreshold","bottomThreshold","finalPause","showCenterControls","closeUnlockModal","closeAllModals","openUnlockModal","current","episodeId","prev","handleLikePress","newLiked","count","newCount","Math","max","id","liked","handleTogglePlay","handleEpisodeSelect","episode","setTimeout","handleLockedTap","isInOverlay","createTapGesture","singleTap","doubleTap","combinedGesture","unlockProps","onClose","contentProps","series","activeIndex","videoProps","paused","likesProps","showAnimation","actionsProps","onLike","onLikeMore","onShare","onUnLock","onUnlockPress","navigationProps","onBack","onSearch","settingsProps","quality","onPlaybackRateChange","onQualityChange","handleVideoEnd","style","styles","container","height","children","unlock","content","video","actions","navigation","settings","flex","gesture","source","uri","priority","high","resizeMode","cover","defaultSource","require","absoluteFillObject","ref","undefined","repeat","poster","posterResizeMode","rate","onLoadStart","onBuffer","isBuffering","onReadyForDisplay","onLoad","info","onProgress","p","safeDuration","seekableDuration","totalWatchTime","isVideoCompleted","onEnd","controls","controlsStyles","ignoreSilentSwitch","playInBackground","onError","areEqual","next","prevLikes","nextLikes","width","get","create","overflow"],"sourceRoot":"../../../../../src","sources":["components/Reels/ReelsSeries/ReelsSeriesItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IACVC,QAAQ,EACRC,SAAS,EACTC,MAAM,EACNC,WAAW,EACXC,OAAO,EACPC,IAAI,QACC,OAAO;AACd,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAC3D,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SACEC,eAAe,EACfC,sBAAsB,QACjB,8BAA8B;AASrC,SACEC,QAAQ,EACRC,mBAAmB,EACnBC,kBAAkB,EAClBC,iBAAiB,EACjBC,kBAAkB,EAClBC,oBAAoB,EACpBC,cAAc,EACdC,mBAAmB,EACnBC,kBAAkB,QACb,4BAAmB;AAC1B,SAASC,kBAAkB,EAAEC,gBAAgB,QAAQ,mBAAU;AAC/D,OAAOC,qBAAqB,MAAM,0CAAuC;AACzE,OAAOC,SAAS,MAAM,yBAAyB;AAAC,SAA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