@saooti/octopus-sdk 42.3.2-fix → 42.3.2-fix2
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-42Kcr5hN.mjs.map +1 -0
- package/dist/AdvancedSearch-CJFt6LxJ.mjs +267 -0
- package/dist/AdvancedSearch-CO0tiX_9.mjs.map +1 -0
- package/dist/AdvancedSearch-CXZsiGxt.mjs.map +1 -0
- package/dist/AdvancedSearch-ClHV3e8O.mjs.map +1 -0
- package/dist/AdvancedSearch-CsvzJyE2.mjs.map +1 -0
- package/dist/AdvancedSearch-CuWYtUYJ.mjs.map +1 -0
- package/dist/AdvancedSearch-DbCHPlFa.mjs.map +1 -0
- package/dist/AdvancedSearch-DdsvC7m1.mjs.map +1 -0
- package/dist/AdvancedSearch-DetNm_-u.mjs.map +1 -0
- package/dist/AdvancedSearch-DhSNXvbV.mjs.map +1 -0
- package/dist/AdvancedSearch-Ds5e1Qhe.mjs.map +1 -0
- package/dist/AdvancedSearch-IxOYMNkZ.mjs.map +1 -0
- package/dist/AdvancedSearch-gxIxkmK1.mjs.map +1 -0
- package/dist/AdvancedSearch-hHITIcg4.mjs.map +1 -0
- package/dist/CategoryFilter-131LT92z.mjs.map +1 -0
- package/dist/CategoryFilter-ByKEI_dC.mjs.map +1 -0
- package/dist/CategoryFilter-Bzj60ySN.mjs.map +1 -0
- package/dist/CategoryFilter-CZZ1VO_Y.mjs.map +1 -0
- package/dist/CategoryFilter-CeQNTOuE.mjs.map +1 -0
- package/dist/CategoryFilter-DYEBO7TU.mjs.map +1 -0
- package/dist/CategoryFilter-DZz4lGsB.mjs.map +1 -0
- package/dist/CategoryFilter-DxbhhBeP.mjs +143 -0
- package/dist/CategoryFilter-F4TTPJ8U.mjs.map +1 -0
- package/dist/CategoryFilter-o8wQRCuh.mjs.map +1 -0
- package/dist/CategoryList-BI4YBBU-.mjs.map +1 -0
- package/dist/CategoryList-BdAEOQrY.mjs.map +1 -0
- package/dist/CategoryList-BnXXduhE.mjs.map +1 -0
- package/dist/CategoryList-CWr19BZy.mjs.map +1 -0
- package/dist/CategoryList-D7lWR2Cb.mjs.map +1 -0
- package/dist/CategoryList-DCwUxCuC.mjs +107 -0
- package/dist/CategoryList-D_9NAk5h.mjs.map +1 -0
- package/dist/CategoryList-DjeLXrpJ.mjs.map +1 -0
- package/dist/CategoryList-IHXEPoHT.mjs.map +1 -0
- package/dist/CategoryList-bjo7FuPw.mjs.map +1 -0
- package/dist/CategoryPage-9K_por1W.mjs.map +1 -0
- package/dist/CategoryPage-B9_IOMl-.mjs.map +1 -0
- package/dist/CategoryPage-BH7910C4.mjs.map +1 -0
- package/dist/CategoryPage-BSj_QyBs.mjs.map +1 -0
- package/dist/CategoryPage-BvrTZRhC.mjs.map +1 -0
- package/dist/CategoryPage-Bw1H2n-V.mjs.map +1 -0
- package/dist/CategoryPage-Bxyjm-mw.mjs.map +1 -0
- package/dist/CategoryPage-D4v50OZl.mjs.map +1 -0
- package/dist/CategoryPage-DM6hKDgM.mjs.map +1 -0
- package/dist/CategoryPage-IvDZKC_1.mjs.map +1 -0
- package/dist/CategoryPage-dIFBbRoY.mjs.map +1 -0
- package/dist/CategoryPage-eDnrCjiT.mjs +28 -0
- package/dist/CategorySearchFilter-BHMrCZ22.mjs.map +1 -0
- package/dist/CategorySearchFilter-BzpmFRCO.mjs.map +1 -0
- package/dist/CategorySearchFilter-C0jQKTw3.mjs.map +1 -0
- package/dist/ChapteringModal-Am4wrZVu.mjs.map +1 -0
- package/dist/ChapteringModal-B3Y7nnSs.mjs.map +1 -0
- package/dist/ChapteringModal-BPNFlblS.mjs.map +1 -0
- package/dist/ChapteringModal-BQR1eFGQ.mjs.map +1 -0
- package/dist/ChapteringModal-Bx2eDqqT.mjs.map +1 -0
- package/dist/ChapteringModal-C2-J-kHx.mjs.map +1 -0
- package/dist/ChapteringModal-D1veVvno.mjs.map +1 -0
- package/dist/ChapteringModal-DJjnxrgj.mjs.map +1 -0
- package/dist/ChapteringModal-FBjmkR0o.mjs.map +1 -0
- package/dist/ChapteringModal-XO1w5yA4.mjs +46 -0
- package/dist/CheckIdentityModal-B1R_ZTiI.mjs.map +1 -0
- package/dist/CheckIdentityModal-BXw0ercF.mjs +51 -0
- package/dist/CheckIdentityModal-B_3RyDQx.mjs.map +1 -0
- package/dist/CheckIdentityModal-BjK-sTPo.mjs.map +1 -0
- package/dist/CheckIdentityModal-BxeYcZ1Y.mjs.map +1 -0
- package/dist/CheckIdentityModal-C4nZwnrP.mjs.map +1 -0
- package/dist/CheckIdentityModal-CMWKgSP8.mjs.map +1 -0
- package/dist/CheckIdentityModal-CoSR-RwZ.mjs.map +1 -0
- package/dist/CheckIdentityModal-DW71eoKm.mjs.map +1 -0
- package/dist/CheckIdentityModal-l-HMFCwN.mjs.map +1 -0
- package/dist/ClassicAlert-CPNxo5dG.mjs.map +1 -0
- package/dist/ClassicAlert-dY4I62qn.mjs.map +1 -0
- package/dist/ClassicBigChip-BddwgRoZ.mjs.map +1 -0
- package/dist/ClassicBigChip-oxczaCKf.mjs.map +1 -0
- package/dist/ClassicCheckbox-C7-oVhCN.mjs.map +1 -0
- package/dist/ClassicCheckbox-CLfVwh1B.mjs.map +1 -0
- package/dist/ClassicCheckbox-CUAVSdGV.mjs.map +1 -0
- package/dist/ClassicDatePicker-89lB-QSP.mjs.map +1 -0
- package/dist/ClassicDatePicker-B2C1S7dS.mjs.map +1 -0
- package/dist/ClassicDatePicker-B5yCuT7B.mjs.map +1 -0
- package/dist/ClassicDatePicker-BMPf8tSM.mjs.map +1 -0
- package/dist/ClassicDatePicker-BkP7dOIQ.mjs.map +1 -0
- package/dist/ClassicDatePicker-D-zeb4UW.mjs.map +1 -0
- package/dist/ClassicDatePicker-D1PuJDtq.mjs.map +1 -0
- package/dist/ClassicDatePicker-D7bS0Oil.mjs.map +1 -0
- package/dist/ClassicDatePicker-Din4bHRp.mjs.map +1 -0
- package/dist/ClassicDatePicker-anHwIKJq.mjs +186 -0
- package/dist/ClassicNotifications-A5RhPgz3.mjs.map +1 -0
- package/dist/ClassicNotifications-B-K7DxQ1.mjs.map +1 -0
- package/dist/ClassicNotifications-BLVIe1NH.mjs.map +1 -0
- package/dist/ClassicNotifications-BSMuicAY.mjs.map +1 -0
- package/dist/ClassicNotifications-BoOm_WZm.mjs +25 -0
- package/dist/ClassicNotifications-C5c0DD8-.mjs.map +1 -0
- package/dist/ClassicNotifications-CNUl2Dl4.mjs.map +1 -0
- package/dist/ClassicNotifications-CNytNAUg.mjs.map +1 -0
- package/dist/ClassicNotifications-CewXusqr.mjs.map +1 -0
- package/dist/ClassicNotifications-Dxkess_y.mjs.map +1 -0
- package/dist/ClipboardModal-6AwLS0NA.mjs.map +1 -0
- package/dist/ClipboardModal-BkjQH_nf.mjs.map +1 -0
- package/dist/ClipboardModal-BnYbXugZ.mjs.map +1 -0
- package/dist/ClipboardModal-CGD6Vtx_.mjs.map +1 -0
- package/dist/ClipboardModal-CX3Zdsiu.mjs.map +1 -0
- package/dist/ClipboardModal-CawiUOHQ.mjs.map +1 -0
- package/dist/ClipboardModal-DNNvXNPp.mjs.map +1 -0
- package/dist/ClipboardModal-Di8yTjpf.mjs +56 -0
- package/dist/ClipboardModal-DoRYS29U.mjs.map +1 -0
- package/dist/ClipboardModal-DpxXoqjw.mjs.map +1 -0
- package/dist/CommentInput-4-HYdkqH.mjs.map +1 -0
- package/dist/CommentInput-9j9Oy7L2.mjs.map +1 -0
- package/dist/CommentInput-B-zk-sJz.mjs.map +1 -0
- package/dist/CommentInput-BWG-0_pR.mjs.map +1 -0
- package/dist/CommentInput-C67E_aPo.mjs.map +1 -0
- package/dist/CommentInput-CCoP_v0X.mjs.map +1 -0
- package/dist/CommentInput-CvRT1ME0.mjs.map +1 -0
- package/dist/CommentInput-DK-PXdsI.mjs.map +1 -0
- package/dist/CommentInput-DQQOJTz1.mjs +112 -0
- package/dist/CommentInput-OFa8yGCb.mjs.map +1 -0
- package/dist/CommentItem-BLWC0r39.mjs.map +1 -0
- package/dist/CommentItem-Bm83wWyS.mjs +233 -0
- package/dist/CommentItem-C0qpQUWD.mjs.map +1 -0
- package/dist/CommentItem-CCWk_yOm.mjs.map +1 -0
- package/dist/CommentItem-DQfJQfjb.mjs.map +1 -0
- package/dist/CommentItem-DV58Zzqt.mjs.map +1 -0
- package/dist/CommentItem-DcqQBanL.mjs.map +1 -0
- package/dist/CommentItem-PrtG4-Xb.mjs.map +1 -0
- package/dist/CommentItem-X3Qhjaa-.mjs.map +1 -0
- package/dist/CommentItem-ewyw3a38.mjs.map +1 -0
- package/dist/CommentList-BqzYpcv5.mjs.map +1 -0
- package/dist/CommentList-BrwHHHN5.mjs.map +1 -0
- package/dist/CommentList-Bx8Tnk86.mjs.map +1 -0
- package/dist/CommentList-CVW82Frd.mjs.map +1 -0
- package/dist/CommentList-CVfqgWju.mjs.map +1 -0
- package/dist/CommentList-CnJlvG3_.mjs.map +1 -0
- package/dist/CommentList-Crgxpqhy.mjs.map +1 -0
- package/dist/CommentList-DAtFDGJa.mjs.map +1 -0
- package/dist/CommentList-DjNmku1h.mjs +201 -0
- package/dist/CommentList-MHikL7ZI.mjs.map +1 -0
- package/dist/CommentMoreActions-B4z-QdXU.mjs.map +1 -0
- package/dist/CommentMoreActions-Bn1OYjgK.mjs.map +1 -0
- package/dist/CommentMoreActions-C0A50tUv.mjs.map +1 -0
- package/dist/CommentMoreActions-CJdG7SJ4.mjs +196 -0
- package/dist/CommentMoreActions-CjUnxz0B.mjs.map +1 -0
- package/dist/CommentMoreActions-D4zXJORD.mjs.map +1 -0
- package/dist/CommentMoreActions-DUBFH_ea.mjs.map +1 -0
- package/dist/CommentMoreActions-DoJ0l676.mjs.map +1 -0
- package/dist/CommentMoreActions-DrUDPfcC.mjs.map +1 -0
- package/dist/CommentMoreActions-cTCex_ZJ.mjs.map +1 -0
- package/dist/CommentName-ByRZF-nN.mjs.map +1 -0
- package/dist/CommentName-C2OjLF6R.mjs.map +1 -0
- package/dist/CommentName-Cs51KlIC.mjs.map +1 -0
- package/dist/CommentName-D2FjsVmA.mjs.map +1 -0
- package/dist/CommentName-DJf9bsD3.mjs +56 -0
- package/dist/CommentName-D_PRCodv.mjs.map +1 -0
- package/dist/CommentName-Dj73rEkq.mjs.map +1 -0
- package/dist/CommentName-JJuXpfsF.mjs.map +1 -0
- package/dist/CommentName-ng3BCMX8.mjs.map +1 -0
- package/dist/CommentName-ta8IeNEJ.mjs.map +1 -0
- package/dist/CommentParentInfo-B5t2BwQX.mjs.map +1 -0
- package/dist/CommentParentInfo-BH2b7aMu.mjs.map +1 -0
- package/dist/CommentParentInfo-BO_FuvyJ.mjs.map +1 -0
- package/dist/CommentParentInfo-CFkBDmx4.mjs.map +1 -0
- package/dist/CommentParentInfo-CrX2ZvOR.mjs.map +1 -0
- package/dist/CommentParentInfo-DBcNu_ET.mjs +36 -0
- package/dist/CommentParentInfo-DQHmde93.mjs.map +1 -0
- package/dist/CommentParentInfo-DajyC_li.mjs.map +1 -0
- package/dist/CommentParentInfo-DdR8p26Z.mjs.map +1 -0
- package/dist/CommentParentInfo-Q6iCHGDE.mjs.map +1 -0
- package/dist/CommentPlayer-B0KJU_oQ.mjs.map +1 -0
- package/dist/CommentPlayer-BfwrRM05.mjs.map +1 -0
- package/dist/CommentPlayer-C8u7MrsC.mjs.map +1 -0
- package/dist/CommentPlayer-CoBKwSm0.mjs.map +1 -0
- package/dist/CommentPlayer-DBSbnUiG.mjs.map +1 -0
- package/dist/CommentPlayer-DYfSy66E.mjs.map +1 -0
- package/dist/CommentPlayer-DnHeBIzV.mjs.map +1 -0
- package/dist/CommentPlayer-DwIMbJnz.mjs.map +1 -0
- package/dist/CommentPlayer-On1wDcXF.mjs +47 -0
- package/dist/CommentPlayer-sJifx2vJ.mjs.map +1 -0
- package/dist/CommentSection-B6kqfI-t.mjs.map +1 -0
- package/dist/CommentSection-BfKHcE2w.mjs.map +1 -0
- package/dist/CommentSection-BgA3mapM.mjs.map +1 -0
- package/dist/CommentSection-CE0xdP6M.mjs.map +1 -0
- package/dist/CommentSection-CVbDoLqD.mjs.map +1 -0
- package/dist/CommentSection-CeehGFpP.mjs.map +1 -0
- package/dist/CommentSection-DFjBjBQE.mjs.map +1 -0
- package/dist/CommentSection-DOYBzw0j.mjs.map +1 -0
- package/dist/CommentSection-DPYOvNIu.mjs +119 -0
- package/dist/CommentSection-QTVNccjN.mjs.map +1 -0
- package/dist/CommentStore-8TSWPPYa.mjs.map +1 -0
- package/dist/CommentStore-B8ZSqQB_.mjs.map +1 -0
- package/dist/CommentStore-BHQml39g.mjs.map +1 -0
- package/dist/CommentStore-Bojk9GiW.mjs.map +1 -0
- package/dist/CommentStore-C3SKjicb.mjs.map +1 -0
- package/dist/CommentStore-CTA3u5VY.mjs.map +1 -0
- package/dist/CommentStore-CUax7T4M.mjs +264 -0
- package/dist/CommentStore-CubvelKH.mjs.map +1 -0
- package/dist/CommentStore-DBBCbxw6.mjs.map +1 -0
- package/dist/CommentStore-clULnVb0.mjs.map +1 -0
- package/dist/ContractPreviewModal-BB06_Ddp.mjs +53 -0
- package/dist/ContractPreviewModal-CQpepsrH.mjs.map +1 -0
- package/dist/ContractPreviewModal-C_-QVmXG.mjs.map +1 -0
- package/dist/ContractPreviewModal-CinqfXtG.mjs.map +1 -0
- package/dist/ContractPreviewModal-CjCAiFOB.mjs.map +1 -0
- package/dist/ContractPreviewModal-Cuiz8pV9.mjs.map +1 -0
- package/dist/ContractPreviewModal-D3sXMD4H.mjs.map +1 -0
- package/dist/ContractPreviewModal-DUb7sGQe.mjs.map +1 -0
- package/dist/ContractPreviewModal-Dcbzq5xS.mjs.map +1 -0
- package/dist/ContractPreviewModal-oxMbToih.mjs.map +1 -0
- package/dist/DateFilter-BCWWPNof.mjs.map +1 -0
- package/dist/DateFilter-BDv4g6v9.mjs.map +1 -0
- package/dist/DateFilter-BEBoT8jZ.mjs.map +1 -0
- package/dist/DateFilter-Be6QG-mI.mjs.map +1 -0
- package/dist/DateFilter-BxVXQm5X.mjs.map +1 -0
- package/dist/DateFilter-CZ3N8CvS.mjs.map +1 -0
- package/dist/DateFilter-Cid0eMyH.mjs.map +1 -0
- package/dist/DateFilter-Cj9JVjFP.mjs +79 -0
- package/dist/DateFilter-CyenfKX6.mjs.map +1 -0
- package/dist/DateFilter-Db64gVPz.mjs.map +1 -0
- package/dist/DateFilter-RXK-Ft8w.mjs.map +1 -0
- package/dist/DateFilter-edBwK0QN.mjs.map +1 -0
- package/dist/DateFilter-s5YeYCi5.mjs.map +1 -0
- package/dist/DownloadPodcastButton-BGoyi64l.mjs.map +1 -0
- package/dist/DownloadPodcastButton-BRFVZ_ld.mjs.map +1 -0
- package/dist/DownloadPodcastButton-BSC3LZmo.mjs.map +1 -0
- package/dist/DownloadPodcastButton-But0BSXE.mjs.map +1 -0
- package/dist/DownloadPodcastButton-C-45CIEV.mjs.map +1 -0
- package/dist/DownloadPodcastButton-CY3KmlQg.mjs.map +1 -0
- package/dist/DownloadPodcastButton-DZtMywUR.mjs.map +1 -0
- package/dist/DownloadPodcastButton-H5-rBNG8.mjs +39 -0
- package/dist/DownloadPodcastButton-JQCE360s.mjs.map +1 -0
- package/dist/DownloadPodcastButton-SczAF2xp.mjs.map +1 -0
- package/dist/DownloadPodcastButton-lxfsBwcC.mjs.map +1 -0
- package/dist/DownloadPodcastButton-pu4A4S9r.mjs.map +1 -0
- package/dist/EditCommentModal-BJZknrBv.mjs.map +1 -0
- package/dist/EditCommentModal-C-dGr2Id.mjs.map +1 -0
- package/dist/EditCommentModal-C_pBY-Zo.mjs.map +1 -0
- package/dist/EditCommentModal-Cb7g3i2m.mjs.map +1 -0
- package/dist/EditCommentModal-DBVRnrmS.mjs.map +1 -0
- package/dist/EditCommentModal-DMqMm-A7.mjs.map +1 -0
- package/dist/EditCommentModal-DdJPA1bX.mjs.map +1 -0
- package/dist/EditCommentModal-DtETjz8I.mjs.map +1 -0
- package/dist/EditCommentModal-LOCc_Isq.mjs +115 -0
- package/dist/EditCommentModal-wXiqAPDb.mjs.map +1 -0
- package/dist/EmissionGroupChooser-4qPYeODk.mjs.map +1 -0
- package/dist/EmissionGroupChooser-BAa05uz4.mjs.map +1 -0
- package/dist/EmissionGroupChooser-BUws8UDJ.mjs.map +1 -0
- package/dist/EmissionGroupChooser-Bl1aFf41.mjs.map +1 -0
- package/dist/EmissionGroupChooser-C-ddPckM.mjs.map +1 -0
- package/dist/EmissionGroupChooser-CUyo2OMg.mjs.map +1 -0
- package/dist/EmissionGroupChooser-D49gK79R.mjs.map +1 -0
- package/dist/EmissionGroupChooser-DGXFQWjh.mjs +45 -0
- package/dist/EmissionGroupChooser-DXVrNQZC.mjs.map +1 -0
- package/dist/EmissionGroupChooser-Dhao03wG.mjs.map +1 -0
- package/dist/EmissionGroupChooser-DnyZepde.mjs.map +1 -0
- package/dist/EmissionGroupChooser-Doc8b0rQ.mjs.map +1 -0
- package/dist/EmissionGroupChooser-DzF2MFFT.mjs.map +1 -0
- package/dist/EmissionGroupChooser-Px-MCcu7.mjs.map +1 -0
- package/dist/EmissionGroupChooser-X8lCP6SH.mjs.map +1 -0
- package/dist/EmissionInlineList--zugReZd.mjs.map +1 -0
- package/dist/EmissionInlineList-B-CiZyP-.mjs +114 -0
- package/dist/EmissionInlineList-BMvJab_g.mjs.map +1 -0
- package/dist/EmissionInlineList-BPBWhevF.mjs.map +1 -0
- package/dist/EmissionInlineList-BV5gl1p-.mjs.map +1 -0
- package/dist/EmissionInlineList-C379HyGF.mjs.map +1 -0
- package/dist/EmissionInlineList-CElRnoPx.mjs.map +1 -0
- package/dist/EmissionInlineList-CedCO28F.mjs.map +1 -0
- package/dist/EmissionInlineList-Ct-gpePv.mjs.map +1 -0
- package/dist/EmissionInlineList-nBG39_KE.mjs.map +1 -0
- package/dist/EmissionItem-7hV6glpf.mjs +118 -0
- package/dist/EmissionItem-B77g-dcq.mjs.map +1 -0
- package/dist/EmissionItem-BElM7_7S.mjs.map +1 -0
- package/dist/EmissionItem-BbchXsSo.mjs.map +1 -0
- package/dist/EmissionItem-Bzp_W_w1.mjs.map +1 -0
- package/dist/EmissionItem-CRnrUk2u.mjs.map +1 -0
- package/dist/EmissionItem-CeYepQrO.mjs.map +1 -0
- package/dist/EmissionItem-CiZclbBn.mjs.map +1 -0
- package/dist/EmissionItem-Cu1AiLTv.mjs.map +1 -0
- package/dist/EmissionItem-CvDLWsh4.mjs.map +1 -0
- package/dist/EmissionItem-Cyu9_IBH.mjs.map +1 -0
- package/dist/EmissionItem-btxXOqBf.mjs.map +1 -0
- package/dist/EmissionList-BS2x1Nkz.mjs.map +1 -0
- package/dist/EmissionList-BmBKdEr9.mjs.map +1 -0
- package/dist/EmissionList-Bu5rHvgl.mjs.map +1 -0
- package/dist/EmissionList-ByNyx9F-.mjs.map +1 -0
- package/dist/EmissionList-C-H3XV3S.mjs.map +1 -0
- package/dist/EmissionList-C7vCEQ6C.mjs.map +1 -0
- package/dist/EmissionList-CSvFVgAV.mjs.map +1 -0
- package/dist/EmissionList-CfuIlvjx.mjs +229 -0
- package/dist/EmissionList-DHBc9HkL.mjs.map +1 -0
- package/dist/EmissionList-DIIlB6WX.mjs.map +1 -0
- package/dist/EmissionList-Pr7yo_1k.mjs.map +1 -0
- package/dist/EmissionList-zSgCm9e8.mjs.map +1 -0
- package/dist/EmissionPage-8wLSQ0na.mjs.map +1 -0
- package/dist/EmissionPage-B-DmE2An.mjs.map +1 -0
- package/dist/EmissionPage-B6hgaP6k.mjs.map +1 -0
- package/dist/EmissionPage-B7_PNDf6.mjs.map +1 -0
- package/dist/EmissionPage-B8Qpzf9B.mjs.map +1 -0
- package/dist/EmissionPage-BKB0cOi8.mjs.map +1 -0
- package/dist/EmissionPage-BR5yhfnq.mjs +191 -0
- package/dist/EmissionPage-BSiixzjo.mjs.map +1 -0
- package/dist/EmissionPage-BXBRQ4aK.mjs.map +1 -0
- package/dist/EmissionPage-BnxhI5Wg.mjs.map +1 -0
- package/dist/EmissionPage-BxI4SmSu.mjs.map +1 -0
- package/dist/EmissionPage-C9HjXOve.mjs.map +1 -0
- package/dist/EmissionPage-CKeJ79Nq.mjs.map +1 -0
- package/dist/EmissionPage-CSLE7S0O.mjs.map +1 -0
- package/dist/EmissionPage-CT2tkM5F.mjs.map +1 -0
- package/dist/EmissionPage-CVNrkYtm.mjs.map +1 -0
- package/dist/EmissionPage-CX6H-FqN.mjs.map +1 -0
- package/dist/EmissionPage-Cq0M3Am8.mjs.map +1 -0
- package/dist/EmissionPage-CwYOHr1-.mjs.map +1 -0
- package/dist/EmissionPage-D94V2Zbh.mjs.map +1 -0
- package/dist/EmissionPage-DBYiDjKz.mjs.map +1 -0
- package/dist/EmissionPage-DNg4oE_B.mjs.map +1 -0
- package/dist/EmissionPage-DYYk_kAV.mjs.map +1 -0
- package/dist/EmissionPage-DjES2lAk.mjs.map +1 -0
- package/dist/EmissionPage-Dv06wGvg.mjs.map +1 -0
- package/dist/EmissionPage-JDuvClP0.mjs.map +1 -0
- package/dist/EmissionPage-wRM01qea.mjs.map +1 -0
- package/dist/EmissionPage-zCE9o-y3.mjs.map +1 -0
- package/dist/EmissionPlayerItem-BYQEmV88.mjs.map +1 -0
- package/dist/EmissionPlayerItem-BeEWQwN1.mjs.map +1 -0
- package/dist/EmissionPlayerItem-BmLIlRoC.mjs.map +1 -0
- package/dist/EmissionPlayerItem-Bo6rasPh.mjs.map +1 -0
- package/dist/EmissionPlayerItem-CPeD-fAV.mjs.map +1 -0
- package/dist/EmissionPlayerItem-CZIHrRUk.mjs.map +1 -0
- package/dist/EmissionPlayerItem-CeZU44JE.mjs +119 -0
- package/dist/EmissionPlayerItem-EhofvxoC.mjs.map +1 -0
- package/dist/EmissionPlayerItem-ZnomC4Lv.mjs.map +1 -0
- package/dist/EmissionPlayerItem-qxNhsXgS.mjs.map +1 -0
- package/dist/EmissionPresentationItem-4MfH6aqT.mjs.map +1 -0
- package/dist/EmissionPresentationItem-50nOUWZo.mjs.map +1 -0
- package/dist/EmissionPresentationItem-BBs1nr8S.mjs +41 -0
- package/dist/EmissionPresentationItem-BWu1epfT.mjs.map +1 -0
- package/dist/EmissionPresentationItem-BmxuLpxR.mjs.map +1 -0
- package/dist/EmissionPresentationItem-C1rhX5ih.mjs.map +1 -0
- package/dist/EmissionPresentationItem-D5t2SHdq.mjs.map +1 -0
- package/dist/EmissionPresentationItem-DFyMw5fK.mjs.map +1 -0
- package/dist/EmissionPresentationItem-Dbf01ZVG.mjs.map +1 -0
- package/dist/EmissionPresentationItem-g4aQO2r1.mjs.map +1 -0
- package/dist/EmissionPresentationList-BEXMMvyi.mjs.map +1 -0
- package/dist/EmissionPresentationList-BS3JMO-a.mjs.map +1 -0
- package/dist/EmissionPresentationList-BZRIUwMg.mjs.map +1 -0
- package/dist/EmissionPresentationList-BftwlCOs.mjs +92 -0
- package/dist/EmissionPresentationList-BmnTKqDx.mjs.map +1 -0
- package/dist/EmissionPresentationList-D8ZXDrNJ.mjs.map +1 -0
- package/dist/EmissionPresentationList-DO7MusJb.mjs.map +1 -0
- package/dist/EmissionPresentationList-DcVVzz-u.mjs.map +1 -0
- package/dist/EmissionPresentationList-LRwm7f99.mjs.map +1 -0
- package/dist/EmissionPresentationList-Y69-ak9I.mjs.map +1 -0
- package/dist/EmissionsPage-8g4kLGql.mjs.map +1 -0
- package/dist/EmissionsPage-9a5G6MDj.mjs.map +1 -0
- package/dist/EmissionsPage-B6Fh1Lbh.mjs.map +1 -0
- package/dist/EmissionsPage-BAHUQvN3.mjs.map +1 -0
- package/dist/EmissionsPage-BUhVhfZf.mjs.map +1 -0
- package/dist/EmissionsPage-BWj56Ei2.mjs.map +1 -0
- package/dist/EmissionsPage-BanJeKH9.mjs.map +1 -0
- package/dist/EmissionsPage-BcefIcLl.mjs.map +1 -0
- package/dist/EmissionsPage-CXga6pjY.mjs.map +1 -0
- package/dist/EmissionsPage-Cck2WiCF.mjs.map +1 -0
- package/dist/EmissionsPage-CeGtiOZH.mjs.map +1 -0
- package/dist/EmissionsPage-Cgdtunti.mjs.map +1 -0
- package/dist/EmissionsPage-CrrG9IFR.mjs.map +1 -0
- package/dist/EmissionsPage-CwKv-wjZ.mjs.map +1 -0
- package/dist/EmissionsPage-DFUqkTZj.mjs +117 -0
- package/dist/EmissionsPage-DPxr8fPV.mjs.map +1 -0
- package/dist/EmissionsPage-SUrWmKHW.mjs.map +1 -0
- package/dist/Error403Page-C1DAybcV.mjs.map +1 -0
- package/dist/Error403Page-CEW5fhh9.mjs +41 -0
- package/dist/Error403Page-CI4ipt01.mjs.map +1 -0
- package/dist/Error403Page-DGatIGQY.mjs.map +1 -0
- package/dist/Error403Page-DO9UxeGE.mjs.map +1 -0
- package/dist/Error403Page-DWe6T9Qg.mjs.map +1 -0
- package/dist/Error403Page-DuKVZhv-.mjs.map +1 -0
- package/dist/Error403Page-DxSXMPh6.mjs.map +1 -0
- package/dist/Error403Page-XiiUYKaR.mjs.map +1 -0
- package/dist/Error403Page-qUJf_yEZ.mjs.map +1 -0
- package/dist/FooterGarSection-5EQtBJy0.mjs.map +1 -0
- package/dist/FooterGarSection-B8vOYmb8.mjs.map +1 -0
- package/dist/FooterGarSection-BGm4STwo.mjs.map +1 -0
- package/dist/FooterGarSection-Bx10rugP.mjs.map +1 -0
- package/dist/FooterGarSection-CL8yNWOZ.mjs.map +1 -0
- package/dist/FooterGarSection-Cr2I7Nrp.mjs.map +1 -0
- package/dist/FooterGarSection-CseAZgfg.mjs.map +1 -0
- package/dist/FooterGarSection-D51ZdWG8.mjs.map +1 -0
- package/dist/FooterGarSection-DMBWq-Xq.mjs.map +1 -0
- package/dist/FooterGarSection-DUahrnva.mjs +39 -0
- package/dist/FooterGarSection-EzmJHwqt.mjs.map +1 -0
- package/dist/FooterGarSection-MkOYzhGr.mjs.map +1 -0
- package/dist/FooterSection-B2uCL2Ch.mjs.map +1 -0
- package/dist/FooterSection-BF74uUEc.mjs.map +1 -0
- package/dist/FooterSection-BRKwW1E-.mjs.map +1 -0
- package/dist/FooterSection-BRw3WQj5.mjs.map +1 -0
- package/dist/FooterSection-BT3muRQB.mjs.map +1 -0
- package/dist/FooterSection-BVNo27n3.mjs.map +1 -0
- package/dist/FooterSection-BY7Tiyz7.mjs.map +1 -0
- package/dist/FooterSection-BhUR1-K9.mjs.map +1 -0
- package/dist/FooterSection-C0Oz_Y4w.mjs.map +1 -0
- package/dist/FooterSection-CShUUnwG.mjs.map +1 -0
- package/dist/FooterSection-CWg36J9m.mjs.map +1 -0
- package/dist/FooterSection-Cm6_SFBy.mjs.map +1 -0
- package/dist/FooterSection-CtDYHgPO.mjs.map +1 -0
- package/dist/FooterSection-CwHD7-ix.mjs.map +1 -0
- package/dist/FooterSection-Cz1D80Zj.mjs.map +1 -0
- package/dist/FooterSection-DfJP0C_1.mjs.map +1 -0
- package/dist/FooterSection-DzyMFaGQ.mjs +149 -0
- package/dist/FooterSection-Jh8o1AAw.mjs.map +1 -0
- package/dist/FooterSection-Kxcj5SQm.mjs.map +1 -0
- package/dist/FooterSection-RCHm0mFJ.mjs.map +1 -0
- package/dist/FooterSection-hpaGjun_.mjs.map +1 -0
- package/dist/FooterSection-nyfl3t4W.mjs.map +1 -0
- package/dist/FooterSection-rHhox1so.mjs.map +1 -0
- package/dist/HomeDropdown-8yosF2wd.mjs.map +1 -0
- package/dist/HomeDropdown-BgeQ_QCM.mjs +66 -0
- package/dist/HomeDropdown-BmGc8Jw-.mjs.map +1 -0
- package/dist/HomeDropdown-CpIYYVpb.mjs.map +1 -0
- package/dist/HomeDropdown-EdxeIHiz.mjs.map +1 -0
- package/dist/HomeDropdown-Hsi7dcyb.mjs.map +1 -0
- package/dist/HomeDropdown-Udu_XcKM.mjs.map +1 -0
- package/dist/HomeDropdown-ZenbFpaR.mjs.map +1 -0
- package/dist/HomeDropdown-m8RnRmB_.mjs.map +1 -0
- package/dist/HomeDropdown-s7d6wBTm.mjs.map +1 -0
- package/dist/HomePage-3omYRw5s.mjs.map +1 -0
- package/dist/HomePage-B4q4kJ3o.mjs +112 -0
- package/dist/HomePage-B5e_zGL5.mjs.map +1 -0
- package/dist/HomePage-C2T3x9Kd.mjs.map +1 -0
- package/dist/HomePage-C2xjZHom.mjs.map +1 -0
- package/dist/HomePage-C3zQyEai.mjs.map +1 -0
- package/dist/HomePage-CT9LVdxN.mjs.map +1 -0
- package/dist/HomePage-CTK78YcE.mjs.map +1 -0
- package/dist/HomePage-Cn1y38LS.mjs.map +1 -0
- package/dist/HomePage-CnOd_2qi.mjs.map +1 -0
- package/dist/HomePage-CozLYzXK.mjs.map +1 -0
- package/dist/HomePage-Cpo0uyCu.mjs.map +1 -0
- package/dist/HomePage-D5577abd.mjs.map +1 -0
- package/dist/HomePage-DDKNBVSd.mjs.map +1 -0
- package/dist/HomePage-DDki4wz5.mjs.map +1 -0
- package/dist/HomePage-DLvQ9aBI.mjs.map +1 -0
- package/dist/HomePage-DeSjiyU9.mjs.map +1 -0
- package/dist/HomePage-DkeE8crT.mjs.map +1 -0
- package/dist/HomePage-DsbvKMa6.mjs.map +1 -0
- package/dist/HomePage-IGfhBNkC.mjs.map +1 -0
- package/dist/HomePage-xJmAs7Q5.mjs.map +1 -0
- package/dist/InlineRubriqueList-3QMV87xe.mjs.map +1 -0
- package/dist/InlineRubriqueList-B5tNfh6k.mjs.map +1 -0
- package/dist/InlineRubriqueList-BqHEHkS2.mjs.map +1 -0
- package/dist/InlineRubriqueList-CBrjC2gi.mjs.map +1 -0
- package/dist/InlineRubriqueList-CCLWU64v.mjs.map +1 -0
- package/dist/InlineRubriqueList-D-qqVbrZ.mjs.map +1 -0
- package/dist/InlineRubriqueList-P8gRZhg0.mjs.map +1 -0
- package/dist/InlineRubriqueList-Zthvowk2.mjs.map +1 -0
- package/dist/InlineRubriqueList-_9D-GX64.mjs.map +1 -0
- package/dist/InlineRubriqueList-qqXNmpRD.mjs +48 -0
- package/dist/LikeSection-B6UJ78qP.mjs.map +1 -0
- package/dist/LikeSection-CsXUgHo3.mjs.map +1 -0
- package/dist/LikeSection-D0zBn2N1.mjs.map +1 -0
- package/dist/LikeSection-DBWtJJML.mjs +91 -0
- package/dist/LikeSection-DFz0iHxm.mjs.map +1 -0
- package/dist/LikeSection-DRNs7AQV.mjs.map +1 -0
- package/dist/LikeSection-DcnqifOJ.mjs.map +1 -0
- package/dist/LikeSection-DhShszvC.mjs.map +1 -0
- package/dist/LikeSection-DjTj4DXY.mjs.map +1 -0
- package/dist/LikeSection-Dpc7Z7Xw.mjs.map +1 -0
- package/dist/ListPaginate-B4mRfsXc.mjs.map +1 -0
- package/dist/ListPaginate-C-oXc1Tv.mjs +163 -0
- package/dist/ListPaginate-C5dszdT5.mjs.map +1 -0
- package/dist/ListPaginate-DLy8Mtes.mjs.map +1 -0
- package/dist/ListPaginate-DYcUaeBi.mjs.map +1 -0
- package/dist/ListPaginate-DzhB7gWg.mjs.map +1 -0
- package/dist/ListPaginate-OqMQ16sV.mjs.map +1 -0
- package/dist/ListPaginate-fpecF6nJ.mjs.map +1 -0
- package/dist/ListPaginate-lGCrt79o.mjs.map +1 -0
- package/dist/ListPaginate-sjwCskae.mjs.map +1 -0
- package/dist/LiveHorizontalList-Bk4Ri9-V.mjs.map +1 -0
- package/dist/LiveHorizontalList-C8JIRTCG.mjs.map +1 -0
- package/dist/LiveHorizontalList-CXHTBqcY.mjs.map +1 -0
- package/dist/LiveHorizontalList-Cc12HTi9.mjs.map +1 -0
- package/dist/LiveHorizontalList-CqKt2-dP.mjs +77 -0
- package/dist/LiveHorizontalList-CtkgxUFe.mjs.map +1 -0
- package/dist/LiveHorizontalList-CwGKKmr5.mjs.map +1 -0
- package/dist/LiveHorizontalList-DE9URVLL.mjs.map +1 -0
- package/dist/LiveHorizontalList-DEUWiaAF.mjs.map +1 -0
- package/dist/LiveHorizontalList-DIw5ATwt.mjs.map +1 -0
- package/dist/LiveHorizontalList-DJnvrJq5.mjs.map +1 -0
- package/dist/LiveHorizontalList-dQfb8pFC.mjs.map +1 -0
- package/dist/LiveList-3V87mUqn.mjs.map +1 -0
- package/dist/LiveList-61cb5_ES.mjs.map +1 -0
- package/dist/LiveList-B7iaePeW.mjs.map +1 -0
- package/dist/LiveList-CI2xlHoy.mjs.map +1 -0
- package/dist/LiveList-CZK6689a.mjs.map +1 -0
- package/dist/LiveList-CwKh7imt.mjs.map +1 -0
- package/dist/LiveList-D0JMOBwZ.mjs.map +1 -0
- package/dist/LiveList-D14jpu1m.mjs.map +1 -0
- package/dist/LiveList-DO9slklV.mjs.map +1 -0
- package/dist/LiveList-DSg5-X27.mjs.map +1 -0
- package/dist/LiveList-Dxmbq5PK.mjs +204 -0
- package/dist/LiveList-q0lZed0Y.mjs.map +1 -0
- package/dist/LivesPage-2LIJbF09.mjs.map +1 -0
- package/dist/LivesPage-BZYlN1Nk.mjs.map +1 -0
- package/dist/LivesPage-Bd2ivr-W.mjs.map +1 -0
- package/dist/LivesPage-CuiofRGv.mjs.map +1 -0
- package/dist/LivesPage-DBZeTmoC.mjs.map +1 -0
- package/dist/LivesPage-DgCM6ICc.mjs.map +1 -0
- package/dist/LivesPage-DoUF4LT4.mjs.map +1 -0
- package/dist/LivesPage-Do_IRPDb.mjs.map +1 -0
- package/dist/LivesPage-DvFF5Ehk.mjs.map +1 -0
- package/dist/LivesPage-RYlbGFRL.mjs.map +1 -0
- package/dist/LivesPage-dvoZTABY.mjs.map +1 -0
- package/dist/LivesPage-kqUvQcUt.mjs +40 -0
- package/dist/MapPage-BNPn6-Jy.mjs +240 -0
- package/dist/MapPage-BnGmX0nm.mjs.map +1 -0
- package/dist/MapPage-CBdcOs3z.mjs.map +1 -0
- package/dist/MapPage-CHAkGryF.mjs.map +1 -0
- package/dist/MapPage-Ce7P0tSQ.mjs.map +1 -0
- package/dist/MapPage-CqQvQakt.mjs.map +1 -0
- package/dist/MapPage-DSEEFOx0.mjs.map +1 -0
- package/dist/MapPage-Dc7ogUxK.mjs.map +1 -0
- package/dist/MapPage-DrCSi6sP.mjs.map +1 -0
- package/dist/MapPage-Dy6dzoSh.mjs.map +1 -0
- package/dist/MobileMenu-BC8N3nQY.mjs.map +1 -0
- package/dist/MobileMenu-BPUrTm4B.mjs.map +1 -0
- package/dist/MobileMenu-Bb82cU-V.mjs.map +1 -0
- package/dist/MobileMenu-COhH-3Vh.mjs.map +1 -0
- package/dist/MobileMenu-CgqleBeZ.mjs.map +1 -0
- package/dist/MobileMenu-Ct1G3X6c.mjs.map +1 -0
- package/dist/MobileMenu-DeuJUIuL.mjs.map +1 -0
- package/dist/MobileMenu-DkdIdh8B.mjs.map +1 -0
- package/dist/MobileMenu-Dx8Rac6Q.mjs +136 -0
- package/dist/MobileMenu-Ucti65q7.mjs.map +1 -0
- package/dist/NewsletterModal-B-4IykXl.mjs.map +1 -0
- package/dist/NewsletterModal-B5cDrZZT.mjs.map +1 -0
- package/dist/NewsletterModal-BOPU3RZA.mjs.map +1 -0
- package/dist/NewsletterModal-C6Q4miok.mjs.map +1 -0
- package/dist/NewsletterModal-C7UIxqOB.mjs.map +1 -0
- package/dist/NewsletterModal-CEpabT49.mjs.map +1 -0
- package/dist/NewsletterModal-CeKf2qlW.mjs.map +1 -0
- package/dist/NewsletterModal-D7tI22Z3.mjs.map +1 -0
- package/dist/NewsletterModal-D_kSXRI4.mjs.map +1 -0
- package/dist/NewsletterModal-LxjOauh8.mjs +53 -0
- package/dist/OctopusMultiselect-CBq6hcx_.mjs.map +1 -0
- package/dist/OctopusMultiselect-CIIprTZq.mjs.map +1 -0
- package/dist/OctopusMultiselect-CwLRvgNW.mjs.map +1 -0
- package/dist/OctopusMultiselect-DZpfuiBT.mjs.map +1 -0
- package/dist/OctopusMultiselect-DiTb6dCw.mjs.map +1 -0
- package/dist/OrganisationChooser-BRQ7RhmF.mjs.map +1 -0
- package/dist/OrganisationChooser-C8I1lsFv.mjs.map +1 -0
- package/dist/OrganisationChooser-CFESxmAT.mjs.map +1 -0
- package/dist/OrganisationChooser-CbCp7ukk.mjs.map +1 -0
- package/dist/OrganisationChooser-D9qir3IK.mjs.map +1 -0
- package/dist/OrganisationChooser-DNW1HrA9.mjs +134 -0
- package/dist/OrganisationChooser-DZMm5qe0.mjs.map +1 -0
- package/dist/OrganisationChooser-Dn5PmG8u.mjs.map +1 -0
- package/dist/OrganisationChooser-DpKlPdEq.mjs.map +1 -0
- package/dist/OrganisationChooser-eCdC3av0.mjs.map +1 -0
- package/dist/OrganisationChooserLight-BGgCSFaS.mjs.map +1 -0
- package/dist/OrganisationChooserLight-C5YG_zW-.mjs +48 -0
- package/dist/OrganisationChooserLight-CC_rG2tW.mjs.map +1 -0
- package/dist/OrganisationChooserLight-CFMiy5JR.mjs.map +1 -0
- package/dist/OrganisationChooserLight-CaGi5bmj.mjs.map +1 -0
- package/dist/OrganisationChooserLight-Cw-TX7tC.mjs.map +1 -0
- package/dist/OrganisationChooserLight-D9hB1Mn1.mjs.map +1 -0
- package/dist/OrganisationChooserLight-FVMcuFwL.mjs.map +1 -0
- package/dist/OrganisationChooserLight-g5UaHHQI.mjs.map +1 -0
- package/dist/OrganisationChooserLight-t4_bXpUU.mjs.map +1 -0
- package/dist/PageNotFound-B-S86Tdg.mjs.map +1 -0
- package/dist/PageNotFound-BBmwH560.mjs.map +1 -0
- package/dist/PageNotFound-BkU-Zcl1.mjs +37 -0
- package/dist/PageNotFound-D0hG8oKt.mjs.map +1 -0
- package/dist/PageNotFound-D27mOzGs.mjs.map +1 -0
- package/dist/PageNotFound-DHjaESZK.mjs.map +1 -0
- package/dist/PageNotFound-DjuotXqk.mjs.map +1 -0
- package/dist/PageNotFound-KnYEmV53.mjs.map +1 -0
- package/dist/PageNotFound-aPSbmPML.mjs.map +1 -0
- package/dist/PageNotFound-iv6LFqMm.mjs.map +1 -0
- package/dist/ParticipantInlineList-B_QOnHkz.mjs.map +1 -0
- package/dist/ParticipantInlineList-BmSlfS8U.mjs +84 -0
- package/dist/ParticipantInlineList-BuV77VqY.mjs.map +1 -0
- package/dist/ParticipantInlineList-CVKgPDZV.mjs.map +1 -0
- package/dist/ParticipantInlineList-DB4JFTAs.mjs.map +1 -0
- package/dist/ParticipantInlineList-DJC4BqyZ.mjs.map +1 -0
- package/dist/ParticipantInlineList-LEgowcvQ.mjs.map +1 -0
- package/dist/ParticipantInlineList-THHdI7S6.mjs.map +1 -0
- package/dist/ParticipantInlineList-UsClUtx9.mjs.map +1 -0
- package/dist/ParticipantInlineList-cXD6qEfF.mjs.map +1 -0
- package/dist/ParticipantItem-B823A_IB.mjs.map +1 -0
- package/dist/ParticipantItem-BYoGwDaC.mjs.map +1 -0
- package/dist/ParticipantItem-Bv0rDHz5.mjs.map +1 -0
- package/dist/ParticipantItem-C3QWmnDu.mjs.map +1 -0
- package/dist/ParticipantItem-CnrNdZQo.mjs.map +1 -0
- package/dist/ParticipantItem-D0gWL78o.mjs +93 -0
- package/dist/ParticipantItem-Nt-FXJjF.mjs.map +1 -0
- package/dist/ParticipantItem-T5YaMfgy.mjs.map +1 -0
- package/dist/ParticipantItem-l31xyrzd.mjs.map +1 -0
- package/dist/ParticipantItem-nMO1KhtH.mjs.map +1 -0
- package/dist/ParticipantPage-6n6gUXVD.mjs.map +1 -0
- package/dist/ParticipantPage-BDaU2L7x.mjs.map +1 -0
- package/dist/ParticipantPage-Bj-qRLeU.mjs.map +1 -0
- package/dist/ParticipantPage-BnhUIbEn.mjs.map +1 -0
- package/dist/ParticipantPage-BupGQ-G5.mjs.map +1 -0
- package/dist/ParticipantPage-BzHRmEaJ.mjs.map +1 -0
- package/dist/ParticipantPage-CHNZDiyp.mjs.map +1 -0
- package/dist/ParticipantPage-CS_4BRZk.mjs.map +1 -0
- package/dist/ParticipantPage-CUtW8MZ_.mjs.map +1 -0
- package/dist/ParticipantPage-CloMhlEm.mjs.map +1 -0
- package/dist/ParticipantPage-CxF5xeqV.mjs.map +1 -0
- package/dist/ParticipantPage-D1BLkhP1.mjs.map +1 -0
- package/dist/ParticipantPage-D3yAuTOH.mjs.map +1 -0
- package/dist/ParticipantPage-DDxE-nG4.mjs.map +1 -0
- package/dist/ParticipantPage-DIJqRQua.mjs.map +1 -0
- package/dist/ParticipantPage-DOyhXzua.mjs.map +1 -0
- package/dist/ParticipantPage-DQ_LZ8ON.mjs.map +1 -0
- package/dist/ParticipantPage-Dt39WJ_l.mjs.map +1 -0
- package/dist/ParticipantPage-DuC-4Eb5.mjs.map +1 -0
- package/dist/ParticipantPage-NeidPM0r.mjs.map +1 -0
- package/dist/ParticipantPage-UZhvJf5f.mjs.map +1 -0
- package/dist/ParticipantPage-XlMU8NW6.mjs.map +1 -0
- package/dist/ParticipantPage-Zv8Y0t0g.mjs.map +1 -0
- package/dist/ParticipantPage-_u8zr3oT.mjs.map +1 -0
- package/dist/ParticipantPage-aITwYELh.mjs.map +1 -0
- package/dist/ParticipantPage-s466udAN.mjs.map +1 -0
- package/dist/ParticipantPage-ub02gw2H.mjs +127 -0
- package/dist/ParticipantsPage-6Gp9wqYP.mjs.map +1 -0
- package/dist/ParticipantsPage-BAK-89HE.mjs.map +1 -0
- package/dist/ParticipantsPage-BEZ9jLsK.mjs.map +1 -0
- package/dist/ParticipantsPage-BEvmOZN0.mjs +168 -0
- package/dist/ParticipantsPage-BIn5qe52.mjs.map +1 -0
- package/dist/ParticipantsPage-BsexxywE.mjs.map +1 -0
- package/dist/ParticipantsPage-CL6I-YPk.mjs.map +1 -0
- package/dist/ParticipantsPage-CNADnCAm.mjs.map +1 -0
- package/dist/ParticipantsPage-D6H9Lhp_.mjs.map +1 -0
- package/dist/ParticipantsPage-DIAM1hRh.mjs.map +1 -0
- package/dist/ParticipantsPage-DPsB5yNZ.mjs.map +1 -0
- package/dist/ParticipantsPage-DUV3BL7T.mjs.map +1 -0
- package/dist/ParticipantsPage-DgxcTTb4.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-629A4q1g.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-BDqoP97-.mjs +61 -0
- package/dist/PlayerAnonymousModal-BOvy3QhI.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-C4xQtkox.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-CKeYAtI-.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-CdwK1mb7.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-Cga-o3Ib.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-Chd1UAyT.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-DNbnZLWK.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-DiJoOLaQ.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-brO6Ubr1.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-gKCG2fN7.mjs.map +1 -0
- package/dist/PlayerAnonymousModal-tz05VlkT.mjs.map +1 -0
- package/dist/PlayerCommonParameters-BXU2n1q0.mjs.map +1 -0
- package/dist/PlayerCommonParameters-DHWwdoSz.mjs.map +1 -0
- package/dist/PlayerCommonParameters-uxfA51B-.mjs.map +1 -0
- package/dist/PlayerCompact-B52u0h05.mjs.map +1 -0
- package/dist/PlayerCompact-BSBG7n5y.mjs.map +1 -0
- package/dist/PlayerCompact-BTiVsyTi.mjs.map +1 -0
- package/dist/PlayerCompact-D2EDLiuU.mjs.map +1 -0
- package/dist/PlayerCompact-DNseAIe2.mjs.map +1 -0
- package/dist/PlayerCompact-Dpj_KTVs.mjs.map +1 -0
- package/dist/PlayerCompact-DtkXmguk.mjs.map +1 -0
- package/dist/PlayerCompact-gp1EI3Rn.mjs.map +1 -0
- package/dist/PlayerCompact-kYYQwJpQ.mjs.map +1 -0
- package/dist/PlayerCompact-zkdXUBpy.mjs +128 -0
- package/dist/PlayerComponent-35ATpMbq.mjs.map +1 -0
- package/dist/PlayerComponent-B9xPOA2s.mjs.map +1 -0
- package/dist/PlayerComponent-BQT9T4xR.mjs.map +1 -0
- package/dist/PlayerComponent-CMOwvblN.mjs.map +1 -0
- package/dist/PlayerComponent-CiJ0SvgJ.mjs.map +1 -0
- package/dist/PlayerComponent-DQFOj_me.mjs.map +1 -0
- package/dist/PlayerComponent-DWYslnb5.mjs.map +1 -0
- package/dist/PlayerComponent-DXERBWUO.mjs +577 -0
- package/dist/PlayerComponent-DzeeIT76.mjs.map +1 -0
- package/dist/PlayerComponent-p_vCAqBK.mjs.map +1 -0
- package/dist/PlayerLarge-B9I9P7RA.mjs.map +1 -0
- package/dist/PlayerLarge-BVqn2_7q.mjs +128 -0
- package/dist/PlayerLarge-Bc19Ja7o.mjs.map +1 -0
- package/dist/PlayerLarge-Bc3PBOtc.mjs.map +1 -0
- package/dist/PlayerLarge-Bk7muSfc.mjs.map +1 -0
- package/dist/PlayerLarge-BunE9Cr6.mjs.map +1 -0
- package/dist/PlayerLarge-C57ZBdWx.mjs.map +1 -0
- package/dist/PlayerLarge-CONPWzIW.mjs.map +1 -0
- package/dist/PlayerLarge-Db6JWBgs.mjs.map +1 -0
- package/dist/PlayerLarge-EUrAR8ng.mjs.map +1 -0
- package/dist/PlayerParameters-BUJSFrRm.mjs.map +1 -0
- package/dist/PlayerParameters-CdTVFLis.mjs.map +1 -0
- package/dist/PlayerParameters-DF4EAJum.mjs.map +1 -0
- package/dist/PlayerPlayButton-C9wSHiuH.mjs +231 -0
- package/dist/PlayerPlayButton-CInJwebd.mjs.map +1 -0
- package/dist/PlayerPlayButton-C_c1vYfP.mjs.map +1 -0
- package/dist/PlayerPlayButton-CdcGrGXf.mjs.map +1 -0
- package/dist/PlayerPlayButton-DBwJy1gK.mjs.map +1 -0
- package/dist/PlayerPlayButton-DUU7-O8Q.mjs.map +1 -0
- package/dist/PlayerPlayButton-DUVbUx70.mjs.map +1 -0
- package/dist/PlayerPlayButton-DZ4NDAPi.mjs.map +1 -0
- package/dist/PlayerPlayButton-Du4lVIkE.mjs.map +1 -0
- package/dist/PlayerPlayButton-Oc1JAZAa.mjs.map +1 -0
- package/dist/PlayerProgressBar-BGJU-NJG.mjs.map +1 -0
- package/dist/PlayerProgressBar-BZhRPhX2.mjs.map +1 -0
- package/dist/PlayerProgressBar-BbWr0hNb.mjs.map +1 -0
- package/dist/PlayerProgressBar-BqVeXSFA.mjs +67 -0
- package/dist/PlayerProgressBar-C9mxw2ZK.mjs.map +1 -0
- package/dist/PlayerProgressBar-CN5h4cLO.mjs.map +1 -0
- package/dist/PlayerProgressBar-C_q5PowC.mjs.map +1 -0
- package/dist/PlayerProgressBar-DNRH2HNw.mjs.map +1 -0
- package/dist/PlayerProgressBar-DmQ5LQwG.mjs.map +1 -0
- package/dist/PlayerProgressBar-IaiqG954.mjs.map +1 -0
- package/dist/PlayerStore-BoryMx44.mjs.map +1 -0
- package/dist/PlayerStore-CeEK_37t.mjs.map +1 -0
- package/dist/PlayerStore-CiwBosMV.mjs.map +1 -0
- package/dist/PlayerStore-CoPegfpW.mjs.map +1 -0
- package/dist/PlayerStore-DPO40vQz.mjs.map +1 -0
- package/dist/PlayerStore-DPmy4sOR.mjs.map +1 -0
- package/dist/PlayerStore-DVK-7Nyz.mjs.map +1 -0
- package/dist/PlayerStore-Qd5hagrv.mjs.map +1 -0
- package/dist/PlayerStore-RV93zeBG.mjs +167 -0
- package/dist/PlayerStore-vrcT_lkK.mjs.map +1 -0
- package/dist/PlayerVideo-5_e5lK_v.mjs.map +1 -0
- package/dist/PlayerVideo-BIsX855j.mjs.map +1 -0
- package/dist/PlayerVideo-BZddl9Em.mjs.map +1 -0
- package/dist/PlayerVideo-BoksCzDC.mjs.map +1 -0
- package/dist/PlayerVideo-C-fxyFIz.mjs.map +1 -0
- package/dist/PlayerVideo-C2EtfXJ7.mjs.map +1 -0
- package/dist/PlayerVideo-CnTpRzYZ.mjs +35 -0
- package/dist/PlayerVideo-DrsXg-p4.mjs.map +1 -0
- package/dist/PlayerVideo-H4--FFIg.mjs.map +1 -0
- package/dist/PlayerVideo-eZIkrv9x.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-B6IUIbS4.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-BPNDWI_2.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-BYgqnrwC.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-Bjsfu7ol.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-CBkqP0fx.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-DBi6KGP0.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-DJvvVFSL.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-DTQwmHts.mjs.map +1 -0
- package/dist/PlayerVideoDigiteka-DUfHAcxZ.mjs +62 -0
- package/dist/PlayerVideoDigiteka-DzN1TROv.mjs.map +1 -0
- package/dist/PlayerVideoHls-5LVzK8aO.mjs.map +1 -0
- package/dist/PlayerVideoHls-8qeYPAh2.mjs.map +1 -0
- package/dist/PlayerVideoHls-Azvnogn_.mjs.map +1 -0
- package/dist/PlayerVideoHls-BBPzOiRJ.mjs.map +1 -0
- package/dist/PlayerVideoHls-C2-AFv7F.mjs.map +1 -0
- package/dist/PlayerVideoHls-CLgt2pa8.mjs.map +1 -0
- package/dist/PlayerVideoHls-CQdGHhjV.mjs +129 -0
- package/dist/PlayerVideoHls-CeFo1I9v.mjs.map +1 -0
- package/dist/PlayerVideoHls-DswBTkU2.mjs.map +1 -0
- package/dist/PlayerVideoHls-QopQTYmy.mjs.map +1 -0
- package/dist/PlaylistPage-14Tb1WcB.mjs.map +1 -0
- package/dist/PlaylistPage-4XiwBYjv.mjs.map +1 -0
- package/dist/PlaylistPage-BIp49B9f.mjs.map +1 -0
- package/dist/PlaylistPage-BVwlT8fR.mjs.map +1 -0
- package/dist/PlaylistPage-Ba99LcAr.mjs +131 -0
- package/dist/PlaylistPage-BaXWVryc.mjs.map +1 -0
- package/dist/PlaylistPage-BpyW2sIZ.mjs.map +1 -0
- package/dist/PlaylistPage-BxFmnodn.mjs.map +1 -0
- package/dist/PlaylistPage-By9hrM0E.mjs.map +1 -0
- package/dist/PlaylistPage-C2yxvFMY.mjs.map +1 -0
- package/dist/PlaylistPage-C5JQAThF.mjs.map +1 -0
- package/dist/PlaylistPage-CFUwl5Hj.mjs.map +1 -0
- package/dist/PlaylistPage-CV831pvt.mjs.map +1 -0
- package/dist/PlaylistPage-CdCZZImd.mjs.map +1 -0
- package/dist/PlaylistPage-Cj2iTZXx.mjs.map +1 -0
- package/dist/PlaylistPage-CqZa5pwh.mjs.map +1 -0
- package/dist/PlaylistPage-CsCniN4U.mjs.map +1 -0
- package/dist/PlaylistPage-CvJ5Iddh.mjs.map +1 -0
- package/dist/PlaylistPage-D3dzQXAj.mjs.map +1 -0
- package/dist/PlaylistPage-DPEEiRvY.mjs.map +1 -0
- package/dist/PlaylistPage-DTkATZjb.mjs.map +1 -0
- package/dist/PlaylistPage-Db8rrXzH.mjs.map +1 -0
- package/dist/PlaylistPage-DdyYlC5L.mjs.map +1 -0
- package/dist/PlaylistPage-DkQOYyhH.mjs.map +1 -0
- package/dist/PlaylistPage-J1W_6PVy.mjs.map +1 -0
- package/dist/PlaylistPage-RscxbJ89.mjs.map +1 -0
- package/dist/PlaylistPage-U39YBMWz.mjs.map +1 -0
- package/dist/PlaylistPage-WuWsiHUl.mjs.map +1 -0
- package/dist/PlaylistsPage-BVCQBdup.mjs.map +1 -0
- package/dist/PlaylistsPage-BegEaluw.mjs.map +1 -0
- package/dist/PlaylistsPage-CTcmE7Zl.mjs.map +1 -0
- package/dist/PlaylistsPage-CWyYhgxH.mjs.map +1 -0
- package/dist/PlaylistsPage-ClZ9moxp.mjs.map +1 -0
- package/dist/PlaylistsPage-Cn27BFjZ.mjs.map +1 -0
- package/dist/PlaylistsPage-Cpa8nuYr.mjs.map +1 -0
- package/dist/PlaylistsPage-DXzHdn4F.mjs.map +1 -0
- package/dist/PlaylistsPage-D_c6Mun7.mjs.map +1 -0
- package/dist/PlaylistsPage-HZeCpom6.mjs +256 -0
- package/dist/PlaylistsPage-I9PWRveT.mjs.map +1 -0
- package/dist/PlaylistsPage-nE5R0L7g.mjs.map +1 -0
- package/dist/PlaylistsPage-uKDgR9AN.mjs.map +1 -0
- package/dist/PodcastFilterList-BX1HrmdP.mjs.map +1 -0
- package/dist/PodcastFilterList-Bq3TIN8N.mjs.map +1 -0
- package/dist/PodcastFilterList-Carvk3FF.mjs +139 -0
- package/dist/PodcastFilterList-CjoBw258.mjs.map +1 -0
- package/dist/PodcastFilterList-DFz4ZEdd.mjs.map +1 -0
- package/dist/PodcastFilterList-DTNx5wpR.mjs.map +1 -0
- package/dist/PodcastFilterList-Nu_h0B0T.mjs.map +1 -0
- package/dist/PodcastFilterList-SZrNY9bc.mjs.map +1 -0
- package/dist/PodcastFilterList-WUIxrsUa.mjs.map +1 -0
- package/dist/PodcastFilterList-cS52AVLI.mjs.map +1 -0
- package/dist/PodcastFilterList-gAtteAHm.mjs.map +1 -0
- package/dist/PodcastFilterList-gE6ay9Mo.mjs.map +1 -0
- package/dist/PodcastImage-DAEINa-8.mjs +121 -0
- package/dist/PodcastInlineList-7iOU9TPD.mjs.map +1 -0
- package/dist/PodcastInlineList-7l__eOdH.mjs.map +1 -0
- package/dist/PodcastInlineList-B9JnzwDA.mjs.map +1 -0
- package/dist/PodcastInlineList-BAgVbca3.mjs.map +1 -0
- package/dist/PodcastInlineList-BMlGJ9UZ.mjs.map +1 -0
- package/dist/PodcastInlineList-BOKweBAq.mjs.map +1 -0
- package/dist/PodcastInlineList-Cgsltfsw.mjs.map +1 -0
- package/dist/PodcastInlineList-DLyNXK0I.mjs.map +1 -0
- package/dist/PodcastInlineList-DQzMm9ui.mjs.map +1 -0
- package/dist/PodcastInlineList-DdU7X44U.mjs +129 -0
- package/dist/PodcastInlineList-lGyjx3Tm.mjs.map +1 -0
- package/dist/PodcastInlineList-uVHi2BVX.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-B-xZ5OjZ.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-B21ejoJv.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-BBnWqFe1.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-B_Lw0fyN.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-CTXRw9hF.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-D3safb9B.mjs +188 -0
- package/dist/PodcastInlineListTemplate-DZIyjfSg.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-DaP8-R47.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-DdA27A92.mjs.map +1 -0
- package/dist/PodcastInlineListTemplate-Z_JAp3vm.mjs.map +1 -0
- package/dist/PodcastIsPlaying-BD0cd2E5.mjs.map +1 -0
- package/dist/PodcastIsPlaying-CFB3m3In.mjs.map +1 -0
- package/dist/PodcastIsPlaying-CZgosaNs.mjs.map +1 -0
- package/dist/PodcastIsPlaying-DDf28ipo.mjs.map +1 -0
- package/dist/PodcastIsPlaying-DNzEkVNh.mjs.map +1 -0
- package/dist/PodcastIsPlaying-DSnPEc-s.mjs.map +1 -0
- package/dist/PodcastIsPlaying-DX6s8mqX.mjs.map +1 -0
- package/dist/PodcastIsPlaying-DgNJmRVb.mjs.map +1 -0
- package/dist/PodcastIsPlaying-bhOKlu6V.mjs.map +1 -0
- package/dist/PodcastIsPlaying-cE2f50ss.mjs +17 -0
- package/dist/PodcastItem-BUvtyB5v.mjs.map +1 -0
- package/dist/PodcastItem-BWbRKWzU.mjs.map +1 -0
- package/dist/PodcastItem-CBCQLYcj.mjs.map +1 -0
- package/dist/PodcastItem-CQ2TJMBd.mjs.map +1 -0
- package/dist/PodcastItem-Ch4R-qLE.mjs.map +1 -0
- package/dist/PodcastItem-ClNwSA6R.mjs.map +1 -0
- package/dist/PodcastItem-D1zsc4cR.mjs.map +1 -0
- package/dist/PodcastItem-DKt2srH8.mjs.map +1 -0
- package/dist/PodcastItem-Dng0kiol.mjs.map +1 -0
- package/dist/PodcastItem-UoJsu_3v.mjs.map +1 -0
- package/dist/PodcastItem-oEQqxWZF.mjs.map +1 -0
- package/dist/PodcastItem-sz_TWNrg.mjs +171 -0
- package/dist/PodcastList-0trSg5D6.mjs.map +1 -0
- package/dist/PodcastList-BCSCbvLM.mjs.map +1 -0
- package/dist/PodcastList-BXnECOox.mjs.map +1 -0
- package/dist/PodcastList-BdaTznGY.mjs +186 -0
- package/dist/PodcastList-Bgg_EE0D.mjs.map +1 -0
- package/dist/PodcastList-Bya3Yib9.mjs.map +1 -0
- package/dist/PodcastList-ByeeMlCm.mjs.map +1 -0
- package/dist/PodcastList-CbtZHnGs.mjs.map +1 -0
- package/dist/PodcastList-CfxAEn-7.mjs.map +1 -0
- package/dist/PodcastList-Co76ve-P.mjs.map +1 -0
- package/dist/PodcastList-CwnqTS40.mjs.map +1 -0
- package/dist/PodcastList-D4Athy3Y.mjs +113 -0
- package/dist/PodcastList-D9hjLCws.mjs.map +1 -0
- package/dist/PodcastList-DBflL8Vu.mjs.map +1 -0
- package/dist/PodcastList-DKI0fEkl.mjs.map +1 -0
- package/dist/PodcastList-DfIlwRD4.mjs.map +1 -0
- package/dist/PodcastList-Dh5y6uUh.mjs.map +1 -0
- package/dist/PodcastList-DiirXQyO.mjs.map +1 -0
- package/dist/PodcastList-DlxPrxvC.mjs.map +1 -0
- package/dist/PodcastList-Dtlu6ucO.mjs.map +1 -0
- package/dist/PodcastList-Du7Yfd8_.mjs.map +1 -0
- package/dist/PodcastList-Ijut3Uei.mjs.map +1 -0
- package/dist/PodcastList-omX94tVA.mjs.map +1 -0
- package/dist/PodcastList-sW7LhzPQ.mjs.map +1 -0
- package/dist/PodcastPage-1p_gXTmv.mjs.map +1 -0
- package/dist/PodcastPage-BBavSers.mjs.map +1 -0
- package/dist/PodcastPage-BCBtvhOm.mjs.map +1 -0
- package/dist/PodcastPage-BF1VBeje.mjs.map +1 -0
- package/dist/PodcastPage-B_FLXBrr.mjs.map +1 -0
- package/dist/PodcastPage-BbBUHEcK.mjs.map +1 -0
- package/dist/PodcastPage-BlFlRX8T.mjs.map +1 -0
- package/dist/PodcastPage-BslowICS.mjs.map +1 -0
- package/dist/PodcastPage-C1bILTCb.mjs.map +1 -0
- package/dist/PodcastPage-CCFmLJP0.mjs.map +1 -0
- package/dist/PodcastPage-CH22_ZeI.mjs.map +1 -0
- package/dist/PodcastPage-COo4kpBh.mjs.map +1 -0
- package/dist/PodcastPage-CTsOBWRc.mjs +434 -0
- package/dist/PodcastPage-CfvtWlkk.mjs.map +1 -0
- package/dist/PodcastPage-Ck7mFHdx.mjs.map +1 -0
- package/dist/PodcastPage-CqhyH2YL.mjs.map +1 -0
- package/dist/PodcastPage-D6-PkBwL.mjs.map +1 -0
- package/dist/PodcastPage-D60hpnnT.mjs.map +1 -0
- package/dist/PodcastPage-DMyUJml0.mjs.map +1 -0
- package/dist/PodcastPage-DgJVIJNc.mjs.map +1 -0
- package/dist/PodcastPage-DgKKxyeQ.mjs.map +1 -0
- package/dist/PodcastPage-DlnO-RAc.mjs.map +1 -0
- package/dist/PodcastPage-DqydtUaF.mjs.map +1 -0
- package/dist/PodcastPage-Dr7j9BN3.mjs.map +1 -0
- package/dist/PodcastPage-QXwxcKzW.mjs.map +1 -0
- package/dist/PodcastPage-W-yP4_zr.mjs.map +1 -0
- package/dist/PodcastPage-ccC-Oenj.mjs.map +1 -0
- package/dist/PodcastPage-eQ12HtPn.mjs.map +1 -0
- package/dist/PodcastPage-m5knwFG_.mjs.map +1 -0
- package/dist/PodcastPage-oMO-pL-U.mjs.map +1 -0
- package/dist/PodcastPage-olfKvzw6.mjs.map +1 -0
- package/dist/PodcastPlayBar-2uy-DOoN.mjs.map +1 -0
- package/dist/PodcastPlayBar-3R2LFXtt.mjs.map +1 -0
- package/dist/PodcastPlayBar-B18SJwVL.mjs.map +1 -0
- package/dist/PodcastPlayBar-B4WmgLVd.mjs.map +1 -0
- package/dist/PodcastPlayBar-BOCB_YHM.mjs +39 -0
- package/dist/PodcastPlayBar-Bf6F4fk-.mjs.map +1 -0
- package/dist/PodcastPlayBar-CD10LSEW.mjs.map +1 -0
- package/dist/PodcastPlayBar-CHq9fg_1.mjs.map +1 -0
- package/dist/PodcastPlayBar-CaVgS8tb.mjs.map +1 -0
- package/dist/PodcastPlayBar-Du1r9ODU.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-0PDHUXNs.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-B9xHxo8y.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-B__ZtpmS.mjs +44 -0
- package/dist/PodcastPlayBasicButton-COoYaPs5.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-Cak4OzEu.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-DhRsIgPp.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-DsThHmNT.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-KB3psFK5.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-cjxae6KW.mjs.map +1 -0
- package/dist/PodcastPlayBasicButton-r5FxnZ0t.mjs.map +1 -0
- package/dist/PodcastPlayButton-BheacZWm.mjs.map +1 -0
- package/dist/PodcastPlayButton-BpyzJi_X.mjs.map +1 -0
- package/dist/PodcastPlayButton-C2uOnqy1.mjs.map +1 -0
- package/dist/PodcastPlayButton-CQQUtPHx.mjs.map +1 -0
- package/dist/PodcastPlayButton-CaOPyAc8.mjs.map +1 -0
- package/dist/PodcastPlayButton-CwM7dUUQ.mjs.map +1 -0
- package/dist/PodcastPlayButton-D-gARwmR.mjs.map +1 -0
- package/dist/PodcastPlayButton-PWD45yi7.mjs.map +1 -0
- package/dist/PodcastPlayButton-Z-mzT-ev.mjs.map +1 -0
- package/dist/PodcastPlayButton-mH3ceBIe.mjs +118 -0
- package/dist/PodcastPlaylistInlineList-BYRTnFl_.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-Bt4Egva5.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-C3Ck2QEz.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-C8TQySD9.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-CeH37fUS.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-DA5nsEFj.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-DIvlxL09.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-DfYWNKIp.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-DmpZLc0-.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-YxmVMt0u.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-ivHqkYIn.mjs.map +1 -0
- package/dist/PodcastPlaylistInlineList-uT-EajZw.mjs +63 -0
- package/dist/PodcastPresentationList-BFxeprID.mjs.map +1 -0
- package/dist/PodcastPresentationList-BItiAkHA.mjs.map +1 -0
- package/dist/PodcastPresentationList-BK7BbUbv.mjs.map +1 -0
- package/dist/PodcastPresentationList-BSXCQK1L.mjs.map +1 -0
- package/dist/PodcastPresentationList-C2-MRkZE.mjs.map +1 -0
- package/dist/PodcastPresentationList-CT55Dz-L.mjs +132 -0
- package/dist/PodcastPresentationList-D5B6z2o-.mjs.map +1 -0
- package/dist/PodcastPresentationList-PuQwkSJD.mjs.map +1 -0
- package/dist/PodcastPresentationList-__90khMB.mjs.map +1 -0
- package/dist/PodcastPresentationList-jJfm3iv_.mjs.map +1 -0
- package/dist/PodcastProgressBar-BaUnflxw.mjs.map +1 -0
- package/dist/PodcastProgressBar-C4lr2_S3.mjs +66 -0
- package/dist/PodcastProgressBar-CG-o-Mlp.mjs.map +1 -0
- package/dist/PodcastProgressBar-CskXyfVz.mjs.map +1 -0
- package/dist/PodcastProgressBar-DAYvoj_L.mjs.map +1 -0
- package/dist/PodcastProgressBar-DHtCFyIX.mjs.map +1 -0
- package/dist/PodcastProgressBar-DNCFu8Yw.mjs.map +1 -0
- package/dist/PodcastProgressBar-DNsOvpV2.mjs.map +1 -0
- package/dist/PodcastProgressBar-DPU4M_Sg.mjs.map +1 -0
- package/dist/PodcastProgressBar-GWoVC2MN.mjs.map +1 -0
- package/dist/PodcastRawTranscript-BYgL-V-2.mjs.map +1 -0
- package/dist/PodcastRawTranscript-BmrcrvtE.mjs.map +1 -0
- package/dist/PodcastRawTranscript-Buoj_sLc.mjs.map +1 -0
- package/dist/PodcastRawTranscript-C-iA_gvG.mjs.map +1 -0
- package/dist/PodcastRawTranscript-CQqhB3oO.mjs.map +1 -0
- package/dist/PodcastRawTranscript-CVvPoIbO.mjs.map +1 -0
- package/dist/PodcastRawTranscript-DUXlV99N.mjs.map +1 -0
- package/dist/PodcastRawTranscript-Lh6eQNfd.mjs +102 -0
- package/dist/PodcastRawTranscript-NOuk9979.mjs.map +1 -0
- package/dist/PodcastRawTranscript-j1pQP7ND.mjs.map +1 -0
- package/dist/PodcastSwiperList-DDNAlRVm.mjs +175 -0
- package/dist/PodcastmakerHeader-B103w68N.mjs.map +1 -0
- package/dist/PodcastmakerHeader-B84fSjAU.mjs.map +1 -0
- package/dist/PodcastmakerHeader-BEzDxdpx.mjs.map +1 -0
- package/dist/PodcastmakerHeader-BSTBNG2G.mjs +33 -0
- package/dist/PodcastmakerHeader-BSht0Jse.mjs.map +1 -0
- package/dist/PodcastmakerHeader-CcWa7XAx.mjs.map +1 -0
- package/dist/PodcastmakerHeader-DBpDLLbU.mjs.map +1 -0
- package/dist/PodcastmakerHeader-DSCUA8bX.mjs.map +1 -0
- package/dist/PodcastmakerHeader-DpbZsEYH.mjs.map +1 -0
- package/dist/PodcastmakerHeader-XAZoEpga.mjs.map +1 -0
- package/dist/PodcastsPage-B0SKw8lZ.mjs.map +1 -0
- package/dist/PodcastsPage-BAEghj59.mjs.map +1 -0
- package/dist/PodcastsPage-BLeLefqq.mjs.map +1 -0
- package/dist/PodcastsPage-Bu1Qokl9.mjs.map +1 -0
- package/dist/PodcastsPage-C2p67_M0.mjs.map +1 -0
- package/dist/PodcastsPage-C8O9J6Zx.mjs.map +1 -0
- package/dist/PodcastsPage-Cn_vfiDD.mjs.map +1 -0
- package/dist/PodcastsPage-CreuNYO3.mjs.map +1 -0
- package/dist/PodcastsPage-D4E7mTcH.mjs.map +1 -0
- package/dist/PodcastsPage-DGXfV3NU.mjs.map +1 -0
- package/dist/PodcastsPage-DX_DWriC.mjs.map +1 -0
- package/dist/PodcastsPage-DhuvmGqi.mjs.map +1 -0
- package/dist/PodcastsPage-DqRuVsY-.mjs +133 -0
- package/dist/PodcastsPage-El_F3wm0.mjs.map +1 -0
- package/dist/PodcastsPage-TVZSPal9.mjs.map +1 -0
- package/dist/PodcastsPage-WgIb6euZ.mjs.map +1 -0
- package/dist/PodcastsPage-smDCnnYr.mjs.map +1 -0
- package/dist/ProductorSearch-BF3_QZAt.mjs.map +1 -0
- package/dist/ProductorSearch-BYFvY5Zz.mjs +92 -0
- package/dist/ProductorSearch-BuBzR7c4.mjs.map +1 -0
- package/dist/ProductorSearch-BwomLnIL.mjs.map +1 -0
- package/dist/ProductorSearch-C2PSVGPc.mjs.map +1 -0
- package/dist/ProductorSearch-CMAJbBgi.mjs.map +1 -0
- package/dist/ProductorSearch-CSzLDRWF.mjs.map +1 -0
- package/dist/ProductorSearch-D3mPMQ5F.mjs.map +1 -0
- package/dist/ProductorSearch-D7nFABGX.mjs.map +1 -0
- package/dist/ProductorSearch-Dqrf2r7V.mjs.map +1 -0
- package/dist/ProductorSearch-Dr_Voovg.mjs.map +1 -0
- package/dist/ProductorSearch-XbqhX0GE.mjs.map +1 -0
- package/dist/ProductorSearch-b_WEMS8S.mjs.map +1 -0
- package/dist/ProgressBar-BCILkwv9.mjs +112 -0
- package/dist/ProgressBar-BGNNrTLg.mjs.map +1 -0
- package/dist/ProgressBar-BmczB63o.mjs.map +1 -0
- package/dist/ProgressBar-CNHH0CAU.mjs.map +1 -0
- package/dist/ProgressBar-CToN_UQ5.mjs.map +1 -0
- package/dist/ProgressBar-CemLpkG9.mjs.map +1 -0
- package/dist/ProgressBar-LovYjVh1.mjs.map +1 -0
- package/dist/ProgressBar-M6UwUkQd.mjs.map +1 -0
- package/dist/ProgressBar-SBBSd-lE.mjs.map +1 -0
- package/dist/ProgressBar-hpSs7RPl.mjs.map +1 -0
- package/dist/QrCode-B3-dAoEx.mjs.map +1 -0
- package/dist/QrCode-BEJqWkvq.mjs.map +1 -0
- package/dist/QrCode-BZ8l1AsX.mjs.map +1 -0
- package/dist/QrCode-Bin-VPfq.mjs.map +1 -0
- package/dist/QrCode-C5Yd06gi.mjs.map +1 -0
- package/dist/QrCode-D2k3Pfbu.mjs.map +1 -0
- package/dist/QrCode-DC476p4p.mjs.map +1 -0
- package/dist/QrCode-DRCpDa6z.mjs.map +1 -0
- package/dist/QrCode-DuoBqnUs.mjs +109 -0
- package/dist/QrCode-eBKWbnCF.mjs.map +1 -0
- package/dist/QrCodeModal-B6a4Tfg1.mjs.map +1 -0
- package/dist/QrCodeModal-BtdxXype.mjs +43 -0
- package/dist/QrCodeModal-BukSkfVR.mjs.map +1 -0
- package/dist/QrCodeModal-CFWy2iKe.mjs.map +1 -0
- package/dist/QrCodeModal-DySseHUe.mjs.map +1 -0
- package/dist/QrCodeModal-G4UhT8Jx.mjs.map +1 -0
- package/dist/QrCodeModal-UiYGoIRM.mjs.map +1 -0
- package/dist/QrCodeModal-_AzLIesc.mjs.map +1 -0
- package/dist/QrCodeModal-_sYa6QSy.mjs.map +1 -0
- package/dist/QrCodeModal-vyexUJO-.mjs.map +1 -0
- package/dist/RadioCurrently-BGI7Q4Kk.mjs.map +1 -0
- package/dist/RadioCurrently-Bs-tXQ6X.mjs.map +1 -0
- package/dist/RadioCurrently-CAj-Q1Fy.mjs.map +1 -0
- package/dist/RadioCurrently-CICjPhYl.mjs.map +1 -0
- package/dist/RadioCurrently-CJWK62kC.mjs.map +1 -0
- package/dist/RadioCurrently-CbmlkFBm.mjs.map +1 -0
- package/dist/RadioCurrently-CiooTi9r.mjs.map +1 -0
- package/dist/RadioCurrently-DO-usFEI.mjs.map +1 -0
- package/dist/RadioCurrently-DYkGcV2Y.mjs +57 -0
- package/dist/RadioCurrently-_qwjPvlt.mjs.map +1 -0
- package/dist/RadioHistory-0NXxC-tM.mjs.map +1 -0
- package/dist/RadioHistory-B24LyG1q.mjs.map +1 -0
- package/dist/RadioHistory-BOP-cCo2.mjs.map +1 -0
- package/dist/RadioHistory-BValfa4N.mjs.map +1 -0
- package/dist/RadioHistory-BZ15bOTa.mjs.map +1 -0
- package/dist/RadioHistory-C1Ae-2o4.mjs.map +1 -0
- package/dist/RadioHistory-C_1emon3.mjs.map +1 -0
- package/dist/RadioHistory-D6sH8lS9.mjs.map +1 -0
- package/dist/RadioHistory-Dt8YS_Vx.mjs +89 -0
- package/dist/RadioHistory-t8XMbaCE.mjs.map +1 -0
- package/dist/RadioImage-BBAh65fZ.mjs.map +1 -0
- package/dist/RadioImage-BRRlBf6d.mjs.map +1 -0
- package/dist/RadioImage-CFF8LDGP.mjs.map +1 -0
- package/dist/RadioImage-DGCe5JFF.mjs +46 -0
- package/dist/RadioImage-DHXvmxxC.mjs.map +1 -0
- package/dist/RadioImage-DZvkfVl5.mjs.map +1 -0
- package/dist/RadioImage-DuENJJI8.mjs.map +1 -0
- package/dist/RadioImage-NuC9lcEJ.mjs.map +1 -0
- package/dist/RadioImage-x_6_AmsL.mjs.map +1 -0
- package/dist/RadioImage-xxuIczOc.mjs.map +1 -0
- package/dist/RadioList-BATpTDnv.mjs.map +1 -0
- package/dist/RadioList-B_gtbhBw.mjs.map +1 -0
- package/dist/RadioList-Bi3X9hh4.mjs.map +1 -0
- package/dist/RadioList-CGw-XTz-.mjs.map +1 -0
- package/dist/RadioList-CNr6oVTS.mjs +70 -0
- package/dist/RadioList-D7tz8M_5.mjs.map +1 -0
- package/dist/RadioList-DAF-fuRM.mjs.map +1 -0
- package/dist/RadioList-DDryMjrO.mjs.map +1 -0
- package/dist/RadioList-DST0mNlr.mjs.map +1 -0
- package/dist/RadioList-DYcJG7l1.mjs.map +1 -0
- package/dist/RadioPage-0LWnS2Dy.mjs.map +1 -0
- package/dist/RadioPage-848NGju-.mjs.map +1 -0
- package/dist/RadioPage-BJiZZYxQ.mjs.map +1 -0
- package/dist/RadioPage-BVQQzLXN.mjs.map +1 -0
- package/dist/RadioPage-BWh6ny-D.mjs.map +1 -0
- package/dist/RadioPage-B_8aLJpI.mjs.map +1 -0
- package/dist/RadioPage-Bdc21jrp.mjs.map +1 -0
- package/dist/RadioPage-BiznyiSe.mjs.map +1 -0
- package/dist/RadioPage-CDXLaOvn.mjs.map +1 -0
- package/dist/RadioPage-CKnMxGvj.mjs.map +1 -0
- package/dist/RadioPage-CLO7hCZz.mjs.map +1 -0
- package/dist/RadioPage-CXKuUSaT.mjs.map +1 -0
- package/dist/RadioPage-Co6NEX_K.mjs.map +1 -0
- package/dist/RadioPage-CxzAJUb9.mjs.map +1 -0
- package/dist/RadioPage-D-ra102V.mjs.map +1 -0
- package/dist/RadioPage-DGxWzcw9.mjs.map +1 -0
- package/dist/RadioPage-DLPYwVCF.mjs.map +1 -0
- package/dist/RadioPage-DOFh3XyA.mjs.map +1 -0
- package/dist/RadioPage-Dikew6jC.mjs.map +1 -0
- package/dist/RadioPage-DjupFqMk.mjs.map +1 -0
- package/dist/RadioPage-DpIJmaRV.mjs.map +1 -0
- package/dist/RadioPage-FsmtbUa6.mjs.map +1 -0
- package/dist/RadioPage-VZI--yO3.mjs +69 -0
- package/dist/RadioPage-jYiR7G4G.mjs.map +1 -0
- package/dist/RadioPage-nvnunOdu.mjs.map +1 -0
- package/dist/RadioPage-r5aOymPC.mjs.map +1 -0
- package/dist/RadioPlanning-3_8kgkFr.mjs.map +1 -0
- package/dist/RadioPlanning-B2mPmvuV.mjs.map +1 -0
- package/dist/RadioPlanning-BhyyV7y9.mjs.map +1 -0
- package/dist/RadioPlanning-C3LyVipA.mjs.map +1 -0
- package/dist/RadioPlanning-CX_V23jt.mjs +180 -0
- package/dist/RadioPlanning-CtRpu5ho.mjs.map +1 -0
- package/dist/RadioPlanning-D0tm4eKN.mjs.map +1 -0
- package/dist/RadioPlanning-D7HP7PDb.mjs.map +1 -0
- package/dist/RadioPlanning-VX9brwvl.mjs.map +1 -0
- package/dist/RadioPlanning-cN4oCJ8H.mjs.map +1 -0
- package/dist/RadioProgressBar-0N_VRGFl.mjs.map +1 -0
- package/dist/RadioProgressBar-5S6XydLm.mjs.map +1 -0
- package/dist/RadioProgressBar-BFXZJSZd.mjs.map +1 -0
- package/dist/RadioProgressBar-BN7qiCuw.mjs.map +1 -0
- package/dist/RadioProgressBar-BSseS6Y6.mjs.map +1 -0
- package/dist/RadioProgressBar-BoLmX-rf.mjs.map +1 -0
- package/dist/RadioProgressBar-C-LTFlS3.mjs.map +1 -0
- package/dist/RadioProgressBar-Cnz992Ut.mjs.map +1 -0
- package/dist/RadioProgressBar-CteGCIln.mjs +32 -0
- package/dist/RadioProgressBar-Tv45Shi8.mjs.map +1 -0
- package/dist/RecaptchaModal-BN9-FtH0.mjs.map +1 -0
- package/dist/RecaptchaModal-BlT0plN9.mjs.map +1 -0
- package/dist/RecaptchaModal-BnHoqrQq.mjs.map +1 -0
- package/dist/RecaptchaModal-CGN2d_Wl.mjs.map +1 -0
- package/dist/RecaptchaModal-CKWuB4O4.mjs.map +1 -0
- package/dist/RecaptchaModal-CZO0SWt5.mjs.map +1 -0
- package/dist/RecaptchaModal-C_8xsnhY.mjs.map +1 -0
- package/dist/RecaptchaModal-CuXhkg7A.mjs.map +1 -0
- package/dist/RecaptchaModal-Dao75ngn.mjs +95 -0
- package/dist/RecaptchaModal-vVBWqZjS.mjs.map +1 -0
- package/dist/ReportAbuseModal-2wKIcaG3.mjs.map +1 -0
- package/dist/ReportAbuseModal-BmiUkyAR.mjs.map +1 -0
- package/dist/ReportAbuseModal-C2Ri0I6T.mjs.map +1 -0
- package/dist/ReportAbuseModal-CJ-GtLDF.mjs.map +1 -0
- package/dist/ReportAbuseModal-CR7CPoLa.mjs.map +1 -0
- package/dist/ReportAbuseModal-S6L8XRqz.mjs.map +1 -0
- package/dist/ReportAbuseModal-UrX6sd3a.mjs.map +1 -0
- package/dist/ReportAbuseModal-mGFx3kd5.mjs.map +1 -0
- package/dist/ReportAbuseModal-qjwjnXr-.mjs.map +1 -0
- package/dist/ReportAbuseModal-wPrxKwYn.mjs +92 -0
- package/dist/RightsIndicator-B6oVG3Vv.mjs.map +1 -0
- package/dist/RightsIndicator-B8DwZ_fd.mjs.map +1 -0
- package/dist/RightsIndicator-BKEc5jW7.mjs.map +1 -0
- package/dist/RightsIndicator-BLlF6ioO.mjs.map +1 -0
- package/dist/RightsIndicator-BnSHhAFO.mjs.map +1 -0
- package/dist/RightsIndicator-CMK5qgrg.mjs.map +1 -0
- package/dist/RightsIndicator-DXgJCGQp.mjs +58 -0
- package/dist/RightsIndicator-DhFz2_lS.mjs.map +1 -0
- package/dist/RightsIndicator-DiSy_UMU.mjs.map +1 -0
- package/dist/RightsIndicator-I0bkyxBY.mjs.map +1 -0
- package/dist/RightsIndicator-KTkGY7cW.mjs.map +1 -0
- package/dist/RightsIndicator-fyezYPgv.mjs.map +1 -0
- package/dist/RightsWrapper--Kg0S8ZR.mjs.map +1 -0
- package/dist/RightsWrapper-0L7GZip_.mjs.map +1 -0
- package/dist/RightsWrapper-BUOaSgq0.mjs.map +1 -0
- package/dist/RightsWrapper-Bz6Jq4Wn.mjs.map +1 -0
- package/dist/RightsWrapper-C05nmwn3.mjs.map +1 -0
- package/dist/RightsWrapper-CvHrEsXl.mjs.map +1 -0
- package/dist/RightsWrapper-DB03OfSO.mjs.map +1 -0
- package/dist/RightsWrapper-DuoT8c5f.mjs.map +1 -0
- package/dist/RightsWrapper-H6YNGOIH.mjs.map +1 -0
- package/dist/RightsWrapper-e6pIDSCP.mjs +103 -0
- package/dist/RubriqueFilter-Bb3WrCl-.mjs +121 -0
- package/dist/RubriqueFilter-BbvioXEs.mjs.map +1 -0
- package/dist/RubriqueFilter-CGAaiSqu.mjs.map +1 -0
- package/dist/RubriqueFilter-CGOCmYlZ.mjs.map +1 -0
- package/dist/RubriqueFilter-CKODlolD.mjs.map +1 -0
- package/dist/RubriqueFilter-CyP_U1cs.mjs.map +1 -0
- package/dist/RubriqueFilter-D25otG08.mjs.map +1 -0
- package/dist/RubriqueFilter-D7t3U5is.mjs.map +1 -0
- package/dist/RubriqueFilter-DIPfzzAB.mjs.map +1 -0
- package/dist/RubriqueFilter-DWNZ4363.mjs.map +1 -0
- package/dist/RubriqueFilter-DzC5BNwN.mjs.map +1 -0
- package/dist/RubriqueFilter-LDAsfKKw.mjs.map +1 -0
- package/dist/RubriqueFilter-kXW5Wpw-.mjs.map +1 -0
- package/dist/RubriqueList-BVd54h6H.mjs.map +1 -0
- package/dist/RubriqueList-Be4-yec7.mjs.map +1 -0
- package/dist/RubriqueList-BmjX5xjQ.mjs.map +1 -0
- package/dist/RubriqueList-CdOK6m9h.mjs +117 -0
- package/dist/RubriqueList-Ck4pq-X4.mjs.map +1 -0
- package/dist/RubriqueList-DT_-_h1O.mjs.map +1 -0
- package/dist/RubriqueList-DzRAXBaV.mjs.map +1 -0
- package/dist/RubriqueList-Xcn9p9DK.mjs.map +1 -0
- package/dist/RubriqueList-g-Hd-AXu.mjs.map +1 -0
- package/dist/RubriqueList-ntNDJVgp.mjs.map +1 -0
- package/dist/RubriquePage-5g6aqxqD.mjs.map +1 -0
- package/dist/RubriquePage-CAvf_Y-Q.mjs.map +1 -0
- package/dist/RubriquePage-CX-JlvXq.mjs.map +1 -0
- package/dist/RubriquePage-CbA4ZCuR.mjs.map +1 -0
- package/dist/RubriquePage-Csdr3Njh.mjs.map +1 -0
- package/dist/RubriquePage-DTtM25Dc.mjs.map +1 -0
- package/dist/RubriquePage-DkRYjcKE.mjs.map +1 -0
- package/dist/RubriquePage-Dn3mZt3-.mjs.map +1 -0
- package/dist/RubriquePage-DtzVeLGT.mjs.map +1 -0
- package/dist/RubriquePage-Jr_H7JHl.mjs.map +1 -0
- package/dist/RubriquePage-K2aryiuY.mjs +71 -0
- package/dist/RubriquePage-MBdTkGKC.mjs.map +1 -0
- package/dist/RubriquePage-MVibj8Mc.mjs.map +1 -0
- package/dist/RubriquePage-uGycriVp.mjs.map +1 -0
- package/dist/RubriquePage-v1jfirWy.mjs.map +1 -0
- package/dist/SearchPage-B9PdenHm.mjs.map +1 -0
- package/dist/SearchPage-BG0DWEPM.mjs.map +1 -0
- package/dist/SearchPage-BNVQ7ff_.mjs.map +1 -0
- package/dist/SearchPage-BXmsmWCx.mjs.map +1 -0
- package/dist/SearchPage-BrOLPtRO.mjs.map +1 -0
- package/dist/SearchPage-CLSB65iE.mjs.map +1 -0
- package/dist/SearchPage-CXjLv4D9.mjs.map +1 -0
- package/dist/SearchPage-Cf879_C6.mjs +41 -0
- package/dist/SearchPage-D5oBwoEa.mjs.map +1 -0
- package/dist/SearchPage-DmnNgdaa.mjs.map +1 -0
- package/dist/SearchPage-DtsjYM2Y.mjs.map +1 -0
- package/dist/SearchPage-myo5Qltn.mjs.map +1 -0
- package/dist/ShareAnonymous-B-czPB8X.mjs.map +1 -0
- package/dist/ShareAnonymous-B1LXTVmO.mjs.map +1 -0
- package/dist/ShareAnonymous-BZTqetkR.mjs +199 -0
- package/dist/ShareAnonymous-C8nEBJXm.mjs.map +1 -0
- package/dist/ShareAnonymous-CJy4L6j3.mjs.map +1 -0
- package/dist/ShareAnonymous-CWsruXoM.mjs.map +1 -0
- package/dist/ShareAnonymous-Cq-z2mN6.mjs.map +1 -0
- package/dist/ShareAnonymous-DdWn0IJW.mjs.map +1 -0
- package/dist/ShareAnonymous-Dp_fGke_.mjs.map +1 -0
- package/dist/ShareAnonymous-iasPMg27.mjs.map +1 -0
- package/dist/ShareAnonymous-pQ3mQvLm.mjs.map +1 -0
- package/dist/ShareAnonymous-txev9DhJ.mjs.map +1 -0
- package/dist/ShareAnonymous-zsnMmf5X.mjs.map +1 -0
- package/dist/ShareModalPlayer-0oZDQ9-i.mjs.map +1 -0
- package/dist/ShareModalPlayer-BYYyqQ1Y.mjs +87 -0
- package/dist/ShareModalPlayer-C7T2tNZW.mjs.map +1 -0
- package/dist/ShareModalPlayer-CJNmeL-j.mjs.map +1 -0
- package/dist/ShareModalPlayer-COcq6sUP.mjs.map +1 -0
- package/dist/ShareModalPlayer-CSHXgDw0.mjs.map +1 -0
- package/dist/ShareModalPlayer-ClOYP5eE.mjs.map +1 -0
- package/dist/ShareModalPlayer-Cn9s8KX2.mjs.map +1 -0
- package/dist/ShareModalPlayer-RKa_aCIX.mjs.map +1 -0
- package/dist/ShareModalPlayer-Rpa7hr2U.mjs.map +1 -0
- package/dist/ShareNewsletter-3TstZexP.mjs.map +1 -0
- package/dist/ShareNewsletter-BUVLaOHp.mjs.map +1 -0
- package/dist/ShareNewsletter-BjXw1x8-.mjs.map +1 -0
- package/dist/ShareNewsletter-C165l7-1.mjs +143 -0
- package/dist/ShareNewsletter-CglYJh3L.mjs.map +1 -0
- package/dist/ShareNewsletter-D70L3oja.mjs.map +1 -0
- package/dist/ShareNewsletter-DRImOf3N.mjs.map +1 -0
- package/dist/ShareNewsletter-UmFilVqn.mjs.map +1 -0
- package/dist/ShareNewsletter-gwQq2i4n.mjs.map +1 -0
- package/dist/ShareNewsletter-mLZptPZD.mjs.map +1 -0
- package/dist/SharePlayer-B1KmHGBF.mjs.map +1 -0
- package/dist/SharePlayer-BTPZBu9I.mjs.map +1 -0
- package/dist/SharePlayer-BcshyaYH.mjs +206 -0
- package/dist/SharePlayer-CDrh10ke.mjs.map +1 -0
- package/dist/SharePlayer-CLuOIB0F.mjs.map +1 -0
- package/dist/SharePlayer-CR8xlOb4.mjs.map +1 -0
- package/dist/SharePlayer-D0MqewPl.mjs.map +1 -0
- package/dist/SharePlayer-DV8p2Pmm.mjs.map +1 -0
- package/dist/SharePlayer-DWm5Wc3W.mjs.map +1 -0
- package/dist/SharePlayer-Db19rje9.mjs.map +1 -0
- package/dist/SharePlayer-DcrUrzvY.mjs.map +1 -0
- package/dist/SharePlayer-DfrAAHyU.mjs.map +1 -0
- package/dist/SharePlayer-hrbyDv0Q.mjs.map +1 -0
- package/dist/SharePlayerRadio-B-YaLYsV.mjs.map +1 -0
- package/dist/SharePlayerRadio-BFfUTb0p.mjs.map +1 -0
- package/dist/SharePlayerRadio-C3adIrZn.mjs.map +1 -0
- package/dist/SharePlayerRadio-CBcwoceT.mjs.map +1 -0
- package/dist/SharePlayerRadio-CF0e6SWf.mjs.map +1 -0
- package/dist/SharePlayerRadio-ChXQcJBT.mjs.map +1 -0
- package/dist/SharePlayerRadio-CnZehT0E.mjs.map +1 -0
- package/dist/SharePlayerRadio-CrL8_z5g.mjs.map +1 -0
- package/dist/SharePlayerRadio-CuH1ANN1.mjs +66 -0
- package/dist/SharePlayerRadio-DAPCZoQE.mjs.map +1 -0
- package/dist/SharePlayerRadio-DBfEQ_W0.mjs.map +1 -0
- package/dist/SharePlayerRadio-DtAZfNjy.mjs.map +1 -0
- package/dist/SharePlayerRadio-lxME-gwH.mjs.map +1 -0
- package/dist/SharePlayerTypes-BJRpHyrI.mjs.map +1 -0
- package/dist/SharePlayerTypes-BdtG9SoY.mjs.map +1 -0
- package/dist/SharePlayerTypes-BwnPYfRj.mjs.map +1 -0
- package/dist/SharePlayerTypes-CAv04BdX.mjs.map +1 -0
- package/dist/SharePlayerTypes-CV3xzWuq.mjs.map +1 -0
- package/dist/SharePlayerTypes-DZlUVINP.mjs.map +1 -0
- package/dist/SharePlayerTypes-RaKpiBVU.mjs.map +1 -0
- package/dist/SharePlayerTypes-SibE3kVe.mjs.map +1 -0
- package/dist/SharePlayerTypes-TwE_gAdV.mjs.map +1 -0
- package/dist/SharePlayerTypes-_ft5TMPx.mjs +150 -0
- package/dist/ShareSocialsButtons-B78FdEA6.mjs.map +1 -0
- package/dist/ShareSocialsButtons-B9kwxeRx.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BDSp08JO.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BHUawuGi.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BKKtiu_A.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BNqYC4hg.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BSnmJVmI.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BXgdER1A.mjs.map +1 -0
- package/dist/ShareSocialsButtons-Biv4_eia.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BkHeV7AL.mjs.map +1 -0
- package/dist/ShareSocialsButtons-BlxDZnZW.mjs.map +1 -0
- package/dist/ShareSocialsButtons-By5-nPFD.mjs.map +1 -0
- package/dist/ShareSocialsButtons-C2z1iq6w.mjs.map +1 -0
- package/dist/ShareSocialsButtons-CeRJLzlb.mjs.map +1 -0
- package/dist/ShareSocialsButtons-CoirktbM.mjs.map +1 -0
- package/dist/ShareSocialsButtons-D1Cj9Its.mjs.map +1 -0
- package/dist/ShareSocialsButtons-DGYRHW19.mjs.map +1 -0
- package/dist/ShareSocialsButtons-DUpF50bz.mjs +102 -0
- package/dist/ShareSocialsButtons-Daj5b6sd.mjs.map +1 -0
- package/dist/ShareSocialsButtons-DfKKCvsC.mjs.map +1 -0
- package/dist/ShareSocialsButtons-GXdO82Ah.mjs.map +1 -0
- package/dist/ShareSocialsButtons-L_z96cpz.mjs.map +1 -0
- package/dist/ShareSocialsButtons-mFtanqt3.mjs.map +1 -0
- package/dist/SimpleLayout-BYU5sEaY.mjs.map +1 -0
- package/dist/SimpleLayout-BZ83Pbhi.mjs.map +1 -0
- package/dist/SimpleLayout-BvTwqtJX.mjs.map +1 -0
- package/dist/SimpleLayout-CMavuCid.mjs.map +1 -0
- package/dist/SimpleLayout-CN3jfaFi.mjs.map +1 -0
- package/dist/SimpleLayout-DSsg1nv2.mjs.map +1 -0
- package/dist/SimpleLayout-DimOOrj7.mjs.map +1 -0
- package/dist/SimpleLayout-Dp2FbdxH.mjs +22 -0
- package/dist/SimpleLayout-W6ZQlC3r.mjs.map +1 -0
- package/dist/SimpleLayout-t-XjrkyZ.mjs.map +1 -0
- package/dist/SmartLinkPage-BPTBYJyk.mjs.map +1 -0
- package/dist/SmartLinkPage-BeXLa3ZA.mjs.map +1 -0
- package/dist/SmartLinkPage-BjKFxkhG.mjs.map +1 -0
- package/dist/SmartLinkPage-CHj66EF3.mjs.map +1 -0
- package/dist/SmartLinkPage-CUiyF-AY.mjs.map +1 -0
- package/dist/SmartLinkPage-CWPY0Fqy.mjs.map +1 -0
- package/dist/SmartLinkPage-D3rPCOpJ.mjs.map +1 -0
- package/dist/SmartLinkPage-D8gOMDlU.mjs +135 -0
- package/dist/SmartLinkPage-Fx3Xptlv.mjs.map +1 -0
- package/dist/SmartLinkPage-aPuiOzKM.mjs.map +1 -0
- package/dist/SmartLinkPage-pTzSab1y.mjs.map +1 -0
- package/dist/SubscribeButtons-BYUccynm.mjs +127 -0
- package/dist/SubscribeButtons-BdX4W0zu.mjs.map +1 -0
- package/dist/SubscribeButtons-BgwpP7n-.mjs.map +1 -0
- package/dist/SubscribeButtons-CZ-46X7U.mjs.map +1 -0
- package/dist/SubscribeButtons-C_8BX2zx.mjs.map +1 -0
- package/dist/SubscribeButtons-CdbI8jmP.mjs.map +1 -0
- package/dist/SubscribeButtons-D4KOB_D-.mjs.map +1 -0
- package/dist/SubscribeButtons-DhOOYdXq.mjs.map +1 -0
- package/dist/SubscribeButtons-DxBdna48.mjs.map +1 -0
- package/dist/SubscribeButtons-WBMSgWas.mjs.map +1 -0
- package/dist/SubscribeButtons-satWrWZg.mjs.map +1 -0
- package/dist/SwiperList-B6BV4rod.mjs.map +1 -0
- package/dist/SwiperList-BBO_7q8D.mjs.map +1 -0
- package/dist/SwiperList-BS6mJJx8.mjs.map +1 -0
- package/dist/SwiperList-Bh4WC87k.mjs.map +1 -0
- package/dist/SwiperList-Ci2YVqSr.mjs.map +1 -0
- package/dist/SwiperList-CiiL9gCG.mjs.map +1 -0
- package/dist/SwiperList-D4dAT6cy.mjs.map +1 -0
- package/dist/SwiperList-DPYii0Dq.mjs.map +1 -0
- package/dist/SwiperList-DSYuvP0u.mjs +125 -0
- package/dist/SwiperList-HT2PYLK8.mjs.map +1 -0
- package/dist/TagList-B4HLDGIJ.mjs.map +1 -0
- package/dist/TagList-Bgkde8XP.mjs.map +1 -0
- package/dist/TagList-BjLnj7vD.mjs.map +1 -0
- package/dist/TagList-CM6y8qHC.mjs.map +1 -0
- package/dist/TagList-CYHBb-OA.mjs +80 -0
- package/dist/TagList-CbWFRxp1.mjs.map +1 -0
- package/dist/TagList-DA-qaYW8.mjs.map +1 -0
- package/dist/TagList-DsOSxTOm.mjs.map +1 -0
- package/dist/TagList-f4f2Vf1m.mjs.map +1 -0
- package/dist/TagList-sg_9kfOy.mjs.map +1 -0
- package/dist/TagPage-5cX7o97p.mjs.map +1 -0
- package/dist/TagPage-B6TA7VW-.mjs.map +1 -0
- package/dist/TagPage-B7Vqo2us.mjs.map +1 -0
- package/dist/TagPage-BeNx7hEt.mjs.map +1 -0
- package/dist/TagPage-BjRY58Am.mjs.map +1 -0
- package/dist/TagPage-BvjlxtT8.mjs.map +1 -0
- package/dist/TagPage-CAPv9Gwc.mjs +79 -0
- package/dist/TagPage-Cm8p-oDn.mjs.map +1 -0
- package/dist/TagPage-D935kD4A.mjs.map +1 -0
- package/dist/TagPage-DsqW2V1o.mjs.map +1 -0
- package/dist/TagPage-L8Cu9xMi.mjs.map +1 -0
- package/dist/TagPage-NJxYoB8Q.mjs.map +1 -0
- package/dist/TagPage-OmgLtKjw.mjs.map +1 -0
- package/dist/TagPage-xIxO2yh7.mjs.map +1 -0
- package/dist/TagPage-xXv5BM_A.mjs.map +1 -0
- package/dist/ThreadsIcon-BMBjq53B.mjs.map +1 -0
- package/dist/TopBar-2JkYuX4F.mjs.map +1 -0
- package/dist/TopBar-B0MXWUmr.mjs.map +1 -0
- package/dist/TopBar-BsDkNyrM.mjs +427 -0
- package/dist/TopBar-C1QKNBda.mjs.map +1 -0
- package/dist/TopBar-CdU5gpS3.mjs.map +1 -0
- package/dist/TopBar-Cqx9mwQy.mjs.map +1 -0
- package/dist/TopBar-CtQdghu9.mjs.map +1 -0
- package/dist/TopBar-DQjz0xcm.mjs.map +1 -0
- package/dist/TopBar-DW3GGgwr.mjs.map +1 -0
- package/dist/TopBar-JUkfZaAO.mjs.map +1 -0
- package/dist/TopBar-KAC1DLCP.mjs.map +1 -0
- package/dist/UserButtonContent-BKAKDs4X.mjs.map +1 -0
- package/dist/UserButtonContent-BQr6jcEO.mjs.map +1 -0
- package/dist/UserButtonContent-CCNFJqrY.mjs +132 -0
- package/dist/UserButtonContent-CKWGQ7eG.mjs.map +1 -0
- package/dist/UserButtonContent-CMe7Ejg5.mjs.map +1 -0
- package/dist/UserButtonContent-CVbcHK2n.mjs.map +1 -0
- package/dist/UserButtonContent-Cw_0qpq3.mjs.map +1 -0
- package/dist/UserButtonContent-DW_cS8UV.mjs.map +1 -0
- package/dist/UserButtonContent-DhSBYxdU.mjs.map +1 -0
- package/dist/UserButtonContent-FXfFJDqu.mjs.map +1 -0
- package/dist/VideoModuleBox--3aBC8sO.mjs.map +1 -0
- package/dist/VideoModuleBox-B6w-6E1L.mjs.map +1 -0
- package/dist/VideoModuleBox-B9IzBS1t.mjs.map +1 -0
- package/dist/VideoModuleBox-BfQ-4vWB.mjs.map +1 -0
- package/dist/VideoModuleBox-CBMt0gVx.mjs.map +1 -0
- package/dist/VideoModuleBox-CUmPSx1u.mjs +58 -0
- package/dist/VideoModuleBox-CrMCg6F6.mjs.map +1 -0
- package/dist/VideoModuleBox-CuwhDsKn.mjs.map +1 -0
- package/dist/VideoModuleBox-DJihfyIS.mjs.map +1 -0
- package/dist/VideoModuleBox-JDdMAigN.mjs.map +1 -0
- package/dist/VideoPage-BHHu-8DC.mjs.map +1 -0
- package/dist/VideoPage-BeXhheus.mjs.map +1 -0
- package/dist/VideoPage-BkfcGcra.mjs.map +1 -0
- package/dist/VideoPage-CpfuXI0b.mjs.map +1 -0
- package/dist/VideoPage-DPqaCorC.mjs.map +1 -0
- package/dist/VideoPage-Db6DrBWD.mjs.map +1 -0
- package/dist/VideoPage-DuZgPpm2.mjs.map +1 -0
- package/dist/VideoPage-VYujXBp_.mjs +148 -0
- package/dist/VideoPage-fDqkJ8Rv.mjs.map +1 -0
- package/dist/VideoPage-loGy6zAG.mjs.map +1 -0
- package/dist/buttons-BVNVEUcL.mjs.map +1 -0
- package/dist/buttons-CQZakZm0.mjs.map +1 -0
- package/dist/classicApi-BMl6bekP.mjs.map +1 -0
- package/dist/classicApi-C2dof2fd.mjs.map +1 -0
- package/dist/classicApi-CDCrruGS.mjs.map +1 -0
- package/dist/classicApi-CYildj_s.mjs.map +1 -0
- package/dist/classicApi-D6DkFIQk.mjs.map +1 -0
- package/dist/classicApi-DZ5AtS45.mjs +1284 -0
- package/dist/classicApi-DZIYOhuL.mjs.map +1 -0
- package/dist/classicApi-Dxqqu8mb.mjs.map +1 -0
- package/dist/classicApi-DyprneC2.mjs.map +1 -0
- package/dist/classicApi-fr76XZvQ.mjs.map +1 -0
- package/dist/downloadHelper-B4ICnQJ4.mjs.map +1 -0
- package/dist/downloadHelper-C09P0FK0.mjs.map +1 -0
- package/dist/downloadHelper-CK5abNHS.mjs.map +1 -0
- package/dist/downloadHelper-CX6WBSXv.mjs.map +1 -0
- package/dist/downloadHelper-D0jZVP-v.mjs.map +1 -0
- package/dist/downloadHelper-D1joBnmQ.mjs.map +1 -0
- package/dist/downloadHelper-D7hExM6c.mjs.map +1 -0
- package/dist/downloadHelper-DSOsSv1V.mjs.map +1 -0
- package/dist/downloadHelper-DUmT4MfQ.mjs +35 -0
- package/dist/downloadHelper-L3YQCP-r.mjs.map +1 -0
- package/dist/downloadHelper-LOeab7dC.mjs.map +1 -0
- package/dist/downloadHelper-bntvy0MN.mjs.map +1 -0
- package/dist/index.mjs +213 -215
- package/dist/index.mjs.map +1 -1
- package/dist/messages-B5KCIJot.mjs.map +1 -0
- package/dist/messages-Bt25me93.mjs.map +1 -0
- package/dist/messages-C3cI4YuV.mjs.map +1 -0
- package/dist/messages-COzoCZbe.mjs.map +1 -0
- package/dist/messages-DkPKqASy.mjs +2821 -0
- package/dist/messages-HRMnFDx0.mjs.map +1 -0
- package/dist/src/components/buttons/ClassicButton.vue.d.ts +5 -3
- package/dist/src/components/display/RightsWrapper.vue.d.ts +8 -6
- package/dist/src/components/display/categories/CategoryChooser.vue.d.ts +1 -1
- package/dist/src/components/display/comments/modal/RecaptchaModal.vue.d.ts +9 -3
- package/dist/src/components/display/list/ListPaginate.vue.d.ts +5 -3
- package/dist/src/components/display/list/SwiperList.vue.d.ts +16 -11
- package/dist/src/components/display/podcasts/PodcastInlineListTemplate.vue.d.ts +5 -3
- package/dist/src/components/display/podcasts/PodcastModuleBox.vue.d.ts +40 -20
- package/dist/src/components/display/rubriques/RubriqueChooser.vue.d.ts +1 -1
- package/dist/src/components/display/sharing/ShareSocialsButtons.vue.d.ts +5 -3
- package/dist/src/components/form/ClassicCheckbox.vue.d.ts +5 -3
- package/dist/src/components/form/ClassicColorPicker.vue.d.ts +1 -1
- package/dist/src/components/form/ClassicDatePicker.vue.d.ts +1 -1
- package/dist/src/components/form/ClassicInputText.vue.d.ts +17 -10
- package/dist/src/components/form/ClassicRadioLabel.vue.d.ts +10 -8
- package/dist/src/components/form/ClassicSelect.vue.d.ts +9 -7
- package/dist/src/components/icons/ThreadsIcon.vue.d.ts +1 -1
- package/dist/src/components/icons/TikTokIcon.vue.d.ts +1 -1
- package/dist/src/components/layouts/PresentationItem.vue.d.ts +10 -3
- package/dist/src/components/misc/ClassicAccordion.vue.d.ts +9 -7
- package/dist/src/components/misc/ClassicAlert.vue.d.ts +7 -5
- package/dist/src/components/misc/ClassicHelpButton.vue.d.ts +5 -3
- package/dist/src/components/misc/ClassicLazy.vue.d.ts +7 -5
- package/dist/src/components/misc/ClassicNav.vue.d.ts +9 -7
- package/dist/src/components/misc/ClassicPopover.vue.d.ts +8 -3
- package/dist/src/components/misc/ClassicTabs.vue.d.ts +5 -3
- package/dist/src/components/misc/ErrorMessage.vue.d.ts +5 -3
- package/dist/src/components/misc/ExternalLink.vue.d.ts +5 -3
- package/dist/src/components/misc/LoadingOverlay.vue.d.ts +1 -1
- package/dist/src/components/misc/modal/ClassicModal.vue.d.ts +12 -7
- package/dist/src/components/misc/modal/ClassicModalInBody.vue.d.ts +7 -5
- package/dist/src/components/misc/player/PlayerComponent.vue.d.ts +5 -3
- package/dist/src/components/pages/EmissionPage.vue.d.ts +12 -10
- package/dist/src/components/pages/EmissionsPage.vue.d.ts +5 -3
- package/dist/src/components/pages/ParticipantPage.vue.d.ts +8 -6
- package/dist/src/components/pages/PlaylistPage.vue.d.ts +11 -9
- package/dist/src/components/pages/RadioPage.vue.d.ts +7 -5
- package/dist/src/helper/downloadHelper.d.ts +14 -1
- package/dist/src/helper/logoutHelper.d.ts +9 -0
- package/dist/src/layouts/SimpleLayout.vue.d.ts +5 -3
- package/dist/src/locale/messages.d.ts +6 -0
- package/dist/tests.mjs +2 -2
- package/dist/tests.mjs.map +1 -1
- package/dist/useAdvancedParamInit-2q7_er-1.mjs.map +1 -0
- package/dist/useAdvancedParamInit-BRNU6Pi6.mjs.map +1 -0
- package/dist/useAdvancedParamInit-BhajCEWv.mjs.map +1 -0
- package/dist/useAdvancedParamInit-BvMjdPVL.mjs.map +1 -0
- package/dist/useAdvancedParamInit-CGRaISvT.mjs.map +1 -0
- package/dist/useAdvancedParamInit-CGZjWdc7.mjs.map +1 -0
- package/dist/useAdvancedParamInit-CeDmSJVu.mjs.map +1 -0
- package/dist/useAdvancedParamInit-CnsHxRKl.mjs +114 -0
- package/dist/useAdvancedParamInit-CocyIhwu.mjs.map +1 -0
- package/dist/useAdvancedParamInit-Cv7UfLHY.mjs.map +1 -0
- package/dist/useDayjs-BUn_SrF6.mjs +28 -0
- package/dist/useDayjs-BWKLX3hl.mjs.map +1 -0
- package/dist/useDayjs-BisQ21wY.mjs.map +1 -0
- package/dist/useDayjs-C-ZNhdT_.mjs.map +1 -0
- package/dist/useDayjs-CT7XUFys.mjs.map +1 -0
- package/dist/useDayjs-CVJ_wk-w.mjs.map +1 -0
- package/dist/useDayjs-CdDghwFI.mjs.map +1 -0
- package/dist/useDayjs-CqQLc_5k.mjs.map +1 -0
- package/dist/useDayjs-DCtrk3Cg.mjs.map +1 -0
- package/dist/useDayjs-DWjk_FtY.mjs.map +1 -0
- package/dist/useErrorHandler-2wXKRph6.mjs.map +1 -0
- package/dist/useErrorHandler-BkEjN4ja.mjs.map +1 -0
- package/dist/useErrorHandler-Ct0PiO5s.mjs +12 -0
- package/dist/useErrorHandler-DEnRuKQW.mjs.map +1 -0
- package/dist/useErrorHandler-DXCxpIPx.mjs.map +1 -0
- package/dist/useErrorHandler-DiryKI1U.mjs.map +1 -0
- package/dist/useErrorHandler-DnPoeQ6V.mjs.map +1 -0
- package/dist/useErrorHandler-Dvlp86O3.mjs.map +1 -0
- package/dist/useErrorHandler-XPOQA5-q.mjs.map +1 -0
- package/dist/useErrorHandler-xjnifcPm.mjs.map +1 -0
- package/dist/useImageProxy-BebCIODd.mjs.map +1 -0
- package/dist/useImageProxy-C1mO9wPl.mjs.map +1 -0
- package/dist/useImageProxy-CGVKeq7Q.mjs.map +1 -0
- package/dist/useImageProxy-COibhsGS.mjs.map +1 -0
- package/dist/useImageProxy-DZlCCBgJ.mjs.map +1 -0
- package/dist/useImageProxy-D_6Csg4Z.mjs.map +1 -0
- package/dist/useImageProxy-DlBUnbs9.mjs.map +1 -0
- package/dist/useImageProxy-Dv0dfkYk.mjs.map +1 -0
- package/dist/useImageProxy-I28TAdHH.mjs +16 -0
- package/dist/useImageProxy-lqbKyBp5.mjs.map +1 -0
- package/dist/useOrgaComputed-BGdzWYHR.mjs.map +1 -0
- package/dist/useOrgaComputed-BOzOi44B.mjs.map +1 -0
- package/dist/useOrgaComputed-CZYTEQGZ.mjs.map +1 -0
- package/dist/useOrgaComputed-CwWetn7A.mjs.map +1 -0
- package/dist/useOrgaComputed-DX5KmOWj.mjs.map +1 -0
- package/dist/useOrgaComputed-DbiuBNQi.mjs.map +1 -0
- package/dist/useOrgaComputed-Dmiv_is_.mjs.map +1 -0
- package/dist/useOrgaComputed-DzI6rQql.mjs.map +1 -0
- package/dist/useOrgaComputed-P7A1RLc1.mjs +16 -0
- package/dist/useOrgaComputed-e0zzsiZU.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-BiDyQYNB.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-C7mYxt_K.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-CAruoDgn.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-CCmXMshE.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-CD7qZeic.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-CLq7lSGC.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-Ciw0vzZP.mjs +70 -0
- package/dist/usePlayerLogicProgress-CqnMd2j_.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-DH5I9nN-.mjs.map +1 -0
- package/dist/usePlayerLogicProgress-DXlWGvI-.mjs.map +1 -0
- package/dist/usePodcastView-BEyhz7UZ.mjs.map +1 -0
- package/dist/usePodcastView-BzPOVpgR.mjs.map +1 -0
- package/dist/usePodcastView-C6koAzWb.mjs.map +1 -0
- package/dist/usePodcastView-CPyl_833.mjs.map +1 -0
- package/dist/usePodcastView-Cga6l6i0.mjs.map +1 -0
- package/dist/usePodcastView-CtU3kq19.mjs.map +1 -0
- package/dist/usePodcastView-SPPbD8FU.mjs.map +1 -0
- package/dist/usePodcastView-UBTnkOKl.mjs.map +1 -0
- package/dist/usePodcastView-hUiX7TIG.mjs.map +1 -0
- package/dist/usePodcastView-sn2ZbmHk.mjs +31 -0
- package/dist/usePresentationItem-BdVaTiid.mjs.map +1 -0
- package/dist/usePresentationItem-BhEwBvbf.mjs.map +1 -0
- package/dist/usePresentationItem-Bqn7dC9y.mjs.map +1 -0
- package/dist/usePresentationItem-BwfkzHXJ.mjs.map +1 -0
- package/dist/usePresentationItem-CjrTdj1U.mjs.map +1 -0
- package/dist/usePresentationItem-DZtwdrgh.mjs +103 -0
- package/dist/usePresentationItem-DnXMuZLW.mjs.map +1 -0
- package/dist/usePresentationItem-UUBV_vFl.mjs.map +1 -0
- package/dist/usePresentationItem-Zcmaf6pL.mjs.map +1 -0
- package/dist/usePresentationItem-fkFOWUU7.mjs.map +1 -0
- package/dist/useRights-3EXtxNtb.mjs.map +1 -0
- package/dist/useRights-BI3rGW_b.mjs.map +1 -0
- package/dist/useRights-Btnko4Or.mjs.map +1 -0
- package/dist/useRights-C-4jLGK4.mjs.map +1 -0
- package/dist/useRights-Cgq8Svof.mjs.map +1 -0
- package/dist/useRights-DAxddyLj.mjs.map +1 -0
- package/dist/useRights-D_YZ8kGb.mjs +221 -0
- package/dist/useRights-DcZ5I3OS.mjs.map +1 -0
- package/dist/useRights-DiEaZS0r.mjs.map +1 -0
- package/dist/useRights-eqkyf_Aq.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-B4iIg9J7.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-BNlgm1J7.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-BmDvpFgh.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-BnVBYyHJ.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-Cc1in0eH.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-CfZsiVbI.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-CxDUcXc8.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-DWFPAtX3.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-kFNnBI_k.mjs.map +1 -0
- package/dist/useRubriquesFilterComputed-ro3Yz2jL.mjs +11 -0
- package/dist/useRubriquesFilterParam-1uY-YJPh.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-Bm3P8ANi.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-BpvXmtVm.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-BsCJZ1_g.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-C0Ajag4C.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-CQsyYOX1.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-CdjQNAod.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-DZV2QNlK.mjs +32 -0
- package/dist/useRubriquesFilterParam-DxC8DKWP.mjs.map +1 -0
- package/dist/useRubriquesFilterParam-Ok1ArkIC.mjs.map +1 -0
- package/dist/useSharePlatforms-B2kMti9q.mjs.map +1 -0
- package/dist/useSharePlatforms-B2lgKg4P.mjs.map +1 -0
- package/dist/useSharePlatforms-Bj9femgX.mjs.map +1 -0
- package/dist/useSharePlatforms-BrHF7JKj.mjs +322 -0
- package/dist/useSharePlatforms-CFce5UCp.mjs.map +1 -0
- package/dist/useSharePlatforms-CGqa9-Y6.mjs.map +1 -0
- package/dist/useSharePlatforms-CNSuf47L.mjs.map +1 -0
- package/dist/useSharePlatforms-D6XKHHYc.mjs.map +1 -0
- package/dist/useSharePlatforms-DM9Ia7dL.mjs.map +1 -0
- package/dist/useSharePlatforms-DdRxDOqu.mjs.map +1 -0
- package/dist/useSharePlatforms-DzNlAiRA.mjs.map +1 -0
- package/dist/useSimplePageParam-BJ4XVw0i.mjs.map +1 -0
- package/dist/useSimplePageParam-BqVVj3iA.mjs.map +1 -0
- package/dist/useSimplePageParam-C-RwyIhY.mjs.map +1 -0
- package/dist/useSimplePageParam-CLeNCXai.mjs +39 -0
- package/dist/useSimplePageParam-C_GGVz5o.mjs.map +1 -0
- package/dist/useSimplePageParam-CnJbos_P.mjs.map +1 -0
- package/dist/useSimplePageParam-DanUrBPT.mjs.map +1 -0
- package/dist/useSimplePageParam-DyZTr1Oj.mjs.map +1 -0
- package/dist/useSimplePageParam-gBLhn3ZT.mjs.map +1 -0
- package/dist/useSimplePageParam-wc7TMDle.mjs.map +1 -0
- package/dist/useTranslation-8XrzS7HZ.mjs.map +1 -0
- package/dist/useTranslation-BB3fc53n.mjs.map +1 -0
- package/dist/useTranslation-CBD4xaqu.mjs +160 -0
- package/dist/useTranslation-CIiaM23s.mjs.map +1 -0
- package/dist/useTranslation-CPbVDg2g.mjs.map +1 -0
- package/dist/useTranslation-Ce16Fqft.mjs.map +1 -0
- package/dist/useTranslation-CtxNOGE0.mjs.map +1 -0
- package/dist/useTranslation-Czbz0gPR.mjs.map +1 -0
- package/dist/useTranslation-Dq3lk-gB.mjs.map +1 -0
- package/dist/useTranslation-DxDFWuQm.mjs.map +1 -0
- package/dist/usefetchRadioData-BoasEX0l.mjs.map +1 -0
- package/dist/usefetchRadioData-Bw-l4d4C.mjs.map +1 -0
- package/dist/usefetchRadioData-BxIjbTrP.mjs.map +1 -0
- package/dist/usefetchRadioData-C8pc6QzV.mjs.map +1 -0
- package/dist/usefetchRadioData-CmSpXpU-.mjs.map +1 -0
- package/dist/usefetchRadioData-D8a6km1s.mjs.map +1 -0
- package/dist/usefetchRadioData-D9HNYq5T.mjs +48 -0
- package/dist/usefetchRadioData-DK7eUiR1.mjs.map +1 -0
- package/dist/usefetchRadioData-Dfpzh-TS.mjs.map +1 -0
- package/dist/usefetchRadioData-FKR6Q8DN.mjs.map +1 -0
- package/package.json +1 -1
- package/src/components/display/podcasts/DownloadPodcastButton.vue +30 -15
- package/src/components/misc/UserButtonContent.vue +8 -3
- package/src/components/pages/Error403Page.vue +40 -31
- package/src/helper/downloadHelper.ts +72 -37
- package/src/helper/fetchHelper.ts +2 -1
- package/src/helper/logoutHelper.ts +15 -0
- package/src/locale/de.json +2 -1
- package/src/locale/en.json +2 -1
- package/src/locale/es.json +2 -1
- package/src/locale/fr.json +1 -0
- package/src/locale/it.json +2 -1
- package/src/locale/sl.json +2 -1
- package/src/router/utils.ts +4 -3
- package/tests/components/display/podcasts/DownloadPodcastButton.spec.ts +51 -0
- package/tests/components/misc/UserButtonContent.spec.ts +58 -0
- package/tests/helper/downloadHelper.spec.ts +88 -0
- package/tests/helper/logoutHelper.spec.ts +20 -0
- package/dist/AdvancedSearch-CdFaVyQU.mjs +0 -267
- package/dist/CategoryFilter-CC23TlSf.mjs +0 -143
- package/dist/CategoryList-OaeKguDi.mjs +0 -107
- package/dist/CategoryPage-DAjfZ90w.mjs +0 -28
- package/dist/ChapteringModal-H_Qrw3sq.mjs +0 -46
- package/dist/CheckIdentityModal-kKb6Wfqb.mjs +0 -51
- package/dist/ClassicDatePicker-Dvig1zd1.mjs +0 -186
- package/dist/ClassicNotifications-BCe0M7Wq.mjs +0 -25
- package/dist/ClipboardModal-BsnjTrB0.mjs +0 -56
- package/dist/CommentInput-DDmhdnNX.mjs +0 -112
- package/dist/CommentItem-DkkUInqh.mjs +0 -233
- package/dist/CommentList-B9x7BfzB.mjs +0 -201
- package/dist/CommentMoreActions-D-g6MIQ7.mjs +0 -196
- package/dist/CommentName-DeE0vcEs.mjs +0 -56
- package/dist/CommentParentInfo-wuCyrUZ-.mjs +0 -36
- package/dist/CommentPlayer-BleVOSAV.mjs +0 -47
- package/dist/CommentSection-owTeFkDb.mjs +0 -119
- package/dist/CommentStore-tNJ--Jke.mjs +0 -264
- package/dist/ContractPreviewModal-DBnJAW_8.mjs +0 -53
- package/dist/DateFilter-CRfZtR1M.mjs +0 -79
- package/dist/DownloadPodcastButton-CvtNhXW3.mjs +0 -30
- package/dist/EditCommentModal-B8U7Z6aQ.mjs +0 -115
- package/dist/EmissionGroupChooser-DH1ye6Q0.mjs +0 -45
- package/dist/EmissionInlineList-Bzv7815l.mjs +0 -114
- package/dist/EmissionItem-CeuK2Vav.mjs +0 -118
- package/dist/EmissionList-Drii9Sno.mjs +0 -229
- package/dist/EmissionPage-D2nxikTh.mjs +0 -191
- package/dist/EmissionPlayerItem-CRhO9QfX.mjs +0 -119
- package/dist/EmissionPresentationItem-CcBgEyC1.mjs +0 -41
- package/dist/EmissionPresentationList-CraODbFv.mjs +0 -92
- package/dist/EmissionsPage-ZIbhB3vC.mjs +0 -117
- package/dist/Error403Page-ClHnrwUL.mjs +0 -40
- package/dist/FooterGarSection-dUoTg5Nl.mjs +0 -39
- package/dist/FooterSection-COqIEsA3.mjs +0 -149
- package/dist/HomeDropdown-DRL5FpYe.mjs +0 -66
- package/dist/HomePage-gKCMPAKg.mjs +0 -112
- package/dist/InlineRubriqueList-HjGXh-5J.mjs +0 -48
- package/dist/LikeSection-DnJiu9FI.mjs +0 -91
- package/dist/ListPaginate-BBsp04im.mjs +0 -163
- package/dist/LiveHorizontalList-BNC-4llH.mjs +0 -77
- package/dist/LiveList-CVHofKkc.mjs +0 -204
- package/dist/LivesPage-BWLN-waA.mjs +0 -40
- package/dist/MapPage-DwcFieQ7.mjs +0 -240
- package/dist/MobileMenu-B0Ey69L3.mjs +0 -136
- package/dist/NewsletterModal-CqLFxevp.mjs +0 -53
- package/dist/OrganisationChooser-T1FOLln6.mjs +0 -134
- package/dist/OrganisationChooserLight-DjA_5g0t.mjs +0 -48
- package/dist/PageNotFound-CBNf8FC3.mjs +0 -37
- package/dist/ParticipantInlineList-Pz1VQuX8.mjs +0 -84
- package/dist/ParticipantItem-B02FY65J.mjs +0 -93
- package/dist/ParticipantPage-DxHqrqpo.mjs +0 -127
- package/dist/ParticipantsPage-3u5-F9kM.mjs +0 -168
- package/dist/PlayerAnonymousModal-BVlHrIpC.mjs +0 -61
- package/dist/PlayerCompact-DNXlefrY.mjs +0 -128
- package/dist/PlayerComponent-ChG3QXxL.mjs +0 -577
- package/dist/PlayerLarge-DDxCjrj1.mjs +0 -128
- package/dist/PlayerPlayButton-ChTXoMt2.mjs +0 -231
- package/dist/PlayerProgressBar-B0o_hlkF.mjs +0 -67
- package/dist/PlayerStore-BR1-EK21.mjs +0 -167
- package/dist/PlayerVideo-DYDUTGEC.mjs +0 -35
- package/dist/PlayerVideoDigiteka-CeldjVwm.mjs +0 -62
- package/dist/PlayerVideoHls-BG0ymgyS.mjs +0 -129
- package/dist/PlaylistPage-CbcoMdZG.mjs +0 -131
- package/dist/PlaylistsPage-Bp8m1uTn.mjs +0 -256
- package/dist/PodcastFilterList-kTVzMMW0.mjs +0 -139
- package/dist/PodcastImage-Dl-1e_X6.mjs +0 -121
- package/dist/PodcastInlineList-BHzFNbM-.mjs +0 -129
- package/dist/PodcastInlineListTemplate-Ccup2j98.mjs +0 -188
- package/dist/PodcastIsPlaying-DAxV_arA.mjs +0 -17
- package/dist/PodcastItem-BUd1C82b.mjs +0 -171
- package/dist/PodcastList-8opKiEPc.mjs +0 -186
- package/dist/PodcastList-BI2fcMjX.mjs +0 -113
- package/dist/PodcastPage-BzMa0nhX.mjs +0 -434
- package/dist/PodcastPlayBar-CEpm6auL.mjs +0 -39
- package/dist/PodcastPlayBasicButton-DUx5aZ51.mjs +0 -44
- package/dist/PodcastPlayButton-BdeDJxMX.mjs +0 -118
- package/dist/PodcastPlaylistInlineList-y40QTJwp.mjs +0 -63
- package/dist/PodcastPresentationList-BkKxa5mn.mjs +0 -132
- package/dist/PodcastProgressBar-Fo9LRZ6_.mjs +0 -66
- package/dist/PodcastRawTranscript-BEellLtb.mjs +0 -102
- package/dist/PodcastSwiperList-xG1KDIc2.mjs +0 -175
- package/dist/PodcastmakerHeader-CzgpcxCH.mjs +0 -33
- package/dist/PodcastsPage-D6mllizn.mjs +0 -133
- package/dist/ProductorSearch-C7XuY2l9.mjs +0 -92
- package/dist/ProgressBar-CYlm50wa.mjs +0 -112
- package/dist/QrCode-BG7dEnzh.mjs +0 -109
- package/dist/QrCodeModal-Do1SXfCW.mjs +0 -43
- package/dist/RadioCurrently-DVr1l1_d.mjs +0 -57
- package/dist/RadioHistory-CmtYuR2d.mjs +0 -89
- package/dist/RadioImage-Bo4Km7Or.mjs +0 -46
- package/dist/RadioList-Cb6R08s7.mjs +0 -70
- package/dist/RadioPage-CNRht4Yk.mjs +0 -69
- package/dist/RadioPlanning-BpKuiHz4.mjs +0 -180
- package/dist/RadioProgressBar-DrbU1wZq.mjs +0 -32
- package/dist/RecaptchaModal-CUk5fZYr.mjs +0 -95
- package/dist/ReportAbuseModal-Dws6sNd2.mjs +0 -92
- package/dist/RightsIndicator-DexizdBX.mjs +0 -58
- package/dist/RightsWrapper-Cfp3G6WU.mjs +0 -103
- package/dist/RubriqueFilter-DvFrIvo8.mjs +0 -121
- package/dist/RubriqueList-CCJYLbA5.mjs +0 -117
- package/dist/RubriquePage-DqsBIxsG.mjs +0 -71
- package/dist/SearchPage-Cop-6VL0.mjs +0 -41
- package/dist/ShareAnonymous-MauwWIRt.mjs +0 -199
- package/dist/ShareModalPlayer-DNJL0OzR.mjs +0 -87
- package/dist/ShareNewsletter-Dk8Typot.mjs +0 -143
- package/dist/SharePlayer-BREu6s9O.mjs +0 -206
- package/dist/SharePlayerRadio-DZjv0nQR.mjs +0 -66
- package/dist/SharePlayerTypes-DsyO9eRH.mjs +0 -150
- package/dist/ShareSocialsButtons-C5oX7XvU.mjs +0 -102
- package/dist/SimpleLayout-DsZ4m1-M.mjs +0 -22
- package/dist/SmartLinkPage-BBG_W0_2.mjs +0 -135
- package/dist/SubscribeButtons-CqC49KGk.mjs +0 -127
- package/dist/SwiperList-DK42hAEC.mjs +0 -125
- package/dist/TagList-CeaKLx-v.mjs +0 -80
- package/dist/TagPage-C6RTpe_O.mjs +0 -79
- package/dist/TopBar-C4EoFDud.mjs +0 -427
- package/dist/UserButtonContent-DKaPaZZs.mjs +0 -131
- package/dist/VideoModuleBox-5ITYAgRc.mjs +0 -58
- package/dist/VideoPage-DQMo5I5n.mjs +0 -148
- package/dist/classicApi-D7UanJTr.mjs +0 -1281
- package/dist/downloadHelper-BSPazh1e.mjs +0 -23
- package/dist/messages-CrpaG3J4.mjs +0 -2815
- package/dist/useAdvancedParamInit-BOMN4gcV.mjs +0 -114
- package/dist/useDayjs-B11Wqubr.mjs +0 -28
- package/dist/useErrorHandler-DzG7s8mx.mjs +0 -12
- package/dist/useImageProxy-C5EhcC9v.mjs +0 -16
- package/dist/useOrgaComputed-Be-Rmo9R.mjs +0 -16
- package/dist/usePlayerLogicProgress-Cu3Cc0LW.mjs +0 -70
- package/dist/usePodcastView-FlCwpoTE.mjs +0 -31
- package/dist/usePresentationItem-CqUkmKot.mjs +0 -103
- package/dist/useRights-CnEsXY8J.mjs +0 -221
- package/dist/useRubriquesFilterComputed-ChtVWdGC.mjs +0 -11
- package/dist/useRubriquesFilterParam-DgLZTuqO.mjs +0 -32
- package/dist/useSharePlatforms-DV6iiy32.mjs +0 -322
- package/dist/useSimplePageParam-DjAltQEX.mjs +0 -39
- package/dist/useTranslation-ob5CPoCy.mjs +0 -160
- package/dist/usefetchRadioData-C5iVQg69.mjs +0 -48
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineRubriqueList-_9D-GX64.mjs","names":["_resolveComponent","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_Fragment","_renderList","_createVNode","_withCtx","_createTextVNode","_createCommentVNode","_sfc_main"],"sources":["../src/components/display/rubriques/InlineRubriqueList.vue","../src/components/display/rubriques/InlineRubriqueList.vue"],"sourcesContent":["<template>\n <div\n v-if=\"rubriqueIds.length && init\"\n class=\"rubrique-list-component d-flex align-items-start mb-3 small-text\"\n >\n <span class=\"label fw-bold py-1 my-1\">\n {{ t(\"Rubrics\") }} :\n </span>\n <ul class=\"d-flex flex-wrap\">\n <li\n v-for=\"rubriqueId in rubriqueIds\"\n :key=\"rubriqueId\"\n >\n <router-link\n class=\"d-flex align-items-center border p-1 m-1 text-dark\"\n :to=\"{\n name: 'rubrique',\n params: { rubriqueId: rubriqueId},\n query: organisationQuery\n }\"\n >\n {{ rubriquagesOrga[rubriqueId]?.name ?? rubriqueId }}\n </router-link>\n </li>\n </ul>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { useSaveFetchStore } from \"../../../stores/SaveFetchStore\";\nimport { Rubrique } from \"../../../stores/class/rubrique/rubrique\";\nimport { useFilterStore } from \"../../../stores/FilterStore\";\nimport { useI18n } from \"vue-i18n\";\nimport { computed, onBeforeMount, Ref, ref } from \"vue\";\n\n//Props \nconst props = defineProps({\n rubriqueIds: { default: () => [], type: Array as () => Array<number> },\n orgaId: {default: \"\", type: String,},\n})\n\n//Data \nconst init = ref(false);\nconst rubriquagesOrga: Ref<{[key:number]:Rubrique}> = ref({});\n\n//Composables\nconst { t } = useI18n();\nconst filterStore = useFilterStore();\nconst saveFetchStore = useSaveFetchStore();\n\n//Computed\nconst organisationQuery = computed(() => {\n if(filterStore.filterOrgaId){\n return undefined;\n }\n return { o: props.orgaId};\n});\n\nonBeforeMount(fetchRubriquages)\n\n\n//Methods\nasync function fetchRubriquages(){\n const tempRubriquagesOrga = await saveFetchStore.getOrgaRubriques(props.orgaId);\n const rubriquesArray= tempRubriquagesOrga.flatMap((rub) =>rub.rubriques);\n rubriquagesOrga.value= rubriquesArray.reduce((results, u)=> {results[u.rubriqueId??0] = u; return results}, {} as {[key:number]:Rubrique});\n init.value = true;\n}\n</script>\n\n<style scoped lang=\"scss\">\n.rubrique-list-component {\n .label {\n border: 1px solid transparent;\n }\n\n ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n }\n}\n</style>\n","<template>\n <div\n v-if=\"rubriqueIds.length && init\"\n class=\"rubrique-list-component d-flex align-items-start mb-3 small-text\"\n >\n <span class=\"label fw-bold py-1 my-1\">\n {{ t(\"Rubrics\") }} :\n </span>\n <ul class=\"d-flex flex-wrap\">\n <li\n v-for=\"rubriqueId in rubriqueIds\"\n :key=\"rubriqueId\"\n >\n <router-link\n class=\"d-flex align-items-center border p-1 m-1 text-dark\"\n :to=\"{\n name: 'rubrique',\n params: { rubriqueId: rubriqueId},\n query: organisationQuery\n }\"\n >\n {{ rubriquagesOrga[rubriqueId]?.name ?? rubriqueId }}\n </router-link>\n </li>\n </ul>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { useSaveFetchStore } from \"../../../stores/SaveFetchStore\";\nimport { Rubrique } from \"../../../stores/class/rubrique/rubrique\";\nimport { useFilterStore } from \"../../../stores/FilterStore\";\nimport { useI18n } from \"vue-i18n\";\nimport { computed, onBeforeMount, Ref, ref } from \"vue\";\n\n//Props \nconst props = defineProps({\n rubriqueIds: { default: () => [], type: Array as () => Array<number> },\n orgaId: {default: \"\", type: String,},\n})\n\n//Data \nconst init = ref(false);\nconst rubriquagesOrga: Ref<{[key:number]:Rubrique}> = ref({});\n\n//Composables\nconst { t } = useI18n();\nconst filterStore = useFilterStore();\nconst saveFetchStore = useSaveFetchStore();\n\n//Computed\nconst organisationQuery = computed(() => {\n if(filterStore.filterOrgaId){\n return undefined;\n }\n return { o: props.orgaId};\n});\n\nonBeforeMount(fetchRubriquages)\n\n\n//Methods\nasync function fetchRubriquages(){\n const tempRubriquagesOrga = await saveFetchStore.getOrgaRubriques(props.orgaId);\n const rubriquesArray= tempRubriquagesOrga.flatMap((rub) =>rub.rubriques);\n rubriquagesOrga.value= rubriquesArray.reduce((results, u)=> {results[u.rubriqueId??0] = u; return results}, {} as {[key:number]:Rubrique});\n init.value = true;\n}\n</script>\n\n<style scoped lang=\"scss\">\n.rubrique-list-component {\n .label {\n border: 1px solid transparent;\n }\n\n ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EAoCA,MAAM,QAAQ;EAMd,MAAM,OAAO,IAAI,KAAK;EACtB,MAAM,kBAAgD,IAAI,CAAC,CAAC;EAG5D,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,cAAc,eAAe;EACnC,MAAM,iBAAiB,kBAAkB;EAGzC,MAAM,oBAAoB,eAAe;GACrC,IAAG,YAAY,cACX;GAEJ,OAAO,EAAE,GAAG,MAAM,OAAM;EAC5B,CAAC;EAED,cAAc,gBAAgB;EAI9B,eAAe,mBAAkB;GAE7B,MAAM,kBAAgB,MADY,eAAe,iBAAiB,MAAM,MAAM,EAAA,CACpC,SAAS,QAAO,IAAI,SAAS;GACvE,gBAAgB,QAAO,eAAe,QAAQ,SAAS,MAAK;IAAC,QAAQ,EAAE,cAAY,KAAK;IAAG,OAAO;GAAO,GAAG,CAAC,CAA4B;GACzI,KAAK,QAAQ;EACjB;;;;;;;;;;;;;;;;;;;;;;;CChEQ,OAAM;;AAEA,IAAA,aAAA,EAAA,OAAM,0BAAyB;AAGjC,IAAA,aAAA,EAAA,OAAM,mBAAkB;;;CANtB,OAAA,OAAA,YAAY,UAAU,OAAA,QADhCC,UAAA,GAAAC,mBAwBM,OAxBN,YAwBM,CApBFC,mBAEO,QAFP,YAEOC,gBADA,OAAA,EAAC,SAAA,CAAA,IAAc,UACtB,CAAA,GACAD,mBAgBK,MAhBL,YAgBK,EAfDF,UAAA,IAAA,GAAAC,mBAcKG,UAAA,MAAAC,WAboB,OAAA,cAAd,eAAU;EADrB,OAAAL,UAAA,GAAAC,mBAcK,MAAA,EAZA,KAAK,WAAU,GAAA,CAEhBK,YASc,wBAAA;GARV,OAAM;GACL,IAAE;;IAA4F,QAAA,EAAA,WAAU;IAAkC,OAAA,OAAA;;;GAM3I,SAAAC,cAAqD,CAAlDC,gBAAAL,gBAAA,OAAA,gBAAgB,WAAU,EAAG,QAAQ,UAAU,GAAA,CAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
+
import { D as t, i as n } from "./classicApi-DZ5AtS45.mjs";
|
|
3
|
+
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, onBeforeMount as d, openBlock as f, ref as p, renderList as m, resolveComponent as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
4
|
+
import { useI18n as y } from "vue-i18n";
|
|
5
|
+
//#region src/components/display/rubriques/InlineRubriqueList.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var b = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "rubrique-list-component d-flex align-items-center flex-wrap mb-3 small-text"
|
|
9
|
+
}, x = { class: "fw-bold me-3" }, S = /*@__PURE__*/ u({
|
|
10
|
+
__name: "InlineRubriqueList",
|
|
11
|
+
props: {
|
|
12
|
+
rubriqueIds: {
|
|
13
|
+
default: () => [],
|
|
14
|
+
type: Array
|
|
15
|
+
},
|
|
16
|
+
orgaId: {
|
|
17
|
+
default: "",
|
|
18
|
+
type: String
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(e) {
|
|
22
|
+
let u = e, S = p(!1), C = p({}), { t: w } = y(), T = n(), E = t(), D = i(() => {
|
|
23
|
+
if (!T.filterOrgaId) return { o: u.orgaId };
|
|
24
|
+
});
|
|
25
|
+
d(O);
|
|
26
|
+
async function O() {
|
|
27
|
+
let e = (await E.getOrgaRubriques(u.orgaId)).flatMap((e) => e.rubriques);
|
|
28
|
+
C.value = e.reduce((e, t) => (e[t.rubriqueId ?? 0] = t, e), {}), S.value = !0;
|
|
29
|
+
}
|
|
30
|
+
return (t, n) => {
|
|
31
|
+
let i = h("router-link");
|
|
32
|
+
return e.rubriqueIds.length && S.value ? (f(), s("div", b, [c("div", x, g(_(w)("Rubrics") + " : "), 1), (f(!0), s(r, null, m(e.rubriqueIds, (e) => (f(), a(i, {
|
|
33
|
+
key: e,
|
|
34
|
+
class: "d-flex align-items-center border p-1 m-1 text-dark",
|
|
35
|
+
to: {
|
|
36
|
+
name: "rubrique",
|
|
37
|
+
params: { rubriqueId: e },
|
|
38
|
+
query: D.value
|
|
39
|
+
}
|
|
40
|
+
}, {
|
|
41
|
+
default: v(() => [l(g(C.value[e]?.name ?? e), 1)]),
|
|
42
|
+
_: 2
|
|
43
|
+
}, 1032, ["to"]))), 128))])) : o("", !0);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}), C = /* @__PURE__ */ e({ default: () => w }), w = S;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { C as n, w as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-B6UJ78qP.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAAM,SACN,OAAO,OAAO,OAAO;GAEzB,OAAO,OAAO,OAAO;EACzB,CAAC;EACD,MAAM,YAAY,eAAgB,MAAM,SAAS,aAAa,CAAC;EAC/D,MAAM,iBAAiB,eAAe;GAClC,OAAO,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AA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-CsXUgHo3.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAAM,SACN,OAAO,OAAO,OAAO;GAEzB,OAAO,OAAO,OAAO;EACzB,CAAC;EACD,MAAM,YAAY,eAAgB,MAAM,SAAS,aAAa,CAAC;EAC/D,MAAM,iBAAiB,eAAe;GAClC,OAAO,CACH;IACI,MAAM;IACN,SAAS,MAAM,SAAS,SAAS,eAAe,OAAO;IACvD,WAAW,cAAc,OAAO,eAAe;GACnD,GACA;IACI,MAAM;IACN,SAAS,MAAM,YACR,MAAM,SAAS,YAAY,eAAe,OAAO,gBAClD;IACN,WAAW,cAAc,OAAO,kBAAkB;GACtD,CACJ;EACJ,CAAC;EACD,MAAM,mBAAmB,eAAe;GACpC,OACI,CAAC,cAAc,OAAO,gBACrB,cAAc,MAAM,gBAAgB,KAAA,MAAc,UAAU;EAErE,CAAC;EAED,oBAAkB,eAAe,CAAC;EAIlC,eAAe,iBAAiB;GAC5B,IAAI,CAAC,MAAM,SACP;GAEJ,OAAO,QAAQ,MAAM,aAAa,kBAAkB,MAAM,OAAO;GACjE,IACI,MAAM,WACL,CAAC,OAAO,MAAM,aAAa,eACxB,CAAC,OAAO,MAAM,aAAa,gBAE/B;GAEJ,MAAM,qBAAqB;EAC/B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BQ,OAAA,0BADVD,UAAA,GAAAE,YAKE,OAAA,uBAAA;;EAHG,OAAO,OAAA,EAAC,sCAAA;EACR,YAAQ,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,YAAY,OAAA,sBAAsB;EAC5C,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,yBAAyB,KAAA;CAErC,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA,KAAAC,mBAAA,QAAA,IAAA,IAAAH,UAAA,IAAA,GAAAC,mBAaWG,UAAA,MAAAC,WAbiB,OAAA,iBAAX,YAAO;EAA0B,OAAA,UAAA,GAAA,mBAAA,UAAA,EAAA,KAAA,QAAQ,KAAA,GACtC,CAAA,QAAQ,aAAxBL,UAAA,GAAAC,mBAWWG,UAAA,EAAA,KAAA,EAAA,GAAA,CAVPE,YAME,OAAA,eAAA;GALG,MAAI,WAAa,QAAQ;GACzB,aAAW,QAAQ,SAAS,OAAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-D0zBn2N1.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAAM,SACN,OAAO,OAAO,OAAO;GAEzB,OAAO,OAAO,OAAO;EACzB,CAAC;EACD,MAA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AAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { a as e, t } from "./classicApi-DZ5AtS45.mjs";
|
|
2
|
+
import { t as n } from "./CommentStore-CUax7T4M.mjs";
|
|
3
|
+
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, onBeforeMount as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, unref as g } from "vue";
|
|
4
|
+
import { useI18n as _ } from "vue-i18n";
|
|
5
|
+
//#region src/components/display/comments/like/LikeSection.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var v = { class: "d-flex align-items-center" }, y = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "ms-1 me-2"
|
|
9
|
+
}, b = /* @__PURE__ */ u({
|
|
10
|
+
__name: "LikeSection",
|
|
11
|
+
props: {
|
|
12
|
+
comment: {},
|
|
13
|
+
editRight: { type: Boolean },
|
|
14
|
+
podcast: {},
|
|
15
|
+
buttonSize: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["deleteComment", "update:comment"],
|
|
18
|
+
setup(u, { emit: b }) {
|
|
19
|
+
let x = l(() => import("./CheckIdentityModal-BXw0ercF.mjs")), S = l(() => import("./LikeButton-DOam6YTU.mjs")), C = u, w = b, T = p(void 0), E = p(void 0), D = p(void 0), O = p(void 0), { t: k } = _(), A = e(), j = n(), M = i(() => C.comment ? D.value?.commentLikes : D.value?.podcastLikes), N = i(() => C.podcast?.podcastId ?? 0), P = i(() => [{
|
|
20
|
+
name: "like",
|
|
21
|
+
counter: C.comment?.likes ?? O.value?.likesCount,
|
|
22
|
+
condition: M.value?.likeEnabled ?? !1
|
|
23
|
+
}, {
|
|
24
|
+
name: "dislike",
|
|
25
|
+
counter: C.editRight ? C.comment?.dislikes ?? O.value?.dislikesCount : 0,
|
|
26
|
+
condition: M.value?.dislikeEnabled ?? !1
|
|
27
|
+
}]), F = i(() => !M.value?.authRequired || M.value.authRequired && A.authOrgaId !== void 0);
|
|
28
|
+
d(() => I());
|
|
29
|
+
async function I() {
|
|
30
|
+
C.podcast && (D.value = await j.getCommentsConfig(C.podcast), !(C.comment || !D.value.podcastLikes.likeEnabled && !D.value.podcastLikes.dislikeEnabled) && await L());
|
|
31
|
+
}
|
|
32
|
+
async function L() {
|
|
33
|
+
let e = await t.fetchData({
|
|
34
|
+
api: 2,
|
|
35
|
+
path: "podcast/status",
|
|
36
|
+
parameters: {
|
|
37
|
+
podcastId: [N.value],
|
|
38
|
+
uuid: j.commentUser?.uuid
|
|
39
|
+
},
|
|
40
|
+
isNotAuth: !0
|
|
41
|
+
});
|
|
42
|
+
O.value = e[N.value], O.value.feeling === "LIKED" ? E.value = "like" : O.value.feeling === "DISLIKED" && (E.value = "dislike");
|
|
43
|
+
}
|
|
44
|
+
function R(e) {
|
|
45
|
+
return e >= 1e3 ? Math.round(e / 100) / 10 + "k" : e.toString();
|
|
46
|
+
}
|
|
47
|
+
async function z(e) {
|
|
48
|
+
if (!j.commentUser?.name) {
|
|
49
|
+
T.value = e;
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
B(e);
|
|
53
|
+
}
|
|
54
|
+
async function B(e) {
|
|
55
|
+
let n = C.comment ? "comment/" : "podcast/", r = await t.putData({
|
|
56
|
+
api: 2,
|
|
57
|
+
path: n + e,
|
|
58
|
+
dataToSend: {
|
|
59
|
+
ids: [C.comment?.commentId ?? N.value],
|
|
60
|
+
name: j.commentUser?.name,
|
|
61
|
+
uuid: j.commentUser?.uuid
|
|
62
|
+
},
|
|
63
|
+
isNotAuth: !0
|
|
64
|
+
});
|
|
65
|
+
C.comment ? w("update:comment", {
|
|
66
|
+
...C.comment,
|
|
67
|
+
likes: r[C.comment.commentId].likesCount,
|
|
68
|
+
dislikes: r[C.comment.commentId].dislikesCount
|
|
69
|
+
}) : O.value = r[N.value], E.value = E.value ? void 0 : e, T.value = void 0;
|
|
70
|
+
}
|
|
71
|
+
return (e, t) => (f(), s("div", v, [T.value ? (f(), a(g(x), {
|
|
72
|
+
key: 0,
|
|
73
|
+
title: g(k)("Welcome, thanks for your interaction"),
|
|
74
|
+
onValidate: t[0] ||= (e) => B(T.value),
|
|
75
|
+
onClose: t[1] ||= (e) => T.value = void 0
|
|
76
|
+
}, null, 8, ["title"])) : o("", !0), (f(!0), s(r, null, m(P.value, (e) => (f(), s(r, { key: e.name }, [e.condition ? (f(), s(r, { key: 0 }, [c(g(S), {
|
|
77
|
+
like: e.name === "like",
|
|
78
|
+
"is-active": e.name === E.value,
|
|
79
|
+
"can-interact": F.value,
|
|
80
|
+
size: u.buttonSize,
|
|
81
|
+
onLikeAction: z
|
|
82
|
+
}, null, 8, [
|
|
83
|
+
"like",
|
|
84
|
+
"is-active",
|
|
85
|
+
"can-interact",
|
|
86
|
+
"size"
|
|
87
|
+
]), e.counter ? (f(), s("span", y, h(R(e.counter)), 1)) : o("", !0)], 64)) : o("", !0)], 64))), 128))]));
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
//#endregion
|
|
91
|
+
export { b as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-DFz0iHxm.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAA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PE,YAME,OAAA,eAAA;GALG,MAAI,WAAa,QAAQ;GACzB,aAAW,QAAQ,SAAS,OAAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-DRNs7AQV.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAAM,SACN,OAAO,OAAO,OAAO;GAEzB,OAAO,OAAO,OAAO;EACzB,CAAC;EACD,MAAM,YAAY,eAAgB,MAAM,SAAS,aAAa,CAAC;EAC/D,MAAM,iBAAiB,eAAe;GAClC,OAAO,CACH;IACI,MAAM;IACN,SAAS,MAAM,SAAS,SAAS,eAAe,OAAO;IACvD,WAAW,cAAc,OAAO,eAAe;GACnD,GACA;IACI,MAAM;IACN,SAAS,MAAM,YACR,MAAM,SAAS,YAAY,eAAe,OAAO,gBAClD;IACN,WAAW,cAAc,OAAO,kBAAkB;GACtD,CACJ;EACJ,CAAC;EACD,MAAM,mBAAmB,eAAe;GACpC,OACI,CAAC,cAAc,OAAO,gBACrB,cAAc,MAAM,gBAAgB,KAAA,MAAc,UAAU;EAErE,CAAC;EAED,oBAAkB,eAAe,CAAC;EAIlC,eAAe,iBAAiB;GAC5B,IAAI,CAAC,MAAM,SACP;GAEJ,OAAO,Q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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjLS,IAAA,aAAA,EAAA,OAAM,4BAA2B;;;CAgBG,OAAM;;;CAhB/C,OAAAC,UAAA,GAAAC,mBAqBM,OArBN,YAqBM,CAnBQ,OAAA,0BADVD,UAAA,GAAAE,YAKE,OAAA,uBAAA;;EAHG,OAAO,OAAA,EAAC,sCAAA;EACR,YAAQ,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,YAAY,OAAA,sBAAsB;EAC5C,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,yBAAyB,KAAA;CAErC,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA,KAAAC,mBAAA,QAAA,IAAA,IAAAH,UAAA,IAAA,GAAAC,mBAaWG,UAAA,MAAAC,WAbiB,OAAA,iBAAX,YAAO;EAA0B,OAAA,UAAA,GAAA,mBAAA,UAAA,EAAA,KAAA,QAAQ,KAAA,GACtC,CAAA,QAAQ,aAAxBL,UAAA,GAAAC,mBAWWG,UAAA,EAAA,KAAA,EAAA,GAAA,CAVPE,YAME,OAAA,eAAA;GALG,MAAI,WAAa,QAAQ;GACzB,aAAW,QAAQ,SAAS,OAAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-DcnqifOJ.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAA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C,CAAA,QAAQ,aAAxBL,UAAA,GAAAC,mBAWWG,UAAA,EAAA,KAAA,EAAA,GAAA,CAVPE,YAME,OAAA,eAAA;GALG,MAAI,WAAa,QAAQ;GACzB,aAAW,QAAQ,SAAS,OAAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-DhShszvC.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAAM,SACN,OAAO,OAAO,OAAO;GAEzB,OAAO,OAAO,OAAO;EACzB,CAAC;EACD,MAAM,YAAY,eAAgB,MAAM,SAAS,aAAa,CAAC;EAC/D,MAAM,iBAAiB,eAAe;GAClC,OAAO,CACH;IACI,MAAM;IACN,SAAS,MAAM,SAAS,SAAS,eAAe,OAAO;IACvD,WAAW,cAAc,OAAO,eAAe;GACnD,GACA;IACI,MAAM;IACN,SAAS,MAAM,YACR,MAAM,SAAS,YAAY,eAAe,OAAO,gBAClD;IACN,WAAW,cAAc,OAAO,kBAAkB;GACtD,CACJ;EACJ,CAAC;EACD,MAAM,mBAAmB,eAAe;GACpC,OACI,CAAC,cAAc,OAAO,gBACrB,cAAc,MAAM,gBAAgB,KAAA,MAAc,UAAU;EAErE,CAAC;EAED,oBAAkB,e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AE1C,YAAY,QAAQ,YAAY,QAAQ,KAAA,IAAY;GACpD,uBAAuB,QAAQ,KAAA;EACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjLS,IAAA,aAAA,EAAA,OAAM,4BAA2B;;;CAgBG,OAAM;;;CAhB/C,OAAAC,UAAA,GAAAC,mBAqBM,OArBN,YAqBM,CAnBQ,OAAA,0BADVD,UAAA,GAAAE,YAKE,OAAA,uBAAA;;EAHG,OAAO,OAAA,EAAC,sCAAA;EACR,YAAQ,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,YAAY,OAAA,sBAAsB;EAC5C,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,yBAAyB,KAAA;CAErC,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA,KAAAC,mBAAA,QAAA,IAAA,IAAAH,UAAA,IAAA,GAAAC,mBAaWG,UAAA,MAAAC,WAbiB,OAAA,iBAAX,YAAO;EAA0B,OAAA,UAAA,GAAA,mBAAA,UAAA,EAAA,KAAA,QAAQ,KAAA,GACtC,CAAA,QAAQ,aAAxBL,UAAA,GAAAC,mBAWWG,UAAA,EAAA,KAAA,EAAA,GAAA,CAVPE,YAME,OAAA,eAAA;GALG,MAAI,WAAa,QAAQ;GACzB,aAAW,QAAQ,SAAS,OAAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-DjTj4DXY.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MA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AX,YAAO;EAA0B,OAAA,UAAA,GAAA,mBAAA,UAAA,EAAA,KAAA,QAAQ,KAAA,GACtC,CAAA,QAAQ,aAAxBL,UAAA,GAAAC,mBAWWG,UAAA,EAAA,KAAA,EAAA,GAAA,CAVPE,YAME,OAAA,eAAA;GALG,MAAI,WAAa,QAAQ;GACzB,aAAW,QAAQ,SAAS,OAAA;GAC5B,gBAAc,OAAA;GACd,MAAM,OAAA;GACN,cAAa,OAAA;;;;;;EAEN,CAAA,GAAA,QAAQ,WAApBN,UAAA,GAAAC,mBAEO,QAFP,YAEOM,gBADA,OAAA,qBAAqB,QAAQ,OAAO,CAAA,GAAA,CAAA,KAAAJ,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA,KAAA,mBAAA,QAAA,IAAA,CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeSection-Dpc7Z7Xw.mjs","names":["classicApi","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_Fragment","_renderList","_createVNode","_toDisplayString","_sfc_main"],"sources":["../src/components/display/comments/like/LikeSection.vue","../src/components/display/comments/like/LikeSection.vue"],"sourcesContent":["<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n","<template>\n <div class=\"d-flex align-items-center\">\n <CheckIdentityModal\n v-if=\"isCheckIdentityActions\"\n :title=\"t('Welcome, thanks for your interaction')\"\n @validate=\"likeActions(isCheckIdentityActions)\"\n @close=\"isCheckIdentityActions = undefined\"\n />\n <template v-for=\"section in feelingSection\" :key=\"section.name\">\n <template v-if=\"section.condition\">\n <LikeButton\n :like=\"'like' === section.name\"\n :is-active=\"section.name === userFeeling\"\n :can-interact=\"canLikeOrDislike\"\n :size=\"buttonSize\"\n @like-action=\"initiateLikeActions\"\n />\n <span v-if=\"section.counter\" class=\"ms-1 me-2\">\n {{ transformInThousands(section.counter) }}\n </span>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent, Ref, ref, computed, onBeforeMount } from \"vue\";\nimport classicApi from \"../../../../api/classicApi\";\nimport { useCommentStore } from \"../../../../stores/CommentStore\";\nimport { useAuthStore } from \"../../../../stores/AuthStore\";\nimport {\n CommentFeelings,\n CommentPodcast,\n} from \"@/stores/class/general/comment\";\nimport { CommentsConfig } from \"@/stores/class/config/commentsConfig\";\nimport { Podcast } from \"@/stores/class/general/podcast\";\nimport { useI18n } from \"vue-i18n\";\nconst CheckIdentityModal = defineAsyncComponent(\n () => import(\"../modal/CheckIdentityModal.vue\"),\n);\nconst LikeButton = defineAsyncComponent(() => import(\"./LikeButton.vue\"));\n\ntype Feeling = 'like'|'dislike';\n\n//Props \nconst props = defineProps<{\n /** Optional comment to like (at least one of comment or podcast must be specified) */\n comment?: CommentPodcast;\n /** Optional podcast to like (at least one of comment or podcast must be specified) */\n podcast?: Podcast;\n editRight?: boolean;\n buttonSize?: number;\n}>();\n\n//Emits\nconst emit = defineEmits([\"deleteComment\", \"update:comment\"]);\n\n//Data \nconst isCheckIdentityActions: Ref<string | undefined> = ref(undefined);\nconst userFeeling: Ref<string | undefined> = ref(undefined);\nconst config: Ref<CommentsConfig | undefined> = ref(undefined);\nconst podcastFeeling: Ref<CommentFeelings | undefined> = ref(undefined);\n\n\n//Composables\nconst { t } = useI18n();\nconst authStore = useAuthStore();\nconst commentStore = useCommentStore();\n\n//Computed\nconst configToApply = computed(() => {\n if (props.comment) {\n return config.value?.commentLikes;\n }\n return config.value?.podcastLikes;\n});\nconst podcastId = computed(() => props.podcast?.podcastId ?? 0);\nconst feelingSection = computed(() => {\n return [\n {\n name: \"like\",\n counter: props.comment?.likes ?? podcastFeeling.value?.likesCount,\n condition: configToApply.value?.likeEnabled ?? false,\n },\n {\n name: \"dislike\",\n counter: props.editRight\n ? (props.comment?.dislikes ?? podcastFeeling.value?.dislikesCount)\n : 0,\n condition: configToApply.value?.dislikeEnabled ?? false,\n },\n ];\n});\nconst canLikeOrDislike = computed(() => {\n return (\n !configToApply.value?.authRequired ||\n (configToApply.value.authRequired && undefined !== authStore.authOrgaId)\n );\n});\n\nonBeforeMount(()=>initLikeConfig())\n\n\n//Methods\nasync function initLikeConfig() {\n if (!props.podcast) {\n return;\n }\n config.value = await commentStore.getCommentsConfig(props.podcast);\n if (\n props.comment ||\n (!config.value.podcastLikes.likeEnabled &&\n !config.value.podcastLikes.dislikeEnabled)\n ) {\n return;\n }\n await fetchPodcastCounters();\n}\nasync function fetchPodcastCounters() {\n const data = await classicApi.fetchData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: \"podcast/status\",\n parameters: {\n podcastId: [podcastId.value],\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n podcastFeeling.value = data[podcastId.value];\n if (\"LIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"like\";\n } else if (\"DISLIKED\" === podcastFeeling.value.feeling) {\n userFeeling.value = \"dislike\";\n }\n}\nfunction transformInThousands(nb: number) {\n if (nb >= 1000) {\n return Math.round(nb / 100) / 10 + \"k\";\n }\n return nb.toString();\n}\nasync function initiateLikeActions(actionName: Feeling) {\n if (!commentStore.commentUser?.name) {\n isCheckIdentityActions.value = actionName;\n return;\n }\n likeActions(actionName);\n}\n\nasync function likeActions(actionName: Feeling) {\n const prefix = props.comment ? \"comment/\" : \"podcast/\";\n const data = await classicApi.putData<{\n [key: number]: CommentFeelings;\n }>({\n api: 2,\n path: prefix + actionName,\n dataToSend: {\n ids: [props.comment?.commentId ?? podcastId.value],\n name: commentStore.commentUser?.name,\n uuid: commentStore.commentUser?.uuid,\n },\n isNotAuth: true,\n });\n if (props.comment) {\n emit(\"update:comment\", {\n ...props.comment,\n ...{\n likes: data[props.comment.commentId].likesCount,\n dislikes: data[props.comment.commentId].dislikesCount,\n },\n });\n } else {\n podcastFeeling.value = data[podcastId.value];\n }\n userFeeling.value = userFeeling.value ? undefined : actionName;\n isCheckIdentityActions.value = undefined;\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,qBAAqB,2BACjB,OAAO,oCACjB;EACA,MAAM,aAAa,2BAA2B,OAAO,4BAAmB;EAKxE,MAAM,QAAQ;EAUd,MAAM,OAAO;EAGb,MAAM,yBAAkD,IAAI,KAAA,CAAS;EACrE,MAAM,cAAuC,IAAI,KAAA,CAAS;EAC1D,MAAM,SAA0C,IAAI,KAAA,CAAS;EAC7D,MAAM,iBAAmD,IAAI,KAAA,CAAS;EAItE,MAAM,EAAE,MAAM,QAAQ;EACtB,MAAM,YAAY,aAAa;EAC/B,MAAM,eAAe,gBAAgB;EAGrC,MAAM,gBAAgB,eAAe;GACjC,IAAI,MAAM,SACN,OAAO,OAAO,OAAO;GAEzB,OAAO,OAAO,OAAO;EACzB,CAAC;EACD,MAAM,YAAY,eAAgB,MAAM,SAAS,aAAa,CAAC;EAC/D,MAAM,iBAAiB,eAAe;GAClC,OAAO,CACH;IACI,MAAM;IACN,SAAS,MAAM,SAAS,SAAS,eAAe,OAAO;IACvD,WAAW,cAAc,OAAO,eAAe;GACnD,GACA;IACI,MAAM;IACN,SAAS,MAAM,YACR,MAAM,SAAS,YAAY,eAAe,OAAO,gBAClD;IACN,WAAW,cAAc,OAAO,kBAAkB;GACtD,CACJ;EACJ,CAAC;EACD,MAAM,mBAAmB,eAAe;GACpC,OACI,CAAC,c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","names":["_hoisted_1","_hoisted_2","_sfc_render","_openBlock","_createBlock","_Teleport","_createElementBlock","_normalizeClass","_createElementVNode","_createVNode","_toDisplayString","_createCommentVNode","_sfc_main","domHelper","_openBlock","_createElementBlock","_createBlock","_createCommentVNode","_normalizeClass","_createElementVNode","_toDisplayString","_Fragment","_createTextVNode","_renderSlot","_withDirectives","_createVNode","_vShow","_sfc_main"],"sources":["../src/components/misc/LoadingOverlay.vue","../src/components/misc/LoadingOverlay.vue","../src/components/display/list/ListPaginate.vue","../src/components/display/list/ListPaginate.vue"],"sourcesContent":["<template>\n <Teleport to=\".octopus-app\" :disabled=\"!fullscreen\">\n <div\n v-if=\"visible\"\n class=\"loading-overlay\"\n :class=\"{ fullscreen }\"\n aria-hidden=\"true\"\n >\n <div class=\"loading-wrapper d-flex align-items-center\">\n <ClassicSpinner :color=\"fullscreen ? 'white' : undefined\" />\n <span v-if=\"loadingText\" class=\"h3 mb-0 ms-3\">{{ loadingText }}</span>\n </div>\n </div>\n </Teleport>\n</template>\n\n<script setup lang=\"ts\">\nimport { onBeforeUnmount, ref } from \"vue\";\nimport ClassicSpinner from \"./ClassicSpinner.vue\";\n\n/**\n * Loading indicator covering content while it is being refreshed. Hidden from\n * assistive technologies: loading must be announced by a status message of\n * the consumer.\n *\n * Only displayed after `delay` and faded in: fast loads show nothing, which\n * avoids flashes over the content (RGAA 13.7).\n */\nconst { delay = 250 } = defineProps<{\n /** Cover the whole window instead of the closest positioned parent */\n fullscreen?: boolean;\n /** Text displayed next to the spinner */\n loadingText?: string;\n /** Time in ms before displaying the overlay */\n delay?: number;\n}>();\n\nconst visible = ref(delay <= 0);\nconst timeout = visible.value ? undefined : setTimeout(() => {\n visible.value = true;\n}, delay);\n\nonBeforeUnmount(() => clearTimeout(timeout));\n</script>\n\n<style scoped lang=\"scss\">\n.loading-overlay {\n position: absolute;\n inset: 0;\n z-index: 20;\n\n display: flex;\n justify-content: center;\n align-items: flex-start;\n background-color: rgba(255, 255, 255, 0.8);\n animation: loading-overlay-fade-in 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n .loading-wrapper {\n // Keep the spinner visible on long lists\n position: sticky;\n top: 30vh;\n padding: 1rem 0.5rem;\n }\n\n &.fullscreen {\n position: fixed;\n align-items: center;\n color: white;\n background-color: rgba(0, 0, 0, 0.5);\n\n .loading-wrapper {\n position: static;\n }\n }\n}\n\n@keyframes loading-overlay-fade-in {\n from {\n opacity: 0;\n }\n}\n</style>\n","<template>\n <Teleport to=\".octopus-app\" :disabled=\"!fullscreen\">\n <div\n v-if=\"visible\"\n class=\"loading-overlay\"\n :class=\"{ fullscreen }\"\n aria-hidden=\"true\"\n >\n <div class=\"loading-wrapper d-flex align-items-center\">\n <ClassicSpinner :color=\"fullscreen ? 'white' : undefined\" />\n <span v-if=\"loadingText\" class=\"h3 mb-0 ms-3\">{{ loadingText }}</span>\n </div>\n </div>\n </Teleport>\n</template>\n\n<script setup lang=\"ts\">\nimport { onBeforeUnmount, ref } from \"vue\";\nimport ClassicSpinner from \"./ClassicSpinner.vue\";\n\n/**\n * Loading indicator covering content while it is being refreshed. Hidden from\n * assistive technologies: loading must be announced by a status message of\n * the consumer.\n *\n * Only displayed after `delay` and faded in: fast loads show nothing, which\n * avoids flashes over the content (RGAA 13.7).\n */\nconst { delay = 250 } = defineProps<{\n /** Cover the whole window instead of the closest positioned parent */\n fullscreen?: boolean;\n /** Text displayed next to the spinner */\n loadingText?: string;\n /** Time in ms before displaying the overlay */\n delay?: number;\n}>();\n\nconst visible = ref(delay <= 0);\nconst timeout = visible.value ? undefined : setTimeout(() => {\n visible.value = true;\n}, delay);\n\nonBeforeUnmount(() => clearTimeout(timeout));\n</script>\n\n<style scoped lang=\"scss\">\n.loading-overlay {\n position: absolute;\n inset: 0;\n z-index: 20;\n\n display: flex;\n justify-content: center;\n align-items: flex-start;\n background-color: rgba(255, 255, 255, 0.8);\n animation: loading-overlay-fade-in 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n .loading-wrapper {\n // Keep the spinner visible on long lists\n position: sticky;\n top: 30vh;\n padding: 1rem 0.5rem;\n }\n\n &.fullscreen {\n position: fixed;\n align-items: center;\n color: white;\n background-color: rgba(0, 0, 0, 0.5);\n\n .loading-wrapper {\n position: static;\n }\n }\n}\n\n@keyframes loading-overlay-fade-in {\n from {\n opacity: 0;\n }\n}\n</style>\n","<template>\n <div\n :id=\"id\"\n class=\"d-flex flex-column align-items-center\"\n tabindex=\"-1\"\n >\n <ClassicLoading\n v-if=\"(loading && !totalCount) || errorText\"\n :loading-text=\"loadingText\"\n :error-text=\"errorText\"\n />\n\n <div\n v-if=\"!justSizeChosen\"\n class=\"d-flex justify-content-between flex-grow-1 w-100\"\n :class=\"displayTopPaginate ? 'align-items-end' : 'align-items-center'\"\n >\n <!-- Always rendered so that assistive technologies announce changes -->\n <div class=\"text-secondary me-3 align-items-end\" role=\"status\">\n <span v-if=\"loading\" class=\"visually-hidden\">{{ loadingText }}</span>\n <template v-else-if=\"textCount\">\n {{ textCount }}\n </template>\n </div>\n <div>\n <PaginateParams\n v-if=\"!isPhone && !justSizeChosen && totalCount > 0\"\n :id=\"id + '-params'\"\n :rows-per-page=\"rowsPerPage\"\n @update:rows-per-page=\"changeSize\"\n />\n\n <PaginateSection\n v-if=\"displayTopPaginate\"\n :id=\"id + '-top'\"\n class=\"pt-0 pb-0\"\n :style=\"pagingStyle\"\n :first=\"first\"\n :rows-per-page=\"rowsPerPage\"\n :total-count=\"totalCount\"\n :range-size=\"rangeSize\"\n @update:first=\"changeFirst\"\n />\n </div>\n </div>\n <div class=\"position-relative w-100\" :aria-busy=\"loading\">\n <slot name=\"list\" />\n <LoadingOverlay v-if=\"loading && totalCount\" :loading-text=\"loadingText\" />\n </div>\n\n <PaginateSection\n v-if=\"!isPhone && !justSizeChosen && totalCount > 0\"\n :id=\"id + '-bottom'\"\n :style=\"pagingStyle\"\n :first=\"first\"\n :rows-per-page=\"rowsPerPage\"\n :total-count=\"totalCount\"\n :range-size=\"rangeSize\"\n @update:first=\"changeFirst\"\n />\n\n <button\n v-show=\"first + rowsPerPage < totalCount && (isPhone || justSizeChosen)\"\n :disabled=\"loading\"\n class=\"btn btn-primary align-self-center w-fit-content m-4\"\n :title=\"t('See more')\"\n @click=\"fetchMore\"\n >\n <template v-if=\"buttonPlus\">\n {{ t(\"See more\") }}\n </template>\n <PlusIcon :size=\"16\" :class=\"buttonPlus ? 'ms-1' : ''\" />\n </button>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport PlusIcon from \"vue-material-design-icons/Plus.vue\";\nimport domHelper from \"../../../helper/domHelper\";\nimport ClassicLoading from \"../../form/ClassicLoading.vue\";\nimport LoadingOverlay from \"../../misc/LoadingOverlay.vue\";\nimport { state } from \"../../../stores/ParamSdkStore\";\nimport PaginateParams from \"./PaginateParams.vue\";\nimport PaginateSection from \"./PaginateSection.vue\";\nimport {useResizePhone} from \"../../composable/useResizePhone\";\nimport { useRouteUpdateParams } from \"../../composable/route/useRouteUpdateParams\";\nimport { computed, watch } from \"vue\";\nimport { usePlayerStore } from \"../../../stores/PlayerStore\";\nimport { useI18n } from \"vue-i18n\";\n\n//Props \nconst props = defineProps({\n first: { default: 0, type: Number },\n rowsPerPage: { default: 30, type: Number },\n totalCount: { default: 0, type: Number },\n textCount: { default: undefined, type: String },\n id: { default: \"\", type: String },\n loadingText: { default: undefined, type: String },\n errorText: { default: undefined, type: String },\n loading: { default: false, type: Boolean },\n isMobile: { default: false, type: Boolean },\n justSizeChosen: { default: false, type: Boolean },\n playerResponsive: { default: false, type: Boolean },\n forceUpdateParameters: { default: false, type: Boolean },\n})\n\n//Emits\nconst emit = defineEmits([\"update:first\", \"update:rowsPerPage\", \"update:isMobile\"]);\n\n \n//Composables\nconst { t } = useI18n();\nconst { isPhone, windowWidth } = useResizePhone();\nconst { updateRouteParam, updatePaginateSize } = useRouteUpdateParams();\nconst playerStore = usePlayerStore();\n\n\n//Computed\nconst buttonPlus = computed(() => state.generalParameters.buttonPlus);\nconst rangeSize = computed(() => {\n if (windowWidth.value > 1600) {\n return 3;\n }\n return windowWidth.value > 1530 ? 2 : 1;\n});\n\nconst displayTopPaginate = computed((): boolean => {\n return !isPhone.value && !props.justSizeChosen && props.totalCount > 0 && state.generalParameters.paginationOnTop === true;\n});\n\n//Watch\nwatch(isPhone, () => {emit(\"update:isMobile\", isPhone.value);}, {immediate: true});\nwatch(()=>props.first, () => {\n updateRouteParam({pr:(Math.floor(props.first / props.rowsPerPage) + 1).toString()}, props.forceUpdateParameters);\n});\n\n//Methods\nfunction fetchMore() {\n emit(\"update:first\", props.first + props.rowsPerPage);\n}\nfunction changeFirst(firstValue: number) {\n scrollToTop();\n emit(\"update:first\", firstValue);\n}\n/** No scroll nor focus change: the value of a control is changed (RGAA 7.4) */\nfunction changeSize(sizeValue: number) {\n emit(\"update:rowsPerPage\", sizeValue);\n updatePaginateSize(sizeValue, props.forceUpdateParameters);\n}\n/** Bring focus back to the start of the list, scrolling to it if needed */\nfunction scrollToTop() {\n const element = document.getElementById(props.id);\n if (!element) {\n return;\n }\n element.focus({ preventScroll: true });\n if (element.getBoundingClientRect().top > 0) {\n return;\n }\n const y =\n element.getBoundingClientRect().top +\n window.scrollY -\n domHelper.convertRemToPixels(3.5);\n const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n window.scrollTo({ top: y, behavior: reducedMotion ? \"auto\" : \"smooth\" });\n}\n\n/** Style to apply to the paging section */\nfunction pagingStyle(): Record<string, string> {\n // Only change position if player is active and not at the top\n if (props.playerResponsive && state.player.topPlacement !== true) {\n return { 'bottom': playerStore.playerHeight };\n }\n}\n</script>\n","<template>\n <div\n :id=\"id\"\n class=\"d-flex flex-column align-items-center\"\n tabindex=\"-1\"\n >\n <ClassicLoading\n v-if=\"(loading && !totalCount) || errorText\"\n :loading-text=\"loadingText\"\n :error-text=\"errorText\"\n />\n\n <div\n v-if=\"!justSizeChosen\"\n class=\"d-flex justify-content-between flex-grow-1 w-100\"\n :class=\"displayTopPaginate ? 'align-items-end' : 'align-items-center'\"\n >\n <!-- Always rendered so that assistive technologies announce changes -->\n <div class=\"text-secondary me-3 align-items-end\" role=\"status\">\n <span v-if=\"loading\" class=\"visually-hidden\">{{ loadingText }}</span>\n <template v-else-if=\"textCount\">\n {{ textCount }}\n </template>\n </div>\n <div>\n <PaginateParams\n v-if=\"!isPhone && !justSizeChosen && totalCount > 0\"\n :id=\"id + '-params'\"\n :rows-per-page=\"rowsPerPage\"\n @update:rows-per-page=\"changeSize\"\n />\n\n <PaginateSection\n v-if=\"displayTopPaginate\"\n :id=\"id + '-top'\"\n class=\"pt-0 pb-0\"\n :style=\"pagingStyle\"\n :first=\"first\"\n :rows-per-page=\"rowsPerPage\"\n :total-count=\"totalCount\"\n :range-size=\"rangeSize\"\n @update:first=\"changeFirst\"\n />\n </div>\n </div>\n <div class=\"position-relative w-100\" :aria-busy=\"loading\">\n <slot name=\"list\" />\n <LoadingOverlay v-if=\"loading && totalCount\" :loading-text=\"loadingText\" />\n </div>\n\n <PaginateSection\n v-if=\"!isPhone && !justSizeChosen && totalCount > 0\"\n :id=\"id + '-bottom'\"\n :style=\"pagingStyle\"\n :first=\"first\"\n :rows-per-page=\"rowsPerPage\"\n :total-count=\"totalCount\"\n :range-size=\"rangeSize\"\n @update:first=\"changeFirst\"\n />\n\n <button\n v-show=\"first + rowsPerPage < totalCount && (isPhone || justSizeChosen)\"\n :disabled=\"loading\"\n class=\"btn btn-primary align-self-center w-fit-content m-4\"\n :title=\"t('See more')\"\n @click=\"fetchMore\"\n >\n <template v-if=\"buttonPlus\">\n {{ t(\"See more\") }}\n </template>\n <PlusIcon :size=\"16\" :class=\"buttonPlus ? 'ms-1' : ''\" />\n </button>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport PlusIcon from \"vue-material-design-icons/Plus.vue\";\nimport domHelper from \"../../../helper/domHelper\";\nimport ClassicLoading from \"../../form/ClassicLoading.vue\";\nimport LoadingOverlay from \"../../misc/LoadingOverlay.vue\";\nimport { state } from \"../../../stores/ParamSdkStore\";\nimport PaginateParams from \"./PaginateParams.vue\";\nimport PaginateSection from \"./PaginateSection.vue\";\nimport {useResizePhone} from \"../../composable/useResizePhone\";\nimport { useRouteUpdateParams } from \"../../composable/route/useRouteUpdateParams\";\nimport { computed, watch } from \"vue\";\nimport { usePlayerStore } from \"../../../stores/PlayerStore\";\nimport { useI18n } from \"vue-i18n\";\n\n//Props \nconst props = defineProps({\n first: { default: 0, type: Number },\n rowsPerPage: { default: 30, type: Number },\n totalCount: { default: 0, type: Number },\n textCount: { default: undefined, type: String },\n id: { default: \"\", type: String },\n loadingText: { default: undefined, type: String },\n errorText: { default: undefined, type: String },\n loading: { default: false, type: Boolean },\n isMobile: { default: false, type: Boolean },\n justSizeChosen: { default: false, type: Boolean },\n playerResponsive: { default: false, type: Boolean },\n forceUpdateParameters: { default: false, type: Boolean },\n})\n\n//Emits\nconst emit = defineEmits([\"update:first\", \"update:rowsPerPage\", \"update:isMobile\"]);\n\n \n//Composables\nconst { t } = useI18n();\nconst { isPhone, windowWidth } = useResizePhone();\nconst { updateRouteParam, updatePaginateSize } = useRouteUpdateParams();\nconst playerStore = usePlayerStore();\n\n\n//Computed\nconst buttonPlus = computed(() => state.generalParameters.buttonPlus);\nconst rangeSize = computed(() => {\n if (windowWidth.value > 1600) {\n return 3;\n }\n return windowWidth.value > 1530 ? 2 : 1;\n});\n\nconst displayTopPaginate = computed((): boolean => {\n return !isPhone.value && !props.justSizeChosen && props.totalCount > 0 && state.generalParameters.paginationOnTop === true;\n});\n\n//Watch\nwatch(isPhone, () => {emit(\"update:isMobile\", isPhone.value);}, {immediate: true});\nwatch(()=>props.first, () => {\n updateRouteParam({pr:(Math.floor(props.first / props.rowsPerPage) + 1).toString()}, props.forceUpdateParameters);\n});\n\n//Methods\nfunction fetchMore() {\n emit(\"update:first\", props.first + props.rowsPerPage);\n}\nfunction changeFirst(firstValue: number) {\n scrollToTop();\n emit(\"update:first\", firstValue);\n}\n/** No scroll nor focus change: the value of a control is changed (RGAA 7.4) */\nfunction changeSize(sizeValue: number) {\n emit(\"update:rowsPerPage\", sizeValue);\n updatePaginateSize(sizeValue, props.forceUpdateParameters);\n}\n/** Bring focus back to the start of the list, scrolling to it if needed */\nfunction scrollToTop() {\n const element = document.getElementById(props.id);\n if (!element) {\n return;\n }\n element.focus({ preventScroll: true });\n if (element.getBoundingClientRect().top > 0) {\n return;\n }\n const y =\n element.getBoundingClientRect().top +\n window.scrollY -\n domHelper.convertRemToPixels(3.5);\n const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n window.scrollTo({ top: y, behavior: reducedMotion ? \"auto\" : \"smooth\" });\n}\n\n/** Style to apply to the paging section */\nfunction pagingStyle(): Record<string, string> {\n // Only change position if player is active and not at the top\n if (props.playerResponsive && state.player.topPlacement !== true) {\n return { 'bottom': playerStore.playerHeight };\n }\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,UAAU,IAAI,QAAA,SAAS,CAAC;EAC9B,MAAM,UAAU,QAAQ,QAAQ,KAAA,IAAY,iBAAiB;GACzD,QAAQ,QAAQ;EACpB,GAAG,QAAA,KAAK;EAER,sBAAsB,aAAa,OAAO,CAAC;;;;;;;;;;;;;;;AClC1B,IAAAA,eAAA,EAAA,OAAM,4CAA2C;;;CAEzB,OAAM;;;CAT3C,OAAAG,UAAA,GAAAC,YAYWC,UAAA;EAZD,IAAG;EAAgB,UAAQ,CAAG,OAAA;CAE1B,GAAA,CAAA,OAAA,WADVF,UAAA,GAAAG,mBAUM,OAAA;;EARF,OAAKC,eAAA,CAAC,mBAAiB,EAAA,YACb,OAAA,WAAU,CAAA,CAAA;EACpB,eAAY;CAEZ,GAAA,CAAAC,mBAGM,OAHNR,cAGM,CAFFS,YAA4D,OAAA,mBAAA,EAA3C,OAAO,OAAA,aAAU,UAAa,KAAA,EAAA,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