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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/dist/Actions-BtMRNMuv.cjs +1 -0
  2. package/dist/Actions-DfeKDy3k.js +178 -0
  3. package/dist/AddToLibraryView-BoCLtcWV.js +508 -0
  4. package/dist/AddToLibraryView-MpkcVgoR.cjs +1 -0
  5. package/dist/Badge-3MW5GacP.cjs +1 -0
  6. package/dist/Badge-Ddz0Il5v.js +326 -0
  7. package/dist/BadgeListContainer-CqwUuWKL.js +19 -0
  8. package/dist/BadgeListContainer-DLrBuDpU.cjs +1 -0
  9. package/dist/ButtonGroup-C-z2yWvb.cjs +1 -0
  10. package/dist/ButtonGroup-zaxEq7ZK.js +24 -0
  11. package/dist/Caret-Cpx0uvJ0.js +36 -0
  12. package/dist/Caret-Dgjy7YHO.cjs +1 -0
  13. package/dist/ChevronDownSvg-BI6xUNrZ.cjs +1 -0
  14. package/dist/ChevronDownSvg-BfijmId7.js +13 -0
  15. package/dist/ClassNameHelper-aJ0BDnVo.js +29 -0
  16. package/dist/ClassNameHelper-n4BHW-GR.cjs +1 -0
  17. package/dist/CloseSvg-2PKjla1T.js +13 -0
  18. package/dist/CloseSvg-B7rizkGp.cjs +1 -0
  19. package/dist/CurationStatus-BGjsO3l8.cjs +1 -0
  20. package/dist/CurationStatus-DZn3C9Qe.js +4 -0
  21. package/dist/DevErrorView-Bg1Ufy6-.js +79 -0
  22. package/dist/DevErrorView-CpXfV0V4.cjs +1 -0
  23. package/dist/DialogView-B5FEh3e8.cjs +1 -0
  24. package/dist/DialogView-RcNOylD7.js +22 -0
  25. package/dist/DownloadHelper-ChKHN-Le.cjs +1 -0
  26. package/dist/DownloadHelper-dL46n0Kq.js +32 -0
  27. package/dist/DownloadVideoView-CvDFi8HI.cjs +1 -0
  28. package/dist/DownloadVideoView-HSnwAYLp.js +32 -0
  29. package/dist/DragDropMoveWrapper-B_dy7ady.cjs +1 -0
  30. package/dist/DragDropMoveWrapper-TdzJqiqv.js +462 -0
  31. package/dist/ExchangeAddView-BRLjRe3p.js +63 -0
  32. package/dist/ExchangeAddView-CWfp5W52.cjs +1 -0
  33. package/dist/ExchangeFolderView-4ArEcQvn.js +159 -0
  34. package/dist/ExchangeFolderView-_ldS0uwf.cjs +1 -0
  35. package/dist/ExchangeMostRecentView-BMAosIXz.js +61 -0
  36. package/dist/ExchangeMostRecentView-s1iLfclz.cjs +1 -0
  37. package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +1 -0
  38. package/dist/ExchangeNotFoundView-Cb-rmQH1.js +7 -0
  39. package/dist/ExchangePreviewView-hztBChIE.js +82 -0
  40. package/dist/ExchangePreviewView-kjDv-uqf.cjs +1 -0
  41. package/dist/ExchangeRequests-B3wRfv5Y.cjs +1 -0
  42. package/dist/ExchangeRequests-DV7BD3HZ.js +115 -0
  43. package/dist/ExchangeSearchBar-CNtU_swT.js +32 -0
  44. package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +1 -0
  45. package/dist/ExchangeSearchResultsView-CEueb9Li.js +1641 -0
  46. package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +2 -0
  47. package/dist/ExchangeSeriesView-BGBgwgMW.cjs +1 -0
  48. package/dist/ExchangeSeriesView-DMr_mCAH.js +143 -0
  49. package/dist/ExchangeSuggestEditView-B3P-nGFE.js +307 -0
  50. package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +1 -0
  51. package/dist/ExchangeTabs-CrA22PjN.js +46 -0
  52. package/dist/ExchangeTabs-KgrROs1d.cjs +1 -0
  53. package/dist/ExchangeUtils-BRDE3b9w.cjs +1 -0
  54. package/dist/ExchangeUtils-CCCrn5oQ.js +65 -0
  55. package/dist/ExchangeView-Cui4zZ4D.js +30 -0
  56. package/dist/ExchangeView-Dql8pHzi.cjs +1 -0
  57. package/dist/FormButtons-CDOsf9A-.cjs +1 -0
  58. package/dist/FormButtons-fQkvwYsy.js +20 -0
  59. package/dist/FormFeedback-5Dd3bMCl.js +7 -0
  60. package/dist/FormFeedback-BU7vSBqB.cjs +1 -0
  61. package/dist/FormField-Cb2l2GMO.cjs +5 -0
  62. package/dist/FormField-DYeERWxm.js +3353 -0
  63. package/dist/GiveFeedbackView-0tH6h1s3.js +5436 -0
  64. package/dist/GiveFeedbackView-DirGDc2a.cjs +7 -0
  65. package/dist/GroupSvg-BmwXO6yT.js +53 -0
  66. package/dist/GroupSvg-DVAq4iNX.cjs +1 -0
  67. package/dist/HardCoded-25AFj2sZ.js +51 -0
  68. package/dist/HardCoded-BbbeCQNt.cjs +1 -0
  69. package/dist/HttpErrorHandlers-CBhvfsvb.cjs +1 -0
  70. package/dist/HttpErrorHandlers-DKqNIMOg.js +76 -0
  71. package/dist/IconCircle-BVHFUBGt.cjs +1 -0
  72. package/dist/IconCircle-CxFLsbLY.js +26 -0
  73. package/dist/InstanceRegion-C7aJEkFV.cjs +1 -0
  74. package/dist/InstanceRegion-DQlzs4EK.js +4 -0
  75. package/dist/LazyImage-DBQklqeJ.js +163 -0
  76. package/dist/LazyImage-lv36coda.cjs +1 -0
  77. package/dist/LibraryRequests-BHAZPSUw.js +186 -0
  78. package/dist/LibraryRequests-DKCsJHbr.cjs +1 -0
  79. package/dist/LinkifyHelper-DPHYATPc.js +925 -0
  80. package/dist/LinkifyHelper-EOfbsqdi.cjs +4 -0
  81. package/dist/MasterTypeHelper-Y_SDsEUF.cjs +1 -0
  82. package/dist/MasterTypeHelper-uSKy6GZd.js +16 -0
  83. package/dist/MediaQueries-9caJ2eG6.js +4 -0
  84. package/dist/MediaQueries-CE9Kbs0e.cjs +1 -0
  85. package/dist/PartialLoadingHelper-D42uOdDd.cjs +1 -0
  86. package/dist/PartialLoadingHelper-DIas6hnM.js +29 -0
  87. package/dist/PermissionFilterOption-B-QrMVdA.js +4 -0
  88. package/dist/PermissionFilterOption-BIA__Q_O.cjs +1 -0
  89. package/dist/PillTabSelector-B5V2rqf0.js +64 -0
  90. package/dist/PillTabSelector-yR52s5ix.cjs +14 -0
  91. package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +362 -0
  92. package/dist/PreviewVideoDetails-DJXB4vV3.js +68337 -0
  93. package/dist/ProgramType-DHk-SlRZ.cjs +1 -0
  94. package/dist/ProgramType-FpE5cuZV.js +60 -0
  95. package/dist/RatingRequests-BNPZAxXm.cjs +1 -0
  96. package/dist/RatingRequests-Dr3w3-z8.js +11 -0
  97. package/dist/RedirectView-BK8yU-PU.js +22 -0
  98. package/dist/RedirectView-OEJhJrvf.cjs +1 -0
  99. package/dist/RestrictionHelper-BSceJYz-.js +112 -0
  100. package/dist/RestrictionHelper-C5u_CmoL.cjs +1 -0
  101. package/dist/ScrollHelper-Dg7bDIH7.js +10 -0
  102. package/dist/ScrollHelper-ESsjtyv8.cjs +1 -0
  103. package/dist/SearchFilters-C_yEnumc.js +3046 -0
  104. package/dist/SearchFilters-D3fLjseM.cjs +1 -0
  105. package/dist/SearchSvg-BB6oXs1v.js +13 -0
  106. package/dist/SearchSvg-BU6G1Fs0.cjs +1 -0
  107. package/dist/SharedSearchHelper-BuVD-GvT.js +159 -0
  108. package/dist/SharedSearchHelper-D5GJJwW7.cjs +1 -0
  109. package/dist/TagItem-BBc3HmnI.cjs +1 -0
  110. package/dist/TagItem-BFnSikAz.js +1125 -0
  111. package/dist/TvAdFreeBadge-BDFn2ujd.js +11 -0
  112. package/dist/TvAdFreeBadge-X2iSf6B3.cjs +1 -0
  113. package/dist/TvAdFreeRequestView-CEAvozfO.js +46 -0
  114. package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +1 -0
  115. package/dist/TvAddView-Bv12wfX7.js +276 -0
  116. package/dist/TvAddView-CA7Yappn.cjs +1 -0
  117. package/dist/TvAlreadyAddedView-C240rLQ7.js +56 -0
  118. package/dist/TvAlreadyAddedView-X4KElzJA.cjs +1 -0
  119. package/dist/TvBroadcastContentView-DizJHvTQ.js +52 -0
  120. package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +1 -0
  121. package/dist/TvChannelBadge-B4a1wkQI.cjs +1 -0
  122. package/dist/TvChannelBadge-Doqs12s9.js +11 -0
  123. package/dist/TvChannelView-CSn0VleL.js +177 -0
  124. package/dist/TvChannelView-Ds_F3Mmp.cjs +1 -0
  125. package/dist/TvChannelsView-CM_T5E3j.js +171 -0
  126. package/dist/TvChannelsView-r3NO_BRv.cjs +1 -0
  127. package/dist/TvGuideView-B8vS-8lS.cjs +1 -0
  128. package/dist/TvGuideView-BLlQJiZ3.js +54 -0
  129. package/dist/TvHomeView-C_h4DZw_.cjs +1 -0
  130. package/dist/TvHomeView-CbNg8AyI.js +15 -0
  131. package/dist/TvPreviewView-DhXD3H__.js +114 -0
  132. package/dist/TvPreviewView-hGq7_Bzs.cjs +1 -0
  133. package/dist/TvProgramTimeBadge-BtQKNLz2.js +18 -0
  134. package/dist/TvProgramTimeBadge-DPJu73xG.cjs +1 -0
  135. package/dist/TvProgramsView-Ba9VPnEh.cjs +1 -0
  136. package/dist/TvProgramsView-DO4WnPJx.js +223 -0
  137. package/dist/TvRadioDownloadView-ByABG_YW.js +41 -0
  138. package/dist/TvRadioDownloadView-CitV60kZ.cjs +1 -0
  139. package/dist/TvRequestProgramView-CYc5nAEt.cjs +1 -0
  140. package/dist/TvRequestProgramView-Dm5Bra4d.js +267 -0
  141. package/dist/TvRequests-Bcy68aT5.js +227 -0
  142. package/dist/TvRequests-l_Xv-rcr.cjs +1 -0
  143. package/dist/TvSearchBar-5J6420z2.cjs +1 -0
  144. package/dist/TvSearchBar-KZqcg7G0.js +95 -0
  145. package/dist/TvSearchResultsView-BTONTtMg.cjs +1 -0
  146. package/dist/TvSearchResultsView-CMsq8ehS.js +212 -0
  147. package/dist/TvTabs-CrQVKuod.js +88 -0
  148. package/dist/TvTabs-JuCI2Ea7.cjs +1 -0
  149. package/dist/TypeHelper-Dt2Y9Wc4.js +14 -0
  150. package/dist/TypeHelper-Z2rqPzup.cjs +1 -0
  151. package/dist/UseAlerts-B2BbQeN3.js +39 -0
  152. package/dist/UseAlerts-pIg83NsO.cjs +1 -0
  153. package/dist/UseFetchAll-BaDVJFdj.cjs +1 -0
  154. package/dist/UseFetchAll-DYGA8s5a.js +147 -0
  155. package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +1 -0
  156. package/dist/UseGetMediaQueryString-Dc_jP0rr.js +226 -0
  157. package/dist/UseHandleDialogError-BJHsOnKn.js +9 -0
  158. package/dist/UseHandleDialogError-PbyWsVaT.cjs +1 -0
  159. package/dist/UseHandleObjectError-CBFN1Ill.cjs +1 -0
  160. package/dist/UseHandleObjectError-DAhDbPEo.js +16 -0
  161. package/dist/UseHover-CLOLtbUV.cjs +1 -0
  162. package/dist/UseHover-Cc_d5rRf.js +85 -0
  163. package/dist/UseSelectAllPages-04737Rdu.cjs +1 -0
  164. package/dist/UseSelectAllPages-Cnk3MEAt.js +149 -0
  165. package/dist/VideoHelper-3AKe5Jyy.js +477 -0
  166. package/dist/VideoHelper-BQ7rWUw0.cjs +1 -0
  167. package/dist/VideoList-SNG1hmoL.cjs +49 -0
  168. package/dist/VideoList-s7lvSqSs.js +2622 -0
  169. package/dist/VideoRequests-CpDXl7E_.cjs +1 -0
  170. package/dist/VideoRequests-DlUeYLjl.js +225 -0
  171. package/dist/VideoSortSelect-3JfrvPfj.cjs +1 -0
  172. package/dist/VideoSortSelect-DS9Uvc-S.js +116 -0
  173. package/dist/VisibleOnSvg-BisjF586.cjs +1 -0
  174. package/dist/VisibleOnSvg-WDCQPPvV.js +33 -0
  175. package/dist/app-2U039aX_.js +67680 -0
  176. package/dist/app-DcIbciDa.cjs +454 -0
  177. package/dist/app.js +1 -0
  178. package/dist/en.json +1 -0
  179. package/dist/exchange.css +1 -0
  180. package/dist/getRegionInfo-B_h_jjAy.js +31 -0
  181. package/dist/getRegionInfo-Bs5JKG7h.cjs +1 -0
  182. package/dist/index-CGkY5YVS.cjs +1 -0
  183. package/dist/index-DUgR-v-j.js +885 -0
  184. package/dist/toLocalTime-Bt8Uy4Kq.js +15 -0
  185. package/dist/toLocalTime-DF9SIfIt.cjs +1 -0
  186. package/dist/useBreakpoints-37V489ap.js +66 -0
  187. package/dist/useBreakpoints-B-bcgx-L.cjs +1 -0
  188. package/dist/useGetExchangeActions-BwXrBSH-.cjs +1 -0
  189. package/dist/useGetExchangeActions-C8Y1FNSl.js +176 -0
  190. package/dist/useGetTvActions-CmEBdHbw.cjs +1 -0
  191. package/dist/useGetTvActions-DENrO3wZ.js +54 -0
  192. package/dist/useHandleRegionError-BNRrs6y8.cjs +1 -0
  193. package/dist/useHandleRegionError-BNxhNPKP.js +10 -0
  194. package/dist/usePreviewContext--ihfEi4P.js +14 -0
  195. package/dist/usePreviewContext-DjpFhe3I.cjs +1 -0
  196. package/dist/useSelectedRegion-7_2s4QQF.js +16 -0
  197. package/dist/useSelectedRegion-D3Xsu2Ut.cjs +1 -0
  198. package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +1 -0
  199. package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +57 -0
  200. package/package.json +12 -3
  201. package/typings/utils/imports.d.ts +1 -1
  202. package/vite-i18n-plugin.ts +113 -0
  203. package/vite.config.ts +59 -0
  204. package/dist/bundles.json +0 -4
  205. package/dist/css/137-exchange-8c1b8716b3.chunk.css +0 -25
  206. package/dist/css/212-exchange-d71527fc65.chunk.css +0 -1
  207. package/dist/css/226-exchange-9ab9f14b3c.chunk.css +0 -57
  208. package/dist/css/291-exchange-be9d9f0cdb.chunk.css +0 -11
  209. package/dist/css/298-exchange-78ece5c7c5.chunk.css +0 -37
  210. package/dist/css/332-exchange-e4754ae27a.chunk.css +0 -1
  211. package/dist/css/489-exchange-6ecb1e7adc.chunk.css +0 -85
  212. package/dist/css/494-exchange-02d7a0249c.chunk.css +0 -2
  213. package/dist/css/522-exchange-1387f35e92.chunk.css +0 -14
  214. package/dist/css/538-exchange-4cbfe56ba3.chunk.css +0 -1
  215. package/dist/css/589-exchange-fa098d9131.chunk.css +0 -11
  216. package/dist/css/611-exchange-cbf2bb5621.chunk.css +0 -5
  217. package/dist/css/669-exchange-e80e6c6649.chunk.css +0 -10
  218. package/dist/css/68-exchange-b5eaf8af44.chunk.css +0 -35
  219. package/dist/css/75-exchange-6d2304419c.chunk.css +0 -5
  220. package/dist/css/759-exchange-23bb5dd175.chunk.css +0 -8
  221. package/dist/css/858-exchange-06944bdfa4.chunk.css +0 -1
  222. package/dist/css/904-exchange-0eab318199.chunk.css +0 -40
  223. package/dist/css/95-exchange-4cbfe56ba3.chunk.css +0 -1
  224. package/dist/css/lite-exchange-ed6bd260c5.css +0 -14
  225. package/dist/languages/en.json +0 -1
  226. package/dist/scripts/117-e2b3dd7f3e-exchange.chunk.js +0 -1
  227. package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +0 -1
  228. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +0 -2
  229. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +0 -1
  230. package/dist/scripts/137-51b4dab452-exchange.chunk.js +0 -1
  231. package/dist/scripts/156-847dae6ace-exchange.chunk.js +0 -1
  232. package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +0 -1
  233. package/dist/scripts/173-3668db114a-exchange.chunk.js +0 -1
  234. package/dist/scripts/212-6ed71b2797-exchange.chunk.js +0 -1
  235. package/dist/scripts/226-889bef8e6c-exchange.chunk.js +0 -1
  236. package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +0 -1
  237. package/dist/scripts/291-7e85a6e844-exchange.chunk.js +0 -1
  238. package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +0 -1
  239. package/dist/scripts/312-69afcbbc39-exchange.chunk.js +0 -1
  240. package/dist/scripts/325-76baea117f-exchange.chunk.js +0 -1
  241. package/dist/scripts/332-08d48debc2-exchange.chunk.js +0 -1
  242. package/dist/scripts/414-567e121c75-exchange.chunk.js +0 -2
  243. package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +0 -60
  244. package/dist/scripts/442-fcba36183d-exchange.chunk.js +0 -1
  245. package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
  246. package/dist/scripts/484-08c82c5a88-exchange.chunk.js +0 -1
  247. package/dist/scripts/489-be60742399-exchange.chunk.js +0 -2
  248. package/dist/scripts/489-be60742399-exchange.chunk.js.LICENSE.txt +0 -1
  249. package/dist/scripts/494-abba46b945-exchange.chunk.js +0 -2
  250. package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +0 -1
  251. package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +0 -1
  252. package/dist/scripts/522-ce819dee18-exchange.chunk.js +0 -2
  253. package/dist/scripts/522-ce819dee18-exchange.chunk.js.LICENSE.txt +0 -1
  254. package/dist/scripts/536-b915864d5f-exchange.chunk.js +0 -1
  255. package/dist/scripts/538-ccc01a623f-exchange.chunk.js +0 -2
  256. package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +0 -1
  257. package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +0 -1
  258. package/dist/scripts/589-17d73ab116-exchange.chunk.js +0 -1
  259. package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
  260. package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +0 -1
  261. package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +0 -1
  262. package/dist/scripts/648-485af12c37-exchange.chunk.js +0 -1
  263. package/dist/scripts/659-d08f206e1d-exchange.chunk.js +0 -1
  264. package/dist/scripts/669-a49a0838ff-exchange.chunk.js +0 -1
  265. package/dist/scripts/68-34b81dae8c-exchange.chunk.js +0 -1
  266. package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +0 -1
  267. package/dist/scripts/726-868a877381-exchange.chunk.js +0 -1
  268. package/dist/scripts/75-9780e4300e-exchange.chunk.js +0 -1
  269. package/dist/scripts/759-f1a9db4868-exchange.chunk.js +0 -1
  270. package/dist/scripts/782-2c340d8404-exchange.chunk.js +0 -1
  271. package/dist/scripts/831-8808647fc7-exchange.chunk.js +0 -1
  272. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +0 -2
  273. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +0 -1
  274. package/dist/scripts/858-70085ed3b1-exchange.chunk.js +0 -1
  275. package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +0 -1
  276. package/dist/scripts/87-d569a1463e-exchange.chunk.js +0 -1
  277. package/dist/scripts/877-5b357aeb63-exchange.chunk.js +0 -1
  278. package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +0 -1
  279. package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +0 -1
  280. package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +0 -1
  281. package/dist/scripts/95-841a847f54-exchange.chunk.js +0 -2
  282. package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +0 -1
  283. package/dist/scripts/bundle-26830afcc1.min.js +0 -2
  284. package/dist/scripts/bundle-26830afcc1.min.js.LICENSE.txt +0 -108
@@ -0,0 +1 @@
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;
@@ -0,0 +1,60 @@
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
+ };
@@ -0,0 +1 @@
1
+ "use strict";const t={ratings(){return{url:"/api/domain/v2/me/ratings",key:"ratings"}}};exports.RatingRequests=t;
@@ -0,0 +1,11 @@
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
+ };
@@ -0,0 +1,22 @@
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
+ };
@@ -0,0 +1 @@
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;
@@ -0,0 +1,112 @@
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
+ };
@@ -0,0 +1 @@
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;
@@ -0,0 +1,10 @@
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
+ };
@@ -0,0 +1 @@
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;