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

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 (333) hide show
  1. package/dist/bundles.json +4 -0
  2. package/dist/css/Actions-BPdg7JW4.css +1 -0
  3. package/dist/css/AddToLibraryView-BBV1d-ZI.css +1 -0
  4. package/dist/css/Caret-C2R4QydJ.css +1 -0
  5. package/dist/css/ExchangeSearchBar-DL_jCfRl.css +1 -0
  6. package/dist/css/ExchangeSearchResultsView-fap4f8w8.css +1 -0
  7. package/dist/css/FormField-CY0yvCW4.css +1 -0
  8. package/dist/css/GiveFeedbackView-CifDVjr-.css +1 -0
  9. package/dist/css/IconCircle-jbMisi9r.css +1 -0
  10. package/dist/css/LazyImage-CC5F5C8O.css +1 -0
  11. package/dist/css/LinkifyHelper-DI4l_5OJ.css +1 -0
  12. package/dist/css/PillTabSelector-DlOtoSz0.css +1 -0
  13. package/dist/css/PreviewVideoDetails-CLoNhAp2.css +1 -0
  14. package/dist/css/ProgramType-B57G3PZD.css +1 -0
  15. package/dist/css/RestrictionHelper-BiRz4h1c.css +1 -0
  16. package/dist/css/SearchFilters-DKLFGlDI.css +1 -0
  17. package/dist/css/TagItem-DD13UQOa.css +1 -0
  18. package/dist/css/TvAdFreeBadge-DnhNnDZN.css +1 -0
  19. package/dist/css/TvAddView-fs02hBfZ.css +1 -0
  20. package/dist/css/TvAlreadyAddedView-Dkh6sNpi.css +1 -0
  21. package/dist/css/TvBroadcastContentView-CDiJwtuL.css +1 -0
  22. package/dist/css/TvChannelBadge-BDOTXlob.css +1 -0
  23. package/dist/css/TvChannelView-DRlDmMhN.css +1 -0
  24. package/dist/css/TvChannelsView-w4TLT4f5.css +1 -0
  25. package/dist/css/TvProgramTimeBadge-zFa1fH-z.css +1 -0
  26. package/dist/css/TvProgramsView-Bt3pBBLn.css +1 -0
  27. package/dist/css/TvSearchBar-Ci6HCTb5.css +1 -0
  28. package/dist/css/TvSearchResultsView-DGyCCqtO.css +1 -0
  29. package/dist/css/UseFetchAll-BIeUeS4h.css +1 -0
  30. package/dist/css/UseGetMediaQueryString-CrSv-tYo.css +1 -0
  31. package/dist/css/UseSelectAllPages-C7XoyEPr.css +1 -0
  32. package/dist/css/VideoList-DJ07F3NX.css +1 -0
  33. package/dist/{exchange.css → css/app-B9KW71K5.css} +1 -1
  34. package/dist/css/useBreakpoints-CCsCPLDG.css +1 -0
  35. package/dist/en.json +1 -1
  36. package/dist/scripts/Actions-DU6xcKNt.js +1 -0
  37. package/dist/scripts/AddToLibraryView-BbpiFnD1.js +1 -0
  38. package/dist/scripts/Badge-kRGAgSgq.js +1 -0
  39. package/dist/scripts/BadgeListContainer-B-qdl_Qj.js +1 -0
  40. package/dist/scripts/ButtonGroup-Pz8uSjml.js +1 -0
  41. package/dist/scripts/Caret-BRrDlj-2.js +1 -0
  42. package/dist/scripts/ChevronDownSvg-PWL_4rOb.js +1 -0
  43. package/dist/scripts/ClassNameHelper-C1RD6ZYU.js +1 -0
  44. package/dist/scripts/CloseSvg-MoBnROf1.js +1 -0
  45. package/dist/scripts/CurationStatus-BlDVEZsX.js +1 -0
  46. package/dist/scripts/DevErrorView-CK5-Rxy-.js +1 -0
  47. package/dist/scripts/DialogView-im7-qx9i.js +1 -0
  48. package/dist/scripts/DownloadHelper-tNp3R89-.js +1 -0
  49. package/dist/scripts/DownloadVideoView-Dcsxo22U.js +1 -0
  50. package/dist/scripts/DragDropMoveWrapper-Dsd-8vE3.js +1 -0
  51. package/dist/scripts/ExchangeAddView-CwHPqfoQ.js +1 -0
  52. package/dist/scripts/ExchangeFolderView-BpMNAmMQ.js +1 -0
  53. package/dist/scripts/ExchangeMostRecentView-DQH8FDqI.js +1 -0
  54. package/dist/scripts/ExchangeNotFoundView-BxjMr4v3.js +1 -0
  55. package/dist/scripts/ExchangePreviewView-Od2pV8fa.js +1 -0
  56. package/dist/scripts/ExchangeRequests-CaMKspLi.js +1 -0
  57. package/dist/scripts/ExchangeSearchBar-BetVWbNL.js +1 -0
  58. package/dist/scripts/ExchangeSearchResultsView-GbfK9RDh.js +2 -0
  59. package/dist/scripts/ExchangeSeriesView-b1ayep0S.js +1 -0
  60. package/dist/scripts/ExchangeSuggestEditView-3CoGs1xA.js +1 -0
  61. package/dist/scripts/ExchangeTabs-CQC3f-18.js +1 -0
  62. package/dist/scripts/ExchangeUtils-BXtQ6ui-.js +1 -0
  63. package/dist/scripts/ExchangeView-DCrYAO5x.js +1 -0
  64. package/dist/scripts/FormButtons-Bgi1UFwH.js +1 -0
  65. package/dist/scripts/FormFeedback-CSSo249E.js +1 -0
  66. package/dist/scripts/FormField-BefWo_kh.js +5 -0
  67. package/dist/scripts/GiveFeedbackView-C05VDJBO.js +7 -0
  68. package/dist/scripts/GroupSvg-CF5_JUEf.js +1 -0
  69. package/dist/scripts/HardCoded-NS2B_WZd.js +1 -0
  70. package/dist/scripts/HttpErrorHandlers-CXQ82gVO.js +1 -0
  71. package/dist/scripts/IconCircle-Bl2iLV5f.js +1 -0
  72. package/dist/scripts/InstanceRegion-CJ3oIQlG.js +1 -0
  73. package/dist/scripts/LazyImage-BuPwkT8t.js +1 -0
  74. package/dist/scripts/LibraryRequests-CIFsh_TC.js +1 -0
  75. package/dist/scripts/LinkifyHelper-DXhtCX0t.js +4 -0
  76. package/dist/scripts/MasterTypeHelper-C89Dh71u.js +1 -0
  77. package/dist/scripts/MediaQueries-_sYSSSUN.js +1 -0
  78. package/dist/scripts/PartialLoadingHelper-jX9dOBvb.js +1 -0
  79. package/dist/scripts/PermissionFilterOption-pkzD5BEm.js +1 -0
  80. package/dist/scripts/PillTabSelector-0Eg1sgXj.js +14 -0
  81. package/dist/scripts/PreviewVideoDetails-DYcfSG9C.js +362 -0
  82. package/dist/scripts/ProgramType-ClR23Av6.js +1 -0
  83. package/dist/scripts/RatingRequests-DE77YS3s.js +1 -0
  84. package/dist/scripts/RedirectView-Bd2ocWHW.js +1 -0
  85. package/dist/scripts/RestrictionHelper-FFW66EYt.js +1 -0
  86. package/dist/scripts/ScrollHelper-DdBBQJML.js +1 -0
  87. package/dist/scripts/SearchFilters-FlVReO0V.js +1 -0
  88. package/dist/scripts/SearchSvg-BVG6NbDK.js +1 -0
  89. package/dist/scripts/SharedSearchHelper-OTwt6mVX.js +1 -0
  90. package/dist/scripts/TagItem-D-T5Jgxc.js +1 -0
  91. package/dist/scripts/TvAdFreeBadge-CK6vQXKI.js +1 -0
  92. package/dist/scripts/TvAdFreeRequestView-DI72pb_f.js +1 -0
  93. package/dist/scripts/TvAddView-B1D9QlK5.js +1 -0
  94. package/dist/scripts/TvAlreadyAddedView-DFqGZwQO.js +1 -0
  95. package/dist/scripts/TvBroadcastContentView-BdIK-pK2.js +1 -0
  96. package/dist/scripts/TvChannelBadge-pBwnbFcb.js +1 -0
  97. package/dist/scripts/TvChannelView-fMD7YYjb.js +1 -0
  98. package/dist/scripts/TvChannelsView-eH68B1en.js +1 -0
  99. package/dist/scripts/TvGuideView-CTuQRLzy.js +1 -0
  100. package/dist/scripts/TvHomeView-B_wgL0pd.js +1 -0
  101. package/dist/scripts/TvPreviewView-DG7HOmV0.js +1 -0
  102. package/dist/scripts/TvProgramTimeBadge-spEPk9Ci.js +1 -0
  103. package/dist/scripts/TvProgramsView-CIGHzdBW.js +1 -0
  104. package/dist/scripts/TvRadioDownloadView-BBjF31yx.js +1 -0
  105. package/dist/scripts/TvRequestProgramView-D4tAgJGb.js +1 -0
  106. package/dist/scripts/TvRequests-DGpJhsk0.js +1 -0
  107. package/dist/scripts/TvSearchBar-DeJpQCLg.js +1 -0
  108. package/dist/scripts/TvSearchResultsView-C2maqf2-.js +1 -0
  109. package/dist/scripts/TvTabs-CwSo_jRg.js +1 -0
  110. package/dist/scripts/TypeHelper-B668bf5B.js +1 -0
  111. package/dist/scripts/UseAlerts-CvkkojNb.js +1 -0
  112. package/dist/scripts/UseFetchAll-gFCX5FgS.js +1 -0
  113. package/dist/scripts/UseGetMediaQueryString-CtMZxiJN.js +1 -0
  114. package/dist/scripts/UseHandleDialogError-DyBOBdQw.js +1 -0
  115. package/dist/scripts/UseHandleObjectError-BX2Mxo9Q.js +1 -0
  116. package/dist/scripts/UseHover-CvNCFvZV.js +1 -0
  117. package/dist/scripts/UseSelectAllPages-lGahuUoo.js +1 -0
  118. package/dist/scripts/VideoHelper-CCZMG1XL.js +1 -0
  119. package/dist/scripts/VideoList-DqqHxoXh.js +49 -0
  120. package/dist/scripts/VideoRequests-vwphYsR4.js +1 -0
  121. package/dist/scripts/VideoSortSelect-DVdIHmhA.js +1 -0
  122. package/dist/scripts/VisibleOnSvg-BuD3Reup.js +1 -0
  123. package/dist/scripts/app-Lrh8TPTe.js +147 -0
  124. package/dist/scripts/getRegionInfo-BBAErHX7.js +1 -0
  125. package/dist/scripts/index-C9eYzTFT.js +1 -0
  126. package/dist/scripts/toLocalTime-pPGBAyPL.js +1 -0
  127. package/dist/scripts/useBreakpoints-BALX55hP.js +1 -0
  128. package/dist/scripts/useGetExchangeActions-BtGC0q85.js +1 -0
  129. package/dist/scripts/useGetTvActions-Cx_DXvlg.js +1 -0
  130. package/dist/scripts/useHandleRegionError-CaGlG48W.js +1 -0
  131. package/dist/scripts/usePreviewContext-B5fK7PxW.js +1 -0
  132. package/dist/scripts/useSelectedRegion-h9Rl12Z2.js +1 -0
  133. package/dist/scripts/useVerifiedEmailRequiredErrorHandler-BON6gc7P.js +1 -0
  134. package/package.json +1 -1
  135. package/vite-bundle-manifest.ts +41 -0
  136. package/vite.config.ts +22 -7
  137. package/dist/Actions-BtMRNMuv.cjs +0 -1
  138. package/dist/Actions-DfeKDy3k.js +0 -178
  139. package/dist/AddToLibraryView-BoCLtcWV.js +0 -508
  140. package/dist/AddToLibraryView-MpkcVgoR.cjs +0 -1
  141. package/dist/Badge-3MW5GacP.cjs +0 -1
  142. package/dist/Badge-Ddz0Il5v.js +0 -326
  143. package/dist/BadgeListContainer-CqwUuWKL.js +0 -19
  144. package/dist/BadgeListContainer-DLrBuDpU.cjs +0 -1
  145. package/dist/ButtonGroup-C-z2yWvb.cjs +0 -1
  146. package/dist/ButtonGroup-zaxEq7ZK.js +0 -24
  147. package/dist/Caret-Cpx0uvJ0.js +0 -36
  148. package/dist/Caret-Dgjy7YHO.cjs +0 -1
  149. package/dist/ChevronDownSvg-BI6xUNrZ.cjs +0 -1
  150. package/dist/ChevronDownSvg-BfijmId7.js +0 -13
  151. package/dist/ClassNameHelper-aJ0BDnVo.js +0 -29
  152. package/dist/ClassNameHelper-n4BHW-GR.cjs +0 -1
  153. package/dist/CloseSvg-2PKjla1T.js +0 -13
  154. package/dist/CloseSvg-B7rizkGp.cjs +0 -1
  155. package/dist/CurationStatus-BGjsO3l8.cjs +0 -1
  156. package/dist/CurationStatus-DZn3C9Qe.js +0 -4
  157. package/dist/DevErrorView-Bg1Ufy6-.js +0 -79
  158. package/dist/DevErrorView-CpXfV0V4.cjs +0 -1
  159. package/dist/DialogView-B5FEh3e8.cjs +0 -1
  160. package/dist/DialogView-RcNOylD7.js +0 -22
  161. package/dist/DownloadHelper-ChKHN-Le.cjs +0 -1
  162. package/dist/DownloadHelper-dL46n0Kq.js +0 -32
  163. package/dist/DownloadVideoView-CvDFi8HI.cjs +0 -1
  164. package/dist/DownloadVideoView-HSnwAYLp.js +0 -32
  165. package/dist/DragDropMoveWrapper-B_dy7ady.cjs +0 -1
  166. package/dist/DragDropMoveWrapper-TdzJqiqv.js +0 -462
  167. package/dist/ExchangeAddView-BRLjRe3p.js +0 -63
  168. package/dist/ExchangeAddView-CWfp5W52.cjs +0 -1
  169. package/dist/ExchangeFolderView-4ArEcQvn.js +0 -159
  170. package/dist/ExchangeFolderView-_ldS0uwf.cjs +0 -1
  171. package/dist/ExchangeMostRecentView-BMAosIXz.js +0 -61
  172. package/dist/ExchangeMostRecentView-s1iLfclz.cjs +0 -1
  173. package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +0 -1
  174. package/dist/ExchangeNotFoundView-Cb-rmQH1.js +0 -7
  175. package/dist/ExchangePreviewView-hztBChIE.js +0 -82
  176. package/dist/ExchangePreviewView-kjDv-uqf.cjs +0 -1
  177. package/dist/ExchangeRequests-B3wRfv5Y.cjs +0 -1
  178. package/dist/ExchangeRequests-DV7BD3HZ.js +0 -115
  179. package/dist/ExchangeSearchBar-CNtU_swT.js +0 -32
  180. package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +0 -1
  181. package/dist/ExchangeSearchResultsView-CEueb9Li.js +0 -1641
  182. package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +0 -2
  183. package/dist/ExchangeSeriesView-BGBgwgMW.cjs +0 -1
  184. package/dist/ExchangeSeriesView-DMr_mCAH.js +0 -143
  185. package/dist/ExchangeSuggestEditView-B3P-nGFE.js +0 -307
  186. package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +0 -1
  187. package/dist/ExchangeTabs-CrA22PjN.js +0 -46
  188. package/dist/ExchangeTabs-KgrROs1d.cjs +0 -1
  189. package/dist/ExchangeUtils-BRDE3b9w.cjs +0 -1
  190. package/dist/ExchangeUtils-CCCrn5oQ.js +0 -65
  191. package/dist/ExchangeView-Cui4zZ4D.js +0 -30
  192. package/dist/ExchangeView-Dql8pHzi.cjs +0 -1
  193. package/dist/FormButtons-CDOsf9A-.cjs +0 -1
  194. package/dist/FormButtons-fQkvwYsy.js +0 -20
  195. package/dist/FormFeedback-5Dd3bMCl.js +0 -7
  196. package/dist/FormFeedback-BU7vSBqB.cjs +0 -1
  197. package/dist/FormField-Cb2l2GMO.cjs +0 -5
  198. package/dist/FormField-DYeERWxm.js +0 -3353
  199. package/dist/GiveFeedbackView-0tH6h1s3.js +0 -5436
  200. package/dist/GiveFeedbackView-DirGDc2a.cjs +0 -7
  201. package/dist/GroupSvg-BmwXO6yT.js +0 -53
  202. package/dist/GroupSvg-DVAq4iNX.cjs +0 -1
  203. package/dist/HardCoded-25AFj2sZ.js +0 -51
  204. package/dist/HardCoded-BbbeCQNt.cjs +0 -1
  205. package/dist/HttpErrorHandlers-CBhvfsvb.cjs +0 -1
  206. package/dist/HttpErrorHandlers-DKqNIMOg.js +0 -76
  207. package/dist/IconCircle-BVHFUBGt.cjs +0 -1
  208. package/dist/IconCircle-CxFLsbLY.js +0 -26
  209. package/dist/InstanceRegion-C7aJEkFV.cjs +0 -1
  210. package/dist/InstanceRegion-DQlzs4EK.js +0 -4
  211. package/dist/LazyImage-DBQklqeJ.js +0 -163
  212. package/dist/LazyImage-lv36coda.cjs +0 -1
  213. package/dist/LibraryRequests-BHAZPSUw.js +0 -186
  214. package/dist/LibraryRequests-DKCsJHbr.cjs +0 -1
  215. package/dist/LinkifyHelper-DPHYATPc.js +0 -925
  216. package/dist/LinkifyHelper-EOfbsqdi.cjs +0 -4
  217. package/dist/MasterTypeHelper-Y_SDsEUF.cjs +0 -1
  218. package/dist/MasterTypeHelper-uSKy6GZd.js +0 -16
  219. package/dist/MediaQueries-9caJ2eG6.js +0 -4
  220. package/dist/MediaQueries-CE9Kbs0e.cjs +0 -1
  221. package/dist/PartialLoadingHelper-D42uOdDd.cjs +0 -1
  222. package/dist/PartialLoadingHelper-DIas6hnM.js +0 -29
  223. package/dist/PermissionFilterOption-B-QrMVdA.js +0 -4
  224. package/dist/PermissionFilterOption-BIA__Q_O.cjs +0 -1
  225. package/dist/PillTabSelector-B5V2rqf0.js +0 -64
  226. package/dist/PillTabSelector-yR52s5ix.cjs +0 -14
  227. package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +0 -362
  228. package/dist/PreviewVideoDetails-DJXB4vV3.js +0 -68337
  229. package/dist/ProgramType-DHk-SlRZ.cjs +0 -1
  230. package/dist/ProgramType-FpE5cuZV.js +0 -60
  231. package/dist/RatingRequests-BNPZAxXm.cjs +0 -1
  232. package/dist/RatingRequests-Dr3w3-z8.js +0 -11
  233. package/dist/RedirectView-BK8yU-PU.js +0 -22
  234. package/dist/RedirectView-OEJhJrvf.cjs +0 -1
  235. package/dist/RestrictionHelper-BSceJYz-.js +0 -112
  236. package/dist/RestrictionHelper-C5u_CmoL.cjs +0 -1
  237. package/dist/ScrollHelper-Dg7bDIH7.js +0 -10
  238. package/dist/ScrollHelper-ESsjtyv8.cjs +0 -1
  239. package/dist/SearchFilters-C_yEnumc.js +0 -3046
  240. package/dist/SearchFilters-D3fLjseM.cjs +0 -1
  241. package/dist/SearchSvg-BB6oXs1v.js +0 -13
  242. package/dist/SearchSvg-BU6G1Fs0.cjs +0 -1
  243. package/dist/SharedSearchHelper-BuVD-GvT.js +0 -159
  244. package/dist/SharedSearchHelper-D5GJJwW7.cjs +0 -1
  245. package/dist/TagItem-BBc3HmnI.cjs +0 -1
  246. package/dist/TagItem-BFnSikAz.js +0 -1125
  247. package/dist/TvAdFreeBadge-BDFn2ujd.js +0 -11
  248. package/dist/TvAdFreeBadge-X2iSf6B3.cjs +0 -1
  249. package/dist/TvAdFreeRequestView-CEAvozfO.js +0 -46
  250. package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +0 -1
  251. package/dist/TvAddView-Bv12wfX7.js +0 -276
  252. package/dist/TvAddView-CA7Yappn.cjs +0 -1
  253. package/dist/TvAlreadyAddedView-C240rLQ7.js +0 -56
  254. package/dist/TvAlreadyAddedView-X4KElzJA.cjs +0 -1
  255. package/dist/TvBroadcastContentView-DizJHvTQ.js +0 -52
  256. package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +0 -1
  257. package/dist/TvChannelBadge-B4a1wkQI.cjs +0 -1
  258. package/dist/TvChannelBadge-Doqs12s9.js +0 -11
  259. package/dist/TvChannelView-CSn0VleL.js +0 -177
  260. package/dist/TvChannelView-Ds_F3Mmp.cjs +0 -1
  261. package/dist/TvChannelsView-CM_T5E3j.js +0 -171
  262. package/dist/TvChannelsView-r3NO_BRv.cjs +0 -1
  263. package/dist/TvGuideView-B8vS-8lS.cjs +0 -1
  264. package/dist/TvGuideView-BLlQJiZ3.js +0 -54
  265. package/dist/TvHomeView-C_h4DZw_.cjs +0 -1
  266. package/dist/TvHomeView-CbNg8AyI.js +0 -15
  267. package/dist/TvPreviewView-DhXD3H__.js +0 -114
  268. package/dist/TvPreviewView-hGq7_Bzs.cjs +0 -1
  269. package/dist/TvProgramTimeBadge-BtQKNLz2.js +0 -18
  270. package/dist/TvProgramTimeBadge-DPJu73xG.cjs +0 -1
  271. package/dist/TvProgramsView-Ba9VPnEh.cjs +0 -1
  272. package/dist/TvProgramsView-DO4WnPJx.js +0 -223
  273. package/dist/TvRadioDownloadView-ByABG_YW.js +0 -41
  274. package/dist/TvRadioDownloadView-CitV60kZ.cjs +0 -1
  275. package/dist/TvRequestProgramView-CYc5nAEt.cjs +0 -1
  276. package/dist/TvRequestProgramView-Dm5Bra4d.js +0 -267
  277. package/dist/TvRequests-Bcy68aT5.js +0 -227
  278. package/dist/TvRequests-l_Xv-rcr.cjs +0 -1
  279. package/dist/TvSearchBar-5J6420z2.cjs +0 -1
  280. package/dist/TvSearchBar-KZqcg7G0.js +0 -95
  281. package/dist/TvSearchResultsView-BTONTtMg.cjs +0 -1
  282. package/dist/TvSearchResultsView-CMsq8ehS.js +0 -212
  283. package/dist/TvTabs-CrQVKuod.js +0 -88
  284. package/dist/TvTabs-JuCI2Ea7.cjs +0 -1
  285. package/dist/TypeHelper-Dt2Y9Wc4.js +0 -14
  286. package/dist/TypeHelper-Z2rqPzup.cjs +0 -1
  287. package/dist/UseAlerts-B2BbQeN3.js +0 -39
  288. package/dist/UseAlerts-pIg83NsO.cjs +0 -1
  289. package/dist/UseFetchAll-BaDVJFdj.cjs +0 -1
  290. package/dist/UseFetchAll-DYGA8s5a.js +0 -147
  291. package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +0 -1
  292. package/dist/UseGetMediaQueryString-Dc_jP0rr.js +0 -226
  293. package/dist/UseHandleDialogError-BJHsOnKn.js +0 -9
  294. package/dist/UseHandleDialogError-PbyWsVaT.cjs +0 -1
  295. package/dist/UseHandleObjectError-CBFN1Ill.cjs +0 -1
  296. package/dist/UseHandleObjectError-DAhDbPEo.js +0 -16
  297. package/dist/UseHover-CLOLtbUV.cjs +0 -1
  298. package/dist/UseHover-Cc_d5rRf.js +0 -85
  299. package/dist/UseSelectAllPages-04737Rdu.cjs +0 -1
  300. package/dist/UseSelectAllPages-Cnk3MEAt.js +0 -149
  301. package/dist/VideoHelper-3AKe5Jyy.js +0 -477
  302. package/dist/VideoHelper-BQ7rWUw0.cjs +0 -1
  303. package/dist/VideoList-SNG1hmoL.cjs +0 -49
  304. package/dist/VideoList-s7lvSqSs.js +0 -2622
  305. package/dist/VideoRequests-CpDXl7E_.cjs +0 -1
  306. package/dist/VideoRequests-DlUeYLjl.js +0 -225
  307. package/dist/VideoSortSelect-3JfrvPfj.cjs +0 -1
  308. package/dist/VideoSortSelect-DS9Uvc-S.js +0 -116
  309. package/dist/VisibleOnSvg-BisjF586.cjs +0 -1
  310. package/dist/VisibleOnSvg-WDCQPPvV.js +0 -33
  311. package/dist/app-2U039aX_.js +0 -67680
  312. package/dist/app-DcIbciDa.cjs +0 -454
  313. package/dist/app.js +0 -1
  314. package/dist/getRegionInfo-B_h_jjAy.js +0 -31
  315. package/dist/getRegionInfo-Bs5JKG7h.cjs +0 -1
  316. package/dist/index-CGkY5YVS.cjs +0 -1
  317. package/dist/index-DUgR-v-j.js +0 -885
  318. package/dist/toLocalTime-Bt8Uy4Kq.js +0 -15
  319. package/dist/toLocalTime-DF9SIfIt.cjs +0 -1
  320. package/dist/useBreakpoints-37V489ap.js +0 -66
  321. package/dist/useBreakpoints-B-bcgx-L.cjs +0 -1
  322. package/dist/useGetExchangeActions-BwXrBSH-.cjs +0 -1
  323. package/dist/useGetExchangeActions-C8Y1FNSl.js +0 -176
  324. package/dist/useGetTvActions-CmEBdHbw.cjs +0 -1
  325. package/dist/useGetTvActions-DENrO3wZ.js +0 -54
  326. package/dist/useHandleRegionError-BNRrs6y8.cjs +0 -1
  327. package/dist/useHandleRegionError-BNxhNPKP.js +0 -10
  328. package/dist/usePreviewContext--ihfEi4P.js +0 -14
  329. package/dist/usePreviewContext-DjpFhe3I.cjs +0 -1
  330. package/dist/useSelectedRegion-7_2s4QQF.js +0 -16
  331. package/dist/useSelectedRegion-D3Xsu2Ut.cjs +0 -1
  332. package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +0 -1
  333. package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +0 -57
