@clickview/exchange 0.43.1-dev.0 → 0.43.1-dev.2

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 (284) hide show
  1. package/dist/bundles.json +4 -0
  2. package/dist/css/137-exchange-8c1b8716b3.chunk.css +25 -0
  3. package/dist/css/212-exchange-d71527fc65.chunk.css +1 -0
  4. package/dist/css/226-exchange-9ab9f14b3c.chunk.css +57 -0
  5. package/dist/css/291-exchange-be9d9f0cdb.chunk.css +11 -0
  6. package/dist/css/298-exchange-78ece5c7c5.chunk.css +37 -0
  7. package/dist/css/332-exchange-e4754ae27a.chunk.css +1 -0
  8. package/dist/css/489-exchange-6ecb1e7adc.chunk.css +85 -0
  9. package/dist/css/494-exchange-02d7a0249c.chunk.css +2 -0
  10. package/dist/css/522-exchange-1387f35e92.chunk.css +14 -0
  11. package/dist/css/538-exchange-4cbfe56ba3.chunk.css +1 -0
  12. package/dist/css/589-exchange-fa098d9131.chunk.css +11 -0
  13. package/dist/css/611-exchange-cbf2bb5621.chunk.css +5 -0
  14. package/dist/css/669-exchange-e80e6c6649.chunk.css +10 -0
  15. package/dist/css/68-exchange-b5eaf8af44.chunk.css +35 -0
  16. package/dist/css/75-exchange-6d2304419c.chunk.css +5 -0
  17. package/dist/css/759-exchange-23bb5dd175.chunk.css +8 -0
  18. package/dist/css/858-exchange-06944bdfa4.chunk.css +1 -0
  19. package/dist/css/904-exchange-0eab318199.chunk.css +40 -0
  20. package/dist/css/95-exchange-4cbfe56ba3.chunk.css +1 -0
  21. package/dist/css/lite-exchange-ed6bd260c5.css +14 -0
  22. package/dist/languages/en.json +1 -0
  23. package/dist/scripts/117-259130ac0e-exchange.chunk.js +1 -0
  24. package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +1 -0
  25. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +2 -0
  26. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +1 -0
  27. package/dist/scripts/137-51b4dab452-exchange.chunk.js +1 -0
  28. package/dist/scripts/156-7e4d78c20a-exchange.chunk.js +1 -0
  29. package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +1 -0
  30. package/dist/scripts/173-3668db114a-exchange.chunk.js +1 -0
  31. package/dist/scripts/212-6ed71b2797-exchange.chunk.js +1 -0
  32. package/dist/scripts/226-889bef8e6c-exchange.chunk.js +1 -0
  33. package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +1 -0
  34. package/dist/scripts/291-7e85a6e844-exchange.chunk.js +1 -0
  35. package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +1 -0
  36. package/dist/scripts/312-69afcbbc39-exchange.chunk.js +1 -0
  37. package/dist/scripts/325-76baea117f-exchange.chunk.js +1 -0
  38. package/dist/scripts/332-08d48debc2-exchange.chunk.js +1 -0
  39. package/dist/scripts/414-567e121c75-exchange.chunk.js +2 -0
  40. package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +60 -0
  41. package/dist/scripts/442-fcba36183d-exchange.chunk.js +1 -0
  42. package/dist/scripts/455-ceeb969c54-exchange.chunk.js +1 -0
  43. package/dist/scripts/484-08c82c5a88-exchange.chunk.js +1 -0
  44. package/dist/scripts/489-8b40fa92cc-exchange.chunk.js +2 -0
  45. package/dist/scripts/489-8b40fa92cc-exchange.chunk.js.LICENSE.txt +1 -0
  46. package/dist/scripts/494-abba46b945-exchange.chunk.js +2 -0
  47. package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +1 -0
  48. package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +1 -0
  49. package/dist/scripts/522-cb18547130-exchange.chunk.js +2 -0
  50. package/dist/scripts/522-cb18547130-exchange.chunk.js.LICENSE.txt +1 -0
  51. package/dist/scripts/536-b915864d5f-exchange.chunk.js +1 -0
  52. package/dist/scripts/538-ccc01a623f-exchange.chunk.js +2 -0
  53. package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +1 -0
  54. package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +1 -0
  55. package/dist/scripts/589-17d73ab116-exchange.chunk.js +1 -0
  56. package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +1 -0
  57. package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +1 -0
  58. package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +1 -0
  59. package/dist/scripts/648-485af12c37-exchange.chunk.js +1 -0
  60. package/dist/scripts/659-d08f206e1d-exchange.chunk.js +1 -0
  61. package/dist/scripts/669-a49a0838ff-exchange.chunk.js +1 -0
  62. package/dist/scripts/68-d0da8f3bd8-exchange.chunk.js +1 -0
  63. package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +1 -0
  64. package/dist/scripts/726-868a877381-exchange.chunk.js +1 -0
  65. package/dist/scripts/75-9780e4300e-exchange.chunk.js +1 -0
  66. package/dist/scripts/759-f1a9db4868-exchange.chunk.js +1 -0
  67. package/dist/scripts/782-2c340d8404-exchange.chunk.js +1 -0
  68. package/dist/scripts/831-8808647fc7-exchange.chunk.js +1 -0
  69. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +2 -0
  70. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +1 -0
  71. package/dist/scripts/858-70085ed3b1-exchange.chunk.js +1 -0
  72. package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +1 -0
  73. package/dist/scripts/87-d569a1463e-exchange.chunk.js +1 -0
  74. package/dist/scripts/877-5b357aeb63-exchange.chunk.js +1 -0
  75. package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +1 -0
  76. package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +1 -0
  77. package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +1 -0
  78. package/dist/scripts/95-841a847f54-exchange.chunk.js +2 -0
  79. package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +1 -0
  80. package/dist/scripts/bundle-7065b184e2.min.js +2 -0
  81. package/dist/scripts/bundle-7065b184e2.min.js.LICENSE.txt +108 -0
  82. package/package.json +3 -12
  83. package/typings/utils/imports.d.ts +1 -1
  84. package/dist/Actions-BtMRNMuv.cjs +0 -1
  85. package/dist/Actions-DfeKDy3k.js +0 -178
  86. package/dist/AddToLibraryView-BoCLtcWV.js +0 -508
  87. package/dist/AddToLibraryView-MpkcVgoR.cjs +0 -1
  88. package/dist/Badge-3MW5GacP.cjs +0 -1
  89. package/dist/Badge-Ddz0Il5v.js +0 -326
  90. package/dist/BadgeListContainer-CqwUuWKL.js +0 -19
  91. package/dist/BadgeListContainer-DLrBuDpU.cjs +0 -1
  92. package/dist/ButtonGroup-C-z2yWvb.cjs +0 -1
  93. package/dist/ButtonGroup-zaxEq7ZK.js +0 -24
  94. package/dist/Caret-Cpx0uvJ0.js +0 -36
  95. package/dist/Caret-Dgjy7YHO.cjs +0 -1
  96. package/dist/ChevronDownSvg-BI6xUNrZ.cjs +0 -1
  97. package/dist/ChevronDownSvg-BfijmId7.js +0 -13
  98. package/dist/ClassNameHelper-aJ0BDnVo.js +0 -29
  99. package/dist/ClassNameHelper-n4BHW-GR.cjs +0 -1
  100. package/dist/CloseSvg-2PKjla1T.js +0 -13
  101. package/dist/CloseSvg-B7rizkGp.cjs +0 -1
  102. package/dist/CurationStatus-BGjsO3l8.cjs +0 -1
  103. package/dist/CurationStatus-DZn3C9Qe.js +0 -4
  104. package/dist/DevErrorView-Bg1Ufy6-.js +0 -79
  105. package/dist/DevErrorView-CpXfV0V4.cjs +0 -1
  106. package/dist/DialogView-B5FEh3e8.cjs +0 -1
  107. package/dist/DialogView-RcNOylD7.js +0 -22
  108. package/dist/DownloadHelper-ChKHN-Le.cjs +0 -1
  109. package/dist/DownloadHelper-dL46n0Kq.js +0 -32
  110. package/dist/DownloadVideoView-CvDFi8HI.cjs +0 -1
  111. package/dist/DownloadVideoView-HSnwAYLp.js +0 -32
  112. package/dist/DragDropMoveWrapper-B_dy7ady.cjs +0 -1
  113. package/dist/DragDropMoveWrapper-TdzJqiqv.js +0 -462
  114. package/dist/ExchangeAddView-BRLjRe3p.js +0 -63
  115. package/dist/ExchangeAddView-CWfp5W52.cjs +0 -1
  116. package/dist/ExchangeFolderView-4ArEcQvn.js +0 -159
  117. package/dist/ExchangeFolderView-_ldS0uwf.cjs +0 -1
  118. package/dist/ExchangeMostRecentView-BMAosIXz.js +0 -61
  119. package/dist/ExchangeMostRecentView-s1iLfclz.cjs +0 -1
  120. package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +0 -1
  121. package/dist/ExchangeNotFoundView-Cb-rmQH1.js +0 -7
  122. package/dist/ExchangePreviewView-hztBChIE.js +0 -82
  123. package/dist/ExchangePreviewView-kjDv-uqf.cjs +0 -1
  124. package/dist/ExchangeRequests-B3wRfv5Y.cjs +0 -1
  125. package/dist/ExchangeRequests-DV7BD3HZ.js +0 -115
  126. package/dist/ExchangeSearchBar-CNtU_swT.js +0 -32
  127. package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +0 -1
  128. package/dist/ExchangeSearchResultsView-CEueb9Li.js +0 -1641
  129. package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +0 -2
  130. package/dist/ExchangeSeriesView-BGBgwgMW.cjs +0 -1
  131. package/dist/ExchangeSeriesView-DMr_mCAH.js +0 -143
  132. package/dist/ExchangeSuggestEditView-B3P-nGFE.js +0 -307
  133. package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +0 -1
  134. package/dist/ExchangeTabs-CrA22PjN.js +0 -46
  135. package/dist/ExchangeTabs-KgrROs1d.cjs +0 -1
  136. package/dist/ExchangeUtils-BRDE3b9w.cjs +0 -1
  137. package/dist/ExchangeUtils-CCCrn5oQ.js +0 -65
  138. package/dist/ExchangeView-Cui4zZ4D.js +0 -30
  139. package/dist/ExchangeView-Dql8pHzi.cjs +0 -1
  140. package/dist/FormButtons-CDOsf9A-.cjs +0 -1
  141. package/dist/FormButtons-fQkvwYsy.js +0 -20
  142. package/dist/FormFeedback-5Dd3bMCl.js +0 -7
  143. package/dist/FormFeedback-BU7vSBqB.cjs +0 -1
  144. package/dist/FormField-Cb2l2GMO.cjs +0 -5
  145. package/dist/FormField-DYeERWxm.js +0 -3353
  146. package/dist/GiveFeedbackView-0tH6h1s3.js +0 -5436
  147. package/dist/GiveFeedbackView-DirGDc2a.cjs +0 -7
  148. package/dist/GroupSvg-BmwXO6yT.js +0 -53
  149. package/dist/GroupSvg-DVAq4iNX.cjs +0 -1
  150. package/dist/HardCoded-25AFj2sZ.js +0 -51
  151. package/dist/HardCoded-BbbeCQNt.cjs +0 -1
  152. package/dist/HttpErrorHandlers-CBhvfsvb.cjs +0 -1
  153. package/dist/HttpErrorHandlers-DKqNIMOg.js +0 -76
  154. package/dist/IconCircle-BVHFUBGt.cjs +0 -1
  155. package/dist/IconCircle-CxFLsbLY.js +0 -26
  156. package/dist/InstanceRegion-C7aJEkFV.cjs +0 -1
  157. package/dist/InstanceRegion-DQlzs4EK.js +0 -4
  158. package/dist/LazyImage-DBQklqeJ.js +0 -163
  159. package/dist/LazyImage-lv36coda.cjs +0 -1
  160. package/dist/LibraryRequests-BHAZPSUw.js +0 -186
  161. package/dist/LibraryRequests-DKCsJHbr.cjs +0 -1
  162. package/dist/LinkifyHelper-DPHYATPc.js +0 -925
  163. package/dist/LinkifyHelper-EOfbsqdi.cjs +0 -4
  164. package/dist/MasterTypeHelper-Y_SDsEUF.cjs +0 -1
  165. package/dist/MasterTypeHelper-uSKy6GZd.js +0 -16
  166. package/dist/MediaQueries-9caJ2eG6.js +0 -4
  167. package/dist/MediaQueries-CE9Kbs0e.cjs +0 -1
  168. package/dist/PartialLoadingHelper-D42uOdDd.cjs +0 -1
  169. package/dist/PartialLoadingHelper-DIas6hnM.js +0 -29
  170. package/dist/PermissionFilterOption-B-QrMVdA.js +0 -4
  171. package/dist/PermissionFilterOption-BIA__Q_O.cjs +0 -1
  172. package/dist/PillTabSelector-B5V2rqf0.js +0 -64
  173. package/dist/PillTabSelector-yR52s5ix.cjs +0 -14
  174. package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +0 -362
  175. package/dist/PreviewVideoDetails-DJXB4vV3.js +0 -68337
  176. package/dist/ProgramType-DHk-SlRZ.cjs +0 -1
  177. package/dist/ProgramType-FpE5cuZV.js +0 -60
  178. package/dist/RatingRequests-BNPZAxXm.cjs +0 -1
  179. package/dist/RatingRequests-Dr3w3-z8.js +0 -11
  180. package/dist/RedirectView-BK8yU-PU.js +0 -22
  181. package/dist/RedirectView-OEJhJrvf.cjs +0 -1
  182. package/dist/RestrictionHelper-BSceJYz-.js +0 -112
  183. package/dist/RestrictionHelper-C5u_CmoL.cjs +0 -1
  184. package/dist/ScrollHelper-Dg7bDIH7.js +0 -10
  185. package/dist/ScrollHelper-ESsjtyv8.cjs +0 -1
  186. package/dist/SearchFilters-C_yEnumc.js +0 -3046
  187. package/dist/SearchFilters-D3fLjseM.cjs +0 -1
  188. package/dist/SearchSvg-BB6oXs1v.js +0 -13
  189. package/dist/SearchSvg-BU6G1Fs0.cjs +0 -1
  190. package/dist/SharedSearchHelper-BuVD-GvT.js +0 -159
  191. package/dist/SharedSearchHelper-D5GJJwW7.cjs +0 -1
  192. package/dist/TagItem-BBc3HmnI.cjs +0 -1
  193. package/dist/TagItem-BFnSikAz.js +0 -1125
  194. package/dist/TvAdFreeBadge-BDFn2ujd.js +0 -11
  195. package/dist/TvAdFreeBadge-X2iSf6B3.cjs +0 -1
  196. package/dist/TvAdFreeRequestView-CEAvozfO.js +0 -46
  197. package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +0 -1
  198. package/dist/TvAddView-Bv12wfX7.js +0 -276
  199. package/dist/TvAddView-CA7Yappn.cjs +0 -1
  200. package/dist/TvAlreadyAddedView-C240rLQ7.js +0 -56
  201. package/dist/TvAlreadyAddedView-X4KElzJA.cjs +0 -1
  202. package/dist/TvBroadcastContentView-DizJHvTQ.js +0 -52
  203. package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +0 -1
  204. package/dist/TvChannelBadge-B4a1wkQI.cjs +0 -1
  205. package/dist/TvChannelBadge-Doqs12s9.js +0 -11
  206. package/dist/TvChannelView-CSn0VleL.js +0 -177
  207. package/dist/TvChannelView-Ds_F3Mmp.cjs +0 -1
  208. package/dist/TvChannelsView-CM_T5E3j.js +0 -171
  209. package/dist/TvChannelsView-r3NO_BRv.cjs +0 -1
  210. package/dist/TvGuideView-B8vS-8lS.cjs +0 -1
  211. package/dist/TvGuideView-BLlQJiZ3.js +0 -54
  212. package/dist/TvHomeView-C_h4DZw_.cjs +0 -1
  213. package/dist/TvHomeView-CbNg8AyI.js +0 -15
  214. package/dist/TvPreviewView-DhXD3H__.js +0 -114
  215. package/dist/TvPreviewView-hGq7_Bzs.cjs +0 -1
  216. package/dist/TvProgramTimeBadge-BtQKNLz2.js +0 -18
  217. package/dist/TvProgramTimeBadge-DPJu73xG.cjs +0 -1
  218. package/dist/TvProgramsView-Ba9VPnEh.cjs +0 -1
  219. package/dist/TvProgramsView-DO4WnPJx.js +0 -223
  220. package/dist/TvRadioDownloadView-ByABG_YW.js +0 -41
  221. package/dist/TvRadioDownloadView-CitV60kZ.cjs +0 -1
  222. package/dist/TvRequestProgramView-CYc5nAEt.cjs +0 -1
  223. package/dist/TvRequestProgramView-Dm5Bra4d.js +0 -267
  224. package/dist/TvRequests-Bcy68aT5.js +0 -227
  225. package/dist/TvRequests-l_Xv-rcr.cjs +0 -1
  226. package/dist/TvSearchBar-5J6420z2.cjs +0 -1
  227. package/dist/TvSearchBar-KZqcg7G0.js +0 -95
  228. package/dist/TvSearchResultsView-BTONTtMg.cjs +0 -1
  229. package/dist/TvSearchResultsView-CMsq8ehS.js +0 -212
  230. package/dist/TvTabs-CrQVKuod.js +0 -88
  231. package/dist/TvTabs-JuCI2Ea7.cjs +0 -1
  232. package/dist/TypeHelper-Dt2Y9Wc4.js +0 -14
  233. package/dist/TypeHelper-Z2rqPzup.cjs +0 -1
  234. package/dist/UseAlerts-B2BbQeN3.js +0 -39
  235. package/dist/UseAlerts-pIg83NsO.cjs +0 -1
  236. package/dist/UseFetchAll-BaDVJFdj.cjs +0 -1
  237. package/dist/UseFetchAll-DYGA8s5a.js +0 -147
  238. package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +0 -1
  239. package/dist/UseGetMediaQueryString-Dc_jP0rr.js +0 -226
  240. package/dist/UseHandleDialogError-BJHsOnKn.js +0 -9
  241. package/dist/UseHandleDialogError-PbyWsVaT.cjs +0 -1
  242. package/dist/UseHandleObjectError-CBFN1Ill.cjs +0 -1
  243. package/dist/UseHandleObjectError-DAhDbPEo.js +0 -16
  244. package/dist/UseHover-CLOLtbUV.cjs +0 -1
  245. package/dist/UseHover-Cc_d5rRf.js +0 -85
  246. package/dist/UseSelectAllPages-04737Rdu.cjs +0 -1
  247. package/dist/UseSelectAllPages-Cnk3MEAt.js +0 -149
  248. package/dist/VideoHelper-3AKe5Jyy.js +0 -477
  249. package/dist/VideoHelper-BQ7rWUw0.cjs +0 -1
  250. package/dist/VideoList-SNG1hmoL.cjs +0 -49
  251. package/dist/VideoList-s7lvSqSs.js +0 -2622
  252. package/dist/VideoRequests-CpDXl7E_.cjs +0 -1
  253. package/dist/VideoRequests-DlUeYLjl.js +0 -225
  254. package/dist/VideoSortSelect-3JfrvPfj.cjs +0 -1
  255. package/dist/VideoSortSelect-DS9Uvc-S.js +0 -116
  256. package/dist/VisibleOnSvg-BisjF586.cjs +0 -1
  257. package/dist/VisibleOnSvg-WDCQPPvV.js +0 -33
  258. package/dist/app-2U039aX_.js +0 -67680
  259. package/dist/app-DcIbciDa.cjs +0 -454
  260. package/dist/app.js +0 -1
  261. package/dist/en.json +0 -1
  262. package/dist/exchange.css +0 -1
  263. package/dist/getRegionInfo-B_h_jjAy.js +0 -31
  264. package/dist/getRegionInfo-Bs5JKG7h.cjs +0 -1
  265. package/dist/index-CGkY5YVS.cjs +0 -1
  266. package/dist/index-DUgR-v-j.js +0 -885
  267. package/dist/toLocalTime-Bt8Uy4Kq.js +0 -15
  268. package/dist/toLocalTime-DF9SIfIt.cjs +0 -1
  269. package/dist/useBreakpoints-37V489ap.js +0 -66
  270. package/dist/useBreakpoints-B-bcgx-L.cjs +0 -1
  271. package/dist/useGetExchangeActions-BwXrBSH-.cjs +0 -1
  272. package/dist/useGetExchangeActions-C8Y1FNSl.js +0 -176
  273. package/dist/useGetTvActions-CmEBdHbw.cjs +0 -1
  274. package/dist/useGetTvActions-DENrO3wZ.js +0 -54
  275. package/dist/useHandleRegionError-BNRrs6y8.cjs +0 -1
  276. package/dist/useHandleRegionError-BNxhNPKP.js +0 -10
  277. package/dist/usePreviewContext--ihfEi4P.js +0 -14
  278. package/dist/usePreviewContext-DjpFhe3I.cjs +0 -1
  279. package/dist/useSelectedRegion-7_2s4QQF.js +0 -16
  280. package/dist/useSelectedRegion-D3Xsu2Ut.cjs +0 -1
  281. package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +0 -1
  282. package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +0 -57
  283. package/vite-i18n-plugin.ts +0 -113
  284. package/vite.config.ts +0 -59
