@saooti/octopus-sdk 42.0.1 → 42.0.3
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/{AdvancedSearch-cAV6nTl-.mjs → AdvancedSearch-CRM10skn.mjs} +5 -5
- package/dist/{CategoryFilter-BABbTJa5.mjs → CategoryFilter-Brp-KFg7.mjs} +3 -3
- package/dist/{CategoryList-DqmUmjNN.mjs → CategoryList-CMOJ2PnA.mjs} +1 -1
- package/dist/{CategoryPage-DHzBdqke.mjs → CategoryPage-Bc37UcZy.mjs} +2 -2
- package/dist/{ChapteringModal-DCNntgwF.mjs → ChapteringModal-CyH6QLeE.mjs} +1 -1
- package/dist/{CheckIdentityModal-DTiQJPgb.mjs → CheckIdentityModal-CHV9trKX.mjs} +2 -2
- package/dist/{ClipboardModal-BmoRjGDj.mjs → ClipboardModal-B0Jt9ME7.mjs} +1 -1
- package/dist/{CommentInput-B7faMDy8.mjs → CommentInput-ChEnqzNa.mjs} +4 -4
- package/dist/{CommentItem-Bn0Kf2qi.mjs → CommentItem-BE3-5CFl.mjs} +3 -3
- package/dist/{CommentList-DbMexENb.mjs → CommentList-B0fDtqIH.mjs} +2 -2
- package/dist/{CommentMoreActions-BELzbEc3.mjs → CommentMoreActions-DFTHxzHB.mjs} +3 -3
- package/dist/{CommentName-CvkHzojR.mjs → CommentName-ByE5TV4u.mjs} +2 -2
- package/dist/{CommentParentInfo-C3RNK7cS.mjs → CommentParentInfo-DyzP495k.mjs} +1 -1
- package/dist/{CommentPlayer-mdFDVETp.mjs → CommentPlayer-2eRUFpll.mjs} +2 -2
- package/dist/{CommentSection-BneFwNRE.mjs → CommentSection-DQx3qX6H.mjs} +3 -3
- package/dist/{CommentStore-BisGIAFG.mjs → CommentStore-C4lkShsH.mjs} +15 -15
- package/dist/{ContractPreviewModal-BKaPbnOD.mjs → ContractPreviewModal-BxOE6aiU.mjs} +2 -2
- package/dist/{DownloadPodcastButton-inrCN9Lv.mjs → DownloadPodcastButton-Dcgt8FfA.mjs} +2 -2
- package/dist/{EditCommentModal-CsLWG1mx.mjs → EditCommentModal-K6D1-4gU.mjs} +1 -1
- package/dist/{EmissionGroupChooser-D704PbSY.mjs → EmissionGroupChooser-B0UXS-d_.mjs} +1 -1
- package/dist/{EmissionInlineList-Ca7Ftxl-.mjs → EmissionInlineList-CRJ4pIxb.mjs} +5 -5
- package/dist/{EmissionItem-zGkYGDhL.mjs → EmissionItem-8WTkKsCa.mjs} +4 -4
- package/dist/{EmissionList-D6I9P5eZ.mjs → EmissionList-ucpW_ejS.mjs} +4 -4
- package/dist/{EmissionPage-Bf7EpgL9.mjs → EmissionPage-B8Nlb52Y.mjs} +8 -8
- package/dist/{EmissionPlayerItem-Cxxd0Ww4.mjs → EmissionPlayerItem-BzuNcAsq.mjs} +3 -3
- package/dist/{EmissionPresentationItem-BAKQrPhw.mjs → EmissionPresentationItem-ZU93UKW2.mjs} +1 -1
- package/dist/{EmissionPresentationList-B2it1lw8.mjs → EmissionPresentationList-LY-FEWC2.mjs} +3 -3
- package/dist/{EmissionsPage-5lwM8gVG.mjs → EmissionsPage-wzpDLmzO.mjs} +4 -4
- package/dist/{Error403Page-K49rHFYk.mjs → Error403Page-DLaOyud0.mjs} +2 -2
- package/dist/{FooterGarSection-DjWZv-sw.mjs → FooterGarSection-BwFRytaV.mjs} +4 -4
- package/dist/{FooterSection-1ewyc90a.mjs → FooterSection-VGdzyEZf.mjs} +2 -2
- package/dist/{HomeDropdown-DzdV-aD7.mjs → HomeDropdown-CNSPuJot.mjs} +2 -2
- package/dist/{HomePage-Chv0SiQt.mjs → HomePage-CGaCXQBm.mjs} +3 -3
- package/dist/{LikeSection-Bmux3FNM.mjs → LikeSection-D_q391TU.mjs} +3 -3
- package/dist/{ListPaginate-twqZX0dt.mjs → ListPaginate-B-PYbP3K.mjs} +2 -2
- package/dist/{LiveHorizontalList-BkwPmaTS.mjs → LiveHorizontalList-CDIDwBWJ.mjs} +3 -3
- package/dist/{LiveList-Bpxpm3PX.mjs → LiveList-Dvxk12Cc.mjs} +12 -12
- package/dist/{LivesPage-CyPXPeEx.mjs → LivesPage-BByFveAd.mjs} +2 -2
- package/dist/{MapPage-kBhfiJmb.mjs → MapPage-w7hUFr9g.mjs} +1 -1
- package/dist/{MobileMenu-CchbL3M7.mjs → MobileMenu-D19pTUkT.mjs} +3 -3
- package/dist/{NewsletterModal-CxLhxaHN.mjs → NewsletterModal-BekCWfJB.mjs} +1 -1
- package/dist/{OrganisationChooser-B6-iPiTl.mjs → OrganisationChooser-ywDaRPU9.mjs} +6 -6
- package/dist/{OrganisationChooserLight-DXeCmYZf.mjs → OrganisationChooserLight-CMNA-YR5.mjs} +2 -2
- package/dist/{PageNotFound-Db2m6Rjg.mjs → PageNotFound-kY0Vk237.mjs} +2 -2
- package/dist/{ParticipantInlineList-BLelbto_.mjs → ParticipantInlineList-n3IcMXXU.mjs} +4 -4
- package/dist/{ParticipantItem-CwfsiGto.mjs → ParticipantItem-CoS5qVct.mjs} +3 -3
- package/dist/{ParticipantPage-BpQ6gU75.mjs → ParticipantPage-CqwpZDjv.mjs} +6 -6
- package/dist/{ParticipantsPage-D677KL6D.mjs → ParticipantsPage-BzZFxuAX.mjs} +6 -6
- package/dist/{PlayerAnonymousModal-yYCWUi_e.mjs → PlayerAnonymousModal-Clf2m_PO.mjs} +2 -2
- package/dist/{PlayerCompact-BMNF7FnP.mjs → PlayerCompact-ff2-h0Ys.mjs} +3 -3
- package/dist/{PlayerComponent-DfqtsgzR.mjs → PlayerComponent-BIZ29VAP.mjs} +52 -52
- package/dist/{PlayerLarge-CrXjFbXf.mjs → PlayerLarge-C958Fkm_.mjs} +5 -5
- package/dist/{PlayerPlayButton-Dhk_llWc.mjs → PlayerPlayButton-DL0e7DAU.mjs} +4 -4
- package/dist/{PlayerProgressBar-CfYM4piM.mjs → PlayerProgressBar-DK9ClWaE.mjs} +2 -2
- package/dist/{PlayerStore-CfDcShSN.mjs → PlayerStore-DlQZRxsf.mjs} +1 -1
- package/dist/{PlayerVideo-C6C_DZM_.mjs → PlayerVideo-BRkaIXH7.mjs} +3 -3
- package/dist/{PlayerVideoDigiteka-wYFRP-35.mjs → PlayerVideoDigiteka-CNfWw0hs.mjs} +2 -2
- package/dist/{PlayerVideoHls-DgrhqZgn.mjs → PlayerVideoHls-Czu2Xvob.mjs} +3 -3
- package/dist/{PlaylistPage-lm5y7-n3.mjs → PlaylistPage-BV_3q5Pg.mjs} +8 -8
- package/dist/{PlaylistsPage-CaTACckE.mjs → PlaylistsPage-g82vXz51.mjs} +6 -6
- package/dist/{PodcastFilterList-CeOfuDes.mjs → PodcastFilterList-CpH9ALL0.mjs} +2 -2
- package/dist/{PodcastImage-B7jsIJNN.mjs → PodcastImage-Kr7qE9PW.mjs} +3 -3
- package/dist/{PodcastInlineList-BbLLOonP.mjs → PodcastInlineList-CSPSuPXn.mjs} +1 -1
- package/dist/{PodcastInlineListTemplate-DKRCwAlv.mjs → PodcastInlineListTemplate-CBGWengl.mjs} +3 -3
- package/dist/{PodcastIsPlaying-H_6pf8hJ.mjs → PodcastIsPlaying-CvZMCgrV.mjs} +1 -1
- package/dist/{PodcastItem-CurgIrWt.mjs → PodcastItem-B6xZ9spO.mjs} +26 -25
- package/dist/{PodcastList-YdyWgiEZ.mjs → PodcastList-DM2kODR9.mjs} +5 -5
- package/dist/{PodcastList-BcFhWkIb.mjs → PodcastList-DN7U6G3x.mjs} +10 -10
- package/dist/PodcastPage-ClPlzjJY.mjs +409 -0
- package/dist/{PodcastPlayBar-CHKkiC1d.mjs → PodcastPlayBar-C-7lR6Or.mjs} +3 -3
- package/dist/{PodcastPlayBasicButton-D6ozg27Z.mjs → PodcastPlayBasicButton-akh9XtTL.mjs} +1 -1
- package/dist/{PodcastPlayButton-ZMXex2mj.mjs → PodcastPlayButton-CqjJC_GT.mjs} +3 -3
- package/dist/{PodcastPlaylistInlineList-DQxGIN5X.mjs → PodcastPlaylistInlineList-DTJpiuMG.mjs} +4 -4
- package/dist/{PodcastPresentationList-B_733ar0.mjs → PodcastPresentationList-B0D9wjP2.mjs} +8 -8
- package/dist/{PodcastProgressBar-DuRkXwQx.mjs → PodcastProgressBar-CIf_zX6H.mjs} +3 -3
- package/dist/{PodcastRawTranscript-Cdx-LLmt.mjs → PodcastRawTranscript-EqIv2k5F.mjs} +2 -2
- package/dist/{PodcastRubriqueList-Bs9_pIvW.mjs → PodcastRubriqueList-DCchX3n9.mjs} +2 -2
- package/dist/{PodcastSwiperList-DOMUEugY.mjs → PodcastSwiperList-PSwifeRx.mjs} +4 -4
- package/dist/{PodcastmakerHeader-DKOEZYI1.mjs → PodcastmakerHeader-DpCkSoQE.mjs} +1 -1
- package/dist/{PodcastsPage-DbE47ayv.mjs → PodcastsPage-CSWymx6J.mjs} +4 -4
- package/dist/{ProductorSearch-XA1eOPBJ.mjs → ProductorSearch-l_LHvS3J.mjs} +2 -2
- package/dist/{ProgressBar--2HxPUEb.mjs → ProgressBar-CB9kEepm.mjs} +1 -1
- package/dist/{QrCode-Cfbl5O0T.mjs → QrCode-D-3wdYEC.mjs} +1 -1
- package/dist/{QrCodeModal-DOt1PfBE.mjs → QrCodeModal-BAk2VQzU.mjs} +1 -1
- package/dist/{RadioCurrently-Buo2SU7V.mjs → RadioCurrently-r21pyYBe.mjs} +3 -3
- package/dist/{RadioHistory-efYHQ3rk.mjs → RadioHistory-BNqw7gzG.mjs} +2 -2
- package/dist/{RadioImage-DQrUrer4.mjs → RadioImage-IbBgMDUL.mjs} +4 -4
- package/dist/{RadioList-RxhVm6Ml.mjs → RadioList-CLjDwo6u.mjs} +4 -4
- package/dist/{RadioPage-CuOVOQfx.mjs → RadioPage-Bx4i1Mpi.mjs} +4 -4
- package/dist/{RadioPlanning-D1fdFZ2S.mjs → RadioPlanning-Br27Ttix.mjs} +2 -2
- package/dist/{RadioProgressBar-VrEiqDVv.mjs → RadioProgressBar-Cb3AfYLQ.mjs} +1 -1
- package/dist/{RecaptchaModal-CLP1x_kD.mjs → RecaptchaModal-CxtAdOpC.mjs} +1 -1
- package/dist/{ReportAbuseModal-mE_b1EPk.mjs → ReportAbuseModal-iggcskxa.mjs} +3 -3
- package/dist/{RightsIndicator-BYIqAsGc.mjs → RightsIndicator-D_7amy65.mjs} +1 -1
- package/dist/{RightsWrapper-CNvC0_xL.mjs → RightsWrapper-Bo6Xza5_.mjs} +5 -3
- package/dist/{RubriqueFilter-C_UIqYNo.mjs → RubriqueFilter-CJDRNtiD.mjs} +2 -2
- package/dist/{RubriqueList-BzfpWOGA.mjs → RubriqueList-CISdSdFN.mjs} +2 -2
- package/dist/{RubriquePage-1xGeRwN9.mjs → RubriquePage-C8CF_iFS.mjs} +4 -4
- package/dist/{SearchPage-DFMSvZii.mjs → SearchPage-DvLjGwKI.mjs} +2 -2
- package/dist/{ShareAnonymous-D9_ioQwS.mjs → ShareAnonymous-GQ600Owz.mjs} +3 -3
- package/dist/{ShareModalPlayer-DI1Hatse.mjs → ShareModalPlayer-pB-HAwc-.mjs} +1 -1
- package/dist/{ShareNewsletter-Beu4PKG0.mjs → ShareNewsletter-Cdyw0GB9.mjs} +2 -2
- package/dist/{SharePlayer-DCsPNlfR.mjs → SharePlayer-XribbnSm.mjs} +2 -2
- package/dist/{SharePlayerRadio-D6oJwb2X.mjs → SharePlayerRadio-Co0G90iE.mjs} +2 -2
- package/dist/{SharePlayerTypes-BxkmFi4S.mjs → SharePlayerTypes-Crlc6fV2.mjs} +1 -1
- package/dist/{ShareSocialsButtons-ChJ3lBdD.mjs → ShareSocialsButtons-oPwpAJiG.mjs} +2 -2
- package/dist/{SimpleLayout-BOpmhyVO.mjs → SimpleLayout-DO6e66-u.mjs} +2 -2
- package/dist/SmartLinkPage-Bfe3J2rs.mjs +131 -0
- package/dist/{SubscribeButtons-AVPLb2re.mjs → SubscribeButtons-BsUSeVE2.mjs} +2 -2
- package/dist/{SwiperList-C89DLj3E.mjs → SwiperList-05VP6fwg.mjs} +1 -1
- package/dist/{TagList-C18q3AcZ.mjs → TagList-CpH_cvNv.mjs} +1 -1
- package/dist/{TagPage-CUjBO6Zz.mjs → TagPage-B7mbRbqr.mjs} +3 -3
- package/dist/{TopBar-BtyUGLS8.mjs → TopBar-DljepaOt.mjs} +6 -6
- package/dist/{UserButtonContent-QY3_J3q8.mjs → UserButtonContent-B20fPV-J.mjs} +2 -2
- package/dist/{VideoModuleBox-DfbQxPdW.mjs → VideoModuleBox-DJdYQGMX.mjs} +1 -1
- package/dist/VideoPage-Bllo2Q-Y.mjs +148 -0
- package/dist/{classicApi-DK3JuEEQ.mjs → classicApi-CT9k0xvp.mjs} +235 -258
- package/dist/{downloadHelper-BiECrRRO.mjs → downloadHelper-DkfB6XQg.mjs} +1 -1
- package/dist/index.mjs +83 -82
- package/dist/{messages-1GAE9xSE.mjs → messages-DxUrH00s.mjs} +24 -6
- package/dist/tests.mjs +2 -2
- package/dist/{useAdvancedParamInit-BEQxTZEa.mjs → useAdvancedParamInit-Y3eC3aep.mjs} +5 -5
- package/dist/useDayjs-ayZHsoc2.mjs +28 -0
- package/dist/{useErrorHandler-B718_6o6.mjs → useErrorHandler-Chh24Net.mjs} +1 -1
- package/dist/{useImageProxy-61t8T9lh.mjs → useImageProxy-C_wlfbSP.mjs} +1 -1
- package/dist/{useOrgaComputed-Oug1hhvN.mjs → useOrgaComputed-CmlIJ5XC.mjs} +1 -1
- package/dist/{usePlayerLogicProgress-89kQlonT.mjs → usePlayerLogicProgress-B0mjPIEj.mjs} +2 -2
- package/dist/{usePodcastView-DFs0X_HB.mjs → usePodcastView-wkow7peQ.mjs} +4 -3
- package/dist/{usePresentationItem-D0WYRXRH.mjs → usePresentationItem-C37nsJnQ.mjs} +20 -19
- package/dist/{useRights-BFkOi3--.mjs → useRights-CXa0yDii.mjs} +1 -1
- package/dist/{useRubriquesFilterComputed-Cl3Xmezu.mjs → useRubriquesFilterComputed-goozXeIB.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-BGh80BOE.mjs → useRubriquesFilterParam-CrsdD0Oj.mjs} +1 -1
- package/dist/{useSharePlatforms-BA7BlsYt.mjs → useSharePlatforms-B7Xnf_If.mjs} +5 -5
- package/dist/{useSimplePageParam-AHafSK4i.mjs → useSimplePageParam-D6TmZIPG.mjs} +1 -1
- package/dist/{useTranslation-D9Sv_vU0.mjs → useTranslation-D3t40JaE.mjs} +14 -14
- package/dist/{usefetchRadioData-ti9_4cZQ.mjs → usefetchRadioData-knVpkZCB.mjs} +1 -1
- package/package.json +1 -1
- package/src/components/composable/useRightsIndicator.ts +3 -1
- package/src/locale/de.json +4 -1
- package/src/locale/en.json +4 -1
- package/src/locale/es.json +4 -1
- package/src/locale/fr.json +4 -1
- package/src/locale/it.json +4 -1
- package/src/locale/sl.json +4 -1
- package/src/stores/CacheStore.ts +1 -3
- package/tests/components/display/RightsIndicator.spec.ts +7 -2
- package/dist/PodcastPage-BRfgY1ej.mjs +0 -409
- package/dist/SmartLinkPage-Dwc8Cs0K.mjs +0 -131
- package/dist/VideoPage-EzRprsVN.mjs +0 -148
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n } from "./useResizePhone-4hSkK5pa.mjs";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
1
|
+
import { E as e } from "./classicApi-CT9k0xvp.mjs";
|
|
2
|
+
import { n as t } from "./useResizePhone-4hSkK5pa.mjs";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
|
+
import { t as r } from "./displayHelper-DQtoqc_6.mjs";
|
|
5
|
+
import { t as i } from "./useOrgaComputed-CmlIJ5XC.mjs";
|
|
6
|
+
import { t as a } from "./useDayjs-ayZHsoc2.mjs";
|
|
7
|
+
import { t as o } from "./RightsIndicator-D_7amy65.mjs";
|
|
7
8
|
import { t as s } from "./PodcastSeasonInfo-DDGSqj8M.mjs";
|
|
8
|
-
import { t as c } from "./PodcastImage-
|
|
9
|
+
import { t as c } from "./PodcastImage-Kr7qE9PW.mjs";
|
|
9
10
|
import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, defineComponent as _, nextTick as v, normalizeClass as y, onBeforeMount as b, openBlock as x, ref as S, resolveComponent as C, toDisplayString as w, unref as T, useTemplateRef as E, withCtx as D } from "vue";
|
|
10
11
|
import { useI18n as O } from "vue-i18n";
|
|
11
12
|
import k from "dayjs";
|
|
@@ -39,51 +40,51 @@ var A = {
|
|
|
39
40
|
}), M = { class: "podcast-item-info" }, N = { class: "podcast-item-status text-secondary h6 mx-2" }, P = ["datetime"], F = { class: "mx-2 d-flex align-items-center justify-content-between mt-2" }, I = {
|
|
40
41
|
key: 0,
|
|
41
42
|
class: "useless-div-for-podcastmaker"
|
|
42
|
-
}, L = /*#__PURE__*/
|
|
43
|
+
}, L = /*#__PURE__*/ n(/* @__PURE__ */ _({
|
|
43
44
|
__name: "PodcastItemInfo",
|
|
44
45
|
props: { podcast: {
|
|
45
46
|
default: () => ({}),
|
|
46
47
|
type: Object
|
|
47
48
|
} },
|
|
48
|
-
setup(
|
|
49
|
-
let
|
|
50
|
-
return (
|
|
49
|
+
setup(t) {
|
|
50
|
+
let n = g(() => import("./PodcastPlayBar-C-7lR6Or.mjs")), r = t, { t: c } = O(), { isPodcastmaker: _ } = i(), { formatDate: v } = a(), y = l(() => v(r.podcast.pubDate)), b = l(() => r.podcast.organisation.name.length > 30 ? r.podcast.organisation.name.substring(0, 30) + "..." : r.podcast.organisation.name);
|
|
51
|
+
return (r, i) => {
|
|
51
52
|
let a = C("router-link");
|
|
52
53
|
return x(), f("div", M, [
|
|
53
|
-
p("div", N, [p("time", { datetime:
|
|
54
|
+
p("div", N, [p("time", { datetime: t.podcast.pubDate }, w(y.value), 9, P), h(s, { podcast: t.podcast }, null, 8, ["podcast"])]),
|
|
54
55
|
h(a, {
|
|
55
56
|
to: {
|
|
56
57
|
name: "podcast",
|
|
57
|
-
params: { podcastId:
|
|
58
|
+
params: { podcastId: t.podcast.podcastId }
|
|
58
59
|
},
|
|
59
60
|
class: "text-dark flex-grow-1 title-podcast-item basic-line-clamp three-line",
|
|
60
|
-
title: T(c)("Episode name page", { name:
|
|
61
|
+
title: T(c)("Episode name page", { name: t.podcast.title })
|
|
61
62
|
}, {
|
|
62
63
|
default: D(() => [h(o, {
|
|
63
64
|
inline: "",
|
|
64
|
-
podcast:
|
|
65
|
+
podcast: t.podcast,
|
|
65
66
|
action: "edit"
|
|
66
|
-
}, null, 8, ["podcast"]), m(" " + w(
|
|
67
|
+
}, null, 8, ["podcast"]), m(" " + w(t.podcast.title), 1)]),
|
|
67
68
|
_: 1
|
|
68
69
|
}, 8, ["to", "title"]),
|
|
69
|
-
T(e).emissionsPage.progressBar ? (x(), u(T(
|
|
70
|
+
T(e).emissionsPage.progressBar ? (x(), u(T(n), {
|
|
70
71
|
key: 0,
|
|
71
72
|
"display-buton-play": !0,
|
|
72
|
-
podcast:
|
|
73
|
+
podcast: t.podcast,
|
|
73
74
|
class: "me-2"
|
|
74
75
|
}, null, 8, ["podcast"])) : d("", !0),
|
|
75
76
|
p("div", F, [
|
|
76
77
|
T(_) ? (x(), f("div", I)) : d("", !0),
|
|
77
|
-
|
|
78
|
+
t.podcast.animators && t.podcast.animators.length !== 0 ? (x(), u(j, {
|
|
78
79
|
key: 1,
|
|
79
80
|
class: "w-0 flex-grow-1",
|
|
80
|
-
animator:
|
|
81
|
+
animator: t.podcast.animators[0]
|
|
81
82
|
}, null, 8, ["animator"])) : d("", !0),
|
|
82
83
|
T(_) ? d("", !0) : (x(), u(a, {
|
|
83
84
|
key: 2,
|
|
84
85
|
to: {
|
|
85
86
|
name: "productor",
|
|
86
|
-
params: { productorId:
|
|
87
|
+
params: { productorId: t.podcast.organisation.id }
|
|
87
88
|
},
|
|
88
89
|
class: "text-dark producer-podcast-item"
|
|
89
90
|
}, {
|
|
@@ -101,9 +102,9 @@ var A = {
|
|
|
101
102
|
fetchConference: {}
|
|
102
103
|
},
|
|
103
104
|
setup(e) {
|
|
104
|
-
let
|
|
105
|
+
let n = e, i = S(!1), a = S(!1), o = S(!1), s = S("up"), u = S(!1), m = S(void 0), g = S(void 0), _ = E("descriptionPodcast"), C = E("descriptionPodcastContainer"), w = l(() => k(n.podcast.pubDate).format()), D = l(() => n.podcast.description ?? "");
|
|
105
106
|
b(() => {
|
|
106
|
-
|
|
107
|
+
i.value = window.matchMedia("(hover: none)").matches, m.value = t(A, 100), g.value = t(j, 100);
|
|
107
108
|
});
|
|
108
109
|
function O() {
|
|
109
110
|
if (a.value) return;
|
|
@@ -141,10 +142,10 @@ var A = {
|
|
|
141
142
|
o.value ? (x(), f("div", {
|
|
142
143
|
key: 0,
|
|
143
144
|
ref: "descriptionPodcastContainer",
|
|
144
|
-
class: y(["element-description description-podcast-item html-wysiwyg-content", [o.value && D.value !== "" ? "visible" : "invisible", !
|
|
145
|
+
class: y(["element-description description-podcast-item html-wysiwyg-content", [o.value && D.value !== "" ? "visible" : "invisible", !i.value && u.value ? "after-element-description" : "mobile-description-podcast-item"]])
|
|
145
146
|
}, [p("div", {
|
|
146
147
|
ref: "descriptionPodcast",
|
|
147
|
-
innerHTML: T(
|
|
148
|
+
innerHTML: T(r).urlify(D.value)
|
|
148
149
|
}, null, 8, z)], 2)) : d("", !0),
|
|
149
150
|
p("div", {
|
|
150
151
|
onMouseenter: n[0] ||= (...e) => m.value && m.value(...e),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./ListPaginate-
|
|
4
|
-
import { t as r } from "./useErrorHandler-
|
|
5
|
-
import { t as i } from "./useOrgaComputed-
|
|
2
|
+
import { p as t } from "./classicApi-CT9k0xvp.mjs";
|
|
3
|
+
import { t as n } from "./ListPaginate-B-PYbP3K.mjs";
|
|
4
|
+
import { t as r } from "./useErrorHandler-Chh24Net.mjs";
|
|
5
|
+
import { t as i } from "./useOrgaComputed-CmlIJ5XC.mjs";
|
|
6
6
|
import { t as a } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
7
7
|
import { t as o } from "./ClassicSearch-CtL1cpnF.mjs";
|
|
8
|
-
import { t as s } from "./PodcastItem-
|
|
8
|
+
import { t as s } from "./PodcastItem-B6xZ9spO.mjs";
|
|
9
9
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, onBeforeMount as _, openBlock as v, ref as y, renderList as b, resolveComponent as x, toDisplayString as S, unref as C, watch as w, withCtx as T } from "vue";
|
|
10
10
|
import { useI18n as E } from "vue-i18n";
|
|
11
11
|
//#region src/components/display/playlist/PodcastList.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./ListPaginate-
|
|
4
|
-
import { t as a } from "./useErrorHandler-
|
|
2
|
+
import { l as t, r as n, u as r } from "./classicApi-CT9k0xvp.mjs";
|
|
3
|
+
import { t as i } from "./ListPaginate-B-PYbP3K.mjs";
|
|
4
|
+
import { t as a } from "./useErrorHandler-Chh24Net.mjs";
|
|
5
5
|
import { r as o, t as s } from "./podcast-BoNHyuLe.mjs";
|
|
6
6
|
import { t as c } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
7
|
-
import { t as l } from "./PodcastItem-
|
|
7
|
+
import { t as l } from "./PodcastItem-B6xZ9spO.mjs";
|
|
8
8
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, onBeforeMount as y, openBlock as b, ref as x, renderList as S, resolveComponent as C, toDisplayString as w, unref as T, watch as E, withCtx as D } from "vue";
|
|
9
9
|
import { useI18n as O } from "vue-i18n";
|
|
10
10
|
import { AxiosError as k } from "axios";
|
|
@@ -72,7 +72,7 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
72
72
|
let j = e, M = v, N = x(!0), P = x(j.first), F = x(j.size), I = x(0), L = x(!1), R = x([]), { t: z } = O(), { handle403: B } = a(), V = n(), H = d(() => L.value || j.justSizeChosen ? R.value : R.value.slice(P.value, Math.min(P.value + F.value, I.value))), U = d(() => `${j.first}|${j.size}`), W = d(() => `${G.value}|${j.emissionId}|${j.sortCriteria}|${K.value}
|
|
73
73
|
${j.iabId}|${j.participantId}|${j.query}|${j.monetisable}|${j.popularSort}|
|
|
74
74
|
${j.rubriqueId}|${j.rubriquageId}|${j.before}|${j.after}|${j.includeHidden}|${j.noRubriquageId}|${j.validity}|
|
|
75
|
-
${j.withVideo}|${j.includeTag}|${j.beneficiaries}|${j.emissionGroups}`), G = d(() => j.organisationId ? j.organisationId : V.filterOrgaId ? [V.filterOrgaId] : []), K = d(() => j.popularSort ?
|
|
75
|
+
${j.withVideo}|${j.includeTag}|${j.beneficiaries}|${j.emissionGroups}`), G = d(() => j.organisationId ? j.organisationId : V.filterOrgaId ? [V.filterOrgaId] : []), K = d(() => j.popularSort ? t.POPULARITY : j.sortCriteria ?? t.DATE), q = d(() => {
|
|
76
76
|
if (!j.displaySortText) return "";
|
|
77
77
|
switch (j.sortCriteria) {
|
|
78
78
|
case "SCORE": return " " + z("sort by score");
|
|
@@ -88,9 +88,9 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
88
88
|
}), y(() => J(!1));
|
|
89
89
|
async function J(e) {
|
|
90
90
|
N.value = !0;
|
|
91
|
-
let
|
|
92
|
-
j.validity !== void 0 && j.validity !== "" && (
|
|
93
|
-
let
|
|
91
|
+
let t;
|
|
92
|
+
j.validity !== void 0 && j.validity !== "" && (t = j.validity === "true" || j.validity === !0);
|
|
93
|
+
let n = {
|
|
94
94
|
first: e ? 0 : P.value,
|
|
95
95
|
size: F.value,
|
|
96
96
|
organisationId: G.value,
|
|
@@ -107,7 +107,7 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
107
107
|
rubriqueId: j.rubriqueId?.length ? j.rubriqueId : void 0,
|
|
108
108
|
rubriquageId: j.rubriquageId?.length ? j.rubriquageId : void 0,
|
|
109
109
|
includeHidden: j.includeHidden,
|
|
110
|
-
validity:
|
|
110
|
+
validity: t,
|
|
111
111
|
processingStatus: [s.Ready, s.Processing],
|
|
112
112
|
withVideo: j.withVideo,
|
|
113
113
|
tags: j.includeTag?.length ? j.includeTag : void 0,
|
|
@@ -115,7 +115,7 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
115
115
|
season: j.seasons
|
|
116
116
|
};
|
|
117
117
|
try {
|
|
118
|
-
Y(e, await
|
|
118
|
+
Y(e, await r.searchFull(n, !0));
|
|
119
119
|
} catch (e) {
|
|
120
120
|
e instanceof k ? B(e) : console.error("error", e);
|
|
121
121
|
}
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
+
import { E as t, i as n, r as ee, t as r, u as te } from "./classicApi-CT9k0xvp.mjs";
|
|
3
|
+
import { t as i } from "./displayHelper-DQtoqc_6.mjs";
|
|
4
|
+
import { t as ne } from "./GeneralStore-Darfv4af.mjs";
|
|
5
|
+
import { t as re } from "./useErrorHandler-Chh24Net.mjs";
|
|
6
|
+
import { t as a } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
7
|
+
import { t as ie } from "./useOrgaComputed-CmlIJ5XC.mjs";
|
|
8
|
+
import { t as ae } from "./emission-CQ1VuxRc.mjs";
|
|
9
|
+
import { t as oe } from "./useSeasonsManagement-DwbmJywJ.mjs";
|
|
10
|
+
import { t as se } from "./CommentStore-C4lkShsH.mjs";
|
|
11
|
+
import { t as ce } from "./RightsIndicator-D_7amy65.mjs";
|
|
12
|
+
import { t as o } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
13
|
+
import { t as le } from "./PodcastImage-Kr7qE9PW.mjs";
|
|
14
|
+
import { t as s } from "./ParticipantDescription-DVSfKvtg.mjs";
|
|
15
|
+
import { t as c } from "./PodcastInlineList-CSPSuPXn.mjs";
|
|
16
|
+
import { t as l } from "./PodcastRawTranscript-EqIv2k5F.mjs";
|
|
17
|
+
import { t as ue } from "./youtubeVideoHelper-Cdlokujb.mjs";
|
|
18
|
+
import { t as u } from "./usePodcastView-wkow7peQ.mjs";
|
|
19
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, guardReactiveProps as x, normalizeClass as S, normalizeProps as C, onBeforeUnmount as w, openBlock as T, ref as E, renderList as de, renderSlot as D, resolveComponent as O, toDisplayString as k, toRefs as fe, unref as A, useTemplateRef as j, watch as M, withCtx as N } from "vue";
|
|
20
|
+
import { useI18n as pe } from "vue-i18n";
|
|
21
|
+
import { useRoute as P, useRouter as F } from "vue-router";
|
|
22
|
+
import me from "vue-material-design-icons/NewspaperVariantOutline.vue";
|
|
23
|
+
//#region src/components/display/podcasts/PodcastModuleBox.vue?vue&type=script&setup=true&lang.ts
|
|
24
|
+
var he = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "module-box"
|
|
27
|
+
}, I = { class: "mb-2 w-100" }, L = { class: "d-flex justify-content-between flex-wrap mb-2" }, R = ["datetime"], z = {
|
|
28
|
+
key: 1,
|
|
29
|
+
class: "text-danger"
|
|
30
|
+
}, B = { class: "d-flex flex-column align-items-end" }, V = ["datetime"], ge = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "mb-3 text-secondary"
|
|
33
|
+
}, H = ["innerHTML"], _e = ["innerHTML"], U = { class: "my-3" }, ve = { class: "mb-1" }, ye = {
|
|
34
|
+
key: 0,
|
|
35
|
+
class: "mb-1"
|
|
36
|
+
}, be = {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: "mb-1"
|
|
39
|
+
}, xe = {
|
|
40
|
+
key: 2,
|
|
41
|
+
class: "mb-1"
|
|
42
|
+
}, W = {
|
|
43
|
+
key: 3,
|
|
44
|
+
class: "mb-1"
|
|
45
|
+
}, G = {
|
|
46
|
+
key: 4,
|
|
47
|
+
class: "mb-1"
|
|
48
|
+
}, K = {
|
|
49
|
+
key: 5,
|
|
50
|
+
class: "mb-1"
|
|
51
|
+
}, q = ["href", "title"], Se = { key: 8 }, J = {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: "me-5 text-secondary"
|
|
54
|
+
}, Ce = { class: "d-flex align-items-center flex-wrap" }, we = /* @__PURE__ */ b({
|
|
55
|
+
__name: "PodcastModuleBox",
|
|
56
|
+
props: {
|
|
57
|
+
podcast: {},
|
|
58
|
+
playingPodcast: {},
|
|
59
|
+
podcastConference: {}
|
|
60
|
+
},
|
|
61
|
+
emits: ["updatePodcast"],
|
|
62
|
+
setup(e, { emit: ee }) {
|
|
63
|
+
let r = y(() => import("./ErrorMessage-B4gtlriP.mjs").then((e) => e.n)), te = y(() => import("./PodcastPlayBar-C-7lR6Or.mjs")), ne = y(() => import("./SubscribeButtons-BsUSeVE2.mjs").then((e) => e.n)), re = y(() => import("./LikeSection-D_q391TU.mjs")), a = y(() => import("./DownloadPodcastButton-Dcgt8FfA.mjs")), ie = y(() => import("./PodcastPlannedSpinner-DcDDays8.mjs")), se = y(() => import("./CountDown-o6ye6yv1.mjs")), o = y(() => import("./TagList-CpH_cvNv.mjs")), c = y(() => import("./ShareAnonymous-GQ600Owz.mjs")), ue = y(() => import("./PodcastRubriqueList-DCchX3n9.mjs")), d = e, b = ee, { t: x } = pe(), C = fe(d), { isLiveReadyToRecord: w, isCounter: E, timeRemaining: de, isPlannedInProcessor: M, date: P, duration: we, durationIso: Te, isPodcastmaker: Y, editRight: X } = u(C.podcast, C.podcastConference), Ee = n(), Z = F(), { areSeasonsEnabled: De } = oe(), Oe = j("podcastRawTranscript"), ke = f(() => {
|
|
64
|
+
let e = d.podcast?.rubriqueIds ?? [];
|
|
65
|
+
return d.podcast?.emission?.rubriqueIds && (e = [...new Set(e.concat(d.podcast?.emission?.rubriqueIds))]), e;
|
|
66
|
+
}), Ae = f(() => d.podcast?.availability.visibility ? d.podcast?.processingStatus === "ERROR" ? x("Podcast in ERROR, please contact Saooti") : Pe.value ? x("Podcast not validated") : "" : x("Podcast is not visible for listeners")), je = f(() => d.podcast?.conferenceId !== void 0 && d.podcast?.conferenceId !== 0 && d.podcast?.processingStatus === "READY"), Me = f(() => d.podcastConference !== void 0 && d.podcastConference.status === "DEBRIEFING"), Ne = f(() => !Y.value && X.value && Ee.isRoleLive), Pe = f(() => d.podcast?.availability !== void 0 && !1 === d.podcast?.valid), Fe = f(() => $(d.podcast?.annotations?.photoCredit)), Ie = f(() => $(d.podcast?.annotations?.audioCredit)), Le = f(() => $(d.podcast?.annotations?.authorCredit)), Re = f(() => !(t.generalParameters.podcastmaker ?? !1)), Q = f(() => {
|
|
67
|
+
let e = [];
|
|
68
|
+
return d.podcast.tags && e.push(...d.podcast.tags), d.podcast.emission.tags && e.push(...d.podcast.emission.tags), e;
|
|
69
|
+
}), ze = f(() => De(d.podcast.emission) && d.podcast.seasonNumber !== void 0), Be = f(() => d.podcast.emission.seasonMode === ae.SEASON_WITH_PODCAST_NUMBERING && d.podcast.seasonEpisodeNumber !== void 0), Ve = f(() => d.podcast.annotations?.subtitle && t.podcastPage?.hideSubtitle !== !0), He = f(() => t.podcastPage?.descriptionOrSummary !== "summary"), Ue = f(() => d.podcast.summary && t.podcastPage?.descriptionOrSummary !== "description" && t.podcastPage?.descriptionOrSummary !== void 0);
|
|
70
|
+
function $(e) {
|
|
71
|
+
return e === void 0 ? "" : e.split(",").map((e) => e.trim()).join(", ");
|
|
72
|
+
}
|
|
73
|
+
function We(e) {
|
|
74
|
+
return i.urlify(e);
|
|
75
|
+
}
|
|
76
|
+
function Ge() {
|
|
77
|
+
w.value ? Z.push("/main/pub/lives") : window.history.length > 1 ? Z.go(-1) : Z.push("/");
|
|
78
|
+
}
|
|
79
|
+
function Ke() {
|
|
80
|
+
Oe.value.reset();
|
|
81
|
+
}
|
|
82
|
+
let qe = f(() => t.podcastPage.hideTags === !0 ? !1 : Q.value !== void 0 && Q.value.length !== 0);
|
|
83
|
+
return (n, ee) => {
|
|
84
|
+
let i = O("router-link");
|
|
85
|
+
return e.podcast ? (T(), h("section", he, [
|
|
86
|
+
e.podcastConference && A(w) && Ne.value ? D(n.$slots, "recording-item-button", {
|
|
87
|
+
key: 0,
|
|
88
|
+
podcast: e.podcast,
|
|
89
|
+
live: !0,
|
|
90
|
+
recording: e.podcastConference,
|
|
91
|
+
onDeleteItem: Ge,
|
|
92
|
+
onValidatePodcast: (e) => b("updatePodcast", e)
|
|
93
|
+
}) : A(X) && Re.value ? D(n.$slots, "edit-box", {
|
|
94
|
+
key: 1,
|
|
95
|
+
podcast: e.podcast,
|
|
96
|
+
displayStudioAccess: Me.value,
|
|
97
|
+
onUpdateTranscription: Ke,
|
|
98
|
+
onValidatePodcast: (e) => b("updatePodcast", e)
|
|
99
|
+
}) : m("", !0),
|
|
100
|
+
g("div", I, [
|
|
101
|
+
v(le, {
|
|
102
|
+
class: S([[A(w) && e.podcastConference && e.podcastConference !== "null" && e.podcastConference.status ? e.podcastConference.status.toLowerCase() + "-shadow" : ""], "me-3"]),
|
|
103
|
+
"show-processing": "",
|
|
104
|
+
"hide-play": A(w),
|
|
105
|
+
podcast: e.podcast,
|
|
106
|
+
"playing-podcast": e.playingPodcast,
|
|
107
|
+
"fetch-conference": e.podcastConference,
|
|
108
|
+
"is-animator-live": Ne.value
|
|
109
|
+
}, null, 8, [
|
|
110
|
+
"class",
|
|
111
|
+
"hide-play",
|
|
112
|
+
"podcast",
|
|
113
|
+
"playing-podcast",
|
|
114
|
+
"fetch-conference",
|
|
115
|
+
"is-animator-live"
|
|
116
|
+
]),
|
|
117
|
+
g("div", L, [
|
|
118
|
+
A(P).length === 0 ? m("", !0) : (T(), h("time", {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: S(je.value ? "" : "me-5"),
|
|
121
|
+
datetime: e.podcast.pubDate
|
|
122
|
+
}, k(A(P)), 11, R)),
|
|
123
|
+
je.value ? (T(), h("div", z, k(A(x)("Episode record in live")), 1)) : m("", !0),
|
|
124
|
+
g("div", B, [g("time", { datetime: A(Te) }, k(A(we)), 9, V), A(X) ? m("", !0) : (T(), p(A(c), {
|
|
125
|
+
key: 0,
|
|
126
|
+
podcast: e.podcast,
|
|
127
|
+
"organisation-id": e.podcast.organisation.id
|
|
128
|
+
}, null, 8, ["podcast", "organisation-id"]))])
|
|
129
|
+
]),
|
|
130
|
+
g("h2", { class: S({ "mb-3": !Ve.value }) }, [v(ce, {
|
|
131
|
+
podcast: e.podcast,
|
|
132
|
+
action: "edit",
|
|
133
|
+
inline: ""
|
|
134
|
+
}, null, 8, ["podcast"]), _(" " + k(e.podcast.title), 1)], 2),
|
|
135
|
+
Ve.value ? (T(), h("h3", ge, k(e.podcast.annotations.subtitle), 1)) : m("", !0),
|
|
136
|
+
A(M) ? (T(), p(A(ie), { key: 1 })) : m("", !0),
|
|
137
|
+
A(E) ? (T(), p(A(se), {
|
|
138
|
+
key: 2,
|
|
139
|
+
"time-remaining": A(de)
|
|
140
|
+
}, null, 8, ["time-remaining"])) : m("", !0),
|
|
141
|
+
Ue.value ? (T(), h("div", {
|
|
142
|
+
key: 3,
|
|
143
|
+
class: S(["description-text html-wysiwyg-content", { "mb-4": Ue.value && He.value }]),
|
|
144
|
+
innerHTML: We(e.podcast.summary)
|
|
145
|
+
}, null, 10, H)) : m("", !0),
|
|
146
|
+
He.value ? (T(), h("div", {
|
|
147
|
+
key: 4,
|
|
148
|
+
class: "description-text html-wysiwyg-content",
|
|
149
|
+
innerHTML: We(e.podcast.description)
|
|
150
|
+
}, null, 8, _e)) : m("", !0),
|
|
151
|
+
g("div", U, [
|
|
152
|
+
g("div", ve, [_(k(A(x)("Emission") + " : ") + " ", 1), v(i, {
|
|
153
|
+
to: {
|
|
154
|
+
name: "emission",
|
|
155
|
+
params: { emissionId: e.podcast.emission.emissionId }
|
|
156
|
+
},
|
|
157
|
+
title: A(x)("Series name page", { name: e.podcast.emission.name })
|
|
158
|
+
}, {
|
|
159
|
+
default: N(() => [_(k(e.podcast.emission.name), 1)]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["to", "title"])]),
|
|
162
|
+
v(s, { participants: e.podcast.animators }, null, 8, ["participants"]),
|
|
163
|
+
v(s, {
|
|
164
|
+
participants: e.podcast.guests,
|
|
165
|
+
"is-guest": !0
|
|
166
|
+
}, null, 8, ["participants"]),
|
|
167
|
+
A(Y) ? m("", !0) : (T(), h("div", ye, [_(k(A(x)("Producted by : ")) + " ", 1), v(i, { to: {
|
|
168
|
+
name: "productor",
|
|
169
|
+
params: { productorId: e.podcast.organisation.id }
|
|
170
|
+
} }, {
|
|
171
|
+
default: N(() => [_(k(e.podcast.organisation.name), 1)]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["to"])])),
|
|
174
|
+
ze.value ? (T(), h("div", be, k(`${A(x)("Podcast - Season")} : ${e.podcast.seasonNumber}`), 1)) : m("", !0),
|
|
175
|
+
Be.value ? (T(), h("div", xe, k(`${A(x)("Podcast - Episode number")} : ${e.podcast.seasonEpisodeNumber}`), 1)) : m("", !0),
|
|
176
|
+
Fe.value === "" ? m("", !0) : (T(), h("div", W, k(A(x)("Photo credits") + " : " + Fe.value), 1)),
|
|
177
|
+
Ie.value === "" ? m("", !0) : (T(), h("div", G, k(A(x)("Audio credits") + " : " + Ie.value), 1)),
|
|
178
|
+
Le.value === "" ? m("", !0) : (T(), h("div", K, k(A(x)("Author credits") + " : " + Le.value), 1)),
|
|
179
|
+
e.podcast.article && !A(Ee).isGarRole ? (T(), h("a", {
|
|
180
|
+
key: 6,
|
|
181
|
+
class: "btn d-flex align-items-center my-2 w-fit-content mb-1",
|
|
182
|
+
href: e.podcast.article,
|
|
183
|
+
rel: "noreferrer noopener",
|
|
184
|
+
target: "_blank",
|
|
185
|
+
title: A(x)("New window", { text: A(x)("See associated article") })
|
|
186
|
+
}, [v(me, { class: "me-1" }), g("div", null, k(A(x)("See associated article")), 1)], 8, q)) : m("", !0),
|
|
187
|
+
A(t).emissionsPage.progressBar ? (T(), p(A(te), {
|
|
188
|
+
key: 7,
|
|
189
|
+
podcast: e.podcast
|
|
190
|
+
}, null, 8, ["podcast"])) : m("", !0),
|
|
191
|
+
A(X) && !A(Y) ? (T(), h("div", Se, [e.podcast.annotations && e.podcast.annotations.SOURCE_KIND === "RSS" ? (T(), h("div", J, k(A(x)("From RSS")), 1)) : m("", !0), Ae.value === "" ? m("", !0) : (T(), p(A(r), {
|
|
192
|
+
key: 1,
|
|
193
|
+
message: Ae.value
|
|
194
|
+
}, null, 8, ["message"]))])) : m("", !0),
|
|
195
|
+
g("div", Ce, [v(A(re), {
|
|
196
|
+
"edit-right": A(X),
|
|
197
|
+
podcast: e.podcast
|
|
198
|
+
}, null, 8, ["edit-right", "podcast"]), A(t).podcastPage.downloadButton ? (T(), p(A(a), {
|
|
199
|
+
key: 0,
|
|
200
|
+
podcast: e.podcast
|
|
201
|
+
}, null, 8, ["podcast"])) : m("", !0)])
|
|
202
|
+
])
|
|
203
|
+
]),
|
|
204
|
+
qe.value ? (T(), p(A(o), {
|
|
205
|
+
key: 2,
|
|
206
|
+
"tag-list": Q.value,
|
|
207
|
+
"orga-id": e.podcast.organisation.id,
|
|
208
|
+
"podcast-annotations": e.podcast.annotations,
|
|
209
|
+
max: A(t).podcastPage.maxTags
|
|
210
|
+
}, null, 8, [
|
|
211
|
+
"tag-list",
|
|
212
|
+
"orga-id",
|
|
213
|
+
"podcast-annotations",
|
|
214
|
+
"max"
|
|
215
|
+
])) : m("", !0),
|
|
216
|
+
ke.value?.length ? (T(), p(A(ue), {
|
|
217
|
+
key: 3,
|
|
218
|
+
"orga-id": e.podcast.organisation.id,
|
|
219
|
+
"rubrique-ids": ke.value
|
|
220
|
+
}, null, 8, ["orga-id", "rubrique-ids"])) : m("", !0),
|
|
221
|
+
v(l, {
|
|
222
|
+
ref_key: "podcastRawTranscript",
|
|
223
|
+
ref: Oe,
|
|
224
|
+
"podcast-id": e.podcast.podcastId
|
|
225
|
+
}, null, 8, ["podcast-id"]),
|
|
226
|
+
A(Y) ? (T(), p(A(ne), {
|
|
227
|
+
key: 4,
|
|
228
|
+
class: "mt-4",
|
|
229
|
+
content: e.podcast.emission,
|
|
230
|
+
"window-width": 1e3,
|
|
231
|
+
"justify-center": !1
|
|
232
|
+
}, null, 8, ["content"])) : m("", !0)
|
|
233
|
+
])) : m("", !0);
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}), Te = { class: "page-box" }, Y = { key: 2 }, X = /* @__PURE__ */ b({
|
|
237
|
+
__name: "PodcastPage",
|
|
238
|
+
props: {
|
|
239
|
+
updateStatus: {},
|
|
240
|
+
playingPodcast: {},
|
|
241
|
+
podcastId: {},
|
|
242
|
+
useEmissionTitle: { type: Boolean }
|
|
243
|
+
},
|
|
244
|
+
setup(i) {
|
|
245
|
+
let ae = y(() => import("./ShareSocialsButtons-oPwpAJiG.mjs")), oe = y(() => import("./SharePlayer-XribbnSm.mjs").then((e) => e.n)), ce = y(() => import("./CommentSection-DQx3qX6H.mjs")), le = y(() => import("./PodcastmakerHeader-DpCkSoQE.mjs")), s = i, l = E(!1), u = E(!1), _ = E(void 0), b = E(void 0), O = E(void 0), k = E(void 0), fe = P(), { t: j } = pe(), { isPodcastmaker: F, isEditRights: me, authOrgaId: he } = ie(), { updatePathParams: I } = a(), { handle403: L } = re(), R = n(), z = ne(), B = ee(), V = se(), ge = f(() => _.value?.emission?.annotations?.HIDE_SUGGESTIONS === "true"), H = f(() => _.value ? _.value.emission.annotations?.mainIabId ? parseInt(_.value.emission.annotations.mainIabId, 10) : _.value.emission.iabIds?.length ? _.value.emission.iabIds[0] : 0 : 0), _e = f(() => _.value === void 0 ? [] : z.storedCategories.filter((e) => _.value?.emission.iabIds && _.value.emission.iabIds.indexOf(e.id) !== -1).sort((e, t) => e.id === H.value ? -1 : +(t.id === H.value))), U = f(() => me(_.value?.organisation.id)), ve = f(() => _.value?.conferenceId !== void 0 && _.value?.conferenceId !== 0 && _.value?.processingStatus === "READY_TO_RECORD"), ye = f(() => !F.value && U.value && R.isRoleLive), be = f(() => ve.value ? j("Live episode") : j("Episode"));
|
|
246
|
+
M(() => s.updateStatus, () => {
|
|
247
|
+
b.value && b.value !== null && (b.value.status = s.updateStatus);
|
|
248
|
+
}), M(() => s.podcastId, async () => {
|
|
249
|
+
await Se(), !(!_.value || u.value) && V.initCommentUser();
|
|
250
|
+
}, { immediate: !0 }), w(() => {
|
|
251
|
+
z.contentToDisplayUpdate(null), clearTimeout(O.value);
|
|
252
|
+
});
|
|
253
|
+
async function xe() {
|
|
254
|
+
if (!(!_.value || _.value.conferenceId == null || _.value.processingStatus !== "READY_TO_RECORD")) {
|
|
255
|
+
if (b.value = {
|
|
256
|
+
conferenceId: _.value.conferenceId,
|
|
257
|
+
title: ""
|
|
258
|
+
}, ye.value) try {
|
|
259
|
+
b.value = await r.fetchData({
|
|
260
|
+
api: 9,
|
|
261
|
+
path: "conference/" + _.value.conferenceId
|
|
262
|
+
});
|
|
263
|
+
} catch {
|
|
264
|
+
await G();
|
|
265
|
+
}
|
|
266
|
+
else await G();
|
|
267
|
+
b.value && b.value.conferenceId !== -1 && b.value.status !== "PUBLISHING" && b.value.status !== "DEBRIEFING" && W();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
async function W() {
|
|
271
|
+
b.value?.status !== "PUBLISHING" && (O.value = setTimeout(async () => {
|
|
272
|
+
await G(), W();
|
|
273
|
+
}, 3e3));
|
|
274
|
+
}
|
|
275
|
+
async function G() {
|
|
276
|
+
try {
|
|
277
|
+
let e = await r.fetchData({
|
|
278
|
+
api: 9,
|
|
279
|
+
path: "conference/info/" + _.value?.conferenceId
|
|
280
|
+
});
|
|
281
|
+
b.value = {
|
|
282
|
+
...b.value,
|
|
283
|
+
...e
|
|
284
|
+
};
|
|
285
|
+
} catch {}
|
|
286
|
+
}
|
|
287
|
+
function K(e) {
|
|
288
|
+
_.value = e, B.updateOrgaIfNecessary(e.organisation.id);
|
|
289
|
+
}
|
|
290
|
+
function q() {
|
|
291
|
+
u.value = !0, l.value = !0;
|
|
292
|
+
}
|
|
293
|
+
async function Se() {
|
|
294
|
+
l.value = !1, u.value = !1;
|
|
295
|
+
try {
|
|
296
|
+
let e = await r.fetchData({
|
|
297
|
+
api: 0,
|
|
298
|
+
path: "podcast/" + s.podcastId
|
|
299
|
+
});
|
|
300
|
+
if (e.organisation.privacy !== "PUBLIC" && B.filterOrgaId !== e.organisation.id && fe.query.productor !== e.organisation.id) {
|
|
301
|
+
q();
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
if (K(e), z.contentToDisplayUpdate(e), (!_.value.availability.visibility || _.value.processingStatus !== "READY_TO_RECORD" && _.value.processingStatus !== "READY" && _.value.processingStatus !== "PROCESSING" || !1 === _.value.valid) && !U.value) {
|
|
305
|
+
u.value = !0, l.value = !0;
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
J(), I(_.value.title), await V.getCommentsConfig(_.value), (b.value?.videoProfile?.includes("video_") && _.value.processingStatus === "READY_TO_RECORD" || _.value.video?.videoId !== void 0) && (k.value = ue.getYoutubeId(_.value?.tags ?? [])), l.value = !0;
|
|
309
|
+
} catch (e) {
|
|
310
|
+
L(e), q();
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
function J() {
|
|
314
|
+
if (_.value?.processingStatus !== "PLANNED") {
|
|
315
|
+
xe();
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
O.value = setTimeout(async () => {
|
|
319
|
+
K(await te.get(s.podcastId)), J();
|
|
320
|
+
}, 2e3);
|
|
321
|
+
}
|
|
322
|
+
return (n, ee) => (T(), h("section", Te, [l.value && !u.value && _.value ? (T(), h(d, { key: 0 }, [A(F) ? (T(), p(A(le), {
|
|
323
|
+
key: 0,
|
|
324
|
+
"page-title": i.useEmissionTitle ? _.value.emission.name : be.value,
|
|
325
|
+
"img-url": _.value.imageUrl
|
|
326
|
+
}, null, 8, ["page-title", "img-url"])) : m("", !0), g("div", { class: S(["d-flex flex-column page-element", A(F) ? "page-element-podcastmaker" : ""]) }, [
|
|
327
|
+
v(we, {
|
|
328
|
+
"playing-podcast": i.playingPodcast,
|
|
329
|
+
podcast: _.value,
|
|
330
|
+
"podcast-conference": b.value,
|
|
331
|
+
onUpdatePodcast: K
|
|
332
|
+
}, {
|
|
333
|
+
"recording-item-button": N((e) => [D(n.$slots, "recording-item-button", C(x(e)))]),
|
|
334
|
+
"edit-box": N((e) => [D(n.$slots, "edit-box", C(x(e)))]),
|
|
335
|
+
_: 3
|
|
336
|
+
}, 8, [
|
|
337
|
+
"playing-podcast",
|
|
338
|
+
"podcast",
|
|
339
|
+
"podcast-conference"
|
|
340
|
+
]),
|
|
341
|
+
A(t).podcastPage.ShareButtons ? (T(), p(A(ae), {
|
|
342
|
+
key: 0,
|
|
343
|
+
"organisation-id": _.value.organisation.id
|
|
344
|
+
}, null, 8, ["organisation-id"])) : m("", !0),
|
|
345
|
+
!A(F) && U.value && !k.value ? (T(), p(A(oe), {
|
|
346
|
+
key: 1,
|
|
347
|
+
podcast: _.value,
|
|
348
|
+
emission: _.value?.emission,
|
|
349
|
+
"organisation-id": A(he)
|
|
350
|
+
}, null, 8, [
|
|
351
|
+
"podcast",
|
|
352
|
+
"emission",
|
|
353
|
+
"organisation-id"
|
|
354
|
+
])) : m("", !0),
|
|
355
|
+
v(A(ce), { podcast: _.value }, null, 8, ["podcast"]),
|
|
356
|
+
v(c, {
|
|
357
|
+
"emission-id": _.value.emission.emissionId,
|
|
358
|
+
href: "/main/pub/emission/" + _.value.emission.emissionId,
|
|
359
|
+
title: A(j)("More episodes of this emission"),
|
|
360
|
+
"button-text": A(j)("All podcast emission button"),
|
|
361
|
+
"title-tag": "h3"
|
|
362
|
+
}, null, 8, [
|
|
363
|
+
"emission-id",
|
|
364
|
+
"href",
|
|
365
|
+
"title",
|
|
366
|
+
"button-text"
|
|
367
|
+
]),
|
|
368
|
+
ge.value ? m("", !0) : (T(), h("section", Y, [v(o, { "min-height": 550 }, {
|
|
369
|
+
default: N(() => [v(c, {
|
|
370
|
+
class: "mt-4",
|
|
371
|
+
"title-tag": "h3",
|
|
372
|
+
"organisation-id": [_.value.organisation.id],
|
|
373
|
+
"podcast-id": i.podcastId,
|
|
374
|
+
title: A(j)("Suggested listening")
|
|
375
|
+
}, null, 8, [
|
|
376
|
+
"organisation-id",
|
|
377
|
+
"podcast-id",
|
|
378
|
+
"title"
|
|
379
|
+
])]),
|
|
380
|
+
_: 1
|
|
381
|
+
}), (T(!0), h(d, null, de(_e.value, (e) => (T(), p(o, {
|
|
382
|
+
key: e.id,
|
|
383
|
+
"min-height": 550
|
|
384
|
+
}, {
|
|
385
|
+
default: N(() => [v(c, {
|
|
386
|
+
class: "mt-4",
|
|
387
|
+
"title-tag": "h3",
|
|
388
|
+
"iab-id": e.id,
|
|
389
|
+
href: "/main/pub/category/" + e.id,
|
|
390
|
+
title: A(j)("More episodes of this category : ", { name: e.name }),
|
|
391
|
+
"button-text": A(j)("All podcast button", { name: e.name }),
|
|
392
|
+
"organisation-id": [_.value.organisation.id]
|
|
393
|
+
}, null, 8, [
|
|
394
|
+
"iab-id",
|
|
395
|
+
"href",
|
|
396
|
+
"title",
|
|
397
|
+
"button-text",
|
|
398
|
+
"organisation-id"
|
|
399
|
+
])]),
|
|
400
|
+
_: 2
|
|
401
|
+
}, 1024))), 128))]))
|
|
402
|
+
], 2)], 64)) : m("", !0), v(e, {
|
|
403
|
+
"loading-text": l.value ? void 0 : A(j)("Loading content ..."),
|
|
404
|
+
"error-text": u.value ? A(j)("This episode is not available for (re)listening") : void 0
|
|
405
|
+
}, null, 8, ["loading-text", "error-text"])]));
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
//#endregion
|
|
409
|
+
export { X as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t } from "./PlayerStore-
|
|
2
|
-
import { t as n } from "./ProgressBar
|
|
1
|
+
import { n as e, r as t } from "./PlayerStore-DlQZRxsf.mjs";
|
|
2
|
+
import { t as n } from "./ProgressBar-CB9kEepm.mjs";
|
|
3
3
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, openBlock as d, toDisplayString as f, unref as p } from "vue";
|
|
4
4
|
//#region src/components/display/podcasts/PodcastPlayBar.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = { class: "d-flex align-items-center" }, h = { class: "d-flex align-items-center podcast-play-bar flex-grow-1" }, g = { class: "me-2" }, _ = { class: "position-relative flex-grow-1" }, v = { class: "ms-2" }, y = /* @__PURE__ */ u({
|
|
@@ -15,7 +15,7 @@ var m = { class: "d-flex align-items-center" }, h = { class: "d-flex align-items
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
setup(u) {
|
|
18
|
-
let y = l(() => import("./PodcastPlayBasicButton-
|
|
18
|
+
let y = l(() => import("./PodcastPlayBasicButton-akh9XtTL.mjs")), b = u, x = e(), S = r(() => b.podcast?.podcastId === x.playerPodcast?.podcastId && x.playerElapsed ? x.playerElapsed * 100 : 0), C = r(() => b.podcast?.podcastId === x.playerPodcast?.podcastId && x.playerElapsed && x.playerElapsed > 0 && x.playerTotal && x.playerTotal > 0 ? t.formatDuration(Math.round(x.playerElapsed * x.playerTotal)) : "00:00"), w = r(() => t.formatDuration(Math.round(b.podcast.duration / 1e3)));
|
|
19
19
|
function T(e) {
|
|
20
20
|
if (!x.playerPodcast || b.podcast?.podcastId !== x.playerPodcast.podcastId) return;
|
|
21
21
|
let t = e.currentTarget.getBoundingClientRect(), n = e.currentTarget.clientWidth, r = (e.clientX - t.left) / n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./PlayerStore-
|
|
1
|
+
import { n as e } from "./PlayerStore-DlQZRxsf.mjs";
|
|
2
2
|
import { computed as t, createBlock as n, createElementBlock as r, defineComponent as i, openBlock as a, unref as o } from "vue";
|
|
3
3
|
import { useI18n as s } from "vue-i18n";
|
|
4
4
|
import c from "vue-material-design-icons/Play.vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { E as t, u as n } from "./classicApi-CT9k0xvp.mjs";
|
|
3
3
|
import { t as r } from "./useResizePhone-4hSkK5pa.mjs";
|
|
4
|
-
import { n as i, r as a } from "./PlayerStore-
|
|
4
|
+
import { n as i, r as a } from "./PlayerStore-DlQZRxsf.mjs";
|
|
5
5
|
import { t as o } from "./podcast-BoNHyuLe.mjs";
|
|
6
6
|
import { t as ee } from "./PlayVideoIcon-BhTQpMyL.mjs";
|
|
7
7
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, defineAsyncComponent as p, defineComponent as m, normalizeClass as h, openBlock as g, ref as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, withModifiers as x } from "vue";
|
|
@@ -49,7 +49,7 @@ var D = {
|
|
|
49
49
|
},
|
|
50
50
|
setup(e) {
|
|
51
51
|
w.extend(te);
|
|
52
|
-
let m = p(() => import("./PodcastIsPlaying-
|
|
52
|
+
let m = p(() => import("./PodcastIsPlaying-CvZMCgrV.mjs")), N = e, P = _(""), { t: F } = S(), I = i(), L = C(), { isPhone: R } = r(), z = c(() => N.fetchConference?.videoProfile?.includes("video_") && o.ReadyToRecord === N.podcast.processingStatus || "video" in N.podcast && N.podcast.video?.videoId !== void 0 || "videoId" in N.podcast && N.podcast.videoId !== void 0), B = c(() => N.fetchConference !== void 0 && N.fetchConference.toString() !== "null" && I.playerLive?.conferenceId === N.fetchConference.conferenceId), V = c(() => I.playerPodcast?.podcastId === N.podcast.podcastId || B.value), H = c(() => N.fetchConference === void 0 && U.value), U = c(() => N.podcast?.conferenceId !== void 0 && N.podcast.conferenceId !== 0 && o.ReadyToRecord === N.podcast.processingStatus), W = c(() => N.podcast !== void 0 && !1 !== N.podcast.valid && N.podcast.availability.visibility !== void 0 && N.podcast.availability.visibility), G = c(() => R.value ? 36 : P.value === "audio" ? 50 : 40), K = c(() => !H.value && o.Planned !== N.podcast.processingStatus), q = c(() => N.justButtons !== !0 && !(W.value && !H.value && o.Planned !== N.podcast.processingStatus) || o.Processing === N.podcast.processingStatus && N.showProcessing), J = c(() => H.value ? T : o.Ready === N.podcast.processingStatus || N.fetchConference ? N.podcast.valid ? !N.podcast.availability.visibility && N.podcast.availability.date ? T : oe : ie : o.Planned === N.podcast.processingStatus || o.Processing === N.podcast.processingStatus ? ae : o.Cancelled === N.podcast.processingStatus ? E : ne), Y = c(() => H.value ? F("Podcast linked to waiting live") : o.Ready === N.podcast.processingStatus || N.fetchConference ? N.podcast.valid ? !N.podcast.availability.visibility && N.podcast.availability.date ? F("Podcast publish in future") : F("Podcast no visible") : F("Podcast to validate") : o.Planned === N.podcast.processingStatus || o.Processing === N.podcast.processingStatus ? F("Podcast in process") : o.Cancelled === N.podcast.processingStatus ? F("Podcast in cancelled status") : F("Podcast in error")), X = c(() => N.fetchConference !== void 0 && N.fetchConference.conferenceId !== -1 && (N.fetchConference.status === "RECORDING" || N.fetchConference.status === "PENDING")), Z = c(() => a.formatDuration(Math.round(N.podcast.duration / 1e3))), Q = c(() => !N.podcast || N.podcast.duration <= 1 ? "" : w.duration({ milliseconds: N.podcast.duration }).toISOString());
|
|
53
53
|
async function $(e) {
|
|
54
54
|
if (H.value) return;
|
|
55
55
|
if (V.value && e === I.playerVideo) {
|