zarebin-player-library 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/README.md +73 -0
  2. package/dist/index.d.ts +2 -0
  3. package/dist/src/videoPlayerLibrary/index.d.ts +1 -0
  4. package/dist/src/videoPlayerLibrary/shared/configs/configs.d.ts +33 -0
  5. package/dist/src/videoPlayerLibrary/shared/configs/getDetailsConfigs.d.ts +3 -0
  6. package/dist/src/videoPlayerLibrary/shared/helpers/conditions/conditions.d.ts +1 -0
  7. package/dist/src/videoPlayerLibrary/shared/helpers/conditions/paramsConditions.d.ts +21 -0
  8. package/dist/src/videoPlayerLibrary/shared/helpers/constants.d.ts +10 -0
  9. package/dist/src/videoPlayerLibrary/shared/helpers/environment.d.ts +14 -0
  10. package/dist/src/videoPlayerLibrary/shared/helpers/helpers.d.ts +87 -0
  11. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/index.d.ts +13 -0
  12. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useActiveInActive.d.ts +2 -0
  13. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useBackButton.d.ts +2 -0
  14. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useBeforeUnload.d.ts +2 -0
  15. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useContinuousPlaybackInterval.d.ts +2 -0
  16. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useFullScreen.d.ts +2 -0
  17. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetAggregat.d.ts +2 -0
  18. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetData.d.ts +2 -0
  19. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetDetails.d.ts +2 -0
  20. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetMarkers.d.ts +2 -0
  21. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetPlayList.d.ts +2 -0
  22. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetProfile.d.ts +2 -0
  23. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetRecommendationList.d.ts +2 -0
  24. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useUserSettings.d.ts +2 -0
  25. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useVideoSettings.d.ts +2 -0
  26. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useGetData/useWebListConfig.d.ts +2 -0
  27. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useHandleKeyPress.d.ts +2 -0
  28. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useHandleParams.d.ts +5 -0
  29. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useHandleScroll.d.ts +2 -0
  30. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useHandleXToken.d.ts +2 -0
  31. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useHideSubtitle.d.ts +2 -0
  32. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useIntersect.d.ts +3 -0
  33. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useKeyPress.d.ts +2 -0
  34. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useLongPress.d.ts +12 -0
  35. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useOnClickOutside.d.ts +3 -0
  36. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/usePingPong.d.ts +2 -0
  37. package/dist/src/videoPlayerLibrary/shared/helpers/hooks/useRouteChange.d.ts +2 -0
  38. package/dist/src/videoPlayerLibrary/shared/helpers/index.d.ts +6 -0
  39. package/dist/src/videoPlayerLibrary/shared/helpers/langs/ar.d.ts +162 -0
  40. package/dist/src/videoPlayerLibrary/shared/helpers/langs/fa.d.ts +162 -0
  41. package/dist/src/videoPlayerLibrary/shared/helpers/langs/index.d.ts +1 -0
  42. package/dist/src/videoPlayerLibrary/shared/helpers/langs/translate.d.ts +162 -0
  43. package/dist/src/videoPlayerLibrary/shared/helpers/regex.d.ts +2 -0
  44. package/dist/src/videoPlayerLibrary/shared/images/importImages.d.ts +79 -0
  45. package/dist/src/videoPlayerLibrary/shared/interfaces/enums.d.ts +332 -0
  46. package/dist/src/videoPlayerLibrary/shared/interfaces/index.d.ts +2 -0
  47. package/dist/src/videoPlayerLibrary/shared/interfaces/interfaces.d.ts +1130 -0
  48. package/dist/src/videoPlayerLibrary/shared/logs/fluentdLogger.d.ts +1 -0
  49. package/dist/src/videoPlayerLibrary/shared/logs/index.d.ts +2 -0
  50. package/dist/src/videoPlayerLibrary/shared/logs/logs.d.ts +289 -0
  51. package/dist/src/videoPlayerLibrary/shared/providers/theme-provider.d.ts +13 -0
  52. package/dist/src/videoPlayerLibrary/shared/redux/actions/chat.actions.d.ts +16 -0
  53. package/dist/src/videoPlayerLibrary/shared/redux/actions/comment.action.d.ts +11 -0
  54. package/dist/src/videoPlayerLibrary/shared/redux/actions/controller.actions.d.ts +12 -0
  55. package/dist/src/videoPlayerLibrary/shared/redux/actions/index.d.ts +8 -0
  56. package/dist/src/videoPlayerLibrary/shared/redux/actions/playerCore.actions.d.ts +129 -0
  57. package/dist/src/videoPlayerLibrary/shared/redux/actions/progressbar.actions.d.ts +15 -0
  58. package/dist/src/videoPlayerLibrary/shared/redux/actions/quiz.actions.d.ts +26 -0
  59. package/dist/src/videoPlayerLibrary/shared/redux/actions/tags.actions.d.ts +16 -0
  60. package/dist/src/videoPlayerLibrary/shared/redux/actions/user.actions.d.ts +22 -0
  61. package/dist/src/videoPlayerLibrary/shared/redux/actions/videoData.actions.d.ts +50 -0
  62. package/dist/src/videoPlayerLibrary/shared/redux/hooks.d.ts +4 -0
  63. package/dist/src/videoPlayerLibrary/shared/redux/index.d.ts +3 -0
  64. package/dist/src/videoPlayerLibrary/shared/redux/slices/chatSlice.d.ts +249 -0
  65. package/dist/src/videoPlayerLibrary/shared/redux/slices/commentsSlice.d.ts +429 -0
  66. package/dist/src/videoPlayerLibrary/shared/redux/slices/controllerSlice.d.ts +737 -0
  67. package/dist/src/videoPlayerLibrary/shared/redux/slices/popoversSlice.d.ts +560 -0
  68. package/dist/src/videoPlayerLibrary/shared/redux/slices/quizSlice.d.ts +373 -0
  69. package/dist/src/videoPlayerLibrary/shared/redux/slices/tagsSlice.d.ts +57 -0
  70. package/dist/src/videoPlayerLibrary/shared/redux/slices/userSlice.d.ts +681 -0
  71. package/dist/src/videoPlayerLibrary/shared/redux/slices/videoDataSlice.d.ts +7 -0
  72. package/dist/src/videoPlayerLibrary/shared/redux/store.d.ts +28 -0
  73. package/dist/src/videoPlayerLibrary/shared/services/apiCaller.d.ts +15 -0
  74. package/dist/src/videoPlayerLibrary/shared/services/baseUrl.d.ts +23 -0
  75. package/dist/src/videoPlayerLibrary/shared/services/index.d.ts +3 -0
  76. package/dist/src/videoPlayerLibrary/shared/services/services.d.ts +93 -0
  77. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/MessageIcon.d.ts +3 -0
  78. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/ProfileIcon.d.ts +3 -0
  79. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowBottomIcon.d.ts +3 -0
  80. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowDownIcon.d.ts +3 -0
  81. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowLeft.d.ts +3 -0
  82. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowLeft1.d.ts +3 -0
  83. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowLeftTrailer.d.ts +3 -0
  84. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowRightTrailer.d.ts +3 -0
  85. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowTopTrailer.d.ts +3 -0
  86. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowUpIcon.d.ts +3 -0
  87. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/bookmarkIcon.d.ts +3 -0
  88. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/cameraIcon.d.ts +3 -0
  89. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/chatIcon.d.ts +3 -0
  90. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/chevronLeft.d.ts +3 -0
  91. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/chevronRight.d.ts +3 -0
  92. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/clockIcon.d.ts +3 -0
  93. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/closeIcon.d.ts +3 -0
  94. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/copy.d.ts +3 -0
  95. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/downloadIcon.d.ts +3 -0
  96. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/emptyProfile.d.ts +2 -0
  97. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/emptyStateBookmarkIcon.d.ts +2 -0
  98. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/feedbackIcon.d.ts +3 -0
  99. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/heartIcon.d.ts +3 -0
  100. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/homeIcon.d.ts +3 -0
  101. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/index.d.ts +39 -0
  102. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/infoIcon.d.ts +3 -0
  103. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/judgeIcon.d.ts +3 -0
  104. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/multiLiveIcon.d.ts +3 -0
  105. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/mute.d.ts +3 -0
  106. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/notActiveVideoIcon.d.ts +2 -0
  107. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/onlineViewerIcon.d.ts +3 -0
  108. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/personalMarkerIcon.d.ts +3 -0
  109. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/pinIcon.d.ts +3 -0
  110. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/playlistIcon.d.ts +3 -0
  111. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/plusEmojiIcon.d.ts +3 -0
  112. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/printIcon.d.ts +3 -0
  113. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/rotateLeftIcon.d.ts +3 -0
  114. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/rotateLeftIcon2.d.ts +3 -0
  115. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/share1Icon.d.ts +3 -0
  116. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/shareIcon.d.ts +3 -0
  117. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/smsStarIcon.d.ts +3 -0
  118. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/starIcon.d.ts +3 -0
  119. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/starSlashIcon.d.ts +3 -0
  120. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/tagsEmptyState.d.ts +3 -0
  121. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/unMute.d.ts +3 -0
  122. package/dist/src/videoPlayerLibrary/shared/ui/src/components/icon-components/videoListHeader.d.ts +3 -0
  123. package/dist/src/videoPlayerLibrary/shared/ui/src/components/index.d.ts +7 -0
  124. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/controllbar/controllbar.d.ts +3 -0
  125. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/controllbar/controllbarTooltip.d.ts +3 -0
  126. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/controllbar/portraitControlbar.d.ts +2 -0
  127. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/footer.d.ts +2 -0
  128. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/progressbar/markers/markers.d.ts +3 -0
  129. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/progressbar/progressbar.d.ts +2 -0
  130. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/header/header.d.ts +2 -0
  131. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/header/portraitHeader.d.ts +3 -0
  132. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/index.d.ts +9 -0
  133. package/dist/src/videoPlayerLibrary/shared/ui/src/components/mainComponent/main/main.d.ts +2 -0
  134. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/circleProgressBar/circleProgressBar.d.ts +3 -0
  135. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/hourglassSpinner/hourglassSpinner.d.ts +3 -0
  136. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/popover/popover.d.ts +4 -0
  137. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/quizCountDown.d.ts +3 -0
  138. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/hooks/useEliminationQuiz.d.ts +2 -0
  139. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/hooks/usePointsQuiz.d.ts +2 -0
  140. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/login/loginPopover.d.ts +4 -0
  141. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/login/mobileNumber.d.ts +2 -0
  142. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/login/otp.d.ts +2 -0
  143. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/popoverHeader.d.ts +2 -0
  144. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quiz.d.ts +2 -0
  145. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quizPlayer.d.ts +5 -0
  146. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quizPlayerLibrary.d.ts +3 -0
  147. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quizPopover.d.ts +2 -0
  148. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step0.d.ts +2 -0
  149. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step1.d.ts +2 -0
  150. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step2.d.ts +2 -0
  151. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step3.d.ts +2 -0
  152. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step4.d.ts +2 -0
  153. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/usePoints.d.ts +2 -0
  154. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/quiz/userStatus.d.ts +2 -0
  155. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/errorBoundary.d.ts +14 -0
  156. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/errorBoundaryFunctions.d.ts +4 -0
  157. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/liveAndVodPlayer/player.d.ts +2 -0
  158. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/liveAndVodPlayer/videoArea.d.ts +2 -0
  159. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/liveAndVodPlayer/videoPlayer.d.ts +2 -0
  160. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/staticPlayer/player.d.ts +2 -0
  161. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/videoPlayer.d.ts +5 -0
  162. package/dist/src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/videoPlayerLibrary.d.ts +9 -0
  163. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/InstagramEmoji.d.ts +2 -0
  164. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/explode/ExplodeEmoji.d.ts +3 -0
  165. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/explode/animatedEmoji/AnimatedEmoji.d.ts +3 -0
  166. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/spray/SprayEmoji.d.ts +3 -0
  167. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/spray/animatedEmoji/AnimatedEmoji.d.ts +3 -0
  168. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/uni/UniEmoji.d.ts +3 -0
  169. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/uni/animatedEmoji/AnimatedEmoji.d.ts +3 -0
  170. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/Player360/Player360.d.ts +2 -0
  171. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/ageClassification/ageClassification.d.ts +2 -0
  172. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/autoPlay/autoPlay.d.ts +2 -0
  173. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/autoPlay/autoPlayListIcon.d.ts +2 -0
  174. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/backwardForward/backwardForward.d.ts +3 -0
  175. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/bookmark/bookmark.d.ts +2 -0
  176. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/bookmark/bookmarkCard.d.ts +4 -0
  177. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/bookmark/bookmarksPopover.d.ts +2 -0
  178. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/button/button.d.ts +3 -0
  179. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/addChatComment.d.ts +2 -0
  180. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chat.d.ts +3 -0
  181. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chatCard.d.ts +3 -0
  182. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chatObserver.d.ts +3 -0
  183. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chatRules.d.ts +2 -0
  184. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/defaultMessages.d.ts +3 -0
  185. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/chat/pinMessage.d.ts +2 -0
  186. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/checkbox/checkbox.d.ts +3 -0
  187. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/codeInput/codeInput.d.ts +14 -0
  188. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/addComment.d.ts +3 -0
  189. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentContentPopover.d.ts +3 -0
  190. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentSettings/commentSettingsInDesktop.d.ts +3 -0
  191. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentSettings/commentSettingsPopover.d.ts +3 -0
  192. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/comments.d.ts +2 -0
  193. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentsPopover.d.ts +3 -0
  194. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/defaultMessages.d.ts +3 -0
  195. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/likeComment.d.ts +3 -0
  196. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/singleComment.d.ts +3 -0
  197. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/singleReply.d.ts +3 -0
  198. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/comments/touchScreenCommentObserver.d.ts +3 -0
  199. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/complexDesktop/complexDesktop.d.ts +3 -0
  200. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/complexPortrait/complexPortrait.d.ts +3 -0
  201. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/confirmationModal/confirmationModal.d.ts +3 -0
  202. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/copyText/copyText.d.ts +3 -0
  203. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/download/download.d.ts +2 -0
  204. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/elapsedTime/elapsedTime.d.ts +2 -0
  205. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/emoji/emoji.d.ts +3 -0
  206. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/emojiPicker/emojiPicker.d.ts +3 -0
  207. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/feedback/feedback.d.ts +2 -0
  208. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/feedback/stars.d.ts +3 -0
  209. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/fullScreen/fullScreen.d.ts +2 -0
  210. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/fullScreen/fullScreenIcon.d.ts +3 -0
  211. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/fullrate/fullrate.d.ts +2 -0
  212. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/gif/gif.d.ts +4 -0
  213. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/index.d.ts +105 -0
  214. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/likeDisLike/dislikeIcon.d.ts +3 -0
  215. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/likeDisLike/likeDisLike.d.ts +2 -0
  216. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/likeDisLike/likeIcon.d.ts +3 -0
  217. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/liveStatus/liveStatus.d.ts +3 -0
  218. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/liveStatus/onlineViewer/liveIcon.d.ts +3 -0
  219. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/liveStatus/onlineViewer/onlineViewer.d.ts +2 -0
  220. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/loader/loader.d.ts +2 -0
  221. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/lock.d.ts +3 -0
  222. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/lockIcon.d.ts +3 -0
  223. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/unlock.d.ts +3 -0
  224. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/unlockIcon.d.ts +3 -0
  225. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/markersList/markersList.d.ts +2 -0
  226. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/markersList/markersListIcon.d.ts +3 -0
  227. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/movie/movieDetail/movieDetail.d.ts +2 -0
  228. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/multiAudio/multiAudio.d.ts +3 -0
  229. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/multiLive/multiLive.d.ts +2 -0
  230. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/multiLive/multiLiveDialog.d.ts +3 -0
  231. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/multiLive/multiLiveIcon.d.ts +3 -0
  232. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/notActive/notActive.d.ts +3 -0
  233. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/paramsErrorPopover/paramsErrorPopover.d.ts +3 -0
  234. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/personalMarkers/personalMarkers.d.ts +2 -0
  235. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/pictureInPicture/pictureInPicture.d.ts +2 -0
  236. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playList.d.ts +3 -0
  237. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playListCard.d.ts +3 -0
  238. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playlistTab.d.ts +2 -0
  239. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playlistVideoCards.d.ts +3 -0
  240. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playList/singlePlayList.d.ts +3 -0
  241. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playList/touchScreenPlaylistObserver.d.ts +3 -0
  242. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playNext/playNextVideo.d.ts +2 -0
  243. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playNext/playNextVideoIcon.d.ts +3 -0
  244. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playPause/playPause.d.ts +2 -0
  245. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playPauseControllbar/playPauseControllbar.d.ts +2 -0
  246. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playPauseControllbar/playPauseIcon.d.ts +3 -0
  247. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/playerCard/playerCard.d.ts +3 -0
  248. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/poll/poll.d.ts +2 -0
  249. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/poll/pollOption.d.ts +4 -0
  250. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/poll/portraitPoll/portraitPoll.d.ts +3 -0
  251. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/poll/portraitPoll/portraitPollOption.d.ts +3 -0
  252. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/popover/popover.d.ts +4 -0
  253. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/popover/popovers.d.ts +2 -0
  254. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/qualityLevels/qualityLevels.d.ts +3 -0
  255. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/recommendationList/recommendationList.d.ts +3 -0
  256. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/settings/settings.d.ts +3 -0
  257. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/settings/settingsIcon.d.ts +2 -0
  258. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/share/shareDialog.d.ts +4 -0
  259. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/skeleton/skeleton.d.ts +2 -0
  260. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/snapshot/snapshot.d.ts +2 -0
  261. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/soundVolume/soundVolume.d.ts +2 -0
  262. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/soundVolume/soundVolumeIcon.d.ts +3 -0
  263. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/speed/speed.d.ts +2 -0
  264. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/speed/speedIcon.d.ts +3 -0
  265. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/spinners/circleSpinner.d.ts +3 -0
  266. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/displaySubtitle.d.ts +2 -0
  267. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitleIcon.d.ts +3 -0
  268. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitleSettingMenu.d.ts +6 -0
  269. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitles.d.ts +2 -0
  270. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitlesBackgroundColorsMenu.d.ts +3 -0
  271. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitlesMenu.d.ts +3 -0
  272. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitlesTextColorsMenu.d.ts +3 -0
  273. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tabNavigator/TabNavigator.d.ts +2 -0
  274. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tags/selectedTagsVideoList.d.ts +3 -0
  275. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tags/tags.d.ts +3 -0
  276. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tags/tagsFilter.d.ts +2 -0
  277. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tags/tagsPopover.d.ts +2 -0
  278. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tags/viewersTagsList.d.ts +2 -0
  279. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/title/title.d.ts +2 -0
  280. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/toggle/autoPlayToggle.d.ts +2 -0
  281. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/toggle/toggle.d.ts +3 -0
  282. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/tooltip/tooltip.d.ts +3 -0
  283. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/touchVolumeBrightness/touchVolumeBrightness.d.ts +2 -0
  284. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/trailer/trailer.d.ts +3 -0
  285. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/trailer/trailerPopover/trailerPopover.d.ts +2 -0
  286. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/videoAreaShadow.tsx/videoAreaShadow.d.ts +2 -0
  287. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-components/viewersChart/viewersChart.d.ts +3 -0
  288. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-core/playerCore.d.ts +4 -0
  289. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-core/players/multiLiveVideoTag.d.ts +2 -0
  290. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-core/players/nonStaticVideoTag.d.ts +2 -0
  291. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-core/players/staticVideoTag.d.ts +2 -0
  292. package/dist/src/videoPlayerLibrary/shared/ui/src/components/player-core/players/videoTag.d.ts +3 -0
  293. package/dist/src/videoPlayerLibrary/shared/ui/src/index.d.ts +2 -0
  294. package/dist/src/videoPlayerLibrary/shared/ui/src/playerComponents/continuousPlayback/ContinuousPlayback.d.ts +2 -0
  295. package/dist/src/videoPlayerLibrary/shared/ui/src/playerComponents/continuousPlayback/continuousePlayback.d.ts +10 -0
  296. package/dist/src/videoPlayerLibrary/shared/ui/src/playerComponents/continuousPlayback/hooks/useContinuousePlaybackTimer.d.ts +2 -0
  297. package/dist/src/videoPlayerLibrary/shared/ui/src/playerComponents/index.d.ts +1 -0
  298. package/dist/src/videoPlayerLibrary/videoPlayerLibrary.d.ts +4 -0
  299. package/dist/zarebin-player-library.cjs +1588 -0
  300. package/dist/zarebin-player-library.css +2 -0
  301. package/dist/zarebin-player-library.js +53666 -0
  302. package/package.json +90 -0
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs)
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/)
9
+
10
+ ## React Compiler
11
+
12
+ The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
13
+
14
+ ## Expanding the ESLint configuration
15
+
16
+ If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
17
+
18
+ ```js
19
+ export default defineConfig([
20
+ globalIgnores(["dist"]),
21
+ {
22
+ files: ["**/*.{ts,tsx}"],
23
+ extends: [
24
+ // Other configs...
25
+
26
+ // Remove tseslint.configs.recommended and replace with this
27
+ tseslint.configs.recommendedTypeChecked,
28
+ // Alternatively, use this for stricter rules
29
+ tseslint.configs.strictTypeChecked,
30
+ // Optionally, add this for stylistic rules
31
+ tseslint.configs.stylisticTypeChecked,
32
+
33
+ // Other configs...
34
+ ],
35
+ languageOptions: {
36
+ parserOptions: {
37
+ project: ["./tsconfig.node.json", "./tsconfig.app.json"],
38
+ tsconfigRootDir: import.meta.dirname,
39
+ },
40
+ // other options...
41
+ },
42
+ },
43
+ ]);
44
+ ```
45
+
46
+ You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
47
+
48
+ ```js
49
+ // eslint.config.js
50
+ import reactX from "eslint-plugin-react-x";
51
+ import reactDom from "eslint-plugin-react-dom";
52
+
53
+ export default defineConfig([
54
+ globalIgnores(["dist"]),
55
+ {
56
+ files: ["**/*.{ts,tsx}"],
57
+ extends: [
58
+ // Other configs...
59
+ // Enable lint rules for React
60
+ reactX.configs["recommended-typescript"],
61
+ // Enable lint rules for React DOM
62
+ reactDom.configs.recommended,
63
+ ],
64
+ languageOptions: {
65
+ parserOptions: {
66
+ project: ["./tsconfig.node.json", "./tsconfig.app.json"],
67
+ tsconfigRootDir: import.meta.dirname,
68
+ },
69
+ // other options...
70
+ },
71
+ },
72
+ ]);
73
+ ```
@@ -0,0 +1,2 @@
1
+ export * from './src/videoPlayerLibrary/index'
2
+ export {}
@@ -0,0 +1 @@
1
+ export { VideoPlayerLibrary } from './videoPlayerLibrary';
@@ -0,0 +1,33 @@
1
+ export declare const configs: {
2
+ status: string;
3
+ baseUrl: string;
4
+ driveRestAPI: string;
5
+ chatBaseUrl: string;
6
+ GA_MEASUREMENT_ID: string;
7
+ favIconUrl: string;
8
+ zarebinUserConfig: string;
9
+ loginBaseUrl: string;
10
+ trackerRestAPI: string;
11
+ aggregatorBaseUrl: string;
12
+ setAggregatorBaseUrl: string;
13
+ fluentdUrl: string;
14
+ loginRedirectUrl: string;
15
+ cookieKey: string;
16
+ whiteListTargets: string;
17
+ whiteListGeneralUrl: string;
18
+ sendXToken: string;
19
+ chatAPIBaseUrl: string;
20
+ zarebinNasle3Url: string;
21
+ assistant: boolean;
22
+ initialLoadedFragmentCount: string;
23
+ filmAndSerialAllowedUsers: string;
24
+ arabicFilmAndSerialAllowedUsers: string;
25
+ keshtAllowedUsers: string;
26
+ keshtBasePath: string;
27
+ keshtAppName: string;
28
+ filmAndSerialBasePath: string;
29
+ hamrahiCloudLanding: string;
30
+ commentPanel: string;
31
+ hamrahiLiveBaseUrl: string;
32
+ onPermise: string;
33
+ };
@@ -0,0 +1,3 @@
1
+ import { IDetailsConfig } from '../interfaces';
2
+ export declare const detailAPI: (id?: number) => string;
3
+ export declare const handleDetailsConfig: (userId?: number) => IDetailsConfig;
@@ -0,0 +1 @@
1
+ export declare const conditions: (type: string) => any;
@@ -0,0 +1,21 @@
1
+ export declare const allParams: string[];
2
+ export declare const quizConditions: {
3
+ requireds: string[];
4
+ optionals: string[];
5
+ };
6
+ export declare const isGeneralConditions: {
7
+ requireds: string[];
8
+ optionals: string[];
9
+ };
10
+ export declare const staticConditions: {
11
+ requireds: string[];
12
+ optionals: string[];
13
+ };
14
+ export declare const nonStaticConditions: {
15
+ requireds: string[];
16
+ optionals: string[];
17
+ };
18
+ export declare const rawConditions: {
19
+ requireds: string[];
20
+ optionals: string[];
21
+ };
@@ -0,0 +1,10 @@
1
+ export declare const LiveDelay = 6;
2
+ export declare const LiveWindow = 12;
3
+ export declare const videoTag: () => HTMLVideoElement;
4
+ export declare const multiLiveVideo: () => HTMLVideoElement;
5
+ export declare const progressBar: () => any;
6
+ export declare const progressBarWidth: () => number;
7
+ export declare const seenPoll: () => any;
8
+ export declare const livePoll: () => any;
9
+ export declare const popoverHeader: () => HTMLElement | null;
10
+ export declare const otpType = "LOGIN_ANDROID_4";
@@ -0,0 +1,14 @@
1
+ import { IEnvironment } from '../interfaces';
2
+ export declare const whiteListTargets: string[];
3
+ export declare const whiteListGeneralUrl: string[];
4
+ export declare const ENVIRONMENT: IEnvironment;
5
+ export declare const activeElementsTime = 3000;
6
+ export declare const showLoaderTime = 3000;
7
+ export declare const livePlayRetryDuration = 3000;
8
+ export declare const RetryCountGeneralDataFetch = 3;
9
+ export declare const RetryTimeDelayGeneralDataFetch = 5;
10
+ export declare const durationWatched = 60;
11
+ export declare const continuousePlaybackIntervalTime = 60000;
12
+ export declare const footerPadding: () => 0 | 64;
13
+ export declare const featureToggle = "ft";
14
+ export declare const sidebarWidth = 357;
@@ -0,0 +1,87 @@
1
+ import { BookmarkCategory, VideoNumberTypeEnum } from '../interfaces/enums';
2
+ import { default as View360 } from '@egjs/view360';
3
+ export declare const wait: (s: number) => Promise<unknown>;
4
+ export declare const getRemainingTime: (timestamp: number) => string;
5
+ export declare const compare: (a: any, b: any) => 0 | 1 | -1;
6
+ export declare const handlePageTitle: (title: string) => void;
7
+ export declare const getUUID: () => string;
8
+ export declare const uuidGenerator: () => string;
9
+ export declare const customizeInterval: (timeCount: number, cb: Function) => Promise<void>;
10
+ export declare const isTouchScreen: () => any;
11
+ export declare const isTouchScreenLandscape: () => any;
12
+ export declare const isTouchScreenPortrait: () => any;
13
+ export declare const handleIsComplexDesktop: (isPortrait: boolean) => boolean;
14
+ export declare const isIOS: () => boolean;
15
+ export declare const controllbarIconSize: {
16
+ miniPlayer: number;
17
+ miniPlayerFontAwesome: string;
18
+ other: number;
19
+ otherFontAwesome: string;
20
+ };
21
+ export declare const addZeroBefore: (n: number) => string;
22
+ export declare const secondsToHMS: (seconds: number) => string;
23
+ export declare const secondsToPersianHMS: (seconds: number) => string[];
24
+ export declare const efficientSecondsToPersianHMS: (seconds: number) => string;
25
+ export declare const staticFormats: (realFormat: string) => false | "mp4" | "webm" | "flv" | "mp3";
26
+ export declare const addUuidToSrc: (src: string) => string;
27
+ export declare const handleSumVotes: (question: any) => number;
28
+ export declare const checkParentTarget: (event: any, target: string) => boolean;
29
+ export declare const unitization: (viewers: number) => {
30
+ value: number;
31
+ unit: string;
32
+ };
33
+ export declare const handleNotActiveText: (errorType?: string) => {
34
+ title: string;
35
+ description: string;
36
+ } | undefined;
37
+ export declare const isVoted: (qid: number) => any;
38
+ export declare const isSelectedOption: (qid: number, oid: number) => any;
39
+ export declare const appendQueryParamsToChunks: (link: string) => void;
40
+ export declare const inViewPort: (element: any) => "inViewport" | "OutViewPortFromLeft" | "OutViewPortFromRight" | undefined;
41
+ export declare const handleIsComplexPortrait: (params?: any) => any;
42
+ export declare const isFullMobilePortrait: () => boolean;
43
+ export declare const handleRippleCircle: (event: any, id: string) => void;
44
+ export declare const handleRipple: (event: any, id: string, size?: number) => void;
45
+ export declare const utf8_to_b64: (text: string) => string;
46
+ export declare const changeVideoUrl: (videoType?: string, videoId?: number) => string;
47
+ export declare const hasQuestionMark: (text: string) => boolean;
48
+ export declare const responseValidator: (status: number) => boolean;
49
+ export declare const generateNewAccessToken: () => Promise<void>;
50
+ export declare const convertB64ToFile: (dataUrl: string, filename: string) => File;
51
+ export declare const isWhiteListUrl: (url: string) => boolean;
52
+ export declare const parseJwt: (token: string) => any;
53
+ export declare const handlePopoverSizeInMiniPlayer: () => {
54
+ top: number;
55
+ height: number;
56
+ left: number;
57
+ } | {
58
+ top?: undefined;
59
+ height?: undefined;
60
+ left?: undefined;
61
+ };
62
+ export declare const numbersToLetters: string[];
63
+ export declare const handleVideoType: () => VideoNumberTypeEnum.Archive | VideoNumberTypeEnum.Vod | VideoNumberTypeEnum.Clip | VideoNumberTypeEnum.FutureLive;
64
+ export declare const handleHasXTokenParamOrSendXToken: () => {
65
+ "x-token": string | undefined;
66
+ } | undefined;
67
+ export declare const handleGetBookmarkCategory: (provider?: string) => BookmarkCategory;
68
+ export declare function getWebEnvConfig(key: string): string;
69
+ export declare const getDomainFromUrl: (url: string) => string;
70
+ export declare const clearRedux: () => void;
71
+ export declare const weighted_random: (options: any) => any;
72
+ export declare const convertTimeToSeconds: (time: string) => number;
73
+ export declare const imageFormatChecking: (filename: string) => boolean;
74
+ export declare const handlePageLoadTime: (loadingDurationRef: any) => void;
75
+ export declare const highestResolutionSupported: (resolutions: string[], width: number, height: number) => number;
76
+ export declare const getSubtitleLabel: (subtitleLanguage: string) => string | undefined;
77
+ export declare const getOS: () => string;
78
+ export declare const deleteQueryParamsInUrl: (queryParam: string) => void;
79
+ export declare const handleRedirectCards: (id?: string, type?: string) => void;
80
+ export declare const strToObj: (str: string) => {};
81
+ export declare const hasPermissionToRedirect: (url: string) => void;
82
+ export declare const flattenObject: (input: any, keyName?: string) => any;
83
+ export declare const findIntersectionBetweenTwoArray: (arr1: string[], arr2: string[]) => string[];
84
+ export declare const sortLanguages: (array: any) => any;
85
+ export declare const hexToRGB: (hex: string, alpha?: number) => string;
86
+ export declare const checkIsOnPremise: (baseUrl: string) => string;
87
+ export declare const handle360: () => Promise<View360>;
@@ -0,0 +1,13 @@
1
+ export * from './useActiveInActive';
2
+ export * from './useBackButton';
3
+ export * from './useBeforeUnload';
4
+ export * from './useFullScreen';
5
+ export * from './useHandleKeyPress';
6
+ export * from './useHandleParams';
7
+ export * from './useHandleScroll';
8
+ export * from './useIntersect';
9
+ export * from './useKeyPress';
10
+ export * from './useOnClickOutside';
11
+ export * from './useGetData/useGetData';
12
+ export * from './usePingPong';
13
+ export * from './useRouteChange';
@@ -0,0 +1,2 @@
1
+ declare const useActiveInActive: (isRightDoubleTouched: boolean, isLeftDoubleTouched: boolean) => void;
2
+ export default useActiveInActive;
@@ -0,0 +1,2 @@
1
+ declare const useBackButton: () => void;
2
+ export default useBackButton;
@@ -0,0 +1,2 @@
1
+ declare const useBeforeUnload: () => void;
2
+ export default useBeforeUnload;
@@ -0,0 +1,2 @@
1
+ declare const useContinuousPlaybackInterval: () => void;
2
+ export default useContinuousPlaybackInterval;
@@ -0,0 +1,2 @@
1
+ declare const useFullScreen: () => void;
2
+ export default useFullScreen;
@@ -0,0 +1,2 @@
1
+ declare const useGetAggregat: () => void;
2
+ export default useGetAggregat;
@@ -0,0 +1,2 @@
1
+ declare const useGetData: () => void;
2
+ export default useGetData;
@@ -0,0 +1,2 @@
1
+ declare const useGetDetails: () => void;
2
+ export default useGetDetails;
@@ -0,0 +1,2 @@
1
+ declare const useGetMarkers: () => void;
2
+ export default useGetMarkers;
@@ -0,0 +1,2 @@
1
+ declare const useGetPlayList: () => void;
2
+ export default useGetPlayList;
@@ -0,0 +1,2 @@
1
+ declare const useGetProfile: () => void;
2
+ export default useGetProfile;
@@ -0,0 +1,2 @@
1
+ declare const useGetRecommendationList: () => void;
2
+ export default useGetRecommendationList;
@@ -0,0 +1,2 @@
1
+ declare const useUserSettings: () => void;
2
+ export default useUserSettings;
@@ -0,0 +1,2 @@
1
+ declare const useVideoSettings: () => void;
2
+ export default useVideoSettings;
@@ -0,0 +1,2 @@
1
+ declare const useWebListConfig: () => void;
2
+ export default useWebListConfig;
@@ -0,0 +1,2 @@
1
+ declare const useHandleKeyPress: () => void;
2
+ export default useHandleKeyPress;
@@ -0,0 +1,5 @@
1
+ declare const useHandleParams: (query: any) => {
2
+ requiredsItems: string[];
3
+ notRequiredsItems: string[];
4
+ };
5
+ export default useHandleParams;
@@ -0,0 +1,2 @@
1
+ declare const useHandleScroll: () => void;
2
+ export default useHandleScroll;
@@ -0,0 +1,2 @@
1
+ declare const useHandleXToken: (query: any, setIsReady?: (isReady: boolean) => void) => string;
2
+ export default useHandleXToken;
@@ -0,0 +1,2 @@
1
+ declare const useHideSubtitle: () => void;
2
+ export default useHideSubtitle;
@@ -0,0 +1,3 @@
1
+ import { RefObject } from 'react';
2
+ declare const useIntersect: (callback: (entries: IntersectionObserverEntry[]) => void) => RefObject<HTMLDivElement | null>;
3
+ export default useIntersect;
@@ -0,0 +1,2 @@
1
+ declare const useKeyPress: (key: string, cb: any) => void;
2
+ export default useKeyPress;
@@ -0,0 +1,12 @@
1
+ import { TouchEvent, Dispatch, SetStateAction } from 'react';
2
+ declare const useLongPress: (scrollElement?: string) => {
3
+ handleTouchStart: (event: TouchEvent<HTMLDivElement>) => void;
4
+ handleTouchEnd: () => void;
5
+ isLongPress: boolean;
6
+ setIsLongPress: Dispatch<SetStateAction<boolean>>;
7
+ touchPosition: {
8
+ x: number;
9
+ y: number;
10
+ };
11
+ };
12
+ export default useLongPress;
@@ -0,0 +1,3 @@
1
+ import { ChangeEvent, RefObject } from 'react';
2
+ declare const useOnClickOutside: (ref: RefObject<HTMLInputElement>, handler: (event: ChangeEvent<HTMLInputElement>) => void) => void;
3
+ export default useOnClickOutside;
@@ -0,0 +1,2 @@
1
+ declare const usePingPong: (qualityLevel?: number) => void;
2
+ export default usePingPong;
@@ -0,0 +1,2 @@
1
+ declare const useRouteChange: () => void;
2
+ export default useRouteChange;
@@ -0,0 +1,6 @@
1
+ export * from './helpers';
2
+ export * from './environment';
3
+ export * from './constants';
4
+ export * from './conditions/conditions';
5
+ export * from './hooks';
6
+ export * from './langs';
@@ -0,0 +1,162 @@
1
+ export declare const ar: {
2
+ save: string;
3
+ addPersonalMarker: string;
4
+ editPersonalMarker: string;
5
+ pleaseSelectMarker: string;
6
+ pleaseEnterMarkerName: string;
7
+ maxLengthMarkerName: string;
8
+ successAddMarker: string;
9
+ successEditMarker: string;
10
+ errorRegisteringTwoMarker: string;
11
+ pleaseLoginFirst: string;
12
+ addMarker: string;
13
+ markerName: string;
14
+ description: string;
15
+ pleaseEnterMarkerDescription: string;
16
+ cancel: string;
17
+ nextIn: string;
18
+ play: string;
19
+ visit: string;
20
+ clickForMoreVideos: string;
21
+ hour: string;
22
+ minutes: string;
23
+ seconds: string;
24
+ currentlyNoItemsSaved: string;
25
+ savedList: string;
26
+ enterYourOpinion: string;
27
+ notPossibleRegisterComment: string;
28
+ youMustSubmitYourComment: string;
29
+ notPossibleToRegisterComment: string;
30
+ comeIn: string;
31
+ sharing: string;
32
+ recordFeedback: string;
33
+ cinematicFilm: string;
34
+ serial: string;
35
+ subtitle: string;
36
+ translation: string;
37
+ persian: string;
38
+ english: string;
39
+ arabic: string;
40
+ turkish: string;
41
+ playlist: string;
42
+ playlists: string;
43
+ showPlaylist: string;
44
+ suggestedVideos: string;
45
+ become: string;
46
+ production: string;
47
+ viewPoint: string;
48
+ show: string;
49
+ saved: string;
50
+ home: string;
51
+ profile: string;
52
+ previousViewingTime: string;
53
+ continuousPlaybackText: string;
54
+ watchContinuousVideo: string;
55
+ watchCBeginningVideo: string;
56
+ takingPicture: string;
57
+ liveChat: string;
58
+ hideLiveChat: string;
59
+ showLiveChat: string;
60
+ anonymousUser: string;
61
+ awaitingApprovalByAdmin: string;
62
+ approvedByAdmin: string;
63
+ closeMessage: string;
64
+ viewFullPinnedMessage: string;
65
+ pinnedMessage: string;
66
+ less: string;
67
+ more: string;
68
+ copyLink: string;
69
+ linkWasCopied: string;
70
+ download: string;
71
+ withQuality: string;
72
+ selectDownloadQuality: string;
73
+ badSoundAndImageQuality: string;
74
+ streamLinkFailure: string;
75
+ amountOfInternetUsageWasHigh: string;
76
+ programAppearance: string;
77
+ soundAndImageMismatch: string;
78
+ noSubtitle: string;
79
+ noSubtitle1: string;
80
+ accessForMeDifficult: string;
81
+ videoContentWasNotGood: string;
82
+ goodSoundAndImageQuality: string;
83
+ noDisconnection: string;
84
+ amountOfInternetUsage: string;
85
+ privacyProtection: string;
86
+ farsiSubtitles: string;
87
+ easyAccess: string;
88
+ appropriateVideoContent: string;
89
+ veryBad: string;
90
+ bad: string;
91
+ middle: string;
92
+ good: string;
93
+ veryGood: string;
94
+ successfullyCommentSubmit: string;
95
+ ratingZarebin: string;
96
+ fullRateInternetTraffic: string;
97
+ exitFrom: string;
98
+ fullScreen: string;
99
+ lock: string;
100
+ markersList: string;
101
+ markers: string;
102
+ languageSelection: string;
103
+ default: string;
104
+ retry: string;
105
+ pictureInPicture: string;
106
+ video: string;
107
+ season: string;
108
+ section: string;
109
+ playNextVideo: string;
110
+ replay: string;
111
+ pause: string;
112
+ quality: string;
113
+ automatic: string;
114
+ basedOnYourInternetSpeed: string;
115
+ settings: string;
116
+ choiceQuality: string;
117
+ subtitleSettings: string;
118
+ jumpTo: string;
119
+ mute: string;
120
+ unmute: string;
121
+ playBackSpeed: string;
122
+ normalSpeed: string;
123
+ subtitleBackgroundColor: string;
124
+ subtitleTextColor: string;
125
+ subtitleSelection: string;
126
+ selectSubtitleBackgroundColor: string;
127
+ selectSubtitleTextColor: string;
128
+ tagFilter: string;
129
+ tags: string;
130
+ separateItemsWithEnter: string;
131
+ contentType: string;
132
+ search: string;
133
+ accordingThisTagVideoNotFound: string;
134
+ autoPlay: string;
135
+ bright: string;
136
+ off: string;
137
+ is: string;
138
+ photo: string;
139
+ currentlyNoVideoContent: string;
140
+ viewOtherVideos: string;
141
+ enteredAddressNotCorrect: string;
142
+ first: string;
143
+ second: string;
144
+ third: string;
145
+ fourth: string;
146
+ fifth: string;
147
+ sixth: string;
148
+ seventh: string;
149
+ eighth: string;
150
+ ninth: string;
151
+ tenth: string;
152
+ eleventh: string;
153
+ twelfth: string;
154
+ thirteenth: string;
155
+ fourteenth: string;
156
+ fifteenth: string;
157
+ sixteenth: string;
158
+ seventeenth: string;
159
+ eighteenth: string;
160
+ nineteenth: string;
161
+ twentieth: string;
162
+ };