@@ -1,159 +0,0 @@
1
- import { j as e, ai as B, aj as c, ak as R, B as U, aa as q, ad as H, ac as M, ab as O, ah as G, a1 as f, l as z, al as D, am as Q, Q as Y, a3 as W, M as $, L as J } from "./app-2U039aX_.js";
2
- import { A as K } from "./Actions-DfeKDy3k.js";
3
- import { P as X, u as Z, F as _ } from "./UseFetchAll-DYGA8s5a.js";
4
- import { V as ee, u as se, a as te } from "./VideoList-s7lvSqSs.js";
5
- import { h as ae } from "./HttpErrorHandlers-DKqNIMOg.js";
6
- import { L as j } from "./LibraryRequests-BHAZPSUw.js";
7
- import { u as re } from "./UseAlerts-B2BbQeN3.js";
8
- import { u as oe, a as ne } from "./useGetExchangeActions-C8Y1FNSl.js";
9
- import { u as ie } from "./UseHandleObjectError-DAhDbPEo.js";
10
- import { P as b, I as de, u as ce } from "./UseGetMediaQueryString-Dc_jP0rr.js";
11
- import { E as le } from "./ExchangeSearchBar-CNtU_swT.js";
12
- import { E as me } from "./ExchangeTabs-CrA22PjN.js";
13
- import { E as ue } from "./ExchangeRequests-DV7BD3HZ.js";
14
- import { a as he, u as xe, g as p } from "./ExchangeUtils-CCCrn5oQ.js";
15
- import { B as ge, V as fe, P as je } from "./VideoSortSelect-DS9Uvc-S.js";
16
- const pe = "exchange.exchangeFolderEmptyState";
17
- function be() {
18
- return /* @__PURE__ */ e.jsx(B.Provider, { value: pe, children: /* @__PURE__ */ e.jsxs(c, { children: [
19
- /* @__PURE__ */ e.jsx(c.Image, { src: R.EmptyStates.FOLDER }),
20
- /* @__PURE__ */ e.jsx(c.Heading, { children: /* @__PURE__ */ e.jsx(U, { phrase: "heading" }) })
21
- ] }) });
22
- }
23
- function Fe(s) {
24
- var r;
25
- return !((r = s.videos) != null && r.length) && !s.isFetching ? /* @__PURE__ */ e.jsx(be, {}) : /* @__PURE__ */ e.jsxs("div", { children: [
26
- /* @__PURE__ */ e.jsxs("div", { className: "d-flex justify-content-between align-items-center mb-2", children: [
27
- /* @__PURE__ */ e.jsx(ge, { breadcrumbs: s.breadcrumbs }),
28
- /* @__PURE__ */ e.jsx(
29
- fe,
30
- {
31
- variant: "outline-dark",
32
- type: s.sort,
33
- getSortAppLink: s.getSortAppLink,
34
- analyticsOptions: {
35
- location: O.VideoListHeader,
36
- entity: M.Video,
37
- actionType: H.Sort,
38
- workflowPhase: q.Complete
39
- },
40
- includeProductionYear: !0
41
- }
42
- )
43
- ] }),
44
- s.videos ? /* @__PURE__ */ e.jsx(
45
- ee,
46
- {
47
- videos: s.videos,
48
- getVideoAppLink: he,
49
- presentationAudiences: null,
50
- getPreviewQuestionsAppLink: () => null,
51
- hasPermissions: () => !1,
52
- hideVideoGuidance: !0,
53
- commonVideoProps: s.commonVideoProps
54
- }
55
- ) : /* @__PURE__ */ e.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ e.jsx(b, {}) }),
56
- (s.hasMore || s.isFetching) && /* @__PURE__ */ e.jsx(
57
- de,
58
- {
59
- isFetching: s.isFetching,
60
- fetchNext: s.fetchNext,
61
- nextCursor: s.nextCursor
62
- }
63
- )
64
- ] });
65
- }
66
- function Se() {
67
- return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
68
- /* @__PURE__ */ e.jsx(
69
- "div",
70
- {
71
- className: "partial-loading-background h2 mb-3 w-25",
72
- children: " "
73
- }
74
- ),
75
- /* @__PURE__ */ e.jsx("div", { className: "mt-1 mb-2", children: /* @__PURE__ */ e.jsx(X, {}) }),
76
- /* @__PURE__ */ e.jsxs("div", { className: "mb-3", children: [
77
- /* @__PURE__ */ e.jsx("div", { className: "mb-3", children: /* @__PURE__ */ e.jsx(je, {}) }),
78
- /* @__PURE__ */ e.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ e.jsx(b, {}) })
79
- ] })
80
- ] });
81
- }
82
- const ve = "exchange.exchangeFolder", Le = J.encloseNamespace(ve);
83
- function He(s) {
84
- var x, g;
85
- const r = G(), F = re(), i = f(W.currentUser()), a = f(j.folder(s.folderId)), { isUserCurator: S, openInCurationStudioLabel: v, getOpenInCurationStudioLink: L } = oe(), l = (t) => j.childFolders(a.data.id, t), E = (t) => r(l(t)), o = Z(a.data && l, E);
86
- z({ title: (x = a.data) == null ? void 0 : x.name }), ie([a]);
87
- const { commonVideoProps: N } = se(), d = !!i.data && D.getOrSetSortType(i.data.id, s.sort, Q.ProductionYear), {
88
- items: n,
89
- hasMore: P,
90
- isFetching: V,
91
- nextCursor: C
92
- } = ce(m, u, A);
93
- function m(t) {
94
- return ue.folderVideos(s.folderId, d, t);
95
- }
96
- function u(t) {
97
- return r(m(t));
98
- }
99
- function A(t, T) {
100
- if (t === 1)
101
- return ae(T);
102
- F.error(Le("error"));
103
- }
104
- function y() {
105
- return S ? [
106
- {
107
- label: v,
108
- openInNewTab: !0,
109
- href: L($.Category, a.data.id)
110
- }
111
- ] : [];
112
- }
113
- const k = xe(s.folderId, s.sort), I = ne("video-list"), h = ((g = o == null ? void 0 : o.items) == null ? void 0 : g.length) > 0, w = a.hasCompleted && i.hasCompleted && o.hasCompleted;
114
- return /* @__PURE__ */ e.jsxs(te.Provider, { value: I, children: [
115
- /* @__PURE__ */ e.jsxs("div", { className: "mb-3", children: [
116
- /* @__PURE__ */ e.jsx(le, {}),
117
- /* @__PURE__ */ e.jsx(me, { active: "categories" })
118
- ] }),
119
- w ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
120
- a.data && /* @__PURE__ */ e.jsxs("div", { className: "d-flex mb-3", children: [
121
- /* @__PURE__ */ e.jsx("h1", { className: "h2 me-1 mb-0", children: a.data.name }),
122
- /* @__PURE__ */ e.jsx(
123
- K,
124
- {
125
- actions: y(),
126
- actionsDropdownClassName: "btn btn-sm",
127
- dropdownToggleSvgSize: Y.Standard
128
- }
129
- )
130
- ] }),
131
- h && /* @__PURE__ */ e.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ e.jsx(
132
- _,
133
- {
134
- folders: o.items,
135
- getAppLink: (t) => p(t, d),
136
- expandFolders: !(n != null && n.length)
137
- }
138
- ) }),
139
- /* @__PURE__ */ e.jsx("div", { className: "pb-3", children: /* @__PURE__ */ e.jsx(
140
- Fe,
141
- {
142
- videos: n,
143
- hasSubFolders: h,
144
- hasMore: P,
145
- isFetching: V,
146
- fetchNext: u,
147
- nextCursor: C,
148
- sort: d,
149
- breadcrumbs: k,
150
- getSortAppLink: (t) => p(a.data, t),
151
- commonVideoProps: N
152
- }
153
- ) })
154
- ] }) : /* @__PURE__ */ e.jsx(Se, {})
155
- ] });
156
- }
157
- export {
158
- He as ExchangeFolderView
159
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs"),I=require("./Actions-BtMRNMuv.cjs"),u=require("./UseFetchAll-BaDVJFdj.cjs"),l=require("./VideoList-SNG1hmoL.cjs"),H=require("./HttpErrorHandlers-CBhvfsvb.cjs"),S=require("./LibraryRequests-DKCsJHbr.cjs"),B=require("./UseAlerts-pIg83NsO.cjs"),b=require("./useGetExchangeActions-BwXrBSH-.cjs"),O=require("./UseHandleObjectError-CBFN1Ill.cjs"),c=require("./UseGetMediaQueryString-BLeJTZt2.cjs"),G=require("./ExchangeSearchBar-Ci1_Sc2S.cjs"),M=require("./ExchangeTabs-KgrROs1d.cjs"),z=require("./ExchangeRequests-B3wRfv5Y.cjs"),a=require("./ExchangeUtils-BRDE3b9w.cjs"),m=require("./VideoSortSelect-3JfrvPfj.cjs"),D="exchange.exchangeFolderEmptyState";function Q(){return e.jsxRuntimeExports.jsx(e.LanguageNamespaceContext.Provider,{value:D,children:e.jsxRuntimeExports.jsxs(e.EmptyState,{children:[e.jsxRuntimeExports.jsx(e.EmptyState.Image,{src:e.ImageUrls.EmptyStates.FOLDER}),e.jsxRuntimeExports.jsx(e.EmptyState.Heading,{children:e.jsxRuntimeExports.jsx(e.Text,{phrase:"heading"})})]})})}function Y(t){var n;return!((n=t.videos)!=null&&n.length)&&!t.isFetching?e.jsxRuntimeExports.jsx(Q,{}):e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-2",children:[e.jsxRuntimeExports.jsx(m.Breadcrumbs,{breadcrumbs:t.breadcrumbs}),e.jsxRuntimeExports.jsx(m.VideoSortSelect,{variant:"outline-dark",type:t.sort,getSortAppLink:t.getSortAppLink,analyticsOptions:{location:e.LocationContext.VideoListHeader,entity:e.EntityType.Video,actionType:e.UserAction.Sort,workflowPhase:e.WorkflowPhase.Complete},includeProductionYear:!0})]}),t.videos?e.jsxRuntimeExports.jsx(l.VideoList,{videos:t.videos,getVideoAppLink:a.getVideoAppLink,presentationAudiences:null,getPreviewQuestionsAppLink:()=>null,hasPermissions:()=>!1,hideVideoGuidance:!0,commonVideoProps:t.commonVideoProps}):e.jsxRuntimeExports.jsx("div",{className:"mx-n2",children:e.jsxRuntimeExports.jsx(c.PartialVideoList,{})}),(t.hasMore||t.isFetching)&&e.jsxRuntimeExports.jsx(c.InfiniteScrollFooter,{isFetching:t.isFetching,fetchNext:t.fetchNext,nextCursor:t.nextCursor})]})}function W(){return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:"partial-loading-background h2 mb-3 w-25",children:" "}),e.jsxRuntimeExports.jsx("div",{className:"mt-1 mb-2",children:e.jsxRuntimeExports.jsx(u.PartialFolderList,{})}),e.jsxRuntimeExports.jsxs("div",{className:"mb-3",children:[e.jsxRuntimeExports.jsx("div",{className:"mb-3",children:e.jsxRuntimeExports.jsx(m.PartialBreadcrumbs,{})}),e.jsxRuntimeExports.jsx("div",{className:"mx-n2",children:e.jsxRuntimeExports.jsx(c.PartialVideoList,{})})]})]})}const $="exchange.exchangeFolder",J=e.LanguageService.encloseNamespace($);function K(t){var E,R;const n=e.useGetFetch(),f=B.useAlerts(),x=e.useBasicFetch(e.UserRequests.currentUser()),r=e.useBasicFetch(S.LibraryRequests.folder(t.folderId)),{isUserCurator:F,openInCurationStudioLabel:v,getOpenInCurationStudioLink:L}=b.useCurationStudio(),h=s=>S.LibraryRequests.childFolders(r.data.id,s),V=s=>n(h(s)),i=u.useFetchAll(r.data&&h,V);e.useSetPageMetadata({title:(E=r.data)==null?void 0:E.name}),O.useHandleObjectError([r]);const{commonVideoProps:q}=l.useCommonVideoProps(),d=!!x.data&&e.VideoSortHelper.getOrSetSortType(x.data.id,t.sort,e.VideoSortType.ProductionYear),{items:o,hasMore:y,isFetching:A,nextCursor:N}=c.useInfiniteList(j,g,P);function j(s){return z.ExchangeRequests.folderVideos(t.folderId,d,s)}function g(s){return n(j(s))}function P(s,U){if(s===1)return H.handleHttpError(U);f.error(J("error"))}function C(){return F?[{label:v,openInNewTab:!0,href:L(e.MasterType.Category,r.data.id)}]:[]}const k=a.useGetFolderBreadcrumbs(t.folderId,t.sort),w=b.useGetExchangeActions("video-list"),p=((R=i==null?void 0:i.items)==null?void 0:R.length)>0,T=r.hasCompleted&&x.hasCompleted&&i.hasCompleted;return e.jsxRuntimeExports.jsxs(l.VideoActionsContext.Provider,{value:w,children:[e.jsxRuntimeExports.jsxs("div",{className:"mb-3",children:[e.jsxRuntimeExports.jsx(G.ExchangeSearchBar,{}),e.jsxRuntimeExports.jsx(M.ExchangeTabs,{active:"categories"})]}),T?e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[r.data&&e.jsxRuntimeExports.jsxs("div",{className:"d-flex mb-3",children:[e.jsxRuntimeExports.jsx("h1",{className:"h2 me-1 mb-0",children:r.data.name}),e.jsxRuntimeExports.jsx(I.Actions,{actions:C(),actionsDropdownClassName:"btn btn-sm",dropdownToggleSvgSize:e.SvgContainerSize.Standard})]}),p&&e.jsxRuntimeExports.jsx("div",{className:"mx-n2",children:e.jsxRuntimeExports.jsx(u.FolderList,{folders:i.items,getAppLink:s=>a.getFolderAppLink(s,d),expandFolders:!(o!=null&&o.length)})}),e.jsxRuntimeExports.jsx("div",{className:"pb-3",children:e.jsxRuntimeExports.jsx(Y,{videos:o,hasSubFolders:p,hasMore:y,isFetching:A,fetchNext:g,nextCursor:N,sort:d,breadcrumbs:k,getSortAppLink:s=>a.getFolderAppLink(r.data,s),commonVideoProps:q})})]}):e.jsxRuntimeExports.jsx(W,{})]})}exports.ExchangeFolderView=K;
@@ -1,61 +0,0 @@
1
- import { ah as g, a1 as V, l as E, L as j, j as e } from "./app-2U039aX_.js";
2
- import { u as v, P, I as A } from "./UseGetMediaQueryString-Dc_jP0rr.js";
3
- import { u as L, a as R, V as N } from "./VideoList-s7lvSqSs.js";
4
- import { h as F } from "./HttpErrorHandlers-DKqNIMOg.js";
5
- import { u as S } from "./UseAlerts-B2BbQeN3.js";
6
- import { E as C } from "./ExchangeSearchBar-CNtU_swT.js";
7
- import { E as G } from "./ExchangeTabs-CrA22PjN.js";
8
- import { E as n } from "./ExchangeRequests-DV7BD3HZ.js";
9
- import { a as I } from "./useGetExchangeActions-C8Y1FNSl.js";
10
- import { a as M } from "./ExchangeUtils-CCCrn5oQ.js";
11
- const b = "exchange.mostRecent", c = j.encloseNamespace(b);
12
- function J() {
13
- const m = g(), u = S(), t = V(n.exchange()), d = I("video-list"), { commonVideoProps: h } = L();
14
- E({ title: c("title") });
15
- const {
16
- items: o,
17
- hasMore: x,
18
- isFetching: i,
19
- nextCursor: l
20
- } = v(t.data && r, a, p);
21
- function r(s) {
22
- return n.mostRecentVideos(t.data.id, s);
23
- }
24
- function a(s) {
25
- return m(r(s));
26
- }
27
- function p(s, f) {
28
- if (s === 1)
29
- return F(f);
30
- u.error(c("error"));
31
- }
32
- return /* @__PURE__ */ e.jsxs(R.Provider, { value: d, children: [
33
- /* @__PURE__ */ e.jsxs("div", { className: "mb-2", children: [
34
- /* @__PURE__ */ e.jsx(C, {}),
35
- /* @__PURE__ */ e.jsx(G, { active: "most-recent" })
36
- ] }),
37
- o ? /* @__PURE__ */ e.jsx(
38
- N,
39
- {
40
- videos: o,
41
- getVideoAppLink: M,
42
- presentationAudiences: null,
43
- getPreviewQuestionsAppLink: () => null,
44
- hasPermissions: () => !1,
45
- hideVideoGuidance: !0,
46
- commonVideoProps: h
47
- }
48
- ) : /* @__PURE__ */ e.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ e.jsx(P, {}) }),
49
- (x || i) && /* @__PURE__ */ e.jsx(
50
- A,
51
- {
52
- isFetching: i,
53
- fetchNext: a,
54
- nextCursor: l
55
- }
56
- )
57
- ] });
58
- }
59
- export {
60
- J as ExchangeMostRecentView
61
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs"),s=require("./UseGetMediaQueryString-BLeJTZt2.cjs"),n=require("./VideoList-SNG1hmoL.cjs"),R=require("./HttpErrorHandlers-CBhvfsvb.cjs"),q=require("./UseAlerts-pIg83NsO.cjs"),V=require("./ExchangeSearchBar-Ci1_Sc2S.cjs"),f=require("./ExchangeTabs-KgrROs1d.cjs"),u=require("./ExchangeRequests-B3wRfv5Y.cjs"),v=require("./useGetExchangeActions-BwXrBSH-.cjs"),A=require("./ExchangeUtils-BRDE3b9w.cjs"),P="exchange.mostRecent",x=e.LanguageService.encloseNamespace(P);function L(){const d=e.useGetFetch(),h=q.useAlerts(),i=e.useBasicFetch(u.ExchangeRequests.exchange()),g=v.useGetExchangeActions("video-list"),{commonVideoProps:l}=n.useCommonVideoProps();e.useSetPageMetadata({title:x("title")});const{items:r,hasMore:m,isFetching:o,nextCursor:p}=s.useInfiniteList(i.data&&c,a,E);function c(t){return u.ExchangeRequests.mostRecentVideos(i.data.id,t)}function a(t){return d(c(t))}function E(t,j){if(t===1)return R.handleHttpError(j);h.error(x("error"))}return e.jsxRuntimeExports.jsxs(n.VideoActionsContext.Provider,{value:g,children:[e.jsxRuntimeExports.jsxs("div",{className:"mb-2",children:[e.jsxRuntimeExports.jsx(V.ExchangeSearchBar,{}),e.jsxRuntimeExports.jsx(f.ExchangeTabs,{active:"most-recent"})]}),r?e.jsxRuntimeExports.jsx(n.VideoList,{videos:r,getVideoAppLink:A.getVideoAppLink,presentationAudiences:null,getPreviewQuestionsAppLink:()=>null,hasPermissions:()=>!1,hideVideoGuidance:!0,commonVideoProps:l}):e.jsxRuntimeExports.jsx("div",{className:"mx-n2",children:e.jsxRuntimeExports.jsx(s.PartialVideoList,{})}),(m||o)&&e.jsxRuntimeExports.jsx(s.InfiniteScrollFooter,{isFetching:o,fetchNext:a,nextCursor:p})]})}exports.ExchangeMostRecentView=L;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs");function o({error:t}){return e.jsxRuntimeExports.jsx(e.ErrorView,{error:t})}exports.NotFoundView=o;
@@ -1,7 +0,0 @@
1
- import { j as o, E as t } from "./app-2U039aX_.js";
2
- function i({ error: r }) {
3
- return /* @__PURE__ */ o.jsx(t, { error: r });
4
- }
5
- export {
6
- i as NotFoundView
7
- };
@@ -1,82 +0,0 @@
1
- import { H as m, a1 as n, j as t, P as y, aA as h, A as w, a as f, b as g } from "./app-2U039aX_.js";
2
- import { S as P } from "./ScrollHelper-Dg7bDIH7.js";
3
- import { V as x } from "./VideoRequests-DlUeYLjl.js";
4
- import { u as A } from "./UseHandleDialogError-BJHsOnKn.js";
5
- import { C as j, P as C, a as E } from "./PreviewVideoDetails-DJXB4vV3.js";
6
- import { a as V } from "./useGetExchangeActions-C8Y1FNSl.js";
7
- import { u as S } from "./usePreviewContext--ihfEi4P.js";
8
- var p = /* @__PURE__ */ ((e) => (e.Share = "share", e.MasterObject = "masterobject", e))(p || {});
9
- const b = {
10
- createViewKey(e, a, i, s, r) {
11
- const o = {
12
- mediaId: e.toString(),
13
- mediaIdType: a
14
- };
15
- return i && (o.shareContextId = i), {
16
- url: "/api/player/create-view-key",
17
- key: `view:key:${e}:${a}`,
18
- type: m.POST,
19
- data: o,
20
- /**
21
- * A view key is valid for 8 hours, at that point we need refetch the view key
22
- */
23
- cacheDuration: 28800,
24
- success: s,
25
- error: r
26
- };
27
- }
28
- };
29
- function q(e) {
30
- var d;
31
- const a = n(x.video(e.videoId)), i = n(h.config()), s = n(
32
- b.createViewKey(e.videoId, p.MasterObject)
33
- ), r = V("preview");
34
- A(a.statusCode);
35
- const { previewContext: o, clearPreviewContext: u } = S(e.videoId, !0);
36
- function v(k) {
37
- }
38
- function l() {
39
- e.closePopup(), P.preventScrollTop(), w.trigger((o == null ? void 0 : o.appLink) ?? {
40
- application: g.EXCHANGE,
41
- action: f.Exchange.INDEX
42
- }), u();
43
- }
44
- const c = a.data && i.hasCompleted && s.hasCompleted;
45
- return /* @__PURE__ */ t.jsx(
46
- y,
47
- {
48
- title: (d = a.data) == null ? void 0 : d.name,
49
- hideTitle: !0,
50
- closePopup: l,
51
- showLoadingSpinner: !c,
52
- size: "lg",
53
- bodyClassName: "p-0 rounded-3 position-relative",
54
- children: c && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
55
- /* @__PURE__ */ t.jsx("div", { className: "overflow-hidden rounded-top-lg", children: /* @__PURE__ */ t.jsx(
56
- j,
57
- {
58
- viewKey: s.data.viewKey,
59
- playerApi: new URL(i.data.playerApiUrl),
60
- autoplay: !0,
61
- hotkeyElQuerySelector: "body",
62
- onReady: v,
63
- allowFullscreen: !1
64
- }
65
- ) }),
66
- /* @__PURE__ */ t.jsx(
67
- C,
68
- {
69
- video: a.data,
70
- title: a.data.name,
71
- description: a.data.description,
72
- videoActions: r.getVideoActions(a.data)
73
- }
74
- ),
75
- /* @__PURE__ */ t.jsx(E, { closePopup: l })
76
- ] })
77
- }
78
- );
79
- }
80
- export {
81
- q as ExchangePreviewView
82
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs"),x=require("./ScrollHelper-ESsjtyv8.cjs"),y=require("./VideoRequests-CpDXl7E_.cjs"),h=require("./UseHandleDialogError-PbyWsVaT.cjs"),a=require("./PreviewVideoDetails-BQ0lYYbK.cjs"),w=require("./useGetExchangeActions-BwXrBSH-.cjs"),g=require("./usePreviewContext-DjpFhe3I.cjs");var d=(t=>(t.Share="share",t.MasterObject="masterobject",t))(d||{});const E={createViewKey(t,i,r,s,n){const o={mediaId:t.toString(),mediaIdType:i};return r&&(o.shareContextId=r),{url:"/api/player/create-view-key",key:`view:key:${t}:${i}`,type:e.HttpVerbs.POST,data:o,cacheDuration:28800,success:s,error:n}}};function j(t){var u;const i=e.useBasicFetch(y.VideoRequests.video(t.videoId)),r=e.useBasicFetch(e.ConfigRequests.config()),s=e.useBasicFetch(E.createViewKey(t.videoId,d.MasterObject)),n=w.useGetExchangeActions("preview");h.useHandleDialogError(i.statusCode);const{previewContext:o,clearPreviewContext:p}=g.usePreviewContext(t.videoId,!0);function v(P){}function c(){t.closePopup(),x.ScrollHelper.preventScrollTop(),e.AppLinkHelper.trigger((o==null?void 0:o.appLink)??{application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.INDEX}),p()}const l=i.data&&r.hasCompleted&&s.hasCompleted;return e.jsxRuntimeExports.jsx(e.Popup,{title:(u=i.data)==null?void 0:u.name,hideTitle:!0,closePopup:c,showLoadingSpinner:!l,size:"lg",bodyClassName:"p-0 rounded-3 position-relative",children:l&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:"overflow-hidden rounded-top-lg",children:e.jsxRuntimeExports.jsx(a.ClickViewPlayer,{viewKey:s.data.viewKey,playerApi:new URL(r.data.playerApiUrl),autoplay:!0,hotkeyElQuerySelector:"body",onReady:v,allowFullscreen:!1})}),e.jsxRuntimeExports.jsx(a.PreviewVideoDetails,{video:i.data,title:i.data.name,description:i.data.description,videoActions:n.getVideoActions(i.data)}),e.jsxRuntimeExports.jsx(a.PlayerOverlayButtons,{closePopup:c})]})})}exports.ExchangePreviewView=j;
@@ -1 +0,0 @@
1
- "use strict";const r=require("./app-DcIbciDa.cjs"),V=require("./SharedSearchHelper-D5GJJwW7.cjs"),$=require("./PermissionFilterOption-BIA__Q_O.cjs"),k={exchange(){return{url:r.UrlHelper.urlBuilder("/api/domain/v2/me/libraries",{type:["exchange"],maxCategoryDepth:0}),key:"exchange",normalize:!1,formatData:e=>r.ArrayHelper.first(e).data}},categories(){return{url:r.UrlHelper.urlBuilder("/api/domain/v2/me/libraries",{type:["exchange"],maxCategoryDepth:2}),key:"exchange:categories",normalize:!1,formatData:e=>r.ArrayHelper.first(e).children}},folderVideos(e,t,i){const s=r.VideoSortHelper.getVideoSortParam(t),l=(s?`{${s},libraries.typeid:18}`:"")+r.SharedWithStatements.VIDEO_COLLECTION,o=r.UrlHelper.urlBuilder(`{gateway}/v1/objects/${e}/videos`,{cursor:i,query:l,permissionFilterOption:$.PermissionFilterOption.StripMetadata}),a=["folder","videos",e,i,t].filter(n=>!!n).join(":");return{url:o,key:a}},seriesVideos(e,t,i){const s=r.VideoSortHelper.getVideoSortParam(t),l=(s?`{${s},libraries.typeid:18}`:"")+r.SharedWithStatements.VIDEO_COLLECTION,o=r.UrlHelper.urlBuilder(`{gateway}/v1/collections/${e}/videos`,{query:l,cursor:i}),a=["series","videos",e,i,t].filter(n=>!!n).join(":");return{url:o,key:a}},mostRecentVideos(e,t){const i="{orderByDesc:timestamp}"+r.SharedWithStatements.VIDEO_COLLECTION,s=r.UrlHelper.urlBuilder(`{gateway}/v1/collections/${e}/videos`,{query:i,cursor:t}),l=["mostRecent","videos",e,t].filter(o=>!!o).join(":");return{url:s,key:l}},addVideo(e,t){return{key:"add:video:exchange",url:"{gateway}/v1/users/me/add-videos",data:{libraryId:e,objectId:t},type:r.HttpVerbs.POST,invalidationKeys:`videos:${t}:`}},suggestEdit(e,t){return{key:"suggest:an:edit",url:`{gateway}/v1/videos/${e}/suggest-edit`,data:t,type:r.HttpVerbs.POST}},search(e,t,i={},s){let l=`search:${e}:${t}:${s}`;l+=Object.keys(i).map(a=>i[a]).join(";");const o=Object.assign({},{index:t,cursor:s??void 0,query:e,...i});return{url:r.UrlHelper.urlBuilder("{gateway}/v3/search/exchange",o),key:l,formatData:a=>{var y,g;let n=a.totalResults;const u=((y=a==null?void 0:a.results)==null?void 0:y.filter(d=>{var p,h,m,v,S,f,x,O;if(d._index!=="series"&&d._index!=="playlist")return!0;if(d._index==="playlist"){const c=d;return(h=(p=c.clips)==null?void 0:p.data)!=null&&h.length||(v=(m=c.interactives)==null?void 0:m.data)!=null&&v.length||(f=(S=c.videos)==null?void 0:S.data)!=null&&f.length?!0:(n--,!1)}return((O=(x=d.videos)==null?void 0:x.data)==null?void 0:O.length)===0?(n--,!1):!0}))??[];a.results=u,a.totalResults=n;const H=(g=u[0])==null?void 0:g._score;return{...a,results:V.SharedSearchHelper.mapMaxScoreToSearchResults(u,H)}}}}};exports.ExchangeRequests=k;
@@ -1,115 +0,0 @@
1
- import { U as n, H as $, al as k, c as D, S as y } from "./app-2U039aX_.js";
2
- import { S as C } from "./SharedSearchHelper-BuVD-GvT.js";
3
- import { P as b } from "./PermissionFilterOption-B-QrMVdA.js";
4
- const j = {
5
- exchange() {
6
- return {
7
- url: n.urlBuilder("/api/domain/v2/me/libraries", {
8
- type: ["exchange"],
9
- maxCategoryDepth: 0
10
- }),
11
- key: "exchange",
12
- normalize: !1,
13
- formatData: (e) => D.first(e).data
14
- };
15
- },
16
- categories() {
17
- return {
18
- url: n.urlBuilder("/api/domain/v2/me/libraries", {
19
- type: ["exchange"],
20
- maxCategoryDepth: 2
21
- }),
22
- key: "exchange:categories",
23
- normalize: !1,
24
- formatData: (e) => D.first(e).children
25
- };
26
- },
27
- folderVideos(e, t, a) {
28
- const i = k.getVideoSortParam(t), s = (i ? `{${i},libraries.typeid:18}` : "") + y.VIDEO_COLLECTION, l = n.urlBuilder(`{gateway}/v1/objects/${e}/videos`, {
29
- cursor: a,
30
- query: s,
31
- permissionFilterOption: b.StripMetadata
32
- }), r = ["folder", "videos", e, a, t].filter((o) => !!o).join(":");
33
- return {
34
- url: l,
35
- key: r
36
- };
37
- },
38
- seriesVideos(e, t, a) {
39
- const i = k.getVideoSortParam(t), s = (i ? `{${i},libraries.typeid:18}` : "") + y.VIDEO_COLLECTION, l = n.urlBuilder(`{gateway}/v1/collections/${e}/videos`, {
40
- query: s,
41
- cursor: a
42
- }), r = ["series", "videos", e, a, t].filter((o) => !!o).join(":");
43
- return {
44
- url: l,
45
- key: r
46
- };
47
- },
48
- mostRecentVideos(e, t) {
49
- const a = "{orderByDesc:timestamp}" + y.VIDEO_COLLECTION, i = n.urlBuilder(`{gateway}/v1/collections/${e}/videos`, {
50
- query: a,
51
- cursor: t
52
- }), s = ["mostRecent", "videos", e, t].filter((l) => !!l).join(":");
53
- return {
54
- url: i,
55
- key: s
56
- };
57
- },
58
- addVideo(e, t) {
59
- return {
60
- key: "add:video:exchange",
61
- url: "{gateway}/v1/users/me/add-videos",
62
- data: {
63
- libraryId: e,
64
- objectId: t
65
- },
66
- type: $.POST,
67
- invalidationKeys: `videos:${t}:`
68
- };
69
- },
70
- suggestEdit(e, t) {
71
- return {
72
- key: "suggest:an:edit",
73
- url: `{gateway}/v1/videos/${e}/suggest-edit`,
74
- data: t,
75
- type: $.POST
76
- };
77
- },
78
- search(e, t, a = {}, i) {
79
- let s = `search:${e}:${t}:${i}`;
80
- s += Object.keys(a).map((r) => a[r]).join(";");
81
- const l = Object.assign({}, {
82
- index: t,
83
- cursor: i ?? void 0,
84
- query: e,
85
- ...a
86
- });
87
- return {
88
- url: n.urlBuilder("{gateway}/v3/search/exchange", l),
89
- key: s,
90
- formatData: (r) => {
91
- var g, m;
92
- let o = r.totalResults;
93
- const u = ((g = r == null ? void 0 : r.results) == null ? void 0 : g.filter((d) => {
94
- var p, v, h, f, x, O, S, V;
95
- if (d._index !== "series" && d._index !== "playlist")
96
- return !0;
97
- if (d._index === "playlist") {
98
- const c = d;
99
- return (v = (p = c.clips) == null ? void 0 : p.data) != null && v.length || (f = (h = c.interactives) == null ? void 0 : h.data) != null && f.length || (O = (x = c.videos) == null ? void 0 : x.data) != null && O.length ? !0 : (o--, !1);
100
- }
101
- return ((V = (S = d.videos) == null ? void 0 : S.data) == null ? void 0 : V.length) === 0 ? (o--, !1) : !0;
102
- })) ?? [];
103
- r.results = u, r.totalResults = o;
104
- const E = (m = u[0]) == null ? void 0 : m._score;
105
- return {
106
- ...r,
107
- results: C.mapMaxScoreToSearchResults(u, E)
108
- };
109
- }
110
- };
111
- }
112
- };
113
- export {
114
- j as E
115
- };
@@ -1,32 +0,0 @@
1
- import { R as o, j as e, G as c, A as i, a as h, b as p } from "./app-2U039aX_.js";
2
- import { S as l } from "./SearchSvg-BB6oXs1v.js";
3
- const u = "_searchBar_w17nz_1", m = {
4
- searchBar: u
5
- };
6
- function x(s) {
7
- const [r, t] = o.useState(s.query ?? "");
8
- function n(a) {
9
- a.preventDefault(), r && i.trigger({
10
- application: p.EXCHANGE,
11
- action: h.Exchange.SEARCH,
12
- params: { query: r }
13
- });
14
- }
15
- return /* @__PURE__ */ e.jsx("form", { onSubmit: n, children: /* @__PURE__ */ e.jsxs("div", { className: `${m.searchBar} d-flex border border-dark rounded align-items-center mb-3`, children: [
16
- /* @__PURE__ */ e.jsx(c, { svg: l }),
17
- /* @__PURE__ */ e.jsx(
18
- "input",
19
- {
20
- type: "text",
21
- className: "form-control h-100 w-100 py-0 border-0 shadow-none",
22
- placeholder: "Search for resources in the Exchange Archive",
23
- value: r,
24
- onChange: (a) => t(a.target.value),
25
- autoComplete: "off"
26
- }
27
- )
28
- ] }) });
29
- }
30
- export {
31
- x as E
32
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./app-DcIbciDa.cjs"),c=require("./SearchSvg-BU6G1Fs0.cjs"),o="_searchBar_w17nz_1",i={searchBar:o};function u(a){const[r,n]=e.React.useState(a.query??"");function s(t){t.preventDefault(),r&&e.AppLinkHelper.trigger({application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.SEARCH,params:{query:r}})}return e.jsxRuntimeExports.jsx("form",{onSubmit:s,children:e.jsxRuntimeExports.jsxs("div",{className:`${i.searchBar} d-flex border border-dark rounded align-items-center mb-3`,children:[e.jsxRuntimeExports.jsx(e.SvgContainer,{svg:c.SearchSvg}),e.jsxRuntimeExports.jsx("input",{type:"text",className:"form-control h-100 w-100 py-0 border-0 shadow-none",placeholder:"Search for resources in the Exchange Archive",value:r,onChange:t=>n(t.target.value),autoComplete:"off"})]})})}exports.ExchangeSearchBar=u;