@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,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-DK3JuEEQ.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-B718_6o6.mjs";
|
|
6
|
-
import { t as ie } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
7
|
-
import { t as ae } from "./useOrgaComputed-Oug1hhvN.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-BisGIAFG.mjs";
|
|
11
|
-
import { t as le } from "./RightsIndicator-BYIqAsGc.mjs";
|
|
12
|
-
import { t as a } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
13
|
-
import { t as ue } from "./PodcastImage-B7jsIJNN.mjs";
|
|
14
|
-
import { t as o } from "./ParticipantDescription-DVSfKvtg.mjs";
|
|
15
|
-
import { t as s } from "./PodcastInlineList-BbLLOonP.mjs";
|
|
16
|
-
import { t as c } from "./PodcastRawTranscript-Cdx-LLmt.mjs";
|
|
17
|
-
import { t as de } from "./youtubeVideoHelper-Cdlokujb.mjs";
|
|
18
|
-
import { t as l } from "./usePodcastView-DFs0X_HB.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-CHKkiC1d.mjs")), ne = v(() => import("./SubscribeButtons-AVPLb2re.mjs").then((e) => e.n)), re = v(() => import("./LikeSection-Bmux3FNM.mjs")), ie = v(() => import("./DownloadPodcastButton-inrCN9Lv.mjs")), ae = v(() => import("./PodcastPlannedSpinner-DcDDays8.mjs")), ce = v(() => import("./CountDown-o6ye6yv1.mjs")), a = v(() => import("./TagList-C18q3AcZ.mjs")), s = v(() => import("./ShareAnonymous-D9_ioQwS.mjs")), de = v(() => import("./PodcastRubriqueList-Bs9_pIvW.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-ChJ3lBdD.mjs")), se = v(() => import("./SharePlayer-DCsPNlfR.mjs").then((e) => e.n)), le = v(() => import("./CommentSection-BneFwNRE.mjs")), ue = v(() => import("./PodcastmakerHeader-DKOEZYI1.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 };
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { D as e, b as t, d as n, g as r, m as i, u as ee } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
|
-
import { n as a } from "./PlayerStore-CfDcShSN.mjs";
|
|
3
|
-
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
|
-
import { t as s } from "./displayHelper-DQtoqc_6.mjs";
|
|
5
|
-
import { t as c } from "./useImageProxy-61t8T9lh.mjs";
|
|
6
|
-
import { r as te } from "./useSharePlatforms-BA7BlsYt.mjs";
|
|
7
|
-
import { t as l } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
8
|
-
import { t as u } from "./useSharePath-D9G8Jdlb.mjs";
|
|
9
|
-
import "./logo_saooti_play_black-Doe3es2H.mjs";
|
|
10
|
-
import { Fragment as d, computed as f, createBlock as ne, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as C, resolveDirective as re, resolveDynamicComponent as ie, toDisplayString as w, unref as T, withDirectives as E } from "vue";
|
|
11
|
-
import D from "vue-material-design-icons/Play.vue";
|
|
12
|
-
//#region src/components/pages/SmartLinkPage.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
-
var O = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "background"
|
|
16
|
-
}, k = ["src"], A = { key: 1 }, j = { class: "content" }, M = { class: "left" }, N = {
|
|
17
|
-
width: "250",
|
|
18
|
-
height: "250",
|
|
19
|
-
class: "img-box",
|
|
20
|
-
"aria-hidden": "true",
|
|
21
|
-
alt: ""
|
|
22
|
-
}, P = ["innerHTML"], F = { class: "platforms" }, I = ["onClick"], L = { class: "platform-label" }, R = { class: "footer" }, z = {
|
|
23
|
-
target: "_blank",
|
|
24
|
-
href: "/"
|
|
25
|
-
}, ae = ["href"], B = { key: 0 }, V = { key: 1 }, H = /*#__PURE__*/ o(/* @__PURE__ */ v({
|
|
26
|
-
__name: "SmartLinkPage",
|
|
27
|
-
props: {
|
|
28
|
-
playlistId: {},
|
|
29
|
-
emissionId: {}
|
|
30
|
-
},
|
|
31
|
-
setup(o) {
|
|
32
|
-
let { updatePathParams: v } = l(), { useProxyImageUrl: H } = c(), { getPlatformsWithLinks: U, initPlatforms: W } = te(), G = S(null);
|
|
33
|
-
b(async () => {
|
|
34
|
-
o.playlistId ? (G.value = await i.get(o.playlistId), W(G.value.organisation.id)) : o.emissionId ? (G.value = await t.get(o.emissionId), W(G.value.orga.id)) : console.error("No content defined"), v(K.value), oe(), de();
|
|
35
|
-
});
|
|
36
|
-
let K = f(() => o.playlistId ? G.value.title : o.emissionId ? G.value.name : ""), q = f(() => {
|
|
37
|
-
let t = G.value.description;
|
|
38
|
-
if (e.smartLink.showOnlyFirstParagraphInDescription === !0) {
|
|
39
|
-
let e = t.match(/^(.+?(?:\n+.*?)*<\/p>)/);
|
|
40
|
-
e && e.length >= 2 && (t = e[1]);
|
|
41
|
-
}
|
|
42
|
-
return s.urlify(t);
|
|
43
|
-
}), J = f(() => {
|
|
44
|
-
if (G.value) {
|
|
45
|
-
if (o.playlistId) return G.value.organisation;
|
|
46
|
-
if (o.emissionId) return G.value.orga;
|
|
47
|
-
}
|
|
48
|
-
}), Y = S(null), { getSharePath: X } = u();
|
|
49
|
-
async function oe() {
|
|
50
|
-
J.value && (Y.value = await r.getAttributes(J.value.id));
|
|
51
|
-
}
|
|
52
|
-
let Z = f(() => {
|
|
53
|
-
if (o.playlistId) return X({
|
|
54
|
-
name: "playlist",
|
|
55
|
-
params: { playlistId: o.playlistId }
|
|
56
|
-
}, Y.value);
|
|
57
|
-
if (o.emissionId) return X({
|
|
58
|
-
name: "emission",
|
|
59
|
-
params: { emissionId: o.emissionId }
|
|
60
|
-
}, Y.value);
|
|
61
|
-
}), se = f(() => G.value ? U(G.value.annotations) : []);
|
|
62
|
-
function ce(e) {
|
|
63
|
-
return { "--gradient-color": e.color };
|
|
64
|
-
}
|
|
65
|
-
function le(e) {
|
|
66
|
-
window.open(e, "_blank").focus();
|
|
67
|
-
}
|
|
68
|
-
let ue = a(), Q = S(null);
|
|
69
|
-
async function de() {
|
|
70
|
-
if (o.playlistId) {
|
|
71
|
-
let e = await i.getContent(o.playlistId);
|
|
72
|
-
if (e.length > 0) {
|
|
73
|
-
let t = e[e.length - 1].podcastId;
|
|
74
|
-
Q.value = await n.get(t);
|
|
75
|
-
}
|
|
76
|
-
} else if (o.emissionId) {
|
|
77
|
-
let e = await n.searchFull({
|
|
78
|
-
emissionId: o.emissionId,
|
|
79
|
-
sort: ee.DATE,
|
|
80
|
-
size: 1
|
|
81
|
-
});
|
|
82
|
-
e.count > 0 && (Q.value = e.result[0]);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function $() {
|
|
86
|
-
Q.value && ue.playerPlay(Q.value);
|
|
87
|
-
}
|
|
88
|
-
return (e, t) => {
|
|
89
|
-
let n = re("lazy");
|
|
90
|
-
return x(), m(d, null, [G.value ? (x(), m("div", O, [h("img", { src: T(H)(G.value.imageUrl, "1600") }, null, 8, k)])) : p("", !0), G.value ? (x(), m("article", A, [
|
|
91
|
-
h("div", j, [
|
|
92
|
-
h("div", M, [E(h("img", N, null, 512), [[n, T(H)(G.value.imageUrl, "250")]]), Q.value ? (x(), m("button", {
|
|
93
|
-
key: 0,
|
|
94
|
-
class: "btn btn-primary play-button pe-3 hide-phone",
|
|
95
|
-
onClick: $
|
|
96
|
-
}, [_(D, { class: "me-2" }), g(" " + w(e.$t("SmartLink - Listen to latest episode")), 1)])) : p("", !0)]),
|
|
97
|
-
h("h1", null, w(K.value), 1),
|
|
98
|
-
h("div", { innerHTML: q.value }, null, 8, P),
|
|
99
|
-
Q.value ? (x(), m("button", {
|
|
100
|
-
key: 0,
|
|
101
|
-
class: "btn btn-primary play-button pe-3 mt-4 show-phone-flex",
|
|
102
|
-
onClick: $
|
|
103
|
-
}, [_(D, { class: "me-2" }), g(" " + w(e.$t("SmartLink - Listen to latest episode")), 1)])) : p("", !0)
|
|
104
|
-
]),
|
|
105
|
-
h("div", F, [(x(!0), m(d, null, C(se.value, (e) => (x(), m("div", {
|
|
106
|
-
key: e.name,
|
|
107
|
-
class: "platform-btn"
|
|
108
|
-
}, [h("button", {
|
|
109
|
-
class: "btn w-100",
|
|
110
|
-
style: y(ce(e)),
|
|
111
|
-
onClick: (t) => le(e.url)
|
|
112
|
-
}, [(x(), ne(ie(e.icon), {
|
|
113
|
-
size: 36,
|
|
114
|
-
"fill-color": e.color,
|
|
115
|
-
class: "me-2"
|
|
116
|
-
}, null, 8, ["fill-color"])), h("span", L, w(e.title), 1)], 12, I)]))), 128))]),
|
|
117
|
-
h("div", R, [h("a", z, [h("span", null, w(e.$t("SmartLink - Made by")), 1), t[0] ||= h("img", {
|
|
118
|
-
src: "/img/logo_saooti_play_black.svg",
|
|
119
|
-
height: "24",
|
|
120
|
-
class: "ms-2"
|
|
121
|
-
}, null, -1)]), Z.value ? (x(), m("a", {
|
|
122
|
-
key: 0,
|
|
123
|
-
target: "_blank",
|
|
124
|
-
href: Z.value
|
|
125
|
-
}, [o.playlistId ? (x(), m("span", B, w(e.$t("SmartLink - To playlist on podcastmaker", { organisation: J.value.name })), 1)) : o.emissionId ? (x(), m("span", V, w(e.$t("SmartLink - To emission on podcastmaker", { organisation: J.value.name })), 1)) : p("", !0)], 8, ae)) : p("", !0)])
|
|
126
|
-
])) : p("", !0)], 64);
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
}), [["__scopeId", "data-v-0ccb517f"]]);
|
|
130
|
-
//#endregion
|
|
131
|
-
export { H as default };
|