@@ -1 +0,0 @@
1
- "use strict";const e=require("./app-DcIbciDa.cjs"),j=require("./Caret-Dgjy7YHO.cjs"),w="_accordionHeader_1eoao_1",g={accordionHeader:w};function h(t){return e.jsxRuntimeExports.jsx("ul",{className:"striped-list list-unstyled no-full-width",children:t.children})}function E(t){const[s,o]=e.React.useState(!1),[n,i]=e.React.useState({}),[r,c]=e.React.useState(0),a=e.React.useRef(null),l=e.React.useRef(null),u=e.React.useRef(null),d=e.React.useRef(null);function p(){s?(i({maxHeight:0,opacity:1}),c(0),l.current=window.setTimeout(()=>o(!1),400)):(o(!0),u.current=window.setTimeout(()=>{i({maxHeight:"max-content",opacity:0,position:"absolute"})}))}return e.React.useEffect(()=>{var x;if(!s)return;const f=Math.ceil((x=a.current)==null?void 0:x.getBoundingClientRect().height),m=n.opacity===0;m&&c(f),m&&r&&(i({position:"relative"}),d.current=window.requestAnimationFrame(()=>i({maxHeight:r,opacity:1})))},[s,r,n.maxHeight]),e.React.useEffect(()=>()=>{window.clearTimeout(l.current),window.clearTimeout(u.current),window.cancelAnimationFrame(d.current)},[]),e.jsxRuntimeExports.jsxs("li",{className:"position-relative",children:[e.jsxRuntimeExports.jsxs("div",{className:"cursor-pointer d-flex align-items-center py-2 px-3",onClick:p,children:[e.jsxRuntimeExports.jsx("div",{className:"ms-1",children:e.jsxRuntimeExports.jsx(j.Caret,{direction:s?"down":"right"})}),e.jsxRuntimeExports.jsx("span",{className:`${s?"fw-semibold":""} user-select-none ms-2`,children:t.title})]}),s&&e.jsxRuntimeExports.jsx("div",{className:"bg-white",children:e.jsxRuntimeExports.jsx("div",{ref:a,className:`${g.accordionHeader}`,style:n,children:t.children})})]})}h.Header=E;function H(){return e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:e.jsxRuntimeExports.jsx("ul",{className:"list-unstyled",children:[...Array(20)].map((t,s)=>e.jsxRuntimeExports.jsxs("li",{className:`${s%2===0?"partial-loading-background":""} d-flex w-100 p-2`,children:[e.jsxRuntimeExports.jsx("div",{className:"svg-container"}),e.jsxRuntimeExports.jsx("span",{children:" "})]},s))})})}var R=(t=>(t[t.Video=0]="Video",t[t.Audio=1]="Audio",t))(R||{});exports.AccordionList=h;exports.PartialAccordionList=H;exports.ProgramType=R;
@@ -1,60 +0,0 @@
1
- import { j as e, R as s } from "./app-2U039aX_.js";
2
- import { C as g } from "./Caret-Cpx0uvJ0.js";
3
- const p = "_accordionHeader_1eoao_1", j = {
4
- accordionHeader: p
5
- };
6
- function H(i) {
7
- return /* @__PURE__ */ e.jsx("ul", { className: "striped-list list-unstyled no-full-width", children: i.children });
8
- }
9
- function y(i) {
10
- const [t, r] = s.useState(!1), [a, n] = s.useState({}), [o, c] = s.useState(0), l = s.useRef(null), d = s.useRef(null), u = s.useRef(null), m = s.useRef(null);
11
- function x() {
12
- t ? (n({ maxHeight: 0, opacity: 1 }), c(0), d.current = window.setTimeout(() => r(!1), 400)) : (r(!0), u.current = window.setTimeout(() => {
13
- n({ maxHeight: "max-content", opacity: 0, position: "absolute" });
14
- }));
15
- }
16
- return s.useEffect(() => {
17
- var f;
18
- if (!t) return;
19
- const w = Math.ceil((f = l.current) == null ? void 0 : f.getBoundingClientRect().height), h = a.opacity === 0;
20
- h && c(w), h && o && (n({ position: "relative" }), m.current = window.requestAnimationFrame(
21
- () => n({ maxHeight: o, opacity: 1 })
22
- ));
23
- }, [t, o, a.maxHeight]), s.useEffect(() => () => {
24
- window.clearTimeout(d.current), window.clearTimeout(u.current), window.cancelAnimationFrame(m.current);
25
- }, []), /* @__PURE__ */ e.jsxs("li", { className: "position-relative", children: [
26
- /* @__PURE__ */ e.jsxs(
27
- "div",
28
- {
29
- className: "cursor-pointer d-flex align-items-center py-2 px-3",
30
- onClick: x,
31
- children: [
32
- /* @__PURE__ */ e.jsx("div", { className: "ms-1", children: /* @__PURE__ */ e.jsx(g, { direction: t ? "down" : "right" }) }),
33
- /* @__PURE__ */ e.jsx("span", { className: `${t ? "fw-semibold" : ""} user-select-none ms-2`, children: i.title })
34
- ]
35
- }
36
- ),
37
- t && /* @__PURE__ */ e.jsx("div", { className: "bg-white", children: /* @__PURE__ */ e.jsx(
38
- "div",
39
- {
40
- ref: l,
41
- className: `${j.accordionHeader}`,
42
- style: a,
43
- children: i.children
44
- }
45
- ) })
46
- ] });
47
- }
48
- H.Header = y;
49
- function A() {
50
- return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx("ul", { className: "list-unstyled", children: [...Array(20)].map((i, t) => /* @__PURE__ */ e.jsxs("li", { className: `${t % 2 === 0 ? "partial-loading-background" : ""} d-flex w-100 p-2`, children: [
51
- /* @__PURE__ */ e.jsx("div", { className: "svg-container" }),
52
- /* @__PURE__ */ e.jsx("span", { children: " " })
53
- ] }, t)) }) });
54
- }
55
- var R = /* @__PURE__ */ ((i) => (i[i.Video = 0] = "Video", i[i.Audio = 1] = "Audio", i))(R || {});
56
- export {
57
- H as A,
58
- R as P,
59
- A as a
60
- };
@@ -1 +0,0 @@
1
- "use strict";const t={ratings(){return{url:"/api/domain/v2/me/ratings",key:"ratings"}}};exports.RatingRequests=t;
@@ -1,11 +0,0 @@
1
- const t = {
2
- ratings() {
3
- return {
4
- url: "/api/domain/v2/me/ratings",
5
- key: "ratings"
6
- };
7
- }
8
- };
9
- export {
10
- t as R
11
- };
@@ -1,22 +0,0 @@
1
- import { u as s, R as o, A as n, a as i, b as a, j as r } from "./app-2U039aX_.js";
2
- function p() {
3
- const { exchangeTvProductOption: t, isLoadingSettings: e } = s(null);
4
- return o.useEffect(() => {
5
- if (!e) {
6
- if (t === "tv") {
7
- n.trigger({
8
- application: a.TV,
9
- action: i.Tv.INDEX
10
- });
11
- return;
12
- }
13
- n.trigger({
14
- application: a.EXCHANGE,
15
- action: i.Exchange.INDEX
16
- });
17
- }
18
- }, [t, e]), /* @__PURE__ */ r.jsx(r.Fragment, {});
19
- }
20
- export {
21
- p as RedirectView
22
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs");function i(){const{exchangeTvProductOption:t,isLoadingSettings:n}=e.useSettings(null);return e.React.useEffect(()=>{if(!n){if(t==="tv"){e.AppLinkHelper.trigger({application:e.AppChannels.TV,action:e.Actions.Tv.INDEX});return}e.AppLinkHelper.trigger({application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.INDEX})}},[t,n]),e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{})}exports.RedirectView=i;
@@ -1,112 +0,0 @@
1
- import { j as s, ay as h, L as d } from "./app-2U039aX_.js";
2
- const p = "_minHeight_kz0hs_1", C = "_restrictionBadgeCustom_kz0hs_4", R = "_restrictionBadgeUser_kz0hs_8", v = "_streamable_kz0hs_12", g = {
3
- minHeight: p,
4
- restrictionBadgeCustom: C,
5
- restrictionBadgeUser: R,
6
- streamable: v
7
- };
8
- var n = /* @__PURE__ */ ((e) => (e.Custom = "custom", e.User = "year_group", e))(n || {});
9
- function f(e) {
10
- return /* @__PURE__ */ s.jsx("svg", { ...e, children: /* @__PURE__ */ s.jsx(
11
- "path",
12
- {
13
- d: "M9.006 10h6.028c.006-.32.01-.641.002-.974-.016-.663-.077-1.28-.243-1.808-.164-.52-.424-.934-.83-1.223-.407-.292-1.015-.495-1.943-.495s-1.536.203-1.944.495c-.405.29-.665.703-.83 1.223-.166.528-.227 1.145-.242 1.808-.008.333-.004.655.002.974m7.028 0H17a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1.006c-.006-.33-.01-.67-.002-.997.016-.696.08-1.424.289-2.085.21-.67.576-1.29 1.202-1.737.623-.445 1.453-.681 2.525-.681s1.902.236 2.525.681c.626.447.99 1.068 1.202 1.737.208.661.272 1.389.288 2.085.008.326.005.667 0 .997m-1.014 1H7v8h10v-8h-1.98",
14
- fill: "currentColor"
15
- }
16
- ) });
17
- }
18
- function x(e) {
19
- return /* @__PURE__ */ s.jsxs("svg", { ...e, children: [
20
- /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx(
21
- "path",
22
- {
23
- id: "a",
24
- d: "M12 19.059A7.059 7.059 0 1 0 12 4.94a7.059 7.059 0 0 0 0 14.118M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.229 2.743a.457.457 0 0 0-.457.457v5.486c0 .147.071.286.191.372l3.174 2.27a.457.457 0 1 0 .532-.744l-2.982-2.133V7.2a.457.457 0 0 0-.458-.457",
25
- fill: "currentColor"
26
- }
27
- ) }),
28
- /* @__PURE__ */ s.jsxs("g", { fill: "none", fillRule: "evenodd", children: [
29
- /* @__PURE__ */ s.jsx("mask", { id: "b", fill: "#fff", children: /* @__PURE__ */ s.jsx("use", { href: "#a" }) }),
30
- /* @__PURE__ */ s.jsx("use", { fill: "#000", fillRule: "nonzero", href: "#a" }),
31
- /* @__PURE__ */ s.jsx("g", { fill: "#383838", mask: "url(#b)", children: /* @__PURE__ */ s.jsx("path", { d: "M0 0h24v24H0z", fill: "currentColor" }) })
32
- ] })
33
- ] });
34
- }
35
- const y = "shared.shared-utils", c = d.encloseNamespace(y), _ = {
36
- [n.Custom]: g.restrictionBadgeCustom,
37
- [n.User]: g.restrictionBadgeUser
38
- }, j = {
39
- [n.Custom]: x,
40
- [n.User]: f
41
- }, B = {
42
- [n.Custom]: "restrictionCustom",
43
- [n.User]: "restrictionYearGroup"
44
- }, m = {
45
- [n.Custom]: 200,
46
- [n.User]: 100
47
- }, o = {
48
- mapRestrictionToClass(e) {
49
- var r;
50
- if (!((r = e == null ? void 0 : e.value) != null && r.length))
51
- return "";
52
- const t = o.getWeightedRestriction(e.value);
53
- return _[t.type];
54
- },
55
- mapRestrictionToSvg(e) {
56
- var r;
57
- if (!((r = e == null ? void 0 : e.value) != null && r.length))
58
- return f;
59
- const t = o.getWeightedRestriction(e.value);
60
- return j[t.type];
61
- },
62
- mapRestrictionToText(e, t) {
63
- var l;
64
- if (!((l = e == null ? void 0 : e.value) != null && l.length) || !(t != null && t.length))
65
- return "";
66
- const r = o.getWeightedRestriction(e.value), a = t.find((u) => u.value === r.yearGroup), i = B[r.type];
67
- if (r.type === n.User)
68
- return r.yearGroup === null ? c("restrictionStaff") : a ? t.length === 1 ? c("restrictionStudents") : c(i, { yearGroup: a.name }) : "";
69
- if (r.type === n.Custom) {
70
- const u = o.getRestrictionDuration(r);
71
- return u ? c(i, { duration: u, smartCount: u }) : c("restrictionCustomLessThanDay", { duration: u, smartCount: 1 });
72
- }
73
- return "";
74
- },
75
- /**
76
- * A video can have multiple restrictions, in that case we need to display
77
- * only one restriction. By default we display the restriction with highest
78
- * weight bias.
79
- */
80
- getWeightedRestriction(e, t = "highest") {
81
- if (e != null && e.length)
82
- return e.length === 1 ? e[0] : e.reduce((r, a) => {
83
- const i = m[r.type], l = m[a.type];
84
- return t === "highest" && i > l || t === "lowest" && i < l ? r : a;
85
- });
86
- },
87
- getRestrictionByType(e, t) {
88
- if (!o.hasRestrictions(e))
89
- return null;
90
- const r = Array.isArray(t) ? t : [t], a = e._restrictions.value.filter((i) => r.includes(i.type));
91
- return o.getWeightedRestriction(a);
92
- },
93
- getRestrictionDuration(e) {
94
- if (e.type !== n.Custom || !e.expiresOn) return;
95
- const t = h.convertUTCToLocal(e.expiresOn);
96
- if (t)
97
- return h.diffBetween(t, /* @__PURE__ */ new Date(), "day");
98
- },
99
- hasCustomRestriction(e) {
100
- return !!o.getRestrictionByType(e, [n.Custom]);
101
- },
102
- hasRestrictions(e) {
103
- var t, r;
104
- return !!((r = (t = e == null ? void 0 : e._restrictions) == null ? void 0 : t.value) != null && r.length);
105
- }
106
- };
107
- export {
108
- f as L,
109
- o as R,
110
- n as a,
111
- g as s
112
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("./app-DcIbciDa.cjs"),p="_minHeight_kz0hs_1",f="_restrictionBadgeCustom_kz0hs_4",x="_restrictionBadgeUser_kz0hs_8",d="_streamable_kz0hs_12",h={minHeight:p,restrictionBadgeCustom:f,restrictionBadgeUser:x,streamable:d};var s=(e=>(e.Custom="custom",e.User="year_group",e))(s||{});function g(e){return n.jsxRuntimeExports.jsx("svg",{...e,children:n.jsxRuntimeExports.jsx("path",{d:"M9.006 10h6.028c.006-.32.01-.641.002-.974-.016-.663-.077-1.28-.243-1.808-.164-.52-.424-.934-.83-1.223-.407-.292-1.015-.495-1.943-.495s-1.536.203-1.944.495c-.405.29-.665.703-.83 1.223-.166.528-.227 1.145-.242 1.808-.008.333-.004.655.002.974m7.028 0H17a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1.006c-.006-.33-.01-.67-.002-.997.016-.696.08-1.424.289-2.085.21-.67.576-1.29 1.202-1.737.623-.445 1.453-.681 2.525-.681s1.902.236 2.525.681c.626.447.99 1.068 1.202 1.737.208.661.272 1.389.288 2.085.008.326.005.667 0 .997m-1.014 1H7v8h10v-8h-1.98",fill:"currentColor"})})}function R(e){return n.jsxRuntimeExports.jsxs("svg",{...e,children:[n.jsxRuntimeExports.jsx("defs",{children:n.jsxRuntimeExports.jsx("path",{id:"a",d:"M12 19.059A7.059 7.059 0 1 0 12 4.94a7.059 7.059 0 0 0 0 14.118M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.229 2.743a.457.457 0 0 0-.457.457v5.486c0 .147.071.286.191.372l3.174 2.27a.457.457 0 1 0 .532-.744l-2.982-2.133V7.2a.457.457 0 0 0-.458-.457",fill:"currentColor"})}),n.jsxRuntimeExports.jsxs("g",{fill:"none",fillRule:"evenodd",children:[n.jsxRuntimeExports.jsx("mask",{id:"b",fill:"#fff",children:n.jsxRuntimeExports.jsx("use",{href:"#a"})}),n.jsxRuntimeExports.jsx("use",{fill:"#000",fillRule:"nonzero",href:"#a"}),n.jsxRuntimeExports.jsx("g",{fill:"#383838",mask:"url(#b)",children:n.jsxRuntimeExports.jsx("path",{d:"M0 0h24v24H0z",fill:"currentColor"})})]})]})}const C="shared.shared-utils",c=n.LanguageService.encloseNamespace(C),j={[s.Custom]:h.restrictionBadgeCustom,[s.User]:h.restrictionBadgeUser},v={[s.Custom]:R,[s.User]:g},y={[s.Custom]:"restrictionCustom",[s.User]:"restrictionYearGroup"},m={[s.Custom]:200,[s.User]:100},i={mapRestrictionToClass(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return"";const t=i.getWeightedRestriction(e.value);return j[t.type]},mapRestrictionToSvg(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return g;const t=i.getWeightedRestriction(e.value);return v[t.type]},mapRestrictionToText(e,t){var l;if(!((l=e==null?void 0:e.value)!=null&&l.length)||!(t!=null&&t.length))return"";const r=i.getWeightedRestriction(e.value),u=t.find(a=>a.value===r.yearGroup),o=y[r.type];if(r.type===s.User)return r.yearGroup===null?c("restrictionStaff"):u?t.length===1?c("restrictionStudents"):c(o,{yearGroup:u.name}):"";if(r.type===s.Custom){const a=i.getRestrictionDuration(r);return a?c(o,{duration:a,smartCount:a}):c("restrictionCustomLessThanDay",{duration:a,smartCount:1})}return""},getWeightedRestriction(e,t="highest"){if(e!=null&&e.length)return e.length===1?e[0]:e.reduce((r,u)=>{const o=m[r.type],l=m[u.type];return t==="highest"&&o>l||t==="lowest"&&o<l?r:u})},getRestrictionByType(e,t){if(!i.hasRestrictions(e))return null;const r=Array.isArray(t)?t:[t],u=e._restrictions.value.filter(o=>r.includes(o.type));return i.getWeightedRestriction(u)},getRestrictionDuration(e){if(e.type!==s.Custom||!e.expiresOn)return;const t=n.DateHelper.convertUTCToLocal(e.expiresOn);if(t)return n.DateHelper.diffBetween(t,new Date,"day")},hasCustomRestriction(e){return!!i.getRestrictionByType(e,[s.Custom])},hasRestrictions(e){var t,r;return!!((r=(t=e==null?void 0:e._restrictions)==null?void 0:t.value)!=null&&r.length)}};exports.LockSvg=g;exports.RestrictionHelper=i;exports.RestrictionType=s;exports.styles=h;
@@ -1,10 +0,0 @@
1
- import { a6 as o, aM as r } from "./app-2U039aX_.js";
2
- const a = {
3
- // Will prevent scrolling to the top of the page when applinks are triggered
4
- preventScrollTop() {
5
- o.Radio.channel(r.SHELL).trigger("prevent:scroll:top");
6
- }
7
- };
8
- export {
9
- a as S
10
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./app-DcIbciDa.cjs"),r={preventScrollTop(){e.backboneExports.Radio.channel(e.CommonChannels.SHELL).trigger("prevent:scroll:top")}};exports.ScrollHelper=r;