@viewlift/player-backup 2.0.230-backup → 2.0.232-backup

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 (393) hide show
  1. package/cjs/autoNextVideo-c12a243f.js +1 -0
  2. package/{@viewlift/player-backup/cjs → cjs}/bundle.css +259 -238
  3. package/cjs/caption-settings-25cabfc0.js +1 -0
  4. package/cjs/captions-68e263dd.js +1 -0
  5. package/cjs/currentVideoInfo-5802821b.js +1 -0
  6. package/cjs/features-1e035ad9.js +1 -0
  7. package/cjs/generic-36e9b216.js +1 -0
  8. package/cjs/helper-dbf2fb22.js +1 -0
  9. package/cjs/index-3007975d.js +1 -0
  10. package/cjs/index-5c943621.js +1 -0
  11. package/cjs/index-7ae433c7.js +1 -0
  12. package/cjs/index-84cce26a.js +1 -0
  13. package/cjs/index-94717080.js +1 -0
  14. package/{@viewlift/player-backup/cjs → cjs}/index.js +1 -1
  15. package/cjs/multicamv2-1aeb58f1.js +1 -0
  16. package/cjs/multicamv2-7931ae7c.js +1 -0
  17. package/cjs/nextEpisodeButton-28a09766.js +1 -0
  18. package/cjs/playlist-f500270d.js +1 -0
  19. package/cjs/resolution-9c4872ec.js +1 -0
  20. package/cjs/resolution-v2-50cbd77b.js +1 -0
  21. package/cjs/series-0ac51f75.js +1 -0
  22. package/cjs/series-v2-32970c8c.js +1 -0
  23. package/cjs/series-v2-f3e92888.js +1 -0
  24. package/cjs/settings-icon-a419af57.js +1 -0
  25. package/cjs/skin-00362340.js +1 -0
  26. package/cjs/skin-0b80ab97.js +1 -0
  27. package/cjs/skin-27bfe8fc.js +1 -0
  28. package/cjs/skin-338098b0.js +1 -0
  29. package/cjs/skin-36235ff2.js +1 -0
  30. package/cjs/skin-a184bba2.js +1 -0
  31. package/cjs/skin-bd60890f.js +1 -0
  32. package/cjs/skin-e301a482.js +1 -0
  33. package/cjs/skin-eeec7a85.js +1 -0
  34. package/cjs/skin-f7aa6c00.js +1 -0
  35. package/cjs/start-begin-btn-5adfa5b7.js +1 -0
  36. package/cjs/util-05166862.js +1 -0
  37. package/cjs/videoSelector-e24a91db.js +1 -0
  38. package/cjs/videoSelector-ed3b098d.js +1 -0
  39. package/cjs/videojs-dash5.es-f9629f7f.js +1 -0
  40. package/cjs/watch-live-btn-1c5d2e69.js +1 -0
  41. package/esm/autoNextVideo-d6e1bfbc.js +1 -0
  42. package/{@viewlift/player-backup/esm → esm}/bundle.css +259 -238
  43. package/esm/caption-settings-3a5e2e2d.js +1 -0
  44. package/{@viewlift/player-backup/esm/captions-f507e8ee.js → esm/captions-78bd2908.js} +1 -1
  45. package/{@viewlift/player-backup/esm/currentVideoInfo-a8a254c2.js → esm/currentVideoInfo-0b234e55.js} +1 -1
  46. package/esm/features-4ba3024f.js +1 -0
  47. package/esm/generic-b70da815.js +1 -0
  48. package/esm/helper-d52dff3c.js +1 -0
  49. package/esm/index-2ab55f4b.js +1 -0
  50. package/esm/index-4447d956.js +1 -0
  51. package/esm/index-5d92eaa3.js +1 -0
  52. package/esm/index-ca68a2b6.js +1 -0
  53. package/esm/index-e3c02e4c.js +1 -0
  54. package/{@viewlift/player-backup/esm → esm}/index.js +1 -1
  55. package/esm/multicamv2-6c3dc564.js +1 -0
  56. package/esm/multicamv2-878d21b0.js +1 -0
  57. package/esm/nextEpisodeButton-0c1cfbde.js +1 -0
  58. package/esm/playlist-88636def.js +1 -0
  59. package/esm/resolution-62be852a.js +1 -0
  60. package/esm/resolution-v2-6446fe47.js +1 -0
  61. package/esm/series-a78d8f09.js +1 -0
  62. package/esm/series-v2-7ab1f135.js +1 -0
  63. package/esm/series-v2-da904c27.js +1 -0
  64. package/esm/settings-icon-7d9e5221.js +1 -0
  65. package/esm/skin-000251b9.js +1 -0
  66. package/esm/skin-2926b8f0.js +1 -0
  67. package/esm/skin-65765793.js +1 -0
  68. package/esm/skin-6a573026.js +1 -0
  69. package/esm/skin-6f568202.js +1 -0
  70. package/esm/skin-8e3403a8.js +1 -0
  71. package/esm/skin-b47f50ad.js +1 -0
  72. package/esm/skin-bf99d33a.js +1 -0
  73. package/esm/skin-c0a12462.js +1 -0
  74. package/esm/skin-fa6c40cc.js +1 -0
  75. package/esm/start-begin-btn-16534825.js +1 -0
  76. package/esm/util-b5ecf7d5.js +1 -0
  77. package/esm/videoSelector-5e5085be.js +1 -0
  78. package/esm/videoSelector-c4c01576.js +1 -0
  79. package/esm/videojs-dash5.es-bc6f319d.js +1 -0
  80. package/esm/watch-live-btn-ddcfab89.js +1 -0
  81. package/package.json +21 -56
  82. package/@viewlift/player/esm/apis/index.d.ts +0 -11
  83. package/@viewlift/player/esm/assets/icons.d.ts +0 -25
  84. package/@viewlift/player/esm/components/advertisement/advertisement.d.ts +0 -1
  85. package/@viewlift/player/esm/components/auto-next-video/autoNextVideo.d.ts +0 -2
  86. package/@viewlift/player/esm/components/big-mute-btn/index.d.ts +0 -9
  87. package/@viewlift/player/esm/components/broadcaster_image/index.d.ts +0 -1
  88. package/@viewlift/player/esm/components/caption-settings/caption-settings.d.ts +0 -14
  89. package/@viewlift/player/esm/components/dvr-seekbar/index.d.ts +0 -14
  90. package/@viewlift/player/esm/components/dvr-startover/helper.d.ts +0 -17
  91. package/@viewlift/player/esm/components/dvr-startover/index.d.ts +0 -1
  92. package/@viewlift/player/esm/components/dvr-startover/marker.d.ts +0 -3
  93. package/@viewlift/player/esm/components/dvr-startover/start-begin-btn.d.ts +0 -6
  94. package/@viewlift/player/esm/components/dvr-startover/watch-live-btn.d.ts +0 -6
  95. package/@viewlift/player/esm/components/multicam/multicam.d.ts +0 -18
  96. package/@viewlift/player/esm/components/multicam-v2/multicamv2.d.ts +0 -13
  97. package/@viewlift/player/esm/components/multicam-v2_TEMP/multicamv2.d.ts +0 -13
  98. package/@viewlift/player/esm/components/next-ep-preview/next-ep-preview.d.ts +0 -1
  99. package/@viewlift/player/esm/components/next-episode/nextEpisodeButton.d.ts +0 -13
  100. package/@viewlift/player/esm/components/playlist-tray/playlist.d.ts +0 -15
  101. package/@viewlift/player/esm/components/quality-selector/index.d.ts +0 -1
  102. package/@viewlift/player/esm/components/resolution/resolution-v2.d.ts +0 -18
  103. package/@viewlift/player/esm/components/resolution/resolution.d.ts +0 -20
  104. package/@viewlift/player/esm/components/series/series.d.ts +0 -10
  105. package/@viewlift/player/esm/components/series-v2/helper.d.ts +0 -3
  106. package/@viewlift/player/esm/components/series-v2/series-v2.d.ts +0 -25
  107. package/@viewlift/player/esm/components/series-v2_TEMP/helper.d.ts +0 -1
  108. package/@viewlift/player/esm/components/series-v2_TEMP/series-v2.d.ts +0 -21
  109. package/@viewlift/player/esm/components/settings-icon/settings-icon.d.ts +0 -17
  110. package/@viewlift/player/esm/components/trickplay/helper.d.ts +0 -13
  111. package/@viewlift/player/esm/components/trickplay/index.d.ts +0 -1
  112. package/@viewlift/player/esm/components/trickplay/videojs.thumbnails.d.ts +0 -1
  113. package/@viewlift/player/esm/components/video-selector/videoSelector.d.ts +0 -18
  114. package/@viewlift/player/esm/components/video-selector_TEMP/videoSelector.d.ts +0 -16
  115. package/@viewlift/player/esm/components/watch-history/handleWatchHistory.d.ts +0 -2
  116. package/@viewlift/player/esm/contentHandler/content_types/epg.d.ts +0 -4
  117. package/@viewlift/player/esm/contentHandler/content_types/external.d.ts +0 -4
  118. package/@viewlift/player/esm/contentHandler/content_types/index.d.ts +0 -5
  119. package/@viewlift/player/esm/contentHandler/content_types/series.d.ts +0 -4
  120. package/@viewlift/player/esm/contentHandler/content_types/vod.d.ts +0 -4
  121. package/@viewlift/player/esm/contentHandler/firePlayer.d.ts +0 -4
  122. package/@viewlift/player/esm/core/captions.d.ts +0 -10
  123. package/@viewlift/player/esm/core/generic.d.ts +0 -49
  124. package/@viewlift/player/esm/core/player_instance.d.ts +0 -6
  125. package/@viewlift/player/esm/core/renditions.d.ts +0 -6
  126. package/@viewlift/player/esm/core/util.d.ts +0 -19
  127. package/@viewlift/player/esm/core/volume.d.ts +0 -2
  128. package/@viewlift/player/esm/dash/dashHandler.d.ts +0 -1
  129. package/@viewlift/player/esm/dash/linear_ssai.d.ts +0 -1
  130. package/@viewlift/player/esm/dash/sgai.d.ts +0 -14
  131. package/@viewlift/player/esm/features.d.ts +0 -33
  132. package/@viewlift/player/esm/globalPlayerEvents.d.ts +0 -8
  133. package/@viewlift/player/esm/helpers/browser.d.ts +0 -2
  134. package/@viewlift/player/esm/helpers/currentVideoInfo.d.ts +0 -21
  135. package/@viewlift/player/esm/helpers/errorHandling.d.ts +0 -2
  136. package/@viewlift/player/esm/helpers/loader.d.ts +0 -2
  137. package/@viewlift/player/esm/helpers/localisation.d.ts +0 -2
  138. package/@viewlift/player/esm/helpers/scriptLoader.d.ts +0 -2
  139. package/@viewlift/player/esm/helpers/secondary-switching.d.ts +0 -1
  140. package/@viewlift/player/esm/helpers/skin.d.ts +0 -20
  141. package/@viewlift/player/esm/helpers/sourceRetriever.d.ts +0 -11
  142. package/@viewlift/player/esm/helpers/ssaiEventHandler.d.ts +0 -27
  143. package/@viewlift/player/esm/helpers/token.d.ts +0 -9
  144. package/@viewlift/player/esm/index.d.ts +0 -44
  145. package/@viewlift/player/esm/plugins/chromecast.d.ts +0 -18
  146. package/@viewlift/player/esm/plugins/comscore_dist/index.d.ts +0 -50
  147. package/@viewlift/player/esm/plugins/index.d.ts +0 -2
  148. package/@viewlift/player/esm/plugins/library.d.ts +0 -8
  149. package/@viewlift/player/esm/plugins/videojs-dash5.es.d.ts +0 -51
  150. package/@viewlift/player/esm/plugins/videojs_contrib_dash.d.ts +0 -51
  151. package/@viewlift/player/esm/skin/carousel/skin.d.ts +0 -1
  152. package/@viewlift/player/esm/skin/default/events.d.ts +0 -1
  153. package/@viewlift/player/esm/skin/default/skin.d.ts +0 -1
  154. package/@viewlift/player/esm/skin/defaultV2/events.d.ts +0 -1
  155. package/@viewlift/player/esm/skin/defaultV2/skin.d.ts +0 -1
  156. package/@viewlift/player/esm/skin/index.d.ts +0 -1
  157. package/@viewlift/player/esm/skin/mini/events.d.ts +0 -1
  158. package/@viewlift/player/esm/skin/mini/skin.d.ts +0 -1
  159. package/@viewlift/player/esm/skin/minimalist/skin.d.ts +0 -1
  160. package/@viewlift/player/esm/skin/multiplayer/events.d.ts +0 -1
  161. package/@viewlift/player/esm/skin/multiplayer/skin.d.ts +0 -1
  162. package/@viewlift/player/esm/skin/news/events.d.ts +0 -1
  163. package/@viewlift/player/esm/skin/news/skin.d.ts +0 -1
  164. package/@viewlift/player/esm/skin/news_live/events.d.ts +0 -1
  165. package/@viewlift/player/esm/skin/news_live/skin.d.ts +0 -1
  166. package/@viewlift/player/esm/skin/vl_one/events.d.ts +0 -1
  167. package/@viewlift/player/esm/skin/vl_one/skin.d.ts +0 -1
  168. package/@viewlift/player/esm/utilities/analytics.d.ts +0 -3
  169. package/@viewlift/player/esm/utilities/beacon.d.ts +0 -3
  170. package/@viewlift/player/esm/utilities/comscore.d.ts +0 -5
  171. package/@viewlift/player/esm/utilities/controlsColor.d.ts +0 -1
  172. package/@viewlift/player/esm/utilities/conviva.d.ts +0 -5
  173. package/@viewlift/player/esm/utilities/keyboardShortcuts.d.ts +0 -5
  174. package/@viewlift/player/esm/utilities/replaceMacros.d.ts +0 -1
  175. package/@viewlift/player-backup/cjs/autoNextVideo-a42585ab.js +0 -1
  176. package/@viewlift/player-backup/cjs/caption-settings-d1eb3bf6.js +0 -1
  177. package/@viewlift/player-backup/cjs/captions-dbc83a75.js +0 -1
  178. package/@viewlift/player-backup/cjs/currentVideoInfo-31d70bec.js +0 -1
  179. package/@viewlift/player-backup/cjs/features-f68ce3fb.js +0 -1
  180. package/@viewlift/player-backup/cjs/generic-42df2356.js +0 -1
  181. package/@viewlift/player-backup/cjs/helper-a50a8ffc.js +0 -1
  182. package/@viewlift/player-backup/cjs/index-04b2530f.js +0 -1
  183. package/@viewlift/player-backup/cjs/index-3f0e537b.js +0 -1
  184. package/@viewlift/player-backup/cjs/index-4905764c.js +0 -1
  185. package/@viewlift/player-backup/cjs/index-90466af0.js +0 -1
  186. package/@viewlift/player-backup/cjs/index-ae7fa630.js +0 -1
  187. package/@viewlift/player-backup/cjs/multicamv2-7d163d9d.js +0 -1
  188. package/@viewlift/player-backup/cjs/multicamv2-e5f9f991.js +0 -1
  189. package/@viewlift/player-backup/cjs/nextEpisodeButton-f8aacfc8.js +0 -1
  190. package/@viewlift/player-backup/cjs/playlist-0cf7efc7.js +0 -1
  191. package/@viewlift/player-backup/cjs/resolution-f9dcc1b4.js +0 -1
  192. package/@viewlift/player-backup/cjs/resolution-v2-e42e0101.js +0 -1
  193. package/@viewlift/player-backup/cjs/series-ba300c8a.js +0 -1
  194. package/@viewlift/player-backup/cjs/series-v2-99b6589c.js +0 -1
  195. package/@viewlift/player-backup/cjs/series-v2-f0132e4d.js +0 -1
  196. package/@viewlift/player-backup/cjs/settings-icon-b43f4406.js +0 -1
  197. package/@viewlift/player-backup/cjs/skin-1d5f75a5.js +0 -1
  198. package/@viewlift/player-backup/cjs/skin-657fecd5.js +0 -1
  199. package/@viewlift/player-backup/cjs/skin-6d8c7523.js +0 -1
  200. package/@viewlift/player-backup/cjs/skin-9ea5e200.js +0 -1
  201. package/@viewlift/player-backup/cjs/skin-b59e6f4b.js +0 -1
  202. package/@viewlift/player-backup/cjs/skin-b8e41049.js +0 -1
  203. package/@viewlift/player-backup/cjs/skin-bae423f5.js +0 -1
  204. package/@viewlift/player-backup/cjs/skin-f5e18b89.js +0 -1
  205. package/@viewlift/player-backup/cjs/skin-fd0abb21.js +0 -1
  206. package/@viewlift/player-backup/cjs/skin-febf5feb.js +0 -1
  207. package/@viewlift/player-backup/cjs/start-begin-btn-5739a6c0.js +0 -1
  208. package/@viewlift/player-backup/cjs/util-1ecaa3aa.js +0 -1
  209. package/@viewlift/player-backup/cjs/videoSelector-b063c2fa.js +0 -1
  210. package/@viewlift/player-backup/cjs/videoSelector-c7a8084b.js +0 -1
  211. package/@viewlift/player-backup/cjs/videojs-dash5.es-ec94e5f4.js +0 -1
  212. package/@viewlift/player-backup/cjs/watch-live-btn-822534d1.js +0 -1
  213. package/@viewlift/player-backup/esm/autoNextVideo-562cb118.js +0 -1
  214. package/@viewlift/player-backup/esm/caption-settings-6001af40.js +0 -1
  215. package/@viewlift/player-backup/esm/features-cd2d1ef5.js +0 -1
  216. package/@viewlift/player-backup/esm/generic-0d8916dd.js +0 -1
  217. package/@viewlift/player-backup/esm/helper-349e076f.js +0 -1
  218. package/@viewlift/player-backup/esm/index-4cc8ac6f.js +0 -1
  219. package/@viewlift/player-backup/esm/index-6878d5da.js +0 -1
  220. package/@viewlift/player-backup/esm/index-8e3eab6d.js +0 -1
  221. package/@viewlift/player-backup/esm/index-96695c58.js +0 -1
  222. package/@viewlift/player-backup/esm/index-d4b7f0f1.js +0 -1
  223. package/@viewlift/player-backup/esm/multicamv2-73e06f75.js +0 -1
  224. package/@viewlift/player-backup/esm/multicamv2-b4132d34.js +0 -1
  225. package/@viewlift/player-backup/esm/nextEpisodeButton-55ba4076.js +0 -1
  226. package/@viewlift/player-backup/esm/playlist-18c389e3.js +0 -1
  227. package/@viewlift/player-backup/esm/resolution-1c59b0f3.js +0 -1
  228. package/@viewlift/player-backup/esm/resolution-v2-705ae275.js +0 -1
  229. package/@viewlift/player-backup/esm/series-d2127ba9.js +0 -1
  230. package/@viewlift/player-backup/esm/series-v2-374d6ad3.js +0 -1
  231. package/@viewlift/player-backup/esm/series-v2-45904259.js +0 -1
  232. package/@viewlift/player-backup/esm/settings-icon-1e7b0951.js +0 -1
  233. package/@viewlift/player-backup/esm/skin-1cf8c85f.js +0 -1
  234. package/@viewlift/player-backup/esm/skin-386fb496.js +0 -1
  235. package/@viewlift/player-backup/esm/skin-3dcba1b2.js +0 -1
  236. package/@viewlift/player-backup/esm/skin-48674c27.js +0 -1
  237. package/@viewlift/player-backup/esm/skin-57bd5f88.js +0 -1
  238. package/@viewlift/player-backup/esm/skin-68945038.js +0 -1
  239. package/@viewlift/player-backup/esm/skin-783bc970.js +0 -1
  240. package/@viewlift/player-backup/esm/skin-a7b78d71.js +0 -1
  241. package/@viewlift/player-backup/esm/skin-bc3198f1.js +0 -1
  242. package/@viewlift/player-backup/esm/skin-de1aa5f5.js +0 -1
  243. package/@viewlift/player-backup/esm/start-begin-btn-1e096fec.js +0 -1
  244. package/@viewlift/player-backup/esm/util-931b842b.js +0 -1
  245. package/@viewlift/player-backup/esm/videoSelector-3c767fee.js +0 -1
  246. package/@viewlift/player-backup/esm/videoSelector-c45eea40.js +0 -1
  247. package/@viewlift/player-backup/esm/videojs-dash5.es-390dd922.js +0 -1
  248. package/@viewlift/player-backup/esm/watch-live-btn-5419f3a7.js +0 -1
  249. package/@viewlift/player-backup/package.json +0 -23
  250. package/@viewlift/player_legacy/cjs/autoNextVideo-0207f04b.js +0 -1
  251. package/@viewlift/player_legacy/cjs/bundle.css +0 -750
  252. package/@viewlift/player_legacy/cjs/caption-settings-34ca0188.js +0 -1
  253. package/@viewlift/player_legacy/cjs/caption-settings-b2f5caed.js +0 -1
  254. package/@viewlift/player_legacy/cjs/chromett-f925fb6c.js +0 -1
  255. package/@viewlift/player_legacy/cjs/dvr_skin-f7f770ae.js +0 -1
  256. package/@viewlift/player_legacy/cjs/error-26d5a3c3.js +0 -1
  257. package/@viewlift/player_legacy/cjs/features-a8748699.js +0 -1
  258. package/@viewlift/player_legacy/cjs/generic-84f939ad.js +0 -1
  259. package/@viewlift/player_legacy/cjs/icons-515b2da0.js +0 -1
  260. package/@viewlift/player_legacy/cjs/index.js +0 -1
  261. package/@viewlift/player_legacy/cjs/keyboardShortcuts-f767c579.js +0 -1
  262. package/@viewlift/player_legacy/cjs/loader-393b838a.js +0 -1
  263. package/@viewlift/player_legacy/cjs/localisation-56e0a999.js +0 -1
  264. package/@viewlift/player_legacy/cjs/multicam-8f3d061a.js +0 -1
  265. package/@viewlift/player_legacy/cjs/multicam-a41fe4a6.js +0 -1
  266. package/@viewlift/player_legacy/cjs/multicamv2-76d8530b.js +0 -1
  267. package/@viewlift/player_legacy/cjs/multicamv2-c4d6b48f.js +0 -1
  268. package/@viewlift/player_legacy/cjs/mwebPotrait-3c11d7cf.js +0 -1
  269. package/@viewlift/player_legacy/cjs/mwebPotraitTray-456078d4.js +0 -1
  270. package/@viewlift/player_legacy/cjs/nextEpisodeButton-b6e6586f.js +0 -1
  271. package/@viewlift/player_legacy/cjs/nextEpisodeButton-fe540cf1.js +0 -1
  272. package/@viewlift/player_legacy/cjs/nondvr_skin-ef2cb3b2.js +0 -1
  273. package/@viewlift/player_legacy/cjs/playlist-3932fd04.js +0 -1
  274. package/@viewlift/player_legacy/cjs/playlist-df87ca90.js +0 -1
  275. package/@viewlift/player_legacy/cjs/renditions-6e13cb32.js +0 -1
  276. package/@viewlift/player_legacy/cjs/resolution-93446685.js +0 -1
  277. package/@viewlift/player_legacy/cjs/series-9c237975.js +0 -1
  278. package/@viewlift/player_legacy/cjs/series-da129ad0.js +0 -1
  279. package/@viewlift/player_legacy/cjs/series-v2-4690c9b9.js +0 -1
  280. package/@viewlift/player_legacy/cjs/series-v2-fd7485a5.js +0 -1
  281. package/@viewlift/player_legacy/cjs/settings-icon-8d364c01.js +0 -1
  282. package/@viewlift/player_legacy/cjs/settings-icon-df80e58e.js +0 -1
  283. package/@viewlift/player_legacy/cjs/skin-225252ff.js +0 -1
  284. package/@viewlift/player_legacy/cjs/skin-63b8f7de.js +0 -1
  285. package/@viewlift/player_legacy/cjs/skin-64ba51a6.js +0 -1
  286. package/@viewlift/player_legacy/cjs/skin-6c47cc18.js +0 -1
  287. package/@viewlift/player_legacy/cjs/skin-7bc2d995.js +0 -1
  288. package/@viewlift/player_legacy/cjs/skin-7c1b43eb.js +0 -1
  289. package/@viewlift/player_legacy/cjs/skin-983a2ea7.js +0 -1
  290. package/@viewlift/player_legacy/cjs/skin-b361b474.js +0 -1
  291. package/@viewlift/player_legacy/cjs/skin-c66e9b42.js +0 -1
  292. package/@viewlift/player_legacy/cjs/skin-fc1e7e52.js +0 -1
  293. package/@viewlift/player_legacy/cjs/util-fb2cc4c4.js +0 -1
  294. package/@viewlift/player_legacy/cjs/videoSelector-aff5bd81.js +0 -1
  295. package/@viewlift/player_legacy/cjs/videoSelector-fcdf11eb.js +0 -1
  296. package/@viewlift/player_legacy/esm/autoNextVideo-9849ba49.js +0 -1
  297. package/@viewlift/player_legacy/esm/bundle.css +0 -750
  298. package/@viewlift/player_legacy/esm/caption-settings-c487e1d4.js +0 -1
  299. package/@viewlift/player_legacy/esm/caption-settings-cb47408f.js +0 -1
  300. package/@viewlift/player_legacy/esm/chromett-a3cbb2e1.js +0 -1
  301. package/@viewlift/player_legacy/esm/dvr_skin-9cc1b144.js +0 -1
  302. package/@viewlift/player_legacy/esm/error-2395864b.js +0 -1
  303. package/@viewlift/player_legacy/esm/features-f0405edc.js +0 -1
  304. package/@viewlift/player_legacy/esm/generic-d6622897.js +0 -1
  305. package/@viewlift/player_legacy/esm/icons-3e9a1686.js +0 -1
  306. package/@viewlift/player_legacy/esm/index.js +0 -1
  307. package/@viewlift/player_legacy/esm/keyboardShortcuts-d3c02093.js +0 -1
  308. package/@viewlift/player_legacy/esm/loader-580278fe.js +0 -1
  309. package/@viewlift/player_legacy/esm/localisation-0bf399a1.js +0 -1
  310. package/@viewlift/player_legacy/esm/multicam-4b0e408e.js +0 -1
  311. package/@viewlift/player_legacy/esm/multicam-de741974.js +0 -1
  312. package/@viewlift/player_legacy/esm/multicamv2-d006cffa.js +0 -1
  313. package/@viewlift/player_legacy/esm/multicamv2-efe93b72.js +0 -1
  314. package/@viewlift/player_legacy/esm/mwebPotrait-3c1805d8.js +0 -1
  315. package/@viewlift/player_legacy/esm/mwebPotraitTray-5323453e.js +0 -1
  316. package/@viewlift/player_legacy/esm/nextEpisodeButton-172e786c.js +0 -1
  317. package/@viewlift/player_legacy/esm/nextEpisodeButton-a1556cdf.js +0 -1
  318. package/@viewlift/player_legacy/esm/nondvr_skin-64be70e5.js +0 -1
  319. package/@viewlift/player_legacy/esm/playlist-7ecf432a.js +0 -1
  320. package/@viewlift/player_legacy/esm/playlist-ce940630.js +0 -1
  321. package/@viewlift/player_legacy/esm/renditions-71ea4b1e.js +0 -1
  322. package/@viewlift/player_legacy/esm/resolution-9836657e.js +0 -1
  323. package/@viewlift/player_legacy/esm/series-041152aa.js +0 -1
  324. package/@viewlift/player_legacy/esm/series-90b99709.js +0 -1
  325. package/@viewlift/player_legacy/esm/series-v2-05347955.js +0 -1
  326. package/@viewlift/player_legacy/esm/series-v2-4cdbf9b1.js +0 -1
  327. package/@viewlift/player_legacy/esm/settings-icon-1fbc99bc.js +0 -1
  328. package/@viewlift/player_legacy/esm/settings-icon-982e8c56.js +0 -1
  329. package/@viewlift/player_legacy/esm/skin-271fa63f.js +0 -1
  330. package/@viewlift/player_legacy/esm/skin-28f20306.js +0 -1
  331. package/@viewlift/player_legacy/esm/skin-2c638dc1.js +0 -1
  332. package/@viewlift/player_legacy/esm/skin-35587f60.js +0 -1
  333. package/@viewlift/player_legacy/esm/skin-649d1a0c.js +0 -1
  334. package/@viewlift/player_legacy/esm/skin-96de1bc3.js +0 -1
  335. package/@viewlift/player_legacy/esm/skin-cd537931.js +0 -1
  336. package/@viewlift/player_legacy/esm/skin-dc0ea0bd.js +0 -1
  337. package/@viewlift/player_legacy/esm/skin-e9170fb9.js +0 -1
  338. package/@viewlift/player_legacy/esm/skin-fbc45594.js +0 -1
  339. package/@viewlift/player_legacy/esm/util-4a2489f5.js +0 -1
  340. package/@viewlift/player_legacy/esm/videoSelector-8e258d45.js +0 -1
  341. package/@viewlift/player_legacy/esm/videoSelector-e140c66d.js +0 -1
  342. package/@viewlift/player_legacy/package.json +0 -17
  343. package/@viewlift/web-multiplayer/cjs/bundle.css +0 -68
  344. package/@viewlift/web-multiplayer/cjs/index.js +0 -1
  345. package/@viewlift/web-multiplayer/esm/App.js +0 -1
  346. package/@viewlift/web-multiplayer/esm/bundle.css +0 -68
  347. package/@viewlift/web-multiplayer/esm/components/Multiplayer.js +0 -1
  348. package/@viewlift/web-multiplayer/esm/index.js +0 -1
  349. package/@viewlift/web-multiplayer/esm/reportWebVitals.js +0 -1
  350. package/@viewlift/web-multiplayer/package.json +0 -38
  351. package/player-micro-frontend/cjs/index.js +0 -1
  352. package/player-micro-frontend/esm/index.js +0 -1
  353. package/player-micro-frontend/package.json +0 -33
  354. /package/{@viewlift/player-backup/cjs → cjs}/caption-settings-34ca0188.js +0 -0
  355. /package/{@viewlift/player-backup/cjs → cjs}/chromett-f925fb6c.js +0 -0
  356. /package/{@viewlift/player-backup/cjs → cjs}/error-26d5a3c3.js +0 -0
  357. /package/{@viewlift/player-backup/cjs → cjs}/icons-2609dbe4.js +0 -0
  358. /package/{@viewlift/player-backup/cjs → cjs}/localisation-56e0a999.js +0 -0
  359. /package/{@viewlift/player-backup/cjs → cjs}/multicamv2-1efdbdb9.js +0 -0
  360. /package/{@viewlift/player-backup/cjs → cjs}/multicamv2-7a86b517.js +0 -0
  361. /package/{@viewlift/player-backup/cjs → cjs}/nextEpisodeButton-b6e6586f.js +0 -0
  362. /package/{@viewlift/player-backup/cjs → cjs}/player_instance-fcf6a8fb.js +0 -0
  363. /package/{@viewlift/player-backup/cjs → cjs}/playlist-df87ca90.js +0 -0
  364. /package/{@viewlift/player-backup/cjs → cjs}/series-9c237975.js +0 -0
  365. /package/{@viewlift/player-backup/cjs → cjs}/series-v2-2105fd89.js +0 -0
  366. /package/{@viewlift/player-backup/cjs → cjs}/series-v2-e037e14e.js +0 -0
  367. /package/{@viewlift/player-backup/cjs → cjs}/settings-icon-8d364c01.js +0 -0
  368. /package/{@viewlift/player-backup/cjs → cjs}/skin-225252ff.js +0 -0
  369. /package/{@viewlift/player-backup/cjs → cjs}/skin-38de8257.js +0 -0
  370. /package/{@viewlift/player-backup/cjs → cjs}/skin-ba38afdb.js +0 -0
  371. /package/{@viewlift/player-backup/cjs → cjs}/skin-fc1e7e52.js +0 -0
  372. /package/{@viewlift/player-backup/cjs → cjs}/videoSelector-b6e03076.js +0 -0
  373. /package/{@viewlift/player-backup/cjs → cjs}/videoSelector-fcdf11eb.js +0 -0
  374. /package/{@viewlift/player-backup/esm → esm}/caption-settings-cb47408f.js +0 -0
  375. /package/{@viewlift/player-backup/esm → esm}/chromett-a3cbb2e1.js +0 -0
  376. /package/{@viewlift/player-backup/esm → esm}/error-2395864b.js +0 -0
  377. /package/{@viewlift/player-backup/esm → esm}/icons-37daa6b3.js +0 -0
  378. /package/{@viewlift/player-backup/esm → esm}/localisation-0bf399a1.js +0 -0
  379. /package/{@viewlift/player-backup/esm → esm}/multicamv2-1fb5149a.js +0 -0
  380. /package/{@viewlift/player-backup/esm → esm}/multicamv2-b7cec0cf.js +0 -0
  381. /package/{@viewlift/player-backup/esm → esm}/nextEpisodeButton-a1556cdf.js +0 -0
  382. /package/{@viewlift/player-backup/esm → esm}/player_instance-34118a5b.js +0 -0
  383. /package/{@viewlift/player-backup/esm → esm}/playlist-7ecf432a.js +0 -0
  384. /package/{@viewlift/player-backup/esm → esm}/series-041152aa.js +0 -0
  385. /package/{@viewlift/player-backup/esm → esm}/series-v2-6e9853f8.js +0 -0
  386. /package/{@viewlift/player-backup/esm → esm}/series-v2-87343239.js +0 -0
  387. /package/{@viewlift/player-backup/esm → esm}/settings-icon-1fbc99bc.js +0 -0
  388. /package/{@viewlift/player-backup/esm → esm}/skin-271fa63f.js +0 -0
  389. /package/{@viewlift/player-backup/esm → esm}/skin-2c638dc1.js +0 -0
  390. /package/{@viewlift/player-backup/esm → esm}/skin-71be210e.js +0 -0
  391. /package/{@viewlift/player-backup/esm → esm}/skin-fbab87d5.js +0 -0
  392. /package/{@viewlift/player-backup/esm → esm}/videoSelector-8e258d45.js +0 -0
  393. /package/{@viewlift/player-backup/esm → esm}/videoSelector-def99d5e.js +0 -0
