@zezosoft/zezo-ott-react-native-ui-kit 1.3.5 → 1.3.6
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 +1 -1
- package/lib/module/components/Account/Account.js +10 -9
- package/lib/module/components/Account/Account.js.map +1 -1
- package/lib/module/components/Account/index.js +5 -0
- package/lib/module/components/Account/index.js.map +1 -1
- package/lib/module/components/Alert/AlertDialog.js +11 -9
- package/lib/module/components/Alert/AlertDialog.js.map +1 -1
- package/lib/module/components/Alert/UAAlert.js +15 -8
- package/lib/module/components/Alert/UAAlert.js.map +1 -1
- package/lib/module/components/Alert/index.js +5 -0
- package/lib/module/components/Alert/index.js.map +1 -1
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js +41 -33
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +18 -15
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +7 -8
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js +5 -5
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/One/OTP/OTP.js +19 -10
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +178 -425
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -1
- package/lib/module/components/Auth/One/QrLogin/components/index.js +8 -0
- package/lib/module/components/Auth/One/QrLogin/components/index.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-fallback.js +125 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-fallback.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-frame.js +153 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-frame.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-header.js +50 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-header.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-intro.js +199 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-intro.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-overlay.js +219 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-overlay.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +8 -12
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js +74 -37
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +17 -14
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js +19 -9
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js +8 -12
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/utils/splashUtils.js +22 -0
- package/lib/module/components/Auth/One/SplashScreen/utils/splashUtils.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +1 -1
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +11 -5
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -1
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js +15 -21
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Two/Login/EmailOrPhoneLogin.js +36 -25
- package/lib/module/components/Auth/Two/Login/EmailOrPhoneLogin.js.map +1 -1
- package/lib/module/components/Auth/Two/OTP/OTP.js +20 -11
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +6 -11
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/Two/index.js +1 -1
- package/lib/module/components/Auth/index.js +5 -0
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/One/One.js +8 -3
- package/lib/module/components/BackgroundLayout/One/One.js.map +1 -1
- package/lib/module/components/BackgroundLayout/Two/Two.js +8 -3
- package/lib/module/components/BackgroundLayout/Two/Two.js.map +1 -1
- package/lib/module/components/BackgroundLayout/index.js +5 -0
- package/lib/module/components/BackgroundLayout/index.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +7 -2
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/BlogView/index.js +1 -1
- package/lib/module/components/BlurView/BlurView.js +2 -2
- package/lib/module/components/BlurView/BlurView.js.map +1 -1
- package/lib/module/components/BlurView/index.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +9 -4
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +10 -8
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -1
- package/lib/module/components/BottomSheet/index.js +5 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +41 -35
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/MenuBtn.js +30 -28
- package/lib/module/components/Button/MenuBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +11 -9
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/SecondaryBtn.js +29 -22
- package/lib/module/components/Button/SecondaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +7 -2
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Button/index.js +1 -1
- package/lib/module/components/Button/types.js +4 -0
- package/lib/module/components/Button/types.js.map +1 -0
- package/lib/module/components/Content/Card/Category/Category.js +11 -11
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +6 -5
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +5 -25
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +4 -4
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +19 -14
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +6 -5
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +2 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +7 -7
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +8 -9
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +7 -7
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +6 -6
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +6 -6
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +7 -7
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +4 -4
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +7 -7
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +5 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +21 -24
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/LiveBadge.js +93 -0
- package/lib/module/components/Content/Card/components/LiveBadge.js.map +1 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js +3 -3
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/RentOrBuyIcon.js +5 -0
- package/lib/module/components/Content/Card/components/RentOrBuyIcon.js.map +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js +2 -2
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +12 -18
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +11 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -1
- package/lib/module/components/Content/Card/index.js +2 -1
- package/lib/module/components/Content/Card/index.js.map +1 -1
- package/lib/module/components/Content/Content.js +11 -14
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +2 -1
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +7 -6
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/One/ContentViewOne.js +10 -7
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -1
- package/lib/module/components/ContentView/One/components/CastCard.js +2 -1
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/One/components/HeroBanner.js +223 -184
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/One/components/MiniInfo.js +3 -3
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -1
- package/lib/module/components/ContentView/One/components/Title.js +1 -1
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +17 -13
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/Details.js +2 -2
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +141 -265
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +2 -2
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +8 -7
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -1
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +10 -7
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +3 -2
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/Title.js +6 -6
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/index.js +2 -5
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -1
- package/lib/module/components/ContentView/index.js +1 -1
- package/lib/module/components/ContentView/{One/components → shared}/AboutSection.js +49 -41
- package/lib/module/components/ContentView/shared/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{Two/components → shared}/EpisodeCard.js +17 -23
- package/lib/module/components/ContentView/shared/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/shared/GenreTags.js +127 -0
- package/lib/module/components/ContentView/shared/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{One/components → shared}/PlayButton.js +3 -3
- package/lib/module/components/ContentView/shared/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{One/components → shared}/TrailerButton.js +3 -3
- package/lib/module/components/ContentView/shared/TrailerButton.js.map +1 -0
- package/lib/module/components/Fallbacks/NoContentFallback.js +13 -11
- package/lib/module/components/Fallbacks/NoContentFallback.js.map +1 -1
- package/lib/module/components/Fallbacks/NotFoundFallback.js +3 -3
- package/lib/module/components/Fallbacks/NotFoundFallback.js.map +1 -1
- package/lib/module/components/Fallbacks/index.js +5 -0
- package/lib/module/components/Fallbacks/index.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +4 -3
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/Four.js +2 -1
- package/lib/module/components/Headers/Four.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 +5 -4
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +4 -3
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +1 -1
- package/lib/module/components/Input/Input.js +1 -1
- package/lib/module/components/Input/InputOne.js +10 -3
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +3 -3
- package/lib/module/components/Input/InputThree.js.map +1 -1
- package/lib/module/components/Input/InputTwo.js +21 -3
- package/lib/module/components/Input/InputTwo.js.map +1 -1
- package/lib/module/components/Input/PhoneInput/One/One.js +37 -65
- package/lib/module/components/Input/PhoneInput/One/One.js.map +1 -1
- package/lib/module/components/Input/PhoneInput/Two/Two.js +38 -65
- package/lib/module/components/Input/PhoneInput/Two/Two.js.map +1 -1
- package/lib/module/components/Input/PhoneInput/index.js +1 -1
- package/lib/module/components/Keyboard/HideKeyboard.js +13 -11
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +7 -2
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +16 -10
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +19 -12
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -1
- package/lib/module/components/NewRelease/index.js +5 -0
- package/lib/module/components/NewRelease/index.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +7 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js +15 -8
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +15 -8
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +7 -2
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +22 -19
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/Episodes.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/Episodes.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/Like.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/Like.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js +12 -6
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +14 -7
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js +14 -7
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +6 -1
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -1
- package/lib/module/components/Reels/index.js +1 -1
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js +25 -16
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/index.js +5 -0
- package/lib/module/components/Reels/utils/Controls/index.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js +5 -0
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js +5 -0
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/videoRef.js +5 -0
- package/lib/module/components/Reels/utils/Controls/videoRef.js.map +1 -1
- package/lib/module/components/Reels/utils/index.js +5 -0
- package/lib/module/components/Reels/utils/index.js.map +1 -1
- package/lib/module/components/Reels/utils/timeoutUtils.js +5 -0
- package/lib/module/components/Reels/utils/timeoutUtils.js.map +1 -1
- package/lib/module/components/Search/One.js +16 -14
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js +2 -2
- package/lib/module/components/Search/components/SearchCard.js +4 -4
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Search/index.js +2 -2
- package/lib/module/components/Settings/AppSettings.js +3 -3
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Settings/index.js +5 -0
- package/lib/module/components/Settings/index.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +19 -10
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Subscription/components/SubsDetailsModal.js +5 -0
- package/lib/module/components/Subscription/components/SubsDetailsModal.js.map +1 -1
- package/lib/module/components/Subscription/components/SubscriptionCard.js +17 -10
- package/lib/module/components/Subscription/components/SubscriptionCard.js.map +1 -1
- package/lib/module/components/Subscription/index.js +2 -2
- package/lib/module/components/TabBar/One.js +50 -48
- package/lib/module/components/TabBar/One.js.map +1 -1
- package/lib/module/components/TabBar/Three.js +52 -48
- package/lib/module/components/TabBar/Three.js.map +1 -1
- package/lib/module/components/TabBar/Two.js +5 -5
- package/lib/module/components/TabBar/Two.js.map +1 -1
- package/lib/module/components/TabBar/index.js +2 -2
- package/lib/module/components/Text/Text.js +7 -2
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/Text/index.js +2 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +3 -3
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +24 -19
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +3 -3
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +3 -3
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +37 -31
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +4 -3
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +6 -5
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/User/index.js +1 -1
- package/lib/module/components/View/View.js +2 -1
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/View/index.js +2 -1
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +5 -5
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/common/index.js +4 -0
- package/lib/module/components/common/index.js.map +1 -0
- package/lib/module/components/index.js +2 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +7 -2
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
- package/lib/module/components/layout/index.js +5 -0
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +5 -0
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -1
- package/lib/module/hooks/Images/index.js.map +1 -1
- package/lib/module/hooks/Images/useImageLoader.js +18 -15
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -1
- package/lib/module/hooks/index.js +1 -2
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +5 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -1
- package/lib/module/hooks/useCards.js +10 -2
- package/lib/module/hooks/useCards.js.map +1 -1
- package/lib/module/hooks/useDebounce.js +5 -0
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js +1 -1
- package/lib/module/hooks/useNavigationMode.js +3 -4
- package/lib/module/hooks/useNavigationMode.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js +21 -5
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/usePrevious.js +1 -1
- package/lib/module/hooks/useSafeCallback.js +15 -22
- package/lib/module/hooks/useSafeCallback.js.map +1 -1
- package/lib/module/hooks/useSkeletonItems.js +1 -1
- package/lib/module/hooks/useSplashCache.js +70 -57
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/store/RecentSearchesStore.js +1 -1
- package/lib/module/store/splashStore.js +1 -1
- package/lib/module/store/storage.js +1 -1
- package/lib/module/theme/ThemeContext.js +10 -0
- package/lib/module/theme/ThemeContext.js.map +1 -0
- package/lib/module/theme/ThemeProvider.js +12 -22
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hooks/index.js +9 -0
- package/lib/module/theme/hooks/index.js.map +1 -0
- package/lib/module/theme/hooks/useTheme.js +91 -0
- package/lib/module/theme/hooks/useTheme.js.map +1 -0
- package/lib/module/theme/index.js +2 -1
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/{store/themeStore.js → theme/store/theme.js} +8 -6
- package/lib/module/theme/store/theme.js.map +1 -0
- package/lib/module/theme/themes.js +35 -70
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/cleanColors.js +60 -0
- package/lib/module/theme/utils/cleanColors.js.map +1 -0
- package/lib/module/theme/utils/toRgba.js +128 -0
- package/lib/module/theme/utils/toRgba.js.map +1 -0
- package/lib/module/types/hook/usePaginatedSection.js +4 -0
- package/lib/module/types/hook/usePaginatedSection.js.map +1 -0
- package/lib/module/types/navigation.js +4 -0
- package/lib/module/types/navigation.js.map +1 -0
- package/lib/module/types/user.js +4 -0
- package/lib/module/types/user.js.map +1 -0
- package/lib/module/utils/Display.js +2 -1
- package/lib/module/utils/Display.js.map +1 -1
- package/lib/module/utils/Formater.js +19 -0
- package/lib/module/utils/Formater.js.map +1 -1
- package/lib/module/utils/SizeMatters.js +2 -1
- package/lib/module/utils/SizeMatters.js.map +1 -1
- package/lib/module/utils/Spacing.js +1 -1
- package/lib/module/utils/colorUtils.js +1 -1
- package/lib/module/{hooks/Images/useImageValidation.js → utils/imageValidation.js} +10 -7
- package/lib/module/utils/imageValidation.js.map +1 -0
- package/lib/module/utils/interaction.js +20 -0
- package/lib/module/utils/interaction.js.map +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +3 -12
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
- package/lib/typescript/src/components/Account/index.d.ts +4 -0
- package/lib/typescript/src/components/Account/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/AlertDialog.d.ts +1 -1
- package/lib/typescript/src/components/Alert/AlertDialog.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/UAAlert.d.ts +4 -0
- package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/index.d.ts +4 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts +2 -2
- package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts +9 -12
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts +8 -11
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts +8 -11
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts +11 -12
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts +13 -9
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/index.d.ts +6 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-fallback.d.ts +9 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-fallback.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-frame.d.ts +4 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-frame.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-header.d.ts +8 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-header.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-intro.d.ts +11 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-intro.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-overlay.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-overlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts +8 -11
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts +3 -3
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/utils/splashUtils.d.ts +8 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/utils/splashUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +4426 -40
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +6 -2
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +10 -16
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/Login/EmailOrPhoneLogin.d.ts +13 -5
- package/lib/typescript/src/components/Auth/Two/Login/EmailOrPhoneLogin.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +11 -7
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +8 -8
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/index.d.ts +3037 -25
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/index.d.ts +7465 -63
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/One/One.d.ts +6 -2
- package/lib/typescript/src/components/BackgroundLayout/One/One.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/Two/Two.d.ts +4 -0
- package/lib/typescript/src/components/BackgroundLayout/Two/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/index.d.ts +172 -1
- package/lib/typescript/src/components/BackgroundLayout/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +6 -2
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/index.d.ts +1 -1
- package/lib/typescript/src/components/BlurView/BlurView.d.ts +1 -1
- package/lib/typescript/src/components/BlurView/index.d.ts +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +6 -2
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +6 -2
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/index.d.ts +4 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +4 -16
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/SecondaryBtn.d.ts +5 -17
- package/lib/typescript/src/components/Button/SecondaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts +8 -4
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +726 -28
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/types.d.ts +32 -0
- package/lib/typescript/src/components/Button/types.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +2 -2
- 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 +2 -2
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +5 -7
- 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 +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +4 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +1 -1
- 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 +115 -3
- 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 +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 +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 +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 +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -2
- 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 +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 +2 -2
- 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 +1 -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 +5 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +3 -2
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/LiveBadge.d.ts +16 -0
- package/lib/typescript/src/components/Content/Card/components/LiveBadge.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +4 -0
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts +2 -2
- 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 +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +10 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +4990 -36
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +6 -7
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +4 -3
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +2 -5
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/index.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/{One/components → shared}/AboutSection.d.ts +6 -4
- package/lib/typescript/src/components/ContentView/shared/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{Two/components → shared}/EpisodeCard.d.ts +4 -4
- package/lib/typescript/src/components/ContentView/shared/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{One/components → shared}/GenreTags.d.ts +5 -4
- package/lib/typescript/src/components/ContentView/shared/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/shared/PlayButton.d.ts +14 -0
- package/lib/typescript/src/components/ContentView/shared/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/shared/TrailerButton.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/shared/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts +2 -2
- package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Fallbacks/NotFoundFallback.d.ts +1 -1
- package/lib/typescript/src/components/Fallbacks/index.d.ts +4 -0
- package/lib/typescript/src/components/Fallbacks/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts +2 -2
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/One.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts +4 -4
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +4 -4
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputTwo.d.ts +4 -4
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneInput/One/One.d.ts +4 -4
- package/lib/typescript/src/components/Input/PhoneInput/One/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneInput/Two/Two.d.ts +4 -4
- package/lib/typescript/src/components/Input/PhoneInput/Two/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneInput/index.d.ts +1 -1
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts +3 -3
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts +4 -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 +5 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/index.d.ts +4 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +4 -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 +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/index.d.ts +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts +9 -5
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/index.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts +2 -2
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts +2 -2
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +2 -2
- package/lib/typescript/src/components/Search/index.d.ts +2 -2
- package/lib/typescript/src/components/Settings/AppSettings.d.ts +7 -7
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Settings/index.d.ts +4 -0
- package/lib/typescript/src/components/Settings/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +5 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/components/SubsDetailsModal.d.ts +5 -1
- package/lib/typescript/src/components/Subscription/components/SubsDetailsModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/components/SubscriptionCard.d.ts +5 -1
- package/lib/typescript/src/components/Subscription/components/SubscriptionCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts +5 -5
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/One.d.ts +3 -12
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Three.d.ts +2 -11
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts +3 -12
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/index.d.ts +4 -4
- package/lib/typescript/src/components/Text/Text.d.ts +4 -0
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/Text/index.d.ts +1 -1
- package/lib/typescript/src/components/Text/index.d.ts.map +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +5 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +5 -17
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +2 -2
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts +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 +2 -12
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/User/index.d.ts +1 -1
- package/lib/typescript/src/components/View/View.d.ts +1 -1
- package/lib/typescript/src/components/View/View.d.ts.map +1 -1
- package/lib/typescript/src/components/View/index.d.ts +1 -1
- package/lib/typescript/src/components/View/index.d.ts.map +1 -1
- package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -1
- package/lib/typescript/src/components/common/index.d.ts +2 -0
- package/lib/typescript/src/components/common/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +2 -1
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts +6 -2
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/index.d.ts +4 -0
- package/lib/typescript/src/components/layout/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +4 -0
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +4 -1
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +1 -1
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -1
- package/lib/typescript/src/hooks/index.d.ts +1 -2
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +7 -3
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useCards.d.ts +2 -7
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDebounce.d.ts +4 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts +1 -1
- package/lib/typescript/src/hooks/useNavigationMode.d.ts +1 -2
- package/lib/typescript/src/hooks/useNavigationMode.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +5 -11
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePrevious.d.ts +1 -1
- package/lib/typescript/src/hooks/useSafeCallback.d.ts +6 -9
- package/lib/typescript/src/hooks/useSafeCallback.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSkeletonItems.d.ts +2 -2
- package/lib/typescript/src/hooks/useSkeletonItems.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +1 -1
- package/lib/typescript/src/store/splashStore.d.ts +1 -1
- package/lib/typescript/src/store/storage.d.ts +1 -1
- package/lib/typescript/src/theme/ThemeContext.d.ts +16 -0
- package/lib/typescript/src/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts +4 -17
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hooks/index.d.ts +6 -0
- package/lib/typescript/src/theme/hooks/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/hooks/useTheme.d.ts +7 -0
- package/lib/typescript/src/theme/hooks/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +2 -1
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/{store/themeStore.d.ts → theme/store/theme.d.ts} +3 -3
- package/lib/typescript/src/theme/store/theme.d.ts.map +1 -0
- package/lib/typescript/src/theme/themes.d.ts +9 -18
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/cleanColors.d.ts +15 -0
- package/lib/typescript/src/theme/utils/cleanColors.d.ts.map +1 -0
- package/lib/typescript/src/theme/utils/toRgba.d.ts +16 -0
- package/lib/typescript/src/theme/utils/toRgba.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +5 -8
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/index.d.ts +2 -2
- package/lib/typescript/src/types/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/{usePaginatedSetion.d.ts → usePaginatedSection.d.ts} +2 -2
- package/lib/typescript/src/types/hook/usePaginatedSection.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +3 -1
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/navigation.d.ts +16 -0
- package/lib/typescript/src/types/navigation.d.ts.map +1 -0
- package/lib/typescript/src/types/sections/index.d.ts +2 -1
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/types/user.d.ts +16 -0
- package/lib/typescript/src/types/user.d.ts.map +1 -0
- package/lib/typescript/src/utils/Display.d.ts +4 -0
- package/lib/typescript/src/utils/Display.d.ts.map +1 -1
- package/lib/typescript/src/utils/Formater.d.ts +10 -0
- package/lib/typescript/src/utils/Formater.d.ts.map +1 -1
- package/lib/typescript/src/utils/SizeMatters.d.ts +1 -1
- package/lib/typescript/src/utils/SizeMatters.d.ts.map +1 -1
- package/lib/typescript/src/utils/Spacing.d.ts +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +1 -1
- package/lib/typescript/src/{hooks/Images/useImageValidation.d.ts → utils/imageValidation.d.ts} +3 -3
- package/lib/typescript/src/utils/imageValidation.d.ts.map +1 -0
- package/lib/typescript/src/utils/interaction.d.ts +9 -0
- package/lib/typescript/src/utils/interaction.d.ts.map +1 -0
- package/package.json +134 -128
- package/src/assets/animations/135037-payment-processing-error.json +1347 -0
- package/src/assets/animations/7227-vui-animation.json +3377 -0
- package/src/assets/animations/Failed.json +2103 -0
- package/src/assets/animations/Pending.json +522 -0
- package/src/assets/animations/Successful.json +2289 -0
- package/src/assets/animations/heart.json +788 -0
- package/src/assets/animations/succesfull-payment.json +2379 -0
- package/src/assets/animations/voice-icon.json +542 -0
- package/src/assets/img/back.png +0 -0
- package/src/assets/img/bottom-panel.png +0 -0
- package/src/assets/img/camera.png +0 -0
- package/src/assets/img/camera2.png +0 -0
- package/src/assets/img/home.png +0 -0
- package/src/assets/img/lock.png +0 -0
- package/src/assets/img/play.png +0 -0
- package/src/assets/img/profile.jpg +0 -0
- package/src/assets/img/qr-code.png +0 -0
- package/src/assets/img/shadow.png +0 -0
- package/src/assets/img/shadow2.png +0 -0
- package/src/assets/img/user.png +0 -0
- package/src/assets/svg/Account.svg +4 -0
- package/src/assets/svg/Favourite.svg +14 -0
- package/src/assets/svg/Upcoming.svg +4 -0
- package/src/assets/svg/content-error.svg +28 -0
- package/src/assets/svg/download.svg +3 -0
- package/src/assets/svg/eye-off.svg +10 -0
- package/src/assets/svg/favorites.svg +3 -0
- package/src/assets/svg/h.svg +4 -0
- package/src/assets/svg/home.svg +5 -0
- package/src/assets/svg/home1.svg +3 -0
- package/src/assets/svg/menu-bar.svg +4 -0
- package/src/assets/svg/my-space.svg +14 -0
- package/src/assets/svg/play-icon-with-bg.svg +5 -0
- package/src/assets/svg/profile.svg +4 -0
- package/src/assets/svg/search.svg +5 -0
- package/src/assets/svg/search1.svg +4 -0
- package/src/assets/svg/server-error.svg +139 -0
- package/src/components/Account/Account.tsx +354 -0
- package/src/components/Account/index.ts +6 -0
- package/src/components/Alert/AlertDialog.tsx +253 -0
- package/src/components/Alert/UAAlert.tsx +176 -0
- package/src/components/Alert/index.ts +7 -0
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +412 -0
- package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +333 -0
- package/src/components/Auth/One/Login/LoginWithEmail.tsx +449 -0
- package/src/components/Auth/One/Login/LoginWithPhone.tsx +309 -0
- package/src/components/Auth/One/OTP/OTP.tsx +539 -0
- package/src/components/Auth/One/QrLogin/QrLogin.tsx +329 -0
- package/src/components/Auth/One/QrLogin/components/index.ts +8 -0
- package/src/components/Auth/One/QrLogin/components/qr-scanner-fallback.tsx +158 -0
- package/src/components/Auth/One/QrLogin/components/qr-scanner-frame.tsx +207 -0
- package/src/components/Auth/One/QrLogin/components/qr-scanner-header.tsx +65 -0
- package/src/components/Auth/One/QrLogin/components/qr-scanner-intro.tsx +255 -0
- package/src/components/Auth/One/QrLogin/components/qr-scanner-overlay.tsx +291 -0
- package/src/components/Auth/One/SignUp/SignUp.tsx +470 -0
- package/src/components/Auth/One/SplashScreen/SplashScreen.tsx +229 -0
- package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +92 -0
- package/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.tsx +129 -0
- package/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.tsx +172 -0
- package/src/components/Auth/One/SplashScreen/utils/splashUtils.ts +23 -0
- package/src/components/Auth/One/index.ts +24 -0
- package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +130 -0
- package/src/components/Auth/Two/ForgotPassword/ForgotPassword.tsx +331 -0
- package/src/components/Auth/Two/Login/EmailOrPhoneLogin.tsx +612 -0
- package/src/components/Auth/Two/OTP/OTP.tsx +504 -0
- package/src/components/Auth/Two/SignUp/SignUp.tsx +439 -0
- package/src/components/Auth/Two/index.ts +20 -0
- package/src/components/Auth/index.ts +16 -0
- package/src/components/BackgroundLayout/One/One.tsx +184 -0
- package/src/components/BackgroundLayout/Two/Two.tsx +65 -0
- package/src/components/BackgroundLayout/index.ts +14 -0
- package/src/components/BlogView/BlogView.tsx +282 -0
- package/src/components/BlogView/index.ts +8 -0
- package/src/components/BlurView/BlurView.tsx +199 -0
- package/src/components/BlurView/index.ts +7 -0
- package/src/components/BottomSheet/BottomSheet.tsx +204 -0
- package/src/components/BottomSheet/BottomSheetOne.tsx +223 -0
- package/src/components/BottomSheet/index.ts +9 -0
- package/src/components/Button/BackBtn.tsx +149 -0
- package/src/components/Button/MenuBtn.tsx +220 -0
- package/src/components/Button/PrimaryBtn.tsx +123 -0
- package/src/components/Button/SecondaryBtn.tsx +123 -0
- package/src/components/Button/TextButton.tsx +150 -0
- package/src/components/Button/index.ts +18 -0
- package/src/components/Button/types.ts +33 -0
- package/src/components/Content/Card/Category/Category.tsx +436 -0
- package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +607 -0
- package/src/components/Content/Card/Sliders/Styles/One.tsx +490 -0
- package/src/components/Content/Card/Sliders/Styles/Three.tsx +1017 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +395 -0
- package/src/components/Content/Card/Sliders/index.ts +18 -0
- package/src/components/Content/Card/Styles/Five.tsx +367 -0
- package/src/components/Content/Card/Styles/Four.tsx +366 -0
- package/src/components/Content/Card/Styles/One.tsx +372 -0
- package/src/components/Content/Card/Styles/RotateInOut.tsx +413 -0
- package/src/components/Content/Card/Styles/Six.tsx +378 -0
- package/src/components/Content/Card/Styles/Three.tsx +312 -0
- package/src/components/Content/Card/Styles/TopTen.tsx +402 -0
- package/src/components/Content/Card/Styles/Two.tsx +404 -0
- package/src/components/Content/Card/components/AdsPoster.tsx +207 -0
- package/src/components/Content/Card/components/CardPoster.tsx +377 -0
- package/src/components/Content/Card/components/LiveBadge.tsx +125 -0
- package/src/components/Content/Card/components/NavigateToMore.tsx +97 -0
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +134 -0
- package/src/components/Content/Card/components/ShowAllButton.tsx +92 -0
- package/src/components/Content/Card/components/ThumbnailCard.tsx +219 -0
- package/src/components/Content/Card/components/index.ts +12 -0
- package/src/components/Content/Card/index.ts +31 -0
- package/src/components/Content/Content.tsx +338 -0
- package/src/components/Content/Sections.tsx +239 -0
- package/src/components/Content/types.ts +180 -0
- package/src/components/ContentView/MoreContentList.tsx +330 -0
- package/src/components/ContentView/One/ContentViewOne.tsx +251 -0
- package/src/components/ContentView/One/components/CastCard.tsx +266 -0
- package/src/components/ContentView/One/components/HeroBanner.tsx +413 -0
- package/src/components/ContentView/One/components/MiniInfo.tsx +343 -0
- package/src/components/ContentView/One/components/Title.tsx +149 -0
- package/src/components/ContentView/Two/ContentViewTwo.tsx +332 -0
- package/src/components/ContentView/Two/components/Details.tsx +196 -0
- package/src/components/ContentView/Two/components/HeroBanner.tsx +267 -0
- package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
- package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +308 -0
- package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +162 -0
- package/src/components/ContentView/Two/components/SectionTabs.tsx +181 -0
- package/src/components/ContentView/Two/components/Title.tsx +229 -0
- package/src/components/ContentView/Two/components/index.ts +12 -0
- package/src/components/ContentView/index.ts +13 -0
- package/src/components/ContentView/shared/AboutSection.tsx +226 -0
- package/src/components/ContentView/shared/EpisodeCard.tsx +600 -0
- package/src/components/ContentView/shared/GenreTags.tsx +189 -0
- package/src/components/ContentView/shared/PlayButton.tsx +52 -0
- package/src/components/ContentView/shared/TrailerButton.tsx +76 -0
- package/src/components/Fallbacks/NoContentFallback.tsx +175 -0
- package/src/components/Fallbacks/NotFoundFallback.tsx +94 -0
- package/src/components/Fallbacks/index.ts +7 -0
- package/src/components/Headers/AppHeader.tsx +151 -0
- package/src/components/Headers/Four.tsx +84 -0
- package/src/components/Headers/One.tsx +115 -0
- package/src/components/Headers/Three.tsx +137 -0
- package/src/components/Headers/Two.tsx +101 -0
- package/src/components/Headers/index.ts +34 -0
- package/src/components/Input/Input.ts +18 -0
- package/src/components/Input/InputOne.tsx +265 -0
- package/src/components/Input/InputThree.tsx +205 -0
- package/src/components/Input/InputTwo.tsx +217 -0
- package/src/components/Input/PhoneInput/One/One.tsx +415 -0
- package/src/components/Input/PhoneInput/Two/Two.tsx +406 -0
- package/src/components/Input/PhoneInput/index.ts +14 -0
- package/src/components/Keyboard/HideKeyboard.tsx +91 -0
- package/src/components/Loader/Loader.tsx +49 -0
- package/src/components/Logo/Logo.tsx +150 -0
- package/src/components/NewRelease/NewReleaseSheet.tsx +260 -0
- package/src/components/NewRelease/index.ts +6 -0
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +226 -0
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +324 -0
- package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +201 -0
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +100 -0
- package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +168 -0
- package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +207 -0
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +151 -0
- package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +159 -0
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +278 -0
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +569 -0
- package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +189 -0
- package/src/components/Reels/ReelsSeries/components/Episodes.tsx +159 -0
- package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +46 -0
- package/src/components/Reels/ReelsSeries/components/Like.tsx +45 -0
- package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +84 -0
- package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +338 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +185 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +77 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +7 -0
- package/src/components/Reels/ReelsSeries/types.ts +78 -0
- package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +90 -0
- package/src/components/Reels/ReelsSeries/utils/quality.ts +72 -0
- package/src/components/Reels/index.ts +9 -0
- package/src/components/Reels/utils/Controls/gestureUtils.ts +46 -0
- package/src/components/Reels/utils/Controls/index.ts +9 -0
- package/src/components/Reels/utils/Controls/overlayUtils.ts +40 -0
- package/src/components/Reels/utils/Controls/videoControlsConstants.ts +30 -0
- package/src/components/Reels/utils/Controls/videoRef.ts +9 -0
- package/src/components/Reels/utils/index.ts +6 -0
- package/src/components/Reels/utils/timeoutUtils.ts +34 -0
- package/src/components/Search/One.tsx +262 -0
- package/src/components/Search/components/RecentSearchesSection.tsx +181 -0
- package/src/components/Search/components/SearchCard.tsx +285 -0
- package/src/components/Search/index.ts +16 -0
- package/src/components/Settings/AppSettings.tsx +442 -0
- package/src/components/Settings/index.ts +6 -0
- package/src/components/Subscription/SubOne.tsx +423 -0
- package/src/components/Subscription/components/SubsDetailsModal.tsx +347 -0
- package/src/components/Subscription/components/SubscriptionCard.tsx +342 -0
- package/src/components/Subscription/index.ts +12 -0
- package/src/components/TabBar/One.tsx +145 -0
- package/src/components/TabBar/Three.tsx +162 -0
- package/src/components/TabBar/Two.tsx +179 -0
- package/src/components/TabBar/index.ts +20 -0
- package/src/components/Text/Text.tsx +90 -0
- package/src/components/Text/index.ts +6 -0
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +468 -0
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +293 -0
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +504 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +214 -0
- package/src/components/User/WatchLater/WatchLater.tsx +400 -0
- package/src/components/User/components/UserAvatar.tsx +121 -0
- package/src/components/User/components/UserSection.tsx +218 -0
- package/src/components/User/index.ts +18 -0
- package/src/components/View/View.tsx +38 -0
- package/src/components/View/index.ts +6 -0
- package/src/components/common/AppStatusBar.tsx +57 -0
- package/src/components/common/index.ts +1 -0
- package/src/components/index.ts +30 -0
- package/src/components/layout/SafeAreaWrapper.tsx +50 -0
- package/src/components/layout/index.ts +6 -0
- package/src/constants/dummySections.ts +103 -0
- package/src/hooks/Images/index.ts +6 -0
- package/src/hooks/Images/useImageLoader.ts +209 -0
- package/src/hooks/index.ts +16 -0
- package/src/hooks/useAdTracking.ts +354 -0
- package/src/hooks/useCards.ts +247 -0
- package/src/hooks/useDebounce.ts +40 -0
- package/src/hooks/useKeyboard.ts +43 -0
- package/src/hooks/useNavigationMode.ts +48 -0
- package/src/hooks/usePaginatedSection.ts +108 -0
- package/src/hooks/usePrevious.ts +28 -0
- package/src/hooks/useSafeCallback.ts +29 -0
- package/src/hooks/useSkeletonItems.ts +30 -0
- package/src/hooks/useSplashCache.ts +245 -0
- package/src/index.tsx +9 -0
- package/src/store/RecentSearchesStore.ts +72 -0
- package/src/store/splashStore.ts +86 -0
- package/src/store/storage.ts +29 -0
- package/src/theme/ThemeContext.ts +19 -0
- package/src/theme/ThemeProvider.tsx +87 -0
- package/src/theme/hooks/index.ts +6 -0
- package/src/theme/hooks/useTheme.ts +118 -0
- package/src/theme/index.ts +8 -0
- package/src/theme/store/theme.ts +50 -0
- package/src/theme/themes.ts +262 -0
- package/src/theme/utils/cleanColors.ts +71 -0
- package/src/theme/utils/toRgba.ts +150 -0
- package/src/types/content/content-view.types.ts +209 -0
- package/src/types/hook/index.ts +6 -0
- package/src/types/hook/usePaginatedSection.ts +20 -0
- package/src/types/index.ts +10 -0
- package/src/types/navigation.ts +17 -0
- package/src/types/sections/index.ts +87 -0
- package/src/types/user.ts +18 -0
- package/src/utils/Display.ts +15 -0
- package/src/utils/Formater.ts +33 -0
- package/src/utils/SizeMatters.ts +8 -0
- package/src/utils/Spacing.ts +27 -0
- package/src/utils/colorUtils.ts +70 -0
- package/src/utils/imageValidation.ts +36 -0
- package/src/utils/interaction.ts +19 -0
- package/lib/module/Styles/globalStyles.js +0 -71
- package/lib/module/Styles/globalStyles.js.map +0 -1
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +0 -295
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Content/index.js +0 -8
- package/lib/module/components/Content/index.js.map +0 -1
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/One/components/EpisodeCard.js +0 -398
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/One/components/GenreTags.js +0 -94
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +0 -1
- package/lib/module/components/ContentView/Two/components/AboutSection.js +0 -153
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/Two/components/GenreTags.js +0 -89
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +0 -1
- package/lib/module/components/Subscription/components/index.js +0 -5
- package/lib/module/components/Subscription/components/index.js.map +0 -1
- package/lib/module/hooks/Images/useImageValidation.js.map +0 -1
- package/lib/module/hooks/useThemeColors.js +0 -33
- package/lib/module/hooks/useThemeColors.js.map +0 -1
- package/lib/module/store/themeStore.js.map +0 -1
- package/lib/module/theme/hook/index.js +0 -4
- package/lib/module/theme/hook/index.js.map +0 -1
- package/lib/module/theme/hook/useInternalTheme.js +0 -78
- package/lib/module/theme/hook/useInternalTheme.js.map +0 -1
- package/lib/module/theme/utils/validateColor.js +0 -84
- package/lib/module/theme/utils/validateColor.js.map +0 -1
- package/lib/module/types/hook/usePaginatedSetion.js +0 -4
- package/lib/module/types/hook/usePaginatedSetion.js.map +0 -1
- package/lib/module/utils/PlatformSelector.js +0 -31
- package/lib/module/utils/PlatformSelector.js.map +0 -1
- package/lib/typescript/src/Styles/globalStyles.d.ts +0 -66
- package/lib/typescript/src/Styles/globalStyles.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts +0 -14
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Content/index.d.ts +0 -6
- package/lib/typescript/src/components/Content/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts +0 -23
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts +0 -18
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +0 -27
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +0 -22
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/Subscription/components/index.d.ts +0 -3
- package/lib/typescript/src/components/Subscription/components/index.d.ts.map +0 -1
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useThemeColors.d.ts +0 -27
- package/lib/typescript/src/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/src/store/themeStore.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -2
- package/lib/typescript/src/theme/hook/index.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts +0 -7
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +0 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +0 -21
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +0 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +0 -1
- package/lib/typescript/src/utils/PlatformSelector.d.ts +0 -22
- package/lib/typescript/src/utils/PlatformSelector.d.ts.map +0 -1
|
@@ -1,398 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @author Naresh Dhamu
|
|
5
|
-
* @lastModified Thu 03 Jul 2025 at 01:46 AM
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { useState, useMemo, useCallback, memo } from 'react';
|
|
9
|
-
import { View, FlatList, TouchableOpacity, StyleSheet } from 'react-native';
|
|
10
|
-
import FastImage from 'react-native-fast-image';
|
|
11
|
-
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
12
|
-
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
|
|
13
|
-
import { Text } from "../../../Text/index.js";
|
|
14
|
-
import Display from "../../../../utils/Display.js";
|
|
15
|
-
import { ThumbnailCard } from "../../../Content/Card/components/ThumbnailCard.js";
|
|
16
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
|
17
|
-
import RentOrBuyIcon from "../../../Content/Card/components/RentOrBuyIcon.js";
|
|
18
|
-
import { useInternalTheme } from "../../../../theme/hook/index.js";
|
|
19
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
-
// Constants
|
|
21
|
-
const SKELETON_COUNT = 3;
|
|
22
|
-
const LOADING_EPISODES = 4;
|
|
23
|
-
const THUMBNAIL_ASPECT_RATIO = 16 / 9;
|
|
24
|
-
const CARD_ELEVATION = 2;
|
|
25
|
-
const BORDER_WIDTH = scale(0.5);
|
|
26
|
-
const TAB_PADDING_HORIZONTAL = scale(10);
|
|
27
|
-
const TAB_PADDING_VERTICAL = verticalScale(6);
|
|
28
|
-
const TAB_MARGIN_RIGHT = scale(6);
|
|
29
|
-
const CONTAINER_PADDING_HORIZONTAL = scale(8);
|
|
30
|
-
const CONTAINER_GAP = verticalScale(8);
|
|
31
|
-
const TEXT_PADDING = scale(6);
|
|
32
|
-
const TITLE_FONT_SIZE = RFValue(11);
|
|
33
|
-
const SUBTITLE_FONT_SIZE = RFValue(9);
|
|
34
|
-
const SUBTITLE_LINE_HEIGHT = RFValue(13);
|
|
35
|
-
|
|
36
|
-
// Types
|
|
37
|
-
|
|
38
|
-
const formatDate = dateString => {
|
|
39
|
-
const date = new Date(dateString);
|
|
40
|
-
return date.toLocaleDateString('en-US', {
|
|
41
|
-
day: '2-digit',
|
|
42
|
-
month: 'short',
|
|
43
|
-
year: 'numeric'
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
// Memoized EpisodeCardItem
|
|
48
|
-
const EpisodeCardItem = /*#__PURE__*/memo(({
|
|
49
|
-
season_id,
|
|
50
|
-
season_number,
|
|
51
|
-
episode,
|
|
52
|
-
onPress,
|
|
53
|
-
isDarkMode,
|
|
54
|
-
theme,
|
|
55
|
-
style,
|
|
56
|
-
thumbnailHeight,
|
|
57
|
-
isLoading = false
|
|
58
|
-
}) => {
|
|
59
|
-
const handlePress = useCallback(() => {
|
|
60
|
-
if (!isLoading) {
|
|
61
|
-
onPress?.({
|
|
62
|
-
season_id,
|
|
63
|
-
episode_title: episode.name,
|
|
64
|
-
episode_id: episode._id,
|
|
65
|
-
episode_number: episode.number
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}, [isLoading, onPress, season_id, episode.name, episode._id, episode.number]);
|
|
69
|
-
const isVerticalMode = useMemo(() => style && style.width === Display.fullWidth - scale(16), [style]);
|
|
70
|
-
const cardStyle = useMemo(() => [styles.card, style, {
|
|
71
|
-
shadowColor: isVerticalMode ? 'transparent' : '#000',
|
|
72
|
-
shadowOffset: {
|
|
73
|
-
width: 0,
|
|
74
|
-
height: isVerticalMode ? 0 : 1
|
|
75
|
-
},
|
|
76
|
-
shadowOpacity: isVerticalMode ? 0 : 0.1,
|
|
77
|
-
shadowRadius: isVerticalMode ? 0 : 2,
|
|
78
|
-
backgroundColor: isVerticalMode ? 'transparent' : theme.colors.surfaceVariant,
|
|
79
|
-
flexDirection: isVerticalMode ? 'row' : 'column',
|
|
80
|
-
borderWidth: isVerticalMode ? 0 : isDarkMode ? 0 : BORDER_WIDTH,
|
|
81
|
-
borderColor: isVerticalMode ? 'transparent' : isDarkMode ? 'transparent' : theme.colors.border
|
|
82
|
-
}], [style, isVerticalMode, theme.colors.surfaceVariant, theme.colors.border, isDarkMode]);
|
|
83
|
-
const windowWidth = Display.fullWidth;
|
|
84
|
-
const thumbnailStyle = useMemo(() => [styles.thumbnailCommon, isVerticalMode ? {
|
|
85
|
-
borderRadius: moderateScale(6),
|
|
86
|
-
width: windowWidth * 0.45,
|
|
87
|
-
aspectRatio: THUMBNAIL_ASPECT_RATIO,
|
|
88
|
-
height: thumbnailHeight
|
|
89
|
-
} : {
|
|
90
|
-
borderRadius: 0,
|
|
91
|
-
height: thumbnailHeight
|
|
92
|
-
}], [isVerticalMode, thumbnailHeight, windowWidth]);
|
|
93
|
-
if (isLoading) {
|
|
94
|
-
return /*#__PURE__*/_jsx(View, {
|
|
95
|
-
style: cardStyle,
|
|
96
|
-
children: /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
97
|
-
backgroundColor: theme.colors.skeletonBaseColor,
|
|
98
|
-
highlightColor: theme.colors.skeletonHighlightColor,
|
|
99
|
-
children: isVerticalMode ? /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
100
|
-
flexDirection: "row",
|
|
101
|
-
alignItems: "flex-start",
|
|
102
|
-
width: "100%",
|
|
103
|
-
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
104
|
-
width: "45%",
|
|
105
|
-
aspectRatio: THUMBNAIL_ASPECT_RATIO,
|
|
106
|
-
borderRadius: moderateScale(6)
|
|
107
|
-
}), /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
108
|
-
width: "55%",
|
|
109
|
-
paddingLeft: scale(6),
|
|
110
|
-
justifyContent: "center",
|
|
111
|
-
paddingTop: scale(2),
|
|
112
|
-
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
113
|
-
width: "80%",
|
|
114
|
-
height: verticalScale(12),
|
|
115
|
-
borderRadius: moderateScale(4)
|
|
116
|
-
}), Array(4).fill(0).map((_, index) => /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
117
|
-
marginTop: verticalScale(5),
|
|
118
|
-
width: `${80 - index * 5}%`,
|
|
119
|
-
height: verticalScale(8),
|
|
120
|
-
borderRadius: moderateScale(4)
|
|
121
|
-
}, `skeleton_${index}`))]
|
|
122
|
-
})]
|
|
123
|
-
}) : /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
124
|
-
width: "100%",
|
|
125
|
-
height: thumbnailHeight + scale(40),
|
|
126
|
-
borderRadius: moderateScale(8)
|
|
127
|
-
})
|
|
128
|
-
})
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
132
|
-
activeOpacity: 0.85,
|
|
133
|
-
onPress: handlePress,
|
|
134
|
-
style: cardStyle,
|
|
135
|
-
accessibilityRole: "button",
|
|
136
|
-
accessibilityLabel: episode.name || `Episode ${episode.number}`,
|
|
137
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
138
|
-
style: [styles.cardContent, isVerticalMode && styles.cardGrid],
|
|
139
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
140
|
-
style: thumbnailStyle,
|
|
141
|
-
children: [/*#__PURE__*/_jsx(RentOrBuyIcon, {
|
|
142
|
-
theme: theme,
|
|
143
|
-
content_offering_type: episode.content_offering_type
|
|
144
|
-
}), /*#__PURE__*/_jsx(ThumbnailCard, {
|
|
145
|
-
thumbnailUri: episode.thumbnail,
|
|
146
|
-
theme: theme
|
|
147
|
-
// wrapperStyle={styles.thumbnail}
|
|
148
|
-
,
|
|
149
|
-
resizeMode: FastImage.resizeMode.cover
|
|
150
|
-
})]
|
|
151
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
152
|
-
style: [isVerticalMode ? styles.textRightHalf : styles.textWrapper],
|
|
153
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
154
|
-
numberOfLines: 1,
|
|
155
|
-
color: theme.colors.textPrimary,
|
|
156
|
-
style: styles.title,
|
|
157
|
-
children: episode.name || `Episode ${episode.number}`
|
|
158
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
159
|
-
color: theme.colors.onSurface,
|
|
160
|
-
style: {
|
|
161
|
-
fontSize: RFValue(9),
|
|
162
|
-
marginTop: verticalScale(2)
|
|
163
|
-
},
|
|
164
|
-
children: [`S${String(season_number).padStart(2, '0')} | E${String(episode.number).padStart(2, '0')} | `, episode.createdAt && formatDate(episode.createdAt)]
|
|
165
|
-
}), !!episode.description && /*#__PURE__*/_jsx(Text, {
|
|
166
|
-
numberOfLines: isVerticalMode ? 4 : 2,
|
|
167
|
-
color: theme.colors.textSecondary,
|
|
168
|
-
style: styles.subtitle,
|
|
169
|
-
children: episode.description
|
|
170
|
-
})]
|
|
171
|
-
})]
|
|
172
|
-
})
|
|
173
|
-
});
|
|
174
|
-
}, (prevProps, nextProps) => prevProps.season_id === nextProps.season_id && prevProps.episode._id === nextProps.episode._id && prevProps.isLoading === nextProps.isLoading && prevProps.thumbnailHeight === nextProps.thumbnailHeight && prevProps.theme === nextProps.theme);
|
|
175
|
-
|
|
176
|
-
// Main Component
|
|
177
|
-
export const EpisodeCard = /*#__PURE__*/React.memo(({
|
|
178
|
-
seasons,
|
|
179
|
-
onPress,
|
|
180
|
-
theme: themeOverride,
|
|
181
|
-
isLoading = false,
|
|
182
|
-
mode = 'horizontal'
|
|
183
|
-
}) => {
|
|
184
|
-
const {
|
|
185
|
-
isDarkMode,
|
|
186
|
-
theme
|
|
187
|
-
} = useInternalTheme(themeOverride);
|
|
188
|
-
const [selectedSeasonIndex, setSelectedSeasonIndex] = useState(0);
|
|
189
|
-
const windowWidth = Display.fullWidth;
|
|
190
|
-
const selectedSeason = useMemo(() => seasons[selectedSeasonIndex] || null, [seasons, selectedSeasonIndex]);
|
|
191
|
-
const cardWidth = useMemo(() => mode === 'horizontal' ? Math.min(windowWidth * 0.45, moderateScale(180)) : windowWidth - scale(16), [windowWidth, mode]);
|
|
192
|
-
const thumbnailHeight = useMemo(() => mode === 'vertical' ? verticalScale(100) : cardWidth * (9 / 16), [cardWidth, mode]);
|
|
193
|
-
const renderSeasonTab = useCallback(({
|
|
194
|
-
item: season,
|
|
195
|
-
index
|
|
196
|
-
}) => /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
197
|
-
activeOpacity: 0.7,
|
|
198
|
-
onPress: () => setSelectedSeasonIndex(index),
|
|
199
|
-
style: [styles.tab, {
|
|
200
|
-
backgroundColor: selectedSeasonIndex === index ? theme.colors.button : theme.colors.surfaceVariant,
|
|
201
|
-
borderColor: theme.colors.border
|
|
202
|
-
}],
|
|
203
|
-
accessibilityRole: "tab",
|
|
204
|
-
accessibilityState: {
|
|
205
|
-
selected: selectedSeasonIndex === index
|
|
206
|
-
},
|
|
207
|
-
accessibilityLabel: season.name || `Season ${index + 1}`,
|
|
208
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
209
|
-
style: [styles.tabText, {
|
|
210
|
-
color: selectedSeasonIndex === index ? theme.colors.buttonText : theme.colors.textPrimary
|
|
211
|
-
}],
|
|
212
|
-
children: season.name || `Season ${index + 1}`
|
|
213
|
-
})
|
|
214
|
-
}, season._id), [selectedSeasonIndex, theme]);
|
|
215
|
-
const renderEpisodeItem = useCallback(({
|
|
216
|
-
item
|
|
217
|
-
}) => selectedSeason ? /*#__PURE__*/_jsx(EpisodeCardItem, {
|
|
218
|
-
theme: theme,
|
|
219
|
-
season_id: selectedSeason._id,
|
|
220
|
-
episode: item,
|
|
221
|
-
isDarkMode: isDarkMode,
|
|
222
|
-
season_number: selectedSeason.season_number,
|
|
223
|
-
onPress: onPress,
|
|
224
|
-
style: {
|
|
225
|
-
width: cardWidth
|
|
226
|
-
},
|
|
227
|
-
thumbnailHeight: thumbnailHeight
|
|
228
|
-
}) : null, [selectedSeason, theme, isDarkMode, onPress, cardWidth, thumbnailHeight]);
|
|
229
|
-
const renderLoadingItem = useCallback(() => /*#__PURE__*/_jsx(EpisodeCardItem, {
|
|
230
|
-
theme: theme,
|
|
231
|
-
season_id: "",
|
|
232
|
-
isDarkMode: isDarkMode,
|
|
233
|
-
season_number: 0,
|
|
234
|
-
episode: {
|
|
235
|
-
_id: '',
|
|
236
|
-
number: 0,
|
|
237
|
-
thumbnail: '',
|
|
238
|
-
name: '',
|
|
239
|
-
description: '',
|
|
240
|
-
duration: 0,
|
|
241
|
-
source_link: '',
|
|
242
|
-
trailer_source_link: '',
|
|
243
|
-
subtitles: [],
|
|
244
|
-
createdAt: '',
|
|
245
|
-
updatedAt: '',
|
|
246
|
-
source_type: 'HLS',
|
|
247
|
-
content_offering_type: 'FREE',
|
|
248
|
-
status: true,
|
|
249
|
-
data: ''
|
|
250
|
-
},
|
|
251
|
-
onPress: onPress,
|
|
252
|
-
style: {
|
|
253
|
-
width: cardWidth
|
|
254
|
-
},
|
|
255
|
-
thumbnailHeight: thumbnailHeight,
|
|
256
|
-
isLoading: true
|
|
257
|
-
}), [theme, isDarkMode, onPress, cardWidth, thumbnailHeight]);
|
|
258
|
-
if (isLoading) {
|
|
259
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
260
|
-
style: [styles.container, {
|
|
261
|
-
backgroundColor: theme.colors.background
|
|
262
|
-
}],
|
|
263
|
-
children: [/*#__PURE__*/_jsx(FlatList, {
|
|
264
|
-
data: Array(SKELETON_COUNT).fill(0),
|
|
265
|
-
keyExtractor: (_, index) => `skeleton_tab_${index}`,
|
|
266
|
-
horizontal: true,
|
|
267
|
-
showsHorizontalScrollIndicator: false,
|
|
268
|
-
contentContainerStyle: styles.tabsContainer,
|
|
269
|
-
renderItem: () => /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
270
|
-
backgroundColor: theme.colors.skeletonBaseColor,
|
|
271
|
-
highlightColor: theme.colors.skeletonHighlightColor,
|
|
272
|
-
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
273
|
-
width: scale(80),
|
|
274
|
-
height: verticalScale(28),
|
|
275
|
-
borderRadius: moderateScale(16),
|
|
276
|
-
marginRight: TAB_MARGIN_RIGHT
|
|
277
|
-
})
|
|
278
|
-
})
|
|
279
|
-
}), /*#__PURE__*/_jsx(FlatList, {
|
|
280
|
-
data: Array(LOADING_EPISODES).fill({}),
|
|
281
|
-
keyExtractor: (_, index) => `loading_${index}`,
|
|
282
|
-
horizontal: mode === 'horizontal',
|
|
283
|
-
showsHorizontalScrollIndicator: false,
|
|
284
|
-
contentContainerStyle: styles.listContainer,
|
|
285
|
-
renderItem: renderLoadingItem
|
|
286
|
-
})]
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
if (!seasons?.length || !selectedSeason) {
|
|
290
|
-
return /*#__PURE__*/_jsx(View, {
|
|
291
|
-
style: styles.emptyContainer,
|
|
292
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
293
|
-
color: theme.colors.textSecondary,
|
|
294
|
-
children: "No seasons available"
|
|
295
|
-
})
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
299
|
-
style: [styles.container, {
|
|
300
|
-
backgroundColor: theme.colors.background
|
|
301
|
-
}],
|
|
302
|
-
children: [/*#__PURE__*/_jsx(FlatList, {
|
|
303
|
-
data: seasons,
|
|
304
|
-
renderItem: renderSeasonTab,
|
|
305
|
-
keyExtractor: item => item._id,
|
|
306
|
-
horizontal: true,
|
|
307
|
-
showsHorizontalScrollIndicator: false,
|
|
308
|
-
contentContainerStyle: styles.tabsContainer
|
|
309
|
-
}), /*#__PURE__*/_jsx(FlatList, {
|
|
310
|
-
data: selectedSeason.episodes || [],
|
|
311
|
-
keyExtractor: item => item._id,
|
|
312
|
-
horizontal: mode === 'horizontal',
|
|
313
|
-
showsHorizontalScrollIndicator: false,
|
|
314
|
-
contentContainerStyle: styles.listContainer,
|
|
315
|
-
renderItem: renderEpisodeItem,
|
|
316
|
-
ListEmptyComponent: /*#__PURE__*/_jsx(View, {
|
|
317
|
-
style: styles.emptyContainer,
|
|
318
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
319
|
-
color: theme.colors.textSecondary,
|
|
320
|
-
children: "No episodes available"
|
|
321
|
-
})
|
|
322
|
-
})
|
|
323
|
-
})]
|
|
324
|
-
});
|
|
325
|
-
});
|
|
326
|
-
|
|
327
|
-
// Styles
|
|
328
|
-
const styles = StyleSheet.create({
|
|
329
|
-
container: {
|
|
330
|
-
paddingVertical: verticalScale(4),
|
|
331
|
-
flexDirection: 'column',
|
|
332
|
-
gap: CONTAINER_GAP
|
|
333
|
-
},
|
|
334
|
-
tabsContainer: {
|
|
335
|
-
paddingHorizontal: CONTAINER_PADDING_HORIZONTAL
|
|
336
|
-
},
|
|
337
|
-
tab: {
|
|
338
|
-
paddingHorizontal: TAB_PADDING_HORIZONTAL,
|
|
339
|
-
paddingVertical: TAB_PADDING_VERTICAL,
|
|
340
|
-
borderRadius: moderateScale(16),
|
|
341
|
-
marginRight: TAB_MARGIN_RIGHT,
|
|
342
|
-
borderWidth: BORDER_WIDTH
|
|
343
|
-
},
|
|
344
|
-
tabText: {
|
|
345
|
-
fontSize: TITLE_FONT_SIZE,
|
|
346
|
-
fontWeight: '600'
|
|
347
|
-
},
|
|
348
|
-
listContainer: {
|
|
349
|
-
paddingHorizontal: CONTAINER_PADDING_HORIZONTAL,
|
|
350
|
-
gap: CONTAINER_GAP
|
|
351
|
-
},
|
|
352
|
-
card: {
|
|
353
|
-
borderRadius: moderateScale(8),
|
|
354
|
-
overflow: 'hidden',
|
|
355
|
-
elevation: CARD_ELEVATION
|
|
356
|
-
},
|
|
357
|
-
cardContent: {
|
|
358
|
-
flexDirection: 'column',
|
|
359
|
-
width: '100%'
|
|
360
|
-
},
|
|
361
|
-
cardGrid: {
|
|
362
|
-
flexDirection: 'row',
|
|
363
|
-
alignItems: 'flex-start'
|
|
364
|
-
},
|
|
365
|
-
thumbnailCommon: {
|
|
366
|
-
overflow: 'hidden',
|
|
367
|
-
backgroundColor: '#ccc',
|
|
368
|
-
width: '100%'
|
|
369
|
-
},
|
|
370
|
-
thumbnail: {
|
|
371
|
-
width: '100%',
|
|
372
|
-
height: '100%'
|
|
373
|
-
},
|
|
374
|
-
textWrapper: {
|
|
375
|
-
padding: TEXT_PADDING
|
|
376
|
-
},
|
|
377
|
-
textRightHalf: {
|
|
378
|
-
flex: 1,
|
|
379
|
-
width: '55%',
|
|
380
|
-
paddingHorizontal: TEXT_PADDING,
|
|
381
|
-
justifyContent: 'center'
|
|
382
|
-
},
|
|
383
|
-
title: {
|
|
384
|
-
fontSize: TITLE_FONT_SIZE,
|
|
385
|
-
fontWeight: '600'
|
|
386
|
-
},
|
|
387
|
-
subtitle: {
|
|
388
|
-
fontSize: SUBTITLE_FONT_SIZE,
|
|
389
|
-
lineHeight: SUBTITLE_LINE_HEIGHT,
|
|
390
|
-
opacity: 0.8,
|
|
391
|
-
marginTop: verticalScale(2)
|
|
392
|
-
},
|
|
393
|
-
emptyContainer: {
|
|
394
|
-
padding: CONTAINER_PADDING_HORIZONTAL,
|
|
395
|
-
alignItems: 'center'
|
|
396
|
-
}
|
|
397
|
-
});
|
|
398
|
-
//# sourceMappingURL=EpisodeCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useMemo","useCallback","memo","View","FlatList","TouchableOpacity","StyleSheet","FastImage","SkeletonPlaceholder","scale","verticalScale","moderateScale","Text","Display","ThumbnailCard","RFValue","RentOrBuyIcon","useInternalTheme","jsx","_jsx","jsxs","_jsxs","SKELETON_COUNT","LOADING_EPISODES","THUMBNAIL_ASPECT_RATIO","CARD_ELEVATION","BORDER_WIDTH","TAB_PADDING_HORIZONTAL","TAB_PADDING_VERTICAL","TAB_MARGIN_RIGHT","CONTAINER_PADDING_HORIZONTAL","CONTAINER_GAP","TEXT_PADDING","TITLE_FONT_SIZE","SUBTITLE_FONT_SIZE","SUBTITLE_LINE_HEIGHT","formatDate","dateString","date","Date","toLocaleDateString","day","month","year","EpisodeCardItem","season_id","season_number","episode","onPress","isDarkMode","theme","style","thumbnailHeight","isLoading","handlePress","episode_title","name","episode_id","_id","episode_number","number","isVerticalMode","width","fullWidth","cardStyle","styles","card","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","backgroundColor","colors","surfaceVariant","flexDirection","borderWidth","borderColor","border","windowWidth","thumbnailStyle","thumbnailCommon","borderRadius","aspectRatio","children","skeletonBaseColor","highlightColor","skeletonHighlightColor","Item","alignItems","paddingLeft","justifyContent","paddingTop","Array","fill","map","_","index","marginTop","activeOpacity","accessibilityRole","accessibilityLabel","cardContent","cardGrid","content_offering_type","thumbnailUri","thumbnail","resizeMode","cover","textRightHalf","textWrapper","numberOfLines","color","textPrimary","title","onSurface","fontSize","String","padStart","createdAt","description","textSecondary","subtitle","prevProps","nextProps","EpisodeCard","seasons","themeOverride","mode","selectedSeasonIndex","setSelectedSeasonIndex","selectedSeason","cardWidth","Math","min","renderSeasonTab","item","season","tab","button","accessibilityState","selected","tabText","buttonText","renderEpisodeItem","renderLoadingItem","duration","source_link","trailer_source_link","subtitles","updatedAt","source_type","status","data","container","background","keyExtractor","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","tabsContainer","renderItem","marginRight","listContainer","length","emptyContainer","episodes","ListEmptyComponent","create","paddingVertical","gap","paddingHorizontal","fontWeight","overflow","elevation","padding","flex","lineHeight","opacity"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/One/components/EpisodeCard.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,OAAO,EAAEC,WAAW,EAAEC,IAAI,QAAQ,OAAO;AACnE,SAASC,IAAI,EAAEC,QAAQ,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,cAAc;AAC3E,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,KAAK,EAAEC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AAC/E,SAASC,IAAI,QAAQ,wBAAe;AACpC,OAAOC,OAAO,MAAM,8BAA2B;AAE/C,SAASC,aAAa,QAAQ,mDAAgD;AAC9E,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,OAAOC,aAAa,MAAM,mDAAgD;AAC1E,SAASC,gBAAgB,QAAQ,iCAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAM1D;AACA,MAAMC,cAAc,GAAG,CAAC;AACxB,MAAMC,gBAAgB,GAAG,CAAC;AAC1B,MAAMC,sBAAsB,GAAG,EAAE,GAAG,CAAC;AACrC,MAAMC,cAAc,GAAG,CAAC;AACxB,MAAMC,YAAY,GAAGjB,KAAK,CAAC,GAAG,CAAC;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,KAAK,EAAE,KAAK;IACZ6G,iBAAiB,EAAE3I,YAAY;IAC/B2D,cAAc,EAAE;EAClB,CAAC;EACDuB,KAAK,EAAE;IACLE,QAAQ,EAAEnF,eAAe;IACzB2I,UAAU,EAAE;EACd,CAAC;EACDlD,QAAQ,EAAE;IACRN,QAAQ,EAAElF,kBAAkB;IAC5B+I,UAAU,EAAE9I,oBAAoB;IAChC+I,OAAO,EAAE,GAAG;IACZhF,SAAS,EAAExF,aAAa,CAAC,CAAC;EAC5B,CAAC;EACD2J,cAAc,EAAE;IACdU,OAAO,EAAEjJ,4BAA4B;IACrC2D,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @author Naresh Dhamu
|
|
5
|
-
* @lastModified Tue 01 Jul 2025 at 02:28 PM
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { useMemo } from 'react';
|
|
9
|
-
import { useSkeletonItems } from "../../../../hooks/useSkeletonItems.js";
|
|
10
|
-
import { View, StyleSheet } from 'react-native';
|
|
11
|
-
import { Text } from "../../../Text/index.js";
|
|
12
|
-
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
13
|
-
import { scale, verticalScale } from 'react-native-size-matters';
|
|
14
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
|
15
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
|
-
export const GenreTags = /*#__PURE__*/React.memo(({
|
|
17
|
-
genres,
|
|
18
|
-
theme,
|
|
19
|
-
isLoading = false,
|
|
20
|
-
style
|
|
21
|
-
}) => {
|
|
22
|
-
// Memoize skeleton array
|
|
23
|
-
const skeletonItems = useSkeletonItems(3, i => i + 1);
|
|
24
|
-
|
|
25
|
-
// Memoize tag container base style
|
|
26
|
-
const tagContainerBaseStyle = useMemo(() => ({
|
|
27
|
-
backgroundColor: theme.colors.surfaceVariant,
|
|
28
|
-
borderColor: theme.colors.border
|
|
29
|
-
}), [theme.colors.surfaceVariant, theme.colors.border]);
|
|
30
|
-
|
|
31
|
-
// Memoize tag text style
|
|
32
|
-
const tagTextStyle = useMemo(() => [styles.tagText, {
|
|
33
|
-
color: theme.colors.textPrimary
|
|
34
|
-
}, style?.tagText], [theme.colors.textPrimary, style?.tagText]);
|
|
35
|
-
|
|
36
|
-
// Memoize container style
|
|
37
|
-
const containerStyleMemo = useMemo(() => StyleSheet.flatten([styles.tagRow, style?.container]), [style?.container]);
|
|
38
|
-
const showSkeleton = isLoading;
|
|
39
|
-
if (showSkeleton) {
|
|
40
|
-
return /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
41
|
-
backgroundColor: theme.colors.skeletonBaseColor,
|
|
42
|
-
highlightColor: theme.colors.skeletonHighlightColor,
|
|
43
|
-
borderRadius: scale(16),
|
|
44
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
45
|
-
style: containerStyleMemo,
|
|
46
|
-
children: skeletonItems.map((_, idx) => /*#__PURE__*/_jsx(View, {
|
|
47
|
-
style: StyleSheet.flatten([styles.skeletonTag, style?.skeletonTag])
|
|
48
|
-
}, idx))
|
|
49
|
-
})
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
if (!genres?.length) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return /*#__PURE__*/_jsx(View, {
|
|
56
|
-
style: containerStyleMemo,
|
|
57
|
-
children: genres.map((tag, idx) => /*#__PURE__*/_jsx(View, {
|
|
58
|
-
style: StyleSheet.flatten([styles.tagContainer, tagContainerBaseStyle, style?.tagContainer]),
|
|
59
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
60
|
-
style: tagTextStyle,
|
|
61
|
-
numberOfLines: 1,
|
|
62
|
-
ellipsizeMode: "tail",
|
|
63
|
-
children: tag?.name || String(tag)
|
|
64
|
-
})
|
|
65
|
-
}, idx))
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
const styles = StyleSheet.create({
|
|
69
|
-
tagRow: {
|
|
70
|
-
flexDirection: 'row',
|
|
71
|
-
flexWrap: 'wrap',
|
|
72
|
-
gap: scale(4),
|
|
73
|
-
paddingHorizontal: scale(10),
|
|
74
|
-
marginVertical: verticalScale(6)
|
|
75
|
-
},
|
|
76
|
-
tagContainer: {
|
|
77
|
-
paddingHorizontal: scale(10),
|
|
78
|
-
paddingVertical: scale(4),
|
|
79
|
-
borderWidth: scale(0.5),
|
|
80
|
-
borderRadius: scale(14),
|
|
81
|
-
maxWidth: '100%',
|
|
82
|
-
alignSelf: 'flex-start'
|
|
83
|
-
},
|
|
84
|
-
tagText: {
|
|
85
|
-
fontSize: RFValue(9),
|
|
86
|
-
maxWidth: scale(110)
|
|
87
|
-
},
|
|
88
|
-
skeletonTag: {
|
|
89
|
-
width: scale(56),
|
|
90
|
-
height: scale(24),
|
|
91
|
-
borderRadius: scale(14)
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
//# sourceMappingURL=GenreTags.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","useSkeletonItems","View","StyleSheet","Text","SkeletonPlaceholder","scale","verticalScale","RFValue","jsx","_jsx","GenreTags","memo","genres","theme","isLoading","style","skeletonItems","i","tagContainerBaseStyle","backgroundColor","colors","surfaceVariant","borderColor","border","tagTextStyle","styles","tagText","color","textPrimary","containerStyleMemo","flatten","tagRow","container","showSkeleton","skeletonBaseColor","highlightColor","skeletonHighlightColor","borderRadius","children","map","_","idx","skeletonTag","length","tag","tagContainer","numberOfLines","ellipsizeMode","name","String","create","flexDirection","flexWrap","gap","paddingHorizontal","marginVertical","paddingVertical","borderWidth","maxWidth","alignSelf","fontSize","width","height"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/One/components/GenreTags.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,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aAAa,EAAE,KAAK;IACpBC,QAAQ,EAAE,MAAM;IAChBC,GAAG,EAAEhD,KAAK,CAAC,CAAC,CAAC;IACbiD,iBAAiB,EAAEjD,KAAK,CAAC,EAAE,CAAC;IAC5BkD,cAAc,EAAEjD,aAAa,CAAC,CAAC;EACjC,CAAC;EACDuC,YAAY,EAAE;IACZS,iBAAiB,EAAEjD,KAAK,CAAC,EAAE,CAAC;IAC5BmD,eAAe,EAAEnD,KAAK,CAAC,CAAC,CAAC;IACzBoD,WAAW,EAAEpD,KAAK,CAAC,GAAG,CAAC;IACvBgC,YAAY,EAAEhC,KAAK,CAAC,EAAE,CAAC;IACvBqD,QAAQ,EAAE,MAAM;IAChBC,SAAS,EAAE;EACb,CAAC;EACDjC,OAAO,EAAE;IACPkC,QAAQ,EAAErD,OAAO,CAAC,CAAC,CAAC;IACpBmD,QAAQ,EAAErD,KAAK,CAAC,GAAG;EACrB,CAAC;EACDqC,WAAW,EAAE;IACXmB,KAAK,EAAExD,KAAK,CAAC,EAAE,CAAC;IAChByD,MAAM,EAAEzD,KAAK,CAAC,EAAE,CAAC;IACjBgC,YAAY,EAAEhC,KAAK,CAAC,EAAE;EACxB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","TouchableOpacity","StyleSheet","PlayCircleIcon","moderateScale","scale","verticalScale","useSafePressHandler","jsx","_jsx","PlayButton","memo","onPress","size","color","backgroundColor","buttonStyle","styles","button","borderRadius","handlePress","activeOpacity","style","children","create","padding","marginBottom","alignItems","justifyContent"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/One/components/PlayButton.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SACEC,gBAAgB,EAChBC,UAAU,QAEL,cAAc;AACrB,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAASC,aAAa,EAAEC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAC/E,SAASC,mBAAmB,QAAQ,sCAAmC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AASxE,OAAO,MAAMC,UAAU,gBAAGX,KAAK,CAACY,IAAI,CAClC,CAAC;EACCC,OAAO;EACPC,IAAI,GAAGR,KAAK,CAAC,EAAE,CAAC;EAChBS,KAAK,GAAG,OAAO;EACfC,eAAe,GAAG;AACb,CAAC,KAAK;EACX,MAAMC,WAAW,GAAGhB,OAAO,CACzB,MAAM,CAACiB,MAAM,CAACC,MAAM,EAAE;IAAEH,eAAe;IAAEI,YAAY,EAAEN;EAAK,CAAC,CAAC,EAC9D,CAACE,eAAe,EAAEF,IAAI,CACxB,CAAC;EAED,MAAMO,WAAW,GAAGb,mBAAmB,CAACK,OAAO,CAAC;EAEhD,oBACEH,IAAA,CAACR,gBAAgB;IACfoB,aAAa,EAAE,GAAI;IACnBT,OAAO,EAAEQ,WAAY;IACrBE,KAAK,EAAEN,WAAY;IAAAO,QAAA,eAEnBd,IAAA,CAACN,cAAc;MAACU,IAAI,EAAEA,IAAK;MAACC,KAAK,EAAEA;IAAM,CAAE;EAAC,CAC5B,CAAC;AAEvB,CACF,CAAC;AAED,MAAMG,MAAM,GAAGf,UAAU,CAACsB,MAAM,CAAC;EAC/BN,MAAM,EAAE;IACNO,OAAO,EAAErB,aAAa,CAAC,CAAC,CAAC;IACzBsB,YAAY,EAAEpB,aAAa,CAAC,EAAE,CAAC;IAC/BqB,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","PlayCircle","TouchableOpacity","StyleSheet","scale","verticalScale","moderateScale","Text","useSafePressHandler","jsx","_jsx","jsxs","_jsxs","TrailerButton","memo","onPress","label","iconSize","color","backgroundColor","textStyle","style","buttonStyle","styles","button","textStyleMemo","text","handlePress","activeOpacity","children","size","create","flexDirection","paddingVertical","paddingHorizontal","borderRadius","alignItems","fontWeight","fontSize","marginLeft"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/One/components/TrailerButton.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,UAAU,QAAQ,qBAAqB;AAChD,SACEC,gBAAgB,EAChBC,UAAU,QAIL,cAAc;AACrB,SAASC,KAAK,EAAEC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AAC/E,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,mBAAmB,QAAQ,sCAAmC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYxE,OAAO,MAAMC,aAAa,gBAAGd,KAAK,CAACe,IAAI,CACrC,CAAC;EACCC,OAAO;EACPC,KAAK,GAAG,eAAe;EACvBC,QAAQ,GAAGb,KAAK,CAAC,EAAE,CAAC;EACpBc,KAAK,GAAG,MAAM;EACdC,eAAe,GAAG,SAAS;EAC3BC,SAAS;EACTC;AACK,CAAC,KAAK;EACX,MAAMC,WAAW,GAAGtB,OAAO,CACzB,MAAM,CAACuB,MAAM,CAACC,MAAM,EAAE;IAAEL;EAAgB,CAAC,EAAEE,KAAK,CAAC,EACjD,CAACF,eAAe,EAAEE,KAAK,CACzB,CAAC;EAED,MAAMI,aAAa,GAAGzB,OAAO,CAAC,MAAM,CAACuB,MAAM,CAACG,IAAI,EAAEN,SAAS,CAAC,EAAE,CAACA,SAAS,CAAC,CAAC;EAE1E,MAAMO,WAAW,GAAGnB,mBAAmB,CAACO,OAAO,CAAC;EAEhD,oBACEH,KAAA,CAACV,gBAAgB;IACfa,OAAO,EAAEY,WAAY;IACrBC,aAAa,EAAE,GAAI;IACnBP,KAAK,EAAEC,WAAY;IAAAO,QAAA,gBAEnBnB,IAAA,CAACT,UAAU;MAAC6B,IAAI,EAAEb,QAAS;MAACC,KAAK,EAAEA;IAAM,CAAE,CAAC,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