@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.
- package/dist/bundles.json +4 -0
- package/dist/css/Actions-BPdg7JW4.css +1 -0
- package/dist/css/AddToLibraryView-BBV1d-ZI.css +1 -0
- package/dist/css/Caret-C2R4QydJ.css +1 -0
- package/dist/css/ExchangeSearchBar-DL_jCfRl.css +1 -0
- package/dist/css/ExchangeSearchResultsView-fap4f8w8.css +1 -0
- package/dist/css/FormField-CY0yvCW4.css +1 -0
- package/dist/css/GiveFeedbackView-CifDVjr-.css +1 -0
- package/dist/css/IconCircle-jbMisi9r.css +1 -0
- package/dist/css/LazyImage-CC5F5C8O.css +1 -0
- package/dist/css/LinkifyHelper-DI4l_5OJ.css +1 -0
- package/dist/css/PillTabSelector-DlOtoSz0.css +1 -0
- package/dist/css/PreviewVideoDetails-CLoNhAp2.css +1 -0
- package/dist/css/ProgramType-B57G3PZD.css +1 -0
- package/dist/css/RestrictionHelper-BiRz4h1c.css +1 -0
- package/dist/css/SearchFilters-DKLFGlDI.css +1 -0
- package/dist/css/TagItem-DD13UQOa.css +1 -0
- package/dist/css/TvAdFreeBadge-DnhNnDZN.css +1 -0
- package/dist/css/TvAddView-fs02hBfZ.css +1 -0
- package/dist/css/TvAlreadyAddedView-Dkh6sNpi.css +1 -0
- package/dist/css/TvBroadcastContentView-CDiJwtuL.css +1 -0
- package/dist/css/TvChannelBadge-BDOTXlob.css +1 -0
- package/dist/css/TvChannelView-DRlDmMhN.css +1 -0
- package/dist/css/TvChannelsView-w4TLT4f5.css +1 -0
- package/dist/css/TvProgramTimeBadge-zFa1fH-z.css +1 -0
- package/dist/css/TvProgramsView-Bt3pBBLn.css +1 -0
- package/dist/css/TvSearchBar-Ci6HCTb5.css +1 -0
- package/dist/css/TvSearchResultsView-DGyCCqtO.css +1 -0
- package/dist/css/UseFetchAll-BIeUeS4h.css +1 -0
- package/dist/css/UseGetMediaQueryString-CrSv-tYo.css +1 -0
- package/dist/css/UseSelectAllPages-C7XoyEPr.css +1 -0
- package/dist/css/VideoList-DJ07F3NX.css +1 -0
- package/dist/{exchange.css → css/app-B9KW71K5.css} +1 -1
- package/dist/css/useBreakpoints-CCsCPLDG.css +1 -0
- package/dist/en.json +1 -1
- package/dist/scripts/Actions-DU6xcKNt.js +1 -0
- package/dist/scripts/AddToLibraryView-BbpiFnD1.js +1 -0
- package/dist/scripts/Badge-kRGAgSgq.js +1 -0
- package/dist/scripts/BadgeListContainer-B-qdl_Qj.js +1 -0
- package/dist/scripts/ButtonGroup-Pz8uSjml.js +1 -0
- package/dist/scripts/Caret-BRrDlj-2.js +1 -0
- package/dist/scripts/ChevronDownSvg-PWL_4rOb.js +1 -0
- package/dist/scripts/ClassNameHelper-C1RD6ZYU.js +1 -0
- package/dist/scripts/CloseSvg-MoBnROf1.js +1 -0
- package/dist/scripts/CurationStatus-BlDVEZsX.js +1 -0
- package/dist/scripts/DevErrorView-CK5-Rxy-.js +1 -0
- package/dist/scripts/DialogView-im7-qx9i.js +1 -0
- package/dist/scripts/DownloadHelper-tNp3R89-.js +1 -0
- package/dist/scripts/DownloadVideoView-Dcsxo22U.js +1 -0
- package/dist/scripts/DragDropMoveWrapper-Dsd-8vE3.js +1 -0
- package/dist/scripts/ExchangeAddView-CwHPqfoQ.js +1 -0
- package/dist/scripts/ExchangeFolderView-BpMNAmMQ.js +1 -0
- package/dist/scripts/ExchangeMostRecentView-DQH8FDqI.js +1 -0
- package/dist/scripts/ExchangeNotFoundView-BxjMr4v3.js +1 -0
- package/dist/scripts/ExchangePreviewView-Od2pV8fa.js +1 -0
- package/dist/scripts/ExchangeRequests-CaMKspLi.js +1 -0
- package/dist/scripts/ExchangeSearchBar-BetVWbNL.js +1 -0
- package/dist/scripts/ExchangeSearchResultsView-GbfK9RDh.js +2 -0
- package/dist/scripts/ExchangeSeriesView-b1ayep0S.js +1 -0
- package/dist/scripts/ExchangeSuggestEditView-3CoGs1xA.js +1 -0
- package/dist/scripts/ExchangeTabs-CQC3f-18.js +1 -0
- package/dist/scripts/ExchangeUtils-BXtQ6ui-.js +1 -0
- package/dist/scripts/ExchangeView-DCrYAO5x.js +1 -0
- package/dist/scripts/FormButtons-Bgi1UFwH.js +1 -0
- package/dist/scripts/FormFeedback-CSSo249E.js +1 -0
- package/dist/scripts/FormField-BefWo_kh.js +5 -0
- package/dist/scripts/GiveFeedbackView-C05VDJBO.js +7 -0
- package/dist/scripts/GroupSvg-CF5_JUEf.js +1 -0
- package/dist/scripts/HardCoded-NS2B_WZd.js +1 -0
- package/dist/scripts/HttpErrorHandlers-CXQ82gVO.js +1 -0
- package/dist/scripts/IconCircle-Bl2iLV5f.js +1 -0
- package/dist/scripts/InstanceRegion-CJ3oIQlG.js +1 -0
- package/dist/scripts/LazyImage-BuPwkT8t.js +1 -0
- package/dist/scripts/LibraryRequests-CIFsh_TC.js +1 -0
- package/dist/scripts/LinkifyHelper-DXhtCX0t.js +4 -0
- package/dist/scripts/MasterTypeHelper-C89Dh71u.js +1 -0
- package/dist/scripts/MediaQueries-_sYSSSUN.js +1 -0
- package/dist/scripts/PartialLoadingHelper-jX9dOBvb.js +1 -0
- package/dist/scripts/PermissionFilterOption-pkzD5BEm.js +1 -0
- package/dist/scripts/PillTabSelector-0Eg1sgXj.js +14 -0
- package/dist/scripts/PreviewVideoDetails-DYcfSG9C.js +362 -0
- package/dist/scripts/ProgramType-ClR23Av6.js +1 -0
- package/dist/scripts/RatingRequests-DE77YS3s.js +1 -0
- package/dist/scripts/RedirectView-Bd2ocWHW.js +1 -0
- package/dist/scripts/RestrictionHelper-FFW66EYt.js +1 -0
- package/dist/scripts/ScrollHelper-DdBBQJML.js +1 -0
- package/dist/scripts/SearchFilters-FlVReO0V.js +1 -0
- package/dist/scripts/SearchSvg-BVG6NbDK.js +1 -0
- package/dist/scripts/SharedSearchHelper-OTwt6mVX.js +1 -0
- package/dist/scripts/TagItem-D-T5Jgxc.js +1 -0
- package/dist/scripts/TvAdFreeBadge-CK6vQXKI.js +1 -0
- package/dist/scripts/TvAdFreeRequestView-DI72pb_f.js +1 -0
- package/dist/scripts/TvAddView-B1D9QlK5.js +1 -0
- package/dist/scripts/TvAlreadyAddedView-DFqGZwQO.js +1 -0
- package/dist/scripts/TvBroadcastContentView-BdIK-pK2.js +1 -0
- package/dist/scripts/TvChannelBadge-pBwnbFcb.js +1 -0
- package/dist/scripts/TvChannelView-fMD7YYjb.js +1 -0
- package/dist/scripts/TvChannelsView-eH68B1en.js +1 -0
- package/dist/scripts/TvGuideView-CTuQRLzy.js +1 -0
- package/dist/scripts/TvHomeView-B_wgL0pd.js +1 -0
- package/dist/scripts/TvPreviewView-DG7HOmV0.js +1 -0
- package/dist/scripts/TvProgramTimeBadge-spEPk9Ci.js +1 -0
- package/dist/scripts/TvProgramsView-CIGHzdBW.js +1 -0
- package/dist/scripts/TvRadioDownloadView-BBjF31yx.js +1 -0
- package/dist/scripts/TvRequestProgramView-D4tAgJGb.js +1 -0
- package/dist/scripts/TvRequests-DGpJhsk0.js +1 -0
- package/dist/scripts/TvSearchBar-DeJpQCLg.js +1 -0
- package/dist/scripts/TvSearchResultsView-C2maqf2-.js +1 -0
- package/dist/scripts/TvTabs-CwSo_jRg.js +1 -0
- package/dist/scripts/TypeHelper-B668bf5B.js +1 -0
- package/dist/scripts/UseAlerts-CvkkojNb.js +1 -0
- package/dist/scripts/UseFetchAll-gFCX5FgS.js +1 -0
- package/dist/scripts/UseGetMediaQueryString-CtMZxiJN.js +1 -0
- package/dist/scripts/UseHandleDialogError-DyBOBdQw.js +1 -0
- package/dist/scripts/UseHandleObjectError-BX2Mxo9Q.js +1 -0
- package/dist/scripts/UseHover-CvNCFvZV.js +1 -0
- package/dist/scripts/UseSelectAllPages-lGahuUoo.js +1 -0
- package/dist/scripts/VideoHelper-CCZMG1XL.js +1 -0
- package/dist/scripts/VideoList-DqqHxoXh.js +49 -0
- package/dist/scripts/VideoRequests-vwphYsR4.js +1 -0
- package/dist/scripts/VideoSortSelect-DVdIHmhA.js +1 -0
- package/dist/scripts/VisibleOnSvg-BuD3Reup.js +1 -0
- package/dist/scripts/app-Lrh8TPTe.js +147 -0
- package/dist/scripts/getRegionInfo-BBAErHX7.js +1 -0
- package/dist/scripts/index-C9eYzTFT.js +1 -0
- package/dist/scripts/toLocalTime-pPGBAyPL.js +1 -0
- package/dist/scripts/useBreakpoints-BALX55hP.js +1 -0
- package/dist/scripts/useGetExchangeActions-BtGC0q85.js +1 -0
- package/dist/scripts/useGetTvActions-Cx_DXvlg.js +1 -0
- package/dist/scripts/useHandleRegionError-CaGlG48W.js +1 -0
- package/dist/scripts/usePreviewContext-B5fK7PxW.js +1 -0
- package/dist/scripts/useSelectedRegion-h9Rl12Z2.js +1 -0
- package/dist/scripts/useVerifiedEmailRequiredErrorHandler-BON6gc7P.js +1 -0
- package/package.json +1 -1
- package/vite-bundle-manifest.ts +41 -0
- package/vite.config.ts +22 -7
- package/dist/Actions-BtMRNMuv.cjs +0 -1
- package/dist/Actions-DfeKDy3k.js +0 -178
- package/dist/AddToLibraryView-BoCLtcWV.js +0 -508
- package/dist/AddToLibraryView-MpkcVgoR.cjs +0 -1
- package/dist/Badge-3MW5GacP.cjs +0 -1
- package/dist/Badge-Ddz0Il5v.js +0 -326
- package/dist/BadgeListContainer-CqwUuWKL.js +0 -19
- package/dist/BadgeListContainer-DLrBuDpU.cjs +0 -1
- package/dist/ButtonGroup-C-z2yWvb.cjs +0 -1
- package/dist/ButtonGroup-zaxEq7ZK.js +0 -24
- package/dist/Caret-Cpx0uvJ0.js +0 -36
- package/dist/Caret-Dgjy7YHO.cjs +0 -1
- package/dist/ChevronDownSvg-BI6xUNrZ.cjs +0 -1
- package/dist/ChevronDownSvg-BfijmId7.js +0 -13
- package/dist/ClassNameHelper-aJ0BDnVo.js +0 -29
- package/dist/ClassNameHelper-n4BHW-GR.cjs +0 -1
- package/dist/CloseSvg-2PKjla1T.js +0 -13
- package/dist/CloseSvg-B7rizkGp.cjs +0 -1
- package/dist/CurationStatus-BGjsO3l8.cjs +0 -1
- package/dist/CurationStatus-DZn3C9Qe.js +0 -4
- package/dist/DevErrorView-Bg1Ufy6-.js +0 -79
- package/dist/DevErrorView-CpXfV0V4.cjs +0 -1
- package/dist/DialogView-B5FEh3e8.cjs +0 -1
- package/dist/DialogView-RcNOylD7.js +0 -22
- package/dist/DownloadHelper-ChKHN-Le.cjs +0 -1
- package/dist/DownloadHelper-dL46n0Kq.js +0 -32
- package/dist/DownloadVideoView-CvDFi8HI.cjs +0 -1
- package/dist/DownloadVideoView-HSnwAYLp.js +0 -32
- package/dist/DragDropMoveWrapper-B_dy7ady.cjs +0 -1
- package/dist/DragDropMoveWrapper-TdzJqiqv.js +0 -462
- package/dist/ExchangeAddView-BRLjRe3p.js +0 -63
- package/dist/ExchangeAddView-CWfp5W52.cjs +0 -1
- package/dist/ExchangeFolderView-4ArEcQvn.js +0 -159
- package/dist/ExchangeFolderView-_ldS0uwf.cjs +0 -1
- package/dist/ExchangeMostRecentView-BMAosIXz.js +0 -61
- package/dist/ExchangeMostRecentView-s1iLfclz.cjs +0 -1
- package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +0 -1
- package/dist/ExchangeNotFoundView-Cb-rmQH1.js +0 -7
- package/dist/ExchangePreviewView-hztBChIE.js +0 -82
- package/dist/ExchangePreviewView-kjDv-uqf.cjs +0 -1
- package/dist/ExchangeRequests-B3wRfv5Y.cjs +0 -1
- package/dist/ExchangeRequests-DV7BD3HZ.js +0 -115
- package/dist/ExchangeSearchBar-CNtU_swT.js +0 -32
- package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +0 -1
- package/dist/ExchangeSearchResultsView-CEueb9Li.js +0 -1641
- package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +0 -2
- package/dist/ExchangeSeriesView-BGBgwgMW.cjs +0 -1
- package/dist/ExchangeSeriesView-DMr_mCAH.js +0 -143
- package/dist/ExchangeSuggestEditView-B3P-nGFE.js +0 -307
- package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +0 -1
- package/dist/ExchangeTabs-CrA22PjN.js +0 -46
- package/dist/ExchangeTabs-KgrROs1d.cjs +0 -1
- package/dist/ExchangeUtils-BRDE3b9w.cjs +0 -1
- package/dist/ExchangeUtils-CCCrn5oQ.js +0 -65
- package/dist/ExchangeView-Cui4zZ4D.js +0 -30
- package/dist/ExchangeView-Dql8pHzi.cjs +0 -1
- package/dist/FormButtons-CDOsf9A-.cjs +0 -1
- package/dist/FormButtons-fQkvwYsy.js +0 -20
- package/dist/FormFeedback-5Dd3bMCl.js +0 -7
- package/dist/FormFeedback-BU7vSBqB.cjs +0 -1
- package/dist/FormField-Cb2l2GMO.cjs +0 -5
- package/dist/FormField-DYeERWxm.js +0 -3353
- package/dist/GiveFeedbackView-0tH6h1s3.js +0 -5436
- package/dist/GiveFeedbackView-DirGDc2a.cjs +0 -7
- package/dist/GroupSvg-BmwXO6yT.js +0 -53
- package/dist/GroupSvg-DVAq4iNX.cjs +0 -1
- package/dist/HardCoded-25AFj2sZ.js +0 -51
- package/dist/HardCoded-BbbeCQNt.cjs +0 -1
- package/dist/HttpErrorHandlers-CBhvfsvb.cjs +0 -1
- package/dist/HttpErrorHandlers-DKqNIMOg.js +0 -76
- package/dist/IconCircle-BVHFUBGt.cjs +0 -1
- package/dist/IconCircle-CxFLsbLY.js +0 -26
- package/dist/InstanceRegion-C7aJEkFV.cjs +0 -1
- package/dist/InstanceRegion-DQlzs4EK.js +0 -4
- package/dist/LazyImage-DBQklqeJ.js +0 -163
- package/dist/LazyImage-lv36coda.cjs +0 -1
- package/dist/LibraryRequests-BHAZPSUw.js +0 -186
- package/dist/LibraryRequests-DKCsJHbr.cjs +0 -1
- package/dist/LinkifyHelper-DPHYATPc.js +0 -925
- package/dist/LinkifyHelper-EOfbsqdi.cjs +0 -4
- package/dist/MasterTypeHelper-Y_SDsEUF.cjs +0 -1
- package/dist/MasterTypeHelper-uSKy6GZd.js +0 -16
- package/dist/MediaQueries-9caJ2eG6.js +0 -4
- package/dist/MediaQueries-CE9Kbs0e.cjs +0 -1
- package/dist/PartialLoadingHelper-D42uOdDd.cjs +0 -1
- package/dist/PartialLoadingHelper-DIas6hnM.js +0 -29
- package/dist/PermissionFilterOption-B-QrMVdA.js +0 -4
- package/dist/PermissionFilterOption-BIA__Q_O.cjs +0 -1
- package/dist/PillTabSelector-B5V2rqf0.js +0 -64
- package/dist/PillTabSelector-yR52s5ix.cjs +0 -14
- package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +0 -362
- package/dist/PreviewVideoDetails-DJXB4vV3.js +0 -68337
- package/dist/ProgramType-DHk-SlRZ.cjs +0 -1
- package/dist/ProgramType-FpE5cuZV.js +0 -60
- package/dist/RatingRequests-BNPZAxXm.cjs +0 -1
- package/dist/RatingRequests-Dr3w3-z8.js +0 -11
- package/dist/RedirectView-BK8yU-PU.js +0 -22
- package/dist/RedirectView-OEJhJrvf.cjs +0 -1
- package/dist/RestrictionHelper-BSceJYz-.js +0 -112
- package/dist/RestrictionHelper-C5u_CmoL.cjs +0 -1
- package/dist/ScrollHelper-Dg7bDIH7.js +0 -10
- package/dist/ScrollHelper-ESsjtyv8.cjs +0 -1
- package/dist/SearchFilters-C_yEnumc.js +0 -3046
- package/dist/SearchFilters-D3fLjseM.cjs +0 -1
- package/dist/SearchSvg-BB6oXs1v.js +0 -13
- package/dist/SearchSvg-BU6G1Fs0.cjs +0 -1
- package/dist/SharedSearchHelper-BuVD-GvT.js +0 -159
- package/dist/SharedSearchHelper-D5GJJwW7.cjs +0 -1
- package/dist/TagItem-BBc3HmnI.cjs +0 -1
- package/dist/TagItem-BFnSikAz.js +0 -1125
- package/dist/TvAdFreeBadge-BDFn2ujd.js +0 -11
- package/dist/TvAdFreeBadge-X2iSf6B3.cjs +0 -1
- package/dist/TvAdFreeRequestView-CEAvozfO.js +0 -46
- package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +0 -1
- package/dist/TvAddView-Bv12wfX7.js +0 -276
- package/dist/TvAddView-CA7Yappn.cjs +0 -1
- package/dist/TvAlreadyAddedView-C240rLQ7.js +0 -56
- package/dist/TvAlreadyAddedView-X4KElzJA.cjs +0 -1
- package/dist/TvBroadcastContentView-DizJHvTQ.js +0 -52
- package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +0 -1
- package/dist/TvChannelBadge-B4a1wkQI.cjs +0 -1
- package/dist/TvChannelBadge-Doqs12s9.js +0 -11
- package/dist/TvChannelView-CSn0VleL.js +0 -177
- package/dist/TvChannelView-Ds_F3Mmp.cjs +0 -1
- package/dist/TvChannelsView-CM_T5E3j.js +0 -171
- package/dist/TvChannelsView-r3NO_BRv.cjs +0 -1
- package/dist/TvGuideView-B8vS-8lS.cjs +0 -1
- package/dist/TvGuideView-BLlQJiZ3.js +0 -54
- package/dist/TvHomeView-C_h4DZw_.cjs +0 -1
- package/dist/TvHomeView-CbNg8AyI.js +0 -15
- package/dist/TvPreviewView-DhXD3H__.js +0 -114
- package/dist/TvPreviewView-hGq7_Bzs.cjs +0 -1
- package/dist/TvProgramTimeBadge-BtQKNLz2.js +0 -18
- package/dist/TvProgramTimeBadge-DPJu73xG.cjs +0 -1
- package/dist/TvProgramsView-Ba9VPnEh.cjs +0 -1
- package/dist/TvProgramsView-DO4WnPJx.js +0 -223
- package/dist/TvRadioDownloadView-ByABG_YW.js +0 -41
- package/dist/TvRadioDownloadView-CitV60kZ.cjs +0 -1
- package/dist/TvRequestProgramView-CYc5nAEt.cjs +0 -1
- package/dist/TvRequestProgramView-Dm5Bra4d.js +0 -267
- package/dist/TvRequests-Bcy68aT5.js +0 -227
- package/dist/TvRequests-l_Xv-rcr.cjs +0 -1
- package/dist/TvSearchBar-5J6420z2.cjs +0 -1
- package/dist/TvSearchBar-KZqcg7G0.js +0 -95
- package/dist/TvSearchResultsView-BTONTtMg.cjs +0 -1
- package/dist/TvSearchResultsView-CMsq8ehS.js +0 -212
- package/dist/TvTabs-CrQVKuod.js +0 -88
- package/dist/TvTabs-JuCI2Ea7.cjs +0 -1
- package/dist/TypeHelper-Dt2Y9Wc4.js +0 -14
- package/dist/TypeHelper-Z2rqPzup.cjs +0 -1
- package/dist/UseAlerts-B2BbQeN3.js +0 -39
- package/dist/UseAlerts-pIg83NsO.cjs +0 -1
- package/dist/UseFetchAll-BaDVJFdj.cjs +0 -1
- package/dist/UseFetchAll-DYGA8s5a.js +0 -147
- package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +0 -1
- package/dist/UseGetMediaQueryString-Dc_jP0rr.js +0 -226
- package/dist/UseHandleDialogError-BJHsOnKn.js +0 -9
- package/dist/UseHandleDialogError-PbyWsVaT.cjs +0 -1
- package/dist/UseHandleObjectError-CBFN1Ill.cjs +0 -1
- package/dist/UseHandleObjectError-DAhDbPEo.js +0 -16
- package/dist/UseHover-CLOLtbUV.cjs +0 -1
- package/dist/UseHover-Cc_d5rRf.js +0 -85
- package/dist/UseSelectAllPages-04737Rdu.cjs +0 -1
- package/dist/UseSelectAllPages-Cnk3MEAt.js +0 -149
- package/dist/VideoHelper-3AKe5Jyy.js +0 -477
- package/dist/VideoHelper-BQ7rWUw0.cjs +0 -1
- package/dist/VideoList-SNG1hmoL.cjs +0 -49
- package/dist/VideoList-s7lvSqSs.js +0 -2622
- package/dist/VideoRequests-CpDXl7E_.cjs +0 -1
- package/dist/VideoRequests-DlUeYLjl.js +0 -225
- package/dist/VideoSortSelect-3JfrvPfj.cjs +0 -1
- package/dist/VideoSortSelect-DS9Uvc-S.js +0 -116
- package/dist/VisibleOnSvg-BisjF586.cjs +0 -1
- package/dist/VisibleOnSvg-WDCQPPvV.js +0 -33
- package/dist/app-2U039aX_.js +0 -67680
- package/dist/app-DcIbciDa.cjs +0 -454
- package/dist/app.js +0 -1
- package/dist/getRegionInfo-B_h_jjAy.js +0 -31
- package/dist/getRegionInfo-Bs5JKG7h.cjs +0 -1
- package/dist/index-CGkY5YVS.cjs +0 -1
- package/dist/index-DUgR-v-j.js +0 -885
- package/dist/toLocalTime-Bt8Uy4Kq.js +0 -15
- package/dist/toLocalTime-DF9SIfIt.cjs +0 -1
- package/dist/useBreakpoints-37V489ap.js +0 -66
- package/dist/useBreakpoints-B-bcgx-L.cjs +0 -1
- package/dist/useGetExchangeActions-BwXrBSH-.cjs +0 -1
- package/dist/useGetExchangeActions-C8Y1FNSl.js +0 -176
- package/dist/useGetTvActions-CmEBdHbw.cjs +0 -1
- package/dist/useGetTvActions-DENrO3wZ.js +0 -54
- package/dist/useHandleRegionError-BNRrs6y8.cjs +0 -1
- package/dist/useHandleRegionError-BNxhNPKP.js +0 -10
- package/dist/usePreviewContext--ihfEi4P.js +0 -14
- package/dist/usePreviewContext-DjpFhe3I.cjs +0 -1
- package/dist/useSelectedRegion-7_2s4QQF.js +0 -16
- package/dist/useSelectedRegion-D3Xsu2Ut.cjs +0 -1
- package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +0 -1
- package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +0 -57
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { ab as D, ac as H, ad as U, A as I, a as v, b as x, j as e, c as W, R as A, ay as L, ao as $, a1 as h, aQ as B, aR as V, l as G, L as Y, aA as F } from "./app-2U039aX_.js";
|
|
2
|
-
import { h as q } from "./HttpErrorHandlers-DKqNIMOg.js";
|
|
3
|
-
import { u as K } from "./UseHandleObjectError-DAhDbPEo.js";
|
|
4
|
-
import { P as C, A as R, a as Z } from "./ProgramType-FpE5cuZV.js";
|
|
5
|
-
import { T as z, a as Q } from "./TvTabs-CrQVKuod.js";
|
|
6
|
-
import { T as X, a as J } from "./TvSearchBar-KZqcg7G0.js";
|
|
7
|
-
import { T as j } from "./TvRequests-Bcy68aT5.js";
|
|
8
|
-
import { u as ee } from "./useHandleRegionError-BNxhNPKP.js";
|
|
9
|
-
import { u as ae } from "./useSelectedRegion-7_2s4QQF.js";
|
|
10
|
-
import { t as te } from "./toLocalTime-Bt8Uy4Kq.js";
|
|
11
|
-
import { P as se } from "./PillTabSelector-B5V2rqf0.js";
|
|
12
|
-
import { L as ne } from "./LazyImage-DBQklqeJ.js";
|
|
13
|
-
import { T as re } from "./TvProgramTimeBadge-BtQKNLz2.js";
|
|
14
|
-
const oe = "_pillTabSelector_1d8n6_1", ie = {
|
|
15
|
-
pillTabSelector: oe
|
|
16
|
-
}, N = [
|
|
17
|
-
"#",
|
|
18
|
-
"A",
|
|
19
|
-
"B",
|
|
20
|
-
"C",
|
|
21
|
-
"D",
|
|
22
|
-
"E",
|
|
23
|
-
"F",
|
|
24
|
-
"G",
|
|
25
|
-
"H",
|
|
26
|
-
"I",
|
|
27
|
-
"J",
|
|
28
|
-
"K",
|
|
29
|
-
"L",
|
|
30
|
-
"M",
|
|
31
|
-
"N",
|
|
32
|
-
"O",
|
|
33
|
-
"P",
|
|
34
|
-
"Q",
|
|
35
|
-
"R",
|
|
36
|
-
"S",
|
|
37
|
-
"T",
|
|
38
|
-
"U",
|
|
39
|
-
"V",
|
|
40
|
-
"W",
|
|
41
|
-
"X",
|
|
42
|
-
"Y",
|
|
43
|
-
"Z"
|
|
44
|
-
], ce = {
|
|
45
|
-
actionType: U.Click,
|
|
46
|
-
entity: H.Url,
|
|
47
|
-
location: D.MagicTabs
|
|
48
|
-
};
|
|
49
|
-
function le(s) {
|
|
50
|
-
const { startsWith: r, region: n } = s;
|
|
51
|
-
let t = r;
|
|
52
|
-
t === "0" && (t = "#");
|
|
53
|
-
const o = N.map((a) => {
|
|
54
|
-
let d = a;
|
|
55
|
-
d === "#" && (d = "0");
|
|
56
|
-
const i = {
|
|
57
|
-
application: x.TV,
|
|
58
|
-
action: v.Tv.PROGRAMS,
|
|
59
|
-
args: [n == null ? void 0 : n.code],
|
|
60
|
-
params: { startsWith: d }
|
|
61
|
-
};
|
|
62
|
-
return {
|
|
63
|
-
name: a,
|
|
64
|
-
appLink: i,
|
|
65
|
-
active: t === a,
|
|
66
|
-
analyticsData: {
|
|
67
|
-
name: a,
|
|
68
|
-
url: I.getHref(i)
|
|
69
|
-
},
|
|
70
|
-
analyticsOptions: ce
|
|
71
|
-
};
|
|
72
|
-
});
|
|
73
|
-
return /* @__PURE__ */ e.jsx("div", { className: "mb-3", children: /* @__PURE__ */ e.jsx(
|
|
74
|
-
se,
|
|
75
|
-
{
|
|
76
|
-
tabs: o,
|
|
77
|
-
className: ie.pillTabSelector
|
|
78
|
-
}
|
|
79
|
-
) });
|
|
80
|
-
}
|
|
81
|
-
const de = "_dateContainer_b9acj_1", me = "_hover_b9acj_4", ge = "_channelLogo_b9acj_7", ue = "_channelLogoContainer_b9acj_10", he = "_programsContainer_b9acj_13", pe = "_date_b9acj_1", fe = "_thumbnail_b9acj_27", m = {
|
|
82
|
-
dateContainer: de,
|
|
83
|
-
hover: me,
|
|
84
|
-
channelLogo: ge,
|
|
85
|
-
channelLogoContainer: ue,
|
|
86
|
-
programsContainer: he,
|
|
87
|
-
date: pe,
|
|
88
|
-
thumbnail: fe
|
|
89
|
-
};
|
|
90
|
-
function je(s) {
|
|
91
|
-
function r(n) {
|
|
92
|
-
const t = W.findWhere(s.channels, { name: n });
|
|
93
|
-
return t == null ? void 0 : t.logoUrl;
|
|
94
|
-
}
|
|
95
|
-
return /* @__PURE__ */ e.jsx("div", { className: "mb-2", children: s.groupedPrograms.map(([n, t]) => /* @__PURE__ */ e.jsxs("div", { className: "border-top d-flex pt-3 pb-2", children: [
|
|
96
|
-
/* @__PURE__ */ e.jsx("div", { className: `${m.channelLogoContainer} flex-shrink-0 mb-3`, children: /* @__PURE__ */ e.jsx("img", { src: r(n), alt: n, className: `${m.channelLogo} ms-4` }) }),
|
|
97
|
-
/* @__PURE__ */ e.jsx("div", { className: "w-100", children: t.map(([o, a]) => /* @__PURE__ */ e.jsx(ve, { date: o, programs: a, tvPreviewUrls: s.tvPreviewUrls }, o)) })
|
|
98
|
-
] }, n)) });
|
|
99
|
-
}
|
|
100
|
-
function ve(s) {
|
|
101
|
-
const [r, n] = A.useState();
|
|
102
|
-
function t(a) {
|
|
103
|
-
switch (a.programType) {
|
|
104
|
-
case C.Video:
|
|
105
|
-
return {
|
|
106
|
-
application: x.TV,
|
|
107
|
-
action: v.Tv.PREVIEW,
|
|
108
|
-
args: [a.regionCode, a.id]
|
|
109
|
-
};
|
|
110
|
-
case C.Audio:
|
|
111
|
-
return {
|
|
112
|
-
application: x.TV,
|
|
113
|
-
action: v.Tv.RADIO_DOWNLOAD,
|
|
114
|
-
args: [a.id]
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
function o(a) {
|
|
119
|
-
const d = s.tvPreviewUrls[a.regionCode], i = a.globalId.split("-").join("");
|
|
120
|
-
return `${d}/thumbnail/${i}.jpg`;
|
|
121
|
-
}
|
|
122
|
-
return /* @__PURE__ */ e.jsx(
|
|
123
|
-
"div",
|
|
124
|
-
{
|
|
125
|
-
className: `${m.dateContainer} ${r ? m.hover : ""} py-2 px-3 rounded`,
|
|
126
|
-
children: /* @__PURE__ */ e.jsxs("div", { className: "d-flex align-items-center", children: [
|
|
127
|
-
/* @__PURE__ */ e.jsx("div", { className: `${m.thumbnail} flex-shrink-0 me-3 partial-loading-background rounded`, children: /* @__PURE__ */ e.jsx(
|
|
128
|
-
ne,
|
|
129
|
-
{
|
|
130
|
-
src: o(r || s.programs[0]),
|
|
131
|
-
alt: L.format(s.date, "D MMM"),
|
|
132
|
-
extraClasses: "w-100 rounded"
|
|
133
|
-
}
|
|
134
|
-
) }),
|
|
135
|
-
/* @__PURE__ */ e.jsxs("p", { className: `${m.date} fw-semibold flex-shrink-0 mb-0`, children: [
|
|
136
|
-
L.format(s.date, "D MMM"),
|
|
137
|
-
":"
|
|
138
|
-
] }),
|
|
139
|
-
/* @__PURE__ */ e.jsx("div", { className: `${m.programsContainer} d-flex flex-wrap`, children: s.programs.map((a) => /* @__PURE__ */ e.jsx(
|
|
140
|
-
"div",
|
|
141
|
-
{
|
|
142
|
-
onMouseEnter: () => n(a),
|
|
143
|
-
onMouseLeave: () => n(null),
|
|
144
|
-
children: /* @__PURE__ */ e.jsx($, { appLink: t(a), className: "text-decoration-none", children: /* @__PURE__ */ e.jsx(re, { program: a, showEndTime: !0, small: !0 }) }, a.id)
|
|
145
|
-
},
|
|
146
|
-
a.id
|
|
147
|
-
)) })
|
|
148
|
-
] }, s.date)
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
const xe = "tv.programs", Te = Y.encloseNamespace(xe), be = /^[a-zA-Z]/;
|
|
153
|
-
function De(s) {
|
|
154
|
-
const r = s.startsWith || "A", n = h(F.config()), t = h(j.region(s.region)), o = h(j.regions()), a = h(j.dateRange(s.region)), d = h(
|
|
155
|
-
t.data && j.channels(t.data.code)
|
|
156
|
-
), i = h(
|
|
157
|
-
t.data && a.data && j.programsByLetter(
|
|
158
|
-
t.data.code,
|
|
159
|
-
r,
|
|
160
|
-
a.data.startDate,
|
|
161
|
-
a.data.endDate
|
|
162
|
-
)
|
|
163
|
-
), { setRegion: S } = ae(), { showTvGuide: y } = B(), E = A.useMemo(() => {
|
|
164
|
-
var _;
|
|
165
|
-
if (!((_ = i.data) != null && _.length))
|
|
166
|
-
return [];
|
|
167
|
-
const g = {};
|
|
168
|
-
i.data.forEach((c) => {
|
|
169
|
-
s.startsWith === "0" && be.test(c.title) || (g[c.title] || (g[c.title] = []), g[c.title].push(c));
|
|
170
|
-
});
|
|
171
|
-
let p = Object.entries(g);
|
|
172
|
-
return p = p.sort(([c], [T]) => c < T ? -1 : 1), p.map(([c, T]) => {
|
|
173
|
-
const w = T.reduce((l, u) => {
|
|
174
|
-
const f = u.channelName;
|
|
175
|
-
l[f] || (l[f] = {});
|
|
176
|
-
const k = te(u.startTime, u.timeZone), b = L.format(k, "YYYY-MM-DD");
|
|
177
|
-
return l[f][b] || (l[f][b] = []), l[f][b].push(u), l;
|
|
178
|
-
}, {}), O = Object.entries(w).map(([l, u]) => [l, Object.entries(u)]);
|
|
179
|
-
return [c, O];
|
|
180
|
-
});
|
|
181
|
-
}, [i.data]);
|
|
182
|
-
[...N, "0"].includes(r) || q(V.BadRequest), ee(t), K([o, i]), G({ title: Te("title") });
|
|
183
|
-
const M = t.hasCompleted && o.hasCompleted && a.hasCompleted && i.hasCompleted && n.hasCompleted;
|
|
184
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
185
|
-
/* @__PURE__ */ e.jsx(X, { region: t.data }),
|
|
186
|
-
/* @__PURE__ */ e.jsxs("div", { className: "d-flex justify-content-between", children: [
|
|
187
|
-
/* @__PURE__ */ e.jsx(
|
|
188
|
-
z,
|
|
189
|
-
{
|
|
190
|
-
active: "programs",
|
|
191
|
-
currentRegion: t.data,
|
|
192
|
-
showTvGuide: y
|
|
193
|
-
}
|
|
194
|
-
),
|
|
195
|
-
/* @__PURE__ */ e.jsx(
|
|
196
|
-
J,
|
|
197
|
-
{
|
|
198
|
-
currentRegion: t.data,
|
|
199
|
-
regions: o.data,
|
|
200
|
-
appLink: {
|
|
201
|
-
application: x.TV,
|
|
202
|
-
action: v.Tv.PROGRAMS,
|
|
203
|
-
params: { startsWith: r }
|
|
204
|
-
},
|
|
205
|
-
onClick: S
|
|
206
|
-
}
|
|
207
|
-
)
|
|
208
|
-
] }),
|
|
209
|
-
/* @__PURE__ */ e.jsx(Q, { dateRange: a.data, region: t.data }),
|
|
210
|
-
/* @__PURE__ */ e.jsx(le, { startsWith: r, region: t.data }),
|
|
211
|
-
M ? /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(R, { children: E.map(([g, p], P) => /* @__PURE__ */ e.jsx(R.Header, { title: g, children: /* @__PURE__ */ e.jsx(
|
|
212
|
-
je,
|
|
213
|
-
{
|
|
214
|
-
groupedPrograms: p,
|
|
215
|
-
channels: d.data,
|
|
216
|
-
tvPreviewUrls: n.data.tvPreviewUrls
|
|
217
|
-
}
|
|
218
|
-
) }, P)) }) }) : /* @__PURE__ */ e.jsx(Z, {})
|
|
219
|
-
] });
|
|
220
|
-
}
|
|
221
|
-
export {
|
|
222
|
-
De as TvProgramsView
|
|
223
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { a1 as o, j as a, P as g, L as h, x as i, B as u, aA as x } from "./app-2U039aX_.js";
|
|
2
|
-
import { T as j } from "./TvProgramTimeBadge-BtQKNLz2.js";
|
|
3
|
-
import { T as r } from "./TvRequests-Bcy68aT5.js";
|
|
4
|
-
const l = "tv.radioDownload", d = h.encloseNamespace(l);
|
|
5
|
-
function b(s) {
|
|
6
|
-
const t = o(x.config()), e = o(r.program(s.id)), c = o(r.region(s.region));
|
|
7
|
-
function m() {
|
|
8
|
-
var n;
|
|
9
|
-
const p = (n = e.data) == null ? void 0 : n.globalId.split("-").join("");
|
|
10
|
-
return `${t.data.tvPreviewUrls[c.data.code]}/audio/${p}.mp3`;
|
|
11
|
-
}
|
|
12
|
-
return t.hasCompleted && e.hasCompleted ? /* @__PURE__ */ a.jsxs(
|
|
13
|
-
g,
|
|
14
|
-
{
|
|
15
|
-
title: d("title"),
|
|
16
|
-
closePopup: s.closePopup,
|
|
17
|
-
showLoadingSpinner: !e.hasCompleted,
|
|
18
|
-
children: [
|
|
19
|
-
e.data && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
20
|
-
/* @__PURE__ */ a.jsx("p", { className: "fw-semibold mb-2", children: e.data.title }),
|
|
21
|
-
/* @__PURE__ */ a.jsx("div", { className: "d-flex mb-2", children: /* @__PURE__ */ a.jsx(j, { program: e.data, showDate: !0, showEndTime: !0 }) }),
|
|
22
|
-
/* @__PURE__ */ a.jsx("p", { children: e.data.description })
|
|
23
|
-
] }),
|
|
24
|
-
/* @__PURE__ */ a.jsxs(i, { children: [
|
|
25
|
-
/* @__PURE__ */ a.jsx(
|
|
26
|
-
i.Cancel,
|
|
27
|
-
{
|
|
28
|
-
text: d("cancel"),
|
|
29
|
-
onClick: s.closePopup,
|
|
30
|
-
variant: "link"
|
|
31
|
-
}
|
|
32
|
-
),
|
|
33
|
-
/* @__PURE__ */ a.jsx("a", { target: "_blank", href: m(), className: "btn btn-dark", children: /* @__PURE__ */ a.jsx(u, { namespace: l, phrase: "download" }) })
|
|
34
|
-
] })
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
) : /* @__PURE__ */ a.jsx(a.Fragment, {});
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
b as TvRadioDownloadView
|
|
41
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs"),l=require("./TvProgramTimeBadge-DPJu73xG.cjs"),a=require("./TvRequests-l_Xv-rcr.cjs"),r="tv.radioDownload",i=e.LanguageService.encloseNamespace(r);function x(s){const o=e.useBasicFetch(e.ConfigRequests.config()),t=e.useBasicFetch(a.TvRequests.program(s.id)),d=e.useBasicFetch(a.TvRequests.region(s.region));function c(){var n;const u=(n=t.data)==null?void 0:n.globalId.split("-").join("");return`${o.data.tvPreviewUrls[d.data.code]}/audio/${u}.mp3`}return o.hasCompleted&&t.hasCompleted?e.jsxRuntimeExports.jsxs(e.Popup,{title:i("title"),closePopup:s.closePopup,showLoadingSpinner:!t.hasCompleted,children:[t.data&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("p",{className:"fw-semibold mb-2",children:t.data.title}),e.jsxRuntimeExports.jsx("div",{className:"d-flex mb-2",children:e.jsxRuntimeExports.jsx(l.TvProgramTimeBadge,{program:t.data,showDate:!0,showEndTime:!0})}),e.jsxRuntimeExports.jsx("p",{children:t.data.description})]}),e.jsxRuntimeExports.jsxs(e.PopupButtons,{children:[e.jsxRuntimeExports.jsx(e.PopupButtons.Cancel,{text:i("cancel"),onClick:s.closePopup,variant:"link"}),e.jsxRuntimeExports.jsx("a",{target:"_blank",href:c(),className:"btn btn-dark",children:e.jsxRuntimeExports.jsx(e.Text,{namespace:r,phrase:"download"})})]})]}):e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{})}exports.TvRadioDownloadView=x;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs"),t=require("./FormField-Cb2l2GMO.cjs"),F=require("./InstanceRegion-C7aJEkFV.cjs"),V=require("./UseAlerts-pIg83NsO.cjs"),Y=require("./useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs"),E=require("./TvRequests-l_Xv-rcr.cjs"),I=require("./getRegionInfo-Bs5JKG7h.cjs"),M=require("./FormButtons-CDOsf9A-.cjs");var C=(s=>(s.Integrations="4407268725529",s.Classrooms="4405362551833",s.MakeInteractive="4405370510873",s.EditSsoAccounts="8202605666073",s.UploadToLibraryEditor="10672936659865",s.AddFromLite="10671345281561",s.ManageSsoYearGroups="14691130889241",s.ContentReview="18525199576601",s.ContentPermissions="14692125209497",s.AccessSettings="27927466562201",s.ContentGuidelines="24133696186009",s.FoxtelFaq="24133519542169",s.ViviIntegration="23826297956377",s.AppleTvIntegration="25832373739929",s.RssFeed="32567445635097",s.ManageGroupPermissions="35407217335705",s.MarcFormatDifferences="48276917260441",s.ExportLibraries="17684275853465",s))(C||{}),y=(s=>(s[s.BbcRes=0]="BbcRes",s))(y||{});const $="tv.requestProgramValidation",p=e.LanguageService.encloseNamespace($);function L(s){return s?t.libExports.object().shape({channelId:t.libExports.string().required(p("channelRequired")),title:t.libExports.string().required(p("programRequired")),broadcastDate:t.libExports.string().required(p("dateRequired")),broadcastTime:t.libExports.string().required(p("timeRequired")),closedCaptions:t.libExports.string(),comments:t.libExports.string()}):t.libExports.object().shape({title:t.libExports.string().required(p("programRequired")),comments:t.libExports.string()})}const x="tv.requestProgramForm",o=e.LanguageService.encloseNamespace(x);function G(s){const c=e.useFormikContext(),g=e.DateHelper.format(e.DateHelper.add(new Date,4,"days"),"YYYY-MM-DD"),i=e.DateHelper.format(e.DateHelper.add(g,11,"days"),"YYYY-MM-DD"),n=I.getRegionInfo(s.instanceRegion);return e.jsxRuntimeExports.jsxs(e.Form,{children:[s.channels&&e.jsxRuntimeExports.jsxs(t.FormField,{as:"select",label:o("channelLabel"),name:"channelId",value:c.values.channelId,showRequiredStar:!0,children:[e.jsxRuntimeExports.jsx("option",{value:"",children:e.LanguageService.getPhrase(x,"channelPlaceholder")},0),s.channels.map(l=>e.jsxRuntimeExports.jsx("option",{value:l.id,children:`${l.name} - (${l.number})`},l.id))]}),e.jsxRuntimeExports.jsx(t.FormField,{label:o("programLabel"),placeholder:o("programPlaceholder"),type:"text",name:"title",value:c.values.title,showRequiredStar:!0}),s.channels&&e.jsxRuntimeExports.jsxs("div",{className:"d-flex",children:[e.jsxRuntimeExports.jsx("div",{className:"w-50 me-2",children:e.jsxRuntimeExports.jsx(t.FormField,{label:o("broadcastDateLabel"),type:"date",name:"broadcastDate",value:c.values.broadcastDate,min:g,max:i,showRequiredStar:!0})}),e.jsxRuntimeExports.jsx("div",{className:"w-50",children:e.jsxRuntimeExports.jsx(t.FormField,{label:o("broadcastTimeLabel"),type:"time",name:"broadcastTime",value:c.values.broadcastTime,className:"mb-0",showRequiredStar:!0})})]}),e.jsxRuntimeExports.jsx("p",{className:"mt-n1",children:e.jsxRuntimeExports.jsx("small",{children:e.jsxRuntimeExports.jsx(e.Text,{namespace:x,phrase:n.programGuidePhraseKey})})}),s.channels&&e.jsxRuntimeExports.jsxs("div",{className:"d-flex",children:[e.jsxRuntimeExports.jsx("div",{className:"w-50 me-2",children:e.jsxRuntimeExports.jsxs(t.FormField,{as:"select",label:o("ccLabel"),name:"closedCaptions",value:c.values.closedCaptions,children:[e.jsxRuntimeExports.jsx("option",{value:"",children:e.LanguageService.getPhrase(x,"ccNo")}),e.jsxRuntimeExports.jsx("option",{value:"yes",children:e.LanguageService.getPhrase(x,"ccYes")})]})}),e.jsxRuntimeExports.jsx("div",{className:"w-50"})]}),e.jsxRuntimeExports.jsx(t.FormField,{label:o(s.channels?"commentsLabel":"additionalInfoLabel"),placeholder:o(s.channels?"commentsPlaceholder":"additionalInfoPlaceholder"),type:"text",name:"comments",value:c.values.comments}),e.jsxRuntimeExports.jsx("p",{children:e.jsxRuntimeExports.jsx(e.Text,{namespace:x,phrase:"note",options:{tv:n.tv}})}),e.jsxRuntimeExports.jsxs(e.PopupButtons,{children:[e.jsxRuntimeExports.jsx(e.PopupButtons.Cancel,{text:o("cancel"),onClick:s.onClickCancel,variant:"link"}),e.jsxRuntimeExports.jsx(M.FormButtons,{variant:"dark",submitText:o("request")})]})]})}const A={channelId:"",title:"",broadcastDate:"",broadcastTime:"",closedCaptions:"",comments:""},j="tv.requestProgram",R=e.LanguageService.encloseNamespace(j);function S(s){const c=e.useGetFetchAsync(),g=V.useAlerts(),i=s.instanceRegion===F.InstanceRegion.AU,n=e.useBasicFetch(e.UserRequests.currentUser()),l=s.instanceRegion===F.InstanceRegion.UK,b=e.useBasicFetch(l&&e.CustomerRequests.customer(n.data.customerId)),v=e.useBasicFetch(i&&E.TvRequests.payTvChannels()),m=I.getRegionInfo(s.instanceRegion);function w(){s.closePopup()}const{loading:D,handleGenerateReportError:N}=Y.useVerifiedEmailRequiredErrorHandler();function U(a){var d;if(i){const r=(d=v.data)==null?void 0:d.find(h=>String(h.id)===a.channelId);g.success(R("successChannel",{tv:m.tv,program:a.title,channel:r==null?void 0:r.name})),e.AnalyticsHelper.logUserAction({channel:r.id,name:r.name,program:a.title,region:s.region},{actionType:e.UserAction.Submit,entity:e.EntityType.Video,location:e.LocationContext.Popup,workflowPhase:e.WorkflowPhase.Complete,descriptor:e.TvDescriptor.RequestProgram})}else g.success(R("successNoChannel",{tv:m.tv,program:a.title})),e.AnalyticsHelper.logUserAction({program:a.title,region:s.region},{actionType:e.UserAction.Submit,entity:e.EntityType.Video,location:e.LocationContext.Popup,workflowPhase:e.WorkflowPhase.Complete,descriptor:e.TvDescriptor.RequestProgram})}function k(a){var q,P,f,T;const{broadcastDate:d,broadcastTime:r,closedCaptions:h,...u}=a;return l?{title:u.title,comments:u.comments,crmId:b.data.crmId,customerName:b.data.name,email:n.data.email,type:y.BbcRes,username:n.data.username}:i?{...u,closedCaptions:!!h,regionCode:s.region,programDateTime:`${d}T${r}`,userId:(q=n.data)==null?void 0:q.id,customerId:(P=n.data)==null?void 0:P.customerId}:{...u,regionCode:s.region,userId:(f=n.data)==null?void 0:f.id,customerId:(T=n.data)==null?void 0:T.customerId}}async function B(a,d){const r=k(a),h=l?E.TvRequests.requestProgramUk(r):E.TvRequests.requestProgram(r);try{await c(h),d(),U(a)}catch(u){N(u,R("error"),R("noEmailError"))}s.closePopup()}const H=n.hasCompleted&&(i&&v.hasCompleted||!i);return e.jsxRuntimeExports.jsxs(e.Popup,{title:R("title",{tv:m.tv}),closePopup:s.closePopup,showLoadingSpinner:!H||D,children:[E.TvUtils.isHolidayPeriod()&&e.jsxRuntimeExports.jsxs("div",{className:"alert alert-warning",role:"alert",children:[e.jsxRuntimeExports.jsx("h3",{className:"h5",children:e.jsxRuntimeExports.jsx(e.Text,{namespace:j,phrase:"requestAlertHeading"})}),e.jsxRuntimeExports.jsx("p",{className:"m-0",children:e.jsxRuntimeExports.jsx(e.Text,{namespace:j,phrase:"requestAlertBody",options:{tv:m.tv}})})]}),e.jsxRuntimeExports.jsx("p",{children:e.jsxRuntimeExports.jsx(e.Text,{namespace:j,phrase:"description",options:{tv:m.tv}})}),e.jsxRuntimeExports.jsx("p",{children:e.jsxRuntimeExports.jsx(e.Text,{namespace:j,phrase:"moreInfo",options:{tv:m.tv,faqUrl:e.ArticleHelper.getLiteArticle(C.FoxtelFaq)}})}),v&&e.jsxRuntimeExports.jsx(t.FormWrapper,{initialValues:A,validationSchema:L(i),onSubmit:B,children:e.jsxRuntimeExports.jsx(G,{onClickCancel:w,channels:i&&v.data,instanceRegion:s.instanceRegion})})]})}exports.TvRequestProgramView=S;
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import { L as v, aI as O, ay as R, j as a, $ as Q, B as x, x as D, a0 as X, a1 as C, a2 as Z, P as S, bt as ee, a3 as ae, a9 as U, aP as k, aa as E, ab as Y, ac as B, ad as V } from "./app-2U039aX_.js";
|
|
2
|
-
import { l as o, F as h, a as se } from "./FormField-DYeERWxm.js";
|
|
3
|
-
import { I as $ } from "./InstanceRegion-DQlzs4EK.js";
|
|
4
|
-
import { u as ne } from "./UseAlerts-B2BbQeN3.js";
|
|
5
|
-
import { u as te } from "./useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js";
|
|
6
|
-
import { a as oe, T as I } from "./TvRequests-Bcy68aT5.js";
|
|
7
|
-
import { g as M } from "./getRegionInfo-B_h_jjAy.js";
|
|
8
|
-
import { F as re } from "./FormButtons-fQkvwYsy.js";
|
|
9
|
-
var G = /* @__PURE__ */ ((e) => (e.Integrations = "4407268725529", e.Classrooms = "4405362551833", e.MakeInteractive = "4405370510873", e.EditSsoAccounts = "8202605666073", e.UploadToLibraryEditor = "10672936659865", e.AddFromLite = "10671345281561", e.ManageSsoYearGroups = "14691130889241", e.ContentReview = "18525199576601", e.ContentPermissions = "14692125209497", e.AccessSettings = "27927466562201", e.ContentGuidelines = "24133696186009", e.FoxtelFaq = "24133519542169", e.ViviIntegration = "23826297956377", e.AppleTvIntegration = "25832373739929", e.RssFeed = "32567445635097", e.ManageGroupPermissions = "35407217335705", e.MarcFormatDifferences = "48276917260441", e.ExportLibraries = "17684275853465", e))(G || {}), H = /* @__PURE__ */ ((e) => (e[e.BbcRes = 0] = "BbcRes", e))(H || {});
|
|
10
|
-
const ie = "tv.requestProgramValidation", f = v.encloseNamespace(ie);
|
|
11
|
-
function ce(e) {
|
|
12
|
-
return e ? o.object().shape({
|
|
13
|
-
channelId: o.string().required(f("channelRequired")),
|
|
14
|
-
title: o.string().required(f("programRequired")),
|
|
15
|
-
broadcastDate: o.string().required(f("dateRequired")),
|
|
16
|
-
broadcastTime: o.string().required(f("timeRequired")),
|
|
17
|
-
closedCaptions: o.string(),
|
|
18
|
-
comments: o.string()
|
|
19
|
-
}) : o.object().shape({
|
|
20
|
-
title: o.string().required(f("programRequired")),
|
|
21
|
-
comments: o.string()
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
const g = "tv.requestProgramForm", r = v.encloseNamespace(g);
|
|
25
|
-
function le(e) {
|
|
26
|
-
const c = O(), b = R.format(R.add(/* @__PURE__ */ new Date(), 4, "days"), "YYYY-MM-DD"), i = R.format(R.add(b, 11, "days"), "YYYY-MM-DD"), s = M(e.instanceRegion);
|
|
27
|
-
return /* @__PURE__ */ a.jsxs(Q, { children: [
|
|
28
|
-
e.channels && /* @__PURE__ */ a.jsxs(
|
|
29
|
-
h,
|
|
30
|
-
{
|
|
31
|
-
as: "select",
|
|
32
|
-
label: r("channelLabel"),
|
|
33
|
-
name: "channelId",
|
|
34
|
-
value: c.values.channelId,
|
|
35
|
-
showRequiredStar: !0,
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ a.jsx("option", { value: "", children: v.getPhrase(g, "channelPlaceholder") }, 0),
|
|
38
|
-
e.channels.map((l) => /* @__PURE__ */ a.jsx("option", { value: l.id, children: `${l.name} - (${l.number})` }, l.id))
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
),
|
|
42
|
-
/* @__PURE__ */ a.jsx(
|
|
43
|
-
h,
|
|
44
|
-
{
|
|
45
|
-
label: r("programLabel"),
|
|
46
|
-
placeholder: r("programPlaceholder"),
|
|
47
|
-
type: "text",
|
|
48
|
-
name: "title",
|
|
49
|
-
value: c.values.title,
|
|
50
|
-
showRequiredStar: !0
|
|
51
|
-
}
|
|
52
|
-
),
|
|
53
|
-
e.channels && /* @__PURE__ */ a.jsxs("div", { className: "d-flex", children: [
|
|
54
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-50 me-2", children: /* @__PURE__ */ a.jsx(
|
|
55
|
-
h,
|
|
56
|
-
{
|
|
57
|
-
label: r("broadcastDateLabel"),
|
|
58
|
-
type: "date",
|
|
59
|
-
name: "broadcastDate",
|
|
60
|
-
value: c.values.broadcastDate,
|
|
61
|
-
min: b,
|
|
62
|
-
max: i,
|
|
63
|
-
showRequiredStar: !0
|
|
64
|
-
}
|
|
65
|
-
) }),
|
|
66
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-50", children: /* @__PURE__ */ a.jsx(
|
|
67
|
-
h,
|
|
68
|
-
{
|
|
69
|
-
label: r("broadcastTimeLabel"),
|
|
70
|
-
type: "time",
|
|
71
|
-
name: "broadcastTime",
|
|
72
|
-
value: c.values.broadcastTime,
|
|
73
|
-
className: "mb-0",
|
|
74
|
-
showRequiredStar: !0
|
|
75
|
-
}
|
|
76
|
-
) })
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ a.jsx("p", { className: "mt-n1", children: /* @__PURE__ */ a.jsx("small", { children: /* @__PURE__ */ a.jsx(x, { namespace: g, phrase: s.programGuidePhraseKey }) }) }),
|
|
79
|
-
e.channels && /* @__PURE__ */ a.jsxs("div", { className: "d-flex", children: [
|
|
80
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-50 me-2", children: /* @__PURE__ */ a.jsxs(
|
|
81
|
-
h,
|
|
82
|
-
{
|
|
83
|
-
as: "select",
|
|
84
|
-
label: r("ccLabel"),
|
|
85
|
-
name: "closedCaptions",
|
|
86
|
-
value: c.values.closedCaptions,
|
|
87
|
-
children: [
|
|
88
|
-
/* @__PURE__ */ a.jsx("option", { value: "", children: v.getPhrase(g, "ccNo") }),
|
|
89
|
-
/* @__PURE__ */ a.jsx("option", { value: "yes", children: v.getPhrase(g, "ccYes") })
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
) }),
|
|
93
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-50" })
|
|
94
|
-
] }),
|
|
95
|
-
/* @__PURE__ */ a.jsx(
|
|
96
|
-
h,
|
|
97
|
-
{
|
|
98
|
-
label: r(e.channels ? "commentsLabel" : "additionalInfoLabel"),
|
|
99
|
-
placeholder: r(e.channels ? "commentsPlaceholder" : "additionalInfoPlaceholder"),
|
|
100
|
-
type: "text",
|
|
101
|
-
name: "comments",
|
|
102
|
-
value: c.values.comments
|
|
103
|
-
}
|
|
104
|
-
),
|
|
105
|
-
/* @__PURE__ */ a.jsx("p", { children: /* @__PURE__ */ a.jsx(x, { namespace: g, phrase: "note", options: { tv: s.tv } }) }),
|
|
106
|
-
/* @__PURE__ */ a.jsxs(D, { children: [
|
|
107
|
-
/* @__PURE__ */ a.jsx(
|
|
108
|
-
D.Cancel,
|
|
109
|
-
{
|
|
110
|
-
text: r("cancel"),
|
|
111
|
-
onClick: e.onClickCancel,
|
|
112
|
-
variant: "link"
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
/* @__PURE__ */ a.jsx(re, { variant: "dark", submitText: r("request") })
|
|
116
|
-
] })
|
|
117
|
-
] });
|
|
118
|
-
}
|
|
119
|
-
const de = {
|
|
120
|
-
channelId: "",
|
|
121
|
-
title: "",
|
|
122
|
-
broadcastDate: "",
|
|
123
|
-
broadcastTime: "",
|
|
124
|
-
closedCaptions: "",
|
|
125
|
-
comments: ""
|
|
126
|
-
}, p = "tv.requestProgram", P = v.encloseNamespace(p);
|
|
127
|
-
function fe(e) {
|
|
128
|
-
const c = X(), b = ne(), i = e.instanceRegion === $.AU, s = C(ae.currentUser()), l = e.instanceRegion === $.UK, y = C(l && Z.customer(s.data.customerId)), q = C(
|
|
129
|
-
i && I.payTvChannels()
|
|
130
|
-
), d = M(e.instanceRegion);
|
|
131
|
-
function K() {
|
|
132
|
-
e.closePopup();
|
|
133
|
-
}
|
|
134
|
-
const { loading: A, handleGenerateReportError: L } = te();
|
|
135
|
-
function W(n) {
|
|
136
|
-
var m;
|
|
137
|
-
if (i) {
|
|
138
|
-
const t = (m = q.data) == null ? void 0 : m.find((j) => String(j.id) === n.channelId);
|
|
139
|
-
b.success(
|
|
140
|
-
P(
|
|
141
|
-
"successChannel",
|
|
142
|
-
{
|
|
143
|
-
tv: d.tv,
|
|
144
|
-
program: n.title,
|
|
145
|
-
channel: t == null ? void 0 : t.name
|
|
146
|
-
}
|
|
147
|
-
)
|
|
148
|
-
), U.logUserAction(
|
|
149
|
-
{ channel: t.id, name: t.name, program: n.title, region: e.region },
|
|
150
|
-
{
|
|
151
|
-
actionType: V.Submit,
|
|
152
|
-
entity: B.Video,
|
|
153
|
-
location: Y.Popup,
|
|
154
|
-
workflowPhase: E.Complete,
|
|
155
|
-
descriptor: k.RequestProgram
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
} else
|
|
159
|
-
b.success(
|
|
160
|
-
P(
|
|
161
|
-
"successNoChannel",
|
|
162
|
-
{
|
|
163
|
-
tv: d.tv,
|
|
164
|
-
program: n.title
|
|
165
|
-
}
|
|
166
|
-
)
|
|
167
|
-
), U.logUserAction(
|
|
168
|
-
{ program: n.title, region: e.region },
|
|
169
|
-
{
|
|
170
|
-
actionType: V.Submit,
|
|
171
|
-
entity: B.Video,
|
|
172
|
-
location: Y.Popup,
|
|
173
|
-
workflowPhase: E.Complete,
|
|
174
|
-
descriptor: k.RequestProgram
|
|
175
|
-
}
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
function _(n) {
|
|
179
|
-
var T, w, F, N;
|
|
180
|
-
const { broadcastDate: m, broadcastTime: t, closedCaptions: j, ...u } = n;
|
|
181
|
-
return l ? {
|
|
182
|
-
title: u.title,
|
|
183
|
-
comments: u.comments,
|
|
184
|
-
crmId: y.data.crmId,
|
|
185
|
-
customerName: y.data.name,
|
|
186
|
-
email: s.data.email,
|
|
187
|
-
type: H.BbcRes,
|
|
188
|
-
username: s.data.username
|
|
189
|
-
} : i ? {
|
|
190
|
-
...u,
|
|
191
|
-
closedCaptions: !!j,
|
|
192
|
-
regionCode: e.region,
|
|
193
|
-
programDateTime: `${m}T${t}`,
|
|
194
|
-
userId: (T = s.data) == null ? void 0 : T.id,
|
|
195
|
-
customerId: (w = s.data) == null ? void 0 : w.customerId
|
|
196
|
-
} : {
|
|
197
|
-
...u,
|
|
198
|
-
regionCode: e.region,
|
|
199
|
-
userId: (F = s.data) == null ? void 0 : F.id,
|
|
200
|
-
customerId: (N = s.data) == null ? void 0 : N.customerId
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
async function z(n, m) {
|
|
204
|
-
const t = _(n), j = l ? I.requestProgramUk(t) : I.requestProgram(t);
|
|
205
|
-
try {
|
|
206
|
-
await c(j), m(), W(n);
|
|
207
|
-
} catch (u) {
|
|
208
|
-
L(u, P("error"), P("noEmailError"));
|
|
209
|
-
}
|
|
210
|
-
e.closePopup();
|
|
211
|
-
}
|
|
212
|
-
const J = s.hasCompleted && (i && q.hasCompleted || !i);
|
|
213
|
-
return /* @__PURE__ */ a.jsxs(
|
|
214
|
-
S,
|
|
215
|
-
{
|
|
216
|
-
title: P("title", { tv: d.tv }),
|
|
217
|
-
closePopup: e.closePopup,
|
|
218
|
-
showLoadingSpinner: !J || A,
|
|
219
|
-
children: [
|
|
220
|
-
oe.isHolidayPeriod() && /* @__PURE__ */ a.jsxs("div", { className: "alert alert-warning", role: "alert", children: [
|
|
221
|
-
/* @__PURE__ */ a.jsx("h3", { className: "h5", children: /* @__PURE__ */ a.jsx(x, { namespace: p, phrase: "requestAlertHeading" }) }),
|
|
222
|
-
/* @__PURE__ */ a.jsx("p", { className: "m-0", children: /* @__PURE__ */ a.jsx(x, { namespace: p, phrase: "requestAlertBody", options: {
|
|
223
|
-
tv: d.tv
|
|
224
|
-
} }) })
|
|
225
|
-
] }),
|
|
226
|
-
/* @__PURE__ */ a.jsx("p", { children: /* @__PURE__ */ a.jsx(
|
|
227
|
-
x,
|
|
228
|
-
{
|
|
229
|
-
namespace: p,
|
|
230
|
-
phrase: "description",
|
|
231
|
-
options: { tv: d.tv }
|
|
232
|
-
}
|
|
233
|
-
) }),
|
|
234
|
-
/* @__PURE__ */ a.jsx("p", { children: /* @__PURE__ */ a.jsx(
|
|
235
|
-
x,
|
|
236
|
-
{
|
|
237
|
-
namespace: p,
|
|
238
|
-
phrase: "moreInfo",
|
|
239
|
-
options: {
|
|
240
|
-
tv: d.tv,
|
|
241
|
-
faqUrl: ee.getLiteArticle(G.FoxtelFaq)
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
) }),
|
|
245
|
-
q && /* @__PURE__ */ a.jsx(
|
|
246
|
-
se,
|
|
247
|
-
{
|
|
248
|
-
initialValues: de,
|
|
249
|
-
validationSchema: ce(i),
|
|
250
|
-
onSubmit: z,
|
|
251
|
-
children: /* @__PURE__ */ a.jsx(
|
|
252
|
-
le,
|
|
253
|
-
{
|
|
254
|
-
onClickCancel: K,
|
|
255
|
-
channels: i && q.data,
|
|
256
|
-
instanceRegion: e.instanceRegion
|
|
257
|
-
}
|
|
258
|
-
)
|
|
259
|
-
}
|
|
260
|
-
)
|
|
261
|
-
]
|
|
262
|
-
}
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
export {
|
|
266
|
-
fe as TvRequestProgramView
|
|
267
|
-
};
|