@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (667) hide show
  1. package/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
  2. package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
  3. package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
  4. package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
  5. package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
  6. package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
  7. package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
  8. package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
  9. package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
  10. package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
  11. package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
  12. package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
  13. package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
  14. package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
  15. package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
  16. package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
  17. package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
  18. package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
  19. package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
  20. package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
  21. package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
  22. package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
  23. package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
  24. package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
  25. package/lib/module/components/Auth/One/index.js +25 -0
  26. package/lib/module/components/Auth/One/index.js.map +1 -0
  27. package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
  28. package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
  29. package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
  30. package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
  31. package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
  32. package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
  33. package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
  34. package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
  35. package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
  36. package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
  37. package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
  38. package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
  39. package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
  40. package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
  41. package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
  42. package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
  43. package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
  44. package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
  45. package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
  46. package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
  47. package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
  48. package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
  49. package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
  50. package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
  51. package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
  52. package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
  53. package/lib/module/components/Auth/Two/index.js +29 -0
  54. package/lib/module/components/Auth/Two/index.js.map +1 -0
  55. package/lib/module/components/Auth/index.js +7 -22
  56. package/lib/module/components/Auth/index.js.map +1 -1
  57. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
  58. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  59. package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
  60. package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
  61. package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
  62. package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
  63. package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
  64. package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
  65. package/lib/module/components/BottomSheet/index.js +1 -0
  66. package/lib/module/components/BottomSheet/index.js.map +1 -1
  67. package/lib/module/components/Button/PrimaryBtn.js +16 -6
  68. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  69. package/lib/module/components/Content/Card/Category/Category.js +88 -13
  70. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  71. package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
  72. package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
  73. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
  74. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  75. package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
  76. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  77. package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
  78. package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
  79. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
  80. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  81. package/lib/module/components/Content/Card/Sliders/index.js +3 -1
  82. package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
  83. package/lib/module/components/Content/Card/Styles/Five.js +132 -48
  84. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  85. package/lib/module/components/Content/Card/Styles/Four.js +127 -59
  86. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  87. package/lib/module/components/Content/Card/Styles/One.js +126 -50
  88. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  89. package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
  90. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  91. package/lib/module/components/Content/Card/Styles/Six.js +207 -115
  92. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  93. package/lib/module/components/Content/Card/Styles/Three.js +119 -94
  94. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  95. package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
  96. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  97. package/lib/module/components/Content/Card/Styles/Two.js +145 -64
  98. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  99. package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
  100. package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
  101. package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
  102. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  103. package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
  104. package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
  105. package/lib/module/components/Content/Card/components/index.js +4 -0
  106. package/lib/module/components/Content/Card/components/index.js.map +1 -0
  107. package/lib/module/components/Content/Content.js +90 -33
  108. package/lib/module/components/Content/Content.js.map +1 -1
  109. package/lib/module/components/Content/Sections.js +41 -11
  110. package/lib/module/components/Content/Sections.js.map +1 -1
  111. package/lib/module/components/Content/types.js +4 -0
  112. package/lib/module/components/Content/types.js.map +1 -0
  113. package/lib/module/components/ContentView/MoreContentList.js +1 -0
  114. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  115. package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
  116. package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
  117. package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
  118. package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
  119. package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
  120. package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
  121. package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
  122. package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
  123. package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
  124. package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
  125. package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
  126. package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
  127. package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
  128. package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
  129. package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
  130. package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
  131. package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
  132. package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
  133. package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
  134. package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
  135. package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
  136. package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
  137. package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
  138. package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
  139. package/lib/module/components/ContentView/Two/components/Details.js +156 -0
  140. package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
  141. package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
  142. package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
  143. package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
  144. package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
  145. package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
  146. package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
  147. package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
  148. package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
  149. package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
  150. package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
  151. package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
  152. package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
  153. package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
  154. package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
  155. package/lib/module/components/ContentView/Two/components/Title.js +146 -0
  156. package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
  157. package/lib/module/components/ContentView/Two/components/index.js +18 -0
  158. package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
  159. package/lib/module/components/ContentView/index.js +6 -1
  160. package/lib/module/components/ContentView/index.js.map +1 -1
  161. package/lib/module/components/Headers/Four.js +68 -0
  162. package/lib/module/components/Headers/Four.js.map +1 -0
  163. package/lib/module/components/Headers/Three.js +75 -24
  164. package/lib/module/components/Headers/Three.js.map +1 -1
  165. package/lib/module/components/Headers/index.js +3 -1
  166. package/lib/module/components/Headers/index.js.map +1 -1
  167. package/lib/module/components/Input/Input.js +5 -1
  168. package/lib/module/components/Input/Input.js.map +1 -1
  169. package/lib/module/components/Input/InputThree.js +157 -0
  170. package/lib/module/components/Input/InputThree.js.map +1 -0
  171. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  172. package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
  173. package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
  174. package/lib/module/components/Loader/Loader.js +14 -6
  175. package/lib/module/components/Loader/Loader.js.map +1 -1
  176. package/lib/module/components/Logo/Logo.js +42 -17
  177. package/lib/module/components/Logo/Logo.js.map +1 -1
  178. package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
  179. package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
  180. package/lib/module/components/NewRelease/index.js +4 -0
  181. package/lib/module/components/NewRelease/index.js.map +1 -0
  182. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
  183. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
  184. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
  185. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
  186. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
  187. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
  188. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
  189. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
  190. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
  191. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
  192. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
  193. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
  194. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
  195. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
  196. package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
  197. package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
  198. package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
  199. package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
  200. package/lib/module/components/Reels/index.js +1 -0
  201. package/lib/module/components/Reels/index.js.map +1 -1
  202. package/lib/module/components/Search/One.js +7 -4
  203. package/lib/module/components/Search/One.js.map +1 -1
  204. package/lib/module/components/Search/components/SearchCard.js +59 -7
  205. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  206. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
  207. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
  208. package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
  209. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  210. package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
  211. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  212. package/lib/module/components/common/AppStatusBar.js +2 -1
  213. package/lib/module/components/common/AppStatusBar.js.map +1 -1
  214. package/lib/module/components/index.js +1 -0
  215. package/lib/module/components/index.js.map +1 -1
  216. package/lib/module/constants/dummySections.js +47 -5
  217. package/lib/module/constants/dummySections.js.map +1 -1
  218. package/lib/module/hooks/Images/index.js +5 -0
  219. package/lib/module/hooks/Images/index.js.map +1 -0
  220. package/lib/module/hooks/Images/useImageLoader.js +168 -0
  221. package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
  222. package/lib/module/hooks/Images/useImageValidation.js +36 -0
  223. package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
  224. package/lib/module/hooks/index.js +3 -0
  225. package/lib/module/hooks/index.js.map +1 -1
  226. package/lib/module/hooks/useAdTracking.js +270 -0
  227. package/lib/module/hooks/useAdTracking.js.map +1 -0
  228. package/lib/module/hooks/useCards.js +164 -0
  229. package/lib/module/hooks/useCards.js.map +1 -0
  230. package/lib/module/hooks/usePaginatedSection.js +11 -6
  231. package/lib/module/hooks/usePaginatedSection.js.map +1 -1
  232. package/lib/module/hooks/useSplashCache.js +78 -60
  233. package/lib/module/hooks/useSplashCache.js.map +1 -1
  234. package/lib/module/theme/ThemeProvider.js +14 -2
  235. package/lib/module/theme/ThemeProvider.js.map +1 -1
  236. package/lib/module/theme/hook/index.js +0 -1
  237. package/lib/module/theme/hook/index.js.map +1 -1
  238. package/lib/module/theme/hook/useInternalTheme.js +21 -7
  239. package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
  240. package/lib/module/theme/themes.js +2 -0
  241. package/lib/module/theme/themes.js.map +1 -1
  242. package/lib/module/theme/utils/validateColor.js +84 -0
  243. package/lib/module/theme/utils/validateColor.js.map +1 -0
  244. package/lib/module/utils/colorUtils.js +68 -0
  245. package/lib/module/utils/colorUtils.js.map +1 -0
  246. package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
  247. package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
  248. package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
  249. package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
  250. package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
  251. package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
  252. package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
  253. package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
  254. package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
  255. package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
  256. package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
  257. package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
  258. package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
  259. package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
  260. package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
  261. package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
  262. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
  263. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
  264. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
  265. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
  266. package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
  267. package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
  268. package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
  269. package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
  270. package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
  271. package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
  272. package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
  273. package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
  274. package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
  275. package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
  276. package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
  277. package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
  278. package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
  279. package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
  280. package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
  281. package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
  282. package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
  283. package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
  284. package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
  285. package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
  286. package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
  287. package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
  288. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
  289. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
  290. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
  291. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
  292. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
  293. package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
  294. package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
  295. package/lib/typescript/src/components/Auth/index.d.ts +447 -232
  296. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  297. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  298. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
  299. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
  300. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  301. package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
  302. package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
  303. package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
  304. package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
  305. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
  306. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  307. package/lib/typescript/src/components/Button/index.d.ts +1 -0
  308. package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
  309. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  310. package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
  311. package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
  312. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  313. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  314. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
  315. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
  316. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  317. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
  318. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
  319. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
  320. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  321. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
  322. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  323. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
  324. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  325. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
  326. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  327. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
  328. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  329. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
  330. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  331. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
  332. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  333. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
  334. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  335. package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
  336. package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
  337. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
  338. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  339. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +3 -0
  340. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
  341. package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
  342. package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
  343. package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
  344. package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
  345. package/lib/typescript/src/components/Content/Content.d.ts +2 -51
  346. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  347. package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
  348. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  349. package/lib/typescript/src/components/Content/types.d.ts +149 -0
  350. package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
  351. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  352. package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
  353. package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
  354. package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
  355. package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
  356. package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
  357. package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
  358. package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
  359. package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
  360. package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
  361. package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
  362. package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
  363. package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
  364. package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
  365. package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
  366. package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
  367. package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
  368. package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
  369. package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
  370. package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
  371. package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
  372. package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
  373. package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
  374. package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
  375. package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
  376. package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
  377. package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
  378. package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
  379. package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
  380. package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
  381. package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
  382. package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
  383. package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
  384. package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
  385. package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
  386. package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
  387. package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
  388. package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
  389. package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
  390. package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
  391. package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
  392. package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
  393. package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
  394. package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
  395. package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
  396. package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
  397. package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
  398. package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
  399. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  400. package/lib/typescript/src/components/Headers/index.d.ts +1 -0
  401. package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
  402. package/lib/typescript/src/components/Input/Input.d.ts +2 -0
  403. package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
  404. package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
  405. package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
  406. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  407. package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
  408. package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
  409. package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
  410. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
  411. package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
  412. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  413. package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
  414. package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
  415. package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
  416. package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
  417. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
  418. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
  419. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
  420. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
  421. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
  422. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
  423. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
  424. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
  425. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
  426. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
  427. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
  428. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
  429. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
  430. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
  431. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
  432. package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
  433. package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
  434. package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
  435. package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
  436. package/lib/typescript/src/components/Reels/index.d.ts +1 -0
  437. package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
  438. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  439. package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
  440. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  441. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
  442. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  443. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  444. package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -0
  445. package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
  446. package/lib/typescript/src/components/index.d.ts +1 -0
  447. package/lib/typescript/src/components/index.d.ts.map +1 -1
  448. package/lib/typescript/src/constants/dummySections.d.ts +8 -1
  449. package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
  450. package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
  451. package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
  452. package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
  453. package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
  454. package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
  455. package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
  456. package/lib/typescript/src/hooks/index.d.ts +3 -0
  457. package/lib/typescript/src/hooks/index.d.ts.map +1 -1
  458. package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
  459. package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
  460. package/lib/typescript/src/hooks/useCards.d.ts +36 -0
  461. package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
  462. package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
  463. package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
  464. package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
  465. package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
  466. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  467. package/lib/typescript/src/theme/hook/index.d.ts +0 -1
  468. package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
  469. package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
  470. package/lib/typescript/src/theme/themes.d.ts +1 -0
  471. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  472. package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
  473. package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
  474. package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
  475. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  476. package/lib/typescript/src/types/sections/index.d.ts +7 -4
  477. package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
  478. package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
  479. package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
  480. package/package.json +13 -4
  481. package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
  482. package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
  483. package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
  484. package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
  485. package/src/components/Auth/One/OTP/OTP.tsx +465 -0
  486. package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
  487. package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
  488. package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
  489. package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
  490. package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
  491. package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
  492. package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
  493. package/src/components/Auth/One/index.ts +24 -0
  494. package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
  495. package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
  496. package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
  497. package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
  498. package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
  499. package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
  500. package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
  501. package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
  502. package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
  503. package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
  504. package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
  505. package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
  506. package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
  507. package/src/components/Auth/Two/index.ts +28 -0
  508. package/src/components/Auth/index.ts +7 -22
  509. package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
  510. package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
  511. package/src/components/BottomSheet/BottomSheet.tsx +6 -1
  512. package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
  513. package/src/components/BottomSheet/index.ts +2 -0
  514. package/src/components/Button/PrimaryBtn.tsx +10 -2
  515. package/src/components/Content/Card/Category/Category.tsx +104 -10
  516. package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
  517. package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
  518. package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
  519. package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
  520. package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
  521. package/src/components/Content/Card/Sliders/index.ts +2 -0
  522. package/src/components/Content/Card/Styles/Five.tsx +162 -62
  523. package/src/components/Content/Card/Styles/Four.tsx +165 -85
  524. package/src/components/Content/Card/Styles/One.tsx +162 -71
  525. package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
  526. package/src/components/Content/Card/Styles/Six.tsx +242 -142
  527. package/src/components/Content/Card/Styles/Three.tsx +160 -162
  528. package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
  529. package/src/components/Content/Card/Styles/Two.tsx +183 -79
  530. package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
  531. package/src/components/Content/Card/components/CardPoster.tsx +250 -151
  532. package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
  533. package/src/components/Content/Card/components/index.ts +1 -0
  534. package/src/components/Content/Content.tsx +103 -119
  535. package/src/components/Content/Sections.tsx +51 -45
  536. package/src/components/Content/types.ts +176 -0
  537. package/src/components/ContentView/MoreContentList.tsx +1 -0
  538. package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
  539. package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
  540. package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
  541. package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
  542. package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
  543. package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
  544. package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
  545. package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
  546. package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
  547. package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
  548. package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
  549. package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
  550. package/src/components/ContentView/Two/components/Details.tsx +193 -0
  551. package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
  552. package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
  553. package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
  554. package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
  555. package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
  556. package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
  557. package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
  558. package/src/components/ContentView/Two/components/Title.tsx +226 -0
  559. package/src/components/ContentView/Two/components/index.ts +15 -0
  560. package/src/components/ContentView/index.ts +7 -1
  561. package/src/components/Headers/Four.tsx +83 -0
  562. package/src/components/Headers/Three.tsx +88 -25
  563. package/src/components/Headers/index.ts +2 -0
  564. package/src/components/Input/Input.ts +4 -0
  565. package/src/components/Input/InputThree.tsx +212 -0
  566. package/src/components/Input/PhoneNumberInput.tsx +4 -2
  567. package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
  568. package/src/components/Loader/Loader.tsx +25 -9
  569. package/src/components/Logo/Logo.tsx +53 -34
  570. package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
  571. package/src/components/NewRelease/index.ts +1 -0
  572. package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
  573. package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
  574. package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
  575. package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
  576. package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
  577. package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
  578. package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
  579. package/src/components/Reels/ReelsSeries/types.ts +16 -0
  580. package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
  581. package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
  582. package/src/components/Reels/index.ts +1 -0
  583. package/src/components/Search/One.tsx +8 -5
  584. package/src/components/Search/components/SearchCard.tsx +68 -11
  585. package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
  586. package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
  587. package/src/components/User/WatchLater/WatchLater.tsx +1 -0
  588. package/src/components/common/AppStatusBar.tsx +7 -1
  589. package/src/components/index.ts +1 -0
  590. package/src/constants/dummySections.ts +54 -3
  591. package/src/hooks/Images/index.ts +2 -0
  592. package/src/hooks/Images/useImageLoader.ts +206 -0
  593. package/src/hooks/Images/useImageValidation.ts +36 -0
  594. package/src/hooks/index.ts +3 -0
  595. package/src/hooks/useAdTracking.ts +349 -0
  596. package/src/hooks/useCards.ts +228 -0
  597. package/src/hooks/usePaginatedSection.ts +26 -7
  598. package/src/hooks/useSplashCache.ts +88 -69
  599. package/src/theme/ThemeProvider.tsx +15 -2
  600. package/src/theme/hook/index.ts +0 -1
  601. package/src/theme/hook/useInternalTheme.ts +22 -13
  602. package/src/theme/themes.ts +3 -0
  603. package/src/theme/utils/validateColor.ts +127 -0
  604. package/src/types/content/content-view.types.ts +43 -1
  605. package/src/types/sections/index.ts +7 -4
  606. package/src/utils/colorUtils.ts +70 -0
  607. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
  608. package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
  609. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
  610. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
  611. package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
  612. package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
  613. package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
  614. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
  615. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
  616. package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
  617. package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
  618. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
  619. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
  620. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
  621. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
  622. package/lib/module/components/ContentView/ContentView.js.map +0 -1
  623. package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
  624. package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
  625. package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
  626. package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
  627. package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
  628. package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
  629. package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
  630. package/lib/module/components/ContentView/components/Title.js.map +0 -1
  631. package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
  632. package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
  633. package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
  634. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
  635. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
  636. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
  637. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
  638. package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
  639. package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
  640. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
  641. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
  642. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
  643. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
  644. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
  645. package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
  646. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
  647. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
  648. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
  649. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
  650. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
  651. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
  652. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
  653. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
  654. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
  655. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
  656. package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
  657. package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
  658. package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
  659. package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
  660. package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
  661. package/src/components/Auth/SignUp/SignUp.tsx +0 -462
  662. package/src/theme/hook/useThemeStatusBar.ts +0 -42
  663. /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
  664. /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
  665. /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
  666. /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
  667. /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