@@ -0,0 +1 @@
1
+ import e from"@babel/runtime/helpers/toConsumableArray";import t from"@babel/runtime/helpers/classCallCheck";import a from"@babel/runtime/helpers/createClass";import n from"@babel/runtime/helpers/inherits";import i from"@babel/runtime/helpers/possibleConstructorReturn";import o from"@babel/runtime/helpers/getPrototypeOf";import l from"video.js";import{h as r,e as d,T as s}from"./icons-37daa6b3.js";import{g as c}from"./player_instance-34118a5b.js";import{g as u,p}from"./resolution-62be852a.js";import{g as m}from"./localisation-0bf399a1.js";import{g as h,s as v,j as f,k as g,f as y,p as C}from"./skin-65765793.js";import"@babel/runtime/helpers/assertThisInitialized";import"@babel/runtime/helpers/defineProperty";function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}var E=l.getComponent("Component"),N=function(){n(L,E);var N,k,I=(N=L,k=b(),function(){var e,t=o(N);if(k){var a=o(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return i(this,e)});function L(e){var a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(this,L),(a=I.call(this,e,n)).playerId=n.playerId,a.seriesData=n.sres,a.currentVideoData=n.res,a.initialiseStructure(),a.loadCSS(),a.resolutionBitrateMap,a}return a(L,[{key:"fillResolutionBitrateMap",value:function(e){var t=this;this.resolutionBitrateMap=new Map,e.forEach(function(e){var a=(null==e?void 0:e.bandwidth)||(null==e?void 0:e.bitrate);if(a){var n=null==t?void 0:t.resolutionBitrateMap.get(null==e?void 0:e.height);t.resolutionBitrateMap.set(null==e?void 0:e.height,Math.min(a,n||1/0))}})}},{key:"isEnhancedBitrate",value:function(e){var t,a=(null==e?void 0:e.bandwidth)||(null==e?void 0:e.bitrate),n=null==this||null===(t=this.resolutionBitrateMap)||void 0===t?void 0:t.get(null==e?void 0:e.height);return!(!a||!n)&&a>n}},{key:"createEl",value:function(){var e=l.dom.createEl("div",{className:"settings-selection vjs-control vjs-button"});e.style.position="unset";var t=l.dom.createEl("div",{className:"settings-selector-icon",innerHTML:"".concat(r())});return l.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){import("./settings-icon-1fbc99bc.js").then(function(e){var t=document.createElement("style");t.id="video-captions",t.append("".concat(e.default)),document.head.appendChild(t)})}},{key:"initialiseStructure",value:function(){var e=this,t=this.el(),a=l.dom.createEl("div",{className:"selection-container hidden"});l.dom.$(".settings-selector-icon",this.el()).onclick=function(){var n;null!==(n=a.classList)&&void 0!==n&&n.contains("hidden")?(h(),a.classList.remove("hidden"),t.classList.add("open"),a.style.right="0px",v(e.playerId,a)):(a.classList.add("hidden"),t.classList.remove("open"),a.style.right="-350px")};var n=document.getElementById(this.playerId);if(n){var i=window.getComputedStyle(n,null).getPropertyValue("height");a.style.height="".concat(i),l.dom.appendContent(t,a),n.style.overflow="hidden",this.addFunctionality(a),f(this.playerId,a)}}},{key:"addFunctionality",value:function(e){var t=this.el(),a=l.dom.createEl("div",{className:"settings-selector-head"}),n=l.dom.createEl("div",{className:"settings-selector-cross-icon",innerHTML:"".concat(d())});n.onclick=function(){e.classList.add("hidden"),t.classList.remove("open"),e.style.right="-350px"};var i=l.dom.createEl("div",{className:"settings-selector-title",innerHTML:m("settingsTitle")||"Settings"}),o=l.dom.createEl("div",{className:"settings-selector-content"}),r=l.dom.createEl("div",{className:"settings-container"}),s=this.createVideoQualityContainer();l.dom.appendContent(r,s);var c=this.createAudioQualityContainer();l.dom.appendContent(r,c),l.dom.appendContent(a,n),l.dom.appendContent(a,i),l.dom.appendContent(e,a),l.dom.appendContent(e,o),l.dom.appendContent(o,r),g(this.playerId,e)}},{key:"createAudioQualityContainer",value:function(){var e=c(this.playerId),t=null==e?void 0:e.audioTracks().tracks_;if(!((null==t?void 0:t.length)<=1)){var a=l.dom.createEl("div",{className:"audio-language-container"}),n=l.dom.createEl("div",{className:"audio-language-container-title",innerHTML:m("audioLanguageText")||"Audio Language"});l.dom.appendContent(a,n);for(var i=function(e){var n,i=document.createElement("label");i.className="audio-language-holder",i.setAttribute("for","language-radio-".concat(e));var o=document.createElement("div");o.className="audio - ".concat(e),o.textContent=null==t||null===(n=t[e])||void 0===n?void 0:n.label;var r=l.dom.createEl("input",{className:"radio - ".concat(e),id:"language-radio-".concat(e),name:"audio-language-radio"});r.setAttribute("type","radio"),1==t[e].enabled&&(r.checked=!0),r.onchange=function(a){t.map(function(e){e.enabled=!1}),t[e].enabled=!0},l.dom.appendContent(i,r),l.dom.appendContent(i,o),l.dom.appendContent(a,i)},o=0;o<t.length;o++)i(o);return a}}},{key:"createVideoQualityContainer",value:function(){var t=this,a=l.dom.createEl("div",{className:"video-quality-container"}),n=l.dom.createEl("div",{className:"video-quality-container-title",innerHTML:m("videoQualityText")||"Video Quality"});l.dom.appendContent(a,n);var i=[].concat(e(u(this.playerId)),[{height:"Auto"}]).sort(function(e,t){return(null==t?void 0:t.qualityIndex)-(null==e?void 0:e.qualityIndex)});this.fillResolutionBitrateMap(i),p(this.playerId,"raw",!0);for(var o=function(e){var n,o,r,d=document.createElement("label"),c=document.createElement("div"),u=document.createElement("div");u.className="video-quality-bitrate-label",c.className="video-quality-holder",d.className="video-quality-label-container",d.setAttribute("for","quality".concat(e));var h=document.createElement("div");h.className="video-quality - ".concat(e);var v=(null==i||null===(n=i[e])||void 0===n?void 0:n.height)+"".concat("Auto"==(null==i||null===(o=i[e])||void 0===o?void 0:o.height)?"":"p"),f=document.createTextNode(v),g="".concat(t.isEnhancedBitrate(i[e])?m("enhancedBitrateLabel")||"Enhanced Bitrate":""),b=document.createTextNode(g);if(u.appendChild(b),h.appendChild(f),(null==i||null===(r=i[e])||void 0===r?void 0:r.height)>=720)for(var E=y("<span class='hd-rendition'> HD </span>");null!=E&&E.firstChild;)h.appendChild(E.firstChild);var N=l.dom.createEl("input",{className:"radio - ".concat(e," radio-btn"),id:"quality".concat(e),name:"quality-radio",rendata:"".concat(i[e]),checked:"".concat(e==i.length-1)});N.setAttribute("type","radio"),N.onchange=function(a){var n=i[e];"true"=="".concat("Auto"==i[e].height)?p(t.playerId,n,!0):p(t.playerId,n)};var k=document.createElement("span");k.className=g?"check-mark center":"check-mark";var I=C(s());k.appendChild(I),c.appendChild(N),c.appendChild(k),c.appendChild(h),l.dom.appendContent(d,c),d.appendChild(u),l.dom.appendContent(a,d)},r=0;r<i.length;r++)o(r);return a}}]),L}();export{N as default};
@@ -0,0 +1 @@
1
+ import{A as e,B as t}from"./generic-b70da815.js";import{g as r}from"./player_instance-34118a5b.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"video.js";import"axios";import"js-cookie";import"./currentVideoInfo-0b234e55.js";import"./captions-78bd2908.js";import"@babel/runtime/helpers/typeof";import"./skin-65765793.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";function o(o){import("./skin-2c638dc1.js").then(function(e){var t=document.createElement("style");t.id="carousel_homepage",t.append("".concat(e.default)),document.head.appendChild(t)}),i(),function(o){var i=document.getElementById("".concat(o)),n=r(o);i&&i.addEventListener("touchstart",function(){n.paused()?e(o):t(o)})}(o)}var i=function(){var e=document.getElementsByClassName("vjs-control-bar")[0];e&&(e.style.visibility="hidden")};export{o as initaliseSkin};
@@ -0,0 +1 @@
1
+ import{f as l,t as i,d as e,e as n,j as o,k as t,l as r,m as s}from"./features-4ba3024f.js";import{f as a}from"./icons-37daa6b3.js";import{g as d}from"./player_instance-34118a5b.js";import{p as u,e as v}from"./skin-65765793.js";import{g as C}from"./resolution-62be852a.js";import{a as c,b as p}from"./index-ca68a2b6.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/toConsumableArray";import{U as h,V as m}from"./generic-b70da815.js";import{a as f,b}from"./currentVideoInfo-0b234e55.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./localisation-0bf399a1.js";import"@babel/runtime/helpers/assertThisInitialized";import"./autoNextVideo-d6e1bfbc.js";import"./util-b5ecf7d5.js";import"@babel/runtime/helpers/typeof";import"axios";import"js-cookie";import"./captions-78bd2908.js";import"@viewlift/comscore/index.js";function g(g,L){d(g).addClass("skin_news_live"),function(i,e){var n=d(i);n&&n.on("loadeddata",function(){var n,o,t,r,s,a,d;(null===(n=C(i))||void 0===n?void 0:n.length)>0&&0!=(null==e||null===(o=e.skin_settings)||void 0===o?void 0:o.settingsToggle)&&l(i,e),!(null!=e&&null!==(t=e.series)&&void 0!==t&&t.enable||null!==(r=window)&&void 0!==r&&null!==(s=r.app_data)&&void 0!==s&&null!==(a=s.appcmsMain)&&void 0!==a&&null!==(d=a.features)&&void 0!==d&&d.auto_play)||null!=e&&e.liveVideo||c(i,e)})}(g,L),function(l,i){var e,n,o,t,r,s,a,C,c,p,h,m,f,b,g,L,y,B,j,w,V,E,x,k,M,S,T,Z,_,A,H=d(l);null===(e=H.controlBar)||void 0===e||e.removeChild("PlayToggle");var P=null==H||null===(n=H.controlBar)||void 0===n||null===(o=n.el())||void 0===o||null===(t=o.children)||void 0===t?void 0:t[2],N=document.createElement("div");N.className="vjs-play-toggle-container",N.append(null==H||null===(r=H.controlBar)||void 0===r||null===(s=r.addChild("PlayToggle"))||void 0===s?void 0:s.el()),null==H||null===(a=H.controlBar)||void 0===a||null===(C=a.el())||void 0===C||C.insertBefore(N,P),null==H||null===(c=H.controlBar)||void 0===c||c.removeChild("VolumePanel"),null==H||null===(p=H.controlBar)||void 0===p||p.addChild("VolumePanel",{inline:!0},1);var I=null==H||null===(h=H.controlBar)||void 0===h?void 0:h.getChild("ProgressControl");null===(m=H.controlBar)||void 0===m||m.removeChild("SeekToLive"),null===(f=H.controlBar)||void 0===f||f.addChild("SeekToLive",{inline:!1},2);var q=null===(b=H.controlBar)||void 0===b||null===(g=b.getChild("SeekToLive"))||void 0===g?void 0:g.el();q&&(q.onclick=function(){if(H.paused())try{H.play()}catch(l){console.log(l)}});var O=document.createElement("div");O.className="custom-spaced-progress-bar",I&&O.append(I.el());null===(L=H.controlBar)||void 0===L||null===(y=L.el())||void 0===y||y.append(O);var D='<svg xmlns="http://www.w3.org/2000/svg" style="display : none">\n <defs>\n <symbol id="vjs-icon-pause" viewBox="0 0 17 16">\n <path d="M6.00138 15.4894C6.02138 15.7494 5.82138 15.9694 5.56138 15.9894C5.54138 15.9894 5.52138 15.9894 5.50138 15.9894H2.50138C2.24138 16.0094 2.02138 15.8094 2.00138 15.5494C2.00138 15.5294 2.00138 15.5094 2.00138 15.4894V0.499411C1.98138 0.239411 2.18138 0.0194107 2.44138 -0.000589337C2.46138 -0.000589337 2.48138 -0.000589337 2.50138 -0.000589337H5.50138C5.76138 -0.0205893 5.98138 0.179411 6.00138 0.439411C6.00138 0.459411 6.00138 0.479411 6.00138 0.499411V15.4894ZM14.0014 0.509411C14.0214 0.249411 13.8214 0.0294105 13.5614 0.00941051C13.5414 0.00941051 13.5214 0.00941051 13.5014 0.00941051H10.5014C10.2414 -0.0105895 10.0214 0.189411 10.0014 0.449411C10.0014 0.469411 10.0014 0.489411 10.0014 0.509411V15.4994C9.98138 15.7594 10.1814 15.9794 10.4414 15.9994C10.4614 15.9994 10.4814 15.9994 10.5014 15.9994H13.5014C13.7614 16.0194 13.9814 15.8194 14.0014 15.5594C14.0014 15.5394 14.0014 15.5194 14.0014 15.4994V0.509411Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-play" viewBox="0 0 17 16">\n <path d="M0.38279 15.9526C0.28279 16.0326 0.142791 16.0126 0.0527906 15.9126C0.0127906 15.8626 -0.00720943 15.8026 0.00279057 15.7326V0.262601C-0.0172094 0.132601 0.0727907 0.0226013 0.192791 0.00260128C0.262791 -0.00739872 0.32279 0.0126014 0.38279 0.0426014L15.8528 7.8126C16.0628 7.9226 16.0628 8.0926 15.8528 8.1926L0.38279 15.9526Z" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-fullscreen" viewBox="0 0 24 24">\n <path d="M19.8621 5.44209L19.0221 10.4521C18.9821 10.7221 18.7821 10.7821 18.5821 10.5921L17.1421 9.15209L14.3521 11.9421L12.9321 10.5221L15.7221 7.73209L14.2821 6.29209C14.0921 6.10209 14.1521 5.90209 14.4221 5.85209L19.4321 5.01209C19.6121 4.96209 19.7921 5.07209 19.8421 5.25209C19.8821 5.32209 19.8821 5.38209 19.8621 5.44209ZM9.15209 17.1621L11.9421 14.3721L10.5221 12.9521L7.73209 15.7421L6.29209 14.3021C6.10209 14.1121 5.90209 14.1721 5.85209 14.4421L5.01209 19.4521C4.96209 19.6321 5.07209 19.8121 5.25209 19.8621C5.30209 19.8821 5.37209 19.8821 5.42209 19.8621L10.4321 19.0221C10.7021 18.9821 10.7621 18.7821 10.5721 18.5821L9.15209 17.1621Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-fullscreen-back" viewBox="0 0 24 24">\n <path d="M10.92 13.49L10.08 18.5C10.04 18.77 9.84001 18.83 9.64001 18.64L8.20001 17.2L5.41001 19.99L3.99001 18.57L6.78001 15.78L5.34001 14.34C5.15001 14.15 5.21001 13.95 5.48001 13.9L10.49 13.06C10.67 13.01 10.85 13.12 10.9 13.3C10.94 13.37 10.94 13.43 10.92 13.49ZM17.21 8.21L20 5.42L18.58 4L15.79 6.79L14.35 5.35C14.16 5.16 13.96 5.22 13.91 5.49L13.07 10.5C13.02 10.68 13.13 10.86 13.31 10.91C13.36 10.93 13.43 10.93 13.48 10.91L18.49 10.07C18.76 10.03 18.82 9.83 18.63 9.63L17.21 8.21Z" fill="#EBEBEB"/>\n </symbol>\n\n <symbol id="vjs-icon-volume1" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume2" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume3" viewBox="0 0 24 24">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-mute" viewBox="0 0 24 24"> \n <g clip-path="url(#clip0_19_559)">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M19.0909 12.5238L21.2626 14.6955L19.8146 16.1436L17.6429 13.9718L15.4711 16.1436L14.0231 14.6955L16.1948 12.5238L14.0231 10.352L15.4711 8.904L17.6429 11.0757L19.8146 8.904L21.2626 10.352L19.0909 12.5238Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0_19_559">\n <rect width="24" height="24" fill="white"/>\n </clipPath>\n </defs>\n </symbol>\n <symbol id="vjs-icon-big-mute" viewBox="0 0 24 24"> \n <g clip-path="url(#clip0_19_559)">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="inherit"/>\n <path d="M19.0909 12.5238L21.2626 14.6955L19.8146 16.1436L17.6429 13.9718L15.4711 16.1436L14.0231 14.6955L16.1948 12.5238L14.0231 10.352L15.4711 8.904L17.6429 11.0757L19.8146 8.904L21.2626 10.352L19.0909 12.5238Z" fill="inherit"/>\n </g>\n <defs>\n <clipPath id="clip0_19_559">\n <rect width="24" height="24" fill="inherit"/>\n </clipPath>\n </defs>\n </symbol>\n\n <symbol id="vjs-icon-pip" viewBox="0 0 24 16">\n <rect x="1" y="1" width="22" height="14" rx="1" stroke="white" stroke-width="2"/>\n <rect x="9.33331" y="6.66666" width="10.6667" height="5.33333" rx="1" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-captions" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" fill="white" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="#050910"/>\n </symbol>\n\n <symbol id="vjs-icon-captions-off" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="white"/>\n </symbol>\n\n </defs>\n </svg>';H.el().insertBefore(u(D),null!==(B=H.el().firstChild)&&void 0!==B?B:null);var R=(null==H||null===(j=H.controlBar)||void 0===j||null===(w=j.getChild("PlayToggle"))||void 0===w||null===(V=w.el())||void 0===V?void 0:V.firstChild)||null;if(R){R.style.height="18px",R.style.width="18px";var F=v(R,H.paused()?"#vjs-icon-play":"#vjs-icon-pause");H.on("pause",function(){return F.setAttributeNS(null,"href","#vjs-icon-play")}),H.on("play",function(){return F.setAttributeNS(null,"href","#vjs-icon-pause")})}var z=(null==H||null===(E=H.controlBar)||void 0===E||null===(x=E.getChild("FullscreenToggle"))||void 0===x||null===(k=x.el())||void 0===k?void 0:k.firstChild)||null;if(z){z.style.height="24px",z.style.width="24px";var G=v(z,"#vjs-icon-fullscreen");H.on("fullscreenchange",function(){var l=H.isFullscreen_;null==G||G.setAttributeNS(null,"href",l?"#vjs-icon-fullscreen-back":"#vjs-icon-fullscreen")})}var K=(null==H||null===(M=H.controlBar)||void 0===M||null===(S=M.getChild("VolumePanel"))||void 0===S?void 0:S.el())||null;if(K){var U=K.querySelector(".vjs-mute-control .vjs-icon-placeholder");U.classList.add("vjs-svg-icon"),U.style.height="24px",U.style.width="24px";var J=v(U,H.muted()?"#vjs-icon-mute":"#vjs-icon-volume1");H.on("volumechange",function(l){var i=H.volume();console.log(i,H.muted()),0==i||H.muted()?J.setAttributeNS(null,"href","#vjs-icon-mute"):i>0&&i<=.3?J.setAttributeNS(null,"href","#vjs-icon-volume1"):i>=.3&&i<=.7?J.setAttributeNS(null,"href","#vjs-icon-volume2"):J.setAttributeNS(null,"href","#vjs-icon-volume3")})}var Q=(null==H||null===(T=H.controlBar)||void 0===T||null===(Z=T.getChild("PictureInPictureToggle"))||void 0===Z?void 0:Z.el())||null;if(Q){var W=null==Q?void 0:Q.querySelector(".vjs-icon-placeholder");W.style.height="25px",W.style.width="25px";var X=v(W,"#vjs-icon-pip");H.on("enterpictureinpicture",function(){X.setAttributeNS(null,"href","#vjs-icon-pip")})}var Y=(null==H||null===(_=H.controlBar)||void 0===_||null===(A=_.getChild("SubsCapsButton"))||void 0===A?void 0:A.el())||null;if(Y){var $=Y.querySelector(".vjs-subs-caps-button .vjs-icon-placeholder");$.classList.add("vjs-svg-icon"),$.style.height="29px",$.style.width="29px";var ll=v($,"#vjs-icon-caps");ll.setAttributeNS(null,"href","#vjs-icon-captions-off"),H.textTracks().on("change",function(l){for(var i=H.textTracks(),e=!1,n=0;n<i.length;n++){var o=i[n];if(("captions"===o.kind||"subtitles"===o.kind)&&"showing"===o.mode){e=!0;break}}e?ll.setAttributeNS(null,"href","#vjs-icon-captions"):ll.setAttributeNS(null,"href","#vjs-icon-captions-off")})}H&&null!=i&&i.liveVideo&&null!=i&&i.liveui&&(H.liveTracker.on("liveedgechange",function(){nl(H)}),H.on("timeupdate",function(){nl(H)}));function il(l){var i=Math.floor(l/3600),e=Math.floor(l%3600/60),n=Math.floor(l%60),o=function(l){return String(l).padStart(2,"0")};return 0===i?"".concat(o(e),":").concat(o(n)):"".concat(o(i),":").concat(o(e),":").concat(o(n))}function el(l){var i=l.seekable();if(i&&i.length>0){var e=i.end(0);return Math.max(0,e-l.currentTime())}return 0}function nl(l){var i,e,n=l.liveTracker.atLiveEdge(),o=el(l),t=null==l||null===(i=l.controlBar)||void 0===i||null===(e=i.remainingTimeDisplay)||void 0===e?void 0:e.el();if(t){var r=t.querySelector(".vjs-remaining-time-display");n?t.style.display="none":(t.style.display="flex",r&&(r.innerText=il(o)))}}}(g,L),function(l,d){var u,v,C,c,p,g,L,y,B,j,w=(null==d?void 0:d.liveVideo)||!1,V=(null==d||null===(u=d.res)||void 0===u?void 0:u.contentType)||"video",E=(null==d||null===(v=d.res)||void 0===v||null===(C=v[V])||void 0===C?void 0:C.isSSAIEnabled)||!1,x=(null==d?void 0:d.skin_settings)||{};null==x||x.slowMoBtn;var k=(null==d||null===(c=d.customData)||void 0===c?void 0:c.ads)||{};i(l),null!=x&&x.skipBtn&&0==(null==d?void 0:d.liveVideo)&&0==(null==d?void 0:d.liveui)&&e(l,"VL_ONE",SkipSvgV2());null!=x&&x.rewindBtn&&(0==(null==d?void 0:d.liveVideo)&&0==(null==d?void 0:d.liveui)||1==(null==d?void 0:d.liveui))&&n(l,"VL_ONE",a());(null==d||null===(p=d.relatedVideos)||void 0===p||null===(g=p.content)||void 0===g?void 0:g.length)>0&&o(l,null==d?void 0:d.relatedVideos);(null==d||null===(L=d.streams)||void 0===L?void 0:L.length)>1&&t(l,null==d?void 0:d.streams);(null==d||null===(y=d.playlist)||void 0===y||null===(B=y.content)||void 0===B?void 0:B.length)>0&&r(l,null==d?void 0:d.playlist);null!=d&&null!==(j=d.series)&&void 0!==j&&j.enable&&s(l,d);if("MEDIA_TAILOR"==(null==k?void 0:k.vodAdSticherProvider)&&null!=k&&k.vodAdClientSideTracking&&E)if(w)h(l);else{var M,S=null;if(null!=d&&null!==(M=d.series)&&void 0!==M&&M.enable){var T,Z,_,A,H,P=null===(T=f())||void 0===T||null===(Z=T.video)||void 0===Z||null===(_=Z.gist)||void 0===_?void 0:_.id,N=b(),I=(null==N?void 0:N.get(P))||{t:0,p:0},q=I.t,O=I.p;"function"==typeof(null===(A=window)||void 0===A||null===(H=A.watchHistory)||void 0===H?void 0:H.cb)&&window.watchHistory.cb({watchedTime:q}),O<95&&(S=q)}else{var D=d.watchHistoryResumeTime;d.watchedPercentage<95&&(S=D)}m(l,S)}}(g,L),p(g,L)}export{g as initialiseSkin};
@@ -0,0 +1 @@
1
+ import e from"@babel/runtime/helpers/toConsumableArray";import{g as n}from"./player_instance-34118a5b.js";var t=["live","carousel","V2","defaultV2","multiplayer","minimalist","VL_ONE","news","mini","news_live"],i=function(e){return!t.includes(e)},o=function(e){var n=(new DOMParser).parseFromString(e,"text/html");return null==n?void 0:n.querySelector("body")},r=function(e){var n=(new DOMParser).parseFromString(e,"image/svg+xml");return null==n?void 0:n.querySelector("svg")},l="http://www.w3.org/2000/svg";function a(e,n){if(!e)return null;e.classList.add("vjs-svg-icon");var t=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 0 48 48",t=document.createElementNS(l,"svg");t.setAttribute("viewBox",n),t.setAttribute("preserveAspectRatio","xMidYMid meet");var i=document.createElementNS(l,"use");return i.setAttributeNS(null,"href",e),t.appendChild(i),{svg:t,use:i}}(n),i=t.svg,o=t.use;return e.appendChild(i),o}var u=function(e){return r(e)},d=function(t,i){if(i){var o,r,l=n(i);if(l&&"function"==typeof l.el&&null!=l&&null!==(o=l.el())&&void 0!==o&&null!==(r=o.classList)&&void 0!==r&&r.contains("skin_defaultv2"))return void s(t)}var a=e(document.querySelectorAll("[video-idx]"));console.log(a),a.map(function(e){var n=e.parentNode,i=e.getAttribute("video-idx");n.style.background=i==t?"gray":"none"})},s=function(n){e(document.querySelectorAll("[video-idx]")).map(function(e){var t=e.getAttribute("video-idx");e.style.border=t==n?"2px solid white":"none"})},c=function(){var n=e(document.getElementsByClassName("vjs-control vjs-button open"));null==n||n.map(function(e){var n,t;null==e||null===(n=e.childNodes)||void 0===n||null===(t=n[0])||void 0===t||t.click()})},v=function(e){return e&&!e.includes("?impolicy")?e+"?impolicy=resize&w=1920&h=1080":null},m="",w=function(e,n){var t,i=function(){return function(e,n){var t=window.matchMedia("(orientation: portrait)").matches?"potrait":"landscape",i=document.getElementById(e);if(i&&m!==t){var o=window.getComputedStyle(i,null).getPropertyValue("height");n&&(n.style.height="".concat(o)),m=t}}(e,n)};window._orientationChangeHandler=i;window.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(function(){i()},100)})},f=function(e,t){var i,o=n(e),r=n(e).el(),l=new ResizeObserver(function(){var n;null!==(n=t.classList)&&void 0!==n&&n.contains("hidden")||(i&&clearTimeout(i),i=setTimeout(function(){p(e,t)},300))});l.observe(r),o.on("dispose",function(){l.disconnect()}),o.on("fullscreenchange",function(){setTimeout(function(){p(e,t)},50)})},p=function(e,n){var t;if(n){var i=document.getElementById(e),o=null===(t=window.getComputedStyle(i,null))||void 0===t?void 0:t.height;n.style.height!==o&&(n.style.height="".concat(o))}},g=function(){window._orientationChangeHandler&&(window.removeEventListener("resize",window._orientationChangeHandler),delete window._orientationChangeHandler),window._multiplayer_dbClickHandler&&(window.removeEventListener("dblclick",window._multiplayer_dbClickHandler),delete window._multiplayer_dbClickHandler),window._multiplayer_dbTapHandler&&(window.removeEventListener("touchend",window._multiplayer_dbTapHandler),delete window._multiplayer_dbTapHandler)};function h(e,n){var t=null,i=null;return function(){for(var o=this,r=arguments.length,l=new Array(r),a=0;a<r;a++)l[a]=arguments[a];i?(clearTimeout(t),t=setTimeout(function(){Date.now()-i>=n&&(e.apply(o,l),i=Date.now())},n-(Date.now()-i))):(e.apply(this,l),i=Date.now())}}var y=function(e,n){var t;return function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var l=this;clearTimeout(t),t=setTimeout(function(){e.apply(l,o)},n)}};export{i as a,u as b,g as c,y as d,a as e,o as f,c as g,d as h,v as i,w as j,f as k,s as l,r as p,p as s,h as t};
@@ -0,0 +1 @@
1
+ import{h as l,d as e,e as o,o as i,p as n,q as t,r,s as a}from"./features-4ba3024f.js";import{g as u}from"./player_instance-34118a5b.js";import{a as s,b as d}from"./index-ca68a2b6.js";import{i as v}from"./index-e3c02e4c.js";import{S as c,e as m,R as p,U as b,V as h}from"./generic-b70da815.js";import"videojs-contrib-quality-menu";import{i as f,r as y}from"./index-4447d956.js";import{c as g}from"./helper-d52dff3c.js";import{c as j,a as w,b as C}from"./currentVideoInfo-0b234e55.js";import k from"video.js";import{c as T,d as B}from"./icons-37daa6b3.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"./resolution-62be852a.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./skin-65765793.js";import"./localisation-0bf399a1.js";import"./autoNextVideo-d6e1bfbc.js";import"./util-b5ecf7d5.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/slicedToArray";import"axios";import"js-cookie";import"./captions-78bd2908.js";import"@viewlift/comscore/index.js";import"video.js/dist/video-js.min.css";function L(e,o){var i=u(e);i&&(i.on("loadeddata",function(){var l,n,t,r,a,d=g(o),m=j();i.qualityLevels()&&i.qualityLevels().length&&function(l){var e=u(l);e&&(null==e||e.qualityMenu,e.qualityMenu({useResolutionLabels:!0}))}(e),!(null!=o&&null!==(l=o.series)&&void 0!==l&&l.enable||null!==(n=window)&&void 0!==n&&null!==(t=n.app_data)&&void 0!==t&&null!==(r=t.appcmsMain)&&void 0!==r&&null!==(a=r.features)&&void 0!==a&&a.auto_play)||null!=o&&o.liveVideo||s(e,o),null!=o&&o.liveVideo||c()||"b13633d9-f778-40c6-a5ea-c330617cdf55"===siteId||"cea398b9-09ab-4331-958f-8c3d6a356b88"===siteId||v(e),d&&m&&m.length?f(e):y()}),i.one("play",function(){var o,i,n,t;null!==(o=window)&&void 0!==o&&null!==(i=o.customData)&&void 0!==i&&i.iframeOverlayUrl&&l(e,null===(n=window)||void 0===n||null===(t=n.customData)||void 0===t?void 0:t.iframeOverlayUrl)}))}function V(l,s){u(l).addClass("skin_vlone"),L(l,s),function(l,s){var v,c,f,y,j,k,L,V,E,M=u(l),q=(null==s?void 0:s.liveVideo)||!1,x=(null==s||null===(v=s.res)||void 0===v?void 0:v.contentType)||"video",_=(null==s||null===(c=s.res)||void 0===c||null===(f=c[x])||void 0===f?void 0:f.isSSAIEnabled)||!1,A=m(null==s?void 0:s.res,l)||{};A.src;var D=(null==s?void 0:s.skin_settings)||{},I=(null==s||null===(y=s.customData)||void 0===y?void 0:y.ads)||{};if(g(s),q&&!(null!=s&&s.liveui)){var R,S,O=(null==M||null===(R=M.controlBar)||void 0===R||null===(S=R.getChild("LiveDisplay"))||void 0===S?void 0:S.el())||null;O&&(O.onclick=function(){try{var l;null==M||null===(l=M.liveTracker)||void 0===l||l.seekToLiveEdge()}catch(l){console.log(l,"Cannot seek to LE")}})}null!=D&&D.skipBtn&&0==(null==s?void 0:s.liveVideo)&&0==(null==s?void 0:s.liveui)&&e(l,"VL_ONE",T());(null!=D&&D.rewindBtn&&0==(null==s?void 0:s.liveVideo)&&0==(null==s?void 0:s.liveui)||1==(null==s?void 0:s.liveui))&&o(l,"VL_ONE",B());(null==s||null===(j=s.relatedVideos)||void 0===j||null===(k=j.content)||void 0===k?void 0:k.length)>0&&i(l,null==s?void 0:s.relatedVideos);null!=s&&null!==(L=s.series)&&void 0!==L&&L.enable&&n(l,s);(null==s||null===(V=s.streams)||void 0===V?void 0:V.length)>1&&t(l,null==s?void 0:s.streams);if(d(l,s),p(l,s),"MEDIA_TAILOR"==(null==I?void 0:I.vodAdSticherProvider)&&null!=I&&I.vodAdClientSideTracking&&_)if(q)b(l);else{var P,H=null;if(null!=s&&null!==(P=s.series)&&void 0!==P&&P.enable){var N,U,$,z,G,J=null===(N=w())||void 0===N||null===(U=N.video)||void 0===U||null===($=U.gist)||void 0===$?void 0:$.id,K=C(),Y=(null==K?void 0:K.get(J))||{t:0,p:0},F=Y.t,Q=Y.p;"function"==typeof(null===(z=window)||void 0===z||null===(G=z.watchHistory)||void 0===G?void 0:G.cb)&&window.watchHistory.cb({watchedTime:F}),Q<95&&(H=F)}else{var W=s.watchHistoryResumeTime;s.watchedPercentage<95&&(H=W)}h(l,H)}null!=s&&s.isDvrEnabled&&null!=s&&null!==(E=s.dvrConfig)&&void 0!==E&&E.enable&&(r(l,s),a(l,s))}(l,s),E(l,s),function(l){var e,o,i,n=u(l),t=null;if(!n)return;var r=n.controlBar.getChild("VolumePanel"),a=null===(e=r.getChild("MuteToggle"))||void 0===e?void 0:e.el(),s=null==r||null===(o=r.el())||void 0===o?void 0:o.querySelector(".vjs-volume-bar"),d=null==r||null===(i=r.el())||void 0===i?void 0:i.querySelector(".vjs-volume-level");if(!r||!s||!d)return;function v(l){l.preventDefault(),t&&(clearTimeout(t),t=null),m(p(l.touches[0]))}function c(l){l.preventDefault(),m(p(l.changedTouches[0])),t=setTimeout(function(){r.el().classList.remove("vjs-hover")},2e3)}function m(l){var e=Math.min(Math.max(l,0),100);d.style.height=e+"%",s.setAttribute("aria-valuenow",e),s.setAttribute("aria-valuetext",e+"%"),n.volume(e/100)}function p(l){var e=s.getBoundingClientRect(),o=l.clientY-e.top,i=e.height;return 100-Math.min(Math.max(o/i*100,0),100)}a.addEventListener("touchend",function(){null!=r&&r.el()&&(r.el().classList.toggle("vjs-hover"),n.muted(!1),t&&(clearTimeout(t),t=null),t=setTimeout(function(){r.el().classList.remove("vjs-hover")},2e3))}),s.addEventListener("touchmove",v,{passive:!1}),s.addEventListener("touchstart",v,{passive:!1}),s.addEventListener("touchend",c,{passive:!1})}(l)}var E=function(l,e){var o,i,n,t,r,a,s,d,v,c,m,p,b=u(l),h=(null==e?void 0:e.theme)||{},f=k.dom.$(".vjs-play-progress"),y=k.dom.$(".video-js .vjs-big-play-button .vjs-icon-placeholder");y&&(y.style.color="".concat(null===(o=window)||void 0===o||null===(i=o.app_data)||void 0===i||null===(n=i.appcmsMain)||void 0===n||null===(t=n.brand)||void 0===t||null===(r=t.cta)||void 0===r||null===(a=r.primary)||void 0===a?void 0:a.backgroundColor)),f&&(f.style.background="".concat(null===(s=window)||void 0===s||null===(d=s.app_data)||void 0===d||null===(v=d.appcmsMain)||void 0===v||null===(c=v.brand)||void 0===c||null===(m=c.cta)||void 0===m||null===(p=m.primary)||void 0===p?void 0:p.backgroundColor));var g=b.getChild("BigPlayButton")||null;(null==h?void 0:h.progressBarColor)&&f&&(f.style.background=h.progressBarColor),(null==h?void 0:h.playButtonBackgroundColor)&&g&&(g.el().style.background=h.playButtonBackgroundColor),(null==h?void 0:h.playButtonColor)&&y&&(y.style.color=h.playButtonColor),(null==h?void 0:h.playButtonType)&&("square"==(null==h?void 0:h.playButtonType)?g.el().style.borderRadius=".3em":g.el().style.borderRadius="1.3em")};export{V as initialiseSkin};
@@ -0,0 +1 @@
1
+ import{f as l,d as i,e,j as n,k as o,l as t,m as r}from"./features-4ba3024f.js";import{f as s}from"./icons-37daa6b3.js";import{g as a}from"./player_instance-34118a5b.js";import{p as u,e as d}from"./skin-65765793.js";import{g as C}from"./resolution-62be852a.js";import{a as v,b as c}from"./index-ca68a2b6.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/toConsumableArray";import{V as p}from"./generic-b70da815.js";import{a as h,b as m}from"./currentVideoInfo-0b234e55.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./localisation-0bf399a1.js";import"@babel/runtime/helpers/assertThisInitialized";import"./autoNextVideo-d6e1bfbc.js";import"./util-b5ecf7d5.js";import"@babel/runtime/helpers/typeof";import"axios";import"js-cookie";import"./captions-78bd2908.js";import"@viewlift/comscore/index.js";function f(f,b){a(f).addClass("skin_mini"),function(i,e){var n=a(i);n&&n.on("loadeddata",function(){var n,o,t,r,s,a,u;(null===(n=C(i))||void 0===n?void 0:n.length)>0&&0!=(null==e||null===(o=e.skin_settings)||void 0===o?void 0:o.settingsToggle)&&l(i,e),!(null!=e&&null!==(t=e.series)&&void 0!==t&&t.enable||null!==(r=window)&&void 0!==r&&null!==(s=r.app_data)&&void 0!==s&&null!==(a=s.appcmsMain)&&void 0!==a&&null!==(u=a.features)&&void 0!==u&&u.auto_play)||null!=e&&e.liveVideo||v(i,e)})}(f,b),function(l,i){var e,n,o,t,r,s,C,v,c,p,h,m,f,b,B,y,g,L,j=a(l);null===(e=j.controlBar)||void 0===e||e.removeChild("VolumePanel"),null===(n=j.controlBar)||void 0===n||n.addChild("VolumePanel",{inline:!1},1);var w=null===(o=j.controlBar)||void 0===o?void 0:o.getChild("ProgressControl"),E=document.createElement("div");E.className="custom-spaced-progress-bar",w&&E.append(w.el());null===(t=j.controlBar)||void 0===t||null===(r=t.el())||void 0===r||r.append(E);var V='<svg xmlns="http://www.w3.org/2000/svg" style="display : none">\n <defs>\n <symbol id="vjs-icon-pause" viewBox="0 0 17 16">\n <path d="M6.00138 15.4894C6.02138 15.7494 5.82138 15.9694 5.56138 15.9894C5.54138 15.9894 5.52138 15.9894 5.50138 15.9894H2.50138C2.24138 16.0094 2.02138 15.8094 2.00138 15.5494C2.00138 15.5294 2.00138 15.5094 2.00138 15.4894V0.499411C1.98138 0.239411 2.18138 0.0194107 2.44138 -0.000589337C2.46138 -0.000589337 2.48138 -0.000589337 2.50138 -0.000589337H5.50138C5.76138 -0.0205893 5.98138 0.179411 6.00138 0.439411C6.00138 0.459411 6.00138 0.479411 6.00138 0.499411V15.4894ZM14.0014 0.509411C14.0214 0.249411 13.8214 0.0294105 13.5614 0.00941051C13.5414 0.00941051 13.5214 0.00941051 13.5014 0.00941051H10.5014C10.2414 -0.0105895 10.0214 0.189411 10.0014 0.449411C10.0014 0.469411 10.0014 0.489411 10.0014 0.509411V15.4994C9.98138 15.7594 10.1814 15.9794 10.4414 15.9994C10.4614 15.9994 10.4814 15.9994 10.5014 15.9994H13.5014C13.7614 16.0194 13.9814 15.8194 14.0014 15.5594C14.0014 15.5394 14.0014 15.5194 14.0014 15.4994V0.509411Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-play" viewBox="0 0 17 16">\n <path d="M0.38279 15.9526C0.28279 16.0326 0.142791 16.0126 0.0527906 15.9126C0.0127906 15.8626 -0.00720943 15.8026 0.00279057 15.7326V0.262601C-0.0172094 0.132601 0.0727907 0.0226013 0.192791 0.00260128C0.262791 -0.00739872 0.32279 0.0126014 0.38279 0.0426014L15.8528 7.8126C16.0628 7.9226 16.0628 8.0926 15.8528 8.1926L0.38279 15.9526Z" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-fullscreen" viewBox="0 0 24 24">\n <path d="M19.8621 5.44209L19.0221 10.4521C18.9821 10.7221 18.7821 10.7821 18.5821 10.5921L17.1421 9.15209L14.3521 11.9421L12.9321 10.5221L15.7221 7.73209L14.2821 6.29209C14.0921 6.10209 14.1521 5.90209 14.4221 5.85209L19.4321 5.01209C19.6121 4.96209 19.7921 5.07209 19.8421 5.25209C19.8821 5.32209 19.8821 5.38209 19.8621 5.44209ZM9.15209 17.1621L11.9421 14.3721L10.5221 12.9521L7.73209 15.7421L6.29209 14.3021C6.10209 14.1121 5.90209 14.1721 5.85209 14.4421L5.01209 19.4521C4.96209 19.6321 5.07209 19.8121 5.25209 19.8621C5.30209 19.8821 5.37209 19.8821 5.42209 19.8621L10.4321 19.0221C10.7021 18.9821 10.7621 18.7821 10.5721 18.5821L9.15209 17.1621Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-fullscreen-back" viewBox="0 0 24 24">\n <path d="M10.92 13.49L10.08 18.5C10.04 18.77 9.84001 18.83 9.64001 18.64L8.20001 17.2L5.41001 19.99L3.99001 18.57L6.78001 15.78L5.34001 14.34C5.15001 14.15 5.21001 13.95 5.48001 13.9L10.49 13.06C10.67 13.01 10.85 13.12 10.9 13.3C10.94 13.37 10.94 13.43 10.92 13.49ZM17.21 8.21L20 5.42L18.58 4L15.79 6.79L14.35 5.35C14.16 5.16 13.96 5.22 13.91 5.49L13.07 10.5C13.02 10.68 13.13 10.86 13.31 10.91C13.36 10.93 13.43 10.93 13.48 10.91L18.49 10.07C18.76 10.03 18.82 9.83 18.63 9.63L17.21 8.21Z" fill="#EBEBEB"/>\n </symbol>\n\n <symbol id="vjs-icon-volume1" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume2" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume3" viewBox="0 0 24 24">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-mute" viewBox="0 0 24 24"> \n <g clip-path="url(#clip0_19_559)">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M19.0909 12.5238L21.2626 14.6955L19.8146 16.1436L17.6429 13.9718L15.4711 16.1436L14.0231 14.6955L16.1948 12.5238L14.0231 10.352L15.4711 8.904L17.6429 11.0757L19.8146 8.904L21.2626 10.352L19.0909 12.5238Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0_19_559">\n <rect width="24" height="24" fill="white"/>\n </clipPath>\n </defs>\n </symbol>\n\n <symbol id="vjs-icon-pip" viewBox="0 0 24 16">\n <rect x="1" y="1" width="22" height="14" rx="1" stroke="white" stroke-width="2"/>\n <rect x="9.33331" y="6.66666" width="10.6667" height="5.33333" rx="1" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-captions" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" fill="white" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="#050910"/>\n </symbol>\n\n <symbol id="vjs-icon-captions-off" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="white"/>\n </symbol>\n\n </defs>';j.el().insertBefore(u(V),null!==(s=j.el().firstChild)&&void 0!==s?s:null);var x=(null==j||null===(C=j.controlBar)||void 0===C||null===(v=C.getChild("PlayToggle"))||void 0===v||null===(c=v.el())||void 0===c?void 0:c.firstChild)||null;if(x){x.style.height="16px",x.style.width="16px";var M=d(x,j.paused()?"#vjs-icon-play":"#vjs-icon-pause");j.on("pause",function(){return M.setAttributeNS(null,"href","#vjs-icon-play")}),j.on("play",function(){return M.setAttributeNS(null,"href","#vjs-icon-pause")})}var k=(null==j||null===(p=j.controlBar)||void 0===p||null===(h=p.getChild("FullscreenToggle"))||void 0===h||null===(m=h.el())||void 0===m?void 0:m.firstChild)||null;if(k){k.style.height="24px",k.style.width="24px";var S=d(k,"#vjs-icon-fullscreen");j.on("fullscreenchange",function(){var l=j.isFullscreen_;null==S||S.setAttributeNS(null,"href",l?"#vjs-icon-fullscreen-back":"#vjs-icon-fullscreen")})}var Z=(null==j||null===(f=j.controlBar)||void 0===f||null===(b=f.getChild("VolumePanel"))||void 0===b?void 0:b.el())||null;if(Z){var A=Z.querySelector(".vjs-mute-control .vjs-icon-placeholder");A.classList.add("vjs-svg-icon"),A.style.height="24px",A.style.width="24px";var T=d(A,j.muted()?"#vjs-icon-mute":"#vjs-icon-volume1");j.on("volumechange",function(l){var i=j.volume();0==i||j.muted()?T.setAttributeNS(null,"href","#vjs-icon-mute"):i>0&&i<=.3?T.setAttributeNS(null,"href","#vjs-icon-volume1"):i>=.3&&i<=.7?T.setAttributeNS(null,"href","#vjs-icon-volume2"):T.setAttributeNS(null,"href","#vjs-icon-volume3")})}var N=(null==j||null===(B=j.controlBar)||void 0===B||null===(y=B.getChild("PictureInPictureToggle"))||void 0===y?void 0:y.el())||null;if(N){var _=null==N?void 0:N.querySelector(".vjs-icon-placeholder");_.style.height="25px",_.style.width="25px";var H=d(_,"#vjs-icon-pip");j.on("enterpictureinpicture",function(){H.setAttributeNS(null,"href","#vjs-icon-pip")})}var P=(null==j||null===(g=j.controlBar)||void 0===g||null===(L=g.getChild("SubsCapsButton"))||void 0===L?void 0:L.el())||null;if(P){var I=P.querySelector(".vjs-subs-caps-button .vjs-icon-placeholder");I.classList.add("vjs-svg-icon"),I.style.height="29px",I.style.width="29px";var q=d(I,"#vjs-icon-caps");q.setAttributeNS(null,"href","#vjs-icon-captions-off"),j.textTracks().on("change",function(l){for(var i=j.textTracks(),e=!1,n=0;n<i.length;n++){var o=i[n];if(("captions"===o.kind||"subtitles"===o.kind)&&"showing"===o.mode){e=!0;break}}e?q.setAttributeNS(null,"href","#vjs-icon-captions"):q.setAttributeNS(null,"href","#vjs-icon-captions-off")})}j&&null!=i&&i.liveVideo&&null!=i&&i.liveui&&(j.liveTracker.on("liveedgechange",function(){R(j)}),j.on("timeupdate",function(){R(j)}));function O(l){var i=Math.floor(l/3600),e=Math.floor(l%3600/60),n=Math.floor(l%60),o=function(l){return String(l).padStart(2,"0")};return 0===i?"".concat(o(e),":").concat(o(n)):"".concat(o(i),":").concat(o(e),":").concat(o(n))}function D(l){var i=l.seekable();if(i&&i.length>0){var e=i.end(0);return Math.max(0,e-l.currentTime())}return 0}function R(l){var i,e,n=l.liveTracker.atLiveEdge(),o=D(l),t=null==l||null===(i=l.controlBar)||void 0===i||null===(e=i.remainingTimeDisplay)||void 0===e?void 0:e.el();if(t){var r=t.querySelector(".vjs-remaining-time-display");n?t.style.display="none":(t.style.display="flex",r&&(r.innerText=O(o)))}}}(f,b),function(l,a){var u,d,C,v,c,f,b,B,y,g=(null==a||null===(u=a.res)||void 0===u||null===(d=u.video)||void 0===d?void 0:d.isSSAIEnabled)||!1,L=(null==a?void 0:a.skin_settings)||{};null==L||L.slowMoBtn;var j=(null==a||null===(C=a.customData)||void 0===C?void 0:C.ads)||{};null!=L&&L.skipBtn&&0==(null==a?void 0:a.liveVideo)&&0==(null==a?void 0:a.liveui)&&i(l,"VL_ONE",SkipSvgV2());null!=L&&L.rewindBtn&&(0==(null==a?void 0:a.liveVideo)&&0==(null==a?void 0:a.liveui)||1==(null==a?void 0:a.liveui))&&e(l,"VL_ONE",s());(null==a||null===(v=a.relatedVideos)||void 0===v||null===(c=v.content)||void 0===c?void 0:c.length)>0&&n(l,null==a?void 0:a.relatedVideos);(null==a||null===(f=a.streams)||void 0===f?void 0:f.length)>1&&o(l,null==a?void 0:a.streams);(null==a||null===(b=a.playlist)||void 0===b||null===(B=b.content)||void 0===B?void 0:B.length)>0&&t(l,null==a?void 0:a.playlist);null!=a&&null!==(y=a.series)&&void 0!==y&&y.enable&&r(l,a);if("MEDIA_TAILOR"==(null==j?void 0:j.vodAdSticherProvider)&&null!=j&&j.vodAdClientSideTracking&&g){var w,E=null;if(null!=a&&null!==(w=a.series)&&void 0!==w&&w.enable){var V,x,M,k=null===(V=h())||void 0===V||null===(x=V.video)||void 0===x||null===(M=x.gist)||void 0===M?void 0:M.id,S=m(),Z=(null==S?void 0:S.get(k))||{t:0,p:0},A=Z.t;Z.p<95&&(E=A)}else{var T=a.watchHistoryResumeTime;a.watchedPercentage<95&&(E=T)}p(l,E)}}(f,b),c(f,b)}export{f as initialiseSkin};
@@ -0,0 +1 @@
1
+ import{A as e,B as r}from"./generic-b70da815.js";import{g as t}from"./player_instance-34118a5b.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"video.js";import"axios";import"js-cookie";import"./currentVideoInfo-0b234e55.js";import"./captions-78bd2908.js";import"@babel/runtime/helpers/typeof";import"./skin-65765793.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";function o(e){n(e),i(e)}var i=function(o){var i=t(o),n=document.getElementById("".concat(o));n&&n.addEventListener("touchstart",function(){i.paused()?e(o):r(o)})},n=function(e){var r=t(e);r.requestFullscreen=function(){},r.controlBar.hide()};export{o as initaliseSkin};
@@ -0,0 +1 @@
1
+ import{g as e}from"./player_instance-34118a5b.js";import{f as r,n as t}from"./features-4ba3024f.js";import{g as i}from"./resolution-62be852a.js";import{r as o}from"./captions-78bd2908.js";import"video.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"./generic-b70da815.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"axios";import"js-cookie";import"./currentVideoInfo-0b234e55.js";import"@babel/runtime/helpers/typeof";import"./skin-65765793.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";import"./localisation-0bf399a1.js";import"@babel/runtime/helpers/assertThisInitialized";function s(s,n){import("./skin-271fa63f.js").then(function(e){var r=document.createElement("style");r.id="multiplayer_css",r.append("".concat(e.default)),document.head.appendChild(r)}),function(t,s){e(t).on("loadeddata",function(){var e;(null===(e=i(t))||void 0===e?void 0:e.length)>0&&r(t,s),null!=s&&s.disableCaptions&&o(t)})}(s,n),function(r){var i=e(r);i.controls(!1),t(r)}(s)}export{s as initialiseSkin};
@@ -0,0 +1 @@
1
+ import{f as l,t as i,d as e,e as n,j as o,k as t,l as s,m as r}from"./features-4ba3024f.js";import{f as a}from"./icons-37daa6b3.js";import{g as d}from"./player_instance-34118a5b.js";import{p as u,e as v}from"./skin-65765793.js";import{g as C}from"./resolution-62be852a.js";import{a as c,b as p}from"./index-ca68a2b6.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/toConsumableArray";import{U as h,V as m}from"./generic-b70da815.js";import{a as f,b as y}from"./currentVideoInfo-0b234e55.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./localisation-0bf399a1.js";import"@babel/runtime/helpers/assertThisInitialized";import"./autoNextVideo-d6e1bfbc.js";import"./util-b5ecf7d5.js";import"@babel/runtime/helpers/typeof";import"axios";import"js-cookie";import"./captions-78bd2908.js";import"@viewlift/comscore/index.js";function b(b,L){d(b).addClass("skin_news"),function(i,e){var n=d(i);n&&n.on("loadeddata",function(){var n,o,t,s,r,a,d;(null===(n=C(i))||void 0===n?void 0:n.length)>0&&0!=(null==e||null===(o=e.skin_settings)||void 0===o?void 0:o.settingsToggle)&&l(i,e),!(null!=e&&null!==(t=e.series)&&void 0!==t&&t.enable||null!==(s=window)&&void 0!==s&&null!==(r=s.app_data)&&void 0!==r&&null!==(a=r.appcmsMain)&&void 0!==a&&null!==(d=a.features)&&void 0!==d&&d.auto_play)||null!=e&&e.liveVideo||c(i,e)})}(b,L),function(l,i){var e,n,o,t,s,r,a,C,c,p,h,m,f,y,b,L,g,B,j=d(l);if(null!=i&&i.liveVideo){var w,V,E,x,M,k,S=null===(w=j.controlBar)||void 0===w||null===(V=w.getChild("TimeDivider"))||void 0===V?void 0:V.el(),Z=null===(E=j.controlBar)||void 0===E||null===(x=E.getChild("CurrentTimeDisplay"))||void 0===x?void 0:x.el(),T=null===(M=j.controlBar)||void 0===M||null===(k=M.getChild("DurationDisplay"))||void 0===k?void 0:k.el();S&&(S.style.display="none"),Z&&(Z.style.display="none"),T&&(T.style.display="none")}var A=null===(e=j.controlBar)||void 0===e?void 0:e.getChild("ProgressControl"),_=null===(n=j.controlBar)||void 0===n||null===(o=n.getChild("SeekToLive"))||void 0===o?void 0:o.el();_&&(_.onclick=function(){if(j.paused())try{j.play()}catch(l){console.log(l)}});var H=document.createElement("div");H.className="custom-spaced-progress-bar",A&&H.append(A.el());null===(t=j.controlBar)||void 0===t||null===(s=t.el())||void 0===s||s.append(H);var N='<svg xmlns="http://www.w3.org/2000/svg" style="display : none">\n <defs>\n <symbol id="vjs-icon-pause" viewBox="0 0 17 16">\n <path d="M6.00138 15.4894C6.02138 15.7494 5.82138 15.9694 5.56138 15.9894C5.54138 15.9894 5.52138 15.9894 5.50138 15.9894H2.50138C2.24138 16.0094 2.02138 15.8094 2.00138 15.5494C2.00138 15.5294 2.00138 15.5094 2.00138 15.4894V0.499411C1.98138 0.239411 2.18138 0.0194107 2.44138 -0.000589337C2.46138 -0.000589337 2.48138 -0.000589337 2.50138 -0.000589337H5.50138C5.76138 -0.0205893 5.98138 0.179411 6.00138 0.439411C6.00138 0.459411 6.00138 0.479411 6.00138 0.499411V15.4894ZM14.0014 0.509411C14.0214 0.249411 13.8214 0.0294105 13.5614 0.00941051C13.5414 0.00941051 13.5214 0.00941051 13.5014 0.00941051H10.5014C10.2414 -0.0105895 10.0214 0.189411 10.0014 0.449411C10.0014 0.469411 10.0014 0.489411 10.0014 0.509411V15.4994C9.98138 15.7594 10.1814 15.9794 10.4414 15.9994C10.4614 15.9994 10.4814 15.9994 10.5014 15.9994H13.5014C13.7614 16.0194 13.9814 15.8194 14.0014 15.5594C14.0014 15.5394 14.0014 15.5194 14.0014 15.4994V0.509411Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-play" viewBox="0 0 17 16">\n <path d="M0.38279 15.9526C0.28279 16.0326 0.142791 16.0126 0.0527906 15.9126C0.0127906 15.8626 -0.00720943 15.8026 0.00279057 15.7326V0.262601C-0.0172094 0.132601 0.0727907 0.0226013 0.192791 0.00260128C0.262791 -0.00739872 0.32279 0.0126014 0.38279 0.0426014L15.8528 7.8126C16.0628 7.9226 16.0628 8.0926 15.8528 8.1926L0.38279 15.9526Z" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-fullscreen" viewBox="0 0 24 24">\n <path d="M19.8621 5.44209L19.0221 10.4521C18.9821 10.7221 18.7821 10.7821 18.5821 10.5921L17.1421 9.15209L14.3521 11.9421L12.9321 10.5221L15.7221 7.73209L14.2821 6.29209C14.0921 6.10209 14.1521 5.90209 14.4221 5.85209L19.4321 5.01209C19.6121 4.96209 19.7921 5.07209 19.8421 5.25209C19.8821 5.32209 19.8821 5.38209 19.8621 5.44209ZM9.15209 17.1621L11.9421 14.3721L10.5221 12.9521L7.73209 15.7421L6.29209 14.3021C6.10209 14.1121 5.90209 14.1721 5.85209 14.4421L5.01209 19.4521C4.96209 19.6321 5.07209 19.8121 5.25209 19.8621C5.30209 19.8821 5.37209 19.8821 5.42209 19.8621L10.4321 19.0221C10.7021 18.9821 10.7621 18.7821 10.5721 18.5821L9.15209 17.1621Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-fullscreen-back" viewBox="0 0 24 24">\n <path d="M10.92 13.49L10.08 18.5C10.04 18.77 9.84001 18.83 9.64001 18.64L8.20001 17.2L5.41001 19.99L3.99001 18.57L6.78001 15.78L5.34001 14.34C5.15001 14.15 5.21001 13.95 5.48001 13.9L10.49 13.06C10.67 13.01 10.85 13.12 10.9 13.3C10.94 13.37 10.94 13.43 10.92 13.49ZM17.21 8.21L20 5.42L18.58 4L15.79 6.79L14.35 5.35C14.16 5.16 13.96 5.22 13.91 5.49L13.07 10.5C13.02 10.68 13.13 10.86 13.31 10.91C13.36 10.93 13.43 10.93 13.48 10.91L18.49 10.07C18.76 10.03 18.82 9.83 18.63 9.63L17.21 8.21Z" fill="#EBEBEB"/>\n </symbol>\n\n <symbol id="vjs-icon-volume1" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume2" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume3" viewBox="0 0 24 24">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-mute" viewBox="0 0 24 24"> \n <g clip-path="url(#clip0_19_559)">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M19.0909 12.5238L21.2626 14.6955L19.8146 16.1436L17.6429 13.9718L15.4711 16.1436L14.0231 14.6955L16.1948 12.5238L14.0231 10.352L15.4711 8.904L17.6429 11.0757L19.8146 8.904L21.2626 10.352L19.0909 12.5238Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0_19_559">\n <rect width="24" height="24" fill="white"/>\n </clipPath>\n </defs>\n </symbol>\n <symbol id="vjs-icon-big-mute" viewBox="0 0 24 24"> \n <g clip-path="url(#clip0_19_559)">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="inherit"/>\n <path d="M19.0909 12.5238L21.2626 14.6955L19.8146 16.1436L17.6429 13.9718L15.4711 16.1436L14.0231 14.6955L16.1948 12.5238L14.0231 10.352L15.4711 8.904L17.6429 11.0757L19.8146 8.904L21.2626 10.352L19.0909 12.5238Z" fill="inherit"/>\n </g>\n <defs>\n <clipPath id="clip0_19_559">\n <rect width="24" height="24" fill="inherit"/>\n </clipPath>\n </defs>\n </symbol>\n\n <symbol id="vjs-icon-pip" viewBox="0 0 24 16">\n <rect x="1" y="1" width="22" height="14" rx="1" stroke="white" stroke-width="2"/>\n <rect x="9.33331" y="6.66666" width="10.6667" height="5.33333" rx="1" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-captions" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" fill="white" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="#050910"/>\n </symbol>\n\n <symbol id="vjs-icon-captions-off" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="white"/>\n </symbol>\n\n </defs>\n </svg>';j.el().insertBefore(u(N),null!==(r=j.el().firstChild)&&void 0!==r?r:null);var P=(null==j||null===(a=j.controlBar)||void 0===a||null===(C=a.getChild("PlayToggle"))||void 0===C||null===(c=C.el())||void 0===c?void 0:c.firstChild)||null;if(P){P.style.height="18px",P.style.width="18px";var D=v(P,j.paused()?"#vjs-icon-play":"#vjs-icon-pause");j.on("pause",function(){return D.setAttributeNS(null,"href","#vjs-icon-play")}),j.on("play",function(){return D.setAttributeNS(null,"href","#vjs-icon-pause")})}var I=(null==j||null===(p=j.controlBar)||void 0===p||null===(h=p.getChild("FullscreenToggle"))||void 0===h||null===(m=h.el())||void 0===m?void 0:m.firstChild)||null;if(I){I.style.height="24px",I.style.width="24px";var q=v(I,"#vjs-icon-fullscreen");j.on("fullscreenchange",function(){var l=j.isFullscreen_;null==q||q.setAttributeNS(null,"href",l?"#vjs-icon-fullscreen-back":"#vjs-icon-fullscreen")})}var O=(null==j||null===(f=j.controlBar)||void 0===f||null===(y=f.getChild("VolumePanel"))||void 0===y?void 0:y.el())||null;if(O){var R=O.querySelector(".vjs-mute-control .vjs-icon-placeholder");R.classList.add("vjs-svg-icon"),R.style.height="24px",R.style.width="24px";var F=v(R,j.muted()?"#vjs-icon-mute":"#vjs-icon-volume1");j.on("volumechange",function(l){var i=j.volume();console.log(i,j.muted()),0==i||j.muted()?F.setAttributeNS(null,"href","#vjs-icon-mute"):i>0&&i<=.3?F.setAttributeNS(null,"href","#vjs-icon-volume1"):i>=.3&&i<=.7?F.setAttributeNS(null,"href","#vjs-icon-volume2"):F.setAttributeNS(null,"href","#vjs-icon-volume3")})}var z=(null==j||null===(b=j.controlBar)||void 0===b||null===(L=b.getChild("PictureInPictureToggle"))||void 0===L?void 0:L.el())||null;if(z){var G=null==z?void 0:z.querySelector(".vjs-icon-placeholder");G.style.height="25px",G.style.width="25px";var K=v(G,"#vjs-icon-pip");j.on("enterpictureinpicture",function(){K.setAttributeNS(null,"href","#vjs-icon-pip")})}var U=(null==j||null===(g=j.controlBar)||void 0===g||null===(B=g.getChild("SubsCapsButton"))||void 0===B?void 0:B.el())||null;if(U){var J=U.querySelector(".vjs-subs-caps-button .vjs-icon-placeholder");J.classList.add("vjs-svg-icon"),J.style.height="29px",J.style.width="29px";var Q=v(J,"#vjs-icon-caps");Q.setAttributeNS(null,"href","#vjs-icon-captions-off"),j.textTracks().on("change",function(l){for(var i=j.textTracks(),e=!1,n=0;n<i.length;n++){var o=i[n];if(("captions"===o.kind||"subtitles"===o.kind)&&"showing"===o.mode){e=!0;break}}e?Q.setAttributeNS(null,"href","#vjs-icon-captions"):Q.setAttributeNS(null,"href","#vjs-icon-captions-off")})}j&&null!=i&&i.liveVideo&&null!=i&&i.liveui&&(j.liveTracker.on("liveedgechange",function(){Y(j)}),j.on("timeupdate",function(){Y(j)}));function W(l){var i=Math.floor(l/3600),e=Math.floor(l%3600/60),n=Math.floor(l%60),o=function(l){return String(l).padStart(2,"0")};return 0===i?"".concat(o(e),":").concat(o(n)):"".concat(o(i),":").concat(o(e),":").concat(o(n))}function X(l){var i=l.seekable();if(i&&i.length>0){var e=i.end(0);return Math.max(0,e-l.currentTime())}return 0}function Y(l){var i,e,n=l.liveTracker.atLiveEdge(),o=X(l),t=null==l||null===(i=l.controlBar)||void 0===i||null===(e=i.remainingTimeDisplay)||void 0===e?void 0:e.el();if(t){var s=t.querySelector(".vjs-remaining-time-display");n?t.style.display="none":(t.style.display="flex",s&&(s.innerText=W(o)))}}}(b,L),function(l,d){var u,v,C,c,p,b,L,g,B,j,w=(null==d?void 0:d.liveVideo)||!1,V=(null==d||null===(u=d.res)||void 0===u?void 0:u.contentType)||"video",E=(null==d||null===(v=d.res)||void 0===v||null===(C=v[V])||void 0===C?void 0:C.isSSAIEnabled)||!1,x=(null==d?void 0:d.skin_settings)||{};null==x||x.slowMoBtn;var M=(null==d||null===(c=d.customData)||void 0===c?void 0:c.ads)||{};i(l),null!=x&&x.skipBtn&&0==(null==d?void 0:d.liveVideo)&&0==(null==d?void 0:d.liveui)&&e(l,"VL_ONE",SkipSvgV2());null!=x&&x.rewindBtn&&(0==(null==d?void 0:d.liveVideo)&&0==(null==d?void 0:d.liveui)||1==(null==d?void 0:d.liveui))&&n(l,"VL_ONE",a());(null==d||null===(p=d.relatedVideos)||void 0===p||null===(b=p.content)||void 0===b?void 0:b.length)>0&&o(l,null==d?void 0:d.relatedVideos);(null==d||null===(L=d.streams)||void 0===L?void 0:L.length)>1&&t(l,null==d?void 0:d.streams);(null==d||null===(g=d.playlist)||void 0===g||null===(B=g.content)||void 0===B?void 0:B.length)>0&&s(l,null==d?void 0:d.playlist);null!=d&&null!==(j=d.series)&&void 0!==j&&j.enable&&r(l,d);if("MEDIA_TAILOR"==(null==M?void 0:M.vodAdSticherProvider)&&null!=M&&M.vodAdClientSideTracking&&E)if(w)h(l);else{var k,S=null;if(null!=d&&null!==(k=d.series)&&void 0!==k&&k.enable){var Z,T,A,_,H,N=null===(Z=f())||void 0===Z||null===(T=Z.video)||void 0===T||null===(A=T.gist)||void 0===A?void 0:A.id,P=y(),D=(null==P?void 0:P.get(N))||{t:0,p:0},I=D.t,q=D.p;"function"==typeof(null===(_=window)||void 0===_||null===(H=_.watchHistory)||void 0===H?void 0:H.cb)&&window.watchHistory.cb({watchedTime:I}),q<95&&(S=I)}else{var O=d.watchHistoryResumeTime;d.watchedPercentage<95&&(S=O)}m(l,S)}}(b,L),p(b,L)}export{b as initialiseSkin};
@@ -0,0 +1 @@
1
+ import{f as l,g as e,h as o,d as i,e as n,i as t,j as r,k as a,l as d,m as s}from"./features-4ba3024f.js";import{M as u,a as m,c as p,d as v}from"./icons-37daa6b3.js";import{g as c}from"./player_instance-34118a5b.js";import{b as h}from"./skin-65765793.js";import{g as f}from"./resolution-62be852a.js";import{g as b}from"./captions-78bd2908.js";import{a as g,b as C}from"./index-ca68a2b6.js";import{i as j}from"./index-e3c02e4c.js";import{S as y,d as V}from"./generic-b70da815.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./localisation-0bf399a1.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./currentVideoInfo-0b234e55.js";import"./autoNextVideo-d6e1bfbc.js";import"./util-b5ecf7d5.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/slicedToArray";import"axios";import"js-cookie";import"@viewlift/comscore/index.js";function w(w,B){c(w).addClass("skin_defaultv2"),function(){"Chrome"==V()&&import("./chromett-a3cbb2e1.js").then(function(l){var e=document.createElement("style");e.id="chromett",e.append("".concat(l.default)),document.head.appendChild(e)});import("./skin-fbab87d5.js").then(function(l){var e=document.createElement("style");e.id="default_v2",e.append("".concat(l.default)),document.head.appendChild(e)})}(),function(i,n){var t=c(i);t&&(t.on("loadeddata",function(){var o,t,r,a,d,s,u;(null===(o=f(i))||void 0===o?void 0:o.length)>0&&l(i,n),(null===(t=b(i))||void 0===t?void 0:t.length)>0&&e(i,n),!(null!=n&&null!==(r=n.series)&&void 0!==r&&r.enable||null!==(a=window)&&void 0!==a&&null!==(d=a.app_data)&&void 0!==d&&null!==(s=d.appcmsMain)&&void 0!==s&&null!==(u=s.features)&&void 0!==u&&u.auto_play)||null!=n&&n.liveVideo||g(i,n),null!=n&&n.liveVideo||y()||j(i)}),t.one("play",function(){var l,e,n,t;null!==(l=window)&&void 0!==l&&null!==(e=l.customData)&&void 0!==e&&e.iframeOverlayUrl&&o(i,null===(n=window)||void 0===n||null===(t=n.customData)||void 0===t?void 0:t.iframeOverlayUrl)}))}(w,B),function(l,e){var o,i,n,t,r,a,d,s,p,v,f,b,g,C=c(l);null===(o=C.controlBar)||void 0===o||o.removeChild("VolumePanel"),null===(i=C.controlBar)||void 0===i||i.addChild("VolumePanel",{inline:!1},1);var j=null===(n=C.controlBar)||void 0===n?void 0:n.getChild("ProgressControl"),y=null===(t=C.controlBar)||void 0===t?void 0:t.getChild("CurrentTimeDisplay"),V=null===(r=C.controlBar)||void 0===r?void 0:r.getChild("SeekToLive"),w=document.createElement("div");w.className="custom-spaced-progress-bar",j&&y&&V&&w.append(j.el(),y.el(),V.el());null===(a=C.controlBar)||void 0===a||null===(d=a.el())||void 0===d||d.append(w),null==C||null===(s=C.controlBar)||void 0===s||null===(p=s.getChild("FullscreenToggle"))||void 0===p||null===(v=p.el())||void 0===v||v.appendChild(h(u(window.controlsColor))),null==C||null===(f=C.controlBar)||void 0===f||null===(b=f.getChild("FullscreenToggle"))||void 0===b||null===(g=b.el())||void 0===g||g.appendChild(h(m(window.controlsColor)));var B=document.getElementsByClassName("vjs-time-control");e.liveVideo&&B[0]&&(B[0].style.display="none")}(w,B),function(l,e){var o,u,m,c,h,f,b=(null==e?void 0:e.skin_settings)||{},g=0!=(null==b?void 0:b.slowMoBtn);0==(null==e?void 0:e.liveVideo)&&0==(null==e?void 0:e.liveui)&&i(l,"defaultV2",p());(0==(null==e?void 0:e.liveVideo)&&0==(null==e?void 0:e.liveui)||1==(null==e?void 0:e.liveui))&&n(l,"defaultV2",v());!e.liveVideo&&g&&t(l);(null==e||null===(o=e.relatedVideos)||void 0===o||null===(u=o.content)||void 0===u?void 0:u.length)>0&&r(l,null==e?void 0:e.relatedVideos);(null==e||null===(m=e.streams)||void 0===m?void 0:m.length)>1&&a(l,null==e?void 0:e.streams);(null==e||null===(c=e.playlist)||void 0===c||null===(h=c.content)||void 0===h?void 0:h.length)>0&&d(l,null==e?void 0:e.playlist);null!=e&&null!==(f=e.series)&&void 0!==f&&f.enable&&s(l,e)}(w,B),C(w,B)}export{w as initialiseSkin};
@@ -0,0 +1 @@
1
+ import{a as e,b as t,c as o,d as i,e as s}from"./features-4ba3024f.js";import{R as r}from"./generic-b70da815.js";import{S as n,M as l,a,N as m,b as d,R as p}from"./icons-37daa6b3.js";import{g as u}from"./player_instance-34118a5b.js";import{b as c}from"./skin-65765793.js";import{a as b}from"./currentVideoInfo-0b234e55.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./resolution-62be852a.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./localisation-0bf399a1.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"axios";import"js-cookie";import"./captions-78bd2908.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";function v(v,f){u(v).addClass("skin_default"),r(v,f),import("./skin-71be210e.js").then(function(e){var t=document.createElement("style");t.id="def_skin",t.append("".concat(e.default)),document.head.appendChild(t)}),function(e,t){0==t.liveVideo&&0==t.liveui&&i(e,"default",d());(0==t.liveVideo&&0==t.liveui||1==t.liveui)&&s(e,"default",p())}(v,f),function(i,s){var r=u(i),l=(null==s?void 0:s.sres)||null;r.on("loadeddata",function(){e(i,"default",n()),l&&import("./nextEpisodeButton-0c1cfbde.js").then(function(e){e.initaliseFunctionality(s.sres.seasons,b())})}),r.one("loadedmetadata",function(){var e;l&&(t(i,null==s||null===(e=s.sres)||void 0===e?void 0:e.seasons,s),o(s.sres,s.res,i))})}(v,f),function(e,t){var o,i,s,r,n=u(e),d=document.getElementsByClassName("vjs-current-time")[0],p=document.getElementsByClassName("vjs-duration")[0],b=document.getElementsByClassName("vjs-time-divider")[0];t.liveVideo&&(d&&(d.style.display="none"),p&&(p.style.display="none"),b&&(b.style.display="none"));null===(o=n.controlBar.getChild("FullscreenToggle"))||void 0===o||null===(i=o.el())||void 0===i||i.appendChild(c(l(window.controlsColor))),null===(s=n.controlBar.getChild("FullscreenToggle"))||void 0===s||null===(r=s.el())||void 0===r||r.appendChild(c(a(window.controlsColor)));var v=n.controlBar.getChild("SubsCapsButton").el();document.getElementById(e).getElementsByClassName("vjs-subs-caps-button")[1].appendChild(c(m()));var f=document.createElement("div");f.classList.add("caption-header"),v.querySelector(".vjs-menu-content").insertBefore(f,v.querySelector(".vjs-menu-item"))}(v,f)}export{v as initialiseSkin};
@@ -0,0 +1 @@
1
+ import t from"@babel/runtime/helpers/classCallCheck";import r from"@babel/runtime/helpers/createClass";import e from"@babel/runtime/helpers/inherits";import o from"@babel/runtime/helpers/possibleConstructorReturn";import n from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{s as l}from"./icons-37daa6b3.js";import{p as s}from"./helper-d52dff3c.js";import"./currentVideoInfo-0b234e55.js";function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}var c=i.getComponent("Component"),u=function(){e(f,c);var u,m,p=(u=f,m=a(),function(){var t,r=n(u);if(m){var e=n(this).constructor;t=Reflect.construct(r,arguments,e)}else t=r.apply(this,arguments);return o(this,t)});function f(r,e){var o,n;return t(this,f),(n=p.call(this,r,e)).el().innerHTML=l(),null==e||null===(o=e.dvrConfig)||void 0===o||o.programs,n.on("click",function(){s(r,e)}),n}return r(f,[{key:"createEl",value:function(){return i.dom.createEl("button",{className:"vjs-control vjs-button watch-begin-btn",role:"button",tabIndex:0,title:"Start From Beginning"})}}]),f}();export{u as default};
@@ -0,0 +1 @@
1
+ import n from"@babel/runtime/helpers/typeof";import{Q as e}from"./generic-b70da815.js";import{a as t,v as o}from"./currentVideoInfo-0b234e55.js";import{g as i}from"./player_instance-34118a5b.js";var a=!1,r=function(n,e,t){var o=i(n);o?e>=0&&e<=o.duration()?(t({status:!0,msg:"Successfully seeked to timestamp : ".concat(e)}),o.currentTime(e)):t({status:!1,msg:"Out of bounds, please provide a valid timestamp"}):t("Cannot find player with id: '".concat(n,"'"))},c=function(n,r){var c=i(n);c?(c.on("ended",function(){return a=!0}),c.on("timeupdate",function(){if(!c.paused()&&a){var n,i,u=null===(n=t())||void 0===n||null===(i=n.video)||void 0===i?void 0:i.id;o.get(u)?(o.clear(),e.clear(),r(),o.set(u)):(o.clear(),o.set(u)),a=!1}})):r("Cannot find player with id: '".concat(n,"'"))},u=function(n,e){var t=i(n);if(!t)return"Cannot find player with id: '".concat(n,"'");try{return t.playbackRate(e),"Playback speed set to ".concat(e,"x")}catch(n){return"Error: ".concat(n)}},l=function(n,e){var t=i(n);t?t.on("timeupdate",function(){return e(t.currentTime())}):e("Cannot find player with id: '".concat(n,"'"))},s=function(n,e){var t=i(n);t?t.on("ended",function(){return e(!0)}):e("Cannot find player with id: '".concat(n,"'"))},d=function(n){var e=i(n);return e?e.duration():"Cannot find player with id: '".concat(n,"'")};function f(){var e=function(n,e){var t=i(n);if(!t)throw"Cannot find player with id: '".concat(n,"'");if("function"!=typeof e)throw"Callback function (cb) is missing or not a function";return t};return{onPlay:function(n,t){e(n,t).on("play",function(){return t()})},onPause:function(n,t){e(n,t).on("pause",function(){return t()})},onMute:function(n,t){var o=e(n,t);o.on("volumechange",function(){o.muted()?t({muted:!0}):t({muted:!1})})},onPictureInPictureChange:function(n,t){var o=e(n,t);o.on("enterpictureinpicture",function(){t({pip:!0})}),o.on("leavepictureinpicture",function(){t({pip:!1})})},onFullScreenChange:function(n,t){var o=e(n,t);o.on("fullscreenchange",function(n){o.isFullscreen_?t({isFullscreen:!0}):t({isFullscreen:!1})})},onSetVolume:function(n,t){var o=e(n,t);o.on("volumechange",function(){var n=100*o.volume().toFixed(2);o.muted()?t({vol:0}):t({vol:n})})},onSeeked:function(n,t){var o=e(n,t);o.on("seeked",function(){t({seeked:o.currentTime()})})},onSubtitleEnable:function(n,t){var o=e(n,t);o.textTracks().on("change",function(n){console.log(o.textTracks());var e=o.textTracks().tracks_.filter(function(n){return("subtitles"===n.kind||"captions"===n.kind)&&"showing"===n.mode});e.length>0&&t({enabled:e[0]})})},onDisableSubtitles:function(n,t){var o=e(n,t);o.textTracks().on("change",function(n){var e,i;console.log(o.textTracks()),(null==o||null===(e=o.textTracks())||void 0===e||null===(i=e.tracks_)||void 0===i?void 0:i.every(function(n){return"showing"!=n.mode}))&&t({captions_disabled:!0})})},onSubtitleCueChange:function(t,o){var i=e(t,o);i.on("loadeddata",function(){var e,t,a,r,c,u=i.textTracks();"object"==n(i.dash)&&null!=i.dash&&i.dash.mediaPlayer.on(null===(t=window)||void 0===t||null===(a=t.dashjs)||void 0===a||null===(r=a.MediaPlayer)||void 0===r||null===(c=r.events)||void 0===c?void 0:c.CAPTION_RENDERED,function(n){o(n)});for(var l=0;l<u.length;l++){var s=u[l];"metadata"===s.kind&&(s.mode="hidden",e=s)}e&&e.addEventListener("cuechange",function(){var n=e.activeCues;if(n&&n.length>0)for(var t=0;t<n.length;t++){var i=n[t];o(i)}else console.log("no active cue at this moment")})})},onError:function(n,t){var o=e(n,t);o.on("error",function(){var n,e;t({error:null==o||null===(n=o.error())||void 0===n?void 0:n.code,msg:null==o||null===(e=o.error())||void 0===e?void 0:e.message})})}}}export{s as a,u as b,c,d as g,l as o,f as p,r as s};
@@ -0,0 +1 @@
1
+ import e from"@babel/runtime/helpers/classCallCheck";import t from"@babel/runtime/helpers/createClass";import o from"@babel/runtime/helpers/inherits";import n from"@babel/runtime/helpers/possibleConstructorReturn";import i from"@babel/runtime/helpers/getPrototypeOf";import a from"video.js";import{g as l,e as s}from"./icons-37daa6b3.js";import{E as d}from"./generic-b70da815.js";import{k as r}from"./currentVideoInfo-0b234e55.js";import{g as c,s as m,j as u,h as v,k as p,i as h}from"./skin-65765793.js";import{a as y}from"./autoNextVideo-d6e1bfbc.js";import{g as b}from"./localisation-0bf399a1.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"axios";import"./player_instance-34118a5b.js";import"js-cookie";import"./captions-78bd2908.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";import"./util-b5ecf7d5.js";function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}var C=a.getComponent("Component"),g=function(){o(N,C);var g,E,I=(g=N,E=f(),function(){var e,t=i(g);if(E){var o=i(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return n(this,e)});function N(t){var o,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,N),(i=I.call(this,t,a)).playerId=a.playerId,i.seriesData=a.sres,i.videos=a.related.content,i.cb=(null==a||null===(o=a.related)||void 0===o?void 0:o.cb)||null,i.autoNext=(null==a||null===(n=a.related)||void 0===n?void 0:n.autoNext)||!1,i.currentVideoData=a.res,i.initialiseStructure(),i.loadCSS(),i.autoNext&&(r(0),y({playerId:i.playerId,content:i.videos,cb:i.cb})),i}return t(N,[{key:"createEl",value:function(){var e=a.dom.createEl("div",{className:"video-selection vjs-control vjs-button"});e.style.position="unset";var t=a.dom.createEl("button",{className:"video-selector-icon",title:"video selector",innerHTML:"".concat(l())});return a.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){import("./videoSelector-def99d5e.js").then(function(e){var t=document.createElement("style");t.id="video-selection",t.append("".concat(e.default)),document.head.appendChild(t)})}},{key:"initialiseStructure",value:function(){var e=this,t=this.el(),o=a.dom.createEl("div",{className:"video-selection-container hidden"});a.dom.$(".video-selector-icon",this.el()).onclick=function(){var n;e.handleTabIndexSelector(),null!==(n=o.classList)&&void 0!==n&&n.contains("hidden")?(c(),o.classList.remove("hidden"),t.classList.add("open"),m(e.playerId,o)):(o.classList.add("hidden"),t.classList.remove("open"))};var n=document.getElementById(this.playerId);if(n){var i=window.getComputedStyle(n,null).getPropertyValue("height");o.style.height="".concat(i),a.dom.appendContent(t,o),n.style.overflow="hidden",this.addFunctionality(o),u(this.playerId,o)}}},{key:"loadVideoAssetById",value:function(e){var t=this;r(e+1);for(var o=a.dom.$$(".recommended"),n=0;n<o.length;n++)o[n].style.border="none";v(e),d(this.playerId,this.videos[e].id).then(function(e){t.cb&&t.cb(e)}).catch(function(e){t.cb&&t.cb(e)})}},{key:"handleTabIndexSelector",value:function(){var e,t,o;null!==(e=document.getElementsByClassName("video-selector-cross-icon"))&&void 0!==e&&e[0]&&(document.getElementsByClassName("video-selector-cross-icon")[0].tabIndex=0);for(var n=document.getElementsByClassName("video-accessibility"),i=(null==n||null===(t=n[0])||void 0===t||null===(o=t.children)||void 0===o?void 0:o.length)||0,a=0;a<i;a++)document.getElementsByClassName("recommended -".concat(a))[0]&&(document.getElementsByClassName("recommended -".concat(a))[0].tabIndex=0)}},{key:"handleCloseTabIndex",value:function(){var e,t,o;null!==(e=document.getElementsByClassName("video-selector-cross-icon"))&&void 0!==e&&e[0]&&(document.getElementsByClassName("video-selector-cross-icon")[0].tabIndex=-1);for(var n=document.getElementsByClassName("video-accessibility"),i=(null==n||null===(t=n[0])||void 0===t||null===(o=t.children)||void 0===o?void 0:o.length)||0,a=0;a<i;a++)document.getElementsByClassName("recommended -".concat(a))&&(document.getElementsByClassName("recommended -".concat(a))[0].tabIndex=-1)}},{key:"addFunctionality",value:function(e){var t=this,o=this.el(),n=a.dom.createEl("div",{className:"video-selector-head"}),i=a.dom.createEl("div",{className:"video-selector-cross-icon",ariaLabel:"close video selector",tabIndex:-1,innerHTML:"".concat(s())});i.onkeydown=function(n){"Enter"===n.key&&(e.classList.add("hidden"),o.classList.remove("open"),t.handleCloseTabIndex())},i.onclick=function(){e.classList.add("hidden"),o.classList.remove("open"),t.handleCloseTabIndex()};for(var l=a.dom.createEl("div",{className:"video-selector-title",innerHTML:b("relatedVideoTitle")||"Recommended"}),d=a.dom.createEl("div",{className:"video-selector-content",tabIndex:-1}),r=a.dom.createEl("div",{className:"video-container video-accessibility"}),c=function(e){var o,n,i,l,s,c,m,u,v=a.dom.createEl("div",{className:"video -".concat(e)}),p=a.dom.createEl("div",{className:"recommended -".concat(e),ariaLabel:"".concat(t.videos[e].title),type:"button",tabIndex:-1});p.setAttribute("video-idx",e),p.onkeydown=function(o){"Enter"===o.key&&t.loadVideoAssetById(e)},p.onclick=function(){t.loadVideoAssetById(e)};var y=document.createElement("img");y.className="related-thumbnail-image",y.src="".concat(h(null==t||null===(o=t.videos)||void 0===o||null===(n=o[e])||void 0===n?void 0:n.img)||h(null===(i=window)||void 0===i||null===(l=i.app_data)||void 0===l||null===(s=l.appcmsMain)||void 0===s||null===(c=s.images)||void 0===c?void 0:c.placeholderCover)),y.alt="".concat((null==t||null===(m=t.videos[e])||void 0===m?void 0:m.title.trim().split(/\s+/).slice(0,2).join(" "))||""),p.append(y);var b=a.dom.createEl("div",{className:"info -".concat(e),innerHTML:"".concat((null==t||null===(u=t.videos[e])||void 0===u?void 0:u.title)||"")});a.dom.appendContent(v,p),a.dom.appendContent(v,b),a.dom.appendContent(r,v),a.dom.appendContent(d,r)},m=0;m<this.videos.length;m++)c(m);a.dom.appendContent(n,l),a.dom.appendContent(n,i),a.dom.appendContent(e,n),a.dom.appendContent(e,d),p(this.playerId,e)}}]),N}();export{g as default};
@@ -0,0 +1 @@
1
+ import e from"@babel/runtime/helpers/classCallCheck";import t from"@babel/runtime/helpers/createClass";import o from"@babel/runtime/helpers/inherits";import n from"@babel/runtime/helpers/possibleConstructorReturn";import i from"@babel/runtime/helpers/getPrototypeOf";import a from"video.js";import{E as r,e as l}from"./icons-37daa6b3.js";import{E as s}from"./generic-b70da815.js";import{k as d}from"./currentVideoInfo-0b234e55.js";import{g as c,s as m,j as p,k as u,l as v}from"./skin-65765793.js";import{a as h}from"./autoNextVideo-d6e1bfbc.js";import{g as f}from"./localisation-0bf399a1.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"axios";import"./player_instance-34118a5b.js";import"js-cookie";import"./captions-78bd2908.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";import"./util-b5ecf7d5.js";function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}var y=a.getComponent("Component"),g=function(){o(E,y);var g,C,j=(g=E,C=b(),function(){var e,t=i(g);if(C){var o=i(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return n(this,e)});function E(t){var o,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,E),(i=j.call(this,t,a)).playerId=a.playerId,i.seriesData=a.sres,i.videos=a.related.content,i.cb=(null==a||null===(o=a.related)||void 0===o?void 0:o.cb)||null,i.autoNext=(null==a||null===(n=a.related)||void 0===n?void 0:n.autoNext)||!1,i.currentVideoData=a.res,i.initialiseStructure(),i.loadCSS(),i.autoNext&&(d(0),h({playerId:i.playerId,content:i.videos,cb:i.cb})),i}return t(E,[{key:"createEl",value:function(){var e=a.dom.createEl("div",{className:"video-selection vjs-control vjs-button"});e.style.position="unset";var t=a.dom.createEl("div",{className:"video-selector-icon",innerHTML:"".concat(r())});return a.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){import("./videoSelector-8e258d45.js").then(function(e){var t=document.createElement("style");t.id="video-selection",t.append("".concat(e.default)),document.head.appendChild(t)})}},{key:"initialiseStructure",value:function(){var e=this,t=this.el(),o=a.dom.createEl("div",{className:"video-selection-container hidden"});a.dom.$(".video-selector-icon",this.el()).onclick=function(){var n;null!==(n=o.classList)&&void 0!==n&&n.contains("hidden")?(c(),o.classList.remove("hidden"),t.classList.add("open"),o.style.right="0px",m(e.playerId,o)):(o.classList.add("hidden"),t.classList.remove("open"),o.style.right="-350px")};var n=document.getElementById(this.playerId);if(n){var i=window.getComputedStyle(n,null).getPropertyValue("height");o.style.height="".concat(i),a.dom.appendContent(t,o),n.style.overflow="hidden",this.addFunctionality(o),p(this.playerId,o)}}},{key:"toggleOpenClose",value:function(){}},{key:"addFunctionality",value:function(e){var t=this,o=this.el(),n=a.dom.createEl("div",{className:"video-selector-head"}),i=a.dom.createEl("div",{className:"video-selector-cross-icon",innerHTML:"".concat(l())});i.onclick=function(){e.classList.add("hidden"),o.classList.remove("open"),e.style.right="-350px"};for(var r=a.dom.createEl("div",{className:"video-selector-title",innerHTML:f("relatedVideoTitle")||"Recommended"}),c=a.dom.createEl("div",{className:"video-selector-content"}),m=a.dom.createEl("div",{className:"video-container"}),p=function(e){var o,n,i,r,l,p=a.dom.createEl("div",{className:"video -".concat(e)}),u=a.dom.createEl("div",{className:"recommended -".concat(e)});u.setAttribute("video-idx",e),u.onclick=function(){d(e+1);for(var o=a.dom.$$(".recommended"),n=0;n<o.length;n++)o[n].style.border="none";v(e),s(t.playerId,t.videos[e].id).then(function(e){t.cb&&t.cb(e)}).catch(function(e){t.cb&&t.cb(e)})};var h=document.createElement("img");h.className="related-thumbnail-image",h.src="".concat((null==t||null===(o=t.videos)||void 0===o||null===(n=o[e])||void 0===n?void 0:n.img)||(null===(i=window)||void 0===i||null===(r=i.customData)||void 0===r?void 0:r.fallbackImage)),h.alt="No Thumbnail Available",u.append(h);var f=a.dom.createEl("div",{className:"info -".concat(e),innerHTML:"".concat((null==t||null===(l=t.videos[e])||void 0===l?void 0:l.title)||"")});a.dom.appendContent(p,u),a.dom.appendContent(p,f),a.dom.appendContent(m,p),a.dom.appendContent(c,m)},h=0;h<this.videos.length;h++)p(h);a.dom.appendContent(n,i),a.dom.appendContent(n,r),a.dom.appendContent(e,n),a.dom.appendContent(e,c),u(this.playerId,e)}}]),E}();export{g as default};