@saooti/octopus-sdk 42.0.2 → 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-EkYCvb-A.mjs → AdvancedSearch-CRM10skn.mjs} +5 -5
- package/dist/{CategoryFilter-BYF5Aj66.mjs → CategoryFilter-Brp-KFg7.mjs} +3 -3
- package/dist/{CategoryList-Bl4HF6IV.mjs → CategoryList-CMOJ2PnA.mjs} +1 -1
- package/dist/{CategoryPage-D31bXPFd.mjs → CategoryPage-Bc37UcZy.mjs} +2 -2
- package/dist/{ChapteringModal-DeJlPZqt.mjs → ChapteringModal-CyH6QLeE.mjs} +1 -1
- package/dist/{CheckIdentityModal-C0mQhO1Y.mjs → CheckIdentityModal-CHV9trKX.mjs} +2 -2
- package/dist/{ClipboardModal-CZMe6yzC.mjs → ClipboardModal-B0Jt9ME7.mjs} +1 -1
- package/dist/{CommentInput-CJQJGuGh.mjs → CommentInput-ChEnqzNa.mjs} +4 -4
- package/dist/{CommentItem-BMdLtMSM.mjs → CommentItem-BE3-5CFl.mjs} +3 -3
- package/dist/{CommentList-CiyIfFVR.mjs → CommentList-B0fDtqIH.mjs} +2 -2
- package/dist/{CommentMoreActions-LkviE-Ys.mjs → CommentMoreActions-DFTHxzHB.mjs} +3 -3
- package/dist/{CommentName-Dd6_i8Aq.mjs → CommentName-ByE5TV4u.mjs} +2 -2
- package/dist/{CommentParentInfo-B1uIVuWE.mjs → CommentParentInfo-DyzP495k.mjs} +1 -1
- package/dist/{CommentPlayer-6khGC239.mjs → CommentPlayer-2eRUFpll.mjs} +2 -2
- package/dist/{CommentSection-DN2hTntd.mjs → CommentSection-DQx3qX6H.mjs} +3 -3
- package/dist/{CommentStore-ClWYnxlP.mjs → CommentStore-C4lkShsH.mjs} +15 -15
- package/dist/{ContractPreviewModal-D09ZZRzk.mjs → ContractPreviewModal-BxOE6aiU.mjs} +2 -2
- package/dist/{DownloadPodcastButton-CllFnfRd.mjs → DownloadPodcastButton-Dcgt8FfA.mjs} +2 -2
- package/dist/{EditCommentModal-DdQ0VbJD.mjs → EditCommentModal-K6D1-4gU.mjs} +1 -1
- package/dist/{EmissionGroupChooser-Zcybs9xf.mjs → EmissionGroupChooser-B0UXS-d_.mjs} +1 -1
- package/dist/{EmissionInlineList-BApYL38i.mjs → EmissionInlineList-CRJ4pIxb.mjs} +5 -5
- package/dist/{EmissionItem-Drvrx9dD.mjs → EmissionItem-8WTkKsCa.mjs} +4 -4
- package/dist/{EmissionList-CTf4dsj_.mjs → EmissionList-ucpW_ejS.mjs} +4 -4
- package/dist/{EmissionPage-H6mau7wr.mjs → EmissionPage-B8Nlb52Y.mjs} +8 -8
- package/dist/{EmissionPlayerItem-C0_Fu8k1.mjs → EmissionPlayerItem-BzuNcAsq.mjs} +3 -3
- package/dist/{EmissionPresentationItem-CoIUFFKW.mjs → EmissionPresentationItem-ZU93UKW2.mjs} +1 -1
- package/dist/{EmissionPresentationList-CkCczWdK.mjs → EmissionPresentationList-LY-FEWC2.mjs} +3 -3
- package/dist/{EmissionsPage-DjdZ-b2g.mjs → EmissionsPage-wzpDLmzO.mjs} +4 -4
- package/dist/{Error403Page-CZ9ePMyv.mjs → Error403Page-DLaOyud0.mjs} +2 -2
- package/dist/{FooterGarSection-BWvyWYzd.mjs → FooterGarSection-BwFRytaV.mjs} +4 -4
- package/dist/{FooterSection-MLB3MbQn.mjs → FooterSection-VGdzyEZf.mjs} +2 -2
- package/dist/{HomeDropdown-F5S8UGGq.mjs → HomeDropdown-CNSPuJot.mjs} +2 -2
- package/dist/{HomePage-OvL6x1m2.mjs → HomePage-CGaCXQBm.mjs} +3 -3
- package/dist/{LikeSection-C5hS-dkj.mjs → LikeSection-D_q391TU.mjs} +3 -3
- package/dist/{ListPaginate--S_WMdzs.mjs → ListPaginate-B-PYbP3K.mjs} +2 -2
- package/dist/{LiveHorizontalList-DcjX6JyT.mjs → LiveHorizontalList-CDIDwBWJ.mjs} +3 -3
- package/dist/{LiveList-rBKbHV1z.mjs → LiveList-Dvxk12Cc.mjs} +12 -12
- package/dist/{LivesPage-CBfjbjJS.mjs → LivesPage-BByFveAd.mjs} +2 -2
- package/dist/{MapPage-DPlAyhb2.mjs → MapPage-w7hUFr9g.mjs} +1 -1
- package/dist/{MobileMenu-Bstcgl68.mjs → MobileMenu-D19pTUkT.mjs} +3 -3
- package/dist/{NewsletterModal-CjqEAdDc.mjs → NewsletterModal-BekCWfJB.mjs} +1 -1
- package/dist/{OrganisationChooser-CucAu_Zo.mjs → OrganisationChooser-ywDaRPU9.mjs} +6 -6
- package/dist/{OrganisationChooserLight-BF5X41Z_.mjs → OrganisationChooserLight-CMNA-YR5.mjs} +2 -2
- package/dist/{PageNotFound-DZE0j-zQ.mjs → PageNotFound-kY0Vk237.mjs} +2 -2
- package/dist/{ParticipantInlineList-DQIv3BCY.mjs → ParticipantInlineList-n3IcMXXU.mjs} +4 -4
- package/dist/{ParticipantItem-DjCj0PAR.mjs → ParticipantItem-CoS5qVct.mjs} +3 -3
- package/dist/{ParticipantPage-DKgl3Itz.mjs → ParticipantPage-CqwpZDjv.mjs} +6 -6
- package/dist/{ParticipantsPage-OV4-0XDV.mjs → ParticipantsPage-BzZFxuAX.mjs} +6 -6
- package/dist/{PlayerAnonymousModal-CN9K91v7.mjs → PlayerAnonymousModal-Clf2m_PO.mjs} +2 -2
- package/dist/{PlayerCompact-C4Z3zX1V.mjs → PlayerCompact-ff2-h0Ys.mjs} +3 -3
- package/dist/{PlayerComponent-BvFCwOZH.mjs → PlayerComponent-BIZ29VAP.mjs} +52 -52
- package/dist/{PlayerLarge-Dreq0MkF.mjs → PlayerLarge-C958Fkm_.mjs} +5 -5
- package/dist/{PlayerPlayButton-DwK-Xwxw.mjs → PlayerPlayButton-DL0e7DAU.mjs} +4 -4
- package/dist/{PlayerProgressBar-CSPhQUMv.mjs → PlayerProgressBar-DK9ClWaE.mjs} +2 -2
- package/dist/{PlayerStore-oWt4z_Pm.mjs → PlayerStore-DlQZRxsf.mjs} +1 -1
- package/dist/{PlayerVideo-B-yey4sP.mjs → PlayerVideo-BRkaIXH7.mjs} +3 -3
- package/dist/{PlayerVideoDigiteka-Be7q9IOr.mjs → PlayerVideoDigiteka-CNfWw0hs.mjs} +2 -2
- package/dist/{PlayerVideoHls-Bpr0t84b.mjs → PlayerVideoHls-Czu2Xvob.mjs} +3 -3
- package/dist/{PlaylistPage-DsqLnr3q.mjs → PlaylistPage-BV_3q5Pg.mjs} +8 -8
- package/dist/{PlaylistsPage-D-AmEXaF.mjs → PlaylistsPage-g82vXz51.mjs} +6 -6
- package/dist/{PodcastFilterList-D0OHATs3.mjs → PodcastFilterList-CpH9ALL0.mjs} +2 -2
- package/dist/{PodcastImage-Fq6P5R4t.mjs → PodcastImage-Kr7qE9PW.mjs} +3 -3
- package/dist/{PodcastInlineList-S8FyZaKh.mjs → PodcastInlineList-CSPSuPXn.mjs} +1 -1
- package/dist/{PodcastInlineListTemplate-CSNYVfeg.mjs → PodcastInlineListTemplate-CBGWengl.mjs} +3 -3
- package/dist/{PodcastIsPlaying-D1Y0PrPe.mjs → PodcastIsPlaying-CvZMCgrV.mjs} +1 -1
- package/dist/{PodcastItem-CRQzSYa8.mjs → PodcastItem-B6xZ9spO.mjs} +26 -25
- package/dist/{PodcastList-jSaSktGX.mjs → PodcastList-DM2kODR9.mjs} +5 -5
- package/dist/{PodcastList-Q7UB5Jvo.mjs → PodcastList-DN7U6G3x.mjs} +10 -10
- package/dist/PodcastPage-ClPlzjJY.mjs +409 -0
- package/dist/{PodcastPlayBar-CRwY1aJj.mjs → PodcastPlayBar-C-7lR6Or.mjs} +3 -3
- package/dist/{PodcastPlayBasicButton-DxyYfLdG.mjs → PodcastPlayBasicButton-akh9XtTL.mjs} +1 -1
- package/dist/{PodcastPlayButton-Cp8DrQtU.mjs → PodcastPlayButton-CqjJC_GT.mjs} +3 -3
- package/dist/{PodcastPlaylistInlineList-BFwIvuIS.mjs → PodcastPlaylistInlineList-DTJpiuMG.mjs} +4 -4
- package/dist/{PodcastPresentationList-Ds_Xziyu.mjs → PodcastPresentationList-B0D9wjP2.mjs} +8 -8
- package/dist/{PodcastProgressBar-Dy18FXco.mjs → PodcastProgressBar-CIf_zX6H.mjs} +3 -3
- package/dist/{PodcastRawTranscript-Lmhj4ZcK.mjs → PodcastRawTranscript-EqIv2k5F.mjs} +2 -2
- package/dist/{PodcastRubriqueList-PdtD_3e_.mjs → PodcastRubriqueList-DCchX3n9.mjs} +2 -2
- package/dist/{PodcastSwiperList-CsD6U7nC.mjs → PodcastSwiperList-PSwifeRx.mjs} +4 -4
- package/dist/{PodcastmakerHeader-BM0dL0mN.mjs → PodcastmakerHeader-DpCkSoQE.mjs} +1 -1
- package/dist/{PodcastsPage-DFlL6kGB.mjs → PodcastsPage-CSWymx6J.mjs} +4 -4
- package/dist/{ProductorSearch-14Fsq-1F.mjs → ProductorSearch-l_LHvS3J.mjs} +2 -2
- package/dist/{ProgressBar-ict3WjO9.mjs → ProgressBar-CB9kEepm.mjs} +1 -1
- package/dist/{QrCode-DFVyJ6jp.mjs → QrCode-D-3wdYEC.mjs} +1 -1
- package/dist/{QrCodeModal-CmSioVji.mjs → QrCodeModal-BAk2VQzU.mjs} +1 -1
- package/dist/{RadioCurrently-B4l5Zpqx.mjs → RadioCurrently-r21pyYBe.mjs} +3 -3
- package/dist/{RadioHistory-DGvnUjt5.mjs → RadioHistory-BNqw7gzG.mjs} +2 -2
- package/dist/{RadioImage-Ch0YOZpr.mjs → RadioImage-IbBgMDUL.mjs} +4 -4
- package/dist/{RadioList-BekzGcfZ.mjs → RadioList-CLjDwo6u.mjs} +4 -4
- package/dist/{RadioPage-YaFXvWH3.mjs → RadioPage-Bx4i1Mpi.mjs} +4 -4
- package/dist/{RadioPlanning-Dx14nK5H.mjs → RadioPlanning-Br27Ttix.mjs} +2 -2
- package/dist/{RadioProgressBar-w1nQ8czX.mjs → RadioProgressBar-Cb3AfYLQ.mjs} +1 -1
- package/dist/{RecaptchaModal-BF9ULSTd.mjs → RecaptchaModal-CxtAdOpC.mjs} +1 -1
- package/dist/{ReportAbuseModal-CwGBRV_C.mjs → ReportAbuseModal-iggcskxa.mjs} +3 -3
- package/dist/{RightsIndicator-CpIxnsUR.mjs → RightsIndicator-D_7amy65.mjs} +1 -1
- package/dist/{RightsWrapper-D1qVfCcg.mjs → RightsWrapper-Bo6Xza5_.mjs} +2 -2
- package/dist/{RubriqueFilter-DdXpISEj.mjs → RubriqueFilter-CJDRNtiD.mjs} +2 -2
- package/dist/{RubriqueList-Bf3kNyk9.mjs → RubriqueList-CISdSdFN.mjs} +2 -2
- package/dist/{RubriquePage-4OHOajcE.mjs → RubriquePage-C8CF_iFS.mjs} +4 -4
- package/dist/{SearchPage-BJlU-BcT.mjs → SearchPage-DvLjGwKI.mjs} +2 -2
- package/dist/{ShareAnonymous-B41ATCRg.mjs → ShareAnonymous-GQ600Owz.mjs} +3 -3
- package/dist/{ShareModalPlayer-BalJpjQZ.mjs → ShareModalPlayer-pB-HAwc-.mjs} +1 -1
- package/dist/{ShareNewsletter-f03J6RoH.mjs → ShareNewsletter-Cdyw0GB9.mjs} +2 -2
- package/dist/{SharePlayer-elOCoCRi.mjs → SharePlayer-XribbnSm.mjs} +2 -2
- package/dist/{SharePlayerRadio-B9oLzSBG.mjs → SharePlayerRadio-Co0G90iE.mjs} +2 -2
- package/dist/{SharePlayerTypes-AWfa6Qz_.mjs → SharePlayerTypes-Crlc6fV2.mjs} +1 -1
- package/dist/{ShareSocialsButtons-Bwxad4Y7.mjs → ShareSocialsButtons-oPwpAJiG.mjs} +2 -2
- package/dist/{SimpleLayout-CAFYRTMf.mjs → SimpleLayout-DO6e66-u.mjs} +2 -2
- package/dist/SmartLinkPage-Bfe3J2rs.mjs +131 -0
- package/dist/{SubscribeButtons-NKhPZ-sJ.mjs → SubscribeButtons-BsUSeVE2.mjs} +2 -2
- package/dist/{SwiperList-CxSo0qdA.mjs → SwiperList-05VP6fwg.mjs} +1 -1
- package/dist/{TagList-DsQde007.mjs → TagList-CpH_cvNv.mjs} +1 -1
- package/dist/{TagPage-DdSPU923.mjs → TagPage-B7mbRbqr.mjs} +3 -3
- package/dist/{TopBar-CpjDKdG9.mjs → TopBar-DljepaOt.mjs} +6 -6
- package/dist/{UserButtonContent-COb8p914.mjs → UserButtonContent-B20fPV-J.mjs} +2 -2
- package/dist/{VideoModuleBox-Dz6dkVFU.mjs → VideoModuleBox-DJdYQGMX.mjs} +1 -1
- package/dist/VideoPage-Bllo2Q-Y.mjs +148 -0
- package/dist/{classicApi-Cos2uZQj.mjs → classicApi-CT9k0xvp.mjs} +234 -257
- package/dist/{downloadHelper-0s6Woxx4.mjs → downloadHelper-DkfB6XQg.mjs} +1 -1
- package/dist/index.mjs +83 -82
- package/dist/tests.mjs +2 -2
- package/dist/{useAdvancedParamInit-CK1S2A-5.mjs → useAdvancedParamInit-Y3eC3aep.mjs} +5 -5
- package/dist/useDayjs-ayZHsoc2.mjs +28 -0
- package/dist/{useErrorHandler-DAWwxGjG.mjs → useErrorHandler-Chh24Net.mjs} +1 -1
- package/dist/{useImageProxy-Bp5COBoB.mjs → useImageProxy-C_wlfbSP.mjs} +1 -1
- package/dist/{useOrgaComputed-BfGR8BOq.mjs → useOrgaComputed-CmlIJ5XC.mjs} +1 -1
- package/dist/{usePlayerLogicProgress-Bp5H95rW.mjs → usePlayerLogicProgress-B0mjPIEj.mjs} +2 -2
- package/dist/{usePodcastView-Cpwi9Cpz.mjs → usePodcastView-wkow7peQ.mjs} +4 -3
- package/dist/{usePresentationItem-DOW0xnDy.mjs → usePresentationItem-C37nsJnQ.mjs} +20 -19
- package/dist/{useRights-BuILddIF.mjs → useRights-CXa0yDii.mjs} +1 -1
- package/dist/{useRubriquesFilterComputed-CDhO1bNi.mjs → useRubriquesFilterComputed-goozXeIB.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-BAM07jph.mjs → useRubriquesFilterParam-CrsdD0Oj.mjs} +1 -1
- package/dist/{useSharePlatforms-PyN99oER.mjs → useSharePlatforms-B7Xnf_If.mjs} +5 -5
- package/dist/{useSimplePageParam-B6eU_F2z.mjs → useSimplePageParam-D6TmZIPG.mjs} +1 -1
- package/dist/{useTranslation-CQT91TGE.mjs → useTranslation-D3t40JaE.mjs} +14 -14
- package/dist/{usefetchRadioData-KflsZpkI.mjs → usefetchRadioData-knVpkZCB.mjs} +1 -1
- package/package.json +1 -1
- package/src/stores/CacheStore.ts +1 -3
- package/dist/PodcastPage-D4IWvzX2.mjs +0 -409
- package/dist/SmartLinkPage-C3pyttZO.mjs +0 -131
- package/dist/VideoPage-Dpbfsyi_.mjs +0 -148
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./classicApi-
|
|
1
|
+
import { i as e } from "./classicApi-CT9k0xvp.mjs";
|
|
2
2
|
//#region src/components/composable/useRights.ts
|
|
3
3
|
var t = /* @__PURE__ */ function(e) {
|
|
4
4
|
return e.Allowed = "allowed", e.DeniedNoRight = "no_right", e.DeniedNotOwner = "not_owner", e.DeniedInsufficientScope = "no_scope", e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as e, s as t } from "./classicApi-CT9k0xvp.mjs";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
3
|
-
import { t as r } from "./useImageProxy-
|
|
3
|
+
import { t as r } from "./useImageProxy-C_wlfbSP.mjs";
|
|
4
4
|
import { t as i } from "./RadiolineIcon-CxHZGhfr.mjs";
|
|
5
5
|
import { t as a } from "./TuninIcon-DENNxlP8.mjs";
|
|
6
6
|
import { t as o } from "./PodcastAddictIcon-CW3Uxj4I.mjs";
|
|
@@ -267,11 +267,11 @@ var H = ["aria-hidden"], U = [
|
|
|
267
267
|
color: "#5c85dd"
|
|
268
268
|
}
|
|
269
269
|
], q = () => {
|
|
270
|
-
let n = C([]), { addNotification: r } =
|
|
271
|
-
async function i(
|
|
270
|
+
let n = C([]), { addNotification: r } = e();
|
|
271
|
+
async function i(e) {
|
|
272
272
|
n.value = [...K];
|
|
273
273
|
try {
|
|
274
|
-
(await
|
|
274
|
+
(await t.getAllNoAuth(e)).forEach((e) => {
|
|
275
275
|
n.value.push({
|
|
276
276
|
name: e.name,
|
|
277
277
|
title: e.name,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./classicApi-
|
|
1
|
+
import { r as e } from "./classicApi-CT9k0xvp.mjs";
|
|
2
2
|
import { t } from "./useRouteUpdateParams-DJLm3IAI.mjs";
|
|
3
3
|
import { t as n } from "./types-BMNwRfo9.mjs";
|
|
4
4
|
import { computed as r, onMounted as i, ref as a, watch as o } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as e, h as t, u as n, v as r } from "./classicApi-CT9k0xvp.mjs";
|
|
2
2
|
//#region src/helper/language.ts
|
|
3
3
|
function i(e = !0) {
|
|
4
4
|
let t = document.cookie.split(";"), n = "";
|
|
@@ -87,35 +87,35 @@ var u = "en", d = () => {
|
|
|
87
87
|
function f(e, t, n) {
|
|
88
88
|
return c(e, d(t.annotations?.["translation-config"], !0), d(n?.["translation-config"]));
|
|
89
89
|
}
|
|
90
|
-
function p(
|
|
91
|
-
if (
|
|
90
|
+
function p(t, n, r, i) {
|
|
91
|
+
if (t === i.nativeLanguage) return 0;
|
|
92
92
|
{
|
|
93
|
-
let a = f(
|
|
93
|
+
let a = f(t, n, r);
|
|
94
94
|
if (a === o.ALWAYS) return 0;
|
|
95
|
-
if (a === o.ON_DEMAND) return +!i.translations.find((
|
|
95
|
+
if (a === o.ON_DEMAND) return +!i.translations.find((n) => n.language === t && n.state === e.FINISHED);
|
|
96
96
|
}
|
|
97
97
|
return 2;
|
|
98
98
|
}
|
|
99
|
-
async function m(
|
|
99
|
+
async function m(e) {
|
|
100
100
|
let r = i(!1);
|
|
101
|
-
if (r ===
|
|
101
|
+
if (r === e.nativeLanguage) return { ready: r };
|
|
102
102
|
let a = [];
|
|
103
103
|
[
|
|
104
104
|
r,
|
|
105
105
|
...navigator.languages,
|
|
106
106
|
u,
|
|
107
|
-
|
|
107
|
+
e.nativeLanguage
|
|
108
108
|
].forEach((e) => {
|
|
109
109
|
e.includes("-") && (e = e.split("-")[0]), a.includes(e) || a.push(e);
|
|
110
110
|
});
|
|
111
|
-
let o = await
|
|
112
|
-
for (let
|
|
113
|
-
let
|
|
114
|
-
if (
|
|
115
|
-
l =
|
|
111
|
+
let o = await n.get(e.podcastId), s = o.emission, c = await t.getAttributes(o.organisation.id), l = null, d = null;
|
|
112
|
+
for (let t of a) {
|
|
113
|
+
let n = p(t, s, c, e);
|
|
114
|
+
if (n === 0 && l === null) {
|
|
115
|
+
l = t;
|
|
116
116
|
break;
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
n === 1 && d === null && (d = t);
|
|
119
119
|
}
|
|
120
120
|
return {
|
|
121
121
|
ready: l,
|
package/package.json
CHANGED
package/src/stores/CacheStore.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Dayjs } from "dayjs";
|
|
1
|
+
import dayjs, { Dayjs } from "dayjs";
|
|
3
2
|
import { defineStore } from "pinia";
|
|
4
3
|
|
|
5
4
|
/**
|
|
@@ -14,7 +13,6 @@ interface CachedData<T> {
|
|
|
14
13
|
|
|
15
14
|
export const useCacheStore = defineStore('cache', () => {
|
|
16
15
|
|
|
17
|
-
const { dayjs } = useDayjs();
|
|
18
16
|
const cachedData: Record<string, CachedData<unknown>> = {};
|
|
19
17
|
|
|
20
18
|
async function getData<T>(key: string, callback: () => Promise<T>): Promise<T> {
|
|
@@ -1,409 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
-
import { D as t, d as n, i as ee, r as te, t as r } from "./classicApi-Cos2uZQj.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-DAWwxGjG.mjs";
|
|
6
|
-
import { t as ie } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
7
|
-
import { t as ae } from "./useOrgaComputed-BfGR8BOq.mjs";
|
|
8
|
-
import { t as oe } from "./emission-CQ1VuxRc.mjs";
|
|
9
|
-
import { t as se } from "./useSeasonsManagement-DwbmJywJ.mjs";
|
|
10
|
-
import { t as ce } from "./CommentStore-ClWYnxlP.mjs";
|
|
11
|
-
import { t as le } from "./RightsIndicator-CpIxnsUR.mjs";
|
|
12
|
-
import { t as a } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
13
|
-
import { t as ue } from "./PodcastImage-Fq6P5R4t.mjs";
|
|
14
|
-
import { t as o } from "./ParticipantDescription-DVSfKvtg.mjs";
|
|
15
|
-
import { t as s } from "./PodcastInlineList-S8FyZaKh.mjs";
|
|
16
|
-
import { t as c } from "./PodcastRawTranscript-Lmhj4ZcK.mjs";
|
|
17
|
-
import { t as de } from "./youtubeVideoHelper-Cdlokujb.mjs";
|
|
18
|
-
import { t as l } from "./usePodcastView-Cpwi9Cpz.mjs";
|
|
19
|
-
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineAsyncComponent as v, defineComponent as y, guardReactiveProps as b, normalizeClass as x, normalizeProps as S, onBeforeUnmount as C, openBlock as w, ref as T, renderList as fe, renderSlot as E, resolveComponent as D, toDisplayString as O, toRefs as pe, unref as k, useTemplateRef as A, watch as j, withCtx as M } from "vue";
|
|
20
|
-
import { useI18n as me } from "vue-i18n";
|
|
21
|
-
import { useRoute as N, useRouter as P } from "vue-router";
|
|
22
|
-
import he from "vue-material-design-icons/NewspaperVariantOutline.vue";
|
|
23
|
-
//#region src/components/display/podcasts/PodcastModuleBox.vue?vue&type=script&setup=true&lang.ts
|
|
24
|
-
var ge = {
|
|
25
|
-
key: 0,
|
|
26
|
-
class: "module-box"
|
|
27
|
-
}, F = { class: "mb-2 w-100" }, I = { class: "d-flex justify-content-between flex-wrap mb-2" }, L = ["datetime"], R = {
|
|
28
|
-
key: 1,
|
|
29
|
-
class: "text-danger"
|
|
30
|
-
}, z = { class: "d-flex flex-column align-items-end" }, B = ["datetime"], _e = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "mb-3 text-secondary"
|
|
33
|
-
}, V = ["innerHTML"], ve = ["innerHTML"], H = { class: "my-3" }, ye = { class: "mb-1" }, be = {
|
|
34
|
-
key: 0,
|
|
35
|
-
class: "mb-1"
|
|
36
|
-
}, xe = {
|
|
37
|
-
key: 1,
|
|
38
|
-
class: "mb-1"
|
|
39
|
-
}, Se = {
|
|
40
|
-
key: 2,
|
|
41
|
-
class: "mb-1"
|
|
42
|
-
}, U = {
|
|
43
|
-
key: 3,
|
|
44
|
-
class: "mb-1"
|
|
45
|
-
}, W = {
|
|
46
|
-
key: 4,
|
|
47
|
-
class: "mb-1"
|
|
48
|
-
}, G = {
|
|
49
|
-
key: 5,
|
|
50
|
-
class: "mb-1"
|
|
51
|
-
}, K = ["href", "title"], Ce = { key: 8 }, q = {
|
|
52
|
-
key: 0,
|
|
53
|
-
class: "me-5 text-secondary"
|
|
54
|
-
}, we = { class: "d-flex align-items-center flex-wrap" }, Te = /* @__PURE__ */ y({
|
|
55
|
-
__name: "PodcastModuleBox",
|
|
56
|
-
props: {
|
|
57
|
-
podcast: {},
|
|
58
|
-
playingPodcast: {},
|
|
59
|
-
podcastConference: {}
|
|
60
|
-
},
|
|
61
|
-
emits: ["updatePodcast"],
|
|
62
|
-
setup(e, { emit: n }) {
|
|
63
|
-
let te = v(() => import("./ErrorMessage-B4gtlriP.mjs").then((e) => e.n)), r = v(() => import("./PodcastPlayBar-CRwY1aJj.mjs")), ne = v(() => import("./SubscribeButtons-NKhPZ-sJ.mjs").then((e) => e.n)), re = v(() => import("./LikeSection-C5hS-dkj.mjs")), ie = v(() => import("./DownloadPodcastButton-CllFnfRd.mjs")), ae = v(() => import("./PodcastPlannedSpinner-DcDDays8.mjs")), ce = v(() => import("./CountDown-o6ye6yv1.mjs")), a = v(() => import("./TagList-DsQde007.mjs")), s = v(() => import("./ShareAnonymous-B41ATCRg.mjs")), de = v(() => import("./PodcastRubriqueList-PdtD_3e_.mjs")), u = e, y = n, { t: b } = me(), S = pe(u), { isLiveReadyToRecord: C, isCounter: T, timeRemaining: fe, isPlannedInProcessor: j, date: N, duration: Te, durationIso: Ee, isPodcastmaker: J, editRight: Y } = l(S.podcast, S.podcastConference), De = ee(), X = P(), { areSeasonsEnabled: Oe } = se(), ke = A("podcastRawTranscript"), Ae = d(() => {
|
|
64
|
-
let e = u.podcast?.rubriqueIds ?? [];
|
|
65
|
-
return u.podcast?.emission?.rubriqueIds && (e = [...new Set(e.concat(u.podcast?.emission?.rubriqueIds))]), e;
|
|
66
|
-
}), je = d(() => u.podcast?.availability.visibility ? u.podcast?.processingStatus === "ERROR" ? b("Podcast in ERROR, please contact Saooti") : Fe.value ? b("Podcast not validated") : "" : b("Podcast is not visible for listeners")), Me = d(() => u.podcast?.conferenceId !== void 0 && u.podcast?.conferenceId !== 0 && u.podcast?.processingStatus === "READY"), Ne = d(() => u.podcastConference !== void 0 && u.podcastConference.status === "DEBRIEFING"), Pe = d(() => !J.value && Y.value && De.isRoleLive), Fe = d(() => u.podcast?.availability !== void 0 && !1 === u.podcast?.valid), Ie = d(() => $(u.podcast?.annotations?.photoCredit)), Z = d(() => $(u.podcast?.annotations?.audioCredit)), Le = d(() => $(u.podcast?.annotations?.authorCredit)), Re = d(() => !(t.generalParameters.podcastmaker ?? !1)), Q = d(() => {
|
|
67
|
-
let e = [];
|
|
68
|
-
return u.podcast.tags && e.push(...u.podcast.tags), u.podcast.emission.tags && e.push(...u.podcast.emission.tags), e;
|
|
69
|
-
}), ze = d(() => Oe(u.podcast.emission) && u.podcast.seasonNumber !== void 0), Be = d(() => u.podcast.emission.seasonMode === oe.SEASON_WITH_PODCAST_NUMBERING && u.podcast.seasonEpisodeNumber !== void 0), Ve = d(() => u.podcast.annotations?.subtitle && t.podcastPage?.hideSubtitle !== !0), He = d(() => t.podcastPage?.descriptionOrSummary !== "summary"), Ue = d(() => u.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
|
-
C.value ? X.push("/main/pub/lives") : window.history.length > 1 ? X.go(-1) : X.push("/");
|
|
78
|
-
}
|
|
79
|
-
function Ke() {
|
|
80
|
-
ke.value.reset();
|
|
81
|
-
}
|
|
82
|
-
let qe = d(() => t.podcastPage.hideTags === !0 ? !1 : Q.value !== void 0 && Q.value.length !== 0);
|
|
83
|
-
return (n, ee) => {
|
|
84
|
-
let i = D("router-link");
|
|
85
|
-
return e.podcast ? (w(), m("section", ge, [
|
|
86
|
-
e.podcastConference && k(C) && Pe.value ? E(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) => y("updatePodcast", e)
|
|
93
|
-
}) : k(Y) && Re.value ? E(n.$slots, "edit-box", {
|
|
94
|
-
key: 1,
|
|
95
|
-
podcast: e.podcast,
|
|
96
|
-
displayStudioAccess: Ne.value,
|
|
97
|
-
onUpdateTranscription: Ke,
|
|
98
|
-
onValidatePodcast: (e) => y("updatePodcast", e)
|
|
99
|
-
}) : p("", !0),
|
|
100
|
-
h("div", F, [
|
|
101
|
-
_(ue, {
|
|
102
|
-
class: x([[k(C) && e.podcastConference && e.podcastConference !== "null" && e.podcastConference.status ? e.podcastConference.status.toLowerCase() + "-shadow" : ""], "me-3"]),
|
|
103
|
-
"show-processing": "",
|
|
104
|
-
"hide-play": k(C),
|
|
105
|
-
podcast: e.podcast,
|
|
106
|
-
"playing-podcast": e.playingPodcast,
|
|
107
|
-
"fetch-conference": e.podcastConference,
|
|
108
|
-
"is-animator-live": Pe.value
|
|
109
|
-
}, null, 8, [
|
|
110
|
-
"class",
|
|
111
|
-
"hide-play",
|
|
112
|
-
"podcast",
|
|
113
|
-
"playing-podcast",
|
|
114
|
-
"fetch-conference",
|
|
115
|
-
"is-animator-live"
|
|
116
|
-
]),
|
|
117
|
-
h("div", I, [
|
|
118
|
-
k(N).length === 0 ? p("", !0) : (w(), m("time", {
|
|
119
|
-
key: 0,
|
|
120
|
-
class: x(Me.value ? "" : "me-5"),
|
|
121
|
-
datetime: e.podcast.pubDate
|
|
122
|
-
}, O(k(N)), 11, L)),
|
|
123
|
-
Me.value ? (w(), m("div", R, O(k(b)("Episode record in live")), 1)) : p("", !0),
|
|
124
|
-
h("div", z, [h("time", { datetime: k(Ee) }, O(k(Te)), 9, B), k(Y) ? p("", !0) : (w(), f(k(s), {
|
|
125
|
-
key: 0,
|
|
126
|
-
podcast: e.podcast,
|
|
127
|
-
"organisation-id": e.podcast.organisation.id
|
|
128
|
-
}, null, 8, ["podcast", "organisation-id"]))])
|
|
129
|
-
]),
|
|
130
|
-
h("h2", { class: x({ "mb-3": !Ve.value }) }, [_(le, {
|
|
131
|
-
podcast: e.podcast,
|
|
132
|
-
action: "edit",
|
|
133
|
-
inline: ""
|
|
134
|
-
}, null, 8, ["podcast"]), g(" " + O(e.podcast.title), 1)], 2),
|
|
135
|
-
Ve.value ? (w(), m("h3", _e, O(e.podcast.annotations.subtitle), 1)) : p("", !0),
|
|
136
|
-
k(j) ? (w(), f(k(ae), { key: 1 })) : p("", !0),
|
|
137
|
-
k(T) ? (w(), f(k(ce), {
|
|
138
|
-
key: 2,
|
|
139
|
-
"time-remaining": k(fe)
|
|
140
|
-
}, null, 8, ["time-remaining"])) : p("", !0),
|
|
141
|
-
Ue.value ? (w(), m("div", {
|
|
142
|
-
key: 3,
|
|
143
|
-
class: x(["description-text html-wysiwyg-content", { "mb-4": Ue.value && He.value }]),
|
|
144
|
-
innerHTML: We(e.podcast.summary)
|
|
145
|
-
}, null, 10, V)) : p("", !0),
|
|
146
|
-
He.value ? (w(), m("div", {
|
|
147
|
-
key: 4,
|
|
148
|
-
class: "description-text html-wysiwyg-content",
|
|
149
|
-
innerHTML: We(e.podcast.description)
|
|
150
|
-
}, null, 8, ve)) : p("", !0),
|
|
151
|
-
h("div", H, [
|
|
152
|
-
h("div", ye, [g(O(k(b)("Emission") + " : ") + " ", 1), _(i, {
|
|
153
|
-
to: {
|
|
154
|
-
name: "emission",
|
|
155
|
-
params: { emissionId: e.podcast.emission.emissionId }
|
|
156
|
-
},
|
|
157
|
-
title: k(b)("Series name page", { name: e.podcast.emission.name })
|
|
158
|
-
}, {
|
|
159
|
-
default: M(() => [g(O(e.podcast.emission.name), 1)]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 8, ["to", "title"])]),
|
|
162
|
-
_(o, { participants: e.podcast.animators }, null, 8, ["participants"]),
|
|
163
|
-
_(o, {
|
|
164
|
-
participants: e.podcast.guests,
|
|
165
|
-
"is-guest": !0
|
|
166
|
-
}, null, 8, ["participants"]),
|
|
167
|
-
k(J) ? p("", !0) : (w(), m("div", be, [g(O(k(b)("Producted by : ")) + " ", 1), _(i, { to: {
|
|
168
|
-
name: "productor",
|
|
169
|
-
params: { productorId: e.podcast.organisation.id }
|
|
170
|
-
} }, {
|
|
171
|
-
default: M(() => [g(O(e.podcast.organisation.name), 1)]),
|
|
172
|
-
_: 1
|
|
173
|
-
}, 8, ["to"])])),
|
|
174
|
-
ze.value ? (w(), m("div", xe, O(`${k(b)("Podcast - Season")} : ${e.podcast.seasonNumber}`), 1)) : p("", !0),
|
|
175
|
-
Be.value ? (w(), m("div", Se, O(`${k(b)("Podcast - Episode number")} : ${e.podcast.seasonEpisodeNumber}`), 1)) : p("", !0),
|
|
176
|
-
Ie.value === "" ? p("", !0) : (w(), m("div", U, O(k(b)("Photo credits") + " : " + Ie.value), 1)),
|
|
177
|
-
Z.value === "" ? p("", !0) : (w(), m("div", W, O(k(b)("Audio credits") + " : " + Z.value), 1)),
|
|
178
|
-
Le.value === "" ? p("", !0) : (w(), m("div", G, O(k(b)("Author credits") + " : " + Le.value), 1)),
|
|
179
|
-
e.podcast.article && !k(De).isGarRole ? (w(), m("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: k(b)("New window", { text: k(b)("See associated article") })
|
|
186
|
-
}, [_(he, { class: "me-1" }), h("div", null, O(k(b)("See associated article")), 1)], 8, K)) : p("", !0),
|
|
187
|
-
k(t).emissionsPage.progressBar ? (w(), f(k(r), {
|
|
188
|
-
key: 7,
|
|
189
|
-
podcast: e.podcast
|
|
190
|
-
}, null, 8, ["podcast"])) : p("", !0),
|
|
191
|
-
k(Y) && !k(J) ? (w(), m("div", Ce, [e.podcast.annotations && e.podcast.annotations.SOURCE_KIND === "RSS" ? (w(), m("div", q, O(k(b)("From RSS")), 1)) : p("", !0), je.value === "" ? p("", !0) : (w(), f(k(te), {
|
|
192
|
-
key: 1,
|
|
193
|
-
message: je.value
|
|
194
|
-
}, null, 8, ["message"]))])) : p("", !0),
|
|
195
|
-
h("div", we, [_(k(re), {
|
|
196
|
-
"edit-right": k(Y),
|
|
197
|
-
podcast: e.podcast
|
|
198
|
-
}, null, 8, ["edit-right", "podcast"]), k(t).podcastPage.downloadButton ? (w(), f(k(ie), {
|
|
199
|
-
key: 0,
|
|
200
|
-
podcast: e.podcast
|
|
201
|
-
}, null, 8, ["podcast"])) : p("", !0)])
|
|
202
|
-
])
|
|
203
|
-
]),
|
|
204
|
-
qe.value ? (w(), f(k(a), {
|
|
205
|
-
key: 2,
|
|
206
|
-
"tag-list": Q.value,
|
|
207
|
-
"orga-id": e.podcast.organisation.id,
|
|
208
|
-
"podcast-annotations": e.podcast.annotations,
|
|
209
|
-
max: k(t).podcastPage.maxTags
|
|
210
|
-
}, null, 8, [
|
|
211
|
-
"tag-list",
|
|
212
|
-
"orga-id",
|
|
213
|
-
"podcast-annotations",
|
|
214
|
-
"max"
|
|
215
|
-
])) : p("", !0),
|
|
216
|
-
Ae.value?.length ? (w(), f(k(de), {
|
|
217
|
-
key: 3,
|
|
218
|
-
"orga-id": e.podcast.organisation.id,
|
|
219
|
-
"rubrique-ids": Ae.value
|
|
220
|
-
}, null, 8, ["orga-id", "rubrique-ids"])) : p("", !0),
|
|
221
|
-
_(c, {
|
|
222
|
-
ref_key: "podcastRawTranscript",
|
|
223
|
-
ref: ke,
|
|
224
|
-
"podcast-id": e.podcast.podcastId
|
|
225
|
-
}, null, 8, ["podcast-id"]),
|
|
226
|
-
k(J) ? (w(), f(k(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"])) : p("", !0)
|
|
233
|
-
])) : p("", !0);
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
}), Ee = { class: "page-box" }, J = { key: 2 }, Y = /* @__PURE__ */ y({
|
|
237
|
-
__name: "PodcastPage",
|
|
238
|
-
props: {
|
|
239
|
-
updateStatus: {},
|
|
240
|
-
playingPodcast: {},
|
|
241
|
-
podcastId: {},
|
|
242
|
-
useEmissionTitle: { type: Boolean }
|
|
243
|
-
},
|
|
244
|
-
setup(i) {
|
|
245
|
-
let oe = v(() => import("./ShareSocialsButtons-Bwxad4Y7.mjs")), se = v(() => import("./SharePlayer-elOCoCRi.mjs").then((e) => e.n)), le = v(() => import("./CommentSection-DN2hTntd.mjs")), ue = v(() => import("./PodcastmakerHeader-BM0dL0mN.mjs")), o = i, c = T(!1), l = T(!1), g = T(void 0), y = T(void 0), D = T(void 0), O = T(void 0), pe = N(), { t: A } = me(), { isPodcastmaker: P, isEditRights: he, authOrgaId: ge } = ae(), { updatePathParams: F } = ie(), { handle403: I } = re(), L = ee(), R = ne(), z = te(), B = ce(), _e = d(() => g.value?.emission?.annotations?.HIDE_SUGGESTIONS === "true"), V = d(() => g.value ? g.value.emission.annotations?.mainIabId ? parseInt(g.value.emission.annotations.mainIabId, 10) : g.value.emission.iabIds?.length ? g.value.emission.iabIds[0] : 0 : 0), ve = d(() => g.value === void 0 ? [] : R.storedCategories.filter((e) => g.value?.emission.iabIds && g.value.emission.iabIds.indexOf(e.id) !== -1).sort((e, t) => e.id === V.value ? -1 : +(t.id === V.value))), H = d(() => he(g.value?.organisation.id)), ye = d(() => g.value?.conferenceId !== void 0 && g.value?.conferenceId !== 0 && g.value?.processingStatus === "READY_TO_RECORD"), be = d(() => !P.value && H.value && L.isRoleLive), xe = d(() => ye.value ? A("Live episode") : A("Episode"));
|
|
246
|
-
j(() => o.updateStatus, () => {
|
|
247
|
-
y.value && y.value !== null && (y.value.status = o.updateStatus);
|
|
248
|
-
}), j(() => o.podcastId, async () => {
|
|
249
|
-
await Ce(), !(!g.value || l.value) && B.initCommentUser();
|
|
250
|
-
}, { immediate: !0 }), C(() => {
|
|
251
|
-
R.contentToDisplayUpdate(null), clearTimeout(D.value);
|
|
252
|
-
});
|
|
253
|
-
async function Se() {
|
|
254
|
-
if (!(!g.value || g.value.conferenceId == null || g.value.processingStatus !== "READY_TO_RECORD")) {
|
|
255
|
-
if (y.value = {
|
|
256
|
-
conferenceId: g.value.conferenceId,
|
|
257
|
-
title: ""
|
|
258
|
-
}, be.value) try {
|
|
259
|
-
y.value = await r.fetchData({
|
|
260
|
-
api: 9,
|
|
261
|
-
path: "conference/" + g.value.conferenceId
|
|
262
|
-
});
|
|
263
|
-
} catch {
|
|
264
|
-
await W();
|
|
265
|
-
}
|
|
266
|
-
else await W();
|
|
267
|
-
y.value && y.value.conferenceId !== -1 && y.value.status !== "PUBLISHING" && y.value.status !== "DEBRIEFING" && U();
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
async function U() {
|
|
271
|
-
y.value?.status !== "PUBLISHING" && (D.value = setTimeout(async () => {
|
|
272
|
-
await W(), U();
|
|
273
|
-
}, 3e3));
|
|
274
|
-
}
|
|
275
|
-
async function W() {
|
|
276
|
-
try {
|
|
277
|
-
let e = await r.fetchData({
|
|
278
|
-
api: 9,
|
|
279
|
-
path: "conference/info/" + g.value?.conferenceId
|
|
280
|
-
});
|
|
281
|
-
y.value = {
|
|
282
|
-
...y.value,
|
|
283
|
-
...e
|
|
284
|
-
};
|
|
285
|
-
} catch {}
|
|
286
|
-
}
|
|
287
|
-
function G(e) {
|
|
288
|
-
g.value = e, z.updateOrgaIfNecessary(e.organisation.id);
|
|
289
|
-
}
|
|
290
|
-
function K() {
|
|
291
|
-
l.value = !0, c.value = !0;
|
|
292
|
-
}
|
|
293
|
-
async function Ce() {
|
|
294
|
-
c.value = !1, l.value = !1;
|
|
295
|
-
try {
|
|
296
|
-
let e = await r.fetchData({
|
|
297
|
-
api: 0,
|
|
298
|
-
path: "podcast/" + o.podcastId
|
|
299
|
-
});
|
|
300
|
-
if (e.organisation.privacy !== "PUBLIC" && z.filterOrgaId !== e.organisation.id && pe.query.productor !== e.organisation.id) {
|
|
301
|
-
K();
|
|
302
|
-
return;
|
|
303
|
-
}
|
|
304
|
-
if (G(e), R.contentToDisplayUpdate(e), (!g.value.availability.visibility || g.value.processingStatus !== "READY_TO_RECORD" && g.value.processingStatus !== "READY" && g.value.processingStatus !== "PROCESSING" || !1 === g.value.valid) && !H.value) {
|
|
305
|
-
l.value = !0, c.value = !0;
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
q(), F(g.value.title), await B.getCommentsConfig(g.value), (y.value?.videoProfile?.includes("video_") && g.value.processingStatus === "READY_TO_RECORD" || g.value.video?.videoId !== void 0) && (O.value = de.getYoutubeId(g.value?.tags ?? [])), c.value = !0;
|
|
309
|
-
} catch (e) {
|
|
310
|
-
I(e), K();
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
function q() {
|
|
314
|
-
if (g.value?.processingStatus !== "PLANNED") {
|
|
315
|
-
Se();
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
D.value = setTimeout(async () => {
|
|
319
|
-
G(await n.get(o.podcastId)), q();
|
|
320
|
-
}, 2e3);
|
|
321
|
-
}
|
|
322
|
-
return (n, ee) => (w(), m("section", Ee, [c.value && !l.value && g.value ? (w(), m(u, { key: 0 }, [k(P) ? (w(), f(k(ue), {
|
|
323
|
-
key: 0,
|
|
324
|
-
"page-title": i.useEmissionTitle ? g.value.emission.name : xe.value,
|
|
325
|
-
"img-url": g.value.imageUrl
|
|
326
|
-
}, null, 8, ["page-title", "img-url"])) : p("", !0), h("div", { class: x(["d-flex flex-column page-element", k(P) ? "page-element-podcastmaker" : ""]) }, [
|
|
327
|
-
_(Te, {
|
|
328
|
-
"playing-podcast": i.playingPodcast,
|
|
329
|
-
podcast: g.value,
|
|
330
|
-
"podcast-conference": y.value,
|
|
331
|
-
onUpdatePodcast: G
|
|
332
|
-
}, {
|
|
333
|
-
"recording-item-button": M((e) => [E(n.$slots, "recording-item-button", S(b(e)))]),
|
|
334
|
-
"edit-box": M((e) => [E(n.$slots, "edit-box", S(b(e)))]),
|
|
335
|
-
_: 3
|
|
336
|
-
}, 8, [
|
|
337
|
-
"playing-podcast",
|
|
338
|
-
"podcast",
|
|
339
|
-
"podcast-conference"
|
|
340
|
-
]),
|
|
341
|
-
k(t).podcastPage.ShareButtons ? (w(), f(k(oe), {
|
|
342
|
-
key: 0,
|
|
343
|
-
"organisation-id": g.value.organisation.id
|
|
344
|
-
}, null, 8, ["organisation-id"])) : p("", !0),
|
|
345
|
-
!k(P) && H.value && !O.value ? (w(), f(k(se), {
|
|
346
|
-
key: 1,
|
|
347
|
-
podcast: g.value,
|
|
348
|
-
emission: g.value?.emission,
|
|
349
|
-
"organisation-id": k(ge)
|
|
350
|
-
}, null, 8, [
|
|
351
|
-
"podcast",
|
|
352
|
-
"emission",
|
|
353
|
-
"organisation-id"
|
|
354
|
-
])) : p("", !0),
|
|
355
|
-
_(k(le), { podcast: g.value }, null, 8, ["podcast"]),
|
|
356
|
-
_(s, {
|
|
357
|
-
"emission-id": g.value.emission.emissionId,
|
|
358
|
-
href: "/main/pub/emission/" + g.value.emission.emissionId,
|
|
359
|
-
title: k(A)("More episodes of this emission"),
|
|
360
|
-
"button-text": k(A)("All podcast emission button"),
|
|
361
|
-
"title-tag": "h3"
|
|
362
|
-
}, null, 8, [
|
|
363
|
-
"emission-id",
|
|
364
|
-
"href",
|
|
365
|
-
"title",
|
|
366
|
-
"button-text"
|
|
367
|
-
]),
|
|
368
|
-
_e.value ? p("", !0) : (w(), m("section", J, [_(a, { "min-height": 550 }, {
|
|
369
|
-
default: M(() => [_(s, {
|
|
370
|
-
class: "mt-4",
|
|
371
|
-
"title-tag": "h3",
|
|
372
|
-
"organisation-id": [g.value.organisation.id],
|
|
373
|
-
"podcast-id": i.podcastId,
|
|
374
|
-
title: k(A)("Suggested listening")
|
|
375
|
-
}, null, 8, [
|
|
376
|
-
"organisation-id",
|
|
377
|
-
"podcast-id",
|
|
378
|
-
"title"
|
|
379
|
-
])]),
|
|
380
|
-
_: 1
|
|
381
|
-
}), (w(!0), m(u, null, fe(ve.value, (e) => (w(), f(a, {
|
|
382
|
-
key: e.id,
|
|
383
|
-
"min-height": 550
|
|
384
|
-
}, {
|
|
385
|
-
default: M(() => [_(s, {
|
|
386
|
-
class: "mt-4",
|
|
387
|
-
"title-tag": "h3",
|
|
388
|
-
"iab-id": e.id,
|
|
389
|
-
href: "/main/pub/category/" + e.id,
|
|
390
|
-
title: k(A)("More episodes of this category : ", { name: e.name }),
|
|
391
|
-
"button-text": k(A)("All podcast button", { name: e.name }),
|
|
392
|
-
"organisation-id": [g.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)) : p("", !0), _(e, {
|
|
403
|
-
"loading-text": c.value ? void 0 : k(A)("Loading content ..."),
|
|
404
|
-
"error-text": l.value ? k(A)("This episode is not available for (re)listening") : void 0
|
|
405
|
-
}, null, 8, ["loading-text", "error-text"])]));
|
|
406
|
-
}
|
|
407
|
-
});
|
|
408
|
-
//#endregion
|
|
409
|
-
export { Y as default };
|