@@ -20,8 +20,63 @@ import { Text } from "../../../Text/index.js";
20
20
  import { RFValue } from 'react-native-responsive-fontsize';
21
21
  import RentOrBuyIcon from "../components/RentOrBuyIcon.js";
22
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
+ // ============================================================================
24
+ // Constants
25
+ // ============================================================================
23
26
  const ITEM_WIDTH = moderateScale(230);
24
27
  const BORDER_RADIUS = moderateScale(8);
28
+ const DEFAULT_SKELETON_COUNT = 4;
29
+ const ASPECT_RATIO = 9 / 16;
30
+ const PROGRESS_ANIMATION_DURATION = 500;
31
+ const TOUCH_OPACITY = 0.9;
32
+ const END_REACHED_THRESHOLD = 0.5;
33
+ const ITEM_MARGIN_RIGHT = moderateScale(12);
34
+ const FIRST_ITEM_MARGIN_LEFT = moderateScale(10);
35
+ const LIST_PADDING_RIGHT = moderateScale(15);
36
+ const GRADIENT_COLORS = ['rgba(0,0,0,0.95)', 'transparent'];
37
+ const GRADIENT_START = {
38
+ x: 0,
39
+ y: 1
40
+ };
41
+ const GRADIENT_END = {
42
+ x: 0,
43
+ y: 0
44
+ };
45
+ const PROGRESS_BG_COLOR = '#4F4E4E';
46
+ const PROGRESS_BORDER_RADIUS = 6;
47
+ const SKELETON_TITLE_WIDTH = '80%';
48
+ const SKELETON_SUBTITLE_WIDTH = '60%';
49
+ const SKELETON_BORDER_RADIUS = 4;
50
+ const SHADOW_COLOR = '#000';
51
+ const SHADOW_OFFSET = {
52
+ width: 0,
53
+ height: 2
54
+ };
55
+ const SHADOW_OPACITY = 0.08;
56
+ const SHADOW_RADIUS = 4;
57
+ const ELEVATION = 2;
58
+ const PLAY_ICON_SIZE = moderateScale(20);
59
+ const PLAY_ICON_CONTAINER_SIZE = moderateScale(32);
60
+ const PLAY_ICON_CONTAINER_RADIUS = moderateScale(16);
61
+ const SKELETON_TITLE_HEIGHT = verticalScale(10);
62
+ const SKELETON_SUBTITLE_HEIGHT = verticalScale(8);
63
+ const SKELETON_HEADER_WIDTH = moderateScale(100);
64
+ const SKELETON_HEADER_HEIGHT = verticalScale(14);
65
+ const SKELETON_HEADER_BORDER_RADIUS = moderateScale(4);
66
+ const SKELETON_HEADER_MARGIN_LEFT = moderateScale(12);
67
+ const SKELETON_HEADER_MARGIN_BOTTOM = verticalScale(6);
68
+ const INFO_CONTAINER_BOTTOM = 6;
69
+ const INFO_CONTAINER_HORIZONTAL = 8;
70
+ const TEXT_SECTION_PADDING_RIGHT = 8;
71
+ const SUBTITLE_OPACITY = 0.85;
72
+
73
+ // ============================================================================
74
+ // Types
75
+ // ============================================================================
76
+
77
+ // ============================================================================
78
+ // Helper Components
79
+ // ============================================================================
25
80
  const NowWatchingItem = /*#__PURE__*/memo(({
26
81
  item,
27
82
  index,
@@ -33,22 +88,43 @@ const NowWatchingItem = /*#__PURE__*/memo(({
33
88
  itemWidth,
34
89
  borderRadius
35
90
  }) => {
36
- const percentage = Math.max(0, Math.min(100, Math.round(item.currentTime / item.duration * 100)));
91
+ // ========================================================================
92
+ // Progress Calculation
93
+ // ========================================================================
94
+ const percentage = useMemo(() => {
95
+ if (!item.duration || item.duration === 0) return 0;
96
+ return Math.max(0, Math.min(100, Math.round(item.currentTime / item.duration * 100)));
97
+ }, [item.currentTime, item.duration]);
98
+
99
+ // ========================================================================
100
+ // Animation
101
+ // ========================================================================
37
102
  const progress = useSharedValue(0);
38
103
  useEffect(() => {
39
104
  progress.value = withTiming(percentage, {
40
- duration: 500
105
+ duration: PROGRESS_ANIMATION_DURATION
41
106
  });
42
- }, [percentage, progress]);
107
+ // eslint-disable-next-line react-hooks/exhaustive-deps
108
+ }, [percentage]);
43
109
  const animatedProgressStyle = useAnimatedStyle(() => ({
44
110
  width: `${progress.value}%`
45
111
  }));
112
+
113
+ // ========================================================================
114
+ // Styles
115
+ // ========================================================================
46
116
  const styles = useMemo(() => getStyles(appliedTheme, itemWidth, borderRadius), [appliedTheme, itemWidth, borderRadius]);
117
+ const isFirstItem = index === 0;
118
+ const itemMarginStyle = isLast ? {
119
+ marginRight: ITEM_MARGIN_RIGHT
120
+ } : null;
121
+
122
+ // ========================================================================
123
+ // Render
124
+ // ========================================================================
47
125
  return /*#__PURE__*/_jsx(TouchableOpacity, {
48
- style: [styles.item, itemStyle, index === 0 && styles.firstItem, isLast && {
49
- marginRight: moderateScale(12)
50
- }],
51
- activeOpacity: 0.9,
126
+ style: [styles.item, itemStyle, isFirstItem && styles.firstItem, itemMarginStyle],
127
+ activeOpacity: TOUCH_OPACITY,
52
128
  onPress: () => onPressItem?.(item.content),
53
129
  children: /*#__PURE__*/_jsxs(View, {
54
130
  style: styles.cardWrapper,
@@ -66,15 +142,9 @@ const NowWatchingItem = /*#__PURE__*/memo(({
66
142
  theme: appliedTheme,
67
143
  content_offering_type: item.content.content_offering_type
68
144
  }), /*#__PURE__*/_jsx(LinearGradient, {
69
- colors: ['rgba(0,0,0,0.95)', 'transparent'],
70
- start: {
71
- x: 0,
72
- y: 1
73
- },
74
- end: {
75
- x: 0,
76
- y: 0
77
- },
145
+ colors: GRADIENT_COLORS,
146
+ start: GRADIENT_START,
147
+ end: GRADIENT_END,
78
148
  style: styles.gradientOverlay
79
149
  })]
80
150
  }), /*#__PURE__*/_jsxs(View, {
@@ -97,7 +167,7 @@ const NowWatchingItem = /*#__PURE__*/memo(({
97
167
  }), /*#__PURE__*/_jsx(View, {
98
168
  style: styles.playIconWrapper,
99
169
  children: /*#__PURE__*/_jsx(Play, {
100
- size: moderateScale(20),
170
+ size: PLAY_ICON_SIZE,
101
171
  color: appliedTheme.colors.primary,
102
172
  fill: appliedTheme.colors.primary
103
173
  })
@@ -106,6 +176,11 @@ const NowWatchingItem = /*#__PURE__*/memo(({
106
176
  })
107
177
  });
108
178
  });
179
+ NowWatchingItem.displayName = 'NowWatchingItem';
180
+
181
+ // ============================================================================
182
+ // Main Component
183
+ // ============================================================================
109
184
  const NowWatching = ({
110
185
  section_id,
111
186
  title,
@@ -120,23 +195,40 @@ const NowWatching = ({
120
195
  renderItemImage,
121
196
  itemWidth = ITEM_WIDTH,
122
197
  borderRadius = BORDER_RADIUS,
123
- skeletonCount = 4,
198
+ skeletonCount = DEFAULT_SKELETON_COUNT,
124
199
  containerStyle,
125
200
  itemStyle,
126
201
  isLoadingHistory
127
202
  }) => {
203
+ // ========================================================================
204
+ // Refs & Hooks
205
+ // ========================================================================
128
206
  const flatListRef = useRef(null);
129
207
  const onEndReachedCalledDuringMomentum = useRef(false);
130
208
  const {
131
209
  theme: appliedTheme
132
210
  } = useInternalTheme(theme);
133
- const styles = useMemo(() => getStyles(appliedTheme, itemWidth, borderRadius), [appliedTheme, itemWidth, borderRadius]);
211
+
212
+ // ========================================================================
213
+ // Data Processing
214
+ // ========================================================================
215
+ const isLoadingState = isLoading || isLoadingHistory;
134
216
  const {
135
217
  data,
136
218
  loadMoreData,
137
219
  pagination,
138
- loading: isPaginating
139
- } = usePaginatedSection(section_id, moreFetchDataHistory, initialData, isLoading || isLoadingHistory);
220
+ isPaginating
221
+ } = usePaginatedSection(section_id, moreFetchDataHistory, initialData, isLoadingState);
222
+ const listData = useMemo(() => data ?? [], [data]);
223
+
224
+ // ========================================================================
225
+ // Styles
226
+ // ========================================================================
227
+ const styles = useMemo(() => getStyles(appliedTheme, itemWidth, borderRadius), [appliedTheme, itemWidth, borderRadius]);
228
+
229
+ // ========================================================================
230
+ // Event Handlers
231
+ // ========================================================================
140
232
  const handlePressMore = useCallback(() => {
141
233
  onPressMore?.({
142
234
  section_id,
@@ -144,13 +236,20 @@ const NowWatching = ({
144
236
  type
145
237
  });
146
238
  }, [onPressMore, section_id, title, type]);
147
- const listData = useMemo(() => data ?? [], [data]);
148
239
  const handleEndReached = useCallback(() => {
149
- if (!onEndReachedCalledDuringMomentum.current && pagination?.hasNextPage && pagination?.nextPage) {
240
+ const canLoadMore = !onEndReachedCalledDuringMomentum.current && pagination?.hasNextPage && pagination?.nextPage;
241
+ if (canLoadMore) {
150
242
  onEndReachedCalledDuringMomentum.current = true;
151
243
  loadMoreData(pagination.nextPage);
152
244
  }
153
245
  }, [loadMoreData, pagination]);
246
+ const handleMomentumScrollBegin = useCallback(() => {
247
+ onEndReachedCalledDuringMomentum.current = false;
248
+ }, []);
249
+
250
+ // ========================================================================
251
+ // Render Functions
252
+ // ========================================================================
154
253
  const renderItem = useCallback(({
155
254
  item,
156
255
  index
@@ -168,40 +267,82 @@ const NowWatching = ({
168
267
  borderRadius: borderRadius
169
268
  });
170
269
  }, [listData.length, appliedTheme, onPressItem, renderItemImage, itemStyle, itemWidth, borderRadius]);
171
- const renderSkeletonItem = index => /*#__PURE__*/_jsx(View, {
172
- style: [styles.item, itemStyle, index === 0 && styles.firstItem, {
173
- marginRight: moderateScale(12)
174
- }],
175
- children: /*#__PURE__*/_jsx(SkeletonPlaceholder, {
176
- backgroundColor: appliedTheme.colors.skeletonBaseColor,
177
- highlightColor: appliedTheme.colors.skeletonHighlightColor,
178
- children: /*#__PURE__*/_jsxs(View, {
179
- style: styles.cardWrapper,
180
- children: [/*#__PURE__*/_jsx(View, {
181
- style: styles.poster
182
- }), /*#__PURE__*/_jsxs(View, {
183
- style: styles.infoContainer,
184
- children: [/*#__PURE__*/_jsxs(View, {
185
- style: styles.textSection,
186
- children: [/*#__PURE__*/_jsx(View, {
187
- style: styles.skeletonTitle
270
+ const renderSkeletonItem = useCallback(index => {
271
+ const isFirstItem = index === 0;
272
+ return /*#__PURE__*/_jsx(View, {
273
+ style: [styles.item, itemStyle, isFirstItem && styles.firstItem, {
274
+ marginRight: ITEM_MARGIN_RIGHT
275
+ }],
276
+ children: /*#__PURE__*/_jsx(SkeletonPlaceholder, {
277
+ backgroundColor: appliedTheme.colors.skeletonBaseColor,
278
+ highlightColor: appliedTheme.colors.skeletonHighlightColor,
279
+ children: /*#__PURE__*/_jsxs(View, {
280
+ style: styles.cardWrapper,
281
+ children: [/*#__PURE__*/_jsx(View, {
282
+ style: styles.poster
283
+ }), /*#__PURE__*/_jsxs(View, {
284
+ style: styles.infoContainer,
285
+ children: [/*#__PURE__*/_jsxs(View, {
286
+ style: styles.textSection,
287
+ children: [/*#__PURE__*/_jsx(View, {
288
+ style: styles.skeletonTitle
289
+ }), /*#__PURE__*/_jsx(View, {
290
+ style: styles.skeletonSubTitle
291
+ }), /*#__PURE__*/_jsx(View, {
292
+ style: styles.progressBackground
293
+ })]
188
294
  }), /*#__PURE__*/_jsx(View, {
189
- style: styles.skeletonSubTitle
190
- }), /*#__PURE__*/_jsx(View, {
191
- style: styles.progressBackground
295
+ style: styles.playIconSkeleton
192
296
  })]
193
- }), /*#__PURE__*/_jsx(View, {
194
- style: styles.playIconSkeleton
195
297
  })]
196
- })]
298
+ })
197
299
  })
198
- })
199
- }, index);
200
- if (!isLoadingHistory && !isLoading && initialData?.length === 0) return null;
201
- if (!isLoading && !isLoadingHistory && listData.length === 0) return null;
300
+ }, index);
301
+ }, [styles.item, styles.firstItem, styles.cardWrapper, styles.poster, styles.infoContainer, styles.textSection, styles.skeletonTitle, styles.skeletonSubTitle, styles.progressBackground, styles.playIconSkeleton, itemStyle, appliedTheme.colors]);
302
+
303
+ // ========================================================================
304
+ // FlatList Helpers
305
+ // ========================================================================
306
+ const flatListData = isLoadingState ? Array(skeletonCount).fill(0) : listData;
307
+ const keyExtractor = useCallback((item, index) => isLoadingState ? `skeleton-${index}` : item._id || index.toString(), [isLoadingState]);
308
+ const renderFlatListItem = useCallback(({
309
+ item,
310
+ index
311
+ }) => {
312
+ if (isLoadingState) {
313
+ return renderSkeletonItem(index);
314
+ }
315
+ return renderItem({
316
+ item: item,
317
+ index,
318
+ separators: {
319
+ highlight: () => {},
320
+ unhighlight: () => {},
321
+ updateProps: () => {}
322
+ }
323
+ });
324
+ }, [isLoadingState, renderSkeletonItem, renderItem]);
325
+
326
+ // ========================================================================
327
+ // Early Returns
328
+ // ========================================================================
329
+ const hasNoData = !isLoadingState && (!initialData || initialData.length === 0) && listData.length === 0 && !moreFetchDataHistory;
330
+ if (hasNoData) {
331
+ return null;
332
+ }
333
+
334
+ // ========================================================================
335
+ // Computed Values
336
+ // ========================================================================
337
+ const shouldShowTitle = !isLoadingState && title;
338
+ const shouldShowSkeletonHeader = isLoadingState;
339
+
340
+ // ========================================================================
341
+ // Render
342
+ // ========================================================================
202
343
  return /*#__PURE__*/_jsxs(View, {
203
344
  style: [styles.container, containerStyle],
204
- children: [!isLoading && !isLoadingHistory && title && /*#__PURE__*/_jsx(NavigateToMore, {
345
+ children: [shouldShowTitle && /*#__PURE__*/_jsx(NavigateToMore, {
205
346
  title: title,
206
347
  onPress: handlePressMore,
207
348
  titleStyle: [styles.title, {
@@ -212,59 +353,50 @@ const NowWatching = ({
212
353
  iconColor: appliedTheme.colors.textPrimary,
213
354
  theme
214
355
  }
215
- }), (isLoading || isLoadingHistory) && /*#__PURE__*/_jsx(SkeletonPlaceholder, {
356
+ }), shouldShowSkeletonHeader && /*#__PURE__*/_jsx(SkeletonPlaceholder, {
216
357
  highlightColor: appliedTheme.colors.skeletonHighlightColor,
217
358
  backgroundColor: appliedTheme.colors.skeletonBaseColor,
218
359
  children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
219
- width: moderateScale(100),
220
- height: verticalScale(14),
221
- borderRadius: moderateScale(4),
222
- marginLeft: moderateScale(12),
223
- marginBottom: verticalScale(6)
360
+ width: SKELETON_HEADER_WIDTH,
361
+ height: SKELETON_HEADER_HEIGHT,
362
+ borderRadius: SKELETON_HEADER_BORDER_RADIUS,
363
+ marginLeft: SKELETON_HEADER_MARGIN_LEFT,
364
+ marginBottom: SKELETON_HEADER_MARGIN_BOTTOM
224
365
  })
225
366
  }), /*#__PURE__*/_jsx(FlatList, {
226
367
  ref: flatListRef,
227
368
  horizontal: true,
228
- data: isLoading || isLoadingHistory ? Array(skeletonCount).fill(0) : listData,
229
- keyExtractor: (_, index) => index.toString(),
230
- renderItem: ({
231
- item,
232
- index
233
- }) => isLoading || isLoadingHistory ? renderSkeletonItem(index) : renderItem({
234
- item,
235
- index,
236
- separators: {
237
- highlight: () => {},
238
- unhighlight: () => {},
239
- updateProps: () => {}
240
- }
241
- }),
369
+ data: flatListData,
370
+ keyExtractor: keyExtractor,
371
+ renderItem: renderFlatListItem,
242
372
  showsHorizontalScrollIndicator: false,
243
373
  contentContainerStyle: styles.listContent,
244
374
  onEndReached: handleEndReached,
245
- onEndReachedThreshold: 0.5,
246
- onMomentumScrollBegin: () => {
247
- onEndReachedCalledDuringMomentum.current = false;
248
- },
375
+ onEndReachedThreshold: END_REACHED_THRESHOLD,
376
+ onMomentumScrollBegin: handleMomentumScrollBegin,
249
377
  ListFooterComponent: isPaginating ? renderSkeletonItem(0) : null
250
378
  })]
251
379
  });
252
380
  };
381
+
382
+ // ============================================================================
383
+ // Styles
384
+ // ============================================================================
253
385
  const getStyles = (theme, itemWidth, borderRadius) => StyleSheet.create({
254
386
  container: {
255
387
  marginVertical: verticalScale(6)
256
388
  },
257
389
  listContent: {
258
- paddingRight: moderateScale(15)
390
+ paddingRight: LIST_PADDING_RIGHT
259
391
  },
260
392
  item: {
261
- marginRight: moderateScale(12)
393
+ marginRight: ITEM_MARGIN_RIGHT
262
394
  },
263
395
  firstItem: {
264
- marginLeft: moderateScale(10)
396
+ marginLeft: FIRST_ITEM_MARGIN_LEFT
265
397
  },
266
398
  navigateToMoreContainer: {
267
- paddingHorizontal: moderateScale(10),
399
+ paddingHorizontal: FIRST_ITEM_MARGIN_LEFT,
268
400
  marginBottom: verticalScale(8)
269
401
  },
270
402
  title: {
@@ -276,18 +408,15 @@ const getStyles = (theme, itemWidth, borderRadius) => StyleSheet.create({
276
408
  borderRadius,
277
409
  overflow: 'hidden',
278
410
  backgroundColor: theme.colors.surfaceVariant,
279
- shadowColor: '#000',
280
- shadowOffset: {
281
- width: 0,
282
- height: 2
283
- },
284
- shadowOpacity: 0.08,
285
- shadowRadius: 4,
286
- elevation: 2
411
+ shadowColor: SHADOW_COLOR,
412
+ shadowOffset: SHADOW_OFFSET,
413
+ shadowOpacity: SHADOW_OPACITY,
414
+ shadowRadius: SHADOW_RADIUS,
415
+ elevation: ELEVATION
287
416
  },
288
417
  poster: {
289
418
  width: '100%',
290
- height: itemWidth * (9 / 16),
419
+ height: itemWidth * ASPECT_RATIO,
291
420
  borderRadius,
292
421
  overflow: 'hidden',
293
422
  backgroundColor: theme.colors.surfaceVariant
@@ -298,16 +427,16 @@ const getStyles = (theme, itemWidth, borderRadius) => StyleSheet.create({
298
427
  },
299
428
  infoContainer: {
300
429
  position: 'absolute',
301
- bottom: 6,
302
- left: 8,
303
- right: 8,
430
+ bottom: INFO_CONTAINER_BOTTOM,
431
+ left: INFO_CONTAINER_HORIZONTAL,
432
+ right: INFO_CONTAINER_HORIZONTAL,
304
433
  flexDirection: 'row',
305
434
  alignItems: 'center',
306
435
  justifyContent: 'space-between'
307
436
  },
308
437
  textSection: {
309
438
  flex: 1,
310
- paddingRight: 8
439
+ paddingRight: TEXT_SECTION_PADDING_RIGHT
311
440
  },
312
441
  titleText: {
313
442
  color: theme.colors.white,
@@ -317,45 +446,45 @@ const getStyles = (theme, itemWidth, borderRadius) => StyleSheet.create({
317
446
  subTitleText: {
318
447
  color: theme.colors.white,
319
448
  fontSize: RFValue(10),
320
- opacity: 0.85,
449
+ opacity: SUBTITLE_OPACITY,
321
450
  marginTop: verticalScale(2)
322
451
  },
323
452
  progressBackground: {
324
453
  marginTop: verticalScale(4),
325
454
  height: verticalScale(4),
326
- backgroundColor: '#4F4E4E',
327
- borderRadius: 6,
455
+ backgroundColor: PROGRESS_BG_COLOR,
456
+ borderRadius: PROGRESS_BORDER_RADIUS,
328
457
  width: '100%'
329
458
  },
330
459
  progressForeground: {
331
460
  height: '100%',
332
- borderRadius: 6,
461
+ borderRadius: PROGRESS_BORDER_RADIUS,
333
462
  backgroundColor: theme.colors.primary
334
463
  },
335
464
  playIconWrapper: {
336
465
  justifyContent: 'center',
337
466
  alignItems: 'center',
338
- width: moderateScale(32),
339
- height: moderateScale(32),
340
- borderRadius: moderateScale(16),
467
+ width: PLAY_ICON_CONTAINER_SIZE,
468
+ height: PLAY_ICON_CONTAINER_SIZE,
469
+ borderRadius: PLAY_ICON_CONTAINER_RADIUS,
341
470
  backgroundColor: theme.colors.blueBackground
342
471
  },
343
472
  skeletonTitle: {
344
- width: '80%',
345
- height: verticalScale(10),
346
- borderRadius: 4,
473
+ width: SKELETON_TITLE_WIDTH,
474
+ height: SKELETON_TITLE_HEIGHT,
475
+ borderRadius: SKELETON_BORDER_RADIUS,
347
476
  marginBottom: verticalScale(4)
348
477
  },
349
478
  skeletonSubTitle: {
350
- width: '60%',
351
- height: verticalScale(8),
352
- borderRadius: 4,
479
+ width: SKELETON_SUBTITLE_WIDTH,
480
+ height: SKELETON_SUBTITLE_HEIGHT,
481
+ borderRadius: SKELETON_BORDER_RADIUS,
353
482
  marginBottom: verticalScale(6)
354
483
  },
355
484
  playIconSkeleton: {
356
- width: moderateScale(32),
357
- height: moderateScale(32),
358
- borderRadius: moderateScale(16)
485
+ width: PLAY_ICON_CONTAINER_SIZE,
486
+ height: PLAY_ICON_CONTAINER_SIZE,
487
+ borderRadius: PLAY_ICON_CONTAINER_RADIUS
359
488
  }
360
489
  });
361
490
  export default /*#__PURE__*/memo(NowWatching);
@@ -1 +1 @@
1
- {"version":3,"names":["React","memo","useCallback","useMemo","useRef","useEffect","View","FlatList","TouchableOpacity","StyleSheet","SkeletonPlaceholder","moderateScale","verticalScale","LinearGradient","FastImage","Play","Animated","useSharedValue","useAnimatedStyle","withTiming","usePaginatedSection","useInternalTheme","NavigateToMore","Text","RFValue","RentOrBuyIcon","jsx","_jsx","jsxs","_jsxs","ITEM_WIDTH","BORDER_RADIUS","NowWatchingItem","item","index","isLast","appliedTheme","onPressItem","renderItemImage","itemStyle","itemWidth","borderRadius","percentage","Math","max","min","round","currentTime","duration","progress","value","animatedProgressStyle","width","styles","getStyles","style","firstItem","marginRight","activeOpacity","onPress","content","children","cardWrapper","source","uri","thumbnail","poster","cache","cacheControl","immutable","priority","normal","theme","content_offering_type","colors","start","x","y","end","gradientOverlay","infoContainer","textSection","titleText","numberOfLines","name","type","subTitleText","season_number","episode_number","progressBackground","progressForeground","playIconWrapper","size","color","primary","fill","NowWatching","section_id","title","historyData","initialData","moreFetchDataHistory","isLoading","titleStyle","onPressMore","skeletonCount","containerStyle","isLoadingHistory","flatListRef","onEndReachedCalledDuringMomentum","data","loadMoreData","pagination","loading","isPaginating","handlePressMore","listData","handleEndReached","current","hasNextPage","nextPage","renderItem","length","renderSkeletonItem","backgroundColor","skeletonBaseColor","highlightColor","skeletonHighlightColor","skeletonTitle","skeletonSubTitle","playIconSkeleton","container","textPrimary","navigateToMoreContainer","showAllProps","iconColor","Item","height","marginLeft","marginBottom","ref","horizontal","Array","keyExtractor","_","toString","separators","highlight","unhighlight","updateProps","showsHorizontalScrollIndicator","contentContainerStyle","listContent","onEndReached","onEndReachedThreshold","onMomentumScrollBegin","ListFooterComponent","create","marginVertical","paddingRight","paddingHorizontal","fontSize","fontWeight","overflow","surfaceVariant","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","absoluteFillObject","position","bottom","left","right","flexDirection","alignItems","justifyContent","flex","white","opacity","marginTop","blueBackground"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/NowWatching/NowWatching.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAC5E,SACEC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAChBC,UAAU,QAKL,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,OAAOC,cAAc,MAAM,8BAA8B;AACzD,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,IAAI,QAAQ,qBAAqB;AAC1C,OAAOC,QAAQ,IACbC,cAAc,EACdC,gBAAgB,EAChBC,UAAU,QACL,yBAAyB;AAEhC,SAASC,mBAAmB,QAAQ,0CAAuC;AAC3E,SAASC,gBAAgB,QAAQ,4CAAyC;AAC1E,OAAOC,cAAc,MAAM,iCAA8B;AAGzD,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,OAAOC,aAAa,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA4CxD,MAAMC,UAAU,GAAGnB,aAAa,CAAC,GAAG,CAAC;AACrC,MAAMoB,aAAa,GAAGpB,aAAa,CAAC,CAAC,CAAC;AAEtC,MAAMqB,eAAe,gBAAG/B,IAAI,CAC1B,CAAC;EACCgC,IAAI;EACJC,KA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K,CAACE,MAAM,CAAC4G;EAChC,CAAC;EACDtD,aAAa,EAAE;IACb5E,KAAK,EAAE,KAAK;IACZqF,MAAM,EAAE7H,aAAa,CAAC,EAAE,CAAC;IACzB6B,YAAY,EAAE,CAAC;IACfkG,YAAY,EAAE/H,aAAa,CAAC,CAAC;EAC/B,CAAC;EACDqH,gBAAgB,EAAE;IAChB7E,KAAK,EAAE,KAAK;IACZqF,MAAM,EAAE7H,aAAa,CAAC,CAAC,CAAC;IACxB6B,YAAY,EAAE,CAAC;IACfkG,YAAY,EAAE/H,aAAa,CAAC,CAAC;EAC/B,CAAC;EACDsH,gBAAgB,EAAE;IAChB9E,KAAK,EAAEzC,aAAa,CAAC,EAAE,CAAC;IACxB8H,MAAM,EAAE9H,aAAa,CAAC,EAAE,CAAC;IACzB8B,YAAY,EAAE9B,aAAa,CAAC,EAAE;EAChC;AACF,CAAC,CAAC;AAEJ,4BAAeV,IAAI,CAAC+F,WAAW,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","memo","useCallback","useMemo","useRef","useEffect","View","FlatList","TouchableOpacity","StyleSheet","SkeletonPlaceholder","moderateScale","verticalScale","LinearGradient","FastImage","Play","Animated","useSharedValue","useAnimatedStyle","withTiming","usePaginatedSection","useInternalTheme","NavigateToMore","Text","RFValue","RentOrBuyIcon","jsx","_jsx","jsxs","_jsxs","ITEM_WIDTH","BORDER_RADIUS","DEFAULT_SKELETON_COUNT","ASPECT_RATIO","PROGRESS_ANIMATION_DURATION","TOUCH_OPACITY","END_REACHED_THRESHOLD","ITEM_MARGIN_RIGHT","FIRST_ITEM_MARGIN_LEFT","LIST_PADDING_RIGHT","GRADIENT_COLORS","GRADIENT_START","x","y","GRADIENT_END","PROGRESS_BG_COLOR","PROGRESS_BORDER_RADIUS","SKELETON_TITLE_WIDTH","SKELETON_SUBTITLE_WIDTH","SKELETON_BORDER_RADIUS","SHADOW_COLOR","SHADOW_OFFSET","width","height","SHADOW_OPACITY","SHADOW_RADIUS","ELEVATION","PLAY_ICON_SIZE","PLAY_ICON_CONTAINER_SIZE","PLAY_ICON_CONTAINER_RADIUS","SKELETON_TITLE_HEIGHT","SKELETON_SUBTITLE_HEIGHT","SKELETON_HEADER_WIDTH","SKELETON_HEADER_HEIGHT","SKELETON_HEADER_BORDER_RADIUS","SKELETON_HEADER_MARGIN_LEFT","SKELETON_HEADER_MARGIN_BOTTOM","INFO_CONTAINER_BOTTOM","INFO_CONTAINER_HORIZONTAL","TEXT_SECTION_PADDING_RIGHT","SUBTITLE_OPACITY","NowWatchingItem","item","index","isLast","appliedTheme","onPressItem","renderItemImage","itemStyle","itemWidth","borderRadius","percentage","duration","Math","max","min","round","currentTime","progress","value","animatedProgressStyle","styles","getStyles","isFirstItem","itemMarginStyle","marginRight","style","firstItem","activeOpacity","onPress","content","children","cardWrapper","source","uri","thumbnail","poster","cache","cacheControl","immutable","priority","normal","theme","content_offering_type","colors","start","end","gradientOverlay","infoContainer","textSection","titleText","numberOfLines","name","type","subTitleText","season_number","episode_number","progressBackground","progressForeground","playIconWrapper","size","color","primary","fill","displayName","NowWatching","section_id","title","historyData","initialData","moreFetchDataHistory","isLoading","titleStyle","onPressMore","skeletonCount","containerStyle","isLoadingHistory","flatListRef","onEndReachedCalledDuringMomentum","isLoadingState","data","loadMoreData","pagination","isPaginating","listData","handlePressMore","handleEndReached","canLoadMore","current","hasNextPage","nextPage","handleMomentumScrollBegin","renderItem","length","renderSkeletonItem","backgroundColor","skeletonBaseColor","highlightColor","skeletonHighlightColor","skeletonTitle","skeletonSubTitle","playIconSkeleton","flatListData","Array","keyExtractor","_id","toString","renderFlatListItem","separators","highlight","unhighlight","updateProps","hasNoData","shouldShowTitle","shouldShowSkeletonHeader","container","textPrimary","navigateToMoreContainer","showAllProps","iconColor","Item","marginLeft","marginBottom","ref","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","listContent","onEndReached","onEndReachedThreshold","onMomentumScrollBegin","ListFooterComponent","create","marginVertical","paddingRight","paddingHorizontal","fontSize","fontWeight","overflow","surfaceVariant","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","absoluteFillObject","position","bottom","left","right","flexDirection","alignItems","justifyContent","flex","white","opacity","marginTop","blueBackground"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/NowWatching/NowWatching.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAC5E,SACEC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAChBC,UAAU,QAKL,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,OAAOC,cAAc,MAAM,8BAA8B;AACzD,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,IAAI,QAAQ,qBAAqB;AAC1C,OAAOC,QAAQ,IACbC,cAAc,EACdC,gBAAgB,EAChBC,UAAU,QACL,yBAAyB;AAEhC,SAASC,mBAAmB,QAAQ,0CAAuC;AAC3E,SAASC,gBAAgB,QAAQ,4CAAyC;AAC1E,OAAOC,cAAc,MAAM,iCAA8B;AAGzD,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,OAAOC,aAAa,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGxD;AACA;AACA;AACA,MAAMC,UAAU,GAAGnB,aAAa,CAAC,GAAG,CAAC;AACrC,MAAMoB,aAAa,GAAGpB,aAAa,CAAC,CAAC,CAAC;AACtC,MAAMqB,sBAAsB,GAAG,CAAC;AAChC,MAAMC,YAAY,GAAG,CAAC,GAAG,EAAE;AAC3B,MAAMC,2BAA2B,GAAG,GAAG;AACvC,MAAMC,aAAa,GAAG,GAAG;AACzB,MAAMC,qBAAqB,GAAG,GAAG;AACjC,MAAMC,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